onehook-api-client 1.0.0 → 1.0.4
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 +451 -0
- package/dist-cjs/{OneHookService.js → OneHook.js} +5 -5
- package/dist-cjs/{OneHookServiceClient.js → OneHookClient.js} +16 -11
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +8 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +24 -11
- package/dist-cjs/commands/AuthSocialCommand.js +1 -1
- package/dist-cjs/commands/ClaimPreKeyBundleCommand.js +1 -1
- package/dist-cjs/commands/CompleteLivenessSessionCommand.js +1 -1
- package/dist-cjs/commands/CompleteOnboardingCommand.js +1 -1
- package/dist-cjs/commands/CreateLivenessSessionCommand.js +1 -1
- package/dist-cjs/commands/DeleteMatchMessagesCommand.js +1 -1
- package/dist-cjs/commands/DeleteProfileCommand.js +1 -1
- package/dist-cjs/commands/DiscoverCommand.js +1 -1
- package/dist-cjs/commands/GenerateInviteCommand.js +1 -1
- package/dist-cjs/commands/GenerateUploadUrlCommand.js +1 -1
- package/dist-cjs/commands/GetMatchCommand.js +1 -1
- package/dist-cjs/commands/GetMyProfileCommand.js +1 -1
- package/dist-cjs/commands/GetPreferencesCommand.js +1 -1
- package/dist-cjs/commands/GetProfileCommand.js +1 -1
- package/dist-cjs/commands/GetStateCommand.js +1 -1
- package/dist-cjs/commands/GetUserByEmailCommand.js +1 -1
- package/dist-cjs/commands/GetUserCommand.js +1 -1
- package/dist-cjs/commands/IndexLocationCommand.js +1 -1
- package/dist-cjs/commands/InitUserCommand.js +1 -1
- package/dist-cjs/commands/LinkEmailCommand.js +1 -1
- package/dist-cjs/commands/LinkSocialCommand.js +1 -1
- package/dist-cjs/commands/RegisterPhoneCommand.js +1 -1
- package/dist-cjs/commands/RemoveLocationCommand.js +1 -1
- package/dist-cjs/commands/RequestEmailOtpCommand.js +1 -1
- package/dist-cjs/commands/RequestPhoneOtpCommand.js +1 -1
- package/dist-cjs/commands/RequestPhoneUpdateOtpCommand.js +1 -1
- package/dist-cjs/commands/SwipeCommand.js +1 -1
- package/dist-cjs/commands/UnhookCommand.js +1 -1
- package/dist-cjs/commands/UnlinkSocialCommand.js +1 -1
- package/dist-cjs/commands/UpdateEntitlementsCommand.js +1 -1
- package/dist-cjs/commands/UpdatePhoneNumberCommand.js +1 -1
- package/dist-cjs/commands/UpdatePreferencesCommand.js +1 -1
- package/dist-cjs/commands/UpdateProfileCommand.js +1 -1
- package/dist-cjs/commands/UpgradeUserCommand.js +1 -1
- package/dist-cjs/commands/UploadPreKeysCommand.js +1 -1
- package/dist-cjs/commands/ValidateInviteCommand.js +1 -1
- package/dist-cjs/endpoints.js +232 -0
- package/dist-cjs/graphql/types.js +1 -1
- package/dist-cjs/index.js +5 -5
- package/dist-cjs/models/{OneHookServiceServiceException.js → OneHookServiceException.js} +4 -4
- package/dist-cjs/models/models_0.js +17 -13
- package/dist-cjs/protocols/Aws_restJson1.js +2 -2
- package/dist-cjs/runtimeConfig.browser.js +7 -1
- package/dist-cjs/runtimeConfig.js +13 -4
- package/dist-cjs/runtimeConfig.shared.js +8 -5
- package/dist-cjs/runtimeExtensions.js +3 -12
- package/dist-es/{OneHookService.js → OneHook.js} +3 -3
- package/dist-es/{OneHookServiceClient.js → OneHookClient.js} +16 -11
- package/dist-es/auth/httpAuthExtensionConfiguration.js +8 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +22 -9
- package/dist-es/commands/AuthSocialCommand.js +1 -1
- package/dist-es/commands/ClaimPreKeyBundleCommand.js +1 -1
- package/dist-es/commands/CompleteLivenessSessionCommand.js +1 -1
- package/dist-es/commands/CompleteOnboardingCommand.js +1 -1
- package/dist-es/commands/CreateLivenessSessionCommand.js +1 -1
- package/dist-es/commands/DeleteMatchMessagesCommand.js +1 -1
- package/dist-es/commands/DeleteProfileCommand.js +1 -1
- package/dist-es/commands/DiscoverCommand.js +1 -1
- package/dist-es/commands/GenerateInviteCommand.js +1 -1
- package/dist-es/commands/GenerateUploadUrlCommand.js +1 -1
- package/dist-es/commands/GetMatchCommand.js +1 -1
- package/dist-es/commands/GetMyProfileCommand.js +1 -1
- package/dist-es/commands/GetPreferencesCommand.js +1 -1
- package/dist-es/commands/GetProfileCommand.js +1 -1
- package/dist-es/commands/GetStateCommand.js +1 -1
- package/dist-es/commands/GetUserByEmailCommand.js +1 -1
- package/dist-es/commands/GetUserCommand.js +1 -1
- package/dist-es/commands/IndexLocationCommand.js +1 -1
- package/dist-es/commands/InitUserCommand.js +1 -1
- package/dist-es/commands/LinkEmailCommand.js +1 -1
- package/dist-es/commands/LinkSocialCommand.js +1 -1
- package/dist-es/commands/RegisterPhoneCommand.js +1 -1
- package/dist-es/commands/RemoveLocationCommand.js +1 -1
- package/dist-es/commands/RequestEmailOtpCommand.js +1 -1
- package/dist-es/commands/RequestPhoneOtpCommand.js +1 -1
- package/dist-es/commands/RequestPhoneUpdateOtpCommand.js +1 -1
- package/dist-es/commands/SwipeCommand.js +1 -1
- package/dist-es/commands/UnhookCommand.js +1 -1
- package/dist-es/commands/UnlinkSocialCommand.js +1 -1
- package/dist-es/commands/UpdateEntitlementsCommand.js +1 -1
- package/dist-es/commands/UpdatePhoneNumberCommand.js +1 -1
- package/dist-es/commands/UpdatePreferencesCommand.js +1 -1
- package/dist-es/commands/UpdateProfileCommand.js +1 -1
- package/dist-es/commands/UpgradeUserCommand.js +1 -1
- package/dist-es/commands/UploadPreKeysCommand.js +1 -1
- package/dist-es/commands/ValidateInviteCommand.js +1 -1
- package/dist-es/endpoints.js +228 -0
- package/dist-es/index.js +3 -3
- package/dist-es/models/{OneHookServiceServiceException.js → OneHookServiceException.js} +2 -2
- package/dist-es/models/models_0.js +13 -9
- package/dist-es/protocols/Aws_restJson1.js +1 -1
- package/dist-es/runtimeConfig.browser.js +7 -1
- package/dist-es/runtimeConfig.js +13 -4
- package/dist-es/runtimeConfig.shared.js +9 -6
- package/dist-es/runtimeExtensions.js +3 -12
- package/dist-types/{OneHookService.d.ts → OneHook.d.ts} +3 -3
- package/dist-types/{OneHookServiceClient.d.ts → OneHookClient.d.ts} +58 -12
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +8 -5
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +13 -11
- package/dist-types/commands/AuthSocialCommand.d.ts +11 -10
- package/dist-types/commands/ClaimPreKeyBundleCommand.d.ts +11 -10
- package/dist-types/commands/CompleteLivenessSessionCommand.d.ts +11 -10
- package/dist-types/commands/CompleteOnboardingCommand.d.ts +11 -10
- package/dist-types/commands/CreateLivenessSessionCommand.d.ts +11 -10
- package/dist-types/commands/DeleteMatchMessagesCommand.d.ts +11 -10
- package/dist-types/commands/DeleteProfileCommand.d.ts +11 -10
- package/dist-types/commands/DiscoverCommand.d.ts +11 -10
- package/dist-types/commands/GenerateInviteCommand.d.ts +11 -10
- package/dist-types/commands/GenerateUploadUrlCommand.d.ts +11 -10
- package/dist-types/commands/GetMatchCommand.d.ts +11 -10
- package/dist-types/commands/GetMyProfileCommand.d.ts +11 -10
- package/dist-types/commands/GetPreferencesCommand.d.ts +11 -10
- package/dist-types/commands/GetProfileCommand.d.ts +11 -10
- package/dist-types/commands/GetStateCommand.d.ts +11 -10
- package/dist-types/commands/GetUserByEmailCommand.d.ts +11 -10
- package/dist-types/commands/GetUserCommand.d.ts +11 -10
- package/dist-types/commands/IndexLocationCommand.d.ts +11 -10
- package/dist-types/commands/InitUserCommand.d.ts +11 -10
- package/dist-types/commands/LinkEmailCommand.d.ts +11 -10
- package/dist-types/commands/LinkSocialCommand.d.ts +11 -10
- package/dist-types/commands/RegisterPhoneCommand.d.ts +11 -10
- package/dist-types/commands/RemoveLocationCommand.d.ts +11 -10
- package/dist-types/commands/RequestEmailOtpCommand.d.ts +11 -10
- package/dist-types/commands/RequestPhoneOtpCommand.d.ts +11 -10
- package/dist-types/commands/RequestPhoneUpdateOtpCommand.d.ts +11 -10
- package/dist-types/commands/SwipeCommand.d.ts +11 -10
- package/dist-types/commands/UnhookCommand.d.ts +11 -10
- package/dist-types/commands/UnlinkSocialCommand.d.ts +11 -10
- package/dist-types/commands/UpdateEntitlementsCommand.d.ts +11 -10
- package/dist-types/commands/UpdatePhoneNumberCommand.d.ts +11 -10
- package/dist-types/commands/UpdatePreferencesCommand.d.ts +11 -10
- package/dist-types/commands/UpdateProfileCommand.d.ts +11 -10
- package/dist-types/commands/UpgradeUserCommand.d.ts +11 -10
- package/dist-types/commands/UploadPreKeysCommand.d.ts +11 -10
- package/dist-types/commands/ValidateInviteCommand.d.ts +11 -10
- package/dist-types/endpoints.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +2 -1
- package/dist-types/index.d.ts +4 -4
- package/dist-types/models/{OneHookServiceServiceException.d.ts → OneHookServiceException.d.ts} +2 -2
- package/dist-types/models/models_0.d.ts +5 -1
- package/dist-types/runtimeConfig.browser.d.ts +28 -13
- package/dist-types/runtimeConfig.d.ts +28 -13
- package/dist-types/runtimeConfig.native.d.ts +28 -13
- package/dist-types/runtimeConfig.shared.d.ts +6 -10
- package/dist-types/runtimeExtensions.d.ts +2 -2
- package/package.json +38 -36
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookClient";
|
|
2
2
|
import { LinkEmailRequest, LinkEmailResponse } from "../models/models_0";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
@@ -22,9 +22,9 @@ export interface LinkEmailCommandInput extends LinkEmailRequest {
|
|
|
22
22
|
export interface LinkEmailCommandOutput extends LinkEmailResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const LinkEmailCommand_base: {
|
|
25
|
-
new (input: LinkEmailCommandInput): import("@smithy/smithy-client").CommandImpl<LinkEmailCommandInput, LinkEmailCommandOutput,
|
|
26
|
-
new (__0_0: LinkEmailCommandInput): import("@smithy/smithy-client").CommandImpl<LinkEmailCommandInput, LinkEmailCommandOutput,
|
|
27
|
-
getEndpointParameterInstructions(): import("@smithy/
|
|
25
|
+
new (input: LinkEmailCommandInput): import("@smithy/smithy-client").CommandImpl<LinkEmailCommandInput, LinkEmailCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: LinkEmailCommandInput): import("@smithy/smithy-client").CommandImpl<LinkEmailCommandInput, LinkEmailCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* @public
|
|
@@ -32,9 +32,9 @@ declare const LinkEmailCommand_base: {
|
|
|
32
32
|
* @example
|
|
33
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
34
|
* ```javascript
|
|
35
|
-
* import {
|
|
36
|
-
* // const {
|
|
37
|
-
* const client = new
|
|
35
|
+
* import { OneHookClient, LinkEmailCommand } from "onehook-api-client"; // ES Modules import
|
|
36
|
+
* // const { OneHookClient, LinkEmailCommand } = require("onehook-api-client"); // CommonJS import
|
|
37
|
+
* const client = new OneHookClient(config);
|
|
38
38
|
* const input = { // LinkEmailRequest
|
|
39
39
|
* email: "STRING_VALUE", // required
|
|
40
40
|
* otp: "STRING_VALUE", // required
|
|
@@ -51,14 +51,15 @@ declare const LinkEmailCommand_base: {
|
|
|
51
51
|
* @returns {@link LinkEmailCommandOutput}
|
|
52
52
|
* @see {@link LinkEmailCommandInput} for command's `input` shape.
|
|
53
53
|
* @see {@link LinkEmailCommandOutput} for command's `response` shape.
|
|
54
|
-
* @see {@link
|
|
54
|
+
* @see {@link OneHookClientResolvedConfig | config} for OneHookClient's `config` shape.
|
|
55
55
|
*
|
|
56
56
|
* @throws {@link BadRequestError} (client fault)
|
|
57
57
|
*
|
|
58
58
|
* @throws {@link InternalServerError} (server fault)
|
|
59
59
|
*
|
|
60
|
-
* @throws {@link
|
|
61
|
-
* <p>Base exception class for all service exceptions from
|
|
60
|
+
* @throws {@link OneHookServiceException}
|
|
61
|
+
* <p>Base exception class for all service exceptions from OneHook service.</p>
|
|
62
|
+
*
|
|
62
63
|
*
|
|
63
64
|
*/
|
|
64
65
|
export declare class LinkEmailCommand extends LinkEmailCommand_base {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookClient";
|
|
2
2
|
import { LinkSocialRequest, LinkSocialResponse } from "../models/models_0";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
@@ -22,9 +22,9 @@ export interface LinkSocialCommandInput extends LinkSocialRequest {
|
|
|
22
22
|
export interface LinkSocialCommandOutput extends LinkSocialResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const LinkSocialCommand_base: {
|
|
25
|
-
new (input: LinkSocialCommandInput): import("@smithy/smithy-client").CommandImpl<LinkSocialCommandInput, LinkSocialCommandOutput,
|
|
26
|
-
new (__0_0: LinkSocialCommandInput): import("@smithy/smithy-client").CommandImpl<LinkSocialCommandInput, LinkSocialCommandOutput,
|
|
27
|
-
getEndpointParameterInstructions(): import("@smithy/
|
|
25
|
+
new (input: LinkSocialCommandInput): import("@smithy/smithy-client").CommandImpl<LinkSocialCommandInput, LinkSocialCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: LinkSocialCommandInput): import("@smithy/smithy-client").CommandImpl<LinkSocialCommandInput, LinkSocialCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* @public
|
|
@@ -32,9 +32,9 @@ declare const LinkSocialCommand_base: {
|
|
|
32
32
|
* @example
|
|
33
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
34
|
* ```javascript
|
|
35
|
-
* import {
|
|
36
|
-
* // const {
|
|
37
|
-
* const client = new
|
|
35
|
+
* import { OneHookClient, LinkSocialCommand } from "onehook-api-client"; // ES Modules import
|
|
36
|
+
* // const { OneHookClient, LinkSocialCommand } = require("onehook-api-client"); // CommonJS import
|
|
37
|
+
* const client = new OneHookClient(config);
|
|
38
38
|
* const input = { // LinkSocialRequest
|
|
39
39
|
* identityToken: "STRING_VALUE", // required
|
|
40
40
|
* provider: "STRING_VALUE", // required
|
|
@@ -51,14 +51,15 @@ declare const LinkSocialCommand_base: {
|
|
|
51
51
|
* @returns {@link LinkSocialCommandOutput}
|
|
52
52
|
* @see {@link LinkSocialCommandInput} for command's `input` shape.
|
|
53
53
|
* @see {@link LinkSocialCommandOutput} for command's `response` shape.
|
|
54
|
-
* @see {@link
|
|
54
|
+
* @see {@link OneHookClientResolvedConfig | config} for OneHookClient's `config` shape.
|
|
55
55
|
*
|
|
56
56
|
* @throws {@link BadRequestError} (client fault)
|
|
57
57
|
*
|
|
58
58
|
* @throws {@link InternalServerError} (server fault)
|
|
59
59
|
*
|
|
60
|
-
* @throws {@link
|
|
61
|
-
* <p>Base exception class for all service exceptions from
|
|
60
|
+
* @throws {@link OneHookServiceException}
|
|
61
|
+
* <p>Base exception class for all service exceptions from OneHook service.</p>
|
|
62
|
+
*
|
|
62
63
|
*
|
|
63
64
|
*/
|
|
64
65
|
export declare class LinkSocialCommand extends LinkSocialCommand_base {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookClient";
|
|
2
2
|
import { RegisterPhoneRequest, RegisterPhoneResponse } from "../models/models_0";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
@@ -22,9 +22,9 @@ export interface RegisterPhoneCommandInput extends RegisterPhoneRequest {
|
|
|
22
22
|
export interface RegisterPhoneCommandOutput extends RegisterPhoneResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const RegisterPhoneCommand_base: {
|
|
25
|
-
new (input: RegisterPhoneCommandInput): import("@smithy/smithy-client").CommandImpl<RegisterPhoneCommandInput, RegisterPhoneCommandOutput,
|
|
26
|
-
new (__0_0: RegisterPhoneCommandInput): import("@smithy/smithy-client").CommandImpl<RegisterPhoneCommandInput, RegisterPhoneCommandOutput,
|
|
27
|
-
getEndpointParameterInstructions(): import("@smithy/
|
|
25
|
+
new (input: RegisterPhoneCommandInput): import("@smithy/smithy-client").CommandImpl<RegisterPhoneCommandInput, RegisterPhoneCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: RegisterPhoneCommandInput): import("@smithy/smithy-client").CommandImpl<RegisterPhoneCommandInput, RegisterPhoneCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* @public
|
|
@@ -32,9 +32,9 @@ declare const RegisterPhoneCommand_base: {
|
|
|
32
32
|
* @example
|
|
33
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
34
|
* ```javascript
|
|
35
|
-
* import {
|
|
36
|
-
* // const {
|
|
37
|
-
* const client = new
|
|
35
|
+
* import { OneHookClient, RegisterPhoneCommand } from "onehook-api-client"; // ES Modules import
|
|
36
|
+
* // const { OneHookClient, RegisterPhoneCommand } = require("onehook-api-client"); // CommonJS import
|
|
37
|
+
* const client = new OneHookClient(config);
|
|
38
38
|
* const input = { // RegisterPhoneRequest
|
|
39
39
|
* phoneNumber: "STRING_VALUE", // required
|
|
40
40
|
* otp: "STRING_VALUE", // required
|
|
@@ -54,14 +54,15 @@ declare const RegisterPhoneCommand_base: {
|
|
|
54
54
|
* @returns {@link RegisterPhoneCommandOutput}
|
|
55
55
|
* @see {@link RegisterPhoneCommandInput} for command's `input` shape.
|
|
56
56
|
* @see {@link RegisterPhoneCommandOutput} for command's `response` shape.
|
|
57
|
-
* @see {@link
|
|
57
|
+
* @see {@link OneHookClientResolvedConfig | config} for OneHookClient's `config` shape.
|
|
58
58
|
*
|
|
59
59
|
* @throws {@link BadRequestError} (client fault)
|
|
60
60
|
*
|
|
61
61
|
* @throws {@link InternalServerError} (server fault)
|
|
62
62
|
*
|
|
63
|
-
* @throws {@link
|
|
64
|
-
* <p>Base exception class for all service exceptions from
|
|
63
|
+
* @throws {@link OneHookServiceException}
|
|
64
|
+
* <p>Base exception class for all service exceptions from OneHook service.</p>
|
|
65
|
+
*
|
|
65
66
|
*
|
|
66
67
|
*/
|
|
67
68
|
export declare class RegisterPhoneCommand extends RegisterPhoneCommand_base {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookClient";
|
|
2
2
|
import { LocationRequest, StatusResponse } from "../models/models_0";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
@@ -22,9 +22,9 @@ export interface RemoveLocationCommandInput extends LocationRequest {
|
|
|
22
22
|
export interface RemoveLocationCommandOutput extends StatusResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const RemoveLocationCommand_base: {
|
|
25
|
-
new (input: RemoveLocationCommandInput): import("@smithy/smithy-client").CommandImpl<RemoveLocationCommandInput, RemoveLocationCommandOutput,
|
|
26
|
-
new (__0_0: RemoveLocationCommandInput): import("@smithy/smithy-client").CommandImpl<RemoveLocationCommandInput, RemoveLocationCommandOutput,
|
|
27
|
-
getEndpointParameterInstructions(): import("@smithy/
|
|
25
|
+
new (input: RemoveLocationCommandInput): import("@smithy/smithy-client").CommandImpl<RemoveLocationCommandInput, RemoveLocationCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: RemoveLocationCommandInput): import("@smithy/smithy-client").CommandImpl<RemoveLocationCommandInput, RemoveLocationCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* @public
|
|
@@ -32,9 +32,9 @@ declare const RemoveLocationCommand_base: {
|
|
|
32
32
|
* @example
|
|
33
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
34
|
* ```javascript
|
|
35
|
-
* import {
|
|
36
|
-
* // const {
|
|
37
|
-
* const client = new
|
|
35
|
+
* import { OneHookClient, RemoveLocationCommand } from "onehook-api-client"; // ES Modules import
|
|
36
|
+
* // const { OneHookClient, RemoveLocationCommand } = require("onehook-api-client"); // CommonJS import
|
|
37
|
+
* const client = new OneHookClient(config);
|
|
38
38
|
* const input = { // LocationRequest
|
|
39
39
|
* lat: Number("double"), // required
|
|
40
40
|
* lon: Number("double"), // required
|
|
@@ -51,14 +51,15 @@ declare const RemoveLocationCommand_base: {
|
|
|
51
51
|
* @returns {@link RemoveLocationCommandOutput}
|
|
52
52
|
* @see {@link RemoveLocationCommandInput} for command's `input` shape.
|
|
53
53
|
* @see {@link RemoveLocationCommandOutput} for command's `response` shape.
|
|
54
|
-
* @see {@link
|
|
54
|
+
* @see {@link OneHookClientResolvedConfig | config} for OneHookClient's `config` shape.
|
|
55
55
|
*
|
|
56
56
|
* @throws {@link BadRequestError} (client fault)
|
|
57
57
|
*
|
|
58
58
|
* @throws {@link InternalServerError} (server fault)
|
|
59
59
|
*
|
|
60
|
-
* @throws {@link
|
|
61
|
-
* <p>Base exception class for all service exceptions from
|
|
60
|
+
* @throws {@link OneHookServiceException}
|
|
61
|
+
* <p>Base exception class for all service exceptions from OneHook service.</p>
|
|
62
|
+
*
|
|
62
63
|
*
|
|
63
64
|
*/
|
|
64
65
|
export declare class RemoveLocationCommand extends RemoveLocationCommand_base {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookClient";
|
|
2
2
|
import { RequestEmailOtpRequest, RequestEmailOtpResponse } from "../models/models_0";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
@@ -22,9 +22,9 @@ export interface RequestEmailOtpCommandInput extends RequestEmailOtpRequest {
|
|
|
22
22
|
export interface RequestEmailOtpCommandOutput extends RequestEmailOtpResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const RequestEmailOtpCommand_base: {
|
|
25
|
-
new (input: RequestEmailOtpCommandInput): import("@smithy/smithy-client").CommandImpl<RequestEmailOtpCommandInput, RequestEmailOtpCommandOutput,
|
|
26
|
-
new (__0_0: RequestEmailOtpCommandInput): import("@smithy/smithy-client").CommandImpl<RequestEmailOtpCommandInput, RequestEmailOtpCommandOutput,
|
|
27
|
-
getEndpointParameterInstructions(): import("@smithy/
|
|
25
|
+
new (input: RequestEmailOtpCommandInput): import("@smithy/smithy-client").CommandImpl<RequestEmailOtpCommandInput, RequestEmailOtpCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: RequestEmailOtpCommandInput): import("@smithy/smithy-client").CommandImpl<RequestEmailOtpCommandInput, RequestEmailOtpCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* @public
|
|
@@ -32,9 +32,9 @@ declare const RequestEmailOtpCommand_base: {
|
|
|
32
32
|
* @example
|
|
33
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
34
|
* ```javascript
|
|
35
|
-
* import {
|
|
36
|
-
* // const {
|
|
37
|
-
* const client = new
|
|
35
|
+
* import { OneHookClient, RequestEmailOtpCommand } from "onehook-api-client"; // ES Modules import
|
|
36
|
+
* // const { OneHookClient, RequestEmailOtpCommand } = require("onehook-api-client"); // CommonJS import
|
|
37
|
+
* const client = new OneHookClient(config);
|
|
38
38
|
* const input = { // RequestEmailOtpRequest
|
|
39
39
|
* email: "STRING_VALUE", // required
|
|
40
40
|
* password: "STRING_VALUE",
|
|
@@ -51,14 +51,15 @@ declare const RequestEmailOtpCommand_base: {
|
|
|
51
51
|
* @returns {@link RequestEmailOtpCommandOutput}
|
|
52
52
|
* @see {@link RequestEmailOtpCommandInput} for command's `input` shape.
|
|
53
53
|
* @see {@link RequestEmailOtpCommandOutput} for command's `response` shape.
|
|
54
|
-
* @see {@link
|
|
54
|
+
* @see {@link OneHookClientResolvedConfig | config} for OneHookClient's `config` shape.
|
|
55
55
|
*
|
|
56
56
|
* @throws {@link BadRequestError} (client fault)
|
|
57
57
|
*
|
|
58
58
|
* @throws {@link InternalServerError} (server fault)
|
|
59
59
|
*
|
|
60
|
-
* @throws {@link
|
|
61
|
-
* <p>Base exception class for all service exceptions from
|
|
60
|
+
* @throws {@link OneHookServiceException}
|
|
61
|
+
* <p>Base exception class for all service exceptions from OneHook service.</p>
|
|
62
|
+
*
|
|
62
63
|
*
|
|
63
64
|
*/
|
|
64
65
|
export declare class RequestEmailOtpCommand extends RequestEmailOtpCommand_base {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookClient";
|
|
2
2
|
import { RequestPhoneOtpRequest, RequestPhoneOtpResponse } from "../models/models_0";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
@@ -22,9 +22,9 @@ export interface RequestPhoneOtpCommandInput extends RequestPhoneOtpRequest {
|
|
|
22
22
|
export interface RequestPhoneOtpCommandOutput extends RequestPhoneOtpResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const RequestPhoneOtpCommand_base: {
|
|
25
|
-
new (input: RequestPhoneOtpCommandInput): import("@smithy/smithy-client").CommandImpl<RequestPhoneOtpCommandInput, RequestPhoneOtpCommandOutput,
|
|
26
|
-
new (__0_0: RequestPhoneOtpCommandInput): import("@smithy/smithy-client").CommandImpl<RequestPhoneOtpCommandInput, RequestPhoneOtpCommandOutput,
|
|
27
|
-
getEndpointParameterInstructions(): import("@smithy/
|
|
25
|
+
new (input: RequestPhoneOtpCommandInput): import("@smithy/smithy-client").CommandImpl<RequestPhoneOtpCommandInput, RequestPhoneOtpCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: RequestPhoneOtpCommandInput): import("@smithy/smithy-client").CommandImpl<RequestPhoneOtpCommandInput, RequestPhoneOtpCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* @public
|
|
@@ -32,9 +32,9 @@ declare const RequestPhoneOtpCommand_base: {
|
|
|
32
32
|
* @example
|
|
33
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
34
|
* ```javascript
|
|
35
|
-
* import {
|
|
36
|
-
* // const {
|
|
37
|
-
* const client = new
|
|
35
|
+
* import { OneHookClient, RequestPhoneOtpCommand } from "onehook-api-client"; // ES Modules import
|
|
36
|
+
* // const { OneHookClient, RequestPhoneOtpCommand } = require("onehook-api-client"); // CommonJS import
|
|
37
|
+
* const client = new OneHookClient(config);
|
|
38
38
|
* const input = { // RequestPhoneOtpRequest
|
|
39
39
|
* phoneNumber: "STRING_VALUE", // required
|
|
40
40
|
* };
|
|
@@ -50,14 +50,15 @@ declare const RequestPhoneOtpCommand_base: {
|
|
|
50
50
|
* @returns {@link RequestPhoneOtpCommandOutput}
|
|
51
51
|
* @see {@link RequestPhoneOtpCommandInput} for command's `input` shape.
|
|
52
52
|
* @see {@link RequestPhoneOtpCommandOutput} for command's `response` shape.
|
|
53
|
-
* @see {@link
|
|
53
|
+
* @see {@link OneHookClientResolvedConfig | config} for OneHookClient's `config` shape.
|
|
54
54
|
*
|
|
55
55
|
* @throws {@link BadRequestError} (client fault)
|
|
56
56
|
*
|
|
57
57
|
* @throws {@link InternalServerError} (server fault)
|
|
58
58
|
*
|
|
59
|
-
* @throws {@link
|
|
60
|
-
* <p>Base exception class for all service exceptions from
|
|
59
|
+
* @throws {@link OneHookServiceException}
|
|
60
|
+
* <p>Base exception class for all service exceptions from OneHook service.</p>
|
|
61
|
+
*
|
|
61
62
|
*
|
|
62
63
|
*/
|
|
63
64
|
export declare class RequestPhoneOtpCommand extends RequestPhoneOtpCommand_base {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookClient";
|
|
2
2
|
import { RequestPhoneUpdateOtpRequest, RequestPhoneUpdateOtpResponse } from "../models/models_0";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
@@ -22,9 +22,9 @@ export interface RequestPhoneUpdateOtpCommandInput extends RequestPhoneUpdateOtp
|
|
|
22
22
|
export interface RequestPhoneUpdateOtpCommandOutput extends RequestPhoneUpdateOtpResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const RequestPhoneUpdateOtpCommand_base: {
|
|
25
|
-
new (input: RequestPhoneUpdateOtpCommandInput): import("@smithy/smithy-client").CommandImpl<RequestPhoneUpdateOtpCommandInput, RequestPhoneUpdateOtpCommandOutput,
|
|
26
|
-
new (__0_0: RequestPhoneUpdateOtpCommandInput): import("@smithy/smithy-client").CommandImpl<RequestPhoneUpdateOtpCommandInput, RequestPhoneUpdateOtpCommandOutput,
|
|
27
|
-
getEndpointParameterInstructions(): import("@smithy/
|
|
25
|
+
new (input: RequestPhoneUpdateOtpCommandInput): import("@smithy/smithy-client").CommandImpl<RequestPhoneUpdateOtpCommandInput, RequestPhoneUpdateOtpCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: RequestPhoneUpdateOtpCommandInput): import("@smithy/smithy-client").CommandImpl<RequestPhoneUpdateOtpCommandInput, RequestPhoneUpdateOtpCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* @public
|
|
@@ -32,9 +32,9 @@ declare const RequestPhoneUpdateOtpCommand_base: {
|
|
|
32
32
|
* @example
|
|
33
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
34
|
* ```javascript
|
|
35
|
-
* import {
|
|
36
|
-
* // const {
|
|
37
|
-
* const client = new
|
|
35
|
+
* import { OneHookClient, RequestPhoneUpdateOtpCommand } from "onehook-api-client"; // ES Modules import
|
|
36
|
+
* // const { OneHookClient, RequestPhoneUpdateOtpCommand } = require("onehook-api-client"); // CommonJS import
|
|
37
|
+
* const client = new OneHookClient(config);
|
|
38
38
|
* const input = { // RequestPhoneUpdateOtpRequest
|
|
39
39
|
* phoneNumber: "STRING_VALUE", // required
|
|
40
40
|
* };
|
|
@@ -50,14 +50,15 @@ declare const RequestPhoneUpdateOtpCommand_base: {
|
|
|
50
50
|
* @returns {@link RequestPhoneUpdateOtpCommandOutput}
|
|
51
51
|
* @see {@link RequestPhoneUpdateOtpCommandInput} for command's `input` shape.
|
|
52
52
|
* @see {@link RequestPhoneUpdateOtpCommandOutput} for command's `response` shape.
|
|
53
|
-
* @see {@link
|
|
53
|
+
* @see {@link OneHookClientResolvedConfig | config} for OneHookClient's `config` shape.
|
|
54
54
|
*
|
|
55
55
|
* @throws {@link BadRequestError} (client fault)
|
|
56
56
|
*
|
|
57
57
|
* @throws {@link InternalServerError} (server fault)
|
|
58
58
|
*
|
|
59
|
-
* @throws {@link
|
|
60
|
-
* <p>Base exception class for all service exceptions from
|
|
59
|
+
* @throws {@link OneHookServiceException}
|
|
60
|
+
* <p>Base exception class for all service exceptions from OneHook service.</p>
|
|
61
|
+
*
|
|
61
62
|
*
|
|
62
63
|
*/
|
|
63
64
|
export declare class RequestPhoneUpdateOtpCommand extends RequestPhoneUpdateOtpCommand_base {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookClient";
|
|
2
2
|
import { SwipeRequest, SwipeResponse } from "../models/models_0";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
@@ -22,9 +22,9 @@ export interface SwipeCommandInput extends SwipeRequest {
|
|
|
22
22
|
export interface SwipeCommandOutput extends SwipeResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const SwipeCommand_base: {
|
|
25
|
-
new (input: SwipeCommandInput): import("@smithy/smithy-client").CommandImpl<SwipeCommandInput, SwipeCommandOutput,
|
|
26
|
-
new (__0_0: SwipeCommandInput): import("@smithy/smithy-client").CommandImpl<SwipeCommandInput, SwipeCommandOutput,
|
|
27
|
-
getEndpointParameterInstructions(): import("@smithy/
|
|
25
|
+
new (input: SwipeCommandInput): import("@smithy/smithy-client").CommandImpl<SwipeCommandInput, SwipeCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: SwipeCommandInput): import("@smithy/smithy-client").CommandImpl<SwipeCommandInput, SwipeCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* @public
|
|
@@ -32,9 +32,9 @@ declare const SwipeCommand_base: {
|
|
|
32
32
|
* @example
|
|
33
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
34
|
* ```javascript
|
|
35
|
-
* import {
|
|
36
|
-
* // const {
|
|
37
|
-
* const client = new
|
|
35
|
+
* import { OneHookClient, SwipeCommand } from "onehook-api-client"; // ES Modules import
|
|
36
|
+
* // const { OneHookClient, SwipeCommand } = require("onehook-api-client"); // CommonJS import
|
|
37
|
+
* const client = new OneHookClient(config);
|
|
38
38
|
* const input = { // SwipeRequest
|
|
39
39
|
* targetId: "STRING_VALUE", // required
|
|
40
40
|
* direction: "STRING_VALUE", // required
|
|
@@ -54,14 +54,15 @@ declare const SwipeCommand_base: {
|
|
|
54
54
|
* @returns {@link SwipeCommandOutput}
|
|
55
55
|
* @see {@link SwipeCommandInput} for command's `input` shape.
|
|
56
56
|
* @see {@link SwipeCommandOutput} for command's `response` shape.
|
|
57
|
-
* @see {@link
|
|
57
|
+
* @see {@link OneHookClientResolvedConfig | config} for OneHookClient's `config` shape.
|
|
58
58
|
*
|
|
59
59
|
* @throws {@link BadRequestError} (client fault)
|
|
60
60
|
*
|
|
61
61
|
* @throws {@link InternalServerError} (server fault)
|
|
62
62
|
*
|
|
63
|
-
* @throws {@link
|
|
64
|
-
* <p>Base exception class for all service exceptions from
|
|
63
|
+
* @throws {@link OneHookServiceException}
|
|
64
|
+
* <p>Base exception class for all service exceptions from OneHook service.</p>
|
|
65
|
+
*
|
|
65
66
|
*
|
|
66
67
|
*/
|
|
67
68
|
export declare class SwipeCommand extends SwipeCommand_base {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookClient";
|
|
2
2
|
import { StatusResponse, UnhookRequest } from "../models/models_0";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
@@ -22,9 +22,9 @@ export interface UnhookCommandInput extends UnhookRequest {
|
|
|
22
22
|
export interface UnhookCommandOutput extends StatusResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const UnhookCommand_base: {
|
|
25
|
-
new (input: UnhookCommandInput): import("@smithy/smithy-client").CommandImpl<UnhookCommandInput, UnhookCommandOutput,
|
|
26
|
-
new (__0_0: UnhookCommandInput): import("@smithy/smithy-client").CommandImpl<UnhookCommandInput, UnhookCommandOutput,
|
|
27
|
-
getEndpointParameterInstructions(): import("@smithy/
|
|
25
|
+
new (input: UnhookCommandInput): import("@smithy/smithy-client").CommandImpl<UnhookCommandInput, UnhookCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: UnhookCommandInput): import("@smithy/smithy-client").CommandImpl<UnhookCommandInput, UnhookCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* @public
|
|
@@ -32,9 +32,9 @@ declare const UnhookCommand_base: {
|
|
|
32
32
|
* @example
|
|
33
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
34
|
* ```javascript
|
|
35
|
-
* import {
|
|
36
|
-
* // const {
|
|
37
|
-
* const client = new
|
|
35
|
+
* import { OneHookClient, UnhookCommand } from "onehook-api-client"; // ES Modules import
|
|
36
|
+
* // const { OneHookClient, UnhookCommand } = require("onehook-api-client"); // CommonJS import
|
|
37
|
+
* const client = new OneHookClient(config);
|
|
38
38
|
* const input = { // UnhookRequest
|
|
39
39
|
* matchId: "STRING_VALUE", // required
|
|
40
40
|
* reason: "STRING_VALUE",
|
|
@@ -51,7 +51,7 @@ declare const UnhookCommand_base: {
|
|
|
51
51
|
* @returns {@link UnhookCommandOutput}
|
|
52
52
|
* @see {@link UnhookCommandInput} for command's `input` shape.
|
|
53
53
|
* @see {@link UnhookCommandOutput} for command's `response` shape.
|
|
54
|
-
* @see {@link
|
|
54
|
+
* @see {@link OneHookClientResolvedConfig | config} for OneHookClient's `config` shape.
|
|
55
55
|
*
|
|
56
56
|
* @throws {@link BadRequestError} (client fault)
|
|
57
57
|
*
|
|
@@ -59,8 +59,9 @@ declare const UnhookCommand_base: {
|
|
|
59
59
|
*
|
|
60
60
|
* @throws {@link InternalServerError} (server fault)
|
|
61
61
|
*
|
|
62
|
-
* @throws {@link
|
|
63
|
-
* <p>Base exception class for all service exceptions from
|
|
62
|
+
* @throws {@link OneHookServiceException}
|
|
63
|
+
* <p>Base exception class for all service exceptions from OneHook service.</p>
|
|
64
|
+
*
|
|
64
65
|
*
|
|
65
66
|
*/
|
|
66
67
|
export declare class UnhookCommand extends UnhookCommand_base {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookClient";
|
|
2
2
|
import { UnlinkSocialRequest, UnlinkSocialResponse } from "../models/models_0";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
@@ -22,9 +22,9 @@ export interface UnlinkSocialCommandInput extends UnlinkSocialRequest {
|
|
|
22
22
|
export interface UnlinkSocialCommandOutput extends UnlinkSocialResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const UnlinkSocialCommand_base: {
|
|
25
|
-
new (input: UnlinkSocialCommandInput): import("@smithy/smithy-client").CommandImpl<UnlinkSocialCommandInput, UnlinkSocialCommandOutput,
|
|
26
|
-
new (__0_0: UnlinkSocialCommandInput): import("@smithy/smithy-client").CommandImpl<UnlinkSocialCommandInput, UnlinkSocialCommandOutput,
|
|
27
|
-
getEndpointParameterInstructions(): import("@smithy/
|
|
25
|
+
new (input: UnlinkSocialCommandInput): import("@smithy/smithy-client").CommandImpl<UnlinkSocialCommandInput, UnlinkSocialCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: UnlinkSocialCommandInput): import("@smithy/smithy-client").CommandImpl<UnlinkSocialCommandInput, UnlinkSocialCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* @public
|
|
@@ -32,9 +32,9 @@ declare const UnlinkSocialCommand_base: {
|
|
|
32
32
|
* @example
|
|
33
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
34
|
* ```javascript
|
|
35
|
-
* import {
|
|
36
|
-
* // const {
|
|
37
|
-
* const client = new
|
|
35
|
+
* import { OneHookClient, UnlinkSocialCommand } from "onehook-api-client"; // ES Modules import
|
|
36
|
+
* // const { OneHookClient, UnlinkSocialCommand } = require("onehook-api-client"); // CommonJS import
|
|
37
|
+
* const client = new OneHookClient(config);
|
|
38
38
|
* const input = { // UnlinkSocialRequest
|
|
39
39
|
* provider: "STRING_VALUE", // required
|
|
40
40
|
* };
|
|
@@ -50,14 +50,15 @@ declare const UnlinkSocialCommand_base: {
|
|
|
50
50
|
* @returns {@link UnlinkSocialCommandOutput}
|
|
51
51
|
* @see {@link UnlinkSocialCommandInput} for command's `input` shape.
|
|
52
52
|
* @see {@link UnlinkSocialCommandOutput} for command's `response` shape.
|
|
53
|
-
* @see {@link
|
|
53
|
+
* @see {@link OneHookClientResolvedConfig | config} for OneHookClient's `config` shape.
|
|
54
54
|
*
|
|
55
55
|
* @throws {@link BadRequestError} (client fault)
|
|
56
56
|
*
|
|
57
57
|
* @throws {@link InternalServerError} (server fault)
|
|
58
58
|
*
|
|
59
|
-
* @throws {@link
|
|
60
|
-
* <p>Base exception class for all service exceptions from
|
|
59
|
+
* @throws {@link OneHookServiceException}
|
|
60
|
+
* <p>Base exception class for all service exceptions from OneHook service.</p>
|
|
61
|
+
*
|
|
61
62
|
*
|
|
62
63
|
*/
|
|
63
64
|
export declare class UnlinkSocialCommand extends UnlinkSocialCommand_base {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookClient";
|
|
2
2
|
import { UpdateEntitlementsRequest, UpdateEntitlementsResponse } from "../models/models_0";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
@@ -22,9 +22,9 @@ export interface UpdateEntitlementsCommandInput extends UpdateEntitlementsReques
|
|
|
22
22
|
export interface UpdateEntitlementsCommandOutput extends UpdateEntitlementsResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const UpdateEntitlementsCommand_base: {
|
|
25
|
-
new (input: UpdateEntitlementsCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateEntitlementsCommandInput, UpdateEntitlementsCommandOutput,
|
|
26
|
-
new (__0_0: UpdateEntitlementsCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateEntitlementsCommandInput, UpdateEntitlementsCommandOutput,
|
|
27
|
-
getEndpointParameterInstructions(): import("@smithy/
|
|
25
|
+
new (input: UpdateEntitlementsCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateEntitlementsCommandInput, UpdateEntitlementsCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: UpdateEntitlementsCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateEntitlementsCommandInput, UpdateEntitlementsCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* Internal, service-to-service entitlement write. Authorized with AWS IAM (SigV4), NOT the Cognito
|
|
@@ -36,9 +36,9 @@ declare const UpdateEntitlementsCommand_base: {
|
|
|
36
36
|
* @example
|
|
37
37
|
* Use a bare-bones client and the command you need to make an API call.
|
|
38
38
|
* ```javascript
|
|
39
|
-
* import {
|
|
40
|
-
* // const {
|
|
41
|
-
* const client = new
|
|
39
|
+
* import { OneHookClient, UpdateEntitlementsCommand } from "onehook-api-client"; // ES Modules import
|
|
40
|
+
* // const { OneHookClient, UpdateEntitlementsCommand } = require("onehook-api-client"); // CommonJS import
|
|
41
|
+
* const client = new OneHookClient(config);
|
|
42
42
|
* const input = { // UpdateEntitlementsRequest
|
|
43
43
|
* userId: "STRING_VALUE", // required
|
|
44
44
|
* subscriptionTier: "STRING_VALUE", // required
|
|
@@ -59,7 +59,7 @@ declare const UpdateEntitlementsCommand_base: {
|
|
|
59
59
|
* @returns {@link UpdateEntitlementsCommandOutput}
|
|
60
60
|
* @see {@link UpdateEntitlementsCommandInput} for command's `input` shape.
|
|
61
61
|
* @see {@link UpdateEntitlementsCommandOutput} for command's `response` shape.
|
|
62
|
-
* @see {@link
|
|
62
|
+
* @see {@link OneHookClientResolvedConfig | config} for OneHookClient's `config` shape.
|
|
63
63
|
*
|
|
64
64
|
* @throws {@link BadRequestError} (client fault)
|
|
65
65
|
*
|
|
@@ -67,8 +67,9 @@ declare const UpdateEntitlementsCommand_base: {
|
|
|
67
67
|
*
|
|
68
68
|
* @throws {@link InternalServerError} (server fault)
|
|
69
69
|
*
|
|
70
|
-
* @throws {@link
|
|
71
|
-
* <p>Base exception class for all service exceptions from
|
|
70
|
+
* @throws {@link OneHookServiceException}
|
|
71
|
+
* <p>Base exception class for all service exceptions from OneHook service.</p>
|
|
72
|
+
*
|
|
72
73
|
*
|
|
73
74
|
* @public
|
|
74
75
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookClient";
|
|
2
2
|
import { PhoneResponse, UpdatePhoneNumberRequest } from "../models/models_0";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
@@ -22,9 +22,9 @@ export interface UpdatePhoneNumberCommandInput extends UpdatePhoneNumberRequest
|
|
|
22
22
|
export interface UpdatePhoneNumberCommandOutput extends PhoneResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const UpdatePhoneNumberCommand_base: {
|
|
25
|
-
new (input: UpdatePhoneNumberCommandInput): import("@smithy/smithy-client").CommandImpl<UpdatePhoneNumberCommandInput, UpdatePhoneNumberCommandOutput,
|
|
26
|
-
new (__0_0: UpdatePhoneNumberCommandInput): import("@smithy/smithy-client").CommandImpl<UpdatePhoneNumberCommandInput, UpdatePhoneNumberCommandOutput,
|
|
27
|
-
getEndpointParameterInstructions(): import("@smithy/
|
|
25
|
+
new (input: UpdatePhoneNumberCommandInput): import("@smithy/smithy-client").CommandImpl<UpdatePhoneNumberCommandInput, UpdatePhoneNumberCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: UpdatePhoneNumberCommandInput): import("@smithy/smithy-client").CommandImpl<UpdatePhoneNumberCommandInput, UpdatePhoneNumberCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* @public
|
|
@@ -32,9 +32,9 @@ declare const UpdatePhoneNumberCommand_base: {
|
|
|
32
32
|
* @example
|
|
33
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
34
|
* ```javascript
|
|
35
|
-
* import {
|
|
36
|
-
* // const {
|
|
37
|
-
* const client = new
|
|
35
|
+
* import { OneHookClient, UpdatePhoneNumberCommand } from "onehook-api-client"; // ES Modules import
|
|
36
|
+
* // const { OneHookClient, UpdatePhoneNumberCommand } = require("onehook-api-client"); // CommonJS import
|
|
37
|
+
* const client = new OneHookClient(config);
|
|
38
38
|
* const input = { // UpdatePhoneNumberRequest
|
|
39
39
|
* phoneNumber: "STRING_VALUE", // required
|
|
40
40
|
* otp: "STRING_VALUE", // required
|
|
@@ -52,14 +52,15 @@ declare const UpdatePhoneNumberCommand_base: {
|
|
|
52
52
|
* @returns {@link UpdatePhoneNumberCommandOutput}
|
|
53
53
|
* @see {@link UpdatePhoneNumberCommandInput} for command's `input` shape.
|
|
54
54
|
* @see {@link UpdatePhoneNumberCommandOutput} for command's `response` shape.
|
|
55
|
-
* @see {@link
|
|
55
|
+
* @see {@link OneHookClientResolvedConfig | config} for OneHookClient's `config` shape.
|
|
56
56
|
*
|
|
57
57
|
* @throws {@link BadRequestError} (client fault)
|
|
58
58
|
*
|
|
59
59
|
* @throws {@link InternalServerError} (server fault)
|
|
60
60
|
*
|
|
61
|
-
* @throws {@link
|
|
62
|
-
* <p>Base exception class for all service exceptions from
|
|
61
|
+
* @throws {@link OneHookServiceException}
|
|
62
|
+
* <p>Base exception class for all service exceptions from OneHook service.</p>
|
|
63
|
+
*
|
|
63
64
|
*
|
|
64
65
|
*/
|
|
65
66
|
export declare class UpdatePhoneNumberCommand extends UpdatePhoneNumberCommand_base {
|