import { GetMarketingConsentRequest as GetMarketingConsentRequest$1, GetMarketingConsentResponse as GetMarketingConsentResponse$1, GetMarketingConsentByIdentifierRequest as GetMarketingConsentByIdentifierRequest$1, GetMarketingConsentByIdentifierResponse as GetMarketingConsentByIdentifierResponse$1, CreateMarketingConsentRequest as CreateMarketingConsentRequest$1, CreateMarketingConsentResponse as CreateMarketingConsentResponse$1, UpdateMarketingConsentRequest as UpdateMarketingConsentRequest$1, UpdateMarketingConsentResponse as UpdateMarketingConsentResponse$1, DeleteMarketingConsentRequest as DeleteMarketingConsentRequest$1, DeleteMarketingConsentResponse as DeleteMarketingConsentResponse$1, RemoveMarketingConsentRequest as RemoveMarketingConsentRequest$1, RemoveMarketingConsentResponse as RemoveMarketingConsentResponse$1, QueryMarketingConsentRequest as QueryMarketingConsentRequest$1, QueryMarketingConsentResponse as QueryMarketingConsentResponse$1, UpsertMarketingConsentRequest as UpsertMarketingConsentRequest$1, UpsertMarketingConsentResponse as UpsertMarketingConsentResponse$1, BulkUpsertMarketingConsentRequest as BulkUpsertMarketingConsentRequest$1, BulkUpsertMarketingConsentResponse as BulkUpsertMarketingConsentResponse$1 } from './index.typings.js'; import '@wix/sdk-types'; interface MarketingConsent { /** * Marketing consent ID. * @format GUID * @immutable * @readonly */ id?: string | null; /** * Revision number. * @readonly */ revision?: string | null; /** Marketing consent communication details. */ details?: MarketingConsentDetails; /** * Marketing consent state. * * Default: `UNKNOWN_STATE`. */ state?: MarketingConsentStateWithLiterals; /** * Date and time the marketing consent was created. * @readonly */ createdDate?: Date | null; /** * Date and time the marketing consent was updated. * @readonly */ updatedDate?: Date | null; /** Last confirmation activity of the marketing consent. */ lastConfirmationActivity?: LastConfirmationActivity; /** Last revoke activity of the marketing consent. */ lastRevokeActivity?: LastRevokeActivity; /** Additional fields. */ extendedFields?: ExtendedFields; } interface MarketingConsentDetails extends MarketingConsentDetailsIdentifierOneOf { /** * Email address used for the marketing consent. * @format EMAIL */ email?: string; /** * Phone number in [E.164](https://en.wikipedia.org/wiki/E.164) format used for the SMS marketing consent. * @format PHONE */ phone?: string; /** The communication channel of the marketing consent. */ type?: MarketingConsentDetailsIdentifierTypeWithLiterals; } /** @oneof */ interface MarketingConsentDetailsIdentifierOneOf { /** * Email address used for the marketing consent. * @format EMAIL */ email?: string; /** * Phone number in [E.164](https://en.wikipedia.org/wiki/E.164) format used for the SMS marketing consent. * @format PHONE */ phone?: string; } declare enum MarketingConsentDetailsIdentifierType { UNKNOWN_TYPE = "UNKNOWN_TYPE", EMAIL = "EMAIL", PHONE = "PHONE" } /** @enumType */ type MarketingConsentDetailsIdentifierTypeWithLiterals = MarketingConsentDetailsIdentifierType | 'UNKNOWN_TYPE' | 'EMAIL' | 'PHONE'; declare enum MarketingConsentState { /** State of the marketing consent is unknown. */ UNKNOWN_STATE = "UNKNOWN_STATE", /** The site visitor never confirmed to receive marketing consents. */ NEVER_CONFIRMED = "NEVER_CONFIRMED", /** The marketing consent has been removed, for example, when a site visitor unsubscribes from a newsletter. */ REVOKED = "REVOKED", /** The marketing consent is pending confirmation. Relevant only for `{"optInLevel": "DOUBLE_CONFIRMATION"}`. */ PENDING = "PENDING", /** The site visitor has confirmed their marketing consent. */ CONFIRMED = "CONFIRMED" } /** @enumType */ type MarketingConsentStateWithLiterals = MarketingConsentState | 'UNKNOWN_STATE' | 'NEVER_CONFIRMED' | 'REVOKED' | 'PENDING' | 'CONFIRMED'; interface LastConfirmationActivity { /** Source of the given consent (how the site visitor signed up). */ source?: SourceWithLiterals; /** * Consent description. * @minLength 1 * @maxLength 200 */ description?: string | null; /** Date and time the consent was updated. */ updatedDate?: Date | null; /** Consent opt in level, either single or double confirmation. */ optInLevel?: OptInLevelWithLiterals; } declare enum Source { IN_PERSON = "IN_PERSON", FORM = "FORM", LINK_CONFIRMATION = "LINK_CONFIRMATION", EMAIL_SERVICE = "EMAIL_SERVICE", WIX_USERS = "WIX_USERS", OTHER = "OTHER" } /** @enumType */ type SourceWithLiterals = Source | 'IN_PERSON' | 'FORM' | 'LINK_CONFIRMATION' | 'EMAIL_SERVICE' | 'WIX_USERS' | 'OTHER'; declare enum OptInLevel { UNKNOWN_OPT_IN_LEVEL = "UNKNOWN_OPT_IN_LEVEL", SINGLE_CONFIRMATION = "SINGLE_CONFIRMATION", DOUBLE_CONFIRMATION = "DOUBLE_CONFIRMATION" } /** @enumType */ type OptInLevelWithLiterals = OptInLevel | 'UNKNOWN_OPT_IN_LEVEL' | 'SINGLE_CONFIRMATION' | 'DOUBLE_CONFIRMATION'; interface LastRevokeActivity { /** Source of the given revoke (how the visitor signed up). */ source?: LastRevokeActivitySourceWithLiterals; /** * Details about the revoke, if relevant. * @minLength 1 * @maxLength 200 */ description?: string | null; /** Date and time the consent was updated. */ updatedDate?: Date | null; } declare enum LastRevokeActivitySource { IN_PERSON = "IN_PERSON", FORM = "FORM", REVOKE_LINK = "REVOKE_LINK", WIX_USERS = "WIX_USERS", OTHER = "OTHER" } /** @enumType */ type LastRevokeActivitySourceWithLiterals = LastRevokeActivitySource | 'IN_PERSON' | 'FORM' | 'REVOKE_LINK' | 'WIX_USERS' | 'OTHER'; interface ExtendedFields { /** * Extended field data. Each key corresponds to the namespace of the app that created the extended fields. * The value of each key is structured according to the schema defined when the extended fields were configured. * * You can only access fields for which you have the appropriate permissions. * * Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields). */ namespaces?: Record>; } interface GetMarketingConsentRequest { /** * Marketing consent ID. * @format GUID */ marketingConsentId: string; } interface GetMarketingConsentResponse { /** The requested marketing consent. */ marketingConsent?: MarketingConsent; } interface GetMarketingConsentByIdentifierRequest extends GetMarketingConsentByIdentifierRequestIdentifierOneOf { /** * Email address used for the marketing consent. * @format EMAIL */ email?: string; /** * Phone number in [E.164](https://en.wikipedia.org/wiki/E.164) format used for the SMS marketing consent. * @format PHONE */ phone?: string; /** The communication channel of the marketing consent. */ type: MarketingConsentDetailsIdentifierTypeWithLiterals; /** * Language of the page * @format LANGUAGE */ linkLanguage?: string | null; } /** @oneof */ interface GetMarketingConsentByIdentifierRequestIdentifierOneOf { /** * Email address used for the marketing consent. * @format EMAIL */ email?: string; /** * Phone number in [E.164](https://en.wikipedia.org/wiki/E.164) format used for the SMS marketing consent. * @format PHONE */ phone?: string; } interface GetMarketingConsentByIdentifierResponse { /** The requested marketing consent. */ marketingConsent?: MarketingConsent; /** Details about whether the subject of the marketing consent is eligible to receive marketing messages. */ communicationEligibility?: CommunicationEligibility; } interface CommunicationEligibility { /** Whether the recipient of the marketing consent is eligible to receive marketing messages. For example, if a visitor cancels their marketing consent, `CommunicationEligibility.granted` is `false`. Note that this only serves as a signal for your app to decide whether or not it should send marketing messages to the recipient's email address or phone number. */ granted?: boolean; /** * Cancellation link. * @format WEB_URL */ revokeConfirmationLink?: string | null; /** * The reason the recipient of the marketing consent isn't eligible to receive marketing messages, for example, if the visitor unsubscribed from a newsletter. * @maxLength 300 */ reason?: string | null; } interface GetConsistentMarketingConsentByIdentifierRequest extends GetConsistentMarketingConsentByIdentifierRequestIdentifierOneOf { /** * Email address used for the marketing consent. * @format EMAIL */ email?: string; /** * Phone number in [E.164](https://en.wikipedia.org/wiki/E.164) format used for the SMS marketing consent. * @format PHONE */ phone?: string; /** The communication channel of the marketing consent. */ type?: MarketingConsentDetailsIdentifierTypeWithLiterals; /** * Language of the page * @format LANGUAGE */ linkLanguage?: string | null; } /** @oneof */ interface GetConsistentMarketingConsentByIdentifierRequestIdentifierOneOf { /** * Email address used for the marketing consent. * @format EMAIL */ email?: string; /** * Phone number in [E.164](https://en.wikipedia.org/wiki/E.164) format used for the SMS marketing consent. * @format PHONE */ phone?: string; } interface GetConsistentMarketingConsentByIdentifierResponse { /** The requested marketing consent. */ marketingConsent?: MarketingConsent; /** Details about whether the recipient of the marketing consent is eligible to receive marketing messages. */ communicationEligibility?: CommunicationEligibility; } interface CreateMarketingConsentRequest { /** Marketing consent to create. */ marketingConsent?: MarketingConsent; } interface CreateMarketingConsentResponse { /** Newly created marketing consent. */ marketingConsent?: MarketingConsent; /** Marketing consent confirmation link. */ link?: Link; } interface Link { /** Link type. */ type?: LinkTypeWithLiterals; /** * The link's URL. * @format WEB_URL */ url?: string; } declare enum LinkType { UNKNOWN_LINK_TYPE = "UNKNOWN_LINK_TYPE", CONFIRMATION = "CONFIRMATION", REVOKE_CONFIRMATION = "REVOKE_CONFIRMATION" } /** @enumType */ type LinkTypeWithLiterals = LinkType | 'UNKNOWN_LINK_TYPE' | 'CONFIRMATION' | 'REVOKE_CONFIRMATION'; interface UpdateMarketingConsentRequest { /** Marketing consent to update. */ marketingConsent?: MarketingConsent; /** Explicit list of fields to update */ mask: string[]; } interface UpdateMarketingConsentResponse { /** Updated marketing consent. */ marketingConsent?: MarketingConsent; /** Marketing consent confirmation or cancelation link. */ link?: Link; } interface DeleteMarketingConsentRequest { /** * ID of the marketing consent to delete. * @format GUID */ marketingConsentId: string; } interface DeleteMarketingConsentResponse { } interface RemoveMarketingConsentRequest { /** Marketing consent communication details. */ details: MarketingConsentDetails; /** Information about the last revoke. */ lastRevokeActivity?: LastRevokeActivity; } interface RemoveMarketingConsentResponse { /** The canceled marketing consent. */ marketingConsent?: MarketingConsent; } interface CreateMarketingConsentByTokenRequest { /** * Encrypted token with essential information * @maxLength 5000 */ token?: string; } interface CreateMarketingConsentByTokenResponse { /** The subscribed MarketingConsent */ marketingConsent?: MarketingConsent; } interface RemoveMarketingConsentByTokenRequest { /** * Encrypted token with essential information * @maxLength 5000 */ token?: string; } interface RemoveMarketingConsentByTokenResponse { /** The subscribed MarketingConsent */ marketingConsent?: MarketingConsent; } interface QueryMarketingConsentRequest { /** Query options. */ query: CursorQuery; } interface CursorQuery extends CursorQueryPagingMethodOneOf { /** * Cursor paging options. * * Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging). */ cursorPaging?: CursorPaging; /** * Filter object. * * Learn more about [filtering](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#filters). */ filter?: Record | null; /** * Sort object. * * Learn more about [sorting](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#sorting). * @maxSize 5 */ sort?: Sorting[]; } /** @oneof */ interface CursorQueryPagingMethodOneOf { /** * Cursor paging options. * * Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging). */ cursorPaging?: CursorPaging; } interface Sorting { /** * Name of the field to sort by. * @maxLength 512 */ fieldName?: string; /** Sort order. */ order?: SortOrderWithLiterals; /** * Origin point for geo-distance sorting on a GEO field * results are ordered by distance from this point (ASC = nearest first, DESC = farthest first). */ origin?: AddressLocation; } declare enum SortOrder { ASC = "ASC", DESC = "DESC" } /** @enumType */ type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC'; interface AddressLocation { /** Address latitude. */ latitude?: number | null; /** Address longitude. */ longitude?: number | null; } interface CursorPaging { /** * Maximum number of items to return in the results. * @max 100 */ limit?: number | null; /** * Pointer to the next or previous page in the list of results. * * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response. * Not relevant for the first request. * @maxLength 16000 */ cursor?: string | null; } interface QueryMarketingConsentResponse { /** List of marketing consents. */ marketingConsent?: MarketingConsent[]; /** Details on the paged set of results returned. */ pagingMetadata?: CursorPagingMetadata; } interface CursorPagingMetadata { /** Number of items returned in current page. */ count?: number | null; /** Cursor strings that point to the next page, previous page, or both. */ cursors?: Cursors; /** * Whether there are more pages to retrieve following the current page. * * + `true`: Another page of results can be retrieved. * + `false`: This is the last page. */ hasNext?: boolean | null; } interface Cursors { /** * Cursor string pointing to the next page in the list of results. * @maxLength 16000 */ next?: string | null; /** * Cursor pointing to the previous page in the list of results. * @maxLength 16000 */ prev?: string | null; } interface UpsertMarketingConsentRequest { /** Marketing consent to create or update. */ marketingConsent?: MarketingConsent; } interface UpsertMarketingConsentResponse { /** Newly created or updated marketing consent. */ marketingConsent?: MarketingConsent; /** Marketing consent confirmation or cancelation link. */ link?: Link; } interface BulkUpsertMarketingConsentRequest { /** * List of marketing consent information to update or create. * @minSize 1 * @maxSize 500 */ info?: MarketingConsent[]; } interface BulkUpsertMarketingConsentResponse { /** List of created or updated marketing consents. */ results?: BulkUpsertMarketingConsentResult[]; /** Numbers of successful and failed actions. */ metadata?: Metadata; } interface BulkUpsertMarketingConsentResult { /** Position of the newly created or updated marketing consent in the array. */ originalIndex?: number; /** Newly created or updated marketing consent. */ marketingConsent?: MarketingConsent; /** * Information about the error. Only returns if the action fails. * @maxLength 500 */ error?: string | null; /** Marketing consent confirmation or cancelation link. */ link?: Link; } interface Metadata { /** Number of successful actions. */ totalSuccess?: number; /** Number of failed actions. */ totalFailure?: number; } interface GenerateLinkRequest extends GenerateLinkRequestIdentifierOneOf { /** * Email address used for the marketing consent. * @format EMAIL */ email?: string; /** * Phone number in [E.164](https://en.wikipedia.org/wiki/E.164) format used for the SMS marketing consent. * @format PHONE */ phone?: string; /** The communication channel of the marketing consent. */ type?: MarketingConsentDetailsIdentifierTypeWithLiterals; linkType?: LinkTypeWithLiterals; /** * Language of the page * @format LANGUAGE */ language?: string | null; /** Arbitrary parameters for closing-the-loop. */ metadata?: Record; } /** @oneof */ interface GenerateLinkRequestIdentifierOneOf { /** * Email address used for the marketing consent. * @format EMAIL */ email?: string; /** * Phone number in [E.164](https://en.wikipedia.org/wiki/E.164) format used for the SMS marketing consent. * @format PHONE */ phone?: string; } interface GenerateLinkResponse { /** confirmation or revoke link */ link?: Link; } interface Empty { } interface DomainEvent extends DomainEventBodyOneOf { createdEvent?: EntityCreatedEvent; updatedEvent?: EntityUpdatedEvent; deletedEvent?: EntityDeletedEvent; actionEvent?: ActionEvent; /** Event ID. With this ID you can easily spot duplicated events and ignore them. */ id?: string; /** * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities. * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`. */ entityFqdn?: string; /** * Event action name, placed at the top level to make it easier for users to dispatch messages. * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`. */ slug?: string; /** ID of the entity associated with the event. */ entityId?: string; /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */ eventTime?: Date | null; /** * Whether the event was triggered as a result of a privacy regulation application * (for example, GDPR). */ triggeredByAnonymizeRequest?: boolean | null; /** If present, indicates the action that triggered the event. */ originatedFrom?: string | null; /** * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at `16:00` and then again at `16:01`, the second update will always have a higher sequence number. * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it. */ entityEventSequence?: string | null; } /** @oneof */ interface DomainEventBodyOneOf { createdEvent?: EntityCreatedEvent; updatedEvent?: EntityUpdatedEvent; deletedEvent?: EntityDeletedEvent; actionEvent?: ActionEvent; } interface EntityCreatedEvent { entityAsJson?: string; /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */ restoreInfo?: RestoreInfo; } interface RestoreInfo { deletedDate?: Date | null; } interface EntityUpdatedEvent { /** * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff. * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects. * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it. */ currentEntityAsJson?: string; } interface EntityDeletedEvent { /** Entity that was deleted. */ deletedEntityAsJson?: string | null; } interface ActionEvent { bodyAsJson?: string; } interface MessageEnvelope { /** * App instance ID. * @format GUID */ instanceId?: string | null; /** * Event type. * @maxLength 150 */ eventType?: string; /** The identification type and identity data. */ identity?: IdentificationData; /** Stringify payload. */ data?: string; /** Details related to the account */ accountInfo?: AccountInfo; } interface IdentificationData extends IdentificationDataIdOneOf { /** * ID of a site visitor that has not logged in to the site. * @format GUID */ anonymousVisitorId?: string; /** * ID of a site visitor that has logged in to the site. * @format GUID */ memberId?: string; /** * ID of a Wix user (site owner, contributor, etc.). * @format GUID */ wixUserId?: string; /** * ID of an app. * @format GUID */ appId?: string; /** @readonly */ identityType?: WebhookIdentityTypeWithLiterals; } /** @oneof */ interface IdentificationDataIdOneOf { /** * ID of a site visitor that has not logged in to the site. * @format GUID */ anonymousVisitorId?: string; /** * ID of a site visitor that has logged in to the site. * @format GUID */ memberId?: string; /** * ID of a Wix user (site owner, contributor, etc.). * @format GUID */ wixUserId?: string; /** * ID of an app. * @format GUID */ appId?: string; } declare enum WebhookIdentityType { UNKNOWN = "UNKNOWN", ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR", MEMBER = "MEMBER", WIX_USER = "WIX_USER", APP = "APP" } /** @enumType */ type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP'; interface AccountInfo { /** * ID of the Wix account associated with the event. * @format GUID */ accountId?: string | null; /** * ID of the parent Wix account. Only included when accountId belongs to a child account. * @format GUID */ parentAccountId?: string | null; /** * ID of the Wix site associated with the event. Only included when the event is tied to a specific site. * @format GUID */ siteId?: string | null; } type __PublicMethodMetaInfo = { getUrl: (context: any) => string; httpMethod: K; path: string; pathParams: M; __requestType: T; __originalRequestType: S; __responseType: Q; __originalResponseType: R; }; declare function getMarketingConsent(): __PublicMethodMetaInfo<'GET', { marketingConsentId: string; }, GetMarketingConsentRequest$1, GetMarketingConsentRequest, GetMarketingConsentResponse$1, GetMarketingConsentResponse>; declare function getMarketingConsentByIdentifier(): __PublicMethodMetaInfo<'GET', {}, GetMarketingConsentByIdentifierRequest$1, GetMarketingConsentByIdentifierRequest, GetMarketingConsentByIdentifierResponse$1, GetMarketingConsentByIdentifierResponse>; declare function createMarketingConsent(): __PublicMethodMetaInfo<'POST', {}, CreateMarketingConsentRequest$1, CreateMarketingConsentRequest, CreateMarketingConsentResponse$1, CreateMarketingConsentResponse>; declare function updateMarketingConsent(): __PublicMethodMetaInfo<'PATCH', { marketingConsentId: string; }, UpdateMarketingConsentRequest$1, UpdateMarketingConsentRequest, UpdateMarketingConsentResponse$1, UpdateMarketingConsentResponse>; declare function deleteMarketingConsent(): __PublicMethodMetaInfo<'DELETE', { marketingConsentId: string; }, DeleteMarketingConsentRequest$1, DeleteMarketingConsentRequest, DeleteMarketingConsentResponse$1, DeleteMarketingConsentResponse>; declare function removeMarketingConsent(): __PublicMethodMetaInfo<'POST', {}, RemoveMarketingConsentRequest$1, RemoveMarketingConsentRequest, RemoveMarketingConsentResponse$1, RemoveMarketingConsentResponse>; declare function queryMarketingConsent(): __PublicMethodMetaInfo<'POST', {}, QueryMarketingConsentRequest$1, QueryMarketingConsentRequest, QueryMarketingConsentResponse$1, QueryMarketingConsentResponse>; declare function upsertMarketingConsent(): __PublicMethodMetaInfo<'POST', {}, UpsertMarketingConsentRequest$1, UpsertMarketingConsentRequest, UpsertMarketingConsentResponse$1, UpsertMarketingConsentResponse>; declare function bulkUpsertMarketingConsent(): __PublicMethodMetaInfo<'POST', {}, BulkUpsertMarketingConsentRequest$1, BulkUpsertMarketingConsentRequest, BulkUpsertMarketingConsentResponse$1, BulkUpsertMarketingConsentResponse>; export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, type AddressLocation as AddressLocationOriginal, type BulkUpsertMarketingConsentRequest as BulkUpsertMarketingConsentRequestOriginal, type BulkUpsertMarketingConsentResponse as BulkUpsertMarketingConsentResponseOriginal, type BulkUpsertMarketingConsentResult as BulkUpsertMarketingConsentResultOriginal, type CommunicationEligibility as CommunicationEligibilityOriginal, type CreateMarketingConsentByTokenRequest as CreateMarketingConsentByTokenRequestOriginal, type CreateMarketingConsentByTokenResponse as CreateMarketingConsentByTokenResponseOriginal, type CreateMarketingConsentRequest as CreateMarketingConsentRequestOriginal, type CreateMarketingConsentResponse as CreateMarketingConsentResponseOriginal, type CursorPagingMetadata as CursorPagingMetadataOriginal, type CursorPaging as CursorPagingOriginal, type CursorQuery as CursorQueryOriginal, type CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal, type Cursors as CursorsOriginal, type DeleteMarketingConsentRequest as DeleteMarketingConsentRequestOriginal, type DeleteMarketingConsentResponse as DeleteMarketingConsentResponseOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type Empty as EmptyOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type ExtendedFields as ExtendedFieldsOriginal, type GenerateLinkRequestIdentifierOneOf as GenerateLinkRequestIdentifierOneOfOriginal, type GenerateLinkRequest as GenerateLinkRequestOriginal, type GenerateLinkResponse as GenerateLinkResponseOriginal, type GetConsistentMarketingConsentByIdentifierRequestIdentifierOneOf as GetConsistentMarketingConsentByIdentifierRequestIdentifierOneOfOriginal, type GetConsistentMarketingConsentByIdentifierRequest as GetConsistentMarketingConsentByIdentifierRequestOriginal, type GetConsistentMarketingConsentByIdentifierResponse as GetConsistentMarketingConsentByIdentifierResponseOriginal, type GetMarketingConsentByIdentifierRequestIdentifierOneOf as GetMarketingConsentByIdentifierRequestIdentifierOneOfOriginal, type GetMarketingConsentByIdentifierRequest as GetMarketingConsentByIdentifierRequestOriginal, type GetMarketingConsentByIdentifierResponse as GetMarketingConsentByIdentifierResponseOriginal, type GetMarketingConsentRequest as GetMarketingConsentRequestOriginal, type GetMarketingConsentResponse as GetMarketingConsentResponseOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type LastConfirmationActivity as LastConfirmationActivityOriginal, type LastRevokeActivity as LastRevokeActivityOriginal, LastRevokeActivitySource as LastRevokeActivitySourceOriginal, type LastRevokeActivitySourceWithLiterals as LastRevokeActivitySourceWithLiteralsOriginal, type Link as LinkOriginal, LinkType as LinkTypeOriginal, type LinkTypeWithLiterals as LinkTypeWithLiteralsOriginal, type MarketingConsentDetailsIdentifierOneOf as MarketingConsentDetailsIdentifierOneOfOriginal, MarketingConsentDetailsIdentifierType as MarketingConsentDetailsIdentifierTypeOriginal, type MarketingConsentDetailsIdentifierTypeWithLiterals as MarketingConsentDetailsIdentifierTypeWithLiteralsOriginal, type MarketingConsentDetails as MarketingConsentDetailsOriginal, type MarketingConsent as MarketingConsentOriginal, MarketingConsentState as MarketingConsentStateOriginal, type MarketingConsentStateWithLiterals as MarketingConsentStateWithLiteralsOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type Metadata as MetadataOriginal, OptInLevel as OptInLevelOriginal, type OptInLevelWithLiterals as OptInLevelWithLiteralsOriginal, type QueryMarketingConsentRequest as QueryMarketingConsentRequestOriginal, type QueryMarketingConsentResponse as QueryMarketingConsentResponseOriginal, type RemoveMarketingConsentByTokenRequest as RemoveMarketingConsentByTokenRequestOriginal, type RemoveMarketingConsentByTokenResponse as RemoveMarketingConsentByTokenResponseOriginal, type RemoveMarketingConsentRequest as RemoveMarketingConsentRequestOriginal, type RemoveMarketingConsentResponse as RemoveMarketingConsentResponseOriginal, type RestoreInfo as RestoreInfoOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, Source as SourceOriginal, type SourceWithLiterals as SourceWithLiteralsOriginal, type UpdateMarketingConsentRequest as UpdateMarketingConsentRequestOriginal, type UpdateMarketingConsentResponse as UpdateMarketingConsentResponseOriginal, type UpsertMarketingConsentRequest as UpsertMarketingConsentRequestOriginal, type UpsertMarketingConsentResponse as UpsertMarketingConsentResponseOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type __PublicMethodMetaInfo, bulkUpsertMarketingConsent, createMarketingConsent, deleteMarketingConsent, getMarketingConsent, getMarketingConsentByIdentifier, queryMarketingConsent, removeMarketingConsent, updateMarketingConsent, upsertMarketingConsent };