@smartlyqofficial/node 0.1.1 → 0.1.3

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.cts CHANGED
@@ -407,7 +407,14 @@ type SocialPostCreateRequest = {
407
407
  * URL to include with the post
408
408
  */
409
409
  link?: string;
410
+ /**
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
+ */
413
+ allow_duplicates?: boolean;
410
414
  };
415
+ /**
416
+ * Schedule request. Provide scheduled_time (with optional timezone) OR queue_id (next open slot), not both.
417
+ */
411
418
  type SocialPostScheduleRequest = {
412
419
  /**
413
420
  * Post text content
@@ -424,7 +431,7 @@ type SocialPostScheduleRequest = {
424
431
  /**
425
432
  * When to publish (ISO 8601)
426
433
  */
427
- scheduled_time: string;
434
+ scheduled_time?: string;
428
435
  /**
429
436
  * Media URLs to attach to the post
430
437
  */
@@ -433,6 +440,35 @@ type SocialPostScheduleRequest = {
433
440
  * URL to include with the post
434
441
  */
435
442
  link?: string;
443
+ /**
444
+ * Schedule into a posting queue instead of a fixed time: the queue's next open slot is resolved server-side and the post occupies it. Mutually exclusive with scheduled_time.
445
+ */
446
+ queue_id?: number;
447
+ /**
448
+ * IANA timezone scheduled_time is expressed in (default UTC). Ignored with queue_id (the queue's own timezone applies).
449
+ */
450
+ timezone?: string;
451
+ /**
452
+ * Evergreen recycling: after this post publishes, the next occurrence is automatically scheduled interval_hours later, repeating until a bound is hit. A bound is REQUIRED - set max_repeats and/or until (no unbounded chains). Stop a chain anytime with DELETE /social/posts/{post_id}/recycle.
453
+ */
454
+ recycle?: {
455
+ /**
456
+ * Hours between occurrences (1 to 8760 = 1 year).
457
+ */
458
+ interval_hours: number;
459
+ /**
460
+ * Maximum number of automatic repeats after the original post.
461
+ */
462
+ max_repeats?: number;
463
+ /**
464
+ * UTC datetime (Y-m-d H:i:s) after which no further occurrences are scheduled. Must be within 2 years.
465
+ */
466
+ until?: string;
467
+ };
468
+ /**
469
+ * 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
+ */
471
+ allow_duplicates?: boolean;
436
472
  };
437
473
  /**
438
474
  * At least one field must be provided.
@@ -1409,6 +1445,20 @@ type CreateSocialPostErrors = {
1409
1445
  * Forbidden (scope or access)
1410
1446
  */
1411
1447
  403: ErrorResponse;
1448
+ /**
1449
+ * Duplicate content within 24h
1450
+ */
1451
+ 409: {
1452
+ success?: false;
1453
+ error?: {
1454
+ code?: 'DUPLICATE_CONTENT';
1455
+ message?: string;
1456
+ details?: {
1457
+ existing_post_id?: number;
1458
+ };
1459
+ };
1460
+ meta?: RequestMeta;
1461
+ };
1412
1462
  /**
1413
1463
  * Validation error
1414
1464
  */
@@ -1459,6 +1509,20 @@ type ScheduleSocialPostErrors = {
1459
1509
  * Forbidden (scope or access)
1460
1510
  */
1461
1511
  403: ErrorResponse;
1512
+ /**
1513
+ * Duplicate content within 24h
1514
+ */
1515
+ 409: {
1516
+ success?: false;
1517
+ error?: {
1518
+ code?: 'DUPLICATE_CONTENT';
1519
+ message?: string;
1520
+ details?: {
1521
+ existing_post_id?: number;
1522
+ };
1523
+ };
1524
+ meta?: RequestMeta;
1525
+ };
1462
1526
  /**
1463
1527
  * Validation error
1464
1528
  */
@@ -4049,26 +4113,21 @@ type GetMeBalanceResponses = {
4049
4113
  200: BalanceResponse;
4050
4114
  };
4051
4115
  type GetMeBalanceResponse = GetMeBalanceResponses[keyof GetMeBalanceResponses];
4052
- type DisconnectSocialAccountData = {
4053
- body?: never;
4116
+ type UpdateSocialAccountData = {
4117
+ body: {
4118
+ account_name: string;
4119
+ };
4054
4120
  path: {
4055
- /**
4056
- * Connected account id
4057
- */
4058
4121
  account_id: number;
4059
4122
  };
4060
4123
  query?: never;
4061
4124
  url: '/social/accounts/{account_id}';
4062
4125
  };
4063
- type DisconnectSocialAccountErrors = {
4126
+ type UpdateSocialAccountErrors = {
4064
4127
  /**
4065
4128
  * Missing or invalid API key
4066
4129
  */
4067
4130
  401: ErrorResponse;
4068
- /**
4069
- * Forbidden (scope or access)
4070
- */
4071
- 403: ErrorResponse;
4072
4131
  /**
4073
4132
  * Resource not found
4074
4133
  */
@@ -4077,26 +4136,23 @@ type DisconnectSocialAccountErrors = {
4077
4136
  * Validation error
4078
4137
  */
4079
4138
  422: ErrorResponse;
4080
- /**
4081
- * Internal server error
4082
- */
4083
- 500: ErrorResponse;
4084
4139
  };
4085
- type DisconnectSocialAccountError = DisconnectSocialAccountErrors[keyof DisconnectSocialAccountErrors];
4086
- type DisconnectSocialAccountResponses = {
4140
+ type UpdateSocialAccountError = UpdateSocialAccountErrors[keyof UpdateSocialAccountErrors];
4141
+ type UpdateSocialAccountResponses = {
4087
4142
  /**
4088
- * Success
4143
+ * Renamed
4089
4144
  */
4090
4145
  200: {
4091
4146
  success?: true;
4092
- /**
4093
- * No payload on success.
4094
- */
4095
- data?: null;
4147
+ data?: {
4148
+ id?: number;
4149
+ platform?: string;
4150
+ account_name?: string;
4151
+ };
4096
4152
  meta?: RequestMeta;
4097
4153
  };
4098
4154
  };
4099
- type DisconnectSocialAccountResponse = DisconnectSocialAccountResponses[keyof DisconnectSocialAccountResponses];
4155
+ type UpdateSocialAccountResponse = UpdateSocialAccountResponses[keyof UpdateSocialAccountResponses];
4100
4156
  type GetAccountHealthData = {
4101
4157
  body?: never;
4102
4158
  path: {
@@ -4978,6 +5034,69 @@ type DeleteWebhookResponses = {
4978
5034
  };
4979
5035
  };
4980
5036
  type DeleteWebhookResponse = DeleteWebhookResponses[keyof DeleteWebhookResponses];
5037
+ type UpdateWebhookData = {
5038
+ /**
5039
+ * Provide at least one field.
5040
+ */
5041
+ body: {
5042
+ /**
5043
+ * Public HTTPS endpoint.
5044
+ */
5045
+ url?: string;
5046
+ /**
5047
+ * Full replacement list of subscribed events.
5048
+ */
5049
+ events?: Array<'post.published' | 'post.partial' | 'post.failed' | 'account.connected' | 'account.disconnected' | 'account.token_expired' | 'comment.received' | 'message.received' | 'job.completed' | 'job.failed' | 'balance.low' | 'balance.depleted' | 'key.revoked' | 'wallet.recharge.succeeded' | 'wallet.recharge.failed' | 'account_billing.charged' | 'account_billing.failed' | 'contact.created' | 'contact.updated' | 'contact.tag_added' | 'contact.tag_removed' | 'deal.created' | 'deal.stage_changed' | 'deal.won' | 'deal.lost'>;
5050
+ /**
5051
+ * Pause or resume deliveries.
5052
+ */
5053
+ status?: 'active' | 'paused';
5054
+ };
5055
+ path: {
5056
+ /**
5057
+ * Webhook id.
5058
+ */
5059
+ id: number;
5060
+ };
5061
+ query?: never;
5062
+ url: '/webhooks/{id}';
5063
+ };
5064
+ type UpdateWebhookErrors = {
5065
+ /**
5066
+ * Missing or invalid API key
5067
+ */
5068
+ 401: ErrorResponse;
5069
+ /**
5070
+ * Resource not found
5071
+ */
5072
+ 404: ErrorResponse;
5073
+ /**
5074
+ * Validation error
5075
+ */
5076
+ 422: ErrorResponse;
5077
+ };
5078
+ type UpdateWebhookError = UpdateWebhookErrors[keyof UpdateWebhookErrors];
5079
+ type UpdateWebhookResponses = {
5080
+ /**
5081
+ * Updated webhook
5082
+ */
5083
+ 200: {
5084
+ success?: true;
5085
+ data?: {
5086
+ id?: number;
5087
+ url?: string;
5088
+ events?: Array<string>;
5089
+ /**
5090
+ * active | paused | failing
5091
+ */
5092
+ status?: string;
5093
+ last_triggered_at?: string;
5094
+ created_at?: string;
5095
+ };
5096
+ meta?: RequestMeta;
5097
+ };
5098
+ };
5099
+ type UpdateWebhookResponse = UpdateWebhookResponses[keyof UpdateWebhookResponses];
4981
5100
  type ConnectSocialAccountStatusData = {
4982
5101
  body?: never;
4983
5102
  headers?: {
@@ -6820,6 +6939,1196 @@ type GetAccountBillingResponses = {
6820
6939
  };
6821
6940
  };
6822
6941
  type GetAccountBillingResponse = GetAccountBillingResponses[keyof GetAccountBillingResponses];
6942
+ type ListWebhookLogsData = {
6943
+ body?: never;
6944
+ path?: never;
6945
+ query?: {
6946
+ /**
6947
+ * Filter to one webhook.
6948
+ */
6949
+ webhook_id?: number;
6950
+ /**
6951
+ * Filter by event name (e.g. post.published).
6952
+ */
6953
+ event?: string;
6954
+ /**
6955
+ * Filter by delivery status.
6956
+ */
6957
+ status?: 'pending' | 'delivered' | 'dead_letter';
6958
+ page?: number;
6959
+ per_page?: number;
6960
+ };
6961
+ url: '/webhooks/logs';
6962
+ };
6963
+ type ListWebhookLogsErrors = {
6964
+ /**
6965
+ * Missing or invalid API key
6966
+ */
6967
+ 401: ErrorResponse;
6968
+ };
6969
+ type ListWebhookLogsError = ListWebhookLogsErrors[keyof ListWebhookLogsErrors];
6970
+ type ListWebhookLogsResponses = {
6971
+ /**
6972
+ * Delivery log
6973
+ */
6974
+ 200: {
6975
+ success?: true;
6976
+ data?: {
6977
+ deliveries?: Array<{
6978
+ id?: number;
6979
+ webhook_id?: number;
6980
+ event?: string;
6981
+ /**
6982
+ * The envelope's stable evt_ id (matches X-SmartlyQ-Event-Id).
6983
+ */
6984
+ event_id?: string;
6985
+ status?: 'pending' | 'delivered' | 'dead_letter';
6986
+ attempt?: number;
6987
+ response_code?: number;
6988
+ /**
6989
+ * First 500 chars of the destination's response.
6990
+ */
6991
+ response_body?: string;
6992
+ /**
6993
+ * The delivered envelope {id, event, created_at, data}.
6994
+ */
6995
+ payload?: {
6996
+ [key: string]: unknown;
6997
+ };
6998
+ created_at?: string;
6999
+ delivered_at?: string;
7000
+ next_retry_at?: string;
7001
+ }>;
7002
+ pagination?: {
7003
+ total?: number;
7004
+ page?: number;
7005
+ per_page?: number;
7006
+ total_pages?: number;
7007
+ };
7008
+ };
7009
+ meta?: RequestMeta;
7010
+ };
7011
+ };
7012
+ type ListWebhookLogsResponse = ListWebhookLogsResponses[keyof ListWebhookLogsResponses];
7013
+ type TestWebhookData = {
7014
+ body?: never;
7015
+ path: {
7016
+ /**
7017
+ * Webhook id.
7018
+ */
7019
+ id: number;
7020
+ };
7021
+ query?: never;
7022
+ url: '/webhooks/{id}/test';
7023
+ };
7024
+ type TestWebhookErrors = {
7025
+ /**
7026
+ * Missing or invalid API key
7027
+ */
7028
+ 401: ErrorResponse;
7029
+ /**
7030
+ * Resource not found
7031
+ */
7032
+ 404: ErrorResponse;
7033
+ };
7034
+ type TestWebhookError = TestWebhookErrors[keyof TestWebhookErrors];
7035
+ type TestWebhookResponses = {
7036
+ /**
7037
+ * Test result
7038
+ */
7039
+ 200: {
7040
+ success?: true;
7041
+ data?: {
7042
+ /**
7043
+ * True when the endpoint answered 2xx.
7044
+ */
7045
+ delivered?: boolean;
7046
+ event_id?: string;
7047
+ delivery_id?: number;
7048
+ response_code?: number;
7049
+ response_body?: string;
7050
+ };
7051
+ meta?: RequestMeta;
7052
+ };
7053
+ };
7054
+ type TestWebhookResponse = TestWebhookResponses[keyof TestWebhookResponses];
7055
+ type ListQueuesData = {
7056
+ body?: never;
7057
+ path?: never;
7058
+ query?: never;
7059
+ url: '/social/queues';
7060
+ };
7061
+ type ListQueuesErrors = {
7062
+ /**
7063
+ * Missing or invalid API key
7064
+ */
7065
+ 401: ErrorResponse;
7066
+ };
7067
+ type ListQueuesError = ListQueuesErrors[keyof ListQueuesErrors];
7068
+ type ListQueuesResponses = {
7069
+ /**
7070
+ * Success
7071
+ */
7072
+ 200: {
7073
+ success?: true;
7074
+ data?: {
7075
+ queues?: Array<{
7076
+ id?: number;
7077
+ name?: string;
7078
+ /**
7079
+ * Weekly slot map: keys Mon..Sun, values arrays of 24h "HH:MM" strings, e.g. {"Mon": ["09:00", "15:00"], "Thu": ["10:30"]}. Max 50 slots per queue.
7080
+ */
7081
+ slots?: {
7082
+ [key: string]: Array<string>;
7083
+ };
7084
+ /**
7085
+ * IANA timezone the slots are interpreted in (default UTC).
7086
+ */
7087
+ timezone?: string;
7088
+ is_active?: boolean;
7089
+ created_at?: string;
7090
+ updated_at?: string;
7091
+ }>;
7092
+ };
7093
+ meta?: RequestMeta;
7094
+ };
7095
+ };
7096
+ type ListQueuesResponse = ListQueuesResponses[keyof ListQueuesResponses];
7097
+ type CreateQueueData = {
7098
+ body: {
7099
+ name: string;
7100
+ /**
7101
+ * Weekly slot map: keys Mon..Sun, values arrays of 24h "HH:MM" strings, e.g. {"Mon": ["09:00", "15:00"], "Thu": ["10:30"]}. Max 50 slots per queue.
7102
+ */
7103
+ slots: {
7104
+ [key: string]: Array<string>;
7105
+ };
7106
+ /**
7107
+ * IANA timezone for the slots (default UTC).
7108
+ */
7109
+ timezone?: string;
7110
+ is_active?: boolean;
7111
+ };
7112
+ path?: never;
7113
+ query?: never;
7114
+ url: '/social/queues';
7115
+ };
7116
+ type CreateQueueErrors = {
7117
+ /**
7118
+ * Missing or invalid API key
7119
+ */
7120
+ 401: ErrorResponse;
7121
+ /**
7122
+ * Validation error
7123
+ */
7124
+ 422: ErrorResponse;
7125
+ };
7126
+ type CreateQueueError = CreateQueueErrors[keyof CreateQueueErrors];
7127
+ type CreateQueueResponses = {
7128
+ /**
7129
+ * Created
7130
+ */
7131
+ 201: {
7132
+ success?: true;
7133
+ data?: {
7134
+ id?: number;
7135
+ name?: string;
7136
+ /**
7137
+ * Weekly slot map: keys Mon..Sun, values arrays of 24h "HH:MM" strings, e.g. {"Mon": ["09:00", "15:00"], "Thu": ["10:30"]}. Max 50 slots per queue.
7138
+ */
7139
+ slots?: {
7140
+ [key: string]: Array<string>;
7141
+ };
7142
+ /**
7143
+ * IANA timezone the slots are interpreted in (default UTC).
7144
+ */
7145
+ timezone?: string;
7146
+ is_active?: boolean;
7147
+ created_at?: string;
7148
+ updated_at?: string;
7149
+ };
7150
+ meta?: RequestMeta;
7151
+ };
7152
+ };
7153
+ type CreateQueueResponse = CreateQueueResponses[keyof CreateQueueResponses];
7154
+ type DeleteQueueData = {
7155
+ body?: never;
7156
+ path: {
7157
+ /**
7158
+ * Queue id.
7159
+ */
7160
+ queue_id: number;
7161
+ };
7162
+ query?: never;
7163
+ url: '/social/queues/{queue_id}';
7164
+ };
7165
+ type DeleteQueueErrors = {
7166
+ /**
7167
+ * Missing or invalid API key
7168
+ */
7169
+ 401: ErrorResponse;
7170
+ /**
7171
+ * Resource not found
7172
+ */
7173
+ 404: ErrorResponse;
7174
+ };
7175
+ type DeleteQueueError = DeleteQueueErrors[keyof DeleteQueueErrors];
7176
+ type DeleteQueueResponses = {
7177
+ /**
7178
+ * Deleted
7179
+ */
7180
+ 200: {
7181
+ success?: true;
7182
+ data?: null;
7183
+ meta?: RequestMeta;
7184
+ };
7185
+ };
7186
+ type DeleteQueueResponse = DeleteQueueResponses[keyof DeleteQueueResponses];
7187
+ type GetQueueData = {
7188
+ body?: never;
7189
+ path: {
7190
+ /**
7191
+ * Queue id.
7192
+ */
7193
+ queue_id: number;
7194
+ };
7195
+ query?: never;
7196
+ url: '/social/queues/{queue_id}';
7197
+ };
7198
+ type GetQueueErrors = {
7199
+ /**
7200
+ * Missing or invalid API key
7201
+ */
7202
+ 401: ErrorResponse;
7203
+ /**
7204
+ * Resource not found
7205
+ */
7206
+ 404: ErrorResponse;
7207
+ };
7208
+ type GetQueueError = GetQueueErrors[keyof GetQueueErrors];
7209
+ type GetQueueResponses = {
7210
+ /**
7211
+ * Success
7212
+ */
7213
+ 200: {
7214
+ success?: true;
7215
+ data?: {
7216
+ id?: number;
7217
+ name?: string;
7218
+ /**
7219
+ * Weekly slot map: keys Mon..Sun, values arrays of 24h "HH:MM" strings, e.g. {"Mon": ["09:00", "15:00"], "Thu": ["10:30"]}. Max 50 slots per queue.
7220
+ */
7221
+ slots?: {
7222
+ [key: string]: Array<string>;
7223
+ };
7224
+ /**
7225
+ * IANA timezone the slots are interpreted in (default UTC).
7226
+ */
7227
+ timezone?: string;
7228
+ is_active?: boolean;
7229
+ created_at?: string;
7230
+ updated_at?: string;
7231
+ } & {
7232
+ /**
7233
+ * Next open slot, UTC 'Y-m-d H:i:s', or null when the queue has no open slots in the next 60 days.
7234
+ */
7235
+ next_slot?: string;
7236
+ };
7237
+ meta?: RequestMeta;
7238
+ };
7239
+ };
7240
+ type GetQueueResponse = GetQueueResponses[keyof GetQueueResponses];
7241
+ type UpdateQueueData = {
7242
+ /**
7243
+ * Provide at least one field.
7244
+ */
7245
+ body: {
7246
+ name?: string;
7247
+ /**
7248
+ * Weekly slot map: keys Mon..Sun, values arrays of 24h "HH:MM" strings, e.g. {"Mon": ["09:00", "15:00"], "Thu": ["10:30"]}. Max 50 slots per queue.
7249
+ */
7250
+ slots?: {
7251
+ [key: string]: Array<string>;
7252
+ };
7253
+ timezone?: string;
7254
+ is_active?: boolean;
7255
+ };
7256
+ path: {
7257
+ /**
7258
+ * Queue id.
7259
+ */
7260
+ queue_id: number;
7261
+ };
7262
+ query?: never;
7263
+ url: '/social/queues/{queue_id}';
7264
+ };
7265
+ type UpdateQueueErrors = {
7266
+ /**
7267
+ * Missing or invalid API key
7268
+ */
7269
+ 401: ErrorResponse;
7270
+ /**
7271
+ * Resource not found
7272
+ */
7273
+ 404: ErrorResponse;
7274
+ /**
7275
+ * Validation error
7276
+ */
7277
+ 422: ErrorResponse;
7278
+ };
7279
+ type UpdateQueueError = UpdateQueueErrors[keyof UpdateQueueErrors];
7280
+ type UpdateQueueResponses = {
7281
+ /**
7282
+ * Updated
7283
+ */
7284
+ 200: {
7285
+ success?: true;
7286
+ data?: {
7287
+ id?: number;
7288
+ name?: string;
7289
+ /**
7290
+ * Weekly slot map: keys Mon..Sun, values arrays of 24h "HH:MM" strings, e.g. {"Mon": ["09:00", "15:00"], "Thu": ["10:30"]}. Max 50 slots per queue.
7291
+ */
7292
+ slots?: {
7293
+ [key: string]: Array<string>;
7294
+ };
7295
+ /**
7296
+ * IANA timezone the slots are interpreted in (default UTC).
7297
+ */
7298
+ timezone?: string;
7299
+ is_active?: boolean;
7300
+ created_at?: string;
7301
+ updated_at?: string;
7302
+ };
7303
+ meta?: RequestMeta;
7304
+ };
7305
+ };
7306
+ type UpdateQueueResponse = UpdateQueueResponses[keyof UpdateQueueResponses];
7307
+ type GetQueueNextSlotData = {
7308
+ body?: never;
7309
+ path: {
7310
+ /**
7311
+ * Queue id.
7312
+ */
7313
+ queue_id: number;
7314
+ };
7315
+ query?: never;
7316
+ url: '/social/queues/{queue_id}/next-slot';
7317
+ };
7318
+ type GetQueueNextSlotErrors = {
7319
+ /**
7320
+ * Missing or invalid API key
7321
+ */
7322
+ 401: ErrorResponse;
7323
+ /**
7324
+ * Resource not found
7325
+ */
7326
+ 404: ErrorResponse;
7327
+ };
7328
+ type GetQueueNextSlotError = GetQueueNextSlotErrors[keyof GetQueueNextSlotErrors];
7329
+ type GetQueueNextSlotResponses = {
7330
+ /**
7331
+ * Success
7332
+ */
7333
+ 200: {
7334
+ success?: true;
7335
+ data?: {
7336
+ queue_id?: number;
7337
+ /**
7338
+ * UTC 'Y-m-d H:i:s', or null when full for the next 60 days.
7339
+ */
7340
+ next_slot?: string;
7341
+ timezone?: string;
7342
+ };
7343
+ meta?: RequestMeta;
7344
+ };
7345
+ };
7346
+ type GetQueueNextSlotResponse = GetQueueNextSlotResponses[keyof GetQueueNextSlotResponses];
7347
+ type PreviewQueueSlotsData = {
7348
+ body?: never;
7349
+ path: {
7350
+ /**
7351
+ * Queue id.
7352
+ */
7353
+ queue_id: number;
7354
+ };
7355
+ query?: {
7356
+ count?: number;
7357
+ };
7358
+ url: '/social/queues/{queue_id}/preview';
7359
+ };
7360
+ type PreviewQueueSlotsErrors = {
7361
+ /**
7362
+ * Missing or invalid API key
7363
+ */
7364
+ 401: ErrorResponse;
7365
+ /**
7366
+ * Resource not found
7367
+ */
7368
+ 404: ErrorResponse;
7369
+ };
7370
+ type PreviewQueueSlotsError = PreviewQueueSlotsErrors[keyof PreviewQueueSlotsErrors];
7371
+ type PreviewQueueSlotsResponses = {
7372
+ /**
7373
+ * Success
7374
+ */
7375
+ 200: {
7376
+ success?: true;
7377
+ data?: {
7378
+ queue_id?: number;
7379
+ count?: number;
7380
+ /**
7381
+ * UTC 'Y-m-d H:i:s' values, ascending.
7382
+ */
7383
+ slots?: Array<string>;
7384
+ timezone?: string;
7385
+ };
7386
+ meta?: RequestMeta;
7387
+ };
7388
+ };
7389
+ type PreviewQueueSlotsResponse = PreviewQueueSlotsResponses[keyof PreviewQueueSlotsResponses];
7390
+ type UnpublishPostData = {
7391
+ body?: {
7392
+ /**
7393
+ * Restrict native deletion to these platforms. Omit to remove from every platform the post published to.
7394
+ */
7395
+ platforms?: Array<string>;
7396
+ };
7397
+ path: {
7398
+ /**
7399
+ * Post id.
7400
+ */
7401
+ post_id: number;
7402
+ };
7403
+ query?: never;
7404
+ url: '/social/posts/{post_id}/unpublish';
7405
+ };
7406
+ type UnpublishPostErrors = {
7407
+ /**
7408
+ * Missing or invalid API key
7409
+ */
7410
+ 401: ErrorResponse;
7411
+ /**
7412
+ * Resource not found
7413
+ */
7414
+ 404: ErrorResponse;
7415
+ /**
7416
+ * Validation error
7417
+ */
7418
+ 422: ErrorResponse;
7419
+ /**
7420
+ * One or more native deletes failed; the post is unchanged. The error details carry per-platform results.
7421
+ */
7422
+ 502: {
7423
+ success?: false;
7424
+ error?: {
7425
+ code?: 'PLATFORM_DELETE_FAILED';
7426
+ message?: string;
7427
+ details?: {
7428
+ [key: string]: unknown;
7429
+ };
7430
+ };
7431
+ };
7432
+ };
7433
+ type UnpublishPostError = UnpublishPostErrors[keyof UnpublishPostErrors];
7434
+ type UnpublishPostResponses = {
7435
+ /**
7436
+ * Unpublished
7437
+ */
7438
+ 200: {
7439
+ success?: true;
7440
+ data?: {
7441
+ post_id?: number;
7442
+ status?: 'unpublished';
7443
+ /**
7444
+ * Per-platform deletion results.
7445
+ */
7446
+ platforms?: {
7447
+ [key: string]: unknown;
7448
+ };
7449
+ };
7450
+ meta?: RequestMeta;
7451
+ };
7452
+ };
7453
+ type UnpublishPostResponse = UnpublishPostResponses[keyof UnpublishPostResponses];
7454
+ type ValidatePostData = {
7455
+ body: {
7456
+ /**
7457
+ * Post text to check.
7458
+ */
7459
+ content?: string;
7460
+ /**
7461
+ * Target platforms, e.g. ["twitter", "instagram"].
7462
+ */
7463
+ platforms: Array<string>;
7464
+ /**
7465
+ * Media URLs the post would carry (used for required-media and extension checks).
7466
+ */
7467
+ media_urls?: Array<string>;
7468
+ };
7469
+ path?: never;
7470
+ query?: never;
7471
+ url: '/social/validate/post';
7472
+ };
7473
+ type ValidatePostErrors = {
7474
+ /**
7475
+ * Missing or invalid API key
7476
+ */
7477
+ 401: ErrorResponse;
7478
+ /**
7479
+ * Validation error
7480
+ */
7481
+ 422: ErrorResponse;
7482
+ };
7483
+ type ValidatePostError = ValidatePostErrors[keyof ValidatePostErrors];
7484
+ type ValidatePostResponses = {
7485
+ /**
7486
+ * Validation report
7487
+ */
7488
+ 200: {
7489
+ success?: true;
7490
+ data?: {
7491
+ valid?: boolean;
7492
+ /**
7493
+ * Human-readable, actionable problems (empty when valid).
7494
+ */
7495
+ errors?: Array<string>;
7496
+ platforms?: {
7497
+ [key: string]: {
7498
+ characters?: number;
7499
+ /**
7500
+ * Caption limit, or null when the platform has no documented ceiling.
7501
+ */
7502
+ limit?: number;
7503
+ within_limit?: boolean;
7504
+ requires_media?: boolean;
7505
+ media_ok?: boolean;
7506
+ };
7507
+ };
7508
+ };
7509
+ meta?: RequestMeta;
7510
+ };
7511
+ };
7512
+ type ValidatePostResponse = ValidatePostResponses[keyof ValidatePostResponses];
7513
+ type ValidateMediaData = {
7514
+ body: {
7515
+ /**
7516
+ * Public http(s) media URL.
7517
+ */
7518
+ url: string;
7519
+ };
7520
+ path?: never;
7521
+ query?: never;
7522
+ url: '/social/validate/media';
7523
+ };
7524
+ type ValidateMediaErrors = {
7525
+ /**
7526
+ * Missing or invalid API key
7527
+ */
7528
+ 401: ErrorResponse;
7529
+ /**
7530
+ * Validation error
7531
+ */
7532
+ 422: ErrorResponse;
7533
+ };
7534
+ type ValidateMediaError = ValidateMediaErrors[keyof ValidateMediaErrors];
7535
+ type ValidateMediaResponses = {
7536
+ /**
7537
+ * Media check
7538
+ */
7539
+ 200: {
7540
+ success?: true;
7541
+ data?: {
7542
+ url?: string;
7543
+ reachable?: boolean;
7544
+ http_code?: number;
7545
+ content_type?: string;
7546
+ size_bytes?: number;
7547
+ type?: 'image' | 'video' | 'unknown';
7548
+ };
7549
+ meta?: RequestMeta;
7550
+ };
7551
+ };
7552
+ type ValidateMediaResponse = ValidateMediaResponses[keyof ValidateMediaResponses];
7553
+ type StopPostRecycleData = {
7554
+ body?: never;
7555
+ path: {
7556
+ /**
7557
+ * Any post id in the recycling chain.
7558
+ */
7559
+ post_id: number;
7560
+ };
7561
+ query?: never;
7562
+ url: '/social/posts/{post_id}/recycle';
7563
+ };
7564
+ type StopPostRecycleErrors = {
7565
+ /**
7566
+ * Missing or invalid API key
7567
+ */
7568
+ 401: ErrorResponse;
7569
+ /**
7570
+ * Resource not found
7571
+ */
7572
+ 404: ErrorResponse;
7573
+ /**
7574
+ * Post is not part of a recycling chain
7575
+ */
7576
+ 409: {
7577
+ success?: false;
7578
+ error?: {
7579
+ code?: 'NOT_RECYCLING';
7580
+ message?: string;
7581
+ };
7582
+ meta?: RequestMeta;
7583
+ };
7584
+ };
7585
+ type StopPostRecycleError = StopPostRecycleErrors[keyof StopPostRecycleErrors];
7586
+ type StopPostRecycleResponses = {
7587
+ /**
7588
+ * Chain stopped
7589
+ */
7590
+ 200: {
7591
+ success?: true;
7592
+ data?: {
7593
+ stopped?: boolean;
7594
+ /**
7595
+ * Scheduled future occurrences moved back to draft.
7596
+ */
7597
+ cancelled_occurrences?: number;
7598
+ };
7599
+ meta?: RequestMeta;
7600
+ };
7601
+ };
7602
+ type StopPostRecycleResponse = StopPostRecycleResponses[keyof StopPostRecycleResponses];
7603
+ type BulkSchedulePostsData = {
7604
+ body: {
7605
+ /**
7606
+ * Up to 50 posts. Each row needs content, platforms, account_ids and scheduled_time.
7607
+ */
7608
+ posts?: Array<{
7609
+ content: string;
7610
+ platforms: Array<string>;
7611
+ account_ids: Array<number>;
7612
+ /**
7613
+ * When to publish (interpreted in `timezone`, default UTC).
7614
+ */
7615
+ scheduled_time: string;
7616
+ /**
7617
+ * Optional per-row IANA timezone override.
7618
+ */
7619
+ timezone?: string;
7620
+ media_urls?: Array<string>;
7621
+ link?: string;
7622
+ }>;
7623
+ /**
7624
+ * 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.
7625
+ */
7626
+ csv?: string;
7627
+ /**
7628
+ * Default timezone for rows without their own (IANA name, default UTC).
7629
+ */
7630
+ timezone?: string;
7631
+ /**
7632
+ * Skip the 24h duplicate-content guard for this batch.
7633
+ */
7634
+ allow_duplicates?: boolean;
7635
+ };
7636
+ path?: never;
7637
+ query?: never;
7638
+ url: '/social/posts/bulk';
7639
+ };
7640
+ type BulkSchedulePostsErrors = {
7641
+ /**
7642
+ * Missing or invalid API key
7643
+ */
7644
+ 401: ErrorResponse;
7645
+ /**
7646
+ * Insufficient credits
7647
+ */
7648
+ 402: ErrorResponse;
7649
+ /**
7650
+ * Validation error
7651
+ */
7652
+ 422: ErrorResponse;
7653
+ };
7654
+ type BulkSchedulePostsError = BulkSchedulePostsErrors[keyof BulkSchedulePostsErrors];
7655
+ type BulkSchedulePostsResponses = {
7656
+ /**
7657
+ * Batch processed
7658
+ */
7659
+ 201: {
7660
+ success?: true;
7661
+ data?: {
7662
+ created?: number;
7663
+ failed?: number;
7664
+ results?: Array<{
7665
+ row?: number;
7666
+ /**
7667
+ * Present on success.
7668
+ */
7669
+ post_id?: number;
7670
+ status?: string;
7671
+ scheduled_time?: string;
7672
+ /**
7673
+ * Present on row failure (e.g. DUPLICATE_CONTENT).
7674
+ */
7675
+ error?: string;
7676
+ message?: string;
7677
+ }>;
7678
+ };
7679
+ meta?: RequestMeta;
7680
+ };
7681
+ };
7682
+ type BulkSchedulePostsResponse = BulkSchedulePostsResponses[keyof BulkSchedulePostsResponses];
7683
+ type ValidateBulkBatchData = {
7684
+ body: {
7685
+ /**
7686
+ * Up to 50 posts. Each row needs content, platforms, account_ids and scheduled_time.
7687
+ */
7688
+ posts?: Array<{
7689
+ content: string;
7690
+ platforms: Array<string>;
7691
+ account_ids: Array<number>;
7692
+ /**
7693
+ * When to publish (interpreted in `timezone`, default UTC).
7694
+ */
7695
+ scheduled_time: string;
7696
+ /**
7697
+ * Optional per-row IANA timezone override.
7698
+ */
7699
+ timezone?: string;
7700
+ media_urls?: Array<string>;
7701
+ link?: string;
7702
+ }>;
7703
+ /**
7704
+ * 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.
7705
+ */
7706
+ csv?: string;
7707
+ /**
7708
+ * Default timezone for rows without their own (IANA name, default UTC).
7709
+ */
7710
+ timezone?: string;
7711
+ /**
7712
+ * Skip the 24h duplicate-content guard for this batch.
7713
+ */
7714
+ allow_duplicates?: boolean;
7715
+ };
7716
+ path?: never;
7717
+ query?: never;
7718
+ url: '/social/posts/bulk/validate';
7719
+ };
7720
+ type ValidateBulkBatchErrors = {
7721
+ /**
7722
+ * Missing or invalid API key
7723
+ */
7724
+ 401: ErrorResponse;
7725
+ /**
7726
+ * Validation error
7727
+ */
7728
+ 422: ErrorResponse;
7729
+ };
7730
+ type ValidateBulkBatchError = ValidateBulkBatchErrors[keyof ValidateBulkBatchErrors];
7731
+ type ValidateBulkBatchResponses = {
7732
+ /**
7733
+ * Batch report
7734
+ */
7735
+ 200: {
7736
+ success?: true;
7737
+ data?: {
7738
+ valid?: boolean;
7739
+ rows?: number;
7740
+ report?: Array<{
7741
+ row?: number;
7742
+ valid?: boolean;
7743
+ errors?: Array<string>;
7744
+ }>;
7745
+ };
7746
+ meta?: RequestMeta;
7747
+ };
7748
+ };
7749
+ type ValidateBulkBatchResponse = ValidateBulkBatchResponses[keyof ValidateBulkBatchResponses];
7750
+ type BulkAccountHealthData = {
7751
+ body?: never;
7752
+ path?: never;
7753
+ query?: never;
7754
+ url: '/social/accounts/health';
7755
+ };
7756
+ type BulkAccountHealthErrors = {
7757
+ /**
7758
+ * Missing or invalid API key
7759
+ */
7760
+ 401: ErrorResponse;
7761
+ };
7762
+ type BulkAccountHealthError = BulkAccountHealthErrors[keyof BulkAccountHealthErrors];
7763
+ type BulkAccountHealthResponses = {
7764
+ /**
7765
+ * Health summary
7766
+ */
7767
+ 200: {
7768
+ success?: true;
7769
+ data?: {
7770
+ healthy?: number;
7771
+ expiring?: number;
7772
+ expired?: number;
7773
+ paused?: number;
7774
+ accounts?: Array<{
7775
+ id?: number;
7776
+ platform?: string;
7777
+ account_name?: string;
7778
+ is_active?: boolean;
7779
+ status?: string;
7780
+ token_expired?: boolean;
7781
+ validity_days?: number;
7782
+ }>;
7783
+ };
7784
+ meta?: RequestMeta;
7785
+ };
7786
+ };
7787
+ type BulkAccountHealthResponse = BulkAccountHealthResponses[keyof BulkAccountHealthResponses];
7788
+ type AccountFollowerStatsData = {
7789
+ body?: never;
7790
+ path?: never;
7791
+ query?: {
7792
+ /**
7793
+ * History window.
7794
+ */
7795
+ days?: number;
7796
+ /**
7797
+ * Limit to one account.
7798
+ */
7799
+ account_id?: number;
7800
+ };
7801
+ url: '/social/accounts/follower-stats';
7802
+ };
7803
+ type AccountFollowerStatsErrors = {
7804
+ /**
7805
+ * Missing or invalid API key
7806
+ */
7807
+ 401: ErrorResponse;
7808
+ };
7809
+ type AccountFollowerStatsError = AccountFollowerStatsErrors[keyof AccountFollowerStatsErrors];
7810
+ type AccountFollowerStatsResponses = {
7811
+ /**
7812
+ * Follower stats
7813
+ */
7814
+ 200: {
7815
+ success?: true;
7816
+ data?: {
7817
+ days?: number;
7818
+ accounts?: Array<{
7819
+ account_id?: number;
7820
+ platform?: string;
7821
+ account_name?: string;
7822
+ /**
7823
+ * Latest snapshot.
7824
+ */
7825
+ followers?: number;
7826
+ /**
7827
+ * Delta over the window.
7828
+ */
7829
+ growth?: number;
7830
+ growth_pct?: number;
7831
+ history?: Array<{
7832
+ date?: string;
7833
+ followers?: number;
7834
+ new_followers?: number;
7835
+ }>;
7836
+ }>;
7837
+ };
7838
+ meta?: RequestMeta;
7839
+ };
7840
+ };
7841
+ type AccountFollowerStatsResponse = AccountFollowerStatsResponses[keyof AccountFollowerStatsResponses];
7842
+ type TiktokCreatorInfoData = {
7843
+ body?: never;
7844
+ path: {
7845
+ account_id: number;
7846
+ };
7847
+ query?: never;
7848
+ url: '/social/accounts/{account_id}/tiktok/creator-info';
7849
+ };
7850
+ type TiktokCreatorInfoErrors = {
7851
+ /**
7852
+ * Missing or invalid API key
7853
+ */
7854
+ 401: ErrorResponse;
7855
+ /**
7856
+ * Resource not found
7857
+ */
7858
+ 404: ErrorResponse;
7859
+ /**
7860
+ * Validation error
7861
+ */
7862
+ 422: ErrorResponse;
7863
+ /**
7864
+ * TikTok rejected the request
7865
+ */
7866
+ 502: {
7867
+ success?: false;
7868
+ error?: {
7869
+ code?: 'PLATFORM_ERROR';
7870
+ message?: string;
7871
+ };
7872
+ meta?: RequestMeta;
7873
+ };
7874
+ };
7875
+ type TiktokCreatorInfoError = TiktokCreatorInfoErrors[keyof TiktokCreatorInfoErrors];
7876
+ type TiktokCreatorInfoResponses = {
7877
+ /**
7878
+ * Creator info
7879
+ */
7880
+ 200: {
7881
+ success?: true;
7882
+ data?: {
7883
+ account_id?: number;
7884
+ creator_username?: string;
7885
+ creator_nickname?: string;
7886
+ privacy_level_options?: Array<string>;
7887
+ comment_disabled?: boolean;
7888
+ duet_disabled?: boolean;
7889
+ stitch_disabled?: boolean;
7890
+ max_video_post_duration_sec?: number;
7891
+ };
7892
+ meta?: RequestMeta;
7893
+ };
7894
+ };
7895
+ type TiktokCreatorInfoResponse = TiktokCreatorInfoResponses[keyof TiktokCreatorInfoResponses];
7896
+ type MoveSocialAccountData = {
7897
+ body: {
7898
+ /**
7899
+ * Target profile id; 0 = developer workspace.
7900
+ */
7901
+ profile_id: number;
7902
+ };
7903
+ path: {
7904
+ account_id: number;
7905
+ };
7906
+ query?: never;
7907
+ url: '/social/accounts/{account_id}/move';
7908
+ };
7909
+ type MoveSocialAccountErrors = {
7910
+ /**
7911
+ * Missing or invalid API key
7912
+ */
7913
+ 401: ErrorResponse;
7914
+ /**
7915
+ * Forbidden (scope or access)
7916
+ */
7917
+ 403: ErrorResponse;
7918
+ /**
7919
+ * Resource not found
7920
+ */
7921
+ 404: ErrorResponse;
7922
+ /**
7923
+ * Conflict (e.g. duplicate idempotency or already-finished job)
7924
+ */
7925
+ 409: ErrorResponse;
7926
+ /**
7927
+ * Validation error
7928
+ */
7929
+ 422: ErrorResponse;
7930
+ };
7931
+ type MoveSocialAccountError = MoveSocialAccountErrors[keyof MoveSocialAccountErrors];
7932
+ type MoveSocialAccountResponses = {
7933
+ /**
7934
+ * Moved
7935
+ */
7936
+ 200: {
7937
+ success?: true;
7938
+ data?: {
7939
+ id?: number;
7940
+ platform?: string;
7941
+ account_name?: string;
7942
+ profile_id?: number;
7943
+ };
7944
+ meta?: RequestMeta;
7945
+ };
7946
+ };
7947
+ type MoveSocialAccountResponse = MoveSocialAccountResponses[keyof MoveSocialAccountResponses];
7948
+ type ListAccountGroupsData = {
7949
+ body?: never;
7950
+ path?: never;
7951
+ query?: never;
7952
+ url: '/social/account-groups';
7953
+ };
7954
+ type ListAccountGroupsErrors = {
7955
+ /**
7956
+ * Missing or invalid API key
7957
+ */
7958
+ 401: ErrorResponse;
7959
+ };
7960
+ type ListAccountGroupsError = ListAccountGroupsErrors[keyof ListAccountGroupsErrors];
7961
+ type ListAccountGroupsResponses = {
7962
+ /**
7963
+ * Groups
7964
+ */
7965
+ 200: {
7966
+ success?: true;
7967
+ data?: Array<{
7968
+ id?: number;
7969
+ name?: string;
7970
+ account_ids?: Array<number>;
7971
+ created_at?: string;
7972
+ updated_at?: string;
7973
+ }>;
7974
+ meta?: RequestMeta;
7975
+ };
7976
+ };
7977
+ type ListAccountGroupsResponse = ListAccountGroupsResponses[keyof ListAccountGroupsResponses];
7978
+ type CreateAccountGroupData = {
7979
+ body: {
7980
+ name: string;
7981
+ /**
7982
+ * Connected account ids of this workspace (validated on every write).
7983
+ */
7984
+ account_ids: Array<number>;
7985
+ };
7986
+ path?: never;
7987
+ query?: never;
7988
+ url: '/social/account-groups';
7989
+ };
7990
+ type CreateAccountGroupErrors = {
7991
+ /**
7992
+ * Missing or invalid API key
7993
+ */
7994
+ 401: ErrorResponse;
7995
+ /**
7996
+ * Validation error
7997
+ */
7998
+ 422: ErrorResponse;
7999
+ };
8000
+ type CreateAccountGroupError = CreateAccountGroupErrors[keyof CreateAccountGroupErrors];
8001
+ type CreateAccountGroupResponses = {
8002
+ /**
8003
+ * Created
8004
+ */
8005
+ 201: {
8006
+ success?: true;
8007
+ data?: {
8008
+ id?: number;
8009
+ name?: string;
8010
+ account_ids?: Array<number>;
8011
+ created_at?: string;
8012
+ updated_at?: string;
8013
+ };
8014
+ meta?: RequestMeta;
8015
+ };
8016
+ };
8017
+ type CreateAccountGroupResponse = CreateAccountGroupResponses[keyof CreateAccountGroupResponses];
8018
+ type DeleteAccountGroupData = {
8019
+ body?: never;
8020
+ path: {
8021
+ group_id: number;
8022
+ };
8023
+ query?: never;
8024
+ url: '/social/account-groups/{group_id}';
8025
+ };
8026
+ type DeleteAccountGroupErrors = {
8027
+ /**
8028
+ * Missing or invalid API key
8029
+ */
8030
+ 401: ErrorResponse;
8031
+ /**
8032
+ * Resource not found
8033
+ */
8034
+ 404: ErrorResponse;
8035
+ };
8036
+ type DeleteAccountGroupError = DeleteAccountGroupErrors[keyof DeleteAccountGroupErrors];
8037
+ type DeleteAccountGroupResponses = {
8038
+ /**
8039
+ * Deleted
8040
+ */
8041
+ 200: {
8042
+ success?: true;
8043
+ data?: {
8044
+ [key: string]: unknown;
8045
+ };
8046
+ meta?: RequestMeta;
8047
+ };
8048
+ };
8049
+ type DeleteAccountGroupResponse = DeleteAccountGroupResponses[keyof DeleteAccountGroupResponses];
8050
+ type GetAccountGroupData = {
8051
+ body?: never;
8052
+ path: {
8053
+ group_id: number;
8054
+ };
8055
+ query?: never;
8056
+ url: '/social/account-groups/{group_id}';
8057
+ };
8058
+ type GetAccountGroupErrors = {
8059
+ /**
8060
+ * Missing or invalid API key
8061
+ */
8062
+ 401: ErrorResponse;
8063
+ /**
8064
+ * Resource not found
8065
+ */
8066
+ 404: ErrorResponse;
8067
+ };
8068
+ type GetAccountGroupError = GetAccountGroupErrors[keyof GetAccountGroupErrors];
8069
+ type GetAccountGroupResponses = {
8070
+ /**
8071
+ * Group
8072
+ */
8073
+ 200: {
8074
+ success?: true;
8075
+ data?: {
8076
+ id?: number;
8077
+ name?: string;
8078
+ account_ids?: Array<number>;
8079
+ created_at?: string;
8080
+ updated_at?: string;
8081
+ };
8082
+ meta?: RequestMeta;
8083
+ };
8084
+ };
8085
+ type GetAccountGroupResponse = GetAccountGroupResponses[keyof GetAccountGroupResponses];
8086
+ type UpdateAccountGroupData = {
8087
+ body: {
8088
+ name?: string;
8089
+ /**
8090
+ * Connected account ids of this workspace (validated on every write).
8091
+ */
8092
+ account_ids?: Array<number>;
8093
+ };
8094
+ path: {
8095
+ group_id: number;
8096
+ };
8097
+ query?: never;
8098
+ url: '/social/account-groups/{group_id}';
8099
+ };
8100
+ type UpdateAccountGroupErrors = {
8101
+ /**
8102
+ * Missing or invalid API key
8103
+ */
8104
+ 401: ErrorResponse;
8105
+ /**
8106
+ * Resource not found
8107
+ */
8108
+ 404: ErrorResponse;
8109
+ /**
8110
+ * Validation error
8111
+ */
8112
+ 422: ErrorResponse;
8113
+ };
8114
+ type UpdateAccountGroupError = UpdateAccountGroupErrors[keyof UpdateAccountGroupErrors];
8115
+ type UpdateAccountGroupResponses = {
8116
+ /**
8117
+ * Updated
8118
+ */
8119
+ 200: {
8120
+ success?: true;
8121
+ data?: {
8122
+ id?: number;
8123
+ name?: string;
8124
+ account_ids?: Array<number>;
8125
+ created_at?: string;
8126
+ updated_at?: string;
8127
+ };
8128
+ meta?: RequestMeta;
8129
+ };
8130
+ };
8131
+ type UpdateAccountGroupResponse = UpdateAccountGroupResponses[keyof UpdateAccountGroupResponses];
6823
8132
 
6824
8133
  /** Account endpoints. */
6825
8134
  declare class AccountResource {
@@ -7138,8 +8447,8 @@ declare class SocialResource {
7138
8447
  updatePost(postId: string, body: UpdateSocialPostData['body'], options?: RequestOptions): Promise<UpdateSocialPostResponses[keyof UpdateSocialPostResponses]>;
7139
8448
  /** Delete social post `DELETE /social/posts/{post_id}` */
7140
8449
  deletePost(postId: string, options?: RequestOptions): Promise<DeleteSocialPostResponses[keyof DeleteSocialPostResponses]>;
7141
- /** Disconnect a social account `DELETE /social/accounts/{account_id}` */
7142
- disconnectAccount(accountId: string, options?: RequestOptions): Promise<DisconnectSocialAccountResponses[keyof DisconnectSocialAccountResponses]>;
8450
+ /** Rename account `PATCH /social/accounts/{account_id}` */
8451
+ updateAccount(accountId: string, body: UpdateSocialAccountData['body'], options?: RequestOptions): Promise<UpdateSocialAccountResponses[keyof UpdateSocialAccountResponses]>;
7143
8452
  /** Account health `GET /social/accounts/{account_id}/health` */
7144
8453
  getAccountHealth(accountId: string, options?: RequestOptions): Promise<GetAccountHealthResponses[keyof GetAccountHealthResponses]>;
7145
8454
  /** Account reconnect URL `GET /social/accounts/{account_id}/reconnect-url` */
@@ -7154,6 +8463,50 @@ declare class SocialResource {
7154
8463
  connectAccountStatus(platform: string, options?: RequestOptions): Promise<ConnectSocialAccountStatusResponses[keyof ConnectSocialAccountStatusResponses]>;
7155
8464
  /** Start headless account connection `POST /social/connect/{platform}` */
7156
8465
  connectAccount(platform: string, body?: ConnectSocialAccountData['body'], options?: RequestOptions): Promise<ConnectSocialAccountResponses[keyof ConnectSocialAccountResponses]>;
8466
+ /** List queues `GET /social/queues` */
8467
+ listQueues(options?: RequestOptions): Promise<ListQueuesResponses[keyof ListQueuesResponses]>;
8468
+ /** Create queue `POST /social/queues` */
8469
+ createQueue(body: CreateQueueData['body'], options?: RequestOptions): Promise<CreateQueueResponses[keyof CreateQueueResponses]>;
8470
+ /** Get queue `GET /social/queues/{queue_id}` */
8471
+ getQueue(queueId: string, options?: RequestOptions): Promise<GetQueueResponses[keyof GetQueueResponses]>;
8472
+ /** Update queue `PUT /social/queues/{queue_id}` */
8473
+ updateQueue(queueId: string, body: UpdateQueueData['body'], options?: RequestOptions): Promise<UpdateQueueResponses[keyof UpdateQueueResponses]>;
8474
+ /** Delete queue `DELETE /social/queues/{queue_id}` */
8475
+ deleteQueue(queueId: string, options?: RequestOptions): Promise<DeleteQueueResponses[keyof DeleteQueueResponses]>;
8476
+ /** Get next open slot `GET /social/queues/{queue_id}/next-slot` */
8477
+ getQueueNextSlot(queueId: string, options?: RequestOptions): Promise<GetQueueNextSlotResponses[keyof GetQueueNextSlotResponses]>;
8478
+ /** Preview upcoming slots `GET /social/queues/{queue_id}/preview` */
8479
+ previewQueueSlots(queueId: string, query?: PreviewQueueSlotsData['query'], options?: RequestOptions): Promise<PreviewQueueSlotsResponses[keyof PreviewQueueSlotsResponses]>;
8480
+ /** Unpublish post `POST /social/posts/{post_id}/unpublish` */
8481
+ unpublishPost(postId: string, body?: UnpublishPostData['body'], options?: RequestOptions): Promise<UnpublishPostResponses[keyof UnpublishPostResponses]>;
8482
+ /** Validate post content `POST /social/validate/post` */
8483
+ validatePost(body: ValidatePostData['body'], options?: RequestOptions): Promise<ValidatePostResponses[keyof ValidatePostResponses]>;
8484
+ /** Validate media URL `POST /social/validate/media` */
8485
+ validateMedia(body: ValidateMediaData['body'], options?: RequestOptions): Promise<ValidateMediaResponses[keyof ValidateMediaResponses]>;
8486
+ /** Stop recycling `DELETE /social/posts/{post_id}/recycle` */
8487
+ stopPostRecycle(postId: string, options?: RequestOptions): Promise<StopPostRecycleResponses[keyof StopPostRecycleResponses]>;
8488
+ /** Bulk schedule posts `POST /social/posts/bulk` */
8489
+ bulkSchedulePosts(body: BulkSchedulePostsData['body'], options?: RequestOptions): Promise<BulkSchedulePostsResponses[keyof BulkSchedulePostsResponses]>;
8490
+ /** Validate a bulk batch `POST /social/posts/bulk/validate` */
8491
+ validateBulkBatch(body: ValidateBulkBatchData['body'], options?: RequestOptions): Promise<ValidateBulkBatchResponses[keyof ValidateBulkBatchResponses]>;
8492
+ /** Bulk account health `GET /social/accounts/health` */
8493
+ bulkAccountHealth(options?: RequestOptions): Promise<BulkAccountHealthResponses[keyof BulkAccountHealthResponses]>;
8494
+ /** Follower stats `GET /social/accounts/follower-stats` */
8495
+ accountFollowerStats(query?: AccountFollowerStatsData['query'], options?: RequestOptions): Promise<AccountFollowerStatsResponses[keyof AccountFollowerStatsResponses]>;
8496
+ /** TikTok creator info `GET /social/accounts/{account_id}/tiktok/creator-info` */
8497
+ tiktokCreatorInfo(accountId: string, options?: RequestOptions): Promise<TiktokCreatorInfoResponses[keyof TiktokCreatorInfoResponses]>;
8498
+ /** Move account to profile `POST /social/accounts/{account_id}/move` */
8499
+ moveAccount(accountId: string, body: MoveSocialAccountData['body'], options?: RequestOptions): Promise<MoveSocialAccountResponses[keyof MoveSocialAccountResponses]>;
8500
+ /** List account groups `GET /social/account-groups` */
8501
+ listAccountGroups(options?: RequestOptions): Promise<ListAccountGroupsResponses[keyof ListAccountGroupsResponses]>;
8502
+ /** Create account group `POST /social/account-groups` */
8503
+ createAccountGroup(body: CreateAccountGroupData['body'], options?: RequestOptions): Promise<CreateAccountGroupResponses[keyof CreateAccountGroupResponses]>;
8504
+ /** Get account group `GET /social/account-groups/{group_id}` */
8505
+ getAccountGroup(groupId: string, options?: RequestOptions): Promise<GetAccountGroupResponses[keyof GetAccountGroupResponses]>;
8506
+ /** Update account group `PUT /social/account-groups/{group_id}` */
8507
+ updateAccountGroup(groupId: string, body: UpdateAccountGroupData['body'], options?: RequestOptions): Promise<UpdateAccountGroupResponses[keyof UpdateAccountGroupResponses]>;
8508
+ /** Delete account group `DELETE /social/account-groups/{group_id}` */
8509
+ deleteAccountGroup(groupId: string, options?: RequestOptions): Promise<DeleteAccountGroupResponses[keyof DeleteAccountGroupResponses]>;
7157
8510
  }
7158
8511
  /** URLs endpoints. */
7159
8512
  declare class UrlsResource {
@@ -7201,8 +8554,14 @@ declare class WebhooksResource {
7201
8554
  list(options?: RequestOptions): Promise<ListWebhooksResponses[keyof ListWebhooksResponses]>;
7202
8555
  /** Create webhook `POST /webhooks` */
7203
8556
  create(body: CreateWebhookData['body'], options?: RequestOptions): Promise<CreateWebhookResponses[keyof CreateWebhookResponses]>;
8557
+ /** Update webhook `PUT /webhooks/{id}` */
8558
+ update(id: string, body: UpdateWebhookData['body'], options?: RequestOptions): Promise<UpdateWebhookResponses[keyof UpdateWebhookResponses]>;
7204
8559
  /** Delete webhook `DELETE /webhooks/{id}` */
7205
8560
  delete(id: string, options?: RequestOptions): Promise<DeleteWebhookResponses[keyof DeleteWebhookResponses]>;
8561
+ /** List webhook delivery logs `GET /webhooks/logs` */
8562
+ listLogs(query?: ListWebhookLogsData['query'], options?: RequestOptions): Promise<ListWebhookLogsResponses[keyof ListWebhookLogsResponses]>;
8563
+ /** Send test webhook `POST /webhooks/{id}/test` */
8564
+ test(id: string, options?: RequestOptions): Promise<TestWebhookResponses[keyof TestWebhookResponses]>;
7206
8565
  }
7207
8566
  /** Workspaces endpoints. */
7208
8567
  declare class WorkspacesResource {
@@ -7303,4 +8662,4 @@ declare class SmartlyQ {
7303
8662
  constructor(options?: ClientOptions | string);
7304
8663
  }
7305
8664
 
7306
- export { 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, AnalyticsResource, type Article, type ArticleGenerateRequest, type ArticleIdParam, type ArticleListResponse, type ArticleSingleResponse, ArticlesResource, type AudioFile, type AudioIdParam, AudioResource, type AudioSingleResponse, type BalanceResponse, 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 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 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 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 DeleteSocialPostData, type DeleteSocialPostError, type DeleteSocialPostErrors, type DeleteSocialPostResponse, type DeleteSocialPostResponses, type DeleteUrlData, type DeleteUrlError, type DeleteUrlErrors, type DeleteUrlResponse, type DeleteUrlResponses, type DeleteVideoData, type DeleteVideoError, type DeleteVideoErrors, type DeleteVideoResponse, type DeleteVideoResponses, type DeleteWebhookData, type DeleteWebhookError, type DeleteWebhookErrors, type DeleteWebhookResponse, type DeleteWebhookResponses, type DeleteWorkspaceData, type DeleteWorkspaceError, type DeleteWorkspaceErrors, type DeleteWorkspaceResponses, type DisableWorkspaceSaasData, type DisableWorkspaceSaasErrors, type DisableWorkspaceSaasResponses, type DisconnectSocialAccountData, type DisconnectSocialAccountError, type DisconnectSocialAccountErrors, type DisconnectSocialAccountResponse, type DisconnectSocialAccountResponses, type EnrollContactData, type EnrollContactError, type EnrollContactErrors, type EnrollContactResponses, type ErrorResponse, type 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 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 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 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 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 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, 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 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 SuccessEnvelope, type SuggestBrollData, type SuggestBrollError, type SuggestBrollErrors, type SuggestBrollResponses, type SuggestEmphasisData, type SuggestEmphasisError, type SuggestEmphasisErrors, type SuggestEmphasisResponses, type TextToSpeechData, type TextToSpeechError, type TextToSpeechErrors, type TextToSpeechRequest, type TextToSpeechResponse, type TextToSpeechResponses, type TrainChatbotData, type TrainChatbotError, type TrainChatbotErrors, type TrainChatbotResponse, type TrainChatbotResponses, 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 UpdateSocialPostData, type UpdateSocialPostError, type UpdateSocialPostErrors, type UpdateSocialPostResponse, type UpdateSocialPostResponses, type UrlIdParam, type UrlListResponse, type UrlShortenRequest, type UrlSingleResponse, type UrlStatsResponse, UrlsResource, type UsageMeta, type UsageSummaryResponse, type UserProfileResponse, 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 };
8665
+ 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, 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 };