@aws-sdk/client-connect 3.236.0 → 3.237.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/dist-cjs/Connect.js +15 -0
- package/dist-cjs/commands/UpdateParticipantRoleConfigCommand.js +46 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/models/models_1.js +76 -4
- package/dist-cjs/protocols/Aws_restJson1.js +113 -5
- package/dist-es/Connect.js +15 -0
- package/dist-es/commands/UpdateParticipantRoleConfigCommand.js +42 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_1.js +65 -0
- package/dist-es/protocols/Aws_restJson1.js +107 -1
- package/dist-types/Connect.d.ts +32 -8
- package/dist-types/ConnectClient.d.ts +3 -2
- package/dist-types/commands/ClaimPhoneNumberCommand.d.ts +2 -2
- package/dist-types/commands/CreateRuleCommand.d.ts +2 -2
- package/dist-types/commands/DismissUserContactCommand.d.ts +1 -1
- package/dist-types/commands/MonitorContactCommand.d.ts +1 -1
- package/dist-types/commands/UpdateParticipantRoleConfigCommand.d.ts +54 -0
- package/dist-types/commands/UpdateRuleCommand.d.ts +2 -2
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +2 -2
- package/dist-types/models/models_1.d.ts +161 -6
- package/dist-types/protocols/Aws_restJson1.d.ts +3 -0
- package/dist-types/ts3.4/Connect.d.ts +17 -0
- package/dist-types/ts3.4/ConnectClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/UpdateParticipantRoleConfigCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_1.d.ts +91 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +1 -1
|
@@ -1923,11 +1923,21 @@ export interface SearchVocabulariesResponse {
|
|
|
1923
1923
|
*/
|
|
1924
1924
|
export interface ChatMessage {
|
|
1925
1925
|
/**
|
|
1926
|
-
* <p>The type of the content. Supported types are <code>text/plain</code>.</p>
|
|
1926
|
+
* <p>The type of the content. Supported types are <code>text/plain</code>, <code>text/markdown</code>, and <code>application/json</code>.</p>
|
|
1927
1927
|
*/
|
|
1928
1928
|
ContentType: string | undefined;
|
|
1929
1929
|
/**
|
|
1930
|
-
* <p>The content of the chat message
|
|
1930
|
+
* <p>The content of the chat message. </p>
|
|
1931
|
+
* <ul>
|
|
1932
|
+
* <li>
|
|
1933
|
+
* <p>For <code>text/plain</code> and <code>text/markdown</code>, the Length Constraints are
|
|
1934
|
+
* Minimum of 1, Maximum of 1024. </p>
|
|
1935
|
+
* </li>
|
|
1936
|
+
* <li>
|
|
1937
|
+
* <p>For <code>application/json</code>, the Length Constraints are Minimum of 1, Maximum of
|
|
1938
|
+
* 12000. </p>
|
|
1939
|
+
* </li>
|
|
1940
|
+
* </ul>
|
|
1931
1941
|
*/
|
|
1932
1942
|
Content: string | undefined;
|
|
1933
1943
|
}
|
|
@@ -1985,8 +1995,10 @@ export interface StartChatContactRequest {
|
|
|
1985
1995
|
*/
|
|
1986
1996
|
ChatDurationInMinutes?: number;
|
|
1987
1997
|
/**
|
|
1988
|
-
* <p>The supported chat message content types. Content types
|
|
1989
|
-
*
|
|
1998
|
+
* <p>The supported chat message content types. Content types must always contain <code>text/plain</code>. You
|
|
1999
|
+
* can then put any other supported type in the list. For example, all the following lists are valid
|
|
2000
|
+
* because they contain <code>text/plain</code>: <code>[text/plain, text/markdown, application/json]</code>, <code>[text/markdown,
|
|
2001
|
+
* text/plain]</code>, <code>[text/plain, application/json]</code>.</p>
|
|
1990
2002
|
*/
|
|
1991
2003
|
SupportedMessagingContentTypes?: string[];
|
|
1992
2004
|
}
|
|
@@ -2481,8 +2493,8 @@ export interface UpdateContactFlowContentRequest {
|
|
|
2481
2493
|
*/
|
|
2482
2494
|
ContactFlowId: string | undefined;
|
|
2483
2495
|
/**
|
|
2484
|
-
* <p>The JSON string that represents flow's content. For an example, see <a href="https://docs.aws.amazon.com/connect/latest/APIReference/flow-language-example.html">Example
|
|
2485
|
-
* flow in Amazon Connect Flow language</a>. </p>
|
|
2496
|
+
* <p>The JSON string that represents flow's content. For an example, see <a href="https://docs.aws.amazon.com/connect/latest/APIReference/flow-language-example.html">Example
|
|
2497
|
+
* contact flow in Amazon Connect Flow language</a>. </p>
|
|
2486
2498
|
*/
|
|
2487
2499
|
Content: string | undefined;
|
|
2488
2500
|
}
|
|
@@ -2644,6 +2656,125 @@ export interface UpdateInstanceStorageConfigRequest {
|
|
|
2644
2656
|
*/
|
|
2645
2657
|
StorageConfig: InstanceStorageConfig | undefined;
|
|
2646
2658
|
}
|
|
2659
|
+
export declare enum TimerEligibleParticipantRoles {
|
|
2660
|
+
AGENT = "AGENT",
|
|
2661
|
+
CUSTOMER = "CUSTOMER"
|
|
2662
|
+
}
|
|
2663
|
+
export declare enum ParticipantTimerType {
|
|
2664
|
+
DISCONNECT_NONCUSTOMER = "DISCONNECT_NONCUSTOMER",
|
|
2665
|
+
IDLE = "IDLE"
|
|
2666
|
+
}
|
|
2667
|
+
export declare enum ParticipantTimerAction {
|
|
2668
|
+
Unset = "Unset"
|
|
2669
|
+
}
|
|
2670
|
+
/**
|
|
2671
|
+
* <p>The value of the timer. Either the timer action (<code>Unset</code> to delete the timer), or
|
|
2672
|
+
* the duration of the timer in minutes. Only one value can be set.</p>
|
|
2673
|
+
* <p>For more information about how chat timeouts work, see
|
|
2674
|
+
* <a href="https://docs.aws.amazon.com/connect/latest/adminguide/setup-chat-timeouts.html">Set up chat timeouts for human participants</a>. </p>
|
|
2675
|
+
*/
|
|
2676
|
+
export declare type ParticipantTimerValue = ParticipantTimerValue.ParticipantTimerActionMember | ParticipantTimerValue.ParticipantTimerDurationInMinutesMember | ParticipantTimerValue.$UnknownMember;
|
|
2677
|
+
export declare namespace ParticipantTimerValue {
|
|
2678
|
+
/**
|
|
2679
|
+
* <p>The timer action. Currently only one value is allowed: <code>Unset</code>. It deletes a timer.</p>
|
|
2680
|
+
*/
|
|
2681
|
+
interface ParticipantTimerActionMember {
|
|
2682
|
+
ParticipantTimerAction: ParticipantTimerAction | string;
|
|
2683
|
+
ParticipantTimerDurationInMinutes?: never;
|
|
2684
|
+
$unknown?: never;
|
|
2685
|
+
}
|
|
2686
|
+
/**
|
|
2687
|
+
* <p>The duration of a timer, in minutes. </p>
|
|
2688
|
+
*/
|
|
2689
|
+
interface ParticipantTimerDurationInMinutesMember {
|
|
2690
|
+
ParticipantTimerAction?: never;
|
|
2691
|
+
ParticipantTimerDurationInMinutes: number;
|
|
2692
|
+
$unknown?: never;
|
|
2693
|
+
}
|
|
2694
|
+
interface $UnknownMember {
|
|
2695
|
+
ParticipantTimerAction?: never;
|
|
2696
|
+
ParticipantTimerDurationInMinutes?: never;
|
|
2697
|
+
$unknown: [string, any];
|
|
2698
|
+
}
|
|
2699
|
+
interface Visitor<T> {
|
|
2700
|
+
ParticipantTimerAction: (value: ParticipantTimerAction | string) => T;
|
|
2701
|
+
ParticipantTimerDurationInMinutes: (value: number) => T;
|
|
2702
|
+
_: (name: string, value: any) => T;
|
|
2703
|
+
}
|
|
2704
|
+
const visit: <T>(value: ParticipantTimerValue, visitor: Visitor<T>) => T;
|
|
2705
|
+
}
|
|
2706
|
+
/**
|
|
2707
|
+
* <p>Configuration information for the timer. After the timer configuration is set, it persists
|
|
2708
|
+
* for the duration of the chat. It persists across new contacts in the chain, for example, transfer
|
|
2709
|
+
* contacts.</p>
|
|
2710
|
+
* <p>For more information about how chat timeouts work, see
|
|
2711
|
+
* <a href="https://docs.aws.amazon.com/connect/latest/adminguide/setup-chat-timeouts.html">Set up chat timeouts for human participants</a>. </p>
|
|
2712
|
+
*/
|
|
2713
|
+
export interface ParticipantTimerConfiguration {
|
|
2714
|
+
/**
|
|
2715
|
+
* <p>The role of the participant in the chat conversation.</p>
|
|
2716
|
+
*/
|
|
2717
|
+
ParticipantRole: TimerEligibleParticipantRoles | string | undefined;
|
|
2718
|
+
/**
|
|
2719
|
+
* <p>The type of timer. <code>IDLE</code> indicates the timer applies for considering a human chat participant as idle.
|
|
2720
|
+
* <code>DISCONNECT_NONCUSTOMER</code> indicates the timer applies to automatically disconnecting a chat participant due to
|
|
2721
|
+
* idleness.</p>
|
|
2722
|
+
*/
|
|
2723
|
+
TimerType: ParticipantTimerType | string | undefined;
|
|
2724
|
+
/**
|
|
2725
|
+
* <p>The value of the timer. Either the timer action (Unset to delete the timer), or the duration
|
|
2726
|
+
* of the timer in minutes. Only one value can be set.</p>
|
|
2727
|
+
*/
|
|
2728
|
+
TimerValue: ParticipantTimerValue | undefined;
|
|
2729
|
+
}
|
|
2730
|
+
/**
|
|
2731
|
+
* <p>Configuration information for the chat participant role.</p>
|
|
2732
|
+
*/
|
|
2733
|
+
export interface ChatParticipantRoleConfig {
|
|
2734
|
+
/**
|
|
2735
|
+
* <p>A list of participant timers. You can specify any unique combination of role and timer type.
|
|
2736
|
+
* Duplicate entries error out the request with a 400.</p>
|
|
2737
|
+
*/
|
|
2738
|
+
ParticipantTimerConfigList: ParticipantTimerConfiguration[] | undefined;
|
|
2739
|
+
}
|
|
2740
|
+
/**
|
|
2741
|
+
* <p>Configuration information for the chat participant role.</p>
|
|
2742
|
+
*/
|
|
2743
|
+
export declare type UpdateParticipantRoleConfigChannelInfo = UpdateParticipantRoleConfigChannelInfo.ChatMember | UpdateParticipantRoleConfigChannelInfo.$UnknownMember;
|
|
2744
|
+
export declare namespace UpdateParticipantRoleConfigChannelInfo {
|
|
2745
|
+
/**
|
|
2746
|
+
* <p>Configuration information for the chat participant role.</p>
|
|
2747
|
+
*/
|
|
2748
|
+
interface ChatMember {
|
|
2749
|
+
Chat: ChatParticipantRoleConfig;
|
|
2750
|
+
$unknown?: never;
|
|
2751
|
+
}
|
|
2752
|
+
interface $UnknownMember {
|
|
2753
|
+
Chat?: never;
|
|
2754
|
+
$unknown: [string, any];
|
|
2755
|
+
}
|
|
2756
|
+
interface Visitor<T> {
|
|
2757
|
+
Chat: (value: ChatParticipantRoleConfig) => T;
|
|
2758
|
+
_: (name: string, value: any) => T;
|
|
2759
|
+
}
|
|
2760
|
+
const visit: <T>(value: UpdateParticipantRoleConfigChannelInfo, visitor: Visitor<T>) => T;
|
|
2761
|
+
}
|
|
2762
|
+
export interface UpdateParticipantRoleConfigRequest {
|
|
2763
|
+
/**
|
|
2764
|
+
* <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
|
|
2765
|
+
*/
|
|
2766
|
+
InstanceId: string | undefined;
|
|
2767
|
+
/**
|
|
2768
|
+
* <p>The identifier of the contact in this instance of Amazon Connect. </p>
|
|
2769
|
+
*/
|
|
2770
|
+
ContactId: string | undefined;
|
|
2771
|
+
/**
|
|
2772
|
+
* <p>The Amazon Connect channel you want to configure.</p>
|
|
2773
|
+
*/
|
|
2774
|
+
ChannelConfiguration: UpdateParticipantRoleConfigChannelInfo | undefined;
|
|
2775
|
+
}
|
|
2776
|
+
export interface UpdateParticipantRoleConfigResponse {
|
|
2777
|
+
}
|
|
2647
2778
|
export interface UpdatePhoneNumberRequest {
|
|
2648
2779
|
/**
|
|
2649
2780
|
* <p>A unique identifier for the phone number.</p>
|
|
@@ -3949,6 +4080,30 @@ export declare const UpdateInstanceAttributeRequestFilterSensitiveLog: (obj: Upd
|
|
|
3949
4080
|
* @internal
|
|
3950
4081
|
*/
|
|
3951
4082
|
export declare const UpdateInstanceStorageConfigRequestFilterSensitiveLog: (obj: UpdateInstanceStorageConfigRequest) => any;
|
|
4083
|
+
/**
|
|
4084
|
+
* @internal
|
|
4085
|
+
*/
|
|
4086
|
+
export declare const ParticipantTimerValueFilterSensitiveLog: (obj: ParticipantTimerValue) => any;
|
|
4087
|
+
/**
|
|
4088
|
+
* @internal
|
|
4089
|
+
*/
|
|
4090
|
+
export declare const ParticipantTimerConfigurationFilterSensitiveLog: (obj: ParticipantTimerConfiguration) => any;
|
|
4091
|
+
/**
|
|
4092
|
+
* @internal
|
|
4093
|
+
*/
|
|
4094
|
+
export declare const ChatParticipantRoleConfigFilterSensitiveLog: (obj: ChatParticipantRoleConfig) => any;
|
|
4095
|
+
/**
|
|
4096
|
+
* @internal
|
|
4097
|
+
*/
|
|
4098
|
+
export declare const UpdateParticipantRoleConfigChannelInfoFilterSensitiveLog: (obj: UpdateParticipantRoleConfigChannelInfo) => any;
|
|
4099
|
+
/**
|
|
4100
|
+
* @internal
|
|
4101
|
+
*/
|
|
4102
|
+
export declare const UpdateParticipantRoleConfigRequestFilterSensitiveLog: (obj: UpdateParticipantRoleConfigRequest) => any;
|
|
4103
|
+
/**
|
|
4104
|
+
* @internal
|
|
4105
|
+
*/
|
|
4106
|
+
export declare const UpdateParticipantRoleConfigResponseFilterSensitiveLog: (obj: UpdateParticipantRoleConfigResponse) => any;
|
|
3952
4107
|
/**
|
|
3953
4108
|
* @internal
|
|
3954
4109
|
*/
|
|
@@ -145,6 +145,7 @@ import { UpdateContactScheduleCommandInput, UpdateContactScheduleCommandOutput }
|
|
|
145
145
|
import { UpdateHoursOfOperationCommandInput, UpdateHoursOfOperationCommandOutput } from "../commands/UpdateHoursOfOperationCommand";
|
|
146
146
|
import { UpdateInstanceAttributeCommandInput, UpdateInstanceAttributeCommandOutput } from "../commands/UpdateInstanceAttributeCommand";
|
|
147
147
|
import { UpdateInstanceStorageConfigCommandInput, UpdateInstanceStorageConfigCommandOutput } from "../commands/UpdateInstanceStorageConfigCommand";
|
|
148
|
+
import { UpdateParticipantRoleConfigCommandInput, UpdateParticipantRoleConfigCommandOutput } from "../commands/UpdateParticipantRoleConfigCommand";
|
|
148
149
|
import { UpdatePhoneNumberCommandInput, UpdatePhoneNumberCommandOutput } from "../commands/UpdatePhoneNumberCommand";
|
|
149
150
|
import { UpdateQueueHoursOfOperationCommandInput, UpdateQueueHoursOfOperationCommandOutput } from "../commands/UpdateQueueHoursOfOperationCommand";
|
|
150
151
|
import { UpdateQueueMaxContactsCommandInput, UpdateQueueMaxContactsCommandOutput } from "../commands/UpdateQueueMaxContactsCommand";
|
|
@@ -313,6 +314,7 @@ export declare const serializeAws_restJson1UpdateContactScheduleCommand: (input:
|
|
|
313
314
|
export declare const serializeAws_restJson1UpdateHoursOfOperationCommand: (input: UpdateHoursOfOperationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
314
315
|
export declare const serializeAws_restJson1UpdateInstanceAttributeCommand: (input: UpdateInstanceAttributeCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
315
316
|
export declare const serializeAws_restJson1UpdateInstanceStorageConfigCommand: (input: UpdateInstanceStorageConfigCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
317
|
+
export declare const serializeAws_restJson1UpdateParticipantRoleConfigCommand: (input: UpdateParticipantRoleConfigCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
316
318
|
export declare const serializeAws_restJson1UpdatePhoneNumberCommand: (input: UpdatePhoneNumberCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
317
319
|
export declare const serializeAws_restJson1UpdateQueueHoursOfOperationCommand: (input: UpdateQueueHoursOfOperationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
318
320
|
export declare const serializeAws_restJson1UpdateQueueMaxContactsCommand: (input: UpdateQueueMaxContactsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -481,6 +483,7 @@ export declare const deserializeAws_restJson1UpdateContactScheduleCommand: (outp
|
|
|
481
483
|
export declare const deserializeAws_restJson1UpdateHoursOfOperationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateHoursOfOperationCommandOutput>;
|
|
482
484
|
export declare const deserializeAws_restJson1UpdateInstanceAttributeCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateInstanceAttributeCommandOutput>;
|
|
483
485
|
export declare const deserializeAws_restJson1UpdateInstanceStorageConfigCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateInstanceStorageConfigCommandOutput>;
|
|
486
|
+
export declare const deserializeAws_restJson1UpdateParticipantRoleConfigCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateParticipantRoleConfigCommandOutput>;
|
|
484
487
|
export declare const deserializeAws_restJson1UpdatePhoneNumberCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdatePhoneNumberCommandOutput>;
|
|
485
488
|
export declare const deserializeAws_restJson1UpdateQueueHoursOfOperationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateQueueHoursOfOperationCommandOutput>;
|
|
486
489
|
export declare const deserializeAws_restJson1UpdateQueueMaxContactsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateQueueMaxContactsCommandOutput>;
|
|
@@ -579,6 +579,10 @@ import {
|
|
|
579
579
|
UpdateInstanceStorageConfigCommandInput,
|
|
580
580
|
UpdateInstanceStorageConfigCommandOutput,
|
|
581
581
|
} from "./commands/UpdateInstanceStorageConfigCommand";
|
|
582
|
+
import {
|
|
583
|
+
UpdateParticipantRoleConfigCommandInput,
|
|
584
|
+
UpdateParticipantRoleConfigCommandOutput,
|
|
585
|
+
} from "./commands/UpdateParticipantRoleConfigCommand";
|
|
582
586
|
import {
|
|
583
587
|
UpdatePhoneNumberCommandInput,
|
|
584
588
|
UpdatePhoneNumberCommandOutput,
|
|
@@ -2570,6 +2574,19 @@ export declare class Connect extends ConnectClient {
|
|
|
2570
2574
|
options: __HttpHandlerOptions,
|
|
2571
2575
|
cb: (err: any, data?: UpdateInstanceStorageConfigCommandOutput) => void
|
|
2572
2576
|
): void;
|
|
2577
|
+
updateParticipantRoleConfig(
|
|
2578
|
+
args: UpdateParticipantRoleConfigCommandInput,
|
|
2579
|
+
options?: __HttpHandlerOptions
|
|
2580
|
+
): Promise<UpdateParticipantRoleConfigCommandOutput>;
|
|
2581
|
+
updateParticipantRoleConfig(
|
|
2582
|
+
args: UpdateParticipantRoleConfigCommandInput,
|
|
2583
|
+
cb: (err: any, data?: UpdateParticipantRoleConfigCommandOutput) => void
|
|
2584
|
+
): void;
|
|
2585
|
+
updateParticipantRoleConfig(
|
|
2586
|
+
args: UpdateParticipantRoleConfigCommandInput,
|
|
2587
|
+
options: __HttpHandlerOptions,
|
|
2588
|
+
cb: (err: any, data?: UpdateParticipantRoleConfigCommandOutput) => void
|
|
2589
|
+
): void;
|
|
2573
2590
|
updatePhoneNumber(
|
|
2574
2591
|
args: UpdatePhoneNumberCommandInput,
|
|
2575
2592
|
options?: __HttpHandlerOptions
|
|
@@ -623,6 +623,10 @@ import {
|
|
|
623
623
|
UpdateInstanceStorageConfigCommandInput,
|
|
624
624
|
UpdateInstanceStorageConfigCommandOutput,
|
|
625
625
|
} from "./commands/UpdateInstanceStorageConfigCommand";
|
|
626
|
+
import {
|
|
627
|
+
UpdateParticipantRoleConfigCommandInput,
|
|
628
|
+
UpdateParticipantRoleConfigCommandOutput,
|
|
629
|
+
} from "./commands/UpdateParticipantRoleConfigCommand";
|
|
626
630
|
import {
|
|
627
631
|
UpdatePhoneNumberCommandInput,
|
|
628
632
|
UpdatePhoneNumberCommandOutput,
|
|
@@ -866,6 +870,7 @@ export declare type ServiceInputTypes =
|
|
|
866
870
|
| UpdateHoursOfOperationCommandInput
|
|
867
871
|
| UpdateInstanceAttributeCommandInput
|
|
868
872
|
| UpdateInstanceStorageConfigCommandInput
|
|
873
|
+
| UpdateParticipantRoleConfigCommandInput
|
|
869
874
|
| UpdatePhoneNumberCommandInput
|
|
870
875
|
| UpdateQueueHoursOfOperationCommandInput
|
|
871
876
|
| UpdateQueueMaxContactsCommandInput
|
|
@@ -1035,6 +1040,7 @@ export declare type ServiceOutputTypes =
|
|
|
1035
1040
|
| UpdateHoursOfOperationCommandOutput
|
|
1036
1041
|
| UpdateInstanceAttributeCommandOutput
|
|
1037
1042
|
| UpdateInstanceStorageConfigCommandOutput
|
|
1043
|
+
| UpdateParticipantRoleConfigCommandOutput
|
|
1038
1044
|
| UpdatePhoneNumberCommandOutput
|
|
1039
1045
|
| UpdateQueueHoursOfOperationCommandOutput
|
|
1040
1046
|
| UpdateQueueMaxContactsCommandOutput
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@aws-sdk/types";
|
|
9
|
+
import {
|
|
10
|
+
ConnectClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../ConnectClient";
|
|
14
|
+
import {
|
|
15
|
+
UpdateParticipantRoleConfigRequest,
|
|
16
|
+
UpdateParticipantRoleConfigResponse,
|
|
17
|
+
} from "../models/models_1";
|
|
18
|
+
export interface UpdateParticipantRoleConfigCommandInput
|
|
19
|
+
extends UpdateParticipantRoleConfigRequest {}
|
|
20
|
+
export interface UpdateParticipantRoleConfigCommandOutput
|
|
21
|
+
extends UpdateParticipantRoleConfigResponse,
|
|
22
|
+
__MetadataBearer {}
|
|
23
|
+
export declare class UpdateParticipantRoleConfigCommand extends $Command<
|
|
24
|
+
UpdateParticipantRoleConfigCommandInput,
|
|
25
|
+
UpdateParticipantRoleConfigCommandOutput,
|
|
26
|
+
ConnectClientResolvedConfig
|
|
27
|
+
> {
|
|
28
|
+
readonly input: UpdateParticipantRoleConfigCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: UpdateParticipantRoleConfigCommandInput);
|
|
31
|
+
resolveMiddleware(
|
|
32
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
|
+
configuration: ConnectClientResolvedConfig,
|
|
34
|
+
options?: __HttpHandlerOptions
|
|
35
|
+
): Handler<
|
|
36
|
+
UpdateParticipantRoleConfigCommandInput,
|
|
37
|
+
UpdateParticipantRoleConfigCommandOutput
|
|
38
|
+
>;
|
|
39
|
+
private serialize;
|
|
40
|
+
private deserialize;
|
|
41
|
+
}
|
|
@@ -143,6 +143,7 @@ export * from "./UpdateContactScheduleCommand";
|
|
|
143
143
|
export * from "./UpdateHoursOfOperationCommand";
|
|
144
144
|
export * from "./UpdateInstanceAttributeCommand";
|
|
145
145
|
export * from "./UpdateInstanceStorageConfigCommand";
|
|
146
|
+
export * from "./UpdateParticipantRoleConfigCommand";
|
|
146
147
|
export * from "./UpdatePhoneNumberCommand";
|
|
147
148
|
export * from "./UpdateQueueHoursOfOperationCommand";
|
|
148
149
|
export * from "./UpdateQueueMaxContactsCommand";
|
|
@@ -917,6 +917,79 @@ export interface UpdateInstanceStorageConfigRequest {
|
|
|
917
917
|
ResourceType: InstanceStorageResourceType | string | undefined;
|
|
918
918
|
StorageConfig: InstanceStorageConfig | undefined;
|
|
919
919
|
}
|
|
920
|
+
export declare enum TimerEligibleParticipantRoles {
|
|
921
|
+
AGENT = "AGENT",
|
|
922
|
+
CUSTOMER = "CUSTOMER",
|
|
923
|
+
}
|
|
924
|
+
export declare enum ParticipantTimerType {
|
|
925
|
+
DISCONNECT_NONCUSTOMER = "DISCONNECT_NONCUSTOMER",
|
|
926
|
+
IDLE = "IDLE",
|
|
927
|
+
}
|
|
928
|
+
export declare enum ParticipantTimerAction {
|
|
929
|
+
Unset = "Unset",
|
|
930
|
+
}
|
|
931
|
+
export declare type ParticipantTimerValue =
|
|
932
|
+
| ParticipantTimerValue.ParticipantTimerActionMember
|
|
933
|
+
| ParticipantTimerValue.ParticipantTimerDurationInMinutesMember
|
|
934
|
+
| ParticipantTimerValue.$UnknownMember;
|
|
935
|
+
export declare namespace ParticipantTimerValue {
|
|
936
|
+
interface ParticipantTimerActionMember {
|
|
937
|
+
ParticipantTimerAction: ParticipantTimerAction | string;
|
|
938
|
+
ParticipantTimerDurationInMinutes?: never;
|
|
939
|
+
$unknown?: never;
|
|
940
|
+
}
|
|
941
|
+
interface ParticipantTimerDurationInMinutesMember {
|
|
942
|
+
ParticipantTimerAction?: never;
|
|
943
|
+
ParticipantTimerDurationInMinutes: number;
|
|
944
|
+
$unknown?: never;
|
|
945
|
+
}
|
|
946
|
+
interface $UnknownMember {
|
|
947
|
+
ParticipantTimerAction?: never;
|
|
948
|
+
ParticipantTimerDurationInMinutes?: never;
|
|
949
|
+
$unknown: [string, any];
|
|
950
|
+
}
|
|
951
|
+
interface Visitor<T> {
|
|
952
|
+
ParticipantTimerAction: (value: ParticipantTimerAction | string) => T;
|
|
953
|
+
ParticipantTimerDurationInMinutes: (value: number) => T;
|
|
954
|
+
_: (name: string, value: any) => T;
|
|
955
|
+
}
|
|
956
|
+
const visit: <T>(value: ParticipantTimerValue, visitor: Visitor<T>) => T;
|
|
957
|
+
}
|
|
958
|
+
export interface ParticipantTimerConfiguration {
|
|
959
|
+
ParticipantRole: TimerEligibleParticipantRoles | string | undefined;
|
|
960
|
+
TimerType: ParticipantTimerType | string | undefined;
|
|
961
|
+
TimerValue: ParticipantTimerValue | undefined;
|
|
962
|
+
}
|
|
963
|
+
export interface ChatParticipantRoleConfig {
|
|
964
|
+
ParticipantTimerConfigList: ParticipantTimerConfiguration[] | undefined;
|
|
965
|
+
}
|
|
966
|
+
export declare type UpdateParticipantRoleConfigChannelInfo =
|
|
967
|
+
| UpdateParticipantRoleConfigChannelInfo.ChatMember
|
|
968
|
+
| UpdateParticipantRoleConfigChannelInfo.$UnknownMember;
|
|
969
|
+
export declare namespace UpdateParticipantRoleConfigChannelInfo {
|
|
970
|
+
interface ChatMember {
|
|
971
|
+
Chat: ChatParticipantRoleConfig;
|
|
972
|
+
$unknown?: never;
|
|
973
|
+
}
|
|
974
|
+
interface $UnknownMember {
|
|
975
|
+
Chat?: never;
|
|
976
|
+
$unknown: [string, any];
|
|
977
|
+
}
|
|
978
|
+
interface Visitor<T> {
|
|
979
|
+
Chat: (value: ChatParticipantRoleConfig) => T;
|
|
980
|
+
_: (name: string, value: any) => T;
|
|
981
|
+
}
|
|
982
|
+
const visit: <T>(
|
|
983
|
+
value: UpdateParticipantRoleConfigChannelInfo,
|
|
984
|
+
visitor: Visitor<T>
|
|
985
|
+
) => T;
|
|
986
|
+
}
|
|
987
|
+
export interface UpdateParticipantRoleConfigRequest {
|
|
988
|
+
InstanceId: string | undefined;
|
|
989
|
+
ContactId: string | undefined;
|
|
990
|
+
ChannelConfiguration: UpdateParticipantRoleConfigChannelInfo | undefined;
|
|
991
|
+
}
|
|
992
|
+
export interface UpdateParticipantRoleConfigResponse {}
|
|
920
993
|
export interface UpdatePhoneNumberRequest {
|
|
921
994
|
PhoneNumberId: string | undefined;
|
|
922
995
|
TargetArn: string | undefined;
|
|
@@ -1552,6 +1625,24 @@ export declare const UpdateInstanceAttributeRequestFilterSensitiveLog: (
|
|
|
1552
1625
|
export declare const UpdateInstanceStorageConfigRequestFilterSensitiveLog: (
|
|
1553
1626
|
obj: UpdateInstanceStorageConfigRequest
|
|
1554
1627
|
) => any;
|
|
1628
|
+
export declare const ParticipantTimerValueFilterSensitiveLog: (
|
|
1629
|
+
obj: ParticipantTimerValue
|
|
1630
|
+
) => any;
|
|
1631
|
+
export declare const ParticipantTimerConfigurationFilterSensitiveLog: (
|
|
1632
|
+
obj: ParticipantTimerConfiguration
|
|
1633
|
+
) => any;
|
|
1634
|
+
export declare const ChatParticipantRoleConfigFilterSensitiveLog: (
|
|
1635
|
+
obj: ChatParticipantRoleConfig
|
|
1636
|
+
) => any;
|
|
1637
|
+
export declare const UpdateParticipantRoleConfigChannelInfoFilterSensitiveLog: (
|
|
1638
|
+
obj: UpdateParticipantRoleConfigChannelInfo
|
|
1639
|
+
) => any;
|
|
1640
|
+
export declare const UpdateParticipantRoleConfigRequestFilterSensitiveLog: (
|
|
1641
|
+
obj: UpdateParticipantRoleConfigRequest
|
|
1642
|
+
) => any;
|
|
1643
|
+
export declare const UpdateParticipantRoleConfigResponseFilterSensitiveLog: (
|
|
1644
|
+
obj: UpdateParticipantRoleConfigResponse
|
|
1645
|
+
) => any;
|
|
1555
1646
|
export declare const UpdatePhoneNumberRequestFilterSensitiveLog: (
|
|
1556
1647
|
obj: UpdatePhoneNumberRequest
|
|
1557
1648
|
) => any;
|
|
@@ -583,6 +583,10 @@ import {
|
|
|
583
583
|
UpdateInstanceStorageConfigCommandInput,
|
|
584
584
|
UpdateInstanceStorageConfigCommandOutput,
|
|
585
585
|
} from "../commands/UpdateInstanceStorageConfigCommand";
|
|
586
|
+
import {
|
|
587
|
+
UpdateParticipantRoleConfigCommandInput,
|
|
588
|
+
UpdateParticipantRoleConfigCommandOutput,
|
|
589
|
+
} from "../commands/UpdateParticipantRoleConfigCommand";
|
|
586
590
|
import {
|
|
587
591
|
UpdatePhoneNumberCommandInput,
|
|
588
592
|
UpdatePhoneNumberCommandOutput,
|
|
@@ -1255,6 +1259,10 @@ export declare const serializeAws_restJson1UpdateInstanceStorageConfigCommand: (
|
|
|
1255
1259
|
input: UpdateInstanceStorageConfigCommandInput,
|
|
1256
1260
|
context: __SerdeContext
|
|
1257
1261
|
) => Promise<__HttpRequest>;
|
|
1262
|
+
export declare const serializeAws_restJson1UpdateParticipantRoleConfigCommand: (
|
|
1263
|
+
input: UpdateParticipantRoleConfigCommandInput,
|
|
1264
|
+
context: __SerdeContext
|
|
1265
|
+
) => Promise<__HttpRequest>;
|
|
1258
1266
|
export declare const serializeAws_restJson1UpdatePhoneNumberCommand: (
|
|
1259
1267
|
input: UpdatePhoneNumberCommandInput,
|
|
1260
1268
|
context: __SerdeContext
|
|
@@ -1927,6 +1935,10 @@ export declare const deserializeAws_restJson1UpdateInstanceStorageConfigCommand:
|
|
|
1927
1935
|
output: __HttpResponse,
|
|
1928
1936
|
context: __SerdeContext
|
|
1929
1937
|
) => Promise<UpdateInstanceStorageConfigCommandOutput>;
|
|
1938
|
+
export declare const deserializeAws_restJson1UpdateParticipantRoleConfigCommand: (
|
|
1939
|
+
output: __HttpResponse,
|
|
1940
|
+
context: __SerdeContext
|
|
1941
|
+
) => Promise<UpdateParticipantRoleConfigCommandOutput>;
|
|
1930
1942
|
export declare const deserializeAws_restJson1UpdatePhoneNumberCommand: (
|
|
1931
1943
|
output: __HttpResponse,
|
|
1932
1944
|
context: __SerdeContext
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-connect",
|
|
3
3
|
"description": "AWS SDK for JavaScript Connect Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.237.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|