onehook-api-client 1.0.0 → 1.0.5
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 +28 -201
- 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 +55 -37
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookClient";
|
|
2
2
|
import { DiscoverRequest, DiscoverResponse } 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 DiscoverCommandInput extends DiscoverRequest {
|
|
|
22
22
|
export interface DiscoverCommandOutput extends DiscoverResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const DiscoverCommand_base: {
|
|
25
|
-
new (input: DiscoverCommandInput): import("@smithy/smithy-client").CommandImpl<DiscoverCommandInput, DiscoverCommandOutput,
|
|
26
|
-
new (__0_0: DiscoverCommandInput): import("@smithy/smithy-client").CommandImpl<DiscoverCommandInput, DiscoverCommandOutput,
|
|
27
|
-
getEndpointParameterInstructions(): import("@smithy/
|
|
25
|
+
new (input: DiscoverCommandInput): import("@smithy/smithy-client").CommandImpl<DiscoverCommandInput, DiscoverCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: DiscoverCommandInput): import("@smithy/smithy-client").CommandImpl<DiscoverCommandInput, DiscoverCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* @public
|
|
@@ -32,9 +32,9 @@ declare const DiscoverCommand_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, DiscoverCommand } from "onehook-api-client"; // ES Modules import
|
|
36
|
+
* // const { OneHookClient, DiscoverCommand } = require("onehook-api-client"); // CommonJS import
|
|
37
|
+
* const client = new OneHookClient(config);
|
|
38
38
|
* const input = { // DiscoverRequest
|
|
39
39
|
* lat: Number("double"), // required
|
|
40
40
|
* lon: Number("double"), // required
|
|
@@ -59,14 +59,15 @@ declare const DiscoverCommand_base: {
|
|
|
59
59
|
* @returns {@link DiscoverCommandOutput}
|
|
60
60
|
* @see {@link DiscoverCommandInput} for command's `input` shape.
|
|
61
61
|
* @see {@link DiscoverCommandOutput} 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
|
*
|
|
66
66
|
* @throws {@link InternalServerError} (server fault)
|
|
67
67
|
*
|
|
68
|
-
* @throws {@link
|
|
69
|
-
* <p>Base exception class for all service exceptions from
|
|
68
|
+
* @throws {@link OneHookServiceException}
|
|
69
|
+
* <p>Base exception class for all service exceptions from OneHook service.</p>
|
|
70
|
+
*
|
|
70
71
|
*
|
|
71
72
|
*/
|
|
72
73
|
export declare class DiscoverCommand extends DiscoverCommand_base {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookClient";
|
|
2
2
|
import { GenerateInviteRequest, GenerateInviteResponse } 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 GenerateInviteCommandInput extends GenerateInviteRequest {
|
|
|
22
22
|
export interface GenerateInviteCommandOutput extends GenerateInviteResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const GenerateInviteCommand_base: {
|
|
25
|
-
new (input: GenerateInviteCommandInput): import("@smithy/smithy-client").CommandImpl<GenerateInviteCommandInput, GenerateInviteCommandOutput,
|
|
26
|
-
new (__0_0: GenerateInviteCommandInput): import("@smithy/smithy-client").CommandImpl<GenerateInviteCommandInput, GenerateInviteCommandOutput,
|
|
27
|
-
getEndpointParameterInstructions(): import("@smithy/
|
|
25
|
+
new (input: GenerateInviteCommandInput): import("@smithy/smithy-client").CommandImpl<GenerateInviteCommandInput, GenerateInviteCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: GenerateInviteCommandInput): import("@smithy/smithy-client").CommandImpl<GenerateInviteCommandInput, GenerateInviteCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* @public
|
|
@@ -32,9 +32,9 @@ declare const GenerateInviteCommand_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, GenerateInviteCommand } from "onehook-api-client"; // ES Modules import
|
|
36
|
+
* // const { OneHookClient, GenerateInviteCommand } = require("onehook-api-client"); // CommonJS import
|
|
37
|
+
* const client = new OneHookClient(config);
|
|
38
38
|
* const input = { // GenerateInviteRequest
|
|
39
39
|
* referrerId: "STRING_VALUE", // required
|
|
40
40
|
* maxUses: Number("int"),
|
|
@@ -53,14 +53,15 @@ declare const GenerateInviteCommand_base: {
|
|
|
53
53
|
* @returns {@link GenerateInviteCommandOutput}
|
|
54
54
|
* @see {@link GenerateInviteCommandInput} for command's `input` shape.
|
|
55
55
|
* @see {@link GenerateInviteCommandOutput} for command's `response` shape.
|
|
56
|
-
* @see {@link
|
|
56
|
+
* @see {@link OneHookClientResolvedConfig | config} for OneHookClient's `config` shape.
|
|
57
57
|
*
|
|
58
58
|
* @throws {@link BadRequestError} (client fault)
|
|
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 GenerateInviteCommand extends GenerateInviteCommand_base {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookClient";
|
|
2
2
|
import { MediaUploadUrlRequest, MediaUploadUrlResponse } 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 GenerateUploadUrlCommandInput extends MediaUploadUrlRequest {
|
|
|
22
22
|
export interface GenerateUploadUrlCommandOutput extends MediaUploadUrlResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const GenerateUploadUrlCommand_base: {
|
|
25
|
-
new (input: GenerateUploadUrlCommandInput): import("@smithy/smithy-client").CommandImpl<GenerateUploadUrlCommandInput, GenerateUploadUrlCommandOutput,
|
|
26
|
-
new (__0_0: GenerateUploadUrlCommandInput): import("@smithy/smithy-client").CommandImpl<GenerateUploadUrlCommandInput, GenerateUploadUrlCommandOutput,
|
|
27
|
-
getEndpointParameterInstructions(): import("@smithy/
|
|
25
|
+
new (input: GenerateUploadUrlCommandInput): import("@smithy/smithy-client").CommandImpl<GenerateUploadUrlCommandInput, GenerateUploadUrlCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: GenerateUploadUrlCommandInput): import("@smithy/smithy-client").CommandImpl<GenerateUploadUrlCommandInput, GenerateUploadUrlCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* @public
|
|
@@ -32,9 +32,9 @@ declare const GenerateUploadUrlCommand_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, GenerateUploadUrlCommand } from "onehook-api-client"; // ES Modules import
|
|
36
|
+
* // const { OneHookClient, GenerateUploadUrlCommand } = require("onehook-api-client"); // CommonJS import
|
|
37
|
+
* const client = new OneHookClient(config);
|
|
38
38
|
* const input = { // MediaUploadUrlRequest
|
|
39
39
|
* contentType: "STRING_VALUE", // required
|
|
40
40
|
* contentLength: Number("long"), // required
|
|
@@ -55,14 +55,15 @@ declare const GenerateUploadUrlCommand_base: {
|
|
|
55
55
|
* @returns {@link GenerateUploadUrlCommandOutput}
|
|
56
56
|
* @see {@link GenerateUploadUrlCommandInput} for command's `input` shape.
|
|
57
57
|
* @see {@link GenerateUploadUrlCommandOutput} for command's `response` shape.
|
|
58
|
-
* @see {@link
|
|
58
|
+
* @see {@link OneHookClientResolvedConfig | config} for OneHookClient's `config` shape.
|
|
59
59
|
*
|
|
60
60
|
* @throws {@link BadRequestError} (client fault)
|
|
61
61
|
*
|
|
62
62
|
* @throws {@link InternalServerError} (server fault)
|
|
63
63
|
*
|
|
64
|
-
* @throws {@link
|
|
65
|
-
* <p>Base exception class for all service exceptions from
|
|
64
|
+
* @throws {@link OneHookServiceException}
|
|
65
|
+
* <p>Base exception class for all service exceptions from OneHook service.</p>
|
|
66
|
+
*
|
|
66
67
|
*
|
|
67
68
|
*/
|
|
68
69
|
export declare class GenerateUploadUrlCommand extends GenerateUploadUrlCommand_base {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookClient";
|
|
2
2
|
import { GetMatchRequest, MatchRecord } 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 GetMatchCommandInput extends GetMatchRequest {
|
|
|
22
22
|
export interface GetMatchCommandOutput extends MatchRecord, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const GetMatchCommand_base: {
|
|
25
|
-
new (input: GetMatchCommandInput): import("@smithy/smithy-client").CommandImpl<GetMatchCommandInput, GetMatchCommandOutput,
|
|
26
|
-
new (__0_0: GetMatchCommandInput): import("@smithy/smithy-client").CommandImpl<GetMatchCommandInput, GetMatchCommandOutput,
|
|
27
|
-
getEndpointParameterInstructions(): import("@smithy/
|
|
25
|
+
new (input: GetMatchCommandInput): import("@smithy/smithy-client").CommandImpl<GetMatchCommandInput, GetMatchCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: GetMatchCommandInput): import("@smithy/smithy-client").CommandImpl<GetMatchCommandInput, GetMatchCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* @public
|
|
@@ -32,9 +32,9 @@ declare const GetMatchCommand_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, GetMatchCommand } from "onehook-api-client"; // ES Modules import
|
|
36
|
+
* // const { OneHookClient, GetMatchCommand } = require("onehook-api-client"); // CommonJS import
|
|
37
|
+
* const client = new OneHookClient(config);
|
|
38
38
|
* const input = { // GetMatchRequest
|
|
39
39
|
* matchId: "STRING_VALUE", // required
|
|
40
40
|
* };
|
|
@@ -60,7 +60,7 @@ declare const GetMatchCommand_base: {
|
|
|
60
60
|
* @returns {@link GetMatchCommandOutput}
|
|
61
61
|
* @see {@link GetMatchCommandInput} for command's `input` shape.
|
|
62
62
|
* @see {@link GetMatchCommandOutput} for command's `response` shape.
|
|
63
|
-
* @see {@link
|
|
63
|
+
* @see {@link OneHookClientResolvedConfig | config} for OneHookClient's `config` shape.
|
|
64
64
|
*
|
|
65
65
|
* @throws {@link BadRequestError} (client fault)
|
|
66
66
|
*
|
|
@@ -68,8 +68,9 @@ declare const GetMatchCommand_base: {
|
|
|
68
68
|
*
|
|
69
69
|
* @throws {@link InternalServerError} (server fault)
|
|
70
70
|
*
|
|
71
|
-
* @throws {@link
|
|
72
|
-
* <p>Base exception class for all service exceptions from
|
|
71
|
+
* @throws {@link OneHookServiceException}
|
|
72
|
+
* <p>Base exception class for all service exceptions from OneHook service.</p>
|
|
73
|
+
*
|
|
73
74
|
*
|
|
74
75
|
*/
|
|
75
76
|
export declare class GetMatchCommand extends GetMatchCommand_base {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookClient";
|
|
2
2
|
import { ProfileResponse } 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 GetMyProfileCommandInput {
|
|
|
22
22
|
export interface GetMyProfileCommandOutput extends ProfileResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const GetMyProfileCommand_base: {
|
|
25
|
-
new (input: GetMyProfileCommandInput): import("@smithy/smithy-client").CommandImpl<GetMyProfileCommandInput, GetMyProfileCommandOutput,
|
|
26
|
-
new (...[input]: [] | [GetMyProfileCommandInput]): import("@smithy/smithy-client").CommandImpl<GetMyProfileCommandInput, GetMyProfileCommandOutput,
|
|
27
|
-
getEndpointParameterInstructions(): import("@smithy/
|
|
25
|
+
new (input: GetMyProfileCommandInput): import("@smithy/smithy-client").CommandImpl<GetMyProfileCommandInput, GetMyProfileCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [GetMyProfileCommandInput]): import("@smithy/smithy-client").CommandImpl<GetMyProfileCommandInput, GetMyProfileCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* Fetches the authenticated caller's own profile. The userId is taken from the verified Cognito
|
|
@@ -33,9 +33,9 @@ declare const GetMyProfileCommand_base: {
|
|
|
33
33
|
* @example
|
|
34
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
35
|
* ```javascript
|
|
36
|
-
* import {
|
|
37
|
-
* // const {
|
|
38
|
-
* const client = new
|
|
36
|
+
* import { OneHookClient, GetMyProfileCommand } from "onehook-api-client"; // ES Modules import
|
|
37
|
+
* // const { OneHookClient, GetMyProfileCommand } = require("onehook-api-client"); // CommonJS import
|
|
38
|
+
* const client = new OneHookClient(config);
|
|
39
39
|
* const input = {};
|
|
40
40
|
* const command = new GetMyProfileCommand(input);
|
|
41
41
|
* const response = await client.send(command);
|
|
@@ -108,7 +108,7 @@ declare const GetMyProfileCommand_base: {
|
|
|
108
108
|
* @returns {@link GetMyProfileCommandOutput}
|
|
109
109
|
* @see {@link GetMyProfileCommandInput} for command's `input` shape.
|
|
110
110
|
* @see {@link GetMyProfileCommandOutput} for command's `response` shape.
|
|
111
|
-
* @see {@link
|
|
111
|
+
* @see {@link OneHookClientResolvedConfig | config} for OneHookClient's `config` shape.
|
|
112
112
|
*
|
|
113
113
|
* @throws {@link BadRequestError} (client fault)
|
|
114
114
|
*
|
|
@@ -116,8 +116,9 @@ declare const GetMyProfileCommand_base: {
|
|
|
116
116
|
*
|
|
117
117
|
* @throws {@link InternalServerError} (server fault)
|
|
118
118
|
*
|
|
119
|
-
* @throws {@link
|
|
120
|
-
* <p>Base exception class for all service exceptions from
|
|
119
|
+
* @throws {@link OneHookServiceException}
|
|
120
|
+
* <p>Base exception class for all service exceptions from OneHook service.</p>
|
|
121
|
+
*
|
|
121
122
|
*
|
|
122
123
|
* @public
|
|
123
124
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookClient";
|
|
2
2
|
import { GetPreferencesRequest, UserPreferencesResponse } 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 GetPreferencesCommandInput extends GetPreferencesRequest {
|
|
|
22
22
|
export interface GetPreferencesCommandOutput extends UserPreferencesResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const GetPreferencesCommand_base: {
|
|
25
|
-
new (input: GetPreferencesCommandInput): import("@smithy/smithy-client").CommandImpl<GetPreferencesCommandInput, GetPreferencesCommandOutput,
|
|
26
|
-
new (__0_0: GetPreferencesCommandInput): import("@smithy/smithy-client").CommandImpl<GetPreferencesCommandInput, GetPreferencesCommandOutput,
|
|
27
|
-
getEndpointParameterInstructions(): import("@smithy/
|
|
25
|
+
new (input: GetPreferencesCommandInput): import("@smithy/smithy-client").CommandImpl<GetPreferencesCommandInput, GetPreferencesCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: GetPreferencesCommandInput): import("@smithy/smithy-client").CommandImpl<GetPreferencesCommandInput, GetPreferencesCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* @public
|
|
@@ -32,9 +32,9 @@ declare const GetPreferencesCommand_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, GetPreferencesCommand } from "onehook-api-client"; // ES Modules import
|
|
36
|
+
* // const { OneHookClient, GetPreferencesCommand } = require("onehook-api-client"); // CommonJS import
|
|
37
|
+
* const client = new OneHookClient(config);
|
|
38
38
|
* const input = { // GetPreferencesRequest
|
|
39
39
|
* userId: "STRING_VALUE", // required
|
|
40
40
|
* };
|
|
@@ -56,7 +56,7 @@ declare const GetPreferencesCommand_base: {
|
|
|
56
56
|
* @returns {@link GetPreferencesCommandOutput}
|
|
57
57
|
* @see {@link GetPreferencesCommandInput} for command's `input` shape.
|
|
58
58
|
* @see {@link GetPreferencesCommandOutput} for command's `response` shape.
|
|
59
|
-
* @see {@link
|
|
59
|
+
* @see {@link OneHookClientResolvedConfig | config} for OneHookClient's `config` shape.
|
|
60
60
|
*
|
|
61
61
|
* @throws {@link BadRequestError} (client fault)
|
|
62
62
|
*
|
|
@@ -64,8 +64,9 @@ declare const GetPreferencesCommand_base: {
|
|
|
64
64
|
*
|
|
65
65
|
* @throws {@link InternalServerError} (server fault)
|
|
66
66
|
*
|
|
67
|
-
* @throws {@link
|
|
68
|
-
* <p>Base exception class for all service exceptions from
|
|
67
|
+
* @throws {@link OneHookServiceException}
|
|
68
|
+
* <p>Base exception class for all service exceptions from OneHook service.</p>
|
|
69
|
+
*
|
|
69
70
|
*
|
|
70
71
|
*/
|
|
71
72
|
export declare class GetPreferencesCommand extends GetPreferencesCommand_base {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookClient";
|
|
2
2
|
import { GetProfileRequest, ProfileResponse } 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 GetProfileCommandInput extends GetProfileRequest {
|
|
|
22
22
|
export interface GetProfileCommandOutput extends ProfileResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const GetProfileCommand_base: {
|
|
25
|
-
new (input: GetProfileCommandInput): import("@smithy/smithy-client").CommandImpl<GetProfileCommandInput, GetProfileCommandOutput,
|
|
26
|
-
new (__0_0: GetProfileCommandInput): import("@smithy/smithy-client").CommandImpl<GetProfileCommandInput, GetProfileCommandOutput,
|
|
27
|
-
getEndpointParameterInstructions(): import("@smithy/
|
|
25
|
+
new (input: GetProfileCommandInput): import("@smithy/smithy-client").CommandImpl<GetProfileCommandInput, GetProfileCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: GetProfileCommandInput): import("@smithy/smithy-client").CommandImpl<GetProfileCommandInput, GetProfileCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* @public
|
|
@@ -32,9 +32,9 @@ declare const GetProfileCommand_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, GetProfileCommand } from "onehook-api-client"; // ES Modules import
|
|
36
|
+
* // const { OneHookClient, GetProfileCommand } = require("onehook-api-client"); // CommonJS import
|
|
37
|
+
* const client = new OneHookClient(config);
|
|
38
38
|
* const input = { // GetProfileRequest
|
|
39
39
|
* userId: "STRING_VALUE", // required
|
|
40
40
|
* };
|
|
@@ -109,7 +109,7 @@ declare const GetProfileCommand_base: {
|
|
|
109
109
|
* @returns {@link GetProfileCommandOutput}
|
|
110
110
|
* @see {@link GetProfileCommandInput} for command's `input` shape.
|
|
111
111
|
* @see {@link GetProfileCommandOutput} for command's `response` shape.
|
|
112
|
-
* @see {@link
|
|
112
|
+
* @see {@link OneHookClientResolvedConfig | config} for OneHookClient's `config` shape.
|
|
113
113
|
*
|
|
114
114
|
* @throws {@link BadRequestError} (client fault)
|
|
115
115
|
*
|
|
@@ -117,8 +117,9 @@ declare const GetProfileCommand_base: {
|
|
|
117
117
|
*
|
|
118
118
|
* @throws {@link InternalServerError} (server fault)
|
|
119
119
|
*
|
|
120
|
-
* @throws {@link
|
|
121
|
-
* <p>Base exception class for all service exceptions from
|
|
120
|
+
* @throws {@link OneHookServiceException}
|
|
121
|
+
* <p>Base exception class for all service exceptions from OneHook service.</p>
|
|
122
|
+
*
|
|
122
123
|
*
|
|
123
124
|
*/
|
|
124
125
|
export declare class GetProfileCommand extends GetProfileCommand_base {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookClient";
|
|
2
2
|
import { GetStateRequest, UserStateResponse } 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 GetStateCommandInput extends GetStateRequest {
|
|
|
22
22
|
export interface GetStateCommandOutput extends UserStateResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const GetStateCommand_base: {
|
|
25
|
-
new (input: GetStateCommandInput): import("@smithy/smithy-client").CommandImpl<GetStateCommandInput, GetStateCommandOutput,
|
|
26
|
-
new (__0_0: GetStateCommandInput): import("@smithy/smithy-client").CommandImpl<GetStateCommandInput, GetStateCommandOutput,
|
|
27
|
-
getEndpointParameterInstructions(): import("@smithy/
|
|
25
|
+
new (input: GetStateCommandInput): import("@smithy/smithy-client").CommandImpl<GetStateCommandInput, GetStateCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: GetStateCommandInput): import("@smithy/smithy-client").CommandImpl<GetStateCommandInput, GetStateCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* @public
|
|
@@ -32,9 +32,9 @@ declare const GetStateCommand_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, GetStateCommand } from "onehook-api-client"; // ES Modules import
|
|
36
|
+
* // const { OneHookClient, GetStateCommand } = require("onehook-api-client"); // CommonJS import
|
|
37
|
+
* const client = new OneHookClient(config);
|
|
38
38
|
* const input = { // GetStateRequest
|
|
39
39
|
* userId: "STRING_VALUE", // required
|
|
40
40
|
* };
|
|
@@ -56,7 +56,7 @@ declare const GetStateCommand_base: {
|
|
|
56
56
|
* @returns {@link GetStateCommandOutput}
|
|
57
57
|
* @see {@link GetStateCommandInput} for command's `input` shape.
|
|
58
58
|
* @see {@link GetStateCommandOutput} for command's `response` shape.
|
|
59
|
-
* @see {@link
|
|
59
|
+
* @see {@link OneHookClientResolvedConfig | config} for OneHookClient's `config` shape.
|
|
60
60
|
*
|
|
61
61
|
* @throws {@link BadRequestError} (client fault)
|
|
62
62
|
*
|
|
@@ -64,8 +64,9 @@ declare const GetStateCommand_base: {
|
|
|
64
64
|
*
|
|
65
65
|
* @throws {@link InternalServerError} (server fault)
|
|
66
66
|
*
|
|
67
|
-
* @throws {@link
|
|
68
|
-
* <p>Base exception class for all service exceptions from
|
|
67
|
+
* @throws {@link OneHookServiceException}
|
|
68
|
+
* <p>Base exception class for all service exceptions from OneHook service.</p>
|
|
69
|
+
*
|
|
69
70
|
*
|
|
70
71
|
*/
|
|
71
72
|
export declare class GetStateCommand extends GetStateCommand_base {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookClient";
|
|
2
2
|
import { GetUserByEmailRequest, UserResponse } 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 GetUserByEmailCommandInput extends GetUserByEmailRequest {
|
|
|
22
22
|
export interface GetUserByEmailCommandOutput extends UserResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const GetUserByEmailCommand_base: {
|
|
25
|
-
new (input: GetUserByEmailCommandInput): import("@smithy/smithy-client").CommandImpl<GetUserByEmailCommandInput, GetUserByEmailCommandOutput,
|
|
26
|
-
new (__0_0: GetUserByEmailCommandInput): import("@smithy/smithy-client").CommandImpl<GetUserByEmailCommandInput, GetUserByEmailCommandOutput,
|
|
27
|
-
getEndpointParameterInstructions(): import("@smithy/
|
|
25
|
+
new (input: GetUserByEmailCommandInput): import("@smithy/smithy-client").CommandImpl<GetUserByEmailCommandInput, GetUserByEmailCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: GetUserByEmailCommandInput): import("@smithy/smithy-client").CommandImpl<GetUserByEmailCommandInput, GetUserByEmailCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* @public
|
|
@@ -32,9 +32,9 @@ declare const GetUserByEmailCommand_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, GetUserByEmailCommand } from "onehook-api-client"; // ES Modules import
|
|
36
|
+
* // const { OneHookClient, GetUserByEmailCommand } = require("onehook-api-client"); // CommonJS import
|
|
37
|
+
* const client = new OneHookClient(config);
|
|
38
38
|
* const input = { // GetUserByEmailRequest
|
|
39
39
|
* email: "STRING_VALUE", // required
|
|
40
40
|
* };
|
|
@@ -58,14 +58,15 @@ declare const GetUserByEmailCommand_base: {
|
|
|
58
58
|
* @returns {@link GetUserByEmailCommandOutput}
|
|
59
59
|
* @see {@link GetUserByEmailCommandInput} for command's `input` shape.
|
|
60
60
|
* @see {@link GetUserByEmailCommandOutput} for command's `response` shape.
|
|
61
|
-
* @see {@link
|
|
61
|
+
* @see {@link OneHookClientResolvedConfig | config} for OneHookClient's `config` shape.
|
|
62
62
|
*
|
|
63
63
|
* @throws {@link NotFoundError} (client fault)
|
|
64
64
|
*
|
|
65
65
|
* @throws {@link InternalServerError} (server fault)
|
|
66
66
|
*
|
|
67
|
-
* @throws {@link
|
|
68
|
-
* <p>Base exception class for all service exceptions from
|
|
67
|
+
* @throws {@link OneHookServiceException}
|
|
68
|
+
* <p>Base exception class for all service exceptions from OneHook service.</p>
|
|
69
|
+
*
|
|
69
70
|
*
|
|
70
71
|
*/
|
|
71
72
|
export declare class GetUserByEmailCommand extends GetUserByEmailCommand_base {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookClient";
|
|
2
2
|
import { GetUserRequest, UserResponse } 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 GetUserCommandInput extends GetUserRequest {
|
|
|
22
22
|
export interface GetUserCommandOutput extends UserResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const GetUserCommand_base: {
|
|
25
|
-
new (input: GetUserCommandInput): import("@smithy/smithy-client").CommandImpl<GetUserCommandInput, GetUserCommandOutput,
|
|
26
|
-
new (__0_0: GetUserCommandInput): import("@smithy/smithy-client").CommandImpl<GetUserCommandInput, GetUserCommandOutput,
|
|
27
|
-
getEndpointParameterInstructions(): import("@smithy/
|
|
25
|
+
new (input: GetUserCommandInput): import("@smithy/smithy-client").CommandImpl<GetUserCommandInput, GetUserCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: GetUserCommandInput): import("@smithy/smithy-client").CommandImpl<GetUserCommandInput, GetUserCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* @public
|
|
@@ -32,9 +32,9 @@ declare const GetUserCommand_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, GetUserCommand } from "onehook-api-client"; // ES Modules import
|
|
36
|
+
* // const { OneHookClient, GetUserCommand } = require("onehook-api-client"); // CommonJS import
|
|
37
|
+
* const client = new OneHookClient(config);
|
|
38
38
|
* const input = { // GetUserRequest
|
|
39
39
|
* userId: "STRING_VALUE", // required
|
|
40
40
|
* };
|
|
@@ -58,14 +58,15 @@ declare const GetUserCommand_base: {
|
|
|
58
58
|
* @returns {@link GetUserCommandOutput}
|
|
59
59
|
* @see {@link GetUserCommandInput} for command's `input` shape.
|
|
60
60
|
* @see {@link GetUserCommandOutput} for command's `response` shape.
|
|
61
|
-
* @see {@link
|
|
61
|
+
* @see {@link OneHookClientResolvedConfig | config} for OneHookClient's `config` shape.
|
|
62
62
|
*
|
|
63
63
|
* @throws {@link NotFoundError} (client fault)
|
|
64
64
|
*
|
|
65
65
|
* @throws {@link InternalServerError} (server fault)
|
|
66
66
|
*
|
|
67
|
-
* @throws {@link
|
|
68
|
-
* <p>Base exception class for all service exceptions from
|
|
67
|
+
* @throws {@link OneHookServiceException}
|
|
68
|
+
* <p>Base exception class for all service exceptions from OneHook service.</p>
|
|
69
|
+
*
|
|
69
70
|
*
|
|
70
71
|
*/
|
|
71
72
|
export declare class GetUserCommand extends GetUserCommand_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 IndexLocationCommandInput extends LocationRequest {
|
|
|
22
22
|
export interface IndexLocationCommandOutput extends StatusResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const IndexLocationCommand_base: {
|
|
25
|
-
new (input: IndexLocationCommandInput): import("@smithy/smithy-client").CommandImpl<IndexLocationCommandInput, IndexLocationCommandOutput,
|
|
26
|
-
new (__0_0: IndexLocationCommandInput): import("@smithy/smithy-client").CommandImpl<IndexLocationCommandInput, IndexLocationCommandOutput,
|
|
27
|
-
getEndpointParameterInstructions(): import("@smithy/
|
|
25
|
+
new (input: IndexLocationCommandInput): import("@smithy/smithy-client").CommandImpl<IndexLocationCommandInput, IndexLocationCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: IndexLocationCommandInput): import("@smithy/smithy-client").CommandImpl<IndexLocationCommandInput, IndexLocationCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* @public
|
|
@@ -32,9 +32,9 @@ declare const IndexLocationCommand_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, IndexLocationCommand } from "onehook-api-client"; // ES Modules import
|
|
36
|
+
* // const { OneHookClient, IndexLocationCommand } = 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 IndexLocationCommand_base: {
|
|
|
51
51
|
* @returns {@link IndexLocationCommandOutput}
|
|
52
52
|
* @see {@link IndexLocationCommandInput} for command's `input` shape.
|
|
53
53
|
* @see {@link IndexLocationCommandOutput} 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 IndexLocationCommand extends IndexLocationCommand_base {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookClient";
|
|
2
2
|
import { InitUserRequest, 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 InitUserCommandInput extends InitUserRequest {
|
|
|
22
22
|
export interface InitUserCommandOutput extends StatusResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const InitUserCommand_base: {
|
|
25
|
-
new (input: InitUserCommandInput): import("@smithy/smithy-client").CommandImpl<InitUserCommandInput, InitUserCommandOutput,
|
|
26
|
-
new (...[input]: [] | [InitUserCommandInput]): import("@smithy/smithy-client").CommandImpl<InitUserCommandInput, InitUserCommandOutput,
|
|
27
|
-
getEndpointParameterInstructions(): import("@smithy/
|
|
25
|
+
new (input: InitUserCommandInput): import("@smithy/smithy-client").CommandImpl<InitUserCommandInput, InitUserCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [InitUserCommandInput]): import("@smithy/smithy-client").CommandImpl<InitUserCommandInput, InitUserCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* @public
|
|
@@ -32,9 +32,9 @@ declare const InitUserCommand_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, InitUserCommand } from "onehook-api-client"; // ES Modules import
|
|
36
|
+
* // const { OneHookClient, InitUserCommand } = require("onehook-api-client"); // CommonJS import
|
|
37
|
+
* const client = new OneHookClient(config);
|
|
38
38
|
* const input = {};
|
|
39
39
|
* const command = new InitUserCommand(input);
|
|
40
40
|
* const response = await client.send(command);
|
|
@@ -48,14 +48,15 @@ declare const InitUserCommand_base: {
|
|
|
48
48
|
* @returns {@link InitUserCommandOutput}
|
|
49
49
|
* @see {@link InitUserCommandInput} for command's `input` shape.
|
|
50
50
|
* @see {@link InitUserCommandOutput} for command's `response` shape.
|
|
51
|
-
* @see {@link
|
|
51
|
+
* @see {@link OneHookClientResolvedConfig | config} for OneHookClient's `config` shape.
|
|
52
52
|
*
|
|
53
53
|
* @throws {@link BadRequestError} (client fault)
|
|
54
54
|
*
|
|
55
55
|
* @throws {@link InternalServerError} (server fault)
|
|
56
56
|
*
|
|
57
|
-
* @throws {@link
|
|
58
|
-
* <p>Base exception class for all service exceptions from
|
|
57
|
+
* @throws {@link OneHookServiceException}
|
|
58
|
+
* <p>Base exception class for all service exceptions from OneHook service.</p>
|
|
59
|
+
*
|
|
59
60
|
*
|
|
60
61
|
*/
|
|
61
62
|
export declare class InitUserCommand extends InitUserCommand_base {
|