@aws-sdk/client-connect 3.382.0 → 3.386.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.
Files changed (35) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/Connect.js +2 -0
  3. package/dist-cjs/commands/UpdateRoutingProfileAgentAvailabilityTimerCommand.js +46 -0
  4. package/dist-cjs/commands/index.js +1 -0
  5. package/dist-cjs/endpoint/ruleset.js +1 -1
  6. package/dist-cjs/models/models_0.js +6 -6
  7. package/dist-cjs/models/models_1.js +5 -1
  8. package/dist-cjs/protocols/Aws_restJson1.js +72 -5
  9. package/dist-es/Connect.js +2 -0
  10. package/dist-es/commands/UpdateRoutingProfileAgentAvailabilityTimerCommand.js +42 -0
  11. package/dist-es/commands/index.js +1 -0
  12. package/dist-es/endpoint/ruleset.js +1 -1
  13. package/dist-es/models/models_0.js +4 -4
  14. package/dist-es/models/models_1.js +4 -0
  15. package/dist-es/protocols/Aws_restJson1.js +65 -0
  16. package/dist-types/Connect.d.ts +7 -0
  17. package/dist-types/ConnectClient.d.ts +3 -2
  18. package/dist-types/commands/CreateRoutingProfileCommand.d.ts +1 -0
  19. package/dist-types/commands/DescribeRoutingProfileCommand.d.ts +1 -0
  20. package/dist-types/commands/SearchRoutingProfilesCommand.d.ts +1 -0
  21. package/dist-types/commands/UpdateRoutingProfileAgentAvailabilityTimerCommand.d.ts +92 -0
  22. package/dist-types/commands/index.d.ts +1 -0
  23. package/dist-types/models/models_0.d.ts +30 -12
  24. package/dist-types/models/models_1.d.ts +37 -67
  25. package/dist-types/models/models_2.d.ts +67 -1
  26. package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
  27. package/dist-types/ts3.4/Connect.d.ts +23 -0
  28. package/dist-types/ts3.4/ConnectClient.d.ts +6 -0
  29. package/dist-types/ts3.4/commands/UpdateRoutingProfileAgentAvailabilityTimerCommand.d.ts +38 -0
  30. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  31. package/dist-types/ts3.4/models/models_0.d.ts +8 -5
  32. package/dist-types/ts3.4/models/models_1.d.ts +11 -15
  33. package/dist-types/ts3.4/models/models_2.d.ts +14 -2
  34. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
  35. package/package.json +5 -5
@@ -68,6 +68,12 @@ export declare class ThrottlingException extends __BaseException {
68
68
  opts: __ExceptionOptionType<ThrottlingException, __BaseException>
69
69
  );
70
70
  }
71
+ export declare const AgentAvailabilityTimer: {
72
+ readonly TIME_SINCE_LAST_ACTIVITY: "TIME_SINCE_LAST_ACTIVITY";
73
+ readonly TIME_SINCE_LAST_INBOUND: "TIME_SINCE_LAST_INBOUND";
74
+ };
75
+ export type AgentAvailabilityTimer =
76
+ (typeof AgentAvailabilityTimer)[keyof typeof AgentAvailabilityTimer];
71
77
  export declare const ContactState: {
72
78
  readonly CONNECTED: "CONNECTED";
73
79
  readonly CONNECTED_ONHOLD: "CONNECTED_ONHOLD";
@@ -788,6 +794,7 @@ export interface CreateRoutingProfileRequest {
788
794
  QueueConfigs?: RoutingProfileQueueConfig[];
789
795
  MediaConcurrencies: MediaConcurrency[] | undefined;
790
796
  Tags?: Record<string, string>;
797
+ AgentAvailabilityTimer?: AgentAvailabilityTimer | string;
791
798
  }
792
799
  export interface CreateRoutingProfileResponse {
793
800
  RoutingProfileArn?: string;
@@ -1811,6 +1818,7 @@ export interface RoutingProfile {
1811
1818
  Tags?: Record<string, string>;
1812
1819
  NumberOfAssociatedQueues?: number;
1813
1820
  NumberOfAssociatedUsers?: number;
1821
+ AgentAvailabilityTimer?: AgentAvailabilityTimer | string;
1814
1822
  }
1815
1823
  export interface DescribeRoutingProfileResponse {
1816
1824
  RoutingProfile?: RoutingProfile;
@@ -2051,11 +2059,6 @@ export declare const Grouping: {
2051
2059
  readonly ROUTING_PROFILE: "ROUTING_PROFILE";
2052
2060
  };
2053
2061
  export type Grouping = (typeof Grouping)[keyof typeof Grouping];
2054
- export declare const SortOrder: {
2055
- readonly ASCENDING: "ASCENDING";
2056
- readonly DESCENDING: "DESCENDING";
2057
- };
2058
- export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
2059
2062
  export declare const CreateInstanceRequestFilterSensitiveLog: (
2060
2063
  obj: CreateInstanceRequest
2061
2064
  ) => any;
@@ -2,6 +2,7 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-cli
2
2
  import { ConnectServiceException as __BaseException } from "./ConnectServiceException";
3
3
  import {
4
4
  ActionSummary,
5
+ AgentAvailabilityTimer,
5
6
  AgentContactReference,
6
7
  AgentStatusReference,
7
8
  AgentStatusState,
@@ -54,7 +55,6 @@ import {
54
55
  RoutingProfileQueueConfig,
55
56
  RuleAction,
56
57
  RulePublishStatus,
57
- SortOrder,
58
58
  SourceType,
59
59
  TaskTemplateConstraints,
60
60
  TaskTemplateDefaults,
@@ -68,6 +68,11 @@ import {
68
68
  VocabularyLanguageCode,
69
69
  VocabularyState,
70
70
  } from "./models_0";
71
+ export declare const SortOrder: {
72
+ readonly ASCENDING: "ASCENDING";
73
+ readonly DESCENDING: "DESCENDING";
74
+ };
75
+ export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
71
76
  export interface CurrentMetricSortCriteria {
72
77
  SortByMetric?: CurrentMetricName | string;
73
78
  SortOrder?: SortOrder | string;
@@ -1616,6 +1621,11 @@ export interface UpdateQuickConnectNameRequest {
1616
1621
  Name?: string;
1617
1622
  Description?: string;
1618
1623
  }
1624
+ export interface UpdateRoutingProfileAgentAvailabilityTimerRequest {
1625
+ InstanceId: string | undefined;
1626
+ RoutingProfileId: string | undefined;
1627
+ AgentAvailabilityTimer: AgentAvailabilityTimer | string | undefined;
1628
+ }
1619
1629
  export interface UpdateRoutingProfileConcurrencyRequest {
1620
1630
  InstanceId: string | undefined;
1621
1631
  RoutingProfileId: string | undefined;
@@ -1785,20 +1795,6 @@ export interface EvaluationForm {
1785
1795
  LastModifiedBy: string | undefined;
1786
1796
  Tags?: Record<string, string>;
1787
1797
  }
1788
- export interface EvaluationFormContent {
1789
- EvaluationFormVersion: number | undefined;
1790
- EvaluationFormId: string | undefined;
1791
- EvaluationFormArn: string | undefined;
1792
- Title: string | undefined;
1793
- Description?: string;
1794
- Items: EvaluationFormItem[] | undefined;
1795
- ScoringStrategy?: EvaluationFormScoringStrategy;
1796
- }
1797
- export interface HoursOfOperationSearchCriteria {
1798
- OrConditions?: HoursOfOperationSearchCriteria[];
1799
- AndConditions?: HoursOfOperationSearchCriteria[];
1800
- StringCondition?: StringCondition;
1801
- }
1802
1798
  export declare const CredentialsFilterSensitiveLog: (obj: Credentials) => any;
1803
1799
  export declare const GetFederationTokenResponseFilterSensitiveLog: (
1804
1800
  obj: GetFederationTokenResponse
@@ -1,10 +1,8 @@
1
1
  import { Evaluation, EvaluationFormScoringStrategy } from "./models_0";
2
2
  import {
3
3
  EvaluationForm,
4
- EvaluationFormContent,
5
4
  EvaluationFormItem,
6
5
  HierarchyGroupCondition,
7
- HoursOfOperationSearchCriteria,
8
6
  HoursOfOperationSearchFilter,
9
7
  PromptSearchFilter,
10
8
  QueueSearchFilter,
@@ -15,6 +13,20 @@ import {
15
13
  StringCondition,
16
14
  UserSearchFilter,
17
15
  } from "./models_1";
16
+ export interface EvaluationFormContent {
17
+ EvaluationFormVersion: number | undefined;
18
+ EvaluationFormId: string | undefined;
19
+ EvaluationFormArn: string | undefined;
20
+ Title: string | undefined;
21
+ Description?: string;
22
+ Items: EvaluationFormItem[] | undefined;
23
+ ScoringStrategy?: EvaluationFormScoringStrategy;
24
+ }
25
+ export interface HoursOfOperationSearchCriteria {
26
+ OrConditions?: HoursOfOperationSearchCriteria[];
27
+ AndConditions?: HoursOfOperationSearchCriteria[];
28
+ StringCondition?: StringCondition;
29
+ }
18
30
  export interface PromptSearchCriteria {
19
31
  OrConditions?: PromptSearchCriteria[];
20
32
  AndConditions?: PromptSearchCriteria[];
@@ -727,6 +727,10 @@ import {
727
727
  UpdateQuickConnectNameCommandInput,
728
728
  UpdateQuickConnectNameCommandOutput,
729
729
  } from "../commands/UpdateQuickConnectNameCommand";
730
+ import {
731
+ UpdateRoutingProfileAgentAvailabilityTimerCommandInput,
732
+ UpdateRoutingProfileAgentAvailabilityTimerCommandOutput,
733
+ } from "../commands/UpdateRoutingProfileAgentAvailabilityTimerCommand";
730
734
  import {
731
735
  UpdateRoutingProfileConcurrencyCommandInput,
732
736
  UpdateRoutingProfileConcurrencyCommandOutput,
@@ -1511,6 +1515,10 @@ export declare const se_UpdateQuickConnectNameCommand: (
1511
1515
  input: UpdateQuickConnectNameCommandInput,
1512
1516
  context: __SerdeContext
1513
1517
  ) => Promise<__HttpRequest>;
1518
+ export declare const se_UpdateRoutingProfileAgentAvailabilityTimerCommand: (
1519
+ input: UpdateRoutingProfileAgentAvailabilityTimerCommandInput,
1520
+ context: __SerdeContext
1521
+ ) => Promise<__HttpRequest>;
1514
1522
  export declare const se_UpdateRoutingProfileConcurrencyCommand: (
1515
1523
  input: UpdateRoutingProfileConcurrencyCommandInput,
1516
1524
  context: __SerdeContext
@@ -2295,6 +2303,10 @@ export declare const de_UpdateQuickConnectNameCommand: (
2295
2303
  output: __HttpResponse,
2296
2304
  context: __SerdeContext
2297
2305
  ) => Promise<UpdateQuickConnectNameCommandOutput>;
2306
+ export declare const de_UpdateRoutingProfileAgentAvailabilityTimerCommand: (
2307
+ output: __HttpResponse,
2308
+ context: __SerdeContext
2309
+ ) => Promise<UpdateRoutingProfileAgentAvailabilityTimerCommandOutput>;
2298
2310
  export declare const de_UpdateRoutingProfileConcurrencyCommand: (
2299
2311
  output: __HttpResponse,
2300
2312
  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.382.0",
4
+ "version": "3.386.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,15 +21,15 @@
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.382.0",
25
- "@aws-sdk/credential-provider-node": "3.382.0",
24
+ "@aws-sdk/client-sts": "3.386.0",
25
+ "@aws-sdk/credential-provider-node": "3.386.0",
26
26
  "@aws-sdk/middleware-host-header": "3.379.1",
27
27
  "@aws-sdk/middleware-logger": "3.378.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.378.0",
29
29
  "@aws-sdk/middleware-signing": "3.379.1",
30
- "@aws-sdk/middleware-user-agent": "3.382.0",
30
+ "@aws-sdk/middleware-user-agent": "3.386.0",
31
31
  "@aws-sdk/types": "3.378.0",
32
- "@aws-sdk/util-endpoints": "3.382.0",
32
+ "@aws-sdk/util-endpoints": "3.386.0",
33
33
  "@aws-sdk/util-user-agent-browser": "3.378.0",
34
34
  "@aws-sdk/util-user-agent-node": "3.378.0",
35
35
  "@smithy/config-resolver": "^2.0.1",