@wix/email-subscriptions 1.0.22 → 1.0.24

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.
@@ -1,553 +0,0 @@
1
- type RESTFunctionDescriptor<T extends (...args: any[]) => any = (...args: any[]) => any> = (httpClient: HttpClient) => T;
2
- interface HttpClient {
3
- request<TResponse, TData = any>(req: RequestOptionsFactory<TResponse, TData>): Promise<HttpResponse<TResponse>>;
4
- fetchWithAuth: typeof fetch;
5
- wixAPIFetch: (relativeUrl: string, options: RequestInit) => Promise<Response>;
6
- }
7
- type RequestOptionsFactory<TResponse = any, TData = any> = (context: any) => RequestOptions<TResponse, TData>;
8
- type HttpResponse<T = any> = {
9
- data: T;
10
- status: number;
11
- statusText: string;
12
- headers: any;
13
- request?: any;
14
- };
15
- type RequestOptions<_TResponse = any, Data = any> = {
16
- method: 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
17
- url: string;
18
- data?: Data;
19
- params?: URLSearchParams;
20
- } & APIMetadata;
21
- type APIMetadata = {
22
- methodFqn?: string;
23
- entityFqdn?: string;
24
- packageName?: string;
25
- };
26
- type BuildRESTFunction<T extends RESTFunctionDescriptor> = T extends RESTFunctionDescriptor<infer U> ? U : never;
27
- type EventDefinition<Payload = unknown, Type extends string = string> = {
28
- __type: 'event-definition';
29
- type: Type;
30
- isDomainEvent?: boolean;
31
- transformations?: (envelope: unknown) => Payload;
32
- __payload: Payload;
33
- };
34
- declare function EventDefinition<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition<Payload, Type>;
35
- type EventHandler<T extends EventDefinition> = (payload: T['__payload']) => void | Promise<void>;
36
- type BuildEventDefinition<T extends EventDefinition<any, string>> = (handler: EventHandler<T>) => void;
37
-
38
- declare global {
39
- // eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
40
- interface SymbolConstructor {
41
- readonly observable: symbol;
42
- }
43
- }
44
-
45
- interface EmailSubscription {
46
- /**
47
- * Email subscription ID.
48
- * @readonly
49
- */
50
- _id?: string | null;
51
- /** Email address. */
52
- email?: string;
53
- /**
54
- * Indicates the recipient's opt-in or opt-out status
55
- * for marketing emails.
56
- *
57
- * - `NOT_SET`: No status specified. This is the default, initial value before any info about the email address is known.
58
- * - `PENDING`: Subscription confirmation was requested,
59
- * but recipient hasn't confirmed yet.
60
- * - `SUBSCRIBED`: Recipient has opted in to marketing emails.
61
- * - `UNSUBSCRIBED`: Recipient has opted out of marketing emails.
62
- *
63
- * Defaults to `NOT_SET`.
64
- */
65
- subscriptionStatus?: SubscriptionEnumStatus;
66
- /**
67
- * Indicates last reported status of sent emails.
68
- *
69
- * - `NOT_SET`: No status specified. This is the default, initial value before any info about the email address is known.
70
- * - `VALID`: Emails to this email address are being delivered successfully.
71
- * - `BOUNCED`: The last email to the recipient bounced or was rejected.
72
- * - `SPAM_COMPLAINT`: The recipient registered a spam complaint
73
- * with their email provider.
74
- * - `INACTIVE`: Multiple campaigns have been delivered to this address without any engagement from the recipient. (No emails were opened and no content was clicked.)
75
- * This status might impact subsequent emails sent to this address.
76
- *
77
- * Defaults to `NOT_SET`.
78
- */
79
- deliverabilityStatus?: Status;
80
- /**
81
- * Date and time the email subscription was created.
82
- * @readonly
83
- */
84
- _createdDate?: Date;
85
- /**
86
- * Date and time the email subscription was last updated.
87
- * @readonly
88
- */
89
- _updatedDate?: Date;
90
- }
91
- declare enum SubscriptionEnumStatus {
92
- UNKNOWN = "UNKNOWN",
93
- /** No Subscription exists */
94
- NOT_SET = "NOT_SET",
95
- /** Pending Subscription */
96
- PENDING = "PENDING",
97
- /** Subscribed */
98
- SUBSCRIBED = "SUBSCRIBED",
99
- /** UnSubscribed */
100
- UNSUBSCRIBED = "UNSUBSCRIBED"
101
- }
102
- declare enum Status {
103
- NOT_SET = "NOT_SET",
104
- /** valid/deferral */
105
- VALID = "VALID",
106
- /** bounced/rejected/invalid */
107
- BOUNCED = "BOUNCED",
108
- /** spam/complaint */
109
- SPAM_COMPLAINT = "SPAM_COMPLAINT",
110
- /** valid, but no activity reported */
111
- INACTIVE = "INACTIVE"
112
- }
113
- interface V1RenderUnsubscribePageRequest {
114
- /** Payload */
115
- payload?: string;
116
- /** Language */
117
- language?: string | null;
118
- }
119
- interface RawHttpResponse {
120
- body?: Uint8Array;
121
- statusCode?: number | null;
122
- headers?: HeadersEntry[];
123
- }
124
- interface HeadersEntry {
125
- key?: string;
126
- value?: string;
127
- }
128
- interface V1ConfirmUnsubscribeActionRequest {
129
- /** Payload */
130
- payload?: string;
131
- }
132
- interface Empty {
133
- }
134
- interface EmailSubscriptionChanged {
135
- /** subscription */
136
- subscription?: EmailSubscription;
137
- }
138
- interface GetEmailSubscriptionRequest {
139
- _id?: string;
140
- }
141
- interface GetEmailSubscriptionResponse {
142
- /** Returned email subscription */
143
- emailSubscription?: EmailSubscription;
144
- }
145
- interface UpdateEmailSubscriptionRequest {
146
- /** Email subscription to update */
147
- subscription?: EmailSubscription;
148
- }
149
- interface UpdateEmailSubscriptionResponse {
150
- /** Updated email subscription */
151
- subscription?: EmailSubscription;
152
- }
153
- interface QueryEmailSubscriptionsRequest {
154
- /**
155
- * Filter options.
156
- * Currently, querying is supported on the `email` field
157
- * with the `$in` array filter.
158
- */
159
- filter: Record<string, any> | null;
160
- /**
161
- * Pagination options. For more information, see
162
- * [Pagination](https://dev.wix.com/api/rest/getting-started/pagination).
163
- */
164
- paging?: Paging;
165
- }
166
- interface Paging {
167
- /** Number of items to load. */
168
- limit?: number | null;
169
- /** Number of items to skip in the current sort order. */
170
- offset?: number | null;
171
- }
172
- interface QueryEmailSubscriptionsResponse {
173
- /** List of subscribed emails that matched the query options. */
174
- subscriptions?: EmailSubscription[];
175
- /** Metadata for the paginated results. */
176
- metadata?: PagingMetadata;
177
- }
178
- interface PagingMetadata {
179
- /** Number of items returned in the response. */
180
- count?: number | null;
181
- /** Offset that was requested. */
182
- offset?: number | null;
183
- /** Total number of items that match the query. */
184
- total?: number | null;
185
- /** Flag that indicates the server failed to calculate the `total` field. */
186
- tooManyToCount?: boolean | null;
187
- }
188
- interface UpsertEmailSubscriptionRequest {
189
- /** Email subscription to update or create. */
190
- subscription?: EmailSubscription;
191
- }
192
- interface UpsertEmailSubscriptionResponse {
193
- /** Updated or created email subscription. */
194
- subscription?: EmailSubscription;
195
- }
196
- interface BulkUpsertEmailSubscriptionRequest {
197
- /** List of email subscriptions to update or create. */
198
- subscriptions: EmailSubscription[];
199
- }
200
- interface BulkUpsertEmailSubscriptionResponse {
201
- /** List of updated or created email subscriptions. */
202
- results?: BulkUpsertEmailSubscriptionResult[];
203
- /** Numbers of successful and failed actions. */
204
- metadata?: Metadata;
205
- }
206
- interface BulkUpsertEmailSubscriptionResult {
207
- /** Position of the requested email subscription in the bulk array. */
208
- originalIndex?: number;
209
- /** New or updated email subscription. */
210
- emailSubscription?: EmailSubscription;
211
- /**
212
- * Error information if the action failed.
213
- * Omitted from successful actions.
214
- */
215
- error?: Error;
216
- }
217
- interface Error {
218
- /** Error code. */
219
- errorCode?: string;
220
- /** Message that contains details about the error. */
221
- message?: string;
222
- }
223
- interface Metadata {
224
- /** Number of successful actions. */
225
- totalSuccess?: number;
226
- /** Number of failed actions. */
227
- totalFailure?: number;
228
- }
229
- interface GenerateUnsubscribeLinkRequest {
230
- /** Email address the unsubscribe link is for. */
231
- emailAddress: string;
232
- /** Arbitrary parameters for closing-the-loop. */
233
- metadata?: Record<string, string>;
234
- /** Language for displaying unsubscribe confirmation page (optional - default EN). */
235
- language?: string | null;
236
- }
237
- interface GenerateUnsubscribeLinkResponse {
238
- /** The unsubscribe link. */
239
- link?: string;
240
- }
241
- interface RenderUnsubscribePageRequest {
242
- /** Payload */
243
- payload?: string;
244
- /** Language */
245
- language?: string | null;
246
- }
247
- interface ConfirmUnsubscribeActionRequest {
248
- /** Payload */
249
- payload?: string;
250
- }
251
- interface DomainEvent extends DomainEventBodyOneOf {
252
- createdEvent?: EntityCreatedEvent;
253
- updatedEvent?: EntityUpdatedEvent;
254
- deletedEvent?: EntityDeletedEvent;
255
- actionEvent?: ActionEvent;
256
- /**
257
- * Unique event ID.
258
- * Allows clients to ignore duplicate webhooks.
259
- */
260
- _id?: string;
261
- /**
262
- * Assumes actions are also always typed to an entity_type
263
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
264
- */
265
- entityFqdn?: string;
266
- /**
267
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
268
- * This is although the created/updated/deleted notion is duplication of the oneof types
269
- * Example: created/updated/deleted/started/completed/email_opened
270
- */
271
- slug?: string;
272
- /** ID of the entity associated with the event. */
273
- entityId?: string;
274
- /** Event timestamp. */
275
- eventTime?: Date;
276
- /**
277
- * Whether the event was triggered as a result of a privacy regulation application
278
- * (for example, GDPR).
279
- */
280
- triggeredByAnonymizeRequest?: boolean | null;
281
- /** If present, indicates the action that triggered the event. */
282
- originatedFrom?: string | null;
283
- /**
284
- * A sequence number defining the order of updates to the underlying entity.
285
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
286
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
287
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
288
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
289
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
290
- */
291
- entityEventSequence?: string | null;
292
- }
293
- /** @oneof */
294
- interface DomainEventBodyOneOf {
295
- createdEvent?: EntityCreatedEvent;
296
- updatedEvent?: EntityUpdatedEvent;
297
- deletedEvent?: EntityDeletedEvent;
298
- actionEvent?: ActionEvent;
299
- }
300
- interface EntityCreatedEvent {
301
- entity?: string;
302
- }
303
- interface RestoreInfo {
304
- deletedDate?: Date;
305
- }
306
- interface EntityUpdatedEvent {
307
- /**
308
- * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
309
- * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
310
- * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
311
- */
312
- currentEntity?: string;
313
- }
314
- interface EntityDeletedEvent {
315
- /** Entity that was deleted */
316
- deletedEntity?: string | null;
317
- }
318
- interface ActionEvent {
319
- body?: string;
320
- }
321
- interface MessageEnvelope {
322
- /** App instance ID. */
323
- instanceId?: string | null;
324
- /** Event type. */
325
- eventType?: string;
326
- /** The identification type and identity data. */
327
- identity?: IdentificationData;
328
- /** Stringify payload. */
329
- data?: string;
330
- }
331
- interface IdentificationData extends IdentificationDataIdOneOf {
332
- /** ID of a site visitor that has not logged in to the site. */
333
- anonymousVisitorId?: string;
334
- /** ID of a site visitor that has logged in to the site. */
335
- memberId?: string;
336
- /** ID of a Wix user (site owner, contributor, etc.). */
337
- wixUserId?: string;
338
- /** ID of an app. */
339
- appId?: string;
340
- /** @readonly */
341
- identityType?: WebhookIdentityType;
342
- }
343
- /** @oneof */
344
- interface IdentificationDataIdOneOf {
345
- /** ID of a site visitor that has not logged in to the site. */
346
- anonymousVisitorId?: string;
347
- /** ID of a site visitor that has logged in to the site. */
348
- memberId?: string;
349
- /** ID of a Wix user (site owner, contributor, etc.). */
350
- wixUserId?: string;
351
- /** ID of an app. */
352
- appId?: string;
353
- }
354
- declare enum WebhookIdentityType {
355
- UNKNOWN = "UNKNOWN",
356
- ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
357
- MEMBER = "MEMBER",
358
- WIX_USER = "WIX_USER",
359
- APP = "APP"
360
- }
361
- interface EmailSubscriptionNonNullableFields {
362
- email: string;
363
- subscriptionStatus: SubscriptionEnumStatus;
364
- deliverabilityStatus: Status;
365
- }
366
- interface QueryEmailSubscriptionsResponseNonNullableFields {
367
- subscriptions: EmailSubscriptionNonNullableFields[];
368
- }
369
- interface UpsertEmailSubscriptionResponseNonNullableFields {
370
- subscription?: EmailSubscriptionNonNullableFields;
371
- }
372
- interface ErrorNonNullableFields {
373
- errorCode: string;
374
- message: string;
375
- }
376
- interface BulkUpsertEmailSubscriptionResultNonNullableFields {
377
- originalIndex: number;
378
- emailSubscription?: EmailSubscriptionNonNullableFields;
379
- error?: ErrorNonNullableFields;
380
- }
381
- interface MetadataNonNullableFields {
382
- totalSuccess: number;
383
- totalFailure: number;
384
- }
385
- interface BulkUpsertEmailSubscriptionResponseNonNullableFields {
386
- results: BulkUpsertEmailSubscriptionResultNonNullableFields[];
387
- metadata?: MetadataNonNullableFields;
388
- }
389
- interface GenerateUnsubscribeLinkResponseNonNullableFields {
390
- link: string;
391
- }
392
- interface BaseEventMetadata {
393
- /** App instance ID. */
394
- instanceId?: string | null;
395
- /** Event type. */
396
- eventType?: string;
397
- /** The identification type and identity data. */
398
- identity?: IdentificationData;
399
- }
400
- interface EmailsubscriptionEmailSubscriptionChangedEnvelope {
401
- data: EmailSubscriptionChanged;
402
- metadata: BaseEventMetadata;
403
- }
404
- interface QueryEmailSubscriptionsOptions {
405
- /**
406
- * Pagination options. For more information, see
407
- * [Pagination](https://dev.wix.com/api/rest/getting-started/pagination).
408
- */
409
- paging?: Paging;
410
- }
411
- interface UpsertEmailSubscriptionOptions {
412
- /** Email subscription to update or create. */
413
- subscription?: EmailSubscription;
414
- }
415
- interface GenerateUnsubscribeLinkOptions {
416
- /** Arbitrary parameters for closing-the-loop. */
417
- metadata?: Record<string, string>;
418
- /** Language for displaying unsubscribe confirmation page (optional - default EN). */
419
- language?: string | null;
420
- }
421
-
422
- declare function queryEmailSubscriptions$1(httpClient: HttpClient): QueryEmailSubscriptionsSignature;
423
- interface QueryEmailSubscriptionsSignature {
424
- /**
425
- * Retrieves email subscriptions,
426
- * given the provided paging, filtering, and sorting.
427
- *
428
- * Currently, querying is supported on the `email` field
429
- * with the `$in` array filter.
430
- * For example, to query for emails "me@my.com" and "you@your.org",
431
- * the filter should be formed like this:
432
- *
433
- * ```json
434
- * { "filter": {
435
- * "email": {
436
- * "$in": ["me@my.com", "you@your.org"]
437
- * }
438
- * }
439
- * }
440
- * ```
441
- *
442
- * To learn how to query email subscriptions, see
443
- * [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language).
444
- * @param - Filter options.
445
- * Currently, querying is supported on the `email` field
446
- * with the `$in` array filter.
447
- */
448
- (filter: Record<string, any> | null, options?: QueryEmailSubscriptionsOptions | undefined): Promise<QueryEmailSubscriptionsResponse & QueryEmailSubscriptionsResponseNonNullableFields>;
449
- }
450
- declare function upsertEmailSubscription$1(httpClient: HttpClient): UpsertEmailSubscriptionSignature;
451
- interface UpsertEmailSubscriptionSignature {
452
- /**
453
- * Updates or creates an email subscription for the requested email.
454
- *
455
- * An email subscription is always returned in the response,
456
- * regardless of whether it was updated or created.
457
- */
458
- (options?: UpsertEmailSubscriptionOptions | undefined): Promise<UpsertEmailSubscriptionResponse & UpsertEmailSubscriptionResponseNonNullableFields>;
459
- }
460
- declare function bulkUpsertEmailSubscription$1(httpClient: HttpClient): BulkUpsertEmailSubscriptionSignature;
461
- interface BulkUpsertEmailSubscriptionSignature {
462
- /**
463
- * Updates or creates multiple email subscriptions.
464
- * @param - List of email subscriptions to update or create.
465
- */
466
- (subscriptions: EmailSubscription[]): Promise<BulkUpsertEmailSubscriptionResponse & BulkUpsertEmailSubscriptionResponseNonNullableFields>;
467
- }
468
- declare function generateUnsubscribeLink$1(httpClient: HttpClient): GenerateUnsubscribeLinkSignature;
469
- interface GenerateUnsubscribeLinkSignature {
470
- /**
471
- * Creates an unsubscribe link to be shared with the relevant recipient.
472
- *
473
- * If someone clicks the **Unsubscribe** button on the confirmation page,
474
- * the recipient's `subscriptionStatus` is changed to `UNSUBSCRIBED`.
475
- * @param - Email address the unsubscribe link is for.
476
- */
477
- (emailAddress: string, options?: GenerateUnsubscribeLinkOptions | undefined): Promise<GenerateUnsubscribeLinkResponse & GenerateUnsubscribeLinkResponseNonNullableFields>;
478
- }
479
- declare const onEmailsubscriptionEmailSubscriptionChanged$1: EventDefinition<EmailsubscriptionEmailSubscriptionChangedEnvelope, "com.wixpress.emailsubscriptions.v1.EmailSubscriptionChanged">;
480
-
481
- declare function createEventModule<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
482
-
483
- declare const queryEmailSubscriptions: BuildRESTFunction<typeof queryEmailSubscriptions$1> & typeof queryEmailSubscriptions$1;
484
- declare const upsertEmailSubscription: BuildRESTFunction<typeof upsertEmailSubscription$1> & typeof upsertEmailSubscription$1;
485
- declare const bulkUpsertEmailSubscription: BuildRESTFunction<typeof bulkUpsertEmailSubscription$1> & typeof bulkUpsertEmailSubscription$1;
486
- declare const generateUnsubscribeLink: BuildRESTFunction<typeof generateUnsubscribeLink$1> & typeof generateUnsubscribeLink$1;
487
-
488
- type _publicOnEmailsubscriptionEmailSubscriptionChangedType = typeof onEmailsubscriptionEmailSubscriptionChanged$1;
489
- /** */
490
- declare const onEmailsubscriptionEmailSubscriptionChanged: ReturnType<typeof createEventModule<_publicOnEmailsubscriptionEmailSubscriptionChangedType>>;
491
-
492
- type context_ActionEvent = ActionEvent;
493
- type context_BaseEventMetadata = BaseEventMetadata;
494
- type context_BulkUpsertEmailSubscriptionRequest = BulkUpsertEmailSubscriptionRequest;
495
- type context_BulkUpsertEmailSubscriptionResponse = BulkUpsertEmailSubscriptionResponse;
496
- type context_BulkUpsertEmailSubscriptionResponseNonNullableFields = BulkUpsertEmailSubscriptionResponseNonNullableFields;
497
- type context_BulkUpsertEmailSubscriptionResult = BulkUpsertEmailSubscriptionResult;
498
- type context_ConfirmUnsubscribeActionRequest = ConfirmUnsubscribeActionRequest;
499
- type context_DomainEvent = DomainEvent;
500
- type context_DomainEventBodyOneOf = DomainEventBodyOneOf;
501
- type context_EmailSubscription = EmailSubscription;
502
- type context_EmailSubscriptionChanged = EmailSubscriptionChanged;
503
- type context_EmailsubscriptionEmailSubscriptionChangedEnvelope = EmailsubscriptionEmailSubscriptionChangedEnvelope;
504
- type context_Empty = Empty;
505
- type context_EntityCreatedEvent = EntityCreatedEvent;
506
- type context_EntityDeletedEvent = EntityDeletedEvent;
507
- type context_EntityUpdatedEvent = EntityUpdatedEvent;
508
- type context_Error = Error;
509
- type context_GenerateUnsubscribeLinkOptions = GenerateUnsubscribeLinkOptions;
510
- type context_GenerateUnsubscribeLinkRequest = GenerateUnsubscribeLinkRequest;
511
- type context_GenerateUnsubscribeLinkResponse = GenerateUnsubscribeLinkResponse;
512
- type context_GenerateUnsubscribeLinkResponseNonNullableFields = GenerateUnsubscribeLinkResponseNonNullableFields;
513
- type context_GetEmailSubscriptionRequest = GetEmailSubscriptionRequest;
514
- type context_GetEmailSubscriptionResponse = GetEmailSubscriptionResponse;
515
- type context_HeadersEntry = HeadersEntry;
516
- type context_IdentificationData = IdentificationData;
517
- type context_IdentificationDataIdOneOf = IdentificationDataIdOneOf;
518
- type context_MessageEnvelope = MessageEnvelope;
519
- type context_Metadata = Metadata;
520
- type context_Paging = Paging;
521
- type context_PagingMetadata = PagingMetadata;
522
- type context_QueryEmailSubscriptionsOptions = QueryEmailSubscriptionsOptions;
523
- type context_QueryEmailSubscriptionsRequest = QueryEmailSubscriptionsRequest;
524
- type context_QueryEmailSubscriptionsResponse = QueryEmailSubscriptionsResponse;
525
- type context_QueryEmailSubscriptionsResponseNonNullableFields = QueryEmailSubscriptionsResponseNonNullableFields;
526
- type context_RawHttpResponse = RawHttpResponse;
527
- type context_RenderUnsubscribePageRequest = RenderUnsubscribePageRequest;
528
- type context_RestoreInfo = RestoreInfo;
529
- type context_Status = Status;
530
- declare const context_Status: typeof Status;
531
- type context_SubscriptionEnumStatus = SubscriptionEnumStatus;
532
- declare const context_SubscriptionEnumStatus: typeof SubscriptionEnumStatus;
533
- type context_UpdateEmailSubscriptionRequest = UpdateEmailSubscriptionRequest;
534
- type context_UpdateEmailSubscriptionResponse = UpdateEmailSubscriptionResponse;
535
- type context_UpsertEmailSubscriptionOptions = UpsertEmailSubscriptionOptions;
536
- type context_UpsertEmailSubscriptionRequest = UpsertEmailSubscriptionRequest;
537
- type context_UpsertEmailSubscriptionResponse = UpsertEmailSubscriptionResponse;
538
- type context_UpsertEmailSubscriptionResponseNonNullableFields = UpsertEmailSubscriptionResponseNonNullableFields;
539
- type context_V1ConfirmUnsubscribeActionRequest = V1ConfirmUnsubscribeActionRequest;
540
- type context_V1RenderUnsubscribePageRequest = V1RenderUnsubscribePageRequest;
541
- type context_WebhookIdentityType = WebhookIdentityType;
542
- declare const context_WebhookIdentityType: typeof WebhookIdentityType;
543
- type context__publicOnEmailsubscriptionEmailSubscriptionChangedType = _publicOnEmailsubscriptionEmailSubscriptionChangedType;
544
- declare const context_bulkUpsertEmailSubscription: typeof bulkUpsertEmailSubscription;
545
- declare const context_generateUnsubscribeLink: typeof generateUnsubscribeLink;
546
- declare const context_onEmailsubscriptionEmailSubscriptionChanged: typeof onEmailsubscriptionEmailSubscriptionChanged;
547
- declare const context_queryEmailSubscriptions: typeof queryEmailSubscriptions;
548
- declare const context_upsertEmailSubscription: typeof upsertEmailSubscription;
549
- declare namespace context {
550
- export { type context_ActionEvent as ActionEvent, type context_BaseEventMetadata as BaseEventMetadata, type context_BulkUpsertEmailSubscriptionRequest as BulkUpsertEmailSubscriptionRequest, type context_BulkUpsertEmailSubscriptionResponse as BulkUpsertEmailSubscriptionResponse, type context_BulkUpsertEmailSubscriptionResponseNonNullableFields as BulkUpsertEmailSubscriptionResponseNonNullableFields, type context_BulkUpsertEmailSubscriptionResult as BulkUpsertEmailSubscriptionResult, type context_ConfirmUnsubscribeActionRequest as ConfirmUnsubscribeActionRequest, type context_DomainEvent as DomainEvent, type context_DomainEventBodyOneOf as DomainEventBodyOneOf, type context_EmailSubscription as EmailSubscription, type context_EmailSubscriptionChanged as EmailSubscriptionChanged, type context_EmailsubscriptionEmailSubscriptionChangedEnvelope as EmailsubscriptionEmailSubscriptionChangedEnvelope, type context_Empty as Empty, type context_EntityCreatedEvent as EntityCreatedEvent, type context_EntityDeletedEvent as EntityDeletedEvent, type context_EntityUpdatedEvent as EntityUpdatedEvent, type context_Error as Error, type context_GenerateUnsubscribeLinkOptions as GenerateUnsubscribeLinkOptions, type context_GenerateUnsubscribeLinkRequest as GenerateUnsubscribeLinkRequest, type context_GenerateUnsubscribeLinkResponse as GenerateUnsubscribeLinkResponse, type context_GenerateUnsubscribeLinkResponseNonNullableFields as GenerateUnsubscribeLinkResponseNonNullableFields, type context_GetEmailSubscriptionRequest as GetEmailSubscriptionRequest, type context_GetEmailSubscriptionResponse as GetEmailSubscriptionResponse, type context_HeadersEntry as HeadersEntry, type context_IdentificationData as IdentificationData, type context_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type context_MessageEnvelope as MessageEnvelope, type context_Metadata as Metadata, type context_Paging as Paging, type context_PagingMetadata as PagingMetadata, type context_QueryEmailSubscriptionsOptions as QueryEmailSubscriptionsOptions, type context_QueryEmailSubscriptionsRequest as QueryEmailSubscriptionsRequest, type context_QueryEmailSubscriptionsResponse as QueryEmailSubscriptionsResponse, type context_QueryEmailSubscriptionsResponseNonNullableFields as QueryEmailSubscriptionsResponseNonNullableFields, type context_RawHttpResponse as RawHttpResponse, type context_RenderUnsubscribePageRequest as RenderUnsubscribePageRequest, type context_RestoreInfo as RestoreInfo, context_Status as Status, context_SubscriptionEnumStatus as SubscriptionEnumStatus, type context_UpdateEmailSubscriptionRequest as UpdateEmailSubscriptionRequest, type context_UpdateEmailSubscriptionResponse as UpdateEmailSubscriptionResponse, type context_UpsertEmailSubscriptionOptions as UpsertEmailSubscriptionOptions, type context_UpsertEmailSubscriptionRequest as UpsertEmailSubscriptionRequest, type context_UpsertEmailSubscriptionResponse as UpsertEmailSubscriptionResponse, type context_UpsertEmailSubscriptionResponseNonNullableFields as UpsertEmailSubscriptionResponseNonNullableFields, type context_V1ConfirmUnsubscribeActionRequest as V1ConfirmUnsubscribeActionRequest, type context_V1RenderUnsubscribePageRequest as V1RenderUnsubscribePageRequest, context_WebhookIdentityType as WebhookIdentityType, type context__publicOnEmailsubscriptionEmailSubscriptionChangedType as _publicOnEmailsubscriptionEmailSubscriptionChangedType, context_bulkUpsertEmailSubscription as bulkUpsertEmailSubscription, context_generateUnsubscribeLink as generateUnsubscribeLink, context_onEmailsubscriptionEmailSubscriptionChanged as onEmailsubscriptionEmailSubscriptionChanged, onEmailsubscriptionEmailSubscriptionChanged$1 as publicOnEmailsubscriptionEmailSubscriptionChanged, context_queryEmailSubscriptions as queryEmailSubscriptions, context_upsertEmailSubscription as upsertEmailSubscription };
551
- }
552
-
553
- export { context as emailSubscriptions };