onehook-api-client 1.0.28 → 1.0.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/README.md +28 -0
  2. package/dist-cjs/OneHook.js +8 -0
  3. package/dist-cjs/commands/DiscoverByIntentCommand.js +21 -0
  4. package/dist-cjs/commands/DiscoverSuggestedCommand.js +21 -0
  5. package/dist-cjs/commands/GetAccountStateCommand.js +21 -0
  6. package/dist-cjs/commands/SetAccountStateCommand.js +21 -0
  7. package/dist-cjs/commands/index.js +4 -0
  8. package/dist-cjs/models/models_0.js +30 -1
  9. package/dist-cjs/protocols/Aws_restJson1.js +159 -3
  10. package/dist-cjs/telemetry/index.js +4 -2
  11. package/dist-es/OneHook.js +8 -0
  12. package/dist-es/commands/DiscoverByIntentCommand.js +17 -0
  13. package/dist-es/commands/DiscoverSuggestedCommand.js +17 -0
  14. package/dist-es/commands/GetAccountStateCommand.js +17 -0
  15. package/dist-es/commands/SetAccountStateCommand.js +17 -0
  16. package/dist-es/commands/index.js +4 -0
  17. package/dist-es/models/models_0.js +28 -0
  18. package/dist-es/protocols/Aws_restJson1.js +149 -1
  19. package/dist-es/telemetry/index.js +4 -2
  20. package/dist-types/OneHook.d.ts +28 -0
  21. package/dist-types/OneHookClient.d.ts +6 -2
  22. package/dist-types/commands/DiscoverByIntentCommand.d.ts +97 -0
  23. package/dist-types/commands/DiscoverCommand.d.ts +4 -0
  24. package/dist-types/commands/DiscoverSuggestedCommand.d.ts +92 -0
  25. package/dist-types/commands/GetAccountStateCommand.d.ts +83 -0
  26. package/dist-types/commands/SetAccountStateCommand.d.ts +95 -0
  27. package/dist-types/commands/index.d.ts +4 -0
  28. package/dist-types/models/models_0.d.ts +172 -0
  29. package/dist-types/protocols/Aws_restJson1.d.ts +36 -0
  30. package/dist-types/telemetry/index.d.ts +3 -2
  31. package/package.json +1 -1
  32. package/telemetry/TelemetryCatalog.kt +5 -4
  33. package/telemetry/TelemetryCatalog.swift +6 -4
  34. package/telemetry/telemetry-catalog.json +17 -2
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
 
@@ -437,6 +451,20 @@ Discover
437
451
  </details>
438
452
  <details>
439
453
  <summary>
454
+ DiscoverByIntent
455
+ </summary>
456
+
457
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/onehook/command/DiscoverByIntentCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-onehook/Interface/DiscoverByIntentCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-onehook/Interface/DiscoverByIntentCommandOutput/)
458
+ </details>
459
+ <details>
460
+ <summary>
461
+ DiscoverSuggested
462
+ </summary>
463
+
464
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/onehook/command/DiscoverSuggestedCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-onehook/Interface/DiscoverSuggestedCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-onehook/Interface/DiscoverSuggestedCommandOutput/)
465
+ </details>
466
+ <details>
467
+ <summary>
440
468
  GetNotificationPreferences
441
469
  </summary>
442
470
 
@@ -12,10 +12,13 @@ const CreateMediaUploadUrlCommand_1 = require("./commands/CreateMediaUploadUrlCo
12
12
  const DeleteMatchMessagesCommand_1 = require("./commands/DeleteMatchMessagesCommand");
13
13
  const DeleteProfileCommand_1 = require("./commands/DeleteProfileCommand");
14
14
  const DeletePushTokenCommand_1 = require("./commands/DeletePushTokenCommand");
15
+ const DiscoverByIntentCommand_1 = require("./commands/DiscoverByIntentCommand");
15
16
  const DiscoverCommand_1 = require("./commands/DiscoverCommand");
17
+ const DiscoverSuggestedCommand_1 = require("./commands/DiscoverSuggestedCommand");
16
18
  const GenerateDownloadUrlCommand_1 = require("./commands/GenerateDownloadUrlCommand");
17
19
  const GenerateInviteCommand_1 = require("./commands/GenerateInviteCommand");
18
20
  const GenerateUploadUrlCommand_1 = require("./commands/GenerateUploadUrlCommand");
21
+ const GetAccountStateCommand_1 = require("./commands/GetAccountStateCommand");
19
22
  const GetAdminPhoneStatusCommand_1 = require("./commands/GetAdminPhoneStatusCommand");
20
23
  const GetAiContextMatchCommand_1 = require("./commands/GetAiContextMatchCommand");
21
24
  const GetChatSettingsCommand_1 = require("./commands/GetChatSettingsCommand");
@@ -47,6 +50,7 @@ const RequestPhoneOtpCommand_1 = require("./commands/RequestPhoneOtpCommand");
47
50
  const RequestPhoneUpdateOtpCommand_1 = require("./commands/RequestPhoneUpdateOtpCommand");
48
51
  const RevokeDeviceCommand_1 = require("./commands/RevokeDeviceCommand");
49
52
  const SendAdminLinkOtpCommand_1 = require("./commands/SendAdminLinkOtpCommand");
53
+ const SetAccountStateCommand_1 = require("./commands/SetAccountStateCommand");
50
54
  const SwipeByUsernameCommand_1 = require("./commands/SwipeByUsernameCommand");
51
55
  const SwipeCommand_1 = require("./commands/SwipeCommand");
52
56
  const UnhookCommand_1 = require("./commands/UnhookCommand");
@@ -77,6 +81,7 @@ const commands = {
77
81
  AuthSocialCommand: AuthSocialCommand_1.AuthSocialCommand,
78
82
  CreateAdminInviteCommand: CreateAdminInviteCommand_1.CreateAdminInviteCommand,
79
83
  GenerateInviteCommand: GenerateInviteCommand_1.GenerateInviteCommand,
84
+ GetAccountStateCommand: GetAccountStateCommand_1.GetAccountStateCommand,
80
85
  GetAdminPhoneStatusCommand: GetAdminPhoneStatusCommand_1.GetAdminPhoneStatusCommand,
81
86
  GetCredentialReadinessCommand: GetCredentialReadinessCommand_1.GetCredentialReadinessCommand,
82
87
  GetUserCommand: GetUserCommand_1.GetUserCommand,
@@ -89,6 +94,7 @@ const commands = {
89
94
  RequestPhoneOtpCommand: RequestPhoneOtpCommand_1.RequestPhoneOtpCommand,
90
95
  RequestPhoneUpdateOtpCommand: RequestPhoneUpdateOtpCommand_1.RequestPhoneUpdateOtpCommand,
91
96
  SendAdminLinkOtpCommand: SendAdminLinkOtpCommand_1.SendAdminLinkOtpCommand,
97
+ SetAccountStateCommand: SetAccountStateCommand_1.SetAccountStateCommand,
92
98
  UnlinkSocialCommand: UnlinkSocialCommand_1.UnlinkSocialCommand,
93
99
  UpdateEntitlementsCommand: UpdateEntitlementsCommand_1.UpdateEntitlementsCommand,
94
100
  UpdatePhoneNumberCommand: UpdatePhoneNumberCommand_1.UpdatePhoneNumberCommand,
@@ -96,6 +102,8 @@ const commands = {
96
102
  ValidateInviteCommand: ValidateInviteCommand_1.ValidateInviteCommand,
97
103
  VerifyAdminLinkOtpCommand: VerifyAdminLinkOtpCommand_1.VerifyAdminLinkOtpCommand,
98
104
  DiscoverCommand: DiscoverCommand_1.DiscoverCommand,
105
+ DiscoverByIntentCommand: DiscoverByIntentCommand_1.DiscoverByIntentCommand,
106
+ DiscoverSuggestedCommand: DiscoverSuggestedCommand_1.DiscoverSuggestedCommand,
99
107
  GetNotificationPreferencesCommand: GetNotificationPreferencesCommand_1.GetNotificationPreferencesCommand,
100
108
  GetPreferencesCommand: GetPreferencesCommand_1.GetPreferencesCommand,
101
109
  GetReceivedLikesCommand: GetReceivedLikesCommand_1.GetReceivedLikesCommand,
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DiscoverByIntentCommand = exports.$Command = void 0;
4
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ class DiscoverByIntentCommand extends smithy_client_1.Command.classBuilder()
9
+ .m(function (Command, cs, config, o) {
10
+ return [
11
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
+ ];
13
+ })
14
+ .s("OneHookService", "DiscoverByIntent", {})
15
+ .n("OneHookClient", "DiscoverByIntentCommand")
16
+ .f(void 0, void 0)
17
+ .ser(Aws_restJson1_1.se_DiscoverByIntentCommand)
18
+ .de(Aws_restJson1_1.de_DiscoverByIntentCommand)
19
+ .build() {
20
+ }
21
+ exports.DiscoverByIntentCommand = DiscoverByIntentCommand;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DiscoverSuggestedCommand = exports.$Command = void 0;
4
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ class DiscoverSuggestedCommand extends smithy_client_1.Command.classBuilder()
9
+ .m(function (Command, cs, config, o) {
10
+ return [
11
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
+ ];
13
+ })
14
+ .s("OneHookService", "DiscoverSuggested", {})
15
+ .n("OneHookClient", "DiscoverSuggestedCommand")
16
+ .f(void 0, void 0)
17
+ .ser(Aws_restJson1_1.se_DiscoverSuggestedCommand)
18
+ .de(Aws_restJson1_1.de_DiscoverSuggestedCommand)
19
+ .build() {
20
+ }
21
+ exports.DiscoverSuggestedCommand = DiscoverSuggestedCommand;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetAccountStateCommand = exports.$Command = void 0;
4
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ class GetAccountStateCommand extends smithy_client_1.Command.classBuilder()
9
+ .m(function (Command, cs, config, o) {
10
+ return [
11
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
+ ];
13
+ })
14
+ .s("OneHookService", "GetAccountState", {})
15
+ .n("OneHookClient", "GetAccountStateCommand")
16
+ .f(void 0, void 0)
17
+ .ser(Aws_restJson1_1.se_GetAccountStateCommand)
18
+ .de(Aws_restJson1_1.de_GetAccountStateCommand)
19
+ .build() {
20
+ }
21
+ exports.GetAccountStateCommand = GetAccountStateCommand;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.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);
@@ -35,6 +37,8 @@ tslib_1.__exportStar(require("./UpdateUsernameCommand"), exports);
35
37
  tslib_1.__exportStar(require("./ValidateInviteCommand"), exports);
36
38
  tslib_1.__exportStar(require("./VerifyAdminLinkOtpCommand"), exports);
37
39
  tslib_1.__exportStar(require("./DiscoverCommand"), exports);
40
+ tslib_1.__exportStar(require("./DiscoverByIntentCommand"), exports);
41
+ tslib_1.__exportStar(require("./DiscoverSuggestedCommand"), exports);
38
42
  tslib_1.__exportStar(require("./GetNotificationPreferencesCommand"), exports);
39
43
  tslib_1.__exportStar(require("./GetPreferencesCommand"), exports);
40
44
  tslib_1.__exportStar(require("./GetReceivedLikesCommand"), exports);
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SubscriptionTier = exports.CredentialGap = exports.PushTokenKind = exports.DeviceLimitError = exports.Platform = exports.LastSeenVisibility = exports.MediaKind = exports.ForbiddenError = exports.NotFoundError = exports.InternalServerError = exports.BadRequestError = void 0;
3
+ exports.SuggestionBasis = exports.MatchFinder = exports.SubscriptionTier = exports.ConflictError = exports.CredentialGap = exports.AccountState = exports.PushTokenKind = exports.DeviceLimitError = exports.Platform = exports.LastSeenVisibility = exports.MediaKind = exports.ForbiddenError = exports.NotFoundError = exports.InternalServerError = exports.BadRequestError = void 0;
4
4
  const OneHookServiceException_1 = require("./OneHookServiceException");
5
5
  class BadRequestError extends OneHookServiceException_1.OneHookServiceException {
6
6
  name = "BadRequestError";
@@ -97,14 +97,43 @@ exports.PushTokenKind = {
97
97
  ALERT: "ALERT",
98
98
  VOIP: "VOIP",
99
99
  };
100
+ exports.AccountState = {
101
+ ACTIVE: "ACTIVE",
102
+ BANNED: "BANNED",
103
+ RESTRICTED: "RESTRICTED",
104
+ SUSPENDED: "SUSPENDED",
105
+ };
100
106
  exports.CredentialGap = {
101
107
  NO_COGNITO_USERNAME_ON_PROFILE: "NO_COGNITO_USERNAME_ON_PROFILE",
102
108
  PHONE_NOT_VERIFIED: "PHONE_NOT_VERIFIED",
103
109
  USERNAME_MISMATCHED_IN_COGNITO: "USERNAME_MISMATCHED_IN_COGNITO",
104
110
  USERNAME_NOT_SYNCED_TO_COGNITO: "USERNAME_NOT_SYNCED_TO_COGNITO",
105
111
  };
112
+ class ConflictError extends OneHookServiceException_1.OneHookServiceException {
113
+ name = "ConflictError";
114
+ $fault = "client";
115
+ error;
116
+ constructor(opts) {
117
+ super({
118
+ name: "ConflictError",
119
+ $fault: "client",
120
+ ...opts
121
+ });
122
+ Object.setPrototypeOf(this, ConflictError.prototype);
123
+ this.error = opts.error;
124
+ }
125
+ }
126
+ exports.ConflictError = ConflictError;
106
127
  exports.SubscriptionTier = {
107
128
  INFINITY: "INFINITY",
108
129
  MUST: "MUST",
109
130
  SUPER: "SUPER",
110
131
  };
132
+ exports.MatchFinder = {
133
+ MR_ONEHOOK: "MR_ONEHOOK",
134
+ ONEHOOK_INTELLIGENCE: "ONEHOOK_INTELLIGENCE",
135
+ };
136
+ exports.SuggestionBasis = {
137
+ EXPLICIT_REQUEST: "EXPLICIT_REQUEST",
138
+ INFERRED_INCLINATION: "INFERRED_INCLINATION",
139
+ };
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.se_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_DeleteProfileCommand = exports.se_CreateLivenessSessionCommand = exports.se_CompleteLivenessSessionCommand = exports.se_UpdatePreferencesCommand = exports.se_SwipeByUsernameCommand = exports.se_SwipeCommand = exports.se_RemoveLocationCommand = exports.se_IndexLocationCommand = exports.se_GetRosesCommand = exports.se_GetReceivedLikesCommand = exports.se_GetPreferencesCommand = exports.se_GetNotificationPreferencesCommand = exports.se_DiscoverSuggestedCommand = exports.se_DiscoverByIntentCommand = exports.se_DiscoverCommand = exports.se_VerifyAdminLinkOtpCommand = exports.se_ValidateInviteCommand = exports.se_UpdateUsernameCommand = exports.se_UpdatePhoneNumberCommand = exports.se_UpdateEntitlementsCommand = exports.se_UnlinkSocialCommand = exports.se_SetAccountStateCommand = exports.se_SendAdminLinkOtpCommand = exports.se_RequestPhoneUpdateOtpCommand = exports.se_RequestPhoneOtpCommand = exports.se_RequestEmailOtpCommand = exports.se_RegisterPhoneCommand = exports.se_LinkSocialCommand = exports.se_LinkEmailCommand = exports.se_GetUserIdByUsernameCommand = exports.se_GetUserByEmailCommand = exports.se_GetUserCommand = exports.se_GetCredentialReadinessCommand = exports.se_GetAdminPhoneStatusCommand = exports.se_GetAccountStateCommand = exports.se_GenerateInviteCommand = exports.se_CreateAdminInviteCommand = exports.se_AuthSocialCommand = exports.se_UpdateChatSettingsCommand = exports.se_RevokeDeviceCommand = exports.se_RegisterPushTokenCommand = exports.se_RegisterDeviceCommand = exports.se_ListMyDevicesCommand = exports.se_GetParticipantRegistryCommand = exports.se_GetChatSettingsCommand = exports.se_DeletePushTokenCommand = exports.se_DeleteMatchMessagesCommand = exports.se_CreateMediaUploadUrlCommand = exports.se_CreateMediaDownloadUrlCommand = exports.se_GetAiContextMatchCommand = void 0;
4
+ exports.de_DiscoverSuggestedCommand = exports.de_DiscoverByIntentCommand = exports.de_DiscoverCommand = exports.de_VerifyAdminLinkOtpCommand = exports.de_ValidateInviteCommand = exports.de_UpdateUsernameCommand = exports.de_UpdatePhoneNumberCommand = exports.de_UpdateEntitlementsCommand = exports.de_UnlinkSocialCommand = exports.de_SetAccountStateCommand = exports.de_SendAdminLinkOtpCommand = exports.de_RequestPhoneUpdateOtpCommand = exports.de_RequestPhoneOtpCommand = exports.de_RequestEmailOtpCommand = exports.de_RegisterPhoneCommand = exports.de_LinkSocialCommand = exports.de_LinkEmailCommand = exports.de_GetUserIdByUsernameCommand = exports.de_GetUserByEmailCommand = exports.de_GetUserCommand = exports.de_GetCredentialReadinessCommand = exports.de_GetAdminPhoneStatusCommand = exports.de_GetAccountStateCommand = exports.de_GenerateInviteCommand = exports.de_CreateAdminInviteCommand = exports.de_AuthSocialCommand = exports.de_UpdateChatSettingsCommand = exports.de_RevokeDeviceCommand = exports.de_RegisterPushTokenCommand = exports.de_RegisterDeviceCommand = exports.de_ListMyDevicesCommand = exports.de_GetParticipantRegistryCommand = exports.de_GetChatSettingsCommand = exports.de_DeletePushTokenCommand = exports.de_DeleteMatchMessagesCommand = exports.de_CreateMediaUploadUrlCommand = exports.de_CreateMediaDownloadUrlCommand = exports.de_GetAiContextMatchCommand = exports.se_UpgradeUserCommand = exports.se_UnhookCommand = exports.se_InitUserCommand = exports.se_GetStateCommand = exports.se_GetMatchCommand = exports.se_CompleteOnboardingCommand = exports.se_UpdateProfileCommand = exports.se_GetProfileCommand = exports.se_GetMyProfileCommand = exports.se_GetLivenessStatusCommand = exports.se_GenerateUploadUrlCommand = exports.se_GenerateDownloadUrlCommand = void 0;
5
+ exports.de_UpgradeUserCommand = exports.de_UnhookCommand = exports.de_InitUserCommand = exports.de_GetStateCommand = exports.de_GetMatchCommand = exports.de_CompleteOnboardingCommand = exports.de_UpdateProfileCommand = exports.de_GetProfileCommand = exports.de_GetMyProfileCommand = exports.de_GetLivenessStatusCommand = exports.de_GenerateUploadUrlCommand = exports.de_GenerateDownloadUrlCommand = exports.de_DeleteProfileCommand = exports.de_CreateLivenessSessionCommand = exports.de_CompleteLivenessSessionCommand = exports.de_UpdatePreferencesCommand = exports.de_SwipeByUsernameCommand = exports.de_SwipeCommand = exports.de_RemoveLocationCommand = exports.de_IndexLocationCommand = exports.de_GetRosesCommand = exports.de_GetReceivedLikesCommand = exports.de_GetPreferencesCommand = exports.de_GetNotificationPreferencesCommand = void 0;
6
6
  const OneHookServiceException_1 = require("../models/OneHookServiceException");
7
7
  const models_0_1 = require("../models/models_0");
8
8
  const core_1 = require("@aws-sdk/core");
@@ -247,6 +247,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 = {};
@@ -536,6 +569,40 @@ const se_DiscoverCommand = async (input, context) => {
536
569
  return b.build();
537
570
  };
538
571
  exports.se_DiscoverCommand = se_DiscoverCommand;
572
+ const se_DiscoverByIntentCommand = async (input, context) => {
573
+ const b = (0, core_2.requestBuilder)(input, context);
574
+ const headers = {
575
+ 'content-type': 'application/json',
576
+ };
577
+ b.bp("/matching/discover/intent");
578
+ let body;
579
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
580
+ 'description': [],
581
+ 'lat': _ => (0, smithy_client_1.serializeFloat)(_),
582
+ 'lon': _ => (0, smithy_client_1.serializeFloat)(_),
583
+ }));
584
+ b.m("POST")
585
+ .h(headers)
586
+ .b(body);
587
+ return b.build();
588
+ };
589
+ exports.se_DiscoverByIntentCommand = se_DiscoverByIntentCommand;
590
+ const se_DiscoverSuggestedCommand = async (input, context) => {
591
+ const b = (0, core_2.requestBuilder)(input, context);
592
+ const headers = {};
593
+ b.bp("/matching/discover/suggested");
594
+ const query = (0, smithy_client_1.map)({
595
+ [_l]: [(0, smithy_client_1.expectNonNull)(input.lat, `lat`) != null, () => ((input[_l] % 1 == 0) ? input[_l] + ".0" : input[_l].toString())],
596
+ [_lo]: [(0, smithy_client_1.expectNonNull)(input.lon, `lon`) != null, () => ((input[_lo] % 1 == 0) ? input[_lo] + ".0" : input[_lo].toString())],
597
+ });
598
+ let body;
599
+ b.m("GET")
600
+ .h(headers)
601
+ .q(query)
602
+ .b(body);
603
+ return b.build();
604
+ };
605
+ exports.se_DiscoverSuggestedCommand = se_DiscoverSuggestedCommand;
539
606
  const se_GetNotificationPreferencesCommand = async (input, context) => {
540
607
  const b = (0, core_2.requestBuilder)(input, context);
541
608
  const headers = {};
@@ -1176,6 +1243,24 @@ const de_GenerateInviteCommand = async (output, context) => {
1176
1243
  return contents;
1177
1244
  };
1178
1245
  exports.de_GenerateInviteCommand = de_GenerateInviteCommand;
1246
+ const de_GetAccountStateCommand = async (output, context) => {
1247
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1248
+ return de_CommandError(output, context);
1249
+ }
1250
+ const contents = (0, smithy_client_1.map)({
1251
+ $metadata: deserializeMetadata(output),
1252
+ });
1253
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1254
+ const doc = (0, smithy_client_1.take)(data, {
1255
+ 'reasonCode': smithy_client_1.expectString,
1256
+ 'state': smithy_client_1.expectString,
1257
+ 'until': smithy_client_1.expectLong,
1258
+ 'version': smithy_client_1.expectInt32,
1259
+ });
1260
+ Object.assign(contents, doc);
1261
+ return contents;
1262
+ };
1263
+ exports.de_GetAccountStateCommand = de_GetAccountStateCommand;
1179
1264
  const de_GetAdminPhoneStatusCommand = async (output, context) => {
1180
1265
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1181
1266
  return de_CommandError(output, context);
@@ -1377,6 +1462,23 @@ const de_SendAdminLinkOtpCommand = async (output, context) => {
1377
1462
  return contents;
1378
1463
  };
1379
1464
  exports.de_SendAdminLinkOtpCommand = de_SendAdminLinkOtpCommand;
1465
+ const de_SetAccountStateCommand = async (output, context) => {
1466
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1467
+ return de_CommandError(output, context);
1468
+ }
1469
+ const contents = (0, smithy_client_1.map)({
1470
+ $metadata: deserializeMetadata(output),
1471
+ });
1472
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1473
+ const doc = (0, smithy_client_1.take)(data, {
1474
+ 'state': smithy_client_1.expectString,
1475
+ 'until': smithy_client_1.expectLong,
1476
+ 'version': smithy_client_1.expectInt32,
1477
+ });
1478
+ Object.assign(contents, doc);
1479
+ return contents;
1480
+ };
1481
+ exports.de_SetAccountStateCommand = de_SetAccountStateCommand;
1380
1482
  const de_UnlinkSocialCommand = async (output, context) => {
1381
1483
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1382
1484
  return de_CommandError(output, context);
@@ -1492,6 +1594,40 @@ const de_DiscoverCommand = async (output, context) => {
1492
1594
  return contents;
1493
1595
  };
1494
1596
  exports.de_DiscoverCommand = de_DiscoverCommand;
1597
+ const de_DiscoverByIntentCommand = async (output, context) => {
1598
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1599
+ return de_CommandError(output, context);
1600
+ }
1601
+ const contents = (0, smithy_client_1.map)({
1602
+ $metadata: deserializeMetadata(output),
1603
+ });
1604
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1605
+ const doc = (0, smithy_client_1.take)(data, {
1606
+ 'algorithm': smithy_client_1.expectString,
1607
+ 'candidates': _ => de_CandidateList(_, context),
1608
+ 'count': smithy_client_1.expectInt32,
1609
+ });
1610
+ Object.assign(contents, doc);
1611
+ return contents;
1612
+ };
1613
+ exports.de_DiscoverByIntentCommand = de_DiscoverByIntentCommand;
1614
+ const de_DiscoverSuggestedCommand = async (output, context) => {
1615
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1616
+ return de_CommandError(output, context);
1617
+ }
1618
+ const contents = (0, smithy_client_1.map)({
1619
+ $metadata: deserializeMetadata(output),
1620
+ });
1621
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1622
+ const doc = (0, smithy_client_1.take)(data, {
1623
+ 'algorithm': smithy_client_1.expectString,
1624
+ 'candidates': _ => de_CandidateList(_, context),
1625
+ 'count': smithy_client_1.expectInt32,
1626
+ });
1627
+ Object.assign(contents, doc);
1628
+ return contents;
1629
+ };
1630
+ exports.de_DiscoverSuggestedCommand = de_DiscoverSuggestedCommand;
1495
1631
  const de_GetNotificationPreferencesCommand = async (output, context) => {
1496
1632
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1497
1633
  return de_CommandError(output, context);
@@ -2011,6 +2147,9 @@ const de_CommandError = async (output, context) => {
2011
2147
  case "DeviceLimitError":
2012
2148
  case "club.onehook.chat#DeviceLimitError":
2013
2149
  throw await de_DeviceLimitErrorRes(parsedOutput, context);
2150
+ case "ConflictError":
2151
+ case "club.onehook.identity#ConflictError":
2152
+ throw await de_ConflictErrorRes(parsedOutput, context);
2014
2153
  default:
2015
2154
  const parsedBody = parsedOutput.body;
2016
2155
  return throwDefaultError({
@@ -2060,6 +2199,19 @@ const de_BadRequestErrorRes = async (parsedOutput, context) => {
2060
2199
  });
2061
2200
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2062
2201
  };
2202
+ const de_ConflictErrorRes = async (parsedOutput, context) => {
2203
+ const contents = (0, smithy_client_1.map)({});
2204
+ const data = parsedOutput.body;
2205
+ const doc = (0, smithy_client_1.take)(data, {
2206
+ 'error': smithy_client_1.expectString,
2207
+ });
2208
+ Object.assign(contents, doc);
2209
+ const exception = new models_0_1.ConflictError({
2210
+ $metadata: deserializeMetadata(parsedOutput),
2211
+ ...contents
2212
+ });
2213
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2214
+ };
2063
2215
  const de_InternalServerErrorRes = async (parsedOutput, context) => {
2064
2216
  const contents = (0, smithy_client_1.map)({});
2065
2217
  const data = parsedOutput.body;
@@ -2089,7 +2241,11 @@ const de_NotFoundErrorRes = async (parsedOutput, context) => {
2089
2241
  const de_CandidateDto = (output, context) => {
2090
2242
  return (0, smithy_client_1.take)(output, {
2091
2243
  'distanceKm': smithy_client_1.limitedParseDouble,
2244
+ 'matchFinder': smithy_client_1.expectString,
2245
+ 'matchFinderLabel': smithy_client_1.expectString,
2092
2246
  'score': smithy_client_1.limitedParseDouble,
2247
+ 'similarity': smithy_client_1.limitedParseDouble,
2248
+ 'suggestionBasis': smithy_client_1.expectString,
2093
2249
  'userId': smithy_client_1.expectString,
2094
2250
  });
2095
2251
  };
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.isUiElementId = exports.TELEMETRY_EXEMPT_CATEGORIES = exports.uiElementsForPlatform = exports.UI_ELEMENTS = exports.UiElement = exports.HookedStateAction = exports.NotificationChannel = exports.NotificationType = exports.CardVariant = exports.SafetyAction = exports.LikeTargetType = exports.ProfileSection = exports.MediaType = exports.SwipeDirection = exports.UiElementKind = exports.UiAction = exports.TabScreen = exports.ViewableScreen = exports.Screen = exports.Platform = exports.SignalType = exports.TELEMETRY_CATALOG_HASH = exports.TELEMETRY_CATALOG_VERSION = void 0;
4
- exports.TELEMETRY_CATALOG_VERSION = "1.4.0";
5
- exports.TELEMETRY_CATALOG_HASH = "5cf9f7740c92eebe";
4
+ exports.TELEMETRY_CATALOG_VERSION = "1.5.0";
5
+ exports.TELEMETRY_CATALOG_HASH = "4ab81c4d5f20cdb7";
6
6
  exports.SignalType = {
7
7
  SCREEN_VIEW: "screen_view",
8
8
  UI_INTERACTION: "ui_interaction",
@@ -210,6 +210,7 @@ exports.UiElement = {
210
210
  ADMISSIONS_STATUS_REFRESH: "admissions_status.refresh",
211
211
  ADMISSIONS_STATUS_CONTINUE_INVITE: "admissions_status.continue_invite",
212
212
  ADMISSIONS_STATUS_WITHDRAW: "admissions_status.withdraw",
213
+ ADMISSIONS_STATUS_TRAINING_OPT_OUT: "admissions_status.training_opt_out",
213
214
  ONBOARDING_NEXT: "onboarding.next",
214
215
  ONBOARDING_BACK: "onboarding.back",
215
216
  ONBOARDING_FINISH: "onboarding.finish",
@@ -450,6 +451,7 @@ exports.UI_ELEMENTS = {
450
451
  "admissions_status.refresh": { screen: "ADMISSIONS_STATUS", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
451
452
  "admissions_status.continue_invite": { screen: "ADMISSIONS_STATUS", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
452
453
  "admissions_status.withdraw": { screen: "ADMISSIONS_STATUS", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
454
+ "admissions_status.training_opt_out": { screen: "ADMISSIONS_STATUS", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
453
455
  "onboarding.next": { screen: "ONBOARDING", kind: "button", actions: ["submit"], values: ["basics", "photos", "media", "prompts", "details"], platforms: ["web", "ios"] },
454
456
  "onboarding.back": { screen: "ONBOARDING", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios"] },
455
457
  "onboarding.finish": { screen: "ONBOARDING", kind: "button", actions: ["submit"], values: null, platforms: ["web", "ios", "android"] },
@@ -9,10 +9,13 @@ import { CreateMediaUploadUrlCommand, } from "./commands/CreateMediaUploadUrlCom
9
9
  import { DeleteMatchMessagesCommand, } from "./commands/DeleteMatchMessagesCommand";
10
10
  import { DeleteProfileCommand, } from "./commands/DeleteProfileCommand";
11
11
  import { DeletePushTokenCommand, } from "./commands/DeletePushTokenCommand";
12
+ import { DiscoverByIntentCommand, } from "./commands/DiscoverByIntentCommand";
12
13
  import { DiscoverCommand, } from "./commands/DiscoverCommand";
14
+ import { DiscoverSuggestedCommand, } from "./commands/DiscoverSuggestedCommand";
13
15
  import { GenerateDownloadUrlCommand, } from "./commands/GenerateDownloadUrlCommand";
14
16
  import { GenerateInviteCommand, } from "./commands/GenerateInviteCommand";
15
17
  import { GenerateUploadUrlCommand, } from "./commands/GenerateUploadUrlCommand";
18
+ import { GetAccountStateCommand, } from "./commands/GetAccountStateCommand";
16
19
  import { GetAdminPhoneStatusCommand, } from "./commands/GetAdminPhoneStatusCommand";
17
20
  import { GetAiContextMatchCommand, } from "./commands/GetAiContextMatchCommand";
18
21
  import { GetChatSettingsCommand, } from "./commands/GetChatSettingsCommand";
@@ -44,6 +47,7 @@ import { RequestPhoneOtpCommand, } from "./commands/RequestPhoneOtpCommand";
44
47
  import { RequestPhoneUpdateOtpCommand, } from "./commands/RequestPhoneUpdateOtpCommand";
45
48
  import { RevokeDeviceCommand, } from "./commands/RevokeDeviceCommand";
46
49
  import { SendAdminLinkOtpCommand, } from "./commands/SendAdminLinkOtpCommand";
50
+ import { SetAccountStateCommand, } from "./commands/SetAccountStateCommand";
47
51
  import { SwipeByUsernameCommand, } from "./commands/SwipeByUsernameCommand";
48
52
  import { SwipeCommand, } from "./commands/SwipeCommand";
49
53
  import { UnhookCommand, } from "./commands/UnhookCommand";
@@ -74,6 +78,7 @@ const commands = {
74
78
  AuthSocialCommand,
75
79
  CreateAdminInviteCommand,
76
80
  GenerateInviteCommand,
81
+ GetAccountStateCommand,
77
82
  GetAdminPhoneStatusCommand,
78
83
  GetCredentialReadinessCommand,
79
84
  GetUserCommand,
@@ -86,6 +91,7 @@ const commands = {
86
91
  RequestPhoneOtpCommand,
87
92
  RequestPhoneUpdateOtpCommand,
88
93
  SendAdminLinkOtpCommand,
94
+ SetAccountStateCommand,
89
95
  UnlinkSocialCommand,
90
96
  UpdateEntitlementsCommand,
91
97
  UpdatePhoneNumberCommand,
@@ -93,6 +99,8 @@ const commands = {
93
99
  ValidateInviteCommand,
94
100
  VerifyAdminLinkOtpCommand,
95
101
  DiscoverCommand,
102
+ DiscoverByIntentCommand,
103
+ DiscoverSuggestedCommand,
96
104
  GetNotificationPreferencesCommand,
97
105
  GetPreferencesCommand,
98
106
  GetReceivedLikesCommand,
@@ -0,0 +1,17 @@
1
+ import { de_DiscoverByIntentCommand, se_DiscoverByIntentCommand, } 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 DiscoverByIntentCommand extends $Command.classBuilder()
6
+ .m(function (Command, cs, config, o) {
7
+ return [
8
+ getSerdePlugin(config, this.serialize, this.deserialize),
9
+ ];
10
+ })
11
+ .s("OneHookService", "DiscoverByIntent", {})
12
+ .n("OneHookClient", "DiscoverByIntentCommand")
13
+ .f(void 0, void 0)
14
+ .ser(se_DiscoverByIntentCommand)
15
+ .de(de_DiscoverByIntentCommand)
16
+ .build() {
17
+ }
@@ -0,0 +1,17 @@
1
+ import { de_DiscoverSuggestedCommand, se_DiscoverSuggestedCommand, } 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 DiscoverSuggestedCommand extends $Command.classBuilder()
6
+ .m(function (Command, cs, config, o) {
7
+ return [
8
+ getSerdePlugin(config, this.serialize, this.deserialize),
9
+ ];
10
+ })
11
+ .s("OneHookService", "DiscoverSuggested", {})
12
+ .n("OneHookClient", "DiscoverSuggestedCommand")
13
+ .f(void 0, void 0)
14
+ .ser(se_DiscoverSuggestedCommand)
15
+ .de(de_DiscoverSuggestedCommand)
16
+ .build() {
17
+ }
@@ -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
+ }