onehook-api-client 1.0.19 → 1.0.20
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/dist-cjs/telemetry/index.js +585 -0
- package/dist-es/telemetry/index.js +580 -0
- package/dist-types/telemetry/index.d.ts +413 -0
- package/package.json +11 -2
- package/telemetry/TelemetryCatalog.kt +457 -0
- package/telemetry/TelemetryCatalog.swift +621 -0
- package/telemetry/telemetry-catalog.json +4137 -0
|
@@ -0,0 +1,580 @@
|
|
|
1
|
+
export const TELEMETRY_CATALOG_VERSION = "1.3.0";
|
|
2
|
+
export const TELEMETRY_CATALOG_HASH = "25955dd2f9856888";
|
|
3
|
+
export const SignalType = {
|
|
4
|
+
SCREEN_VIEW: "screen_view",
|
|
5
|
+
UI_INTERACTION: "ui_interaction",
|
|
6
|
+
CARD_IMPRESSION: "card_impression",
|
|
7
|
+
CARD_SWIPE_UI: "card_swipe_ui",
|
|
8
|
+
PROMPT_VIEW: "prompt_view",
|
|
9
|
+
MEDIA_VIEW: "media_view",
|
|
10
|
+
MEDIA_FULLSCREEN_OPEN: "media_fullscreen_open",
|
|
11
|
+
SECTION_VIEW: "section_view",
|
|
12
|
+
NOTIFICATION_OPENED: "notification_opened",
|
|
13
|
+
SESSION_HEARTBEAT: "session_heartbeat",
|
|
14
|
+
LIKE_COMPOSER_OPEN: "like_composer_open",
|
|
15
|
+
LIKE_COMMENT_ABANDONED: "like_comment_abandoned",
|
|
16
|
+
CONVERSATION_OPENED: "conversation_opened",
|
|
17
|
+
COMPOSE_ABANDONED: "compose_abandoned",
|
|
18
|
+
PROFILE_REVISIT: "profile_revisit",
|
|
19
|
+
HOOKED_STATE_VIEW: "hooked_state_view",
|
|
20
|
+
LIKES_YOU_VIEW: "likes_you_view",
|
|
21
|
+
SAFETY_UI_OPEN: "safety_ui_open",
|
|
22
|
+
};
|
|
23
|
+
export const Platform = {
|
|
24
|
+
WEB: "web",
|
|
25
|
+
IOS: "ios",
|
|
26
|
+
ANDROID: "android",
|
|
27
|
+
};
|
|
28
|
+
export const Screen = {
|
|
29
|
+
NAV: "NAV",
|
|
30
|
+
LANDING: "LANDING",
|
|
31
|
+
LOGIN: "LOGIN",
|
|
32
|
+
REDEEM_INVITE: "REDEEM_INVITE",
|
|
33
|
+
ONBOARDING: "ONBOARDING",
|
|
34
|
+
DISCOVER: "DISCOVER",
|
|
35
|
+
LIKE_COMPOSER: "LIKE_COMPOSER",
|
|
36
|
+
LIKES_YOU: "LIKES_YOU",
|
|
37
|
+
CHAT: "CHAT",
|
|
38
|
+
CHAT_SETTINGS: "CHAT_SETTINGS",
|
|
39
|
+
NOTIFICATIONS: "NOTIFICATIONS",
|
|
40
|
+
PROFILE: "PROFILE",
|
|
41
|
+
PROFILE_EDIT: "PROFILE_EDIT",
|
|
42
|
+
PROFILE_PREVIEW: "PROFILE_PREVIEW",
|
|
43
|
+
PREFERENCES: "PREFERENCES",
|
|
44
|
+
SETTINGS: "SETTINGS",
|
|
45
|
+
PAYWALL: "PAYWALL",
|
|
46
|
+
LIVENESS: "LIVENESS",
|
|
47
|
+
PHOTO_VIEWER: "PHOTO_VIEWER",
|
|
48
|
+
SEARCH: "SEARCH",
|
|
49
|
+
CREATE: "CREATE",
|
|
50
|
+
SHARED: "SHARED",
|
|
51
|
+
};
|
|
52
|
+
export const ViewableScreen = {
|
|
53
|
+
LANDING: "LANDING",
|
|
54
|
+
LOGIN: "LOGIN",
|
|
55
|
+
REDEEM_INVITE: "REDEEM_INVITE",
|
|
56
|
+
ONBOARDING: "ONBOARDING",
|
|
57
|
+
DISCOVER: "DISCOVER",
|
|
58
|
+
LIKE_COMPOSER: "LIKE_COMPOSER",
|
|
59
|
+
LIKES_YOU: "LIKES_YOU",
|
|
60
|
+
CHAT: "CHAT",
|
|
61
|
+
CHAT_SETTINGS: "CHAT_SETTINGS",
|
|
62
|
+
NOTIFICATIONS: "NOTIFICATIONS",
|
|
63
|
+
PROFILE: "PROFILE",
|
|
64
|
+
PROFILE_EDIT: "PROFILE_EDIT",
|
|
65
|
+
PROFILE_PREVIEW: "PROFILE_PREVIEW",
|
|
66
|
+
PREFERENCES: "PREFERENCES",
|
|
67
|
+
SETTINGS: "SETTINGS",
|
|
68
|
+
PAYWALL: "PAYWALL",
|
|
69
|
+
LIVENESS: "LIVENESS",
|
|
70
|
+
PHOTO_VIEWER: "PHOTO_VIEWER",
|
|
71
|
+
SEARCH: "SEARCH",
|
|
72
|
+
CREATE: "CREATE",
|
|
73
|
+
};
|
|
74
|
+
export const TabScreen = {
|
|
75
|
+
DISCOVER: "DISCOVER",
|
|
76
|
+
LIKES_YOU: "LIKES_YOU",
|
|
77
|
+
CHAT: "CHAT",
|
|
78
|
+
PROFILE: "PROFILE",
|
|
79
|
+
};
|
|
80
|
+
export const UiAction = {
|
|
81
|
+
TAP: "tap",
|
|
82
|
+
LONG_PRESS: "long_press",
|
|
83
|
+
SUBMIT: "submit",
|
|
84
|
+
TOGGLE: "toggle",
|
|
85
|
+
SELECT: "select",
|
|
86
|
+
DISMISS: "dismiss",
|
|
87
|
+
};
|
|
88
|
+
export const UiElementKind = {
|
|
89
|
+
BUTTON: "button",
|
|
90
|
+
TAB: "tab",
|
|
91
|
+
TOGGLE: "toggle",
|
|
92
|
+
LINK: "link",
|
|
93
|
+
LIST_ITEM: "list_item",
|
|
94
|
+
MENU_ITEM: "menu_item",
|
|
95
|
+
DIALOG_BUTTON: "dialog_button",
|
|
96
|
+
GESTURE: "gesture",
|
|
97
|
+
SEGMENTED: "segmented",
|
|
98
|
+
};
|
|
99
|
+
export const SwipeDirection = {
|
|
100
|
+
LEFT: "left",
|
|
101
|
+
RIGHT: "right",
|
|
102
|
+
UP: "up",
|
|
103
|
+
};
|
|
104
|
+
export const MediaType = {
|
|
105
|
+
IMAGE: "image",
|
|
106
|
+
VIDEO: "video",
|
|
107
|
+
VOICE: "voice",
|
|
108
|
+
};
|
|
109
|
+
export const ProfileSection = {
|
|
110
|
+
PHOTOS: "PHOTOS",
|
|
111
|
+
BIO: "BIO",
|
|
112
|
+
INTERESTS: "INTERESTS",
|
|
113
|
+
PROMPTS: "PROMPTS",
|
|
114
|
+
VOICE: "VOICE",
|
|
115
|
+
};
|
|
116
|
+
export const LikeTargetType = {
|
|
117
|
+
PHOTO: "PHOTO",
|
|
118
|
+
VIDEO: "VIDEO",
|
|
119
|
+
VOICE: "VOICE",
|
|
120
|
+
PROMPT: "PROMPT",
|
|
121
|
+
INTEREST: "INTEREST",
|
|
122
|
+
BIO: "BIO",
|
|
123
|
+
};
|
|
124
|
+
export const SafetyAction = {
|
|
125
|
+
UNMATCH: "unmatch",
|
|
126
|
+
BLOCK: "block",
|
|
127
|
+
REPORT: "report",
|
|
128
|
+
};
|
|
129
|
+
export const CardVariant = {
|
|
130
|
+
INTERLEAVED: "interleaved",
|
|
131
|
+
SWIPE: "swipe",
|
|
132
|
+
FEED: "feed",
|
|
133
|
+
};
|
|
134
|
+
export const NotificationType = {
|
|
135
|
+
NEW_MATCH: "new_match",
|
|
136
|
+
NEW_LIKE: "new_like",
|
|
137
|
+
NEW_MESSAGE: "new_message",
|
|
138
|
+
REENGAGEMENT: "reengagement",
|
|
139
|
+
OTHER: "other",
|
|
140
|
+
};
|
|
141
|
+
export const NotificationChannel = {
|
|
142
|
+
PUSH: "push",
|
|
143
|
+
IN_APP: "in_app",
|
|
144
|
+
};
|
|
145
|
+
export const HookedStateAction = {
|
|
146
|
+
SHOWN: "shown",
|
|
147
|
+
GO_TO_CHAT: "go_to_chat",
|
|
148
|
+
DISMISS: "dismiss",
|
|
149
|
+
};
|
|
150
|
+
export const UiElement = {
|
|
151
|
+
NAV_TAB_SELECT: "nav.tab_select",
|
|
152
|
+
NAV_SEARCH_OPEN: "nav.search_open",
|
|
153
|
+
NAV_MENU_OPEN: "nav.menu_open",
|
|
154
|
+
NAV_BACK: "nav.back",
|
|
155
|
+
NAV_HOME_LOGO: "nav.home_logo",
|
|
156
|
+
NAV_HOOKED_GO_TO_CHAT: "nav.hooked_go_to_chat",
|
|
157
|
+
NAV_HOOKED_DISMISS: "nav.hooked_dismiss",
|
|
158
|
+
LANDING_GET_STARTED: "landing.get_started",
|
|
159
|
+
LANDING_LOGIN: "landing.login",
|
|
160
|
+
LANDING_POLICY_LINK: "landing.policy_link",
|
|
161
|
+
LANDING_HOME_LINK: "landing.home_link",
|
|
162
|
+
LANDING_OPEN_IN_APP: "landing.open_in_app",
|
|
163
|
+
LANDING_NAV_LINK: "landing.nav_link",
|
|
164
|
+
LANDING_SOCIAL_LINK: "landing.social_link",
|
|
165
|
+
LANDING_MOBILE_MENU_TOGGLE: "landing.mobile_menu_toggle",
|
|
166
|
+
LANDING_SECTION_NAV: "landing.section_nav",
|
|
167
|
+
LANDING_EMAIL_LINK: "landing.email_link",
|
|
168
|
+
LANDING_PRICING_PERIOD_SELECT: "landing.pricing_period_select",
|
|
169
|
+
LANDING_CAREERS_APPLY: "landing.careers_apply",
|
|
170
|
+
LANDING_DEMO_INTERACT: "landing.demo_interact",
|
|
171
|
+
LANDING_CHATBOT_WIDGET: "landing.chatbot_widget",
|
|
172
|
+
LANDING_NOTICE_RETRY: "landing.notice_retry",
|
|
173
|
+
LOGIN_SUBMIT: "login.submit",
|
|
174
|
+
LOGIN_GOOGLE: "login.google",
|
|
175
|
+
LOGIN_APPLE: "login.apple",
|
|
176
|
+
LOGIN_PASSKEY: "login.passkey",
|
|
177
|
+
LOGIN_IDENTIFIER_MODE: "login.identifier_mode",
|
|
178
|
+
LOGIN_PASSWORD_MODE: "login.password_mode",
|
|
179
|
+
LOGIN_FORGOT_PASSWORD: "login.forgot_password",
|
|
180
|
+
LOGIN_RESEND_CODE: "login.resend_code",
|
|
181
|
+
LOGIN_REDEEM_INVITE: "login.redeem_invite",
|
|
182
|
+
LOGIN_CLOSE: "login.close",
|
|
183
|
+
LOGIN_PASSKEY_SETUP: "login.passkey_setup",
|
|
184
|
+
REDEEM_INVITE_SUBMIT: "redeem_invite.submit",
|
|
185
|
+
REDEEM_INVITE_BACK: "redeem_invite.back",
|
|
186
|
+
REDEEM_INVITE_LOGIN: "redeem_invite.login",
|
|
187
|
+
REDEEM_INVITE_CLOSE: "redeem_invite.close",
|
|
188
|
+
REDEEM_INVITE_RESEND_CODE: "redeem_invite.resend_code",
|
|
189
|
+
ONBOARDING_NEXT: "onboarding.next",
|
|
190
|
+
ONBOARDING_BACK: "onboarding.back",
|
|
191
|
+
ONBOARDING_FINISH: "onboarding.finish",
|
|
192
|
+
ONBOARDING_SKIP_SIGN_OUT: "onboarding.skip_sign_out",
|
|
193
|
+
ONBOARDING_SKIP_SIGN_OUT_CONFIRM: "onboarding.skip_sign_out_confirm",
|
|
194
|
+
ONBOARDING_PHOTO_ADD: "onboarding.photo_add",
|
|
195
|
+
ONBOARDING_PHOTO_REMOVE: "onboarding.photo_remove",
|
|
196
|
+
ONBOARDING_PHOTO_REMOVE_CONFIRM: "onboarding.photo_remove_confirm",
|
|
197
|
+
ONBOARDING_PROMPT_ADD: "onboarding.prompt_add",
|
|
198
|
+
ONBOARDING_PROMPT_REMOVE: "onboarding.prompt_remove",
|
|
199
|
+
ONBOARDING_VOICE_ADD: "onboarding.voice_add",
|
|
200
|
+
ONBOARDING_VOICE_REMOVE: "onboarding.voice_remove",
|
|
201
|
+
ONBOARDING_CHOICE_SELECT: "onboarding.choice_select",
|
|
202
|
+
DISCOVER_PASS_BUTTON: "discover.pass_button",
|
|
203
|
+
DISCOVER_LIKE_BUTTON: "discover.like_button",
|
|
204
|
+
DISCOVER_ROSE_BUTTON: "discover.rose_button",
|
|
205
|
+
DISCOVER_UNDO_BUTTON: "discover.undo_button",
|
|
206
|
+
DISCOVER_ELEMENT_LIKE: "discover.element_like",
|
|
207
|
+
DISCOVER_PHOTO_OPEN: "discover.photo_open",
|
|
208
|
+
DISCOVER_VOICE_PLAY: "discover.voice_play",
|
|
209
|
+
DISCOVER_PREFERENCES_OPEN: "discover.preferences_open",
|
|
210
|
+
DISCOVER_LIKES_YOU_OPEN: "discover.likes_you_open",
|
|
211
|
+
DISCOVER_ADD_HOOK_OPEN: "discover.add_hook_open",
|
|
212
|
+
DISCOVER_RETRY: "discover.retry",
|
|
213
|
+
DISCOVER_ADD_HOOK_SUBMIT: "discover.add_hook_submit",
|
|
214
|
+
DISCOVER_UPGRADE_OPEN: "discover.upgrade_open",
|
|
215
|
+
LIKE_COMPOSER_SEND: "like_composer.send",
|
|
216
|
+
LIKE_COMPOSER_SEND_WITHOUT_COMMENT: "like_composer.send_without_comment",
|
|
217
|
+
LIKE_COMPOSER_CANCEL: "like_composer.cancel",
|
|
218
|
+
LIKE_COMPOSER_UPGRADE: "like_composer.upgrade",
|
|
219
|
+
LIKES_YOU_PROFILE_OPEN: "likes_you.profile_open",
|
|
220
|
+
LIKES_YOU_LIKED_ITEM_OPEN: "likes_you.liked_item_open",
|
|
221
|
+
LIKES_YOU_REFRESH: "likes_you.refresh",
|
|
222
|
+
LIKES_YOU_RETRY: "likes_you.retry",
|
|
223
|
+
LIKES_YOU_CLOSE: "likes_you.close",
|
|
224
|
+
CHAT_SEND_BUTTON: "chat.send_button",
|
|
225
|
+
CHAT_ATTACH_BUTTON: "chat.attach_button",
|
|
226
|
+
CHAT_ATTACH_OPTION: "chat.attach_option",
|
|
227
|
+
CHAT_CAPTURE_OPTION: "chat.capture_option",
|
|
228
|
+
CHAT_VOICE_RECORD_START: "chat.voice_record_start",
|
|
229
|
+
CHAT_VOICE_RECORD_STOP: "chat.voice_record_stop",
|
|
230
|
+
CHAT_VOICE_RECORD_CANCEL: "chat.voice_record_cancel",
|
|
231
|
+
CHAT_VOICE_SEND: "chat.voice_send",
|
|
232
|
+
CHAT_CONVERSATION_SWITCH: "chat.conversation_switch",
|
|
233
|
+
CHAT_CONVERSATION_SORT: "chat.conversation_sort",
|
|
234
|
+
CHAT_CONVERSATION_SORT_OPEN: "chat.conversation_sort_open",
|
|
235
|
+
CHAT_CONVERSATION_SWITCHER_OPEN: "chat.conversation_switcher_open",
|
|
236
|
+
CHAT_PROFILE_OPEN: "chat.profile_open",
|
|
237
|
+
CHAT_SAFETY_MENU_OPEN: "chat.safety_menu_open",
|
|
238
|
+
CHAT_UNMATCH: "chat.unmatch",
|
|
239
|
+
CHAT_REPORT_SPAM: "chat.report_spam",
|
|
240
|
+
CHAT_REPORT_BLOCK: "chat.report_block",
|
|
241
|
+
CHAT_BLOCK_CONFIRM: "chat.block_confirm",
|
|
242
|
+
CHAT_SETTINGS_OPEN: "chat.settings_open",
|
|
243
|
+
CHAT_WALLPAPER_OPEN: "chat.wallpaper_open",
|
|
244
|
+
CHAT_ADD_HOOK_OPEN: "chat.add_hook_open",
|
|
245
|
+
CHAT_PRIVACY_TOGGLE: "chat.privacy_toggle",
|
|
246
|
+
CHAT_CALL: "chat.call",
|
|
247
|
+
CHAT_VIDEO_CALL: "chat.video_call",
|
|
248
|
+
CHAT_MEDIA_OPEN: "chat.media_open",
|
|
249
|
+
CHAT_AUDIO_PLAY: "chat.audio_play",
|
|
250
|
+
CHAT_FILE_OPEN: "chat.file_open",
|
|
251
|
+
CHAT_MESSAGE_DELETE: "chat.message_delete",
|
|
252
|
+
CHAT_MESSAGE_MENU_OPEN: "chat.message_menu_open",
|
|
253
|
+
CHAT_REPORT_REASON_SELECT: "chat.report_reason_select",
|
|
254
|
+
CHAT_SENSITIVE_REVEAL_CONFIRM: "chat.sensitive_reveal_confirm",
|
|
255
|
+
CHAT_ATTACHMENT_RETRY: "chat.attachment_retry",
|
|
256
|
+
CHAT_HISTORY_RECOVER: "chat.history_recover",
|
|
257
|
+
CHAT_MR_ONEHOOK_OPEN: "chat.mr_onehook_open",
|
|
258
|
+
CHAT_MR_ONEHOOK_CLOSE: "chat.mr_onehook_close",
|
|
259
|
+
CHAT_RETRY: "chat.retry",
|
|
260
|
+
CHAT_UNMATCH_CONFIRM: "chat.unmatch_confirm",
|
|
261
|
+
CHAT_PROFILE_CLOSE: "chat.profile_close",
|
|
262
|
+
CHAT_MR_ONEHOOK_CONTEXT_SHARE: "chat.mr_onehook_context_share",
|
|
263
|
+
CHAT_MR_ONEHOOK_SCOPE_OPEN: "chat.mr_onehook_scope_open",
|
|
264
|
+
CHAT_MR_ONEHOOK_SCOPE_SELECT: "chat.mr_onehook_scope_select",
|
|
265
|
+
CHAT_INTRO_TOUR_OPEN: "chat.intro_tour_open",
|
|
266
|
+
CHAT_INTRO_DISMISS: "chat.intro_dismiss",
|
|
267
|
+
CHAT_INTRO_GET_STARTED: "chat.intro_get_started",
|
|
268
|
+
CHAT_HISTORY_RECOVER_METHOD: "chat.history_recover_method",
|
|
269
|
+
CHAT_HISTORY_RECOVER_STEP: "chat.history_recover_step",
|
|
270
|
+
CHAT_HISTORY_RESET_CONFIRM: "chat.history_reset_confirm",
|
|
271
|
+
CHAT_SETTINGS_LAST_SEEN_SELECT: "chat_settings.last_seen_select",
|
|
272
|
+
CHAT_SETTINGS_DISAPPEARING_SELECT: "chat_settings.disappearing_select",
|
|
273
|
+
CHAT_SETTINGS_NOTIFICATION_TOGGLE: "chat_settings.notification_toggle",
|
|
274
|
+
CHAT_SETTINGS_PRIVACY_TOGGLE: "chat_settings.privacy_toggle",
|
|
275
|
+
CHAT_SETTINGS_FONT_SIZE_SELECT: "chat_settings.font_size_select",
|
|
276
|
+
CHAT_SETTINGS_WALLPAPER_SELECT: "chat_settings.wallpaper_select",
|
|
277
|
+
CHAT_SETTINGS_EXPORT_CHAT: "chat_settings.export_chat",
|
|
278
|
+
CHAT_SETTINGS_CLEAR_CACHE: "chat_settings.clear_cache",
|
|
279
|
+
NOTIFICATIONS_ITEM_OPEN: "notifications.item_open",
|
|
280
|
+
NOTIFICATIONS_ITEM_DISMISS: "notifications.item_dismiss",
|
|
281
|
+
PROFILE_EDIT_OPEN: "profile.edit_open",
|
|
282
|
+
PROFILE_PREVIEW_OPEN: "profile.preview_open",
|
|
283
|
+
PROFILE_PREFERENCES_OPEN: "profile.preferences_open",
|
|
284
|
+
PROFILE_SETTINGS_OPEN: "profile.settings_open",
|
|
285
|
+
PROFILE_CHAT_SETTINGS_OPEN: "profile.chat_settings_open",
|
|
286
|
+
PROFILE_CHAT_TOUR_OPEN: "profile.chat_tour_open",
|
|
287
|
+
PROFILE_PHOTO_OPEN: "profile.photo_open",
|
|
288
|
+
PROFILE_VERIFY_IDENTITY: "profile.verify_identity",
|
|
289
|
+
PROFILE_SHARE_INVITE: "profile.share_invite",
|
|
290
|
+
PROFILE_INVITE_CODE_COPY: "profile.invite_code_copy",
|
|
291
|
+
PROFILE_INVITE_CODE_SHARE: "profile.invite_code_share",
|
|
292
|
+
PROFILE_UPGRADE_OPEN: "profile.upgrade_open",
|
|
293
|
+
PROFILE_UNHOOK: "profile.unhook",
|
|
294
|
+
PROFILE_UNHOOK_CONFIRM: "profile.unhook_confirm",
|
|
295
|
+
PROFILE_TAB_SELECT: "profile.tab_select",
|
|
296
|
+
PROFILE_RETRY: "profile.retry",
|
|
297
|
+
PROFILE_VOICE_PLAY: "profile.voice_play",
|
|
298
|
+
PROFILE_EDIT_SAVE: "profile_edit.save",
|
|
299
|
+
PROFILE_EDIT_PREVIEW: "profile_edit.preview",
|
|
300
|
+
PROFILE_EDIT_PHOTO_ADD: "profile_edit.photo_add",
|
|
301
|
+
PROFILE_EDIT_PHOTO_REMOVE: "profile_edit.photo_remove",
|
|
302
|
+
PROFILE_EDIT_PHOTO_REMOVE_CONFIRM: "profile_edit.photo_remove_confirm",
|
|
303
|
+
PROFILE_EDIT_PHOTO_SET_PRIMARY: "profile_edit.photo_set_primary",
|
|
304
|
+
PROFILE_EDIT_PHOTO_ADJUST: "profile_edit.photo_adjust",
|
|
305
|
+
PROFILE_EDIT_PHOTO_REORDER: "profile_edit.photo_reorder",
|
|
306
|
+
PROFILE_EDIT_PROMPT_ADD: "profile_edit.prompt_add",
|
|
307
|
+
PROFILE_EDIT_PROMPT_REMOVE: "profile_edit.prompt_remove",
|
|
308
|
+
PROFILE_EDIT_VOICE_ADD: "profile_edit.voice_add",
|
|
309
|
+
PROFILE_EDIT_VOICE_REMOVE: "profile_edit.voice_remove",
|
|
310
|
+
PROFILE_EDIT_CHOICE_SELECT: "profile_edit.choice_select",
|
|
311
|
+
PREFERENCES_SAVE: "preferences.save",
|
|
312
|
+
PREFERENCES_UPGRADE_OPEN: "preferences.upgrade_open",
|
|
313
|
+
PREFERENCES_LOCKED_FILTER_TAP: "preferences.locked_filter_tap",
|
|
314
|
+
SETTINGS_EMAIL_MANAGE: "settings.email_manage",
|
|
315
|
+
SETTINGS_PHONE_UPDATE: "settings.phone_update",
|
|
316
|
+
SETTINGS_GOOGLE_LINK: "settings.google_link",
|
|
317
|
+
SETTINGS_APPLE_LINK: "settings.apple_link",
|
|
318
|
+
SETTINGS_PASSKEY_ADD: "settings.passkey_add",
|
|
319
|
+
SETTINGS_PASSWORD_SET: "settings.password_set",
|
|
320
|
+
SETTINGS_RECOVERY_SETUP: "settings.recovery_setup",
|
|
321
|
+
SETTINGS_DEVICE_REVOKE: "settings.device_revoke",
|
|
322
|
+
SETTINGS_DEVICE_REVOKE_CONFIRM: "settings.device_revoke_confirm",
|
|
323
|
+
SETTINGS_SAFETY_OPEN: "settings.safety_open",
|
|
324
|
+
SETTINGS_THEME_SELECT: "settings.theme_select",
|
|
325
|
+
SETTINGS_THEME_OPEN: "settings.theme_open",
|
|
326
|
+
SETTINGS_SIGN_OUT: "settings.sign_out",
|
|
327
|
+
SETTINGS_SIGN_OUT_CONFIRM: "settings.sign_out_confirm",
|
|
328
|
+
SETTINGS_DELETE_ACCOUNT_OPEN: "settings.delete_account_open",
|
|
329
|
+
SETTINGS_DELETE_ACCOUNT_CONFIRM: "settings.delete_account_confirm",
|
|
330
|
+
SETTINGS_UNBLOCK_USER: "settings.unblock_user",
|
|
331
|
+
SETTINGS_UNBLOCK_CONFIRM: "settings.unblock_confirm",
|
|
332
|
+
SETTINGS_VERIFY_CODE_SUBMIT: "settings.verify_code_submit",
|
|
333
|
+
SETTINGS_PASSWORD_SET_CONFIRM: "settings.password_set_confirm",
|
|
334
|
+
SETTINGS_HELP_LINK: "settings.help_link",
|
|
335
|
+
SETTINGS_RECOVERY_APPROVE: "settings.recovery_approve",
|
|
336
|
+
SETTINGS_RECOVERY_QR_SAVE: "settings.recovery_qr_save",
|
|
337
|
+
SETTINGS_RECOVERY_QR_SHARE: "settings.recovery_qr_share",
|
|
338
|
+
PAYWALL_PURCHASE: "paywall.purchase",
|
|
339
|
+
PAYWALL_RESTORE: "paywall.restore",
|
|
340
|
+
PAYWALL_FEATURES_EXPAND: "paywall.features_expand",
|
|
341
|
+
PHOTO_VIEWER_CLOSE: "photo_viewer.close",
|
|
342
|
+
PHOTO_VIEWER_PREVIOUS: "photo_viewer.previous",
|
|
343
|
+
PHOTO_VIEWER_NEXT: "photo_viewer.next",
|
|
344
|
+
SEARCH_CLOSE: "search.close",
|
|
345
|
+
SEARCH_QUERY_CLEAR: "search.query_clear",
|
|
346
|
+
SEARCH_FILTER_SELECT: "search.filter_select",
|
|
347
|
+
SEARCH_RESULT_OPEN: "search.result_open",
|
|
348
|
+
CREATE_CLOSE: "create.close",
|
|
349
|
+
CREATE_OPTION_SELECT: "create.option_select",
|
|
350
|
+
SHARED_ALERT_DISMISS: "shared.alert_dismiss",
|
|
351
|
+
SHARED_ERROR_RECOVER: "shared.error_recover",
|
|
352
|
+
SHARED_COUNTRY_CODE_OPEN: "shared.country_code_open",
|
|
353
|
+
SHARED_COUNTRY_CODE_SELECT: "shared.country_code_select",
|
|
354
|
+
SHARED_VOICE_RECORDER: "shared.voice_recorder",
|
|
355
|
+
SHARED_PROMPT_PRESET_SELECT: "shared.prompt_preset_select",
|
|
356
|
+
LIVENESS_BEGIN: "liveness.begin",
|
|
357
|
+
LIVENESS_DISMISS: "liveness.dismiss",
|
|
358
|
+
LIVENESS_RETRY: "liveness.retry",
|
|
359
|
+
LIVENESS_OPEN_SETTINGS: "liveness.open_settings",
|
|
360
|
+
LIVENESS_CLOSE: "liveness.close",
|
|
361
|
+
};
|
|
362
|
+
export const UI_ELEMENTS = {
|
|
363
|
+
"nav.tab_select": { screen: "NAV", kind: "tab", actions: ["select"], values: ["DISCOVER", "LIKES_YOU", "CHAT", "PROFILE"], platforms: ["web", "ios", "android"] },
|
|
364
|
+
"nav.search_open": { screen: "NAV", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web"] },
|
|
365
|
+
"nav.menu_open": { screen: "NAV", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web"] },
|
|
366
|
+
"nav.back": { screen: "NAV", kind: "button", actions: ["tap"], values: null, platforms: ["web"] },
|
|
367
|
+
"nav.home_logo": { screen: "NAV", kind: "link", actions: ["tap"], values: null, platforms: ["web"] },
|
|
368
|
+
"nav.hooked_go_to_chat": { screen: "NAV", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios"] },
|
|
369
|
+
"nav.hooked_dismiss": { screen: "NAV", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["ios"] },
|
|
370
|
+
"landing.get_started": { screen: "LANDING", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
371
|
+
"landing.login": { screen: "LANDING", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
372
|
+
"landing.policy_link": { screen: "LANDING", kind: "link", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
373
|
+
"landing.home_link": { screen: "LANDING", kind: "link", actions: ["tap"], values: null, platforms: ["web"] },
|
|
374
|
+
"landing.open_in_app": { screen: "LANDING", kind: "link", actions: ["tap"], values: null, platforms: ["web"] },
|
|
375
|
+
"landing.nav_link": { screen: "LANDING", kind: "link", actions: ["tap"], values: ["philosophy", "how_it_works", "pricing", "contact", "careers", "science"], platforms: ["web"] },
|
|
376
|
+
"landing.social_link": { screen: "LANDING", kind: "link", actions: ["tap"], values: ["instagram", "facebook", "x", "youtube", "linkedin", "tiktok", "threads", "other"], platforms: ["web", "ios"] },
|
|
377
|
+
"landing.mobile_menu_toggle": { screen: "LANDING", kind: "toggle", actions: ["toggle"], values: ["open", "closed"], platforms: ["web"] },
|
|
378
|
+
"landing.section_nav": { screen: "LANDING", kind: "link", actions: ["tap"], values: ["philosophy", "features", "under_the_hood", "get_app"], platforms: ["web"] },
|
|
379
|
+
"landing.email_link": { screen: "LANDING", kind: "link", actions: ["tap"], values: ["privacy", "security", "support", "legal", "careers", "other"], platforms: ["web"] },
|
|
380
|
+
"landing.pricing_period_select": { screen: "LANDING", kind: "segmented", actions: ["select", "tap"], values: null, platforms: ["web"] },
|
|
381
|
+
"landing.careers_apply": { screen: "LANDING", kind: "button", actions: ["tap"], values: null, platforms: ["web"] },
|
|
382
|
+
"landing.demo_interact": { screen: "LANDING", kind: "button", actions: ["tap"], values: ["opener_shuffle", "relationship_mode", "how_it_works_prev", "how_it_works_next", "how_it_works_step", "mascot_video", "mascot", "science_chapter", "science_signal_kind", "science_signal_send", "science_tab", "science_swipe", "science_erasure"], platforms: ["web"] },
|
|
383
|
+
"landing.chatbot_widget": { screen: "LANDING", kind: "button", actions: ["tap"], values: ["open", "close", "fullscreen", "start", "send"], platforms: ["web"] },
|
|
384
|
+
"landing.notice_retry": { screen: "LANDING", kind: "button", actions: ["tap"], values: null, platforms: ["web"] },
|
|
385
|
+
"login.submit": { screen: "LOGIN", kind: "button", actions: ["submit"], values: ["request_otp", "verify_otp", "password", "reset_password"], platforms: ["web", "ios", "android"] },
|
|
386
|
+
"login.google": { screen: "LOGIN", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
387
|
+
"login.apple": { screen: "LOGIN", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios"] },
|
|
388
|
+
"login.passkey": { screen: "LOGIN", kind: "button", actions: ["tap"], values: null, platforms: ["ios"] },
|
|
389
|
+
"login.identifier_mode": { screen: "LOGIN", kind: "toggle", actions: ["toggle"], values: ["phone", "email"], platforms: ["web", "ios", "android"] },
|
|
390
|
+
"login.password_mode": { screen: "LOGIN", kind: "toggle", actions: ["toggle"], values: ["password", "otp"], platforms: ["web", "ios", "android"] },
|
|
391
|
+
"login.forgot_password": { screen: "LOGIN", kind: "link", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
392
|
+
"login.resend_code": { screen: "LOGIN", kind: "link", actions: ["tap"], values: null, platforms: ["web", "ios"] },
|
|
393
|
+
"login.redeem_invite": { screen: "LOGIN", kind: "link", actions: ["tap"], values: null, platforms: ["web", "ios"] },
|
|
394
|
+
"login.close": { screen: "LOGIN", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
395
|
+
"login.passkey_setup": { screen: "LOGIN", kind: "button", actions: ["tap"], values: ["email_submit", "code_submit", "change_email", "skip_to_passkey", "passkey_create", "skip_to_app"], platforms: ["web"] },
|
|
396
|
+
"redeem_invite.submit": { screen: "REDEEM_INVITE", kind: "button", actions: ["submit"], values: ["validate_invite", "send_otp", "create_account", "verify_sign_in_otp"], platforms: ["web", "ios", "android"] },
|
|
397
|
+
"redeem_invite.back": { screen: "REDEEM_INVITE", kind: "button", actions: ["tap"], values: null, platforms: ["web", "android"] },
|
|
398
|
+
"redeem_invite.login": { screen: "REDEEM_INVITE", kind: "link", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
399
|
+
"redeem_invite.close": { screen: "REDEEM_INVITE", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
|
|
400
|
+
"redeem_invite.resend_code": { screen: "REDEEM_INVITE", kind: "link", actions: ["tap"], values: null, platforms: ["web", "ios"] },
|
|
401
|
+
"onboarding.next": { screen: "ONBOARDING", kind: "button", actions: ["submit"], values: ["basics", "photos", "media", "prompts", "details"], platforms: ["web", "ios"] },
|
|
402
|
+
"onboarding.back": { screen: "ONBOARDING", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios"] },
|
|
403
|
+
"onboarding.finish": { screen: "ONBOARDING", kind: "button", actions: ["submit"], values: null, platforms: ["web", "ios", "android"] },
|
|
404
|
+
"onboarding.skip_sign_out": { screen: "ONBOARDING", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
405
|
+
"onboarding.skip_sign_out_confirm": { screen: "ONBOARDING", kind: "dialog_button", actions: ["submit", "dismiss"], values: null, platforms: ["ios", "android"] },
|
|
406
|
+
"onboarding.photo_add": { screen: "ONBOARDING", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios"] },
|
|
407
|
+
"onboarding.photo_remove": { screen: "ONBOARDING", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios"] },
|
|
408
|
+
"onboarding.photo_remove_confirm": { screen: "ONBOARDING", kind: "dialog_button", actions: ["submit", "dismiss"], values: null, platforms: ["web"] },
|
|
409
|
+
"onboarding.prompt_add": { screen: "ONBOARDING", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios"] },
|
|
410
|
+
"onboarding.prompt_remove": { screen: "ONBOARDING", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios"] },
|
|
411
|
+
"onboarding.voice_add": { screen: "ONBOARDING", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios"] },
|
|
412
|
+
"onboarding.voice_remove": { screen: "ONBOARDING", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios"] },
|
|
413
|
+
"onboarding.choice_select": { screen: "ONBOARDING", kind: "segmented", actions: ["select", "tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
414
|
+
"discover.pass_button": { screen: "DISCOVER", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
415
|
+
"discover.like_button": { screen: "DISCOVER", kind: "button", actions: ["tap"], values: null, platforms: ["android"] },
|
|
416
|
+
"discover.rose_button": { screen: "DISCOVER", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
417
|
+
"discover.undo_button": { screen: "DISCOVER", kind: "button", actions: ["tap"], values: null, platforms: ["ios"] },
|
|
418
|
+
"discover.element_like": { screen: "DISCOVER", kind: "button", actions: ["tap"], values: ["PHOTO", "VIDEO", "VOICE", "PROMPT", "INTEREST", "BIO"], platforms: ["web", "ios"] },
|
|
419
|
+
"discover.photo_open": { screen: "DISCOVER", kind: "gesture", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
420
|
+
"discover.voice_play": { screen: "DISCOVER", kind: "toggle", actions: ["toggle"], values: ["play", "pause"], platforms: ["web", "ios"] },
|
|
421
|
+
"discover.preferences_open": { screen: "DISCOVER", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["ios"] },
|
|
422
|
+
"discover.likes_you_open": { screen: "DISCOVER", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["ios", "android"] },
|
|
423
|
+
"discover.add_hook_open": { screen: "DISCOVER", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["ios"] },
|
|
424
|
+
"discover.retry": { screen: "DISCOVER", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
425
|
+
"discover.add_hook_submit": { screen: "DISCOVER", kind: "button", actions: ["submit"], values: null, platforms: ["web", "ios"] },
|
|
426
|
+
"discover.upgrade_open": { screen: "DISCOVER", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["ios"] },
|
|
427
|
+
"like_composer.send": { screen: "LIKE_COMPOSER", kind: "button", actions: ["submit"], values: null, platforms: ["web", "ios", "android"] },
|
|
428
|
+
"like_composer.send_without_comment": { screen: "LIKE_COMPOSER", kind: "button", actions: ["submit"], values: null, platforms: ["ios"] },
|
|
429
|
+
"like_composer.cancel": { screen: "LIKE_COMPOSER", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
|
|
430
|
+
"like_composer.upgrade": { screen: "LIKE_COMPOSER", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["ios"] },
|
|
431
|
+
"likes_you.profile_open": { screen: "LIKES_YOU", kind: "list_item", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
432
|
+
"likes_you.liked_item_open": { screen: "LIKES_YOU", kind: "gesture", actions: ["tap"], values: null, platforms: ["web"] },
|
|
433
|
+
"likes_you.refresh": { screen: "LIKES_YOU", kind: "button", actions: ["tap"], values: null, platforms: ["web", "android"] },
|
|
434
|
+
"likes_you.retry": { screen: "LIKES_YOU", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
435
|
+
"likes_you.close": { screen: "LIKES_YOU", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["ios", "android"] },
|
|
436
|
+
"chat.send_button": { screen: "CHAT", kind: "button", actions: ["submit"], values: null, platforms: ["web", "ios", "android"] },
|
|
437
|
+
"chat.attach_button": { screen: "CHAT", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
|
|
438
|
+
"chat.attach_option": { screen: "CHAT", kind: "menu_item", actions: ["tap"], values: ["photo_video", "camera", "file", "voice"], platforms: ["web", "ios", "android"] },
|
|
439
|
+
"chat.capture_option": { screen: "CHAT", kind: "menu_item", actions: ["tap"], values: ["photo", "video"], platforms: ["android"] },
|
|
440
|
+
"chat.voice_record_start": { screen: "CHAT", kind: "button", actions: ["tap", "long_press"], values: null, platforms: ["web", "ios", "android"] },
|
|
441
|
+
"chat.voice_record_stop": { screen: "CHAT", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
|
|
442
|
+
"chat.voice_record_cancel": { screen: "CHAT", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
443
|
+
"chat.voice_send": { screen: "CHAT", kind: "button", actions: ["submit"], values: null, platforms: ["web", "ios"] },
|
|
444
|
+
"chat.conversation_switch": { screen: "CHAT", kind: "list_item", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
445
|
+
"chat.conversation_sort": { screen: "CHAT", kind: "menu_item", actions: ["tap"], values: null, platforms: ["web", "ios"] },
|
|
446
|
+
"chat.conversation_sort_open": { screen: "CHAT", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios"] },
|
|
447
|
+
"chat.conversation_switcher_open": { screen: "CHAT", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios"] },
|
|
448
|
+
"chat.profile_open": { screen: "CHAT", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
|
|
449
|
+
"chat.safety_menu_open": { screen: "CHAT", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
|
|
450
|
+
"chat.unmatch": { screen: "CHAT", kind: "menu_item", actions: ["tap"], values: null, platforms: ["ios", "android"] },
|
|
451
|
+
"chat.report_spam": { screen: "CHAT", kind: "menu_item", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
452
|
+
"chat.report_block": { screen: "CHAT", kind: "menu_item", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
453
|
+
"chat.block_confirm": { screen: "CHAT", kind: "dialog_button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
|
|
454
|
+
"chat.settings_open": { screen: "CHAT", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios"] },
|
|
455
|
+
"chat.wallpaper_open": { screen: "CHAT", kind: "menu_item", actions: ["tap", "dismiss"], values: null, platforms: ["web"] },
|
|
456
|
+
"chat.add_hook_open": { screen: "CHAT", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios"] },
|
|
457
|
+
"chat.privacy_toggle": { screen: "CHAT", kind: "toggle", actions: ["toggle"], values: ["hidden", "visible"], platforms: [] },
|
|
458
|
+
"chat.call": { screen: "CHAT", kind: "button", actions: ["tap"], values: null, platforms: ["ios"] },
|
|
459
|
+
"chat.video_call": { screen: "CHAT", kind: "button", actions: ["tap"], values: null, platforms: ["ios"] },
|
|
460
|
+
"chat.media_open": { screen: "CHAT", kind: "gesture", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
461
|
+
"chat.audio_play": { screen: "CHAT", kind: "toggle", actions: ["toggle"], values: ["play", "pause"], platforms: ["web", "ios", "android"] },
|
|
462
|
+
"chat.file_open": { screen: "CHAT", kind: "list_item", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
463
|
+
"chat.message_delete": { screen: "CHAT", kind: "dialog_button", actions: ["tap", "dismiss"], values: null, platforms: ["ios", "android"] },
|
|
464
|
+
"chat.message_menu_open": { screen: "CHAT", kind: "gesture", actions: ["long_press", "dismiss"], values: null, platforms: ["ios", "android"] },
|
|
465
|
+
"chat.report_reason_select": { screen: "CHAT", kind: "menu_item", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
466
|
+
"chat.sensitive_reveal_confirm": { screen: "CHAT", kind: "dialog_button", actions: ["submit", "dismiss"], values: null, platforms: ["web", "ios"] },
|
|
467
|
+
"chat.attachment_retry": { screen: "CHAT", kind: "button", actions: ["tap"], values: ["upload", "download"], platforms: ["web", "ios", "android"] },
|
|
468
|
+
"chat.history_recover": { screen: "CHAT", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
|
|
469
|
+
"chat.mr_onehook_open": { screen: "CHAT", kind: "button", actions: ["tap"], values: null, platforms: ["web", "android"] },
|
|
470
|
+
"chat.mr_onehook_close": { screen: "CHAT", kind: "button", actions: ["tap"], values: null, platforms: ["android"] },
|
|
471
|
+
"chat.retry": { screen: "CHAT", kind: "button", actions: ["tap"], values: null, platforms: ["web", "android"] },
|
|
472
|
+
"chat.unmatch_confirm": { screen: "CHAT", kind: "dialog_button", actions: ["submit", "dismiss"], values: null, platforms: ["ios", "android"] },
|
|
473
|
+
"chat.profile_close": { screen: "CHAT", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["ios", "android"] },
|
|
474
|
+
"chat.mr_onehook_context_share": { screen: "CHAT", kind: "dialog_button", actions: ["submit", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
|
|
475
|
+
"chat.mr_onehook_scope_open": { screen: "CHAT", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web"] },
|
|
476
|
+
"chat.mr_onehook_scope_select": { screen: "CHAT", kind: "menu_item", actions: ["tap"], values: null, platforms: ["web"] },
|
|
477
|
+
"chat.intro_tour_open": { screen: "CHAT", kind: "button", actions: ["tap"], values: null, platforms: ["ios"] },
|
|
478
|
+
"chat.intro_dismiss": { screen: "CHAT", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["ios"] },
|
|
479
|
+
"chat.intro_get_started": { screen: "CHAT", kind: "button", actions: ["tap"], values: null, platforms: ["ios"] },
|
|
480
|
+
"chat.history_recover_method": { screen: "CHAT", kind: "menu_item", actions: ["tap", "dismiss"], values: ["device", "qr_scan", "qr_import", "passkey"], platforms: ["web", "ios", "android"] },
|
|
481
|
+
"chat.history_recover_step": { screen: "CHAT", kind: "menu_item", actions: ["tap"], values: ["retry", "qr_retry", "done", "reset_open", "cancel"], platforms: ["web", "ios", "android"] },
|
|
482
|
+
"chat.history_reset_confirm": { screen: "CHAT", kind: "dialog_button", actions: ["submit", "dismiss"], values: null, platforms: ["web"] },
|
|
483
|
+
"chat_settings.last_seen_select": { screen: "CHAT_SETTINGS", kind: "segmented", actions: ["select", "tap"], values: null, platforms: ["web", "ios"] },
|
|
484
|
+
"chat_settings.disappearing_select": { screen: "CHAT_SETTINGS", kind: "segmented", actions: ["select", "tap"], values: null, platforms: ["web", "ios"] },
|
|
485
|
+
"chat_settings.notification_toggle": { screen: "CHAT_SETTINGS", kind: "toggle", actions: ["toggle"], values: ["on", "off"], platforms: ["web", "ios"] },
|
|
486
|
+
"chat_settings.privacy_toggle": { screen: "CHAT_SETTINGS", kind: "toggle", actions: ["toggle"], values: ["on", "off"], platforms: ["web", "ios"] },
|
|
487
|
+
"chat_settings.font_size_select": { screen: "CHAT_SETTINGS", kind: "segmented", actions: ["select", "tap"], values: null, platforms: ["ios"] },
|
|
488
|
+
"chat_settings.wallpaper_select": { screen: "CHAT_SETTINGS", kind: "segmented", actions: ["select", "tap"], values: null, platforms: ["web", "ios"] },
|
|
489
|
+
"chat_settings.export_chat": { screen: "CHAT_SETTINGS", kind: "button", actions: ["tap", "select", "dismiss"], values: null, platforms: ["ios"] },
|
|
490
|
+
"chat_settings.clear_cache": { screen: "CHAT_SETTINGS", kind: "button", actions: ["tap"], values: null, platforms: ["ios"] },
|
|
491
|
+
"notifications.item_open": { screen: "NOTIFICATIONS", kind: "list_item", actions: ["tap"], values: null, platforms: ["ios"] },
|
|
492
|
+
"notifications.item_dismiss": { screen: "NOTIFICATIONS", kind: "gesture", actions: ["dismiss"], values: null, platforms: ["ios"] },
|
|
493
|
+
"profile.edit_open": { screen: "PROFILE", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["ios", "android"] },
|
|
494
|
+
"profile.preview_open": { screen: "PROFILE", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios"] },
|
|
495
|
+
"profile.preferences_open": { screen: "PROFILE", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
|
|
496
|
+
"profile.settings_open": { screen: "PROFILE", kind: "button", actions: ["tap"], values: null, platforms: ["web"] },
|
|
497
|
+
"profile.chat_settings_open": { screen: "PROFILE", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["ios"] },
|
|
498
|
+
"profile.chat_tour_open": { screen: "PROFILE", kind: "button", actions: ["tap"], values: null, platforms: ["ios"] },
|
|
499
|
+
"profile.photo_open": { screen: "PROFILE", kind: "gesture", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
500
|
+
"profile.verify_identity": { screen: "PROFILE", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
|
|
501
|
+
"profile.share_invite": { screen: "PROFILE", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["ios", "android"] },
|
|
502
|
+
"profile.invite_code_copy": { screen: "PROFILE", kind: "button", actions: ["tap"], values: null, platforms: ["ios"] },
|
|
503
|
+
"profile.invite_code_share": { screen: "PROFILE", kind: "button", actions: ["tap"], values: null, platforms: ["ios"] },
|
|
504
|
+
"profile.upgrade_open": { screen: "PROFILE", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
|
|
505
|
+
"profile.unhook": { screen: "PROFILE", kind: "button", actions: ["tap"], values: null, platforms: ["android"] },
|
|
506
|
+
"profile.unhook_confirm": { screen: "PROFILE", kind: "dialog_button", actions: ["tap", "dismiss"], values: null, platforms: ["android"] },
|
|
507
|
+
"profile.tab_select": { screen: "PROFILE", kind: "segmented", actions: ["select", "tap"], values: null, platforms: ["ios"] },
|
|
508
|
+
"profile.retry": { screen: "PROFILE", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
509
|
+
"profile.voice_play": { screen: "PROFILE", kind: "toggle", actions: ["toggle"], values: ["play", "pause"], platforms: ["web"] },
|
|
510
|
+
"profile_edit.save": { screen: "PROFILE_EDIT", kind: "button", actions: ["submit"], values: null, platforms: ["web", "ios", "android"] },
|
|
511
|
+
"profile_edit.preview": { screen: "PROFILE_EDIT", kind: "button", actions: ["tap"], values: null, platforms: ["ios"] },
|
|
512
|
+
"profile_edit.photo_add": { screen: "PROFILE_EDIT", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
513
|
+
"profile_edit.photo_remove": { screen: "PROFILE_EDIT", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios"] },
|
|
514
|
+
"profile_edit.photo_remove_confirm": { screen: "PROFILE_EDIT", kind: "dialog_button", actions: ["submit", "dismiss"], values: null, platforms: ["ios"] },
|
|
515
|
+
"profile_edit.photo_set_primary": { screen: "PROFILE_EDIT", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios"] },
|
|
516
|
+
"profile_edit.photo_adjust": { screen: "PROFILE_EDIT", kind: "button", actions: ["tap"], values: null, platforms: ["ios"] },
|
|
517
|
+
"profile_edit.photo_reorder": { screen: "PROFILE_EDIT", kind: "gesture", actions: ["long_press"], values: null, platforms: ["ios"] },
|
|
518
|
+
"profile_edit.prompt_add": { screen: "PROFILE_EDIT", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios"] },
|
|
519
|
+
"profile_edit.prompt_remove": { screen: "PROFILE_EDIT", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios"] },
|
|
520
|
+
"profile_edit.voice_add": { screen: "PROFILE_EDIT", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios"] },
|
|
521
|
+
"profile_edit.voice_remove": { screen: "PROFILE_EDIT", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios"] },
|
|
522
|
+
"profile_edit.choice_select": { screen: "PROFILE_EDIT", kind: "segmented", actions: ["select", "tap"], values: null, platforms: ["web", "ios"] },
|
|
523
|
+
"preferences.save": { screen: "PREFERENCES", kind: "button", actions: ["submit"], values: null, platforms: ["ios", "android"] },
|
|
524
|
+
"preferences.upgrade_open": { screen: "PREFERENCES", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["ios"] },
|
|
525
|
+
"preferences.locked_filter_tap": { screen: "PREFERENCES", kind: "button", actions: ["tap"], values: null, platforms: ["ios"] },
|
|
526
|
+
"settings.email_manage": { screen: "SETTINGS", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
|
|
527
|
+
"settings.phone_update": { screen: "SETTINGS", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["ios", "android"] },
|
|
528
|
+
"settings.google_link": { screen: "SETTINGS", kind: "toggle", actions: ["toggle"], values: ["link", "unlink"], platforms: ["web", "ios", "android"] },
|
|
529
|
+
"settings.apple_link": { screen: "SETTINGS", kind: "toggle", actions: ["toggle"], values: ["link", "unlink"], platforms: ["web", "ios"] },
|
|
530
|
+
"settings.passkey_add": { screen: "SETTINGS", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios"] },
|
|
531
|
+
"settings.password_set": { screen: "SETTINGS", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios"] },
|
|
532
|
+
"settings.recovery_setup": { screen: "SETTINGS", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
|
|
533
|
+
"settings.device_revoke": { screen: "SETTINGS", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
534
|
+
"settings.device_revoke_confirm": { screen: "SETTINGS", kind: "dialog_button", actions: ["submit", "dismiss"], values: null, platforms: ["ios", "android"] },
|
|
535
|
+
"settings.safety_open": { screen: "SETTINGS", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["ios"] },
|
|
536
|
+
"settings.theme_select": { screen: "SETTINGS", kind: "segmented", actions: ["select", "tap"], values: ["light", "dark", "system"], platforms: ["web", "ios", "android"] },
|
|
537
|
+
"settings.theme_open": { screen: "SETTINGS", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
|
|
538
|
+
"settings.sign_out": { screen: "SETTINGS", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
539
|
+
"settings.sign_out_confirm": { screen: "SETTINGS", kind: "dialog_button", actions: ["submit", "dismiss"], values: null, platforms: ["ios"] },
|
|
540
|
+
"settings.delete_account_open": { screen: "SETTINGS", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
541
|
+
"settings.delete_account_confirm": { screen: "SETTINGS", kind: "dialog_button", actions: ["submit", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
|
|
542
|
+
"settings.unblock_user": { screen: "SETTINGS", kind: "button", actions: ["tap"], values: null, platforms: ["ios"] },
|
|
543
|
+
"settings.unblock_confirm": { screen: "SETTINGS", kind: "dialog_button", actions: ["submit", "dismiss"], values: null, platforms: ["ios"] },
|
|
544
|
+
"settings.verify_code_submit": { screen: "SETTINGS", kind: "button", actions: ["submit", "dismiss"], values: ["email", "phone"], platforms: ["ios", "android"] },
|
|
545
|
+
"settings.password_set_confirm": { screen: "SETTINGS", kind: "dialog_button", actions: ["submit", "dismiss"], values: null, platforms: ["ios"] },
|
|
546
|
+
"settings.help_link": { screen: "SETTINGS", kind: "link", actions: ["tap"], values: ["help_center", "faq", "contact", "safety", "privacy", "terms", "other"], platforms: ["ios"] },
|
|
547
|
+
"settings.recovery_approve": { screen: "SETTINGS", kind: "dialog_button", actions: ["submit", "dismiss"], values: null, platforms: ["web", "ios"] },
|
|
548
|
+
"settings.recovery_qr_save": { screen: "SETTINGS", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
549
|
+
"settings.recovery_qr_share": { screen: "SETTINGS", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
|
|
550
|
+
"paywall.purchase": { screen: "PAYWALL", kind: "button", actions: ["tap"], values: null, platforms: ["ios"] },
|
|
551
|
+
"paywall.restore": { screen: "PAYWALL", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
|
|
552
|
+
"paywall.features_expand": { screen: "PAYWALL", kind: "button", actions: ["tap"], values: null, platforms: ["ios"] },
|
|
553
|
+
"photo_viewer.close": { screen: "PHOTO_VIEWER", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
|
|
554
|
+
"photo_viewer.previous": { screen: "PHOTO_VIEWER", kind: "button", actions: ["tap"], values: null, platforms: ["web"] },
|
|
555
|
+
"photo_viewer.next": { screen: "PHOTO_VIEWER", kind: "button", actions: ["tap"], values: null, platforms: ["web"] },
|
|
556
|
+
"search.close": { screen: "SEARCH", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web"] },
|
|
557
|
+
"search.query_clear": { screen: "SEARCH", kind: "button", actions: ["tap"], values: null, platforms: ["web"] },
|
|
558
|
+
"search.filter_select": { screen: "SEARCH", kind: "segmented", actions: ["select", "tap"], values: null, platforms: ["web"] },
|
|
559
|
+
"search.result_open": { screen: "SEARCH", kind: "list_item", actions: ["tap"], values: null, platforms: ["web"] },
|
|
560
|
+
"create.close": { screen: "CREATE", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web"] },
|
|
561
|
+
"create.option_select": { screen: "CREATE", kind: "menu_item", actions: ["tap"], values: ["photo", "prompt", "voice"], platforms: ["web"] },
|
|
562
|
+
"shared.alert_dismiss": { screen: "SHARED", kind: "dialog_button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
|
|
563
|
+
"shared.error_recover": { screen: "SHARED", kind: "button", actions: ["tap"], values: ["retry", "home"], platforms: ["web"] },
|
|
564
|
+
"shared.country_code_open": { screen: "SHARED", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
|
|
565
|
+
"shared.country_code_select": { screen: "SHARED", kind: "segmented", actions: ["select", "tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
566
|
+
"shared.voice_recorder": { screen: "SHARED", kind: "button", actions: ["tap"], values: ["record", "stop", "play", "pause", "save", "discard", "cancel", "open_settings"], platforms: ["web", "ios"] },
|
|
567
|
+
"shared.prompt_preset_select": { screen: "SHARED", kind: "segmented", actions: ["select", "tap"], values: null, platforms: ["web", "ios"] },
|
|
568
|
+
"liveness.begin": { screen: "LIVENESS", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
569
|
+
"liveness.dismiss": { screen: "LIVENESS", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["ios", "android"] },
|
|
570
|
+
"liveness.retry": { screen: "LIVENESS", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
571
|
+
"liveness.open_settings": { screen: "LIVENESS", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
|
|
572
|
+
"liveness.close": { screen: "LIVENESS", kind: "button", actions: ["tap"], values: null, platforms: ["android"] },
|
|
573
|
+
};
|
|
574
|
+
export function uiElementsForPlatform(platform) {
|
|
575
|
+
return Object.keys(UI_ELEMENTS).filter((id) => UI_ELEMENTS[id].platforms.includes(platform));
|
|
576
|
+
}
|
|
577
|
+
export const TELEMETRY_EXEMPT_CATEGORIES = ["duplicate", "backdrop", "gesture", "continuous", "disabled"];
|
|
578
|
+
export function isUiElementId(v) {
|
|
579
|
+
return typeof v === "string" && Object.prototype.hasOwnProperty.call(UI_ELEMENTS, v);
|
|
580
|
+
}
|