onehook-api-client 1.0.37 → 1.0.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +446 -19
- package/dist-cjs/OneHook.js +88 -8
- package/dist-cjs/commands/{GetNotificationPreferencesCommand.js → AcceptHookRequestCommand.js} +7 -7
- package/dist-cjs/commands/BlockUserCommand.js +21 -0
- package/dist-cjs/commands/CancelHookRequestCommand.js +21 -0
- package/dist-cjs/commands/ClearTierOverrideCommand.js +21 -0
- package/dist-cjs/commands/DeclineHookRequestCommand.js +21 -0
- package/dist-cjs/commands/{SwipeByUsernameCommand.js → DisableMatchingCommand.js} +7 -7
- package/dist-cjs/commands/EnableMatchingCommand.js +21 -0
- package/dist-cjs/commands/EstablishHistoryEpochCommand.js +21 -0
- package/dist-cjs/commands/GetChatProfileCommand.js +21 -0
- package/dist-cjs/commands/GetDiscoverySnapshotCommand.js +21 -0
- package/dist-cjs/commands/GetGraphInvitesCommand.js +21 -0
- package/dist-cjs/commands/{UpdateProfileCommand.js → GetGraphMatchCommand.js} +7 -7
- package/dist-cjs/commands/GetGraphUserCommand.js +21 -0
- package/dist-cjs/commands/GetHistoryStateCommand.js +21 -0
- package/dist-cjs/commands/GetInternalMatchingStatusCommand.js +21 -0
- package/dist-cjs/commands/GetInternalProfileCommand.js +21 -0
- package/dist-cjs/commands/GetInviteEdgesCommand.js +21 -0
- package/dist-cjs/commands/GetMatchingProfileCommand.js +21 -0
- package/dist-cjs/commands/GetMatchingReadinessCommand.js +21 -0
- package/dist-cjs/commands/GetMediaStatsCommand.js +21 -0
- package/dist-cjs/commands/GetModerationReportCommand.js +21 -0
- package/dist-cjs/commands/GetModerationSignalsCommand.js +21 -0
- package/dist-cjs/commands/GetPartnerDistanceCommand.js +21 -0
- package/dist-cjs/commands/GetScoringPolicyCommand.js +21 -0
- package/dist-cjs/commands/GetTierOverrideCommand.js +21 -0
- package/dist-cjs/commands/IngestSignalsCommand.js +21 -0
- package/dist-cjs/commands/IssueViewPassesCommand.js +21 -0
- package/dist-cjs/commands/KeepHooksCommand.js +21 -0
- package/dist-cjs/commands/{GetProfileCommand.js → ListBlocksCommand.js} +7 -7
- package/dist-cjs/commands/ListGraphUserMatchesCommand.js +21 -0
- package/dist-cjs/commands/ListHookRequestsCommand.js +21 -0
- package/dist-cjs/commands/ListMatchingOnMembersCommand.js +21 -0
- package/dist-cjs/commands/PutHistoryWrapCommand.js +21 -0
- package/dist-cjs/commands/RecordSuggestionInternalCommand.js +21 -0
- package/dist-cjs/commands/ReportMemberCommand.js +21 -0
- package/dist-cjs/commands/RepublishMatchingProfileCommand.js +21 -0
- package/dist-cjs/commands/RevokeHistoryWrapCommand.js +21 -0
- package/dist-cjs/commands/SendHookRequestCommand.js +21 -0
- package/dist-cjs/commands/SetTierOverrideCommand.js +21 -0
- package/dist-cjs/commands/SimulateScoringPolicyCommand.js +21 -0
- package/dist-cjs/commands/UnblockUserCommand.js +21 -0
- package/dist-cjs/commands/UpdateScoringPolicyCommand.js +21 -0
- package/dist-cjs/commands/UpsertChatProfileCommand.js +21 -0
- package/dist-cjs/commands/UpsertMatchingProfileCommand.js +21 -0
- package/dist-cjs/commands/index.js +44 -4
- package/dist-cjs/graphql/types.js +4 -0
- package/dist-cjs/models/models_0.js +216 -21
- package/dist-cjs/protocols/Aws_restJson1.js +2198 -514
- package/dist-cjs/telemetry/index.js +49 -9
- package/dist-es/OneHook.js +88 -8
- package/dist-es/commands/AcceptHookRequestCommand.js +17 -0
- package/dist-es/commands/BlockUserCommand.js +17 -0
- package/dist-es/commands/CancelHookRequestCommand.js +17 -0
- package/dist-es/commands/ClearTierOverrideCommand.js +17 -0
- package/dist-es/commands/DeclineHookRequestCommand.js +17 -0
- package/dist-es/commands/{SwipeByUsernameCommand.js → DisableMatchingCommand.js} +6 -6
- package/dist-es/commands/EnableMatchingCommand.js +17 -0
- package/dist-es/commands/EstablishHistoryEpochCommand.js +17 -0
- package/dist-es/commands/GetChatProfileCommand.js +17 -0
- package/dist-es/commands/GetDiscoverySnapshotCommand.js +17 -0
- package/dist-es/commands/GetGraphInvitesCommand.js +17 -0
- package/dist-es/commands/{UpdateProfileCommand.js → GetGraphMatchCommand.js} +6 -6
- package/dist-es/commands/GetGraphUserCommand.js +17 -0
- package/dist-es/commands/GetHistoryStateCommand.js +17 -0
- package/dist-es/commands/GetInternalMatchingStatusCommand.js +17 -0
- package/dist-es/commands/GetInternalProfileCommand.js +17 -0
- package/dist-es/commands/GetInviteEdgesCommand.js +17 -0
- package/dist-es/commands/GetMatchingProfileCommand.js +17 -0
- package/dist-es/commands/GetMatchingReadinessCommand.js +17 -0
- package/dist-es/commands/GetMediaStatsCommand.js +17 -0
- package/dist-es/commands/GetModerationReportCommand.js +17 -0
- package/dist-es/commands/GetModerationSignalsCommand.js +17 -0
- package/dist-es/commands/GetPartnerDistanceCommand.js +17 -0
- package/dist-es/commands/GetScoringPolicyCommand.js +17 -0
- package/dist-es/commands/GetTierOverrideCommand.js +17 -0
- package/dist-es/commands/IngestSignalsCommand.js +17 -0
- package/dist-es/commands/IssueViewPassesCommand.js +17 -0
- package/dist-es/commands/KeepHooksCommand.js +17 -0
- package/dist-es/commands/{GetProfileCommand.js → ListBlocksCommand.js} +6 -6
- package/dist-es/commands/ListGraphUserMatchesCommand.js +17 -0
- package/dist-es/commands/ListHookRequestsCommand.js +17 -0
- package/dist-es/commands/ListMatchingOnMembersCommand.js +17 -0
- package/dist-es/commands/PutHistoryWrapCommand.js +17 -0
- package/dist-es/commands/RecordSuggestionInternalCommand.js +17 -0
- package/dist-es/commands/ReportMemberCommand.js +17 -0
- package/dist-es/commands/RepublishMatchingProfileCommand.js +17 -0
- package/dist-es/commands/RevokeHistoryWrapCommand.js +17 -0
- package/dist-es/commands/SendHookRequestCommand.js +17 -0
- package/dist-es/commands/SetTierOverrideCommand.js +17 -0
- package/dist-es/commands/SimulateScoringPolicyCommand.js +17 -0
- package/dist-es/commands/UnblockUserCommand.js +17 -0
- package/dist-es/commands/UpdateScoringPolicyCommand.js +17 -0
- package/dist-es/commands/UpsertChatProfileCommand.js +17 -0
- package/dist-es/commands/UpsertMatchingProfileCommand.js +17 -0
- package/dist-es/commands/index.js +44 -4
- package/dist-es/graphql/types.js +4 -0
- package/dist-es/models/models_0.js +208 -18
- package/dist-es/protocols/Aws_restJson1.js +2003 -401
- package/dist-es/telemetry/index.js +49 -9
- package/dist-types/OneHook.d.ts +311 -23
- package/dist-types/OneHookClient.d.ts +46 -6
- package/dist-types/commands/AcceptHookRequestCommand.d.ts +109 -0
- package/dist-types/commands/AuthSocialCommand.d.ts +23 -0
- package/dist-types/commands/BlockUserCommand.d.ts +106 -0
- package/dist-types/commands/CancelHookRequestCommand.d.ts +103 -0
- package/dist-types/commands/ClearTierOverrideCommand.d.ts +123 -0
- package/dist-types/commands/CompleteLivenessSessionCommand.d.ts +26 -1
- package/dist-types/commands/CompleteOnboardingCommand.d.ts +31 -2
- package/dist-types/commands/CorrectBirthDateCommand.d.ts +25 -0
- package/dist-types/commands/CreateAdminInviteCommand.d.ts +23 -0
- package/dist-types/commands/CreateLivenessSessionCommand.d.ts +23 -0
- package/dist-types/commands/CreateMediaDownloadUrlCommand.d.ts +23 -0
- package/dist-types/commands/CreateMediaUploadUrlCommand.d.ts +24 -1
- package/dist-types/commands/DeclineHookRequestCommand.d.ts +103 -0
- package/dist-types/commands/DeleteMatchMessagesCommand.d.ts +21 -0
- package/dist-types/commands/DeleteProfileCommand.d.ts +28 -2
- package/dist-types/commands/DeletePushTokenCommand.d.ts +23 -0
- package/dist-types/commands/DisableMatchingCommand.d.ts +106 -0
- package/dist-types/commands/DiscoverCommand.d.ts +22 -0
- package/dist-types/commands/EnableMatchingCommand.d.ts +105 -0
- package/dist-types/commands/EstablishHistoryEpochCommand.d.ts +125 -0
- package/dist-types/commands/GenerateDownloadUrlCommand.d.ts +26 -0
- package/dist-types/commands/GenerateInviteCommand.d.ts +23 -0
- package/dist-types/commands/GenerateUploadUrlCommand.d.ts +31 -2
- package/dist-types/commands/GetAccountStateCommand.d.ts +25 -0
- package/dist-types/commands/GetAdminPhoneStatusCommand.d.ts +23 -0
- package/dist-types/commands/GetAiContextMatchCommand.d.ts +25 -0
- package/dist-types/commands/GetBirthDateStatusCommand.d.ts +25 -0
- package/dist-types/commands/GetChatProfileCommand.d.ts +123 -0
- package/dist-types/commands/GetChatSettingsCommand.d.ts +22 -0
- package/dist-types/commands/GetCredentialReadinessCommand.d.ts +25 -0
- package/dist-types/commands/GetDiscoverySnapshotCommand.d.ts +138 -0
- package/dist-types/commands/GetGraphInvitesCommand.d.ts +119 -0
- package/dist-types/commands/GetGraphMatchCommand.d.ts +136 -0
- package/dist-types/commands/GetGraphUserCommand.d.ts +117 -0
- package/dist-types/commands/GetHistoryStateCommand.d.ts +113 -0
- package/dist-types/commands/GetInternalMatchingStatusCommand.d.ts +102 -0
- package/dist-types/commands/GetInternalProfileCommand.d.ts +174 -0
- package/dist-types/commands/GetInviteEdgesCommand.d.ts +106 -0
- package/dist-types/commands/GetLivenessStatusCommand.d.ts +23 -0
- package/dist-types/commands/GetMatchCommand.d.ts +27 -0
- package/dist-types/commands/GetMatchingProfileCommand.d.ts +175 -0
- package/dist-types/commands/GetMatchingReadinessCommand.d.ts +107 -0
- package/dist-types/commands/GetMediaStatsCommand.d.ts +106 -0
- package/dist-types/commands/GetModerationReportCommand.d.ts +113 -0
- package/dist-types/commands/GetModerationSignalsCommand.d.ts +123 -0
- package/dist-types/commands/GetMyProfileCommand.d.ts +119 -79
- package/dist-types/commands/GetParticipantRegistryCommand.d.ts +23 -0
- package/dist-types/commands/GetPartnerDistanceCommand.d.ts +102 -0
- package/dist-types/commands/GetPlaceCommand.d.ts +25 -0
- package/dist-types/commands/GetPreferencesCommand.d.ts +27 -3
- package/dist-types/commands/GetPreservationHoldCommand.d.ts +25 -0
- package/dist-types/commands/GetReceivedLikesCommand.d.ts +24 -0
- package/dist-types/commands/GetRosesCommand.d.ts +25 -0
- package/dist-types/commands/GetScoringPolicyCommand.d.ts +143 -0
- package/dist-types/commands/GetStateCommand.d.ts +44 -0
- package/dist-types/commands/GetSuggestionsCommand.d.ts +23 -0
- package/dist-types/commands/GetTierOverrideCommand.d.ts +123 -0
- package/dist-types/commands/GetTraditionPreferencesCommand.d.ts +23 -0
- package/dist-types/commands/GetUserByEmailCommand.d.ts +27 -0
- package/dist-types/commands/GetUserCommand.d.ts +27 -0
- package/dist-types/commands/GetUserIdByUsernameCommand.d.ts +28 -3
- package/dist-types/commands/IndexLocationCommand.d.ts +23 -0
- package/dist-types/commands/IngestSignalsCommand.d.ts +114 -0
- package/dist-types/commands/InitUserCommand.d.ts +29 -2
- package/dist-types/commands/IssueViewPassesCommand.d.ts +107 -0
- package/dist-types/commands/KeepHooksCommand.d.ts +136 -0
- package/dist-types/commands/LinkEmailCommand.d.ts +23 -0
- package/dist-types/commands/LinkSocialCommand.d.ts +23 -0
- package/dist-types/commands/ListBlocksCommand.d.ts +102 -0
- package/dist-types/commands/ListGraphUserMatchesCommand.d.ts +117 -0
- package/dist-types/commands/ListHookRequestsCommand.d.ts +110 -0
- package/dist-types/commands/ListMatchingOnMembersCommand.d.ts +108 -0
- package/dist-types/commands/ListMyDevicesCommand.d.ts +20 -0
- package/dist-types/commands/PutHistoryWrapCommand.d.ts +112 -0
- package/dist-types/commands/RecordSuggestionCommand.d.ts +21 -0
- package/dist-types/commands/RecordSuggestionInternalCommand.d.ts +105 -0
- package/dist-types/commands/RegisterDeviceCommand.d.ts +25 -10
- package/dist-types/commands/RegisterPhoneCommand.d.ts +23 -0
- package/dist-types/commands/RegisterPushTokenCommand.d.ts +23 -0
- package/dist-types/commands/RemoveLocationCommand.d.ts +23 -0
- package/dist-types/commands/RemoveOneHookSuggestionCommand.d.ts +23 -0
- package/dist-types/commands/RemoveSuggestionCommand.d.ts +23 -0
- package/dist-types/commands/ReportMemberCommand.d.ts +107 -0
- package/dist-types/commands/RepublishMatchingProfileCommand.d.ts +109 -0
- package/dist-types/commands/RequestEmailOtpCommand.d.ts +23 -0
- package/dist-types/commands/RequestPhoneOtpCommand.d.ts +23 -0
- package/dist-types/commands/RequestPhoneUpdateOtpCommand.d.ts +23 -0
- package/dist-types/commands/RevokeDeviceCommand.d.ts +23 -0
- package/dist-types/commands/RevokeHistoryWrapCommand.d.ts +108 -0
- package/dist-types/commands/RevokeUserAccessCommand.d.ts +25 -0
- package/dist-types/commands/SearchPlacesCommand.d.ts +23 -0
- package/dist-types/commands/SendAdminLinkOtpCommand.d.ts +25 -0
- package/dist-types/commands/SendHookRequestCommand.d.ts +105 -0
- package/dist-types/commands/SetAccountStateCommand.d.ts +27 -0
- package/dist-types/commands/SetPreservationHoldCommand.d.ts +27 -0
- package/dist-types/commands/SetTierOverrideCommand.d.ts +128 -0
- package/dist-types/commands/SimulateScoringPolicyCommand.d.ts +129 -0
- package/dist-types/commands/SwipeCommand.d.ts +27 -0
- package/dist-types/commands/UnblockUserCommand.d.ts +99 -0
- package/dist-types/commands/UnhookCommand.d.ts +29 -0
- package/dist-types/commands/UnlinkSocialCommand.d.ts +23 -0
- package/dist-types/commands/UpdateChatSettingsCommand.d.ts +25 -0
- package/dist-types/commands/UpdateEntitlementsCommand.d.ts +25 -0
- package/dist-types/commands/UpdatePhoneNumberCommand.d.ts +23 -0
- package/dist-types/commands/UpdatePreferencesCommand.d.ts +76 -8
- package/dist-types/commands/UpdateScoringPolicyCommand.d.ts +183 -0
- package/dist-types/commands/UpdateTraditionPreferencesCommand.d.ts +23 -0
- package/dist-types/commands/UpdateUsernameCommand.d.ts +23 -0
- package/dist-types/commands/UpgradeUserCommand.d.ts +44 -0
- package/dist-types/commands/UpsertChatProfileCommand.d.ts +110 -0
- package/dist-types/commands/UpsertMatchingProfileCommand.d.ts +163 -0
- package/dist-types/commands/ValidateInviteCommand.d.ts +23 -0
- package/dist-types/commands/VerifyAdminLinkOtpCommand.d.ts +25 -0
- package/dist-types/commands/index.d.ts +44 -4
- package/dist-types/graphql/types.d.ts +8 -0
- package/dist-types/models/models_0.d.ts +3400 -1266
- package/dist-types/protocols/Aws_restJson1.d.ts +384 -24
- package/dist-types/telemetry/index.d.ts +25 -2
- package/package.json +1 -1
- package/telemetry/TelemetryCatalog.kt +33 -11
- package/telemetry/TelemetryCatalog.swift +50 -11
- package/telemetry/telemetry-catalog.json +309 -34
- package/dist-es/commands/GetNotificationPreferencesCommand.js +0 -17
- package/dist-types/commands/GetNotificationPreferencesCommand.d.ts +0 -91
- package/dist-types/commands/GetProfileCommand.d.ts +0 -153
- package/dist-types/commands/SwipeByUsernameCommand.d.ts +0 -93
- package/dist-types/commands/UpdateProfileCommand.d.ts +0 -142
|
@@ -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.15.0";
|
|
5
|
+
exports.TELEMETRY_CATALOG_HASH = "c0613025308ddfc0";
|
|
6
6
|
exports.SignalType = {
|
|
7
7
|
SCREEN_VIEW: "screen_view",
|
|
8
8
|
UI_INTERACTION: "ui_interaction",
|
|
@@ -42,6 +42,7 @@ exports.Screen = {
|
|
|
42
42
|
LIKES_YOU: "LIKES_YOU",
|
|
43
43
|
CHAT: "CHAT",
|
|
44
44
|
CHAT_SETTINGS: "CHAT_SETTINGS",
|
|
45
|
+
HOOK_REQUESTS: "HOOK_REQUESTS",
|
|
45
46
|
CALL: "CALL",
|
|
46
47
|
NOTIFICATIONS: "NOTIFICATIONS",
|
|
47
48
|
PROFILE: "PROFILE",
|
|
@@ -68,6 +69,7 @@ exports.ViewableScreen = {
|
|
|
68
69
|
LIKES_YOU: "LIKES_YOU",
|
|
69
70
|
CHAT: "CHAT",
|
|
70
71
|
CHAT_SETTINGS: "CHAT_SETTINGS",
|
|
72
|
+
HOOK_REQUESTS: "HOOK_REQUESTS",
|
|
71
73
|
CALL: "CALL",
|
|
72
74
|
NOTIFICATIONS: "NOTIFICATIONS",
|
|
73
75
|
PROFILE: "PROFILE",
|
|
@@ -146,6 +148,10 @@ exports.NotificationType = {
|
|
|
146
148
|
NEW_LIKE: "new_like",
|
|
147
149
|
NEW_MESSAGE: "new_message",
|
|
148
150
|
REENGAGEMENT: "reengagement",
|
|
151
|
+
CONVERSATION_SUSPENDED: "conversation_suspended",
|
|
152
|
+
CONVERSATION_RESUMED: "conversation_resumed",
|
|
153
|
+
HOOK_REQUESTED: "hook_requested",
|
|
154
|
+
MATCHING_DRAFT_EXPIRING: "matching_draft_expiring",
|
|
149
155
|
OTHER: "other",
|
|
150
156
|
};
|
|
151
157
|
exports.NotificationChannel = {
|
|
@@ -305,6 +311,11 @@ exports.UiElement = {
|
|
|
305
311
|
CHAT_SETTINGS_OPEN: "chat.settings_open",
|
|
306
312
|
CHAT_WALLPAPER_OPEN: "chat.wallpaper_open",
|
|
307
313
|
CHAT_ADD_HOOK_OPEN: "chat.add_hook_open",
|
|
314
|
+
CHAT_REQUESTS_OPEN: "chat.requests_open",
|
|
315
|
+
CHAT_KEEP_HOOKS_OPEN: "chat.keep_hooks_open",
|
|
316
|
+
CHAT_KEEP_HOOK_TOGGLE: "chat.keep_hook_toggle",
|
|
317
|
+
CHAT_KEEP_HOOKS_SUBMIT: "chat.keep_hooks_submit",
|
|
318
|
+
CHAT_KEEP_HOOKS_CONFIRM: "chat.keep_hooks_confirm",
|
|
308
319
|
CHAT_PRIVACY_TOGGLE: "chat.privacy_toggle",
|
|
309
320
|
CHAT_CALL: "chat.call",
|
|
310
321
|
CHAT_VIDEO_CALL: "chat.video_call",
|
|
@@ -358,6 +369,13 @@ exports.UiElement = {
|
|
|
358
369
|
CHAT_SETTINGS_WALLPAPER_SELECT: "chat_settings.wallpaper_select",
|
|
359
370
|
CHAT_SETTINGS_EXPORT_CHAT: "chat_settings.export_chat",
|
|
360
371
|
CHAT_SETTINGS_CLEAR_CACHE: "chat_settings.clear_cache",
|
|
372
|
+
HOOK_REQUESTS_CLOSE: "hook_requests.close",
|
|
373
|
+
HOOK_REQUESTS_REFRESH: "hook_requests.refresh",
|
|
374
|
+
HOOK_REQUESTS_RETRY: "hook_requests.retry",
|
|
375
|
+
HOOK_REQUESTS_ACCEPT: "hook_requests.accept",
|
|
376
|
+
HOOK_REQUESTS_DECLINE: "hook_requests.decline",
|
|
377
|
+
HOOK_REQUESTS_BLOCK: "hook_requests.block",
|
|
378
|
+
HOOK_REQUESTS_CANCEL: "hook_requests.cancel",
|
|
361
379
|
NOTIFICATIONS_ITEM_OPEN: "notifications.item_open",
|
|
362
380
|
NOTIFICATIONS_ITEM_DISMISS: "notifications.item_dismiss",
|
|
363
381
|
PROFILE_EDIT_OPEN: "profile.edit_open",
|
|
@@ -393,6 +411,7 @@ exports.UiElement = {
|
|
|
393
411
|
PREFERENCES_SAVE: "preferences.save",
|
|
394
412
|
PREFERENCES_UPGRADE_OPEN: "preferences.upgrade_open",
|
|
395
413
|
PREFERENCES_LOCKED_FILTER_TAP: "preferences.locked_filter_tap",
|
|
414
|
+
PREFERENCES_HIDE_PAST_HOOKS_TOGGLE: "preferences.hide_past_hooks_toggle",
|
|
396
415
|
PREFERENCES_SUGGESTION_REMOVE: "preferences.suggestion_remove",
|
|
397
416
|
PREFERENCES_OWN_SUGGESTION_SAVE: "preferences.own_suggestion_save",
|
|
398
417
|
PREFERENCES_TRADITION_TOGGLE: "preferences.tradition_toggle",
|
|
@@ -416,6 +435,10 @@ exports.UiElement = {
|
|
|
416
435
|
SETTINGS_DELETE_ACCOUNT_CONFIRM: "settings.delete_account_confirm",
|
|
417
436
|
SETTINGS_UNBLOCK_USER: "settings.unblock_user",
|
|
418
437
|
SETTINGS_UNBLOCK_CONFIRM: "settings.unblock_confirm",
|
|
438
|
+
SETTINGS_MATCHING_ENABLE: "settings.matching_enable",
|
|
439
|
+
SETTINGS_MATCHING_PROFILE_OPEN: "settings.matching_profile_open",
|
|
440
|
+
SETTINGS_MATCHING_DISABLE: "settings.matching_disable",
|
|
441
|
+
SETTINGS_MATCHING_DISABLE_CONFIRM: "settings.matching_disable_confirm",
|
|
419
442
|
SETTINGS_VERIFY_CODE_SUBMIT: "settings.verify_code_submit",
|
|
420
443
|
SETTINGS_PASSWORD_SET_CONFIRM: "settings.password_set_confirm",
|
|
421
444
|
SETTINGS_HELP_LINK: "settings.help_link",
|
|
@@ -509,10 +532,10 @@ exports.UI_ELEMENTS = {
|
|
|
509
532
|
"onboarding.photo_add": { screen: "ONBOARDING", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios"] },
|
|
510
533
|
"onboarding.photo_remove": { screen: "ONBOARDING", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios"] },
|
|
511
534
|
"onboarding.photo_remove_confirm": { screen: "ONBOARDING", kind: "dialog_button", actions: ["submit", "dismiss"], values: null, platforms: ["web"] },
|
|
512
|
-
"onboarding.prompt_add": { screen: "ONBOARDING", kind: "button", actions: ["tap"], values: null, platforms: [
|
|
513
|
-
"onboarding.prompt_remove": { screen: "ONBOARDING", kind: "button", actions: ["tap"], values: null, platforms: [
|
|
514
|
-
"onboarding.voice_add": { screen: "ONBOARDING", kind: "button", actions: ["tap"], values: null, platforms: [
|
|
515
|
-
"onboarding.voice_remove": { screen: "ONBOARDING", kind: "button", actions: ["tap"], values: null, platforms: [
|
|
535
|
+
"onboarding.prompt_add": { screen: "ONBOARDING", kind: "button", actions: ["tap"], values: null, platforms: [] },
|
|
536
|
+
"onboarding.prompt_remove": { screen: "ONBOARDING", kind: "button", actions: ["tap"], values: null, platforms: [] },
|
|
537
|
+
"onboarding.voice_add": { screen: "ONBOARDING", kind: "button", actions: ["tap"], values: null, platforms: [] },
|
|
538
|
+
"onboarding.voice_remove": { screen: "ONBOARDING", kind: "button", actions: ["tap"], values: null, platforms: [] },
|
|
516
539
|
"onboarding.choice_select": { screen: "ONBOARDING", kind: "segmented", actions: ["select", "tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
517
540
|
"discover.pass_button": { screen: "DISCOVER", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
518
541
|
"discover.like_button": { screen: "DISCOVER", kind: "button", actions: ["tap"], values: null, platforms: ["android"] },
|
|
@@ -527,7 +550,7 @@ exports.UI_ELEMENTS = {
|
|
|
527
550
|
"discover.retry": { screen: "DISCOVER", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
528
551
|
"discover.category_select": { screen: "DISCOVER", kind: "button", actions: ["tap"], values: ["all", "profile_match", "onehook_suggested", "similar"], platforms: ["web", "ios", "android"] },
|
|
529
552
|
"discover.highlight_swipe": { screen: "DISCOVER", kind: "gesture", actions: ["tap"], values: ["onehook_intelligence", "mr_onehook", "kundali", "western", "bazi", "zi_wei_dou_shu", "tzolkin", "tibetan", "hebrew", "arabic_parts", "buddhist", "celtic", "egyptian", "hellenistic", "babylonian"], platforms: ["web", "ios", "android"] },
|
|
530
|
-
"discover.add_hook_submit": { screen: "DISCOVER", kind: "button", actions: ["submit"], values: null, platforms: ["web", "ios"] },
|
|
553
|
+
"discover.add_hook_submit": { screen: "DISCOVER", kind: "button", actions: ["submit"], values: null, platforms: ["web", "ios", "android"] },
|
|
531
554
|
"discover.upgrade_open": { screen: "DISCOVER", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
|
|
532
555
|
"like_composer.send": { screen: "LIKE_COMPOSER", kind: "button", actions: ["submit"], values: null, platforms: ["web", "ios", "android"] },
|
|
533
556
|
"like_composer.send_without_comment": { screen: "LIKE_COMPOSER", kind: "button", actions: ["submit"], values: null, platforms: ["ios"] },
|
|
@@ -560,7 +583,12 @@ exports.UI_ELEMENTS = {
|
|
|
560
583
|
"chat.block_confirm": { screen: "CHAT", kind: "dialog_button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
|
|
561
584
|
"chat.settings_open": { screen: "CHAT", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios"] },
|
|
562
585
|
"chat.wallpaper_open": { screen: "CHAT", kind: "menu_item", actions: ["tap", "dismiss"], values: null, platforms: ["web"] },
|
|
563
|
-
"chat.add_hook_open": { screen: "CHAT", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios"] },
|
|
586
|
+
"chat.add_hook_open": { screen: "CHAT", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
|
|
587
|
+
"chat.requests_open": { screen: "CHAT", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
588
|
+
"chat.keep_hooks_open": { screen: "CHAT", kind: "button", actions: ["tap"], values: null, platforms: ["android"] },
|
|
589
|
+
"chat.keep_hook_toggle": { screen: "CHAT", kind: "toggle", actions: ["toggle"], values: ["on", "off"], platforms: ["web", "ios", "android"] },
|
|
590
|
+
"chat.keep_hooks_submit": { screen: "CHAT", kind: "button", actions: ["submit"], values: null, platforms: ["web", "ios", "android"] },
|
|
591
|
+
"chat.keep_hooks_confirm": { screen: "CHAT", kind: "dialog_button", actions: ["submit", "dismiss"], values: null, platforms: ["ios", "android"] },
|
|
564
592
|
"chat.privacy_toggle": { screen: "CHAT", kind: "toggle", actions: ["toggle"], values: ["hidden", "visible"], platforms: [] },
|
|
565
593
|
"chat.call": { screen: "CHAT", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
566
594
|
"chat.video_call": { screen: "CHAT", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
@@ -608,12 +636,19 @@ exports.UI_ELEMENTS = {
|
|
|
608
636
|
"chat.history_reset_confirm": { screen: "CHAT", kind: "dialog_button", actions: ["submit", "dismiss"], values: null, platforms: ["web"] },
|
|
609
637
|
"chat_settings.last_seen_select": { screen: "CHAT_SETTINGS", kind: "segmented", actions: ["select", "tap"], values: null, platforms: ["web", "ios"] },
|
|
610
638
|
"chat_settings.disappearing_select": { screen: "CHAT_SETTINGS", kind: "segmented", actions: ["select", "tap"], values: null, platforms: ["web", "ios"] },
|
|
611
|
-
"chat_settings.notification_toggle": { screen: "CHAT_SETTINGS", kind: "toggle", actions: ["toggle"], values: ["on", "off"], platforms: ["web", "ios"] },
|
|
639
|
+
"chat_settings.notification_toggle": { screen: "CHAT_SETTINGS", kind: "toggle", actions: ["toggle"], values: ["on", "off"], platforms: ["web", "ios", "android"] },
|
|
612
640
|
"chat_settings.privacy_toggle": { screen: "CHAT_SETTINGS", kind: "toggle", actions: ["toggle"], values: ["on", "off"], platforms: ["web", "ios"] },
|
|
613
641
|
"chat_settings.font_size_select": { screen: "CHAT_SETTINGS", kind: "segmented", actions: ["select", "tap"], values: null, platforms: ["ios"] },
|
|
614
642
|
"chat_settings.wallpaper_select": { screen: "CHAT_SETTINGS", kind: "segmented", actions: ["select", "tap"], values: null, platforms: ["web", "ios"] },
|
|
615
643
|
"chat_settings.export_chat": { screen: "CHAT_SETTINGS", kind: "button", actions: ["tap", "select", "dismiss"], values: null, platforms: ["ios"] },
|
|
616
644
|
"chat_settings.clear_cache": { screen: "CHAT_SETTINGS", kind: "button", actions: ["tap"], values: null, platforms: ["ios"] },
|
|
645
|
+
"hook_requests.close": { screen: "HOOK_REQUESTS", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
|
|
646
|
+
"hook_requests.refresh": { screen: "HOOK_REQUESTS", kind: "button", actions: ["tap"], values: null, platforms: ["android"] },
|
|
647
|
+
"hook_requests.retry": { screen: "HOOK_REQUESTS", kind: "button", actions: ["tap"], values: null, platforms: ["ios"] },
|
|
648
|
+
"hook_requests.accept": { screen: "HOOK_REQUESTS", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
649
|
+
"hook_requests.decline": { screen: "HOOK_REQUESTS", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
650
|
+
"hook_requests.block": { screen: "HOOK_REQUESTS", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
651
|
+
"hook_requests.cancel": { screen: "HOOK_REQUESTS", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
617
652
|
"notifications.item_open": { screen: "NOTIFICATIONS", kind: "list_item", actions: ["tap"], values: null, platforms: ["ios"] },
|
|
618
653
|
"notifications.item_dismiss": { screen: "NOTIFICATIONS", kind: "gesture", actions: ["dismiss"], values: null, platforms: ["ios"] },
|
|
619
654
|
"profile.edit_open": { screen: "PROFILE", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["ios", "android"] },
|
|
@@ -649,6 +684,7 @@ exports.UI_ELEMENTS = {
|
|
|
649
684
|
"preferences.save": { screen: "PREFERENCES", kind: "button", actions: ["submit"], values: null, platforms: ["ios", "android"] },
|
|
650
685
|
"preferences.upgrade_open": { screen: "PREFERENCES", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
|
|
651
686
|
"preferences.locked_filter_tap": { screen: "PREFERENCES", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
687
|
+
"preferences.hide_past_hooks_toggle": { screen: "PREFERENCES", kind: "toggle", actions: ["toggle"], values: ["on", "off"], platforms: ["web", "ios", "android"] },
|
|
652
688
|
"preferences.suggestion_remove": { screen: "PREFERENCES", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
653
689
|
"preferences.own_suggestion_save": { screen: "PREFERENCES", kind: "button", actions: ["submit"], values: null, platforms: ["web", "ios", "android"] },
|
|
654
690
|
"preferences.tradition_toggle": { screen: "PREFERENCES", kind: "toggle", actions: ["toggle"], values: ["kundali", "western", "bazi", "zi_wei_dou_shu", "tzolkin", "tibetan", "hebrew", "arabic_parts", "buddhist", "celtic", "egyptian", "hellenistic", "babylonian"], platforms: ["web", "ios", "android"] },
|
|
@@ -672,6 +708,10 @@ exports.UI_ELEMENTS = {
|
|
|
672
708
|
"settings.delete_account_confirm": { screen: "SETTINGS", kind: "dialog_button", actions: ["submit", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
|
|
673
709
|
"settings.unblock_user": { screen: "SETTINGS", kind: "button", actions: ["tap"], values: null, platforms: ["ios"] },
|
|
674
710
|
"settings.unblock_confirm": { screen: "SETTINGS", kind: "dialog_button", actions: ["submit", "dismiss"], values: null, platforms: ["ios"] },
|
|
711
|
+
"settings.matching_enable": { screen: "SETTINGS", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios"] },
|
|
712
|
+
"settings.matching_profile_open": { screen: "SETTINGS", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
713
|
+
"settings.matching_disable": { screen: "SETTINGS", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
714
|
+
"settings.matching_disable_confirm": { screen: "SETTINGS", kind: "dialog_button", actions: ["submit", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
|
|
675
715
|
"settings.verify_code_submit": { screen: "SETTINGS", kind: "button", actions: ["submit", "dismiss"], values: ["email", "phone"], platforms: ["ios", "android"] },
|
|
676
716
|
"settings.password_set_confirm": { screen: "SETTINGS", kind: "dialog_button", actions: ["submit", "dismiss"], values: null, platforms: ["ios"] },
|
|
677
717
|
"settings.help_link": { screen: "SETTINGS", kind: "link", actions: ["tap"], values: ["help_center", "faq", "contact", "safety", "privacy", "terms", "other"], platforms: ["ios"] },
|
package/dist-es/OneHook.js
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { OneHookClient, } from "./OneHookClient";
|
|
2
|
+
import { AcceptHookRequestCommand, } from "./commands/AcceptHookRequestCommand";
|
|
2
3
|
import { AuthSocialCommand, } from "./commands/AuthSocialCommand";
|
|
4
|
+
import { BlockUserCommand, } from "./commands/BlockUserCommand";
|
|
5
|
+
import { CancelHookRequestCommand, } from "./commands/CancelHookRequestCommand";
|
|
6
|
+
import { ClearTierOverrideCommand, } from "./commands/ClearTierOverrideCommand";
|
|
3
7
|
import { CompleteLivenessSessionCommand, } from "./commands/CompleteLivenessSessionCommand";
|
|
4
8
|
import { CompleteOnboardingCommand, } from "./commands/CompleteOnboardingCommand";
|
|
5
9
|
import { CorrectBirthDateCommand, } from "./commands/CorrectBirthDateCommand";
|
|
@@ -7,10 +11,14 @@ import { CreateAdminInviteCommand, } from "./commands/CreateAdminInviteCommand";
|
|
|
7
11
|
import { CreateLivenessSessionCommand, } from "./commands/CreateLivenessSessionCommand";
|
|
8
12
|
import { CreateMediaDownloadUrlCommand, } from "./commands/CreateMediaDownloadUrlCommand";
|
|
9
13
|
import { CreateMediaUploadUrlCommand, } from "./commands/CreateMediaUploadUrlCommand";
|
|
14
|
+
import { DeclineHookRequestCommand, } from "./commands/DeclineHookRequestCommand";
|
|
10
15
|
import { DeleteMatchMessagesCommand, } from "./commands/DeleteMatchMessagesCommand";
|
|
11
16
|
import { DeleteProfileCommand, } from "./commands/DeleteProfileCommand";
|
|
12
17
|
import { DeletePushTokenCommand, } from "./commands/DeletePushTokenCommand";
|
|
18
|
+
import { DisableMatchingCommand, } from "./commands/DisableMatchingCommand";
|
|
13
19
|
import { DiscoverCommand, } from "./commands/DiscoverCommand";
|
|
20
|
+
import { EnableMatchingCommand, } from "./commands/EnableMatchingCommand";
|
|
21
|
+
import { EstablishHistoryEpochCommand, } from "./commands/EstablishHistoryEpochCommand";
|
|
14
22
|
import { GenerateDownloadUrlCommand, } from "./commands/GenerateDownloadUrlCommand";
|
|
15
23
|
import { GenerateInviteCommand, } from "./commands/GenerateInviteCommand";
|
|
16
24
|
import { GenerateUploadUrlCommand, } from "./commands/GenerateUploadUrlCommand";
|
|
@@ -18,73 +26,115 @@ import { GetAccountStateCommand, } from "./commands/GetAccountStateCommand";
|
|
|
18
26
|
import { GetAdminPhoneStatusCommand, } from "./commands/GetAdminPhoneStatusCommand";
|
|
19
27
|
import { GetAiContextMatchCommand, } from "./commands/GetAiContextMatchCommand";
|
|
20
28
|
import { GetBirthDateStatusCommand, } from "./commands/GetBirthDateStatusCommand";
|
|
29
|
+
import { GetChatProfileCommand, } from "./commands/GetChatProfileCommand";
|
|
21
30
|
import { GetChatSettingsCommand, } from "./commands/GetChatSettingsCommand";
|
|
22
31
|
import { GetCredentialReadinessCommand, } from "./commands/GetCredentialReadinessCommand";
|
|
32
|
+
import { GetDiscoverySnapshotCommand, } from "./commands/GetDiscoverySnapshotCommand";
|
|
33
|
+
import { GetGraphInvitesCommand, } from "./commands/GetGraphInvitesCommand";
|
|
34
|
+
import { GetGraphMatchCommand, } from "./commands/GetGraphMatchCommand";
|
|
35
|
+
import { GetGraphUserCommand, } from "./commands/GetGraphUserCommand";
|
|
36
|
+
import { GetHistoryStateCommand, } from "./commands/GetHistoryStateCommand";
|
|
37
|
+
import { GetInternalMatchingStatusCommand, } from "./commands/GetInternalMatchingStatusCommand";
|
|
38
|
+
import { GetInternalProfileCommand, } from "./commands/GetInternalProfileCommand";
|
|
39
|
+
import { GetInviteEdgesCommand, } from "./commands/GetInviteEdgesCommand";
|
|
23
40
|
import { GetLivenessStatusCommand, } from "./commands/GetLivenessStatusCommand";
|
|
24
41
|
import { GetMatchCommand, } from "./commands/GetMatchCommand";
|
|
42
|
+
import { GetMatchingProfileCommand, } from "./commands/GetMatchingProfileCommand";
|
|
43
|
+
import { GetMatchingReadinessCommand, } from "./commands/GetMatchingReadinessCommand";
|
|
44
|
+
import { GetMediaStatsCommand, } from "./commands/GetMediaStatsCommand";
|
|
45
|
+
import { GetModerationReportCommand, } from "./commands/GetModerationReportCommand";
|
|
46
|
+
import { GetModerationSignalsCommand, } from "./commands/GetModerationSignalsCommand";
|
|
25
47
|
import { GetMyProfileCommand, } from "./commands/GetMyProfileCommand";
|
|
26
|
-
import { GetNotificationPreferencesCommand, } from "./commands/GetNotificationPreferencesCommand";
|
|
27
48
|
import { GetParticipantRegistryCommand, } from "./commands/GetParticipantRegistryCommand";
|
|
49
|
+
import { GetPartnerDistanceCommand, } from "./commands/GetPartnerDistanceCommand";
|
|
28
50
|
import { GetPlaceCommand, } from "./commands/GetPlaceCommand";
|
|
29
51
|
import { GetPreferencesCommand, } from "./commands/GetPreferencesCommand";
|
|
30
52
|
import { GetPreservationHoldCommand, } from "./commands/GetPreservationHoldCommand";
|
|
31
|
-
import { GetProfileCommand, } from "./commands/GetProfileCommand";
|
|
32
53
|
import { GetReceivedLikesCommand, } from "./commands/GetReceivedLikesCommand";
|
|
33
54
|
import { GetRosesCommand, } from "./commands/GetRosesCommand";
|
|
55
|
+
import { GetScoringPolicyCommand, } from "./commands/GetScoringPolicyCommand";
|
|
34
56
|
import { GetStateCommand, } from "./commands/GetStateCommand";
|
|
35
57
|
import { GetSuggestionsCommand, } from "./commands/GetSuggestionsCommand";
|
|
58
|
+
import { GetTierOverrideCommand, } from "./commands/GetTierOverrideCommand";
|
|
36
59
|
import { GetTraditionPreferencesCommand, } from "./commands/GetTraditionPreferencesCommand";
|
|
37
60
|
import { GetUserByEmailCommand, } from "./commands/GetUserByEmailCommand";
|
|
38
61
|
import { GetUserCommand, } from "./commands/GetUserCommand";
|
|
39
62
|
import { GetUserIdByUsernameCommand, } from "./commands/GetUserIdByUsernameCommand";
|
|
40
63
|
import { IndexLocationCommand, } from "./commands/IndexLocationCommand";
|
|
64
|
+
import { IngestSignalsCommand, } from "./commands/IngestSignalsCommand";
|
|
41
65
|
import { InitUserCommand, } from "./commands/InitUserCommand";
|
|
66
|
+
import { IssueViewPassesCommand, } from "./commands/IssueViewPassesCommand";
|
|
67
|
+
import { KeepHooksCommand, } from "./commands/KeepHooksCommand";
|
|
42
68
|
import { LinkEmailCommand, } from "./commands/LinkEmailCommand";
|
|
43
69
|
import { LinkSocialCommand, } from "./commands/LinkSocialCommand";
|
|
70
|
+
import { ListBlocksCommand, } from "./commands/ListBlocksCommand";
|
|
71
|
+
import { ListGraphUserMatchesCommand, } from "./commands/ListGraphUserMatchesCommand";
|
|
72
|
+
import { ListHookRequestsCommand, } from "./commands/ListHookRequestsCommand";
|
|
73
|
+
import { ListMatchingOnMembersCommand, } from "./commands/ListMatchingOnMembersCommand";
|
|
44
74
|
import { ListMyDevicesCommand, } from "./commands/ListMyDevicesCommand";
|
|
75
|
+
import { PutHistoryWrapCommand, } from "./commands/PutHistoryWrapCommand";
|
|
45
76
|
import { RecordSuggestionCommand, } from "./commands/RecordSuggestionCommand";
|
|
77
|
+
import { RecordSuggestionInternalCommand, } from "./commands/RecordSuggestionInternalCommand";
|
|
46
78
|
import { RegisterDeviceCommand, } from "./commands/RegisterDeviceCommand";
|
|
47
79
|
import { RegisterPhoneCommand, } from "./commands/RegisterPhoneCommand";
|
|
48
80
|
import { RegisterPushTokenCommand, } from "./commands/RegisterPushTokenCommand";
|
|
49
81
|
import { RemoveLocationCommand, } from "./commands/RemoveLocationCommand";
|
|
50
82
|
import { RemoveOneHookSuggestionCommand, } from "./commands/RemoveOneHookSuggestionCommand";
|
|
51
83
|
import { RemoveSuggestionCommand, } from "./commands/RemoveSuggestionCommand";
|
|
84
|
+
import { ReportMemberCommand, } from "./commands/ReportMemberCommand";
|
|
85
|
+
import { RepublishMatchingProfileCommand, } from "./commands/RepublishMatchingProfileCommand";
|
|
52
86
|
import { RequestEmailOtpCommand, } from "./commands/RequestEmailOtpCommand";
|
|
53
87
|
import { RequestPhoneOtpCommand, } from "./commands/RequestPhoneOtpCommand";
|
|
54
88
|
import { RequestPhoneUpdateOtpCommand, } from "./commands/RequestPhoneUpdateOtpCommand";
|
|
55
89
|
import { RevokeDeviceCommand, } from "./commands/RevokeDeviceCommand";
|
|
90
|
+
import { RevokeHistoryWrapCommand, } from "./commands/RevokeHistoryWrapCommand";
|
|
56
91
|
import { RevokeUserAccessCommand, } from "./commands/RevokeUserAccessCommand";
|
|
57
92
|
import { SearchPlacesCommand, } from "./commands/SearchPlacesCommand";
|
|
58
93
|
import { SendAdminLinkOtpCommand, } from "./commands/SendAdminLinkOtpCommand";
|
|
94
|
+
import { SendHookRequestCommand, } from "./commands/SendHookRequestCommand";
|
|
59
95
|
import { SetAccountStateCommand, } from "./commands/SetAccountStateCommand";
|
|
60
96
|
import { SetPreservationHoldCommand, } from "./commands/SetPreservationHoldCommand";
|
|
61
|
-
import {
|
|
97
|
+
import { SetTierOverrideCommand, } from "./commands/SetTierOverrideCommand";
|
|
98
|
+
import { SimulateScoringPolicyCommand, } from "./commands/SimulateScoringPolicyCommand";
|
|
62
99
|
import { SwipeCommand, } from "./commands/SwipeCommand";
|
|
100
|
+
import { UnblockUserCommand, } from "./commands/UnblockUserCommand";
|
|
63
101
|
import { UnhookCommand, } from "./commands/UnhookCommand";
|
|
64
102
|
import { UnlinkSocialCommand, } from "./commands/UnlinkSocialCommand";
|
|
65
103
|
import { UpdateChatSettingsCommand, } from "./commands/UpdateChatSettingsCommand";
|
|
66
104
|
import { UpdateEntitlementsCommand, } from "./commands/UpdateEntitlementsCommand";
|
|
67
105
|
import { UpdatePhoneNumberCommand, } from "./commands/UpdatePhoneNumberCommand";
|
|
68
106
|
import { UpdatePreferencesCommand, } from "./commands/UpdatePreferencesCommand";
|
|
69
|
-
import {
|
|
107
|
+
import { UpdateScoringPolicyCommand, } from "./commands/UpdateScoringPolicyCommand";
|
|
70
108
|
import { UpdateTraditionPreferencesCommand, } from "./commands/UpdateTraditionPreferencesCommand";
|
|
71
109
|
import { UpdateUsernameCommand, } from "./commands/UpdateUsernameCommand";
|
|
72
110
|
import { UpgradeUserCommand, } from "./commands/UpgradeUserCommand";
|
|
111
|
+
import { UpsertChatProfileCommand, } from "./commands/UpsertChatProfileCommand";
|
|
112
|
+
import { UpsertMatchingProfileCommand, } from "./commands/UpsertMatchingProfileCommand";
|
|
73
113
|
import { ValidateInviteCommand, } from "./commands/ValidateInviteCommand";
|
|
74
114
|
import { VerifyAdminLinkOtpCommand, } from "./commands/VerifyAdminLinkOtpCommand";
|
|
75
115
|
import { createAggregatedClient } from "@smithy/smithy-client";
|
|
76
116
|
const commands = {
|
|
77
117
|
GetAiContextMatchCommand,
|
|
118
|
+
GetGraphInvitesCommand,
|
|
119
|
+
GetGraphMatchCommand,
|
|
120
|
+
GetGraphUserCommand,
|
|
121
|
+
GetMediaStatsCommand,
|
|
122
|
+
IngestSignalsCommand,
|
|
123
|
+
ListGraphUserMatchesCommand,
|
|
78
124
|
CreateMediaDownloadUrlCommand,
|
|
79
125
|
CreateMediaUploadUrlCommand,
|
|
80
126
|
DeleteMatchMessagesCommand,
|
|
81
127
|
DeletePushTokenCommand,
|
|
128
|
+
EstablishHistoryEpochCommand,
|
|
82
129
|
GetChatSettingsCommand,
|
|
130
|
+
GetHistoryStateCommand,
|
|
83
131
|
GetParticipantRegistryCommand,
|
|
84
132
|
ListMyDevicesCommand,
|
|
133
|
+
PutHistoryWrapCommand,
|
|
85
134
|
RegisterDeviceCommand,
|
|
86
135
|
RegisterPushTokenCommand,
|
|
87
136
|
RevokeDeviceCommand,
|
|
137
|
+
RevokeHistoryWrapCommand,
|
|
88
138
|
UpdateChatSettingsCommand,
|
|
89
139
|
AuthSocialCommand,
|
|
90
140
|
CreateAdminInviteCommand,
|
|
@@ -92,6 +142,7 @@ const commands = {
|
|
|
92
142
|
GetAccountStateCommand,
|
|
93
143
|
GetAdminPhoneStatusCommand,
|
|
94
144
|
GetCredentialReadinessCommand,
|
|
145
|
+
GetInviteEdgesCommand,
|
|
95
146
|
GetPreservationHoldCommand,
|
|
96
147
|
GetUserCommand,
|
|
97
148
|
GetUserByEmailCommand,
|
|
@@ -112,20 +163,24 @@ const commands = {
|
|
|
112
163
|
UpdateUsernameCommand,
|
|
113
164
|
ValidateInviteCommand,
|
|
114
165
|
VerifyAdminLinkOtpCommand,
|
|
166
|
+
GetScoringPolicyCommand,
|
|
167
|
+
SimulateScoringPolicyCommand,
|
|
168
|
+
UpdateScoringPolicyCommand,
|
|
115
169
|
DiscoverCommand,
|
|
116
|
-
|
|
170
|
+
GetPartnerDistanceCommand,
|
|
117
171
|
GetPreferencesCommand,
|
|
118
172
|
GetReceivedLikesCommand,
|
|
119
173
|
GetRosesCommand,
|
|
120
174
|
GetSuggestionsCommand,
|
|
121
175
|
GetTraditionPreferencesCommand,
|
|
122
176
|
IndexLocationCommand,
|
|
177
|
+
IssueViewPassesCommand,
|
|
123
178
|
RecordSuggestionCommand,
|
|
179
|
+
RecordSuggestionInternalCommand,
|
|
124
180
|
RemoveLocationCommand,
|
|
125
181
|
RemoveOneHookSuggestionCommand,
|
|
126
182
|
RemoveSuggestionCommand,
|
|
127
183
|
SwipeCommand,
|
|
128
|
-
SwipeByUsernameCommand,
|
|
129
184
|
UpdatePreferencesCommand,
|
|
130
185
|
UpdateTraditionPreferencesCommand,
|
|
131
186
|
CompleteLivenessSessionCommand,
|
|
@@ -135,16 +190,41 @@ const commands = {
|
|
|
135
190
|
GenerateDownloadUrlCommand,
|
|
136
191
|
GenerateUploadUrlCommand,
|
|
137
192
|
GetBirthDateStatusCommand,
|
|
193
|
+
GetChatProfileCommand,
|
|
194
|
+
GetInternalProfileCommand,
|
|
138
195
|
GetLivenessStatusCommand,
|
|
196
|
+
GetMatchingProfileCommand,
|
|
197
|
+
GetMatchingReadinessCommand,
|
|
139
198
|
GetMyProfileCommand,
|
|
140
199
|
GetPlaceCommand,
|
|
141
|
-
|
|
200
|
+
RepublishMatchingProfileCommand,
|
|
142
201
|
SearchPlacesCommand,
|
|
143
|
-
|
|
202
|
+
UpsertChatProfileCommand,
|
|
203
|
+
UpsertMatchingProfileCommand,
|
|
204
|
+
AcceptHookRequestCommand,
|
|
205
|
+
BlockUserCommand,
|
|
206
|
+
CancelHookRequestCommand,
|
|
207
|
+
ClearTierOverrideCommand,
|
|
144
208
|
CompleteOnboardingCommand,
|
|
209
|
+
DeclineHookRequestCommand,
|
|
210
|
+
DisableMatchingCommand,
|
|
211
|
+
EnableMatchingCommand,
|
|
212
|
+
GetDiscoverySnapshotCommand,
|
|
213
|
+
GetInternalMatchingStatusCommand,
|
|
145
214
|
GetMatchCommand,
|
|
215
|
+
GetModerationReportCommand,
|
|
216
|
+
GetModerationSignalsCommand,
|
|
146
217
|
GetStateCommand,
|
|
218
|
+
GetTierOverrideCommand,
|
|
147
219
|
InitUserCommand,
|
|
220
|
+
KeepHooksCommand,
|
|
221
|
+
ListBlocksCommand,
|
|
222
|
+
ListHookRequestsCommand,
|
|
223
|
+
ListMatchingOnMembersCommand,
|
|
224
|
+
ReportMemberCommand,
|
|
225
|
+
SendHookRequestCommand,
|
|
226
|
+
SetTierOverrideCommand,
|
|
227
|
+
UnblockUserCommand,
|
|
148
228
|
UnhookCommand,
|
|
149
229
|
UpgradeUserCommand,
|
|
150
230
|
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { de_AcceptHookRequestCommand, se_AcceptHookRequestCommand, } 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 AcceptHookRequestCommand extends $Command.classBuilder()
|
|
6
|
+
.m(function (Command, cs, config, o) {
|
|
7
|
+
return [
|
|
8
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
+
];
|
|
10
|
+
})
|
|
11
|
+
.s("OneHookService", "AcceptHookRequest", {})
|
|
12
|
+
.n("OneHookClient", "AcceptHookRequestCommand")
|
|
13
|
+
.f(void 0, void 0)
|
|
14
|
+
.ser(se_AcceptHookRequestCommand)
|
|
15
|
+
.de(de_AcceptHookRequestCommand)
|
|
16
|
+
.build() {
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { de_BlockUserCommand, se_BlockUserCommand, } 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 BlockUserCommand extends $Command.classBuilder()
|
|
6
|
+
.m(function (Command, cs, config, o) {
|
|
7
|
+
return [
|
|
8
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
+
];
|
|
10
|
+
})
|
|
11
|
+
.s("OneHookService", "BlockUser", {})
|
|
12
|
+
.n("OneHookClient", "BlockUserCommand")
|
|
13
|
+
.f(void 0, void 0)
|
|
14
|
+
.ser(se_BlockUserCommand)
|
|
15
|
+
.de(de_BlockUserCommand)
|
|
16
|
+
.build() {
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { de_CancelHookRequestCommand, se_CancelHookRequestCommand, } 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 CancelHookRequestCommand extends $Command.classBuilder()
|
|
6
|
+
.m(function (Command, cs, config, o) {
|
|
7
|
+
return [
|
|
8
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
+
];
|
|
10
|
+
})
|
|
11
|
+
.s("OneHookService", "CancelHookRequest", {})
|
|
12
|
+
.n("OneHookClient", "CancelHookRequestCommand")
|
|
13
|
+
.f(void 0, void 0)
|
|
14
|
+
.ser(se_CancelHookRequestCommand)
|
|
15
|
+
.de(de_CancelHookRequestCommand)
|
|
16
|
+
.build() {
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { de_ClearTierOverrideCommand, se_ClearTierOverrideCommand, } 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 ClearTierOverrideCommand extends $Command.classBuilder()
|
|
6
|
+
.m(function (Command, cs, config, o) {
|
|
7
|
+
return [
|
|
8
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
+
];
|
|
10
|
+
})
|
|
11
|
+
.s("OneHookService", "ClearTierOverride", {})
|
|
12
|
+
.n("OneHookClient", "ClearTierOverrideCommand")
|
|
13
|
+
.f(void 0, void 0)
|
|
14
|
+
.ser(se_ClearTierOverrideCommand)
|
|
15
|
+
.de(de_ClearTierOverrideCommand)
|
|
16
|
+
.build() {
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { de_DeclineHookRequestCommand, se_DeclineHookRequestCommand, } 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 DeclineHookRequestCommand extends $Command.classBuilder()
|
|
6
|
+
.m(function (Command, cs, config, o) {
|
|
7
|
+
return [
|
|
8
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
+
];
|
|
10
|
+
})
|
|
11
|
+
.s("OneHookService", "DeclineHookRequest", {})
|
|
12
|
+
.n("OneHookClient", "DeclineHookRequestCommand")
|
|
13
|
+
.f(void 0, void 0)
|
|
14
|
+
.ser(se_DeclineHookRequestCommand)
|
|
15
|
+
.de(de_DeclineHookRequestCommand)
|
|
16
|
+
.build() {
|
|
17
|
+
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { de_DisableMatchingCommand, se_DisableMatchingCommand, } from "../protocols/Aws_restJson1";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
export { $Command };
|
|
5
|
-
export class
|
|
5
|
+
export class DisableMatchingCommand extends $Command.classBuilder()
|
|
6
6
|
.m(function (Command, cs, config, o) {
|
|
7
7
|
return [
|
|
8
8
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
9
|
];
|
|
10
10
|
})
|
|
11
|
-
.s("OneHookService", "
|
|
12
|
-
.n("OneHookClient", "
|
|
11
|
+
.s("OneHookService", "DisableMatching", {})
|
|
12
|
+
.n("OneHookClient", "DisableMatchingCommand")
|
|
13
13
|
.f(void 0, void 0)
|
|
14
|
-
.ser(
|
|
15
|
-
.de(
|
|
14
|
+
.ser(se_DisableMatchingCommand)
|
|
15
|
+
.de(de_DisableMatchingCommand)
|
|
16
16
|
.build() {
|
|
17
17
|
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { de_EnableMatchingCommand, se_EnableMatchingCommand, } 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 EnableMatchingCommand extends $Command.classBuilder()
|
|
6
|
+
.m(function (Command, cs, config, o) {
|
|
7
|
+
return [
|
|
8
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
+
];
|
|
10
|
+
})
|
|
11
|
+
.s("OneHookService", "EnableMatching", {})
|
|
12
|
+
.n("OneHookClient", "EnableMatchingCommand")
|
|
13
|
+
.f(void 0, void 0)
|
|
14
|
+
.ser(se_EnableMatchingCommand)
|
|
15
|
+
.de(de_EnableMatchingCommand)
|
|
16
|
+
.build() {
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { de_EstablishHistoryEpochCommand, se_EstablishHistoryEpochCommand, } 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 EstablishHistoryEpochCommand extends $Command.classBuilder()
|
|
6
|
+
.m(function (Command, cs, config, o) {
|
|
7
|
+
return [
|
|
8
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
+
];
|
|
10
|
+
})
|
|
11
|
+
.s("OneHookService", "EstablishHistoryEpoch", {})
|
|
12
|
+
.n("OneHookClient", "EstablishHistoryEpochCommand")
|
|
13
|
+
.f(void 0, void 0)
|
|
14
|
+
.ser(se_EstablishHistoryEpochCommand)
|
|
15
|
+
.de(de_EstablishHistoryEpochCommand)
|
|
16
|
+
.build() {
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { de_GetChatProfileCommand, se_GetChatProfileCommand, } 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 GetChatProfileCommand extends $Command.classBuilder()
|
|
6
|
+
.m(function (Command, cs, config, o) {
|
|
7
|
+
return [
|
|
8
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
+
];
|
|
10
|
+
})
|
|
11
|
+
.s("OneHookService", "GetChatProfile", {})
|
|
12
|
+
.n("OneHookClient", "GetChatProfileCommand")
|
|
13
|
+
.f(void 0, void 0)
|
|
14
|
+
.ser(se_GetChatProfileCommand)
|
|
15
|
+
.de(de_GetChatProfileCommand)
|
|
16
|
+
.build() {
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { de_GetDiscoverySnapshotCommand, se_GetDiscoverySnapshotCommand, } 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 GetDiscoverySnapshotCommand extends $Command.classBuilder()
|
|
6
|
+
.m(function (Command, cs, config, o) {
|
|
7
|
+
return [
|
|
8
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
+
];
|
|
10
|
+
})
|
|
11
|
+
.s("OneHookService", "GetDiscoverySnapshot", {})
|
|
12
|
+
.n("OneHookClient", "GetDiscoverySnapshotCommand")
|
|
13
|
+
.f(void 0, void 0)
|
|
14
|
+
.ser(se_GetDiscoverySnapshotCommand)
|
|
15
|
+
.de(de_GetDiscoverySnapshotCommand)
|
|
16
|
+
.build() {
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { de_GetGraphInvitesCommand, se_GetGraphInvitesCommand, } 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 GetGraphInvitesCommand extends $Command.classBuilder()
|
|
6
|
+
.m(function (Command, cs, config, o) {
|
|
7
|
+
return [
|
|
8
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
+
];
|
|
10
|
+
})
|
|
11
|
+
.s("OneHookService", "GetGraphInvites", {})
|
|
12
|
+
.n("OneHookClient", "GetGraphInvitesCommand")
|
|
13
|
+
.f(void 0, void 0)
|
|
14
|
+
.ser(se_GetGraphInvitesCommand)
|
|
15
|
+
.de(de_GetGraphInvitesCommand)
|
|
16
|
+
.build() {
|
|
17
|
+
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { de_GetGraphMatchCommand, se_GetGraphMatchCommand, } from "../protocols/Aws_restJson1";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
export { $Command };
|
|
5
|
-
export class
|
|
5
|
+
export class GetGraphMatchCommand extends $Command.classBuilder()
|
|
6
6
|
.m(function (Command, cs, config, o) {
|
|
7
7
|
return [
|
|
8
8
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
9
|
];
|
|
10
10
|
})
|
|
11
|
-
.s("OneHookService", "
|
|
12
|
-
.n("OneHookClient", "
|
|
11
|
+
.s("OneHookService", "GetGraphMatch", {})
|
|
12
|
+
.n("OneHookClient", "GetGraphMatchCommand")
|
|
13
13
|
.f(void 0, void 0)
|
|
14
|
-
.ser(
|
|
15
|
-
.de(
|
|
14
|
+
.ser(se_GetGraphMatchCommand)
|
|
15
|
+
.de(de_GetGraphMatchCommand)
|
|
16
16
|
.build() {
|
|
17
17
|
}
|