onehook-api-client 1.0.40 → 1.0.42

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/README.md +7 -0
  2. package/dist-cjs/OneHook.js +2 -0
  3. package/dist-cjs/commands/SetMatchingTabHiddenCommand.js +21 -0
  4. package/dist-cjs/commands/index.js +1 -0
  5. package/dist-cjs/protocols/Aws_restJson1.js +85 -17
  6. package/dist-cjs/telemetry/index.js +8 -2
  7. package/dist-es/OneHook.js +2 -0
  8. package/dist-es/commands/SetMatchingTabHiddenCommand.js +17 -0
  9. package/dist-es/commands/index.js +1 -0
  10. package/dist-es/protocols/Aws_restJson1.js +80 -14
  11. package/dist-es/telemetry/index.js +8 -2
  12. package/dist-types/OneHook.d.ts +7 -0
  13. package/dist-types/OneHookClient.d.ts +3 -2
  14. package/dist-types/commands/GetChatProfileCommand.d.ts +0 -5
  15. package/dist-types/commands/GetInternalProfileCommand.d.ts +1 -1
  16. package/dist-types/commands/GetMatchingProfileCommand.d.ts +7 -0
  17. package/dist-types/commands/GetMyProfileCommand.d.ts +7 -5
  18. package/dist-types/commands/GetPlaceCommand.d.ts +3 -2
  19. package/dist-types/commands/GetStateCommand.d.ts +1 -0
  20. package/dist-types/commands/KeepHooksCommand.d.ts +1 -0
  21. package/dist-types/commands/SearchPlacesCommand.d.ts +3 -2
  22. package/dist-types/commands/SetMatchingTabHiddenCommand.d.ts +106 -0
  23. package/dist-types/commands/UpgradeUserCommand.d.ts +1 -0
  24. package/dist-types/commands/UpsertChatProfileCommand.d.ts +0 -5
  25. package/dist-types/commands/UpsertMatchingProfileCommand.d.ts +7 -0
  26. package/dist-types/commands/index.d.ts +1 -0
  27. package/dist-types/models/models_0.d.ts +80 -35
  28. package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
  29. package/dist-types/telemetry/index.d.ts +5 -2
  30. package/package.json +1 -1
  31. package/telemetry/TelemetryCatalog.kt +7 -4
  32. package/telemetry/TelemetryCatalog.swift +10 -4
  33. package/telemetry/telemetry-catalog.json +54 -3
@@ -94,6 +94,7 @@ import { SearchPlacesCommandInput, SearchPlacesCommandOutput } from "./commands/
94
94
  import { SendAdminLinkOtpCommandInput, SendAdminLinkOtpCommandOutput } from "./commands/SendAdminLinkOtpCommand";
95
95
  import { SendHookRequestCommandInput, SendHookRequestCommandOutput } from "./commands/SendHookRequestCommand";
96
96
  import { SetAccountStateCommandInput, SetAccountStateCommandOutput } from "./commands/SetAccountStateCommand";
97
+ import { SetMatchingTabHiddenCommandInput, SetMatchingTabHiddenCommandOutput } from "./commands/SetMatchingTabHiddenCommand";
97
98
  import { SetPasswordCommandInput, SetPasswordCommandOutput } from "./commands/SetPasswordCommand";
98
99
  import { SetPreservationHoldCommandInput, SetPreservationHoldCommandOutput } from "./commands/SetPreservationHoldCommand";
99
100
  import { SetTierOverrideCommandInput, SetTierOverrideCommandOutput } from "./commands/SetTierOverrideCommand";
@@ -126,11 +127,11 @@ export { __Client };
126
127
  /**
127
128
  * @public
128
129
  */
129
- export type ServiceInputTypes = AcceptHookRequestCommandInput | AuthSocialCommandInput | BlockUserCommandInput | CancelHookRequestCommandInput | CheckUsernameAvailabilityCommandInput | 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 | SetPasswordCommandInput | SetPreservationHoldCommandInput | SetTierOverrideCommandInput | SimulateScoringPolicyCommandInput | SwipeCommandInput | UnblockUserCommandInput | UnhookCommandInput | UnlinkSocialCommandInput | UpdateChatSettingsCommandInput | UpdateEntitlementsCommandInput | UpdatePhoneNumberCommandInput | UpdatePreferencesCommandInput | UpdateScoringPolicyCommandInput | UpdateTraditionPreferencesCommandInput | UpdateUsernameCommandInput | UpgradeUserCommandInput | UpsertChatProfileCommandInput | UpsertMatchingProfileCommandInput | ValidateInviteCommandInput | VerifyAdminLinkOtpCommandInput;
130
+ export type ServiceInputTypes = AcceptHookRequestCommandInput | AuthSocialCommandInput | BlockUserCommandInput | CancelHookRequestCommandInput | CheckUsernameAvailabilityCommandInput | 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 | SetMatchingTabHiddenCommandInput | SetPasswordCommandInput | SetPreservationHoldCommandInput | SetTierOverrideCommandInput | SimulateScoringPolicyCommandInput | SwipeCommandInput | UnblockUserCommandInput | UnhookCommandInput | UnlinkSocialCommandInput | UpdateChatSettingsCommandInput | UpdateEntitlementsCommandInput | UpdatePhoneNumberCommandInput | UpdatePreferencesCommandInput | UpdateScoringPolicyCommandInput | UpdateTraditionPreferencesCommandInput | UpdateUsernameCommandInput | UpgradeUserCommandInput | UpsertChatProfileCommandInput | UpsertMatchingProfileCommandInput | ValidateInviteCommandInput | VerifyAdminLinkOtpCommandInput;
130
131
  /**
131
132
  * @public
132
133
  */
133
- export type ServiceOutputTypes = AcceptHookRequestCommandOutput | AuthSocialCommandOutput | BlockUserCommandOutput | CancelHookRequestCommandOutput | CheckUsernameAvailabilityCommandOutput | 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 | SetPasswordCommandOutput | SetPreservationHoldCommandOutput | SetTierOverrideCommandOutput | SimulateScoringPolicyCommandOutput | SwipeCommandOutput | UnblockUserCommandOutput | UnhookCommandOutput | UnlinkSocialCommandOutput | UpdateChatSettingsCommandOutput | UpdateEntitlementsCommandOutput | UpdatePhoneNumberCommandOutput | UpdatePreferencesCommandOutput | UpdateScoringPolicyCommandOutput | UpdateTraditionPreferencesCommandOutput | UpdateUsernameCommandOutput | UpgradeUserCommandOutput | UpsertChatProfileCommandOutput | UpsertMatchingProfileCommandOutput | ValidateInviteCommandOutput | VerifyAdminLinkOtpCommandOutput;
134
+ export type ServiceOutputTypes = AcceptHookRequestCommandOutput | AuthSocialCommandOutput | BlockUserCommandOutput | CancelHookRequestCommandOutput | CheckUsernameAvailabilityCommandOutput | 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 | SetMatchingTabHiddenCommandOutput | SetPasswordCommandOutput | SetPreservationHoldCommandOutput | SetTierOverrideCommandOutput | SimulateScoringPolicyCommandOutput | SwipeCommandOutput | UnblockUserCommandOutput | UnhookCommandOutput | UnlinkSocialCommandOutput | UpdateChatSettingsCommandOutput | UpdateEntitlementsCommandOutput | UpdatePhoneNumberCommandOutput | UpdatePreferencesCommandOutput | UpdateScoringPolicyCommandOutput | UpdateTraditionPreferencesCommandOutput | UpdateUsernameCommandOutput | UpgradeUserCommandOutput | UpsertChatProfileCommandOutput | UpsertMatchingProfileCommandOutput | ValidateInviteCommandOutput | VerifyAdminLinkOtpCommandOutput;
134
135
  /**
135
136
  * @public
136
137
  */
@@ -49,11 +49,6 @@ declare const GetChatProfileCommand_base: {
49
49
  * // age: Number("int"),
50
50
  * // birthDetails: { // BirthDetails
51
51
  * // date: "STRING_VALUE",
52
- * // time: "STRING_VALUE",
53
- * // timeZone: "STRING_VALUE",
54
- * // latitude: Number("double"),
55
- * // longitude: Number("double"),
56
- * // placeName: "STRING_VALUE",
57
52
  * // provisional: true || false,
58
53
  * // },
59
54
  * // birthDateOnFile: true || false,
@@ -31,7 +31,7 @@ declare const GetInternalProfileCommand_base: {
31
31
  * State's AI-context projection). The matching fields and `matchingStatus: ACTIVE` are present only
32
32
  * while the matching profile is ACTIVE; `userId`, the chat `displayName`, `age` and `birthDateOnFile`
33
33
  * are always there. Owner-only fields (`status`, `generation`, `lastEditedAt`, `draftExpiresAt`,
34
- * `birthDetails`) are never included. 404 without a saved chat profile, or while it is being deleted.
34
+ * `birthDetails`, `birthTimePlace`) are never included. 404 without a saved chat profile, or while it is being deleted.
35
35
  * @example
36
36
  * Use a bare-bones client and the command you need to make an API call.
37
37
  * ```javascript
@@ -48,6 +48,13 @@ declare const GetMatchingProfileCommand_base: {
48
48
  * // generation: Number("long"),
49
49
  * // lastEditedAt: Number("long"),
50
50
  * // draftExpiresAt: Number("long"),
51
+ * // birthTimePlace: { // BirthTimePlace
52
+ * // time: "STRING_VALUE",
53
+ * // timeZone: "STRING_VALUE",
54
+ * // latitude: Number("double"),
55
+ * // longitude: Number("double"),
56
+ * // placeName: "STRING_VALUE",
57
+ * // },
51
58
  * // displayName: "STRING_VALUE",
52
59
  * // bio: "STRING_VALUE",
53
60
  * // age: Number("int"),
@@ -46,11 +46,6 @@ declare const GetMyProfileCommand_base: {
46
46
  * // age: Number("int"),
47
47
  * // birthDetails: { // BirthDetails
48
48
  * // date: "STRING_VALUE",
49
- * // time: "STRING_VALUE",
50
- * // timeZone: "STRING_VALUE",
51
- * // latitude: Number("double"),
52
- * // longitude: Number("double"),
53
- * // placeName: "STRING_VALUE",
54
49
  * // provisional: true || false,
55
50
  * // },
56
51
  * // birthDateOnFile: true || false,
@@ -65,6 +60,13 @@ declare const GetMyProfileCommand_base: {
65
60
  * // generation: Number("long"),
66
61
  * // lastEditedAt: Number("long"),
67
62
  * // draftExpiresAt: Number("long"),
63
+ * // birthTimePlace: { // BirthTimePlace
64
+ * // time: "STRING_VALUE",
65
+ * // timeZone: "STRING_VALUE",
66
+ * // latitude: Number("double"),
67
+ * // longitude: Number("double"),
68
+ * // placeName: "STRING_VALUE",
69
+ * // },
68
70
  * // displayName: "STRING_VALUE",
69
71
  * // bio: "STRING_VALUE",
70
72
  * // age: Number("int"),
@@ -27,8 +27,9 @@ declare const GetPlaceCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * Resolves a `placeId` from SearchPlaces to coordinates and the IANA time zone, which the client then
31
- * sends as `birthDetails.latitude`, `longitude`, `timeZone` and `placeName`.
30
+ * Resolves a `placeId` from SearchPlaces to coordinates and the IANA time zone for the matching profile's
31
+ * birthplace field. The client sends the result as `birthTimePlace.latitude`, `longitude`, `timeZone` and
32
+ * `placeName` on `PUT /profile/matching`.
32
33
  * @example
33
34
  * Use a bare-bones client and the command you need to make an API call.
34
35
  * ```javascript
@@ -67,6 +67,7 @@ declare const GetStateCommand_base: {
67
67
  * // keepLimit: Number("int"),
68
68
  * // selectionDeadline: Number("long"),
69
69
  * // chatViewPass: "STRING_VALUE",
70
+ * // matchingTabHidden: true || false,
70
71
  * // };
71
72
  *
72
73
  * ```
@@ -70,6 +70,7 @@ declare const KeepHooksCommand_base: {
70
70
  * // keepLimit: Number("int"),
71
71
  * // selectionDeadline: Number("long"),
72
72
  * // chatViewPass: "STRING_VALUE",
73
+ * // matchingTabHidden: true || false,
73
74
  * // };
74
75
  *
75
76
  * ```
@@ -27,8 +27,9 @@ declare const SearchPlacesCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * Birthplace search for the date-of-birth form: cities and towns matching `q` (at least 2 characters).
31
- * Backed by Amazon Location Service; results carry only a display label and an opaque `placeId`.
30
+ * Birthplace search for the matching profile's optional birthplace field: cities and towns matching `q`
31
+ * (at least 2 characters). Backed by Amazon Location Service; results carry only a display label and an
32
+ * opaque `placeId`.
32
33
  * @example
33
34
  * Use a bare-bones client and the command you need to make an API call.
34
35
  * ```javascript
@@ -0,0 +1,106 @@
1
+ import { OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookClient";
2
+ import { SetMatchingTabHiddenRequest, SetMatchingTabHiddenResponse } 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 SetMatchingTabHiddenCommand}.
14
+ */
15
+ export interface SetMatchingTabHiddenCommandInput extends SetMatchingTabHiddenRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link SetMatchingTabHiddenCommand}.
21
+ */
22
+ export interface SetMatchingTabHiddenCommandOutput extends SetMatchingTabHiddenResponse, __MetadataBearer {
23
+ }
24
+ declare const SetMatchingTabHiddenCommand_base: {
25
+ new (input: SetMatchingTabHiddenCommandInput): import("@smithy/smithy-client").CommandImpl<SetMatchingTabHiddenCommandInput, SetMatchingTabHiddenCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: SetMatchingTabHiddenCommandInput): import("@smithy/smithy-client").CommandImpl<SetMatchingTabHiddenCommandInput, SetMatchingTabHiddenCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Hides or shows the Matching tab (the locked preview of discovery) that clients show while the
31
+ * caller's matching is not ON. Stored on the member's state record, so it follows them across devices
32
+ * and is erased with the account. It has no effect while matching is ON (discovery always shows) and
33
+ * turning matching on or off leaves it as it is. Idempotent. 404 when State has no record of the caller.
34
+ * @example
35
+ * Use a bare-bones client and the command you need to make an API call.
36
+ * ```javascript
37
+ * import { OneHookClient, SetMatchingTabHiddenCommand } from "onehook-api-client"; // ES Modules import
38
+ * // const { OneHookClient, SetMatchingTabHiddenCommand } = require("onehook-api-client"); // CommonJS import
39
+ * const client = new OneHookClient(config);
40
+ * const input = { // SetMatchingTabHiddenRequest
41
+ * hidden: true || false, // required
42
+ * };
43
+ * const command = new SetMatchingTabHiddenCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // SetMatchingTabHiddenResponse
46
+ * // hidden: true || false, // required
47
+ * // };
48
+ *
49
+ * ```
50
+ *
51
+ * @param SetMatchingTabHiddenCommandInput - {@link SetMatchingTabHiddenCommandInput}
52
+ * @returns {@link SetMatchingTabHiddenCommandOutput}
53
+ * @see {@link SetMatchingTabHiddenCommandInput} for command's `input` shape.
54
+ * @see {@link SetMatchingTabHiddenCommandOutput} for command's `response` shape.
55
+ * @see {@link OneHookClientResolvedConfig | config} for OneHookClient's `config` shape.
56
+ *
57
+ * @throws {@link BadRequestError} (client fault)
58
+ * 400: the request is malformed or fails validation (code `BAD_REQUEST`, or a more specific one).
59
+ *
60
+ * @throws {@link NotFoundError} (client fault)
61
+ * 404: the resource does not exist or is not visible to the caller (code `NOT_FOUND`, or a more
62
+ * specific one such as `REQUEST_UNAVAILABLE`).
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 SetMatchingTabHiddenCommand extends SetMatchingTabHiddenCommand_base {
95
+ /** @internal type navigation helper, not in runtime. */
96
+ protected static __types: {
97
+ api: {
98
+ input: SetMatchingTabHiddenRequest;
99
+ output: SetMatchingTabHiddenResponse;
100
+ };
101
+ sdk: {
102
+ input: SetMatchingTabHiddenCommandInput;
103
+ output: SetMatchingTabHiddenCommandOutput;
104
+ };
105
+ };
106
+ }
@@ -65,6 +65,7 @@ declare const UpgradeUserCommand_base: {
65
65
  * // keepLimit: Number("int"),
66
66
  * // selectionDeadline: Number("long"),
67
67
  * // chatViewPass: "STRING_VALUE",
68
+ * // matchingTabHidden: true || false,
68
69
  * // };
69
70
  *
70
71
  * ```
@@ -40,11 +40,6 @@ declare const UpsertChatProfileCommand_base: {
40
40
  * avatarKey: "STRING_VALUE",
41
41
  * birthDetails: { // BirthDetails
42
42
  * date: "STRING_VALUE",
43
- * time: "STRING_VALUE",
44
- * timeZone: "STRING_VALUE",
45
- * latitude: Number("double"),
46
- * longitude: Number("double"),
47
- * placeName: "STRING_VALUE",
48
43
  * provisional: true || false,
49
44
  * },
50
45
  * };
@@ -37,6 +37,13 @@ declare const UpsertMatchingProfileCommand_base: {
37
37
  * // const { OneHookClient, UpsertMatchingProfileCommand } = require("onehook-api-client"); // CommonJS import
38
38
  * const client = new OneHookClient(config);
39
39
  * const input = { // MatchingProfileUpdateRequest
40
+ * birthTimePlace: { // BirthTimePlace
41
+ * time: "STRING_VALUE",
42
+ * timeZone: "STRING_VALUE",
43
+ * latitude: Number("double"),
44
+ * longitude: Number("double"),
45
+ * placeName: "STRING_VALUE",
46
+ * },
40
47
  * bio: "STRING_VALUE",
41
48
  * gender: "STRING_VALUE",
42
49
  * interestedIn: [ // StringList
@@ -109,6 +109,7 @@ export * from "./ListHookRequestsCommand";
109
109
  export * from "./ListMatchingOnMembersCommand";
110
110
  export * from "./ReportMemberCommand";
111
111
  export * from "./SendHookRequestCommand";
112
+ export * from "./SetMatchingTabHiddenCommand";
112
113
  export * from "./SetTierOverrideCommand";
113
114
  export * from "./UnblockUserCommand";
114
115
  export * from "./UnhookCommand";
@@ -3169,43 +3169,16 @@ export interface GetBirthDateStatusResponse {
3169
3169
  lastCorrectedBy?: string | undefined;
3170
3170
  }
3171
3171
  /**
3172
- * Birth data. `date` is required (age is derived from it); each extra field unlocks more traditional systems
3173
- * (`time` + `timeZone`: Moon nakshatra, hour pillar, Zi Wei palaces; `latitude` + `longitude`:
3174
- * Ascendant, Arabic Parts, Hellenistic sect). Never shown to other members.
3172
+ * The chat profile's birth date. Age is derived from it. Never shown to other members.
3175
3173
  * @public
3176
3174
  */
3177
3175
  export interface BirthDetails {
3178
3176
  /**
3179
3177
  * Local birth date (day, month and year), `yyyy-MM-dd`. Must give an age of 18 to 120.
3180
- * Set once at onboarding; immutable afterwards.
3178
+ * Required when the chat profile is created; immutable afterwards.
3181
3179
  * @public
3182
3180
  */
3183
3181
  date?: string | undefined;
3184
- /**
3185
- * Local birth time, `HH:mm` (24h). Requires `timeZone`.
3186
- * @public
3187
- */
3188
- time?: string | undefined;
3189
- /**
3190
- * IANA time zone of the birthplace, e.g. `Asia/Kolkata`.
3191
- * @public
3192
- */
3193
- timeZone?: string | undefined;
3194
- /**
3195
- * Birthplace latitude in degrees (north positive). Send together with `longitude`.
3196
- * @public
3197
- */
3198
- latitude?: number | undefined;
3199
- /**
3200
- * Birthplace longitude in degrees (east positive). Send together with `latitude`.
3201
- * @public
3202
- */
3203
- longitude?: number | undefined;
3204
- /**
3205
- * Display label of the chosen birthplace (from `GET /profile/places`). Needs latitude/longitude.
3206
- * @public
3207
- */
3208
- placeName?: string | undefined;
3209
3182
  /**
3210
3183
  * Server-set, ignored on input. True when `date` is a placeholder added for a profile created
3211
3184
  * before the birth date was compulsory. The member may replace a provisional date ONCE with
@@ -3232,9 +3205,7 @@ export interface ChatProfile {
3232
3205
  */
3233
3206
  age?: number | undefined;
3234
3207
  /**
3235
- * Birth data. `date` is required (age is derived from it); each extra field unlocks more traditional systems
3236
- * (`time` + `timeZone`: Moon nakshatra, hour pillar, Zi Wei palaces; `latitude` + `longitude`:
3237
- * Ascendant, Arabic Parts, Hellenistic sect). Never shown to other members.
3208
+ * The chat profile's birth date. Age is derived from it. Never shown to other members.
3238
3209
  * @public
3239
3210
  */
3240
3211
  birthDetails?: BirthDetails | undefined;
@@ -3373,9 +3344,44 @@ export interface LivenessStatusResponse {
3373
3344
  */
3374
3345
  status: string | undefined;
3375
3346
  }
3347
+ /**
3348
+ * The matching profile's optional birth time and place. They only refine traditional compatibility:
3349
+ * `time` + `timeZone` unlock the Moon nakshatra, hour pillar and Zi Wei palaces; `latitude` +
3350
+ * `longitude` unlock the Ascendant, Arabic Parts and Hellenistic sect. Never shown to other members.
3351
+ * Erased with the matching profile (matching turned off, draft expiry, account deletion).
3352
+ * @public
3353
+ */
3354
+ export interface BirthTimePlace {
3355
+ /**
3356
+ * Local birth time, `HH:mm` (24h). Requires `timeZone`.
3357
+ * @public
3358
+ */
3359
+ time?: string | undefined;
3360
+ /**
3361
+ * IANA time zone of the birthplace, e.g. `Asia/Kolkata`.
3362
+ * @public
3363
+ */
3364
+ timeZone?: string | undefined;
3365
+ /**
3366
+ * Birthplace latitude in degrees (north positive). Send together with `longitude`. Rounded to 2 decimals.
3367
+ * @public
3368
+ */
3369
+ latitude?: number | undefined;
3370
+ /**
3371
+ * Birthplace longitude in degrees (east positive). Send together with `latitude`. Rounded to 2 decimals.
3372
+ * @public
3373
+ */
3374
+ longitude?: number | undefined;
3375
+ /**
3376
+ * Display label of the chosen birthplace (from GetPlace). Needs latitude/longitude; truncated to 200
3377
+ * characters.
3378
+ * @public
3379
+ */
3380
+ placeName?: string | undefined;
3381
+ }
3376
3382
  /**
3377
3383
  * A matching profile. Another member's view also carries their `displayName` and `age` from the
3378
- * chat profile, and never `birthDetails`.
3384
+ * chat profile, and never `birthTimePlace`.
3379
3385
  * @public
3380
3386
  */
3381
3387
  export interface MatchingProfile {
@@ -3400,6 +3406,11 @@ export interface MatchingProfile {
3400
3406
  * @public
3401
3407
  */
3402
3408
  draftExpiresAt?: number | undefined;
3409
+ /**
3410
+ * Owner only: the optional birth time and place. Absent when none is stored.
3411
+ * @public
3412
+ */
3413
+ birthTimePlace?: BirthTimePlace | undefined;
3403
3414
  displayName?: string | undefined;
3404
3415
  bio?: string | undefined;
3405
3416
  /**
@@ -3578,8 +3589,8 @@ export interface ChatProfileUpdateRequest {
3578
3589
  */
3579
3590
  avatarKey?: string | undefined;
3580
3591
  /**
3581
- * Birth details. `date` is REQUIRED when the chat profile is first created (18 or over) and can
3582
- * NEVER be changed afterwards. The other fields are optional.
3592
+ * The birth date. `date` is REQUIRED when the chat profile is first created (18 or over) and can
3593
+ * NEVER be changed afterwards. Birth time and place belong to the matching profile (`birthTimePlace`).
3583
3594
  * @public
3584
3595
  */
3585
3596
  birthDetails?: BirthDetails | undefined;
@@ -3589,6 +3600,13 @@ export interface ChatProfileUpdateRequest {
3589
3600
  * @public
3590
3601
  */
3591
3602
  export interface MatchingProfileUpdateRequest {
3603
+ /**
3604
+ * Optional birth time and place for traditional compatibility. Omitted (null): keep what is stored.
3605
+ * Sent: replaces the stored value as a whole (never field-merged). Sent with every field empty
3606
+ * (`\{\}`): clears it. Validation errors are 400 with messages prefixed `birthTimePlace.`.
3607
+ * @public
3608
+ */
3609
+ birthTimePlace?: BirthTimePlace | undefined;
3592
3610
  bio?: string | undefined;
3593
3611
  gender?: string | undefined;
3594
3612
  interestedIn?: (string)[] | undefined;
@@ -4329,6 +4347,13 @@ export interface UserStateResponse {
4329
4347
  * @public
4330
4348
  */
4331
4349
  chatViewPass?: string | undefined;
4350
+ /**
4351
+ * True when the member chose to hide the Matching tab (`PUT /state/matching/tab-hidden`): while
4352
+ * matching is not ON, clients show only Chat and Profile. Absent or false: the Matching tab (a
4353
+ * locked preview of discovery) is shown while matching is not ON. Ignored while matching is ON.
4354
+ * @public
4355
+ */
4356
+ matchingTabHidden?: boolean | undefined;
4332
4357
  }
4333
4358
  /**
4334
4359
  * @public
@@ -4519,6 +4544,26 @@ export interface SendHookRequestRequest {
4519
4544
  */
4520
4545
  username: string | undefined;
4521
4546
  }
4547
+ /**
4548
+ * @public
4549
+ */
4550
+ export interface SetMatchingTabHiddenRequest {
4551
+ /**
4552
+ * True hides the Matching tab while matching is not ON; false shows it again.
4553
+ * @public
4554
+ */
4555
+ hidden: boolean | undefined;
4556
+ }
4557
+ /**
4558
+ * @public
4559
+ */
4560
+ export interface SetMatchingTabHiddenResponse {
4561
+ /**
4562
+ * The stored value.
4563
+ * @public
4564
+ */
4565
+ hidden: boolean | undefined;
4566
+ }
4522
4567
  /**
4523
4568
  * @public
4524
4569
  */
@@ -93,6 +93,7 @@ import { SearchPlacesCommandInput, SearchPlacesCommandOutput } from "../commands
93
93
  import { SendAdminLinkOtpCommandInput, SendAdminLinkOtpCommandOutput } from "../commands/SendAdminLinkOtpCommand";
94
94
  import { SendHookRequestCommandInput, SendHookRequestCommandOutput } from "../commands/SendHookRequestCommand";
95
95
  import { SetAccountStateCommandInput, SetAccountStateCommandOutput } from "../commands/SetAccountStateCommand";
96
+ import { SetMatchingTabHiddenCommandInput, SetMatchingTabHiddenCommandOutput } from "../commands/SetMatchingTabHiddenCommand";
96
97
  import { SetPasswordCommandInput, SetPasswordCommandOutput } from "../commands/SetPasswordCommand";
97
98
  import { SetPreservationHoldCommandInput, SetPreservationHoldCommandOutput } from "../commands/SetPreservationHoldCommand";
98
99
  import { SetTierOverrideCommandInput, SetTierOverrideCommandOutput } from "../commands/SetTierOverrideCommand";
@@ -559,6 +560,10 @@ export declare const se_ReportMemberCommand: (input: ReportMemberCommandInput, c
559
560
  * serializeAws_restJson1SendHookRequestCommand
560
561
  */
561
562
  export declare const se_SendHookRequestCommand: (input: SendHookRequestCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
563
+ /**
564
+ * serializeAws_restJson1SetMatchingTabHiddenCommand
565
+ */
566
+ export declare const se_SetMatchingTabHiddenCommand: (input: SetMatchingTabHiddenCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
562
567
  /**
563
568
  * serializeAws_restJson1SetTierOverrideCommand
564
569
  */
@@ -1019,6 +1024,10 @@ export declare const de_ReportMemberCommand: (output: __HttpResponse, context: _
1019
1024
  * deserializeAws_restJson1SendHookRequestCommand
1020
1025
  */
1021
1026
  export declare const de_SendHookRequestCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SendHookRequestCommandOutput>;
1027
+ /**
1028
+ * deserializeAws_restJson1SetMatchingTabHiddenCommand
1029
+ */
1030
+ export declare const de_SetMatchingTabHiddenCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SetMatchingTabHiddenCommandOutput>;
1022
1031
  /**
1023
1032
  * deserializeAws_restJson1SetTierOverrideCommand
1024
1033
  */
@@ -1,5 +1,5 @@
1
- export declare const TELEMETRY_CATALOG_VERSION = "1.16.0";
2
- export declare const TELEMETRY_CATALOG_HASH = "3d27632e55e2d44f";
1
+ export declare const TELEMETRY_CATALOG_VERSION = "1.17.0";
2
+ export declare const TELEMETRY_CATALOG_HASH = "76d9d66743a9261c";
3
3
  /** Every signal type the ingest accepts. */
4
4
  export declare const SignalType: {
5
5
  readonly SCREEN_VIEW: "screen_view";
@@ -308,6 +308,8 @@ export declare const UiElement: {
308
308
  readonly ONBOARDING_CHOICE_SELECT: "onboarding.choice_select";
309
309
  readonly MATCHING_INTRO_TURN_ON: "matching_intro.turn_on";
310
310
  readonly MATCHING_INTRO_SHOULD_I_JOIN: "matching_intro.should_i_join";
311
+ readonly MATCHING_INTRO_LOCKED_TAP: "matching_intro.locked_tap";
312
+ readonly MATCHING_INTRO_HIDE: "matching_intro.hide";
311
313
  readonly DISCOVER_PASS_BUTTON: "discover.pass_button";
312
314
  readonly DISCOVER_LIKE_BUTTON: "discover.like_button";
313
315
  readonly DISCOVER_ROSE_BUTTON: "discover.rose_button";
@@ -483,6 +485,7 @@ export declare const UiElement: {
483
485
  readonly SETTINGS_UNBLOCK_CONFIRM: "settings.unblock_confirm";
484
486
  readonly SETTINGS_MATCHING_ENABLE: "settings.matching_enable";
485
487
  readonly SETTINGS_MATCHING_PROFILE_OPEN: "settings.matching_profile_open";
488
+ readonly SETTINGS_MATCHING_TAB_TOGGLE: "settings.matching_tab_toggle";
486
489
  readonly SETTINGS_MATCHING_DISABLE: "settings.matching_disable";
487
490
  readonly SETTINGS_MATCHING_DISABLE_CONFIRM: "settings.matching_disable_confirm";
488
491
  readonly SETTINGS_VERIFY_CODE_SUBMIT: "settings.verify_code_submit";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "onehook-api-client",
3
3
  "description": "OneHook API Client",
4
- "version": "1.0.40",
4
+ "version": "1.0.42",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -1,8 +1,8 @@
1
1
  // GENERATED FILE - DO NOT EDIT.
2
- // telemetry-integrity: sha256 de51f3327b79554e206d0d10ddda7f28c8da14b5226c1346c68de8d9630297a8
2
+ // telemetry-integrity: sha256 0bcb943d402b979e41e483c6bdf24728cea2059f1bb98e6e3430ed1fb43d1c7f
3
3
  // Source of truth: OneHookBackend/packages/telemetry/src/catalog.ts
4
4
  // Regenerate: (OneHookBackend) npm run telemetry:generate && npm run telemetry:sync
5
- // Catalog version 1.16.0, hash 3d27632e55e2d44f.
5
+ // Catalog version 1.17.0, hash 76d9d66743a9261c.
6
6
  //
7
7
  // HARD RULE: every user interaction MUST emit ui_interaction with an id from THIS file, and
8
8
  // ids are controlled by the backend. Read TELEMETRY_CONTRACT.txt (printed by every build).
@@ -12,8 +12,8 @@
12
12
  package club.onehook.telemetry
13
13
 
14
14
  object TelemetryCatalog {
15
- const val VERSION = "1.16.0"
16
- const val HASH = "3d27632e55e2d44f"
15
+ const val VERSION = "1.17.0"
16
+ const val HASH = "76d9d66743a9261c"
17
17
  /** The only allowed `telemetry-exempt: <category>: <reason>` categories (see the catalog). */
18
18
  val EXEMPT_CATEGORIES: List<String> = listOf("duplicate", "backdrop", "gesture", "continuous", "disabled")
19
19
  }
@@ -368,6 +368,8 @@ enum class UiElement(
368
368
  ONBOARDING_CHOICE_SELECT("onboarding.choice_select", TelemetryScreen.ONBOARDING, UiElementKind.SEGMENTED, listOf(UiAction.SELECT, UiAction.TAP), null, listOf(TelemetryPlatform.WEB, TelemetryPlatform.IOS, TelemetryPlatform.ANDROID)),
369
369
  MATCHING_INTRO_TURN_ON("matching_intro.turn_on", TelemetryScreen.MATCHING_INTRO, UiElementKind.BUTTON, listOf(UiAction.TAP), null, listOf(TelemetryPlatform.WEB, TelemetryPlatform.IOS, TelemetryPlatform.ANDROID)),
370
370
  MATCHING_INTRO_SHOULD_I_JOIN("matching_intro.should_i_join", TelemetryScreen.MATCHING_INTRO, UiElementKind.BUTTON, listOf(UiAction.TAP, UiAction.DISMISS), null, listOf(TelemetryPlatform.WEB, TelemetryPlatform.IOS, TelemetryPlatform.ANDROID)),
371
+ MATCHING_INTRO_LOCKED_TAP("matching_intro.locked_tap", TelemetryScreen.MATCHING_INTRO, UiElementKind.GESTURE, listOf(UiAction.TAP), null, listOf(TelemetryPlatform.WEB, TelemetryPlatform.IOS, TelemetryPlatform.ANDROID)),
372
+ MATCHING_INTRO_HIDE("matching_intro.hide", TelemetryScreen.MATCHING_INTRO, UiElementKind.BUTTON, listOf(UiAction.TAP), null, listOf(TelemetryPlatform.WEB, TelemetryPlatform.IOS, TelemetryPlatform.ANDROID)),
371
373
  DISCOVER_PASS_BUTTON("discover.pass_button", TelemetryScreen.DISCOVER, UiElementKind.BUTTON, listOf(UiAction.TAP), null, listOf(TelemetryPlatform.WEB, TelemetryPlatform.IOS, TelemetryPlatform.ANDROID)),
372
374
  DISCOVER_LIKE_BUTTON("discover.like_button", TelemetryScreen.DISCOVER, UiElementKind.BUTTON, listOf(UiAction.TAP), null, listOf(TelemetryPlatform.ANDROID)),
373
375
  DISCOVER_ROSE_BUTTON("discover.rose_button", TelemetryScreen.DISCOVER, UiElementKind.BUTTON, listOf(UiAction.TAP), null, listOf(TelemetryPlatform.WEB, TelemetryPlatform.IOS, TelemetryPlatform.ANDROID)),
@@ -543,6 +545,7 @@ enum class UiElement(
543
545
  SETTINGS_UNBLOCK_CONFIRM("settings.unblock_confirm", TelemetryScreen.SETTINGS, UiElementKind.DIALOG_BUTTON, listOf(UiAction.SUBMIT, UiAction.DISMISS), null, listOf(TelemetryPlatform.IOS)),
544
546
  SETTINGS_MATCHING_ENABLE("settings.matching_enable", TelemetryScreen.SETTINGS, UiElementKind.BUTTON, listOf(UiAction.TAP), null, listOf(TelemetryPlatform.WEB, TelemetryPlatform.IOS)),
545
547
  SETTINGS_MATCHING_PROFILE_OPEN("settings.matching_profile_open", TelemetryScreen.SETTINGS, UiElementKind.BUTTON, listOf(UiAction.TAP), null, listOf(TelemetryPlatform.WEB, TelemetryPlatform.IOS, TelemetryPlatform.ANDROID)),
548
+ SETTINGS_MATCHING_TAB_TOGGLE("settings.matching_tab_toggle", TelemetryScreen.SETTINGS, UiElementKind.TOGGLE, listOf(UiAction.TOGGLE), listOf("show", "hide"), listOf(TelemetryPlatform.WEB, TelemetryPlatform.IOS, TelemetryPlatform.ANDROID)),
546
549
  SETTINGS_MATCHING_DISABLE("settings.matching_disable", TelemetryScreen.SETTINGS, UiElementKind.BUTTON, listOf(UiAction.TAP), null, listOf(TelemetryPlatform.WEB, TelemetryPlatform.IOS, TelemetryPlatform.ANDROID)),
547
550
  SETTINGS_MATCHING_DISABLE_CONFIRM("settings.matching_disable_confirm", TelemetryScreen.SETTINGS, UiElementKind.DIALOG_BUTTON, listOf(UiAction.SUBMIT, UiAction.DISMISS), null, listOf(TelemetryPlatform.WEB, TelemetryPlatform.IOS, TelemetryPlatform.ANDROID)),
548
551
  SETTINGS_VERIFY_CODE_SUBMIT("settings.verify_code_submit", TelemetryScreen.SETTINGS, UiElementKind.BUTTON, listOf(UiAction.SUBMIT, UiAction.DISMISS), listOf("email", "phone"), listOf(TelemetryPlatform.IOS, TelemetryPlatform.ANDROID)),