onehook-api-client 1.0.12 → 1.0.14
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 -0
- package/dist-cjs/OneHook.js +14 -0
- package/dist-cjs/commands/DeletePushTokenCommand.js +21 -0
- package/dist-cjs/commands/GetChatSettingsCommand.js +21 -0
- package/dist-cjs/commands/GetNotificationPreferencesCommand.js +21 -0
- package/dist-cjs/commands/GetUserIdByUsernameCommand.js +21 -0
- package/dist-cjs/commands/RegisterPushTokenCommand.js +21 -0
- package/dist-cjs/commands/SwipeByUsernameCommand.js +21 -0
- package/dist-cjs/commands/UpdateChatSettingsCommand.js +21 -0
- package/dist-cjs/commands/index.js +7 -0
- package/dist-cjs/graphql/types.js +6 -1
- package/dist-cjs/models/models_0.js +11 -6
- package/dist-cjs/protocols/Aws_restJson1.js +276 -3
- package/dist-es/OneHook.js +14 -0
- package/dist-es/commands/DeletePushTokenCommand.js +17 -0
- package/dist-es/commands/GetChatSettingsCommand.js +17 -0
- package/dist-es/commands/GetNotificationPreferencesCommand.js +17 -0
- package/dist-es/commands/GetUserIdByUsernameCommand.js +17 -0
- package/dist-es/commands/RegisterPushTokenCommand.js +17 -0
- package/dist-es/commands/SwipeByUsernameCommand.js +17 -0
- package/dist-es/commands/UpdateChatSettingsCommand.js +17 -0
- package/dist-es/commands/index.js +7 -0
- package/dist-es/graphql/types.js +5 -0
- package/dist-es/models/models_0.js +10 -5
- package/dist-es/protocols/Aws_restJson1.js +260 -1
- package/dist-types/OneHook.d.ts +51 -0
- package/dist-types/OneHookClient.d.ts +9 -2
- package/dist-types/commands/DeletePushTokenCommand.d.ts +85 -0
- package/dist-types/commands/GetChatSettingsCommand.d.ts +85 -0
- package/dist-types/commands/GetMyProfileCommand.d.ts +4 -1
- package/dist-types/commands/GetNotificationPreferencesCommand.d.ts +91 -0
- package/dist-types/commands/GetPreferencesCommand.d.ts +37 -1
- package/dist-types/commands/GetProfileCommand.d.ts +4 -1
- package/dist-types/commands/GetUserIdByUsernameCommand.d.ts +84 -0
- package/dist-types/commands/RegisterPushTokenCommand.d.ts +93 -0
- package/dist-types/commands/SwipeByUsernameCommand.d.ts +93 -0
- package/dist-types/commands/UpdateChatSettingsCommand.d.ts +95 -0
- package/dist-types/commands/UpdatePreferencesCommand.d.ts +37 -1
- package/dist-types/commands/UpdateProfileCommand.d.ts +4 -1
- package/dist-types/commands/index.d.ts +7 -0
- package/dist-types/graphql/types.d.ts +33 -0
- package/dist-types/models/models_0.d.ts +431 -13
- package/dist-types/protocols/Aws_restJson1.d.ts +63 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -206,6 +206,20 @@ DeleteMatchMessages
|
|
|
206
206
|
</details>
|
|
207
207
|
<details>
|
|
208
208
|
<summary>
|
|
209
|
+
DeletePushToken
|
|
210
|
+
</summary>
|
|
211
|
+
|
|
212
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/onehook/command/DeletePushTokenCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-onehook/Interface/DeletePushTokenCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-onehook/Interface/DeletePushTokenCommandOutput/)
|
|
213
|
+
</details>
|
|
214
|
+
<details>
|
|
215
|
+
<summary>
|
|
216
|
+
GetChatSettings
|
|
217
|
+
</summary>
|
|
218
|
+
|
|
219
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/onehook/command/GetChatSettingsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-onehook/Interface/GetChatSettingsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-onehook/Interface/GetChatSettingsCommandOutput/)
|
|
220
|
+
</details>
|
|
221
|
+
<details>
|
|
222
|
+
<summary>
|
|
209
223
|
GetParticipantRegistry
|
|
210
224
|
</summary>
|
|
211
225
|
|
|
@@ -227,6 +241,13 @@ RegisterDevice
|
|
|
227
241
|
</details>
|
|
228
242
|
<details>
|
|
229
243
|
<summary>
|
|
244
|
+
RegisterPushToken
|
|
245
|
+
</summary>
|
|
246
|
+
|
|
247
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/onehook/command/RegisterPushTokenCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-onehook/Interface/RegisterPushTokenCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-onehook/Interface/RegisterPushTokenCommandOutput/)
|
|
248
|
+
</details>
|
|
249
|
+
<details>
|
|
250
|
+
<summary>
|
|
230
251
|
RevokeDevice
|
|
231
252
|
</summary>
|
|
232
253
|
|
|
@@ -234,6 +255,13 @@ RevokeDevice
|
|
|
234
255
|
</details>
|
|
235
256
|
<details>
|
|
236
257
|
<summary>
|
|
258
|
+
UpdateChatSettings
|
|
259
|
+
</summary>
|
|
260
|
+
|
|
261
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/onehook/command/UpdateChatSettingsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-onehook/Interface/UpdateChatSettingsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-onehook/Interface/UpdateChatSettingsCommandOutput/)
|
|
262
|
+
</details>
|
|
263
|
+
<details>
|
|
264
|
+
<summary>
|
|
237
265
|
AuthSocial
|
|
238
266
|
</summary>
|
|
239
267
|
|
|
@@ -269,6 +297,13 @@ GetUserByEmail
|
|
|
269
297
|
</details>
|
|
270
298
|
<details>
|
|
271
299
|
<summary>
|
|
300
|
+
GetUserIdByUsername
|
|
301
|
+
</summary>
|
|
302
|
+
|
|
303
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/onehook/command/GetUserIdByUsernameCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-onehook/Interface/GetUserIdByUsernameCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-onehook/Interface/GetUserIdByUsernameCommandOutput/)
|
|
304
|
+
</details>
|
|
305
|
+
<details>
|
|
306
|
+
<summary>
|
|
272
307
|
LinkEmail
|
|
273
308
|
</summary>
|
|
274
309
|
|
|
@@ -353,6 +388,13 @@ Discover
|
|
|
353
388
|
</details>
|
|
354
389
|
<details>
|
|
355
390
|
<summary>
|
|
391
|
+
GetNotificationPreferences
|
|
392
|
+
</summary>
|
|
393
|
+
|
|
394
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/onehook/command/GetNotificationPreferencesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-onehook/Interface/GetNotificationPreferencesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-onehook/Interface/GetNotificationPreferencesCommandOutput/)
|
|
395
|
+
</details>
|
|
396
|
+
<details>
|
|
397
|
+
<summary>
|
|
356
398
|
GetPreferences
|
|
357
399
|
</summary>
|
|
358
400
|
|
|
@@ -381,6 +423,13 @@ Swipe
|
|
|
381
423
|
</details>
|
|
382
424
|
<details>
|
|
383
425
|
<summary>
|
|
426
|
+
SwipeByUsername
|
|
427
|
+
</summary>
|
|
428
|
+
|
|
429
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/onehook/command/SwipeByUsernameCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-onehook/Interface/SwipeByUsernameCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-onehook/Interface/SwipeByUsernameCommandOutput/)
|
|
430
|
+
</details>
|
|
431
|
+
<details>
|
|
432
|
+
<summary>
|
|
384
433
|
UpdatePreferences
|
|
385
434
|
</summary>
|
|
386
435
|
|
package/dist-cjs/OneHook.js
CHANGED
|
@@ -8,20 +8,24 @@ const CompleteOnboardingCommand_1 = require("./commands/CompleteOnboardingComman
|
|
|
8
8
|
const CreateLivenessSessionCommand_1 = require("./commands/CreateLivenessSessionCommand");
|
|
9
9
|
const DeleteMatchMessagesCommand_1 = require("./commands/DeleteMatchMessagesCommand");
|
|
10
10
|
const DeleteProfileCommand_1 = require("./commands/DeleteProfileCommand");
|
|
11
|
+
const DeletePushTokenCommand_1 = require("./commands/DeletePushTokenCommand");
|
|
11
12
|
const DiscoverCommand_1 = require("./commands/DiscoverCommand");
|
|
12
13
|
const GenerateDownloadUrlCommand_1 = require("./commands/GenerateDownloadUrlCommand");
|
|
13
14
|
const GenerateInviteCommand_1 = require("./commands/GenerateInviteCommand");
|
|
14
15
|
const GenerateUploadUrlCommand_1 = require("./commands/GenerateUploadUrlCommand");
|
|
16
|
+
const GetChatSettingsCommand_1 = require("./commands/GetChatSettingsCommand");
|
|
15
17
|
const GetCredentialReadinessCommand_1 = require("./commands/GetCredentialReadinessCommand");
|
|
16
18
|
const GetLivenessStatusCommand_1 = require("./commands/GetLivenessStatusCommand");
|
|
17
19
|
const GetMatchCommand_1 = require("./commands/GetMatchCommand");
|
|
18
20
|
const GetMyProfileCommand_1 = require("./commands/GetMyProfileCommand");
|
|
21
|
+
const GetNotificationPreferencesCommand_1 = require("./commands/GetNotificationPreferencesCommand");
|
|
19
22
|
const GetParticipantRegistryCommand_1 = require("./commands/GetParticipantRegistryCommand");
|
|
20
23
|
const GetPreferencesCommand_1 = require("./commands/GetPreferencesCommand");
|
|
21
24
|
const GetProfileCommand_1 = require("./commands/GetProfileCommand");
|
|
22
25
|
const GetStateCommand_1 = require("./commands/GetStateCommand");
|
|
23
26
|
const GetUserByEmailCommand_1 = require("./commands/GetUserByEmailCommand");
|
|
24
27
|
const GetUserCommand_1 = require("./commands/GetUserCommand");
|
|
28
|
+
const GetUserIdByUsernameCommand_1 = require("./commands/GetUserIdByUsernameCommand");
|
|
25
29
|
const IndexLocationCommand_1 = require("./commands/IndexLocationCommand");
|
|
26
30
|
const InitUserCommand_1 = require("./commands/InitUserCommand");
|
|
27
31
|
const LinkEmailCommand_1 = require("./commands/LinkEmailCommand");
|
|
@@ -29,14 +33,17 @@ const LinkSocialCommand_1 = require("./commands/LinkSocialCommand");
|
|
|
29
33
|
const ListMyDevicesCommand_1 = require("./commands/ListMyDevicesCommand");
|
|
30
34
|
const RegisterDeviceCommand_1 = require("./commands/RegisterDeviceCommand");
|
|
31
35
|
const RegisterPhoneCommand_1 = require("./commands/RegisterPhoneCommand");
|
|
36
|
+
const RegisterPushTokenCommand_1 = require("./commands/RegisterPushTokenCommand");
|
|
32
37
|
const RemoveLocationCommand_1 = require("./commands/RemoveLocationCommand");
|
|
33
38
|
const RequestEmailOtpCommand_1 = require("./commands/RequestEmailOtpCommand");
|
|
34
39
|
const RequestPhoneOtpCommand_1 = require("./commands/RequestPhoneOtpCommand");
|
|
35
40
|
const RequestPhoneUpdateOtpCommand_1 = require("./commands/RequestPhoneUpdateOtpCommand");
|
|
36
41
|
const RevokeDeviceCommand_1 = require("./commands/RevokeDeviceCommand");
|
|
42
|
+
const SwipeByUsernameCommand_1 = require("./commands/SwipeByUsernameCommand");
|
|
37
43
|
const SwipeCommand_1 = require("./commands/SwipeCommand");
|
|
38
44
|
const UnhookCommand_1 = require("./commands/UnhookCommand");
|
|
39
45
|
const UnlinkSocialCommand_1 = require("./commands/UnlinkSocialCommand");
|
|
46
|
+
const UpdateChatSettingsCommand_1 = require("./commands/UpdateChatSettingsCommand");
|
|
40
47
|
const UpdateEntitlementsCommand_1 = require("./commands/UpdateEntitlementsCommand");
|
|
41
48
|
const UpdatePhoneNumberCommand_1 = require("./commands/UpdatePhoneNumberCommand");
|
|
42
49
|
const UpdatePreferencesCommand_1 = require("./commands/UpdatePreferencesCommand");
|
|
@@ -47,15 +54,20 @@ const ValidateInviteCommand_1 = require("./commands/ValidateInviteCommand");
|
|
|
47
54
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
48
55
|
const commands = {
|
|
49
56
|
DeleteMatchMessagesCommand: DeleteMatchMessagesCommand_1.DeleteMatchMessagesCommand,
|
|
57
|
+
DeletePushTokenCommand: DeletePushTokenCommand_1.DeletePushTokenCommand,
|
|
58
|
+
GetChatSettingsCommand: GetChatSettingsCommand_1.GetChatSettingsCommand,
|
|
50
59
|
GetParticipantRegistryCommand: GetParticipantRegistryCommand_1.GetParticipantRegistryCommand,
|
|
51
60
|
ListMyDevicesCommand: ListMyDevicesCommand_1.ListMyDevicesCommand,
|
|
52
61
|
RegisterDeviceCommand: RegisterDeviceCommand_1.RegisterDeviceCommand,
|
|
62
|
+
RegisterPushTokenCommand: RegisterPushTokenCommand_1.RegisterPushTokenCommand,
|
|
53
63
|
RevokeDeviceCommand: RevokeDeviceCommand_1.RevokeDeviceCommand,
|
|
64
|
+
UpdateChatSettingsCommand: UpdateChatSettingsCommand_1.UpdateChatSettingsCommand,
|
|
54
65
|
AuthSocialCommand: AuthSocialCommand_1.AuthSocialCommand,
|
|
55
66
|
GenerateInviteCommand: GenerateInviteCommand_1.GenerateInviteCommand,
|
|
56
67
|
GetCredentialReadinessCommand: GetCredentialReadinessCommand_1.GetCredentialReadinessCommand,
|
|
57
68
|
GetUserCommand: GetUserCommand_1.GetUserCommand,
|
|
58
69
|
GetUserByEmailCommand: GetUserByEmailCommand_1.GetUserByEmailCommand,
|
|
70
|
+
GetUserIdByUsernameCommand: GetUserIdByUsernameCommand_1.GetUserIdByUsernameCommand,
|
|
59
71
|
LinkEmailCommand: LinkEmailCommand_1.LinkEmailCommand,
|
|
60
72
|
LinkSocialCommand: LinkSocialCommand_1.LinkSocialCommand,
|
|
61
73
|
RegisterPhoneCommand: RegisterPhoneCommand_1.RegisterPhoneCommand,
|
|
@@ -68,10 +80,12 @@ const commands = {
|
|
|
68
80
|
UpdateUsernameCommand: UpdateUsernameCommand_1.UpdateUsernameCommand,
|
|
69
81
|
ValidateInviteCommand: ValidateInviteCommand_1.ValidateInviteCommand,
|
|
70
82
|
DiscoverCommand: DiscoverCommand_1.DiscoverCommand,
|
|
83
|
+
GetNotificationPreferencesCommand: GetNotificationPreferencesCommand_1.GetNotificationPreferencesCommand,
|
|
71
84
|
GetPreferencesCommand: GetPreferencesCommand_1.GetPreferencesCommand,
|
|
72
85
|
IndexLocationCommand: IndexLocationCommand_1.IndexLocationCommand,
|
|
73
86
|
RemoveLocationCommand: RemoveLocationCommand_1.RemoveLocationCommand,
|
|
74
87
|
SwipeCommand: SwipeCommand_1.SwipeCommand,
|
|
88
|
+
SwipeByUsernameCommand: SwipeByUsernameCommand_1.SwipeByUsernameCommand,
|
|
75
89
|
UpdatePreferencesCommand: UpdatePreferencesCommand_1.UpdatePreferencesCommand,
|
|
76
90
|
CompleteLivenessSessionCommand: CompleteLivenessSessionCommand_1.CompleteLivenessSessionCommand,
|
|
77
91
|
CreateLivenessSessionCommand: CreateLivenessSessionCommand_1.CreateLivenessSessionCommand,
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeletePushTokenCommand = exports.$Command = void 0;
|
|
4
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
class DeletePushTokenCommand extends smithy_client_1.Command.classBuilder()
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [
|
|
11
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
+
];
|
|
13
|
+
})
|
|
14
|
+
.s("OneHookService", "DeletePushToken", {})
|
|
15
|
+
.n("OneHookClient", "DeletePushTokenCommand")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_DeletePushTokenCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_DeletePushTokenCommand)
|
|
19
|
+
.build() {
|
|
20
|
+
}
|
|
21
|
+
exports.DeletePushTokenCommand = DeletePushTokenCommand;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetChatSettingsCommand = exports.$Command = void 0;
|
|
4
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
class GetChatSettingsCommand extends smithy_client_1.Command.classBuilder()
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [
|
|
11
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
+
];
|
|
13
|
+
})
|
|
14
|
+
.s("OneHookService", "GetChatSettings", {})
|
|
15
|
+
.n("OneHookClient", "GetChatSettingsCommand")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_GetChatSettingsCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_GetChatSettingsCommand)
|
|
19
|
+
.build() {
|
|
20
|
+
}
|
|
21
|
+
exports.GetChatSettingsCommand = GetChatSettingsCommand;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetNotificationPreferencesCommand = exports.$Command = void 0;
|
|
4
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
class GetNotificationPreferencesCommand extends smithy_client_1.Command.classBuilder()
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [
|
|
11
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
+
];
|
|
13
|
+
})
|
|
14
|
+
.s("OneHookService", "GetNotificationPreferences", {})
|
|
15
|
+
.n("OneHookClient", "GetNotificationPreferencesCommand")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_GetNotificationPreferencesCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_GetNotificationPreferencesCommand)
|
|
19
|
+
.build() {
|
|
20
|
+
}
|
|
21
|
+
exports.GetNotificationPreferencesCommand = GetNotificationPreferencesCommand;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetUserIdByUsernameCommand = exports.$Command = void 0;
|
|
4
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
class GetUserIdByUsernameCommand extends smithy_client_1.Command.classBuilder()
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [
|
|
11
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
+
];
|
|
13
|
+
})
|
|
14
|
+
.s("OneHookService", "GetUserIdByUsername", {})
|
|
15
|
+
.n("OneHookClient", "GetUserIdByUsernameCommand")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_GetUserIdByUsernameCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_GetUserIdByUsernameCommand)
|
|
19
|
+
.build() {
|
|
20
|
+
}
|
|
21
|
+
exports.GetUserIdByUsernameCommand = GetUserIdByUsernameCommand;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RegisterPushTokenCommand = exports.$Command = void 0;
|
|
4
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
class RegisterPushTokenCommand extends smithy_client_1.Command.classBuilder()
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [
|
|
11
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
+
];
|
|
13
|
+
})
|
|
14
|
+
.s("OneHookService", "RegisterPushToken", {})
|
|
15
|
+
.n("OneHookClient", "RegisterPushTokenCommand")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_RegisterPushTokenCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_RegisterPushTokenCommand)
|
|
19
|
+
.build() {
|
|
20
|
+
}
|
|
21
|
+
exports.RegisterPushTokenCommand = RegisterPushTokenCommand;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SwipeByUsernameCommand = exports.$Command = void 0;
|
|
4
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
class SwipeByUsernameCommand extends smithy_client_1.Command.classBuilder()
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [
|
|
11
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
+
];
|
|
13
|
+
})
|
|
14
|
+
.s("OneHookService", "SwipeByUsername", {})
|
|
15
|
+
.n("OneHookClient", "SwipeByUsernameCommand")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_SwipeByUsernameCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_SwipeByUsernameCommand)
|
|
19
|
+
.build() {
|
|
20
|
+
}
|
|
21
|
+
exports.SwipeByUsernameCommand = SwipeByUsernameCommand;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateChatSettingsCommand = exports.$Command = void 0;
|
|
4
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
class UpdateChatSettingsCommand extends smithy_client_1.Command.classBuilder()
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [
|
|
11
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
+
];
|
|
13
|
+
})
|
|
14
|
+
.s("OneHookService", "UpdateChatSettings", {})
|
|
15
|
+
.n("OneHookClient", "UpdateChatSettingsCommand")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_UpdateChatSettingsCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_UpdateChatSettingsCommand)
|
|
19
|
+
.build() {
|
|
20
|
+
}
|
|
21
|
+
exports.UpdateChatSettingsCommand = UpdateChatSettingsCommand;
|
|
@@ -2,15 +2,20 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
tslib_1.__exportStar(require("./DeleteMatchMessagesCommand"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./DeletePushTokenCommand"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./GetChatSettingsCommand"), exports);
|
|
5
7
|
tslib_1.__exportStar(require("./GetParticipantRegistryCommand"), exports);
|
|
6
8
|
tslib_1.__exportStar(require("./ListMyDevicesCommand"), exports);
|
|
7
9
|
tslib_1.__exportStar(require("./RegisterDeviceCommand"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./RegisterPushTokenCommand"), exports);
|
|
8
11
|
tslib_1.__exportStar(require("./RevokeDeviceCommand"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./UpdateChatSettingsCommand"), exports);
|
|
9
13
|
tslib_1.__exportStar(require("./AuthSocialCommand"), exports);
|
|
10
14
|
tslib_1.__exportStar(require("./GenerateInviteCommand"), exports);
|
|
11
15
|
tslib_1.__exportStar(require("./GetCredentialReadinessCommand"), exports);
|
|
12
16
|
tslib_1.__exportStar(require("./GetUserCommand"), exports);
|
|
13
17
|
tslib_1.__exportStar(require("./GetUserByEmailCommand"), exports);
|
|
18
|
+
tslib_1.__exportStar(require("./GetUserIdByUsernameCommand"), exports);
|
|
14
19
|
tslib_1.__exportStar(require("./LinkEmailCommand"), exports);
|
|
15
20
|
tslib_1.__exportStar(require("./LinkSocialCommand"), exports);
|
|
16
21
|
tslib_1.__exportStar(require("./RegisterPhoneCommand"), exports);
|
|
@@ -23,10 +28,12 @@ tslib_1.__exportStar(require("./UpdatePhoneNumberCommand"), exports);
|
|
|
23
28
|
tslib_1.__exportStar(require("./UpdateUsernameCommand"), exports);
|
|
24
29
|
tslib_1.__exportStar(require("./ValidateInviteCommand"), exports);
|
|
25
30
|
tslib_1.__exportStar(require("./DiscoverCommand"), exports);
|
|
31
|
+
tslib_1.__exportStar(require("./GetNotificationPreferencesCommand"), exports);
|
|
26
32
|
tslib_1.__exportStar(require("./GetPreferencesCommand"), exports);
|
|
27
33
|
tslib_1.__exportStar(require("./IndexLocationCommand"), exports);
|
|
28
34
|
tslib_1.__exportStar(require("./RemoveLocationCommand"), exports);
|
|
29
35
|
tslib_1.__exportStar(require("./SwipeCommand"), exports);
|
|
36
|
+
tslib_1.__exportStar(require("./SwipeByUsernameCommand"), exports);
|
|
30
37
|
tslib_1.__exportStar(require("./UpdatePreferencesCommand"), exports);
|
|
31
38
|
tslib_1.__exportStar(require("./CompleteLivenessSessionCommand"), exports);
|
|
32
39
|
tslib_1.__exportStar(require("./CreateLivenessSessionCommand"), exports);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MessageStatus = exports.KeyRecoveryStatus = void 0;
|
|
3
|
+
exports.NotificationKind = exports.MessageStatus = exports.KeyRecoveryStatus = void 0;
|
|
4
4
|
var KeyRecoveryStatus;
|
|
5
5
|
(function (KeyRecoveryStatus) {
|
|
6
6
|
KeyRecoveryStatus["Completed"] = "COMPLETED";
|
|
@@ -16,3 +16,8 @@ var MessageStatus;
|
|
|
16
16
|
MessageStatus["Sending"] = "SENDING";
|
|
17
17
|
MessageStatus["Sent"] = "SENT";
|
|
18
18
|
})(MessageStatus || (exports.MessageStatus = MessageStatus = {}));
|
|
19
|
+
var NotificationKind;
|
|
20
|
+
(function (NotificationKind) {
|
|
21
|
+
NotificationKind["MutualMatch"] = "MUTUAL_MATCH";
|
|
22
|
+
NotificationKind["ProfileLiked"] = "PROFILE_LIKED";
|
|
23
|
+
})(NotificationKind || (exports.NotificationKind = NotificationKind = {}));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CredentialGap = exports.DeviceLimitError = exports.
|
|
3
|
+
exports.CredentialGap = exports.DeviceLimitError = exports.Platform = exports.LastSeenVisibility = exports.NotFoundError = exports.InternalServerError = exports.BadRequestError = exports.ForbiddenError = void 0;
|
|
4
4
|
const OneHookServiceException_1 = require("./OneHookServiceException");
|
|
5
5
|
class ForbiddenError extends OneHookServiceException_1.OneHookServiceException {
|
|
6
6
|
name = "ForbiddenError";
|
|
@@ -47,11 +47,6 @@ class InternalServerError extends OneHookServiceException_1.OneHookServiceExcept
|
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
exports.InternalServerError = InternalServerError;
|
|
50
|
-
exports.Platform = {
|
|
51
|
-
ANDROID: "ANDROID",
|
|
52
|
-
IOS: "IOS",
|
|
53
|
-
WEB: "WEB",
|
|
54
|
-
};
|
|
55
50
|
class NotFoundError extends OneHookServiceException_1.OneHookServiceException {
|
|
56
51
|
name = "NotFoundError";
|
|
57
52
|
$fault = "client";
|
|
@@ -67,6 +62,16 @@ class NotFoundError extends OneHookServiceException_1.OneHookServiceException {
|
|
|
67
62
|
}
|
|
68
63
|
}
|
|
69
64
|
exports.NotFoundError = NotFoundError;
|
|
65
|
+
exports.LastSeenVisibility = {
|
|
66
|
+
EVERYONE: "EVERYONE",
|
|
67
|
+
MATCHES: "MATCHES",
|
|
68
|
+
NOBODY: "NOBODY",
|
|
69
|
+
};
|
|
70
|
+
exports.Platform = {
|
|
71
|
+
ANDROID: "ANDROID",
|
|
72
|
+
IOS: "IOS",
|
|
73
|
+
WEB: "WEB",
|
|
74
|
+
};
|
|
70
75
|
class DeviceLimitError extends OneHookServiceException_1.OneHookServiceException {
|
|
71
76
|
name = "DeviceLimitError";
|
|
72
77
|
$fault = "client";
|