onehook-api-client 1.0.35 → 1.0.37

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
@@ -507,6 +507,13 @@ GetSuggestions
507
507
  </details>
508
508
  <details>
509
509
  <summary>
510
+ GetTraditionPreferences
511
+ </summary>
512
+
513
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/onehook/command/GetTraditionPreferencesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-onehook/Interface/GetTraditionPreferencesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-onehook/Interface/GetTraditionPreferencesCommandOutput/)
514
+ </details>
515
+ <details>
516
+ <summary>
510
517
  IndexLocation
511
518
  </summary>
512
519
 
@@ -563,6 +570,13 @@ UpdatePreferences
563
570
  </details>
564
571
  <details>
565
572
  <summary>
573
+ UpdateTraditionPreferences
574
+ </summary>
575
+
576
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/onehook/command/UpdateTraditionPreferencesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-onehook/Interface/UpdateTraditionPreferencesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-onehook/Interface/UpdateTraditionPreferencesCommandOutput/)
577
+ </details>
578
+ <details>
579
+ <summary>
566
580
  CompleteLivenessSession
567
581
  </summary>
568
582
 
@@ -36,6 +36,7 @@ const GetReceivedLikesCommand_1 = require("./commands/GetReceivedLikesCommand");
36
36
  const GetRosesCommand_1 = require("./commands/GetRosesCommand");
37
37
  const GetStateCommand_1 = require("./commands/GetStateCommand");
38
38
  const GetSuggestionsCommand_1 = require("./commands/GetSuggestionsCommand");
39
+ const GetTraditionPreferencesCommand_1 = require("./commands/GetTraditionPreferencesCommand");
39
40
  const GetUserByEmailCommand_1 = require("./commands/GetUserByEmailCommand");
40
41
  const GetUserCommand_1 = require("./commands/GetUserCommand");
41
42
  const GetUserIdByUsernameCommand_1 = require("./commands/GetUserIdByUsernameCommand");
@@ -69,6 +70,7 @@ const UpdateEntitlementsCommand_1 = require("./commands/UpdateEntitlementsComman
69
70
  const UpdatePhoneNumberCommand_1 = require("./commands/UpdatePhoneNumberCommand");
70
71
  const UpdatePreferencesCommand_1 = require("./commands/UpdatePreferencesCommand");
71
72
  const UpdateProfileCommand_1 = require("./commands/UpdateProfileCommand");
73
+ const UpdateTraditionPreferencesCommand_1 = require("./commands/UpdateTraditionPreferencesCommand");
72
74
  const UpdateUsernameCommand_1 = require("./commands/UpdateUsernameCommand");
73
75
  const UpgradeUserCommand_1 = require("./commands/UpgradeUserCommand");
74
76
  const ValidateInviteCommand_1 = require("./commands/ValidateInviteCommand");
@@ -119,6 +121,7 @@ const commands = {
119
121
  GetReceivedLikesCommand: GetReceivedLikesCommand_1.GetReceivedLikesCommand,
120
122
  GetRosesCommand: GetRosesCommand_1.GetRosesCommand,
121
123
  GetSuggestionsCommand: GetSuggestionsCommand_1.GetSuggestionsCommand,
124
+ GetTraditionPreferencesCommand: GetTraditionPreferencesCommand_1.GetTraditionPreferencesCommand,
122
125
  IndexLocationCommand: IndexLocationCommand_1.IndexLocationCommand,
123
126
  RecordSuggestionCommand: RecordSuggestionCommand_1.RecordSuggestionCommand,
124
127
  RemoveLocationCommand: RemoveLocationCommand_1.RemoveLocationCommand,
@@ -127,6 +130,7 @@ const commands = {
127
130
  SwipeCommand: SwipeCommand_1.SwipeCommand,
128
131
  SwipeByUsernameCommand: SwipeByUsernameCommand_1.SwipeByUsernameCommand,
129
132
  UpdatePreferencesCommand: UpdatePreferencesCommand_1.UpdatePreferencesCommand,
133
+ UpdateTraditionPreferencesCommand: UpdateTraditionPreferencesCommand_1.UpdateTraditionPreferencesCommand,
130
134
  CompleteLivenessSessionCommand: CompleteLivenessSessionCommand_1.CompleteLivenessSessionCommand,
131
135
  CorrectBirthDateCommand: CorrectBirthDateCommand_1.CorrectBirthDateCommand,
132
136
  CreateLivenessSessionCommand: CreateLivenessSessionCommand_1.CreateLivenessSessionCommand,
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetTraditionPreferencesCommand = 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 GetTraditionPreferencesCommand 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", "GetTraditionPreferences", {})
15
+ .n("OneHookClient", "GetTraditionPreferencesCommand")
16
+ .f(void 0, void 0)
17
+ .ser(Aws_restJson1_1.se_GetTraditionPreferencesCommand)
18
+ .de(Aws_restJson1_1.de_GetTraditionPreferencesCommand)
19
+ .build() {
20
+ }
21
+ exports.GetTraditionPreferencesCommand = GetTraditionPreferencesCommand;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateTraditionPreferencesCommand = 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 UpdateTraditionPreferencesCommand 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", "UpdateTraditionPreferences", {})
15
+ .n("OneHookClient", "UpdateTraditionPreferencesCommand")
16
+ .f(void 0, void 0)
17
+ .ser(Aws_restJson1_1.se_UpdateTraditionPreferencesCommand)
18
+ .de(Aws_restJson1_1.de_UpdateTraditionPreferencesCommand)
19
+ .build() {
20
+ }
21
+ exports.UpdateTraditionPreferencesCommand = UpdateTraditionPreferencesCommand;
@@ -45,6 +45,7 @@ tslib_1.__exportStar(require("./GetPreferencesCommand"), exports);
45
45
  tslib_1.__exportStar(require("./GetReceivedLikesCommand"), exports);
46
46
  tslib_1.__exportStar(require("./GetRosesCommand"), exports);
47
47
  tslib_1.__exportStar(require("./GetSuggestionsCommand"), exports);
48
+ tslib_1.__exportStar(require("./GetTraditionPreferencesCommand"), exports);
48
49
  tslib_1.__exportStar(require("./IndexLocationCommand"), exports);
49
50
  tslib_1.__exportStar(require("./RecordSuggestionCommand"), exports);
50
51
  tslib_1.__exportStar(require("./RemoveLocationCommand"), exports);
@@ -53,6 +54,7 @@ tslib_1.__exportStar(require("./RemoveSuggestionCommand"), exports);
53
54
  tslib_1.__exportStar(require("./SwipeCommand"), exports);
54
55
  tslib_1.__exportStar(require("./SwipeByUsernameCommand"), exports);
55
56
  tslib_1.__exportStar(require("./UpdatePreferencesCommand"), exports);
57
+ tslib_1.__exportStar(require("./UpdateTraditionPreferencesCommand"), exports);
56
58
  tslib_1.__exportStar(require("./CompleteLivenessSessionCommand"), exports);
57
59
  tslib_1.__exportStar(require("./CorrectBirthDateCommand"), exports);
58
60
  tslib_1.__exportStar(require("./CreateLivenessSessionCommand"), exports);
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
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;
3
+ exports.SuggestionBasis = exports.MatchVerdict = exports.MatchHighlightSource = 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";
@@ -139,6 +139,27 @@ exports.MatchFinder = {
139
139
  MR_ONEHOOK: "MR_ONEHOOK",
140
140
  ONEHOOK_INTELLIGENCE: "ONEHOOK_INTELLIGENCE",
141
141
  };
142
+ exports.MatchHighlightSource = {
143
+ ARABIC_PARTS: "ARABIC_PARTS",
144
+ BABYLONIAN: "BABYLONIAN",
145
+ BAZI: "BAZI",
146
+ BUDDHIST: "BUDDHIST",
147
+ CELTIC: "CELTIC",
148
+ EGYPTIAN: "EGYPTIAN",
149
+ HEBREW: "HEBREW",
150
+ HELLENISTIC: "HELLENISTIC",
151
+ KUNDALI: "KUNDALI",
152
+ MR_ONEHOOK: "MR_ONEHOOK",
153
+ ONEHOOK_INTELLIGENCE: "ONEHOOK_INTELLIGENCE",
154
+ TIBETAN: "TIBETAN",
155
+ TZOLKIN: "TZOLKIN",
156
+ WESTERN: "WESTERN",
157
+ ZI_WEI_DOU_SHU: "ZI_WEI_DOU_SHU",
158
+ };
159
+ exports.MatchVerdict = {
160
+ EXCELLENT: "EXCELLENT",
161
+ GOOD: "GOOD",
162
+ };
142
163
  exports.SuggestionBasis = {
143
164
  EXPLICIT_REQUEST: "EXPLICIT_REQUEST",
144
165
  INFERRED_INCLINATION: "INFERRED_INCLINATION",
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.se_SwipeCommand = exports.se_RemoveSuggestionCommand = exports.se_RemoveOneHookSuggestionCommand = exports.se_RemoveLocationCommand = exports.se_RecordSuggestionCommand = exports.se_IndexLocationCommand = exports.se_GetSuggestionsCommand = 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_SetPreservationHoldCommand = exports.se_SetAccountStateCommand = exports.se_SendAdminLinkOtpCommand = exports.se_RevokeUserAccessCommand = exports.se_RequestPhoneUpdateOtpCommand = exports.se_RequestPhoneOtpCommand = exports.se_RequestEmailOtpCommand = exports.se_RegisterPhoneCommand = exports.se_LinkSocialCommand = exports.se_LinkEmailCommand = exports.se_GetUserIdByUsernameCommand = exports.se_GetUserByEmailCommand = exports.se_GetUserCommand = exports.se_GetPreservationHoldCommand = exports.se_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_RevokeUserAccessCommand = 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_GetPreservationHoldCommand = 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_SearchPlacesCommand = exports.se_GetProfileCommand = exports.se_GetPlaceCommand = exports.se_GetMyProfileCommand = exports.se_GetLivenessStatusCommand = exports.se_GetBirthDateStatusCommand = exports.se_GenerateUploadUrlCommand = exports.se_GenerateDownloadUrlCommand = exports.se_DeleteProfileCommand = exports.se_CreateLivenessSessionCommand = exports.se_CorrectBirthDateCommand = exports.se_CompleteLivenessSessionCommand = exports.se_UpdatePreferencesCommand = exports.se_SwipeByUsernameCommand = 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_SearchPlacesCommand = exports.de_GetProfileCommand = exports.de_GetPlaceCommand = exports.de_GetMyProfileCommand = exports.de_GetLivenessStatusCommand = exports.de_GetBirthDateStatusCommand = exports.de_GenerateUploadUrlCommand = exports.de_GenerateDownloadUrlCommand = exports.de_DeleteProfileCommand = exports.de_CreateLivenessSessionCommand = exports.de_CorrectBirthDateCommand = exports.de_CompleteLivenessSessionCommand = exports.de_UpdatePreferencesCommand = exports.de_SwipeByUsernameCommand = exports.de_SwipeCommand = exports.de_RemoveSuggestionCommand = exports.de_RemoveOneHookSuggestionCommand = exports.de_RemoveLocationCommand = exports.de_RecordSuggestionCommand = exports.de_IndexLocationCommand = exports.de_GetSuggestionsCommand = 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_SetPreservationHoldCommand = exports.de_SetAccountStateCommand = exports.de_SendAdminLinkOtpCommand = void 0;
3
+ exports.se_RemoveSuggestionCommand = exports.se_RemoveOneHookSuggestionCommand = exports.se_RemoveLocationCommand = exports.se_RecordSuggestionCommand = exports.se_IndexLocationCommand = exports.se_GetTraditionPreferencesCommand = exports.se_GetSuggestionsCommand = 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_SetPreservationHoldCommand = exports.se_SetAccountStateCommand = exports.se_SendAdminLinkOtpCommand = exports.se_RevokeUserAccessCommand = exports.se_RequestPhoneUpdateOtpCommand = exports.se_RequestPhoneOtpCommand = exports.se_RequestEmailOtpCommand = exports.se_RegisterPhoneCommand = exports.se_LinkSocialCommand = exports.se_LinkEmailCommand = exports.se_GetUserIdByUsernameCommand = exports.se_GetUserByEmailCommand = exports.se_GetUserCommand = exports.se_GetPreservationHoldCommand = exports.se_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_RequestPhoneOtpCommand = exports.de_RequestEmailOtpCommand = exports.de_RegisterPhoneCommand = exports.de_LinkSocialCommand = exports.de_LinkEmailCommand = exports.de_GetUserIdByUsernameCommand = exports.de_GetUserByEmailCommand = exports.de_GetUserCommand = exports.de_GetPreservationHoldCommand = exports.de_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_SearchPlacesCommand = exports.se_GetProfileCommand = exports.se_GetPlaceCommand = exports.se_GetMyProfileCommand = exports.se_GetLivenessStatusCommand = exports.se_GetBirthDateStatusCommand = exports.se_GenerateUploadUrlCommand = exports.se_GenerateDownloadUrlCommand = exports.se_DeleteProfileCommand = exports.se_CreateLivenessSessionCommand = exports.se_CorrectBirthDateCommand = exports.se_CompleteLivenessSessionCommand = exports.se_UpdateTraditionPreferencesCommand = exports.se_UpdatePreferencesCommand = exports.se_SwipeByUsernameCommand = exports.se_SwipeCommand = 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_SearchPlacesCommand = exports.de_GetProfileCommand = exports.de_GetPlaceCommand = exports.de_GetMyProfileCommand = exports.de_GetLivenessStatusCommand = exports.de_GetBirthDateStatusCommand = exports.de_GenerateUploadUrlCommand = exports.de_GenerateDownloadUrlCommand = exports.de_DeleteProfileCommand = exports.de_CreateLivenessSessionCommand = exports.de_CorrectBirthDateCommand = exports.de_CompleteLivenessSessionCommand = exports.de_UpdateTraditionPreferencesCommand = exports.de_UpdatePreferencesCommand = exports.de_SwipeByUsernameCommand = exports.de_SwipeCommand = exports.de_RemoveSuggestionCommand = exports.de_RemoveOneHookSuggestionCommand = exports.de_RemoveLocationCommand = exports.de_RecordSuggestionCommand = exports.de_IndexLocationCommand = exports.de_GetTraditionPreferencesCommand = exports.de_GetSuggestionsCommand = 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_SetPreservationHoldCommand = exports.de_SetAccountStateCommand = exports.de_SendAdminLinkOtpCommand = exports.de_RevokeUserAccessCommand = exports.de_RequestPhoneUpdateOtpCommand = 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");
@@ -673,6 +673,17 @@ const se_GetSuggestionsCommand = async (input, context) => {
673
673
  return b.build();
674
674
  };
675
675
  exports.se_GetSuggestionsCommand = se_GetSuggestionsCommand;
676
+ const se_GetTraditionPreferencesCommand = async (input, context) => {
677
+ const b = (0, core_2.requestBuilder)(input, context);
678
+ const headers = {};
679
+ b.bp("/matching/traditions");
680
+ let body;
681
+ b.m("GET")
682
+ .h(headers)
683
+ .b(body);
684
+ return b.build();
685
+ };
686
+ exports.se_GetTraditionPreferencesCommand = se_GetTraditionPreferencesCommand;
676
687
  const se_IndexLocationCommand = async (input, context) => {
677
688
  const b = (0, core_2.requestBuilder)(input, context);
678
689
  const headers = {
@@ -832,6 +843,22 @@ const se_UpdatePreferencesCommand = async (input, context) => {
832
843
  return b.build();
833
844
  };
834
845
  exports.se_UpdatePreferencesCommand = se_UpdatePreferencesCommand;
846
+ const se_UpdateTraditionPreferencesCommand = async (input, context) => {
847
+ const b = (0, core_2.requestBuilder)(input, context);
848
+ const headers = {
849
+ 'content-type': 'application/json',
850
+ };
851
+ b.bp("/matching/traditions");
852
+ let body;
853
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
854
+ 'disabled': _ => (0, smithy_client_1._json)(_),
855
+ }));
856
+ b.m("PUT")
857
+ .h(headers)
858
+ .b(body);
859
+ return b.build();
860
+ };
861
+ exports.se_UpdateTraditionPreferencesCommand = se_UpdateTraditionPreferencesCommand;
835
862
  const se_CompleteLivenessSessionCommand = async (input, context) => {
836
863
  const b = (0, core_2.requestBuilder)(input, context);
837
864
  const headers = {
@@ -1892,6 +1919,21 @@ const de_GetSuggestionsCommand = async (output, context) => {
1892
1919
  return contents;
1893
1920
  };
1894
1921
  exports.de_GetSuggestionsCommand = de_GetSuggestionsCommand;
1922
+ const de_GetTraditionPreferencesCommand = async (output, context) => {
1923
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1924
+ return de_CommandError(output, context);
1925
+ }
1926
+ const contents = (0, smithy_client_1.map)({
1927
+ $metadata: deserializeMetadata(output),
1928
+ });
1929
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1930
+ const doc = (0, smithy_client_1.take)(data, {
1931
+ 'traditions': smithy_client_1._json,
1932
+ });
1933
+ Object.assign(contents, doc);
1934
+ return contents;
1935
+ };
1936
+ exports.de_GetTraditionPreferencesCommand = de_GetTraditionPreferencesCommand;
1895
1937
  const de_IndexLocationCommand = async (output, context) => {
1896
1938
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1897
1939
  return de_CommandError(output, context);
@@ -2006,6 +2048,21 @@ const de_UpdatePreferencesCommand = async (output, context) => {
2006
2048
  return contents;
2007
2049
  };
2008
2050
  exports.de_UpdatePreferencesCommand = de_UpdatePreferencesCommand;
2051
+ const de_UpdateTraditionPreferencesCommand = async (output, context) => {
2052
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2053
+ return de_CommandError(output, context);
2054
+ }
2055
+ const contents = (0, smithy_client_1.map)({
2056
+ $metadata: deserializeMetadata(output),
2057
+ });
2058
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
2059
+ const doc = (0, smithy_client_1.take)(data, {
2060
+ 'traditions': smithy_client_1._json,
2061
+ });
2062
+ Object.assign(contents, doc);
2063
+ return contents;
2064
+ };
2065
+ exports.de_UpdateTraditionPreferencesCommand = de_UpdateTraditionPreferencesCommand;
2009
2066
  const de_CompleteLivenessSessionCommand = async (output, context) => {
2010
2067
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2011
2068
  return de_CommandError(output, context);
@@ -2539,6 +2596,7 @@ const de_CandidateDto = (output, context) => {
2539
2596
  'distanceKm': smithy_client_1.limitedParseDouble,
2540
2597
  'matchFinder': smithy_client_1.expectString,
2541
2598
  'matchFinderLabel': smithy_client_1.expectString,
2599
+ 'matchHighlights': smithy_client_1._json,
2542
2600
  'reasoning': smithy_client_1.expectString,
2543
2601
  'score': smithy_client_1.limitedParseDouble,
2544
2602
  'similarity': smithy_client_1.limitedParseDouble,
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.isUiElementId = exports.TELEMETRY_EXEMPT_CATEGORIES = exports.uiElementsForPlatform = exports.UI_ELEMENTS = exports.UiElement = exports.ReportEvent = exports.ReportSource = exports.ReportCategory = exports.HookedStateAction = exports.NotificationChannel = exports.NotificationType = exports.CardVariant = exports.SafetyAction = exports.LikeTargetType = exports.ProfileSection = exports.MediaType = exports.SwipeDirection = exports.UiElementKind = exports.UiAction = exports.TabScreen = exports.ViewableScreen = exports.Screen = exports.Platform = exports.SignalType = exports.TELEMETRY_CATALOG_HASH = exports.TELEMETRY_CATALOG_VERSION = void 0;
4
- exports.TELEMETRY_CATALOG_VERSION = "1.11.0";
5
- exports.TELEMETRY_CATALOG_HASH = "12c7d6d70211f79c";
4
+ exports.TELEMETRY_CATALOG_VERSION = "1.14.0";
5
+ exports.TELEMETRY_CATALOG_HASH = "4d228919bd9883a5";
6
6
  exports.SignalType = {
7
7
  SCREEN_VIEW: "screen_view",
8
8
  UI_INTERACTION: "ui_interaction",
@@ -270,6 +270,7 @@ exports.UiElement = {
270
270
  DISCOVER_ADD_HOOK_OPEN: "discover.add_hook_open",
271
271
  DISCOVER_RETRY: "discover.retry",
272
272
  DISCOVER_CATEGORY_SELECT: "discover.category_select",
273
+ DISCOVER_HIGHLIGHT_SWIPE: "discover.highlight_swipe",
273
274
  DISCOVER_ADD_HOOK_SUBMIT: "discover.add_hook_submit",
274
275
  DISCOVER_UPGRADE_OPEN: "discover.upgrade_open",
275
276
  LIKE_COMPOSER_SEND: "like_composer.send",
@@ -342,6 +343,7 @@ exports.UiElement = {
342
343
  CHAT_MR_ONEHOOK_SESSION_DELETE: "chat.mr_onehook_session_delete",
343
344
  CHAT_MR_ONEHOOK_SESSION_NEW: "chat.mr_onehook_session_new",
344
345
  CHAT_MR_ONEHOOK_SESSION_LIMIT: "chat.mr_onehook_session_limit",
346
+ CHAT_MR_ONEHOOK_UPGRADE_OPEN: "chat.mr_onehook_upgrade_open",
345
347
  CHAT_INTRO_TOUR_OPEN: "chat.intro_tour_open",
346
348
  CHAT_INTRO_DISMISS: "chat.intro_dismiss",
347
349
  CHAT_INTRO_GET_STARTED: "chat.intro_get_started",
@@ -393,6 +395,8 @@ exports.UiElement = {
393
395
  PREFERENCES_LOCKED_FILTER_TAP: "preferences.locked_filter_tap",
394
396
  PREFERENCES_SUGGESTION_REMOVE: "preferences.suggestion_remove",
395
397
  PREFERENCES_OWN_SUGGESTION_SAVE: "preferences.own_suggestion_save",
398
+ PREFERENCES_TRADITION_TOGGLE: "preferences.tradition_toggle",
399
+ PREFERENCES_TRADITIONS_RETRY: "preferences.traditions_retry",
396
400
  PREFERENCES_OWN_SUGGESTION_REMOVE: "preferences.own_suggestion_remove",
397
401
  SETTINGS_EMAIL_MANAGE: "settings.email_manage",
398
402
  SETTINGS_PHONE_UPDATE: "settings.phone_update",
@@ -522,8 +526,9 @@ exports.UI_ELEMENTS = {
522
526
  "discover.add_hook_open": { screen: "DISCOVER", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["ios"] },
523
527
  "discover.retry": { screen: "DISCOVER", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
524
528
  "discover.category_select": { screen: "DISCOVER", kind: "button", actions: ["tap"], values: ["all", "profile_match", "onehook_suggested", "similar"], platforms: ["web", "ios", "android"] },
529
+ "discover.highlight_swipe": { screen: "DISCOVER", kind: "gesture", actions: ["tap"], values: ["onehook_intelligence", "mr_onehook", "kundali", "western", "bazi", "zi_wei_dou_shu", "tzolkin", "tibetan", "hebrew", "arabic_parts", "buddhist", "celtic", "egyptian", "hellenistic", "babylonian"], platforms: ["web", "ios", "android"] },
525
530
  "discover.add_hook_submit": { screen: "DISCOVER", kind: "button", actions: ["submit"], values: null, platforms: ["web", "ios"] },
526
- "discover.upgrade_open": { screen: "DISCOVER", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["ios"] },
531
+ "discover.upgrade_open": { screen: "DISCOVER", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
527
532
  "like_composer.send": { screen: "LIKE_COMPOSER", kind: "button", actions: ["submit"], values: null, platforms: ["web", "ios", "android"] },
528
533
  "like_composer.send_without_comment": { screen: "LIKE_COMPOSER", kind: "button", actions: ["submit"], values: null, platforms: ["ios"] },
529
534
  "like_composer.cancel": { screen: "LIKE_COMPOSER", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
@@ -589,11 +594,12 @@ exports.UI_ELEMENTS = {
589
594
  "chat.mr_onehook_context_share": { screen: "CHAT", kind: "dialog_button", actions: ["submit", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
590
595
  "chat.mr_onehook_scope_open": { screen: "CHAT", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web"] },
591
596
  "chat.mr_onehook_scope_select": { screen: "CHAT", kind: "menu_item", actions: ["tap"], values: null, platforms: ["web"] },
592
- "chat.mr_onehook_sessions_open": { screen: "CHAT", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
597
+ "chat.mr_onehook_sessions_open": { screen: "CHAT", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["ios"] },
593
598
  "chat.mr_onehook_session_resume": { screen: "CHAT", kind: "menu_item", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
594
- "chat.mr_onehook_session_delete": { screen: "CHAT", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
599
+ "chat.mr_onehook_session_delete": { screen: "CHAT", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
595
600
  "chat.mr_onehook_session_new": { screen: "CHAT", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
596
601
  "chat.mr_onehook_session_limit": { screen: "CHAT", kind: "dialog_button", actions: ["tap", "dismiss"], values: ["replace_least_recent", "manage", "cancel"], platforms: ["web", "ios", "android"] },
602
+ "chat.mr_onehook_upgrade_open": { screen: "CHAT", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
597
603
  "chat.intro_tour_open": { screen: "CHAT", kind: "button", actions: ["tap"], values: null, platforms: ["ios"] },
598
604
  "chat.intro_dismiss": { screen: "CHAT", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["ios"] },
599
605
  "chat.intro_get_started": { screen: "CHAT", kind: "button", actions: ["tap"], values: null, platforms: ["ios"] },
@@ -641,10 +647,12 @@ exports.UI_ELEMENTS = {
641
647
  "profile_edit.voice_remove": { screen: "PROFILE_EDIT", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios"] },
642
648
  "profile_edit.choice_select": { screen: "PROFILE_EDIT", kind: "segmented", actions: ["select", "tap"], values: null, platforms: ["web", "ios", "android"] },
643
649
  "preferences.save": { screen: "PREFERENCES", kind: "button", actions: ["submit"], values: null, platforms: ["ios", "android"] },
644
- "preferences.upgrade_open": { screen: "PREFERENCES", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["ios"] },
645
- "preferences.locked_filter_tap": { screen: "PREFERENCES", kind: "button", actions: ["tap"], values: null, platforms: ["ios"] },
650
+ "preferences.upgrade_open": { screen: "PREFERENCES", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
651
+ "preferences.locked_filter_tap": { screen: "PREFERENCES", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
646
652
  "preferences.suggestion_remove": { screen: "PREFERENCES", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
647
653
  "preferences.own_suggestion_save": { screen: "PREFERENCES", kind: "button", actions: ["submit"], values: null, platforms: ["web", "ios", "android"] },
654
+ "preferences.tradition_toggle": { screen: "PREFERENCES", kind: "toggle", actions: ["toggle"], values: ["kundali", "western", "bazi", "zi_wei_dou_shu", "tzolkin", "tibetan", "hebrew", "arabic_parts", "buddhist", "celtic", "egyptian", "hellenistic", "babylonian"], platforms: ["web", "ios", "android"] },
655
+ "preferences.traditions_retry": { screen: "PREFERENCES", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
648
656
  "preferences.own_suggestion_remove": { screen: "PREFERENCES", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
649
657
  "settings.email_manage": { screen: "SETTINGS", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
650
658
  "settings.phone_update": { screen: "SETTINGS", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["ios", "android"] },
@@ -33,6 +33,7 @@ import { GetReceivedLikesCommand, } from "./commands/GetReceivedLikesCommand";
33
33
  import { GetRosesCommand, } from "./commands/GetRosesCommand";
34
34
  import { GetStateCommand, } from "./commands/GetStateCommand";
35
35
  import { GetSuggestionsCommand, } from "./commands/GetSuggestionsCommand";
36
+ import { GetTraditionPreferencesCommand, } from "./commands/GetTraditionPreferencesCommand";
36
37
  import { GetUserByEmailCommand, } from "./commands/GetUserByEmailCommand";
37
38
  import { GetUserCommand, } from "./commands/GetUserCommand";
38
39
  import { GetUserIdByUsernameCommand, } from "./commands/GetUserIdByUsernameCommand";
@@ -66,6 +67,7 @@ import { UpdateEntitlementsCommand, } from "./commands/UpdateEntitlementsCommand
66
67
  import { UpdatePhoneNumberCommand, } from "./commands/UpdatePhoneNumberCommand";
67
68
  import { UpdatePreferencesCommand, } from "./commands/UpdatePreferencesCommand";
68
69
  import { UpdateProfileCommand, } from "./commands/UpdateProfileCommand";
70
+ import { UpdateTraditionPreferencesCommand, } from "./commands/UpdateTraditionPreferencesCommand";
69
71
  import { UpdateUsernameCommand, } from "./commands/UpdateUsernameCommand";
70
72
  import { UpgradeUserCommand, } from "./commands/UpgradeUserCommand";
71
73
  import { ValidateInviteCommand, } from "./commands/ValidateInviteCommand";
@@ -116,6 +118,7 @@ const commands = {
116
118
  GetReceivedLikesCommand,
117
119
  GetRosesCommand,
118
120
  GetSuggestionsCommand,
121
+ GetTraditionPreferencesCommand,
119
122
  IndexLocationCommand,
120
123
  RecordSuggestionCommand,
121
124
  RemoveLocationCommand,
@@ -124,6 +127,7 @@ const commands = {
124
127
  SwipeCommand,
125
128
  SwipeByUsernameCommand,
126
129
  UpdatePreferencesCommand,
130
+ UpdateTraditionPreferencesCommand,
127
131
  CompleteLivenessSessionCommand,
128
132
  CorrectBirthDateCommand,
129
133
  CreateLivenessSessionCommand,
@@ -0,0 +1,17 @@
1
+ import { de_GetTraditionPreferencesCommand, se_GetTraditionPreferencesCommand, } 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 GetTraditionPreferencesCommand extends $Command.classBuilder()
6
+ .m(function (Command, cs, config, o) {
7
+ return [
8
+ getSerdePlugin(config, this.serialize, this.deserialize),
9
+ ];
10
+ })
11
+ .s("OneHookService", "GetTraditionPreferences", {})
12
+ .n("OneHookClient", "GetTraditionPreferencesCommand")
13
+ .f(void 0, void 0)
14
+ .ser(se_GetTraditionPreferencesCommand)
15
+ .de(de_GetTraditionPreferencesCommand)
16
+ .build() {
17
+ }
@@ -0,0 +1,17 @@
1
+ import { de_UpdateTraditionPreferencesCommand, se_UpdateTraditionPreferencesCommand, } 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 UpdateTraditionPreferencesCommand extends $Command.classBuilder()
6
+ .m(function (Command, cs, config, o) {
7
+ return [
8
+ getSerdePlugin(config, this.serialize, this.deserialize),
9
+ ];
10
+ })
11
+ .s("OneHookService", "UpdateTraditionPreferences", {})
12
+ .n("OneHookClient", "UpdateTraditionPreferencesCommand")
13
+ .f(void 0, void 0)
14
+ .ser(se_UpdateTraditionPreferencesCommand)
15
+ .de(de_UpdateTraditionPreferencesCommand)
16
+ .build() {
17
+ }
@@ -42,6 +42,7 @@ export * from "./GetPreferencesCommand";
42
42
  export * from "./GetReceivedLikesCommand";
43
43
  export * from "./GetRosesCommand";
44
44
  export * from "./GetSuggestionsCommand";
45
+ export * from "./GetTraditionPreferencesCommand";
45
46
  export * from "./IndexLocationCommand";
46
47
  export * from "./RecordSuggestionCommand";
47
48
  export * from "./RemoveLocationCommand";
@@ -50,6 +51,7 @@ export * from "./RemoveSuggestionCommand";
50
51
  export * from "./SwipeCommand";
51
52
  export * from "./SwipeByUsernameCommand";
52
53
  export * from "./UpdatePreferencesCommand";
54
+ export * from "./UpdateTraditionPreferencesCommand";
53
55
  export * from "./CompleteLivenessSessionCommand";
54
56
  export * from "./CorrectBirthDateCommand";
55
57
  export * from "./CreateLivenessSessionCommand";
@@ -130,6 +130,27 @@ export const MatchFinder = {
130
130
  MR_ONEHOOK: "MR_ONEHOOK",
131
131
  ONEHOOK_INTELLIGENCE: "ONEHOOK_INTELLIGENCE",
132
132
  };
133
+ export const MatchHighlightSource = {
134
+ ARABIC_PARTS: "ARABIC_PARTS",
135
+ BABYLONIAN: "BABYLONIAN",
136
+ BAZI: "BAZI",
137
+ BUDDHIST: "BUDDHIST",
138
+ CELTIC: "CELTIC",
139
+ EGYPTIAN: "EGYPTIAN",
140
+ HEBREW: "HEBREW",
141
+ HELLENISTIC: "HELLENISTIC",
142
+ KUNDALI: "KUNDALI",
143
+ MR_ONEHOOK: "MR_ONEHOOK",
144
+ ONEHOOK_INTELLIGENCE: "ONEHOOK_INTELLIGENCE",
145
+ TIBETAN: "TIBETAN",
146
+ TZOLKIN: "TZOLKIN",
147
+ WESTERN: "WESTERN",
148
+ ZI_WEI_DOU_SHU: "ZI_WEI_DOU_SHU",
149
+ };
150
+ export const MatchVerdict = {
151
+ EXCELLENT: "EXCELLENT",
152
+ GOOD: "GOOD",
153
+ };
133
154
  export const SuggestionBasis = {
134
155
  EXPLICIT_REQUEST: "EXPLICIT_REQUEST",
135
156
  INFERRED_INCLINATION: "INFERRED_INCLINATION",
@@ -624,6 +624,16 @@ export const se_GetSuggestionsCommand = async (input, context) => {
624
624
  .b(body);
625
625
  return b.build();
626
626
  };
627
+ export const se_GetTraditionPreferencesCommand = async (input, context) => {
628
+ const b = rb(input, context);
629
+ const headers = {};
630
+ b.bp("/matching/traditions");
631
+ let body;
632
+ b.m("GET")
633
+ .h(headers)
634
+ .b(body);
635
+ return b.build();
636
+ };
627
637
  export const se_IndexLocationCommand = async (input, context) => {
628
638
  const b = rb(input, context);
629
639
  const headers = {
@@ -775,6 +785,21 @@ export const se_UpdatePreferencesCommand = async (input, context) => {
775
785
  .b(body);
776
786
  return b.build();
777
787
  };
788
+ export const se_UpdateTraditionPreferencesCommand = async (input, context) => {
789
+ const b = rb(input, context);
790
+ const headers = {
791
+ 'content-type': 'application/json',
792
+ };
793
+ b.bp("/matching/traditions");
794
+ let body;
795
+ body = JSON.stringify(take(input, {
796
+ 'disabled': _ => _json(_),
797
+ }));
798
+ b.m("PUT")
799
+ .h(headers)
800
+ .b(body);
801
+ return b.build();
802
+ };
778
803
  export const se_CompleteLivenessSessionCommand = async (input, context) => {
779
804
  const b = rb(input, context);
780
805
  const headers = {
@@ -1772,6 +1797,20 @@ export const de_GetSuggestionsCommand = async (output, context) => {
1772
1797
  Object.assign(contents, doc);
1773
1798
  return contents;
1774
1799
  };
1800
+ export const de_GetTraditionPreferencesCommand = async (output, context) => {
1801
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1802
+ return de_CommandError(output, context);
1803
+ }
1804
+ const contents = map({
1805
+ $metadata: deserializeMetadata(output),
1806
+ });
1807
+ const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
1808
+ const doc = take(data, {
1809
+ 'traditions': _json,
1810
+ });
1811
+ Object.assign(contents, doc);
1812
+ return contents;
1813
+ };
1775
1814
  export const de_IndexLocationCommand = async (output, context) => {
1776
1815
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1777
1816
  return de_CommandError(output, context);
@@ -1878,6 +1917,20 @@ export const de_UpdatePreferencesCommand = async (output, context) => {
1878
1917
  Object.assign(contents, doc);
1879
1918
  return contents;
1880
1919
  };
1920
+ export const de_UpdateTraditionPreferencesCommand = async (output, context) => {
1921
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1922
+ return de_CommandError(output, context);
1923
+ }
1924
+ const contents = map({
1925
+ $metadata: deserializeMetadata(output),
1926
+ });
1927
+ const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
1928
+ const doc = take(data, {
1929
+ 'traditions': _json,
1930
+ });
1931
+ Object.assign(contents, doc);
1932
+ return contents;
1933
+ };
1881
1934
  export const de_CompleteLivenessSessionCommand = async (output, context) => {
1882
1935
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1883
1936
  return de_CommandError(output, context);
@@ -2392,6 +2445,7 @@ const de_CandidateDto = (output, context) => {
2392
2445
  'distanceKm': __limitedParseDouble,
2393
2446
  'matchFinder': __expectString,
2394
2447
  'matchFinderLabel': __expectString,
2448
+ 'matchHighlights': _json,
2395
2449
  'reasoning': __expectString,
2396
2450
  'score': __limitedParseDouble,
2397
2451
  'similarity': __limitedParseDouble,