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
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
import { OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookClient";
|
|
2
|
+
import { MatchingProfileUpdateRequest, MatchingProfileUpsertResponse } 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 UpsertMatchingProfileCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpsertMatchingProfileCommandInput extends MatchingProfileUpdateRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpsertMatchingProfileCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpsertMatchingProfileCommandOutput extends MatchingProfileUpsertResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpsertMatchingProfileCommand_base: {
|
|
25
|
+
new (input: UpsertMatchingProfileCommandInput): import("@smithy/smithy-client").CommandImpl<UpsertMatchingProfileCommandInput, UpsertMatchingProfileCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [UpsertMatchingProfileCommandInput]): import("@smithy/smithy-client").CommandImpl<UpsertMatchingProfileCommandInput, UpsertMatchingProfileCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Creates or updates the caller's matching profile. It stays a DRAFT (invisible, never sent to
|
|
31
|
+
* Matching) until the member turns matching on in State, which activates it. A draft untouched for
|
|
32
|
+
* 30 days is erased; every edit restarts the clock. 409 `MATCHING_ERASING` while an opt-out erases it.
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { OneHookClient, UpsertMatchingProfileCommand } from "onehook-api-client"; // ES Modules import
|
|
37
|
+
* // const { OneHookClient, UpsertMatchingProfileCommand } = require("onehook-api-client"); // CommonJS import
|
|
38
|
+
* const client = new OneHookClient(config);
|
|
39
|
+
* const input = { // MatchingProfileUpdateRequest
|
|
40
|
+
* bio: "STRING_VALUE",
|
|
41
|
+
* gender: "STRING_VALUE",
|
|
42
|
+
* interestedIn: [ // StringList
|
|
43
|
+
* "STRING_VALUE",
|
|
44
|
+
* ],
|
|
45
|
+
* interests: [
|
|
46
|
+
* "STRING_VALUE",
|
|
47
|
+
* ],
|
|
48
|
+
* relationshipType: "STRING_VALUE",
|
|
49
|
+
* wantsKids: "STRING_VALUE",
|
|
50
|
+
* familyPlans: "STRING_VALUE",
|
|
51
|
+
* smokingStatus: "STRING_VALUE",
|
|
52
|
+
* drinkingStatus: "STRING_VALUE",
|
|
53
|
+
* cannabisStatus: "STRING_VALUE",
|
|
54
|
+
* drugsStatus: "STRING_VALUE",
|
|
55
|
+
* religion: "STRING_VALUE",
|
|
56
|
+
* starSign: "STRING_VALUE",
|
|
57
|
+
* pictures: [
|
|
58
|
+
* "STRING_VALUE",
|
|
59
|
+
* ],
|
|
60
|
+
* pictureTransforms: { // StringMap
|
|
61
|
+
* "<keys>": "STRING_VALUE",
|
|
62
|
+
* },
|
|
63
|
+
* videos: [
|
|
64
|
+
* "STRING_VALUE",
|
|
65
|
+
* ],
|
|
66
|
+
* audioPrompt: "STRING_VALUE",
|
|
67
|
+
* causes: [
|
|
68
|
+
* "STRING_VALUE",
|
|
69
|
+
* ],
|
|
70
|
+
* communities: "<StringList>",
|
|
71
|
+
* qualities: "<StringList>",
|
|
72
|
+
* prompts: [ // ProfilePromptList
|
|
73
|
+
* { // ProfilePrompt
|
|
74
|
+
* promptId: "STRING_VALUE", // required
|
|
75
|
+
* answer: "STRING_VALUE", // required
|
|
76
|
+
* imageKey: "STRING_VALUE",
|
|
77
|
+
* },
|
|
78
|
+
* ],
|
|
79
|
+
* socialLinks: {
|
|
80
|
+
* "<keys>": "STRING_VALUE",
|
|
81
|
+
* },
|
|
82
|
+
* openers: [ // OpenerList
|
|
83
|
+
* { // Opener
|
|
84
|
+
* text: "STRING_VALUE", // required
|
|
85
|
+
* imageKey: "STRING_VALUE",
|
|
86
|
+
* },
|
|
87
|
+
* ],
|
|
88
|
+
* work: "STRING_VALUE",
|
|
89
|
+
* education: "STRING_VALUE",
|
|
90
|
+
* hometown: "STRING_VALUE",
|
|
91
|
+
* currentLocation: "STRING_VALUE",
|
|
92
|
+
* height: Number("int"),
|
|
93
|
+
* exercise: "STRING_VALUE",
|
|
94
|
+
* educationLevel: "STRING_VALUE",
|
|
95
|
+
* politicalView: "STRING_VALUE",
|
|
96
|
+
* languages: "<StringList>",
|
|
97
|
+
* };
|
|
98
|
+
* const command = new UpsertMatchingProfileCommand(input);
|
|
99
|
+
* const response = await client.send(command);
|
|
100
|
+
* // { // MatchingProfileUpsertResponse
|
|
101
|
+
* // status: "DRAFT" || "ACTIVE", // required
|
|
102
|
+
* // lastEditedAt: Number("long"), // required
|
|
103
|
+
* // draftExpiresAt: Number("long"),
|
|
104
|
+
* // };
|
|
105
|
+
*
|
|
106
|
+
* ```
|
|
107
|
+
*
|
|
108
|
+
* @param UpsertMatchingProfileCommandInput - {@link UpsertMatchingProfileCommandInput}
|
|
109
|
+
* @returns {@link UpsertMatchingProfileCommandOutput}
|
|
110
|
+
* @see {@link UpsertMatchingProfileCommandInput} for command's `input` shape.
|
|
111
|
+
* @see {@link UpsertMatchingProfileCommandOutput} for command's `response` shape.
|
|
112
|
+
* @see {@link OneHookClientResolvedConfig | config} for OneHookClient's `config` shape.
|
|
113
|
+
*
|
|
114
|
+
* @throws {@link BadRequestError} (client fault)
|
|
115
|
+
* 400: the request is malformed or fails validation (code `BAD_REQUEST`, or a more specific one).
|
|
116
|
+
*
|
|
117
|
+
* @throws {@link ConflictError} (client fault)
|
|
118
|
+
* 409: the request conflicts with the current state (code `CONFLICT`, or a more specific one such
|
|
119
|
+
* as `NOT_READY` or `MATCHING_ERASING`).
|
|
120
|
+
*
|
|
121
|
+
* @throws {@link InternalServerError} (server fault)
|
|
122
|
+
* 500: an unexpected failure (code `INTERNAL_ERROR`).
|
|
123
|
+
*
|
|
124
|
+
* @throws {@link UnauthorizedError} (client fault)
|
|
125
|
+
* 401: no valid session for the route (code `UNAUTHORIZED`, or `INVALID_SESSION` from Matching).
|
|
126
|
+
*
|
|
127
|
+
* @throws {@link ForbiddenError} (client fault)
|
|
128
|
+
* 403: the caller may not do this (code `FORBIDDEN`, or a more specific one such as Matching's
|
|
129
|
+
* `MATCHING_OFF`, `DISCOVERY_PAUSED` or `PREMIUM_REQUIRED`). Shared by every service model.
|
|
130
|
+
*
|
|
131
|
+
* @throws {@link TooManyRequestsError} (client fault)
|
|
132
|
+
* 429: a rate limit or daily quota is spent (for example `REPORT_LIMIT`, `RATE_LIMIT_EXCEEDED`,
|
|
133
|
+
* `ROSE_LIMIT_REACHED`, or `TOO_MANY_REQUESTS` from API Gateway throttling). Shared by every service
|
|
134
|
+
* model.
|
|
135
|
+
*
|
|
136
|
+
* @throws {@link BadGatewayError} (server fault)
|
|
137
|
+
* 502: an upstream failed: API Gateway could not use the Lambda's answer, the identity provider
|
|
138
|
+
* (Cognito) failed (`BAD_GATEWAY`), or a downstream write failed after this service saved its own change
|
|
139
|
+
* (`PROPAGATION_FAILED`, retrying the same request is safe).
|
|
140
|
+
*
|
|
141
|
+
* @throws {@link ServiceUnavailableError} (server fault)
|
|
142
|
+
* 503: a dependency is unavailable; retry later (`retryable` is true). Codes include
|
|
143
|
+
* `SERVICE_UNAVAILABLE`, `DATABASE_UNAVAILABLE` and `VIEW_PASS_UNAVAILABLE`.
|
|
144
|
+
*
|
|
145
|
+
* @throws {@link OneHookServiceException}
|
|
146
|
+
* <p>Base exception class for all service exceptions from OneHook service.</p>
|
|
147
|
+
*
|
|
148
|
+
*
|
|
149
|
+
* @public
|
|
150
|
+
*/
|
|
151
|
+
export declare class UpsertMatchingProfileCommand extends UpsertMatchingProfileCommand_base {
|
|
152
|
+
/** @internal type navigation helper, not in runtime. */
|
|
153
|
+
protected static __types: {
|
|
154
|
+
api: {
|
|
155
|
+
input: MatchingProfileUpdateRequest;
|
|
156
|
+
output: MatchingProfileUpsertResponse;
|
|
157
|
+
};
|
|
158
|
+
sdk: {
|
|
159
|
+
input: UpsertMatchingProfileCommandInput;
|
|
160
|
+
output: UpsertMatchingProfileCommandOutput;
|
|
161
|
+
};
|
|
162
|
+
};
|
|
163
|
+
}
|
|
@@ -56,8 +56,31 @@ declare const ValidateInviteCommand_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>
|
|
@@ -58,10 +58,35 @@ declare const VerifyAdminLinkOtpCommand_base: {
|
|
|
58
58
|
* @see {@link OneHookClientResolvedConfig | config} for OneHookClient's `config` shape.
|
|
59
59
|
*
|
|
60
60
|
* @throws {@link BadRequestError} (client fault)
|
|
61
|
+
* 400: the request is malformed or fails validation (code `BAD_REQUEST`, or a more specific one).
|
|
61
62
|
*
|
|
62
63
|
* @throws {@link NotFoundError} (client fault)
|
|
64
|
+
* 404: the resource does not exist or is not visible to the caller (code `NOT_FOUND`, or a more
|
|
65
|
+
* specific one such as `REQUEST_UNAVAILABLE`).
|
|
63
66
|
*
|
|
64
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`.
|
|
65
90
|
*
|
|
66
91
|
* @throws {@link OneHookServiceException}
|
|
67
92
|
* <p>Base exception class for all service exceptions from OneHook service.</p>
|
|
@@ -1,14 +1,24 @@
|
|
|
1
1
|
export * from "./GetAiContextMatchCommand";
|
|
2
|
+
export * from "./GetGraphInvitesCommand";
|
|
3
|
+
export * from "./GetGraphMatchCommand";
|
|
4
|
+
export * from "./GetGraphUserCommand";
|
|
5
|
+
export * from "./GetMediaStatsCommand";
|
|
6
|
+
export * from "./IngestSignalsCommand";
|
|
7
|
+
export * from "./ListGraphUserMatchesCommand";
|
|
2
8
|
export * from "./CreateMediaDownloadUrlCommand";
|
|
3
9
|
export * from "./CreateMediaUploadUrlCommand";
|
|
4
10
|
export * from "./DeleteMatchMessagesCommand";
|
|
5
11
|
export * from "./DeletePushTokenCommand";
|
|
12
|
+
export * from "./EstablishHistoryEpochCommand";
|
|
6
13
|
export * from "./GetChatSettingsCommand";
|
|
14
|
+
export * from "./GetHistoryStateCommand";
|
|
7
15
|
export * from "./GetParticipantRegistryCommand";
|
|
8
16
|
export * from "./ListMyDevicesCommand";
|
|
17
|
+
export * from "./PutHistoryWrapCommand";
|
|
9
18
|
export * from "./RegisterDeviceCommand";
|
|
10
19
|
export * from "./RegisterPushTokenCommand";
|
|
11
20
|
export * from "./RevokeDeviceCommand";
|
|
21
|
+
export * from "./RevokeHistoryWrapCommand";
|
|
12
22
|
export * from "./UpdateChatSettingsCommand";
|
|
13
23
|
export * from "./AuthSocialCommand";
|
|
14
24
|
export * from "./CreateAdminInviteCommand";
|
|
@@ -16,6 +26,7 @@ export * from "./GenerateInviteCommand";
|
|
|
16
26
|
export * from "./GetAccountStateCommand";
|
|
17
27
|
export * from "./GetAdminPhoneStatusCommand";
|
|
18
28
|
export * from "./GetCredentialReadinessCommand";
|
|
29
|
+
export * from "./GetInviteEdgesCommand";
|
|
19
30
|
export * from "./GetPreservationHoldCommand";
|
|
20
31
|
export * from "./GetUserCommand";
|
|
21
32
|
export * from "./GetUserByEmailCommand";
|
|
@@ -36,20 +47,24 @@ export * from "./UpdatePhoneNumberCommand";
|
|
|
36
47
|
export * from "./UpdateUsernameCommand";
|
|
37
48
|
export * from "./ValidateInviteCommand";
|
|
38
49
|
export * from "./VerifyAdminLinkOtpCommand";
|
|
50
|
+
export * from "./GetScoringPolicyCommand";
|
|
51
|
+
export * from "./SimulateScoringPolicyCommand";
|
|
52
|
+
export * from "./UpdateScoringPolicyCommand";
|
|
39
53
|
export * from "./DiscoverCommand";
|
|
40
|
-
export * from "./
|
|
54
|
+
export * from "./GetPartnerDistanceCommand";
|
|
41
55
|
export * from "./GetPreferencesCommand";
|
|
42
56
|
export * from "./GetReceivedLikesCommand";
|
|
43
57
|
export * from "./GetRosesCommand";
|
|
44
58
|
export * from "./GetSuggestionsCommand";
|
|
45
59
|
export * from "./GetTraditionPreferencesCommand";
|
|
46
60
|
export * from "./IndexLocationCommand";
|
|
61
|
+
export * from "./IssueViewPassesCommand";
|
|
47
62
|
export * from "./RecordSuggestionCommand";
|
|
63
|
+
export * from "./RecordSuggestionInternalCommand";
|
|
48
64
|
export * from "./RemoveLocationCommand";
|
|
49
65
|
export * from "./RemoveOneHookSuggestionCommand";
|
|
50
66
|
export * from "./RemoveSuggestionCommand";
|
|
51
67
|
export * from "./SwipeCommand";
|
|
52
|
-
export * from "./SwipeByUsernameCommand";
|
|
53
68
|
export * from "./UpdatePreferencesCommand";
|
|
54
69
|
export * from "./UpdateTraditionPreferencesCommand";
|
|
55
70
|
export * from "./CompleteLivenessSessionCommand";
|
|
@@ -59,15 +74,40 @@ export * from "./DeleteProfileCommand";
|
|
|
59
74
|
export * from "./GenerateDownloadUrlCommand";
|
|
60
75
|
export * from "./GenerateUploadUrlCommand";
|
|
61
76
|
export * from "./GetBirthDateStatusCommand";
|
|
77
|
+
export * from "./GetChatProfileCommand";
|
|
78
|
+
export * from "./GetInternalProfileCommand";
|
|
62
79
|
export * from "./GetLivenessStatusCommand";
|
|
80
|
+
export * from "./GetMatchingProfileCommand";
|
|
81
|
+
export * from "./GetMatchingReadinessCommand";
|
|
63
82
|
export * from "./GetMyProfileCommand";
|
|
64
83
|
export * from "./GetPlaceCommand";
|
|
65
|
-
export * from "./
|
|
84
|
+
export * from "./RepublishMatchingProfileCommand";
|
|
66
85
|
export * from "./SearchPlacesCommand";
|
|
67
|
-
export * from "./
|
|
86
|
+
export * from "./UpsertChatProfileCommand";
|
|
87
|
+
export * from "./UpsertMatchingProfileCommand";
|
|
88
|
+
export * from "./AcceptHookRequestCommand";
|
|
89
|
+
export * from "./BlockUserCommand";
|
|
90
|
+
export * from "./CancelHookRequestCommand";
|
|
91
|
+
export * from "./ClearTierOverrideCommand";
|
|
68
92
|
export * from "./CompleteOnboardingCommand";
|
|
93
|
+
export * from "./DeclineHookRequestCommand";
|
|
94
|
+
export * from "./DisableMatchingCommand";
|
|
95
|
+
export * from "./EnableMatchingCommand";
|
|
96
|
+
export * from "./GetDiscoverySnapshotCommand";
|
|
97
|
+
export * from "./GetInternalMatchingStatusCommand";
|
|
69
98
|
export * from "./GetMatchCommand";
|
|
99
|
+
export * from "./GetModerationReportCommand";
|
|
100
|
+
export * from "./GetModerationSignalsCommand";
|
|
70
101
|
export * from "./GetStateCommand";
|
|
102
|
+
export * from "./GetTierOverrideCommand";
|
|
71
103
|
export * from "./InitUserCommand";
|
|
104
|
+
export * from "./KeepHooksCommand";
|
|
105
|
+
export * from "./ListBlocksCommand";
|
|
106
|
+
export * from "./ListHookRequestsCommand";
|
|
107
|
+
export * from "./ListMatchingOnMembersCommand";
|
|
108
|
+
export * from "./ReportMemberCommand";
|
|
109
|
+
export * from "./SendHookRequestCommand";
|
|
110
|
+
export * from "./SetTierOverrideCommand";
|
|
111
|
+
export * from "./UnblockUserCommand";
|
|
72
112
|
export * from "./UnhookCommand";
|
|
73
113
|
export * from "./UpgradeUserCommand";
|
|
@@ -362,6 +362,14 @@ export type Notification = {
|
|
|
362
362
|
export declare enum NotificationKind {
|
|
363
363
|
/** An established conversation went quiet and the user owes a reply (re-engagement nudge). */
|
|
364
364
|
ConversationCooling = "CONVERSATION_COOLING",
|
|
365
|
+
/** A suspended hook is active again. */
|
|
366
|
+
ConversationResumed = "CONVERSATION_RESUMED",
|
|
367
|
+
/** A hook was suspended (a member is over capacity after a tier downgrade and has not chosen which hooks to keep): the chat is read-only. */
|
|
368
|
+
ConversationSuspended = "CONVERSATION_SUSPENDED",
|
|
369
|
+
/** Someone sent this user a hook request. Never names the sender. */
|
|
370
|
+
HookRequested = "HOOK_REQUESTED",
|
|
371
|
+
/** The user's unfinished matching profile will be deleted in three days unless they edit it. */
|
|
372
|
+
MatchingDraftExpiring = "MATCHING_DRAFT_EXPIRING",
|
|
365
373
|
/** A call to this user was not answered (or they were already on another call). */
|
|
366
374
|
MissedCall = "MISSED_CALL",
|
|
367
375
|
/** Both people liked each other and State created the hook. */
|