onehook-api-client 1.0.36 → 1.0.38

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 (230) hide show
  1. package/README.md +446 -19
  2. package/dist-cjs/OneHook.js +88 -8
  3. package/dist-cjs/commands/{GetNotificationPreferencesCommand.js → AcceptHookRequestCommand.js} +7 -7
  4. package/dist-cjs/commands/BlockUserCommand.js +21 -0
  5. package/dist-cjs/commands/CancelHookRequestCommand.js +21 -0
  6. package/dist-cjs/commands/ClearTierOverrideCommand.js +21 -0
  7. package/dist-cjs/commands/DeclineHookRequestCommand.js +21 -0
  8. package/dist-cjs/commands/{SwipeByUsernameCommand.js → DisableMatchingCommand.js} +7 -7
  9. package/dist-cjs/commands/EnableMatchingCommand.js +21 -0
  10. package/dist-cjs/commands/EstablishHistoryEpochCommand.js +21 -0
  11. package/dist-cjs/commands/GetChatProfileCommand.js +21 -0
  12. package/dist-cjs/commands/GetDiscoverySnapshotCommand.js +21 -0
  13. package/dist-cjs/commands/GetGraphInvitesCommand.js +21 -0
  14. package/dist-cjs/commands/{UpdateProfileCommand.js → GetGraphMatchCommand.js} +7 -7
  15. package/dist-cjs/commands/GetGraphUserCommand.js +21 -0
  16. package/dist-cjs/commands/GetHistoryStateCommand.js +21 -0
  17. package/dist-cjs/commands/GetInternalMatchingStatusCommand.js +21 -0
  18. package/dist-cjs/commands/GetInternalProfileCommand.js +21 -0
  19. package/dist-cjs/commands/GetInviteEdgesCommand.js +21 -0
  20. package/dist-cjs/commands/GetMatchingProfileCommand.js +21 -0
  21. package/dist-cjs/commands/GetMatchingReadinessCommand.js +21 -0
  22. package/dist-cjs/commands/GetMediaStatsCommand.js +21 -0
  23. package/dist-cjs/commands/GetModerationReportCommand.js +21 -0
  24. package/dist-cjs/commands/GetModerationSignalsCommand.js +21 -0
  25. package/dist-cjs/commands/GetPartnerDistanceCommand.js +21 -0
  26. package/dist-cjs/commands/GetScoringPolicyCommand.js +21 -0
  27. package/dist-cjs/commands/GetTierOverrideCommand.js +21 -0
  28. package/dist-cjs/commands/IngestSignalsCommand.js +21 -0
  29. package/dist-cjs/commands/IssueViewPassesCommand.js +21 -0
  30. package/dist-cjs/commands/KeepHooksCommand.js +21 -0
  31. package/dist-cjs/commands/{GetProfileCommand.js → ListBlocksCommand.js} +7 -7
  32. package/dist-cjs/commands/ListGraphUserMatchesCommand.js +21 -0
  33. package/dist-cjs/commands/ListHookRequestsCommand.js +21 -0
  34. package/dist-cjs/commands/ListMatchingOnMembersCommand.js +21 -0
  35. package/dist-cjs/commands/PutHistoryWrapCommand.js +21 -0
  36. package/dist-cjs/commands/RecordSuggestionInternalCommand.js +21 -0
  37. package/dist-cjs/commands/ReportMemberCommand.js +21 -0
  38. package/dist-cjs/commands/RepublishMatchingProfileCommand.js +21 -0
  39. package/dist-cjs/commands/RevokeHistoryWrapCommand.js +21 -0
  40. package/dist-cjs/commands/SendHookRequestCommand.js +21 -0
  41. package/dist-cjs/commands/SetTierOverrideCommand.js +21 -0
  42. package/dist-cjs/commands/SimulateScoringPolicyCommand.js +21 -0
  43. package/dist-cjs/commands/UnblockUserCommand.js +21 -0
  44. package/dist-cjs/commands/UpdateScoringPolicyCommand.js +21 -0
  45. package/dist-cjs/commands/UpsertChatProfileCommand.js +21 -0
  46. package/dist-cjs/commands/UpsertMatchingProfileCommand.js +21 -0
  47. package/dist-cjs/commands/index.js +44 -4
  48. package/dist-cjs/graphql/types.js +4 -0
  49. package/dist-cjs/models/models_0.js +216 -21
  50. package/dist-cjs/protocols/Aws_restJson1.js +2198 -514
  51. package/dist-cjs/telemetry/index.js +62 -14
  52. package/dist-es/OneHook.js +88 -8
  53. package/dist-es/commands/AcceptHookRequestCommand.js +17 -0
  54. package/dist-es/commands/BlockUserCommand.js +17 -0
  55. package/dist-es/commands/CancelHookRequestCommand.js +17 -0
  56. package/dist-es/commands/ClearTierOverrideCommand.js +17 -0
  57. package/dist-es/commands/DeclineHookRequestCommand.js +17 -0
  58. package/dist-es/commands/{SwipeByUsernameCommand.js → DisableMatchingCommand.js} +6 -6
  59. package/dist-es/commands/EnableMatchingCommand.js +17 -0
  60. package/dist-es/commands/EstablishHistoryEpochCommand.js +17 -0
  61. package/dist-es/commands/GetChatProfileCommand.js +17 -0
  62. package/dist-es/commands/GetDiscoverySnapshotCommand.js +17 -0
  63. package/dist-es/commands/GetGraphInvitesCommand.js +17 -0
  64. package/dist-es/commands/{UpdateProfileCommand.js → GetGraphMatchCommand.js} +6 -6
  65. package/dist-es/commands/GetGraphUserCommand.js +17 -0
  66. package/dist-es/commands/GetHistoryStateCommand.js +17 -0
  67. package/dist-es/commands/GetInternalMatchingStatusCommand.js +17 -0
  68. package/dist-es/commands/GetInternalProfileCommand.js +17 -0
  69. package/dist-es/commands/GetInviteEdgesCommand.js +17 -0
  70. package/dist-es/commands/GetMatchingProfileCommand.js +17 -0
  71. package/dist-es/commands/GetMatchingReadinessCommand.js +17 -0
  72. package/dist-es/commands/GetMediaStatsCommand.js +17 -0
  73. package/dist-es/commands/GetModerationReportCommand.js +17 -0
  74. package/dist-es/commands/GetModerationSignalsCommand.js +17 -0
  75. package/dist-es/commands/GetPartnerDistanceCommand.js +17 -0
  76. package/dist-es/commands/GetScoringPolicyCommand.js +17 -0
  77. package/dist-es/commands/GetTierOverrideCommand.js +17 -0
  78. package/dist-es/commands/IngestSignalsCommand.js +17 -0
  79. package/dist-es/commands/IssueViewPassesCommand.js +17 -0
  80. package/dist-es/commands/KeepHooksCommand.js +17 -0
  81. package/dist-es/commands/{GetProfileCommand.js → ListBlocksCommand.js} +6 -6
  82. package/dist-es/commands/ListGraphUserMatchesCommand.js +17 -0
  83. package/dist-es/commands/ListHookRequestsCommand.js +17 -0
  84. package/dist-es/commands/ListMatchingOnMembersCommand.js +17 -0
  85. package/dist-es/commands/PutHistoryWrapCommand.js +17 -0
  86. package/dist-es/commands/RecordSuggestionInternalCommand.js +17 -0
  87. package/dist-es/commands/ReportMemberCommand.js +17 -0
  88. package/dist-es/commands/RepublishMatchingProfileCommand.js +17 -0
  89. package/dist-es/commands/RevokeHistoryWrapCommand.js +17 -0
  90. package/dist-es/commands/SendHookRequestCommand.js +17 -0
  91. package/dist-es/commands/SetTierOverrideCommand.js +17 -0
  92. package/dist-es/commands/SimulateScoringPolicyCommand.js +17 -0
  93. package/dist-es/commands/UnblockUserCommand.js +17 -0
  94. package/dist-es/commands/UpdateScoringPolicyCommand.js +17 -0
  95. package/dist-es/commands/UpsertChatProfileCommand.js +17 -0
  96. package/dist-es/commands/UpsertMatchingProfileCommand.js +17 -0
  97. package/dist-es/commands/index.js +44 -4
  98. package/dist-es/graphql/types.js +4 -0
  99. package/dist-es/models/models_0.js +208 -18
  100. package/dist-es/protocols/Aws_restJson1.js +2003 -401
  101. package/dist-es/telemetry/index.js +62 -14
  102. package/dist-types/OneHook.d.ts +311 -23
  103. package/dist-types/OneHookClient.d.ts +46 -6
  104. package/dist-types/commands/AcceptHookRequestCommand.d.ts +109 -0
  105. package/dist-types/commands/AuthSocialCommand.d.ts +23 -0
  106. package/dist-types/commands/BlockUserCommand.d.ts +106 -0
  107. package/dist-types/commands/CancelHookRequestCommand.d.ts +103 -0
  108. package/dist-types/commands/ClearTierOverrideCommand.d.ts +123 -0
  109. package/dist-types/commands/CompleteLivenessSessionCommand.d.ts +26 -1
  110. package/dist-types/commands/CompleteOnboardingCommand.d.ts +31 -2
  111. package/dist-types/commands/CorrectBirthDateCommand.d.ts +25 -0
  112. package/dist-types/commands/CreateAdminInviteCommand.d.ts +23 -0
  113. package/dist-types/commands/CreateLivenessSessionCommand.d.ts +23 -0
  114. package/dist-types/commands/CreateMediaDownloadUrlCommand.d.ts +23 -0
  115. package/dist-types/commands/CreateMediaUploadUrlCommand.d.ts +24 -1
  116. package/dist-types/commands/DeclineHookRequestCommand.d.ts +103 -0
  117. package/dist-types/commands/DeleteMatchMessagesCommand.d.ts +21 -0
  118. package/dist-types/commands/DeleteProfileCommand.d.ts +28 -2
  119. package/dist-types/commands/DeletePushTokenCommand.d.ts +23 -0
  120. package/dist-types/commands/DisableMatchingCommand.d.ts +106 -0
  121. package/dist-types/commands/DiscoverCommand.d.ts +22 -0
  122. package/dist-types/commands/EnableMatchingCommand.d.ts +105 -0
  123. package/dist-types/commands/EstablishHistoryEpochCommand.d.ts +125 -0
  124. package/dist-types/commands/GenerateDownloadUrlCommand.d.ts +26 -0
  125. package/dist-types/commands/GenerateInviteCommand.d.ts +23 -0
  126. package/dist-types/commands/GenerateUploadUrlCommand.d.ts +31 -2
  127. package/dist-types/commands/GetAccountStateCommand.d.ts +25 -0
  128. package/dist-types/commands/GetAdminPhoneStatusCommand.d.ts +23 -0
  129. package/dist-types/commands/GetAiContextMatchCommand.d.ts +25 -0
  130. package/dist-types/commands/GetBirthDateStatusCommand.d.ts +25 -0
  131. package/dist-types/commands/GetChatProfileCommand.d.ts +123 -0
  132. package/dist-types/commands/GetChatSettingsCommand.d.ts +22 -0
  133. package/dist-types/commands/GetCredentialReadinessCommand.d.ts +25 -0
  134. package/dist-types/commands/GetDiscoverySnapshotCommand.d.ts +138 -0
  135. package/dist-types/commands/GetGraphInvitesCommand.d.ts +119 -0
  136. package/dist-types/commands/GetGraphMatchCommand.d.ts +136 -0
  137. package/dist-types/commands/GetGraphUserCommand.d.ts +117 -0
  138. package/dist-types/commands/GetHistoryStateCommand.d.ts +113 -0
  139. package/dist-types/commands/GetInternalMatchingStatusCommand.d.ts +102 -0
  140. package/dist-types/commands/GetInternalProfileCommand.d.ts +174 -0
  141. package/dist-types/commands/GetInviteEdgesCommand.d.ts +106 -0
  142. package/dist-types/commands/GetLivenessStatusCommand.d.ts +23 -0
  143. package/dist-types/commands/GetMatchCommand.d.ts +27 -0
  144. package/dist-types/commands/GetMatchingProfileCommand.d.ts +175 -0
  145. package/dist-types/commands/GetMatchingReadinessCommand.d.ts +107 -0
  146. package/dist-types/commands/GetMediaStatsCommand.d.ts +106 -0
  147. package/dist-types/commands/GetModerationReportCommand.d.ts +113 -0
  148. package/dist-types/commands/GetModerationSignalsCommand.d.ts +123 -0
  149. package/dist-types/commands/GetMyProfileCommand.d.ts +119 -79
  150. package/dist-types/commands/GetParticipantRegistryCommand.d.ts +23 -0
  151. package/dist-types/commands/GetPartnerDistanceCommand.d.ts +102 -0
  152. package/dist-types/commands/GetPlaceCommand.d.ts +25 -0
  153. package/dist-types/commands/GetPreferencesCommand.d.ts +27 -3
  154. package/dist-types/commands/GetPreservationHoldCommand.d.ts +25 -0
  155. package/dist-types/commands/GetReceivedLikesCommand.d.ts +24 -0
  156. package/dist-types/commands/GetRosesCommand.d.ts +25 -0
  157. package/dist-types/commands/GetScoringPolicyCommand.d.ts +143 -0
  158. package/dist-types/commands/GetStateCommand.d.ts +44 -0
  159. package/dist-types/commands/GetSuggestionsCommand.d.ts +23 -0
  160. package/dist-types/commands/GetTierOverrideCommand.d.ts +123 -0
  161. package/dist-types/commands/GetTraditionPreferencesCommand.d.ts +23 -0
  162. package/dist-types/commands/GetUserByEmailCommand.d.ts +27 -0
  163. package/dist-types/commands/GetUserCommand.d.ts +27 -0
  164. package/dist-types/commands/GetUserIdByUsernameCommand.d.ts +28 -3
  165. package/dist-types/commands/IndexLocationCommand.d.ts +23 -0
  166. package/dist-types/commands/IngestSignalsCommand.d.ts +114 -0
  167. package/dist-types/commands/InitUserCommand.d.ts +29 -2
  168. package/dist-types/commands/IssueViewPassesCommand.d.ts +107 -0
  169. package/dist-types/commands/KeepHooksCommand.d.ts +136 -0
  170. package/dist-types/commands/LinkEmailCommand.d.ts +23 -0
  171. package/dist-types/commands/LinkSocialCommand.d.ts +23 -0
  172. package/dist-types/commands/ListBlocksCommand.d.ts +102 -0
  173. package/dist-types/commands/ListGraphUserMatchesCommand.d.ts +117 -0
  174. package/dist-types/commands/ListHookRequestsCommand.d.ts +110 -0
  175. package/dist-types/commands/ListMatchingOnMembersCommand.d.ts +108 -0
  176. package/dist-types/commands/ListMyDevicesCommand.d.ts +20 -0
  177. package/dist-types/commands/PutHistoryWrapCommand.d.ts +112 -0
  178. package/dist-types/commands/RecordSuggestionCommand.d.ts +21 -0
  179. package/dist-types/commands/RecordSuggestionInternalCommand.d.ts +105 -0
  180. package/dist-types/commands/RegisterDeviceCommand.d.ts +25 -10
  181. package/dist-types/commands/RegisterPhoneCommand.d.ts +23 -0
  182. package/dist-types/commands/RegisterPushTokenCommand.d.ts +23 -0
  183. package/dist-types/commands/RemoveLocationCommand.d.ts +23 -0
  184. package/dist-types/commands/RemoveOneHookSuggestionCommand.d.ts +23 -0
  185. package/dist-types/commands/RemoveSuggestionCommand.d.ts +23 -0
  186. package/dist-types/commands/ReportMemberCommand.d.ts +107 -0
  187. package/dist-types/commands/RepublishMatchingProfileCommand.d.ts +109 -0
  188. package/dist-types/commands/RequestEmailOtpCommand.d.ts +23 -0
  189. package/dist-types/commands/RequestPhoneOtpCommand.d.ts +23 -0
  190. package/dist-types/commands/RequestPhoneUpdateOtpCommand.d.ts +23 -0
  191. package/dist-types/commands/RevokeDeviceCommand.d.ts +23 -0
  192. package/dist-types/commands/RevokeHistoryWrapCommand.d.ts +108 -0
  193. package/dist-types/commands/RevokeUserAccessCommand.d.ts +25 -0
  194. package/dist-types/commands/SearchPlacesCommand.d.ts +23 -0
  195. package/dist-types/commands/SendAdminLinkOtpCommand.d.ts +25 -0
  196. package/dist-types/commands/SendHookRequestCommand.d.ts +105 -0
  197. package/dist-types/commands/SetAccountStateCommand.d.ts +27 -0
  198. package/dist-types/commands/SetPreservationHoldCommand.d.ts +27 -0
  199. package/dist-types/commands/SetTierOverrideCommand.d.ts +128 -0
  200. package/dist-types/commands/SimulateScoringPolicyCommand.d.ts +129 -0
  201. package/dist-types/commands/SwipeCommand.d.ts +27 -0
  202. package/dist-types/commands/UnblockUserCommand.d.ts +99 -0
  203. package/dist-types/commands/UnhookCommand.d.ts +29 -0
  204. package/dist-types/commands/UnlinkSocialCommand.d.ts +23 -0
  205. package/dist-types/commands/UpdateChatSettingsCommand.d.ts +25 -0
  206. package/dist-types/commands/UpdateEntitlementsCommand.d.ts +25 -0
  207. package/dist-types/commands/UpdatePhoneNumberCommand.d.ts +23 -0
  208. package/dist-types/commands/UpdatePreferencesCommand.d.ts +76 -8
  209. package/dist-types/commands/UpdateScoringPolicyCommand.d.ts +183 -0
  210. package/dist-types/commands/UpdateTraditionPreferencesCommand.d.ts +23 -0
  211. package/dist-types/commands/UpdateUsernameCommand.d.ts +23 -0
  212. package/dist-types/commands/UpgradeUserCommand.d.ts +44 -0
  213. package/dist-types/commands/UpsertChatProfileCommand.d.ts +110 -0
  214. package/dist-types/commands/UpsertMatchingProfileCommand.d.ts +163 -0
  215. package/dist-types/commands/ValidateInviteCommand.d.ts +23 -0
  216. package/dist-types/commands/VerifyAdminLinkOtpCommand.d.ts +25 -0
  217. package/dist-types/commands/index.d.ts +44 -4
  218. package/dist-types/graphql/types.d.ts +8 -0
  219. package/dist-types/models/models_0.d.ts +3400 -1266
  220. package/dist-types/protocols/Aws_restJson1.d.ts +384 -24
  221. package/dist-types/telemetry/index.d.ts +29 -2
  222. package/package.json +1 -1
  223. package/telemetry/TelemetryCatalog.kt +42 -16
  224. package/telemetry/TelemetryCatalog.swift +63 -16
  225. package/telemetry/telemetry-catalog.json +420 -49
  226. package/dist-es/commands/GetNotificationPreferencesCommand.js +0 -17
  227. package/dist-types/commands/GetNotificationPreferencesCommand.d.ts +0 -91
  228. package/dist-types/commands/GetProfileCommand.d.ts +0 -153
  229. package/dist-types/commands/SwipeByUsernameCommand.d.ts +0 -93
  230. package/dist-types/commands/UpdateProfileCommand.d.ts +0 -142
@@ -1,8 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
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;
3
+ exports.se_GetScoringPolicyCommand = exports.se_VerifyAdminLinkOtpCommand = exports.se_ValidateInviteCommand = exports.se_UpdateUsernameCommand = exports.se_UpdatePhoneNumberCommand = exports.se_UpdateEntitlementsCommand = exports.se_UnlinkSocialCommand = exports.se_SetPreservationHoldCommand = exports.se_SetAccountStateCommand = exports.se_SendAdminLinkOtpCommand = exports.se_RevokeUserAccessCommand = exports.se_RequestPhoneUpdateOtpCommand = exports.se_RequestPhoneOtpCommand = exports.se_RequestEmailOtpCommand = exports.se_RegisterPhoneCommand = exports.se_LinkSocialCommand = exports.se_LinkEmailCommand = exports.se_GetUserIdByUsernameCommand = exports.se_GetUserByEmailCommand = exports.se_GetUserCommand = exports.se_GetPreservationHoldCommand = exports.se_GetInviteEdgesCommand = exports.se_GetCredentialReadinessCommand = exports.se_GetAdminPhoneStatusCommand = exports.se_GetAccountStateCommand = exports.se_GenerateInviteCommand = exports.se_CreateAdminInviteCommand = exports.se_AuthSocialCommand = exports.se_UpdateChatSettingsCommand = exports.se_RevokeHistoryWrapCommand = exports.se_RevokeDeviceCommand = exports.se_RegisterPushTokenCommand = exports.se_RegisterDeviceCommand = exports.se_PutHistoryWrapCommand = exports.se_ListMyDevicesCommand = exports.se_GetParticipantRegistryCommand = exports.se_GetHistoryStateCommand = exports.se_GetChatSettingsCommand = exports.se_EstablishHistoryEpochCommand = exports.se_DeletePushTokenCommand = exports.se_DeleteMatchMessagesCommand = exports.se_CreateMediaUploadUrlCommand = exports.se_CreateMediaDownloadUrlCommand = exports.se_ListGraphUserMatchesCommand = exports.se_IngestSignalsCommand = exports.se_GetMediaStatsCommand = exports.se_GetGraphUserCommand = exports.se_GetGraphMatchCommand = exports.se_GetGraphInvitesCommand = exports.se_GetAiContextMatchCommand = void 0;
4
+ exports.se_GetModerationSignalsCommand = exports.se_GetModerationReportCommand = exports.se_GetMatchCommand = exports.se_GetInternalMatchingStatusCommand = exports.se_GetDiscoverySnapshotCommand = exports.se_EnableMatchingCommand = exports.se_DisableMatchingCommand = exports.se_DeclineHookRequestCommand = exports.se_CompleteOnboardingCommand = exports.se_ClearTierOverrideCommand = exports.se_CancelHookRequestCommand = exports.se_BlockUserCommand = exports.se_AcceptHookRequestCommand = exports.se_UpsertMatchingProfileCommand = exports.se_UpsertChatProfileCommand = exports.se_SearchPlacesCommand = exports.se_RepublishMatchingProfileCommand = exports.se_GetPlaceCommand = exports.se_GetMyProfileCommand = exports.se_GetMatchingReadinessCommand = exports.se_GetMatchingProfileCommand = exports.se_GetLivenessStatusCommand = exports.se_GetInternalProfileCommand = exports.se_GetChatProfileCommand = exports.se_GetBirthDateStatusCommand = exports.se_GenerateUploadUrlCommand = exports.se_GenerateDownloadUrlCommand = exports.se_DeleteProfileCommand = exports.se_CreateLivenessSessionCommand = exports.se_CorrectBirthDateCommand = exports.se_CompleteLivenessSessionCommand = exports.se_UpdateTraditionPreferencesCommand = exports.se_UpdatePreferencesCommand = exports.se_SwipeCommand = exports.se_RemoveSuggestionCommand = exports.se_RemoveOneHookSuggestionCommand = exports.se_RemoveLocationCommand = exports.se_RecordSuggestionInternalCommand = exports.se_RecordSuggestionCommand = exports.se_IssueViewPassesCommand = exports.se_IndexLocationCommand = exports.se_GetTraditionPreferencesCommand = exports.se_GetSuggestionsCommand = exports.se_GetRosesCommand = exports.se_GetReceivedLikesCommand = exports.se_GetPreferencesCommand = exports.se_GetPartnerDistanceCommand = exports.se_DiscoverCommand = exports.se_UpdateScoringPolicyCommand = exports.se_SimulateScoringPolicyCommand = void 0;
5
+ exports.de_RequestEmailOtpCommand = exports.de_RegisterPhoneCommand = exports.de_LinkSocialCommand = exports.de_LinkEmailCommand = exports.de_GetUserIdByUsernameCommand = exports.de_GetUserByEmailCommand = exports.de_GetUserCommand = exports.de_GetPreservationHoldCommand = exports.de_GetInviteEdgesCommand = exports.de_GetCredentialReadinessCommand = exports.de_GetAdminPhoneStatusCommand = exports.de_GetAccountStateCommand = exports.de_GenerateInviteCommand = exports.de_CreateAdminInviteCommand = exports.de_AuthSocialCommand = exports.de_UpdateChatSettingsCommand = exports.de_RevokeHistoryWrapCommand = exports.de_RevokeDeviceCommand = exports.de_RegisterPushTokenCommand = exports.de_RegisterDeviceCommand = exports.de_PutHistoryWrapCommand = exports.de_ListMyDevicesCommand = exports.de_GetParticipantRegistryCommand = exports.de_GetHistoryStateCommand = exports.de_GetChatSettingsCommand = exports.de_EstablishHistoryEpochCommand = exports.de_DeletePushTokenCommand = exports.de_DeleteMatchMessagesCommand = exports.de_CreateMediaUploadUrlCommand = exports.de_CreateMediaDownloadUrlCommand = exports.de_ListGraphUserMatchesCommand = exports.de_IngestSignalsCommand = exports.de_GetMediaStatsCommand = exports.de_GetGraphUserCommand = exports.de_GetGraphMatchCommand = exports.de_GetGraphInvitesCommand = exports.de_GetAiContextMatchCommand = exports.se_UpgradeUserCommand = exports.se_UnhookCommand = exports.se_UnblockUserCommand = exports.se_SetTierOverrideCommand = exports.se_SendHookRequestCommand = exports.se_ReportMemberCommand = exports.se_ListMatchingOnMembersCommand = exports.se_ListHookRequestsCommand = exports.se_ListBlocksCommand = exports.se_KeepHooksCommand = exports.se_InitUserCommand = exports.se_GetTierOverrideCommand = exports.se_GetStateCommand = void 0;
6
+ exports.de_UpsertMatchingProfileCommand = exports.de_UpsertChatProfileCommand = exports.de_SearchPlacesCommand = exports.de_RepublishMatchingProfileCommand = exports.de_GetPlaceCommand = exports.de_GetMyProfileCommand = exports.de_GetMatchingReadinessCommand = exports.de_GetMatchingProfileCommand = exports.de_GetLivenessStatusCommand = exports.de_GetInternalProfileCommand = exports.de_GetChatProfileCommand = exports.de_GetBirthDateStatusCommand = exports.de_GenerateUploadUrlCommand = exports.de_GenerateDownloadUrlCommand = exports.de_DeleteProfileCommand = exports.de_CreateLivenessSessionCommand = exports.de_CorrectBirthDateCommand = exports.de_CompleteLivenessSessionCommand = exports.de_UpdateTraditionPreferencesCommand = exports.de_UpdatePreferencesCommand = exports.de_SwipeCommand = exports.de_RemoveSuggestionCommand = exports.de_RemoveOneHookSuggestionCommand = exports.de_RemoveLocationCommand = exports.de_RecordSuggestionInternalCommand = exports.de_RecordSuggestionCommand = exports.de_IssueViewPassesCommand = exports.de_IndexLocationCommand = exports.de_GetTraditionPreferencesCommand = exports.de_GetSuggestionsCommand = exports.de_GetRosesCommand = exports.de_GetReceivedLikesCommand = exports.de_GetPreferencesCommand = exports.de_GetPartnerDistanceCommand = exports.de_DiscoverCommand = exports.de_UpdateScoringPolicyCommand = exports.de_SimulateScoringPolicyCommand = exports.de_GetScoringPolicyCommand = exports.de_VerifyAdminLinkOtpCommand = exports.de_ValidateInviteCommand = exports.de_UpdateUsernameCommand = exports.de_UpdatePhoneNumberCommand = exports.de_UpdateEntitlementsCommand = exports.de_UnlinkSocialCommand = exports.de_SetPreservationHoldCommand = exports.de_SetAccountStateCommand = exports.de_SendAdminLinkOtpCommand = exports.de_RevokeUserAccessCommand = exports.de_RequestPhoneUpdateOtpCommand = exports.de_RequestPhoneOtpCommand = void 0;
7
+ exports.de_UpgradeUserCommand = exports.de_UnhookCommand = exports.de_UnblockUserCommand = exports.de_SetTierOverrideCommand = exports.de_SendHookRequestCommand = exports.de_ReportMemberCommand = exports.de_ListMatchingOnMembersCommand = exports.de_ListHookRequestsCommand = exports.de_ListBlocksCommand = exports.de_KeepHooksCommand = exports.de_InitUserCommand = exports.de_GetTierOverrideCommand = exports.de_GetStateCommand = exports.de_GetModerationSignalsCommand = exports.de_GetModerationReportCommand = exports.de_GetMatchCommand = exports.de_GetInternalMatchingStatusCommand = exports.de_GetDiscoverySnapshotCommand = exports.de_EnableMatchingCommand = exports.de_DisableMatchingCommand = exports.de_DeclineHookRequestCommand = exports.de_CompleteOnboardingCommand = exports.de_ClearTierOverrideCommand = exports.de_CancelHookRequestCommand = exports.de_BlockUserCommand = exports.de_AcceptHookRequestCommand = void 0;
6
8
  const OneHookServiceException_1 = require("../models/OneHookServiceException");
7
9
  const models_0_1 = require("../models/models_0");
8
10
  const core_1 = require("@aws-sdk/core");
@@ -22,6 +24,86 @@ const se_GetAiContextMatchCommand = async (input, context) => {
22
24
  return b.build();
23
25
  };
24
26
  exports.se_GetAiContextMatchCommand = se_GetAiContextMatchCommand;
27
+ const se_GetGraphInvitesCommand = async (input, context) => {
28
+ const b = (0, core_2.requestBuilder)(input, context);
29
+ const headers = {};
30
+ b.bp("/graph/users/{userId}/invites");
31
+ b.p('userId', () => input.userId, '{userId}', false);
32
+ const query = (0, smithy_client_1.map)({
33
+ [_d]: [() => input.depth !== void 0, () => (((input[_d] % 1 == 0) ? input[_d] + ".0" : input[_d].toString()))],
34
+ });
35
+ let body;
36
+ b.m("GET")
37
+ .h(headers)
38
+ .q(query)
39
+ .b(body);
40
+ return b.build();
41
+ };
42
+ exports.se_GetGraphInvitesCommand = se_GetGraphInvitesCommand;
43
+ const se_GetGraphMatchCommand = async (input, context) => {
44
+ const b = (0, core_2.requestBuilder)(input, context);
45
+ const headers = {};
46
+ b.bp("/graph/matches/{matchId}");
47
+ b.p('matchId', () => input.matchId, '{matchId}', false);
48
+ let body;
49
+ b.m("GET")
50
+ .h(headers)
51
+ .b(body);
52
+ return b.build();
53
+ };
54
+ exports.se_GetGraphMatchCommand = se_GetGraphMatchCommand;
55
+ const se_GetGraphUserCommand = async (input, context) => {
56
+ const b = (0, core_2.requestBuilder)(input, context);
57
+ const headers = {};
58
+ b.bp("/graph/users/{userId}");
59
+ b.p('userId', () => input.userId, '{userId}', false);
60
+ let body;
61
+ b.m("GET")
62
+ .h(headers)
63
+ .b(body);
64
+ return b.build();
65
+ };
66
+ exports.se_GetGraphUserCommand = se_GetGraphUserCommand;
67
+ const se_GetMediaStatsCommand = async (input, context) => {
68
+ const b = (0, core_2.requestBuilder)(input, context);
69
+ const headers = {};
70
+ b.bp("/signals/media-stats");
71
+ let body;
72
+ b.m("GET")
73
+ .h(headers)
74
+ .b(body);
75
+ return b.build();
76
+ };
77
+ exports.se_GetMediaStatsCommand = se_GetMediaStatsCommand;
78
+ const se_IngestSignalsCommand = async (input, context) => {
79
+ const b = (0, core_2.requestBuilder)(input, context);
80
+ const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
81
+ 'content-type': 'application/json',
82
+ [_xop]: input[_p],
83
+ });
84
+ b.bp("/signals");
85
+ let body;
86
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
87
+ 'signals': _ => se_RawSignalList(_, context),
88
+ }));
89
+ b.m("POST")
90
+ .h(headers)
91
+ .b(body);
92
+ return b.build();
93
+ };
94
+ exports.se_IngestSignalsCommand = se_IngestSignalsCommand;
95
+ const se_ListGraphUserMatchesCommand = async (input, context) => {
96
+ const b = (0, core_2.requestBuilder)(input, context);
97
+ const headers = {};
98
+ b.bp("/graph/users/{userId}/matches");
99
+ b.p('userId', () => input.userId, '{userId}', false);
100
+ let body;
101
+ b.m("GET")
102
+ .h(headers)
103
+ .b(body);
104
+ return b.build();
105
+ };
106
+ exports.se_ListGraphUserMatchesCommand = se_ListGraphUserMatchesCommand;
25
107
  const se_CreateMediaDownloadUrlCommand = async (input, context) => {
26
108
  const b = (0, core_2.requestBuilder)(input, context);
27
109
  const headers = {
@@ -81,6 +163,27 @@ const se_DeletePushTokenCommand = async (input, context) => {
81
163
  return b.build();
82
164
  };
83
165
  exports.se_DeletePushTokenCommand = se_DeletePushTokenCommand;
166
+ const se_EstablishHistoryEpochCommand = async (input, context) => {
167
+ const b = (0, core_2.requestBuilder)(input, context);
168
+ const headers = {
169
+ 'content-type': 'application/json',
170
+ };
171
+ b.bp("/chat/history/epochs");
172
+ let body;
173
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
174
+ 'epoch': [],
175
+ 'expectedEpoch': [],
176
+ 'horizonAt': [],
177
+ 'keyId': [],
178
+ 'publicKey': [],
179
+ 'wraps': _ => (0, smithy_client_1._json)(_),
180
+ }));
181
+ b.m("POST")
182
+ .h(headers)
183
+ .b(body);
184
+ return b.build();
185
+ };
186
+ exports.se_EstablishHistoryEpochCommand = se_EstablishHistoryEpochCommand;
84
187
  const se_GetChatSettingsCommand = async (input, context) => {
85
188
  const b = (0, core_2.requestBuilder)(input, context);
86
189
  const headers = {};
@@ -92,6 +195,17 @@ const se_GetChatSettingsCommand = async (input, context) => {
92
195
  return b.build();
93
196
  };
94
197
  exports.se_GetChatSettingsCommand = se_GetChatSettingsCommand;
198
+ const se_GetHistoryStateCommand = async (input, context) => {
199
+ const b = (0, core_2.requestBuilder)(input, context);
200
+ const headers = {};
201
+ b.bp("/chat/history");
202
+ let body;
203
+ b.m("GET")
204
+ .h(headers)
205
+ .b(body);
206
+ return b.build();
207
+ };
208
+ exports.se_GetHistoryStateCommand = se_GetHistoryStateCommand;
95
209
  const se_GetParticipantRegistryCommand = async (input, context) => {
96
210
  const b = (0, core_2.requestBuilder)(input, context);
97
211
  const headers = {};
@@ -119,6 +233,25 @@ const se_ListMyDevicesCommand = async (input, context) => {
119
233
  return b.build();
120
234
  };
121
235
  exports.se_ListMyDevicesCommand = se_ListMyDevicesCommand;
236
+ const se_PutHistoryWrapCommand = async (input, context) => {
237
+ const b = (0, core_2.requestBuilder)(input, context);
238
+ const headers = {
239
+ 'content-type': 'application/json',
240
+ };
241
+ b.bp("/chat/history/wraps");
242
+ let body;
243
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
244
+ 'epoch': [],
245
+ 'method': [],
246
+ 'wrapId': [],
247
+ 'wrappedKey': [],
248
+ }));
249
+ b.m("POST")
250
+ .h(headers)
251
+ .b(body);
252
+ return b.build();
253
+ };
254
+ exports.se_PutHistoryWrapCommand = se_PutHistoryWrapCommand;
122
255
  const se_RegisterDeviceCommand = async (input, context) => {
123
256
  const b = (0, core_2.requestBuilder)(input, context);
124
257
  const headers = {
@@ -127,7 +260,6 @@ const se_RegisterDeviceCommand = async (input, context) => {
127
260
  b.bp("/chat/devices");
128
261
  let body;
129
262
  body = JSON.stringify((0, smithy_client_1.take)(input, {
130
- 'accountHistoryKey': _ => (0, smithy_client_1._json)(_),
131
263
  'deviceId': [],
132
264
  'displayName': [],
133
265
  'maxEnvelopeVersion': [],
@@ -171,6 +303,20 @@ const se_RevokeDeviceCommand = async (input, context) => {
171
303
  return b.build();
172
304
  };
173
305
  exports.se_RevokeDeviceCommand = se_RevokeDeviceCommand;
306
+ const se_RevokeHistoryWrapCommand = async (input, context) => {
307
+ const b = (0, core_2.requestBuilder)(input, context);
308
+ const headers = {};
309
+ b.bp("/chat/history/wraps/{epoch}/{method}/{wrapId}");
310
+ b.p('epoch', () => input.epoch.toString(), '{epoch}', false);
311
+ b.p('method', () => input.method, '{method}', false);
312
+ b.p('wrapId', () => input.wrapId, '{wrapId}', false);
313
+ let body;
314
+ b.m("DELETE")
315
+ .h(headers)
316
+ .b(body);
317
+ return b.build();
318
+ };
319
+ exports.se_RevokeHistoryWrapCommand = se_RevokeHistoryWrapCommand;
174
320
  const se_UpdateChatSettingsCommand = async (input, context) => {
175
321
  const b = (0, core_2.requestBuilder)(input, context);
176
322
  const headers = {
@@ -179,9 +325,11 @@ const se_UpdateChatSettingsCommand = async (input, context) => {
179
325
  b.bp("/chat/settings");
180
326
  let body;
181
327
  body = JSON.stringify((0, smithy_client_1.take)(input, {
328
+ 'connectionNotifications': [],
182
329
  'defaultDisappearingSeconds': [],
183
330
  'helpTranslateCaptions': [],
184
331
  'lastSeenVisibility': [],
332
+ 'likeNotifications': [],
185
333
  'messageNotifications': [],
186
334
  'reactionNotifications': [],
187
335
  'readReceipts': [],
@@ -287,6 +435,22 @@ const se_GetCredentialReadinessCommand = async (input, context) => {
287
435
  return b.build();
288
436
  };
289
437
  exports.se_GetCredentialReadinessCommand = se_GetCredentialReadinessCommand;
438
+ const se_GetInviteEdgesCommand = async (input, context) => {
439
+ const b = (0, core_2.requestBuilder)(input, context);
440
+ const headers = {};
441
+ b.bp("/identity/internal/users/{userId}/invite-edges");
442
+ b.p('userId', () => input.userId, '{userId}', false);
443
+ const query = (0, smithy_client_1.map)({
444
+ [_nT]: [, input[_nT]],
445
+ });
446
+ let body;
447
+ b.m("GET")
448
+ .h(headers)
449
+ .q(query)
450
+ .b(body);
451
+ return b.build();
452
+ };
453
+ exports.se_GetInviteEdgesCommand = se_GetInviteEdgesCommand;
290
454
  const se_GetPreservationHoldCommand = async (input, context) => {
291
455
  const b = (0, core_2.requestBuilder)(input, context);
292
456
  const headers = {};
@@ -599,6 +763,58 @@ const se_VerifyAdminLinkOtpCommand = async (input, context) => {
599
763
  return b.build();
600
764
  };
601
765
  exports.se_VerifyAdminLinkOtpCommand = se_VerifyAdminLinkOtpCommand;
766
+ const se_GetScoringPolicyCommand = async (input, context) => {
767
+ const b = (0, core_2.requestBuilder)(input, context);
768
+ const headers = {};
769
+ b.bp("/intelligence/admin/scoring/policy");
770
+ let body;
771
+ b.m("GET")
772
+ .h(headers)
773
+ .b(body);
774
+ return b.build();
775
+ };
776
+ exports.se_GetScoringPolicyCommand = se_GetScoringPolicyCommand;
777
+ const se_SimulateScoringPolicyCommand = async (input, context) => {
778
+ const b = (0, core_2.requestBuilder)(input, context);
779
+ const headers = {
780
+ 'content-type': 'application/json',
781
+ };
782
+ b.bp("/intelligence/admin/scoring/simulate");
783
+ let body;
784
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
785
+ 'overrides': _ => se_ParameterOverrides(_, context),
786
+ 'scenario': _ => (0, smithy_client_1._json)(_),
787
+ }));
788
+ b.m("POST")
789
+ .h(headers)
790
+ .b(body);
791
+ return b.build();
792
+ };
793
+ exports.se_SimulateScoringPolicyCommand = se_SimulateScoringPolicyCommand;
794
+ const se_UpdateScoringPolicyCommand = async (input, context) => {
795
+ const b = (0, core_2.requestBuilder)(input, context);
796
+ const headers = {
797
+ 'content-type': 'application/json',
798
+ };
799
+ b.bp("/intelligence/admin/scoring/policy");
800
+ const query = (0, smithy_client_1.map)({
801
+ [_eV]: [, input[_eVQ]],
802
+ });
803
+ let body;
804
+ if (input.policy !== undefined) {
805
+ body = se_ScoringPolicyConfig(input.policy, context);
806
+ }
807
+ if (body === undefined) {
808
+ body = {};
809
+ }
810
+ body = JSON.stringify(body);
811
+ b.m("PUT")
812
+ .h(headers)
813
+ .q(query)
814
+ .b(body);
815
+ return b.build();
816
+ };
817
+ exports.se_UpdateScoringPolicyCommand = se_UpdateScoringPolicyCommand;
602
818
  const se_DiscoverCommand = async (input, context) => {
603
819
  const b = (0, core_2.requestBuilder)(input, context);
604
820
  const headers = {};
@@ -616,10 +832,10 @@ const se_DiscoverCommand = async (input, context) => {
616
832
  return b.build();
617
833
  };
618
834
  exports.se_DiscoverCommand = se_DiscoverCommand;
619
- const se_GetNotificationPreferencesCommand = async (input, context) => {
835
+ const se_GetPartnerDistanceCommand = async (input, context) => {
620
836
  const b = (0, core_2.requestBuilder)(input, context);
621
837
  const headers = {};
622
- b.bp("/matching/internal/users/{userId}/notification-preferences");
838
+ b.bp("/matching/distance/{userId}");
623
839
  b.p('userId', () => input.userId, '{userId}', false);
624
840
  let body;
625
841
  b.m("GET")
@@ -627,7 +843,7 @@ const se_GetNotificationPreferencesCommand = async (input, context) => {
627
843
  .b(body);
628
844
  return b.build();
629
845
  };
630
- exports.se_GetNotificationPreferencesCommand = se_GetNotificationPreferencesCommand;
846
+ exports.se_GetPartnerDistanceCommand = se_GetPartnerDistanceCommand;
631
847
  const se_GetPreferencesCommand = async (input, context) => {
632
848
  const b = (0, core_2.requestBuilder)(input, context);
633
849
  const headers = {};
@@ -701,6 +917,22 @@ const se_IndexLocationCommand = async (input, context) => {
701
917
  return b.build();
702
918
  };
703
919
  exports.se_IndexLocationCommand = se_IndexLocationCommand;
920
+ const se_IssueViewPassesCommand = async (input, context) => {
921
+ const b = (0, core_2.requestBuilder)(input, context);
922
+ const headers = {
923
+ 'content-type': 'application/json',
924
+ };
925
+ b.bp("/matching/view-passes");
926
+ let body;
927
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
928
+ 'targetIds': _ => (0, smithy_client_1._json)(_),
929
+ }));
930
+ b.m("POST")
931
+ .h(headers)
932
+ .b(body);
933
+ return b.build();
934
+ };
935
+ exports.se_IssueViewPassesCommand = se_IssueViewPassesCommand;
704
936
  const se_RecordSuggestionCommand = async (input, context) => {
705
937
  const b = (0, core_2.requestBuilder)(input, context);
706
938
  const headers = {
@@ -718,6 +950,24 @@ const se_RecordSuggestionCommand = async (input, context) => {
718
950
  return b.build();
719
951
  };
720
952
  exports.se_RecordSuggestionCommand = se_RecordSuggestionCommand;
953
+ const se_RecordSuggestionInternalCommand = async (input, context) => {
954
+ const b = (0, core_2.requestBuilder)(input, context);
955
+ const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
956
+ 'content-type': 'application/json',
957
+ [_xomt]: input[_mT],
958
+ });
959
+ b.bp("/matching/internal/suggestions");
960
+ let body;
961
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
962
+ 'prompt': [],
963
+ 'reasoning': [],
964
+ }));
965
+ b.m("POST")
966
+ .h(headers)
967
+ .b(body);
968
+ return b.build();
969
+ };
970
+ exports.se_RecordSuggestionInternalCommand = se_RecordSuggestionInternalCommand;
721
971
  const se_RemoveLocationCommand = async (input, context) => {
722
972
  const b = (0, core_2.requestBuilder)(input, context);
723
973
  const headers = {
@@ -779,22 +1029,6 @@ const se_SwipeCommand = async (input, context) => {
779
1029
  return b.build();
780
1030
  };
781
1031
  exports.se_SwipeCommand = se_SwipeCommand;
782
- const se_SwipeByUsernameCommand = async (input, context) => {
783
- const b = (0, core_2.requestBuilder)(input, context);
784
- const headers = {
785
- 'content-type': 'application/json',
786
- };
787
- b.bp("/matching/swipe/by-username");
788
- let body;
789
- body = JSON.stringify((0, smithy_client_1.take)(input, {
790
- 'username': [],
791
- }));
792
- b.m("POST")
793
- .h(headers)
794
- .b(body);
795
- return b.build();
796
- };
797
- exports.se_SwipeByUsernameCommand = se_SwipeByUsernameCommand;
798
1032
  const se_UpdatePreferencesCommand = async (input, context) => {
799
1033
  const b = (0, core_2.requestBuilder)(input, context);
800
1034
  const headers = {
@@ -814,6 +1048,8 @@ const se_UpdatePreferencesCommand = async (input, context) => {
814
1048
  'exercise': [],
815
1049
  'familyPlans': [],
816
1050
  'genders': _ => (0, smithy_client_1._json)(_),
1051
+ 'hidePastHooks': [],
1052
+ 'implicitPreferences': _ => (0, smithy_client_1._json)(_),
817
1053
  'incognito': [],
818
1054
  'interestedInGenders': _ => (0, smithy_client_1._json)(_),
819
1055
  'interests': _ => (0, smithy_client_1._json)(_),
@@ -822,9 +1058,6 @@ const se_UpdatePreferencesCommand = async (input, context) => {
822
1058
  'maxHeight': [],
823
1059
  'minAge': [],
824
1060
  'minHeight': [],
825
- 'notifyDailyPicks': [],
826
- 'notifyLikes': [],
827
- 'notifyMatches': [],
828
1061
  'politicalView': [],
829
1062
  'preferredLanguages': _ => (0, smithy_client_1._json)(_),
830
1063
  'relationshipType': [],
@@ -919,7 +1152,9 @@ const se_DeleteProfileCommand = async (input, context) => {
919
1152
  exports.se_DeleteProfileCommand = se_DeleteProfileCommand;
920
1153
  const se_GenerateDownloadUrlCommand = async (input, context) => {
921
1154
  const b = (0, core_2.requestBuilder)(input, context);
922
- const headers = {};
1155
+ const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
1156
+ [_xvp]: input[_vP],
1157
+ });
923
1158
  b.bp("/profile/media/download-url");
924
1159
  const query = (0, smithy_client_1.map)({
925
1160
  [_k]: [, (0, smithy_client_1.expectNonNull)(input[_k], `key`)],
@@ -942,6 +1177,7 @@ const se_GenerateUploadUrlCommand = async (input, context) => {
942
1177
  body = JSON.stringify((0, smithy_client_1.take)(input, {
943
1178
  'contentLength': [],
944
1179
  'contentType': [],
1180
+ 'purpose': [],
945
1181
  }));
946
1182
  b.m("POST")
947
1183
  .h(headers)
@@ -961,6 +1197,32 @@ const se_GetBirthDateStatusCommand = async (input, context) => {
961
1197
  return b.build();
962
1198
  };
963
1199
  exports.se_GetBirthDateStatusCommand = se_GetBirthDateStatusCommand;
1200
+ const se_GetChatProfileCommand = async (input, context) => {
1201
+ const b = (0, core_2.requestBuilder)(input, context);
1202
+ const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
1203
+ [_xvp]: input[_vP],
1204
+ });
1205
+ b.bp("/profile/{userId}/chat");
1206
+ b.p('userId', () => input.userId, '{userId}', false);
1207
+ let body;
1208
+ b.m("GET")
1209
+ .h(headers)
1210
+ .b(body);
1211
+ return b.build();
1212
+ };
1213
+ exports.se_GetChatProfileCommand = se_GetChatProfileCommand;
1214
+ const se_GetInternalProfileCommand = async (input, context) => {
1215
+ const b = (0, core_2.requestBuilder)(input, context);
1216
+ const headers = {};
1217
+ b.bp("/profile-internal/{userId}");
1218
+ b.p('userId', () => input.userId, '{userId}', false);
1219
+ let body;
1220
+ b.m("GET")
1221
+ .h(headers)
1222
+ .b(body);
1223
+ return b.build();
1224
+ };
1225
+ exports.se_GetInternalProfileCommand = se_GetInternalProfileCommand;
964
1226
  const se_GetLivenessStatusCommand = async (input, context) => {
965
1227
  const b = (0, core_2.requestBuilder)(input, context);
966
1228
  const headers = {};
@@ -972,6 +1234,32 @@ const se_GetLivenessStatusCommand = async (input, context) => {
972
1234
  return b.build();
973
1235
  };
974
1236
  exports.se_GetLivenessStatusCommand = se_GetLivenessStatusCommand;
1237
+ const se_GetMatchingProfileCommand = async (input, context) => {
1238
+ const b = (0, core_2.requestBuilder)(input, context);
1239
+ const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
1240
+ [_xvp]: input[_vP],
1241
+ });
1242
+ b.bp("/profile/{userId}/matching");
1243
+ b.p('userId', () => input.userId, '{userId}', false);
1244
+ let body;
1245
+ b.m("GET")
1246
+ .h(headers)
1247
+ .b(body);
1248
+ return b.build();
1249
+ };
1250
+ exports.se_GetMatchingProfileCommand = se_GetMatchingProfileCommand;
1251
+ const se_GetMatchingReadinessCommand = async (input, context) => {
1252
+ const b = (0, core_2.requestBuilder)(input, context);
1253
+ const headers = {};
1254
+ b.bp("/profile-internal/{userId}/matching-readiness");
1255
+ b.p('userId', () => input.userId, '{userId}', false);
1256
+ let body;
1257
+ b.m("GET")
1258
+ .h(headers)
1259
+ .b(body);
1260
+ return b.build();
1261
+ };
1262
+ exports.se_GetMatchingReadinessCommand = se_GetMatchingReadinessCommand;
975
1263
  const se_GetMyProfileCommand = async (input, context) => {
976
1264
  const b = (0, core_2.requestBuilder)(input, context);
977
1265
  const headers = {};
@@ -999,18 +1287,18 @@ const se_GetPlaceCommand = async (input, context) => {
999
1287
  return b.build();
1000
1288
  };
1001
1289
  exports.se_GetPlaceCommand = se_GetPlaceCommand;
1002
- const se_GetProfileCommand = async (input, context) => {
1290
+ const se_RepublishMatchingProfileCommand = async (input, context) => {
1003
1291
  const b = (0, core_2.requestBuilder)(input, context);
1004
1292
  const headers = {};
1005
- b.bp("/profile/{userId}");
1293
+ b.bp("/profile-internal/{userId}/matching/republish");
1006
1294
  b.p('userId', () => input.userId, '{userId}', false);
1007
1295
  let body;
1008
- b.m("GET")
1296
+ b.m("POST")
1009
1297
  .h(headers)
1010
1298
  .b(body);
1011
1299
  return b.build();
1012
1300
  };
1013
- exports.se_GetProfileCommand = se_GetProfileCommand;
1301
+ exports.se_RepublishMatchingProfileCommand = se_RepublishMatchingProfileCommand;
1014
1302
  const se_SearchPlacesCommand = async (input, context) => {
1015
1303
  const b = (0, core_2.requestBuilder)(input, context);
1016
1304
  const headers = {};
@@ -1027,22 +1315,38 @@ const se_SearchPlacesCommand = async (input, context) => {
1027
1315
  return b.build();
1028
1316
  };
1029
1317
  exports.se_SearchPlacesCommand = se_SearchPlacesCommand;
1030
- const se_UpdateProfileCommand = async (input, context) => {
1318
+ const se_UpsertChatProfileCommand = async (input, context) => {
1031
1319
  const b = (0, core_2.requestBuilder)(input, context);
1032
1320
  const headers = {
1033
1321
  'content-type': 'application/json',
1034
1322
  };
1035
- b.bp("/profile");
1323
+ b.bp("/profile/chat");
1324
+ let body;
1325
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
1326
+ 'avatarKey': [],
1327
+ 'birthDetails': _ => se_BirthDetails(_, context),
1328
+ 'displayName': [],
1329
+ }));
1330
+ b.m("PUT")
1331
+ .h(headers)
1332
+ .b(body);
1333
+ return b.build();
1334
+ };
1335
+ exports.se_UpsertChatProfileCommand = se_UpsertChatProfileCommand;
1336
+ const se_UpsertMatchingProfileCommand = async (input, context) => {
1337
+ const b = (0, core_2.requestBuilder)(input, context);
1338
+ const headers = {
1339
+ 'content-type': 'application/json',
1340
+ };
1341
+ b.bp("/profile/matching");
1036
1342
  let body;
1037
1343
  body = JSON.stringify((0, smithy_client_1.take)(input, {
1038
1344
  'audioPrompt': [],
1039
1345
  'bio': [],
1040
- 'birthDetails': _ => se_BirthDetails(_, context),
1041
1346
  'cannabisStatus': [],
1042
1347
  'causes': _ => (0, smithy_client_1._json)(_),
1043
1348
  'communities': _ => (0, smithy_client_1._json)(_),
1044
1349
  'currentLocation': [],
1045
- 'displayName': [],
1046
1350
  'drinkingStatus': [],
1047
1351
  'drugsStatus': [],
1048
1352
  'education': [],
@@ -1075,30 +1379,171 @@ const se_UpdateProfileCommand = async (input, context) => {
1075
1379
  .b(body);
1076
1380
  return b.build();
1077
1381
  };
1078
- exports.se_UpdateProfileCommand = se_UpdateProfileCommand;
1079
- const se_CompleteOnboardingCommand = async (input, context) => {
1382
+ exports.se_UpsertMatchingProfileCommand = se_UpsertMatchingProfileCommand;
1383
+ const se_AcceptHookRequestCommand = async (input, context) => {
1080
1384
  const b = (0, core_2.requestBuilder)(input, context);
1081
1385
  const headers = {};
1082
- b.bp("/state/complete-onboarding");
1386
+ b.bp("/state/hook-requests/{requestId}/accept");
1387
+ b.p('requestId', () => input.requestId, '{requestId}', false);
1083
1388
  let body;
1084
1389
  b.m("POST")
1085
1390
  .h(headers)
1086
1391
  .b(body);
1087
1392
  return b.build();
1088
1393
  };
1089
- exports.se_CompleteOnboardingCommand = se_CompleteOnboardingCommand;
1090
- const se_GetMatchCommand = async (input, context) => {
1394
+ exports.se_AcceptHookRequestCommand = se_AcceptHookRequestCommand;
1395
+ const se_BlockUserCommand = async (input, context) => {
1091
1396
  const b = (0, core_2.requestBuilder)(input, context);
1092
- const headers = {};
1093
- b.bp("/state/match/{matchId}");
1094
- b.p('matchId', () => input.matchId, '{matchId}', false);
1095
- let body;
1096
- b.m("GET")
1397
+ const headers = {
1398
+ 'content-type': 'application/json',
1399
+ };
1400
+ b.bp("/state/blocks");
1401
+ let body;
1402
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
1403
+ 'blockedUserId': [],
1404
+ 'details': [],
1405
+ 'reason': [],
1406
+ }));
1407
+ b.m("POST")
1408
+ .h(headers)
1409
+ .b(body);
1410
+ return b.build();
1411
+ };
1412
+ exports.se_BlockUserCommand = se_BlockUserCommand;
1413
+ const se_CancelHookRequestCommand = async (input, context) => {
1414
+ const b = (0, core_2.requestBuilder)(input, context);
1415
+ const headers = {};
1416
+ b.bp("/state/hook-requests/{requestId}");
1417
+ b.p('requestId', () => input.requestId, '{requestId}', false);
1418
+ let body;
1419
+ b.m("DELETE")
1420
+ .h(headers)
1421
+ .b(body);
1422
+ return b.build();
1423
+ };
1424
+ exports.se_CancelHookRequestCommand = se_CancelHookRequestCommand;
1425
+ const se_ClearTierOverrideCommand = async (input, context) => {
1426
+ const b = (0, core_2.requestBuilder)(input, context);
1427
+ const headers = {};
1428
+ b.bp("/state/admin/users/{targetUserId}/tier-override");
1429
+ b.p('targetUserId', () => input.targetUserId, '{targetUserId}', false);
1430
+ let body;
1431
+ b.m("DELETE")
1432
+ .h(headers)
1433
+ .b(body);
1434
+ return b.build();
1435
+ };
1436
+ exports.se_ClearTierOverrideCommand = se_ClearTierOverrideCommand;
1437
+ const se_CompleteOnboardingCommand = async (input, context) => {
1438
+ const b = (0, core_2.requestBuilder)(input, context);
1439
+ const headers = {};
1440
+ b.bp("/state/complete-onboarding");
1441
+ let body;
1442
+ b.m("POST")
1443
+ .h(headers)
1444
+ .b(body);
1445
+ return b.build();
1446
+ };
1447
+ exports.se_CompleteOnboardingCommand = se_CompleteOnboardingCommand;
1448
+ const se_DeclineHookRequestCommand = async (input, context) => {
1449
+ const b = (0, core_2.requestBuilder)(input, context);
1450
+ const headers = {};
1451
+ b.bp("/state/hook-requests/{requestId}/decline");
1452
+ b.p('requestId', () => input.requestId, '{requestId}', false);
1453
+ let body;
1454
+ b.m("POST")
1455
+ .h(headers)
1456
+ .b(body);
1457
+ return b.build();
1458
+ };
1459
+ exports.se_DeclineHookRequestCommand = se_DeclineHookRequestCommand;
1460
+ const se_DisableMatchingCommand = async (input, context) => {
1461
+ const b = (0, core_2.requestBuilder)(input, context);
1462
+ const headers = {
1463
+ 'content-type': 'application/json',
1464
+ };
1465
+ b.bp("/state/matching/disable");
1466
+ let body;
1467
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
1468
+ 'confirm': [],
1469
+ }));
1470
+ b.m("POST")
1471
+ .h(headers)
1472
+ .b(body);
1473
+ return b.build();
1474
+ };
1475
+ exports.se_DisableMatchingCommand = se_DisableMatchingCommand;
1476
+ const se_EnableMatchingCommand = async (input, context) => {
1477
+ const b = (0, core_2.requestBuilder)(input, context);
1478
+ const headers = {};
1479
+ b.bp("/state/matching/enable");
1480
+ let body;
1481
+ b.m("POST")
1482
+ .h(headers)
1483
+ .b(body);
1484
+ return b.build();
1485
+ };
1486
+ exports.se_EnableMatchingCommand = se_EnableMatchingCommand;
1487
+ const se_GetDiscoverySnapshotCommand = async (input, context) => {
1488
+ const b = (0, core_2.requestBuilder)(input, context);
1489
+ const headers = {};
1490
+ b.bp("/state/internal/users/{targetUserId}/discovery-snapshot");
1491
+ b.p('targetUserId', () => input.targetUserId, '{targetUserId}', false);
1492
+ let body;
1493
+ b.m("GET")
1494
+ .h(headers)
1495
+ .b(body);
1496
+ return b.build();
1497
+ };
1498
+ exports.se_GetDiscoverySnapshotCommand = se_GetDiscoverySnapshotCommand;
1499
+ const se_GetInternalMatchingStatusCommand = async (input, context) => {
1500
+ const b = (0, core_2.requestBuilder)(input, context);
1501
+ const headers = {};
1502
+ b.bp("/state/internal/users/{targetUserId}/matching");
1503
+ b.p('targetUserId', () => input.targetUserId, '{targetUserId}', false);
1504
+ let body;
1505
+ b.m("GET")
1506
+ .h(headers)
1507
+ .b(body);
1508
+ return b.build();
1509
+ };
1510
+ exports.se_GetInternalMatchingStatusCommand = se_GetInternalMatchingStatusCommand;
1511
+ const se_GetMatchCommand = async (input, context) => {
1512
+ const b = (0, core_2.requestBuilder)(input, context);
1513
+ const headers = {};
1514
+ b.bp("/state/match/{matchId}");
1515
+ b.p('matchId', () => input.matchId, '{matchId}', false);
1516
+ let body;
1517
+ b.m("GET")
1097
1518
  .h(headers)
1098
1519
  .b(body);
1099
1520
  return b.build();
1100
1521
  };
1101
1522
  exports.se_GetMatchCommand = se_GetMatchCommand;
1523
+ const se_GetModerationReportCommand = async (input, context) => {
1524
+ const b = (0, core_2.requestBuilder)(input, context);
1525
+ const headers = {};
1526
+ b.bp("/state/admin/reports/{reportId}");
1527
+ b.p('reportId', () => input.reportId, '{reportId}', false);
1528
+ let body;
1529
+ b.m("GET")
1530
+ .h(headers)
1531
+ .b(body);
1532
+ return b.build();
1533
+ };
1534
+ exports.se_GetModerationReportCommand = se_GetModerationReportCommand;
1535
+ const se_GetModerationSignalsCommand = async (input, context) => {
1536
+ const b = (0, core_2.requestBuilder)(input, context);
1537
+ const headers = {};
1538
+ b.bp("/state/admin/users/{targetUserId}/moderation-signals");
1539
+ b.p('targetUserId', () => input.targetUserId, '{targetUserId}', false);
1540
+ let body;
1541
+ b.m("GET")
1542
+ .h(headers)
1543
+ .b(body);
1544
+ return b.build();
1545
+ };
1546
+ exports.se_GetModerationSignalsCommand = se_GetModerationSignalsCommand;
1102
1547
  const se_GetStateCommand = async (input, context) => {
1103
1548
  const b = (0, core_2.requestBuilder)(input, context);
1104
1549
  const headers = {};
@@ -1110,47 +1555,784 @@ const se_GetStateCommand = async (input, context) => {
1110
1555
  .b(body);
1111
1556
  return b.build();
1112
1557
  };
1113
- exports.se_GetStateCommand = se_GetStateCommand;
1114
- const se_InitUserCommand = async (input, context) => {
1115
- const b = (0, core_2.requestBuilder)(input, context);
1116
- const headers = {};
1117
- b.bp("/state/init");
1118
- let body;
1119
- b.m("POST")
1120
- .h(headers)
1121
- .b(body);
1122
- return b.build();
1558
+ exports.se_GetStateCommand = se_GetStateCommand;
1559
+ const se_GetTierOverrideCommand = async (input, context) => {
1560
+ const b = (0, core_2.requestBuilder)(input, context);
1561
+ const headers = {};
1562
+ b.bp("/state/admin/users/{targetUserId}/tier-override");
1563
+ b.p('targetUserId', () => input.targetUserId, '{targetUserId}', false);
1564
+ let body;
1565
+ b.m("GET")
1566
+ .h(headers)
1567
+ .b(body);
1568
+ return b.build();
1569
+ };
1570
+ exports.se_GetTierOverrideCommand = se_GetTierOverrideCommand;
1571
+ const se_InitUserCommand = async (input, context) => {
1572
+ const b = (0, core_2.requestBuilder)(input, context);
1573
+ const headers = {};
1574
+ b.bp("/state/init");
1575
+ let body;
1576
+ b.m("POST")
1577
+ .h(headers)
1578
+ .b(body);
1579
+ return b.build();
1580
+ };
1581
+ exports.se_InitUserCommand = se_InitUserCommand;
1582
+ const se_KeepHooksCommand = async (input, context) => {
1583
+ const b = (0, core_2.requestBuilder)(input, context);
1584
+ const headers = {
1585
+ 'content-type': 'application/json',
1586
+ };
1587
+ b.bp("/state/hooks/keep");
1588
+ let body;
1589
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
1590
+ 'matchIds': _ => (0, smithy_client_1._json)(_),
1591
+ }));
1592
+ b.m("POST")
1593
+ .h(headers)
1594
+ .b(body);
1595
+ return b.build();
1596
+ };
1597
+ exports.se_KeepHooksCommand = se_KeepHooksCommand;
1598
+ const se_ListBlocksCommand = async (input, context) => {
1599
+ const b = (0, core_2.requestBuilder)(input, context);
1600
+ const headers = {};
1601
+ b.bp("/state/blocks");
1602
+ let body;
1603
+ b.m("GET")
1604
+ .h(headers)
1605
+ .b(body);
1606
+ return b.build();
1607
+ };
1608
+ exports.se_ListBlocksCommand = se_ListBlocksCommand;
1609
+ const se_ListHookRequestsCommand = async (input, context) => {
1610
+ const b = (0, core_2.requestBuilder)(input, context);
1611
+ const headers = {};
1612
+ b.bp("/state/hook-requests");
1613
+ const query = (0, smithy_client_1.map)({
1614
+ [_di]: [, (0, smithy_client_1.expectNonNull)(input[_di], `direction`)],
1615
+ });
1616
+ let body;
1617
+ b.m("GET")
1618
+ .h(headers)
1619
+ .q(query)
1620
+ .b(body);
1621
+ return b.build();
1622
+ };
1623
+ exports.se_ListHookRequestsCommand = se_ListHookRequestsCommand;
1624
+ const se_ListMatchingOnMembersCommand = async (input, context) => {
1625
+ const b = (0, core_2.requestBuilder)(input, context);
1626
+ const headers = {};
1627
+ b.bp("/state/internal/matching/members");
1628
+ const query = (0, smithy_client_1.map)({
1629
+ [_li]: [() => input.limit !== void 0, () => (input[_li].toString())],
1630
+ [_nT]: [, input[_nT]],
1631
+ });
1632
+ let body;
1633
+ b.m("GET")
1634
+ .h(headers)
1635
+ .q(query)
1636
+ .b(body);
1637
+ return b.build();
1638
+ };
1639
+ exports.se_ListMatchingOnMembersCommand = se_ListMatchingOnMembersCommand;
1640
+ const se_ReportMemberCommand = async (input, context) => {
1641
+ const b = (0, core_2.requestBuilder)(input, context);
1642
+ const headers = {
1643
+ 'content-type': 'application/json',
1644
+ };
1645
+ b.bp("/state/reports");
1646
+ let body;
1647
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
1648
+ 'alsoBlock': [],
1649
+ 'category': [],
1650
+ 'conversationId': [],
1651
+ 'details': [],
1652
+ 'evidenceOffered': [],
1653
+ 'reportedUserId': [],
1654
+ }));
1655
+ b.m("POST")
1656
+ .h(headers)
1657
+ .b(body);
1658
+ return b.build();
1659
+ };
1660
+ exports.se_ReportMemberCommand = se_ReportMemberCommand;
1661
+ const se_SendHookRequestCommand = async (input, context) => {
1662
+ const b = (0, core_2.requestBuilder)(input, context);
1663
+ const headers = {
1664
+ 'content-type': 'application/json',
1665
+ };
1666
+ b.bp("/state/hook-requests");
1667
+ let body;
1668
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
1669
+ 'username': [],
1670
+ }));
1671
+ b.m("POST")
1672
+ .h(headers)
1673
+ .b(body);
1674
+ return b.build();
1675
+ };
1676
+ exports.se_SendHookRequestCommand = se_SendHookRequestCommand;
1677
+ const se_SetTierOverrideCommand = async (input, context) => {
1678
+ const b = (0, core_2.requestBuilder)(input, context);
1679
+ const headers = {
1680
+ 'content-type': 'application/json',
1681
+ };
1682
+ b.bp("/state/admin/users/{targetUserId}/tier-override");
1683
+ b.p('targetUserId', () => input.targetUserId, '{targetUserId}', false);
1684
+ let body;
1685
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
1686
+ 'expiresAt': [],
1687
+ 'reason': [],
1688
+ 'tier': [],
1689
+ }));
1690
+ b.m("PUT")
1691
+ .h(headers)
1692
+ .b(body);
1693
+ return b.build();
1694
+ };
1695
+ exports.se_SetTierOverrideCommand = se_SetTierOverrideCommand;
1696
+ const se_UnblockUserCommand = async (input, context) => {
1697
+ const b = (0, core_2.requestBuilder)(input, context);
1698
+ const headers = {};
1699
+ b.bp("/state/blocks/{blockedUserId}");
1700
+ b.p('blockedUserId', () => input.blockedUserId, '{blockedUserId}', false);
1701
+ let body;
1702
+ b.m("DELETE")
1703
+ .h(headers)
1704
+ .b(body);
1705
+ return b.build();
1706
+ };
1707
+ exports.se_UnblockUserCommand = se_UnblockUserCommand;
1708
+ const se_UnhookCommand = async (input, context) => {
1709
+ const b = (0, core_2.requestBuilder)(input, context);
1710
+ const headers = {
1711
+ 'content-type': 'application/json',
1712
+ };
1713
+ b.bp("/state/unhook");
1714
+ let body;
1715
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
1716
+ 'matchId': [],
1717
+ 'reason': [],
1718
+ }));
1719
+ b.m("POST")
1720
+ .h(headers)
1721
+ .b(body);
1722
+ return b.build();
1723
+ };
1724
+ exports.se_UnhookCommand = se_UnhookCommand;
1725
+ const se_UpgradeUserCommand = async (input, context) => {
1726
+ const b = (0, core_2.requestBuilder)(input, context);
1727
+ const headers = {};
1728
+ b.bp("/state/upgrade");
1729
+ let body;
1730
+ b.m("POST")
1731
+ .h(headers)
1732
+ .b(body);
1733
+ return b.build();
1734
+ };
1735
+ exports.se_UpgradeUserCommand = se_UpgradeUserCommand;
1736
+ const de_GetAiContextMatchCommand = async (output, context) => {
1737
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1738
+ return de_CommandError(output, context);
1739
+ }
1740
+ const contents = (0, smithy_client_1.map)({
1741
+ $metadata: deserializeMetadata(output),
1742
+ });
1743
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1744
+ const doc = (0, smithy_client_1.take)(data, {
1745
+ 'contextPolicy': smithy_client_1._json,
1746
+ 'matchId': smithy_client_1.expectString,
1747
+ 'matchedUser': smithy_client_1._json,
1748
+ 'requestingUser': smithy_client_1._json,
1749
+ 'status': smithy_client_1.expectString,
1750
+ });
1751
+ Object.assign(contents, doc);
1752
+ return contents;
1753
+ };
1754
+ exports.de_GetAiContextMatchCommand = de_GetAiContextMatchCommand;
1755
+ const de_GetGraphInvitesCommand = async (output, context) => {
1756
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1757
+ return de_CommandError(output, context);
1758
+ }
1759
+ const contents = (0, smithy_client_1.map)({
1760
+ $metadata: deserializeMetadata(output),
1761
+ });
1762
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1763
+ const doc = (0, smithy_client_1.take)(data, {
1764
+ 'root': _ => de_InviteNode(_, context),
1765
+ 'totalInvitees': smithy_client_1.expectInt32,
1766
+ 'truncated': smithy_client_1.expectBoolean,
1767
+ });
1768
+ Object.assign(contents, doc);
1769
+ return contents;
1770
+ };
1771
+ exports.de_GetGraphInvitesCommand = de_GetGraphInvitesCommand;
1772
+ const de_GetGraphMatchCommand = async (output, context) => {
1773
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1774
+ return de_CommandError(output, context);
1775
+ }
1776
+ const contents = (0, smithy_client_1.map)({
1777
+ $metadata: deserializeMetadata(output),
1778
+ });
1779
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1780
+ const doc = (0, smithy_client_1.take)(data, {
1781
+ 'matchId': smithy_client_1.expectString,
1782
+ 'matchedAt': smithy_client_1.expectLong,
1783
+ 'metrics': smithy_client_1._json,
1784
+ 'origin': smithy_client_1.expectString,
1785
+ 'userA': smithy_client_1.expectString,
1786
+ 'userB': smithy_client_1.expectString,
1787
+ });
1788
+ Object.assign(contents, doc);
1789
+ return contents;
1790
+ };
1791
+ exports.de_GetGraphMatchCommand = de_GetGraphMatchCommand;
1792
+ const de_GetGraphUserCommand = async (output, context) => {
1793
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1794
+ return de_CommandError(output, context);
1795
+ }
1796
+ const contents = (0, smithy_client_1.map)({
1797
+ $metadata: deserializeMetadata(output),
1798
+ });
1799
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1800
+ const doc = (0, smithy_client_1.take)(data, {
1801
+ 'behavior': _ => de_GraphUserBehavior(_, context),
1802
+ 'createdAt': smithy_client_1.expectLong,
1803
+ 'directInviteCount': smithy_client_1.expectInt32,
1804
+ 'invitedBy': smithy_client_1.expectString,
1805
+ 'matchCount': smithy_client_1.expectInt32,
1806
+ 'userId': smithy_client_1.expectString,
1807
+ });
1808
+ Object.assign(contents, doc);
1809
+ return contents;
1810
+ };
1811
+ exports.de_GetGraphUserCommand = de_GetGraphUserCommand;
1812
+ const de_GetMediaStatsCommand = async (output, context) => {
1813
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1814
+ return de_CommandError(output, context);
1815
+ }
1816
+ const contents = (0, smithy_client_1.map)({
1817
+ $metadata: deserializeMetadata(output),
1818
+ });
1819
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1820
+ const doc = (0, smithy_client_1.take)(data, {
1821
+ 'photos': smithy_client_1._json,
1822
+ });
1823
+ Object.assign(contents, doc);
1824
+ return contents;
1825
+ };
1826
+ exports.de_GetMediaStatsCommand = de_GetMediaStatsCommand;
1827
+ const de_IngestSignalsCommand = async (output, context) => {
1828
+ if (output.statusCode !== 202 && output.statusCode >= 300) {
1829
+ return de_CommandError(output, context);
1830
+ }
1831
+ const contents = (0, smithy_client_1.map)({
1832
+ $metadata: deserializeMetadata(output),
1833
+ });
1834
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1835
+ const doc = (0, smithy_client_1.take)(data, {
1836
+ 'accepted': smithy_client_1.expectInt32,
1837
+ 'reasons': smithy_client_1._json,
1838
+ 'rejected': smithy_client_1.expectInt32,
1839
+ });
1840
+ Object.assign(contents, doc);
1841
+ return contents;
1842
+ };
1843
+ exports.de_IngestSignalsCommand = de_IngestSignalsCommand;
1844
+ const de_ListGraphUserMatchesCommand = async (output, context) => {
1845
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1846
+ return de_CommandError(output, context);
1847
+ }
1848
+ const contents = (0, smithy_client_1.map)({
1849
+ $metadata: deserializeMetadata(output),
1850
+ });
1851
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1852
+ const doc = (0, smithy_client_1.take)(data, {
1853
+ 'matchCount': smithy_client_1.expectInt32,
1854
+ 'matches': smithy_client_1._json,
1855
+ 'userId': smithy_client_1.expectString,
1856
+ });
1857
+ Object.assign(contents, doc);
1858
+ return contents;
1859
+ };
1860
+ exports.de_ListGraphUserMatchesCommand = de_ListGraphUserMatchesCommand;
1861
+ const de_CreateMediaDownloadUrlCommand = async (output, context) => {
1862
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1863
+ return de_CommandError(output, context);
1864
+ }
1865
+ const contents = (0, smithy_client_1.map)({
1866
+ $metadata: deserializeMetadata(output),
1867
+ });
1868
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1869
+ const doc = (0, smithy_client_1.take)(data, {
1870
+ 'downloadUrl': smithy_client_1.expectString,
1871
+ 'expiresInSeconds': smithy_client_1.expectInt32,
1872
+ });
1873
+ Object.assign(contents, doc);
1874
+ return contents;
1875
+ };
1876
+ exports.de_CreateMediaDownloadUrlCommand = de_CreateMediaDownloadUrlCommand;
1877
+ const de_CreateMediaUploadUrlCommand = async (output, context) => {
1878
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1879
+ return de_CommandError(output, context);
1880
+ }
1881
+ const contents = (0, smithy_client_1.map)({
1882
+ $metadata: deserializeMetadata(output),
1883
+ });
1884
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1885
+ const doc = (0, smithy_client_1.take)(data, {
1886
+ 'expiresInSeconds': smithy_client_1.expectInt32,
1887
+ 'objectKey': smithy_client_1.expectString,
1888
+ 'uploadUrl': smithy_client_1.expectString,
1889
+ });
1890
+ Object.assign(contents, doc);
1891
+ return contents;
1892
+ };
1893
+ exports.de_CreateMediaUploadUrlCommand = de_CreateMediaUploadUrlCommand;
1894
+ const de_DeleteMatchMessagesCommand = async (output, context) => {
1895
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1896
+ return de_CommandError(output, context);
1897
+ }
1898
+ const contents = (0, smithy_client_1.map)({
1899
+ $metadata: deserializeMetadata(output),
1900
+ });
1901
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1902
+ const doc = (0, smithy_client_1.take)(data, {
1903
+ 'deleted': smithy_client_1.expectInt32,
1904
+ });
1905
+ Object.assign(contents, doc);
1906
+ return contents;
1907
+ };
1908
+ exports.de_DeleteMatchMessagesCommand = de_DeleteMatchMessagesCommand;
1909
+ const de_DeletePushTokenCommand = async (output, context) => {
1910
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1911
+ return de_CommandError(output, context);
1912
+ }
1913
+ const contents = (0, smithy_client_1.map)({
1914
+ $metadata: deserializeMetadata(output),
1915
+ });
1916
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1917
+ const doc = (0, smithy_client_1.take)(data, {
1918
+ 'deleted': smithy_client_1.expectBoolean,
1919
+ 'deviceId': smithy_client_1.expectString,
1920
+ });
1921
+ Object.assign(contents, doc);
1922
+ return contents;
1923
+ };
1924
+ exports.de_DeletePushTokenCommand = de_DeletePushTokenCommand;
1925
+ const de_EstablishHistoryEpochCommand = async (output, context) => {
1926
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1927
+ return de_CommandError(output, context);
1928
+ }
1929
+ const contents = (0, smithy_client_1.map)({
1930
+ $metadata: deserializeMetadata(output),
1931
+ });
1932
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1933
+ const doc = (0, smithy_client_1.take)(data, {
1934
+ 'epochs': smithy_client_1._json,
1935
+ 'established': smithy_client_1.expectBoolean,
1936
+ });
1937
+ Object.assign(contents, doc);
1938
+ return contents;
1939
+ };
1940
+ exports.de_EstablishHistoryEpochCommand = de_EstablishHistoryEpochCommand;
1941
+ const de_GetChatSettingsCommand = async (output, context) => {
1942
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1943
+ return de_CommandError(output, context);
1944
+ }
1945
+ const contents = (0, smithy_client_1.map)({
1946
+ $metadata: deserializeMetadata(output),
1947
+ });
1948
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1949
+ const doc = (0, smithy_client_1.take)(data, {
1950
+ 'settings': smithy_client_1._json,
1951
+ });
1952
+ Object.assign(contents, doc);
1953
+ return contents;
1954
+ };
1955
+ exports.de_GetChatSettingsCommand = de_GetChatSettingsCommand;
1956
+ const de_GetHistoryStateCommand = async (output, context) => {
1957
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1958
+ return de_CommandError(output, context);
1959
+ }
1960
+ const contents = (0, smithy_client_1.map)({
1961
+ $metadata: deserializeMetadata(output),
1962
+ });
1963
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1964
+ const doc = (0, smithy_client_1.take)(data, {
1965
+ 'activeEpoch': smithy_client_1.expectInt32,
1966
+ 'epochs': smithy_client_1._json,
1967
+ 'wraps': smithy_client_1._json,
1968
+ });
1969
+ Object.assign(contents, doc);
1970
+ return contents;
1971
+ };
1972
+ exports.de_GetHistoryStateCommand = de_GetHistoryStateCommand;
1973
+ const de_GetParticipantRegistryCommand = async (output, context) => {
1974
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1975
+ return de_CommandError(output, context);
1976
+ }
1977
+ const contents = (0, smithy_client_1.map)({
1978
+ $metadata: deserializeMetadata(output),
1979
+ });
1980
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1981
+ const doc = (0, smithy_client_1.take)(data, {
1982
+ 'accountHistoryKey': smithy_client_1._json,
1983
+ 'devices': smithy_client_1._json,
1984
+ 'userId': smithy_client_1.expectString,
1985
+ });
1986
+ Object.assign(contents, doc);
1987
+ return contents;
1988
+ };
1989
+ exports.de_GetParticipantRegistryCommand = de_GetParticipantRegistryCommand;
1990
+ const de_ListMyDevicesCommand = async (output, context) => {
1991
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1992
+ return de_CommandError(output, context);
1993
+ }
1994
+ const contents = (0, smithy_client_1.map)({
1995
+ $metadata: deserializeMetadata(output),
1996
+ });
1997
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1998
+ const doc = (0, smithy_client_1.take)(data, {
1999
+ 'accountHistoryKey': smithy_client_1._json,
2000
+ 'devices': smithy_client_1._json,
2001
+ });
2002
+ Object.assign(contents, doc);
2003
+ return contents;
2004
+ };
2005
+ exports.de_ListMyDevicesCommand = de_ListMyDevicesCommand;
2006
+ const de_PutHistoryWrapCommand = async (output, context) => {
2007
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2008
+ return de_CommandError(output, context);
2009
+ }
2010
+ const contents = (0, smithy_client_1.map)({
2011
+ $metadata: deserializeMetadata(output),
2012
+ });
2013
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
2014
+ const doc = (0, smithy_client_1.take)(data, {
2015
+ 'wraps': smithy_client_1._json,
2016
+ });
2017
+ Object.assign(contents, doc);
2018
+ return contents;
2019
+ };
2020
+ exports.de_PutHistoryWrapCommand = de_PutHistoryWrapCommand;
2021
+ const de_RegisterDeviceCommand = async (output, context) => {
2022
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2023
+ return de_CommandError(output, context);
2024
+ }
2025
+ const contents = (0, smithy_client_1.map)({
2026
+ $metadata: deserializeMetadata(output),
2027
+ });
2028
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
2029
+ const doc = (0, smithy_client_1.take)(data, {
2030
+ 'accountHistoryKey': smithy_client_1._json,
2031
+ 'device': smithy_client_1._json,
2032
+ });
2033
+ Object.assign(contents, doc);
2034
+ return contents;
2035
+ };
2036
+ exports.de_RegisterDeviceCommand = de_RegisterDeviceCommand;
2037
+ const de_RegisterPushTokenCommand = async (output, context) => {
2038
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2039
+ return de_CommandError(output, context);
2040
+ }
2041
+ const contents = (0, smithy_client_1.map)({
2042
+ $metadata: deserializeMetadata(output),
2043
+ });
2044
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
2045
+ const doc = (0, smithy_client_1.take)(data, {
2046
+ 'deviceId': smithy_client_1.expectString,
2047
+ 'registered': smithy_client_1.expectBoolean,
2048
+ });
2049
+ Object.assign(contents, doc);
2050
+ return contents;
2051
+ };
2052
+ exports.de_RegisterPushTokenCommand = de_RegisterPushTokenCommand;
2053
+ const de_RevokeDeviceCommand = async (output, context) => {
2054
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2055
+ return de_CommandError(output, context);
2056
+ }
2057
+ const contents = (0, smithy_client_1.map)({
2058
+ $metadata: deserializeMetadata(output),
2059
+ });
2060
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
2061
+ const doc = (0, smithy_client_1.take)(data, {
2062
+ 'deviceId': smithy_client_1.expectString,
2063
+ 'revoked': smithy_client_1.expectBoolean,
2064
+ });
2065
+ Object.assign(contents, doc);
2066
+ return contents;
2067
+ };
2068
+ exports.de_RevokeDeviceCommand = de_RevokeDeviceCommand;
2069
+ const de_RevokeHistoryWrapCommand = async (output, context) => {
2070
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2071
+ return de_CommandError(output, context);
2072
+ }
2073
+ const contents = (0, smithy_client_1.map)({
2074
+ $metadata: deserializeMetadata(output),
2075
+ });
2076
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
2077
+ const doc = (0, smithy_client_1.take)(data, {
2078
+ 'epoch': smithy_client_1.expectInt32,
2079
+ 'method': smithy_client_1.expectString,
2080
+ 'revoked': smithy_client_1.expectBoolean,
2081
+ 'wrapId': smithy_client_1.expectString,
2082
+ });
2083
+ Object.assign(contents, doc);
2084
+ return contents;
2085
+ };
2086
+ exports.de_RevokeHistoryWrapCommand = de_RevokeHistoryWrapCommand;
2087
+ const de_UpdateChatSettingsCommand = async (output, context) => {
2088
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2089
+ return de_CommandError(output, context);
2090
+ }
2091
+ const contents = (0, smithy_client_1.map)({
2092
+ $metadata: deserializeMetadata(output),
2093
+ });
2094
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
2095
+ const doc = (0, smithy_client_1.take)(data, {
2096
+ 'settings': smithy_client_1._json,
2097
+ });
2098
+ Object.assign(contents, doc);
2099
+ return contents;
2100
+ };
2101
+ exports.de_UpdateChatSettingsCommand = de_UpdateChatSettingsCommand;
2102
+ const de_AuthSocialCommand = async (output, context) => {
2103
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2104
+ return de_CommandError(output, context);
2105
+ }
2106
+ const contents = (0, smithy_client_1.map)({
2107
+ $metadata: deserializeMetadata(output),
2108
+ });
2109
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
2110
+ const doc = (0, smithy_client_1.take)(data, {
2111
+ 'isNewUser': smithy_client_1.expectBoolean,
2112
+ 'status': smithy_client_1.expectString,
2113
+ 'userId': smithy_client_1.expectString,
2114
+ });
2115
+ Object.assign(contents, doc);
2116
+ return contents;
2117
+ };
2118
+ exports.de_AuthSocialCommand = de_AuthSocialCommand;
2119
+ const de_CreateAdminInviteCommand = async (output, context) => {
2120
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2121
+ return de_CommandError(output, context);
2122
+ }
2123
+ const contents = (0, smithy_client_1.map)({
2124
+ $metadata: deserializeMetadata(output),
2125
+ });
2126
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
2127
+ const doc = (0, smithy_client_1.take)(data, {
2128
+ 'expiresAt': smithy_client_1.expectLong,
2129
+ 'inviteCode': smithy_client_1.expectString,
2130
+ 'maxUses': smithy_client_1.expectInt32,
2131
+ });
2132
+ Object.assign(contents, doc);
2133
+ return contents;
2134
+ };
2135
+ exports.de_CreateAdminInviteCommand = de_CreateAdminInviteCommand;
2136
+ const de_GenerateInviteCommand = async (output, context) => {
2137
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2138
+ return de_CommandError(output, context);
2139
+ }
2140
+ const contents = (0, smithy_client_1.map)({
2141
+ $metadata: deserializeMetadata(output),
2142
+ });
2143
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
2144
+ const doc = (0, smithy_client_1.take)(data, {
2145
+ 'expiresAt': smithy_client_1.expectLong,
2146
+ 'inviteCode': smithy_client_1.expectString,
2147
+ 'maxUses': smithy_client_1.expectInt32,
2148
+ });
2149
+ Object.assign(contents, doc);
2150
+ return contents;
2151
+ };
2152
+ exports.de_GenerateInviteCommand = de_GenerateInviteCommand;
2153
+ const de_GetAccountStateCommand = async (output, context) => {
2154
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2155
+ return de_CommandError(output, context);
2156
+ }
2157
+ const contents = (0, smithy_client_1.map)({
2158
+ $metadata: deserializeMetadata(output),
2159
+ });
2160
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
2161
+ const doc = (0, smithy_client_1.take)(data, {
2162
+ 'reasonCode': smithy_client_1.expectString,
2163
+ 'state': smithy_client_1.expectString,
2164
+ 'until': smithy_client_1.expectLong,
2165
+ 'version': smithy_client_1.expectInt32,
2166
+ });
2167
+ Object.assign(contents, doc);
2168
+ return contents;
2169
+ };
2170
+ exports.de_GetAccountStateCommand = de_GetAccountStateCommand;
2171
+ const de_GetAdminPhoneStatusCommand = async (output, context) => {
2172
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2173
+ return de_CommandError(output, context);
2174
+ }
2175
+ const contents = (0, smithy_client_1.map)({
2176
+ $metadata: deserializeMetadata(output),
2177
+ });
2178
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
2179
+ const doc = (0, smithy_client_1.take)(data, {
2180
+ 'registered': smithy_client_1.expectBoolean,
2181
+ });
2182
+ Object.assign(contents, doc);
2183
+ return contents;
2184
+ };
2185
+ exports.de_GetAdminPhoneStatusCommand = de_GetAdminPhoneStatusCommand;
2186
+ const de_GetCredentialReadinessCommand = async (output, context) => {
2187
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2188
+ return de_CommandError(output, context);
2189
+ }
2190
+ const contents = (0, smithy_client_1.map)({
2191
+ $metadata: deserializeMetadata(output),
2192
+ });
2193
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
2194
+ const doc = (0, smithy_client_1.take)(data, {
2195
+ 'gaps': smithy_client_1._json,
2196
+ 'ready': smithy_client_1.expectBoolean,
2197
+ });
2198
+ Object.assign(contents, doc);
2199
+ return contents;
2200
+ };
2201
+ exports.de_GetCredentialReadinessCommand = de_GetCredentialReadinessCommand;
2202
+ const de_GetInviteEdgesCommand = async (output, context) => {
2203
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2204
+ return de_CommandError(output, context);
2205
+ }
2206
+ const contents = (0, smithy_client_1.map)({
2207
+ $metadata: deserializeMetadata(output),
2208
+ });
2209
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
2210
+ const doc = (0, smithy_client_1.take)(data, {
2211
+ 'invitedBy': smithy_client_1.expectString,
2212
+ 'invitees': smithy_client_1._json,
2213
+ 'nextToken': smithy_client_1.expectString,
2214
+ 'userId': smithy_client_1.expectString,
2215
+ });
2216
+ Object.assign(contents, doc);
2217
+ return contents;
2218
+ };
2219
+ exports.de_GetInviteEdgesCommand = de_GetInviteEdgesCommand;
2220
+ const de_GetPreservationHoldCommand = async (output, context) => {
2221
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2222
+ return de_CommandError(output, context);
2223
+ }
2224
+ const contents = (0, smithy_client_1.map)({
2225
+ $metadata: deserializeMetadata(output),
2226
+ });
2227
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
2228
+ const doc = (0, smithy_client_1.take)(data, {
2229
+ 'active': smithy_client_1.expectBoolean,
2230
+ 'caseRef': smithy_client_1.expectString,
2231
+ 'childSafetySince': smithy_client_1.expectLong,
2232
+ 'reasonCode': smithy_client_1.expectString,
2233
+ 'setAt': smithy_client_1.expectLong,
2234
+ 'setBy': smithy_client_1.expectString,
2235
+ 'until': smithy_client_1.expectLong,
2236
+ 'version': smithy_client_1.expectInt32,
2237
+ });
2238
+ Object.assign(contents, doc);
2239
+ return contents;
2240
+ };
2241
+ exports.de_GetPreservationHoldCommand = de_GetPreservationHoldCommand;
2242
+ const de_GetUserCommand = async (output, context) => {
2243
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2244
+ return de_CommandError(output, context);
2245
+ }
2246
+ const contents = (0, smithy_client_1.map)({
2247
+ $metadata: deserializeMetadata(output),
2248
+ });
2249
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
2250
+ const doc = (0, smithy_client_1.take)(data, {
2251
+ 'appleEmail': smithy_client_1.expectString,
2252
+ 'appleId': smithy_client_1.expectString,
2253
+ 'displayName': smithy_client_1.expectString,
2254
+ 'email': smithy_client_1.expectString,
2255
+ 'googleEmail': smithy_client_1.expectString,
2256
+ 'googleId': smithy_client_1.expectString,
2257
+ 'phoneNumber': smithy_client_1.expectString,
2258
+ 'userId': smithy_client_1.expectString,
2259
+ 'userState': smithy_client_1.expectString,
2260
+ 'username': smithy_client_1.expectString,
2261
+ });
2262
+ Object.assign(contents, doc);
2263
+ return contents;
2264
+ };
2265
+ exports.de_GetUserCommand = de_GetUserCommand;
2266
+ const de_GetUserByEmailCommand = async (output, context) => {
2267
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2268
+ return de_CommandError(output, context);
2269
+ }
2270
+ const contents = (0, smithy_client_1.map)({
2271
+ $metadata: deserializeMetadata(output),
2272
+ });
2273
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
2274
+ const doc = (0, smithy_client_1.take)(data, {
2275
+ 'appleEmail': smithy_client_1.expectString,
2276
+ 'appleId': smithy_client_1.expectString,
2277
+ 'displayName': smithy_client_1.expectString,
2278
+ 'email': smithy_client_1.expectString,
2279
+ 'googleEmail': smithy_client_1.expectString,
2280
+ 'googleId': smithy_client_1.expectString,
2281
+ 'phoneNumber': smithy_client_1.expectString,
2282
+ 'userId': smithy_client_1.expectString,
2283
+ 'userState': smithy_client_1.expectString,
2284
+ 'username': smithy_client_1.expectString,
2285
+ });
2286
+ Object.assign(contents, doc);
2287
+ return contents;
2288
+ };
2289
+ exports.de_GetUserByEmailCommand = de_GetUserByEmailCommand;
2290
+ const de_GetUserIdByUsernameCommand = async (output, context) => {
2291
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2292
+ return de_CommandError(output, context);
2293
+ }
2294
+ const contents = (0, smithy_client_1.map)({
2295
+ $metadata: deserializeMetadata(output),
2296
+ });
2297
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
2298
+ const doc = (0, smithy_client_1.take)(data, {
2299
+ 'userId': smithy_client_1.expectString,
2300
+ });
2301
+ Object.assign(contents, doc);
2302
+ return contents;
1123
2303
  };
1124
- exports.se_InitUserCommand = se_InitUserCommand;
1125
- const se_UnhookCommand = async (input, context) => {
1126
- const b = (0, core_2.requestBuilder)(input, context);
1127
- const headers = {
1128
- 'content-type': 'application/json',
1129
- };
1130
- b.bp("/state/unhook");
1131
- let body;
1132
- body = JSON.stringify((0, smithy_client_1.take)(input, {
1133
- 'matchId': [],
1134
- 'reason': [],
1135
- }));
1136
- b.m("POST")
1137
- .h(headers)
1138
- .b(body);
1139
- return b.build();
2304
+ exports.de_GetUserIdByUsernameCommand = de_GetUserIdByUsernameCommand;
2305
+ const de_LinkEmailCommand = async (output, context) => {
2306
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2307
+ return de_CommandError(output, context);
2308
+ }
2309
+ const contents = (0, smithy_client_1.map)({
2310
+ $metadata: deserializeMetadata(output),
2311
+ });
2312
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
2313
+ const doc = (0, smithy_client_1.take)(data, {
2314
+ 'status': smithy_client_1.expectString,
2315
+ });
2316
+ Object.assign(contents, doc);
2317
+ return contents;
1140
2318
  };
1141
- exports.se_UnhookCommand = se_UnhookCommand;
1142
- const se_UpgradeUserCommand = async (input, context) => {
1143
- const b = (0, core_2.requestBuilder)(input, context);
1144
- const headers = {};
1145
- b.bp("/state/upgrade");
1146
- let body;
1147
- b.m("POST")
1148
- .h(headers)
1149
- .b(body);
1150
- return b.build();
2319
+ exports.de_LinkEmailCommand = de_LinkEmailCommand;
2320
+ const de_LinkSocialCommand = async (output, context) => {
2321
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2322
+ return de_CommandError(output, context);
2323
+ }
2324
+ const contents = (0, smithy_client_1.map)({
2325
+ $metadata: deserializeMetadata(output),
2326
+ });
2327
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
2328
+ const doc = (0, smithy_client_1.take)(data, {
2329
+ 'status': smithy_client_1.expectString,
2330
+ });
2331
+ Object.assign(contents, doc);
2332
+ return contents;
1151
2333
  };
1152
- exports.se_UpgradeUserCommand = se_UpgradeUserCommand;
1153
- const de_GetAiContextMatchCommand = async (output, context) => {
2334
+ exports.de_LinkSocialCommand = de_LinkSocialCommand;
2335
+ const de_RegisterPhoneCommand = async (output, context) => {
1154
2336
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1155
2337
  return de_CommandError(output, context);
1156
2338
  }
@@ -1159,17 +2341,14 @@ const de_GetAiContextMatchCommand = async (output, context) => {
1159
2341
  });
1160
2342
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1161
2343
  const doc = (0, smithy_client_1.take)(data, {
1162
- 'contextPolicy': smithy_client_1._json,
1163
- 'matchId': smithy_client_1.expectString,
1164
- 'matchedUser': smithy_client_1._json,
1165
- 'requestingUser': smithy_client_1._json,
1166
2344
  'status': smithy_client_1.expectString,
2345
+ 'userId': smithy_client_1.expectString,
1167
2346
  });
1168
2347
  Object.assign(contents, doc);
1169
2348
  return contents;
1170
2349
  };
1171
- exports.de_GetAiContextMatchCommand = de_GetAiContextMatchCommand;
1172
- const de_CreateMediaDownloadUrlCommand = async (output, context) => {
2350
+ exports.de_RegisterPhoneCommand = de_RegisterPhoneCommand;
2351
+ const de_RequestEmailOtpCommand = async (output, context) => {
1173
2352
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1174
2353
  return de_CommandError(output, context);
1175
2354
  }
@@ -1178,14 +2357,13 @@ const de_CreateMediaDownloadUrlCommand = async (output, context) => {
1178
2357
  });
1179
2358
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1180
2359
  const doc = (0, smithy_client_1.take)(data, {
1181
- 'downloadUrl': smithy_client_1.expectString,
1182
- 'expiresInSeconds': smithy_client_1.expectInt32,
2360
+ 'status': smithy_client_1.expectString,
1183
2361
  });
1184
2362
  Object.assign(contents, doc);
1185
2363
  return contents;
1186
2364
  };
1187
- exports.de_CreateMediaDownloadUrlCommand = de_CreateMediaDownloadUrlCommand;
1188
- const de_CreateMediaUploadUrlCommand = async (output, context) => {
2365
+ exports.de_RequestEmailOtpCommand = de_RequestEmailOtpCommand;
2366
+ const de_RequestPhoneOtpCommand = async (output, context) => {
1189
2367
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1190
2368
  return de_CommandError(output, context);
1191
2369
  }
@@ -1194,15 +2372,13 @@ const de_CreateMediaUploadUrlCommand = async (output, context) => {
1194
2372
  });
1195
2373
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1196
2374
  const doc = (0, smithy_client_1.take)(data, {
1197
- 'expiresInSeconds': smithy_client_1.expectInt32,
1198
- 'objectKey': smithy_client_1.expectString,
1199
- 'uploadUrl': smithy_client_1.expectString,
2375
+ 'status': smithy_client_1.expectString,
1200
2376
  });
1201
2377
  Object.assign(contents, doc);
1202
2378
  return contents;
1203
2379
  };
1204
- exports.de_CreateMediaUploadUrlCommand = de_CreateMediaUploadUrlCommand;
1205
- const de_DeleteMatchMessagesCommand = async (output, context) => {
2380
+ exports.de_RequestPhoneOtpCommand = de_RequestPhoneOtpCommand;
2381
+ const de_RequestPhoneUpdateOtpCommand = async (output, context) => {
1206
2382
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1207
2383
  return de_CommandError(output, context);
1208
2384
  }
@@ -1211,13 +2387,13 @@ const de_DeleteMatchMessagesCommand = async (output, context) => {
1211
2387
  });
1212
2388
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1213
2389
  const doc = (0, smithy_client_1.take)(data, {
1214
- 'deleted': smithy_client_1.expectInt32,
2390
+ 'status': smithy_client_1.expectString,
1215
2391
  });
1216
2392
  Object.assign(contents, doc);
1217
2393
  return contents;
1218
2394
  };
1219
- exports.de_DeleteMatchMessagesCommand = de_DeleteMatchMessagesCommand;
1220
- const de_DeletePushTokenCommand = async (output, context) => {
2395
+ exports.de_RequestPhoneUpdateOtpCommand = de_RequestPhoneUpdateOtpCommand;
2396
+ const de_RevokeUserAccessCommand = async (output, context) => {
1221
2397
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1222
2398
  return de_CommandError(output, context);
1223
2399
  }
@@ -1226,14 +2402,13 @@ const de_DeletePushTokenCommand = async (output, context) => {
1226
2402
  });
1227
2403
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1228
2404
  const doc = (0, smithy_client_1.take)(data, {
1229
- 'deleted': smithy_client_1.expectBoolean,
1230
- 'deviceId': smithy_client_1.expectString,
2405
+ 'status': smithy_client_1.expectString,
1231
2406
  });
1232
2407
  Object.assign(contents, doc);
1233
2408
  return contents;
1234
2409
  };
1235
- exports.de_DeletePushTokenCommand = de_DeletePushTokenCommand;
1236
- const de_GetChatSettingsCommand = async (output, context) => {
2410
+ exports.de_RevokeUserAccessCommand = de_RevokeUserAccessCommand;
2411
+ const de_SendAdminLinkOtpCommand = async (output, context) => {
1237
2412
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1238
2413
  return de_CommandError(output, context);
1239
2414
  }
@@ -1242,13 +2417,14 @@ const de_GetChatSettingsCommand = async (output, context) => {
1242
2417
  });
1243
2418
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1244
2419
  const doc = (0, smithy_client_1.take)(data, {
1245
- 'settings': smithy_client_1._json,
2420
+ 'maskedPhone': smithy_client_1.expectString,
2421
+ 'status': smithy_client_1.expectString,
1246
2422
  });
1247
2423
  Object.assign(contents, doc);
1248
2424
  return contents;
1249
2425
  };
1250
- exports.de_GetChatSettingsCommand = de_GetChatSettingsCommand;
1251
- const de_GetParticipantRegistryCommand = async (output, context) => {
2426
+ exports.de_SendAdminLinkOtpCommand = de_SendAdminLinkOtpCommand;
2427
+ const de_SetAccountStateCommand = async (output, context) => {
1252
2428
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1253
2429
  return de_CommandError(output, context);
1254
2430
  }
@@ -1257,15 +2433,15 @@ const de_GetParticipantRegistryCommand = async (output, context) => {
1257
2433
  });
1258
2434
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1259
2435
  const doc = (0, smithy_client_1.take)(data, {
1260
- 'accountHistoryKey': smithy_client_1._json,
1261
- 'devices': smithy_client_1._json,
1262
- 'userId': smithy_client_1.expectString,
2436
+ 'state': smithy_client_1.expectString,
2437
+ 'until': smithy_client_1.expectLong,
2438
+ 'version': smithy_client_1.expectInt32,
1263
2439
  });
1264
2440
  Object.assign(contents, doc);
1265
2441
  return contents;
1266
2442
  };
1267
- exports.de_GetParticipantRegistryCommand = de_GetParticipantRegistryCommand;
1268
- const de_ListMyDevicesCommand = async (output, context) => {
2443
+ exports.de_SetAccountStateCommand = de_SetAccountStateCommand;
2444
+ const de_SetPreservationHoldCommand = async (output, context) => {
1269
2445
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1270
2446
  return de_CommandError(output, context);
1271
2447
  }
@@ -1274,14 +2450,16 @@ const de_ListMyDevicesCommand = async (output, context) => {
1274
2450
  });
1275
2451
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1276
2452
  const doc = (0, smithy_client_1.take)(data, {
1277
- 'accountHistoryKey': smithy_client_1._json,
1278
- 'devices': smithy_client_1._json,
2453
+ 'active': smithy_client_1.expectBoolean,
2454
+ 'reasonCode': smithy_client_1.expectString,
2455
+ 'until': smithy_client_1.expectLong,
2456
+ 'version': smithy_client_1.expectInt32,
1279
2457
  });
1280
2458
  Object.assign(contents, doc);
1281
2459
  return contents;
1282
2460
  };
1283
- exports.de_ListMyDevicesCommand = de_ListMyDevicesCommand;
1284
- const de_RegisterDeviceCommand = async (output, context) => {
2461
+ exports.de_SetPreservationHoldCommand = de_SetPreservationHoldCommand;
2462
+ const de_UnlinkSocialCommand = async (output, context) => {
1285
2463
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1286
2464
  return de_CommandError(output, context);
1287
2465
  }
@@ -1290,15 +2468,13 @@ const de_RegisterDeviceCommand = async (output, context) => {
1290
2468
  });
1291
2469
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1292
2470
  const doc = (0, smithy_client_1.take)(data, {
1293
- 'accountHistoryKey': smithy_client_1._json,
1294
- 'device': smithy_client_1._json,
1295
- 'ownsAccountHistoryKey': smithy_client_1.expectBoolean,
2471
+ 'status': smithy_client_1.expectString,
1296
2472
  });
1297
2473
  Object.assign(contents, doc);
1298
2474
  return contents;
1299
2475
  };
1300
- exports.de_RegisterDeviceCommand = de_RegisterDeviceCommand;
1301
- const de_RegisterPushTokenCommand = async (output, context) => {
2476
+ exports.de_UnlinkSocialCommand = de_UnlinkSocialCommand;
2477
+ const de_UpdateEntitlementsCommand = async (output, context) => {
1302
2478
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1303
2479
  return de_CommandError(output, context);
1304
2480
  }
@@ -1307,14 +2483,14 @@ const de_RegisterPushTokenCommand = async (output, context) => {
1307
2483
  });
1308
2484
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1309
2485
  const doc = (0, smithy_client_1.take)(data, {
1310
- 'deviceId': smithy_client_1.expectString,
1311
- 'registered': smithy_client_1.expectBoolean,
2486
+ 'status': smithy_client_1.expectString,
2487
+ 'subscriptionTier': smithy_client_1.expectString,
1312
2488
  });
1313
2489
  Object.assign(contents, doc);
1314
2490
  return contents;
1315
2491
  };
1316
- exports.de_RegisterPushTokenCommand = de_RegisterPushTokenCommand;
1317
- const de_RevokeDeviceCommand = async (output, context) => {
2492
+ exports.de_UpdateEntitlementsCommand = de_UpdateEntitlementsCommand;
2493
+ const de_UpdatePhoneNumberCommand = async (output, context) => {
1318
2494
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1319
2495
  return de_CommandError(output, context);
1320
2496
  }
@@ -1323,14 +2499,14 @@ const de_RevokeDeviceCommand = async (output, context) => {
1323
2499
  });
1324
2500
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1325
2501
  const doc = (0, smithy_client_1.take)(data, {
1326
- 'deviceId': smithy_client_1.expectString,
1327
- 'revoked': smithy_client_1.expectBoolean,
2502
+ 'phoneNumber': smithy_client_1.expectString,
2503
+ 'status': smithy_client_1.expectString,
1328
2504
  });
1329
2505
  Object.assign(contents, doc);
1330
2506
  return contents;
1331
2507
  };
1332
- exports.de_RevokeDeviceCommand = de_RevokeDeviceCommand;
1333
- const de_UpdateChatSettingsCommand = async (output, context) => {
2508
+ exports.de_UpdatePhoneNumberCommand = de_UpdatePhoneNumberCommand;
2509
+ const de_UpdateUsernameCommand = async (output, context) => {
1334
2510
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1335
2511
  return de_CommandError(output, context);
1336
2512
  }
@@ -1339,13 +2515,14 @@ const de_UpdateChatSettingsCommand = async (output, context) => {
1339
2515
  });
1340
2516
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1341
2517
  const doc = (0, smithy_client_1.take)(data, {
1342
- 'settings': smithy_client_1._json,
2518
+ 'status': smithy_client_1.expectString,
2519
+ 'username': smithy_client_1.expectString,
1343
2520
  });
1344
2521
  Object.assign(contents, doc);
1345
2522
  return contents;
1346
2523
  };
1347
- exports.de_UpdateChatSettingsCommand = de_UpdateChatSettingsCommand;
1348
- const de_AuthSocialCommand = async (output, context) => {
2524
+ exports.de_UpdateUsernameCommand = de_UpdateUsernameCommand;
2525
+ const de_ValidateInviteCommand = async (output, context) => {
1349
2526
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1350
2527
  return de_CommandError(output, context);
1351
2528
  }
@@ -1354,15 +2531,33 @@ const de_AuthSocialCommand = async (output, context) => {
1354
2531
  });
1355
2532
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1356
2533
  const doc = (0, smithy_client_1.take)(data, {
1357
- 'isNewUser': smithy_client_1.expectBoolean,
2534
+ 'maxUses': smithy_client_1.expectInt32,
2535
+ 'referrerId': smithy_client_1.expectString,
1358
2536
  'status': smithy_client_1.expectString,
2537
+ 'usedCount': smithy_client_1.expectInt32,
2538
+ });
2539
+ Object.assign(contents, doc);
2540
+ return contents;
2541
+ };
2542
+ exports.de_ValidateInviteCommand = de_ValidateInviteCommand;
2543
+ const de_VerifyAdminLinkOtpCommand = async (output, context) => {
2544
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2545
+ return de_CommandError(output, context);
2546
+ }
2547
+ const contents = (0, smithy_client_1.map)({
2548
+ $metadata: deserializeMetadata(output),
2549
+ });
2550
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
2551
+ const doc = (0, smithy_client_1.take)(data, {
1359
2552
  'userId': smithy_client_1.expectString,
2553
+ 'username': smithy_client_1.expectString,
2554
+ 'verified': smithy_client_1.expectBoolean,
1360
2555
  });
1361
2556
  Object.assign(contents, doc);
1362
2557
  return contents;
1363
2558
  };
1364
- exports.de_AuthSocialCommand = de_AuthSocialCommand;
1365
- const de_CreateAdminInviteCommand = async (output, context) => {
2559
+ exports.de_VerifyAdminLinkOtpCommand = de_VerifyAdminLinkOtpCommand;
2560
+ const de_GetScoringPolicyCommand = async (output, context) => {
1366
2561
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1367
2562
  return de_CommandError(output, context);
1368
2563
  }
@@ -1371,15 +2566,14 @@ const de_CreateAdminInviteCommand = async (output, context) => {
1371
2566
  });
1372
2567
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1373
2568
  const doc = (0, smithy_client_1.take)(data, {
1374
- 'expiresAt': smithy_client_1.expectLong,
1375
- 'inviteCode': smithy_client_1.expectString,
1376
- 'maxUses': smithy_client_1.expectInt32,
2569
+ 'metadata': _ => de_ParameterMetadataMap(_, context),
2570
+ 'policy': _ => de_ScoringPolicyConfig(_, context),
1377
2571
  });
1378
2572
  Object.assign(contents, doc);
1379
2573
  return contents;
1380
2574
  };
1381
- exports.de_CreateAdminInviteCommand = de_CreateAdminInviteCommand;
1382
- const de_GenerateInviteCommand = async (output, context) => {
2575
+ exports.de_GetScoringPolicyCommand = de_GetScoringPolicyCommand;
2576
+ const de_SimulateScoringPolicyCommand = async (output, context) => {
1383
2577
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1384
2578
  return de_CommandError(output, context);
1385
2579
  }
@@ -1388,15 +2582,54 @@ const de_GenerateInviteCommand = async (output, context) => {
1388
2582
  });
1389
2583
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1390
2584
  const doc = (0, smithy_client_1.take)(data, {
1391
- 'expiresAt': smithy_client_1.expectLong,
1392
- 'inviteCode': smithy_client_1.expectString,
1393
- 'maxUses': smithy_client_1.expectInt32,
2585
+ 'baselineScore': smithy_client_1.limitedParseDouble,
2586
+ 'breakdown': _ => de_ScoreBreakdown(_, context),
2587
+ 'delta': smithy_client_1.limitedParseDouble,
2588
+ 'scenario': smithy_client_1._json,
2589
+ 'simulatedScore': smithy_client_1.limitedParseDouble,
1394
2590
  });
1395
2591
  Object.assign(contents, doc);
1396
2592
  return contents;
1397
2593
  };
1398
- exports.de_GenerateInviteCommand = de_GenerateInviteCommand;
1399
- const de_GetAccountStateCommand = async (output, context) => {
2594
+ exports.de_SimulateScoringPolicyCommand = de_SimulateScoringPolicyCommand;
2595
+ const de_UpdateScoringPolicyCommand = async (output, context) => {
2596
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2597
+ return de_CommandError(output, context);
2598
+ }
2599
+ const contents = (0, smithy_client_1.map)({
2600
+ $metadata: deserializeMetadata(output),
2601
+ });
2602
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
2603
+ const doc = (0, smithy_client_1.take)(data, {
2604
+ 'policy': _ => de_ScoringPolicyConfig(_, context),
2605
+ 'status': smithy_client_1.expectString,
2606
+ 'version': smithy_client_1.expectString,
2607
+ });
2608
+ Object.assign(contents, doc);
2609
+ return contents;
2610
+ };
2611
+ exports.de_UpdateScoringPolicyCommand = de_UpdateScoringPolicyCommand;
2612
+ const de_DiscoverCommand = async (output, context) => {
2613
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2614
+ return de_CommandError(output, context);
2615
+ }
2616
+ const contents = (0, smithy_client_1.map)({
2617
+ $metadata: deserializeMetadata(output),
2618
+ });
2619
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
2620
+ const doc = (0, smithy_client_1.take)(data, {
2621
+ 'algorithm': smithy_client_1.expectString,
2622
+ 'availableCategories': smithy_client_1._json,
2623
+ 'candidates': _ => de_CandidateList(_, context),
2624
+ 'category': smithy_client_1.expectString,
2625
+ 'count': smithy_client_1.expectInt32,
2626
+ 'viewPass': smithy_client_1.expectString,
2627
+ });
2628
+ Object.assign(contents, doc);
2629
+ return contents;
2630
+ };
2631
+ exports.de_DiscoverCommand = de_DiscoverCommand;
2632
+ const de_GetPartnerDistanceCommand = async (output, context) => {
1400
2633
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1401
2634
  return de_CommandError(output, context);
1402
2635
  }
@@ -1405,16 +2638,14 @@ const de_GetAccountStateCommand = async (output, context) => {
1405
2638
  });
1406
2639
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1407
2640
  const doc = (0, smithy_client_1.take)(data, {
1408
- 'reasonCode': smithy_client_1.expectString,
1409
- 'state': smithy_client_1.expectString,
1410
- 'until': smithy_client_1.expectLong,
1411
- 'version': smithy_client_1.expectInt32,
2641
+ 'available': smithy_client_1.expectBoolean,
2642
+ 'distanceKm': smithy_client_1.limitedParseDouble,
1412
2643
  });
1413
2644
  Object.assign(contents, doc);
1414
2645
  return contents;
1415
2646
  };
1416
- exports.de_GetAccountStateCommand = de_GetAccountStateCommand;
1417
- const de_GetAdminPhoneStatusCommand = async (output, context) => {
2647
+ exports.de_GetPartnerDistanceCommand = de_GetPartnerDistanceCommand;
2648
+ const de_GetPreferencesCommand = async (output, context) => {
1418
2649
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1419
2650
  return de_CommandError(output, context);
1420
2651
  }
@@ -1423,13 +2654,45 @@ const de_GetAdminPhoneStatusCommand = async (output, context) => {
1423
2654
  });
1424
2655
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1425
2656
  const doc = (0, smithy_client_1.take)(data, {
1426
- 'registered': smithy_client_1.expectBoolean,
2657
+ 'cannabis': smithy_client_1.expectString,
2658
+ 'currentSuggestion': smithy_client_1._json,
2659
+ 'dealbreakers': smithy_client_1._json,
2660
+ 'discoverable': smithy_client_1.expectBoolean,
2661
+ 'distanceUnit': smithy_client_1.expectString,
2662
+ 'drinking': smithy_client_1.expectString,
2663
+ 'drugs': smithy_client_1.expectString,
2664
+ 'educationLevel': smithy_client_1.expectString,
2665
+ 'exercise': smithy_client_1.expectString,
2666
+ 'familyPlans': smithy_client_1.expectString,
2667
+ 'hidePastHooks': smithy_client_1.expectBoolean,
2668
+ 'implicitPreferences': smithy_client_1._json,
2669
+ 'incognito': smithy_client_1.expectBoolean,
2670
+ 'interestedInGenders': smithy_client_1._json,
2671
+ 'interests': smithy_client_1._json,
2672
+ 'maxAge': smithy_client_1.expectInt32,
2673
+ 'maxDistanceKm': smithy_client_1.expectInt32,
2674
+ 'maxHeight': smithy_client_1.expectInt32,
2675
+ 'minAge': smithy_client_1.expectInt32,
2676
+ 'minHeight': smithy_client_1.expectInt32,
2677
+ 'politicalView': smithy_client_1.expectString,
2678
+ 'preferredLanguages': smithy_client_1._json,
2679
+ 'recentlyActiveDays': smithy_client_1.expectInt32,
2680
+ 'relationshipType': smithy_client_1.expectString,
2681
+ 'religion': smithy_client_1.expectString,
2682
+ 'requireBio': smithy_client_1.expectBoolean,
2683
+ 'requirePhoto': smithy_client_1.expectBoolean,
2684
+ 'requireRecentlyActive': smithy_client_1.expectBoolean,
2685
+ 'smoking': smithy_client_1.expectString,
2686
+ 'starSigns': smithy_client_1._json,
2687
+ 'userId': smithy_client_1.expectString,
2688
+ 'verifiedOnly': smithy_client_1.expectBoolean,
2689
+ 'wantsKids': smithy_client_1.expectString,
1427
2690
  });
1428
2691
  Object.assign(contents, doc);
1429
2692
  return contents;
1430
2693
  };
1431
- exports.de_GetAdminPhoneStatusCommand = de_GetAdminPhoneStatusCommand;
1432
- const de_GetCredentialReadinessCommand = async (output, context) => {
2694
+ exports.de_GetPreferencesCommand = de_GetPreferencesCommand;
2695
+ const de_GetReceivedLikesCommand = async (output, context) => {
1433
2696
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1434
2697
  return de_CommandError(output, context);
1435
2698
  }
@@ -1438,14 +2701,15 @@ const de_GetCredentialReadinessCommand = async (output, context) => {
1438
2701
  });
1439
2702
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1440
2703
  const doc = (0, smithy_client_1.take)(data, {
1441
- 'gaps': smithy_client_1._json,
1442
- 'ready': smithy_client_1.expectBoolean,
2704
+ 'count': smithy_client_1.expectInt32,
2705
+ 'likes': smithy_client_1._json,
2706
+ 'viewPass': smithy_client_1.expectString,
1443
2707
  });
1444
2708
  Object.assign(contents, doc);
1445
2709
  return contents;
1446
2710
  };
1447
- exports.de_GetCredentialReadinessCommand = de_GetCredentialReadinessCommand;
1448
- const de_GetPreservationHoldCommand = async (output, context) => {
2711
+ exports.de_GetReceivedLikesCommand = de_GetReceivedLikesCommand;
2712
+ const de_GetRosesCommand = async (output, context) => {
1449
2713
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1450
2714
  return de_CommandError(output, context);
1451
2715
  }
@@ -1454,20 +2718,15 @@ const de_GetPreservationHoldCommand = async (output, context) => {
1454
2718
  });
1455
2719
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1456
2720
  const doc = (0, smithy_client_1.take)(data, {
1457
- 'active': smithy_client_1.expectBoolean,
1458
- 'caseRef': smithy_client_1.expectString,
1459
- 'childSafetySince': smithy_client_1.expectLong,
1460
- 'reasonCode': smithy_client_1.expectString,
1461
- 'setAt': smithy_client_1.expectLong,
1462
- 'setBy': smithy_client_1.expectString,
1463
- 'until': smithy_client_1.expectLong,
1464
- 'version': smithy_client_1.expectInt32,
2721
+ 'limit': smithy_client_1.expectInt32,
2722
+ 'remaining': smithy_client_1.expectInt32,
2723
+ 'resetsAt': smithy_client_1.expectString,
1465
2724
  });
1466
2725
  Object.assign(contents, doc);
1467
2726
  return contents;
1468
2727
  };
1469
- exports.de_GetPreservationHoldCommand = de_GetPreservationHoldCommand;
1470
- const de_GetUserCommand = async (output, context) => {
2728
+ exports.de_GetRosesCommand = de_GetRosesCommand;
2729
+ const de_GetSuggestionsCommand = async (output, context) => {
1471
2730
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1472
2731
  return de_CommandError(output, context);
1473
2732
  }
@@ -1476,22 +2735,14 @@ const de_GetUserCommand = async (output, context) => {
1476
2735
  });
1477
2736
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1478
2737
  const doc = (0, smithy_client_1.take)(data, {
1479
- 'appleEmail': smithy_client_1.expectString,
1480
- 'appleId': smithy_client_1.expectString,
1481
- 'displayName': smithy_client_1.expectString,
1482
- 'email': smithy_client_1.expectString,
1483
- 'googleEmail': smithy_client_1.expectString,
1484
- 'googleId': smithy_client_1.expectString,
1485
- 'phoneNumber': smithy_client_1.expectString,
1486
- 'userId': smithy_client_1.expectString,
1487
- 'userState': smithy_client_1.expectString,
1488
- 'username': smithy_client_1.expectString,
2738
+ 'oneHook': smithy_client_1._json,
2739
+ 'own': smithy_client_1._json,
1489
2740
  });
1490
2741
  Object.assign(contents, doc);
1491
2742
  return contents;
1492
2743
  };
1493
- exports.de_GetUserCommand = de_GetUserCommand;
1494
- const de_GetUserByEmailCommand = async (output, context) => {
2744
+ exports.de_GetSuggestionsCommand = de_GetSuggestionsCommand;
2745
+ const de_GetTraditionPreferencesCommand = async (output, context) => {
1495
2746
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1496
2747
  return de_CommandError(output, context);
1497
2748
  }
@@ -1500,22 +2751,13 @@ const de_GetUserByEmailCommand = async (output, context) => {
1500
2751
  });
1501
2752
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1502
2753
  const doc = (0, smithy_client_1.take)(data, {
1503
- 'appleEmail': smithy_client_1.expectString,
1504
- 'appleId': smithy_client_1.expectString,
1505
- 'displayName': smithy_client_1.expectString,
1506
- 'email': smithy_client_1.expectString,
1507
- 'googleEmail': smithy_client_1.expectString,
1508
- 'googleId': smithy_client_1.expectString,
1509
- 'phoneNumber': smithy_client_1.expectString,
1510
- 'userId': smithy_client_1.expectString,
1511
- 'userState': smithy_client_1.expectString,
1512
- 'username': smithy_client_1.expectString,
2754
+ 'traditions': smithy_client_1._json,
1513
2755
  });
1514
2756
  Object.assign(contents, doc);
1515
2757
  return contents;
1516
2758
  };
1517
- exports.de_GetUserByEmailCommand = de_GetUserByEmailCommand;
1518
- const de_GetUserIdByUsernameCommand = async (output, context) => {
2759
+ exports.de_GetTraditionPreferencesCommand = de_GetTraditionPreferencesCommand;
2760
+ const de_IndexLocationCommand = async (output, context) => {
1519
2761
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1520
2762
  return de_CommandError(output, context);
1521
2763
  }
@@ -1524,13 +2766,13 @@ const de_GetUserIdByUsernameCommand = async (output, context) => {
1524
2766
  });
1525
2767
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1526
2768
  const doc = (0, smithy_client_1.take)(data, {
1527
- 'userId': smithy_client_1.expectString,
2769
+ 'status': smithy_client_1.expectString,
1528
2770
  });
1529
2771
  Object.assign(contents, doc);
1530
2772
  return contents;
1531
2773
  };
1532
- exports.de_GetUserIdByUsernameCommand = de_GetUserIdByUsernameCommand;
1533
- const de_LinkEmailCommand = async (output, context) => {
2774
+ exports.de_IndexLocationCommand = de_IndexLocationCommand;
2775
+ const de_IssueViewPassesCommand = async (output, context) => {
1534
2776
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1535
2777
  return de_CommandError(output, context);
1536
2778
  }
@@ -1539,14 +2781,15 @@ const de_LinkEmailCommand = async (output, context) => {
1539
2781
  });
1540
2782
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1541
2783
  const doc = (0, smithy_client_1.take)(data, {
1542
- 'status': smithy_client_1.expectString,
2784
+ 'targetIds': smithy_client_1._json,
2785
+ 'viewPass': smithy_client_1.expectString,
1543
2786
  });
1544
2787
  Object.assign(contents, doc);
1545
2788
  return contents;
1546
2789
  };
1547
- exports.de_LinkEmailCommand = de_LinkEmailCommand;
1548
- const de_LinkSocialCommand = async (output, context) => {
1549
- if (output.statusCode !== 200 && output.statusCode >= 300) {
2790
+ exports.de_IssueViewPassesCommand = de_IssueViewPassesCommand;
2791
+ const de_RecordSuggestionCommand = async (output, context) => {
2792
+ if (output.statusCode !== 201 && output.statusCode >= 300) {
1550
2793
  return de_CommandError(output, context);
1551
2794
  }
1552
2795
  const contents = (0, smithy_client_1.map)({
@@ -1554,14 +2797,14 @@ const de_LinkSocialCommand = async (output, context) => {
1554
2797
  });
1555
2798
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1556
2799
  const doc = (0, smithy_client_1.take)(data, {
1557
- 'status': smithy_client_1.expectString,
2800
+ 'suggestionId': smithy_client_1.expectString,
1558
2801
  });
1559
2802
  Object.assign(contents, doc);
1560
2803
  return contents;
1561
2804
  };
1562
- exports.de_LinkSocialCommand = de_LinkSocialCommand;
1563
- const de_RegisterPhoneCommand = async (output, context) => {
1564
- if (output.statusCode !== 200 && output.statusCode >= 300) {
2805
+ exports.de_RecordSuggestionCommand = de_RecordSuggestionCommand;
2806
+ const de_RecordSuggestionInternalCommand = async (output, context) => {
2807
+ if (output.statusCode !== 201 && output.statusCode >= 300) {
1565
2808
  return de_CommandError(output, context);
1566
2809
  }
1567
2810
  const contents = (0, smithy_client_1.map)({
@@ -1569,14 +2812,13 @@ const de_RegisterPhoneCommand = async (output, context) => {
1569
2812
  });
1570
2813
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1571
2814
  const doc = (0, smithy_client_1.take)(data, {
1572
- 'status': smithy_client_1.expectString,
1573
- 'userId': smithy_client_1.expectString,
2815
+ 'suggestionId': smithy_client_1.expectString,
1574
2816
  });
1575
2817
  Object.assign(contents, doc);
1576
2818
  return contents;
1577
2819
  };
1578
- exports.de_RegisterPhoneCommand = de_RegisterPhoneCommand;
1579
- const de_RequestEmailOtpCommand = async (output, context) => {
2820
+ exports.de_RecordSuggestionInternalCommand = de_RecordSuggestionInternalCommand;
2821
+ const de_RemoveLocationCommand = async (output, context) => {
1580
2822
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1581
2823
  return de_CommandError(output, context);
1582
2824
  }
@@ -1590,23 +2832,30 @@ const de_RequestEmailOtpCommand = async (output, context) => {
1590
2832
  Object.assign(contents, doc);
1591
2833
  return contents;
1592
2834
  };
1593
- exports.de_RequestEmailOtpCommand = de_RequestEmailOtpCommand;
1594
- const de_RequestPhoneOtpCommand = async (output, context) => {
1595
- if (output.statusCode !== 200 && output.statusCode >= 300) {
2835
+ exports.de_RemoveLocationCommand = de_RemoveLocationCommand;
2836
+ const de_RemoveOneHookSuggestionCommand = async (output, context) => {
2837
+ if (output.statusCode !== 204 && output.statusCode >= 300) {
1596
2838
  return de_CommandError(output, context);
1597
2839
  }
1598
2840
  const contents = (0, smithy_client_1.map)({
1599
2841
  $metadata: deserializeMetadata(output),
1600
2842
  });
1601
- const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1602
- const doc = (0, smithy_client_1.take)(data, {
1603
- 'status': smithy_client_1.expectString,
2843
+ await (0, smithy_client_1.collectBody)(output.body, context);
2844
+ return contents;
2845
+ };
2846
+ exports.de_RemoveOneHookSuggestionCommand = de_RemoveOneHookSuggestionCommand;
2847
+ const de_RemoveSuggestionCommand = async (output, context) => {
2848
+ if (output.statusCode !== 204 && output.statusCode >= 300) {
2849
+ return de_CommandError(output, context);
2850
+ }
2851
+ const contents = (0, smithy_client_1.map)({
2852
+ $metadata: deserializeMetadata(output),
1604
2853
  });
1605
- Object.assign(contents, doc);
2854
+ await (0, smithy_client_1.collectBody)(output.body, context);
1606
2855
  return contents;
1607
2856
  };
1608
- exports.de_RequestPhoneOtpCommand = de_RequestPhoneOtpCommand;
1609
- const de_RequestPhoneUpdateOtpCommand = async (output, context) => {
2857
+ exports.de_RemoveSuggestionCommand = de_RemoveSuggestionCommand;
2858
+ const de_SwipeCommand = async (output, context) => {
1610
2859
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1611
2860
  return de_CommandError(output, context);
1612
2861
  }
@@ -1615,13 +2864,15 @@ const de_RequestPhoneUpdateOtpCommand = async (output, context) => {
1615
2864
  });
1616
2865
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1617
2866
  const doc = (0, smithy_client_1.take)(data, {
2867
+ 'matchId': smithy_client_1.expectString,
2868
+ 'matched': smithy_client_1.expectBoolean,
1618
2869
  'status': smithy_client_1.expectString,
1619
2870
  });
1620
2871
  Object.assign(contents, doc);
1621
2872
  return contents;
1622
2873
  };
1623
- exports.de_RequestPhoneUpdateOtpCommand = de_RequestPhoneUpdateOtpCommand;
1624
- const de_RevokeUserAccessCommand = async (output, context) => {
2874
+ exports.de_SwipeCommand = de_SwipeCommand;
2875
+ const de_UpdatePreferencesCommand = async (output, context) => {
1625
2876
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1626
2877
  return de_CommandError(output, context);
1627
2878
  }
@@ -1630,13 +2881,45 @@ const de_RevokeUserAccessCommand = async (output, context) => {
1630
2881
  });
1631
2882
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1632
2883
  const doc = (0, smithy_client_1.take)(data, {
1633
- 'status': smithy_client_1.expectString,
2884
+ 'cannabis': smithy_client_1.expectString,
2885
+ 'currentSuggestion': smithy_client_1._json,
2886
+ 'dealbreakers': smithy_client_1._json,
2887
+ 'discoverable': smithy_client_1.expectBoolean,
2888
+ 'distanceUnit': smithy_client_1.expectString,
2889
+ 'drinking': smithy_client_1.expectString,
2890
+ 'drugs': smithy_client_1.expectString,
2891
+ 'educationLevel': smithy_client_1.expectString,
2892
+ 'exercise': smithy_client_1.expectString,
2893
+ 'familyPlans': smithy_client_1.expectString,
2894
+ 'hidePastHooks': smithy_client_1.expectBoolean,
2895
+ 'implicitPreferences': smithy_client_1._json,
2896
+ 'incognito': smithy_client_1.expectBoolean,
2897
+ 'interestedInGenders': smithy_client_1._json,
2898
+ 'interests': smithy_client_1._json,
2899
+ 'maxAge': smithy_client_1.expectInt32,
2900
+ 'maxDistanceKm': smithy_client_1.expectInt32,
2901
+ 'maxHeight': smithy_client_1.expectInt32,
2902
+ 'minAge': smithy_client_1.expectInt32,
2903
+ 'minHeight': smithy_client_1.expectInt32,
2904
+ 'politicalView': smithy_client_1.expectString,
2905
+ 'preferredLanguages': smithy_client_1._json,
2906
+ 'recentlyActiveDays': smithy_client_1.expectInt32,
2907
+ 'relationshipType': smithy_client_1.expectString,
2908
+ 'religion': smithy_client_1.expectString,
2909
+ 'requireBio': smithy_client_1.expectBoolean,
2910
+ 'requirePhoto': smithy_client_1.expectBoolean,
2911
+ 'requireRecentlyActive': smithy_client_1.expectBoolean,
2912
+ 'smoking': smithy_client_1.expectString,
2913
+ 'starSigns': smithy_client_1._json,
2914
+ 'userId': smithy_client_1.expectString,
2915
+ 'verifiedOnly': smithy_client_1.expectBoolean,
2916
+ 'wantsKids': smithy_client_1.expectString,
1634
2917
  });
1635
2918
  Object.assign(contents, doc);
1636
2919
  return contents;
1637
2920
  };
1638
- exports.de_RevokeUserAccessCommand = de_RevokeUserAccessCommand;
1639
- const de_SendAdminLinkOtpCommand = async (output, context) => {
2921
+ exports.de_UpdatePreferencesCommand = de_UpdatePreferencesCommand;
2922
+ const de_UpdateTraditionPreferencesCommand = async (output, context) => {
1640
2923
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1641
2924
  return de_CommandError(output, context);
1642
2925
  }
@@ -1645,14 +2928,13 @@ const de_SendAdminLinkOtpCommand = async (output, context) => {
1645
2928
  });
1646
2929
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1647
2930
  const doc = (0, smithy_client_1.take)(data, {
1648
- 'maskedPhone': smithy_client_1.expectString,
1649
- 'status': smithy_client_1.expectString,
2931
+ 'traditions': smithy_client_1._json,
1650
2932
  });
1651
2933
  Object.assign(contents, doc);
1652
2934
  return contents;
1653
2935
  };
1654
- exports.de_SendAdminLinkOtpCommand = de_SendAdminLinkOtpCommand;
1655
- const de_SetAccountStateCommand = async (output, context) => {
2936
+ exports.de_UpdateTraditionPreferencesCommand = de_UpdateTraditionPreferencesCommand;
2937
+ const de_CompleteLivenessSessionCommand = async (output, context) => {
1656
2938
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1657
2939
  return de_CommandError(output, context);
1658
2940
  }
@@ -1661,15 +2943,13 @@ const de_SetAccountStateCommand = async (output, context) => {
1661
2943
  });
1662
2944
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1663
2945
  const doc = (0, smithy_client_1.take)(data, {
1664
- 'state': smithy_client_1.expectString,
1665
- 'until': smithy_client_1.expectLong,
1666
- 'version': smithy_client_1.expectInt32,
2946
+ 'status': smithy_client_1.expectString,
1667
2947
  });
1668
2948
  Object.assign(contents, doc);
1669
2949
  return contents;
1670
2950
  };
1671
- exports.de_SetAccountStateCommand = de_SetAccountStateCommand;
1672
- const de_SetPreservationHoldCommand = async (output, context) => {
2951
+ exports.de_CompleteLivenessSessionCommand = de_CompleteLivenessSessionCommand;
2952
+ const de_CorrectBirthDateCommand = async (output, context) => {
1673
2953
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1674
2954
  return de_CommandError(output, context);
1675
2955
  }
@@ -1678,16 +2958,17 @@ const de_SetPreservationHoldCommand = async (output, context) => {
1678
2958
  });
1679
2959
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1680
2960
  const doc = (0, smithy_client_1.take)(data, {
1681
- 'active': smithy_client_1.expectBoolean,
1682
- 'reasonCode': smithy_client_1.expectString,
1683
- 'until': smithy_client_1.expectLong,
1684
- 'version': smithy_client_1.expectInt32,
2961
+ 'age': smithy_client_1.expectInt32,
2962
+ 'correctionsRemaining': smithy_client_1.expectInt32,
2963
+ 'correctionsUsed': smithy_client_1.expectInt32,
2964
+ 'date': smithy_client_1.expectString,
2965
+ 'userId': smithy_client_1.expectString,
1685
2966
  });
1686
2967
  Object.assign(contents, doc);
1687
2968
  return contents;
1688
2969
  };
1689
- exports.de_SetPreservationHoldCommand = de_SetPreservationHoldCommand;
1690
- const de_UnlinkSocialCommand = async (output, context) => {
2970
+ exports.de_CorrectBirthDateCommand = de_CorrectBirthDateCommand;
2971
+ const de_CreateLivenessSessionCommand = async (output, context) => {
1691
2972
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1692
2973
  return de_CommandError(output, context);
1693
2974
  }
@@ -1696,14 +2977,14 @@ const de_UnlinkSocialCommand = async (output, context) => {
1696
2977
  });
1697
2978
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1698
2979
  const doc = (0, smithy_client_1.take)(data, {
1699
- 'status': smithy_client_1.expectString,
2980
+ 'sessionId': smithy_client_1.expectString,
1700
2981
  });
1701
2982
  Object.assign(contents, doc);
1702
2983
  return contents;
1703
2984
  };
1704
- exports.de_UnlinkSocialCommand = de_UnlinkSocialCommand;
1705
- const de_UpdateEntitlementsCommand = async (output, context) => {
1706
- if (output.statusCode !== 200 && output.statusCode >= 300) {
2985
+ exports.de_CreateLivenessSessionCommand = de_CreateLivenessSessionCommand;
2986
+ const de_DeleteProfileCommand = async (output, context) => {
2987
+ if (output.statusCode !== 202 && output.statusCode >= 300) {
1707
2988
  return de_CommandError(output, context);
1708
2989
  }
1709
2990
  const contents = (0, smithy_client_1.map)({
@@ -1712,13 +2993,12 @@ const de_UpdateEntitlementsCommand = async (output, context) => {
1712
2993
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1713
2994
  const doc = (0, smithy_client_1.take)(data, {
1714
2995
  'status': smithy_client_1.expectString,
1715
- 'subscriptionTier': smithy_client_1.expectString,
1716
2996
  });
1717
2997
  Object.assign(contents, doc);
1718
2998
  return contents;
1719
2999
  };
1720
- exports.de_UpdateEntitlementsCommand = de_UpdateEntitlementsCommand;
1721
- const de_UpdatePhoneNumberCommand = async (output, context) => {
3000
+ exports.de_DeleteProfileCommand = de_DeleteProfileCommand;
3001
+ const de_GenerateDownloadUrlCommand = async (output, context) => {
1722
3002
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1723
3003
  return de_CommandError(output, context);
1724
3004
  }
@@ -1727,14 +3007,14 @@ const de_UpdatePhoneNumberCommand = async (output, context) => {
1727
3007
  });
1728
3008
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1729
3009
  const doc = (0, smithy_client_1.take)(data, {
1730
- 'phoneNumber': smithy_client_1.expectString,
1731
- 'status': smithy_client_1.expectString,
3010
+ 'downloadUrl': smithy_client_1.expectString,
3011
+ 'expiresInSeconds': smithy_client_1.expectInt32,
1732
3012
  });
1733
3013
  Object.assign(contents, doc);
1734
3014
  return contents;
1735
3015
  };
1736
- exports.de_UpdatePhoneNumberCommand = de_UpdatePhoneNumberCommand;
1737
- const de_UpdateUsernameCommand = async (output, context) => {
3016
+ exports.de_GenerateDownloadUrlCommand = de_GenerateDownloadUrlCommand;
3017
+ const de_GenerateUploadUrlCommand = async (output, context) => {
1738
3018
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1739
3019
  return de_CommandError(output, context);
1740
3020
  }
@@ -1743,14 +3023,15 @@ const de_UpdateUsernameCommand = async (output, context) => {
1743
3023
  });
1744
3024
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1745
3025
  const doc = (0, smithy_client_1.take)(data, {
1746
- 'status': smithy_client_1.expectString,
1747
- 'username': smithy_client_1.expectString,
3026
+ 'formData': smithy_client_1._json,
3027
+ 'objectKey': smithy_client_1.expectString,
3028
+ 'uploadUrl': smithy_client_1.expectString,
1748
3029
  });
1749
3030
  Object.assign(contents, doc);
1750
3031
  return contents;
1751
3032
  };
1752
- exports.de_UpdateUsernameCommand = de_UpdateUsernameCommand;
1753
- const de_ValidateInviteCommand = async (output, context) => {
3033
+ exports.de_GenerateUploadUrlCommand = de_GenerateUploadUrlCommand;
3034
+ const de_GetBirthDateStatusCommand = async (output, context) => {
1754
3035
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1755
3036
  return de_CommandError(output, context);
1756
3037
  }
@@ -1759,16 +3040,23 @@ const de_ValidateInviteCommand = async (output, context) => {
1759
3040
  });
1760
3041
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1761
3042
  const doc = (0, smithy_client_1.take)(data, {
1762
- 'maxUses': smithy_client_1.expectInt32,
1763
- 'referrerId': smithy_client_1.expectString,
1764
- 'status': smithy_client_1.expectString,
1765
- 'usedCount': smithy_client_1.expectInt32,
3043
+ 'age': smithy_client_1.expectInt32,
3044
+ 'birthDateOnFile': smithy_client_1.expectBoolean,
3045
+ 'correctionsRemaining': smithy_client_1.expectInt32,
3046
+ 'correctionsUsed': smithy_client_1.expectInt32,
3047
+ 'date': smithy_client_1.expectString,
3048
+ 'lastCorrectedAt': smithy_client_1.expectLong,
3049
+ 'lastCorrectedBy': smithy_client_1.expectString,
3050
+ 'lastReason': smithy_client_1.expectString,
3051
+ 'lastReference': smithy_client_1.expectString,
3052
+ 'provisional': smithy_client_1.expectBoolean,
3053
+ 'userId': smithy_client_1.expectString,
1766
3054
  });
1767
3055
  Object.assign(contents, doc);
1768
3056
  return contents;
1769
3057
  };
1770
- exports.de_ValidateInviteCommand = de_ValidateInviteCommand;
1771
- const de_VerifyAdminLinkOtpCommand = async (output, context) => {
3058
+ exports.de_GetBirthDateStatusCommand = de_GetBirthDateStatusCommand;
3059
+ const de_GetChatProfileCommand = async (output, context) => {
1772
3060
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1773
3061
  return de_CommandError(output, context);
1774
3062
  }
@@ -1777,15 +3065,20 @@ const de_VerifyAdminLinkOtpCommand = async (output, context) => {
1777
3065
  });
1778
3066
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1779
3067
  const doc = (0, smithy_client_1.take)(data, {
3068
+ 'age': smithy_client_1.expectInt32,
3069
+ 'avatarKey': smithy_client_1.expectString,
3070
+ 'birthDateOnFile': smithy_client_1.expectBoolean,
3071
+ 'birthDetails': _ => de_BirthDetails(_, context),
3072
+ 'displayName': smithy_client_1.expectString,
3073
+ 'fieldModerationStatus': smithy_client_1._json,
3074
+ 'moderationStatus': smithy_client_1.expectString,
1780
3075
  'userId': smithy_client_1.expectString,
1781
- 'username': smithy_client_1.expectString,
1782
- 'verified': smithy_client_1.expectBoolean,
1783
3076
  });
1784
3077
  Object.assign(contents, doc);
1785
3078
  return contents;
1786
3079
  };
1787
- exports.de_VerifyAdminLinkOtpCommand = de_VerifyAdminLinkOtpCommand;
1788
- const de_DiscoverCommand = async (output, context) => {
3080
+ exports.de_GetChatProfileCommand = de_GetChatProfileCommand;
3081
+ const de_GetInternalProfileCommand = async (output, context) => {
1789
3082
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1790
3083
  return de_CommandError(output, context);
1791
3084
  }
@@ -1794,17 +3087,53 @@ const de_DiscoverCommand = async (output, context) => {
1794
3087
  });
1795
3088
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1796
3089
  const doc = (0, smithy_client_1.take)(data, {
1797
- 'algorithm': smithy_client_1.expectString,
1798
- 'availableCategories': smithy_client_1._json,
1799
- 'candidates': _ => de_CandidateList(_, context),
1800
- 'category': smithy_client_1.expectString,
1801
- 'count': smithy_client_1.expectInt32,
3090
+ 'age': smithy_client_1.expectInt32,
3091
+ 'audioPrompt': smithy_client_1.expectString,
3092
+ 'bio': smithy_client_1.expectString,
3093
+ 'birthDateOnFile': smithy_client_1.expectBoolean,
3094
+ 'cannabisStatus': smithy_client_1.expectString,
3095
+ 'causes': smithy_client_1._json,
3096
+ 'communities': smithy_client_1._json,
3097
+ 'currentLocation': smithy_client_1.expectString,
3098
+ 'displayName': smithy_client_1.expectString,
3099
+ 'drinkingStatus': smithy_client_1.expectString,
3100
+ 'drugsStatus': smithy_client_1.expectString,
3101
+ 'education': smithy_client_1.expectString,
3102
+ 'educationLevel': smithy_client_1.expectString,
3103
+ 'exercise': smithy_client_1.expectString,
3104
+ 'familyPlans': smithy_client_1.expectString,
3105
+ 'fieldModerationStatus': smithy_client_1._json,
3106
+ 'gender': smithy_client_1.expectString,
3107
+ 'height': smithy_client_1.expectInt32,
3108
+ 'hometown': smithy_client_1.expectString,
3109
+ 'interestedIn': smithy_client_1._json,
3110
+ 'interests': smithy_client_1._json,
3111
+ 'languages': smithy_client_1._json,
3112
+ 'matchingStatus': smithy_client_1.expectString,
3113
+ 'moderationStatus': smithy_client_1.expectString,
3114
+ 'openers': smithy_client_1._json,
3115
+ 'pictureTransforms': smithy_client_1._json,
3116
+ 'pictures': smithy_client_1._json,
3117
+ 'politicalView': smithy_client_1.expectString,
3118
+ 'prompts': smithy_client_1._json,
3119
+ 'qualities': smithy_client_1._json,
3120
+ 'relationshipType': smithy_client_1.expectString,
3121
+ 'religion': smithy_client_1.expectString,
3122
+ 'smokingStatus': smithy_client_1.expectString,
3123
+ 'socialLinks': smithy_client_1._json,
3124
+ 'starSign': smithy_client_1.expectString,
3125
+ 'subscriptionTier': smithy_client_1.expectString,
3126
+ 'userId': smithy_client_1.expectString,
3127
+ 'verified': smithy_client_1.expectBoolean,
3128
+ 'videos': smithy_client_1._json,
3129
+ 'wantsKids': smithy_client_1.expectString,
3130
+ 'work': smithy_client_1.expectString,
1802
3131
  });
1803
3132
  Object.assign(contents, doc);
1804
3133
  return contents;
1805
3134
  };
1806
- exports.de_DiscoverCommand = de_DiscoverCommand;
1807
- const de_GetNotificationPreferencesCommand = async (output, context) => {
3135
+ exports.de_GetInternalProfileCommand = de_GetInternalProfileCommand;
3136
+ const de_GetLivenessStatusCommand = async (output, context) => {
1808
3137
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1809
3138
  return de_CommandError(output, context);
1810
3139
  }
@@ -1813,16 +3142,13 @@ const de_GetNotificationPreferencesCommand = async (output, context) => {
1813
3142
  });
1814
3143
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1815
3144
  const doc = (0, smithy_client_1.take)(data, {
1816
- 'notifyDailyPicks': smithy_client_1.expectBoolean,
1817
- 'notifyLikes': smithy_client_1.expectBoolean,
1818
- 'notifyMatches': smithy_client_1.expectBoolean,
1819
- 'userId': smithy_client_1.expectString,
3145
+ 'status': smithy_client_1.expectString,
1820
3146
  });
1821
3147
  Object.assign(contents, doc);
1822
3148
  return contents;
1823
3149
  };
1824
- exports.de_GetNotificationPreferencesCommand = de_GetNotificationPreferencesCommand;
1825
- const de_GetPreferencesCommand = async (output, context) => {
3150
+ exports.de_GetLivenessStatusCommand = de_GetLivenessStatusCommand;
3151
+ const de_GetMatchingProfileCommand = async (output, context) => {
1826
3152
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1827
3153
  return de_CommandError(output, context);
1828
3154
  }
@@ -1831,46 +3157,55 @@ const de_GetPreferencesCommand = async (output, context) => {
1831
3157
  });
1832
3158
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1833
3159
  const doc = (0, smithy_client_1.take)(data, {
1834
- 'cannabis': smithy_client_1.expectString,
1835
- 'currentSuggestion': smithy_client_1._json,
1836
- 'dealbreakers': smithy_client_1._json,
1837
- 'discoverable': smithy_client_1.expectBoolean,
1838
- 'distanceUnit': smithy_client_1.expectString,
1839
- 'drinking': smithy_client_1.expectString,
1840
- 'drugs': smithy_client_1.expectString,
3160
+ 'age': smithy_client_1.expectInt32,
3161
+ 'audioPrompt': smithy_client_1.expectString,
3162
+ 'bio': smithy_client_1.expectString,
3163
+ 'cannabisStatus': smithy_client_1.expectString,
3164
+ 'causes': smithy_client_1._json,
3165
+ 'communities': smithy_client_1._json,
3166
+ 'currentLocation': smithy_client_1.expectString,
3167
+ 'displayName': smithy_client_1.expectString,
3168
+ 'draftExpiresAt': smithy_client_1.expectLong,
3169
+ 'drinkingStatus': smithy_client_1.expectString,
3170
+ 'drugsStatus': smithy_client_1.expectString,
3171
+ 'education': smithy_client_1.expectString,
1841
3172
  'educationLevel': smithy_client_1.expectString,
1842
3173
  'exercise': smithy_client_1.expectString,
1843
3174
  'familyPlans': smithy_client_1.expectString,
1844
- 'incognito': smithy_client_1.expectBoolean,
1845
- 'interestedInGenders': smithy_client_1._json,
3175
+ 'fieldModerationStatus': smithy_client_1._json,
3176
+ 'gender': smithy_client_1.expectString,
3177
+ 'generation': smithy_client_1.expectLong,
3178
+ 'height': smithy_client_1.expectInt32,
3179
+ 'hometown': smithy_client_1.expectString,
3180
+ 'interestedIn': smithy_client_1._json,
1846
3181
  'interests': smithy_client_1._json,
1847
- 'maxAge': smithy_client_1.expectInt32,
1848
- 'maxDistanceKm': smithy_client_1.expectInt32,
1849
- 'maxHeight': smithy_client_1.expectInt32,
1850
- 'minAge': smithy_client_1.expectInt32,
1851
- 'minHeight': smithy_client_1.expectInt32,
1852
- 'notifyDailyPicks': smithy_client_1.expectBoolean,
1853
- 'notifyLikes': smithy_client_1.expectBoolean,
1854
- 'notifyMatches': smithy_client_1.expectBoolean,
3182
+ 'languages': smithy_client_1._json,
3183
+ 'lastEditedAt': smithy_client_1.expectLong,
3184
+ 'moderationStatus': smithy_client_1.expectString,
3185
+ 'openers': smithy_client_1._json,
3186
+ 'pictureTransforms': smithy_client_1._json,
3187
+ 'pictures': smithy_client_1._json,
1855
3188
  'politicalView': smithy_client_1.expectString,
1856
- 'preferredLanguages': smithy_client_1._json,
1857
- 'recentlyActiveDays': smithy_client_1.expectInt32,
3189
+ 'prompts': smithy_client_1._json,
3190
+ 'qualities': smithy_client_1._json,
1858
3191
  'relationshipType': smithy_client_1.expectString,
1859
3192
  'religion': smithy_client_1.expectString,
1860
- 'requireBio': smithy_client_1.expectBoolean,
1861
- 'requirePhoto': smithy_client_1.expectBoolean,
1862
- 'requireRecentlyActive': smithy_client_1.expectBoolean,
1863
- 'smoking': smithy_client_1.expectString,
1864
- 'starSigns': smithy_client_1._json,
3193
+ 'smokingStatus': smithy_client_1.expectString,
3194
+ 'socialLinks': smithy_client_1._json,
3195
+ 'starSign': smithy_client_1.expectString,
3196
+ 'status': smithy_client_1.expectString,
3197
+ 'subscriptionTier': smithy_client_1.expectString,
1865
3198
  'userId': smithy_client_1.expectString,
1866
- 'verifiedOnly': smithy_client_1.expectBoolean,
3199
+ 'verified': smithy_client_1.expectBoolean,
3200
+ 'videos': smithy_client_1._json,
1867
3201
  'wantsKids': smithy_client_1.expectString,
3202
+ 'work': smithy_client_1.expectString,
1868
3203
  });
1869
3204
  Object.assign(contents, doc);
1870
3205
  return contents;
1871
3206
  };
1872
- exports.de_GetPreferencesCommand = de_GetPreferencesCommand;
1873
- const de_GetReceivedLikesCommand = async (output, context) => {
3207
+ exports.de_GetMatchingProfileCommand = de_GetMatchingProfileCommand;
3208
+ const de_GetMatchingReadinessCommand = async (output, context) => {
1874
3209
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1875
3210
  return de_CommandError(output, context);
1876
3211
  }
@@ -1879,14 +3214,14 @@ const de_GetReceivedLikesCommand = async (output, context) => {
1879
3214
  });
1880
3215
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1881
3216
  const doc = (0, smithy_client_1.take)(data, {
1882
- 'count': smithy_client_1.expectInt32,
1883
- 'likes': smithy_client_1._json,
3217
+ 'gaps': smithy_client_1._json,
3218
+ 'ready': smithy_client_1.expectBoolean,
1884
3219
  });
1885
3220
  Object.assign(contents, doc);
1886
3221
  return contents;
1887
3222
  };
1888
- exports.de_GetReceivedLikesCommand = de_GetReceivedLikesCommand;
1889
- const de_GetRosesCommand = async (output, context) => {
3223
+ exports.de_GetMatchingReadinessCommand = de_GetMatchingReadinessCommand;
3224
+ const de_GetMyProfileCommand = async (output, context) => {
1890
3225
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1891
3226
  return de_CommandError(output, context);
1892
3227
  }
@@ -1895,15 +3230,14 @@ const de_GetRosesCommand = async (output, context) => {
1895
3230
  });
1896
3231
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1897
3232
  const doc = (0, smithy_client_1.take)(data, {
1898
- 'limit': smithy_client_1.expectInt32,
1899
- 'remaining': smithy_client_1.expectInt32,
1900
- 'resetsAt': smithy_client_1.expectString,
3233
+ 'chat': _ => de_ChatProfile(_, context),
3234
+ 'matching': smithy_client_1._json,
1901
3235
  });
1902
3236
  Object.assign(contents, doc);
1903
3237
  return contents;
1904
3238
  };
1905
- exports.de_GetRosesCommand = de_GetRosesCommand;
1906
- const de_GetSuggestionsCommand = async (output, context) => {
3239
+ exports.de_GetMyProfileCommand = de_GetMyProfileCommand;
3240
+ const de_GetPlaceCommand = async (output, context) => {
1907
3241
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1908
3242
  return de_CommandError(output, context);
1909
3243
  }
@@ -1912,15 +3246,18 @@ const de_GetSuggestionsCommand = async (output, context) => {
1912
3246
  });
1913
3247
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1914
3248
  const doc = (0, smithy_client_1.take)(data, {
1915
- 'oneHook': smithy_client_1._json,
1916
- 'own': smithy_client_1._json,
3249
+ 'label': smithy_client_1.expectString,
3250
+ 'latitude': smithy_client_1.limitedParseDouble,
3251
+ 'longitude': smithy_client_1.limitedParseDouble,
3252
+ 'placeId': smithy_client_1.expectString,
3253
+ 'timeZone': smithy_client_1.expectString,
1917
3254
  });
1918
3255
  Object.assign(contents, doc);
1919
3256
  return contents;
1920
3257
  };
1921
- exports.de_GetSuggestionsCommand = de_GetSuggestionsCommand;
1922
- const de_GetTraditionPreferencesCommand = async (output, context) => {
1923
- if (output.statusCode !== 200 && output.statusCode >= 300) {
3258
+ exports.de_GetPlaceCommand = de_GetPlaceCommand;
3259
+ const de_RepublishMatchingProfileCommand = async (output, context) => {
3260
+ if (output.statusCode !== 202 && output.statusCode >= 300) {
1924
3261
  return de_CommandError(output, context);
1925
3262
  }
1926
3263
  const contents = (0, smithy_client_1.map)({
@@ -1928,13 +3265,14 @@ const de_GetTraditionPreferencesCommand = async (output, context) => {
1928
3265
  });
1929
3266
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1930
3267
  const doc = (0, smithy_client_1.take)(data, {
1931
- 'traditions': smithy_client_1._json,
3268
+ 'generation': smithy_client_1.expectLong,
3269
+ 'status': smithy_client_1.expectString,
1932
3270
  });
1933
3271
  Object.assign(contents, doc);
1934
3272
  return contents;
1935
3273
  };
1936
- exports.de_GetTraditionPreferencesCommand = de_GetTraditionPreferencesCommand;
1937
- const de_IndexLocationCommand = async (output, context) => {
3274
+ exports.de_RepublishMatchingProfileCommand = de_RepublishMatchingProfileCommand;
3275
+ const de_SearchPlacesCommand = async (output, context) => {
1938
3276
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1939
3277
  return de_CommandError(output, context);
1940
3278
  }
@@ -1943,14 +3281,14 @@ const de_IndexLocationCommand = async (output, context) => {
1943
3281
  });
1944
3282
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1945
3283
  const doc = (0, smithy_client_1.take)(data, {
1946
- 'status': smithy_client_1.expectString,
3284
+ 'places': smithy_client_1._json,
1947
3285
  });
1948
3286
  Object.assign(contents, doc);
1949
3287
  return contents;
1950
3288
  };
1951
- exports.de_IndexLocationCommand = de_IndexLocationCommand;
1952
- const de_RecordSuggestionCommand = async (output, context) => {
1953
- if (output.statusCode !== 201 && output.statusCode >= 300) {
3289
+ exports.de_SearchPlacesCommand = de_SearchPlacesCommand;
3290
+ const de_UpsertChatProfileCommand = async (output, context) => {
3291
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1954
3292
  return de_CommandError(output, context);
1955
3293
  }
1956
3294
  const contents = (0, smithy_client_1.map)({
@@ -1958,13 +3296,13 @@ const de_RecordSuggestionCommand = async (output, context) => {
1958
3296
  });
1959
3297
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1960
3298
  const doc = (0, smithy_client_1.take)(data, {
1961
- 'suggestionId': smithy_client_1.expectString,
3299
+ 'status': smithy_client_1.expectString,
1962
3300
  });
1963
3301
  Object.assign(contents, doc);
1964
3302
  return contents;
1965
3303
  };
1966
- exports.de_RecordSuggestionCommand = de_RecordSuggestionCommand;
1967
- const de_RemoveLocationCommand = async (output, context) => {
3304
+ exports.de_UpsertChatProfileCommand = de_UpsertChatProfileCommand;
3305
+ const de_UpsertMatchingProfileCommand = async (output, context) => {
1968
3306
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1969
3307
  return de_CommandError(output, context);
1970
3308
  }
@@ -1973,35 +3311,50 @@ const de_RemoveLocationCommand = async (output, context) => {
1973
3311
  });
1974
3312
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1975
3313
  const doc = (0, smithy_client_1.take)(data, {
3314
+ 'draftExpiresAt': smithy_client_1.expectLong,
3315
+ 'lastEditedAt': smithy_client_1.expectLong,
1976
3316
  'status': smithy_client_1.expectString,
1977
3317
  });
1978
3318
  Object.assign(contents, doc);
1979
3319
  return contents;
1980
3320
  };
1981
- exports.de_RemoveLocationCommand = de_RemoveLocationCommand;
1982
- const de_RemoveOneHookSuggestionCommand = async (output, context) => {
1983
- if (output.statusCode !== 204 && output.statusCode >= 300) {
3321
+ exports.de_UpsertMatchingProfileCommand = de_UpsertMatchingProfileCommand;
3322
+ const de_AcceptHookRequestCommand = async (output, context) => {
3323
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1984
3324
  return de_CommandError(output, context);
1985
3325
  }
1986
3326
  const contents = (0, smithy_client_1.map)({
1987
3327
  $metadata: deserializeMetadata(output),
1988
3328
  });
1989
- await (0, smithy_client_1.collectBody)(output.body, context);
3329
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
3330
+ const doc = (0, smithy_client_1.take)(data, {
3331
+ 'matchId': smithy_client_1.expectString,
3332
+ 'peerId': smithy_client_1.expectString,
3333
+ });
3334
+ Object.assign(contents, doc);
1990
3335
  return contents;
1991
3336
  };
1992
- exports.de_RemoveOneHookSuggestionCommand = de_RemoveOneHookSuggestionCommand;
1993
- const de_RemoveSuggestionCommand = async (output, context) => {
1994
- if (output.statusCode !== 204 && output.statusCode >= 300) {
3337
+ exports.de_AcceptHookRequestCommand = de_AcceptHookRequestCommand;
3338
+ const de_BlockUserCommand = async (output, context) => {
3339
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1995
3340
  return de_CommandError(output, context);
1996
3341
  }
1997
3342
  const contents = (0, smithy_client_1.map)({
1998
3343
  $metadata: deserializeMetadata(output),
1999
3344
  });
2000
- await (0, smithy_client_1.collectBody)(output.body, context);
3345
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
3346
+ const doc = (0, smithy_client_1.take)(data, {
3347
+ 'blockedUserId': smithy_client_1.expectString,
3348
+ 'createdAt': smithy_client_1.expectLong,
3349
+ 'details': smithy_client_1.expectString,
3350
+ 'displayName': smithy_client_1.expectString,
3351
+ 'reason': smithy_client_1.expectString,
3352
+ });
3353
+ Object.assign(contents, doc);
2001
3354
  return contents;
2002
3355
  };
2003
- exports.de_RemoveSuggestionCommand = de_RemoveSuggestionCommand;
2004
- const de_SwipeCommand = async (output, context) => {
3356
+ exports.de_BlockUserCommand = de_BlockUserCommand;
3357
+ const de_CancelHookRequestCommand = async (output, context) => {
2005
3358
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2006
3359
  return de_CommandError(output, context);
2007
3360
  }
@@ -2010,15 +3363,13 @@ const de_SwipeCommand = async (output, context) => {
2010
3363
  });
2011
3364
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
2012
3365
  const doc = (0, smithy_client_1.take)(data, {
2013
- 'matchId': smithy_client_1.expectString,
2014
- 'matched': smithy_client_1.expectBoolean,
2015
3366
  'status': smithy_client_1.expectString,
2016
3367
  });
2017
3368
  Object.assign(contents, doc);
2018
3369
  return contents;
2019
3370
  };
2020
- exports.de_SwipeCommand = de_SwipeCommand;
2021
- const de_SwipeByUsernameCommand = async (output, context) => {
3371
+ exports.de_CancelHookRequestCommand = de_CancelHookRequestCommand;
3372
+ const de_ClearTierOverrideCommand = async (output, context) => {
2022
3373
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2023
3374
  return de_CommandError(output, context);
2024
3375
  }
@@ -2027,13 +3378,23 @@ const de_SwipeByUsernameCommand = async (output, context) => {
2027
3378
  });
2028
3379
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
2029
3380
  const doc = (0, smithy_client_1.take)(data, {
2030
- 'status': smithy_client_1.expectString,
3381
+ 'billingTier': smithy_client_1.expectString,
3382
+ 'effectiveTier': smithy_client_1.expectString,
3383
+ 'maxConnections': smithy_client_1.expectInt32,
3384
+ 'overrideActive': smithy_client_1.expectBoolean,
3385
+ 'overrideExpiresAt': smithy_client_1.expectLong,
3386
+ 'overrideHistory': smithy_client_1._json,
3387
+ 'overrideReason': smithy_client_1.expectString,
3388
+ 'overrideSetAt': smithy_client_1.expectLong,
3389
+ 'overrideSetBy': smithy_client_1.expectString,
3390
+ 'overrideTier': smithy_client_1.expectString,
3391
+ 'userId': smithy_client_1.expectString,
2031
3392
  });
2032
3393
  Object.assign(contents, doc);
2033
3394
  return contents;
2034
3395
  };
2035
- exports.de_SwipeByUsernameCommand = de_SwipeByUsernameCommand;
2036
- const de_UpdatePreferencesCommand = async (output, context) => {
3396
+ exports.de_ClearTierOverrideCommand = de_ClearTierOverrideCommand;
3397
+ const de_CompleteOnboardingCommand = async (output, context) => {
2037
3398
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2038
3399
  return de_CommandError(output, context);
2039
3400
  }
@@ -2047,8 +3408,8 @@ const de_UpdatePreferencesCommand = async (output, context) => {
2047
3408
  Object.assign(contents, doc);
2048
3409
  return contents;
2049
3410
  };
2050
- exports.de_UpdatePreferencesCommand = de_UpdatePreferencesCommand;
2051
- const de_UpdateTraditionPreferencesCommand = async (output, context) => {
3411
+ exports.de_CompleteOnboardingCommand = de_CompleteOnboardingCommand;
3412
+ const de_DeclineHookRequestCommand = async (output, context) => {
2052
3413
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2053
3414
  return de_CommandError(output, context);
2054
3415
  }
@@ -2057,14 +3418,14 @@ const de_UpdateTraditionPreferencesCommand = async (output, context) => {
2057
3418
  });
2058
3419
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
2059
3420
  const doc = (0, smithy_client_1.take)(data, {
2060
- 'traditions': smithy_client_1._json,
3421
+ 'status': smithy_client_1.expectString,
2061
3422
  });
2062
3423
  Object.assign(contents, doc);
2063
3424
  return contents;
2064
3425
  };
2065
- exports.de_UpdateTraditionPreferencesCommand = de_UpdateTraditionPreferencesCommand;
2066
- const de_CompleteLivenessSessionCommand = async (output, context) => {
2067
- if (output.statusCode !== 200 && output.statusCode >= 300) {
3426
+ exports.de_DeclineHookRequestCommand = de_DeclineHookRequestCommand;
3427
+ const de_DisableMatchingCommand = async (output, context) => {
3428
+ if (output.statusCode !== 202 && output.statusCode >= 300) {
2068
3429
  return de_CommandError(output, context);
2069
3430
  }
2070
3431
  const contents = (0, smithy_client_1.map)({
@@ -2072,13 +3433,14 @@ const de_CompleteLivenessSessionCommand = async (output, context) => {
2072
3433
  });
2073
3434
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
2074
3435
  const doc = (0, smithy_client_1.take)(data, {
3436
+ 'generation': smithy_client_1.expectLong,
2075
3437
  'status': smithy_client_1.expectString,
2076
3438
  });
2077
3439
  Object.assign(contents, doc);
2078
3440
  return contents;
2079
3441
  };
2080
- exports.de_CompleteLivenessSessionCommand = de_CompleteLivenessSessionCommand;
2081
- const de_CorrectBirthDateCommand = async (output, context) => {
3442
+ exports.de_DisableMatchingCommand = de_DisableMatchingCommand;
3443
+ const de_EnableMatchingCommand = async (output, context) => {
2082
3444
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2083
3445
  return de_CommandError(output, context);
2084
3446
  }
@@ -2087,17 +3449,14 @@ const de_CorrectBirthDateCommand = async (output, context) => {
2087
3449
  });
2088
3450
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
2089
3451
  const doc = (0, smithy_client_1.take)(data, {
2090
- 'age': smithy_client_1.expectInt32,
2091
- 'correctionsRemaining': smithy_client_1.expectInt32,
2092
- 'correctionsUsed': smithy_client_1.expectInt32,
2093
- 'date': smithy_client_1.expectString,
2094
- 'userId': smithy_client_1.expectString,
3452
+ 'generation': smithy_client_1.expectLong,
3453
+ 'status': smithy_client_1.expectString,
2095
3454
  });
2096
3455
  Object.assign(contents, doc);
2097
3456
  return contents;
2098
3457
  };
2099
- exports.de_CorrectBirthDateCommand = de_CorrectBirthDateCommand;
2100
- const de_CreateLivenessSessionCommand = async (output, context) => {
3458
+ exports.de_EnableMatchingCommand = de_EnableMatchingCommand;
3459
+ const de_GetDiscoverySnapshotCommand = async (output, context) => {
2101
3460
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2102
3461
  return de_CommandError(output, context);
2103
3462
  }
@@ -2106,13 +3465,19 @@ const de_CreateLivenessSessionCommand = async (output, context) => {
2106
3465
  });
2107
3466
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
2108
3467
  const doc = (0, smithy_client_1.take)(data, {
2109
- 'sessionId': smithy_client_1.expectString,
3468
+ 'blocks': smithy_client_1._json,
3469
+ 'currentHooks': smithy_client_1._json,
3470
+ 'discoveryPaused': smithy_client_1.expectBoolean,
3471
+ 'matching': smithy_client_1._json,
3472
+ 'pastHooks': smithy_client_1._json,
3473
+ 'stateVersion': smithy_client_1.expectLong,
3474
+ 'userId': smithy_client_1.expectString,
2110
3475
  });
2111
3476
  Object.assign(contents, doc);
2112
3477
  return contents;
2113
3478
  };
2114
- exports.de_CreateLivenessSessionCommand = de_CreateLivenessSessionCommand;
2115
- const de_DeleteProfileCommand = async (output, context) => {
3479
+ exports.de_GetDiscoverySnapshotCommand = de_GetDiscoverySnapshotCommand;
3480
+ const de_GetInternalMatchingStatusCommand = async (output, context) => {
2116
3481
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2117
3482
  return de_CommandError(output, context);
2118
3483
  }
@@ -2121,13 +3486,15 @@ const de_DeleteProfileCommand = async (output, context) => {
2121
3486
  });
2122
3487
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
2123
3488
  const doc = (0, smithy_client_1.take)(data, {
3489
+ 'generation': smithy_client_1.expectLong,
2124
3490
  'status': smithy_client_1.expectString,
3491
+ 'userId': smithy_client_1.expectString,
2125
3492
  });
2126
3493
  Object.assign(contents, doc);
2127
3494
  return contents;
2128
3495
  };
2129
- exports.de_DeleteProfileCommand = de_DeleteProfileCommand;
2130
- const de_GenerateDownloadUrlCommand = async (output, context) => {
3496
+ exports.de_GetInternalMatchingStatusCommand = de_GetInternalMatchingStatusCommand;
3497
+ const de_GetMatchCommand = async (output, context) => {
2131
3498
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2132
3499
  return de_CommandError(output, context);
2133
3500
  }
@@ -2136,14 +3503,25 @@ const de_GenerateDownloadUrlCommand = async (output, context) => {
2136
3503
  });
2137
3504
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
2138
3505
  const doc = (0, smithy_client_1.take)(data, {
2139
- 'downloadUrl': smithy_client_1.expectString,
2140
- 'expiresInSeconds': smithy_client_1.expectInt32,
3506
+ 'createdAt': smithy_client_1.expectLong,
3507
+ 'endReason': smithy_client_1.expectString,
3508
+ 'endedAt': smithy_client_1.expectLong,
3509
+ 'endedBy': smithy_client_1.expectString,
3510
+ 'latestMessageSenderId': smithy_client_1.expectString,
3511
+ 'latestMessageTimestamp': smithy_client_1.expectLong,
3512
+ 'matchId': smithy_client_1.expectString,
3513
+ 'origin': smithy_client_1.expectString,
3514
+ 'status': smithy_client_1.expectString,
3515
+ 'suspended': smithy_client_1.expectBoolean,
3516
+ 'updatedAt': smithy_client_1.expectLong,
3517
+ 'userA': smithy_client_1.expectString,
3518
+ 'userB': smithy_client_1.expectString,
2141
3519
  });
2142
3520
  Object.assign(contents, doc);
2143
3521
  return contents;
2144
3522
  };
2145
- exports.de_GenerateDownloadUrlCommand = de_GenerateDownloadUrlCommand;
2146
- const de_GenerateUploadUrlCommand = async (output, context) => {
3523
+ exports.de_GetMatchCommand = de_GetMatchCommand;
3524
+ const de_GetModerationReportCommand = async (output, context) => {
2147
3525
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2148
3526
  return de_CommandError(output, context);
2149
3527
  }
@@ -2152,15 +3530,23 @@ const de_GenerateUploadUrlCommand = async (output, context) => {
2152
3530
  });
2153
3531
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
2154
3532
  const doc = (0, smithy_client_1.take)(data, {
2155
- 'formData': smithy_client_1._json,
2156
- 'objectKey': smithy_client_1.expectString,
2157
- 'uploadUrl': smithy_client_1.expectString,
3533
+ 'alsoBlocked': smithy_client_1.expectBoolean,
3534
+ 'category': smithy_client_1.expectString,
3535
+ 'conversationId': smithy_client_1.expectString,
3536
+ 'createdAt': smithy_client_1.expectString,
3537
+ 'details': smithy_client_1.expectString,
3538
+ 'evidenceOffered': smithy_client_1.expectBoolean,
3539
+ 'reportId': smithy_client_1.expectString,
3540
+ 'reportedUserId': smithy_client_1.expectString,
3541
+ 'reporterUserId': smithy_client_1.expectString,
3542
+ 'severity': smithy_client_1.expectString,
3543
+ 'source': smithy_client_1.expectString,
2158
3544
  });
2159
3545
  Object.assign(contents, doc);
2160
3546
  return contents;
2161
3547
  };
2162
- exports.de_GenerateUploadUrlCommand = de_GenerateUploadUrlCommand;
2163
- const de_GetBirthDateStatusCommand = async (output, context) => {
3548
+ exports.de_GetModerationReportCommand = de_GetModerationReportCommand;
3549
+ const de_GetModerationSignalsCommand = async (output, context) => {
2164
3550
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2165
3551
  return de_CommandError(output, context);
2166
3552
  }
@@ -2168,24 +3554,19 @@ const de_GetBirthDateStatusCommand = async (output, context) => {
2168
3554
  $metadata: deserializeMetadata(output),
2169
3555
  });
2170
3556
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
2171
- const doc = (0, smithy_client_1.take)(data, {
2172
- 'age': smithy_client_1.expectInt32,
2173
- 'birthDateOnFile': smithy_client_1.expectBoolean,
2174
- 'correctionsRemaining': smithy_client_1.expectInt32,
2175
- 'correctionsUsed': smithy_client_1.expectInt32,
2176
- 'date': smithy_client_1.expectString,
2177
- 'lastCorrectedAt': smithy_client_1.expectLong,
2178
- 'lastCorrectedBy': smithy_client_1.expectString,
2179
- 'lastReason': smithy_client_1.expectString,
2180
- 'lastReference': smithy_client_1.expectString,
2181
- 'provisional': smithy_client_1.expectBoolean,
2182
- 'userId': smithy_client_1.expectString,
3557
+ const doc = (0, smithy_client_1.take)(data, {
3558
+ 'accountAgeDays': smithy_client_1.expectLong,
3559
+ 'blocksReceived': smithy_client_1._json,
3560
+ 'conversations': smithy_client_1._json,
3561
+ 'reciprocalReports': smithy_client_1.expectLong,
3562
+ 'reportsFiled': smithy_client_1._json,
3563
+ 'reportsReceived': smithy_client_1._json,
2183
3564
  });
2184
3565
  Object.assign(contents, doc);
2185
3566
  return contents;
2186
3567
  };
2187
- exports.de_GetBirthDateStatusCommand = de_GetBirthDateStatusCommand;
2188
- const de_GetLivenessStatusCommand = async (output, context) => {
3568
+ exports.de_GetModerationSignalsCommand = de_GetModerationSignalsCommand;
3569
+ const de_GetStateCommand = async (output, context) => {
2189
3570
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2190
3571
  return de_CommandError(output, context);
2191
3572
  }
@@ -2194,13 +3575,25 @@ const de_GetLivenessStatusCommand = async (output, context) => {
2194
3575
  });
2195
3576
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
2196
3577
  const doc = (0, smithy_client_1.take)(data, {
2197
- 'status': smithy_client_1.expectString,
3578
+ 'activeConnections': smithy_client_1.expectInt32,
3579
+ 'chatViewPass': smithy_client_1.expectString,
3580
+ 'discoveryPaused': smithy_client_1.expectBoolean,
3581
+ 'effectiveCapacity': smithy_client_1.expectInt32,
3582
+ 'hooks': smithy_client_1._json,
3583
+ 'keepLimit': smithy_client_1.expectInt32,
3584
+ 'matchIds': smithy_client_1._json,
3585
+ 'matching': smithy_client_1._json,
3586
+ 'selectionDeadline': smithy_client_1.expectLong,
3587
+ 'selectionRequired': smithy_client_1.expectBoolean,
3588
+ 'state': smithy_client_1.expectString,
3589
+ 'subscriptionTier': smithy_client_1.expectString,
3590
+ 'userId': smithy_client_1.expectString,
2198
3591
  });
2199
3592
  Object.assign(contents, doc);
2200
3593
  return contents;
2201
3594
  };
2202
- exports.de_GetLivenessStatusCommand = de_GetLivenessStatusCommand;
2203
- const de_GetMyProfileCommand = async (output, context) => {
3595
+ exports.de_GetStateCommand = de_GetStateCommand;
3596
+ const de_GetTierOverrideCommand = async (output, context) => {
2204
3597
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2205
3598
  return de_CommandError(output, context);
2206
3599
  }
@@ -2209,54 +3602,24 @@ const de_GetMyProfileCommand = async (output, context) => {
2209
3602
  });
2210
3603
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
2211
3604
  const doc = (0, smithy_client_1.take)(data, {
2212
- 'age': smithy_client_1.expectInt32,
2213
- 'audioPrompt': smithy_client_1.expectString,
2214
- 'bio': smithy_client_1.expectString,
2215
- 'birthDateOnFile': smithy_client_1.expectBoolean,
2216
- 'birthDetails': _ => de_BirthDetails(_, context),
2217
- 'cannabisStatus': smithy_client_1.expectString,
2218
- 'causes': smithy_client_1._json,
2219
- 'communities': smithy_client_1._json,
2220
- 'currentLocation': smithy_client_1.expectString,
2221
- 'displayName': smithy_client_1.expectString,
2222
- 'drinkingStatus': smithy_client_1.expectString,
2223
- 'drugsStatus': smithy_client_1.expectString,
2224
- 'education': smithy_client_1.expectString,
2225
- 'educationLevel': smithy_client_1.expectString,
2226
- 'exercise': smithy_client_1.expectString,
2227
- 'familyPlans': smithy_client_1.expectString,
2228
- 'fieldModerationStatus': smithy_client_1._json,
2229
- 'gender': smithy_client_1.expectString,
2230
- 'height': smithy_client_1.expectInt32,
2231
- 'hometown': smithy_client_1.expectString,
2232
- 'interestedIn': smithy_client_1._json,
2233
- 'interests': smithy_client_1._json,
2234
- 'languages': smithy_client_1._json,
2235
- 'moderationStatus': smithy_client_1.expectString,
2236
- 'openers': smithy_client_1._json,
2237
- 'pictureTransforms': smithy_client_1._json,
2238
- 'pictures': smithy_client_1._json,
2239
- 'politicalView': smithy_client_1.expectString,
2240
- 'prompts': smithy_client_1._json,
2241
- 'qualities': smithy_client_1._json,
2242
- 'relationshipType': smithy_client_1.expectString,
2243
- 'religion': smithy_client_1.expectString,
2244
- 'smokingStatus': smithy_client_1.expectString,
2245
- 'socialLinks': smithy_client_1._json,
2246
- 'starSign': smithy_client_1.expectString,
2247
- 'subscriptionTier': smithy_client_1.expectString,
3605
+ 'billingTier': smithy_client_1.expectString,
3606
+ 'effectiveTier': smithy_client_1.expectString,
3607
+ 'maxConnections': smithy_client_1.expectInt32,
3608
+ 'overrideActive': smithy_client_1.expectBoolean,
3609
+ 'overrideExpiresAt': smithy_client_1.expectLong,
3610
+ 'overrideHistory': smithy_client_1._json,
3611
+ 'overrideReason': smithy_client_1.expectString,
3612
+ 'overrideSetAt': smithy_client_1.expectLong,
3613
+ 'overrideSetBy': smithy_client_1.expectString,
3614
+ 'overrideTier': smithy_client_1.expectString,
2248
3615
  'userId': smithy_client_1.expectString,
2249
- 'verified': smithy_client_1.expectBoolean,
2250
- 'videos': smithy_client_1._json,
2251
- 'wantsKids': smithy_client_1.expectString,
2252
- 'work': smithy_client_1.expectString,
2253
3616
  });
2254
3617
  Object.assign(contents, doc);
2255
3618
  return contents;
2256
3619
  };
2257
- exports.de_GetMyProfileCommand = de_GetMyProfileCommand;
2258
- const de_GetPlaceCommand = async (output, context) => {
2259
- if (output.statusCode !== 200 && output.statusCode >= 300) {
3620
+ exports.de_GetTierOverrideCommand = de_GetTierOverrideCommand;
3621
+ const de_InitUserCommand = async (output, context) => {
3622
+ if (output.statusCode !== 201 && output.statusCode >= 300) {
2260
3623
  return de_CommandError(output, context);
2261
3624
  }
2262
3625
  const contents = (0, smithy_client_1.map)({
@@ -2264,17 +3627,13 @@ const de_GetPlaceCommand = async (output, context) => {
2264
3627
  });
2265
3628
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
2266
3629
  const doc = (0, smithy_client_1.take)(data, {
2267
- 'label': smithy_client_1.expectString,
2268
- 'latitude': smithy_client_1.limitedParseDouble,
2269
- 'longitude': smithy_client_1.limitedParseDouble,
2270
- 'placeId': smithy_client_1.expectString,
2271
- 'timeZone': smithy_client_1.expectString,
3630
+ 'status': smithy_client_1.expectString,
2272
3631
  });
2273
3632
  Object.assign(contents, doc);
2274
3633
  return contents;
2275
3634
  };
2276
- exports.de_GetPlaceCommand = de_GetPlaceCommand;
2277
- const de_GetProfileCommand = async (output, context) => {
3635
+ exports.de_InitUserCommand = de_InitUserCommand;
3636
+ const de_KeepHooksCommand = async (output, context) => {
2278
3637
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2279
3638
  return de_CommandError(output, context);
2280
3639
  }
@@ -2283,53 +3642,25 @@ const de_GetProfileCommand = async (output, context) => {
2283
3642
  });
2284
3643
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
2285
3644
  const doc = (0, smithy_client_1.take)(data, {
2286
- 'age': smithy_client_1.expectInt32,
2287
- 'audioPrompt': smithy_client_1.expectString,
2288
- 'bio': smithy_client_1.expectString,
2289
- 'birthDateOnFile': smithy_client_1.expectBoolean,
2290
- 'birthDetails': _ => de_BirthDetails(_, context),
2291
- 'cannabisStatus': smithy_client_1.expectString,
2292
- 'causes': smithy_client_1._json,
2293
- 'communities': smithy_client_1._json,
2294
- 'currentLocation': smithy_client_1.expectString,
2295
- 'displayName': smithy_client_1.expectString,
2296
- 'drinkingStatus': smithy_client_1.expectString,
2297
- 'drugsStatus': smithy_client_1.expectString,
2298
- 'education': smithy_client_1.expectString,
2299
- 'educationLevel': smithy_client_1.expectString,
2300
- 'exercise': smithy_client_1.expectString,
2301
- 'familyPlans': smithy_client_1.expectString,
2302
- 'fieldModerationStatus': smithy_client_1._json,
2303
- 'gender': smithy_client_1.expectString,
2304
- 'height': smithy_client_1.expectInt32,
2305
- 'hometown': smithy_client_1.expectString,
2306
- 'interestedIn': smithy_client_1._json,
2307
- 'interests': smithy_client_1._json,
2308
- 'languages': smithy_client_1._json,
2309
- 'moderationStatus': smithy_client_1.expectString,
2310
- 'openers': smithy_client_1._json,
2311
- 'pictureTransforms': smithy_client_1._json,
2312
- 'pictures': smithy_client_1._json,
2313
- 'politicalView': smithy_client_1.expectString,
2314
- 'prompts': smithy_client_1._json,
2315
- 'qualities': smithy_client_1._json,
2316
- 'relationshipType': smithy_client_1.expectString,
2317
- 'religion': smithy_client_1.expectString,
2318
- 'smokingStatus': smithy_client_1.expectString,
2319
- 'socialLinks': smithy_client_1._json,
2320
- 'starSign': smithy_client_1.expectString,
3645
+ 'activeConnections': smithy_client_1.expectInt32,
3646
+ 'chatViewPass': smithy_client_1.expectString,
3647
+ 'discoveryPaused': smithy_client_1.expectBoolean,
3648
+ 'effectiveCapacity': smithy_client_1.expectInt32,
3649
+ 'hooks': smithy_client_1._json,
3650
+ 'keepLimit': smithy_client_1.expectInt32,
3651
+ 'matchIds': smithy_client_1._json,
3652
+ 'matching': smithy_client_1._json,
3653
+ 'selectionDeadline': smithy_client_1.expectLong,
3654
+ 'selectionRequired': smithy_client_1.expectBoolean,
3655
+ 'state': smithy_client_1.expectString,
2321
3656
  'subscriptionTier': smithy_client_1.expectString,
2322
3657
  'userId': smithy_client_1.expectString,
2323
- 'verified': smithy_client_1.expectBoolean,
2324
- 'videos': smithy_client_1._json,
2325
- 'wantsKids': smithy_client_1.expectString,
2326
- 'work': smithy_client_1.expectString,
2327
3658
  });
2328
3659
  Object.assign(contents, doc);
2329
3660
  return contents;
2330
3661
  };
2331
- exports.de_GetProfileCommand = de_GetProfileCommand;
2332
- const de_SearchPlacesCommand = async (output, context) => {
3662
+ exports.de_KeepHooksCommand = de_KeepHooksCommand;
3663
+ const de_ListBlocksCommand = async (output, context) => {
2333
3664
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2334
3665
  return de_CommandError(output, context);
2335
3666
  }
@@ -2338,13 +3669,13 @@ const de_SearchPlacesCommand = async (output, context) => {
2338
3669
  });
2339
3670
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
2340
3671
  const doc = (0, smithy_client_1.take)(data, {
2341
- 'places': smithy_client_1._json,
3672
+ 'blocks': smithy_client_1._json,
2342
3673
  });
2343
3674
  Object.assign(contents, doc);
2344
3675
  return contents;
2345
3676
  };
2346
- exports.de_SearchPlacesCommand = de_SearchPlacesCommand;
2347
- const de_UpdateProfileCommand = async (output, context) => {
3677
+ exports.de_ListBlocksCommand = de_ListBlocksCommand;
3678
+ const de_ListHookRequestsCommand = async (output, context) => {
2348
3679
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2349
3680
  return de_CommandError(output, context);
2350
3681
  }
@@ -2353,13 +3684,15 @@ const de_UpdateProfileCommand = async (output, context) => {
2353
3684
  });
2354
3685
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
2355
3686
  const doc = (0, smithy_client_1.take)(data, {
2356
- 'status': smithy_client_1.expectString,
3687
+ 'chatViewPass': smithy_client_1.expectString,
3688
+ 'direction': smithy_client_1.expectString,
3689
+ 'requests': smithy_client_1._json,
2357
3690
  });
2358
3691
  Object.assign(contents, doc);
2359
3692
  return contents;
2360
3693
  };
2361
- exports.de_UpdateProfileCommand = de_UpdateProfileCommand;
2362
- const de_CompleteOnboardingCommand = async (output, context) => {
3694
+ exports.de_ListHookRequestsCommand = de_ListHookRequestsCommand;
3695
+ const de_ListMatchingOnMembersCommand = async (output, context) => {
2363
3696
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2364
3697
  return de_CommandError(output, context);
2365
3698
  }
@@ -2368,13 +3701,31 @@ const de_CompleteOnboardingCommand = async (output, context) => {
2368
3701
  });
2369
3702
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
2370
3703
  const doc = (0, smithy_client_1.take)(data, {
2371
- 'status': smithy_client_1.expectString,
3704
+ 'members': smithy_client_1._json,
3705
+ 'nextToken': smithy_client_1.expectString,
2372
3706
  });
2373
3707
  Object.assign(contents, doc);
2374
3708
  return contents;
2375
3709
  };
2376
- exports.de_CompleteOnboardingCommand = de_CompleteOnboardingCommand;
2377
- const de_GetMatchCommand = async (output, context) => {
3710
+ exports.de_ListMatchingOnMembersCommand = de_ListMatchingOnMembersCommand;
3711
+ const de_ReportMemberCommand = async (output, context) => {
3712
+ if (output.statusCode !== 201 && output.statusCode >= 300) {
3713
+ return de_CommandError(output, context);
3714
+ }
3715
+ const contents = (0, smithy_client_1.map)({
3716
+ $metadata: deserializeMetadata(output),
3717
+ });
3718
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
3719
+ const doc = (0, smithy_client_1.take)(data, {
3720
+ 'evidenceAllowed': smithy_client_1.expectBoolean,
3721
+ 'reportId': smithy_client_1.expectString,
3722
+ 'severity': smithy_client_1.expectString,
3723
+ });
3724
+ Object.assign(contents, doc);
3725
+ return contents;
3726
+ };
3727
+ exports.de_ReportMemberCommand = de_ReportMemberCommand;
3728
+ const de_SendHookRequestCommand = async (output, context) => {
2378
3729
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2379
3730
  return de_CommandError(output, context);
2380
3731
  }
@@ -2383,23 +3734,13 @@ const de_GetMatchCommand = async (output, context) => {
2383
3734
  });
2384
3735
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
2385
3736
  const doc = (0, smithy_client_1.take)(data, {
2386
- 'createdAt': smithy_client_1.expectLong,
2387
- 'endReason': smithy_client_1.expectString,
2388
- 'endedAt': smithy_client_1.expectLong,
2389
- 'endedBy': smithy_client_1.expectString,
2390
- 'latestMessageSenderId': smithy_client_1.expectString,
2391
- 'latestMessageTimestamp': smithy_client_1.expectLong,
2392
- 'matchId': smithy_client_1.expectString,
2393
3737
  'status': smithy_client_1.expectString,
2394
- 'updatedAt': smithy_client_1.expectLong,
2395
- 'userA': smithy_client_1.expectString,
2396
- 'userB': smithy_client_1.expectString,
2397
3738
  });
2398
3739
  Object.assign(contents, doc);
2399
3740
  return contents;
2400
3741
  };
2401
- exports.de_GetMatchCommand = de_GetMatchCommand;
2402
- const de_GetStateCommand = async (output, context) => {
3742
+ exports.de_SendHookRequestCommand = de_SendHookRequestCommand;
3743
+ const de_SetTierOverrideCommand = async (output, context) => {
2403
3744
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2404
3745
  return de_CommandError(output, context);
2405
3746
  }
@@ -2408,17 +3749,23 @@ const de_GetStateCommand = async (output, context) => {
2408
3749
  });
2409
3750
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
2410
3751
  const doc = (0, smithy_client_1.take)(data, {
2411
- 'activeConnections': smithy_client_1.expectInt32,
2412
- 'matchIds': smithy_client_1._json,
2413
- 'state': smithy_client_1.expectString,
2414
- 'subscriptionTier': smithy_client_1.expectString,
3752
+ 'billingTier': smithy_client_1.expectString,
3753
+ 'effectiveTier': smithy_client_1.expectString,
3754
+ 'maxConnections': smithy_client_1.expectInt32,
3755
+ 'overrideActive': smithy_client_1.expectBoolean,
3756
+ 'overrideExpiresAt': smithy_client_1.expectLong,
3757
+ 'overrideHistory': smithy_client_1._json,
3758
+ 'overrideReason': smithy_client_1.expectString,
3759
+ 'overrideSetAt': smithy_client_1.expectLong,
3760
+ 'overrideSetBy': smithy_client_1.expectString,
3761
+ 'overrideTier': smithy_client_1.expectString,
2415
3762
  'userId': smithy_client_1.expectString,
2416
3763
  });
2417
3764
  Object.assign(contents, doc);
2418
3765
  return contents;
2419
3766
  };
2420
- exports.de_GetStateCommand = de_GetStateCommand;
2421
- const de_InitUserCommand = async (output, context) => {
3767
+ exports.de_SetTierOverrideCommand = de_SetTierOverrideCommand;
3768
+ const de_UnblockUserCommand = async (output, context) => {
2422
3769
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2423
3770
  return de_CommandError(output, context);
2424
3771
  }
@@ -2432,7 +3779,7 @@ const de_InitUserCommand = async (output, context) => {
2432
3779
  Object.assign(contents, doc);
2433
3780
  return contents;
2434
3781
  };
2435
- exports.de_InitUserCommand = de_InitUserCommand;
3782
+ exports.de_UnblockUserCommand = de_UnblockUserCommand;
2436
3783
  const de_UnhookCommand = async (output, context) => {
2437
3784
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2438
3785
  return de_CommandError(output, context);
@@ -2458,7 +3805,15 @@ const de_UpgradeUserCommand = async (output, context) => {
2458
3805
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
2459
3806
  const doc = (0, smithy_client_1.take)(data, {
2460
3807
  'activeConnections': smithy_client_1.expectInt32,
3808
+ 'chatViewPass': smithy_client_1.expectString,
3809
+ 'discoveryPaused': smithy_client_1.expectBoolean,
3810
+ 'effectiveCapacity': smithy_client_1.expectInt32,
3811
+ 'hooks': smithy_client_1._json,
3812
+ 'keepLimit': smithy_client_1.expectInt32,
2461
3813
  'matchIds': smithy_client_1._json,
3814
+ 'matching': smithy_client_1._json,
3815
+ 'selectionDeadline': smithy_client_1.expectLong,
3816
+ 'selectionRequired': smithy_client_1.expectBoolean,
2462
3817
  'state': smithy_client_1.expectString,
2463
3818
  'subscriptionTier': smithy_client_1.expectString,
2464
3819
  'userId': smithy_client_1.expectString,
@@ -2474,24 +3829,39 @@ const de_CommandError = async (output, context) => {
2474
3829
  };
2475
3830
  const errorCode = (0, core_1.loadRestJsonErrorCode)(output, parsedOutput.body);
2476
3831
  switch (errorCode) {
3832
+ case "BadGatewayError":
3833
+ case "club.onehook.common#BadGatewayError":
3834
+ throw await de_BadGatewayErrorRes(parsedOutput, context);
2477
3835
  case "BadRequestError":
2478
3836
  case "club.onehook.identity#BadRequestError":
2479
3837
  throw await de_BadRequestErrorRes(parsedOutput, context);
3838
+ case "ForbiddenError":
3839
+ case "club.onehook.chat#ForbiddenError":
3840
+ throw await de_ForbiddenErrorRes(parsedOutput, context);
2480
3841
  case "InternalServerError":
2481
3842
  case "club.onehook.identity#InternalServerError":
2482
3843
  throw await de_InternalServerErrorRes(parsedOutput, context);
2483
3844
  case "NotFoundError":
2484
3845
  case "club.onehook.identity#NotFoundError":
2485
3846
  throw await de_NotFoundErrorRes(parsedOutput, context);
2486
- case "ForbiddenError":
2487
- case "club.onehook.chat#ForbiddenError":
2488
- throw await de_ForbiddenErrorRes(parsedOutput, context);
2489
- case "DeviceLimitError":
2490
- case "club.onehook.chat#DeviceLimitError":
2491
- throw await de_DeviceLimitErrorRes(parsedOutput, context);
3847
+ case "ServiceUnavailableError":
3848
+ case "club.onehook.common#ServiceUnavailableError":
3849
+ throw await de_ServiceUnavailableErrorRes(parsedOutput, context);
3850
+ case "TooManyRequestsError":
3851
+ case "club.onehook.state#TooManyRequestsError":
3852
+ throw await de_TooManyRequestsErrorRes(parsedOutput, context);
3853
+ case "UnauthorizedError":
3854
+ case "club.onehook.common#UnauthorizedError":
3855
+ throw await de_UnauthorizedErrorRes(parsedOutput, context);
2492
3856
  case "ConflictError":
2493
3857
  case "club.onehook.identity#ConflictError":
2494
3858
  throw await de_ConflictErrorRes(parsedOutput, context);
3859
+ case "DeviceLimitError":
3860
+ case "club.onehook.chat#DeviceLimitError":
3861
+ throw await de_DeviceLimitErrorRes(parsedOutput, context);
3862
+ case "EnableMatchingConflictError":
3863
+ case "club.onehook.state#EnableMatchingConflictError":
3864
+ throw await de_EnableMatchingConflictErrorRes(parsedOutput, context);
2495
3865
  default:
2496
3866
  const parsedBody = parsedOutput.body;
2497
3867
  return throwDefaultError({
@@ -2506,7 +3876,10 @@ const de_DeviceLimitErrorRes = async (parsedOutput, context) => {
2506
3876
  const contents = (0, smithy_client_1.map)({});
2507
3877
  const data = parsedOutput.body;
2508
3878
  const doc = (0, smithy_client_1.take)(data, {
3879
+ 'code': smithy_client_1.expectString,
2509
3880
  'error': smithy_client_1.expectString,
3881
+ 'retryable': smithy_client_1.expectBoolean,
3882
+ 'traceId': smithy_client_1.expectString,
2510
3883
  });
2511
3884
  Object.assign(contents, doc);
2512
3885
  const exception = new models_0_1.DeviceLimitError({
@@ -2519,7 +3892,10 @@ const de_ForbiddenErrorRes = async (parsedOutput, context) => {
2519
3892
  const contents = (0, smithy_client_1.map)({});
2520
3893
  const data = parsedOutput.body;
2521
3894
  const doc = (0, smithy_client_1.take)(data, {
3895
+ 'code': smithy_client_1.expectString,
2522
3896
  'error': smithy_client_1.expectString,
3897
+ 'retryable': smithy_client_1.expectBoolean,
3898
+ 'traceId': smithy_client_1.expectString,
2523
3899
  });
2524
3900
  Object.assign(contents, doc);
2525
3901
  const exception = new models_0_1.ForbiddenError({
@@ -2528,11 +3904,62 @@ const de_ForbiddenErrorRes = async (parsedOutput, context) => {
2528
3904
  });
2529
3905
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2530
3906
  };
3907
+ const de_BadGatewayErrorRes = async (parsedOutput, context) => {
3908
+ const contents = (0, smithy_client_1.map)({});
3909
+ const data = parsedOutput.body;
3910
+ const doc = (0, smithy_client_1.take)(data, {
3911
+ 'code': smithy_client_1.expectString,
3912
+ 'error': smithy_client_1.expectString,
3913
+ 'retryable': smithy_client_1.expectBoolean,
3914
+ 'traceId': smithy_client_1.expectString,
3915
+ });
3916
+ Object.assign(contents, doc);
3917
+ const exception = new models_0_1.BadGatewayError({
3918
+ $metadata: deserializeMetadata(parsedOutput),
3919
+ ...contents
3920
+ });
3921
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
3922
+ };
3923
+ const de_ServiceUnavailableErrorRes = async (parsedOutput, context) => {
3924
+ const contents = (0, smithy_client_1.map)({});
3925
+ const data = parsedOutput.body;
3926
+ const doc = (0, smithy_client_1.take)(data, {
3927
+ 'code': smithy_client_1.expectString,
3928
+ 'error': smithy_client_1.expectString,
3929
+ 'retryable': smithy_client_1.expectBoolean,
3930
+ 'traceId': smithy_client_1.expectString,
3931
+ });
3932
+ Object.assign(contents, doc);
3933
+ const exception = new models_0_1.ServiceUnavailableError({
3934
+ $metadata: deserializeMetadata(parsedOutput),
3935
+ ...contents
3936
+ });
3937
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
3938
+ };
3939
+ const de_UnauthorizedErrorRes = async (parsedOutput, context) => {
3940
+ const contents = (0, smithy_client_1.map)({});
3941
+ const data = parsedOutput.body;
3942
+ const doc = (0, smithy_client_1.take)(data, {
3943
+ 'code': smithy_client_1.expectString,
3944
+ 'error': smithy_client_1.expectString,
3945
+ 'retryable': smithy_client_1.expectBoolean,
3946
+ 'traceId': smithy_client_1.expectString,
3947
+ });
3948
+ Object.assign(contents, doc);
3949
+ const exception = new models_0_1.UnauthorizedError({
3950
+ $metadata: deserializeMetadata(parsedOutput),
3951
+ ...contents
3952
+ });
3953
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
3954
+ };
2531
3955
  const de_BadRequestErrorRes = async (parsedOutput, context) => {
2532
3956
  const contents = (0, smithy_client_1.map)({});
2533
3957
  const data = parsedOutput.body;
2534
3958
  const doc = (0, smithy_client_1.take)(data, {
3959
+ 'code': smithy_client_1.expectString,
2535
3960
  'error': smithy_client_1.expectString,
3961
+ 'retryable': smithy_client_1.expectBoolean,
3962
+ 'traceId': smithy_client_1.expectString,
2536
3963
  });
2537
3964
  Object.assign(contents, doc);
2538
3965
  const exception = new models_0_1.BadRequestError({
@@ -2545,7 +3972,10 @@ const de_ConflictErrorRes = async (parsedOutput, context) => {
2545
3972
  const contents = (0, smithy_client_1.map)({});
2546
3973
  const data = parsedOutput.body;
2547
3974
  const doc = (0, smithy_client_1.take)(data, {
3975
+ 'code': smithy_client_1.expectString,
2548
3976
  'error': smithy_client_1.expectString,
3977
+ 'retryable': smithy_client_1.expectBoolean,
3978
+ 'traceId': smithy_client_1.expectString,
2549
3979
  });
2550
3980
  Object.assign(contents, doc);
2551
3981
  const exception = new models_0_1.ConflictError({
@@ -2558,7 +3988,10 @@ const de_InternalServerErrorRes = async (parsedOutput, context) => {
2558
3988
  const contents = (0, smithy_client_1.map)({});
2559
3989
  const data = parsedOutput.body;
2560
3990
  const doc = (0, smithy_client_1.take)(data, {
3991
+ 'code': smithy_client_1.expectString,
2561
3992
  'error': smithy_client_1.expectString,
3993
+ 'retryable': smithy_client_1.expectBoolean,
3994
+ 'traceId': smithy_client_1.expectString,
2562
3995
  });
2563
3996
  Object.assign(contents, doc);
2564
3997
  const exception = new models_0_1.InternalServerError({
@@ -2571,7 +4004,10 @@ const de_NotFoundErrorRes = async (parsedOutput, context) => {
2571
4004
  const contents = (0, smithy_client_1.map)({});
2572
4005
  const data = parsedOutput.body;
2573
4006
  const doc = (0, smithy_client_1.take)(data, {
4007
+ 'code': smithy_client_1.expectString,
2574
4008
  'error': smithy_client_1.expectString,
4009
+ 'retryable': smithy_client_1.expectBoolean,
4010
+ 'traceId': smithy_client_1.expectString,
2575
4011
  });
2576
4012
  Object.assign(contents, doc);
2577
4013
  const exception = new models_0_1.NotFoundError({
@@ -2580,6 +4016,110 @@ const de_NotFoundErrorRes = async (parsedOutput, context) => {
2580
4016
  });
2581
4017
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2582
4018
  };
4019
+ const de_EnableMatchingConflictErrorRes = async (parsedOutput, context) => {
4020
+ const contents = (0, smithy_client_1.map)({});
4021
+ const data = parsedOutput.body;
4022
+ const doc = (0, smithy_client_1.take)(data, {
4023
+ 'code': smithy_client_1.expectString,
4024
+ 'error': smithy_client_1.expectString,
4025
+ 'gaps': smithy_client_1._json,
4026
+ 'retryable': smithy_client_1.expectBoolean,
4027
+ 'traceId': smithy_client_1.expectString,
4028
+ });
4029
+ Object.assign(contents, doc);
4030
+ const exception = new models_0_1.EnableMatchingConflictError({
4031
+ $metadata: deserializeMetadata(parsedOutput),
4032
+ ...contents
4033
+ });
4034
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
4035
+ };
4036
+ const de_TooManyRequestsErrorRes = async (parsedOutput, context) => {
4037
+ const contents = (0, smithy_client_1.map)({});
4038
+ const data = parsedOutput.body;
4039
+ const doc = (0, smithy_client_1.take)(data, {
4040
+ 'code': smithy_client_1.expectString,
4041
+ 'error': smithy_client_1.expectString,
4042
+ 'retryable': smithy_client_1.expectBoolean,
4043
+ 'traceId': smithy_client_1.expectString,
4044
+ });
4045
+ Object.assign(contents, doc);
4046
+ const exception = new models_0_1.TooManyRequestsError({
4047
+ $metadata: deserializeMetadata(parsedOutput),
4048
+ ...contents
4049
+ });
4050
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
4051
+ };
4052
+ const se_RawSignal = (input, context) => {
4053
+ return (0, smithy_client_1.take)(input, {
4054
+ 'attributes': _ => se_Document(_, context),
4055
+ 'clientEventId': [],
4056
+ 'timestamp': [],
4057
+ 'type': [],
4058
+ });
4059
+ };
4060
+ const se_RawSignalList = (input, context) => {
4061
+ return input.filter((e) => e != null).map(entry => {
4062
+ return se_RawSignal(entry, context);
4063
+ });
4064
+ };
4065
+ const se_ABExperiment = (input, context) => {
4066
+ return (0, smithy_client_1.take)(input, {
4067
+ 'description': [],
4068
+ 'enabled': [],
4069
+ 'experimentId': [],
4070
+ 'name': [],
4071
+ 'trafficAllocation': smithy_client_1._json,
4072
+ 'variants': _ => se_VariantOverrides(_, context),
4073
+ });
4074
+ };
4075
+ const se_ParameterOverrides = (input, context) => {
4076
+ return Object.entries(input).reduce((acc, [key, value]) => {
4077
+ if (value === null) {
4078
+ return acc;
4079
+ }
4080
+ acc[key] = (0, smithy_client_1.serializeFloat)(value);
4081
+ return acc;
4082
+ }, {});
4083
+ };
4084
+ const se_ScoringParameters = (input, context) => {
4085
+ return (0, smithy_client_1.take)(input, {
4086
+ 'chatInitiativeWeight': smithy_client_1.serializeFloat,
4087
+ 'chatReplyFastWeight': smithy_client_1.serializeFloat,
4088
+ 'dwellTimeBoostMax': smithy_client_1.serializeFloat,
4089
+ 'exposureDeficitBoost': smithy_client_1.serializeFloat,
4090
+ 'passWeight': smithy_client_1.serializeFloat,
4091
+ 'primeTimeBoostMax': smithy_client_1.serializeFloat,
4092
+ 'profileViewBioWeight': smithy_client_1.serializeFloat,
4093
+ 'profileViewPhotoWeight': smithy_client_1.serializeFloat,
4094
+ 'profileViewPromptsWeight': smithy_client_1.serializeFloat,
4095
+ 'profileViewTimeWeight': smithy_client_1.serializeFloat,
4096
+ 'reciprocalMatchWeight': smithy_client_1.serializeFloat,
4097
+ 'superLikeWeight': smithy_client_1.serializeFloat,
4098
+ 'swipeDeliberationCapMs': [],
4099
+ 'swipeLikeBaseWeight': smithy_client_1.serializeFloat,
4100
+ 'swipeLikeDeliberationWeight': smithy_client_1.serializeFloat,
4101
+ });
4102
+ };
4103
+ const se_ScoringPolicyConfig = (input, context) => {
4104
+ return (0, smithy_client_1.take)(input, {
4105
+ 'activeExperiment': _ => se_ABExperiment(_, context),
4106
+ 'changeReason': [],
4107
+ 'expectedVersion': [],
4108
+ 'parameters': _ => se_ScoringParameters(_, context),
4109
+ 'updatedAt': [],
4110
+ 'updatedBy': [],
4111
+ 'version': [],
4112
+ });
4113
+ };
4114
+ const se_VariantOverrides = (input, context) => {
4115
+ return Object.entries(input).reduce((acc, [key, value]) => {
4116
+ if (value === null) {
4117
+ return acc;
4118
+ }
4119
+ acc[key] = se_ParameterOverrides(value, context);
4120
+ return acc;
4121
+ }, {});
4122
+ };
2583
4123
  const se_BirthDetails = (input, context) => {
2584
4124
  return (0, smithy_client_1.take)(input, {
2585
4125
  'date': [],
@@ -2591,6 +4131,126 @@ const se_BirthDetails = (input, context) => {
2591
4131
  'timeZone': [],
2592
4132
  });
2593
4133
  };
4134
+ const se_Document = (input, context) => {
4135
+ return input;
4136
+ };
4137
+ const de_GraphUserBehavior = (output, context) => {
4138
+ return (0, smithy_client_1.take)(output, {
4139
+ 'avgReplyMs': smithy_client_1.expectLong,
4140
+ 'initiationRate': smithy_client_1.limitedParseDouble,
4141
+ 'lastActiveAt': smithy_client_1.expectLong,
4142
+ 'matchesInitiated': smithy_client_1.expectInt32,
4143
+ 'matchesMessaged': smithy_client_1.expectInt32,
4144
+ 'messagesPerMatchedConversation': smithy_client_1.limitedParseDouble,
4145
+ 'messagesSent': smithy_client_1.expectInt32,
4146
+ 'recentlyActive24h': smithy_client_1.expectBoolean,
4147
+ 'recentlyActive7d': smithy_client_1.expectBoolean,
4148
+ 'replyCount': smithy_client_1.expectInt32,
4149
+ });
4150
+ };
4151
+ const de_InviteNode = (output, context) => {
4152
+ return (0, smithy_client_1.take)(output, {
4153
+ 'children': (_) => de_InviteNodeList(_, context),
4154
+ 'depth': smithy_client_1.expectInt32,
4155
+ 'invitedAt': smithy_client_1.expectLong,
4156
+ 'truncated': smithy_client_1.expectBoolean,
4157
+ 'userId': smithy_client_1.expectString,
4158
+ });
4159
+ };
4160
+ const de_InviteNodeList = (output, context) => {
4161
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
4162
+ return de_InviteNode(entry, context);
4163
+ });
4164
+ return retVal;
4165
+ };
4166
+ const de_ABExperiment = (output, context) => {
4167
+ return (0, smithy_client_1.take)(output, {
4168
+ 'description': smithy_client_1.expectString,
4169
+ 'enabled': smithy_client_1.expectBoolean,
4170
+ 'experimentId': smithy_client_1.expectString,
4171
+ 'name': smithy_client_1.expectString,
4172
+ 'trafficAllocation': smithy_client_1._json,
4173
+ 'variants': (_) => de_VariantOverrides(_, context),
4174
+ });
4175
+ };
4176
+ const de_ParameterMetadata = (output, context) => {
4177
+ return (0, smithy_client_1.take)(output, {
4178
+ 'defaultValue': smithy_client_1.limitedParseDouble,
4179
+ 'description': smithy_client_1.expectString,
4180
+ 'hypothesis': smithy_client_1.expectString,
4181
+ 'maxValue': smithy_client_1.limitedParseDouble,
4182
+ 'minValue': smithy_client_1.limitedParseDouble,
4183
+ 'name': smithy_client_1.expectString,
4184
+ 'tuningGuidance': smithy_client_1.expectString,
4185
+ 'unit': smithy_client_1.expectString,
4186
+ });
4187
+ };
4188
+ const de_ParameterMetadataMap = (output, context) => {
4189
+ return Object.entries(output).reduce((acc, [key, value]) => {
4190
+ if (value === null) {
4191
+ return acc;
4192
+ }
4193
+ acc[key] = de_ParameterMetadata(value, context);
4194
+ return acc;
4195
+ }, {});
4196
+ };
4197
+ const de_ParameterOverrides = (output, context) => {
4198
+ return Object.entries(output).reduce((acc, [key, value]) => {
4199
+ if (value === null) {
4200
+ return acc;
4201
+ }
4202
+ acc[key] = (0, smithy_client_1.limitedParseDouble)(value);
4203
+ return acc;
4204
+ }, {});
4205
+ };
4206
+ const de_ScoreBreakdown = (output, context) => {
4207
+ return Object.entries(output).reduce((acc, [key, value]) => {
4208
+ if (value === null) {
4209
+ return acc;
4210
+ }
4211
+ acc[key] = (0, smithy_client_1.limitedParseDouble)(value);
4212
+ return acc;
4213
+ }, {});
4214
+ };
4215
+ const de_ScoringParameters = (output, context) => {
4216
+ return (0, smithy_client_1.take)(output, {
4217
+ 'chatInitiativeWeight': smithy_client_1.limitedParseDouble,
4218
+ 'chatReplyFastWeight': smithy_client_1.limitedParseDouble,
4219
+ 'dwellTimeBoostMax': smithy_client_1.limitedParseDouble,
4220
+ 'exposureDeficitBoost': smithy_client_1.limitedParseDouble,
4221
+ 'passWeight': smithy_client_1.limitedParseDouble,
4222
+ 'primeTimeBoostMax': smithy_client_1.limitedParseDouble,
4223
+ 'profileViewBioWeight': smithy_client_1.limitedParseDouble,
4224
+ 'profileViewPhotoWeight': smithy_client_1.limitedParseDouble,
4225
+ 'profileViewPromptsWeight': smithy_client_1.limitedParseDouble,
4226
+ 'profileViewTimeWeight': smithy_client_1.limitedParseDouble,
4227
+ 'reciprocalMatchWeight': smithy_client_1.limitedParseDouble,
4228
+ 'superLikeWeight': smithy_client_1.limitedParseDouble,
4229
+ 'swipeDeliberationCapMs': smithy_client_1.expectInt32,
4230
+ 'swipeLikeBaseWeight': smithy_client_1.limitedParseDouble,
4231
+ 'swipeLikeDeliberationWeight': smithy_client_1.limitedParseDouble,
4232
+ });
4233
+ };
4234
+ const de_ScoringPolicyConfig = (output, context) => {
4235
+ return (0, smithy_client_1.take)(output, {
4236
+ 'activeExperiment': (_) => de_ABExperiment(_, context),
4237
+ 'changeReason': smithy_client_1.expectString,
4238
+ 'expectedVersion': smithy_client_1.expectString,
4239
+ 'parameters': (_) => de_ScoringParameters(_, context),
4240
+ 'updatedAt': smithy_client_1.expectLong,
4241
+ 'updatedBy': smithy_client_1.expectString,
4242
+ 'version': smithy_client_1.expectString,
4243
+ });
4244
+ };
4245
+ const de_VariantOverrides = (output, context) => {
4246
+ return Object.entries(output).reduce((acc, [key, value]) => {
4247
+ if (value === null) {
4248
+ return acc;
4249
+ }
4250
+ acc[key] = de_ParameterOverrides(value, context);
4251
+ return acc;
4252
+ }, {});
4253
+ };
2594
4254
  const de_CandidateDto = (output, context) => {
2595
4255
  return (0, smithy_client_1.take)(output, {
2596
4256
  'distanceKm': smithy_client_1.limitedParseDouble,
@@ -2622,6 +4282,18 @@ const de_BirthDetails = (output, context) => {
2622
4282
  'timeZone': smithy_client_1.expectString,
2623
4283
  });
2624
4284
  };
4285
+ const de_ChatProfile = (output, context) => {
4286
+ return (0, smithy_client_1.take)(output, {
4287
+ 'age': smithy_client_1.expectInt32,
4288
+ 'avatarKey': smithy_client_1.expectString,
4289
+ 'birthDateOnFile': smithy_client_1.expectBoolean,
4290
+ 'birthDetails': (_) => de_BirthDetails(_, context),
4291
+ 'displayName': smithy_client_1.expectString,
4292
+ 'fieldModerationStatus': smithy_client_1._json,
4293
+ 'moderationStatus': smithy_client_1.expectString,
4294
+ 'userId': smithy_client_1.expectString,
4295
+ });
4296
+ };
2625
4297
  const deserializeMetadata = (output) => ({
2626
4298
  httpStatusCode: output.statusCode,
2627
4299
  requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
@@ -2630,11 +4302,23 @@ const deserializeMetadata = (output) => ({
2630
4302
  });
2631
4303
  const collectBodyString = (streamBody, context) => (0, smithy_client_1.collectBody)(streamBody, context).then(body => context.utf8Encoder(body));
2632
4304
  const _c = "category";
4305
+ const _d = "depth";
4306
+ const _di = "direction";
4307
+ const _eV = "expectedVersion";
4308
+ const _eVQ = "expectedVersionQuery";
2633
4309
  const _k = "key";
2634
4310
  const _l = "lat";
2635
4311
  const _la = "lang";
4312
+ const _li = "limit";
2636
4313
  const _lo = "lon";
2637
4314
  const _mI = "matchId";
4315
+ const _mT = "memberToken";
4316
+ const _nT = "nextToken";
4317
+ const _p = "platform";
2638
4318
  const _q = "q";
2639
4319
  const _rUI = "requestingUserId";
4320
+ const _vP = "viewPass";
4321
+ const _xomt = "x-onehook-member-token";
4322
+ const _xop = "x-onehook-platform";
2640
4323
  const _xoui = "x-onehook-user-id";
4324
+ const _xvp = "x-view-pass";