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,5 +1,9 @@
|
|
|
1
1
|
import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
2
|
+
import { AcceptHookRequestCommandInput, AcceptHookRequestCommandOutput } from "./commands/AcceptHookRequestCommand";
|
|
2
3
|
import { AuthSocialCommandInput, AuthSocialCommandOutput } from "./commands/AuthSocialCommand";
|
|
4
|
+
import { BlockUserCommandInput, BlockUserCommandOutput } from "./commands/BlockUserCommand";
|
|
5
|
+
import { CancelHookRequestCommandInput, CancelHookRequestCommandOutput } from "./commands/CancelHookRequestCommand";
|
|
6
|
+
import { ClearTierOverrideCommandInput, ClearTierOverrideCommandOutput } from "./commands/ClearTierOverrideCommand";
|
|
3
7
|
import { CompleteLivenessSessionCommandInput, CompleteLivenessSessionCommandOutput } from "./commands/CompleteLivenessSessionCommand";
|
|
4
8
|
import { CompleteOnboardingCommandInput, CompleteOnboardingCommandOutput } from "./commands/CompleteOnboardingCommand";
|
|
5
9
|
import { CorrectBirthDateCommandInput, CorrectBirthDateCommandOutput } from "./commands/CorrectBirthDateCommand";
|
|
@@ -7,10 +11,14 @@ import { CreateAdminInviteCommandInput, CreateAdminInviteCommandOutput } from ".
|
|
|
7
11
|
import { CreateLivenessSessionCommandInput, CreateLivenessSessionCommandOutput } from "./commands/CreateLivenessSessionCommand";
|
|
8
12
|
import { CreateMediaDownloadUrlCommandInput, CreateMediaDownloadUrlCommandOutput } from "./commands/CreateMediaDownloadUrlCommand";
|
|
9
13
|
import { CreateMediaUploadUrlCommandInput, CreateMediaUploadUrlCommandOutput } from "./commands/CreateMediaUploadUrlCommand";
|
|
14
|
+
import { DeclineHookRequestCommandInput, DeclineHookRequestCommandOutput } from "./commands/DeclineHookRequestCommand";
|
|
10
15
|
import { DeleteMatchMessagesCommandInput, DeleteMatchMessagesCommandOutput } from "./commands/DeleteMatchMessagesCommand";
|
|
11
16
|
import { DeleteProfileCommandInput, DeleteProfileCommandOutput } from "./commands/DeleteProfileCommand";
|
|
12
17
|
import { DeletePushTokenCommandInput, DeletePushTokenCommandOutput } from "./commands/DeletePushTokenCommand";
|
|
18
|
+
import { DisableMatchingCommandInput, DisableMatchingCommandOutput } from "./commands/DisableMatchingCommand";
|
|
13
19
|
import { DiscoverCommandInput, DiscoverCommandOutput } from "./commands/DiscoverCommand";
|
|
20
|
+
import { EnableMatchingCommandInput, EnableMatchingCommandOutput } from "./commands/EnableMatchingCommand";
|
|
21
|
+
import { EstablishHistoryEpochCommandInput, EstablishHistoryEpochCommandOutput } from "./commands/EstablishHistoryEpochCommand";
|
|
14
22
|
import { GenerateDownloadUrlCommandInput, GenerateDownloadUrlCommandOutput } from "./commands/GenerateDownloadUrlCommand";
|
|
15
23
|
import { GenerateInviteCommandInput, GenerateInviteCommandOutput } from "./commands/GenerateInviteCommand";
|
|
16
24
|
import { GenerateUploadUrlCommandInput, GenerateUploadUrlCommandOutput } from "./commands/GenerateUploadUrlCommand";
|
|
@@ -18,58 +26,90 @@ import { GetAccountStateCommandInput, GetAccountStateCommandOutput } from "./com
|
|
|
18
26
|
import { GetAdminPhoneStatusCommandInput, GetAdminPhoneStatusCommandOutput } from "./commands/GetAdminPhoneStatusCommand";
|
|
19
27
|
import { GetAiContextMatchCommandInput, GetAiContextMatchCommandOutput } from "./commands/GetAiContextMatchCommand";
|
|
20
28
|
import { GetBirthDateStatusCommandInput, GetBirthDateStatusCommandOutput } from "./commands/GetBirthDateStatusCommand";
|
|
29
|
+
import { GetChatProfileCommandInput, GetChatProfileCommandOutput } from "./commands/GetChatProfileCommand";
|
|
21
30
|
import { GetChatSettingsCommandInput, GetChatSettingsCommandOutput } from "./commands/GetChatSettingsCommand";
|
|
22
31
|
import { GetCredentialReadinessCommandInput, GetCredentialReadinessCommandOutput } from "./commands/GetCredentialReadinessCommand";
|
|
32
|
+
import { GetDiscoverySnapshotCommandInput, GetDiscoverySnapshotCommandOutput } from "./commands/GetDiscoverySnapshotCommand";
|
|
33
|
+
import { GetGraphInvitesCommandInput, GetGraphInvitesCommandOutput } from "./commands/GetGraphInvitesCommand";
|
|
34
|
+
import { GetGraphMatchCommandInput, GetGraphMatchCommandOutput } from "./commands/GetGraphMatchCommand";
|
|
35
|
+
import { GetGraphUserCommandInput, GetGraphUserCommandOutput } from "./commands/GetGraphUserCommand";
|
|
36
|
+
import { GetHistoryStateCommandInput, GetHistoryStateCommandOutput } from "./commands/GetHistoryStateCommand";
|
|
37
|
+
import { GetInternalMatchingStatusCommandInput, GetInternalMatchingStatusCommandOutput } from "./commands/GetInternalMatchingStatusCommand";
|
|
38
|
+
import { GetInternalProfileCommandInput, GetInternalProfileCommandOutput } from "./commands/GetInternalProfileCommand";
|
|
39
|
+
import { GetInviteEdgesCommandInput, GetInviteEdgesCommandOutput } from "./commands/GetInviteEdgesCommand";
|
|
23
40
|
import { GetLivenessStatusCommandInput, GetLivenessStatusCommandOutput } from "./commands/GetLivenessStatusCommand";
|
|
24
41
|
import { GetMatchCommandInput, GetMatchCommandOutput } from "./commands/GetMatchCommand";
|
|
42
|
+
import { GetMatchingProfileCommandInput, GetMatchingProfileCommandOutput } from "./commands/GetMatchingProfileCommand";
|
|
43
|
+
import { GetMatchingReadinessCommandInput, GetMatchingReadinessCommandOutput } from "./commands/GetMatchingReadinessCommand";
|
|
44
|
+
import { GetMediaStatsCommandInput, GetMediaStatsCommandOutput } from "./commands/GetMediaStatsCommand";
|
|
45
|
+
import { GetModerationReportCommandInput, GetModerationReportCommandOutput } from "./commands/GetModerationReportCommand";
|
|
46
|
+
import { GetModerationSignalsCommandInput, GetModerationSignalsCommandOutput } from "./commands/GetModerationSignalsCommand";
|
|
25
47
|
import { GetMyProfileCommandInput, GetMyProfileCommandOutput } from "./commands/GetMyProfileCommand";
|
|
26
|
-
import { GetNotificationPreferencesCommandInput, GetNotificationPreferencesCommandOutput } from "./commands/GetNotificationPreferencesCommand";
|
|
27
48
|
import { GetParticipantRegistryCommandInput, GetParticipantRegistryCommandOutput } from "./commands/GetParticipantRegistryCommand";
|
|
49
|
+
import { GetPartnerDistanceCommandInput, GetPartnerDistanceCommandOutput } from "./commands/GetPartnerDistanceCommand";
|
|
28
50
|
import { GetPlaceCommandInput, GetPlaceCommandOutput } from "./commands/GetPlaceCommand";
|
|
29
51
|
import { GetPreferencesCommandInput, GetPreferencesCommandOutput } from "./commands/GetPreferencesCommand";
|
|
30
52
|
import { GetPreservationHoldCommandInput, GetPreservationHoldCommandOutput } from "./commands/GetPreservationHoldCommand";
|
|
31
|
-
import { GetProfileCommandInput, GetProfileCommandOutput } from "./commands/GetProfileCommand";
|
|
32
53
|
import { GetReceivedLikesCommandInput, GetReceivedLikesCommandOutput } from "./commands/GetReceivedLikesCommand";
|
|
33
54
|
import { GetRosesCommandInput, GetRosesCommandOutput } from "./commands/GetRosesCommand";
|
|
55
|
+
import { GetScoringPolicyCommandInput, GetScoringPolicyCommandOutput } from "./commands/GetScoringPolicyCommand";
|
|
34
56
|
import { GetStateCommandInput, GetStateCommandOutput } from "./commands/GetStateCommand";
|
|
35
57
|
import { GetSuggestionsCommandInput, GetSuggestionsCommandOutput } from "./commands/GetSuggestionsCommand";
|
|
58
|
+
import { GetTierOverrideCommandInput, GetTierOverrideCommandOutput } from "./commands/GetTierOverrideCommand";
|
|
36
59
|
import { GetTraditionPreferencesCommandInput, GetTraditionPreferencesCommandOutput } from "./commands/GetTraditionPreferencesCommand";
|
|
37
60
|
import { GetUserByEmailCommandInput, GetUserByEmailCommandOutput } from "./commands/GetUserByEmailCommand";
|
|
38
61
|
import { GetUserCommandInput, GetUserCommandOutput } from "./commands/GetUserCommand";
|
|
39
62
|
import { GetUserIdByUsernameCommandInput, GetUserIdByUsernameCommandOutput } from "./commands/GetUserIdByUsernameCommand";
|
|
40
63
|
import { IndexLocationCommandInput, IndexLocationCommandOutput } from "./commands/IndexLocationCommand";
|
|
64
|
+
import { IngestSignalsCommandInput, IngestSignalsCommandOutput } from "./commands/IngestSignalsCommand";
|
|
41
65
|
import { InitUserCommandInput, InitUserCommandOutput } from "./commands/InitUserCommand";
|
|
66
|
+
import { IssueViewPassesCommandInput, IssueViewPassesCommandOutput } from "./commands/IssueViewPassesCommand";
|
|
67
|
+
import { KeepHooksCommandInput, KeepHooksCommandOutput } from "./commands/KeepHooksCommand";
|
|
42
68
|
import { LinkEmailCommandInput, LinkEmailCommandOutput } from "./commands/LinkEmailCommand";
|
|
43
69
|
import { LinkSocialCommandInput, LinkSocialCommandOutput } from "./commands/LinkSocialCommand";
|
|
70
|
+
import { ListBlocksCommandInput, ListBlocksCommandOutput } from "./commands/ListBlocksCommand";
|
|
71
|
+
import { ListGraphUserMatchesCommandInput, ListGraphUserMatchesCommandOutput } from "./commands/ListGraphUserMatchesCommand";
|
|
72
|
+
import { ListHookRequestsCommandInput, ListHookRequestsCommandOutput } from "./commands/ListHookRequestsCommand";
|
|
73
|
+
import { ListMatchingOnMembersCommandInput, ListMatchingOnMembersCommandOutput } from "./commands/ListMatchingOnMembersCommand";
|
|
44
74
|
import { ListMyDevicesCommandInput, ListMyDevicesCommandOutput } from "./commands/ListMyDevicesCommand";
|
|
75
|
+
import { PutHistoryWrapCommandInput, PutHistoryWrapCommandOutput } from "./commands/PutHistoryWrapCommand";
|
|
45
76
|
import { RecordSuggestionCommandInput, RecordSuggestionCommandOutput } from "./commands/RecordSuggestionCommand";
|
|
77
|
+
import { RecordSuggestionInternalCommandInput, RecordSuggestionInternalCommandOutput } from "./commands/RecordSuggestionInternalCommand";
|
|
46
78
|
import { RegisterDeviceCommandInput, RegisterDeviceCommandOutput } from "./commands/RegisterDeviceCommand";
|
|
47
79
|
import { RegisterPhoneCommandInput, RegisterPhoneCommandOutput } from "./commands/RegisterPhoneCommand";
|
|
48
80
|
import { RegisterPushTokenCommandInput, RegisterPushTokenCommandOutput } from "./commands/RegisterPushTokenCommand";
|
|
49
81
|
import { RemoveLocationCommandInput, RemoveLocationCommandOutput } from "./commands/RemoveLocationCommand";
|
|
50
82
|
import { RemoveOneHookSuggestionCommandInput, RemoveOneHookSuggestionCommandOutput } from "./commands/RemoveOneHookSuggestionCommand";
|
|
51
83
|
import { RemoveSuggestionCommandInput, RemoveSuggestionCommandOutput } from "./commands/RemoveSuggestionCommand";
|
|
84
|
+
import { ReportMemberCommandInput, ReportMemberCommandOutput } from "./commands/ReportMemberCommand";
|
|
85
|
+
import { RepublishMatchingProfileCommandInput, RepublishMatchingProfileCommandOutput } from "./commands/RepublishMatchingProfileCommand";
|
|
52
86
|
import { RequestEmailOtpCommandInput, RequestEmailOtpCommandOutput } from "./commands/RequestEmailOtpCommand";
|
|
53
87
|
import { RequestPhoneOtpCommandInput, RequestPhoneOtpCommandOutput } from "./commands/RequestPhoneOtpCommand";
|
|
54
88
|
import { RequestPhoneUpdateOtpCommandInput, RequestPhoneUpdateOtpCommandOutput } from "./commands/RequestPhoneUpdateOtpCommand";
|
|
55
89
|
import { RevokeDeviceCommandInput, RevokeDeviceCommandOutput } from "./commands/RevokeDeviceCommand";
|
|
90
|
+
import { RevokeHistoryWrapCommandInput, RevokeHistoryWrapCommandOutput } from "./commands/RevokeHistoryWrapCommand";
|
|
56
91
|
import { RevokeUserAccessCommandInput, RevokeUserAccessCommandOutput } from "./commands/RevokeUserAccessCommand";
|
|
57
92
|
import { SearchPlacesCommandInput, SearchPlacesCommandOutput } from "./commands/SearchPlacesCommand";
|
|
58
93
|
import { SendAdminLinkOtpCommandInput, SendAdminLinkOtpCommandOutput } from "./commands/SendAdminLinkOtpCommand";
|
|
94
|
+
import { SendHookRequestCommandInput, SendHookRequestCommandOutput } from "./commands/SendHookRequestCommand";
|
|
59
95
|
import { SetAccountStateCommandInput, SetAccountStateCommandOutput } from "./commands/SetAccountStateCommand";
|
|
60
96
|
import { SetPreservationHoldCommandInput, SetPreservationHoldCommandOutput } from "./commands/SetPreservationHoldCommand";
|
|
61
|
-
import {
|
|
97
|
+
import { SetTierOverrideCommandInput, SetTierOverrideCommandOutput } from "./commands/SetTierOverrideCommand";
|
|
98
|
+
import { SimulateScoringPolicyCommandInput, SimulateScoringPolicyCommandOutput } from "./commands/SimulateScoringPolicyCommand";
|
|
62
99
|
import { SwipeCommandInput, SwipeCommandOutput } from "./commands/SwipeCommand";
|
|
100
|
+
import { UnblockUserCommandInput, UnblockUserCommandOutput } from "./commands/UnblockUserCommand";
|
|
63
101
|
import { UnhookCommandInput, UnhookCommandOutput } from "./commands/UnhookCommand";
|
|
64
102
|
import { UnlinkSocialCommandInput, UnlinkSocialCommandOutput } from "./commands/UnlinkSocialCommand";
|
|
65
103
|
import { UpdateChatSettingsCommandInput, UpdateChatSettingsCommandOutput } from "./commands/UpdateChatSettingsCommand";
|
|
66
104
|
import { UpdateEntitlementsCommandInput, UpdateEntitlementsCommandOutput } from "./commands/UpdateEntitlementsCommand";
|
|
67
105
|
import { UpdatePhoneNumberCommandInput, UpdatePhoneNumberCommandOutput } from "./commands/UpdatePhoneNumberCommand";
|
|
68
106
|
import { UpdatePreferencesCommandInput, UpdatePreferencesCommandOutput } from "./commands/UpdatePreferencesCommand";
|
|
69
|
-
import {
|
|
107
|
+
import { UpdateScoringPolicyCommandInput, UpdateScoringPolicyCommandOutput } from "./commands/UpdateScoringPolicyCommand";
|
|
70
108
|
import { UpdateTraditionPreferencesCommandInput, UpdateTraditionPreferencesCommandOutput } from "./commands/UpdateTraditionPreferencesCommand";
|
|
71
109
|
import { UpdateUsernameCommandInput, UpdateUsernameCommandOutput } from "./commands/UpdateUsernameCommand";
|
|
72
110
|
import { UpgradeUserCommandInput, UpgradeUserCommandOutput } from "./commands/UpgradeUserCommand";
|
|
111
|
+
import { UpsertChatProfileCommandInput, UpsertChatProfileCommandOutput } from "./commands/UpsertChatProfileCommand";
|
|
112
|
+
import { UpsertMatchingProfileCommandInput, UpsertMatchingProfileCommandOutput } from "./commands/UpsertMatchingProfileCommand";
|
|
73
113
|
import { ValidateInviteCommandInput, ValidateInviteCommandOutput } from "./commands/ValidateInviteCommand";
|
|
74
114
|
import { VerifyAdminLinkOtpCommandInput, VerifyAdminLinkOtpCommandOutput } from "./commands/VerifyAdminLinkOtpCommand";
|
|
75
115
|
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
@@ -84,11 +124,11 @@ export { __Client };
|
|
|
84
124
|
/**
|
|
85
125
|
* @public
|
|
86
126
|
*/
|
|
87
|
-
export type ServiceInputTypes = AuthSocialCommandInput | CompleteLivenessSessionCommandInput | CompleteOnboardingCommandInput | CorrectBirthDateCommandInput | CreateAdminInviteCommandInput | CreateLivenessSessionCommandInput | CreateMediaDownloadUrlCommandInput | CreateMediaUploadUrlCommandInput | DeleteMatchMessagesCommandInput | DeleteProfileCommandInput | DeletePushTokenCommandInput | DiscoverCommandInput | GenerateDownloadUrlCommandInput | GenerateInviteCommandInput | GenerateUploadUrlCommandInput | GetAccountStateCommandInput | GetAdminPhoneStatusCommandInput | GetAiContextMatchCommandInput | GetBirthDateStatusCommandInput | GetChatSettingsCommandInput | GetCredentialReadinessCommandInput | GetLivenessStatusCommandInput | GetMatchCommandInput |
|
|
127
|
+
export type ServiceInputTypes = AcceptHookRequestCommandInput | AuthSocialCommandInput | BlockUserCommandInput | CancelHookRequestCommandInput | ClearTierOverrideCommandInput | CompleteLivenessSessionCommandInput | CompleteOnboardingCommandInput | CorrectBirthDateCommandInput | CreateAdminInviteCommandInput | CreateLivenessSessionCommandInput | CreateMediaDownloadUrlCommandInput | CreateMediaUploadUrlCommandInput | DeclineHookRequestCommandInput | DeleteMatchMessagesCommandInput | DeleteProfileCommandInput | DeletePushTokenCommandInput | DisableMatchingCommandInput | DiscoverCommandInput | EnableMatchingCommandInput | EstablishHistoryEpochCommandInput | GenerateDownloadUrlCommandInput | GenerateInviteCommandInput | GenerateUploadUrlCommandInput | GetAccountStateCommandInput | GetAdminPhoneStatusCommandInput | GetAiContextMatchCommandInput | GetBirthDateStatusCommandInput | GetChatProfileCommandInput | GetChatSettingsCommandInput | GetCredentialReadinessCommandInput | GetDiscoverySnapshotCommandInput | GetGraphInvitesCommandInput | GetGraphMatchCommandInput | GetGraphUserCommandInput | GetHistoryStateCommandInput | GetInternalMatchingStatusCommandInput | GetInternalProfileCommandInput | GetInviteEdgesCommandInput | GetLivenessStatusCommandInput | GetMatchCommandInput | GetMatchingProfileCommandInput | GetMatchingReadinessCommandInput | GetMediaStatsCommandInput | GetModerationReportCommandInput | GetModerationSignalsCommandInput | GetMyProfileCommandInput | GetParticipantRegistryCommandInput | GetPartnerDistanceCommandInput | GetPlaceCommandInput | GetPreferencesCommandInput | GetPreservationHoldCommandInput | GetReceivedLikesCommandInput | GetRosesCommandInput | GetScoringPolicyCommandInput | GetStateCommandInput | GetSuggestionsCommandInput | GetTierOverrideCommandInput | GetTraditionPreferencesCommandInput | GetUserByEmailCommandInput | GetUserCommandInput | GetUserIdByUsernameCommandInput | IndexLocationCommandInput | IngestSignalsCommandInput | InitUserCommandInput | IssueViewPassesCommandInput | KeepHooksCommandInput | LinkEmailCommandInput | LinkSocialCommandInput | ListBlocksCommandInput | ListGraphUserMatchesCommandInput | ListHookRequestsCommandInput | ListMatchingOnMembersCommandInput | ListMyDevicesCommandInput | PutHistoryWrapCommandInput | RecordSuggestionCommandInput | RecordSuggestionInternalCommandInput | RegisterDeviceCommandInput | RegisterPhoneCommandInput | RegisterPushTokenCommandInput | RemoveLocationCommandInput | RemoveOneHookSuggestionCommandInput | RemoveSuggestionCommandInput | ReportMemberCommandInput | RepublishMatchingProfileCommandInput | RequestEmailOtpCommandInput | RequestPhoneOtpCommandInput | RequestPhoneUpdateOtpCommandInput | RevokeDeviceCommandInput | RevokeHistoryWrapCommandInput | RevokeUserAccessCommandInput | SearchPlacesCommandInput | SendAdminLinkOtpCommandInput | SendHookRequestCommandInput | SetAccountStateCommandInput | SetPreservationHoldCommandInput | SetTierOverrideCommandInput | SimulateScoringPolicyCommandInput | SwipeCommandInput | UnblockUserCommandInput | UnhookCommandInput | UnlinkSocialCommandInput | UpdateChatSettingsCommandInput | UpdateEntitlementsCommandInput | UpdatePhoneNumberCommandInput | UpdatePreferencesCommandInput | UpdateScoringPolicyCommandInput | UpdateTraditionPreferencesCommandInput | UpdateUsernameCommandInput | UpgradeUserCommandInput | UpsertChatProfileCommandInput | UpsertMatchingProfileCommandInput | ValidateInviteCommandInput | VerifyAdminLinkOtpCommandInput;
|
|
88
128
|
/**
|
|
89
129
|
* @public
|
|
90
130
|
*/
|
|
91
|
-
export type ServiceOutputTypes = AuthSocialCommandOutput | CompleteLivenessSessionCommandOutput | CompleteOnboardingCommandOutput | CorrectBirthDateCommandOutput | CreateAdminInviteCommandOutput | CreateLivenessSessionCommandOutput | CreateMediaDownloadUrlCommandOutput | CreateMediaUploadUrlCommandOutput | DeleteMatchMessagesCommandOutput | DeleteProfileCommandOutput | DeletePushTokenCommandOutput | DiscoverCommandOutput | GenerateDownloadUrlCommandOutput | GenerateInviteCommandOutput | GenerateUploadUrlCommandOutput | GetAccountStateCommandOutput | GetAdminPhoneStatusCommandOutput | GetAiContextMatchCommandOutput | GetBirthDateStatusCommandOutput | GetChatSettingsCommandOutput | GetCredentialReadinessCommandOutput | GetLivenessStatusCommandOutput | GetMatchCommandOutput |
|
|
131
|
+
export type ServiceOutputTypes = AcceptHookRequestCommandOutput | AuthSocialCommandOutput | BlockUserCommandOutput | CancelHookRequestCommandOutput | ClearTierOverrideCommandOutput | CompleteLivenessSessionCommandOutput | CompleteOnboardingCommandOutput | CorrectBirthDateCommandOutput | CreateAdminInviteCommandOutput | CreateLivenessSessionCommandOutput | CreateMediaDownloadUrlCommandOutput | CreateMediaUploadUrlCommandOutput | DeclineHookRequestCommandOutput | DeleteMatchMessagesCommandOutput | DeleteProfileCommandOutput | DeletePushTokenCommandOutput | DisableMatchingCommandOutput | DiscoverCommandOutput | EnableMatchingCommandOutput | EstablishHistoryEpochCommandOutput | GenerateDownloadUrlCommandOutput | GenerateInviteCommandOutput | GenerateUploadUrlCommandOutput | GetAccountStateCommandOutput | GetAdminPhoneStatusCommandOutput | GetAiContextMatchCommandOutput | GetBirthDateStatusCommandOutput | GetChatProfileCommandOutput | GetChatSettingsCommandOutput | GetCredentialReadinessCommandOutput | GetDiscoverySnapshotCommandOutput | GetGraphInvitesCommandOutput | GetGraphMatchCommandOutput | GetGraphUserCommandOutput | GetHistoryStateCommandOutput | GetInternalMatchingStatusCommandOutput | GetInternalProfileCommandOutput | GetInviteEdgesCommandOutput | GetLivenessStatusCommandOutput | GetMatchCommandOutput | GetMatchingProfileCommandOutput | GetMatchingReadinessCommandOutput | GetMediaStatsCommandOutput | GetModerationReportCommandOutput | GetModerationSignalsCommandOutput | GetMyProfileCommandOutput | GetParticipantRegistryCommandOutput | GetPartnerDistanceCommandOutput | GetPlaceCommandOutput | GetPreferencesCommandOutput | GetPreservationHoldCommandOutput | GetReceivedLikesCommandOutput | GetRosesCommandOutput | GetScoringPolicyCommandOutput | GetStateCommandOutput | GetSuggestionsCommandOutput | GetTierOverrideCommandOutput | GetTraditionPreferencesCommandOutput | GetUserByEmailCommandOutput | GetUserCommandOutput | GetUserIdByUsernameCommandOutput | IndexLocationCommandOutput | IngestSignalsCommandOutput | InitUserCommandOutput | IssueViewPassesCommandOutput | KeepHooksCommandOutput | LinkEmailCommandOutput | LinkSocialCommandOutput | ListBlocksCommandOutput | ListGraphUserMatchesCommandOutput | ListHookRequestsCommandOutput | ListMatchingOnMembersCommandOutput | ListMyDevicesCommandOutput | PutHistoryWrapCommandOutput | RecordSuggestionCommandOutput | RecordSuggestionInternalCommandOutput | RegisterDeviceCommandOutput | RegisterPhoneCommandOutput | RegisterPushTokenCommandOutput | RemoveLocationCommandOutput | RemoveOneHookSuggestionCommandOutput | RemoveSuggestionCommandOutput | ReportMemberCommandOutput | RepublishMatchingProfileCommandOutput | RequestEmailOtpCommandOutput | RequestPhoneOtpCommandOutput | RequestPhoneUpdateOtpCommandOutput | RevokeDeviceCommandOutput | RevokeHistoryWrapCommandOutput | RevokeUserAccessCommandOutput | SearchPlacesCommandOutput | SendAdminLinkOtpCommandOutput | SendHookRequestCommandOutput | SetAccountStateCommandOutput | SetPreservationHoldCommandOutput | SetTierOverrideCommandOutput | SimulateScoringPolicyCommandOutput | SwipeCommandOutput | UnblockUserCommandOutput | UnhookCommandOutput | UnlinkSocialCommandOutput | UpdateChatSettingsCommandOutput | UpdateEntitlementsCommandOutput | UpdatePhoneNumberCommandOutput | UpdatePreferencesCommandOutput | UpdateScoringPolicyCommandOutput | UpdateTraditionPreferencesCommandOutput | UpdateUsernameCommandOutput | UpgradeUserCommandOutput | UpsertChatProfileCommandOutput | UpsertMatchingProfileCommandOutput | ValidateInviteCommandOutput | VerifyAdminLinkOtpCommandOutput;
|
|
92
132
|
/**
|
|
93
133
|
* @public
|
|
94
134
|
*/
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookClient";
|
|
2
|
+
import { AcceptHookRequestResponse, HookRequestIdRequest } from "../models/models_0";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link AcceptHookRequestCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface AcceptHookRequestCommandInput extends HookRequestIdRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link AcceptHookRequestCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface AcceptHookRequestCommandOutput extends AcceptHookRequestResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const AcceptHookRequestCommand_base: {
|
|
25
|
+
new (input: AcceptHookRequestCommandInput): import("@smithy/smithy-client").CommandImpl<AcceptHookRequestCommandInput, AcceptHookRequestCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: AcceptHookRequestCommandInput): import("@smithy/smithy-client").CommandImpl<AcceptHookRequestCommandInput, AcceptHookRequestCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Accepts an incoming request, creating the hook. 409 `CONNECTION_LIMIT` when the caller has no
|
|
31
|
+
* free slot; 404 `REQUEST_UNAVAILABLE` when the request is gone, expired or can no longer form.
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { OneHookClient, AcceptHookRequestCommand } from "onehook-api-client"; // ES Modules import
|
|
36
|
+
* // const { OneHookClient, AcceptHookRequestCommand } = require("onehook-api-client"); // CommonJS import
|
|
37
|
+
* const client = new OneHookClient(config);
|
|
38
|
+
* const input = { // HookRequestIdRequest
|
|
39
|
+
* requestId: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
41
|
+
* const command = new AcceptHookRequestCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // AcceptHookRequestResponse
|
|
44
|
+
* // matchId: "STRING_VALUE", // required
|
|
45
|
+
* // peerId: "STRING_VALUE", // required
|
|
46
|
+
* // };
|
|
47
|
+
*
|
|
48
|
+
* ```
|
|
49
|
+
*
|
|
50
|
+
* @param AcceptHookRequestCommandInput - {@link AcceptHookRequestCommandInput}
|
|
51
|
+
* @returns {@link AcceptHookRequestCommandOutput}
|
|
52
|
+
* @see {@link AcceptHookRequestCommandInput} for command's `input` shape.
|
|
53
|
+
* @see {@link AcceptHookRequestCommandOutput} for command's `response` shape.
|
|
54
|
+
* @see {@link OneHookClientResolvedConfig | config} for OneHookClient's `config` shape.
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link BadRequestError} (client fault)
|
|
57
|
+
* 400: the request is malformed or fails validation (code `BAD_REQUEST`, or a more specific one).
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link NotFoundError} (client fault)
|
|
60
|
+
* 404: the resource does not exist or is not visible to the caller (code `NOT_FOUND`, or a more
|
|
61
|
+
* specific one such as `REQUEST_UNAVAILABLE`).
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link ConflictError} (client fault)
|
|
64
|
+
* 409: the request conflicts with the current state (code `CONFLICT`, or a more specific one such
|
|
65
|
+
* as `NOT_READY` or `MATCHING_ERASING`).
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link InternalServerError} (server fault)
|
|
68
|
+
* 500: an unexpected failure (code `INTERNAL_ERROR`).
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link UnauthorizedError} (client fault)
|
|
71
|
+
* 401: no valid session for the route (code `UNAUTHORIZED`, or `INVALID_SESSION` from Matching).
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ForbiddenError} (client fault)
|
|
74
|
+
* 403: the caller may not do this (code `FORBIDDEN`, or a more specific one such as Matching's
|
|
75
|
+
* `MATCHING_OFF`, `DISCOVERY_PAUSED` or `PREMIUM_REQUIRED`). Shared by every service model.
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link TooManyRequestsError} (client fault)
|
|
78
|
+
* 429: a rate limit or daily quota is spent (for example `REPORT_LIMIT`, `RATE_LIMIT_EXCEEDED`,
|
|
79
|
+
* `ROSE_LIMIT_REACHED`, or `TOO_MANY_REQUESTS` from API Gateway throttling). Shared by every service
|
|
80
|
+
* model.
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link BadGatewayError} (server fault)
|
|
83
|
+
* 502: an upstream failed: API Gateway could not use the Lambda's answer, the identity provider
|
|
84
|
+
* (Cognito) failed (`BAD_GATEWAY`), or a downstream write failed after this service saved its own change
|
|
85
|
+
* (`PROPAGATION_FAILED`, retrying the same request is safe).
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link ServiceUnavailableError} (server fault)
|
|
88
|
+
* 503: a dependency is unavailable; retry later (`retryable` is true). Codes include
|
|
89
|
+
* `SERVICE_UNAVAILABLE`, `DATABASE_UNAVAILABLE` and `VIEW_PASS_UNAVAILABLE`.
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link OneHookServiceException}
|
|
92
|
+
* <p>Base exception class for all service exceptions from OneHook service.</p>
|
|
93
|
+
*
|
|
94
|
+
*
|
|
95
|
+
* @public
|
|
96
|
+
*/
|
|
97
|
+
export declare class AcceptHookRequestCommand extends AcceptHookRequestCommand_base {
|
|
98
|
+
/** @internal type navigation helper, not in runtime. */
|
|
99
|
+
protected static __types: {
|
|
100
|
+
api: {
|
|
101
|
+
input: HookRequestIdRequest;
|
|
102
|
+
output: AcceptHookRequestResponse;
|
|
103
|
+
};
|
|
104
|
+
sdk: {
|
|
105
|
+
input: AcceptHookRequestCommandInput;
|
|
106
|
+
output: AcceptHookRequestCommandOutput;
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
}
|
|
@@ -56,8 +56,31 @@ declare const AuthSocialCommand_base: {
|
|
|
56
56
|
* @see {@link OneHookClientResolvedConfig | config} for OneHookClient's `config` shape.
|
|
57
57
|
*
|
|
58
58
|
* @throws {@link BadRequestError} (client fault)
|
|
59
|
+
* 400: the request is malformed or fails validation (code `BAD_REQUEST`, or a more specific one).
|
|
59
60
|
*
|
|
60
61
|
* @throws {@link InternalServerError} (server fault)
|
|
62
|
+
* 500: an unexpected failure (code `INTERNAL_ERROR`).
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link UnauthorizedError} (client fault)
|
|
65
|
+
* 401: no valid session for the route (code `UNAUTHORIZED`, or `INVALID_SESSION` from Matching).
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ForbiddenError} (client fault)
|
|
68
|
+
* 403: the caller may not do this (code `FORBIDDEN`, or a more specific one such as Matching's
|
|
69
|
+
* `MATCHING_OFF`, `DISCOVERY_PAUSED` or `PREMIUM_REQUIRED`). Shared by every service model.
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link TooManyRequestsError} (client fault)
|
|
72
|
+
* 429: a rate limit or daily quota is spent (for example `REPORT_LIMIT`, `RATE_LIMIT_EXCEEDED`,
|
|
73
|
+
* `ROSE_LIMIT_REACHED`, or `TOO_MANY_REQUESTS` from API Gateway throttling). Shared by every service
|
|
74
|
+
* model.
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link BadGatewayError} (server fault)
|
|
77
|
+
* 502: an upstream failed: API Gateway could not use the Lambda's answer, the identity provider
|
|
78
|
+
* (Cognito) failed (`BAD_GATEWAY`), or a downstream write failed after this service saved its own change
|
|
79
|
+
* (`PROPAGATION_FAILED`, retrying the same request is safe).
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ServiceUnavailableError} (server fault)
|
|
82
|
+
* 503: a dependency is unavailable; retry later (`retryable` is true). Codes include
|
|
83
|
+
* `SERVICE_UNAVAILABLE`, `DATABASE_UNAVAILABLE` and `VIEW_PASS_UNAVAILABLE`.
|
|
61
84
|
*
|
|
62
85
|
* @throws {@link OneHookServiceException}
|
|
63
86
|
* <p>Base exception class for all service exceptions from OneHook service.</p>
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookClient";
|
|
2
|
+
import { BlockUserRequest, BlockView } from "../models/models_0";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link BlockUserCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface BlockUserCommandInput extends BlockUserRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link BlockUserCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface BlockUserCommandOutput extends BlockView, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const BlockUserCommand_base: {
|
|
25
|
+
new (input: BlockUserCommandInput): import("@smithy/smithy-client").CommandImpl<BlockUserCommandInput, BlockUserCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: BlockUserCommandInput): import("@smithy/smithy-client").CommandImpl<BlockUserCommandInput, BlockUserCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Blocks a member. Any hook between the two is released (and its chat erased) before this returns;
|
|
31
|
+
* pending requests both ways are deleted and later ones are silently dropped.
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { OneHookClient, BlockUserCommand } from "onehook-api-client"; // ES Modules import
|
|
36
|
+
* // const { OneHookClient, BlockUserCommand } = require("onehook-api-client"); // CommonJS import
|
|
37
|
+
* const client = new OneHookClient(config);
|
|
38
|
+
* const input = { // BlockUserRequest
|
|
39
|
+
* blockedUserId: "STRING_VALUE", // required
|
|
40
|
+
* reason: "HARASSMENT" || "SPAM" || "FAKE_PROFILE" || "INAPPROPRIATE_CONTENT" || "SAFETY_CONCERN" || "OTHER",
|
|
41
|
+
* details: "STRING_VALUE",
|
|
42
|
+
* };
|
|
43
|
+
* const command = new BlockUserCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // BlockView
|
|
46
|
+
* // blockedUserId: "STRING_VALUE", // required
|
|
47
|
+
* // reason: "HARASSMENT" || "SPAM" || "FAKE_PROFILE" || "INAPPROPRIATE_CONTENT" || "SAFETY_CONCERN" || "OTHER", // required
|
|
48
|
+
* // details: "STRING_VALUE",
|
|
49
|
+
* // createdAt: Number("long"), // required
|
|
50
|
+
* // displayName: "STRING_VALUE",
|
|
51
|
+
* // };
|
|
52
|
+
*
|
|
53
|
+
* ```
|
|
54
|
+
*
|
|
55
|
+
* @param BlockUserCommandInput - {@link BlockUserCommandInput}
|
|
56
|
+
* @returns {@link BlockUserCommandOutput}
|
|
57
|
+
* @see {@link BlockUserCommandInput} for command's `input` shape.
|
|
58
|
+
* @see {@link BlockUserCommandOutput} for command's `response` shape.
|
|
59
|
+
* @see {@link OneHookClientResolvedConfig | config} for OneHookClient's `config` shape.
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link BadRequestError} (client fault)
|
|
62
|
+
* 400: the request is malformed or fails validation (code `BAD_REQUEST`, or a more specific one).
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link InternalServerError} (server fault)
|
|
65
|
+
* 500: an unexpected failure (code `INTERNAL_ERROR`).
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link UnauthorizedError} (client fault)
|
|
68
|
+
* 401: no valid session for the route (code `UNAUTHORIZED`, or `INVALID_SESSION` from Matching).
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ForbiddenError} (client fault)
|
|
71
|
+
* 403: the caller may not do this (code `FORBIDDEN`, or a more specific one such as Matching's
|
|
72
|
+
* `MATCHING_OFF`, `DISCOVERY_PAUSED` or `PREMIUM_REQUIRED`). Shared by every service model.
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link TooManyRequestsError} (client fault)
|
|
75
|
+
* 429: a rate limit or daily quota is spent (for example `REPORT_LIMIT`, `RATE_LIMIT_EXCEEDED`,
|
|
76
|
+
* `ROSE_LIMIT_REACHED`, or `TOO_MANY_REQUESTS` from API Gateway throttling). Shared by every service
|
|
77
|
+
* model.
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link BadGatewayError} (server fault)
|
|
80
|
+
* 502: an upstream failed: API Gateway could not use the Lambda's answer, the identity provider
|
|
81
|
+
* (Cognito) failed (`BAD_GATEWAY`), or a downstream write failed after this service saved its own change
|
|
82
|
+
* (`PROPAGATION_FAILED`, retrying the same request is safe).
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link ServiceUnavailableError} (server fault)
|
|
85
|
+
* 503: a dependency is unavailable; retry later (`retryable` is true). Codes include
|
|
86
|
+
* `SERVICE_UNAVAILABLE`, `DATABASE_UNAVAILABLE` and `VIEW_PASS_UNAVAILABLE`.
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link OneHookServiceException}
|
|
89
|
+
* <p>Base exception class for all service exceptions from OneHook service.</p>
|
|
90
|
+
*
|
|
91
|
+
*
|
|
92
|
+
* @public
|
|
93
|
+
*/
|
|
94
|
+
export declare class BlockUserCommand extends BlockUserCommand_base {
|
|
95
|
+
/** @internal type navigation helper, not in runtime. */
|
|
96
|
+
protected static __types: {
|
|
97
|
+
api: {
|
|
98
|
+
input: BlockUserRequest;
|
|
99
|
+
output: BlockView;
|
|
100
|
+
};
|
|
101
|
+
sdk: {
|
|
102
|
+
input: BlockUserCommandInput;
|
|
103
|
+
output: BlockUserCommandOutput;
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookClient";
|
|
2
|
+
import { HookRequestIdRequest, StatusResponse } from "../models/models_0";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CancelHookRequestCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CancelHookRequestCommandInput extends HookRequestIdRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CancelHookRequestCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CancelHookRequestCommandOutput extends StatusResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CancelHookRequestCommand_base: {
|
|
25
|
+
new (input: CancelHookRequestCommandInput): import("@smithy/smithy-client").CommandImpl<CancelHookRequestCommandInput, CancelHookRequestCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: CancelHookRequestCommandInput): import("@smithy/smithy-client").CommandImpl<CancelHookRequestCommandInput, CancelHookRequestCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Withdraws a request the caller sent.
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { OneHookClient, CancelHookRequestCommand } from "onehook-api-client"; // ES Modules import
|
|
35
|
+
* // const { OneHookClient, CancelHookRequestCommand } = require("onehook-api-client"); // CommonJS import
|
|
36
|
+
* const client = new OneHookClient(config);
|
|
37
|
+
* const input = { // HookRequestIdRequest
|
|
38
|
+
* requestId: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new CancelHookRequestCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // StatusResponse
|
|
43
|
+
* // status: "STRING_VALUE", // required
|
|
44
|
+
* // };
|
|
45
|
+
*
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* @param CancelHookRequestCommandInput - {@link CancelHookRequestCommandInput}
|
|
49
|
+
* @returns {@link CancelHookRequestCommandOutput}
|
|
50
|
+
* @see {@link CancelHookRequestCommandInput} for command's `input` shape.
|
|
51
|
+
* @see {@link CancelHookRequestCommandOutput} for command's `response` shape.
|
|
52
|
+
* @see {@link OneHookClientResolvedConfig | config} for OneHookClient's `config` shape.
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link BadRequestError} (client fault)
|
|
55
|
+
* 400: the request is malformed or fails validation (code `BAD_REQUEST`, or a more specific one).
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link NotFoundError} (client fault)
|
|
58
|
+
* 404: the resource does not exist or is not visible to the caller (code `NOT_FOUND`, or a more
|
|
59
|
+
* specific one such as `REQUEST_UNAVAILABLE`).
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link InternalServerError} (server fault)
|
|
62
|
+
* 500: an unexpected failure (code `INTERNAL_ERROR`).
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link UnauthorizedError} (client fault)
|
|
65
|
+
* 401: no valid session for the route (code `UNAUTHORIZED`, or `INVALID_SESSION` from Matching).
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ForbiddenError} (client fault)
|
|
68
|
+
* 403: the caller may not do this (code `FORBIDDEN`, or a more specific one such as Matching's
|
|
69
|
+
* `MATCHING_OFF`, `DISCOVERY_PAUSED` or `PREMIUM_REQUIRED`). Shared by every service model.
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link TooManyRequestsError} (client fault)
|
|
72
|
+
* 429: a rate limit or daily quota is spent (for example `REPORT_LIMIT`, `RATE_LIMIT_EXCEEDED`,
|
|
73
|
+
* `ROSE_LIMIT_REACHED`, or `TOO_MANY_REQUESTS` from API Gateway throttling). Shared by every service
|
|
74
|
+
* model.
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link BadGatewayError} (server fault)
|
|
77
|
+
* 502: an upstream failed: API Gateway could not use the Lambda's answer, the identity provider
|
|
78
|
+
* (Cognito) failed (`BAD_GATEWAY`), or a downstream write failed after this service saved its own change
|
|
79
|
+
* (`PROPAGATION_FAILED`, retrying the same request is safe).
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ServiceUnavailableError} (server fault)
|
|
82
|
+
* 503: a dependency is unavailable; retry later (`retryable` is true). Codes include
|
|
83
|
+
* `SERVICE_UNAVAILABLE`, `DATABASE_UNAVAILABLE` and `VIEW_PASS_UNAVAILABLE`.
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link OneHookServiceException}
|
|
86
|
+
* <p>Base exception class for all service exceptions from OneHook service.</p>
|
|
87
|
+
*
|
|
88
|
+
*
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
export declare class CancelHookRequestCommand extends CancelHookRequestCommand_base {
|
|
92
|
+
/** @internal type navigation helper, not in runtime. */
|
|
93
|
+
protected static __types: {
|
|
94
|
+
api: {
|
|
95
|
+
input: HookRequestIdRequest;
|
|
96
|
+
output: StatusResponse;
|
|
97
|
+
};
|
|
98
|
+
sdk: {
|
|
99
|
+
input: CancelHookRequestCommandInput;
|
|
100
|
+
output: CancelHookRequestCommandOutput;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
}
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import { OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookClient";
|
|
2
|
+
import { TargetUserRequest, TierOverride } from "../models/models_0";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ClearTierOverrideCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ClearTierOverrideCommandInput extends TargetUserRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ClearTierOverrideCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ClearTierOverrideCommandOutput extends TierOverride, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ClearTierOverrideCommand_base: {
|
|
25
|
+
new (input: ClearTierOverrideCommandInput): import("@smithy/smithy-client").CommandImpl<ClearTierOverrideCommandInput, ClearTierOverrideCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: ClearTierOverrideCommandInput): import("@smithy/smithy-client").CommandImpl<ClearTierOverrideCommandInput, ClearTierOverrideCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Ends the member's override now. Same propagation rule as `SetTierOverride`.
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { OneHookClient, ClearTierOverrideCommand } from "onehook-api-client"; // ES Modules import
|
|
35
|
+
* // const { OneHookClient, ClearTierOverrideCommand } = require("onehook-api-client"); // CommonJS import
|
|
36
|
+
* const client = new OneHookClient(config);
|
|
37
|
+
* const input = { // TargetUserRequest
|
|
38
|
+
* targetUserId: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new ClearTierOverrideCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // TierOverride
|
|
43
|
+
* // userId: "STRING_VALUE", // required
|
|
44
|
+
* // billingTier: "MUST" || "SUPER" || "INFINITY", // required
|
|
45
|
+
* // effectiveTier: "MUST" || "SUPER" || "INFINITY", // required
|
|
46
|
+
* // overrideActive: true || false, // required
|
|
47
|
+
* // overrideTier: "MUST" || "SUPER" || "INFINITY",
|
|
48
|
+
* // overrideExpiresAt: Number("long"),
|
|
49
|
+
* // overrideReason: "STRING_VALUE",
|
|
50
|
+
* // overrideSetBy: "STRING_VALUE",
|
|
51
|
+
* // overrideSetAt: Number("long"),
|
|
52
|
+
* // maxConnections: Number("int"), // required
|
|
53
|
+
* // overrideHistory: [ // OverrideHistoryList // required
|
|
54
|
+
* // { // OverrideHistoryEntry
|
|
55
|
+
* // action: "STRING_VALUE",
|
|
56
|
+
* // tier: "MUST" || "SUPER" || "INFINITY",
|
|
57
|
+
* // expiresAt: Number("long"),
|
|
58
|
+
* // reason: "STRING_VALUE",
|
|
59
|
+
* // by: "STRING_VALUE",
|
|
60
|
+
* // source: "STRING_VALUE",
|
|
61
|
+
* // at: Number("long"),
|
|
62
|
+
* // },
|
|
63
|
+
* // ],
|
|
64
|
+
* // };
|
|
65
|
+
*
|
|
66
|
+
* ```
|
|
67
|
+
*
|
|
68
|
+
* @param ClearTierOverrideCommandInput - {@link ClearTierOverrideCommandInput}
|
|
69
|
+
* @returns {@link ClearTierOverrideCommandOutput}
|
|
70
|
+
* @see {@link ClearTierOverrideCommandInput} for command's `input` shape.
|
|
71
|
+
* @see {@link ClearTierOverrideCommandOutput} for command's `response` shape.
|
|
72
|
+
* @see {@link OneHookClientResolvedConfig | config} for OneHookClient's `config` shape.
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link BadRequestError} (client fault)
|
|
75
|
+
* 400: the request is malformed or fails validation (code `BAD_REQUEST`, or a more specific one).
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link ForbiddenError} (client fault)
|
|
78
|
+
* 403: the caller may not do this (code `FORBIDDEN`, or a more specific one such as Matching's
|
|
79
|
+
* `MATCHING_OFF`, `DISCOVERY_PAUSED` or `PREMIUM_REQUIRED`). Shared by every service model.
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link NotFoundError} (client fault)
|
|
82
|
+
* 404: the resource does not exist or is not visible to the caller (code `NOT_FOUND`, or a more
|
|
83
|
+
* specific one such as `REQUEST_UNAVAILABLE`).
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link InternalServerError} (server fault)
|
|
86
|
+
* 500: an unexpected failure (code `INTERNAL_ERROR`).
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link BadGatewayError} (server fault)
|
|
89
|
+
* 502: an upstream failed: API Gateway could not use the Lambda's answer, the identity provider
|
|
90
|
+
* (Cognito) failed (`BAD_GATEWAY`), or a downstream write failed after this service saved its own change
|
|
91
|
+
* (`PROPAGATION_FAILED`, retrying the same request is safe).
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link UnauthorizedError} (client fault)
|
|
94
|
+
* 401: no valid session for the route (code `UNAUTHORIZED`, or `INVALID_SESSION` from Matching).
|
|
95
|
+
*
|
|
96
|
+
* @throws {@link TooManyRequestsError} (client fault)
|
|
97
|
+
* 429: a rate limit or daily quota is spent (for example `REPORT_LIMIT`, `RATE_LIMIT_EXCEEDED`,
|
|
98
|
+
* `ROSE_LIMIT_REACHED`, or `TOO_MANY_REQUESTS` from API Gateway throttling). Shared by every service
|
|
99
|
+
* model.
|
|
100
|
+
*
|
|
101
|
+
* @throws {@link ServiceUnavailableError} (server fault)
|
|
102
|
+
* 503: a dependency is unavailable; retry later (`retryable` is true). Codes include
|
|
103
|
+
* `SERVICE_UNAVAILABLE`, `DATABASE_UNAVAILABLE` and `VIEW_PASS_UNAVAILABLE`.
|
|
104
|
+
*
|
|
105
|
+
* @throws {@link OneHookServiceException}
|
|
106
|
+
* <p>Base exception class for all service exceptions from OneHook service.</p>
|
|
107
|
+
*
|
|
108
|
+
*
|
|
109
|
+
* @public
|
|
110
|
+
*/
|
|
111
|
+
export declare class ClearTierOverrideCommand extends ClearTierOverrideCommand_base {
|
|
112
|
+
/** @internal type navigation helper, not in runtime. */
|
|
113
|
+
protected static __types: {
|
|
114
|
+
api: {
|
|
115
|
+
input: TargetUserRequest;
|
|
116
|
+
output: TierOverride;
|
|
117
|
+
};
|
|
118
|
+
sdk: {
|
|
119
|
+
input: ClearTierOverrideCommandInput;
|
|
120
|
+
output: ClearTierOverrideCommandOutput;
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
}
|