onehook-api-client 1.0.27 → 1.0.28

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/README.md CHANGED
@@ -304,6 +304,13 @@ GenerateInvite
304
304
  </details>
305
305
  <details>
306
306
  <summary>
307
+ GetAdminPhoneStatus
308
+ </summary>
309
+
310
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/onehook/command/GetAdminPhoneStatusCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-onehook/Interface/GetAdminPhoneStatusCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-onehook/Interface/GetAdminPhoneStatusCommandOutput/)
311
+ </details>
312
+ <details>
313
+ <summary>
307
314
  GetCredentialReadiness
308
315
  </summary>
309
316
 
@@ -16,6 +16,7 @@ const DiscoverCommand_1 = require("./commands/DiscoverCommand");
16
16
  const GenerateDownloadUrlCommand_1 = require("./commands/GenerateDownloadUrlCommand");
17
17
  const GenerateInviteCommand_1 = require("./commands/GenerateInviteCommand");
18
18
  const GenerateUploadUrlCommand_1 = require("./commands/GenerateUploadUrlCommand");
19
+ const GetAdminPhoneStatusCommand_1 = require("./commands/GetAdminPhoneStatusCommand");
19
20
  const GetAiContextMatchCommand_1 = require("./commands/GetAiContextMatchCommand");
20
21
  const GetChatSettingsCommand_1 = require("./commands/GetChatSettingsCommand");
21
22
  const GetCredentialReadinessCommand_1 = require("./commands/GetCredentialReadinessCommand");
@@ -76,6 +77,7 @@ const commands = {
76
77
  AuthSocialCommand: AuthSocialCommand_1.AuthSocialCommand,
77
78
  CreateAdminInviteCommand: CreateAdminInviteCommand_1.CreateAdminInviteCommand,
78
79
  GenerateInviteCommand: GenerateInviteCommand_1.GenerateInviteCommand,
80
+ GetAdminPhoneStatusCommand: GetAdminPhoneStatusCommand_1.GetAdminPhoneStatusCommand,
79
81
  GetCredentialReadinessCommand: GetCredentialReadinessCommand_1.GetCredentialReadinessCommand,
80
82
  GetUserCommand: GetUserCommand_1.GetUserCommand,
81
83
  GetUserByEmailCommand: GetUserByEmailCommand_1.GetUserByEmailCommand,
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetAdminPhoneStatusCommand = exports.$Command = void 0;
4
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ class GetAdminPhoneStatusCommand extends smithy_client_1.Command.classBuilder()
9
+ .m(function (Command, cs, config, o) {
10
+ return [
11
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
+ ];
13
+ })
14
+ .s("OneHookService", "GetAdminPhoneStatus", {})
15
+ .n("OneHookClient", "GetAdminPhoneStatusCommand")
16
+ .f(void 0, void 0)
17
+ .ser(Aws_restJson1_1.se_GetAdminPhoneStatusCommand)
18
+ .de(Aws_restJson1_1.de_GetAdminPhoneStatusCommand)
19
+ .build() {
20
+ }
21
+ exports.GetAdminPhoneStatusCommand = GetAdminPhoneStatusCommand;
@@ -16,6 +16,7 @@ tslib_1.__exportStar(require("./UpdateChatSettingsCommand"), exports);
16
16
  tslib_1.__exportStar(require("./AuthSocialCommand"), exports);
17
17
  tslib_1.__exportStar(require("./CreateAdminInviteCommand"), exports);
18
18
  tslib_1.__exportStar(require("./GenerateInviteCommand"), exports);
19
+ tslib_1.__exportStar(require("./GetAdminPhoneStatusCommand"), exports);
19
20
  tslib_1.__exportStar(require("./GetCredentialReadinessCommand"), exports);
20
21
  tslib_1.__exportStar(require("./GetUserCommand"), exports);
21
22
  tslib_1.__exportStar(require("./GetUserByEmailCommand"), exports);
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.se_GetProfileCommand = exports.se_GetMyProfileCommand = exports.se_GetLivenessStatusCommand = exports.se_GenerateUploadUrlCommand = exports.se_GenerateDownloadUrlCommand = exports.se_DeleteProfileCommand = exports.se_CreateLivenessSessionCommand = exports.se_CompleteLivenessSessionCommand = exports.se_UpdatePreferencesCommand = exports.se_SwipeByUsernameCommand = exports.se_SwipeCommand = exports.se_RemoveLocationCommand = exports.se_IndexLocationCommand = exports.se_GetRosesCommand = exports.se_GetReceivedLikesCommand = exports.se_GetPreferencesCommand = exports.se_GetNotificationPreferencesCommand = exports.se_DiscoverCommand = exports.se_VerifyAdminLinkOtpCommand = exports.se_ValidateInviteCommand = exports.se_UpdateUsernameCommand = exports.se_UpdatePhoneNumberCommand = exports.se_UpdateEntitlementsCommand = exports.se_UnlinkSocialCommand = exports.se_SendAdminLinkOtpCommand = exports.se_RequestPhoneUpdateOtpCommand = exports.se_RequestPhoneOtpCommand = exports.se_RequestEmailOtpCommand = exports.se_RegisterPhoneCommand = exports.se_LinkSocialCommand = exports.se_LinkEmailCommand = exports.se_GetUserIdByUsernameCommand = exports.se_GetUserByEmailCommand = exports.se_GetUserCommand = exports.se_GetCredentialReadinessCommand = exports.se_GenerateInviteCommand = exports.se_CreateAdminInviteCommand = exports.se_AuthSocialCommand = exports.se_UpdateChatSettingsCommand = exports.se_RevokeDeviceCommand = exports.se_RegisterPushTokenCommand = exports.se_RegisterDeviceCommand = exports.se_ListMyDevicesCommand = exports.se_GetParticipantRegistryCommand = exports.se_GetChatSettingsCommand = exports.se_DeletePushTokenCommand = exports.se_DeleteMatchMessagesCommand = exports.se_CreateMediaUploadUrlCommand = exports.se_CreateMediaDownloadUrlCommand = exports.se_GetAiContextMatchCommand = void 0;
4
- exports.de_CompleteLivenessSessionCommand = exports.de_UpdatePreferencesCommand = exports.de_SwipeByUsernameCommand = exports.de_SwipeCommand = exports.de_RemoveLocationCommand = exports.de_IndexLocationCommand = exports.de_GetRosesCommand = exports.de_GetReceivedLikesCommand = exports.de_GetPreferencesCommand = exports.de_GetNotificationPreferencesCommand = exports.de_DiscoverCommand = exports.de_VerifyAdminLinkOtpCommand = exports.de_ValidateInviteCommand = exports.de_UpdateUsernameCommand = exports.de_UpdatePhoneNumberCommand = exports.de_UpdateEntitlementsCommand = exports.de_UnlinkSocialCommand = exports.de_SendAdminLinkOtpCommand = exports.de_RequestPhoneUpdateOtpCommand = exports.de_RequestPhoneOtpCommand = exports.de_RequestEmailOtpCommand = exports.de_RegisterPhoneCommand = exports.de_LinkSocialCommand = exports.de_LinkEmailCommand = exports.de_GetUserIdByUsernameCommand = exports.de_GetUserByEmailCommand = exports.de_GetUserCommand = exports.de_GetCredentialReadinessCommand = exports.de_GenerateInviteCommand = exports.de_CreateAdminInviteCommand = exports.de_AuthSocialCommand = exports.de_UpdateChatSettingsCommand = exports.de_RevokeDeviceCommand = exports.de_RegisterPushTokenCommand = exports.de_RegisterDeviceCommand = exports.de_ListMyDevicesCommand = exports.de_GetParticipantRegistryCommand = exports.de_GetChatSettingsCommand = exports.de_DeletePushTokenCommand = exports.de_DeleteMatchMessagesCommand = exports.de_CreateMediaUploadUrlCommand = exports.de_CreateMediaDownloadUrlCommand = exports.de_GetAiContextMatchCommand = exports.se_UpgradeUserCommand = exports.se_UnhookCommand = exports.se_InitUserCommand = exports.se_GetStateCommand = exports.se_GetMatchCommand = exports.se_CompleteOnboardingCommand = exports.se_UpdateProfileCommand = void 0;
5
- exports.de_UpgradeUserCommand = exports.de_UnhookCommand = exports.de_InitUserCommand = exports.de_GetStateCommand = exports.de_GetMatchCommand = exports.de_CompleteOnboardingCommand = exports.de_UpdateProfileCommand = exports.de_GetProfileCommand = exports.de_GetMyProfileCommand = exports.de_GetLivenessStatusCommand = exports.de_GenerateUploadUrlCommand = exports.de_GenerateDownloadUrlCommand = exports.de_DeleteProfileCommand = exports.de_CreateLivenessSessionCommand = void 0;
3
+ exports.se_GetMyProfileCommand = exports.se_GetLivenessStatusCommand = exports.se_GenerateUploadUrlCommand = exports.se_GenerateDownloadUrlCommand = exports.se_DeleteProfileCommand = exports.se_CreateLivenessSessionCommand = exports.se_CompleteLivenessSessionCommand = exports.se_UpdatePreferencesCommand = exports.se_SwipeByUsernameCommand = exports.se_SwipeCommand = exports.se_RemoveLocationCommand = exports.se_IndexLocationCommand = exports.se_GetRosesCommand = exports.se_GetReceivedLikesCommand = exports.se_GetPreferencesCommand = exports.se_GetNotificationPreferencesCommand = exports.se_DiscoverCommand = exports.se_VerifyAdminLinkOtpCommand = exports.se_ValidateInviteCommand = exports.se_UpdateUsernameCommand = exports.se_UpdatePhoneNumberCommand = exports.se_UpdateEntitlementsCommand = exports.se_UnlinkSocialCommand = exports.se_SendAdminLinkOtpCommand = exports.se_RequestPhoneUpdateOtpCommand = exports.se_RequestPhoneOtpCommand = exports.se_RequestEmailOtpCommand = exports.se_RegisterPhoneCommand = exports.se_LinkSocialCommand = exports.se_LinkEmailCommand = exports.se_GetUserIdByUsernameCommand = exports.se_GetUserByEmailCommand = exports.se_GetUserCommand = exports.se_GetCredentialReadinessCommand = exports.se_GetAdminPhoneStatusCommand = exports.se_GenerateInviteCommand = exports.se_CreateAdminInviteCommand = exports.se_AuthSocialCommand = exports.se_UpdateChatSettingsCommand = exports.se_RevokeDeviceCommand = exports.se_RegisterPushTokenCommand = exports.se_RegisterDeviceCommand = exports.se_ListMyDevicesCommand = exports.se_GetParticipantRegistryCommand = exports.se_GetChatSettingsCommand = exports.se_DeletePushTokenCommand = exports.se_DeleteMatchMessagesCommand = exports.se_CreateMediaUploadUrlCommand = exports.se_CreateMediaDownloadUrlCommand = exports.se_GetAiContextMatchCommand = void 0;
4
+ exports.de_SwipeByUsernameCommand = exports.de_SwipeCommand = exports.de_RemoveLocationCommand = exports.de_IndexLocationCommand = exports.de_GetRosesCommand = exports.de_GetReceivedLikesCommand = exports.de_GetPreferencesCommand = exports.de_GetNotificationPreferencesCommand = exports.de_DiscoverCommand = exports.de_VerifyAdminLinkOtpCommand = exports.de_ValidateInviteCommand = exports.de_UpdateUsernameCommand = exports.de_UpdatePhoneNumberCommand = exports.de_UpdateEntitlementsCommand = exports.de_UnlinkSocialCommand = exports.de_SendAdminLinkOtpCommand = exports.de_RequestPhoneUpdateOtpCommand = exports.de_RequestPhoneOtpCommand = exports.de_RequestEmailOtpCommand = exports.de_RegisterPhoneCommand = exports.de_LinkSocialCommand = exports.de_LinkEmailCommand = exports.de_GetUserIdByUsernameCommand = exports.de_GetUserByEmailCommand = exports.de_GetUserCommand = exports.de_GetCredentialReadinessCommand = exports.de_GetAdminPhoneStatusCommand = exports.de_GenerateInviteCommand = exports.de_CreateAdminInviteCommand = exports.de_AuthSocialCommand = exports.de_UpdateChatSettingsCommand = exports.de_RevokeDeviceCommand = exports.de_RegisterPushTokenCommand = exports.de_RegisterDeviceCommand = exports.de_ListMyDevicesCommand = exports.de_GetParticipantRegistryCommand = exports.de_GetChatSettingsCommand = exports.de_DeletePushTokenCommand = exports.de_DeleteMatchMessagesCommand = exports.de_CreateMediaUploadUrlCommand = exports.de_CreateMediaDownloadUrlCommand = exports.de_GetAiContextMatchCommand = exports.se_UpgradeUserCommand = exports.se_UnhookCommand = exports.se_InitUserCommand = exports.se_GetStateCommand = exports.se_GetMatchCommand = exports.se_CompleteOnboardingCommand = exports.se_UpdateProfileCommand = exports.se_GetProfileCommand = void 0;
5
+ exports.de_UpgradeUserCommand = exports.de_UnhookCommand = exports.de_InitUserCommand = exports.de_GetStateCommand = exports.de_GetMatchCommand = exports.de_CompleteOnboardingCommand = exports.de_UpdateProfileCommand = exports.de_GetProfileCommand = exports.de_GetMyProfileCommand = exports.de_GetLivenessStatusCommand = exports.de_GenerateUploadUrlCommand = exports.de_GenerateDownloadUrlCommand = exports.de_DeleteProfileCommand = exports.de_CreateLivenessSessionCommand = exports.de_CompleteLivenessSessionCommand = exports.de_UpdatePreferencesCommand = void 0;
6
6
  const OneHookServiceException_1 = require("../models/OneHookServiceException");
7
7
  const models_0_1 = require("../models/models_0");
8
8
  const core_1 = require("@aws-sdk/core");
@@ -247,6 +247,22 @@ const se_GenerateInviteCommand = async (input, context) => {
247
247
  return b.build();
248
248
  };
249
249
  exports.se_GenerateInviteCommand = se_GenerateInviteCommand;
250
+ const se_GetAdminPhoneStatusCommand = async (input, context) => {
251
+ const b = (0, core_2.requestBuilder)(input, context);
252
+ const headers = {
253
+ 'content-type': 'application/json',
254
+ };
255
+ b.bp("/identity/admin/phone-status");
256
+ let body;
257
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
258
+ 'phoneNumber': [],
259
+ }));
260
+ b.m("POST")
261
+ .h(headers)
262
+ .b(body);
263
+ return b.build();
264
+ };
265
+ exports.se_GetAdminPhoneStatusCommand = se_GetAdminPhoneStatusCommand;
250
266
  const se_GetCredentialReadinessCommand = async (input, context) => {
251
267
  const b = (0, core_2.requestBuilder)(input, context);
252
268
  const headers = {};
@@ -1160,6 +1176,21 @@ const de_GenerateInviteCommand = async (output, context) => {
1160
1176
  return contents;
1161
1177
  };
1162
1178
  exports.de_GenerateInviteCommand = de_GenerateInviteCommand;
1179
+ const de_GetAdminPhoneStatusCommand = async (output, context) => {
1180
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1181
+ return de_CommandError(output, context);
1182
+ }
1183
+ const contents = (0, smithy_client_1.map)({
1184
+ $metadata: deserializeMetadata(output),
1185
+ });
1186
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1187
+ const doc = (0, smithy_client_1.take)(data, {
1188
+ 'registered': smithy_client_1.expectBoolean,
1189
+ });
1190
+ Object.assign(contents, doc);
1191
+ return contents;
1192
+ };
1193
+ exports.de_GetAdminPhoneStatusCommand = de_GetAdminPhoneStatusCommand;
1163
1194
  const de_GetCredentialReadinessCommand = async (output, context) => {
1164
1195
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1165
1196
  return de_CommandError(output, context);
@@ -1,8 +1,8 @@
1
1
  "use strict";
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
- exports.TELEMETRY_CATALOG_VERSION = "1.3.0";
5
- exports.TELEMETRY_CATALOG_HASH = "9db35444cda2b7ba";
4
+ exports.TELEMETRY_CATALOG_VERSION = "1.4.0";
5
+ exports.TELEMETRY_CATALOG_HASH = "5cf9f7740c92eebe";
6
6
  exports.SignalType = {
7
7
  SCREEN_VIEW: "screen_view",
8
8
  UI_INTERACTION: "ui_interaction",
@@ -33,6 +33,8 @@ exports.Screen = {
33
33
  LANDING: "LANDING",
34
34
  LOGIN: "LOGIN",
35
35
  REDEEM_INVITE: "REDEEM_INVITE",
36
+ ADMISSIONS: "ADMISSIONS",
37
+ ADMISSIONS_STATUS: "ADMISSIONS_STATUS",
36
38
  ONBOARDING: "ONBOARDING",
37
39
  DISCOVER: "DISCOVER",
38
40
  LIKE_COMPOSER: "LIKE_COMPOSER",
@@ -57,6 +59,8 @@ exports.ViewableScreen = {
57
59
  LANDING: "LANDING",
58
60
  LOGIN: "LOGIN",
59
61
  REDEEM_INVITE: "REDEEM_INVITE",
62
+ ADMISSIONS: "ADMISSIONS",
63
+ ADMISSIONS_STATUS: "ADMISSIONS_STATUS",
60
64
  ONBOARDING: "ONBOARDING",
61
65
  DISCOVER: "DISCOVER",
62
66
  LIKE_COMPOSER: "LIKE_COMPOSER",
@@ -191,6 +195,21 @@ exports.UiElement = {
191
195
  REDEEM_INVITE_LOGIN: "redeem_invite.login",
192
196
  REDEEM_INVITE_CLOSE: "redeem_invite.close",
193
197
  REDEEM_INVITE_RESEND_CODE: "redeem_invite.resend_code",
198
+ REDEEM_INVITE_GET_INVITE_VIDEO: "redeem_invite.get_invite_video",
199
+ ADMISSIONS_SUBMIT: "admissions.submit",
200
+ ADMISSIONS_RESEND_CODE: "admissions.resend_code",
201
+ ADMISSIONS_CONSENT_TOGGLE: "admissions.consent_toggle",
202
+ ADMISSIONS_PRIVACY_POLICY: "admissions.privacy_policy",
203
+ ADMISSIONS_RECORD_START: "admissions.record_start",
204
+ ADMISSIONS_RECORD_STOP: "admissions.record_stop",
205
+ ADMISSIONS_RETAKE: "admissions.retake",
206
+ ADMISSIONS_PREVIEW_PLAY: "admissions.preview_play",
207
+ ADMISSIONS_UPLOAD_RETRY: "admissions.upload_retry",
208
+ ADMISSIONS_CLOSE: "admissions.close",
209
+ ADMISSIONS_OPEN_SETTINGS: "admissions.open_settings",
210
+ ADMISSIONS_STATUS_REFRESH: "admissions_status.refresh",
211
+ ADMISSIONS_STATUS_CONTINUE_INVITE: "admissions_status.continue_invite",
212
+ ADMISSIONS_STATUS_WITHDRAW: "admissions_status.withdraw",
194
213
  ONBOARDING_NEXT: "onboarding.next",
195
214
  ONBOARDING_BACK: "onboarding.back",
196
215
  ONBOARDING_FINISH: "onboarding.finish",
@@ -416,6 +435,21 @@ exports.UI_ELEMENTS = {
416
435
  "redeem_invite.login": { screen: "REDEEM_INVITE", kind: "link", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
417
436
  "redeem_invite.close": { screen: "REDEEM_INVITE", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
418
437
  "redeem_invite.resend_code": { screen: "REDEEM_INVITE", kind: "link", actions: ["tap"], values: null, platforms: ["web", "ios"] },
438
+ "redeem_invite.get_invite_video": { screen: "REDEEM_INVITE", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
439
+ "admissions.submit": { screen: "ADMISSIONS", kind: "button", actions: ["submit"], values: ["send_code", "verify_code", "submit_application"], platforms: ["ios", "android"] },
440
+ "admissions.resend_code": { screen: "ADMISSIONS", kind: "link", actions: ["tap"], values: null, platforms: ["ios", "android"] },
441
+ "admissions.consent_toggle": { screen: "ADMISSIONS", kind: "toggle", actions: ["toggle"], values: ["checked", "unchecked"], platforms: ["ios", "android"] },
442
+ "admissions.privacy_policy": { screen: "ADMISSIONS", kind: "link", actions: ["tap"], values: null, platforms: ["ios", "android"] },
443
+ "admissions.record_start": { screen: "ADMISSIONS", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
444
+ "admissions.record_stop": { screen: "ADMISSIONS", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
445
+ "admissions.retake": { screen: "ADMISSIONS", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
446
+ "admissions.preview_play": { screen: "ADMISSIONS", kind: "toggle", actions: ["toggle"], values: ["play", "pause"], platforms: ["ios", "android"] },
447
+ "admissions.upload_retry": { screen: "ADMISSIONS", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
448
+ "admissions.close": { screen: "ADMISSIONS", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
449
+ "admissions.open_settings": { screen: "ADMISSIONS", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
450
+ "admissions_status.refresh": { screen: "ADMISSIONS_STATUS", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
451
+ "admissions_status.continue_invite": { screen: "ADMISSIONS_STATUS", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
452
+ "admissions_status.withdraw": { screen: "ADMISSIONS_STATUS", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
419
453
  "onboarding.next": { screen: "ONBOARDING", kind: "button", actions: ["submit"], values: ["basics", "photos", "media", "prompts", "details"], platforms: ["web", "ios"] },
420
454
  "onboarding.back": { screen: "ONBOARDING", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios"] },
421
455
  "onboarding.finish": { screen: "ONBOARDING", kind: "button", actions: ["submit"], values: null, platforms: ["web", "ios", "android"] },
@@ -13,6 +13,7 @@ import { DiscoverCommand, } from "./commands/DiscoverCommand";
13
13
  import { GenerateDownloadUrlCommand, } from "./commands/GenerateDownloadUrlCommand";
14
14
  import { GenerateInviteCommand, } from "./commands/GenerateInviteCommand";
15
15
  import { GenerateUploadUrlCommand, } from "./commands/GenerateUploadUrlCommand";
16
+ import { GetAdminPhoneStatusCommand, } from "./commands/GetAdminPhoneStatusCommand";
16
17
  import { GetAiContextMatchCommand, } from "./commands/GetAiContextMatchCommand";
17
18
  import { GetChatSettingsCommand, } from "./commands/GetChatSettingsCommand";
18
19
  import { GetCredentialReadinessCommand, } from "./commands/GetCredentialReadinessCommand";
@@ -73,6 +74,7 @@ const commands = {
73
74
  AuthSocialCommand,
74
75
  CreateAdminInviteCommand,
75
76
  GenerateInviteCommand,
77
+ GetAdminPhoneStatusCommand,
76
78
  GetCredentialReadinessCommand,
77
79
  GetUserCommand,
78
80
  GetUserByEmailCommand,
@@ -0,0 +1,17 @@
1
+ import { de_GetAdminPhoneStatusCommand, se_GetAdminPhoneStatusCommand, } from "../protocols/Aws_restJson1";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ export { $Command };
5
+ export class GetAdminPhoneStatusCommand extends $Command.classBuilder()
6
+ .m(function (Command, cs, config, o) {
7
+ return [
8
+ getSerdePlugin(config, this.serialize, this.deserialize),
9
+ ];
10
+ })
11
+ .s("OneHookService", "GetAdminPhoneStatus", {})
12
+ .n("OneHookClient", "GetAdminPhoneStatusCommand")
13
+ .f(void 0, void 0)
14
+ .ser(se_GetAdminPhoneStatusCommand)
15
+ .de(de_GetAdminPhoneStatusCommand)
16
+ .build() {
17
+ }
@@ -13,6 +13,7 @@ export * from "./UpdateChatSettingsCommand";
13
13
  export * from "./AuthSocialCommand";
14
14
  export * from "./CreateAdminInviteCommand";
15
15
  export * from "./GenerateInviteCommand";
16
+ export * from "./GetAdminPhoneStatusCommand";
16
17
  export * from "./GetCredentialReadinessCommand";
17
18
  export * from "./GetUserCommand";
18
19
  export * from "./GetUserByEmailCommand";
@@ -227,6 +227,21 @@ export const se_GenerateInviteCommand = async (input, context) => {
227
227
  .b(body);
228
228
  return b.build();
229
229
  };
230
+ export const se_GetAdminPhoneStatusCommand = async (input, context) => {
231
+ const b = rb(input, context);
232
+ const headers = {
233
+ 'content-type': 'application/json',
234
+ };
235
+ b.bp("/identity/admin/phone-status");
236
+ let body;
237
+ body = JSON.stringify(take(input, {
238
+ 'phoneNumber': [],
239
+ }));
240
+ b.m("POST")
241
+ .h(headers)
242
+ .b(body);
243
+ return b.build();
244
+ };
230
245
  export const se_GetCredentialReadinessCommand = async (input, context) => {
231
246
  const b = rb(input, context);
232
247
  const headers = {};
@@ -1083,6 +1098,20 @@ export const de_GenerateInviteCommand = async (output, context) => {
1083
1098
  Object.assign(contents, doc);
1084
1099
  return contents;
1085
1100
  };
1101
+ export const de_GetAdminPhoneStatusCommand = async (output, context) => {
1102
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1103
+ return de_CommandError(output, context);
1104
+ }
1105
+ const contents = map({
1106
+ $metadata: deserializeMetadata(output),
1107
+ });
1108
+ const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
1109
+ const doc = take(data, {
1110
+ 'registered': __expectBoolean,
1111
+ });
1112
+ Object.assign(contents, doc);
1113
+ return contents;
1114
+ };
1086
1115
  export const de_GetCredentialReadinessCommand = async (output, context) => {
1087
1116
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1088
1117
  return de_CommandError(output, context);
@@ -1,5 +1,5 @@
1
- export const TELEMETRY_CATALOG_VERSION = "1.3.0";
2
- export const TELEMETRY_CATALOG_HASH = "9db35444cda2b7ba";
1
+ export const TELEMETRY_CATALOG_VERSION = "1.4.0";
2
+ export const TELEMETRY_CATALOG_HASH = "5cf9f7740c92eebe";
3
3
  export const SignalType = {
4
4
  SCREEN_VIEW: "screen_view",
5
5
  UI_INTERACTION: "ui_interaction",
@@ -30,6 +30,8 @@ export const Screen = {
30
30
  LANDING: "LANDING",
31
31
  LOGIN: "LOGIN",
32
32
  REDEEM_INVITE: "REDEEM_INVITE",
33
+ ADMISSIONS: "ADMISSIONS",
34
+ ADMISSIONS_STATUS: "ADMISSIONS_STATUS",
33
35
  ONBOARDING: "ONBOARDING",
34
36
  DISCOVER: "DISCOVER",
35
37
  LIKE_COMPOSER: "LIKE_COMPOSER",
@@ -54,6 +56,8 @@ export const ViewableScreen = {
54
56
  LANDING: "LANDING",
55
57
  LOGIN: "LOGIN",
56
58
  REDEEM_INVITE: "REDEEM_INVITE",
59
+ ADMISSIONS: "ADMISSIONS",
60
+ ADMISSIONS_STATUS: "ADMISSIONS_STATUS",
57
61
  ONBOARDING: "ONBOARDING",
58
62
  DISCOVER: "DISCOVER",
59
63
  LIKE_COMPOSER: "LIKE_COMPOSER",
@@ -188,6 +192,21 @@ export const UiElement = {
188
192
  REDEEM_INVITE_LOGIN: "redeem_invite.login",
189
193
  REDEEM_INVITE_CLOSE: "redeem_invite.close",
190
194
  REDEEM_INVITE_RESEND_CODE: "redeem_invite.resend_code",
195
+ REDEEM_INVITE_GET_INVITE_VIDEO: "redeem_invite.get_invite_video",
196
+ ADMISSIONS_SUBMIT: "admissions.submit",
197
+ ADMISSIONS_RESEND_CODE: "admissions.resend_code",
198
+ ADMISSIONS_CONSENT_TOGGLE: "admissions.consent_toggle",
199
+ ADMISSIONS_PRIVACY_POLICY: "admissions.privacy_policy",
200
+ ADMISSIONS_RECORD_START: "admissions.record_start",
201
+ ADMISSIONS_RECORD_STOP: "admissions.record_stop",
202
+ ADMISSIONS_RETAKE: "admissions.retake",
203
+ ADMISSIONS_PREVIEW_PLAY: "admissions.preview_play",
204
+ ADMISSIONS_UPLOAD_RETRY: "admissions.upload_retry",
205
+ ADMISSIONS_CLOSE: "admissions.close",
206
+ ADMISSIONS_OPEN_SETTINGS: "admissions.open_settings",
207
+ ADMISSIONS_STATUS_REFRESH: "admissions_status.refresh",
208
+ ADMISSIONS_STATUS_CONTINUE_INVITE: "admissions_status.continue_invite",
209
+ ADMISSIONS_STATUS_WITHDRAW: "admissions_status.withdraw",
191
210
  ONBOARDING_NEXT: "onboarding.next",
192
211
  ONBOARDING_BACK: "onboarding.back",
193
212
  ONBOARDING_FINISH: "onboarding.finish",
@@ -413,6 +432,21 @@ export const UI_ELEMENTS = {
413
432
  "redeem_invite.login": { screen: "REDEEM_INVITE", kind: "link", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
414
433
  "redeem_invite.close": { screen: "REDEEM_INVITE", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
415
434
  "redeem_invite.resend_code": { screen: "REDEEM_INVITE", kind: "link", actions: ["tap"], values: null, platforms: ["web", "ios"] },
435
+ "redeem_invite.get_invite_video": { screen: "REDEEM_INVITE", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
436
+ "admissions.submit": { screen: "ADMISSIONS", kind: "button", actions: ["submit"], values: ["send_code", "verify_code", "submit_application"], platforms: ["ios", "android"] },
437
+ "admissions.resend_code": { screen: "ADMISSIONS", kind: "link", actions: ["tap"], values: null, platforms: ["ios", "android"] },
438
+ "admissions.consent_toggle": { screen: "ADMISSIONS", kind: "toggle", actions: ["toggle"], values: ["checked", "unchecked"], platforms: ["ios", "android"] },
439
+ "admissions.privacy_policy": { screen: "ADMISSIONS", kind: "link", actions: ["tap"], values: null, platforms: ["ios", "android"] },
440
+ "admissions.record_start": { screen: "ADMISSIONS", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
441
+ "admissions.record_stop": { screen: "ADMISSIONS", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
442
+ "admissions.retake": { screen: "ADMISSIONS", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
443
+ "admissions.preview_play": { screen: "ADMISSIONS", kind: "toggle", actions: ["toggle"], values: ["play", "pause"], platforms: ["ios", "android"] },
444
+ "admissions.upload_retry": { screen: "ADMISSIONS", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
445
+ "admissions.close": { screen: "ADMISSIONS", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
446
+ "admissions.open_settings": { screen: "ADMISSIONS", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
447
+ "admissions_status.refresh": { screen: "ADMISSIONS_STATUS", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
448
+ "admissions_status.continue_invite": { screen: "ADMISSIONS_STATUS", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
449
+ "admissions_status.withdraw": { screen: "ADMISSIONS_STATUS", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
416
450
  "onboarding.next": { screen: "ONBOARDING", kind: "button", actions: ["submit"], values: ["basics", "photos", "media", "prompts", "details"], platforms: ["web", "ios"] },
417
451
  "onboarding.back": { screen: "ONBOARDING", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios"] },
418
452
  "onboarding.finish": { screen: "ONBOARDING", kind: "button", actions: ["submit"], values: null, platforms: ["web", "ios", "android"] },
@@ -13,6 +13,7 @@ import { DiscoverCommandInput, DiscoverCommandOutput } from "./commands/Discover
13
13
  import { GenerateDownloadUrlCommandInput, GenerateDownloadUrlCommandOutput } from "./commands/GenerateDownloadUrlCommand";
14
14
  import { GenerateInviteCommandInput, GenerateInviteCommandOutput } from "./commands/GenerateInviteCommand";
15
15
  import { GenerateUploadUrlCommandInput, GenerateUploadUrlCommandOutput } from "./commands/GenerateUploadUrlCommand";
16
+ import { GetAdminPhoneStatusCommandInput, GetAdminPhoneStatusCommandOutput } from "./commands/GetAdminPhoneStatusCommand";
16
17
  import { GetAiContextMatchCommandInput, GetAiContextMatchCommandOutput } from "./commands/GetAiContextMatchCommand";
17
18
  import { GetChatSettingsCommandInput, GetChatSettingsCommandOutput } from "./commands/GetChatSettingsCommand";
18
19
  import { GetCredentialReadinessCommandInput, GetCredentialReadinessCommandOutput } from "./commands/GetCredentialReadinessCommand";
@@ -151,6 +152,12 @@ export interface OneHook {
151
152
  generateInvite(args: GenerateInviteCommandInput, options?: __HttpHandlerOptions): Promise<GenerateInviteCommandOutput>;
152
153
  generateInvite(args: GenerateInviteCommandInput, cb: (err: any, data?: GenerateInviteCommandOutput) => void): void;
153
154
  generateInvite(args: GenerateInviteCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GenerateInviteCommandOutput) => void): void;
155
+ /**
156
+ * @see {@link GetAdminPhoneStatusCommand}
157
+ */
158
+ getAdminPhoneStatus(args: GetAdminPhoneStatusCommandInput, options?: __HttpHandlerOptions): Promise<GetAdminPhoneStatusCommandOutput>;
159
+ getAdminPhoneStatus(args: GetAdminPhoneStatusCommandInput, cb: (err: any, data?: GetAdminPhoneStatusCommandOutput) => void): void;
160
+ getAdminPhoneStatus(args: GetAdminPhoneStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAdminPhoneStatusCommandOutput) => void): void;
154
161
  /**
155
162
  * @see {@link GetCredentialReadinessCommand}
156
163
  */
@@ -13,6 +13,7 @@ import { DiscoverCommandInput, DiscoverCommandOutput } from "./commands/Discover
13
13
  import { GenerateDownloadUrlCommandInput, GenerateDownloadUrlCommandOutput } from "./commands/GenerateDownloadUrlCommand";
14
14
  import { GenerateInviteCommandInput, GenerateInviteCommandOutput } from "./commands/GenerateInviteCommand";
15
15
  import { GenerateUploadUrlCommandInput, GenerateUploadUrlCommandOutput } from "./commands/GenerateUploadUrlCommand";
16
+ import { GetAdminPhoneStatusCommandInput, GetAdminPhoneStatusCommandOutput } from "./commands/GetAdminPhoneStatusCommand";
16
17
  import { GetAiContextMatchCommandInput, GetAiContextMatchCommandOutput } from "./commands/GetAiContextMatchCommand";
17
18
  import { GetChatSettingsCommandInput, GetChatSettingsCommandOutput } from "./commands/GetChatSettingsCommand";
18
19
  import { GetCredentialReadinessCommandInput, GetCredentialReadinessCommandOutput } from "./commands/GetCredentialReadinessCommand";
@@ -68,11 +69,11 @@ export { __Client };
68
69
  /**
69
70
  * @public
70
71
  */
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;
72
+ export type ServiceInputTypes = AuthSocialCommandInput | CompleteLivenessSessionCommandInput | CompleteOnboardingCommandInput | CreateAdminInviteCommandInput | CreateLivenessSessionCommandInput | CreateMediaDownloadUrlCommandInput | CreateMediaUploadUrlCommandInput | DeleteMatchMessagesCommandInput | DeleteProfileCommandInput | DeletePushTokenCommandInput | DiscoverCommandInput | GenerateDownloadUrlCommandInput | GenerateInviteCommandInput | GenerateUploadUrlCommandInput | GetAdminPhoneStatusCommandInput | 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;
72
73
  /**
73
74
  * @public
74
75
  */
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;
76
+ export type ServiceOutputTypes = AuthSocialCommandOutput | CompleteLivenessSessionCommandOutput | CompleteOnboardingCommandOutput | CreateAdminInviteCommandOutput | CreateLivenessSessionCommandOutput | CreateMediaDownloadUrlCommandOutput | CreateMediaUploadUrlCommandOutput | DeleteMatchMessagesCommandOutput | DeleteProfileCommandOutput | DeletePushTokenCommandOutput | DiscoverCommandOutput | GenerateDownloadUrlCommandOutput | GenerateInviteCommandOutput | GenerateUploadUrlCommandOutput | GetAdminPhoneStatusCommandOutput | 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;
76
77
  /**
77
78
  * @public
78
79
  */
@@ -0,0 +1,86 @@
1
+ import { OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookClient";
2
+ import { GetAdminPhoneStatusRequest, GetAdminPhoneStatusResponse } 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 GetAdminPhoneStatusCommand}.
14
+ */
15
+ export interface GetAdminPhoneStatusCommandInput extends GetAdminPhoneStatusRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetAdminPhoneStatusCommand}.
21
+ */
22
+ export interface GetAdminPhoneStatusCommandOutput extends GetAdminPhoneStatusResponse, __MetadataBearer {
23
+ }
24
+ declare const GetAdminPhoneStatusCommand_base: {
25
+ new (input: GetAdminPhoneStatusCommandInput): import("@smithy/smithy-client").CommandImpl<GetAdminPhoneStatusCommandInput, GetAdminPhoneStatusCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: GetAdminPhoneStatusCommandInput): import("@smithy/smithy-client").CommandImpl<GetAdminPhoneStatusCommandInput, GetAdminPhoneStatusCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Reports whether a phone number is already bound to an existing OneHook account, so the admin
31
+ * portal's Admissions module can decide — BEFORE sending an applicant a registration OTP — whether
32
+ * the number is free to onboard. Internal, IAM-authorized (SigV4) — NOT the Cognito user-pool
33
+ * authorizer — so the only callers are principals granted \{@code execute-api:Invoke\} (the portal's
34
+ * per-module invoke role).
35
+ *
36
+ * \{@code registered\} is true when the number holds the SAME phone-uniqueness claim sign-up enforces
37
+ * (the \{@code PHONECLAIM#<e164>\} item in UserTable), which also covers a phone currently claimed by
38
+ * an in-progress registration — exactly what the sign-up uniqueness check rejects as a duplicate.
39
+ * Backed by a single strongly-consistent \{@code GetItem\}; the result is never cached. The phone is
40
+ * validated as E.164 (400 on invalid) and is NEVER echoed back nor logged in clear.
41
+ * @example
42
+ * Use a bare-bones client and the command you need to make an API call.
43
+ * ```javascript
44
+ * import { OneHookClient, GetAdminPhoneStatusCommand } from "onehook-api-client"; // ES Modules import
45
+ * // const { OneHookClient, GetAdminPhoneStatusCommand } = require("onehook-api-client"); // CommonJS import
46
+ * const client = new OneHookClient(config);
47
+ * const input = { // GetAdminPhoneStatusRequest
48
+ * phoneNumber: "STRING_VALUE", // required
49
+ * };
50
+ * const command = new GetAdminPhoneStatusCommand(input);
51
+ * const response = await client.send(command);
52
+ * // { // GetAdminPhoneStatusResponse
53
+ * // registered: true || false, // required
54
+ * // };
55
+ *
56
+ * ```
57
+ *
58
+ * @param GetAdminPhoneStatusCommandInput - {@link GetAdminPhoneStatusCommandInput}
59
+ * @returns {@link GetAdminPhoneStatusCommandOutput}
60
+ * @see {@link GetAdminPhoneStatusCommandInput} for command's `input` shape.
61
+ * @see {@link GetAdminPhoneStatusCommandOutput} for command's `response` shape.
62
+ * @see {@link OneHookClientResolvedConfig | config} for OneHookClient's `config` shape.
63
+ *
64
+ * @throws {@link BadRequestError} (client fault)
65
+ *
66
+ * @throws {@link InternalServerError} (server fault)
67
+ *
68
+ * @throws {@link OneHookServiceException}
69
+ * <p>Base exception class for all service exceptions from OneHook service.</p>
70
+ *
71
+ *
72
+ * @public
73
+ */
74
+ export declare class GetAdminPhoneStatusCommand extends GetAdminPhoneStatusCommand_base {
75
+ /** @internal type navigation helper, not in runtime. */
76
+ protected static __types: {
77
+ api: {
78
+ input: GetAdminPhoneStatusRequest;
79
+ output: GetAdminPhoneStatusResponse;
80
+ };
81
+ sdk: {
82
+ input: GetAdminPhoneStatusCommandInput;
83
+ output: GetAdminPhoneStatusCommandOutput;
84
+ };
85
+ };
86
+ }
@@ -13,6 +13,7 @@ export * from "./UpdateChatSettingsCommand";
13
13
  export * from "./AuthSocialCommand";
14
14
  export * from "./CreateAdminInviteCommand";
15
15
  export * from "./GenerateInviteCommand";
16
+ export * from "./GetAdminPhoneStatusCommand";
16
17
  export * from "./GetCredentialReadinessCommand";
17
18
  export * from "./GetUserCommand";
18
19
  export * from "./GetUserByEmailCommand";
@@ -657,6 +657,22 @@ export interface GenerateInviteResponse {
657
657
  expiresAt: number | undefined;
658
658
  maxUses: number | undefined;
659
659
  }
660
+ /**
661
+ * @public
662
+ */
663
+ export interface GetAdminPhoneStatusRequest {
664
+ phoneNumber: string | undefined;
665
+ }
666
+ /**
667
+ * @public
668
+ */
669
+ export interface GetAdminPhoneStatusResponse {
670
+ /**
671
+ * True when the phone is bound to an existing account OR claimed by an in-progress registration.
672
+ * @public
673
+ */
674
+ registered: boolean | undefined;
675
+ }
660
676
  /**
661
677
  * @public
662
678
  */
@@ -12,6 +12,7 @@ import { DiscoverCommandInput, DiscoverCommandOutput } from "../commands/Discove
12
12
  import { GenerateDownloadUrlCommandInput, GenerateDownloadUrlCommandOutput } from "../commands/GenerateDownloadUrlCommand";
13
13
  import { GenerateInviteCommandInput, GenerateInviteCommandOutput } from "../commands/GenerateInviteCommand";
14
14
  import { GenerateUploadUrlCommandInput, GenerateUploadUrlCommandOutput } from "../commands/GenerateUploadUrlCommand";
15
+ import { GetAdminPhoneStatusCommandInput, GetAdminPhoneStatusCommandOutput } from "../commands/GetAdminPhoneStatusCommand";
15
16
  import { GetAiContextMatchCommandInput, GetAiContextMatchCommandOutput } from "../commands/GetAiContextMatchCommand";
16
17
  import { GetChatSettingsCommandInput, GetChatSettingsCommandOutput } from "../commands/GetChatSettingsCommand";
17
18
  import { GetCredentialReadinessCommandInput, GetCredentialReadinessCommandOutput } from "../commands/GetCredentialReadinessCommand";
@@ -117,6 +118,10 @@ export declare const se_CreateAdminInviteCommand: (input: CreateAdminInviteComma
117
118
  * serializeAws_restJson1GenerateInviteCommand
118
119
  */
119
120
  export declare const se_GenerateInviteCommand: (input: GenerateInviteCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
121
+ /**
122
+ * serializeAws_restJson1GetAdminPhoneStatusCommand
123
+ */
124
+ export declare const se_GetAdminPhoneStatusCommand: (input: GetAdminPhoneStatusCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
120
125
  /**
121
126
  * serializeAws_restJson1GetCredentialReadinessCommand
122
127
  */
@@ -345,6 +350,10 @@ export declare const de_CreateAdminInviteCommand: (output: __HttpResponse, conte
345
350
  * deserializeAws_restJson1GenerateInviteCommand
346
351
  */
347
352
  export declare const de_GenerateInviteCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GenerateInviteCommandOutput>;
353
+ /**
354
+ * deserializeAws_restJson1GetAdminPhoneStatusCommand
355
+ */
356
+ export declare const de_GetAdminPhoneStatusCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetAdminPhoneStatusCommandOutput>;
348
357
  /**
349
358
  * deserializeAws_restJson1GetCredentialReadinessCommand
350
359
  */
@@ -1,5 +1,5 @@
1
- export declare const TELEMETRY_CATALOG_VERSION = "1.3.0";
2
- export declare const TELEMETRY_CATALOG_HASH = "9db35444cda2b7ba";
1
+ export declare const TELEMETRY_CATALOG_VERSION = "1.4.0";
2
+ export declare const TELEMETRY_CATALOG_HASH = "5cf9f7740c92eebe";
3
3
  /** Every signal type the ingest accepts. */
4
4
  export declare const SignalType: {
5
5
  readonly SCREEN_VIEW: "screen_view";
@@ -35,6 +35,8 @@ export declare const Screen: {
35
35
  readonly LANDING: "LANDING";
36
36
  readonly LOGIN: "LOGIN";
37
37
  readonly REDEEM_INVITE: "REDEEM_INVITE";
38
+ readonly ADMISSIONS: "ADMISSIONS";
39
+ readonly ADMISSIONS_STATUS: "ADMISSIONS_STATUS";
38
40
  readonly ONBOARDING: "ONBOARDING";
39
41
  readonly DISCOVER: "DISCOVER";
40
42
  readonly LIKE_COMPOSER: "LIKE_COMPOSER";
@@ -61,6 +63,8 @@ export declare const ViewableScreen: {
61
63
  readonly LANDING: "LANDING";
62
64
  readonly LOGIN: "LOGIN";
63
65
  readonly REDEEM_INVITE: "REDEEM_INVITE";
66
+ readonly ADMISSIONS: "ADMISSIONS";
67
+ readonly ADMISSIONS_STATUS: "ADMISSIONS_STATUS";
64
68
  readonly ONBOARDING: "ONBOARDING";
65
69
  readonly DISCOVER: "DISCOVER";
66
70
  readonly LIKE_COMPOSER: "LIKE_COMPOSER";
@@ -221,6 +225,21 @@ export declare const UiElement: {
221
225
  readonly REDEEM_INVITE_LOGIN: "redeem_invite.login";
222
226
  readonly REDEEM_INVITE_CLOSE: "redeem_invite.close";
223
227
  readonly REDEEM_INVITE_RESEND_CODE: "redeem_invite.resend_code";
228
+ readonly REDEEM_INVITE_GET_INVITE_VIDEO: "redeem_invite.get_invite_video";
229
+ readonly ADMISSIONS_SUBMIT: "admissions.submit";
230
+ readonly ADMISSIONS_RESEND_CODE: "admissions.resend_code";
231
+ readonly ADMISSIONS_CONSENT_TOGGLE: "admissions.consent_toggle";
232
+ readonly ADMISSIONS_PRIVACY_POLICY: "admissions.privacy_policy";
233
+ readonly ADMISSIONS_RECORD_START: "admissions.record_start";
234
+ readonly ADMISSIONS_RECORD_STOP: "admissions.record_stop";
235
+ readonly ADMISSIONS_RETAKE: "admissions.retake";
236
+ readonly ADMISSIONS_PREVIEW_PLAY: "admissions.preview_play";
237
+ readonly ADMISSIONS_UPLOAD_RETRY: "admissions.upload_retry";
238
+ readonly ADMISSIONS_CLOSE: "admissions.close";
239
+ readonly ADMISSIONS_OPEN_SETTINGS: "admissions.open_settings";
240
+ readonly ADMISSIONS_STATUS_REFRESH: "admissions_status.refresh";
241
+ readonly ADMISSIONS_STATUS_CONTINUE_INVITE: "admissions_status.continue_invite";
242
+ readonly ADMISSIONS_STATUS_WITHDRAW: "admissions_status.withdraw";
224
243
  readonly ONBOARDING_NEXT: "onboarding.next";
225
244
  readonly ONBOARDING_BACK: "onboarding.back";
226
245
  readonly ONBOARDING_FINISH: "onboarding.finish";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "onehook-api-client",
3
3
  "description": "OneHook API Client",
4
- "version": "1.0.27",
4
+ "version": "1.0.28",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -1,8 +1,8 @@
1
1
  // GENERATED FILE - DO NOT EDIT.
2
- // telemetry-integrity: sha256 94d29118a67cfeca1488eb2adcee98ef46eebf3ba6e433a9fcc622a81ed01504
2
+ // telemetry-integrity: sha256 b2132f38e8304ee1cf24db09423818c9cc610d1f9b02171d4c66d864474251aa
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 9db35444cda2b7ba.
5
+ // Catalog version 1.4.0, hash 5cf9f7740c92eebe.
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).
@@ -12,8 +12,8 @@
12
12
  package club.onehook.telemetry
13
13
 
14
14
  object TelemetryCatalog {
15
- const val VERSION = "1.3.0"
16
- const val HASH = "9db35444cda2b7ba"
15
+ const val VERSION = "1.4.0"
16
+ const val HASH = "5cf9f7740c92eebe"
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
  }
@@ -61,6 +61,8 @@ enum class TelemetryScreen(val wire: String, val viewable: Boolean) {
61
61
  LANDING("LANDING", true),
62
62
  LOGIN("LOGIN", true),
63
63
  REDEEM_INVITE("REDEEM_INVITE", true),
64
+ ADMISSIONS("ADMISSIONS", true),
65
+ ADMISSIONS_STATUS("ADMISSIONS_STATUS", true),
64
66
  ONBOARDING("ONBOARDING", true),
65
67
  DISCOVER("DISCOVER", true),
66
68
  LIKE_COMPOSER("LIKE_COMPOSER", true),
@@ -274,6 +276,21 @@ enum class UiElement(
274
276
  REDEEM_INVITE_LOGIN("redeem_invite.login", TelemetryScreen.REDEEM_INVITE, UiElementKind.LINK, listOf(UiAction.TAP), null, listOf(TelemetryPlatform.WEB, TelemetryPlatform.IOS, TelemetryPlatform.ANDROID)),
275
277
  REDEEM_INVITE_CLOSE("redeem_invite.close", TelemetryScreen.REDEEM_INVITE, UiElementKind.BUTTON, listOf(UiAction.TAP), null, listOf(TelemetryPlatform.IOS, TelemetryPlatform.ANDROID)),
276
278
  REDEEM_INVITE_RESEND_CODE("redeem_invite.resend_code", TelemetryScreen.REDEEM_INVITE, UiElementKind.LINK, listOf(UiAction.TAP), null, listOf(TelemetryPlatform.WEB, TelemetryPlatform.IOS)),
279
+ REDEEM_INVITE_GET_INVITE_VIDEO("redeem_invite.get_invite_video", TelemetryScreen.REDEEM_INVITE, UiElementKind.BUTTON, listOf(UiAction.TAP), null, listOf(TelemetryPlatform.IOS, TelemetryPlatform.ANDROID)),
280
+ ADMISSIONS_SUBMIT("admissions.submit", TelemetryScreen.ADMISSIONS, UiElementKind.BUTTON, listOf(UiAction.SUBMIT), listOf("send_code", "verify_code", "submit_application"), listOf(TelemetryPlatform.IOS, TelemetryPlatform.ANDROID)),
281
+ ADMISSIONS_RESEND_CODE("admissions.resend_code", TelemetryScreen.ADMISSIONS, UiElementKind.LINK, listOf(UiAction.TAP), null, listOf(TelemetryPlatform.IOS, TelemetryPlatform.ANDROID)),
282
+ ADMISSIONS_CONSENT_TOGGLE("admissions.consent_toggle", TelemetryScreen.ADMISSIONS, UiElementKind.TOGGLE, listOf(UiAction.TOGGLE), listOf("checked", "unchecked"), listOf(TelemetryPlatform.IOS, TelemetryPlatform.ANDROID)),
283
+ ADMISSIONS_PRIVACY_POLICY("admissions.privacy_policy", TelemetryScreen.ADMISSIONS, UiElementKind.LINK, listOf(UiAction.TAP), null, listOf(TelemetryPlatform.IOS, TelemetryPlatform.ANDROID)),
284
+ ADMISSIONS_RECORD_START("admissions.record_start", TelemetryScreen.ADMISSIONS, UiElementKind.BUTTON, listOf(UiAction.TAP), null, listOf(TelemetryPlatform.IOS, TelemetryPlatform.ANDROID)),
285
+ ADMISSIONS_RECORD_STOP("admissions.record_stop", TelemetryScreen.ADMISSIONS, UiElementKind.BUTTON, listOf(UiAction.TAP), null, listOf(TelemetryPlatform.IOS, TelemetryPlatform.ANDROID)),
286
+ ADMISSIONS_RETAKE("admissions.retake", TelemetryScreen.ADMISSIONS, UiElementKind.BUTTON, listOf(UiAction.TAP), null, listOf(TelemetryPlatform.IOS, TelemetryPlatform.ANDROID)),
287
+ ADMISSIONS_PREVIEW_PLAY("admissions.preview_play", TelemetryScreen.ADMISSIONS, UiElementKind.TOGGLE, listOf(UiAction.TOGGLE), listOf("play", "pause"), listOf(TelemetryPlatform.IOS, TelemetryPlatform.ANDROID)),
288
+ ADMISSIONS_UPLOAD_RETRY("admissions.upload_retry", TelemetryScreen.ADMISSIONS, UiElementKind.BUTTON, listOf(UiAction.TAP), null, listOf(TelemetryPlatform.IOS, TelemetryPlatform.ANDROID)),
289
+ ADMISSIONS_CLOSE("admissions.close", TelemetryScreen.ADMISSIONS, UiElementKind.BUTTON, listOf(UiAction.TAP), null, listOf(TelemetryPlatform.IOS, TelemetryPlatform.ANDROID)),
290
+ ADMISSIONS_OPEN_SETTINGS("admissions.open_settings", TelemetryScreen.ADMISSIONS, UiElementKind.BUTTON, listOf(UiAction.TAP), null, listOf(TelemetryPlatform.IOS, TelemetryPlatform.ANDROID)),
291
+ ADMISSIONS_STATUS_REFRESH("admissions_status.refresh", TelemetryScreen.ADMISSIONS_STATUS, UiElementKind.BUTTON, listOf(UiAction.TAP), null, listOf(TelemetryPlatform.IOS, TelemetryPlatform.ANDROID)),
292
+ ADMISSIONS_STATUS_CONTINUE_INVITE("admissions_status.continue_invite", TelemetryScreen.ADMISSIONS_STATUS, UiElementKind.BUTTON, listOf(UiAction.TAP), null, listOf(TelemetryPlatform.IOS, TelemetryPlatform.ANDROID)),
293
+ ADMISSIONS_STATUS_WITHDRAW("admissions_status.withdraw", TelemetryScreen.ADMISSIONS_STATUS, UiElementKind.BUTTON, listOf(UiAction.TAP), null, listOf(TelemetryPlatform.IOS, TelemetryPlatform.ANDROID)),
277
294
  ONBOARDING_NEXT("onboarding.next", TelemetryScreen.ONBOARDING, UiElementKind.BUTTON, listOf(UiAction.SUBMIT), listOf("basics", "photos", "media", "prompts", "details"), listOf(TelemetryPlatform.WEB, TelemetryPlatform.IOS)),
278
295
  ONBOARDING_BACK("onboarding.back", TelemetryScreen.ONBOARDING, UiElementKind.BUTTON, listOf(UiAction.TAP), null, listOf(TelemetryPlatform.WEB, TelemetryPlatform.IOS)),
279
296
  ONBOARDING_FINISH("onboarding.finish", TelemetryScreen.ONBOARDING, UiElementKind.BUTTON, listOf(UiAction.SUBMIT), null, listOf(TelemetryPlatform.WEB, TelemetryPlatform.IOS, TelemetryPlatform.ANDROID)),
@@ -1,8 +1,8 @@
1
1
  // GENERATED FILE - DO NOT EDIT.
2
- // telemetry-integrity: sha256 73f10d1858e08f4db1e6f237ec4ff955a07627d99aead4cb50d686f82961e459
2
+ // telemetry-integrity: sha256 b7b58bab688dee924a7c76fea46d4058a3e3e69c44043f9c86aa74d01e50c520
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 9db35444cda2b7ba.
5
+ // Catalog version 1.4.0, hash 5cf9f7740c92eebe.
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).
@@ -10,8 +10,8 @@
10
10
  import Foundation
11
11
 
12
12
  public enum TelemetryCatalog {
13
- public static let version = "1.3.0"
14
- public static let hash = "9db35444cda2b7ba"
13
+ public static let version = "1.4.0"
14
+ public static let hash = "5cf9f7740c92eebe"
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
  }
@@ -51,6 +51,8 @@ public enum TelemetryScreen: String, CaseIterable, Codable, Sendable {
51
51
  case landing = "LANDING"
52
52
  case login = "LOGIN"
53
53
  case redeemInvite = "REDEEM_INVITE"
54
+ case admissions = "ADMISSIONS"
55
+ case admissionsStatus = "ADMISSIONS_STATUS"
54
56
  case onboarding = "ONBOARDING"
55
57
  case discover = "DISCOVER"
56
58
  case likeComposer = "LIKE_COMPOSER"
@@ -224,6 +226,21 @@ public enum UiElement: String, CaseIterable, Codable, Sendable {
224
226
  case redeemInviteLogin = "redeem_invite.login"
225
227
  case redeemInviteClose = "redeem_invite.close"
226
228
  case redeemInviteResendCode = "redeem_invite.resend_code"
229
+ case redeemInviteGetInviteVideo = "redeem_invite.get_invite_video"
230
+ case admissionsSubmit = "admissions.submit"
231
+ case admissionsResendCode = "admissions.resend_code"
232
+ case admissionsConsentToggle = "admissions.consent_toggle"
233
+ case admissionsPrivacyPolicy = "admissions.privacy_policy"
234
+ case admissionsRecordStart = "admissions.record_start"
235
+ case admissionsRecordStop = "admissions.record_stop"
236
+ case admissionsRetake = "admissions.retake"
237
+ case admissionsPreviewPlay = "admissions.preview_play"
238
+ case admissionsUploadRetry = "admissions.upload_retry"
239
+ case admissionsClose = "admissions.close"
240
+ case admissionsOpenSettings = "admissions.open_settings"
241
+ case admissionsStatusRefresh = "admissions_status.refresh"
242
+ case admissionsStatusContinueInvite = "admissions_status.continue_invite"
243
+ case admissionsStatusWithdraw = "admissions_status.withdraw"
227
244
  case onboardingNext = "onboarding.next"
228
245
  case onboardingBack = "onboarding.back"
229
246
  case onboardingFinish = "onboarding.finish"
@@ -450,6 +467,21 @@ public enum UiElement: String, CaseIterable, Codable, Sendable {
450
467
  case .redeemInviteLogin: return UiElementSpec(screen: .redeemInvite, kind: .link, actions: [.tap], allowedValues: nil, platforms: [.web, .ios, .android])
451
468
  case .redeemInviteClose: return UiElementSpec(screen: .redeemInvite, kind: .button, actions: [.tap], allowedValues: nil, platforms: [.ios, .android])
452
469
  case .redeemInviteResendCode: return UiElementSpec(screen: .redeemInvite, kind: .link, actions: [.tap], allowedValues: nil, platforms: [.web, .ios])
470
+ case .redeemInviteGetInviteVideo: return UiElementSpec(screen: .redeemInvite, kind: .button, actions: [.tap], allowedValues: nil, platforms: [.ios, .android])
471
+ case .admissionsSubmit: return UiElementSpec(screen: .admissions, kind: .button, actions: [.submit], allowedValues: ["send_code", "verify_code", "submit_application"], platforms: [.ios, .android])
472
+ case .admissionsResendCode: return UiElementSpec(screen: .admissions, kind: .link, actions: [.tap], allowedValues: nil, platforms: [.ios, .android])
473
+ case .admissionsConsentToggle: return UiElementSpec(screen: .admissions, kind: .toggle, actions: [.toggle], allowedValues: ["checked", "unchecked"], platforms: [.ios, .android])
474
+ case .admissionsPrivacyPolicy: return UiElementSpec(screen: .admissions, kind: .link, actions: [.tap], allowedValues: nil, platforms: [.ios, .android])
475
+ case .admissionsRecordStart: return UiElementSpec(screen: .admissions, kind: .button, actions: [.tap], allowedValues: nil, platforms: [.ios, .android])
476
+ case .admissionsRecordStop: return UiElementSpec(screen: .admissions, kind: .button, actions: [.tap], allowedValues: nil, platforms: [.ios, .android])
477
+ case .admissionsRetake: return UiElementSpec(screen: .admissions, kind: .button, actions: [.tap], allowedValues: nil, platforms: [.ios, .android])
478
+ case .admissionsPreviewPlay: return UiElementSpec(screen: .admissions, kind: .toggle, actions: [.toggle], allowedValues: ["play", "pause"], platforms: [.ios, .android])
479
+ case .admissionsUploadRetry: return UiElementSpec(screen: .admissions, kind: .button, actions: [.tap], allowedValues: nil, platforms: [.ios, .android])
480
+ case .admissionsClose: return UiElementSpec(screen: .admissions, kind: .button, actions: [.tap], allowedValues: nil, platforms: [.ios, .android])
481
+ case .admissionsOpenSettings: return UiElementSpec(screen: .admissions, kind: .button, actions: [.tap], allowedValues: nil, platforms: [.ios, .android])
482
+ case .admissionsStatusRefresh: return UiElementSpec(screen: .admissionsStatus, kind: .button, actions: [.tap], allowedValues: nil, platforms: [.ios, .android])
483
+ case .admissionsStatusContinueInvite: return UiElementSpec(screen: .admissionsStatus, kind: .button, actions: [.tap], allowedValues: nil, platforms: [.ios, .android])
484
+ case .admissionsStatusWithdraw: return UiElementSpec(screen: .admissionsStatus, kind: .button, actions: [.tap], allowedValues: nil, platforms: [.ios, .android])
453
485
  case .onboardingNext: return UiElementSpec(screen: .onboarding, kind: .button, actions: [.submit], allowedValues: ["basics", "photos", "media", "prompts", "details"], platforms: [.web, .ios])
454
486
  case .onboardingBack: return UiElementSpec(screen: .onboarding, kind: .button, actions: [.tap], allowedValues: nil, platforms: [.web, .ios])
455
487
  case .onboardingFinish: return UiElementSpec(screen: .onboarding, kind: .button, actions: [.submit], allowedValues: nil, platforms: [.web, .ios, .android])
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.3.0",
2
+ "version": "1.4.0",
3
3
  "screens": {
4
4
  "NAV": {
5
5
  "viewable": false,
@@ -17,6 +17,14 @@
17
17
  "viewable": true,
18
18
  "description": "Invite redemption + account creation."
19
19
  },
20
+ "ADMISSIONS": {
21
+ "viewable": true,
22
+ "description": "In-app \"Get an invite with a video\" application flow (phone/OTP, training consent, in-app video record/preview and upload)."
23
+ },
24
+ "ADMISSIONS_STATUS": {
25
+ "viewable": true,
26
+ "description": "Admissions application status screen (submitted / in review / approved / not approved / re-record)."
27
+ },
20
28
  "ONBOARDING": {
21
29
  "viewable": true,
22
30
  "description": "First-run profile wizard."
@@ -116,6 +124,8 @@
116
124
  "LANDING",
117
125
  "LOGIN",
118
126
  "REDEEM_INVITE",
127
+ "ADMISSIONS",
128
+ "ADMISSIONS_STATUS",
119
129
  "ONBOARDING",
120
130
  "DISCOVER",
121
131
  "LIKE_COMPOSER",
@@ -148,6 +158,8 @@
148
158
  "LANDING",
149
159
  "LOGIN",
150
160
  "REDEEM_INVITE",
161
+ "ADMISSIONS",
162
+ "ADMISSIONS_STATUS",
151
163
  "ONBOARDING",
152
164
  "DISCOVER",
153
165
  "LIKE_COMPOSER",
@@ -926,6 +938,226 @@
926
938
  ],
927
939
  "deprecated": null
928
940
  },
941
+ "redeem_invite.get_invite_video": {
942
+ "screen": "REDEEM_INVITE",
943
+ "kind": "button",
944
+ "description": "No invite? Start the \"Get an invite with a video\" (Admissions) application flow.",
945
+ "actions": [
946
+ "tap"
947
+ ],
948
+ "values": null,
949
+ "platforms": [
950
+ "ios",
951
+ "android"
952
+ ],
953
+ "deprecated": null
954
+ },
955
+ "admissions.submit": {
956
+ "screen": "ADMISSIONS",
957
+ "kind": "button",
958
+ "description": "Primary step action. value = step performed.",
959
+ "actions": [
960
+ "submit"
961
+ ],
962
+ "values": [
963
+ "send_code",
964
+ "verify_code",
965
+ "submit_application"
966
+ ],
967
+ "platforms": [
968
+ "ios",
969
+ "android"
970
+ ],
971
+ "deprecated": null
972
+ },
973
+ "admissions.resend_code": {
974
+ "screen": "ADMISSIONS",
975
+ "kind": "link",
976
+ "description": "Resend the one-time phone verification code.",
977
+ "actions": [
978
+ "tap"
979
+ ],
980
+ "values": null,
981
+ "platforms": [
982
+ "ios",
983
+ "android"
984
+ ],
985
+ "deprecated": null
986
+ },
987
+ "admissions.consent_toggle": {
988
+ "screen": "ADMISSIONS",
989
+ "kind": "toggle",
990
+ "description": "Toggle the Admissions Assist training-consent checkbox (gates recording). value = new state.",
991
+ "actions": [
992
+ "toggle"
993
+ ],
994
+ "values": [
995
+ "checked",
996
+ "unchecked"
997
+ ],
998
+ "platforms": [
999
+ "ios",
1000
+ "android"
1001
+ ],
1002
+ "deprecated": null
1003
+ },
1004
+ "admissions.privacy_policy": {
1005
+ "screen": "ADMISSIONS",
1006
+ "kind": "link",
1007
+ "description": "Open the Privacy Policy linked from the consent text.",
1008
+ "actions": [
1009
+ "tap"
1010
+ ],
1011
+ "values": null,
1012
+ "platforms": [
1013
+ "ios",
1014
+ "android"
1015
+ ],
1016
+ "deprecated": null
1017
+ },
1018
+ "admissions.record_start": {
1019
+ "screen": "ADMISSIONS",
1020
+ "kind": "button",
1021
+ "description": "Start recording the application video.",
1022
+ "actions": [
1023
+ "tap"
1024
+ ],
1025
+ "values": null,
1026
+ "platforms": [
1027
+ "ios",
1028
+ "android"
1029
+ ],
1030
+ "deprecated": null
1031
+ },
1032
+ "admissions.record_stop": {
1033
+ "screen": "ADMISSIONS",
1034
+ "kind": "button",
1035
+ "description": "Stop recording (unlocks at 2:00).",
1036
+ "actions": [
1037
+ "tap"
1038
+ ],
1039
+ "values": null,
1040
+ "platforms": [
1041
+ "ios",
1042
+ "android"
1043
+ ],
1044
+ "deprecated": null
1045
+ },
1046
+ "admissions.retake": {
1047
+ "screen": "ADMISSIONS",
1048
+ "kind": "button",
1049
+ "description": "Discard the current take and record again (max 3).",
1050
+ "actions": [
1051
+ "tap"
1052
+ ],
1053
+ "values": null,
1054
+ "platforms": [
1055
+ "ios",
1056
+ "android"
1057
+ ],
1058
+ "deprecated": null
1059
+ },
1060
+ "admissions.preview_play": {
1061
+ "screen": "ADMISSIONS",
1062
+ "kind": "toggle",
1063
+ "description": "Play/pause the recorded preview. value = new state.",
1064
+ "actions": [
1065
+ "toggle"
1066
+ ],
1067
+ "values": [
1068
+ "play",
1069
+ "pause"
1070
+ ],
1071
+ "platforms": [
1072
+ "ios",
1073
+ "android"
1074
+ ],
1075
+ "deprecated": null
1076
+ },
1077
+ "admissions.upload_retry": {
1078
+ "screen": "ADMISSIONS",
1079
+ "kind": "button",
1080
+ "description": "Retry the application video upload.",
1081
+ "actions": [
1082
+ "tap"
1083
+ ],
1084
+ "values": null,
1085
+ "platforms": [
1086
+ "ios",
1087
+ "android"
1088
+ ],
1089
+ "deprecated": null
1090
+ },
1091
+ "admissions.close": {
1092
+ "screen": "ADMISSIONS",
1093
+ "kind": "button",
1094
+ "description": "Close / cancel the application flow (on any step).",
1095
+ "actions": [
1096
+ "tap"
1097
+ ],
1098
+ "values": null,
1099
+ "platforms": [
1100
+ "ios",
1101
+ "android"
1102
+ ],
1103
+ "deprecated": null
1104
+ },
1105
+ "admissions.open_settings": {
1106
+ "screen": "ADMISSIONS",
1107
+ "kind": "button",
1108
+ "description": "Open system settings (camera / microphone permission).",
1109
+ "actions": [
1110
+ "tap"
1111
+ ],
1112
+ "values": null,
1113
+ "platforms": [
1114
+ "ios",
1115
+ "android"
1116
+ ],
1117
+ "deprecated": null
1118
+ },
1119
+ "admissions_status.refresh": {
1120
+ "screen": "ADMISSIONS_STATUS",
1121
+ "kind": "button",
1122
+ "description": "Refresh the application status.",
1123
+ "actions": [
1124
+ "tap"
1125
+ ],
1126
+ "values": null,
1127
+ "platforms": [
1128
+ "ios",
1129
+ "android"
1130
+ ],
1131
+ "deprecated": null
1132
+ },
1133
+ "admissions_status.continue_invite": {
1134
+ "screen": "ADMISSIONS_STATUS",
1135
+ "kind": "button",
1136
+ "description": "Approved: continue with the invite (go to redemption).",
1137
+ "actions": [
1138
+ "tap"
1139
+ ],
1140
+ "values": null,
1141
+ "platforms": [
1142
+ "ios",
1143
+ "android"
1144
+ ],
1145
+ "deprecated": null
1146
+ },
1147
+ "admissions_status.withdraw": {
1148
+ "screen": "ADMISSIONS_STATUS",
1149
+ "kind": "button",
1150
+ "description": "Withdraw the application.",
1151
+ "actions": [
1152
+ "tap"
1153
+ ],
1154
+ "values": null,
1155
+ "platforms": [
1156
+ "ios",
1157
+ "android"
1158
+ ],
1159
+ "deprecated": null
1160
+ },
929
1161
  "onboarding.next": {
930
1162
  "screen": "ONBOARDING",
931
1163
  "kind": "button",
@@ -3709,6 +3941,20 @@
3709
3941
  },
3710
3942
  "platformGaps": {
3711
3943
  "web": {
3944
+ "admissions.close": "Web-only gap: the \"Get an invite with a video\" application flow is in-app iOS/Android only (DESIGN.md §6.1); web has no such flow to close.",
3945
+ "admissions.consent_toggle": "Web-only gap: the video application flow (and its training-consent gate) is in-app iOS/Android only (DESIGN.md §6.1); not built on web.",
3946
+ "admissions.open_settings": "Web-only gap: in-app camera/microphone capture (and its permission prompt) exists only on iOS/Android; web cannot open OS settings.",
3947
+ "admissions.preview_play": "Web-only gap: the in-app video application flow (record/preview) is iOS/Android only (DESIGN.md §6.1); not built on web.",
3948
+ "admissions.privacy_policy": "Web-only gap: the video application consent screen is in-app iOS/Android only (DESIGN.md §6.1); not built on web.",
3949
+ "admissions.record_start": "Web-only gap: in-app video recording (AVCaptureSession / CameraX) is iOS/Android only (DESIGN.md §6.1.4); not built on web.",
3950
+ "admissions.record_stop": "Web-only gap: in-app video recording is iOS/Android only (DESIGN.md §6.1.4); not built on web.",
3951
+ "admissions.resend_code": "Web-only gap: the video application phone/OTP flow is in-app iOS/Android only (DESIGN.md §6.1); not built on web.",
3952
+ "admissions.retake": "Web-only gap: in-app video recording / re-take is iOS/Android only (DESIGN.md §6.1.4); not built on web.",
3953
+ "admissions.submit": "Web-only gap: the \"Get an invite with a video\" application flow is in-app iOS/Android only (DESIGN.md §6.1); not built on web.",
3954
+ "admissions.upload_retry": "Web-only gap: the in-app application video upload is iOS/Android only (DESIGN.md §6.1.5); not built on web.",
3955
+ "admissions_status.continue_invite": "Web-only gap: the applicant status screen is in-app iOS/Android only (DESIGN.md §6.1.6); not built on web.",
3956
+ "admissions_status.refresh": "Web-only gap: the applicant status screen is in-app iOS/Android only (DESIGN.md §6.1.6); not built on web.",
3957
+ "admissions_status.withdraw": "Web-only gap: the applicant status screen is in-app iOS/Android only (DESIGN.md §6.1.6); not built on web.",
3712
3958
  "call.camera_switch": "Web has no camera-switch control: the in-call UI uses the browser-selected camera and offers no front/back toggle.",
3713
3959
  "call.speaker": "Web has no speaker routing: the browser owns audio output.",
3714
3960
  "chat.call_history_open": "Web has no call-history-open control: finished calls render inline in the conversation timeline, not behind a separate list.",
@@ -3765,6 +4011,7 @@
3765
4011
  "profile_edit.photo_reorder": "No drag-reorder gesture in the Web photo grid; the primary photo is set explicitly.",
3766
4012
  "profile_edit.preview": "Web previews via profile.preview_open; there is no separate editor-preview control.",
3767
4013
  "redeem_invite.close": "The Web redeem flow closes via the site-header home link, not a dedicated close button.",
4014
+ "redeem_invite.get_invite_video": "Web-only gap: the \"Get an invite with a video\" (Admissions) application flow is in-app iOS/Android only (DESIGN.md §6.1); the web redeem screen has no video-application entry.",
3768
4015
  "settings.device_revoke_confirm": "Device revoke is immediate on Web; there is no confirmation dialog.",
3769
4016
  "settings.help_link": "No help-centre link in Web settings.",
3770
4017
  "settings.password_set_confirm": "Setting a password on Web signs the user out to use Forgot Password; there is no confirmation dialog.",
@@ -4360,5 +4607,5 @@
4360
4607
  }
4361
4608
  }
4362
4609
  },
4363
- "hash": "9db35444cda2b7ba"
4610
+ "hash": "5cf9f7740c92eebe"
4364
4611
  }