onehook-api-client 1.0.25 → 1.0.26
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/protocols/Aws_restJson1.js +1 -0
- package/dist-cjs/telemetry/index.js +9 -3
- package/dist-es/protocols/Aws_restJson1.js +1 -0
- package/dist-es/telemetry/index.js +9 -3
- package/dist-types/commands/GetChatSettingsCommand.d.ts +1 -0
- package/dist-types/commands/UpdateChatSettingsCommand.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +7 -0
- package/dist-types/telemetry/index.d.ts +4 -1
- package/package.json +1 -1
- package/telemetry/TelemetryCatalog.kt +8 -5
- package/telemetry/TelemetryCatalog.swift +11 -5
- package/telemetry/telemetry-catalog.json +54 -3
|
@@ -180,6 +180,7 @@ const se_UpdateChatSettingsCommand = async (input, context) => {
|
|
|
180
180
|
let body;
|
|
181
181
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
182
182
|
'defaultDisappearingSeconds': [],
|
|
183
|
+
'helpTranslateCaptions': [],
|
|
183
184
|
'lastSeenVisibility': [],
|
|
184
185
|
'messageNotifications': [],
|
|
185
186
|
'reactionNotifications': [],
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.isUiElementId = exports.TELEMETRY_EXEMPT_CATEGORIES = exports.uiElementsForPlatform = exports.UI_ELEMENTS = exports.UiElement = exports.HookedStateAction = exports.NotificationChannel = exports.NotificationType = exports.CardVariant = exports.SafetyAction = exports.LikeTargetType = exports.ProfileSection = exports.MediaType = exports.SwipeDirection = exports.UiElementKind = exports.UiAction = exports.TabScreen = exports.ViewableScreen = exports.Screen = exports.Platform = exports.SignalType = exports.TELEMETRY_CATALOG_HASH = exports.TELEMETRY_CATALOG_VERSION = void 0;
|
|
4
4
|
exports.TELEMETRY_CATALOG_VERSION = "1.3.0";
|
|
5
|
-
exports.TELEMETRY_CATALOG_HASH = "
|
|
5
|
+
exports.TELEMETRY_CATALOG_HASH = "52029d112aadcfd5";
|
|
6
6
|
exports.SignalType = {
|
|
7
7
|
SCREEN_VIEW: "screen_view",
|
|
8
8
|
UI_INTERACTION: "ui_interaction",
|
|
@@ -260,6 +260,9 @@ exports.UiElement = {
|
|
|
260
260
|
CALL_SPEAKER: "call.speaker",
|
|
261
261
|
CALL_SCREEN_SHARE: "call.screen_share",
|
|
262
262
|
CALL_SCREEN_SHARE_RESPOND: "call.screen_share_respond",
|
|
263
|
+
CALL_CAPTIONS: "call.captions",
|
|
264
|
+
CALL_CAPTION_LANGUAGE_SELECT: "call.caption_language_select",
|
|
265
|
+
CHAT_SETTINGS_HELP_TRANSLATE_CAPTIONS: "chat_settings.help_translate_captions",
|
|
263
266
|
CHAT_MEDIA_OPEN: "chat.media_open",
|
|
264
267
|
CHAT_AUDIO_PLAY: "chat.audio_play",
|
|
265
268
|
CHAT_FILE_OPEN: "chat.file_open",
|
|
@@ -480,8 +483,11 @@ exports.UI_ELEMENTS = {
|
|
|
480
483
|
"call.camera": { screen: "CALL", kind: "toggle", actions: ["toggle"], values: ["on", "off"], platforms: ["web", "ios", "android"] },
|
|
481
484
|
"call.camera_switch": { screen: "CALL", kind: "button", actions: ["tap"], values: null, platforms: ["ios"] },
|
|
482
485
|
"call.speaker": { screen: "CALL", kind: "toggle", actions: ["toggle"], values: ["on", "off"], platforms: ["ios", "android"] },
|
|
483
|
-
"call.screen_share": { screen: "CALL", kind: "toggle", actions: ["toggle"], values: ["on", "off"], platforms: ["web", "android"] },
|
|
484
|
-
"call.screen_share_respond": { screen: "CALL", kind: "dialog_button", actions: ["tap", "dismiss"], values: ["accept", "decline"], platforms: ["web", "android"] },
|
|
486
|
+
"call.screen_share": { screen: "CALL", kind: "toggle", actions: ["toggle"], values: ["on", "off"], platforms: ["web", "ios", "android"] },
|
|
487
|
+
"call.screen_share_respond": { screen: "CALL", kind: "dialog_button", actions: ["tap", "dismiss"], values: ["accept", "decline"], platforms: ["web", "ios", "android"] },
|
|
488
|
+
"call.captions": { screen: "CALL", kind: "toggle", actions: ["toggle"], values: ["on", "off"], platforms: ["web", "ios", "android"] },
|
|
489
|
+
"call.caption_language_select": { screen: "CALL", kind: "menu_item", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
490
|
+
"chat_settings.help_translate_captions": { screen: "CHAT_SETTINGS", kind: "toggle", actions: ["toggle"], values: ["on", "off"], platforms: ["web", "ios", "android"] },
|
|
485
491
|
"chat.media_open": { screen: "CHAT", kind: "gesture", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
486
492
|
"chat.audio_play": { screen: "CHAT", kind: "toggle", actions: ["toggle"], values: ["play", "pause"], platforms: ["web", "ios", "android"] },
|
|
487
493
|
"chat.file_open": { screen: "CHAT", kind: "list_item", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
@@ -164,6 +164,7 @@ export const se_UpdateChatSettingsCommand = async (input, context) => {
|
|
|
164
164
|
let body;
|
|
165
165
|
body = JSON.stringify(take(input, {
|
|
166
166
|
'defaultDisappearingSeconds': [],
|
|
167
|
+
'helpTranslateCaptions': [],
|
|
167
168
|
'lastSeenVisibility': [],
|
|
168
169
|
'messageNotifications': [],
|
|
169
170
|
'reactionNotifications': [],
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export const TELEMETRY_CATALOG_VERSION = "1.3.0";
|
|
2
|
-
export const TELEMETRY_CATALOG_HASH = "
|
|
2
|
+
export const TELEMETRY_CATALOG_HASH = "52029d112aadcfd5";
|
|
3
3
|
export const SignalType = {
|
|
4
4
|
SCREEN_VIEW: "screen_view",
|
|
5
5
|
UI_INTERACTION: "ui_interaction",
|
|
@@ -257,6 +257,9 @@ export const UiElement = {
|
|
|
257
257
|
CALL_SPEAKER: "call.speaker",
|
|
258
258
|
CALL_SCREEN_SHARE: "call.screen_share",
|
|
259
259
|
CALL_SCREEN_SHARE_RESPOND: "call.screen_share_respond",
|
|
260
|
+
CALL_CAPTIONS: "call.captions",
|
|
261
|
+
CALL_CAPTION_LANGUAGE_SELECT: "call.caption_language_select",
|
|
262
|
+
CHAT_SETTINGS_HELP_TRANSLATE_CAPTIONS: "chat_settings.help_translate_captions",
|
|
260
263
|
CHAT_MEDIA_OPEN: "chat.media_open",
|
|
261
264
|
CHAT_AUDIO_PLAY: "chat.audio_play",
|
|
262
265
|
CHAT_FILE_OPEN: "chat.file_open",
|
|
@@ -477,8 +480,11 @@ export const UI_ELEMENTS = {
|
|
|
477
480
|
"call.camera": { screen: "CALL", kind: "toggle", actions: ["toggle"], values: ["on", "off"], platforms: ["web", "ios", "android"] },
|
|
478
481
|
"call.camera_switch": { screen: "CALL", kind: "button", actions: ["tap"], values: null, platforms: ["ios"] },
|
|
479
482
|
"call.speaker": { screen: "CALL", kind: "toggle", actions: ["toggle"], values: ["on", "off"], platforms: ["ios", "android"] },
|
|
480
|
-
"call.screen_share": { screen: "CALL", kind: "toggle", actions: ["toggle"], values: ["on", "off"], platforms: ["web", "android"] },
|
|
481
|
-
"call.screen_share_respond": { screen: "CALL", kind: "dialog_button", actions: ["tap", "dismiss"], values: ["accept", "decline"], platforms: ["web", "android"] },
|
|
483
|
+
"call.screen_share": { screen: "CALL", kind: "toggle", actions: ["toggle"], values: ["on", "off"], platforms: ["web", "ios", "android"] },
|
|
484
|
+
"call.screen_share_respond": { screen: "CALL", kind: "dialog_button", actions: ["tap", "dismiss"], values: ["accept", "decline"], platforms: ["web", "ios", "android"] },
|
|
485
|
+
"call.captions": { screen: "CALL", kind: "toggle", actions: ["toggle"], values: ["on", "off"], platforms: ["web", "ios", "android"] },
|
|
486
|
+
"call.caption_language_select": { screen: "CALL", kind: "menu_item", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
487
|
+
"chat_settings.help_translate_captions": { screen: "CHAT_SETTINGS", kind: "toggle", actions: ["toggle"], values: ["on", "off"], platforms: ["web", "ios", "android"] },
|
|
482
488
|
"chat.media_open": { screen: "CHAT", kind: "gesture", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
483
489
|
"chat.audio_play": { screen: "CHAT", kind: "toggle", actions: ["toggle"], values: ["play", "pause"], platforms: ["web", "ios", "android"] },
|
|
484
490
|
"chat.file_open": { screen: "CHAT", kind: "list_item", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
@@ -49,6 +49,7 @@ declare const GetChatSettingsCommand_base: {
|
|
|
49
49
|
* // lastSeenVisibility: "EVERYONE" || "MATCHES" || "NOBODY",
|
|
50
50
|
* // screenshotProtection: true || false,
|
|
51
51
|
* // defaultDisappearingSeconds: Number("int"),
|
|
52
|
+
* // helpTranslateCaptions: true || false,
|
|
52
53
|
* // },
|
|
53
54
|
* // };
|
|
54
55
|
*
|
|
@@ -44,6 +44,7 @@ declare const UpdateChatSettingsCommand_base: {
|
|
|
44
44
|
* lastSeenVisibility: "EVERYONE" || "MATCHES" || "NOBODY",
|
|
45
45
|
* screenshotProtection: true || false,
|
|
46
46
|
* defaultDisappearingSeconds: Number("int"),
|
|
47
|
+
* helpTranslateCaptions: true || false,
|
|
47
48
|
* };
|
|
48
49
|
* const command = new UpdateChatSettingsCommand(input);
|
|
49
50
|
* const response = await client.send(command);
|
|
@@ -57,6 +58,7 @@ declare const UpdateChatSettingsCommand_base: {
|
|
|
57
58
|
* // lastSeenVisibility: "EVERYONE" || "MATCHES" || "NOBODY",
|
|
58
59
|
* // screenshotProtection: true || false,
|
|
59
60
|
* // defaultDisappearingSeconds: Number("int"),
|
|
61
|
+
* // helpTranslateCaptions: true || false,
|
|
60
62
|
* // },
|
|
61
63
|
* // };
|
|
62
64
|
*
|
|
@@ -308,6 +308,12 @@ export interface ChatSettings {
|
|
|
308
308
|
* @public
|
|
309
309
|
*/
|
|
310
310
|
defaultDisappearingSeconds?: number | undefined;
|
|
311
|
+
/**
|
|
312
|
+
* "Help translate my captions": this user's device may translate its own call captions for a partner
|
|
313
|
+
* whose device cannot translate the language pair. Default off (battery and model downloads).
|
|
314
|
+
* @public
|
|
315
|
+
*/
|
|
316
|
+
helpTranslateCaptions?: boolean | undefined;
|
|
311
317
|
}
|
|
312
318
|
/**
|
|
313
319
|
* @public
|
|
@@ -588,6 +594,7 @@ export interface UpdateChatSettingsRequest {
|
|
|
588
594
|
lastSeenVisibility?: LastSeenVisibility | undefined;
|
|
589
595
|
screenshotProtection?: boolean | undefined;
|
|
590
596
|
defaultDisappearingSeconds?: number | undefined;
|
|
597
|
+
helpTranslateCaptions?: boolean | undefined;
|
|
591
598
|
}
|
|
592
599
|
/**
|
|
593
600
|
* @public
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const TELEMETRY_CATALOG_VERSION = "1.3.0";
|
|
2
|
-
export declare const TELEMETRY_CATALOG_HASH = "
|
|
2
|
+
export declare const TELEMETRY_CATALOG_HASH = "52029d112aadcfd5";
|
|
3
3
|
/** Every signal type the ingest accepts. */
|
|
4
4
|
export declare const SignalType: {
|
|
5
5
|
readonly SCREEN_VIEW: "screen_view";
|
|
@@ -290,6 +290,9 @@ export declare const UiElement: {
|
|
|
290
290
|
readonly CALL_SPEAKER: "call.speaker";
|
|
291
291
|
readonly CALL_SCREEN_SHARE: "call.screen_share";
|
|
292
292
|
readonly CALL_SCREEN_SHARE_RESPOND: "call.screen_share_respond";
|
|
293
|
+
readonly CALL_CAPTIONS: "call.captions";
|
|
294
|
+
readonly CALL_CAPTION_LANGUAGE_SELECT: "call.caption_language_select";
|
|
295
|
+
readonly CHAT_SETTINGS_HELP_TRANSLATE_CAPTIONS: "chat_settings.help_translate_captions";
|
|
293
296
|
readonly CHAT_MEDIA_OPEN: "chat.media_open";
|
|
294
297
|
readonly CHAT_AUDIO_PLAY: "chat.audio_play";
|
|
295
298
|
readonly CHAT_FILE_OPEN: "chat.file_open";
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// GENERATED FILE - DO NOT EDIT.
|
|
2
|
-
// telemetry-integrity: sha256
|
|
2
|
+
// telemetry-integrity: sha256 6d0faa787d71a97191f79c16baab74a5338190e36ce761594168784da8072af2
|
|
3
3
|
// Source of truth: OneHookBackend/packages/telemetry/src/catalog.ts
|
|
4
4
|
// Regenerate: (OneHookBackend) npm run telemetry:generate && npm run telemetry:sync
|
|
5
|
-
// Catalog version 1.3.0, hash
|
|
5
|
+
// Catalog version 1.3.0, hash 52029d112aadcfd5.
|
|
6
6
|
//
|
|
7
7
|
// HARD RULE: every user interaction MUST emit ui_interaction with an id from THIS file, and
|
|
8
8
|
// ids are controlled by the backend. Read TELEMETRY_CONTRACT.txt (printed by every build).
|
|
@@ -13,7 +13,7 @@ package club.onehook.telemetry
|
|
|
13
13
|
|
|
14
14
|
object TelemetryCatalog {
|
|
15
15
|
const val VERSION = "1.3.0"
|
|
16
|
-
const val HASH = "
|
|
16
|
+
const val HASH = "52029d112aadcfd5"
|
|
17
17
|
/** The only allowed `telemetry-exempt: <category>: <reason>` categories (see the catalog). */
|
|
18
18
|
val EXEMPT_CATEGORIES: List<String> = listOf("duplicate", "backdrop", "gesture", "continuous", "disabled")
|
|
19
19
|
}
|
|
@@ -341,8 +341,11 @@ enum class UiElement(
|
|
|
341
341
|
CALL_CAMERA("call.camera", TelemetryScreen.CALL, UiElementKind.TOGGLE, listOf(UiAction.TOGGLE), listOf("on", "off"), listOf(TelemetryPlatform.WEB, TelemetryPlatform.IOS, TelemetryPlatform.ANDROID)),
|
|
342
342
|
CALL_CAMERA_SWITCH("call.camera_switch", TelemetryScreen.CALL, UiElementKind.BUTTON, listOf(UiAction.TAP), null, listOf(TelemetryPlatform.IOS)),
|
|
343
343
|
CALL_SPEAKER("call.speaker", TelemetryScreen.CALL, UiElementKind.TOGGLE, listOf(UiAction.TOGGLE), listOf("on", "off"), listOf(TelemetryPlatform.IOS, TelemetryPlatform.ANDROID)),
|
|
344
|
-
CALL_SCREEN_SHARE("call.screen_share", TelemetryScreen.CALL, UiElementKind.TOGGLE, listOf(UiAction.TOGGLE), listOf("on", "off"), listOf(TelemetryPlatform.WEB, TelemetryPlatform.ANDROID)),
|
|
345
|
-
CALL_SCREEN_SHARE_RESPOND("call.screen_share_respond", TelemetryScreen.CALL, UiElementKind.DIALOG_BUTTON, listOf(UiAction.TAP, UiAction.DISMISS), listOf("accept", "decline"), listOf(TelemetryPlatform.WEB, TelemetryPlatform.ANDROID)),
|
|
344
|
+
CALL_SCREEN_SHARE("call.screen_share", TelemetryScreen.CALL, UiElementKind.TOGGLE, listOf(UiAction.TOGGLE), listOf("on", "off"), listOf(TelemetryPlatform.WEB, TelemetryPlatform.IOS, TelemetryPlatform.ANDROID)),
|
|
345
|
+
CALL_SCREEN_SHARE_RESPOND("call.screen_share_respond", TelemetryScreen.CALL, UiElementKind.DIALOG_BUTTON, listOf(UiAction.TAP, UiAction.DISMISS), listOf("accept", "decline"), listOf(TelemetryPlatform.WEB, TelemetryPlatform.IOS, TelemetryPlatform.ANDROID)),
|
|
346
|
+
CALL_CAPTIONS("call.captions", TelemetryScreen.CALL, UiElementKind.TOGGLE, listOf(UiAction.TOGGLE), listOf("on", "off"), listOf(TelemetryPlatform.WEB, TelemetryPlatform.IOS, TelemetryPlatform.ANDROID)),
|
|
347
|
+
CALL_CAPTION_LANGUAGE_SELECT("call.caption_language_select", TelemetryScreen.CALL, UiElementKind.MENU_ITEM, listOf(UiAction.TAP), null, listOf(TelemetryPlatform.WEB, TelemetryPlatform.IOS, TelemetryPlatform.ANDROID)),
|
|
348
|
+
CHAT_SETTINGS_HELP_TRANSLATE_CAPTIONS("chat_settings.help_translate_captions", TelemetryScreen.CHAT_SETTINGS, UiElementKind.TOGGLE, listOf(UiAction.TOGGLE), listOf("on", "off"), listOf(TelemetryPlatform.WEB, TelemetryPlatform.IOS, TelemetryPlatform.ANDROID)),
|
|
346
349
|
CHAT_MEDIA_OPEN("chat.media_open", TelemetryScreen.CHAT, UiElementKind.GESTURE, listOf(UiAction.TAP), null, listOf(TelemetryPlatform.WEB, TelemetryPlatform.IOS, TelemetryPlatform.ANDROID)),
|
|
347
350
|
CHAT_AUDIO_PLAY("chat.audio_play", TelemetryScreen.CHAT, UiElementKind.TOGGLE, listOf(UiAction.TOGGLE), listOf("play", "pause"), listOf(TelemetryPlatform.WEB, TelemetryPlatform.IOS, TelemetryPlatform.ANDROID)),
|
|
348
351
|
CHAT_FILE_OPEN("chat.file_open", TelemetryScreen.CHAT, UiElementKind.LIST_ITEM, listOf(UiAction.TAP), null, listOf(TelemetryPlatform.WEB, TelemetryPlatform.IOS, TelemetryPlatform.ANDROID)),
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// GENERATED FILE - DO NOT EDIT.
|
|
2
|
-
// telemetry-integrity: sha256
|
|
2
|
+
// telemetry-integrity: sha256 e9f336f3402e1b9628fd2259412a5dae385c8d736a84f32adae388bcca9c3a68
|
|
3
3
|
// Source of truth: OneHookBackend/packages/telemetry/src/catalog.ts
|
|
4
4
|
// Regenerate: (OneHookBackend) npm run telemetry:generate && npm run telemetry:sync
|
|
5
|
-
// Catalog version 1.3.0, hash
|
|
5
|
+
// Catalog version 1.3.0, hash 52029d112aadcfd5.
|
|
6
6
|
//
|
|
7
7
|
// HARD RULE: every user interaction MUST emit ui_interaction with an id from THIS file, and
|
|
8
8
|
// ids are controlled by the backend. Read TELEMETRY_CONTRACT.txt (printed by every build).
|
|
@@ -11,7 +11,7 @@ import Foundation
|
|
|
11
11
|
|
|
12
12
|
public enum TelemetryCatalog {
|
|
13
13
|
public static let version = "1.3.0"
|
|
14
|
-
public static let hash = "
|
|
14
|
+
public static let hash = "52029d112aadcfd5"
|
|
15
15
|
/// The only allowed `telemetry-exempt: <category>: <reason>` categories (see the catalog).
|
|
16
16
|
public static let exemptCategories: [String] = ["duplicate", "backdrop", "gesture", "continuous", "disabled"]
|
|
17
17
|
}
|
|
@@ -293,6 +293,9 @@ public enum UiElement: String, CaseIterable, Codable, Sendable {
|
|
|
293
293
|
case callSpeaker = "call.speaker"
|
|
294
294
|
case callScreenShare = "call.screen_share"
|
|
295
295
|
case callScreenShareRespond = "call.screen_share_respond"
|
|
296
|
+
case callCaptions = "call.captions"
|
|
297
|
+
case callCaptionLanguageSelect = "call.caption_language_select"
|
|
298
|
+
case chatSettingsHelpTranslateCaptions = "chat_settings.help_translate_captions"
|
|
296
299
|
case chatMediaOpen = "chat.media_open"
|
|
297
300
|
case chatAudioPlay = "chat.audio_play"
|
|
298
301
|
case chatFileOpen = "chat.file_open"
|
|
@@ -514,8 +517,11 @@ public enum UiElement: String, CaseIterable, Codable, Sendable {
|
|
|
514
517
|
case .callCamera: return UiElementSpec(screen: .call, kind: .toggle, actions: [.toggle], allowedValues: ["on", "off"], platforms: [.web, .ios, .android])
|
|
515
518
|
case .callCameraSwitch: return UiElementSpec(screen: .call, kind: .button, actions: [.tap], allowedValues: nil, platforms: [.ios])
|
|
516
519
|
case .callSpeaker: return UiElementSpec(screen: .call, kind: .toggle, actions: [.toggle], allowedValues: ["on", "off"], platforms: [.ios, .android])
|
|
517
|
-
case .callScreenShare: return UiElementSpec(screen: .call, kind: .toggle, actions: [.toggle], allowedValues: ["on", "off"], platforms: [.web, .android])
|
|
518
|
-
case .callScreenShareRespond: return UiElementSpec(screen: .call, kind: .dialogButton, actions: [.tap, .dismiss], allowedValues: ["accept", "decline"], platforms: [.web, .android])
|
|
520
|
+
case .callScreenShare: return UiElementSpec(screen: .call, kind: .toggle, actions: [.toggle], allowedValues: ["on", "off"], platforms: [.web, .ios, .android])
|
|
521
|
+
case .callScreenShareRespond: return UiElementSpec(screen: .call, kind: .dialogButton, actions: [.tap, .dismiss], allowedValues: ["accept", "decline"], platforms: [.web, .ios, .android])
|
|
522
|
+
case .callCaptions: return UiElementSpec(screen: .call, kind: .toggle, actions: [.toggle], allowedValues: ["on", "off"], platforms: [.web, .ios, .android])
|
|
523
|
+
case .callCaptionLanguageSelect: return UiElementSpec(screen: .call, kind: .menuItem, actions: [.tap], allowedValues: nil, platforms: [.web, .ios, .android])
|
|
524
|
+
case .chatSettingsHelpTranslateCaptions: return UiElementSpec(screen: .chatSettings, kind: .toggle, actions: [.toggle], allowedValues: ["on", "off"], platforms: [.web, .ios, .android])
|
|
519
525
|
case .chatMediaOpen: return UiElementSpec(screen: .chat, kind: .gesture, actions: [.tap], allowedValues: nil, platforms: [.web, .ios, .android])
|
|
520
526
|
case .chatAudioPlay: return UiElementSpec(screen: .chat, kind: .toggle, actions: [.toggle], allowedValues: ["play", "pause"], platforms: [.web, .ios, .android])
|
|
521
527
|
case .chatFileOpen: return UiElementSpec(screen: .chat, kind: .listItem, actions: [.tap], allowedValues: nil, platforms: [.web, .ios, .android])
|
|
@@ -1950,6 +1950,7 @@
|
|
|
1950
1950
|
],
|
|
1951
1951
|
"platforms": [
|
|
1952
1952
|
"web",
|
|
1953
|
+
"ios",
|
|
1953
1954
|
"android"
|
|
1954
1955
|
],
|
|
1955
1956
|
"deprecated": null
|
|
@@ -1968,6 +1969,58 @@
|
|
|
1968
1969
|
],
|
|
1969
1970
|
"platforms": [
|
|
1970
1971
|
"web",
|
|
1972
|
+
"ios",
|
|
1973
|
+
"android"
|
|
1974
|
+
],
|
|
1975
|
+
"deprecated": null
|
|
1976
|
+
},
|
|
1977
|
+
"call.captions": {
|
|
1978
|
+
"screen": "CALL",
|
|
1979
|
+
"kind": "toggle",
|
|
1980
|
+
"description": "Turn live captions of your own speech on / off. value = new state.",
|
|
1981
|
+
"actions": [
|
|
1982
|
+
"toggle"
|
|
1983
|
+
],
|
|
1984
|
+
"values": [
|
|
1985
|
+
"on",
|
|
1986
|
+
"off"
|
|
1987
|
+
],
|
|
1988
|
+
"platforms": [
|
|
1989
|
+
"web",
|
|
1990
|
+
"ios",
|
|
1991
|
+
"android"
|
|
1992
|
+
],
|
|
1993
|
+
"deprecated": null
|
|
1994
|
+
},
|
|
1995
|
+
"call.caption_language_select": {
|
|
1996
|
+
"screen": "CALL",
|
|
1997
|
+
"kind": "menu_item",
|
|
1998
|
+
"description": "Pick the language your captions are translated into (or \"original\").",
|
|
1999
|
+
"actions": [
|
|
2000
|
+
"tap"
|
|
2001
|
+
],
|
|
2002
|
+
"values": null,
|
|
2003
|
+
"platforms": [
|
|
2004
|
+
"web",
|
|
2005
|
+
"ios",
|
|
2006
|
+
"android"
|
|
2007
|
+
],
|
|
2008
|
+
"deprecated": null
|
|
2009
|
+
},
|
|
2010
|
+
"chat_settings.help_translate_captions": {
|
|
2011
|
+
"screen": "CHAT_SETTINGS",
|
|
2012
|
+
"kind": "toggle",
|
|
2013
|
+
"description": "Help translate my captions for call partners whose device cannot. value = new state.",
|
|
2014
|
+
"actions": [
|
|
2015
|
+
"toggle"
|
|
2016
|
+
],
|
|
2017
|
+
"values": [
|
|
2018
|
+
"on",
|
|
2019
|
+
"off"
|
|
2020
|
+
],
|
|
2021
|
+
"platforms": [
|
|
2022
|
+
"web",
|
|
2023
|
+
"ios",
|
|
1971
2024
|
"android"
|
|
1972
2025
|
],
|
|
1973
2026
|
"deprecated": null
|
|
@@ -3724,8 +3777,6 @@
|
|
|
3724
3777
|
"settings.verify_code_submit": "Web verifies a new email inline via settings.email_manage; there is no separate verify-code control, and phone updates are not offered (settings.phone_update is gapped)."
|
|
3725
3778
|
},
|
|
3726
3779
|
"ios": {
|
|
3727
|
-
"call.screen_share": "iOS 1:1 calls have no in-call screen-sharing control; the call UI exposes only mute / camera / flip / speaker / end (screen-share is unbuilt — see the TODO(screen-share) markers in Core/Calls).",
|
|
3728
|
-
"call.screen_share_respond": "iOS has no screen-sharing feature, so there is no incoming screen-share request dialog to accept or decline.",
|
|
3729
3780
|
"chat.capture_option": "iOS captures via the system UIImagePickerController camera; photo vs video is chosen in the system camera UI, not an app control.",
|
|
3730
3781
|
"chat.history_reset_confirm": "iOS message-history recovery has no last-resort reset flow; recovery is via a source device + QR (chat.history_recover / chat.history_recover_method / chat.history_recover_step), so there is no reset to confirm.",
|
|
3731
3782
|
"chat.mr_onehook_close": "No explicit leave-Mr-OneHook control on iOS; the user switches away via the conversation switcher (chat.conversation_switch).",
|
|
@@ -4309,5 +4360,5 @@
|
|
|
4309
4360
|
}
|
|
4310
4361
|
}
|
|
4311
4362
|
},
|
|
4312
|
-
"hash": "
|
|
4363
|
+
"hash": "52029d112aadcfd5"
|
|
4313
4364
|
}
|