onehook-api-client 1.0.38 → 1.0.40

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
@@ -451,6 +451,13 @@ AuthSocial
451
451
  </details>
452
452
  <details>
453
453
  <summary>
454
+ CheckUsernameAvailability
455
+ </summary>
456
+
457
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/onehook/command/CheckUsernameAvailabilityCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-onehook/Interface/CheckUsernameAvailabilityCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-onehook/Interface/CheckUsernameAvailabilityCommandOutput/)
458
+ </details>
459
+ <details>
460
+ <summary>
454
461
  CreateAdminInvite
455
462
  </summary>
456
463
 
@@ -584,6 +591,13 @@ SetAccountState
584
591
  </details>
585
592
  <details>
586
593
  <summary>
594
+ SetPassword
595
+ </summary>
596
+
597
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/onehook/command/SetPasswordCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-onehook/Interface/SetPasswordCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-onehook/Interface/SetPasswordCommandOutput/)
598
+ </details>
599
+ <details>
600
+ <summary>
587
601
  SetPreservationHold
588
602
  </summary>
589
603
 
@@ -6,6 +6,7 @@ const AcceptHookRequestCommand_1 = require("./commands/AcceptHookRequestCommand"
6
6
  const AuthSocialCommand_1 = require("./commands/AuthSocialCommand");
7
7
  const BlockUserCommand_1 = require("./commands/BlockUserCommand");
8
8
  const CancelHookRequestCommand_1 = require("./commands/CancelHookRequestCommand");
9
+ const CheckUsernameAvailabilityCommand_1 = require("./commands/CheckUsernameAvailabilityCommand");
9
10
  const ClearTierOverrideCommand_1 = require("./commands/ClearTierOverrideCommand");
10
11
  const CompleteLivenessSessionCommand_1 = require("./commands/CompleteLivenessSessionCommand");
11
12
  const CompleteOnboardingCommand_1 = require("./commands/CompleteOnboardingCommand");
@@ -96,6 +97,7 @@ const SearchPlacesCommand_1 = require("./commands/SearchPlacesCommand");
96
97
  const SendAdminLinkOtpCommand_1 = require("./commands/SendAdminLinkOtpCommand");
97
98
  const SendHookRequestCommand_1 = require("./commands/SendHookRequestCommand");
98
99
  const SetAccountStateCommand_1 = require("./commands/SetAccountStateCommand");
100
+ const SetPasswordCommand_1 = require("./commands/SetPasswordCommand");
99
101
  const SetPreservationHoldCommand_1 = require("./commands/SetPreservationHoldCommand");
100
102
  const SetTierOverrideCommand_1 = require("./commands/SetTierOverrideCommand");
101
103
  const SimulateScoringPolicyCommand_1 = require("./commands/SimulateScoringPolicyCommand");
@@ -140,6 +142,7 @@ const commands = {
140
142
  RevokeHistoryWrapCommand: RevokeHistoryWrapCommand_1.RevokeHistoryWrapCommand,
141
143
  UpdateChatSettingsCommand: UpdateChatSettingsCommand_1.UpdateChatSettingsCommand,
142
144
  AuthSocialCommand: AuthSocialCommand_1.AuthSocialCommand,
145
+ CheckUsernameAvailabilityCommand: CheckUsernameAvailabilityCommand_1.CheckUsernameAvailabilityCommand,
143
146
  CreateAdminInviteCommand: CreateAdminInviteCommand_1.CreateAdminInviteCommand,
144
147
  GenerateInviteCommand: GenerateInviteCommand_1.GenerateInviteCommand,
145
148
  GetAccountStateCommand: GetAccountStateCommand_1.GetAccountStateCommand,
@@ -159,6 +162,7 @@ const commands = {
159
162
  RevokeUserAccessCommand: RevokeUserAccessCommand_1.RevokeUserAccessCommand,
160
163
  SendAdminLinkOtpCommand: SendAdminLinkOtpCommand_1.SendAdminLinkOtpCommand,
161
164
  SetAccountStateCommand: SetAccountStateCommand_1.SetAccountStateCommand,
165
+ SetPasswordCommand: SetPasswordCommand_1.SetPasswordCommand,
162
166
  SetPreservationHoldCommand: SetPreservationHoldCommand_1.SetPreservationHoldCommand,
163
167
  UnlinkSocialCommand: UnlinkSocialCommand_1.UnlinkSocialCommand,
164
168
  UpdateEntitlementsCommand: UpdateEntitlementsCommand_1.UpdateEntitlementsCommand,
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CheckUsernameAvailabilityCommand = 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 CheckUsernameAvailabilityCommand 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", "CheckUsernameAvailability", {})
15
+ .n("OneHookClient", "CheckUsernameAvailabilityCommand")
16
+ .f(void 0, void 0)
17
+ .ser(Aws_restJson1_1.se_CheckUsernameAvailabilityCommand)
18
+ .de(Aws_restJson1_1.de_CheckUsernameAvailabilityCommand)
19
+ .build() {
20
+ }
21
+ exports.CheckUsernameAvailabilityCommand = CheckUsernameAvailabilityCommand;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SetPasswordCommand = 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 SetPasswordCommand 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", "SetPassword", {})
15
+ .n("OneHookClient", "SetPasswordCommand")
16
+ .f(void 0, void 0)
17
+ .ser(Aws_restJson1_1.se_SetPasswordCommand)
18
+ .de(Aws_restJson1_1.de_SetPasswordCommand)
19
+ .build() {
20
+ }
21
+ exports.SetPasswordCommand = SetPasswordCommand;
@@ -24,6 +24,7 @@ tslib_1.__exportStar(require("./RevokeDeviceCommand"), exports);
24
24
  tslib_1.__exportStar(require("./RevokeHistoryWrapCommand"), exports);
25
25
  tslib_1.__exportStar(require("./UpdateChatSettingsCommand"), exports);
26
26
  tslib_1.__exportStar(require("./AuthSocialCommand"), exports);
27
+ tslib_1.__exportStar(require("./CheckUsernameAvailabilityCommand"), exports);
27
28
  tslib_1.__exportStar(require("./CreateAdminInviteCommand"), exports);
28
29
  tslib_1.__exportStar(require("./GenerateInviteCommand"), exports);
29
30
  tslib_1.__exportStar(require("./GetAccountStateCommand"), exports);
@@ -43,6 +44,7 @@ tslib_1.__exportStar(require("./RequestPhoneUpdateOtpCommand"), exports);
43
44
  tslib_1.__exportStar(require("./RevokeUserAccessCommand"), exports);
44
45
  tslib_1.__exportStar(require("./SendAdminLinkOtpCommand"), exports);
45
46
  tslib_1.__exportStar(require("./SetAccountStateCommand"), exports);
47
+ tslib_1.__exportStar(require("./SetPasswordCommand"), exports);
46
48
  tslib_1.__exportStar(require("./SetPreservationHoldCommand"), exports);
47
49
  tslib_1.__exportStar(require("./UnlinkSocialCommand"), exports);
48
50
  tslib_1.__exportStar(require("./UpdateEntitlementsCommand"), exports);
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.HookRequestDirection = exports.ReportCategory = exports.HookEndReason = exports.HookOrigin = exports.BlockDirection = exports.EnableMatchingConflictError = exports.MatchingMode = exports.BlockReason = exports.MatchingProfileStatus = exports.MediaPurpose = exports.SuggestionBasis = exports.MatchVerdict = exports.MatchHighlightSource = exports.MatchFinder = exports.DiscoveryCategory = exports.SubscriptionTier = exports.CredentialGap = exports.AccountState = exports.PushTokenKind = exports.DeviceLimitError = exports.Platform = exports.LastSeenVisibility = exports.ConflictError = exports.MediaKind = exports.TooManyRequestsError = exports.NotFoundError = exports.InternalServerError = exports.BadRequestError = exports.UnauthorizedError = exports.ServiceUnavailableError = exports.BadGatewayError = exports.ForbiddenError = void 0;
3
+ exports.HookRequestDirection = exports.ReportCategory = exports.HookEndReason = exports.HookOrigin = exports.BlockDirection = exports.EnableMatchingConflictError = exports.MatchingMode = exports.BlockReason = exports.MatchingProfileStatus = exports.MediaPurpose = exports.SuggestionBasis = exports.MatchVerdict = exports.MatchHighlightSource = exports.MatchFinder = exports.DiscoveryCategory = exports.SubscriptionTier = exports.CredentialGap = exports.AccountState = exports.UsernameAvailability = exports.PushTokenKind = exports.DeviceLimitError = exports.Platform = exports.LastSeenVisibility = exports.ConflictError = exports.MediaKind = exports.TooManyRequestsError = exports.NotFoundError = exports.InternalServerError = exports.BadRequestError = exports.UnauthorizedError = exports.ServiceUnavailableError = exports.BadGatewayError = exports.ForbiddenError = void 0;
4
4
  const OneHookServiceException_1 = require("./OneHookServiceException");
5
5
  class ForbiddenError extends OneHookServiceException_1.OneHookServiceException {
6
6
  name = "ForbiddenError";
@@ -232,6 +232,12 @@ exports.PushTokenKind = {
232
232
  ALERT: "ALERT",
233
233
  VOIP: "VOIP",
234
234
  };
235
+ exports.UsernameAvailability = {
236
+ AVAILABLE: "AVAILABLE",
237
+ CURRENT: "CURRENT",
238
+ INVALID: "INVALID",
239
+ TAKEN: "TAKEN",
240
+ };
235
241
  exports.AccountState = {
236
242
  ACTIVE: "ACTIVE",
237
243
  BANNED: "BANNED",
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.se_GetScoringPolicyCommand = exports.se_VerifyAdminLinkOtpCommand = exports.se_ValidateInviteCommand = exports.se_UpdateUsernameCommand = exports.se_UpdatePhoneNumberCommand = exports.se_UpdateEntitlementsCommand = exports.se_UnlinkSocialCommand = exports.se_SetPreservationHoldCommand = exports.se_SetAccountStateCommand = exports.se_SendAdminLinkOtpCommand = exports.se_RevokeUserAccessCommand = 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_GetPreservationHoldCommand = exports.se_GetInviteEdgesCommand = exports.se_GetCredentialReadinessCommand = exports.se_GetAdminPhoneStatusCommand = exports.se_GetAccountStateCommand = exports.se_GenerateInviteCommand = exports.se_CreateAdminInviteCommand = exports.se_AuthSocialCommand = exports.se_UpdateChatSettingsCommand = exports.se_RevokeHistoryWrapCommand = exports.se_RevokeDeviceCommand = exports.se_RegisterPushTokenCommand = exports.se_RegisterDeviceCommand = exports.se_PutHistoryWrapCommand = exports.se_ListMyDevicesCommand = exports.se_GetParticipantRegistryCommand = exports.se_GetHistoryStateCommand = exports.se_GetChatSettingsCommand = exports.se_EstablishHistoryEpochCommand = exports.se_DeletePushTokenCommand = exports.se_DeleteMatchMessagesCommand = exports.se_CreateMediaUploadUrlCommand = exports.se_CreateMediaDownloadUrlCommand = exports.se_ListGraphUserMatchesCommand = exports.se_IngestSignalsCommand = exports.se_GetMediaStatsCommand = exports.se_GetGraphUserCommand = exports.se_GetGraphMatchCommand = exports.se_GetGraphInvitesCommand = exports.se_GetAiContextMatchCommand = void 0;
4
- exports.se_GetModerationSignalsCommand = exports.se_GetModerationReportCommand = exports.se_GetMatchCommand = exports.se_GetInternalMatchingStatusCommand = exports.se_GetDiscoverySnapshotCommand = exports.se_EnableMatchingCommand = exports.se_DisableMatchingCommand = exports.se_DeclineHookRequestCommand = exports.se_CompleteOnboardingCommand = exports.se_ClearTierOverrideCommand = exports.se_CancelHookRequestCommand = exports.se_BlockUserCommand = exports.se_AcceptHookRequestCommand = exports.se_UpsertMatchingProfileCommand = exports.se_UpsertChatProfileCommand = exports.se_SearchPlacesCommand = exports.se_RepublishMatchingProfileCommand = exports.se_GetPlaceCommand = exports.se_GetMyProfileCommand = exports.se_GetMatchingReadinessCommand = exports.se_GetMatchingProfileCommand = exports.se_GetLivenessStatusCommand = exports.se_GetInternalProfileCommand = exports.se_GetChatProfileCommand = exports.se_GetBirthDateStatusCommand = exports.se_GenerateUploadUrlCommand = exports.se_GenerateDownloadUrlCommand = exports.se_DeleteProfileCommand = exports.se_CreateLivenessSessionCommand = exports.se_CorrectBirthDateCommand = exports.se_CompleteLivenessSessionCommand = exports.se_UpdateTraditionPreferencesCommand = exports.se_UpdatePreferencesCommand = exports.se_SwipeCommand = exports.se_RemoveSuggestionCommand = exports.se_RemoveOneHookSuggestionCommand = exports.se_RemoveLocationCommand = exports.se_RecordSuggestionInternalCommand = exports.se_RecordSuggestionCommand = exports.se_IssueViewPassesCommand = exports.se_IndexLocationCommand = exports.se_GetTraditionPreferencesCommand = exports.se_GetSuggestionsCommand = exports.se_GetRosesCommand = exports.se_GetReceivedLikesCommand = exports.se_GetPreferencesCommand = exports.se_GetPartnerDistanceCommand = exports.se_DiscoverCommand = exports.se_UpdateScoringPolicyCommand = exports.se_SimulateScoringPolicyCommand = void 0;
5
- exports.de_RequestEmailOtpCommand = exports.de_RegisterPhoneCommand = exports.de_LinkSocialCommand = exports.de_LinkEmailCommand = exports.de_GetUserIdByUsernameCommand = exports.de_GetUserByEmailCommand = exports.de_GetUserCommand = exports.de_GetPreservationHoldCommand = exports.de_GetInviteEdgesCommand = exports.de_GetCredentialReadinessCommand = exports.de_GetAdminPhoneStatusCommand = exports.de_GetAccountStateCommand = exports.de_GenerateInviteCommand = exports.de_CreateAdminInviteCommand = exports.de_AuthSocialCommand = exports.de_UpdateChatSettingsCommand = exports.de_RevokeHistoryWrapCommand = exports.de_RevokeDeviceCommand = exports.de_RegisterPushTokenCommand = exports.de_RegisterDeviceCommand = exports.de_PutHistoryWrapCommand = exports.de_ListMyDevicesCommand = exports.de_GetParticipantRegistryCommand = exports.de_GetHistoryStateCommand = exports.de_GetChatSettingsCommand = exports.de_EstablishHistoryEpochCommand = exports.de_DeletePushTokenCommand = exports.de_DeleteMatchMessagesCommand = exports.de_CreateMediaUploadUrlCommand = exports.de_CreateMediaDownloadUrlCommand = exports.de_ListGraphUserMatchesCommand = exports.de_IngestSignalsCommand = exports.de_GetMediaStatsCommand = exports.de_GetGraphUserCommand = exports.de_GetGraphMatchCommand = exports.de_GetGraphInvitesCommand = exports.de_GetAiContextMatchCommand = exports.se_UpgradeUserCommand = exports.se_UnhookCommand = exports.se_UnblockUserCommand = exports.se_SetTierOverrideCommand = exports.se_SendHookRequestCommand = exports.se_ReportMemberCommand = exports.se_ListMatchingOnMembersCommand = exports.se_ListHookRequestsCommand = exports.se_ListBlocksCommand = exports.se_KeepHooksCommand = exports.se_InitUserCommand = exports.se_GetTierOverrideCommand = exports.se_GetStateCommand = void 0;
6
- exports.de_UpsertMatchingProfileCommand = exports.de_UpsertChatProfileCommand = exports.de_SearchPlacesCommand = exports.de_RepublishMatchingProfileCommand = exports.de_GetPlaceCommand = exports.de_GetMyProfileCommand = exports.de_GetMatchingReadinessCommand = exports.de_GetMatchingProfileCommand = exports.de_GetLivenessStatusCommand = exports.de_GetInternalProfileCommand = exports.de_GetChatProfileCommand = exports.de_GetBirthDateStatusCommand = exports.de_GenerateUploadUrlCommand = exports.de_GenerateDownloadUrlCommand = exports.de_DeleteProfileCommand = exports.de_CreateLivenessSessionCommand = exports.de_CorrectBirthDateCommand = exports.de_CompleteLivenessSessionCommand = exports.de_UpdateTraditionPreferencesCommand = exports.de_UpdatePreferencesCommand = exports.de_SwipeCommand = exports.de_RemoveSuggestionCommand = exports.de_RemoveOneHookSuggestionCommand = exports.de_RemoveLocationCommand = exports.de_RecordSuggestionInternalCommand = exports.de_RecordSuggestionCommand = exports.de_IssueViewPassesCommand = exports.de_IndexLocationCommand = exports.de_GetTraditionPreferencesCommand = exports.de_GetSuggestionsCommand = exports.de_GetRosesCommand = exports.de_GetReceivedLikesCommand = exports.de_GetPreferencesCommand = exports.de_GetPartnerDistanceCommand = exports.de_DiscoverCommand = exports.de_UpdateScoringPolicyCommand = exports.de_SimulateScoringPolicyCommand = exports.de_GetScoringPolicyCommand = exports.de_VerifyAdminLinkOtpCommand = exports.de_ValidateInviteCommand = exports.de_UpdateUsernameCommand = exports.de_UpdatePhoneNumberCommand = exports.de_UpdateEntitlementsCommand = exports.de_UnlinkSocialCommand = exports.de_SetPreservationHoldCommand = exports.de_SetAccountStateCommand = exports.de_SendAdminLinkOtpCommand = exports.de_RevokeUserAccessCommand = exports.de_RequestPhoneUpdateOtpCommand = exports.de_RequestPhoneOtpCommand = void 0;
7
- exports.de_UpgradeUserCommand = exports.de_UnhookCommand = exports.de_UnblockUserCommand = exports.de_SetTierOverrideCommand = exports.de_SendHookRequestCommand = exports.de_ReportMemberCommand = exports.de_ListMatchingOnMembersCommand = exports.de_ListHookRequestsCommand = exports.de_ListBlocksCommand = exports.de_KeepHooksCommand = exports.de_InitUserCommand = exports.de_GetTierOverrideCommand = exports.de_GetStateCommand = exports.de_GetModerationSignalsCommand = exports.de_GetModerationReportCommand = exports.de_GetMatchCommand = exports.de_GetInternalMatchingStatusCommand = exports.de_GetDiscoverySnapshotCommand = exports.de_EnableMatchingCommand = exports.de_DisableMatchingCommand = exports.de_DeclineHookRequestCommand = exports.de_CompleteOnboardingCommand = exports.de_ClearTierOverrideCommand = exports.de_CancelHookRequestCommand = exports.de_BlockUserCommand = exports.de_AcceptHookRequestCommand = void 0;
3
+ exports.se_ValidateInviteCommand = exports.se_UpdateUsernameCommand = exports.se_UpdatePhoneNumberCommand = exports.se_UpdateEntitlementsCommand = exports.se_UnlinkSocialCommand = exports.se_SetPreservationHoldCommand = exports.se_SetPasswordCommand = exports.se_SetAccountStateCommand = exports.se_SendAdminLinkOtpCommand = exports.se_RevokeUserAccessCommand = 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_GetPreservationHoldCommand = exports.se_GetInviteEdgesCommand = exports.se_GetCredentialReadinessCommand = exports.se_GetAdminPhoneStatusCommand = exports.se_GetAccountStateCommand = exports.se_GenerateInviteCommand = exports.se_CreateAdminInviteCommand = exports.se_CheckUsernameAvailabilityCommand = exports.se_AuthSocialCommand = exports.se_UpdateChatSettingsCommand = exports.se_RevokeHistoryWrapCommand = exports.se_RevokeDeviceCommand = exports.se_RegisterPushTokenCommand = exports.se_RegisterDeviceCommand = exports.se_PutHistoryWrapCommand = exports.se_ListMyDevicesCommand = exports.se_GetParticipantRegistryCommand = exports.se_GetHistoryStateCommand = exports.se_GetChatSettingsCommand = exports.se_EstablishHistoryEpochCommand = exports.se_DeletePushTokenCommand = exports.se_DeleteMatchMessagesCommand = exports.se_CreateMediaUploadUrlCommand = exports.se_CreateMediaDownloadUrlCommand = exports.se_ListGraphUserMatchesCommand = exports.se_IngestSignalsCommand = exports.se_GetMediaStatsCommand = exports.se_GetGraphUserCommand = exports.se_GetGraphMatchCommand = exports.se_GetGraphInvitesCommand = exports.se_GetAiContextMatchCommand = void 0;
4
+ exports.se_GetMatchCommand = exports.se_GetInternalMatchingStatusCommand = exports.se_GetDiscoverySnapshotCommand = exports.se_EnableMatchingCommand = exports.se_DisableMatchingCommand = exports.se_DeclineHookRequestCommand = exports.se_CompleteOnboardingCommand = exports.se_ClearTierOverrideCommand = exports.se_CancelHookRequestCommand = exports.se_BlockUserCommand = exports.se_AcceptHookRequestCommand = exports.se_UpsertMatchingProfileCommand = exports.se_UpsertChatProfileCommand = exports.se_SearchPlacesCommand = exports.se_RepublishMatchingProfileCommand = exports.se_GetPlaceCommand = exports.se_GetMyProfileCommand = exports.se_GetMatchingReadinessCommand = exports.se_GetMatchingProfileCommand = exports.se_GetLivenessStatusCommand = exports.se_GetInternalProfileCommand = exports.se_GetChatProfileCommand = exports.se_GetBirthDateStatusCommand = exports.se_GenerateUploadUrlCommand = exports.se_GenerateDownloadUrlCommand = exports.se_DeleteProfileCommand = exports.se_CreateLivenessSessionCommand = exports.se_CorrectBirthDateCommand = exports.se_CompleteLivenessSessionCommand = exports.se_UpdateTraditionPreferencesCommand = exports.se_UpdatePreferencesCommand = exports.se_SwipeCommand = exports.se_RemoveSuggestionCommand = exports.se_RemoveOneHookSuggestionCommand = exports.se_RemoveLocationCommand = exports.se_RecordSuggestionInternalCommand = exports.se_RecordSuggestionCommand = exports.se_IssueViewPassesCommand = exports.se_IndexLocationCommand = exports.se_GetTraditionPreferencesCommand = exports.se_GetSuggestionsCommand = exports.se_GetRosesCommand = exports.se_GetReceivedLikesCommand = exports.se_GetPreferencesCommand = exports.se_GetPartnerDistanceCommand = exports.se_DiscoverCommand = exports.se_UpdateScoringPolicyCommand = exports.se_SimulateScoringPolicyCommand = exports.se_GetScoringPolicyCommand = exports.se_VerifyAdminLinkOtpCommand = void 0;
5
+ exports.de_LinkEmailCommand = exports.de_GetUserIdByUsernameCommand = exports.de_GetUserByEmailCommand = exports.de_GetUserCommand = exports.de_GetPreservationHoldCommand = exports.de_GetInviteEdgesCommand = exports.de_GetCredentialReadinessCommand = exports.de_GetAdminPhoneStatusCommand = exports.de_GetAccountStateCommand = exports.de_GenerateInviteCommand = exports.de_CreateAdminInviteCommand = exports.de_CheckUsernameAvailabilityCommand = exports.de_AuthSocialCommand = exports.de_UpdateChatSettingsCommand = exports.de_RevokeHistoryWrapCommand = exports.de_RevokeDeviceCommand = exports.de_RegisterPushTokenCommand = exports.de_RegisterDeviceCommand = exports.de_PutHistoryWrapCommand = exports.de_ListMyDevicesCommand = exports.de_GetParticipantRegistryCommand = exports.de_GetHistoryStateCommand = exports.de_GetChatSettingsCommand = exports.de_EstablishHistoryEpochCommand = exports.de_DeletePushTokenCommand = exports.de_DeleteMatchMessagesCommand = exports.de_CreateMediaUploadUrlCommand = exports.de_CreateMediaDownloadUrlCommand = exports.de_ListGraphUserMatchesCommand = exports.de_IngestSignalsCommand = exports.de_GetMediaStatsCommand = exports.de_GetGraphUserCommand = exports.de_GetGraphMatchCommand = exports.de_GetGraphInvitesCommand = exports.de_GetAiContextMatchCommand = exports.se_UpgradeUserCommand = exports.se_UnhookCommand = exports.se_UnblockUserCommand = exports.se_SetTierOverrideCommand = exports.se_SendHookRequestCommand = exports.se_ReportMemberCommand = exports.se_ListMatchingOnMembersCommand = exports.se_ListHookRequestsCommand = exports.se_ListBlocksCommand = exports.se_KeepHooksCommand = exports.se_InitUserCommand = exports.se_GetTierOverrideCommand = exports.se_GetStateCommand = exports.se_GetModerationSignalsCommand = exports.se_GetModerationReportCommand = void 0;
6
+ exports.de_GetPlaceCommand = exports.de_GetMyProfileCommand = exports.de_GetMatchingReadinessCommand = exports.de_GetMatchingProfileCommand = exports.de_GetLivenessStatusCommand = exports.de_GetInternalProfileCommand = exports.de_GetChatProfileCommand = exports.de_GetBirthDateStatusCommand = exports.de_GenerateUploadUrlCommand = exports.de_GenerateDownloadUrlCommand = exports.de_DeleteProfileCommand = exports.de_CreateLivenessSessionCommand = exports.de_CorrectBirthDateCommand = exports.de_CompleteLivenessSessionCommand = exports.de_UpdateTraditionPreferencesCommand = exports.de_UpdatePreferencesCommand = exports.de_SwipeCommand = exports.de_RemoveSuggestionCommand = exports.de_RemoveOneHookSuggestionCommand = exports.de_RemoveLocationCommand = exports.de_RecordSuggestionInternalCommand = exports.de_RecordSuggestionCommand = exports.de_IssueViewPassesCommand = exports.de_IndexLocationCommand = exports.de_GetTraditionPreferencesCommand = exports.de_GetSuggestionsCommand = exports.de_GetRosesCommand = exports.de_GetReceivedLikesCommand = exports.de_GetPreferencesCommand = exports.de_GetPartnerDistanceCommand = exports.de_DiscoverCommand = exports.de_UpdateScoringPolicyCommand = exports.de_SimulateScoringPolicyCommand = exports.de_GetScoringPolicyCommand = exports.de_VerifyAdminLinkOtpCommand = exports.de_ValidateInviteCommand = exports.de_UpdateUsernameCommand = exports.de_UpdatePhoneNumberCommand = exports.de_UpdateEntitlementsCommand = exports.de_UnlinkSocialCommand = exports.de_SetPreservationHoldCommand = exports.de_SetPasswordCommand = exports.de_SetAccountStateCommand = exports.de_SendAdminLinkOtpCommand = exports.de_RevokeUserAccessCommand = exports.de_RequestPhoneUpdateOtpCommand = exports.de_RequestPhoneOtpCommand = exports.de_RequestEmailOtpCommand = exports.de_RegisterPhoneCommand = exports.de_LinkSocialCommand = void 0;
7
+ exports.de_UpgradeUserCommand = exports.de_UnhookCommand = exports.de_UnblockUserCommand = exports.de_SetTierOverrideCommand = exports.de_SendHookRequestCommand = exports.de_ReportMemberCommand = exports.de_ListMatchingOnMembersCommand = exports.de_ListHookRequestsCommand = exports.de_ListBlocksCommand = exports.de_KeepHooksCommand = exports.de_InitUserCommand = exports.de_GetTierOverrideCommand = exports.de_GetStateCommand = exports.de_GetModerationSignalsCommand = exports.de_GetModerationReportCommand = exports.de_GetMatchCommand = exports.de_GetInternalMatchingStatusCommand = exports.de_GetDiscoverySnapshotCommand = exports.de_EnableMatchingCommand = exports.de_DisableMatchingCommand = exports.de_DeclineHookRequestCommand = exports.de_CompleteOnboardingCommand = exports.de_ClearTierOverrideCommand = exports.de_CancelHookRequestCommand = exports.de_BlockUserCommand = exports.de_AcceptHookRequestCommand = exports.de_UpsertMatchingProfileCommand = exports.de_UpsertChatProfileCommand = exports.de_SearchPlacesCommand = exports.de_RepublishMatchingProfileCommand = void 0;
8
8
  const OneHookServiceException_1 = require("../models/OneHookServiceException");
9
9
  const models_0_1 = require("../models/models_0");
10
10
  const core_1 = require("@aws-sdk/core");
@@ -360,6 +360,18 @@ const se_AuthSocialCommand = async (input, context) => {
360
360
  return b.build();
361
361
  };
362
362
  exports.se_AuthSocialCommand = se_AuthSocialCommand;
363
+ const se_CheckUsernameAvailabilityCommand = async (input, context) => {
364
+ const b = (0, core_2.requestBuilder)(input, context);
365
+ const headers = {};
366
+ b.bp("/identity/user/username/availability/{username}");
367
+ b.p('username', () => input.username, '{username}', false);
368
+ let body;
369
+ b.m("GET")
370
+ .h(headers)
371
+ .b(body);
372
+ return b.build();
373
+ };
374
+ exports.se_CheckUsernameAvailabilityCommand = se_CheckUsernameAvailabilityCommand;
363
375
  const se_CreateAdminInviteCommand = async (input, context) => {
364
376
  const b = (0, core_2.requestBuilder)(input, context);
365
377
  const headers = {
@@ -647,6 +659,22 @@ const se_SetAccountStateCommand = async (input, context) => {
647
659
  return b.build();
648
660
  };
649
661
  exports.se_SetAccountStateCommand = se_SetAccountStateCommand;
662
+ const se_SetPasswordCommand = async (input, context) => {
663
+ const b = (0, core_2.requestBuilder)(input, context);
664
+ const headers = {
665
+ 'content-type': 'application/json',
666
+ };
667
+ b.bp("/identity/user/password");
668
+ let body;
669
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
670
+ 'password': [],
671
+ }));
672
+ b.m("PUT")
673
+ .h(headers)
674
+ .b(body);
675
+ return b.build();
676
+ };
677
+ exports.se_SetPasswordCommand = se_SetPasswordCommand;
650
678
  const se_SetPreservationHoldCommand = async (input, context) => {
651
679
  const b = (0, core_2.requestBuilder)(input, context);
652
680
  const headers = {
@@ -2116,6 +2144,23 @@ const de_AuthSocialCommand = async (output, context) => {
2116
2144
  return contents;
2117
2145
  };
2118
2146
  exports.de_AuthSocialCommand = de_AuthSocialCommand;
2147
+ const de_CheckUsernameAvailabilityCommand = async (output, context) => {
2148
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2149
+ return de_CommandError(output, context);
2150
+ }
2151
+ const contents = (0, smithy_client_1.map)({
2152
+ $metadata: deserializeMetadata(output),
2153
+ });
2154
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
2155
+ const doc = (0, smithy_client_1.take)(data, {
2156
+ 'reason': smithy_client_1.expectString,
2157
+ 'status': smithy_client_1.expectString,
2158
+ 'username': smithy_client_1.expectString,
2159
+ });
2160
+ Object.assign(contents, doc);
2161
+ return contents;
2162
+ };
2163
+ exports.de_CheckUsernameAvailabilityCommand = de_CheckUsernameAvailabilityCommand;
2119
2164
  const de_CreateAdminInviteCommand = async (output, context) => {
2120
2165
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2121
2166
  return de_CommandError(output, context);
@@ -2254,6 +2299,7 @@ const de_GetUserCommand = async (output, context) => {
2254
2299
  'email': smithy_client_1.expectString,
2255
2300
  'googleEmail': smithy_client_1.expectString,
2256
2301
  'googleId': smithy_client_1.expectString,
2302
+ 'hasPassword': smithy_client_1.expectBoolean,
2257
2303
  'phoneNumber': smithy_client_1.expectString,
2258
2304
  'userId': smithy_client_1.expectString,
2259
2305
  'userState': smithy_client_1.expectString,
@@ -2278,6 +2324,7 @@ const de_GetUserByEmailCommand = async (output, context) => {
2278
2324
  'email': smithy_client_1.expectString,
2279
2325
  'googleEmail': smithy_client_1.expectString,
2280
2326
  'googleId': smithy_client_1.expectString,
2327
+ 'hasPassword': smithy_client_1.expectBoolean,
2281
2328
  'phoneNumber': smithy_client_1.expectString,
2282
2329
  'userId': smithy_client_1.expectString,
2283
2330
  'userState': smithy_client_1.expectString,
@@ -2441,6 +2488,21 @@ const de_SetAccountStateCommand = async (output, context) => {
2441
2488
  return contents;
2442
2489
  };
2443
2490
  exports.de_SetAccountStateCommand = de_SetAccountStateCommand;
2491
+ const de_SetPasswordCommand = async (output, context) => {
2492
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2493
+ return de_CommandError(output, context);
2494
+ }
2495
+ const contents = (0, smithy_client_1.map)({
2496
+ $metadata: deserializeMetadata(output),
2497
+ });
2498
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
2499
+ const doc = (0, smithy_client_1.take)(data, {
2500
+ 'status': smithy_client_1.expectString,
2501
+ });
2502
+ Object.assign(contents, doc);
2503
+ return contents;
2504
+ };
2505
+ exports.de_SetPasswordCommand = de_SetPasswordCommand;
2444
2506
  const de_SetPreservationHoldCommand = async (output, context) => {
2445
2507
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2446
2508
  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.ReportEvent = exports.ReportSource = exports.ReportCategory = 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.15.0";
5
- exports.TELEMETRY_CATALOG_HASH = "c0613025308ddfc0";
4
+ exports.TELEMETRY_CATALOG_VERSION = "1.16.0";
5
+ exports.TELEMETRY_CATALOG_HASH = "3d27632e55e2d44f";
6
6
  exports.SignalType = {
7
7
  SCREEN_VIEW: "screen_view",
8
8
  UI_INTERACTION: "ui_interaction",
@@ -38,6 +38,7 @@ exports.Screen = {
38
38
  ADMISSIONS_STATUS: "ADMISSIONS_STATUS",
39
39
  ONBOARDING: "ONBOARDING",
40
40
  DISCOVER: "DISCOVER",
41
+ MATCHING_INTRO: "MATCHING_INTRO",
41
42
  LIKE_COMPOSER: "LIKE_COMPOSER",
42
43
  LIKES_YOU: "LIKES_YOU",
43
44
  CHAT: "CHAT",
@@ -65,6 +66,7 @@ exports.ViewableScreen = {
65
66
  ADMISSIONS_STATUS: "ADMISSIONS_STATUS",
66
67
  ONBOARDING: "ONBOARDING",
67
68
  DISCOVER: "DISCOVER",
69
+ MATCHING_INTRO: "MATCHING_INTRO",
68
70
  LIKE_COMPOSER: "LIKE_COMPOSER",
69
71
  LIKES_YOU: "LIKES_YOU",
70
72
  CHAT: "CHAT",
@@ -88,6 +90,7 @@ exports.TabScreen = {
88
90
  LIKES_YOU: "LIKES_YOU",
89
91
  CHAT: "CHAT",
90
92
  PROFILE: "PROFILE",
93
+ MATCHING_INTRO: "MATCHING_INTRO",
91
94
  };
92
95
  exports.UiAction = {
93
96
  TAP: "tap",
@@ -252,6 +255,9 @@ exports.UiElement = {
252
255
  ADMISSIONS_STATUS_WITHDRAW: "admissions_status.withdraw",
253
256
  ADMISSIONS_STATUS_TRAINING_OPT_OUT: "admissions_status.training_opt_out",
254
257
  ONBOARDING_NEXT: "onboarding.next",
258
+ ONBOARDING_STEP_SKIP: "onboarding.step_skip",
259
+ ONBOARDING_SOCIAL_LINK: "onboarding.social_link",
260
+ ONBOARDING_RECOVERY_SETUP: "onboarding.recovery_setup",
255
261
  ONBOARDING_BACK: "onboarding.back",
256
262
  ONBOARDING_FINISH: "onboarding.finish",
257
263
  ONBOARDING_SKIP_SIGN_OUT: "onboarding.skip_sign_out",
@@ -264,6 +270,8 @@ exports.UiElement = {
264
270
  ONBOARDING_VOICE_ADD: "onboarding.voice_add",
265
271
  ONBOARDING_VOICE_REMOVE: "onboarding.voice_remove",
266
272
  ONBOARDING_CHOICE_SELECT: "onboarding.choice_select",
273
+ MATCHING_INTRO_TURN_ON: "matching_intro.turn_on",
274
+ MATCHING_INTRO_SHOULD_I_JOIN: "matching_intro.should_i_join",
267
275
  DISCOVER_PASS_BUTTON: "discover.pass_button",
268
276
  DISCOVER_LIKE_BUTTON: "discover.like_button",
269
277
  DISCOVER_ROSE_BUTTON: "discover.rose_button",
@@ -379,6 +387,8 @@ exports.UiElement = {
379
387
  NOTIFICATIONS_ITEM_OPEN: "notifications.item_open",
380
388
  NOTIFICATIONS_ITEM_DISMISS: "notifications.item_dismiss",
381
389
  PROFILE_EDIT_OPEN: "profile.edit_open",
390
+ PROFILE_MATCHING_OPEN: "profile.matching_open",
391
+ PROFILE_RECOVERY_OPEN: "profile.recovery_open",
382
392
  PROFILE_PREVIEW_OPEN: "profile.preview_open",
383
393
  PROFILE_PREFERENCES_OPEN: "profile.preferences_open",
384
394
  PROFILE_SETTINGS_OPEN: "profile.settings_open",
@@ -470,7 +480,7 @@ exports.UiElement = {
470
480
  LIVENESS_CLOSE: "liveness.close",
471
481
  };
472
482
  exports.UI_ELEMENTS = {
473
- "nav.tab_select": { screen: "NAV", kind: "tab", actions: ["select"], values: ["DISCOVER", "LIKES_YOU", "CHAT", "PROFILE"], platforms: ["web", "ios", "android"] },
483
+ "nav.tab_select": { screen: "NAV", kind: "tab", actions: ["select"], values: ["DISCOVER", "LIKES_YOU", "CHAT", "PROFILE", "MATCHING_INTRO"], platforms: ["web", "ios", "android"] },
474
484
  "nav.search_open": { screen: "NAV", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web"] },
475
485
  "nav.menu_open": { screen: "NAV", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web"] },
476
486
  "nav.back": { screen: "NAV", kind: "button", actions: ["tap"], values: null, platforms: ["web"] },
@@ -496,7 +506,7 @@ exports.UI_ELEMENTS = {
496
506
  "login.google": { screen: "LOGIN", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
497
507
  "login.apple": { screen: "LOGIN", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios"] },
498
508
  "login.passkey": { screen: "LOGIN", kind: "button", actions: ["tap"], values: null, platforms: ["ios"] },
499
- "login.identifier_mode": { screen: "LOGIN", kind: "toggle", actions: ["toggle"], values: ["phone", "email"], platforms: ["web", "ios", "android"] },
509
+ "login.identifier_mode": { screen: "LOGIN", kind: "toggle", actions: ["toggle"], values: ["phone", "email", "username"], platforms: ["web", "ios", "android"] },
500
510
  "login.password_mode": { screen: "LOGIN", kind: "toggle", actions: ["toggle"], values: ["password", "otp"], platforms: ["web", "ios", "android"] },
501
511
  "login.forgot_password": { screen: "LOGIN", kind: "link", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
502
512
  "login.resend_code": { screen: "LOGIN", kind: "link", actions: ["tap"], values: null, platforms: ["web", "ios"] },
@@ -524,8 +534,11 @@ exports.UI_ELEMENTS = {
524
534
  "admissions_status.continue_invite": { screen: "ADMISSIONS_STATUS", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
525
535
  "admissions_status.withdraw": { screen: "ADMISSIONS_STATUS", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
526
536
  "admissions_status.training_opt_out": { screen: "ADMISSIONS_STATUS", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
527
- "onboarding.next": { screen: "ONBOARDING", kind: "button", actions: ["submit"], values: ["basics", "photos", "media", "prompts", "details"], platforms: ["web", "ios"] },
528
- "onboarding.back": { screen: "ONBOARDING", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios"] },
537
+ "onboarding.next": { screen: "ONBOARDING", kind: "button", actions: ["submit"], values: ["basics", "photos", "media", "prompts", "details", "username", "password", "social", "recovery"], platforms: ["web", "ios", "android"] },
538
+ "onboarding.step_skip": { screen: "ONBOARDING", kind: "button", actions: ["tap"], values: ["password", "social", "recovery"], platforms: ["web", "ios", "android"] },
539
+ "onboarding.social_link": { screen: "ONBOARDING", kind: "button", actions: ["tap", "dismiss"], values: ["apple", "google"], platforms: ["web", "ios", "android"] },
540
+ "onboarding.recovery_setup": { screen: "ONBOARDING", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
541
+ "onboarding.back": { screen: "ONBOARDING", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
529
542
  "onboarding.finish": { screen: "ONBOARDING", kind: "button", actions: ["submit"], values: null, platforms: ["web", "ios", "android"] },
530
543
  "onboarding.skip_sign_out": { screen: "ONBOARDING", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
531
544
  "onboarding.skip_sign_out_confirm": { screen: "ONBOARDING", kind: "dialog_button", actions: ["submit", "dismiss"], values: null, platforms: ["ios", "android"] },
@@ -537,6 +550,8 @@ exports.UI_ELEMENTS = {
537
550
  "onboarding.voice_add": { screen: "ONBOARDING", kind: "button", actions: ["tap"], values: null, platforms: [] },
538
551
  "onboarding.voice_remove": { screen: "ONBOARDING", kind: "button", actions: ["tap"], values: null, platforms: [] },
539
552
  "onboarding.choice_select": { screen: "ONBOARDING", kind: "segmented", actions: ["select", "tap"], values: null, platforms: ["web", "ios", "android"] },
553
+ "matching_intro.turn_on": { screen: "MATCHING_INTRO", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
554
+ "matching_intro.should_i_join": { screen: "MATCHING_INTRO", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
540
555
  "discover.pass_button": { screen: "DISCOVER", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
541
556
  "discover.like_button": { screen: "DISCOVER", kind: "button", actions: ["tap"], values: null, platforms: ["android"] },
542
557
  "discover.rose_button": { screen: "DISCOVER", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
@@ -633,7 +648,7 @@ exports.UI_ELEMENTS = {
633
648
  "chat.intro_get_started": { screen: "CHAT", kind: "button", actions: ["tap"], values: null, platforms: ["ios"] },
634
649
  "chat.history_recover_method": { screen: "CHAT", kind: "menu_item", actions: ["tap", "dismiss"], values: ["device", "qr_scan", "qr_import", "passkey"], platforms: ["web", "ios", "android"] },
635
650
  "chat.history_recover_step": { screen: "CHAT", kind: "menu_item", actions: ["tap"], values: ["retry", "qr_retry", "done", "reset_open", "cancel"], platforms: ["web", "ios", "android"] },
636
- "chat.history_reset_confirm": { screen: "CHAT", kind: "dialog_button", actions: ["submit", "dismiss"], values: null, platforms: ["web"] },
651
+ "chat.history_reset_confirm": { screen: "CHAT", kind: "dialog_button", actions: ["submit", "dismiss"], values: null, platforms: ["ios", "android"] },
637
652
  "chat_settings.last_seen_select": { screen: "CHAT_SETTINGS", kind: "segmented", actions: ["select", "tap"], values: null, platforms: ["web", "ios"] },
638
653
  "chat_settings.disappearing_select": { screen: "CHAT_SETTINGS", kind: "segmented", actions: ["select", "tap"], values: null, platforms: ["web", "ios"] },
639
654
  "chat_settings.notification_toggle": { screen: "CHAT_SETTINGS", kind: "toggle", actions: ["toggle"], values: ["on", "off"], platforms: ["web", "ios", "android"] },
@@ -652,6 +667,8 @@ exports.UI_ELEMENTS = {
652
667
  "notifications.item_open": { screen: "NOTIFICATIONS", kind: "list_item", actions: ["tap"], values: null, platforms: ["ios"] },
653
668
  "notifications.item_dismiss": { screen: "NOTIFICATIONS", kind: "gesture", actions: ["dismiss"], values: null, platforms: ["ios"] },
654
669
  "profile.edit_open": { screen: "PROFILE", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["ios", "android"] },
670
+ "profile.matching_open": { screen: "PROFILE", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
671
+ "profile.recovery_open": { screen: "PROFILE", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
655
672
  "profile.preview_open": { screen: "PROFILE", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios"] },
656
673
  "profile.preferences_open": { screen: "PROFILE", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
657
674
  "profile.settings_open": { screen: "PROFILE", kind: "button", actions: ["tap"], values: null, platforms: ["web"] },
@@ -3,6 +3,7 @@ import { AcceptHookRequestCommand, } from "./commands/AcceptHookRequestCommand";
3
3
  import { AuthSocialCommand, } from "./commands/AuthSocialCommand";
4
4
  import { BlockUserCommand, } from "./commands/BlockUserCommand";
5
5
  import { CancelHookRequestCommand, } from "./commands/CancelHookRequestCommand";
6
+ import { CheckUsernameAvailabilityCommand, } from "./commands/CheckUsernameAvailabilityCommand";
6
7
  import { ClearTierOverrideCommand, } from "./commands/ClearTierOverrideCommand";
7
8
  import { CompleteLivenessSessionCommand, } from "./commands/CompleteLivenessSessionCommand";
8
9
  import { CompleteOnboardingCommand, } from "./commands/CompleteOnboardingCommand";
@@ -93,6 +94,7 @@ import { SearchPlacesCommand, } from "./commands/SearchPlacesCommand";
93
94
  import { SendAdminLinkOtpCommand, } from "./commands/SendAdminLinkOtpCommand";
94
95
  import { SendHookRequestCommand, } from "./commands/SendHookRequestCommand";
95
96
  import { SetAccountStateCommand, } from "./commands/SetAccountStateCommand";
97
+ import { SetPasswordCommand, } from "./commands/SetPasswordCommand";
96
98
  import { SetPreservationHoldCommand, } from "./commands/SetPreservationHoldCommand";
97
99
  import { SetTierOverrideCommand, } from "./commands/SetTierOverrideCommand";
98
100
  import { SimulateScoringPolicyCommand, } from "./commands/SimulateScoringPolicyCommand";
@@ -137,6 +139,7 @@ const commands = {
137
139
  RevokeHistoryWrapCommand,
138
140
  UpdateChatSettingsCommand,
139
141
  AuthSocialCommand,
142
+ CheckUsernameAvailabilityCommand,
140
143
  CreateAdminInviteCommand,
141
144
  GenerateInviteCommand,
142
145
  GetAccountStateCommand,
@@ -156,6 +159,7 @@ const commands = {
156
159
  RevokeUserAccessCommand,
157
160
  SendAdminLinkOtpCommand,
158
161
  SetAccountStateCommand,
162
+ SetPasswordCommand,
159
163
  SetPreservationHoldCommand,
160
164
  UnlinkSocialCommand,
161
165
  UpdateEntitlementsCommand,
@@ -0,0 +1,17 @@
1
+ import { de_CheckUsernameAvailabilityCommand, se_CheckUsernameAvailabilityCommand, } 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 CheckUsernameAvailabilityCommand extends $Command.classBuilder()
6
+ .m(function (Command, cs, config, o) {
7
+ return [
8
+ getSerdePlugin(config, this.serialize, this.deserialize),
9
+ ];
10
+ })
11
+ .s("OneHookService", "CheckUsernameAvailability", {})
12
+ .n("OneHookClient", "CheckUsernameAvailabilityCommand")
13
+ .f(void 0, void 0)
14
+ .ser(se_CheckUsernameAvailabilityCommand)
15
+ .de(de_CheckUsernameAvailabilityCommand)
16
+ .build() {
17
+ }
@@ -0,0 +1,17 @@
1
+ import { de_SetPasswordCommand, se_SetPasswordCommand, } 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 SetPasswordCommand extends $Command.classBuilder()
6
+ .m(function (Command, cs, config, o) {
7
+ return [
8
+ getSerdePlugin(config, this.serialize, this.deserialize),
9
+ ];
10
+ })
11
+ .s("OneHookService", "SetPassword", {})
12
+ .n("OneHookClient", "SetPasswordCommand")
13
+ .f(void 0, void 0)
14
+ .ser(se_SetPasswordCommand)
15
+ .de(de_SetPasswordCommand)
16
+ .build() {
17
+ }
@@ -21,6 +21,7 @@ export * from "./RevokeDeviceCommand";
21
21
  export * from "./RevokeHistoryWrapCommand";
22
22
  export * from "./UpdateChatSettingsCommand";
23
23
  export * from "./AuthSocialCommand";
24
+ export * from "./CheckUsernameAvailabilityCommand";
24
25
  export * from "./CreateAdminInviteCommand";
25
26
  export * from "./GenerateInviteCommand";
26
27
  export * from "./GetAccountStateCommand";
@@ -40,6 +41,7 @@ export * from "./RequestPhoneUpdateOtpCommand";
40
41
  export * from "./RevokeUserAccessCommand";
41
42
  export * from "./SendAdminLinkOtpCommand";
42
43
  export * from "./SetAccountStateCommand";
44
+ export * from "./SetPasswordCommand";
43
45
  export * from "./SetPreservationHoldCommand";
44
46
  export * from "./UnlinkSocialCommand";
45
47
  export * from "./UpdateEntitlementsCommand";
@@ -219,6 +219,12 @@ export const PushTokenKind = {
219
219
  ALERT: "ALERT",
220
220
  VOIP: "VOIP",
221
221
  };
222
+ export const UsernameAvailability = {
223
+ AVAILABLE: "AVAILABLE",
224
+ CURRENT: "CURRENT",
225
+ INVALID: "INVALID",
226
+ TAKEN: "TAKEN",
227
+ };
222
228
  export const AccountState = {
223
229
  ACTIVE: "ACTIVE",
224
230
  BANNED: "BANNED",
@@ -330,6 +330,17 @@ export const se_AuthSocialCommand = async (input, context) => {
330
330
  .b(body);
331
331
  return b.build();
332
332
  };
333
+ export const se_CheckUsernameAvailabilityCommand = async (input, context) => {
334
+ const b = rb(input, context);
335
+ const headers = {};
336
+ b.bp("/identity/user/username/availability/{username}");
337
+ b.p('username', () => input.username, '{username}', false);
338
+ let body;
339
+ b.m("GET")
340
+ .h(headers)
341
+ .b(body);
342
+ return b.build();
343
+ };
333
344
  export const se_CreateAdminInviteCommand = async (input, context) => {
334
345
  const b = rb(input, context);
335
346
  const headers = {
@@ -598,6 +609,21 @@ export const se_SetAccountStateCommand = async (input, context) => {
598
609
  .b(body);
599
610
  return b.build();
600
611
  };
612
+ export const se_SetPasswordCommand = async (input, context) => {
613
+ const b = rb(input, context);
614
+ const headers = {
615
+ 'content-type': 'application/json',
616
+ };
617
+ b.bp("/identity/user/password");
618
+ let body;
619
+ body = JSON.stringify(take(input, {
620
+ 'password': [],
621
+ }));
622
+ b.m("PUT")
623
+ .h(headers)
624
+ .b(body);
625
+ return b.build();
626
+ };
601
627
  export const se_SetPreservationHoldCommand = async (input, context) => {
602
628
  const b = rb(input, context);
603
629
  const headers = {
@@ -1973,6 +1999,22 @@ export const de_AuthSocialCommand = async (output, context) => {
1973
1999
  Object.assign(contents, doc);
1974
2000
  return contents;
1975
2001
  };
2002
+ export const de_CheckUsernameAvailabilityCommand = async (output, context) => {
2003
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2004
+ return de_CommandError(output, context);
2005
+ }
2006
+ const contents = map({
2007
+ $metadata: deserializeMetadata(output),
2008
+ });
2009
+ const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
2010
+ const doc = take(data, {
2011
+ 'reason': __expectString,
2012
+ 'status': __expectString,
2013
+ 'username': __expectString,
2014
+ });
2015
+ Object.assign(contents, doc);
2016
+ return contents;
2017
+ };
1976
2018
  export const de_CreateAdminInviteCommand = async (output, context) => {
1977
2019
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1978
2020
  return de_CommandError(output, context);
@@ -2104,6 +2146,7 @@ export const de_GetUserCommand = async (output, context) => {
2104
2146
  'email': __expectString,
2105
2147
  'googleEmail': __expectString,
2106
2148
  'googleId': __expectString,
2149
+ 'hasPassword': __expectBoolean,
2107
2150
  'phoneNumber': __expectString,
2108
2151
  'userId': __expectString,
2109
2152
  'userState': __expectString,
@@ -2127,6 +2170,7 @@ export const de_GetUserByEmailCommand = async (output, context) => {
2127
2170
  'email': __expectString,
2128
2171
  'googleEmail': __expectString,
2129
2172
  'googleId': __expectString,
2173
+ 'hasPassword': __expectBoolean,
2130
2174
  'phoneNumber': __expectString,
2131
2175
  'userId': __expectString,
2132
2176
  'userState': __expectString,
@@ -2279,6 +2323,20 @@ export const de_SetAccountStateCommand = async (output, context) => {
2279
2323
  Object.assign(contents, doc);
2280
2324
  return contents;
2281
2325
  };
2326
+ export const de_SetPasswordCommand = async (output, context) => {
2327
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2328
+ return de_CommandError(output, context);
2329
+ }
2330
+ const contents = map({
2331
+ $metadata: deserializeMetadata(output),
2332
+ });
2333
+ const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
2334
+ const doc = take(data, {
2335
+ 'status': __expectString,
2336
+ });
2337
+ Object.assign(contents, doc);
2338
+ return contents;
2339
+ };
2282
2340
  export const de_SetPreservationHoldCommand = async (output, context) => {
2283
2341
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2284
2342
  return de_CommandError(output, context);