onehook-api-client 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/dist-cjs/OneHookService.js +83 -0
- package/dist-cjs/OneHookServiceClient.js +43 -0
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +35 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +35 -0
- package/dist-cjs/commands/AuthSocialCommand.js +21 -0
- package/dist-cjs/commands/ClaimPreKeyBundleCommand.js +21 -0
- package/dist-cjs/commands/CompleteLivenessSessionCommand.js +21 -0
- package/dist-cjs/commands/CompleteOnboardingCommand.js +21 -0
- package/dist-cjs/commands/CreateLivenessSessionCommand.js +21 -0
- package/dist-cjs/commands/DeleteMatchMessagesCommand.js +21 -0
- package/dist-cjs/commands/DeleteProfileCommand.js +21 -0
- package/dist-cjs/commands/DiscoverCommand.js +21 -0
- package/dist-cjs/commands/GenerateInviteCommand.js +21 -0
- package/dist-cjs/commands/GenerateUploadUrlCommand.js +21 -0
- package/dist-cjs/commands/GetMatchCommand.js +21 -0
- package/dist-cjs/commands/GetMyProfileCommand.js +21 -0
- package/dist-cjs/commands/GetPreferencesCommand.js +21 -0
- package/dist-cjs/commands/GetProfileCommand.js +21 -0
- package/dist-cjs/commands/GetStateCommand.js +21 -0
- package/dist-cjs/commands/GetUserByEmailCommand.js +21 -0
- package/dist-cjs/commands/GetUserCommand.js +21 -0
- package/dist-cjs/commands/IndexLocationCommand.js +21 -0
- package/dist-cjs/commands/InitUserCommand.js +21 -0
- package/dist-cjs/commands/LinkEmailCommand.js +21 -0
- package/dist-cjs/commands/LinkSocialCommand.js +21 -0
- package/dist-cjs/commands/RegisterPhoneCommand.js +21 -0
- package/dist-cjs/commands/RemoveLocationCommand.js +21 -0
- package/dist-cjs/commands/RequestEmailOtpCommand.js +21 -0
- package/dist-cjs/commands/RequestPhoneOtpCommand.js +21 -0
- package/dist-cjs/commands/RequestPhoneUpdateOtpCommand.js +21 -0
- package/dist-cjs/commands/SwipeCommand.js +21 -0
- package/dist-cjs/commands/UnhookCommand.js +21 -0
- package/dist-cjs/commands/UnlinkSocialCommand.js +21 -0
- package/dist-cjs/commands/UpdateEntitlementsCommand.js +21 -0
- package/dist-cjs/commands/UpdatePhoneNumberCommand.js +21 -0
- package/dist-cjs/commands/UpdatePreferencesCommand.js +21 -0
- package/dist-cjs/commands/UpdateProfileCommand.js +21 -0
- package/dist-cjs/commands/UpgradeUserCommand.js +21 -0
- package/dist-cjs/commands/UploadPreKeysCommand.js +21 -0
- package/dist-cjs/commands/ValidateInviteCommand.js +21 -0
- package/dist-cjs/commands/index.js +39 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/graphql/types.js +11 -0
- package/dist-cjs/index.js +10 -0
- package/dist-cjs/models/OneHookServiceServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +60 -0
- package/dist-cjs/protocols/Aws_restJson1.js +1349 -0
- package/dist-cjs/runtimeConfig.browser.js +32 -0
- package/dist-cjs/runtimeConfig.js +37 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +29 -0
- package/dist-cjs/runtimeExtensions.js +22 -0
- package/dist-es/OneHookService.js +79 -0
- package/dist-es/OneHookServiceClient.js +39 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +30 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +29 -0
- package/dist-es/commands/AuthSocialCommand.js +17 -0
- package/dist-es/commands/ClaimPreKeyBundleCommand.js +17 -0
- package/dist-es/commands/CompleteLivenessSessionCommand.js +17 -0
- package/dist-es/commands/CompleteOnboardingCommand.js +17 -0
- package/dist-es/commands/CreateLivenessSessionCommand.js +17 -0
- package/dist-es/commands/DeleteMatchMessagesCommand.js +17 -0
- package/dist-es/commands/DeleteProfileCommand.js +17 -0
- package/dist-es/commands/DiscoverCommand.js +17 -0
- package/dist-es/commands/GenerateInviteCommand.js +17 -0
- package/dist-es/commands/GenerateUploadUrlCommand.js +17 -0
- package/dist-es/commands/GetMatchCommand.js +17 -0
- package/dist-es/commands/GetMyProfileCommand.js +17 -0
- package/dist-es/commands/GetPreferencesCommand.js +17 -0
- package/dist-es/commands/GetProfileCommand.js +17 -0
- package/dist-es/commands/GetStateCommand.js +17 -0
- package/dist-es/commands/GetUserByEmailCommand.js +17 -0
- package/dist-es/commands/GetUserCommand.js +17 -0
- package/dist-es/commands/IndexLocationCommand.js +17 -0
- package/dist-es/commands/InitUserCommand.js +17 -0
- package/dist-es/commands/LinkEmailCommand.js +17 -0
- package/dist-es/commands/LinkSocialCommand.js +17 -0
- package/dist-es/commands/RegisterPhoneCommand.js +17 -0
- package/dist-es/commands/RemoveLocationCommand.js +17 -0
- package/dist-es/commands/RequestEmailOtpCommand.js +17 -0
- package/dist-es/commands/RequestPhoneOtpCommand.js +17 -0
- package/dist-es/commands/RequestPhoneUpdateOtpCommand.js +17 -0
- package/dist-es/commands/SwipeCommand.js +17 -0
- package/dist-es/commands/UnhookCommand.js +17 -0
- package/dist-es/commands/UnlinkSocialCommand.js +17 -0
- package/dist-es/commands/UpdateEntitlementsCommand.js +17 -0
- package/dist-es/commands/UpdatePhoneNumberCommand.js +17 -0
- package/dist-es/commands/UpdatePreferencesCommand.js +17 -0
- package/dist-es/commands/UpdateProfileCommand.js +17 -0
- package/dist-es/commands/UpgradeUserCommand.js +17 -0
- package/dist-es/commands/UploadPreKeysCommand.js +17 -0
- package/dist-es/commands/ValidateInviteCommand.js +17 -0
- package/dist-es/commands/index.js +36 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/graphql/types.js +8 -0
- package/dist-es/index.js +5 -0
- package/dist-es/models/OneHookServiceServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +53 -0
- package/dist-es/protocols/Aws_restJson1.js +1273 -0
- package/dist-es/runtimeConfig.browser.js +27 -0
- package/dist-es/runtimeConfig.js +32 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +25 -0
- package/dist-es/runtimeExtensions.js +18 -0
- package/dist-types/OneHookService.d.ts +267 -0
- package/dist-types/OneHookServiceClient.d.ts +179 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +26 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +59 -0
- package/dist-types/commands/AuthSocialCommand.d.ts +78 -0
- package/dist-types/commands/ClaimPreKeyBundleCommand.d.ts +87 -0
- package/dist-types/commands/CompleteLivenessSessionCommand.d.ts +80 -0
- package/dist-types/commands/CompleteOnboardingCommand.d.ts +75 -0
- package/dist-types/commands/CreateLivenessSessionCommand.d.ts +75 -0
- package/dist-types/commands/DeleteMatchMessagesCommand.d.ts +77 -0
- package/dist-types/commands/DeleteProfileCommand.d.ts +77 -0
- package/dist-types/commands/DiscoverCommand.d.ts +84 -0
- package/dist-types/commands/GenerateInviteCommand.d.ts +78 -0
- package/dist-types/commands/GenerateUploadUrlCommand.d.ts +80 -0
- package/dist-types/commands/GetMatchCommand.d.ts +87 -0
- package/dist-types/commands/GetMyProfileCommand.d.ts +136 -0
- package/dist-types/commands/GetPreferencesCommand.d.ts +83 -0
- package/dist-types/commands/GetProfileCommand.d.ts +136 -0
- package/dist-types/commands/GetStateCommand.d.ts +83 -0
- package/dist-types/commands/GetUserByEmailCommand.d.ts +83 -0
- package/dist-types/commands/GetUserCommand.d.ts +83 -0
- package/dist-types/commands/IndexLocationCommand.d.ts +76 -0
- package/dist-types/commands/InitUserCommand.d.ts +73 -0
- package/dist-types/commands/LinkEmailCommand.d.ts +76 -0
- package/dist-types/commands/LinkSocialCommand.d.ts +76 -0
- package/dist-types/commands/RegisterPhoneCommand.d.ts +79 -0
- package/dist-types/commands/RemoveLocationCommand.d.ts +76 -0
- package/dist-types/commands/RequestEmailOtpCommand.d.ts +76 -0
- package/dist-types/commands/RequestPhoneOtpCommand.d.ts +75 -0
- package/dist-types/commands/RequestPhoneUpdateOtpCommand.d.ts +75 -0
- package/dist-types/commands/SwipeCommand.d.ts +79 -0
- package/dist-types/commands/UnhookCommand.d.ts +78 -0
- package/dist-types/commands/UnlinkSocialCommand.d.ts +75 -0
- package/dist-types/commands/UpdateEntitlementsCommand.d.ts +87 -0
- package/dist-types/commands/UpdatePhoneNumberCommand.d.ts +77 -0
- package/dist-types/commands/UpdatePreferencesCommand.d.ts +81 -0
- package/dist-types/commands/UpdateProfileCommand.d.ts +130 -0
- package/dist-types/commands/UpgradeUserCommand.d.ts +81 -0
- package/dist-types/commands/UploadPreKeysCommand.d.ts +81 -0
- package/dist-types/commands/ValidateInviteCommand.d.ts +78 -0
- package/dist-types/commands/index.d.ts +36 -0
- package/dist-types/extensionConfiguration.d.ts +8 -0
- package/dist-types/graphql/types.d.ts +110 -0
- package/dist-types/index.d.ts +7 -0
- package/dist-types/models/OneHookServiceServiceException.d.ts +14 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +614 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +326 -0
- package/dist-types/runtimeConfig.browser.d.ts +38 -0
- package/dist-types/runtimeConfig.d.ts +38 -0
- package/dist-types/runtimeConfig.native.d.ts +37 -0
- package/dist-types/runtimeConfig.shared.d.ts +23 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/package.json +95 -0
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OneHookServiceClient";
|
|
2
|
+
import { ValidateInviteRequest, ValidateInviteResponse } from "../models/models_0";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ValidateInviteCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ValidateInviteCommandInput extends ValidateInviteRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ValidateInviteCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ValidateInviteCommandOutput extends ValidateInviteResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ValidateInviteCommand_base: {
|
|
25
|
+
new (input: ValidateInviteCommandInput): import("@smithy/smithy-client").CommandImpl<ValidateInviteCommandInput, ValidateInviteCommandOutput, OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: ValidateInviteCommandInput): import("@smithy/smithy-client").CommandImpl<ValidateInviteCommandInput, ValidateInviteCommandOutput, OneHookServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* @public
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { OneHookServiceClient, ValidateInviteCommand } from "onehook-api-client"; // ES Modules import
|
|
36
|
+
* // const { OneHookServiceClient, ValidateInviteCommand } = require("onehook-api-client"); // CommonJS import
|
|
37
|
+
* const client = new OneHookServiceClient(config);
|
|
38
|
+
* const input = { // ValidateInviteRequest
|
|
39
|
+
* inviteCode: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
41
|
+
* const command = new ValidateInviteCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // ValidateInviteResponse
|
|
44
|
+
* // status: "STRING_VALUE", // required
|
|
45
|
+
* // referrerId: "STRING_VALUE",
|
|
46
|
+
* // usedCount: Number("int"), // required
|
|
47
|
+
* // maxUses: Number("int"), // required
|
|
48
|
+
* // };
|
|
49
|
+
*
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* @param ValidateInviteCommandInput - {@link ValidateInviteCommandInput}
|
|
53
|
+
* @returns {@link ValidateInviteCommandOutput}
|
|
54
|
+
* @see {@link ValidateInviteCommandInput} for command's `input` shape.
|
|
55
|
+
* @see {@link ValidateInviteCommandOutput} for command's `response` shape.
|
|
56
|
+
* @see {@link OneHookServiceClientResolvedConfig | config} for OneHookServiceClient's `config` shape.
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link BadRequestError} (client fault)
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link InternalServerError} (server fault)
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link OneHookServiceServiceException}
|
|
63
|
+
* <p>Base exception class for all service exceptions from OneHookService service.</p>
|
|
64
|
+
*
|
|
65
|
+
*/
|
|
66
|
+
export declare class ValidateInviteCommand extends ValidateInviteCommand_base {
|
|
67
|
+
/** @internal type navigation helper, not in runtime. */
|
|
68
|
+
protected static __types: {
|
|
69
|
+
api: {
|
|
70
|
+
input: ValidateInviteRequest;
|
|
71
|
+
output: ValidateInviteResponse;
|
|
72
|
+
};
|
|
73
|
+
sdk: {
|
|
74
|
+
input: ValidateInviteCommandInput;
|
|
75
|
+
output: ValidateInviteCommandOutput;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export * from "./ClaimPreKeyBundleCommand";
|
|
2
|
+
export * from "./DeleteMatchMessagesCommand";
|
|
3
|
+
export * from "./UploadPreKeysCommand";
|
|
4
|
+
export * from "./AuthSocialCommand";
|
|
5
|
+
export * from "./GenerateInviteCommand";
|
|
6
|
+
export * from "./GetUserCommand";
|
|
7
|
+
export * from "./GetUserByEmailCommand";
|
|
8
|
+
export * from "./LinkEmailCommand";
|
|
9
|
+
export * from "./LinkSocialCommand";
|
|
10
|
+
export * from "./RegisterPhoneCommand";
|
|
11
|
+
export * from "./RequestEmailOtpCommand";
|
|
12
|
+
export * from "./RequestPhoneOtpCommand";
|
|
13
|
+
export * from "./RequestPhoneUpdateOtpCommand";
|
|
14
|
+
export * from "./UnlinkSocialCommand";
|
|
15
|
+
export * from "./UpdateEntitlementsCommand";
|
|
16
|
+
export * from "./UpdatePhoneNumberCommand";
|
|
17
|
+
export * from "./ValidateInviteCommand";
|
|
18
|
+
export * from "./DiscoverCommand";
|
|
19
|
+
export * from "./GetPreferencesCommand";
|
|
20
|
+
export * from "./IndexLocationCommand";
|
|
21
|
+
export * from "./RemoveLocationCommand";
|
|
22
|
+
export * from "./SwipeCommand";
|
|
23
|
+
export * from "./UpdatePreferencesCommand";
|
|
24
|
+
export * from "./CompleteLivenessSessionCommand";
|
|
25
|
+
export * from "./CreateLivenessSessionCommand";
|
|
26
|
+
export * from "./DeleteProfileCommand";
|
|
27
|
+
export * from "./GenerateUploadUrlCommand";
|
|
28
|
+
export * from "./GetMyProfileCommand";
|
|
29
|
+
export * from "./GetProfileCommand";
|
|
30
|
+
export * from "./UpdateProfileCommand";
|
|
31
|
+
export * from "./CompleteOnboardingCommand";
|
|
32
|
+
export * from "./GetMatchCommand";
|
|
33
|
+
export * from "./GetStateCommand";
|
|
34
|
+
export * from "./InitUserCommand";
|
|
35
|
+
export * from "./UnhookCommand";
|
|
36
|
+
export * from "./UpgradeUserCommand";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
2
|
+
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
3
|
+
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
|
+
/**
|
|
5
|
+
* @internal
|
|
6
|
+
*/
|
|
7
|
+
export interface OneHookServiceExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, HttpAuthExtensionConfiguration {
|
|
8
|
+
}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
export type Maybe<T> = T | null;
|
|
2
|
+
export type InputMaybe<T> = Maybe<T>;
|
|
3
|
+
/** All built-in and custom scalars, mapped to their actual values */
|
|
4
|
+
export type Scalars = {
|
|
5
|
+
ID: {
|
|
6
|
+
input: string;
|
|
7
|
+
output: string;
|
|
8
|
+
};
|
|
9
|
+
String: {
|
|
10
|
+
input: string;
|
|
11
|
+
output: string;
|
|
12
|
+
};
|
|
13
|
+
Boolean: {
|
|
14
|
+
input: boolean;
|
|
15
|
+
output: boolean;
|
|
16
|
+
};
|
|
17
|
+
Int: {
|
|
18
|
+
input: number;
|
|
19
|
+
output: number;
|
|
20
|
+
};
|
|
21
|
+
Float: {
|
|
22
|
+
input: number;
|
|
23
|
+
output: number;
|
|
24
|
+
};
|
|
25
|
+
AWSTimestamp: {
|
|
26
|
+
input: unknown;
|
|
27
|
+
output: unknown;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
export type DeletedMessage = {
|
|
31
|
+
__typename?: 'DeletedMessage';
|
|
32
|
+
matchId: Scalars['ID']['output'];
|
|
33
|
+
messageId: Scalars['ID']['output'];
|
|
34
|
+
timestamp: Scalars['AWSTimestamp']['output'];
|
|
35
|
+
};
|
|
36
|
+
export type Message = {
|
|
37
|
+
__typename?: 'Message';
|
|
38
|
+
ciphertext: Scalars['String']['output'];
|
|
39
|
+
deliveredAt?: Maybe<Scalars['AWSTimestamp']['output']>;
|
|
40
|
+
matchId: Scalars['ID']['output'];
|
|
41
|
+
messageId: Scalars['ID']['output'];
|
|
42
|
+
readAt?: Maybe<Scalars['AWSTimestamp']['output']>;
|
|
43
|
+
senderId: Scalars['String']['output'];
|
|
44
|
+
status: MessageStatus;
|
|
45
|
+
timestamp: Scalars['AWSTimestamp']['output'];
|
|
46
|
+
};
|
|
47
|
+
export type MessageReceipt = {
|
|
48
|
+
__typename?: 'MessageReceipt';
|
|
49
|
+
messageId: Scalars['ID']['output'];
|
|
50
|
+
status: MessageStatus;
|
|
51
|
+
timestamp: Scalars['AWSTimestamp']['output'];
|
|
52
|
+
};
|
|
53
|
+
export declare enum MessageStatus {
|
|
54
|
+
Delivered = "DELIVERED",
|
|
55
|
+
Failed = "FAILED",
|
|
56
|
+
Read = "READ",
|
|
57
|
+
Sending = "SENDING",
|
|
58
|
+
Sent = "SENT"
|
|
59
|
+
}
|
|
60
|
+
export type Mutation = {
|
|
61
|
+
__typename?: 'Mutation';
|
|
62
|
+
deleteMessage?: Maybe<DeletedMessage>;
|
|
63
|
+
markAsDelivered?: Maybe<MessageReceipt>;
|
|
64
|
+
markAsRead?: Maybe<MessageReceipt>;
|
|
65
|
+
sendMessage?: Maybe<Message>;
|
|
66
|
+
};
|
|
67
|
+
export type MutationDeleteMessageArgs = {
|
|
68
|
+
matchId: Scalars['ID']['input'];
|
|
69
|
+
timestamp: Scalars['AWSTimestamp']['input'];
|
|
70
|
+
};
|
|
71
|
+
export type MutationMarkAsDeliveredArgs = {
|
|
72
|
+
matchId: Scalars['ID']['input'];
|
|
73
|
+
messageId: Scalars['ID']['input'];
|
|
74
|
+
timestamp: Scalars['AWSTimestamp']['input'];
|
|
75
|
+
userId: Scalars['String']['input'];
|
|
76
|
+
};
|
|
77
|
+
export type MutationMarkAsReadArgs = {
|
|
78
|
+
matchId: Scalars['ID']['input'];
|
|
79
|
+
messageId: Scalars['ID']['input'];
|
|
80
|
+
timestamp: Scalars['AWSTimestamp']['input'];
|
|
81
|
+
userId: Scalars['String']['input'];
|
|
82
|
+
};
|
|
83
|
+
export type MutationSendMessageArgs = {
|
|
84
|
+
ciphertext: Scalars['String']['input'];
|
|
85
|
+
matchId: Scalars['ID']['input'];
|
|
86
|
+
senderId: Scalars['String']['input'];
|
|
87
|
+
};
|
|
88
|
+
export type Query = {
|
|
89
|
+
__typename?: 'Query';
|
|
90
|
+
getMessages?: Maybe<Array<Maybe<Message>>>;
|
|
91
|
+
};
|
|
92
|
+
export type QueryGetMessagesArgs = {
|
|
93
|
+
after?: InputMaybe<Scalars['AWSTimestamp']['input']>;
|
|
94
|
+
matchId: Scalars['ID']['input'];
|
|
95
|
+
};
|
|
96
|
+
export type Subscription = {
|
|
97
|
+
__typename?: 'Subscription';
|
|
98
|
+
onMessageDeleted?: Maybe<DeletedMessage>;
|
|
99
|
+
onMessageStatusUpdate?: Maybe<MessageReceipt>;
|
|
100
|
+
onNewMessage?: Maybe<Message>;
|
|
101
|
+
};
|
|
102
|
+
export type SubscriptionOnMessageDeletedArgs = {
|
|
103
|
+
matchId: Scalars['ID']['input'];
|
|
104
|
+
};
|
|
105
|
+
export type SubscriptionOnMessageStatusUpdateArgs = {
|
|
106
|
+
matchId: Scalars['ID']['input'];
|
|
107
|
+
};
|
|
108
|
+
export type SubscriptionOnNewMessageArgs = {
|
|
109
|
+
matchId: Scalars['ID']['input'];
|
|
110
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export * from "./OneHookServiceClient";
|
|
2
|
+
export * from "./OneHookService";
|
|
3
|
+
export type { RuntimeExtension } from "./runtimeExtensions";
|
|
4
|
+
export type { OneHookServiceExtensionConfiguration } from "./extensionConfiguration";
|
|
5
|
+
export * from "./commands";
|
|
6
|
+
export * from "./models";
|
|
7
|
+
export { OneHookServiceServiceException } from "./models/OneHookServiceServiceException";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@smithy/smithy-client";
|
|
2
|
+
export type { __ServiceExceptionOptions };
|
|
3
|
+
export { __ServiceException };
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*
|
|
7
|
+
* Base exception class for all service exceptions from OneHookService service.
|
|
8
|
+
*/
|
|
9
|
+
export declare class OneHookServiceServiceException extends __ServiceException {
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
constructor(options: __ServiceExceptionOptions);
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./models_0";
|