@aws-sdk/client-connectcases 3.948.0 → 3.953.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 (62) hide show
  1. package/dist-cjs/index.js +671 -456
  2. package/dist-cjs/runtimeConfig.shared.js +6 -1
  3. package/dist-es/commands/BatchGetCaseRuleCommand.js +2 -2
  4. package/dist-es/commands/BatchGetFieldCommand.js +2 -2
  5. package/dist-es/commands/BatchPutFieldOptionsCommand.js +2 -2
  6. package/dist-es/commands/CreateCaseCommand.js +2 -2
  7. package/dist-es/commands/CreateCaseRuleCommand.js +2 -2
  8. package/dist-es/commands/CreateDomainCommand.js +2 -2
  9. package/dist-es/commands/CreateFieldCommand.js +2 -2
  10. package/dist-es/commands/CreateLayoutCommand.js +2 -2
  11. package/dist-es/commands/CreateRelatedItemCommand.js +2 -2
  12. package/dist-es/commands/CreateTemplateCommand.js +2 -2
  13. package/dist-es/commands/DeleteCaseCommand.js +2 -2
  14. package/dist-es/commands/DeleteCaseRuleCommand.js +2 -2
  15. package/dist-es/commands/DeleteDomainCommand.js +2 -2
  16. package/dist-es/commands/DeleteFieldCommand.js +2 -2
  17. package/dist-es/commands/DeleteLayoutCommand.js +2 -2
  18. package/dist-es/commands/DeleteRelatedItemCommand.js +2 -2
  19. package/dist-es/commands/DeleteTemplateCommand.js +2 -2
  20. package/dist-es/commands/GetCaseAuditEventsCommand.js +2 -2
  21. package/dist-es/commands/GetCaseCommand.js +2 -2
  22. package/dist-es/commands/GetCaseEventConfigurationCommand.js +2 -2
  23. package/dist-es/commands/GetDomainCommand.js +2 -2
  24. package/dist-es/commands/GetLayoutCommand.js +2 -2
  25. package/dist-es/commands/GetTemplateCommand.js +2 -2
  26. package/dist-es/commands/ListCaseRulesCommand.js +2 -2
  27. package/dist-es/commands/ListCasesForContactCommand.js +2 -2
  28. package/dist-es/commands/ListDomainsCommand.js +2 -2
  29. package/dist-es/commands/ListFieldOptionsCommand.js +2 -2
  30. package/dist-es/commands/ListFieldsCommand.js +2 -2
  31. package/dist-es/commands/ListLayoutsCommand.js +2 -2
  32. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  33. package/dist-es/commands/ListTemplatesCommand.js +2 -2
  34. package/dist-es/commands/PutCaseEventConfigurationCommand.js +2 -2
  35. package/dist-es/commands/SearchAllRelatedItemsCommand.js +2 -2
  36. package/dist-es/commands/SearchCasesCommand.js +2 -2
  37. package/dist-es/commands/SearchRelatedItemsCommand.js +2 -2
  38. package/dist-es/commands/TagResourceCommand.js +2 -2
  39. package/dist-es/commands/UntagResourceCommand.js +2 -2
  40. package/dist-es/commands/UpdateCaseCommand.js +2 -2
  41. package/dist-es/commands/UpdateCaseRuleCommand.js +2 -2
  42. package/dist-es/commands/UpdateFieldCommand.js +2 -2
  43. package/dist-es/commands/UpdateLayoutCommand.js +2 -2
  44. package/dist-es/commands/UpdateTemplateCommand.js +2 -2
  45. package/dist-es/index.js +1 -0
  46. package/dist-es/runtimeConfig.shared.js +6 -1
  47. package/dist-es/schemas/schemas_0.js +414 -405
  48. package/dist-types/ConnectCasesClient.d.ts +1 -10
  49. package/dist-types/index.d.ts +1 -0
  50. package/dist-types/runtimeConfig.browser.d.ts +6 -2
  51. package/dist-types/runtimeConfig.d.ts +6 -2
  52. package/dist-types/runtimeConfig.native.d.ts +6 -2
  53. package/dist-types/runtimeConfig.shared.d.ts +6 -1
  54. package/dist-types/schemas/schemas_0.d.ts +207 -250
  55. package/dist-types/ts3.4/ConnectCasesClient.d.ts +0 -4
  56. package/dist-types/ts3.4/index.d.ts +1 -0
  57. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
  58. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
  59. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
  60. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
  61. package/dist-types/ts3.4/schemas/schemas_0.d.ts +206 -252
  62. package/package.json +34 -34
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { TagResource } from "../schemas/schemas_0";
4
+ import { TagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class TagResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class TagResourceCommand extends $Command
11
11
  })
12
12
  .s("AmazonConnectCases", "TagResource", {})
13
13
  .n("ConnectCasesClient", "TagResourceCommand")
14
- .sc(TagResource)
14
+ .sc(TagResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UntagResource } from "../schemas/schemas_0";
4
+ import { UntagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UntagResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UntagResourceCommand extends $Command
11
11
  })
12
12
  .s("AmazonConnectCases", "UntagResource", {})
13
13
  .n("ConnectCasesClient", "UntagResourceCommand")
14
- .sc(UntagResource)
14
+ .sc(UntagResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateCase } from "../schemas/schemas_0";
4
+ import { UpdateCase$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateCaseCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateCaseCommand extends $Command
11
11
  })
12
12
  .s("AmazonConnectCases", "UpdateCase", {})
13
13
  .n("ConnectCasesClient", "UpdateCaseCommand")
14
- .sc(UpdateCase)
14
+ .sc(UpdateCase$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateCaseRule } from "../schemas/schemas_0";
4
+ import { UpdateCaseRule$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateCaseRuleCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateCaseRuleCommand extends $Command
11
11
  })
12
12
  .s("AmazonConnectCases", "UpdateCaseRule", {})
13
13
  .n("ConnectCasesClient", "UpdateCaseRuleCommand")
14
- .sc(UpdateCaseRule)
14
+ .sc(UpdateCaseRule$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateField } from "../schemas/schemas_0";
4
+ import { UpdateField$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateFieldCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateFieldCommand extends $Command
11
11
  })
12
12
  .s("AmazonConnectCases", "UpdateField", {})
13
13
  .n("ConnectCasesClient", "UpdateFieldCommand")
14
- .sc(UpdateField)
14
+ .sc(UpdateField$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateLayout } from "../schemas/schemas_0";
4
+ import { UpdateLayout$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateLayoutCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateLayoutCommand extends $Command
11
11
  })
12
12
  .s("AmazonConnectCases", "UpdateLayout", {})
13
13
  .n("ConnectCasesClient", "UpdateLayoutCommand")
14
- .sc(UpdateLayout)
14
+ .sc(UpdateLayout$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateTemplate } from "../schemas/schemas_0";
4
+ import { UpdateTemplate$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateTemplateCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateTemplateCommand extends $Command
11
11
  })
12
12
  .s("AmazonConnectCases", "UpdateTemplate", {})
13
13
  .n("ConnectCasesClient", "UpdateTemplateCommand")
14
- .sc(UpdateTemplate)
14
+ .sc(UpdateTemplate$)
15
15
  .build() {
16
16
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./ConnectCasesClient";
2
2
  export * from "./ConnectCases";
3
3
  export * from "./commands";
4
+ export * from "./schemas/schemas_0";
4
5
  export * from "./pagination";
5
6
  export * from "./models/enums";
6
7
  export * from "./models/errors";
@@ -23,7 +23,12 @@ export const getRuntimeConfig = (config) => {
23
23
  },
24
24
  ],
25
25
  logger: config?.logger ?? new NoOpLogger(),
26
- protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.connectcases" }),
26
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
27
+ protocolSettings: config?.protocolSettings ?? {
28
+ defaultNamespace: "com.amazonaws.connectcases",
29
+ version: "2022-10-03",
30
+ serviceTarget: "AmazonConnectCases",
31
+ },
27
32
  serviceId: config?.serviceId ?? "ConnectCases",
28
33
  urlParser: config?.urlParser ?? parseUrl,
29
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,