onehook-api-client 1.0.27 → 1.0.29
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 +35 -0
- package/dist-cjs/OneHook.js +10 -0
- package/dist-cjs/commands/DiscoverByIntentCommand.js +21 -0
- package/dist-cjs/commands/DiscoverSuggestedCommand.js +21 -0
- package/dist-cjs/commands/GetAccountStateCommand.js +21 -0
- package/dist-cjs/commands/GetAdminPhoneStatusCommand.js +21 -0
- package/dist-cjs/commands/SetAccountStateCommand.js +21 -0
- package/dist-cjs/commands/index.js +5 -0
- package/dist-cjs/models/models_0.js +30 -1
- package/dist-cjs/protocols/Aws_restJson1.js +190 -3
- package/dist-cjs/telemetry/index.js +38 -2
- package/dist-es/OneHook.js +10 -0
- package/dist-es/commands/DiscoverByIntentCommand.js +17 -0
- package/dist-es/commands/DiscoverSuggestedCommand.js +17 -0
- package/dist-es/commands/GetAccountStateCommand.js +17 -0
- package/dist-es/commands/GetAdminPhoneStatusCommand.js +17 -0
- package/dist-es/commands/SetAccountStateCommand.js +17 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +28 -0
- package/dist-es/protocols/Aws_restJson1.js +178 -1
- package/dist-es/telemetry/index.js +38 -2
- package/dist-types/OneHook.d.ts +35 -0
- package/dist-types/OneHookClient.d.ts +7 -2
- package/dist-types/commands/DiscoverByIntentCommand.d.ts +97 -0
- package/dist-types/commands/DiscoverCommand.d.ts +4 -0
- package/dist-types/commands/DiscoverSuggestedCommand.d.ts +92 -0
- package/dist-types/commands/GetAccountStateCommand.d.ts +83 -0
- package/dist-types/commands/GetAdminPhoneStatusCommand.d.ts +86 -0
- package/dist-types/commands/SetAccountStateCommand.d.ts +95 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +188 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
- package/dist-types/telemetry/index.d.ts +22 -2
- package/package.json +1 -1
- package/telemetry/TelemetryCatalog.kt +22 -4
- package/telemetry/TelemetryCatalog.swift +38 -4
- package/telemetry/telemetry-catalog.json +264 -2
package/dist-es/OneHook.js
CHANGED
|
@@ -9,10 +9,14 @@ import { CreateMediaUploadUrlCommand, } from "./commands/CreateMediaUploadUrlCom
|
|
|
9
9
|
import { DeleteMatchMessagesCommand, } from "./commands/DeleteMatchMessagesCommand";
|
|
10
10
|
import { DeleteProfileCommand, } from "./commands/DeleteProfileCommand";
|
|
11
11
|
import { DeletePushTokenCommand, } from "./commands/DeletePushTokenCommand";
|
|
12
|
+
import { DiscoverByIntentCommand, } from "./commands/DiscoverByIntentCommand";
|
|
12
13
|
import { DiscoverCommand, } from "./commands/DiscoverCommand";
|
|
14
|
+
import { DiscoverSuggestedCommand, } from "./commands/DiscoverSuggestedCommand";
|
|
13
15
|
import { GenerateDownloadUrlCommand, } from "./commands/GenerateDownloadUrlCommand";
|
|
14
16
|
import { GenerateInviteCommand, } from "./commands/GenerateInviteCommand";
|
|
15
17
|
import { GenerateUploadUrlCommand, } from "./commands/GenerateUploadUrlCommand";
|
|
18
|
+
import { GetAccountStateCommand, } from "./commands/GetAccountStateCommand";
|
|
19
|
+
import { GetAdminPhoneStatusCommand, } from "./commands/GetAdminPhoneStatusCommand";
|
|
16
20
|
import { GetAiContextMatchCommand, } from "./commands/GetAiContextMatchCommand";
|
|
17
21
|
import { GetChatSettingsCommand, } from "./commands/GetChatSettingsCommand";
|
|
18
22
|
import { GetCredentialReadinessCommand, } from "./commands/GetCredentialReadinessCommand";
|
|
@@ -43,6 +47,7 @@ import { RequestPhoneOtpCommand, } from "./commands/RequestPhoneOtpCommand";
|
|
|
43
47
|
import { RequestPhoneUpdateOtpCommand, } from "./commands/RequestPhoneUpdateOtpCommand";
|
|
44
48
|
import { RevokeDeviceCommand, } from "./commands/RevokeDeviceCommand";
|
|
45
49
|
import { SendAdminLinkOtpCommand, } from "./commands/SendAdminLinkOtpCommand";
|
|
50
|
+
import { SetAccountStateCommand, } from "./commands/SetAccountStateCommand";
|
|
46
51
|
import { SwipeByUsernameCommand, } from "./commands/SwipeByUsernameCommand";
|
|
47
52
|
import { SwipeCommand, } from "./commands/SwipeCommand";
|
|
48
53
|
import { UnhookCommand, } from "./commands/UnhookCommand";
|
|
@@ -73,6 +78,8 @@ const commands = {
|
|
|
73
78
|
AuthSocialCommand,
|
|
74
79
|
CreateAdminInviteCommand,
|
|
75
80
|
GenerateInviteCommand,
|
|
81
|
+
GetAccountStateCommand,
|
|
82
|
+
GetAdminPhoneStatusCommand,
|
|
76
83
|
GetCredentialReadinessCommand,
|
|
77
84
|
GetUserCommand,
|
|
78
85
|
GetUserByEmailCommand,
|
|
@@ -84,6 +91,7 @@ const commands = {
|
|
|
84
91
|
RequestPhoneOtpCommand,
|
|
85
92
|
RequestPhoneUpdateOtpCommand,
|
|
86
93
|
SendAdminLinkOtpCommand,
|
|
94
|
+
SetAccountStateCommand,
|
|
87
95
|
UnlinkSocialCommand,
|
|
88
96
|
UpdateEntitlementsCommand,
|
|
89
97
|
UpdatePhoneNumberCommand,
|
|
@@ -91,6 +99,8 @@ const commands = {
|
|
|
91
99
|
ValidateInviteCommand,
|
|
92
100
|
VerifyAdminLinkOtpCommand,
|
|
93
101
|
DiscoverCommand,
|
|
102
|
+
DiscoverByIntentCommand,
|
|
103
|
+
DiscoverSuggestedCommand,
|
|
94
104
|
GetNotificationPreferencesCommand,
|
|
95
105
|
GetPreferencesCommand,
|
|
96
106
|
GetReceivedLikesCommand,
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { de_DiscoverByIntentCommand, se_DiscoverByIntentCommand, } 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 DiscoverByIntentCommand extends $Command.classBuilder()
|
|
6
|
+
.m(function (Command, cs, config, o) {
|
|
7
|
+
return [
|
|
8
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
+
];
|
|
10
|
+
})
|
|
11
|
+
.s("OneHookService", "DiscoverByIntent", {})
|
|
12
|
+
.n("OneHookClient", "DiscoverByIntentCommand")
|
|
13
|
+
.f(void 0, void 0)
|
|
14
|
+
.ser(se_DiscoverByIntentCommand)
|
|
15
|
+
.de(de_DiscoverByIntentCommand)
|
|
16
|
+
.build() {
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { de_DiscoverSuggestedCommand, se_DiscoverSuggestedCommand, } 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 DiscoverSuggestedCommand extends $Command.classBuilder()
|
|
6
|
+
.m(function (Command, cs, config, o) {
|
|
7
|
+
return [
|
|
8
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
+
];
|
|
10
|
+
})
|
|
11
|
+
.s("OneHookService", "DiscoverSuggested", {})
|
|
12
|
+
.n("OneHookClient", "DiscoverSuggestedCommand")
|
|
13
|
+
.f(void 0, void 0)
|
|
14
|
+
.ser(se_DiscoverSuggestedCommand)
|
|
15
|
+
.de(de_DiscoverSuggestedCommand)
|
|
16
|
+
.build() {
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { de_GetAccountStateCommand, se_GetAccountStateCommand, } 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 GetAccountStateCommand extends $Command.classBuilder()
|
|
6
|
+
.m(function (Command, cs, config, o) {
|
|
7
|
+
return [
|
|
8
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
+
];
|
|
10
|
+
})
|
|
11
|
+
.s("OneHookService", "GetAccountState", {})
|
|
12
|
+
.n("OneHookClient", "GetAccountStateCommand")
|
|
13
|
+
.f(void 0, void 0)
|
|
14
|
+
.ser(se_GetAccountStateCommand)
|
|
15
|
+
.de(de_GetAccountStateCommand)
|
|
16
|
+
.build() {
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { de_GetAdminPhoneStatusCommand, se_GetAdminPhoneStatusCommand, } 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 GetAdminPhoneStatusCommand extends $Command.classBuilder()
|
|
6
|
+
.m(function (Command, cs, config, o) {
|
|
7
|
+
return [
|
|
8
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
+
];
|
|
10
|
+
})
|
|
11
|
+
.s("OneHookService", "GetAdminPhoneStatus", {})
|
|
12
|
+
.n("OneHookClient", "GetAdminPhoneStatusCommand")
|
|
13
|
+
.f(void 0, void 0)
|
|
14
|
+
.ser(se_GetAdminPhoneStatusCommand)
|
|
15
|
+
.de(de_GetAdminPhoneStatusCommand)
|
|
16
|
+
.build() {
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { de_SetAccountStateCommand, se_SetAccountStateCommand, } 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 SetAccountStateCommand extends $Command.classBuilder()
|
|
6
|
+
.m(function (Command, cs, config, o) {
|
|
7
|
+
return [
|
|
8
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
+
];
|
|
10
|
+
})
|
|
11
|
+
.s("OneHookService", "SetAccountState", {})
|
|
12
|
+
.n("OneHookClient", "SetAccountStateCommand")
|
|
13
|
+
.f(void 0, void 0)
|
|
14
|
+
.ser(se_SetAccountStateCommand)
|
|
15
|
+
.de(de_SetAccountStateCommand)
|
|
16
|
+
.build() {
|
|
17
|
+
}
|
|
@@ -13,6 +13,8 @@ export * from "./UpdateChatSettingsCommand";
|
|
|
13
13
|
export * from "./AuthSocialCommand";
|
|
14
14
|
export * from "./CreateAdminInviteCommand";
|
|
15
15
|
export * from "./GenerateInviteCommand";
|
|
16
|
+
export * from "./GetAccountStateCommand";
|
|
17
|
+
export * from "./GetAdminPhoneStatusCommand";
|
|
16
18
|
export * from "./GetCredentialReadinessCommand";
|
|
17
19
|
export * from "./GetUserCommand";
|
|
18
20
|
export * from "./GetUserByEmailCommand";
|
|
@@ -24,6 +26,7 @@ export * from "./RequestEmailOtpCommand";
|
|
|
24
26
|
export * from "./RequestPhoneOtpCommand";
|
|
25
27
|
export * from "./RequestPhoneUpdateOtpCommand";
|
|
26
28
|
export * from "./SendAdminLinkOtpCommand";
|
|
29
|
+
export * from "./SetAccountStateCommand";
|
|
27
30
|
export * from "./UnlinkSocialCommand";
|
|
28
31
|
export * from "./UpdateEntitlementsCommand";
|
|
29
32
|
export * from "./UpdatePhoneNumberCommand";
|
|
@@ -31,6 +34,8 @@ export * from "./UpdateUsernameCommand";
|
|
|
31
34
|
export * from "./ValidateInviteCommand";
|
|
32
35
|
export * from "./VerifyAdminLinkOtpCommand";
|
|
33
36
|
export * from "./DiscoverCommand";
|
|
37
|
+
export * from "./DiscoverByIntentCommand";
|
|
38
|
+
export * from "./DiscoverSuggestedCommand";
|
|
34
39
|
export * from "./GetNotificationPreferencesCommand";
|
|
35
40
|
export * from "./GetPreferencesCommand";
|
|
36
41
|
export * from "./GetReceivedLikesCommand";
|
|
@@ -89,14 +89,42 @@ export const PushTokenKind = {
|
|
|
89
89
|
ALERT: "ALERT",
|
|
90
90
|
VOIP: "VOIP",
|
|
91
91
|
};
|
|
92
|
+
export const AccountState = {
|
|
93
|
+
ACTIVE: "ACTIVE",
|
|
94
|
+
BANNED: "BANNED",
|
|
95
|
+
RESTRICTED: "RESTRICTED",
|
|
96
|
+
SUSPENDED: "SUSPENDED",
|
|
97
|
+
};
|
|
92
98
|
export const CredentialGap = {
|
|
93
99
|
NO_COGNITO_USERNAME_ON_PROFILE: "NO_COGNITO_USERNAME_ON_PROFILE",
|
|
94
100
|
PHONE_NOT_VERIFIED: "PHONE_NOT_VERIFIED",
|
|
95
101
|
USERNAME_MISMATCHED_IN_COGNITO: "USERNAME_MISMATCHED_IN_COGNITO",
|
|
96
102
|
USERNAME_NOT_SYNCED_TO_COGNITO: "USERNAME_NOT_SYNCED_TO_COGNITO",
|
|
97
103
|
};
|
|
104
|
+
export class ConflictError extends __BaseException {
|
|
105
|
+
name = "ConflictError";
|
|
106
|
+
$fault = "client";
|
|
107
|
+
error;
|
|
108
|
+
constructor(opts) {
|
|
109
|
+
super({
|
|
110
|
+
name: "ConflictError",
|
|
111
|
+
$fault: "client",
|
|
112
|
+
...opts
|
|
113
|
+
});
|
|
114
|
+
Object.setPrototypeOf(this, ConflictError.prototype);
|
|
115
|
+
this.error = opts.error;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
98
118
|
export const SubscriptionTier = {
|
|
99
119
|
INFINITY: "INFINITY",
|
|
100
120
|
MUST: "MUST",
|
|
101
121
|
SUPER: "SUPER",
|
|
102
122
|
};
|
|
123
|
+
export const MatchFinder = {
|
|
124
|
+
MR_ONEHOOK: "MR_ONEHOOK",
|
|
125
|
+
ONEHOOK_INTELLIGENCE: "ONEHOOK_INTELLIGENCE",
|
|
126
|
+
};
|
|
127
|
+
export const SuggestionBasis = {
|
|
128
|
+
EXPLICIT_REQUEST: "EXPLICIT_REQUEST",
|
|
129
|
+
INFERRED_INCLINATION: "INFERRED_INCLINATION",
|
|
130
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OneHookServiceException as __BaseException } from "../models/OneHookServiceException";
|
|
2
|
-
import { BadRequestError, DeviceLimitError, ForbiddenError, InternalServerError, NotFoundError, } from "../models/models_0";
|
|
2
|
+
import { BadRequestError, ConflictError, DeviceLimitError, ForbiddenError, InternalServerError, NotFoundError, } from "../models/models_0";
|
|
3
3
|
import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody, } from "@aws-sdk/core";
|
|
4
4
|
import { requestBuilder as rb } from "@smithy/core";
|
|
5
5
|
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, serializeFloat as __serializeFloat, _json, collectBody, isSerializableHeaderValue, map, take, withBaseException, } from "@smithy/smithy-client";
|
|
@@ -227,6 +227,32 @@ export const se_GenerateInviteCommand = async (input, context) => {
|
|
|
227
227
|
.b(body);
|
|
228
228
|
return b.build();
|
|
229
229
|
};
|
|
230
|
+
export const se_GetAccountStateCommand = async (input, context) => {
|
|
231
|
+
const b = rb(input, context);
|
|
232
|
+
const headers = {};
|
|
233
|
+
b.bp("/identity/admin/users/{userId}/account-state");
|
|
234
|
+
b.p('userId', () => input.userId, '{userId}', false);
|
|
235
|
+
let body;
|
|
236
|
+
b.m("GET")
|
|
237
|
+
.h(headers)
|
|
238
|
+
.b(body);
|
|
239
|
+
return b.build();
|
|
240
|
+
};
|
|
241
|
+
export const se_GetAdminPhoneStatusCommand = async (input, context) => {
|
|
242
|
+
const b = rb(input, context);
|
|
243
|
+
const headers = {
|
|
244
|
+
'content-type': 'application/json',
|
|
245
|
+
};
|
|
246
|
+
b.bp("/identity/admin/phone-status");
|
|
247
|
+
let body;
|
|
248
|
+
body = JSON.stringify(take(input, {
|
|
249
|
+
'phoneNumber': [],
|
|
250
|
+
}));
|
|
251
|
+
b.m("POST")
|
|
252
|
+
.h(headers)
|
|
253
|
+
.b(body);
|
|
254
|
+
return b.build();
|
|
255
|
+
};
|
|
230
256
|
export const se_GetCredentialReadinessCommand = async (input, context) => {
|
|
231
257
|
const b = rb(input, context);
|
|
232
258
|
const headers = {};
|
|
@@ -379,6 +405,26 @@ export const se_SendAdminLinkOtpCommand = async (input, context) => {
|
|
|
379
405
|
.b(body);
|
|
380
406
|
return b.build();
|
|
381
407
|
};
|
|
408
|
+
export const se_SetAccountStateCommand = async (input, context) => {
|
|
409
|
+
const b = rb(input, context);
|
|
410
|
+
const headers = {
|
|
411
|
+
'content-type': 'application/json',
|
|
412
|
+
};
|
|
413
|
+
b.bp("/identity/admin/users/{userId}/account-state");
|
|
414
|
+
b.p('userId', () => input.userId, '{userId}', false);
|
|
415
|
+
let body;
|
|
416
|
+
body = JSON.stringify(take(input, {
|
|
417
|
+
'actor': [],
|
|
418
|
+
'expectedVersion': [],
|
|
419
|
+
'reasonCode': [],
|
|
420
|
+
'state': [],
|
|
421
|
+
'until': [],
|
|
422
|
+
}));
|
|
423
|
+
b.m("POST")
|
|
424
|
+
.h(headers)
|
|
425
|
+
.b(body);
|
|
426
|
+
return b.build();
|
|
427
|
+
};
|
|
382
428
|
export const se_UnlinkSocialCommand = async (input, context) => {
|
|
383
429
|
const b = rb(input, context);
|
|
384
430
|
const headers = {};
|
|
@@ -482,6 +528,38 @@ export const se_DiscoverCommand = async (input, context) => {
|
|
|
482
528
|
.b(body);
|
|
483
529
|
return b.build();
|
|
484
530
|
};
|
|
531
|
+
export const se_DiscoverByIntentCommand = async (input, context) => {
|
|
532
|
+
const b = rb(input, context);
|
|
533
|
+
const headers = {
|
|
534
|
+
'content-type': 'application/json',
|
|
535
|
+
};
|
|
536
|
+
b.bp("/matching/discover/intent");
|
|
537
|
+
let body;
|
|
538
|
+
body = JSON.stringify(take(input, {
|
|
539
|
+
'description': [],
|
|
540
|
+
'lat': _ => __serializeFloat(_),
|
|
541
|
+
'lon': _ => __serializeFloat(_),
|
|
542
|
+
}));
|
|
543
|
+
b.m("POST")
|
|
544
|
+
.h(headers)
|
|
545
|
+
.b(body);
|
|
546
|
+
return b.build();
|
|
547
|
+
};
|
|
548
|
+
export const se_DiscoverSuggestedCommand = async (input, context) => {
|
|
549
|
+
const b = rb(input, context);
|
|
550
|
+
const headers = {};
|
|
551
|
+
b.bp("/matching/discover/suggested");
|
|
552
|
+
const query = map({
|
|
553
|
+
[_l]: [__expectNonNull(input.lat, `lat`) != null, () => ((input[_l] % 1 == 0) ? input[_l] + ".0" : input[_l].toString())],
|
|
554
|
+
[_lo]: [__expectNonNull(input.lon, `lon`) != null, () => ((input[_lo] % 1 == 0) ? input[_lo] + ".0" : input[_lo].toString())],
|
|
555
|
+
});
|
|
556
|
+
let body;
|
|
557
|
+
b.m("GET")
|
|
558
|
+
.h(headers)
|
|
559
|
+
.q(query)
|
|
560
|
+
.b(body);
|
|
561
|
+
return b.build();
|
|
562
|
+
};
|
|
485
563
|
export const se_GetNotificationPreferencesCommand = async (input, context) => {
|
|
486
564
|
const b = rb(input, context);
|
|
487
565
|
const headers = {};
|
|
@@ -1083,6 +1161,37 @@ export const de_GenerateInviteCommand = async (output, context) => {
|
|
|
1083
1161
|
Object.assign(contents, doc);
|
|
1084
1162
|
return contents;
|
|
1085
1163
|
};
|
|
1164
|
+
export const de_GetAccountStateCommand = async (output, context) => {
|
|
1165
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1166
|
+
return de_CommandError(output, context);
|
|
1167
|
+
}
|
|
1168
|
+
const contents = map({
|
|
1169
|
+
$metadata: deserializeMetadata(output),
|
|
1170
|
+
});
|
|
1171
|
+
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
1172
|
+
const doc = take(data, {
|
|
1173
|
+
'reasonCode': __expectString,
|
|
1174
|
+
'state': __expectString,
|
|
1175
|
+
'until': __expectLong,
|
|
1176
|
+
'version': __expectInt32,
|
|
1177
|
+
});
|
|
1178
|
+
Object.assign(contents, doc);
|
|
1179
|
+
return contents;
|
|
1180
|
+
};
|
|
1181
|
+
export const de_GetAdminPhoneStatusCommand = async (output, context) => {
|
|
1182
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1183
|
+
return de_CommandError(output, context);
|
|
1184
|
+
}
|
|
1185
|
+
const contents = map({
|
|
1186
|
+
$metadata: deserializeMetadata(output),
|
|
1187
|
+
});
|
|
1188
|
+
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
1189
|
+
const doc = take(data, {
|
|
1190
|
+
'registered': __expectBoolean,
|
|
1191
|
+
});
|
|
1192
|
+
Object.assign(contents, doc);
|
|
1193
|
+
return contents;
|
|
1194
|
+
};
|
|
1086
1195
|
export const de_GetCredentialReadinessCommand = async (output, context) => {
|
|
1087
1196
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1088
1197
|
return de_CommandError(output, context);
|
|
@@ -1258,6 +1367,22 @@ export const de_SendAdminLinkOtpCommand = async (output, context) => {
|
|
|
1258
1367
|
Object.assign(contents, doc);
|
|
1259
1368
|
return contents;
|
|
1260
1369
|
};
|
|
1370
|
+
export const de_SetAccountStateCommand = async (output, context) => {
|
|
1371
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1372
|
+
return de_CommandError(output, context);
|
|
1373
|
+
}
|
|
1374
|
+
const contents = map({
|
|
1375
|
+
$metadata: deserializeMetadata(output),
|
|
1376
|
+
});
|
|
1377
|
+
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
1378
|
+
const doc = take(data, {
|
|
1379
|
+
'state': __expectString,
|
|
1380
|
+
'until': __expectLong,
|
|
1381
|
+
'version': __expectInt32,
|
|
1382
|
+
});
|
|
1383
|
+
Object.assign(contents, doc);
|
|
1384
|
+
return contents;
|
|
1385
|
+
};
|
|
1261
1386
|
export const de_UnlinkSocialCommand = async (output, context) => {
|
|
1262
1387
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1263
1388
|
return de_CommandError(output, context);
|
|
@@ -1366,6 +1491,38 @@ export const de_DiscoverCommand = async (output, context) => {
|
|
|
1366
1491
|
Object.assign(contents, doc);
|
|
1367
1492
|
return contents;
|
|
1368
1493
|
};
|
|
1494
|
+
export const de_DiscoverByIntentCommand = async (output, context) => {
|
|
1495
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1496
|
+
return de_CommandError(output, context);
|
|
1497
|
+
}
|
|
1498
|
+
const contents = map({
|
|
1499
|
+
$metadata: deserializeMetadata(output),
|
|
1500
|
+
});
|
|
1501
|
+
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
1502
|
+
const doc = take(data, {
|
|
1503
|
+
'algorithm': __expectString,
|
|
1504
|
+
'candidates': _ => de_CandidateList(_, context),
|
|
1505
|
+
'count': __expectInt32,
|
|
1506
|
+
});
|
|
1507
|
+
Object.assign(contents, doc);
|
|
1508
|
+
return contents;
|
|
1509
|
+
};
|
|
1510
|
+
export const de_DiscoverSuggestedCommand = async (output, context) => {
|
|
1511
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1512
|
+
return de_CommandError(output, context);
|
|
1513
|
+
}
|
|
1514
|
+
const contents = map({
|
|
1515
|
+
$metadata: deserializeMetadata(output),
|
|
1516
|
+
});
|
|
1517
|
+
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
1518
|
+
const doc = take(data, {
|
|
1519
|
+
'algorithm': __expectString,
|
|
1520
|
+
'candidates': _ => de_CandidateList(_, context),
|
|
1521
|
+
'count': __expectInt32,
|
|
1522
|
+
});
|
|
1523
|
+
Object.assign(contents, doc);
|
|
1524
|
+
return contents;
|
|
1525
|
+
};
|
|
1369
1526
|
export const de_GetNotificationPreferencesCommand = async (output, context) => {
|
|
1370
1527
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1371
1528
|
return de_CommandError(output, context);
|
|
@@ -1861,6 +2018,9 @@ const de_CommandError = async (output, context) => {
|
|
|
1861
2018
|
case "DeviceLimitError":
|
|
1862
2019
|
case "club.onehook.chat#DeviceLimitError":
|
|
1863
2020
|
throw await de_DeviceLimitErrorRes(parsedOutput, context);
|
|
2021
|
+
case "ConflictError":
|
|
2022
|
+
case "club.onehook.identity#ConflictError":
|
|
2023
|
+
throw await de_ConflictErrorRes(parsedOutput, context);
|
|
1864
2024
|
default:
|
|
1865
2025
|
const parsedBody = parsedOutput.body;
|
|
1866
2026
|
return throwDefaultError({
|
|
@@ -1910,6 +2070,19 @@ const de_BadRequestErrorRes = async (parsedOutput, context) => {
|
|
|
1910
2070
|
});
|
|
1911
2071
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
1912
2072
|
};
|
|
2073
|
+
const de_ConflictErrorRes = async (parsedOutput, context) => {
|
|
2074
|
+
const contents = map({});
|
|
2075
|
+
const data = parsedOutput.body;
|
|
2076
|
+
const doc = take(data, {
|
|
2077
|
+
'error': __expectString,
|
|
2078
|
+
});
|
|
2079
|
+
Object.assign(contents, doc);
|
|
2080
|
+
const exception = new ConflictError({
|
|
2081
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2082
|
+
...contents
|
|
2083
|
+
});
|
|
2084
|
+
return __decorateServiceException(exception, parsedOutput.body);
|
|
2085
|
+
};
|
|
1913
2086
|
const de_InternalServerErrorRes = async (parsedOutput, context) => {
|
|
1914
2087
|
const contents = map({});
|
|
1915
2088
|
const data = parsedOutput.body;
|
|
@@ -1939,7 +2112,11 @@ const de_NotFoundErrorRes = async (parsedOutput, context) => {
|
|
|
1939
2112
|
const de_CandidateDto = (output, context) => {
|
|
1940
2113
|
return take(output, {
|
|
1941
2114
|
'distanceKm': __limitedParseDouble,
|
|
2115
|
+
'matchFinder': __expectString,
|
|
2116
|
+
'matchFinderLabel': __expectString,
|
|
1942
2117
|
'score': __limitedParseDouble,
|
|
2118
|
+
'similarity': __limitedParseDouble,
|
|
2119
|
+
'suggestionBasis': __expectString,
|
|
1943
2120
|
'userId': __expectString,
|
|
1944
2121
|
});
|
|
1945
2122
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export const TELEMETRY_CATALOG_VERSION = "1.
|
|
2
|
-
export const TELEMETRY_CATALOG_HASH = "
|
|
1
|
+
export const TELEMETRY_CATALOG_VERSION = "1.5.0";
|
|
2
|
+
export const TELEMETRY_CATALOG_HASH = "4ab81c4d5f20cdb7";
|
|
3
3
|
export const SignalType = {
|
|
4
4
|
SCREEN_VIEW: "screen_view",
|
|
5
5
|
UI_INTERACTION: "ui_interaction",
|
|
@@ -30,6 +30,8 @@ export const Screen = {
|
|
|
30
30
|
LANDING: "LANDING",
|
|
31
31
|
LOGIN: "LOGIN",
|
|
32
32
|
REDEEM_INVITE: "REDEEM_INVITE",
|
|
33
|
+
ADMISSIONS: "ADMISSIONS",
|
|
34
|
+
ADMISSIONS_STATUS: "ADMISSIONS_STATUS",
|
|
33
35
|
ONBOARDING: "ONBOARDING",
|
|
34
36
|
DISCOVER: "DISCOVER",
|
|
35
37
|
LIKE_COMPOSER: "LIKE_COMPOSER",
|
|
@@ -54,6 +56,8 @@ export const ViewableScreen = {
|
|
|
54
56
|
LANDING: "LANDING",
|
|
55
57
|
LOGIN: "LOGIN",
|
|
56
58
|
REDEEM_INVITE: "REDEEM_INVITE",
|
|
59
|
+
ADMISSIONS: "ADMISSIONS",
|
|
60
|
+
ADMISSIONS_STATUS: "ADMISSIONS_STATUS",
|
|
57
61
|
ONBOARDING: "ONBOARDING",
|
|
58
62
|
DISCOVER: "DISCOVER",
|
|
59
63
|
LIKE_COMPOSER: "LIKE_COMPOSER",
|
|
@@ -188,6 +192,22 @@ export const UiElement = {
|
|
|
188
192
|
REDEEM_INVITE_LOGIN: "redeem_invite.login",
|
|
189
193
|
REDEEM_INVITE_CLOSE: "redeem_invite.close",
|
|
190
194
|
REDEEM_INVITE_RESEND_CODE: "redeem_invite.resend_code",
|
|
195
|
+
REDEEM_INVITE_GET_INVITE_VIDEO: "redeem_invite.get_invite_video",
|
|
196
|
+
ADMISSIONS_SUBMIT: "admissions.submit",
|
|
197
|
+
ADMISSIONS_RESEND_CODE: "admissions.resend_code",
|
|
198
|
+
ADMISSIONS_CONSENT_TOGGLE: "admissions.consent_toggle",
|
|
199
|
+
ADMISSIONS_PRIVACY_POLICY: "admissions.privacy_policy",
|
|
200
|
+
ADMISSIONS_RECORD_START: "admissions.record_start",
|
|
201
|
+
ADMISSIONS_RECORD_STOP: "admissions.record_stop",
|
|
202
|
+
ADMISSIONS_RETAKE: "admissions.retake",
|
|
203
|
+
ADMISSIONS_PREVIEW_PLAY: "admissions.preview_play",
|
|
204
|
+
ADMISSIONS_UPLOAD_RETRY: "admissions.upload_retry",
|
|
205
|
+
ADMISSIONS_CLOSE: "admissions.close",
|
|
206
|
+
ADMISSIONS_OPEN_SETTINGS: "admissions.open_settings",
|
|
207
|
+
ADMISSIONS_STATUS_REFRESH: "admissions_status.refresh",
|
|
208
|
+
ADMISSIONS_STATUS_CONTINUE_INVITE: "admissions_status.continue_invite",
|
|
209
|
+
ADMISSIONS_STATUS_WITHDRAW: "admissions_status.withdraw",
|
|
210
|
+
ADMISSIONS_STATUS_TRAINING_OPT_OUT: "admissions_status.training_opt_out",
|
|
191
211
|
ONBOARDING_NEXT: "onboarding.next",
|
|
192
212
|
ONBOARDING_BACK: "onboarding.back",
|
|
193
213
|
ONBOARDING_FINISH: "onboarding.finish",
|
|
@@ -413,6 +433,22 @@ export const UI_ELEMENTS = {
|
|
|
413
433
|
"redeem_invite.login": { screen: "REDEEM_INVITE", kind: "link", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
|
|
414
434
|
"redeem_invite.close": { screen: "REDEEM_INVITE", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
|
|
415
435
|
"redeem_invite.resend_code": { screen: "REDEEM_INVITE", kind: "link", actions: ["tap"], values: null, platforms: ["web", "ios"] },
|
|
436
|
+
"redeem_invite.get_invite_video": { screen: "REDEEM_INVITE", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
|
|
437
|
+
"admissions.submit": { screen: "ADMISSIONS", kind: "button", actions: ["submit"], values: ["send_code", "verify_code", "submit_application"], platforms: ["ios", "android"] },
|
|
438
|
+
"admissions.resend_code": { screen: "ADMISSIONS", kind: "link", actions: ["tap"], values: null, platforms: ["ios", "android"] },
|
|
439
|
+
"admissions.consent_toggle": { screen: "ADMISSIONS", kind: "toggle", actions: ["toggle"], values: ["checked", "unchecked"], platforms: ["ios", "android"] },
|
|
440
|
+
"admissions.privacy_policy": { screen: "ADMISSIONS", kind: "link", actions: ["tap"], values: null, platforms: ["ios", "android"] },
|
|
441
|
+
"admissions.record_start": { screen: "ADMISSIONS", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
|
|
442
|
+
"admissions.record_stop": { screen: "ADMISSIONS", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
|
|
443
|
+
"admissions.retake": { screen: "ADMISSIONS", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
|
|
444
|
+
"admissions.preview_play": { screen: "ADMISSIONS", kind: "toggle", actions: ["toggle"], values: ["play", "pause"], platforms: ["ios", "android"] },
|
|
445
|
+
"admissions.upload_retry": { screen: "ADMISSIONS", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
|
|
446
|
+
"admissions.close": { screen: "ADMISSIONS", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
|
|
447
|
+
"admissions.open_settings": { screen: "ADMISSIONS", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
|
|
448
|
+
"admissions_status.refresh": { screen: "ADMISSIONS_STATUS", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
|
|
449
|
+
"admissions_status.continue_invite": { screen: "ADMISSIONS_STATUS", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
|
|
450
|
+
"admissions_status.withdraw": { screen: "ADMISSIONS_STATUS", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
|
|
451
|
+
"admissions_status.training_opt_out": { screen: "ADMISSIONS_STATUS", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
|
|
416
452
|
"onboarding.next": { screen: "ONBOARDING", kind: "button", actions: ["submit"], values: ["basics", "photos", "media", "prompts", "details"], platforms: ["web", "ios"] },
|
|
417
453
|
"onboarding.back": { screen: "ONBOARDING", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios"] },
|
|
418
454
|
"onboarding.finish": { screen: "ONBOARDING", kind: "button", actions: ["submit"], values: null, platforms: ["web", "ios", "android"] },
|
package/dist-types/OneHook.d.ts
CHANGED
|
@@ -9,10 +9,14 @@ import { CreateMediaUploadUrlCommandInput, CreateMediaUploadUrlCommandOutput } f
|
|
|
9
9
|
import { DeleteMatchMessagesCommandInput, DeleteMatchMessagesCommandOutput } from "./commands/DeleteMatchMessagesCommand";
|
|
10
10
|
import { DeleteProfileCommandInput, DeleteProfileCommandOutput } from "./commands/DeleteProfileCommand";
|
|
11
11
|
import { DeletePushTokenCommandInput, DeletePushTokenCommandOutput } from "./commands/DeletePushTokenCommand";
|
|
12
|
+
import { DiscoverByIntentCommandInput, DiscoverByIntentCommandOutput } from "./commands/DiscoverByIntentCommand";
|
|
12
13
|
import { DiscoverCommandInput, DiscoverCommandOutput } from "./commands/DiscoverCommand";
|
|
14
|
+
import { DiscoverSuggestedCommandInput, DiscoverSuggestedCommandOutput } from "./commands/DiscoverSuggestedCommand";
|
|
13
15
|
import { GenerateDownloadUrlCommandInput, GenerateDownloadUrlCommandOutput } from "./commands/GenerateDownloadUrlCommand";
|
|
14
16
|
import { GenerateInviteCommandInput, GenerateInviteCommandOutput } from "./commands/GenerateInviteCommand";
|
|
15
17
|
import { GenerateUploadUrlCommandInput, GenerateUploadUrlCommandOutput } from "./commands/GenerateUploadUrlCommand";
|
|
18
|
+
import { GetAccountStateCommandInput, GetAccountStateCommandOutput } from "./commands/GetAccountStateCommand";
|
|
19
|
+
import { GetAdminPhoneStatusCommandInput, GetAdminPhoneStatusCommandOutput } from "./commands/GetAdminPhoneStatusCommand";
|
|
16
20
|
import { GetAiContextMatchCommandInput, GetAiContextMatchCommandOutput } from "./commands/GetAiContextMatchCommand";
|
|
17
21
|
import { GetChatSettingsCommandInput, GetChatSettingsCommandOutput } from "./commands/GetChatSettingsCommand";
|
|
18
22
|
import { GetCredentialReadinessCommandInput, GetCredentialReadinessCommandOutput } from "./commands/GetCredentialReadinessCommand";
|
|
@@ -43,6 +47,7 @@ import { RequestPhoneOtpCommandInput, RequestPhoneOtpCommandOutput } from "./com
|
|
|
43
47
|
import { RequestPhoneUpdateOtpCommandInput, RequestPhoneUpdateOtpCommandOutput } from "./commands/RequestPhoneUpdateOtpCommand";
|
|
44
48
|
import { RevokeDeviceCommandInput, RevokeDeviceCommandOutput } from "./commands/RevokeDeviceCommand";
|
|
45
49
|
import { SendAdminLinkOtpCommandInput, SendAdminLinkOtpCommandOutput } from "./commands/SendAdminLinkOtpCommand";
|
|
50
|
+
import { SetAccountStateCommandInput, SetAccountStateCommandOutput } from "./commands/SetAccountStateCommand";
|
|
46
51
|
import { SwipeByUsernameCommandInput, SwipeByUsernameCommandOutput } from "./commands/SwipeByUsernameCommand";
|
|
47
52
|
import { SwipeCommandInput, SwipeCommandOutput } from "./commands/SwipeCommand";
|
|
48
53
|
import { UnhookCommandInput, UnhookCommandOutput } from "./commands/UnhookCommand";
|
|
@@ -151,6 +156,18 @@ export interface OneHook {
|
|
|
151
156
|
generateInvite(args: GenerateInviteCommandInput, options?: __HttpHandlerOptions): Promise<GenerateInviteCommandOutput>;
|
|
152
157
|
generateInvite(args: GenerateInviteCommandInput, cb: (err: any, data?: GenerateInviteCommandOutput) => void): void;
|
|
153
158
|
generateInvite(args: GenerateInviteCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GenerateInviteCommandOutput) => void): void;
|
|
159
|
+
/**
|
|
160
|
+
* @see {@link GetAccountStateCommand}
|
|
161
|
+
*/
|
|
162
|
+
getAccountState(args: GetAccountStateCommandInput, options?: __HttpHandlerOptions): Promise<GetAccountStateCommandOutput>;
|
|
163
|
+
getAccountState(args: GetAccountStateCommandInput, cb: (err: any, data?: GetAccountStateCommandOutput) => void): void;
|
|
164
|
+
getAccountState(args: GetAccountStateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAccountStateCommandOutput) => void): void;
|
|
165
|
+
/**
|
|
166
|
+
* @see {@link GetAdminPhoneStatusCommand}
|
|
167
|
+
*/
|
|
168
|
+
getAdminPhoneStatus(args: GetAdminPhoneStatusCommandInput, options?: __HttpHandlerOptions): Promise<GetAdminPhoneStatusCommandOutput>;
|
|
169
|
+
getAdminPhoneStatus(args: GetAdminPhoneStatusCommandInput, cb: (err: any, data?: GetAdminPhoneStatusCommandOutput) => void): void;
|
|
170
|
+
getAdminPhoneStatus(args: GetAdminPhoneStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAdminPhoneStatusCommandOutput) => void): void;
|
|
154
171
|
/**
|
|
155
172
|
* @see {@link GetCredentialReadinessCommand}
|
|
156
173
|
*/
|
|
@@ -217,6 +234,12 @@ export interface OneHook {
|
|
|
217
234
|
sendAdminLinkOtp(args: SendAdminLinkOtpCommandInput, options?: __HttpHandlerOptions): Promise<SendAdminLinkOtpCommandOutput>;
|
|
218
235
|
sendAdminLinkOtp(args: SendAdminLinkOtpCommandInput, cb: (err: any, data?: SendAdminLinkOtpCommandOutput) => void): void;
|
|
219
236
|
sendAdminLinkOtp(args: SendAdminLinkOtpCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SendAdminLinkOtpCommandOutput) => void): void;
|
|
237
|
+
/**
|
|
238
|
+
* @see {@link SetAccountStateCommand}
|
|
239
|
+
*/
|
|
240
|
+
setAccountState(args: SetAccountStateCommandInput, options?: __HttpHandlerOptions): Promise<SetAccountStateCommandOutput>;
|
|
241
|
+
setAccountState(args: SetAccountStateCommandInput, cb: (err: any, data?: SetAccountStateCommandOutput) => void): void;
|
|
242
|
+
setAccountState(args: SetAccountStateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SetAccountStateCommandOutput) => void): void;
|
|
220
243
|
/**
|
|
221
244
|
* @see {@link UnlinkSocialCommand}
|
|
222
245
|
*/
|
|
@@ -259,6 +282,18 @@ export interface OneHook {
|
|
|
259
282
|
discover(args: DiscoverCommandInput, options?: __HttpHandlerOptions): Promise<DiscoverCommandOutput>;
|
|
260
283
|
discover(args: DiscoverCommandInput, cb: (err: any, data?: DiscoverCommandOutput) => void): void;
|
|
261
284
|
discover(args: DiscoverCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DiscoverCommandOutput) => void): void;
|
|
285
|
+
/**
|
|
286
|
+
* @see {@link DiscoverByIntentCommand}
|
|
287
|
+
*/
|
|
288
|
+
discoverByIntent(args: DiscoverByIntentCommandInput, options?: __HttpHandlerOptions): Promise<DiscoverByIntentCommandOutput>;
|
|
289
|
+
discoverByIntent(args: DiscoverByIntentCommandInput, cb: (err: any, data?: DiscoverByIntentCommandOutput) => void): void;
|
|
290
|
+
discoverByIntent(args: DiscoverByIntentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DiscoverByIntentCommandOutput) => void): void;
|
|
291
|
+
/**
|
|
292
|
+
* @see {@link DiscoverSuggestedCommand}
|
|
293
|
+
*/
|
|
294
|
+
discoverSuggested(args: DiscoverSuggestedCommandInput, options?: __HttpHandlerOptions): Promise<DiscoverSuggestedCommandOutput>;
|
|
295
|
+
discoverSuggested(args: DiscoverSuggestedCommandInput, cb: (err: any, data?: DiscoverSuggestedCommandOutput) => void): void;
|
|
296
|
+
discoverSuggested(args: DiscoverSuggestedCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DiscoverSuggestedCommandOutput) => void): void;
|
|
262
297
|
/**
|
|
263
298
|
* @see {@link GetNotificationPreferencesCommand}
|
|
264
299
|
*/
|
|
@@ -9,10 +9,14 @@ import { CreateMediaUploadUrlCommandInput, CreateMediaUploadUrlCommandOutput } f
|
|
|
9
9
|
import { DeleteMatchMessagesCommandInput, DeleteMatchMessagesCommandOutput } from "./commands/DeleteMatchMessagesCommand";
|
|
10
10
|
import { DeleteProfileCommandInput, DeleteProfileCommandOutput } from "./commands/DeleteProfileCommand";
|
|
11
11
|
import { DeletePushTokenCommandInput, DeletePushTokenCommandOutput } from "./commands/DeletePushTokenCommand";
|
|
12
|
+
import { DiscoverByIntentCommandInput, DiscoverByIntentCommandOutput } from "./commands/DiscoverByIntentCommand";
|
|
12
13
|
import { DiscoverCommandInput, DiscoverCommandOutput } from "./commands/DiscoverCommand";
|
|
14
|
+
import { DiscoverSuggestedCommandInput, DiscoverSuggestedCommandOutput } from "./commands/DiscoverSuggestedCommand";
|
|
13
15
|
import { GenerateDownloadUrlCommandInput, GenerateDownloadUrlCommandOutput } from "./commands/GenerateDownloadUrlCommand";
|
|
14
16
|
import { GenerateInviteCommandInput, GenerateInviteCommandOutput } from "./commands/GenerateInviteCommand";
|
|
15
17
|
import { GenerateUploadUrlCommandInput, GenerateUploadUrlCommandOutput } from "./commands/GenerateUploadUrlCommand";
|
|
18
|
+
import { GetAccountStateCommandInput, GetAccountStateCommandOutput } from "./commands/GetAccountStateCommand";
|
|
19
|
+
import { GetAdminPhoneStatusCommandInput, GetAdminPhoneStatusCommandOutput } from "./commands/GetAdminPhoneStatusCommand";
|
|
16
20
|
import { GetAiContextMatchCommandInput, GetAiContextMatchCommandOutput } from "./commands/GetAiContextMatchCommand";
|
|
17
21
|
import { GetChatSettingsCommandInput, GetChatSettingsCommandOutput } from "./commands/GetChatSettingsCommand";
|
|
18
22
|
import { GetCredentialReadinessCommandInput, GetCredentialReadinessCommandOutput } from "./commands/GetCredentialReadinessCommand";
|
|
@@ -43,6 +47,7 @@ import { RequestPhoneOtpCommandInput, RequestPhoneOtpCommandOutput } from "./com
|
|
|
43
47
|
import { RequestPhoneUpdateOtpCommandInput, RequestPhoneUpdateOtpCommandOutput } from "./commands/RequestPhoneUpdateOtpCommand";
|
|
44
48
|
import { RevokeDeviceCommandInput, RevokeDeviceCommandOutput } from "./commands/RevokeDeviceCommand";
|
|
45
49
|
import { SendAdminLinkOtpCommandInput, SendAdminLinkOtpCommandOutput } from "./commands/SendAdminLinkOtpCommand";
|
|
50
|
+
import { SetAccountStateCommandInput, SetAccountStateCommandOutput } from "./commands/SetAccountStateCommand";
|
|
46
51
|
import { SwipeByUsernameCommandInput, SwipeByUsernameCommandOutput } from "./commands/SwipeByUsernameCommand";
|
|
47
52
|
import { SwipeCommandInput, SwipeCommandOutput } from "./commands/SwipeCommand";
|
|
48
53
|
import { UnhookCommandInput, UnhookCommandOutput } from "./commands/UnhookCommand";
|
|
@@ -68,11 +73,11 @@ export { __Client };
|
|
|
68
73
|
/**
|
|
69
74
|
* @public
|
|
70
75
|
*/
|
|
71
|
-
export type ServiceInputTypes = AuthSocialCommandInput | CompleteLivenessSessionCommandInput | CompleteOnboardingCommandInput | CreateAdminInviteCommandInput | CreateLivenessSessionCommandInput | CreateMediaDownloadUrlCommandInput | CreateMediaUploadUrlCommandInput | DeleteMatchMessagesCommandInput | DeleteProfileCommandInput | DeletePushTokenCommandInput | DiscoverCommandInput | GenerateDownloadUrlCommandInput | GenerateInviteCommandInput | GenerateUploadUrlCommandInput | GetAiContextMatchCommandInput | GetChatSettingsCommandInput | GetCredentialReadinessCommandInput | GetLivenessStatusCommandInput | GetMatchCommandInput | GetMyProfileCommandInput | GetNotificationPreferencesCommandInput | GetParticipantRegistryCommandInput | GetPreferencesCommandInput | GetProfileCommandInput | GetReceivedLikesCommandInput | GetRosesCommandInput | GetStateCommandInput | GetUserByEmailCommandInput | GetUserCommandInput | GetUserIdByUsernameCommandInput | IndexLocationCommandInput | InitUserCommandInput | LinkEmailCommandInput | LinkSocialCommandInput | ListMyDevicesCommandInput | RegisterDeviceCommandInput | RegisterPhoneCommandInput | RegisterPushTokenCommandInput | RemoveLocationCommandInput | RequestEmailOtpCommandInput | RequestPhoneOtpCommandInput | RequestPhoneUpdateOtpCommandInput | RevokeDeviceCommandInput | SendAdminLinkOtpCommandInput | SwipeByUsernameCommandInput | SwipeCommandInput | UnhookCommandInput | UnlinkSocialCommandInput | UpdateChatSettingsCommandInput | UpdateEntitlementsCommandInput | UpdatePhoneNumberCommandInput | UpdatePreferencesCommandInput | UpdateProfileCommandInput | UpdateUsernameCommandInput | UpgradeUserCommandInput | ValidateInviteCommandInput | VerifyAdminLinkOtpCommandInput;
|
|
76
|
+
export type ServiceInputTypes = AuthSocialCommandInput | CompleteLivenessSessionCommandInput | CompleteOnboardingCommandInput | CreateAdminInviteCommandInput | CreateLivenessSessionCommandInput | CreateMediaDownloadUrlCommandInput | CreateMediaUploadUrlCommandInput | DeleteMatchMessagesCommandInput | DeleteProfileCommandInput | DeletePushTokenCommandInput | DiscoverByIntentCommandInput | DiscoverCommandInput | DiscoverSuggestedCommandInput | GenerateDownloadUrlCommandInput | GenerateInviteCommandInput | GenerateUploadUrlCommandInput | GetAccountStateCommandInput | GetAdminPhoneStatusCommandInput | GetAiContextMatchCommandInput | GetChatSettingsCommandInput | GetCredentialReadinessCommandInput | GetLivenessStatusCommandInput | GetMatchCommandInput | GetMyProfileCommandInput | GetNotificationPreferencesCommandInput | GetParticipantRegistryCommandInput | GetPreferencesCommandInput | GetProfileCommandInput | GetReceivedLikesCommandInput | GetRosesCommandInput | GetStateCommandInput | GetUserByEmailCommandInput | GetUserCommandInput | GetUserIdByUsernameCommandInput | IndexLocationCommandInput | InitUserCommandInput | LinkEmailCommandInput | LinkSocialCommandInput | ListMyDevicesCommandInput | RegisterDeviceCommandInput | RegisterPhoneCommandInput | RegisterPushTokenCommandInput | RemoveLocationCommandInput | RequestEmailOtpCommandInput | RequestPhoneOtpCommandInput | RequestPhoneUpdateOtpCommandInput | RevokeDeviceCommandInput | SendAdminLinkOtpCommandInput | SetAccountStateCommandInput | SwipeByUsernameCommandInput | SwipeCommandInput | UnhookCommandInput | UnlinkSocialCommandInput | UpdateChatSettingsCommandInput | UpdateEntitlementsCommandInput | UpdatePhoneNumberCommandInput | UpdatePreferencesCommandInput | UpdateProfileCommandInput | UpdateUsernameCommandInput | UpgradeUserCommandInput | ValidateInviteCommandInput | VerifyAdminLinkOtpCommandInput;
|
|
72
77
|
/**
|
|
73
78
|
* @public
|
|
74
79
|
*/
|
|
75
|
-
export type ServiceOutputTypes = AuthSocialCommandOutput | CompleteLivenessSessionCommandOutput | CompleteOnboardingCommandOutput | CreateAdminInviteCommandOutput | CreateLivenessSessionCommandOutput | CreateMediaDownloadUrlCommandOutput | CreateMediaUploadUrlCommandOutput | DeleteMatchMessagesCommandOutput | DeleteProfileCommandOutput | DeletePushTokenCommandOutput | DiscoverCommandOutput | GenerateDownloadUrlCommandOutput | GenerateInviteCommandOutput | GenerateUploadUrlCommandOutput | GetAiContextMatchCommandOutput | GetChatSettingsCommandOutput | GetCredentialReadinessCommandOutput | GetLivenessStatusCommandOutput | GetMatchCommandOutput | GetMyProfileCommandOutput | GetNotificationPreferencesCommandOutput | GetParticipantRegistryCommandOutput | GetPreferencesCommandOutput | GetProfileCommandOutput | GetReceivedLikesCommandOutput | GetRosesCommandOutput | GetStateCommandOutput | GetUserByEmailCommandOutput | GetUserCommandOutput | GetUserIdByUsernameCommandOutput | IndexLocationCommandOutput | InitUserCommandOutput | LinkEmailCommandOutput | LinkSocialCommandOutput | ListMyDevicesCommandOutput | RegisterDeviceCommandOutput | RegisterPhoneCommandOutput | RegisterPushTokenCommandOutput | RemoveLocationCommandOutput | RequestEmailOtpCommandOutput | RequestPhoneOtpCommandOutput | RequestPhoneUpdateOtpCommandOutput | RevokeDeviceCommandOutput | SendAdminLinkOtpCommandOutput | SwipeByUsernameCommandOutput | SwipeCommandOutput | UnhookCommandOutput | UnlinkSocialCommandOutput | UpdateChatSettingsCommandOutput | UpdateEntitlementsCommandOutput | UpdatePhoneNumberCommandOutput | UpdatePreferencesCommandOutput | UpdateProfileCommandOutput | UpdateUsernameCommandOutput | UpgradeUserCommandOutput | ValidateInviteCommandOutput | VerifyAdminLinkOtpCommandOutput;
|
|
80
|
+
export type ServiceOutputTypes = AuthSocialCommandOutput | CompleteLivenessSessionCommandOutput | CompleteOnboardingCommandOutput | CreateAdminInviteCommandOutput | CreateLivenessSessionCommandOutput | CreateMediaDownloadUrlCommandOutput | CreateMediaUploadUrlCommandOutput | DeleteMatchMessagesCommandOutput | DeleteProfileCommandOutput | DeletePushTokenCommandOutput | DiscoverByIntentCommandOutput | DiscoverCommandOutput | DiscoverSuggestedCommandOutput | GenerateDownloadUrlCommandOutput | GenerateInviteCommandOutput | GenerateUploadUrlCommandOutput | GetAccountStateCommandOutput | GetAdminPhoneStatusCommandOutput | GetAiContextMatchCommandOutput | GetChatSettingsCommandOutput | GetCredentialReadinessCommandOutput | GetLivenessStatusCommandOutput | GetMatchCommandOutput | GetMyProfileCommandOutput | GetNotificationPreferencesCommandOutput | GetParticipantRegistryCommandOutput | GetPreferencesCommandOutput | GetProfileCommandOutput | GetReceivedLikesCommandOutput | GetRosesCommandOutput | GetStateCommandOutput | GetUserByEmailCommandOutput | GetUserCommandOutput | GetUserIdByUsernameCommandOutput | IndexLocationCommandOutput | InitUserCommandOutput | LinkEmailCommandOutput | LinkSocialCommandOutput | ListMyDevicesCommandOutput | RegisterDeviceCommandOutput | RegisterPhoneCommandOutput | RegisterPushTokenCommandOutput | RemoveLocationCommandOutput | RequestEmailOtpCommandOutput | RequestPhoneOtpCommandOutput | RequestPhoneUpdateOtpCommandOutput | RevokeDeviceCommandOutput | SendAdminLinkOtpCommandOutput | SetAccountStateCommandOutput | SwipeByUsernameCommandOutput | SwipeCommandOutput | UnhookCommandOutput | UnlinkSocialCommandOutput | UpdateChatSettingsCommandOutput | UpdateEntitlementsCommandOutput | UpdatePhoneNumberCommandOutput | UpdatePreferencesCommandOutput | UpdateProfileCommandOutput | UpdateUsernameCommandOutput | UpgradeUserCommandOutput | ValidateInviteCommandOutput | VerifyAdminLinkOtpCommandOutput;
|
|
76
81
|
/**
|
|
77
82
|
* @public
|
|
78
83
|
*/
|