onehook-api-client 1.0.40 → 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 +85 -17
- 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 +80 -14
- 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/GetChatProfileCommand.d.ts +0 -5
- package/dist-types/commands/GetInternalProfileCommand.d.ts +1 -1
- package/dist-types/commands/GetMatchingProfileCommand.d.ts +7 -0
- package/dist-types/commands/GetMyProfileCommand.d.ts +7 -5
- package/dist-types/commands/GetPlaceCommand.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/SearchPlacesCommand.d.ts +3 -2
- package/dist-types/commands/SetMatchingTabHiddenCommand.d.ts +106 -0
- package/dist-types/commands/UpgradeUserCommand.d.ts +1 -0
- package/dist-types/commands/UpsertChatProfileCommand.d.ts +0 -5
- package/dist-types/commands/UpsertMatchingProfileCommand.d.ts +7 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +80 -35
- 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");
|
|
@@ -1352,7 +1352,7 @@ const se_UpsertChatProfileCommand = async (input, context) => {
|
|
|
1352
1352
|
let body;
|
|
1353
1353
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1354
1354
|
'avatarKey': [],
|
|
1355
|
-
'birthDetails': _ =>
|
|
1355
|
+
'birthDetails': _ => (0, smithy_client_1._json)(_),
|
|
1356
1356
|
'displayName': [],
|
|
1357
1357
|
}));
|
|
1358
1358
|
b.m("PUT")
|
|
@@ -1371,6 +1371,7 @@ const se_UpsertMatchingProfileCommand = async (input, context) => {
|
|
|
1371
1371
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1372
1372
|
'audioPrompt': [],
|
|
1373
1373
|
'bio': [],
|
|
1374
|
+
'birthTimePlace': _ => se_BirthTimePlace(_, context),
|
|
1374
1375
|
'cannabisStatus': [],
|
|
1375
1376
|
'causes': _ => (0, smithy_client_1._json)(_),
|
|
1376
1377
|
'communities': _ => (0, smithy_client_1._json)(_),
|
|
@@ -1702,6 +1703,22 @@ const se_SendHookRequestCommand = async (input, context) => {
|
|
|
1702
1703
|
return b.build();
|
|
1703
1704
|
};
|
|
1704
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;
|
|
1705
1722
|
const se_SetTierOverrideCommand = async (input, context) => {
|
|
1706
1723
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
1707
1724
|
const headers = {
|
|
@@ -3130,7 +3147,7 @@ const de_GetChatProfileCommand = async (output, context) => {
|
|
|
3130
3147
|
'age': smithy_client_1.expectInt32,
|
|
3131
3148
|
'avatarKey': smithy_client_1.expectString,
|
|
3132
3149
|
'birthDateOnFile': smithy_client_1.expectBoolean,
|
|
3133
|
-
'birthDetails':
|
|
3150
|
+
'birthDetails': smithy_client_1._json,
|
|
3134
3151
|
'displayName': smithy_client_1.expectString,
|
|
3135
3152
|
'fieldModerationStatus': smithy_client_1._json,
|
|
3136
3153
|
'moderationStatus': smithy_client_1.expectString,
|
|
@@ -3222,6 +3239,7 @@ const de_GetMatchingProfileCommand = async (output, context) => {
|
|
|
3222
3239
|
'age': smithy_client_1.expectInt32,
|
|
3223
3240
|
'audioPrompt': smithy_client_1.expectString,
|
|
3224
3241
|
'bio': smithy_client_1.expectString,
|
|
3242
|
+
'birthTimePlace': _ => de_BirthTimePlace(_, context),
|
|
3225
3243
|
'cannabisStatus': smithy_client_1.expectString,
|
|
3226
3244
|
'causes': smithy_client_1._json,
|
|
3227
3245
|
'communities': smithy_client_1._json,
|
|
@@ -3292,8 +3310,8 @@ const de_GetMyProfileCommand = async (output, context) => {
|
|
|
3292
3310
|
});
|
|
3293
3311
|
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
|
|
3294
3312
|
const doc = (0, smithy_client_1.take)(data, {
|
|
3295
|
-
'chat':
|
|
3296
|
-
'matching':
|
|
3313
|
+
'chat': smithy_client_1._json,
|
|
3314
|
+
'matching': _ => de_MatchingProfile(_, context),
|
|
3297
3315
|
});
|
|
3298
3316
|
Object.assign(contents, doc);
|
|
3299
3317
|
return contents;
|
|
@@ -3645,6 +3663,7 @@ const de_GetStateCommand = async (output, context) => {
|
|
|
3645
3663
|
'keepLimit': smithy_client_1.expectInt32,
|
|
3646
3664
|
'matchIds': smithy_client_1._json,
|
|
3647
3665
|
'matching': smithy_client_1._json,
|
|
3666
|
+
'matchingTabHidden': smithy_client_1.expectBoolean,
|
|
3648
3667
|
'selectionDeadline': smithy_client_1.expectLong,
|
|
3649
3668
|
'selectionRequired': smithy_client_1.expectBoolean,
|
|
3650
3669
|
'state': smithy_client_1.expectString,
|
|
@@ -3712,6 +3731,7 @@ const de_KeepHooksCommand = async (output, context) => {
|
|
|
3712
3731
|
'keepLimit': smithy_client_1.expectInt32,
|
|
3713
3732
|
'matchIds': smithy_client_1._json,
|
|
3714
3733
|
'matching': smithy_client_1._json,
|
|
3734
|
+
'matchingTabHidden': smithy_client_1.expectBoolean,
|
|
3715
3735
|
'selectionDeadline': smithy_client_1.expectLong,
|
|
3716
3736
|
'selectionRequired': smithy_client_1.expectBoolean,
|
|
3717
3737
|
'state': smithy_client_1.expectString,
|
|
@@ -3802,6 +3822,21 @@ const de_SendHookRequestCommand = async (output, context) => {
|
|
|
3802
3822
|
return contents;
|
|
3803
3823
|
};
|
|
3804
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;
|
|
3805
3840
|
const de_SetTierOverrideCommand = async (output, context) => {
|
|
3806
3841
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3807
3842
|
return de_CommandError(output, context);
|
|
@@ -3874,6 +3909,7 @@ const de_UpgradeUserCommand = async (output, context) => {
|
|
|
3874
3909
|
'keepLimit': smithy_client_1.expectInt32,
|
|
3875
3910
|
'matchIds': smithy_client_1._json,
|
|
3876
3911
|
'matching': smithy_client_1._json,
|
|
3912
|
+
'matchingTabHidden': smithy_client_1.expectBoolean,
|
|
3877
3913
|
'selectionDeadline': smithy_client_1.expectLong,
|
|
3878
3914
|
'selectionRequired': smithy_client_1.expectBoolean,
|
|
3879
3915
|
'state': smithy_client_1.expectString,
|
|
@@ -4182,13 +4218,11 @@ const se_VariantOverrides = (input, context) => {
|
|
|
4182
4218
|
return acc;
|
|
4183
4219
|
}, {});
|
|
4184
4220
|
};
|
|
4185
|
-
const
|
|
4221
|
+
const se_BirthTimePlace = (input, context) => {
|
|
4186
4222
|
return (0, smithy_client_1.take)(input, {
|
|
4187
|
-
'date': [],
|
|
4188
4223
|
'latitude': smithy_client_1.serializeFloat,
|
|
4189
4224
|
'longitude': smithy_client_1.serializeFloat,
|
|
4190
4225
|
'placeName': [],
|
|
4191
|
-
'provisional': [],
|
|
4192
4226
|
'time': [],
|
|
4193
4227
|
'timeZone': [],
|
|
4194
4228
|
});
|
|
@@ -4333,27 +4367,61 @@ const de_CandidateList = (output, context) => {
|
|
|
4333
4367
|
});
|
|
4334
4368
|
return retVal;
|
|
4335
4369
|
};
|
|
4336
|
-
const
|
|
4370
|
+
const de_BirthTimePlace = (output, context) => {
|
|
4337
4371
|
return (0, smithy_client_1.take)(output, {
|
|
4338
|
-
'date': smithy_client_1.expectString,
|
|
4339
4372
|
'latitude': smithy_client_1.limitedParseDouble,
|
|
4340
4373
|
'longitude': smithy_client_1.limitedParseDouble,
|
|
4341
4374
|
'placeName': smithy_client_1.expectString,
|
|
4342
|
-
'provisional': smithy_client_1.expectBoolean,
|
|
4343
4375
|
'time': smithy_client_1.expectString,
|
|
4344
4376
|
'timeZone': smithy_client_1.expectString,
|
|
4345
4377
|
});
|
|
4346
4378
|
};
|
|
4347
|
-
const
|
|
4379
|
+
const de_MatchingProfile = (output, context) => {
|
|
4348
4380
|
return (0, smithy_client_1.take)(output, {
|
|
4349
4381
|
'age': smithy_client_1.expectInt32,
|
|
4350
|
-
'
|
|
4351
|
-
'
|
|
4352
|
-
'
|
|
4382
|
+
'audioPrompt': smithy_client_1.expectString,
|
|
4383
|
+
'bio': smithy_client_1.expectString,
|
|
4384
|
+
'birthTimePlace': (_) => de_BirthTimePlace(_, context),
|
|
4385
|
+
'cannabisStatus': smithy_client_1.expectString,
|
|
4386
|
+
'causes': smithy_client_1._json,
|
|
4387
|
+
'communities': smithy_client_1._json,
|
|
4388
|
+
'currentLocation': smithy_client_1.expectString,
|
|
4353
4389
|
'displayName': smithy_client_1.expectString,
|
|
4390
|
+
'draftExpiresAt': smithy_client_1.expectLong,
|
|
4391
|
+
'drinkingStatus': smithy_client_1.expectString,
|
|
4392
|
+
'drugsStatus': smithy_client_1.expectString,
|
|
4393
|
+
'education': smithy_client_1.expectString,
|
|
4394
|
+
'educationLevel': smithy_client_1.expectString,
|
|
4395
|
+
'exercise': smithy_client_1.expectString,
|
|
4396
|
+
'familyPlans': smithy_client_1.expectString,
|
|
4354
4397
|
'fieldModerationStatus': smithy_client_1._json,
|
|
4398
|
+
'gender': smithy_client_1.expectString,
|
|
4399
|
+
'generation': smithy_client_1.expectLong,
|
|
4400
|
+
'height': smithy_client_1.expectInt32,
|
|
4401
|
+
'hometown': smithy_client_1.expectString,
|
|
4402
|
+
'interestedIn': smithy_client_1._json,
|
|
4403
|
+
'interests': smithy_client_1._json,
|
|
4404
|
+
'languages': smithy_client_1._json,
|
|
4405
|
+
'lastEditedAt': smithy_client_1.expectLong,
|
|
4355
4406
|
'moderationStatus': smithy_client_1.expectString,
|
|
4407
|
+
'openers': smithy_client_1._json,
|
|
4408
|
+
'pictureTransforms': smithy_client_1._json,
|
|
4409
|
+
'pictures': smithy_client_1._json,
|
|
4410
|
+
'politicalView': smithy_client_1.expectString,
|
|
4411
|
+
'prompts': smithy_client_1._json,
|
|
4412
|
+
'qualities': smithy_client_1._json,
|
|
4413
|
+
'relationshipType': smithy_client_1.expectString,
|
|
4414
|
+
'religion': smithy_client_1.expectString,
|
|
4415
|
+
'smokingStatus': smithy_client_1.expectString,
|
|
4416
|
+
'socialLinks': smithy_client_1._json,
|
|
4417
|
+
'starSign': smithy_client_1.expectString,
|
|
4418
|
+
'status': smithy_client_1.expectString,
|
|
4419
|
+
'subscriptionTier': smithy_client_1.expectString,
|
|
4356
4420
|
'userId': smithy_client_1.expectString,
|
|
4421
|
+
'verified': smithy_client_1.expectBoolean,
|
|
4422
|
+
'videos': smithy_client_1._json,
|
|
4423
|
+
'wantsKids': smithy_client_1.expectString,
|
|
4424
|
+
'work': smithy_client_1.expectString,
|
|
4357
4425
|
});
|
|
4358
4426
|
};
|
|
4359
4427
|
const deserializeMetadata = (output) => ({
|
|
@@ -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";
|
|
@@ -1258,7 +1258,7 @@ export const se_UpsertChatProfileCommand = async (input, context) => {
|
|
|
1258
1258
|
let body;
|
|
1259
1259
|
body = JSON.stringify(take(input, {
|
|
1260
1260
|
'avatarKey': [],
|
|
1261
|
-
'birthDetails': _ =>
|
|
1261
|
+
'birthDetails': _ => _json(_),
|
|
1262
1262
|
'displayName': [],
|
|
1263
1263
|
}));
|
|
1264
1264
|
b.m("PUT")
|
|
@@ -1276,6 +1276,7 @@ export const se_UpsertMatchingProfileCommand = async (input, context) => {
|
|
|
1276
1276
|
body = JSON.stringify(take(input, {
|
|
1277
1277
|
'audioPrompt': [],
|
|
1278
1278
|
'bio': [],
|
|
1279
|
+
'birthTimePlace': _ => se_BirthTimePlace(_, context),
|
|
1279
1280
|
'cannabisStatus': [],
|
|
1280
1281
|
'causes': _ => _json(_),
|
|
1281
1282
|
'communities': _ => _json(_),
|
|
@@ -1584,6 +1585,21 @@ export const se_SendHookRequestCommand = async (input, context) => {
|
|
|
1584
1585
|
.b(body);
|
|
1585
1586
|
return b.build();
|
|
1586
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
|
+
};
|
|
1587
1603
|
export const se_SetTierOverrideCommand = async (input, context) => {
|
|
1588
1604
|
const b = rb(input, context);
|
|
1589
1605
|
const headers = {
|
|
@@ -2930,7 +2946,7 @@ export const de_GetChatProfileCommand = async (output, context) => {
|
|
|
2930
2946
|
'age': __expectInt32,
|
|
2931
2947
|
'avatarKey': __expectString,
|
|
2932
2948
|
'birthDateOnFile': __expectBoolean,
|
|
2933
|
-
'birthDetails':
|
|
2949
|
+
'birthDetails': _json,
|
|
2934
2950
|
'displayName': __expectString,
|
|
2935
2951
|
'fieldModerationStatus': _json,
|
|
2936
2952
|
'moderationStatus': __expectString,
|
|
@@ -3019,6 +3035,7 @@ export const de_GetMatchingProfileCommand = async (output, context) => {
|
|
|
3019
3035
|
'age': __expectInt32,
|
|
3020
3036
|
'audioPrompt': __expectString,
|
|
3021
3037
|
'bio': __expectString,
|
|
3038
|
+
'birthTimePlace': _ => de_BirthTimePlace(_, context),
|
|
3022
3039
|
'cannabisStatus': __expectString,
|
|
3023
3040
|
'causes': _json,
|
|
3024
3041
|
'communities': _json,
|
|
@@ -3087,8 +3104,8 @@ export const de_GetMyProfileCommand = async (output, context) => {
|
|
|
3087
3104
|
});
|
|
3088
3105
|
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
3089
3106
|
const doc = take(data, {
|
|
3090
|
-
'chat':
|
|
3091
|
-
'matching':
|
|
3107
|
+
'chat': _json,
|
|
3108
|
+
'matching': _ => de_MatchingProfile(_, context),
|
|
3092
3109
|
});
|
|
3093
3110
|
Object.assign(contents, doc);
|
|
3094
3111
|
return contents;
|
|
@@ -3421,6 +3438,7 @@ export const de_GetStateCommand = async (output, context) => {
|
|
|
3421
3438
|
'keepLimit': __expectInt32,
|
|
3422
3439
|
'matchIds': _json,
|
|
3423
3440
|
'matching': _json,
|
|
3441
|
+
'matchingTabHidden': __expectBoolean,
|
|
3424
3442
|
'selectionDeadline': __expectLong,
|
|
3425
3443
|
'selectionRequired': __expectBoolean,
|
|
3426
3444
|
'state': __expectString,
|
|
@@ -3485,6 +3503,7 @@ export const de_KeepHooksCommand = async (output, context) => {
|
|
|
3485
3503
|
'keepLimit': __expectInt32,
|
|
3486
3504
|
'matchIds': _json,
|
|
3487
3505
|
'matching': _json,
|
|
3506
|
+
'matchingTabHidden': __expectBoolean,
|
|
3488
3507
|
'selectionDeadline': __expectLong,
|
|
3489
3508
|
'selectionRequired': __expectBoolean,
|
|
3490
3509
|
'state': __expectString,
|
|
@@ -3569,6 +3588,20 @@ export const de_SendHookRequestCommand = async (output, context) => {
|
|
|
3569
3588
|
Object.assign(contents, doc);
|
|
3570
3589
|
return contents;
|
|
3571
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
|
+
};
|
|
3572
3605
|
export const de_SetTierOverrideCommand = async (output, context) => {
|
|
3573
3606
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3574
3607
|
return de_CommandError(output, context);
|
|
@@ -3638,6 +3671,7 @@ export const de_UpgradeUserCommand = async (output, context) => {
|
|
|
3638
3671
|
'keepLimit': __expectInt32,
|
|
3639
3672
|
'matchIds': _json,
|
|
3640
3673
|
'matching': _json,
|
|
3674
|
+
'matchingTabHidden': __expectBoolean,
|
|
3641
3675
|
'selectionDeadline': __expectLong,
|
|
3642
3676
|
'selectionRequired': __expectBoolean,
|
|
3643
3677
|
'state': __expectString,
|
|
@@ -3945,13 +3979,11 @@ const se_VariantOverrides = (input, context) => {
|
|
|
3945
3979
|
return acc;
|
|
3946
3980
|
}, {});
|
|
3947
3981
|
};
|
|
3948
|
-
const
|
|
3982
|
+
const se_BirthTimePlace = (input, context) => {
|
|
3949
3983
|
return take(input, {
|
|
3950
|
-
'date': [],
|
|
3951
3984
|
'latitude': __serializeFloat,
|
|
3952
3985
|
'longitude': __serializeFloat,
|
|
3953
3986
|
'placeName': [],
|
|
3954
|
-
'provisional': [],
|
|
3955
3987
|
'time': [],
|
|
3956
3988
|
'timeZone': [],
|
|
3957
3989
|
});
|
|
@@ -4096,27 +4128,61 @@ const de_CandidateList = (output, context) => {
|
|
|
4096
4128
|
});
|
|
4097
4129
|
return retVal;
|
|
4098
4130
|
};
|
|
4099
|
-
const
|
|
4131
|
+
const de_BirthTimePlace = (output, context) => {
|
|
4100
4132
|
return take(output, {
|
|
4101
|
-
'date': __expectString,
|
|
4102
4133
|
'latitude': __limitedParseDouble,
|
|
4103
4134
|
'longitude': __limitedParseDouble,
|
|
4104
4135
|
'placeName': __expectString,
|
|
4105
|
-
'provisional': __expectBoolean,
|
|
4106
4136
|
'time': __expectString,
|
|
4107
4137
|
'timeZone': __expectString,
|
|
4108
4138
|
});
|
|
4109
4139
|
};
|
|
4110
|
-
const
|
|
4140
|
+
const de_MatchingProfile = (output, context) => {
|
|
4111
4141
|
return take(output, {
|
|
4112
4142
|
'age': __expectInt32,
|
|
4113
|
-
'
|
|
4114
|
-
'
|
|
4115
|
-
'
|
|
4143
|
+
'audioPrompt': __expectString,
|
|
4144
|
+
'bio': __expectString,
|
|
4145
|
+
'birthTimePlace': (_) => de_BirthTimePlace(_, context),
|
|
4146
|
+
'cannabisStatus': __expectString,
|
|
4147
|
+
'causes': _json,
|
|
4148
|
+
'communities': _json,
|
|
4149
|
+
'currentLocation': __expectString,
|
|
4116
4150
|
'displayName': __expectString,
|
|
4151
|
+
'draftExpiresAt': __expectLong,
|
|
4152
|
+
'drinkingStatus': __expectString,
|
|
4153
|
+
'drugsStatus': __expectString,
|
|
4154
|
+
'education': __expectString,
|
|
4155
|
+
'educationLevel': __expectString,
|
|
4156
|
+
'exercise': __expectString,
|
|
4157
|
+
'familyPlans': __expectString,
|
|
4117
4158
|
'fieldModerationStatus': _json,
|
|
4159
|
+
'gender': __expectString,
|
|
4160
|
+
'generation': __expectLong,
|
|
4161
|
+
'height': __expectInt32,
|
|
4162
|
+
'hometown': __expectString,
|
|
4163
|
+
'interestedIn': _json,
|
|
4164
|
+
'interests': _json,
|
|
4165
|
+
'languages': _json,
|
|
4166
|
+
'lastEditedAt': __expectLong,
|
|
4118
4167
|
'moderationStatus': __expectString,
|
|
4168
|
+
'openers': _json,
|
|
4169
|
+
'pictureTransforms': _json,
|
|
4170
|
+
'pictures': _json,
|
|
4171
|
+
'politicalView': __expectString,
|
|
4172
|
+
'prompts': _json,
|
|
4173
|
+
'qualities': _json,
|
|
4174
|
+
'relationshipType': __expectString,
|
|
4175
|
+
'religion': __expectString,
|
|
4176
|
+
'smokingStatus': __expectString,
|
|
4177
|
+
'socialLinks': _json,
|
|
4178
|
+
'starSign': __expectString,
|
|
4179
|
+
'status': __expectString,
|
|
4180
|
+
'subscriptionTier': __expectString,
|
|
4119
4181
|
'userId': __expectString,
|
|
4182
|
+
'verified': __expectBoolean,
|
|
4183
|
+
'videos': _json,
|
|
4184
|
+
'wantsKids': __expectString,
|
|
4185
|
+
'work': __expectString,
|
|
4120
4186
|
});
|
|
4121
4187
|
};
|
|
4122
4188
|
const deserializeMetadata = (output) => ({
|
|
@@ -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
|
*/
|