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
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.isUiElementId = exports.TELEMETRY_EXEMPT_CATEGORIES = exports.uiElementsForPlatform = exports.UI_ELEMENTS = exports.UiElement = exports.ReportEvent = exports.ReportSource = exports.ReportCategory = exports.HookedStateAction = exports.NotificationChannel = exports.NotificationType = exports.CardVariant = exports.SafetyAction = exports.LikeTargetType = exports.ProfileSection = exports.MediaType = exports.SwipeDirection = exports.UiElementKind = exports.UiAction = exports.TabScreen = exports.ViewableScreen = exports.Screen = exports.Platform = exports.SignalType = exports.TELEMETRY_CATALOG_HASH = exports.TELEMETRY_CATALOG_VERSION = void 0;
|
|
4
|
-
exports.TELEMETRY_CATALOG_VERSION = "1.
|
|
5
|
-
exports.TELEMETRY_CATALOG_HASH = "
|
|
4
|
+
exports.TELEMETRY_CATALOG_VERSION = "1.9.0";
|
|
5
|
+
exports.TELEMETRY_CATALOG_HASH = "7f0a0b33ce88bee5";
|
|
6
6
|
exports.SignalType = {
|
|
7
7
|
SCREEN_VIEW: "screen_view",
|
|
8
8
|
UI_INTERACTION: "ui_interaction",
|
|
@@ -626,7 +626,7 @@ exports.UI_ELEMENTS = {
|
|
|
626
626
|
"profile_edit.prompt_remove": { screen: "PROFILE_EDIT", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios"] },
|
|
627
627
|
"profile_edit.voice_add": { screen: "PROFILE_EDIT", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios"] },
|
|
628
628
|
"profile_edit.voice_remove": { screen: "PROFILE_EDIT", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios"] },
|
|
629
|
-
"profile_edit.choice_select": { screen: "PROFILE_EDIT", kind: "segmented", actions: ["select", "tap"], values: null, platforms: ["web", "ios"] },
|
|
629
|
+
"profile_edit.choice_select": { screen: "PROFILE_EDIT", kind: "segmented", actions: ["select", "tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
630
630
|
"preferences.save": { screen: "PREFERENCES", kind: "button", actions: ["submit"], values: null, platforms: ["ios", "android"] },
|
|
631
631
|
"preferences.upgrade_open": { screen: "PREFERENCES", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["ios"] },
|
|
632
632
|
"preferences.locked_filter_tap": { screen: "PREFERENCES", kind: "button", actions: ["tap"], values: null, platforms: ["ios"] },
|
package/dist-es/OneHook.js
CHANGED
|
@@ -17,6 +17,7 @@ import { GenerateUploadUrlCommand, } from "./commands/GenerateUploadUrlCommand";
|
|
|
17
17
|
import { GetAccountStateCommand, } from "./commands/GetAccountStateCommand";
|
|
18
18
|
import { GetAdminPhoneStatusCommand, } from "./commands/GetAdminPhoneStatusCommand";
|
|
19
19
|
import { GetAiContextMatchCommand, } from "./commands/GetAiContextMatchCommand";
|
|
20
|
+
import { GetBirthDateStatusCommand, } from "./commands/GetBirthDateStatusCommand";
|
|
20
21
|
import { GetChatSettingsCommand, } from "./commands/GetChatSettingsCommand";
|
|
21
22
|
import { GetCredentialReadinessCommand, } from "./commands/GetCredentialReadinessCommand";
|
|
22
23
|
import { GetLivenessStatusCommand, } from "./commands/GetLivenessStatusCommand";
|
|
@@ -24,7 +25,9 @@ import { GetMatchCommand, } from "./commands/GetMatchCommand";
|
|
|
24
25
|
import { GetMyProfileCommand, } from "./commands/GetMyProfileCommand";
|
|
25
26
|
import { GetNotificationPreferencesCommand, } from "./commands/GetNotificationPreferencesCommand";
|
|
26
27
|
import { GetParticipantRegistryCommand, } from "./commands/GetParticipantRegistryCommand";
|
|
28
|
+
import { GetPlaceCommand, } from "./commands/GetPlaceCommand";
|
|
27
29
|
import { GetPreferencesCommand, } from "./commands/GetPreferencesCommand";
|
|
30
|
+
import { GetPreservationHoldCommand, } from "./commands/GetPreservationHoldCommand";
|
|
28
31
|
import { GetProfileCommand, } from "./commands/GetProfileCommand";
|
|
29
32
|
import { GetReceivedLikesCommand, } from "./commands/GetReceivedLikesCommand";
|
|
30
33
|
import { GetRosesCommand, } from "./commands/GetRosesCommand";
|
|
@@ -46,8 +49,11 @@ import { RequestEmailOtpCommand, } from "./commands/RequestEmailOtpCommand";
|
|
|
46
49
|
import { RequestPhoneOtpCommand, } from "./commands/RequestPhoneOtpCommand";
|
|
47
50
|
import { RequestPhoneUpdateOtpCommand, } from "./commands/RequestPhoneUpdateOtpCommand";
|
|
48
51
|
import { RevokeDeviceCommand, } from "./commands/RevokeDeviceCommand";
|
|
52
|
+
import { RevokeUserAccessCommand, } from "./commands/RevokeUserAccessCommand";
|
|
53
|
+
import { SearchPlacesCommand, } from "./commands/SearchPlacesCommand";
|
|
49
54
|
import { SendAdminLinkOtpCommand, } from "./commands/SendAdminLinkOtpCommand";
|
|
50
55
|
import { SetAccountStateCommand, } from "./commands/SetAccountStateCommand";
|
|
56
|
+
import { SetPreservationHoldCommand, } from "./commands/SetPreservationHoldCommand";
|
|
51
57
|
import { SwipeByUsernameCommand, } from "./commands/SwipeByUsernameCommand";
|
|
52
58
|
import { SwipeCommand, } from "./commands/SwipeCommand";
|
|
53
59
|
import { UnhookCommand, } from "./commands/UnhookCommand";
|
|
@@ -81,6 +87,7 @@ const commands = {
|
|
|
81
87
|
GetAccountStateCommand,
|
|
82
88
|
GetAdminPhoneStatusCommand,
|
|
83
89
|
GetCredentialReadinessCommand,
|
|
90
|
+
GetPreservationHoldCommand,
|
|
84
91
|
GetUserCommand,
|
|
85
92
|
GetUserByEmailCommand,
|
|
86
93
|
GetUserIdByUsernameCommand,
|
|
@@ -90,8 +97,10 @@ const commands = {
|
|
|
90
97
|
RequestEmailOtpCommand,
|
|
91
98
|
RequestPhoneOtpCommand,
|
|
92
99
|
RequestPhoneUpdateOtpCommand,
|
|
100
|
+
RevokeUserAccessCommand,
|
|
93
101
|
SendAdminLinkOtpCommand,
|
|
94
102
|
SetAccountStateCommand,
|
|
103
|
+
SetPreservationHoldCommand,
|
|
95
104
|
UnlinkSocialCommand,
|
|
96
105
|
UpdateEntitlementsCommand,
|
|
97
106
|
UpdatePhoneNumberCommand,
|
|
@@ -115,9 +124,12 @@ const commands = {
|
|
|
115
124
|
DeleteProfileCommand,
|
|
116
125
|
GenerateDownloadUrlCommand,
|
|
117
126
|
GenerateUploadUrlCommand,
|
|
127
|
+
GetBirthDateStatusCommand,
|
|
118
128
|
GetLivenessStatusCommand,
|
|
119
129
|
GetMyProfileCommand,
|
|
130
|
+
GetPlaceCommand,
|
|
120
131
|
GetProfileCommand,
|
|
132
|
+
SearchPlacesCommand,
|
|
121
133
|
UpdateProfileCommand,
|
|
122
134
|
CompleteOnboardingCommand,
|
|
123
135
|
GetMatchCommand,
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { de_GetBirthDateStatusCommand, se_GetBirthDateStatusCommand, } from "../protocols/Aws_restJson1";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
export { $Command };
|
|
5
|
+
export class GetBirthDateStatusCommand extends $Command.classBuilder()
|
|
6
|
+
.m(function (Command, cs, config, o) {
|
|
7
|
+
return [
|
|
8
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
+
];
|
|
10
|
+
})
|
|
11
|
+
.s("OneHookService", "GetBirthDateStatus", {})
|
|
12
|
+
.n("OneHookClient", "GetBirthDateStatusCommand")
|
|
13
|
+
.f(void 0, void 0)
|
|
14
|
+
.ser(se_GetBirthDateStatusCommand)
|
|
15
|
+
.de(de_GetBirthDateStatusCommand)
|
|
16
|
+
.build() {
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { de_GetPlaceCommand, se_GetPlaceCommand, } from "../protocols/Aws_restJson1";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
export { $Command };
|
|
5
|
+
export class GetPlaceCommand extends $Command.classBuilder()
|
|
6
|
+
.m(function (Command, cs, config, o) {
|
|
7
|
+
return [
|
|
8
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
+
];
|
|
10
|
+
})
|
|
11
|
+
.s("OneHookService", "GetPlace", {})
|
|
12
|
+
.n("OneHookClient", "GetPlaceCommand")
|
|
13
|
+
.f(void 0, void 0)
|
|
14
|
+
.ser(se_GetPlaceCommand)
|
|
15
|
+
.de(de_GetPlaceCommand)
|
|
16
|
+
.build() {
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { de_GetPreservationHoldCommand, se_GetPreservationHoldCommand, } from "../protocols/Aws_restJson1";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
export { $Command };
|
|
5
|
+
export class GetPreservationHoldCommand extends $Command.classBuilder()
|
|
6
|
+
.m(function (Command, cs, config, o) {
|
|
7
|
+
return [
|
|
8
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
+
];
|
|
10
|
+
})
|
|
11
|
+
.s("OneHookService", "GetPreservationHold", {})
|
|
12
|
+
.n("OneHookClient", "GetPreservationHoldCommand")
|
|
13
|
+
.f(void 0, void 0)
|
|
14
|
+
.ser(se_GetPreservationHoldCommand)
|
|
15
|
+
.de(de_GetPreservationHoldCommand)
|
|
16
|
+
.build() {
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { de_RevokeUserAccessCommand, se_RevokeUserAccessCommand, } from "../protocols/Aws_restJson1";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
export { $Command };
|
|
5
|
+
export class RevokeUserAccessCommand extends $Command.classBuilder()
|
|
6
|
+
.m(function (Command, cs, config, o) {
|
|
7
|
+
return [
|
|
8
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
+
];
|
|
10
|
+
})
|
|
11
|
+
.s("OneHookService", "RevokeUserAccess", {})
|
|
12
|
+
.n("OneHookClient", "RevokeUserAccessCommand")
|
|
13
|
+
.f(void 0, void 0)
|
|
14
|
+
.ser(se_RevokeUserAccessCommand)
|
|
15
|
+
.de(de_RevokeUserAccessCommand)
|
|
16
|
+
.build() {
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { de_SearchPlacesCommand, se_SearchPlacesCommand, } from "../protocols/Aws_restJson1";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
export { $Command };
|
|
5
|
+
export class SearchPlacesCommand extends $Command.classBuilder()
|
|
6
|
+
.m(function (Command, cs, config, o) {
|
|
7
|
+
return [
|
|
8
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
+
];
|
|
10
|
+
})
|
|
11
|
+
.s("OneHookService", "SearchPlaces", {})
|
|
12
|
+
.n("OneHookClient", "SearchPlacesCommand")
|
|
13
|
+
.f(void 0, void 0)
|
|
14
|
+
.ser(se_SearchPlacesCommand)
|
|
15
|
+
.de(de_SearchPlacesCommand)
|
|
16
|
+
.build() {
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { de_SetPreservationHoldCommand, se_SetPreservationHoldCommand, } from "../protocols/Aws_restJson1";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
export { $Command };
|
|
5
|
+
export class SetPreservationHoldCommand extends $Command.classBuilder()
|
|
6
|
+
.m(function (Command, cs, config, o) {
|
|
7
|
+
return [
|
|
8
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
+
];
|
|
10
|
+
})
|
|
11
|
+
.s("OneHookService", "SetPreservationHold", {})
|
|
12
|
+
.n("OneHookClient", "SetPreservationHoldCommand")
|
|
13
|
+
.f(void 0, void 0)
|
|
14
|
+
.ser(se_SetPreservationHoldCommand)
|
|
15
|
+
.de(de_SetPreservationHoldCommand)
|
|
16
|
+
.build() {
|
|
17
|
+
}
|
|
@@ -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";
|
|
@@ -264,6 +264,17 @@ export const se_GetCredentialReadinessCommand = async (input, context) => {
|
|
|
264
264
|
.b(body);
|
|
265
265
|
return b.build();
|
|
266
266
|
};
|
|
267
|
+
export const se_GetPreservationHoldCommand = async (input, context) => {
|
|
268
|
+
const b = rb(input, context);
|
|
269
|
+
const headers = {};
|
|
270
|
+
b.bp("/identity/admin/users/{userId}/preservation-hold");
|
|
271
|
+
b.p('userId', () => input.userId, '{userId}', false);
|
|
272
|
+
let body;
|
|
273
|
+
b.m("GET")
|
|
274
|
+
.h(headers)
|
|
275
|
+
.b(body);
|
|
276
|
+
return b.build();
|
|
277
|
+
};
|
|
267
278
|
export const se_GetUserCommand = async (input, context) => {
|
|
268
279
|
const b = rb(input, context);
|
|
269
280
|
const headers = {};
|
|
@@ -394,6 +405,17 @@ export const se_RequestPhoneUpdateOtpCommand = async (input, context) => {
|
|
|
394
405
|
.b(body);
|
|
395
406
|
return b.build();
|
|
396
407
|
};
|
|
408
|
+
export const se_RevokeUserAccessCommand = async (input, context) => {
|
|
409
|
+
const b = rb(input, context);
|
|
410
|
+
const headers = {};
|
|
411
|
+
b.bp("/identity/admin/users/{userId}/revoke-access");
|
|
412
|
+
b.p('userId', () => input.userId, '{userId}', false);
|
|
413
|
+
let body;
|
|
414
|
+
b.m("POST")
|
|
415
|
+
.h(headers)
|
|
416
|
+
.b(body);
|
|
417
|
+
return b.build();
|
|
418
|
+
};
|
|
397
419
|
export const se_SendAdminLinkOtpCommand = async (input, context) => {
|
|
398
420
|
const b = rb(input, context);
|
|
399
421
|
const headers = {};
|
|
@@ -425,6 +447,27 @@ export const se_SetAccountStateCommand = async (input, context) => {
|
|
|
425
447
|
.b(body);
|
|
426
448
|
return b.build();
|
|
427
449
|
};
|
|
450
|
+
export const se_SetPreservationHoldCommand = async (input, context) => {
|
|
451
|
+
const b = rb(input, context);
|
|
452
|
+
const headers = {
|
|
453
|
+
'content-type': 'application/json',
|
|
454
|
+
};
|
|
455
|
+
b.bp("/identity/admin/users/{userId}/preservation-hold");
|
|
456
|
+
b.p('userId', () => input.userId, '{userId}', false);
|
|
457
|
+
let body;
|
|
458
|
+
body = JSON.stringify(take(input, {
|
|
459
|
+
'active': [],
|
|
460
|
+
'actor': [],
|
|
461
|
+
'caseRef': [],
|
|
462
|
+
'expectedVersion': [],
|
|
463
|
+
'reasonCode': [],
|
|
464
|
+
'until': [],
|
|
465
|
+
}));
|
|
466
|
+
b.m("PUT")
|
|
467
|
+
.h(headers)
|
|
468
|
+
.b(body);
|
|
469
|
+
return b.build();
|
|
470
|
+
};
|
|
428
471
|
export const se_UnlinkSocialCommand = async (input, context) => {
|
|
429
472
|
const b = rb(input, context);
|
|
430
473
|
const headers = {};
|
|
@@ -786,6 +829,17 @@ export const se_GenerateUploadUrlCommand = async (input, context) => {
|
|
|
786
829
|
.b(body);
|
|
787
830
|
return b.build();
|
|
788
831
|
};
|
|
832
|
+
export const se_GetBirthDateStatusCommand = async (input, context) => {
|
|
833
|
+
const b = rb(input, context);
|
|
834
|
+
const headers = {};
|
|
835
|
+
b.bp("/profile-admin/{userId}/birth-date");
|
|
836
|
+
b.p('userId', () => input.userId, '{userId}', false);
|
|
837
|
+
let body;
|
|
838
|
+
b.m("GET")
|
|
839
|
+
.h(headers)
|
|
840
|
+
.b(body);
|
|
841
|
+
return b.build();
|
|
842
|
+
};
|
|
789
843
|
export const se_GetLivenessStatusCommand = async (input, context) => {
|
|
790
844
|
const b = rb(input, context);
|
|
791
845
|
const headers = {};
|
|
@@ -806,6 +860,21 @@ export const se_GetMyProfileCommand = async (input, context) => {
|
|
|
806
860
|
.b(body);
|
|
807
861
|
return b.build();
|
|
808
862
|
};
|
|
863
|
+
export const se_GetPlaceCommand = async (input, context) => {
|
|
864
|
+
const b = rb(input, context);
|
|
865
|
+
const headers = {};
|
|
866
|
+
b.bp("/profile/places/{placeId}");
|
|
867
|
+
b.p('placeId', () => input.placeId, '{placeId}', false);
|
|
868
|
+
const query = map({
|
|
869
|
+
[_la]: [, input[_la]],
|
|
870
|
+
});
|
|
871
|
+
let body;
|
|
872
|
+
b.m("GET")
|
|
873
|
+
.h(headers)
|
|
874
|
+
.q(query)
|
|
875
|
+
.b(body);
|
|
876
|
+
return b.build();
|
|
877
|
+
};
|
|
809
878
|
export const se_GetProfileCommand = async (input, context) => {
|
|
810
879
|
const b = rb(input, context);
|
|
811
880
|
const headers = {};
|
|
@@ -817,6 +886,21 @@ export const se_GetProfileCommand = async (input, context) => {
|
|
|
817
886
|
.b(body);
|
|
818
887
|
return b.build();
|
|
819
888
|
};
|
|
889
|
+
export const se_SearchPlacesCommand = async (input, context) => {
|
|
890
|
+
const b = rb(input, context);
|
|
891
|
+
const headers = {};
|
|
892
|
+
b.bp("/profile/places");
|
|
893
|
+
const query = map({
|
|
894
|
+
[_q]: [, __expectNonNull(input[_q], `q`)],
|
|
895
|
+
[_la]: [, input[_la]],
|
|
896
|
+
});
|
|
897
|
+
let body;
|
|
898
|
+
b.m("GET")
|
|
899
|
+
.h(headers)
|
|
900
|
+
.q(query)
|
|
901
|
+
.b(body);
|
|
902
|
+
return b.build();
|
|
903
|
+
};
|
|
820
904
|
export const se_UpdateProfileCommand = async (input, context) => {
|
|
821
905
|
const b = rb(input, context);
|
|
822
906
|
const headers = {
|
|
@@ -825,7 +909,6 @@ export const se_UpdateProfileCommand = async (input, context) => {
|
|
|
825
909
|
b.bp("/profile");
|
|
826
910
|
let body;
|
|
827
911
|
body = JSON.stringify(take(input, {
|
|
828
|
-
'age': [],
|
|
829
912
|
'audioPrompt': [],
|
|
830
913
|
'bio': [],
|
|
831
914
|
'birthDetails': _ => se_BirthDetails(_, context),
|
|
@@ -1211,6 +1294,27 @@ export const de_GetCredentialReadinessCommand = async (output, context) => {
|
|
|
1211
1294
|
Object.assign(contents, doc);
|
|
1212
1295
|
return contents;
|
|
1213
1296
|
};
|
|
1297
|
+
export const de_GetPreservationHoldCommand = async (output, context) => {
|
|
1298
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1299
|
+
return de_CommandError(output, context);
|
|
1300
|
+
}
|
|
1301
|
+
const contents = map({
|
|
1302
|
+
$metadata: deserializeMetadata(output),
|
|
1303
|
+
});
|
|
1304
|
+
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
1305
|
+
const doc = take(data, {
|
|
1306
|
+
'active': __expectBoolean,
|
|
1307
|
+
'caseRef': __expectString,
|
|
1308
|
+
'childSafetySince': __expectLong,
|
|
1309
|
+
'reasonCode': __expectString,
|
|
1310
|
+
'setAt': __expectLong,
|
|
1311
|
+
'setBy': __expectString,
|
|
1312
|
+
'until': __expectLong,
|
|
1313
|
+
'version': __expectInt32,
|
|
1314
|
+
});
|
|
1315
|
+
Object.assign(contents, doc);
|
|
1316
|
+
return contents;
|
|
1317
|
+
};
|
|
1214
1318
|
export const de_GetUserCommand = async (output, context) => {
|
|
1215
1319
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1216
1320
|
return de_CommandError(output, context);
|
|
@@ -1356,6 +1460,20 @@ export const de_RequestPhoneUpdateOtpCommand = async (output, context) => {
|
|
|
1356
1460
|
Object.assign(contents, doc);
|
|
1357
1461
|
return contents;
|
|
1358
1462
|
};
|
|
1463
|
+
export const de_RevokeUserAccessCommand = async (output, context) => {
|
|
1464
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1465
|
+
return de_CommandError(output, context);
|
|
1466
|
+
}
|
|
1467
|
+
const contents = map({
|
|
1468
|
+
$metadata: deserializeMetadata(output),
|
|
1469
|
+
});
|
|
1470
|
+
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
1471
|
+
const doc = take(data, {
|
|
1472
|
+
'status': __expectString,
|
|
1473
|
+
});
|
|
1474
|
+
Object.assign(contents, doc);
|
|
1475
|
+
return contents;
|
|
1476
|
+
};
|
|
1359
1477
|
export const de_SendAdminLinkOtpCommand = async (output, context) => {
|
|
1360
1478
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1361
1479
|
return de_CommandError(output, context);
|
|
@@ -1387,6 +1505,23 @@ export const de_SetAccountStateCommand = async (output, context) => {
|
|
|
1387
1505
|
Object.assign(contents, doc);
|
|
1388
1506
|
return contents;
|
|
1389
1507
|
};
|
|
1508
|
+
export const de_SetPreservationHoldCommand = async (output, context) => {
|
|
1509
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1510
|
+
return de_CommandError(output, context);
|
|
1511
|
+
}
|
|
1512
|
+
const contents = map({
|
|
1513
|
+
$metadata: deserializeMetadata(output),
|
|
1514
|
+
});
|
|
1515
|
+
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
1516
|
+
const doc = take(data, {
|
|
1517
|
+
'active': __expectBoolean,
|
|
1518
|
+
'reasonCode': __expectString,
|
|
1519
|
+
'until': __expectLong,
|
|
1520
|
+
'version': __expectInt32,
|
|
1521
|
+
});
|
|
1522
|
+
Object.assign(contents, doc);
|
|
1523
|
+
return contents;
|
|
1524
|
+
};
|
|
1390
1525
|
export const de_UnlinkSocialCommand = async (output, context) => {
|
|
1391
1526
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1392
1527
|
return de_CommandError(output, context);
|
|
@@ -1768,6 +1903,30 @@ export const de_GenerateUploadUrlCommand = async (output, context) => {
|
|
|
1768
1903
|
Object.assign(contents, doc);
|
|
1769
1904
|
return contents;
|
|
1770
1905
|
};
|
|
1906
|
+
export const de_GetBirthDateStatusCommand = async (output, context) => {
|
|
1907
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1908
|
+
return de_CommandError(output, context);
|
|
1909
|
+
}
|
|
1910
|
+
const contents = map({
|
|
1911
|
+
$metadata: deserializeMetadata(output),
|
|
1912
|
+
});
|
|
1913
|
+
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
1914
|
+
const doc = take(data, {
|
|
1915
|
+
'age': __expectInt32,
|
|
1916
|
+
'birthDateOnFile': __expectBoolean,
|
|
1917
|
+
'correctionsRemaining': __expectInt32,
|
|
1918
|
+
'correctionsUsed': __expectInt32,
|
|
1919
|
+
'date': __expectString,
|
|
1920
|
+
'lastCorrectedAt': __expectLong,
|
|
1921
|
+
'lastCorrectedBy': __expectString,
|
|
1922
|
+
'lastReason': __expectString,
|
|
1923
|
+
'lastReference': __expectString,
|
|
1924
|
+
'provisional': __expectBoolean,
|
|
1925
|
+
'userId': __expectString,
|
|
1926
|
+
});
|
|
1927
|
+
Object.assign(contents, doc);
|
|
1928
|
+
return contents;
|
|
1929
|
+
};
|
|
1771
1930
|
export const de_GetLivenessStatusCommand = async (output, context) => {
|
|
1772
1931
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1773
1932
|
return de_CommandError(output, context);
|
|
@@ -1836,6 +1995,24 @@ export const de_GetMyProfileCommand = async (output, context) => {
|
|
|
1836
1995
|
Object.assign(contents, doc);
|
|
1837
1996
|
return contents;
|
|
1838
1997
|
};
|
|
1998
|
+
export const de_GetPlaceCommand = async (output, context) => {
|
|
1999
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2000
|
+
return de_CommandError(output, context);
|
|
2001
|
+
}
|
|
2002
|
+
const contents = map({
|
|
2003
|
+
$metadata: deserializeMetadata(output),
|
|
2004
|
+
});
|
|
2005
|
+
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
2006
|
+
const doc = take(data, {
|
|
2007
|
+
'label': __expectString,
|
|
2008
|
+
'latitude': __limitedParseDouble,
|
|
2009
|
+
'longitude': __limitedParseDouble,
|
|
2010
|
+
'placeId': __expectString,
|
|
2011
|
+
'timeZone': __expectString,
|
|
2012
|
+
});
|
|
2013
|
+
Object.assign(contents, doc);
|
|
2014
|
+
return contents;
|
|
2015
|
+
};
|
|
1839
2016
|
export const de_GetProfileCommand = async (output, context) => {
|
|
1840
2017
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1841
2018
|
return de_CommandError(output, context);
|
|
@@ -1890,6 +2067,20 @@ export const de_GetProfileCommand = async (output, context) => {
|
|
|
1890
2067
|
Object.assign(contents, doc);
|
|
1891
2068
|
return contents;
|
|
1892
2069
|
};
|
|
2070
|
+
export const de_SearchPlacesCommand = async (output, context) => {
|
|
2071
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2072
|
+
return de_CommandError(output, context);
|
|
2073
|
+
}
|
|
2074
|
+
const contents = map({
|
|
2075
|
+
$metadata: deserializeMetadata(output),
|
|
2076
|
+
});
|
|
2077
|
+
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
2078
|
+
const doc = take(data, {
|
|
2079
|
+
'places': _json,
|
|
2080
|
+
});
|
|
2081
|
+
Object.assign(contents, doc);
|
|
2082
|
+
return contents;
|
|
2083
|
+
};
|
|
1893
2084
|
export const de_UpdateProfileCommand = async (output, context) => {
|
|
1894
2085
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1895
2086
|
return de_CommandError(output, context);
|
|
@@ -2124,6 +2315,7 @@ const se_BirthDetails = (input, context) => {
|
|
|
2124
2315
|
'date': [],
|
|
2125
2316
|
'latitude': __serializeFloat,
|
|
2126
2317
|
'longitude': __serializeFloat,
|
|
2318
|
+
'placeName': [],
|
|
2127
2319
|
'provisional': [],
|
|
2128
2320
|
'time': [],
|
|
2129
2321
|
'timeZone': [],
|
|
@@ -2153,6 +2345,7 @@ const de_BirthDetails = (output, context) => {
|
|
|
2153
2345
|
'date': __expectString,
|
|
2154
2346
|
'latitude': __limitedParseDouble,
|
|
2155
2347
|
'longitude': __limitedParseDouble,
|
|
2348
|
+
'placeName': __expectString,
|
|
2156
2349
|
'provisional': __expectBoolean,
|
|
2157
2350
|
'time': __expectString,
|
|
2158
2351
|
'timeZone': __expectString,
|
|
@@ -2168,7 +2361,9 @@ const collectBodyString = (streamBody, context) => collectBody(streamBody, conte
|
|
|
2168
2361
|
const _c = "category";
|
|
2169
2362
|
const _k = "key";
|
|
2170
2363
|
const _l = "lat";
|
|
2364
|
+
const _la = "lang";
|
|
2171
2365
|
const _lo = "lon";
|
|
2172
2366
|
const _mI = "matchId";
|
|
2367
|
+
const _q = "q";
|
|
2173
2368
|
const _rUI = "requestingUserId";
|
|
2174
2369
|
const _xoui = "x-onehook-user-id";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export const TELEMETRY_CATALOG_VERSION = "1.
|
|
2
|
-
export const TELEMETRY_CATALOG_HASH = "
|
|
1
|
+
export const TELEMETRY_CATALOG_VERSION = "1.9.0";
|
|
2
|
+
export const TELEMETRY_CATALOG_HASH = "7f0a0b33ce88bee5";
|
|
3
3
|
export const SignalType = {
|
|
4
4
|
SCREEN_VIEW: "screen_view",
|
|
5
5
|
UI_INTERACTION: "ui_interaction",
|
|
@@ -623,7 +623,7 @@ export const UI_ELEMENTS = {
|
|
|
623
623
|
"profile_edit.prompt_remove": { screen: "PROFILE_EDIT", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios"] },
|
|
624
624
|
"profile_edit.voice_add": { screen: "PROFILE_EDIT", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios"] },
|
|
625
625
|
"profile_edit.voice_remove": { screen: "PROFILE_EDIT", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios"] },
|
|
626
|
-
"profile_edit.choice_select": { screen: "PROFILE_EDIT", kind: "segmented", actions: ["select", "tap"], values: null, platforms: ["web", "ios"] },
|
|
626
|
+
"profile_edit.choice_select": { screen: "PROFILE_EDIT", kind: "segmented", actions: ["select", "tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
627
627
|
"preferences.save": { screen: "PREFERENCES", kind: "button", actions: ["submit"], values: null, platforms: ["ios", "android"] },
|
|
628
628
|
"preferences.upgrade_open": { screen: "PREFERENCES", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["ios"] },
|
|
629
629
|
"preferences.locked_filter_tap": { screen: "PREFERENCES", kind: "button", actions: ["tap"], values: null, platforms: ["ios"] },
|
package/dist-types/OneHook.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ import { GenerateUploadUrlCommandInput, GenerateUploadUrlCommandOutput } from ".
|
|
|
17
17
|
import { GetAccountStateCommandInput, GetAccountStateCommandOutput } from "./commands/GetAccountStateCommand";
|
|
18
18
|
import { GetAdminPhoneStatusCommandInput, GetAdminPhoneStatusCommandOutput } from "./commands/GetAdminPhoneStatusCommand";
|
|
19
19
|
import { GetAiContextMatchCommandInput, GetAiContextMatchCommandOutput } from "./commands/GetAiContextMatchCommand";
|
|
20
|
+
import { GetBirthDateStatusCommandInput, GetBirthDateStatusCommandOutput } from "./commands/GetBirthDateStatusCommand";
|
|
20
21
|
import { GetChatSettingsCommandInput, GetChatSettingsCommandOutput } from "./commands/GetChatSettingsCommand";
|
|
21
22
|
import { GetCredentialReadinessCommandInput, GetCredentialReadinessCommandOutput } from "./commands/GetCredentialReadinessCommand";
|
|
22
23
|
import { GetLivenessStatusCommandInput, GetLivenessStatusCommandOutput } from "./commands/GetLivenessStatusCommand";
|
|
@@ -24,7 +25,9 @@ import { GetMatchCommandInput, GetMatchCommandOutput } from "./commands/GetMatch
|
|
|
24
25
|
import { GetMyProfileCommandInput, GetMyProfileCommandOutput } from "./commands/GetMyProfileCommand";
|
|
25
26
|
import { GetNotificationPreferencesCommandInput, GetNotificationPreferencesCommandOutput } from "./commands/GetNotificationPreferencesCommand";
|
|
26
27
|
import { GetParticipantRegistryCommandInput, GetParticipantRegistryCommandOutput } from "./commands/GetParticipantRegistryCommand";
|
|
28
|
+
import { GetPlaceCommandInput, GetPlaceCommandOutput } from "./commands/GetPlaceCommand";
|
|
27
29
|
import { GetPreferencesCommandInput, GetPreferencesCommandOutput } from "./commands/GetPreferencesCommand";
|
|
30
|
+
import { GetPreservationHoldCommandInput, GetPreservationHoldCommandOutput } from "./commands/GetPreservationHoldCommand";
|
|
28
31
|
import { GetProfileCommandInput, GetProfileCommandOutput } from "./commands/GetProfileCommand";
|
|
29
32
|
import { GetReceivedLikesCommandInput, GetReceivedLikesCommandOutput } from "./commands/GetReceivedLikesCommand";
|
|
30
33
|
import { GetRosesCommandInput, GetRosesCommandOutput } from "./commands/GetRosesCommand";
|
|
@@ -46,8 +49,11 @@ import { RequestEmailOtpCommandInput, RequestEmailOtpCommandOutput } from "./com
|
|
|
46
49
|
import { RequestPhoneOtpCommandInput, RequestPhoneOtpCommandOutput } from "./commands/RequestPhoneOtpCommand";
|
|
47
50
|
import { RequestPhoneUpdateOtpCommandInput, RequestPhoneUpdateOtpCommandOutput } from "./commands/RequestPhoneUpdateOtpCommand";
|
|
48
51
|
import { RevokeDeviceCommandInput, RevokeDeviceCommandOutput } from "./commands/RevokeDeviceCommand";
|
|
52
|
+
import { RevokeUserAccessCommandInput, RevokeUserAccessCommandOutput } from "./commands/RevokeUserAccessCommand";
|
|
53
|
+
import { SearchPlacesCommandInput, SearchPlacesCommandOutput } from "./commands/SearchPlacesCommand";
|
|
49
54
|
import { SendAdminLinkOtpCommandInput, SendAdminLinkOtpCommandOutput } from "./commands/SendAdminLinkOtpCommand";
|
|
50
55
|
import { SetAccountStateCommandInput, SetAccountStateCommandOutput } from "./commands/SetAccountStateCommand";
|
|
56
|
+
import { SetPreservationHoldCommandInput, SetPreservationHoldCommandOutput } from "./commands/SetPreservationHoldCommand";
|
|
51
57
|
import { SwipeByUsernameCommandInput, SwipeByUsernameCommandOutput } from "./commands/SwipeByUsernameCommand";
|
|
52
58
|
import { SwipeCommandInput, SwipeCommandOutput } from "./commands/SwipeCommand";
|
|
53
59
|
import { UnhookCommandInput, UnhookCommandOutput } from "./commands/UnhookCommand";
|
|
@@ -174,6 +180,12 @@ export interface OneHook {
|
|
|
174
180
|
getCredentialReadiness(args: GetCredentialReadinessCommandInput, options?: __HttpHandlerOptions): Promise<GetCredentialReadinessCommandOutput>;
|
|
175
181
|
getCredentialReadiness(args: GetCredentialReadinessCommandInput, cb: (err: any, data?: GetCredentialReadinessCommandOutput) => void): void;
|
|
176
182
|
getCredentialReadiness(args: GetCredentialReadinessCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCredentialReadinessCommandOutput) => void): void;
|
|
183
|
+
/**
|
|
184
|
+
* @see {@link GetPreservationHoldCommand}
|
|
185
|
+
*/
|
|
186
|
+
getPreservationHold(args: GetPreservationHoldCommandInput, options?: __HttpHandlerOptions): Promise<GetPreservationHoldCommandOutput>;
|
|
187
|
+
getPreservationHold(args: GetPreservationHoldCommandInput, cb: (err: any, data?: GetPreservationHoldCommandOutput) => void): void;
|
|
188
|
+
getPreservationHold(args: GetPreservationHoldCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPreservationHoldCommandOutput) => void): void;
|
|
177
189
|
/**
|
|
178
190
|
* @see {@link GetUserCommand}
|
|
179
191
|
*/
|
|
@@ -228,6 +240,12 @@ export interface OneHook {
|
|
|
228
240
|
requestPhoneUpdateOtp(args: RequestPhoneUpdateOtpCommandInput, options?: __HttpHandlerOptions): Promise<RequestPhoneUpdateOtpCommandOutput>;
|
|
229
241
|
requestPhoneUpdateOtp(args: RequestPhoneUpdateOtpCommandInput, cb: (err: any, data?: RequestPhoneUpdateOtpCommandOutput) => void): void;
|
|
230
242
|
requestPhoneUpdateOtp(args: RequestPhoneUpdateOtpCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RequestPhoneUpdateOtpCommandOutput) => void): void;
|
|
243
|
+
/**
|
|
244
|
+
* @see {@link RevokeUserAccessCommand}
|
|
245
|
+
*/
|
|
246
|
+
revokeUserAccess(args: RevokeUserAccessCommandInput, options?: __HttpHandlerOptions): Promise<RevokeUserAccessCommandOutput>;
|
|
247
|
+
revokeUserAccess(args: RevokeUserAccessCommandInput, cb: (err: any, data?: RevokeUserAccessCommandOutput) => void): void;
|
|
248
|
+
revokeUserAccess(args: RevokeUserAccessCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RevokeUserAccessCommandOutput) => void): void;
|
|
231
249
|
/**
|
|
232
250
|
* @see {@link SendAdminLinkOtpCommand}
|
|
233
251
|
*/
|
|
@@ -240,6 +258,12 @@ export interface OneHook {
|
|
|
240
258
|
setAccountState(args: SetAccountStateCommandInput, options?: __HttpHandlerOptions): Promise<SetAccountStateCommandOutput>;
|
|
241
259
|
setAccountState(args: SetAccountStateCommandInput, cb: (err: any, data?: SetAccountStateCommandOutput) => void): void;
|
|
242
260
|
setAccountState(args: SetAccountStateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SetAccountStateCommandOutput) => void): void;
|
|
261
|
+
/**
|
|
262
|
+
* @see {@link SetPreservationHoldCommand}
|
|
263
|
+
*/
|
|
264
|
+
setPreservationHold(args: SetPreservationHoldCommandInput, options?: __HttpHandlerOptions): Promise<SetPreservationHoldCommandOutput>;
|
|
265
|
+
setPreservationHold(args: SetPreservationHoldCommandInput, cb: (err: any, data?: SetPreservationHoldCommandOutput) => void): void;
|
|
266
|
+
setPreservationHold(args: SetPreservationHoldCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SetPreservationHoldCommandOutput) => void): void;
|
|
243
267
|
/**
|
|
244
268
|
* @see {@link UnlinkSocialCommand}
|
|
245
269
|
*/
|
|
@@ -381,6 +405,12 @@ export interface OneHook {
|
|
|
381
405
|
generateUploadUrl(args: GenerateUploadUrlCommandInput, options?: __HttpHandlerOptions): Promise<GenerateUploadUrlCommandOutput>;
|
|
382
406
|
generateUploadUrl(args: GenerateUploadUrlCommandInput, cb: (err: any, data?: GenerateUploadUrlCommandOutput) => void): void;
|
|
383
407
|
generateUploadUrl(args: GenerateUploadUrlCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GenerateUploadUrlCommandOutput) => void): void;
|
|
408
|
+
/**
|
|
409
|
+
* @see {@link GetBirthDateStatusCommand}
|
|
410
|
+
*/
|
|
411
|
+
getBirthDateStatus(args: GetBirthDateStatusCommandInput, options?: __HttpHandlerOptions): Promise<GetBirthDateStatusCommandOutput>;
|
|
412
|
+
getBirthDateStatus(args: GetBirthDateStatusCommandInput, cb: (err: any, data?: GetBirthDateStatusCommandOutput) => void): void;
|
|
413
|
+
getBirthDateStatus(args: GetBirthDateStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetBirthDateStatusCommandOutput) => void): void;
|
|
384
414
|
/**
|
|
385
415
|
* @see {@link GetLivenessStatusCommand}
|
|
386
416
|
*/
|
|
@@ -395,12 +425,24 @@ export interface OneHook {
|
|
|
395
425
|
getMyProfile(args: GetMyProfileCommandInput, options?: __HttpHandlerOptions): Promise<GetMyProfileCommandOutput>;
|
|
396
426
|
getMyProfile(args: GetMyProfileCommandInput, cb: (err: any, data?: GetMyProfileCommandOutput) => void): void;
|
|
397
427
|
getMyProfile(args: GetMyProfileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMyProfileCommandOutput) => void): void;
|
|
428
|
+
/**
|
|
429
|
+
* @see {@link GetPlaceCommand}
|
|
430
|
+
*/
|
|
431
|
+
getPlace(args: GetPlaceCommandInput, options?: __HttpHandlerOptions): Promise<GetPlaceCommandOutput>;
|
|
432
|
+
getPlace(args: GetPlaceCommandInput, cb: (err: any, data?: GetPlaceCommandOutput) => void): void;
|
|
433
|
+
getPlace(args: GetPlaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPlaceCommandOutput) => void): void;
|
|
398
434
|
/**
|
|
399
435
|
* @see {@link GetProfileCommand}
|
|
400
436
|
*/
|
|
401
437
|
getProfile(args: GetProfileCommandInput, options?: __HttpHandlerOptions): Promise<GetProfileCommandOutput>;
|
|
402
438
|
getProfile(args: GetProfileCommandInput, cb: (err: any, data?: GetProfileCommandOutput) => void): void;
|
|
403
439
|
getProfile(args: GetProfileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetProfileCommandOutput) => void): void;
|
|
440
|
+
/**
|
|
441
|
+
* @see {@link SearchPlacesCommand}
|
|
442
|
+
*/
|
|
443
|
+
searchPlaces(args: SearchPlacesCommandInput, options?: __HttpHandlerOptions): Promise<SearchPlacesCommandOutput>;
|
|
444
|
+
searchPlaces(args: SearchPlacesCommandInput, cb: (err: any, data?: SearchPlacesCommandOutput) => void): void;
|
|
445
|
+
searchPlaces(args: SearchPlacesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SearchPlacesCommandOutput) => void): void;
|
|
404
446
|
/**
|
|
405
447
|
* @see {@link UpdateProfileCommand}
|
|
406
448
|
*/
|