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
@@ -1,4 +1,4 @@
1
- import { OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookServiceClient";
1
+ import { OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookClient";
2
2
  import { LinkEmailRequest, LinkEmailResponse } from "../models/models_0";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
@@ -22,9 +22,9 @@ export interface LinkEmailCommandInput extends LinkEmailRequest {
22
22
  export interface LinkEmailCommandOutput extends LinkEmailResponse, __MetadataBearer {
23
23
  }
24
24
  declare const LinkEmailCommand_base: {
25
- new (input: LinkEmailCommandInput): import("@smithy/smithy-client").CommandImpl<LinkEmailCommandInput, LinkEmailCommandOutput, OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: LinkEmailCommandInput): import("@smithy/smithy-client").CommandImpl<LinkEmailCommandInput, LinkEmailCommandOutput, OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: LinkEmailCommandInput): import("@smithy/smithy-client").CommandImpl<LinkEmailCommandInput, LinkEmailCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: LinkEmailCommandInput): import("@smithy/smithy-client").CommandImpl<LinkEmailCommandInput, LinkEmailCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
30
  * @public
@@ -32,9 +32,9 @@ declare const LinkEmailCommand_base: {
32
32
  * @example
33
33
  * Use a bare-bones client and the command you need to make an API call.
34
34
  * ```javascript
35
- * import { OneHookServiceClient, LinkEmailCommand } from "onehook-api-client"; // ES Modules import
36
- * // const { OneHookServiceClient, LinkEmailCommand } = require("onehook-api-client"); // CommonJS import
37
- * const client = new OneHookServiceClient(config);
35
+ * import { OneHookClient, LinkEmailCommand } from "onehook-api-client"; // ES Modules import
36
+ * // const { OneHookClient, LinkEmailCommand } = require("onehook-api-client"); // CommonJS import
37
+ * const client = new OneHookClient(config);
38
38
  * const input = { // LinkEmailRequest
39
39
  * email: "STRING_VALUE", // required
40
40
  * otp: "STRING_VALUE", // required
@@ -51,14 +51,15 @@ declare const LinkEmailCommand_base: {
51
51
  * @returns {@link LinkEmailCommandOutput}
52
52
  * @see {@link LinkEmailCommandInput} for command's `input` shape.
53
53
  * @see {@link LinkEmailCommandOutput} for command's `response` shape.
54
- * @see {@link OneHookServiceClientResolvedConfig | config} for OneHookServiceClient's `config` shape.
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 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
  */
64
65
  export declare class LinkEmailCommand extends LinkEmailCommand_base {
@@ -1,4 +1,4 @@
1
- import { OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookServiceClient";
1
+ import { OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookClient";
2
2
  import { LinkSocialRequest, LinkSocialResponse } from "../models/models_0";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
@@ -22,9 +22,9 @@ export interface LinkSocialCommandInput extends LinkSocialRequest {
22
22
  export interface LinkSocialCommandOutput extends LinkSocialResponse, __MetadataBearer {
23
23
  }
24
24
  declare const LinkSocialCommand_base: {
25
- new (input: LinkSocialCommandInput): import("@smithy/smithy-client").CommandImpl<LinkSocialCommandInput, LinkSocialCommandOutput, OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: LinkSocialCommandInput): import("@smithy/smithy-client").CommandImpl<LinkSocialCommandInput, LinkSocialCommandOutput, OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: LinkSocialCommandInput): import("@smithy/smithy-client").CommandImpl<LinkSocialCommandInput, LinkSocialCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: LinkSocialCommandInput): import("@smithy/smithy-client").CommandImpl<LinkSocialCommandInput, LinkSocialCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
30
  * @public
@@ -32,9 +32,9 @@ declare const LinkSocialCommand_base: {
32
32
  * @example
33
33
  * Use a bare-bones client and the command you need to make an API call.
34
34
  * ```javascript
35
- * import { OneHookServiceClient, LinkSocialCommand } from "onehook-api-client"; // ES Modules import
36
- * // const { OneHookServiceClient, LinkSocialCommand } = require("onehook-api-client"); // CommonJS import
37
- * const client = new OneHookServiceClient(config);
35
+ * import { OneHookClient, LinkSocialCommand } from "onehook-api-client"; // ES Modules import
36
+ * // const { OneHookClient, LinkSocialCommand } = require("onehook-api-client"); // CommonJS import
37
+ * const client = new OneHookClient(config);
38
38
  * const input = { // LinkSocialRequest
39
39
  * identityToken: "STRING_VALUE", // required
40
40
  * provider: "STRING_VALUE", // required
@@ -51,14 +51,15 @@ declare const LinkSocialCommand_base: {
51
51
  * @returns {@link LinkSocialCommandOutput}
52
52
  * @see {@link LinkSocialCommandInput} for command's `input` shape.
53
53
  * @see {@link LinkSocialCommandOutput} for command's `response` shape.
54
- * @see {@link OneHookServiceClientResolvedConfig | config} for OneHookServiceClient's `config` shape.
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 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
  */
64
65
  export declare class LinkSocialCommand extends LinkSocialCommand_base {
@@ -1,4 +1,4 @@
1
- import { OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookServiceClient";
1
+ import { OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookClient";
2
2
  import { RegisterPhoneRequest, RegisterPhoneResponse } from "../models/models_0";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
@@ -22,9 +22,9 @@ export interface RegisterPhoneCommandInput extends RegisterPhoneRequest {
22
22
  export interface RegisterPhoneCommandOutput extends RegisterPhoneResponse, __MetadataBearer {
23
23
  }
24
24
  declare const RegisterPhoneCommand_base: {
25
- new (input: RegisterPhoneCommandInput): import("@smithy/smithy-client").CommandImpl<RegisterPhoneCommandInput, RegisterPhoneCommandOutput, OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: RegisterPhoneCommandInput): import("@smithy/smithy-client").CommandImpl<RegisterPhoneCommandInput, RegisterPhoneCommandOutput, OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: RegisterPhoneCommandInput): import("@smithy/smithy-client").CommandImpl<RegisterPhoneCommandInput, RegisterPhoneCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: RegisterPhoneCommandInput): import("@smithy/smithy-client").CommandImpl<RegisterPhoneCommandInput, RegisterPhoneCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
30
  * @public
@@ -32,9 +32,9 @@ declare const RegisterPhoneCommand_base: {
32
32
  * @example
33
33
  * Use a bare-bones client and the command you need to make an API call.
34
34
  * ```javascript
35
- * import { OneHookServiceClient, RegisterPhoneCommand } from "onehook-api-client"; // ES Modules import
36
- * // const { OneHookServiceClient, RegisterPhoneCommand } = require("onehook-api-client"); // CommonJS import
37
- * const client = new OneHookServiceClient(config);
35
+ * import { OneHookClient, RegisterPhoneCommand } from "onehook-api-client"; // ES Modules import
36
+ * // const { OneHookClient, RegisterPhoneCommand } = require("onehook-api-client"); // CommonJS import
37
+ * const client = new OneHookClient(config);
38
38
  * const input = { // RegisterPhoneRequest
39
39
  * phoneNumber: "STRING_VALUE", // required
40
40
  * otp: "STRING_VALUE", // required
@@ -54,14 +54,15 @@ declare const RegisterPhoneCommand_base: {
54
54
  * @returns {@link RegisterPhoneCommandOutput}
55
55
  * @see {@link RegisterPhoneCommandInput} for command's `input` shape.
56
56
  * @see {@link RegisterPhoneCommandOutput} for command's `response` shape.
57
- * @see {@link OneHookServiceClientResolvedConfig | config} for OneHookServiceClient's `config` shape.
57
+ * @see {@link OneHookClientResolvedConfig | config} for OneHookClient's `config` shape.
58
58
  *
59
59
  * @throws {@link BadRequestError} (client fault)
60
60
  *
61
61
  * @throws {@link InternalServerError} (server fault)
62
62
  *
63
- * @throws {@link 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
  */
67
68
  export declare class RegisterPhoneCommand extends RegisterPhoneCommand_base {
@@ -1,4 +1,4 @@
1
- import { OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookServiceClient";
1
+ import { OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookClient";
2
2
  import { LocationRequest, StatusResponse } from "../models/models_0";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
@@ -22,9 +22,9 @@ export interface RemoveLocationCommandInput extends LocationRequest {
22
22
  export interface RemoveLocationCommandOutput extends StatusResponse, __MetadataBearer {
23
23
  }
24
24
  declare const RemoveLocationCommand_base: {
25
- new (input: RemoveLocationCommandInput): import("@smithy/smithy-client").CommandImpl<RemoveLocationCommandInput, RemoveLocationCommandOutput, OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: RemoveLocationCommandInput): import("@smithy/smithy-client").CommandImpl<RemoveLocationCommandInput, RemoveLocationCommandOutput, OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: RemoveLocationCommandInput): import("@smithy/smithy-client").CommandImpl<RemoveLocationCommandInput, RemoveLocationCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: RemoveLocationCommandInput): import("@smithy/smithy-client").CommandImpl<RemoveLocationCommandInput, RemoveLocationCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
30
  * @public
@@ -32,9 +32,9 @@ declare const RemoveLocationCommand_base: {
32
32
  * @example
33
33
  * Use a bare-bones client and the command you need to make an API call.
34
34
  * ```javascript
35
- * import { OneHookServiceClient, RemoveLocationCommand } from "onehook-api-client"; // ES Modules import
36
- * // const { OneHookServiceClient, RemoveLocationCommand } = require("onehook-api-client"); // CommonJS import
37
- * const client = new OneHookServiceClient(config);
35
+ * import { OneHookClient, RemoveLocationCommand } from "onehook-api-client"; // ES Modules import
36
+ * // const { OneHookClient, RemoveLocationCommand } = require("onehook-api-client"); // CommonJS import
37
+ * const client = new OneHookClient(config);
38
38
  * const input = { // LocationRequest
39
39
  * lat: Number("double"), // required
40
40
  * lon: Number("double"), // required
@@ -51,14 +51,15 @@ declare const RemoveLocationCommand_base: {
51
51
  * @returns {@link RemoveLocationCommandOutput}
52
52
  * @see {@link RemoveLocationCommandInput} for command's `input` shape.
53
53
  * @see {@link RemoveLocationCommandOutput} for command's `response` shape.
54
- * @see {@link OneHookServiceClientResolvedConfig | config} for OneHookServiceClient's `config` shape.
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 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
  */
64
65
  export declare class RemoveLocationCommand extends RemoveLocationCommand_base {
@@ -1,4 +1,4 @@
1
- import { OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookServiceClient";
1
+ import { OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookClient";
2
2
  import { RequestEmailOtpRequest, RequestEmailOtpResponse } from "../models/models_0";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
@@ -22,9 +22,9 @@ export interface RequestEmailOtpCommandInput extends RequestEmailOtpRequest {
22
22
  export interface RequestEmailOtpCommandOutput extends RequestEmailOtpResponse, __MetadataBearer {
23
23
  }
24
24
  declare const RequestEmailOtpCommand_base: {
25
- new (input: RequestEmailOtpCommandInput): import("@smithy/smithy-client").CommandImpl<RequestEmailOtpCommandInput, RequestEmailOtpCommandOutput, OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: RequestEmailOtpCommandInput): import("@smithy/smithy-client").CommandImpl<RequestEmailOtpCommandInput, RequestEmailOtpCommandOutput, OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: RequestEmailOtpCommandInput): import("@smithy/smithy-client").CommandImpl<RequestEmailOtpCommandInput, RequestEmailOtpCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: RequestEmailOtpCommandInput): import("@smithy/smithy-client").CommandImpl<RequestEmailOtpCommandInput, RequestEmailOtpCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
30
  * @public
@@ -32,9 +32,9 @@ declare const RequestEmailOtpCommand_base: {
32
32
  * @example
33
33
  * Use a bare-bones client and the command you need to make an API call.
34
34
  * ```javascript
35
- * import { OneHookServiceClient, RequestEmailOtpCommand } from "onehook-api-client"; // ES Modules import
36
- * // const { OneHookServiceClient, RequestEmailOtpCommand } = require("onehook-api-client"); // CommonJS import
37
- * const client = new OneHookServiceClient(config);
35
+ * import { OneHookClient, RequestEmailOtpCommand } from "onehook-api-client"; // ES Modules import
36
+ * // const { OneHookClient, RequestEmailOtpCommand } = require("onehook-api-client"); // CommonJS import
37
+ * const client = new OneHookClient(config);
38
38
  * const input = { // RequestEmailOtpRequest
39
39
  * email: "STRING_VALUE", // required
40
40
  * password: "STRING_VALUE",
@@ -51,14 +51,15 @@ declare const RequestEmailOtpCommand_base: {
51
51
  * @returns {@link RequestEmailOtpCommandOutput}
52
52
  * @see {@link RequestEmailOtpCommandInput} for command's `input` shape.
53
53
  * @see {@link RequestEmailOtpCommandOutput} for command's `response` shape.
54
- * @see {@link OneHookServiceClientResolvedConfig | config} for OneHookServiceClient's `config` shape.
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 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
  */
64
65
  export declare class RequestEmailOtpCommand extends RequestEmailOtpCommand_base {
@@ -1,4 +1,4 @@
1
- import { OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookServiceClient";
1
+ import { OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookClient";
2
2
  import { RequestPhoneOtpRequest, RequestPhoneOtpResponse } from "../models/models_0";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
@@ -22,9 +22,9 @@ export interface RequestPhoneOtpCommandInput extends RequestPhoneOtpRequest {
22
22
  export interface RequestPhoneOtpCommandOutput extends RequestPhoneOtpResponse, __MetadataBearer {
23
23
  }
24
24
  declare const RequestPhoneOtpCommand_base: {
25
- new (input: RequestPhoneOtpCommandInput): import("@smithy/smithy-client").CommandImpl<RequestPhoneOtpCommandInput, RequestPhoneOtpCommandOutput, OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: RequestPhoneOtpCommandInput): import("@smithy/smithy-client").CommandImpl<RequestPhoneOtpCommandInput, RequestPhoneOtpCommandOutput, OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: RequestPhoneOtpCommandInput): import("@smithy/smithy-client").CommandImpl<RequestPhoneOtpCommandInput, RequestPhoneOtpCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: RequestPhoneOtpCommandInput): import("@smithy/smithy-client").CommandImpl<RequestPhoneOtpCommandInput, RequestPhoneOtpCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
30
  * @public
@@ -32,9 +32,9 @@ declare const RequestPhoneOtpCommand_base: {
32
32
  * @example
33
33
  * Use a bare-bones client and the command you need to make an API call.
34
34
  * ```javascript
35
- * import { OneHookServiceClient, RequestPhoneOtpCommand } from "onehook-api-client"; // ES Modules import
36
- * // const { OneHookServiceClient, RequestPhoneOtpCommand } = require("onehook-api-client"); // CommonJS import
37
- * const client = new OneHookServiceClient(config);
35
+ * import { OneHookClient, RequestPhoneOtpCommand } from "onehook-api-client"; // ES Modules import
36
+ * // const { OneHookClient, RequestPhoneOtpCommand } = require("onehook-api-client"); // CommonJS import
37
+ * const client = new OneHookClient(config);
38
38
  * const input = { // RequestPhoneOtpRequest
39
39
  * phoneNumber: "STRING_VALUE", // required
40
40
  * };
@@ -50,14 +50,15 @@ declare const RequestPhoneOtpCommand_base: {
50
50
  * @returns {@link RequestPhoneOtpCommandOutput}
51
51
  * @see {@link RequestPhoneOtpCommandInput} for command's `input` shape.
52
52
  * @see {@link RequestPhoneOtpCommandOutput} for command's `response` shape.
53
- * @see {@link 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
  *
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 RequestPhoneOtpCommand extends RequestPhoneOtpCommand_base {
@@ -1,4 +1,4 @@
1
- import { OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookServiceClient";
1
+ import { OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookClient";
2
2
  import { RequestPhoneUpdateOtpRequest, RequestPhoneUpdateOtpResponse } from "../models/models_0";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
@@ -22,9 +22,9 @@ export interface RequestPhoneUpdateOtpCommandInput extends RequestPhoneUpdateOtp
22
22
  export interface RequestPhoneUpdateOtpCommandOutput extends RequestPhoneUpdateOtpResponse, __MetadataBearer {
23
23
  }
24
24
  declare const RequestPhoneUpdateOtpCommand_base: {
25
- new (input: RequestPhoneUpdateOtpCommandInput): import("@smithy/smithy-client").CommandImpl<RequestPhoneUpdateOtpCommandInput, RequestPhoneUpdateOtpCommandOutput, OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: RequestPhoneUpdateOtpCommandInput): import("@smithy/smithy-client").CommandImpl<RequestPhoneUpdateOtpCommandInput, RequestPhoneUpdateOtpCommandOutput, OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: RequestPhoneUpdateOtpCommandInput): import("@smithy/smithy-client").CommandImpl<RequestPhoneUpdateOtpCommandInput, RequestPhoneUpdateOtpCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: RequestPhoneUpdateOtpCommandInput): import("@smithy/smithy-client").CommandImpl<RequestPhoneUpdateOtpCommandInput, RequestPhoneUpdateOtpCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
30
  * @public
@@ -32,9 +32,9 @@ declare const RequestPhoneUpdateOtpCommand_base: {
32
32
  * @example
33
33
  * Use a bare-bones client and the command you need to make an API call.
34
34
  * ```javascript
35
- * import { OneHookServiceClient, RequestPhoneUpdateOtpCommand } from "onehook-api-client"; // ES Modules import
36
- * // const { OneHookServiceClient, RequestPhoneUpdateOtpCommand } = require("onehook-api-client"); // CommonJS import
37
- * const client = new OneHookServiceClient(config);
35
+ * import { OneHookClient, RequestPhoneUpdateOtpCommand } from "onehook-api-client"; // ES Modules import
36
+ * // const { OneHookClient, RequestPhoneUpdateOtpCommand } = require("onehook-api-client"); // CommonJS import
37
+ * const client = new OneHookClient(config);
38
38
  * const input = { // RequestPhoneUpdateOtpRequest
39
39
  * phoneNumber: "STRING_VALUE", // required
40
40
  * };
@@ -50,14 +50,15 @@ declare const RequestPhoneUpdateOtpCommand_base: {
50
50
  * @returns {@link RequestPhoneUpdateOtpCommandOutput}
51
51
  * @see {@link RequestPhoneUpdateOtpCommandInput} for command's `input` shape.
52
52
  * @see {@link RequestPhoneUpdateOtpCommandOutput} for command's `response` shape.
53
- * @see {@link 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
  *
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 RequestPhoneUpdateOtpCommand extends RequestPhoneUpdateOtpCommand_base {
@@ -1,4 +1,4 @@
1
- import { OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookServiceClient";
1
+ import { OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookClient";
2
2
  import { SwipeRequest, SwipeResponse } from "../models/models_0";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
@@ -22,9 +22,9 @@ export interface SwipeCommandInput extends SwipeRequest {
22
22
  export interface SwipeCommandOutput extends SwipeResponse, __MetadataBearer {
23
23
  }
24
24
  declare const SwipeCommand_base: {
25
- new (input: SwipeCommandInput): import("@smithy/smithy-client").CommandImpl<SwipeCommandInput, SwipeCommandOutput, OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: SwipeCommandInput): import("@smithy/smithy-client").CommandImpl<SwipeCommandInput, SwipeCommandOutput, OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: SwipeCommandInput): import("@smithy/smithy-client").CommandImpl<SwipeCommandInput, SwipeCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: SwipeCommandInput): import("@smithy/smithy-client").CommandImpl<SwipeCommandInput, SwipeCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
30
  * @public
@@ -32,9 +32,9 @@ declare const SwipeCommand_base: {
32
32
  * @example
33
33
  * Use a bare-bones client and the command you need to make an API call.
34
34
  * ```javascript
35
- * import { OneHookServiceClient, SwipeCommand } from "onehook-api-client"; // ES Modules import
36
- * // const { OneHookServiceClient, SwipeCommand } = require("onehook-api-client"); // CommonJS import
37
- * const client = new OneHookServiceClient(config);
35
+ * import { OneHookClient, SwipeCommand } from "onehook-api-client"; // ES Modules import
36
+ * // const { OneHookClient, SwipeCommand } = require("onehook-api-client"); // CommonJS import
37
+ * const client = new OneHookClient(config);
38
38
  * const input = { // SwipeRequest
39
39
  * targetId: "STRING_VALUE", // required
40
40
  * direction: "STRING_VALUE", // required
@@ -54,14 +54,15 @@ declare const SwipeCommand_base: {
54
54
  * @returns {@link SwipeCommandOutput}
55
55
  * @see {@link SwipeCommandInput} for command's `input` shape.
56
56
  * @see {@link SwipeCommandOutput} for command's `response` shape.
57
- * @see {@link OneHookServiceClientResolvedConfig | config} for OneHookServiceClient's `config` shape.
57
+ * @see {@link OneHookClientResolvedConfig | config} for OneHookClient's `config` shape.
58
58
  *
59
59
  * @throws {@link BadRequestError} (client fault)
60
60
  *
61
61
  * @throws {@link InternalServerError} (server fault)
62
62
  *
63
- * @throws {@link 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
  */
67
68
  export declare class SwipeCommand extends SwipeCommand_base {
@@ -1,4 +1,4 @@
1
- import { OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookServiceClient";
1
+ import { OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookClient";
2
2
  import { StatusResponse, UnhookRequest } from "../models/models_0";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
@@ -22,9 +22,9 @@ export interface UnhookCommandInput extends UnhookRequest {
22
22
  export interface UnhookCommandOutput extends StatusResponse, __MetadataBearer {
23
23
  }
24
24
  declare const UnhookCommand_base: {
25
- new (input: UnhookCommandInput): import("@smithy/smithy-client").CommandImpl<UnhookCommandInput, UnhookCommandOutput, OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: UnhookCommandInput): import("@smithy/smithy-client").CommandImpl<UnhookCommandInput, UnhookCommandOutput, OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: UnhookCommandInput): import("@smithy/smithy-client").CommandImpl<UnhookCommandInput, UnhookCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: UnhookCommandInput): import("@smithy/smithy-client").CommandImpl<UnhookCommandInput, UnhookCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
30
  * @public
@@ -32,9 +32,9 @@ declare const UnhookCommand_base: {
32
32
  * @example
33
33
  * Use a bare-bones client and the command you need to make an API call.
34
34
  * ```javascript
35
- * import { OneHookServiceClient, UnhookCommand } from "onehook-api-client"; // ES Modules import
36
- * // const { OneHookServiceClient, UnhookCommand } = require("onehook-api-client"); // CommonJS import
37
- * const client = new OneHookServiceClient(config);
35
+ * import { OneHookClient, UnhookCommand } from "onehook-api-client"; // ES Modules import
36
+ * // const { OneHookClient, UnhookCommand } = require("onehook-api-client"); // CommonJS import
37
+ * const client = new OneHookClient(config);
38
38
  * const input = { // UnhookRequest
39
39
  * matchId: "STRING_VALUE", // required
40
40
  * reason: "STRING_VALUE",
@@ -51,7 +51,7 @@ declare const UnhookCommand_base: {
51
51
  * @returns {@link UnhookCommandOutput}
52
52
  * @see {@link UnhookCommandInput} for command's `input` shape.
53
53
  * @see {@link UnhookCommandOutput} for command's `response` shape.
54
- * @see {@link OneHookServiceClientResolvedConfig | config} for OneHookServiceClient's `config` shape.
54
+ * @see {@link OneHookClientResolvedConfig | config} for OneHookClient's `config` shape.
55
55
  *
56
56
  * @throws {@link BadRequestError} (client fault)
57
57
  *
@@ -59,8 +59,9 @@ declare const UnhookCommand_base: {
59
59
  *
60
60
  * @throws {@link InternalServerError} (server fault)
61
61
  *
62
- * @throws {@link 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 UnhookCommand extends UnhookCommand_base {
@@ -1,4 +1,4 @@
1
- import { OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookServiceClient";
1
+ import { OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookClient";
2
2
  import { UnlinkSocialRequest, UnlinkSocialResponse } from "../models/models_0";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
@@ -22,9 +22,9 @@ export interface UnlinkSocialCommandInput extends UnlinkSocialRequest {
22
22
  export interface UnlinkSocialCommandOutput extends UnlinkSocialResponse, __MetadataBearer {
23
23
  }
24
24
  declare const UnlinkSocialCommand_base: {
25
- new (input: UnlinkSocialCommandInput): import("@smithy/smithy-client").CommandImpl<UnlinkSocialCommandInput, UnlinkSocialCommandOutput, OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: UnlinkSocialCommandInput): import("@smithy/smithy-client").CommandImpl<UnlinkSocialCommandInput, UnlinkSocialCommandOutput, OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: UnlinkSocialCommandInput): import("@smithy/smithy-client").CommandImpl<UnlinkSocialCommandInput, UnlinkSocialCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: UnlinkSocialCommandInput): import("@smithy/smithy-client").CommandImpl<UnlinkSocialCommandInput, UnlinkSocialCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
30
  * @public
@@ -32,9 +32,9 @@ declare const UnlinkSocialCommand_base: {
32
32
  * @example
33
33
  * Use a bare-bones client and the command you need to make an API call.
34
34
  * ```javascript
35
- * import { OneHookServiceClient, UnlinkSocialCommand } from "onehook-api-client"; // ES Modules import
36
- * // const { OneHookServiceClient, UnlinkSocialCommand } = require("onehook-api-client"); // CommonJS import
37
- * const client = new OneHookServiceClient(config);
35
+ * import { OneHookClient, UnlinkSocialCommand } from "onehook-api-client"; // ES Modules import
36
+ * // const { OneHookClient, UnlinkSocialCommand } = require("onehook-api-client"); // CommonJS import
37
+ * const client = new OneHookClient(config);
38
38
  * const input = { // UnlinkSocialRequest
39
39
  * provider: "STRING_VALUE", // required
40
40
  * };
@@ -50,14 +50,15 @@ declare const UnlinkSocialCommand_base: {
50
50
  * @returns {@link UnlinkSocialCommandOutput}
51
51
  * @see {@link UnlinkSocialCommandInput} for command's `input` shape.
52
52
  * @see {@link UnlinkSocialCommandOutput} for command's `response` shape.
53
- * @see {@link 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
  *
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 UnlinkSocialCommand extends UnlinkSocialCommand_base {
@@ -1,4 +1,4 @@
1
- import { OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookServiceClient";
1
+ import { OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookClient";
2
2
  import { UpdateEntitlementsRequest, UpdateEntitlementsResponse } from "../models/models_0";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
@@ -22,9 +22,9 @@ export interface UpdateEntitlementsCommandInput extends UpdateEntitlementsReques
22
22
  export interface UpdateEntitlementsCommandOutput extends UpdateEntitlementsResponse, __MetadataBearer {
23
23
  }
24
24
  declare const UpdateEntitlementsCommand_base: {
25
- new (input: UpdateEntitlementsCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateEntitlementsCommandInput, UpdateEntitlementsCommandOutput, OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: UpdateEntitlementsCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateEntitlementsCommandInput, UpdateEntitlementsCommandOutput, OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: UpdateEntitlementsCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateEntitlementsCommandInput, UpdateEntitlementsCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: UpdateEntitlementsCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateEntitlementsCommandInput, UpdateEntitlementsCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
30
  * Internal, service-to-service entitlement write. Authorized with AWS IAM (SigV4), NOT the Cognito
@@ -36,9 +36,9 @@ declare const UpdateEntitlementsCommand_base: {
36
36
  * @example
37
37
  * Use a bare-bones client and the command you need to make an API call.
38
38
  * ```javascript
39
- * import { OneHookServiceClient, UpdateEntitlementsCommand } from "onehook-api-client"; // ES Modules import
40
- * // const { OneHookServiceClient, UpdateEntitlementsCommand } = require("onehook-api-client"); // CommonJS import
41
- * const client = new OneHookServiceClient(config);
39
+ * import { OneHookClient, UpdateEntitlementsCommand } from "onehook-api-client"; // ES Modules import
40
+ * // const { OneHookClient, UpdateEntitlementsCommand } = require("onehook-api-client"); // CommonJS import
41
+ * const client = new OneHookClient(config);
42
42
  * const input = { // UpdateEntitlementsRequest
43
43
  * userId: "STRING_VALUE", // required
44
44
  * subscriptionTier: "STRING_VALUE", // required
@@ -59,7 +59,7 @@ declare const UpdateEntitlementsCommand_base: {
59
59
  * @returns {@link UpdateEntitlementsCommandOutput}
60
60
  * @see {@link UpdateEntitlementsCommandInput} for command's `input` shape.
61
61
  * @see {@link UpdateEntitlementsCommandOutput} for command's `response` shape.
62
- * @see {@link OneHookServiceClientResolvedConfig | config} for OneHookServiceClient's `config` shape.
62
+ * @see {@link OneHookClientResolvedConfig | config} for OneHookClient's `config` shape.
63
63
  *
64
64
  * @throws {@link BadRequestError} (client fault)
65
65
  *
@@ -67,8 +67,9 @@ declare const UpdateEntitlementsCommand_base: {
67
67
  *
68
68
  * @throws {@link InternalServerError} (server fault)
69
69
  *
70
- * @throws {@link 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 { PhoneResponse, UpdatePhoneNumberRequest } from "../models/models_0";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
@@ -22,9 +22,9 @@ export interface UpdatePhoneNumberCommandInput extends UpdatePhoneNumberRequest
22
22
  export interface UpdatePhoneNumberCommandOutput extends PhoneResponse, __MetadataBearer {
23
23
  }
24
24
  declare const UpdatePhoneNumberCommand_base: {
25
- new (input: UpdatePhoneNumberCommandInput): import("@smithy/smithy-client").CommandImpl<UpdatePhoneNumberCommandInput, UpdatePhoneNumberCommandOutput, OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: UpdatePhoneNumberCommandInput): import("@smithy/smithy-client").CommandImpl<UpdatePhoneNumberCommandInput, UpdatePhoneNumberCommandOutput, OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: UpdatePhoneNumberCommandInput): import("@smithy/smithy-client").CommandImpl<UpdatePhoneNumberCommandInput, UpdatePhoneNumberCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: UpdatePhoneNumberCommandInput): import("@smithy/smithy-client").CommandImpl<UpdatePhoneNumberCommandInput, UpdatePhoneNumberCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
30
  * @public
@@ -32,9 +32,9 @@ declare const UpdatePhoneNumberCommand_base: {
32
32
  * @example
33
33
  * Use a bare-bones client and the command you need to make an API call.
34
34
  * ```javascript
35
- * import { OneHookServiceClient, UpdatePhoneNumberCommand } from "onehook-api-client"; // ES Modules import
36
- * // const { OneHookServiceClient, UpdatePhoneNumberCommand } = require("onehook-api-client"); // CommonJS import
37
- * const client = new OneHookServiceClient(config);
35
+ * import { OneHookClient, UpdatePhoneNumberCommand } from "onehook-api-client"; // ES Modules import
36
+ * // const { OneHookClient, UpdatePhoneNumberCommand } = require("onehook-api-client"); // CommonJS import
37
+ * const client = new OneHookClient(config);
38
38
  * const input = { // UpdatePhoneNumberRequest
39
39
  * phoneNumber: "STRING_VALUE", // required
40
40
  * otp: "STRING_VALUE", // required
@@ -52,14 +52,15 @@ declare const UpdatePhoneNumberCommand_base: {
52
52
  * @returns {@link UpdatePhoneNumberCommandOutput}
53
53
  * @see {@link UpdatePhoneNumberCommandInput} for command's `input` shape.
54
54
  * @see {@link UpdatePhoneNumberCommandOutput} for command's `response` shape.
55
- * @see {@link 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
  *
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 UpdatePhoneNumberCommand extends UpdatePhoneNumberCommand_base {