onehook-api-client 1.0.29 → 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.
package/README.md CHANGED
@@ -451,20 +451,6 @@ Discover
451
451
  </details>
452
452
  <details>
453
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>
468
454
  GetNotificationPreferences
469
455
  </summary>
470
456
 
@@ -500,6 +486,13 @@ IndexLocation
500
486
  </details>
501
487
  <details>
502
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>
503
496
  RemoveLocation
504
497
  </summary>
505
498
 
@@ -12,9 +12,7 @@ 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");
16
15
  const DiscoverCommand_1 = require("./commands/DiscoverCommand");
17
- const DiscoverSuggestedCommand_1 = require("./commands/DiscoverSuggestedCommand");
18
16
  const GenerateDownloadUrlCommand_1 = require("./commands/GenerateDownloadUrlCommand");
19
17
  const GenerateInviteCommand_1 = require("./commands/GenerateInviteCommand");
20
18
  const GenerateUploadUrlCommand_1 = require("./commands/GenerateUploadUrlCommand");
@@ -41,6 +39,7 @@ const InitUserCommand_1 = require("./commands/InitUserCommand");
41
39
  const LinkEmailCommand_1 = require("./commands/LinkEmailCommand");
42
40
  const LinkSocialCommand_1 = require("./commands/LinkSocialCommand");
43
41
  const ListMyDevicesCommand_1 = require("./commands/ListMyDevicesCommand");
42
+ const RecordSuggestionCommand_1 = require("./commands/RecordSuggestionCommand");
44
43
  const RegisterDeviceCommand_1 = require("./commands/RegisterDeviceCommand");
45
44
  const RegisterPhoneCommand_1 = require("./commands/RegisterPhoneCommand");
46
45
  const RegisterPushTokenCommand_1 = require("./commands/RegisterPushTokenCommand");
@@ -102,13 +101,12 @@ const commands = {
102
101
  ValidateInviteCommand: ValidateInviteCommand_1.ValidateInviteCommand,
103
102
  VerifyAdminLinkOtpCommand: VerifyAdminLinkOtpCommand_1.VerifyAdminLinkOtpCommand,
104
103
  DiscoverCommand: DiscoverCommand_1.DiscoverCommand,
105
- DiscoverByIntentCommand: DiscoverByIntentCommand_1.DiscoverByIntentCommand,
106
- DiscoverSuggestedCommand: DiscoverSuggestedCommand_1.DiscoverSuggestedCommand,
107
104
  GetNotificationPreferencesCommand: GetNotificationPreferencesCommand_1.GetNotificationPreferencesCommand,
108
105
  GetPreferencesCommand: GetPreferencesCommand_1.GetPreferencesCommand,
109
106
  GetReceivedLikesCommand: GetReceivedLikesCommand_1.GetReceivedLikesCommand,
110
107
  GetRosesCommand: GetRosesCommand_1.GetRosesCommand,
111
108
  IndexLocationCommand: IndexLocationCommand_1.IndexLocationCommand,
109
+ RecordSuggestionCommand: RecordSuggestionCommand_1.RecordSuggestionCommand,
112
110
  RemoveLocationCommand: RemoveLocationCommand_1.RemoveLocationCommand,
113
111
  SwipeCommand: SwipeCommand_1.SwipeCommand,
114
112
  SwipeByUsernameCommand: SwipeByUsernameCommand_1.SwipeByUsernameCommand,
@@ -1,21 +1,21 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DiscoverByIntentCommand = exports.$Command = void 0;
3
+ exports.RecordSuggestionCommand = exports.$Command = void 0;
4
4
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- class DiscoverByIntentCommand extends smithy_client_1.Command.classBuilder()
8
+ class RecordSuggestionCommand extends smithy_client_1.Command.classBuilder()
9
9
  .m(function (Command, cs, config, o) {
10
10
  return [
11
11
  (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
12
  ];
13
13
  })
14
- .s("OneHookService", "DiscoverByIntent", {})
15
- .n("OneHookClient", "DiscoverByIntentCommand")
14
+ .s("OneHookService", "RecordSuggestion", {})
15
+ .n("OneHookClient", "RecordSuggestionCommand")
16
16
  .f(void 0, void 0)
17
- .ser(Aws_restJson1_1.se_DiscoverByIntentCommand)
18
- .de(Aws_restJson1_1.de_DiscoverByIntentCommand)
17
+ .ser(Aws_restJson1_1.se_RecordSuggestionCommand)
18
+ .de(Aws_restJson1_1.de_RecordSuggestionCommand)
19
19
  .build() {
20
20
  }
21
- exports.DiscoverByIntentCommand = DiscoverByIntentCommand;
21
+ exports.RecordSuggestionCommand = RecordSuggestionCommand;
@@ -37,13 +37,12 @@ tslib_1.__exportStar(require("./UpdateUsernameCommand"), exports);
37
37
  tslib_1.__exportStar(require("./ValidateInviteCommand"), exports);
38
38
  tslib_1.__exportStar(require("./VerifyAdminLinkOtpCommand"), exports);
39
39
  tslib_1.__exportStar(require("./DiscoverCommand"), exports);
40
- tslib_1.__exportStar(require("./DiscoverByIntentCommand"), exports);
41
- tslib_1.__exportStar(require("./DiscoverSuggestedCommand"), exports);
42
40
  tslib_1.__exportStar(require("./GetNotificationPreferencesCommand"), exports);
43
41
  tslib_1.__exportStar(require("./GetPreferencesCommand"), exports);
44
42
  tslib_1.__exportStar(require("./GetReceivedLikesCommand"), exports);
45
43
  tslib_1.__exportStar(require("./GetRosesCommand"), exports);
46
44
  tslib_1.__exportStar(require("./IndexLocationCommand"), exports);
45
+ tslib_1.__exportStar(require("./RecordSuggestionCommand"), exports);
47
46
  tslib_1.__exportStar(require("./RemoveLocationCommand"), exports);
48
47
  tslib_1.__exportStar(require("./SwipeCommand"), exports);
49
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.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;
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";
@@ -129,6 +129,12 @@ exports.SubscriptionTier = {
129
129
  MUST: "MUST",
130
130
  SUPER: "SUPER",
131
131
  };
132
+ exports.DiscoveryCategory = {
133
+ ALL: "ALL",
134
+ ONEHOOK_SUGGESTED: "ONEHOOK_SUGGESTED",
135
+ PROFILE_MATCH: "PROFILE_MATCH",
136
+ SIMILAR: "SIMILAR",
137
+ };
132
138
  exports.MatchFinder = {
133
139
  MR_ONEHOOK: "MR_ONEHOOK",
134
140
  ONEHOOK_INTELLIGENCE: "ONEHOOK_INTELLIGENCE",
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
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;
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");
@@ -560,6 +560,7 @@ const se_DiscoverCommand = async (input, context) => {
560
560
  const query = (0, smithy_client_1.map)({
561
561
  [_l]: [(0, smithy_client_1.expectNonNull)(input.lat, `lat`) != null, () => ((input[_l] % 1 == 0) ? input[_l] + ".0" : input[_l].toString())],
562
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]],
563
564
  });
564
565
  let body;
565
566
  b.m("GET")
@@ -569,40 +570,6 @@ const se_DiscoverCommand = async (input, context) => {
569
570
  return b.build();
570
571
  };
571
572
  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;
606
573
  const se_GetNotificationPreferencesCommand = async (input, context) => {
607
574
  const b = (0, core_2.requestBuilder)(input, context);
608
575
  const headers = {};
@@ -666,6 +633,23 @@ const se_IndexLocationCommand = async (input, context) => {
666
633
  return b.build();
667
634
  };
668
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;
669
653
  const se_RemoveLocationCommand = async (input, context) => {
670
654
  const b = (0, core_2.requestBuilder)(input, context);
671
655
  const headers = {
@@ -1587,47 +1571,15 @@ const de_DiscoverCommand = async (output, context) => {
1587
1571
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1588
1572
  const doc = (0, smithy_client_1.take)(data, {
1589
1573
  'algorithm': smithy_client_1.expectString,
1574
+ 'availableCategories': smithy_client_1._json,
1590
1575
  'candidates': _ => de_CandidateList(_, context),
1576
+ 'category': smithy_client_1.expectString,
1591
1577
  'count': smithy_client_1.expectInt32,
1592
1578
  });
1593
1579
  Object.assign(contents, doc);
1594
1580
  return contents;
1595
1581
  };
1596
1582
  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;
1631
1583
  const de_GetNotificationPreferencesCommand = async (output, context) => {
1632
1584
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1633
1585
  return de_CommandError(output, context);
@@ -1741,6 +1693,21 @@ const de_IndexLocationCommand = async (output, context) => {
1741
1693
  return contents;
1742
1694
  };
1743
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;
1744
1711
  const de_RemoveLocationCommand = async (output, context) => {
1745
1712
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1746
1713
  return de_CommandError(output, context);
@@ -2243,9 +2210,11 @@ const de_CandidateDto = (output, context) => {
2243
2210
  'distanceKm': smithy_client_1.limitedParseDouble,
2244
2211
  'matchFinder': smithy_client_1.expectString,
2245
2212
  'matchFinderLabel': smithy_client_1.expectString,
2213
+ 'reasoning': smithy_client_1.expectString,
2246
2214
  'score': smithy_client_1.limitedParseDouble,
2247
2215
  'similarity': smithy_client_1.limitedParseDouble,
2248
2216
  'suggestionBasis': smithy_client_1.expectString,
2217
+ 'suggestionId': smithy_client_1.expectString,
2249
2218
  'userId': smithy_client_1.expectString,
2250
2219
  });
2251
2220
  };
@@ -2262,6 +2231,7 @@ const deserializeMetadata = (output) => ({
2262
2231
  cfId: output.headers["x-amz-cf-id"],
2263
2232
  });
2264
2233
  const collectBodyString = (streamBody, context) => (0, smithy_client_1.collectBody)(streamBody, context).then(body => context.utf8Encoder(body));
2234
+ const _c = "category";
2265
2235
  const _k = "key";
2266
2236
  const _l = "lat";
2267
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.5.0";
5
- exports.TELEMETRY_CATALOG_HASH = "4ab81c4d5f20cdb7";
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",
@@ -261,6 +295,8 @@ exports.UiElement = {
261
295
  CHAT_PROFILE_OPEN: "chat.profile_open",
262
296
  CHAT_SAFETY_MENU_OPEN: "chat.safety_menu_open",
263
297
  CHAT_UNMATCH: "chat.unmatch",
298
+ CHAT_REPORT_OPEN: "chat.report_open",
299
+ CHAT_BLOCK_OPEN: "chat.block_open",
264
300
  CHAT_REPORT_SPAM: "chat.report_spam",
265
301
  CHAT_REPORT_BLOCK: "chat.report_block",
266
302
  CHAT_BLOCK_CONFIRM: "chat.block_confirm",
@@ -502,8 +538,10 @@ exports.UI_ELEMENTS = {
502
538
  "chat.profile_open": { screen: "CHAT", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
503
539
  "chat.safety_menu_open": { screen: "CHAT", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
504
540
  "chat.unmatch": { screen: "CHAT", kind: "menu_item", actions: ["tap"], values: null, platforms: ["ios", "android"] },
505
- "chat.report_spam": { screen: "CHAT", kind: "menu_item", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
506
- "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: [] },
507
545
  "chat.block_confirm": { screen: "CHAT", kind: "dialog_button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
508
546
  "chat.settings_open": { screen: "CHAT", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios"] },
509
547
  "chat.wallpaper_open": { screen: "CHAT", kind: "menu_item", actions: ["tap", "dismiss"], values: null, platforms: ["web"] },
@@ -9,9 +9,7 @@ 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";
13
12
  import { DiscoverCommand, } from "./commands/DiscoverCommand";
14
- import { DiscoverSuggestedCommand, } from "./commands/DiscoverSuggestedCommand";
15
13
  import { GenerateDownloadUrlCommand, } from "./commands/GenerateDownloadUrlCommand";
16
14
  import { GenerateInviteCommand, } from "./commands/GenerateInviteCommand";
17
15
  import { GenerateUploadUrlCommand, } from "./commands/GenerateUploadUrlCommand";
@@ -38,6 +36,7 @@ import { InitUserCommand, } from "./commands/InitUserCommand";
38
36
  import { LinkEmailCommand, } from "./commands/LinkEmailCommand";
39
37
  import { LinkSocialCommand, } from "./commands/LinkSocialCommand";
40
38
  import { ListMyDevicesCommand, } from "./commands/ListMyDevicesCommand";
39
+ import { RecordSuggestionCommand, } from "./commands/RecordSuggestionCommand";
41
40
  import { RegisterDeviceCommand, } from "./commands/RegisterDeviceCommand";
42
41
  import { RegisterPhoneCommand, } from "./commands/RegisterPhoneCommand";
43
42
  import { RegisterPushTokenCommand, } from "./commands/RegisterPushTokenCommand";
@@ -99,13 +98,12 @@ const commands = {
99
98
  ValidateInviteCommand,
100
99
  VerifyAdminLinkOtpCommand,
101
100
  DiscoverCommand,
102
- DiscoverByIntentCommand,
103
- DiscoverSuggestedCommand,
104
101
  GetNotificationPreferencesCommand,
105
102
  GetPreferencesCommand,
106
103
  GetReceivedLikesCommand,
107
104
  GetRosesCommand,
108
105
  IndexLocationCommand,
106
+ RecordSuggestionCommand,
109
107
  RemoveLocationCommand,
110
108
  SwipeCommand,
111
109
  SwipeByUsernameCommand,
@@ -1,17 +1,17 @@
1
- import { de_DiscoverByIntentCommand, se_DiscoverByIntentCommand, } from "../protocols/Aws_restJson1";
1
+ import { de_RecordSuggestionCommand, se_RecordSuggestionCommand, } from "../protocols/Aws_restJson1";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  export { $Command };
5
- export class DiscoverByIntentCommand extends $Command.classBuilder()
5
+ export class RecordSuggestionCommand extends $Command.classBuilder()
6
6
  .m(function (Command, cs, config, o) {
7
7
  return [
8
8
  getSerdePlugin(config, this.serialize, this.deserialize),
9
9
  ];
10
10
  })
11
- .s("OneHookService", "DiscoverByIntent", {})
12
- .n("OneHookClient", "DiscoverByIntentCommand")
11
+ .s("OneHookService", "RecordSuggestion", {})
12
+ .n("OneHookClient", "RecordSuggestionCommand")
13
13
  .f(void 0, void 0)
14
- .ser(se_DiscoverByIntentCommand)
15
- .de(de_DiscoverByIntentCommand)
14
+ .ser(se_RecordSuggestionCommand)
15
+ .de(de_RecordSuggestionCommand)
16
16
  .build() {
17
17
  }
@@ -34,13 +34,12 @@ export * from "./UpdateUsernameCommand";
34
34
  export * from "./ValidateInviteCommand";
35
35
  export * from "./VerifyAdminLinkOtpCommand";
36
36
  export * from "./DiscoverCommand";
37
- export * from "./DiscoverByIntentCommand";
38
- export * from "./DiscoverSuggestedCommand";
39
37
  export * from "./GetNotificationPreferencesCommand";
40
38
  export * from "./GetPreferencesCommand";
41
39
  export * from "./GetReceivedLikesCommand";
42
40
  export * from "./GetRosesCommand";
43
41
  export * from "./IndexLocationCommand";
42
+ export * from "./RecordSuggestionCommand";
44
43
  export * from "./RemoveLocationCommand";
45
44
  export * from "./SwipeCommand";
46
45
  export * from "./SwipeByUsernameCommand";
@@ -120,6 +120,12 @@ export const SubscriptionTier = {
120
120
  MUST: "MUST",
121
121
  SUPER: "SUPER",
122
122
  };
123
+ export const DiscoveryCategory = {
124
+ ALL: "ALL",
125
+ ONEHOOK_SUGGESTED: "ONEHOOK_SUGGESTED",
126
+ PROFILE_MATCH: "PROFILE_MATCH",
127
+ SIMILAR: "SIMILAR",
128
+ };
123
129
  export const MatchFinder = {
124
130
  MR_ONEHOOK: "MR_ONEHOOK",
125
131
  ONEHOOK_INTELLIGENCE: "ONEHOOK_INTELLIGENCE",
@@ -520,38 +520,7 @@ export const se_DiscoverCommand = async (input, context) => {
520
520
  const query = map({
521
521
  [_l]: [__expectNonNull(input.lat, `lat`) != null, () => ((input[_l] % 1 == 0) ? input[_l] + ".0" : input[_l].toString())],
522
522
  [_lo]: [__expectNonNull(input.lon, `lon`) != null, () => ((input[_lo] % 1 == 0) ? input[_lo] + ".0" : input[_lo].toString())],
523
- });
524
- let body;
525
- b.m("GET")
526
- .h(headers)
527
- .q(query)
528
- .b(body);
529
- return b.build();
530
- };
531
- export const se_DiscoverByIntentCommand = async (input, context) => {
532
- const b = rb(input, context);
533
- const headers = {
534
- 'content-type': 'application/json',
535
- };
536
- b.bp("/matching/discover/intent");
537
- let body;
538
- body = JSON.stringify(take(input, {
539
- 'description': [],
540
- 'lat': _ => __serializeFloat(_),
541
- 'lon': _ => __serializeFloat(_),
542
- }));
543
- b.m("POST")
544
- .h(headers)
545
- .b(body);
546
- return b.build();
547
- };
548
- export const se_DiscoverSuggestedCommand = async (input, context) => {
549
- const b = rb(input, context);
550
- const headers = {};
551
- b.bp("/matching/discover/suggested");
552
- const query = map({
553
- [_l]: [__expectNonNull(input.lat, `lat`) != null, () => ((input[_l] % 1 == 0) ? input[_l] + ".0" : input[_l].toString())],
554
- [_lo]: [__expectNonNull(input.lon, `lon`) != null, () => ((input[_lo] % 1 == 0) ? input[_lo] + ".0" : input[_lo].toString())],
523
+ [_c]: [, input[_c]],
555
524
  });
556
525
  let body;
557
526
  b.m("GET")
@@ -618,6 +587,22 @@ export const se_IndexLocationCommand = async (input, context) => {
618
587
  .b(body);
619
588
  return b.build();
620
589
  };
590
+ export const se_RecordSuggestionCommand = async (input, context) => {
591
+ const b = rb(input, context);
592
+ const headers = {
593
+ 'content-type': 'application/json',
594
+ };
595
+ b.bp("/matching/suggestions");
596
+ let body;
597
+ body = JSON.stringify(take(input, {
598
+ 'prompt': [],
599
+ 'reasoning': [],
600
+ }));
601
+ b.m("POST")
602
+ .h(headers)
603
+ .b(body);
604
+ return b.build();
605
+ };
621
606
  export const se_RemoveLocationCommand = async (input, context) => {
622
607
  const b = rb(input, context);
623
608
  const headers = {
@@ -1485,39 +1470,9 @@ export const de_DiscoverCommand = async (output, context) => {
1485
1470
  const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
1486
1471
  const doc = take(data, {
1487
1472
  'algorithm': __expectString,
1473
+ 'availableCategories': _json,
1488
1474
  'candidates': _ => de_CandidateList(_, context),
1489
- 'count': __expectInt32,
1490
- });
1491
- Object.assign(contents, doc);
1492
- return contents;
1493
- };
1494
- export const de_DiscoverByIntentCommand = async (output, context) => {
1495
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1496
- return de_CommandError(output, context);
1497
- }
1498
- const contents = map({
1499
- $metadata: deserializeMetadata(output),
1500
- });
1501
- const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
1502
- const doc = take(data, {
1503
- 'algorithm': __expectString,
1504
- 'candidates': _ => de_CandidateList(_, context),
1505
- 'count': __expectInt32,
1506
- });
1507
- Object.assign(contents, doc);
1508
- return contents;
1509
- };
1510
- export const de_DiscoverSuggestedCommand = async (output, context) => {
1511
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1512
- return de_CommandError(output, context);
1513
- }
1514
- const contents = map({
1515
- $metadata: deserializeMetadata(output),
1516
- });
1517
- const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
1518
- const doc = take(data, {
1519
- 'algorithm': __expectString,
1520
- 'candidates': _ => de_CandidateList(_, context),
1475
+ 'category': __expectString,
1521
1476
  'count': __expectInt32,
1522
1477
  });
1523
1478
  Object.assign(contents, doc);
@@ -1631,6 +1586,20 @@ export const de_IndexLocationCommand = async (output, context) => {
1631
1586
  Object.assign(contents, doc);
1632
1587
  return contents;
1633
1588
  };
1589
+ export const de_RecordSuggestionCommand = async (output, context) => {
1590
+ if (output.statusCode !== 201 && output.statusCode >= 300) {
1591
+ return de_CommandError(output, context);
1592
+ }
1593
+ const contents = map({
1594
+ $metadata: deserializeMetadata(output),
1595
+ });
1596
+ const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
1597
+ const doc = take(data, {
1598
+ 'suggestionId': __expectString,
1599
+ });
1600
+ Object.assign(contents, doc);
1601
+ return contents;
1602
+ };
1634
1603
  export const de_RemoveLocationCommand = async (output, context) => {
1635
1604
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1636
1605
  return de_CommandError(output, context);
@@ -2114,9 +2083,11 @@ const de_CandidateDto = (output, context) => {
2114
2083
  'distanceKm': __limitedParseDouble,
2115
2084
  'matchFinder': __expectString,
2116
2085
  'matchFinderLabel': __expectString,
2086
+ 'reasoning': __expectString,
2117
2087
  'score': __limitedParseDouble,
2118
2088
  'similarity': __limitedParseDouble,
2119
2089
  'suggestionBasis': __expectString,
2090
+ 'suggestionId': __expectString,
2120
2091
  'userId': __expectString,
2121
2092
  });
2122
2093
  };
@@ -2133,6 +2104,7 @@ const deserializeMetadata = (output) => ({
2133
2104
  cfId: output.headers["x-amz-cf-id"],
2134
2105
  });
2135
2106
  const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then(body => context.utf8Encoder(body));
2107
+ const _c = "category";
2136
2108
  const _k = "key";
2137
2109
  const _l = "lat";
2138
2110
  const _lo = "lon";