onehook-api-client 1.0.31 → 1.0.32
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 +42 -0
- package/dist-cjs/OneHook.js +12 -0
- package/dist-cjs/commands/GetBirthDateStatusCommand.js +21 -0
- package/dist-cjs/commands/GetPlaceCommand.js +21 -0
- package/dist-cjs/commands/GetPreservationHoldCommand.js +21 -0
- package/dist-cjs/commands/RevokeUserAccessCommand.js +21 -0
- package/dist-cjs/commands/SearchPlacesCommand.js +21 -0
- package/dist-cjs/commands/SetPreservationHoldCommand.js +21 -0
- package/dist-cjs/commands/index.js +6 -0
- package/dist-cjs/protocols/Aws_restJson1.js +211 -4
- package/dist-cjs/telemetry/index.js +3 -3
- package/dist-es/OneHook.js +12 -0
- package/dist-es/commands/GetBirthDateStatusCommand.js +17 -0
- package/dist-es/commands/GetPlaceCommand.js +17 -0
- package/dist-es/commands/GetPreservationHoldCommand.js +17 -0
- package/dist-es/commands/RevokeUserAccessCommand.js +17 -0
- package/dist-es/commands/SearchPlacesCommand.js +17 -0
- package/dist-es/commands/SetPreservationHoldCommand.js +17 -0
- package/dist-es/commands/index.js +6 -0
- package/dist-es/protocols/Aws_restJson1.js +196 -1
- package/dist-es/telemetry/index.js +3 -3
- package/dist-types/OneHook.d.ts +42 -0
- package/dist-types/OneHookClient.d.ts +8 -2
- package/dist-types/commands/CorrectBirthDateCommand.d.ts +1 -1
- package/dist-types/commands/GetBirthDateStatusCommand.d.ts +89 -0
- package/dist-types/commands/GetMyProfileCommand.d.ts +1 -0
- package/dist-types/commands/GetPlaceCommand.d.ts +84 -0
- package/dist-types/commands/GetPreservationHoldCommand.d.ts +87 -0
- package/dist-types/commands/GetProfileCommand.d.ts +1 -0
- package/dist-types/commands/RevokeUserAccessCommand.d.ts +94 -0
- package/dist-types/commands/SearchPlacesCommand.d.ts +83 -0
- package/dist-types/commands/SetPreservationHoldCommand.d.ts +98 -0
- package/dist-types/commands/UpdateProfileCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +205 -11
- package/dist-types/protocols/Aws_restJson1.d.ts +54 -0
- package/dist-types/telemetry/index.d.ts +2 -2
- package/package.json +1 -1
- package/telemetry/TelemetryCatalog.kt +5 -5
- package/telemetry/TelemetryCatalog.swift +5 -5
- package/telemetry/telemetry-catalog.json +4 -4
|
@@ -16,6 +16,7 @@ export * from "./GenerateInviteCommand";
|
|
|
16
16
|
export * from "./GetAccountStateCommand";
|
|
17
17
|
export * from "./GetAdminPhoneStatusCommand";
|
|
18
18
|
export * from "./GetCredentialReadinessCommand";
|
|
19
|
+
export * from "./GetPreservationHoldCommand";
|
|
19
20
|
export * from "./GetUserCommand";
|
|
20
21
|
export * from "./GetUserByEmailCommand";
|
|
21
22
|
export * from "./GetUserIdByUsernameCommand";
|
|
@@ -25,8 +26,10 @@ export * from "./RegisterPhoneCommand";
|
|
|
25
26
|
export * from "./RequestEmailOtpCommand";
|
|
26
27
|
export * from "./RequestPhoneOtpCommand";
|
|
27
28
|
export * from "./RequestPhoneUpdateOtpCommand";
|
|
29
|
+
export * from "./RevokeUserAccessCommand";
|
|
28
30
|
export * from "./SendAdminLinkOtpCommand";
|
|
29
31
|
export * from "./SetAccountStateCommand";
|
|
32
|
+
export * from "./SetPreservationHoldCommand";
|
|
30
33
|
export * from "./UnlinkSocialCommand";
|
|
31
34
|
export * from "./UpdateEntitlementsCommand";
|
|
32
35
|
export * from "./UpdatePhoneNumberCommand";
|
|
@@ -50,9 +53,12 @@ export * from "./CreateLivenessSessionCommand";
|
|
|
50
53
|
export * from "./DeleteProfileCommand";
|
|
51
54
|
export * from "./GenerateDownloadUrlCommand";
|
|
52
55
|
export * from "./GenerateUploadUrlCommand";
|
|
56
|
+
export * from "./GetBirthDateStatusCommand";
|
|
53
57
|
export * from "./GetLivenessStatusCommand";
|
|
54
58
|
export * from "./GetMyProfileCommand";
|
|
59
|
+
export * from "./GetPlaceCommand";
|
|
55
60
|
export * from "./GetProfileCommand";
|
|
61
|
+
export * from "./SearchPlacesCommand";
|
|
56
62
|
export * from "./UpdateProfileCommand";
|
|
57
63
|
export * from "./CompleteOnboardingCommand";
|
|
58
64
|
export * from "./GetMatchCommand";
|
|
@@ -751,6 +751,51 @@ export interface GetCredentialReadinessResponse {
|
|
|
751
751
|
*/
|
|
752
752
|
gaps: (CredentialGap)[] | undefined;
|
|
753
753
|
}
|
|
754
|
+
/**
|
|
755
|
+
* @public
|
|
756
|
+
*/
|
|
757
|
+
export interface GetPreservationHoldRequest {
|
|
758
|
+
userId: string | undefined;
|
|
759
|
+
}
|
|
760
|
+
/**
|
|
761
|
+
* @public
|
|
762
|
+
*/
|
|
763
|
+
export interface GetPreservationHoldResponse {
|
|
764
|
+
active: boolean | undefined;
|
|
765
|
+
/**
|
|
766
|
+
* Epoch ms the hold expires; absent when inactive.
|
|
767
|
+
* @public
|
|
768
|
+
*/
|
|
769
|
+
until?: number | undefined;
|
|
770
|
+
version: number | undefined;
|
|
771
|
+
/**
|
|
772
|
+
* The reason code for the current hold; absent when inactive.
|
|
773
|
+
* @public
|
|
774
|
+
*/
|
|
775
|
+
reasonCode?: string | undefined;
|
|
776
|
+
/**
|
|
777
|
+
* Case reference for audit; absent when inactive or never set.
|
|
778
|
+
* @public
|
|
779
|
+
*/
|
|
780
|
+
caseRef?: string | undefined;
|
|
781
|
+
/**
|
|
782
|
+
* The admin actor id that last changed the hold; absent when never set.
|
|
783
|
+
* @public
|
|
784
|
+
*/
|
|
785
|
+
setBy?: string | undefined;
|
|
786
|
+
/**
|
|
787
|
+
* Epoch ms the hold was last changed; absent when never set.
|
|
788
|
+
* @public
|
|
789
|
+
*/
|
|
790
|
+
setAt?: number | undefined;
|
|
791
|
+
/**
|
|
792
|
+
* Epoch ms a CHILD_SAFETY hold was first set. Anchors the non-negotiable 180-day minimum: the
|
|
793
|
+
* hold cannot be released, nor its `until` shortened, before this instant + 180 days. Absent when
|
|
794
|
+
* the current hold is not a child-safety hold (or is inactive).
|
|
795
|
+
* @public
|
|
796
|
+
*/
|
|
797
|
+
childSafetySince?: number | undefined;
|
|
798
|
+
}
|
|
754
799
|
/**
|
|
755
800
|
* @public
|
|
756
801
|
*/
|
|
@@ -877,6 +922,22 @@ export interface RequestPhoneUpdateOtpRequest {
|
|
|
877
922
|
export interface RequestPhoneUpdateOtpResponse {
|
|
878
923
|
status: string | undefined;
|
|
879
924
|
}
|
|
925
|
+
/**
|
|
926
|
+
* @public
|
|
927
|
+
*/
|
|
928
|
+
export interface RevokeUserAccessRequest {
|
|
929
|
+
userId: string | undefined;
|
|
930
|
+
}
|
|
931
|
+
/**
|
|
932
|
+
* @public
|
|
933
|
+
*/
|
|
934
|
+
export interface RevokeUserAccessResponse {
|
|
935
|
+
/**
|
|
936
|
+
* Machine-readable outcome code (e.g. REVOKED). Never PII.
|
|
937
|
+
* @public
|
|
938
|
+
*/
|
|
939
|
+
status: string | undefined;
|
|
940
|
+
}
|
|
880
941
|
/**
|
|
881
942
|
* @public
|
|
882
943
|
*/
|
|
@@ -958,6 +1019,61 @@ export interface SetAccountStateResponse {
|
|
|
958
1019
|
until?: number | undefined;
|
|
959
1020
|
version: number | undefined;
|
|
960
1021
|
}
|
|
1022
|
+
/**
|
|
1023
|
+
* @public
|
|
1024
|
+
*/
|
|
1025
|
+
export interface SetPreservationHoldRequest {
|
|
1026
|
+
userId: string | undefined;
|
|
1027
|
+
/**
|
|
1028
|
+
* True to place/extend the hold; false to release it.
|
|
1029
|
+
* @public
|
|
1030
|
+
*/
|
|
1031
|
+
active: boolean | undefined;
|
|
1032
|
+
/**
|
|
1033
|
+
* Machine-readable reason code: one of CHILD_SAFETY, LEGAL_REQUEST, OTHER_LEGAL (never free text).
|
|
1034
|
+
* @public
|
|
1035
|
+
*/
|
|
1036
|
+
reasonCode: string | undefined;
|
|
1037
|
+
/**
|
|
1038
|
+
* Epoch ms the hold expires. Defaults to now + 180 days when activating; may only be extended
|
|
1039
|
+
* forward. Ignored when releasing.
|
|
1040
|
+
* @public
|
|
1041
|
+
*/
|
|
1042
|
+
until?: number | undefined;
|
|
1043
|
+
/**
|
|
1044
|
+
* The admin actor id taking the action (audit).
|
|
1045
|
+
* @public
|
|
1046
|
+
*/
|
|
1047
|
+
actor: string | undefined;
|
|
1048
|
+
/**
|
|
1049
|
+
* Optional case reference for audit (e.g. an NCMEC/agency ticket id). Stored in Identity only;
|
|
1050
|
+
* never travels in the PreservationHoldChanged event.
|
|
1051
|
+
* @public
|
|
1052
|
+
*/
|
|
1053
|
+
caseRef?: string | undefined;
|
|
1054
|
+
/**
|
|
1055
|
+
* Optional optimistic-concurrency token from GetPreservationHold; a mismatch returns 409.
|
|
1056
|
+
* @public
|
|
1057
|
+
*/
|
|
1058
|
+
expectedVersion?: number | undefined;
|
|
1059
|
+
}
|
|
1060
|
+
/**
|
|
1061
|
+
* @public
|
|
1062
|
+
*/
|
|
1063
|
+
export interface SetPreservationHoldResponse {
|
|
1064
|
+
active: boolean | undefined;
|
|
1065
|
+
/**
|
|
1066
|
+
* Epoch ms the hold expires; absent when released.
|
|
1067
|
+
* @public
|
|
1068
|
+
*/
|
|
1069
|
+
until?: number | undefined;
|
|
1070
|
+
version: number | undefined;
|
|
1071
|
+
/**
|
|
1072
|
+
* The reason code for the current hold; absent when released.
|
|
1073
|
+
* @public
|
|
1074
|
+
*/
|
|
1075
|
+
reasonCode?: string | undefined;
|
|
1076
|
+
}
|
|
961
1077
|
/**
|
|
962
1078
|
* @public
|
|
963
1079
|
*/
|
|
@@ -1676,15 +1792,16 @@ export interface CorrectBirthDateRequest {
|
|
|
1676
1792
|
*/
|
|
1677
1793
|
date: string | undefined;
|
|
1678
1794
|
/**
|
|
1679
|
-
*
|
|
1795
|
+
* The approver's reasoning (10-500 characters), e.g. "Passport shows 1991-03-02". Kept so anyone
|
|
1796
|
+
* reviewing the change later can follow the decision.
|
|
1680
1797
|
* @public
|
|
1681
1798
|
*/
|
|
1682
1799
|
reason: string | undefined;
|
|
1683
1800
|
/**
|
|
1684
|
-
*
|
|
1801
|
+
* Optional support ticket or case reference.
|
|
1685
1802
|
* @public
|
|
1686
1803
|
*/
|
|
1687
|
-
reference
|
|
1804
|
+
reference?: string | undefined;
|
|
1688
1805
|
}
|
|
1689
1806
|
/**
|
|
1690
1807
|
* @public
|
|
@@ -1757,6 +1874,40 @@ export interface MediaUploadUrlResponse {
|
|
|
1757
1874
|
objectKey: string | undefined;
|
|
1758
1875
|
formData: Record<string, string> | undefined;
|
|
1759
1876
|
}
|
|
1877
|
+
/**
|
|
1878
|
+
* @public
|
|
1879
|
+
*/
|
|
1880
|
+
export interface GetBirthDateStatusRequest {
|
|
1881
|
+
userId: string | undefined;
|
|
1882
|
+
}
|
|
1883
|
+
/**
|
|
1884
|
+
* @public
|
|
1885
|
+
*/
|
|
1886
|
+
export interface GetBirthDateStatusResponse {
|
|
1887
|
+
userId: string | undefined;
|
|
1888
|
+
/**
|
|
1889
|
+
* `yyyy-MM-dd`; absent for a legacy profile that never had one.
|
|
1890
|
+
* @public
|
|
1891
|
+
*/
|
|
1892
|
+
date?: string | undefined;
|
|
1893
|
+
age?: number | undefined;
|
|
1894
|
+
provisional: boolean | undefined;
|
|
1895
|
+
birthDateOnFile: boolean | undefined;
|
|
1896
|
+
correctionsUsed: number | undefined;
|
|
1897
|
+
correctionsRemaining: number | undefined;
|
|
1898
|
+
/**
|
|
1899
|
+
* Epoch seconds of the most recent correction.
|
|
1900
|
+
* @public
|
|
1901
|
+
*/
|
|
1902
|
+
lastCorrectedAt?: number | undefined;
|
|
1903
|
+
lastReason?: string | undefined;
|
|
1904
|
+
lastReference?: string | undefined;
|
|
1905
|
+
/**
|
|
1906
|
+
* IAM caller ARN of the most recent correction (includes the portal admin's session name).
|
|
1907
|
+
* @public
|
|
1908
|
+
*/
|
|
1909
|
+
lastCorrectedBy?: string | undefined;
|
|
1910
|
+
}
|
|
1760
1911
|
/**
|
|
1761
1912
|
* @public
|
|
1762
1913
|
*/
|
|
@@ -1800,6 +1951,11 @@ export interface BirthDetails {
|
|
|
1800
1951
|
* @public
|
|
1801
1952
|
*/
|
|
1802
1953
|
longitude?: number | undefined;
|
|
1954
|
+
/**
|
|
1955
|
+
* Display label of the chosen birthplace (from `GET /profile/places`). Needs latitude/longitude.
|
|
1956
|
+
* @public
|
|
1957
|
+
*/
|
|
1958
|
+
placeName?: string | undefined;
|
|
1803
1959
|
/**
|
|
1804
1960
|
* Server-set, ignored on input. True when `date` is a placeholder added for a profile created
|
|
1805
1961
|
* before the birth date was compulsory. The member may replace a provisional date ONCE with
|
|
@@ -1834,7 +1990,7 @@ export interface ProfileResponse {
|
|
|
1834
1990
|
displayName?: string | undefined;
|
|
1835
1991
|
bio?: string | undefined;
|
|
1836
1992
|
/**
|
|
1837
|
-
* Derived from the
|
|
1993
|
+
* Derived from the birth date on every read. Never stored and never settable.
|
|
1838
1994
|
* @public
|
|
1839
1995
|
*/
|
|
1840
1996
|
age?: number | undefined;
|
|
@@ -1910,6 +2066,27 @@ export interface ProfileResponse {
|
|
|
1910
2066
|
*/
|
|
1911
2067
|
birthDateOnFile?: boolean | undefined;
|
|
1912
2068
|
}
|
|
2069
|
+
/**
|
|
2070
|
+
* @public
|
|
2071
|
+
*/
|
|
2072
|
+
export interface GetPlaceRequest {
|
|
2073
|
+
placeId: string | undefined;
|
|
2074
|
+
lang?: string | undefined;
|
|
2075
|
+
}
|
|
2076
|
+
/**
|
|
2077
|
+
* @public
|
|
2078
|
+
*/
|
|
2079
|
+
export interface GetPlaceResponse {
|
|
2080
|
+
placeId: string | undefined;
|
|
2081
|
+
label: string | undefined;
|
|
2082
|
+
latitude: number | undefined;
|
|
2083
|
+
longitude: number | undefined;
|
|
2084
|
+
/**
|
|
2085
|
+
* IANA time zone, e.g. `Asia/Kolkata`. Absent when Amazon Location has none for the place.
|
|
2086
|
+
* @public
|
|
2087
|
+
*/
|
|
2088
|
+
timeZone?: string | undefined;
|
|
2089
|
+
}
|
|
1913
2090
|
/**
|
|
1914
2091
|
* @public
|
|
1915
2092
|
*/
|
|
@@ -1919,16 +2096,33 @@ export interface GetProfileRequest {
|
|
|
1919
2096
|
/**
|
|
1920
2097
|
* @public
|
|
1921
2098
|
*/
|
|
1922
|
-
export interface
|
|
1923
|
-
|
|
1924
|
-
bio?: string | undefined;
|
|
2099
|
+
export interface SearchPlacesRequest {
|
|
2100
|
+
q: string | undefined;
|
|
1925
2101
|
/**
|
|
1926
|
-
*
|
|
1927
|
-
*
|
|
1928
|
-
* @deprecated
|
|
2102
|
+
* BCP-47 language for labels, e.g. `en`, `hi`.
|
|
1929
2103
|
* @public
|
|
1930
2104
|
*/
|
|
1931
|
-
|
|
2105
|
+
lang?: string | undefined;
|
|
2106
|
+
}
|
|
2107
|
+
/**
|
|
2108
|
+
* @public
|
|
2109
|
+
*/
|
|
2110
|
+
export interface PlaceSuggestion {
|
|
2111
|
+
placeId: string | undefined;
|
|
2112
|
+
label: string | undefined;
|
|
2113
|
+
}
|
|
2114
|
+
/**
|
|
2115
|
+
* @public
|
|
2116
|
+
*/
|
|
2117
|
+
export interface SearchPlacesResponse {
|
|
2118
|
+
places: (PlaceSuggestion)[] | undefined;
|
|
2119
|
+
}
|
|
2120
|
+
/**
|
|
2121
|
+
* @public
|
|
2122
|
+
*/
|
|
2123
|
+
export interface ProfileUpdateRequest {
|
|
2124
|
+
displayName?: string | undefined;
|
|
2125
|
+
bio?: string | undefined;
|
|
1932
2126
|
gender?: string | undefined;
|
|
1933
2127
|
interestedIn?: (string)[] | undefined;
|
|
1934
2128
|
interests?: (string)[] | undefined;
|
|
@@ -16,6 +16,7 @@ import { GenerateUploadUrlCommandInput, GenerateUploadUrlCommandOutput } from ".
|
|
|
16
16
|
import { GetAccountStateCommandInput, GetAccountStateCommandOutput } from "../commands/GetAccountStateCommand";
|
|
17
17
|
import { GetAdminPhoneStatusCommandInput, GetAdminPhoneStatusCommandOutput } from "../commands/GetAdminPhoneStatusCommand";
|
|
18
18
|
import { GetAiContextMatchCommandInput, GetAiContextMatchCommandOutput } from "../commands/GetAiContextMatchCommand";
|
|
19
|
+
import { GetBirthDateStatusCommandInput, GetBirthDateStatusCommandOutput } from "../commands/GetBirthDateStatusCommand";
|
|
19
20
|
import { GetChatSettingsCommandInput, GetChatSettingsCommandOutput } from "../commands/GetChatSettingsCommand";
|
|
20
21
|
import { GetCredentialReadinessCommandInput, GetCredentialReadinessCommandOutput } from "../commands/GetCredentialReadinessCommand";
|
|
21
22
|
import { GetLivenessStatusCommandInput, GetLivenessStatusCommandOutput } from "../commands/GetLivenessStatusCommand";
|
|
@@ -23,7 +24,9 @@ import { GetMatchCommandInput, GetMatchCommandOutput } from "../commands/GetMatc
|
|
|
23
24
|
import { GetMyProfileCommandInput, GetMyProfileCommandOutput } from "../commands/GetMyProfileCommand";
|
|
24
25
|
import { GetNotificationPreferencesCommandInput, GetNotificationPreferencesCommandOutput } from "../commands/GetNotificationPreferencesCommand";
|
|
25
26
|
import { GetParticipantRegistryCommandInput, GetParticipantRegistryCommandOutput } from "../commands/GetParticipantRegistryCommand";
|
|
27
|
+
import { GetPlaceCommandInput, GetPlaceCommandOutput } from "../commands/GetPlaceCommand";
|
|
26
28
|
import { GetPreferencesCommandInput, GetPreferencesCommandOutput } from "../commands/GetPreferencesCommand";
|
|
29
|
+
import { GetPreservationHoldCommandInput, GetPreservationHoldCommandOutput } from "../commands/GetPreservationHoldCommand";
|
|
27
30
|
import { GetProfileCommandInput, GetProfileCommandOutput } from "../commands/GetProfileCommand";
|
|
28
31
|
import { GetReceivedLikesCommandInput, GetReceivedLikesCommandOutput } from "../commands/GetReceivedLikesCommand";
|
|
29
32
|
import { GetRosesCommandInput, GetRosesCommandOutput } from "../commands/GetRosesCommand";
|
|
@@ -45,8 +48,11 @@ import { RequestEmailOtpCommandInput, RequestEmailOtpCommandOutput } from "../co
|
|
|
45
48
|
import { RequestPhoneOtpCommandInput, RequestPhoneOtpCommandOutput } from "../commands/RequestPhoneOtpCommand";
|
|
46
49
|
import { RequestPhoneUpdateOtpCommandInput, RequestPhoneUpdateOtpCommandOutput } from "../commands/RequestPhoneUpdateOtpCommand";
|
|
47
50
|
import { RevokeDeviceCommandInput, RevokeDeviceCommandOutput } from "../commands/RevokeDeviceCommand";
|
|
51
|
+
import { RevokeUserAccessCommandInput, RevokeUserAccessCommandOutput } from "../commands/RevokeUserAccessCommand";
|
|
52
|
+
import { SearchPlacesCommandInput, SearchPlacesCommandOutput } from "../commands/SearchPlacesCommand";
|
|
48
53
|
import { SendAdminLinkOtpCommandInput, SendAdminLinkOtpCommandOutput } from "../commands/SendAdminLinkOtpCommand";
|
|
49
54
|
import { SetAccountStateCommandInput, SetAccountStateCommandOutput } from "../commands/SetAccountStateCommand";
|
|
55
|
+
import { SetPreservationHoldCommandInput, SetPreservationHoldCommandOutput } from "../commands/SetPreservationHoldCommand";
|
|
50
56
|
import { SwipeByUsernameCommandInput, SwipeByUsernameCommandOutput } from "../commands/SwipeByUsernameCommand";
|
|
51
57
|
import { SwipeCommandInput, SwipeCommandOutput } from "../commands/SwipeCommand";
|
|
52
58
|
import { UnhookCommandInput, UnhookCommandOutput } from "../commands/UnhookCommand";
|
|
@@ -134,6 +140,10 @@ export declare const se_GetAdminPhoneStatusCommand: (input: GetAdminPhoneStatusC
|
|
|
134
140
|
* serializeAws_restJson1GetCredentialReadinessCommand
|
|
135
141
|
*/
|
|
136
142
|
export declare const se_GetCredentialReadinessCommand: (input: GetCredentialReadinessCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
143
|
+
/**
|
|
144
|
+
* serializeAws_restJson1GetPreservationHoldCommand
|
|
145
|
+
*/
|
|
146
|
+
export declare const se_GetPreservationHoldCommand: (input: GetPreservationHoldCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
137
147
|
/**
|
|
138
148
|
* serializeAws_restJson1GetUserCommand
|
|
139
149
|
*/
|
|
@@ -170,6 +180,10 @@ export declare const se_RequestPhoneOtpCommand: (input: RequestPhoneOtpCommandIn
|
|
|
170
180
|
* serializeAws_restJson1RequestPhoneUpdateOtpCommand
|
|
171
181
|
*/
|
|
172
182
|
export declare const se_RequestPhoneUpdateOtpCommand: (input: RequestPhoneUpdateOtpCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
183
|
+
/**
|
|
184
|
+
* serializeAws_restJson1RevokeUserAccessCommand
|
|
185
|
+
*/
|
|
186
|
+
export declare const se_RevokeUserAccessCommand: (input: RevokeUserAccessCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
173
187
|
/**
|
|
174
188
|
* serializeAws_restJson1SendAdminLinkOtpCommand
|
|
175
189
|
*/
|
|
@@ -178,6 +192,10 @@ export declare const se_SendAdminLinkOtpCommand: (input: SendAdminLinkOtpCommand
|
|
|
178
192
|
* serializeAws_restJson1SetAccountStateCommand
|
|
179
193
|
*/
|
|
180
194
|
export declare const se_SetAccountStateCommand: (input: SetAccountStateCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
195
|
+
/**
|
|
196
|
+
* serializeAws_restJson1SetPreservationHoldCommand
|
|
197
|
+
*/
|
|
198
|
+
export declare const se_SetPreservationHoldCommand: (input: SetPreservationHoldCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
181
199
|
/**
|
|
182
200
|
* serializeAws_restJson1UnlinkSocialCommand
|
|
183
201
|
*/
|
|
@@ -270,6 +288,10 @@ export declare const se_GenerateDownloadUrlCommand: (input: GenerateDownloadUrlC
|
|
|
270
288
|
* serializeAws_restJson1GenerateUploadUrlCommand
|
|
271
289
|
*/
|
|
272
290
|
export declare const se_GenerateUploadUrlCommand: (input: GenerateUploadUrlCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
291
|
+
/**
|
|
292
|
+
* serializeAws_restJson1GetBirthDateStatusCommand
|
|
293
|
+
*/
|
|
294
|
+
export declare const se_GetBirthDateStatusCommand: (input: GetBirthDateStatusCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
273
295
|
/**
|
|
274
296
|
* serializeAws_restJson1GetLivenessStatusCommand
|
|
275
297
|
*/
|
|
@@ -278,10 +300,18 @@ export declare const se_GetLivenessStatusCommand: (input: GetLivenessStatusComma
|
|
|
278
300
|
* serializeAws_restJson1GetMyProfileCommand
|
|
279
301
|
*/
|
|
280
302
|
export declare const se_GetMyProfileCommand: (input: GetMyProfileCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
303
|
+
/**
|
|
304
|
+
* serializeAws_restJson1GetPlaceCommand
|
|
305
|
+
*/
|
|
306
|
+
export declare const se_GetPlaceCommand: (input: GetPlaceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
281
307
|
/**
|
|
282
308
|
* serializeAws_restJson1GetProfileCommand
|
|
283
309
|
*/
|
|
284
310
|
export declare const se_GetProfileCommand: (input: GetProfileCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
311
|
+
/**
|
|
312
|
+
* serializeAws_restJson1SearchPlacesCommand
|
|
313
|
+
*/
|
|
314
|
+
export declare const se_SearchPlacesCommand: (input: SearchPlacesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
285
315
|
/**
|
|
286
316
|
* serializeAws_restJson1UpdateProfileCommand
|
|
287
317
|
*/
|
|
@@ -382,6 +412,10 @@ export declare const de_GetAdminPhoneStatusCommand: (output: __HttpResponse, con
|
|
|
382
412
|
* deserializeAws_restJson1GetCredentialReadinessCommand
|
|
383
413
|
*/
|
|
384
414
|
export declare const de_GetCredentialReadinessCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetCredentialReadinessCommandOutput>;
|
|
415
|
+
/**
|
|
416
|
+
* deserializeAws_restJson1GetPreservationHoldCommand
|
|
417
|
+
*/
|
|
418
|
+
export declare const de_GetPreservationHoldCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetPreservationHoldCommandOutput>;
|
|
385
419
|
/**
|
|
386
420
|
* deserializeAws_restJson1GetUserCommand
|
|
387
421
|
*/
|
|
@@ -418,6 +452,10 @@ export declare const de_RequestPhoneOtpCommand: (output: __HttpResponse, context
|
|
|
418
452
|
* deserializeAws_restJson1RequestPhoneUpdateOtpCommand
|
|
419
453
|
*/
|
|
420
454
|
export declare const de_RequestPhoneUpdateOtpCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RequestPhoneUpdateOtpCommandOutput>;
|
|
455
|
+
/**
|
|
456
|
+
* deserializeAws_restJson1RevokeUserAccessCommand
|
|
457
|
+
*/
|
|
458
|
+
export declare const de_RevokeUserAccessCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RevokeUserAccessCommandOutput>;
|
|
421
459
|
/**
|
|
422
460
|
* deserializeAws_restJson1SendAdminLinkOtpCommand
|
|
423
461
|
*/
|
|
@@ -426,6 +464,10 @@ export declare const de_SendAdminLinkOtpCommand: (output: __HttpResponse, contex
|
|
|
426
464
|
* deserializeAws_restJson1SetAccountStateCommand
|
|
427
465
|
*/
|
|
428
466
|
export declare const de_SetAccountStateCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SetAccountStateCommandOutput>;
|
|
467
|
+
/**
|
|
468
|
+
* deserializeAws_restJson1SetPreservationHoldCommand
|
|
469
|
+
*/
|
|
470
|
+
export declare const de_SetPreservationHoldCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SetPreservationHoldCommandOutput>;
|
|
429
471
|
/**
|
|
430
472
|
* deserializeAws_restJson1UnlinkSocialCommand
|
|
431
473
|
*/
|
|
@@ -518,6 +560,10 @@ export declare const de_GenerateDownloadUrlCommand: (output: __HttpResponse, con
|
|
|
518
560
|
* deserializeAws_restJson1GenerateUploadUrlCommand
|
|
519
561
|
*/
|
|
520
562
|
export declare const de_GenerateUploadUrlCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GenerateUploadUrlCommandOutput>;
|
|
563
|
+
/**
|
|
564
|
+
* deserializeAws_restJson1GetBirthDateStatusCommand
|
|
565
|
+
*/
|
|
566
|
+
export declare const de_GetBirthDateStatusCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetBirthDateStatusCommandOutput>;
|
|
521
567
|
/**
|
|
522
568
|
* deserializeAws_restJson1GetLivenessStatusCommand
|
|
523
569
|
*/
|
|
@@ -526,10 +572,18 @@ export declare const de_GetLivenessStatusCommand: (output: __HttpResponse, conte
|
|
|
526
572
|
* deserializeAws_restJson1GetMyProfileCommand
|
|
527
573
|
*/
|
|
528
574
|
export declare const de_GetMyProfileCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetMyProfileCommandOutput>;
|
|
575
|
+
/**
|
|
576
|
+
* deserializeAws_restJson1GetPlaceCommand
|
|
577
|
+
*/
|
|
578
|
+
export declare const de_GetPlaceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetPlaceCommandOutput>;
|
|
529
579
|
/**
|
|
530
580
|
* deserializeAws_restJson1GetProfileCommand
|
|
531
581
|
*/
|
|
532
582
|
export declare const de_GetProfileCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetProfileCommandOutput>;
|
|
583
|
+
/**
|
|
584
|
+
* deserializeAws_restJson1SearchPlacesCommand
|
|
585
|
+
*/
|
|
586
|
+
export declare const de_SearchPlacesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SearchPlacesCommandOutput>;
|
|
533
587
|
/**
|
|
534
588
|
* deserializeAws_restJson1UpdateProfileCommand
|
|
535
589
|
*/
|
|
@@ -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.9.0";
|
|
2
|
+
export declare const TELEMETRY_CATALOG_HASH = "7f0a0b33ce88bee5";
|
|
3
3
|
/** Every signal type the ingest accepts. */
|
|
4
4
|
export declare const SignalType: {
|
|
5
5
|
readonly SCREEN_VIEW: "screen_view";
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// GENERATED FILE - DO NOT EDIT.
|
|
2
|
-
// telemetry-integrity: sha256
|
|
2
|
+
// telemetry-integrity: sha256 cf7ca486e49b9199ff1f0133e008a1278779e932cbc7ee34b6911505cb32e2d2
|
|
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.
|
|
5
|
+
// Catalog version 1.9.0, hash 7f0a0b33ce88bee5.
|
|
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
|
-
const val HASH = "
|
|
15
|
+
const val VERSION = "1.9.0"
|
|
16
|
+
const val HASH = "7f0a0b33ce88bee5"
|
|
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
|
}
|
|
@@ -481,7 +481,7 @@ enum class UiElement(
|
|
|
481
481
|
PROFILE_EDIT_PROMPT_REMOVE("profile_edit.prompt_remove", TelemetryScreen.PROFILE_EDIT, UiElementKind.BUTTON, listOf(UiAction.TAP), null, listOf(TelemetryPlatform.WEB, TelemetryPlatform.IOS)),
|
|
482
482
|
PROFILE_EDIT_VOICE_ADD("profile_edit.voice_add", TelemetryScreen.PROFILE_EDIT, UiElementKind.BUTTON, listOf(UiAction.TAP), null, listOf(TelemetryPlatform.WEB, TelemetryPlatform.IOS)),
|
|
483
483
|
PROFILE_EDIT_VOICE_REMOVE("profile_edit.voice_remove", TelemetryScreen.PROFILE_EDIT, UiElementKind.BUTTON, listOf(UiAction.TAP), null, listOf(TelemetryPlatform.WEB, TelemetryPlatform.IOS)),
|
|
484
|
-
PROFILE_EDIT_CHOICE_SELECT("profile_edit.choice_select", TelemetryScreen.PROFILE_EDIT, UiElementKind.SEGMENTED, listOf(UiAction.SELECT, UiAction.TAP), null, listOf(TelemetryPlatform.WEB, TelemetryPlatform.IOS)),
|
|
484
|
+
PROFILE_EDIT_CHOICE_SELECT("profile_edit.choice_select", TelemetryScreen.PROFILE_EDIT, UiElementKind.SEGMENTED, listOf(UiAction.SELECT, UiAction.TAP), null, listOf(TelemetryPlatform.WEB, TelemetryPlatform.IOS, TelemetryPlatform.ANDROID)),
|
|
485
485
|
PREFERENCES_SAVE("preferences.save", TelemetryScreen.PREFERENCES, UiElementKind.BUTTON, listOf(UiAction.SUBMIT), null, listOf(TelemetryPlatform.IOS, TelemetryPlatform.ANDROID)),
|
|
486
486
|
PREFERENCES_UPGRADE_OPEN("preferences.upgrade_open", TelemetryScreen.PREFERENCES, UiElementKind.BUTTON, listOf(UiAction.TAP, UiAction.DISMISS), null, listOf(TelemetryPlatform.IOS)),
|
|
487
487
|
PREFERENCES_LOCKED_FILTER_TAP("preferences.locked_filter_tap", TelemetryScreen.PREFERENCES, UiElementKind.BUTTON, listOf(UiAction.TAP), null, listOf(TelemetryPlatform.IOS)),
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// GENERATED FILE - DO NOT EDIT.
|
|
2
|
-
// telemetry-integrity: sha256
|
|
2
|
+
// telemetry-integrity: sha256 5bcd831b61a3da089414bf5baca00e64f091df82b44eb2059d4043c16281b0c3
|
|
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.
|
|
5
|
+
// Catalog version 1.9.0, hash 7f0a0b33ce88bee5.
|
|
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).
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
import Foundation
|
|
11
11
|
|
|
12
12
|
public enum TelemetryCatalog {
|
|
13
|
-
public static let version = "1.
|
|
14
|
-
public static let hash = "
|
|
13
|
+
public static let version = "1.9.0"
|
|
14
|
+
public static let hash = "7f0a0b33ce88bee5"
|
|
15
15
|
/// The only allowed `telemetry-exempt: <category>: <reason>` categories (see the catalog).
|
|
16
16
|
public static let exemptCategories: [String] = ["duplicate", "backdrop", "gesture", "continuous", "disabled"]
|
|
17
17
|
}
|
|
@@ -664,7 +664,7 @@ public enum UiElement: String, CaseIterable, Codable, Sendable {
|
|
|
664
664
|
case .profileEditPromptRemove: return UiElementSpec(screen: .profileEdit, kind: .button, actions: [.tap], allowedValues: nil, platforms: [.web, .ios])
|
|
665
665
|
case .profileEditVoiceAdd: return UiElementSpec(screen: .profileEdit, kind: .button, actions: [.tap], allowedValues: nil, platforms: [.web, .ios])
|
|
666
666
|
case .profileEditVoiceRemove: return UiElementSpec(screen: .profileEdit, kind: .button, actions: [.tap], allowedValues: nil, platforms: [.web, .ios])
|
|
667
|
-
case .profileEditChoiceSelect: return UiElementSpec(screen: .profileEdit, kind: .segmented, actions: [.select, .tap], allowedValues: nil, platforms: [.web, .ios])
|
|
667
|
+
case .profileEditChoiceSelect: return UiElementSpec(screen: .profileEdit, kind: .segmented, actions: [.select, .tap], allowedValues: nil, platforms: [.web, .ios, .android])
|
|
668
668
|
case .preferencesSave: return UiElementSpec(screen: .preferences, kind: .button, actions: [.submit], allowedValues: nil, platforms: [.ios, .android])
|
|
669
669
|
case .preferencesUpgradeOpen: return UiElementSpec(screen: .preferences, kind: .button, actions: [.tap, .dismiss], allowedValues: nil, platforms: [.ios])
|
|
670
670
|
case .preferencesLockedFilterTap: return UiElementSpec(screen: .preferences, kind: .button, actions: [.tap], allowedValues: nil, platforms: [.ios])
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.
|
|
2
|
+
"version": "1.9.0",
|
|
3
3
|
"screens": {
|
|
4
4
|
"NAV": {
|
|
5
5
|
"viewable": false,
|
|
@@ -3465,7 +3465,8 @@
|
|
|
3465
3465
|
"values": null,
|
|
3466
3466
|
"platforms": [
|
|
3467
3467
|
"web",
|
|
3468
|
-
"ios"
|
|
3468
|
+
"ios",
|
|
3469
|
+
"android"
|
|
3469
3470
|
],
|
|
3470
3471
|
"deprecated": null,
|
|
3471
3472
|
"legacy": null
|
|
@@ -4494,7 +4495,6 @@
|
|
|
4494
4495
|
"profile.settings_open": "Web-only: Android shows settings inline on the profile, with no separate settings entry button.",
|
|
4495
4496
|
"profile.tab_select": "Not built on Android: the profile is a single scrolling screen with no sub-section tabs.",
|
|
4496
4497
|
"profile.voice_play": "Not built on Android: the profile shows no own-voice-prompt player.",
|
|
4497
|
-
"profile_edit.choice_select": "Not built on Android: profile editing uses free-text fields, not segmented choice chips.",
|
|
4498
4498
|
"profile_edit.photo_adjust": "Not built on Android: no in-app photo crop/adjust control.",
|
|
4499
4499
|
"profile_edit.photo_remove": "Not built on Android: profile editing cannot remove individual photos.",
|
|
4500
4500
|
"profile_edit.photo_remove_confirm": "Not built on Android: profile editing cannot remove individual photos, so there is no confirmation.",
|
|
@@ -4977,5 +4977,5 @@
|
|
|
4977
4977
|
}
|
|
4978
4978
|
}
|
|
4979
4979
|
},
|
|
4980
|
-
"hash": "
|
|
4980
|
+
"hash": "7f0a0b33ce88bee5"
|
|
4981
4981
|
}
|