onehook-api-client 1.0.0
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/LICENSE +201 -0
- package/dist-cjs/OneHookService.js +83 -0
- package/dist-cjs/OneHookServiceClient.js +43 -0
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +35 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +35 -0
- package/dist-cjs/commands/AuthSocialCommand.js +21 -0
- package/dist-cjs/commands/ClaimPreKeyBundleCommand.js +21 -0
- package/dist-cjs/commands/CompleteLivenessSessionCommand.js +21 -0
- package/dist-cjs/commands/CompleteOnboardingCommand.js +21 -0
- package/dist-cjs/commands/CreateLivenessSessionCommand.js +21 -0
- package/dist-cjs/commands/DeleteMatchMessagesCommand.js +21 -0
- package/dist-cjs/commands/DeleteProfileCommand.js +21 -0
- package/dist-cjs/commands/DiscoverCommand.js +21 -0
- package/dist-cjs/commands/GenerateInviteCommand.js +21 -0
- package/dist-cjs/commands/GenerateUploadUrlCommand.js +21 -0
- package/dist-cjs/commands/GetMatchCommand.js +21 -0
- package/dist-cjs/commands/GetMyProfileCommand.js +21 -0
- package/dist-cjs/commands/GetPreferencesCommand.js +21 -0
- package/dist-cjs/commands/GetProfileCommand.js +21 -0
- package/dist-cjs/commands/GetStateCommand.js +21 -0
- package/dist-cjs/commands/GetUserByEmailCommand.js +21 -0
- package/dist-cjs/commands/GetUserCommand.js +21 -0
- package/dist-cjs/commands/IndexLocationCommand.js +21 -0
- package/dist-cjs/commands/InitUserCommand.js +21 -0
- package/dist-cjs/commands/LinkEmailCommand.js +21 -0
- package/dist-cjs/commands/LinkSocialCommand.js +21 -0
- package/dist-cjs/commands/RegisterPhoneCommand.js +21 -0
- package/dist-cjs/commands/RemoveLocationCommand.js +21 -0
- package/dist-cjs/commands/RequestEmailOtpCommand.js +21 -0
- package/dist-cjs/commands/RequestPhoneOtpCommand.js +21 -0
- package/dist-cjs/commands/RequestPhoneUpdateOtpCommand.js +21 -0
- package/dist-cjs/commands/SwipeCommand.js +21 -0
- package/dist-cjs/commands/UnhookCommand.js +21 -0
- package/dist-cjs/commands/UnlinkSocialCommand.js +21 -0
- package/dist-cjs/commands/UpdateEntitlementsCommand.js +21 -0
- package/dist-cjs/commands/UpdatePhoneNumberCommand.js +21 -0
- package/dist-cjs/commands/UpdatePreferencesCommand.js +21 -0
- package/dist-cjs/commands/UpdateProfileCommand.js +21 -0
- package/dist-cjs/commands/UpgradeUserCommand.js +21 -0
- package/dist-cjs/commands/UploadPreKeysCommand.js +21 -0
- package/dist-cjs/commands/ValidateInviteCommand.js +21 -0
- package/dist-cjs/commands/index.js +39 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/graphql/types.js +11 -0
- package/dist-cjs/index.js +10 -0
- package/dist-cjs/models/OneHookServiceServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +60 -0
- package/dist-cjs/protocols/Aws_restJson1.js +1349 -0
- package/dist-cjs/runtimeConfig.browser.js +32 -0
- package/dist-cjs/runtimeConfig.js +37 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +29 -0
- package/dist-cjs/runtimeExtensions.js +22 -0
- package/dist-es/OneHookService.js +79 -0
- package/dist-es/OneHookServiceClient.js +39 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +30 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +29 -0
- package/dist-es/commands/AuthSocialCommand.js +17 -0
- package/dist-es/commands/ClaimPreKeyBundleCommand.js +17 -0
- package/dist-es/commands/CompleteLivenessSessionCommand.js +17 -0
- package/dist-es/commands/CompleteOnboardingCommand.js +17 -0
- package/dist-es/commands/CreateLivenessSessionCommand.js +17 -0
- package/dist-es/commands/DeleteMatchMessagesCommand.js +17 -0
- package/dist-es/commands/DeleteProfileCommand.js +17 -0
- package/dist-es/commands/DiscoverCommand.js +17 -0
- package/dist-es/commands/GenerateInviteCommand.js +17 -0
- package/dist-es/commands/GenerateUploadUrlCommand.js +17 -0
- package/dist-es/commands/GetMatchCommand.js +17 -0
- package/dist-es/commands/GetMyProfileCommand.js +17 -0
- package/dist-es/commands/GetPreferencesCommand.js +17 -0
- package/dist-es/commands/GetProfileCommand.js +17 -0
- package/dist-es/commands/GetStateCommand.js +17 -0
- package/dist-es/commands/GetUserByEmailCommand.js +17 -0
- package/dist-es/commands/GetUserCommand.js +17 -0
- package/dist-es/commands/IndexLocationCommand.js +17 -0
- package/dist-es/commands/InitUserCommand.js +17 -0
- package/dist-es/commands/LinkEmailCommand.js +17 -0
- package/dist-es/commands/LinkSocialCommand.js +17 -0
- package/dist-es/commands/RegisterPhoneCommand.js +17 -0
- package/dist-es/commands/RemoveLocationCommand.js +17 -0
- package/dist-es/commands/RequestEmailOtpCommand.js +17 -0
- package/dist-es/commands/RequestPhoneOtpCommand.js +17 -0
- package/dist-es/commands/RequestPhoneUpdateOtpCommand.js +17 -0
- package/dist-es/commands/SwipeCommand.js +17 -0
- package/dist-es/commands/UnhookCommand.js +17 -0
- package/dist-es/commands/UnlinkSocialCommand.js +17 -0
- package/dist-es/commands/UpdateEntitlementsCommand.js +17 -0
- package/dist-es/commands/UpdatePhoneNumberCommand.js +17 -0
- package/dist-es/commands/UpdatePreferencesCommand.js +17 -0
- package/dist-es/commands/UpdateProfileCommand.js +17 -0
- package/dist-es/commands/UpgradeUserCommand.js +17 -0
- package/dist-es/commands/UploadPreKeysCommand.js +17 -0
- package/dist-es/commands/ValidateInviteCommand.js +17 -0
- package/dist-es/commands/index.js +36 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/graphql/types.js +8 -0
- package/dist-es/index.js +5 -0
- package/dist-es/models/OneHookServiceServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +53 -0
- package/dist-es/protocols/Aws_restJson1.js +1273 -0
- package/dist-es/runtimeConfig.browser.js +27 -0
- package/dist-es/runtimeConfig.js +32 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +25 -0
- package/dist-es/runtimeExtensions.js +18 -0
- package/dist-types/OneHookService.d.ts +267 -0
- package/dist-types/OneHookServiceClient.d.ts +179 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +26 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +59 -0
- package/dist-types/commands/AuthSocialCommand.d.ts +78 -0
- package/dist-types/commands/ClaimPreKeyBundleCommand.d.ts +87 -0
- package/dist-types/commands/CompleteLivenessSessionCommand.d.ts +80 -0
- package/dist-types/commands/CompleteOnboardingCommand.d.ts +75 -0
- package/dist-types/commands/CreateLivenessSessionCommand.d.ts +75 -0
- package/dist-types/commands/DeleteMatchMessagesCommand.d.ts +77 -0
- package/dist-types/commands/DeleteProfileCommand.d.ts +77 -0
- package/dist-types/commands/DiscoverCommand.d.ts +84 -0
- package/dist-types/commands/GenerateInviteCommand.d.ts +78 -0
- package/dist-types/commands/GenerateUploadUrlCommand.d.ts +80 -0
- package/dist-types/commands/GetMatchCommand.d.ts +87 -0
- package/dist-types/commands/GetMyProfileCommand.d.ts +136 -0
- package/dist-types/commands/GetPreferencesCommand.d.ts +83 -0
- package/dist-types/commands/GetProfileCommand.d.ts +136 -0
- package/dist-types/commands/GetStateCommand.d.ts +83 -0
- package/dist-types/commands/GetUserByEmailCommand.d.ts +83 -0
- package/dist-types/commands/GetUserCommand.d.ts +83 -0
- package/dist-types/commands/IndexLocationCommand.d.ts +76 -0
- package/dist-types/commands/InitUserCommand.d.ts +73 -0
- package/dist-types/commands/LinkEmailCommand.d.ts +76 -0
- package/dist-types/commands/LinkSocialCommand.d.ts +76 -0
- package/dist-types/commands/RegisterPhoneCommand.d.ts +79 -0
- package/dist-types/commands/RemoveLocationCommand.d.ts +76 -0
- package/dist-types/commands/RequestEmailOtpCommand.d.ts +76 -0
- package/dist-types/commands/RequestPhoneOtpCommand.d.ts +75 -0
- package/dist-types/commands/RequestPhoneUpdateOtpCommand.d.ts +75 -0
- package/dist-types/commands/SwipeCommand.d.ts +79 -0
- package/dist-types/commands/UnhookCommand.d.ts +78 -0
- package/dist-types/commands/UnlinkSocialCommand.d.ts +75 -0
- package/dist-types/commands/UpdateEntitlementsCommand.d.ts +87 -0
- package/dist-types/commands/UpdatePhoneNumberCommand.d.ts +77 -0
- package/dist-types/commands/UpdatePreferencesCommand.d.ts +81 -0
- package/dist-types/commands/UpdateProfileCommand.d.ts +130 -0
- package/dist-types/commands/UpgradeUserCommand.d.ts +81 -0
- package/dist-types/commands/UploadPreKeysCommand.d.ts +81 -0
- package/dist-types/commands/ValidateInviteCommand.d.ts +78 -0
- package/dist-types/commands/index.d.ts +36 -0
- package/dist-types/extensionConfiguration.d.ts +8 -0
- package/dist-types/graphql/types.d.ts +110 -0
- package/dist-types/index.d.ts +7 -0
- package/dist-types/models/OneHookServiceServiceException.d.ts +14 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +614 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +326 -0
- package/dist-types/runtimeConfig.browser.d.ts +38 -0
- package/dist-types/runtimeConfig.d.ts +38 -0
- package/dist-types/runtimeConfig.native.d.ts +37 -0
- package/dist-types/runtimeConfig.shared.d.ts +23 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/package.json +95 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { de_IndexLocationCommand, se_IndexLocationCommand, } 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 IndexLocationCommand extends $Command.classBuilder()
|
|
6
|
+
.m(function (Command, cs, config, o) {
|
|
7
|
+
return [
|
|
8
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
+
];
|
|
10
|
+
})
|
|
11
|
+
.s("OneHookService", "IndexLocation", {})
|
|
12
|
+
.n("OneHookServiceClient", "IndexLocationCommand")
|
|
13
|
+
.f(void 0, void 0)
|
|
14
|
+
.ser(se_IndexLocationCommand)
|
|
15
|
+
.de(de_IndexLocationCommand)
|
|
16
|
+
.build() {
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { de_InitUserCommand, se_InitUserCommand, } 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 InitUserCommand extends $Command.classBuilder()
|
|
6
|
+
.m(function (Command, cs, config, o) {
|
|
7
|
+
return [
|
|
8
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
+
];
|
|
10
|
+
})
|
|
11
|
+
.s("OneHookService", "InitUser", {})
|
|
12
|
+
.n("OneHookServiceClient", "InitUserCommand")
|
|
13
|
+
.f(void 0, void 0)
|
|
14
|
+
.ser(se_InitUserCommand)
|
|
15
|
+
.de(de_InitUserCommand)
|
|
16
|
+
.build() {
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { de_LinkEmailCommand, se_LinkEmailCommand, } 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 LinkEmailCommand extends $Command.classBuilder()
|
|
6
|
+
.m(function (Command, cs, config, o) {
|
|
7
|
+
return [
|
|
8
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
+
];
|
|
10
|
+
})
|
|
11
|
+
.s("OneHookService", "LinkEmail", {})
|
|
12
|
+
.n("OneHookServiceClient", "LinkEmailCommand")
|
|
13
|
+
.f(void 0, void 0)
|
|
14
|
+
.ser(se_LinkEmailCommand)
|
|
15
|
+
.de(de_LinkEmailCommand)
|
|
16
|
+
.build() {
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { de_LinkSocialCommand, se_LinkSocialCommand, } 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 LinkSocialCommand extends $Command.classBuilder()
|
|
6
|
+
.m(function (Command, cs, config, o) {
|
|
7
|
+
return [
|
|
8
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
+
];
|
|
10
|
+
})
|
|
11
|
+
.s("OneHookService", "LinkSocial", {})
|
|
12
|
+
.n("OneHookServiceClient", "LinkSocialCommand")
|
|
13
|
+
.f(void 0, void 0)
|
|
14
|
+
.ser(se_LinkSocialCommand)
|
|
15
|
+
.de(de_LinkSocialCommand)
|
|
16
|
+
.build() {
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { de_RegisterPhoneCommand, se_RegisterPhoneCommand, } 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 RegisterPhoneCommand extends $Command.classBuilder()
|
|
6
|
+
.m(function (Command, cs, config, o) {
|
|
7
|
+
return [
|
|
8
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
+
];
|
|
10
|
+
})
|
|
11
|
+
.s("OneHookService", "RegisterPhone", {})
|
|
12
|
+
.n("OneHookServiceClient", "RegisterPhoneCommand")
|
|
13
|
+
.f(void 0, void 0)
|
|
14
|
+
.ser(se_RegisterPhoneCommand)
|
|
15
|
+
.de(de_RegisterPhoneCommand)
|
|
16
|
+
.build() {
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { de_RemoveLocationCommand, se_RemoveLocationCommand, } 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 RemoveLocationCommand extends $Command.classBuilder()
|
|
6
|
+
.m(function (Command, cs, config, o) {
|
|
7
|
+
return [
|
|
8
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
+
];
|
|
10
|
+
})
|
|
11
|
+
.s("OneHookService", "RemoveLocation", {})
|
|
12
|
+
.n("OneHookServiceClient", "RemoveLocationCommand")
|
|
13
|
+
.f(void 0, void 0)
|
|
14
|
+
.ser(se_RemoveLocationCommand)
|
|
15
|
+
.de(de_RemoveLocationCommand)
|
|
16
|
+
.build() {
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { de_RequestEmailOtpCommand, se_RequestEmailOtpCommand, } 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 RequestEmailOtpCommand extends $Command.classBuilder()
|
|
6
|
+
.m(function (Command, cs, config, o) {
|
|
7
|
+
return [
|
|
8
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
+
];
|
|
10
|
+
})
|
|
11
|
+
.s("OneHookService", "RequestEmailOtp", {})
|
|
12
|
+
.n("OneHookServiceClient", "RequestEmailOtpCommand")
|
|
13
|
+
.f(void 0, void 0)
|
|
14
|
+
.ser(se_RequestEmailOtpCommand)
|
|
15
|
+
.de(de_RequestEmailOtpCommand)
|
|
16
|
+
.build() {
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { de_RequestPhoneOtpCommand, se_RequestPhoneOtpCommand, } 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 RequestPhoneOtpCommand extends $Command.classBuilder()
|
|
6
|
+
.m(function (Command, cs, config, o) {
|
|
7
|
+
return [
|
|
8
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
+
];
|
|
10
|
+
})
|
|
11
|
+
.s("OneHookService", "RequestPhoneOtp", {})
|
|
12
|
+
.n("OneHookServiceClient", "RequestPhoneOtpCommand")
|
|
13
|
+
.f(void 0, void 0)
|
|
14
|
+
.ser(se_RequestPhoneOtpCommand)
|
|
15
|
+
.de(de_RequestPhoneOtpCommand)
|
|
16
|
+
.build() {
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { de_RequestPhoneUpdateOtpCommand, se_RequestPhoneUpdateOtpCommand, } 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 RequestPhoneUpdateOtpCommand extends $Command.classBuilder()
|
|
6
|
+
.m(function (Command, cs, config, o) {
|
|
7
|
+
return [
|
|
8
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
+
];
|
|
10
|
+
})
|
|
11
|
+
.s("OneHookService", "RequestPhoneUpdateOtp", {})
|
|
12
|
+
.n("OneHookServiceClient", "RequestPhoneUpdateOtpCommand")
|
|
13
|
+
.f(void 0, void 0)
|
|
14
|
+
.ser(se_RequestPhoneUpdateOtpCommand)
|
|
15
|
+
.de(de_RequestPhoneUpdateOtpCommand)
|
|
16
|
+
.build() {
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { de_SwipeCommand, se_SwipeCommand, } 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 SwipeCommand extends $Command.classBuilder()
|
|
6
|
+
.m(function (Command, cs, config, o) {
|
|
7
|
+
return [
|
|
8
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
+
];
|
|
10
|
+
})
|
|
11
|
+
.s("OneHookService", "Swipe", {})
|
|
12
|
+
.n("OneHookServiceClient", "SwipeCommand")
|
|
13
|
+
.f(void 0, void 0)
|
|
14
|
+
.ser(se_SwipeCommand)
|
|
15
|
+
.de(de_SwipeCommand)
|
|
16
|
+
.build() {
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { de_UnhookCommand, se_UnhookCommand, } 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 UnhookCommand extends $Command.classBuilder()
|
|
6
|
+
.m(function (Command, cs, config, o) {
|
|
7
|
+
return [
|
|
8
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
+
];
|
|
10
|
+
})
|
|
11
|
+
.s("OneHookService", "Unhook", {})
|
|
12
|
+
.n("OneHookServiceClient", "UnhookCommand")
|
|
13
|
+
.f(void 0, void 0)
|
|
14
|
+
.ser(se_UnhookCommand)
|
|
15
|
+
.de(de_UnhookCommand)
|
|
16
|
+
.build() {
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { de_UnlinkSocialCommand, se_UnlinkSocialCommand, } 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 UnlinkSocialCommand extends $Command.classBuilder()
|
|
6
|
+
.m(function (Command, cs, config, o) {
|
|
7
|
+
return [
|
|
8
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
+
];
|
|
10
|
+
})
|
|
11
|
+
.s("OneHookService", "UnlinkSocial", {})
|
|
12
|
+
.n("OneHookServiceClient", "UnlinkSocialCommand")
|
|
13
|
+
.f(void 0, void 0)
|
|
14
|
+
.ser(se_UnlinkSocialCommand)
|
|
15
|
+
.de(de_UnlinkSocialCommand)
|
|
16
|
+
.build() {
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { de_UpdateEntitlementsCommand, se_UpdateEntitlementsCommand, } 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 UpdateEntitlementsCommand extends $Command.classBuilder()
|
|
6
|
+
.m(function (Command, cs, config, o) {
|
|
7
|
+
return [
|
|
8
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
+
];
|
|
10
|
+
})
|
|
11
|
+
.s("OneHookService", "UpdateEntitlements", {})
|
|
12
|
+
.n("OneHookServiceClient", "UpdateEntitlementsCommand")
|
|
13
|
+
.f(void 0, void 0)
|
|
14
|
+
.ser(se_UpdateEntitlementsCommand)
|
|
15
|
+
.de(de_UpdateEntitlementsCommand)
|
|
16
|
+
.build() {
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { de_UpdatePhoneNumberCommand, se_UpdatePhoneNumberCommand, } 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 UpdatePhoneNumberCommand extends $Command.classBuilder()
|
|
6
|
+
.m(function (Command, cs, config, o) {
|
|
7
|
+
return [
|
|
8
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
+
];
|
|
10
|
+
})
|
|
11
|
+
.s("OneHookService", "UpdatePhoneNumber", {})
|
|
12
|
+
.n("OneHookServiceClient", "UpdatePhoneNumberCommand")
|
|
13
|
+
.f(void 0, void 0)
|
|
14
|
+
.ser(se_UpdatePhoneNumberCommand)
|
|
15
|
+
.de(de_UpdatePhoneNumberCommand)
|
|
16
|
+
.build() {
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { de_UpdatePreferencesCommand, se_UpdatePreferencesCommand, } 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 UpdatePreferencesCommand extends $Command.classBuilder()
|
|
6
|
+
.m(function (Command, cs, config, o) {
|
|
7
|
+
return [
|
|
8
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
+
];
|
|
10
|
+
})
|
|
11
|
+
.s("OneHookService", "UpdatePreferences", {})
|
|
12
|
+
.n("OneHookServiceClient", "UpdatePreferencesCommand")
|
|
13
|
+
.f(void 0, void 0)
|
|
14
|
+
.ser(se_UpdatePreferencesCommand)
|
|
15
|
+
.de(de_UpdatePreferencesCommand)
|
|
16
|
+
.build() {
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { de_UpdateProfileCommand, se_UpdateProfileCommand, } 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 UpdateProfileCommand extends $Command.classBuilder()
|
|
6
|
+
.m(function (Command, cs, config, o) {
|
|
7
|
+
return [
|
|
8
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
+
];
|
|
10
|
+
})
|
|
11
|
+
.s("OneHookService", "UpdateProfile", {})
|
|
12
|
+
.n("OneHookServiceClient", "UpdateProfileCommand")
|
|
13
|
+
.f(void 0, void 0)
|
|
14
|
+
.ser(se_UpdateProfileCommand)
|
|
15
|
+
.de(de_UpdateProfileCommand)
|
|
16
|
+
.build() {
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { de_UpgradeUserCommand, se_UpgradeUserCommand, } 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 UpgradeUserCommand extends $Command.classBuilder()
|
|
6
|
+
.m(function (Command, cs, config, o) {
|
|
7
|
+
return [
|
|
8
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
+
];
|
|
10
|
+
})
|
|
11
|
+
.s("OneHookService", "UpgradeUser", {})
|
|
12
|
+
.n("OneHookServiceClient", "UpgradeUserCommand")
|
|
13
|
+
.f(void 0, void 0)
|
|
14
|
+
.ser(se_UpgradeUserCommand)
|
|
15
|
+
.de(de_UpgradeUserCommand)
|
|
16
|
+
.build() {
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { de_UploadPreKeysCommand, se_UploadPreKeysCommand, } 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 UploadPreKeysCommand extends $Command.classBuilder()
|
|
6
|
+
.m(function (Command, cs, config, o) {
|
|
7
|
+
return [
|
|
8
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
+
];
|
|
10
|
+
})
|
|
11
|
+
.s("OneHookService", "UploadPreKeys", {})
|
|
12
|
+
.n("OneHookServiceClient", "UploadPreKeysCommand")
|
|
13
|
+
.f(void 0, void 0)
|
|
14
|
+
.ser(se_UploadPreKeysCommand)
|
|
15
|
+
.de(de_UploadPreKeysCommand)
|
|
16
|
+
.build() {
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { de_ValidateInviteCommand, se_ValidateInviteCommand, } 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 ValidateInviteCommand extends $Command.classBuilder()
|
|
6
|
+
.m(function (Command, cs, config, o) {
|
|
7
|
+
return [
|
|
8
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
+
];
|
|
10
|
+
})
|
|
11
|
+
.s("OneHookService", "ValidateInvite", {})
|
|
12
|
+
.n("OneHookServiceClient", "ValidateInviteCommand")
|
|
13
|
+
.f(void 0, void 0)
|
|
14
|
+
.ser(se_ValidateInviteCommand)
|
|
15
|
+
.de(de_ValidateInviteCommand)
|
|
16
|
+
.build() {
|
|
17
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export * from "./ClaimPreKeyBundleCommand";
|
|
2
|
+
export * from "./DeleteMatchMessagesCommand";
|
|
3
|
+
export * from "./UploadPreKeysCommand";
|
|
4
|
+
export * from "./AuthSocialCommand";
|
|
5
|
+
export * from "./GenerateInviteCommand";
|
|
6
|
+
export * from "./GetUserCommand";
|
|
7
|
+
export * from "./GetUserByEmailCommand";
|
|
8
|
+
export * from "./LinkEmailCommand";
|
|
9
|
+
export * from "./LinkSocialCommand";
|
|
10
|
+
export * from "./RegisterPhoneCommand";
|
|
11
|
+
export * from "./RequestEmailOtpCommand";
|
|
12
|
+
export * from "./RequestPhoneOtpCommand";
|
|
13
|
+
export * from "./RequestPhoneUpdateOtpCommand";
|
|
14
|
+
export * from "./UnlinkSocialCommand";
|
|
15
|
+
export * from "./UpdateEntitlementsCommand";
|
|
16
|
+
export * from "./UpdatePhoneNumberCommand";
|
|
17
|
+
export * from "./ValidateInviteCommand";
|
|
18
|
+
export * from "./DiscoverCommand";
|
|
19
|
+
export * from "./GetPreferencesCommand";
|
|
20
|
+
export * from "./IndexLocationCommand";
|
|
21
|
+
export * from "./RemoveLocationCommand";
|
|
22
|
+
export * from "./SwipeCommand";
|
|
23
|
+
export * from "./UpdatePreferencesCommand";
|
|
24
|
+
export * from "./CompleteLivenessSessionCommand";
|
|
25
|
+
export * from "./CreateLivenessSessionCommand";
|
|
26
|
+
export * from "./DeleteProfileCommand";
|
|
27
|
+
export * from "./GenerateUploadUrlCommand";
|
|
28
|
+
export * from "./GetMyProfileCommand";
|
|
29
|
+
export * from "./GetProfileCommand";
|
|
30
|
+
export * from "./UpdateProfileCommand";
|
|
31
|
+
export * from "./CompleteOnboardingCommand";
|
|
32
|
+
export * from "./GetMatchCommand";
|
|
33
|
+
export * from "./GetStateCommand";
|
|
34
|
+
export * from "./InitUserCommand";
|
|
35
|
+
export * from "./UnhookCommand";
|
|
36
|
+
export * from "./UpgradeUserCommand";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export var MessageStatus;
|
|
2
|
+
(function (MessageStatus) {
|
|
3
|
+
MessageStatus["Delivered"] = "DELIVERED";
|
|
4
|
+
MessageStatus["Failed"] = "FAILED";
|
|
5
|
+
MessageStatus["Read"] = "READ";
|
|
6
|
+
MessageStatus["Sending"] = "SENDING";
|
|
7
|
+
MessageStatus["Sent"] = "SENT";
|
|
8
|
+
})(MessageStatus || (MessageStatus = {}));
|
package/dist-es/index.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, } from "@smithy/smithy-client";
|
|
2
|
+
export { __ServiceException };
|
|
3
|
+
export class OneHookServiceServiceException extends __ServiceException {
|
|
4
|
+
constructor(options) {
|
|
5
|
+
super(options);
|
|
6
|
+
Object.setPrototypeOf(this, OneHookServiceServiceException.prototype);
|
|
7
|
+
}
|
|
8
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./models_0";
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { OneHookServiceServiceException as __BaseException } from "./OneHookServiceServiceException";
|
|
2
|
+
export class ForbiddenError extends __BaseException {
|
|
3
|
+
constructor(opts) {
|
|
4
|
+
super({
|
|
5
|
+
name: "ForbiddenError",
|
|
6
|
+
$fault: "client",
|
|
7
|
+
...opts
|
|
8
|
+
});
|
|
9
|
+
this.name = "ForbiddenError";
|
|
10
|
+
this.$fault = "client";
|
|
11
|
+
Object.setPrototypeOf(this, ForbiddenError.prototype);
|
|
12
|
+
this.error = opts.error;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
export class BadRequestError extends __BaseException {
|
|
16
|
+
constructor(opts) {
|
|
17
|
+
super({
|
|
18
|
+
name: "BadRequestError",
|
|
19
|
+
$fault: "client",
|
|
20
|
+
...opts
|
|
21
|
+
});
|
|
22
|
+
this.name = "BadRequestError";
|
|
23
|
+
this.$fault = "client";
|
|
24
|
+
Object.setPrototypeOf(this, BadRequestError.prototype);
|
|
25
|
+
this.error = opts.error;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
export class InternalServerError extends __BaseException {
|
|
29
|
+
constructor(opts) {
|
|
30
|
+
super({
|
|
31
|
+
name: "InternalServerError",
|
|
32
|
+
$fault: "server",
|
|
33
|
+
...opts
|
|
34
|
+
});
|
|
35
|
+
this.name = "InternalServerError";
|
|
36
|
+
this.$fault = "server";
|
|
37
|
+
Object.setPrototypeOf(this, InternalServerError.prototype);
|
|
38
|
+
this.error = opts.error;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
export class NotFoundError extends __BaseException {
|
|
42
|
+
constructor(opts) {
|
|
43
|
+
super({
|
|
44
|
+
name: "NotFoundError",
|
|
45
|
+
$fault: "client",
|
|
46
|
+
...opts
|
|
47
|
+
});
|
|
48
|
+
this.name = "NotFoundError";
|
|
49
|
+
this.$fault = "client";
|
|
50
|
+
Object.setPrototypeOf(this, NotFoundError.prototype);
|
|
51
|
+
this.error = opts.error;
|
|
52
|
+
}
|
|
53
|
+
}
|