@aws-sdk/client-connect 3.968.0 → 3.970.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 (69) hide show
  1. package/README.md +21 -0
  2. package/dist-cjs/index.js +814 -636
  3. package/dist-es/Connect.js +6 -0
  4. package/dist-es/commands/AssociateHoursOfOperationsCommand.js +16 -0
  5. package/dist-es/commands/DisassociateHoursOfOperationsCommand.js +16 -0
  6. package/dist-es/commands/ListChildHoursOfOperationsCommand.js +16 -0
  7. package/dist-es/commands/index.js +3 -0
  8. package/dist-es/models/enums.js +14 -0
  9. package/dist-es/pagination/ListChildHoursOfOperationsPaginator.js +4 -0
  10. package/dist-es/pagination/index.js +1 -0
  11. package/dist-es/schemas/schemas_0.js +743 -636
  12. package/dist-types/Connect.d.ts +21 -0
  13. package/dist-types/ConnectClient.d.ts +5 -2
  14. package/dist-types/commands/AssociateHoursOfOperationsCommand.d.ts +99 -0
  15. package/dist-types/commands/CreateHoursOfOperationCommand.d.ts +8 -0
  16. package/dist-types/commands/CreateHoursOfOperationOverrideCommand.d.ts +16 -0
  17. package/dist-types/commands/DeleteContactFlowCommand.d.ts +1 -1
  18. package/dist-types/commands/DeleteContactFlowModuleCommand.d.ts +1 -1
  19. package/dist-types/commands/DescribeHoursOfOperationCommand.d.ts +7 -0
  20. package/dist-types/commands/DescribeHoursOfOperationOverrideCommand.d.ts +16 -0
  21. package/dist-types/commands/DisassociateHoursOfOperationsCommand.d.ts +94 -0
  22. package/dist-types/commands/GetEffectiveHoursOfOperationsCommand.d.ts +19 -0
  23. package/dist-types/commands/ListChildHoursOfOperationsCommand.d.ts +103 -0
  24. package/dist-types/commands/ListContactEvaluationsCommand.d.ts +2 -1
  25. package/dist-types/commands/ListContactFlowModuleAliasesCommand.d.ts +1 -1
  26. package/dist-types/commands/ListContactFlowModuleVersionsCommand.d.ts +1 -1
  27. package/dist-types/commands/ListContactFlowModulesCommand.d.ts +1 -1
  28. package/dist-types/commands/ListHoursOfOperationOverridesCommand.d.ts +16 -0
  29. package/dist-types/commands/SearchHoursOfOperationOverridesCommand.d.ts +16 -0
  30. package/dist-types/commands/SearchHoursOfOperationsCommand.d.ts +7 -0
  31. package/dist-types/commands/StartContactRecordingCommand.d.ts +1 -1
  32. package/dist-types/commands/StartContactStreamingCommand.d.ts +1 -1
  33. package/dist-types/commands/StartEmailContactCommand.d.ts +1 -2
  34. package/dist-types/commands/StartOutboundChatContactCommand.d.ts +1 -2
  35. package/dist-types/commands/UpdateHoursOfOperationOverrideCommand.d.ts +16 -0
  36. package/dist-types/commands/index.d.ts +3 -0
  37. package/dist-types/models/enums.d.ts +38 -0
  38. package/dist-types/models/models_0.d.ts +104 -41
  39. package/dist-types/models/models_1.d.ts +200 -226
  40. package/dist-types/models/models_2.d.ts +226 -175
  41. package/dist-types/models/models_3.d.ts +188 -3
  42. package/dist-types/pagination/ListChildHoursOfOperationsPaginator.d.ts +7 -0
  43. package/dist-types/pagination/index.d.ts +1 -0
  44. package/dist-types/schemas/schemas_0.d.ts +13 -0
  45. package/dist-types/ts3.4/Connect.d.ts +51 -0
  46. package/dist-types/ts3.4/ConnectClient.d.ts +18 -0
  47. package/dist-types/ts3.4/commands/AssociateHoursOfOperationsCommand.d.ts +47 -0
  48. package/dist-types/ts3.4/commands/DeleteContactFlowCommand.d.ts +1 -1
  49. package/dist-types/ts3.4/commands/DeleteContactFlowModuleCommand.d.ts +1 -1
  50. package/dist-types/ts3.4/commands/DisassociateHoursOfOperationsCommand.d.ts +47 -0
  51. package/dist-types/ts3.4/commands/ListChildHoursOfOperationsCommand.d.ts +51 -0
  52. package/dist-types/ts3.4/commands/ListContactEvaluationsCommand.d.ts +2 -4
  53. package/dist-types/ts3.4/commands/ListContactFlowModuleAliasesCommand.d.ts +1 -1
  54. package/dist-types/ts3.4/commands/ListContactFlowModuleVersionsCommand.d.ts +1 -1
  55. package/dist-types/ts3.4/commands/ListContactFlowModulesCommand.d.ts +1 -1
  56. package/dist-types/ts3.4/commands/StartContactRecordingCommand.d.ts +1 -1
  57. package/dist-types/ts3.4/commands/StartContactStreamingCommand.d.ts +1 -1
  58. package/dist-types/ts3.4/commands/StartEmailContactCommand.d.ts +4 -2
  59. package/dist-types/ts3.4/commands/StartOutboundChatContactCommand.d.ts +4 -2
  60. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  61. package/dist-types/ts3.4/models/enums.d.ts +19 -0
  62. package/dist-types/ts3.4/models/models_0.d.ts +23 -10
  63. package/dist-types/ts3.4/models/models_1.d.ts +49 -57
  64. package/dist-types/ts3.4/models/models_2.d.ts +59 -42
  65. package/dist-types/ts3.4/models/models_3.d.ts +49 -4
  66. package/dist-types/ts3.4/pagination/ListChildHoursOfOperationsPaginator.d.ts +11 -0
  67. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  68. package/dist-types/ts3.4/schemas/schemas_0.d.ts +13 -0
  69. package/package.json +33 -33
@@ -7,6 +7,7 @@ import { AssociateContactWithUserCommand, } from "./commands/AssociateContactWit
7
7
  import { AssociateDefaultVocabularyCommand, } from "./commands/AssociateDefaultVocabularyCommand";
8
8
  import { AssociateEmailAddressAliasCommand, } from "./commands/AssociateEmailAddressAliasCommand";
9
9
  import { AssociateFlowCommand, } from "./commands/AssociateFlowCommand";
10
+ import { AssociateHoursOfOperationsCommand, } from "./commands/AssociateHoursOfOperationsCommand";
10
11
  import { AssociateInstanceStorageConfigCommand, } from "./commands/AssociateInstanceStorageConfigCommand";
11
12
  import { AssociateLambdaFunctionCommand, } from "./commands/AssociateLambdaFunctionCommand";
12
13
  import { AssociateLexBotCommand, } from "./commands/AssociateLexBotCommand";
@@ -135,6 +136,7 @@ import { DisassociateApprovedOriginCommand, } from "./commands/DisassociateAppro
135
136
  import { DisassociateBotCommand, } from "./commands/DisassociateBotCommand";
136
137
  import { DisassociateEmailAddressAliasCommand, } from "./commands/DisassociateEmailAddressAliasCommand";
137
138
  import { DisassociateFlowCommand, } from "./commands/DisassociateFlowCommand";
139
+ import { DisassociateHoursOfOperationsCommand, } from "./commands/DisassociateHoursOfOperationsCommand";
138
140
  import { DisassociateInstanceStorageConfigCommand, } from "./commands/DisassociateInstanceStorageConfigCommand";
139
141
  import { DisassociateLambdaFunctionCommand, } from "./commands/DisassociateLambdaFunctionCommand";
140
142
  import { DisassociateLexBotCommand, } from "./commands/DisassociateLexBotCommand";
@@ -170,6 +172,7 @@ import { ListApprovedOriginsCommand, } from "./commands/ListApprovedOriginsComma
170
172
  import { ListAssociatedContactsCommand, } from "./commands/ListAssociatedContactsCommand";
171
173
  import { ListAuthenticationProfilesCommand, } from "./commands/ListAuthenticationProfilesCommand";
172
174
  import { ListBotsCommand } from "./commands/ListBotsCommand";
175
+ import { ListChildHoursOfOperationsCommand, } from "./commands/ListChildHoursOfOperationsCommand";
173
176
  import { ListContactEvaluationsCommand, } from "./commands/ListContactEvaluationsCommand";
174
177
  import { ListContactFlowModuleAliasesCommand, } from "./commands/ListContactFlowModuleAliasesCommand";
175
178
  import { ListContactFlowModulesCommand, } from "./commands/ListContactFlowModulesCommand";
@@ -350,6 +353,7 @@ const commands = {
350
353
  AssociateDefaultVocabularyCommand,
351
354
  AssociateEmailAddressAliasCommand,
352
355
  AssociateFlowCommand,
356
+ AssociateHoursOfOperationsCommand,
353
357
  AssociateInstanceStorageConfigCommand,
354
358
  AssociateLambdaFunctionCommand,
355
359
  AssociateLexBotCommand,
@@ -478,6 +482,7 @@ const commands = {
478
482
  DisassociateBotCommand,
479
483
  DisassociateEmailAddressAliasCommand,
480
484
  DisassociateFlowCommand,
485
+ DisassociateHoursOfOperationsCommand,
481
486
  DisassociateInstanceStorageConfigCommand,
482
487
  DisassociateLambdaFunctionCommand,
483
488
  DisassociateLexBotCommand,
@@ -513,6 +518,7 @@ const commands = {
513
518
  ListAssociatedContactsCommand,
514
519
  ListAuthenticationProfilesCommand,
515
520
  ListBotsCommand,
521
+ ListChildHoursOfOperationsCommand,
516
522
  ListContactEvaluationsCommand,
517
523
  ListContactFlowModuleAliasesCommand,
518
524
  ListContactFlowModulesCommand,
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { AssociateHoursOfOperations$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class AssociateHoursOfOperationsCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("AmazonConnectService", "AssociateHoursOfOperations", {})
13
+ .n("ConnectClient", "AssociateHoursOfOperationsCommand")
14
+ .sc(AssociateHoursOfOperations$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { DisassociateHoursOfOperations$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class DisassociateHoursOfOperationsCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("AmazonConnectService", "DisassociateHoursOfOperations", {})
13
+ .n("ConnectClient", "DisassociateHoursOfOperationsCommand")
14
+ .sc(DisassociateHoursOfOperations$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { ListChildHoursOfOperations$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class ListChildHoursOfOperationsCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("AmazonConnectService", "ListChildHoursOfOperations", {})
13
+ .n("ConnectClient", "ListChildHoursOfOperationsCommand")
14
+ .sc(ListChildHoursOfOperations$)
15
+ .build() {
16
+ }
@@ -6,6 +6,7 @@ export * from "./AssociateContactWithUserCommand";
6
6
  export * from "./AssociateDefaultVocabularyCommand";
7
7
  export * from "./AssociateEmailAddressAliasCommand";
8
8
  export * from "./AssociateFlowCommand";
9
+ export * from "./AssociateHoursOfOperationsCommand";
9
10
  export * from "./AssociateInstanceStorageConfigCommand";
10
11
  export * from "./AssociateLambdaFunctionCommand";
11
12
  export * from "./AssociateLexBotCommand";
@@ -134,6 +135,7 @@ export * from "./DisassociateApprovedOriginCommand";
134
135
  export * from "./DisassociateBotCommand";
135
136
  export * from "./DisassociateEmailAddressAliasCommand";
136
137
  export * from "./DisassociateFlowCommand";
138
+ export * from "./DisassociateHoursOfOperationsCommand";
137
139
  export * from "./DisassociateInstanceStorageConfigCommand";
138
140
  export * from "./DisassociateLambdaFunctionCommand";
139
141
  export * from "./DisassociateLexBotCommand";
@@ -169,6 +171,7 @@ export * from "./ListApprovedOriginsCommand";
169
171
  export * from "./ListAssociatedContactsCommand";
170
172
  export * from "./ListAuthenticationProfilesCommand";
171
173
  export * from "./ListBotsCommand";
174
+ export * from "./ListChildHoursOfOperationsCommand";
172
175
  export * from "./ListContactEvaluationsCommand";
173
176
  export * from "./ListContactFlowModuleAliasesCommand";
174
177
  export * from "./ListContactFlowModuleVersionsCommand";
@@ -363,6 +363,16 @@ export const OverrideDays = {
363
363
  TUESDAY: "TUESDAY",
364
364
  WEDNESDAY: "WEDNESDAY",
365
365
  };
366
+ export const OverrideType = {
367
+ CLOSED: "CLOSED",
368
+ OPEN: "OPEN",
369
+ STANDARD: "STANDARD",
370
+ };
371
+ export const RecurrenceFrequency = {
372
+ MONTHLY: "MONTHLY",
373
+ WEEKLY: "WEEKLY",
374
+ YEARLY: "YEARLY",
375
+ };
366
376
  export const DirectoryType = {
367
377
  CONNECT_MANAGED: "CONNECT_MANAGED",
368
378
  EXISTING_DIRECTORY: "EXISTING_DIRECTORY",
@@ -954,6 +964,10 @@ export const SortOrder = {
954
964
  ASCENDING: "ASCENDING",
955
965
  DESCENDING: "DESCENDING",
956
966
  };
967
+ export const OperationalStatus = {
968
+ CLOSED: "CLOSED",
969
+ OPEN: "OPEN",
970
+ };
957
971
  export const HistoricalMetricName = {
958
972
  ABANDON_TIME: "ABANDON_TIME",
959
973
  AFTER_CONTACT_WORK_TIME: "AFTER_CONTACT_WORK_TIME",
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListChildHoursOfOperationsCommand, } from "../commands/ListChildHoursOfOperationsCommand";
3
+ import { ConnectClient } from "../ConnectClient";
4
+ export const paginateListChildHoursOfOperations = createPaginator(ConnectClient, ListChildHoursOfOperationsCommand, "NextToken", "NextToken", "MaxResults");
@@ -8,6 +8,7 @@ export * from "./ListAgentStatusesPaginator";
8
8
  export * from "./ListApprovedOriginsPaginator";
9
9
  export * from "./ListAuthenticationProfilesPaginator";
10
10
  export * from "./ListBotsPaginator";
11
+ export * from "./ListChildHoursOfOperationsPaginator";
11
12
  export * from "./ListContactEvaluationsPaginator";
12
13
  export * from "./ListContactFlowModuleAliasesPaginator";
13
14
  export * from "./ListContactFlowModulesPaginator";