onehook-api-client 1.0.31 → 1.0.32

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 (41) hide show
  1. package/README.md +42 -0
  2. package/dist-cjs/OneHook.js +12 -0
  3. package/dist-cjs/commands/GetBirthDateStatusCommand.js +21 -0
  4. package/dist-cjs/commands/GetPlaceCommand.js +21 -0
  5. package/dist-cjs/commands/GetPreservationHoldCommand.js +21 -0
  6. package/dist-cjs/commands/RevokeUserAccessCommand.js +21 -0
  7. package/dist-cjs/commands/SearchPlacesCommand.js +21 -0
  8. package/dist-cjs/commands/SetPreservationHoldCommand.js +21 -0
  9. package/dist-cjs/commands/index.js +6 -0
  10. package/dist-cjs/protocols/Aws_restJson1.js +211 -4
  11. package/dist-cjs/telemetry/index.js +3 -3
  12. package/dist-es/OneHook.js +12 -0
  13. package/dist-es/commands/GetBirthDateStatusCommand.js +17 -0
  14. package/dist-es/commands/GetPlaceCommand.js +17 -0
  15. package/dist-es/commands/GetPreservationHoldCommand.js +17 -0
  16. package/dist-es/commands/RevokeUserAccessCommand.js +17 -0
  17. package/dist-es/commands/SearchPlacesCommand.js +17 -0
  18. package/dist-es/commands/SetPreservationHoldCommand.js +17 -0
  19. package/dist-es/commands/index.js +6 -0
  20. package/dist-es/protocols/Aws_restJson1.js +196 -1
  21. package/dist-es/telemetry/index.js +3 -3
  22. package/dist-types/OneHook.d.ts +42 -0
  23. package/dist-types/OneHookClient.d.ts +8 -2
  24. package/dist-types/commands/CorrectBirthDateCommand.d.ts +1 -1
  25. package/dist-types/commands/GetBirthDateStatusCommand.d.ts +89 -0
  26. package/dist-types/commands/GetMyProfileCommand.d.ts +1 -0
  27. package/dist-types/commands/GetPlaceCommand.d.ts +84 -0
  28. package/dist-types/commands/GetPreservationHoldCommand.d.ts +87 -0
  29. package/dist-types/commands/GetProfileCommand.d.ts +1 -0
  30. package/dist-types/commands/RevokeUserAccessCommand.d.ts +94 -0
  31. package/dist-types/commands/SearchPlacesCommand.d.ts +83 -0
  32. package/dist-types/commands/SetPreservationHoldCommand.d.ts +98 -0
  33. package/dist-types/commands/UpdateProfileCommand.d.ts +1 -1
  34. package/dist-types/commands/index.d.ts +6 -0
  35. package/dist-types/models/models_0.d.ts +205 -11
  36. package/dist-types/protocols/Aws_restJson1.d.ts +54 -0
  37. package/dist-types/telemetry/index.d.ts +2 -2
  38. package/package.json +1 -1
  39. package/telemetry/TelemetryCatalog.kt +5 -5
  40. package/telemetry/TelemetryCatalog.swift +5 -5
  41. package/telemetry/telemetry-catalog.json +4 -4
package/README.md CHANGED
@@ -325,6 +325,13 @@ GetCredentialReadiness
325
325
  </details>
326
326
  <details>
327
327
  <summary>
328
+ GetPreservationHold
329
+ </summary>
330
+
331
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/onehook/command/GetPreservationHoldCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-onehook/Interface/GetPreservationHoldCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-onehook/Interface/GetPreservationHoldCommandOutput/)
332
+ </details>
333
+ <details>
334
+ <summary>
328
335
  GetUser
329
336
  </summary>
330
337
 
@@ -388,6 +395,13 @@ RequestPhoneUpdateOtp
388
395
  </details>
389
396
  <details>
390
397
  <summary>
398
+ RevokeUserAccess
399
+ </summary>
400
+
401
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/onehook/command/RevokeUserAccessCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-onehook/Interface/RevokeUserAccessCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-onehook/Interface/RevokeUserAccessCommandOutput/)
402
+ </details>
403
+ <details>
404
+ <summary>
391
405
  SendAdminLinkOtp
392
406
  </summary>
393
407
 
@@ -402,6 +416,13 @@ SetAccountState
402
416
  </details>
403
417
  <details>
404
418
  <summary>
419
+ SetPreservationHold
420
+ </summary>
421
+
422
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/onehook/command/SetPreservationHoldCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-onehook/Interface/SetPreservationHoldCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-onehook/Interface/SetPreservationHoldCommandOutput/)
423
+ </details>
424
+ <details>
425
+ <summary>
405
426
  UnlinkSocial
406
427
  </summary>
407
428
 
@@ -563,6 +584,13 @@ GenerateUploadUrl
563
584
  </details>
564
585
  <details>
565
586
  <summary>
587
+ GetBirthDateStatus
588
+ </summary>
589
+
590
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/onehook/command/GetBirthDateStatusCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-onehook/Interface/GetBirthDateStatusCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-onehook/Interface/GetBirthDateStatusCommandOutput/)
591
+ </details>
592
+ <details>
593
+ <summary>
566
594
  GetLivenessStatus
567
595
  </summary>
568
596
 
@@ -577,6 +605,13 @@ GetMyProfile
577
605
  </details>
578
606
  <details>
579
607
  <summary>
608
+ GetPlace
609
+ </summary>
610
+
611
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/onehook/command/GetPlaceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-onehook/Interface/GetPlaceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-onehook/Interface/GetPlaceCommandOutput/)
612
+ </details>
613
+ <details>
614
+ <summary>
580
615
  GetProfile
581
616
  </summary>
582
617
 
@@ -584,6 +619,13 @@ GetProfile
584
619
  </details>
585
620
  <details>
586
621
  <summary>
622
+ SearchPlaces
623
+ </summary>
624
+
625
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/onehook/command/SearchPlacesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-onehook/Interface/SearchPlacesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-onehook/Interface/SearchPlacesCommandOutput/)
626
+ </details>
627
+ <details>
628
+ <summary>
587
629
  UpdateProfile
588
630
  </summary>
589
631
 
@@ -20,6 +20,7 @@ const GenerateUploadUrlCommand_1 = require("./commands/GenerateUploadUrlCommand"
20
20
  const GetAccountStateCommand_1 = require("./commands/GetAccountStateCommand");
21
21
  const GetAdminPhoneStatusCommand_1 = require("./commands/GetAdminPhoneStatusCommand");
22
22
  const GetAiContextMatchCommand_1 = require("./commands/GetAiContextMatchCommand");
23
+ const GetBirthDateStatusCommand_1 = require("./commands/GetBirthDateStatusCommand");
23
24
  const GetChatSettingsCommand_1 = require("./commands/GetChatSettingsCommand");
24
25
  const GetCredentialReadinessCommand_1 = require("./commands/GetCredentialReadinessCommand");
25
26
  const GetLivenessStatusCommand_1 = require("./commands/GetLivenessStatusCommand");
@@ -27,7 +28,9 @@ const GetMatchCommand_1 = require("./commands/GetMatchCommand");
27
28
  const GetMyProfileCommand_1 = require("./commands/GetMyProfileCommand");
28
29
  const GetNotificationPreferencesCommand_1 = require("./commands/GetNotificationPreferencesCommand");
29
30
  const GetParticipantRegistryCommand_1 = require("./commands/GetParticipantRegistryCommand");
31
+ const GetPlaceCommand_1 = require("./commands/GetPlaceCommand");
30
32
  const GetPreferencesCommand_1 = require("./commands/GetPreferencesCommand");
33
+ const GetPreservationHoldCommand_1 = require("./commands/GetPreservationHoldCommand");
31
34
  const GetProfileCommand_1 = require("./commands/GetProfileCommand");
32
35
  const GetReceivedLikesCommand_1 = require("./commands/GetReceivedLikesCommand");
33
36
  const GetRosesCommand_1 = require("./commands/GetRosesCommand");
@@ -49,8 +52,11 @@ const RequestEmailOtpCommand_1 = require("./commands/RequestEmailOtpCommand");
49
52
  const RequestPhoneOtpCommand_1 = require("./commands/RequestPhoneOtpCommand");
50
53
  const RequestPhoneUpdateOtpCommand_1 = require("./commands/RequestPhoneUpdateOtpCommand");
51
54
  const RevokeDeviceCommand_1 = require("./commands/RevokeDeviceCommand");
55
+ const RevokeUserAccessCommand_1 = require("./commands/RevokeUserAccessCommand");
56
+ const SearchPlacesCommand_1 = require("./commands/SearchPlacesCommand");
52
57
  const SendAdminLinkOtpCommand_1 = require("./commands/SendAdminLinkOtpCommand");
53
58
  const SetAccountStateCommand_1 = require("./commands/SetAccountStateCommand");
59
+ const SetPreservationHoldCommand_1 = require("./commands/SetPreservationHoldCommand");
54
60
  const SwipeByUsernameCommand_1 = require("./commands/SwipeByUsernameCommand");
55
61
  const SwipeCommand_1 = require("./commands/SwipeCommand");
56
62
  const UnhookCommand_1 = require("./commands/UnhookCommand");
@@ -84,6 +90,7 @@ const commands = {
84
90
  GetAccountStateCommand: GetAccountStateCommand_1.GetAccountStateCommand,
85
91
  GetAdminPhoneStatusCommand: GetAdminPhoneStatusCommand_1.GetAdminPhoneStatusCommand,
86
92
  GetCredentialReadinessCommand: GetCredentialReadinessCommand_1.GetCredentialReadinessCommand,
93
+ GetPreservationHoldCommand: GetPreservationHoldCommand_1.GetPreservationHoldCommand,
87
94
  GetUserCommand: GetUserCommand_1.GetUserCommand,
88
95
  GetUserByEmailCommand: GetUserByEmailCommand_1.GetUserByEmailCommand,
89
96
  GetUserIdByUsernameCommand: GetUserIdByUsernameCommand_1.GetUserIdByUsernameCommand,
@@ -93,8 +100,10 @@ const commands = {
93
100
  RequestEmailOtpCommand: RequestEmailOtpCommand_1.RequestEmailOtpCommand,
94
101
  RequestPhoneOtpCommand: RequestPhoneOtpCommand_1.RequestPhoneOtpCommand,
95
102
  RequestPhoneUpdateOtpCommand: RequestPhoneUpdateOtpCommand_1.RequestPhoneUpdateOtpCommand,
103
+ RevokeUserAccessCommand: RevokeUserAccessCommand_1.RevokeUserAccessCommand,
96
104
  SendAdminLinkOtpCommand: SendAdminLinkOtpCommand_1.SendAdminLinkOtpCommand,
97
105
  SetAccountStateCommand: SetAccountStateCommand_1.SetAccountStateCommand,
106
+ SetPreservationHoldCommand: SetPreservationHoldCommand_1.SetPreservationHoldCommand,
98
107
  UnlinkSocialCommand: UnlinkSocialCommand_1.UnlinkSocialCommand,
99
108
  UpdateEntitlementsCommand: UpdateEntitlementsCommand_1.UpdateEntitlementsCommand,
100
109
  UpdatePhoneNumberCommand: UpdatePhoneNumberCommand_1.UpdatePhoneNumberCommand,
@@ -118,9 +127,12 @@ const commands = {
118
127
  DeleteProfileCommand: DeleteProfileCommand_1.DeleteProfileCommand,
119
128
  GenerateDownloadUrlCommand: GenerateDownloadUrlCommand_1.GenerateDownloadUrlCommand,
120
129
  GenerateUploadUrlCommand: GenerateUploadUrlCommand_1.GenerateUploadUrlCommand,
130
+ GetBirthDateStatusCommand: GetBirthDateStatusCommand_1.GetBirthDateStatusCommand,
121
131
  GetLivenessStatusCommand: GetLivenessStatusCommand_1.GetLivenessStatusCommand,
122
132
  GetMyProfileCommand: GetMyProfileCommand_1.GetMyProfileCommand,
133
+ GetPlaceCommand: GetPlaceCommand_1.GetPlaceCommand,
123
134
  GetProfileCommand: GetProfileCommand_1.GetProfileCommand,
135
+ SearchPlacesCommand: SearchPlacesCommand_1.SearchPlacesCommand,
124
136
  UpdateProfileCommand: UpdateProfileCommand_1.UpdateProfileCommand,
125
137
  CompleteOnboardingCommand: CompleteOnboardingCommand_1.CompleteOnboardingCommand,
126
138
  GetMatchCommand: GetMatchCommand_1.GetMatchCommand,
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetBirthDateStatusCommand = exports.$Command = void 0;
4
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ class GetBirthDateStatusCommand extends smithy_client_1.Command.classBuilder()
9
+ .m(function (Command, cs, config, o) {
10
+ return [
11
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
+ ];
13
+ })
14
+ .s("OneHookService", "GetBirthDateStatus", {})
15
+ .n("OneHookClient", "GetBirthDateStatusCommand")
16
+ .f(void 0, void 0)
17
+ .ser(Aws_restJson1_1.se_GetBirthDateStatusCommand)
18
+ .de(Aws_restJson1_1.de_GetBirthDateStatusCommand)
19
+ .build() {
20
+ }
21
+ exports.GetBirthDateStatusCommand = GetBirthDateStatusCommand;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetPlaceCommand = exports.$Command = void 0;
4
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ class GetPlaceCommand extends smithy_client_1.Command.classBuilder()
9
+ .m(function (Command, cs, config, o) {
10
+ return [
11
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
+ ];
13
+ })
14
+ .s("OneHookService", "GetPlace", {})
15
+ .n("OneHookClient", "GetPlaceCommand")
16
+ .f(void 0, void 0)
17
+ .ser(Aws_restJson1_1.se_GetPlaceCommand)
18
+ .de(Aws_restJson1_1.de_GetPlaceCommand)
19
+ .build() {
20
+ }
21
+ exports.GetPlaceCommand = GetPlaceCommand;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetPreservationHoldCommand = exports.$Command = void 0;
4
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ class GetPreservationHoldCommand extends smithy_client_1.Command.classBuilder()
9
+ .m(function (Command, cs, config, o) {
10
+ return [
11
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
+ ];
13
+ })
14
+ .s("OneHookService", "GetPreservationHold", {})
15
+ .n("OneHookClient", "GetPreservationHoldCommand")
16
+ .f(void 0, void 0)
17
+ .ser(Aws_restJson1_1.se_GetPreservationHoldCommand)
18
+ .de(Aws_restJson1_1.de_GetPreservationHoldCommand)
19
+ .build() {
20
+ }
21
+ exports.GetPreservationHoldCommand = GetPreservationHoldCommand;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RevokeUserAccessCommand = exports.$Command = void 0;
4
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ class RevokeUserAccessCommand extends smithy_client_1.Command.classBuilder()
9
+ .m(function (Command, cs, config, o) {
10
+ return [
11
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
+ ];
13
+ })
14
+ .s("OneHookService", "RevokeUserAccess", {})
15
+ .n("OneHookClient", "RevokeUserAccessCommand")
16
+ .f(void 0, void 0)
17
+ .ser(Aws_restJson1_1.se_RevokeUserAccessCommand)
18
+ .de(Aws_restJson1_1.de_RevokeUserAccessCommand)
19
+ .build() {
20
+ }
21
+ exports.RevokeUserAccessCommand = RevokeUserAccessCommand;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SearchPlacesCommand = exports.$Command = void 0;
4
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ class SearchPlacesCommand extends smithy_client_1.Command.classBuilder()
9
+ .m(function (Command, cs, config, o) {
10
+ return [
11
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
+ ];
13
+ })
14
+ .s("OneHookService", "SearchPlaces", {})
15
+ .n("OneHookClient", "SearchPlacesCommand")
16
+ .f(void 0, void 0)
17
+ .ser(Aws_restJson1_1.se_SearchPlacesCommand)
18
+ .de(Aws_restJson1_1.de_SearchPlacesCommand)
19
+ .build() {
20
+ }
21
+ exports.SearchPlacesCommand = SearchPlacesCommand;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SetPreservationHoldCommand = exports.$Command = void 0;
4
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ class SetPreservationHoldCommand extends smithy_client_1.Command.classBuilder()
9
+ .m(function (Command, cs, config, o) {
10
+ return [
11
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
+ ];
13
+ })
14
+ .s("OneHookService", "SetPreservationHold", {})
15
+ .n("OneHookClient", "SetPreservationHoldCommand")
16
+ .f(void 0, void 0)
17
+ .ser(Aws_restJson1_1.se_SetPreservationHoldCommand)
18
+ .de(Aws_restJson1_1.de_SetPreservationHoldCommand)
19
+ .build() {
20
+ }
21
+ exports.SetPreservationHoldCommand = SetPreservationHoldCommand;
@@ -19,6 +19,7 @@ tslib_1.__exportStar(require("./GenerateInviteCommand"), exports);
19
19
  tslib_1.__exportStar(require("./GetAccountStateCommand"), exports);
20
20
  tslib_1.__exportStar(require("./GetAdminPhoneStatusCommand"), exports);
21
21
  tslib_1.__exportStar(require("./GetCredentialReadinessCommand"), exports);
22
+ tslib_1.__exportStar(require("./GetPreservationHoldCommand"), exports);
22
23
  tslib_1.__exportStar(require("./GetUserCommand"), exports);
23
24
  tslib_1.__exportStar(require("./GetUserByEmailCommand"), exports);
24
25
  tslib_1.__exportStar(require("./GetUserIdByUsernameCommand"), exports);
@@ -28,8 +29,10 @@ tslib_1.__exportStar(require("./RegisterPhoneCommand"), exports);
28
29
  tslib_1.__exportStar(require("./RequestEmailOtpCommand"), exports);
29
30
  tslib_1.__exportStar(require("./RequestPhoneOtpCommand"), exports);
30
31
  tslib_1.__exportStar(require("./RequestPhoneUpdateOtpCommand"), exports);
32
+ tslib_1.__exportStar(require("./RevokeUserAccessCommand"), exports);
31
33
  tslib_1.__exportStar(require("./SendAdminLinkOtpCommand"), exports);
32
34
  tslib_1.__exportStar(require("./SetAccountStateCommand"), exports);
35
+ tslib_1.__exportStar(require("./SetPreservationHoldCommand"), exports);
33
36
  tslib_1.__exportStar(require("./UnlinkSocialCommand"), exports);
34
37
  tslib_1.__exportStar(require("./UpdateEntitlementsCommand"), exports);
35
38
  tslib_1.__exportStar(require("./UpdatePhoneNumberCommand"), exports);
@@ -53,9 +56,12 @@ tslib_1.__exportStar(require("./CreateLivenessSessionCommand"), exports);
53
56
  tslib_1.__exportStar(require("./DeleteProfileCommand"), exports);
54
57
  tslib_1.__exportStar(require("./GenerateDownloadUrlCommand"), exports);
55
58
  tslib_1.__exportStar(require("./GenerateUploadUrlCommand"), exports);
59
+ tslib_1.__exportStar(require("./GetBirthDateStatusCommand"), exports);
56
60
  tslib_1.__exportStar(require("./GetLivenessStatusCommand"), exports);
57
61
  tslib_1.__exportStar(require("./GetMyProfileCommand"), exports);
62
+ tslib_1.__exportStar(require("./GetPlaceCommand"), exports);
58
63
  tslib_1.__exportStar(require("./GetProfileCommand"), exports);
64
+ tslib_1.__exportStar(require("./SearchPlacesCommand"), exports);
59
65
  tslib_1.__exportStar(require("./UpdateProfileCommand"), exports);
60
66
  tslib_1.__exportStar(require("./CompleteOnboardingCommand"), exports);
61
67
  tslib_1.__exportStar(require("./GetMatchCommand"), exports);
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.se_DeleteProfileCommand = exports.se_CreateLivenessSessionCommand = exports.se_CorrectBirthDateCommand = exports.se_CompleteLivenessSessionCommand = exports.se_UpdatePreferencesCommand = exports.se_SwipeByUsernameCommand = exports.se_SwipeCommand = exports.se_RemoveLocationCommand = exports.se_RecordSuggestionCommand = exports.se_IndexLocationCommand = exports.se_GetRosesCommand = exports.se_GetReceivedLikesCommand = exports.se_GetPreferencesCommand = exports.se_GetNotificationPreferencesCommand = exports.se_DiscoverCommand = exports.se_VerifyAdminLinkOtpCommand = exports.se_ValidateInviteCommand = exports.se_UpdateUsernameCommand = exports.se_UpdatePhoneNumberCommand = exports.se_UpdateEntitlementsCommand = exports.se_UnlinkSocialCommand = exports.se_SetAccountStateCommand = exports.se_SendAdminLinkOtpCommand = exports.se_RequestPhoneUpdateOtpCommand = exports.se_RequestPhoneOtpCommand = exports.se_RequestEmailOtpCommand = exports.se_RegisterPhoneCommand = exports.se_LinkSocialCommand = exports.se_LinkEmailCommand = exports.se_GetUserIdByUsernameCommand = exports.se_GetUserByEmailCommand = exports.se_GetUserCommand = exports.se_GetCredentialReadinessCommand = exports.se_GetAdminPhoneStatusCommand = exports.se_GetAccountStateCommand = exports.se_GenerateInviteCommand = exports.se_CreateAdminInviteCommand = exports.se_AuthSocialCommand = exports.se_UpdateChatSettingsCommand = exports.se_RevokeDeviceCommand = exports.se_RegisterPushTokenCommand = exports.se_RegisterDeviceCommand = exports.se_ListMyDevicesCommand = exports.se_GetParticipantRegistryCommand = exports.se_GetChatSettingsCommand = exports.se_DeletePushTokenCommand = exports.se_DeleteMatchMessagesCommand = exports.se_CreateMediaUploadUrlCommand = exports.se_CreateMediaDownloadUrlCommand = exports.se_GetAiContextMatchCommand = void 0;
4
- exports.de_GetPreferencesCommand = exports.de_GetNotificationPreferencesCommand = exports.de_DiscoverCommand = exports.de_VerifyAdminLinkOtpCommand = exports.de_ValidateInviteCommand = exports.de_UpdateUsernameCommand = exports.de_UpdatePhoneNumberCommand = exports.de_UpdateEntitlementsCommand = exports.de_UnlinkSocialCommand = exports.de_SetAccountStateCommand = exports.de_SendAdminLinkOtpCommand = exports.de_RequestPhoneUpdateOtpCommand = exports.de_RequestPhoneOtpCommand = exports.de_RequestEmailOtpCommand = exports.de_RegisterPhoneCommand = exports.de_LinkSocialCommand = exports.de_LinkEmailCommand = exports.de_GetUserIdByUsernameCommand = exports.de_GetUserByEmailCommand = exports.de_GetUserCommand = exports.de_GetCredentialReadinessCommand = exports.de_GetAdminPhoneStatusCommand = exports.de_GetAccountStateCommand = exports.de_GenerateInviteCommand = exports.de_CreateAdminInviteCommand = exports.de_AuthSocialCommand = exports.de_UpdateChatSettingsCommand = exports.de_RevokeDeviceCommand = exports.de_RegisterPushTokenCommand = exports.de_RegisterDeviceCommand = exports.de_ListMyDevicesCommand = exports.de_GetParticipantRegistryCommand = exports.de_GetChatSettingsCommand = exports.de_DeletePushTokenCommand = exports.de_DeleteMatchMessagesCommand = exports.de_CreateMediaUploadUrlCommand = exports.de_CreateMediaDownloadUrlCommand = exports.de_GetAiContextMatchCommand = exports.se_UpgradeUserCommand = exports.se_UnhookCommand = exports.se_InitUserCommand = exports.se_GetStateCommand = exports.se_GetMatchCommand = exports.se_CompleteOnboardingCommand = exports.se_UpdateProfileCommand = exports.se_GetProfileCommand = exports.se_GetMyProfileCommand = exports.se_GetLivenessStatusCommand = exports.se_GenerateUploadUrlCommand = exports.se_GenerateDownloadUrlCommand = void 0;
5
- exports.de_UpgradeUserCommand = exports.de_UnhookCommand = exports.de_InitUserCommand = exports.de_GetStateCommand = exports.de_GetMatchCommand = exports.de_CompleteOnboardingCommand = exports.de_UpdateProfileCommand = exports.de_GetProfileCommand = exports.de_GetMyProfileCommand = exports.de_GetLivenessStatusCommand = exports.de_GenerateUploadUrlCommand = exports.de_GenerateDownloadUrlCommand = exports.de_DeleteProfileCommand = exports.de_CreateLivenessSessionCommand = exports.de_CorrectBirthDateCommand = exports.de_CompleteLivenessSessionCommand = exports.de_UpdatePreferencesCommand = exports.de_SwipeByUsernameCommand = exports.de_SwipeCommand = exports.de_RemoveLocationCommand = exports.de_RecordSuggestionCommand = exports.de_IndexLocationCommand = exports.de_GetRosesCommand = exports.de_GetReceivedLikesCommand = void 0;
3
+ exports.se_CompleteLivenessSessionCommand = exports.se_UpdatePreferencesCommand = exports.se_SwipeByUsernameCommand = exports.se_SwipeCommand = exports.se_RemoveLocationCommand = exports.se_RecordSuggestionCommand = exports.se_IndexLocationCommand = exports.se_GetRosesCommand = exports.se_GetReceivedLikesCommand = exports.se_GetPreferencesCommand = exports.se_GetNotificationPreferencesCommand = exports.se_DiscoverCommand = exports.se_VerifyAdminLinkOtpCommand = exports.se_ValidateInviteCommand = exports.se_UpdateUsernameCommand = exports.se_UpdatePhoneNumberCommand = exports.se_UpdateEntitlementsCommand = exports.se_UnlinkSocialCommand = exports.se_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_SetPreservationHoldCommand = exports.de_SetAccountStateCommand = exports.de_SendAdminLinkOtpCommand = exports.de_RevokeUserAccessCommand = exports.de_RequestPhoneUpdateOtpCommand = exports.de_RequestPhoneOtpCommand = exports.de_RequestEmailOtpCommand = exports.de_RegisterPhoneCommand = exports.de_LinkSocialCommand = exports.de_LinkEmailCommand = exports.de_GetUserIdByUsernameCommand = exports.de_GetUserByEmailCommand = exports.de_GetUserCommand = exports.de_GetPreservationHoldCommand = exports.de_GetCredentialReadinessCommand = exports.de_GetAdminPhoneStatusCommand = exports.de_GetAccountStateCommand = exports.de_GenerateInviteCommand = exports.de_CreateAdminInviteCommand = exports.de_AuthSocialCommand = exports.de_UpdateChatSettingsCommand = exports.de_RevokeDeviceCommand = exports.de_RegisterPushTokenCommand = exports.de_RegisterDeviceCommand = exports.de_ListMyDevicesCommand = exports.de_GetParticipantRegistryCommand = exports.de_GetChatSettingsCommand = exports.de_DeletePushTokenCommand = exports.de_DeleteMatchMessagesCommand = exports.de_CreateMediaUploadUrlCommand = exports.de_CreateMediaDownloadUrlCommand = exports.de_GetAiContextMatchCommand = exports.se_UpgradeUserCommand = exports.se_UnhookCommand = exports.se_InitUserCommand = exports.se_GetStateCommand = exports.se_GetMatchCommand = exports.se_CompleteOnboardingCommand = exports.se_UpdateProfileCommand = exports.se_SearchPlacesCommand = exports.se_GetProfileCommand = exports.se_GetPlaceCommand = exports.se_GetMyProfileCommand = exports.se_GetLivenessStatusCommand = exports.se_GetBirthDateStatusCommand = exports.se_GenerateUploadUrlCommand = exports.se_GenerateDownloadUrlCommand = exports.se_DeleteProfileCommand = exports.se_CreateLivenessSessionCommand = exports.se_CorrectBirthDateCommand = void 0;
5
+ exports.de_UpgradeUserCommand = exports.de_UnhookCommand = exports.de_InitUserCommand = exports.de_GetStateCommand = exports.de_GetMatchCommand = exports.de_CompleteOnboardingCommand = exports.de_UpdateProfileCommand = exports.de_SearchPlacesCommand = exports.de_GetProfileCommand = exports.de_GetPlaceCommand = exports.de_GetMyProfileCommand = exports.de_GetLivenessStatusCommand = exports.de_GetBirthDateStatusCommand = exports.de_GenerateUploadUrlCommand = exports.de_GenerateDownloadUrlCommand = exports.de_DeleteProfileCommand = exports.de_CreateLivenessSessionCommand = exports.de_CorrectBirthDateCommand = exports.de_CompleteLivenessSessionCommand = exports.de_UpdatePreferencesCommand = exports.de_SwipeByUsernameCommand = exports.de_SwipeCommand = exports.de_RemoveLocationCommand = exports.de_RecordSuggestionCommand = exports.de_IndexLocationCommand = exports.de_GetRosesCommand = exports.de_GetReceivedLikesCommand = exports.de_GetPreferencesCommand = exports.de_GetNotificationPreferencesCommand = exports.de_DiscoverCommand = exports.de_VerifyAdminLinkOtpCommand = exports.de_ValidateInviteCommand = exports.de_UpdateUsernameCommand = exports.de_UpdatePhoneNumberCommand = exports.de_UpdateEntitlementsCommand = exports.de_UnlinkSocialCommand = void 0;
6
6
  const OneHookServiceException_1 = require("../models/OneHookServiceException");
7
7
  const models_0_1 = require("../models/models_0");
8
8
  const core_1 = require("@aws-sdk/core");
@@ -287,6 +287,18 @@ const se_GetCredentialReadinessCommand = async (input, context) => {
287
287
  return b.build();
288
288
  };
289
289
  exports.se_GetCredentialReadinessCommand = se_GetCredentialReadinessCommand;
290
+ const se_GetPreservationHoldCommand = async (input, context) => {
291
+ const b = (0, core_2.requestBuilder)(input, context);
292
+ const headers = {};
293
+ b.bp("/identity/admin/users/{userId}/preservation-hold");
294
+ b.p('userId', () => input.userId, '{userId}', false);
295
+ let body;
296
+ b.m("GET")
297
+ .h(headers)
298
+ .b(body);
299
+ return b.build();
300
+ };
301
+ exports.se_GetPreservationHoldCommand = se_GetPreservationHoldCommand;
290
302
  const se_GetUserCommand = async (input, context) => {
291
303
  const b = (0, core_2.requestBuilder)(input, context);
292
304
  const headers = {};
@@ -426,6 +438,18 @@ const se_RequestPhoneUpdateOtpCommand = async (input, context) => {
426
438
  return b.build();
427
439
  };
428
440
  exports.se_RequestPhoneUpdateOtpCommand = se_RequestPhoneUpdateOtpCommand;
441
+ const se_RevokeUserAccessCommand = async (input, context) => {
442
+ const b = (0, core_2.requestBuilder)(input, context);
443
+ const headers = {};
444
+ b.bp("/identity/admin/users/{userId}/revoke-access");
445
+ b.p('userId', () => input.userId, '{userId}', false);
446
+ let body;
447
+ b.m("POST")
448
+ .h(headers)
449
+ .b(body);
450
+ return b.build();
451
+ };
452
+ exports.se_RevokeUserAccessCommand = se_RevokeUserAccessCommand;
429
453
  const se_SendAdminLinkOtpCommand = async (input, context) => {
430
454
  const b = (0, core_2.requestBuilder)(input, context);
431
455
  const headers = {};
@@ -459,6 +483,28 @@ const se_SetAccountStateCommand = async (input, context) => {
459
483
  return b.build();
460
484
  };
461
485
  exports.se_SetAccountStateCommand = se_SetAccountStateCommand;
486
+ const se_SetPreservationHoldCommand = async (input, context) => {
487
+ const b = (0, core_2.requestBuilder)(input, context);
488
+ const headers = {
489
+ 'content-type': 'application/json',
490
+ };
491
+ b.bp("/identity/admin/users/{userId}/preservation-hold");
492
+ b.p('userId', () => input.userId, '{userId}', false);
493
+ let body;
494
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
495
+ 'active': [],
496
+ 'actor': [],
497
+ 'caseRef': [],
498
+ 'expectedVersion': [],
499
+ 'reasonCode': [],
500
+ 'until': [],
501
+ }));
502
+ b.m("PUT")
503
+ .h(headers)
504
+ .b(body);
505
+ return b.build();
506
+ };
507
+ exports.se_SetPreservationHoldCommand = se_SetPreservationHoldCommand;
462
508
  const se_UnlinkSocialCommand = async (input, context) => {
463
509
  const b = (0, core_2.requestBuilder)(input, context);
464
510
  const headers = {};
@@ -843,6 +889,18 @@ const se_GenerateUploadUrlCommand = async (input, context) => {
843
889
  return b.build();
844
890
  };
845
891
  exports.se_GenerateUploadUrlCommand = se_GenerateUploadUrlCommand;
892
+ const se_GetBirthDateStatusCommand = async (input, context) => {
893
+ const b = (0, core_2.requestBuilder)(input, context);
894
+ const headers = {};
895
+ b.bp("/profile-admin/{userId}/birth-date");
896
+ b.p('userId', () => input.userId, '{userId}', false);
897
+ let body;
898
+ b.m("GET")
899
+ .h(headers)
900
+ .b(body);
901
+ return b.build();
902
+ };
903
+ exports.se_GetBirthDateStatusCommand = se_GetBirthDateStatusCommand;
846
904
  const se_GetLivenessStatusCommand = async (input, context) => {
847
905
  const b = (0, core_2.requestBuilder)(input, context);
848
906
  const headers = {};
@@ -865,6 +923,22 @@ const se_GetMyProfileCommand = async (input, context) => {
865
923
  return b.build();
866
924
  };
867
925
  exports.se_GetMyProfileCommand = se_GetMyProfileCommand;
926
+ const se_GetPlaceCommand = async (input, context) => {
927
+ const b = (0, core_2.requestBuilder)(input, context);
928
+ const headers = {};
929
+ b.bp("/profile/places/{placeId}");
930
+ b.p('placeId', () => input.placeId, '{placeId}', false);
931
+ const query = (0, smithy_client_1.map)({
932
+ [_la]: [, input[_la]],
933
+ });
934
+ let body;
935
+ b.m("GET")
936
+ .h(headers)
937
+ .q(query)
938
+ .b(body);
939
+ return b.build();
940
+ };
941
+ exports.se_GetPlaceCommand = se_GetPlaceCommand;
868
942
  const se_GetProfileCommand = async (input, context) => {
869
943
  const b = (0, core_2.requestBuilder)(input, context);
870
944
  const headers = {};
@@ -877,6 +951,22 @@ const se_GetProfileCommand = async (input, context) => {
877
951
  return b.build();
878
952
  };
879
953
  exports.se_GetProfileCommand = se_GetProfileCommand;
954
+ const se_SearchPlacesCommand = async (input, context) => {
955
+ const b = (0, core_2.requestBuilder)(input, context);
956
+ const headers = {};
957
+ b.bp("/profile/places");
958
+ const query = (0, smithy_client_1.map)({
959
+ [_q]: [, (0, smithy_client_1.expectNonNull)(input[_q], `q`)],
960
+ [_la]: [, input[_la]],
961
+ });
962
+ let body;
963
+ b.m("GET")
964
+ .h(headers)
965
+ .q(query)
966
+ .b(body);
967
+ return b.build();
968
+ };
969
+ exports.se_SearchPlacesCommand = se_SearchPlacesCommand;
880
970
  const se_UpdateProfileCommand = async (input, context) => {
881
971
  const b = (0, core_2.requestBuilder)(input, context);
882
972
  const headers = {
@@ -885,7 +975,6 @@ const se_UpdateProfileCommand = async (input, context) => {
885
975
  b.bp("/profile");
886
976
  let body;
887
977
  body = JSON.stringify((0, smithy_client_1.take)(input, {
888
- 'age': [],
889
978
  'audioPrompt': [],
890
979
  'bio': [],
891
980
  'birthDetails': _ => se_BirthDetails(_, context),
@@ -1296,6 +1385,28 @@ const de_GetCredentialReadinessCommand = async (output, context) => {
1296
1385
  return contents;
1297
1386
  };
1298
1387
  exports.de_GetCredentialReadinessCommand = de_GetCredentialReadinessCommand;
1388
+ const de_GetPreservationHoldCommand = async (output, context) => {
1389
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1390
+ return de_CommandError(output, context);
1391
+ }
1392
+ const contents = (0, smithy_client_1.map)({
1393
+ $metadata: deserializeMetadata(output),
1394
+ });
1395
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1396
+ const doc = (0, smithy_client_1.take)(data, {
1397
+ 'active': smithy_client_1.expectBoolean,
1398
+ 'caseRef': smithy_client_1.expectString,
1399
+ 'childSafetySince': smithy_client_1.expectLong,
1400
+ 'reasonCode': smithy_client_1.expectString,
1401
+ 'setAt': smithy_client_1.expectLong,
1402
+ 'setBy': smithy_client_1.expectString,
1403
+ 'until': smithy_client_1.expectLong,
1404
+ 'version': smithy_client_1.expectInt32,
1405
+ });
1406
+ Object.assign(contents, doc);
1407
+ return contents;
1408
+ };
1409
+ exports.de_GetPreservationHoldCommand = de_GetPreservationHoldCommand;
1299
1410
  const de_GetUserCommand = async (output, context) => {
1300
1411
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1301
1412
  return de_CommandError(output, context);
@@ -1450,6 +1561,21 @@ const de_RequestPhoneUpdateOtpCommand = async (output, context) => {
1450
1561
  return contents;
1451
1562
  };
1452
1563
  exports.de_RequestPhoneUpdateOtpCommand = de_RequestPhoneUpdateOtpCommand;
1564
+ const de_RevokeUserAccessCommand = async (output, context) => {
1565
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1566
+ return de_CommandError(output, context);
1567
+ }
1568
+ const contents = (0, smithy_client_1.map)({
1569
+ $metadata: deserializeMetadata(output),
1570
+ });
1571
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1572
+ const doc = (0, smithy_client_1.take)(data, {
1573
+ 'status': smithy_client_1.expectString,
1574
+ });
1575
+ Object.assign(contents, doc);
1576
+ return contents;
1577
+ };
1578
+ exports.de_RevokeUserAccessCommand = de_RevokeUserAccessCommand;
1453
1579
  const de_SendAdminLinkOtpCommand = async (output, context) => {
1454
1580
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1455
1581
  return de_CommandError(output, context);
@@ -1483,6 +1609,24 @@ const de_SetAccountStateCommand = async (output, context) => {
1483
1609
  return contents;
1484
1610
  };
1485
1611
  exports.de_SetAccountStateCommand = de_SetAccountStateCommand;
1612
+ const de_SetPreservationHoldCommand = async (output, context) => {
1613
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1614
+ return de_CommandError(output, context);
1615
+ }
1616
+ const contents = (0, smithy_client_1.map)({
1617
+ $metadata: deserializeMetadata(output),
1618
+ });
1619
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
1620
+ const doc = (0, smithy_client_1.take)(data, {
1621
+ 'active': smithy_client_1.expectBoolean,
1622
+ 'reasonCode': smithy_client_1.expectString,
1623
+ 'until': smithy_client_1.expectLong,
1624
+ 'version': smithy_client_1.expectInt32,
1625
+ });
1626
+ Object.assign(contents, doc);
1627
+ return contents;
1628
+ };
1629
+ exports.de_SetPreservationHoldCommand = de_SetPreservationHoldCommand;
1486
1630
  const de_UnlinkSocialCommand = async (output, context) => {
1487
1631
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1488
1632
  return de_CommandError(output, context);
@@ -1887,6 +2031,31 @@ const de_GenerateUploadUrlCommand = async (output, context) => {
1887
2031
  return contents;
1888
2032
  };
1889
2033
  exports.de_GenerateUploadUrlCommand = de_GenerateUploadUrlCommand;
2034
+ const de_GetBirthDateStatusCommand = async (output, context) => {
2035
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2036
+ return de_CommandError(output, context);
2037
+ }
2038
+ const contents = (0, smithy_client_1.map)({
2039
+ $metadata: deserializeMetadata(output),
2040
+ });
2041
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
2042
+ const doc = (0, smithy_client_1.take)(data, {
2043
+ 'age': smithy_client_1.expectInt32,
2044
+ 'birthDateOnFile': smithy_client_1.expectBoolean,
2045
+ 'correctionsRemaining': smithy_client_1.expectInt32,
2046
+ 'correctionsUsed': smithy_client_1.expectInt32,
2047
+ 'date': smithy_client_1.expectString,
2048
+ 'lastCorrectedAt': smithy_client_1.expectLong,
2049
+ 'lastCorrectedBy': smithy_client_1.expectString,
2050
+ 'lastReason': smithy_client_1.expectString,
2051
+ 'lastReference': smithy_client_1.expectString,
2052
+ 'provisional': smithy_client_1.expectBoolean,
2053
+ 'userId': smithy_client_1.expectString,
2054
+ });
2055
+ Object.assign(contents, doc);
2056
+ return contents;
2057
+ };
2058
+ exports.de_GetBirthDateStatusCommand = de_GetBirthDateStatusCommand;
1890
2059
  const de_GetLivenessStatusCommand = async (output, context) => {
1891
2060
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1892
2061
  return de_CommandError(output, context);
@@ -1957,6 +2126,25 @@ const de_GetMyProfileCommand = async (output, context) => {
1957
2126
  return contents;
1958
2127
  };
1959
2128
  exports.de_GetMyProfileCommand = de_GetMyProfileCommand;
2129
+ const de_GetPlaceCommand = async (output, context) => {
2130
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2131
+ return de_CommandError(output, context);
2132
+ }
2133
+ const contents = (0, smithy_client_1.map)({
2134
+ $metadata: deserializeMetadata(output),
2135
+ });
2136
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
2137
+ const doc = (0, smithy_client_1.take)(data, {
2138
+ 'label': smithy_client_1.expectString,
2139
+ 'latitude': smithy_client_1.limitedParseDouble,
2140
+ 'longitude': smithy_client_1.limitedParseDouble,
2141
+ 'placeId': smithy_client_1.expectString,
2142
+ 'timeZone': smithy_client_1.expectString,
2143
+ });
2144
+ Object.assign(contents, doc);
2145
+ return contents;
2146
+ };
2147
+ exports.de_GetPlaceCommand = de_GetPlaceCommand;
1960
2148
  const de_GetProfileCommand = async (output, context) => {
1961
2149
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1962
2150
  return de_CommandError(output, context);
@@ -2012,6 +2200,21 @@ const de_GetProfileCommand = async (output, context) => {
2012
2200
  return contents;
2013
2201
  };
2014
2202
  exports.de_GetProfileCommand = de_GetProfileCommand;
2203
+ const de_SearchPlacesCommand = async (output, context) => {
2204
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2205
+ return de_CommandError(output, context);
2206
+ }
2207
+ const contents = (0, smithy_client_1.map)({
2208
+ $metadata: deserializeMetadata(output),
2209
+ });
2210
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
2211
+ const doc = (0, smithy_client_1.take)(data, {
2212
+ 'places': smithy_client_1._json,
2213
+ });
2214
+ Object.assign(contents, doc);
2215
+ return contents;
2216
+ };
2217
+ exports.de_SearchPlacesCommand = de_SearchPlacesCommand;
2015
2218
  const de_UpdateProfileCommand = async (output, context) => {
2016
2219
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2017
2220
  return de_CommandError(output, context);
@@ -2253,6 +2456,7 @@ const se_BirthDetails = (input, context) => {
2253
2456
  'date': [],
2254
2457
  'latitude': smithy_client_1.serializeFloat,
2255
2458
  'longitude': smithy_client_1.serializeFloat,
2459
+ 'placeName': [],
2256
2460
  'provisional': [],
2257
2461
  'time': [],
2258
2462
  'timeZone': [],
@@ -2282,6 +2486,7 @@ const de_BirthDetails = (output, context) => {
2282
2486
  'date': smithy_client_1.expectString,
2283
2487
  'latitude': smithy_client_1.limitedParseDouble,
2284
2488
  'longitude': smithy_client_1.limitedParseDouble,
2489
+ 'placeName': smithy_client_1.expectString,
2285
2490
  'provisional': smithy_client_1.expectBoolean,
2286
2491
  'time': smithy_client_1.expectString,
2287
2492
  'timeZone': smithy_client_1.expectString,
@@ -2297,7 +2502,9 @@ const collectBodyString = (streamBody, context) => (0, smithy_client_1.collectBo
2297
2502
  const _c = "category";
2298
2503
  const _k = "key";
2299
2504
  const _l = "lat";
2505
+ const _la = "lang";
2300
2506
  const _lo = "lon";
2301
2507
  const _mI = "matchId";
2508
+ const _q = "q";
2302
2509
  const _rUI = "requestingUserId";
2303
2510
  const _xoui = "x-onehook-user-id";