@wildix/wda-insights-client 1.1.45 → 3.1.46

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 (231) hide show
  1. package/dist-cjs/WdaInsights.js +3 -3
  2. package/dist-cjs/WdaInsightsClient.js +34 -26
  3. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  4. package/dist-cjs/auth/httpAuthSchemeProvider.js +58 -0
  5. package/dist-cjs/commands/CreateDashboardCommand.js +10 -11
  6. package/dist-cjs/commands/CreateFilterCommand.js +10 -11
  7. package/dist-cjs/commands/CreatePlaylistCommand.js +10 -11
  8. package/dist-cjs/commands/CreateProjectionCommand.js +10 -11
  9. package/dist-cjs/commands/CreateProjectionsCategoryCommand.js +10 -11
  10. package/dist-cjs/commands/DeleteDashboardCommand.js +10 -11
  11. package/dist-cjs/commands/DeleteFilterCommand.js +10 -11
  12. package/dist-cjs/commands/DeletePlaylistCommand.js +10 -11
  13. package/dist-cjs/commands/DeletePlaylistItemCommand.js +10 -11
  14. package/dist-cjs/commands/DeleteProjectionCommand.js +10 -11
  15. package/dist-cjs/commands/DeleteProjectionsCategoryCommand.js +10 -11
  16. package/dist-cjs/commands/DisableProjectionCommand.js +10 -11
  17. package/dist-cjs/commands/EnableProjectionCommand.js +10 -11
  18. package/dist-cjs/commands/GetAnalysisSettingsCommand.js +10 -11
  19. package/dist-cjs/commands/GetCallCharacteristicsCommand.js +10 -11
  20. package/dist-cjs/commands/GetCallInsightsCommand.js +10 -11
  21. package/dist-cjs/commands/GetCallStateCommand.js +10 -11
  22. package/dist-cjs/commands/GetCallSummaryCommand.js +10 -11
  23. package/dist-cjs/commands/GetChatInsightsCommand.js +10 -11
  24. package/dist-cjs/commands/GetChatStateCommand.js +10 -11
  25. package/dist-cjs/commands/GetChatSummaryCommand.js +10 -11
  26. package/dist-cjs/commands/GetConferenceInsightsCommand.js +10 -11
  27. package/dist-cjs/commands/GetConferenceRecordingPresignedDownloadUrlCommand.js +10 -11
  28. package/dist-cjs/commands/GetConferenceStateCommand.js +10 -11
  29. package/dist-cjs/commands/GetConferenceSummaryCommand.js +10 -11
  30. package/dist-cjs/commands/GetConferenceTimeFramesCommand.js +10 -11
  31. package/dist-cjs/commands/GetDashboardCommand.js +10 -11
  32. package/dist-cjs/commands/GetPlaylistCommand.js +10 -11
  33. package/dist-cjs/commands/GetProjectionCommand.js +10 -11
  34. package/dist-cjs/commands/ListConversationsAggregationsCommand.js +10 -11
  35. package/dist-cjs/commands/ListConversationsCommand.js +10 -11
  36. package/dist-cjs/commands/ListConversationsInsightsAggregationsCommand.js +10 -11
  37. package/dist-cjs/commands/ListConversationsInsightsCommand.js +10 -11
  38. package/dist-cjs/commands/ListConversationsNestedAggregationsCommand.js +10 -11
  39. package/dist-cjs/commands/ListDashboardsCommand.js +10 -11
  40. package/dist-cjs/commands/ListFiltersCommand.js +10 -11
  41. package/dist-cjs/commands/ListPinnedDashboardsCommand.js +10 -11
  42. package/dist-cjs/commands/ListPlaylistItemsCommand.js +10 -11
  43. package/dist-cjs/commands/ListPlaylistsCommand.js +10 -11
  44. package/dist-cjs/commands/ListProjectionsCommand.js +10 -11
  45. package/dist-cjs/commands/ListWatchHistoryCommand.js +10 -11
  46. package/dist-cjs/commands/PauseProjectionCommand.js +10 -11
  47. package/dist-cjs/commands/PutAnalysisSettingsCommand.js +10 -11
  48. package/dist-cjs/commands/PutPlaylistItemCommand.js +10 -11
  49. package/dist-cjs/commands/QueryConversationsCountCommand.js +10 -11
  50. package/dist-cjs/commands/ScheduleCallSummaryGenerationCommand.js +10 -11
  51. package/dist-cjs/commands/ScheduleConferenceSummaryGenerationCommand.js +10 -11
  52. package/dist-cjs/commands/UpdateDashboardAccessCommand.js +10 -11
  53. package/dist-cjs/commands/UpdateDashboardCommand.js +10 -11
  54. package/dist-cjs/commands/UpdateFilterCommand.js +10 -11
  55. package/dist-cjs/commands/UpdatePinnedDashboardsCommand.js +10 -11
  56. package/dist-cjs/commands/UpdatePlaylistAccessCommand.js +10 -11
  57. package/dist-cjs/commands/UpdatePlaylistCommand.js +10 -11
  58. package/dist-cjs/commands/UpdateProjectionCommand.js +10 -11
  59. package/dist-cjs/commands/UpdateProjectionsCategoryCommand.js +10 -11
  60. package/dist-cjs/commands/WatchCommand.js +10 -11
  61. package/dist-cjs/commands/index.js +4 -4
  62. package/dist-cjs/endpoint/EndpointParameters.js +16 -0
  63. package/dist-cjs/endpoint/bdd.js +28 -0
  64. package/dist-cjs/endpoint/endpointResolver.js +16 -0
  65. package/dist-cjs/index.js +4 -1
  66. package/dist-cjs/models/WdaInsightsServiceException.js +3 -3
  67. package/dist-cjs/models/enums.js +225 -0
  68. package/dist-cjs/models/errors.js +69 -0
  69. package/dist-cjs/models/models_0.js +0 -471
  70. package/dist-cjs/runtimeConfig.browser.js +11 -11
  71. package/dist-cjs/runtimeConfig.js +22 -18
  72. package/dist-cjs/runtimeConfig.shared.js +30 -10
  73. package/dist-cjs/runtimeExtensions.js +6 -5
  74. package/dist-cjs/schemas/schemas_0.js +2178 -0
  75. package/dist-es/WdaInsights.js +3 -3
  76. package/dist-es/WdaInsightsClient.js +30 -22
  77. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  78. package/dist-es/auth/httpAuthSchemeProvider.js +52 -0
  79. package/dist-es/commands/CreateDashboardCommand.js +9 -10
  80. package/dist-es/commands/CreateFilterCommand.js +9 -10
  81. package/dist-es/commands/CreatePlaylistCommand.js +9 -10
  82. package/dist-es/commands/CreateProjectionCommand.js +9 -10
  83. package/dist-es/commands/CreateProjectionsCategoryCommand.js +9 -10
  84. package/dist-es/commands/DeleteDashboardCommand.js +9 -10
  85. package/dist-es/commands/DeleteFilterCommand.js +9 -10
  86. package/dist-es/commands/DeletePlaylistCommand.js +9 -10
  87. package/dist-es/commands/DeletePlaylistItemCommand.js +9 -10
  88. package/dist-es/commands/DeleteProjectionCommand.js +9 -10
  89. package/dist-es/commands/DeleteProjectionsCategoryCommand.js +9 -10
  90. package/dist-es/commands/DisableProjectionCommand.js +9 -10
  91. package/dist-es/commands/EnableProjectionCommand.js +9 -10
  92. package/dist-es/commands/GetAnalysisSettingsCommand.js +9 -10
  93. package/dist-es/commands/GetCallCharacteristicsCommand.js +9 -10
  94. package/dist-es/commands/GetCallInsightsCommand.js +9 -10
  95. package/dist-es/commands/GetCallStateCommand.js +9 -10
  96. package/dist-es/commands/GetCallSummaryCommand.js +9 -10
  97. package/dist-es/commands/GetChatInsightsCommand.js +9 -10
  98. package/dist-es/commands/GetChatStateCommand.js +9 -10
  99. package/dist-es/commands/GetChatSummaryCommand.js +9 -10
  100. package/dist-es/commands/GetConferenceInsightsCommand.js +9 -10
  101. package/dist-es/commands/GetConferenceRecordingPresignedDownloadUrlCommand.js +9 -10
  102. package/dist-es/commands/GetConferenceStateCommand.js +9 -10
  103. package/dist-es/commands/GetConferenceSummaryCommand.js +9 -10
  104. package/dist-es/commands/GetConferenceTimeFramesCommand.js +9 -10
  105. package/dist-es/commands/GetDashboardCommand.js +9 -10
  106. package/dist-es/commands/GetPlaylistCommand.js +9 -10
  107. package/dist-es/commands/GetProjectionCommand.js +9 -10
  108. package/dist-es/commands/ListConversationsAggregationsCommand.js +9 -10
  109. package/dist-es/commands/ListConversationsCommand.js +9 -10
  110. package/dist-es/commands/ListConversationsInsightsAggregationsCommand.js +9 -10
  111. package/dist-es/commands/ListConversationsInsightsCommand.js +9 -10
  112. package/dist-es/commands/ListConversationsNestedAggregationsCommand.js +9 -10
  113. package/dist-es/commands/ListDashboardsCommand.js +9 -10
  114. package/dist-es/commands/ListFiltersCommand.js +9 -10
  115. package/dist-es/commands/ListPinnedDashboardsCommand.js +9 -10
  116. package/dist-es/commands/ListPlaylistItemsCommand.js +9 -10
  117. package/dist-es/commands/ListPlaylistsCommand.js +9 -10
  118. package/dist-es/commands/ListProjectionsCommand.js +9 -10
  119. package/dist-es/commands/ListWatchHistoryCommand.js +9 -10
  120. package/dist-es/commands/PauseProjectionCommand.js +9 -10
  121. package/dist-es/commands/PutAnalysisSettingsCommand.js +9 -10
  122. package/dist-es/commands/PutPlaylistItemCommand.js +9 -10
  123. package/dist-es/commands/QueryConversationsCountCommand.js +9 -10
  124. package/dist-es/commands/ScheduleCallSummaryGenerationCommand.js +9 -10
  125. package/dist-es/commands/ScheduleConferenceSummaryGenerationCommand.js +9 -10
  126. package/dist-es/commands/UpdateDashboardAccessCommand.js +9 -10
  127. package/dist-es/commands/UpdateDashboardCommand.js +9 -10
  128. package/dist-es/commands/UpdateFilterCommand.js +9 -10
  129. package/dist-es/commands/UpdatePinnedDashboardsCommand.js +9 -10
  130. package/dist-es/commands/UpdatePlaylistAccessCommand.js +9 -10
  131. package/dist-es/commands/UpdatePlaylistCommand.js +9 -10
  132. package/dist-es/commands/UpdateProjectionCommand.js +9 -10
  133. package/dist-es/commands/UpdateProjectionsCategoryCommand.js +9 -10
  134. package/dist-es/commands/WatchCommand.js +9 -10
  135. package/dist-es/commands/index.js +4 -4
  136. package/dist-es/endpoint/EndpointParameters.js +12 -0
  137. package/dist-es/endpoint/bdd.js +25 -0
  138. package/dist-es/endpoint/endpointResolver.js +12 -0
  139. package/dist-es/index.js +4 -1
  140. package/dist-es/models/WdaInsightsServiceException.js +1 -1
  141. package/dist-es/models/enums.js +222 -0
  142. package/dist-es/models/errors.js +61 -0
  143. package/dist-es/models/models_0.js +1 -464
  144. package/dist-es/runtimeConfig.browser.js +7 -7
  145. package/dist-es/runtimeConfig.js +17 -13
  146. package/dist-es/runtimeConfig.shared.js +24 -4
  147. package/dist-es/runtimeExtensions.js +6 -5
  148. package/dist-es/schemas/schemas_0.js +2170 -0
  149. package/dist-types/WdaInsights.d.ts +57 -57
  150. package/dist-types/WdaInsightsClient.d.ts +86 -68
  151. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  152. package/dist-types/auth/httpAuthSchemeProvider.d.ts +81 -0
  153. package/dist-types/commands/CreateDashboardCommand.d.ts +11 -7
  154. package/dist-types/commands/CreateFilterCommand.d.ts +11 -7
  155. package/dist-types/commands/CreatePlaylistCommand.d.ts +11 -7
  156. package/dist-types/commands/CreateProjectionCommand.d.ts +11 -7
  157. package/dist-types/commands/CreateProjectionsCategoryCommand.d.ts +12 -8
  158. package/dist-types/commands/DeleteDashboardCommand.d.ts +11 -7
  159. package/dist-types/commands/DeleteFilterCommand.d.ts +11 -7
  160. package/dist-types/commands/DeletePlaylistCommand.d.ts +11 -7
  161. package/dist-types/commands/DeletePlaylistItemCommand.d.ts +11 -7
  162. package/dist-types/commands/DeleteProjectionCommand.d.ts +11 -7
  163. package/dist-types/commands/DeleteProjectionsCategoryCommand.d.ts +12 -8
  164. package/dist-types/commands/DisableProjectionCommand.d.ts +11 -7
  165. package/dist-types/commands/EnableProjectionCommand.d.ts +11 -7
  166. package/dist-types/commands/GetAnalysisSettingsCommand.d.ts +11 -7
  167. package/dist-types/commands/GetCallCharacteristicsCommand.d.ts +11 -7
  168. package/dist-types/commands/GetCallInsightsCommand.d.ts +11 -7
  169. package/dist-types/commands/GetCallStateCommand.d.ts +11 -7
  170. package/dist-types/commands/GetCallSummaryCommand.d.ts +11 -7
  171. package/dist-types/commands/GetChatInsightsCommand.d.ts +11 -7
  172. package/dist-types/commands/GetChatStateCommand.d.ts +11 -7
  173. package/dist-types/commands/GetChatSummaryCommand.d.ts +11 -7
  174. package/dist-types/commands/GetConferenceInsightsCommand.d.ts +11 -7
  175. package/dist-types/commands/GetConferenceRecordingPresignedDownloadUrlCommand.d.ts +11 -7
  176. package/dist-types/commands/GetConferenceStateCommand.d.ts +11 -7
  177. package/dist-types/commands/GetConferenceSummaryCommand.d.ts +11 -7
  178. package/dist-types/commands/GetConferenceTimeFramesCommand.d.ts +11 -7
  179. package/dist-types/commands/GetDashboardCommand.d.ts +11 -7
  180. package/dist-types/commands/GetPlaylistCommand.d.ts +11 -7
  181. package/dist-types/commands/GetProjectionCommand.d.ts +11 -7
  182. package/dist-types/commands/ListConversationsAggregationsCommand.d.ts +11 -7
  183. package/dist-types/commands/ListConversationsCommand.d.ts +13 -9
  184. package/dist-types/commands/ListConversationsInsightsAggregationsCommand.d.ts +12 -8
  185. package/dist-types/commands/ListConversationsInsightsCommand.d.ts +12 -8
  186. package/dist-types/commands/ListConversationsNestedAggregationsCommand.d.ts +11 -7
  187. package/dist-types/commands/ListDashboardsCommand.d.ts +11 -7
  188. package/dist-types/commands/ListFiltersCommand.d.ts +11 -7
  189. package/dist-types/commands/ListPinnedDashboardsCommand.d.ts +11 -7
  190. package/dist-types/commands/ListPlaylistItemsCommand.d.ts +13 -9
  191. package/dist-types/commands/ListPlaylistsCommand.d.ts +11 -7
  192. package/dist-types/commands/ListProjectionsCommand.d.ts +11 -7
  193. package/dist-types/commands/ListWatchHistoryCommand.d.ts +13 -9
  194. package/dist-types/commands/PauseProjectionCommand.d.ts +11 -7
  195. package/dist-types/commands/PutAnalysisSettingsCommand.d.ts +11 -7
  196. package/dist-types/commands/PutPlaylistItemCommand.d.ts +11 -7
  197. package/dist-types/commands/QueryConversationsCountCommand.d.ts +11 -7
  198. package/dist-types/commands/ScheduleCallSummaryGenerationCommand.d.ts +12 -8
  199. package/dist-types/commands/ScheduleConferenceSummaryGenerationCommand.d.ts +12 -8
  200. package/dist-types/commands/UpdateDashboardAccessCommand.d.ts +11 -7
  201. package/dist-types/commands/UpdateDashboardCommand.d.ts +11 -7
  202. package/dist-types/commands/UpdateFilterCommand.d.ts +11 -7
  203. package/dist-types/commands/UpdatePinnedDashboardsCommand.d.ts +11 -7
  204. package/dist-types/commands/UpdatePlaylistAccessCommand.d.ts +11 -7
  205. package/dist-types/commands/UpdatePlaylistCommand.d.ts +11 -7
  206. package/dist-types/commands/UpdateProjectionCommand.d.ts +11 -7
  207. package/dist-types/commands/UpdateProjectionsCategoryCommand.d.ts +12 -8
  208. package/dist-types/commands/WatchCommand.d.ts +11 -7
  209. package/dist-types/commands/index.d.ts +4 -4
  210. package/dist-types/endpoint/EndpointParameters.d.ts +41 -0
  211. package/dist-types/endpoint/bdd.d.ts +2 -0
  212. package/dist-types/endpoint/endpointResolver.d.ts +8 -0
  213. package/dist-types/extensionConfiguration.d.ts +4 -3
  214. package/dist-types/index.d.ts +5 -1
  215. package/dist-types/models/WdaInsightsServiceException.d.ts +1 -1
  216. package/dist-types/models/enums.d.ts +541 -0
  217. package/dist-types/models/errors.d.ts +57 -0
  218. package/dist-types/models/models_0.d.ts +172 -727
  219. package/dist-types/runtimeConfig.browser.d.ts +35 -16
  220. package/dist-types/runtimeConfig.d.ts +34 -15
  221. package/dist-types/runtimeConfig.native.d.ts +36 -17
  222. package/dist-types/runtimeConfig.shared.d.ts +20 -3
  223. package/dist-types/runtimeExtensions.d.ts +1 -1
  224. package/dist-types/schemas/schemas_0.d.ts +299 -0
  225. package/package.json +14 -40
  226. package/dist-cjs/models/index.js +0 -4
  227. package/dist-cjs/protocols/Aws_restJson1.js +0 -2406
  228. package/dist-es/models/index.js +0 -1
  229. package/dist-es/protocols/Aws_restJson1.js +0 -2289
  230. package/dist-types/models/index.d.ts +0 -1
  231. package/dist-types/protocols/Aws_restJson1.d.ts +0 -506
@@ -1,21 +1,41 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- const url_parser_1 = require("@smithy/url-parser");
6
- const util_base64_1 = require("@smithy/util-base64");
7
- const util_utf8_1 = require("@smithy/util-utf8");
4
+ const protocols_1 = require("@aws-sdk/core/protocols");
5
+ const core_1 = require("@smithy/core");
6
+ const client_1 = require("@smithy/core/client");
7
+ const protocols_2 = require("@smithy/core/protocols");
8
+ const serde_1 = require("@smithy/core/serde");
9
+ const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
10
+ const endpointResolver_1 = require("./endpoint/endpointResolver");
11
+ const schemas_0_1 = require("./schemas/schemas_0");
8
12
  const getRuntimeConfig = (config) => {
9
13
  return {
10
14
  apiVersion: "v2",
11
- base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64,
12
- base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,
15
+ base64Decoder: config?.base64Decoder ?? serde_1.fromBase64,
16
+ base64Encoder: config?.base64Encoder ?? serde_1.toBase64,
13
17
  disableHostPrefix: config?.disableHostPrefix ?? false,
18
+ endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,
14
19
  extensions: config?.extensions ?? [],
15
- logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
16
- urlParser: config?.urlParser ?? url_parser_1.parseUrl,
17
- utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
18
- utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8,
20
+ httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? httpAuthSchemeProvider_1.defaultWdaInsightsHttpAuthSchemeProvider,
21
+ httpAuthSchemes: config?.httpAuthSchemes ?? [
22
+ {
23
+ schemeId: "smithy.api#httpBearerAuth",
24
+ identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#httpBearerAuth"),
25
+ signer: new core_1.HttpBearerAuthSigner(),
26
+ },
27
+ ],
28
+ logger: config?.logger ?? new client_1.NoOpLogger(),
29
+ protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
30
+ protocolSettings: config?.protocolSettings ?? {
31
+ defaultNamespace: "wildix.wda.insights",
32
+ errorTypeRegistries: schemas_0_1.errorTypeRegistries,
33
+ version: "v2",
34
+ serviceTarget: "WdaInsights",
35
+ },
36
+ urlParser: config?.urlParser ?? protocols_2.parseUrl,
37
+ utf8Decoder: config?.utf8Decoder ?? serde_1.fromUtf8,
38
+ utf8Encoder: config?.utf8Encoder ?? serde_1.toUtf8,
19
39
  };
20
40
  };
21
41
  exports.getRuntimeConfig = getRuntimeConfig;
@@ -1,11 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.resolveRuntimeExtensions = void 0;
4
- const protocol_http_1 = require("@smithy/protocol-http");
5
- const smithy_client_1 = require("@smithy/smithy-client");
4
+ const client_1 = require("@smithy/core/client");
5
+ const protocols_1 = require("@smithy/core/protocols");
6
+ const httpAuthExtensionConfiguration_1 = require("./auth/httpAuthExtensionConfiguration");
6
7
  const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
7
- const extensionConfiguration = Object.assign((0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig), (0, protocol_http_1.getHttpHandlerExtensionConfiguration)(runtimeConfig));
8
- extensions.forEach(extension => extension.configure(extensionConfiguration));
9
- return Object.assign(runtimeConfig, (0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration), (0, protocol_http_1.resolveHttpHandlerRuntimeConfig)(extensionConfiguration));
8
+ const extensionConfiguration = Object.assign((0, client_1.getDefaultExtensionConfiguration)(runtimeConfig), (0, protocols_1.getHttpHandlerExtensionConfiguration)(runtimeConfig), (0, httpAuthExtensionConfiguration_1.getHttpAuthExtensionConfiguration)(runtimeConfig));
9
+ extensions.forEach((extension) => extension.configure(extensionConfiguration));
10
+ return Object.assign(runtimeConfig, (0, client_1.resolveDefaultRuntimeConfig)(extensionConfiguration), (0, protocols_1.resolveHttpHandlerRuntimeConfig)(extensionConfiguration), (0, httpAuthExtensionConfiguration_1.resolveHttpAuthRuntimeConfig)(extensionConfiguration));
10
11
  };
11
12
  exports.resolveRuntimeExtensions = resolveRuntimeExtensions;