onehook-api-client 1.0.28 → 1.0.30

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 (31) hide show
  1. package/README.md +21 -0
  2. package/dist-cjs/OneHook.js +6 -0
  3. package/dist-cjs/commands/GetAccountStateCommand.js +21 -0
  4. package/dist-cjs/commands/RecordSuggestionCommand.js +21 -0
  5. package/dist-cjs/commands/SetAccountStateCommand.js +21 -0
  6. package/dist-cjs/commands/index.js +3 -0
  7. package/dist-cjs/models/models_0.js +36 -1
  8. package/dist-cjs/protocols/Aws_restJson1.js +129 -3
  9. package/dist-cjs/telemetry/index.js +45 -5
  10. package/dist-es/OneHook.js +6 -0
  11. package/dist-es/commands/GetAccountStateCommand.js +17 -0
  12. package/dist-es/commands/RecordSuggestionCommand.js +17 -0
  13. package/dist-es/commands/SetAccountStateCommand.js +17 -0
  14. package/dist-es/commands/index.js +3 -0
  15. package/dist-es/models/models_0.js +34 -0
  16. package/dist-es/protocols/Aws_restJson1.js +121 -1
  17. package/dist-es/telemetry/index.js +44 -4
  18. package/dist-types/OneHook.d.ts +21 -0
  19. package/dist-types/OneHookClient.d.ts +5 -2
  20. package/dist-types/commands/DiscoverCommand.d.ts +18 -2
  21. package/dist-types/commands/GetAccountStateCommand.d.ts +83 -0
  22. package/dist-types/commands/RecordSuggestionCommand.d.ts +83 -0
  23. package/dist-types/commands/SetAccountStateCommand.d.ts +95 -0
  24. package/dist-types/commands/index.d.ts +3 -0
  25. package/dist-types/models/models_0.d.ts +233 -0
  26. package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
  27. package/dist-types/telemetry/index.d.ts +45 -2
  28. package/package.json +1 -1
  29. package/telemetry/TelemetryCatalog.kt +62 -7
  30. package/telemetry/TelemetryCatalog.swift +52 -6
  31. package/telemetry/telemetry-catalog.json +594 -245
package/README.md CHANGED
@@ -304,6 +304,13 @@ GenerateInvite
304
304
  </details>
305
305
  <details>
306
306
  <summary>
307
+ GetAccountState
308
+ </summary>
309
+
310
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/onehook/command/GetAccountStateCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-onehook/Interface/GetAccountStateCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-onehook/Interface/GetAccountStateCommandOutput/)
311
+ </details>
312
+ <details>
313
+ <summary>
307
314
  GetAdminPhoneStatus
308
315
  </summary>
309
316
 
@@ -388,6 +395,13 @@ SendAdminLinkOtp
388
395
  </details>
389
396
  <details>
390
397
  <summary>
398
+ SetAccountState
399
+ </summary>
400
+
401
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/onehook/command/SetAccountStateCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-onehook/Interface/SetAccountStateCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-onehook/Interface/SetAccountStateCommandOutput/)
402
+ </details>
403
+ <details>
404
+ <summary>
391
405
  UnlinkSocial
392
406
  </summary>
393
407
 
@@ -472,6 +486,13 @@ IndexLocation
472
486
  </details>
473
487
  <details>
474
488
  <summary>
489
+ RecordSuggestion
490
+ </summary>
491
+
492
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/onehook/command/RecordSuggestionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-onehook/Interface/RecordSuggestionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-onehook/Interface/RecordSuggestionCommandOutput/)
493
+ </details>
494
+ <details>
495
+ <summary>
475
496
  RemoveLocation
476
497
  </summary>
477
498
 
@@ -16,6 +16,7 @@ const DiscoverCommand_1 = require("./commands/DiscoverCommand");
16
16
  const GenerateDownloadUrlCommand_1 = require("./commands/GenerateDownloadUrlCommand");
17
17
  const GenerateInviteCommand_1 = require("./commands/GenerateInviteCommand");
18
18
  const GenerateUploadUrlCommand_1 = require("./commands/GenerateUploadUrlCommand");
19
+ const GetAccountStateCommand_1 = require("./commands/GetAccountStateCommand");
19
20
  const GetAdminPhoneStatusCommand_1 = require("./commands/GetAdminPhoneStatusCommand");
20
21
  const GetAiContextMatchCommand_1 = require("./commands/GetAiContextMatchCommand");
21
22
  const GetChatSettingsCommand_1 = require("./commands/GetChatSettingsCommand");
@@ -38,6 +39,7 @@ const InitUserCommand_1 = require("./commands/InitUserCommand");
38
39
  const LinkEmailCommand_1 = require("./commands/LinkEmailCommand");
39
40
  const LinkSocialCommand_1 = require("./commands/LinkSocialCommand");
40
41
  const ListMyDevicesCommand_1 = require("./commands/ListMyDevicesCommand");
42
+ const RecordSuggestionCommand_1 = require("./commands/RecordSuggestionCommand");
41
43
  const RegisterDeviceCommand_1 = require("./commands/RegisterDeviceCommand");
42
44
  const RegisterPhoneCommand_1 = require("./commands/RegisterPhoneCommand");
43
45
  const RegisterPushTokenCommand_1 = require("./commands/RegisterPushTokenCommand");
@@ -47,6 +49,7 @@ const RequestPhoneOtpCommand_1 = require("./commands/RequestPhoneOtpCommand");
47
49
  const RequestPhoneUpdateOtpCommand_1 = require("./commands/RequestPhoneUpdateOtpCommand");
48
50
  const RevokeDeviceCommand_1 = require("./commands/RevokeDeviceCommand");
49
51
  const SendAdminLinkOtpCommand_1 = require("./commands/SendAdminLinkOtpCommand");
52
+ const SetAccountStateCommand_1 = require("./commands/SetAccountStateCommand");
50
53
  const SwipeByUsernameCommand_1 = require("./commands/SwipeByUsernameCommand");
51
54
  const SwipeCommand_1 = require("./commands/SwipeCommand");
52
55
  const UnhookCommand_1 = require("./commands/UnhookCommand");
@@ -77,6 +80,7 @@ const commands = {
77
80
  AuthSocialCommand: AuthSocialCommand_1.AuthSocialCommand,
78
81
  CreateAdminInviteCommand: CreateAdminInviteCommand_1.CreateAdminInviteCommand,
79
82
  GenerateInviteCommand: GenerateInviteCommand_1.GenerateInviteCommand,
83
+ GetAccountStateCommand: GetAccountStateCommand_1.GetAccountStateCommand,
80
84
  GetAdminPhoneStatusCommand: GetAdminPhoneStatusCommand_1.GetAdminPhoneStatusCommand,
81
85
  GetCredentialReadinessCommand: GetCredentialReadinessCommand_1.GetCredentialReadinessCommand,
82
86
  GetUserCommand: GetUserCommand_1.GetUserCommand,
@@ -89,6 +93,7 @@ const commands = {
89
93
  RequestPhoneOtpCommand: RequestPhoneOtpCommand_1.RequestPhoneOtpCommand,
90
94
  RequestPhoneUpdateOtpCommand: RequestPhoneUpdateOtpCommand_1.RequestPhoneUpdateOtpCommand,
91
95
  SendAdminLinkOtpCommand: SendAdminLinkOtpCommand_1.SendAdminLinkOtpCommand,
96
+ SetAccountStateCommand: SetAccountStateCommand_1.SetAccountStateCommand,
92
97
  UnlinkSocialCommand: UnlinkSocialCommand_1.UnlinkSocialCommand,
93
98
  UpdateEntitlementsCommand: UpdateEntitlementsCommand_1.UpdateEntitlementsCommand,
94
99
  UpdatePhoneNumberCommand: UpdatePhoneNumberCommand_1.UpdatePhoneNumberCommand,
@@ -101,6 +106,7 @@ const commands = {
101
106
  GetReceivedLikesCommand: GetReceivedLikesCommand_1.GetReceivedLikesCommand,
102
107
  GetRosesCommand: GetRosesCommand_1.GetRosesCommand,
103
108
  IndexLocationCommand: IndexLocationCommand_1.IndexLocationCommand,
109
+ RecordSuggestionCommand: RecordSuggestionCommand_1.RecordSuggestionCommand,
104
110
  RemoveLocationCommand: RemoveLocationCommand_1.RemoveLocationCommand,
105
111
  SwipeCommand: SwipeCommand_1.SwipeCommand,
106
112
  SwipeByUsernameCommand: SwipeByUsernameCommand_1.SwipeByUsernameCommand,
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetAccountStateCommand = exports.$Command = void 0;
4
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ class GetAccountStateCommand extends smithy_client_1.Command.classBuilder()
9
+ .m(function (Command, cs, config, o) {
10
+ return [
11
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
+ ];
13
+ })
14
+ .s("OneHookService", "GetAccountState", {})
15
+ .n("OneHookClient", "GetAccountStateCommand")
16
+ .f(void 0, void 0)
17
+ .ser(Aws_restJson1_1.se_GetAccountStateCommand)
18
+ .de(Aws_restJson1_1.de_GetAccountStateCommand)
19
+ .build() {
20
+ }
21
+ exports.GetAccountStateCommand = GetAccountStateCommand;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RecordSuggestionCommand = 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 RecordSuggestionCommand 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", "RecordSuggestion", {})
15
+ .n("OneHookClient", "RecordSuggestionCommand")
16
+ .f(void 0, void 0)
17
+ .ser(Aws_restJson1_1.se_RecordSuggestionCommand)
18
+ .de(Aws_restJson1_1.de_RecordSuggestionCommand)
19
+ .build() {
20
+ }
21
+ exports.RecordSuggestionCommand = RecordSuggestionCommand;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SetAccountStateCommand = exports.$Command = void 0;
4
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ class SetAccountStateCommand extends smithy_client_1.Command.classBuilder()
9
+ .m(function (Command, cs, config, o) {
10
+ return [
11
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
+ ];
13
+ })
14
+ .s("OneHookService", "SetAccountState", {})
15
+ .n("OneHookClient", "SetAccountStateCommand")
16
+ .f(void 0, void 0)
17
+ .ser(Aws_restJson1_1.se_SetAccountStateCommand)
18
+ .de(Aws_restJson1_1.de_SetAccountStateCommand)
19
+ .build() {
20
+ }
21
+ exports.SetAccountStateCommand = SetAccountStateCommand;
@@ -16,6 +16,7 @@ tslib_1.__exportStar(require("./UpdateChatSettingsCommand"), exports);
16
16
  tslib_1.__exportStar(require("./AuthSocialCommand"), exports);
17
17
  tslib_1.__exportStar(require("./CreateAdminInviteCommand"), exports);
18
18
  tslib_1.__exportStar(require("./GenerateInviteCommand"), exports);
19
+ tslib_1.__exportStar(require("./GetAccountStateCommand"), exports);
19
20
  tslib_1.__exportStar(require("./GetAdminPhoneStatusCommand"), exports);
20
21
  tslib_1.__exportStar(require("./GetCredentialReadinessCommand"), exports);
21
22
  tslib_1.__exportStar(require("./GetUserCommand"), exports);
@@ -28,6 +29,7 @@ tslib_1.__exportStar(require("./RequestEmailOtpCommand"), exports);
28
29
  tslib_1.__exportStar(require("./RequestPhoneOtpCommand"), exports);
29
30
  tslib_1.__exportStar(require("./RequestPhoneUpdateOtpCommand"), exports);
30
31
  tslib_1.__exportStar(require("./SendAdminLinkOtpCommand"), exports);
32
+ tslib_1.__exportStar(require("./SetAccountStateCommand"), exports);
31
33
  tslib_1.__exportStar(require("./UnlinkSocialCommand"), exports);
32
34
  tslib_1.__exportStar(require("./UpdateEntitlementsCommand"), exports);
33
35
  tslib_1.__exportStar(require("./UpdatePhoneNumberCommand"), exports);
@@ -40,6 +42,7 @@ tslib_1.__exportStar(require("./GetPreferencesCommand"), exports);
40
42
  tslib_1.__exportStar(require("./GetReceivedLikesCommand"), exports);
41
43
  tslib_1.__exportStar(require("./GetRosesCommand"), exports);
42
44
  tslib_1.__exportStar(require("./IndexLocationCommand"), exports);
45
+ tslib_1.__exportStar(require("./RecordSuggestionCommand"), exports);
43
46
  tslib_1.__exportStar(require("./RemoveLocationCommand"), exports);
44
47
  tslib_1.__exportStar(require("./SwipeCommand"), exports);
45
48
  tslib_1.__exportStar(require("./SwipeByUsernameCommand"), exports);
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SubscriptionTier = exports.CredentialGap = exports.PushTokenKind = exports.DeviceLimitError = exports.Platform = exports.LastSeenVisibility = exports.MediaKind = exports.ForbiddenError = exports.NotFoundError = exports.InternalServerError = exports.BadRequestError = void 0;
3
+ exports.SuggestionBasis = exports.MatchFinder = exports.DiscoveryCategory = exports.SubscriptionTier = exports.ConflictError = exports.CredentialGap = exports.AccountState = exports.PushTokenKind = exports.DeviceLimitError = exports.Platform = exports.LastSeenVisibility = exports.MediaKind = exports.ForbiddenError = exports.NotFoundError = exports.InternalServerError = exports.BadRequestError = void 0;
4
4
  const OneHookServiceException_1 = require("./OneHookServiceException");
5
5
  class BadRequestError extends OneHookServiceException_1.OneHookServiceException {
6
6
  name = "BadRequestError";
@@ -97,14 +97,49 @@ exports.PushTokenKind = {
97
97
  ALERT: "ALERT",
98
98
  VOIP: "VOIP",
99
99
  };
100
+ exports.AccountState = {
101
+ ACTIVE: "ACTIVE",
102
+ BANNED: "BANNED",
103
+ RESTRICTED: "RESTRICTED",
104
+ SUSPENDED: "SUSPENDED",
105
+ };
100
106
  exports.CredentialGap = {
101
107
  NO_COGNITO_USERNAME_ON_PROFILE: "NO_COGNITO_USERNAME_ON_PROFILE",
102
108
  PHONE_NOT_VERIFIED: "PHONE_NOT_VERIFIED",
103
109
  USERNAME_MISMATCHED_IN_COGNITO: "USERNAME_MISMATCHED_IN_COGNITO",
104
110
  USERNAME_NOT_SYNCED_TO_COGNITO: "USERNAME_NOT_SYNCED_TO_COGNITO",
105
111
  };
112
+ class ConflictError extends OneHookServiceException_1.OneHookServiceException {
113
+ name = "ConflictError";
114
+ $fault = "client";
115
+ error;
116
+ constructor(opts) {
117
+ super({
118
+ name: "ConflictError",
119
+ $fault: "client",
120
+ ...opts
121
+ });
122
+ Object.setPrototypeOf(this, ConflictError.prototype);
123
+ this.error = opts.error;
124
+ }
125
+ }
126
+ exports.ConflictError = ConflictError;
106
127
  exports.SubscriptionTier = {
107
128
  INFINITY: "INFINITY",
108
129
  MUST: "MUST",
109
130
  SUPER: "SUPER",
110
131
  };
132
+ exports.DiscoveryCategory = {
133
+ ALL: "ALL",
134
+ ONEHOOK_SUGGESTED: "ONEHOOK_SUGGESTED",
135
+ PROFILE_MATCH: "PROFILE_MATCH",
136
+ SIMILAR: "SIMILAR",
137
+ };
138
+ exports.MatchFinder = {
139
+ MR_ONEHOOK: "MR_ONEHOOK",
140
+ ONEHOOK_INTELLIGENCE: "ONEHOOK_INTELLIGENCE",
141
+ };
142
+ exports.SuggestionBasis = {
143
+ EXPLICIT_REQUEST: "EXPLICIT_REQUEST",
144
+ INFERRED_INCLINATION: "INFERRED_INCLINATION",
145
+ };
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.se_GetMyProfileCommand = exports.se_GetLivenessStatusCommand = exports.se_GenerateUploadUrlCommand = exports.se_GenerateDownloadUrlCommand = exports.se_DeleteProfileCommand = exports.se_CreateLivenessSessionCommand = exports.se_CompleteLivenessSessionCommand = exports.se_UpdatePreferencesCommand = exports.se_SwipeByUsernameCommand = exports.se_SwipeCommand = exports.se_RemoveLocationCommand = exports.se_IndexLocationCommand = exports.se_GetRosesCommand = exports.se_GetReceivedLikesCommand = exports.se_GetPreferencesCommand = exports.se_GetNotificationPreferencesCommand = exports.se_DiscoverCommand = exports.se_VerifyAdminLinkOtpCommand = exports.se_ValidateInviteCommand = exports.se_UpdateUsernameCommand = exports.se_UpdatePhoneNumberCommand = exports.se_UpdateEntitlementsCommand = exports.se_UnlinkSocialCommand = exports.se_SendAdminLinkOtpCommand = exports.se_RequestPhoneUpdateOtpCommand = exports.se_RequestPhoneOtpCommand = exports.se_RequestEmailOtpCommand = exports.se_RegisterPhoneCommand = exports.se_LinkSocialCommand = exports.se_LinkEmailCommand = exports.se_GetUserIdByUsernameCommand = exports.se_GetUserByEmailCommand = exports.se_GetUserCommand = exports.se_GetCredentialReadinessCommand = exports.se_GetAdminPhoneStatusCommand = exports.se_GenerateInviteCommand = exports.se_CreateAdminInviteCommand = exports.se_AuthSocialCommand = exports.se_UpdateChatSettingsCommand = exports.se_RevokeDeviceCommand = exports.se_RegisterPushTokenCommand = exports.se_RegisterDeviceCommand = exports.se_ListMyDevicesCommand = exports.se_GetParticipantRegistryCommand = exports.se_GetChatSettingsCommand = exports.se_DeletePushTokenCommand = exports.se_DeleteMatchMessagesCommand = exports.se_CreateMediaUploadUrlCommand = exports.se_CreateMediaDownloadUrlCommand = exports.se_GetAiContextMatchCommand = void 0;
4
- exports.de_SwipeByUsernameCommand = exports.de_SwipeCommand = exports.de_RemoveLocationCommand = exports.de_IndexLocationCommand = exports.de_GetRosesCommand = exports.de_GetReceivedLikesCommand = exports.de_GetPreferencesCommand = exports.de_GetNotificationPreferencesCommand = exports.de_DiscoverCommand = exports.de_VerifyAdminLinkOtpCommand = exports.de_ValidateInviteCommand = exports.de_UpdateUsernameCommand = exports.de_UpdatePhoneNumberCommand = exports.de_UpdateEntitlementsCommand = exports.de_UnlinkSocialCommand = exports.de_SendAdminLinkOtpCommand = exports.de_RequestPhoneUpdateOtpCommand = exports.de_RequestPhoneOtpCommand = exports.de_RequestEmailOtpCommand = exports.de_RegisterPhoneCommand = exports.de_LinkSocialCommand = exports.de_LinkEmailCommand = exports.de_GetUserIdByUsernameCommand = exports.de_GetUserByEmailCommand = exports.de_GetUserCommand = exports.de_GetCredentialReadinessCommand = exports.de_GetAdminPhoneStatusCommand = exports.de_GenerateInviteCommand = exports.de_CreateAdminInviteCommand = exports.de_AuthSocialCommand = exports.de_UpdateChatSettingsCommand = exports.de_RevokeDeviceCommand = exports.de_RegisterPushTokenCommand = exports.de_RegisterDeviceCommand = exports.de_ListMyDevicesCommand = exports.de_GetParticipantRegistryCommand = exports.de_GetChatSettingsCommand = exports.de_DeletePushTokenCommand = exports.de_DeleteMatchMessagesCommand = exports.de_CreateMediaUploadUrlCommand = exports.de_CreateMediaDownloadUrlCommand = exports.de_GetAiContextMatchCommand = exports.se_UpgradeUserCommand = exports.se_UnhookCommand = exports.se_InitUserCommand = exports.se_GetStateCommand = exports.se_GetMatchCommand = exports.se_CompleteOnboardingCommand = exports.se_UpdateProfileCommand = exports.se_GetProfileCommand = void 0;
5
- exports.de_UpgradeUserCommand = exports.de_UnhookCommand = exports.de_InitUserCommand = exports.de_GetStateCommand = exports.de_GetMatchCommand = exports.de_CompleteOnboardingCommand = exports.de_UpdateProfileCommand = exports.de_GetProfileCommand = exports.de_GetMyProfileCommand = exports.de_GetLivenessStatusCommand = exports.de_GenerateUploadUrlCommand = exports.de_GenerateDownloadUrlCommand = exports.de_DeleteProfileCommand = exports.de_CreateLivenessSessionCommand = exports.de_CompleteLivenessSessionCommand = exports.de_UpdatePreferencesCommand = void 0;
3
+ exports.se_GenerateDownloadUrlCommand = exports.se_DeleteProfileCommand = exports.se_CreateLivenessSessionCommand = exports.se_CompleteLivenessSessionCommand = exports.se_UpdatePreferencesCommand = exports.se_SwipeByUsernameCommand = exports.se_SwipeCommand = exports.se_RemoveLocationCommand = exports.se_RecordSuggestionCommand = exports.se_IndexLocationCommand = exports.se_GetRosesCommand = exports.se_GetReceivedLikesCommand = exports.se_GetPreferencesCommand = exports.se_GetNotificationPreferencesCommand = exports.se_DiscoverCommand = exports.se_VerifyAdminLinkOtpCommand = exports.se_ValidateInviteCommand = exports.se_UpdateUsernameCommand = exports.se_UpdatePhoneNumberCommand = exports.se_UpdateEntitlementsCommand = exports.se_UnlinkSocialCommand = exports.se_SetAccountStateCommand = exports.se_SendAdminLinkOtpCommand = exports.se_RequestPhoneUpdateOtpCommand = exports.se_RequestPhoneOtpCommand = exports.se_RequestEmailOtpCommand = exports.se_RegisterPhoneCommand = exports.se_LinkSocialCommand = exports.se_LinkEmailCommand = exports.se_GetUserIdByUsernameCommand = exports.se_GetUserByEmailCommand = exports.se_GetUserCommand = exports.se_GetCredentialReadinessCommand = exports.se_GetAdminPhoneStatusCommand = exports.se_GetAccountStateCommand = exports.se_GenerateInviteCommand = exports.se_CreateAdminInviteCommand = exports.se_AuthSocialCommand = exports.se_UpdateChatSettingsCommand = exports.se_RevokeDeviceCommand = exports.se_RegisterPushTokenCommand = exports.se_RegisterDeviceCommand = exports.se_ListMyDevicesCommand = exports.se_GetParticipantRegistryCommand = exports.se_GetChatSettingsCommand = exports.se_DeletePushTokenCommand = exports.se_DeleteMatchMessagesCommand = exports.se_CreateMediaUploadUrlCommand = exports.se_CreateMediaDownloadUrlCommand = exports.se_GetAiContextMatchCommand = void 0;
4
+ exports.de_GetReceivedLikesCommand = exports.de_GetPreferencesCommand = exports.de_GetNotificationPreferencesCommand = exports.de_DiscoverCommand = exports.de_VerifyAdminLinkOtpCommand = exports.de_ValidateInviteCommand = exports.de_UpdateUsernameCommand = exports.de_UpdatePhoneNumberCommand = exports.de_UpdateEntitlementsCommand = exports.de_UnlinkSocialCommand = exports.de_SetAccountStateCommand = exports.de_SendAdminLinkOtpCommand = exports.de_RequestPhoneUpdateOtpCommand = exports.de_RequestPhoneOtpCommand = exports.de_RequestEmailOtpCommand = exports.de_RegisterPhoneCommand = exports.de_LinkSocialCommand = exports.de_LinkEmailCommand = exports.de_GetUserIdByUsernameCommand = exports.de_GetUserByEmailCommand = exports.de_GetUserCommand = exports.de_GetCredentialReadinessCommand = exports.de_GetAdminPhoneStatusCommand = exports.de_GetAccountStateCommand = exports.de_GenerateInviteCommand = exports.de_CreateAdminInviteCommand = exports.de_AuthSocialCommand = exports.de_UpdateChatSettingsCommand = exports.de_RevokeDeviceCommand = exports.de_RegisterPushTokenCommand = exports.de_RegisterDeviceCommand = exports.de_ListMyDevicesCommand = exports.de_GetParticipantRegistryCommand = exports.de_GetChatSettingsCommand = exports.de_DeletePushTokenCommand = exports.de_DeleteMatchMessagesCommand = exports.de_CreateMediaUploadUrlCommand = exports.de_CreateMediaDownloadUrlCommand = exports.de_GetAiContextMatchCommand = exports.se_UpgradeUserCommand = exports.se_UnhookCommand = exports.se_InitUserCommand = exports.se_GetStateCommand = exports.se_GetMatchCommand = exports.se_CompleteOnboardingCommand = exports.se_UpdateProfileCommand = exports.se_GetProfileCommand = exports.se_GetMyProfileCommand = exports.se_GetLivenessStatusCommand = exports.se_GenerateUploadUrlCommand = void 0;
5
+ exports.de_UpgradeUserCommand = exports.de_UnhookCommand = exports.de_InitUserCommand = exports.de_GetStateCommand = exports.de_GetMatchCommand = exports.de_CompleteOnboardingCommand = exports.de_UpdateProfileCommand = exports.de_GetProfileCommand = exports.de_GetMyProfileCommand = exports.de_GetLivenessStatusCommand = exports.de_GenerateUploadUrlCommand = exports.de_GenerateDownloadUrlCommand = exports.de_DeleteProfileCommand = exports.de_CreateLivenessSessionCommand = exports.de_CompleteLivenessSessionCommand = exports.de_UpdatePreferencesCommand = exports.de_SwipeByUsernameCommand = exports.de_SwipeCommand = exports.de_RemoveLocationCommand = exports.de_RecordSuggestionCommand = exports.de_IndexLocationCommand = exports.de_GetRosesCommand = void 0;
6
6
  const OneHookServiceException_1 = require("../models/OneHookServiceException");
7
7
  const models_0_1 = require("../models/models_0");
8
8
  const core_1 = require("@aws-sdk/core");
@@ -247,6 +247,18 @@ const se_GenerateInviteCommand = async (input, context) => {
247
247
  return b.build();
248
248
  };
249
249
  exports.se_GenerateInviteCommand = se_GenerateInviteCommand;
250
+ const se_GetAccountStateCommand = async (input, context) => {
251
+ const b = (0, core_2.requestBuilder)(input, context);
252
+ const headers = {};
253
+ b.bp("/identity/admin/users/{userId}/account-state");
254
+ b.p('userId', () => input.userId, '{userId}', false);
255
+ let body;
256
+ b.m("GET")
257
+ .h(headers)
258
+ .b(body);
259
+ return b.build();
260
+ };
261
+ exports.se_GetAccountStateCommand = se_GetAccountStateCommand;
250
262
  const se_GetAdminPhoneStatusCommand = async (input, context) => {
251
263
  const b = (0, core_2.requestBuilder)(input, context);
252
264
  const headers = {
@@ -426,6 +438,27 @@ const se_SendAdminLinkOtpCommand = async (input, context) => {
426
438
  return b.build();
427
439
  };
428
440
  exports.se_SendAdminLinkOtpCommand = se_SendAdminLinkOtpCommand;
441
+ const se_SetAccountStateCommand = async (input, context) => {
442
+ const b = (0, core_2.requestBuilder)(input, context);
443
+ const headers = {
444
+ 'content-type': 'application/json',
445
+ };
446
+ b.bp("/identity/admin/users/{userId}/account-state");
447
+ b.p('userId', () => input.userId, '{userId}', false);
448
+ let body;
449
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
450
+ 'actor': [],
451
+ 'expectedVersion': [],
452
+ 'reasonCode': [],
453
+ 'state': [],
454
+ 'until': [],
455
+ }));
456
+ b.m("POST")
457
+ .h(headers)
458
+ .b(body);
459
+ return b.build();
460
+ };
461
+ exports.se_SetAccountStateCommand = se_SetAccountStateCommand;
429
462
  const se_UnlinkSocialCommand = async (input, context) => {
430
463
  const b = (0, core_2.requestBuilder)(input, context);
431
464
  const headers = {};
@@ -527,6 +560,7 @@ const se_DiscoverCommand = async (input, context) => {
527
560
  const query = (0, smithy_client_1.map)({
528
561
  [_l]: [(0, smithy_client_1.expectNonNull)(input.lat, `lat`) != null, () => ((input[_l] % 1 == 0) ? input[_l] + ".0" : input[_l].toString())],
529
562
  [_lo]: [(0, smithy_client_1.expectNonNull)(input.lon, `lon`) != null, () => ((input[_lo] % 1 == 0) ? input[_lo] + ".0" : input[_lo].toString())],
563
+ [_c]: [, input[_c]],
530
564
  });
531
565
  let body;
532
566
  b.m("GET")
@@ -599,6 +633,23 @@ const se_IndexLocationCommand = async (input, context) => {
599
633
  return b.build();
600
634
  };
601
635
  exports.se_IndexLocationCommand = se_IndexLocationCommand;
636
+ const se_RecordSuggestionCommand = async (input, context) => {
637
+ const b = (0, core_2.requestBuilder)(input, context);
638
+ const headers = {
639
+ 'content-type': 'application/json',
640
+ };
641
+ b.bp("/matching/suggestions");
642
+ let body;
643
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
644
+ 'prompt': [],
645
+ 'reasoning': [],
646
+ }));
647
+ b.m("POST")
648
+ .h(headers)
649
+ .b(body);
650
+ return b.build();
651
+ };
652
+ exports.se_RecordSuggestionCommand = se_RecordSuggestionCommand;
602
653
  const se_RemoveLocationCommand = async (input, context) => {
603
654
  const b = (0, core_2.requestBuilder)(input, context);
604
655
  const headers = {
@@ -1176,6 +1227,24 @@ const de_GenerateInviteCommand = async (output, context) => {
1176
1227
  return contents;
1177
1228
  };
1178
1229
  exports.de_GenerateInviteCommand = de_GenerateInviteCommand;
1230
+ const de_GetAccountStateCommand = async (output, context) => {
1231
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1232
+ return de_CommandError(output, context);
1233
+ }
1234
+ const contents = (0, smithy_client_1.map)({
1235
+ $metadata: deserializeMetadata(output),
1236
+ });
1237
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1238
+ const doc = (0, smithy_client_1.take)(data, {
1239
+ 'reasonCode': smithy_client_1.expectString,
1240
+ 'state': smithy_client_1.expectString,
1241
+ 'until': smithy_client_1.expectLong,
1242
+ 'version': smithy_client_1.expectInt32,
1243
+ });
1244
+ Object.assign(contents, doc);
1245
+ return contents;
1246
+ };
1247
+ exports.de_GetAccountStateCommand = de_GetAccountStateCommand;
1179
1248
  const de_GetAdminPhoneStatusCommand = async (output, context) => {
1180
1249
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1181
1250
  return de_CommandError(output, context);
@@ -1377,6 +1446,23 @@ const de_SendAdminLinkOtpCommand = async (output, context) => {
1377
1446
  return contents;
1378
1447
  };
1379
1448
  exports.de_SendAdminLinkOtpCommand = de_SendAdminLinkOtpCommand;
1449
+ const de_SetAccountStateCommand = async (output, context) => {
1450
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1451
+ return de_CommandError(output, context);
1452
+ }
1453
+ const contents = (0, smithy_client_1.map)({
1454
+ $metadata: deserializeMetadata(output),
1455
+ });
1456
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1457
+ const doc = (0, smithy_client_1.take)(data, {
1458
+ 'state': smithy_client_1.expectString,
1459
+ 'until': smithy_client_1.expectLong,
1460
+ 'version': smithy_client_1.expectInt32,
1461
+ });
1462
+ Object.assign(contents, doc);
1463
+ return contents;
1464
+ };
1465
+ exports.de_SetAccountStateCommand = de_SetAccountStateCommand;
1380
1466
  const de_UnlinkSocialCommand = async (output, context) => {
1381
1467
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1382
1468
  return de_CommandError(output, context);
@@ -1485,7 +1571,9 @@ const de_DiscoverCommand = async (output, context) => {
1485
1571
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1486
1572
  const doc = (0, smithy_client_1.take)(data, {
1487
1573
  'algorithm': smithy_client_1.expectString,
1574
+ 'availableCategories': smithy_client_1._json,
1488
1575
  'candidates': _ => de_CandidateList(_, context),
1576
+ 'category': smithy_client_1.expectString,
1489
1577
  'count': smithy_client_1.expectInt32,
1490
1578
  });
1491
1579
  Object.assign(contents, doc);
@@ -1605,6 +1693,21 @@ const de_IndexLocationCommand = async (output, context) => {
1605
1693
  return contents;
1606
1694
  };
1607
1695
  exports.de_IndexLocationCommand = de_IndexLocationCommand;
1696
+ const de_RecordSuggestionCommand = async (output, context) => {
1697
+ if (output.statusCode !== 201 && output.statusCode >= 300) {
1698
+ return de_CommandError(output, context);
1699
+ }
1700
+ const contents = (0, smithy_client_1.map)({
1701
+ $metadata: deserializeMetadata(output),
1702
+ });
1703
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1704
+ const doc = (0, smithy_client_1.take)(data, {
1705
+ 'suggestionId': smithy_client_1.expectString,
1706
+ });
1707
+ Object.assign(contents, doc);
1708
+ return contents;
1709
+ };
1710
+ exports.de_RecordSuggestionCommand = de_RecordSuggestionCommand;
1608
1711
  const de_RemoveLocationCommand = async (output, context) => {
1609
1712
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1610
1713
  return de_CommandError(output, context);
@@ -2011,6 +2114,9 @@ const de_CommandError = async (output, context) => {
2011
2114
  case "DeviceLimitError":
2012
2115
  case "club.onehook.chat#DeviceLimitError":
2013
2116
  throw await de_DeviceLimitErrorRes(parsedOutput, context);
2117
+ case "ConflictError":
2118
+ case "club.onehook.identity#ConflictError":
2119
+ throw await de_ConflictErrorRes(parsedOutput, context);
2014
2120
  default:
2015
2121
  const parsedBody = parsedOutput.body;
2016
2122
  return throwDefaultError({
@@ -2060,6 +2166,19 @@ const de_BadRequestErrorRes = async (parsedOutput, context) => {
2060
2166
  });
2061
2167
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2062
2168
  };
2169
+ const de_ConflictErrorRes = async (parsedOutput, context) => {
2170
+ const contents = (0, smithy_client_1.map)({});
2171
+ const data = parsedOutput.body;
2172
+ const doc = (0, smithy_client_1.take)(data, {
2173
+ 'error': smithy_client_1.expectString,
2174
+ });
2175
+ Object.assign(contents, doc);
2176
+ const exception = new models_0_1.ConflictError({
2177
+ $metadata: deserializeMetadata(parsedOutput),
2178
+ ...contents
2179
+ });
2180
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2181
+ };
2063
2182
  const de_InternalServerErrorRes = async (parsedOutput, context) => {
2064
2183
  const contents = (0, smithy_client_1.map)({});
2065
2184
  const data = parsedOutput.body;
@@ -2089,7 +2208,13 @@ const de_NotFoundErrorRes = async (parsedOutput, context) => {
2089
2208
  const de_CandidateDto = (output, context) => {
2090
2209
  return (0, smithy_client_1.take)(output, {
2091
2210
  'distanceKm': smithy_client_1.limitedParseDouble,
2211
+ 'matchFinder': smithy_client_1.expectString,
2212
+ 'matchFinderLabel': smithy_client_1.expectString,
2213
+ 'reasoning': smithy_client_1.expectString,
2092
2214
  'score': smithy_client_1.limitedParseDouble,
2215
+ 'similarity': smithy_client_1.limitedParseDouble,
2216
+ 'suggestionBasis': smithy_client_1.expectString,
2217
+ 'suggestionId': smithy_client_1.expectString,
2093
2218
  'userId': smithy_client_1.expectString,
2094
2219
  });
2095
2220
  };
@@ -2106,6 +2231,7 @@ const deserializeMetadata = (output) => ({
2106
2231
  cfId: output.headers["x-amz-cf-id"],
2107
2232
  });
2108
2233
  const collectBodyString = (streamBody, context) => (0, smithy_client_1.collectBody)(streamBody, context).then(body => context.utf8Encoder(body));
2234
+ const _c = "category";
2109
2235
  const _k = "key";
2110
2236
  const _l = "lat";
2111
2237
  const _lo = "lon";
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.isUiElementId = exports.TELEMETRY_EXEMPT_CATEGORIES = exports.uiElementsForPlatform = exports.UI_ELEMENTS = exports.UiElement = exports.HookedStateAction = exports.NotificationChannel = exports.NotificationType = exports.CardVariant = exports.SafetyAction = exports.LikeTargetType = exports.ProfileSection = exports.MediaType = exports.SwipeDirection = exports.UiElementKind = exports.UiAction = exports.TabScreen = exports.ViewableScreen = exports.Screen = exports.Platform = exports.SignalType = exports.TELEMETRY_CATALOG_HASH = exports.TELEMETRY_CATALOG_VERSION = void 0;
4
- exports.TELEMETRY_CATALOG_VERSION = "1.4.0";
5
- exports.TELEMETRY_CATALOG_HASH = "5cf9f7740c92eebe";
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.7.0";
5
+ exports.TELEMETRY_CATALOG_HASH = "4a3328962531236a";
6
6
  exports.SignalType = {
7
7
  SCREEN_VIEW: "screen_view",
8
8
  UI_INTERACTION: "ui_interaction",
@@ -22,6 +22,7 @@ exports.SignalType = {
22
22
  HOOKED_STATE_VIEW: "hooked_state_view",
23
23
  LIKES_YOU_VIEW: "likes_you_view",
24
24
  SAFETY_UI_OPEN: "safety_ui_open",
25
+ REPORT_FLOW: "report_flow",
25
26
  };
26
27
  exports.Platform = {
27
28
  WEB: "web",
@@ -156,6 +157,39 @@ exports.HookedStateAction = {
156
157
  GO_TO_CHAT: "go_to_chat",
157
158
  DISMISS: "dismiss",
158
159
  };
160
+ exports.ReportCategory = {
161
+ HARASSMENT: "HARASSMENT",
162
+ THREATS_VIOLENCE: "THREATS_VIOLENCE",
163
+ SEXUAL_CONTENT_NONCONSENT: "SEXUAL_CONTENT_NONCONSENT",
164
+ MINOR_SAFETY: "MINOR_SAFETY",
165
+ SCAM_FRAUD: "SCAM_FRAUD",
166
+ FAKE_IMPERSONATION: "FAKE_IMPERSONATION",
167
+ SPAM_PROMOTION: "SPAM_PROMOTION",
168
+ HATE: "HATE",
169
+ SELF_HARM_CONCERN: "SELF_HARM_CONCERN",
170
+ OFF_PLATFORM_HARM: "OFF_PLATFORM_HARM",
171
+ OTHER: "OTHER",
172
+ };
173
+ exports.ReportSource = {
174
+ CHAT: "chat",
175
+ PROFILE: "profile",
176
+ };
177
+ exports.ReportEvent = {
178
+ REPORT_OPEN: "report.open",
179
+ REPORT_CATEGORY_SELECTED: "report.category_selected",
180
+ REPORT_NOT_REPORTABLE_SHOWN: "report.not_reportable_shown",
181
+ REPORT_NOT_REPORTABLE_BLOCK: "report.not_reportable_block",
182
+ REPORT_SELF_HARM_RESOURCES_SHOWN: "report.self_harm_resources_shown",
183
+ REPORT_EVIDENCE_TOGGLE: "report.evidence_toggle",
184
+ REPORT_ATTACHMENTS_TOGGLE: "report.attachments_toggle",
185
+ REPORT_EVIDENCE_PREVIEW: "report.evidence_preview",
186
+ REPORT_NUDGE_SHOWN: "report.nudge_shown",
187
+ REPORT_SUBMIT_WITH_EVIDENCE: "report.submit_with_evidence",
188
+ REPORT_SUBMIT_WITHOUT_EVIDENCE: "report.submit_without_evidence",
189
+ REPORT_SUBMIT_FAILED: "report.submit_failed",
190
+ REPORT_EVIDENCE_UPLOAD_SUCCEEDED: "report.evidence_upload_succeeded",
191
+ REPORT_EVIDENCE_UPLOAD_FAILED: "report.evidence_upload_failed",
192
+ };
159
193
  exports.UiElement = {
160
194
  NAV_TAB_SELECT: "nav.tab_select",
161
195
  NAV_SEARCH_OPEN: "nav.search_open",
@@ -210,6 +244,7 @@ exports.UiElement = {
210
244
  ADMISSIONS_STATUS_REFRESH: "admissions_status.refresh",
211
245
  ADMISSIONS_STATUS_CONTINUE_INVITE: "admissions_status.continue_invite",
212
246
  ADMISSIONS_STATUS_WITHDRAW: "admissions_status.withdraw",
247
+ ADMISSIONS_STATUS_TRAINING_OPT_OUT: "admissions_status.training_opt_out",
213
248
  ONBOARDING_NEXT: "onboarding.next",
214
249
  ONBOARDING_BACK: "onboarding.back",
215
250
  ONBOARDING_FINISH: "onboarding.finish",
@@ -260,6 +295,8 @@ exports.UiElement = {
260
295
  CHAT_PROFILE_OPEN: "chat.profile_open",
261
296
  CHAT_SAFETY_MENU_OPEN: "chat.safety_menu_open",
262
297
  CHAT_UNMATCH: "chat.unmatch",
298
+ CHAT_REPORT_OPEN: "chat.report_open",
299
+ CHAT_BLOCK_OPEN: "chat.block_open",
263
300
  CHAT_REPORT_SPAM: "chat.report_spam",
264
301
  CHAT_REPORT_BLOCK: "chat.report_block",
265
302
  CHAT_BLOCK_CONFIRM: "chat.block_confirm",
@@ -450,6 +487,7 @@ exports.UI_ELEMENTS = {
450
487
  "admissions_status.refresh": { screen: "ADMISSIONS_STATUS", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
451
488
  "admissions_status.continue_invite": { screen: "ADMISSIONS_STATUS", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
452
489
  "admissions_status.withdraw": { screen: "ADMISSIONS_STATUS", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
490
+ "admissions_status.training_opt_out": { screen: "ADMISSIONS_STATUS", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
453
491
  "onboarding.next": { screen: "ONBOARDING", kind: "button", actions: ["submit"], values: ["basics", "photos", "media", "prompts", "details"], platforms: ["web", "ios"] },
454
492
  "onboarding.back": { screen: "ONBOARDING", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios"] },
455
493
  "onboarding.finish": { screen: "ONBOARDING", kind: "button", actions: ["submit"], values: null, platforms: ["web", "ios", "android"] },
@@ -500,8 +538,10 @@ exports.UI_ELEMENTS = {
500
538
  "chat.profile_open": { screen: "CHAT", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
501
539
  "chat.safety_menu_open": { screen: "CHAT", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
502
540
  "chat.unmatch": { screen: "CHAT", kind: "menu_item", actions: ["tap"], values: null, platforms: ["ios", "android"] },
503
- "chat.report_spam": { screen: "CHAT", kind: "menu_item", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
504
- "chat.report_block": { screen: "CHAT", kind: "menu_item", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
541
+ "chat.report_open": { screen: "CHAT", kind: "menu_item", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
542
+ "chat.block_open": { screen: "CHAT", kind: "menu_item", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
543
+ "chat.report_spam": { screen: "CHAT", kind: "menu_item", actions: ["tap"], values: null, platforms: [] },
544
+ "chat.report_block": { screen: "CHAT", kind: "menu_item", actions: ["tap"], values: null, platforms: [] },
505
545
  "chat.block_confirm": { screen: "CHAT", kind: "dialog_button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
506
546
  "chat.settings_open": { screen: "CHAT", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios"] },
507
547
  "chat.wallpaper_open": { screen: "CHAT", kind: "menu_item", actions: ["tap", "dismiss"], values: null, platforms: ["web"] },
@@ -13,6 +13,7 @@ import { DiscoverCommand, } from "./commands/DiscoverCommand";
13
13
  import { GenerateDownloadUrlCommand, } from "./commands/GenerateDownloadUrlCommand";
14
14
  import { GenerateInviteCommand, } from "./commands/GenerateInviteCommand";
15
15
  import { GenerateUploadUrlCommand, } from "./commands/GenerateUploadUrlCommand";
16
+ import { GetAccountStateCommand, } from "./commands/GetAccountStateCommand";
16
17
  import { GetAdminPhoneStatusCommand, } from "./commands/GetAdminPhoneStatusCommand";
17
18
  import { GetAiContextMatchCommand, } from "./commands/GetAiContextMatchCommand";
18
19
  import { GetChatSettingsCommand, } from "./commands/GetChatSettingsCommand";
@@ -35,6 +36,7 @@ import { InitUserCommand, } from "./commands/InitUserCommand";
35
36
  import { LinkEmailCommand, } from "./commands/LinkEmailCommand";
36
37
  import { LinkSocialCommand, } from "./commands/LinkSocialCommand";
37
38
  import { ListMyDevicesCommand, } from "./commands/ListMyDevicesCommand";
39
+ import { RecordSuggestionCommand, } from "./commands/RecordSuggestionCommand";
38
40
  import { RegisterDeviceCommand, } from "./commands/RegisterDeviceCommand";
39
41
  import { RegisterPhoneCommand, } from "./commands/RegisterPhoneCommand";
40
42
  import { RegisterPushTokenCommand, } from "./commands/RegisterPushTokenCommand";
@@ -44,6 +46,7 @@ import { RequestPhoneOtpCommand, } from "./commands/RequestPhoneOtpCommand";
44
46
  import { RequestPhoneUpdateOtpCommand, } from "./commands/RequestPhoneUpdateOtpCommand";
45
47
  import { RevokeDeviceCommand, } from "./commands/RevokeDeviceCommand";
46
48
  import { SendAdminLinkOtpCommand, } from "./commands/SendAdminLinkOtpCommand";
49
+ import { SetAccountStateCommand, } from "./commands/SetAccountStateCommand";
47
50
  import { SwipeByUsernameCommand, } from "./commands/SwipeByUsernameCommand";
48
51
  import { SwipeCommand, } from "./commands/SwipeCommand";
49
52
  import { UnhookCommand, } from "./commands/UnhookCommand";
@@ -74,6 +77,7 @@ const commands = {
74
77
  AuthSocialCommand,
75
78
  CreateAdminInviteCommand,
76
79
  GenerateInviteCommand,
80
+ GetAccountStateCommand,
77
81
  GetAdminPhoneStatusCommand,
78
82
  GetCredentialReadinessCommand,
79
83
  GetUserCommand,
@@ -86,6 +90,7 @@ const commands = {
86
90
  RequestPhoneOtpCommand,
87
91
  RequestPhoneUpdateOtpCommand,
88
92
  SendAdminLinkOtpCommand,
93
+ SetAccountStateCommand,
89
94
  UnlinkSocialCommand,
90
95
  UpdateEntitlementsCommand,
91
96
  UpdatePhoneNumberCommand,
@@ -98,6 +103,7 @@ const commands = {
98
103
  GetReceivedLikesCommand,
99
104
  GetRosesCommand,
100
105
  IndexLocationCommand,
106
+ RecordSuggestionCommand,
101
107
  RemoveLocationCommand,
102
108
  SwipeCommand,
103
109
  SwipeByUsernameCommand,
@@ -0,0 +1,17 @@
1
+ import { de_GetAccountStateCommand, se_GetAccountStateCommand, } 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 GetAccountStateCommand extends $Command.classBuilder()
6
+ .m(function (Command, cs, config, o) {
7
+ return [
8
+ getSerdePlugin(config, this.serialize, this.deserialize),
9
+ ];
10
+ })
11
+ .s("OneHookService", "GetAccountState", {})
12
+ .n("OneHookClient", "GetAccountStateCommand")
13
+ .f(void 0, void 0)
14
+ .ser(se_GetAccountStateCommand)
15
+ .de(de_GetAccountStateCommand)
16
+ .build() {
17
+ }