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.
Files changed (152) hide show
  1. package/LICENSE +28 -201
  2. package/README.md +451 -0
  3. package/dist-cjs/{OneHookService.js → OneHook.js} +5 -5
  4. package/dist-cjs/{OneHookServiceClient.js → OneHookClient.js} +16 -11
  5. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +8 -0
  6. package/dist-cjs/auth/httpAuthSchemeProvider.js +24 -11
  7. package/dist-cjs/commands/AuthSocialCommand.js +1 -1
  8. package/dist-cjs/commands/ClaimPreKeyBundleCommand.js +1 -1
  9. package/dist-cjs/commands/CompleteLivenessSessionCommand.js +1 -1
  10. package/dist-cjs/commands/CompleteOnboardingCommand.js +1 -1
  11. package/dist-cjs/commands/CreateLivenessSessionCommand.js +1 -1
  12. package/dist-cjs/commands/DeleteMatchMessagesCommand.js +1 -1
  13. package/dist-cjs/commands/DeleteProfileCommand.js +1 -1
  14. package/dist-cjs/commands/DiscoverCommand.js +1 -1
  15. package/dist-cjs/commands/GenerateInviteCommand.js +1 -1
  16. package/dist-cjs/commands/GenerateUploadUrlCommand.js +1 -1
  17. package/dist-cjs/commands/GetMatchCommand.js +1 -1
  18. package/dist-cjs/commands/GetMyProfileCommand.js +1 -1
  19. package/dist-cjs/commands/GetPreferencesCommand.js +1 -1
  20. package/dist-cjs/commands/GetProfileCommand.js +1 -1
  21. package/dist-cjs/commands/GetStateCommand.js +1 -1
  22. package/dist-cjs/commands/GetUserByEmailCommand.js +1 -1
  23. package/dist-cjs/commands/GetUserCommand.js +1 -1
  24. package/dist-cjs/commands/IndexLocationCommand.js +1 -1
  25. package/dist-cjs/commands/InitUserCommand.js +1 -1
  26. package/dist-cjs/commands/LinkEmailCommand.js +1 -1
  27. package/dist-cjs/commands/LinkSocialCommand.js +1 -1
  28. package/dist-cjs/commands/RegisterPhoneCommand.js +1 -1
  29. package/dist-cjs/commands/RemoveLocationCommand.js +1 -1
  30. package/dist-cjs/commands/RequestEmailOtpCommand.js +1 -1
  31. package/dist-cjs/commands/RequestPhoneOtpCommand.js +1 -1
  32. package/dist-cjs/commands/RequestPhoneUpdateOtpCommand.js +1 -1
  33. package/dist-cjs/commands/SwipeCommand.js +1 -1
  34. package/dist-cjs/commands/UnhookCommand.js +1 -1
  35. package/dist-cjs/commands/UnlinkSocialCommand.js +1 -1
  36. package/dist-cjs/commands/UpdateEntitlementsCommand.js +1 -1
  37. package/dist-cjs/commands/UpdatePhoneNumberCommand.js +1 -1
  38. package/dist-cjs/commands/UpdatePreferencesCommand.js +1 -1
  39. package/dist-cjs/commands/UpdateProfileCommand.js +1 -1
  40. package/dist-cjs/commands/UpgradeUserCommand.js +1 -1
  41. package/dist-cjs/commands/UploadPreKeysCommand.js +1 -1
  42. package/dist-cjs/commands/ValidateInviteCommand.js +1 -1
  43. package/dist-cjs/endpoints.js +232 -0
  44. package/dist-cjs/graphql/types.js +1 -1
  45. package/dist-cjs/index.js +5 -5
  46. package/dist-cjs/models/{OneHookServiceServiceException.js → OneHookServiceException.js} +4 -4
  47. package/dist-cjs/models/models_0.js +17 -13
  48. package/dist-cjs/protocols/Aws_restJson1.js +2 -2
  49. package/dist-cjs/runtimeConfig.browser.js +7 -1
  50. package/dist-cjs/runtimeConfig.js +13 -4
  51. package/dist-cjs/runtimeConfig.shared.js +8 -5
  52. package/dist-cjs/runtimeExtensions.js +3 -12
  53. package/dist-es/{OneHookService.js → OneHook.js} +3 -3
  54. package/dist-es/{OneHookServiceClient.js → OneHookClient.js} +16 -11
  55. package/dist-es/auth/httpAuthExtensionConfiguration.js +8 -0
  56. package/dist-es/auth/httpAuthSchemeProvider.js +22 -9
  57. package/dist-es/commands/AuthSocialCommand.js +1 -1
  58. package/dist-es/commands/ClaimPreKeyBundleCommand.js +1 -1
  59. package/dist-es/commands/CompleteLivenessSessionCommand.js +1 -1
  60. package/dist-es/commands/CompleteOnboardingCommand.js +1 -1
  61. package/dist-es/commands/CreateLivenessSessionCommand.js +1 -1
  62. package/dist-es/commands/DeleteMatchMessagesCommand.js +1 -1
  63. package/dist-es/commands/DeleteProfileCommand.js +1 -1
  64. package/dist-es/commands/DiscoverCommand.js +1 -1
  65. package/dist-es/commands/GenerateInviteCommand.js +1 -1
  66. package/dist-es/commands/GenerateUploadUrlCommand.js +1 -1
  67. package/dist-es/commands/GetMatchCommand.js +1 -1
  68. package/dist-es/commands/GetMyProfileCommand.js +1 -1
  69. package/dist-es/commands/GetPreferencesCommand.js +1 -1
  70. package/dist-es/commands/GetProfileCommand.js +1 -1
  71. package/dist-es/commands/GetStateCommand.js +1 -1
  72. package/dist-es/commands/GetUserByEmailCommand.js +1 -1
  73. package/dist-es/commands/GetUserCommand.js +1 -1
  74. package/dist-es/commands/IndexLocationCommand.js +1 -1
  75. package/dist-es/commands/InitUserCommand.js +1 -1
  76. package/dist-es/commands/LinkEmailCommand.js +1 -1
  77. package/dist-es/commands/LinkSocialCommand.js +1 -1
  78. package/dist-es/commands/RegisterPhoneCommand.js +1 -1
  79. package/dist-es/commands/RemoveLocationCommand.js +1 -1
  80. package/dist-es/commands/RequestEmailOtpCommand.js +1 -1
  81. package/dist-es/commands/RequestPhoneOtpCommand.js +1 -1
  82. package/dist-es/commands/RequestPhoneUpdateOtpCommand.js +1 -1
  83. package/dist-es/commands/SwipeCommand.js +1 -1
  84. package/dist-es/commands/UnhookCommand.js +1 -1
  85. package/dist-es/commands/UnlinkSocialCommand.js +1 -1
  86. package/dist-es/commands/UpdateEntitlementsCommand.js +1 -1
  87. package/dist-es/commands/UpdatePhoneNumberCommand.js +1 -1
  88. package/dist-es/commands/UpdatePreferencesCommand.js +1 -1
  89. package/dist-es/commands/UpdateProfileCommand.js +1 -1
  90. package/dist-es/commands/UpgradeUserCommand.js +1 -1
  91. package/dist-es/commands/UploadPreKeysCommand.js +1 -1
  92. package/dist-es/commands/ValidateInviteCommand.js +1 -1
  93. package/dist-es/endpoints.js +228 -0
  94. package/dist-es/index.js +3 -3
  95. package/dist-es/models/{OneHookServiceServiceException.js → OneHookServiceException.js} +2 -2
  96. package/dist-es/models/models_0.js +13 -9
  97. package/dist-es/protocols/Aws_restJson1.js +1 -1
  98. package/dist-es/runtimeConfig.browser.js +7 -1
  99. package/dist-es/runtimeConfig.js +13 -4
  100. package/dist-es/runtimeConfig.shared.js +9 -6
  101. package/dist-es/runtimeExtensions.js +3 -12
  102. package/dist-types/{OneHookService.d.ts → OneHook.d.ts} +3 -3
  103. package/dist-types/{OneHookServiceClient.d.ts → OneHookClient.d.ts} +58 -12
  104. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +8 -5
  105. package/dist-types/auth/httpAuthSchemeProvider.d.ts +13 -11
  106. package/dist-types/commands/AuthSocialCommand.d.ts +11 -10
  107. package/dist-types/commands/ClaimPreKeyBundleCommand.d.ts +11 -10
  108. package/dist-types/commands/CompleteLivenessSessionCommand.d.ts +11 -10
  109. package/dist-types/commands/CompleteOnboardingCommand.d.ts +11 -10
  110. package/dist-types/commands/CreateLivenessSessionCommand.d.ts +11 -10
  111. package/dist-types/commands/DeleteMatchMessagesCommand.d.ts +11 -10
  112. package/dist-types/commands/DeleteProfileCommand.d.ts +11 -10
  113. package/dist-types/commands/DiscoverCommand.d.ts +11 -10
  114. package/dist-types/commands/GenerateInviteCommand.d.ts +11 -10
  115. package/dist-types/commands/GenerateUploadUrlCommand.d.ts +11 -10
  116. package/dist-types/commands/GetMatchCommand.d.ts +11 -10
  117. package/dist-types/commands/GetMyProfileCommand.d.ts +11 -10
  118. package/dist-types/commands/GetPreferencesCommand.d.ts +11 -10
  119. package/dist-types/commands/GetProfileCommand.d.ts +11 -10
  120. package/dist-types/commands/GetStateCommand.d.ts +11 -10
  121. package/dist-types/commands/GetUserByEmailCommand.d.ts +11 -10
  122. package/dist-types/commands/GetUserCommand.d.ts +11 -10
  123. package/dist-types/commands/IndexLocationCommand.d.ts +11 -10
  124. package/dist-types/commands/InitUserCommand.d.ts +11 -10
  125. package/dist-types/commands/LinkEmailCommand.d.ts +11 -10
  126. package/dist-types/commands/LinkSocialCommand.d.ts +11 -10
  127. package/dist-types/commands/RegisterPhoneCommand.d.ts +11 -10
  128. package/dist-types/commands/RemoveLocationCommand.d.ts +11 -10
  129. package/dist-types/commands/RequestEmailOtpCommand.d.ts +11 -10
  130. package/dist-types/commands/RequestPhoneOtpCommand.d.ts +11 -10
  131. package/dist-types/commands/RequestPhoneUpdateOtpCommand.d.ts +11 -10
  132. package/dist-types/commands/SwipeCommand.d.ts +11 -10
  133. package/dist-types/commands/UnhookCommand.d.ts +11 -10
  134. package/dist-types/commands/UnlinkSocialCommand.d.ts +11 -10
  135. package/dist-types/commands/UpdateEntitlementsCommand.d.ts +11 -10
  136. package/dist-types/commands/UpdatePhoneNumberCommand.d.ts +11 -10
  137. package/dist-types/commands/UpdatePreferencesCommand.d.ts +11 -10
  138. package/dist-types/commands/UpdateProfileCommand.d.ts +11 -10
  139. package/dist-types/commands/UpgradeUserCommand.d.ts +11 -10
  140. package/dist-types/commands/UploadPreKeysCommand.d.ts +11 -10
  141. package/dist-types/commands/ValidateInviteCommand.d.ts +11 -10
  142. package/dist-types/endpoints.d.ts +2 -0
  143. package/dist-types/extensionConfiguration.d.ts +2 -1
  144. package/dist-types/index.d.ts +4 -4
  145. package/dist-types/models/{OneHookServiceServiceException.d.ts → OneHookServiceException.d.ts} +2 -2
  146. package/dist-types/models/models_0.d.ts +5 -1
  147. package/dist-types/runtimeConfig.browser.d.ts +28 -13
  148. package/dist-types/runtimeConfig.d.ts +28 -13
  149. package/dist-types/runtimeConfig.native.d.ts +28 -13
  150. package/dist-types/runtimeConfig.shared.d.ts +6 -10
  151. package/dist-types/runtimeExtensions.d.ts +2 -2
  152. package/package.json +55 -37
@@ -38,11 +38,11 @@ import { ValidateInviteCommandInput, ValidateInviteCommandOutput } from "./comma
38
38
  import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
39
39
  import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
40
40
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
41
- import { CustomEndpointsInputConfig, CustomEndpointsResolvedConfig } from "@smithy/config-resolver";
41
+ import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver";
42
42
  import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
43
43
  import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
44
44
  import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
45
- import { Provider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
45
+ import { AwsCredentialIdentityProvider, Provider, RegionInfoProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
46
46
  export { __Client };
47
47
  /**
48
48
  * @public
@@ -133,43 +133,89 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
133
133
  * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
134
134
  */
135
135
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
136
+ /**
137
+ * Unique service identifier.
138
+ * @internal
139
+ */
140
+ serviceId?: string;
141
+ /**
142
+ * Enables IPv6/IPv4 dualstack endpoint.
143
+ */
144
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
145
+ /**
146
+ * Enables FIPS compatible endpoints.
147
+ */
148
+ useFipsEndpoint?: boolean | __Provider<boolean>;
149
+ /**
150
+ * The AWS region to which this client will send requests
151
+ */
152
+ region?: string | __Provider<string>;
153
+ /**
154
+ * Setting a client profile is similar to setting a value for the
155
+ * AWS_PROFILE environment variable. Setting a profile on a client
156
+ * in code only affects the single client instance, unlike AWS_PROFILE.
157
+ *
158
+ * When set, and only for environments where an AWS configuration
159
+ * file exists, fields configurable by this file will be retrieved
160
+ * from the specified profile within that file.
161
+ * Conflicting code configuration and environment variables will
162
+ * still have higher priority.
163
+ *
164
+ * For client credential resolution that involves checking the AWS
165
+ * configuration file, the client's profile (this value) will be
166
+ * used unless a different profile is set in the credential
167
+ * provider options.
168
+ *
169
+ */
170
+ profile?: string;
171
+ /**
172
+ * Fetch related hostname, signing name or signing region with given region.
173
+ * @internal
174
+ */
175
+ regionInfoProvider?: RegionInfoProvider;
136
176
  /**
137
177
  * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
138
178
  * @internal
139
179
  */
140
180
  defaultUserAgentProvider?: Provider<__UserAgent>;
181
+ /**
182
+ * Default credentials provider; Not available in browser runtime.
183
+ * @deprecated
184
+ * @internal
185
+ */
186
+ credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
141
187
  }
142
188
  /**
143
189
  * @public
144
190
  */
145
- export type OneHookServiceClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & CustomEndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & UserAgentInputConfig & HttpAuthSchemeInputConfig;
191
+ export type OneHookClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RetryInputConfig & RegionInputConfig & HostHeaderInputConfig & EndpointsInputConfig & UserAgentInputConfig & HttpAuthSchemeInputConfig;
146
192
  /**
147
193
  * @public
148
194
  *
149
- * The configuration interface of OneHookServiceClient class constructor that set the region, credentials and other options.
195
+ * The configuration interface of OneHookClient class constructor that set the region, credentials and other options.
150
196
  */
151
- export interface OneHookServiceClientConfig extends OneHookServiceClientConfigType {
197
+ export interface OneHookClientConfig extends OneHookClientConfigType {
152
198
  }
153
199
  /**
154
200
  * @public
155
201
  */
156
- export type OneHookServiceClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & CustomEndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & UserAgentResolvedConfig & HttpAuthSchemeResolvedConfig;
202
+ export type OneHookClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & RetryResolvedConfig & RegionResolvedConfig & HostHeaderResolvedConfig & EndpointsResolvedConfig & UserAgentResolvedConfig & HttpAuthSchemeResolvedConfig;
157
203
  /**
158
204
  * @public
159
205
  *
160
- * The resolved configuration interface of OneHookServiceClient class. This is resolved and normalized from the {@link OneHookServiceClientConfig | constructor configuration interface}.
206
+ * The resolved configuration interface of OneHookClient class. This is resolved and normalized from the {@link OneHookClientConfig | constructor configuration interface}.
161
207
  */
162
- export interface OneHookServiceClientResolvedConfig extends OneHookServiceClientResolvedConfigType {
208
+ export interface OneHookClientResolvedConfig extends OneHookClientResolvedConfigType {
163
209
  }
164
210
  /**
165
211
  * @public
166
212
  */
167
- export declare class OneHookServiceClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, OneHookServiceClientResolvedConfig> {
213
+ export declare class OneHookClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, OneHookClientResolvedConfig> {
168
214
  /**
169
- * The resolved configuration of OneHookServiceClient class. This is resolved and normalized from the {@link OneHookServiceClientConfig | constructor configuration interface}.
215
+ * The resolved configuration of OneHookClient class. This is resolved and normalized from the {@link OneHookClientConfig | constructor configuration interface}.
170
216
  */
171
- readonly config: OneHookServiceClientResolvedConfig;
172
- constructor(...[configuration]: __CheckOptionalClientConfig<OneHookServiceClientConfig>);
217
+ readonly config: OneHookClientResolvedConfig;
218
+ constructor(...[configuration]: __CheckOptionalClientConfig<OneHookClientConfig>);
173
219
  /**
174
220
  * Destroy underlying resources, like sockets. It's usually not necessary to do this.
175
221
  * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
@@ -1,20 +1,23 @@
1
- import { OneHookServiceHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
2
- import { HttpAuthScheme } from "@smithy/types";
1
+ import { OneHookHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
2
+ import { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types";
3
3
  /**
4
4
  * @internal
5
5
  */
6
6
  export interface HttpAuthExtensionConfiguration {
7
7
  setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
8
8
  httpAuthSchemes(): HttpAuthScheme[];
9
- setHttpAuthSchemeProvider(httpAuthSchemeProvider: OneHookServiceHttpAuthSchemeProvider): void;
10
- httpAuthSchemeProvider(): OneHookServiceHttpAuthSchemeProvider;
9
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider: OneHookHttpAuthSchemeProvider): void;
10
+ httpAuthSchemeProvider(): OneHookHttpAuthSchemeProvider;
11
+ setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
12
+ credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
11
13
  }
12
14
  /**
13
15
  * @internal
14
16
  */
15
17
  export type HttpAuthRuntimeConfig = Partial<{
16
18
  httpAuthSchemes: HttpAuthScheme[];
17
- httpAuthSchemeProvider: OneHookServiceHttpAuthSchemeProvider;
19
+ httpAuthSchemeProvider: OneHookHttpAuthSchemeProvider;
20
+ credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
18
21
  }>;
19
22
  /**
20
23
  * @internal
@@ -1,32 +1,34 @@
1
- import { OneHookServiceClientResolvedConfig } from "../OneHookServiceClient";
1
+ import { OneHookClientResolvedConfig } from "../OneHookClient";
2
+ import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
2
3
  import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider } from "@smithy/types";
3
4
  /**
4
5
  * @internal
5
6
  */
6
- export interface OneHookServiceHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
7
+ export interface OneHookHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
8
+ region?: string;
7
9
  }
8
10
  /**
9
11
  * @internal
10
12
  */
11
- export interface OneHookServiceHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<OneHookServiceClientResolvedConfig, HandlerExecutionContext, OneHookServiceHttpAuthSchemeParameters, object> {
13
+ export interface OneHookHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<OneHookClientResolvedConfig, HandlerExecutionContext, OneHookHttpAuthSchemeParameters, object> {
12
14
  }
13
15
  /**
14
16
  * @internal
15
17
  */
16
- export declare const defaultOneHookServiceHttpAuthSchemeParametersProvider: (config: OneHookServiceClientResolvedConfig, context: HandlerExecutionContext, input: object) => Promise<OneHookServiceHttpAuthSchemeParameters>;
18
+ export declare const defaultOneHookHttpAuthSchemeParametersProvider: (config: OneHookClientResolvedConfig, context: HandlerExecutionContext, input: object) => Promise<OneHookHttpAuthSchemeParameters>;
17
19
  /**
18
20
  * @internal
19
21
  */
20
- export interface OneHookServiceHttpAuthSchemeProvider extends HttpAuthSchemeProvider<OneHookServiceHttpAuthSchemeParameters> {
22
+ export interface OneHookHttpAuthSchemeProvider extends HttpAuthSchemeProvider<OneHookHttpAuthSchemeParameters> {
21
23
  }
22
24
  /**
23
25
  * @internal
24
26
  */
25
- export declare const defaultOneHookServiceHttpAuthSchemeProvider: OneHookServiceHttpAuthSchemeProvider;
27
+ export declare const defaultOneHookHttpAuthSchemeProvider: OneHookHttpAuthSchemeProvider;
26
28
  /**
27
29
  * @internal
28
30
  */
29
- export interface HttpAuthSchemeInputConfig {
31
+ export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
30
32
  /**
31
33
  * Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
32
34
  * @internal
@@ -36,12 +38,12 @@ export interface HttpAuthSchemeInputConfig {
36
38
  * Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
37
39
  * @internal
38
40
  */
39
- httpAuthSchemeProvider?: OneHookServiceHttpAuthSchemeProvider;
41
+ httpAuthSchemeProvider?: OneHookHttpAuthSchemeProvider;
40
42
  }
41
43
  /**
42
44
  * @internal
43
45
  */
44
- export interface HttpAuthSchemeResolvedConfig {
46
+ export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
45
47
  /**
46
48
  * Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
47
49
  * @internal
@@ -51,9 +53,9 @@ export interface HttpAuthSchemeResolvedConfig {
51
53
  * Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
52
54
  * @internal
53
55
  */
54
- readonly httpAuthSchemeProvider: OneHookServiceHttpAuthSchemeProvider;
56
+ readonly httpAuthSchemeProvider: OneHookHttpAuthSchemeProvider;
55
57
  }
56
58
  /**
57
59
  * @internal
58
60
  */
59
- export declare const resolveHttpAuthSchemeConfig: <T>(config: T & HttpAuthSchemeInputConfig) => T & HttpAuthSchemeResolvedConfig;
61
+ export declare const resolveHttpAuthSchemeConfig: <T>(config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved) => T & HttpAuthSchemeResolvedConfig;
@@ -1,4 +1,4 @@
1
- import { OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookServiceClient";
1
+ import { OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookClient";
2
2
  import { AuthSocialRequest, AuthSocialResponse } 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 AuthSocialCommandInput extends AuthSocialRequest {
22
22
  export interface AuthSocialCommandOutput extends AuthSocialResponse, __MetadataBearer {
23
23
  }
24
24
  declare const AuthSocialCommand_base: {
25
- new (input: AuthSocialCommandInput): import("@smithy/smithy-client").CommandImpl<AuthSocialCommandInput, AuthSocialCommandOutput, OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: AuthSocialCommandInput): import("@smithy/smithy-client").CommandImpl<AuthSocialCommandInput, AuthSocialCommandOutput, OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: AuthSocialCommandInput): import("@smithy/smithy-client").CommandImpl<AuthSocialCommandInput, AuthSocialCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: AuthSocialCommandInput): import("@smithy/smithy-client").CommandImpl<AuthSocialCommandInput, AuthSocialCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
30
  * @public
@@ -32,9 +32,9 @@ declare const AuthSocialCommand_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 { OneHookServiceClient, AuthSocialCommand } from "onehook-api-client"; // ES Modules import
36
- * // const { OneHookServiceClient, AuthSocialCommand } = require("onehook-api-client"); // CommonJS import
37
- * const client = new OneHookServiceClient(config);
35
+ * import { OneHookClient, AuthSocialCommand } from "onehook-api-client"; // ES Modules import
36
+ * // const { OneHookClient, AuthSocialCommand } = require("onehook-api-client"); // CommonJS import
37
+ * const client = new OneHookClient(config);
38
38
  * const input = { // AuthSocialRequest
39
39
  * provider: "STRING_VALUE", // required
40
40
  * token: "STRING_VALUE", // required
@@ -53,14 +53,15 @@ declare const AuthSocialCommand_base: {
53
53
  * @returns {@link AuthSocialCommandOutput}
54
54
  * @see {@link AuthSocialCommandInput} for command's `input` shape.
55
55
  * @see {@link AuthSocialCommandOutput} for command's `response` shape.
56
- * @see {@link OneHookServiceClientResolvedConfig | config} for OneHookServiceClient's `config` shape.
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 OneHookServiceServiceException}
63
- * <p>Base exception class for all service exceptions from OneHookService service.</p>
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 AuthSocialCommand extends AuthSocialCommand_base {
@@ -1,4 +1,4 @@
1
- import { OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookServiceClient";
1
+ import { OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookClient";
2
2
  import { ClaimPreKeyBundleRequest, ClaimPreKeyBundleResponse } 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 ClaimPreKeyBundleCommandInput extends ClaimPreKeyBundleRequest
22
22
  export interface ClaimPreKeyBundleCommandOutput extends ClaimPreKeyBundleResponse, __MetadataBearer {
23
23
  }
24
24
  declare const ClaimPreKeyBundleCommand_base: {
25
- new (input: ClaimPreKeyBundleCommandInput): import("@smithy/smithy-client").CommandImpl<ClaimPreKeyBundleCommandInput, ClaimPreKeyBundleCommandOutput, OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: ClaimPreKeyBundleCommandInput): import("@smithy/smithy-client").CommandImpl<ClaimPreKeyBundleCommandInput, ClaimPreKeyBundleCommandOutput, OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: ClaimPreKeyBundleCommandInput): import("@smithy/smithy-client").CommandImpl<ClaimPreKeyBundleCommandInput, ClaimPreKeyBundleCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: ClaimPreKeyBundleCommandInput): import("@smithy/smithy-client").CommandImpl<ClaimPreKeyBundleCommandInput, ClaimPreKeyBundleCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
30
  * Claim a pre-key bundle for a target user to initiate an E2EE (X3DH) session.
@@ -36,9 +36,9 @@ declare const ClaimPreKeyBundleCommand_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 { OneHookServiceClient, ClaimPreKeyBundleCommand } from "onehook-api-client"; // ES Modules import
40
- * // const { OneHookServiceClient, ClaimPreKeyBundleCommand } = require("onehook-api-client"); // CommonJS import
41
- * const client = new OneHookServiceClient(config);
39
+ * import { OneHookClient, ClaimPreKeyBundleCommand } from "onehook-api-client"; // ES Modules import
40
+ * // const { OneHookClient, ClaimPreKeyBundleCommand } = require("onehook-api-client"); // CommonJS import
41
+ * const client = new OneHookClient(config);
42
42
  * const input = { // ClaimPreKeyBundleRequest
43
43
  * userId: "STRING_VALUE", // required
44
44
  * matchId: "STRING_VALUE", // required
@@ -57,7 +57,7 @@ declare const ClaimPreKeyBundleCommand_base: {
57
57
  * @returns {@link ClaimPreKeyBundleCommandOutput}
58
58
  * @see {@link ClaimPreKeyBundleCommandInput} for command's `input` shape.
59
59
  * @see {@link ClaimPreKeyBundleCommandOutput} for command's `response` shape.
60
- * @see {@link OneHookServiceClientResolvedConfig | config} for OneHookServiceClient's `config` shape.
60
+ * @see {@link OneHookClientResolvedConfig | config} for OneHookClient's `config` shape.
61
61
  *
62
62
  * @throws {@link BadRequestError} (client fault)
63
63
  *
@@ -67,8 +67,9 @@ declare const ClaimPreKeyBundleCommand_base: {
67
67
  *
68
68
  * @throws {@link InternalServerError} (server fault)
69
69
  *
70
- * @throws {@link OneHookServiceServiceException}
71
- * <p>Base exception class for all service exceptions from OneHookService service.</p>
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 { OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookServiceClient";
1
+ import { OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookClient";
2
2
  import { CompleteLivenessSessionRequest, CompleteLivenessSessionResponse } 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 CompleteLivenessSessionCommandInput extends CompleteLivenessSes
22
22
  export interface CompleteLivenessSessionCommandOutput extends CompleteLivenessSessionResponse, __MetadataBearer {
23
23
  }
24
24
  declare const CompleteLivenessSessionCommand_base: {
25
- new (input: CompleteLivenessSessionCommandInput): import("@smithy/smithy-client").CommandImpl<CompleteLivenessSessionCommandInput, CompleteLivenessSessionCommandOutput, OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: CompleteLivenessSessionCommandInput): import("@smithy/smithy-client").CommandImpl<CompleteLivenessSessionCommandInput, CompleteLivenessSessionCommandOutput, OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: CompleteLivenessSessionCommandInput): import("@smithy/smithy-client").CommandImpl<CompleteLivenessSessionCommandInput, CompleteLivenessSessionCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: CompleteLivenessSessionCommandInput): import("@smithy/smithy-client").CommandImpl<CompleteLivenessSessionCommandInput, CompleteLivenessSessionCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
30
  * Submits a completed Face Liveness session for asynchronous analysis. The backend evaluates the
@@ -34,9 +34,9 @@ declare const CompleteLivenessSessionCommand_base: {
34
34
  * @example
35
35
  * Use a bare-bones client and the command you need to make an API call.
36
36
  * ```javascript
37
- * import { OneHookServiceClient, CompleteLivenessSessionCommand } from "onehook-api-client"; // ES Modules import
38
- * // const { OneHookServiceClient, CompleteLivenessSessionCommand } = require("onehook-api-client"); // CommonJS import
39
- * const client = new OneHookServiceClient(config);
37
+ * import { OneHookClient, CompleteLivenessSessionCommand } from "onehook-api-client"; // ES Modules import
38
+ * // const { OneHookClient, CompleteLivenessSessionCommand } = require("onehook-api-client"); // CommonJS import
39
+ * const client = new OneHookClient(config);
40
40
  * const input = { // CompleteLivenessSessionRequest
41
41
  * sessionId: "STRING_VALUE", // required
42
42
  * };
@@ -52,7 +52,7 @@ declare const CompleteLivenessSessionCommand_base: {
52
52
  * @returns {@link CompleteLivenessSessionCommandOutput}
53
53
  * @see {@link CompleteLivenessSessionCommandInput} for command's `input` shape.
54
54
  * @see {@link CompleteLivenessSessionCommandOutput} for command's `response` shape.
55
- * @see {@link OneHookServiceClientResolvedConfig | config} for OneHookServiceClient's `config` shape.
55
+ * @see {@link OneHookClientResolvedConfig | config} for OneHookClient's `config` shape.
56
56
  *
57
57
  * @throws {@link BadRequestError} (client fault)
58
58
  *
@@ -60,8 +60,9 @@ declare const CompleteLivenessSessionCommand_base: {
60
60
  *
61
61
  * @throws {@link InternalServerError} (server fault)
62
62
  *
63
- * @throws {@link OneHookServiceServiceException}
64
- * <p>Base exception class for all service exceptions from OneHookService service.</p>
63
+ * @throws {@link OneHookServiceException}
64
+ * <p>Base exception class for all service exceptions from OneHook service.</p>
65
+ *
65
66
  *
66
67
  * @public
67
68
  */
@@ -1,4 +1,4 @@
1
- import { OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookServiceClient";
1
+ import { OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookClient";
2
2
  import { CompleteOnboardingRequest, 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 CompleteOnboardingCommandInput extends CompleteOnboardingReques
22
22
  export interface CompleteOnboardingCommandOutput extends StatusResponse, __MetadataBearer {
23
23
  }
24
24
  declare const CompleteOnboardingCommand_base: {
25
- new (input: CompleteOnboardingCommandInput): import("@smithy/smithy-client").CommandImpl<CompleteOnboardingCommandInput, CompleteOnboardingCommandOutput, OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (...[input]: [] | [CompleteOnboardingCommandInput]): import("@smithy/smithy-client").CommandImpl<CompleteOnboardingCommandInput, CompleteOnboardingCommandOutput, OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: CompleteOnboardingCommandInput): import("@smithy/smithy-client").CommandImpl<CompleteOnboardingCommandInput, CompleteOnboardingCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [CompleteOnboardingCommandInput]): import("@smithy/smithy-client").CommandImpl<CompleteOnboardingCommandInput, CompleteOnboardingCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
30
  * @public
@@ -32,9 +32,9 @@ declare const CompleteOnboardingCommand_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 { OneHookServiceClient, CompleteOnboardingCommand } from "onehook-api-client"; // ES Modules import
36
- * // const { OneHookServiceClient, CompleteOnboardingCommand } = require("onehook-api-client"); // CommonJS import
37
- * const client = new OneHookServiceClient(config);
35
+ * import { OneHookClient, CompleteOnboardingCommand } from "onehook-api-client"; // ES Modules import
36
+ * // const { OneHookClient, CompleteOnboardingCommand } = require("onehook-api-client"); // CommonJS import
37
+ * const client = new OneHookClient(config);
38
38
  * const input = {};
39
39
  * const command = new CompleteOnboardingCommand(input);
40
40
  * const response = await client.send(command);
@@ -48,7 +48,7 @@ declare const CompleteOnboardingCommand_base: {
48
48
  * @returns {@link CompleteOnboardingCommandOutput}
49
49
  * @see {@link CompleteOnboardingCommandInput} for command's `input` shape.
50
50
  * @see {@link CompleteOnboardingCommandOutput} for command's `response` shape.
51
- * @see {@link OneHookServiceClientResolvedConfig | config} for OneHookServiceClient's `config` shape.
51
+ * @see {@link OneHookClientResolvedConfig | config} for OneHookClient's `config` shape.
52
52
  *
53
53
  * @throws {@link BadRequestError} (client fault)
54
54
  *
@@ -56,8 +56,9 @@ declare const CompleteOnboardingCommand_base: {
56
56
  *
57
57
  * @throws {@link InternalServerError} (server fault)
58
58
  *
59
- * @throws {@link OneHookServiceServiceException}
60
- * <p>Base exception class for all service exceptions from OneHookService service.</p>
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 CompleteOnboardingCommand extends CompleteOnboardingCommand_base {
@@ -1,4 +1,4 @@
1
- import { OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookServiceClient";
1
+ import { OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookClient";
2
2
  import { CreateLivenessSessionRequest, CreateLivenessSessionResponse } 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 CreateLivenessSessionCommandInput extends CreateLivenessSession
22
22
  export interface CreateLivenessSessionCommandOutput extends CreateLivenessSessionResponse, __MetadataBearer {
23
23
  }
24
24
  declare const CreateLivenessSessionCommand_base: {
25
- new (input: CreateLivenessSessionCommandInput): import("@smithy/smithy-client").CommandImpl<CreateLivenessSessionCommandInput, CreateLivenessSessionCommandOutput, OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (...[input]: [] | [CreateLivenessSessionCommandInput]): import("@smithy/smithy-client").CommandImpl<CreateLivenessSessionCommandInput, CreateLivenessSessionCommandOutput, OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: CreateLivenessSessionCommandInput): import("@smithy/smithy-client").CommandImpl<CreateLivenessSessionCommandInput, CreateLivenessSessionCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [CreateLivenessSessionCommandInput]): import("@smithy/smithy-client").CommandImpl<CreateLivenessSessionCommandInput, CreateLivenessSessionCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
30
  * Creates an Amazon Rekognition Face Liveness session for the authenticated user.
@@ -33,9 +33,9 @@ declare const CreateLivenessSessionCommand_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 { OneHookServiceClient, CreateLivenessSessionCommand } from "onehook-api-client"; // ES Modules import
37
- * // const { OneHookServiceClient, CreateLivenessSessionCommand } = require("onehook-api-client"); // CommonJS import
38
- * const client = new OneHookServiceClient(config);
36
+ * import { OneHookClient, CreateLivenessSessionCommand } from "onehook-api-client"; // ES Modules import
37
+ * // const { OneHookClient, CreateLivenessSessionCommand } = require("onehook-api-client"); // CommonJS import
38
+ * const client = new OneHookClient(config);
39
39
  * const input = {};
40
40
  * const command = new CreateLivenessSessionCommand(input);
41
41
  * const response = await client.send(command);
@@ -49,14 +49,15 @@ declare const CreateLivenessSessionCommand_base: {
49
49
  * @returns {@link CreateLivenessSessionCommandOutput}
50
50
  * @see {@link CreateLivenessSessionCommandInput} for command's `input` shape.
51
51
  * @see {@link CreateLivenessSessionCommandOutput} for command's `response` shape.
52
- * @see {@link OneHookServiceClientResolvedConfig | config} for OneHookServiceClient's `config` shape.
52
+ * @see {@link OneHookClientResolvedConfig | config} for OneHookClient's `config` shape.
53
53
  *
54
54
  * @throws {@link BadRequestError} (client fault)
55
55
  *
56
56
  * @throws {@link InternalServerError} (server fault)
57
57
  *
58
- * @throws {@link OneHookServiceServiceException}
59
- * <p>Base exception class for all service exceptions from OneHookService service.</p>
58
+ * @throws {@link OneHookServiceException}
59
+ * <p>Base exception class for all service exceptions from OneHook service.</p>
60
+ *
60
61
  *
61
62
  * @public
62
63
  */
@@ -1,4 +1,4 @@
1
- import { OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookServiceClient";
1
+ import { OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookClient";
2
2
  import { DeleteMatchMessagesRequest, DeleteMatchMessagesResponse } from "../models/models_0";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
@@ -22,18 +22,18 @@ export interface DeleteMatchMessagesCommandInput extends DeleteMatchMessagesRequ
22
22
  export interface DeleteMatchMessagesCommandOutput extends DeleteMatchMessagesResponse, __MetadataBearer {
23
23
  }
24
24
  declare const DeleteMatchMessagesCommand_base: {
25
- new (input: DeleteMatchMessagesCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteMatchMessagesCommandInput, DeleteMatchMessagesCommandOutput, OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: DeleteMatchMessagesCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteMatchMessagesCommandInput, DeleteMatchMessagesCommandOutput, OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: DeleteMatchMessagesCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteMatchMessagesCommandInput, DeleteMatchMessagesCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: DeleteMatchMessagesCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteMatchMessagesCommandInput, DeleteMatchMessagesCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
30
  * Hard-delete all messages for a match (e.g. on unmatch).
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
34
- * import { OneHookServiceClient, DeleteMatchMessagesCommand } from "onehook-api-client"; // ES Modules import
35
- * // const { OneHookServiceClient, DeleteMatchMessagesCommand } = require("onehook-api-client"); // CommonJS import
36
- * const client = new OneHookServiceClient(config);
34
+ * import { OneHookClient, DeleteMatchMessagesCommand } from "onehook-api-client"; // ES Modules import
35
+ * // const { OneHookClient, DeleteMatchMessagesCommand } = require("onehook-api-client"); // CommonJS import
36
+ * const client = new OneHookClient(config);
37
37
  * const input = { // DeleteMatchMessagesRequest
38
38
  * matchId: "STRING_VALUE", // required
39
39
  * };
@@ -49,7 +49,7 @@ declare const DeleteMatchMessagesCommand_base: {
49
49
  * @returns {@link DeleteMatchMessagesCommandOutput}
50
50
  * @see {@link DeleteMatchMessagesCommandInput} for command's `input` shape.
51
51
  * @see {@link DeleteMatchMessagesCommandOutput} for command's `response` shape.
52
- * @see {@link OneHookServiceClientResolvedConfig | config} for OneHookServiceClient's `config` shape.
52
+ * @see {@link OneHookClientResolvedConfig | config} for OneHookClient's `config` shape.
53
53
  *
54
54
  * @throws {@link BadRequestError} (client fault)
55
55
  *
@@ -57,8 +57,9 @@ declare const DeleteMatchMessagesCommand_base: {
57
57
  *
58
58
  * @throws {@link InternalServerError} (server fault)
59
59
  *
60
- * @throws {@link OneHookServiceServiceException}
61
- * <p>Base exception class for all service exceptions from OneHookService service.</p>
60
+ * @throws {@link OneHookServiceException}
61
+ * <p>Base exception class for all service exceptions from OneHook service.</p>
62
+ *
62
63
  *
63
64
  * @public
64
65
  */
@@ -1,4 +1,4 @@
1
- import { OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookServiceClient";
1
+ import { OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookClient";
2
2
  import { DeleteProfileRequest, 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 DeleteProfileCommandInput extends DeleteProfileRequest {
22
22
  export interface DeleteProfileCommandOutput extends StatusResponse, __MetadataBearer {
23
23
  }
24
24
  declare const DeleteProfileCommand_base: {
25
- new (input: DeleteProfileCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteProfileCommandInput, DeleteProfileCommandOutput, OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: DeleteProfileCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteProfileCommandInput, DeleteProfileCommandOutput, OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: DeleteProfileCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteProfileCommandInput, DeleteProfileCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: DeleteProfileCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteProfileCommandInput, DeleteProfileCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
30
  * @public
@@ -32,9 +32,9 @@ declare const DeleteProfileCommand_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 { OneHookServiceClient, DeleteProfileCommand } from "onehook-api-client"; // ES Modules import
36
- * // const { OneHookServiceClient, DeleteProfileCommand } = require("onehook-api-client"); // CommonJS import
37
- * const client = new OneHookServiceClient(config);
35
+ * import { OneHookClient, DeleteProfileCommand } from "onehook-api-client"; // ES Modules import
36
+ * // const { OneHookClient, DeleteProfileCommand } = require("onehook-api-client"); // CommonJS import
37
+ * const client = new OneHookClient(config);
38
38
  * const input = { // DeleteProfileRequest
39
39
  * userId: "STRING_VALUE", // required
40
40
  * };
@@ -50,7 +50,7 @@ declare const DeleteProfileCommand_base: {
50
50
  * @returns {@link DeleteProfileCommandOutput}
51
51
  * @see {@link DeleteProfileCommandInput} for command's `input` shape.
52
52
  * @see {@link DeleteProfileCommandOutput} for command's `response` shape.
53
- * @see {@link OneHookServiceClientResolvedConfig | config} for OneHookServiceClient's `config` shape.
53
+ * @see {@link OneHookClientResolvedConfig | config} for OneHookClient's `config` shape.
54
54
  *
55
55
  * @throws {@link BadRequestError} (client fault)
56
56
  *
@@ -58,8 +58,9 @@ declare const DeleteProfileCommand_base: {
58
58
  *
59
59
  * @throws {@link InternalServerError} (server fault)
60
60
  *
61
- * @throws {@link OneHookServiceServiceException}
62
- * <p>Base exception class for all service exceptions from OneHookService service.</p>
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 DeleteProfileCommand extends DeleteProfileCommand_base {