@coveo/platform-client 55.13.2 → 56.0.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 (271) hide show
  1. package/dist/cjs/APICore.js +17 -4
  2. package/dist/cjs/APICore.js.map +1 -1
  3. package/dist/cjs/handlers/request/RequestHandlers.js +2 -1
  4. package/dist/cjs/handlers/request/RequestHandlers.js.map +1 -1
  5. package/dist/cjs/handlers/response/ResponseHandlers.js +14 -8
  6. package/dist/cjs/handlers/response/ResponseHandlers.js.map +1 -1
  7. package/dist/cjs/resources/Activities/Activities.js +4 -5
  8. package/dist/cjs/resources/Activities/Activities.js.map +1 -1
  9. package/dist/cjs/resources/AnalyticsAdmin/Properties/Properties.js +7 -6
  10. package/dist/cjs/resources/AnalyticsAdmin/Properties/Properties.js.map +1 -1
  11. package/dist/cjs/resources/ApiKeys/ApiKeys.js.map +1 -1
  12. package/dist/cjs/resources/Catalogs/Catalog.js +2 -1
  13. package/dist/cjs/resources/Catalogs/Catalog.js.map +1 -1
  14. package/dist/cjs/resources/Catalogs/ProductListing.js +10 -0
  15. package/dist/cjs/resources/Catalogs/ProductListing.js.map +1 -1
  16. package/dist/cjs/resources/Catalogs/ProductListingConfiguration.js +16 -0
  17. package/dist/cjs/resources/Catalogs/ProductListingConfiguration.js.map +1 -1
  18. package/dist/cjs/resources/Enums.js.map +1 -1
  19. package/dist/cjs/resources/Extensions/Extensions.js +4 -2
  20. package/dist/cjs/resources/Extensions/Extensions.js.map +1 -1
  21. package/dist/cjs/resources/Fields/Fields.js +1 -0
  22. package/dist/cjs/resources/Fields/Fields.js.map +1 -1
  23. package/dist/cjs/resources/InProductExperiences/InProductExperiences.js +1 -0
  24. package/dist/cjs/resources/InProductExperiences/InProductExperiences.js.map +1 -1
  25. package/dist/cjs/resources/InProductExperiences/InProductExperiencesInterfaces.js +0 -2
  26. package/dist/cjs/resources/InProductExperiences/InProductExperiencesInterfaces.js.map +1 -1
  27. package/dist/cjs/resources/Indexes/Documents/Documents.js +5 -8
  28. package/dist/cjs/resources/Indexes/Documents/Documents.js.map +1 -1
  29. package/dist/cjs/resources/License/LicenseInterfaces.js.map +1 -1
  30. package/dist/cjs/resources/Limits/Limits.js +0 -1
  31. package/dist/cjs/resources/Limits/Limits.js.map +1 -1
  32. package/dist/cjs/resources/MachineLearning/CaseClassificationConfiguration/CaseClassificationConfiguration.js +4 -0
  33. package/dist/cjs/resources/MachineLearning/CaseClassificationConfiguration/CaseClassificationConfiguration.js.map +1 -1
  34. package/dist/cjs/resources/Organizations/Members/Members.js +3 -5
  35. package/dist/cjs/resources/Organizations/Members/Members.js.map +1 -1
  36. package/dist/cjs/resources/Organizations/Organization.js +2 -0
  37. package/dist/cjs/resources/Organizations/Organization.js.map +1 -1
  38. package/dist/cjs/resources/Organizations/OrganizationInterfaces.js.map +1 -1
  39. package/dist/cjs/resources/Pipelines/Conditions/Condition.js +6 -12
  40. package/dist/cjs/resources/Pipelines/Conditions/Condition.js.map +1 -1
  41. package/dist/cjs/resources/Pipelines/ResultRankings/ResultRankings.js +0 -1
  42. package/dist/cjs/resources/Pipelines/ResultRankings/ResultRankings.js.map +1 -1
  43. package/dist/cjs/resources/Pipelines/StatementGroups/StatementGroupsInterfaces.js.map +1 -1
  44. package/dist/cjs/resources/Pipelines/Statements/Statements.js +34 -44
  45. package/dist/cjs/resources/Pipelines/Statements/Statements.js.map +1 -1
  46. package/dist/cjs/resources/PrivilegeEvaluator/PrivilegeEvaluator.js +1 -2
  47. package/dist/cjs/resources/PrivilegeEvaluator/PrivilegeEvaluator.js.map +1 -1
  48. package/dist/cjs/resources/Products/Product.js +2 -0
  49. package/dist/cjs/resources/Products/Product.js.map +1 -1
  50. package/dist/cjs/resources/Projects/Project.js +19 -27
  51. package/dist/cjs/resources/Projects/Project.js.map +1 -1
  52. package/dist/cjs/resources/Projects/ProjectInterfaces.js +0 -2
  53. package/dist/cjs/resources/Projects/ProjectInterfaces.js.map +1 -1
  54. package/dist/cjs/resources/Resource.js +1 -1
  55. package/dist/cjs/resources/Resource.js.map +1 -1
  56. package/dist/cjs/resources/ResourceSnapshots/ResourceSnapshots.js +10 -11
  57. package/dist/cjs/resources/ResourceSnapshots/ResourceSnapshots.js.map +1 -1
  58. package/dist/cjs/resources/ResourceSnapshots/ResourceSnapshotsInterfaces.js.map +1 -1
  59. package/dist/cjs/resources/Resources/Resources.js +2 -3
  60. package/dist/cjs/resources/Resources/Resources.js.map +1 -1
  61. package/dist/cjs/resources/SchemaService/SchemaService.js +15 -21
  62. package/dist/cjs/resources/SchemaService/SchemaService.js.map +1 -1
  63. package/dist/cjs/resources/Search/Search.js +12 -1
  64. package/dist/cjs/resources/Search/Search.js.map +1 -1
  65. package/dist/cjs/resources/SearchAnalysis/SearchAnalysis.js +0 -1
  66. package/dist/cjs/resources/SearchAnalysis/SearchAnalysis.js.map +1 -1
  67. package/dist/cjs/resources/Sources/Sources.js +1 -0
  68. package/dist/cjs/resources/Sources/Sources.js.map +1 -1
  69. package/dist/cjs/resources/UsageAnalytics/Read/Administration/Administration.js +1 -1
  70. package/dist/cjs/resources/UsageAnalytics/Read/Administration/Administration.js.map +1 -1
  71. package/dist/cjs/resources/UsageAnalytics/Read/DataHealth/DataHealth.js +8 -2
  72. package/dist/cjs/resources/UsageAnalytics/Read/DataHealth/DataHealth.js.map +1 -1
  73. package/dist/cjs/resources/UsageAnalytics/Read/DataShare/DataShare.js +2 -0
  74. package/dist/cjs/resources/UsageAnalytics/Read/DataShare/DataShare.js.map +1 -1
  75. package/dist/cjs/resources/UsageAnalytics/Read/Dimensions/Dimensions.js +8 -8
  76. package/dist/cjs/resources/UsageAnalytics/Read/Dimensions/Dimensions.js.map +1 -1
  77. package/dist/cjs/resources/UsageAnalytics/Read/Exports/Exports.js +3 -13
  78. package/dist/cjs/resources/UsageAnalytics/Read/Exports/Exports.js.map +1 -1
  79. package/dist/cjs/resources/UsageAnalytics/Read/Filters/Filters.js +7 -9
  80. package/dist/cjs/resources/UsageAnalytics/Read/Filters/Filters.js.map +1 -1
  81. package/dist/cjs/resources/UsageAnalytics/Read/ReadServiceResource.js +0 -1
  82. package/dist/cjs/resources/UsageAnalytics/Read/ReadServiceResource.js.map +1 -1
  83. package/dist/cjs/resources/UsageAnalytics/Read/Reports/Reports.js +8 -9
  84. package/dist/cjs/resources/UsageAnalytics/Read/Reports/Reports.js.map +1 -1
  85. package/dist/cjs/resources/UsageAnalytics/Read/Snowflake/Snowflake.js +0 -7
  86. package/dist/cjs/resources/UsageAnalytics/Read/Snowflake/Snowflake.js.map +1 -1
  87. package/dist/cjs/resources/UsageAnalytics/Read/Statistics/Statistics.js +10 -1
  88. package/dist/cjs/resources/UsageAnalytics/Read/Statistics/Statistics.js.map +1 -1
  89. package/dist/cjs/resources/UsageAnalytics/Read/UAUsers/UAUsers.js +4 -5
  90. package/dist/cjs/resources/UsageAnalytics/Read/UAUsers/UAUsers.js.map +1 -1
  91. package/dist/cjs/resources/Vaults/Vaults.js +6 -10
  92. package/dist/cjs/resources/Vaults/Vaults.js.map +1 -1
  93. package/dist/cjs/utils/createFetcher.js +0 -1
  94. package/dist/cjs/utils/createFetcher.js.map +1 -1
  95. package/dist/cjs/utils/normalizePaginatedOptions.js +3 -0
  96. package/dist/cjs/utils/normalizePaginatedOptions.js.map +1 -1
  97. package/dist/cjs/utils/stringifyNestedObjects.js.map +1 -1
  98. package/dist/esm/APICore.js +17 -4
  99. package/dist/esm/APICore.js.map +1 -1
  100. package/dist/esm/handlers/request/RequestHandlers.js +2 -1
  101. package/dist/esm/handlers/request/RequestHandlers.js.map +1 -1
  102. package/dist/esm/handlers/response/ResponseHandlers.js +14 -8
  103. package/dist/esm/handlers/response/ResponseHandlers.js.map +1 -1
  104. package/dist/esm/resources/Activities/Activities.js +4 -5
  105. package/dist/esm/resources/Activities/Activities.js.map +1 -1
  106. package/dist/esm/resources/AnalyticsAdmin/Properties/Properties.js +7 -6
  107. package/dist/esm/resources/AnalyticsAdmin/Properties/Properties.js.map +1 -1
  108. package/dist/esm/resources/ApiKeys/ApiKeys.js.map +1 -1
  109. package/dist/esm/resources/Catalogs/Catalog.js +2 -1
  110. package/dist/esm/resources/Catalogs/Catalog.js.map +1 -1
  111. package/dist/esm/resources/Catalogs/ProductListing.js +10 -0
  112. package/dist/esm/resources/Catalogs/ProductListing.js.map +1 -1
  113. package/dist/esm/resources/Catalogs/ProductListingConfiguration.js +16 -0
  114. package/dist/esm/resources/Catalogs/ProductListingConfiguration.js.map +1 -1
  115. package/dist/esm/resources/Enums.js.map +1 -1
  116. package/dist/esm/resources/Extensions/Extensions.js +4 -2
  117. package/dist/esm/resources/Extensions/Extensions.js.map +1 -1
  118. package/dist/esm/resources/Fields/Fields.js +1 -0
  119. package/dist/esm/resources/Fields/Fields.js.map +1 -1
  120. package/dist/esm/resources/InProductExperiences/InProductExperiences.js +1 -0
  121. package/dist/esm/resources/InProductExperiences/InProductExperiences.js.map +1 -1
  122. package/dist/esm/resources/InProductExperiences/InProductExperiencesInterfaces.js +0 -2
  123. package/dist/esm/resources/InProductExperiences/InProductExperiencesInterfaces.js.map +1 -1
  124. package/dist/esm/resources/Indexes/Documents/Documents.js +5 -8
  125. package/dist/esm/resources/Indexes/Documents/Documents.js.map +1 -1
  126. package/dist/esm/resources/License/LicenseInterfaces.js.map +1 -1
  127. package/dist/esm/resources/Limits/Limits.js +0 -1
  128. package/dist/esm/resources/Limits/Limits.js.map +1 -1
  129. package/dist/esm/resources/MachineLearning/CaseClassificationConfiguration/CaseClassificationConfiguration.js +4 -0
  130. package/dist/esm/resources/MachineLearning/CaseClassificationConfiguration/CaseClassificationConfiguration.js.map +1 -1
  131. package/dist/esm/resources/Organizations/Members/Members.js +3 -5
  132. package/dist/esm/resources/Organizations/Members/Members.js.map +1 -1
  133. package/dist/esm/resources/Organizations/Organization.js +2 -0
  134. package/dist/esm/resources/Organizations/Organization.js.map +1 -1
  135. package/dist/esm/resources/Organizations/OrganizationInterfaces.js.map +1 -1
  136. package/dist/esm/resources/Pipelines/Conditions/Condition.js +6 -12
  137. package/dist/esm/resources/Pipelines/Conditions/Condition.js.map +1 -1
  138. package/dist/esm/resources/Pipelines/ResultRankings/ResultRankings.js +0 -1
  139. package/dist/esm/resources/Pipelines/ResultRankings/ResultRankings.js.map +1 -1
  140. package/dist/esm/resources/Pipelines/StatementGroups/StatementGroupsInterfaces.js.map +1 -1
  141. package/dist/esm/resources/Pipelines/Statements/Statements.js +34 -44
  142. package/dist/esm/resources/Pipelines/Statements/Statements.js.map +1 -1
  143. package/dist/esm/resources/PrivilegeEvaluator/PrivilegeEvaluator.js +1 -2
  144. package/dist/esm/resources/PrivilegeEvaluator/PrivilegeEvaluator.js.map +1 -1
  145. package/dist/esm/resources/Products/Product.js +2 -0
  146. package/dist/esm/resources/Products/Product.js.map +1 -1
  147. package/dist/esm/resources/Projects/Project.js +19 -27
  148. package/dist/esm/resources/Projects/Project.js.map +1 -1
  149. package/dist/esm/resources/Projects/ProjectInterfaces.js +0 -2
  150. package/dist/esm/resources/Projects/ProjectInterfaces.js.map +1 -1
  151. package/dist/esm/resources/Resource.js +1 -1
  152. package/dist/esm/resources/Resource.js.map +1 -1
  153. package/dist/esm/resources/ResourceSnapshots/ResourceSnapshots.js +10 -11
  154. package/dist/esm/resources/ResourceSnapshots/ResourceSnapshots.js.map +1 -1
  155. package/dist/esm/resources/ResourceSnapshots/ResourceSnapshotsInterfaces.js.map +1 -1
  156. package/dist/esm/resources/Resources/Resources.js +2 -3
  157. package/dist/esm/resources/Resources/Resources.js.map +1 -1
  158. package/dist/esm/resources/SchemaService/SchemaService.js +15 -21
  159. package/dist/esm/resources/SchemaService/SchemaService.js.map +1 -1
  160. package/dist/esm/resources/Search/Search.js +12 -1
  161. package/dist/esm/resources/Search/Search.js.map +1 -1
  162. package/dist/esm/resources/SearchAnalysis/SearchAnalysis.js +0 -1
  163. package/dist/esm/resources/SearchAnalysis/SearchAnalysis.js.map +1 -1
  164. package/dist/esm/resources/Sources/Sources.js +1 -0
  165. package/dist/esm/resources/Sources/Sources.js.map +1 -1
  166. package/dist/esm/resources/UsageAnalytics/Read/Administration/Administration.js +1 -1
  167. package/dist/esm/resources/UsageAnalytics/Read/Administration/Administration.js.map +1 -1
  168. package/dist/esm/resources/UsageAnalytics/Read/DataHealth/DataHealth.js +8 -2
  169. package/dist/esm/resources/UsageAnalytics/Read/DataHealth/DataHealth.js.map +1 -1
  170. package/dist/esm/resources/UsageAnalytics/Read/DataShare/DataShare.js +2 -0
  171. package/dist/esm/resources/UsageAnalytics/Read/DataShare/DataShare.js.map +1 -1
  172. package/dist/esm/resources/UsageAnalytics/Read/Dimensions/Dimensions.js +8 -8
  173. package/dist/esm/resources/UsageAnalytics/Read/Dimensions/Dimensions.js.map +1 -1
  174. package/dist/esm/resources/UsageAnalytics/Read/Exports/Exports.js +3 -13
  175. package/dist/esm/resources/UsageAnalytics/Read/Exports/Exports.js.map +1 -1
  176. package/dist/esm/resources/UsageAnalytics/Read/Filters/Filters.js +7 -9
  177. package/dist/esm/resources/UsageAnalytics/Read/Filters/Filters.js.map +1 -1
  178. package/dist/esm/resources/UsageAnalytics/Read/ReadServiceResource.js +0 -1
  179. package/dist/esm/resources/UsageAnalytics/Read/ReadServiceResource.js.map +1 -1
  180. package/dist/esm/resources/UsageAnalytics/Read/Reports/Reports.js +8 -9
  181. package/dist/esm/resources/UsageAnalytics/Read/Reports/Reports.js.map +1 -1
  182. package/dist/esm/resources/UsageAnalytics/Read/Snowflake/Snowflake.js +0 -7
  183. package/dist/esm/resources/UsageAnalytics/Read/Snowflake/Snowflake.js.map +1 -1
  184. package/dist/esm/resources/UsageAnalytics/Read/Statistics/Statistics.js +10 -1
  185. package/dist/esm/resources/UsageAnalytics/Read/Statistics/Statistics.js.map +1 -1
  186. package/dist/esm/resources/UsageAnalytics/Read/UAUsers/UAUsers.js +4 -5
  187. package/dist/esm/resources/UsageAnalytics/Read/UAUsers/UAUsers.js.map +1 -1
  188. package/dist/esm/resources/Vaults/Vaults.js +6 -10
  189. package/dist/esm/resources/Vaults/Vaults.js.map +1 -1
  190. package/dist/esm/utils/createFetcher.js +0 -1
  191. package/dist/esm/utils/createFetcher.js.map +1 -1
  192. package/dist/esm/utils/normalizePaginatedOptions.js +3 -0
  193. package/dist/esm/utils/normalizePaginatedOptions.js.map +1 -1
  194. package/dist/esm/utils/stringifyNestedObjects.js.map +1 -1
  195. package/dist/types/APICore.d.ts +3 -3
  196. package/dist/types/handlers/request/RequestHandlerInterfaces.d.ts +0 -1
  197. package/dist/types/handlers/response/ResponseHandlers.d.ts +8 -2
  198. package/dist/types/resources/Activities/Activities.d.ts +2 -3
  199. package/dist/types/resources/AnalyticsAdmin/Properties/Properties.d.ts +8 -7
  200. package/dist/types/resources/CaseAssistConfigs/CaseAssistConfigInterfaces.d.ts +1 -2
  201. package/dist/types/resources/Catalogs/Catalog.d.ts +2 -0
  202. package/dist/types/resources/Catalogs/ProductListing.d.ts +10 -0
  203. package/dist/types/resources/Catalogs/ProductListingConfiguration.d.ts +16 -0
  204. package/dist/types/resources/CrawlingModule/CrawlingModuleInterfaces.d.ts +0 -4
  205. package/dist/types/resources/Extensions/Extensions.d.ts +4 -2
  206. package/dist/types/resources/Extensions/ExtensionsInterfaces.d.ts +0 -2
  207. package/dist/types/resources/Fields/Fields.d.ts +1 -0
  208. package/dist/types/resources/HostedInterfacesCore/HostedInterfaceVersionsCore.d.ts +0 -5
  209. package/dist/types/resources/IPXInterfaces/IPXInterface.model.d.ts +4 -8
  210. package/dist/types/resources/InProductExperiences/InProductExperiences.d.ts +1 -0
  211. package/dist/types/resources/InProductExperiences/InProductExperiencesInterfaces.d.ts +0 -1
  212. package/dist/types/resources/Indexes/Documents/Documents.d.ts +5 -8
  213. package/dist/types/resources/InsightPanelConfigs/InsightPanelConfigInterfaces.d.ts +0 -5
  214. package/dist/types/resources/InsightPanelInterfaces/InsightPanelInterface.model.d.ts +7 -14
  215. package/dist/types/resources/InternalBaseInterface.d.ts +0 -1
  216. package/dist/types/resources/Limits/Limits.d.ts +0 -1
  217. package/dist/types/resources/MachineLearning/CaseClassificationConfiguration/CaseClassificationConfiguration.d.ts +4 -0
  218. package/dist/types/resources/MachineLearning/DocumentInterfaces.d.ts +0 -1
  219. package/dist/types/resources/MachineLearning/IAPRConfiguration/IAPRConfigurationInterfaces.d.ts +0 -1
  220. package/dist/types/resources/MachineLearning/ModelListing/ModelListingInterfaces.d.ts +1 -14
  221. package/dist/types/resources/MachineLearning/PQSConfiguration/PQSConfigurationInterfaces.d.ts +0 -1
  222. package/dist/types/resources/MachineLearning/RGAConfiguration/RelevanceGenerativeAnsweringConfigurationInterface.d.ts +0 -2
  223. package/dist/types/resources/MachineLearning/SemanticEncoderConfiguration/SemanticEncoderConfigurationInterfaces.d.ts +0 -2
  224. package/dist/types/resources/MachineLearning/SmartSnippetsConfiguration/SmartSnippetsConfigurationInterfaces.d.ts +0 -2
  225. package/dist/types/resources/Organizations/Members/Members.d.ts +3 -5
  226. package/dist/types/resources/Organizations/Organization.d.ts +3 -1
  227. package/dist/types/resources/Organizations/OrganizationInterfaces.d.ts +1 -7
  228. package/dist/types/resources/Pipelines/Conditions/Condition.d.ts +6 -12
  229. package/dist/types/resources/Pipelines/Conditions/ConditionInterfaces.d.ts +0 -2
  230. package/dist/types/resources/Pipelines/MLAssociations/MLAssociationsInterfaces.d.ts +1 -2
  231. package/dist/types/resources/Pipelines/PipelinesInterfaces.d.ts +0 -15
  232. package/dist/types/resources/Pipelines/ResultRankings/ResultRankings.d.ts +0 -1
  233. package/dist/types/resources/Pipelines/ResultRankings/ResultRankingsInterfaces.d.ts +0 -1
  234. package/dist/types/resources/Pipelines/StatementGroups/StatementGroupsInterfaces.d.ts +2 -12
  235. package/dist/types/resources/Pipelines/Statements/Statements.d.ts +34 -44
  236. package/dist/types/resources/PrivilegeEvaluator/PrivilegeEvaluator.d.ts +1 -2
  237. package/dist/types/resources/Products/Product.d.ts +2 -0
  238. package/dist/types/resources/Projects/Project.d.ts +19 -27
  239. package/dist/types/resources/Projects/ProjectInterfaces.d.ts +0 -9
  240. package/dist/types/resources/Resource.d.ts +1 -1
  241. package/dist/types/resources/ResourceSnapshots/ResourceSnapshots.d.ts +10 -11
  242. package/dist/types/resources/ResourceSnapshots/ResourceSnapshotsInterfaces.d.ts +0 -5
  243. package/dist/types/resources/Resources/Resources.d.ts +2 -3
  244. package/dist/types/resources/SchemaService/SchemaService.d.ts +16 -24
  245. package/dist/types/resources/SchemaService/SchemaServiceInterfaces.d.ts +1 -2
  246. package/dist/types/resources/Search/Search.d.ts +11 -1
  247. package/dist/types/resources/Search/SearchInterfaces.d.ts +2 -196
  248. package/dist/types/resources/SearchAnalysis/SearchAnalysis.d.ts +0 -1
  249. package/dist/types/resources/SearchPages/SearchPagesInterfaces.d.ts +2 -4
  250. package/dist/types/resources/SearchUsageMetrics/SearchHubs/SearchHubsInterface.d.ts +0 -3
  251. package/dist/types/resources/Sources/Sources.d.ts +1 -0
  252. package/dist/types/resources/UsageAnalytics/Read/Administration/Administration.d.ts +1 -1
  253. package/dist/types/resources/UsageAnalytics/Read/DataHealth/DataHealth.d.ts +9 -3
  254. package/dist/types/resources/UsageAnalytics/Read/DataShare/DataShare.d.ts +2 -0
  255. package/dist/types/resources/UsageAnalytics/Read/Dimensions/Dimensions.d.ts +8 -8
  256. package/dist/types/resources/UsageAnalytics/Read/Dimensions/DimensionsInterfaces.d.ts +0 -1
  257. package/dist/types/resources/UsageAnalytics/Read/Exports/Exports.d.ts +3 -13
  258. package/dist/types/resources/UsageAnalytics/Read/Filters/Filters.d.ts +7 -9
  259. package/dist/types/resources/UsageAnalytics/Read/ReadServiceResource.d.ts +1 -2
  260. package/dist/types/resources/UsageAnalytics/Read/Reports/Reports.d.ts +8 -9
  261. package/dist/types/resources/UsageAnalytics/Read/Reports/ReportsInterfaces.d.ts +1 -2
  262. package/dist/types/resources/UsageAnalytics/Read/Snowflake/Snowflake.d.ts +0 -7
  263. package/dist/types/resources/UsageAnalytics/Read/Snowflake/SnowflakeInterfaces.d.ts +1 -2
  264. package/dist/types/resources/UsageAnalytics/Read/Statistics/Statistics.d.ts +10 -1
  265. package/dist/types/resources/UsageAnalytics/Read/Statistics/StatisticsInterfaces.d.ts +2 -4
  266. package/dist/types/resources/UsageAnalytics/Read/UAUsers/UAUsers.d.ts +4 -5
  267. package/dist/types/resources/Users/UserInterfaces.d.ts +1 -1
  268. package/dist/types/resources/Vaults/Vaults.d.ts +6 -10
  269. package/dist/types/utils/createFetcher.d.ts +0 -1
  270. package/dist/types/utils/stringifyNestedObjects.d.ts +1 -1
  271. package/package.json +10 -12
@@ -33,7 +33,6 @@ interface StatementGroupModelBase {
33
33
  /**
34
34
  * Date of creation
35
35
  * Format: ISO-8601
36
- *
37
36
  * @example 2021-09-09T19:00:45.603-04:00
38
37
  */
39
38
  createdAt: string;
@@ -44,7 +43,6 @@ interface StatementGroupModelBase {
44
43
  /**
45
44
  * Last date of modification
46
45
  * Format: ISO-8601
47
- *
48
46
  * @example 2021-09-09T19:00:45.603-04:00
49
47
  */
50
48
  modifiedAt?: string;
@@ -70,14 +68,12 @@ export interface CampaignStatementGroup extends StatementGroupModelBase {
70
68
  /**
71
69
  * The start date of the campaign.
72
70
  * Format: ISO-8601
73
- *
74
71
  * @example 2020-09-09T19:00:45.603-04:00
75
72
  */
76
73
  campaignStart: string;
77
74
  /**
78
75
  * The end date of the campaign.
79
76
  * Format: ISO-8601
80
- *
81
77
  * @example 2021-09-09T19:00:45.603-04:00
82
78
  */
83
79
  campaignEnd: string;
@@ -149,13 +145,11 @@ export interface ListStatementGroupsOptions extends Paginated {
149
145
  types?: StatementGroupType[];
150
146
  /**
151
147
  * The sort criteria to apply on the results.
152
- *
153
148
  * @default position
154
149
  */
155
150
  sortBy?: 'position' | 'description' | 'definition' | 'name' | 'status';
156
151
  /**
157
152
  * Whether to sort by ascending order.
158
- *
159
153
  * @default true
160
154
  */
161
155
  isOrderAscending?: boolean;
@@ -187,23 +181,19 @@ export interface CreateCampaignStatementGroupModel extends CreateStatementGroupM
187
181
  /**
188
182
  * The start date of the campaign.
189
183
  * Format: ISO-8601
190
- *
191
184
  * @example 2020-09-09T19:00:45.603-04:00
192
185
  */
193
186
  campaignStart: string;
194
187
  /**
195
188
  * The end date of the campaign.
196
189
  * Format: ISO-8601
197
- *
198
190
  * @example 2021-09-09T19:00:45.603-04:00
199
191
  */
200
192
  campaignEnd: string;
201
193
  }
202
194
  export type UpdateStatementGroupModel = UpdatePermanentStatementGroupModel | UpdateCampaignStatementGroupsModel;
203
- export interface UpdatePermanentStatementGroupModel extends CreatePermanentStatementGroupModel {
204
- }
205
- export interface UpdateCampaignStatementGroupsModel extends CreateCampaignStatementGroupModel {
206
- }
195
+ export type UpdatePermanentStatementGroupModel = CreatePermanentStatementGroupModel;
196
+ export type UpdateCampaignStatementGroupsModel = CreateCampaignStatementGroupModel;
207
197
  export interface UpdateStatementGroupRuleAssociationsRequest {
208
198
  /**
209
199
  * The rules to add to this group. (max-length: 50)
@@ -6,90 +6,80 @@ export default class Statements extends Resource {
6
6
  static getStatementUrl: (pipelineId: string, statementId: string) => string;
7
7
  /**
8
8
  * Gets a sorted page of query pipeline statements matching certain criteria from a specific query pipeline.
9
- *
10
- * @param {string} pipelineId The unique identifier of the target query pipeline.
11
- * @param {ListStatementParams} options Listing options.
12
- * @returns {Promise<PageModel<StatementModel, "statements">>} The matching statements in the current page of results
9
+ * @param pipelineId The unique identifier of the target query pipeline.
10
+ * @param options Listing options.
11
+ * @returns The matching statements in the current page of results
13
12
  */
14
13
  list(pipelineId: string, options?: ListStatementParams): Promise<PageModel<StatementModel, 'statements'>>;
15
14
  /**
16
15
  * Exports the definition, condition, and description of statements from a specific query pipeline to a CSV file.
17
- *
18
- * @param {string} pipelineId The unique identifier of the target query pipeline.
19
- * @param {ExportStatementParams} options Export options
20
- * @returns {Promise<Blob>} The file containing the exported data.
16
+ * @param pipelineId The unique identifier of the target query pipeline.
17
+ * @param options Export options
18
+ * @returns The file containing the exported data.
21
19
  */
22
20
  exportCSV(pipelineId: string, options?: ExportStatementParams): Promise<Blob>;
23
21
  /**
24
22
  * Import the definition, condition, and description of statements from a CSV file to a specific query pipeline.
25
- *
26
- * @param {string} pipelineId The unique identifier of the target query pipeline.
27
- * @param {File | string} csvFile The file containing the statements to import.
28
- * @param {ExportStatementParams} options Import options
23
+ * @param pipelineId The unique identifier of the target query pipeline.
24
+ * @param csvFile The file containing the statements to import.
25
+ * @param options Import options
29
26
  */
30
27
  importCSV(pipelineId: string, csvFile: File | string, options?: ExportStatementParams): Promise<Record<string, unknown>>;
31
28
  /**
32
29
  * Creates a new query pipeline statement in a specific query pipeline.
33
- *
34
- * @param {string} pipelineId The unique identifier of the target query pipeline.
35
- * @param {CreateStatementModel} model The query pipeline statement information.
36
- * @returns {Promise<StatementModel>} The created statement.
30
+ * @param pipelineId The unique identifier of the target query pipeline.
31
+ * @param model The query pipeline statement information.
32
+ * @returns The created statement.
37
33
  */
38
34
  create(pipelineId: string, model: CreateStatementModel): Promise<StatementModel>;
39
35
  /**
40
36
  * Updates a single query pipeline statement in a specific query pipeline.
41
- *
42
- * @param {string} pipelineId The unique identifier of the target query pipeline.
43
- * @param {string} statementId The unique identifier of the target statement.
44
- * @param {CreateStatementModel} model The updated query pipeline statement information.
45
- * @returns {Promise<StatementModel>} The updated statement.
37
+ * @param pipelineId The unique identifier of the target query pipeline.
38
+ * @param statementId The unique identifier of the target statement.
39
+ * @param model The updated query pipeline statement information.
40
+ * @returns The updated statement.
46
41
  */
47
42
  update(pipelineId: string, statementId: string, model: CreateStatementModel): Promise<StatementModel>;
48
43
  /**
49
44
  * Copies specific statements from an origin to a target query pipeline. Using the same pipeline as origin and target will duplicate the specified statements in that pipeline.
50
- *
51
- * @param {string} pipelineId The unique identifier of the target query pipeline.
52
- * @param {CopyStatementModel} model The copy operation to perform.
53
- * @returns {Promise<PageModel<StatementModel, "statements">>} The matching statements in the current page of results.
45
+ * @param pipelineId The unique identifier of the target query pipeline.
46
+ * @param model The copy operation to perform.
47
+ * @returns The matching statements in the current page of results.
54
48
  */
55
49
  copy(pipelineId: string, model: CopyStatementModel): Promise<PageModel<StatementModel, "statements">>;
56
50
  /**
57
51
  * Gets a single query pipeline statement from a specific query pipeline.
58
- *
59
- * @param {string} pipelineId The unique identifier of the target query pipeline.
60
- * @param {string} statementId The unique identifier of the target statement.
61
- * @returns {Promise<StatementModel>} The statement
52
+ * @param pipelineId The unique identifier of the target query pipeline.
53
+ * @param statementId The unique identifier of the target statement.
54
+ * @returns The statement
62
55
  */
63
56
  get(pipelineId: string, statementId: string): Promise<StatementModel>;
64
57
  /**
65
58
  * Sets the position of a query pipeline statement in a specific query pipeline and updates other statement positions as appropriate.
66
- *
67
- * @param {string} pipelineId The unique identifier of the target query pipeline.
68
- * @param {string} statementId The unique identifier of the target statement.
69
- * @param {MoveStatementModel} model The move operation to perform.
70
- * @returns {Promise<PageModel<StatementModel, 'statements'>>} The matching statements in the current page of results.
59
+ * @param pipelineId The unique identifier of the target query pipeline.
60
+ * @param statementId The unique identifier of the target statement.
61
+ * @param model The move operation to perform.
62
+ * @returns The matching statements in the current page of results.
71
63
  */
72
64
  move(pipelineId: string, statementId: string, model: MoveStatementModel): Promise<PageModel<StatementModel, 'statements'>>;
73
65
  /**
74
66
  * Deletes a single query pipeline statement from a specific query pipeline.
75
- *
76
- * @param {string} pipelineId The unique identifier of the target query pipeline.
77
- * @param {string} statementId The unique identifier of the target statement.
67
+ * @param pipelineId The unique identifier of the target query pipeline.
68
+ * @param statementId The unique identifier of the target statement.
78
69
  */
79
70
  delete(pipelineId: string, statementId: string): Promise<Record<string, unknown>>;
80
71
  /**
81
72
  * Gets a sorted page of query pipeline statements matching certain criteria from a specific query pipeline.
82
- *
83
- * @param {string} pipelineId The unique identifier of the target query pipeline.
84
- * @param {BulkGetStatementsParams} params A set of parameters to customize the results.
85
- * @returns {Promise<PageModel<StatementModel, 'statements'>>} The matching statements in the current page of results.
73
+ * @param pipelineId The unique identifier of the target query pipeline.
74
+ * @param params A set of parameters to customize the results.
75
+ * @param params.ids
76
+ * @returns The matching statements in the current page of results.
86
77
  */
87
78
  bulkGet(pipelineId: string, { ids, ...allQueryStringOptions }: BulkGetStatementsParams): Promise<PageModel<StatementModel, 'statements'>>;
88
79
  /**
89
80
  * Delete multiple statements at once for a specific pipeline.
90
- *
91
- * @param {string} pipelineId The unique identifier of the target query pipeline.
92
- * @param {string[]} ids A list of resource identifiers to delete. A maximum of 100 can be sent.
81
+ * @param pipelineId The unique identifier of the target query pipeline.
82
+ * @param ids A list of resource identifiers to delete. A maximum of 100 can be sent.
93
83
  */
94
84
  bulkDelete(pipelineId: string, ids: string[]): Promise<Record<string, unknown>>;
95
85
  }
@@ -4,8 +4,7 @@ export default class PrivilegeEvaluator extends Ressource {
4
4
  static baseUrl: string;
5
5
  /**
6
6
  * Evaluates a specific privilege request
7
- *
8
- * @param {RestTokenParams} privilegeEvaluatorParams The privilege request to evaluate
7
+ * @param privilegeEvaluatorParams The privilege request to evaluate
9
8
  */
10
9
  evaluate(privilegeEvaluatorParams: PrivilegeEvaluatorModel): Promise<PrivilegeEvaluatorModel>;
11
10
  }
@@ -4,6 +4,8 @@ import { ProductsRequestModel, ProductsResultModel } from './ProductInterfaces.j
4
4
  export default class Products extends Resource {
5
5
  static baseUrl: string;
6
6
  /**
7
+ * @param productsRequest
8
+ * @param refreshCache
7
9
  * @deprecated
8
10
  */
9
11
  get(productsRequest: New<ProductsRequestModel>, refreshCache?: boolean): Promise<ProductsResultModel>;
@@ -6,61 +6,53 @@ export default class Project extends Resource {
6
6
  static baseUrl: string;
7
7
  /**
8
8
  * Returns a paginated list of projects.
9
- *
10
- * @param {ListProjectParams} params
11
- * @returns {Promise<PageModel<ProjectModel>>} A paginated list of projects
9
+ * @param params
10
+ * @returns A paginated list of projects
12
11
  */
13
12
  list(params?: ListProjectParams): Promise<PageModel<ProjectModel>>;
14
13
  /**
15
14
  * Creates and returns a new project.
16
- *
17
- * @param {ProjectModel} project
18
- * @returns {Promise<ProjectModel>} The newly created project
15
+ * @param project
16
+ * @returns The newly created project
19
17
  */
20
18
  create(project: BaseProjectModel): Promise<ProjectModel>;
21
19
  /**
22
20
  * Updates a project with the model sent and returns the updated project.
23
- *
24
- * @param {string} projectId
25
- * @param {ProjectModel} updateProjectModel
26
- * @returns {Promise<ProjectModel>} The updated project
21
+ * @param projectId
22
+ * @param updateProjectModel
23
+ * @returns The updated project
27
24
  */
28
25
  update(projectId: string, updateProjectModel: ProjectModel): Promise<ProjectModel>;
29
26
  /**
30
27
  * Returns a project.
31
- *
32
- * @param {string} projectId
33
- * @returns {Promise<ProjectModel>} The project specified by the provided id
28
+ * @param projectId
29
+ * @returns The project specified by the provided id
34
30
  */
35
31
  get(projectId: string): Promise<ProjectModel>;
36
32
  /**
37
33
  * Deletes a project.
38
- *
39
- * @param {string} projectId
34
+ * @param projectId
40
35
  */
41
36
  delete(projectId: string): Promise<void>;
42
37
  /**
43
38
  * Returns resource IDs grouped by resource status, for a given project.
44
- *
45
- * @param {string} projectId
46
- * @returns {Promise<Record<ResourceStatus, Record<ProjectResourceType, string[]>>>} A series of resource IDs grouped by their status and resource type.
39
+ * @param projectId
40
+ * @returns A series of resource IDs grouped by their status and resource type.
47
41
  */
48
42
  listResourcesByStatus(projectId: string): Promise<Record<ResourceStatus, Record<ProjectResourceType, string[]>>>;
49
43
  /**
50
44
  * Returns a paginated list of resources associated to a project.
51
- *
52
- * @param {string} projectId
53
- * @param {ProjectResourceType} resourceType
54
- * @param {ResourceParams} params
55
- * @returns {Promise<PageModel<ResourceModel>>} A paginated list of resources associated to a project.
45
+ * @param projectId
46
+ * @param resourceType
47
+ * @param params
48
+ * @returns A paginated list of resources associated to a project.
56
49
  */
57
50
  listResources(projectId: string, resourceType: ProjectResourceType, params?: ResourceParams): Promise<PageModel<ResourceModel>>;
58
51
  /**
59
52
  * Returns a list of project IDs associated to the provided resource IDs.
60
- *
61
- * @param {ProjectResourceType} resourceType
62
- * @param {string[]} resourceIds
63
- * @returns {Promise<ListAssociatedProjectsModel[]>} List of project IDs associated to the provided resource IDs.
53
+ * @param resourceType
54
+ * @param resourceIds
55
+ * @returns List of project IDs associated to the provided resource IDs.
64
56
  */
65
57
  listAssociatedProjects(resourceType: ProjectResourceType, resourceIds: string[]): Promise<ListAssociatedProjectsModel[]>;
66
58
  }
@@ -12,8 +12,6 @@ export declare const projectResourceTypes: string[];
12
12
  export type ProjectResourceType = (typeof projectResourceTypes)[number];
13
13
  /**
14
14
  * Enum representing the possible project types.
15
- *
16
- * @enum {string}
17
15
  */
18
16
  export declare enum ProjectType {
19
17
  CaseDeflection = "CASE_DEFLECTION",
@@ -43,13 +41,11 @@ export interface BaseProjectModel {
43
41
  type: ProjectType;
44
42
  /**
45
43
  * The list of usernames that will be points of contact for the project.
46
- *
47
44
  * @example: ['johndoe@email.com-google', 'janedoe@email.com-office265']
48
45
  */
49
46
  pointsOfContact?: string[];
50
47
  /**
51
48
  * The resources associated to the project.
52
- *
53
49
  * @example: {'SOURCE': ['sourceId1', 'sourceId2']}
54
50
  */
55
51
  resources?: Record<ProjectResourceType, string[]>;
@@ -61,27 +57,23 @@ export interface ProjectModel extends BaseProjectModel {
61
57
  id: string;
62
58
  /**
63
59
  * The email of the user that created the project.
64
- *
65
60
  * @example: 'jdoe@email.com'
66
61
  */
67
62
  createdBy: string;
68
63
  /**
69
64
  * The date of the project's creation.
70
65
  * Note: ISO-8601 format
71
- *
72
66
  * @example: '2023-06-21T14:59:26.850Z'
73
67
  */
74
68
  createdDate: string;
75
69
  /**
76
70
  * The email of the user that last updated the project.
77
- *
78
71
  * @example: 'jdoe@email.com'
79
72
  */
80
73
  updatedBy: string;
81
74
  /**
82
75
  * The date of the project's last update.
83
76
  * Note: ISO-8601 format
84
- *
85
77
  * @example: '2023-06-21T14:59:26.850Z'
86
78
  */
87
79
  updatedDate: string;
@@ -101,7 +93,6 @@ export interface ListProjectParams extends Paginated {
101
93
  sortBy?: ProjectSortBy;
102
94
  /**
103
95
  * The sorting order to apply on the results.
104
- *
105
96
  * @example: 'ASC'
106
97
  */
107
98
  order?: SortingOrder;
@@ -5,7 +5,7 @@ declare class Resource {
5
5
  protected serverlessApi: API;
6
6
  static baseUrl: string;
7
7
  constructor(api: API, serverlessApi: API);
8
- protected buildPath(route: string, parameters?: any, options?: queryString.StringifyOptions): string;
8
+ protected buildPath(route: string, parameters?: object, options?: queryString.StringifyOptions): string;
9
9
  private convertObjectToQueryString;
10
10
  }
11
11
  export default Resource;
@@ -10,22 +10,22 @@ export default class ResourceSnapshots extends Resource {
10
10
  listResourceAccess(): Promise<ResourceSnapshotType[]>;
11
11
  /**
12
12
  * Shows whether the authenticated user has the specified access level (i.e., read or write) to the content of the target snapshot.
13
+ * @param snapshotId
14
+ * @param options
13
15
  */
14
16
  validateAccess(snapshotId: string, options: ValidateAccessOptions): Promise<SnapshotAccessModel>;
15
17
  /**
16
18
  * Retrieves a ZIP file holding the content of the target snapshot, in the target format.
17
- *
18
- * @param {string} snapshotId The unique identifier of the target snapshot.
19
- * @param {ExportSnapshotContentOptions} [options]
20
- * @returns {Promise<Blob>} A newly created Blob object which contains the zipped snapshot
19
+ * @param snapshotId The unique identifier of the target snapshot.
20
+ * @param [options]
21
+ * @returns A newly created Blob object which contains the zipped snapshot
21
22
  */
22
23
  export(snapshotId: string, options?: ExportSnapshotContentOptions): Promise<Blob>;
23
24
  getContent(snapshotId: string, options: GenerateUrlOptions): Promise<Response>;
24
25
  /**
25
26
  * Creates a snapshot from a file containing the configuration.
26
- *
27
- * @param {File} file The file containing the configuration.
28
- * @param {CreateFromFileOptions} options
27
+ * @param file The file containing the configuration.
28
+ * @param options
29
29
  */
30
30
  createFromFile(file: File, options?: CreateFromFileOptions): Promise<ResourceSnapshotsModel>;
31
31
  createFromOrganization(exportConfigurationModel: ResourceSnapshotExportConfigurationModel, options: CreateFromOrganizationOptions): Promise<ResourceSnapshotsModel>;
@@ -43,10 +43,9 @@ export default class ResourceSnapshots extends Resource {
43
43
  /**
44
44
  * @description Shows the diff report for the target snapshot and dry-run report
45
45
  * @experimental
46
- *
47
- * @param {string} snapshotId - The unique identifier of the target snapshot.
48
- * @param {string} relativeReportId - The unique identifier of the dry-run operation report associated with the target diff report.
49
- * @param {(number|undefined)} [numberOfLinesMax=undefined] - Maximum number of lines before the diff is downloaded to a file.
46
+ * @param snapshotId - The unique identifier of the target snapshot.
47
+ * @param relativeReportId - The unique identifier of the dry-run operation report associated with the target diff report.
48
+ * @param [numberOfLinesMax] - Maximum number of lines before the diff is downloaded to a file.
50
49
  */
51
50
  diff(snapshotId: string, relativeReportId: string, numberOfLinesMax?: number): Promise<SnapshotDiffModel>;
52
51
  }
@@ -279,7 +279,6 @@ export interface CreateFromFileOptions {
279
279
  export interface GetSnapshotOptions {
280
280
  /**
281
281
  * Whether to include reports with the snapshot.
282
- *
283
282
  * @default false
284
283
  */
285
284
  includeReports?: boolean;
@@ -289,7 +288,6 @@ export interface ExportSnapshotContentOptions {
289
288
  * The format of the snapshot content.
290
289
  * - FLAT: Content unified into a single file
291
290
  * - SPLIT_PER_TYPE: Content split into one file per resource type
292
- *
293
291
  * @default SnapshotExportContentFormat.Flat
294
292
  */
295
293
  contentFormat?: SnapshotExportContentFormat;
@@ -312,16 +310,13 @@ export declare enum ApplyOptionsDeletionScope {
312
310
  export interface ApplyOptions {
313
311
  /**
314
312
  * Whether to delete organization resources not present in the snapshot.
315
- *
316
313
  * @default false
317
314
  */
318
315
  deleteMissingResources?: boolean;
319
316
  /**
320
317
  * The scope of the resources on which to calculate deletions.
321
318
  * **Note:** only applies when `deleteMissingResources` is set to `true`.
322
- *
323
319
  * @default ApplyOptionsDeletionScope.AllManagedResources
324
- *
325
320
  */
326
321
  deletionScope?: ApplyOptionsDeletionScope;
327
322
  }
@@ -6,10 +6,9 @@ export default class Resources extends Resource {
6
6
  static baseUrl: string;
7
7
  /**
8
8
  * Returns a paginated list of resources.
9
- *
10
9
  * @param resourceType
11
- * @param {ListProjectParams} params
12
- * @returns {Promise<PageModel<ResourceModel>>} A paginated list of resources.
10
+ * @param params
11
+ * @returns A paginated list of resources.
13
12
  */
14
13
  list(resourceType: ProjectResourceType, params?: ResourceParams): Promise<PageModel<ResourceModel>>;
15
14
  }
@@ -1,8 +1,8 @@
1
1
  import API from '../../APICore.js';
2
- import Ressource from '../Resource.js';
3
2
  import { New } from '../BaseInterfaces.js';
4
- import { SchemaEntities, SchemaServiceQueryParams, SchemaServiceSource, CreateSchemaSourceModel, CreateSchemaSourceOptions, ObjectsToGet, SchemaEntityFields, SimpleSchemaEntity, GetEntitiesQueryParams, GetEntityQueryParams, SlackTokenValidationResult } from './SchemaServiceInterfaces.js';
5
3
  import { SourceType } from '../Enums.js';
4
+ import Ressource from '../Resource.js';
5
+ import { CreateSchemaSourceModel, CreateSchemaSourceOptions, GetEntitiesQueryParams, GetEntityQueryParams, ObjectsToGet, SchemaEntities, SchemaEntityFields, SchemaServiceQueryParams, SchemaServiceSource, SimpleSchemaEntity, SlackTokenValidationResult } from './SchemaServiceInterfaces.js';
6
6
  export default class SchemaService extends Ressource {
7
7
  protected api: API;
8
8
  protected serverlessApi: API;
@@ -11,31 +11,25 @@ export default class SchemaService extends Ressource {
11
11
  /**
12
12
  * Retrieve entities from the targeted instance
13
13
  * (can be matches of a given query)
14
- *
15
- * @param {SourceType} sourceType
16
- * @param {GetEntitiesQueryParams} [parameters]
17
- * @return {SchemaEntities} schemaEntities
18
- * @memberof SchemaService
14
+ * @param sourceType
15
+ * @param [parameters]
16
+ * @returns schemaEntities
19
17
  */
20
18
  getEntities(sourceType: SourceType, parameters?: GetEntitiesQueryParams): Promise<SchemaEntities>;
21
19
  /**
22
20
  * Retrieve the entity of matching ID from the targeted instance
23
- *
24
- * @param {SourceType} sourceType
25
- * @param {string} entityId
26
- * @param {GetEntityQueryParams} [parameters]
27
- * @return {SimpleSchemaEntity} simpleSchemaEntity
28
- * @memberof SchemaService
21
+ * @param sourceType
22
+ * @param entityId
23
+ * @param [parameters]
24
+ * @returns simpleSchemaEntity
29
25
  */
30
26
  getEntity(sourceType: SourceType, entityId: string, parameters?: GetEntityQueryParams): Promise<SimpleSchemaEntity>;
31
27
  /**
32
28
  * Retrieve the fields of the given entity from the targeted instance
33
- *
34
- * @param {SourceType} sourceType
35
- * @param {string} entityId
36
- * @param {SchemaServiceQueryParams} [parameters]
37
- * @return {SchemaEntityFields} schemaEntityFields
38
- * @memberof SchemaService
29
+ * @param sourceType
30
+ * @param entityId
31
+ * @param [parameters]
32
+ * @returns schemaEntityFields
39
33
  */
40
34
  getFields(sourceType: SourceType, entityId: string, parameters?: SchemaServiceQueryParams): Promise<SchemaEntityFields>;
41
35
  delete(sourceId: string): Promise<Record<string, unknown>>;
@@ -48,13 +42,11 @@ export default class SchemaService extends Ressource {
48
42
  }>;
49
43
  translateToSpecificObjectsToGet(sourceType: SourceType, genericObjectsToGet: ObjectsToGet): Promise<any>;
50
44
  translateToSpecificObjectsToGetWithFields(sourceType: SourceType, genericObjectsToGet: ObjectsToGet, parameters?: SchemaServiceQueryParams): Promise<any>;
51
- translateToGenericObjectsToGet(sourceType: SourceType, specificObjectsToGet: any): Promise<ObjectsToGet>;
45
+ translateToGenericObjectsToGet(sourceType: SourceType, specificObjectsToGet: Record<string, unknown>): Promise<ObjectsToGet>;
52
46
  /**
53
47
  * Retrieve the default objectsToGet of the given sourceType
54
- *
55
- * @param {string} sourceType
56
- * @return {ObjectsToGet} ObjectsToGet
57
- * @memberof SchemaService
48
+ * @param sourceType
49
+ * @returns ObjectsToGet
58
50
  */
59
51
  getDefaultObjectsToGet(sourceType: string): Promise<ObjectsToGet>;
60
52
  validateSlackToken(accessToken: string): Promise<SlackTokenValidationResult>;
@@ -151,8 +151,7 @@ export interface CreateSchemaSourceModel extends CreateSourceModel {
151
151
  */
152
152
  objectsToGetConfiguration?: string;
153
153
  }
154
- export interface CreateSchemaSourceOptions extends CreateSourceOptions {
155
- }
154
+ export type CreateSchemaSourceOptions = CreateSourceOptions;
156
155
  /**
157
156
  * Wraps whether or not a Slack token can validly be used with a Slack source
158
157
  */
@@ -9,7 +9,6 @@ export default class Search extends Resource {
9
9
  query(restQueryParameters: RestQueryParams): Promise<SearchResponse>;
10
10
  /**
11
11
  * Exports search results to a Microsoft Excel™ spreadsheet
12
- *
13
12
  * @param restQueryParameters Parameters of the query
14
13
  * @returns A .xlsx file containing the search results of the specified query
15
14
  */
@@ -17,14 +16,25 @@ export default class Search extends Resource {
17
16
  querySuggestPost(restQuerySuggestParameters: PostSearchQuerySuggestBodyParams): Promise<any>;
18
17
  /**
19
18
  * Get an item's preview in HTML format
19
+ * @param root0
20
+ * @param root0.enableNavigation
21
+ * @param root0.findNext
22
+ * @param root0.findPrevious
23
+ * @param root0.organizationId
24
+ * @param root0.page
25
+ * @param root0.requestedOutputSize
26
+ * @param root0.uniqueId
27
+ * @param root0.viewAllContent
20
28
  */
21
29
  previewHTML({ enableNavigation, findNext, findPrevious, organizationId, page, requestedOutputSize, uniqueId, viewAllContent, ...body }: ItemPreviewHtmlParameters): Promise<string>;
22
30
  /**
23
31
  * Get item in JSON format
32
+ * @param params
24
33
  */
25
34
  getDocument(params: SingleItemParameters): Promise<RestQueryResult>;
26
35
  /**
27
36
  * Executes a facet search request.
37
+ * @param params
28
38
  */
29
39
  searchFacet(params: RestFacetSearchParameters): Promise<RestFacetSearchResponse>;
30
40
  }