@wildix/wilma-copilot-client 1.0.2

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 (157) hide show
  1. package/dist-cjs/WilmaCopilot.js +75 -0
  2. package/dist-cjs/WilmaCopilotClient.js +49 -0
  3. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  4. package/dist-cjs/auth/httpAuthSchemeProvider.js +58 -0
  5. package/dist-cjs/commands/AttachProfileResourceCommand.js +20 -0
  6. package/dist-cjs/commands/CompareProfileVersionsCommand.js +20 -0
  7. package/dist-cjs/commands/CreateAssetCommand.js +20 -0
  8. package/dist-cjs/commands/CreateAutomationCommand.js +20 -0
  9. package/dist-cjs/commands/CreateEvaluationCommand.js +20 -0
  10. package/dist-cjs/commands/CreateIntentCommand.js +20 -0
  11. package/dist-cjs/commands/CreateProfileCommand.js +20 -0
  12. package/dist-cjs/commands/DeleteAssetCommand.js +20 -0
  13. package/dist-cjs/commands/DeleteAutomationCommand.js +20 -0
  14. package/dist-cjs/commands/DeleteEvaluationCommand.js +20 -0
  15. package/dist-cjs/commands/DeleteIntentCommand.js +20 -0
  16. package/dist-cjs/commands/DeleteProfileCommand.js +20 -0
  17. package/dist-cjs/commands/DeleteProfileResourceCommand.js +20 -0
  18. package/dist-cjs/commands/GetAssetCommand.js +20 -0
  19. package/dist-cjs/commands/GetAutomationCommand.js +20 -0
  20. package/dist-cjs/commands/GetEvaluationCommand.js +20 -0
  21. package/dist-cjs/commands/GetIntentCommand.js +20 -0
  22. package/dist-cjs/commands/GetProfileCommand.js +20 -0
  23. package/dist-cjs/commands/GetProfileVersionCommand.js +20 -0
  24. package/dist-cjs/commands/ListAssetsCommand.js +20 -0
  25. package/dist-cjs/commands/ListAutomationsCommand.js +20 -0
  26. package/dist-cjs/commands/ListEvaluationsCommand.js +20 -0
  27. package/dist-cjs/commands/ListIntentsCommand.js +20 -0
  28. package/dist-cjs/commands/ListProfileVersionsCommand.js +20 -0
  29. package/dist-cjs/commands/ListProfilesCommand.js +20 -0
  30. package/dist-cjs/commands/PublishProfileVersionCommand.js +20 -0
  31. package/dist-cjs/commands/RestoreProfileVersionToDraftCommand.js +20 -0
  32. package/dist-cjs/commands/UpdateAssetCommand.js +20 -0
  33. package/dist-cjs/commands/UpdateAutomationCommand.js +20 -0
  34. package/dist-cjs/commands/UpdateEvaluationCommand.js +20 -0
  35. package/dist-cjs/commands/UpdateIntentCommand.js +20 -0
  36. package/dist-cjs/commands/UpdateProfileCommand.js +20 -0
  37. package/dist-cjs/commands/index.js +35 -0
  38. package/dist-cjs/endpoint/EndpointParameters.js +16 -0
  39. package/dist-cjs/endpoint/bdd.js +28 -0
  40. package/dist-cjs/endpoint/endpointResolver.js +16 -0
  41. package/dist-cjs/extensionConfiguration.js +2 -0
  42. package/dist-cjs/index.js +13 -0
  43. package/dist-cjs/models/WilmaCopilotServiceException.js +12 -0
  44. package/dist-cjs/models/enums.js +95 -0
  45. package/dist-cjs/models/errors.js +287 -0
  46. package/dist-cjs/models/models_0.js +2 -0
  47. package/dist-cjs/runtimeConfig.browser.js +32 -0
  48. package/dist-cjs/runtimeConfig.js +41 -0
  49. package/dist-cjs/runtimeConfig.native.js +15 -0
  50. package/dist-cjs/runtimeConfig.shared.js +41 -0
  51. package/dist-cjs/runtimeExtensions.js +12 -0
  52. package/dist-cjs/schemas/schemas_0.js +1249 -0
  53. package/dist-es/WilmaCopilot.js +71 -0
  54. package/dist-es/WilmaCopilotClient.js +45 -0
  55. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  56. package/dist-es/auth/httpAuthSchemeProvider.js +52 -0
  57. package/dist-es/commands/AttachProfileResourceCommand.js +16 -0
  58. package/dist-es/commands/CompareProfileVersionsCommand.js +16 -0
  59. package/dist-es/commands/CreateAssetCommand.js +16 -0
  60. package/dist-es/commands/CreateAutomationCommand.js +16 -0
  61. package/dist-es/commands/CreateEvaluationCommand.js +16 -0
  62. package/dist-es/commands/CreateIntentCommand.js +16 -0
  63. package/dist-es/commands/CreateProfileCommand.js +16 -0
  64. package/dist-es/commands/DeleteAssetCommand.js +16 -0
  65. package/dist-es/commands/DeleteAutomationCommand.js +16 -0
  66. package/dist-es/commands/DeleteEvaluationCommand.js +16 -0
  67. package/dist-es/commands/DeleteIntentCommand.js +16 -0
  68. package/dist-es/commands/DeleteProfileCommand.js +16 -0
  69. package/dist-es/commands/DeleteProfileResourceCommand.js +16 -0
  70. package/dist-es/commands/GetAssetCommand.js +16 -0
  71. package/dist-es/commands/GetAutomationCommand.js +16 -0
  72. package/dist-es/commands/GetEvaluationCommand.js +16 -0
  73. package/dist-es/commands/GetIntentCommand.js +16 -0
  74. package/dist-es/commands/GetProfileCommand.js +16 -0
  75. package/dist-es/commands/GetProfileVersionCommand.js +16 -0
  76. package/dist-es/commands/ListAssetsCommand.js +16 -0
  77. package/dist-es/commands/ListAutomationsCommand.js +16 -0
  78. package/dist-es/commands/ListEvaluationsCommand.js +16 -0
  79. package/dist-es/commands/ListIntentsCommand.js +16 -0
  80. package/dist-es/commands/ListProfileVersionsCommand.js +16 -0
  81. package/dist-es/commands/ListProfilesCommand.js +16 -0
  82. package/dist-es/commands/PublishProfileVersionCommand.js +16 -0
  83. package/dist-es/commands/RestoreProfileVersionToDraftCommand.js +16 -0
  84. package/dist-es/commands/UpdateAssetCommand.js +16 -0
  85. package/dist-es/commands/UpdateAutomationCommand.js +16 -0
  86. package/dist-es/commands/UpdateEvaluationCommand.js +16 -0
  87. package/dist-es/commands/UpdateIntentCommand.js +16 -0
  88. package/dist-es/commands/UpdateProfileCommand.js +16 -0
  89. package/dist-es/commands/index.js +32 -0
  90. package/dist-es/endpoint/EndpointParameters.js +12 -0
  91. package/dist-es/endpoint/bdd.js +25 -0
  92. package/dist-es/endpoint/endpointResolver.js +12 -0
  93. package/dist-es/extensionConfiguration.js +1 -0
  94. package/dist-es/index.js +8 -0
  95. package/dist-es/models/WilmaCopilotServiceException.js +8 -0
  96. package/dist-es/models/enums.js +92 -0
  97. package/dist-es/models/errors.js +265 -0
  98. package/dist-es/models/models_0.js +1 -0
  99. package/dist-es/runtimeConfig.browser.js +27 -0
  100. package/dist-es/runtimeConfig.js +36 -0
  101. package/dist-es/runtimeConfig.native.js +11 -0
  102. package/dist-es/runtimeConfig.shared.js +37 -0
  103. package/dist-es/runtimeExtensions.js +8 -0
  104. package/dist-es/schemas/schemas_0.js +1243 -0
  105. package/dist-types/WilmaCopilot.d.ts +254 -0
  106. package/dist-types/WilmaCopilotClient.d.ts +209 -0
  107. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  108. package/dist-types/auth/httpAuthSchemeProvider.d.ts +81 -0
  109. package/dist-types/commands/AttachProfileResourceCommand.d.ts +165 -0
  110. package/dist-types/commands/CompareProfileVersionsCommand.d.ts +91 -0
  111. package/dist-types/commands/CreateAssetCommand.d.ts +328 -0
  112. package/dist-types/commands/CreateAutomationCommand.d.ts +176 -0
  113. package/dist-types/commands/CreateEvaluationCommand.d.ts +196 -0
  114. package/dist-types/commands/CreateIntentCommand.d.ts +202 -0
  115. package/dist-types/commands/CreateProfileCommand.d.ts +181 -0
  116. package/dist-types/commands/DeleteAssetCommand.d.ts +83 -0
  117. package/dist-types/commands/DeleteAutomationCommand.d.ts +83 -0
  118. package/dist-types/commands/DeleteEvaluationCommand.d.ts +83 -0
  119. package/dist-types/commands/DeleteIntentCommand.d.ts +83 -0
  120. package/dist-types/commands/DeleteProfileCommand.d.ts +79 -0
  121. package/dist-types/commands/DeleteProfileResourceCommand.d.ts +147 -0
  122. package/dist-types/commands/GetAssetCommand.d.ts +213 -0
  123. package/dist-types/commands/GetAutomationCommand.d.ts +137 -0
  124. package/dist-types/commands/GetEvaluationCommand.d.ts +147 -0
  125. package/dist-types/commands/GetIntentCommand.d.ts +150 -0
  126. package/dist-types/commands/GetProfileCommand.d.ts +141 -0
  127. package/dist-types/commands/GetProfileVersionCommand.d.ts +82 -0
  128. package/dist-types/commands/ListAssetsCommand.d.ts +107 -0
  129. package/dist-types/commands/ListAutomationsCommand.d.ts +103 -0
  130. package/dist-types/commands/ListEvaluationsCommand.d.ts +104 -0
  131. package/dist-types/commands/ListIntentsCommand.d.ts +103 -0
  132. package/dist-types/commands/ListProfileVersionsCommand.d.ts +95 -0
  133. package/dist-types/commands/ListProfilesCommand.d.ts +110 -0
  134. package/dist-types/commands/PublishProfileVersionCommand.d.ts +87 -0
  135. package/dist-types/commands/RestoreProfileVersionToDraftCommand.d.ts +146 -0
  136. package/dist-types/commands/UpdateAssetCommand.d.ts +335 -0
  137. package/dist-types/commands/UpdateAutomationCommand.d.ts +183 -0
  138. package/dist-types/commands/UpdateEvaluationCommand.d.ts +203 -0
  139. package/dist-types/commands/UpdateIntentCommand.d.ts +209 -0
  140. package/dist-types/commands/UpdateProfileCommand.d.ts +160 -0
  141. package/dist-types/commands/index.d.ts +32 -0
  142. package/dist-types/endpoint/EndpointParameters.d.ts +41 -0
  143. package/dist-types/endpoint/bdd.d.ts +2 -0
  144. package/dist-types/endpoint/endpointResolver.d.ts +8 -0
  145. package/dist-types/extensionConfiguration.d.ts +8 -0
  146. package/dist-types/index.d.ts +31 -0
  147. package/dist-types/models/WilmaCopilotServiceException.d.ts +14 -0
  148. package/dist-types/models/enums.d.ts +287 -0
  149. package/dist-types/models/errors.d.ts +239 -0
  150. package/dist-types/models/models_0.d.ts +2808 -0
  151. package/dist-types/runtimeConfig.browser.d.ts +55 -0
  152. package/dist-types/runtimeConfig.d.ts +55 -0
  153. package/dist-types/runtimeConfig.native.d.ts +54 -0
  154. package/dist-types/runtimeConfig.shared.d.ts +32 -0
  155. package/dist-types/runtimeExtensions.d.ts +17 -0
  156. package/dist-types/schemas/schemas_0.d.ts +182 -0
  157. package/package.json +57 -0
@@ -0,0 +1,254 @@
1
+ import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
+ import { type AttachProfileResourceCommandInput, type AttachProfileResourceCommandOutput } from "./commands/AttachProfileResourceCommand";
3
+ import { type CompareProfileVersionsCommandInput, type CompareProfileVersionsCommandOutput } from "./commands/CompareProfileVersionsCommand";
4
+ import { type CreateAssetCommandInput, type CreateAssetCommandOutput } from "./commands/CreateAssetCommand";
5
+ import { type CreateAutomationCommandInput, type CreateAutomationCommandOutput } from "./commands/CreateAutomationCommand";
6
+ import { type CreateEvaluationCommandInput, type CreateEvaluationCommandOutput } from "./commands/CreateEvaluationCommand";
7
+ import { type CreateIntentCommandInput, type CreateIntentCommandOutput } from "./commands/CreateIntentCommand";
8
+ import { type CreateProfileCommandInput, type CreateProfileCommandOutput } from "./commands/CreateProfileCommand";
9
+ import { type DeleteAssetCommandInput, type DeleteAssetCommandOutput } from "./commands/DeleteAssetCommand";
10
+ import { type DeleteAutomationCommandInput, type DeleteAutomationCommandOutput } from "./commands/DeleteAutomationCommand";
11
+ import { type DeleteEvaluationCommandInput, type DeleteEvaluationCommandOutput } from "./commands/DeleteEvaluationCommand";
12
+ import { type DeleteIntentCommandInput, type DeleteIntentCommandOutput } from "./commands/DeleteIntentCommand";
13
+ import { type DeleteProfileCommandInput, type DeleteProfileCommandOutput } from "./commands/DeleteProfileCommand";
14
+ import { type DeleteProfileResourceCommandInput, type DeleteProfileResourceCommandOutput } from "./commands/DeleteProfileResourceCommand";
15
+ import { type GetAssetCommandInput, type GetAssetCommandOutput } from "./commands/GetAssetCommand";
16
+ import { type GetAutomationCommandInput, type GetAutomationCommandOutput } from "./commands/GetAutomationCommand";
17
+ import { type GetEvaluationCommandInput, type GetEvaluationCommandOutput } from "./commands/GetEvaluationCommand";
18
+ import { type GetIntentCommandInput, type GetIntentCommandOutput } from "./commands/GetIntentCommand";
19
+ import { type GetProfileCommandInput, type GetProfileCommandOutput } from "./commands/GetProfileCommand";
20
+ import { type GetProfileVersionCommandInput, type GetProfileVersionCommandOutput } from "./commands/GetProfileVersionCommand";
21
+ import { type ListAssetsCommandInput, type ListAssetsCommandOutput } from "./commands/ListAssetsCommand";
22
+ import { type ListAutomationsCommandInput, type ListAutomationsCommandOutput } from "./commands/ListAutomationsCommand";
23
+ import { type ListEvaluationsCommandInput, type ListEvaluationsCommandOutput } from "./commands/ListEvaluationsCommand";
24
+ import { type ListIntentsCommandInput, type ListIntentsCommandOutput } from "./commands/ListIntentsCommand";
25
+ import { type ListProfilesCommandInput, type ListProfilesCommandOutput } from "./commands/ListProfilesCommand";
26
+ import { type ListProfileVersionsCommandInput, type ListProfileVersionsCommandOutput } from "./commands/ListProfileVersionsCommand";
27
+ import { type PublishProfileVersionCommandInput, type PublishProfileVersionCommandOutput } from "./commands/PublishProfileVersionCommand";
28
+ import { type RestoreProfileVersionToDraftCommandInput, type RestoreProfileVersionToDraftCommandOutput } from "./commands/RestoreProfileVersionToDraftCommand";
29
+ import { type UpdateAssetCommandInput, type UpdateAssetCommandOutput } from "./commands/UpdateAssetCommand";
30
+ import { type UpdateAutomationCommandInput, type UpdateAutomationCommandOutput } from "./commands/UpdateAutomationCommand";
31
+ import { type UpdateEvaluationCommandInput, type UpdateEvaluationCommandOutput } from "./commands/UpdateEvaluationCommand";
32
+ import { type UpdateIntentCommandInput, type UpdateIntentCommandOutput } from "./commands/UpdateIntentCommand";
33
+ import { type UpdateProfileCommandInput, type UpdateProfileCommandOutput } from "./commands/UpdateProfileCommand";
34
+ import { WilmaCopilotClient } from "./WilmaCopilotClient";
35
+ export interface WilmaCopilot {
36
+ /**
37
+ * @see {@link AttachProfileResourceCommand}
38
+ */
39
+ attachProfileResource(args: AttachProfileResourceCommandInput, options?: __HttpHandlerOptions): Promise<AttachProfileResourceCommandOutput>;
40
+ attachProfileResource(args: AttachProfileResourceCommandInput, cb: (err: any, data?: AttachProfileResourceCommandOutput) => void): void;
41
+ attachProfileResource(args: AttachProfileResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AttachProfileResourceCommandOutput) => void): void;
42
+ /**
43
+ * @see {@link CompareProfileVersionsCommand}
44
+ */
45
+ compareProfileVersions(args: CompareProfileVersionsCommandInput, options?: __HttpHandlerOptions): Promise<CompareProfileVersionsCommandOutput>;
46
+ compareProfileVersions(args: CompareProfileVersionsCommandInput, cb: (err: any, data?: CompareProfileVersionsCommandOutput) => void): void;
47
+ compareProfileVersions(args: CompareProfileVersionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CompareProfileVersionsCommandOutput) => void): void;
48
+ /**
49
+ * @see {@link CreateAssetCommand}
50
+ */
51
+ createAsset(args: CreateAssetCommandInput, options?: __HttpHandlerOptions): Promise<CreateAssetCommandOutput>;
52
+ createAsset(args: CreateAssetCommandInput, cb: (err: any, data?: CreateAssetCommandOutput) => void): void;
53
+ createAsset(args: CreateAssetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAssetCommandOutput) => void): void;
54
+ /**
55
+ * @see {@link CreateAutomationCommand}
56
+ */
57
+ createAutomation(args: CreateAutomationCommandInput, options?: __HttpHandlerOptions): Promise<CreateAutomationCommandOutput>;
58
+ createAutomation(args: CreateAutomationCommandInput, cb: (err: any, data?: CreateAutomationCommandOutput) => void): void;
59
+ createAutomation(args: CreateAutomationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAutomationCommandOutput) => void): void;
60
+ /**
61
+ * @see {@link CreateEvaluationCommand}
62
+ */
63
+ createEvaluation(args: CreateEvaluationCommandInput, options?: __HttpHandlerOptions): Promise<CreateEvaluationCommandOutput>;
64
+ createEvaluation(args: CreateEvaluationCommandInput, cb: (err: any, data?: CreateEvaluationCommandOutput) => void): void;
65
+ createEvaluation(args: CreateEvaluationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateEvaluationCommandOutput) => void): void;
66
+ /**
67
+ * @see {@link CreateIntentCommand}
68
+ */
69
+ createIntent(args: CreateIntentCommandInput, options?: __HttpHandlerOptions): Promise<CreateIntentCommandOutput>;
70
+ createIntent(args: CreateIntentCommandInput, cb: (err: any, data?: CreateIntentCommandOutput) => void): void;
71
+ createIntent(args: CreateIntentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateIntentCommandOutput) => void): void;
72
+ /**
73
+ * @see {@link CreateProfileCommand}
74
+ */
75
+ createProfile(args: CreateProfileCommandInput, options?: __HttpHandlerOptions): Promise<CreateProfileCommandOutput>;
76
+ createProfile(args: CreateProfileCommandInput, cb: (err: any, data?: CreateProfileCommandOutput) => void): void;
77
+ createProfile(args: CreateProfileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateProfileCommandOutput) => void): void;
78
+ /**
79
+ * @see {@link DeleteAssetCommand}
80
+ */
81
+ deleteAsset(args: DeleteAssetCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAssetCommandOutput>;
82
+ deleteAsset(args: DeleteAssetCommandInput, cb: (err: any, data?: DeleteAssetCommandOutput) => void): void;
83
+ deleteAsset(args: DeleteAssetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAssetCommandOutput) => void): void;
84
+ /**
85
+ * @see {@link DeleteAutomationCommand}
86
+ */
87
+ deleteAutomation(args: DeleteAutomationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAutomationCommandOutput>;
88
+ deleteAutomation(args: DeleteAutomationCommandInput, cb: (err: any, data?: DeleteAutomationCommandOutput) => void): void;
89
+ deleteAutomation(args: DeleteAutomationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAutomationCommandOutput) => void): void;
90
+ /**
91
+ * @see {@link DeleteEvaluationCommand}
92
+ */
93
+ deleteEvaluation(args: DeleteEvaluationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteEvaluationCommandOutput>;
94
+ deleteEvaluation(args: DeleteEvaluationCommandInput, cb: (err: any, data?: DeleteEvaluationCommandOutput) => void): void;
95
+ deleteEvaluation(args: DeleteEvaluationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteEvaluationCommandOutput) => void): void;
96
+ /**
97
+ * @see {@link DeleteIntentCommand}
98
+ */
99
+ deleteIntent(args: DeleteIntentCommandInput, options?: __HttpHandlerOptions): Promise<DeleteIntentCommandOutput>;
100
+ deleteIntent(args: DeleteIntentCommandInput, cb: (err: any, data?: DeleteIntentCommandOutput) => void): void;
101
+ deleteIntent(args: DeleteIntentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteIntentCommandOutput) => void): void;
102
+ /**
103
+ * @see {@link DeleteProfileCommand}
104
+ */
105
+ deleteProfile(args: DeleteProfileCommandInput, options?: __HttpHandlerOptions): Promise<DeleteProfileCommandOutput>;
106
+ deleteProfile(args: DeleteProfileCommandInput, cb: (err: any, data?: DeleteProfileCommandOutput) => void): void;
107
+ deleteProfile(args: DeleteProfileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteProfileCommandOutput) => void): void;
108
+ /**
109
+ * @see {@link DeleteProfileResourceCommand}
110
+ */
111
+ deleteProfileResource(args: DeleteProfileResourceCommandInput, options?: __HttpHandlerOptions): Promise<DeleteProfileResourceCommandOutput>;
112
+ deleteProfileResource(args: DeleteProfileResourceCommandInput, cb: (err: any, data?: DeleteProfileResourceCommandOutput) => void): void;
113
+ deleteProfileResource(args: DeleteProfileResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteProfileResourceCommandOutput) => void): void;
114
+ /**
115
+ * @see {@link GetAssetCommand}
116
+ */
117
+ getAsset(args: GetAssetCommandInput, options?: __HttpHandlerOptions): Promise<GetAssetCommandOutput>;
118
+ getAsset(args: GetAssetCommandInput, cb: (err: any, data?: GetAssetCommandOutput) => void): void;
119
+ getAsset(args: GetAssetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAssetCommandOutput) => void): void;
120
+ /**
121
+ * @see {@link GetAutomationCommand}
122
+ */
123
+ getAutomation(args: GetAutomationCommandInput, options?: __HttpHandlerOptions): Promise<GetAutomationCommandOutput>;
124
+ getAutomation(args: GetAutomationCommandInput, cb: (err: any, data?: GetAutomationCommandOutput) => void): void;
125
+ getAutomation(args: GetAutomationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAutomationCommandOutput) => void): void;
126
+ /**
127
+ * @see {@link GetEvaluationCommand}
128
+ */
129
+ getEvaluation(args: GetEvaluationCommandInput, options?: __HttpHandlerOptions): Promise<GetEvaluationCommandOutput>;
130
+ getEvaluation(args: GetEvaluationCommandInput, cb: (err: any, data?: GetEvaluationCommandOutput) => void): void;
131
+ getEvaluation(args: GetEvaluationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetEvaluationCommandOutput) => void): void;
132
+ /**
133
+ * @see {@link GetIntentCommand}
134
+ */
135
+ getIntent(args: GetIntentCommandInput, options?: __HttpHandlerOptions): Promise<GetIntentCommandOutput>;
136
+ getIntent(args: GetIntentCommandInput, cb: (err: any, data?: GetIntentCommandOutput) => void): void;
137
+ getIntent(args: GetIntentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetIntentCommandOutput) => void): void;
138
+ /**
139
+ * @see {@link GetProfileCommand}
140
+ */
141
+ getProfile(args: GetProfileCommandInput, options?: __HttpHandlerOptions): Promise<GetProfileCommandOutput>;
142
+ getProfile(args: GetProfileCommandInput, cb: (err: any, data?: GetProfileCommandOutput) => void): void;
143
+ getProfile(args: GetProfileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetProfileCommandOutput) => void): void;
144
+ /**
145
+ * @see {@link GetProfileVersionCommand}
146
+ */
147
+ getProfileVersion(args: GetProfileVersionCommandInput, options?: __HttpHandlerOptions): Promise<GetProfileVersionCommandOutput>;
148
+ getProfileVersion(args: GetProfileVersionCommandInput, cb: (err: any, data?: GetProfileVersionCommandOutput) => void): void;
149
+ getProfileVersion(args: GetProfileVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetProfileVersionCommandOutput) => void): void;
150
+ /**
151
+ * @see {@link ListAssetsCommand}
152
+ */
153
+ listAssets(): Promise<ListAssetsCommandOutput>;
154
+ listAssets(args: ListAssetsCommandInput, options?: __HttpHandlerOptions): Promise<ListAssetsCommandOutput>;
155
+ listAssets(args: ListAssetsCommandInput, cb: (err: any, data?: ListAssetsCommandOutput) => void): void;
156
+ listAssets(args: ListAssetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAssetsCommandOutput) => void): void;
157
+ /**
158
+ * @see {@link ListAutomationsCommand}
159
+ */
160
+ listAutomations(): Promise<ListAutomationsCommandOutput>;
161
+ listAutomations(args: ListAutomationsCommandInput, options?: __HttpHandlerOptions): Promise<ListAutomationsCommandOutput>;
162
+ listAutomations(args: ListAutomationsCommandInput, cb: (err: any, data?: ListAutomationsCommandOutput) => void): void;
163
+ listAutomations(args: ListAutomationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAutomationsCommandOutput) => void): void;
164
+ /**
165
+ * @see {@link ListEvaluationsCommand}
166
+ */
167
+ listEvaluations(): Promise<ListEvaluationsCommandOutput>;
168
+ listEvaluations(args: ListEvaluationsCommandInput, options?: __HttpHandlerOptions): Promise<ListEvaluationsCommandOutput>;
169
+ listEvaluations(args: ListEvaluationsCommandInput, cb: (err: any, data?: ListEvaluationsCommandOutput) => void): void;
170
+ listEvaluations(args: ListEvaluationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListEvaluationsCommandOutput) => void): void;
171
+ /**
172
+ * @see {@link ListIntentsCommand}
173
+ */
174
+ listIntents(): Promise<ListIntentsCommandOutput>;
175
+ listIntents(args: ListIntentsCommandInput, options?: __HttpHandlerOptions): Promise<ListIntentsCommandOutput>;
176
+ listIntents(args: ListIntentsCommandInput, cb: (err: any, data?: ListIntentsCommandOutput) => void): void;
177
+ listIntents(args: ListIntentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListIntentsCommandOutput) => void): void;
178
+ /**
179
+ * @see {@link ListProfilesCommand}
180
+ */
181
+ listProfiles(): Promise<ListProfilesCommandOutput>;
182
+ listProfiles(args: ListProfilesCommandInput, options?: __HttpHandlerOptions): Promise<ListProfilesCommandOutput>;
183
+ listProfiles(args: ListProfilesCommandInput, cb: (err: any, data?: ListProfilesCommandOutput) => void): void;
184
+ listProfiles(args: ListProfilesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListProfilesCommandOutput) => void): void;
185
+ /**
186
+ * @see {@link ListProfileVersionsCommand}
187
+ */
188
+ listProfileVersions(args: ListProfileVersionsCommandInput, options?: __HttpHandlerOptions): Promise<ListProfileVersionsCommandOutput>;
189
+ listProfileVersions(args: ListProfileVersionsCommandInput, cb: (err: any, data?: ListProfileVersionsCommandOutput) => void): void;
190
+ listProfileVersions(args: ListProfileVersionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListProfileVersionsCommandOutput) => void): void;
191
+ /**
192
+ * @see {@link PublishProfileVersionCommand}
193
+ */
194
+ publishProfileVersion(args: PublishProfileVersionCommandInput, options?: __HttpHandlerOptions): Promise<PublishProfileVersionCommandOutput>;
195
+ publishProfileVersion(args: PublishProfileVersionCommandInput, cb: (err: any, data?: PublishProfileVersionCommandOutput) => void): void;
196
+ publishProfileVersion(args: PublishProfileVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PublishProfileVersionCommandOutput) => void): void;
197
+ /**
198
+ * @see {@link RestoreProfileVersionToDraftCommand}
199
+ */
200
+ restoreProfileVersionToDraft(args: RestoreProfileVersionToDraftCommandInput, options?: __HttpHandlerOptions): Promise<RestoreProfileVersionToDraftCommandOutput>;
201
+ restoreProfileVersionToDraft(args: RestoreProfileVersionToDraftCommandInput, cb: (err: any, data?: RestoreProfileVersionToDraftCommandOutput) => void): void;
202
+ restoreProfileVersionToDraft(args: RestoreProfileVersionToDraftCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RestoreProfileVersionToDraftCommandOutput) => void): void;
203
+ /**
204
+ * @see {@link UpdateAssetCommand}
205
+ */
206
+ updateAsset(args: UpdateAssetCommandInput, options?: __HttpHandlerOptions): Promise<UpdateAssetCommandOutput>;
207
+ updateAsset(args: UpdateAssetCommandInput, cb: (err: any, data?: UpdateAssetCommandOutput) => void): void;
208
+ updateAsset(args: UpdateAssetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateAssetCommandOutput) => void): void;
209
+ /**
210
+ * @see {@link UpdateAutomationCommand}
211
+ */
212
+ updateAutomation(args: UpdateAutomationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateAutomationCommandOutput>;
213
+ updateAutomation(args: UpdateAutomationCommandInput, cb: (err: any, data?: UpdateAutomationCommandOutput) => void): void;
214
+ updateAutomation(args: UpdateAutomationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateAutomationCommandOutput) => void): void;
215
+ /**
216
+ * @see {@link UpdateEvaluationCommand}
217
+ */
218
+ updateEvaluation(args: UpdateEvaluationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateEvaluationCommandOutput>;
219
+ updateEvaluation(args: UpdateEvaluationCommandInput, cb: (err: any, data?: UpdateEvaluationCommandOutput) => void): void;
220
+ updateEvaluation(args: UpdateEvaluationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateEvaluationCommandOutput) => void): void;
221
+ /**
222
+ * @see {@link UpdateIntentCommand}
223
+ */
224
+ updateIntent(args: UpdateIntentCommandInput, options?: __HttpHandlerOptions): Promise<UpdateIntentCommandOutput>;
225
+ updateIntent(args: UpdateIntentCommandInput, cb: (err: any, data?: UpdateIntentCommandOutput) => void): void;
226
+ updateIntent(args: UpdateIntentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateIntentCommandOutput) => void): void;
227
+ /**
228
+ * @see {@link UpdateProfileCommand}
229
+ */
230
+ updateProfile(args: UpdateProfileCommandInput, options?: __HttpHandlerOptions): Promise<UpdateProfileCommandOutput>;
231
+ updateProfile(args: UpdateProfileCommandInput, cb: (err: any, data?: UpdateProfileCommandOutput) => void): void;
232
+ updateProfile(args: UpdateProfileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateProfileCommandOutput) => void): void;
233
+ }
234
+ /**
235
+ * Configuration for Wilma Copilot, the real-time agent-assist system. During a live call or
236
+ * chat it understands the conversation (intents), tracks state (evaluations), decides what to do
237
+ * (conditions) and helps the agent (assets and automations).
238
+ *
239
+ * The deployable unit is a Profile: which intents, evaluations, automations and assets apply, the
240
+ * built-in features, and the conditions under which the profile matches a conversation. Intents,
241
+ * evaluations, automations and assets are reusable library resources a profile references by id;
242
+ * they carry a revision for optimistic locking. Profiles follow a draft -> publish lifecycle:
243
+ * UpdateProfile edits the draft, PublishProfileVersion snapshots it into an immutable version with
244
+ * every referenced resource resolved inline, so the runtime applies a self-contained, reproducible
245
+ * configuration regardless of later library edits. RestoreProfileVersionToDraft and
246
+ * CompareProfileVersions support rollback and review.
247
+ *
248
+ * Multiple profiles can match one conversation; all matching profiles are applied independently
249
+ * with no priority. The companion wilma-copilot-sessions service runs published profiles against
250
+ * live conversations and streams what copilot detects and shows.
251
+ * @public
252
+ */
253
+ export declare class WilmaCopilot extends WilmaCopilotClient implements WilmaCopilot {
254
+ }
@@ -0,0 +1,209 @@
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 { AttachProfileResourceCommandInput, AttachProfileResourceCommandOutput } from "./commands/AttachProfileResourceCommand";
9
+ import type { CompareProfileVersionsCommandInput, CompareProfileVersionsCommandOutput } from "./commands/CompareProfileVersionsCommand";
10
+ import type { CreateAssetCommandInput, CreateAssetCommandOutput } from "./commands/CreateAssetCommand";
11
+ import type { CreateAutomationCommandInput, CreateAutomationCommandOutput } from "./commands/CreateAutomationCommand";
12
+ import type { CreateEvaluationCommandInput, CreateEvaluationCommandOutput } from "./commands/CreateEvaluationCommand";
13
+ import type { CreateIntentCommandInput, CreateIntentCommandOutput } from "./commands/CreateIntentCommand";
14
+ import type { CreateProfileCommandInput, CreateProfileCommandOutput } from "./commands/CreateProfileCommand";
15
+ import type { DeleteAssetCommandInput, DeleteAssetCommandOutput } from "./commands/DeleteAssetCommand";
16
+ import type { DeleteAutomationCommandInput, DeleteAutomationCommandOutput } from "./commands/DeleteAutomationCommand";
17
+ import type { DeleteEvaluationCommandInput, DeleteEvaluationCommandOutput } from "./commands/DeleteEvaluationCommand";
18
+ import type { DeleteIntentCommandInput, DeleteIntentCommandOutput } from "./commands/DeleteIntentCommand";
19
+ import type { DeleteProfileCommandInput, DeleteProfileCommandOutput } from "./commands/DeleteProfileCommand";
20
+ import type { DeleteProfileResourceCommandInput, DeleteProfileResourceCommandOutput } from "./commands/DeleteProfileResourceCommand";
21
+ import type { GetAssetCommandInput, GetAssetCommandOutput } from "./commands/GetAssetCommand";
22
+ import type { GetAutomationCommandInput, GetAutomationCommandOutput } from "./commands/GetAutomationCommand";
23
+ import type { GetEvaluationCommandInput, GetEvaluationCommandOutput } from "./commands/GetEvaluationCommand";
24
+ import type { GetIntentCommandInput, GetIntentCommandOutput } from "./commands/GetIntentCommand";
25
+ import type { GetProfileCommandInput, GetProfileCommandOutput } from "./commands/GetProfileCommand";
26
+ import type { GetProfileVersionCommandInput, GetProfileVersionCommandOutput } from "./commands/GetProfileVersionCommand";
27
+ import type { ListAssetsCommandInput, ListAssetsCommandOutput } from "./commands/ListAssetsCommand";
28
+ import type { ListAutomationsCommandInput, ListAutomationsCommandOutput } from "./commands/ListAutomationsCommand";
29
+ import type { ListEvaluationsCommandInput, ListEvaluationsCommandOutput } from "./commands/ListEvaluationsCommand";
30
+ import type { ListIntentsCommandInput, ListIntentsCommandOutput } from "./commands/ListIntentsCommand";
31
+ import type { ListProfilesCommandInput, ListProfilesCommandOutput } from "./commands/ListProfilesCommand";
32
+ import type { ListProfileVersionsCommandInput, ListProfileVersionsCommandOutput } from "./commands/ListProfileVersionsCommand";
33
+ import type { PublishProfileVersionCommandInput, PublishProfileVersionCommandOutput } from "./commands/PublishProfileVersionCommand";
34
+ import type { RestoreProfileVersionToDraftCommandInput, RestoreProfileVersionToDraftCommandOutput } from "./commands/RestoreProfileVersionToDraftCommand";
35
+ import type { UpdateAssetCommandInput, UpdateAssetCommandOutput } from "./commands/UpdateAssetCommand";
36
+ import type { UpdateAutomationCommandInput, UpdateAutomationCommandOutput } from "./commands/UpdateAutomationCommand";
37
+ import type { UpdateEvaluationCommandInput, UpdateEvaluationCommandOutput } from "./commands/UpdateEvaluationCommand";
38
+ import type { UpdateIntentCommandInput, UpdateIntentCommandOutput } from "./commands/UpdateIntentCommand";
39
+ import type { UpdateProfileCommandInput, UpdateProfileCommandOutput } from "./commands/UpdateProfileCommand";
40
+ import { type ClientInputEndpointParameters, type ClientResolvedEndpointParameters, type EndpointParameters } from "./endpoint/EndpointParameters";
41
+ import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
42
+ export { __Client };
43
+ /**
44
+ * @public
45
+ */
46
+ export type ServiceInputTypes = AttachProfileResourceCommandInput | CompareProfileVersionsCommandInput | CreateAssetCommandInput | CreateAutomationCommandInput | CreateEvaluationCommandInput | CreateIntentCommandInput | CreateProfileCommandInput | DeleteAssetCommandInput | DeleteAutomationCommandInput | DeleteEvaluationCommandInput | DeleteIntentCommandInput | DeleteProfileCommandInput | DeleteProfileResourceCommandInput | GetAssetCommandInput | GetAutomationCommandInput | GetEvaluationCommandInput | GetIntentCommandInput | GetProfileCommandInput | GetProfileVersionCommandInput | ListAssetsCommandInput | ListAutomationsCommandInput | ListEvaluationsCommandInput | ListIntentsCommandInput | ListProfileVersionsCommandInput | ListProfilesCommandInput | PublishProfileVersionCommandInput | RestoreProfileVersionToDraftCommandInput | UpdateAssetCommandInput | UpdateAutomationCommandInput | UpdateEvaluationCommandInput | UpdateIntentCommandInput | UpdateProfileCommandInput;
47
+ /**
48
+ * @public
49
+ */
50
+ export type ServiceOutputTypes = AttachProfileResourceCommandOutput | CompareProfileVersionsCommandOutput | CreateAssetCommandOutput | CreateAutomationCommandOutput | CreateEvaluationCommandOutput | CreateIntentCommandOutput | CreateProfileCommandOutput | DeleteAssetCommandOutput | DeleteAutomationCommandOutput | DeleteEvaluationCommandOutput | DeleteIntentCommandOutput | DeleteProfileCommandOutput | DeleteProfileResourceCommandOutput | GetAssetCommandOutput | GetAutomationCommandOutput | GetEvaluationCommandOutput | GetIntentCommandOutput | GetProfileCommandOutput | GetProfileVersionCommandOutput | ListAssetsCommandOutput | ListAutomationsCommandOutput | ListEvaluationsCommandOutput | ListIntentsCommandOutput | ListProfileVersionsCommandOutput | ListProfilesCommandOutput | PublishProfileVersionCommandOutput | RestoreProfileVersionToDraftCommandOutput | UpdateAssetCommandOutput | UpdateAutomationCommandOutput | UpdateEvaluationCommandOutput | UpdateIntentCommandOutput | UpdateProfileCommandOutput;
51
+ /**
52
+ * @public
53
+ */
54
+ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
55
+ /**
56
+ * The HTTP handler to use or its constructor options. Fetch in browser and Https in Nodejs.
57
+ */
58
+ requestHandler?: __HttpHandlerUserInput;
59
+ /**
60
+ * A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface
61
+ * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
62
+ * @internal
63
+ */
64
+ sha256?: __ChecksumConstructor | __HashConstructor;
65
+ /**
66
+ * The function that will be used to convert strings into HTTP endpoints.
67
+ * @internal
68
+ */
69
+ urlParser?: __UrlParser;
70
+ /**
71
+ * A function that can calculate the length of a request body.
72
+ * @internal
73
+ */
74
+ bodyLengthChecker?: __BodyLengthCalculator;
75
+ /**
76
+ * A function that converts a stream into an array of bytes.
77
+ * @internal
78
+ */
79
+ streamCollector?: __StreamCollector;
80
+ /**
81
+ * The function that will be used to convert a base64-encoded string to a byte array.
82
+ * @internal
83
+ */
84
+ base64Decoder?: __Decoder;
85
+ /**
86
+ * The function that will be used to convert binary data to a base64-encoded string.
87
+ * @internal
88
+ */
89
+ base64Encoder?: __Encoder;
90
+ /**
91
+ * The function that will be used to convert a UTF8-encoded string to a byte array.
92
+ * @internal
93
+ */
94
+ utf8Decoder?: __Decoder;
95
+ /**
96
+ * The function that will be used to convert binary data to a UTF-8 encoded string.
97
+ * @internal
98
+ */
99
+ utf8Encoder?: __Encoder;
100
+ /**
101
+ * The runtime environment.
102
+ * @internal
103
+ */
104
+ runtime?: string;
105
+ /**
106
+ * Disable dynamically changing the endpoint of the client based on the hostPrefix
107
+ * trait of an operation.
108
+ */
109
+ disableHostPrefix?: boolean;
110
+ /**
111
+ * Setting a client profile is similar to setting a value for the
112
+ * AWS_PROFILE environment variable. Setting a profile on a client
113
+ * in code only affects the single client instance, unlike AWS_PROFILE.
114
+ *
115
+ * When set, and only for environments where an AWS configuration
116
+ * file exists, fields configurable by this file will be retrieved
117
+ * from the specified profile within that file.
118
+ * Conflicting code configuration and environment variables will
119
+ * still have higher priority.
120
+ *
121
+ * For client credential resolution that involves checking the AWS
122
+ * configuration file, the client's profile (this value) will be
123
+ * used unless a different profile is set in the credential
124
+ * provider options.
125
+ *
126
+ */
127
+ profile?: string;
128
+ /**
129
+ * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
130
+ * @internal
131
+ */
132
+ defaultUserAgentProvider?: __Provider<__UserAgent>;
133
+ /**
134
+ * Value for how many times a request will be made at most in case of retry.
135
+ */
136
+ maxAttempts?: number | __Provider<number>;
137
+ /**
138
+ * Specifies which retry algorithm to use.
139
+ * @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-util-retry/Enum/RETRY_MODES/
140
+ *
141
+ */
142
+ retryMode?: string | __Provider<string>;
143
+ /**
144
+ * Optional logger for logging debug/info/warn/error.
145
+ */
146
+ logger?: __Logger;
147
+ /**
148
+ * Optional extensions
149
+ */
150
+ extensions?: RuntimeExtension[];
151
+ /**
152
+ * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
153
+ */
154
+ defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
155
+ }
156
+ /**
157
+ * @public
158
+ */
159
+ export type WilmaCopilotClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig & HostHeaderInputConfig & EndpointInputConfig<EndpointParameters> & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
160
+ /**
161
+ * @public
162
+ *
163
+ * The configuration interface of WilmaCopilotClient class constructor that set the region, credentials and other options.
164
+ */
165
+ export interface WilmaCopilotClientConfig extends WilmaCopilotClientConfigType {
166
+ }
167
+ /**
168
+ * @public
169
+ */
170
+ export type WilmaCopilotClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig<EndpointParameters> & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
171
+ /**
172
+ * @public
173
+ *
174
+ * The resolved configuration interface of WilmaCopilotClient class. This is resolved and normalized from the {@link WilmaCopilotClientConfig | constructor configuration interface}.
175
+ */
176
+ export interface WilmaCopilotClientResolvedConfig extends WilmaCopilotClientResolvedConfigType {
177
+ }
178
+ /**
179
+ * Configuration for Wilma Copilot, the real-time agent-assist system. During a live call or
180
+ * chat it understands the conversation (intents), tracks state (evaluations), decides what to do
181
+ * (conditions) and helps the agent (assets and automations).
182
+ *
183
+ * The deployable unit is a Profile: which intents, evaluations, automations and assets apply, the
184
+ * built-in features, and the conditions under which the profile matches a conversation. Intents,
185
+ * evaluations, automations and assets are reusable library resources a profile references by id;
186
+ * they carry a revision for optimistic locking. Profiles follow a draft -> publish lifecycle:
187
+ * UpdateProfile edits the draft, PublishProfileVersion snapshots it into an immutable version with
188
+ * every referenced resource resolved inline, so the runtime applies a self-contained, reproducible
189
+ * configuration regardless of later library edits. RestoreProfileVersionToDraft and
190
+ * CompareProfileVersions support rollback and review.
191
+ *
192
+ * Multiple profiles can match one conversation; all matching profiles are applied independently
193
+ * with no priority. The companion wilma-copilot-sessions service runs published profiles against
194
+ * live conversations and streams what copilot detects and shows.
195
+ * @public
196
+ */
197
+ export declare class WilmaCopilotClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, WilmaCopilotClientResolvedConfig> {
198
+ /**
199
+ * The resolved configuration of WilmaCopilotClient class. This is resolved and normalized from the {@link WilmaCopilotClientConfig | constructor configuration interface}.
200
+ */
201
+ readonly config: WilmaCopilotClientResolvedConfig;
202
+ constructor(...[configuration]: __CheckOptionalClientConfig<WilmaCopilotClientConfig>);
203
+ /**
204
+ * Destroy underlying resources, like sockets. It's usually not necessary to do this.
205
+ * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
206
+ * Otherwise, sockets might stay open for quite a long time before the server terminates them.
207
+ */
208
+ destroy(): void;
209
+ }
@@ -0,0 +1,29 @@
1
+ import { type HttpAuthScheme, TokenIdentity, TokenIdentityProvider } from "@smithy/types";
2
+ import type { WilmaCopilotHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
3
+ /**
4
+ * @internal
5
+ */
6
+ export interface HttpAuthExtensionConfiguration {
7
+ setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
8
+ httpAuthSchemes(): HttpAuthScheme[];
9
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider: WilmaCopilotHttpAuthSchemeProvider): void;
10
+ httpAuthSchemeProvider(): WilmaCopilotHttpAuthSchemeProvider;
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: WilmaCopilotHttpAuthSchemeProvider;
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 { WilmaCopilotClientResolvedConfig } from "../WilmaCopilotClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export interface WilmaCopilotHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
7
+ }
8
+ /**
9
+ * @internal
10
+ */
11
+ export interface WilmaCopilotHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<WilmaCopilotClientResolvedConfig, HandlerExecutionContext, WilmaCopilotHttpAuthSchemeParameters, object> {
12
+ }
13
+ /**
14
+ * @internal
15
+ */
16
+ export declare const defaultWilmaCopilotHttpAuthSchemeParametersProvider: (config: WilmaCopilotClientResolvedConfig, context: HandlerExecutionContext, input: object) => Promise<WilmaCopilotHttpAuthSchemeParameters>;
17
+ /**
18
+ * @internal
19
+ */
20
+ export interface WilmaCopilotHttpAuthSchemeProvider extends HttpAuthSchemeProvider<WilmaCopilotHttpAuthSchemeParameters> {
21
+ }
22
+ /**
23
+ * @internal
24
+ */
25
+ export declare const defaultWilmaCopilotHttpAuthSchemeProvider: WilmaCopilotHttpAuthSchemeProvider;
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?: WilmaCopilotHttpAuthSchemeProvider;
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: WilmaCopilotHttpAuthSchemeProvider;
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;