@wix/email-marketing 1.0.81 → 1.0.83

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/email-marketing",
3
- "version": "1.0.81",
3
+ "version": "1.0.83",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -18,9 +18,9 @@
18
18
  "type-bundles"
19
19
  ],
20
20
  "dependencies": {
21
- "@wix/email-marketing_account-details": "1.0.27",
22
- "@wix/email-marketing_campaigns": "1.0.35",
23
- "@wix/email-marketing_sender-details": "1.0.30"
21
+ "@wix/email-marketing_account-details": "1.0.28",
22
+ "@wix/email-marketing_campaigns": "1.0.36",
23
+ "@wix/email-marketing_sender-details": "1.0.31"
24
24
  },
25
25
  "devDependencies": {
26
26
  "glob": "^10.4.1",
@@ -45,5 +45,5 @@
45
45
  "fqdn": ""
46
46
  }
47
47
  },
48
- "falconPackageHash": "a5316e69cad77459f04ba21cb630ea2b4a278a0a7a6b807a5e8451d4"
48
+ "falconPackageHash": "8a5d2ce29cdf349bf609c51312a57bbe6a997253b9f0c971a1e8efb8"
49
49
  }
@@ -12,6 +12,10 @@ type Host<Environment = unknown> = {
12
12
  }>;
13
13
  };
14
14
  environment?: Environment;
15
+ /**
16
+ * Optional name of the environment, use for logging
17
+ */
18
+ name?: string;
15
19
  /**
16
20
  * Optional bast url to use for API requests, for example `www.wixapis.com`
17
21
  */
@@ -63,16 +67,16 @@ type APIMetadata = {
63
67
  packageName?: string;
64
68
  };
65
69
  type BuildRESTFunction<T extends RESTFunctionDescriptor> = T extends RESTFunctionDescriptor<infer U> ? U : never;
66
- type EventDefinition$2<Payload = unknown, Type extends string = string> = {
70
+ type EventDefinition<Payload = unknown, Type extends string = string> = {
67
71
  __type: 'event-definition';
68
72
  type: Type;
69
73
  isDomainEvent?: boolean;
70
74
  transformations?: (envelope: unknown) => Payload;
71
75
  __payload: Payload;
72
76
  };
73
- declare function EventDefinition$2<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition$2<Payload, Type>;
74
- type EventHandler$2<T extends EventDefinition$2> = (payload: T['__payload']) => void | Promise<void>;
75
- type BuildEventDefinition$2<T extends EventDefinition$2<any, string>> = (handler: EventHandler$2<T>) => void;
77
+ declare function EventDefinition<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition<Payload, Type>;
78
+ type EventHandler<T extends EventDefinition> = (payload: T['__payload']) => void | Promise<void>;
79
+ type BuildEventDefinition<T extends EventDefinition<any, string>> = (handler: EventHandler<T>) => void;
76
80
 
77
81
  type ServicePluginMethodInput = {
78
82
  request: any;
@@ -271,6 +275,72 @@ type Except<ObjectType, KeysType extends keyof ObjectType, Options extends Excep
271
275
  ? Partial<Record<KeysType, never>>
272
276
  : {});
273
277
 
278
+ /**
279
+ Returns a boolean for whether the given type is `never`.
280
+
281
+ @link https://github.com/microsoft/TypeScript/issues/31751#issuecomment-498526919
282
+ @link https://stackoverflow.com/a/53984913/10292952
283
+ @link https://www.zhenghao.io/posts/ts-never
284
+
285
+ Useful in type utilities, such as checking if something does not occur.
286
+
287
+ @example
288
+ ```
289
+ import type {IsNever, And} from 'type-fest';
290
+
291
+ // https://github.com/andnp/SimplyTyped/blob/master/src/types/strings.ts
292
+ type AreStringsEqual<A extends string, B extends string> =
293
+ And<
294
+ IsNever<Exclude<A, B>> extends true ? true : false,
295
+ IsNever<Exclude<B, A>> extends true ? true : false
296
+ >;
297
+
298
+ type EndIfEqual<I extends string, O extends string> =
299
+ AreStringsEqual<I, O> extends true
300
+ ? never
301
+ : void;
302
+
303
+ function endIfEqual<I extends string, O extends string>(input: I, output: O): EndIfEqual<I, O> {
304
+ if (input === output) {
305
+ process.exit(0);
306
+ }
307
+ }
308
+
309
+ endIfEqual('abc', 'abc');
310
+ //=> never
311
+
312
+ endIfEqual('abc', '123');
313
+ //=> void
314
+ ```
315
+
316
+ @category Type Guard
317
+ @category Utilities
318
+ */
319
+ type IsNever<T> = [T] extends [never] ? true : false;
320
+
321
+ /**
322
+ An if-else-like type that resolves depending on whether the given type is `never`.
323
+
324
+ @see {@link IsNever}
325
+
326
+ @example
327
+ ```
328
+ import type {IfNever} from 'type-fest';
329
+
330
+ type ShouldBeTrue = IfNever<never>;
331
+ //=> true
332
+
333
+ type ShouldBeBar = IfNever<'not never', 'foo', 'bar'>;
334
+ //=> 'bar'
335
+ ```
336
+
337
+ @category Type Guard
338
+ @category Utilities
339
+ */
340
+ type IfNever<T, TypeIfNever = true, TypeIfNotNever = false> = (
341
+ IsNever<T> extends true ? TypeIfNever : TypeIfNotNever
342
+ );
343
+
274
344
  /**
275
345
  Extract the keys from a type where the value type of the key extends the given `Condition`.
276
346
 
@@ -303,21 +373,19 @@ type StringKeysAndUndefined = ConditionalKeys<Example, string | undefined>;
303
373
 
304
374
  @category Object
305
375
  */
306
- type ConditionalKeys<Base, Condition> = NonNullable<
307
- // Wrap in `NonNullable` to strip away the `undefined` type from the produced union.
376
+ type ConditionalKeys<Base, Condition> =
308
377
  {
309
378
  // Map through all the keys of the given base type.
310
- [Key in keyof Base]:
379
+ [Key in keyof Base]-?:
311
380
  // Pick only keys with types extending the given `Condition` type.
312
381
  Base[Key] extends Condition
313
- // Retain this key since the condition passes.
314
- ? Key
382
+ // Retain this key
383
+ // If the value for the key extends never, only include it if `Condition` also extends never
384
+ ? IfNever<Base[Key], IfNever<Condition, Key, never>, Key>
315
385
  // Discard this key since the condition fails.
316
386
  : never;
317
-
318
387
  // Convert the produced object into a union type of the keys which passed the conditional test.
319
- }[keyof Base]
320
- >;
388
+ }[keyof Base];
321
389
 
322
390
  /**
323
391
  Exclude keys from a shape that matches the given `Condition`.
@@ -367,7 +435,7 @@ ConditionalKeys<Base, Condition>
367
435
  * can either be a REST module or a host module.
368
436
  * This type is recursive, so it can describe nested modules.
369
437
  */
370
- type Descriptors = RESTFunctionDescriptor | AmbassadorFunctionDescriptor | HostModule<any, any> | EventDefinition$2<any> | ServicePluginDefinition<any> | {
438
+ type Descriptors = RESTFunctionDescriptor | AmbassadorFunctionDescriptor | HostModule<any, any> | EventDefinition<any> | ServicePluginDefinition<any> | {
371
439
  [key: string]: Descriptors | PublicMetadata | any;
372
440
  };
373
441
  /**
@@ -380,7 +448,7 @@ type BuildDescriptors<T extends Descriptors, H extends Host<any> | undefined, De
380
448
  done: T;
381
449
  recurse: T extends {
382
450
  __type: typeof SERVICE_PLUGIN_ERROR_TYPE;
383
- } ? never : T extends AmbassadorFunctionDescriptor ? BuildAmbassadorFunction<T> : T extends RESTFunctionDescriptor ? BuildRESTFunction<T> : T extends EventDefinition$2<any> ? BuildEventDefinition$2<T> : T extends ServicePluginDefinition<any> ? BuildServicePluginDefinition<T> : T extends HostModule<any, any> ? HostModuleAPI<T> : ConditionalExcept<{
451
+ } ? never : T extends AmbassadorFunctionDescriptor ? BuildAmbassadorFunction<T> : T extends RESTFunctionDescriptor ? BuildRESTFunction<T> : T extends EventDefinition<any> ? BuildEventDefinition<T> : T extends ServicePluginDefinition<any> ? BuildServicePluginDefinition<T> : T extends HostModule<any, any> ? HostModuleAPI<T> : ConditionalExcept<{
384
452
  [Key in keyof T]: T[Key] extends Descriptors ? BuildDescriptors<T[Key], H, [
385
453
  -1,
386
454
  0,
@@ -1795,6 +1863,14 @@ interface ResendToNonOpenersResponse {
1795
1863
  /** ID of the newly created and resent campaign. */
1796
1864
  campaignId?: string;
1797
1865
  }
1866
+ interface ResolveFromAddressRequest {
1867
+ /** User's provided arbitrary email address. */
1868
+ emailAddress: string;
1869
+ }
1870
+ interface ResolveFromAddressResponse {
1871
+ /** Actual from-address that will be used for sending emails. */
1872
+ fromAddress?: string;
1873
+ }
1798
1874
  interface DomainEvent$1 extends DomainEventBodyOneOf$1 {
1799
1875
  createdEvent?: EntityCreatedEvent$1;
1800
1876
  updatedEvent?: EntityUpdatedEvent$1;
@@ -1981,6 +2057,9 @@ interface PublishCampaignResponseNonNullableFields {
1981
2057
  interface ReuseCampaignResponseNonNullableFields {
1982
2058
  campaign?: CampaignNonNullableFields;
1983
2059
  }
2060
+ interface ResolveFromAddressResponseNonNullableFields {
2061
+ fromAddress: string;
2062
+ }
1984
2063
  interface BaseEventMetadata$1 {
1985
2064
  /** App instance ID. */
1986
2065
  instanceId?: string | null;
@@ -2246,35 +2325,25 @@ interface ReuseCampaignSignature {
2246
2325
  */
2247
2326
  (campaignId: string): Promise<ReuseCampaignResponse & ReuseCampaignResponseNonNullableFields>;
2248
2327
  }
2249
- declare const onCampaignCreated$1: EventDefinition$2<CampaignCreatedEnvelope, "wix.email_marketing.v1.campaign_created">;
2250
- declare const onCampaignRejectedEvent$1: EventDefinition$2<CampaignRejectedEnvelope, "wix.email_marketing.v1.campaign_campaign_rejected_event">;
2251
- declare const onCampaignPublishedEvent$1: EventDefinition$2<CampaignPublishedEnvelope, "wix.email_marketing.v1.campaign_campaign_published_event">;
2252
- declare const onCampaignTerminatedEvent$1: EventDefinition$2<CampaignTerminatedEnvelope, "wix.email_marketing.v1.campaign_campaign_terminated_event">;
2253
- declare const onCampaignDistributedEvent$1: EventDefinition$2<CampaignDistributedEnvelope, "wix.email_marketing.v1.campaign_campaign_distributed_event">;
2254
- declare const onCampaignEmailActivityUpdated$1: EventDefinition$2<CampaignEmailActivityUpdatedEnvelope, "wix.email_marketing.v1.campaign_email_activity_updated">;
2255
- declare const onCampaignScheduledEvent$1: EventDefinition$2<CampaignScheduledEnvelope, "wix.email_marketing.v1.campaign_campaign_scheduled_event">;
2256
- declare const onCampaignPausedEvent$1: EventDefinition$2<CampaignPausedEnvelope, "wix.email_marketing.v1.campaign_campaign_paused_event">;
2257
- declare const onCampaignDeleted$1: EventDefinition$2<CampaignDeletedEnvelope, "wix.email_marketing.v1.campaign_deleted">;
2258
-
2259
- type EventDefinition$1<Payload = unknown, Type extends string = string> = {
2260
- __type: 'event-definition';
2261
- type: Type;
2262
- isDomainEvent?: boolean;
2263
- transformations?: (envelope: unknown) => Payload;
2264
- __payload: Payload;
2265
- };
2266
- declare function EventDefinition$1<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition$1<Payload, Type>;
2267
- type EventHandler$1<T extends EventDefinition$1> = (payload: T['__payload']) => void | Promise<void>;
2268
- type BuildEventDefinition$1<T extends EventDefinition$1<any, string>> = (handler: EventHandler$1<T>) => void;
2269
-
2270
- declare global {
2271
- // eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
2272
- interface SymbolConstructor {
2273
- readonly observable: symbol;
2274
- }
2328
+ declare function resolveFromAddress$1(httpClient: HttpClient): ResolveFromAddressSignature;
2329
+ interface ResolveFromAddressSignature {
2330
+ /**
2331
+ * Check if user's email address will be used as from address or will it be replaced and to what exactly.
2332
+ * @param - User's provided arbitrary email address.
2333
+ */
2334
+ (emailAddress: string): Promise<ResolveFromAddressResponse & ResolveFromAddressResponseNonNullableFields>;
2275
2335
  }
2336
+ declare const onCampaignCreated$1: EventDefinition<CampaignCreatedEnvelope, "wix.email_marketing.v1.campaign_created">;
2337
+ declare const onCampaignRejectedEvent$1: EventDefinition<CampaignRejectedEnvelope, "wix.email_marketing.v1.campaign_campaign_rejected_event">;
2338
+ declare const onCampaignPublishedEvent$1: EventDefinition<CampaignPublishedEnvelope, "wix.email_marketing.v1.campaign_campaign_published_event">;
2339
+ declare const onCampaignTerminatedEvent$1: EventDefinition<CampaignTerminatedEnvelope, "wix.email_marketing.v1.campaign_campaign_terminated_event">;
2340
+ declare const onCampaignDistributedEvent$1: EventDefinition<CampaignDistributedEnvelope, "wix.email_marketing.v1.campaign_campaign_distributed_event">;
2341
+ declare const onCampaignEmailActivityUpdated$1: EventDefinition<CampaignEmailActivityUpdatedEnvelope, "wix.email_marketing.v1.campaign_email_activity_updated">;
2342
+ declare const onCampaignScheduledEvent$1: EventDefinition<CampaignScheduledEnvelope, "wix.email_marketing.v1.campaign_campaign_scheduled_event">;
2343
+ declare const onCampaignPausedEvent$1: EventDefinition<CampaignPausedEnvelope, "wix.email_marketing.v1.campaign_campaign_paused_event">;
2344
+ declare const onCampaignDeleted$1: EventDefinition<CampaignDeletedEnvelope, "wix.email_marketing.v1.campaign_deleted">;
2276
2345
 
2277
- declare function createEventModule$1<T extends EventDefinition$1<any, string>>(eventDefinition: T): BuildEventDefinition$1<T> & T;
2346
+ declare function createEventModule$1<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
2278
2347
 
2279
2348
  declare const validateLink: MaybeContext<BuildRESTFunction<typeof validateLink$1> & typeof validateLink$1>;
2280
2349
  declare const validateHtmlLinks: MaybeContext<BuildRESTFunction<typeof validateHtmlLinks$1> & typeof validateHtmlLinks$1>;
@@ -2288,6 +2357,7 @@ declare const pauseScheduling: MaybeContext<BuildRESTFunction<typeof pauseSchedu
2288
2357
  declare const reschedule: MaybeContext<BuildRESTFunction<typeof reschedule$1> & typeof reschedule$1>;
2289
2358
  declare const deleteCampaign: MaybeContext<BuildRESTFunction<typeof deleteCampaign$1> & typeof deleteCampaign$1>;
2290
2359
  declare const reuseCampaign: MaybeContext<BuildRESTFunction<typeof reuseCampaign$1> & typeof reuseCampaign$1>;
2360
+ declare const resolveFromAddress: MaybeContext<BuildRESTFunction<typeof resolveFromAddress$1> & typeof resolveFromAddress$1>;
2291
2361
 
2292
2362
  type _publicOnCampaignCreatedType = typeof onCampaignCreated$1;
2293
2363
  /** */
@@ -2505,6 +2575,9 @@ type context$1_RescheduleRequest = RescheduleRequest;
2505
2575
  type context$1_RescheduleResponse = RescheduleResponse;
2506
2576
  type context$1_ResendToNonOpenersRequest = ResendToNonOpenersRequest;
2507
2577
  type context$1_ResendToNonOpenersResponse = ResendToNonOpenersResponse;
2578
+ type context$1_ResolveFromAddressRequest = ResolveFromAddressRequest;
2579
+ type context$1_ResolveFromAddressResponse = ResolveFromAddressResponse;
2580
+ type context$1_ResolveFromAddressResponseNonNullableFields = ResolveFromAddressResponseNonNullableFields;
2508
2581
  type context$1_ReuseCampaignRequest = ReuseCampaignRequest;
2509
2582
  type context$1_ReuseCampaignResponse = ReuseCampaignResponse;
2510
2583
  type context$1_ReuseCampaignResponseNonNullableFields = ReuseCampaignResponseNonNullableFields;
@@ -2578,12 +2651,13 @@ declare const context$1_onCampaignTerminatedEvent: typeof onCampaignTerminatedEv
2578
2651
  declare const context$1_pauseScheduling: typeof pauseScheduling;
2579
2652
  declare const context$1_publishCampaign: typeof publishCampaign;
2580
2653
  declare const context$1_reschedule: typeof reschedule;
2654
+ declare const context$1_resolveFromAddress: typeof resolveFromAddress;
2581
2655
  declare const context$1_reuseCampaign: typeof reuseCampaign;
2582
2656
  declare const context$1_sendTest: typeof sendTest;
2583
2657
  declare const context$1_validateHtmlLinks: typeof validateHtmlLinks;
2584
2658
  declare const context$1_validateLink: typeof validateLink;
2585
2659
  declare namespace context$1 {
2586
- export { type context$1_ActionConfiguration as ActionConfiguration, type ActionEvent$1 as ActionEvent, type context$1_ActivationCycle as ActivationCycle, context$1_ActivityType as ActivityType, type context$1_ArchiveCampaignRequest as ArchiveCampaignRequest, type context$1_ArchiveCampaignResponse as ArchiveCampaignResponse, type context$1_Attachment as Attachment, type context$1_AutomationTemplate as AutomationTemplate, type context$1_AutomationTemplateContainer as AutomationTemplateContainer, type context$1_AutomationTemplateEnrichmentData as AutomationTemplateEnrichmentData, type BaseEventMetadata$1 as BaseEventMetadata, type context$1_Campaign as Campaign, type context$1_CampaignArchivedEvent as CampaignArchivedEvent, type context$1_CampaignCreatedEnvelope as CampaignCreatedEnvelope, type context$1_CampaignDeletedEnvelope as CampaignDeletedEnvelope, type context$1_CampaignDistributedEnvelope as CampaignDistributedEnvelope, type context$1_CampaignDistributedEvent as CampaignDistributedEvent, type context$1_CampaignEditorType as CampaignEditorType, context$1_CampaignEditorTypeEnum as CampaignEditorTypeEnum, type context$1_CampaignEmailActivityUpdatedEnvelope as CampaignEmailActivityUpdatedEnvelope, type context$1_CampaignLookupBatchRequest as CampaignLookupBatchRequest, type context$1_CampaignLookupBatchResponse as CampaignLookupBatchResponse, type context$1_CampaignLookupRequest as CampaignLookupRequest, type context$1_CampaignLookupResponse as CampaignLookupResponse, type context$1_CampaignNonNullableFields as CampaignNonNullableFields, type context$1_CampaignPausedEnvelope as CampaignPausedEnvelope, type context$1_CampaignPausedEvent as CampaignPausedEvent, type context$1_CampaignPublishedEnvelope as CampaignPublishedEnvelope, type context$1_CampaignPublishedEvent as CampaignPublishedEvent, type context$1_CampaignRecipientDetails as CampaignRecipientDetails, type context$1_CampaignRejectedEnvelope as CampaignRejectedEnvelope, type context$1_CampaignRejectedEvent as CampaignRejectedEvent, type context$1_CampaignScheduledEnvelope as CampaignScheduledEnvelope, type context$1_CampaignScheduledEvent as CampaignScheduledEvent, context$1_CampaignSendingStateEnum as CampaignSendingStateEnum, type context$1_CampaignStatistics as CampaignStatistics, type context$1_CampaignStatisticsContainer as CampaignStatisticsContainer, context$1_CampaignStatusEnum as CampaignStatusEnum, type context$1_CampaignTerminatedEnvelope as CampaignTerminatedEnvelope, type context$1_CampaignTerminatedEvent as CampaignTerminatedEvent, context$1_CampaignTypeEnum as CampaignTypeEnum, type context$1_CampaignUnarchivedEvent as CampaignUnarchivedEvent, context$1_CampaignVisibilityStatusEnum as CampaignVisibilityStatusEnum, type context$1_Click as Click, type context$1_Composer as Composer, type context$1_ConditionConfiguration as ConditionConfiguration, type context$1_Contact as Contact, type context$1_CountCampaignsRequest as CountCampaignsRequest, type context$1_CountCampaignsResponse as CountCampaignsResponse, type context$1_CreateCampaignRequest as CreateCampaignRequest, type context$1_CreateCampaignResponse as CreateCampaignResponse, type context$1_CreateFromTemplateRequest as CreateFromTemplateRequest, type context$1_CreateFromTemplateResponse as CreateFromTemplateResponse, type context$1_CreateFromUserTemplateRequest as CreateFromUserTemplateRequest, type context$1_CreateFromUserTemplateResponse as CreateFromUserTemplateResponse, type context$1_CreateUserTemplateRequest as CreateUserTemplateRequest, type context$1_CreateUserTemplateResponse as CreateUserTemplateResponse, type context$1_CursorPaging as CursorPaging, type context$1_Cursors as Cursors, type context$1_DateTime as DateTime, type context$1_Decimal as Decimal, type context$1_DefaultValues as DefaultValues, type context$1_DeleteCampaignRequest as DeleteCampaignRequest, type context$1_DeleteCampaignResponse as DeleteCampaignResponse, type context$1_DistributionStatistics as DistributionStatistics, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type context$1_EmailActivityUpdated as EmailActivityUpdated, type context$1_EmailActivityUpdatedEventTypeOneOf as EmailActivityUpdatedEventTypeOneOf, type context$1_EmailDistributionOptions as EmailDistributionOptions, type EntityCreatedEvent$1 as EntityCreatedEvent, type EntityDeletedEvent$1 as EntityDeletedEvent, type EntityUpdatedEvent$1 as EntityUpdatedEvent, context$1_Enum as Enum, type context$1_EstimateAudienceSizeRequest as EstimateAudienceSizeRequest, type context$1_EstimateAudienceSizeResponse as EstimateAudienceSizeResponse, type context$1_EstimateFilterSizeRequest as EstimateFilterSizeRequest, type context$1_EstimateFilterSizeResponse as EstimateFilterSizeResponse, type EventMetadata$1 as EventMetadata, type context$1_GetCampaignMappingRequest as GetCampaignMappingRequest, type context$1_GetCampaignMappingResponse as GetCampaignMappingResponse, type context$1_GetCampaignOptions as GetCampaignOptions, type context$1_GetCampaignRequest as GetCampaignRequest, type context$1_GetCampaignResponse as GetCampaignResponse, type context$1_GetCampaignResponseNonNullableFields as GetCampaignResponseNonNullableFields, type context$1_GetComposerRequest as GetComposerRequest, type context$1_GetComposerResponse as GetComposerResponse, type context$1_GetDefaultComponentsRequest as GetDefaultComponentsRequest, type context$1_GetDefaultComponentsResponse as GetDefaultComponentsResponse, type context$1_GetLabelsRequest as GetLabelsRequest, type context$1_GetLabelsResponse as GetLabelsResponse, type context$1_GetPingCampaignMappingRequest as GetPingCampaignMappingRequest, type context$1_GetPingCampaignMappingResponse as GetPingCampaignMappingResponse, type context$1_GetPlaceholderKeysRequest as GetPlaceholderKeysRequest, type context$1_GetPlaceholderKeysResponse as GetPlaceholderKeysResponse, type context$1_GetUsedPlaceholderKeysRequest as GetUsedPlaceholderKeysRequest, type context$1_GetUsedPlaceholderKeysResponse as GetUsedPlaceholderKeysResponse, type context$1_HardBounce as HardBounce, type context$1_Html as Html, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, type context$1_Integer as Integer, type context$1_Label as Label, type context$1_LandingPageStatistics as LandingPageStatistics, type context$1_ListCampaignsOptions as ListCampaignsOptions, type context$1_ListCampaignsRequest as ListCampaignsRequest, type context$1_ListCampaignsResponse as ListCampaignsResponse, type context$1_ListCampaignsResponseNonNullableFields as ListCampaignsResponseNonNullableFields, type context$1_ListRecipientsOptions as ListRecipientsOptions, type context$1_ListRecipientsRequest as ListRecipientsRequest, type context$1_ListRecipientsResponse as ListRecipientsResponse, type context$1_ListRecipientsResponseNonNullableFields as ListRecipientsResponseNonNullableFields, type context$1_ListStatisticsRequest as ListStatisticsRequest, type context$1_ListStatisticsResponse as ListStatisticsResponse, type context$1_ListStatisticsResponseNonNullableFields as ListStatisticsResponseNonNullableFields, type context$1_LookupCampaignMappingRequest as LookupCampaignMappingRequest, type context$1_LookupCampaignMappingResponse as LookupCampaignMappingResponse, type context$1_Map as Map, type MessageEnvelope$1 as MessageEnvelope, type context$1_Money as Money, type context$1_Open as Open, context$1_Operator as Operator, type context$1_Paging as Paging, type context$1_PagingMetadataV2 as PagingMetadataV2, type context$1_PauseSchedulingRequest as PauseSchedulingRequest, type context$1_PauseSchedulingResponse as PauseSchedulingResponse, type context$1_PlaceholderContent as PlaceholderContent, type context$1_PlaceholderContentEnum as PlaceholderContentEnum, type context$1_PlaceholderContentValueOneOf as PlaceholderContentValueOneOf, type context$1_PlainText as PlainText, type context$1_Precondition as Precondition, context$1_PreconditionType as PreconditionType, type context$1_PreviewCampaignRequest as PreviewCampaignRequest, type context$1_PreviewCampaignResponse as PreviewCampaignResponse, type context$1_PublishCampaignOptions as PublishCampaignOptions, type context$1_PublishCampaignRequest as PublishCampaignRequest, type context$1_PublishCampaignResponse as PublishCampaignResponse, type context$1_PublishCampaignResponseNonNullableFields as PublishCampaignResponseNonNullableFields, type context$1_PublishingData as PublishingData, type context$1_Query as Query, type context$1_QueryAppTemplatesRequest as QueryAppTemplatesRequest, type context$1_QueryAppTemplatesResponse as QueryAppTemplatesResponse, type context$1_QueryAutomationTemplatesRequest as QueryAutomationTemplatesRequest, type context$1_QueryAutomationTemplatesResponse as QueryAutomationTemplatesResponse, type context$1_QueryMetadata as QueryMetadata, context$1_RecipientsActivityEnum as RecipientsActivityEnum, type context$1_ReconcileContactRequest as ReconcileContactRequest, type context$1_ReconcileContactResponse as ReconcileContactResponse, type context$1_RejectionData as RejectionData, context$1_RejectionReasonEnum as RejectionReasonEnum, type context$1_RescheduleRequest as RescheduleRequest, type context$1_RescheduleResponse as RescheduleResponse, type context$1_ResendToNonOpenersRequest as ResendToNonOpenersRequest, type context$1_ResendToNonOpenersResponse as ResendToNonOpenersResponse, type RestoreInfo$1 as RestoreInfo, type context$1_ReuseCampaignRequest as ReuseCampaignRequest, type context$1_ReuseCampaignResponse as ReuseCampaignResponse, type context$1_ReuseCampaignResponseNonNullableFields as ReuseCampaignResponseNonNullableFields, type context$1_RuleConfiguration as RuleConfiguration, type context$1_RuleMetadata as RuleMetadata, context$1_RuleStatus as RuleStatus, type context$1_SearchContactsRequest as SearchContactsRequest, type context$1_SearchContactsResponse as SearchContactsResponse, type context$1_SendTestOptions as SendTestOptions, type context$1_SendTestRequest as SendTestRequest, type context$1_SendTestResponse as SendTestResponse, type context$1_SoftBounce as SoftBounce, context$1_SortOrder as SortOrder, type context$1_Sorting as Sorting, type context$1_SubscribeFromLandingPageRequest as SubscribeFromLandingPageRequest, type context$1_SubscribeFromLandingPageResponse as SubscribeFromLandingPageResponse, type context$1_TemplateData as TemplateData, context$1_TemplateQueryType as TemplateQueryType, context$1_TemplateState as TemplateState, context$1_TemplateType as TemplateType, type context$1_TotalStatistics as TotalStatistics, type context$1_Translation as Translation, context$1_TranslationState as TranslationState, type context$1_TriggerConfiguration as TriggerConfiguration, type context$1_UnarchiveCampaignRequest as UnarchiveCampaignRequest, type context$1_UnarchiveCampaignResponse as UnarchiveCampaignResponse, type context$1_UpdateComposerRequest as UpdateComposerRequest, type context$1_UpdateComposerResponse as UpdateComposerResponse, type context$1_UpdateTitleRequest as UpdateTitleRequest, type context$1_UpdateTitleResponse as UpdateTitleResponse, type context$1_UpsertTranslationRequest as UpsertTranslationRequest, type context$1_UpsertTranslationResponse as UpsertTranslationResponse, type context$1_ValidateHtmlLinksRequest as ValidateHtmlLinksRequest, type context$1_ValidateHtmlLinksResponse as ValidateHtmlLinksResponse, type context$1_ValidateHtmlLinksResponseNonNullableFields as ValidateHtmlLinksResponseNonNullableFields, type context$1_ValidateLinkRequest as ValidateLinkRequest, type context$1_ValidateLinkResponse as ValidateLinkResponse, type context$1_ValidateLinkResponseNonNullableFields as ValidateLinkResponseNonNullableFields, context$1_VersionType as VersionType, WebhookIdentityType$1 as WebhookIdentityType, type context$1__Array as _Array, type context$1__publicOnCampaignCreatedType as _publicOnCampaignCreatedType, type context$1__publicOnCampaignDeletedType as _publicOnCampaignDeletedType, type context$1__publicOnCampaignDistributedEventType as _publicOnCampaignDistributedEventType, type context$1__publicOnCampaignEmailActivityUpdatedType as _publicOnCampaignEmailActivityUpdatedType, type context$1__publicOnCampaignPausedEventType as _publicOnCampaignPausedEventType, type context$1__publicOnCampaignPublishedEventType as _publicOnCampaignPublishedEventType, type context$1__publicOnCampaignRejectedEventType as _publicOnCampaignRejectedEventType, type context$1__publicOnCampaignScheduledEventType as _publicOnCampaignScheduledEventType, type context$1__publicOnCampaignTerminatedEventType as _publicOnCampaignTerminatedEventType, context$1_deleteCampaign as deleteCampaign, context$1_getCampaign as getCampaign, context$1_listCampaigns as listCampaigns, context$1_listRecipients as listRecipients, context$1_listStatistics as listStatistics, context$1_onCampaignCreated as onCampaignCreated, context$1_onCampaignDeleted as onCampaignDeleted, context$1_onCampaignDistributedEvent as onCampaignDistributedEvent, context$1_onCampaignEmailActivityUpdated as onCampaignEmailActivityUpdated, context$1_onCampaignPausedEvent as onCampaignPausedEvent, context$1_onCampaignPublishedEvent as onCampaignPublishedEvent, context$1_onCampaignRejectedEvent as onCampaignRejectedEvent, context$1_onCampaignScheduledEvent as onCampaignScheduledEvent, context$1_onCampaignTerminatedEvent as onCampaignTerminatedEvent, context$1_pauseScheduling as pauseScheduling, onCampaignCreated$1 as publicOnCampaignCreated, onCampaignDeleted$1 as publicOnCampaignDeleted, onCampaignDistributedEvent$1 as publicOnCampaignDistributedEvent, onCampaignEmailActivityUpdated$1 as publicOnCampaignEmailActivityUpdated, onCampaignPausedEvent$1 as publicOnCampaignPausedEvent, onCampaignPublishedEvent$1 as publicOnCampaignPublishedEvent, onCampaignRejectedEvent$1 as publicOnCampaignRejectedEvent, onCampaignScheduledEvent$1 as publicOnCampaignScheduledEvent, onCampaignTerminatedEvent$1 as publicOnCampaignTerminatedEvent, context$1_publishCampaign as publishCampaign, context$1_reschedule as reschedule, context$1_reuseCampaign as reuseCampaign, context$1_sendTest as sendTest, context$1_validateHtmlLinks as validateHtmlLinks, context$1_validateLink as validateLink };
2660
+ export { type context$1_ActionConfiguration as ActionConfiguration, type ActionEvent$1 as ActionEvent, type context$1_ActivationCycle as ActivationCycle, context$1_ActivityType as ActivityType, type context$1_ArchiveCampaignRequest as ArchiveCampaignRequest, type context$1_ArchiveCampaignResponse as ArchiveCampaignResponse, type context$1_Attachment as Attachment, type context$1_AutomationTemplate as AutomationTemplate, type context$1_AutomationTemplateContainer as AutomationTemplateContainer, type context$1_AutomationTemplateEnrichmentData as AutomationTemplateEnrichmentData, type BaseEventMetadata$1 as BaseEventMetadata, type context$1_Campaign as Campaign, type context$1_CampaignArchivedEvent as CampaignArchivedEvent, type context$1_CampaignCreatedEnvelope as CampaignCreatedEnvelope, type context$1_CampaignDeletedEnvelope as CampaignDeletedEnvelope, type context$1_CampaignDistributedEnvelope as CampaignDistributedEnvelope, type context$1_CampaignDistributedEvent as CampaignDistributedEvent, type context$1_CampaignEditorType as CampaignEditorType, context$1_CampaignEditorTypeEnum as CampaignEditorTypeEnum, type context$1_CampaignEmailActivityUpdatedEnvelope as CampaignEmailActivityUpdatedEnvelope, type context$1_CampaignLookupBatchRequest as CampaignLookupBatchRequest, type context$1_CampaignLookupBatchResponse as CampaignLookupBatchResponse, type context$1_CampaignLookupRequest as CampaignLookupRequest, type context$1_CampaignLookupResponse as CampaignLookupResponse, type context$1_CampaignNonNullableFields as CampaignNonNullableFields, type context$1_CampaignPausedEnvelope as CampaignPausedEnvelope, type context$1_CampaignPausedEvent as CampaignPausedEvent, type context$1_CampaignPublishedEnvelope as CampaignPublishedEnvelope, type context$1_CampaignPublishedEvent as CampaignPublishedEvent, type context$1_CampaignRecipientDetails as CampaignRecipientDetails, type context$1_CampaignRejectedEnvelope as CampaignRejectedEnvelope, type context$1_CampaignRejectedEvent as CampaignRejectedEvent, type context$1_CampaignScheduledEnvelope as CampaignScheduledEnvelope, type context$1_CampaignScheduledEvent as CampaignScheduledEvent, context$1_CampaignSendingStateEnum as CampaignSendingStateEnum, type context$1_CampaignStatistics as CampaignStatistics, type context$1_CampaignStatisticsContainer as CampaignStatisticsContainer, context$1_CampaignStatusEnum as CampaignStatusEnum, type context$1_CampaignTerminatedEnvelope as CampaignTerminatedEnvelope, type context$1_CampaignTerminatedEvent as CampaignTerminatedEvent, context$1_CampaignTypeEnum as CampaignTypeEnum, type context$1_CampaignUnarchivedEvent as CampaignUnarchivedEvent, context$1_CampaignVisibilityStatusEnum as CampaignVisibilityStatusEnum, type context$1_Click as Click, type context$1_Composer as Composer, type context$1_ConditionConfiguration as ConditionConfiguration, type context$1_Contact as Contact, type context$1_CountCampaignsRequest as CountCampaignsRequest, type context$1_CountCampaignsResponse as CountCampaignsResponse, type context$1_CreateCampaignRequest as CreateCampaignRequest, type context$1_CreateCampaignResponse as CreateCampaignResponse, type context$1_CreateFromTemplateRequest as CreateFromTemplateRequest, type context$1_CreateFromTemplateResponse as CreateFromTemplateResponse, type context$1_CreateFromUserTemplateRequest as CreateFromUserTemplateRequest, type context$1_CreateFromUserTemplateResponse as CreateFromUserTemplateResponse, type context$1_CreateUserTemplateRequest as CreateUserTemplateRequest, type context$1_CreateUserTemplateResponse as CreateUserTemplateResponse, type context$1_CursorPaging as CursorPaging, type context$1_Cursors as Cursors, type context$1_DateTime as DateTime, type context$1_Decimal as Decimal, type context$1_DefaultValues as DefaultValues, type context$1_DeleteCampaignRequest as DeleteCampaignRequest, type context$1_DeleteCampaignResponse as DeleteCampaignResponse, type context$1_DistributionStatistics as DistributionStatistics, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type context$1_EmailActivityUpdated as EmailActivityUpdated, type context$1_EmailActivityUpdatedEventTypeOneOf as EmailActivityUpdatedEventTypeOneOf, type context$1_EmailDistributionOptions as EmailDistributionOptions, type EntityCreatedEvent$1 as EntityCreatedEvent, type EntityDeletedEvent$1 as EntityDeletedEvent, type EntityUpdatedEvent$1 as EntityUpdatedEvent, context$1_Enum as Enum, type context$1_EstimateAudienceSizeRequest as EstimateAudienceSizeRequest, type context$1_EstimateAudienceSizeResponse as EstimateAudienceSizeResponse, type context$1_EstimateFilterSizeRequest as EstimateFilterSizeRequest, type context$1_EstimateFilterSizeResponse as EstimateFilterSizeResponse, type EventMetadata$1 as EventMetadata, type context$1_GetCampaignMappingRequest as GetCampaignMappingRequest, type context$1_GetCampaignMappingResponse as GetCampaignMappingResponse, type context$1_GetCampaignOptions as GetCampaignOptions, type context$1_GetCampaignRequest as GetCampaignRequest, type context$1_GetCampaignResponse as GetCampaignResponse, type context$1_GetCampaignResponseNonNullableFields as GetCampaignResponseNonNullableFields, type context$1_GetComposerRequest as GetComposerRequest, type context$1_GetComposerResponse as GetComposerResponse, type context$1_GetDefaultComponentsRequest as GetDefaultComponentsRequest, type context$1_GetDefaultComponentsResponse as GetDefaultComponentsResponse, type context$1_GetLabelsRequest as GetLabelsRequest, type context$1_GetLabelsResponse as GetLabelsResponse, type context$1_GetPingCampaignMappingRequest as GetPingCampaignMappingRequest, type context$1_GetPingCampaignMappingResponse as GetPingCampaignMappingResponse, type context$1_GetPlaceholderKeysRequest as GetPlaceholderKeysRequest, type context$1_GetPlaceholderKeysResponse as GetPlaceholderKeysResponse, type context$1_GetUsedPlaceholderKeysRequest as GetUsedPlaceholderKeysRequest, type context$1_GetUsedPlaceholderKeysResponse as GetUsedPlaceholderKeysResponse, type context$1_HardBounce as HardBounce, type context$1_Html as Html, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, type context$1_Integer as Integer, type context$1_Label as Label, type context$1_LandingPageStatistics as LandingPageStatistics, type context$1_ListCampaignsOptions as ListCampaignsOptions, type context$1_ListCampaignsRequest as ListCampaignsRequest, type context$1_ListCampaignsResponse as ListCampaignsResponse, type context$1_ListCampaignsResponseNonNullableFields as ListCampaignsResponseNonNullableFields, type context$1_ListRecipientsOptions as ListRecipientsOptions, type context$1_ListRecipientsRequest as ListRecipientsRequest, type context$1_ListRecipientsResponse as ListRecipientsResponse, type context$1_ListRecipientsResponseNonNullableFields as ListRecipientsResponseNonNullableFields, type context$1_ListStatisticsRequest as ListStatisticsRequest, type context$1_ListStatisticsResponse as ListStatisticsResponse, type context$1_ListStatisticsResponseNonNullableFields as ListStatisticsResponseNonNullableFields, type context$1_LookupCampaignMappingRequest as LookupCampaignMappingRequest, type context$1_LookupCampaignMappingResponse as LookupCampaignMappingResponse, type context$1_Map as Map, type MessageEnvelope$1 as MessageEnvelope, type context$1_Money as Money, type context$1_Open as Open, context$1_Operator as Operator, type context$1_Paging as Paging, type context$1_PagingMetadataV2 as PagingMetadataV2, type context$1_PauseSchedulingRequest as PauseSchedulingRequest, type context$1_PauseSchedulingResponse as PauseSchedulingResponse, type context$1_PlaceholderContent as PlaceholderContent, type context$1_PlaceholderContentEnum as PlaceholderContentEnum, type context$1_PlaceholderContentValueOneOf as PlaceholderContentValueOneOf, type context$1_PlainText as PlainText, type context$1_Precondition as Precondition, context$1_PreconditionType as PreconditionType, type context$1_PreviewCampaignRequest as PreviewCampaignRequest, type context$1_PreviewCampaignResponse as PreviewCampaignResponse, type context$1_PublishCampaignOptions as PublishCampaignOptions, type context$1_PublishCampaignRequest as PublishCampaignRequest, type context$1_PublishCampaignResponse as PublishCampaignResponse, type context$1_PublishCampaignResponseNonNullableFields as PublishCampaignResponseNonNullableFields, type context$1_PublishingData as PublishingData, type context$1_Query as Query, type context$1_QueryAppTemplatesRequest as QueryAppTemplatesRequest, type context$1_QueryAppTemplatesResponse as QueryAppTemplatesResponse, type context$1_QueryAutomationTemplatesRequest as QueryAutomationTemplatesRequest, type context$1_QueryAutomationTemplatesResponse as QueryAutomationTemplatesResponse, type context$1_QueryMetadata as QueryMetadata, context$1_RecipientsActivityEnum as RecipientsActivityEnum, type context$1_ReconcileContactRequest as ReconcileContactRequest, type context$1_ReconcileContactResponse as ReconcileContactResponse, type context$1_RejectionData as RejectionData, context$1_RejectionReasonEnum as RejectionReasonEnum, type context$1_RescheduleRequest as RescheduleRequest, type context$1_RescheduleResponse as RescheduleResponse, type context$1_ResendToNonOpenersRequest as ResendToNonOpenersRequest, type context$1_ResendToNonOpenersResponse as ResendToNonOpenersResponse, type context$1_ResolveFromAddressRequest as ResolveFromAddressRequest, type context$1_ResolveFromAddressResponse as ResolveFromAddressResponse, type context$1_ResolveFromAddressResponseNonNullableFields as ResolveFromAddressResponseNonNullableFields, type RestoreInfo$1 as RestoreInfo, type context$1_ReuseCampaignRequest as ReuseCampaignRequest, type context$1_ReuseCampaignResponse as ReuseCampaignResponse, type context$1_ReuseCampaignResponseNonNullableFields as ReuseCampaignResponseNonNullableFields, type context$1_RuleConfiguration as RuleConfiguration, type context$1_RuleMetadata as RuleMetadata, context$1_RuleStatus as RuleStatus, type context$1_SearchContactsRequest as SearchContactsRequest, type context$1_SearchContactsResponse as SearchContactsResponse, type context$1_SendTestOptions as SendTestOptions, type context$1_SendTestRequest as SendTestRequest, type context$1_SendTestResponse as SendTestResponse, type context$1_SoftBounce as SoftBounce, context$1_SortOrder as SortOrder, type context$1_Sorting as Sorting, type context$1_SubscribeFromLandingPageRequest as SubscribeFromLandingPageRequest, type context$1_SubscribeFromLandingPageResponse as SubscribeFromLandingPageResponse, type context$1_TemplateData as TemplateData, context$1_TemplateQueryType as TemplateQueryType, context$1_TemplateState as TemplateState, context$1_TemplateType as TemplateType, type context$1_TotalStatistics as TotalStatistics, type context$1_Translation as Translation, context$1_TranslationState as TranslationState, type context$1_TriggerConfiguration as TriggerConfiguration, type context$1_UnarchiveCampaignRequest as UnarchiveCampaignRequest, type context$1_UnarchiveCampaignResponse as UnarchiveCampaignResponse, type context$1_UpdateComposerRequest as UpdateComposerRequest, type context$1_UpdateComposerResponse as UpdateComposerResponse, type context$1_UpdateTitleRequest as UpdateTitleRequest, type context$1_UpdateTitleResponse as UpdateTitleResponse, type context$1_UpsertTranslationRequest as UpsertTranslationRequest, type context$1_UpsertTranslationResponse as UpsertTranslationResponse, type context$1_ValidateHtmlLinksRequest as ValidateHtmlLinksRequest, type context$1_ValidateHtmlLinksResponse as ValidateHtmlLinksResponse, type context$1_ValidateHtmlLinksResponseNonNullableFields as ValidateHtmlLinksResponseNonNullableFields, type context$1_ValidateLinkRequest as ValidateLinkRequest, type context$1_ValidateLinkResponse as ValidateLinkResponse, type context$1_ValidateLinkResponseNonNullableFields as ValidateLinkResponseNonNullableFields, context$1_VersionType as VersionType, WebhookIdentityType$1 as WebhookIdentityType, type context$1__Array as _Array, type context$1__publicOnCampaignCreatedType as _publicOnCampaignCreatedType, type context$1__publicOnCampaignDeletedType as _publicOnCampaignDeletedType, type context$1__publicOnCampaignDistributedEventType as _publicOnCampaignDistributedEventType, type context$1__publicOnCampaignEmailActivityUpdatedType as _publicOnCampaignEmailActivityUpdatedType, type context$1__publicOnCampaignPausedEventType as _publicOnCampaignPausedEventType, type context$1__publicOnCampaignPublishedEventType as _publicOnCampaignPublishedEventType, type context$1__publicOnCampaignRejectedEventType as _publicOnCampaignRejectedEventType, type context$1__publicOnCampaignScheduledEventType as _publicOnCampaignScheduledEventType, type context$1__publicOnCampaignTerminatedEventType as _publicOnCampaignTerminatedEventType, context$1_deleteCampaign as deleteCampaign, context$1_getCampaign as getCampaign, context$1_listCampaigns as listCampaigns, context$1_listRecipients as listRecipients, context$1_listStatistics as listStatistics, context$1_onCampaignCreated as onCampaignCreated, context$1_onCampaignDeleted as onCampaignDeleted, context$1_onCampaignDistributedEvent as onCampaignDistributedEvent, context$1_onCampaignEmailActivityUpdated as onCampaignEmailActivityUpdated, context$1_onCampaignPausedEvent as onCampaignPausedEvent, context$1_onCampaignPublishedEvent as onCampaignPublishedEvent, context$1_onCampaignRejectedEvent as onCampaignRejectedEvent, context$1_onCampaignScheduledEvent as onCampaignScheduledEvent, context$1_onCampaignTerminatedEvent as onCampaignTerminatedEvent, context$1_pauseScheduling as pauseScheduling, onCampaignCreated$1 as publicOnCampaignCreated, onCampaignDeleted$1 as publicOnCampaignDeleted, onCampaignDistributedEvent$1 as publicOnCampaignDistributedEvent, onCampaignEmailActivityUpdated$1 as publicOnCampaignEmailActivityUpdated, onCampaignPausedEvent$1 as publicOnCampaignPausedEvent, onCampaignPublishedEvent$1 as publicOnCampaignPublishedEvent, onCampaignRejectedEvent$1 as publicOnCampaignRejectedEvent, onCampaignScheduledEvent$1 as publicOnCampaignScheduledEvent, onCampaignTerminatedEvent$1 as publicOnCampaignTerminatedEvent, context$1_publishCampaign as publishCampaign, context$1_reschedule as reschedule, context$1_resolveFromAddress as resolveFromAddress, context$1_reuseCampaign as reuseCampaign, context$1_sendTest as sendTest, context$1_validateHtmlLinks as validateHtmlLinks, context$1_validateLink as validateLink };
2587
2661
  }
2588
2662
 
2589
2663
  /**
@@ -2852,25 +2926,7 @@ interface ResolveActualFromAddressSignature {
2852
2926
  */
2853
2927
  (fromAddress: string): Promise<ResolveActualFromAddressResponse & ResolveActualFromAddressResponseNonNullableFields>;
2854
2928
  }
2855
- declare const onSenderDetailsUpdated$1: EventDefinition$2<SenderDetailsUpdatedEnvelope, "wix.email_marketing.v1.sender_details_updated">;
2856
-
2857
- type EventDefinition<Payload = unknown, Type extends string = string> = {
2858
- __type: 'event-definition';
2859
- type: Type;
2860
- isDomainEvent?: boolean;
2861
- transformations?: (envelope: unknown) => Payload;
2862
- __payload: Payload;
2863
- };
2864
- declare function EventDefinition<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition<Payload, Type>;
2865
- type EventHandler<T extends EventDefinition> = (payload: T['__payload']) => void | Promise<void>;
2866
- type BuildEventDefinition<T extends EventDefinition<any, string>> = (handler: EventHandler<T>) => void;
2867
-
2868
- declare global {
2869
- // eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
2870
- interface SymbolConstructor {
2871
- readonly observable: symbol;
2872
- }
2873
- }
2929
+ declare const onSenderDetailsUpdated$1: EventDefinition<SenderDetailsUpdatedEnvelope, "wix.email_marketing.v1.sender_details_updated">;
2874
2930
 
2875
2931
  declare function createEventModule<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
2876
2932
 
@@ -12,6 +12,10 @@ type Host<Environment = unknown> = {
12
12
  }>;
13
13
  };
14
14
  environment?: Environment;
15
+ /**
16
+ * Optional name of the environment, use for logging
17
+ */
18
+ name?: string;
15
19
  /**
16
20
  * Optional bast url to use for API requests, for example `www.wixapis.com`
17
21
  */
@@ -63,16 +67,16 @@ type APIMetadata = {
63
67
  packageName?: string;
64
68
  };
65
69
  type BuildRESTFunction<T extends RESTFunctionDescriptor> = T extends RESTFunctionDescriptor<infer U> ? U : never;
66
- type EventDefinition$2<Payload = unknown, Type extends string = string> = {
70
+ type EventDefinition<Payload = unknown, Type extends string = string> = {
67
71
  __type: 'event-definition';
68
72
  type: Type;
69
73
  isDomainEvent?: boolean;
70
74
  transformations?: (envelope: unknown) => Payload;
71
75
  __payload: Payload;
72
76
  };
73
- declare function EventDefinition$2<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition$2<Payload, Type>;
74
- type EventHandler$2<T extends EventDefinition$2> = (payload: T['__payload']) => void | Promise<void>;
75
- type BuildEventDefinition$2<T extends EventDefinition$2<any, string>> = (handler: EventHandler$2<T>) => void;
77
+ declare function EventDefinition<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition<Payload, Type>;
78
+ type EventHandler<T extends EventDefinition> = (payload: T['__payload']) => void | Promise<void>;
79
+ type BuildEventDefinition<T extends EventDefinition<any, string>> = (handler: EventHandler<T>) => void;
76
80
 
77
81
  type ServicePluginMethodInput = {
78
82
  request: any;
@@ -271,6 +275,72 @@ type Except<ObjectType, KeysType extends keyof ObjectType, Options extends Excep
271
275
  ? Partial<Record<KeysType, never>>
272
276
  : {});
273
277
 
278
+ /**
279
+ Returns a boolean for whether the given type is `never`.
280
+
281
+ @link https://github.com/microsoft/TypeScript/issues/31751#issuecomment-498526919
282
+ @link https://stackoverflow.com/a/53984913/10292952
283
+ @link https://www.zhenghao.io/posts/ts-never
284
+
285
+ Useful in type utilities, such as checking if something does not occur.
286
+
287
+ @example
288
+ ```
289
+ import type {IsNever, And} from 'type-fest';
290
+
291
+ // https://github.com/andnp/SimplyTyped/blob/master/src/types/strings.ts
292
+ type AreStringsEqual<A extends string, B extends string> =
293
+ And<
294
+ IsNever<Exclude<A, B>> extends true ? true : false,
295
+ IsNever<Exclude<B, A>> extends true ? true : false
296
+ >;
297
+
298
+ type EndIfEqual<I extends string, O extends string> =
299
+ AreStringsEqual<I, O> extends true
300
+ ? never
301
+ : void;
302
+
303
+ function endIfEqual<I extends string, O extends string>(input: I, output: O): EndIfEqual<I, O> {
304
+ if (input === output) {
305
+ process.exit(0);
306
+ }
307
+ }
308
+
309
+ endIfEqual('abc', 'abc');
310
+ //=> never
311
+
312
+ endIfEqual('abc', '123');
313
+ //=> void
314
+ ```
315
+
316
+ @category Type Guard
317
+ @category Utilities
318
+ */
319
+ type IsNever<T> = [T] extends [never] ? true : false;
320
+
321
+ /**
322
+ An if-else-like type that resolves depending on whether the given type is `never`.
323
+
324
+ @see {@link IsNever}
325
+
326
+ @example
327
+ ```
328
+ import type {IfNever} from 'type-fest';
329
+
330
+ type ShouldBeTrue = IfNever<never>;
331
+ //=> true
332
+
333
+ type ShouldBeBar = IfNever<'not never', 'foo', 'bar'>;
334
+ //=> 'bar'
335
+ ```
336
+
337
+ @category Type Guard
338
+ @category Utilities
339
+ */
340
+ type IfNever<T, TypeIfNever = true, TypeIfNotNever = false> = (
341
+ IsNever<T> extends true ? TypeIfNever : TypeIfNotNever
342
+ );
343
+
274
344
  /**
275
345
  Extract the keys from a type where the value type of the key extends the given `Condition`.
276
346
 
@@ -303,21 +373,19 @@ type StringKeysAndUndefined = ConditionalKeys<Example, string | undefined>;
303
373
 
304
374
  @category Object
305
375
  */
306
- type ConditionalKeys<Base, Condition> = NonNullable<
307
- // Wrap in `NonNullable` to strip away the `undefined` type from the produced union.
376
+ type ConditionalKeys<Base, Condition> =
308
377
  {
309
378
  // Map through all the keys of the given base type.
310
- [Key in keyof Base]:
379
+ [Key in keyof Base]-?:
311
380
  // Pick only keys with types extending the given `Condition` type.
312
381
  Base[Key] extends Condition
313
- // Retain this key since the condition passes.
314
- ? Key
382
+ // Retain this key
383
+ // If the value for the key extends never, only include it if `Condition` also extends never
384
+ ? IfNever<Base[Key], IfNever<Condition, Key, never>, Key>
315
385
  // Discard this key since the condition fails.
316
386
  : never;
317
-
318
387
  // Convert the produced object into a union type of the keys which passed the conditional test.
319
- }[keyof Base]
320
- >;
388
+ }[keyof Base];
321
389
 
322
390
  /**
323
391
  Exclude keys from a shape that matches the given `Condition`.
@@ -367,7 +435,7 @@ ConditionalKeys<Base, Condition>
367
435
  * can either be a REST module or a host module.
368
436
  * This type is recursive, so it can describe nested modules.
369
437
  */
370
- type Descriptors = RESTFunctionDescriptor | AmbassadorFunctionDescriptor | HostModule<any, any> | EventDefinition$2<any> | ServicePluginDefinition<any> | {
438
+ type Descriptors = RESTFunctionDescriptor | AmbassadorFunctionDescriptor | HostModule<any, any> | EventDefinition<any> | ServicePluginDefinition<any> | {
371
439
  [key: string]: Descriptors | PublicMetadata | any;
372
440
  };
373
441
  /**
@@ -380,7 +448,7 @@ type BuildDescriptors<T extends Descriptors, H extends Host<any> | undefined, De
380
448
  done: T;
381
449
  recurse: T extends {
382
450
  __type: typeof SERVICE_PLUGIN_ERROR_TYPE;
383
- } ? never : T extends AmbassadorFunctionDescriptor ? BuildAmbassadorFunction<T> : T extends RESTFunctionDescriptor ? BuildRESTFunction<T> : T extends EventDefinition$2<any> ? BuildEventDefinition$2<T> : T extends ServicePluginDefinition<any> ? BuildServicePluginDefinition<T> : T extends HostModule<any, any> ? HostModuleAPI<T> : ConditionalExcept<{
451
+ } ? never : T extends AmbassadorFunctionDescriptor ? BuildAmbassadorFunction<T> : T extends RESTFunctionDescriptor ? BuildRESTFunction<T> : T extends EventDefinition<any> ? BuildEventDefinition<T> : T extends ServicePluginDefinition<any> ? BuildServicePluginDefinition<T> : T extends HostModule<any, any> ? HostModuleAPI<T> : ConditionalExcept<{
384
452
  [Key in keyof T]: T[Key] extends Descriptors ? BuildDescriptors<T[Key], H, [
385
453
  -1,
386
454
  0,
@@ -1795,6 +1863,14 @@ interface ResendToNonOpenersResponse {
1795
1863
  /** ID of the newly created and resent campaign. */
1796
1864
  campaignId?: string;
1797
1865
  }
1866
+ interface ResolveFromAddressRequest {
1867
+ /** User's provided arbitrary email address. */
1868
+ emailAddress: string;
1869
+ }
1870
+ interface ResolveFromAddressResponse {
1871
+ /** Actual from-address that will be used for sending emails. */
1872
+ fromAddress?: string;
1873
+ }
1798
1874
  interface DomainEvent$1 extends DomainEventBodyOneOf$1 {
1799
1875
  createdEvent?: EntityCreatedEvent$1;
1800
1876
  updatedEvent?: EntityUpdatedEvent$1;
@@ -1981,6 +2057,9 @@ interface PublishCampaignResponseNonNullableFields {
1981
2057
  interface ReuseCampaignResponseNonNullableFields {
1982
2058
  campaign?: CampaignNonNullableFields;
1983
2059
  }
2060
+ interface ResolveFromAddressResponseNonNullableFields {
2061
+ fromAddress: string;
2062
+ }
1984
2063
  interface BaseEventMetadata$1 {
1985
2064
  /** App instance ID. */
1986
2065
  instanceId?: string | null;
@@ -2246,35 +2325,25 @@ interface ReuseCampaignSignature {
2246
2325
  */
2247
2326
  (campaignId: string): Promise<ReuseCampaignResponse & ReuseCampaignResponseNonNullableFields>;
2248
2327
  }
2249
- declare const onCampaignCreated$1: EventDefinition$2<CampaignCreatedEnvelope, "wix.email_marketing.v1.campaign_created">;
2250
- declare const onCampaignRejectedEvent$1: EventDefinition$2<CampaignRejectedEnvelope, "wix.email_marketing.v1.campaign_campaign_rejected_event">;
2251
- declare const onCampaignPublishedEvent$1: EventDefinition$2<CampaignPublishedEnvelope, "wix.email_marketing.v1.campaign_campaign_published_event">;
2252
- declare const onCampaignTerminatedEvent$1: EventDefinition$2<CampaignTerminatedEnvelope, "wix.email_marketing.v1.campaign_campaign_terminated_event">;
2253
- declare const onCampaignDistributedEvent$1: EventDefinition$2<CampaignDistributedEnvelope, "wix.email_marketing.v1.campaign_campaign_distributed_event">;
2254
- declare const onCampaignEmailActivityUpdated$1: EventDefinition$2<CampaignEmailActivityUpdatedEnvelope, "wix.email_marketing.v1.campaign_email_activity_updated">;
2255
- declare const onCampaignScheduledEvent$1: EventDefinition$2<CampaignScheduledEnvelope, "wix.email_marketing.v1.campaign_campaign_scheduled_event">;
2256
- declare const onCampaignPausedEvent$1: EventDefinition$2<CampaignPausedEnvelope, "wix.email_marketing.v1.campaign_campaign_paused_event">;
2257
- declare const onCampaignDeleted$1: EventDefinition$2<CampaignDeletedEnvelope, "wix.email_marketing.v1.campaign_deleted">;
2258
-
2259
- type EventDefinition$1<Payload = unknown, Type extends string = string> = {
2260
- __type: 'event-definition';
2261
- type: Type;
2262
- isDomainEvent?: boolean;
2263
- transformations?: (envelope: unknown) => Payload;
2264
- __payload: Payload;
2265
- };
2266
- declare function EventDefinition$1<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition$1<Payload, Type>;
2267
- type EventHandler$1<T extends EventDefinition$1> = (payload: T['__payload']) => void | Promise<void>;
2268
- type BuildEventDefinition$1<T extends EventDefinition$1<any, string>> = (handler: EventHandler$1<T>) => void;
2269
-
2270
- declare global {
2271
- // eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
2272
- interface SymbolConstructor {
2273
- readonly observable: symbol;
2274
- }
2328
+ declare function resolveFromAddress$1(httpClient: HttpClient): ResolveFromAddressSignature;
2329
+ interface ResolveFromAddressSignature {
2330
+ /**
2331
+ * Check if user's email address will be used as from address or will it be replaced and to what exactly.
2332
+ * @param - User's provided arbitrary email address.
2333
+ */
2334
+ (emailAddress: string): Promise<ResolveFromAddressResponse & ResolveFromAddressResponseNonNullableFields>;
2275
2335
  }
2336
+ declare const onCampaignCreated$1: EventDefinition<CampaignCreatedEnvelope, "wix.email_marketing.v1.campaign_created">;
2337
+ declare const onCampaignRejectedEvent$1: EventDefinition<CampaignRejectedEnvelope, "wix.email_marketing.v1.campaign_campaign_rejected_event">;
2338
+ declare const onCampaignPublishedEvent$1: EventDefinition<CampaignPublishedEnvelope, "wix.email_marketing.v1.campaign_campaign_published_event">;
2339
+ declare const onCampaignTerminatedEvent$1: EventDefinition<CampaignTerminatedEnvelope, "wix.email_marketing.v1.campaign_campaign_terminated_event">;
2340
+ declare const onCampaignDistributedEvent$1: EventDefinition<CampaignDistributedEnvelope, "wix.email_marketing.v1.campaign_campaign_distributed_event">;
2341
+ declare const onCampaignEmailActivityUpdated$1: EventDefinition<CampaignEmailActivityUpdatedEnvelope, "wix.email_marketing.v1.campaign_email_activity_updated">;
2342
+ declare const onCampaignScheduledEvent$1: EventDefinition<CampaignScheduledEnvelope, "wix.email_marketing.v1.campaign_campaign_scheduled_event">;
2343
+ declare const onCampaignPausedEvent$1: EventDefinition<CampaignPausedEnvelope, "wix.email_marketing.v1.campaign_campaign_paused_event">;
2344
+ declare const onCampaignDeleted$1: EventDefinition<CampaignDeletedEnvelope, "wix.email_marketing.v1.campaign_deleted">;
2276
2345
 
2277
- declare function createEventModule$1<T extends EventDefinition$1<any, string>>(eventDefinition: T): BuildEventDefinition$1<T> & T;
2346
+ declare function createEventModule$1<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
2278
2347
 
2279
2348
  declare const validateLink: MaybeContext<BuildRESTFunction<typeof validateLink$1> & typeof validateLink$1>;
2280
2349
  declare const validateHtmlLinks: MaybeContext<BuildRESTFunction<typeof validateHtmlLinks$1> & typeof validateHtmlLinks$1>;
@@ -2288,6 +2357,7 @@ declare const pauseScheduling: MaybeContext<BuildRESTFunction<typeof pauseSchedu
2288
2357
  declare const reschedule: MaybeContext<BuildRESTFunction<typeof reschedule$1> & typeof reschedule$1>;
2289
2358
  declare const deleteCampaign: MaybeContext<BuildRESTFunction<typeof deleteCampaign$1> & typeof deleteCampaign$1>;
2290
2359
  declare const reuseCampaign: MaybeContext<BuildRESTFunction<typeof reuseCampaign$1> & typeof reuseCampaign$1>;
2360
+ declare const resolveFromAddress: MaybeContext<BuildRESTFunction<typeof resolveFromAddress$1> & typeof resolveFromAddress$1>;
2291
2361
 
2292
2362
  type _publicOnCampaignCreatedType = typeof onCampaignCreated$1;
2293
2363
  /** */
@@ -2505,6 +2575,9 @@ type index_d$1_RescheduleRequest = RescheduleRequest;
2505
2575
  type index_d$1_RescheduleResponse = RescheduleResponse;
2506
2576
  type index_d$1_ResendToNonOpenersRequest = ResendToNonOpenersRequest;
2507
2577
  type index_d$1_ResendToNonOpenersResponse = ResendToNonOpenersResponse;
2578
+ type index_d$1_ResolveFromAddressRequest = ResolveFromAddressRequest;
2579
+ type index_d$1_ResolveFromAddressResponse = ResolveFromAddressResponse;
2580
+ type index_d$1_ResolveFromAddressResponseNonNullableFields = ResolveFromAddressResponseNonNullableFields;
2508
2581
  type index_d$1_ReuseCampaignRequest = ReuseCampaignRequest;
2509
2582
  type index_d$1_ReuseCampaignResponse = ReuseCampaignResponse;
2510
2583
  type index_d$1_ReuseCampaignResponseNonNullableFields = ReuseCampaignResponseNonNullableFields;
@@ -2578,12 +2651,13 @@ declare const index_d$1_onCampaignTerminatedEvent: typeof onCampaignTerminatedEv
2578
2651
  declare const index_d$1_pauseScheduling: typeof pauseScheduling;
2579
2652
  declare const index_d$1_publishCampaign: typeof publishCampaign;
2580
2653
  declare const index_d$1_reschedule: typeof reschedule;
2654
+ declare const index_d$1_resolveFromAddress: typeof resolveFromAddress;
2581
2655
  declare const index_d$1_reuseCampaign: typeof reuseCampaign;
2582
2656
  declare const index_d$1_sendTest: typeof sendTest;
2583
2657
  declare const index_d$1_validateHtmlLinks: typeof validateHtmlLinks;
2584
2658
  declare const index_d$1_validateLink: typeof validateLink;
2585
2659
  declare namespace index_d$1 {
2586
- export { type index_d$1_ActionConfiguration as ActionConfiguration, type ActionEvent$1 as ActionEvent, type index_d$1_ActivationCycle as ActivationCycle, index_d$1_ActivityType as ActivityType, type index_d$1_ArchiveCampaignRequest as ArchiveCampaignRequest, type index_d$1_ArchiveCampaignResponse as ArchiveCampaignResponse, type index_d$1_Attachment as Attachment, type index_d$1_AutomationTemplate as AutomationTemplate, type index_d$1_AutomationTemplateContainer as AutomationTemplateContainer, type index_d$1_AutomationTemplateEnrichmentData as AutomationTemplateEnrichmentData, type BaseEventMetadata$1 as BaseEventMetadata, type index_d$1_Campaign as Campaign, type index_d$1_CampaignArchivedEvent as CampaignArchivedEvent, type index_d$1_CampaignCreatedEnvelope as CampaignCreatedEnvelope, type index_d$1_CampaignDeletedEnvelope as CampaignDeletedEnvelope, type index_d$1_CampaignDistributedEnvelope as CampaignDistributedEnvelope, type index_d$1_CampaignDistributedEvent as CampaignDistributedEvent, type index_d$1_CampaignEditorType as CampaignEditorType, index_d$1_CampaignEditorTypeEnum as CampaignEditorTypeEnum, type index_d$1_CampaignEmailActivityUpdatedEnvelope as CampaignEmailActivityUpdatedEnvelope, type index_d$1_CampaignLookupBatchRequest as CampaignLookupBatchRequest, type index_d$1_CampaignLookupBatchResponse as CampaignLookupBatchResponse, type index_d$1_CampaignLookupRequest as CampaignLookupRequest, type index_d$1_CampaignLookupResponse as CampaignLookupResponse, type index_d$1_CampaignNonNullableFields as CampaignNonNullableFields, type index_d$1_CampaignPausedEnvelope as CampaignPausedEnvelope, type index_d$1_CampaignPausedEvent as CampaignPausedEvent, type index_d$1_CampaignPublishedEnvelope as CampaignPublishedEnvelope, type index_d$1_CampaignPublishedEvent as CampaignPublishedEvent, type index_d$1_CampaignRecipientDetails as CampaignRecipientDetails, type index_d$1_CampaignRejectedEnvelope as CampaignRejectedEnvelope, type index_d$1_CampaignRejectedEvent as CampaignRejectedEvent, type index_d$1_CampaignScheduledEnvelope as CampaignScheduledEnvelope, type index_d$1_CampaignScheduledEvent as CampaignScheduledEvent, index_d$1_CampaignSendingStateEnum as CampaignSendingStateEnum, type index_d$1_CampaignStatistics as CampaignStatistics, type index_d$1_CampaignStatisticsContainer as CampaignStatisticsContainer, index_d$1_CampaignStatusEnum as CampaignStatusEnum, type index_d$1_CampaignTerminatedEnvelope as CampaignTerminatedEnvelope, type index_d$1_CampaignTerminatedEvent as CampaignTerminatedEvent, index_d$1_CampaignTypeEnum as CampaignTypeEnum, type index_d$1_CampaignUnarchivedEvent as CampaignUnarchivedEvent, index_d$1_CampaignVisibilityStatusEnum as CampaignVisibilityStatusEnum, type index_d$1_Click as Click, type index_d$1_Composer as Composer, type index_d$1_ConditionConfiguration as ConditionConfiguration, type index_d$1_Contact as Contact, type index_d$1_CountCampaignsRequest as CountCampaignsRequest, type index_d$1_CountCampaignsResponse as CountCampaignsResponse, type index_d$1_CreateCampaignRequest as CreateCampaignRequest, type index_d$1_CreateCampaignResponse as CreateCampaignResponse, type index_d$1_CreateFromTemplateRequest as CreateFromTemplateRequest, type index_d$1_CreateFromTemplateResponse as CreateFromTemplateResponse, type index_d$1_CreateFromUserTemplateRequest as CreateFromUserTemplateRequest, type index_d$1_CreateFromUserTemplateResponse as CreateFromUserTemplateResponse, type index_d$1_CreateUserTemplateRequest as CreateUserTemplateRequest, type index_d$1_CreateUserTemplateResponse as CreateUserTemplateResponse, type index_d$1_CursorPaging as CursorPaging, type index_d$1_Cursors as Cursors, type index_d$1_DateTime as DateTime, type index_d$1_Decimal as Decimal, type index_d$1_DefaultValues as DefaultValues, type index_d$1_DeleteCampaignRequest as DeleteCampaignRequest, type index_d$1_DeleteCampaignResponse as DeleteCampaignResponse, type index_d$1_DistributionStatistics as DistributionStatistics, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type index_d$1_EmailActivityUpdated as EmailActivityUpdated, type index_d$1_EmailActivityUpdatedEventTypeOneOf as EmailActivityUpdatedEventTypeOneOf, type index_d$1_EmailDistributionOptions as EmailDistributionOptions, type EntityCreatedEvent$1 as EntityCreatedEvent, type EntityDeletedEvent$1 as EntityDeletedEvent, type EntityUpdatedEvent$1 as EntityUpdatedEvent, index_d$1_Enum as Enum, type index_d$1_EstimateAudienceSizeRequest as EstimateAudienceSizeRequest, type index_d$1_EstimateAudienceSizeResponse as EstimateAudienceSizeResponse, type index_d$1_EstimateFilterSizeRequest as EstimateFilterSizeRequest, type index_d$1_EstimateFilterSizeResponse as EstimateFilterSizeResponse, type EventMetadata$1 as EventMetadata, type index_d$1_GetCampaignMappingRequest as GetCampaignMappingRequest, type index_d$1_GetCampaignMappingResponse as GetCampaignMappingResponse, type index_d$1_GetCampaignOptions as GetCampaignOptions, type index_d$1_GetCampaignRequest as GetCampaignRequest, type index_d$1_GetCampaignResponse as GetCampaignResponse, type index_d$1_GetCampaignResponseNonNullableFields as GetCampaignResponseNonNullableFields, type index_d$1_GetComposerRequest as GetComposerRequest, type index_d$1_GetComposerResponse as GetComposerResponse, type index_d$1_GetDefaultComponentsRequest as GetDefaultComponentsRequest, type index_d$1_GetDefaultComponentsResponse as GetDefaultComponentsResponse, type index_d$1_GetLabelsRequest as GetLabelsRequest, type index_d$1_GetLabelsResponse as GetLabelsResponse, type index_d$1_GetPingCampaignMappingRequest as GetPingCampaignMappingRequest, type index_d$1_GetPingCampaignMappingResponse as GetPingCampaignMappingResponse, type index_d$1_GetPlaceholderKeysRequest as GetPlaceholderKeysRequest, type index_d$1_GetPlaceholderKeysResponse as GetPlaceholderKeysResponse, type index_d$1_GetUsedPlaceholderKeysRequest as GetUsedPlaceholderKeysRequest, type index_d$1_GetUsedPlaceholderKeysResponse as GetUsedPlaceholderKeysResponse, type index_d$1_HardBounce as HardBounce, type index_d$1_Html as Html, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, type index_d$1_Integer as Integer, type index_d$1_Label as Label, type index_d$1_LandingPageStatistics as LandingPageStatistics, type index_d$1_ListCampaignsOptions as ListCampaignsOptions, type index_d$1_ListCampaignsRequest as ListCampaignsRequest, type index_d$1_ListCampaignsResponse as ListCampaignsResponse, type index_d$1_ListCampaignsResponseNonNullableFields as ListCampaignsResponseNonNullableFields, type index_d$1_ListRecipientsOptions as ListRecipientsOptions, type index_d$1_ListRecipientsRequest as ListRecipientsRequest, type index_d$1_ListRecipientsResponse as ListRecipientsResponse, type index_d$1_ListRecipientsResponseNonNullableFields as ListRecipientsResponseNonNullableFields, type index_d$1_ListStatisticsRequest as ListStatisticsRequest, type index_d$1_ListStatisticsResponse as ListStatisticsResponse, type index_d$1_ListStatisticsResponseNonNullableFields as ListStatisticsResponseNonNullableFields, type index_d$1_LookupCampaignMappingRequest as LookupCampaignMappingRequest, type index_d$1_LookupCampaignMappingResponse as LookupCampaignMappingResponse, type index_d$1_Map as Map, type MessageEnvelope$1 as MessageEnvelope, type index_d$1_Money as Money, type index_d$1_Open as Open, index_d$1_Operator as Operator, type index_d$1_Paging as Paging, type index_d$1_PagingMetadataV2 as PagingMetadataV2, type index_d$1_PauseSchedulingRequest as PauseSchedulingRequest, type index_d$1_PauseSchedulingResponse as PauseSchedulingResponse, type index_d$1_PlaceholderContent as PlaceholderContent, type index_d$1_PlaceholderContentEnum as PlaceholderContentEnum, type index_d$1_PlaceholderContentValueOneOf as PlaceholderContentValueOneOf, type index_d$1_PlainText as PlainText, type index_d$1_Precondition as Precondition, index_d$1_PreconditionType as PreconditionType, type index_d$1_PreviewCampaignRequest as PreviewCampaignRequest, type index_d$1_PreviewCampaignResponse as PreviewCampaignResponse, type index_d$1_PublishCampaignOptions as PublishCampaignOptions, type index_d$1_PublishCampaignRequest as PublishCampaignRequest, type index_d$1_PublishCampaignResponse as PublishCampaignResponse, type index_d$1_PublishCampaignResponseNonNullableFields as PublishCampaignResponseNonNullableFields, type index_d$1_PublishingData as PublishingData, type index_d$1_Query as Query, type index_d$1_QueryAppTemplatesRequest as QueryAppTemplatesRequest, type index_d$1_QueryAppTemplatesResponse as QueryAppTemplatesResponse, type index_d$1_QueryAutomationTemplatesRequest as QueryAutomationTemplatesRequest, type index_d$1_QueryAutomationTemplatesResponse as QueryAutomationTemplatesResponse, type index_d$1_QueryMetadata as QueryMetadata, index_d$1_RecipientsActivityEnum as RecipientsActivityEnum, type index_d$1_ReconcileContactRequest as ReconcileContactRequest, type index_d$1_ReconcileContactResponse as ReconcileContactResponse, type index_d$1_RejectionData as RejectionData, index_d$1_RejectionReasonEnum as RejectionReasonEnum, type index_d$1_RescheduleRequest as RescheduleRequest, type index_d$1_RescheduleResponse as RescheduleResponse, type index_d$1_ResendToNonOpenersRequest as ResendToNonOpenersRequest, type index_d$1_ResendToNonOpenersResponse as ResendToNonOpenersResponse, type RestoreInfo$1 as RestoreInfo, type index_d$1_ReuseCampaignRequest as ReuseCampaignRequest, type index_d$1_ReuseCampaignResponse as ReuseCampaignResponse, type index_d$1_ReuseCampaignResponseNonNullableFields as ReuseCampaignResponseNonNullableFields, type index_d$1_RuleConfiguration as RuleConfiguration, type index_d$1_RuleMetadata as RuleMetadata, index_d$1_RuleStatus as RuleStatus, type index_d$1_SearchContactsRequest as SearchContactsRequest, type index_d$1_SearchContactsResponse as SearchContactsResponse, type index_d$1_SendTestOptions as SendTestOptions, type index_d$1_SendTestRequest as SendTestRequest, type index_d$1_SendTestResponse as SendTestResponse, type index_d$1_SoftBounce as SoftBounce, index_d$1_SortOrder as SortOrder, type index_d$1_Sorting as Sorting, type index_d$1_SubscribeFromLandingPageRequest as SubscribeFromLandingPageRequest, type index_d$1_SubscribeFromLandingPageResponse as SubscribeFromLandingPageResponse, type index_d$1_TemplateData as TemplateData, index_d$1_TemplateQueryType as TemplateQueryType, index_d$1_TemplateState as TemplateState, index_d$1_TemplateType as TemplateType, type index_d$1_TotalStatistics as TotalStatistics, type index_d$1_Translation as Translation, index_d$1_TranslationState as TranslationState, type index_d$1_TriggerConfiguration as TriggerConfiguration, type index_d$1_UnarchiveCampaignRequest as UnarchiveCampaignRequest, type index_d$1_UnarchiveCampaignResponse as UnarchiveCampaignResponse, type index_d$1_UpdateComposerRequest as UpdateComposerRequest, type index_d$1_UpdateComposerResponse as UpdateComposerResponse, type index_d$1_UpdateTitleRequest as UpdateTitleRequest, type index_d$1_UpdateTitleResponse as UpdateTitleResponse, type index_d$1_UpsertTranslationRequest as UpsertTranslationRequest, type index_d$1_UpsertTranslationResponse as UpsertTranslationResponse, type index_d$1_ValidateHtmlLinksRequest as ValidateHtmlLinksRequest, type index_d$1_ValidateHtmlLinksResponse as ValidateHtmlLinksResponse, type index_d$1_ValidateHtmlLinksResponseNonNullableFields as ValidateHtmlLinksResponseNonNullableFields, type index_d$1_ValidateLinkRequest as ValidateLinkRequest, type index_d$1_ValidateLinkResponse as ValidateLinkResponse, type index_d$1_ValidateLinkResponseNonNullableFields as ValidateLinkResponseNonNullableFields, index_d$1_VersionType as VersionType, WebhookIdentityType$1 as WebhookIdentityType, type index_d$1__Array as _Array, type index_d$1__publicOnCampaignCreatedType as _publicOnCampaignCreatedType, type index_d$1__publicOnCampaignDeletedType as _publicOnCampaignDeletedType, type index_d$1__publicOnCampaignDistributedEventType as _publicOnCampaignDistributedEventType, type index_d$1__publicOnCampaignEmailActivityUpdatedType as _publicOnCampaignEmailActivityUpdatedType, type index_d$1__publicOnCampaignPausedEventType as _publicOnCampaignPausedEventType, type index_d$1__publicOnCampaignPublishedEventType as _publicOnCampaignPublishedEventType, type index_d$1__publicOnCampaignRejectedEventType as _publicOnCampaignRejectedEventType, type index_d$1__publicOnCampaignScheduledEventType as _publicOnCampaignScheduledEventType, type index_d$1__publicOnCampaignTerminatedEventType as _publicOnCampaignTerminatedEventType, index_d$1_deleteCampaign as deleteCampaign, index_d$1_getCampaign as getCampaign, index_d$1_listCampaigns as listCampaigns, index_d$1_listRecipients as listRecipients, index_d$1_listStatistics as listStatistics, index_d$1_onCampaignCreated as onCampaignCreated, index_d$1_onCampaignDeleted as onCampaignDeleted, index_d$1_onCampaignDistributedEvent as onCampaignDistributedEvent, index_d$1_onCampaignEmailActivityUpdated as onCampaignEmailActivityUpdated, index_d$1_onCampaignPausedEvent as onCampaignPausedEvent, index_d$1_onCampaignPublishedEvent as onCampaignPublishedEvent, index_d$1_onCampaignRejectedEvent as onCampaignRejectedEvent, index_d$1_onCampaignScheduledEvent as onCampaignScheduledEvent, index_d$1_onCampaignTerminatedEvent as onCampaignTerminatedEvent, index_d$1_pauseScheduling as pauseScheduling, onCampaignCreated$1 as publicOnCampaignCreated, onCampaignDeleted$1 as publicOnCampaignDeleted, onCampaignDistributedEvent$1 as publicOnCampaignDistributedEvent, onCampaignEmailActivityUpdated$1 as publicOnCampaignEmailActivityUpdated, onCampaignPausedEvent$1 as publicOnCampaignPausedEvent, onCampaignPublishedEvent$1 as publicOnCampaignPublishedEvent, onCampaignRejectedEvent$1 as publicOnCampaignRejectedEvent, onCampaignScheduledEvent$1 as publicOnCampaignScheduledEvent, onCampaignTerminatedEvent$1 as publicOnCampaignTerminatedEvent, index_d$1_publishCampaign as publishCampaign, index_d$1_reschedule as reschedule, index_d$1_reuseCampaign as reuseCampaign, index_d$1_sendTest as sendTest, index_d$1_validateHtmlLinks as validateHtmlLinks, index_d$1_validateLink as validateLink };
2660
+ export { type index_d$1_ActionConfiguration as ActionConfiguration, type ActionEvent$1 as ActionEvent, type index_d$1_ActivationCycle as ActivationCycle, index_d$1_ActivityType as ActivityType, type index_d$1_ArchiveCampaignRequest as ArchiveCampaignRequest, type index_d$1_ArchiveCampaignResponse as ArchiveCampaignResponse, type index_d$1_Attachment as Attachment, type index_d$1_AutomationTemplate as AutomationTemplate, type index_d$1_AutomationTemplateContainer as AutomationTemplateContainer, type index_d$1_AutomationTemplateEnrichmentData as AutomationTemplateEnrichmentData, type BaseEventMetadata$1 as BaseEventMetadata, type index_d$1_Campaign as Campaign, type index_d$1_CampaignArchivedEvent as CampaignArchivedEvent, type index_d$1_CampaignCreatedEnvelope as CampaignCreatedEnvelope, type index_d$1_CampaignDeletedEnvelope as CampaignDeletedEnvelope, type index_d$1_CampaignDistributedEnvelope as CampaignDistributedEnvelope, type index_d$1_CampaignDistributedEvent as CampaignDistributedEvent, type index_d$1_CampaignEditorType as CampaignEditorType, index_d$1_CampaignEditorTypeEnum as CampaignEditorTypeEnum, type index_d$1_CampaignEmailActivityUpdatedEnvelope as CampaignEmailActivityUpdatedEnvelope, type index_d$1_CampaignLookupBatchRequest as CampaignLookupBatchRequest, type index_d$1_CampaignLookupBatchResponse as CampaignLookupBatchResponse, type index_d$1_CampaignLookupRequest as CampaignLookupRequest, type index_d$1_CampaignLookupResponse as CampaignLookupResponse, type index_d$1_CampaignNonNullableFields as CampaignNonNullableFields, type index_d$1_CampaignPausedEnvelope as CampaignPausedEnvelope, type index_d$1_CampaignPausedEvent as CampaignPausedEvent, type index_d$1_CampaignPublishedEnvelope as CampaignPublishedEnvelope, type index_d$1_CampaignPublishedEvent as CampaignPublishedEvent, type index_d$1_CampaignRecipientDetails as CampaignRecipientDetails, type index_d$1_CampaignRejectedEnvelope as CampaignRejectedEnvelope, type index_d$1_CampaignRejectedEvent as CampaignRejectedEvent, type index_d$1_CampaignScheduledEnvelope as CampaignScheduledEnvelope, type index_d$1_CampaignScheduledEvent as CampaignScheduledEvent, index_d$1_CampaignSendingStateEnum as CampaignSendingStateEnum, type index_d$1_CampaignStatistics as CampaignStatistics, type index_d$1_CampaignStatisticsContainer as CampaignStatisticsContainer, index_d$1_CampaignStatusEnum as CampaignStatusEnum, type index_d$1_CampaignTerminatedEnvelope as CampaignTerminatedEnvelope, type index_d$1_CampaignTerminatedEvent as CampaignTerminatedEvent, index_d$1_CampaignTypeEnum as CampaignTypeEnum, type index_d$1_CampaignUnarchivedEvent as CampaignUnarchivedEvent, index_d$1_CampaignVisibilityStatusEnum as CampaignVisibilityStatusEnum, type index_d$1_Click as Click, type index_d$1_Composer as Composer, type index_d$1_ConditionConfiguration as ConditionConfiguration, type index_d$1_Contact as Contact, type index_d$1_CountCampaignsRequest as CountCampaignsRequest, type index_d$1_CountCampaignsResponse as CountCampaignsResponse, type index_d$1_CreateCampaignRequest as CreateCampaignRequest, type index_d$1_CreateCampaignResponse as CreateCampaignResponse, type index_d$1_CreateFromTemplateRequest as CreateFromTemplateRequest, type index_d$1_CreateFromTemplateResponse as CreateFromTemplateResponse, type index_d$1_CreateFromUserTemplateRequest as CreateFromUserTemplateRequest, type index_d$1_CreateFromUserTemplateResponse as CreateFromUserTemplateResponse, type index_d$1_CreateUserTemplateRequest as CreateUserTemplateRequest, type index_d$1_CreateUserTemplateResponse as CreateUserTemplateResponse, type index_d$1_CursorPaging as CursorPaging, type index_d$1_Cursors as Cursors, type index_d$1_DateTime as DateTime, type index_d$1_Decimal as Decimal, type index_d$1_DefaultValues as DefaultValues, type index_d$1_DeleteCampaignRequest as DeleteCampaignRequest, type index_d$1_DeleteCampaignResponse as DeleteCampaignResponse, type index_d$1_DistributionStatistics as DistributionStatistics, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type index_d$1_EmailActivityUpdated as EmailActivityUpdated, type index_d$1_EmailActivityUpdatedEventTypeOneOf as EmailActivityUpdatedEventTypeOneOf, type index_d$1_EmailDistributionOptions as EmailDistributionOptions, type EntityCreatedEvent$1 as EntityCreatedEvent, type EntityDeletedEvent$1 as EntityDeletedEvent, type EntityUpdatedEvent$1 as EntityUpdatedEvent, index_d$1_Enum as Enum, type index_d$1_EstimateAudienceSizeRequest as EstimateAudienceSizeRequest, type index_d$1_EstimateAudienceSizeResponse as EstimateAudienceSizeResponse, type index_d$1_EstimateFilterSizeRequest as EstimateFilterSizeRequest, type index_d$1_EstimateFilterSizeResponse as EstimateFilterSizeResponse, type EventMetadata$1 as EventMetadata, type index_d$1_GetCampaignMappingRequest as GetCampaignMappingRequest, type index_d$1_GetCampaignMappingResponse as GetCampaignMappingResponse, type index_d$1_GetCampaignOptions as GetCampaignOptions, type index_d$1_GetCampaignRequest as GetCampaignRequest, type index_d$1_GetCampaignResponse as GetCampaignResponse, type index_d$1_GetCampaignResponseNonNullableFields as GetCampaignResponseNonNullableFields, type index_d$1_GetComposerRequest as GetComposerRequest, type index_d$1_GetComposerResponse as GetComposerResponse, type index_d$1_GetDefaultComponentsRequest as GetDefaultComponentsRequest, type index_d$1_GetDefaultComponentsResponse as GetDefaultComponentsResponse, type index_d$1_GetLabelsRequest as GetLabelsRequest, type index_d$1_GetLabelsResponse as GetLabelsResponse, type index_d$1_GetPingCampaignMappingRequest as GetPingCampaignMappingRequest, type index_d$1_GetPingCampaignMappingResponse as GetPingCampaignMappingResponse, type index_d$1_GetPlaceholderKeysRequest as GetPlaceholderKeysRequest, type index_d$1_GetPlaceholderKeysResponse as GetPlaceholderKeysResponse, type index_d$1_GetUsedPlaceholderKeysRequest as GetUsedPlaceholderKeysRequest, type index_d$1_GetUsedPlaceholderKeysResponse as GetUsedPlaceholderKeysResponse, type index_d$1_HardBounce as HardBounce, type index_d$1_Html as Html, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, type index_d$1_Integer as Integer, type index_d$1_Label as Label, type index_d$1_LandingPageStatistics as LandingPageStatistics, type index_d$1_ListCampaignsOptions as ListCampaignsOptions, type index_d$1_ListCampaignsRequest as ListCampaignsRequest, type index_d$1_ListCampaignsResponse as ListCampaignsResponse, type index_d$1_ListCampaignsResponseNonNullableFields as ListCampaignsResponseNonNullableFields, type index_d$1_ListRecipientsOptions as ListRecipientsOptions, type index_d$1_ListRecipientsRequest as ListRecipientsRequest, type index_d$1_ListRecipientsResponse as ListRecipientsResponse, type index_d$1_ListRecipientsResponseNonNullableFields as ListRecipientsResponseNonNullableFields, type index_d$1_ListStatisticsRequest as ListStatisticsRequest, type index_d$1_ListStatisticsResponse as ListStatisticsResponse, type index_d$1_ListStatisticsResponseNonNullableFields as ListStatisticsResponseNonNullableFields, type index_d$1_LookupCampaignMappingRequest as LookupCampaignMappingRequest, type index_d$1_LookupCampaignMappingResponse as LookupCampaignMappingResponse, type index_d$1_Map as Map, type MessageEnvelope$1 as MessageEnvelope, type index_d$1_Money as Money, type index_d$1_Open as Open, index_d$1_Operator as Operator, type index_d$1_Paging as Paging, type index_d$1_PagingMetadataV2 as PagingMetadataV2, type index_d$1_PauseSchedulingRequest as PauseSchedulingRequest, type index_d$1_PauseSchedulingResponse as PauseSchedulingResponse, type index_d$1_PlaceholderContent as PlaceholderContent, type index_d$1_PlaceholderContentEnum as PlaceholderContentEnum, type index_d$1_PlaceholderContentValueOneOf as PlaceholderContentValueOneOf, type index_d$1_PlainText as PlainText, type index_d$1_Precondition as Precondition, index_d$1_PreconditionType as PreconditionType, type index_d$1_PreviewCampaignRequest as PreviewCampaignRequest, type index_d$1_PreviewCampaignResponse as PreviewCampaignResponse, type index_d$1_PublishCampaignOptions as PublishCampaignOptions, type index_d$1_PublishCampaignRequest as PublishCampaignRequest, type index_d$1_PublishCampaignResponse as PublishCampaignResponse, type index_d$1_PublishCampaignResponseNonNullableFields as PublishCampaignResponseNonNullableFields, type index_d$1_PublishingData as PublishingData, type index_d$1_Query as Query, type index_d$1_QueryAppTemplatesRequest as QueryAppTemplatesRequest, type index_d$1_QueryAppTemplatesResponse as QueryAppTemplatesResponse, type index_d$1_QueryAutomationTemplatesRequest as QueryAutomationTemplatesRequest, type index_d$1_QueryAutomationTemplatesResponse as QueryAutomationTemplatesResponse, type index_d$1_QueryMetadata as QueryMetadata, index_d$1_RecipientsActivityEnum as RecipientsActivityEnum, type index_d$1_ReconcileContactRequest as ReconcileContactRequest, type index_d$1_ReconcileContactResponse as ReconcileContactResponse, type index_d$1_RejectionData as RejectionData, index_d$1_RejectionReasonEnum as RejectionReasonEnum, type index_d$1_RescheduleRequest as RescheduleRequest, type index_d$1_RescheduleResponse as RescheduleResponse, type index_d$1_ResendToNonOpenersRequest as ResendToNonOpenersRequest, type index_d$1_ResendToNonOpenersResponse as ResendToNonOpenersResponse, type index_d$1_ResolveFromAddressRequest as ResolveFromAddressRequest, type index_d$1_ResolveFromAddressResponse as ResolveFromAddressResponse, type index_d$1_ResolveFromAddressResponseNonNullableFields as ResolveFromAddressResponseNonNullableFields, type RestoreInfo$1 as RestoreInfo, type index_d$1_ReuseCampaignRequest as ReuseCampaignRequest, type index_d$1_ReuseCampaignResponse as ReuseCampaignResponse, type index_d$1_ReuseCampaignResponseNonNullableFields as ReuseCampaignResponseNonNullableFields, type index_d$1_RuleConfiguration as RuleConfiguration, type index_d$1_RuleMetadata as RuleMetadata, index_d$1_RuleStatus as RuleStatus, type index_d$1_SearchContactsRequest as SearchContactsRequest, type index_d$1_SearchContactsResponse as SearchContactsResponse, type index_d$1_SendTestOptions as SendTestOptions, type index_d$1_SendTestRequest as SendTestRequest, type index_d$1_SendTestResponse as SendTestResponse, type index_d$1_SoftBounce as SoftBounce, index_d$1_SortOrder as SortOrder, type index_d$1_Sorting as Sorting, type index_d$1_SubscribeFromLandingPageRequest as SubscribeFromLandingPageRequest, type index_d$1_SubscribeFromLandingPageResponse as SubscribeFromLandingPageResponse, type index_d$1_TemplateData as TemplateData, index_d$1_TemplateQueryType as TemplateQueryType, index_d$1_TemplateState as TemplateState, index_d$1_TemplateType as TemplateType, type index_d$1_TotalStatistics as TotalStatistics, type index_d$1_Translation as Translation, index_d$1_TranslationState as TranslationState, type index_d$1_TriggerConfiguration as TriggerConfiguration, type index_d$1_UnarchiveCampaignRequest as UnarchiveCampaignRequest, type index_d$1_UnarchiveCampaignResponse as UnarchiveCampaignResponse, type index_d$1_UpdateComposerRequest as UpdateComposerRequest, type index_d$1_UpdateComposerResponse as UpdateComposerResponse, type index_d$1_UpdateTitleRequest as UpdateTitleRequest, type index_d$1_UpdateTitleResponse as UpdateTitleResponse, type index_d$1_UpsertTranslationRequest as UpsertTranslationRequest, type index_d$1_UpsertTranslationResponse as UpsertTranslationResponse, type index_d$1_ValidateHtmlLinksRequest as ValidateHtmlLinksRequest, type index_d$1_ValidateHtmlLinksResponse as ValidateHtmlLinksResponse, type index_d$1_ValidateHtmlLinksResponseNonNullableFields as ValidateHtmlLinksResponseNonNullableFields, type index_d$1_ValidateLinkRequest as ValidateLinkRequest, type index_d$1_ValidateLinkResponse as ValidateLinkResponse, type index_d$1_ValidateLinkResponseNonNullableFields as ValidateLinkResponseNonNullableFields, index_d$1_VersionType as VersionType, WebhookIdentityType$1 as WebhookIdentityType, type index_d$1__Array as _Array, type index_d$1__publicOnCampaignCreatedType as _publicOnCampaignCreatedType, type index_d$1__publicOnCampaignDeletedType as _publicOnCampaignDeletedType, type index_d$1__publicOnCampaignDistributedEventType as _publicOnCampaignDistributedEventType, type index_d$1__publicOnCampaignEmailActivityUpdatedType as _publicOnCampaignEmailActivityUpdatedType, type index_d$1__publicOnCampaignPausedEventType as _publicOnCampaignPausedEventType, type index_d$1__publicOnCampaignPublishedEventType as _publicOnCampaignPublishedEventType, type index_d$1__publicOnCampaignRejectedEventType as _publicOnCampaignRejectedEventType, type index_d$1__publicOnCampaignScheduledEventType as _publicOnCampaignScheduledEventType, type index_d$1__publicOnCampaignTerminatedEventType as _publicOnCampaignTerminatedEventType, index_d$1_deleteCampaign as deleteCampaign, index_d$1_getCampaign as getCampaign, index_d$1_listCampaigns as listCampaigns, index_d$1_listRecipients as listRecipients, index_d$1_listStatistics as listStatistics, index_d$1_onCampaignCreated as onCampaignCreated, index_d$1_onCampaignDeleted as onCampaignDeleted, index_d$1_onCampaignDistributedEvent as onCampaignDistributedEvent, index_d$1_onCampaignEmailActivityUpdated as onCampaignEmailActivityUpdated, index_d$1_onCampaignPausedEvent as onCampaignPausedEvent, index_d$1_onCampaignPublishedEvent as onCampaignPublishedEvent, index_d$1_onCampaignRejectedEvent as onCampaignRejectedEvent, index_d$1_onCampaignScheduledEvent as onCampaignScheduledEvent, index_d$1_onCampaignTerminatedEvent as onCampaignTerminatedEvent, index_d$1_pauseScheduling as pauseScheduling, onCampaignCreated$1 as publicOnCampaignCreated, onCampaignDeleted$1 as publicOnCampaignDeleted, onCampaignDistributedEvent$1 as publicOnCampaignDistributedEvent, onCampaignEmailActivityUpdated$1 as publicOnCampaignEmailActivityUpdated, onCampaignPausedEvent$1 as publicOnCampaignPausedEvent, onCampaignPublishedEvent$1 as publicOnCampaignPublishedEvent, onCampaignRejectedEvent$1 as publicOnCampaignRejectedEvent, onCampaignScheduledEvent$1 as publicOnCampaignScheduledEvent, onCampaignTerminatedEvent$1 as publicOnCampaignTerminatedEvent, index_d$1_publishCampaign as publishCampaign, index_d$1_reschedule as reschedule, index_d$1_resolveFromAddress as resolveFromAddress, index_d$1_reuseCampaign as reuseCampaign, index_d$1_sendTest as sendTest, index_d$1_validateHtmlLinks as validateHtmlLinks, index_d$1_validateLink as validateLink };
2587
2661
  }
2588
2662
 
2589
2663
  /**
@@ -2852,25 +2926,7 @@ interface ResolveActualFromAddressSignature {
2852
2926
  */
2853
2927
  (fromAddress: string): Promise<ResolveActualFromAddressResponse & ResolveActualFromAddressResponseNonNullableFields>;
2854
2928
  }
2855
- declare const onSenderDetailsUpdated$1: EventDefinition$2<SenderDetailsUpdatedEnvelope, "wix.email_marketing.v1.sender_details_updated">;
2856
-
2857
- type EventDefinition<Payload = unknown, Type extends string = string> = {
2858
- __type: 'event-definition';
2859
- type: Type;
2860
- isDomainEvent?: boolean;
2861
- transformations?: (envelope: unknown) => Payload;
2862
- __payload: Payload;
2863
- };
2864
- declare function EventDefinition<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition<Payload, Type>;
2865
- type EventHandler<T extends EventDefinition> = (payload: T['__payload']) => void | Promise<void>;
2866
- type BuildEventDefinition<T extends EventDefinition<any, string>> = (handler: EventHandler<T>) => void;
2867
-
2868
- declare global {
2869
- // eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
2870
- interface SymbolConstructor {
2871
- readonly observable: symbol;
2872
- }
2873
- }
2929
+ declare const onSenderDetailsUpdated$1: EventDefinition<SenderDetailsUpdatedEnvelope, "wix.email_marketing.v1.sender_details_updated">;
2874
2930
 
2875
2931
  declare function createEventModule<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
2876
2932
 
@@ -594,6 +594,14 @@ interface ReuseCampaignResponse$1 {
594
594
  /** Campaign information. */
595
595
  campaign?: Campaign$1;
596
596
  }
597
+ interface ResolveFromAddressRequest$1 {
598
+ /** User's provided arbitrary email address. */
599
+ emailAddress: string;
600
+ }
601
+ interface ResolveFromAddressResponse$1 {
602
+ /** Actual from-address that will be used for sending emails. */
603
+ fromAddress?: string;
604
+ }
597
605
  interface ValidateLinkResponseNonNullableFields$1 {
598
606
  valid: boolean;
599
607
  }
@@ -670,6 +678,9 @@ interface PublishCampaignResponseNonNullableFields$1 {
670
678
  interface ReuseCampaignResponseNonNullableFields$1 {
671
679
  campaign?: CampaignNonNullableFields$1;
672
680
  }
681
+ interface ResolveFromAddressResponseNonNullableFields$1 {
682
+ fromAddress: string;
683
+ }
673
684
 
674
685
  interface Campaign {
675
686
  /** Campaign ID. */
@@ -1117,6 +1128,14 @@ interface ReuseCampaignResponse {
1117
1128
  /** Campaign information. */
1118
1129
  campaign?: Campaign;
1119
1130
  }
1131
+ interface ResolveFromAddressRequest {
1132
+ /** User's provided arbitrary email address. */
1133
+ emailAddress: string;
1134
+ }
1135
+ interface ResolveFromAddressResponse {
1136
+ /** Actual from-address that will be used for sending emails. */
1137
+ fromAddress?: string;
1138
+ }
1120
1139
  interface ValidateLinkResponseNonNullableFields {
1121
1140
  valid: boolean;
1122
1141
  }
@@ -1193,6 +1212,9 @@ interface PublishCampaignResponseNonNullableFields {
1193
1212
  interface ReuseCampaignResponseNonNullableFields {
1194
1213
  campaign?: CampaignNonNullableFields;
1195
1214
  }
1215
+ interface ResolveFromAddressResponseNonNullableFields {
1216
+ fromAddress: string;
1217
+ }
1196
1218
 
1197
1219
  type __PublicMethodMetaInfo$1<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
1198
1220
  getUrl: (context: any) => string;
@@ -1232,6 +1254,7 @@ declare function deleteCampaign(): __PublicMethodMetaInfo$1<'DELETE', {
1232
1254
  declare function reuseCampaign(): __PublicMethodMetaInfo$1<'POST', {
1233
1255
  campaignId: string;
1234
1256
  }, ReuseCampaignRequest, ReuseCampaignRequest$1, ReuseCampaignResponse & ReuseCampaignResponseNonNullableFields, ReuseCampaignResponse$1 & ReuseCampaignResponseNonNullableFields$1>;
1257
+ declare function resolveFromAddress(): __PublicMethodMetaInfo$1<'POST', {}, ResolveFromAddressRequest, ResolveFromAddressRequest$1, ResolveFromAddressResponse & ResolveFromAddressResponseNonNullableFields, ResolveFromAddressResponse$1 & ResolveFromAddressResponseNonNullableFields$1>;
1235
1258
 
1236
1259
  declare const meta$1_deleteCampaign: typeof deleteCampaign;
1237
1260
  declare const meta$1_getCampaign: typeof getCampaign;
@@ -1241,12 +1264,13 @@ declare const meta$1_listStatistics: typeof listStatistics;
1241
1264
  declare const meta$1_pauseScheduling: typeof pauseScheduling;
1242
1265
  declare const meta$1_publishCampaign: typeof publishCampaign;
1243
1266
  declare const meta$1_reschedule: typeof reschedule;
1267
+ declare const meta$1_resolveFromAddress: typeof resolveFromAddress;
1244
1268
  declare const meta$1_reuseCampaign: typeof reuseCampaign;
1245
1269
  declare const meta$1_sendTest: typeof sendTest;
1246
1270
  declare const meta$1_validateHtmlLinks: typeof validateHtmlLinks;
1247
1271
  declare const meta$1_validateLink: typeof validateLink;
1248
1272
  declare namespace meta$1 {
1249
- export { type __PublicMethodMetaInfo$1 as __PublicMethodMetaInfo, meta$1_deleteCampaign as deleteCampaign, meta$1_getCampaign as getCampaign, meta$1_listCampaigns as listCampaigns, meta$1_listRecipients as listRecipients, meta$1_listStatistics as listStatistics, meta$1_pauseScheduling as pauseScheduling, meta$1_publishCampaign as publishCampaign, meta$1_reschedule as reschedule, meta$1_reuseCampaign as reuseCampaign, meta$1_sendTest as sendTest, meta$1_validateHtmlLinks as validateHtmlLinks, meta$1_validateLink as validateLink };
1273
+ export { type __PublicMethodMetaInfo$1 as __PublicMethodMetaInfo, meta$1_deleteCampaign as deleteCampaign, meta$1_getCampaign as getCampaign, meta$1_listCampaigns as listCampaigns, meta$1_listRecipients as listRecipients, meta$1_listStatistics as listStatistics, meta$1_pauseScheduling as pauseScheduling, meta$1_publishCampaign as publishCampaign, meta$1_reschedule as reschedule, meta$1_resolveFromAddress as resolveFromAddress, meta$1_reuseCampaign as reuseCampaign, meta$1_sendTest as sendTest, meta$1_validateHtmlLinks as validateHtmlLinks, meta$1_validateLink as validateLink };
1250
1274
  }
1251
1275
 
1252
1276
  /**