@aws-sdk/client-connect 3.1109.0 → 3.1111.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 (39) hide show
  1. package/README.md +7 -0
  2. package/dist-cjs/index.js +36 -3
  3. package/dist-es/Connect.js +2 -0
  4. package/dist-es/commands/StartAssistantContactCommand.js +4 -0
  5. package/dist-es/commands/index.js +1 -0
  6. package/dist-es/schemas/schemas_0.js +26 -2
  7. package/dist-types/Connect.d.ts +7 -0
  8. package/dist-types/ConnectClient.d.ts +3 -2
  9. package/dist-types/commands/SearchContactFlowsCommand.d.ts +1 -1
  10. package/dist-types/commands/StartAssistantContactCommand.d.ts +126 -0
  11. package/dist-types/commands/StartWebRTCContactCommand.d.ts +28 -1
  12. package/dist-types/commands/index.d.ts +1 -0
  13. package/dist-types/models/models_0.d.ts +11 -21
  14. package/dist-types/models/models_1.d.ts +22 -58
  15. package/dist-types/models/models_2.d.ts +59 -22
  16. package/dist-types/models/models_3.d.ts +164 -211
  17. package/dist-types/models/models_4.d.ts +161 -4
  18. package/dist-types/runtimeConfig.browser.d.ts +40 -40
  19. package/dist-types/runtimeConfig.d.ts +36 -36
  20. package/dist-types/runtimeConfig.native.d.ts +38 -38
  21. package/dist-types/runtimeConfig.shared.d.ts +2 -2
  22. package/dist-types/schemas/schemas_0.d.ts +4 -0
  23. package/dist-types/ts3.4/Connect.d.ts +17 -0
  24. package/dist-types/ts3.4/ConnectClient.d.ts +6 -0
  25. package/dist-types/ts3.4/commands/SearchContactFlowsCommand.d.ts +1 -1
  26. package/dist-types/ts3.4/commands/StartAssistantContactCommand.d.ts +39 -0
  27. package/dist-types/ts3.4/commands/StartWebRTCContactCommand.d.ts +2 -1
  28. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  29. package/dist-types/ts3.4/models/models_0.d.ts +3 -5
  30. package/dist-types/ts3.4/models/models_1.d.ts +5 -14
  31. package/dist-types/ts3.4/models/models_2.d.ts +16 -7
  32. package/dist-types/ts3.4/models/models_3.d.ts +33 -47
  33. package/dist-types/ts3.4/models/models_4.d.ts +33 -2
  34. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +56 -58
  35. package/dist-types/ts3.4/runtimeConfig.d.ts +58 -58
  36. package/dist-types/ts3.4/runtimeConfig.native.d.ts +60 -62
  37. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
  38. package/dist-types/ts3.4/schemas/schemas_0.d.ts +4 -0
  39. package/package.json +5 -5
@@ -1,85 +1,29 @@
1
1
  import { ConnectClientConfig } from "./ConnectClient";
2
2
  export declare const getRuntimeConfig: (config: ConnectClientConfig) => {
3
- runtime: string;
4
- requestHandler:
5
- | import("@smithy/types").NodeHttpHandlerOptions
6
- | import("@smithy/types").FetchHttpHandlerOptions
7
- | Record<string, unknown>
8
- | import("@smithy/core/protocols").HttpHandler<any>
9
- | import("@smithy/fetch-http-handler").FetchHttpHandler;
10
3
  cacheMiddleware?: boolean;
11
- protocol:
12
- | import("@smithy/types").ClientProtocol<any, any>
13
- | import("@smithy/types").ClientProtocolCtor<any, any>
14
- | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
15
- protocolSettings: {
16
- defaultNamespace?: string;
17
- [setting: string]: unknown;
18
- };
19
- apiVersion: string;
20
- sha256: import("@smithy/types").HashConstructor;
21
- urlParser: import("@smithy/types").UrlParser;
22
- bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
23
- streamCollector: (
24
- stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
25
- ) => Promise<Uint8Array>;
26
- base64Decoder: import("@smithy/types").Decoder;
27
- base64Encoder: (_input: Uint8Array | string) => string;
28
- utf8Decoder: import("@smithy/types").Decoder;
29
- utf8Encoder: (input: Uint8Array | string) => string;
30
- disableHostPrefix: boolean;
31
- serviceId: string;
32
- useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
33
- (boolean | import("@smithy/types").Provider<boolean | undefined>);
34
- useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
35
- (boolean | import("@smithy/types").Provider<boolean | undefined>);
36
- region: string | import("@smithy/types").Provider<any>;
37
- profile?: string;
38
- defaultUserAgentProvider: (
39
- config?: import("@aws-sdk/core/client").PreviouslyResolved,
40
- ) => Promise<import("@smithy/types").UserAgent>;
41
- credentialDefaultProvider:
42
- | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
43
- | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
44
- maxAttempts: number | import("@smithy/types").Provider<number>;
45
- retryMode: string | import("@smithy/types").Provider<string>;
46
- logger: import("@smithy/types").Logger;
47
- extensions: import("./runtimeExtensions").RuntimeExtension[];
48
- defaultsMode:
49
- | import("@smithy/core/client").DefaultsMode
50
- | import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
51
- customUserAgent?: string | import("@smithy/types").UserAgent;
52
- userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
53
- retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
54
4
  endpoint?:
55
5
  | ((
56
6
  | string
57
7
  | import("@smithy/types").Endpoint
58
- | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
59
8
  | import("@smithy/types").EndpointV2
9
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
60
10
  | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
61
11
  ) &
62
12
  (
63
13
  | string
64
- | import("@smithy/types").Provider<string>
65
14
  | import("@smithy/types").Endpoint
66
- | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
67
15
  | import("@smithy/types").EndpointV2
16
+ | import("@smithy/types").Provider<string>
17
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
68
18
  | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
69
19
  ))
70
20
  | undefined;
71
- endpointProvider: (
72
- endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
73
- context?: {
74
- logger?: import("@smithy/types").Logger;
75
- },
76
- ) => import("@smithy/types").EndpointV2;
77
21
  tls?: boolean;
78
22
  ignoreConfiguredEndpointUrls?: boolean;
79
23
  serviceConfiguredEndpoint?: never;
80
- authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
81
- httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
82
- httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ConnectHttpAuthSchemeProvider;
24
+ customUserAgent?: string | import("@smithy/types").UserAgent;
25
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
26
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
83
27
  credentials?:
84
28
  | import("@smithy/types").AwsCredentialIdentity
85
29
  | import("@smithy/types").AwsCredentialIdentityProvider;
@@ -96,4 +40,58 @@ export declare const getRuntimeConfig: (config: ConnectClientConfig) => {
96
40
  import("@smithy/signature-v4").SignatureV4CryptoInit,
97
41
  ) => import("@smithy/types").RequestSigner;
98
42
  disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
43
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
44
+ apiVersion: string;
45
+ base64Decoder: import("@smithy/types").Decoder;
46
+ base64Encoder: (_input: Uint8Array | string) => string;
47
+ disableHostPrefix: boolean;
48
+ endpointProvider: (
49
+ params: import("./endpoint/EndpointParameters").EndpointParameters,
50
+ context?: {
51
+ logger?: import("@smithy/types").Logger;
52
+ },
53
+ ) => import("@smithy/types").EndpointV2;
54
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
55
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ConnectHttpAuthSchemeProvider;
56
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
57
+ logger: import("@smithy/types").Logger;
58
+ protocol:
59
+ | import("@smithy/types").$ClientProtocol<any, any>
60
+ | import("@smithy/types").$ClientProtocolCtor<any, any>
61
+ | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
62
+ protocolSettings: {
63
+ [setting: string]: unknown;
64
+ defaultNamespace?: string;
65
+ };
66
+ serviceId: string;
67
+ sha256: import("@smithy/types").HashConstructor;
68
+ urlParser: import("@smithy/types").UrlParser;
69
+ utf8Decoder: import("@smithy/types").Decoder;
70
+ utf8Encoder: (input: Uint8Array | string) => string;
71
+ profile?: string;
72
+ defaultsMode:
73
+ | import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>
74
+ | import("@smithy/core/client").DefaultsMode;
75
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
76
+ credentialDefaultProvider:
77
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
78
+ | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
79
+ defaultUserAgentProvider: (
80
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
81
+ ) => Promise<import("@smithy/types").UserAgent>;
82
+ maxAttempts: number | import("@smithy/types").Provider<number>;
83
+ region: string | import("@smithy/types").Provider<any>;
84
+ requestHandler:
85
+ | import("@smithy/fetch-http-handler").FetchHttpHandler
86
+ | import("@smithy/types").FetchHttpHandlerOptions
87
+ | import("@smithy/types").NodeHttpHandlerOptions
88
+ | Record<string, unknown>
89
+ | import("@smithy/core/protocols").HttpHandler<any>;
90
+ retryMode: string | import("@smithy/types").Provider<string>;
91
+ streamCollector: (
92
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
93
+ ) => Promise<Uint8Array>;
94
+ useDualstackEndpoint: boolean | (() => Promise<boolean>);
95
+ useFipsEndpoint: boolean | (() => Promise<boolean>);
96
+ runtime: string;
99
97
  };
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: ConnectClientConfig) => {
6
6
  base64Encoder: (_input: Uint8Array | string) => string;
7
7
  disableHostPrefix: boolean;
8
8
  endpointProvider: (
9
- endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
9
+ params: import("./endpoint/EndpointParameters").EndpointParameters,
10
10
  context?: {
11
11
  logger?: import("@smithy/types").Logger;
12
12
  },
@@ -16,8 +16,8 @@ export declare const getRuntimeConfig: (config: ConnectClientConfig) => {
16
16
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
17
17
  logger: import("@smithy/types").Logger;
18
18
  protocol:
19
- | import("@smithy/types").ClientProtocol<any, any>
20
- | import("@smithy/types").ClientProtocolCtor<any, any>
19
+ | import("@smithy/types").$ClientProtocol<any, any>
20
+ | import("@smithy/types").$ClientProtocolCtor<any, any>
21
21
  | typeof AwsRestJsonProtocol;
22
22
  protocolSettings: {
23
23
  [setting: string]: unknown;
@@ -57,6 +57,7 @@ export declare var AgentStatusSearchCriteria$: StaticStructureSchema;
57
57
  export declare var AgentStatusSearchFilter$: StaticStructureSchema;
58
58
  export declare var AgentStatusSummary$: StaticStructureSchema;
59
59
  export declare var AiAgentInfo$: StaticStructureSchema;
60
+ export declare var AiAgentInput$: StaticStructureSchema;
60
61
  export declare var AiAgentsCriteria$: StaticStructureSchema;
61
62
  export declare var AiAgentSearchCriteria$: StaticStructureSchema;
62
63
  export declare var AliasConfiguration$: StaticStructureSchema;
@@ -1038,6 +1039,8 @@ export declare var SignInDistribution$: StaticStructureSchema;
1038
1039
  export declare var SingleSelectQuestionRuleCategoryAutomation$: StaticStructureSchema;
1039
1040
  export declare var Sort$: StaticStructureSchema;
1040
1041
  export declare var SourceCampaign$: StaticStructureSchema;
1042
+ export declare var StartAssistantContactRequest$: StaticStructureSchema;
1043
+ export declare var StartAssistantContactResponse$: StaticStructureSchema;
1041
1044
  export declare var StartAttachedFileUploadRequest$: StaticStructureSchema;
1042
1045
  export declare var StartAttachedFileUploadResponse$: StaticStructureSchema;
1043
1046
  export declare var StartChatContactRequest$: StaticStructureSchema;
@@ -1596,6 +1599,7 @@ export declare var SearchWorkspaces$: StaticOperationSchema;
1596
1599
  export declare var SendChatIntegrationEvent$: StaticOperationSchema;
1597
1600
  export declare var SendOutboundEmail$: StaticOperationSchema;
1598
1601
  export declare var SendOutboundWebNotification$: StaticOperationSchema;
1602
+ export declare var StartAssistantContact$: StaticOperationSchema;
1599
1603
  export declare var StartAttachedFileUpload$: StaticOperationSchema;
1600
1604
  export declare var StartChatContact$: StaticOperationSchema;
1601
1605
  export declare var StartContactConversationalAnalyticsJob$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-connect",
3
- "version": "3.1109.0",
3
+ "version": "3.1111.0",
4
4
  "description": "AWS SDK for JavaScript Connect Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-connect",
6
6
  "license": "Apache-2.0",
@@ -46,9 +46,9 @@
46
46
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
47
47
  },
48
48
  "dependencies": {
49
- "@aws-sdk/core": "^3.977.7",
50
- "@aws-sdk/credential-provider-node": "^3.972.79",
51
- "@aws-sdk/types": "^3.974.3",
49
+ "@aws-sdk/core": "^3.977.8",
50
+ "@aws-sdk/credential-provider-node": "^3.972.80",
51
+ "@aws-sdk/types": "^3.974.4",
52
52
  "@smithy/core": "^3.31.1",
53
53
  "@smithy/fetch-http-handler": "^5.6.13",
54
54
  "@smithy/node-http-handler": "^4.9.13",
@@ -61,7 +61,7 @@
61
61
  "concurrently": "7.0.0",
62
62
  "downlevel-dts": "0.10.1",
63
63
  "premove": "4.0.0",
64
- "typescript": "~6.0.3"
64
+ "typescript": "~7.0.2"
65
65
  },
66
66
  "engines": {
67
67
  "node": ">=20.0.0"