onehook-api-client 1.0.41 → 1.0.42
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 +7 -0
- package/dist-cjs/OneHook.js +2 -0
- package/dist-cjs/commands/SetMatchingTabHiddenCommand.js +21 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +37 -3
- package/dist-cjs/telemetry/index.js +8 -2
- package/dist-es/OneHook.js +2 -0
- package/dist-es/commands/SetMatchingTabHiddenCommand.js +17 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +32 -0
- package/dist-es/telemetry/index.js +8 -2
- package/dist-types/OneHook.d.ts +7 -0
- package/dist-types/OneHookClient.d.ts +3 -2
- package/dist-types/commands/GetStateCommand.d.ts +1 -0
- package/dist-types/commands/KeepHooksCommand.d.ts +1 -0
- package/dist-types/commands/SetMatchingTabHiddenCommand.d.ts +106 -0
- package/dist-types/commands/UpgradeUserCommand.d.ts +1 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +27 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/dist-types/telemetry/index.d.ts +5 -2
- package/package.json +1 -1
- package/telemetry/TelemetryCatalog.kt +7 -4
- package/telemetry/TelemetryCatalog.swift +10 -4
- package/telemetry/telemetry-catalog.json +54 -3
package/README.md
CHANGED
|
@@ -1123,6 +1123,13 @@ SendHookRequest
|
|
|
1123
1123
|
</details>
|
|
1124
1124
|
<details>
|
|
1125
1125
|
<summary>
|
|
1126
|
+
SetMatchingTabHidden
|
|
1127
|
+
</summary>
|
|
1128
|
+
|
|
1129
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/onehook/command/SetMatchingTabHiddenCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-onehook/Interface/SetMatchingTabHiddenCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-onehook/Interface/SetMatchingTabHiddenCommandOutput/)
|
|
1130
|
+
</details>
|
|
1131
|
+
<details>
|
|
1132
|
+
<summary>
|
|
1126
1133
|
SetTierOverride
|
|
1127
1134
|
</summary>
|
|
1128
1135
|
|
package/dist-cjs/OneHook.js
CHANGED
|
@@ -97,6 +97,7 @@ const SearchPlacesCommand_1 = require("./commands/SearchPlacesCommand");
|
|
|
97
97
|
const SendAdminLinkOtpCommand_1 = require("./commands/SendAdminLinkOtpCommand");
|
|
98
98
|
const SendHookRequestCommand_1 = require("./commands/SendHookRequestCommand");
|
|
99
99
|
const SetAccountStateCommand_1 = require("./commands/SetAccountStateCommand");
|
|
100
|
+
const SetMatchingTabHiddenCommand_1 = require("./commands/SetMatchingTabHiddenCommand");
|
|
100
101
|
const SetPasswordCommand_1 = require("./commands/SetPasswordCommand");
|
|
101
102
|
const SetPreservationHoldCommand_1 = require("./commands/SetPreservationHoldCommand");
|
|
102
103
|
const SetTierOverrideCommand_1 = require("./commands/SetTierOverrideCommand");
|
|
@@ -230,6 +231,7 @@ const commands = {
|
|
|
230
231
|
ListMatchingOnMembersCommand: ListMatchingOnMembersCommand_1.ListMatchingOnMembersCommand,
|
|
231
232
|
ReportMemberCommand: ReportMemberCommand_1.ReportMemberCommand,
|
|
232
233
|
SendHookRequestCommand: SendHookRequestCommand_1.SendHookRequestCommand,
|
|
234
|
+
SetMatchingTabHiddenCommand: SetMatchingTabHiddenCommand_1.SetMatchingTabHiddenCommand,
|
|
233
235
|
SetTierOverrideCommand: SetTierOverrideCommand_1.SetTierOverrideCommand,
|
|
234
236
|
UnblockUserCommand: UnblockUserCommand_1.UnblockUserCommand,
|
|
235
237
|
UnhookCommand: UnhookCommand_1.UnhookCommand,
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SetMatchingTabHiddenCommand = 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 SetMatchingTabHiddenCommand 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", "SetMatchingTabHidden", {})
|
|
15
|
+
.n("OneHookClient", "SetMatchingTabHiddenCommand")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_SetMatchingTabHiddenCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_SetMatchingTabHiddenCommand)
|
|
19
|
+
.build() {
|
|
20
|
+
}
|
|
21
|
+
exports.SetMatchingTabHiddenCommand = SetMatchingTabHiddenCommand;
|
|
@@ -112,6 +112,7 @@ tslib_1.__exportStar(require("./ListHookRequestsCommand"), exports);
|
|
|
112
112
|
tslib_1.__exportStar(require("./ListMatchingOnMembersCommand"), exports);
|
|
113
113
|
tslib_1.__exportStar(require("./ReportMemberCommand"), exports);
|
|
114
114
|
tslib_1.__exportStar(require("./SendHookRequestCommand"), exports);
|
|
115
|
+
tslib_1.__exportStar(require("./SetMatchingTabHiddenCommand"), exports);
|
|
115
116
|
tslib_1.__exportStar(require("./SetTierOverrideCommand"), exports);
|
|
116
117
|
tslib_1.__exportStar(require("./UnblockUserCommand"), exports);
|
|
117
118
|
tslib_1.__exportStar(require("./UnhookCommand"), exports);
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.se_ValidateInviteCommand = exports.se_UpdateUsernameCommand = exports.se_UpdatePhoneNumberCommand = exports.se_UpdateEntitlementsCommand = exports.se_UnlinkSocialCommand = exports.se_SetPreservationHoldCommand = exports.se_SetPasswordCommand = 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_CheckUsernameAvailabilityCommand = 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
4
|
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 = exports.se_GetScoringPolicyCommand = exports.se_VerifyAdminLinkOtpCommand = void 0;
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
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 = exports.de_UpsertMatchingProfileCommand = exports.de_UpsertChatProfileCommand = exports.de_SearchPlacesCommand = exports.de_RepublishMatchingProfileCommand = void 0;
|
|
5
|
+
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_CheckUsernameAvailabilityCommand = 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_SetMatchingTabHiddenCommand = 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 = exports.se_GetModerationSignalsCommand = exports.se_GetModerationReportCommand = void 0;
|
|
6
|
+
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_SetPasswordCommand = 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 = void 0;
|
|
7
|
+
exports.de_UpgradeUserCommand = exports.de_UnhookCommand = exports.de_UnblockUserCommand = exports.de_SetTierOverrideCommand = exports.de_SetMatchingTabHiddenCommand = 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 = exports.de_UpsertMatchingProfileCommand = exports.de_UpsertChatProfileCommand = exports.de_SearchPlacesCommand = exports.de_RepublishMatchingProfileCommand = exports.de_GetPlaceCommand = void 0;
|
|
8
8
|
const OneHookServiceException_1 = require("../models/OneHookServiceException");
|
|
9
9
|
const models_0_1 = require("../models/models_0");
|
|
10
10
|
const core_1 = require("@aws-sdk/core");
|
|
@@ -1703,6 +1703,22 @@ const se_SendHookRequestCommand = async (input, context) => {
|
|
|
1703
1703
|
return b.build();
|
|
1704
1704
|
};
|
|
1705
1705
|
exports.se_SendHookRequestCommand = se_SendHookRequestCommand;
|
|
1706
|
+
const se_SetMatchingTabHiddenCommand = async (input, context) => {
|
|
1707
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
1708
|
+
const headers = {
|
|
1709
|
+
'content-type': 'application/json',
|
|
1710
|
+
};
|
|
1711
|
+
b.bp("/state/matching/tab-hidden");
|
|
1712
|
+
let body;
|
|
1713
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1714
|
+
'hidden': [],
|
|
1715
|
+
}));
|
|
1716
|
+
b.m("PUT")
|
|
1717
|
+
.h(headers)
|
|
1718
|
+
.b(body);
|
|
1719
|
+
return b.build();
|
|
1720
|
+
};
|
|
1721
|
+
exports.se_SetMatchingTabHiddenCommand = se_SetMatchingTabHiddenCommand;
|
|
1706
1722
|
const se_SetTierOverrideCommand = async (input, context) => {
|
|
1707
1723
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
1708
1724
|
const headers = {
|
|
@@ -3647,6 +3663,7 @@ const de_GetStateCommand = async (output, context) => {
|
|
|
3647
3663
|
'keepLimit': smithy_client_1.expectInt32,
|
|
3648
3664
|
'matchIds': smithy_client_1._json,
|
|
3649
3665
|
'matching': smithy_client_1._json,
|
|
3666
|
+
'matchingTabHidden': smithy_client_1.expectBoolean,
|
|
3650
3667
|
'selectionDeadline': smithy_client_1.expectLong,
|
|
3651
3668
|
'selectionRequired': smithy_client_1.expectBoolean,
|
|
3652
3669
|
'state': smithy_client_1.expectString,
|
|
@@ -3714,6 +3731,7 @@ const de_KeepHooksCommand = async (output, context) => {
|
|
|
3714
3731
|
'keepLimit': smithy_client_1.expectInt32,
|
|
3715
3732
|
'matchIds': smithy_client_1._json,
|
|
3716
3733
|
'matching': smithy_client_1._json,
|
|
3734
|
+
'matchingTabHidden': smithy_client_1.expectBoolean,
|
|
3717
3735
|
'selectionDeadline': smithy_client_1.expectLong,
|
|
3718
3736
|
'selectionRequired': smithy_client_1.expectBoolean,
|
|
3719
3737
|
'state': smithy_client_1.expectString,
|
|
@@ -3804,6 +3822,21 @@ const de_SendHookRequestCommand = async (output, context) => {
|
|
|
3804
3822
|
return contents;
|
|
3805
3823
|
};
|
|
3806
3824
|
exports.de_SendHookRequestCommand = de_SendHookRequestCommand;
|
|
3825
|
+
const de_SetMatchingTabHiddenCommand = async (output, context) => {
|
|
3826
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3827
|
+
return de_CommandError(output, context);
|
|
3828
|
+
}
|
|
3829
|
+
const contents = (0, smithy_client_1.map)({
|
|
3830
|
+
$metadata: deserializeMetadata(output),
|
|
3831
|
+
});
|
|
3832
|
+
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
|
|
3833
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
3834
|
+
'hidden': smithy_client_1.expectBoolean,
|
|
3835
|
+
});
|
|
3836
|
+
Object.assign(contents, doc);
|
|
3837
|
+
return contents;
|
|
3838
|
+
};
|
|
3839
|
+
exports.de_SetMatchingTabHiddenCommand = de_SetMatchingTabHiddenCommand;
|
|
3807
3840
|
const de_SetTierOverrideCommand = async (output, context) => {
|
|
3808
3841
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3809
3842
|
return de_CommandError(output, context);
|
|
@@ -3876,6 +3909,7 @@ const de_UpgradeUserCommand = async (output, context) => {
|
|
|
3876
3909
|
'keepLimit': smithy_client_1.expectInt32,
|
|
3877
3910
|
'matchIds': smithy_client_1._json,
|
|
3878
3911
|
'matching': smithy_client_1._json,
|
|
3912
|
+
'matchingTabHidden': smithy_client_1.expectBoolean,
|
|
3879
3913
|
'selectionDeadline': smithy_client_1.expectLong,
|
|
3880
3914
|
'selectionRequired': smithy_client_1.expectBoolean,
|
|
3881
3915
|
'state': smithy_client_1.expectString,
|
|
@@ -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.17.0";
|
|
5
|
+
exports.TELEMETRY_CATALOG_HASH = "76d9d66743a9261c";
|
|
6
6
|
exports.SignalType = {
|
|
7
7
|
SCREEN_VIEW: "screen_view",
|
|
8
8
|
UI_INTERACTION: "ui_interaction",
|
|
@@ -272,6 +272,8 @@ exports.UiElement = {
|
|
|
272
272
|
ONBOARDING_CHOICE_SELECT: "onboarding.choice_select",
|
|
273
273
|
MATCHING_INTRO_TURN_ON: "matching_intro.turn_on",
|
|
274
274
|
MATCHING_INTRO_SHOULD_I_JOIN: "matching_intro.should_i_join",
|
|
275
|
+
MATCHING_INTRO_LOCKED_TAP: "matching_intro.locked_tap",
|
|
276
|
+
MATCHING_INTRO_HIDE: "matching_intro.hide",
|
|
275
277
|
DISCOVER_PASS_BUTTON: "discover.pass_button",
|
|
276
278
|
DISCOVER_LIKE_BUTTON: "discover.like_button",
|
|
277
279
|
DISCOVER_ROSE_BUTTON: "discover.rose_button",
|
|
@@ -447,6 +449,7 @@ exports.UiElement = {
|
|
|
447
449
|
SETTINGS_UNBLOCK_CONFIRM: "settings.unblock_confirm",
|
|
448
450
|
SETTINGS_MATCHING_ENABLE: "settings.matching_enable",
|
|
449
451
|
SETTINGS_MATCHING_PROFILE_OPEN: "settings.matching_profile_open",
|
|
452
|
+
SETTINGS_MATCHING_TAB_TOGGLE: "settings.matching_tab_toggle",
|
|
450
453
|
SETTINGS_MATCHING_DISABLE: "settings.matching_disable",
|
|
451
454
|
SETTINGS_MATCHING_DISABLE_CONFIRM: "settings.matching_disable_confirm",
|
|
452
455
|
SETTINGS_VERIFY_CODE_SUBMIT: "settings.verify_code_submit",
|
|
@@ -552,6 +555,8 @@ exports.UI_ELEMENTS = {
|
|
|
552
555
|
"onboarding.choice_select": { screen: "ONBOARDING", kind: "segmented", actions: ["select", "tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
553
556
|
"matching_intro.turn_on": { screen: "MATCHING_INTRO", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
554
557
|
"matching_intro.should_i_join": { screen: "MATCHING_INTRO", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
|
|
558
|
+
"matching_intro.locked_tap": { screen: "MATCHING_INTRO", kind: "gesture", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
559
|
+
"matching_intro.hide": { screen: "MATCHING_INTRO", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
555
560
|
"discover.pass_button": { screen: "DISCOVER", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
556
561
|
"discover.like_button": { screen: "DISCOVER", kind: "button", actions: ["tap"], values: null, platforms: ["android"] },
|
|
557
562
|
"discover.rose_button": { screen: "DISCOVER", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
@@ -727,6 +732,7 @@ exports.UI_ELEMENTS = {
|
|
|
727
732
|
"settings.unblock_confirm": { screen: "SETTINGS", kind: "dialog_button", actions: ["submit", "dismiss"], values: null, platforms: ["ios"] },
|
|
728
733
|
"settings.matching_enable": { screen: "SETTINGS", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios"] },
|
|
729
734
|
"settings.matching_profile_open": { screen: "SETTINGS", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
735
|
+
"settings.matching_tab_toggle": { screen: "SETTINGS", kind: "toggle", actions: ["toggle"], values: ["show", "hide"], platforms: ["web", "ios", "android"] },
|
|
730
736
|
"settings.matching_disable": { screen: "SETTINGS", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
731
737
|
"settings.matching_disable_confirm": { screen: "SETTINGS", kind: "dialog_button", actions: ["submit", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
|
|
732
738
|
"settings.verify_code_submit": { screen: "SETTINGS", kind: "button", actions: ["submit", "dismiss"], values: ["email", "phone"], platforms: ["ios", "android"] },
|
package/dist-es/OneHook.js
CHANGED
|
@@ -94,6 +94,7 @@ import { SearchPlacesCommand, } from "./commands/SearchPlacesCommand";
|
|
|
94
94
|
import { SendAdminLinkOtpCommand, } from "./commands/SendAdminLinkOtpCommand";
|
|
95
95
|
import { SendHookRequestCommand, } from "./commands/SendHookRequestCommand";
|
|
96
96
|
import { SetAccountStateCommand, } from "./commands/SetAccountStateCommand";
|
|
97
|
+
import { SetMatchingTabHiddenCommand, } from "./commands/SetMatchingTabHiddenCommand";
|
|
97
98
|
import { SetPasswordCommand, } from "./commands/SetPasswordCommand";
|
|
98
99
|
import { SetPreservationHoldCommand, } from "./commands/SetPreservationHoldCommand";
|
|
99
100
|
import { SetTierOverrideCommand, } from "./commands/SetTierOverrideCommand";
|
|
@@ -227,6 +228,7 @@ const commands = {
|
|
|
227
228
|
ListMatchingOnMembersCommand,
|
|
228
229
|
ReportMemberCommand,
|
|
229
230
|
SendHookRequestCommand,
|
|
231
|
+
SetMatchingTabHiddenCommand,
|
|
230
232
|
SetTierOverrideCommand,
|
|
231
233
|
UnblockUserCommand,
|
|
232
234
|
UnhookCommand,
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { de_SetMatchingTabHiddenCommand, se_SetMatchingTabHiddenCommand, } 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 SetMatchingTabHiddenCommand extends $Command.classBuilder()
|
|
6
|
+
.m(function (Command, cs, config, o) {
|
|
7
|
+
return [
|
|
8
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
+
];
|
|
10
|
+
})
|
|
11
|
+
.s("OneHookService", "SetMatchingTabHidden", {})
|
|
12
|
+
.n("OneHookClient", "SetMatchingTabHiddenCommand")
|
|
13
|
+
.f(void 0, void 0)
|
|
14
|
+
.ser(se_SetMatchingTabHiddenCommand)
|
|
15
|
+
.de(de_SetMatchingTabHiddenCommand)
|
|
16
|
+
.build() {
|
|
17
|
+
}
|
|
@@ -109,6 +109,7 @@ export * from "./ListHookRequestsCommand";
|
|
|
109
109
|
export * from "./ListMatchingOnMembersCommand";
|
|
110
110
|
export * from "./ReportMemberCommand";
|
|
111
111
|
export * from "./SendHookRequestCommand";
|
|
112
|
+
export * from "./SetMatchingTabHiddenCommand";
|
|
112
113
|
export * from "./SetTierOverrideCommand";
|
|
113
114
|
export * from "./UnblockUserCommand";
|
|
114
115
|
export * from "./UnhookCommand";
|
|
@@ -1585,6 +1585,21 @@ export const se_SendHookRequestCommand = async (input, context) => {
|
|
|
1585
1585
|
.b(body);
|
|
1586
1586
|
return b.build();
|
|
1587
1587
|
};
|
|
1588
|
+
export const se_SetMatchingTabHiddenCommand = async (input, context) => {
|
|
1589
|
+
const b = rb(input, context);
|
|
1590
|
+
const headers = {
|
|
1591
|
+
'content-type': 'application/json',
|
|
1592
|
+
};
|
|
1593
|
+
b.bp("/state/matching/tab-hidden");
|
|
1594
|
+
let body;
|
|
1595
|
+
body = JSON.stringify(take(input, {
|
|
1596
|
+
'hidden': [],
|
|
1597
|
+
}));
|
|
1598
|
+
b.m("PUT")
|
|
1599
|
+
.h(headers)
|
|
1600
|
+
.b(body);
|
|
1601
|
+
return b.build();
|
|
1602
|
+
};
|
|
1588
1603
|
export const se_SetTierOverrideCommand = async (input, context) => {
|
|
1589
1604
|
const b = rb(input, context);
|
|
1590
1605
|
const headers = {
|
|
@@ -3423,6 +3438,7 @@ export const de_GetStateCommand = async (output, context) => {
|
|
|
3423
3438
|
'keepLimit': __expectInt32,
|
|
3424
3439
|
'matchIds': _json,
|
|
3425
3440
|
'matching': _json,
|
|
3441
|
+
'matchingTabHidden': __expectBoolean,
|
|
3426
3442
|
'selectionDeadline': __expectLong,
|
|
3427
3443
|
'selectionRequired': __expectBoolean,
|
|
3428
3444
|
'state': __expectString,
|
|
@@ -3487,6 +3503,7 @@ export const de_KeepHooksCommand = async (output, context) => {
|
|
|
3487
3503
|
'keepLimit': __expectInt32,
|
|
3488
3504
|
'matchIds': _json,
|
|
3489
3505
|
'matching': _json,
|
|
3506
|
+
'matchingTabHidden': __expectBoolean,
|
|
3490
3507
|
'selectionDeadline': __expectLong,
|
|
3491
3508
|
'selectionRequired': __expectBoolean,
|
|
3492
3509
|
'state': __expectString,
|
|
@@ -3571,6 +3588,20 @@ export const de_SendHookRequestCommand = async (output, context) => {
|
|
|
3571
3588
|
Object.assign(contents, doc);
|
|
3572
3589
|
return contents;
|
|
3573
3590
|
};
|
|
3591
|
+
export const de_SetMatchingTabHiddenCommand = async (output, context) => {
|
|
3592
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3593
|
+
return de_CommandError(output, context);
|
|
3594
|
+
}
|
|
3595
|
+
const contents = map({
|
|
3596
|
+
$metadata: deserializeMetadata(output),
|
|
3597
|
+
});
|
|
3598
|
+
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
3599
|
+
const doc = take(data, {
|
|
3600
|
+
'hidden': __expectBoolean,
|
|
3601
|
+
});
|
|
3602
|
+
Object.assign(contents, doc);
|
|
3603
|
+
return contents;
|
|
3604
|
+
};
|
|
3574
3605
|
export const de_SetTierOverrideCommand = async (output, context) => {
|
|
3575
3606
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3576
3607
|
return de_CommandError(output, context);
|
|
@@ -3640,6 +3671,7 @@ export const de_UpgradeUserCommand = async (output, context) => {
|
|
|
3640
3671
|
'keepLimit': __expectInt32,
|
|
3641
3672
|
'matchIds': _json,
|
|
3642
3673
|
'matching': _json,
|
|
3674
|
+
'matchingTabHidden': __expectBoolean,
|
|
3643
3675
|
'selectionDeadline': __expectLong,
|
|
3644
3676
|
'selectionRequired': __expectBoolean,
|
|
3645
3677
|
'state': __expectString,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export const TELEMETRY_CATALOG_VERSION = "1.
|
|
2
|
-
export const TELEMETRY_CATALOG_HASH = "
|
|
1
|
+
export const TELEMETRY_CATALOG_VERSION = "1.17.0";
|
|
2
|
+
export const TELEMETRY_CATALOG_HASH = "76d9d66743a9261c";
|
|
3
3
|
export const SignalType = {
|
|
4
4
|
SCREEN_VIEW: "screen_view",
|
|
5
5
|
UI_INTERACTION: "ui_interaction",
|
|
@@ -269,6 +269,8 @@ export const UiElement = {
|
|
|
269
269
|
ONBOARDING_CHOICE_SELECT: "onboarding.choice_select",
|
|
270
270
|
MATCHING_INTRO_TURN_ON: "matching_intro.turn_on",
|
|
271
271
|
MATCHING_INTRO_SHOULD_I_JOIN: "matching_intro.should_i_join",
|
|
272
|
+
MATCHING_INTRO_LOCKED_TAP: "matching_intro.locked_tap",
|
|
273
|
+
MATCHING_INTRO_HIDE: "matching_intro.hide",
|
|
272
274
|
DISCOVER_PASS_BUTTON: "discover.pass_button",
|
|
273
275
|
DISCOVER_LIKE_BUTTON: "discover.like_button",
|
|
274
276
|
DISCOVER_ROSE_BUTTON: "discover.rose_button",
|
|
@@ -444,6 +446,7 @@ export const UiElement = {
|
|
|
444
446
|
SETTINGS_UNBLOCK_CONFIRM: "settings.unblock_confirm",
|
|
445
447
|
SETTINGS_MATCHING_ENABLE: "settings.matching_enable",
|
|
446
448
|
SETTINGS_MATCHING_PROFILE_OPEN: "settings.matching_profile_open",
|
|
449
|
+
SETTINGS_MATCHING_TAB_TOGGLE: "settings.matching_tab_toggle",
|
|
447
450
|
SETTINGS_MATCHING_DISABLE: "settings.matching_disable",
|
|
448
451
|
SETTINGS_MATCHING_DISABLE_CONFIRM: "settings.matching_disable_confirm",
|
|
449
452
|
SETTINGS_VERIFY_CODE_SUBMIT: "settings.verify_code_submit",
|
|
@@ -549,6 +552,8 @@ export const UI_ELEMENTS = {
|
|
|
549
552
|
"onboarding.choice_select": { screen: "ONBOARDING", kind: "segmented", actions: ["select", "tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
550
553
|
"matching_intro.turn_on": { screen: "MATCHING_INTRO", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
551
554
|
"matching_intro.should_i_join": { screen: "MATCHING_INTRO", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
|
|
555
|
+
"matching_intro.locked_tap": { screen: "MATCHING_INTRO", kind: "gesture", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
556
|
+
"matching_intro.hide": { screen: "MATCHING_INTRO", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
552
557
|
"discover.pass_button": { screen: "DISCOVER", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
553
558
|
"discover.like_button": { screen: "DISCOVER", kind: "button", actions: ["tap"], values: null, platforms: ["android"] },
|
|
554
559
|
"discover.rose_button": { screen: "DISCOVER", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
@@ -724,6 +729,7 @@ export const UI_ELEMENTS = {
|
|
|
724
729
|
"settings.unblock_confirm": { screen: "SETTINGS", kind: "dialog_button", actions: ["submit", "dismiss"], values: null, platforms: ["ios"] },
|
|
725
730
|
"settings.matching_enable": { screen: "SETTINGS", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios"] },
|
|
726
731
|
"settings.matching_profile_open": { screen: "SETTINGS", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
732
|
+
"settings.matching_tab_toggle": { screen: "SETTINGS", kind: "toggle", actions: ["toggle"], values: ["show", "hide"], platforms: ["web", "ios", "android"] },
|
|
727
733
|
"settings.matching_disable": { screen: "SETTINGS", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
728
734
|
"settings.matching_disable_confirm": { screen: "SETTINGS", kind: "dialog_button", actions: ["submit", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
|
|
729
735
|
"settings.verify_code_submit": { screen: "SETTINGS", kind: "button", actions: ["submit", "dismiss"], values: ["email", "phone"], platforms: ["ios", "android"] },
|
package/dist-types/OneHook.d.ts
CHANGED
|
@@ -94,6 +94,7 @@ import { SearchPlacesCommandInput, SearchPlacesCommandOutput } from "./commands/
|
|
|
94
94
|
import { SendAdminLinkOtpCommandInput, SendAdminLinkOtpCommandOutput } from "./commands/SendAdminLinkOtpCommand";
|
|
95
95
|
import { SendHookRequestCommandInput, SendHookRequestCommandOutput } from "./commands/SendHookRequestCommand";
|
|
96
96
|
import { SetAccountStateCommandInput, SetAccountStateCommandOutput } from "./commands/SetAccountStateCommand";
|
|
97
|
+
import { SetMatchingTabHiddenCommandInput, SetMatchingTabHiddenCommandOutput } from "./commands/SetMatchingTabHiddenCommand";
|
|
97
98
|
import { SetPasswordCommandInput, SetPasswordCommandOutput } from "./commands/SetPasswordCommand";
|
|
98
99
|
import { SetPreservationHoldCommandInput, SetPreservationHoldCommandOutput } from "./commands/SetPreservationHoldCommand";
|
|
99
100
|
import { SetTierOverrideCommandInput, SetTierOverrideCommandOutput } from "./commands/SetTierOverrideCommand";
|
|
@@ -805,6 +806,12 @@ export interface OneHook {
|
|
|
805
806
|
sendHookRequest(args: SendHookRequestCommandInput, options?: __HttpHandlerOptions): Promise<SendHookRequestCommandOutput>;
|
|
806
807
|
sendHookRequest(args: SendHookRequestCommandInput, cb: (err: any, data?: SendHookRequestCommandOutput) => void): void;
|
|
807
808
|
sendHookRequest(args: SendHookRequestCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SendHookRequestCommandOutput) => void): void;
|
|
809
|
+
/**
|
|
810
|
+
* @see {@link SetMatchingTabHiddenCommand}
|
|
811
|
+
*/
|
|
812
|
+
setMatchingTabHidden(args: SetMatchingTabHiddenCommandInput, options?: __HttpHandlerOptions): Promise<SetMatchingTabHiddenCommandOutput>;
|
|
813
|
+
setMatchingTabHidden(args: SetMatchingTabHiddenCommandInput, cb: (err: any, data?: SetMatchingTabHiddenCommandOutput) => void): void;
|
|
814
|
+
setMatchingTabHidden(args: SetMatchingTabHiddenCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SetMatchingTabHiddenCommandOutput) => void): void;
|
|
808
815
|
/**
|
|
809
816
|
* @see {@link SetTierOverrideCommand}
|
|
810
817
|
*/
|
|
@@ -94,6 +94,7 @@ import { SearchPlacesCommandInput, SearchPlacesCommandOutput } from "./commands/
|
|
|
94
94
|
import { SendAdminLinkOtpCommandInput, SendAdminLinkOtpCommandOutput } from "./commands/SendAdminLinkOtpCommand";
|
|
95
95
|
import { SendHookRequestCommandInput, SendHookRequestCommandOutput } from "./commands/SendHookRequestCommand";
|
|
96
96
|
import { SetAccountStateCommandInput, SetAccountStateCommandOutput } from "./commands/SetAccountStateCommand";
|
|
97
|
+
import { SetMatchingTabHiddenCommandInput, SetMatchingTabHiddenCommandOutput } from "./commands/SetMatchingTabHiddenCommand";
|
|
97
98
|
import { SetPasswordCommandInput, SetPasswordCommandOutput } from "./commands/SetPasswordCommand";
|
|
98
99
|
import { SetPreservationHoldCommandInput, SetPreservationHoldCommandOutput } from "./commands/SetPreservationHoldCommand";
|
|
99
100
|
import { SetTierOverrideCommandInput, SetTierOverrideCommandOutput } from "./commands/SetTierOverrideCommand";
|
|
@@ -126,11 +127,11 @@ export { __Client };
|
|
|
126
127
|
/**
|
|
127
128
|
* @public
|
|
128
129
|
*/
|
|
129
|
-
export type ServiceInputTypes = AcceptHookRequestCommandInput | AuthSocialCommandInput | BlockUserCommandInput | CancelHookRequestCommandInput | CheckUsernameAvailabilityCommandInput | ClearTierOverrideCommandInput | CompleteLivenessSessionCommandInput | CompleteOnboardingCommandInput | CorrectBirthDateCommandInput | CreateAdminInviteCommandInput | CreateLivenessSessionCommandInput | CreateMediaDownloadUrlCommandInput | CreateMediaUploadUrlCommandInput | DeclineHookRequestCommandInput | DeleteMatchMessagesCommandInput | DeleteProfileCommandInput | DeletePushTokenCommandInput | DisableMatchingCommandInput | DiscoverCommandInput | EnableMatchingCommandInput | EstablishHistoryEpochCommandInput | GenerateDownloadUrlCommandInput | GenerateInviteCommandInput | GenerateUploadUrlCommandInput | GetAccountStateCommandInput | GetAdminPhoneStatusCommandInput | GetAiContextMatchCommandInput | GetBirthDateStatusCommandInput | GetChatProfileCommandInput | GetChatSettingsCommandInput | GetCredentialReadinessCommandInput | GetDiscoverySnapshotCommandInput | GetGraphInvitesCommandInput | GetGraphMatchCommandInput | GetGraphUserCommandInput | GetHistoryStateCommandInput | GetInternalMatchingStatusCommandInput | GetInternalProfileCommandInput | GetInviteEdgesCommandInput | GetLivenessStatusCommandInput | GetMatchCommandInput | GetMatchingProfileCommandInput | GetMatchingReadinessCommandInput | GetMediaStatsCommandInput | GetModerationReportCommandInput | GetModerationSignalsCommandInput | GetMyProfileCommandInput | GetParticipantRegistryCommandInput | GetPartnerDistanceCommandInput | GetPlaceCommandInput | GetPreferencesCommandInput | GetPreservationHoldCommandInput | GetReceivedLikesCommandInput | GetRosesCommandInput | GetScoringPolicyCommandInput | GetStateCommandInput | GetSuggestionsCommandInput | GetTierOverrideCommandInput | GetTraditionPreferencesCommandInput | GetUserByEmailCommandInput | GetUserCommandInput | GetUserIdByUsernameCommandInput | IndexLocationCommandInput | IngestSignalsCommandInput | InitUserCommandInput | IssueViewPassesCommandInput | KeepHooksCommandInput | LinkEmailCommandInput | LinkSocialCommandInput | ListBlocksCommandInput | ListGraphUserMatchesCommandInput | ListHookRequestsCommandInput | ListMatchingOnMembersCommandInput | ListMyDevicesCommandInput | PutHistoryWrapCommandInput | RecordSuggestionCommandInput | RecordSuggestionInternalCommandInput | RegisterDeviceCommandInput | RegisterPhoneCommandInput | RegisterPushTokenCommandInput | RemoveLocationCommandInput | RemoveOneHookSuggestionCommandInput | RemoveSuggestionCommandInput | ReportMemberCommandInput | RepublishMatchingProfileCommandInput | RequestEmailOtpCommandInput | RequestPhoneOtpCommandInput | RequestPhoneUpdateOtpCommandInput | RevokeDeviceCommandInput | RevokeHistoryWrapCommandInput | RevokeUserAccessCommandInput | SearchPlacesCommandInput | SendAdminLinkOtpCommandInput | SendHookRequestCommandInput | SetAccountStateCommandInput | SetPasswordCommandInput | SetPreservationHoldCommandInput | SetTierOverrideCommandInput | SimulateScoringPolicyCommandInput | SwipeCommandInput | UnblockUserCommandInput | UnhookCommandInput | UnlinkSocialCommandInput | UpdateChatSettingsCommandInput | UpdateEntitlementsCommandInput | UpdatePhoneNumberCommandInput | UpdatePreferencesCommandInput | UpdateScoringPolicyCommandInput | UpdateTraditionPreferencesCommandInput | UpdateUsernameCommandInput | UpgradeUserCommandInput | UpsertChatProfileCommandInput | UpsertMatchingProfileCommandInput | ValidateInviteCommandInput | VerifyAdminLinkOtpCommandInput;
|
|
130
|
+
export type ServiceInputTypes = AcceptHookRequestCommandInput | AuthSocialCommandInput | BlockUserCommandInput | CancelHookRequestCommandInput | CheckUsernameAvailabilityCommandInput | ClearTierOverrideCommandInput | CompleteLivenessSessionCommandInput | CompleteOnboardingCommandInput | CorrectBirthDateCommandInput | CreateAdminInviteCommandInput | CreateLivenessSessionCommandInput | CreateMediaDownloadUrlCommandInput | CreateMediaUploadUrlCommandInput | DeclineHookRequestCommandInput | DeleteMatchMessagesCommandInput | DeleteProfileCommandInput | DeletePushTokenCommandInput | DisableMatchingCommandInput | DiscoverCommandInput | EnableMatchingCommandInput | EstablishHistoryEpochCommandInput | GenerateDownloadUrlCommandInput | GenerateInviteCommandInput | GenerateUploadUrlCommandInput | GetAccountStateCommandInput | GetAdminPhoneStatusCommandInput | GetAiContextMatchCommandInput | GetBirthDateStatusCommandInput | GetChatProfileCommandInput | GetChatSettingsCommandInput | GetCredentialReadinessCommandInput | GetDiscoverySnapshotCommandInput | GetGraphInvitesCommandInput | GetGraphMatchCommandInput | GetGraphUserCommandInput | GetHistoryStateCommandInput | GetInternalMatchingStatusCommandInput | GetInternalProfileCommandInput | GetInviteEdgesCommandInput | GetLivenessStatusCommandInput | GetMatchCommandInput | GetMatchingProfileCommandInput | GetMatchingReadinessCommandInput | GetMediaStatsCommandInput | GetModerationReportCommandInput | GetModerationSignalsCommandInput | GetMyProfileCommandInput | GetParticipantRegistryCommandInput | GetPartnerDistanceCommandInput | GetPlaceCommandInput | GetPreferencesCommandInput | GetPreservationHoldCommandInput | GetReceivedLikesCommandInput | GetRosesCommandInput | GetScoringPolicyCommandInput | GetStateCommandInput | GetSuggestionsCommandInput | GetTierOverrideCommandInput | GetTraditionPreferencesCommandInput | GetUserByEmailCommandInput | GetUserCommandInput | GetUserIdByUsernameCommandInput | IndexLocationCommandInput | IngestSignalsCommandInput | InitUserCommandInput | IssueViewPassesCommandInput | KeepHooksCommandInput | LinkEmailCommandInput | LinkSocialCommandInput | ListBlocksCommandInput | ListGraphUserMatchesCommandInput | ListHookRequestsCommandInput | ListMatchingOnMembersCommandInput | ListMyDevicesCommandInput | PutHistoryWrapCommandInput | RecordSuggestionCommandInput | RecordSuggestionInternalCommandInput | RegisterDeviceCommandInput | RegisterPhoneCommandInput | RegisterPushTokenCommandInput | RemoveLocationCommandInput | RemoveOneHookSuggestionCommandInput | RemoveSuggestionCommandInput | ReportMemberCommandInput | RepublishMatchingProfileCommandInput | RequestEmailOtpCommandInput | RequestPhoneOtpCommandInput | RequestPhoneUpdateOtpCommandInput | RevokeDeviceCommandInput | RevokeHistoryWrapCommandInput | RevokeUserAccessCommandInput | SearchPlacesCommandInput | SendAdminLinkOtpCommandInput | SendHookRequestCommandInput | SetAccountStateCommandInput | SetMatchingTabHiddenCommandInput | SetPasswordCommandInput | SetPreservationHoldCommandInput | SetTierOverrideCommandInput | SimulateScoringPolicyCommandInput | SwipeCommandInput | UnblockUserCommandInput | UnhookCommandInput | UnlinkSocialCommandInput | UpdateChatSettingsCommandInput | UpdateEntitlementsCommandInput | UpdatePhoneNumberCommandInput | UpdatePreferencesCommandInput | UpdateScoringPolicyCommandInput | UpdateTraditionPreferencesCommandInput | UpdateUsernameCommandInput | UpgradeUserCommandInput | UpsertChatProfileCommandInput | UpsertMatchingProfileCommandInput | ValidateInviteCommandInput | VerifyAdminLinkOtpCommandInput;
|
|
130
131
|
/**
|
|
131
132
|
* @public
|
|
132
133
|
*/
|
|
133
|
-
export type ServiceOutputTypes = AcceptHookRequestCommandOutput | AuthSocialCommandOutput | BlockUserCommandOutput | CancelHookRequestCommandOutput | CheckUsernameAvailabilityCommandOutput | ClearTierOverrideCommandOutput | CompleteLivenessSessionCommandOutput | CompleteOnboardingCommandOutput | CorrectBirthDateCommandOutput | CreateAdminInviteCommandOutput | CreateLivenessSessionCommandOutput | CreateMediaDownloadUrlCommandOutput | CreateMediaUploadUrlCommandOutput | DeclineHookRequestCommandOutput | DeleteMatchMessagesCommandOutput | DeleteProfileCommandOutput | DeletePushTokenCommandOutput | DisableMatchingCommandOutput | DiscoverCommandOutput | EnableMatchingCommandOutput | EstablishHistoryEpochCommandOutput | GenerateDownloadUrlCommandOutput | GenerateInviteCommandOutput | GenerateUploadUrlCommandOutput | GetAccountStateCommandOutput | GetAdminPhoneStatusCommandOutput | GetAiContextMatchCommandOutput | GetBirthDateStatusCommandOutput | GetChatProfileCommandOutput | GetChatSettingsCommandOutput | GetCredentialReadinessCommandOutput | GetDiscoverySnapshotCommandOutput | GetGraphInvitesCommandOutput | GetGraphMatchCommandOutput | GetGraphUserCommandOutput | GetHistoryStateCommandOutput | GetInternalMatchingStatusCommandOutput | GetInternalProfileCommandOutput | GetInviteEdgesCommandOutput | GetLivenessStatusCommandOutput | GetMatchCommandOutput | GetMatchingProfileCommandOutput | GetMatchingReadinessCommandOutput | GetMediaStatsCommandOutput | GetModerationReportCommandOutput | GetModerationSignalsCommandOutput | GetMyProfileCommandOutput | GetParticipantRegistryCommandOutput | GetPartnerDistanceCommandOutput | GetPlaceCommandOutput | GetPreferencesCommandOutput | GetPreservationHoldCommandOutput | GetReceivedLikesCommandOutput | GetRosesCommandOutput | GetScoringPolicyCommandOutput | GetStateCommandOutput | GetSuggestionsCommandOutput | GetTierOverrideCommandOutput | GetTraditionPreferencesCommandOutput | GetUserByEmailCommandOutput | GetUserCommandOutput | GetUserIdByUsernameCommandOutput | IndexLocationCommandOutput | IngestSignalsCommandOutput | InitUserCommandOutput | IssueViewPassesCommandOutput | KeepHooksCommandOutput | LinkEmailCommandOutput | LinkSocialCommandOutput | ListBlocksCommandOutput | ListGraphUserMatchesCommandOutput | ListHookRequestsCommandOutput | ListMatchingOnMembersCommandOutput | ListMyDevicesCommandOutput | PutHistoryWrapCommandOutput | RecordSuggestionCommandOutput | RecordSuggestionInternalCommandOutput | RegisterDeviceCommandOutput | RegisterPhoneCommandOutput | RegisterPushTokenCommandOutput | RemoveLocationCommandOutput | RemoveOneHookSuggestionCommandOutput | RemoveSuggestionCommandOutput | ReportMemberCommandOutput | RepublishMatchingProfileCommandOutput | RequestEmailOtpCommandOutput | RequestPhoneOtpCommandOutput | RequestPhoneUpdateOtpCommandOutput | RevokeDeviceCommandOutput | RevokeHistoryWrapCommandOutput | RevokeUserAccessCommandOutput | SearchPlacesCommandOutput | SendAdminLinkOtpCommandOutput | SendHookRequestCommandOutput | SetAccountStateCommandOutput | SetPasswordCommandOutput | SetPreservationHoldCommandOutput | SetTierOverrideCommandOutput | SimulateScoringPolicyCommandOutput | SwipeCommandOutput | UnblockUserCommandOutput | UnhookCommandOutput | UnlinkSocialCommandOutput | UpdateChatSettingsCommandOutput | UpdateEntitlementsCommandOutput | UpdatePhoneNumberCommandOutput | UpdatePreferencesCommandOutput | UpdateScoringPolicyCommandOutput | UpdateTraditionPreferencesCommandOutput | UpdateUsernameCommandOutput | UpgradeUserCommandOutput | UpsertChatProfileCommandOutput | UpsertMatchingProfileCommandOutput | ValidateInviteCommandOutput | VerifyAdminLinkOtpCommandOutput;
|
|
134
|
+
export type ServiceOutputTypes = AcceptHookRequestCommandOutput | AuthSocialCommandOutput | BlockUserCommandOutput | CancelHookRequestCommandOutput | CheckUsernameAvailabilityCommandOutput | ClearTierOverrideCommandOutput | CompleteLivenessSessionCommandOutput | CompleteOnboardingCommandOutput | CorrectBirthDateCommandOutput | CreateAdminInviteCommandOutput | CreateLivenessSessionCommandOutput | CreateMediaDownloadUrlCommandOutput | CreateMediaUploadUrlCommandOutput | DeclineHookRequestCommandOutput | DeleteMatchMessagesCommandOutput | DeleteProfileCommandOutput | DeletePushTokenCommandOutput | DisableMatchingCommandOutput | DiscoverCommandOutput | EnableMatchingCommandOutput | EstablishHistoryEpochCommandOutput | GenerateDownloadUrlCommandOutput | GenerateInviteCommandOutput | GenerateUploadUrlCommandOutput | GetAccountStateCommandOutput | GetAdminPhoneStatusCommandOutput | GetAiContextMatchCommandOutput | GetBirthDateStatusCommandOutput | GetChatProfileCommandOutput | GetChatSettingsCommandOutput | GetCredentialReadinessCommandOutput | GetDiscoverySnapshotCommandOutput | GetGraphInvitesCommandOutput | GetGraphMatchCommandOutput | GetGraphUserCommandOutput | GetHistoryStateCommandOutput | GetInternalMatchingStatusCommandOutput | GetInternalProfileCommandOutput | GetInviteEdgesCommandOutput | GetLivenessStatusCommandOutput | GetMatchCommandOutput | GetMatchingProfileCommandOutput | GetMatchingReadinessCommandOutput | GetMediaStatsCommandOutput | GetModerationReportCommandOutput | GetModerationSignalsCommandOutput | GetMyProfileCommandOutput | GetParticipantRegistryCommandOutput | GetPartnerDistanceCommandOutput | GetPlaceCommandOutput | GetPreferencesCommandOutput | GetPreservationHoldCommandOutput | GetReceivedLikesCommandOutput | GetRosesCommandOutput | GetScoringPolicyCommandOutput | GetStateCommandOutput | GetSuggestionsCommandOutput | GetTierOverrideCommandOutput | GetTraditionPreferencesCommandOutput | GetUserByEmailCommandOutput | GetUserCommandOutput | GetUserIdByUsernameCommandOutput | IndexLocationCommandOutput | IngestSignalsCommandOutput | InitUserCommandOutput | IssueViewPassesCommandOutput | KeepHooksCommandOutput | LinkEmailCommandOutput | LinkSocialCommandOutput | ListBlocksCommandOutput | ListGraphUserMatchesCommandOutput | ListHookRequestsCommandOutput | ListMatchingOnMembersCommandOutput | ListMyDevicesCommandOutput | PutHistoryWrapCommandOutput | RecordSuggestionCommandOutput | RecordSuggestionInternalCommandOutput | RegisterDeviceCommandOutput | RegisterPhoneCommandOutput | RegisterPushTokenCommandOutput | RemoveLocationCommandOutput | RemoveOneHookSuggestionCommandOutput | RemoveSuggestionCommandOutput | ReportMemberCommandOutput | RepublishMatchingProfileCommandOutput | RequestEmailOtpCommandOutput | RequestPhoneOtpCommandOutput | RequestPhoneUpdateOtpCommandOutput | RevokeDeviceCommandOutput | RevokeHistoryWrapCommandOutput | RevokeUserAccessCommandOutput | SearchPlacesCommandOutput | SendAdminLinkOtpCommandOutput | SendHookRequestCommandOutput | SetAccountStateCommandOutput | SetMatchingTabHiddenCommandOutput | SetPasswordCommandOutput | SetPreservationHoldCommandOutput | SetTierOverrideCommandOutput | SimulateScoringPolicyCommandOutput | SwipeCommandOutput | UnblockUserCommandOutput | UnhookCommandOutput | UnlinkSocialCommandOutput | UpdateChatSettingsCommandOutput | UpdateEntitlementsCommandOutput | UpdatePhoneNumberCommandOutput | UpdatePreferencesCommandOutput | UpdateScoringPolicyCommandOutput | UpdateTraditionPreferencesCommandOutput | UpdateUsernameCommandOutput | UpgradeUserCommandOutput | UpsertChatProfileCommandOutput | UpsertMatchingProfileCommandOutput | ValidateInviteCommandOutput | VerifyAdminLinkOtpCommandOutput;
|
|
134
135
|
/**
|
|
135
136
|
* @public
|
|
136
137
|
*/
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookClient";
|
|
2
|
+
import { SetMatchingTabHiddenRequest, SetMatchingTabHiddenResponse } from "../models/models_0";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link SetMatchingTabHiddenCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface SetMatchingTabHiddenCommandInput extends SetMatchingTabHiddenRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link SetMatchingTabHiddenCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface SetMatchingTabHiddenCommandOutput extends SetMatchingTabHiddenResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const SetMatchingTabHiddenCommand_base: {
|
|
25
|
+
new (input: SetMatchingTabHiddenCommandInput): import("@smithy/smithy-client").CommandImpl<SetMatchingTabHiddenCommandInput, SetMatchingTabHiddenCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: SetMatchingTabHiddenCommandInput): import("@smithy/smithy-client").CommandImpl<SetMatchingTabHiddenCommandInput, SetMatchingTabHiddenCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Hides or shows the Matching tab (the locked preview of discovery) that clients show while the
|
|
31
|
+
* caller's matching is not ON. Stored on the member's state record, so it follows them across devices
|
|
32
|
+
* and is erased with the account. It has no effect while matching is ON (discovery always shows) and
|
|
33
|
+
* turning matching on or off leaves it as it is. Idempotent. 404 when State has no record of the caller.
|
|
34
|
+
* @example
|
|
35
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
36
|
+
* ```javascript
|
|
37
|
+
* import { OneHookClient, SetMatchingTabHiddenCommand } from "onehook-api-client"; // ES Modules import
|
|
38
|
+
* // const { OneHookClient, SetMatchingTabHiddenCommand } = require("onehook-api-client"); // CommonJS import
|
|
39
|
+
* const client = new OneHookClient(config);
|
|
40
|
+
* const input = { // SetMatchingTabHiddenRequest
|
|
41
|
+
* hidden: true || false, // required
|
|
42
|
+
* };
|
|
43
|
+
* const command = new SetMatchingTabHiddenCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // SetMatchingTabHiddenResponse
|
|
46
|
+
* // hidden: true || false, // required
|
|
47
|
+
* // };
|
|
48
|
+
*
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* @param SetMatchingTabHiddenCommandInput - {@link SetMatchingTabHiddenCommandInput}
|
|
52
|
+
* @returns {@link SetMatchingTabHiddenCommandOutput}
|
|
53
|
+
* @see {@link SetMatchingTabHiddenCommandInput} for command's `input` shape.
|
|
54
|
+
* @see {@link SetMatchingTabHiddenCommandOutput} for command's `response` shape.
|
|
55
|
+
* @see {@link OneHookClientResolvedConfig | config} for OneHookClient's `config` shape.
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link BadRequestError} (client fault)
|
|
58
|
+
* 400: the request is malformed or fails validation (code `BAD_REQUEST`, or a more specific one).
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link NotFoundError} (client fault)
|
|
61
|
+
* 404: the resource does not exist or is not visible to the caller (code `NOT_FOUND`, or a more
|
|
62
|
+
* specific one such as `REQUEST_UNAVAILABLE`).
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link InternalServerError} (server fault)
|
|
65
|
+
* 500: an unexpected failure (code `INTERNAL_ERROR`).
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link UnauthorizedError} (client fault)
|
|
68
|
+
* 401: no valid session for the route (code `UNAUTHORIZED`, or `INVALID_SESSION` from Matching).
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ForbiddenError} (client fault)
|
|
71
|
+
* 403: the caller may not do this (code `FORBIDDEN`, or a more specific one such as Matching's
|
|
72
|
+
* `MATCHING_OFF`, `DISCOVERY_PAUSED` or `PREMIUM_REQUIRED`). Shared by every service model.
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link TooManyRequestsError} (client fault)
|
|
75
|
+
* 429: a rate limit or daily quota is spent (for example `REPORT_LIMIT`, `RATE_LIMIT_EXCEEDED`,
|
|
76
|
+
* `ROSE_LIMIT_REACHED`, or `TOO_MANY_REQUESTS` from API Gateway throttling). Shared by every service
|
|
77
|
+
* model.
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link BadGatewayError} (server fault)
|
|
80
|
+
* 502: an upstream failed: API Gateway could not use the Lambda's answer, the identity provider
|
|
81
|
+
* (Cognito) failed (`BAD_GATEWAY`), or a downstream write failed after this service saved its own change
|
|
82
|
+
* (`PROPAGATION_FAILED`, retrying the same request is safe).
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link ServiceUnavailableError} (server fault)
|
|
85
|
+
* 503: a dependency is unavailable; retry later (`retryable` is true). Codes include
|
|
86
|
+
* `SERVICE_UNAVAILABLE`, `DATABASE_UNAVAILABLE` and `VIEW_PASS_UNAVAILABLE`.
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link OneHookServiceException}
|
|
89
|
+
* <p>Base exception class for all service exceptions from OneHook service.</p>
|
|
90
|
+
*
|
|
91
|
+
*
|
|
92
|
+
* @public
|
|
93
|
+
*/
|
|
94
|
+
export declare class SetMatchingTabHiddenCommand extends SetMatchingTabHiddenCommand_base {
|
|
95
|
+
/** @internal type navigation helper, not in runtime. */
|
|
96
|
+
protected static __types: {
|
|
97
|
+
api: {
|
|
98
|
+
input: SetMatchingTabHiddenRequest;
|
|
99
|
+
output: SetMatchingTabHiddenResponse;
|
|
100
|
+
};
|
|
101
|
+
sdk: {
|
|
102
|
+
input: SetMatchingTabHiddenCommandInput;
|
|
103
|
+
output: SetMatchingTabHiddenCommandOutput;
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
}
|
|
@@ -109,6 +109,7 @@ export * from "./ListHookRequestsCommand";
|
|
|
109
109
|
export * from "./ListMatchingOnMembersCommand";
|
|
110
110
|
export * from "./ReportMemberCommand";
|
|
111
111
|
export * from "./SendHookRequestCommand";
|
|
112
|
+
export * from "./SetMatchingTabHiddenCommand";
|
|
112
113
|
export * from "./SetTierOverrideCommand";
|
|
113
114
|
export * from "./UnblockUserCommand";
|
|
114
115
|
export * from "./UnhookCommand";
|
|
@@ -4347,6 +4347,13 @@ export interface UserStateResponse {
|
|
|
4347
4347
|
* @public
|
|
4348
4348
|
*/
|
|
4349
4349
|
chatViewPass?: string | undefined;
|
|
4350
|
+
/**
|
|
4351
|
+
* True when the member chose to hide the Matching tab (`PUT /state/matching/tab-hidden`): while
|
|
4352
|
+
* matching is not ON, clients show only Chat and Profile. Absent or false: the Matching tab (a
|
|
4353
|
+
* locked preview of discovery) is shown while matching is not ON. Ignored while matching is ON.
|
|
4354
|
+
* @public
|
|
4355
|
+
*/
|
|
4356
|
+
matchingTabHidden?: boolean | undefined;
|
|
4350
4357
|
}
|
|
4351
4358
|
/**
|
|
4352
4359
|
* @public
|
|
@@ -4537,6 +4544,26 @@ export interface SendHookRequestRequest {
|
|
|
4537
4544
|
*/
|
|
4538
4545
|
username: string | undefined;
|
|
4539
4546
|
}
|
|
4547
|
+
/**
|
|
4548
|
+
* @public
|
|
4549
|
+
*/
|
|
4550
|
+
export interface SetMatchingTabHiddenRequest {
|
|
4551
|
+
/**
|
|
4552
|
+
* True hides the Matching tab while matching is not ON; false shows it again.
|
|
4553
|
+
* @public
|
|
4554
|
+
*/
|
|
4555
|
+
hidden: boolean | undefined;
|
|
4556
|
+
}
|
|
4557
|
+
/**
|
|
4558
|
+
* @public
|
|
4559
|
+
*/
|
|
4560
|
+
export interface SetMatchingTabHiddenResponse {
|
|
4561
|
+
/**
|
|
4562
|
+
* The stored value.
|
|
4563
|
+
* @public
|
|
4564
|
+
*/
|
|
4565
|
+
hidden: boolean | undefined;
|
|
4566
|
+
}
|
|
4540
4567
|
/**
|
|
4541
4568
|
* @public
|
|
4542
4569
|
*/
|
|
@@ -93,6 +93,7 @@ import { SearchPlacesCommandInput, SearchPlacesCommandOutput } from "../commands
|
|
|
93
93
|
import { SendAdminLinkOtpCommandInput, SendAdminLinkOtpCommandOutput } from "../commands/SendAdminLinkOtpCommand";
|
|
94
94
|
import { SendHookRequestCommandInput, SendHookRequestCommandOutput } from "../commands/SendHookRequestCommand";
|
|
95
95
|
import { SetAccountStateCommandInput, SetAccountStateCommandOutput } from "../commands/SetAccountStateCommand";
|
|
96
|
+
import { SetMatchingTabHiddenCommandInput, SetMatchingTabHiddenCommandOutput } from "../commands/SetMatchingTabHiddenCommand";
|
|
96
97
|
import { SetPasswordCommandInput, SetPasswordCommandOutput } from "../commands/SetPasswordCommand";
|
|
97
98
|
import { SetPreservationHoldCommandInput, SetPreservationHoldCommandOutput } from "../commands/SetPreservationHoldCommand";
|
|
98
99
|
import { SetTierOverrideCommandInput, SetTierOverrideCommandOutput } from "../commands/SetTierOverrideCommand";
|
|
@@ -559,6 +560,10 @@ export declare const se_ReportMemberCommand: (input: ReportMemberCommandInput, c
|
|
|
559
560
|
* serializeAws_restJson1SendHookRequestCommand
|
|
560
561
|
*/
|
|
561
562
|
export declare const se_SendHookRequestCommand: (input: SendHookRequestCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
563
|
+
/**
|
|
564
|
+
* serializeAws_restJson1SetMatchingTabHiddenCommand
|
|
565
|
+
*/
|
|
566
|
+
export declare const se_SetMatchingTabHiddenCommand: (input: SetMatchingTabHiddenCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
562
567
|
/**
|
|
563
568
|
* serializeAws_restJson1SetTierOverrideCommand
|
|
564
569
|
*/
|
|
@@ -1019,6 +1024,10 @@ export declare const de_ReportMemberCommand: (output: __HttpResponse, context: _
|
|
|
1019
1024
|
* deserializeAws_restJson1SendHookRequestCommand
|
|
1020
1025
|
*/
|
|
1021
1026
|
export declare const de_SendHookRequestCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SendHookRequestCommandOutput>;
|
|
1027
|
+
/**
|
|
1028
|
+
* deserializeAws_restJson1SetMatchingTabHiddenCommand
|
|
1029
|
+
*/
|
|
1030
|
+
export declare const de_SetMatchingTabHiddenCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SetMatchingTabHiddenCommandOutput>;
|
|
1022
1031
|
/**
|
|
1023
1032
|
* deserializeAws_restJson1SetTierOverrideCommand
|
|
1024
1033
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare const TELEMETRY_CATALOG_VERSION = "1.
|
|
2
|
-
export declare const TELEMETRY_CATALOG_HASH = "
|
|
1
|
+
export declare const TELEMETRY_CATALOG_VERSION = "1.17.0";
|
|
2
|
+
export declare const TELEMETRY_CATALOG_HASH = "76d9d66743a9261c";
|
|
3
3
|
/** Every signal type the ingest accepts. */
|
|
4
4
|
export declare const SignalType: {
|
|
5
5
|
readonly SCREEN_VIEW: "screen_view";
|
|
@@ -308,6 +308,8 @@ export declare const UiElement: {
|
|
|
308
308
|
readonly ONBOARDING_CHOICE_SELECT: "onboarding.choice_select";
|
|
309
309
|
readonly MATCHING_INTRO_TURN_ON: "matching_intro.turn_on";
|
|
310
310
|
readonly MATCHING_INTRO_SHOULD_I_JOIN: "matching_intro.should_i_join";
|
|
311
|
+
readonly MATCHING_INTRO_LOCKED_TAP: "matching_intro.locked_tap";
|
|
312
|
+
readonly MATCHING_INTRO_HIDE: "matching_intro.hide";
|
|
311
313
|
readonly DISCOVER_PASS_BUTTON: "discover.pass_button";
|
|
312
314
|
readonly DISCOVER_LIKE_BUTTON: "discover.like_button";
|
|
313
315
|
readonly DISCOVER_ROSE_BUTTON: "discover.rose_button";
|
|
@@ -483,6 +485,7 @@ export declare const UiElement: {
|
|
|
483
485
|
readonly SETTINGS_UNBLOCK_CONFIRM: "settings.unblock_confirm";
|
|
484
486
|
readonly SETTINGS_MATCHING_ENABLE: "settings.matching_enable";
|
|
485
487
|
readonly SETTINGS_MATCHING_PROFILE_OPEN: "settings.matching_profile_open";
|
|
488
|
+
readonly SETTINGS_MATCHING_TAB_TOGGLE: "settings.matching_tab_toggle";
|
|
486
489
|
readonly SETTINGS_MATCHING_DISABLE: "settings.matching_disable";
|
|
487
490
|
readonly SETTINGS_MATCHING_DISABLE_CONFIRM: "settings.matching_disable_confirm";
|
|
488
491
|
readonly SETTINGS_VERIFY_CODE_SUBMIT: "settings.verify_code_submit";
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// GENERATED FILE - DO NOT EDIT.
|
|
2
|
-
// telemetry-integrity: sha256
|
|
2
|
+
// telemetry-integrity: sha256 0bcb943d402b979e41e483c6bdf24728cea2059f1bb98e6e3430ed1fb43d1c7f
|
|
3
3
|
// Source of truth: OneHookBackend/packages/telemetry/src/catalog.ts
|
|
4
4
|
// Regenerate: (OneHookBackend) npm run telemetry:generate && npm run telemetry:sync
|
|
5
|
-
// Catalog version 1.
|
|
5
|
+
// Catalog version 1.17.0, hash 76d9d66743a9261c.
|
|
6
6
|
//
|
|
7
7
|
// HARD RULE: every user interaction MUST emit ui_interaction with an id from THIS file, and
|
|
8
8
|
// ids are controlled by the backend. Read TELEMETRY_CONTRACT.txt (printed by every build).
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
package club.onehook.telemetry
|
|
13
13
|
|
|
14
14
|
object TelemetryCatalog {
|
|
15
|
-
const val VERSION = "1.
|
|
16
|
-
const val HASH = "
|
|
15
|
+
const val VERSION = "1.17.0"
|
|
16
|
+
const val HASH = "76d9d66743a9261c"
|
|
17
17
|
/** The only allowed `telemetry-exempt: <category>: <reason>` categories (see the catalog). */
|
|
18
18
|
val EXEMPT_CATEGORIES: List<String> = listOf("duplicate", "backdrop", "gesture", "continuous", "disabled")
|
|
19
19
|
}
|
|
@@ -368,6 +368,8 @@ enum class UiElement(
|
|
|
368
368
|
ONBOARDING_CHOICE_SELECT("onboarding.choice_select", TelemetryScreen.ONBOARDING, UiElementKind.SEGMENTED, listOf(UiAction.SELECT, UiAction.TAP), null, listOf(TelemetryPlatform.WEB, TelemetryPlatform.IOS, TelemetryPlatform.ANDROID)),
|
|
369
369
|
MATCHING_INTRO_TURN_ON("matching_intro.turn_on", TelemetryScreen.MATCHING_INTRO, UiElementKind.BUTTON, listOf(UiAction.TAP), null, listOf(TelemetryPlatform.WEB, TelemetryPlatform.IOS, TelemetryPlatform.ANDROID)),
|
|
370
370
|
MATCHING_INTRO_SHOULD_I_JOIN("matching_intro.should_i_join", TelemetryScreen.MATCHING_INTRO, UiElementKind.BUTTON, listOf(UiAction.TAP, UiAction.DISMISS), null, listOf(TelemetryPlatform.WEB, TelemetryPlatform.IOS, TelemetryPlatform.ANDROID)),
|
|
371
|
+
MATCHING_INTRO_LOCKED_TAP("matching_intro.locked_tap", TelemetryScreen.MATCHING_INTRO, UiElementKind.GESTURE, listOf(UiAction.TAP), null, listOf(TelemetryPlatform.WEB, TelemetryPlatform.IOS, TelemetryPlatform.ANDROID)),
|
|
372
|
+
MATCHING_INTRO_HIDE("matching_intro.hide", TelemetryScreen.MATCHING_INTRO, UiElementKind.BUTTON, listOf(UiAction.TAP), null, listOf(TelemetryPlatform.WEB, TelemetryPlatform.IOS, TelemetryPlatform.ANDROID)),
|
|
371
373
|
DISCOVER_PASS_BUTTON("discover.pass_button", TelemetryScreen.DISCOVER, UiElementKind.BUTTON, listOf(UiAction.TAP), null, listOf(TelemetryPlatform.WEB, TelemetryPlatform.IOS, TelemetryPlatform.ANDROID)),
|
|
372
374
|
DISCOVER_LIKE_BUTTON("discover.like_button", TelemetryScreen.DISCOVER, UiElementKind.BUTTON, listOf(UiAction.TAP), null, listOf(TelemetryPlatform.ANDROID)),
|
|
373
375
|
DISCOVER_ROSE_BUTTON("discover.rose_button", TelemetryScreen.DISCOVER, UiElementKind.BUTTON, listOf(UiAction.TAP), null, listOf(TelemetryPlatform.WEB, TelemetryPlatform.IOS, TelemetryPlatform.ANDROID)),
|
|
@@ -543,6 +545,7 @@ enum class UiElement(
|
|
|
543
545
|
SETTINGS_UNBLOCK_CONFIRM("settings.unblock_confirm", TelemetryScreen.SETTINGS, UiElementKind.DIALOG_BUTTON, listOf(UiAction.SUBMIT, UiAction.DISMISS), null, listOf(TelemetryPlatform.IOS)),
|
|
544
546
|
SETTINGS_MATCHING_ENABLE("settings.matching_enable", TelemetryScreen.SETTINGS, UiElementKind.BUTTON, listOf(UiAction.TAP), null, listOf(TelemetryPlatform.WEB, TelemetryPlatform.IOS)),
|
|
545
547
|
SETTINGS_MATCHING_PROFILE_OPEN("settings.matching_profile_open", TelemetryScreen.SETTINGS, UiElementKind.BUTTON, listOf(UiAction.TAP), null, listOf(TelemetryPlatform.WEB, TelemetryPlatform.IOS, TelemetryPlatform.ANDROID)),
|
|
548
|
+
SETTINGS_MATCHING_TAB_TOGGLE("settings.matching_tab_toggle", TelemetryScreen.SETTINGS, UiElementKind.TOGGLE, listOf(UiAction.TOGGLE), listOf("show", "hide"), listOf(TelemetryPlatform.WEB, TelemetryPlatform.IOS, TelemetryPlatform.ANDROID)),
|
|
546
549
|
SETTINGS_MATCHING_DISABLE("settings.matching_disable", TelemetryScreen.SETTINGS, UiElementKind.BUTTON, listOf(UiAction.TAP), null, listOf(TelemetryPlatform.WEB, TelemetryPlatform.IOS, TelemetryPlatform.ANDROID)),
|
|
547
550
|
SETTINGS_MATCHING_DISABLE_CONFIRM("settings.matching_disable_confirm", TelemetryScreen.SETTINGS, UiElementKind.DIALOG_BUTTON, listOf(UiAction.SUBMIT, UiAction.DISMISS), null, listOf(TelemetryPlatform.WEB, TelemetryPlatform.IOS, TelemetryPlatform.ANDROID)),
|
|
548
551
|
SETTINGS_VERIFY_CODE_SUBMIT("settings.verify_code_submit", TelemetryScreen.SETTINGS, UiElementKind.BUTTON, listOf(UiAction.SUBMIT, UiAction.DISMISS), listOf("email", "phone"), listOf(TelemetryPlatform.IOS, TelemetryPlatform.ANDROID)),
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// GENERATED FILE - DO NOT EDIT.
|
|
2
|
-
// telemetry-integrity: sha256
|
|
2
|
+
// telemetry-integrity: sha256 60042f48143e7fdc2a4899f085dffdf226fbc1c533ace96e4f37e74f07d08b1a
|
|
3
3
|
// Source of truth: OneHookBackend/packages/telemetry/src/catalog.ts
|
|
4
4
|
// Regenerate: (OneHookBackend) npm run telemetry:generate && npm run telemetry:sync
|
|
5
|
-
// Catalog version 1.
|
|
5
|
+
// Catalog version 1.17.0, hash 76d9d66743a9261c.
|
|
6
6
|
//
|
|
7
7
|
// HARD RULE: every user interaction MUST emit ui_interaction with an id from THIS file, and
|
|
8
8
|
// ids are controlled by the backend. Read TELEMETRY_CONTRACT.txt (printed by every build).
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
import Foundation
|
|
11
11
|
|
|
12
12
|
public enum TelemetryCatalog {
|
|
13
|
-
public static let version = "1.
|
|
14
|
-
public static let hash = "
|
|
13
|
+
public static let version = "1.17.0"
|
|
14
|
+
public static let hash = "76d9d66743a9261c"
|
|
15
15
|
/// The only allowed `telemetry-exempt: <category>: <reason>` categories (see the catalog).
|
|
16
16
|
public static let exemptCategories: [String] = ["duplicate", "backdrop", "gesture", "continuous", "disabled"]
|
|
17
17
|
}
|
|
@@ -306,6 +306,8 @@ public enum UiElement: String, CaseIterable, Codable, Sendable {
|
|
|
306
306
|
case onboardingChoiceSelect = "onboarding.choice_select"
|
|
307
307
|
case matchingIntroTurnOn = "matching_intro.turn_on"
|
|
308
308
|
case matchingIntroShouldIJoin = "matching_intro.should_i_join"
|
|
309
|
+
case matchingIntroLockedTap = "matching_intro.locked_tap"
|
|
310
|
+
case matchingIntroHide = "matching_intro.hide"
|
|
309
311
|
case discoverPassButton = "discover.pass_button"
|
|
310
312
|
case discoverLikeButton = "discover.like_button"
|
|
311
313
|
case discoverRoseButton = "discover.rose_button"
|
|
@@ -481,6 +483,7 @@ public enum UiElement: String, CaseIterable, Codable, Sendable {
|
|
|
481
483
|
case settingsUnblockConfirm = "settings.unblock_confirm"
|
|
482
484
|
case settingsMatchingEnable = "settings.matching_enable"
|
|
483
485
|
case settingsMatchingProfileOpen = "settings.matching_profile_open"
|
|
486
|
+
case settingsMatchingTabToggle = "settings.matching_tab_toggle"
|
|
484
487
|
case settingsMatchingDisable = "settings.matching_disable"
|
|
485
488
|
case settingsMatchingDisableConfirm = "settings.matching_disable_confirm"
|
|
486
489
|
case settingsVerifyCodeSubmit = "settings.verify_code_submit"
|
|
@@ -587,6 +590,8 @@ public enum UiElement: String, CaseIterable, Codable, Sendable {
|
|
|
587
590
|
case .onboardingChoiceSelect: return UiElementSpec(screen: .onboarding, kind: .segmented, actions: [.select, .tap], allowedValues: nil, platforms: [.web, .ios, .android])
|
|
588
591
|
case .matchingIntroTurnOn: return UiElementSpec(screen: .matchingIntro, kind: .button, actions: [.tap], allowedValues: nil, platforms: [.web, .ios, .android])
|
|
589
592
|
case .matchingIntroShouldIJoin: return UiElementSpec(screen: .matchingIntro, kind: .button, actions: [.tap, .dismiss], allowedValues: nil, platforms: [.web, .ios, .android])
|
|
593
|
+
case .matchingIntroLockedTap: return UiElementSpec(screen: .matchingIntro, kind: .gesture, actions: [.tap], allowedValues: nil, platforms: [.web, .ios, .android])
|
|
594
|
+
case .matchingIntroHide: return UiElementSpec(screen: .matchingIntro, kind: .button, actions: [.tap], allowedValues: nil, platforms: [.web, .ios, .android])
|
|
590
595
|
case .discoverPassButton: return UiElementSpec(screen: .discover, kind: .button, actions: [.tap], allowedValues: nil, platforms: [.web, .ios, .android])
|
|
591
596
|
case .discoverLikeButton: return UiElementSpec(screen: .discover, kind: .button, actions: [.tap], allowedValues: nil, platforms: [.android])
|
|
592
597
|
case .discoverRoseButton: return UiElementSpec(screen: .discover, kind: .button, actions: [.tap], allowedValues: nil, platforms: [.web, .ios, .android])
|
|
@@ -762,6 +767,7 @@ public enum UiElement: String, CaseIterable, Codable, Sendable {
|
|
|
762
767
|
case .settingsUnblockConfirm: return UiElementSpec(screen: .settings, kind: .dialogButton, actions: [.submit, .dismiss], allowedValues: nil, platforms: [.ios])
|
|
763
768
|
case .settingsMatchingEnable: return UiElementSpec(screen: .settings, kind: .button, actions: [.tap], allowedValues: nil, platforms: [.web, .ios])
|
|
764
769
|
case .settingsMatchingProfileOpen: return UiElementSpec(screen: .settings, kind: .button, actions: [.tap], allowedValues: nil, platforms: [.web, .ios, .android])
|
|
770
|
+
case .settingsMatchingTabToggle: return UiElementSpec(screen: .settings, kind: .toggle, actions: [.toggle], allowedValues: ["show", "hide"], platforms: [.web, .ios, .android])
|
|
765
771
|
case .settingsMatchingDisable: return UiElementSpec(screen: .settings, kind: .button, actions: [.tap], allowedValues: nil, platforms: [.web, .ios, .android])
|
|
766
772
|
case .settingsMatchingDisableConfirm: return UiElementSpec(screen: .settings, kind: .dialogButton, actions: [.submit, .dismiss], allowedValues: nil, platforms: [.web, .ios, .android])
|
|
767
773
|
case .settingsVerifyCodeSubmit: return UiElementSpec(screen: .settings, kind: .button, actions: [.submit, .dismiss], allowedValues: ["email", "phone"], platforms: [.ios, .android])
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.
|
|
2
|
+
"version": "1.17.0",
|
|
3
3
|
"screens": {
|
|
4
4
|
"NAV": {
|
|
5
5
|
"viewable": false,
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
},
|
|
36
36
|
"MATCHING_INTRO": {
|
|
37
37
|
"viewable": true,
|
|
38
|
-
"description": "Matching tab for chat-only members (matching off): the Turn on matching opt-in
|
|
38
|
+
"description": "Matching tab for chat-only members (matching off): a locked preview of the Discover screen in its empty state, with the Turn on matching opt-in, a \"Should I sign up for matching?\" explainer and Hide matching screen. Replaced by DISCOVER once matching is on; absent while the member has hidden it."
|
|
39
39
|
},
|
|
40
40
|
"LIKE_COMPOSER": {
|
|
41
41
|
"viewable": true,
|
|
@@ -1578,6 +1578,38 @@
|
|
|
1578
1578
|
"deprecated": null,
|
|
1579
1579
|
"legacy": null
|
|
1580
1580
|
},
|
|
1581
|
+
"matching_intro.locked_tap": {
|
|
1582
|
+
"screen": "MATCHING_INTRO",
|
|
1583
|
+
"kind": "gesture",
|
|
1584
|
+
"description": "Tap on a locked control of the Discover preview (header buttons, category chips, refresh); shows \"Opt in to get access\".",
|
|
1585
|
+
"actions": [
|
|
1586
|
+
"tap"
|
|
1587
|
+
],
|
|
1588
|
+
"values": null,
|
|
1589
|
+
"platforms": [
|
|
1590
|
+
"web",
|
|
1591
|
+
"ios",
|
|
1592
|
+
"android"
|
|
1593
|
+
],
|
|
1594
|
+
"deprecated": null,
|
|
1595
|
+
"legacy": null
|
|
1596
|
+
},
|
|
1597
|
+
"matching_intro.hide": {
|
|
1598
|
+
"screen": "MATCHING_INTRO",
|
|
1599
|
+
"kind": "button",
|
|
1600
|
+
"description": "Hide matching screen: the Matching tab goes away (Chat and Profile only) until shown again from settings.",
|
|
1601
|
+
"actions": [
|
|
1602
|
+
"tap"
|
|
1603
|
+
],
|
|
1604
|
+
"values": null,
|
|
1605
|
+
"platforms": [
|
|
1606
|
+
"web",
|
|
1607
|
+
"ios",
|
|
1608
|
+
"android"
|
|
1609
|
+
],
|
|
1610
|
+
"deprecated": null,
|
|
1611
|
+
"legacy": null
|
|
1612
|
+
},
|
|
1581
1613
|
"discover.pass_button": {
|
|
1582
1614
|
"screen": "DISCOVER",
|
|
1583
1615
|
"kind": "button",
|
|
@@ -4427,6 +4459,25 @@
|
|
|
4427
4459
|
"deprecated": null,
|
|
4428
4460
|
"legacy": null
|
|
4429
4461
|
},
|
|
4462
|
+
"settings.matching_tab_toggle": {
|
|
4463
|
+
"screen": "SETTINGS",
|
|
4464
|
+
"kind": "toggle",
|
|
4465
|
+
"description": "Show or hide the Matching tab while matching is off (General settings). value = new state.",
|
|
4466
|
+
"actions": [
|
|
4467
|
+
"toggle"
|
|
4468
|
+
],
|
|
4469
|
+
"values": [
|
|
4470
|
+
"show",
|
|
4471
|
+
"hide"
|
|
4472
|
+
],
|
|
4473
|
+
"platforms": [
|
|
4474
|
+
"web",
|
|
4475
|
+
"ios",
|
|
4476
|
+
"android"
|
|
4477
|
+
],
|
|
4478
|
+
"deprecated": null,
|
|
4479
|
+
"legacy": null
|
|
4480
|
+
},
|
|
4430
4481
|
"settings.matching_disable": {
|
|
4431
4482
|
"screen": "SETTINGS",
|
|
4432
4483
|
"kind": "button",
|
|
@@ -5619,5 +5670,5 @@
|
|
|
5619
5670
|
}
|
|
5620
5671
|
}
|
|
5621
5672
|
},
|
|
5622
|
-
"hash": "
|
|
5673
|
+
"hash": "76d9d66743a9261c"
|
|
5623
5674
|
}
|