@aws-sdk/client-connect 3.989.0 → 3.990.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/README.md +56 -0
- package/dist-cjs/index.js +149 -0
- package/dist-cjs/schemas/schemas_0.js +222 -36
- package/dist-es/Connect.js +16 -0
- package/dist-es/commands/CreateNotificationCommand.js +16 -0
- package/dist-es/commands/DeleteNotificationCommand.js +16 -0
- package/dist-es/commands/DescribeNotificationCommand.js +16 -0
- package/dist-es/commands/ListNotificationsCommand.js +16 -0
- package/dist-es/commands/ListUserNotificationsCommand.js +16 -0
- package/dist-es/commands/SearchNotificationsCommand.js +16 -0
- package/dist-es/commands/UpdateNotificationContentCommand.js +16 -0
- package/dist-es/commands/UpdateUserNotificationStatusCommand.js +16 -0
- package/dist-es/commands/index.js +8 -0
- package/dist-es/models/enums.js +32 -0
- package/dist-es/schemas/schemas_0.js +194 -9
- package/dist-types/Connect.d.ts +56 -0
- package/dist-types/ConnectClient.d.ts +10 -2
- package/dist-types/commands/CreateNotificationCommand.d.ts +109 -0
- package/dist-types/commands/DeleteNotificationCommand.d.ts +91 -0
- package/dist-types/commands/DescribeNotificationCommand.d.ts +110 -0
- package/dist-types/commands/GetTrafficDistributionCommand.d.ts +2 -1
- package/dist-types/commands/ImportPhoneNumberCommand.d.ts +1 -1
- package/dist-types/commands/ImportWorkspaceMediaCommand.d.ts +1 -1
- package/dist-types/commands/ListNotificationsCommand.d.ts +114 -0
- package/dist-types/commands/ListUserNotificationsCommand.d.ts +110 -0
- package/dist-types/commands/SearchNotificationsCommand.d.ts +165 -0
- package/dist-types/commands/SearchUserHierarchyGroupsCommand.d.ts +1 -2
- package/dist-types/commands/SearchUsersCommand.d.ts +1 -2
- package/dist-types/commands/SearchViewsCommand.d.ts +1 -2
- package/dist-types/commands/SearchVocabulariesCommand.d.ts +1 -1
- package/dist-types/commands/UpdateNotificationContentCommand.d.ts +94 -0
- package/dist-types/commands/UpdateUserNotificationStatusCommand.d.ts +95 -0
- package/dist-types/commands/index.d.ts +8 -0
- package/dist-types/models/enums.d.ts +72 -0
- package/dist-types/models/models_0.d.ts +64 -48
- package/dist-types/models/models_1.d.ts +151 -140
- package/dist-types/models/models_2.d.ts +402 -469
- package/dist-types/models/models_3.d.ts +545 -4
- package/dist-types/schemas/schemas_0.d.ts +29 -0
- package/dist-types/ts3.4/Connect.d.ts +136 -0
- package/dist-types/ts3.4/ConnectClient.d.ts +48 -0
- package/dist-types/ts3.4/commands/CreateNotificationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteNotificationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeNotificationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetTrafficDistributionCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ImportPhoneNumberCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ImportWorkspaceMediaCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListNotificationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListUserNotificationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/SearchNotificationsCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/SearchUserHierarchyGroupsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/SearchUsersCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/SearchViewsCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/SearchVocabulariesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateNotificationContentCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateUserNotificationStatusCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +8 -0
- package/dist-types/ts3.4/models/enums.d.ts +41 -0
- package/dist-types/ts3.4/models/models_0.d.ts +16 -11
- package/dist-types/ts3.4/models/models_1.d.ts +40 -34
- package/dist-types/ts3.4/models/models_2.d.ts +90 -98
- package/dist-types/ts3.4/models/models_3.d.ts +126 -7
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +29 -0
- package/package.json +6 -6
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
ConnectClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../ConnectClient";
|
|
8
|
+
import {
|
|
9
|
+
DeleteNotificationRequest,
|
|
10
|
+
DeleteNotificationResponse,
|
|
11
|
+
} from "../models/models_1";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface DeleteNotificationCommandInput
|
|
15
|
+
extends DeleteNotificationRequest {}
|
|
16
|
+
export interface DeleteNotificationCommandOutput
|
|
17
|
+
extends DeleteNotificationResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const DeleteNotificationCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: DeleteNotificationCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
DeleteNotificationCommandInput,
|
|
24
|
+
DeleteNotificationCommandOutput,
|
|
25
|
+
ConnectClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: DeleteNotificationCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
DeleteNotificationCommandInput,
|
|
33
|
+
DeleteNotificationCommandOutput,
|
|
34
|
+
ConnectClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class DeleteNotificationCommand extends DeleteNotificationCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: DeleteNotificationRequest;
|
|
44
|
+
output: {};
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: DeleteNotificationCommandInput;
|
|
48
|
+
output: DeleteNotificationCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
ConnectClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../ConnectClient";
|
|
8
|
+
import {
|
|
9
|
+
DescribeNotificationRequest,
|
|
10
|
+
DescribeNotificationResponse,
|
|
11
|
+
} from "../models/models_1";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface DescribeNotificationCommandInput
|
|
15
|
+
extends DescribeNotificationRequest {}
|
|
16
|
+
export interface DescribeNotificationCommandOutput
|
|
17
|
+
extends DescribeNotificationResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const DescribeNotificationCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: DescribeNotificationCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
DescribeNotificationCommandInput,
|
|
24
|
+
DescribeNotificationCommandOutput,
|
|
25
|
+
ConnectClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: DescribeNotificationCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
DescribeNotificationCommandInput,
|
|
33
|
+
DescribeNotificationCommandOutput,
|
|
34
|
+
ConnectClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class DescribeNotificationCommand extends DescribeNotificationCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: DescribeNotificationRequest;
|
|
44
|
+
output: DescribeNotificationResponse;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: DescribeNotificationCommandInput;
|
|
48
|
+
output: DescribeNotificationCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -5,10 +5,8 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../ConnectClient";
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
GetTrafficDistributionResponse,
|
|
11
|
-
} from "../models/models_1";
|
|
8
|
+
import { GetTrafficDistributionRequest } from "../models/models_1";
|
|
9
|
+
import { GetTrafficDistributionResponse } from "../models/models_2";
|
|
12
10
|
export { __MetadataBearer };
|
|
13
11
|
export { $Command };
|
|
14
12
|
export interface GetTrafficDistributionCommandInput
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
ConnectClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../ConnectClient";
|
|
8
|
+
import {
|
|
9
|
+
ListNotificationsRequest,
|
|
10
|
+
ListNotificationsResponse,
|
|
11
|
+
} from "../models/models_2";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface ListNotificationsCommandInput
|
|
15
|
+
extends ListNotificationsRequest {}
|
|
16
|
+
export interface ListNotificationsCommandOutput
|
|
17
|
+
extends ListNotificationsResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const ListNotificationsCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: ListNotificationsCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
ListNotificationsCommandInput,
|
|
24
|
+
ListNotificationsCommandOutput,
|
|
25
|
+
ConnectClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: ListNotificationsCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
ListNotificationsCommandInput,
|
|
33
|
+
ListNotificationsCommandOutput,
|
|
34
|
+
ConnectClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class ListNotificationsCommand extends ListNotificationsCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: ListNotificationsRequest;
|
|
44
|
+
output: ListNotificationsResponse;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: ListNotificationsCommandInput;
|
|
48
|
+
output: ListNotificationsCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
ConnectClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../ConnectClient";
|
|
8
|
+
import {
|
|
9
|
+
ListUserNotificationsRequest,
|
|
10
|
+
ListUserNotificationsResponse,
|
|
11
|
+
} from "../models/models_2";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface ListUserNotificationsCommandInput
|
|
15
|
+
extends ListUserNotificationsRequest {}
|
|
16
|
+
export interface ListUserNotificationsCommandOutput
|
|
17
|
+
extends ListUserNotificationsResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const ListUserNotificationsCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: ListUserNotificationsCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
ListUserNotificationsCommandInput,
|
|
24
|
+
ListUserNotificationsCommandOutput,
|
|
25
|
+
ConnectClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: ListUserNotificationsCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
ListUserNotificationsCommandInput,
|
|
33
|
+
ListUserNotificationsCommandOutput,
|
|
34
|
+
ConnectClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class ListUserNotificationsCommand extends ListUserNotificationsCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: ListUserNotificationsRequest;
|
|
44
|
+
output: ListUserNotificationsResponse;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: ListUserNotificationsCommandInput;
|
|
48
|
+
output: ListUserNotificationsCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
ConnectClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../ConnectClient";
|
|
8
|
+
import { SearchNotificationsResponse } from "../models/models_2";
|
|
9
|
+
import { SearchNotificationsRequest } from "../models/models_3";
|
|
10
|
+
export { __MetadataBearer };
|
|
11
|
+
export { $Command };
|
|
12
|
+
export interface SearchNotificationsCommandInput
|
|
13
|
+
extends SearchNotificationsRequest {}
|
|
14
|
+
export interface SearchNotificationsCommandOutput
|
|
15
|
+
extends SearchNotificationsResponse,
|
|
16
|
+
__MetadataBearer {}
|
|
17
|
+
declare const SearchNotificationsCommand_base: {
|
|
18
|
+
new (
|
|
19
|
+
input: SearchNotificationsCommandInput
|
|
20
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
21
|
+
SearchNotificationsCommandInput,
|
|
22
|
+
SearchNotificationsCommandOutput,
|
|
23
|
+
ConnectClientResolvedConfig,
|
|
24
|
+
ServiceInputTypes,
|
|
25
|
+
ServiceOutputTypes
|
|
26
|
+
>;
|
|
27
|
+
new (
|
|
28
|
+
input: SearchNotificationsCommandInput
|
|
29
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
30
|
+
SearchNotificationsCommandInput,
|
|
31
|
+
SearchNotificationsCommandOutput,
|
|
32
|
+
ConnectClientResolvedConfig,
|
|
33
|
+
ServiceInputTypes,
|
|
34
|
+
ServiceOutputTypes
|
|
35
|
+
>;
|
|
36
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
37
|
+
};
|
|
38
|
+
export declare class SearchNotificationsCommand extends SearchNotificationsCommand_base {
|
|
39
|
+
protected static __types: {
|
|
40
|
+
api: {
|
|
41
|
+
input: SearchNotificationsRequest;
|
|
42
|
+
output: SearchNotificationsResponse;
|
|
43
|
+
};
|
|
44
|
+
sdk: {
|
|
45
|
+
input: SearchNotificationsCommandInput;
|
|
46
|
+
output: SearchNotificationsCommandOutput;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
}
|
|
@@ -5,8 +5,10 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../ConnectClient";
|
|
8
|
-
import {
|
|
9
|
-
|
|
8
|
+
import {
|
|
9
|
+
SearchUserHierarchyGroupsRequest,
|
|
10
|
+
SearchUserHierarchyGroupsResponse,
|
|
11
|
+
} from "../models/models_3";
|
|
10
12
|
export { __MetadataBearer };
|
|
11
13
|
export { $Command };
|
|
12
14
|
export interface SearchUserHierarchyGroupsCommandInput
|
|
@@ -5,8 +5,7 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../ConnectClient";
|
|
8
|
-
import { SearchUsersResponse } from "../models/
|
|
9
|
-
import { SearchUsersRequest } from "../models/models_3";
|
|
8
|
+
import { SearchUsersRequest, SearchUsersResponse } from "../models/models_3";
|
|
10
9
|
export { __MetadataBearer };
|
|
11
10
|
export { $Command };
|
|
12
11
|
export interface SearchUsersCommandInput extends SearchUsersRequest {}
|
|
@@ -5,8 +5,7 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../ConnectClient";
|
|
8
|
-
import { SearchViewsResponse } from "../models/
|
|
9
|
-
import { SearchViewsRequest } from "../models/models_3";
|
|
8
|
+
import { SearchViewsRequest, SearchViewsResponse } from "../models/models_3";
|
|
10
9
|
export { __MetadataBearer };
|
|
11
10
|
export { $Command };
|
|
12
11
|
export interface SearchViewsCommandInput extends SearchViewsRequest {}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
ConnectClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../ConnectClient";
|
|
8
|
+
import {
|
|
9
|
+
UpdateNotificationContentRequest,
|
|
10
|
+
UpdateNotificationContentResponse,
|
|
11
|
+
} from "../models/models_3";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface UpdateNotificationContentCommandInput
|
|
15
|
+
extends UpdateNotificationContentRequest {}
|
|
16
|
+
export interface UpdateNotificationContentCommandOutput
|
|
17
|
+
extends UpdateNotificationContentResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const UpdateNotificationContentCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: UpdateNotificationContentCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
UpdateNotificationContentCommandInput,
|
|
24
|
+
UpdateNotificationContentCommandOutput,
|
|
25
|
+
ConnectClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: UpdateNotificationContentCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
UpdateNotificationContentCommandInput,
|
|
33
|
+
UpdateNotificationContentCommandOutput,
|
|
34
|
+
ConnectClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class UpdateNotificationContentCommand extends UpdateNotificationContentCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: UpdateNotificationContentRequest;
|
|
44
|
+
output: {};
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: UpdateNotificationContentCommandInput;
|
|
48
|
+
output: UpdateNotificationContentCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
ConnectClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../ConnectClient";
|
|
8
|
+
import {
|
|
9
|
+
UpdateUserNotificationStatusRequest,
|
|
10
|
+
UpdateUserNotificationStatusResponse,
|
|
11
|
+
} from "../models/models_3";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface UpdateUserNotificationStatusCommandInput
|
|
15
|
+
extends UpdateUserNotificationStatusRequest {}
|
|
16
|
+
export interface UpdateUserNotificationStatusCommandOutput
|
|
17
|
+
extends UpdateUserNotificationStatusResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const UpdateUserNotificationStatusCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: UpdateUserNotificationStatusCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
UpdateUserNotificationStatusCommandInput,
|
|
24
|
+
UpdateUserNotificationStatusCommandOutput,
|
|
25
|
+
ConnectClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: UpdateUserNotificationStatusCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
UpdateUserNotificationStatusCommandInput,
|
|
33
|
+
UpdateUserNotificationStatusCommandOutput,
|
|
34
|
+
ConnectClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class UpdateUserNotificationStatusCommand extends UpdateUserNotificationStatusCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: UpdateUserNotificationStatusRequest;
|
|
44
|
+
output: {};
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: UpdateUserNotificationStatusCommandInput;
|
|
48
|
+
output: UpdateUserNotificationStatusCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -44,6 +44,7 @@ export * from "./CreateHoursOfOperationCommand";
|
|
|
44
44
|
export * from "./CreateHoursOfOperationOverrideCommand";
|
|
45
45
|
export * from "./CreateInstanceCommand";
|
|
46
46
|
export * from "./CreateIntegrationAssociationCommand";
|
|
47
|
+
export * from "./CreateNotificationCommand";
|
|
47
48
|
export * from "./CreateParticipantCommand";
|
|
48
49
|
export * from "./CreatePersistentContactAssociationCommand";
|
|
49
50
|
export * from "./CreatePredefinedAttributeCommand";
|
|
@@ -81,6 +82,7 @@ export * from "./DeleteHoursOfOperationCommand";
|
|
|
81
82
|
export * from "./DeleteHoursOfOperationOverrideCommand";
|
|
82
83
|
export * from "./DeleteInstanceCommand";
|
|
83
84
|
export * from "./DeleteIntegrationAssociationCommand";
|
|
85
|
+
export * from "./DeleteNotificationCommand";
|
|
84
86
|
export * from "./DeletePredefinedAttributeCommand";
|
|
85
87
|
export * from "./DeletePromptCommand";
|
|
86
88
|
export * from "./DeletePushNotificationRegistrationCommand";
|
|
@@ -117,6 +119,7 @@ export * from "./DescribeHoursOfOperationOverrideCommand";
|
|
|
117
119
|
export * from "./DescribeInstanceAttributeCommand";
|
|
118
120
|
export * from "./DescribeInstanceCommand";
|
|
119
121
|
export * from "./DescribeInstanceStorageConfigCommand";
|
|
122
|
+
export * from "./DescribeNotificationCommand";
|
|
120
123
|
export * from "./DescribePhoneNumberCommand";
|
|
121
124
|
export * from "./DescribePredefinedAttributeCommand";
|
|
122
125
|
export * from "./DescribePromptCommand";
|
|
@@ -200,6 +203,7 @@ export * from "./ListInstancesCommand";
|
|
|
200
203
|
export * from "./ListIntegrationAssociationsCommand";
|
|
201
204
|
export * from "./ListLambdaFunctionsCommand";
|
|
202
205
|
export * from "./ListLexBotsCommand";
|
|
206
|
+
export * from "./ListNotificationsCommand";
|
|
203
207
|
export * from "./ListPhoneNumbersCommand";
|
|
204
208
|
export * from "./ListPhoneNumbersV2Command";
|
|
205
209
|
export * from "./ListPredefinedAttributesCommand";
|
|
@@ -226,6 +230,7 @@ export * from "./ListTrafficDistributionGroupUsersCommand";
|
|
|
226
230
|
export * from "./ListTrafficDistributionGroupsCommand";
|
|
227
231
|
export * from "./ListUseCasesCommand";
|
|
228
232
|
export * from "./ListUserHierarchyGroupsCommand";
|
|
233
|
+
export * from "./ListUserNotificationsCommand";
|
|
229
234
|
export * from "./ListUserProficienciesCommand";
|
|
230
235
|
export * from "./ListUsersCommand";
|
|
231
236
|
export * from "./ListViewVersionsCommand";
|
|
@@ -251,6 +256,7 @@ export * from "./SearchEmailAddressesCommand";
|
|
|
251
256
|
export * from "./SearchEvaluationFormsCommand";
|
|
252
257
|
export * from "./SearchHoursOfOperationOverridesCommand";
|
|
253
258
|
export * from "./SearchHoursOfOperationsCommand";
|
|
259
|
+
export * from "./SearchNotificationsCommand";
|
|
254
260
|
export * from "./SearchPredefinedAttributesCommand";
|
|
255
261
|
export * from "./SearchPromptsCommand";
|
|
256
262
|
export * from "./SearchQueuesCommand";
|
|
@@ -315,6 +321,7 @@ export * from "./UpdateHoursOfOperationCommand";
|
|
|
315
321
|
export * from "./UpdateHoursOfOperationOverrideCommand";
|
|
316
322
|
export * from "./UpdateInstanceAttributeCommand";
|
|
317
323
|
export * from "./UpdateInstanceStorageConfigCommand";
|
|
324
|
+
export * from "./UpdateNotificationContentCommand";
|
|
318
325
|
export * from "./UpdateParticipantAuthenticationCommand";
|
|
319
326
|
export * from "./UpdateParticipantRoleConfigCommand";
|
|
320
327
|
export * from "./UpdatePhoneNumberCommand";
|
|
@@ -344,6 +351,7 @@ export * from "./UpdateUserHierarchyCommand";
|
|
|
344
351
|
export * from "./UpdateUserHierarchyGroupNameCommand";
|
|
345
352
|
export * from "./UpdateUserHierarchyStructureCommand";
|
|
346
353
|
export * from "./UpdateUserIdentityInfoCommand";
|
|
354
|
+
export * from "./UpdateUserNotificationStatusCommand";
|
|
347
355
|
export * from "./UpdateUserPhoneConfigCommand";
|
|
348
356
|
export * from "./UpdateUserProficienciesCommand";
|
|
349
357
|
export * from "./UpdateUserRoutingProfileCommand";
|
|
@@ -513,6 +513,26 @@ export declare const SourceType: {
|
|
|
513
513
|
readonly ZENDESK: "ZENDESK";
|
|
514
514
|
};
|
|
515
515
|
export type SourceType = (typeof SourceType)[keyof typeof SourceType];
|
|
516
|
+
export declare const LocaleCode: {
|
|
517
|
+
readonly DeDE: "de_DE";
|
|
518
|
+
readonly EnUS: "en_US";
|
|
519
|
+
readonly EsES: "es_ES";
|
|
520
|
+
readonly FrFR: "fr_FR";
|
|
521
|
+
readonly IdID: "id_ID";
|
|
522
|
+
readonly ItIT: "it_IT";
|
|
523
|
+
readonly JaJP: "ja_JP";
|
|
524
|
+
readonly KoKR: "ko_KR";
|
|
525
|
+
readonly PtBR: "pt_BR";
|
|
526
|
+
readonly ZhCN: "zh_CN";
|
|
527
|
+
readonly ZhTW: "zh_TW";
|
|
528
|
+
};
|
|
529
|
+
export type LocaleCode = (typeof LocaleCode)[keyof typeof LocaleCode];
|
|
530
|
+
export declare const ConfigurableNotificationPriority: {
|
|
531
|
+
readonly High: "HIGH";
|
|
532
|
+
readonly Low: "LOW";
|
|
533
|
+
};
|
|
534
|
+
export type ConfigurableNotificationPriority =
|
|
535
|
+
(typeof ConfigurableNotificationPriority)[keyof typeof ConfigurableNotificationPriority];
|
|
516
536
|
export declare const ParticipantRole: {
|
|
517
537
|
readonly AGENT: "AGENT";
|
|
518
538
|
readonly CUSTOMER: "CUSTOMER";
|
|
@@ -871,6 +891,13 @@ export declare const InstanceAttributeType: {
|
|
|
871
891
|
};
|
|
872
892
|
export type InstanceAttributeType =
|
|
873
893
|
(typeof InstanceAttributeType)[keyof typeof InstanceAttributeType];
|
|
894
|
+
export declare const NotificationPriority: {
|
|
895
|
+
readonly High: "HIGH";
|
|
896
|
+
readonly Low: "LOW";
|
|
897
|
+
readonly Urgent: "URGENT";
|
|
898
|
+
};
|
|
899
|
+
export type NotificationPriority =
|
|
900
|
+
(typeof NotificationPriority)[keyof typeof NotificationPriority];
|
|
874
901
|
export declare const PhoneNumberCountryCode: {
|
|
875
902
|
readonly AD: "AD";
|
|
876
903
|
readonly AE: "AE";
|
|
@@ -1341,6 +1368,20 @@ export declare const ExecutionRecordStatus: {
|
|
|
1341
1368
|
};
|
|
1342
1369
|
export type ExecutionRecordStatus =
|
|
1343
1370
|
(typeof ExecutionRecordStatus)[keyof typeof ExecutionRecordStatus];
|
|
1371
|
+
export declare const NotificationStatus: {
|
|
1372
|
+
readonly Hidden: "HIDDEN";
|
|
1373
|
+
readonly Read: "READ";
|
|
1374
|
+
readonly Unread: "UNREAD";
|
|
1375
|
+
};
|
|
1376
|
+
export type NotificationStatus =
|
|
1377
|
+
(typeof NotificationStatus)[keyof typeof NotificationStatus];
|
|
1378
|
+
export declare const NotificationSource: {
|
|
1379
|
+
readonly Customer: "CUSTOMER";
|
|
1380
|
+
readonly Rules: "RULES";
|
|
1381
|
+
readonly System: "SYSTEM";
|
|
1382
|
+
};
|
|
1383
|
+
export type NotificationSource =
|
|
1384
|
+
(typeof NotificationSource)[keyof typeof NotificationSource];
|
|
1344
1385
|
export declare const ContactRecordingType: {
|
|
1345
1386
|
readonly AGENT: "AGENT";
|
|
1346
1387
|
readonly IVR: "IVR";
|
|
@@ -11,6 +11,7 @@ import {
|
|
|
11
11
|
AttachedFileServiceQuotaExceededExceptionReason,
|
|
12
12
|
BehaviorType,
|
|
13
13
|
Channel,
|
|
14
|
+
ConfigurableNotificationPriority,
|
|
14
15
|
ContactFlowStatus,
|
|
15
16
|
ContactFlowType,
|
|
16
17
|
ContactInitiationMethod,
|
|
@@ -44,6 +45,7 @@ import {
|
|
|
44
45
|
InstanceStorageResourceType,
|
|
45
46
|
IntegrationType,
|
|
46
47
|
ListFlowAssociationResourceType,
|
|
48
|
+
LocaleCode,
|
|
47
49
|
MultiSelectQuestionRuleCategoryAutomationCondition,
|
|
48
50
|
NotificationContentType,
|
|
49
51
|
NotificationDeliveryType,
|
|
@@ -1209,6 +1211,20 @@ export interface CreateIntegrationAssociationResponse {
|
|
|
1209
1211
|
IntegrationAssociationId?: string | undefined;
|
|
1210
1212
|
IntegrationAssociationArn?: string | undefined;
|
|
1211
1213
|
}
|
|
1214
|
+
export interface CreateNotificationRequest {
|
|
1215
|
+
InstanceId: string | undefined;
|
|
1216
|
+
ExpiresAt?: Date | undefined;
|
|
1217
|
+
Recipients: string[] | undefined;
|
|
1218
|
+
Priority?: ConfigurableNotificationPriority | undefined;
|
|
1219
|
+
Content: Partial<Record<LocaleCode, string>> | undefined;
|
|
1220
|
+
Tags?: Record<string, string> | undefined;
|
|
1221
|
+
PredefinedNotificationId?: string | undefined;
|
|
1222
|
+
ClientToken?: string | undefined;
|
|
1223
|
+
}
|
|
1224
|
+
export interface CreateNotificationResponse {
|
|
1225
|
+
NotificationId: string | undefined;
|
|
1226
|
+
NotificationArn: string | undefined;
|
|
1227
|
+
}
|
|
1212
1228
|
export interface ParticipantDetailsToAdd {
|
|
1213
1229
|
ParticipantRole?: ParticipantRole | undefined;
|
|
1214
1230
|
DisplayName?: string | undefined;
|
|
@@ -1747,14 +1763,3 @@ export interface PaletteNavigation {
|
|
|
1747
1763
|
TextActive?: string | undefined;
|
|
1748
1764
|
InvertActionsColors?: boolean | undefined;
|
|
1749
1765
|
}
|
|
1750
|
-
export interface PalettePrimary {
|
|
1751
|
-
Default?: string | undefined;
|
|
1752
|
-
Active?: string | undefined;
|
|
1753
|
-
ContrastText?: string | undefined;
|
|
1754
|
-
}
|
|
1755
|
-
export interface WorkspaceThemePalette {
|
|
1756
|
-
Header?: PaletteHeader | undefined;
|
|
1757
|
-
Navigation?: PaletteNavigation | undefined;
|
|
1758
|
-
Canvas?: PaletteCanvas | undefined;
|
|
1759
|
-
Primary?: PalettePrimary | undefined;
|
|
1760
|
-
}
|