@wildix/wim-wilma-client 0.0.11 → 3.1.12

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 (183) hide show
  1. package/dist-cjs/Wilma.js +25 -3
  2. package/dist-cjs/WilmaClient.js +34 -26
  3. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  4. package/dist-cjs/auth/httpAuthSchemeProvider.js +52 -0
  5. package/dist-cjs/commands/CreateAgentCommand.js +10 -11
  6. package/dist-cjs/commands/CreateGuidelineCommand.js +10 -11
  7. package/dist-cjs/commands/CreateGuidelinesDirectoryCommand.js +10 -11
  8. package/dist-cjs/commands/CreateSkillCommand.js +20 -0
  9. package/dist-cjs/commands/CreateSkillFileUploadCommand.js +20 -0
  10. package/dist-cjs/commands/DeleteAgentCommand.js +10 -11
  11. package/dist-cjs/commands/DeleteChatCommand.js +10 -11
  12. package/dist-cjs/commands/DeleteFileCommand.js +20 -0
  13. package/dist-cjs/commands/DeleteGuidelineCommand.js +10 -11
  14. package/dist-cjs/commands/DeleteGuidelinesDirectoryCommand.js +10 -11
  15. package/dist-cjs/commands/DeleteSkillCommand.js +20 -0
  16. package/dist-cjs/commands/DeleteSkillFileCommand.js +20 -0
  17. package/dist-cjs/commands/DislikeAnswerCommand.js +10 -11
  18. package/dist-cjs/commands/DownloadFileCommand.js +20 -0
  19. package/dist-cjs/commands/ExecuteAgentCommand.js +10 -11
  20. package/dist-cjs/commands/GetAgentCommand.js +10 -11
  21. package/dist-cjs/commands/GetChatCommand.js +10 -11
  22. package/dist-cjs/commands/GetFileCommand.js +20 -0
  23. package/dist-cjs/commands/GetGuidelineCommand.js +10 -11
  24. package/dist-cjs/commands/GetOrganizationSettingsCommand.js +10 -11
  25. package/dist-cjs/commands/GetSettingsCommand.js +10 -11
  26. package/dist-cjs/commands/GetSkillCommand.js +20 -0
  27. package/dist-cjs/commands/GetSkillFileDownloadCommand.js +20 -0
  28. package/dist-cjs/commands/LikeAnswerCommand.js +10 -11
  29. package/dist-cjs/commands/ListAgentFeedbacksCommand.js +10 -11
  30. package/dist-cjs/commands/ListAgentsCommand.js +10 -11
  31. package/dist-cjs/commands/ListAgentsNamesCommand.js +10 -11
  32. package/dist-cjs/commands/ListChatsCommand.js +10 -11
  33. package/dist-cjs/commands/ListFeedbacksCommand.js +10 -11
  34. package/dist-cjs/commands/ListGuidelinesCommand.js +10 -11
  35. package/dist-cjs/commands/ListGuidelinesDirectoriesCommand.js +10 -11
  36. package/dist-cjs/commands/ListGuidelinesNamesCommand.js +10 -11
  37. package/dist-cjs/commands/ListSkillsCommand.js +20 -0
  38. package/dist-cjs/commands/PatchOrganizationSettingsCommand.js +10 -11
  39. package/dist-cjs/commands/PatchSettingsCommand.js +10 -11
  40. package/dist-cjs/commands/UpdateAgentCommand.js +10 -11
  41. package/dist-cjs/commands/UpdateGuidelineAccessCommand.js +10 -11
  42. package/dist-cjs/commands/UpdateGuidelineCommand.js +10 -11
  43. package/dist-cjs/commands/UpdateGuidelinesDirectoryCommand.js +10 -11
  44. package/dist-cjs/commands/UpdateSkillCommand.js +20 -0
  45. package/dist-cjs/commands/index.js +12 -1
  46. package/dist-cjs/endpoint/EndpointParameters.js +16 -0
  47. package/dist-cjs/endpoint/bdd.js +28 -0
  48. package/dist-cjs/endpoint/endpointResolver.js +16 -0
  49. package/dist-cjs/index.js +4 -1
  50. package/dist-cjs/models/WilmaServiceException.js +3 -3
  51. package/dist-cjs/models/enums.js +45 -0
  52. package/dist-cjs/models/errors.js +43 -0
  53. package/dist-cjs/models/models_0.js +0 -96
  54. package/dist-cjs/runtimeConfig.browser.js +11 -11
  55. package/dist-cjs/runtimeConfig.js +22 -18
  56. package/dist-cjs/runtimeConfig.shared.js +30 -10
  57. package/dist-cjs/runtimeExtensions.js +6 -5
  58. package/dist-cjs/schemas/schemas_0.js +1110 -0
  59. package/dist-es/Wilma.js +27 -5
  60. package/dist-es/WilmaClient.js +30 -22
  61. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  62. package/dist-es/auth/httpAuthSchemeProvider.js +46 -0
  63. package/dist-es/commands/CreateAgentCommand.js +9 -10
  64. package/dist-es/commands/CreateGuidelineCommand.js +9 -10
  65. package/dist-es/commands/CreateGuidelinesDirectoryCommand.js +9 -10
  66. package/dist-es/commands/CreateSkillCommand.js +16 -0
  67. package/dist-es/commands/CreateSkillFileUploadCommand.js +16 -0
  68. package/dist-es/commands/DeleteAgentCommand.js +9 -10
  69. package/dist-es/commands/DeleteChatCommand.js +9 -10
  70. package/dist-es/commands/DeleteFileCommand.js +16 -0
  71. package/dist-es/commands/DeleteGuidelineCommand.js +9 -10
  72. package/dist-es/commands/DeleteGuidelinesDirectoryCommand.js +9 -10
  73. package/dist-es/commands/DeleteSkillCommand.js +16 -0
  74. package/dist-es/commands/DeleteSkillFileCommand.js +16 -0
  75. package/dist-es/commands/DislikeAnswerCommand.js +9 -10
  76. package/dist-es/commands/DownloadFileCommand.js +16 -0
  77. package/dist-es/commands/ExecuteAgentCommand.js +9 -10
  78. package/dist-es/commands/GetAgentCommand.js +9 -10
  79. package/dist-es/commands/GetChatCommand.js +9 -10
  80. package/dist-es/commands/GetFileCommand.js +16 -0
  81. package/dist-es/commands/GetGuidelineCommand.js +9 -10
  82. package/dist-es/commands/GetOrganizationSettingsCommand.js +9 -10
  83. package/dist-es/commands/GetSettingsCommand.js +9 -10
  84. package/dist-es/commands/GetSkillCommand.js +16 -0
  85. package/dist-es/commands/GetSkillFileDownloadCommand.js +16 -0
  86. package/dist-es/commands/LikeAnswerCommand.js +9 -10
  87. package/dist-es/commands/ListAgentFeedbacksCommand.js +9 -10
  88. package/dist-es/commands/ListAgentsCommand.js +9 -10
  89. package/dist-es/commands/ListAgentsNamesCommand.js +9 -10
  90. package/dist-es/commands/ListChatsCommand.js +9 -10
  91. package/dist-es/commands/ListFeedbacksCommand.js +9 -10
  92. package/dist-es/commands/ListGuidelinesCommand.js +9 -10
  93. package/dist-es/commands/ListGuidelinesDirectoriesCommand.js +9 -10
  94. package/dist-es/commands/ListGuidelinesNamesCommand.js +9 -10
  95. package/dist-es/commands/ListSkillsCommand.js +16 -0
  96. package/dist-es/commands/PatchOrganizationSettingsCommand.js +9 -10
  97. package/dist-es/commands/PatchSettingsCommand.js +9 -10
  98. package/dist-es/commands/UpdateAgentCommand.js +9 -10
  99. package/dist-es/commands/UpdateGuidelineAccessCommand.js +9 -10
  100. package/dist-es/commands/UpdateGuidelineCommand.js +9 -10
  101. package/dist-es/commands/UpdateGuidelinesDirectoryCommand.js +9 -10
  102. package/dist-es/commands/UpdateSkillCommand.js +16 -0
  103. package/dist-es/commands/index.js +12 -1
  104. package/dist-es/endpoint/EndpointParameters.js +12 -0
  105. package/dist-es/endpoint/bdd.js +25 -0
  106. package/dist-es/endpoint/endpointResolver.js +12 -0
  107. package/dist-es/index.js +4 -1
  108. package/dist-es/models/WilmaServiceException.js +1 -1
  109. package/dist-es/models/enums.js +42 -0
  110. package/dist-es/models/errors.js +37 -0
  111. package/dist-es/models/models_0.js +1 -92
  112. package/dist-es/runtimeConfig.browser.js +7 -7
  113. package/dist-es/runtimeConfig.js +17 -13
  114. package/dist-es/runtimeConfig.shared.js +24 -4
  115. package/dist-es/runtimeExtensions.js +6 -5
  116. package/dist-es/schemas/schemas_0.js +1104 -0
  117. package/dist-types/Wilma.d.ts +108 -30
  118. package/dist-types/WilmaClient.d.ts +72 -43
  119. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  120. package/dist-types/auth/httpAuthSchemeProvider.d.ts +81 -0
  121. package/dist-types/commands/CreateAgentCommand.d.ts +127 -25
  122. package/dist-types/commands/CreateGuidelineCommand.d.ts +11 -7
  123. package/dist-types/commands/CreateGuidelinesDirectoryCommand.d.ts +11 -7
  124. package/dist-types/commands/CreateSkillCommand.d.ts +103 -0
  125. package/dist-types/commands/CreateSkillFileUploadCommand.d.ts +99 -0
  126. package/dist-types/commands/DeleteAgentCommand.d.ts +11 -7
  127. package/dist-types/commands/DeleteChatCommand.d.ts +11 -7
  128. package/dist-types/commands/DeleteFileCommand.d.ts +80 -0
  129. package/dist-types/commands/DeleteGuidelineCommand.d.ts +11 -7
  130. package/dist-types/commands/DeleteGuidelinesDirectoryCommand.d.ts +11 -7
  131. package/dist-types/commands/DeleteSkillCommand.d.ts +80 -0
  132. package/dist-types/commands/DeleteSkillFileCommand.d.ts +83 -0
  133. package/dist-types/commands/DislikeAnswerCommand.d.ts +11 -7
  134. package/dist-types/commands/DownloadFileCommand.d.ts +95 -0
  135. package/dist-types/commands/ExecuteAgentCommand.d.ts +28 -7
  136. package/dist-types/commands/GetAgentCommand.d.ts +69 -16
  137. package/dist-types/commands/GetChatCommand.d.ts +11 -7
  138. package/dist-types/commands/GetFileCommand.d.ts +93 -0
  139. package/dist-types/commands/GetGuidelineCommand.d.ts +11 -7
  140. package/dist-types/commands/GetOrganizationSettingsCommand.d.ts +11 -7
  141. package/dist-types/commands/GetSettingsCommand.d.ts +11 -7
  142. package/dist-types/commands/GetSkillCommand.d.ts +103 -0
  143. package/dist-types/commands/GetSkillFileDownloadCommand.d.ts +86 -0
  144. package/dist-types/commands/LikeAnswerCommand.d.ts +11 -7
  145. package/dist-types/commands/ListAgentFeedbacksCommand.d.ts +11 -7
  146. package/dist-types/commands/ListAgentsCommand.d.ts +69 -16
  147. package/dist-types/commands/ListAgentsNamesCommand.d.ts +11 -7
  148. package/dist-types/commands/ListChatsCommand.d.ts +11 -7
  149. package/dist-types/commands/ListFeedbacksCommand.d.ts +11 -7
  150. package/dist-types/commands/ListGuidelinesCommand.d.ts +11 -7
  151. package/dist-types/commands/ListGuidelinesDirectoriesCommand.d.ts +11 -7
  152. package/dist-types/commands/ListGuidelinesNamesCommand.d.ts +11 -7
  153. package/dist-types/commands/ListSkillsCommand.d.ts +92 -0
  154. package/dist-types/commands/PatchOrganizationSettingsCommand.d.ts +11 -7
  155. package/dist-types/commands/PatchSettingsCommand.d.ts +11 -7
  156. package/dist-types/commands/UpdateAgentCommand.d.ts +127 -25
  157. package/dist-types/commands/UpdateGuidelineAccessCommand.d.ts +11 -7
  158. package/dist-types/commands/UpdateGuidelineCommand.d.ts +11 -7
  159. package/dist-types/commands/UpdateGuidelinesDirectoryCommand.d.ts +11 -7
  160. package/dist-types/commands/UpdateSkillCommand.d.ts +106 -0
  161. package/dist-types/commands/index.d.ts +12 -1
  162. package/dist-types/endpoint/EndpointParameters.d.ts +41 -0
  163. package/dist-types/endpoint/bdd.d.ts +2 -0
  164. package/dist-types/endpoint/endpointResolver.d.ts +8 -0
  165. package/dist-types/extensionConfiguration.d.ts +4 -3
  166. package/dist-types/index.d.ts +5 -1
  167. package/dist-types/models/WilmaServiceException.d.ts +1 -1
  168. package/dist-types/models/enums.d.ts +129 -0
  169. package/dist-types/models/errors.d.ts +35 -0
  170. package/dist-types/models/models_0.d.ts +640 -162
  171. package/dist-types/runtimeConfig.browser.d.ts +37 -13
  172. package/dist-types/runtimeConfig.d.ts +36 -12
  173. package/dist-types/runtimeConfig.native.d.ts +37 -13
  174. package/dist-types/runtimeConfig.shared.d.ts +20 -3
  175. package/dist-types/runtimeExtensions.d.ts +1 -1
  176. package/dist-types/schemas/schemas_0.d.ts +172 -0
  177. package/package.json +14 -40
  178. package/dist-cjs/models/index.js +0 -4
  179. package/dist-cjs/protocols/Aws_restJson1.js +0 -1125
  180. package/dist-es/models/index.js +0 -1
  181. package/dist-es/protocols/Aws_restJson1.js +0 -1063
  182. package/dist-types/models/index.d.ts +0 -1
  183. package/dist-types/protocols/Aws_restJson1.d.ts +0 -263
@@ -1,34 +1,45 @@
1
+ import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
+ import { type CreateAgentCommandInput, type CreateAgentCommandOutput } from "./commands/CreateAgentCommand";
3
+ import { type CreateGuidelineCommandInput, type CreateGuidelineCommandOutput } from "./commands/CreateGuidelineCommand";
4
+ import { type CreateGuidelinesDirectoryCommandInput, type CreateGuidelinesDirectoryCommandOutput } from "./commands/CreateGuidelinesDirectoryCommand";
5
+ import { type CreateSkillCommandInput, type CreateSkillCommandOutput } from "./commands/CreateSkillCommand";
6
+ import { type CreateSkillFileUploadCommandInput, type CreateSkillFileUploadCommandOutput } from "./commands/CreateSkillFileUploadCommand";
7
+ import { type DeleteAgentCommandInput, type DeleteAgentCommandOutput } from "./commands/DeleteAgentCommand";
8
+ import { type DeleteChatCommandInput, type DeleteChatCommandOutput } from "./commands/DeleteChatCommand";
9
+ import { type DeleteFileCommandInput, type DeleteFileCommandOutput } from "./commands/DeleteFileCommand";
10
+ import { type DeleteGuidelineCommandInput, type DeleteGuidelineCommandOutput } from "./commands/DeleteGuidelineCommand";
11
+ import { type DeleteGuidelinesDirectoryCommandInput, type DeleteGuidelinesDirectoryCommandOutput } from "./commands/DeleteGuidelinesDirectoryCommand";
12
+ import { type DeleteSkillCommandInput, type DeleteSkillCommandOutput } from "./commands/DeleteSkillCommand";
13
+ import { type DeleteSkillFileCommandInput, type DeleteSkillFileCommandOutput } from "./commands/DeleteSkillFileCommand";
14
+ import { type DislikeAnswerCommandInput, type DislikeAnswerCommandOutput } from "./commands/DislikeAnswerCommand";
15
+ import { type DownloadFileCommandInput, type DownloadFileCommandOutput } from "./commands/DownloadFileCommand";
16
+ import { type ExecuteAgentCommandInput, type ExecuteAgentCommandOutput } from "./commands/ExecuteAgentCommand";
17
+ import { type GetAgentCommandInput, type GetAgentCommandOutput } from "./commands/GetAgentCommand";
18
+ import { type GetChatCommandInput, type GetChatCommandOutput } from "./commands/GetChatCommand";
19
+ import { type GetFileCommandInput, type GetFileCommandOutput } from "./commands/GetFileCommand";
20
+ import { type GetGuidelineCommandInput, type GetGuidelineCommandOutput } from "./commands/GetGuidelineCommand";
21
+ import { type GetOrganizationSettingsCommandInput, type GetOrganizationSettingsCommandOutput } from "./commands/GetOrganizationSettingsCommand";
22
+ import { type GetSettingsCommandInput, type GetSettingsCommandOutput } from "./commands/GetSettingsCommand";
23
+ import { type GetSkillCommandInput, type GetSkillCommandOutput } from "./commands/GetSkillCommand";
24
+ import { type GetSkillFileDownloadCommandInput, type GetSkillFileDownloadCommandOutput } from "./commands/GetSkillFileDownloadCommand";
25
+ import { type LikeAnswerCommandInput, type LikeAnswerCommandOutput } from "./commands/LikeAnswerCommand";
26
+ import { type ListAgentFeedbacksCommandInput, type ListAgentFeedbacksCommandOutput } from "./commands/ListAgentFeedbacksCommand";
27
+ import { type ListAgentsCommandInput, type ListAgentsCommandOutput } from "./commands/ListAgentsCommand";
28
+ import { type ListAgentsNamesCommandInput, type ListAgentsNamesCommandOutput } from "./commands/ListAgentsNamesCommand";
29
+ import { type ListChatsCommandInput, type ListChatsCommandOutput } from "./commands/ListChatsCommand";
30
+ import { type ListFeedbacksCommandInput, type ListFeedbacksCommandOutput } from "./commands/ListFeedbacksCommand";
31
+ import { type ListGuidelinesCommandInput, type ListGuidelinesCommandOutput } from "./commands/ListGuidelinesCommand";
32
+ import { type ListGuidelinesDirectoriesCommandInput, type ListGuidelinesDirectoriesCommandOutput } from "./commands/ListGuidelinesDirectoriesCommand";
33
+ import { type ListGuidelinesNamesCommandInput, type ListGuidelinesNamesCommandOutput } from "./commands/ListGuidelinesNamesCommand";
34
+ import { type ListSkillsCommandInput, type ListSkillsCommandOutput } from "./commands/ListSkillsCommand";
35
+ import { type PatchOrganizationSettingsCommandInput, type PatchOrganizationSettingsCommandOutput } from "./commands/PatchOrganizationSettingsCommand";
36
+ import { type PatchSettingsCommandInput, type PatchSettingsCommandOutput } from "./commands/PatchSettingsCommand";
37
+ import { type UpdateAgentCommandInput, type UpdateAgentCommandOutput } from "./commands/UpdateAgentCommand";
38
+ import { type UpdateGuidelineAccessCommandInput, type UpdateGuidelineAccessCommandOutput } from "./commands/UpdateGuidelineAccessCommand";
39
+ import { type UpdateGuidelineCommandInput, type UpdateGuidelineCommandOutput } from "./commands/UpdateGuidelineCommand";
40
+ import { type UpdateGuidelinesDirectoryCommandInput, type UpdateGuidelinesDirectoryCommandOutput } from "./commands/UpdateGuidelinesDirectoryCommand";
41
+ import { type UpdateSkillCommandInput, type UpdateSkillCommandOutput } from "./commands/UpdateSkillCommand";
1
42
  import { WilmaClient } from "./WilmaClient";
2
- import { CreateAgentCommandInput, CreateAgentCommandOutput } from "./commands/CreateAgentCommand";
3
- import { CreateGuidelineCommandInput, CreateGuidelineCommandOutput } from "./commands/CreateGuidelineCommand";
4
- import { CreateGuidelinesDirectoryCommandInput, CreateGuidelinesDirectoryCommandOutput } from "./commands/CreateGuidelinesDirectoryCommand";
5
- import { DeleteAgentCommandInput, DeleteAgentCommandOutput } from "./commands/DeleteAgentCommand";
6
- import { DeleteChatCommandInput, DeleteChatCommandOutput } from "./commands/DeleteChatCommand";
7
- import { DeleteGuidelineCommandInput, DeleteGuidelineCommandOutput } from "./commands/DeleteGuidelineCommand";
8
- import { DeleteGuidelinesDirectoryCommandInput, DeleteGuidelinesDirectoryCommandOutput } from "./commands/DeleteGuidelinesDirectoryCommand";
9
- import { DislikeAnswerCommandInput, DislikeAnswerCommandOutput } from "./commands/DislikeAnswerCommand";
10
- import { ExecuteAgentCommandInput, ExecuteAgentCommandOutput } from "./commands/ExecuteAgentCommand";
11
- import { GetAgentCommandInput, GetAgentCommandOutput } from "./commands/GetAgentCommand";
12
- import { GetChatCommandInput, GetChatCommandOutput } from "./commands/GetChatCommand";
13
- import { GetGuidelineCommandInput, GetGuidelineCommandOutput } from "./commands/GetGuidelineCommand";
14
- import { GetOrganizationSettingsCommandInput, GetOrganizationSettingsCommandOutput } from "./commands/GetOrganizationSettingsCommand";
15
- import { GetSettingsCommandInput, GetSettingsCommandOutput } from "./commands/GetSettingsCommand";
16
- import { LikeAnswerCommandInput, LikeAnswerCommandOutput } from "./commands/LikeAnswerCommand";
17
- import { ListAgentFeedbacksCommandInput, ListAgentFeedbacksCommandOutput } from "./commands/ListAgentFeedbacksCommand";
18
- import { ListAgentsCommandInput, ListAgentsCommandOutput } from "./commands/ListAgentsCommand";
19
- import { ListAgentsNamesCommandInput, ListAgentsNamesCommandOutput } from "./commands/ListAgentsNamesCommand";
20
- import { ListChatsCommandInput, ListChatsCommandOutput } from "./commands/ListChatsCommand";
21
- import { ListFeedbacksCommandInput, ListFeedbacksCommandOutput } from "./commands/ListFeedbacksCommand";
22
- import { ListGuidelinesCommandInput, ListGuidelinesCommandOutput } from "./commands/ListGuidelinesCommand";
23
- import { ListGuidelinesDirectoriesCommandInput, ListGuidelinesDirectoriesCommandOutput } from "./commands/ListGuidelinesDirectoriesCommand";
24
- import { ListGuidelinesNamesCommandInput, ListGuidelinesNamesCommandOutput } from "./commands/ListGuidelinesNamesCommand";
25
- import { PatchOrganizationSettingsCommandInput, PatchOrganizationSettingsCommandOutput } from "./commands/PatchOrganizationSettingsCommand";
26
- import { PatchSettingsCommandInput, PatchSettingsCommandOutput } from "./commands/PatchSettingsCommand";
27
- import { UpdateAgentCommandInput, UpdateAgentCommandOutput } from "./commands/UpdateAgentCommand";
28
- import { UpdateGuidelineAccessCommandInput, UpdateGuidelineAccessCommandOutput } from "./commands/UpdateGuidelineAccessCommand";
29
- import { UpdateGuidelineCommandInput, UpdateGuidelineCommandOutput } from "./commands/UpdateGuidelineCommand";
30
- import { UpdateGuidelinesDirectoryCommandInput, UpdateGuidelinesDirectoryCommandOutput } from "./commands/UpdateGuidelinesDirectoryCommand";
31
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
32
43
  export interface Wilma {
33
44
  /**
34
45
  * @see {@link CreateAgentCommand}
@@ -48,6 +59,18 @@ export interface Wilma {
48
59
  createGuidelinesDirectory(args: CreateGuidelinesDirectoryCommandInput, options?: __HttpHandlerOptions): Promise<CreateGuidelinesDirectoryCommandOutput>;
49
60
  createGuidelinesDirectory(args: CreateGuidelinesDirectoryCommandInput, cb: (err: any, data?: CreateGuidelinesDirectoryCommandOutput) => void): void;
50
61
  createGuidelinesDirectory(args: CreateGuidelinesDirectoryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateGuidelinesDirectoryCommandOutput) => void): void;
62
+ /**
63
+ * @see {@link CreateSkillCommand}
64
+ */
65
+ createSkill(args: CreateSkillCommandInput, options?: __HttpHandlerOptions): Promise<CreateSkillCommandOutput>;
66
+ createSkill(args: CreateSkillCommandInput, cb: (err: any, data?: CreateSkillCommandOutput) => void): void;
67
+ createSkill(args: CreateSkillCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateSkillCommandOutput) => void): void;
68
+ /**
69
+ * @see {@link CreateSkillFileUploadCommand}
70
+ */
71
+ createSkillFileUpload(args: CreateSkillFileUploadCommandInput, options?: __HttpHandlerOptions): Promise<CreateSkillFileUploadCommandOutput>;
72
+ createSkillFileUpload(args: CreateSkillFileUploadCommandInput, cb: (err: any, data?: CreateSkillFileUploadCommandOutput) => void): void;
73
+ createSkillFileUpload(args: CreateSkillFileUploadCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateSkillFileUploadCommandOutput) => void): void;
51
74
  /**
52
75
  * @see {@link DeleteAgentCommand}
53
76
  */
@@ -60,6 +83,12 @@ export interface Wilma {
60
83
  deleteChat(args: DeleteChatCommandInput, options?: __HttpHandlerOptions): Promise<DeleteChatCommandOutput>;
61
84
  deleteChat(args: DeleteChatCommandInput, cb: (err: any, data?: DeleteChatCommandOutput) => void): void;
62
85
  deleteChat(args: DeleteChatCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteChatCommandOutput) => void): void;
86
+ /**
87
+ * @see {@link DeleteFileCommand}
88
+ */
89
+ deleteFile(args: DeleteFileCommandInput, options?: __HttpHandlerOptions): Promise<DeleteFileCommandOutput>;
90
+ deleteFile(args: DeleteFileCommandInput, cb: (err: any, data?: DeleteFileCommandOutput) => void): void;
91
+ deleteFile(args: DeleteFileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteFileCommandOutput) => void): void;
63
92
  /**
64
93
  * @see {@link DeleteGuidelineCommand}
65
94
  */
@@ -72,12 +101,30 @@ export interface Wilma {
72
101
  deleteGuidelinesDirectory(args: DeleteGuidelinesDirectoryCommandInput, options?: __HttpHandlerOptions): Promise<DeleteGuidelinesDirectoryCommandOutput>;
73
102
  deleteGuidelinesDirectory(args: DeleteGuidelinesDirectoryCommandInput, cb: (err: any, data?: DeleteGuidelinesDirectoryCommandOutput) => void): void;
74
103
  deleteGuidelinesDirectory(args: DeleteGuidelinesDirectoryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteGuidelinesDirectoryCommandOutput) => void): void;
104
+ /**
105
+ * @see {@link DeleteSkillCommand}
106
+ */
107
+ deleteSkill(args: DeleteSkillCommandInput, options?: __HttpHandlerOptions): Promise<DeleteSkillCommandOutput>;
108
+ deleteSkill(args: DeleteSkillCommandInput, cb: (err: any, data?: DeleteSkillCommandOutput) => void): void;
109
+ deleteSkill(args: DeleteSkillCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSkillCommandOutput) => void): void;
110
+ /**
111
+ * @see {@link DeleteSkillFileCommand}
112
+ */
113
+ deleteSkillFile(args: DeleteSkillFileCommandInput, options?: __HttpHandlerOptions): Promise<DeleteSkillFileCommandOutput>;
114
+ deleteSkillFile(args: DeleteSkillFileCommandInput, cb: (err: any, data?: DeleteSkillFileCommandOutput) => void): void;
115
+ deleteSkillFile(args: DeleteSkillFileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSkillFileCommandOutput) => void): void;
75
116
  /**
76
117
  * @see {@link DislikeAnswerCommand}
77
118
  */
78
119
  dislikeAnswer(args: DislikeAnswerCommandInput, options?: __HttpHandlerOptions): Promise<DislikeAnswerCommandOutput>;
79
120
  dislikeAnswer(args: DislikeAnswerCommandInput, cb: (err: any, data?: DislikeAnswerCommandOutput) => void): void;
80
121
  dislikeAnswer(args: DislikeAnswerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DislikeAnswerCommandOutput) => void): void;
122
+ /**
123
+ * @see {@link DownloadFileCommand}
124
+ */
125
+ downloadFile(args: DownloadFileCommandInput, options?: __HttpHandlerOptions): Promise<DownloadFileCommandOutput>;
126
+ downloadFile(args: DownloadFileCommandInput, cb: (err: any, data?: DownloadFileCommandOutput) => void): void;
127
+ downloadFile(args: DownloadFileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DownloadFileCommandOutput) => void): void;
81
128
  /**
82
129
  * @see {@link ExecuteAgentCommand}
83
130
  */
@@ -96,6 +143,12 @@ export interface Wilma {
96
143
  getChat(args: GetChatCommandInput, options?: __HttpHandlerOptions): Promise<GetChatCommandOutput>;
97
144
  getChat(args: GetChatCommandInput, cb: (err: any, data?: GetChatCommandOutput) => void): void;
98
145
  getChat(args: GetChatCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetChatCommandOutput) => void): void;
146
+ /**
147
+ * @see {@link GetFileCommand}
148
+ */
149
+ getFile(args: GetFileCommandInput, options?: __HttpHandlerOptions): Promise<GetFileCommandOutput>;
150
+ getFile(args: GetFileCommandInput, cb: (err: any, data?: GetFileCommandOutput) => void): void;
151
+ getFile(args: GetFileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetFileCommandOutput) => void): void;
99
152
  /**
100
153
  * @see {@link GetGuidelineCommand}
101
154
  */
@@ -116,6 +169,18 @@ export interface Wilma {
116
169
  getSettings(args: GetSettingsCommandInput, options?: __HttpHandlerOptions): Promise<GetSettingsCommandOutput>;
117
170
  getSettings(args: GetSettingsCommandInput, cb: (err: any, data?: GetSettingsCommandOutput) => void): void;
118
171
  getSettings(args: GetSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSettingsCommandOutput) => void): void;
172
+ /**
173
+ * @see {@link GetSkillCommand}
174
+ */
175
+ getSkill(args: GetSkillCommandInput, options?: __HttpHandlerOptions): Promise<GetSkillCommandOutput>;
176
+ getSkill(args: GetSkillCommandInput, cb: (err: any, data?: GetSkillCommandOutput) => void): void;
177
+ getSkill(args: GetSkillCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSkillCommandOutput) => void): void;
178
+ /**
179
+ * @see {@link GetSkillFileDownloadCommand}
180
+ */
181
+ getSkillFileDownload(args: GetSkillFileDownloadCommandInput, options?: __HttpHandlerOptions): Promise<GetSkillFileDownloadCommandOutput>;
182
+ getSkillFileDownload(args: GetSkillFileDownloadCommandInput, cb: (err: any, data?: GetSkillFileDownloadCommandOutput) => void): void;
183
+ getSkillFileDownload(args: GetSkillFileDownloadCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSkillFileDownloadCommandOutput) => void): void;
119
184
  /**
120
185
  * @see {@link LikeAnswerCommand}
121
186
  */
@@ -177,6 +242,13 @@ export interface Wilma {
177
242
  listGuidelinesNames(args: ListGuidelinesNamesCommandInput, options?: __HttpHandlerOptions): Promise<ListGuidelinesNamesCommandOutput>;
178
243
  listGuidelinesNames(args: ListGuidelinesNamesCommandInput, cb: (err: any, data?: ListGuidelinesNamesCommandOutput) => void): void;
179
244
  listGuidelinesNames(args: ListGuidelinesNamesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListGuidelinesNamesCommandOutput) => void): void;
245
+ /**
246
+ * @see {@link ListSkillsCommand}
247
+ */
248
+ listSkills(): Promise<ListSkillsCommandOutput>;
249
+ listSkills(args: ListSkillsCommandInput, options?: __HttpHandlerOptions): Promise<ListSkillsCommandOutput>;
250
+ listSkills(args: ListSkillsCommandInput, cb: (err: any, data?: ListSkillsCommandOutput) => void): void;
251
+ listSkills(args: ListSkillsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSkillsCommandOutput) => void): void;
180
252
  /**
181
253
  * @see {@link PatchOrganizationSettingsCommand}
182
254
  */
@@ -215,6 +287,12 @@ export interface Wilma {
215
287
  updateGuidelinesDirectory(args: UpdateGuidelinesDirectoryCommandInput, options?: __HttpHandlerOptions): Promise<UpdateGuidelinesDirectoryCommandOutput>;
216
288
  updateGuidelinesDirectory(args: UpdateGuidelinesDirectoryCommandInput, cb: (err: any, data?: UpdateGuidelinesDirectoryCommandOutput) => void): void;
217
289
  updateGuidelinesDirectory(args: UpdateGuidelinesDirectoryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateGuidelinesDirectoryCommandOutput) => void): void;
290
+ /**
291
+ * @see {@link UpdateSkillCommand}
292
+ */
293
+ updateSkill(args: UpdateSkillCommandInput, options?: __HttpHandlerOptions): Promise<UpdateSkillCommandOutput>;
294
+ updateSkill(args: UpdateSkillCommandInput, cb: (err: any, data?: UpdateSkillCommandOutput) => void): void;
295
+ updateSkill(args: UpdateSkillCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateSkillCommandOutput) => void): void;
218
296
  }
219
297
  /**
220
298
  * @public
@@ -1,48 +1,61 @@
1
- import { CreateAgentCommandInput, CreateAgentCommandOutput } from "./commands/CreateAgentCommand";
2
- import { CreateGuidelineCommandInput, CreateGuidelineCommandOutput } from "./commands/CreateGuidelineCommand";
3
- import { CreateGuidelinesDirectoryCommandInput, CreateGuidelinesDirectoryCommandOutput } from "./commands/CreateGuidelinesDirectoryCommand";
4
- import { DeleteAgentCommandInput, DeleteAgentCommandOutput } from "./commands/DeleteAgentCommand";
5
- import { DeleteChatCommandInput, DeleteChatCommandOutput } from "./commands/DeleteChatCommand";
6
- import { DeleteGuidelineCommandInput, DeleteGuidelineCommandOutput } from "./commands/DeleteGuidelineCommand";
7
- import { DeleteGuidelinesDirectoryCommandInput, DeleteGuidelinesDirectoryCommandOutput } from "./commands/DeleteGuidelinesDirectoryCommand";
8
- import { DislikeAnswerCommandInput, DislikeAnswerCommandOutput } from "./commands/DislikeAnswerCommand";
9
- import { ExecuteAgentCommandInput, ExecuteAgentCommandOutput } from "./commands/ExecuteAgentCommand";
10
- import { GetAgentCommandInput, GetAgentCommandOutput } from "./commands/GetAgentCommand";
11
- import { GetChatCommandInput, GetChatCommandOutput } from "./commands/GetChatCommand";
12
- import { GetGuidelineCommandInput, GetGuidelineCommandOutput } from "./commands/GetGuidelineCommand";
13
- import { GetOrganizationSettingsCommandInput, GetOrganizationSettingsCommandOutput } from "./commands/GetOrganizationSettingsCommand";
14
- import { GetSettingsCommandInput, GetSettingsCommandOutput } from "./commands/GetSettingsCommand";
15
- import { LikeAnswerCommandInput, LikeAnswerCommandOutput } from "./commands/LikeAnswerCommand";
16
- import { ListAgentFeedbacksCommandInput, ListAgentFeedbacksCommandOutput } from "./commands/ListAgentFeedbacksCommand";
17
- import { ListAgentsCommandInput, ListAgentsCommandOutput } from "./commands/ListAgentsCommand";
18
- import { ListAgentsNamesCommandInput, ListAgentsNamesCommandOutput } from "./commands/ListAgentsNamesCommand";
19
- import { ListChatsCommandInput, ListChatsCommandOutput } from "./commands/ListChatsCommand";
20
- import { ListFeedbacksCommandInput, ListFeedbacksCommandOutput } from "./commands/ListFeedbacksCommand";
21
- import { ListGuidelinesCommandInput, ListGuidelinesCommandOutput } from "./commands/ListGuidelinesCommand";
22
- import { ListGuidelinesDirectoriesCommandInput, ListGuidelinesDirectoriesCommandOutput } from "./commands/ListGuidelinesDirectoriesCommand";
23
- import { ListGuidelinesNamesCommandInput, ListGuidelinesNamesCommandOutput } from "./commands/ListGuidelinesNamesCommand";
24
- import { PatchOrganizationSettingsCommandInput, PatchOrganizationSettingsCommandOutput } from "./commands/PatchOrganizationSettingsCommand";
25
- import { PatchSettingsCommandInput, PatchSettingsCommandOutput } from "./commands/PatchSettingsCommand";
26
- import { UpdateAgentCommandInput, UpdateAgentCommandOutput } from "./commands/UpdateAgentCommand";
27
- import { UpdateGuidelineAccessCommandInput, UpdateGuidelineAccessCommandOutput } from "./commands/UpdateGuidelineAccessCommand";
28
- import { UpdateGuidelineCommandInput, UpdateGuidelineCommandOutput } from "./commands/UpdateGuidelineCommand";
29
- import { UpdateGuidelinesDirectoryCommandInput, UpdateGuidelinesDirectoryCommandOutput } from "./commands/UpdateGuidelinesDirectoryCommand";
30
- import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
31
- import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
32
- import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
33
- import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
34
- import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
35
- import { Provider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
36
- import { TokenProvider } from '@wildix/smithy-utils';
1
+ import { type HostHeaderInputConfig, type HostHeaderResolvedConfig, type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/core/client";
2
+ import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/core/client";
3
+ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/core/endpoints";
4
+ import { type HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
5
+ import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/core/retry";
6
+ import type { BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
7
+ import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
8
+ import type { CreateAgentCommandInput, CreateAgentCommandOutput } from "./commands/CreateAgentCommand";
9
+ import type { CreateGuidelineCommandInput, CreateGuidelineCommandOutput } from "./commands/CreateGuidelineCommand";
10
+ import type { CreateGuidelinesDirectoryCommandInput, CreateGuidelinesDirectoryCommandOutput } from "./commands/CreateGuidelinesDirectoryCommand";
11
+ import type { CreateSkillCommandInput, CreateSkillCommandOutput } from "./commands/CreateSkillCommand";
12
+ import type { CreateSkillFileUploadCommandInput, CreateSkillFileUploadCommandOutput } from "./commands/CreateSkillFileUploadCommand";
13
+ import type { DeleteAgentCommandInput, DeleteAgentCommandOutput } from "./commands/DeleteAgentCommand";
14
+ import type { DeleteChatCommandInput, DeleteChatCommandOutput } from "./commands/DeleteChatCommand";
15
+ import type { DeleteFileCommandInput, DeleteFileCommandOutput } from "./commands/DeleteFileCommand";
16
+ import type { DeleteGuidelineCommandInput, DeleteGuidelineCommandOutput } from "./commands/DeleteGuidelineCommand";
17
+ import type { DeleteGuidelinesDirectoryCommandInput, DeleteGuidelinesDirectoryCommandOutput } from "./commands/DeleteGuidelinesDirectoryCommand";
18
+ import type { DeleteSkillCommandInput, DeleteSkillCommandOutput } from "./commands/DeleteSkillCommand";
19
+ import type { DeleteSkillFileCommandInput, DeleteSkillFileCommandOutput } from "./commands/DeleteSkillFileCommand";
20
+ import type { DislikeAnswerCommandInput, DislikeAnswerCommandOutput } from "./commands/DislikeAnswerCommand";
21
+ import type { DownloadFileCommandInput, DownloadFileCommandOutput } from "./commands/DownloadFileCommand";
22
+ import type { ExecuteAgentCommandInput, ExecuteAgentCommandOutput } from "./commands/ExecuteAgentCommand";
23
+ import type { GetAgentCommandInput, GetAgentCommandOutput } from "./commands/GetAgentCommand";
24
+ import type { GetChatCommandInput, GetChatCommandOutput } from "./commands/GetChatCommand";
25
+ import type { GetFileCommandInput, GetFileCommandOutput } from "./commands/GetFileCommand";
26
+ import type { GetGuidelineCommandInput, GetGuidelineCommandOutput } from "./commands/GetGuidelineCommand";
27
+ import type { GetOrganizationSettingsCommandInput, GetOrganizationSettingsCommandOutput } from "./commands/GetOrganizationSettingsCommand";
28
+ import type { GetSettingsCommandInput, GetSettingsCommandOutput } from "./commands/GetSettingsCommand";
29
+ import type { GetSkillCommandInput, GetSkillCommandOutput } from "./commands/GetSkillCommand";
30
+ import type { GetSkillFileDownloadCommandInput, GetSkillFileDownloadCommandOutput } from "./commands/GetSkillFileDownloadCommand";
31
+ import type { LikeAnswerCommandInput, LikeAnswerCommandOutput } from "./commands/LikeAnswerCommand";
32
+ import type { ListAgentFeedbacksCommandInput, ListAgentFeedbacksCommandOutput } from "./commands/ListAgentFeedbacksCommand";
33
+ import type { ListAgentsCommandInput, ListAgentsCommandOutput } from "./commands/ListAgentsCommand";
34
+ import type { ListAgentsNamesCommandInput, ListAgentsNamesCommandOutput } from "./commands/ListAgentsNamesCommand";
35
+ import type { ListChatsCommandInput, ListChatsCommandOutput } from "./commands/ListChatsCommand";
36
+ import type { ListFeedbacksCommandInput, ListFeedbacksCommandOutput } from "./commands/ListFeedbacksCommand";
37
+ import type { ListGuidelinesCommandInput, ListGuidelinesCommandOutput } from "./commands/ListGuidelinesCommand";
38
+ import type { ListGuidelinesDirectoriesCommandInput, ListGuidelinesDirectoriesCommandOutput } from "./commands/ListGuidelinesDirectoriesCommand";
39
+ import type { ListGuidelinesNamesCommandInput, ListGuidelinesNamesCommandOutput } from "./commands/ListGuidelinesNamesCommand";
40
+ import type { ListSkillsCommandInput, ListSkillsCommandOutput } from "./commands/ListSkillsCommand";
41
+ import type { PatchOrganizationSettingsCommandInput, PatchOrganizationSettingsCommandOutput } from "./commands/PatchOrganizationSettingsCommand";
42
+ import type { PatchSettingsCommandInput, PatchSettingsCommandOutput } from "./commands/PatchSettingsCommand";
43
+ import type { UpdateAgentCommandInput, UpdateAgentCommandOutput } from "./commands/UpdateAgentCommand";
44
+ import type { UpdateGuidelineAccessCommandInput, UpdateGuidelineAccessCommandOutput } from "./commands/UpdateGuidelineAccessCommand";
45
+ import type { UpdateGuidelineCommandInput, UpdateGuidelineCommandOutput } from "./commands/UpdateGuidelineCommand";
46
+ import type { UpdateGuidelinesDirectoryCommandInput, UpdateGuidelinesDirectoryCommandOutput } from "./commands/UpdateGuidelinesDirectoryCommand";
47
+ import type { UpdateSkillCommandInput, UpdateSkillCommandOutput } from "./commands/UpdateSkillCommand";
48
+ import { type ClientInputEndpointParameters, type ClientResolvedEndpointParameters, type EndpointParameters } from "./endpoint/EndpointParameters";
49
+ import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
37
50
  export { __Client };
38
51
  /**
39
52
  * @public
40
53
  */
41
- export type ServiceInputTypes = CreateAgentCommandInput | CreateGuidelineCommandInput | CreateGuidelinesDirectoryCommandInput | DeleteAgentCommandInput | DeleteChatCommandInput | DeleteGuidelineCommandInput | DeleteGuidelinesDirectoryCommandInput | DislikeAnswerCommandInput | ExecuteAgentCommandInput | GetAgentCommandInput | GetChatCommandInput | GetGuidelineCommandInput | GetOrganizationSettingsCommandInput | GetSettingsCommandInput | LikeAnswerCommandInput | ListAgentFeedbacksCommandInput | ListAgentsCommandInput | ListAgentsNamesCommandInput | ListChatsCommandInput | ListFeedbacksCommandInput | ListGuidelinesCommandInput | ListGuidelinesDirectoriesCommandInput | ListGuidelinesNamesCommandInput | PatchOrganizationSettingsCommandInput | PatchSettingsCommandInput | UpdateAgentCommandInput | UpdateGuidelineAccessCommandInput | UpdateGuidelineCommandInput | UpdateGuidelinesDirectoryCommandInput;
54
+ export type ServiceInputTypes = CreateAgentCommandInput | CreateGuidelineCommandInput | CreateGuidelinesDirectoryCommandInput | CreateSkillCommandInput | CreateSkillFileUploadCommandInput | DeleteAgentCommandInput | DeleteChatCommandInput | DeleteFileCommandInput | DeleteGuidelineCommandInput | DeleteGuidelinesDirectoryCommandInput | DeleteSkillCommandInput | DeleteSkillFileCommandInput | DislikeAnswerCommandInput | DownloadFileCommandInput | ExecuteAgentCommandInput | GetAgentCommandInput | GetChatCommandInput | GetFileCommandInput | GetGuidelineCommandInput | GetOrganizationSettingsCommandInput | GetSettingsCommandInput | GetSkillCommandInput | GetSkillFileDownloadCommandInput | LikeAnswerCommandInput | ListAgentFeedbacksCommandInput | ListAgentsCommandInput | ListAgentsNamesCommandInput | ListChatsCommandInput | ListFeedbacksCommandInput | ListGuidelinesCommandInput | ListGuidelinesDirectoriesCommandInput | ListGuidelinesNamesCommandInput | ListSkillsCommandInput | PatchOrganizationSettingsCommandInput | PatchSettingsCommandInput | UpdateAgentCommandInput | UpdateGuidelineAccessCommandInput | UpdateGuidelineCommandInput | UpdateGuidelinesDirectoryCommandInput | UpdateSkillCommandInput;
42
55
  /**
43
56
  * @public
44
57
  */
45
- export type ServiceOutputTypes = CreateAgentCommandOutput | CreateGuidelineCommandOutput | CreateGuidelinesDirectoryCommandOutput | DeleteAgentCommandOutput | DeleteChatCommandOutput | DeleteGuidelineCommandOutput | DeleteGuidelinesDirectoryCommandOutput | DislikeAnswerCommandOutput | ExecuteAgentCommandOutput | GetAgentCommandOutput | GetChatCommandOutput | GetGuidelineCommandOutput | GetOrganizationSettingsCommandOutput | GetSettingsCommandOutput | LikeAnswerCommandOutput | ListAgentFeedbacksCommandOutput | ListAgentsCommandOutput | ListAgentsNamesCommandOutput | ListChatsCommandOutput | ListFeedbacksCommandOutput | ListGuidelinesCommandOutput | ListGuidelinesDirectoriesCommandOutput | ListGuidelinesNamesCommandOutput | PatchOrganizationSettingsCommandOutput | PatchSettingsCommandOutput | UpdateAgentCommandOutput | UpdateGuidelineAccessCommandOutput | UpdateGuidelineCommandOutput | UpdateGuidelinesDirectoryCommandOutput;
58
+ export type ServiceOutputTypes = CreateAgentCommandOutput | CreateGuidelineCommandOutput | CreateGuidelinesDirectoryCommandOutput | CreateSkillCommandOutput | CreateSkillFileUploadCommandOutput | DeleteAgentCommandOutput | DeleteChatCommandOutput | DeleteFileCommandOutput | DeleteGuidelineCommandOutput | DeleteGuidelinesDirectoryCommandOutput | DeleteSkillCommandOutput | DeleteSkillFileCommandOutput | DislikeAnswerCommandOutput | DownloadFileCommandOutput | ExecuteAgentCommandOutput | GetAgentCommandOutput | GetChatCommandOutput | GetFileCommandOutput | GetGuidelineCommandOutput | GetOrganizationSettingsCommandOutput | GetSettingsCommandOutput | GetSkillCommandOutput | GetSkillFileDownloadCommandOutput | LikeAnswerCommandOutput | ListAgentFeedbacksCommandOutput | ListAgentsCommandOutput | ListAgentsNamesCommandOutput | ListChatsCommandOutput | ListFeedbacksCommandOutput | ListGuidelinesCommandOutput | ListGuidelinesDirectoriesCommandOutput | ListGuidelinesNamesCommandOutput | ListSkillsCommandOutput | PatchOrganizationSettingsCommandOutput | PatchSettingsCommandOutput | UpdateAgentCommandOutput | UpdateGuidelineAccessCommandOutput | UpdateGuidelineCommandOutput | UpdateGuidelinesDirectoryCommandOutput | UpdateSkillCommandOutput;
46
59
  /**
47
60
  * @public
48
61
  */
@@ -102,11 +115,29 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
102
115
  * trait of an operation.
103
116
  */
104
117
  disableHostPrefix?: boolean;
118
+ /**
119
+ * Setting a client profile is similar to setting a value for the
120
+ * AWS_PROFILE environment variable. Setting a profile on a client
121
+ * in code only affects the single client instance, unlike AWS_PROFILE.
122
+ *
123
+ * When set, and only for environments where an AWS configuration
124
+ * file exists, fields configurable by this file will be retrieved
125
+ * from the specified profile within that file.
126
+ * Conflicting code configuration and environment variables will
127
+ * still have higher priority.
128
+ *
129
+ * For client credential resolution that involves checking the AWS
130
+ * configuration file, the client's profile (this value) will be
131
+ * used unless a different profile is set in the credential
132
+ * provider options.
133
+ *
134
+ */
135
+ profile?: string;
105
136
  /**
106
137
  * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
107
138
  * @internal
108
139
  */
109
- defaultUserAgentProvider?: Provider<__UserAgent>;
140
+ defaultUserAgentProvider?: __Provider<__UserAgent>;
110
141
  /**
111
142
  * Value for how many times a request will be made at most in case of retry.
112
143
  */
@@ -133,20 +164,18 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
133
164
  /**
134
165
  * @public
135
166
  */
136
- export type WilmaClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig;
167
+ export type WilmaClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig & HostHeaderInputConfig & EndpointInputConfig<EndpointParameters> & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
137
168
  /**
138
169
  * @public
139
170
  *
140
171
  * The configuration interface of WilmaClient class constructor that set the region, credentials and other options.
141
172
  */
142
173
  export interface WilmaClientConfig extends WilmaClientConfigType {
143
- env?: 'stage' | 'stable' | 'prod';
144
- token: TokenProvider;
145
174
  }
146
175
  /**
147
176
  * @public
148
177
  */
149
- export type WilmaClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig;
178
+ export type WilmaClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig<EndpointParameters> & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
150
179
  /**
151
180
  * @public
152
181
  *
@@ -0,0 +1,29 @@
1
+ import { type HttpAuthScheme, TokenIdentity, TokenIdentityProvider } from "@smithy/types";
2
+ import type { WilmaHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
3
+ /**
4
+ * @internal
5
+ */
6
+ export interface HttpAuthExtensionConfiguration {
7
+ setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
8
+ httpAuthSchemes(): HttpAuthScheme[];
9
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider: WilmaHttpAuthSchemeProvider): void;
10
+ httpAuthSchemeProvider(): WilmaHttpAuthSchemeProvider;
11
+ setToken(token: TokenIdentity | TokenIdentityProvider): void;
12
+ token(): TokenIdentity | TokenIdentityProvider | undefined;
13
+ }
14
+ /**
15
+ * @internal
16
+ */
17
+ export type HttpAuthRuntimeConfig = Partial<{
18
+ httpAuthSchemes: HttpAuthScheme[];
19
+ httpAuthSchemeProvider: WilmaHttpAuthSchemeProvider;
20
+ token: TokenIdentity | TokenIdentityProvider;
21
+ }>;
22
+ /**
23
+ * @internal
24
+ */
25
+ export declare const getHttpAuthExtensionConfiguration: (runtimeConfig: HttpAuthRuntimeConfig) => HttpAuthExtensionConfiguration;
26
+ /**
27
+ * @internal
28
+ */
29
+ export declare const resolveHttpAuthRuntimeConfig: (config: HttpAuthExtensionConfiguration) => HttpAuthRuntimeConfig;
@@ -0,0 +1,81 @@
1
+ import { type HandlerExecutionContext, type HttpAuthScheme, type HttpAuthSchemeParameters, type HttpAuthSchemeParametersProvider, type HttpAuthSchemeProvider, type Provider, TokenIdentity, TokenIdentityProvider } from "@smithy/types";
2
+ import type { WilmaClientResolvedConfig } from "../WilmaClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export interface WilmaHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
7
+ }
8
+ /**
9
+ * @internal
10
+ */
11
+ export interface WilmaHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<WilmaClientResolvedConfig, HandlerExecutionContext, WilmaHttpAuthSchemeParameters, object> {
12
+ }
13
+ /**
14
+ * @internal
15
+ */
16
+ export declare const defaultWilmaHttpAuthSchemeParametersProvider: (config: WilmaClientResolvedConfig, context: HandlerExecutionContext, input: object) => Promise<WilmaHttpAuthSchemeParameters>;
17
+ /**
18
+ * @internal
19
+ */
20
+ export interface WilmaHttpAuthSchemeProvider extends HttpAuthSchemeProvider<WilmaHttpAuthSchemeParameters> {
21
+ }
22
+ /**
23
+ * @internal
24
+ */
25
+ export declare const defaultWilmaHttpAuthSchemeProvider: WilmaHttpAuthSchemeProvider;
26
+ /**
27
+ * @public
28
+ */
29
+ export interface HttpAuthSchemeInputConfig {
30
+ /**
31
+ * A comma-separated list of case-sensitive auth scheme names.
32
+ * An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed.
33
+ * For example, the auth scheme with ID aws.auth#sigv4 is named sigv4.
34
+ * @public
35
+ */
36
+ authSchemePreference?: string[] | Provider<string[]>;
37
+ /**
38
+ * Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
39
+ * @internal
40
+ */
41
+ httpAuthSchemes?: HttpAuthScheme[];
42
+ /**
43
+ * Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
44
+ * @internal
45
+ */
46
+ httpAuthSchemeProvider?: WilmaHttpAuthSchemeProvider;
47
+ /**
48
+ * The token used to authenticate requests.
49
+ */
50
+ token?: TokenIdentity | TokenIdentityProvider;
51
+ }
52
+ /**
53
+ * @internal
54
+ */
55
+ export interface HttpAuthSchemeResolvedConfig {
56
+ /**
57
+ * A comma-separated list of case-sensitive auth scheme names.
58
+ * An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed.
59
+ * For example, the auth scheme with ID aws.auth#sigv4 is named sigv4.
60
+ * @public
61
+ */
62
+ readonly authSchemePreference: Provider<string[]>;
63
+ /**
64
+ * Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
65
+ * @internal
66
+ */
67
+ readonly httpAuthSchemes: HttpAuthScheme[];
68
+ /**
69
+ * Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
70
+ * @internal
71
+ */
72
+ readonly httpAuthSchemeProvider: WilmaHttpAuthSchemeProvider;
73
+ /**
74
+ * The token used to authenticate requests.
75
+ */
76
+ readonly token?: TokenIdentityProvider;
77
+ }
78
+ /**
79
+ * @internal
80
+ */
81
+ export declare const resolveHttpAuthSchemeConfig: <T>(config: T & HttpAuthSchemeInputConfig) => T & HttpAuthSchemeResolvedConfig;