@aws-sdk/client-qconnect 3.693.0 → 3.696.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 (105) hide show
  1. package/README.md +112 -0
  2. package/dist-cjs/index.js +1279 -149
  3. package/dist-es/QConnect.js +28 -0
  4. package/dist-es/commands/ActivateMessageTemplateCommand.js +22 -0
  5. package/dist-es/commands/CreateMessageTemplateAttachmentCommand.js +23 -0
  6. package/dist-es/commands/CreateMessageTemplateCommand.js +23 -0
  7. package/dist-es/commands/CreateMessageTemplateVersionCommand.js +23 -0
  8. package/dist-es/commands/DeactivateMessageTemplateCommand.js +22 -0
  9. package/dist-es/commands/DeleteMessageTemplateAttachmentCommand.js +22 -0
  10. package/dist-es/commands/DeleteMessageTemplateCommand.js +22 -0
  11. package/dist-es/commands/GetMessageTemplateCommand.js +23 -0
  12. package/dist-es/commands/GetRecommendationsCommand.js +1 -1
  13. package/dist-es/commands/ListMessageTemplateVersionsCommand.js +22 -0
  14. package/dist-es/commands/ListMessageTemplatesCommand.js +22 -0
  15. package/dist-es/commands/QueryAssistantCommand.js +2 -1
  16. package/dist-es/commands/RenderMessageTemplateCommand.js +23 -0
  17. package/dist-es/commands/SearchMessageTemplatesCommand.js +23 -0
  18. package/dist-es/commands/SearchQuickResponsesCommand.js +1 -1
  19. package/dist-es/commands/StartContentUploadCommand.js +1 -1
  20. package/dist-es/commands/StartImportJobCommand.js +1 -1
  21. package/dist-es/commands/UpdateKnowledgeBaseTemplateUriCommand.js +1 -1
  22. package/dist-es/commands/UpdateMessageTemplateCommand.js +23 -0
  23. package/dist-es/commands/UpdateMessageTemplateMetadataCommand.js +23 -0
  24. package/dist-es/commands/index.js +14 -0
  25. package/dist-es/models/index.js +1 -0
  26. package/dist-es/models/models_0.js +280 -152
  27. package/dist-es/models/models_1.js +138 -0
  28. package/dist-es/pagination/ListMessageTemplateVersionsPaginator.js +4 -0
  29. package/dist-es/pagination/ListMessageTemplatesPaginator.js +4 -0
  30. package/dist-es/pagination/SearchMessageTemplatesPaginator.js +4 -0
  31. package/dist-es/pagination/index.js +3 -0
  32. package/dist-es/protocols/Aws_restJson1.js +527 -5
  33. package/dist-types/QConnect.d.ts +98 -0
  34. package/dist-types/QConnectClient.d.ts +16 -2
  35. package/dist-types/commands/ActivateMessageTemplateCommand.d.ts +96 -0
  36. package/dist-types/commands/CreateMessageTemplateAttachmentCommand.d.ts +109 -0
  37. package/dist-types/commands/CreateMessageTemplateCommand.d.ts +347 -0
  38. package/dist-types/commands/CreateMessageTemplateVersionCommand.d.ts +247 -0
  39. package/dist-types/commands/DeactivateMessageTemplateCommand.d.ts +95 -0
  40. package/dist-types/commands/DeleteMessageTemplateAttachmentCommand.d.ts +91 -0
  41. package/dist-types/commands/DeleteMessageTemplateCommand.d.ts +92 -0
  42. package/dist-types/commands/GetMessageTemplateCommand.d.ts +231 -0
  43. package/dist-types/commands/GetRecommendationsCommand.d.ts +2 -1
  44. package/dist-types/commands/ListMessageTemplateVersionsCommand.d.ts +99 -0
  45. package/dist-types/commands/ListMessageTemplatesCommand.d.ts +104 -0
  46. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  47. package/dist-types/commands/QueryAssistantCommand.d.ts +2 -1
  48. package/dist-types/commands/RemoveKnowledgeBaseTemplateUriCommand.d.ts +2 -1
  49. package/dist-types/commands/RenderMessageTemplateCommand.d.ts +206 -0
  50. package/dist-types/commands/SearchContentCommand.d.ts +1 -1
  51. package/dist-types/commands/SearchMessageTemplatesCommand.d.ts +138 -0
  52. package/dist-types/commands/SearchQuickResponsesCommand.d.ts +1 -1
  53. package/dist-types/commands/StartContentUploadCommand.d.ts +1 -1
  54. package/dist-types/commands/StartImportJobCommand.d.ts +1 -1
  55. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  56. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  57. package/dist-types/commands/UpdateKnowledgeBaseTemplateUriCommand.d.ts +1 -1
  58. package/dist-types/commands/UpdateMessageTemplateCommand.d.ts +332 -0
  59. package/dist-types/commands/UpdateMessageTemplateMetadataCommand.d.ts +233 -0
  60. package/dist-types/commands/index.d.ts +14 -0
  61. package/dist-types/models/index.d.ts +1 -0
  62. package/dist-types/models/models_0.d.ts +1639 -983
  63. package/dist-types/models/models_1.d.ts +1256 -0
  64. package/dist-types/pagination/ListMessageTemplateVersionsPaginator.d.ts +7 -0
  65. package/dist-types/pagination/ListMessageTemplatesPaginator.d.ts +7 -0
  66. package/dist-types/pagination/SearchMessageTemplatesPaginator.d.ts +7 -0
  67. package/dist-types/pagination/index.d.ts +3 -0
  68. package/dist-types/protocols/Aws_restJson1.d.ts +126 -0
  69. package/dist-types/ts3.4/QConnect.d.ts +238 -0
  70. package/dist-types/ts3.4/QConnectClient.d.ts +84 -0
  71. package/dist-types/ts3.4/commands/ActivateMessageTemplateCommand.d.ts +51 -0
  72. package/dist-types/ts3.4/commands/CreateMessageTemplateAttachmentCommand.d.ts +51 -0
  73. package/dist-types/ts3.4/commands/CreateMessageTemplateCommand.d.ts +51 -0
  74. package/dist-types/ts3.4/commands/CreateMessageTemplateVersionCommand.d.ts +51 -0
  75. package/dist-types/ts3.4/commands/DeactivateMessageTemplateCommand.d.ts +51 -0
  76. package/dist-types/ts3.4/commands/DeleteMessageTemplateAttachmentCommand.d.ts +51 -0
  77. package/dist-types/ts3.4/commands/DeleteMessageTemplateCommand.d.ts +51 -0
  78. package/dist-types/ts3.4/commands/GetMessageTemplateCommand.d.ts +51 -0
  79. package/dist-types/ts3.4/commands/GetRecommendationsCommand.d.ts +2 -4
  80. package/dist-types/ts3.4/commands/ListMessageTemplateVersionsCommand.d.ts +51 -0
  81. package/dist-types/ts3.4/commands/ListMessageTemplatesCommand.d.ts +51 -0
  82. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
  83. package/dist-types/ts3.4/commands/QueryAssistantCommand.d.ts +2 -4
  84. package/dist-types/ts3.4/commands/RemoveKnowledgeBaseTemplateUriCommand.d.ts +2 -4
  85. package/dist-types/ts3.4/commands/RenderMessageTemplateCommand.d.ts +51 -0
  86. package/dist-types/ts3.4/commands/SearchContentCommand.d.ts +1 -1
  87. package/dist-types/ts3.4/commands/SearchMessageTemplatesCommand.d.ts +51 -0
  88. package/dist-types/ts3.4/commands/SearchQuickResponsesCommand.d.ts +1 -1
  89. package/dist-types/ts3.4/commands/StartContentUploadCommand.d.ts +1 -1
  90. package/dist-types/ts3.4/commands/StartImportJobCommand.d.ts +1 -1
  91. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  92. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
  93. package/dist-types/ts3.4/commands/UpdateKnowledgeBaseTemplateUriCommand.d.ts +1 -1
  94. package/dist-types/ts3.4/commands/UpdateMessageTemplateCommand.d.ts +51 -0
  95. package/dist-types/ts3.4/commands/UpdateMessageTemplateMetadataCommand.d.ts +51 -0
  96. package/dist-types/ts3.4/commands/index.d.ts +14 -0
  97. package/dist-types/ts3.4/models/index.d.ts +1 -0
  98. package/dist-types/ts3.4/models/models_0.d.ts +466 -284
  99. package/dist-types/ts3.4/models/models_1.d.ts +349 -0
  100. package/dist-types/ts3.4/pagination/ListMessageTemplateVersionsPaginator.d.ts +11 -0
  101. package/dist-types/ts3.4/pagination/ListMessageTemplatesPaginator.d.ts +11 -0
  102. package/dist-types/ts3.4/pagination/SearchMessageTemplatesPaginator.d.ts +11 -0
  103. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  104. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +168 -0
  105. package/package.json +35 -35
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ UpdateMessageTemplateRequest,
5
+ UpdateMessageTemplateResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ QConnectClientResolvedConfig,
9
+ ServiceInputTypes,
10
+ ServiceOutputTypes,
11
+ } from "../QConnectClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface UpdateMessageTemplateCommandInput
15
+ extends UpdateMessageTemplateRequest {}
16
+ export interface UpdateMessageTemplateCommandOutput
17
+ extends UpdateMessageTemplateResponse,
18
+ __MetadataBearer {}
19
+ declare const UpdateMessageTemplateCommand_base: {
20
+ new (
21
+ input: UpdateMessageTemplateCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ UpdateMessageTemplateCommandInput,
24
+ UpdateMessageTemplateCommandOutput,
25
+ QConnectClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: UpdateMessageTemplateCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ UpdateMessageTemplateCommandInput,
33
+ UpdateMessageTemplateCommandOutput,
34
+ QConnectClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class UpdateMessageTemplateCommand extends UpdateMessageTemplateCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: UpdateMessageTemplateRequest;
44
+ output: UpdateMessageTemplateResponse;
45
+ };
46
+ sdk: {
47
+ input: UpdateMessageTemplateCommandInput;
48
+ output: UpdateMessageTemplateCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ UpdateMessageTemplateMetadataRequest,
5
+ UpdateMessageTemplateMetadataResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ QConnectClientResolvedConfig,
9
+ ServiceInputTypes,
10
+ ServiceOutputTypes,
11
+ } from "../QConnectClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface UpdateMessageTemplateMetadataCommandInput
15
+ extends UpdateMessageTemplateMetadataRequest {}
16
+ export interface UpdateMessageTemplateMetadataCommandOutput
17
+ extends UpdateMessageTemplateMetadataResponse,
18
+ __MetadataBearer {}
19
+ declare const UpdateMessageTemplateMetadataCommand_base: {
20
+ new (
21
+ input: UpdateMessageTemplateMetadataCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ UpdateMessageTemplateMetadataCommandInput,
24
+ UpdateMessageTemplateMetadataCommandOutput,
25
+ QConnectClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: UpdateMessageTemplateMetadataCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ UpdateMessageTemplateMetadataCommandInput,
33
+ UpdateMessageTemplateMetadataCommandOutput,
34
+ QConnectClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class UpdateMessageTemplateMetadataCommand extends UpdateMessageTemplateMetadataCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: UpdateMessageTemplateMetadataRequest;
44
+ output: UpdateMessageTemplateMetadataResponse;
45
+ };
46
+ sdk: {
47
+ input: UpdateMessageTemplateMetadataCommandInput;
48
+ output: UpdateMessageTemplateMetadataCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -1,3 +1,4 @@
1
+ export * from "./ActivateMessageTemplateCommand";
1
2
  export * from "./CreateAIAgentCommand";
2
3
  export * from "./CreateAIAgentVersionCommand";
3
4
  export * from "./CreateAIPromptCommand";
@@ -7,8 +8,12 @@ export * from "./CreateAssistantCommand";
7
8
  export * from "./CreateContentAssociationCommand";
8
9
  export * from "./CreateContentCommand";
9
10
  export * from "./CreateKnowledgeBaseCommand";
11
+ export * from "./CreateMessageTemplateAttachmentCommand";
12
+ export * from "./CreateMessageTemplateCommand";
13
+ export * from "./CreateMessageTemplateVersionCommand";
10
14
  export * from "./CreateQuickResponseCommand";
11
15
  export * from "./CreateSessionCommand";
16
+ export * from "./DeactivateMessageTemplateCommand";
12
17
  export * from "./DeleteAIAgentCommand";
13
18
  export * from "./DeleteAIAgentVersionCommand";
14
19
  export * from "./DeleteAIPromptCommand";
@@ -19,6 +24,8 @@ export * from "./DeleteContentAssociationCommand";
19
24
  export * from "./DeleteContentCommand";
20
25
  export * from "./DeleteImportJobCommand";
21
26
  export * from "./DeleteKnowledgeBaseCommand";
27
+ export * from "./DeleteMessageTemplateAttachmentCommand";
28
+ export * from "./DeleteMessageTemplateCommand";
22
29
  export * from "./DeleteQuickResponseCommand";
23
30
  export * from "./GetAIAgentCommand";
24
31
  export * from "./GetAIPromptCommand";
@@ -29,6 +36,7 @@ export * from "./GetContentCommand";
29
36
  export * from "./GetContentSummaryCommand";
30
37
  export * from "./GetImportJobCommand";
31
38
  export * from "./GetKnowledgeBaseCommand";
39
+ export * from "./GetMessageTemplateCommand";
32
40
  export * from "./GetQuickResponseCommand";
33
41
  export * from "./GetRecommendationsCommand";
34
42
  export * from "./GetSessionCommand";
@@ -42,6 +50,8 @@ export * from "./ListContentAssociationsCommand";
42
50
  export * from "./ListContentsCommand";
43
51
  export * from "./ListImportJobsCommand";
44
52
  export * from "./ListKnowledgeBasesCommand";
53
+ export * from "./ListMessageTemplateVersionsCommand";
54
+ export * from "./ListMessageTemplatesCommand";
45
55
  export * from "./ListQuickResponsesCommand";
46
56
  export * from "./ListTagsForResourceCommand";
47
57
  export * from "./NotifyRecommendationsReceivedCommand";
@@ -49,7 +59,9 @@ export * from "./PutFeedbackCommand";
49
59
  export * from "./QueryAssistantCommand";
50
60
  export * from "./RemoveAssistantAIAgentCommand";
51
61
  export * from "./RemoveKnowledgeBaseTemplateUriCommand";
62
+ export * from "./RenderMessageTemplateCommand";
52
63
  export * from "./SearchContentCommand";
64
+ export * from "./SearchMessageTemplatesCommand";
53
65
  export * from "./SearchQuickResponsesCommand";
54
66
  export * from "./SearchSessionsCommand";
55
67
  export * from "./StartContentUploadCommand";
@@ -61,6 +73,8 @@ export * from "./UpdateAIPromptCommand";
61
73
  export * from "./UpdateAssistantAIAgentCommand";
62
74
  export * from "./UpdateContentCommand";
63
75
  export * from "./UpdateKnowledgeBaseTemplateUriCommand";
76
+ export * from "./UpdateMessageTemplateCommand";
77
+ export * from "./UpdateMessageTemplateMetadataCommand";
64
78
  export * from "./UpdateQuickResponseCommand";
65
79
  export * from "./UpdateSessionCommand";
66
80
  export * from "./UpdateSessionDataCommand";
@@ -1 +1,2 @@
1
1
  export * from "./models_0";
2
+ export * from "./models_1";