onehook-api-client 1.0.5 → 1.0.7
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 +49 -7
- package/dist-cjs/OneHook.js +12 -0
- package/dist-cjs/commands/GenerateDownloadUrlCommand.js +21 -0
- package/dist-cjs/commands/GetLivenessStatusCommand.js +21 -0
- package/dist-cjs/commands/GetParticipantRegistryCommand.js +21 -0
- package/dist-cjs/commands/ListMyDevicesCommand.js +21 -0
- package/dist-cjs/commands/RegisterDeviceCommand.js +21 -0
- package/dist-cjs/commands/RevokeDeviceCommand.js +21 -0
- package/dist-cjs/commands/index.js +6 -0
- package/dist-cjs/models/models_0.js +21 -1
- package/dist-cjs/protocols/Aws_restJson1.js +204 -2
- package/dist-es/OneHook.js +12 -0
- package/dist-es/commands/GenerateDownloadUrlCommand.js +17 -0
- package/dist-es/commands/GetLivenessStatusCommand.js +17 -0
- package/dist-es/commands/GetParticipantRegistryCommand.js +17 -0
- package/dist-es/commands/ListMyDevicesCommand.js +17 -0
- package/dist-es/commands/RegisterDeviceCommand.js +17 -0
- package/dist-es/commands/RevokeDeviceCommand.js +17 -0
- package/dist-es/commands/index.js +6 -0
- package/dist-es/models/models_0.js +19 -0
- package/dist-es/protocols/Aws_restJson1.js +191 -1
- package/dist-types/OneHook.d.ts +44 -0
- package/dist-types/OneHookClient.d.ts +8 -2
- package/dist-types/commands/GenerateDownloadUrlCommand.d.ts +82 -0
- package/dist-types/commands/GetLivenessStatusCommand.d.ts +77 -0
- package/dist-types/commands/GetMyProfileCommand.d.ts +4 -1
- package/dist-types/commands/GetParticipantRegistryCommand.d.ts +99 -0
- package/dist-types/commands/GetProfileCommand.d.ts +4 -1
- package/dist-types/commands/ListMyDevicesCommand.d.ts +89 -0
- package/dist-types/commands/RegisterDeviceCommand.d.ts +112 -0
- package/dist-types/commands/RevokeDeviceCommand.d.ts +81 -0
- package/dist-types/commands/index.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +235 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +54 -0
- package/package.json +1 -1
package/dist-es/OneHook.js
CHANGED
|
@@ -7,10 +7,13 @@ import { CreateLivenessSessionCommand, } from "./commands/CreateLivenessSessionC
|
|
|
7
7
|
import { DeleteMatchMessagesCommand, } from "./commands/DeleteMatchMessagesCommand";
|
|
8
8
|
import { DeleteProfileCommand, } from "./commands/DeleteProfileCommand";
|
|
9
9
|
import { DiscoverCommand, } from "./commands/DiscoverCommand";
|
|
10
|
+
import { GenerateDownloadUrlCommand, } from "./commands/GenerateDownloadUrlCommand";
|
|
10
11
|
import { GenerateInviteCommand, } from "./commands/GenerateInviteCommand";
|
|
11
12
|
import { GenerateUploadUrlCommand, } from "./commands/GenerateUploadUrlCommand";
|
|
13
|
+
import { GetLivenessStatusCommand, } from "./commands/GetLivenessStatusCommand";
|
|
12
14
|
import { GetMatchCommand, } from "./commands/GetMatchCommand";
|
|
13
15
|
import { GetMyProfileCommand, } from "./commands/GetMyProfileCommand";
|
|
16
|
+
import { GetParticipantRegistryCommand, } from "./commands/GetParticipantRegistryCommand";
|
|
14
17
|
import { GetPreferencesCommand, } from "./commands/GetPreferencesCommand";
|
|
15
18
|
import { GetProfileCommand, } from "./commands/GetProfileCommand";
|
|
16
19
|
import { GetStateCommand, } from "./commands/GetStateCommand";
|
|
@@ -20,11 +23,14 @@ import { IndexLocationCommand, } from "./commands/IndexLocationCommand";
|
|
|
20
23
|
import { InitUserCommand, } from "./commands/InitUserCommand";
|
|
21
24
|
import { LinkEmailCommand, } from "./commands/LinkEmailCommand";
|
|
22
25
|
import { LinkSocialCommand, } from "./commands/LinkSocialCommand";
|
|
26
|
+
import { ListMyDevicesCommand, } from "./commands/ListMyDevicesCommand";
|
|
27
|
+
import { RegisterDeviceCommand, } from "./commands/RegisterDeviceCommand";
|
|
23
28
|
import { RegisterPhoneCommand, } from "./commands/RegisterPhoneCommand";
|
|
24
29
|
import { RemoveLocationCommand, } from "./commands/RemoveLocationCommand";
|
|
25
30
|
import { RequestEmailOtpCommand, } from "./commands/RequestEmailOtpCommand";
|
|
26
31
|
import { RequestPhoneOtpCommand, } from "./commands/RequestPhoneOtpCommand";
|
|
27
32
|
import { RequestPhoneUpdateOtpCommand, } from "./commands/RequestPhoneUpdateOtpCommand";
|
|
33
|
+
import { RevokeDeviceCommand, } from "./commands/RevokeDeviceCommand";
|
|
28
34
|
import { SwipeCommand, } from "./commands/SwipeCommand";
|
|
29
35
|
import { UnhookCommand, } from "./commands/UnhookCommand";
|
|
30
36
|
import { UnlinkSocialCommand, } from "./commands/UnlinkSocialCommand";
|
|
@@ -39,6 +45,10 @@ import { createAggregatedClient } from "@smithy/smithy-client";
|
|
|
39
45
|
const commands = {
|
|
40
46
|
ClaimPreKeyBundleCommand,
|
|
41
47
|
DeleteMatchMessagesCommand,
|
|
48
|
+
GetParticipantRegistryCommand,
|
|
49
|
+
ListMyDevicesCommand,
|
|
50
|
+
RegisterDeviceCommand,
|
|
51
|
+
RevokeDeviceCommand,
|
|
42
52
|
UploadPreKeysCommand,
|
|
43
53
|
AuthSocialCommand,
|
|
44
54
|
GenerateInviteCommand,
|
|
@@ -63,7 +73,9 @@ const commands = {
|
|
|
63
73
|
CompleteLivenessSessionCommand,
|
|
64
74
|
CreateLivenessSessionCommand,
|
|
65
75
|
DeleteProfileCommand,
|
|
76
|
+
GenerateDownloadUrlCommand,
|
|
66
77
|
GenerateUploadUrlCommand,
|
|
78
|
+
GetLivenessStatusCommand,
|
|
67
79
|
GetMyProfileCommand,
|
|
68
80
|
GetProfileCommand,
|
|
69
81
|
UpdateProfileCommand,
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { de_GenerateDownloadUrlCommand, se_GenerateDownloadUrlCommand, } 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 GenerateDownloadUrlCommand extends $Command.classBuilder()
|
|
6
|
+
.m(function (Command, cs, config, o) {
|
|
7
|
+
return [
|
|
8
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
+
];
|
|
10
|
+
})
|
|
11
|
+
.s("OneHookService", "GenerateDownloadUrl", {})
|
|
12
|
+
.n("OneHookClient", "GenerateDownloadUrlCommand")
|
|
13
|
+
.f(void 0, void 0)
|
|
14
|
+
.ser(se_GenerateDownloadUrlCommand)
|
|
15
|
+
.de(de_GenerateDownloadUrlCommand)
|
|
16
|
+
.build() {
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { de_GetLivenessStatusCommand, se_GetLivenessStatusCommand, } 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 GetLivenessStatusCommand extends $Command.classBuilder()
|
|
6
|
+
.m(function (Command, cs, config, o) {
|
|
7
|
+
return [
|
|
8
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
+
];
|
|
10
|
+
})
|
|
11
|
+
.s("OneHookService", "GetLivenessStatus", {})
|
|
12
|
+
.n("OneHookClient", "GetLivenessStatusCommand")
|
|
13
|
+
.f(void 0, void 0)
|
|
14
|
+
.ser(se_GetLivenessStatusCommand)
|
|
15
|
+
.de(de_GetLivenessStatusCommand)
|
|
16
|
+
.build() {
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { de_GetParticipantRegistryCommand, se_GetParticipantRegistryCommand, } 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 GetParticipantRegistryCommand extends $Command.classBuilder()
|
|
6
|
+
.m(function (Command, cs, config, o) {
|
|
7
|
+
return [
|
|
8
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
+
];
|
|
10
|
+
})
|
|
11
|
+
.s("OneHookService", "GetParticipantRegistry", {})
|
|
12
|
+
.n("OneHookClient", "GetParticipantRegistryCommand")
|
|
13
|
+
.f(void 0, void 0)
|
|
14
|
+
.ser(se_GetParticipantRegistryCommand)
|
|
15
|
+
.de(de_GetParticipantRegistryCommand)
|
|
16
|
+
.build() {
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { de_ListMyDevicesCommand, se_ListMyDevicesCommand, } 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 ListMyDevicesCommand extends $Command.classBuilder()
|
|
6
|
+
.m(function (Command, cs, config, o) {
|
|
7
|
+
return [
|
|
8
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
+
];
|
|
10
|
+
})
|
|
11
|
+
.s("OneHookService", "ListMyDevices", {})
|
|
12
|
+
.n("OneHookClient", "ListMyDevicesCommand")
|
|
13
|
+
.f(void 0, void 0)
|
|
14
|
+
.ser(se_ListMyDevicesCommand)
|
|
15
|
+
.de(de_ListMyDevicesCommand)
|
|
16
|
+
.build() {
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { de_RegisterDeviceCommand, se_RegisterDeviceCommand, } 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 RegisterDeviceCommand extends $Command.classBuilder()
|
|
6
|
+
.m(function (Command, cs, config, o) {
|
|
7
|
+
return [
|
|
8
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
+
];
|
|
10
|
+
})
|
|
11
|
+
.s("OneHookService", "RegisterDevice", {})
|
|
12
|
+
.n("OneHookClient", "RegisterDeviceCommand")
|
|
13
|
+
.f(void 0, void 0)
|
|
14
|
+
.ser(se_RegisterDeviceCommand)
|
|
15
|
+
.de(de_RegisterDeviceCommand)
|
|
16
|
+
.build() {
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { de_RevokeDeviceCommand, se_RevokeDeviceCommand, } 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 RevokeDeviceCommand extends $Command.classBuilder()
|
|
6
|
+
.m(function (Command, cs, config, o) {
|
|
7
|
+
return [
|
|
8
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
+
];
|
|
10
|
+
})
|
|
11
|
+
.s("OneHookService", "RevokeDevice", {})
|
|
12
|
+
.n("OneHookClient", "RevokeDeviceCommand")
|
|
13
|
+
.f(void 0, void 0)
|
|
14
|
+
.ser(se_RevokeDeviceCommand)
|
|
15
|
+
.de(de_RevokeDeviceCommand)
|
|
16
|
+
.build() {
|
|
17
|
+
}
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
export * from "./ClaimPreKeyBundleCommand";
|
|
2
2
|
export * from "./DeleteMatchMessagesCommand";
|
|
3
|
+
export * from "./GetParticipantRegistryCommand";
|
|
4
|
+
export * from "./ListMyDevicesCommand";
|
|
5
|
+
export * from "./RegisterDeviceCommand";
|
|
6
|
+
export * from "./RevokeDeviceCommand";
|
|
3
7
|
export * from "./UploadPreKeysCommand";
|
|
4
8
|
export * from "./AuthSocialCommand";
|
|
5
9
|
export * from "./GenerateInviteCommand";
|
|
@@ -24,7 +28,9 @@ export * from "./UpdatePreferencesCommand";
|
|
|
24
28
|
export * from "./CompleteLivenessSessionCommand";
|
|
25
29
|
export * from "./CreateLivenessSessionCommand";
|
|
26
30
|
export * from "./DeleteProfileCommand";
|
|
31
|
+
export * from "./GenerateDownloadUrlCommand";
|
|
27
32
|
export * from "./GenerateUploadUrlCommand";
|
|
33
|
+
export * from "./GetLivenessStatusCommand";
|
|
28
34
|
export * from "./GetMyProfileCommand";
|
|
29
35
|
export * from "./GetProfileCommand";
|
|
30
36
|
export * from "./UpdateProfileCommand";
|
|
@@ -55,3 +55,22 @@ export class NotFoundError extends __BaseException {
|
|
|
55
55
|
this.error = opts.error;
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
|
+
export const Platform = {
|
|
59
|
+
ANDROID: "ANDROID",
|
|
60
|
+
IOS: "IOS",
|
|
61
|
+
WEB: "WEB",
|
|
62
|
+
};
|
|
63
|
+
export class DeviceLimitError extends __BaseException {
|
|
64
|
+
name = "DeviceLimitError";
|
|
65
|
+
$fault = "client";
|
|
66
|
+
error;
|
|
67
|
+
constructor(opts) {
|
|
68
|
+
super({
|
|
69
|
+
name: "DeviceLimitError",
|
|
70
|
+
$fault: "client",
|
|
71
|
+
...opts
|
|
72
|
+
});
|
|
73
|
+
Object.setPrototypeOf(this, DeviceLimitError.prototype);
|
|
74
|
+
this.error = opts.error;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OneHookServiceException as __BaseException } from "../models/OneHookServiceException";
|
|
2
|
-
import { BadRequestError, ForbiddenError, InternalServerError, NotFoundError, } from "../models/models_0";
|
|
2
|
+
import { BadRequestError, 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, map, take, withBaseException, } from "@smithy/smithy-client";
|
|
@@ -29,6 +29,62 @@ export const se_DeleteMatchMessagesCommand = async (input, context) => {
|
|
|
29
29
|
.b(body);
|
|
30
30
|
return b.build();
|
|
31
31
|
};
|
|
32
|
+
export const se_GetParticipantRegistryCommand = async (input, context) => {
|
|
33
|
+
const b = rb(input, context);
|
|
34
|
+
const headers = {};
|
|
35
|
+
b.bp("/chat/registry/{userId}");
|
|
36
|
+
b.p('userId', () => input.userId, '{userId}', false);
|
|
37
|
+
const query = map({
|
|
38
|
+
[_mI]: [, __expectNonNull(input[_mI], `matchId`)],
|
|
39
|
+
});
|
|
40
|
+
let body;
|
|
41
|
+
b.m("GET")
|
|
42
|
+
.h(headers)
|
|
43
|
+
.q(query)
|
|
44
|
+
.b(body);
|
|
45
|
+
return b.build();
|
|
46
|
+
};
|
|
47
|
+
export const se_ListMyDevicesCommand = async (input, context) => {
|
|
48
|
+
const b = rb(input, context);
|
|
49
|
+
const headers = {};
|
|
50
|
+
b.bp("/chat/devices");
|
|
51
|
+
let body;
|
|
52
|
+
b.m("GET")
|
|
53
|
+
.h(headers)
|
|
54
|
+
.b(body);
|
|
55
|
+
return b.build();
|
|
56
|
+
};
|
|
57
|
+
export const se_RegisterDeviceCommand = async (input, context) => {
|
|
58
|
+
const b = rb(input, context);
|
|
59
|
+
const headers = {
|
|
60
|
+
'content-type': 'application/json',
|
|
61
|
+
};
|
|
62
|
+
b.bp("/chat/devices");
|
|
63
|
+
let body;
|
|
64
|
+
body = JSON.stringify(take(input, {
|
|
65
|
+
'accountHistoryKey': _ => _json(_),
|
|
66
|
+
'deviceId': [],
|
|
67
|
+
'displayName': [],
|
|
68
|
+
'maxEnvelopeVersion': [],
|
|
69
|
+
'platform': [],
|
|
70
|
+
'publicKey': [],
|
|
71
|
+
}));
|
|
72
|
+
b.m("POST")
|
|
73
|
+
.h(headers)
|
|
74
|
+
.b(body);
|
|
75
|
+
return b.build();
|
|
76
|
+
};
|
|
77
|
+
export const se_RevokeDeviceCommand = async (input, context) => {
|
|
78
|
+
const b = rb(input, context);
|
|
79
|
+
const headers = {};
|
|
80
|
+
b.bp("/chat/devices/{deviceId}");
|
|
81
|
+
b.p('deviceId', () => input.deviceId, '{deviceId}', false);
|
|
82
|
+
let body;
|
|
83
|
+
b.m("DELETE")
|
|
84
|
+
.h(headers)
|
|
85
|
+
.b(body);
|
|
86
|
+
return b.build();
|
|
87
|
+
};
|
|
32
88
|
export const se_UploadPreKeysCommand = async (input, context) => {
|
|
33
89
|
const b = rb(input, context);
|
|
34
90
|
const headers = {
|
|
@@ -383,6 +439,20 @@ export const se_DeleteProfileCommand = async (input, context) => {
|
|
|
383
439
|
.b(body);
|
|
384
440
|
return b.build();
|
|
385
441
|
};
|
|
442
|
+
export const se_GenerateDownloadUrlCommand = async (input, context) => {
|
|
443
|
+
const b = rb(input, context);
|
|
444
|
+
const headers = {};
|
|
445
|
+
b.bp("/profile/media/download-url");
|
|
446
|
+
const query = map({
|
|
447
|
+
[_k]: [, __expectNonNull(input[_k], `key`)],
|
|
448
|
+
});
|
|
449
|
+
let body;
|
|
450
|
+
b.m("GET")
|
|
451
|
+
.h(headers)
|
|
452
|
+
.q(query)
|
|
453
|
+
.b(body);
|
|
454
|
+
return b.build();
|
|
455
|
+
};
|
|
386
456
|
export const se_GenerateUploadUrlCommand = async (input, context) => {
|
|
387
457
|
const b = rb(input, context);
|
|
388
458
|
const headers = {
|
|
@@ -399,6 +469,16 @@ export const se_GenerateUploadUrlCommand = async (input, context) => {
|
|
|
399
469
|
.b(body);
|
|
400
470
|
return b.build();
|
|
401
471
|
};
|
|
472
|
+
export const se_GetLivenessStatusCommand = async (input, context) => {
|
|
473
|
+
const b = rb(input, context);
|
|
474
|
+
const headers = {};
|
|
475
|
+
b.bp("/profile/liveness/status");
|
|
476
|
+
let body;
|
|
477
|
+
b.m("GET")
|
|
478
|
+
.h(headers)
|
|
479
|
+
.b(body);
|
|
480
|
+
return b.build();
|
|
481
|
+
};
|
|
402
482
|
export const se_GetMyProfileCommand = async (input, context) => {
|
|
403
483
|
const b = rb(input, context);
|
|
404
484
|
const headers = {};
|
|
@@ -565,6 +645,68 @@ export const de_DeleteMatchMessagesCommand = async (output, context) => {
|
|
|
565
645
|
Object.assign(contents, doc);
|
|
566
646
|
return contents;
|
|
567
647
|
};
|
|
648
|
+
export const de_GetParticipantRegistryCommand = async (output, context) => {
|
|
649
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
650
|
+
return de_CommandError(output, context);
|
|
651
|
+
}
|
|
652
|
+
const contents = map({
|
|
653
|
+
$metadata: deserializeMetadata(output),
|
|
654
|
+
});
|
|
655
|
+
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
656
|
+
const doc = take(data, {
|
|
657
|
+
'accountHistoryKey': _json,
|
|
658
|
+
'devices': _json,
|
|
659
|
+
'userId': __expectString,
|
|
660
|
+
});
|
|
661
|
+
Object.assign(contents, doc);
|
|
662
|
+
return contents;
|
|
663
|
+
};
|
|
664
|
+
export const de_ListMyDevicesCommand = async (output, context) => {
|
|
665
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
666
|
+
return de_CommandError(output, context);
|
|
667
|
+
}
|
|
668
|
+
const contents = map({
|
|
669
|
+
$metadata: deserializeMetadata(output),
|
|
670
|
+
});
|
|
671
|
+
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
672
|
+
const doc = take(data, {
|
|
673
|
+
'accountHistoryKey': _json,
|
|
674
|
+
'devices': _json,
|
|
675
|
+
});
|
|
676
|
+
Object.assign(contents, doc);
|
|
677
|
+
return contents;
|
|
678
|
+
};
|
|
679
|
+
export const de_RegisterDeviceCommand = async (output, context) => {
|
|
680
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
681
|
+
return de_CommandError(output, context);
|
|
682
|
+
}
|
|
683
|
+
const contents = map({
|
|
684
|
+
$metadata: deserializeMetadata(output),
|
|
685
|
+
});
|
|
686
|
+
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
687
|
+
const doc = take(data, {
|
|
688
|
+
'accountHistoryKey': _json,
|
|
689
|
+
'device': _json,
|
|
690
|
+
'ownsAccountHistoryKey': __expectBoolean,
|
|
691
|
+
});
|
|
692
|
+
Object.assign(contents, doc);
|
|
693
|
+
return contents;
|
|
694
|
+
};
|
|
695
|
+
export const de_RevokeDeviceCommand = async (output, context) => {
|
|
696
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
697
|
+
return de_CommandError(output, context);
|
|
698
|
+
}
|
|
699
|
+
const contents = map({
|
|
700
|
+
$metadata: deserializeMetadata(output),
|
|
701
|
+
});
|
|
702
|
+
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
703
|
+
const doc = take(data, {
|
|
704
|
+
'deviceId': __expectString,
|
|
705
|
+
'revoked': __expectBoolean,
|
|
706
|
+
});
|
|
707
|
+
Object.assign(contents, doc);
|
|
708
|
+
return contents;
|
|
709
|
+
};
|
|
568
710
|
export const de_UploadPreKeysCommand = async (output, context) => {
|
|
569
711
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
570
712
|
return de_CommandError(output, context);
|
|
@@ -935,6 +1077,21 @@ export const de_DeleteProfileCommand = async (output, context) => {
|
|
|
935
1077
|
Object.assign(contents, doc);
|
|
936
1078
|
return contents;
|
|
937
1079
|
};
|
|
1080
|
+
export const de_GenerateDownloadUrlCommand = async (output, context) => {
|
|
1081
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1082
|
+
return de_CommandError(output, context);
|
|
1083
|
+
}
|
|
1084
|
+
const contents = map({
|
|
1085
|
+
$metadata: deserializeMetadata(output),
|
|
1086
|
+
});
|
|
1087
|
+
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
1088
|
+
const doc = take(data, {
|
|
1089
|
+
'downloadUrl': __expectString,
|
|
1090
|
+
'expiresInSeconds': __expectInt32,
|
|
1091
|
+
});
|
|
1092
|
+
Object.assign(contents, doc);
|
|
1093
|
+
return contents;
|
|
1094
|
+
};
|
|
938
1095
|
export const de_GenerateUploadUrlCommand = async (output, context) => {
|
|
939
1096
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
940
1097
|
return de_CommandError(output, context);
|
|
@@ -951,6 +1108,20 @@ export const de_GenerateUploadUrlCommand = async (output, context) => {
|
|
|
951
1108
|
Object.assign(contents, doc);
|
|
952
1109
|
return contents;
|
|
953
1110
|
};
|
|
1111
|
+
export const de_GetLivenessStatusCommand = async (output, context) => {
|
|
1112
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1113
|
+
return de_CommandError(output, context);
|
|
1114
|
+
}
|
|
1115
|
+
const contents = map({
|
|
1116
|
+
$metadata: deserializeMetadata(output),
|
|
1117
|
+
});
|
|
1118
|
+
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
1119
|
+
const doc = take(data, {
|
|
1120
|
+
'status': __expectString,
|
|
1121
|
+
});
|
|
1122
|
+
Object.assign(contents, doc);
|
|
1123
|
+
return contents;
|
|
1124
|
+
};
|
|
954
1125
|
export const de_GetMyProfileCommand = async (output, context) => {
|
|
955
1126
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
956
1127
|
return de_CommandError(output, context);
|
|
@@ -974,6 +1145,7 @@ export const de_GetMyProfileCommand = async (output, context) => {
|
|
|
974
1145
|
'educationLevel': __expectString,
|
|
975
1146
|
'exercise': __expectString,
|
|
976
1147
|
'familyPlans': __expectString,
|
|
1148
|
+
'fieldModerationStatus': _json,
|
|
977
1149
|
'gender': __expectString,
|
|
978
1150
|
'height': __expectInt32,
|
|
979
1151
|
'hometown': __expectString,
|
|
@@ -1024,6 +1196,7 @@ export const de_GetProfileCommand = async (output, context) => {
|
|
|
1024
1196
|
'educationLevel': __expectString,
|
|
1025
1197
|
'exercise': __expectString,
|
|
1026
1198
|
'familyPlans': __expectString,
|
|
1199
|
+
'fieldModerationStatus': _json,
|
|
1027
1200
|
'gender': __expectString,
|
|
1028
1201
|
'height': __expectInt32,
|
|
1029
1202
|
'hometown': __expectString,
|
|
@@ -1186,6 +1359,9 @@ const de_CommandError = async (output, context) => {
|
|
|
1186
1359
|
case "NotFoundError":
|
|
1187
1360
|
case "club.onehook.identity#NotFoundError":
|
|
1188
1361
|
throw await de_NotFoundErrorRes(parsedOutput, context);
|
|
1362
|
+
case "DeviceLimitError":
|
|
1363
|
+
case "club.onehook.chat#DeviceLimitError":
|
|
1364
|
+
throw await de_DeviceLimitErrorRes(parsedOutput, context);
|
|
1189
1365
|
default:
|
|
1190
1366
|
const parsedBody = parsedOutput.body;
|
|
1191
1367
|
return throwDefaultError({
|
|
@@ -1196,6 +1372,19 @@ const de_CommandError = async (output, context) => {
|
|
|
1196
1372
|
}
|
|
1197
1373
|
};
|
|
1198
1374
|
const throwDefaultError = withBaseException(__BaseException);
|
|
1375
|
+
const de_DeviceLimitErrorRes = async (parsedOutput, context) => {
|
|
1376
|
+
const contents = map({});
|
|
1377
|
+
const data = parsedOutput.body;
|
|
1378
|
+
const doc = take(data, {
|
|
1379
|
+
'error': __expectString,
|
|
1380
|
+
});
|
|
1381
|
+
Object.assign(contents, doc);
|
|
1382
|
+
const exception = new DeviceLimitError({
|
|
1383
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1384
|
+
...contents
|
|
1385
|
+
});
|
|
1386
|
+
return __decorateServiceException(exception, parsedOutput.body);
|
|
1387
|
+
};
|
|
1199
1388
|
const de_ForbiddenErrorRes = async (parsedOutput, context) => {
|
|
1200
1389
|
const contents = map({});
|
|
1201
1390
|
const data = parsedOutput.body;
|
|
@@ -1268,6 +1457,7 @@ const deserializeMetadata = (output) => ({
|
|
|
1268
1457
|
cfId: output.headers["x-amz-cf-id"],
|
|
1269
1458
|
});
|
|
1270
1459
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then(body => context.utf8Encoder(body));
|
|
1460
|
+
const _k = "key";
|
|
1271
1461
|
const _l = "lat";
|
|
1272
1462
|
const _lo = "lon";
|
|
1273
1463
|
const _mI = "matchId";
|
package/dist-types/OneHook.d.ts
CHANGED
|
@@ -7,10 +7,13 @@ import { CreateLivenessSessionCommandInput, CreateLivenessSessionCommandOutput }
|
|
|
7
7
|
import { DeleteMatchMessagesCommandInput, DeleteMatchMessagesCommandOutput } from "./commands/DeleteMatchMessagesCommand";
|
|
8
8
|
import { DeleteProfileCommandInput, DeleteProfileCommandOutput } from "./commands/DeleteProfileCommand";
|
|
9
9
|
import { DiscoverCommandInput, DiscoverCommandOutput } from "./commands/DiscoverCommand";
|
|
10
|
+
import { GenerateDownloadUrlCommandInput, GenerateDownloadUrlCommandOutput } from "./commands/GenerateDownloadUrlCommand";
|
|
10
11
|
import { GenerateInviteCommandInput, GenerateInviteCommandOutput } from "./commands/GenerateInviteCommand";
|
|
11
12
|
import { GenerateUploadUrlCommandInput, GenerateUploadUrlCommandOutput } from "./commands/GenerateUploadUrlCommand";
|
|
13
|
+
import { GetLivenessStatusCommandInput, GetLivenessStatusCommandOutput } from "./commands/GetLivenessStatusCommand";
|
|
12
14
|
import { GetMatchCommandInput, GetMatchCommandOutput } from "./commands/GetMatchCommand";
|
|
13
15
|
import { GetMyProfileCommandInput, GetMyProfileCommandOutput } from "./commands/GetMyProfileCommand";
|
|
16
|
+
import { GetParticipantRegistryCommandInput, GetParticipantRegistryCommandOutput } from "./commands/GetParticipantRegistryCommand";
|
|
14
17
|
import { GetPreferencesCommandInput, GetPreferencesCommandOutput } from "./commands/GetPreferencesCommand";
|
|
15
18
|
import { GetProfileCommandInput, GetProfileCommandOutput } from "./commands/GetProfileCommand";
|
|
16
19
|
import { GetStateCommandInput, GetStateCommandOutput } from "./commands/GetStateCommand";
|
|
@@ -20,11 +23,14 @@ import { IndexLocationCommandInput, IndexLocationCommandOutput } from "./command
|
|
|
20
23
|
import { InitUserCommandInput, InitUserCommandOutput } from "./commands/InitUserCommand";
|
|
21
24
|
import { LinkEmailCommandInput, LinkEmailCommandOutput } from "./commands/LinkEmailCommand";
|
|
22
25
|
import { LinkSocialCommandInput, LinkSocialCommandOutput } from "./commands/LinkSocialCommand";
|
|
26
|
+
import { ListMyDevicesCommandInput, ListMyDevicesCommandOutput } from "./commands/ListMyDevicesCommand";
|
|
27
|
+
import { RegisterDeviceCommandInput, RegisterDeviceCommandOutput } from "./commands/RegisterDeviceCommand";
|
|
23
28
|
import { RegisterPhoneCommandInput, RegisterPhoneCommandOutput } from "./commands/RegisterPhoneCommand";
|
|
24
29
|
import { RemoveLocationCommandInput, RemoveLocationCommandOutput } from "./commands/RemoveLocationCommand";
|
|
25
30
|
import { RequestEmailOtpCommandInput, RequestEmailOtpCommandOutput } from "./commands/RequestEmailOtpCommand";
|
|
26
31
|
import { RequestPhoneOtpCommandInput, RequestPhoneOtpCommandOutput } from "./commands/RequestPhoneOtpCommand";
|
|
27
32
|
import { RequestPhoneUpdateOtpCommandInput, RequestPhoneUpdateOtpCommandOutput } from "./commands/RequestPhoneUpdateOtpCommand";
|
|
33
|
+
import { RevokeDeviceCommandInput, RevokeDeviceCommandOutput } from "./commands/RevokeDeviceCommand";
|
|
28
34
|
import { SwipeCommandInput, SwipeCommandOutput } from "./commands/SwipeCommand";
|
|
29
35
|
import { UnhookCommandInput, UnhookCommandOutput } from "./commands/UnhookCommand";
|
|
30
36
|
import { UnlinkSocialCommandInput, UnlinkSocialCommandOutput } from "./commands/UnlinkSocialCommand";
|
|
@@ -49,6 +55,31 @@ export interface OneHook {
|
|
|
49
55
|
deleteMatchMessages(args: DeleteMatchMessagesCommandInput, options?: __HttpHandlerOptions): Promise<DeleteMatchMessagesCommandOutput>;
|
|
50
56
|
deleteMatchMessages(args: DeleteMatchMessagesCommandInput, cb: (err: any, data?: DeleteMatchMessagesCommandOutput) => void): void;
|
|
51
57
|
deleteMatchMessages(args: DeleteMatchMessagesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteMatchMessagesCommandOutput) => void): void;
|
|
58
|
+
/**
|
|
59
|
+
* @see {@link GetParticipantRegistryCommand}
|
|
60
|
+
*/
|
|
61
|
+
getParticipantRegistry(args: GetParticipantRegistryCommandInput, options?: __HttpHandlerOptions): Promise<GetParticipantRegistryCommandOutput>;
|
|
62
|
+
getParticipantRegistry(args: GetParticipantRegistryCommandInput, cb: (err: any, data?: GetParticipantRegistryCommandOutput) => void): void;
|
|
63
|
+
getParticipantRegistry(args: GetParticipantRegistryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetParticipantRegistryCommandOutput) => void): void;
|
|
64
|
+
/**
|
|
65
|
+
* @see {@link ListMyDevicesCommand}
|
|
66
|
+
*/
|
|
67
|
+
listMyDevices(): Promise<ListMyDevicesCommandOutput>;
|
|
68
|
+
listMyDevices(args: ListMyDevicesCommandInput, options?: __HttpHandlerOptions): Promise<ListMyDevicesCommandOutput>;
|
|
69
|
+
listMyDevices(args: ListMyDevicesCommandInput, cb: (err: any, data?: ListMyDevicesCommandOutput) => void): void;
|
|
70
|
+
listMyDevices(args: ListMyDevicesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListMyDevicesCommandOutput) => void): void;
|
|
71
|
+
/**
|
|
72
|
+
* @see {@link RegisterDeviceCommand}
|
|
73
|
+
*/
|
|
74
|
+
registerDevice(args: RegisterDeviceCommandInput, options?: __HttpHandlerOptions): Promise<RegisterDeviceCommandOutput>;
|
|
75
|
+
registerDevice(args: RegisterDeviceCommandInput, cb: (err: any, data?: RegisterDeviceCommandOutput) => void): void;
|
|
76
|
+
registerDevice(args: RegisterDeviceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RegisterDeviceCommandOutput) => void): void;
|
|
77
|
+
/**
|
|
78
|
+
* @see {@link RevokeDeviceCommand}
|
|
79
|
+
*/
|
|
80
|
+
revokeDevice(args: RevokeDeviceCommandInput, options?: __HttpHandlerOptions): Promise<RevokeDeviceCommandOutput>;
|
|
81
|
+
revokeDevice(args: RevokeDeviceCommandInput, cb: (err: any, data?: RevokeDeviceCommandOutput) => void): void;
|
|
82
|
+
revokeDevice(args: RevokeDeviceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RevokeDeviceCommandOutput) => void): void;
|
|
52
83
|
/**
|
|
53
84
|
* @see {@link UploadPreKeysCommand}
|
|
54
85
|
*/
|
|
@@ -194,12 +225,25 @@ export interface OneHook {
|
|
|
194
225
|
deleteProfile(args: DeleteProfileCommandInput, options?: __HttpHandlerOptions): Promise<DeleteProfileCommandOutput>;
|
|
195
226
|
deleteProfile(args: DeleteProfileCommandInput, cb: (err: any, data?: DeleteProfileCommandOutput) => void): void;
|
|
196
227
|
deleteProfile(args: DeleteProfileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteProfileCommandOutput) => void): void;
|
|
228
|
+
/**
|
|
229
|
+
* @see {@link GenerateDownloadUrlCommand}
|
|
230
|
+
*/
|
|
231
|
+
generateDownloadUrl(args: GenerateDownloadUrlCommandInput, options?: __HttpHandlerOptions): Promise<GenerateDownloadUrlCommandOutput>;
|
|
232
|
+
generateDownloadUrl(args: GenerateDownloadUrlCommandInput, cb: (err: any, data?: GenerateDownloadUrlCommandOutput) => void): void;
|
|
233
|
+
generateDownloadUrl(args: GenerateDownloadUrlCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GenerateDownloadUrlCommandOutput) => void): void;
|
|
197
234
|
/**
|
|
198
235
|
* @see {@link GenerateUploadUrlCommand}
|
|
199
236
|
*/
|
|
200
237
|
generateUploadUrl(args: GenerateUploadUrlCommandInput, options?: __HttpHandlerOptions): Promise<GenerateUploadUrlCommandOutput>;
|
|
201
238
|
generateUploadUrl(args: GenerateUploadUrlCommandInput, cb: (err: any, data?: GenerateUploadUrlCommandOutput) => void): void;
|
|
202
239
|
generateUploadUrl(args: GenerateUploadUrlCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GenerateUploadUrlCommandOutput) => void): void;
|
|
240
|
+
/**
|
|
241
|
+
* @see {@link GetLivenessStatusCommand}
|
|
242
|
+
*/
|
|
243
|
+
getLivenessStatus(): Promise<GetLivenessStatusCommandOutput>;
|
|
244
|
+
getLivenessStatus(args: GetLivenessStatusCommandInput, options?: __HttpHandlerOptions): Promise<GetLivenessStatusCommandOutput>;
|
|
245
|
+
getLivenessStatus(args: GetLivenessStatusCommandInput, cb: (err: any, data?: GetLivenessStatusCommandOutput) => void): void;
|
|
246
|
+
getLivenessStatus(args: GetLivenessStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetLivenessStatusCommandOutput) => void): void;
|
|
203
247
|
/**
|
|
204
248
|
* @see {@link GetMyProfileCommand}
|
|
205
249
|
*/
|
|
@@ -7,10 +7,13 @@ import { CreateLivenessSessionCommandInput, CreateLivenessSessionCommandOutput }
|
|
|
7
7
|
import { DeleteMatchMessagesCommandInput, DeleteMatchMessagesCommandOutput } from "./commands/DeleteMatchMessagesCommand";
|
|
8
8
|
import { DeleteProfileCommandInput, DeleteProfileCommandOutput } from "./commands/DeleteProfileCommand";
|
|
9
9
|
import { DiscoverCommandInput, DiscoverCommandOutput } from "./commands/DiscoverCommand";
|
|
10
|
+
import { GenerateDownloadUrlCommandInput, GenerateDownloadUrlCommandOutput } from "./commands/GenerateDownloadUrlCommand";
|
|
10
11
|
import { GenerateInviteCommandInput, GenerateInviteCommandOutput } from "./commands/GenerateInviteCommand";
|
|
11
12
|
import { GenerateUploadUrlCommandInput, GenerateUploadUrlCommandOutput } from "./commands/GenerateUploadUrlCommand";
|
|
13
|
+
import { GetLivenessStatusCommandInput, GetLivenessStatusCommandOutput } from "./commands/GetLivenessStatusCommand";
|
|
12
14
|
import { GetMatchCommandInput, GetMatchCommandOutput } from "./commands/GetMatchCommand";
|
|
13
15
|
import { GetMyProfileCommandInput, GetMyProfileCommandOutput } from "./commands/GetMyProfileCommand";
|
|
16
|
+
import { GetParticipantRegistryCommandInput, GetParticipantRegistryCommandOutput } from "./commands/GetParticipantRegistryCommand";
|
|
14
17
|
import { GetPreferencesCommandInput, GetPreferencesCommandOutput } from "./commands/GetPreferencesCommand";
|
|
15
18
|
import { GetProfileCommandInput, GetProfileCommandOutput } from "./commands/GetProfileCommand";
|
|
16
19
|
import { GetStateCommandInput, GetStateCommandOutput } from "./commands/GetStateCommand";
|
|
@@ -20,11 +23,14 @@ import { IndexLocationCommandInput, IndexLocationCommandOutput } from "./command
|
|
|
20
23
|
import { InitUserCommandInput, InitUserCommandOutput } from "./commands/InitUserCommand";
|
|
21
24
|
import { LinkEmailCommandInput, LinkEmailCommandOutput } from "./commands/LinkEmailCommand";
|
|
22
25
|
import { LinkSocialCommandInput, LinkSocialCommandOutput } from "./commands/LinkSocialCommand";
|
|
26
|
+
import { ListMyDevicesCommandInput, ListMyDevicesCommandOutput } from "./commands/ListMyDevicesCommand";
|
|
27
|
+
import { RegisterDeviceCommandInput, RegisterDeviceCommandOutput } from "./commands/RegisterDeviceCommand";
|
|
23
28
|
import { RegisterPhoneCommandInput, RegisterPhoneCommandOutput } from "./commands/RegisterPhoneCommand";
|
|
24
29
|
import { RemoveLocationCommandInput, RemoveLocationCommandOutput } from "./commands/RemoveLocationCommand";
|
|
25
30
|
import { RequestEmailOtpCommandInput, RequestEmailOtpCommandOutput } from "./commands/RequestEmailOtpCommand";
|
|
26
31
|
import { RequestPhoneOtpCommandInput, RequestPhoneOtpCommandOutput } from "./commands/RequestPhoneOtpCommand";
|
|
27
32
|
import { RequestPhoneUpdateOtpCommandInput, RequestPhoneUpdateOtpCommandOutput } from "./commands/RequestPhoneUpdateOtpCommand";
|
|
33
|
+
import { RevokeDeviceCommandInput, RevokeDeviceCommandOutput } from "./commands/RevokeDeviceCommand";
|
|
28
34
|
import { SwipeCommandInput, SwipeCommandOutput } from "./commands/SwipeCommand";
|
|
29
35
|
import { UnhookCommandInput, UnhookCommandOutput } from "./commands/UnhookCommand";
|
|
30
36
|
import { UnlinkSocialCommandInput, UnlinkSocialCommandOutput } from "./commands/UnlinkSocialCommand";
|
|
@@ -47,11 +53,11 @@ export { __Client };
|
|
|
47
53
|
/**
|
|
48
54
|
* @public
|
|
49
55
|
*/
|
|
50
|
-
export type ServiceInputTypes = AuthSocialCommandInput | ClaimPreKeyBundleCommandInput | CompleteLivenessSessionCommandInput | CompleteOnboardingCommandInput | CreateLivenessSessionCommandInput | DeleteMatchMessagesCommandInput | DeleteProfileCommandInput | DiscoverCommandInput | GenerateInviteCommandInput | GenerateUploadUrlCommandInput | GetMatchCommandInput | GetMyProfileCommandInput | GetPreferencesCommandInput | GetProfileCommandInput | GetStateCommandInput | GetUserByEmailCommandInput | GetUserCommandInput | IndexLocationCommandInput | InitUserCommandInput | LinkEmailCommandInput | LinkSocialCommandInput | RegisterPhoneCommandInput | RemoveLocationCommandInput | RequestEmailOtpCommandInput | RequestPhoneOtpCommandInput | RequestPhoneUpdateOtpCommandInput | SwipeCommandInput | UnhookCommandInput | UnlinkSocialCommandInput | UpdateEntitlementsCommandInput | UpdatePhoneNumberCommandInput | UpdatePreferencesCommandInput | UpdateProfileCommandInput | UpgradeUserCommandInput | UploadPreKeysCommandInput | ValidateInviteCommandInput;
|
|
56
|
+
export type ServiceInputTypes = AuthSocialCommandInput | ClaimPreKeyBundleCommandInput | CompleteLivenessSessionCommandInput | CompleteOnboardingCommandInput | CreateLivenessSessionCommandInput | DeleteMatchMessagesCommandInput | DeleteProfileCommandInput | DiscoverCommandInput | GenerateDownloadUrlCommandInput | GenerateInviteCommandInput | GenerateUploadUrlCommandInput | GetLivenessStatusCommandInput | GetMatchCommandInput | GetMyProfileCommandInput | GetParticipantRegistryCommandInput | GetPreferencesCommandInput | GetProfileCommandInput | GetStateCommandInput | GetUserByEmailCommandInput | GetUserCommandInput | IndexLocationCommandInput | InitUserCommandInput | LinkEmailCommandInput | LinkSocialCommandInput | ListMyDevicesCommandInput | RegisterDeviceCommandInput | RegisterPhoneCommandInput | RemoveLocationCommandInput | RequestEmailOtpCommandInput | RequestPhoneOtpCommandInput | RequestPhoneUpdateOtpCommandInput | RevokeDeviceCommandInput | SwipeCommandInput | UnhookCommandInput | UnlinkSocialCommandInput | UpdateEntitlementsCommandInput | UpdatePhoneNumberCommandInput | UpdatePreferencesCommandInput | UpdateProfileCommandInput | UpgradeUserCommandInput | UploadPreKeysCommandInput | ValidateInviteCommandInput;
|
|
51
57
|
/**
|
|
52
58
|
* @public
|
|
53
59
|
*/
|
|
54
|
-
export type ServiceOutputTypes = AuthSocialCommandOutput | ClaimPreKeyBundleCommandOutput | CompleteLivenessSessionCommandOutput | CompleteOnboardingCommandOutput | CreateLivenessSessionCommandOutput | DeleteMatchMessagesCommandOutput | DeleteProfileCommandOutput | DiscoverCommandOutput | GenerateInviteCommandOutput | GenerateUploadUrlCommandOutput | GetMatchCommandOutput | GetMyProfileCommandOutput | GetPreferencesCommandOutput | GetProfileCommandOutput | GetStateCommandOutput | GetUserByEmailCommandOutput | GetUserCommandOutput | IndexLocationCommandOutput | InitUserCommandOutput | LinkEmailCommandOutput | LinkSocialCommandOutput | RegisterPhoneCommandOutput | RemoveLocationCommandOutput | RequestEmailOtpCommandOutput | RequestPhoneOtpCommandOutput | RequestPhoneUpdateOtpCommandOutput | SwipeCommandOutput | UnhookCommandOutput | UnlinkSocialCommandOutput | UpdateEntitlementsCommandOutput | UpdatePhoneNumberCommandOutput | UpdatePreferencesCommandOutput | UpdateProfileCommandOutput | UpgradeUserCommandOutput | UploadPreKeysCommandOutput | ValidateInviteCommandOutput;
|
|
60
|
+
export type ServiceOutputTypes = AuthSocialCommandOutput | ClaimPreKeyBundleCommandOutput | CompleteLivenessSessionCommandOutput | CompleteOnboardingCommandOutput | CreateLivenessSessionCommandOutput | DeleteMatchMessagesCommandOutput | DeleteProfileCommandOutput | DiscoverCommandOutput | GenerateDownloadUrlCommandOutput | GenerateInviteCommandOutput | GenerateUploadUrlCommandOutput | GetLivenessStatusCommandOutput | GetMatchCommandOutput | GetMyProfileCommandOutput | GetParticipantRegistryCommandOutput | GetPreferencesCommandOutput | GetProfileCommandOutput | GetStateCommandOutput | GetUserByEmailCommandOutput | GetUserCommandOutput | IndexLocationCommandOutput | InitUserCommandOutput | LinkEmailCommandOutput | LinkSocialCommandOutput | ListMyDevicesCommandOutput | RegisterDeviceCommandOutput | RegisterPhoneCommandOutput | RemoveLocationCommandOutput | RequestEmailOtpCommandOutput | RequestPhoneOtpCommandOutput | RequestPhoneUpdateOtpCommandOutput | RevokeDeviceCommandOutput | SwipeCommandOutput | UnhookCommandOutput | UnlinkSocialCommandOutput | UpdateEntitlementsCommandOutput | UpdatePhoneNumberCommandOutput | UpdatePreferencesCommandOutput | UpdateProfileCommandOutput | UpgradeUserCommandOutput | UploadPreKeysCommandOutput | ValidateInviteCommandOutput;
|
|
55
61
|
/**
|
|
56
62
|
* @public
|
|
57
63
|
*/
|