onehook-api-client 1.0.0 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (151) hide show
  1. package/README.md +451 -0
  2. package/dist-cjs/{OneHookService.js → OneHook.js} +5 -5
  3. package/dist-cjs/{OneHookServiceClient.js → OneHookClient.js} +16 -11
  4. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +8 -0
  5. package/dist-cjs/auth/httpAuthSchemeProvider.js +24 -11
  6. package/dist-cjs/commands/AuthSocialCommand.js +1 -1
  7. package/dist-cjs/commands/ClaimPreKeyBundleCommand.js +1 -1
  8. package/dist-cjs/commands/CompleteLivenessSessionCommand.js +1 -1
  9. package/dist-cjs/commands/CompleteOnboardingCommand.js +1 -1
  10. package/dist-cjs/commands/CreateLivenessSessionCommand.js +1 -1
  11. package/dist-cjs/commands/DeleteMatchMessagesCommand.js +1 -1
  12. package/dist-cjs/commands/DeleteProfileCommand.js +1 -1
  13. package/dist-cjs/commands/DiscoverCommand.js +1 -1
  14. package/dist-cjs/commands/GenerateInviteCommand.js +1 -1
  15. package/dist-cjs/commands/GenerateUploadUrlCommand.js +1 -1
  16. package/dist-cjs/commands/GetMatchCommand.js +1 -1
  17. package/dist-cjs/commands/GetMyProfileCommand.js +1 -1
  18. package/dist-cjs/commands/GetPreferencesCommand.js +1 -1
  19. package/dist-cjs/commands/GetProfileCommand.js +1 -1
  20. package/dist-cjs/commands/GetStateCommand.js +1 -1
  21. package/dist-cjs/commands/GetUserByEmailCommand.js +1 -1
  22. package/dist-cjs/commands/GetUserCommand.js +1 -1
  23. package/dist-cjs/commands/IndexLocationCommand.js +1 -1
  24. package/dist-cjs/commands/InitUserCommand.js +1 -1
  25. package/dist-cjs/commands/LinkEmailCommand.js +1 -1
  26. package/dist-cjs/commands/LinkSocialCommand.js +1 -1
  27. package/dist-cjs/commands/RegisterPhoneCommand.js +1 -1
  28. package/dist-cjs/commands/RemoveLocationCommand.js +1 -1
  29. package/dist-cjs/commands/RequestEmailOtpCommand.js +1 -1
  30. package/dist-cjs/commands/RequestPhoneOtpCommand.js +1 -1
  31. package/dist-cjs/commands/RequestPhoneUpdateOtpCommand.js +1 -1
  32. package/dist-cjs/commands/SwipeCommand.js +1 -1
  33. package/dist-cjs/commands/UnhookCommand.js +1 -1
  34. package/dist-cjs/commands/UnlinkSocialCommand.js +1 -1
  35. package/dist-cjs/commands/UpdateEntitlementsCommand.js +1 -1
  36. package/dist-cjs/commands/UpdatePhoneNumberCommand.js +1 -1
  37. package/dist-cjs/commands/UpdatePreferencesCommand.js +1 -1
  38. package/dist-cjs/commands/UpdateProfileCommand.js +1 -1
  39. package/dist-cjs/commands/UpgradeUserCommand.js +1 -1
  40. package/dist-cjs/commands/UploadPreKeysCommand.js +1 -1
  41. package/dist-cjs/commands/ValidateInviteCommand.js +1 -1
  42. package/dist-cjs/endpoints.js +232 -0
  43. package/dist-cjs/graphql/types.js +1 -1
  44. package/dist-cjs/index.js +5 -5
  45. package/dist-cjs/models/{OneHookServiceServiceException.js → OneHookServiceException.js} +4 -4
  46. package/dist-cjs/models/models_0.js +17 -13
  47. package/dist-cjs/protocols/Aws_restJson1.js +2 -2
  48. package/dist-cjs/runtimeConfig.browser.js +7 -1
  49. package/dist-cjs/runtimeConfig.js +13 -4
  50. package/dist-cjs/runtimeConfig.shared.js +8 -5
  51. package/dist-cjs/runtimeExtensions.js +3 -12
  52. package/dist-es/{OneHookService.js → OneHook.js} +3 -3
  53. package/dist-es/{OneHookServiceClient.js → OneHookClient.js} +16 -11
  54. package/dist-es/auth/httpAuthExtensionConfiguration.js +8 -0
  55. package/dist-es/auth/httpAuthSchemeProvider.js +22 -9
  56. package/dist-es/commands/AuthSocialCommand.js +1 -1
  57. package/dist-es/commands/ClaimPreKeyBundleCommand.js +1 -1
  58. package/dist-es/commands/CompleteLivenessSessionCommand.js +1 -1
  59. package/dist-es/commands/CompleteOnboardingCommand.js +1 -1
  60. package/dist-es/commands/CreateLivenessSessionCommand.js +1 -1
  61. package/dist-es/commands/DeleteMatchMessagesCommand.js +1 -1
  62. package/dist-es/commands/DeleteProfileCommand.js +1 -1
  63. package/dist-es/commands/DiscoverCommand.js +1 -1
  64. package/dist-es/commands/GenerateInviteCommand.js +1 -1
  65. package/dist-es/commands/GenerateUploadUrlCommand.js +1 -1
  66. package/dist-es/commands/GetMatchCommand.js +1 -1
  67. package/dist-es/commands/GetMyProfileCommand.js +1 -1
  68. package/dist-es/commands/GetPreferencesCommand.js +1 -1
  69. package/dist-es/commands/GetProfileCommand.js +1 -1
  70. package/dist-es/commands/GetStateCommand.js +1 -1
  71. package/dist-es/commands/GetUserByEmailCommand.js +1 -1
  72. package/dist-es/commands/GetUserCommand.js +1 -1
  73. package/dist-es/commands/IndexLocationCommand.js +1 -1
  74. package/dist-es/commands/InitUserCommand.js +1 -1
  75. package/dist-es/commands/LinkEmailCommand.js +1 -1
  76. package/dist-es/commands/LinkSocialCommand.js +1 -1
  77. package/dist-es/commands/RegisterPhoneCommand.js +1 -1
  78. package/dist-es/commands/RemoveLocationCommand.js +1 -1
  79. package/dist-es/commands/RequestEmailOtpCommand.js +1 -1
  80. package/dist-es/commands/RequestPhoneOtpCommand.js +1 -1
  81. package/dist-es/commands/RequestPhoneUpdateOtpCommand.js +1 -1
  82. package/dist-es/commands/SwipeCommand.js +1 -1
  83. package/dist-es/commands/UnhookCommand.js +1 -1
  84. package/dist-es/commands/UnlinkSocialCommand.js +1 -1
  85. package/dist-es/commands/UpdateEntitlementsCommand.js +1 -1
  86. package/dist-es/commands/UpdatePhoneNumberCommand.js +1 -1
  87. package/dist-es/commands/UpdatePreferencesCommand.js +1 -1
  88. package/dist-es/commands/UpdateProfileCommand.js +1 -1
  89. package/dist-es/commands/UpgradeUserCommand.js +1 -1
  90. package/dist-es/commands/UploadPreKeysCommand.js +1 -1
  91. package/dist-es/commands/ValidateInviteCommand.js +1 -1
  92. package/dist-es/endpoints.js +228 -0
  93. package/dist-es/index.js +3 -3
  94. package/dist-es/models/{OneHookServiceServiceException.js → OneHookServiceException.js} +2 -2
  95. package/dist-es/models/models_0.js +13 -9
  96. package/dist-es/protocols/Aws_restJson1.js +1 -1
  97. package/dist-es/runtimeConfig.browser.js +7 -1
  98. package/dist-es/runtimeConfig.js +13 -4
  99. package/dist-es/runtimeConfig.shared.js +9 -6
  100. package/dist-es/runtimeExtensions.js +3 -12
  101. package/dist-types/{OneHookService.d.ts → OneHook.d.ts} +3 -3
  102. package/dist-types/{OneHookServiceClient.d.ts → OneHookClient.d.ts} +58 -12
  103. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +8 -5
  104. package/dist-types/auth/httpAuthSchemeProvider.d.ts +13 -11
  105. package/dist-types/commands/AuthSocialCommand.d.ts +11 -10
  106. package/dist-types/commands/ClaimPreKeyBundleCommand.d.ts +11 -10
  107. package/dist-types/commands/CompleteLivenessSessionCommand.d.ts +11 -10
  108. package/dist-types/commands/CompleteOnboardingCommand.d.ts +11 -10
  109. package/dist-types/commands/CreateLivenessSessionCommand.d.ts +11 -10
  110. package/dist-types/commands/DeleteMatchMessagesCommand.d.ts +11 -10
  111. package/dist-types/commands/DeleteProfileCommand.d.ts +11 -10
  112. package/dist-types/commands/DiscoverCommand.d.ts +11 -10
  113. package/dist-types/commands/GenerateInviteCommand.d.ts +11 -10
  114. package/dist-types/commands/GenerateUploadUrlCommand.d.ts +11 -10
  115. package/dist-types/commands/GetMatchCommand.d.ts +11 -10
  116. package/dist-types/commands/GetMyProfileCommand.d.ts +11 -10
  117. package/dist-types/commands/GetPreferencesCommand.d.ts +11 -10
  118. package/dist-types/commands/GetProfileCommand.d.ts +11 -10
  119. package/dist-types/commands/GetStateCommand.d.ts +11 -10
  120. package/dist-types/commands/GetUserByEmailCommand.d.ts +11 -10
  121. package/dist-types/commands/GetUserCommand.d.ts +11 -10
  122. package/dist-types/commands/IndexLocationCommand.d.ts +11 -10
  123. package/dist-types/commands/InitUserCommand.d.ts +11 -10
  124. package/dist-types/commands/LinkEmailCommand.d.ts +11 -10
  125. package/dist-types/commands/LinkSocialCommand.d.ts +11 -10
  126. package/dist-types/commands/RegisterPhoneCommand.d.ts +11 -10
  127. package/dist-types/commands/RemoveLocationCommand.d.ts +11 -10
  128. package/dist-types/commands/RequestEmailOtpCommand.d.ts +11 -10
  129. package/dist-types/commands/RequestPhoneOtpCommand.d.ts +11 -10
  130. package/dist-types/commands/RequestPhoneUpdateOtpCommand.d.ts +11 -10
  131. package/dist-types/commands/SwipeCommand.d.ts +11 -10
  132. package/dist-types/commands/UnhookCommand.d.ts +11 -10
  133. package/dist-types/commands/UnlinkSocialCommand.d.ts +11 -10
  134. package/dist-types/commands/UpdateEntitlementsCommand.d.ts +11 -10
  135. package/dist-types/commands/UpdatePhoneNumberCommand.d.ts +11 -10
  136. package/dist-types/commands/UpdatePreferencesCommand.d.ts +11 -10
  137. package/dist-types/commands/UpdateProfileCommand.d.ts +11 -10
  138. package/dist-types/commands/UpgradeUserCommand.d.ts +11 -10
  139. package/dist-types/commands/UploadPreKeysCommand.d.ts +11 -10
  140. package/dist-types/commands/ValidateInviteCommand.d.ts +11 -10
  141. package/dist-types/endpoints.d.ts +2 -0
  142. package/dist-types/extensionConfiguration.d.ts +2 -1
  143. package/dist-types/index.d.ts +4 -4
  144. package/dist-types/models/{OneHookServiceServiceException.d.ts → OneHookServiceException.d.ts} +2 -2
  145. package/dist-types/models/models_0.d.ts +5 -1
  146. package/dist-types/runtimeConfig.browser.d.ts +28 -13
  147. package/dist-types/runtimeConfig.d.ts +28 -13
  148. package/dist-types/runtimeConfig.native.d.ts +28 -13
  149. package/dist-types/runtimeConfig.shared.d.ts +6 -10
  150. package/dist-types/runtimeExtensions.d.ts +2 -2
  151. package/package.json +38 -36
@@ -1,4 +1,4 @@
1
- import { OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookServiceClient";
1
+ import { OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookClient";
2
2
  import { DiscoverRequest, DiscoverResponse } from "../models/models_0";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
@@ -22,9 +22,9 @@ export interface DiscoverCommandInput extends DiscoverRequest {
22
22
  export interface DiscoverCommandOutput extends DiscoverResponse, __MetadataBearer {
23
23
  }
24
24
  declare const DiscoverCommand_base: {
25
- new (input: DiscoverCommandInput): import("@smithy/smithy-client").CommandImpl<DiscoverCommandInput, DiscoverCommandOutput, OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: DiscoverCommandInput): import("@smithy/smithy-client").CommandImpl<DiscoverCommandInput, DiscoverCommandOutput, OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: DiscoverCommandInput): import("@smithy/smithy-client").CommandImpl<DiscoverCommandInput, DiscoverCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: DiscoverCommandInput): import("@smithy/smithy-client").CommandImpl<DiscoverCommandInput, DiscoverCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
30
  * @public
@@ -32,9 +32,9 @@ declare const DiscoverCommand_base: {
32
32
  * @example
33
33
  * Use a bare-bones client and the command you need to make an API call.
34
34
  * ```javascript
35
- * import { OneHookServiceClient, DiscoverCommand } from "onehook-api-client"; // ES Modules import
36
- * // const { OneHookServiceClient, DiscoverCommand } = require("onehook-api-client"); // CommonJS import
37
- * const client = new OneHookServiceClient(config);
35
+ * import { OneHookClient, DiscoverCommand } from "onehook-api-client"; // ES Modules import
36
+ * // const { OneHookClient, DiscoverCommand } = require("onehook-api-client"); // CommonJS import
37
+ * const client = new OneHookClient(config);
38
38
  * const input = { // DiscoverRequest
39
39
  * lat: Number("double"), // required
40
40
  * lon: Number("double"), // required
@@ -59,14 +59,15 @@ declare const DiscoverCommand_base: {
59
59
  * @returns {@link DiscoverCommandOutput}
60
60
  * @see {@link DiscoverCommandInput} for command's `input` shape.
61
61
  * @see {@link DiscoverCommandOutput} for command's `response` shape.
62
- * @see {@link 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
  *
66
66
  * @throws {@link InternalServerError} (server fault)
67
67
  *
68
- * @throws {@link OneHookServiceServiceException}
69
- * <p>Base exception class for all service exceptions from OneHookService service.</p>
68
+ * @throws {@link OneHookServiceException}
69
+ * <p>Base exception class for all service exceptions from OneHook service.</p>
70
+ *
70
71
  *
71
72
  */
72
73
  export declare class DiscoverCommand extends DiscoverCommand_base {
@@ -1,4 +1,4 @@
1
- import { OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookServiceClient";
1
+ import { OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookClient";
2
2
  import { GenerateInviteRequest, GenerateInviteResponse } from "../models/models_0";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
@@ -22,9 +22,9 @@ export interface GenerateInviteCommandInput extends GenerateInviteRequest {
22
22
  export interface GenerateInviteCommandOutput extends GenerateInviteResponse, __MetadataBearer {
23
23
  }
24
24
  declare const GenerateInviteCommand_base: {
25
- new (input: GenerateInviteCommandInput): import("@smithy/smithy-client").CommandImpl<GenerateInviteCommandInput, GenerateInviteCommandOutput, OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: GenerateInviteCommandInput): import("@smithy/smithy-client").CommandImpl<GenerateInviteCommandInput, GenerateInviteCommandOutput, OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: GenerateInviteCommandInput): import("@smithy/smithy-client").CommandImpl<GenerateInviteCommandInput, GenerateInviteCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: GenerateInviteCommandInput): import("@smithy/smithy-client").CommandImpl<GenerateInviteCommandInput, GenerateInviteCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
30
  * @public
@@ -32,9 +32,9 @@ declare const GenerateInviteCommand_base: {
32
32
  * @example
33
33
  * Use a bare-bones client and the command you need to make an API call.
34
34
  * ```javascript
35
- * import { OneHookServiceClient, GenerateInviteCommand } from "onehook-api-client"; // ES Modules import
36
- * // const { OneHookServiceClient, GenerateInviteCommand } = require("onehook-api-client"); // CommonJS import
37
- * const client = new OneHookServiceClient(config);
35
+ * import { OneHookClient, GenerateInviteCommand } from "onehook-api-client"; // ES Modules import
36
+ * // const { OneHookClient, GenerateInviteCommand } = require("onehook-api-client"); // CommonJS import
37
+ * const client = new OneHookClient(config);
38
38
  * const input = { // GenerateInviteRequest
39
39
  * referrerId: "STRING_VALUE", // required
40
40
  * maxUses: Number("int"),
@@ -53,14 +53,15 @@ declare const GenerateInviteCommand_base: {
53
53
  * @returns {@link GenerateInviteCommandOutput}
54
54
  * @see {@link GenerateInviteCommandInput} for command's `input` shape.
55
55
  * @see {@link GenerateInviteCommandOutput} for command's `response` shape.
56
- * @see {@link 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 GenerateInviteCommand extends GenerateInviteCommand_base {
@@ -1,4 +1,4 @@
1
- import { OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookServiceClient";
1
+ import { OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookClient";
2
2
  import { MediaUploadUrlRequest, MediaUploadUrlResponse } from "../models/models_0";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
@@ -22,9 +22,9 @@ export interface GenerateUploadUrlCommandInput extends MediaUploadUrlRequest {
22
22
  export interface GenerateUploadUrlCommandOutput extends MediaUploadUrlResponse, __MetadataBearer {
23
23
  }
24
24
  declare const GenerateUploadUrlCommand_base: {
25
- new (input: GenerateUploadUrlCommandInput): import("@smithy/smithy-client").CommandImpl<GenerateUploadUrlCommandInput, GenerateUploadUrlCommandOutput, OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: GenerateUploadUrlCommandInput): import("@smithy/smithy-client").CommandImpl<GenerateUploadUrlCommandInput, GenerateUploadUrlCommandOutput, OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: GenerateUploadUrlCommandInput): import("@smithy/smithy-client").CommandImpl<GenerateUploadUrlCommandInput, GenerateUploadUrlCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: GenerateUploadUrlCommandInput): import("@smithy/smithy-client").CommandImpl<GenerateUploadUrlCommandInput, GenerateUploadUrlCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
30
  * @public
@@ -32,9 +32,9 @@ declare const GenerateUploadUrlCommand_base: {
32
32
  * @example
33
33
  * Use a bare-bones client and the command you need to make an API call.
34
34
  * ```javascript
35
- * import { OneHookServiceClient, GenerateUploadUrlCommand } from "onehook-api-client"; // ES Modules import
36
- * // const { OneHookServiceClient, GenerateUploadUrlCommand } = require("onehook-api-client"); // CommonJS import
37
- * const client = new OneHookServiceClient(config);
35
+ * import { OneHookClient, GenerateUploadUrlCommand } from "onehook-api-client"; // ES Modules import
36
+ * // const { OneHookClient, GenerateUploadUrlCommand } = require("onehook-api-client"); // CommonJS import
37
+ * const client = new OneHookClient(config);
38
38
  * const input = { // MediaUploadUrlRequest
39
39
  * contentType: "STRING_VALUE", // required
40
40
  * contentLength: Number("long"), // required
@@ -55,14 +55,15 @@ declare const GenerateUploadUrlCommand_base: {
55
55
  * @returns {@link GenerateUploadUrlCommandOutput}
56
56
  * @see {@link GenerateUploadUrlCommandInput} for command's `input` shape.
57
57
  * @see {@link GenerateUploadUrlCommandOutput} for command's `response` shape.
58
- * @see {@link OneHookServiceClientResolvedConfig | config} for OneHookServiceClient's `config` shape.
58
+ * @see {@link OneHookClientResolvedConfig | config} for OneHookClient's `config` shape.
59
59
  *
60
60
  * @throws {@link BadRequestError} (client fault)
61
61
  *
62
62
  * @throws {@link InternalServerError} (server fault)
63
63
  *
64
- * @throws {@link OneHookServiceServiceException}
65
- * <p>Base exception class for all service exceptions from OneHookService service.</p>
64
+ * @throws {@link OneHookServiceException}
65
+ * <p>Base exception class for all service exceptions from OneHook service.</p>
66
+ *
66
67
  *
67
68
  */
68
69
  export declare class GenerateUploadUrlCommand extends GenerateUploadUrlCommand_base {
@@ -1,4 +1,4 @@
1
- import { OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookServiceClient";
1
+ import { OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookClient";
2
2
  import { GetMatchRequest, MatchRecord } from "../models/models_0";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
@@ -22,9 +22,9 @@ export interface GetMatchCommandInput extends GetMatchRequest {
22
22
  export interface GetMatchCommandOutput extends MatchRecord, __MetadataBearer {
23
23
  }
24
24
  declare const GetMatchCommand_base: {
25
- new (input: GetMatchCommandInput): import("@smithy/smithy-client").CommandImpl<GetMatchCommandInput, GetMatchCommandOutput, OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: GetMatchCommandInput): import("@smithy/smithy-client").CommandImpl<GetMatchCommandInput, GetMatchCommandOutput, OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: GetMatchCommandInput): import("@smithy/smithy-client").CommandImpl<GetMatchCommandInput, GetMatchCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: GetMatchCommandInput): import("@smithy/smithy-client").CommandImpl<GetMatchCommandInput, GetMatchCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
30
  * @public
@@ -32,9 +32,9 @@ declare const GetMatchCommand_base: {
32
32
  * @example
33
33
  * Use a bare-bones client and the command you need to make an API call.
34
34
  * ```javascript
35
- * import { OneHookServiceClient, GetMatchCommand } from "onehook-api-client"; // ES Modules import
36
- * // const { OneHookServiceClient, GetMatchCommand } = require("onehook-api-client"); // CommonJS import
37
- * const client = new OneHookServiceClient(config);
35
+ * import { OneHookClient, GetMatchCommand } from "onehook-api-client"; // ES Modules import
36
+ * // const { OneHookClient, GetMatchCommand } = require("onehook-api-client"); // CommonJS import
37
+ * const client = new OneHookClient(config);
38
38
  * const input = { // GetMatchRequest
39
39
  * matchId: "STRING_VALUE", // required
40
40
  * };
@@ -60,7 +60,7 @@ declare const GetMatchCommand_base: {
60
60
  * @returns {@link GetMatchCommandOutput}
61
61
  * @see {@link GetMatchCommandInput} for command's `input` shape.
62
62
  * @see {@link GetMatchCommandOutput} for command's `response` shape.
63
- * @see {@link OneHookServiceClientResolvedConfig | config} for OneHookServiceClient's `config` shape.
63
+ * @see {@link OneHookClientResolvedConfig | config} for OneHookClient's `config` shape.
64
64
  *
65
65
  * @throws {@link BadRequestError} (client fault)
66
66
  *
@@ -68,8 +68,9 @@ declare const GetMatchCommand_base: {
68
68
  *
69
69
  * @throws {@link InternalServerError} (server fault)
70
70
  *
71
- * @throws {@link OneHookServiceServiceException}
72
- * <p>Base exception class for all service exceptions from OneHookService service.</p>
71
+ * @throws {@link OneHookServiceException}
72
+ * <p>Base exception class for all service exceptions from OneHook service.</p>
73
+ *
73
74
  *
74
75
  */
75
76
  export declare class GetMatchCommand extends GetMatchCommand_base {
@@ -1,4 +1,4 @@
1
- import { OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookServiceClient";
1
+ import { OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookClient";
2
2
  import { ProfileResponse } from "../models/models_0";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
@@ -22,9 +22,9 @@ export interface GetMyProfileCommandInput {
22
22
  export interface GetMyProfileCommandOutput extends ProfileResponse, __MetadataBearer {
23
23
  }
24
24
  declare const GetMyProfileCommand_base: {
25
- new (input: GetMyProfileCommandInput): import("@smithy/smithy-client").CommandImpl<GetMyProfileCommandInput, GetMyProfileCommandOutput, OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (...[input]: [] | [GetMyProfileCommandInput]): import("@smithy/smithy-client").CommandImpl<GetMyProfileCommandInput, GetMyProfileCommandOutput, OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: GetMyProfileCommandInput): import("@smithy/smithy-client").CommandImpl<GetMyProfileCommandInput, GetMyProfileCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [GetMyProfileCommandInput]): import("@smithy/smithy-client").CommandImpl<GetMyProfileCommandInput, GetMyProfileCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
30
  * Fetches the authenticated caller's own profile. The userId is taken from the verified Cognito
@@ -33,9 +33,9 @@ declare const GetMyProfileCommand_base: {
33
33
  * @example
34
34
  * Use a bare-bones client and the command you need to make an API call.
35
35
  * ```javascript
36
- * import { OneHookServiceClient, GetMyProfileCommand } from "onehook-api-client"; // ES Modules import
37
- * // const { OneHookServiceClient, GetMyProfileCommand } = require("onehook-api-client"); // CommonJS import
38
- * const client = new OneHookServiceClient(config);
36
+ * import { OneHookClient, GetMyProfileCommand } from "onehook-api-client"; // ES Modules import
37
+ * // const { OneHookClient, GetMyProfileCommand } = require("onehook-api-client"); // CommonJS import
38
+ * const client = new OneHookClient(config);
39
39
  * const input = {};
40
40
  * const command = new GetMyProfileCommand(input);
41
41
  * const response = await client.send(command);
@@ -108,7 +108,7 @@ declare const GetMyProfileCommand_base: {
108
108
  * @returns {@link GetMyProfileCommandOutput}
109
109
  * @see {@link GetMyProfileCommandInput} for command's `input` shape.
110
110
  * @see {@link GetMyProfileCommandOutput} for command's `response` shape.
111
- * @see {@link OneHookServiceClientResolvedConfig | config} for OneHookServiceClient's `config` shape.
111
+ * @see {@link OneHookClientResolvedConfig | config} for OneHookClient's `config` shape.
112
112
  *
113
113
  * @throws {@link BadRequestError} (client fault)
114
114
  *
@@ -116,8 +116,9 @@ declare const GetMyProfileCommand_base: {
116
116
  *
117
117
  * @throws {@link InternalServerError} (server fault)
118
118
  *
119
- * @throws {@link OneHookServiceServiceException}
120
- * <p>Base exception class for all service exceptions from OneHookService service.</p>
119
+ * @throws {@link OneHookServiceException}
120
+ * <p>Base exception class for all service exceptions from OneHook service.</p>
121
+ *
121
122
  *
122
123
  * @public
123
124
  */
@@ -1,4 +1,4 @@
1
- import { OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookServiceClient";
1
+ import { OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookClient";
2
2
  import { GetPreferencesRequest, UserPreferencesResponse } from "../models/models_0";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
@@ -22,9 +22,9 @@ export interface GetPreferencesCommandInput extends GetPreferencesRequest {
22
22
  export interface GetPreferencesCommandOutput extends UserPreferencesResponse, __MetadataBearer {
23
23
  }
24
24
  declare const GetPreferencesCommand_base: {
25
- new (input: GetPreferencesCommandInput): import("@smithy/smithy-client").CommandImpl<GetPreferencesCommandInput, GetPreferencesCommandOutput, OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: GetPreferencesCommandInput): import("@smithy/smithy-client").CommandImpl<GetPreferencesCommandInput, GetPreferencesCommandOutput, OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: GetPreferencesCommandInput): import("@smithy/smithy-client").CommandImpl<GetPreferencesCommandInput, GetPreferencesCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: GetPreferencesCommandInput): import("@smithy/smithy-client").CommandImpl<GetPreferencesCommandInput, GetPreferencesCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
30
  * @public
@@ -32,9 +32,9 @@ declare const GetPreferencesCommand_base: {
32
32
  * @example
33
33
  * Use a bare-bones client and the command you need to make an API call.
34
34
  * ```javascript
35
- * import { OneHookServiceClient, GetPreferencesCommand } from "onehook-api-client"; // ES Modules import
36
- * // const { OneHookServiceClient, GetPreferencesCommand } = require("onehook-api-client"); // CommonJS import
37
- * const client = new OneHookServiceClient(config);
35
+ * import { OneHookClient, GetPreferencesCommand } from "onehook-api-client"; // ES Modules import
36
+ * // const { OneHookClient, GetPreferencesCommand } = require("onehook-api-client"); // CommonJS import
37
+ * const client = new OneHookClient(config);
38
38
  * const input = { // GetPreferencesRequest
39
39
  * userId: "STRING_VALUE", // required
40
40
  * };
@@ -56,7 +56,7 @@ declare const GetPreferencesCommand_base: {
56
56
  * @returns {@link GetPreferencesCommandOutput}
57
57
  * @see {@link GetPreferencesCommandInput} for command's `input` shape.
58
58
  * @see {@link GetPreferencesCommandOutput} for command's `response` shape.
59
- * @see {@link OneHookServiceClientResolvedConfig | config} for OneHookServiceClient's `config` shape.
59
+ * @see {@link OneHookClientResolvedConfig | config} for OneHookClient's `config` shape.
60
60
  *
61
61
  * @throws {@link BadRequestError} (client fault)
62
62
  *
@@ -64,8 +64,9 @@ declare const GetPreferencesCommand_base: {
64
64
  *
65
65
  * @throws {@link InternalServerError} (server fault)
66
66
  *
67
- * @throws {@link OneHookServiceServiceException}
68
- * <p>Base exception class for all service exceptions from OneHookService service.</p>
67
+ * @throws {@link OneHookServiceException}
68
+ * <p>Base exception class for all service exceptions from OneHook service.</p>
69
+ *
69
70
  *
70
71
  */
71
72
  export declare class GetPreferencesCommand extends GetPreferencesCommand_base {
@@ -1,4 +1,4 @@
1
- import { OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookServiceClient";
1
+ import { OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookClient";
2
2
  import { GetProfileRequest, ProfileResponse } from "../models/models_0";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
@@ -22,9 +22,9 @@ export interface GetProfileCommandInput extends GetProfileRequest {
22
22
  export interface GetProfileCommandOutput extends ProfileResponse, __MetadataBearer {
23
23
  }
24
24
  declare const GetProfileCommand_base: {
25
- new (input: GetProfileCommandInput): import("@smithy/smithy-client").CommandImpl<GetProfileCommandInput, GetProfileCommandOutput, OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: GetProfileCommandInput): import("@smithy/smithy-client").CommandImpl<GetProfileCommandInput, GetProfileCommandOutput, OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: GetProfileCommandInput): import("@smithy/smithy-client").CommandImpl<GetProfileCommandInput, GetProfileCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: GetProfileCommandInput): import("@smithy/smithy-client").CommandImpl<GetProfileCommandInput, GetProfileCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
30
  * @public
@@ -32,9 +32,9 @@ declare const GetProfileCommand_base: {
32
32
  * @example
33
33
  * Use a bare-bones client and the command you need to make an API call.
34
34
  * ```javascript
35
- * import { OneHookServiceClient, GetProfileCommand } from "onehook-api-client"; // ES Modules import
36
- * // const { OneHookServiceClient, GetProfileCommand } = require("onehook-api-client"); // CommonJS import
37
- * const client = new OneHookServiceClient(config);
35
+ * import { OneHookClient, GetProfileCommand } from "onehook-api-client"; // ES Modules import
36
+ * // const { OneHookClient, GetProfileCommand } = require("onehook-api-client"); // CommonJS import
37
+ * const client = new OneHookClient(config);
38
38
  * const input = { // GetProfileRequest
39
39
  * userId: "STRING_VALUE", // required
40
40
  * };
@@ -109,7 +109,7 @@ declare const GetProfileCommand_base: {
109
109
  * @returns {@link GetProfileCommandOutput}
110
110
  * @see {@link GetProfileCommandInput} for command's `input` shape.
111
111
  * @see {@link GetProfileCommandOutput} for command's `response` shape.
112
- * @see {@link OneHookServiceClientResolvedConfig | config} for OneHookServiceClient's `config` shape.
112
+ * @see {@link OneHookClientResolvedConfig | config} for OneHookClient's `config` shape.
113
113
  *
114
114
  * @throws {@link BadRequestError} (client fault)
115
115
  *
@@ -117,8 +117,9 @@ declare const GetProfileCommand_base: {
117
117
  *
118
118
  * @throws {@link InternalServerError} (server fault)
119
119
  *
120
- * @throws {@link OneHookServiceServiceException}
121
- * <p>Base exception class for all service exceptions from OneHookService service.</p>
120
+ * @throws {@link OneHookServiceException}
121
+ * <p>Base exception class for all service exceptions from OneHook service.</p>
122
+ *
122
123
  *
123
124
  */
124
125
  export declare class GetProfileCommand extends GetProfileCommand_base {
@@ -1,4 +1,4 @@
1
- import { OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookServiceClient";
1
+ import { OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookClient";
2
2
  import { GetStateRequest, UserStateResponse } from "../models/models_0";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
@@ -22,9 +22,9 @@ export interface GetStateCommandInput extends GetStateRequest {
22
22
  export interface GetStateCommandOutput extends UserStateResponse, __MetadataBearer {
23
23
  }
24
24
  declare const GetStateCommand_base: {
25
- new (input: GetStateCommandInput): import("@smithy/smithy-client").CommandImpl<GetStateCommandInput, GetStateCommandOutput, OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: GetStateCommandInput): import("@smithy/smithy-client").CommandImpl<GetStateCommandInput, GetStateCommandOutput, OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: GetStateCommandInput): import("@smithy/smithy-client").CommandImpl<GetStateCommandInput, GetStateCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: GetStateCommandInput): import("@smithy/smithy-client").CommandImpl<GetStateCommandInput, GetStateCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
30
  * @public
@@ -32,9 +32,9 @@ declare const GetStateCommand_base: {
32
32
  * @example
33
33
  * Use a bare-bones client and the command you need to make an API call.
34
34
  * ```javascript
35
- * import { OneHookServiceClient, GetStateCommand } from "onehook-api-client"; // ES Modules import
36
- * // const { OneHookServiceClient, GetStateCommand } = require("onehook-api-client"); // CommonJS import
37
- * const client = new OneHookServiceClient(config);
35
+ * import { OneHookClient, GetStateCommand } from "onehook-api-client"; // ES Modules import
36
+ * // const { OneHookClient, GetStateCommand } = require("onehook-api-client"); // CommonJS import
37
+ * const client = new OneHookClient(config);
38
38
  * const input = { // GetStateRequest
39
39
  * userId: "STRING_VALUE", // required
40
40
  * };
@@ -56,7 +56,7 @@ declare const GetStateCommand_base: {
56
56
  * @returns {@link GetStateCommandOutput}
57
57
  * @see {@link GetStateCommandInput} for command's `input` shape.
58
58
  * @see {@link GetStateCommandOutput} for command's `response` shape.
59
- * @see {@link OneHookServiceClientResolvedConfig | config} for OneHookServiceClient's `config` shape.
59
+ * @see {@link OneHookClientResolvedConfig | config} for OneHookClient's `config` shape.
60
60
  *
61
61
  * @throws {@link BadRequestError} (client fault)
62
62
  *
@@ -64,8 +64,9 @@ declare const GetStateCommand_base: {
64
64
  *
65
65
  * @throws {@link InternalServerError} (server fault)
66
66
  *
67
- * @throws {@link OneHookServiceServiceException}
68
- * <p>Base exception class for all service exceptions from OneHookService service.</p>
67
+ * @throws {@link OneHookServiceException}
68
+ * <p>Base exception class for all service exceptions from OneHook service.</p>
69
+ *
69
70
  *
70
71
  */
71
72
  export declare class GetStateCommand extends GetStateCommand_base {
@@ -1,4 +1,4 @@
1
- import { OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookServiceClient";
1
+ import { OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookClient";
2
2
  import { GetUserByEmailRequest, UserResponse } from "../models/models_0";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
@@ -22,9 +22,9 @@ export interface GetUserByEmailCommandInput extends GetUserByEmailRequest {
22
22
  export interface GetUserByEmailCommandOutput extends UserResponse, __MetadataBearer {
23
23
  }
24
24
  declare const GetUserByEmailCommand_base: {
25
- new (input: GetUserByEmailCommandInput): import("@smithy/smithy-client").CommandImpl<GetUserByEmailCommandInput, GetUserByEmailCommandOutput, OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: GetUserByEmailCommandInput): import("@smithy/smithy-client").CommandImpl<GetUserByEmailCommandInput, GetUserByEmailCommandOutput, OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: GetUserByEmailCommandInput): import("@smithy/smithy-client").CommandImpl<GetUserByEmailCommandInput, GetUserByEmailCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: GetUserByEmailCommandInput): import("@smithy/smithy-client").CommandImpl<GetUserByEmailCommandInput, GetUserByEmailCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
30
  * @public
@@ -32,9 +32,9 @@ declare const GetUserByEmailCommand_base: {
32
32
  * @example
33
33
  * Use a bare-bones client and the command you need to make an API call.
34
34
  * ```javascript
35
- * import { OneHookServiceClient, GetUserByEmailCommand } from "onehook-api-client"; // ES Modules import
36
- * // const { OneHookServiceClient, GetUserByEmailCommand } = require("onehook-api-client"); // CommonJS import
37
- * const client = new OneHookServiceClient(config);
35
+ * import { OneHookClient, GetUserByEmailCommand } from "onehook-api-client"; // ES Modules import
36
+ * // const { OneHookClient, GetUserByEmailCommand } = require("onehook-api-client"); // CommonJS import
37
+ * const client = new OneHookClient(config);
38
38
  * const input = { // GetUserByEmailRequest
39
39
  * email: "STRING_VALUE", // required
40
40
  * };
@@ -58,14 +58,15 @@ declare const GetUserByEmailCommand_base: {
58
58
  * @returns {@link GetUserByEmailCommandOutput}
59
59
  * @see {@link GetUserByEmailCommandInput} for command's `input` shape.
60
60
  * @see {@link GetUserByEmailCommandOutput} for command's `response` shape.
61
- * @see {@link OneHookServiceClientResolvedConfig | config} for OneHookServiceClient's `config` shape.
61
+ * @see {@link OneHookClientResolvedConfig | config} for OneHookClient's `config` shape.
62
62
  *
63
63
  * @throws {@link NotFoundError} (client fault)
64
64
  *
65
65
  * @throws {@link InternalServerError} (server fault)
66
66
  *
67
- * @throws {@link OneHookServiceServiceException}
68
- * <p>Base exception class for all service exceptions from OneHookService service.</p>
67
+ * @throws {@link OneHookServiceException}
68
+ * <p>Base exception class for all service exceptions from OneHook service.</p>
69
+ *
69
70
  *
70
71
  */
71
72
  export declare class GetUserByEmailCommand extends GetUserByEmailCommand_base {
@@ -1,4 +1,4 @@
1
- import { OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookServiceClient";
1
+ import { OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookClient";
2
2
  import { GetUserRequest, UserResponse } from "../models/models_0";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
@@ -22,9 +22,9 @@ export interface GetUserCommandInput extends GetUserRequest {
22
22
  export interface GetUserCommandOutput extends UserResponse, __MetadataBearer {
23
23
  }
24
24
  declare const GetUserCommand_base: {
25
- new (input: GetUserCommandInput): import("@smithy/smithy-client").CommandImpl<GetUserCommandInput, GetUserCommandOutput, OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: GetUserCommandInput): import("@smithy/smithy-client").CommandImpl<GetUserCommandInput, GetUserCommandOutput, OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: GetUserCommandInput): import("@smithy/smithy-client").CommandImpl<GetUserCommandInput, GetUserCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: GetUserCommandInput): import("@smithy/smithy-client").CommandImpl<GetUserCommandInput, GetUserCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
30
  * @public
@@ -32,9 +32,9 @@ declare const GetUserCommand_base: {
32
32
  * @example
33
33
  * Use a bare-bones client and the command you need to make an API call.
34
34
  * ```javascript
35
- * import { OneHookServiceClient, GetUserCommand } from "onehook-api-client"; // ES Modules import
36
- * // const { OneHookServiceClient, GetUserCommand } = require("onehook-api-client"); // CommonJS import
37
- * const client = new OneHookServiceClient(config);
35
+ * import { OneHookClient, GetUserCommand } from "onehook-api-client"; // ES Modules import
36
+ * // const { OneHookClient, GetUserCommand } = require("onehook-api-client"); // CommonJS import
37
+ * const client = new OneHookClient(config);
38
38
  * const input = { // GetUserRequest
39
39
  * userId: "STRING_VALUE", // required
40
40
  * };
@@ -58,14 +58,15 @@ declare const GetUserCommand_base: {
58
58
  * @returns {@link GetUserCommandOutput}
59
59
  * @see {@link GetUserCommandInput} for command's `input` shape.
60
60
  * @see {@link GetUserCommandOutput} for command's `response` shape.
61
- * @see {@link OneHookServiceClientResolvedConfig | config} for OneHookServiceClient's `config` shape.
61
+ * @see {@link OneHookClientResolvedConfig | config} for OneHookClient's `config` shape.
62
62
  *
63
63
  * @throws {@link NotFoundError} (client fault)
64
64
  *
65
65
  * @throws {@link InternalServerError} (server fault)
66
66
  *
67
- * @throws {@link OneHookServiceServiceException}
68
- * <p>Base exception class for all service exceptions from OneHookService service.</p>
67
+ * @throws {@link OneHookServiceException}
68
+ * <p>Base exception class for all service exceptions from OneHook service.</p>
69
+ *
69
70
  *
70
71
  */
71
72
  export declare class GetUserCommand extends GetUserCommand_base {
@@ -1,4 +1,4 @@
1
- import { 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 IndexLocationCommandInput extends LocationRequest {
22
22
  export interface IndexLocationCommandOutput extends StatusResponse, __MetadataBearer {
23
23
  }
24
24
  declare const IndexLocationCommand_base: {
25
- new (input: IndexLocationCommandInput): import("@smithy/smithy-client").CommandImpl<IndexLocationCommandInput, IndexLocationCommandOutput, OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: IndexLocationCommandInput): import("@smithy/smithy-client").CommandImpl<IndexLocationCommandInput, IndexLocationCommandOutput, OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: IndexLocationCommandInput): import("@smithy/smithy-client").CommandImpl<IndexLocationCommandInput, IndexLocationCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: IndexLocationCommandInput): import("@smithy/smithy-client").CommandImpl<IndexLocationCommandInput, IndexLocationCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
30
  * @public
@@ -32,9 +32,9 @@ declare const IndexLocationCommand_base: {
32
32
  * @example
33
33
  * Use a bare-bones client and the command you need to make an API call.
34
34
  * ```javascript
35
- * import { OneHookServiceClient, IndexLocationCommand } from "onehook-api-client"; // ES Modules import
36
- * // const { OneHookServiceClient, IndexLocationCommand } = require("onehook-api-client"); // CommonJS import
37
- * const client = new OneHookServiceClient(config);
35
+ * import { OneHookClient, IndexLocationCommand } from "onehook-api-client"; // ES Modules import
36
+ * // const { OneHookClient, IndexLocationCommand } = require("onehook-api-client"); // CommonJS import
37
+ * const client = new OneHookClient(config);
38
38
  * const input = { // LocationRequest
39
39
  * lat: Number("double"), // required
40
40
  * lon: Number("double"), // required
@@ -51,14 +51,15 @@ declare const IndexLocationCommand_base: {
51
51
  * @returns {@link IndexLocationCommandOutput}
52
52
  * @see {@link IndexLocationCommandInput} for command's `input` shape.
53
53
  * @see {@link IndexLocationCommandOutput} for command's `response` shape.
54
- * @see {@link 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 IndexLocationCommand extends IndexLocationCommand_base {
@@ -1,4 +1,4 @@
1
- import { OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookServiceClient";
1
+ import { OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookClient";
2
2
  import { InitUserRequest, StatusResponse } from "../models/models_0";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
@@ -22,9 +22,9 @@ export interface InitUserCommandInput extends InitUserRequest {
22
22
  export interface InitUserCommandOutput extends StatusResponse, __MetadataBearer {
23
23
  }
24
24
  declare const InitUserCommand_base: {
25
- new (input: InitUserCommandInput): import("@smithy/smithy-client").CommandImpl<InitUserCommandInput, InitUserCommandOutput, OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (...[input]: [] | [InitUserCommandInput]): import("@smithy/smithy-client").CommandImpl<InitUserCommandInput, InitUserCommandOutput, OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: InitUserCommandInput): import("@smithy/smithy-client").CommandImpl<InitUserCommandInput, InitUserCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [InitUserCommandInput]): import("@smithy/smithy-client").CommandImpl<InitUserCommandInput, InitUserCommandOutput, OneHookClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
30
  * @public
@@ -32,9 +32,9 @@ declare const InitUserCommand_base: {
32
32
  * @example
33
33
  * Use a bare-bones client and the command you need to make an API call.
34
34
  * ```javascript
35
- * import { OneHookServiceClient, InitUserCommand } from "onehook-api-client"; // ES Modules import
36
- * // const { OneHookServiceClient, InitUserCommand } = require("onehook-api-client"); // CommonJS import
37
- * const client = new OneHookServiceClient(config);
35
+ * import { OneHookClient, InitUserCommand } from "onehook-api-client"; // ES Modules import
36
+ * // const { OneHookClient, InitUserCommand } = require("onehook-api-client"); // CommonJS import
37
+ * const client = new OneHookClient(config);
38
38
  * const input = {};
39
39
  * const command = new InitUserCommand(input);
40
40
  * const response = await client.send(command);
@@ -48,14 +48,15 @@ declare const InitUserCommand_base: {
48
48
  * @returns {@link InitUserCommandOutput}
49
49
  * @see {@link InitUserCommandInput} for command's `input` shape.
50
50
  * @see {@link InitUserCommandOutput} for command's `response` shape.
51
- * @see {@link 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
  *
55
55
  * @throws {@link InternalServerError} (server fault)
56
56
  *
57
- * @throws {@link OneHookServiceServiceException}
58
- * <p>Base exception class for all service exceptions from OneHookService service.</p>
57
+ * @throws {@link OneHookServiceException}
58
+ * <p>Base exception class for all service exceptions from OneHook service.</p>
59
+ *
59
60
  *
60
61
  */
61
62
  export declare class InitUserCommand extends InitUserCommand_base {