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,75 @@
|
|
|
1
|
+
import { OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookServiceClient";
|
|
2
|
+
import { UnlinkSocialRequest, UnlinkSocialResponse } from "../models/models_0";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UnlinkSocialCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UnlinkSocialCommandInput extends UnlinkSocialRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UnlinkSocialCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UnlinkSocialCommandOutput extends UnlinkSocialResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UnlinkSocialCommand_base: {
|
|
25
|
+
new (input: UnlinkSocialCommandInput): import("@smithy/smithy-client").CommandImpl<UnlinkSocialCommandInput, UnlinkSocialCommandOutput, OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: UnlinkSocialCommandInput): import("@smithy/smithy-client").CommandImpl<UnlinkSocialCommandInput, UnlinkSocialCommandOutput, OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* @public
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { OneHookServiceClient, UnlinkSocialCommand } from "onehook-api-client"; // ES Modules import
|
|
36
|
+
* // const { OneHookServiceClient, UnlinkSocialCommand } = require("onehook-api-client"); // CommonJS import
|
|
37
|
+
* const client = new OneHookServiceClient(config);
|
|
38
|
+
* const input = { // UnlinkSocialRequest
|
|
39
|
+
* provider: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
41
|
+
* const command = new UnlinkSocialCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // UnlinkSocialResponse
|
|
44
|
+
* // status: "STRING_VALUE", // required
|
|
45
|
+
* // };
|
|
46
|
+
*
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* @param UnlinkSocialCommandInput - {@link UnlinkSocialCommandInput}
|
|
50
|
+
* @returns {@link UnlinkSocialCommandOutput}
|
|
51
|
+
* @see {@link UnlinkSocialCommandInput} for command's `input` shape.
|
|
52
|
+
* @see {@link UnlinkSocialCommandOutput} for command's `response` shape.
|
|
53
|
+
* @see {@link OneHookServiceClientResolvedConfig | config} for OneHookServiceClient's `config` shape.
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link BadRequestError} (client fault)
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link InternalServerError} (server fault)
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link OneHookServiceServiceException}
|
|
60
|
+
* <p>Base exception class for all service exceptions from OneHookService service.</p>
|
|
61
|
+
*
|
|
62
|
+
*/
|
|
63
|
+
export declare class UnlinkSocialCommand extends UnlinkSocialCommand_base {
|
|
64
|
+
/** @internal type navigation helper, not in runtime. */
|
|
65
|
+
protected static __types: {
|
|
66
|
+
api: {
|
|
67
|
+
input: UnlinkSocialRequest;
|
|
68
|
+
output: UnlinkSocialResponse;
|
|
69
|
+
};
|
|
70
|
+
sdk: {
|
|
71
|
+
input: UnlinkSocialCommandInput;
|
|
72
|
+
output: UnlinkSocialCommandOutput;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookServiceClient";
|
|
2
|
+
import { UpdateEntitlementsRequest, UpdateEntitlementsResponse } from "../models/models_0";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UpdateEntitlementsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateEntitlementsCommandInput extends UpdateEntitlementsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateEntitlementsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateEntitlementsCommandOutput extends UpdateEntitlementsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdateEntitlementsCommand_base: {
|
|
25
|
+
new (input: UpdateEntitlementsCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateEntitlementsCommandInput, UpdateEntitlementsCommandOutput, OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: UpdateEntitlementsCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateEntitlementsCommandInput, UpdateEntitlementsCommandOutput, OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Internal, service-to-service entitlement write. Authorized with AWS IAM (SigV4), NOT the Cognito
|
|
31
|
+
* user-pool authorizer — the caller is the State service's Lambda role, not an end user. State
|
|
32
|
+
* invokes this after it has reconciled a subscription tier from a verified source (a synchronous
|
|
33
|
+
* /state/upgrade billing check or a trusted SubscriptionChanged webhook), so Identity — the sole
|
|
34
|
+
* owner of Cognito — writes the custom:subscriptionTier attribute. Idempotent: writing a tier the
|
|
35
|
+
* user already holds is a no-op, so retries and duplicate deliveries are safe.
|
|
36
|
+
* @example
|
|
37
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
38
|
+
* ```javascript
|
|
39
|
+
* import { OneHookServiceClient, UpdateEntitlementsCommand } from "onehook-api-client"; // ES Modules import
|
|
40
|
+
* // const { OneHookServiceClient, UpdateEntitlementsCommand } = require("onehook-api-client"); // CommonJS import
|
|
41
|
+
* const client = new OneHookServiceClient(config);
|
|
42
|
+
* const input = { // UpdateEntitlementsRequest
|
|
43
|
+
* userId: "STRING_VALUE", // required
|
|
44
|
+
* subscriptionTier: "STRING_VALUE", // required
|
|
45
|
+
* source: "STRING_VALUE",
|
|
46
|
+
* purchaseRef: "STRING_VALUE",
|
|
47
|
+
* effectiveAt: Number("long"),
|
|
48
|
+
* };
|
|
49
|
+
* const command = new UpdateEntitlementsCommand(input);
|
|
50
|
+
* const response = await client.send(command);
|
|
51
|
+
* // { // UpdateEntitlementsResponse
|
|
52
|
+
* // status: "STRING_VALUE", // required
|
|
53
|
+
* // subscriptionTier: "STRING_VALUE", // required
|
|
54
|
+
* // };
|
|
55
|
+
*
|
|
56
|
+
* ```
|
|
57
|
+
*
|
|
58
|
+
* @param UpdateEntitlementsCommandInput - {@link UpdateEntitlementsCommandInput}
|
|
59
|
+
* @returns {@link UpdateEntitlementsCommandOutput}
|
|
60
|
+
* @see {@link UpdateEntitlementsCommandInput} for command's `input` shape.
|
|
61
|
+
* @see {@link UpdateEntitlementsCommandOutput} for command's `response` shape.
|
|
62
|
+
* @see {@link OneHookServiceClientResolvedConfig | config} for OneHookServiceClient's `config` shape.
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link BadRequestError} (client fault)
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link NotFoundError} (client fault)
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link InternalServerError} (server fault)
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link OneHookServiceServiceException}
|
|
71
|
+
* <p>Base exception class for all service exceptions from OneHookService service.</p>
|
|
72
|
+
*
|
|
73
|
+
* @public
|
|
74
|
+
*/
|
|
75
|
+
export declare class UpdateEntitlementsCommand extends UpdateEntitlementsCommand_base {
|
|
76
|
+
/** @internal type navigation helper, not in runtime. */
|
|
77
|
+
protected static __types: {
|
|
78
|
+
api: {
|
|
79
|
+
input: UpdateEntitlementsRequest;
|
|
80
|
+
output: UpdateEntitlementsResponse;
|
|
81
|
+
};
|
|
82
|
+
sdk: {
|
|
83
|
+
input: UpdateEntitlementsCommandInput;
|
|
84
|
+
output: UpdateEntitlementsCommandOutput;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookServiceClient";
|
|
2
|
+
import { PhoneResponse, UpdatePhoneNumberRequest } from "../models/models_0";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UpdatePhoneNumberCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdatePhoneNumberCommandInput extends UpdatePhoneNumberRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdatePhoneNumberCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdatePhoneNumberCommandOutput extends PhoneResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdatePhoneNumberCommand_base: {
|
|
25
|
+
new (input: UpdatePhoneNumberCommandInput): import("@smithy/smithy-client").CommandImpl<UpdatePhoneNumberCommandInput, UpdatePhoneNumberCommandOutput, OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: UpdatePhoneNumberCommandInput): import("@smithy/smithy-client").CommandImpl<UpdatePhoneNumberCommandInput, UpdatePhoneNumberCommandOutput, OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* @public
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { OneHookServiceClient, UpdatePhoneNumberCommand } from "onehook-api-client"; // ES Modules import
|
|
36
|
+
* // const { OneHookServiceClient, UpdatePhoneNumberCommand } = require("onehook-api-client"); // CommonJS import
|
|
37
|
+
* const client = new OneHookServiceClient(config);
|
|
38
|
+
* const input = { // UpdatePhoneNumberRequest
|
|
39
|
+
* phoneNumber: "STRING_VALUE", // required
|
|
40
|
+
* otp: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new UpdatePhoneNumberCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // PhoneResponse
|
|
45
|
+
* // status: "STRING_VALUE", // required
|
|
46
|
+
* // phoneNumber: "STRING_VALUE", // required
|
|
47
|
+
* // };
|
|
48
|
+
*
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* @param UpdatePhoneNumberCommandInput - {@link UpdatePhoneNumberCommandInput}
|
|
52
|
+
* @returns {@link UpdatePhoneNumberCommandOutput}
|
|
53
|
+
* @see {@link UpdatePhoneNumberCommandInput} for command's `input` shape.
|
|
54
|
+
* @see {@link UpdatePhoneNumberCommandOutput} for command's `response` shape.
|
|
55
|
+
* @see {@link OneHookServiceClientResolvedConfig | config} for OneHookServiceClient's `config` shape.
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link BadRequestError} (client fault)
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link InternalServerError} (server fault)
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link OneHookServiceServiceException}
|
|
62
|
+
* <p>Base exception class for all service exceptions from OneHookService service.</p>
|
|
63
|
+
*
|
|
64
|
+
*/
|
|
65
|
+
export declare class UpdatePhoneNumberCommand extends UpdatePhoneNumberCommand_base {
|
|
66
|
+
/** @internal type navigation helper, not in runtime. */
|
|
67
|
+
protected static __types: {
|
|
68
|
+
api: {
|
|
69
|
+
input: UpdatePhoneNumberRequest;
|
|
70
|
+
output: PhoneResponse;
|
|
71
|
+
};
|
|
72
|
+
sdk: {
|
|
73
|
+
input: UpdatePhoneNumberCommandInput;
|
|
74
|
+
output: UpdatePhoneNumberCommandOutput;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookServiceClient";
|
|
2
|
+
import { StatusResponse, UpdatePreferencesRequest } from "../models/models_0";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UpdatePreferencesCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdatePreferencesCommandInput extends UpdatePreferencesRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdatePreferencesCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdatePreferencesCommandOutput extends StatusResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdatePreferencesCommand_base: {
|
|
25
|
+
new (input: UpdatePreferencesCommandInput): import("@smithy/smithy-client").CommandImpl<UpdatePreferencesCommandInput, UpdatePreferencesCommandOutput, OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: UpdatePreferencesCommandInput): import("@smithy/smithy-client").CommandImpl<UpdatePreferencesCommandInput, UpdatePreferencesCommandOutput, OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* @public
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { OneHookServiceClient, UpdatePreferencesCommand } from "onehook-api-client"; // ES Modules import
|
|
36
|
+
* // const { OneHookServiceClient, UpdatePreferencesCommand } = require("onehook-api-client"); // CommonJS import
|
|
37
|
+
* const client = new OneHookServiceClient(config);
|
|
38
|
+
* const input = { // UpdatePreferencesRequest
|
|
39
|
+
* userId: "STRING_VALUE", // required
|
|
40
|
+
* minAge: Number("int"),
|
|
41
|
+
* maxAge: Number("int"),
|
|
42
|
+
* maxDistanceKm: Number("int"),
|
|
43
|
+
* genders: [ // StringList
|
|
44
|
+
* "STRING_VALUE",
|
|
45
|
+
* ],
|
|
46
|
+
* };
|
|
47
|
+
* const command = new UpdatePreferencesCommand(input);
|
|
48
|
+
* const response = await client.send(command);
|
|
49
|
+
* // { // StatusResponse
|
|
50
|
+
* // status: "STRING_VALUE", // required
|
|
51
|
+
* // };
|
|
52
|
+
*
|
|
53
|
+
* ```
|
|
54
|
+
*
|
|
55
|
+
* @param UpdatePreferencesCommandInput - {@link UpdatePreferencesCommandInput}
|
|
56
|
+
* @returns {@link UpdatePreferencesCommandOutput}
|
|
57
|
+
* @see {@link UpdatePreferencesCommandInput} for command's `input` shape.
|
|
58
|
+
* @see {@link UpdatePreferencesCommandOutput} for command's `response` shape.
|
|
59
|
+
* @see {@link OneHookServiceClientResolvedConfig | config} for OneHookServiceClient's `config` shape.
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link BadRequestError} (client fault)
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link InternalServerError} (server fault)
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link OneHookServiceServiceException}
|
|
66
|
+
* <p>Base exception class for all service exceptions from OneHookService service.</p>
|
|
67
|
+
*
|
|
68
|
+
*/
|
|
69
|
+
export declare class UpdatePreferencesCommand extends UpdatePreferencesCommand_base {
|
|
70
|
+
/** @internal type navigation helper, not in runtime. */
|
|
71
|
+
protected static __types: {
|
|
72
|
+
api: {
|
|
73
|
+
input: UpdatePreferencesRequest;
|
|
74
|
+
output: StatusResponse;
|
|
75
|
+
};
|
|
76
|
+
sdk: {
|
|
77
|
+
input: UpdatePreferencesCommandInput;
|
|
78
|
+
output: UpdatePreferencesCommandOutput;
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
}
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
import { OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookServiceClient";
|
|
2
|
+
import { ProfileUpdateRequest, StatusResponse } from "../models/models_0";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UpdateProfileCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateProfileCommandInput extends ProfileUpdateRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateProfileCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateProfileCommandOutput extends StatusResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdateProfileCommand_base: {
|
|
25
|
+
new (input: UpdateProfileCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateProfileCommandInput, UpdateProfileCommandOutput, OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [UpdateProfileCommandInput]): import("@smithy/smithy-client").CommandImpl<UpdateProfileCommandInput, UpdateProfileCommandOutput, OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* @public
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { OneHookServiceClient, UpdateProfileCommand } from "onehook-api-client"; // ES Modules import
|
|
36
|
+
* // const { OneHookServiceClient, UpdateProfileCommand } = require("onehook-api-client"); // CommonJS import
|
|
37
|
+
* const client = new OneHookServiceClient(config);
|
|
38
|
+
* const input = { // ProfileUpdateRequest
|
|
39
|
+
* displayName: "STRING_VALUE",
|
|
40
|
+
* bio: "STRING_VALUE",
|
|
41
|
+
* age: Number("int"),
|
|
42
|
+
* gender: "STRING_VALUE",
|
|
43
|
+
* interestedIn: [ // StringList
|
|
44
|
+
* "STRING_VALUE",
|
|
45
|
+
* ],
|
|
46
|
+
* interests: [
|
|
47
|
+
* "STRING_VALUE",
|
|
48
|
+
* ],
|
|
49
|
+
* relationshipType: "STRING_VALUE",
|
|
50
|
+
* wantsKids: "STRING_VALUE",
|
|
51
|
+
* familyPlans: "STRING_VALUE",
|
|
52
|
+
* smokingStatus: "STRING_VALUE",
|
|
53
|
+
* drinkingStatus: "STRING_VALUE",
|
|
54
|
+
* cannabisStatus: "STRING_VALUE",
|
|
55
|
+
* drugsStatus: "STRING_VALUE",
|
|
56
|
+
* religion: "STRING_VALUE",
|
|
57
|
+
* starSign: "STRING_VALUE",
|
|
58
|
+
* pictures: [
|
|
59
|
+
* "STRING_VALUE",
|
|
60
|
+
* ],
|
|
61
|
+
* videos: [
|
|
62
|
+
* "STRING_VALUE",
|
|
63
|
+
* ],
|
|
64
|
+
* audioPrompt: "STRING_VALUE",
|
|
65
|
+
* causes: [
|
|
66
|
+
* "STRING_VALUE",
|
|
67
|
+
* ],
|
|
68
|
+
* communities: "<StringList>",
|
|
69
|
+
* qualities: "<StringList>",
|
|
70
|
+
* prompts: [ // ProfilePromptList
|
|
71
|
+
* { // ProfilePrompt
|
|
72
|
+
* promptId: "STRING_VALUE", // required
|
|
73
|
+
* answer: "STRING_VALUE", // required
|
|
74
|
+
* imageKey: "STRING_VALUE",
|
|
75
|
+
* },
|
|
76
|
+
* ],
|
|
77
|
+
* socialLinks: { // StringMap
|
|
78
|
+
* "<keys>": "STRING_VALUE",
|
|
79
|
+
* },
|
|
80
|
+
* openers: [ // OpenerList
|
|
81
|
+
* { // Opener
|
|
82
|
+
* text: "STRING_VALUE", // required
|
|
83
|
+
* imageKey: "STRING_VALUE",
|
|
84
|
+
* },
|
|
85
|
+
* ],
|
|
86
|
+
* work: "STRING_VALUE",
|
|
87
|
+
* education: "STRING_VALUE",
|
|
88
|
+
* hometown: "STRING_VALUE",
|
|
89
|
+
* currentLocation: "STRING_VALUE",
|
|
90
|
+
* height: Number("int"),
|
|
91
|
+
* exercise: "STRING_VALUE",
|
|
92
|
+
* educationLevel: "STRING_VALUE",
|
|
93
|
+
* politicalView: "STRING_VALUE",
|
|
94
|
+
* languages: "<StringList>",
|
|
95
|
+
* };
|
|
96
|
+
* const command = new UpdateProfileCommand(input);
|
|
97
|
+
* const response = await client.send(command);
|
|
98
|
+
* // { // StatusResponse
|
|
99
|
+
* // status: "STRING_VALUE", // required
|
|
100
|
+
* // };
|
|
101
|
+
*
|
|
102
|
+
* ```
|
|
103
|
+
*
|
|
104
|
+
* @param UpdateProfileCommandInput - {@link UpdateProfileCommandInput}
|
|
105
|
+
* @returns {@link UpdateProfileCommandOutput}
|
|
106
|
+
* @see {@link UpdateProfileCommandInput} for command's `input` shape.
|
|
107
|
+
* @see {@link UpdateProfileCommandOutput} for command's `response` shape.
|
|
108
|
+
* @see {@link OneHookServiceClientResolvedConfig | config} for OneHookServiceClient's `config` shape.
|
|
109
|
+
*
|
|
110
|
+
* @throws {@link BadRequestError} (client fault)
|
|
111
|
+
*
|
|
112
|
+
* @throws {@link InternalServerError} (server fault)
|
|
113
|
+
*
|
|
114
|
+
* @throws {@link OneHookServiceServiceException}
|
|
115
|
+
* <p>Base exception class for all service exceptions from OneHookService service.</p>
|
|
116
|
+
*
|
|
117
|
+
*/
|
|
118
|
+
export declare class UpdateProfileCommand extends UpdateProfileCommand_base {
|
|
119
|
+
/** @internal type navigation helper, not in runtime. */
|
|
120
|
+
protected static __types: {
|
|
121
|
+
api: {
|
|
122
|
+
input: ProfileUpdateRequest;
|
|
123
|
+
output: StatusResponse;
|
|
124
|
+
};
|
|
125
|
+
sdk: {
|
|
126
|
+
input: UpdateProfileCommandInput;
|
|
127
|
+
output: UpdateProfileCommandOutput;
|
|
128
|
+
};
|
|
129
|
+
};
|
|
130
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookServiceClient";
|
|
2
|
+
import { UpgradeUserRequest, UserStateResponse } from "../models/models_0";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UpgradeUserCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpgradeUserCommandInput extends UpgradeUserRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpgradeUserCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpgradeUserCommandOutput extends UserStateResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpgradeUserCommand_base: {
|
|
25
|
+
new (input: UpgradeUserCommandInput): import("@smithy/smithy-client").CommandImpl<UpgradeUserCommandInput, UpgradeUserCommandOutput, OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [UpgradeUserCommandInput]): import("@smithy/smithy-client").CommandImpl<UpgradeUserCommandInput, UpgradeUserCommandOutput, OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* @public
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { OneHookServiceClient, UpgradeUserCommand } from "onehook-api-client"; // ES Modules import
|
|
36
|
+
* // const { OneHookServiceClient, UpgradeUserCommand } = require("onehook-api-client"); // CommonJS import
|
|
37
|
+
* const client = new OneHookServiceClient(config);
|
|
38
|
+
* const input = {};
|
|
39
|
+
* const command = new UpgradeUserCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // { // UserStateResponse
|
|
42
|
+
* // userId: "STRING_VALUE", // required
|
|
43
|
+
* // state: "STRING_VALUE", // required
|
|
44
|
+
* // activeConnections: Number("int"), // required
|
|
45
|
+
* // matchIds: [ // StringList // required
|
|
46
|
+
* // "STRING_VALUE",
|
|
47
|
+
* // ],
|
|
48
|
+
* // subscriptionTier: "STRING_VALUE", // required
|
|
49
|
+
* // };
|
|
50
|
+
*
|
|
51
|
+
* ```
|
|
52
|
+
*
|
|
53
|
+
* @param UpgradeUserCommandInput - {@link UpgradeUserCommandInput}
|
|
54
|
+
* @returns {@link UpgradeUserCommandOutput}
|
|
55
|
+
* @see {@link UpgradeUserCommandInput} for command's `input` shape.
|
|
56
|
+
* @see {@link UpgradeUserCommandOutput} for command's `response` shape.
|
|
57
|
+
* @see {@link OneHookServiceClientResolvedConfig | config} for OneHookServiceClient's `config` shape.
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link BadRequestError} (client fault)
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link NotFoundError} (client fault)
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link InternalServerError} (server fault)
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link OneHookServiceServiceException}
|
|
66
|
+
* <p>Base exception class for all service exceptions from OneHookService service.</p>
|
|
67
|
+
*
|
|
68
|
+
*/
|
|
69
|
+
export declare class UpgradeUserCommand extends UpgradeUserCommand_base {
|
|
70
|
+
/** @internal type navigation helper, not in runtime. */
|
|
71
|
+
protected static __types: {
|
|
72
|
+
api: {
|
|
73
|
+
input: {};
|
|
74
|
+
output: UserStateResponse;
|
|
75
|
+
};
|
|
76
|
+
sdk: {
|
|
77
|
+
input: UpgradeUserCommandInput;
|
|
78
|
+
output: UpgradeUserCommandOutput;
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookServiceClient";
|
|
2
|
+
import { StatusResponse, UploadPreKeysRequest } from "../models/models_0";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UploadPreKeysCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UploadPreKeysCommandInput extends UploadPreKeysRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UploadPreKeysCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UploadPreKeysCommandOutput extends StatusResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UploadPreKeysCommand_base: {
|
|
25
|
+
new (input: UploadPreKeysCommandInput): import("@smithy/smithy-client").CommandImpl<UploadPreKeysCommandInput, UploadPreKeysCommandOutput, OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: UploadPreKeysCommandInput): import("@smithy/smithy-client").CommandImpl<UploadPreKeysCommandInput, UploadPreKeysCommandOutput, OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Upload (or replenish) the caller's own E2EE pre-keys.
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { OneHookServiceClient, UploadPreKeysCommand } from "onehook-api-client"; // ES Modules import
|
|
35
|
+
* // const { OneHookServiceClient, UploadPreKeysCommand } = require("onehook-api-client"); // CommonJS import
|
|
36
|
+
* const client = new OneHookServiceClient(config);
|
|
37
|
+
* const input = { // UploadPreKeysRequest
|
|
38
|
+
* identityKey: "STRING_VALUE", // required
|
|
39
|
+
* signedPreKey: "STRING_VALUE", // required
|
|
40
|
+
* oneTimePreKeys: [ // StringList // required
|
|
41
|
+
* "STRING_VALUE",
|
|
42
|
+
* ],
|
|
43
|
+
* };
|
|
44
|
+
* const command = new UploadPreKeysCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // StatusResponse
|
|
47
|
+
* // status: "STRING_VALUE", // required
|
|
48
|
+
* // };
|
|
49
|
+
*
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* @param UploadPreKeysCommandInput - {@link UploadPreKeysCommandInput}
|
|
53
|
+
* @returns {@link UploadPreKeysCommandOutput}
|
|
54
|
+
* @see {@link UploadPreKeysCommandInput} for command's `input` shape.
|
|
55
|
+
* @see {@link UploadPreKeysCommandOutput} for command's `response` shape.
|
|
56
|
+
* @see {@link OneHookServiceClientResolvedConfig | config} for OneHookServiceClient's `config` shape.
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link BadRequestError} (client fault)
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ForbiddenError} (client fault)
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link InternalServerError} (server fault)
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link OneHookServiceServiceException}
|
|
65
|
+
* <p>Base exception class for all service exceptions from OneHookService service.</p>
|
|
66
|
+
*
|
|
67
|
+
* @public
|
|
68
|
+
*/
|
|
69
|
+
export declare class UploadPreKeysCommand extends UploadPreKeysCommand_base {
|
|
70
|
+
/** @internal type navigation helper, not in runtime. */
|
|
71
|
+
protected static __types: {
|
|
72
|
+
api: {
|
|
73
|
+
input: UploadPreKeysRequest;
|
|
74
|
+
output: StatusResponse;
|
|
75
|
+
};
|
|
76
|
+
sdk: {
|
|
77
|
+
input: UploadPreKeysCommandInput;
|
|
78
|
+
output: UploadPreKeysCommandOutput;
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
}
|