onehook-api-client 1.0.35 → 1.0.37
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 +14 -0
- package/dist-cjs/OneHook.js +4 -0
- package/dist-cjs/commands/GetTraditionPreferencesCommand.js +21 -0
- package/dist-cjs/commands/UpdateTraditionPreferencesCommand.js +21 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/models/models_0.js +22 -1
- package/dist-cjs/protocols/Aws_restJson1.js +61 -3
- package/dist-cjs/telemetry/index.js +15 -7
- package/dist-es/OneHook.js +4 -0
- package/dist-es/commands/GetTraditionPreferencesCommand.js +17 -0
- package/dist-es/commands/UpdateTraditionPreferencesCommand.js +17 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +21 -0
- package/dist-es/protocols/Aws_restJson1.js +54 -0
- package/dist-es/telemetry/index.js +15 -7
- package/dist-types/OneHook.d.ts +15 -0
- package/dist-types/OneHookClient.d.ts +4 -2
- package/dist-types/commands/DiscoverCommand.d.ts +8 -0
- package/dist-types/commands/GetTraditionPreferencesCommand.d.ts +83 -0
- package/dist-types/commands/UpdateTraditionPreferencesCommand.d.ts +87 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +103 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
- package/dist-types/telemetry/index.d.ts +6 -2
- package/package.json +1 -1
- package/telemetry/TelemetryCatalog.kt +13 -9
- package/telemetry/TelemetryCatalog.swift +17 -9
- package/telemetry/telemetry-catalog.json +113 -17
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export const TELEMETRY_CATALOG_VERSION = "1.
|
|
2
|
-
export const TELEMETRY_CATALOG_HASH = "
|
|
1
|
+
export const TELEMETRY_CATALOG_VERSION = "1.14.0";
|
|
2
|
+
export const TELEMETRY_CATALOG_HASH = "4d228919bd9883a5";
|
|
3
3
|
export const SignalType = {
|
|
4
4
|
SCREEN_VIEW: "screen_view",
|
|
5
5
|
UI_INTERACTION: "ui_interaction",
|
|
@@ -267,6 +267,7 @@ export const UiElement = {
|
|
|
267
267
|
DISCOVER_ADD_HOOK_OPEN: "discover.add_hook_open",
|
|
268
268
|
DISCOVER_RETRY: "discover.retry",
|
|
269
269
|
DISCOVER_CATEGORY_SELECT: "discover.category_select",
|
|
270
|
+
DISCOVER_HIGHLIGHT_SWIPE: "discover.highlight_swipe",
|
|
270
271
|
DISCOVER_ADD_HOOK_SUBMIT: "discover.add_hook_submit",
|
|
271
272
|
DISCOVER_UPGRADE_OPEN: "discover.upgrade_open",
|
|
272
273
|
LIKE_COMPOSER_SEND: "like_composer.send",
|
|
@@ -339,6 +340,7 @@ export const UiElement = {
|
|
|
339
340
|
CHAT_MR_ONEHOOK_SESSION_DELETE: "chat.mr_onehook_session_delete",
|
|
340
341
|
CHAT_MR_ONEHOOK_SESSION_NEW: "chat.mr_onehook_session_new",
|
|
341
342
|
CHAT_MR_ONEHOOK_SESSION_LIMIT: "chat.mr_onehook_session_limit",
|
|
343
|
+
CHAT_MR_ONEHOOK_UPGRADE_OPEN: "chat.mr_onehook_upgrade_open",
|
|
342
344
|
CHAT_INTRO_TOUR_OPEN: "chat.intro_tour_open",
|
|
343
345
|
CHAT_INTRO_DISMISS: "chat.intro_dismiss",
|
|
344
346
|
CHAT_INTRO_GET_STARTED: "chat.intro_get_started",
|
|
@@ -390,6 +392,8 @@ export const UiElement = {
|
|
|
390
392
|
PREFERENCES_LOCKED_FILTER_TAP: "preferences.locked_filter_tap",
|
|
391
393
|
PREFERENCES_SUGGESTION_REMOVE: "preferences.suggestion_remove",
|
|
392
394
|
PREFERENCES_OWN_SUGGESTION_SAVE: "preferences.own_suggestion_save",
|
|
395
|
+
PREFERENCES_TRADITION_TOGGLE: "preferences.tradition_toggle",
|
|
396
|
+
PREFERENCES_TRADITIONS_RETRY: "preferences.traditions_retry",
|
|
393
397
|
PREFERENCES_OWN_SUGGESTION_REMOVE: "preferences.own_suggestion_remove",
|
|
394
398
|
SETTINGS_EMAIL_MANAGE: "settings.email_manage",
|
|
395
399
|
SETTINGS_PHONE_UPDATE: "settings.phone_update",
|
|
@@ -519,8 +523,9 @@ export const UI_ELEMENTS = {
|
|
|
519
523
|
"discover.add_hook_open": { screen: "DISCOVER", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["ios"] },
|
|
520
524
|
"discover.retry": { screen: "DISCOVER", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
521
525
|
"discover.category_select": { screen: "DISCOVER", kind: "button", actions: ["tap"], values: ["all", "profile_match", "onehook_suggested", "similar"], platforms: ["web", "ios", "android"] },
|
|
526
|
+
"discover.highlight_swipe": { screen: "DISCOVER", kind: "gesture", actions: ["tap"], values: ["onehook_intelligence", "mr_onehook", "kundali", "western", "bazi", "zi_wei_dou_shu", "tzolkin", "tibetan", "hebrew", "arabic_parts", "buddhist", "celtic", "egyptian", "hellenistic", "babylonian"], platforms: ["web", "ios", "android"] },
|
|
522
527
|
"discover.add_hook_submit": { screen: "DISCOVER", kind: "button", actions: ["submit"], values: null, platforms: ["web", "ios"] },
|
|
523
|
-
"discover.upgrade_open": { screen: "DISCOVER", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["ios"] },
|
|
528
|
+
"discover.upgrade_open": { screen: "DISCOVER", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
|
|
524
529
|
"like_composer.send": { screen: "LIKE_COMPOSER", kind: "button", actions: ["submit"], values: null, platforms: ["web", "ios", "android"] },
|
|
525
530
|
"like_composer.send_without_comment": { screen: "LIKE_COMPOSER", kind: "button", actions: ["submit"], values: null, platforms: ["ios"] },
|
|
526
531
|
"like_composer.cancel": { screen: "LIKE_COMPOSER", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
|
|
@@ -586,11 +591,12 @@ export const UI_ELEMENTS = {
|
|
|
586
591
|
"chat.mr_onehook_context_share": { screen: "CHAT", kind: "dialog_button", actions: ["submit", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
|
|
587
592
|
"chat.mr_onehook_scope_open": { screen: "CHAT", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web"] },
|
|
588
593
|
"chat.mr_onehook_scope_select": { screen: "CHAT", kind: "menu_item", actions: ["tap"], values: null, platforms: ["web"] },
|
|
589
|
-
"chat.mr_onehook_sessions_open": { screen: "CHAT", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["
|
|
594
|
+
"chat.mr_onehook_sessions_open": { screen: "CHAT", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["ios"] },
|
|
590
595
|
"chat.mr_onehook_session_resume": { screen: "CHAT", kind: "menu_item", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
591
|
-
"chat.mr_onehook_session_delete": { screen: "CHAT", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
596
|
+
"chat.mr_onehook_session_delete": { screen: "CHAT", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
|
|
592
597
|
"chat.mr_onehook_session_new": { screen: "CHAT", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
593
598
|
"chat.mr_onehook_session_limit": { screen: "CHAT", kind: "dialog_button", actions: ["tap", "dismiss"], values: ["replace_least_recent", "manage", "cancel"], platforms: ["web", "ios", "android"] },
|
|
599
|
+
"chat.mr_onehook_upgrade_open": { screen: "CHAT", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
|
|
594
600
|
"chat.intro_tour_open": { screen: "CHAT", kind: "button", actions: ["tap"], values: null, platforms: ["ios"] },
|
|
595
601
|
"chat.intro_dismiss": { screen: "CHAT", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["ios"] },
|
|
596
602
|
"chat.intro_get_started": { screen: "CHAT", kind: "button", actions: ["tap"], values: null, platforms: ["ios"] },
|
|
@@ -638,10 +644,12 @@ export const UI_ELEMENTS = {
|
|
|
638
644
|
"profile_edit.voice_remove": { screen: "PROFILE_EDIT", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios"] },
|
|
639
645
|
"profile_edit.choice_select": { screen: "PROFILE_EDIT", kind: "segmented", actions: ["select", "tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
640
646
|
"preferences.save": { screen: "PREFERENCES", kind: "button", actions: ["submit"], values: null, platforms: ["ios", "android"] },
|
|
641
|
-
"preferences.upgrade_open": { screen: "PREFERENCES", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["ios"] },
|
|
642
|
-
"preferences.locked_filter_tap": { screen: "PREFERENCES", kind: "button", actions: ["tap"], values: null, platforms: ["ios"] },
|
|
647
|
+
"preferences.upgrade_open": { screen: "PREFERENCES", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
|
|
648
|
+
"preferences.locked_filter_tap": { screen: "PREFERENCES", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
643
649
|
"preferences.suggestion_remove": { screen: "PREFERENCES", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
644
650
|
"preferences.own_suggestion_save": { screen: "PREFERENCES", kind: "button", actions: ["submit"], values: null, platforms: ["web", "ios", "android"] },
|
|
651
|
+
"preferences.tradition_toggle": { screen: "PREFERENCES", kind: "toggle", actions: ["toggle"], values: ["kundali", "western", "bazi", "zi_wei_dou_shu", "tzolkin", "tibetan", "hebrew", "arabic_parts", "buddhist", "celtic", "egyptian", "hellenistic", "babylonian"], platforms: ["web", "ios", "android"] },
|
|
652
|
+
"preferences.traditions_retry": { screen: "PREFERENCES", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
645
653
|
"preferences.own_suggestion_remove": { screen: "PREFERENCES", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
646
654
|
"settings.email_manage": { screen: "SETTINGS", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
|
|
647
655
|
"settings.phone_update": { screen: "SETTINGS", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["ios", "android"] },
|
package/dist-types/OneHook.d.ts
CHANGED
|
@@ -33,6 +33,7 @@ import { GetReceivedLikesCommandInput, GetReceivedLikesCommandOutput } from "./c
|
|
|
33
33
|
import { GetRosesCommandInput, GetRosesCommandOutput } from "./commands/GetRosesCommand";
|
|
34
34
|
import { GetStateCommandInput, GetStateCommandOutput } from "./commands/GetStateCommand";
|
|
35
35
|
import { GetSuggestionsCommandInput, GetSuggestionsCommandOutput } from "./commands/GetSuggestionsCommand";
|
|
36
|
+
import { GetTraditionPreferencesCommandInput, GetTraditionPreferencesCommandOutput } from "./commands/GetTraditionPreferencesCommand";
|
|
36
37
|
import { GetUserByEmailCommandInput, GetUserByEmailCommandOutput } from "./commands/GetUserByEmailCommand";
|
|
37
38
|
import { GetUserCommandInput, GetUserCommandOutput } from "./commands/GetUserCommand";
|
|
38
39
|
import { GetUserIdByUsernameCommandInput, GetUserIdByUsernameCommandOutput } from "./commands/GetUserIdByUsernameCommand";
|
|
@@ -66,6 +67,7 @@ import { UpdateEntitlementsCommandInput, UpdateEntitlementsCommandOutput } from
|
|
|
66
67
|
import { UpdatePhoneNumberCommandInput, UpdatePhoneNumberCommandOutput } from "./commands/UpdatePhoneNumberCommand";
|
|
67
68
|
import { UpdatePreferencesCommandInput, UpdatePreferencesCommandOutput } from "./commands/UpdatePreferencesCommand";
|
|
68
69
|
import { UpdateProfileCommandInput, UpdateProfileCommandOutput } from "./commands/UpdateProfileCommand";
|
|
70
|
+
import { UpdateTraditionPreferencesCommandInput, UpdateTraditionPreferencesCommandOutput } from "./commands/UpdateTraditionPreferencesCommand";
|
|
69
71
|
import { UpdateUsernameCommandInput, UpdateUsernameCommandOutput } from "./commands/UpdateUsernameCommand";
|
|
70
72
|
import { UpgradeUserCommandInput, UpgradeUserCommandOutput } from "./commands/UpgradeUserCommand";
|
|
71
73
|
import { ValidateInviteCommandInput, ValidateInviteCommandOutput } from "./commands/ValidateInviteCommand";
|
|
@@ -342,6 +344,13 @@ export interface OneHook {
|
|
|
342
344
|
getSuggestions(args: GetSuggestionsCommandInput, options?: __HttpHandlerOptions): Promise<GetSuggestionsCommandOutput>;
|
|
343
345
|
getSuggestions(args: GetSuggestionsCommandInput, cb: (err: any, data?: GetSuggestionsCommandOutput) => void): void;
|
|
344
346
|
getSuggestions(args: GetSuggestionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSuggestionsCommandOutput) => void): void;
|
|
347
|
+
/**
|
|
348
|
+
* @see {@link GetTraditionPreferencesCommand}
|
|
349
|
+
*/
|
|
350
|
+
getTraditionPreferences(): Promise<GetTraditionPreferencesCommandOutput>;
|
|
351
|
+
getTraditionPreferences(args: GetTraditionPreferencesCommandInput, options?: __HttpHandlerOptions): Promise<GetTraditionPreferencesCommandOutput>;
|
|
352
|
+
getTraditionPreferences(args: GetTraditionPreferencesCommandInput, cb: (err: any, data?: GetTraditionPreferencesCommandOutput) => void): void;
|
|
353
|
+
getTraditionPreferences(args: GetTraditionPreferencesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTraditionPreferencesCommandOutput) => void): void;
|
|
345
354
|
/**
|
|
346
355
|
* @see {@link IndexLocationCommand}
|
|
347
356
|
*/
|
|
@@ -392,6 +401,12 @@ export interface OneHook {
|
|
|
392
401
|
updatePreferences(args: UpdatePreferencesCommandInput, options?: __HttpHandlerOptions): Promise<UpdatePreferencesCommandOutput>;
|
|
393
402
|
updatePreferences(args: UpdatePreferencesCommandInput, cb: (err: any, data?: UpdatePreferencesCommandOutput) => void): void;
|
|
394
403
|
updatePreferences(args: UpdatePreferencesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdatePreferencesCommandOutput) => void): void;
|
|
404
|
+
/**
|
|
405
|
+
* @see {@link UpdateTraditionPreferencesCommand}
|
|
406
|
+
*/
|
|
407
|
+
updateTraditionPreferences(args: UpdateTraditionPreferencesCommandInput, options?: __HttpHandlerOptions): Promise<UpdateTraditionPreferencesCommandOutput>;
|
|
408
|
+
updateTraditionPreferences(args: UpdateTraditionPreferencesCommandInput, cb: (err: any, data?: UpdateTraditionPreferencesCommandOutput) => void): void;
|
|
409
|
+
updateTraditionPreferences(args: UpdateTraditionPreferencesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateTraditionPreferencesCommandOutput) => void): void;
|
|
395
410
|
/**
|
|
396
411
|
* @see {@link CompleteLivenessSessionCommand}
|
|
397
412
|
*/
|
|
@@ -33,6 +33,7 @@ import { GetReceivedLikesCommandInput, GetReceivedLikesCommandOutput } from "./c
|
|
|
33
33
|
import { GetRosesCommandInput, GetRosesCommandOutput } from "./commands/GetRosesCommand";
|
|
34
34
|
import { GetStateCommandInput, GetStateCommandOutput } from "./commands/GetStateCommand";
|
|
35
35
|
import { GetSuggestionsCommandInput, GetSuggestionsCommandOutput } from "./commands/GetSuggestionsCommand";
|
|
36
|
+
import { GetTraditionPreferencesCommandInput, GetTraditionPreferencesCommandOutput } from "./commands/GetTraditionPreferencesCommand";
|
|
36
37
|
import { GetUserByEmailCommandInput, GetUserByEmailCommandOutput } from "./commands/GetUserByEmailCommand";
|
|
37
38
|
import { GetUserCommandInput, GetUserCommandOutput } from "./commands/GetUserCommand";
|
|
38
39
|
import { GetUserIdByUsernameCommandInput, GetUserIdByUsernameCommandOutput } from "./commands/GetUserIdByUsernameCommand";
|
|
@@ -66,6 +67,7 @@ import { UpdateEntitlementsCommandInput, UpdateEntitlementsCommandOutput } from
|
|
|
66
67
|
import { UpdatePhoneNumberCommandInput, UpdatePhoneNumberCommandOutput } from "./commands/UpdatePhoneNumberCommand";
|
|
67
68
|
import { UpdatePreferencesCommandInput, UpdatePreferencesCommandOutput } from "./commands/UpdatePreferencesCommand";
|
|
68
69
|
import { UpdateProfileCommandInput, UpdateProfileCommandOutput } from "./commands/UpdateProfileCommand";
|
|
70
|
+
import { UpdateTraditionPreferencesCommandInput, UpdateTraditionPreferencesCommandOutput } from "./commands/UpdateTraditionPreferencesCommand";
|
|
69
71
|
import { UpdateUsernameCommandInput, UpdateUsernameCommandOutput } from "./commands/UpdateUsernameCommand";
|
|
70
72
|
import { UpgradeUserCommandInput, UpgradeUserCommandOutput } from "./commands/UpgradeUserCommand";
|
|
71
73
|
import { ValidateInviteCommandInput, ValidateInviteCommandOutput } from "./commands/ValidateInviteCommand";
|
|
@@ -82,11 +84,11 @@ export { __Client };
|
|
|
82
84
|
/**
|
|
83
85
|
* @public
|
|
84
86
|
*/
|
|
85
|
-
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 | GetMyProfileCommandInput | GetNotificationPreferencesCommandInput | GetParticipantRegistryCommandInput | GetPlaceCommandInput | GetPreferencesCommandInput | GetPreservationHoldCommandInput | GetProfileCommandInput | GetReceivedLikesCommandInput | GetRosesCommandInput | GetStateCommandInput | GetSuggestionsCommandInput | GetUserByEmailCommandInput | GetUserCommandInput | GetUserIdByUsernameCommandInput | IndexLocationCommandInput | InitUserCommandInput | LinkEmailCommandInput | LinkSocialCommandInput | ListMyDevicesCommandInput | RecordSuggestionCommandInput | RegisterDeviceCommandInput | RegisterPhoneCommandInput | RegisterPushTokenCommandInput | RemoveLocationCommandInput | RemoveOneHookSuggestionCommandInput | RemoveSuggestionCommandInput | RequestEmailOtpCommandInput | RequestPhoneOtpCommandInput | RequestPhoneUpdateOtpCommandInput | RevokeDeviceCommandInput | RevokeUserAccessCommandInput | SearchPlacesCommandInput | SendAdminLinkOtpCommandInput | SetAccountStateCommandInput | SetPreservationHoldCommandInput | SwipeByUsernameCommandInput | SwipeCommandInput | UnhookCommandInput | UnlinkSocialCommandInput | UpdateChatSettingsCommandInput | UpdateEntitlementsCommandInput | UpdatePhoneNumberCommandInput | UpdatePreferencesCommandInput | UpdateProfileCommandInput | UpdateUsernameCommandInput | UpgradeUserCommandInput | ValidateInviteCommandInput | VerifyAdminLinkOtpCommandInput;
|
|
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 | GetMyProfileCommandInput | GetNotificationPreferencesCommandInput | GetParticipantRegistryCommandInput | GetPlaceCommandInput | GetPreferencesCommandInput | GetPreservationHoldCommandInput | GetProfileCommandInput | GetReceivedLikesCommandInput | GetRosesCommandInput | GetStateCommandInput | GetSuggestionsCommandInput | GetTraditionPreferencesCommandInput | GetUserByEmailCommandInput | GetUserCommandInput | GetUserIdByUsernameCommandInput | IndexLocationCommandInput | InitUserCommandInput | LinkEmailCommandInput | LinkSocialCommandInput | ListMyDevicesCommandInput | RecordSuggestionCommandInput | RegisterDeviceCommandInput | RegisterPhoneCommandInput | RegisterPushTokenCommandInput | RemoveLocationCommandInput | RemoveOneHookSuggestionCommandInput | RemoveSuggestionCommandInput | RequestEmailOtpCommandInput | RequestPhoneOtpCommandInput | RequestPhoneUpdateOtpCommandInput | RevokeDeviceCommandInput | RevokeUserAccessCommandInput | SearchPlacesCommandInput | SendAdminLinkOtpCommandInput | SetAccountStateCommandInput | SetPreservationHoldCommandInput | SwipeByUsernameCommandInput | SwipeCommandInput | UnhookCommandInput | UnlinkSocialCommandInput | UpdateChatSettingsCommandInput | UpdateEntitlementsCommandInput | UpdatePhoneNumberCommandInput | UpdatePreferencesCommandInput | UpdateProfileCommandInput | UpdateTraditionPreferencesCommandInput | UpdateUsernameCommandInput | UpgradeUserCommandInput | ValidateInviteCommandInput | VerifyAdminLinkOtpCommandInput;
|
|
86
88
|
/**
|
|
87
89
|
* @public
|
|
88
90
|
*/
|
|
89
|
-
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 | GetMyProfileCommandOutput | GetNotificationPreferencesCommandOutput | GetParticipantRegistryCommandOutput | GetPlaceCommandOutput | GetPreferencesCommandOutput | GetPreservationHoldCommandOutput | GetProfileCommandOutput | GetReceivedLikesCommandOutput | GetRosesCommandOutput | GetStateCommandOutput | GetSuggestionsCommandOutput | GetUserByEmailCommandOutput | GetUserCommandOutput | GetUserIdByUsernameCommandOutput | IndexLocationCommandOutput | InitUserCommandOutput | LinkEmailCommandOutput | LinkSocialCommandOutput | ListMyDevicesCommandOutput | RecordSuggestionCommandOutput | RegisterDeviceCommandOutput | RegisterPhoneCommandOutput | RegisterPushTokenCommandOutput | RemoveLocationCommandOutput | RemoveOneHookSuggestionCommandOutput | RemoveSuggestionCommandOutput | RequestEmailOtpCommandOutput | RequestPhoneOtpCommandOutput | RequestPhoneUpdateOtpCommandOutput | RevokeDeviceCommandOutput | RevokeUserAccessCommandOutput | SearchPlacesCommandOutput | SendAdminLinkOtpCommandOutput | SetAccountStateCommandOutput | SetPreservationHoldCommandOutput | SwipeByUsernameCommandOutput | SwipeCommandOutput | UnhookCommandOutput | UnlinkSocialCommandOutput | UpdateChatSettingsCommandOutput | UpdateEntitlementsCommandOutput | UpdatePhoneNumberCommandOutput | UpdatePreferencesCommandOutput | UpdateProfileCommandOutput | UpdateUsernameCommandOutput | UpgradeUserCommandOutput | ValidateInviteCommandOutput | VerifyAdminLinkOtpCommandOutput;
|
|
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 | GetMyProfileCommandOutput | GetNotificationPreferencesCommandOutput | GetParticipantRegistryCommandOutput | GetPlaceCommandOutput | GetPreferencesCommandOutput | GetPreservationHoldCommandOutput | GetProfileCommandOutput | GetReceivedLikesCommandOutput | GetRosesCommandOutput | GetStateCommandOutput | GetSuggestionsCommandOutput | GetTraditionPreferencesCommandOutput | GetUserByEmailCommandOutput | GetUserCommandOutput | GetUserIdByUsernameCommandOutput | IndexLocationCommandOutput | InitUserCommandOutput | LinkEmailCommandOutput | LinkSocialCommandOutput | ListMyDevicesCommandOutput | RecordSuggestionCommandOutput | RegisterDeviceCommandOutput | RegisterPhoneCommandOutput | RegisterPushTokenCommandOutput | RemoveLocationCommandOutput | RemoveOneHookSuggestionCommandOutput | RemoveSuggestionCommandOutput | RequestEmailOtpCommandOutput | RequestPhoneOtpCommandOutput | RequestPhoneUpdateOtpCommandOutput | RevokeDeviceCommandOutput | RevokeUserAccessCommandOutput | SearchPlacesCommandOutput | SendAdminLinkOtpCommandOutput | SetAccountStateCommandOutput | SetPreservationHoldCommandOutput | SwipeByUsernameCommandOutput | SwipeCommandOutput | UnhookCommandOutput | UnlinkSocialCommandOutput | UpdateChatSettingsCommandOutput | UpdateEntitlementsCommandOutput | UpdatePhoneNumberCommandOutput | UpdatePreferencesCommandOutput | UpdateProfileCommandOutput | UpdateTraditionPreferencesCommandOutput | UpdateUsernameCommandOutput | UpgradeUserCommandOutput | ValidateInviteCommandOutput | VerifyAdminLinkOtpCommandOutput;
|
|
90
92
|
/**
|
|
91
93
|
* @public
|
|
92
94
|
*/
|
|
@@ -56,6 +56,14 @@ declare const DiscoverCommand_base: {
|
|
|
56
56
|
* // suggestionId: "STRING_VALUE",
|
|
57
57
|
* // suggestionBasis: "EXPLICIT_REQUEST" || "INFERRED_INCLINATION",
|
|
58
58
|
* // similarity: Number("double"),
|
|
59
|
+
* // matchHighlights: [ // MatchHighlightList
|
|
60
|
+
* // { // MatchHighlight
|
|
61
|
+
* // source: "ONEHOOK_INTELLIGENCE" || "MR_ONEHOOK" || "KUNDALI" || "WESTERN" || "BAZI" || "ZI_WEI_DOU_SHU" || "TZOLKIN" || "TIBETAN" || "HEBREW" || "ARABIC_PARTS" || "BUDDHIST" || "CELTIC" || "EGYPTIAN" || "HELLENISTIC" || "BABYLONIAN", // required
|
|
62
|
+
* // label: "STRING_VALUE", // required
|
|
63
|
+
* // verdict: "GOOD" || "EXCELLENT", // required
|
|
64
|
+
* // reason: "STRING_VALUE", // required
|
|
65
|
+
* // },
|
|
66
|
+
* // ],
|
|
59
67
|
* // },
|
|
60
68
|
* // ],
|
|
61
69
|
* // count: Number("int"), // required
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookClient";
|
|
2
|
+
import { TraditionPreferencesResponse } 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 GetTraditionPreferencesCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetTraditionPreferencesCommandInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetTraditionPreferencesCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetTraditionPreferencesCommandOutput extends TraditionPreferencesResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetTraditionPreferencesCommand_base: {
|
|
25
|
+
new (input: GetTraditionPreferencesCommandInput): import("@smithy/smithy-client").CommandImpl<GetTraditionPreferencesCommandInput, GetTraditionPreferencesCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [GetTraditionPreferencesCommandInput]): import("@smithy/smithy-client").CommandImpl<GetTraditionPreferencesCommandInput, GetTraditionPreferencesCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* The traditional matching systems the caller takes part in. Every member is enrolled in all of them
|
|
31
|
+
* by default. A tradition is only evaluated, shown and used for ranking when both members are enrolled.
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { OneHookClient, GetTraditionPreferencesCommand } from "onehook-api-client"; // ES Modules import
|
|
36
|
+
* // const { OneHookClient, GetTraditionPreferencesCommand } = require("onehook-api-client"); // CommonJS import
|
|
37
|
+
* const client = new OneHookClient(config);
|
|
38
|
+
* const input = {};
|
|
39
|
+
* const command = new GetTraditionPreferencesCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // { // TraditionPreferencesResponse
|
|
42
|
+
* // traditions: [ // TraditionSettingList // required
|
|
43
|
+
* // { // TraditionSetting
|
|
44
|
+
* // id: "STRING_VALUE", // required
|
|
45
|
+
* // label: "STRING_VALUE", // required
|
|
46
|
+
* // description: "STRING_VALUE", // required
|
|
47
|
+
* // enabled: true || false, // required
|
|
48
|
+
* // needs: "STRING_VALUE", // required
|
|
49
|
+
* // },
|
|
50
|
+
* // ],
|
|
51
|
+
* // };
|
|
52
|
+
*
|
|
53
|
+
* ```
|
|
54
|
+
*
|
|
55
|
+
* @param GetTraditionPreferencesCommandInput - {@link GetTraditionPreferencesCommandInput}
|
|
56
|
+
* @returns {@link GetTraditionPreferencesCommandOutput}
|
|
57
|
+
* @see {@link GetTraditionPreferencesCommandInput} for command's `input` shape.
|
|
58
|
+
* @see {@link GetTraditionPreferencesCommandOutput} for command's `response` shape.
|
|
59
|
+
* @see {@link OneHookClientResolvedConfig | config} for OneHookClient's `config` shape.
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link BadRequestError} (client fault)
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link InternalServerError} (server fault)
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link OneHookServiceException}
|
|
66
|
+
* <p>Base exception class for all service exceptions from OneHook service.</p>
|
|
67
|
+
*
|
|
68
|
+
*
|
|
69
|
+
* @public
|
|
70
|
+
*/
|
|
71
|
+
export declare class GetTraditionPreferencesCommand extends GetTraditionPreferencesCommand_base {
|
|
72
|
+
/** @internal type navigation helper, not in runtime. */
|
|
73
|
+
protected static __types: {
|
|
74
|
+
api: {
|
|
75
|
+
input: {};
|
|
76
|
+
output: TraditionPreferencesResponse;
|
|
77
|
+
};
|
|
78
|
+
sdk: {
|
|
79
|
+
input: GetTraditionPreferencesCommandInput;
|
|
80
|
+
output: GetTraditionPreferencesCommandOutput;
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookClient";
|
|
2
|
+
import { TraditionPreferencesResponse, UpdateTraditionPreferencesRequest } 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 UpdateTraditionPreferencesCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateTraditionPreferencesCommandInput extends UpdateTraditionPreferencesRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateTraditionPreferencesCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateTraditionPreferencesCommandOutput extends TraditionPreferencesResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdateTraditionPreferencesCommand_base: {
|
|
25
|
+
new (input: UpdateTraditionPreferencesCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateTraditionPreferencesCommandInput, UpdateTraditionPreferencesCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: UpdateTraditionPreferencesCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateTraditionPreferencesCommandInput, UpdateTraditionPreferencesCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Sets which traditions the caller opts out of (replaces the previous list). An empty list re-enrols
|
|
31
|
+
* the caller in every tradition.
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { OneHookClient, UpdateTraditionPreferencesCommand } from "onehook-api-client"; // ES Modules import
|
|
36
|
+
* // const { OneHookClient, UpdateTraditionPreferencesCommand } = require("onehook-api-client"); // CommonJS import
|
|
37
|
+
* const client = new OneHookClient(config);
|
|
38
|
+
* const input = { // UpdateTraditionPreferencesRequest
|
|
39
|
+
* disabled: [ // StringList // required
|
|
40
|
+
* "STRING_VALUE",
|
|
41
|
+
* ],
|
|
42
|
+
* };
|
|
43
|
+
* const command = new UpdateTraditionPreferencesCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // TraditionPreferencesResponse
|
|
46
|
+
* // traditions: [ // TraditionSettingList // required
|
|
47
|
+
* // { // TraditionSetting
|
|
48
|
+
* // id: "STRING_VALUE", // required
|
|
49
|
+
* // label: "STRING_VALUE", // required
|
|
50
|
+
* // description: "STRING_VALUE", // required
|
|
51
|
+
* // enabled: true || false, // required
|
|
52
|
+
* // needs: "STRING_VALUE", // required
|
|
53
|
+
* // },
|
|
54
|
+
* // ],
|
|
55
|
+
* // };
|
|
56
|
+
*
|
|
57
|
+
* ```
|
|
58
|
+
*
|
|
59
|
+
* @param UpdateTraditionPreferencesCommandInput - {@link UpdateTraditionPreferencesCommandInput}
|
|
60
|
+
* @returns {@link UpdateTraditionPreferencesCommandOutput}
|
|
61
|
+
* @see {@link UpdateTraditionPreferencesCommandInput} for command's `input` shape.
|
|
62
|
+
* @see {@link UpdateTraditionPreferencesCommandOutput} for command's `response` shape.
|
|
63
|
+
* @see {@link OneHookClientResolvedConfig | config} for OneHookClient's `config` shape.
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link BadRequestError} (client fault)
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link InternalServerError} (server fault)
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link OneHookServiceException}
|
|
70
|
+
* <p>Base exception class for all service exceptions from OneHook service.</p>
|
|
71
|
+
*
|
|
72
|
+
*
|
|
73
|
+
* @public
|
|
74
|
+
*/
|
|
75
|
+
export declare class UpdateTraditionPreferencesCommand extends UpdateTraditionPreferencesCommand_base {
|
|
76
|
+
/** @internal type navigation helper, not in runtime. */
|
|
77
|
+
protected static __types: {
|
|
78
|
+
api: {
|
|
79
|
+
input: UpdateTraditionPreferencesRequest;
|
|
80
|
+
output: TraditionPreferencesResponse;
|
|
81
|
+
};
|
|
82
|
+
sdk: {
|
|
83
|
+
input: UpdateTraditionPreferencesCommandInput;
|
|
84
|
+
output: UpdateTraditionPreferencesCommandOutput;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
}
|
|
@@ -42,6 +42,7 @@ export * from "./GetPreferencesCommand";
|
|
|
42
42
|
export * from "./GetReceivedLikesCommand";
|
|
43
43
|
export * from "./GetRosesCommand";
|
|
44
44
|
export * from "./GetSuggestionsCommand";
|
|
45
|
+
export * from "./GetTraditionPreferencesCommand";
|
|
45
46
|
export * from "./IndexLocationCommand";
|
|
46
47
|
export * from "./RecordSuggestionCommand";
|
|
47
48
|
export * from "./RemoveLocationCommand";
|
|
@@ -50,6 +51,7 @@ export * from "./RemoveSuggestionCommand";
|
|
|
50
51
|
export * from "./SwipeCommand";
|
|
51
52
|
export * from "./SwipeByUsernameCommand";
|
|
52
53
|
export * from "./UpdatePreferencesCommand";
|
|
54
|
+
export * from "./UpdateTraditionPreferencesCommand";
|
|
53
55
|
export * from "./CompleteLivenessSessionCommand";
|
|
54
56
|
export * from "./CorrectBirthDateCommand";
|
|
55
57
|
export * from "./CreateLivenessSessionCommand";
|
|
@@ -1265,6 +1265,65 @@ export declare const MatchFinder: {
|
|
|
1265
1265
|
* @public
|
|
1266
1266
|
*/
|
|
1267
1267
|
export type MatchFinder = typeof MatchFinder[keyof typeof MatchFinder];
|
|
1268
|
+
/**
|
|
1269
|
+
* @public
|
|
1270
|
+
* @enum
|
|
1271
|
+
*/
|
|
1272
|
+
export declare const MatchHighlightSource: {
|
|
1273
|
+
readonly ARABIC_PARTS: "ARABIC_PARTS";
|
|
1274
|
+
readonly BABYLONIAN: "BABYLONIAN";
|
|
1275
|
+
readonly BAZI: "BAZI";
|
|
1276
|
+
readonly BUDDHIST: "BUDDHIST";
|
|
1277
|
+
readonly CELTIC: "CELTIC";
|
|
1278
|
+
readonly EGYPTIAN: "EGYPTIAN";
|
|
1279
|
+
readonly HEBREW: "HEBREW";
|
|
1280
|
+
readonly HELLENISTIC: "HELLENISTIC";
|
|
1281
|
+
readonly KUNDALI: "KUNDALI";
|
|
1282
|
+
readonly MR_ONEHOOK: "MR_ONEHOOK";
|
|
1283
|
+
readonly ONEHOOK_INTELLIGENCE: "ONEHOOK_INTELLIGENCE";
|
|
1284
|
+
readonly TIBETAN: "TIBETAN";
|
|
1285
|
+
readonly TZOLKIN: "TZOLKIN";
|
|
1286
|
+
readonly WESTERN: "WESTERN";
|
|
1287
|
+
readonly ZI_WEI_DOU_SHU: "ZI_WEI_DOU_SHU";
|
|
1288
|
+
};
|
|
1289
|
+
/**
|
|
1290
|
+
* @public
|
|
1291
|
+
*/
|
|
1292
|
+
export type MatchHighlightSource = typeof MatchHighlightSource[keyof typeof MatchHighlightSource];
|
|
1293
|
+
/**
|
|
1294
|
+
* @public
|
|
1295
|
+
* @enum
|
|
1296
|
+
*/
|
|
1297
|
+
export declare const MatchVerdict: {
|
|
1298
|
+
readonly EXCELLENT: "EXCELLENT";
|
|
1299
|
+
readonly GOOD: "GOOD";
|
|
1300
|
+
};
|
|
1301
|
+
/**
|
|
1302
|
+
* @public
|
|
1303
|
+
*/
|
|
1304
|
+
export type MatchVerdict = typeof MatchVerdict[keyof typeof MatchVerdict];
|
|
1305
|
+
/**
|
|
1306
|
+
* One reason a candidate is a good match. Rendered as one swipeable card.
|
|
1307
|
+
* @public
|
|
1308
|
+
*/
|
|
1309
|
+
export interface MatchHighlight {
|
|
1310
|
+
/**
|
|
1311
|
+
* Where a match highlight comes from. Traditional systems mirror `Tradition`.
|
|
1312
|
+
* @public
|
|
1313
|
+
*/
|
|
1314
|
+
source: MatchHighlightSource | undefined;
|
|
1315
|
+
/**
|
|
1316
|
+
* Display name of `source`, e.g. "Kundali", "Mr. OneHook".
|
|
1317
|
+
* @public
|
|
1318
|
+
*/
|
|
1319
|
+
label: string | undefined;
|
|
1320
|
+
verdict: MatchVerdict | undefined;
|
|
1321
|
+
/**
|
|
1322
|
+
* Why, in plain language. Never reveals the other member's birth date, time or place.
|
|
1323
|
+
* @public
|
|
1324
|
+
*/
|
|
1325
|
+
reason: string | undefined;
|
|
1326
|
+
}
|
|
1268
1327
|
/**
|
|
1269
1328
|
* @public
|
|
1270
1329
|
* @enum
|
|
@@ -1317,6 +1376,15 @@ export interface CandidateDto {
|
|
|
1317
1376
|
* @public
|
|
1318
1377
|
*/
|
|
1319
1378
|
similarity?: number | undefined;
|
|
1379
|
+
/**
|
|
1380
|
+
* Every reason this candidate is a good match, one per source (OneHook Intelligence, Mr. OneHook,
|
|
1381
|
+
* and each traditional system that judged the pair a good match: Kundali, Bazi, ...). Each source
|
|
1382
|
+
* judges on its own; nothing is averaged. Strongest first. Empty when there is no specific reason;
|
|
1383
|
+
* the client then shows no "why we matched you" cards. A tradition appears only when both members
|
|
1384
|
+
* are enrolled in it and it rates the match good or excellent.
|
|
1385
|
+
* @public
|
|
1386
|
+
*/
|
|
1387
|
+
matchHighlights?: (MatchHighlight)[] | undefined;
|
|
1320
1388
|
}
|
|
1321
1389
|
/**
|
|
1322
1390
|
* @public
|
|
@@ -1521,6 +1589,31 @@ export interface GetSuggestionsResponse {
|
|
|
1521
1589
|
*/
|
|
1522
1590
|
oneHook?: CurrentSuggestion | undefined;
|
|
1523
1591
|
}
|
|
1592
|
+
/**
|
|
1593
|
+
* One tradition as shown in the settings screen.
|
|
1594
|
+
* @public
|
|
1595
|
+
*/
|
|
1596
|
+
export interface TraditionSetting {
|
|
1597
|
+
/**
|
|
1598
|
+
* Stable id, e.g. `KUNDALI`.
|
|
1599
|
+
* @public
|
|
1600
|
+
*/
|
|
1601
|
+
id: string | undefined;
|
|
1602
|
+
label: string | undefined;
|
|
1603
|
+
description: string | undefined;
|
|
1604
|
+
enabled: boolean | undefined;
|
|
1605
|
+
/**
|
|
1606
|
+
* The least birth data it uses: `DATE`, `TIME` (birth time) or `PLACE` (time and birthplace).
|
|
1607
|
+
* @public
|
|
1608
|
+
*/
|
|
1609
|
+
needs: string | undefined;
|
|
1610
|
+
}
|
|
1611
|
+
/**
|
|
1612
|
+
* @public
|
|
1613
|
+
*/
|
|
1614
|
+
export interface TraditionPreferencesResponse {
|
|
1615
|
+
traditions: (TraditionSetting)[] | undefined;
|
|
1616
|
+
}
|
|
1524
1617
|
/**
|
|
1525
1618
|
* @public
|
|
1526
1619
|
*/
|
|
@@ -1826,6 +1919,16 @@ export interface UpdatePreferencesRequest {
|
|
|
1826
1919
|
*/
|
|
1827
1920
|
notifyDailyPicks?: boolean | undefined;
|
|
1828
1921
|
}
|
|
1922
|
+
/**
|
|
1923
|
+
* @public
|
|
1924
|
+
*/
|
|
1925
|
+
export interface UpdateTraditionPreferencesRequest {
|
|
1926
|
+
/**
|
|
1927
|
+
* Tradition ids (from `GET /matching/traditions`) to opt out of.
|
|
1928
|
+
* @public
|
|
1929
|
+
*/
|
|
1930
|
+
disabled: (string)[] | undefined;
|
|
1931
|
+
}
|
|
1829
1932
|
/**
|
|
1830
1933
|
* @public
|
|
1831
1934
|
*/
|
|
@@ -32,6 +32,7 @@ import { GetReceivedLikesCommandInput, GetReceivedLikesCommandOutput } from "../
|
|
|
32
32
|
import { GetRosesCommandInput, GetRosesCommandOutput } from "../commands/GetRosesCommand";
|
|
33
33
|
import { GetStateCommandInput, GetStateCommandOutput } from "../commands/GetStateCommand";
|
|
34
34
|
import { GetSuggestionsCommandInput, GetSuggestionsCommandOutput } from "../commands/GetSuggestionsCommand";
|
|
35
|
+
import { GetTraditionPreferencesCommandInput, GetTraditionPreferencesCommandOutput } from "../commands/GetTraditionPreferencesCommand";
|
|
35
36
|
import { GetUserByEmailCommandInput, GetUserByEmailCommandOutput } from "../commands/GetUserByEmailCommand";
|
|
36
37
|
import { GetUserCommandInput, GetUserCommandOutput } from "../commands/GetUserCommand";
|
|
37
38
|
import { GetUserIdByUsernameCommandInput, GetUserIdByUsernameCommandOutput } from "../commands/GetUserIdByUsernameCommand";
|
|
@@ -65,6 +66,7 @@ import { UpdateEntitlementsCommandInput, UpdateEntitlementsCommandOutput } from
|
|
|
65
66
|
import { UpdatePhoneNumberCommandInput, UpdatePhoneNumberCommandOutput } from "../commands/UpdatePhoneNumberCommand";
|
|
66
67
|
import { UpdatePreferencesCommandInput, UpdatePreferencesCommandOutput } from "../commands/UpdatePreferencesCommand";
|
|
67
68
|
import { UpdateProfileCommandInput, UpdateProfileCommandOutput } from "../commands/UpdateProfileCommand";
|
|
69
|
+
import { UpdateTraditionPreferencesCommandInput, UpdateTraditionPreferencesCommandOutput } from "../commands/UpdateTraditionPreferencesCommand";
|
|
68
70
|
import { UpdateUsernameCommandInput, UpdateUsernameCommandOutput } from "../commands/UpdateUsernameCommand";
|
|
69
71
|
import { UpgradeUserCommandInput, UpgradeUserCommandOutput } from "../commands/UpgradeUserCommand";
|
|
70
72
|
import { ValidateInviteCommandInput, ValidateInviteCommandOutput } from "../commands/ValidateInviteCommand";
|
|
@@ -247,6 +249,10 @@ export declare const se_GetRosesCommand: (input: GetRosesCommandInput, context:
|
|
|
247
249
|
* serializeAws_restJson1GetSuggestionsCommand
|
|
248
250
|
*/
|
|
249
251
|
export declare const se_GetSuggestionsCommand: (input: GetSuggestionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
252
|
+
/**
|
|
253
|
+
* serializeAws_restJson1GetTraditionPreferencesCommand
|
|
254
|
+
*/
|
|
255
|
+
export declare const se_GetTraditionPreferencesCommand: (input: GetTraditionPreferencesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
250
256
|
/**
|
|
251
257
|
* serializeAws_restJson1IndexLocationCommand
|
|
252
258
|
*/
|
|
@@ -279,6 +285,10 @@ export declare const se_SwipeByUsernameCommand: (input: SwipeByUsernameCommandIn
|
|
|
279
285
|
* serializeAws_restJson1UpdatePreferencesCommand
|
|
280
286
|
*/
|
|
281
287
|
export declare const se_UpdatePreferencesCommand: (input: UpdatePreferencesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
288
|
+
/**
|
|
289
|
+
* serializeAws_restJson1UpdateTraditionPreferencesCommand
|
|
290
|
+
*/
|
|
291
|
+
export declare const se_UpdateTraditionPreferencesCommand: (input: UpdateTraditionPreferencesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
282
292
|
/**
|
|
283
293
|
* serializeAws_restJson1CompleteLivenessSessionCommand
|
|
284
294
|
*/
|
|
@@ -531,6 +541,10 @@ export declare const de_GetRosesCommand: (output: __HttpResponse, context: __Ser
|
|
|
531
541
|
* deserializeAws_restJson1GetSuggestionsCommand
|
|
532
542
|
*/
|
|
533
543
|
export declare const de_GetSuggestionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetSuggestionsCommandOutput>;
|
|
544
|
+
/**
|
|
545
|
+
* deserializeAws_restJson1GetTraditionPreferencesCommand
|
|
546
|
+
*/
|
|
547
|
+
export declare const de_GetTraditionPreferencesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetTraditionPreferencesCommandOutput>;
|
|
534
548
|
/**
|
|
535
549
|
* deserializeAws_restJson1IndexLocationCommand
|
|
536
550
|
*/
|
|
@@ -563,6 +577,10 @@ export declare const de_SwipeByUsernameCommand: (output: __HttpResponse, context
|
|
|
563
577
|
* deserializeAws_restJson1UpdatePreferencesCommand
|
|
564
578
|
*/
|
|
565
579
|
export declare const de_UpdatePreferencesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdatePreferencesCommandOutput>;
|
|
580
|
+
/**
|
|
581
|
+
* deserializeAws_restJson1UpdateTraditionPreferencesCommand
|
|
582
|
+
*/
|
|
583
|
+
export declare const de_UpdateTraditionPreferencesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateTraditionPreferencesCommandOutput>;
|
|
566
584
|
/**
|
|
567
585
|
* deserializeAws_restJson1CompleteLivenessSessionCommand
|
|
568
586
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare const TELEMETRY_CATALOG_VERSION = "1.
|
|
2
|
-
export declare const TELEMETRY_CATALOG_HASH = "
|
|
1
|
+
export declare const TELEMETRY_CATALOG_VERSION = "1.14.0";
|
|
2
|
+
export declare const TELEMETRY_CATALOG_HASH = "4d228919bd9883a5";
|
|
3
3
|
/** Every signal type the ingest accepts. */
|
|
4
4
|
export declare const SignalType: {
|
|
5
5
|
readonly SCREEN_VIEW: "screen_view";
|
|
@@ -306,6 +306,7 @@ export declare const UiElement: {
|
|
|
306
306
|
readonly DISCOVER_ADD_HOOK_OPEN: "discover.add_hook_open";
|
|
307
307
|
readonly DISCOVER_RETRY: "discover.retry";
|
|
308
308
|
readonly DISCOVER_CATEGORY_SELECT: "discover.category_select";
|
|
309
|
+
readonly DISCOVER_HIGHLIGHT_SWIPE: "discover.highlight_swipe";
|
|
309
310
|
readonly DISCOVER_ADD_HOOK_SUBMIT: "discover.add_hook_submit";
|
|
310
311
|
readonly DISCOVER_UPGRADE_OPEN: "discover.upgrade_open";
|
|
311
312
|
readonly LIKE_COMPOSER_SEND: "like_composer.send";
|
|
@@ -378,6 +379,7 @@ export declare const UiElement: {
|
|
|
378
379
|
readonly CHAT_MR_ONEHOOK_SESSION_DELETE: "chat.mr_onehook_session_delete";
|
|
379
380
|
readonly CHAT_MR_ONEHOOK_SESSION_NEW: "chat.mr_onehook_session_new";
|
|
380
381
|
readonly CHAT_MR_ONEHOOK_SESSION_LIMIT: "chat.mr_onehook_session_limit";
|
|
382
|
+
readonly CHAT_MR_ONEHOOK_UPGRADE_OPEN: "chat.mr_onehook_upgrade_open";
|
|
381
383
|
readonly CHAT_INTRO_TOUR_OPEN: "chat.intro_tour_open";
|
|
382
384
|
readonly CHAT_INTRO_DISMISS: "chat.intro_dismiss";
|
|
383
385
|
readonly CHAT_INTRO_GET_STARTED: "chat.intro_get_started";
|
|
@@ -429,6 +431,8 @@ export declare const UiElement: {
|
|
|
429
431
|
readonly PREFERENCES_LOCKED_FILTER_TAP: "preferences.locked_filter_tap";
|
|
430
432
|
readonly PREFERENCES_SUGGESTION_REMOVE: "preferences.suggestion_remove";
|
|
431
433
|
readonly PREFERENCES_OWN_SUGGESTION_SAVE: "preferences.own_suggestion_save";
|
|
434
|
+
readonly PREFERENCES_TRADITION_TOGGLE: "preferences.tradition_toggle";
|
|
435
|
+
readonly PREFERENCES_TRADITIONS_RETRY: "preferences.traditions_retry";
|
|
432
436
|
readonly PREFERENCES_OWN_SUGGESTION_REMOVE: "preferences.own_suggestion_remove";
|
|
433
437
|
readonly SETTINGS_EMAIL_MANAGE: "settings.email_manage";
|
|
434
438
|
readonly SETTINGS_PHONE_UPDATE: "settings.phone_update";
|
package/package.json
CHANGED