@gpt-platform/client 0.11.1 → 0.11.2

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.
Files changed (44) hide show
  1. package/dist/_internal/sdk.gen.d.ts +1101 -8
  2. package/dist/_internal/sdk.gen.d.ts.map +1 -1
  3. package/dist/_internal/types.gen.d.ts +38447 -64456
  4. package/dist/_internal/types.gen.d.ts.map +1 -1
  5. package/dist/gpt-client.d.ts +341 -73
  6. package/dist/gpt-client.d.ts.map +1 -1
  7. package/dist/index.d.ts +5 -2
  8. package/dist/index.d.ts.map +1 -1
  9. package/dist/index.js +8001 -415
  10. package/dist/index.js.map +1 -1
  11. package/dist/index.mjs +8000 -415
  12. package/dist/index.mjs.map +1 -1
  13. package/dist/namespaces/agents.d.ts +125 -1
  14. package/dist/namespaces/agents.d.ts.map +1 -1
  15. package/dist/namespaces/ai.d.ts +144 -0
  16. package/dist/namespaces/ai.d.ts.map +1 -1
  17. package/dist/namespaces/billing.d.ts +36 -0
  18. package/dist/namespaces/billing.d.ts.map +1 -1
  19. package/dist/namespaces/campaigns.d.ts +410 -15
  20. package/dist/namespaces/campaigns.d.ts.map +1 -1
  21. package/dist/namespaces/channels.d.ts +4 -0
  22. package/dist/namespaces/channels.d.ts.map +1 -1
  23. package/dist/namespaces/clinical.d.ts +40 -8
  24. package/dist/namespaces/clinical.d.ts.map +1 -1
  25. package/dist/namespaces/crm.d.ts +299 -10
  26. package/dist/namespaces/crm.d.ts.map +1 -1
  27. package/dist/namespaces/email.d.ts +534 -257
  28. package/dist/namespaces/email.d.ts.map +1 -1
  29. package/dist/namespaces/extraction.d.ts +369 -1
  30. package/dist/namespaces/extraction.d.ts.map +1 -1
  31. package/dist/namespaces/imports.d.ts +12 -25
  32. package/dist/namespaces/imports.d.ts.map +1 -1
  33. package/dist/namespaces/index.d.ts +9 -4
  34. package/dist/namespaces/index.d.ts.map +1 -1
  35. package/dist/namespaces/invoices.d.ts +1055 -0
  36. package/dist/namespaces/invoices.d.ts.map +1 -0
  37. package/dist/namespaces/recipes.d.ts +478 -0
  38. package/dist/namespaces/recipes.d.ts.map +1 -0
  39. package/dist/namespaces/scheduling.d.ts.map +1 -1
  40. package/dist/request-builder.d.ts +7 -0
  41. package/dist/request-builder.d.ts.map +1 -1
  42. package/dist/version.d.ts +1 -1
  43. package/llms.txt +283 -0
  44. package/package.json +1 -1
@@ -1,9 +1,27 @@
1
- import type { EmailMarketingTemplate, Campaign, EmailMarketingGeneratedEmail, EmailMarketingSequence, EmailMarketingSenderProfile } from "../_internal/types.gen";
1
+ import type { EmailMarketingTemplate, Campaign, EmailMarketingGeneratedEmail, EmailMarketingSequence, EmailMarketingSenderProfile, EmailMarketingRecipient, EmailMarketingSequenceStep, SocialCampaign } from "../_internal/types.gen";
2
2
  import type { MjmlCompileResult, TemplateVersion } from "./email";
3
3
  import type { RequestOptions } from "../base-client";
4
4
  import { RequestBuilder } from "../request-builder";
5
5
  /** @public Result of an AI-powered campaign performance analysis. */
6
6
  export type CampaignAnalysisResult = Record<string, unknown>;
7
+ /** Attributes for sending a campaign. */
8
+ export type SendCampaignAttributes = {
9
+ workspace_id: string;
10
+ connector_id: string;
11
+ connector_type: string;
12
+ };
13
+ /** Attributes for AI campaign analysis. */
14
+ export type AnalyzeCampaignAttributes = {
15
+ campaign_stats?: Record<string, unknown>;
16
+ tracking_summary?: string;
17
+ recipient_segments?: string;
18
+ };
19
+ /** Attributes for send time optimization. */
20
+ export type OptimizeSendTimesAttributes = {
21
+ recipient_emails: string[];
22
+ timezone_data?: Record<string, unknown>;
23
+ campaign_stats?: Record<string, unknown>;
24
+ };
7
25
  /** Attributes accepted when creating a campaign. */
8
26
  export type CreateCampaignAttributes = {
9
27
  workspace_id: string;
@@ -70,6 +88,26 @@ export type UpdateSequenceAttributes = {
70
88
  name?: string;
71
89
  [key: string]: unknown;
72
90
  };
91
+ /** Attributes accepted when creating an email template. */
92
+ export type CreateTemplateAttributes = {
93
+ name: string;
94
+ type?: string;
95
+ subject_template?: string;
96
+ body_template?: string;
97
+ body_mjml?: string;
98
+ ai_instructions?: string;
99
+ variables?: string[];
100
+ template_format?: string;
101
+ };
102
+ /** Attributes accepted when updating an email template (PATCH semantics). */
103
+ export type UpdateTemplateAttributes = {
104
+ name?: string;
105
+ subject_template?: string;
106
+ body_template?: string;
107
+ ai_instructions?: string;
108
+ variables?: string[];
109
+ [key: string]: unknown;
110
+ };
73
111
  /** Attributes accepted when creating a sequence step. */
74
112
  export type CreateSequenceStepAttributes = {
75
113
  sequence_id: string;
@@ -79,6 +117,44 @@ export type CreateSequenceStepAttributes = {
79
117
  export type UpdateSequenceStepAttributes = {
80
118
  [key: string]: unknown;
81
119
  };
120
+ /** Attributes for creating a social campaign. */
121
+ export type CreateSocialCampaignAttributes = {
122
+ name: string;
123
+ content_brief?: string;
124
+ target_platforms?: string[];
125
+ media_urls?: string[];
126
+ seo_keywords?: string[];
127
+ brand_identity_id?: string;
128
+ };
129
+ /** Attributes for updating a social campaign (PATCH semantics). */
130
+ export type UpdateSocialCampaignAttributes = {
131
+ name?: string;
132
+ content_brief?: string;
133
+ target_platforms?: string[];
134
+ media_urls?: string[];
135
+ seo_keywords?: string[];
136
+ brand_identity_id?: string;
137
+ };
138
+ /** Attributes for scheduling a social campaign. */
139
+ export type ScheduleSocialCampaignAttributes = {
140
+ scheduled_at: string;
141
+ };
142
+ /** Attributes for adapting a social campaign's master copy for target platforms. */
143
+ export type AdaptForPlatformsAttributes = {
144
+ campaign_id: string;
145
+ workspace_id: string;
146
+ social_account_id: string;
147
+ };
148
+ /** Attributes for generating master copy for a social campaign. */
149
+ export type GenerateMasterCopyAttributes = {
150
+ campaign_id: string;
151
+ workspace_id: string;
152
+ };
153
+ /** Attributes for previewing platform adaptations without creating posts. */
154
+ export type PreviewAdaptationsAttributes = {
155
+ campaign_id: string;
156
+ workspace_id: string;
157
+ };
82
158
  /**
83
159
  * Email Marketing namespace for campaigns, templates, and AI-powered email generation.
84
160
  *
@@ -240,7 +316,7 @@ export declare function createCampaignsNamespace(rb: RequestBuilder): {
240
316
  * console.log('Campaign queued for delivery');
241
317
  * ```
242
318
  */
243
- send: (id: string, options?: RequestOptions) => Promise<Campaign>;
319
+ send: (id: string, attributes: SendCampaignAttributes, options?: RequestOptions) => Promise<Campaign>;
244
320
  /**
245
321
  * Request an AI-powered performance analysis of a sent campaign.
246
322
  *
@@ -260,7 +336,7 @@ export declare function createCampaignsNamespace(rb: RequestBuilder): {
260
336
  * console.log(report); // AI narrative with metrics breakdown
261
337
  * ```
262
338
  */
263
- analyze: (id: string, options?: RequestOptions) => Promise<CampaignAnalysisResult>;
339
+ analyze: (id: string, attributes?: AnalyzeCampaignAttributes, options?: RequestOptions) => Promise<CampaignAnalysisResult>;
264
340
  /**
265
341
  * Use AI to determine the optimal send time for a campaign.
266
342
  *
@@ -283,7 +359,7 @@ export declare function createCampaignsNamespace(rb: RequestBuilder): {
283
359
  * console.log(result);
284
360
  * ```
285
361
  */
286
- optimizeSendTimes: (id: string, options?: RequestOptions) => Promise<Campaign>;
362
+ optimizeSendTimes: (id: string, attributes: OptimizeSendTimesAttributes, options?: RequestOptions) => Promise<Campaign>;
287
363
  /**
288
364
  * Create a follow-up campaign targeted at recipients who did not engage
289
365
  * with the original campaign.
@@ -399,6 +475,20 @@ export declare function createCampaignsNamespace(rb: RequestBuilder): {
399
475
  * Templates are scoped to a workspace.
400
476
  */
401
477
  templates: {
478
+ /**
479
+ * Fetch a single template by its unique ID.
480
+ *
481
+ * @param id - The unique identifier of the template to retrieve.
482
+ * @param options - Optional request-level overrides.
483
+ * @returns A promise that resolves to the matching {@link EmailMarketingTemplate}.
484
+ *
485
+ * @example
486
+ * ```typescript
487
+ * const template = await client.campaigns.templates.get('tmpl_abc123');
488
+ * console.log(template.attributes.name);
489
+ * ```
490
+ */
491
+ get: (id: string, options?: RequestOptions) => Promise<EmailMarketingTemplate>;
402
492
  /**
403
493
  * List all email templates for a workspace.
404
494
  *
@@ -419,6 +509,75 @@ export declare function createCampaignsNamespace(rb: RequestBuilder): {
419
509
  page?: number;
420
510
  pageSize?: number;
421
511
  } & RequestOptions) => Promise<EmailMarketingTemplate[]>;
512
+ /**
513
+ * Create a new email template.
514
+ *
515
+ * @param attributes - Template attributes including `name`.
516
+ * @param options - Optional request-level overrides.
517
+ * @returns A promise that resolves to the newly created {@link EmailMarketingTemplate}.
518
+ *
519
+ * @example
520
+ * ```typescript
521
+ * const template = await client.campaigns.templates.create({
522
+ * name: "Welcome Email",
523
+ * body_mjml: "<mjml>...</mjml>",
524
+ * });
525
+ * ```
526
+ */
527
+ create: (attributes: CreateTemplateAttributes, options?: RequestOptions) => Promise<EmailMarketingTemplate>;
528
+ /**
529
+ * Update an existing template's attributes (PATCH semantics).
530
+ *
531
+ * @param id - The unique identifier of the template to update.
532
+ * @param attributes - Key/value map of attributes to change.
533
+ * @param options - Optional request-level overrides.
534
+ * @returns A promise that resolves to the updated {@link EmailMarketingTemplate}.
535
+ *
536
+ * @example
537
+ * ```typescript
538
+ * const updated = await client.campaigns.templates.update("tmpl_123", { name: "New Name" });
539
+ * ```
540
+ */
541
+ update: (id: string, attributes: UpdateTemplateAttributes, options?: RequestOptions) => Promise<EmailMarketingTemplate>;
542
+ /**
543
+ * Permanently delete a template.
544
+ *
545
+ * @param id - The unique identifier of the template to delete.
546
+ * @param options - Optional request-level overrides.
547
+ * @returns A promise that resolves to `true` on successful deletion.
548
+ *
549
+ * @example
550
+ * ```typescript
551
+ * await client.campaigns.templates.delete("tmpl_123");
552
+ * ```
553
+ */
554
+ delete: (id: string, options?: RequestOptions) => Promise<true>;
555
+ /**
556
+ * Archive a template, removing it from active listings.
557
+ *
558
+ * @param id - The unique identifier of the template to archive.
559
+ * @param options - Optional request-level overrides.
560
+ * @returns A promise that resolves to the archived {@link EmailMarketingTemplate}.
561
+ *
562
+ * @example
563
+ * ```typescript
564
+ * await client.campaigns.templates.archive("tmpl_123");
565
+ * ```
566
+ */
567
+ archive: (id: string, options?: RequestOptions) => Promise<EmailMarketingTemplate>;
568
+ /**
569
+ * Restore an archived template back to active state.
570
+ *
571
+ * @param id - The unique identifier of the template to restore.
572
+ * @param options - Optional request-level overrides.
573
+ * @returns A promise that resolves to the restored {@link EmailMarketingTemplate}.
574
+ *
575
+ * @example
576
+ * ```typescript
577
+ * await client.campaigns.templates.restore("tmpl_123");
578
+ * ```
579
+ */
580
+ restore: (id: string, options?: RequestOptions) => Promise<EmailMarketingTemplate>;
422
581
  /**
423
582
  * Stateless MJML compilation. Does not save. Use for live preview in builder UI.
424
583
  *
@@ -446,9 +605,7 @@ export declare function createCampaignsNamespace(rb: RequestBuilder): {
446
605
  * const { preview_html } = await client.campaigns.templates.preview("tmpl_123", { first_name: "Jane" });
447
606
  * ```
448
607
  */
449
- preview: (templateId: string, variables: Record<string, string>, options?: RequestOptions) => Promise<{
450
- preview_html: string;
451
- }>;
608
+ preview: (templateId: string, variables: Record<string, string>, options?: RequestOptions) => Promise<EmailMarketingTemplate>;
452
609
  /**
453
610
  * Publish a template — compiles MJML, creates an immutable TemplateVersion snapshot,
454
611
  * and updates `published_body_html`. Campaigns created after this call use this version.
@@ -896,13 +1053,13 @@ export declare function createCampaignsNamespace(rb: RequestBuilder): {
896
1053
  * console.log(recipient.attributes.email);
897
1054
  * ```
898
1055
  */
899
- get: (id: string, options?: RequestOptions) => Promise<Record<string, unknown>>;
1056
+ get: (id: string, options?: RequestOptions) => Promise<EmailMarketingRecipient>;
900
1057
  /**
901
1058
  * List all recipients for a specific campaign.
902
1059
  *
903
1060
  * @param campaignId - The ID of the campaign whose recipients to list.
904
1061
  * @param options - Optional pagination controls and request-level overrides.
905
- * @returns A promise resolving to an array of recipient records.
1062
+ * @returns A promise resolving to an array of {@link EmailMarketingRecipient} records.
906
1063
  *
907
1064
  * @example
908
1065
  * ```typescript
@@ -913,7 +1070,7 @@ export declare function createCampaignsNamespace(rb: RequestBuilder): {
913
1070
  listByCampaign: (campaignId: string, options?: {
914
1071
  page?: number;
915
1072
  pageSize?: number;
916
- } & RequestOptions) => Promise<Record<string, unknown>[]>;
1073
+ } & RequestOptions) => Promise<EmailMarketingRecipient[]>;
917
1074
  };
918
1075
  /**
919
1076
  * Sequence Steps — individual steps within a drip sequence.
@@ -934,13 +1091,13 @@ export declare function createCampaignsNamespace(rb: RequestBuilder): {
934
1091
  * const step = await client.campaigns.sequenceSteps.get('step_abc123');
935
1092
  * ```
936
1093
  */
937
- get: (id: string, options?: RequestOptions) => Promise<Record<string, unknown>>;
1094
+ get: (id: string, options?: RequestOptions) => Promise<EmailMarketingSequenceStep>;
938
1095
  /**
939
1096
  * Create a new step within a sequence.
940
1097
  *
941
1098
  * @param attributes - Step attributes including `sequence_id`.
942
1099
  * @param options - Optional request-level overrides.
943
- * @returns A promise resolving to the newly created sequence step.
1100
+ * @returns A promise resolving to the newly created {@link EmailMarketingSequenceStep}.
944
1101
  *
945
1102
  * @example
946
1103
  * ```typescript
@@ -951,13 +1108,42 @@ export declare function createCampaignsNamespace(rb: RequestBuilder): {
951
1108
  * });
952
1109
  * ```
953
1110
  */
954
- create: (attributes: CreateSequenceStepAttributes, options?: RequestOptions) => Promise<Record<string, unknown>>;
1111
+ create: (attributes: CreateSequenceStepAttributes, options?: RequestOptions) => Promise<EmailMarketingSequenceStep>;
1112
+ /**
1113
+ * Update an existing sequence step's attributes (PATCH semantics).
1114
+ *
1115
+ * @param id - The unique identifier of the sequence step to update.
1116
+ * @param attributes - Key/value map of attributes to change.
1117
+ * @param options - Optional request-level overrides.
1118
+ * @returns A promise resolving to the updated {@link EmailMarketingSequenceStep}.
1119
+ *
1120
+ * @example
1121
+ * ```typescript
1122
+ * const step = await client.campaigns.sequenceSteps.update('step_abc123', {
1123
+ * delay_days: 5,
1124
+ * });
1125
+ * ```
1126
+ */
1127
+ update: (id: string, attributes: UpdateSequenceStepAttributes, options?: RequestOptions) => Promise<EmailMarketingSequenceStep>;
1128
+ /**
1129
+ * Permanently delete a sequence step.
1130
+ *
1131
+ * @param id - The unique identifier of the sequence step to delete.
1132
+ * @param options - Optional request-level overrides.
1133
+ * @returns A promise that resolves to `true` on successful deletion.
1134
+ *
1135
+ * @example
1136
+ * ```typescript
1137
+ * await client.campaigns.sequenceSteps.delete('step_abc123');
1138
+ * ```
1139
+ */
1140
+ delete: (id: string, options?: RequestOptions) => Promise<true>;
955
1141
  /**
956
1142
  * List all steps in a specific sequence.
957
1143
  *
958
1144
  * @param sequenceId - The ID of the sequence whose steps to list.
959
1145
  * @param options - Optional pagination controls and request-level overrides.
960
- * @returns A promise resolving to an array of sequence step records.
1146
+ * @returns A promise resolving to an array of {@link EmailMarketingSequenceStep} records.
961
1147
  *
962
1148
  * @example
963
1149
  * ```typescript
@@ -967,7 +1153,216 @@ export declare function createCampaignsNamespace(rb: RequestBuilder): {
967
1153
  listBySequence: (sequenceId: string, options?: {
968
1154
  page?: number;
969
1155
  pageSize?: number;
970
- } & RequestOptions) => Promise<Record<string, unknown>[]>;
1156
+ } & RequestOptions) => Promise<EmailMarketingSequenceStep[]>;
1157
+ };
1158
+ /**
1159
+ * Social Campaigns -- AI-powered social media campaign management.
1160
+ *
1161
+ * A social campaign takes a content brief, generates master copy via AI,
1162
+ * adapts it for each target platform (Facebook, Instagram, LinkedIn, etc.)
1163
+ * with appropriate tone and constraints, and creates individual SocialPost
1164
+ * records for scheduling and publishing.
1165
+ *
1166
+ * @example
1167
+ * ```typescript
1168
+ * const client = new GptClient({ apiKey: 'sk_app_...' });
1169
+ *
1170
+ * // Create a social campaign with a content brief
1171
+ * const campaign = await client.campaigns.socialCampaigns.create({
1172
+ * name: 'Spring Launch 2026',
1173
+ * content_brief: 'Announce our new product line with excitement',
1174
+ * target_platforms: ['instagram', 'linkedin', 'twitter'],
1175
+ * });
1176
+ *
1177
+ * // Generate master copy, then adapt for each platform
1178
+ * await client.campaigns.socialCampaigns.generateMasterCopy(campaign.id, {
1179
+ * campaign_id: campaign.id,
1180
+ * workspace_id: 'ws_abc123',
1181
+ * });
1182
+ * ```
1183
+ */
1184
+ socialCampaigns: {
1185
+ /**
1186
+ * Fetch a single social campaign by its unique ID.
1187
+ *
1188
+ * @param id - The unique identifier of the social campaign to retrieve.
1189
+ * @param options - Optional request-level overrides.
1190
+ * @returns A promise that resolves to the matching {@link SocialCampaign}.
1191
+ *
1192
+ * @example
1193
+ * ```typescript
1194
+ * const campaign = await client.campaigns.socialCampaigns.get('sc_abc123');
1195
+ * console.log(campaign.attributes.name, campaign.attributes.status);
1196
+ * ```
1197
+ */
1198
+ get: (id: string, options?: RequestOptions) => Promise<SocialCampaign>;
1199
+ /**
1200
+ * List all social campaigns with optional pagination.
1201
+ *
1202
+ * @param options - Optional pagination controls and request-level overrides.
1203
+ * @returns A promise that resolves to an array of {@link SocialCampaign} records.
1204
+ *
1205
+ * @example
1206
+ * ```typescript
1207
+ * const campaigns = await client.campaigns.socialCampaigns.list({ pageSize: 10 });
1208
+ * console.log(campaigns.map((c) => c.attributes.name));
1209
+ * ```
1210
+ */
1211
+ list: (options?: {
1212
+ page?: number;
1213
+ pageSize?: number;
1214
+ } & RequestOptions) => Promise<SocialCampaign[]>;
1215
+ /**
1216
+ * Create a new social campaign.
1217
+ *
1218
+ * The campaign starts in `draft` status. Use {@link generateMasterCopy}
1219
+ * to produce AI-generated content from the content brief, then
1220
+ * {@link adaptForPlatforms} to create platform-specific posts.
1221
+ *
1222
+ * @param attributes - Social campaign attributes including `name`.
1223
+ * @param options - Optional request-level overrides.
1224
+ * @returns A promise that resolves to the newly created {@link SocialCampaign}.
1225
+ *
1226
+ * @example
1227
+ * ```typescript
1228
+ * const campaign = await client.campaigns.socialCampaigns.create({
1229
+ * name: 'Product Launch',
1230
+ * content_brief: 'Exciting new features for Q2',
1231
+ * target_platforms: ['instagram', 'linkedin'],
1232
+ * });
1233
+ * ```
1234
+ */
1235
+ create: (attributes: CreateSocialCampaignAttributes, options?: RequestOptions) => Promise<SocialCampaign>;
1236
+ /**
1237
+ * Update an existing social campaign's attributes (PATCH semantics).
1238
+ *
1239
+ * @param id - The unique identifier of the social campaign to update.
1240
+ * @param attributes - Key/value map of attributes to change.
1241
+ * @param options - Optional request-level overrides.
1242
+ * @returns A promise that resolves to the updated {@link SocialCampaign}.
1243
+ *
1244
+ * @example
1245
+ * ```typescript
1246
+ * const updated = await client.campaigns.socialCampaigns.update('sc_abc123', {
1247
+ * content_brief: 'Updated brief with new messaging',
1248
+ * target_platforms: ['instagram', 'linkedin', 'twitter'],
1249
+ * });
1250
+ * ```
1251
+ */
1252
+ update: (id: string, attributes: UpdateSocialCampaignAttributes, options?: RequestOptions) => Promise<SocialCampaign>;
1253
+ /**
1254
+ * Permanently delete a social campaign.
1255
+ *
1256
+ * @param id - The unique identifier of the social campaign to delete.
1257
+ * @param options - Optional request-level overrides.
1258
+ * @returns A promise that resolves to `true` on successful deletion.
1259
+ *
1260
+ * @example
1261
+ * ```typescript
1262
+ * await client.campaigns.socialCampaigns.delete('sc_abc123');
1263
+ * ```
1264
+ */
1265
+ delete: (id: string, options?: RequestOptions) => Promise<true>;
1266
+ /**
1267
+ * Schedule a social campaign for future publishing.
1268
+ *
1269
+ * Transitions the campaign to `scheduled` status with the given timestamp.
1270
+ *
1271
+ * @param id - The unique identifier of the social campaign to schedule.
1272
+ * @param attributes - Must include `scheduled_at` (ISO 8601 datetime).
1273
+ * @param options - Optional request-level overrides.
1274
+ * @returns A promise that resolves to the updated {@link SocialCampaign}.
1275
+ *
1276
+ * @example
1277
+ * ```typescript
1278
+ * const scheduled = await client.campaigns.socialCampaigns.schedule('sc_abc123', {
1279
+ * scheduled_at: '2026-04-01T09:00:00Z',
1280
+ * });
1281
+ * ```
1282
+ */
1283
+ schedule: (id: string, attributes: ScheduleSocialCampaignAttributes, options?: RequestOptions) => Promise<SocialCampaign>;
1284
+ /**
1285
+ * Cancel a social campaign.
1286
+ *
1287
+ * Only campaigns in `draft`, `generating`, `review`, or `scheduled`
1288
+ * status can be cancelled.
1289
+ *
1290
+ * @param id - The unique identifier of the social campaign to cancel.
1291
+ * @param options - Optional request-level overrides.
1292
+ * @returns A promise that resolves to the updated {@link SocialCampaign}.
1293
+ *
1294
+ * @example
1295
+ * ```typescript
1296
+ * const cancelled = await client.campaigns.socialCampaigns.cancel('sc_abc123');
1297
+ * console.log(cancelled.attributes.status); // 'cancelled'
1298
+ * ```
1299
+ */
1300
+ cancel: (id: string, options?: RequestOptions) => Promise<SocialCampaign>;
1301
+ /**
1302
+ * Generate master copy from the campaign's content brief using AI.
1303
+ *
1304
+ * Transitions the campaign to `review` status on success. The generated
1305
+ * master copy is stored on the campaign and can then be adapted for
1306
+ * individual platforms via {@link adaptForPlatforms}.
1307
+ *
1308
+ * @param id - The unique identifier of the social campaign.
1309
+ * @param attributes - Must include `campaign_id` and `workspace_id`.
1310
+ * @param options - Optional request-level overrides.
1311
+ * @returns A promise resolving to the generation result including master copy text.
1312
+ *
1313
+ * @example
1314
+ * ```typescript
1315
+ * const result = await client.campaigns.socialCampaigns.generateMasterCopy('sc_abc', {
1316
+ * campaign_id: 'sc_abc',
1317
+ * workspace_id: 'ws_abc123',
1318
+ * });
1319
+ * console.log(result.master_copy);
1320
+ * ```
1321
+ */
1322
+ generateMasterCopy: (id: string, attributes: GenerateMasterCopyAttributes, options?: RequestOptions) => Promise<Record<string, unknown>>;
1323
+ /**
1324
+ * Adapt the campaign's master copy for each target platform.
1325
+ *
1326
+ * Creates individual SocialPost draft records for each platform with
1327
+ * platform-appropriate tone, length, and formatting.
1328
+ *
1329
+ * @param id - The unique identifier of the social campaign.
1330
+ * @param attributes - Must include `campaign_id`, `workspace_id`, and `social_account_id`.
1331
+ * @param options - Optional request-level overrides.
1332
+ * @returns A promise resolving to the adaptation result with post creation counts.
1333
+ *
1334
+ * @example
1335
+ * ```typescript
1336
+ * const result = await client.campaigns.socialCampaigns.adaptForPlatforms('sc_abc', {
1337
+ * campaign_id: 'sc_abc',
1338
+ * workspace_id: 'ws_abc123',
1339
+ * social_account_id: 'sa_xyz',
1340
+ * });
1341
+ * console.log(result.posts_created, result.failures);
1342
+ * ```
1343
+ */
1344
+ adaptForPlatforms: (id: string, attributes: AdaptForPlatformsAttributes, options?: RequestOptions) => Promise<Record<string, unknown>>;
1345
+ /**
1346
+ * Preview adapted copy for each target platform without creating posts.
1347
+ *
1348
+ * Useful for reviewing AI-generated adaptations before committing them
1349
+ * as SocialPost records.
1350
+ *
1351
+ * @param id - The unique identifier of the social campaign.
1352
+ * @param attributes - Must include `campaign_id` and `workspace_id`.
1353
+ * @param options - Optional request-level overrides.
1354
+ * @returns A promise resolving to preview adaptations per platform.
1355
+ *
1356
+ * @example
1357
+ * ```typescript
1358
+ * const result = await client.campaigns.socialCampaigns.previewAdaptations('sc_abc', {
1359
+ * campaign_id: 'sc_abc',
1360
+ * workspace_id: 'ws_abc123',
1361
+ * });
1362
+ * console.log(result.adaptations); // [{platform: 'instagram', content: '...'}, ...]
1363
+ * ```
1364
+ */
1365
+ previewAdaptations: (id: string, attributes: PreviewAdaptationsAttributes, options?: RequestOptions) => Promise<Record<string, unknown>>;
971
1366
  };
972
1367
  };
973
1368
  //# sourceMappingURL=campaigns.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"campaigns.d.ts","sourceRoot":"","sources":["../../src/namespaces/campaigns.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACV,sBAAsB,EACtB,QAAQ,EACR,4BAA4B,EAC5B,sBAAsB,EACtB,2BAA2B,EAC5B,MAAM,wBAAwB,CAAC;AAChC,OAAO,KAAK,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAyClE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAGpD,qEAAqE;AACrE,MAAM,MAAM,sBAAsB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAE7D,oDAAoD;AACpD,MAAM,MAAM,wBAAwB,GAAG;IACrC,YAAY,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cAAc,EAAE,CAAC;QAU5B;;;;;;;;;;;;;;;;;;;WAmBG;6BAEW,8BAA8B,YAChC,cAAc,KACvB,OAAO,CAAC,cAAc,CAAC;QAQ1B;;;;;;;;;;;;;;;WAeG;qBAEG,MAAM,cACE,8BAA8B,YAChC,cAAc,KACvB,OAAO,CAAC,cAAc,CAAC;QAa1B;;;;;;;;;;;WAWG;qBACgB,MAAM,YAAY,cAAc,KAAG,OAAO,CAAC,IAAI,CAAC;QAQnE;;;;;;;;;;;;;;;;WAgBG;uBAEG,MAAM,cACE,gCAAgC,YAClC,cAAc,KACvB,OAAO,CAAC,cAAc,CAAC;QAa1B;;;;;;;;;;;;;;;WAeG;qBAEG,MAAM,YACA,cAAc,KACvB,OAAO,CAAC,cAAc,CAAC;QAW1B;;;;;;;;;;;;;;;;;;;;WAoBG;iCAEG,MAAM,cACE,4BAA4B,YAC9B,cAAc,KACvB,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;QAQnC;;;;;;;;;;;;;;;;;;;;WAoBG;gCAEG,MAAM,cACE,2BAA2B,YAC7B,cAAc,KACvB,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;QAQnC;;;;;;;;;;;;;;;;;;;WAmBG;iCAEG,MAAM,cACE,4BAA4B,YAC9B,cAAc,KACvB,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;;EASxC"}
@@ -11,16 +11,20 @@ import { RequestBuilder } from "../request-builder";
11
11
  * - `"pipeline_execution"` — Pipeline HITL checkpoint events (reached, approved, rejected)
12
12
  * - `"activity"` — Workspace activity feed
13
13
  * - `"workspace"` — Workspace-level notifications
14
+ * - `"extraction"` — Real-time extraction processing events (document_uploaded, document_processed, workflow_*, batch_*)
14
15
  * - `"extraction_export"` — Document extraction exports
15
16
  * - `"campaigns_export"` — Campaign export progress
17
+ * - `"email"` — Email events (outbound sent/failed/scheduled, tracking, unsubscribes, inbound received/routing)
16
18
  * - `"email_builder"` — Email builder live preview
17
19
  * - `"watcher"` — File watcher events
18
20
  * - `"crm"` — CRM entity changes (contacts, companies, deals, activities, relationships)
21
+ * - `"invoices"` — Invoice events (status changes, payments, overdue, enrichment, recurring generation)
19
22
  * - `"scheduling"` — Scheduling events (bookings, cancellations, rescheduling)
20
23
  * - `"clinical"` — Clinical events (patients, sessions, notes) — IDs only, no PHI
21
24
  * - `"import"` — Per-import progress events (topic: `import:{importId}`) — validation, progress, completion, failure
22
25
  * - `"social"` — Social media events (accounts, posts, metrics, trending, campaigns)
23
26
  * - `"automation"` — Automation events (run completed, run failed)
27
+ * - `"recipes"` — Recipe events (enrichment completed/failed, shopping list generated, nutrition summary computed)
24
28
  */
25
29
  export interface ChannelTokenRequest {
26
30
  /** The workspace UUID to scope the token to. */
@@ -1 +1 @@
1
- {"version":3,"file":"channels.d.ts","sourceRoot":"","sources":["../../src/namespaces/channels.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEpD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAM,WAAW,mBAAmB;IAClC,gDAAgD;IAChD,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,QAAQ,EAAE,MAAM,EAAE,CAAC;CACpB;AAED,gDAAgD;AAChD,MAAM,WAAW,oBAAoB;IACnC,uDAAuD;IACvD,YAAY,EAAE,MAAM,CAAC;IACrB,iCAAiC;IACjC,SAAS,EAAE,MAAM,CAAC;IAClB,mCAAmC;IACnC,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,6CAA6C;IAC7C,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,wDAAwD;AACxD,MAAM,WAAW,oBAAoB;IACnC,0BAA0B;IAC1B,WAAW,EAAE,MAAM,CAAC;IACpB,qCAAqC;IACrC,QAAQ,EAAE,MAAM,EAAE,CAAC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