@coveo/platform-client 37.3.0 → 37.5.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (567) hide show
  1. package/dist/APICore.js +276 -264
  2. package/dist/APICore.js.map +1 -1
  3. package/dist/ConfigurationInterfaces.js +2 -2
  4. package/dist/Endpoints.js +40 -40
  5. package/dist/Entry.js +14 -14
  6. package/dist/PlatformClient.js +44 -44
  7. package/dist/definitions/APICore.d.ts +32 -31
  8. package/dist/definitions/ConfigurationInterfaces.d.ts +14 -14
  9. package/dist/definitions/Endpoints.d.ts +13 -13
  10. package/dist/definitions/Entry.d.ts +9 -9
  11. package/dist/definitions/PlatformClient.d.ts +18 -18
  12. package/dist/definitions/handlers/ResponseHandlerInterfaces.d.ts +4 -4
  13. package/dist/definitions/handlers/ResponseHandlers.d.ts +10 -10
  14. package/dist/definitions/handlers/index.d.ts +2 -2
  15. package/dist/definitions/resources/AWS/AWS.d.ts +9 -9
  16. package/dist/definitions/resources/AWS/AWSInterfaces.d.ts +18 -18
  17. package/dist/definitions/resources/AWS/index.d.ts +2 -2
  18. package/dist/definitions/resources/Activities/Activities.d.ts +13 -13
  19. package/dist/definitions/resources/Activities/ActivitiesInterfaces.d.ts +64 -64
  20. package/dist/definitions/resources/Activities/index.d.ts +2 -2
  21. package/dist/definitions/resources/ApiKeys/ApiKeys.d.ts +12 -12
  22. package/dist/definitions/resources/ApiKeys/ApiKeysInterfaces.d.ts +133 -133
  23. package/dist/definitions/resources/ApiKeys/index.d.ts +2 -2
  24. package/dist/definitions/resources/BaseInterfaces.d.ts +51 -51
  25. package/dist/definitions/resources/CaseAssistConfigs/CaseAssistConfig.d.ts +16 -16
  26. package/dist/definitions/resources/CaseAssistConfigs/CaseAssistConfigInterfaces.d.ts +59 -59
  27. package/dist/definitions/resources/CaseAssistConfigs/CaseAssistPreviewInterfaces.d.ts +27 -27
  28. package/dist/definitions/resources/CaseAssistConfigs/index.d.ts +3 -3
  29. package/dist/definitions/resources/Catalogs/Catalog.d.ts +21 -21
  30. package/dist/definitions/resources/Catalogs/CatalogConfiguration.d.ts +11 -11
  31. package/dist/definitions/resources/Catalogs/CatalogInterfaces.d.ts +338 -338
  32. package/dist/definitions/resources/Catalogs/ProductListing.d.ts +14 -14
  33. package/dist/definitions/resources/Catalogs/ProductListingConfiguration.d.ts +11 -11
  34. package/dist/definitions/resources/Catalogs/ProductListingConfigurationInterfaces.d.ts +41 -41
  35. package/dist/definitions/resources/Catalogs/ProductListingInterfaces.d.ts +81 -81
  36. package/dist/definitions/resources/Catalogs/index.d.ts +7 -7
  37. package/dist/definitions/resources/Clusters/Agents/ClusterAgent.d.ts +9 -9
  38. package/dist/definitions/resources/Clusters/Agents/ClusterAgentInterfaces.d.ts +9 -9
  39. package/dist/definitions/resources/Clusters/Agents/index.d.ts +2 -2
  40. package/dist/definitions/resources/Clusters/Cluster.d.ts +18 -18
  41. package/dist/definitions/resources/Clusters/ClusterInterfaces.d.ts +92 -92
  42. package/dist/definitions/resources/Clusters/Nodes/ClusterNode.d.ts +12 -12
  43. package/dist/definitions/resources/Clusters/Nodes/ClusterNodeInterfaces.d.ts +20 -20
  44. package/dist/definitions/resources/Clusters/Nodes/index.d.ts +2 -2
  45. package/dist/definitions/resources/Clusters/index.d.ts +4 -4
  46. package/dist/definitions/resources/Connectivity/Connectivity.d.ts +7 -7
  47. package/dist/definitions/resources/Connectivity/ConnectivityInterface.d.ts +16 -16
  48. package/dist/definitions/resources/Connectivity/index.d.ts +2 -2
  49. package/dist/definitions/resources/CrawlingModule/CrawlingModule.d.ts +16 -16
  50. package/dist/definitions/resources/CrawlingModule/CrawlingModuleInterfaces.d.ts +180 -57
  51. package/dist/definitions/resources/CrawlingModule/index.d.ts +2 -2
  52. package/dist/definitions/resources/Enums.d.ts +981 -981
  53. package/dist/definitions/resources/Extensions/Extensions.d.ts +12 -12
  54. package/dist/definitions/resources/Extensions/ExtensionsInterfaces.d.ts +55 -55
  55. package/dist/definitions/resources/Extensions/index.d.ts +2 -2
  56. package/dist/definitions/resources/Fields/Fields.d.ts +19 -19
  57. package/dist/definitions/resources/Fields/FieldsInterfaces.d.ts +70 -70
  58. package/dist/definitions/resources/Fields/index.d.ts +2 -2
  59. package/dist/definitions/resources/Global/Global.d.ts +11 -11
  60. package/dist/definitions/resources/Global/OrganizationConfigurations/OrganizationConfiguration.d.ts +8 -8
  61. package/dist/definitions/resources/Global/OrganizationConfigurations/OrganizationConfigurationInterfaces.d.ts +6 -6
  62. package/dist/definitions/resources/Global/OrganizationConfigurations/index.d.ts +2 -2
  63. package/dist/definitions/resources/Global/RegionConfigurations/RegionConfiguration.d.ts +7 -7
  64. package/dist/definitions/resources/Global/RegionConfigurations/RegionConfigurationInterfaces.d.ts +10 -10
  65. package/dist/definitions/resources/Global/RegionConfigurations/index.d.ts +2 -2
  66. package/dist/definitions/resources/Global/index.d.ts +3 -3
  67. package/dist/definitions/resources/GlobalGroups/GlobalGroup.d.ts +13 -13
  68. package/dist/definitions/resources/GlobalGroups/GlobalGroupInterfaces.d.ts +18 -18
  69. package/dist/definitions/resources/GlobalGroups/index.d.ts +2 -2
  70. package/dist/definitions/resources/Groups/Groups.d.ts +24 -24
  71. package/dist/definitions/resources/Groups/GroupsInterfaces.d.ts +21 -21
  72. package/dist/definitions/resources/Groups/Invites/GroupInvite.d.ts +11 -11
  73. package/dist/definitions/resources/Groups/Invites/GroupInviteInterfaces.d.ts +35 -35
  74. package/dist/definitions/resources/Groups/Invites/index.d.ts +2 -2
  75. package/dist/definitions/resources/Groups/Members/GroupMember.d.ts +9 -9
  76. package/dist/definitions/resources/Groups/Members/GroupMemberInterfaces.d.ts +13 -13
  77. package/dist/definitions/resources/Groups/Members/index.d.ts +2 -2
  78. package/dist/definitions/resources/Groups/Realms/GroupRealm.d.ts +9 -9
  79. package/dist/definitions/resources/Groups/Realms/GroupRealmInterfaces.d.ts +7 -7
  80. package/dist/definitions/resources/Groups/Realms/index.d.ts +2 -2
  81. package/dist/definitions/resources/Groups/index.d.ts +5 -5
  82. package/dist/definitions/resources/InProductExperiences/InProductExperiences.d.ts +31 -31
  83. package/dist/definitions/resources/InProductExperiences/InProductExperiencesInterfaces.d.ts +327 -327
  84. package/dist/definitions/resources/InProductExperiences/index.d.ts +2 -2
  85. package/dist/definitions/resources/Indexes/Indexes.d.ts +26 -26
  86. package/dist/definitions/resources/Indexes/IndexesInterface.d.ts +198 -198
  87. package/dist/definitions/resources/Indexes/index.d.ts +2 -2
  88. package/dist/definitions/resources/InsightPanelConfigs/InsightPanelConfig.d.ts +11 -11
  89. package/dist/definitions/resources/InsightPanelConfigs/InsightPanelConfigInterfaces.d.ts +158 -158
  90. package/dist/definitions/resources/InsightPanelConfigs/index.d.ts +2 -2
  91. package/dist/definitions/resources/InsightPanelInterfaces/InsightPanelInterface.d.ts +11 -11
  92. package/dist/definitions/resources/InsightPanelInterfaces/InsightPanelInterface.model.d.ts +240 -240
  93. package/dist/definitions/resources/InsightPanelInterfaces/index.d.ts +2 -2
  94. package/dist/definitions/resources/InternalBaseInterface.d.ts +12 -12
  95. package/dist/definitions/resources/License/License.d.ts +12 -12
  96. package/dist/definitions/resources/License/LicenseInterfaces.d.ts +194 -194
  97. package/dist/definitions/resources/License/index.d.ts +2 -2
  98. package/dist/definitions/resources/Limits/Limits.d.ts +12 -12
  99. package/dist/definitions/resources/Limits/LimitsInterfaces.d.ts +38 -38
  100. package/dist/definitions/resources/Limits/index.d.ts +2 -2
  101. package/dist/definitions/resources/Links/Links.d.ts +5 -5
  102. package/dist/definitions/resources/Links/index.d.ts +1 -1
  103. package/dist/definitions/resources/Logs/Logs.d.ts +8 -8
  104. package/dist/definitions/resources/Logs/LogsInterfaces.d.ts +47 -47
  105. package/dist/definitions/resources/Logs/index.d.ts +2 -2
  106. package/dist/definitions/resources/MachineLearning/CaseClassificationConfiguration/CaseClassificationConfiguration.d.ts +15 -15
  107. package/dist/definitions/resources/MachineLearning/CaseClassificationConfiguration/CaseClassificationConfigurationInterfaces.d.ts +147 -147
  108. package/dist/definitions/resources/MachineLearning/CaseClassificationConfiguration/index.d.ts +2 -2
  109. package/dist/definitions/resources/MachineLearning/DNEConfiguration/DNEConfiguration.d.ts +15 -15
  110. package/dist/definitions/resources/MachineLearning/DNEConfiguration/DNEConfigurationInterfaces.d.ts +41 -41
  111. package/dist/definitions/resources/MachineLearning/DNEConfiguration/index.d.ts +2 -2
  112. package/dist/definitions/resources/MachineLearning/FilterConditions.d.ts +18 -18
  113. package/dist/definitions/resources/MachineLearning/MachineLearning.d.ts +26 -26
  114. package/dist/definitions/resources/MachineLearning/MachineLearningInterfaces.d.ts +65 -65
  115. package/dist/definitions/resources/MachineLearning/ModelConfiguration/ModelConfiguration.d.ts +7 -7
  116. package/dist/definitions/resources/MachineLearning/ModelConfiguration/ModelConfigurationInterfaces.d.ts +10 -10
  117. package/dist/definitions/resources/MachineLearning/ModelConfiguration/index.d.ts +2 -2
  118. package/dist/definitions/resources/MachineLearning/ModelInformation/ModelInformation.d.ts +10 -10
  119. package/dist/definitions/resources/MachineLearning/ModelInformation/ModelInformationInterfaces.d.ts +252 -252
  120. package/dist/definitions/resources/MachineLearning/ModelInformation/index.d.ts +2 -2
  121. package/dist/definitions/resources/MachineLearning/Models/Models.d.ts +13 -13
  122. package/dist/definitions/resources/MachineLearning/Models/ModelsInterfaces.d.ts +49 -49
  123. package/dist/definitions/resources/MachineLearning/Models/index.d.ts +2 -2
  124. package/dist/definitions/resources/MachineLearning/PQSConfiguration/PQSConfiguration.d.ts +6 -6
  125. package/dist/definitions/resources/MachineLearning/PQSConfiguration/PQSConfigurationInterfaces.d.ts +40 -40
  126. package/dist/definitions/resources/MachineLearning/PQSConfiguration/index.d.ts +2 -2
  127. package/dist/definitions/resources/MachineLearning/SmartSnippetsConfiguration/SmartSnippetsConfiguration.d.ts +17 -17
  128. package/dist/definitions/resources/MachineLearning/SmartSnippetsConfiguration/SmartSnippetsConfigurationInterfaces.d.ts +131 -131
  129. package/dist/definitions/resources/MachineLearning/SmartSnippetsConfiguration/index.d.ts +2 -2
  130. package/dist/definitions/resources/MachineLearning/UserActionHistoryConfiguration/UserActionHistoryConfiguration.d.ts +7 -7
  131. package/dist/definitions/resources/MachineLearning/UserActionHistoryConfiguration/index.d.ts +1 -1
  132. package/dist/definitions/resources/MachineLearning/index.d.ts +11 -11
  133. package/dist/definitions/resources/ModifierTemplates/ModifierTemplateInterfaces.d.ts +71 -71
  134. package/dist/definitions/resources/ModifierTemplates/ModifierTemplates.d.ts +7 -7
  135. package/dist/definitions/resources/ModifierTemplates/index.d.ts +2 -2
  136. package/dist/definitions/resources/Notification/Subscription/Subscription.d.ts +21 -21
  137. package/dist/definitions/resources/Notification/Subscription/SubscriptionInterfaces.d.ts +41 -41
  138. package/dist/definitions/resources/Notification/Subscription/index.d.ts +2 -2
  139. package/dist/definitions/resources/Notification/index.d.ts +2 -2
  140. package/dist/definitions/resources/Notification/notification.d.ts +9 -9
  141. package/dist/definitions/resources/OrganizationAccess/Access.d.ts +7 -7
  142. package/dist/definitions/resources/OrganizationAccess/AccessInterfaces.d.ts +13 -13
  143. package/dist/definitions/resources/OrganizationAccess/index.d.ts +2 -2
  144. package/dist/definitions/resources/Organizations/Members/Members.d.ts +8 -8
  145. package/dist/definitions/resources/Organizations/Members/MembersInterface.d.ts +37 -37
  146. package/dist/definitions/resources/Organizations/Members/index.d.ts +2 -2
  147. package/dist/definitions/resources/Organizations/Organization.d.ts +42 -42
  148. package/dist/definitions/resources/Organizations/OrganizationInterfaces.d.ts +176 -176
  149. package/dist/definitions/resources/Organizations/index.d.ts +3 -3
  150. package/dist/definitions/resources/Pipelines/Conditions/Condition.d.ts +11 -11
  151. package/dist/definitions/resources/Pipelines/Conditions/ConditionInterfaces.d.ts +25 -25
  152. package/dist/definitions/resources/Pipelines/Conditions/index.d.ts +2 -2
  153. package/dist/definitions/resources/Pipelines/FacetStateRules/FacetStateRules.d.ts +11 -11
  154. package/dist/definitions/resources/Pipelines/FacetStateRules/FacetStateRulesInterface.d.ts +45 -45
  155. package/dist/definitions/resources/Pipelines/FacetStateRules/index.d.ts +2 -2
  156. package/dist/definitions/resources/Pipelines/MLAssociations/MLAssociations.d.ts +13 -13
  157. package/dist/definitions/resources/Pipelines/MLAssociations/MLAssociationsInterfaces.d.ts +57 -57
  158. package/dist/definitions/resources/Pipelines/MLAssociations/index.d.ts +2 -2
  159. package/dist/definitions/resources/Pipelines/Pipelines.d.ts +30 -30
  160. package/dist/definitions/resources/Pipelines/PipelinesInterfaces.d.ts +213 -213
  161. package/dist/definitions/resources/Pipelines/ResultRankings/ResultRankings.d.ts +15 -15
  162. package/dist/definitions/resources/Pipelines/ResultRankings/ResultRankingsInterfaces.d.ts +266 -266
  163. package/dist/definitions/resources/Pipelines/ResultRankings/index.d.ts +2 -2
  164. package/dist/definitions/resources/Pipelines/StatementGroups/StatementGroups.d.ts +13 -13
  165. package/dist/definitions/resources/Pipelines/StatementGroups/StatementGroupsInterfaces.d.ts +230 -230
  166. package/dist/definitions/resources/Pipelines/StatementGroups/index.d.ts +2 -2
  167. package/dist/definitions/resources/Pipelines/Statements/Statements.d.ts +17 -17
  168. package/dist/definitions/resources/Pipelines/Statements/StatementsInterfaces.d.ts +142 -142
  169. package/dist/definitions/resources/Pipelines/Statements/index.d.ts +2 -2
  170. package/dist/definitions/resources/Pipelines/index.d.ts +8 -8
  171. package/dist/definitions/resources/PlatformResources.d.ts +99 -99
  172. package/dist/definitions/resources/PrivilegeEvaluator/PrivilegeEvaluator.d.ts +11 -11
  173. package/dist/definitions/resources/PrivilegeEvaluator/PrivilegeEvaluatorInterfaces.d.ts +29 -29
  174. package/dist/definitions/resources/PrivilegeEvaluator/index.d.ts +2 -2
  175. package/dist/definitions/resources/Products/Product.d.ts +7 -7
  176. package/dist/definitions/resources/Products/ProductInterfaces.d.ts +209 -209
  177. package/dist/definitions/resources/Products/index.d.ts +2 -2
  178. package/dist/definitions/resources/PushApi/PushApi.d.ts +10 -10
  179. package/dist/definitions/resources/PushApi/PushApiInterfaces.d.ts +37 -37
  180. package/dist/definitions/resources/PushApi/index.d.ts +2 -2
  181. package/dist/definitions/resources/Resource.d.ts +10 -10
  182. package/dist/definitions/resources/ResourceSnapshots/ResourceSnapshots.d.ts +52 -52
  183. package/dist/definitions/resources/ResourceSnapshots/ResourceSnapshotsInterfaces.d.ts +344 -344
  184. package/dist/definitions/resources/ResourceSnapshots/index.d.ts +2 -2
  185. package/dist/definitions/resources/Saml/Saml.d.ts +14 -14
  186. package/dist/definitions/resources/Saml/SamlInterfaces.d.ts +13 -13
  187. package/dist/definitions/resources/Saml/index.d.ts +2 -2
  188. package/dist/definitions/resources/SchemaService/SchemaService.d.ts +60 -60
  189. package/dist/definitions/resources/SchemaService/SchemaServiceInterfaces.d.ts +155 -155
  190. package/dist/definitions/resources/SchemaService/index.d.ts +2 -2
  191. package/dist/definitions/resources/Search/Search.d.ts +10 -10
  192. package/dist/definitions/resources/Search/SearchInterfaces.d.ts +2140 -2140
  193. package/dist/definitions/resources/Search/index.d.ts +2 -2
  194. package/dist/definitions/resources/SearchInterfaces/SearchInterfaces.d.ts +17 -17
  195. package/dist/definitions/resources/SearchInterfaces/SearchInterfaces.model.d.ts +179 -179
  196. package/dist/definitions/resources/SearchInterfaces/index.d.ts +2 -2
  197. package/dist/definitions/resources/SearchPages/SearchPages.d.ts +20 -20
  198. package/dist/definitions/resources/SearchPages/SearchPagesInterfaces.d.ts +42 -42
  199. package/dist/definitions/resources/SearchPages/index.d.ts +2 -2
  200. package/dist/definitions/resources/SearchUsageMetrics/LicenseMetrics/LicenseMetrics.d.ts +8 -7
  201. package/dist/definitions/resources/SearchUsageMetrics/LicenseMetrics/LicenseMetricsInterface.d.ts +49 -49
  202. package/dist/definitions/resources/SearchUsageMetrics/LicenseMetrics/index.d.ts +2 -2
  203. package/dist/definitions/resources/SearchUsageMetrics/RawMetrics/RawMetrics.d.ts +10 -10
  204. package/dist/definitions/resources/SearchUsageMetrics/RawMetrics/RawMetricsInterface.d.ts +127 -127
  205. package/dist/definitions/resources/SearchUsageMetrics/RawMetrics/index.d.ts +2 -2
  206. package/dist/definitions/resources/SearchUsageMetrics/SearchHubs/SearchHubs.d.ts +11 -11
  207. package/dist/definitions/resources/SearchUsageMetrics/SearchHubs/SearchHubsInterface.d.ts +64 -64
  208. package/dist/definitions/resources/SearchUsageMetrics/SearchHubs/index.d.ts +2 -2
  209. package/dist/definitions/resources/SearchUsageMetrics/SearchUsageMetrics.d.ts +13 -13
  210. package/dist/definitions/resources/SearchUsageMetrics/index.d.ts +4 -4
  211. package/dist/definitions/resources/SecurityCache/SecurityCache.d.ts +26 -26
  212. package/dist/definitions/resources/SecurityCache/SecurityCacheInterfaces.d.ts +137 -137
  213. package/dist/definitions/resources/SecurityCache/index.d.ts +2 -2
  214. package/dist/definitions/resources/Sources/Sources.d.ts +67 -67
  215. package/dist/definitions/resources/Sources/SourcesDatasets/SourcesDatasets.d.ts +8 -8
  216. package/dist/definitions/resources/Sources/SourcesDatasets/SourcesDatasetsInterfaces.d.ts +24 -24
  217. package/dist/definitions/resources/Sources/SourcesDatasets/index.d.ts +2 -2
  218. package/dist/definitions/resources/Sources/SourcesFields/SourcesFields.d.ts +10 -10
  219. package/dist/definitions/resources/Sources/SourcesFields/SourcesFieldsInterfaces.d.ts +15 -15
  220. package/dist/definitions/resources/Sources/SourcesFields/index.d.ts +2 -2
  221. package/dist/definitions/resources/Sources/SourcesInterfaces.d.ts +114 -114
  222. package/dist/definitions/resources/Sources/SourcesMappings/SourcesMappings.d.ts +7 -7
  223. package/dist/definitions/resources/Sources/SourcesMappings/SourcesMappingsInterfaces.d.ts +72 -72
  224. package/dist/definitions/resources/Sources/SourcesMappings/index.d.ts +2 -2
  225. package/dist/definitions/resources/Sources/SourcesMetadata/SourcesMetadata.d.ts +9 -9
  226. package/dist/definitions/resources/Sources/SourcesMetadata/SourcesMetadataInterfaces.d.ts +55 -55
  227. package/dist/definitions/resources/Sources/SourcesMetadata/index.d.ts +2 -2
  228. package/dist/definitions/resources/Sources/SourcesSubInterfaces/Address.d.ts +6 -6
  229. package/dist/definitions/resources/Sources/SourcesSubInterfaces/Authentification.d.ts +37 -37
  230. package/dist/definitions/resources/Sources/SourcesSubInterfaces/Document.d.ts +104 -104
  231. package/dist/definitions/resources/Sources/SourcesSubInterfaces/Error.d.ts +4 -4
  232. package/dist/definitions/resources/Sources/SourcesSubInterfaces/ExtendedDataFile.d.ts +5 -5
  233. package/dist/definitions/resources/Sources/SourcesSubInterfaces/Extension.d.ts +9 -9
  234. package/dist/definitions/resources/Sources/SourcesSubInterfaces/Information.d.ts +59 -59
  235. package/dist/definitions/resources/Sources/SourcesSubInterfaces/Parameter.d.ts +4 -4
  236. package/dist/definitions/resources/Sources/SourcesSubInterfaces/Permission.d.ts +42 -42
  237. package/dist/definitions/resources/Sources/SourcesSubInterfaces/Url.d.ts +6 -6
  238. package/dist/definitions/resources/Sources/SourcesSubInterfaces/User.d.ts +5 -5
  239. package/dist/definitions/resources/Sources/SourcesSubInterfaces/index.d.ts +11 -11
  240. package/dist/definitions/resources/Sources/index.d.ts +6 -6
  241. package/dist/definitions/resources/TableauService/ContentQuery/ContentQuery.d.ts +8 -8
  242. package/dist/definitions/resources/TableauService/ContentQuery/ContentQueryInterfaces.d.ts +58 -58
  243. package/dist/definitions/resources/TableauService/ContentQuery/index.d.ts +2 -2
  244. package/dist/definitions/resources/TableauService/TableauService.d.ts +9 -9
  245. package/dist/definitions/resources/TableauService/index.d.ts +2 -2
  246. package/dist/definitions/resources/UsageAnalytics/Read/Administration/Administration.d.ts +10 -10
  247. package/dist/definitions/resources/UsageAnalytics/Read/Administration/AdministrationInterfaces.d.ts +21 -21
  248. package/dist/definitions/resources/UsageAnalytics/Read/Administration/index.d.ts +2 -2
  249. package/dist/definitions/resources/UsageAnalytics/Read/DataShare/DataShare.d.ts +9 -9
  250. package/dist/definitions/resources/UsageAnalytics/Read/DataShare/DataShareInterfaces.d.ts +43 -43
  251. package/dist/definitions/resources/UsageAnalytics/Read/DataShare/index.d.ts +2 -2
  252. package/dist/definitions/resources/UsageAnalytics/Read/Dimensions/Dimensions.d.ts +21 -21
  253. package/dist/definitions/resources/UsageAnalytics/Read/Dimensions/DimensionsInterfaces.d.ts +101 -101
  254. package/dist/definitions/resources/UsageAnalytics/Read/Dimensions/index.d.ts +2 -2
  255. package/dist/definitions/resources/UsageAnalytics/Read/Exports/Exports.d.ts +20 -20
  256. package/dist/definitions/resources/UsageAnalytics/Read/Exports/ExportsInterfaces.d.ts +101 -101
  257. package/dist/definitions/resources/UsageAnalytics/Read/Exports/index.d.ts +2 -2
  258. package/dist/definitions/resources/UsageAnalytics/Read/Filters/Filters.d.ts +71 -71
  259. package/dist/definitions/resources/UsageAnalytics/Read/Filters/FiltersInterfaces.d.ts +67 -67
  260. package/dist/definitions/resources/UsageAnalytics/Read/Filters/index.d.ts +2 -2
  261. package/dist/definitions/resources/UsageAnalytics/Read/Reports/Reports.d.ts +58 -58
  262. package/dist/definitions/resources/UsageAnalytics/Read/Reports/ReportsInterfaces.d.ts +99 -99
  263. package/dist/definitions/resources/UsageAnalytics/Read/Reports/index.d.ts +2 -2
  264. package/dist/definitions/resources/UsageAnalytics/Read/Snowflake/Snowflake.d.ts +16 -16
  265. package/dist/definitions/resources/UsageAnalytics/Read/Snowflake/SnowflakeInterfaces.d.ts +49 -49
  266. package/dist/definitions/resources/UsageAnalytics/Read/Snowflake/index.d.ts +2 -2
  267. package/dist/definitions/resources/UsageAnalytics/Read/Statistics/Statistics.d.ts +18 -18
  268. package/dist/definitions/resources/UsageAnalytics/Read/Statistics/StatisticsInterfaces.d.ts +186 -186
  269. package/dist/definitions/resources/UsageAnalytics/Read/Statistics/index.d.ts +2 -2
  270. package/dist/definitions/resources/UsageAnalytics/Read/Users/Users.d.ts +12 -12
  271. package/dist/definitions/resources/UsageAnalytics/Read/Users/UsersInterfaces.d.ts +113 -113
  272. package/dist/definitions/resources/UsageAnalytics/Read/Users/index.d.ts +2 -2
  273. package/dist/definitions/resources/UsageAnalytics/Read/index.d.ts +9 -9
  274. package/dist/definitions/resources/UsageAnalytics/UsageAnalytics.d.ts +23 -23
  275. package/dist/definitions/resources/UsageAnalytics/index.d.ts +2 -2
  276. package/dist/definitions/resources/Users/User.d.ts +9 -9
  277. package/dist/definitions/resources/Users/UserInterfaces.d.ts +29 -29
  278. package/dist/definitions/resources/Users/index.d.ts +2 -2
  279. package/dist/definitions/resources/Vaults/Vaults.d.ts +33 -33
  280. package/dist/definitions/resources/Vaults/VaultsInterfaces.d.ts +29 -29
  281. package/dist/definitions/resources/Vaults/index.d.ts +2 -2
  282. package/dist/definitions/resources/index.d.ts +46 -46
  283. package/dist/definitions/utils/FormData.d.ts +1 -0
  284. package/dist/definitions/utils/Retriever.d.ts +3 -3
  285. package/dist/definitions/utils/WithRequired.d.ts +3 -3
  286. package/dist/definitions/utils/index.d.ts +2 -2
  287. package/dist/definitions/utils/normalizePaginatedOptions.d.ts +3 -3
  288. package/dist/handlers/ResponseHandlerInterfaces.js +2 -2
  289. package/dist/handlers/ResponseHandlers.js +45 -45
  290. package/dist/handlers/index.js +5 -5
  291. package/dist/resources/AWS/AWS.js +17 -17
  292. package/dist/resources/AWS/AWSInterfaces.js +2 -2
  293. package/dist/resources/AWS/index.js +5 -5
  294. package/dist/resources/Activities/Activities.js +37 -37
  295. package/dist/resources/Activities/ActivitiesInterfaces.js +2 -2
  296. package/dist/resources/Activities/index.js +5 -5
  297. package/dist/resources/ApiKeys/ApiKeys.js +33 -33
  298. package/dist/resources/ApiKeys/ApiKeysInterfaces.js +2 -2
  299. package/dist/resources/ApiKeys/index.js +5 -5
  300. package/dist/resources/BaseInterfaces.js +2 -2
  301. package/dist/resources/CaseAssistConfigs/CaseAssistConfig.js +41 -41
  302. package/dist/resources/CaseAssistConfigs/CaseAssistConfigInterfaces.js +17 -17
  303. package/dist/resources/CaseAssistConfigs/CaseAssistPreviewInterfaces.js +2 -2
  304. package/dist/resources/CaseAssistConfigs/index.js +6 -6
  305. package/dist/resources/Catalogs/Catalog.js +42 -42
  306. package/dist/resources/Catalogs/CatalogConfiguration.js +29 -29
  307. package/dist/resources/Catalogs/CatalogInterfaces.js +2 -2
  308. package/dist/resources/Catalogs/ProductListing.js +38 -38
  309. package/dist/resources/Catalogs/ProductListingConfiguration.js +31 -31
  310. package/dist/resources/Catalogs/ProductListingConfigurationInterfaces.js +9 -9
  311. package/dist/resources/Catalogs/ProductListingInterfaces.js +3 -3
  312. package/dist/resources/Catalogs/index.js +10 -10
  313. package/dist/resources/Clusters/Agents/ClusterAgent.js +20 -20
  314. package/dist/resources/Clusters/Agents/ClusterAgentInterfaces.js +2 -2
  315. package/dist/resources/Clusters/Agents/index.js +5 -5
  316. package/dist/resources/Clusters/Cluster.js +37 -37
  317. package/dist/resources/Clusters/ClusterInterfaces.js +2 -2
  318. package/dist/resources/Clusters/Nodes/ClusterNode.js +32 -32
  319. package/dist/resources/Clusters/Nodes/ClusterNodeInterfaces.js +2 -2
  320. package/dist/resources/Clusters/Nodes/index.js +5 -5
  321. package/dist/resources/Clusters/index.js +7 -7
  322. package/dist/resources/Connectivity/Connectivity.js +22 -22
  323. package/dist/resources/Connectivity/ConnectivityInterface.js +8 -8
  324. package/dist/resources/Connectivity/index.js +5 -5
  325. package/dist/resources/CrawlingModule/CrawlingModule.js +44 -44
  326. package/dist/resources/CrawlingModule/CrawlingModuleInterfaces.js +16 -16
  327. package/dist/resources/CrawlingModule/CrawlingModuleInterfaces.js.map +1 -1
  328. package/dist/resources/CrawlingModule/index.js +5 -5
  329. package/dist/resources/Enums.js +1094 -1094
  330. package/dist/resources/Extensions/Extensions.js +35 -35
  331. package/dist/resources/Extensions/ExtensionsInterfaces.js +2 -2
  332. package/dist/resources/Extensions/index.js +5 -5
  333. package/dist/resources/Fields/Fields.js +48 -48
  334. package/dist/resources/Fields/FieldsInterfaces.js +2 -2
  335. package/dist/resources/Fields/index.js +5 -5
  336. package/dist/resources/Global/Global.js +19 -19
  337. package/dist/resources/Global/OrganizationConfigurations/OrganizationConfiguration.js +19 -19
  338. package/dist/resources/Global/OrganizationConfigurations/OrganizationConfigurationInterfaces.js +2 -2
  339. package/dist/resources/Global/OrganizationConfigurations/index.js +5 -5
  340. package/dist/resources/Global/RegionConfigurations/RegionConfiguration.js +19 -19
  341. package/dist/resources/Global/RegionConfigurations/RegionConfigurationInterfaces.js +2 -2
  342. package/dist/resources/Global/RegionConfigurations/index.js +5 -5
  343. package/dist/resources/Global/index.js +6 -6
  344. package/dist/resources/GlobalGroups/GlobalGroup.js +28 -28
  345. package/dist/resources/GlobalGroups/GlobalGroupInterfaces.js +2 -2
  346. package/dist/resources/GlobalGroups/index.js +5 -5
  347. package/dist/resources/Groups/Groups.js +41 -41
  348. package/dist/resources/Groups/GroupsInterfaces.js +2 -2
  349. package/dist/resources/Groups/Invites/GroupInvite.js +30 -30
  350. package/dist/resources/Groups/Invites/GroupInviteInterfaces.js +2 -2
  351. package/dist/resources/Groups/Invites/index.js +5 -5
  352. package/dist/resources/Groups/Members/GroupMember.js +27 -27
  353. package/dist/resources/Groups/Members/GroupMemberInterfaces.js +2 -2
  354. package/dist/resources/Groups/Members/index.js +5 -5
  355. package/dist/resources/Groups/Realms/GroupRealm.js +26 -26
  356. package/dist/resources/Groups/Realms/GroupRealmInterfaces.js +2 -2
  357. package/dist/resources/Groups/Realms/index.js +5 -5
  358. package/dist/resources/Groups/index.js +8 -8
  359. package/dist/resources/InProductExperiences/InProductExperiences.js +44 -44
  360. package/dist/resources/InProductExperiences/InProductExperiencesInterfaces.js +30 -30
  361. package/dist/resources/InProductExperiences/index.js +5 -5
  362. package/dist/resources/Indexes/Indexes.js +61 -61
  363. package/dist/resources/Indexes/IndexesInterface.js +2 -2
  364. package/dist/resources/Indexes/index.js +5 -5
  365. package/dist/resources/InsightPanelConfigs/InsightPanelConfig.js +30 -30
  366. package/dist/resources/InsightPanelConfigs/InsightPanelConfigInterfaces.js +2 -2
  367. package/dist/resources/InsightPanelConfigs/index.js +5 -5
  368. package/dist/resources/InsightPanelInterfaces/InsightPanelInterface.js +30 -30
  369. package/dist/resources/InsightPanelInterfaces/InsightPanelInterface.model.js +15 -15
  370. package/dist/resources/InsightPanelInterfaces/index.js +5 -5
  371. package/dist/resources/InternalBaseInterface.js +2 -2
  372. package/dist/resources/License/License.js +32 -32
  373. package/dist/resources/License/LicenseInterfaces.js +78 -78
  374. package/dist/resources/License/index.js +5 -5
  375. package/dist/resources/Limits/Limits.js +30 -30
  376. package/dist/resources/Limits/LimitsInterfaces.js +8 -8
  377. package/dist/resources/Limits/index.js +5 -5
  378. package/dist/resources/Links/Links.js +17 -17
  379. package/dist/resources/Links/index.js +4 -4
  380. package/dist/resources/Logs/Logs.js +23 -23
  381. package/dist/resources/Logs/LogsInterfaces.js +2 -2
  382. package/dist/resources/Logs/index.js +5 -5
  383. package/dist/resources/MachineLearning/CaseClassificationConfiguration/CaseClassificationConfiguration.js +35 -35
  384. package/dist/resources/MachineLearning/CaseClassificationConfiguration/CaseClassificationConfigurationInterfaces.js +8 -8
  385. package/dist/resources/MachineLearning/CaseClassificationConfiguration/index.js +5 -5
  386. package/dist/resources/MachineLearning/DNEConfiguration/DNEConfiguration.js +51 -51
  387. package/dist/resources/MachineLearning/DNEConfiguration/DNEConfigurationInterfaces.js +2 -2
  388. package/dist/resources/MachineLearning/DNEConfiguration/index.js +5 -5
  389. package/dist/resources/MachineLearning/FilterConditions.js +2 -2
  390. package/dist/resources/MachineLearning/MachineLearning.js +36 -36
  391. package/dist/resources/MachineLearning/MachineLearningInterfaces.js +2 -2
  392. package/dist/resources/MachineLearning/ModelConfiguration/ModelConfiguration.js +22 -22
  393. package/dist/resources/MachineLearning/ModelConfiguration/ModelConfigurationInterfaces.js +2 -2
  394. package/dist/resources/MachineLearning/ModelConfiguration/index.js +5 -5
  395. package/dist/resources/MachineLearning/ModelInformation/ModelInformation.js +25 -25
  396. package/dist/resources/MachineLearning/ModelInformation/ModelInformationInterfaces.js +2 -2
  397. package/dist/resources/MachineLearning/ModelInformation/index.js +5 -5
  398. package/dist/resources/MachineLearning/Models/Models.js +35 -35
  399. package/dist/resources/MachineLearning/Models/ModelsInterfaces.js +2 -2
  400. package/dist/resources/MachineLearning/Models/index.js +5 -5
  401. package/dist/resources/MachineLearning/PQSConfiguration/PQSConfiguration.js +17 -17
  402. package/dist/resources/MachineLearning/PQSConfiguration/PQSConfigurationInterfaces.js +2 -2
  403. package/dist/resources/MachineLearning/PQSConfiguration/index.js +5 -5
  404. package/dist/resources/MachineLearning/SmartSnippetsConfiguration/SmartSnippetsConfiguration.js +39 -39
  405. package/dist/resources/MachineLearning/SmartSnippetsConfiguration/SmartSnippetsConfigurationInterfaces.js +2 -2
  406. package/dist/resources/MachineLearning/SmartSnippetsConfiguration/index.js +5 -5
  407. package/dist/resources/MachineLearning/UserActionHistoryConfiguration/UserActionHistoryConfiguration.js +23 -23
  408. package/dist/resources/MachineLearning/UserActionHistoryConfiguration/index.js +4 -4
  409. package/dist/resources/MachineLearning/index.js +14 -14
  410. package/dist/resources/ModifierTemplates/ModifierTemplateInterfaces.js +26 -26
  411. package/dist/resources/ModifierTemplates/ModifierTemplates.js +19 -19
  412. package/dist/resources/ModifierTemplates/index.js +5 -5
  413. package/dist/resources/Notification/Subscription/Subscription.js +61 -61
  414. package/dist/resources/Notification/Subscription/SubscriptionInterfaces.js +2 -2
  415. package/dist/resources/Notification/Subscription/index.js +5 -5
  416. package/dist/resources/Notification/index.js +5 -5
  417. package/dist/resources/Notification/notification.js +17 -17
  418. package/dist/resources/OrganizationAccess/Access.js +20 -20
  419. package/dist/resources/OrganizationAccess/AccessInterfaces.js +2 -2
  420. package/dist/resources/OrganizationAccess/index.js +5 -5
  421. package/dist/resources/Organizations/Members/Members.js +23 -23
  422. package/dist/resources/Organizations/Members/MembersInterface.js +2 -2
  423. package/dist/resources/Organizations/Members/index.js +5 -5
  424. package/dist/resources/Organizations/Organization.js +91 -91
  425. package/dist/resources/Organizations/OrganizationInterfaces.js +57 -57
  426. package/dist/resources/Organizations/index.js +6 -6
  427. package/dist/resources/Pipelines/Conditions/Condition.js +29 -29
  428. package/dist/resources/Pipelines/Conditions/ConditionInterfaces.js +2 -2
  429. package/dist/resources/Pipelines/Conditions/index.js +5 -5
  430. package/dist/resources/Pipelines/FacetStateRules/FacetStateRules.js +39 -39
  431. package/dist/resources/Pipelines/FacetStateRules/FacetStateRulesInterface.js +2 -2
  432. package/dist/resources/Pipelines/FacetStateRules/index.js +5 -5
  433. package/dist/resources/Pipelines/MLAssociations/MLAssociations.js +45 -45
  434. package/dist/resources/Pipelines/MLAssociations/MLAssociationsInterfaces.js +2 -2
  435. package/dist/resources/Pipelines/MLAssociations/index.js +5 -5
  436. package/dist/resources/Pipelines/Pipelines.js +60 -60
  437. package/dist/resources/Pipelines/PipelinesInterfaces.js +2 -2
  438. package/dist/resources/Pipelines/ResultRankings/ResultRankings.js +59 -59
  439. package/dist/resources/Pipelines/ResultRankings/ResultRankingsInterfaces.js +2 -2
  440. package/dist/resources/Pipelines/ResultRankings/index.js +5 -5
  441. package/dist/resources/Pipelines/StatementGroups/StatementGroups.js +47 -47
  442. package/dist/resources/Pipelines/StatementGroups/StatementGroupsInterfaces.js +7 -7
  443. package/dist/resources/Pipelines/StatementGroups/index.js +5 -5
  444. package/dist/resources/Pipelines/Statements/Statements.js +58 -58
  445. package/dist/resources/Pipelines/Statements/StatementsInterfaces.js +2 -2
  446. package/dist/resources/Pipelines/Statements/index.js +5 -5
  447. package/dist/resources/Pipelines/index.js +11 -11
  448. package/dist/resources/PlatformResources.js +112 -112
  449. package/dist/resources/PrivilegeEvaluator/PrivilegeEvaluator.js +22 -22
  450. package/dist/resources/PrivilegeEvaluator/PrivilegeEvaluatorInterfaces.js +14 -14
  451. package/dist/resources/PrivilegeEvaluator/index.js +5 -5
  452. package/dist/resources/Products/Product.js +18 -18
  453. package/dist/resources/Products/ProductInterfaces.js +2 -2
  454. package/dist/resources/Products/index.js +5 -5
  455. package/dist/resources/PushApi/PushApi.js +33 -33
  456. package/dist/resources/PushApi/PushApiInterfaces.js +2 -2
  457. package/dist/resources/PushApi/index.js +5 -5
  458. package/dist/resources/Resource.js +24 -24
  459. package/dist/resources/ResourceSnapshots/ResourceSnapshots.js +130 -130
  460. package/dist/resources/ResourceSnapshots/ResourceSnapshotsInterfaces.js +96 -96
  461. package/dist/resources/ResourceSnapshots/index.js +5 -5
  462. package/dist/resources/Saml/Saml.js +35 -35
  463. package/dist/resources/Saml/SamlInterfaces.js +2 -2
  464. package/dist/resources/Saml/index.js +5 -5
  465. package/dist/resources/SchemaService/SchemaService.js +84 -84
  466. package/dist/resources/SchemaService/SchemaServiceInterfaces.js +2 -2
  467. package/dist/resources/SchemaService/index.js +5 -5
  468. package/dist/resources/Search/Search.js +36 -36
  469. package/dist/resources/Search/SearchInterfaces.js +2 -2
  470. package/dist/resources/Search/index.js +5 -5
  471. package/dist/resources/SearchInterfaces/SearchInterfaces.js +48 -48
  472. package/dist/resources/SearchInterfaces/SearchInterfaces.model.js +2 -2
  473. package/dist/resources/SearchInterfaces/index.js +5 -5
  474. package/dist/resources/SearchPages/SearchPages.js +59 -59
  475. package/dist/resources/SearchPages/SearchPagesInterfaces.js +2 -2
  476. package/dist/resources/SearchPages/index.js +5 -5
  477. package/dist/resources/SearchUsageMetrics/LicenseMetrics/LicenseMetrics.js +23 -20
  478. package/dist/resources/SearchUsageMetrics/LicenseMetrics/LicenseMetrics.js.map +1 -1
  479. package/dist/resources/SearchUsageMetrics/LicenseMetrics/LicenseMetricsInterface.js +2 -2
  480. package/dist/resources/SearchUsageMetrics/LicenseMetrics/index.js +5 -5
  481. package/dist/resources/SearchUsageMetrics/RawMetrics/RawMetrics.js +44 -44
  482. package/dist/resources/SearchUsageMetrics/RawMetrics/RawMetricsInterface.js +2 -2
  483. package/dist/resources/SearchUsageMetrics/RawMetrics/index.js +5 -5
  484. package/dist/resources/SearchUsageMetrics/SearchHubs/SearchHubs.js +38 -38
  485. package/dist/resources/SearchUsageMetrics/SearchHubs/SearchHubsInterface.js +2 -2
  486. package/dist/resources/SearchUsageMetrics/SearchHubs/index.js +5 -5
  487. package/dist/resources/SearchUsageMetrics/SearchUsageMetrics.js +21 -21
  488. package/dist/resources/SearchUsageMetrics/index.js +7 -7
  489. package/dist/resources/SecurityCache/SecurityCache.js +79 -79
  490. package/dist/resources/SecurityCache/SecurityCacheInterfaces.js +2 -2
  491. package/dist/resources/SecurityCache/index.js +5 -5
  492. package/dist/resources/Sources/Sources.js +122 -122
  493. package/dist/resources/Sources/SourcesDatasets/SourcesDatasets.js +29 -29
  494. package/dist/resources/Sources/SourcesDatasets/SourcesDatasetsInterfaces.js +34 -34
  495. package/dist/resources/Sources/SourcesDatasets/index.js +5 -5
  496. package/dist/resources/Sources/SourcesFields/SourcesFields.js +27 -27
  497. package/dist/resources/Sources/SourcesFields/SourcesFieldsInterfaces.js +2 -2
  498. package/dist/resources/Sources/SourcesFields/index.js +5 -5
  499. package/dist/resources/Sources/SourcesInterfaces.js +4 -4
  500. package/dist/resources/Sources/SourcesMappings/SourcesMappings.js +21 -21
  501. package/dist/resources/Sources/SourcesMappings/SourcesMappingsInterfaces.js +2 -2
  502. package/dist/resources/Sources/SourcesMappings/index.js +5 -5
  503. package/dist/resources/Sources/SourcesMetadata/SourcesMetadata.js +23 -23
  504. package/dist/resources/Sources/SourcesMetadata/SourcesMetadataInterfaces.js +2 -2
  505. package/dist/resources/Sources/SourcesMetadata/index.js +5 -5
  506. package/dist/resources/Sources/SourcesSubInterfaces/Address.js +2 -2
  507. package/dist/resources/Sources/SourcesSubInterfaces/Authentification.js +2 -2
  508. package/dist/resources/Sources/SourcesSubInterfaces/Document.js +2 -2
  509. package/dist/resources/Sources/SourcesSubInterfaces/Error.js +2 -2
  510. package/dist/resources/Sources/SourcesSubInterfaces/ExtendedDataFile.js +2 -2
  511. package/dist/resources/Sources/SourcesSubInterfaces/Extension.js +2 -2
  512. package/dist/resources/Sources/SourcesSubInterfaces/Information.js +2 -2
  513. package/dist/resources/Sources/SourcesSubInterfaces/Parameter.js +2 -2
  514. package/dist/resources/Sources/SourcesSubInterfaces/Permission.js +2 -2
  515. package/dist/resources/Sources/SourcesSubInterfaces/Url.js +2 -2
  516. package/dist/resources/Sources/SourcesSubInterfaces/User.js +2 -2
  517. package/dist/resources/Sources/SourcesSubInterfaces/index.js +14 -14
  518. package/dist/resources/Sources/index.js +9 -9
  519. package/dist/resources/TableauService/ContentQuery/ContentQuery.js +22 -22
  520. package/dist/resources/TableauService/ContentQuery/ContentQueryInterfaces.js +2 -2
  521. package/dist/resources/TableauService/ContentQuery/index.js +5 -5
  522. package/dist/resources/TableauService/TableauService.js +17 -17
  523. package/dist/resources/TableauService/index.js +5 -5
  524. package/dist/resources/UsageAnalytics/Read/Administration/Administration.js +25 -25
  525. package/dist/resources/UsageAnalytics/Read/Administration/AdministrationInterfaces.js +2 -2
  526. package/dist/resources/UsageAnalytics/Read/Administration/index.js +5 -5
  527. package/dist/resources/UsageAnalytics/Read/DataShare/DataShare.js +25 -25
  528. package/dist/resources/UsageAnalytics/Read/DataShare/DataShareInterfaces.js +2 -2
  529. package/dist/resources/UsageAnalytics/Read/DataShare/index.js +5 -5
  530. package/dist/resources/UsageAnalytics/Read/Dimensions/Dimensions.js +60 -60
  531. package/dist/resources/UsageAnalytics/Read/Dimensions/DimensionsInterfaces.js +2 -2
  532. package/dist/resources/UsageAnalytics/Read/Dimensions/index.js +5 -5
  533. package/dist/resources/UsageAnalytics/Read/Exports/Exports.js +59 -59
  534. package/dist/resources/UsageAnalytics/Read/Exports/ExportsInterfaces.js +2 -2
  535. package/dist/resources/UsageAnalytics/Read/Exports/index.js +5 -5
  536. package/dist/resources/UsageAnalytics/Read/Filters/Filters.js +111 -111
  537. package/dist/resources/UsageAnalytics/Read/Filters/FiltersInterfaces.js +2 -2
  538. package/dist/resources/UsageAnalytics/Read/Filters/index.js +5 -5
  539. package/dist/resources/UsageAnalytics/Read/Reports/Reports.js +99 -99
  540. package/dist/resources/UsageAnalytics/Read/Reports/ReportsInterfaces.js +8 -8
  541. package/dist/resources/UsageAnalytics/Read/Reports/index.js +5 -5
  542. package/dist/resources/UsageAnalytics/Read/Snowflake/Snowflake.js +46 -46
  543. package/dist/resources/UsageAnalytics/Read/Snowflake/SnowflakeInterfaces.js +2 -2
  544. package/dist/resources/UsageAnalytics/Read/Snowflake/index.js +5 -5
  545. package/dist/resources/UsageAnalytics/Read/Statistics/Statistics.js +52 -52
  546. package/dist/resources/UsageAnalytics/Read/Statistics/StatisticsInterfaces.js +2 -2
  547. package/dist/resources/UsageAnalytics/Read/Statistics/index.js +5 -5
  548. package/dist/resources/UsageAnalytics/Read/Users/Users.js +34 -34
  549. package/dist/resources/UsageAnalytics/Read/Users/UsersInterfaces.js +2 -2
  550. package/dist/resources/UsageAnalytics/Read/Users/index.js +5 -5
  551. package/dist/resources/UsageAnalytics/Read/index.js +12 -12
  552. package/dist/resources/UsageAnalytics/UsageAnalytics.js +31 -31
  553. package/dist/resources/UsageAnalytics/index.js +5 -5
  554. package/dist/resources/Users/User.js +25 -25
  555. package/dist/resources/Users/UserInterfaces.js +2 -2
  556. package/dist/resources/Users/index.js +5 -5
  557. package/dist/resources/Vaults/Vaults.js +54 -54
  558. package/dist/resources/Vaults/VaultsInterfaces.js +2 -2
  559. package/dist/resources/Vaults/index.js +5 -5
  560. package/dist/resources/index.js +51 -51
  561. package/dist/utils/FormData.js +14 -0
  562. package/dist/utils/FormData.js.map +1 -0
  563. package/dist/utils/Retriever.js +4 -4
  564. package/dist/utils/WithRequired.js +2 -2
  565. package/dist/utils/index.js +5 -5
  566. package/dist/utils/normalizePaginatedOptions.js +24 -24
  567. package/package.json +7 -7
@@ -1,2 +1,2 @@
1
- export * from './Search';
2
- export * from './SearchInterfaces';
1
+ export * from './Search';
2
+ export * from './SearchInterfaces';
@@ -1,17 +1,17 @@
1
- import { New, PageModel } from '../../Entry';
2
- import Resource from '../Resource';
3
- import { IAccesses, IListSearchInterfacesParameters, ISearchInterfaceConfiguration, ISearchInterfaceConfigurationResponse, IManifestParameters, IManifestResponse } from './SearchInterfaces.model';
4
- export default class SearchInterfaces extends Resource {
5
- static baseUrl: string;
6
- list(options: IListSearchInterfacesParameters): Promise<PageModel<ISearchInterfaceConfigurationResponse>>;
7
- create(searchInterfaceConfig: New<ISearchInterfaceConfiguration>): Promise<ISearchInterfaceConfigurationResponse>;
8
- get(searchInterfaceConfigId: string): Promise<ISearchInterfaceConfigurationResponse>;
9
- update(searchInterfaceConfig: ISearchInterfaceConfiguration): Promise<ISearchInterfaceConfigurationResponse>;
10
- delete(searchInterfaceConfigId: string): Promise<Record<string, unknown>>;
11
- getAccesses(interfaceId: string): Promise<IAccesses>;
12
- updateAccesses(searchInterfaceConfigId: string, accesses: IAccesses): Promise<IAccesses>;
13
- getAccessesUsers(interfaceId: string): Promise<string[]>;
14
- updateAccessesUsers(interfaceId: string, users: string[]): Promise<string[]>;
15
- addAccessesUsers(interfaceId: string, users: string[], notify?: boolean, message?: string): Promise<string[]>;
16
- manifest(interfaceId: string, options?: IManifestParameters): Promise<IManifestResponse>;
17
- }
1
+ import { New, PageModel } from '../../Entry';
2
+ import Resource from '../Resource';
3
+ import { IAccesses, IListSearchInterfacesParameters, ISearchInterfaceConfiguration, ISearchInterfaceConfigurationResponse, IManifestParameters, IManifestResponse } from './SearchInterfaces.model';
4
+ export default class SearchInterfaces extends Resource {
5
+ static baseUrl: string;
6
+ list(options: IListSearchInterfacesParameters): Promise<PageModel<ISearchInterfaceConfigurationResponse>>;
7
+ create(searchInterfaceConfig: New<ISearchInterfaceConfiguration>): Promise<ISearchInterfaceConfigurationResponse>;
8
+ get(searchInterfaceConfigId: string): Promise<ISearchInterfaceConfigurationResponse>;
9
+ update(searchInterfaceConfig: ISearchInterfaceConfiguration): Promise<ISearchInterfaceConfigurationResponse>;
10
+ delete(searchInterfaceConfigId: string): Promise<Record<string, unknown>>;
11
+ getAccesses(interfaceId: string): Promise<IAccesses>;
12
+ updateAccesses(searchInterfaceConfigId: string, accesses: IAccesses): Promise<IAccesses>;
13
+ getAccessesUsers(interfaceId: string): Promise<string[]>;
14
+ updateAccessesUsers(interfaceId: string, users: string[]): Promise<string[]>;
15
+ addAccessesUsers(interfaceId: string, users: string[], notify?: boolean, message?: string): Promise<string[]>;
16
+ manifest(interfaceId: string, options?: IManifestParameters): Promise<IManifestResponse>;
17
+ }
@@ -1,179 +1,179 @@
1
- import { Paginated } from '../BaseInterfaces';
2
- import { SortingBy, SortingOrder } from '../Enums';
3
- export interface IAccesses {
4
- /**
5
- * The list of users that are allowed to access the search interface.
6
- */
7
- users: string[];
8
- /**
9
- * The list of domains that are allowed to access the search interface.
10
- */
11
- domains: string[];
12
- /**
13
- * When set to true, all users can share and see the search page.
14
- */
15
- sharingLinkEnabled?: boolean;
16
- /**
17
- * When set to true, the domain sharing is enabled. Otherwise, only users that have explicitly access to the search page can access it.
18
- */
19
- sharingDomainEnabled?: boolean;
20
- }
21
- export interface IFacet {
22
- /**
23
- * The [field](https://docs.coveo.com/en/200) on which the facet is based.
24
- */
25
- field: string;
26
- /**
27
- * The label of the facet.
28
- */
29
- label: string;
30
- }
31
- export interface ISortCriteria {
32
- /**
33
- * Indicates the kind of sort criterion.
34
- */
35
- by: SortingBy;
36
- /**
37
- * Label of the sort criterion.
38
- */
39
- label: string;
40
- /**
41
- * Specify the sort order if applicable.
42
- * Default value when sorting by date is descending.
43
- * Default value when sorting by field is ascending.
44
- * No sort order value is applicable when sorting by relevancy.
45
- */
46
- order?: SortingOrder;
47
- /**
48
- * The [field](https://docs.coveo.com/en/200) on which the sort is based on. For example: filetype.
49
- * Required when sorting by field.
50
- * This property is ignored unless you are sorting by field.
51
- */
52
- field?: string;
53
- }
54
- export interface ISearchInterfaceConfiguration {
55
- /**
56
- * The configuration identifier.
57
- */
58
- id: string;
59
- /**
60
- * The name of the search interface configuration.
61
- */
62
- name: string;
63
- /**
64
- * The title of the search interface configuration. Will be displayed as the HTML page title.
65
- */
66
- title: string;
67
- /**
68
- * The List of facets to display in the search interface.
69
- */
70
- facets: IFacet[];
71
- /**
72
- * The list of sorts to display in the search interface.
73
- */
74
- sortCriteria: ISortCriteria[];
75
- /**
76
- * The public access configuration.
77
- */
78
- accesses: IAccesses;
79
- }
80
- export interface ISearchInterfaceConfigurationResponse extends ISearchInterfaceConfiguration {
81
- /**
82
- * The creation timestamp. (ISO 8601)
83
- */
84
- created: string;
85
- /**
86
- * The creator principal.
87
- */
88
- createdBy: string;
89
- /**
90
- * The last update timestamp. (ISO 8601)
91
- */
92
- updated: string;
93
- /**
94
- * The last updated principal.
95
- */
96
- updatedBy: string;
97
- }
98
- export interface IListSearchInterfacesParameters extends Paginated {
99
- /**
100
- * A substring that must appear in a search interface configuration name for this configuration to appear in results.
101
- */
102
- filter?: string;
103
- /**
104
- * The sort direction of the results.<br />Possible values:<br /> - `asc`: ascending order<br /> - `desc`: descending order.
105
- */
106
- order?: 'desc' | 'asc';
107
- /**
108
- * The 0-based number of the page of configurations to list.
109
- */
110
- page?: number;
111
- /**
112
- * The maximum number of configurations to include per page.
113
- */
114
- perPage?: number;
115
- }
116
- export interface IManifestParameters {
117
- /**
118
- * The placeholders for the page.
119
- */
120
- pagePlaceholders?: IPagePlaceholders;
121
- }
122
- export interface IPagePlaceholders {
123
- /**
124
- * A placeholder for the result list and result templates.
125
- */
126
- results?: string;
127
- }
128
- export interface IManifestResponse {
129
- /**
130
- * The HTML markup of the search interface along with configured placeholders.
131
- */
132
- markup: string;
133
- /**
134
- * The Atomic results configuration information.
135
- */
136
- results: IPageManifestResults;
137
- /**
138
- * The Atomic related styling in CSS format.
139
- */
140
- style: IPageManifestStyle;
141
- /**
142
- * The complete search interface configuration.
143
- */
144
- config: ISearchInterfaceConfigurationResponse;
145
- }
146
- export interface IPageManifestResultTemplate {
147
- /**
148
- * The HTML markup of the content of the result template.
149
- */
150
- markup: string;
151
- /**
152
- * The Atomic [result template component](https://docs.coveo.com/en/atomic/latest/reference/components/atomic-result-template/)'s properties.
153
- */
154
- attributes: Record<string, string>;
155
- }
156
- export interface IPageManifestResults {
157
- /**
158
- * The placeholder for the result list and result templates.
159
- */
160
- placeholder?: string;
161
- /**
162
- * The Atomic [result list component](https://docs.coveo.com/en/atomic/latest/reference/components/atomic-result-list/#properties)'s properties.
163
- */
164
- attributes: Record<string, string>;
165
- /**
166
- * The Atomic result template configuration information.
167
- */
168
- templates: IPageManifestResultTemplate[];
169
- }
170
- export interface IPageManifestStyle {
171
- /**
172
- * The CSS to set [Atomic theme variables](https://docs.coveo.com/en/atomic/latest/usage/themes-and-visual-customization/#theme-variables).
173
- */
174
- theme: string;
175
- /**
176
- * The page layout CSS.
177
- */
178
- layout: string;
179
- }
1
+ import { Paginated } from '../BaseInterfaces';
2
+ import { SortingBy, SortingOrder } from '../Enums';
3
+ export interface IAccesses {
4
+ /**
5
+ * The list of users that are allowed to access the search interface.
6
+ */
7
+ users: string[];
8
+ /**
9
+ * The list of domains that are allowed to access the search interface.
10
+ */
11
+ domains: string[];
12
+ /**
13
+ * When set to true, all users can share and see the search page.
14
+ */
15
+ sharingLinkEnabled?: boolean;
16
+ /**
17
+ * When set to true, the domain sharing is enabled. Otherwise, only users that have explicitly access to the search page can access it.
18
+ */
19
+ sharingDomainEnabled?: boolean;
20
+ }
21
+ export interface IFacet {
22
+ /**
23
+ * The [field](https://docs.coveo.com/en/200) on which the facet is based.
24
+ */
25
+ field: string;
26
+ /**
27
+ * The label of the facet.
28
+ */
29
+ label: string;
30
+ }
31
+ export interface ISortCriteria {
32
+ /**
33
+ * Indicates the kind of sort criterion.
34
+ */
35
+ by: SortingBy;
36
+ /**
37
+ * Label of the sort criterion.
38
+ */
39
+ label: string;
40
+ /**
41
+ * Specify the sort order if applicable.
42
+ * Default value when sorting by date is descending.
43
+ * Default value when sorting by field is ascending.
44
+ * No sort order value is applicable when sorting by relevancy.
45
+ */
46
+ order?: SortingOrder;
47
+ /**
48
+ * The [field](https://docs.coveo.com/en/200) on which the sort is based on. For example: filetype.
49
+ * Required when sorting by field.
50
+ * This property is ignored unless you are sorting by field.
51
+ */
52
+ field?: string;
53
+ }
54
+ export interface ISearchInterfaceConfiguration {
55
+ /**
56
+ * The configuration identifier.
57
+ */
58
+ id: string;
59
+ /**
60
+ * The name of the search interface configuration.
61
+ */
62
+ name: string;
63
+ /**
64
+ * The title of the search interface configuration. Will be displayed as the HTML page title.
65
+ */
66
+ title: string;
67
+ /**
68
+ * The List of facets to display in the search interface.
69
+ */
70
+ facets: IFacet[];
71
+ /**
72
+ * The list of sorts to display in the search interface.
73
+ */
74
+ sortCriteria: ISortCriteria[];
75
+ /**
76
+ * The public access configuration.
77
+ */
78
+ accesses: IAccesses;
79
+ }
80
+ export interface ISearchInterfaceConfigurationResponse extends ISearchInterfaceConfiguration {
81
+ /**
82
+ * The creation timestamp. (ISO 8601)
83
+ */
84
+ created: string;
85
+ /**
86
+ * The creator principal.
87
+ */
88
+ createdBy: string;
89
+ /**
90
+ * The last update timestamp. (ISO 8601)
91
+ */
92
+ updated: string;
93
+ /**
94
+ * The last updated principal.
95
+ */
96
+ updatedBy: string;
97
+ }
98
+ export interface IListSearchInterfacesParameters extends Paginated {
99
+ /**
100
+ * A substring that must appear in a search interface configuration name for this configuration to appear in results.
101
+ */
102
+ filter?: string;
103
+ /**
104
+ * The sort direction of the results.<br />Possible values:<br /> - `asc`: ascending order<br /> - `desc`: descending order.
105
+ */
106
+ order?: 'desc' | 'asc';
107
+ /**
108
+ * The 0-based number of the page of configurations to list.
109
+ */
110
+ page?: number;
111
+ /**
112
+ * The maximum number of configurations to include per page.
113
+ */
114
+ perPage?: number;
115
+ }
116
+ export interface IManifestParameters {
117
+ /**
118
+ * The placeholders for the page.
119
+ */
120
+ pagePlaceholders?: IPagePlaceholders;
121
+ }
122
+ export interface IPagePlaceholders {
123
+ /**
124
+ * A placeholder for the result list and result templates.
125
+ */
126
+ results?: string;
127
+ }
128
+ export interface IManifestResponse {
129
+ /**
130
+ * The HTML markup of the search interface along with configured placeholders.
131
+ */
132
+ markup: string;
133
+ /**
134
+ * The Atomic results configuration information.
135
+ */
136
+ results: IPageManifestResults;
137
+ /**
138
+ * The Atomic related styling in CSS format.
139
+ */
140
+ style: IPageManifestStyle;
141
+ /**
142
+ * The complete search interface configuration.
143
+ */
144
+ config: ISearchInterfaceConfigurationResponse;
145
+ }
146
+ export interface IPageManifestResultTemplate {
147
+ /**
148
+ * The HTML markup of the content of the result template.
149
+ */
150
+ markup: string;
151
+ /**
152
+ * The Atomic [result template component](https://docs.coveo.com/en/atomic/latest/reference/components/atomic-result-template/)'s properties.
153
+ */
154
+ attributes: Record<string, string>;
155
+ }
156
+ export interface IPageManifestResults {
157
+ /**
158
+ * The placeholder for the result list and result templates.
159
+ */
160
+ placeholder?: string;
161
+ /**
162
+ * The Atomic [result list component](https://docs.coveo.com/en/atomic/latest/reference/components/atomic-result-list/#properties)'s properties.
163
+ */
164
+ attributes: Record<string, string>;
165
+ /**
166
+ * The Atomic result template configuration information.
167
+ */
168
+ templates: IPageManifestResultTemplate[];
169
+ }
170
+ export interface IPageManifestStyle {
171
+ /**
172
+ * The CSS to set [Atomic theme variables](https://docs.coveo.com/en/atomic/latest/usage/themes-and-visual-customization/#theme-variables).
173
+ */
174
+ theme: string;
175
+ /**
176
+ * The page layout CSS.
177
+ */
178
+ layout: string;
179
+ }
@@ -1,2 +1,2 @@
1
- export * from './SearchInterfaces';
2
- export * from './SearchInterfaces.model';
1
+ export * from './SearchInterfaces';
2
+ export * from './SearchInterfaces.model';
@@ -1,20 +1,20 @@
1
- import Resource from '../Resource';
2
- import { SearchPageModel, ListSearchPagesParams, CreateSearchPageModel, UpdateSearchPageModel, SearchPageVersionModel, MajorMinorVersion, SearchPageHeadersModel, ReorderSearchPageHeadersModel, JavaScriptResourceModel, CSSResourceModel } from './SearchPagesInterfaces';
3
- export default class SearchPages extends Resource {
4
- static baseUrl: string;
5
- list(params?: ListSearchPagesParams): Promise<SearchPageModel[]>;
6
- create(page: CreateSearchPageModel): Promise<SearchPageModel>;
7
- delete(pageId: string): Promise<Record<string, unknown>>;
8
- get(pageId: string): Promise<SearchPageModel>;
9
- update(pageId: string, page: UpdateSearchPageModel): Promise<Record<string, unknown>>;
10
- getVersion(pageId: string): Promise<SearchPageVersionModel>;
11
- updateVersion(pageId: string, version: MajorMinorVersion): Promise<Record<string, unknown>>;
12
- getHeaders(pageId: string): Promise<SearchPageHeadersModel>;
13
- reorderHeaders(pageId: string, resources: ReorderSearchPageHeadersModel): Promise<SearchPageHeadersModel>;
14
- createCssResource(pageId: string, resource: CSSResourceModel): Promise<SearchPageHeadersModel>;
15
- updateCssResource(pageId: string, resourceName: string, resource: CSSResourceModel): Promise<SearchPageHeadersModel>;
16
- deleteCssResource(pageId: string, resourceName: string): Promise<Record<string, unknown>>;
17
- createJsResource(pageId: string, resource: JavaScriptResourceModel): Promise<SearchPageHeadersModel>;
18
- updateJsResource(pageId: string, resourceName: string, resource: JavaScriptResourceModel): Promise<SearchPageHeadersModel>;
19
- deleteJsResource(pageId: string, resourceName: string): Promise<Record<string, unknown>>;
20
- }
1
+ import Resource from '../Resource';
2
+ import { SearchPageModel, ListSearchPagesParams, CreateSearchPageModel, UpdateSearchPageModel, SearchPageVersionModel, MajorMinorVersion, SearchPageHeadersModel, ReorderSearchPageHeadersModel, JavaScriptResourceModel, CSSResourceModel } from './SearchPagesInterfaces';
3
+ export default class SearchPages extends Resource {
4
+ static baseUrl: string;
5
+ list(params?: ListSearchPagesParams): Promise<SearchPageModel[]>;
6
+ create(page: CreateSearchPageModel): Promise<SearchPageModel>;
7
+ delete(pageId: string): Promise<Record<string, unknown>>;
8
+ get(pageId: string): Promise<SearchPageModel>;
9
+ update(pageId: string, page: UpdateSearchPageModel): Promise<Record<string, unknown>>;
10
+ getVersion(pageId: string): Promise<SearchPageVersionModel>;
11
+ updateVersion(pageId: string, version: MajorMinorVersion): Promise<Record<string, unknown>>;
12
+ getHeaders(pageId: string): Promise<SearchPageHeadersModel>;
13
+ reorderHeaders(pageId: string, resources: ReorderSearchPageHeadersModel): Promise<SearchPageHeadersModel>;
14
+ createCssResource(pageId: string, resource: CSSResourceModel): Promise<SearchPageHeadersModel>;
15
+ updateCssResource(pageId: string, resourceName: string, resource: CSSResourceModel): Promise<SearchPageHeadersModel>;
16
+ deleteCssResource(pageId: string, resourceName: string): Promise<Record<string, unknown>>;
17
+ createJsResource(pageId: string, resource: JavaScriptResourceModel): Promise<SearchPageHeadersModel>;
18
+ updateJsResource(pageId: string, resourceName: string, resource: JavaScriptResourceModel): Promise<SearchPageHeadersModel>;
19
+ deleteJsResource(pageId: string, resourceName: string): Promise<Record<string, unknown>>;
20
+ }
@@ -1,42 +1,42 @@
1
- import { GranularResource } from '../BaseInterfaces';
2
- export interface SearchPageModel extends GranularResource {
3
- id: string;
4
- name: string;
5
- title: string;
6
- filter?: string;
7
- html?: string;
8
- javascript?: JavaScriptResourceModel[];
9
- css?: CSSResourceModel[];
10
- lastModified?: string;
11
- }
12
- export interface CreateSearchPageModel extends Pick<SearchPageModel, 'name' | 'title'> {
13
- }
14
- export interface UpdateSearchPageModel extends Pick<SearchPageModel, 'name' | 'title' | 'html'> {
15
- }
16
- export declare type JavaScriptResourceModel = SearchPageResourceModel;
17
- export declare type CSSResourceModel = SearchPageResourceModel;
18
- export declare type SearchPageResourceModel = SearchPageResourceModelWithUrl | SearchPageResourceModelWithInlineContent;
19
- export interface SearchPageResourceModelBasics {
20
- name: string;
21
- }
22
- export interface SearchPageResourceModelWithUrl extends SearchPageResourceModelBasics {
23
- url: string;
24
- }
25
- export interface SearchPageResourceModelWithInlineContent extends SearchPageResourceModelBasics {
26
- inlineContent: string;
27
- }
28
- export interface SearchPageVersionModel {
29
- current?: MajorMinorVersion;
30
- available: MajorMinorVersion[];
31
- latest: MajorMinorVersion;
32
- upgradable: boolean;
33
- }
34
- export interface ListSearchPagesParams {
35
- name?: string;
36
- }
37
- export interface MajorMinorVersion {
38
- major: string;
39
- minor: string;
40
- }
41
- export declare type SearchPageHeadersModel = Pick<SearchPageModel, 'css' | 'javascript'>;
42
- export declare type ReorderSearchPageHeadersModel = Record<'css' | 'javascript', string[]>;
1
+ import { GranularResource } from '../BaseInterfaces';
2
+ export interface SearchPageModel extends GranularResource {
3
+ id: string;
4
+ name: string;
5
+ title: string;
6
+ filter?: string;
7
+ html?: string;
8
+ javascript?: JavaScriptResourceModel[];
9
+ css?: CSSResourceModel[];
10
+ lastModified?: string;
11
+ }
12
+ export interface CreateSearchPageModel extends Pick<SearchPageModel, 'name' | 'title'> {
13
+ }
14
+ export interface UpdateSearchPageModel extends Pick<SearchPageModel, 'name' | 'title' | 'html'> {
15
+ }
16
+ export declare type JavaScriptResourceModel = SearchPageResourceModel;
17
+ export declare type CSSResourceModel = SearchPageResourceModel;
18
+ export declare type SearchPageResourceModel = SearchPageResourceModelWithUrl | SearchPageResourceModelWithInlineContent;
19
+ export interface SearchPageResourceModelBasics {
20
+ name: string;
21
+ }
22
+ export interface SearchPageResourceModelWithUrl extends SearchPageResourceModelBasics {
23
+ url: string;
24
+ }
25
+ export interface SearchPageResourceModelWithInlineContent extends SearchPageResourceModelBasics {
26
+ inlineContent: string;
27
+ }
28
+ export interface SearchPageVersionModel {
29
+ current?: MajorMinorVersion;
30
+ available: MajorMinorVersion[];
31
+ latest: MajorMinorVersion;
32
+ upgradable: boolean;
33
+ }
34
+ export interface ListSearchPagesParams {
35
+ name?: string;
36
+ }
37
+ export interface MajorMinorVersion {
38
+ major: string;
39
+ minor: string;
40
+ }
41
+ export declare type SearchPageHeadersModel = Pick<SearchPageModel, 'css' | 'javascript'>;
42
+ export declare type ReorderSearchPageHeadersModel = Record<'css' | 'javascript', string[]>;
@@ -1,2 +1,2 @@
1
- export * from './SearchPages';
2
- export * from './SearchPagesInterfaces';
1
+ export * from './SearchPages';
2
+ export * from './SearchPagesInterfaces';
@@ -1,7 +1,8 @@
1
- import Resource from '../../Resource';
2
- import { ListLicenseMonthlyParams, RestListOfMetricsModel, RestListOfMetricValues } from './LicenseMetricsInterface';
3
- export default class LicenseMetrics extends Resource {
4
- static baseUrl: string;
5
- listInUse(): Promise<RestListOfMetricsModel>;
6
- listMonthly(metric: string, params: ListLicenseMonthlyParams): Promise<RestListOfMetricValues>;
7
- }
1
+ import Resource from '../../Resource';
2
+ import { ListLicenseMonthlyParams, RestListOfMetricsModel, RestListOfMetricValues } from './LicenseMetricsInterface';
3
+ export default class LicenseMetrics extends Resource {
4
+ static baseUrl: string;
5
+ listAssignable(): Promise<RestListOfMetricsModel>;
6
+ listInUse(): Promise<RestListOfMetricsModel>;
7
+ listMonthly(metric: string, params: ListLicenseMonthlyParams): Promise<RestListOfMetricValues>;
8
+ }
@@ -1,49 +1,49 @@
1
- export interface RestListOfMetricsModel {
2
- /**
3
- * The list of metrics
4
- */
5
- metrics: RestMetricsModel[];
6
- }
7
- export interface RestMetricsModel {
8
- /**
9
- * The id of the metric
10
- */
11
- id: string;
12
- /**
13
- * The display name of the metric
14
- */
15
- label?: string;
16
- }
17
- export interface RestListOfMetricValues {
18
- /**
19
- * The list of daily metric values
20
- */
21
- values: RestMetricValueForDate[];
22
- }
23
- export interface RestMetricValueForDate {
24
- /**
25
- * The date for the usage metric value
26
- */
27
- date: string;
28
- /**
29
- * The numeric metric value
30
- */
31
- value: number;
32
- }
33
- export interface ListLicenseMonthlyParams {
34
- /**
35
- * When appropriate, the size of the sliding window to use, in months.
36
- * If this parameter is not specified the default sliding window for the metric will be used
37
- */
38
- slidingWindow?: number;
39
- /**
40
- * the last month to report for.
41
- * format YYYY-MM
42
- */
43
- to: string;
44
- /**
45
- * the first month to report for.
46
- * format YYYY-MM
47
- */
48
- from: string;
49
- }
1
+ export interface RestListOfMetricsModel {
2
+ /**
3
+ * The list of metrics
4
+ */
5
+ metrics: RestMetricsModel[];
6
+ }
7
+ export interface RestMetricsModel {
8
+ /**
9
+ * The id of the metric
10
+ */
11
+ id: string;
12
+ /**
13
+ * The display name of the metric
14
+ */
15
+ label?: string;
16
+ }
17
+ export interface RestListOfMetricValues {
18
+ /**
19
+ * The list of daily metric values
20
+ */
21
+ values: RestMetricValueForDate[];
22
+ }
23
+ export interface RestMetricValueForDate {
24
+ /**
25
+ * The date for the usage metric value
26
+ */
27
+ date: string;
28
+ /**
29
+ * The numeric metric value
30
+ */
31
+ value: number;
32
+ }
33
+ export interface ListLicenseMonthlyParams {
34
+ /**
35
+ * When appropriate, the size of the sliding window to use, in months.
36
+ * If this parameter is not specified the default sliding window for the metric will be used
37
+ */
38
+ slidingWindow?: number;
39
+ /**
40
+ * the last month to report for.
41
+ * format YYYY-MM
42
+ */
43
+ to: string;
44
+ /**
45
+ * the first month to report for.
46
+ * format YYYY-MM
47
+ */
48
+ from: string;
49
+ }