onehook-api-client 1.0.39 → 1.0.41

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 +14 -0
  2. package/dist-cjs/OneHook.js +4 -0
  3. package/dist-cjs/commands/CheckUsernameAvailabilityCommand.js +21 -0
  4. package/dist-cjs/commands/SetPasswordCommand.js +21 -0
  5. package/dist-cjs/commands/index.js +2 -0
  6. package/dist-cjs/models/models_0.js +7 -1
  7. package/dist-cjs/protocols/Aws_restJson1.js +115 -19
  8. package/dist-cjs/telemetry/index.js +24 -7
  9. package/dist-es/OneHook.js +4 -0
  10. package/dist-es/commands/CheckUsernameAvailabilityCommand.js +17 -0
  11. package/dist-es/commands/SetPasswordCommand.js +17 -0
  12. package/dist-es/commands/index.js +2 -0
  13. package/dist-es/models/models_0.js +6 -0
  14. package/dist-es/protocols/Aws_restJson1.js +106 -14
  15. package/dist-es/telemetry/index.js +24 -7
  16. package/dist-types/OneHook.d.ts +14 -0
  17. package/dist-types/OneHookClient.d.ts +4 -2
  18. package/dist-types/commands/CheckUsernameAvailabilityCommand.d.ts +104 -0
  19. package/dist-types/commands/GetChatProfileCommand.d.ts +0 -5
  20. package/dist-types/commands/GetInternalProfileCommand.d.ts +1 -1
  21. package/dist-types/commands/GetMatchingProfileCommand.d.ts +7 -0
  22. package/dist-types/commands/GetMyProfileCommand.d.ts +7 -5
  23. package/dist-types/commands/GetPlaceCommand.d.ts +3 -2
  24. package/dist-types/commands/GetUserByEmailCommand.d.ts +1 -0
  25. package/dist-types/commands/GetUserCommand.d.ts +1 -0
  26. package/dist-types/commands/SearchPlacesCommand.d.ts +3 -2
  27. package/dist-types/commands/SetPasswordCommand.d.ts +107 -0
  28. package/dist-types/commands/UpsertChatProfileCommand.d.ts +0 -5
  29. package/dist-types/commands/UpsertMatchingProfileCommand.d.ts +7 -0
  30. package/dist-types/commands/index.d.ts +2 -0
  31. package/dist-types/models/models_0.d.ts +106 -35
  32. package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
  33. package/dist-types/telemetry/index.d.ts +12 -2
  34. package/package.json +1 -1
  35. package/telemetry/TelemetryCatalog.kt +18 -10
  36. package/telemetry/TelemetryCatalog.swift +25 -10
  37. package/telemetry/telemetry-catalog.json +151 -14
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 = {
@@ -1324,7 +1352,7 @@ const se_UpsertChatProfileCommand = async (input, context) => {
1324
1352
  let body;
1325
1353
  body = JSON.stringify((0, smithy_client_1.take)(input, {
1326
1354
  'avatarKey': [],
1327
- 'birthDetails': _ => se_BirthDetails(_, context),
1355
+ 'birthDetails': _ => (0, smithy_client_1._json)(_),
1328
1356
  'displayName': [],
1329
1357
  }));
1330
1358
  b.m("PUT")
@@ -1343,6 +1371,7 @@ const se_UpsertMatchingProfileCommand = async (input, context) => {
1343
1371
  body = JSON.stringify((0, smithy_client_1.take)(input, {
1344
1372
  'audioPrompt': [],
1345
1373
  'bio': [],
1374
+ 'birthTimePlace': _ => se_BirthTimePlace(_, context),
1346
1375
  'cannabisStatus': [],
1347
1376
  'causes': _ => (0, smithy_client_1._json)(_),
1348
1377
  'communities': _ => (0, smithy_client_1._json)(_),
@@ -2116,6 +2145,23 @@ const de_AuthSocialCommand = async (output, context) => {
2116
2145
  return contents;
2117
2146
  };
2118
2147
  exports.de_AuthSocialCommand = de_AuthSocialCommand;
2148
+ const de_CheckUsernameAvailabilityCommand = async (output, context) => {
2149
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2150
+ return de_CommandError(output, context);
2151
+ }
2152
+ const contents = (0, smithy_client_1.map)({
2153
+ $metadata: deserializeMetadata(output),
2154
+ });
2155
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
2156
+ const doc = (0, smithy_client_1.take)(data, {
2157
+ 'reason': smithy_client_1.expectString,
2158
+ 'status': smithy_client_1.expectString,
2159
+ 'username': smithy_client_1.expectString,
2160
+ });
2161
+ Object.assign(contents, doc);
2162
+ return contents;
2163
+ };
2164
+ exports.de_CheckUsernameAvailabilityCommand = de_CheckUsernameAvailabilityCommand;
2119
2165
  const de_CreateAdminInviteCommand = async (output, context) => {
2120
2166
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2121
2167
  return de_CommandError(output, context);
@@ -2254,6 +2300,7 @@ const de_GetUserCommand = async (output, context) => {
2254
2300
  'email': smithy_client_1.expectString,
2255
2301
  'googleEmail': smithy_client_1.expectString,
2256
2302
  'googleId': smithy_client_1.expectString,
2303
+ 'hasPassword': smithy_client_1.expectBoolean,
2257
2304
  'phoneNumber': smithy_client_1.expectString,
2258
2305
  'userId': smithy_client_1.expectString,
2259
2306
  'userState': smithy_client_1.expectString,
@@ -2278,6 +2325,7 @@ const de_GetUserByEmailCommand = async (output, context) => {
2278
2325
  'email': smithy_client_1.expectString,
2279
2326
  'googleEmail': smithy_client_1.expectString,
2280
2327
  'googleId': smithy_client_1.expectString,
2328
+ 'hasPassword': smithy_client_1.expectBoolean,
2281
2329
  'phoneNumber': smithy_client_1.expectString,
2282
2330
  'userId': smithy_client_1.expectString,
2283
2331
  'userState': smithy_client_1.expectString,
@@ -2441,6 +2489,21 @@ const de_SetAccountStateCommand = async (output, context) => {
2441
2489
  return contents;
2442
2490
  };
2443
2491
  exports.de_SetAccountStateCommand = de_SetAccountStateCommand;
2492
+ const de_SetPasswordCommand = async (output, context) => {
2493
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2494
+ return de_CommandError(output, context);
2495
+ }
2496
+ const contents = (0, smithy_client_1.map)({
2497
+ $metadata: deserializeMetadata(output),
2498
+ });
2499
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
2500
+ const doc = (0, smithy_client_1.take)(data, {
2501
+ 'status': smithy_client_1.expectString,
2502
+ });
2503
+ Object.assign(contents, doc);
2504
+ return contents;
2505
+ };
2506
+ exports.de_SetPasswordCommand = de_SetPasswordCommand;
2444
2507
  const de_SetPreservationHoldCommand = async (output, context) => {
2445
2508
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2446
2509
  return de_CommandError(output, context);
@@ -3068,7 +3131,7 @@ const de_GetChatProfileCommand = async (output, context) => {
3068
3131
  'age': smithy_client_1.expectInt32,
3069
3132
  'avatarKey': smithy_client_1.expectString,
3070
3133
  'birthDateOnFile': smithy_client_1.expectBoolean,
3071
- 'birthDetails': _ => de_BirthDetails(_, context),
3134
+ 'birthDetails': smithy_client_1._json,
3072
3135
  'displayName': smithy_client_1.expectString,
3073
3136
  'fieldModerationStatus': smithy_client_1._json,
3074
3137
  'moderationStatus': smithy_client_1.expectString,
@@ -3160,6 +3223,7 @@ const de_GetMatchingProfileCommand = async (output, context) => {
3160
3223
  'age': smithy_client_1.expectInt32,
3161
3224
  'audioPrompt': smithy_client_1.expectString,
3162
3225
  'bio': smithy_client_1.expectString,
3226
+ 'birthTimePlace': _ => de_BirthTimePlace(_, context),
3163
3227
  'cannabisStatus': smithy_client_1.expectString,
3164
3228
  'causes': smithy_client_1._json,
3165
3229
  'communities': smithy_client_1._json,
@@ -3230,8 +3294,8 @@ const de_GetMyProfileCommand = async (output, context) => {
3230
3294
  });
3231
3295
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
3232
3296
  const doc = (0, smithy_client_1.take)(data, {
3233
- 'chat': _ => de_ChatProfile(_, context),
3234
- 'matching': smithy_client_1._json,
3297
+ 'chat': smithy_client_1._json,
3298
+ 'matching': _ => de_MatchingProfile(_, context),
3235
3299
  });
3236
3300
  Object.assign(contents, doc);
3237
3301
  return contents;
@@ -4120,13 +4184,11 @@ const se_VariantOverrides = (input, context) => {
4120
4184
  return acc;
4121
4185
  }, {});
4122
4186
  };
4123
- const se_BirthDetails = (input, context) => {
4187
+ const se_BirthTimePlace = (input, context) => {
4124
4188
  return (0, smithy_client_1.take)(input, {
4125
- 'date': [],
4126
4189
  'latitude': smithy_client_1.serializeFloat,
4127
4190
  'longitude': smithy_client_1.serializeFloat,
4128
4191
  'placeName': [],
4129
- 'provisional': [],
4130
4192
  'time': [],
4131
4193
  'timeZone': [],
4132
4194
  });
@@ -4271,27 +4333,61 @@ const de_CandidateList = (output, context) => {
4271
4333
  });
4272
4334
  return retVal;
4273
4335
  };
4274
- const de_BirthDetails = (output, context) => {
4336
+ const de_BirthTimePlace = (output, context) => {
4275
4337
  return (0, smithy_client_1.take)(output, {
4276
- 'date': smithy_client_1.expectString,
4277
4338
  'latitude': smithy_client_1.limitedParseDouble,
4278
4339
  'longitude': smithy_client_1.limitedParseDouble,
4279
4340
  'placeName': smithy_client_1.expectString,
4280
- 'provisional': smithy_client_1.expectBoolean,
4281
4341
  'time': smithy_client_1.expectString,
4282
4342
  'timeZone': smithy_client_1.expectString,
4283
4343
  });
4284
4344
  };
4285
- const de_ChatProfile = (output, context) => {
4345
+ const de_MatchingProfile = (output, context) => {
4286
4346
  return (0, smithy_client_1.take)(output, {
4287
4347
  'age': smithy_client_1.expectInt32,
4288
- 'avatarKey': smithy_client_1.expectString,
4289
- 'birthDateOnFile': smithy_client_1.expectBoolean,
4290
- 'birthDetails': (_) => de_BirthDetails(_, context),
4348
+ 'audioPrompt': smithy_client_1.expectString,
4349
+ 'bio': smithy_client_1.expectString,
4350
+ 'birthTimePlace': (_) => de_BirthTimePlace(_, context),
4351
+ 'cannabisStatus': smithy_client_1.expectString,
4352
+ 'causes': smithy_client_1._json,
4353
+ 'communities': smithy_client_1._json,
4354
+ 'currentLocation': smithy_client_1.expectString,
4291
4355
  'displayName': smithy_client_1.expectString,
4356
+ 'draftExpiresAt': smithy_client_1.expectLong,
4357
+ 'drinkingStatus': smithy_client_1.expectString,
4358
+ 'drugsStatus': smithy_client_1.expectString,
4359
+ 'education': smithy_client_1.expectString,
4360
+ 'educationLevel': smithy_client_1.expectString,
4361
+ 'exercise': smithy_client_1.expectString,
4362
+ 'familyPlans': smithy_client_1.expectString,
4292
4363
  'fieldModerationStatus': smithy_client_1._json,
4364
+ 'gender': smithy_client_1.expectString,
4365
+ 'generation': smithy_client_1.expectLong,
4366
+ 'height': smithy_client_1.expectInt32,
4367
+ 'hometown': smithy_client_1.expectString,
4368
+ 'interestedIn': smithy_client_1._json,
4369
+ 'interests': smithy_client_1._json,
4370
+ 'languages': smithy_client_1._json,
4371
+ 'lastEditedAt': smithy_client_1.expectLong,
4293
4372
  'moderationStatus': smithy_client_1.expectString,
4373
+ 'openers': smithy_client_1._json,
4374
+ 'pictureTransforms': smithy_client_1._json,
4375
+ 'pictures': smithy_client_1._json,
4376
+ 'politicalView': smithy_client_1.expectString,
4377
+ 'prompts': smithy_client_1._json,
4378
+ 'qualities': smithy_client_1._json,
4379
+ 'relationshipType': smithy_client_1.expectString,
4380
+ 'religion': smithy_client_1.expectString,
4381
+ 'smokingStatus': smithy_client_1.expectString,
4382
+ 'socialLinks': smithy_client_1._json,
4383
+ 'starSign': smithy_client_1.expectString,
4384
+ 'status': smithy_client_1.expectString,
4385
+ 'subscriptionTier': smithy_client_1.expectString,
4294
4386
  'userId': smithy_client_1.expectString,
4387
+ 'verified': smithy_client_1.expectBoolean,
4388
+ 'videos': smithy_client_1._json,
4389
+ 'wantsKids': smithy_client_1.expectString,
4390
+ 'work': smithy_client_1.expectString,
4295
4391
  });
4296
4392
  };
4297
4393
  const deserializeMetadata = (output) => ({
@@ -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";