onehook-api-client 1.0.36 → 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 +62 -14
- 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 +62 -14
- 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 +29 -2
- package/package.json +1 -1
- package/telemetry/TelemetryCatalog.kt +42 -16
- package/telemetry/TelemetryCatalog.swift +63 -16
- package/telemetry/telemetry-catalog.json +420 -49
- 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
|
@@ -2,16 +2,26 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
tslib_1.__exportStar(require("./GetAiContextMatchCommand"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./GetGraphInvitesCommand"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./GetGraphMatchCommand"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./GetGraphUserCommand"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./GetMediaStatsCommand"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./IngestSignalsCommand"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./ListGraphUserMatchesCommand"), exports);
|
|
5
11
|
tslib_1.__exportStar(require("./CreateMediaDownloadUrlCommand"), exports);
|
|
6
12
|
tslib_1.__exportStar(require("./CreateMediaUploadUrlCommand"), exports);
|
|
7
13
|
tslib_1.__exportStar(require("./DeleteMatchMessagesCommand"), exports);
|
|
8
14
|
tslib_1.__exportStar(require("./DeletePushTokenCommand"), exports);
|
|
15
|
+
tslib_1.__exportStar(require("./EstablishHistoryEpochCommand"), exports);
|
|
9
16
|
tslib_1.__exportStar(require("./GetChatSettingsCommand"), exports);
|
|
17
|
+
tslib_1.__exportStar(require("./GetHistoryStateCommand"), exports);
|
|
10
18
|
tslib_1.__exportStar(require("./GetParticipantRegistryCommand"), exports);
|
|
11
19
|
tslib_1.__exportStar(require("./ListMyDevicesCommand"), exports);
|
|
20
|
+
tslib_1.__exportStar(require("./PutHistoryWrapCommand"), exports);
|
|
12
21
|
tslib_1.__exportStar(require("./RegisterDeviceCommand"), exports);
|
|
13
22
|
tslib_1.__exportStar(require("./RegisterPushTokenCommand"), exports);
|
|
14
23
|
tslib_1.__exportStar(require("./RevokeDeviceCommand"), exports);
|
|
24
|
+
tslib_1.__exportStar(require("./RevokeHistoryWrapCommand"), exports);
|
|
15
25
|
tslib_1.__exportStar(require("./UpdateChatSettingsCommand"), exports);
|
|
16
26
|
tslib_1.__exportStar(require("./AuthSocialCommand"), exports);
|
|
17
27
|
tslib_1.__exportStar(require("./CreateAdminInviteCommand"), exports);
|
|
@@ -19,6 +29,7 @@ tslib_1.__exportStar(require("./GenerateInviteCommand"), exports);
|
|
|
19
29
|
tslib_1.__exportStar(require("./GetAccountStateCommand"), exports);
|
|
20
30
|
tslib_1.__exportStar(require("./GetAdminPhoneStatusCommand"), exports);
|
|
21
31
|
tslib_1.__exportStar(require("./GetCredentialReadinessCommand"), exports);
|
|
32
|
+
tslib_1.__exportStar(require("./GetInviteEdgesCommand"), exports);
|
|
22
33
|
tslib_1.__exportStar(require("./GetPreservationHoldCommand"), exports);
|
|
23
34
|
tslib_1.__exportStar(require("./GetUserCommand"), exports);
|
|
24
35
|
tslib_1.__exportStar(require("./GetUserByEmailCommand"), exports);
|
|
@@ -39,20 +50,24 @@ tslib_1.__exportStar(require("./UpdatePhoneNumberCommand"), exports);
|
|
|
39
50
|
tslib_1.__exportStar(require("./UpdateUsernameCommand"), exports);
|
|
40
51
|
tslib_1.__exportStar(require("./ValidateInviteCommand"), exports);
|
|
41
52
|
tslib_1.__exportStar(require("./VerifyAdminLinkOtpCommand"), exports);
|
|
53
|
+
tslib_1.__exportStar(require("./GetScoringPolicyCommand"), exports);
|
|
54
|
+
tslib_1.__exportStar(require("./SimulateScoringPolicyCommand"), exports);
|
|
55
|
+
tslib_1.__exportStar(require("./UpdateScoringPolicyCommand"), exports);
|
|
42
56
|
tslib_1.__exportStar(require("./DiscoverCommand"), exports);
|
|
43
|
-
tslib_1.__exportStar(require("./
|
|
57
|
+
tslib_1.__exportStar(require("./GetPartnerDistanceCommand"), exports);
|
|
44
58
|
tslib_1.__exportStar(require("./GetPreferencesCommand"), exports);
|
|
45
59
|
tslib_1.__exportStar(require("./GetReceivedLikesCommand"), exports);
|
|
46
60
|
tslib_1.__exportStar(require("./GetRosesCommand"), exports);
|
|
47
61
|
tslib_1.__exportStar(require("./GetSuggestionsCommand"), exports);
|
|
48
62
|
tslib_1.__exportStar(require("./GetTraditionPreferencesCommand"), exports);
|
|
49
63
|
tslib_1.__exportStar(require("./IndexLocationCommand"), exports);
|
|
64
|
+
tslib_1.__exportStar(require("./IssueViewPassesCommand"), exports);
|
|
50
65
|
tslib_1.__exportStar(require("./RecordSuggestionCommand"), exports);
|
|
66
|
+
tslib_1.__exportStar(require("./RecordSuggestionInternalCommand"), exports);
|
|
51
67
|
tslib_1.__exportStar(require("./RemoveLocationCommand"), exports);
|
|
52
68
|
tslib_1.__exportStar(require("./RemoveOneHookSuggestionCommand"), exports);
|
|
53
69
|
tslib_1.__exportStar(require("./RemoveSuggestionCommand"), exports);
|
|
54
70
|
tslib_1.__exportStar(require("./SwipeCommand"), exports);
|
|
55
|
-
tslib_1.__exportStar(require("./SwipeByUsernameCommand"), exports);
|
|
56
71
|
tslib_1.__exportStar(require("./UpdatePreferencesCommand"), exports);
|
|
57
72
|
tslib_1.__exportStar(require("./UpdateTraditionPreferencesCommand"), exports);
|
|
58
73
|
tslib_1.__exportStar(require("./CompleteLivenessSessionCommand"), exports);
|
|
@@ -62,15 +77,40 @@ tslib_1.__exportStar(require("./DeleteProfileCommand"), exports);
|
|
|
62
77
|
tslib_1.__exportStar(require("./GenerateDownloadUrlCommand"), exports);
|
|
63
78
|
tslib_1.__exportStar(require("./GenerateUploadUrlCommand"), exports);
|
|
64
79
|
tslib_1.__exportStar(require("./GetBirthDateStatusCommand"), exports);
|
|
80
|
+
tslib_1.__exportStar(require("./GetChatProfileCommand"), exports);
|
|
81
|
+
tslib_1.__exportStar(require("./GetInternalProfileCommand"), exports);
|
|
65
82
|
tslib_1.__exportStar(require("./GetLivenessStatusCommand"), exports);
|
|
83
|
+
tslib_1.__exportStar(require("./GetMatchingProfileCommand"), exports);
|
|
84
|
+
tslib_1.__exportStar(require("./GetMatchingReadinessCommand"), exports);
|
|
66
85
|
tslib_1.__exportStar(require("./GetMyProfileCommand"), exports);
|
|
67
86
|
tslib_1.__exportStar(require("./GetPlaceCommand"), exports);
|
|
68
|
-
tslib_1.__exportStar(require("./
|
|
87
|
+
tslib_1.__exportStar(require("./RepublishMatchingProfileCommand"), exports);
|
|
69
88
|
tslib_1.__exportStar(require("./SearchPlacesCommand"), exports);
|
|
70
|
-
tslib_1.__exportStar(require("./
|
|
89
|
+
tslib_1.__exportStar(require("./UpsertChatProfileCommand"), exports);
|
|
90
|
+
tslib_1.__exportStar(require("./UpsertMatchingProfileCommand"), exports);
|
|
91
|
+
tslib_1.__exportStar(require("./AcceptHookRequestCommand"), exports);
|
|
92
|
+
tslib_1.__exportStar(require("./BlockUserCommand"), exports);
|
|
93
|
+
tslib_1.__exportStar(require("./CancelHookRequestCommand"), exports);
|
|
94
|
+
tslib_1.__exportStar(require("./ClearTierOverrideCommand"), exports);
|
|
71
95
|
tslib_1.__exportStar(require("./CompleteOnboardingCommand"), exports);
|
|
96
|
+
tslib_1.__exportStar(require("./DeclineHookRequestCommand"), exports);
|
|
97
|
+
tslib_1.__exportStar(require("./DisableMatchingCommand"), exports);
|
|
98
|
+
tslib_1.__exportStar(require("./EnableMatchingCommand"), exports);
|
|
99
|
+
tslib_1.__exportStar(require("./GetDiscoverySnapshotCommand"), exports);
|
|
100
|
+
tslib_1.__exportStar(require("./GetInternalMatchingStatusCommand"), exports);
|
|
72
101
|
tslib_1.__exportStar(require("./GetMatchCommand"), exports);
|
|
102
|
+
tslib_1.__exportStar(require("./GetModerationReportCommand"), exports);
|
|
103
|
+
tslib_1.__exportStar(require("./GetModerationSignalsCommand"), exports);
|
|
73
104
|
tslib_1.__exportStar(require("./GetStateCommand"), exports);
|
|
105
|
+
tslib_1.__exportStar(require("./GetTierOverrideCommand"), exports);
|
|
74
106
|
tslib_1.__exportStar(require("./InitUserCommand"), exports);
|
|
107
|
+
tslib_1.__exportStar(require("./KeepHooksCommand"), exports);
|
|
108
|
+
tslib_1.__exportStar(require("./ListBlocksCommand"), exports);
|
|
109
|
+
tslib_1.__exportStar(require("./ListHookRequestsCommand"), exports);
|
|
110
|
+
tslib_1.__exportStar(require("./ListMatchingOnMembersCommand"), exports);
|
|
111
|
+
tslib_1.__exportStar(require("./ReportMemberCommand"), exports);
|
|
112
|
+
tslib_1.__exportStar(require("./SendHookRequestCommand"), exports);
|
|
113
|
+
tslib_1.__exportStar(require("./SetTierOverrideCommand"), exports);
|
|
114
|
+
tslib_1.__exportStar(require("./UnblockUserCommand"), exports);
|
|
75
115
|
tslib_1.__exportStar(require("./UnhookCommand"), exports);
|
|
76
116
|
tslib_1.__exportStar(require("./UpgradeUserCommand"), exports);
|
|
@@ -62,6 +62,10 @@ var MessageStatus;
|
|
|
62
62
|
var NotificationKind;
|
|
63
63
|
(function (NotificationKind) {
|
|
64
64
|
NotificationKind["ConversationCooling"] = "CONVERSATION_COOLING";
|
|
65
|
+
NotificationKind["ConversationResumed"] = "CONVERSATION_RESUMED";
|
|
66
|
+
NotificationKind["ConversationSuspended"] = "CONVERSATION_SUSPENDED";
|
|
67
|
+
NotificationKind["HookRequested"] = "HOOK_REQUESTED";
|
|
68
|
+
NotificationKind["MatchingDraftExpiring"] = "MATCHING_DRAFT_EXPIRING";
|
|
65
69
|
NotificationKind["MissedCall"] = "MISSED_CALL";
|
|
66
70
|
NotificationKind["MutualMatch"] = "MUTUAL_MATCH";
|
|
67
71
|
NotificationKind["ProfileLiked"] = "PROFILE_LIKED";
|
|
@@ -1,11 +1,98 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SuggestionBasis = exports.MatchVerdict = exports.MatchHighlightSource = exports.MatchFinder = exports.DiscoveryCategory = exports.SubscriptionTier = exports.
|
|
3
|
+
exports.HookRequestDirection = exports.ReportCategory = exports.HookEndReason = exports.HookOrigin = exports.BlockDirection = exports.EnableMatchingConflictError = exports.MatchingMode = exports.BlockReason = exports.MatchingProfileStatus = exports.MediaPurpose = exports.SuggestionBasis = exports.MatchVerdict = exports.MatchHighlightSource = exports.MatchFinder = exports.DiscoveryCategory = exports.SubscriptionTier = exports.CredentialGap = exports.AccountState = exports.PushTokenKind = exports.DeviceLimitError = exports.Platform = exports.LastSeenVisibility = exports.ConflictError = exports.MediaKind = exports.TooManyRequestsError = exports.NotFoundError = exports.InternalServerError = exports.BadRequestError = exports.UnauthorizedError = exports.ServiceUnavailableError = exports.BadGatewayError = exports.ForbiddenError = void 0;
|
|
4
4
|
const OneHookServiceException_1 = require("./OneHookServiceException");
|
|
5
|
+
class ForbiddenError extends OneHookServiceException_1.OneHookServiceException {
|
|
6
|
+
name = "ForbiddenError";
|
|
7
|
+
$fault = "client";
|
|
8
|
+
error;
|
|
9
|
+
code;
|
|
10
|
+
traceId;
|
|
11
|
+
retryable;
|
|
12
|
+
constructor(opts) {
|
|
13
|
+
super({
|
|
14
|
+
name: "ForbiddenError",
|
|
15
|
+
$fault: "client",
|
|
16
|
+
...opts
|
|
17
|
+
});
|
|
18
|
+
Object.setPrototypeOf(this, ForbiddenError.prototype);
|
|
19
|
+
this.error = opts.error;
|
|
20
|
+
this.code = opts.code;
|
|
21
|
+
this.traceId = opts.traceId;
|
|
22
|
+
this.retryable = opts.retryable;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
exports.ForbiddenError = ForbiddenError;
|
|
26
|
+
class BadGatewayError extends OneHookServiceException_1.OneHookServiceException {
|
|
27
|
+
name = "BadGatewayError";
|
|
28
|
+
$fault = "server";
|
|
29
|
+
error;
|
|
30
|
+
code;
|
|
31
|
+
traceId;
|
|
32
|
+
retryable;
|
|
33
|
+
constructor(opts) {
|
|
34
|
+
super({
|
|
35
|
+
name: "BadGatewayError",
|
|
36
|
+
$fault: "server",
|
|
37
|
+
...opts
|
|
38
|
+
});
|
|
39
|
+
Object.setPrototypeOf(this, BadGatewayError.prototype);
|
|
40
|
+
this.error = opts.error;
|
|
41
|
+
this.code = opts.code;
|
|
42
|
+
this.traceId = opts.traceId;
|
|
43
|
+
this.retryable = opts.retryable;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.BadGatewayError = BadGatewayError;
|
|
47
|
+
class ServiceUnavailableError extends OneHookServiceException_1.OneHookServiceException {
|
|
48
|
+
name = "ServiceUnavailableError";
|
|
49
|
+
$fault = "server";
|
|
50
|
+
error;
|
|
51
|
+
code;
|
|
52
|
+
traceId;
|
|
53
|
+
retryable;
|
|
54
|
+
constructor(opts) {
|
|
55
|
+
super({
|
|
56
|
+
name: "ServiceUnavailableError",
|
|
57
|
+
$fault: "server",
|
|
58
|
+
...opts
|
|
59
|
+
});
|
|
60
|
+
Object.setPrototypeOf(this, ServiceUnavailableError.prototype);
|
|
61
|
+
this.error = opts.error;
|
|
62
|
+
this.code = opts.code;
|
|
63
|
+
this.traceId = opts.traceId;
|
|
64
|
+
this.retryable = opts.retryable;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
exports.ServiceUnavailableError = ServiceUnavailableError;
|
|
68
|
+
class UnauthorizedError extends OneHookServiceException_1.OneHookServiceException {
|
|
69
|
+
name = "UnauthorizedError";
|
|
70
|
+
$fault = "client";
|
|
71
|
+
error;
|
|
72
|
+
code;
|
|
73
|
+
traceId;
|
|
74
|
+
retryable;
|
|
75
|
+
constructor(opts) {
|
|
76
|
+
super({
|
|
77
|
+
name: "UnauthorizedError",
|
|
78
|
+
$fault: "client",
|
|
79
|
+
...opts
|
|
80
|
+
});
|
|
81
|
+
Object.setPrototypeOf(this, UnauthorizedError.prototype);
|
|
82
|
+
this.error = opts.error;
|
|
83
|
+
this.code = opts.code;
|
|
84
|
+
this.traceId = opts.traceId;
|
|
85
|
+
this.retryable = opts.retryable;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
exports.UnauthorizedError = UnauthorizedError;
|
|
5
89
|
class BadRequestError extends OneHookServiceException_1.OneHookServiceException {
|
|
6
90
|
name = "BadRequestError";
|
|
7
91
|
$fault = "client";
|
|
8
92
|
error;
|
|
93
|
+
code;
|
|
94
|
+
traceId;
|
|
95
|
+
retryable;
|
|
9
96
|
constructor(opts) {
|
|
10
97
|
super({
|
|
11
98
|
name: "BadRequestError",
|
|
@@ -14,6 +101,9 @@ class BadRequestError extends OneHookServiceException_1.OneHookServiceException
|
|
|
14
101
|
});
|
|
15
102
|
Object.setPrototypeOf(this, BadRequestError.prototype);
|
|
16
103
|
this.error = opts.error;
|
|
104
|
+
this.code = opts.code;
|
|
105
|
+
this.traceId = opts.traceId;
|
|
106
|
+
this.retryable = opts.retryable;
|
|
17
107
|
}
|
|
18
108
|
}
|
|
19
109
|
exports.BadRequestError = BadRequestError;
|
|
@@ -21,6 +111,9 @@ class InternalServerError extends OneHookServiceException_1.OneHookServiceExcept
|
|
|
21
111
|
name = "InternalServerError";
|
|
22
112
|
$fault = "server";
|
|
23
113
|
error;
|
|
114
|
+
code;
|
|
115
|
+
traceId;
|
|
116
|
+
retryable;
|
|
24
117
|
constructor(opts) {
|
|
25
118
|
super({
|
|
26
119
|
name: "InternalServerError",
|
|
@@ -29,6 +122,9 @@ class InternalServerError extends OneHookServiceException_1.OneHookServiceExcept
|
|
|
29
122
|
});
|
|
30
123
|
Object.setPrototypeOf(this, InternalServerError.prototype);
|
|
31
124
|
this.error = opts.error;
|
|
125
|
+
this.code = opts.code;
|
|
126
|
+
this.traceId = opts.traceId;
|
|
127
|
+
this.retryable = opts.retryable;
|
|
32
128
|
}
|
|
33
129
|
}
|
|
34
130
|
exports.InternalServerError = InternalServerError;
|
|
@@ -36,6 +132,9 @@ class NotFoundError extends OneHookServiceException_1.OneHookServiceException {
|
|
|
36
132
|
name = "NotFoundError";
|
|
37
133
|
$fault = "client";
|
|
38
134
|
error;
|
|
135
|
+
code;
|
|
136
|
+
traceId;
|
|
137
|
+
retryable;
|
|
39
138
|
constructor(opts) {
|
|
40
139
|
super({
|
|
41
140
|
name: "NotFoundError",
|
|
@@ -44,30 +143,60 @@ class NotFoundError extends OneHookServiceException_1.OneHookServiceException {
|
|
|
44
143
|
});
|
|
45
144
|
Object.setPrototypeOf(this, NotFoundError.prototype);
|
|
46
145
|
this.error = opts.error;
|
|
146
|
+
this.code = opts.code;
|
|
147
|
+
this.traceId = opts.traceId;
|
|
148
|
+
this.retryable = opts.retryable;
|
|
47
149
|
}
|
|
48
150
|
}
|
|
49
151
|
exports.NotFoundError = NotFoundError;
|
|
50
|
-
class
|
|
51
|
-
name = "
|
|
152
|
+
class TooManyRequestsError extends OneHookServiceException_1.OneHookServiceException {
|
|
153
|
+
name = "TooManyRequestsError";
|
|
52
154
|
$fault = "client";
|
|
53
155
|
error;
|
|
156
|
+
code;
|
|
157
|
+
traceId;
|
|
158
|
+
retryable;
|
|
54
159
|
constructor(opts) {
|
|
55
160
|
super({
|
|
56
|
-
name: "
|
|
161
|
+
name: "TooManyRequestsError",
|
|
57
162
|
$fault: "client",
|
|
58
163
|
...opts
|
|
59
164
|
});
|
|
60
|
-
Object.setPrototypeOf(this,
|
|
165
|
+
Object.setPrototypeOf(this, TooManyRequestsError.prototype);
|
|
61
166
|
this.error = opts.error;
|
|
167
|
+
this.code = opts.code;
|
|
168
|
+
this.traceId = opts.traceId;
|
|
169
|
+
this.retryable = opts.retryable;
|
|
62
170
|
}
|
|
63
171
|
}
|
|
64
|
-
exports.
|
|
172
|
+
exports.TooManyRequestsError = TooManyRequestsError;
|
|
65
173
|
exports.MediaKind = {
|
|
66
174
|
AUDIO: "AUDIO",
|
|
67
175
|
FILE: "FILE",
|
|
68
176
|
IMAGE: "IMAGE",
|
|
69
177
|
VIDEO: "VIDEO",
|
|
70
178
|
};
|
|
179
|
+
class ConflictError extends OneHookServiceException_1.OneHookServiceException {
|
|
180
|
+
name = "ConflictError";
|
|
181
|
+
$fault = "client";
|
|
182
|
+
error;
|
|
183
|
+
code;
|
|
184
|
+
traceId;
|
|
185
|
+
retryable;
|
|
186
|
+
constructor(opts) {
|
|
187
|
+
super({
|
|
188
|
+
name: "ConflictError",
|
|
189
|
+
$fault: "client",
|
|
190
|
+
...opts
|
|
191
|
+
});
|
|
192
|
+
Object.setPrototypeOf(this, ConflictError.prototype);
|
|
193
|
+
this.error = opts.error;
|
|
194
|
+
this.code = opts.code;
|
|
195
|
+
this.traceId = opts.traceId;
|
|
196
|
+
this.retryable = opts.retryable;
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
exports.ConflictError = ConflictError;
|
|
71
200
|
exports.LastSeenVisibility = {
|
|
72
201
|
EVERYONE: "EVERYONE",
|
|
73
202
|
MATCHES: "MATCHES",
|
|
@@ -82,6 +211,9 @@ class DeviceLimitError extends OneHookServiceException_1.OneHookServiceException
|
|
|
82
211
|
name = "DeviceLimitError";
|
|
83
212
|
$fault = "client";
|
|
84
213
|
error;
|
|
214
|
+
code;
|
|
215
|
+
traceId;
|
|
216
|
+
retryable;
|
|
85
217
|
constructor(opts) {
|
|
86
218
|
super({
|
|
87
219
|
name: "DeviceLimitError",
|
|
@@ -90,6 +222,9 @@ class DeviceLimitError extends OneHookServiceException_1.OneHookServiceException
|
|
|
90
222
|
});
|
|
91
223
|
Object.setPrototypeOf(this, DeviceLimitError.prototype);
|
|
92
224
|
this.error = opts.error;
|
|
225
|
+
this.code = opts.code;
|
|
226
|
+
this.traceId = opts.traceId;
|
|
227
|
+
this.retryable = opts.retryable;
|
|
93
228
|
}
|
|
94
229
|
}
|
|
95
230
|
exports.DeviceLimitError = DeviceLimitError;
|
|
@@ -109,21 +244,6 @@ exports.CredentialGap = {
|
|
|
109
244
|
USERNAME_MISMATCHED_IN_COGNITO: "USERNAME_MISMATCHED_IN_COGNITO",
|
|
110
245
|
USERNAME_NOT_SYNCED_TO_COGNITO: "USERNAME_NOT_SYNCED_TO_COGNITO",
|
|
111
246
|
};
|
|
112
|
-
class ConflictError extends OneHookServiceException_1.OneHookServiceException {
|
|
113
|
-
name = "ConflictError";
|
|
114
|
-
$fault = "client";
|
|
115
|
-
error;
|
|
116
|
-
constructor(opts) {
|
|
117
|
-
super({
|
|
118
|
-
name: "ConflictError",
|
|
119
|
-
$fault: "client",
|
|
120
|
-
...opts
|
|
121
|
-
});
|
|
122
|
-
Object.setPrototypeOf(this, ConflictError.prototype);
|
|
123
|
-
this.error = opts.error;
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
exports.ConflictError = ConflictError;
|
|
127
247
|
exports.SubscriptionTier = {
|
|
128
248
|
INFINITY: "INFINITY",
|
|
129
249
|
MUST: "MUST",
|
|
@@ -164,3 +284,78 @@ exports.SuggestionBasis = {
|
|
|
164
284
|
EXPLICIT_REQUEST: "EXPLICIT_REQUEST",
|
|
165
285
|
INFERRED_INCLINATION: "INFERRED_INCLINATION",
|
|
166
286
|
};
|
|
287
|
+
exports.MediaPurpose = {
|
|
288
|
+
CHAT: "CHAT",
|
|
289
|
+
MATCHING: "MATCHING",
|
|
290
|
+
};
|
|
291
|
+
exports.MatchingProfileStatus = {
|
|
292
|
+
ACTIVE: "ACTIVE",
|
|
293
|
+
DRAFT: "DRAFT",
|
|
294
|
+
};
|
|
295
|
+
exports.BlockReason = {
|
|
296
|
+
FAKE_PROFILE: "FAKE_PROFILE",
|
|
297
|
+
HARASSMENT: "HARASSMENT",
|
|
298
|
+
INAPPROPRIATE_CONTENT: "INAPPROPRIATE_CONTENT",
|
|
299
|
+
OTHER: "OTHER",
|
|
300
|
+
SAFETY_CONCERN: "SAFETY_CONCERN",
|
|
301
|
+
SPAM: "SPAM",
|
|
302
|
+
};
|
|
303
|
+
exports.MatchingMode = {
|
|
304
|
+
ERASING: "ERASING",
|
|
305
|
+
OFF: "OFF",
|
|
306
|
+
ON: "ON",
|
|
307
|
+
};
|
|
308
|
+
class EnableMatchingConflictError extends OneHookServiceException_1.OneHookServiceException {
|
|
309
|
+
name = "EnableMatchingConflictError";
|
|
310
|
+
$fault = "client";
|
|
311
|
+
error;
|
|
312
|
+
code;
|
|
313
|
+
traceId;
|
|
314
|
+
retryable;
|
|
315
|
+
gaps;
|
|
316
|
+
constructor(opts) {
|
|
317
|
+
super({
|
|
318
|
+
name: "EnableMatchingConflictError",
|
|
319
|
+
$fault: "client",
|
|
320
|
+
...opts
|
|
321
|
+
});
|
|
322
|
+
Object.setPrototypeOf(this, EnableMatchingConflictError.prototype);
|
|
323
|
+
this.error = opts.error;
|
|
324
|
+
this.code = opts.code;
|
|
325
|
+
this.traceId = opts.traceId;
|
|
326
|
+
this.retryable = opts.retryable;
|
|
327
|
+
this.gaps = opts.gaps;
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
exports.EnableMatchingConflictError = EnableMatchingConflictError;
|
|
331
|
+
exports.BlockDirection = {
|
|
332
|
+
INCOMING: "INCOMING",
|
|
333
|
+
OUTGOING: "OUTGOING",
|
|
334
|
+
};
|
|
335
|
+
exports.HookOrigin = {
|
|
336
|
+
DISCOVERY: "DISCOVERY",
|
|
337
|
+
REQUEST: "REQUEST",
|
|
338
|
+
};
|
|
339
|
+
exports.HookEndReason = {
|
|
340
|
+
ACCOUNT_DELETED: "ACCOUNT_DELETED",
|
|
341
|
+
BLOCKED: "BLOCKED",
|
|
342
|
+
TIER_DOWNGRADE: "TIER_DOWNGRADE",
|
|
343
|
+
UNHOOK: "UNHOOK",
|
|
344
|
+
};
|
|
345
|
+
exports.ReportCategory = {
|
|
346
|
+
FAKE_IMPERSONATION: "FAKE_IMPERSONATION",
|
|
347
|
+
HARASSMENT: "HARASSMENT",
|
|
348
|
+
HATE: "HATE",
|
|
349
|
+
MINOR_SAFETY: "MINOR_SAFETY",
|
|
350
|
+
OFF_PLATFORM_HARM: "OFF_PLATFORM_HARM",
|
|
351
|
+
OTHER: "OTHER",
|
|
352
|
+
SCAM_FRAUD: "SCAM_FRAUD",
|
|
353
|
+
SELF_HARM_CONCERN: "SELF_HARM_CONCERN",
|
|
354
|
+
SEXUAL_CONTENT_NONCONSENT: "SEXUAL_CONTENT_NONCONSENT",
|
|
355
|
+
SPAM_PROMOTION: "SPAM_PROMOTION",
|
|
356
|
+
THREATS_VIOLENCE: "THREATS_VIOLENCE",
|
|
357
|
+
};
|
|
358
|
+
exports.HookRequestDirection = {
|
|
359
|
+
INCOMING: "INCOMING",
|
|
360
|
+
OUTGOING: "OUTGOING",
|
|
361
|
+
};
|