@aws-sdk/client-connect 3.301.0 → 3.306.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.
@@ -85,10 +85,12 @@ export interface ListContactReferencesRequest {
85
85
  ReferenceTypes: (ReferenceType | string)[] | undefined;
86
86
  NextToken?: string;
87
87
  }
88
- export declare enum ReferenceStatus {
89
- APPROVED = "APPROVED",
90
- REJECTED = "REJECTED",
91
- }
88
+ export declare const ReferenceStatus: {
89
+ readonly APPROVED: "APPROVED";
90
+ readonly REJECTED: "REJECTED";
91
+ };
92
+ export type ReferenceStatus =
93
+ (typeof ReferenceStatus)[keyof typeof ReferenceStatus];
92
94
  export interface AttachmentReference {
93
95
  Name?: string;
94
96
  Value?: string;
@@ -375,10 +377,11 @@ export interface ListQueueQuickConnectsResponse {
375
377
  NextToken?: string;
376
378
  QuickConnectSummaryList?: QuickConnectSummary[];
377
379
  }
378
- export declare enum QueueType {
379
- AGENT = "AGENT",
380
- STANDARD = "STANDARD",
381
- }
380
+ export declare const QueueType: {
381
+ readonly AGENT: "AGENT";
382
+ readonly STANDARD: "STANDARD";
383
+ };
384
+ export type QueueType = (typeof QueueType)[keyof typeof QueueType];
382
385
  export interface ListQueuesRequest {
383
386
  InstanceId: string | undefined;
384
387
  QueueTypes?: (QueueType | string)[];
@@ -630,14 +633,18 @@ export interface SearchAvailablePhoneNumbersResponse {
630
633
  NextToken?: string;
631
634
  AvailableNumbersList?: AvailableNumberSummary[];
632
635
  }
633
- export declare enum SearchableQueueType {
634
- STANDARD = "STANDARD",
635
- }
636
- export declare enum StringComparisonType {
637
- CONTAINS = "CONTAINS",
638
- EXACT = "EXACT",
639
- STARTS_WITH = "STARTS_WITH",
640
- }
636
+ export declare const SearchableQueueType: {
637
+ readonly STANDARD: "STANDARD";
638
+ };
639
+ export type SearchableQueueType =
640
+ (typeof SearchableQueueType)[keyof typeof SearchableQueueType];
641
+ export declare const StringComparisonType: {
642
+ readonly CONTAINS: "CONTAINS";
643
+ readonly EXACT: "EXACT";
644
+ readonly STARTS_WITH: "STARTS_WITH";
645
+ };
646
+ export type StringComparisonType =
647
+ (typeof StringComparisonType)[keyof typeof StringComparisonType];
641
648
  export interface StringCondition {
642
649
  FieldName?: string;
643
650
  Value?: string;
@@ -684,10 +691,12 @@ export interface SearchSecurityProfilesResponse {
684
691
  NextToken?: string;
685
692
  ApproximateTotalCount?: number;
686
693
  }
687
- export declare enum HierarchyGroupMatchType {
688
- EXACT = "EXACT",
689
- WITH_CHILD_GROUPS = "WITH_CHILD_GROUPS",
690
- }
694
+ export declare const HierarchyGroupMatchType: {
695
+ readonly EXACT: "EXACT";
696
+ readonly WITH_CHILD_GROUPS: "WITH_CHILD_GROUPS";
697
+ };
698
+ export type HierarchyGroupMatchType =
699
+ (typeof HierarchyGroupMatchType)[keyof typeof HierarchyGroupMatchType];
691
700
  export interface HierarchyGroupCondition {
692
701
  Value?: string;
693
702
  HierarchyGroupMatchType?: HierarchyGroupMatchType | string;
@@ -744,10 +753,12 @@ export interface ChatMessage {
744
753
  export interface ParticipantDetails {
745
754
  DisplayName: string | undefined;
746
755
  }
747
- export declare enum RehydrationType {
748
- ENTIRE_PAST_SESSION = "ENTIRE_PAST_SESSION",
749
- FROM_SEGMENT = "FROM_SEGMENT",
750
- }
756
+ export declare const RehydrationType: {
757
+ readonly ENTIRE_PAST_SESSION: "ENTIRE_PAST_SESSION";
758
+ readonly FROM_SEGMENT: "FROM_SEGMENT";
759
+ };
760
+ export type RehydrationType =
761
+ (typeof RehydrationType)[keyof typeof RehydrationType];
751
762
  export interface PersistentChat {
752
763
  RehydrationType?: RehydrationType | string;
753
764
  SourceContactId?: string;
@@ -770,11 +781,13 @@ export interface StartChatContactResponse {
770
781
  ParticipantToken?: string;
771
782
  ContinuedFromContactId?: string;
772
783
  }
773
- export declare enum VoiceRecordingTrack {
774
- ALL = "ALL",
775
- FROM_AGENT = "FROM_AGENT",
776
- TO_AGENT = "TO_AGENT",
777
- }
784
+ export declare const VoiceRecordingTrack: {
785
+ readonly ALL: "ALL";
786
+ readonly FROM_AGENT: "FROM_AGENT";
787
+ readonly TO_AGENT: "TO_AGENT";
788
+ };
789
+ export type VoiceRecordingTrack =
790
+ (typeof VoiceRecordingTrack)[keyof typeof VoiceRecordingTrack];
778
791
  export interface VoiceRecordingConfiguration {
779
792
  VoiceRecordingTrack?: VoiceRecordingTrack | string;
780
793
  }
@@ -820,10 +833,11 @@ export interface AnswerMachineDetectionConfig {
820
833
  EnableAnswerMachineDetection?: boolean;
821
834
  AwaitAnswerMachinePrompt?: boolean;
822
835
  }
823
- export declare enum TrafficType {
824
- CAMPAIGN = "CAMPAIGN",
825
- GENERAL = "GENERAL",
826
- }
836
+ export declare const TrafficType: {
837
+ readonly CAMPAIGN: "CAMPAIGN";
838
+ readonly GENERAL: "GENERAL";
839
+ };
840
+ export type TrafficType = (typeof TrafficType)[keyof typeof TrafficType];
827
841
  export interface StartOutboundVoiceContactRequest {
828
842
  DestinationPhoneNumber: string | undefined;
829
843
  ContactFlowId: string | undefined;
@@ -990,17 +1004,23 @@ export interface UpdateInstanceStorageConfigRequest {
990
1004
  ResourceType: InstanceStorageResourceType | string | undefined;
991
1005
  StorageConfig: InstanceStorageConfig | undefined;
992
1006
  }
993
- export declare enum TimerEligibleParticipantRoles {
994
- AGENT = "AGENT",
995
- CUSTOMER = "CUSTOMER",
996
- }
997
- export declare enum ParticipantTimerType {
998
- DISCONNECT_NONCUSTOMER = "DISCONNECT_NONCUSTOMER",
999
- IDLE = "IDLE",
1000
- }
1001
- export declare enum ParticipantTimerAction {
1002
- Unset = "Unset",
1003
- }
1007
+ export declare const TimerEligibleParticipantRoles: {
1008
+ readonly AGENT: "AGENT";
1009
+ readonly CUSTOMER: "CUSTOMER";
1010
+ };
1011
+ export type TimerEligibleParticipantRoles =
1012
+ (typeof TimerEligibleParticipantRoles)[keyof typeof TimerEligibleParticipantRoles];
1013
+ export declare const ParticipantTimerType: {
1014
+ readonly DISCONNECT_NONCUSTOMER: "DISCONNECT_NONCUSTOMER";
1015
+ readonly IDLE: "IDLE";
1016
+ };
1017
+ export type ParticipantTimerType =
1018
+ (typeof ParticipantTimerType)[keyof typeof ParticipantTimerType];
1019
+ export declare const ParticipantTimerAction: {
1020
+ readonly Unset: "Unset";
1021
+ };
1022
+ export type ParticipantTimerAction =
1023
+ (typeof ParticipantTimerAction)[keyof typeof ParticipantTimerAction];
1004
1024
  export type ParticipantTimerValue =
1005
1025
  | ParticipantTimerValue.ParticipantTimerActionMember
1006
1026
  | ParticipantTimerValue.ParticipantTimerDurationInMinutesMember
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.301.0",
4
+ "version": "3.306.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",
@@ -21,43 +21,43 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.301.0",
25
- "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.301.0",
27
- "@aws-sdk/fetch-http-handler": "3.296.0",
28
- "@aws-sdk/hash-node": "3.296.0",
29
- "@aws-sdk/invalid-dependency": "3.296.0",
30
- "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.299.0",
32
- "@aws-sdk/middleware-host-header": "3.296.0",
33
- "@aws-sdk/middleware-logger": "3.296.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.300.0",
36
- "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.299.0",
38
- "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.300.0",
41
- "@aws-sdk/node-http-handler": "3.296.0",
42
- "@aws-sdk/protocol-http": "3.296.0",
43
- "@aws-sdk/smithy-client": "3.296.0",
44
- "@aws-sdk/types": "3.296.0",
45
- "@aws-sdk/url-parser": "3.296.0",
46
- "@aws-sdk/util-base64": "3.295.0",
47
- "@aws-sdk/util-body-length-browser": "3.295.0",
48
- "@aws-sdk/util-body-length-node": "3.295.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
- "@aws-sdk/util-endpoints": "3.296.0",
52
- "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.300.0",
55
- "@aws-sdk/util-utf8": "3.295.0",
24
+ "@aws-sdk/client-sts": "3.306.0",
25
+ "@aws-sdk/config-resolver": "3.306.0",
26
+ "@aws-sdk/credential-provider-node": "3.306.0",
27
+ "@aws-sdk/fetch-http-handler": "3.306.0",
28
+ "@aws-sdk/hash-node": "3.306.0",
29
+ "@aws-sdk/invalid-dependency": "3.306.0",
30
+ "@aws-sdk/middleware-content-length": "3.306.0",
31
+ "@aws-sdk/middleware-endpoint": "3.306.0",
32
+ "@aws-sdk/middleware-host-header": "3.306.0",
33
+ "@aws-sdk/middleware-logger": "3.306.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.306.0",
35
+ "@aws-sdk/middleware-retry": "3.306.0",
36
+ "@aws-sdk/middleware-serde": "3.306.0",
37
+ "@aws-sdk/middleware-signing": "3.306.0",
38
+ "@aws-sdk/middleware-stack": "3.306.0",
39
+ "@aws-sdk/middleware-user-agent": "3.306.0",
40
+ "@aws-sdk/node-config-provider": "3.306.0",
41
+ "@aws-sdk/node-http-handler": "3.306.0",
42
+ "@aws-sdk/protocol-http": "3.306.0",
43
+ "@aws-sdk/smithy-client": "3.306.0",
44
+ "@aws-sdk/types": "3.306.0",
45
+ "@aws-sdk/url-parser": "3.306.0",
46
+ "@aws-sdk/util-base64": "3.303.0",
47
+ "@aws-sdk/util-body-length-browser": "3.303.0",
48
+ "@aws-sdk/util-body-length-node": "3.303.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.306.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.306.0",
51
+ "@aws-sdk/util-endpoints": "3.306.0",
52
+ "@aws-sdk/util-retry": "3.306.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.306.0",
54
+ "@aws-sdk/util-user-agent-node": "3.306.0",
55
+ "@aws-sdk/util-utf8": "3.303.0",
56
56
  "tslib": "^2.5.0",
57
57
  "uuid": "^8.3.2"
58
58
  },
59
59
  "devDependencies": {
60
- "@aws-sdk/service-client-documentation-generator": "3.295.0",
60
+ "@aws-sdk/service-client-documentation-generator": "3.303.0",
61
61
  "@tsconfig/node14": "1.0.3",
62
62
  "@types/node": "^14.14.31",
63
63
  "@types/uuid": "^8.3.0",