@wix/auto_sdk_email-marketing_campaigns 1.0.69 → 1.0.70

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 (37) hide show
  1. package/build/cjs/index.d.ts +34 -34
  2. package/build/cjs/index.js +170 -170
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +557 -539
  5. package/build/cjs/index.typings.js +154 -154
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +479 -479
  8. package/build/cjs/meta.js +134 -134
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +34 -34
  11. package/build/es/index.mjs +170 -170
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +557 -539
  14. package/build/es/index.typings.mjs +154 -154
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +479 -479
  17. package/build/es/meta.mjs +134 -134
  18. package/build/es/meta.mjs.map +1 -1
  19. package/build/internal/cjs/index.d.ts +34 -34
  20. package/build/internal/cjs/index.js +170 -170
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +557 -539
  23. package/build/internal/cjs/index.typings.js +154 -154
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +479 -479
  26. package/build/internal/cjs/meta.js +134 -134
  27. package/build/internal/cjs/meta.js.map +1 -1
  28. package/build/internal/es/index.d.mts +34 -34
  29. package/build/internal/es/index.mjs +170 -170
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +557 -539
  32. package/build/internal/es/index.typings.mjs +154 -154
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +479 -479
  35. package/build/internal/es/meta.mjs +134 -134
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +2 -2
@@ -1,4 +1,4 @@
1
- import { GetCampaignRequest as GetCampaignRequest$1, GetCampaignResponse as GetCampaignResponse$1, ListCampaignsRequest as ListCampaignsRequest$1, ListCampaignsResponse as ListCampaignsResponse$1, PublishCampaignRequest as PublishCampaignRequest$1, PublishCampaignResponse as PublishCampaignResponse$1, SendTestRequest as SendTestRequest$1, SendTestResponse as SendTestResponse$1, PauseSchedulingRequest as PauseSchedulingRequest$1, PauseSchedulingResponse as PauseSchedulingResponse$1, RescheduleRequest as RescheduleRequest$1, RescheduleResponse as RescheduleResponse$1, DeleteCampaignRequest as DeleteCampaignRequest$1, DeleteCampaignResponse as DeleteCampaignResponse$1, ReuseCampaignRequest as ReuseCampaignRequest$1, ReuseCampaignResponse as ReuseCampaignResponse$1, GetAudienceRequest as GetAudienceRequest$1, GetAudienceResponse as GetAudienceResponse$1, IdentifySenderAddressRequest as IdentifySenderAddressRequest$1, IdentifySenderAddressResponse as IdentifySenderAddressResponse$1, ValidateLinkRequest as ValidateLinkRequest$1, ValidateLinkResponse as ValidateLinkResponse$1, ValidateHtmlLinksRequest as ValidateHtmlLinksRequest$1, ValidateHtmlLinksResponse as ValidateHtmlLinksResponse$1, ListStatisticsRequest as ListStatisticsRequest$1, ListStatisticsResponse as ListStatisticsResponse$1, ListRecipientsRequest as ListRecipientsRequest$1, ListRecipientsResponse as ListRecipientsResponse$1 } from './index.typings.js';
1
+ import { ListStatisticsRequest as ListStatisticsRequest$1, ListStatisticsResponse as ListStatisticsResponse$1, ListRecipientsRequest as ListRecipientsRequest$1, ListRecipientsResponse as ListRecipientsResponse$1, GetCampaignRequest as GetCampaignRequest$1, GetCampaignResponse as GetCampaignResponse$1, ListCampaignsRequest as ListCampaignsRequest$1, ListCampaignsResponse as ListCampaignsResponse$1, PublishCampaignRequest as PublishCampaignRequest$1, PublishCampaignResponse as PublishCampaignResponse$1, SendTestRequest as SendTestRequest$1, SendTestResponse as SendTestResponse$1, PauseSchedulingRequest as PauseSchedulingRequest$1, PauseSchedulingResponse as PauseSchedulingResponse$1, RescheduleRequest as RescheduleRequest$1, RescheduleResponse as RescheduleResponse$1, DeleteCampaignRequest as DeleteCampaignRequest$1, DeleteCampaignResponse as DeleteCampaignResponse$1, ReuseCampaignRequest as ReuseCampaignRequest$1, ReuseCampaignResponse as ReuseCampaignResponse$1, GetAudienceRequest as GetAudienceRequest$1, GetAudienceResponse as GetAudienceResponse$1, IdentifySenderAddressRequest as IdentifySenderAddressRequest$1, IdentifySenderAddressResponse as IdentifySenderAddressResponse$1, ValidateLinkRequest as ValidateLinkRequest$1, ValidateLinkResponse as ValidateLinkResponse$1, ValidateHtmlLinksRequest as ValidateHtmlLinksRequest$1, ValidateHtmlLinksResponse as ValidateHtmlLinksResponse$1 } from './index.typings.js';
2
2
  import '@wix/sdk-types';
3
3
 
4
4
  interface Campaign {
@@ -214,23 +214,361 @@ declare enum CampaignTypeEnum {
214
214
  }
215
215
  /** @enumType */
216
216
  type CampaignTypeEnumWithLiterals = CampaignTypeEnum | 'UNKNOWN' | 'EMAIL_MARKETING' | 'INVITATION' | 'AUTOMATION' | 'TRIGGERED';
217
- interface GetPlaceholderKeysRequest {
217
+ interface GetCampaignMappingRequest {
218
+ /**
219
+ * rule ID in automations
220
+ * @format GUID
221
+ */
222
+ automationRuleId?: string;
223
+ /**
224
+ * template ID configured for the automation
225
+ * @format GUID
226
+ */
227
+ templateId?: string;
228
+ }
229
+ interface GetCampaignMappingResponse {
230
+ /** @format GUID */
231
+ campaignId?: string;
232
+ }
233
+ interface UpsertTranslationRequest {
218
234
  /**
219
235
  * Campaign ID.
220
236
  * @format GUID
221
237
  */
222
238
  campaignId?: string;
239
+ /** Composer data. */
240
+ composer?: Composer;
241
+ /**
242
+ * Translation language (optional, default value "EN").
243
+ * @format LANGUAGE
244
+ */
245
+ language?: string | null;
246
+ /**
247
+ * For BI event [36:1031] only (optional, default value "n/a").
248
+ * @format GUID
249
+ */
250
+ automationRuleId?: string | null;
251
+ /** Should campaign also be published or not (default value "false"). */
252
+ publish?: boolean;
253
+ /**
254
+ * Campaign subject (optional).
255
+ * @maxLength 1000
256
+ */
257
+ emailSubject?: string | null;
258
+ /**
259
+ * Campaign preheader (optional).
260
+ * @maxLength 1000
261
+ */
262
+ emailPreheader?: string | null;
223
263
  }
224
- interface GetPlaceholderKeysResponse {
225
- /** Keys of placeholders used in the campaign. */
264
+ interface Composer {
265
+ /**
266
+ * Internal data structure for editor/viewer to render the campaign.
267
+ * @maxLength 10000000
268
+ */
269
+ composerDataJson?: string;
270
+ /** Default values of existing placeholders. */
271
+ defaultValues?: DefaultValues;
272
+ }
273
+ interface DefaultValues {
274
+ /** @maxSize 500 */
275
+ map?: Record<string, string>;
276
+ }
277
+ interface UpsertTranslationResponse {
278
+ }
279
+ interface GetUsedPlaceholderKeysRequest {
280
+ /**
281
+ * Campaign ID.
282
+ * @format GUID
283
+ */
284
+ campaignId?: string;
285
+ }
286
+ interface GetUsedPlaceholderKeysResponse {
287
+ /**
288
+ * Keys of placeholders used in the automation.
289
+ * @maxLength 200
290
+ * @maxSize 300
291
+ */
226
292
  placeholderKeys?: string[];
227
293
  }
228
- interface GetDefaultComponentsRequest {
294
+ interface LookupCampaignMappingRequest {
295
+ /**
296
+ * rule ID in automations
297
+ * @format GUID
298
+ */
299
+ automationRuleId?: string;
300
+ /**
301
+ * template ID configured for the automation
302
+ * @format GUID
303
+ */
304
+ templateId?: string;
229
305
  }
230
- interface GetDefaultComponentsResponse {
231
- footer?: Record<string, any> | null;
232
- logo?: Record<string, any> | null;
233
- follow?: Record<string, any> | null;
306
+ interface LookupCampaignMappingResponse {
307
+ /** @format GUID */
308
+ campaignId?: string | null;
309
+ }
310
+ interface UpsertAutomationTranslatorContentRequest {
311
+ /**
312
+ * Campaign ID that the content belongs to
313
+ * @format GUID
314
+ */
315
+ campaignId?: string;
316
+ /** Automation translator content */
317
+ automationTranslatorContent?: AutomationTranslatorContent;
318
+ }
319
+ /** Automation Translator Content */
320
+ interface AutomationTranslatorContent {
321
+ /**
322
+ * AutomationTranslatorContent ID
323
+ * @minLength 1
324
+ * @maxLength 256
325
+ * @immutable
326
+ */
327
+ id?: string;
328
+ /**
329
+ * Content that can contain multiple strings. It represents a json file, that is stored on Smartling
330
+ * @minLength 1
331
+ * @maxLength 800000
332
+ */
333
+ json?: string;
334
+ }
335
+ interface UpsertAutomationTranslatorContentResponse {
336
+ }
337
+ interface GetAutomationTranslatorContentRequest {
338
+ /**
339
+ * Campaign ID
340
+ * @format GUID
341
+ */
342
+ campaignId?: string;
343
+ }
344
+ interface GetAutomationTranslatorContentResponse {
345
+ /** Automation translator content */
346
+ automationTranslatorContent?: AutomationTranslatorContent;
347
+ }
348
+ interface SendTestBulkRequest {
349
+ /**
350
+ * Campaign ID
351
+ * @format GUID
352
+ */
353
+ campaignId?: string;
354
+ /**
355
+ * Recipient email address
356
+ * @format EMAIL
357
+ */
358
+ toEmailAddress?: string;
359
+ /** Values to replace campaign placeholders with (unique for each campaign) */
360
+ placeholders?: Record<string, PlaceholderContent>;
361
+ /**
362
+ * Sender from name
363
+ * @maxLength 100
364
+ */
365
+ fromName?: string | null;
366
+ /**
367
+ * Reply-to email address
368
+ * @format EMAIL
369
+ */
370
+ replyToEmailAddress?: string | null;
371
+ /**
372
+ * Preferred language for campaign content (optional). If not provided, a test email for each campaign language is sent
373
+ * @format LANGUAGE
374
+ */
375
+ language?: string | null;
376
+ }
377
+ interface PlaceholderContent extends PlaceholderContentValueOneOf {
378
+ text?: PlainText;
379
+ html?: Html;
380
+ money?: Money;
381
+ dateTime?: DateTime;
382
+ map?: Map;
383
+ array?: _Array;
384
+ enum?: PlaceholderContentEnum;
385
+ attachment?: Attachment;
386
+ integer?: Integer;
387
+ decimal?: Decimal;
388
+ }
389
+ /** @oneof */
390
+ interface PlaceholderContentValueOneOf {
391
+ text?: PlainText;
392
+ html?: Html;
393
+ money?: Money;
394
+ dateTime?: DateTime;
395
+ map?: Map;
396
+ array?: _Array;
397
+ enum?: PlaceholderContentEnum;
398
+ attachment?: Attachment;
399
+ integer?: Integer;
400
+ decimal?: Decimal;
401
+ }
402
+ interface PlainText {
403
+ text?: string;
404
+ }
405
+ interface Html {
406
+ html?: string;
407
+ }
408
+ /**
409
+ * Money.
410
+ * Default format to use. Sufficiently compliant with majority of standards: w3c, ISO 4217, ISO 20022, ISO 8583:2003.
411
+ */
412
+ interface Money {
413
+ /**
414
+ * Monetary amount. Decimal string with a period as a decimal separator (e.g., 3.99). Optionally, a single (-), to indicate that the amount is negative.
415
+ * @format DECIMAL_VALUE
416
+ */
417
+ value?: string;
418
+ /**
419
+ * Currency code. Must be valid ISO 4217 currency code (e.g., USD).
420
+ * @format CURRENCY
421
+ */
422
+ currency?: string;
423
+ /** Monetary amount. Decimal string in local format (e.g., 1 000,30). Optionally, a single (-), to indicate that the amount is negative. */
424
+ formattedValue?: string | null;
425
+ }
426
+ interface DateTime {
427
+ timestamp?: Date | null;
428
+ /** optional time zone is the full name. example: "Asia/Jerusalem" */
429
+ timeZone?: string | null;
430
+ }
431
+ interface Map {
432
+ variables?: Record<string, PlaceholderContent>;
433
+ }
434
+ interface _Array {
435
+ items?: PlaceholderContent[];
436
+ }
437
+ interface PlaceholderContentEnum {
438
+ value?: string;
439
+ translation?: string;
440
+ }
441
+ interface Attachment {
442
+ fileName?: string;
443
+ downloadUrl?: string;
444
+ }
445
+ interface Integer {
446
+ /** min value: -2147483648, max value: 2147483647 */
447
+ value?: number;
448
+ }
449
+ interface Decimal {
450
+ /**
451
+ * when converted from Double, has a limitation of max 16 digits (including fractional part)
452
+ * highest possible value for precise representation is 9999999999999998 (9999999999999999 is represented as 10000000000000000)
453
+ * @format DECIMAL_VALUE
454
+ */
455
+ value?: string;
456
+ }
457
+ interface SendTestBulkResponse {
458
+ }
459
+ interface ListStatisticsRequest {
460
+ /**
461
+ * IDs of the campaigns to retrieve (max 100 campaigns).
462
+ * @format GUID
463
+ * @minSize 1
464
+ * @maxSize 100
465
+ */
466
+ campaignIds: string[];
467
+ }
468
+ interface ListStatisticsResponse {
469
+ /** List of statistics. */
470
+ statistics?: CampaignStatisticsContainer[];
471
+ }
472
+ interface CampaignStatisticsContainer {
473
+ /**
474
+ * Campaign ID.
475
+ * @format GUID
476
+ */
477
+ campaignId?: string;
478
+ /** Landing page statistics. */
479
+ landingPage?: LandingPageStatistics;
480
+ /** Email campaign statistics. */
481
+ email?: DistributionStatistics;
482
+ }
483
+ interface ListRecipientsRequest {
484
+ /**
485
+ * Campaign ID.
486
+ * @format GUID
487
+ */
488
+ campaignId: string;
489
+ /** Email activity to filter. */
490
+ activity: RecipientsActivityEnumWithLiterals;
491
+ /** Pagination options. */
492
+ paging?: CursorPaging;
493
+ }
494
+ declare enum RecipientsActivityEnum {
495
+ UNKNOWN = "UNKNOWN",
496
+ DELIVERED = "DELIVERED",
497
+ OPENED = "OPENED",
498
+ CLICKED = "CLICKED",
499
+ BOUNCED = "BOUNCED",
500
+ NOT_SENT = "NOT_SENT",
501
+ SENT = "SENT",
502
+ NOT_OPENED = "NOT_OPENED"
503
+ }
504
+ /** @enumType */
505
+ type RecipientsActivityEnumWithLiterals = RecipientsActivityEnum | 'UNKNOWN' | 'DELIVERED' | 'OPENED' | 'CLICKED' | 'BOUNCED' | 'NOT_SENT' | 'SENT' | 'NOT_OPENED';
506
+ interface CursorPaging {
507
+ /**
508
+ * Number of items to load.
509
+ * @max 1000
510
+ */
511
+ limit?: number | null;
512
+ /**
513
+ * Pointer to the next or previous page in the list of results.
514
+ *
515
+ * You can get the relevant cursor token
516
+ * from the `pagingMetadata` object in the previous call's response.
517
+ * Not relevant for the first request.
518
+ * @maxLength 1000
519
+ */
520
+ cursor?: string | null;
521
+ }
522
+ interface ListRecipientsResponse {
523
+ /** List of recipients. */
524
+ recipients?: CampaignRecipientDetails[];
525
+ /** Details on the paged set of returned results. */
526
+ pagingMetadata?: PagingMetadataV2;
527
+ }
528
+ interface CampaignRecipientDetails {
529
+ /**
530
+ * Contact ID.
531
+ * @format GUID
532
+ */
533
+ contactId?: string;
534
+ /** Date and time of the last activity. */
535
+ lastActivityDate?: Date | null;
536
+ /**
537
+ * Primary email address of the contact.
538
+ * @format EMAIL
539
+ */
540
+ emailAddress?: string;
541
+ /**
542
+ * Full name of the contact (optional).
543
+ * @maxLength 100
544
+ */
545
+ fullName?: string | null;
546
+ /** Is this contact currently deleted from the site or not. */
547
+ contactDeleted?: boolean;
548
+ }
549
+ interface PagingMetadataV2 {
550
+ /** Number of items returned in the response. */
551
+ count?: number | null;
552
+ /** Offset that was requested. */
553
+ offset?: number | null;
554
+ /** Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set. */
555
+ total?: number | null;
556
+ /** Flag that indicates the server failed to calculate the `total` field. */
557
+ tooManyToCount?: boolean | null;
558
+ /** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
559
+ cursors?: Cursors;
560
+ }
561
+ interface Cursors {
562
+ /**
563
+ * Cursor string pointing to the next page in the list of results.
564
+ * @maxLength 16000
565
+ */
566
+ next?: string | null;
567
+ /**
568
+ * Cursor pointing to the previous page in the list of results.
569
+ * @maxLength 16000
570
+ */
571
+ prev?: string | null;
234
572
  }
235
573
  interface GetCampaignRequest {
236
574
  /**
@@ -516,102 +854,22 @@ interface Scheduled {
516
854
  /** Shows if this is a rescheduling of previously scheduled campaign. */
517
855
  rescheduled?: boolean;
518
856
  }
519
- interface SendTestRequest {
520
- /**
521
- * Campaign ID.
522
- * @format GUID
523
- */
524
- campaignId: string;
525
- /**
526
- * Email subject.
527
- * @maxLength 1000
528
- */
529
- emailSubject?: string | null;
530
- /**
531
- * Recipient email address.
532
- * @format EMAIL
533
- */
534
- toEmailAddress: string;
535
- }
536
- interface PlaceholderContent extends PlaceholderContentValueOneOf {
537
- text?: PlainText;
538
- html?: Html;
539
- money?: Money;
540
- dateTime?: DateTime;
541
- map?: Map;
542
- array?: _Array;
543
- enum?: PlaceholderContentEnum;
544
- attachment?: Attachment;
545
- integer?: Integer;
546
- decimal?: Decimal;
547
- }
548
- /** @oneof */
549
- interface PlaceholderContentValueOneOf {
550
- text?: PlainText;
551
- html?: Html;
552
- money?: Money;
553
- dateTime?: DateTime;
554
- map?: Map;
555
- array?: _Array;
556
- enum?: PlaceholderContentEnum;
557
- attachment?: Attachment;
558
- integer?: Integer;
559
- decimal?: Decimal;
560
- }
561
- interface PlainText {
562
- text?: string;
563
- }
564
- interface Html {
565
- html?: string;
566
- }
567
- /**
568
- * Money.
569
- * Default format to use. Sufficiently compliant with majority of standards: w3c, ISO 4217, ISO 20022, ISO 8583:2003.
570
- */
571
- interface Money {
572
- /**
573
- * Monetary amount. Decimal string with a period as a decimal separator (e.g., 3.99). Optionally, a single (-), to indicate that the amount is negative.
574
- * @format DECIMAL_VALUE
575
- */
576
- value?: string;
577
- /**
578
- * Currency code. Must be valid ISO 4217 currency code (e.g., USD).
579
- * @format CURRENCY
580
- */
581
- currency?: string;
582
- /** Monetary amount. Decimal string in local format (e.g., 1 000,30). Optionally, a single (-), to indicate that the amount is negative. */
583
- formattedValue?: string | null;
584
- }
585
- interface DateTime {
586
- timestamp?: Date | null;
587
- /** optional time zone is the full name. example: "Asia/Jerusalem" */
588
- timeZone?: string | null;
589
- }
590
- interface Map {
591
- variables?: Record<string, PlaceholderContent>;
592
- }
593
- interface _Array {
594
- items?: PlaceholderContent[];
595
- }
596
- interface PlaceholderContentEnum {
597
- value?: string;
598
- translation?: string;
599
- }
600
- interface Attachment {
601
- fileName?: string;
602
- downloadUrl?: string;
603
- }
604
- interface Integer {
605
- /** min value: -2147483648, max value: 2147483647 */
606
- value?: number;
607
- }
608
- interface Decimal {
857
+ interface SendTestRequest {
609
858
  /**
610
- * when converted from Double, has a limitation of max 16 digits (including fractional part)
611
- * highest possible value for precise representation is 9999999999999998 (9999999999999999 is represented as 10000000000000000)
612
- * @format DECIMAL_VALUE
859
+ * Campaign ID.
860
+ * @format GUID
613
861
  */
614
- value?: string;
862
+ campaignId: string;
863
+ /**
864
+ * Email subject.
865
+ * @maxLength 1000
866
+ */
867
+ emailSubject?: string | null;
868
+ /**
869
+ * Recipient email address.
870
+ * @format EMAIL
871
+ */
872
+ toEmailAddress: string;
615
873
  }
616
874
  interface SendTestResponse {
617
875
  }
@@ -756,19 +1014,6 @@ interface GetComposerResponse {
756
1014
  */
757
1015
  emailPreheader?: string | null;
758
1016
  }
759
- interface Composer {
760
- /**
761
- * Internal data structure for editor/viewer to render the campaign.
762
- * @maxLength 10000000
763
- */
764
- composerDataJson?: string;
765
- /** Default values of existing placeholders. */
766
- defaultValues?: DefaultValues;
767
- }
768
- interface DefaultValues {
769
- /** @maxSize 500 */
770
- map?: Record<string, string>;
771
- }
772
1017
  interface UpdateComposerRequest {
773
1018
  /**
774
1019
  * Campaign ID.
@@ -1026,150 +1271,23 @@ declare enum WebhookIdentityType {
1026
1271
  }
1027
1272
  /** @enumType */
1028
1273
  type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
1029
- interface EstimateFilterSizeRequest {
1030
- /** Contacts filter expression. */
1031
- filter?: Record<string, any> | null;
1032
- /** Should "inactive" contacts be excluded or not (default value "false"). */
1033
- activeContactsOnly?: boolean;
1034
- /**
1035
- * Contacts plain text search expression (searches in name, phone and email fields).
1036
- * @minLength 1
1037
- * @maxLength 100
1038
- */
1039
- search?: string | null;
1040
- }
1041
- interface EstimateFilterSizeResponse {
1042
- /** Mailing list size estimation. */
1043
- estimation?: number;
1044
- }
1045
- interface EstimateAudienceSizeRequest {
1046
- /**
1047
- * Contact IDs of a campaign audience.
1048
- * @format GUID
1049
- */
1050
- contactIds?: string[];
1051
- /** Label IDs of a campaign audience. */
1052
- labelIds?: string[];
1053
- /** Contacts filter expression (json). */
1054
- contactsFilter?: Record<string, any> | null;
1055
- /**
1056
- * Contacts plain text search expression (searches in name, phone and email fields).
1057
- * @minLength 1
1058
- * @maxLength 100
1059
- */
1060
- search?: string | null;
1061
- /**
1062
- * Segment ids of a campaign audience.
1063
- * @format GUID
1064
- */
1065
- segmentIds?: string[];
1066
- /** Should "inactive" contacts be excluded or not (default value "false"). */
1067
- activeContactsOnly?: boolean;
1068
- /**
1069
- * Id of a campaign that is to be resent.
1070
- * @format GUID
1071
- */
1072
- resendCampaignId?: string | null;
1073
- /** Should total number of contacts in provided audience be returned or not (default value "false"). */
1074
- withTotal?: boolean;
1075
- }
1076
- interface EstimateAudienceSizeResponse {
1077
- /** Audience size (estimated number of emails to be sent). */
1078
- estimation?: number;
1079
- /** Total number of contacts in provided audience (optional). */
1080
- total?: number | null;
1081
- }
1082
- interface ReconcileContactRequest {
1083
- /**
1084
- * Email address of the contact.
1085
- * @format EMAIL
1086
- */
1087
- emailAddress?: string;
1088
- }
1089
- interface ReconcileContactResponse {
1090
- /** Created or retrieved contact. */
1091
- contact?: Contact;
1092
- }
1093
- interface Contact {
1274
+ interface GetPlaceholderKeysRequest {
1094
1275
  /**
1095
- * Unique ID of the contact entity.
1276
+ * Campaign ID.
1096
1277
  * @format GUID
1097
1278
  */
1098
- id?: string;
1099
- /**
1100
- * Primary email address of the contact.
1101
- * @format EMAIL
1102
- */
1103
- emailAddress?: string;
1104
- /**
1105
- * Full name of the contact (optional).
1106
- * @maxLength 100
1107
- */
1108
- fullName?: string | null;
1109
- /**
1110
- * Profile picture of the contact (optional).
1111
- * @format WEB_URL
1112
- * @maxLength 2048
1113
- */
1114
- pictureUrl?: string | null;
1115
- }
1116
- interface SearchContactsRequest {
1117
- /**
1118
- * Text to search contacts by - can search by name or email address.
1119
- * @maxLength 100
1120
- */
1121
- searchTerm?: string;
1122
- /** Should "inactive" contacts be excluded or not (default value "false"). */
1123
- activeContactsOnly?: boolean;
1124
- /**
1125
- * Page size (default 50, max 1000).
1126
- * @max 1000
1127
- */
1128
- pageSize?: number | null;
1129
- }
1130
- interface SearchContactsResponse {
1131
- /** Search results. */
1132
- contacts?: Contact[];
1133
- }
1134
- interface GetLabelsRequest {
1135
- /** Should "inactive" contacts be excluded or not (default value "false"). */
1136
- activeContactsOnly?: boolean;
1137
- }
1138
- interface GetLabelsResponse {
1139
- /** Returned labels with contact counts. */
1140
- labels?: Label[];
1279
+ campaignId?: string;
1141
1280
  }
1142
- interface Label {
1143
- /**
1144
- * Unique ID of the label entity.
1145
- * @maxLength 100
1146
- */
1147
- id?: string;
1148
- /**
1149
- * Name of the label.
1150
- * @maxLength 100
1151
- */
1152
- name?: string;
1153
- /** Amount of contacts assigned to the label. */
1154
- contactsCount?: number;
1281
+ interface GetPlaceholderKeysResponse {
1282
+ /** Keys of placeholders used in the campaign. */
1283
+ placeholderKeys?: string[];
1155
1284
  }
1156
- interface SubscribeFromLandingPageRequest {
1157
- /**
1158
- * Campaign ID that the subscription is happening from.
1159
- * @format GUID
1160
- */
1161
- campaignId?: string;
1162
- /**
1163
- * Email address that is entered into subscription field.
1164
- * @format EMAIL
1165
- */
1166
- emailAddress?: string;
1167
- /** Did UoU explicitly consent to terms of use or not (optional, default value "false") */
1168
- consent?: boolean;
1285
+ interface GetDefaultComponentsRequest {
1169
1286
  }
1170
- interface SubscribeFromLandingPageResponse {
1171
- /** @format GUID */
1172
- contactId?: string;
1287
+ interface GetDefaultComponentsResponse {
1288
+ footer?: Record<string, any> | null;
1289
+ logo?: Record<string, any> | null;
1290
+ follow?: Record<string, any> | null;
1173
1291
  }
1174
1292
  interface ValidateLinkRequest {
1175
1293
  /**
@@ -1182,279 +1300,161 @@ interface ValidateLinkResponse {
1182
1300
  /** Whether the link is valid. */
1183
1301
  valid?: boolean;
1184
1302
  }
1185
- interface ValidateHtmlLinksRequest {
1186
- /**
1187
- * HTML string with links.
1188
- * @maxLength 1000000
1189
- */
1190
- html: string;
1191
- }
1192
- interface ValidateHtmlLinksResponse {
1193
- /** Non-valid links. */
1194
- blacklistedLinks?: string[];
1195
- }
1196
- interface GetCampaignMappingRequest {
1197
- /**
1198
- * rule ID in automations
1199
- * @format GUID
1200
- */
1201
- automationRuleId?: string;
1202
- /**
1203
- * template ID configured for the automation
1204
- * @format GUID
1205
- */
1206
- templateId?: string;
1207
- }
1208
- interface GetCampaignMappingResponse {
1209
- /** @format GUID */
1210
- campaignId?: string;
1211
- }
1212
- interface UpsertTranslationRequest {
1213
- /**
1214
- * Campaign ID.
1215
- * @format GUID
1216
- */
1217
- campaignId?: string;
1218
- /** Composer data. */
1219
- composer?: Composer;
1220
- /**
1221
- * Translation language (optional, default value "EN").
1222
- * @format LANGUAGE
1223
- */
1224
- language?: string | null;
1225
- /**
1226
- * For BI event [36:1031] only (optional, default value "n/a").
1227
- * @format GUID
1228
- */
1229
- automationRuleId?: string | null;
1230
- /** Should campaign also be published or not (default value "false"). */
1231
- publish?: boolean;
1232
- /**
1233
- * Campaign subject (optional).
1234
- * @maxLength 1000
1235
- */
1236
- emailSubject?: string | null;
1237
- /**
1238
- * Campaign preheader (optional).
1239
- * @maxLength 1000
1240
- */
1241
- emailPreheader?: string | null;
1242
- }
1243
- interface UpsertTranslationResponse {
1244
- }
1245
- interface GetUsedPlaceholderKeysRequest {
1246
- /**
1247
- * Campaign ID.
1248
- * @format GUID
1249
- */
1250
- campaignId?: string;
1251
- }
1252
- interface GetUsedPlaceholderKeysResponse {
1253
- /**
1254
- * Keys of placeholders used in the automation.
1255
- * @maxLength 200
1256
- * @maxSize 300
1257
- */
1258
- placeholderKeys?: string[];
1259
- }
1260
- interface LookupCampaignMappingRequest {
1303
+ interface ValidateHtmlLinksRequest {
1261
1304
  /**
1262
- * rule ID in automations
1263
- * @format GUID
1305
+ * HTML string with links.
1306
+ * @maxLength 1000000
1264
1307
  */
1265
- automationRuleId?: string;
1308
+ html: string;
1309
+ }
1310
+ interface ValidateHtmlLinksResponse {
1311
+ /** Non-valid links. */
1312
+ blacklistedLinks?: string[];
1313
+ }
1314
+ interface EstimateFilterSizeRequest {
1315
+ /** Contacts filter expression. */
1316
+ filter?: Record<string, any> | null;
1317
+ /** Should "inactive" contacts be excluded or not (default value "false"). */
1318
+ activeContactsOnly?: boolean;
1266
1319
  /**
1267
- * template ID configured for the automation
1268
- * @format GUID
1320
+ * Contacts plain text search expression (searches in name, phone and email fields).
1321
+ * @minLength 1
1322
+ * @maxLength 100
1269
1323
  */
1270
- templateId?: string;
1324
+ search?: string | null;
1271
1325
  }
1272
- interface LookupCampaignMappingResponse {
1273
- /** @format GUID */
1274
- campaignId?: string | null;
1326
+ interface EstimateFilterSizeResponse {
1327
+ /** Mailing list size estimation. */
1328
+ estimation?: number;
1275
1329
  }
1276
- interface UpsertAutomationTranslatorContentRequest {
1330
+ interface EstimateAudienceSizeRequest {
1277
1331
  /**
1278
- * Campaign ID that the content belongs to
1332
+ * Contact IDs of a campaign audience.
1279
1333
  * @format GUID
1280
1334
  */
1281
- campaignId?: string;
1282
- /** Automation translator content */
1283
- automationTranslatorContent?: AutomationTranslatorContent;
1284
- }
1285
- /** Automation Translator Content */
1286
- interface AutomationTranslatorContent {
1335
+ contactIds?: string[];
1336
+ /** Label IDs of a campaign audience. */
1337
+ labelIds?: string[];
1338
+ /** Contacts filter expression (json). */
1339
+ contactsFilter?: Record<string, any> | null;
1287
1340
  /**
1288
- * AutomationTranslatorContent ID
1341
+ * Contacts plain text search expression (searches in name, phone and email fields).
1289
1342
  * @minLength 1
1290
- * @maxLength 256
1291
- * @immutable
1343
+ * @maxLength 100
1292
1344
  */
1293
- id?: string;
1345
+ search?: string | null;
1294
1346
  /**
1295
- * Content that can contain multiple strings. It represents a json file, that is stored on Smartling
1296
- * @minLength 1
1297
- * @maxLength 800000
1347
+ * Segment ids of a campaign audience.
1348
+ * @format GUID
1298
1349
  */
1299
- json?: string;
1350
+ segmentIds?: string[];
1351
+ /** Should "inactive" contacts be excluded or not (default value "false"). */
1352
+ activeContactsOnly?: boolean;
1353
+ /**
1354
+ * Id of a campaign that is to be resent.
1355
+ * @format GUID
1356
+ */
1357
+ resendCampaignId?: string | null;
1358
+ /** Should total number of contacts in provided audience be returned or not (default value "false"). */
1359
+ withTotal?: boolean;
1300
1360
  }
1301
- interface UpsertAutomationTranslatorContentResponse {
1361
+ interface EstimateAudienceSizeResponse {
1362
+ /** Audience size (estimated number of emails to be sent). */
1363
+ estimation?: number;
1364
+ /** Total number of contacts in provided audience (optional). */
1365
+ total?: number | null;
1302
1366
  }
1303
- interface GetAutomationTranslatorContentRequest {
1367
+ interface ReconcileContactRequest {
1304
1368
  /**
1305
- * Campaign ID
1306
- * @format GUID
1369
+ * Email address of the contact.
1370
+ * @format EMAIL
1307
1371
  */
1308
- campaignId?: string;
1372
+ emailAddress?: string;
1309
1373
  }
1310
- interface GetAutomationTranslatorContentResponse {
1311
- /** Automation translator content */
1312
- automationTranslatorContent?: AutomationTranslatorContent;
1374
+ interface ReconcileContactResponse {
1375
+ /** Created or retrieved contact. */
1376
+ contact?: Contact;
1313
1377
  }
1314
- interface SendTestBulkRequest {
1378
+ interface Contact {
1315
1379
  /**
1316
- * Campaign ID
1380
+ * Unique ID of the contact entity.
1317
1381
  * @format GUID
1318
1382
  */
1319
- campaignId?: string;
1383
+ id?: string;
1320
1384
  /**
1321
- * Recipient email address
1385
+ * Primary email address of the contact.
1322
1386
  * @format EMAIL
1323
1387
  */
1324
- toEmailAddress?: string;
1325
- /** Values to replace campaign placeholders with (unique for each campaign) */
1326
- placeholders?: Record<string, PlaceholderContent>;
1388
+ emailAddress?: string;
1327
1389
  /**
1328
- * Sender from name
1390
+ * Full name of the contact (optional).
1329
1391
  * @maxLength 100
1330
1392
  */
1331
- fromName?: string | null;
1332
- /**
1333
- * Reply-to email address
1334
- * @format EMAIL
1335
- */
1336
- replyToEmailAddress?: string | null;
1393
+ fullName?: string | null;
1337
1394
  /**
1338
- * Preferred language for campaign content (optional). If not provided, a test email for each campaign language is sent
1339
- * @format LANGUAGE
1395
+ * Profile picture of the contact (optional).
1396
+ * @format WEB_URL
1397
+ * @maxLength 2048
1340
1398
  */
1341
- language?: string | null;
1342
- }
1343
- interface SendTestBulkResponse {
1399
+ pictureUrl?: string | null;
1344
1400
  }
1345
- interface ListStatisticsRequest {
1401
+ interface SearchContactsRequest {
1346
1402
  /**
1347
- * IDs of the campaigns to retrieve (max 100 campaigns).
1348
- * @format GUID
1349
- * @minSize 1
1350
- * @maxSize 100
1403
+ * Text to search contacts by - can search by name or email address.
1404
+ * @maxLength 100
1351
1405
  */
1352
- campaignIds: string[];
1353
- }
1354
- interface ListStatisticsResponse {
1355
- /** List of statistics. */
1356
- statistics?: CampaignStatisticsContainer[];
1357
- }
1358
- interface CampaignStatisticsContainer {
1406
+ searchTerm?: string;
1407
+ /** Should "inactive" contacts be excluded or not (default value "false"). */
1408
+ activeContactsOnly?: boolean;
1359
1409
  /**
1360
- * Campaign ID.
1361
- * @format GUID
1410
+ * Page size (default 50, max 1000).
1411
+ * @max 1000
1362
1412
  */
1363
- campaignId?: string;
1364
- /** Landing page statistics. */
1365
- landingPage?: LandingPageStatistics;
1366
- /** Email campaign statistics. */
1367
- email?: DistributionStatistics;
1413
+ pageSize?: number | null;
1368
1414
  }
1369
- interface ListRecipientsRequest {
1370
- /**
1371
- * Campaign ID.
1372
- * @format GUID
1373
- */
1374
- campaignId: string;
1375
- /** Email activity to filter. */
1376
- activity: RecipientsActivityEnumWithLiterals;
1377
- /** Pagination options. */
1378
- paging?: CursorPaging;
1415
+ interface SearchContactsResponse {
1416
+ /** Search results. */
1417
+ contacts?: Contact[];
1379
1418
  }
1380
- declare enum RecipientsActivityEnum {
1381
- UNKNOWN = "UNKNOWN",
1382
- DELIVERED = "DELIVERED",
1383
- OPENED = "OPENED",
1384
- CLICKED = "CLICKED",
1385
- BOUNCED = "BOUNCED",
1386
- NOT_SENT = "NOT_SENT",
1387
- SENT = "SENT",
1388
- NOT_OPENED = "NOT_OPENED"
1419
+ interface GetLabelsRequest {
1420
+ /** Should "inactive" contacts be excluded or not (default value "false"). */
1421
+ activeContactsOnly?: boolean;
1389
1422
  }
1390
- /** @enumType */
1391
- type RecipientsActivityEnumWithLiterals = RecipientsActivityEnum | 'UNKNOWN' | 'DELIVERED' | 'OPENED' | 'CLICKED' | 'BOUNCED' | 'NOT_SENT' | 'SENT' | 'NOT_OPENED';
1392
- interface CursorPaging {
1423
+ interface GetLabelsResponse {
1424
+ /** Returned labels with contact counts. */
1425
+ labels?: Label[];
1426
+ }
1427
+ interface Label {
1393
1428
  /**
1394
- * Number of items to load.
1395
- * @max 1000
1429
+ * Unique ID of the label entity.
1430
+ * @maxLength 100
1396
1431
  */
1397
- limit?: number | null;
1432
+ id?: string;
1398
1433
  /**
1399
- * Pointer to the next or previous page in the list of results.
1400
- *
1401
- * You can get the relevant cursor token
1402
- * from the `pagingMetadata` object in the previous call's response.
1403
- * Not relevant for the first request.
1404
- * @maxLength 1000
1434
+ * Name of the label.
1435
+ * @maxLength 100
1405
1436
  */
1406
- cursor?: string | null;
1407
- }
1408
- interface ListRecipientsResponse {
1409
- /** List of recipients. */
1410
- recipients?: CampaignRecipientDetails[];
1411
- /** Details on the paged set of returned results. */
1412
- pagingMetadata?: PagingMetadataV2;
1437
+ name?: string;
1438
+ /** Amount of contacts assigned to the label. */
1439
+ contactsCount?: number;
1413
1440
  }
1414
- interface CampaignRecipientDetails {
1441
+ interface SubscribeFromLandingPageRequest {
1415
1442
  /**
1416
- * Contact ID.
1443
+ * Campaign ID that the subscription is happening from.
1417
1444
  * @format GUID
1418
1445
  */
1419
- contactId?: string;
1420
- /** Date and time of the last activity. */
1421
- lastActivityDate?: Date | null;
1446
+ campaignId?: string;
1422
1447
  /**
1423
- * Primary email address of the contact.
1448
+ * Email address that is entered into subscription field.
1424
1449
  * @format EMAIL
1425
1450
  */
1426
1451
  emailAddress?: string;
1427
- /**
1428
- * Full name of the contact (optional).
1429
- * @maxLength 100
1430
- */
1431
- fullName?: string | null;
1432
- /** Is this contact currently deleted from the site or not. */
1433
- contactDeleted?: boolean;
1434
- }
1435
- interface PagingMetadataV2 {
1436
- /** Number of items returned in the response. */
1437
- count?: number | null;
1438
- /** Offset that was requested. */
1439
- offset?: number | null;
1440
- /** Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set. */
1441
- total?: number | null;
1442
- /** Flag that indicates the server failed to calculate the `total` field. */
1443
- tooManyToCount?: boolean | null;
1444
- /** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
1445
- cursors?: Cursors;
1452
+ /** Did UoU explicitly consent to terms of use or not (optional, default value "false") */
1453
+ consent?: boolean;
1446
1454
  }
1447
- interface Cursors {
1448
- /**
1449
- * Cursor string pointing to the next page in the list of results.
1450
- * @maxLength 16000
1451
- */
1452
- next?: string | null;
1453
- /**
1454
- * Cursor pointing to the previous page in the list of results.
1455
- * @maxLength 16000
1456
- */
1457
- prev?: string | null;
1455
+ interface SubscribeFromLandingPageResponse {
1456
+ /** @format GUID */
1457
+ contactId?: string;
1458
1458
  }
1459
1459
  /** @docsIgnore */
1460
1460
  type PublishApplicationErrors = {
@@ -1481,6 +1481,10 @@ type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q
1481
1481
  __responseType: Q;
1482
1482
  __originalResponseType: R;
1483
1483
  };
1484
+ declare function listStatistics(): __PublicMethodMetaInfo<'GET', {}, ListStatisticsRequest$1, ListStatisticsRequest, ListStatisticsResponse$1, ListStatisticsResponse>;
1485
+ declare function listRecipients(): __PublicMethodMetaInfo<'GET', {
1486
+ campaignId: string;
1487
+ }, ListRecipientsRequest$1, ListRecipientsRequest, ListRecipientsResponse$1, ListRecipientsResponse>;
1484
1488
  declare function getCampaign(): __PublicMethodMetaInfo<'GET', {
1485
1489
  campaignId: string;
1486
1490
  }, GetCampaignRequest$1, GetCampaignRequest, GetCampaignResponse$1, GetCampaignResponse>;
@@ -1509,9 +1513,5 @@ declare function getAudience(): __PublicMethodMetaInfo<'POST', {
1509
1513
  declare function identifySenderAddress(): __PublicMethodMetaInfo<'POST', {}, IdentifySenderAddressRequest$1, IdentifySenderAddressRequest, IdentifySenderAddressResponse$1, IdentifySenderAddressResponse>;
1510
1514
  declare function validateLink(): __PublicMethodMetaInfo<'POST', {}, ValidateLinkRequest$1, ValidateLinkRequest, ValidateLinkResponse$1, ValidateLinkResponse>;
1511
1515
  declare function validateHtmlLinks(): __PublicMethodMetaInfo<'POST', {}, ValidateHtmlLinksRequest$1, ValidateHtmlLinksRequest, ValidateHtmlLinksResponse$1, ValidateHtmlLinksResponse>;
1512
- declare function listStatistics(): __PublicMethodMetaInfo<'GET', {}, ListStatisticsRequest$1, ListStatisticsRequest, ListStatisticsResponse$1, ListStatisticsResponse>;
1513
- declare function listRecipients(): __PublicMethodMetaInfo<'GET', {
1514
- campaignId: string;
1515
- }, ListRecipientsRequest$1, ListRecipientsRequest, ListRecipientsResponse$1, ListRecipientsResponse>;
1516
1516
 
1517
1517
  export { type ActionEvent as ActionEventOriginal, ActivityType as ActivityTypeOriginal, type ActivityTypeWithLiterals as ActivityTypeWithLiteralsOriginal, type ArchiveCampaignRequest as ArchiveCampaignRequestOriginal, type ArchiveCampaignResponse as ArchiveCampaignResponseOriginal, type Archived as ArchivedOriginal, type Attachment as AttachmentOriginal, type AutomationTranslatorContent as AutomationTranslatorContentOriginal, type CampaignAudience as CampaignAudienceOriginal, CampaignEditorTypeEnum as CampaignEditorTypeEnumOriginal, type CampaignEditorTypeEnumWithLiterals as CampaignEditorTypeEnumWithLiteralsOriginal, type CampaignEditorType as CampaignEditorTypeOriginal, type Campaign as CampaignOriginal, type CampaignRecipientDetails as CampaignRecipientDetailsOriginal, CampaignSendingStateEnum as CampaignSendingStateEnumOriginal, type CampaignSendingStateEnumWithLiterals as CampaignSendingStateEnumWithLiteralsOriginal, type CampaignStatisticsContainer as CampaignStatisticsContainerOriginal, type CampaignStatistics as CampaignStatisticsOriginal, CampaignStatusEnum as CampaignStatusEnumOriginal, type CampaignStatusEnumWithLiterals as CampaignStatusEnumWithLiteralsOriginal, CampaignTypeEnum as CampaignTypeEnumOriginal, type CampaignTypeEnumWithLiterals as CampaignTypeEnumWithLiteralsOriginal, CampaignVisibilityStatusEnum as CampaignVisibilityStatusEnumOriginal, type CampaignVisibilityStatusEnumWithLiterals as CampaignVisibilityStatusEnumWithLiteralsOriginal, type Click as ClickOriginal, type Composer as ComposerOriginal, type Contact as ContactOriginal, type CountCampaignsRequest as CountCampaignsRequestOriginal, type CountCampaignsResponse as CountCampaignsResponseOriginal, type CreateCampaignRequest as CreateCampaignRequestOriginal, type CreateCampaignResponse as CreateCampaignResponseOriginal, type CreateFromTemplateRequest as CreateFromTemplateRequestOriginal, type CreateFromTemplateResponse as CreateFromTemplateResponseOriginal, type CreateFromUserTemplateRequest as CreateFromUserTemplateRequestOriginal, type CreateFromUserTemplateResponse as CreateFromUserTemplateResponseOriginal, type CreateUserTemplateRequest as CreateUserTemplateRequestOriginal, type CreateUserTemplateResponse as CreateUserTemplateResponseOriginal, type CursorPaging as CursorPagingOriginal, type Cursors as CursorsOriginal, type DateTime as DateTimeOriginal, type Decimal as DecimalOriginal, type DefaultValues as DefaultValuesOriginal, type DeleteCampaignRequest as DeleteCampaignRequestOriginal, type DeleteCampaignResponse as DeleteCampaignResponseOriginal, type Distributed as DistributedOriginal, type DistributionStatistics as DistributionStatisticsOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type EmailActivityUpdatedEventTypeOneOf as EmailActivityUpdatedEventTypeOneOfOriginal, type EmailActivityUpdated as EmailActivityUpdatedOriginal, type EmailDistributionOptions as EmailDistributionOptionsOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, Enum as EnumOriginal, type EnumWithLiterals as EnumWithLiteralsOriginal, type EstimateAudienceSizeRequest as EstimateAudienceSizeRequestOriginal, type EstimateAudienceSizeResponse as EstimateAudienceSizeResponseOriginal, type EstimateFilterSizeRequest as EstimateFilterSizeRequestOriginal, type EstimateFilterSizeResponse as EstimateFilterSizeResponseOriginal, type GetAudienceRequest as GetAudienceRequestOriginal, type GetAudienceResponse as GetAudienceResponseOriginal, type GetAutomationTranslatorContentRequest as GetAutomationTranslatorContentRequestOriginal, type GetAutomationTranslatorContentResponse as GetAutomationTranslatorContentResponseOriginal, type GetCampaignMappingRequest as GetCampaignMappingRequestOriginal, type GetCampaignMappingResponse as GetCampaignMappingResponseOriginal, type GetCampaignRequest as GetCampaignRequestOriginal, type GetCampaignResponse as GetCampaignResponseOriginal, type GetComposerRequest as GetComposerRequestOriginal, type GetComposerResponse as GetComposerResponseOriginal, type GetDefaultComponentsRequest as GetDefaultComponentsRequestOriginal, type GetDefaultComponentsResponse as GetDefaultComponentsResponseOriginal, type GetLabelsRequest as GetLabelsRequestOriginal, type GetLabelsResponse as GetLabelsResponseOriginal, type GetPlaceholderKeysRequest as GetPlaceholderKeysRequestOriginal, type GetPlaceholderKeysResponse as GetPlaceholderKeysResponseOriginal, type GetUsedPlaceholderKeysRequest as GetUsedPlaceholderKeysRequestOriginal, type GetUsedPlaceholderKeysResponse as GetUsedPlaceholderKeysResponseOriginal, type HardBounce as HardBounceOriginal, type Html as HtmlOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type IdentifySenderAddressRequest as IdentifySenderAddressRequestOriginal, type IdentifySenderAddressResponse as IdentifySenderAddressResponseOriginal, type Integer as IntegerOriginal, type Label as LabelOriginal, type LandingPageStatistics as LandingPageStatisticsOriginal, type ListCampaignsRequest as ListCampaignsRequestOriginal, type ListCampaignsResponse as ListCampaignsResponseOriginal, type ListRecipientsRequest as ListRecipientsRequestOriginal, type ListRecipientsResponse as ListRecipientsResponseOriginal, type ListStatisticsRequest as ListStatisticsRequestOriginal, type ListStatisticsResponse as ListStatisticsResponseOriginal, type LookupCampaignMappingRequest as LookupCampaignMappingRequestOriginal, type LookupCampaignMappingResponse as LookupCampaignMappingResponseOriginal, type Map as MapOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type Money as MoneyOriginal, type Open as OpenOriginal, type PagingMetadataV2 as PagingMetadataV2Original, type Paging as PagingOriginal, type PauseSchedulingRequest as PauseSchedulingRequestOriginal, type PauseSchedulingResponse as PauseSchedulingResponseOriginal, type Paused as PausedOriginal, type PlaceholderContentEnum as PlaceholderContentEnumOriginal, type PlaceholderContent as PlaceholderContentOriginal, type PlaceholderContentValueOneOf as PlaceholderContentValueOneOfOriginal, type PlainText as PlainTextOriginal, type PreviewCampaignRequest as PreviewCampaignRequestOriginal, type PreviewCampaignResponse as PreviewCampaignResponseOriginal, type PublishApplicationErrors as PublishApplicationErrorsOriginal, type PublishCampaignRequest as PublishCampaignRequestOriginal, type PublishCampaignResponse as PublishCampaignResponseOriginal, type Published as PublishedOriginal, type PublishingData as PublishingDataOriginal, RecipientsActivityEnum as RecipientsActivityEnumOriginal, type RecipientsActivityEnumWithLiterals as RecipientsActivityEnumWithLiteralsOriginal, type ReconcileContactRequest as ReconcileContactRequestOriginal, type ReconcileContactResponse as ReconcileContactResponseOriginal, type Rejected as RejectedOriginal, type RejectionData as RejectionDataOriginal, RejectionReasonEnum as RejectionReasonEnumOriginal, type RejectionReasonEnumWithLiterals as RejectionReasonEnumWithLiteralsOriginal, type RescheduleRequest as RescheduleRequestOriginal, type RescheduleResponse as RescheduleResponseOriginal, type ResendToNonOpenersRequest as ResendToNonOpenersRequestOriginal, type ResendToNonOpenersResponse as ResendToNonOpenersResponseOriginal, type RestoreInfo as RestoreInfoOriginal, type ReuseCampaignRequest as ReuseCampaignRequestOriginal, type ReuseCampaignResponse as ReuseCampaignResponseOriginal, type Scheduled as ScheduledOriginal, type SearchContactsRequest as SearchContactsRequestOriginal, type SearchContactsResponse as SearchContactsResponseOriginal, type SendTestBulkRequest as SendTestBulkRequestOriginal, type SendTestBulkResponse as SendTestBulkResponseOriginal, type SendTestRequest as SendTestRequestOriginal, type SendTestResponse as SendTestResponseOriginal, type SoftBounce as SoftBounceOriginal, type SubscribeFromLandingPageRequest as SubscribeFromLandingPageRequestOriginal, type SubscribeFromLandingPageResponse as SubscribeFromLandingPageResponseOriginal, type Terminated as TerminatedOriginal, type TotalStatistics as TotalStatisticsOriginal, type UnarchiveCampaignRequest as UnarchiveCampaignRequestOriginal, type UnarchiveCampaignResponse as UnarchiveCampaignResponseOriginal, type Unarchived as UnarchivedOriginal, type UpdateComposerRequest as UpdateComposerRequestOriginal, type UpdateComposerResponse as UpdateComposerResponseOriginal, type UpdateTitleRequest as UpdateTitleRequestOriginal, type UpdateTitleResponse as UpdateTitleResponseOriginal, type UpsertAutomationTranslatorContentRequest as UpsertAutomationTranslatorContentRequestOriginal, type UpsertAutomationTranslatorContentResponse as UpsertAutomationTranslatorContentResponseOriginal, type UpsertTranslationRequest as UpsertTranslationRequestOriginal, type UpsertTranslationResponse as UpsertTranslationResponseOriginal, type ValidateHtmlLinksRequest as ValidateHtmlLinksRequestOriginal, type ValidateHtmlLinksResponse as ValidateHtmlLinksResponseOriginal, type ValidateLinkRequest as ValidateLinkRequestOriginal, type ValidateLinkResponse as ValidateLinkResponseOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type _Array as _ArrayOriginal, type __PublicMethodMetaInfo, deleteCampaign, getAudience, getCampaign, identifySenderAddress, listCampaigns, listRecipients, listStatistics, pauseScheduling, publishCampaign, reschedule, reuseCampaign, sendTest, validateHtmlLinks, validateLink };