@smartlyqofficial/node 0.1.4 → 0.1.6

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
@@ -411,6 +411,12 @@ type SocialPostCreateRequest = {
411
411
  * Skip the 24h duplicate-content guard. Without it, content identical to a post created in this workspace in the last 24 hours is rejected with 409 DUPLICATE_CONTENT (and the charge is refunded).
412
412
  */
413
413
  allow_duplicates?: boolean;
414
+ /**
415
+ * Per-platform composer options - the same payload the web composer stores; publish handlers read it as-is (unknown keys are ignored, max 20KB). Keyed by platform, e.g. {"tiktok": {"privacy_level": "SELF_ONLY"}, "instagram": {"content": "IG-specific caption"}, "_thumbnail": {"timestamp_ms": 3000}}. Common keys: per-platform `content` override; tiktok privacy/duet/stitch options; `_thumbnail` custom video cover.
416
+ */
417
+ platform_options?: {
418
+ [key: string]: unknown;
419
+ };
414
420
  };
415
421
  /**
416
422
  * Schedule request. Provide scheduled_time (with optional timezone) OR queue_id (next open slot), not both.
@@ -469,6 +475,12 @@ type SocialPostScheduleRequest = {
469
475
  * Skip the 24h duplicate-content guard. Without it, content identical to a post created in this workspace in the last 24 hours is rejected with 409 DUPLICATE_CONTENT (and the charge is refunded).
470
476
  */
471
477
  allow_duplicates?: boolean;
478
+ /**
479
+ * Per-platform composer options - the same payload the web composer stores; publish handlers read it as-is (unknown keys are ignored, max 20KB). Keyed by platform, e.g. {"tiktok": {"privacy_level": "SELF_ONLY"}, "instagram": {"content": "IG-specific caption"}, "_thumbnail": {"timestamp_ms": 3000}}. Common keys: per-platform `content` override; tiktok privacy/duet/stitch options; `_thumbnail` custom video cover.
480
+ */
481
+ platform_options?: {
482
+ [key: string]: unknown;
483
+ };
472
484
  };
473
485
  /**
474
486
  * At least one field must be provided.
@@ -4113,6 +4125,54 @@ type GetMeBalanceResponses = {
4113
4125
  200: BalanceResponse;
4114
4126
  };
4115
4127
  type GetMeBalanceResponse = GetMeBalanceResponses[keyof GetMeBalanceResponses];
4128
+ type DisconnectSocialAccountData = {
4129
+ body?: never;
4130
+ path: {
4131
+ /**
4132
+ * Connected account id
4133
+ */
4134
+ account_id: number;
4135
+ };
4136
+ query?: never;
4137
+ url: '/social/accounts/{account_id}';
4138
+ };
4139
+ type DisconnectSocialAccountErrors = {
4140
+ /**
4141
+ * Missing or invalid API key
4142
+ */
4143
+ 401: ErrorResponse;
4144
+ /**
4145
+ * Forbidden (scope or access)
4146
+ */
4147
+ 403: ErrorResponse;
4148
+ /**
4149
+ * Resource not found
4150
+ */
4151
+ 404: ErrorResponse;
4152
+ /**
4153
+ * Validation error
4154
+ */
4155
+ 422: ErrorResponse;
4156
+ /**
4157
+ * Internal server error
4158
+ */
4159
+ 500: ErrorResponse;
4160
+ };
4161
+ type DisconnectSocialAccountError = DisconnectSocialAccountErrors[keyof DisconnectSocialAccountErrors];
4162
+ type DisconnectSocialAccountResponses = {
4163
+ /**
4164
+ * Success
4165
+ */
4166
+ 200: {
4167
+ success?: true;
4168
+ /**
4169
+ * No payload on success.
4170
+ */
4171
+ data?: null;
4172
+ meta?: RequestMeta;
4173
+ };
4174
+ };
4175
+ type DisconnectSocialAccountResponse = DisconnectSocialAccountResponses[keyof DisconnectSocialAccountResponses];
4116
4176
  type UpdateSocialAccountData = {
4117
4177
  body: {
4118
4178
  account_name: string;
@@ -5256,8 +5316,15 @@ type GenerateVideoHookResponses = {
5256
5316
  /**
5257
5317
  * The generated hook line.
5258
5318
  */
5259
- 200: unknown;
5319
+ 200: {
5320
+ success?: true;
5321
+ data?: {
5322
+ hook?: string;
5323
+ };
5324
+ meta?: RequestMeta;
5325
+ };
5260
5326
  };
5327
+ type GenerateVideoHookResponse = GenerateVideoHookResponses[keyof GenerateVideoHookResponses];
5261
5328
  type SuggestBrollData = {
5262
5329
  body: {
5263
5330
  /**
@@ -5306,8 +5373,20 @@ type SuggestBrollResponses = {
5306
5373
  /**
5307
5374
  * B-roll suggestions.
5308
5375
  */
5309
- 200: unknown;
5376
+ 200: {
5377
+ success?: true;
5378
+ data?: {
5379
+ suggestions?: Array<{
5380
+ start_ms?: number;
5381
+ end_ms?: number;
5382
+ query?: string;
5383
+ reason?: string;
5384
+ }>;
5385
+ };
5386
+ meta?: RequestMeta;
5387
+ };
5310
5388
  };
5389
+ type SuggestBrollResponse = SuggestBrollResponses[keyof SuggestBrollResponses];
5311
5390
  type SuggestEmphasisData = {
5312
5391
  body: {
5313
5392
  /**
@@ -5356,8 +5435,19 @@ type SuggestEmphasisResponses = {
5356
5435
  /**
5357
5436
  * Emphasis picks.
5358
5437
  */
5359
- 200: unknown;
5438
+ 200: {
5439
+ success?: true;
5440
+ data?: {
5441
+ emphasis?: Array<{
5442
+ word?: string;
5443
+ start_ms?: number;
5444
+ style?: string;
5445
+ }>;
5446
+ };
5447
+ meta?: RequestMeta;
5448
+ };
5360
5449
  };
5450
+ type SuggestEmphasisResponse = SuggestEmphasisResponses[keyof SuggestEmphasisResponses];
5361
5451
  type GenerateViralThumbnailData = {
5362
5452
  body: {
5363
5453
  /**
@@ -5400,8 +5490,15 @@ type GenerateViralThumbnailResponses = {
5400
5490
  /**
5401
5491
  * The generated thumbnail (image_url + media_id).
5402
5492
  */
5403
- 200: unknown;
5493
+ 200: {
5494
+ success?: true;
5495
+ data?: {
5496
+ image_url?: string;
5497
+ };
5498
+ meta?: RequestMeta;
5499
+ };
5404
5500
  };
5501
+ type GenerateViralThumbnailResponse = GenerateViralThumbnailResponses[keyof GenerateViralThumbnailResponses];
5405
5502
  type GenerateCaptionData = {
5406
5503
  body?: {
5407
5504
  /**
@@ -5450,8 +5547,15 @@ type GenerateCaptionResponses = {
5450
5547
  /**
5451
5548
  * The generated caption.
5452
5549
  */
5453
- 200: unknown;
5550
+ 200: {
5551
+ success?: true;
5552
+ data?: {
5553
+ caption?: string;
5554
+ };
5555
+ meta?: RequestMeta;
5556
+ };
5454
5557
  };
5558
+ type GenerateCaptionResponse = GenerateCaptionResponses[keyof GenerateCaptionResponses];
5455
5559
  type GenerateShortsData = {
5456
5560
  body?: {
5457
5561
  /**
@@ -5498,8 +5602,17 @@ type GenerateShortsResponses = {
5498
5602
  /**
5499
5603
  * Accepted — poll GET /v1/shorts/{uid} for the ranked clips
5500
5604
  */
5501
- 202: unknown;
5605
+ 202: {
5606
+ success?: true;
5607
+ data?: {
5608
+ job_uid?: string;
5609
+ status?: string;
5610
+ clip_count?: number;
5611
+ };
5612
+ meta?: RequestMeta;
5613
+ };
5502
5614
  };
5615
+ type GenerateShortsResponse = GenerateShortsResponses[keyof GenerateShortsResponses];
5503
5616
  type ListShortsData = {
5504
5617
  body?: never;
5505
5618
  path?: never;
@@ -5526,8 +5639,27 @@ type ListShortsResponses = {
5526
5639
  /**
5527
5640
  * A list of shorts jobs.
5528
5641
  */
5529
- 200: unknown;
5642
+ 200: {
5643
+ success?: true;
5644
+ data?: {
5645
+ shorts?: Array<{
5646
+ job_uid?: string;
5647
+ status?: string;
5648
+ clip_count?: number;
5649
+ clips?: Array<{
5650
+ url?: string;
5651
+ title?: string;
5652
+ score?: number;
5653
+ start?: number;
5654
+ end?: number;
5655
+ }>;
5656
+ created_at?: string;
5657
+ }>;
5658
+ };
5659
+ meta?: RequestMeta;
5660
+ };
5530
5661
  };
5662
+ type ListShortsResponse = ListShortsResponses[keyof ListShortsResponses];
5531
5663
  type GetShortsData = {
5532
5664
  body?: never;
5533
5665
  path: {
@@ -5558,8 +5690,25 @@ type GetShortsResponses = {
5558
5690
  /**
5559
5691
  * The shorts job and its clips.
5560
5692
  */
5561
- 200: unknown;
5693
+ 200: {
5694
+ success?: true;
5695
+ data?: {
5696
+ job_uid?: string;
5697
+ status?: string;
5698
+ clip_count?: number;
5699
+ clips?: Array<{
5700
+ url?: string;
5701
+ title?: string;
5702
+ score?: number;
5703
+ start?: number;
5704
+ end?: number;
5705
+ }>;
5706
+ created_at?: string;
5707
+ };
5708
+ meta?: RequestMeta;
5709
+ };
5562
5710
  };
5711
+ type GetShortsResponse = GetShortsResponses[keyof GetShortsResponses];
5563
5712
  type GeneratePresentationData = {
5564
5713
  body: {
5565
5714
  /**
@@ -5654,8 +5803,31 @@ type ListContactsResponses = {
5654
5803
  /**
5655
5804
  * Paginated contacts
5656
5805
  */
5657
- 200: unknown;
5806
+ 200: {
5807
+ success?: true;
5808
+ data?: Array<{
5809
+ id?: number;
5810
+ name?: string;
5811
+ first_name?: string;
5812
+ last_name?: string;
5813
+ email?: string;
5814
+ phone?: string;
5815
+ company?: string;
5816
+ role?: string;
5817
+ status?: string;
5818
+ tags?: Array<string>;
5819
+ attributes?: {
5820
+ [key: string]: unknown;
5821
+ };
5822
+ source?: string;
5823
+ created_at?: string;
5824
+ updated_at?: string;
5825
+ }>;
5826
+ pagination?: PaginationMeta;
5827
+ meta?: RequestMeta;
5828
+ };
5658
5829
  };
5830
+ type ListContactsResponse = ListContactsResponses[keyof ListContactsResponses];
5659
5831
  type CreateContactData = {
5660
5832
  body: {
5661
5833
  first_name?: string;
@@ -5703,12 +5875,90 @@ type CreateContactResponses = {
5703
5875
  /**
5704
5876
  * Existing contact updated (matched by email)
5705
5877
  */
5706
- 200: unknown;
5878
+ 200: {
5879
+ success?: true;
5880
+ data?: {
5881
+ id?: number;
5882
+ name?: string;
5883
+ first_name?: string;
5884
+ last_name?: string;
5885
+ email?: string;
5886
+ phone?: string;
5887
+ company?: string;
5888
+ role?: string;
5889
+ status?: string;
5890
+ tags?: Array<string>;
5891
+ attributes?: {
5892
+ [key: string]: unknown;
5893
+ };
5894
+ source?: string;
5895
+ created_at?: string;
5896
+ updated_at?: string;
5897
+ };
5898
+ meta?: RequestMeta;
5899
+ };
5707
5900
  /**
5708
5901
  * Contact created
5709
5902
  */
5710
- 201: unknown;
5903
+ 201: {
5904
+ success?: true;
5905
+ /**
5906
+ * The created (or upserted) contact; matched_by is set when an existing contact was matched by email/phone.
5907
+ */
5908
+ data?: {
5909
+ id?: number;
5910
+ name?: string;
5911
+ first_name?: string;
5912
+ last_name?: string;
5913
+ email?: string;
5914
+ phone?: string;
5915
+ company?: string;
5916
+ role?: string;
5917
+ status?: string;
5918
+ tags?: Array<string>;
5919
+ attributes?: {
5920
+ [key: string]: unknown;
5921
+ };
5922
+ source?: string;
5923
+ created_at?: string;
5924
+ updated_at?: string;
5925
+ };
5926
+ meta?: RequestMeta;
5927
+ };
5928
+ };
5929
+ type CreateContactResponse = CreateContactResponses[keyof CreateContactResponses];
5930
+ type DeleteContactData = {
5931
+ body?: never;
5932
+ path: {
5933
+ id: number;
5934
+ };
5935
+ query?: never;
5936
+ url: '/contacts/{id}';
5937
+ };
5938
+ type DeleteContactErrors = {
5939
+ /**
5940
+ * Missing or invalid API key
5941
+ */
5942
+ 401: ErrorResponse;
5943
+ /**
5944
+ * Resource not found
5945
+ */
5946
+ 404: ErrorResponse;
5947
+ };
5948
+ type DeleteContactError = DeleteContactErrors[keyof DeleteContactErrors];
5949
+ type DeleteContactResponses = {
5950
+ /**
5951
+ * Deleted
5952
+ */
5953
+ 200: {
5954
+ success?: true;
5955
+ data?: {
5956
+ [key: string]: unknown;
5957
+ };
5958
+ meta?: RequestMeta;
5959
+ };
5711
5960
  };
5961
+ type DeleteContactResponse = DeleteContactResponses[keyof DeleteContactResponses];
5712
5962
  type GetContactData = {
5713
5963
  body?: never;
5714
5964
  path: {
@@ -5728,8 +5978,30 @@ type GetContactResponses = {
5728
5978
  /**
5729
5979
  * Contact
5730
5980
  */
5731
- 200: unknown;
5981
+ 200: {
5982
+ success?: true;
5983
+ data?: {
5984
+ id?: number;
5985
+ name?: string;
5986
+ first_name?: string;
5987
+ last_name?: string;
5988
+ email?: string;
5989
+ phone?: string;
5990
+ company?: string;
5991
+ role?: string;
5992
+ status?: string;
5993
+ tags?: Array<string>;
5994
+ attributes?: {
5995
+ [key: string]: unknown;
5996
+ };
5997
+ source?: string;
5998
+ created_at?: string;
5999
+ updated_at?: string;
6000
+ };
6001
+ meta?: RequestMeta;
6002
+ };
5732
6003
  };
6004
+ type GetContactResponse = GetContactResponses[keyof GetContactResponses];
5733
6005
  type UpdateContactData = {
5734
6006
  body: {
5735
6007
  first_name?: string;
@@ -5769,8 +6041,30 @@ type UpdateContactResponses = {
5769
6041
  /**
5770
6042
  * Updated contact
5771
6043
  */
5772
- 200: unknown;
6044
+ 200: {
6045
+ success?: true;
6046
+ data?: {
6047
+ id?: number;
6048
+ name?: string;
6049
+ first_name?: string;
6050
+ last_name?: string;
6051
+ email?: string;
6052
+ phone?: string;
6053
+ company?: string;
6054
+ role?: string;
6055
+ status?: string;
6056
+ tags?: Array<string>;
6057
+ attributes?: {
6058
+ [key: string]: unknown;
6059
+ };
6060
+ source?: string;
6061
+ created_at?: string;
6062
+ updated_at?: string;
6063
+ };
6064
+ meta?: RequestMeta;
6065
+ };
5773
6066
  };
6067
+ type UpdateContactResponse = UpdateContactResponses[keyof UpdateContactResponses];
5774
6068
  type RemoveContactTagsData = {
5775
6069
  body: {
5776
6070
  tags: Array<string>;
@@ -5792,8 +6086,15 @@ type RemoveContactTagsResponses = {
5792
6086
  /**
5793
6087
  * The contact's remaining tag list
5794
6088
  */
5795
- 200: unknown;
6089
+ 200: {
6090
+ success?: true;
6091
+ data?: {
6092
+ tags?: Array<string>;
6093
+ };
6094
+ meta?: RequestMeta;
6095
+ };
5796
6096
  };
6097
+ type RemoveContactTagsResponse = RemoveContactTagsResponses[keyof RemoveContactTagsResponses];
5797
6098
  type AddContactTagsData = {
5798
6099
  body: {
5799
6100
  tags: Array<string>;
@@ -5819,8 +6120,18 @@ type AddContactTagsResponses = {
5819
6120
  /**
5820
6121
  * The contact's full tag list after adding
5821
6122
  */
5822
- 200: unknown;
6123
+ 200: {
6124
+ success?: true;
6125
+ data?: {
6126
+ /**
6127
+ * The contact's full tag list after the change.
6128
+ */
6129
+ tags?: Array<string>;
6130
+ };
6131
+ meta?: RequestMeta;
6132
+ };
5823
6133
  };
6134
+ type AddContactTagsResponse = AddContactTagsResponses[keyof AddContactTagsResponses];
5824
6135
  type ListContactNotesData = {
5825
6136
  body?: never;
5826
6137
  path: {
@@ -5833,8 +6144,19 @@ type ListContactNotesResponses = {
5833
6144
  /**
5834
6145
  * Notes for the contact, newest first
5835
6146
  */
5836
- 200: unknown;
6147
+ 200: {
6148
+ success?: true;
6149
+ data?: Array<{
6150
+ id?: number;
6151
+ body?: string;
6152
+ author_name?: string;
6153
+ created_at?: string;
6154
+ }>;
6155
+ pagination?: PaginationMeta;
6156
+ meta?: RequestMeta;
6157
+ };
5837
6158
  };
6159
+ type ListContactNotesResponse = ListContactNotesResponses[keyof ListContactNotesResponses];
5838
6160
  type AddContactNoteData = {
5839
6161
  body: {
5840
6162
  body: string;
@@ -5861,8 +6183,16 @@ type AddContactNoteResponses = {
5861
6183
  /**
5862
6184
  * Note created
5863
6185
  */
5864
- 201: unknown;
6186
+ 201: {
6187
+ success?: true;
6188
+ data?: {
6189
+ id?: number;
6190
+ body?: string;
6191
+ };
6192
+ meta?: RequestMeta;
6193
+ };
5865
6194
  };
6195
+ type AddContactNoteResponse = AddContactNoteResponses[keyof AddContactNoteResponses];
5866
6196
  type ListPipelinesData = {
5867
6197
  body?: never;
5868
6198
  path?: never;
@@ -5873,8 +6203,22 @@ type ListPipelinesResponses = {
5873
6203
  /**
5874
6204
  * Pipelines with stages
5875
6205
  */
5876
- 200: unknown;
6206
+ 200: {
6207
+ success?: true;
6208
+ data?: Array<{
6209
+ id?: number;
6210
+ name?: string;
6211
+ is_default?: boolean;
6212
+ stages?: Array<{
6213
+ stage_key?: string;
6214
+ label?: string;
6215
+ sort_order?: number;
6216
+ }>;
6217
+ }>;
6218
+ meta?: RequestMeta;
6219
+ };
5877
6220
  };
6221
+ type ListPipelinesResponse = ListPipelinesResponses[keyof ListPipelinesResponses];
5878
6222
  type CreatePipelineData = {
5879
6223
  body: {
5880
6224
  name: string;
@@ -5898,8 +6242,22 @@ type CreatePipelineResponses = {
5898
6242
  /**
5899
6243
  * Pipeline created (with stages)
5900
6244
  */
5901
- 201: unknown;
6245
+ 201: {
6246
+ success?: true;
6247
+ data?: {
6248
+ id?: number;
6249
+ name?: string;
6250
+ is_default?: boolean;
6251
+ stages?: Array<{
6252
+ stage_key?: string;
6253
+ label?: string;
6254
+ sort_order?: number;
6255
+ }>;
6256
+ };
6257
+ meta?: RequestMeta;
6258
+ };
5902
6259
  };
6260
+ type CreatePipelineResponse = CreatePipelineResponses[keyof CreatePipelineResponses];
5903
6261
  type ListOpportunitiesData = {
5904
6262
  body?: never;
5905
6263
  path?: never;
@@ -5917,10 +6275,27 @@ type ListOpportunitiesResponses = {
5917
6275
  /**
5918
6276
  * Paginated opportunities
5919
6277
  */
5920
- 200: unknown;
5921
- };
5922
- type CreateOpportunityData = {
5923
- body: {
6278
+ 200: {
6279
+ success?: true;
6280
+ data?: Array<{
6281
+ id?: number;
6282
+ pipeline_id?: number;
6283
+ name?: string;
6284
+ contact_email?: string;
6285
+ company?: string;
6286
+ value?: number;
6287
+ stage?: string;
6288
+ status?: string;
6289
+ assigned_user_id?: number;
6290
+ created_at?: string;
6291
+ }>;
6292
+ pagination?: PaginationMeta;
6293
+ meta?: RequestMeta;
6294
+ };
6295
+ };
6296
+ type ListOpportunitiesResponse = ListOpportunitiesResponses[keyof ListOpportunitiesResponses];
6297
+ type CreateOpportunityData = {
6298
+ body: {
5924
6299
  /**
5925
6300
  * Opportunity / deal name.
5926
6301
  */
@@ -5956,8 +6331,24 @@ type CreateOpportunityResponses = {
5956
6331
  /**
5957
6332
  * Opportunity created
5958
6333
  */
5959
- 201: unknown;
6334
+ 201: {
6335
+ success?: true;
6336
+ data?: {
6337
+ id?: number;
6338
+ pipeline_id?: number;
6339
+ name?: string;
6340
+ contact_email?: string;
6341
+ company?: string;
6342
+ value?: number;
6343
+ stage?: string;
6344
+ status?: string;
6345
+ assigned_user_id?: number;
6346
+ created_at?: string;
6347
+ };
6348
+ meta?: RequestMeta;
6349
+ };
5960
6350
  };
6351
+ type CreateOpportunityResponse = CreateOpportunityResponses[keyof CreateOpportunityResponses];
5961
6352
  type DeleteOpportunityData = {
5962
6353
  body?: never;
5963
6354
  path: {
@@ -5977,8 +6368,15 @@ type DeleteOpportunityResponses = {
5977
6368
  /**
5978
6369
  * Deleted
5979
6370
  */
5980
- 200: unknown;
6371
+ 200: {
6372
+ success?: true;
6373
+ data?: {
6374
+ [key: string]: unknown;
6375
+ };
6376
+ meta?: RequestMeta;
6377
+ };
5981
6378
  };
6379
+ type DeleteOpportunityResponse = DeleteOpportunityResponses[keyof DeleteOpportunityResponses];
5982
6380
  type GetOpportunityData = {
5983
6381
  body?: never;
5984
6382
  path: {
@@ -5998,8 +6396,24 @@ type GetOpportunityResponses = {
5998
6396
  /**
5999
6397
  * Opportunity
6000
6398
  */
6001
- 200: unknown;
6399
+ 200: {
6400
+ success?: true;
6401
+ data?: {
6402
+ id?: number;
6403
+ pipeline_id?: number;
6404
+ name?: string;
6405
+ contact_email?: string;
6406
+ company?: string;
6407
+ value?: number;
6408
+ stage?: string;
6409
+ status?: string;
6410
+ assigned_user_id?: number;
6411
+ created_at?: string;
6412
+ };
6413
+ meta?: RequestMeta;
6414
+ };
6002
6415
  };
6416
+ type GetOpportunityResponse = GetOpportunityResponses[keyof GetOpportunityResponses];
6003
6417
  type UpdateOpportunityData = {
6004
6418
  body: {
6005
6419
  name?: string;
@@ -6030,8 +6444,24 @@ type UpdateOpportunityResponses = {
6030
6444
  /**
6031
6445
  * Updated opportunity
6032
6446
  */
6033
- 200: unknown;
6447
+ 200: {
6448
+ success?: true;
6449
+ data?: {
6450
+ id?: number;
6451
+ pipeline_id?: number;
6452
+ name?: string;
6453
+ contact_email?: string;
6454
+ company?: string;
6455
+ value?: number;
6456
+ stage?: string;
6457
+ status?: string;
6458
+ assigned_user_id?: number;
6459
+ created_at?: string;
6460
+ };
6461
+ meta?: RequestMeta;
6462
+ };
6034
6463
  };
6464
+ type UpdateOpportunityResponse = UpdateOpportunityResponses[keyof UpdateOpportunityResponses];
6035
6465
  type UpdateOpportunityStatusData = {
6036
6466
  body: {
6037
6467
  status: 'open' | 'won' | 'lost' | 'abandoned';
@@ -6057,8 +6487,24 @@ type UpdateOpportunityStatusResponses = {
6057
6487
  /**
6058
6488
  * Updated opportunity
6059
6489
  */
6060
- 200: unknown;
6490
+ 200: {
6491
+ success?: true;
6492
+ data?: {
6493
+ id?: number;
6494
+ pipeline_id?: number;
6495
+ name?: string;
6496
+ contact_email?: string;
6497
+ company?: string;
6498
+ value?: number;
6499
+ stage?: string;
6500
+ status?: string;
6501
+ assigned_user_id?: number;
6502
+ created_at?: string;
6503
+ };
6504
+ meta?: RequestMeta;
6505
+ };
6061
6506
  };
6507
+ type UpdateOpportunityStatusResponse = UpdateOpportunityStatusResponses[keyof UpdateOpportunityStatusResponses];
6062
6508
  type ListWorkspacesData = {
6063
6509
  body?: never;
6064
6510
  path?: never;
@@ -6075,8 +6521,21 @@ type ListWorkspacesResponses = {
6075
6521
  /**
6076
6522
  * List of sub-accounts
6077
6523
  */
6078
- 200: unknown;
6524
+ 200: {
6525
+ success?: true;
6526
+ data?: {
6527
+ workspaces?: Array<{
6528
+ id?: number;
6529
+ name?: string;
6530
+ hash_id?: string;
6531
+ status?: string;
6532
+ created_at?: string;
6533
+ }>;
6534
+ };
6535
+ meta?: RequestMeta;
6536
+ };
6079
6537
  };
6538
+ type ListWorkspacesResponse = ListWorkspacesResponses[keyof ListWorkspacesResponses];
6080
6539
  type CreateWorkspaceData = {
6081
6540
  body: {
6082
6541
  name: string;
@@ -6105,8 +6564,19 @@ type CreateWorkspaceResponses = {
6105
6564
  /**
6106
6565
  * Workspace created
6107
6566
  */
6108
- 201: unknown;
6567
+ 201: {
6568
+ success?: true;
6569
+ data?: {
6570
+ id?: number;
6571
+ name?: string;
6572
+ hash_id?: string;
6573
+ status?: string;
6574
+ created_at?: string;
6575
+ };
6576
+ meta?: RequestMeta;
6577
+ };
6109
6578
  };
6579
+ type CreateWorkspaceResponse = CreateWorkspaceResponses[keyof CreateWorkspaceResponses];
6110
6580
  type BulkWorkspaceActionData = {
6111
6581
  body: {
6112
6582
  /**
@@ -6146,8 +6616,18 @@ type BulkWorkspaceActionResponses = {
6146
6616
  /**
6147
6617
  * Bulk action applied; body reports applied/failed and per-workspace results
6148
6618
  */
6149
- 200: unknown;
6619
+ 200: {
6620
+ success?: true;
6621
+ data?: {
6622
+ results?: Array<{
6623
+ workspace_id?: number;
6624
+ ok?: boolean;
6625
+ }>;
6626
+ };
6627
+ meta?: RequestMeta;
6628
+ };
6150
6629
  };
6630
+ type BulkWorkspaceActionResponse = BulkWorkspaceActionResponses[keyof BulkWorkspaceActionResponses];
6151
6631
  type DeleteWorkspaceData = {
6152
6632
  body: {
6153
6633
  /**
@@ -6179,8 +6659,16 @@ type DeleteWorkspaceResponses = {
6179
6659
  /**
6180
6660
  * Sub-account scheduled for deletion
6181
6661
  */
6182
- 202: unknown;
6662
+ 202: {
6663
+ success?: true;
6664
+ data?: {
6665
+ workspace_id?: number;
6666
+ scheduled?: boolean;
6667
+ };
6668
+ meta?: RequestMeta;
6669
+ };
6183
6670
  };
6671
+ type DeleteWorkspaceResponse = DeleteWorkspaceResponses[keyof DeleteWorkspaceResponses];
6184
6672
  type GetWorkspaceData = {
6185
6673
  body?: never;
6186
6674
  path: {
@@ -6202,8 +6690,19 @@ type GetWorkspaceResponses = {
6202
6690
  /**
6203
6691
  * Sub-account detail
6204
6692
  */
6205
- 200: unknown;
6693
+ 200: {
6694
+ success?: true;
6695
+ data?: {
6696
+ id?: number;
6697
+ name?: string;
6698
+ hash_id?: string;
6699
+ status?: string;
6700
+ created_at?: string;
6701
+ };
6702
+ meta?: RequestMeta;
6703
+ };
6206
6704
  };
6705
+ type GetWorkspaceResponse = GetWorkspaceResponses[keyof GetWorkspaceResponses];
6207
6706
  type DisableWorkspaceSaasData = {
6208
6707
  body?: {
6209
6708
  /**
@@ -6234,8 +6733,16 @@ type DisableWorkspaceSaasResponses = {
6234
6733
  /**
6235
6734
  * SaaS mode disabled
6236
6735
  */
6237
- 200: unknown;
6736
+ 200: {
6737
+ success?: true;
6738
+ data?: {
6739
+ ok?: boolean;
6740
+ state?: string;
6741
+ };
6742
+ meta?: RequestMeta;
6743
+ };
6238
6744
  };
6745
+ type DisableWorkspaceSaasResponse = DisableWorkspaceSaasResponses[keyof DisableWorkspaceSaasResponses];
6239
6746
  type PauseWorkspaceData = {
6240
6747
  body?: never;
6241
6748
  path: {
@@ -6257,8 +6764,17 @@ type PauseWorkspaceResponses = {
6257
6764
  /**
6258
6765
  * Sub-account paused
6259
6766
  */
6260
- 200: unknown;
6767
+ 200: {
6768
+ success?: true;
6769
+ data?: {
6770
+ ok?: boolean;
6771
+ paused?: boolean;
6772
+ workspace_id?: number;
6773
+ };
6774
+ meta?: RequestMeta;
6775
+ };
6261
6776
  };
6777
+ type PauseWorkspaceResponse = PauseWorkspaceResponses[keyof PauseWorkspaceResponses];
6262
6778
  type ResumeWorkspaceData = {
6263
6779
  body?: never;
6264
6780
  path: {
@@ -6280,8 +6796,17 @@ type ResumeWorkspaceResponses = {
6280
6796
  /**
6281
6797
  * Sub-account resumed
6282
6798
  */
6283
- 200: unknown;
6799
+ 200: {
6800
+ success?: true;
6801
+ data?: {
6802
+ ok?: boolean;
6803
+ paused?: boolean;
6804
+ workspace_id?: number;
6805
+ };
6806
+ meta?: RequestMeta;
6807
+ };
6284
6808
  };
6809
+ type ResumeWorkspaceResponse = ResumeWorkspaceResponses[keyof ResumeWorkspaceResponses];
6285
6810
  type GetWorkspaceSubscriptionData = {
6286
6811
  body?: never;
6287
6812
  path: {
@@ -6303,8 +6828,24 @@ type GetWorkspaceSubscriptionResponses = {
6303
6828
  /**
6304
6829
  * Subscription + billing snapshot
6305
6830
  */
6306
- 200: unknown;
6831
+ 200: {
6832
+ success?: true;
6833
+ data?: {
6834
+ workspace_id?: number;
6835
+ tenant_id?: number;
6836
+ plan_id?: number;
6837
+ subscription_status?: string;
6838
+ billing_cycle?: string;
6839
+ billing_mode?: string;
6840
+ state?: string;
6841
+ rebilling_enabled?: boolean;
6842
+ balance_sqc?: number;
6843
+ sub_wallet_balance?: number;
6844
+ };
6845
+ meta?: RequestMeta;
6846
+ };
6307
6847
  };
6848
+ type GetWorkspaceSubscriptionResponse = GetWorkspaceSubscriptionResponses[keyof GetWorkspaceSubscriptionResponses];
6308
6849
  type GetWorkspaceWalletData = {
6309
6850
  body?: never;
6310
6851
  path: {
@@ -6326,8 +6867,21 @@ type GetWorkspaceWalletResponses = {
6326
6867
  /**
6327
6868
  * Wallet balance
6328
6869
  */
6329
- 200: unknown;
6870
+ 200: {
6871
+ success?: true;
6872
+ data?: {
6873
+ ok?: boolean;
6874
+ workspace_id?: number;
6875
+ status?: string;
6876
+ state?: string;
6877
+ billing_mode?: string;
6878
+ rebilling_enabled?: boolean;
6879
+ balance_sqc?: number;
6880
+ };
6881
+ meta?: RequestMeta;
6882
+ };
6330
6883
  };
6884
+ type GetWorkspaceWalletResponse = GetWorkspaceWalletResponses[keyof GetWorkspaceWalletResponses];
6331
6885
  type ListSaasPlansData = {
6332
6886
  body?: never;
6333
6887
  path?: never;
@@ -6344,8 +6898,27 @@ type ListSaasPlansResponses = {
6344
6898
  /**
6345
6899
  * List of SaaS plans
6346
6900
  */
6347
- 200: unknown;
6901
+ 200: {
6902
+ success?: true;
6903
+ data?: {
6904
+ plans?: Array<{
6905
+ id?: number;
6906
+ tenant_id?: number;
6907
+ name?: string;
6908
+ description?: string;
6909
+ price?: number;
6910
+ setup_fee?: number;
6911
+ currency?: string;
6912
+ interval?: string;
6913
+ credits_per_period?: number;
6914
+ workspaces_limit?: number;
6915
+ features?: Array<string>;
6916
+ }>;
6917
+ };
6918
+ meta?: RequestMeta;
6919
+ };
6348
6920
  };
6921
+ type ListSaasPlansResponse = ListSaasPlansResponses[keyof ListSaasPlansResponses];
6349
6922
  type GetSaasPlanData = {
6350
6923
  body?: never;
6351
6924
  path: {
@@ -6367,8 +6940,25 @@ type GetSaasPlanResponses = {
6367
6940
  /**
6368
6941
  * SaaS plan
6369
6942
  */
6370
- 200: unknown;
6943
+ 200: {
6944
+ success?: true;
6945
+ data?: {
6946
+ id?: number;
6947
+ tenant_id?: number;
6948
+ name?: string;
6949
+ description?: string;
6950
+ price?: number;
6951
+ setup_fee?: number;
6952
+ currency?: string;
6953
+ interval?: string;
6954
+ credits_per_period?: number;
6955
+ workspaces_limit?: number;
6956
+ features?: Array<string>;
6957
+ };
6958
+ meta?: RequestMeta;
6959
+ };
6371
6960
  };
6961
+ type GetSaasPlanResponse = GetSaasPlanResponses[keyof GetSaasPlanResponses];
6372
6962
  type EnrollContactData = {
6373
6963
  body: {
6374
6964
  /**
@@ -6401,8 +6991,17 @@ type EnrollContactResponses = {
6401
6991
  /**
6402
6992
  * Contact enrolled (run queued)
6403
6993
  */
6404
- 202: unknown;
6994
+ 202: {
6995
+ success?: true;
6996
+ data?: {
6997
+ enrolled?: boolean;
6998
+ contact_id?: number;
6999
+ automation_id?: number;
7000
+ };
7001
+ meta?: RequestMeta;
7002
+ };
6405
7003
  };
7004
+ type EnrollContactResponse = EnrollContactResponses[keyof EnrollContactResponses];
6406
7005
  type AddContactMessageData = {
6407
7006
  body: {
6408
7007
  body_text: string;
@@ -6434,8 +7033,18 @@ type AddContactMessageResponses = {
6434
7033
  /**
6435
7034
  * Message logged
6436
7035
  */
6437
- 201: unknown;
7036
+ 201: {
7037
+ success?: true;
7038
+ data?: {
7039
+ id?: number;
7040
+ direction?: string;
7041
+ channel?: string;
7042
+ body_text?: string;
7043
+ };
7044
+ meta?: RequestMeta;
7045
+ };
6438
7046
  };
7047
+ type AddContactMessageResponse = AddContactMessageResponses[keyof AddContactMessageResponses];
6439
7048
  type ListCustomFieldsData = {
6440
7049
  body?: never;
6441
7050
  path?: never;
@@ -6446,8 +7055,19 @@ type ListCustomFieldsResponses = {
6446
7055
  /**
6447
7056
  * Custom field definitions
6448
7057
  */
6449
- 200: unknown;
7058
+ 200: {
7059
+ success?: true;
7060
+ data?: Array<{
7061
+ id?: number;
7062
+ attr_key?: string;
7063
+ label?: string;
7064
+ created_at?: string;
7065
+ }>;
7066
+ pagination?: PaginationMeta;
7067
+ meta?: RequestMeta;
7068
+ };
6450
7069
  };
7070
+ type ListCustomFieldsResponse = ListCustomFieldsResponses[keyof ListCustomFieldsResponses];
6451
7071
  type CreateCustomFieldData = {
6452
7072
  body: {
6453
7073
  label: string;
@@ -6478,8 +7098,17 @@ type CreateCustomFieldResponses = {
6478
7098
  /**
6479
7099
  * Custom field created
6480
7100
  */
6481
- 201: unknown;
7101
+ 201: {
7102
+ success?: true;
7103
+ data?: {
7104
+ id?: number;
7105
+ attr_key?: string;
7106
+ label?: string;
7107
+ };
7108
+ meta?: RequestMeta;
7109
+ };
6482
7110
  };
7111
+ type CreateCustomFieldResponse = CreateCustomFieldResponses[keyof CreateCustomFieldResponses];
6483
7112
  type DeleteCustomFieldData = {
6484
7113
  body?: never;
6485
7114
  path: {
@@ -6499,8 +7128,15 @@ type DeleteCustomFieldResponses = {
6499
7128
  /**
6500
7129
  * Deleted
6501
7130
  */
6502
- 200: unknown;
7131
+ 200: {
7132
+ success?: true;
7133
+ data?: {
7134
+ [key: string]: unknown;
7135
+ };
7136
+ meta?: RequestMeta;
7137
+ };
6503
7138
  };
7139
+ type DeleteCustomFieldResponse = DeleteCustomFieldResponses[keyof DeleteCustomFieldResponses];
6504
7140
  type ListPresentationsData = {
6505
7141
  body?: never;
6506
7142
  path?: never;
@@ -6708,8 +7344,16 @@ type DeleteProfileResponses = {
6708
7344
  /**
6709
7345
  * Deletion scheduled
6710
7346
  */
6711
- 202: unknown;
7347
+ 202: {
7348
+ success?: true;
7349
+ data?: {
7350
+ profile_id?: number;
7351
+ scheduled?: boolean;
7352
+ };
7353
+ meta?: RequestMeta;
7354
+ };
6712
7355
  };
7356
+ type DeleteProfileResponse = DeleteProfileResponses[keyof DeleteProfileResponses];
6713
7357
  type GetProfileData = {
6714
7358
  body?: never;
6715
7359
  path: {
@@ -6791,8 +7435,16 @@ type PauseProfileResponses = {
6791
7435
  /**
6792
7436
  * OK
6793
7437
  */
6794
- 200: unknown;
7438
+ 200: {
7439
+ success?: true;
7440
+ data?: {
7441
+ ok?: boolean;
7442
+ status?: string;
7443
+ };
7444
+ meta?: RequestMeta;
7445
+ };
6795
7446
  };
7447
+ type PauseProfileResponse = PauseProfileResponses[keyof PauseProfileResponses];
6796
7448
  type ResumeProfileData = {
6797
7449
  body?: never;
6798
7450
  path: {
@@ -6815,8 +7467,16 @@ type ResumeProfileResponses = {
6815
7467
  /**
6816
7468
  * OK
6817
7469
  */
6818
- 200: unknown;
7470
+ 200: {
7471
+ success?: true;
7472
+ data?: {
7473
+ ok?: boolean;
7474
+ status?: string;
7475
+ };
7476
+ meta?: RequestMeta;
7477
+ };
6819
7478
  };
7479
+ type ResumeProfileResponse = ResumeProfileResponses[keyof ResumeProfileResponses];
6820
7480
  type CreateProfileConnectLinkData = {
6821
7481
  body?: {
6822
7482
  /**
@@ -7619,6 +8279,12 @@ type BulkSchedulePostsData = {
7619
8279
  timezone?: string;
7620
8280
  media_urls?: Array<string>;
7621
8281
  link?: string;
8282
+ /**
8283
+ * Per-platform composer options - the same payload the web composer stores; publish handlers read it as-is (unknown keys are ignored, max 20KB). Keyed by platform, e.g. {"tiktok": {"privacy_level": "SELF_ONLY"}, "instagram": {"content": "IG-specific caption"}, "_thumbnail": {"timestamp_ms": 3000}}. Common keys: per-platform `content` override; tiktok privacy/duet/stitch options; `_thumbnail` custom video cover.
8284
+ */
8285
+ platform_options?: {
8286
+ [key: string]: unknown;
8287
+ };
7622
8288
  }>;
7623
8289
  /**
7624
8290
  * Alternative to posts: inline CSV with a header line. Columns: content, platforms, account_ids, scheduled_time, media_urls, link (list cells split on | or ,). Provide posts OR csv, not both.
@@ -7699,6 +8365,12 @@ type ValidateBulkBatchData = {
7699
8365
  timezone?: string;
7700
8366
  media_urls?: Array<string>;
7701
8367
  link?: string;
8368
+ /**
8369
+ * Per-platform composer options - the same payload the web composer stores; publish handlers read it as-is (unknown keys are ignored, max 20KB). Keyed by platform, e.g. {"tiktok": {"privacy_level": "SELF_ONLY"}, "instagram": {"content": "IG-specific caption"}, "_thumbnail": {"timestamp_ms": 3000}}. Common keys: per-platform `content` override; tiktok privacy/duet/stitch options; `_thumbnail` custom video cover.
8370
+ */
8371
+ platform_options?: {
8372
+ [key: string]: unknown;
8373
+ };
7702
8374
  }>;
7703
8375
  /**
7704
8376
  * Alternative to posts: inline CSV with a header line. Columns: content, platforms, account_ids, scheduled_time, media_urls, link (list cells split on | or ,). Provide posts OR csv, not both.
@@ -8346,42 +9018,1755 @@ type AnalyticsPostTimelineResponses = {
8346
9018
  };
8347
9019
  };
8348
9020
  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` */
9021
+ type InboxVolumeData = {
9022
+ body?: never;
9023
+ path?: never;
9024
+ query?: {
9025
+ /**
9026
+ * Window in days.
9027
+ */
9028
+ days?: number;
9029
+ };
9030
+ url: '/analytics/inbox/volume';
9031
+ };
9032
+ type InboxVolumeErrors = {
9033
+ /**
9034
+ * Missing or invalid API key
9035
+ */
9036
+ 401: ErrorResponse;
9037
+ };
9038
+ type InboxVolumeError = InboxVolumeErrors[keyof InboxVolumeErrors];
9039
+ type InboxVolumeResponses = {
9040
+ /**
9041
+ * Volume
9042
+ */
9043
+ 200: {
9044
+ success?: true;
9045
+ data?: {
9046
+ days?: number;
9047
+ daily?: Array<{
9048
+ date?: string;
9049
+ incoming?: number;
9050
+ outgoing?: number;
9051
+ new_conversations?: number;
9052
+ }>;
9053
+ };
9054
+ meta?: RequestMeta;
9055
+ };
9056
+ };
9057
+ type InboxVolumeResponse = InboxVolumeResponses[keyof InboxVolumeResponses];
9058
+ type InboxHeatmapData = {
9059
+ body?: never;
9060
+ path?: never;
9061
+ query?: {
9062
+ /**
9063
+ * Window in days.
9064
+ */
9065
+ days?: number;
9066
+ timezone?: string;
9067
+ };
9068
+ url: '/analytics/inbox/heatmap';
9069
+ };
9070
+ type InboxHeatmapErrors = {
9071
+ /**
9072
+ * Missing or invalid API key
9073
+ */
9074
+ 401: ErrorResponse;
9075
+ /**
9076
+ * Validation error
9077
+ */
9078
+ 422: ErrorResponse;
9079
+ };
9080
+ type InboxHeatmapError = InboxHeatmapErrors[keyof InboxHeatmapErrors];
9081
+ type InboxHeatmapResponses = {
9082
+ /**
9083
+ * Heatmap
9084
+ */
9085
+ 200: {
9086
+ success?: true;
9087
+ data?: {
9088
+ days?: number;
9089
+ timezone?: string;
9090
+ sample?: number;
9091
+ /**
9092
+ * weekday -> array of 24 hourly counts
9093
+ */
9094
+ heatmap?: {
9095
+ [key: string]: unknown;
9096
+ };
9097
+ };
9098
+ meta?: RequestMeta;
9099
+ };
9100
+ };
9101
+ type InboxHeatmapResponse = InboxHeatmapResponses[keyof InboxHeatmapResponses];
9102
+ type InboxSourceBreakdownData = {
9103
+ body?: never;
9104
+ path?: never;
9105
+ query?: {
9106
+ /**
9107
+ * Window in days.
9108
+ */
9109
+ days?: number;
9110
+ };
9111
+ url: '/analytics/inbox/source-breakdown';
9112
+ };
9113
+ type InboxSourceBreakdownErrors = {
9114
+ /**
9115
+ * Missing or invalid API key
9116
+ */
9117
+ 401: ErrorResponse;
9118
+ };
9119
+ type InboxSourceBreakdownError = InboxSourceBreakdownErrors[keyof InboxSourceBreakdownErrors];
9120
+ type InboxSourceBreakdownResponses = {
9121
+ /**
9122
+ * Breakdown
9123
+ */
9124
+ 200: {
9125
+ success?: true;
9126
+ data?: {
9127
+ days?: number;
9128
+ platforms?: Array<{
9129
+ platform?: string;
9130
+ conversations?: number;
9131
+ incoming?: number;
9132
+ outgoing?: number;
9133
+ }>;
9134
+ };
9135
+ meta?: RequestMeta;
9136
+ };
9137
+ };
9138
+ type InboxSourceBreakdownResponse = InboxSourceBreakdownResponses[keyof InboxSourceBreakdownResponses];
9139
+ type InboxResponseTimeData = {
9140
+ body?: never;
9141
+ path?: never;
9142
+ query?: {
9143
+ /**
9144
+ * Window in days.
9145
+ */
9146
+ days?: number;
9147
+ };
9148
+ url: '/analytics/inbox/response-time';
9149
+ };
9150
+ type InboxResponseTimeErrors = {
9151
+ /**
9152
+ * Missing or invalid API key
9153
+ */
9154
+ 401: ErrorResponse;
9155
+ };
9156
+ type InboxResponseTimeError = InboxResponseTimeErrors[keyof InboxResponseTimeErrors];
9157
+ type InboxResponseTimeResponses = {
9158
+ /**
9159
+ * Response times
9160
+ */
9161
+ 200: {
9162
+ success?: true;
9163
+ data?: {
9164
+ days?: number;
9165
+ answered?: number;
9166
+ avg_response_seconds?: number;
9167
+ median_response_seconds?: number;
9168
+ histogram?: {
9169
+ under_15m?: number;
9170
+ '15m_1h'?: number;
9171
+ '1h_4h'?: number;
9172
+ '4h_24h'?: number;
9173
+ over_24h?: number;
9174
+ };
9175
+ };
9176
+ meta?: RequestMeta;
9177
+ };
9178
+ };
9179
+ type InboxResponseTimeResponse = InboxResponseTimeResponses[keyof InboxResponseTimeResponses];
9180
+ type InboxTopAccountsData = {
9181
+ body?: never;
9182
+ path?: never;
9183
+ query?: {
9184
+ /**
9185
+ * Window in days.
9186
+ */
9187
+ days?: number;
9188
+ limit?: number;
9189
+ };
9190
+ url: '/analytics/inbox/top-accounts';
9191
+ };
9192
+ type InboxTopAccountsErrors = {
9193
+ /**
9194
+ * Missing or invalid API key
9195
+ */
9196
+ 401: ErrorResponse;
9197
+ };
9198
+ type InboxTopAccountsError = InboxTopAccountsErrors[keyof InboxTopAccountsErrors];
9199
+ type InboxTopAccountsResponses = {
9200
+ /**
9201
+ * Top accounts
9202
+ */
9203
+ 200: {
9204
+ success?: true;
9205
+ data?: {
9206
+ days?: number;
9207
+ accounts?: Array<{
9208
+ account_id?: number;
9209
+ platform?: string;
9210
+ account_name?: string;
9211
+ conversations?: number;
9212
+ incoming?: number;
9213
+ }>;
9214
+ };
9215
+ meta?: RequestMeta;
9216
+ };
9217
+ };
9218
+ type InboxTopAccountsResponse = InboxTopAccountsResponses[keyof InboxTopAccountsResponses];
9219
+ type ListReviewsData = {
9220
+ body?: never;
9221
+ path?: never;
9222
+ query?: {
9223
+ /**
9224
+ * Limit to one connected Google Business account.
9225
+ */
9226
+ account_id?: number;
9227
+ rating?: number;
9228
+ status?: 'pending' | 'replied';
9229
+ page?: number;
9230
+ per_page?: number;
9231
+ };
9232
+ url: '/reviews';
9233
+ };
9234
+ type ListReviewsErrors = {
9235
+ /**
9236
+ * Missing or invalid API key
9237
+ */
9238
+ 401: ErrorResponse;
9239
+ /**
9240
+ * Resource not found
9241
+ */
9242
+ 404: ErrorResponse;
9243
+ };
9244
+ type ListReviewsError = ListReviewsErrors[keyof ListReviewsErrors];
9245
+ type ListReviewsResponses = {
9246
+ /**
9247
+ * Reviews
9248
+ */
9249
+ 200: {
9250
+ success?: true;
9251
+ data?: Array<{
9252
+ id?: number;
9253
+ account_id?: number;
9254
+ author_name?: string;
9255
+ author_photo?: string;
9256
+ rating?: number;
9257
+ comment?: string;
9258
+ created_at?: string;
9259
+ reply_comment?: string;
9260
+ reply_at?: string;
9261
+ reply_source?: string;
9262
+ status?: 'pending' | 'replied';
9263
+ }>;
9264
+ pagination?: PaginationMeta;
9265
+ meta?: RequestMeta;
9266
+ };
9267
+ };
9268
+ type ListReviewsResponse = ListReviewsResponses[keyof ListReviewsResponses];
9269
+ type DeleteReviewReplyData = {
9270
+ body?: never;
9271
+ path: {
9272
+ review_id: number;
9273
+ };
9274
+ query?: never;
9275
+ url: '/reviews/{review_id}/reply';
9276
+ };
9277
+ type DeleteReviewReplyErrors = {
9278
+ /**
9279
+ * Missing or invalid API key
9280
+ */
9281
+ 401: ErrorResponse;
9282
+ /**
9283
+ * Resource not found
9284
+ */
9285
+ 404: ErrorResponse;
9286
+ /**
9287
+ * Conflict (e.g. duplicate idempotency or already-finished job)
9288
+ */
9289
+ 409: ErrorResponse;
9290
+ /**
9291
+ * Platform rejected the request
9292
+ */
9293
+ 502: {
9294
+ success?: false;
9295
+ error?: {
9296
+ code?: 'PLATFORM_ERROR';
9297
+ message?: string;
9298
+ };
9299
+ meta?: RequestMeta;
9300
+ };
9301
+ };
9302
+ type DeleteReviewReplyError = DeleteReviewReplyErrors[keyof DeleteReviewReplyErrors];
9303
+ type DeleteReviewReplyResponses = {
9304
+ /**
9305
+ * Reply deleted
9306
+ */
9307
+ 200: {
9308
+ success?: true;
9309
+ data?: {
9310
+ [key: string]: unknown;
9311
+ };
9312
+ meta?: RequestMeta;
9313
+ };
9314
+ };
9315
+ type DeleteReviewReplyResponse = DeleteReviewReplyResponses[keyof DeleteReviewReplyResponses];
9316
+ type ReplyToReviewData = {
9317
+ body: {
9318
+ comment: string;
9319
+ };
9320
+ path: {
9321
+ review_id: number;
9322
+ };
9323
+ query?: never;
9324
+ url: '/reviews/{review_id}/reply';
9325
+ };
9326
+ type ReplyToReviewErrors = {
9327
+ /**
9328
+ * Missing or invalid API key
9329
+ */
9330
+ 401: ErrorResponse;
9331
+ /**
9332
+ * Resource not found
9333
+ */
9334
+ 404: ErrorResponse;
9335
+ /**
9336
+ * Validation error
9337
+ */
9338
+ 422: ErrorResponse;
9339
+ /**
9340
+ * Google rejected the reply
9341
+ */
9342
+ 502: {
9343
+ success?: false;
9344
+ error?: {
9345
+ code?: 'PLATFORM_ERROR';
9346
+ message?: string;
9347
+ };
9348
+ meta?: RequestMeta;
9349
+ };
9350
+ };
9351
+ type ReplyToReviewError = ReplyToReviewErrors[keyof ReplyToReviewErrors];
9352
+ type ReplyToReviewResponses = {
9353
+ /**
9354
+ * Replied
9355
+ */
9356
+ 200: {
9357
+ success?: true;
9358
+ data?: {
9359
+ replied?: boolean;
9360
+ review_id?: number;
9361
+ };
9362
+ meta?: RequestMeta;
9363
+ };
9364
+ };
9365
+ type ReplyToReviewResponse = ReplyToReviewResponses[keyof ReplyToReviewResponses];
9366
+ type SyncReviewsData = {
9367
+ body?: {
9368
+ /**
9369
+ * Optional: sync only this connected account.
9370
+ */
9371
+ account_id?: number;
9372
+ };
9373
+ path?: never;
9374
+ query?: never;
9375
+ url: '/reviews/sync';
9376
+ };
9377
+ type SyncReviewsErrors = {
9378
+ /**
9379
+ * Missing or invalid API key
9380
+ */
9381
+ 401: ErrorResponse;
9382
+ /**
9383
+ * Resource not found
9384
+ */
9385
+ 404: ErrorResponse;
9386
+ };
9387
+ type SyncReviewsError = SyncReviewsErrors[keyof SyncReviewsErrors];
9388
+ type SyncReviewsResponses = {
9389
+ /**
9390
+ * Synced
9391
+ */
9392
+ 200: {
9393
+ success?: true;
9394
+ data?: {
9395
+ /**
9396
+ * Reviews inserted or updated.
9397
+ */
9398
+ synced?: number;
9399
+ };
9400
+ meta?: RequestMeta;
9401
+ };
9402
+ };
9403
+ type SyncReviewsResponse = SyncReviewsResponses[keyof SyncReviewsResponses];
9404
+ type GetConversationData = {
9405
+ body?: never;
9406
+ path: {
9407
+ conversation_id: number;
9408
+ };
9409
+ query?: never;
9410
+ url: '/social/conversations/{conversation_id}';
9411
+ };
9412
+ type GetConversationErrors = {
9413
+ /**
9414
+ * Missing or invalid API key
9415
+ */
9416
+ 401: ErrorResponse;
9417
+ /**
9418
+ * Resource not found
9419
+ */
9420
+ 404: ErrorResponse;
9421
+ };
9422
+ type GetConversationError = GetConversationErrors[keyof GetConversationErrors];
9423
+ type GetConversationResponses = {
9424
+ /**
9425
+ * Conversation
9426
+ */
9427
+ 200: {
9428
+ success?: true;
9429
+ data?: {
9430
+ id?: number;
9431
+ platform?: string;
9432
+ account_id?: number;
9433
+ participant_name?: string;
9434
+ status?: 'open' | 'archived';
9435
+ unread_count?: number;
9436
+ snippet?: string;
9437
+ incoming?: number;
9438
+ outgoing?: number;
9439
+ created_at?: string;
9440
+ last_message_at?: string;
9441
+ };
9442
+ meta?: RequestMeta;
9443
+ };
9444
+ };
9445
+ type GetConversationResponse = GetConversationResponses[keyof GetConversationResponses];
9446
+ type UpdateConversationData = {
9447
+ body: {
9448
+ status: 'open' | 'archived';
9449
+ };
9450
+ path: {
9451
+ conversation_id: number;
9452
+ };
9453
+ query?: never;
9454
+ url: '/social/conversations/{conversation_id}';
9455
+ };
9456
+ type UpdateConversationErrors = {
9457
+ /**
9458
+ * Missing or invalid API key
9459
+ */
9460
+ 401: ErrorResponse;
9461
+ /**
9462
+ * Resource not found
9463
+ */
9464
+ 404: ErrorResponse;
9465
+ /**
9466
+ * Validation error
9467
+ */
9468
+ 422: ErrorResponse;
9469
+ };
9470
+ type UpdateConversationError = UpdateConversationErrors[keyof UpdateConversationErrors];
9471
+ type UpdateConversationResponses = {
9472
+ /**
9473
+ * Updated
9474
+ */
9475
+ 200: {
9476
+ success?: true;
9477
+ data?: {
9478
+ id?: number;
9479
+ status?: string;
9480
+ };
9481
+ meta?: RequestMeta;
9482
+ };
9483
+ };
9484
+ type UpdateConversationResponse = UpdateConversationResponses[keyof UpdateConversationResponses];
9485
+ type SearchConversationsData = {
9486
+ body?: never;
9487
+ path?: never;
9488
+ query: {
9489
+ q: string;
9490
+ page?: number;
9491
+ per_page?: number;
9492
+ };
9493
+ url: '/social/conversations/search';
9494
+ };
9495
+ type SearchConversationsErrors = {
9496
+ /**
9497
+ * Missing or invalid API key
9498
+ */
9499
+ 401: ErrorResponse;
9500
+ /**
9501
+ * Validation error
9502
+ */
9503
+ 422: ErrorResponse;
9504
+ };
9505
+ type SearchConversationsError = SearchConversationsErrors[keyof SearchConversationsErrors];
9506
+ type SearchConversationsResponses = {
9507
+ /**
9508
+ * Matches
9509
+ */
9510
+ 200: {
9511
+ success?: true;
9512
+ data?: Array<{
9513
+ id?: number;
9514
+ platform?: string;
9515
+ account_id?: number;
9516
+ participant_name?: string;
9517
+ status?: string;
9518
+ snippet?: string;
9519
+ matched_message?: string;
9520
+ last_message_at?: string;
9521
+ }>;
9522
+ pagination?: PaginationMeta;
9523
+ meta?: RequestMeta;
9524
+ };
9525
+ };
9526
+ type SearchConversationsResponse = SearchConversationsResponses[keyof SearchConversationsResponses];
9527
+ type InboxConversationsData = {
9528
+ body?: never;
9529
+ path?: never;
9530
+ query?: {
9531
+ days?: number;
9532
+ page?: number;
9533
+ per_page?: number;
9534
+ };
9535
+ url: '/analytics/inbox/conversations';
9536
+ };
9537
+ type InboxConversationsErrors = {
9538
+ /**
9539
+ * Missing or invalid API key
9540
+ */
9541
+ 401: ErrorResponse;
9542
+ };
9543
+ type InboxConversationsError = InboxConversationsErrors[keyof InboxConversationsErrors];
9544
+ type InboxConversationsResponses = {
9545
+ /**
9546
+ * Stats
9547
+ */
9548
+ 200: {
9549
+ success?: true;
9550
+ data?: {
9551
+ days?: number;
9552
+ page?: number;
9553
+ per_page?: number;
9554
+ conversations?: Array<{
9555
+ id?: number;
9556
+ platform?: string;
9557
+ account_id?: number;
9558
+ participant_name?: string;
9559
+ status?: string;
9560
+ incoming?: number;
9561
+ outgoing?: number;
9562
+ created_at?: string;
9563
+ last_message_at?: string;
9564
+ }>;
9565
+ };
9566
+ meta?: RequestMeta;
9567
+ };
9568
+ };
9569
+ type InboxConversationsResponse = InboxConversationsResponses[keyof InboxConversationsResponses];
9570
+ type InboxConversationDetailData = {
9571
+ body?: never;
9572
+ path: {
9573
+ conversation_id: number;
9574
+ };
9575
+ query?: never;
9576
+ url: '/analytics/inbox/conversations/{conversation_id}';
9577
+ };
9578
+ type InboxConversationDetailErrors = {
9579
+ /**
9580
+ * Missing or invalid API key
9581
+ */
9582
+ 401: ErrorResponse;
9583
+ /**
9584
+ * Resource not found
9585
+ */
9586
+ 404: ErrorResponse;
9587
+ };
9588
+ type InboxConversationDetailError = InboxConversationDetailErrors[keyof InboxConversationDetailErrors];
9589
+ type InboxConversationDetailResponses = {
9590
+ /**
9591
+ * Conversation analytics
9592
+ */
9593
+ 200: {
9594
+ success?: true;
9595
+ data?: {
9596
+ id?: number;
9597
+ platform?: string;
9598
+ account_id?: number;
9599
+ participant_name?: string;
9600
+ status?: string;
9601
+ incoming?: number;
9602
+ outgoing?: number;
9603
+ answered?: number;
9604
+ avg_response_seconds?: number;
9605
+ median_response_seconds?: number;
9606
+ created_at?: string;
9607
+ last_message_at?: string;
9608
+ };
9609
+ meta?: RequestMeta;
9610
+ };
9611
+ };
9612
+ type InboxConversationDetailResponse = InboxConversationDetailResponses[keyof InboxConversationDetailResponses];
9613
+ type ListAutomationsData = {
9614
+ body?: never;
9615
+ path?: never;
9616
+ query?: {
9617
+ status?: 'draft' | 'active' | 'paused' | 'archived';
9618
+ };
9619
+ url: '/automations';
9620
+ };
9621
+ type ListAutomationsErrors = {
9622
+ /**
9623
+ * Missing or invalid API key
9624
+ */
9625
+ 401: ErrorResponse;
9626
+ };
9627
+ type ListAutomationsError = ListAutomationsErrors[keyof ListAutomationsErrors];
9628
+ type ListAutomationsResponses = {
9629
+ /**
9630
+ * Automations
9631
+ */
9632
+ 200: {
9633
+ success?: true;
9634
+ data?: Array<{
9635
+ id?: number;
9636
+ name?: string;
9637
+ description?: string;
9638
+ trigger_type?: string;
9639
+ status?: 'draft' | 'active' | 'paused' | 'archived';
9640
+ last_run_at?: string;
9641
+ run_count?: number;
9642
+ error_count?: number;
9643
+ created?: string;
9644
+ updated?: string;
9645
+ }>;
9646
+ meta?: RequestMeta;
9647
+ };
9648
+ };
9649
+ type ListAutomationsResponse = ListAutomationsResponses[keyof ListAutomationsResponses];
9650
+ type GetAutomationData = {
9651
+ body?: never;
9652
+ path: {
9653
+ automation_id: number;
9654
+ };
9655
+ query?: never;
9656
+ url: '/automations/{automation_id}';
9657
+ };
9658
+ type GetAutomationErrors = {
9659
+ /**
9660
+ * Missing or invalid API key
9661
+ */
9662
+ 401: ErrorResponse;
9663
+ /**
9664
+ * Resource not found
9665
+ */
9666
+ 404: ErrorResponse;
9667
+ };
9668
+ type GetAutomationError = GetAutomationErrors[keyof GetAutomationErrors];
9669
+ type GetAutomationResponses = {
9670
+ /**
9671
+ * Automation
9672
+ */
9673
+ 200: {
9674
+ success?: true;
9675
+ data?: {
9676
+ id?: number;
9677
+ name?: string;
9678
+ description?: string;
9679
+ trigger_type?: string;
9680
+ status?: 'draft' | 'active' | 'paused' | 'archived';
9681
+ last_run_at?: string;
9682
+ run_count?: number;
9683
+ error_count?: number;
9684
+ created?: string;
9685
+ updated?: string;
9686
+ };
9687
+ meta?: RequestMeta;
9688
+ };
9689
+ };
9690
+ type GetAutomationResponse = GetAutomationResponses[keyof GetAutomationResponses];
9691
+ type ActivateAutomationData = {
9692
+ body?: never;
9693
+ path: {
9694
+ automation_id: number;
9695
+ };
9696
+ query?: never;
9697
+ url: '/automations/{automation_id}/activate';
9698
+ };
9699
+ type ActivateAutomationErrors = {
9700
+ /**
9701
+ * Missing or invalid API key
9702
+ */
9703
+ 401: ErrorResponse;
9704
+ /**
9705
+ * Resource not found
9706
+ */
9707
+ 404: ErrorResponse;
9708
+ /**
9709
+ * Validation error
9710
+ */
9711
+ 422: ErrorResponse;
9712
+ };
9713
+ type ActivateAutomationError = ActivateAutomationErrors[keyof ActivateAutomationErrors];
9714
+ type ActivateAutomationResponses = {
9715
+ /**
9716
+ * Activated
9717
+ */
9718
+ 200: {
9719
+ success?: true;
9720
+ data?: {
9721
+ id?: number;
9722
+ name?: string;
9723
+ description?: string;
9724
+ trigger_type?: string;
9725
+ status?: 'draft' | 'active' | 'paused' | 'archived';
9726
+ last_run_at?: string;
9727
+ run_count?: number;
9728
+ error_count?: number;
9729
+ created?: string;
9730
+ updated?: string;
9731
+ };
9732
+ meta?: RequestMeta;
9733
+ };
9734
+ };
9735
+ type ActivateAutomationResponse = ActivateAutomationResponses[keyof ActivateAutomationResponses];
9736
+ type DeactivateAutomationData = {
9737
+ body?: never;
9738
+ path: {
9739
+ automation_id: number;
9740
+ };
9741
+ query?: never;
9742
+ url: '/automations/{automation_id}/deactivate';
9743
+ };
9744
+ type DeactivateAutomationErrors = {
9745
+ /**
9746
+ * Missing or invalid API key
9747
+ */
9748
+ 401: ErrorResponse;
9749
+ /**
9750
+ * Resource not found
9751
+ */
9752
+ 404: ErrorResponse;
9753
+ };
9754
+ type DeactivateAutomationError = DeactivateAutomationErrors[keyof DeactivateAutomationErrors];
9755
+ type DeactivateAutomationResponses = {
9756
+ /**
9757
+ * Paused
9758
+ */
9759
+ 200: {
9760
+ success?: true;
9761
+ data?: {
9762
+ id?: number;
9763
+ name?: string;
9764
+ description?: string;
9765
+ trigger_type?: string;
9766
+ status?: 'draft' | 'active' | 'paused' | 'archived';
9767
+ last_run_at?: string;
9768
+ run_count?: number;
9769
+ error_count?: number;
9770
+ created?: string;
9771
+ updated?: string;
9772
+ };
9773
+ meta?: RequestMeta;
9774
+ };
9775
+ };
9776
+ type DeactivateAutomationResponse = DeactivateAutomationResponses[keyof DeactivateAutomationResponses];
9777
+ type TriggerAutomationData = {
9778
+ body?: {
9779
+ /**
9780
+ * Arbitrary JSON passed to the run.
9781
+ */
9782
+ payload?: {
9783
+ [key: string]: unknown;
9784
+ };
9785
+ };
9786
+ path: {
9787
+ automation_id: number;
9788
+ };
9789
+ query?: never;
9790
+ url: '/automations/{automation_id}/trigger';
9791
+ };
9792
+ type TriggerAutomationErrors = {
9793
+ /**
9794
+ * Missing or invalid API key
9795
+ */
9796
+ 401: ErrorResponse;
9797
+ /**
9798
+ * Resource not found
9799
+ */
9800
+ 404: ErrorResponse;
9801
+ /**
9802
+ * Conflict (e.g. duplicate idempotency or already-finished job)
9803
+ */
9804
+ 409: ErrorResponse;
9805
+ };
9806
+ type TriggerAutomationError = TriggerAutomationErrors[keyof TriggerAutomationErrors];
9807
+ type TriggerAutomationResponses = {
9808
+ /**
9809
+ * Run queued
9810
+ */
9811
+ 202: {
9812
+ success?: true;
9813
+ data?: {
9814
+ queued?: boolean;
9815
+ automation_id?: number;
9816
+ run_id?: number;
9817
+ };
9818
+ meta?: RequestMeta;
9819
+ };
9820
+ };
9821
+ type TriggerAutomationResponse = TriggerAutomationResponses[keyof TriggerAutomationResponses];
9822
+ type ListAutomationRunsData = {
9823
+ body?: never;
9824
+ path: {
9825
+ automation_id: number;
9826
+ };
9827
+ query?: {
9828
+ limit?: number;
9829
+ };
9830
+ url: '/automations/{automation_id}/runs';
9831
+ };
9832
+ type ListAutomationRunsErrors = {
9833
+ /**
9834
+ * Missing or invalid API key
9835
+ */
9836
+ 401: ErrorResponse;
9837
+ /**
9838
+ * Resource not found
9839
+ */
9840
+ 404: ErrorResponse;
9841
+ };
9842
+ type ListAutomationRunsError = ListAutomationRunsErrors[keyof ListAutomationRunsErrors];
9843
+ type ListAutomationRunsResponses = {
9844
+ /**
9845
+ * Runs
9846
+ */
9847
+ 200: {
9848
+ success?: true;
9849
+ data?: Array<{
9850
+ id?: number;
9851
+ automation_id?: number;
9852
+ trigger_kind?: string;
9853
+ status?: string;
9854
+ attempts?: number;
9855
+ queued_at?: string;
9856
+ started_at?: string;
9857
+ finished_at?: string;
9858
+ error?: string;
9859
+ }>;
9860
+ meta?: RequestMeta;
9861
+ };
9862
+ };
9863
+ type ListAutomationRunsResponse = ListAutomationRunsResponses[keyof ListAutomationRunsResponses];
9864
+ type GetAutomationRunData = {
9865
+ body?: never;
9866
+ path: {
9867
+ automation_id: number;
9868
+ run_id: number;
9869
+ };
9870
+ query?: never;
9871
+ url: '/automations/{automation_id}/runs/{run_id}';
9872
+ };
9873
+ type GetAutomationRunErrors = {
9874
+ /**
9875
+ * Missing or invalid API key
9876
+ */
9877
+ 401: ErrorResponse;
9878
+ /**
9879
+ * Resource not found
9880
+ */
9881
+ 404: ErrorResponse;
9882
+ };
9883
+ type GetAutomationRunError = GetAutomationRunErrors[keyof GetAutomationRunErrors];
9884
+ type GetAutomationRunResponses = {
9885
+ /**
9886
+ * Run
9887
+ */
9888
+ 200: {
9889
+ success?: true;
9890
+ data?: {
9891
+ id?: number;
9892
+ automation_id?: number;
9893
+ trigger_kind?: string;
9894
+ status?: string;
9895
+ attempts?: number;
9896
+ queued_at?: string;
9897
+ started_at?: string;
9898
+ finished_at?: string;
9899
+ error?: string;
9900
+ };
9901
+ meta?: RequestMeta;
9902
+ };
9903
+ };
9904
+ type GetAutomationRunResponse = GetAutomationRunResponses[keyof GetAutomationRunResponses];
9905
+ type BulkImportContactsData = {
9906
+ body: {
9907
+ contacts: Array<{
9908
+ [key: string]: unknown;
9909
+ }>;
9910
+ };
9911
+ path?: never;
9912
+ query?: never;
9913
+ url: '/contacts/bulk';
9914
+ };
9915
+ type BulkImportContactsErrors = {
9916
+ /**
9917
+ * Missing or invalid API key
9918
+ */
9919
+ 401: ErrorResponse;
9920
+ /**
9921
+ * Validation error
9922
+ */
9923
+ 422: ErrorResponse;
9924
+ };
9925
+ type BulkImportContactsError = BulkImportContactsErrors[keyof BulkImportContactsErrors];
9926
+ type BulkImportContactsResponses = {
9927
+ /**
9928
+ * Import results
9929
+ */
9930
+ 201: {
9931
+ success?: true;
9932
+ data?: {
9933
+ created?: number;
9934
+ updated?: number;
9935
+ failed?: number;
9936
+ results?: Array<{
9937
+ row?: number;
9938
+ id?: number;
9939
+ created?: boolean;
9940
+ matched_by?: string;
9941
+ error?: string;
9942
+ }>;
9943
+ };
9944
+ meta?: RequestMeta;
9945
+ };
9946
+ };
9947
+ type BulkImportContactsResponse = BulkImportContactsResponses[keyof BulkImportContactsResponses];
9948
+ type PinterestBoardsData = {
9949
+ body?: never;
9950
+ path: {
9951
+ /**
9952
+ * Connected account id.
9953
+ */
9954
+ account_id: number;
9955
+ };
9956
+ query?: never;
9957
+ url: '/social/accounts/{account_id}/pinterest/boards';
9958
+ };
9959
+ type PinterestBoardsErrors = {
9960
+ /**
9961
+ * Missing or invalid API key
9962
+ */
9963
+ 401: ErrorResponse;
9964
+ /**
9965
+ * Resource not found
9966
+ */
9967
+ 404: ErrorResponse;
9968
+ /**
9969
+ * Validation error
9970
+ */
9971
+ 422: ErrorResponse;
9972
+ /**
9973
+ * Platform rejected the request
9974
+ */
9975
+ 502: {
9976
+ success?: false;
9977
+ error?: {
9978
+ code?: 'PLATFORM_ERROR';
9979
+ message?: string;
9980
+ };
9981
+ meta?: RequestMeta;
9982
+ };
9983
+ };
9984
+ type PinterestBoardsError = PinterestBoardsErrors[keyof PinterestBoardsErrors];
9985
+ type PinterestBoardsResponses = {
9986
+ /**
9987
+ * Pinterest boards
9988
+ */
9989
+ 200: {
9990
+ success?: true;
9991
+ data?: {
9992
+ boards?: Array<{
9993
+ [key: string]: unknown;
9994
+ }>;
9995
+ sandbox?: boolean;
9996
+ };
9997
+ meta?: RequestMeta;
9998
+ };
9999
+ };
10000
+ type PinterestBoardsResponse = PinterestBoardsResponses[keyof PinterestBoardsResponses];
10001
+ type YoutubePlaylistsData = {
10002
+ body?: never;
10003
+ path: {
10004
+ /**
10005
+ * Connected account id.
10006
+ */
10007
+ account_id: number;
10008
+ };
10009
+ query?: never;
10010
+ url: '/social/accounts/{account_id}/youtube/playlists';
10011
+ };
10012
+ type YoutubePlaylistsErrors = {
10013
+ /**
10014
+ * Missing or invalid API key
10015
+ */
10016
+ 401: ErrorResponse;
10017
+ /**
10018
+ * Resource not found
10019
+ */
10020
+ 404: ErrorResponse;
10021
+ /**
10022
+ * Validation error
10023
+ */
10024
+ 422: ErrorResponse;
10025
+ /**
10026
+ * Platform rejected the request
10027
+ */
10028
+ 502: {
10029
+ success?: false;
10030
+ error?: {
10031
+ code?: 'PLATFORM_ERROR';
10032
+ message?: string;
10033
+ };
10034
+ meta?: RequestMeta;
10035
+ };
10036
+ };
10037
+ type YoutubePlaylistsError = YoutubePlaylistsErrors[keyof YoutubePlaylistsErrors];
10038
+ type YoutubePlaylistsResponses = {
10039
+ /**
10040
+ * YouTube playlists
10041
+ */
10042
+ 200: {
10043
+ success?: true;
10044
+ data?: {
10045
+ playlists?: Array<{
10046
+ id?: string;
10047
+ title?: string;
10048
+ description?: string;
10049
+ privacy?: string;
10050
+ item_count?: number;
10051
+ }>;
10052
+ };
10053
+ meta?: RequestMeta;
10054
+ };
10055
+ };
10056
+ type YoutubePlaylistsResponse = YoutubePlaylistsResponses[keyof YoutubePlaylistsResponses];
10057
+ type InstagramPublishingLimitData = {
10058
+ body?: never;
10059
+ path: {
10060
+ /**
10061
+ * Connected account id.
10062
+ */
10063
+ account_id: number;
10064
+ };
10065
+ query?: never;
10066
+ url: '/social/accounts/{account_id}/instagram/publishing-limit';
10067
+ };
10068
+ type InstagramPublishingLimitErrors = {
10069
+ /**
10070
+ * Missing or invalid API key
10071
+ */
10072
+ 401: ErrorResponse;
10073
+ /**
10074
+ * Resource not found
10075
+ */
10076
+ 404: ErrorResponse;
10077
+ /**
10078
+ * Validation error
10079
+ */
10080
+ 422: ErrorResponse;
10081
+ /**
10082
+ * Platform rejected the request
10083
+ */
10084
+ 502: {
10085
+ success?: false;
10086
+ error?: {
10087
+ code?: 'PLATFORM_ERROR';
10088
+ message?: string;
10089
+ };
10090
+ meta?: RequestMeta;
10091
+ };
10092
+ };
10093
+ type InstagramPublishingLimitError = InstagramPublishingLimitErrors[keyof InstagramPublishingLimitErrors];
10094
+ type InstagramPublishingLimitResponses = {
10095
+ /**
10096
+ * Instagram publishing limit
10097
+ */
10098
+ 200: {
10099
+ success?: true;
10100
+ data?: {
10101
+ account_id?: number;
10102
+ quota_total?: number;
10103
+ quota_remaining?: number;
10104
+ can_publish?: boolean;
10105
+ };
10106
+ meta?: RequestMeta;
10107
+ };
10108
+ };
10109
+ type InstagramPublishingLimitResponse = InstagramPublishingLimitResponses[keyof InstagramPublishingLimitResponses];
10110
+ type GmbPerformanceData = {
10111
+ body?: never;
10112
+ path: {
10113
+ /**
10114
+ * Connected account id.
10115
+ */
10116
+ account_id: number;
10117
+ };
10118
+ query?: {
10119
+ days?: number;
10120
+ };
10121
+ url: '/social/accounts/{account_id}/gmb/performance';
10122
+ };
10123
+ type GmbPerformanceErrors = {
10124
+ /**
10125
+ * Missing or invalid API key
10126
+ */
10127
+ 401: ErrorResponse;
10128
+ /**
10129
+ * Resource not found
10130
+ */
10131
+ 404: ErrorResponse;
10132
+ /**
10133
+ * Validation error
10134
+ */
10135
+ 422: ErrorResponse;
10136
+ /**
10137
+ * Platform rejected the request
10138
+ */
10139
+ 502: {
10140
+ success?: false;
10141
+ error?: {
10142
+ code?: 'PLATFORM_ERROR';
10143
+ message?: string;
10144
+ };
10145
+ meta?: RequestMeta;
10146
+ };
10147
+ };
10148
+ type GmbPerformanceError = GmbPerformanceErrors[keyof GmbPerformanceErrors];
10149
+ type GmbPerformanceResponses = {
10150
+ /**
10151
+ * Google Business performance
10152
+ */
10153
+ 200: {
10154
+ success?: true;
10155
+ /**
10156
+ * account_id, days + the performance report (impressions, sources, daily series, deltas).
10157
+ */
10158
+ data?: {
10159
+ [key: string]: unknown;
10160
+ };
10161
+ meta?: RequestMeta;
10162
+ };
10163
+ };
10164
+ type GmbPerformanceResponse = GmbPerformanceResponses[keyof GmbPerformanceResponses];
10165
+ type GmbSearchKeywordsData = {
10166
+ body?: never;
10167
+ path: {
10168
+ /**
10169
+ * Connected account id.
10170
+ */
10171
+ account_id: number;
10172
+ };
10173
+ query?: {
10174
+ limit?: number;
10175
+ };
10176
+ url: '/social/accounts/{account_id}/gmb/search-keywords';
10177
+ };
10178
+ type GmbSearchKeywordsErrors = {
10179
+ /**
10180
+ * Missing or invalid API key
10181
+ */
10182
+ 401: ErrorResponse;
10183
+ /**
10184
+ * Resource not found
10185
+ */
10186
+ 404: ErrorResponse;
10187
+ /**
10188
+ * Validation error
10189
+ */
10190
+ 422: ErrorResponse;
10191
+ /**
10192
+ * Platform rejected the request
10193
+ */
10194
+ 502: {
10195
+ success?: false;
10196
+ error?: {
10197
+ code?: 'PLATFORM_ERROR';
10198
+ message?: string;
10199
+ };
10200
+ meta?: RequestMeta;
10201
+ };
10202
+ };
10203
+ type GmbSearchKeywordsError = GmbSearchKeywordsErrors[keyof GmbSearchKeywordsErrors];
10204
+ type GmbSearchKeywordsResponses = {
10205
+ /**
10206
+ * Google Business search keywords
10207
+ */
10208
+ 200: {
10209
+ success?: true;
10210
+ data?: {
10211
+ account_id?: number;
10212
+ keywords?: Array<{
10213
+ [key: string]: unknown;
10214
+ }>;
10215
+ };
10216
+ meta?: RequestMeta;
10217
+ };
10218
+ };
10219
+ type GmbSearchKeywordsResponse = GmbSearchKeywordsResponses[keyof GmbSearchKeywordsResponses];
10220
+ type RedditSearchData = {
10221
+ body?: never;
10222
+ path: {
10223
+ /**
10224
+ * Connected account id.
10225
+ */
10226
+ account_id: number;
10227
+ };
10228
+ query: {
10229
+ q: string;
10230
+ subreddit?: string;
10231
+ sort?: 'relevance' | 'hot' | 'top' | 'new' | 'comments';
10232
+ limit?: number;
10233
+ };
10234
+ url: '/social/accounts/{account_id}/reddit/search';
10235
+ };
10236
+ type RedditSearchErrors = {
10237
+ /**
10238
+ * Missing or invalid API key
10239
+ */
10240
+ 401: ErrorResponse;
10241
+ /**
10242
+ * Resource not found
10243
+ */
10244
+ 404: ErrorResponse;
10245
+ /**
10246
+ * Validation error
10247
+ */
10248
+ 422: ErrorResponse;
10249
+ /**
10250
+ * Platform rejected the request
10251
+ */
10252
+ 502: {
10253
+ success?: false;
10254
+ error?: {
10255
+ code?: 'PLATFORM_ERROR';
10256
+ message?: string;
10257
+ };
10258
+ meta?: RequestMeta;
10259
+ };
10260
+ };
10261
+ type RedditSearchError = RedditSearchErrors[keyof RedditSearchErrors];
10262
+ type RedditSearchResponses = {
10263
+ /**
10264
+ * Reddit search
10265
+ */
10266
+ 200: {
10267
+ success?: true;
10268
+ data?: {
10269
+ results?: Array<{
10270
+ id?: string;
10271
+ title?: string;
10272
+ subreddit?: string;
10273
+ author?: string;
10274
+ score?: number;
10275
+ num_comments?: number;
10276
+ created_utc?: number;
10277
+ over_18?: boolean;
10278
+ url?: string;
10279
+ }>;
10280
+ };
10281
+ meta?: RequestMeta;
10282
+ };
10283
+ };
10284
+ type RedditSearchResponse = RedditSearchResponses[keyof RedditSearchResponses];
10285
+ type RedditFeedData = {
10286
+ body?: never;
10287
+ path: {
10288
+ /**
10289
+ * Connected account id.
10290
+ */
10291
+ account_id: number;
10292
+ };
10293
+ query?: {
10294
+ subreddit?: string;
10295
+ sort?: 'hot' | 'new' | 'top' | 'rising';
10296
+ limit?: number;
10297
+ };
10298
+ url: '/social/accounts/{account_id}/reddit/feed';
10299
+ };
10300
+ type RedditFeedErrors = {
10301
+ /**
10302
+ * Missing or invalid API key
10303
+ */
10304
+ 401: ErrorResponse;
10305
+ /**
10306
+ * Resource not found
10307
+ */
10308
+ 404: ErrorResponse;
10309
+ /**
10310
+ * Validation error
10311
+ */
10312
+ 422: ErrorResponse;
10313
+ /**
10314
+ * Platform rejected the request
10315
+ */
10316
+ 502: {
10317
+ success?: false;
10318
+ error?: {
10319
+ code?: 'PLATFORM_ERROR';
10320
+ message?: string;
10321
+ };
10322
+ meta?: RequestMeta;
10323
+ };
10324
+ };
10325
+ type RedditFeedError = RedditFeedErrors[keyof RedditFeedErrors];
10326
+ type RedditFeedResponses = {
10327
+ /**
10328
+ * Reddit feed
10329
+ */
10330
+ 200: {
10331
+ success?: true;
10332
+ data?: {
10333
+ posts?: Array<{
10334
+ id?: string;
10335
+ title?: string;
10336
+ subreddit?: string;
10337
+ author?: string;
10338
+ score?: number;
10339
+ num_comments?: number;
10340
+ created_utc?: number;
10341
+ over_18?: boolean;
10342
+ url?: string;
10343
+ }>;
10344
+ };
10345
+ meta?: RequestMeta;
10346
+ };
10347
+ };
10348
+ type RedditFeedResponse = RedditFeedResponses[keyof RedditFeedResponses];
10349
+ type RedditSubredditsData = {
10350
+ body?: never;
10351
+ path: {
10352
+ /**
10353
+ * Connected account id.
10354
+ */
10355
+ account_id: number;
10356
+ };
10357
+ query?: never;
10358
+ url: '/social/accounts/{account_id}/reddit/subreddits';
10359
+ };
10360
+ type RedditSubredditsErrors = {
10361
+ /**
10362
+ * Missing or invalid API key
10363
+ */
10364
+ 401: ErrorResponse;
10365
+ /**
10366
+ * Resource not found
10367
+ */
10368
+ 404: ErrorResponse;
10369
+ /**
10370
+ * Validation error
10371
+ */
10372
+ 422: ErrorResponse;
10373
+ /**
10374
+ * Platform rejected the request
10375
+ */
10376
+ 502: {
10377
+ success?: false;
10378
+ error?: {
10379
+ code?: 'PLATFORM_ERROR';
10380
+ message?: string;
10381
+ };
10382
+ meta?: RequestMeta;
10383
+ };
10384
+ };
10385
+ type RedditSubredditsError = RedditSubredditsErrors[keyof RedditSubredditsErrors];
10386
+ type RedditSubredditsResponses = {
10387
+ /**
10388
+ * Subscribed subreddits
10389
+ */
10390
+ 200: {
10391
+ success?: true;
10392
+ data?: {
10393
+ subreddits?: Array<{
10394
+ name?: string;
10395
+ title?: string;
10396
+ subscribers?: number;
10397
+ over_18?: boolean;
10398
+ url?: string;
10399
+ }>;
10400
+ };
10401
+ meta?: RequestMeta;
10402
+ };
10403
+ };
10404
+ type RedditSubredditsResponse = RedditSubredditsResponses[keyof RedditSubredditsResponses];
10405
+ type RedditSubredditRulesData = {
10406
+ body?: never;
10407
+ path: {
10408
+ /**
10409
+ * Connected account id.
10410
+ */
10411
+ account_id: number;
10412
+ subreddit: string;
10413
+ };
10414
+ query?: never;
10415
+ url: '/social/accounts/{account_id}/reddit/subreddits/{subreddit}/rules';
10416
+ };
10417
+ type RedditSubredditRulesErrors = {
10418
+ /**
10419
+ * Missing or invalid API key
10420
+ */
10421
+ 401: ErrorResponse;
10422
+ /**
10423
+ * Resource not found
10424
+ */
10425
+ 404: ErrorResponse;
10426
+ /**
10427
+ * Validation error
10428
+ */
10429
+ 422: ErrorResponse;
10430
+ /**
10431
+ * Platform rejected the request
10432
+ */
10433
+ 502: {
10434
+ success?: false;
10435
+ error?: {
10436
+ code?: 'PLATFORM_ERROR';
10437
+ message?: string;
10438
+ };
10439
+ meta?: RequestMeta;
10440
+ };
10441
+ };
10442
+ type RedditSubredditRulesError = RedditSubredditRulesErrors[keyof RedditSubredditRulesErrors];
10443
+ type RedditSubredditRulesResponses = {
10444
+ /**
10445
+ * Rules
10446
+ */
10447
+ 200: {
10448
+ success?: true;
10449
+ data?: {
10450
+ subreddit?: string;
10451
+ rules?: Array<{
10452
+ short_name?: string;
10453
+ description?: string;
10454
+ kind?: string;
10455
+ }>;
10456
+ };
10457
+ meta?: RequestMeta;
10458
+ };
10459
+ };
10460
+ type RedditSubredditRulesResponse = RedditSubredditRulesResponses[keyof RedditSubredditRulesResponses];
10461
+ type InstagramStoriesData = {
10462
+ body?: never;
10463
+ path: {
10464
+ /**
10465
+ * Connected account id.
10466
+ */
10467
+ account_id: number;
10468
+ };
10469
+ query?: never;
10470
+ url: '/social/accounts/{account_id}/instagram/stories';
10471
+ };
10472
+ type InstagramStoriesErrors = {
10473
+ /**
10474
+ * Missing or invalid API key
10475
+ */
10476
+ 401: ErrorResponse;
10477
+ /**
10478
+ * Resource not found
10479
+ */
10480
+ 404: ErrorResponse;
10481
+ /**
10482
+ * Validation error
10483
+ */
10484
+ 422: ErrorResponse;
10485
+ /**
10486
+ * Platform rejected the request
10487
+ */
10488
+ 502: {
10489
+ success?: false;
10490
+ error?: {
10491
+ code?: 'PLATFORM_ERROR';
10492
+ message?: string;
10493
+ };
10494
+ meta?: RequestMeta;
10495
+ };
10496
+ };
10497
+ type InstagramStoriesError = InstagramStoriesErrors[keyof InstagramStoriesErrors];
10498
+ type InstagramStoriesResponses = {
10499
+ /**
10500
+ * Instagram stories
10501
+ */
10502
+ 200: {
10503
+ success?: true;
10504
+ data?: {
10505
+ stories?: Array<{
10506
+ [key: string]: unknown;
10507
+ }>;
10508
+ };
10509
+ meta?: RequestMeta;
10510
+ };
10511
+ };
10512
+ type InstagramStoriesResponse = InstagramStoriesResponses[keyof InstagramStoriesResponses];
10513
+ type FacebookPostReactionsData = {
10514
+ body?: never;
10515
+ path: {
10516
+ /**
10517
+ * Connected account id.
10518
+ */
10519
+ account_id: number;
10520
+ };
10521
+ query?: {
10522
+ /**
10523
+ * SmartlyQ post id.
10524
+ */
10525
+ post_id?: number;
10526
+ /**
10527
+ * Raw Facebook post id.
10528
+ */
10529
+ remote_post_id?: string;
10530
+ };
10531
+ url: '/social/accounts/{account_id}/facebook/post-reactions';
10532
+ };
10533
+ type FacebookPostReactionsErrors = {
10534
+ /**
10535
+ * Missing or invalid API key
10536
+ */
10537
+ 401: ErrorResponse;
10538
+ /**
10539
+ * Resource not found
10540
+ */
10541
+ 404: ErrorResponse;
10542
+ /**
10543
+ * Validation error
10544
+ */
10545
+ 422: ErrorResponse;
10546
+ /**
10547
+ * Platform rejected the request
10548
+ */
10549
+ 502: {
10550
+ success?: false;
10551
+ error?: {
10552
+ code?: 'PLATFORM_ERROR';
10553
+ message?: string;
10554
+ };
10555
+ meta?: RequestMeta;
10556
+ };
10557
+ };
10558
+ type FacebookPostReactionsError = FacebookPostReactionsErrors[keyof FacebookPostReactionsErrors];
10559
+ type FacebookPostReactionsResponses = {
10560
+ /**
10561
+ * Facebook post reactions
10562
+ */
10563
+ 200: {
10564
+ success?: true;
10565
+ data?: {
10566
+ remote_post_id?: string;
10567
+ total?: number;
10568
+ reactions?: {
10569
+ like?: number;
10570
+ love?: number;
10571
+ wow?: number;
10572
+ haha?: number;
10573
+ sad?: number;
10574
+ angry?: number;
10575
+ care?: number;
10576
+ };
10577
+ };
10578
+ meta?: RequestMeta;
10579
+ };
10580
+ };
10581
+ type FacebookPostReactionsResponse = FacebookPostReactionsResponses[keyof FacebookPostReactionsResponses];
10582
+ type InstagramStoryInsightsData = {
10583
+ body?: never;
10584
+ path: {
10585
+ account_id: number;
10586
+ story_id: string;
10587
+ };
10588
+ query?: {
10589
+ metrics?: string;
10590
+ };
10591
+ url: '/social/accounts/{account_id}/instagram/stories/{story_id}/insights';
10592
+ };
10593
+ type InstagramStoryInsightsErrors = {
10594
+ /**
10595
+ * Missing or invalid API key
10596
+ */
10597
+ 401: ErrorResponse;
10598
+ /**
10599
+ * Resource not found
10600
+ */
10601
+ 404: ErrorResponse;
10602
+ /**
10603
+ * Validation error
10604
+ */
10605
+ 422: ErrorResponse;
10606
+ /**
10607
+ * Platform rejected the request
10608
+ */
10609
+ 502: {
10610
+ success?: false;
10611
+ error?: {
10612
+ code?: 'PLATFORM_ERROR';
10613
+ message?: string;
10614
+ };
10615
+ meta?: RequestMeta;
10616
+ };
10617
+ };
10618
+ type InstagramStoryInsightsError = InstagramStoryInsightsErrors[keyof InstagramStoryInsightsErrors];
10619
+ type InstagramStoryInsightsResponses = {
10620
+ /**
10621
+ * Story insights
10622
+ */
10623
+ 200: {
10624
+ success?: true;
10625
+ data?: {
10626
+ story_id?: string;
10627
+ insights?: {
10628
+ [key: string]: unknown;
10629
+ };
10630
+ };
10631
+ meta?: RequestMeta;
10632
+ };
10633
+ };
10634
+ type InstagramStoryInsightsResponse = InstagramStoryInsightsResponses[keyof InstagramStoryInsightsResponses];
10635
+ type XRetweetData = {
10636
+ body: {
10637
+ tweet_id: string;
10638
+ };
10639
+ path: {
10640
+ account_id: number;
10641
+ };
10642
+ query?: never;
10643
+ url: '/social/accounts/{account_id}/x/retweets';
10644
+ };
10645
+ type XRetweetErrors = {
10646
+ /**
10647
+ * Missing or invalid API key
10648
+ */
10649
+ 401: ErrorResponse;
10650
+ /**
10651
+ * Resource not found
10652
+ */
10653
+ 404: ErrorResponse;
10654
+ /**
10655
+ * Validation error
10656
+ */
10657
+ 422: ErrorResponse;
10658
+ /**
10659
+ * Platform rejected the request
10660
+ */
10661
+ 502: {
10662
+ success?: false;
10663
+ error?: {
10664
+ code?: 'PLATFORM_ERROR';
10665
+ message?: string;
10666
+ };
10667
+ meta?: RequestMeta;
10668
+ };
10669
+ };
10670
+ type XRetweetError = XRetweetErrors[keyof XRetweetErrors];
10671
+ type XRetweetResponses = {
10672
+ /**
10673
+ * Retweeted
10674
+ */
10675
+ 200: {
10676
+ success?: true;
10677
+ data?: {
10678
+ tweet_id?: string;
10679
+ retweeted?: boolean;
10680
+ };
10681
+ meta?: RequestMeta;
10682
+ };
10683
+ };
10684
+ type XRetweetResponse = XRetweetResponses[keyof XRetweetResponses];
10685
+ type XUnretweetData = {
10686
+ body?: never;
10687
+ path: {
10688
+ account_id: number;
10689
+ tweet_id: string;
10690
+ };
10691
+ query?: never;
10692
+ url: '/social/accounts/{account_id}/x/retweets/{tweet_id}';
10693
+ };
10694
+ type XUnretweetErrors = {
10695
+ /**
10696
+ * Missing or invalid API key
10697
+ */
10698
+ 401: ErrorResponse;
10699
+ /**
10700
+ * Resource not found
10701
+ */
10702
+ 404: ErrorResponse;
10703
+ /**
10704
+ * Validation error
10705
+ */
10706
+ 422: ErrorResponse;
10707
+ /**
10708
+ * Platform rejected the request
10709
+ */
10710
+ 502: {
10711
+ success?: false;
10712
+ error?: {
10713
+ code?: 'PLATFORM_ERROR';
10714
+ message?: string;
10715
+ };
10716
+ meta?: RequestMeta;
10717
+ };
10718
+ };
10719
+ type XUnretweetError = XUnretweetErrors[keyof XUnretweetErrors];
10720
+ type XUnretweetResponses = {
10721
+ /**
10722
+ * Retweet removed
10723
+ */
10724
+ 200: {
10725
+ success?: true;
10726
+ data?: {
10727
+ tweet_id?: string;
10728
+ retweeted?: boolean;
10729
+ };
10730
+ meta?: RequestMeta;
10731
+ };
10732
+ };
10733
+ type XUnretweetResponse = XUnretweetResponses[keyof XUnretweetResponses];
10734
+
10735
+ /** Account endpoints. */
10736
+ declare class AccountResource {
10737
+ private readonly _client;
10738
+ constructor(_client: CoreClient);
10739
+ /** Get current user profile `GET /me` */
10740
+ getMe(options?: RequestOptions): Promise<GetMeResponses[keyof GetMeResponses]>;
10741
+ /** Get usage summary `GET /me/usage` */
10742
+ getMeUsage(query?: GetMeUsageData['query'], options?: RequestOptions): Promise<GetMeUsageResponses[keyof GetMeUsageResponses]>;
10743
+ /** Get wallet balance `GET /me/balance` */
10744
+ getMeBalance(options?: RequestOptions): Promise<GetMeBalanceResponses[keyof GetMeBalanceResponses]>;
10745
+ }
10746
+ /** AI Captain endpoints. */
10747
+ declare class CaptainResource {
10748
+ private readonly _client;
10749
+ constructor(_client: CoreClient);
10750
+ /** Send AI Captain message `POST /captain/messages` */
10751
+ sendMessage(body: SendCaptainMessageData['body'], options?: RequestOptions): Promise<SendCaptainMessageResponses[keyof SendCaptainMessageResponses]>;
10752
+ /** List AI Captain conversations `GET /captain/conversations` */
10753
+ listConversations(query?: ListCaptainConversationsData['query'], options?: RequestOptions): Promise<ListCaptainConversationsResponses[keyof ListCaptainConversationsResponses]>;
10754
+ /** Get AI Captain conversation `GET /captain/conversations/{conversation_id}` */
10755
+ getConversation(conversationId: string, options?: RequestOptions): Promise<GetCaptainConversationResponses[keyof GetCaptainConversationResponses]>;
10756
+ }
10757
+ /** Analytics endpoints. */
10758
+ declare class AnalyticsResource {
10759
+ private readonly _client;
10760
+ constructor(_client: CoreClient);
10761
+ /** Get analytics overview `GET /analytics/overview` */
10762
+ getOverview(query?: GetAnalyticsOverviewData['query'], options?: RequestOptions): Promise<GetAnalyticsOverviewResponses[keyof GetAnalyticsOverviewResponses]>;
10763
+ /** Get post analytics `GET /analytics/posts` */
10764
+ getPosts(query?: GetAnalyticsPostsData['query'], options?: RequestOptions): Promise<GetAnalyticsPostsResponses[keyof GetAnalyticsPostsResponses]>;
10765
+ /** Get account analytics `GET /analytics/accounts/{account_id}` */
10766
+ getAccount(accountId: string, query?: GetAnalyticsAccountData['query'], options?: RequestOptions): Promise<GetAnalyticsAccountResponses[keyof GetAnalyticsAccountResponses]>;
10767
+ /** Daily metrics `GET /analytics/daily-metrics` */
10768
+ dailyMetrics(query?: AnalyticsDailyMetricsData['query'], options?: RequestOptions): Promise<AnalyticsDailyMetricsResponses[keyof AnalyticsDailyMetricsResponses]>;
10769
+ /** Best time to post `GET /analytics/best-time` */
8385
10770
  bestTime(query?: AnalyticsBestTimeData['query'], options?: RequestOptions): Promise<AnalyticsBestTimeResponses[keyof AnalyticsBestTimeResponses]>;
8386
10771
  /** Content decay `GET /analytics/content-decay` */
8387
10772
  contentDecay(query?: AnalyticsContentDecayData['query'], options?: RequestOptions): Promise<AnalyticsContentDecayResponses[keyof AnalyticsContentDecayResponses]>;
@@ -8389,6 +10774,20 @@ declare class AnalyticsResource {
8389
10774
  postingFrequency(query?: AnalyticsPostingFrequencyData['query'], options?: RequestOptions): Promise<AnalyticsPostingFrequencyResponses[keyof AnalyticsPostingFrequencyResponses]>;
8390
10775
  /** Post metric timeline `GET /analytics/posts/{post_id}/timeline` */
8391
10776
  postTimeline(postId: string, options?: RequestOptions): Promise<AnalyticsPostTimelineResponses[keyof AnalyticsPostTimelineResponses]>;
10777
+ /** Inbox volume `GET /analytics/inbox/volume` */
10778
+ inboxVolume(query?: InboxVolumeData['query'], options?: RequestOptions): Promise<InboxVolumeResponses[keyof InboxVolumeResponses]>;
10779
+ /** Inbox heatmap `GET /analytics/inbox/heatmap` */
10780
+ inboxHeatmap(query?: InboxHeatmapData['query'], options?: RequestOptions): Promise<InboxHeatmapResponses[keyof InboxHeatmapResponses]>;
10781
+ /** Inbox source breakdown `GET /analytics/inbox/source-breakdown` */
10782
+ inboxSourceBreakdown(query?: InboxSourceBreakdownData['query'], options?: RequestOptions): Promise<InboxSourceBreakdownResponses[keyof InboxSourceBreakdownResponses]>;
10783
+ /** Inbox response time `GET /analytics/inbox/response-time` */
10784
+ inboxResponseTime(query?: InboxResponseTimeData['query'], options?: RequestOptions): Promise<InboxResponseTimeResponses[keyof InboxResponseTimeResponses]>;
10785
+ /** Inbox top accounts `GET /analytics/inbox/top-accounts` */
10786
+ inboxTopAccounts(query?: InboxTopAccountsData['query'], options?: RequestOptions): Promise<InboxTopAccountsResponses[keyof InboxTopAccountsResponses]>;
10787
+ /** Inbox conversation stats `GET /analytics/inbox/conversations` */
10788
+ inboxConversations(query?: InboxConversationsData['query'], options?: RequestOptions): Promise<InboxConversationsResponses[keyof InboxConversationsResponses]>;
10789
+ /** Conversation analytics `GET /analytics/inbox/conversations/{conversation_id}` */
10790
+ inboxConversationDetail(conversationId: string, options?: RequestOptions): Promise<InboxConversationDetailResponses[keyof InboxConversationDetailResponses]>;
8392
10791
  }
8393
10792
  /** Articles endpoints. */
8394
10793
  declare class ArticlesResource {
@@ -8414,6 +10813,25 @@ declare class AudioResource {
8414
10813
  /** Get audio `GET /audio/{audio_id}` */
8415
10814
  get(audioId: string, options?: RequestOptions): Promise<GetAudioResponses[keyof GetAudioResponses]>;
8416
10815
  }
10816
+ /** Automations endpoints. */
10817
+ declare class AutomationsResource {
10818
+ private readonly _client;
10819
+ constructor(_client: CoreClient);
10820
+ /** List automations `GET /automations` */
10821
+ list(query?: ListAutomationsData['query'], options?: RequestOptions): Promise<ListAutomationsResponses[keyof ListAutomationsResponses]>;
10822
+ /** Get automation `GET /automations/{automation_id}` */
10823
+ get(automationId: string, options?: RequestOptions): Promise<GetAutomationResponses[keyof GetAutomationResponses]>;
10824
+ /** Activate automation `POST /automations/{automation_id}/activate` */
10825
+ activate(automationId: string, options?: RequestOptions): Promise<ActivateAutomationResponses[keyof ActivateAutomationResponses]>;
10826
+ /** Pause automation `POST /automations/{automation_id}/deactivate` */
10827
+ deactivate(automationId: string, options?: RequestOptions): Promise<DeactivateAutomationResponses[keyof DeactivateAutomationResponses]>;
10828
+ /** Trigger automation `POST /automations/{automation_id}/trigger` */
10829
+ trigger(automationId: string, body?: TriggerAutomationData['body'], options?: RequestOptions): Promise<TriggerAutomationResponses[keyof TriggerAutomationResponses]>;
10830
+ /** List runs `GET /automations/{automation_id}/runs` */
10831
+ listRuns(automationId: string, query?: ListAutomationRunsData['query'], options?: RequestOptions): Promise<ListAutomationRunsResponses[keyof ListAutomationRunsResponses]>;
10832
+ /** Get run `GET /automations/{automation_id}/runs/{run_id}` */
10833
+ getRun(automationId: string, runId: string, options?: RequestOptions): Promise<GetAutomationRunResponses[keyof GetAutomationRunResponses]>;
10834
+ }
8417
10835
  /** Chatbot endpoints. */
8418
10836
  declare class ChatbotsResource {
8419
10837
  private readonly _client;
@@ -8461,6 +10879,15 @@ declare class ContentResource {
8461
10879
  /** Generate a social caption `POST /content/caption` */
8462
10880
  generateCaption(body?: GenerateCaptionData['body'], options?: RequestOptions): Promise<GenerateCaptionResponses[keyof GenerateCaptionResponses]>;
8463
10881
  }
10882
+ /** CRM endpoints. */
10883
+ declare class CrmResource {
10884
+ private readonly _client;
10885
+ constructor(_client: CoreClient);
10886
+ /** Delete contact `DELETE /contacts/{id}` */
10887
+ deleteContact(id: string, options?: RequestOptions): Promise<DeleteContactResponses[keyof DeleteContactResponses]>;
10888
+ /** Bulk import contacts `POST /contacts/bulk` */
10889
+ bulkImportContacts(body: BulkImportContactsData['body'], options?: RequestOptions): Promise<BulkImportContactsResponses[keyof BulkImportContactsResponses]>;
10890
+ }
8464
10891
  /** CRM Contacts endpoints. */
8465
10892
  declare class ContactsResource {
8466
10893
  private readonly _client;
@@ -8606,6 +11033,19 @@ declare class ProfilesResource {
8606
11033
  /** Account billing summary `GET /me/account-billing` */
8607
11034
  getAccountBilling(options?: RequestOptions): Promise<GetAccountBillingResponses[keyof GetAccountBillingResponses]>;
8608
11035
  }
11036
+ /** Reviews endpoints. */
11037
+ declare class ReviewsResource {
11038
+ private readonly _client;
11039
+ constructor(_client: CoreClient);
11040
+ /** List reviews `GET /reviews` */
11041
+ list(query?: ListReviewsData['query'], options?: RequestOptions): Promise<ListReviewsResponses[keyof ListReviewsResponses]>;
11042
+ /** Reply to review `POST /reviews/{review_id}/reply` */
11043
+ replyTo(reviewId: string, body: ReplyToReviewData['body'], options?: RequestOptions): Promise<ReplyToReviewResponses[keyof ReplyToReviewResponses]>;
11044
+ /** Delete review reply `DELETE /reviews/{review_id}/reply` */
11045
+ deleteReply(reviewId: string, options?: RequestOptions): Promise<DeleteReviewReplyResponses[keyof DeleteReviewReplyResponses]>;
11046
+ /** Sync reviews `POST /reviews/sync` */
11047
+ sync(body?: SyncReviewsData['body'], options?: RequestOptions): Promise<SyncReviewsResponses[keyof SyncReviewsResponses]>;
11048
+ }
8609
11049
  /** SEO endpoints. */
8610
11050
  declare class SeoResource {
8611
11051
  private readonly _client;
@@ -8676,6 +11116,8 @@ declare class SocialResource {
8676
11116
  deletePost(postId: string, options?: RequestOptions): Promise<DeleteSocialPostResponses[keyof DeleteSocialPostResponses]>;
8677
11117
  /** Rename account `PATCH /social/accounts/{account_id}` */
8678
11118
  updateAccount(accountId: string, body: UpdateSocialAccountData['body'], options?: RequestOptions): Promise<UpdateSocialAccountResponses[keyof UpdateSocialAccountResponses]>;
11119
+ /** Disconnect a social account `DELETE /social/accounts/{account_id}` */
11120
+ disconnectAccount(accountId: string, options?: RequestOptions): Promise<DisconnectSocialAccountResponses[keyof DisconnectSocialAccountResponses]>;
8679
11121
  /** Account health `GET /social/accounts/{account_id}/health` */
8680
11122
  getAccountHealth(accountId: string, options?: RequestOptions): Promise<GetAccountHealthResponses[keyof GetAccountHealthResponses]>;
8681
11123
  /** Account reconnect URL `GET /social/accounts/{account_id}/reconnect-url` */
@@ -8734,6 +11176,40 @@ declare class SocialResource {
8734
11176
  updateAccountGroup(groupId: string, body: UpdateAccountGroupData['body'], options?: RequestOptions): Promise<UpdateAccountGroupResponses[keyof UpdateAccountGroupResponses]>;
8735
11177
  /** Delete account group `DELETE /social/account-groups/{group_id}` */
8736
11178
  deleteAccountGroup(groupId: string, options?: RequestOptions): Promise<DeleteAccountGroupResponses[keyof DeleteAccountGroupResponses]>;
11179
+ /** Get conversation `GET /social/conversations/{conversation_id}` */
11180
+ getConversation(conversationId: string, options?: RequestOptions): Promise<GetConversationResponses[keyof GetConversationResponses]>;
11181
+ /** Archive / reopen conversation `PATCH /social/conversations/{conversation_id}` */
11182
+ updateConversation(conversationId: string, body: UpdateConversationData['body'], options?: RequestOptions): Promise<UpdateConversationResponses[keyof UpdateConversationResponses]>;
11183
+ /** Search conversations `GET /social/conversations/search` */
11184
+ searchConversations(query?: SearchConversationsData['query'], options?: RequestOptions): Promise<SearchConversationsResponses[keyof SearchConversationsResponses]>;
11185
+ /** Pinterest boards `GET /social/accounts/{account_id}/pinterest/boards` */
11186
+ pinterestBoards(accountId: string, options?: RequestOptions): Promise<PinterestBoardsResponses[keyof PinterestBoardsResponses]>;
11187
+ /** YouTube playlists `GET /social/accounts/{account_id}/youtube/playlists` */
11188
+ youtubePlaylists(accountId: string, options?: RequestOptions): Promise<YoutubePlaylistsResponses[keyof YoutubePlaylistsResponses]>;
11189
+ /** Instagram publishing limit `GET /social/accounts/{account_id}/instagram/publishing-limit` */
11190
+ instagramPublishingLimit(accountId: string, options?: RequestOptions): Promise<InstagramPublishingLimitResponses[keyof InstagramPublishingLimitResponses]>;
11191
+ /** Google Business performance `GET /social/accounts/{account_id}/gmb/performance` */
11192
+ gmbPerformance(accountId: string, query?: GmbPerformanceData['query'], options?: RequestOptions): Promise<GmbPerformanceResponses[keyof GmbPerformanceResponses]>;
11193
+ /** Google Business search keywords `GET /social/accounts/{account_id}/gmb/search-keywords` */
11194
+ gmbSearchKeywords(accountId: string, query?: GmbSearchKeywordsData['query'], options?: RequestOptions): Promise<GmbSearchKeywordsResponses[keyof GmbSearchKeywordsResponses]>;
11195
+ /** Reddit search `GET /social/accounts/{account_id}/reddit/search` */
11196
+ redditSearch(accountId: string, query?: RedditSearchData['query'], options?: RequestOptions): Promise<RedditSearchResponses[keyof RedditSearchResponses]>;
11197
+ /** Reddit feed `GET /social/accounts/{account_id}/reddit/feed` */
11198
+ redditFeed(accountId: string, query?: RedditFeedData['query'], options?: RequestOptions): Promise<RedditFeedResponses[keyof RedditFeedResponses]>;
11199
+ /** Subscribed subreddits `GET /social/accounts/{account_id}/reddit/subreddits` */
11200
+ redditSubreddits(accountId: string, options?: RequestOptions): Promise<RedditSubredditsResponses[keyof RedditSubredditsResponses]>;
11201
+ /** Subreddit rules `GET /social/accounts/{account_id}/reddit/subreddits/{subreddit}/rules` */
11202
+ redditSubredditRules(accountId: string, subreddit: string, options?: RequestOptions): Promise<RedditSubredditRulesResponses[keyof RedditSubredditRulesResponses]>;
11203
+ /** Instagram stories `GET /social/accounts/{account_id}/instagram/stories` */
11204
+ instagramStories(accountId: string, options?: RequestOptions): Promise<InstagramStoriesResponses[keyof InstagramStoriesResponses]>;
11205
+ /** Facebook post reactions `GET /social/accounts/{account_id}/facebook/post-reactions` */
11206
+ facebookPostReactions(accountId: string, query?: FacebookPostReactionsData['query'], options?: RequestOptions): Promise<FacebookPostReactionsResponses[keyof FacebookPostReactionsResponses]>;
11207
+ /** Instagram story insights `GET /social/accounts/{account_id}/instagram/stories/{story_id}/insights` */
11208
+ instagramStoryInsights(accountId: string, storyId: string, query?: InstagramStoryInsightsData['query'], options?: RequestOptions): Promise<InstagramStoryInsightsResponses[keyof InstagramStoryInsightsResponses]>;
11209
+ /** Retweet on X `POST /social/accounts/{account_id}/x/retweets` */
11210
+ xRetweet(accountId: string, body: XRetweetData['body'], options?: RequestOptions): Promise<XRetweetResponses[keyof XRetweetResponses]>;
11211
+ /** Undo retweet `DELETE /social/accounts/{account_id}/x/retweets/{tweet_id}` */
11212
+ xUnretweet(accountId: string, tweetId: string, options?: RequestOptions): Promise<XUnretweetResponses[keyof XUnretweetResponses]>;
8737
11213
  }
8738
11214
  /** URLs endpoints. */
8739
11215
  declare class UrlsResource {
@@ -8825,9 +11301,11 @@ declare function createResources(client: CoreClient): {
8825
11301
  analytics: AnalyticsResource;
8826
11302
  articles: ArticlesResource;
8827
11303
  audio: AudioResource;
11304
+ automations: AutomationsResource;
8828
11305
  chatbots: ChatbotsResource;
8829
11306
  comments: CommentsResource;
8830
11307
  content: ContentResource;
11308
+ crm: CrmResource;
8831
11309
  contacts: ContactsResource;
8832
11310
  customFields: CustomFieldsResource;
8833
11311
  opportunities: OpportunitiesResource;
@@ -8837,6 +11315,7 @@ declare function createResources(client: CoreClient): {
8837
11315
  media: MediaResource;
8838
11316
  presentations: PresentationsResource;
8839
11317
  profiles: ProfilesResource;
11318
+ reviews: ReviewsResource;
8840
11319
  seo: SeoResource;
8841
11320
  shorts: ShortsResource;
8842
11321
  social: SocialResource;
@@ -8859,34 +11338,12 @@ declare function createResources(client: CoreClient): {
8859
11338
  */
8860
11339
 
8861
11340
  type Resources = ReturnType<typeof createResources>;
11341
+ interface SmartlyQ extends Resources {
11342
+ }
8862
11343
  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
11344
  /** The underlying HTTP client, for advanced use (custom requests). */
8888
11345
  readonly core: CoreClient;
8889
11346
  constructor(options?: ClientOptions | string);
8890
11347
  }
8891
11348
 
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 };
11349
+ 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 AddContactMessageResponse, type AddContactMessageResponses, type AddContactNoteData, type AddContactNoteError, type AddContactNoteErrors, type AddContactNoteResponse, type AddContactNoteResponses, type AddContactTagsData, type AddContactTagsError, type AddContactTagsErrors, type AddContactTagsResponse, 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 BulkWorkspaceActionResponse, 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 CreateContactResponse, type CreateContactResponses, type CreateCustomFieldData, type CreateCustomFieldError, type CreateCustomFieldErrors, type CreateCustomFieldResponse, type CreateCustomFieldResponses, type CreateOpportunityData, type CreateOpportunityError, type CreateOpportunityErrors, type CreateOpportunityResponse, type CreateOpportunityResponses, type CreatePipelineData, type CreatePipelineError, type CreatePipelineErrors, type CreatePipelineResponse, 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 CreateWorkspaceResponse, 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 DeleteCustomFieldResponse, 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 DeleteOpportunityResponse, type DeleteOpportunityResponses, type DeletePresentationData, type DeletePresentationError, type DeletePresentationErrors, type DeletePresentationResponse, type DeletePresentationResponses, type DeleteProfileData, type DeleteProfileError, type DeleteProfileErrors, type DeleteProfileResponse, type DeleteProfileResponses, type DeleteQueueData, type DeleteQueueError, type DeleteQueueErrors, type DeleteQueueResponse, type DeleteQueueResponses, type DeleteReviewReplyData, type DeleteReviewReplyError, type DeleteReviewReplyErrors, type DeleteReviewReplyResponse, type DeleteReviewReplyResponses, 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 DeleteWorkspaceResponse, type DeleteWorkspaceResponses, type DisableWorkspaceSaasData, type DisableWorkspaceSaasErrors, type DisableWorkspaceSaasResponse, type DisableWorkspaceSaasResponses, type DisconnectSocialAccountData, type DisconnectSocialAccountError, type DisconnectSocialAccountErrors, type DisconnectSocialAccountResponse, type DisconnectSocialAccountResponses, type EnrollContactData, type EnrollContactError, type EnrollContactErrors, type EnrollContactResponse, 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 GenerateCaptionResponse, 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 GenerateShortsResponse, type GenerateShortsResponses, type GenerateVideoData, type GenerateVideoError, type GenerateVideoErrors, type GenerateVideoHookData, type GenerateVideoHookError, type GenerateVideoHookErrors, type GenerateVideoHookResponse, type GenerateVideoHookResponses, type GenerateVideoResponse, type GenerateVideoResponses, type GenerateViralThumbnailData, type GenerateViralThumbnailError, type GenerateViralThumbnailErrors, type GenerateViralThumbnailResponse, 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 GetContactResponse, 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 GetOpportunityResponse, 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 GetSaasPlanResponse, type GetSaasPlanResponses, type GetShortsData, type GetShortsError, type GetShortsErrors, type GetShortsResponse, 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 GetWorkspaceResponse, type GetWorkspaceResponses, type GetWorkspaceSubscriptionData, type GetWorkspaceSubscriptionErrors, type GetWorkspaceSubscriptionResponse, type GetWorkspaceSubscriptionResponses, type GetWorkspaceWalletData, type GetWorkspaceWalletErrors, type GetWorkspaceWalletResponse, 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 InstagramStoryInsightsData, type InstagramStoryInsightsError, type InstagramStoryInsightsErrors, type InstagramStoryInsightsResponse, type InstagramStoryInsightsResponses, 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 ListContactNotesResponse, type ListContactNotesResponses, type ListContactsData, type ListContactsError, type ListContactsErrors, type ListContactsResponse, type ListContactsResponses, type ListConversationsData, type ListConversationsError, type ListConversationsErrors, type ListConversationsResponse, type ListConversationsResponses, type ListCustomFieldsData, type ListCustomFieldsResponse, 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 ListOpportunitiesResponse, type ListOpportunitiesResponses, type ListPipelinesData, type ListPipelinesResponse, 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 ListSaasPlansResponse, type ListSaasPlansResponses, type ListShortsData, type ListShortsError, type ListShortsErrors, type ListShortsResponse, 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 ListWorkspacesResponse, 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 PauseProfileResponse, type PauseProfileResponses, type PauseSocialAccountData, type PauseSocialAccountError, type PauseSocialAccountErrors, type PauseSocialAccountResponse, type PauseSocialAccountResponses, type PauseWorkspaceData, type PauseWorkspaceErrors, type PauseWorkspaceResponse, 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 RemoveContactTagsResponse, 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 ResumeProfileResponse, type ResumeProfileResponses, type ResumeSocialAccountData, type ResumeSocialAccountError, type ResumeSocialAccountErrors, type ResumeSocialAccountResponse, type ResumeSocialAccountResponses, type ResumeWorkspaceData, type ResumeWorkspaceErrors, type ResumeWorkspaceResponse, 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 SuggestBrollResponse, type SuggestBrollResponses, type SuggestEmphasisData, type SuggestEmphasisError, type SuggestEmphasisErrors, type SuggestEmphasisResponse, 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 UpdateContactResponse, type UpdateContactResponses, type UpdateConversationData, type UpdateConversationError, type UpdateConversationErrors, type UpdateConversationResponse, type UpdateConversationResponses, type UpdateOpportunityData, type UpdateOpportunityError, type UpdateOpportunityErrors, type UpdateOpportunityResponse, type UpdateOpportunityResponses, type UpdateOpportunityStatusData, type UpdateOpportunityStatusError, type UpdateOpportunityStatusErrors, type UpdateOpportunityStatusResponse, 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 XRetweetData, type XRetweetError, type XRetweetErrors, type XRetweetResponse, type XRetweetResponses, type XUnretweetData, type XUnretweetError, type XUnretweetErrors, type XUnretweetResponse, type XUnretweetResponses, type YoutubePlaylistsData, type YoutubePlaylistsError, type YoutubePlaylistsErrors, type YoutubePlaylistsResponse, type YoutubePlaylistsResponses, createResources, SmartlyQ as default };