onehook-api-client 1.0.27 → 1.0.29

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 (37) hide show
  1. package/README.md +35 -0
  2. package/dist-cjs/OneHook.js +10 -0
  3. package/dist-cjs/commands/DiscoverByIntentCommand.js +21 -0
  4. package/dist-cjs/commands/DiscoverSuggestedCommand.js +21 -0
  5. package/dist-cjs/commands/GetAccountStateCommand.js +21 -0
  6. package/dist-cjs/commands/GetAdminPhoneStatusCommand.js +21 -0
  7. package/dist-cjs/commands/SetAccountStateCommand.js +21 -0
  8. package/dist-cjs/commands/index.js +5 -0
  9. package/dist-cjs/models/models_0.js +30 -1
  10. package/dist-cjs/protocols/Aws_restJson1.js +190 -3
  11. package/dist-cjs/telemetry/index.js +38 -2
  12. package/dist-es/OneHook.js +10 -0
  13. package/dist-es/commands/DiscoverByIntentCommand.js +17 -0
  14. package/dist-es/commands/DiscoverSuggestedCommand.js +17 -0
  15. package/dist-es/commands/GetAccountStateCommand.js +17 -0
  16. package/dist-es/commands/GetAdminPhoneStatusCommand.js +17 -0
  17. package/dist-es/commands/SetAccountStateCommand.js +17 -0
  18. package/dist-es/commands/index.js +5 -0
  19. package/dist-es/models/models_0.js +28 -0
  20. package/dist-es/protocols/Aws_restJson1.js +178 -1
  21. package/dist-es/telemetry/index.js +38 -2
  22. package/dist-types/OneHook.d.ts +35 -0
  23. package/dist-types/OneHookClient.d.ts +7 -2
  24. package/dist-types/commands/DiscoverByIntentCommand.d.ts +97 -0
  25. package/dist-types/commands/DiscoverCommand.d.ts +4 -0
  26. package/dist-types/commands/DiscoverSuggestedCommand.d.ts +92 -0
  27. package/dist-types/commands/GetAccountStateCommand.d.ts +83 -0
  28. package/dist-types/commands/GetAdminPhoneStatusCommand.d.ts +86 -0
  29. package/dist-types/commands/SetAccountStateCommand.d.ts +95 -0
  30. package/dist-types/commands/index.d.ts +5 -0
  31. package/dist-types/models/models_0.d.ts +188 -0
  32. package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
  33. package/dist-types/telemetry/index.d.ts +22 -2
  34. package/package.json +1 -1
  35. package/telemetry/TelemetryCatalog.kt +22 -4
  36. package/telemetry/TelemetryCatalog.swift +38 -4
  37. package/telemetry/telemetry-catalog.json +264 -2
package/README.md CHANGED
@@ -304,6 +304,20 @@ GenerateInvite
304
304
  </details>
305
305
  <details>
306
306
  <summary>
307
+ GetAccountState
308
+ </summary>
309
+
310
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/onehook/command/GetAccountStateCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-onehook/Interface/GetAccountStateCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-onehook/Interface/GetAccountStateCommandOutput/)
311
+ </details>
312
+ <details>
313
+ <summary>
314
+ GetAdminPhoneStatus
315
+ </summary>
316
+
317
+ [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/)
318
+ </details>
319
+ <details>
320
+ <summary>
307
321
  GetCredentialReadiness
308
322
  </summary>
309
323
 
@@ -381,6 +395,13 @@ SendAdminLinkOtp
381
395
  </details>
382
396
  <details>
383
397
  <summary>
398
+ SetAccountState
399
+ </summary>
400
+
401
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/onehook/command/SetAccountStateCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-onehook/Interface/SetAccountStateCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-onehook/Interface/SetAccountStateCommandOutput/)
402
+ </details>
403
+ <details>
404
+ <summary>
384
405
  UnlinkSocial
385
406
  </summary>
386
407
 
@@ -430,6 +451,20 @@ Discover
430
451
  </details>
431
452
  <details>
432
453
  <summary>
454
+ DiscoverByIntent
455
+ </summary>
456
+
457
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/onehook/command/DiscoverByIntentCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-onehook/Interface/DiscoverByIntentCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-onehook/Interface/DiscoverByIntentCommandOutput/)
458
+ </details>
459
+ <details>
460
+ <summary>
461
+ DiscoverSuggested
462
+ </summary>
463
+
464
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/onehook/command/DiscoverSuggestedCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-onehook/Interface/DiscoverSuggestedCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-onehook/Interface/DiscoverSuggestedCommandOutput/)
465
+ </details>
466
+ <details>
467
+ <summary>
433
468
  GetNotificationPreferences
434
469
  </summary>
435
470
 
@@ -12,10 +12,14 @@ const CreateMediaUploadUrlCommand_1 = require("./commands/CreateMediaUploadUrlCo
12
12
  const DeleteMatchMessagesCommand_1 = require("./commands/DeleteMatchMessagesCommand");
13
13
  const DeleteProfileCommand_1 = require("./commands/DeleteProfileCommand");
14
14
  const DeletePushTokenCommand_1 = require("./commands/DeletePushTokenCommand");
15
+ const DiscoverByIntentCommand_1 = require("./commands/DiscoverByIntentCommand");
15
16
  const DiscoverCommand_1 = require("./commands/DiscoverCommand");
17
+ const DiscoverSuggestedCommand_1 = require("./commands/DiscoverSuggestedCommand");
16
18
  const GenerateDownloadUrlCommand_1 = require("./commands/GenerateDownloadUrlCommand");
17
19
  const GenerateInviteCommand_1 = require("./commands/GenerateInviteCommand");
18
20
  const GenerateUploadUrlCommand_1 = require("./commands/GenerateUploadUrlCommand");
21
+ const GetAccountStateCommand_1 = require("./commands/GetAccountStateCommand");
22
+ const GetAdminPhoneStatusCommand_1 = require("./commands/GetAdminPhoneStatusCommand");
19
23
  const GetAiContextMatchCommand_1 = require("./commands/GetAiContextMatchCommand");
20
24
  const GetChatSettingsCommand_1 = require("./commands/GetChatSettingsCommand");
21
25
  const GetCredentialReadinessCommand_1 = require("./commands/GetCredentialReadinessCommand");
@@ -46,6 +50,7 @@ const RequestPhoneOtpCommand_1 = require("./commands/RequestPhoneOtpCommand");
46
50
  const RequestPhoneUpdateOtpCommand_1 = require("./commands/RequestPhoneUpdateOtpCommand");
47
51
  const RevokeDeviceCommand_1 = require("./commands/RevokeDeviceCommand");
48
52
  const SendAdminLinkOtpCommand_1 = require("./commands/SendAdminLinkOtpCommand");
53
+ const SetAccountStateCommand_1 = require("./commands/SetAccountStateCommand");
49
54
  const SwipeByUsernameCommand_1 = require("./commands/SwipeByUsernameCommand");
50
55
  const SwipeCommand_1 = require("./commands/SwipeCommand");
51
56
  const UnhookCommand_1 = require("./commands/UnhookCommand");
@@ -76,6 +81,8 @@ const commands = {
76
81
  AuthSocialCommand: AuthSocialCommand_1.AuthSocialCommand,
77
82
  CreateAdminInviteCommand: CreateAdminInviteCommand_1.CreateAdminInviteCommand,
78
83
  GenerateInviteCommand: GenerateInviteCommand_1.GenerateInviteCommand,
84
+ GetAccountStateCommand: GetAccountStateCommand_1.GetAccountStateCommand,
85
+ GetAdminPhoneStatusCommand: GetAdminPhoneStatusCommand_1.GetAdminPhoneStatusCommand,
79
86
  GetCredentialReadinessCommand: GetCredentialReadinessCommand_1.GetCredentialReadinessCommand,
80
87
  GetUserCommand: GetUserCommand_1.GetUserCommand,
81
88
  GetUserByEmailCommand: GetUserByEmailCommand_1.GetUserByEmailCommand,
@@ -87,6 +94,7 @@ const commands = {
87
94
  RequestPhoneOtpCommand: RequestPhoneOtpCommand_1.RequestPhoneOtpCommand,
88
95
  RequestPhoneUpdateOtpCommand: RequestPhoneUpdateOtpCommand_1.RequestPhoneUpdateOtpCommand,
89
96
  SendAdminLinkOtpCommand: SendAdminLinkOtpCommand_1.SendAdminLinkOtpCommand,
97
+ SetAccountStateCommand: SetAccountStateCommand_1.SetAccountStateCommand,
90
98
  UnlinkSocialCommand: UnlinkSocialCommand_1.UnlinkSocialCommand,
91
99
  UpdateEntitlementsCommand: UpdateEntitlementsCommand_1.UpdateEntitlementsCommand,
92
100
  UpdatePhoneNumberCommand: UpdatePhoneNumberCommand_1.UpdatePhoneNumberCommand,
@@ -94,6 +102,8 @@ const commands = {
94
102
  ValidateInviteCommand: ValidateInviteCommand_1.ValidateInviteCommand,
95
103
  VerifyAdminLinkOtpCommand: VerifyAdminLinkOtpCommand_1.VerifyAdminLinkOtpCommand,
96
104
  DiscoverCommand: DiscoverCommand_1.DiscoverCommand,
105
+ DiscoverByIntentCommand: DiscoverByIntentCommand_1.DiscoverByIntentCommand,
106
+ DiscoverSuggestedCommand: DiscoverSuggestedCommand_1.DiscoverSuggestedCommand,
97
107
  GetNotificationPreferencesCommand: GetNotificationPreferencesCommand_1.GetNotificationPreferencesCommand,
98
108
  GetPreferencesCommand: GetPreferencesCommand_1.GetPreferencesCommand,
99
109
  GetReceivedLikesCommand: GetReceivedLikesCommand_1.GetReceivedLikesCommand,
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DiscoverByIntentCommand = 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 DiscoverByIntentCommand 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", "DiscoverByIntent", {})
15
+ .n("OneHookClient", "DiscoverByIntentCommand")
16
+ .f(void 0, void 0)
17
+ .ser(Aws_restJson1_1.se_DiscoverByIntentCommand)
18
+ .de(Aws_restJson1_1.de_DiscoverByIntentCommand)
19
+ .build() {
20
+ }
21
+ exports.DiscoverByIntentCommand = DiscoverByIntentCommand;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DiscoverSuggestedCommand = 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 DiscoverSuggestedCommand 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", "DiscoverSuggested", {})
15
+ .n("OneHookClient", "DiscoverSuggestedCommand")
16
+ .f(void 0, void 0)
17
+ .ser(Aws_restJson1_1.se_DiscoverSuggestedCommand)
18
+ .de(Aws_restJson1_1.de_DiscoverSuggestedCommand)
19
+ .build() {
20
+ }
21
+ exports.DiscoverSuggestedCommand = DiscoverSuggestedCommand;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetAccountStateCommand = 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 GetAccountStateCommand 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", "GetAccountState", {})
15
+ .n("OneHookClient", "GetAccountStateCommand")
16
+ .f(void 0, void 0)
17
+ .ser(Aws_restJson1_1.se_GetAccountStateCommand)
18
+ .de(Aws_restJson1_1.de_GetAccountStateCommand)
19
+ .build() {
20
+ }
21
+ exports.GetAccountStateCommand = GetAccountStateCommand;
@@ -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;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SetAccountStateCommand = 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 SetAccountStateCommand 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", "SetAccountState", {})
15
+ .n("OneHookClient", "SetAccountStateCommand")
16
+ .f(void 0, void 0)
17
+ .ser(Aws_restJson1_1.se_SetAccountStateCommand)
18
+ .de(Aws_restJson1_1.de_SetAccountStateCommand)
19
+ .build() {
20
+ }
21
+ exports.SetAccountStateCommand = SetAccountStateCommand;
@@ -16,6 +16,8 @@ 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("./GetAccountStateCommand"), exports);
20
+ tslib_1.__exportStar(require("./GetAdminPhoneStatusCommand"), exports);
19
21
  tslib_1.__exportStar(require("./GetCredentialReadinessCommand"), exports);
20
22
  tslib_1.__exportStar(require("./GetUserCommand"), exports);
21
23
  tslib_1.__exportStar(require("./GetUserByEmailCommand"), exports);
@@ -27,6 +29,7 @@ tslib_1.__exportStar(require("./RequestEmailOtpCommand"), exports);
27
29
  tslib_1.__exportStar(require("./RequestPhoneOtpCommand"), exports);
28
30
  tslib_1.__exportStar(require("./RequestPhoneUpdateOtpCommand"), exports);
29
31
  tslib_1.__exportStar(require("./SendAdminLinkOtpCommand"), exports);
32
+ tslib_1.__exportStar(require("./SetAccountStateCommand"), exports);
30
33
  tslib_1.__exportStar(require("./UnlinkSocialCommand"), exports);
31
34
  tslib_1.__exportStar(require("./UpdateEntitlementsCommand"), exports);
32
35
  tslib_1.__exportStar(require("./UpdatePhoneNumberCommand"), exports);
@@ -34,6 +37,8 @@ tslib_1.__exportStar(require("./UpdateUsernameCommand"), exports);
34
37
  tslib_1.__exportStar(require("./ValidateInviteCommand"), exports);
35
38
  tslib_1.__exportStar(require("./VerifyAdminLinkOtpCommand"), exports);
36
39
  tslib_1.__exportStar(require("./DiscoverCommand"), exports);
40
+ tslib_1.__exportStar(require("./DiscoverByIntentCommand"), exports);
41
+ tslib_1.__exportStar(require("./DiscoverSuggestedCommand"), exports);
37
42
  tslib_1.__exportStar(require("./GetNotificationPreferencesCommand"), exports);
38
43
  tslib_1.__exportStar(require("./GetPreferencesCommand"), exports);
39
44
  tslib_1.__exportStar(require("./GetReceivedLikesCommand"), exports);
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SubscriptionTier = exports.CredentialGap = exports.PushTokenKind = exports.DeviceLimitError = exports.Platform = exports.LastSeenVisibility = exports.MediaKind = exports.ForbiddenError = exports.NotFoundError = exports.InternalServerError = exports.BadRequestError = void 0;
3
+ exports.SuggestionBasis = exports.MatchFinder = exports.SubscriptionTier = exports.ConflictError = exports.CredentialGap = exports.AccountState = exports.PushTokenKind = exports.DeviceLimitError = exports.Platform = exports.LastSeenVisibility = exports.MediaKind = exports.ForbiddenError = exports.NotFoundError = exports.InternalServerError = exports.BadRequestError = void 0;
4
4
  const OneHookServiceException_1 = require("./OneHookServiceException");
5
5
  class BadRequestError extends OneHookServiceException_1.OneHookServiceException {
6
6
  name = "BadRequestError";
@@ -97,14 +97,43 @@ exports.PushTokenKind = {
97
97
  ALERT: "ALERT",
98
98
  VOIP: "VOIP",
99
99
  };
100
+ exports.AccountState = {
101
+ ACTIVE: "ACTIVE",
102
+ BANNED: "BANNED",
103
+ RESTRICTED: "RESTRICTED",
104
+ SUSPENDED: "SUSPENDED",
105
+ };
100
106
  exports.CredentialGap = {
101
107
  NO_COGNITO_USERNAME_ON_PROFILE: "NO_COGNITO_USERNAME_ON_PROFILE",
102
108
  PHONE_NOT_VERIFIED: "PHONE_NOT_VERIFIED",
103
109
  USERNAME_MISMATCHED_IN_COGNITO: "USERNAME_MISMATCHED_IN_COGNITO",
104
110
  USERNAME_NOT_SYNCED_TO_COGNITO: "USERNAME_NOT_SYNCED_TO_COGNITO",
105
111
  };
112
+ class ConflictError extends OneHookServiceException_1.OneHookServiceException {
113
+ name = "ConflictError";
114
+ $fault = "client";
115
+ error;
116
+ constructor(opts) {
117
+ super({
118
+ name: "ConflictError",
119
+ $fault: "client",
120
+ ...opts
121
+ });
122
+ Object.setPrototypeOf(this, ConflictError.prototype);
123
+ this.error = opts.error;
124
+ }
125
+ }
126
+ exports.ConflictError = ConflictError;
106
127
  exports.SubscriptionTier = {
107
128
  INFINITY: "INFINITY",
108
129
  MUST: "MUST",
109
130
  SUPER: "SUPER",
110
131
  };
132
+ exports.MatchFinder = {
133
+ MR_ONEHOOK: "MR_ONEHOOK",
134
+ ONEHOOK_INTELLIGENCE: "ONEHOOK_INTELLIGENCE",
135
+ };
136
+ exports.SuggestionBasis = {
137
+ EXPLICIT_REQUEST: "EXPLICIT_REQUEST",
138
+ INFERRED_INCLINATION: "INFERRED_INCLINATION",
139
+ };
@@ -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_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_DiscoverSuggestedCommand = exports.se_DiscoverByIntentCommand = exports.se_DiscoverCommand = exports.se_VerifyAdminLinkOtpCommand = exports.se_ValidateInviteCommand = exports.se_UpdateUsernameCommand = exports.se_UpdatePhoneNumberCommand = exports.se_UpdateEntitlementsCommand = exports.se_UnlinkSocialCommand = exports.se_SetAccountStateCommand = 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_GetAccountStateCommand = 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_DiscoverSuggestedCommand = exports.de_DiscoverByIntentCommand = exports.de_DiscoverCommand = exports.de_VerifyAdminLinkOtpCommand = exports.de_ValidateInviteCommand = exports.de_UpdateUsernameCommand = exports.de_UpdatePhoneNumberCommand = exports.de_UpdateEntitlementsCommand = exports.de_UnlinkSocialCommand = exports.de_SetAccountStateCommand = 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_GetAccountStateCommand = 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 = exports.se_GetMyProfileCommand = exports.se_GetLivenessStatusCommand = exports.se_GenerateUploadUrlCommand = exports.se_GenerateDownloadUrlCommand = 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 = exports.de_SwipeByUsernameCommand = exports.de_SwipeCommand = exports.de_RemoveLocationCommand = exports.de_IndexLocationCommand = exports.de_GetRosesCommand = exports.de_GetReceivedLikesCommand = exports.de_GetPreferencesCommand = exports.de_GetNotificationPreferencesCommand = 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,34 @@ const se_GenerateInviteCommand = async (input, context) => {
247
247
  return b.build();
248
248
  };
249
249
  exports.se_GenerateInviteCommand = se_GenerateInviteCommand;
250
+ const se_GetAccountStateCommand = async (input, context) => {
251
+ const b = (0, core_2.requestBuilder)(input, context);
252
+ const headers = {};
253
+ b.bp("/identity/admin/users/{userId}/account-state");
254
+ b.p('userId', () => input.userId, '{userId}', false);
255
+ let body;
256
+ b.m("GET")
257
+ .h(headers)
258
+ .b(body);
259
+ return b.build();
260
+ };
261
+ exports.se_GetAccountStateCommand = se_GetAccountStateCommand;
262
+ const se_GetAdminPhoneStatusCommand = async (input, context) => {
263
+ const b = (0, core_2.requestBuilder)(input, context);
264
+ const headers = {
265
+ 'content-type': 'application/json',
266
+ };
267
+ b.bp("/identity/admin/phone-status");
268
+ let body;
269
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
270
+ 'phoneNumber': [],
271
+ }));
272
+ b.m("POST")
273
+ .h(headers)
274
+ .b(body);
275
+ return b.build();
276
+ };
277
+ exports.se_GetAdminPhoneStatusCommand = se_GetAdminPhoneStatusCommand;
250
278
  const se_GetCredentialReadinessCommand = async (input, context) => {
251
279
  const b = (0, core_2.requestBuilder)(input, context);
252
280
  const headers = {};
@@ -410,6 +438,27 @@ const se_SendAdminLinkOtpCommand = async (input, context) => {
410
438
  return b.build();
411
439
  };
412
440
  exports.se_SendAdminLinkOtpCommand = se_SendAdminLinkOtpCommand;
441
+ const se_SetAccountStateCommand = async (input, context) => {
442
+ const b = (0, core_2.requestBuilder)(input, context);
443
+ const headers = {
444
+ 'content-type': 'application/json',
445
+ };
446
+ b.bp("/identity/admin/users/{userId}/account-state");
447
+ b.p('userId', () => input.userId, '{userId}', false);
448
+ let body;
449
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
450
+ 'actor': [],
451
+ 'expectedVersion': [],
452
+ 'reasonCode': [],
453
+ 'state': [],
454
+ 'until': [],
455
+ }));
456
+ b.m("POST")
457
+ .h(headers)
458
+ .b(body);
459
+ return b.build();
460
+ };
461
+ exports.se_SetAccountStateCommand = se_SetAccountStateCommand;
413
462
  const se_UnlinkSocialCommand = async (input, context) => {
414
463
  const b = (0, core_2.requestBuilder)(input, context);
415
464
  const headers = {};
@@ -520,6 +569,40 @@ const se_DiscoverCommand = async (input, context) => {
520
569
  return b.build();
521
570
  };
522
571
  exports.se_DiscoverCommand = se_DiscoverCommand;
572
+ const se_DiscoverByIntentCommand = async (input, context) => {
573
+ const b = (0, core_2.requestBuilder)(input, context);
574
+ const headers = {
575
+ 'content-type': 'application/json',
576
+ };
577
+ b.bp("/matching/discover/intent");
578
+ let body;
579
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
580
+ 'description': [],
581
+ 'lat': _ => (0, smithy_client_1.serializeFloat)(_),
582
+ 'lon': _ => (0, smithy_client_1.serializeFloat)(_),
583
+ }));
584
+ b.m("POST")
585
+ .h(headers)
586
+ .b(body);
587
+ return b.build();
588
+ };
589
+ exports.se_DiscoverByIntentCommand = se_DiscoverByIntentCommand;
590
+ const se_DiscoverSuggestedCommand = async (input, context) => {
591
+ const b = (0, core_2.requestBuilder)(input, context);
592
+ const headers = {};
593
+ b.bp("/matching/discover/suggested");
594
+ const query = (0, smithy_client_1.map)({
595
+ [_l]: [(0, smithy_client_1.expectNonNull)(input.lat, `lat`) != null, () => ((input[_l] % 1 == 0) ? input[_l] + ".0" : input[_l].toString())],
596
+ [_lo]: [(0, smithy_client_1.expectNonNull)(input.lon, `lon`) != null, () => ((input[_lo] % 1 == 0) ? input[_lo] + ".0" : input[_lo].toString())],
597
+ });
598
+ let body;
599
+ b.m("GET")
600
+ .h(headers)
601
+ .q(query)
602
+ .b(body);
603
+ return b.build();
604
+ };
605
+ exports.se_DiscoverSuggestedCommand = se_DiscoverSuggestedCommand;
523
606
  const se_GetNotificationPreferencesCommand = async (input, context) => {
524
607
  const b = (0, core_2.requestBuilder)(input, context);
525
608
  const headers = {};
@@ -1160,6 +1243,39 @@ const de_GenerateInviteCommand = async (output, context) => {
1160
1243
  return contents;
1161
1244
  };
1162
1245
  exports.de_GenerateInviteCommand = de_GenerateInviteCommand;
1246
+ const de_GetAccountStateCommand = async (output, context) => {
1247
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1248
+ return de_CommandError(output, context);
1249
+ }
1250
+ const contents = (0, smithy_client_1.map)({
1251
+ $metadata: deserializeMetadata(output),
1252
+ });
1253
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1254
+ const doc = (0, smithy_client_1.take)(data, {
1255
+ 'reasonCode': smithy_client_1.expectString,
1256
+ 'state': smithy_client_1.expectString,
1257
+ 'until': smithy_client_1.expectLong,
1258
+ 'version': smithy_client_1.expectInt32,
1259
+ });
1260
+ Object.assign(contents, doc);
1261
+ return contents;
1262
+ };
1263
+ exports.de_GetAccountStateCommand = de_GetAccountStateCommand;
1264
+ const de_GetAdminPhoneStatusCommand = async (output, context) => {
1265
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1266
+ return de_CommandError(output, context);
1267
+ }
1268
+ const contents = (0, smithy_client_1.map)({
1269
+ $metadata: deserializeMetadata(output),
1270
+ });
1271
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1272
+ const doc = (0, smithy_client_1.take)(data, {
1273
+ 'registered': smithy_client_1.expectBoolean,
1274
+ });
1275
+ Object.assign(contents, doc);
1276
+ return contents;
1277
+ };
1278
+ exports.de_GetAdminPhoneStatusCommand = de_GetAdminPhoneStatusCommand;
1163
1279
  const de_GetCredentialReadinessCommand = async (output, context) => {
1164
1280
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1165
1281
  return de_CommandError(output, context);
@@ -1346,6 +1462,23 @@ const de_SendAdminLinkOtpCommand = async (output, context) => {
1346
1462
  return contents;
1347
1463
  };
1348
1464
  exports.de_SendAdminLinkOtpCommand = de_SendAdminLinkOtpCommand;
1465
+ const de_SetAccountStateCommand = async (output, context) => {
1466
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1467
+ return de_CommandError(output, context);
1468
+ }
1469
+ const contents = (0, smithy_client_1.map)({
1470
+ $metadata: deserializeMetadata(output),
1471
+ });
1472
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1473
+ const doc = (0, smithy_client_1.take)(data, {
1474
+ 'state': smithy_client_1.expectString,
1475
+ 'until': smithy_client_1.expectLong,
1476
+ 'version': smithy_client_1.expectInt32,
1477
+ });
1478
+ Object.assign(contents, doc);
1479
+ return contents;
1480
+ };
1481
+ exports.de_SetAccountStateCommand = de_SetAccountStateCommand;
1349
1482
  const de_UnlinkSocialCommand = async (output, context) => {
1350
1483
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1351
1484
  return de_CommandError(output, context);
@@ -1461,6 +1594,40 @@ const de_DiscoverCommand = async (output, context) => {
1461
1594
  return contents;
1462
1595
  };
1463
1596
  exports.de_DiscoverCommand = de_DiscoverCommand;
1597
+ const de_DiscoverByIntentCommand = async (output, context) => {
1598
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1599
+ return de_CommandError(output, context);
1600
+ }
1601
+ const contents = (0, smithy_client_1.map)({
1602
+ $metadata: deserializeMetadata(output),
1603
+ });
1604
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1605
+ const doc = (0, smithy_client_1.take)(data, {
1606
+ 'algorithm': smithy_client_1.expectString,
1607
+ 'candidates': _ => de_CandidateList(_, context),
1608
+ 'count': smithy_client_1.expectInt32,
1609
+ });
1610
+ Object.assign(contents, doc);
1611
+ return contents;
1612
+ };
1613
+ exports.de_DiscoverByIntentCommand = de_DiscoverByIntentCommand;
1614
+ const de_DiscoverSuggestedCommand = async (output, context) => {
1615
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1616
+ return de_CommandError(output, context);
1617
+ }
1618
+ const contents = (0, smithy_client_1.map)({
1619
+ $metadata: deserializeMetadata(output),
1620
+ });
1621
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1622
+ const doc = (0, smithy_client_1.take)(data, {
1623
+ 'algorithm': smithy_client_1.expectString,
1624
+ 'candidates': _ => de_CandidateList(_, context),
1625
+ 'count': smithy_client_1.expectInt32,
1626
+ });
1627
+ Object.assign(contents, doc);
1628
+ return contents;
1629
+ };
1630
+ exports.de_DiscoverSuggestedCommand = de_DiscoverSuggestedCommand;
1464
1631
  const de_GetNotificationPreferencesCommand = async (output, context) => {
1465
1632
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1466
1633
  return de_CommandError(output, context);
@@ -1980,6 +2147,9 @@ const de_CommandError = async (output, context) => {
1980
2147
  case "DeviceLimitError":
1981
2148
  case "club.onehook.chat#DeviceLimitError":
1982
2149
  throw await de_DeviceLimitErrorRes(parsedOutput, context);
2150
+ case "ConflictError":
2151
+ case "club.onehook.identity#ConflictError":
2152
+ throw await de_ConflictErrorRes(parsedOutput, context);
1983
2153
  default:
1984
2154
  const parsedBody = parsedOutput.body;
1985
2155
  return throwDefaultError({
@@ -2029,6 +2199,19 @@ const de_BadRequestErrorRes = async (parsedOutput, context) => {
2029
2199
  });
2030
2200
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2031
2201
  };
2202
+ const de_ConflictErrorRes = async (parsedOutput, context) => {
2203
+ const contents = (0, smithy_client_1.map)({});
2204
+ const data = parsedOutput.body;
2205
+ const doc = (0, smithy_client_1.take)(data, {
2206
+ 'error': smithy_client_1.expectString,
2207
+ });
2208
+ Object.assign(contents, doc);
2209
+ const exception = new models_0_1.ConflictError({
2210
+ $metadata: deserializeMetadata(parsedOutput),
2211
+ ...contents
2212
+ });
2213
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2214
+ };
2032
2215
  const de_InternalServerErrorRes = async (parsedOutput, context) => {
2033
2216
  const contents = (0, smithy_client_1.map)({});
2034
2217
  const data = parsedOutput.body;
@@ -2058,7 +2241,11 @@ const de_NotFoundErrorRes = async (parsedOutput, context) => {
2058
2241
  const de_CandidateDto = (output, context) => {
2059
2242
  return (0, smithy_client_1.take)(output, {
2060
2243
  'distanceKm': smithy_client_1.limitedParseDouble,
2244
+ 'matchFinder': smithy_client_1.expectString,
2245
+ 'matchFinderLabel': smithy_client_1.expectString,
2061
2246
  'score': smithy_client_1.limitedParseDouble,
2247
+ 'similarity': smithy_client_1.limitedParseDouble,
2248
+ 'suggestionBasis': smithy_client_1.expectString,
2062
2249
  'userId': smithy_client_1.expectString,
2063
2250
  });
2064
2251
  };
@@ -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.5.0";
5
+ exports.TELEMETRY_CATALOG_HASH = "4ab81c4d5f20cdb7";
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,22 @@ 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",
213
+ ADMISSIONS_STATUS_TRAINING_OPT_OUT: "admissions_status.training_opt_out",
194
214
  ONBOARDING_NEXT: "onboarding.next",
195
215
  ONBOARDING_BACK: "onboarding.back",
196
216
  ONBOARDING_FINISH: "onboarding.finish",
@@ -416,6 +436,22 @@ exports.UI_ELEMENTS = {
416
436
  "redeem_invite.login": { screen: "REDEEM_INVITE", kind: "link", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
417
437
  "redeem_invite.close": { screen: "REDEEM_INVITE", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
418
438
  "redeem_invite.resend_code": { screen: "REDEEM_INVITE", kind: "link", actions: ["tap"], values: null, platforms: ["web", "ios"] },
439
+ "redeem_invite.get_invite_video": { screen: "REDEEM_INVITE", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
440
+ "admissions.submit": { screen: "ADMISSIONS", kind: "button", actions: ["submit"], values: ["send_code", "verify_code", "submit_application"], platforms: ["ios", "android"] },
441
+ "admissions.resend_code": { screen: "ADMISSIONS", kind: "link", actions: ["tap"], values: null, platforms: ["ios", "android"] },
442
+ "admissions.consent_toggle": { screen: "ADMISSIONS", kind: "toggle", actions: ["toggle"], values: ["checked", "unchecked"], platforms: ["ios", "android"] },
443
+ "admissions.privacy_policy": { screen: "ADMISSIONS", kind: "link", actions: ["tap"], values: null, platforms: ["ios", "android"] },
444
+ "admissions.record_start": { screen: "ADMISSIONS", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
445
+ "admissions.record_stop": { screen: "ADMISSIONS", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
446
+ "admissions.retake": { screen: "ADMISSIONS", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
447
+ "admissions.preview_play": { screen: "ADMISSIONS", kind: "toggle", actions: ["toggle"], values: ["play", "pause"], platforms: ["ios", "android"] },
448
+ "admissions.upload_retry": { screen: "ADMISSIONS", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
449
+ "admissions.close": { screen: "ADMISSIONS", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
450
+ "admissions.open_settings": { screen: "ADMISSIONS", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
451
+ "admissions_status.refresh": { screen: "ADMISSIONS_STATUS", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
452
+ "admissions_status.continue_invite": { screen: "ADMISSIONS_STATUS", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
453
+ "admissions_status.withdraw": { screen: "ADMISSIONS_STATUS", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
454
+ "admissions_status.training_opt_out": { screen: "ADMISSIONS_STATUS", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
419
455
  "onboarding.next": { screen: "ONBOARDING", kind: "button", actions: ["submit"], values: ["basics", "photos", "media", "prompts", "details"], platforms: ["web", "ios"] },
420
456
  "onboarding.back": { screen: "ONBOARDING", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios"] },
421
457
  "onboarding.finish": { screen: "ONBOARDING", kind: "button", actions: ["submit"], values: null, platforms: ["web", "ios", "android"] },