onehook-api-client 1.0.32 → 1.0.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +21 -0
- package/dist-cjs/OneHook.js +6 -0
- package/dist-cjs/commands/GetSuggestionsCommand.js +21 -0
- package/dist-cjs/commands/RemoveOneHookSuggestionCommand.js +21 -0
- package/dist-cjs/commands/RemoveSuggestionCommand.js +21 -0
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/protocols/Aws_restJson1.js +75 -3
- package/dist-cjs/telemetry/index.js +18 -2
- package/dist-es/OneHook.js +6 -0
- package/dist-es/commands/GetSuggestionsCommand.js +17 -0
- package/dist-es/commands/RemoveOneHookSuggestionCommand.js +17 -0
- package/dist-es/commands/RemoveSuggestionCommand.js +17 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/protocols/Aws_restJson1.js +66 -0
- package/dist-es/telemetry/index.js +18 -2
- package/dist-types/OneHook.d.ts +24 -0
- package/dist-types/OneHookClient.d.ts +5 -2
- package/dist-types/commands/GetPreferencesCommand.d.ts +5 -0
- package/dist-types/commands/GetSuggestionsCommand.d.ts +84 -0
- package/dist-types/commands/RecordSuggestionCommand.d.ts +5 -5
- package/dist-types/commands/RemoveOneHookSuggestionCommand.d.ts +72 -0
- package/dist-types/commands/RemoveSuggestionCommand.d.ts +72 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +62 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
- package/dist-types/telemetry/index.d.ts +10 -2
- package/package.json +1 -1
- package/telemetry/TelemetryCatalog.kt +12 -4
- package/telemetry/TelemetryCatalog.swift +20 -4
- package/telemetry/telemetry-catalog.json +136 -2
package/README.md
CHANGED
|
@@ -500,6 +500,13 @@ GetRoses
|
|
|
500
500
|
</details>
|
|
501
501
|
<details>
|
|
502
502
|
<summary>
|
|
503
|
+
GetSuggestions
|
|
504
|
+
</summary>
|
|
505
|
+
|
|
506
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/onehook/command/GetSuggestionsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-onehook/Interface/GetSuggestionsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-onehook/Interface/GetSuggestionsCommandOutput/)
|
|
507
|
+
</details>
|
|
508
|
+
<details>
|
|
509
|
+
<summary>
|
|
503
510
|
IndexLocation
|
|
504
511
|
</summary>
|
|
505
512
|
|
|
@@ -521,6 +528,20 @@ RemoveLocation
|
|
|
521
528
|
</details>
|
|
522
529
|
<details>
|
|
523
530
|
<summary>
|
|
531
|
+
RemoveOneHookSuggestion
|
|
532
|
+
</summary>
|
|
533
|
+
|
|
534
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/onehook/command/RemoveOneHookSuggestionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-onehook/Interface/RemoveOneHookSuggestionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-onehook/Interface/RemoveOneHookSuggestionCommandOutput/)
|
|
535
|
+
</details>
|
|
536
|
+
<details>
|
|
537
|
+
<summary>
|
|
538
|
+
RemoveSuggestion
|
|
539
|
+
</summary>
|
|
540
|
+
|
|
541
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/onehook/command/RemoveSuggestionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-onehook/Interface/RemoveSuggestionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-onehook/Interface/RemoveSuggestionCommandOutput/)
|
|
542
|
+
</details>
|
|
543
|
+
<details>
|
|
544
|
+
<summary>
|
|
524
545
|
Swipe
|
|
525
546
|
</summary>
|
|
526
547
|
|
package/dist-cjs/OneHook.js
CHANGED
|
@@ -35,6 +35,7 @@ const GetProfileCommand_1 = require("./commands/GetProfileCommand");
|
|
|
35
35
|
const GetReceivedLikesCommand_1 = require("./commands/GetReceivedLikesCommand");
|
|
36
36
|
const GetRosesCommand_1 = require("./commands/GetRosesCommand");
|
|
37
37
|
const GetStateCommand_1 = require("./commands/GetStateCommand");
|
|
38
|
+
const GetSuggestionsCommand_1 = require("./commands/GetSuggestionsCommand");
|
|
38
39
|
const GetUserByEmailCommand_1 = require("./commands/GetUserByEmailCommand");
|
|
39
40
|
const GetUserCommand_1 = require("./commands/GetUserCommand");
|
|
40
41
|
const GetUserIdByUsernameCommand_1 = require("./commands/GetUserIdByUsernameCommand");
|
|
@@ -48,6 +49,8 @@ const RegisterDeviceCommand_1 = require("./commands/RegisterDeviceCommand");
|
|
|
48
49
|
const RegisterPhoneCommand_1 = require("./commands/RegisterPhoneCommand");
|
|
49
50
|
const RegisterPushTokenCommand_1 = require("./commands/RegisterPushTokenCommand");
|
|
50
51
|
const RemoveLocationCommand_1 = require("./commands/RemoveLocationCommand");
|
|
52
|
+
const RemoveOneHookSuggestionCommand_1 = require("./commands/RemoveOneHookSuggestionCommand");
|
|
53
|
+
const RemoveSuggestionCommand_1 = require("./commands/RemoveSuggestionCommand");
|
|
51
54
|
const RequestEmailOtpCommand_1 = require("./commands/RequestEmailOtpCommand");
|
|
52
55
|
const RequestPhoneOtpCommand_1 = require("./commands/RequestPhoneOtpCommand");
|
|
53
56
|
const RequestPhoneUpdateOtpCommand_1 = require("./commands/RequestPhoneUpdateOtpCommand");
|
|
@@ -115,9 +118,12 @@ const commands = {
|
|
|
115
118
|
GetPreferencesCommand: GetPreferencesCommand_1.GetPreferencesCommand,
|
|
116
119
|
GetReceivedLikesCommand: GetReceivedLikesCommand_1.GetReceivedLikesCommand,
|
|
117
120
|
GetRosesCommand: GetRosesCommand_1.GetRosesCommand,
|
|
121
|
+
GetSuggestionsCommand: GetSuggestionsCommand_1.GetSuggestionsCommand,
|
|
118
122
|
IndexLocationCommand: IndexLocationCommand_1.IndexLocationCommand,
|
|
119
123
|
RecordSuggestionCommand: RecordSuggestionCommand_1.RecordSuggestionCommand,
|
|
120
124
|
RemoveLocationCommand: RemoveLocationCommand_1.RemoveLocationCommand,
|
|
125
|
+
RemoveOneHookSuggestionCommand: RemoveOneHookSuggestionCommand_1.RemoveOneHookSuggestionCommand,
|
|
126
|
+
RemoveSuggestionCommand: RemoveSuggestionCommand_1.RemoveSuggestionCommand,
|
|
121
127
|
SwipeCommand: SwipeCommand_1.SwipeCommand,
|
|
122
128
|
SwipeByUsernameCommand: SwipeByUsernameCommand_1.SwipeByUsernameCommand,
|
|
123
129
|
UpdatePreferencesCommand: UpdatePreferencesCommand_1.UpdatePreferencesCommand,
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetSuggestionsCommand = 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 GetSuggestionsCommand 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", "GetSuggestions", {})
|
|
15
|
+
.n("OneHookClient", "GetSuggestionsCommand")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_GetSuggestionsCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_GetSuggestionsCommand)
|
|
19
|
+
.build() {
|
|
20
|
+
}
|
|
21
|
+
exports.GetSuggestionsCommand = GetSuggestionsCommand;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RemoveOneHookSuggestionCommand = 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 RemoveOneHookSuggestionCommand 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", "RemoveOneHookSuggestion", {})
|
|
15
|
+
.n("OneHookClient", "RemoveOneHookSuggestionCommand")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_RemoveOneHookSuggestionCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_RemoveOneHookSuggestionCommand)
|
|
19
|
+
.build() {
|
|
20
|
+
}
|
|
21
|
+
exports.RemoveOneHookSuggestionCommand = RemoveOneHookSuggestionCommand;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RemoveSuggestionCommand = 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 RemoveSuggestionCommand 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", "RemoveSuggestion", {})
|
|
15
|
+
.n("OneHookClient", "RemoveSuggestionCommand")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_RemoveSuggestionCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_RemoveSuggestionCommand)
|
|
19
|
+
.build() {
|
|
20
|
+
}
|
|
21
|
+
exports.RemoveSuggestionCommand = RemoveSuggestionCommand;
|
|
@@ -44,9 +44,12 @@ tslib_1.__exportStar(require("./GetNotificationPreferencesCommand"), exports);
|
|
|
44
44
|
tslib_1.__exportStar(require("./GetPreferencesCommand"), exports);
|
|
45
45
|
tslib_1.__exportStar(require("./GetReceivedLikesCommand"), exports);
|
|
46
46
|
tslib_1.__exportStar(require("./GetRosesCommand"), exports);
|
|
47
|
+
tslib_1.__exportStar(require("./GetSuggestionsCommand"), exports);
|
|
47
48
|
tslib_1.__exportStar(require("./IndexLocationCommand"), exports);
|
|
48
49
|
tslib_1.__exportStar(require("./RecordSuggestionCommand"), exports);
|
|
49
50
|
tslib_1.__exportStar(require("./RemoveLocationCommand"), exports);
|
|
51
|
+
tslib_1.__exportStar(require("./RemoveOneHookSuggestionCommand"), exports);
|
|
52
|
+
tslib_1.__exportStar(require("./RemoveSuggestionCommand"), exports);
|
|
50
53
|
tslib_1.__exportStar(require("./SwipeCommand"), exports);
|
|
51
54
|
tslib_1.__exportStar(require("./SwipeByUsernameCommand"), exports);
|
|
52
55
|
tslib_1.__exportStar(require("./UpdatePreferencesCommand"), exports);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
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;
|
|
3
|
+
exports.se_SwipeCommand = exports.se_RemoveSuggestionCommand = exports.se_RemoveOneHookSuggestionCommand = exports.se_RemoveLocationCommand = exports.se_RecordSuggestionCommand = exports.se_IndexLocationCommand = exports.se_GetSuggestionsCommand = exports.se_GetRosesCommand = exports.se_GetReceivedLikesCommand = exports.se_GetPreferencesCommand = exports.se_GetNotificationPreferencesCommand = exports.se_DiscoverCommand = exports.se_VerifyAdminLinkOtpCommand = exports.se_ValidateInviteCommand = exports.se_UpdateUsernameCommand = exports.se_UpdatePhoneNumberCommand = exports.se_UpdateEntitlementsCommand = exports.se_UnlinkSocialCommand = exports.se_SetPreservationHoldCommand = exports.se_SetAccountStateCommand = exports.se_SendAdminLinkOtpCommand = exports.se_RevokeUserAccessCommand = exports.se_RequestPhoneUpdateOtpCommand = exports.se_RequestPhoneOtpCommand = exports.se_RequestEmailOtpCommand = exports.se_RegisterPhoneCommand = exports.se_LinkSocialCommand = exports.se_LinkEmailCommand = exports.se_GetUserIdByUsernameCommand = exports.se_GetUserByEmailCommand = exports.se_GetUserCommand = exports.se_GetPreservationHoldCommand = exports.se_GetCredentialReadinessCommand = exports.se_GetAdminPhoneStatusCommand = exports.se_GetAccountStateCommand = exports.se_GenerateInviteCommand = exports.se_CreateAdminInviteCommand = exports.se_AuthSocialCommand = exports.se_UpdateChatSettingsCommand = exports.se_RevokeDeviceCommand = exports.se_RegisterPushTokenCommand = exports.se_RegisterDeviceCommand = exports.se_ListMyDevicesCommand = exports.se_GetParticipantRegistryCommand = exports.se_GetChatSettingsCommand = exports.se_DeletePushTokenCommand = exports.se_DeleteMatchMessagesCommand = exports.se_CreateMediaUploadUrlCommand = exports.se_CreateMediaDownloadUrlCommand = exports.se_GetAiContextMatchCommand = void 0;
|
|
4
|
+
exports.de_RevokeUserAccessCommand = exports.de_RequestPhoneUpdateOtpCommand = exports.de_RequestPhoneOtpCommand = exports.de_RequestEmailOtpCommand = exports.de_RegisterPhoneCommand = exports.de_LinkSocialCommand = exports.de_LinkEmailCommand = exports.de_GetUserIdByUsernameCommand = exports.de_GetUserByEmailCommand = exports.de_GetUserCommand = exports.de_GetPreservationHoldCommand = exports.de_GetCredentialReadinessCommand = exports.de_GetAdminPhoneStatusCommand = exports.de_GetAccountStateCommand = exports.de_GenerateInviteCommand = exports.de_CreateAdminInviteCommand = exports.de_AuthSocialCommand = exports.de_UpdateChatSettingsCommand = exports.de_RevokeDeviceCommand = exports.de_RegisterPushTokenCommand = exports.de_RegisterDeviceCommand = exports.de_ListMyDevicesCommand = exports.de_GetParticipantRegistryCommand = exports.de_GetChatSettingsCommand = exports.de_DeletePushTokenCommand = exports.de_DeleteMatchMessagesCommand = exports.de_CreateMediaUploadUrlCommand = exports.de_CreateMediaDownloadUrlCommand = exports.de_GetAiContextMatchCommand = exports.se_UpgradeUserCommand = exports.se_UnhookCommand = exports.se_InitUserCommand = exports.se_GetStateCommand = exports.se_GetMatchCommand = exports.se_CompleteOnboardingCommand = exports.se_UpdateProfileCommand = exports.se_SearchPlacesCommand = exports.se_GetProfileCommand = exports.se_GetPlaceCommand = exports.se_GetMyProfileCommand = exports.se_GetLivenessStatusCommand = exports.se_GetBirthDateStatusCommand = exports.se_GenerateUploadUrlCommand = exports.se_GenerateDownloadUrlCommand = exports.se_DeleteProfileCommand = exports.se_CreateLivenessSessionCommand = exports.se_CorrectBirthDateCommand = exports.se_CompleteLivenessSessionCommand = exports.se_UpdatePreferencesCommand = exports.se_SwipeByUsernameCommand = void 0;
|
|
5
|
+
exports.de_UpgradeUserCommand = exports.de_UnhookCommand = exports.de_InitUserCommand = exports.de_GetStateCommand = exports.de_GetMatchCommand = exports.de_CompleteOnboardingCommand = exports.de_UpdateProfileCommand = exports.de_SearchPlacesCommand = exports.de_GetProfileCommand = exports.de_GetPlaceCommand = exports.de_GetMyProfileCommand = exports.de_GetLivenessStatusCommand = exports.de_GetBirthDateStatusCommand = exports.de_GenerateUploadUrlCommand = exports.de_GenerateDownloadUrlCommand = exports.de_DeleteProfileCommand = exports.de_CreateLivenessSessionCommand = exports.de_CorrectBirthDateCommand = exports.de_CompleteLivenessSessionCommand = exports.de_UpdatePreferencesCommand = exports.de_SwipeByUsernameCommand = exports.de_SwipeCommand = exports.de_RemoveSuggestionCommand = exports.de_RemoveOneHookSuggestionCommand = exports.de_RemoveLocationCommand = exports.de_RecordSuggestionCommand = exports.de_IndexLocationCommand = exports.de_GetSuggestionsCommand = exports.de_GetRosesCommand = exports.de_GetReceivedLikesCommand = exports.de_GetPreferencesCommand = exports.de_GetNotificationPreferencesCommand = exports.de_DiscoverCommand = exports.de_VerifyAdminLinkOtpCommand = exports.de_ValidateInviteCommand = exports.de_UpdateUsernameCommand = exports.de_UpdatePhoneNumberCommand = exports.de_UpdateEntitlementsCommand = exports.de_UnlinkSocialCommand = exports.de_SetPreservationHoldCommand = exports.de_SetAccountStateCommand = exports.de_SendAdminLinkOtpCommand = void 0;
|
|
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");
|
|
@@ -662,6 +662,17 @@ const se_GetRosesCommand = async (input, context) => {
|
|
|
662
662
|
return b.build();
|
|
663
663
|
};
|
|
664
664
|
exports.se_GetRosesCommand = se_GetRosesCommand;
|
|
665
|
+
const se_GetSuggestionsCommand = async (input, context) => {
|
|
666
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
667
|
+
const headers = {};
|
|
668
|
+
b.bp("/matching/suggestions");
|
|
669
|
+
let body;
|
|
670
|
+
b.m("GET")
|
|
671
|
+
.h(headers)
|
|
672
|
+
.b(body);
|
|
673
|
+
return b.build();
|
|
674
|
+
};
|
|
675
|
+
exports.se_GetSuggestionsCommand = se_GetSuggestionsCommand;
|
|
665
676
|
const se_IndexLocationCommand = async (input, context) => {
|
|
666
677
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
667
678
|
const headers = {
|
|
@@ -713,6 +724,28 @@ const se_RemoveLocationCommand = async (input, context) => {
|
|
|
713
724
|
return b.build();
|
|
714
725
|
};
|
|
715
726
|
exports.se_RemoveLocationCommand = se_RemoveLocationCommand;
|
|
727
|
+
const se_RemoveOneHookSuggestionCommand = async (input, context) => {
|
|
728
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
729
|
+
const headers = {};
|
|
730
|
+
b.bp("/matching/suggestions/onehook");
|
|
731
|
+
let body;
|
|
732
|
+
b.m("DELETE")
|
|
733
|
+
.h(headers)
|
|
734
|
+
.b(body);
|
|
735
|
+
return b.build();
|
|
736
|
+
};
|
|
737
|
+
exports.se_RemoveOneHookSuggestionCommand = se_RemoveOneHookSuggestionCommand;
|
|
738
|
+
const se_RemoveSuggestionCommand = async (input, context) => {
|
|
739
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
740
|
+
const headers = {};
|
|
741
|
+
b.bp("/matching/suggestions");
|
|
742
|
+
let body;
|
|
743
|
+
b.m("DELETE")
|
|
744
|
+
.h(headers)
|
|
745
|
+
.b(body);
|
|
746
|
+
return b.build();
|
|
747
|
+
};
|
|
748
|
+
exports.se_RemoveSuggestionCommand = se_RemoveSuggestionCommand;
|
|
716
749
|
const se_SwipeCommand = async (input, context) => {
|
|
717
750
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
718
751
|
const headers = {
|
|
@@ -1772,6 +1805,7 @@ const de_GetPreferencesCommand = async (output, context) => {
|
|
|
1772
1805
|
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
|
|
1773
1806
|
const doc = (0, smithy_client_1.take)(data, {
|
|
1774
1807
|
'cannabis': smithy_client_1.expectString,
|
|
1808
|
+
'currentSuggestion': smithy_client_1._json,
|
|
1775
1809
|
'dealbreakers': smithy_client_1._json,
|
|
1776
1810
|
'discoverable': smithy_client_1.expectBoolean,
|
|
1777
1811
|
'distanceUnit': smithy_client_1.expectString,
|
|
@@ -1842,6 +1876,22 @@ const de_GetRosesCommand = async (output, context) => {
|
|
|
1842
1876
|
return contents;
|
|
1843
1877
|
};
|
|
1844
1878
|
exports.de_GetRosesCommand = de_GetRosesCommand;
|
|
1879
|
+
const de_GetSuggestionsCommand = async (output, context) => {
|
|
1880
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1881
|
+
return de_CommandError(output, context);
|
|
1882
|
+
}
|
|
1883
|
+
const contents = (0, smithy_client_1.map)({
|
|
1884
|
+
$metadata: deserializeMetadata(output),
|
|
1885
|
+
});
|
|
1886
|
+
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
|
|
1887
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1888
|
+
'oneHook': smithy_client_1._json,
|
|
1889
|
+
'own': smithy_client_1._json,
|
|
1890
|
+
});
|
|
1891
|
+
Object.assign(contents, doc);
|
|
1892
|
+
return contents;
|
|
1893
|
+
};
|
|
1894
|
+
exports.de_GetSuggestionsCommand = de_GetSuggestionsCommand;
|
|
1845
1895
|
const de_IndexLocationCommand = async (output, context) => {
|
|
1846
1896
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1847
1897
|
return de_CommandError(output, context);
|
|
@@ -1887,6 +1937,28 @@ const de_RemoveLocationCommand = async (output, context) => {
|
|
|
1887
1937
|
return contents;
|
|
1888
1938
|
};
|
|
1889
1939
|
exports.de_RemoveLocationCommand = de_RemoveLocationCommand;
|
|
1940
|
+
const de_RemoveOneHookSuggestionCommand = async (output, context) => {
|
|
1941
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1942
|
+
return de_CommandError(output, context);
|
|
1943
|
+
}
|
|
1944
|
+
const contents = (0, smithy_client_1.map)({
|
|
1945
|
+
$metadata: deserializeMetadata(output),
|
|
1946
|
+
});
|
|
1947
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1948
|
+
return contents;
|
|
1949
|
+
};
|
|
1950
|
+
exports.de_RemoveOneHookSuggestionCommand = de_RemoveOneHookSuggestionCommand;
|
|
1951
|
+
const de_RemoveSuggestionCommand = async (output, context) => {
|
|
1952
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1953
|
+
return de_CommandError(output, context);
|
|
1954
|
+
}
|
|
1955
|
+
const contents = (0, smithy_client_1.map)({
|
|
1956
|
+
$metadata: deserializeMetadata(output),
|
|
1957
|
+
});
|
|
1958
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1959
|
+
return contents;
|
|
1960
|
+
};
|
|
1961
|
+
exports.de_RemoveSuggestionCommand = de_RemoveSuggestionCommand;
|
|
1890
1962
|
const de_SwipeCommand = async (output, context) => {
|
|
1891
1963
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1892
1964
|
return de_CommandError(output, context);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.isUiElementId = exports.TELEMETRY_EXEMPT_CATEGORIES = exports.uiElementsForPlatform = exports.UI_ELEMENTS = exports.UiElement = exports.ReportEvent = exports.ReportSource = exports.ReportCategory = exports.HookedStateAction = exports.NotificationChannel = exports.NotificationType = exports.CardVariant = exports.SafetyAction = exports.LikeTargetType = exports.ProfileSection = exports.MediaType = exports.SwipeDirection = exports.UiElementKind = exports.UiAction = exports.TabScreen = exports.ViewableScreen = exports.Screen = exports.Platform = exports.SignalType = exports.TELEMETRY_CATALOG_HASH = exports.TELEMETRY_CATALOG_VERSION = void 0;
|
|
4
|
-
exports.TELEMETRY_CATALOG_VERSION = "1.
|
|
5
|
-
exports.TELEMETRY_CATALOG_HASH = "
|
|
4
|
+
exports.TELEMETRY_CATALOG_VERSION = "1.11.0";
|
|
5
|
+
exports.TELEMETRY_CATALOG_HASH = "12c7d6d70211f79c";
|
|
6
6
|
exports.SignalType = {
|
|
7
7
|
SCREEN_VIEW: "screen_view",
|
|
8
8
|
UI_INTERACTION: "ui_interaction",
|
|
@@ -337,6 +337,11 @@ exports.UiElement = {
|
|
|
337
337
|
CHAT_MR_ONEHOOK_CONTEXT_SHARE: "chat.mr_onehook_context_share",
|
|
338
338
|
CHAT_MR_ONEHOOK_SCOPE_OPEN: "chat.mr_onehook_scope_open",
|
|
339
339
|
CHAT_MR_ONEHOOK_SCOPE_SELECT: "chat.mr_onehook_scope_select",
|
|
340
|
+
CHAT_MR_ONEHOOK_SESSIONS_OPEN: "chat.mr_onehook_sessions_open",
|
|
341
|
+
CHAT_MR_ONEHOOK_SESSION_RESUME: "chat.mr_onehook_session_resume",
|
|
342
|
+
CHAT_MR_ONEHOOK_SESSION_DELETE: "chat.mr_onehook_session_delete",
|
|
343
|
+
CHAT_MR_ONEHOOK_SESSION_NEW: "chat.mr_onehook_session_new",
|
|
344
|
+
CHAT_MR_ONEHOOK_SESSION_LIMIT: "chat.mr_onehook_session_limit",
|
|
340
345
|
CHAT_INTRO_TOUR_OPEN: "chat.intro_tour_open",
|
|
341
346
|
CHAT_INTRO_DISMISS: "chat.intro_dismiss",
|
|
342
347
|
CHAT_INTRO_GET_STARTED: "chat.intro_get_started",
|
|
@@ -386,6 +391,9 @@ exports.UiElement = {
|
|
|
386
391
|
PREFERENCES_SAVE: "preferences.save",
|
|
387
392
|
PREFERENCES_UPGRADE_OPEN: "preferences.upgrade_open",
|
|
388
393
|
PREFERENCES_LOCKED_FILTER_TAP: "preferences.locked_filter_tap",
|
|
394
|
+
PREFERENCES_SUGGESTION_REMOVE: "preferences.suggestion_remove",
|
|
395
|
+
PREFERENCES_OWN_SUGGESTION_SAVE: "preferences.own_suggestion_save",
|
|
396
|
+
PREFERENCES_OWN_SUGGESTION_REMOVE: "preferences.own_suggestion_remove",
|
|
389
397
|
SETTINGS_EMAIL_MANAGE: "settings.email_manage",
|
|
390
398
|
SETTINGS_PHONE_UPDATE: "settings.phone_update",
|
|
391
399
|
SETTINGS_GOOGLE_LINK: "settings.google_link",
|
|
@@ -581,6 +589,11 @@ exports.UI_ELEMENTS = {
|
|
|
581
589
|
"chat.mr_onehook_context_share": { screen: "CHAT", kind: "dialog_button", actions: ["submit", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
|
|
582
590
|
"chat.mr_onehook_scope_open": { screen: "CHAT", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web"] },
|
|
583
591
|
"chat.mr_onehook_scope_select": { screen: "CHAT", kind: "menu_item", actions: ["tap"], values: null, platforms: ["web"] },
|
|
592
|
+
"chat.mr_onehook_sessions_open": { screen: "CHAT", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
|
|
593
|
+
"chat.mr_onehook_session_resume": { screen: "CHAT", kind: "menu_item", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
594
|
+
"chat.mr_onehook_session_delete": { screen: "CHAT", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
595
|
+
"chat.mr_onehook_session_new": { screen: "CHAT", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
596
|
+
"chat.mr_onehook_session_limit": { screen: "CHAT", kind: "dialog_button", actions: ["tap", "dismiss"], values: ["replace_least_recent", "manage", "cancel"], platforms: ["web", "ios", "android"] },
|
|
584
597
|
"chat.intro_tour_open": { screen: "CHAT", kind: "button", actions: ["tap"], values: null, platforms: ["ios"] },
|
|
585
598
|
"chat.intro_dismiss": { screen: "CHAT", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["ios"] },
|
|
586
599
|
"chat.intro_get_started": { screen: "CHAT", kind: "button", actions: ["tap"], values: null, platforms: ["ios"] },
|
|
@@ -630,6 +643,9 @@ exports.UI_ELEMENTS = {
|
|
|
630
643
|
"preferences.save": { screen: "PREFERENCES", kind: "button", actions: ["submit"], values: null, platforms: ["ios", "android"] },
|
|
631
644
|
"preferences.upgrade_open": { screen: "PREFERENCES", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["ios"] },
|
|
632
645
|
"preferences.locked_filter_tap": { screen: "PREFERENCES", kind: "button", actions: ["tap"], values: null, platforms: ["ios"] },
|
|
646
|
+
"preferences.suggestion_remove": { screen: "PREFERENCES", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
647
|
+
"preferences.own_suggestion_save": { screen: "PREFERENCES", kind: "button", actions: ["submit"], values: null, platforms: ["web", "ios", "android"] },
|
|
648
|
+
"preferences.own_suggestion_remove": { screen: "PREFERENCES", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
633
649
|
"settings.email_manage": { screen: "SETTINGS", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
|
|
634
650
|
"settings.phone_update": { screen: "SETTINGS", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["ios", "android"] },
|
|
635
651
|
"settings.google_link": { screen: "SETTINGS", kind: "toggle", actions: ["toggle"], values: ["link", "unlink"], platforms: ["web", "ios", "android"] },
|
package/dist-es/OneHook.js
CHANGED
|
@@ -32,6 +32,7 @@ import { GetProfileCommand, } from "./commands/GetProfileCommand";
|
|
|
32
32
|
import { GetReceivedLikesCommand, } from "./commands/GetReceivedLikesCommand";
|
|
33
33
|
import { GetRosesCommand, } from "./commands/GetRosesCommand";
|
|
34
34
|
import { GetStateCommand, } from "./commands/GetStateCommand";
|
|
35
|
+
import { GetSuggestionsCommand, } from "./commands/GetSuggestionsCommand";
|
|
35
36
|
import { GetUserByEmailCommand, } from "./commands/GetUserByEmailCommand";
|
|
36
37
|
import { GetUserCommand, } from "./commands/GetUserCommand";
|
|
37
38
|
import { GetUserIdByUsernameCommand, } from "./commands/GetUserIdByUsernameCommand";
|
|
@@ -45,6 +46,8 @@ import { RegisterDeviceCommand, } from "./commands/RegisterDeviceCommand";
|
|
|
45
46
|
import { RegisterPhoneCommand, } from "./commands/RegisterPhoneCommand";
|
|
46
47
|
import { RegisterPushTokenCommand, } from "./commands/RegisterPushTokenCommand";
|
|
47
48
|
import { RemoveLocationCommand, } from "./commands/RemoveLocationCommand";
|
|
49
|
+
import { RemoveOneHookSuggestionCommand, } from "./commands/RemoveOneHookSuggestionCommand";
|
|
50
|
+
import { RemoveSuggestionCommand, } from "./commands/RemoveSuggestionCommand";
|
|
48
51
|
import { RequestEmailOtpCommand, } from "./commands/RequestEmailOtpCommand";
|
|
49
52
|
import { RequestPhoneOtpCommand, } from "./commands/RequestPhoneOtpCommand";
|
|
50
53
|
import { RequestPhoneUpdateOtpCommand, } from "./commands/RequestPhoneUpdateOtpCommand";
|
|
@@ -112,9 +115,12 @@ const commands = {
|
|
|
112
115
|
GetPreferencesCommand,
|
|
113
116
|
GetReceivedLikesCommand,
|
|
114
117
|
GetRosesCommand,
|
|
118
|
+
GetSuggestionsCommand,
|
|
115
119
|
IndexLocationCommand,
|
|
116
120
|
RecordSuggestionCommand,
|
|
117
121
|
RemoveLocationCommand,
|
|
122
|
+
RemoveOneHookSuggestionCommand,
|
|
123
|
+
RemoveSuggestionCommand,
|
|
118
124
|
SwipeCommand,
|
|
119
125
|
SwipeByUsernameCommand,
|
|
120
126
|
UpdatePreferencesCommand,
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { de_GetSuggestionsCommand, se_GetSuggestionsCommand, } from "../protocols/Aws_restJson1";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
export { $Command };
|
|
5
|
+
export class GetSuggestionsCommand extends $Command.classBuilder()
|
|
6
|
+
.m(function (Command, cs, config, o) {
|
|
7
|
+
return [
|
|
8
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
+
];
|
|
10
|
+
})
|
|
11
|
+
.s("OneHookService", "GetSuggestions", {})
|
|
12
|
+
.n("OneHookClient", "GetSuggestionsCommand")
|
|
13
|
+
.f(void 0, void 0)
|
|
14
|
+
.ser(se_GetSuggestionsCommand)
|
|
15
|
+
.de(de_GetSuggestionsCommand)
|
|
16
|
+
.build() {
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { de_RemoveOneHookSuggestionCommand, se_RemoveOneHookSuggestionCommand, } from "../protocols/Aws_restJson1";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
export { $Command };
|
|
5
|
+
export class RemoveOneHookSuggestionCommand extends $Command.classBuilder()
|
|
6
|
+
.m(function (Command, cs, config, o) {
|
|
7
|
+
return [
|
|
8
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
+
];
|
|
10
|
+
})
|
|
11
|
+
.s("OneHookService", "RemoveOneHookSuggestion", {})
|
|
12
|
+
.n("OneHookClient", "RemoveOneHookSuggestionCommand")
|
|
13
|
+
.f(void 0, void 0)
|
|
14
|
+
.ser(se_RemoveOneHookSuggestionCommand)
|
|
15
|
+
.de(de_RemoveOneHookSuggestionCommand)
|
|
16
|
+
.build() {
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { de_RemoveSuggestionCommand, se_RemoveSuggestionCommand, } from "../protocols/Aws_restJson1";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
export { $Command };
|
|
5
|
+
export class RemoveSuggestionCommand extends $Command.classBuilder()
|
|
6
|
+
.m(function (Command, cs, config, o) {
|
|
7
|
+
return [
|
|
8
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
+
];
|
|
10
|
+
})
|
|
11
|
+
.s("OneHookService", "RemoveSuggestion", {})
|
|
12
|
+
.n("OneHookClient", "RemoveSuggestionCommand")
|
|
13
|
+
.f(void 0, void 0)
|
|
14
|
+
.ser(se_RemoveSuggestionCommand)
|
|
15
|
+
.de(de_RemoveSuggestionCommand)
|
|
16
|
+
.build() {
|
|
17
|
+
}
|
|
@@ -41,9 +41,12 @@ export * from "./GetNotificationPreferencesCommand";
|
|
|
41
41
|
export * from "./GetPreferencesCommand";
|
|
42
42
|
export * from "./GetReceivedLikesCommand";
|
|
43
43
|
export * from "./GetRosesCommand";
|
|
44
|
+
export * from "./GetSuggestionsCommand";
|
|
44
45
|
export * from "./IndexLocationCommand";
|
|
45
46
|
export * from "./RecordSuggestionCommand";
|
|
46
47
|
export * from "./RemoveLocationCommand";
|
|
48
|
+
export * from "./RemoveOneHookSuggestionCommand";
|
|
49
|
+
export * from "./RemoveSuggestionCommand";
|
|
47
50
|
export * from "./SwipeCommand";
|
|
48
51
|
export * from "./SwipeByUsernameCommand";
|
|
49
52
|
export * from "./UpdatePreferencesCommand";
|
|
@@ -614,6 +614,16 @@ export const se_GetRosesCommand = async (input, context) => {
|
|
|
614
614
|
.b(body);
|
|
615
615
|
return b.build();
|
|
616
616
|
};
|
|
617
|
+
export const se_GetSuggestionsCommand = async (input, context) => {
|
|
618
|
+
const b = rb(input, context);
|
|
619
|
+
const headers = {};
|
|
620
|
+
b.bp("/matching/suggestions");
|
|
621
|
+
let body;
|
|
622
|
+
b.m("GET")
|
|
623
|
+
.h(headers)
|
|
624
|
+
.b(body);
|
|
625
|
+
return b.build();
|
|
626
|
+
};
|
|
617
627
|
export const se_IndexLocationCommand = async (input, context) => {
|
|
618
628
|
const b = rb(input, context);
|
|
619
629
|
const headers = {
|
|
@@ -662,6 +672,26 @@ export const se_RemoveLocationCommand = async (input, context) => {
|
|
|
662
672
|
.b(body);
|
|
663
673
|
return b.build();
|
|
664
674
|
};
|
|
675
|
+
export const se_RemoveOneHookSuggestionCommand = async (input, context) => {
|
|
676
|
+
const b = rb(input, context);
|
|
677
|
+
const headers = {};
|
|
678
|
+
b.bp("/matching/suggestions/onehook");
|
|
679
|
+
let body;
|
|
680
|
+
b.m("DELETE")
|
|
681
|
+
.h(headers)
|
|
682
|
+
.b(body);
|
|
683
|
+
return b.build();
|
|
684
|
+
};
|
|
685
|
+
export const se_RemoveSuggestionCommand = async (input, context) => {
|
|
686
|
+
const b = rb(input, context);
|
|
687
|
+
const headers = {};
|
|
688
|
+
b.bp("/matching/suggestions");
|
|
689
|
+
let body;
|
|
690
|
+
b.m("DELETE")
|
|
691
|
+
.h(headers)
|
|
692
|
+
.b(body);
|
|
693
|
+
return b.build();
|
|
694
|
+
};
|
|
665
695
|
export const se_SwipeCommand = async (input, context) => {
|
|
666
696
|
const b = rb(input, context);
|
|
667
697
|
const headers = {
|
|
@@ -1659,6 +1689,7 @@ export const de_GetPreferencesCommand = async (output, context) => {
|
|
|
1659
1689
|
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
1660
1690
|
const doc = take(data, {
|
|
1661
1691
|
'cannabis': __expectString,
|
|
1692
|
+
'currentSuggestion': _json,
|
|
1662
1693
|
'dealbreakers': _json,
|
|
1663
1694
|
'discoverable': __expectBoolean,
|
|
1664
1695
|
'distanceUnit': __expectString,
|
|
@@ -1726,6 +1757,21 @@ export const de_GetRosesCommand = async (output, context) => {
|
|
|
1726
1757
|
Object.assign(contents, doc);
|
|
1727
1758
|
return contents;
|
|
1728
1759
|
};
|
|
1760
|
+
export const de_GetSuggestionsCommand = async (output, context) => {
|
|
1761
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1762
|
+
return de_CommandError(output, context);
|
|
1763
|
+
}
|
|
1764
|
+
const contents = map({
|
|
1765
|
+
$metadata: deserializeMetadata(output),
|
|
1766
|
+
});
|
|
1767
|
+
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
1768
|
+
const doc = take(data, {
|
|
1769
|
+
'oneHook': _json,
|
|
1770
|
+
'own': _json,
|
|
1771
|
+
});
|
|
1772
|
+
Object.assign(contents, doc);
|
|
1773
|
+
return contents;
|
|
1774
|
+
};
|
|
1729
1775
|
export const de_IndexLocationCommand = async (output, context) => {
|
|
1730
1776
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1731
1777
|
return de_CommandError(output, context);
|
|
@@ -1768,6 +1814,26 @@ export const de_RemoveLocationCommand = async (output, context) => {
|
|
|
1768
1814
|
Object.assign(contents, doc);
|
|
1769
1815
|
return contents;
|
|
1770
1816
|
};
|
|
1817
|
+
export const de_RemoveOneHookSuggestionCommand = async (output, context) => {
|
|
1818
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1819
|
+
return de_CommandError(output, context);
|
|
1820
|
+
}
|
|
1821
|
+
const contents = map({
|
|
1822
|
+
$metadata: deserializeMetadata(output),
|
|
1823
|
+
});
|
|
1824
|
+
await collectBody(output.body, context);
|
|
1825
|
+
return contents;
|
|
1826
|
+
};
|
|
1827
|
+
export const de_RemoveSuggestionCommand = async (output, context) => {
|
|
1828
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1829
|
+
return de_CommandError(output, context);
|
|
1830
|
+
}
|
|
1831
|
+
const contents = map({
|
|
1832
|
+
$metadata: deserializeMetadata(output),
|
|
1833
|
+
});
|
|
1834
|
+
await collectBody(output.body, context);
|
|
1835
|
+
return contents;
|
|
1836
|
+
};
|
|
1771
1837
|
export const de_SwipeCommand = async (output, context) => {
|
|
1772
1838
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1773
1839
|
return de_CommandError(output, context);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export const TELEMETRY_CATALOG_VERSION = "1.
|
|
2
|
-
export const TELEMETRY_CATALOG_HASH = "
|
|
1
|
+
export const TELEMETRY_CATALOG_VERSION = "1.11.0";
|
|
2
|
+
export const TELEMETRY_CATALOG_HASH = "12c7d6d70211f79c";
|
|
3
3
|
export const SignalType = {
|
|
4
4
|
SCREEN_VIEW: "screen_view",
|
|
5
5
|
UI_INTERACTION: "ui_interaction",
|
|
@@ -334,6 +334,11 @@ export const UiElement = {
|
|
|
334
334
|
CHAT_MR_ONEHOOK_CONTEXT_SHARE: "chat.mr_onehook_context_share",
|
|
335
335
|
CHAT_MR_ONEHOOK_SCOPE_OPEN: "chat.mr_onehook_scope_open",
|
|
336
336
|
CHAT_MR_ONEHOOK_SCOPE_SELECT: "chat.mr_onehook_scope_select",
|
|
337
|
+
CHAT_MR_ONEHOOK_SESSIONS_OPEN: "chat.mr_onehook_sessions_open",
|
|
338
|
+
CHAT_MR_ONEHOOK_SESSION_RESUME: "chat.mr_onehook_session_resume",
|
|
339
|
+
CHAT_MR_ONEHOOK_SESSION_DELETE: "chat.mr_onehook_session_delete",
|
|
340
|
+
CHAT_MR_ONEHOOK_SESSION_NEW: "chat.mr_onehook_session_new",
|
|
341
|
+
CHAT_MR_ONEHOOK_SESSION_LIMIT: "chat.mr_onehook_session_limit",
|
|
337
342
|
CHAT_INTRO_TOUR_OPEN: "chat.intro_tour_open",
|
|
338
343
|
CHAT_INTRO_DISMISS: "chat.intro_dismiss",
|
|
339
344
|
CHAT_INTRO_GET_STARTED: "chat.intro_get_started",
|
|
@@ -383,6 +388,9 @@ export const UiElement = {
|
|
|
383
388
|
PREFERENCES_SAVE: "preferences.save",
|
|
384
389
|
PREFERENCES_UPGRADE_OPEN: "preferences.upgrade_open",
|
|
385
390
|
PREFERENCES_LOCKED_FILTER_TAP: "preferences.locked_filter_tap",
|
|
391
|
+
PREFERENCES_SUGGESTION_REMOVE: "preferences.suggestion_remove",
|
|
392
|
+
PREFERENCES_OWN_SUGGESTION_SAVE: "preferences.own_suggestion_save",
|
|
393
|
+
PREFERENCES_OWN_SUGGESTION_REMOVE: "preferences.own_suggestion_remove",
|
|
386
394
|
SETTINGS_EMAIL_MANAGE: "settings.email_manage",
|
|
387
395
|
SETTINGS_PHONE_UPDATE: "settings.phone_update",
|
|
388
396
|
SETTINGS_GOOGLE_LINK: "settings.google_link",
|
|
@@ -578,6 +586,11 @@ export const UI_ELEMENTS = {
|
|
|
578
586
|
"chat.mr_onehook_context_share": { screen: "CHAT", kind: "dialog_button", actions: ["submit", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
|
|
579
587
|
"chat.mr_onehook_scope_open": { screen: "CHAT", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web"] },
|
|
580
588
|
"chat.mr_onehook_scope_select": { screen: "CHAT", kind: "menu_item", actions: ["tap"], values: null, platforms: ["web"] },
|
|
589
|
+
"chat.mr_onehook_sessions_open": { screen: "CHAT", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
|
|
590
|
+
"chat.mr_onehook_session_resume": { screen: "CHAT", kind: "menu_item", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
591
|
+
"chat.mr_onehook_session_delete": { screen: "CHAT", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
592
|
+
"chat.mr_onehook_session_new": { screen: "CHAT", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
593
|
+
"chat.mr_onehook_session_limit": { screen: "CHAT", kind: "dialog_button", actions: ["tap", "dismiss"], values: ["replace_least_recent", "manage", "cancel"], platforms: ["web", "ios", "android"] },
|
|
581
594
|
"chat.intro_tour_open": { screen: "CHAT", kind: "button", actions: ["tap"], values: null, platforms: ["ios"] },
|
|
582
595
|
"chat.intro_dismiss": { screen: "CHAT", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["ios"] },
|
|
583
596
|
"chat.intro_get_started": { screen: "CHAT", kind: "button", actions: ["tap"], values: null, platforms: ["ios"] },
|
|
@@ -627,6 +640,9 @@ export const UI_ELEMENTS = {
|
|
|
627
640
|
"preferences.save": { screen: "PREFERENCES", kind: "button", actions: ["submit"], values: null, platforms: ["ios", "android"] },
|
|
628
641
|
"preferences.upgrade_open": { screen: "PREFERENCES", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["ios"] },
|
|
629
642
|
"preferences.locked_filter_tap": { screen: "PREFERENCES", kind: "button", actions: ["tap"], values: null, platforms: ["ios"] },
|
|
643
|
+
"preferences.suggestion_remove": { screen: "PREFERENCES", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
644
|
+
"preferences.own_suggestion_save": { screen: "PREFERENCES", kind: "button", actions: ["submit"], values: null, platforms: ["web", "ios", "android"] },
|
|
645
|
+
"preferences.own_suggestion_remove": { screen: "PREFERENCES", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
630
646
|
"settings.email_manage": { screen: "SETTINGS", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
|
|
631
647
|
"settings.phone_update": { screen: "SETTINGS", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["ios", "android"] },
|
|
632
648
|
"settings.google_link": { screen: "SETTINGS", kind: "toggle", actions: ["toggle"], values: ["link", "unlink"], platforms: ["web", "ios", "android"] },
|