onehook-api-client 1.0.25 → 1.0.27

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.
Files changed (30) hide show
  1. package/README.md +21 -0
  2. package/dist-cjs/OneHook.js +6 -0
  3. package/dist-cjs/commands/CreateAdminInviteCommand.js +21 -0
  4. package/dist-cjs/commands/SendAdminLinkOtpCommand.js +21 -0
  5. package/dist-cjs/commands/VerifyAdminLinkOtpCommand.js +21 -0
  6. package/dist-cjs/commands/index.js +3 -0
  7. package/dist-cjs/protocols/Aws_restJson1.js +101 -3
  8. package/dist-cjs/telemetry/index.js +9 -3
  9. package/dist-es/OneHook.js +6 -0
  10. package/dist-es/commands/CreateAdminInviteCommand.js +17 -0
  11. package/dist-es/commands/SendAdminLinkOtpCommand.js +17 -0
  12. package/dist-es/commands/VerifyAdminLinkOtpCommand.js +17 -0
  13. package/dist-es/commands/index.js +3 -0
  14. package/dist-es/protocols/Aws_restJson1.js +92 -0
  15. package/dist-es/telemetry/index.js +9 -3
  16. package/dist-types/OneHook.d.ts +21 -0
  17. package/dist-types/OneHookClient.d.ts +5 -2
  18. package/dist-types/commands/CreateAdminInviteCommand.d.ts +87 -0
  19. package/dist-types/commands/GetChatSettingsCommand.d.ts +1 -0
  20. package/dist-types/commands/SendAdminLinkOtpCommand.d.ts +83 -0
  21. package/dist-types/commands/UpdateChatSettingsCommand.d.ts +2 -0
  22. package/dist-types/commands/VerifyAdminLinkOtpCommand.d.ts +84 -0
  23. package/dist-types/commands/index.d.ts +3 -0
  24. package/dist-types/models/models_0.d.ts +60 -0
  25. package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
  26. package/dist-types/telemetry/index.d.ts +4 -1
  27. package/package.json +1 -1
  28. package/telemetry/TelemetryCatalog.kt +8 -5
  29. package/telemetry/TelemetryCatalog.swift +11 -5
  30. package/telemetry/telemetry-catalog.json +54 -3
@@ -1,5 +1,5 @@
1
1
  export const TELEMETRY_CATALOG_VERSION = "1.3.0";
2
- export const TELEMETRY_CATALOG_HASH = "47d859d40ce38e04";
2
+ export const TELEMETRY_CATALOG_HASH = "9db35444cda2b7ba";
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"] },
@@ -2,6 +2,7 @@ import { OneHookClient } from "./OneHookClient";
2
2
  import { AuthSocialCommandInput, AuthSocialCommandOutput } from "./commands/AuthSocialCommand";
3
3
  import { CompleteLivenessSessionCommandInput, CompleteLivenessSessionCommandOutput } from "./commands/CompleteLivenessSessionCommand";
4
4
  import { CompleteOnboardingCommandInput, CompleteOnboardingCommandOutput } from "./commands/CompleteOnboardingCommand";
5
+ import { CreateAdminInviteCommandInput, CreateAdminInviteCommandOutput } from "./commands/CreateAdminInviteCommand";
5
6
  import { CreateLivenessSessionCommandInput, CreateLivenessSessionCommandOutput } from "./commands/CreateLivenessSessionCommand";
6
7
  import { CreateMediaDownloadUrlCommandInput, CreateMediaDownloadUrlCommandOutput } from "./commands/CreateMediaDownloadUrlCommand";
7
8
  import { CreateMediaUploadUrlCommandInput, CreateMediaUploadUrlCommandOutput } from "./commands/CreateMediaUploadUrlCommand";
@@ -41,6 +42,7 @@ import { RequestEmailOtpCommandInput, RequestEmailOtpCommandOutput } from "./com
41
42
  import { RequestPhoneOtpCommandInput, RequestPhoneOtpCommandOutput } from "./commands/RequestPhoneOtpCommand";
42
43
  import { RequestPhoneUpdateOtpCommandInput, RequestPhoneUpdateOtpCommandOutput } from "./commands/RequestPhoneUpdateOtpCommand";
43
44
  import { RevokeDeviceCommandInput, RevokeDeviceCommandOutput } from "./commands/RevokeDeviceCommand";
45
+ import { SendAdminLinkOtpCommandInput, SendAdminLinkOtpCommandOutput } from "./commands/SendAdminLinkOtpCommand";
44
46
  import { SwipeByUsernameCommandInput, SwipeByUsernameCommandOutput } from "./commands/SwipeByUsernameCommand";
45
47
  import { SwipeCommandInput, SwipeCommandOutput } from "./commands/SwipeCommand";
46
48
  import { UnhookCommandInput, UnhookCommandOutput } from "./commands/UnhookCommand";
@@ -53,6 +55,7 @@ import { UpdateProfileCommandInput, UpdateProfileCommandOutput } from "./command
53
55
  import { UpdateUsernameCommandInput, UpdateUsernameCommandOutput } from "./commands/UpdateUsernameCommand";
54
56
  import { UpgradeUserCommandInput, UpgradeUserCommandOutput } from "./commands/UpgradeUserCommand";
55
57
  import { ValidateInviteCommandInput, ValidateInviteCommandOutput } from "./commands/ValidateInviteCommand";
58
+ import { VerifyAdminLinkOtpCommandInput, VerifyAdminLinkOtpCommandOutput } from "./commands/VerifyAdminLinkOtpCommand";
56
59
  import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
57
60
  export interface OneHook {
58
61
  /**
@@ -136,6 +139,12 @@ export interface OneHook {
136
139
  authSocial(args: AuthSocialCommandInput, options?: __HttpHandlerOptions): Promise<AuthSocialCommandOutput>;
137
140
  authSocial(args: AuthSocialCommandInput, cb: (err: any, data?: AuthSocialCommandOutput) => void): void;
138
141
  authSocial(args: AuthSocialCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AuthSocialCommandOutput) => void): void;
142
+ /**
143
+ * @see {@link CreateAdminInviteCommand}
144
+ */
145
+ createAdminInvite(args: CreateAdminInviteCommandInput, options?: __HttpHandlerOptions): Promise<CreateAdminInviteCommandOutput>;
146
+ createAdminInvite(args: CreateAdminInviteCommandInput, cb: (err: any, data?: CreateAdminInviteCommandOutput) => void): void;
147
+ createAdminInvite(args: CreateAdminInviteCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAdminInviteCommandOutput) => void): void;
139
148
  /**
140
149
  * @see {@link GenerateInviteCommand}
141
150
  */
@@ -202,6 +211,12 @@ export interface OneHook {
202
211
  requestPhoneUpdateOtp(args: RequestPhoneUpdateOtpCommandInput, options?: __HttpHandlerOptions): Promise<RequestPhoneUpdateOtpCommandOutput>;
203
212
  requestPhoneUpdateOtp(args: RequestPhoneUpdateOtpCommandInput, cb: (err: any, data?: RequestPhoneUpdateOtpCommandOutput) => void): void;
204
213
  requestPhoneUpdateOtp(args: RequestPhoneUpdateOtpCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RequestPhoneUpdateOtpCommandOutput) => void): void;
214
+ /**
215
+ * @see {@link SendAdminLinkOtpCommand}
216
+ */
217
+ sendAdminLinkOtp(args: SendAdminLinkOtpCommandInput, options?: __HttpHandlerOptions): Promise<SendAdminLinkOtpCommandOutput>;
218
+ sendAdminLinkOtp(args: SendAdminLinkOtpCommandInput, cb: (err: any, data?: SendAdminLinkOtpCommandOutput) => void): void;
219
+ sendAdminLinkOtp(args: SendAdminLinkOtpCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SendAdminLinkOtpCommandOutput) => void): void;
205
220
  /**
206
221
  * @see {@link UnlinkSocialCommand}
207
222
  */
@@ -232,6 +247,12 @@ export interface OneHook {
232
247
  validateInvite(args: ValidateInviteCommandInput, options?: __HttpHandlerOptions): Promise<ValidateInviteCommandOutput>;
233
248
  validateInvite(args: ValidateInviteCommandInput, cb: (err: any, data?: ValidateInviteCommandOutput) => void): void;
234
249
  validateInvite(args: ValidateInviteCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ValidateInviteCommandOutput) => void): void;
250
+ /**
251
+ * @see {@link VerifyAdminLinkOtpCommand}
252
+ */
253
+ verifyAdminLinkOtp(args: VerifyAdminLinkOtpCommandInput, options?: __HttpHandlerOptions): Promise<VerifyAdminLinkOtpCommandOutput>;
254
+ verifyAdminLinkOtp(args: VerifyAdminLinkOtpCommandInput, cb: (err: any, data?: VerifyAdminLinkOtpCommandOutput) => void): void;
255
+ verifyAdminLinkOtp(args: VerifyAdminLinkOtpCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: VerifyAdminLinkOtpCommandOutput) => void): void;
235
256
  /**
236
257
  * @see {@link DiscoverCommand}
237
258
  */
@@ -2,6 +2,7 @@ import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/
2
2
  import { AuthSocialCommandInput, AuthSocialCommandOutput } from "./commands/AuthSocialCommand";
3
3
  import { CompleteLivenessSessionCommandInput, CompleteLivenessSessionCommandOutput } from "./commands/CompleteLivenessSessionCommand";
4
4
  import { CompleteOnboardingCommandInput, CompleteOnboardingCommandOutput } from "./commands/CompleteOnboardingCommand";
5
+ import { CreateAdminInviteCommandInput, CreateAdminInviteCommandOutput } from "./commands/CreateAdminInviteCommand";
5
6
  import { CreateLivenessSessionCommandInput, CreateLivenessSessionCommandOutput } from "./commands/CreateLivenessSessionCommand";
6
7
  import { CreateMediaDownloadUrlCommandInput, CreateMediaDownloadUrlCommandOutput } from "./commands/CreateMediaDownloadUrlCommand";
7
8
  import { CreateMediaUploadUrlCommandInput, CreateMediaUploadUrlCommandOutput } from "./commands/CreateMediaUploadUrlCommand";
@@ -41,6 +42,7 @@ import { RequestEmailOtpCommandInput, RequestEmailOtpCommandOutput } from "./com
41
42
  import { RequestPhoneOtpCommandInput, RequestPhoneOtpCommandOutput } from "./commands/RequestPhoneOtpCommand";
42
43
  import { RequestPhoneUpdateOtpCommandInput, RequestPhoneUpdateOtpCommandOutput } from "./commands/RequestPhoneUpdateOtpCommand";
43
44
  import { RevokeDeviceCommandInput, RevokeDeviceCommandOutput } from "./commands/RevokeDeviceCommand";
45
+ import { SendAdminLinkOtpCommandInput, SendAdminLinkOtpCommandOutput } from "./commands/SendAdminLinkOtpCommand";
44
46
  import { SwipeByUsernameCommandInput, SwipeByUsernameCommandOutput } from "./commands/SwipeByUsernameCommand";
45
47
  import { SwipeCommandInput, SwipeCommandOutput } from "./commands/SwipeCommand";
46
48
  import { UnhookCommandInput, UnhookCommandOutput } from "./commands/UnhookCommand";
@@ -53,6 +55,7 @@ import { UpdateProfileCommandInput, UpdateProfileCommandOutput } from "./command
53
55
  import { UpdateUsernameCommandInput, UpdateUsernameCommandOutput } from "./commands/UpdateUsernameCommand";
54
56
  import { UpgradeUserCommandInput, UpgradeUserCommandOutput } from "./commands/UpgradeUserCommand";
55
57
  import { ValidateInviteCommandInput, ValidateInviteCommandOutput } from "./commands/ValidateInviteCommand";
58
+ import { VerifyAdminLinkOtpCommandInput, VerifyAdminLinkOtpCommandOutput } from "./commands/VerifyAdminLinkOtpCommand";
56
59
  import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
57
60
  import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
58
61
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
@@ -65,11 +68,11 @@ export { __Client };
65
68
  /**
66
69
  * @public
67
70
  */
68
- export type ServiceInputTypes = AuthSocialCommandInput | CompleteLivenessSessionCommandInput | CompleteOnboardingCommandInput | CreateLivenessSessionCommandInput | CreateMediaDownloadUrlCommandInput | CreateMediaUploadUrlCommandInput | DeleteMatchMessagesCommandInput | DeleteProfileCommandInput | DeletePushTokenCommandInput | DiscoverCommandInput | GenerateDownloadUrlCommandInput | GenerateInviteCommandInput | GenerateUploadUrlCommandInput | GetAiContextMatchCommandInput | GetChatSettingsCommandInput | GetCredentialReadinessCommandInput | GetLivenessStatusCommandInput | GetMatchCommandInput | GetMyProfileCommandInput | GetNotificationPreferencesCommandInput | GetParticipantRegistryCommandInput | GetPreferencesCommandInput | GetProfileCommandInput | GetReceivedLikesCommandInput | GetRosesCommandInput | GetStateCommandInput | GetUserByEmailCommandInput | GetUserCommandInput | GetUserIdByUsernameCommandInput | IndexLocationCommandInput | InitUserCommandInput | LinkEmailCommandInput | LinkSocialCommandInput | ListMyDevicesCommandInput | RegisterDeviceCommandInput | RegisterPhoneCommandInput | RegisterPushTokenCommandInput | RemoveLocationCommandInput | RequestEmailOtpCommandInput | RequestPhoneOtpCommandInput | RequestPhoneUpdateOtpCommandInput | RevokeDeviceCommandInput | SwipeByUsernameCommandInput | SwipeCommandInput | UnhookCommandInput | UnlinkSocialCommandInput | UpdateChatSettingsCommandInput | UpdateEntitlementsCommandInput | UpdatePhoneNumberCommandInput | UpdatePreferencesCommandInput | UpdateProfileCommandInput | UpdateUsernameCommandInput | UpgradeUserCommandInput | ValidateInviteCommandInput;
71
+ export type ServiceInputTypes = AuthSocialCommandInput | CompleteLivenessSessionCommandInput | CompleteOnboardingCommandInput | CreateAdminInviteCommandInput | CreateLivenessSessionCommandInput | CreateMediaDownloadUrlCommandInput | CreateMediaUploadUrlCommandInput | DeleteMatchMessagesCommandInput | DeleteProfileCommandInput | DeletePushTokenCommandInput | DiscoverCommandInput | GenerateDownloadUrlCommandInput | GenerateInviteCommandInput | GenerateUploadUrlCommandInput | GetAiContextMatchCommandInput | GetChatSettingsCommandInput | GetCredentialReadinessCommandInput | GetLivenessStatusCommandInput | GetMatchCommandInput | GetMyProfileCommandInput | GetNotificationPreferencesCommandInput | GetParticipantRegistryCommandInput | GetPreferencesCommandInput | GetProfileCommandInput | GetReceivedLikesCommandInput | GetRosesCommandInput | GetStateCommandInput | GetUserByEmailCommandInput | GetUserCommandInput | GetUserIdByUsernameCommandInput | IndexLocationCommandInput | InitUserCommandInput | LinkEmailCommandInput | LinkSocialCommandInput | ListMyDevicesCommandInput | RegisterDeviceCommandInput | RegisterPhoneCommandInput | RegisterPushTokenCommandInput | RemoveLocationCommandInput | RequestEmailOtpCommandInput | RequestPhoneOtpCommandInput | RequestPhoneUpdateOtpCommandInput | RevokeDeviceCommandInput | SendAdminLinkOtpCommandInput | SwipeByUsernameCommandInput | SwipeCommandInput | UnhookCommandInput | UnlinkSocialCommandInput | UpdateChatSettingsCommandInput | UpdateEntitlementsCommandInput | UpdatePhoneNumberCommandInput | UpdatePreferencesCommandInput | UpdateProfileCommandInput | UpdateUsernameCommandInput | UpgradeUserCommandInput | ValidateInviteCommandInput | VerifyAdminLinkOtpCommandInput;
69
72
  /**
70
73
  * @public
71
74
  */
72
- export type ServiceOutputTypes = AuthSocialCommandOutput | CompleteLivenessSessionCommandOutput | CompleteOnboardingCommandOutput | CreateLivenessSessionCommandOutput | CreateMediaDownloadUrlCommandOutput | CreateMediaUploadUrlCommandOutput | DeleteMatchMessagesCommandOutput | DeleteProfileCommandOutput | DeletePushTokenCommandOutput | DiscoverCommandOutput | GenerateDownloadUrlCommandOutput | GenerateInviteCommandOutput | GenerateUploadUrlCommandOutput | GetAiContextMatchCommandOutput | GetChatSettingsCommandOutput | GetCredentialReadinessCommandOutput | GetLivenessStatusCommandOutput | GetMatchCommandOutput | GetMyProfileCommandOutput | GetNotificationPreferencesCommandOutput | GetParticipantRegistryCommandOutput | GetPreferencesCommandOutput | GetProfileCommandOutput | GetReceivedLikesCommandOutput | GetRosesCommandOutput | GetStateCommandOutput | GetUserByEmailCommandOutput | GetUserCommandOutput | GetUserIdByUsernameCommandOutput | IndexLocationCommandOutput | InitUserCommandOutput | LinkEmailCommandOutput | LinkSocialCommandOutput | ListMyDevicesCommandOutput | RegisterDeviceCommandOutput | RegisterPhoneCommandOutput | RegisterPushTokenCommandOutput | RemoveLocationCommandOutput | RequestEmailOtpCommandOutput | RequestPhoneOtpCommandOutput | RequestPhoneUpdateOtpCommandOutput | RevokeDeviceCommandOutput | SwipeByUsernameCommandOutput | SwipeCommandOutput | UnhookCommandOutput | UnlinkSocialCommandOutput | UpdateChatSettingsCommandOutput | UpdateEntitlementsCommandOutput | UpdatePhoneNumberCommandOutput | UpdatePreferencesCommandOutput | UpdateProfileCommandOutput | UpdateUsernameCommandOutput | UpgradeUserCommandOutput | ValidateInviteCommandOutput;
75
+ export type ServiceOutputTypes = AuthSocialCommandOutput | CompleteLivenessSessionCommandOutput | CompleteOnboardingCommandOutput | CreateAdminInviteCommandOutput | CreateLivenessSessionCommandOutput | CreateMediaDownloadUrlCommandOutput | CreateMediaUploadUrlCommandOutput | DeleteMatchMessagesCommandOutput | DeleteProfileCommandOutput | DeletePushTokenCommandOutput | DiscoverCommandOutput | GenerateDownloadUrlCommandOutput | GenerateInviteCommandOutput | GenerateUploadUrlCommandOutput | GetAiContextMatchCommandOutput | GetChatSettingsCommandOutput | GetCredentialReadinessCommandOutput | GetLivenessStatusCommandOutput | GetMatchCommandOutput | GetMyProfileCommandOutput | GetNotificationPreferencesCommandOutput | GetParticipantRegistryCommandOutput | GetPreferencesCommandOutput | GetProfileCommandOutput | GetReceivedLikesCommandOutput | GetRosesCommandOutput | GetStateCommandOutput | GetUserByEmailCommandOutput | GetUserCommandOutput | GetUserIdByUsernameCommandOutput | IndexLocationCommandOutput | InitUserCommandOutput | LinkEmailCommandOutput | LinkSocialCommandOutput | ListMyDevicesCommandOutput | RegisterDeviceCommandOutput | RegisterPhoneCommandOutput | RegisterPushTokenCommandOutput | RemoveLocationCommandOutput | RequestEmailOtpCommandOutput | RequestPhoneOtpCommandOutput | RequestPhoneUpdateOtpCommandOutput | RevokeDeviceCommandOutput | SendAdminLinkOtpCommandOutput | SwipeByUsernameCommandOutput | SwipeCommandOutput | UnhookCommandOutput | UnlinkSocialCommandOutput | UpdateChatSettingsCommandOutput | UpdateEntitlementsCommandOutput | UpdatePhoneNumberCommandOutput | UpdatePreferencesCommandOutput | UpdateProfileCommandOutput | UpdateUsernameCommandOutput | UpgradeUserCommandOutput | ValidateInviteCommandOutput | VerifyAdminLinkOtpCommandOutput;
73
76
  /**
74
77
  * @public
75
78
  */
@@ -0,0 +1,87 @@
1
+ import { OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookClient";
2
+ import { CreateAdminInviteRequest, CreateAdminInviteResponse } from "../models/models_0";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateAdminInviteCommand}.
14
+ */
15
+ export interface CreateAdminInviteCommandInput extends CreateAdminInviteRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateAdminInviteCommand}.
21
+ */
22
+ export interface CreateAdminInviteCommandOutput extends CreateAdminInviteResponse, __MetadataBearer {
23
+ }
24
+ declare const CreateAdminInviteCommand_base: {
25
+ new (input: CreateAdminInviteCommandInput): import("@smithy/smithy-client").CommandImpl<CreateAdminInviteCommandInput, CreateAdminInviteCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: CreateAdminInviteCommandInput): import("@smithy/smithy-client").CommandImpl<CreateAdminInviteCommandInput, CreateAdminInviteCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Mints a single-use invite bound to a specific phone number, for the admin portal's Admissions
31
+ * module. Internal, IAM-authorized (SigV4) — NOT the Cognito user-pool authorizer — so the only
32
+ * callers are principals granted \{@code execute-api:Invoke\} (the portal's per-module invoke role).
33
+ *
34
+ * The invite is bound to the HMAC hash of the E.164 phone number, created with \{@code maxUses=1\} and
35
+ * a short TTL (default 14 days, bounded 1..30). \{@code RegisterPhone\} refuses a bound invite when the
36
+ * registering phone's hash differs, with the SAME error as an invalid/unknown invite, so the binding
37
+ * is never revealed. The response never echoes the phone or its hash.
38
+ * @example
39
+ * Use a bare-bones client and the command you need to make an API call.
40
+ * ```javascript
41
+ * import { OneHookClient, CreateAdminInviteCommand } from "onehook-api-client"; // ES Modules import
42
+ * // const { OneHookClient, CreateAdminInviteCommand } = require("onehook-api-client"); // CommonJS import
43
+ * const client = new OneHookClient(config);
44
+ * const input = { // CreateAdminInviteRequest
45
+ * phoneNumber: "STRING_VALUE", // required
46
+ * referrerId: "STRING_VALUE", // required
47
+ * ttlDays: Number("int"),
48
+ * };
49
+ * const command = new CreateAdminInviteCommand(input);
50
+ * const response = await client.send(command);
51
+ * // { // CreateAdminInviteResponse
52
+ * // inviteCode: "STRING_VALUE", // required
53
+ * // expiresAt: Number("long"), // required
54
+ * // maxUses: Number("int"), // required
55
+ * // };
56
+ *
57
+ * ```
58
+ *
59
+ * @param CreateAdminInviteCommandInput - {@link CreateAdminInviteCommandInput}
60
+ * @returns {@link CreateAdminInviteCommandOutput}
61
+ * @see {@link CreateAdminInviteCommandInput} for command's `input` shape.
62
+ * @see {@link CreateAdminInviteCommandOutput} for command's `response` shape.
63
+ * @see {@link OneHookClientResolvedConfig | config} for OneHookClient's `config` shape.
64
+ *
65
+ * @throws {@link BadRequestError} (client fault)
66
+ *
67
+ * @throws {@link InternalServerError} (server fault)
68
+ *
69
+ * @throws {@link OneHookServiceException}
70
+ * <p>Base exception class for all service exceptions from OneHook service.</p>
71
+ *
72
+ *
73
+ * @public
74
+ */
75
+ export declare class CreateAdminInviteCommand extends CreateAdminInviteCommand_base {
76
+ /** @internal type navigation helper, not in runtime. */
77
+ protected static __types: {
78
+ api: {
79
+ input: CreateAdminInviteRequest;
80
+ output: CreateAdminInviteResponse;
81
+ };
82
+ sdk: {
83
+ input: CreateAdminInviteCommandInput;
84
+ output: CreateAdminInviteCommandOutput;
85
+ };
86
+ };
87
+ }
@@ -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
  *
@@ -0,0 +1,83 @@
1
+ import { OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookClient";
2
+ import { SendAdminLinkOtpRequest, SendAdminLinkOtpResponse } from "../models/models_0";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link SendAdminLinkOtpCommand}.
14
+ */
15
+ export interface SendAdminLinkOtpCommandInput extends SendAdminLinkOtpRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link SendAdminLinkOtpCommand}.
21
+ */
22
+ export interface SendAdminLinkOtpCommandOutput extends SendAdminLinkOtpResponse, __MetadataBearer {
23
+ }
24
+ declare const SendAdminLinkOtpCommand_base: {
25
+ new (input: SendAdminLinkOtpCommandInput): import("@smithy/smithy-client").CommandImpl<SendAdminLinkOtpCommandInput, SendAdminLinkOtpCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: SendAdminLinkOtpCommandInput): import("@smithy/smithy-client").CommandImpl<SendAdminLinkOtpCommandInput, SendAdminLinkOtpCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Sends a one-time 6-digit code by SMS to a user's VERIFIED phone, so a portal admin can prove they
31
+ * own that OneHook account before the admin↔username link is recorded. Internal, IAM-authorized
32
+ * (SigV4). Reuses the existing OTP/SMS delivery path and rate limiting. The admin-link OTP is stored
33
+ * under a key namespace distinct from login/registration OTPs, so the two can never be cross-used.
34
+ * Unknown user → 404. The response returns only a masked phone, never the full number.
35
+ * @example
36
+ * Use a bare-bones client and the command you need to make an API call.
37
+ * ```javascript
38
+ * import { OneHookClient, SendAdminLinkOtpCommand } from "onehook-api-client"; // ES Modules import
39
+ * // const { OneHookClient, SendAdminLinkOtpCommand } = require("onehook-api-client"); // CommonJS import
40
+ * const client = new OneHookClient(config);
41
+ * const input = { // SendAdminLinkOtpRequest
42
+ * userId: "STRING_VALUE", // required
43
+ * };
44
+ * const command = new SendAdminLinkOtpCommand(input);
45
+ * const response = await client.send(command);
46
+ * // { // SendAdminLinkOtpResponse
47
+ * // status: "STRING_VALUE", // required
48
+ * // maskedPhone: "STRING_VALUE", // required
49
+ * // };
50
+ *
51
+ * ```
52
+ *
53
+ * @param SendAdminLinkOtpCommandInput - {@link SendAdminLinkOtpCommandInput}
54
+ * @returns {@link SendAdminLinkOtpCommandOutput}
55
+ * @see {@link SendAdminLinkOtpCommandInput} for command's `input` shape.
56
+ * @see {@link SendAdminLinkOtpCommandOutput} for command's `response` shape.
57
+ * @see {@link OneHookClientResolvedConfig | config} for OneHookClient's `config` shape.
58
+ *
59
+ * @throws {@link BadRequestError} (client fault)
60
+ *
61
+ * @throws {@link NotFoundError} (client fault)
62
+ *
63
+ * @throws {@link InternalServerError} (server fault)
64
+ *
65
+ * @throws {@link OneHookServiceException}
66
+ * <p>Base exception class for all service exceptions from OneHook service.</p>
67
+ *
68
+ *
69
+ * @public
70
+ */
71
+ export declare class SendAdminLinkOtpCommand extends SendAdminLinkOtpCommand_base {
72
+ /** @internal type navigation helper, not in runtime. */
73
+ protected static __types: {
74
+ api: {
75
+ input: SendAdminLinkOtpRequest;
76
+ output: SendAdminLinkOtpResponse;
77
+ };
78
+ sdk: {
79
+ input: SendAdminLinkOtpCommandInput;
80
+ output: SendAdminLinkOtpCommandOutput;
81
+ };
82
+ };
83
+ }
@@ -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
  *
@@ -0,0 +1,84 @@
1
+ import { OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookClient";
2
+ import { VerifyAdminLinkOtpRequest, VerifyAdminLinkOtpResponse } from "../models/models_0";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link VerifyAdminLinkOtpCommand}.
14
+ */
15
+ export interface VerifyAdminLinkOtpCommandInput extends VerifyAdminLinkOtpRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link VerifyAdminLinkOtpCommand}.
21
+ */
22
+ export interface VerifyAdminLinkOtpCommandOutput extends VerifyAdminLinkOtpResponse, __MetadataBearer {
23
+ }
24
+ declare const VerifyAdminLinkOtpCommand_base: {
25
+ new (input: VerifyAdminLinkOtpCommandInput): import("@smithy/smithy-client").CommandImpl<VerifyAdminLinkOtpCommandInput, VerifyAdminLinkOtpCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: VerifyAdminLinkOtpCommandInput): import("@smithy/smithy-client").CommandImpl<VerifyAdminLinkOtpCommandInput, VerifyAdminLinkOtpCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Verifies an admin-link OTP previously sent by \{@link SendAdminLinkOtp\}. Internal, IAM-authorized
31
+ * (SigV4). On success returns the userId + username the portal records for the link. A wrong/expired
32
+ * code, or exceeding the per-code attempt cap, returns a generic 400 (no oracle). The code is
33
+ * single-use and expires in 5 minutes. Unknown user → 404.
34
+ * @example
35
+ * Use a bare-bones client and the command you need to make an API call.
36
+ * ```javascript
37
+ * import { OneHookClient, VerifyAdminLinkOtpCommand } from "onehook-api-client"; // ES Modules import
38
+ * // const { OneHookClient, VerifyAdminLinkOtpCommand } = require("onehook-api-client"); // CommonJS import
39
+ * const client = new OneHookClient(config);
40
+ * const input = { // VerifyAdminLinkOtpRequest
41
+ * userId: "STRING_VALUE", // required
42
+ * code: "STRING_VALUE", // required
43
+ * };
44
+ * const command = new VerifyAdminLinkOtpCommand(input);
45
+ * const response = await client.send(command);
46
+ * // { // VerifyAdminLinkOtpResponse
47
+ * // verified: true || false, // required
48
+ * // userId: "STRING_VALUE", // required
49
+ * // username: "STRING_VALUE", // required
50
+ * // };
51
+ *
52
+ * ```
53
+ *
54
+ * @param VerifyAdminLinkOtpCommandInput - {@link VerifyAdminLinkOtpCommandInput}
55
+ * @returns {@link VerifyAdminLinkOtpCommandOutput}
56
+ * @see {@link VerifyAdminLinkOtpCommandInput} for command's `input` shape.
57
+ * @see {@link VerifyAdminLinkOtpCommandOutput} for command's `response` shape.
58
+ * @see {@link OneHookClientResolvedConfig | config} for OneHookClient's `config` shape.
59
+ *
60
+ * @throws {@link BadRequestError} (client fault)
61
+ *
62
+ * @throws {@link NotFoundError} (client fault)
63
+ *
64
+ * @throws {@link InternalServerError} (server fault)
65
+ *
66
+ * @throws {@link OneHookServiceException}
67
+ * <p>Base exception class for all service exceptions from OneHook service.</p>
68
+ *
69
+ *
70
+ * @public
71
+ */
72
+ export declare class VerifyAdminLinkOtpCommand extends VerifyAdminLinkOtpCommand_base {
73
+ /** @internal type navigation helper, not in runtime. */
74
+ protected static __types: {
75
+ api: {
76
+ input: VerifyAdminLinkOtpRequest;
77
+ output: VerifyAdminLinkOtpResponse;
78
+ };
79
+ sdk: {
80
+ input: VerifyAdminLinkOtpCommandInput;
81
+ output: VerifyAdminLinkOtpCommandOutput;
82
+ };
83
+ };
84
+ }
@@ -11,6 +11,7 @@ export * from "./RegisterPushTokenCommand";
11
11
  export * from "./RevokeDeviceCommand";
12
12
  export * from "./UpdateChatSettingsCommand";
13
13
  export * from "./AuthSocialCommand";
14
+ export * from "./CreateAdminInviteCommand";
14
15
  export * from "./GenerateInviteCommand";
15
16
  export * from "./GetCredentialReadinessCommand";
16
17
  export * from "./GetUserCommand";
@@ -22,11 +23,13 @@ export * from "./RegisterPhoneCommand";
22
23
  export * from "./RequestEmailOtpCommand";
23
24
  export * from "./RequestPhoneOtpCommand";
24
25
  export * from "./RequestPhoneUpdateOtpCommand";
26
+ export * from "./SendAdminLinkOtpCommand";
25
27
  export * from "./UnlinkSocialCommand";
26
28
  export * from "./UpdateEntitlementsCommand";
27
29
  export * from "./UpdatePhoneNumberCommand";
28
30
  export * from "./UpdateUsernameCommand";
29
31
  export * from "./ValidateInviteCommand";
32
+ export * from "./VerifyAdminLinkOtpCommand";
30
33
  export * from "./DiscoverCommand";
31
34
  export * from "./GetNotificationPreferencesCommand";
32
35
  export * from "./GetPreferencesCommand";
@@ -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
@@ -615,6 +622,26 @@ export interface AuthSocialResponse {
615
622
  userId?: string | undefined;
616
623
  isNewUser?: boolean | undefined;
617
624
  }
625
+ /**
626
+ * @public
627
+ */
628
+ export interface CreateAdminInviteRequest {
629
+ phoneNumber: string | undefined;
630
+ referrerId: string | undefined;
631
+ /**
632
+ * Optional invite lifetime in days. Defaults to 14 when omitted; bounded to 1..30.
633
+ * @public
634
+ */
635
+ ttlDays?: number | undefined;
636
+ }
637
+ /**
638
+ * @public
639
+ */
640
+ export interface CreateAdminInviteResponse {
641
+ inviteCode: string | undefined;
642
+ expiresAt: number | undefined;
643
+ maxUses: number | undefined;
644
+ }
618
645
  /**
619
646
  * @public
620
647
  */
@@ -791,6 +818,24 @@ export interface RequestPhoneUpdateOtpRequest {
791
818
  export interface RequestPhoneUpdateOtpResponse {
792
819
  status: string | undefined;
793
820
  }
821
+ /**
822
+ * @public
823
+ */
824
+ export interface SendAdminLinkOtpRequest {
825
+ userId: string | undefined;
826
+ }
827
+ /**
828
+ * @public
829
+ */
830
+ export interface SendAdminLinkOtpResponse {
831
+ status: string | undefined;
832
+ /**
833
+ * The user's phone with only a short prefix and suffix shown, e.g. \{@code +91•••••••210\}. Never
834
+ * the full number.
835
+ * @public
836
+ */
837
+ maskedPhone: string | undefined;
838
+ }
794
839
  /**
795
840
  * @public
796
841
  */
@@ -909,6 +954,21 @@ export interface ValidateInviteResponse {
909
954
  usedCount: number | undefined;
910
955
  maxUses: number | undefined;
911
956
  }
957
+ /**
958
+ * @public
959
+ */
960
+ export interface VerifyAdminLinkOtpRequest {
961
+ userId: string | undefined;
962
+ code: string | undefined;
963
+ }
964
+ /**
965
+ * @public
966
+ */
967
+ export interface VerifyAdminLinkOtpResponse {
968
+ verified: boolean | undefined;
969
+ userId: string | undefined;
970
+ username: string | undefined;
971
+ }
912
972
  /**
913
973
  * @public
914
974
  */
@@ -1,6 +1,7 @@
1
1
  import { AuthSocialCommandInput, AuthSocialCommandOutput } from "../commands/AuthSocialCommand";
2
2
  import { CompleteLivenessSessionCommandInput, CompleteLivenessSessionCommandOutput } from "../commands/CompleteLivenessSessionCommand";
3
3
  import { CompleteOnboardingCommandInput, CompleteOnboardingCommandOutput } from "../commands/CompleteOnboardingCommand";
4
+ import { CreateAdminInviteCommandInput, CreateAdminInviteCommandOutput } from "../commands/CreateAdminInviteCommand";
4
5
  import { CreateLivenessSessionCommandInput, CreateLivenessSessionCommandOutput } from "../commands/CreateLivenessSessionCommand";
5
6
  import { CreateMediaDownloadUrlCommandInput, CreateMediaDownloadUrlCommandOutput } from "../commands/CreateMediaDownloadUrlCommand";
6
7
  import { CreateMediaUploadUrlCommandInput, CreateMediaUploadUrlCommandOutput } from "../commands/CreateMediaUploadUrlCommand";
@@ -40,6 +41,7 @@ import { RequestEmailOtpCommandInput, RequestEmailOtpCommandOutput } from "../co
40
41
  import { RequestPhoneOtpCommandInput, RequestPhoneOtpCommandOutput } from "../commands/RequestPhoneOtpCommand";
41
42
  import { RequestPhoneUpdateOtpCommandInput, RequestPhoneUpdateOtpCommandOutput } from "../commands/RequestPhoneUpdateOtpCommand";
42
43
  import { RevokeDeviceCommandInput, RevokeDeviceCommandOutput } from "../commands/RevokeDeviceCommand";
44
+ import { SendAdminLinkOtpCommandInput, SendAdminLinkOtpCommandOutput } from "../commands/SendAdminLinkOtpCommand";
43
45
  import { SwipeByUsernameCommandInput, SwipeByUsernameCommandOutput } from "../commands/SwipeByUsernameCommand";
44
46
  import { SwipeCommandInput, SwipeCommandOutput } from "../commands/SwipeCommand";
45
47
  import { UnhookCommandInput, UnhookCommandOutput } from "../commands/UnhookCommand";
@@ -52,6 +54,7 @@ import { UpdateProfileCommandInput, UpdateProfileCommandOutput } from "../comman
52
54
  import { UpdateUsernameCommandInput, UpdateUsernameCommandOutput } from "../commands/UpdateUsernameCommand";
53
55
  import { UpgradeUserCommandInput, UpgradeUserCommandOutput } from "../commands/UpgradeUserCommand";
54
56
  import { ValidateInviteCommandInput, ValidateInviteCommandOutput } from "../commands/ValidateInviteCommand";
57
+ import { VerifyAdminLinkOtpCommandInput, VerifyAdminLinkOtpCommandOutput } from "../commands/VerifyAdminLinkOtpCommand";
55
58
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
56
59
  import { SerdeContext as __SerdeContext } from "@smithy/types";
57
60
  /**
@@ -106,6 +109,10 @@ export declare const se_UpdateChatSettingsCommand: (input: UpdateChatSettingsCom
106
109
  * serializeAws_restJson1AuthSocialCommand
107
110
  */
108
111
  export declare const se_AuthSocialCommand: (input: AuthSocialCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
112
+ /**
113
+ * serializeAws_restJson1CreateAdminInviteCommand
114
+ */
115
+ export declare const se_CreateAdminInviteCommand: (input: CreateAdminInviteCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
109
116
  /**
110
117
  * serializeAws_restJson1GenerateInviteCommand
111
118
  */
@@ -150,6 +157,10 @@ export declare const se_RequestPhoneOtpCommand: (input: RequestPhoneOtpCommandIn
150
157
  * serializeAws_restJson1RequestPhoneUpdateOtpCommand
151
158
  */
152
159
  export declare const se_RequestPhoneUpdateOtpCommand: (input: RequestPhoneUpdateOtpCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
160
+ /**
161
+ * serializeAws_restJson1SendAdminLinkOtpCommand
162
+ */
163
+ export declare const se_SendAdminLinkOtpCommand: (input: SendAdminLinkOtpCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
153
164
  /**
154
165
  * serializeAws_restJson1UnlinkSocialCommand
155
166
  */
@@ -170,6 +181,10 @@ export declare const se_UpdateUsernameCommand: (input: UpdateUsernameCommandInpu
170
181
  * serializeAws_restJson1ValidateInviteCommand
171
182
  */
172
183
  export declare const se_ValidateInviteCommand: (input: ValidateInviteCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
184
+ /**
185
+ * serializeAws_restJson1VerifyAdminLinkOtpCommand
186
+ */
187
+ export declare const se_VerifyAdminLinkOtpCommand: (input: VerifyAdminLinkOtpCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
173
188
  /**
174
189
  * serializeAws_restJson1DiscoverCommand
175
190
  */
@@ -322,6 +337,10 @@ export declare const de_UpdateChatSettingsCommand: (output: __HttpResponse, cont
322
337
  * deserializeAws_restJson1AuthSocialCommand
323
338
  */
324
339
  export declare const de_AuthSocialCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AuthSocialCommandOutput>;
340
+ /**
341
+ * deserializeAws_restJson1CreateAdminInviteCommand
342
+ */
343
+ export declare const de_CreateAdminInviteCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateAdminInviteCommandOutput>;
325
344
  /**
326
345
  * deserializeAws_restJson1GenerateInviteCommand
327
346
  */
@@ -366,6 +385,10 @@ export declare const de_RequestPhoneOtpCommand: (output: __HttpResponse, context
366
385
  * deserializeAws_restJson1RequestPhoneUpdateOtpCommand
367
386
  */
368
387
  export declare const de_RequestPhoneUpdateOtpCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RequestPhoneUpdateOtpCommandOutput>;
388
+ /**
389
+ * deserializeAws_restJson1SendAdminLinkOtpCommand
390
+ */
391
+ export declare const de_SendAdminLinkOtpCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SendAdminLinkOtpCommandOutput>;
369
392
  /**
370
393
  * deserializeAws_restJson1UnlinkSocialCommand
371
394
  */
@@ -386,6 +409,10 @@ export declare const de_UpdateUsernameCommand: (output: __HttpResponse, context:
386
409
  * deserializeAws_restJson1ValidateInviteCommand
387
410
  */
388
411
  export declare const de_ValidateInviteCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ValidateInviteCommandOutput>;
412
+ /**
413
+ * deserializeAws_restJson1VerifyAdminLinkOtpCommand
414
+ */
415
+ export declare const de_VerifyAdminLinkOtpCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<VerifyAdminLinkOtpCommandOutput>;
389
416
  /**
390
417
  * deserializeAws_restJson1DiscoverCommand
391
418
  */
@@ -1,5 +1,5 @@
1
1
  export declare const TELEMETRY_CATALOG_VERSION = "1.3.0";
2
- export declare const TELEMETRY_CATALOG_HASH = "47d859d40ce38e04";
2
+ export declare const TELEMETRY_CATALOG_HASH = "9db35444cda2b7ba";
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";