Line data Source code
1 : import type { BillingTelemetryEventName } from './billingTelemetryEvent'
2 :
3 2356 : export const BILLING_TELEMETRY_EVENTS = {
4 : BILLING_SUBSCRIPTION_CHECKOUT_RECEIVED:
5 : 'billing.subscription_checkout.checkout_received',
6 : BILLING_TOPUP_CHECKOUT_RECEIVED: 'billing.topup.checkout_received',
7 : BILLING_SUBSCRIPTION_CHECKOUT_REQUEST_SENT:
8 : 'billing.subscription_checkout.request_sent',
9 : BILLING_TOPUP_REQUEST_SENT: 'billing.topup.request_sent',
10 : BILLING_SUBSCRIPTION_CHECKOUT_INTENT: 'billing.subscription_checkout.intent',
11 : BILLING_TOPUP_INTENT: 'billing.topup.intent',
12 : BILLING_SUBSCRIPTION_CHECKOUT_STARTED:
13 : 'billing.subscription_checkout.started',
14 : BILLING_SUBSCRIPTION_CHECKOUT_SUCCEEDED:
15 : 'billing.subscription_checkout.succeeded',
16 : BILLING_SUBSCRIPTION_CHECKOUT_FAILED: 'billing.subscription_checkout.failed',
17 : BILLING_SUBSCRIPTION_CHECKOUT_TIMEOUT:
18 : 'billing.subscription_checkout.timeout',
19 : BILLING_OPERATION_STARTED: 'billing.operation.started',
20 : BILLING_CAPABILITY_READ_SUCCEEDED: 'billing.capability_read.succeeded',
21 : BILLING_CAPABILITY_READ_FAILED: 'billing.capability_read.failed',
22 : BILLING_OPERATION_SUCCEEDED: 'billing.operation.succeeded',
23 : BILLING_OPERATION_FAILED: 'billing.operation.failed',
24 : BILLING_OPERATION_TIMEOUT: 'billing.operation.timeout',
25 : BILLING_RESUBSCRIBE_STARTED: 'billing.resubscribe.started',
26 : BILLING_RESUBSCRIBE_SUCCEEDED: 'billing.resubscribe.succeeded',
27 : BILLING_RESUBSCRIBE_FAILED: 'billing.resubscribe.failed',
28 : BILLING_TOPUP_STARTED: 'billing.topup.started',
29 : BILLING_TOPUP_SUCCEEDED: 'billing.topup.succeeded',
30 : BILLING_TOPUP_FAILED: 'billing.topup.failed',
31 : BILLING_DOWNGRADE_TO_PERSONAL_STARTED:
32 : 'billing.downgrade_to_personal.started',
33 : BILLING_DOWNGRADE_TO_PERSONAL_SUCCEEDED:
34 : 'billing.downgrade_to_personal.succeeded',
35 : BILLING_DOWNGRADE_TO_PERSONAL_FAILED: 'billing.downgrade_to_personal.failed',
36 : BILLING_WEB_HANDOFF_OPENED: 'billing.web_handoff.opened',
37 : BILLING_ENTRY_PAYWALL_SHOWN: 'billing.entry.paywall_shown',
38 : BILLING_ENTRY_ADD_CREDITS_CLICKED: 'billing.entry.add_credits_clicked',
39 : BILLING_ENTRY_PRICING_LINK_REFUSED: 'billing.entry.pricing_link_refused',
40 : BILLING_CANCEL_INTENT: 'billing.cancel.intent',
41 : BILLING_CANCEL_ABANDONED: 'billing.cancel.abandoned',
42 : BILLING_CANCEL_FAILED: 'billing.cancel.failed',
43 : BILLING_PORTAL_OPENED: 'billing.portal.opened',
44 : BILLING_PORTAL_FAILED: 'billing.portal.failed',
45 : BILLING_PORTAL_RETURNED: 'billing.portal.returned',
46 : BILLING_AUTO_TOP_UP_CARD_VIEWED: 'billing.auto_top_up_card.viewed',
47 : BILLING_AUTO_TOP_UP_OFFER_VIEWED: 'billing.auto_top_up_offer.viewed',
48 : BILLING_AUTO_TOP_UP_OFFER_DECLINED: 'billing.auto_top_up_offer.declined',
49 : BILLING_PLATFORM_HANDOFF_OPENED: 'billing.platform_handoff.opened',
50 : BILLING_LOCAL_HANDOFF_LAUNCHED: 'billing.local_handoff.launched'
51 : } as const satisfies Record<string, BillingTelemetryEventName>
|