@sage-bionetworks/synapse-types 0.0.4 → 0.0.6

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 (675) hide show
  1. package/dist/ACCESS_TYPE.d.ts +29 -0
  2. package/dist/ACCESS_TYPE.js +31 -0
  3. package/dist/ACCESS_TYPE.js.map +1 -0
  4. package/dist/AccessApproval.d.ts +49 -0
  5. package/dist/AccessApproval.js +11 -0
  6. package/dist/AccessApproval.js.map +1 -0
  7. package/dist/AccessCodeResponse.d.ts +3 -0
  8. package/dist/AccessCodeResponse.js +2 -0
  9. package/dist/AccessCodeResponse.js.map +1 -0
  10. package/dist/AccessControlList.d.ts +10 -0
  11. package/dist/AccessControlList.js +2 -0
  12. package/dist/AccessControlList.js.map +1 -0
  13. package/dist/AccessRequirement/ACTAccessRequirement.d.ts +21 -0
  14. package/dist/AccessRequirement/ACTAccessRequirement.js +3 -0
  15. package/dist/AccessRequirement/ACTAccessRequirement.js.map +1 -0
  16. package/dist/AccessRequirement/ACTAccessRequirementInterface.d.ts +4 -0
  17. package/dist/AccessRequirement/ACTAccessRequirementInterface.js +2 -0
  18. package/dist/AccessRequirement/ACTAccessRequirementInterface.js.map +1 -0
  19. package/dist/AccessRequirement/AccessRequirement.d.ts +5 -0
  20. package/dist/AccessRequirement/AccessRequirement.js +2 -0
  21. package/dist/AccessRequirement/AccessRequirement.js.map +1 -0
  22. package/dist/AccessRequirement/AccessRequirementSearch.d.ts +47 -0
  23. package/dist/AccessRequirement/AccessRequirementSearch.js +2 -0
  24. package/dist/AccessRequirement/AccessRequirementSearch.js.map +1 -0
  25. package/dist/AccessRequirement/AccessRequirementStatus.d.ts +8 -0
  26. package/dist/AccessRequirement/AccessRequirementStatus.js +4 -0
  27. package/dist/AccessRequirement/AccessRequirementStatus.js.map +1 -0
  28. package/dist/AccessRequirement/AccessorChange.d.ts +17 -0
  29. package/dist/AccessRequirement/AccessorChange.js +11 -0
  30. package/dist/AccessRequirement/AccessorChange.js.map +1 -0
  31. package/dist/AccessRequirement/CreateSubmissionRequest.d.ts +11 -0
  32. package/dist/AccessRequirement/CreateSubmissionRequest.js +2 -0
  33. package/dist/AccessRequirement/CreateSubmissionRequest.js.map +1 -0
  34. package/dist/AccessRequirement/LockAccessRequirement.d.ts +24 -0
  35. package/dist/AccessRequirement/LockAccessRequirement.js +3 -0
  36. package/dist/AccessRequirement/LockAccessRequirement.js.map +1 -0
  37. package/dist/AccessRequirement/ManagedACTAccessRequirement.d.ts +29 -0
  38. package/dist/AccessRequirement/ManagedACTAccessRequirement.js +3 -0
  39. package/dist/AccessRequirement/ManagedACTAccessRequirement.js.map +1 -0
  40. package/dist/AccessRequirement/ManagedACTAccessRequirementStatus.d.ts +32 -0
  41. package/dist/AccessRequirement/ManagedACTAccessRequirementStatus.js +12 -0
  42. package/dist/AccessRequirement/ManagedACTAccessRequirementStatus.js.map +1 -0
  43. package/dist/AccessRequirement/RequestInterface.d.ts +28 -0
  44. package/dist/AccessRequirement/RequestInterface.js +2 -0
  45. package/dist/AccessRequirement/RequestInterface.js.map +1 -0
  46. package/dist/AccessRequirement/RestrictableObjectDescriptor.d.ts +5 -0
  47. package/dist/AccessRequirement/RestrictableObjectDescriptor.js +2 -0
  48. package/dist/AccessRequirement/RestrictableObjectDescriptor.js.map +1 -0
  49. package/dist/AccessRequirement/SelfSignAccessRequirement.d.ts +21 -0
  50. package/dist/AccessRequirement/SelfSignAccessRequirement.js +3 -0
  51. package/dist/AccessRequirement/SelfSignAccessRequirement.js.map +1 -0
  52. package/dist/AccessRequirement/SelfSignAccessRequirementInterface.d.ts +4 -0
  53. package/dist/AccessRequirement/SelfSignAccessRequirementInterface.js +2 -0
  54. package/dist/AccessRequirement/SelfSignAccessRequirementInterface.js.map +1 -0
  55. package/dist/AccessRequirement/Submission.d.ts +52 -0
  56. package/dist/AccessRequirement/Submission.js +2 -0
  57. package/dist/AccessRequirement/Submission.js.map +1 -0
  58. package/dist/AccessRequirement/SubmissionStateChangeRequest.d.ts +9 -0
  59. package/dist/AccessRequirement/SubmissionStateChangeRequest.js +2 -0
  60. package/dist/AccessRequirement/SubmissionStateChangeRequest.js.map +1 -0
  61. package/dist/AccessRequirement/TermsOfUseAccessRequirement.d.ts +20 -0
  62. package/dist/AccessRequirement/TermsOfUseAccessRequirement.js +3 -0
  63. package/dist/AccessRequirement/TermsOfUseAccessRequirement.js.map +1 -0
  64. package/dist/AccessRequirement/index.d.ts +17 -0
  65. package/dist/AccessRequirement/index.js +18 -0
  66. package/dist/AccessRequirement/index.js.map +1 -0
  67. package/dist/AccessSubmission.d.ts +40 -0
  68. package/dist/AccessSubmission.js +12 -0
  69. package/dist/AccessSubmission.js.map +1 -0
  70. package/dist/AccessToken/AccessToken.d.ts +4 -0
  71. package/dist/AccessToken/AccessToken.js +3 -0
  72. package/dist/AccessToken/AccessToken.js.map +1 -0
  73. package/dist/AccessToken/AccessTokenGenerationRequest.d.ts +5 -0
  74. package/dist/AccessToken/AccessTokenGenerationRequest.js +2 -0
  75. package/dist/AccessToken/AccessTokenGenerationRequest.js.map +1 -0
  76. package/dist/AccessToken/AccessTokenGenerationResponse.d.ts +3 -0
  77. package/dist/AccessToken/AccessTokenGenerationResponse.js +2 -0
  78. package/dist/AccessToken/AccessTokenGenerationResponse.js.map +1 -0
  79. package/dist/AccessToken/AccessTokenRecord.d.ts +14 -0
  80. package/dist/AccessToken/AccessTokenRecord.js +2 -0
  81. package/dist/AccessToken/AccessTokenRecord.js.map +1 -0
  82. package/dist/AccessToken/ScopeDescriptions.d.ts +34 -0
  83. package/dist/AccessToken/ScopeDescriptions.js +35 -0
  84. package/dist/AccessToken/ScopeDescriptions.js.map +1 -0
  85. package/dist/AccessToken/index.d.ts +5 -0
  86. package/dist/AccessToken/index.js +6 -0
  87. package/dist/AccessToken/index.js.map +1 -0
  88. package/dist/AddFilesToDownloadListRequest.d.ts +6 -0
  89. package/dist/AddFilesToDownloadListRequest.js +2 -0
  90. package/dist/AddFilesToDownloadListRequest.js.map +1 -0
  91. package/dist/AddFilesToDownloadListResponse.d.ts +5 -0
  92. package/dist/AddFilesToDownloadListResponse.js +2 -0
  93. package/dist/AddFilesToDownloadListResponse.js.map +1 -0
  94. package/dist/AddPartResponse.d.ts +6 -0
  95. package/dist/AddPartResponse.js +3 -0
  96. package/dist/AddPartResponse.js.map +1 -0
  97. package/dist/Annotations.d.ts +17 -0
  98. package/dist/Annotations.js +8 -0
  99. package/dist/Annotations.js.map +1 -0
  100. package/dist/AuthenticatedOn.d.ts +3 -0
  101. package/dist/AuthenticatedOn.js +3 -0
  102. package/dist/AuthenticatedOn.js.map +1 -0
  103. package/dist/BatchFileRequest.d.ts +7 -0
  104. package/dist/BatchFileRequest.js +2 -0
  105. package/dist/BatchFileRequest.js.map +1 -0
  106. package/dist/BatchFileResult.d.ts +4 -0
  107. package/dist/BatchFileResult.js +2 -0
  108. package/dist/BatchFileResult.js.map +1 -0
  109. package/dist/BatchPresignedUploadUrlRequest.d.ts +5 -0
  110. package/dist/BatchPresignedUploadUrlRequest.js +3 -0
  111. package/dist/BatchPresignedUploadUrlRequest.js.map +1 -0
  112. package/dist/BatchPresignedUploadUrlResponse.d.ts +4 -0
  113. package/dist/BatchPresignedUploadUrlResponse.js +2 -0
  114. package/dist/BatchPresignedUploadUrlResponse.js.map +1 -0
  115. package/dist/BulkFileDownloadRequest.d.ts +11 -0
  116. package/dist/BulkFileDownloadRequest.js +8 -0
  117. package/dist/BulkFileDownloadRequest.js.map +1 -0
  118. package/dist/BulkFileDownloadResponse.d.ts +7 -0
  119. package/dist/BulkFileDownloadResponse.js +2 -0
  120. package/dist/BulkFileDownloadResponse.js.map +1 -0
  121. package/dist/CertificationQuiz/Questions.d.ts +28 -0
  122. package/dist/CertificationQuiz/Questions.js +2 -0
  123. package/dist/CertificationQuiz/Questions.js.map +1 -0
  124. package/dist/CertificationQuiz/Quiz.d.ts +28 -0
  125. package/dist/CertificationQuiz/Quiz.js +2 -0
  126. package/dist/CertificationQuiz/Quiz.js.map +1 -0
  127. package/dist/CertificationQuiz/index.d.ts +2 -0
  128. package/dist/CertificationQuiz/index.js +3 -0
  129. package/dist/CertificationQuiz/index.js.map +1 -0
  130. package/dist/ChallengePagedResults.d.ts +31 -0
  131. package/dist/ChallengePagedResults.js +2 -0
  132. package/dist/ChallengePagedResults.js.map +1 -0
  133. package/dist/ChangePasswordRequests.d.ts +38 -0
  134. package/dist/ChangePasswordRequests.js +2 -0
  135. package/dist/ChangePasswordRequests.js.map +1 -0
  136. package/dist/Chat.d.ts +140 -0
  137. package/dist/Chat.js +8 -0
  138. package/dist/Chat.js.map +1 -0
  139. package/dist/Doi/Doi.d.ts +31 -0
  140. package/dist/Doi/Doi.js +2 -0
  141. package/dist/Doi/Doi.js.map +1 -0
  142. package/dist/Doi/index.d.ts +1 -0
  143. package/dist/Doi/index.js +2 -0
  144. package/dist/Doi/index.js.map +1 -0
  145. package/dist/Download/DownloadList.d.ts +7 -0
  146. package/dist/Download/DownloadList.js +2 -0
  147. package/dist/Download/DownloadList.js.map +1 -0
  148. package/dist/Download/DownloadOrder.d.ts +10 -0
  149. package/dist/Download/DownloadOrder.js +2 -0
  150. package/dist/Download/DownloadOrder.js.map +1 -0
  151. package/dist/Download/index.d.ts +2 -0
  152. package/dist/Download/index.js +3 -0
  153. package/dist/Download/index.js.map +1 -0
  154. package/dist/DownloadListV2/ActionRequired.d.ts +20 -0
  155. package/dist/DownloadListV2/ActionRequired.js +3 -0
  156. package/dist/DownloadListV2/ActionRequired.js.map +1 -0
  157. package/dist/DownloadListV2/AddBatchOfFilesToDownloadListRequest.d.ts +4 -0
  158. package/dist/DownloadListV2/AddBatchOfFilesToDownloadListRequest.js +2 -0
  159. package/dist/DownloadListV2/AddBatchOfFilesToDownloadListRequest.js.map +1 -0
  160. package/dist/DownloadListV2/AddBatchOfFilesToDownloadListResponse.d.ts +3 -0
  161. package/dist/DownloadListV2/AddBatchOfFilesToDownloadListResponse.js +2 -0
  162. package/dist/DownloadListV2/AddBatchOfFilesToDownloadListResponse.js.map +1 -0
  163. package/dist/DownloadListV2/AddToDownloadListRequest.d.ts +7 -0
  164. package/dist/DownloadListV2/AddToDownloadListRequest.js +2 -0
  165. package/dist/DownloadListV2/AddToDownloadListRequest.js.map +1 -0
  166. package/dist/DownloadListV2/AddToDownloadListResponse.d.ts +4 -0
  167. package/dist/DownloadListV2/AddToDownloadListResponse.js +2 -0
  168. package/dist/DownloadListV2/AddToDownloadListResponse.js.map +1 -0
  169. package/dist/DownloadListV2/DownloadListItem.d.ts +4 -0
  170. package/dist/DownloadListV2/DownloadListItem.js +2 -0
  171. package/dist/DownloadListV2/DownloadListItem.js.map +1 -0
  172. package/dist/DownloadListV2/DownloadListItemResult.d.ts +12 -0
  173. package/dist/DownloadListV2/DownloadListItemResult.js +3 -0
  174. package/dist/DownloadListV2/DownloadListItemResult.js.map +1 -0
  175. package/dist/DownloadListV2/DownloadListManifestRequest.d.ts +5 -0
  176. package/dist/DownloadListV2/DownloadListManifestRequest.js +2 -0
  177. package/dist/DownloadListV2/DownloadListManifestRequest.js.map +1 -0
  178. package/dist/DownloadListV2/DownloadListManifestResponse.d.ts +4 -0
  179. package/dist/DownloadListV2/DownloadListManifestResponse.js +2 -0
  180. package/dist/DownloadListV2/DownloadListManifestResponse.js.map +1 -0
  181. package/dist/DownloadListV2/DownloadListPackageRequest.d.ts +5 -0
  182. package/dist/DownloadListV2/DownloadListPackageRequest.js +2 -0
  183. package/dist/DownloadListV2/DownloadListPackageRequest.js.map +1 -0
  184. package/dist/DownloadListV2/DownloadListPackageResponse.d.ts +4 -0
  185. package/dist/DownloadListV2/DownloadListPackageResponse.js +2 -0
  186. package/dist/DownloadListV2/DownloadListPackageResponse.js.map +1 -0
  187. package/dist/DownloadListV2/DownloadListQueryRequest.d.ts +5 -0
  188. package/dist/DownloadListV2/DownloadListQueryRequest.js +2 -0
  189. package/dist/DownloadListV2/DownloadListQueryRequest.js.map +1 -0
  190. package/dist/DownloadListV2/DownloadListQueryResponse.d.ts +5 -0
  191. package/dist/DownloadListV2/DownloadListQueryResponse.js +2 -0
  192. package/dist/DownloadListV2/DownloadListQueryResponse.js.map +1 -0
  193. package/dist/DownloadListV2/QueryRequestDetails.d.ts +21 -0
  194. package/dist/DownloadListV2/QueryRequestDetails.js +2 -0
  195. package/dist/DownloadListV2/QueryRequestDetails.js.map +1 -0
  196. package/dist/DownloadListV2/QueryResponseDetails.d.ts +21 -0
  197. package/dist/DownloadListV2/QueryResponseDetails.js +2 -0
  198. package/dist/DownloadListV2/QueryResponseDetails.js.map +1 -0
  199. package/dist/DownloadListV2/RemoveBatchOfFilesFromDownloadListRequest.d.ts +4 -0
  200. package/dist/DownloadListV2/RemoveBatchOfFilesFromDownloadListRequest.js +2 -0
  201. package/dist/DownloadListV2/RemoveBatchOfFilesFromDownloadListRequest.js.map +1 -0
  202. package/dist/DownloadListV2/RemoveBatchOfFilesFromDownloadListResponse.d.ts +3 -0
  203. package/dist/DownloadListV2/RemoveBatchOfFilesFromDownloadListResponse.js +2 -0
  204. package/dist/DownloadListV2/RemoveBatchOfFilesFromDownloadListResponse.js.map +1 -0
  205. package/dist/DownloadListV2/index.d.ts +17 -0
  206. package/dist/DownloadListV2/index.js +18 -0
  207. package/dist/DownloadListV2/index.js.map +1 -0
  208. package/dist/Entity/Entity.d.ts +51 -0
  209. package/dist/Entity/Entity.js +7 -0
  210. package/dist/Entity/Entity.js.map +1 -0
  211. package/dist/Entity/FileEntity.d.ts +8 -0
  212. package/dist/Entity/FileEntity.js +2 -0
  213. package/dist/Entity/FileEntity.js.map +1 -0
  214. package/dist/Entity/Folder.d.ts +6 -0
  215. package/dist/Entity/Folder.js +2 -0
  216. package/dist/Entity/Folder.js.map +1 -0
  217. package/dist/Entity/Link.d.ts +11 -0
  218. package/dist/Entity/Link.js +2 -0
  219. package/dist/Entity/Link.js.map +1 -0
  220. package/dist/Entity/Project.d.ts +7 -0
  221. package/dist/Entity/Project.js +2 -0
  222. package/dist/Entity/Project.js.map +1 -0
  223. package/dist/Entity/index.d.ts +5 -0
  224. package/dist/Entity/index.js +6 -0
  225. package/dist/Entity/index.js.map +1 -0
  226. package/dist/EntityBundle.d.ts +107 -0
  227. package/dist/EntityBundle.js +18 -0
  228. package/dist/EntityBundle.js.map +1 -0
  229. package/dist/EntityChildren.d.ts +26 -0
  230. package/dist/EntityChildren.js +14 -0
  231. package/dist/EntityChildren.js.map +1 -0
  232. package/dist/EntityHeader.d.ts +38 -0
  233. package/dist/EntityHeader.js +2 -0
  234. package/dist/EntityHeader.js.map +1 -0
  235. package/dist/EntityId.d.ts +3 -0
  236. package/dist/EntityId.js +3 -0
  237. package/dist/EntityId.js.map +1 -0
  238. package/dist/EntityLookupRequest.d.ts +4 -0
  239. package/dist/EntityLookupRequest.js +3 -0
  240. package/dist/EntityLookupRequest.js.map +1 -0
  241. package/dist/ErrorResponse.d.ts +22 -0
  242. package/dist/ErrorResponse.js +14 -0
  243. package/dist/ErrorResponse.js.map +1 -0
  244. package/dist/Evaluation/Evaluation.d.ts +14 -0
  245. package/dist/Evaluation/Evaluation.js +2 -0
  246. package/dist/Evaluation/Evaluation.js.map +1 -0
  247. package/dist/Evaluation/EvaluationRound.d.ts +9 -0
  248. package/dist/Evaluation/EvaluationRound.js +2 -0
  249. package/dist/Evaluation/EvaluationRound.js.map +1 -0
  250. package/dist/Evaluation/EvaluationRoundLimit.d.ts +5 -0
  251. package/dist/Evaluation/EvaluationRoundLimit.js +2 -0
  252. package/dist/Evaluation/EvaluationRoundLimit.js.map +1 -0
  253. package/dist/Evaluation/EvaluationRoundListRequest.d.ts +3 -0
  254. package/dist/Evaluation/EvaluationRoundListRequest.js +2 -0
  255. package/dist/Evaluation/EvaluationRoundListRequest.js.map +1 -0
  256. package/dist/Evaluation/EvaluationRoundListResponse.d.ts +5 -0
  257. package/dist/Evaluation/EvaluationRoundListResponse.js +2 -0
  258. package/dist/Evaluation/EvaluationRoundListResponse.js.map +1 -0
  259. package/dist/Evaluation/GetEvaluationParameters.d.ts +8 -0
  260. package/dist/Evaluation/GetEvaluationParameters.js +5 -0
  261. package/dist/Evaluation/GetEvaluationParameters.js.map +1 -0
  262. package/dist/Evaluation/SubmissionQuota.d.ts +7 -0
  263. package/dist/Evaluation/SubmissionQuota.js +3 -0
  264. package/dist/Evaluation/SubmissionQuota.js.map +1 -0
  265. package/dist/Evaluation/UserEvaluationPermissions.d.ts +13 -0
  266. package/dist/Evaluation/UserEvaluationPermissions.js +2 -0
  267. package/dist/Evaluation/UserEvaluationPermissions.js.map +1 -0
  268. package/dist/Evaluation/index.d.ts +8 -0
  269. package/dist/Evaluation/index.js +9 -0
  270. package/dist/Evaluation/index.js.map +1 -0
  271. package/dist/EvaluationQueryTable/QueryTableResults.d.ts +8 -0
  272. package/dist/EvaluationQueryTable/QueryTableResults.js +2 -0
  273. package/dist/EvaluationQueryTable/QueryTableResults.js.map +1 -0
  274. package/dist/EvaluationQueryTable/index.d.ts +1 -0
  275. package/dist/EvaluationQueryTable/index.js +2 -0
  276. package/dist/EvaluationQueryTable/index.js.map +1 -0
  277. package/dist/EvaluationSubmission.d.ts +16 -0
  278. package/dist/EvaluationSubmission.js +2 -0
  279. package/dist/EvaluationSubmission.js.map +1 -0
  280. package/dist/FavoriteSortBy.d.ts +2 -0
  281. package/dist/FavoriteSortBy.js +2 -0
  282. package/dist/FavoriteSortBy.js.map +1 -0
  283. package/dist/FeatureFlags.d.ts +12 -0
  284. package/dist/FeatureFlags.js +22 -0
  285. package/dist/FeatureFlags.js.map +1 -0
  286. package/dist/File/CloudProviderFileHandle.d.ts +11 -0
  287. package/dist/File/CloudProviderFileHandle.js +2 -0
  288. package/dist/File/CloudProviderFileHandle.js.map +1 -0
  289. package/dist/File/ExternalFileHandle.d.ts +13 -0
  290. package/dist/File/ExternalFileHandle.js +2 -0
  291. package/dist/File/ExternalFileHandle.js.map +1 -0
  292. package/dist/File/ExternalFileHandleInterface.d.ts +8 -0
  293. package/dist/File/ExternalFileHandleInterface.js +2 -0
  294. package/dist/File/ExternalFileHandleInterface.js.map +1 -0
  295. package/dist/File/ExternalObjectStoreFileHandle.d.ts +17 -0
  296. package/dist/File/ExternalObjectStoreFileHandle.js +2 -0
  297. package/dist/File/ExternalObjectStoreFileHandle.js.map +1 -0
  298. package/dist/File/FileHandle.d.ts +32 -0
  299. package/dist/File/FileHandle.js +2 -0
  300. package/dist/File/FileHandle.js.map +1 -0
  301. package/dist/File/FileHandleStatus.d.ts +12 -0
  302. package/dist/File/FileHandleStatus.js +2 -0
  303. package/dist/File/FileHandleStatus.js.map +1 -0
  304. package/dist/File/GoogleCloudFileHandle.d.ts +6 -0
  305. package/dist/File/GoogleCloudFileHandle.js +2 -0
  306. package/dist/File/GoogleCloudFileHandle.js.map +1 -0
  307. package/dist/File/ProxyFileHandle.d.ts +13 -0
  308. package/dist/File/ProxyFileHandle.js +2 -0
  309. package/dist/File/ProxyFileHandle.js.map +1 -0
  310. package/dist/File/S3FileHandle.d.ts +6 -0
  311. package/dist/File/S3FileHandle.js +2 -0
  312. package/dist/File/S3FileHandle.js.map +1 -0
  313. package/dist/File/UploadDestination.d.ts +104 -0
  314. package/dist/File/UploadDestination.js +18 -0
  315. package/dist/File/UploadDestination.js.map +1 -0
  316. package/dist/File/index.d.ts +9 -0
  317. package/dist/File/index.js +10 -0
  318. package/dist/File/index.js.map +1 -0
  319. package/dist/FileDownloadSummary.d.ts +21 -0
  320. package/dist/FileDownloadSummary.js +16 -0
  321. package/dist/FileDownloadSummary.js.map +1 -0
  322. package/dist/FileHandleAssociation.d.ts +19 -0
  323. package/dist/FileHandleAssociation.js +17 -0
  324. package/dist/FileHandleAssociation.js.map +1 -0
  325. package/dist/FileHandleResults.d.ts +4 -0
  326. package/dist/FileHandleResults.js +2 -0
  327. package/dist/FileHandleResults.js.map +1 -0
  328. package/dist/FileResult.d.ts +8 -0
  329. package/dist/FileResult.js +2 -0
  330. package/dist/FileResult.js.map +1 -0
  331. package/dist/FileUploadComplete.d.ts +10 -0
  332. package/dist/FileUploadComplete.js +2 -0
  333. package/dist/FileUploadComplete.js.map +1 -0
  334. package/dist/Forms.d.ts +46 -0
  335. package/dist/Forms.js +9 -0
  336. package/dist/Forms.js.map +1 -0
  337. package/dist/GetProjectsParams.d.ts +7 -0
  338. package/dist/GetProjectsParams.js +4 -0
  339. package/dist/GetProjectsParams.js.map +1 -0
  340. package/dist/HasAccessResponse.d.ts +3 -0
  341. package/dist/HasAccessResponse.js +2 -0
  342. package/dist/HasAccessResponse.js.map +1 -0
  343. package/dist/ListWrapper.d.ts +6 -0
  344. package/dist/ListWrapper.js +2 -0
  345. package/dist/ListWrapper.js.map +1 -0
  346. package/dist/LoginRequest.d.ts +5 -0
  347. package/dist/LoginRequest.js +2 -0
  348. package/dist/LoginRequest.js.map +1 -0
  349. package/dist/LoginResponse.d.ts +8 -0
  350. package/dist/LoginResponse.js +2 -0
  351. package/dist/LoginResponse.js.map +1 -0
  352. package/dist/MarkdownCommands.d.ts +8 -0
  353. package/dist/MarkdownCommands.js +55 -0
  354. package/dist/MarkdownCommands.js.map +1 -0
  355. package/dist/MembershipInvitation.d.ts +11 -0
  356. package/dist/MembershipInvitation.js +2 -0
  357. package/dist/MembershipInvitation.js.map +1 -0
  358. package/dist/MessageBundle.d.ts +12 -0
  359. package/dist/MessageBundle.js +2 -0
  360. package/dist/MessageBundle.js.map +1 -0
  361. package/dist/MessageToUser.d.ts +18 -0
  362. package/dist/MessageToUser.js +2 -0
  363. package/dist/MessageToUser.js.map +1 -0
  364. package/dist/MessageUrl.d.ts +3 -0
  365. package/dist/MessageUrl.js +2 -0
  366. package/dist/MessageUrl.js.map +1 -0
  367. package/dist/MultipartUploadRequest.d.ts +9 -0
  368. package/dist/MultipartUploadRequest.js +3 -0
  369. package/dist/MultipartUploadRequest.js.map +1 -0
  370. package/dist/MultipartUploadStatus.d.ts +9 -0
  371. package/dist/MultipartUploadStatus.js +2 -0
  372. package/dist/MultipartUploadStatus.js.map +1 -0
  373. package/dist/OAuthClient.d.ts +46 -0
  374. package/dist/OAuthClient.js +9 -0
  375. package/dist/OAuthClient.js.map +1 -0
  376. package/dist/OAuthClientPublic.d.ts +8 -0
  377. package/dist/OAuthClientPublic.js +3 -0
  378. package/dist/OAuthClientPublic.js.map +1 -0
  379. package/dist/OAuthConsentGrantedResponse.d.ts +3 -0
  380. package/dist/OAuthConsentGrantedResponse.js +3 -0
  381. package/dist/OAuthConsentGrantedResponse.js.map +1 -0
  382. package/dist/OIDCAuthorizationRequest.d.ts +26 -0
  383. package/dist/OIDCAuthorizationRequest.js +3 -0
  384. package/dist/OIDCAuthorizationRequest.js.map +1 -0
  385. package/dist/OIDCAuthorizationRequestDescription.d.ts +5 -0
  386. package/dist/OIDCAuthorizationRequestDescription.js +3 -0
  387. package/dist/OIDCAuthorizationRequestDescription.js.map +1 -0
  388. package/dist/ObjectType.d.ts +32 -0
  389. package/dist/ObjectType.js +35 -0
  390. package/dist/ObjectType.js.map +1 -0
  391. package/dist/PaginatedIds.d.ts +8 -0
  392. package/dist/PaginatedIds.js +2 -0
  393. package/dist/PaginatedIds.js.map +1 -0
  394. package/dist/PaginatedResults.d.ts +4 -0
  395. package/dist/PaginatedResults.js +2 -0
  396. package/dist/PaginatedResults.js.map +1 -0
  397. package/dist/PartPresignedUrl.d.ts +4 -0
  398. package/dist/PartPresignedUrl.js +2 -0
  399. package/dist/PartPresignedUrl.js.map +1 -0
  400. package/dist/Principal/PrincipalServices.d.ts +45 -0
  401. package/dist/Principal/PrincipalServices.js +12 -0
  402. package/dist/Principal/PrincipalServices.js.map +1 -0
  403. package/dist/Principal/index.d.ts +1 -0
  404. package/dist/Principal/index.js +2 -0
  405. package/dist/Principal/index.js.map +1 -0
  406. package/dist/ProjectHeader.d.ts +11 -0
  407. package/dist/ProjectHeader.js +2 -0
  408. package/dist/ProjectHeader.js.map +1 -0
  409. package/dist/ProjectStorage.d.ts +15 -0
  410. package/dist/ProjectStorage.js +2 -0
  411. package/dist/ProjectStorage.js.map +1 -0
  412. package/dist/Provenance/Provenance.d.ts +41 -0
  413. package/dist/Provenance/Provenance.js +3 -0
  414. package/dist/Provenance/Provenance.js.map +1 -0
  415. package/dist/Provenance/index.d.ts +1 -0
  416. package/dist/Provenance/index.js +2 -0
  417. package/dist/Provenance/index.js.map +1 -0
  418. package/dist/ReferenceList.d.ts +5 -0
  419. package/dist/ReferenceList.js +2 -0
  420. package/dist/ReferenceList.js.map +1 -0
  421. package/dist/ResearchProject.d.ts +17 -0
  422. package/dist/ResearchProject.js +2 -0
  423. package/dist/ResearchProject.js.map +1 -0
  424. package/dist/ResourceAccess.d.ts +5 -0
  425. package/dist/ResourceAccess.js +2 -0
  426. package/dist/ResourceAccess.js.map +1 -0
  427. package/dist/ResponseMessage.d.ts +3 -0
  428. package/dist/ResponseMessage.js +3 -0
  429. package/dist/ResponseMessage.js.map +1 -0
  430. package/dist/RestrictionInformation.d.ts +35 -0
  431. package/dist/RestrictionInformation.js +15 -0
  432. package/dist/RestrictionInformation.js.map +1 -0
  433. package/dist/Schema/JsonSchemaObjectBinding.d.ts +22 -0
  434. package/dist/Schema/JsonSchemaObjectBinding.js +5 -0
  435. package/dist/Schema/JsonSchemaObjectBinding.js.map +1 -0
  436. package/dist/Schema/SchemaObjectType.d.ts +3 -0
  437. package/dist/Schema/SchemaObjectType.js +6 -0
  438. package/dist/Schema/SchemaObjectType.js.map +1 -0
  439. package/dist/Schema/ValidationResults.d.ts +24 -0
  440. package/dist/Schema/ValidationResults.js +2 -0
  441. package/dist/Schema/ValidationResults.js.map +1 -0
  442. package/dist/Schema/index.d.ts +3 -0
  443. package/dist/Schema/index.js +4 -0
  444. package/dist/Schema/index.js.map +1 -0
  445. package/dist/Search.d.ts +83 -0
  446. package/dist/Search.js +30 -0
  447. package/dist/Search.js.map +1 -0
  448. package/dist/SignedToken/InviteeVerificationSignedToken.d.ts +7 -0
  449. package/dist/SignedToken/InviteeVerificationSignedToken.js +2 -0
  450. package/dist/SignedToken/InviteeVerificationSignedToken.js.map +1 -0
  451. package/dist/SignedToken/JoinTeamSignedToken.d.ts +11 -0
  452. package/dist/SignedToken/JoinTeamSignedToken.js +4 -0
  453. package/dist/SignedToken/JoinTeamSignedToken.js.map +1 -0
  454. package/dist/SignedToken/MembershipInvtnSignedToken.d.ts +9 -0
  455. package/dist/SignedToken/MembershipInvtnSignedToken.js +4 -0
  456. package/dist/SignedToken/MembershipInvtnSignedToken.js.map +1 -0
  457. package/dist/SignedToken/SignedTokenConcreteType.d.ts +7 -0
  458. package/dist/SignedToken/SignedTokenConcreteType.js +4 -0
  459. package/dist/SignedToken/SignedTokenConcreteType.js.map +1 -0
  460. package/dist/SignedToken/SignedTokenInterface.d.ts +8 -0
  461. package/dist/SignedToken/SignedTokenInterface.js +2 -0
  462. package/dist/SignedToken/SignedTokenInterface.js.map +1 -0
  463. package/dist/SignedToken/index.d.ts +5 -0
  464. package/dist/SignedToken/index.js +6 -0
  465. package/dist/SignedToken/index.js.map +1 -0
  466. package/dist/Statistics.d.ts +22 -0
  467. package/dist/Statistics.js +3 -0
  468. package/dist/Statistics.js.map +1 -0
  469. package/dist/SubmissionContributor.d.ts +4 -0
  470. package/dist/SubmissionContributor.js +3 -0
  471. package/dist/SubmissionContributor.js.map +1 -0
  472. package/dist/SubmissionEligibility.d.ts +16 -0
  473. package/dist/SubmissionEligibility.js +2 -0
  474. package/dist/SubmissionEligibility.js.map +1 -0
  475. package/dist/SubmissionInfo.d.ts +17 -0
  476. package/dist/SubmissionInfo.js +2 -0
  477. package/dist/SubmissionInfo.js.map +1 -0
  478. package/dist/Subscription.d.ts +47 -0
  479. package/dist/Subscription.js +16 -0
  480. package/dist/Subscription.js.map +1 -0
  481. package/dist/SynapseVersion.d.ts +3 -0
  482. package/dist/SynapseVersion.js +2 -0
  483. package/dist/SynapseVersion.js.map +1 -0
  484. package/dist/Table/AsyncJobId.d.ts +3 -0
  485. package/dist/Table/AsyncJobId.js +2 -0
  486. package/dist/Table/AsyncJobId.js.map +1 -0
  487. package/dist/Table/AsynchronousJobStatus.d.ts +19 -0
  488. package/dist/Table/AsynchronousJobStatus.js +2 -0
  489. package/dist/Table/AsynchronousJobStatus.js.map +1 -0
  490. package/dist/Table/ColumnModel.d.ts +25 -0
  491. package/dist/Table/ColumnModel.js +2 -0
  492. package/dist/Table/ColumnModel.js.map +1 -0
  493. package/dist/Table/ColumnType.d.ts +23 -0
  494. package/dist/Table/ColumnType.js +25 -0
  495. package/dist/Table/ColumnType.js.map +1 -0
  496. package/dist/Table/ConcreteType.d.ts +6 -0
  497. package/dist/Table/ConcreteType.js +19 -0
  498. package/dist/Table/ConcreteType.js.map +1 -0
  499. package/dist/Table/CsvTableDescription.d.ts +7 -0
  500. package/dist/Table/CsvTableDescription.js +4 -0
  501. package/dist/Table/CsvTableDescription.js.map +1 -0
  502. package/dist/Table/Dataset.d.ts +21 -0
  503. package/dist/Table/Dataset.js +3 -0
  504. package/dist/Table/Dataset.js.map +1 -0
  505. package/dist/Table/DownloadFromTableRequest.d.ts +19 -0
  506. package/dist/Table/DownloadFromTableRequest.js +2 -0
  507. package/dist/Table/DownloadFromTableRequest.js.map +1 -0
  508. package/dist/Table/DownloadFromTableResult.d.ts +8 -0
  509. package/dist/Table/DownloadFromTableResult.js +2 -0
  510. package/dist/Table/DownloadFromTableResult.js.map +1 -0
  511. package/dist/Table/DownloadPFBRequest.d.ts +22 -0
  512. package/dist/Table/DownloadPFBRequest.js +2 -0
  513. package/dist/Table/DownloadPFBRequest.js.map +1 -0
  514. package/dist/Table/DownloadPFBResult.d.ts +13 -0
  515. package/dist/Table/DownloadPFBResult.js +2 -0
  516. package/dist/Table/DownloadPFBResult.js.map +1 -0
  517. package/dist/Table/EntityView.d.ts +18 -0
  518. package/dist/Table/EntityView.js +10 -0
  519. package/dist/Table/EntityView.js.map +1 -0
  520. package/dist/Table/FacetColumnRequest.d.ts +18 -0
  521. package/dist/Table/FacetColumnRequest.js +3 -0
  522. package/dist/Table/FacetColumnRequest.js.map +1 -0
  523. package/dist/Table/FacetColumnResult.d.ts +23 -0
  524. package/dist/Table/FacetColumnResult.js +2 -0
  525. package/dist/Table/FacetColumnResult.js.map +1 -0
  526. package/dist/Table/FacetColumnSortConfig.d.ts +29 -0
  527. package/dist/Table/FacetColumnSortConfig.js +2 -0
  528. package/dist/Table/FacetColumnSortConfig.js.map +1 -0
  529. package/dist/Table/FacetType.d.ts +1 -0
  530. package/dist/Table/FacetType.js +2 -0
  531. package/dist/Table/FacetType.js.map +1 -0
  532. package/dist/Table/JsonSubColumnModel.d.ts +20 -0
  533. package/dist/Table/JsonSubColumnModel.js +2 -0
  534. package/dist/Table/JsonSubColumnModel.js.map +1 -0
  535. package/dist/Table/MaterializedView.d.ts +7 -0
  536. package/dist/Table/MaterializedView.js +2 -0
  537. package/dist/Table/MaterializedView.js.map +1 -0
  538. package/dist/Table/Query.d.ts +17 -0
  539. package/dist/Table/Query.js +2 -0
  540. package/dist/Table/Query.js.map +1 -0
  541. package/dist/Table/QueryBundleRequest.d.ts +7 -0
  542. package/dist/Table/QueryBundleRequest.js +2 -0
  543. package/dist/Table/QueryBundleRequest.js.map +1 -0
  544. package/dist/Table/QueryFilter.d.ts +38 -0
  545. package/dist/Table/QueryFilter.js +21 -0
  546. package/dist/Table/QueryFilter.js.map +1 -0
  547. package/dist/Table/QueryResult.d.ts +22 -0
  548. package/dist/Table/QueryResult.js +2 -0
  549. package/dist/Table/QueryResult.js.map +1 -0
  550. package/dist/Table/QueryResultBundle.d.ts +19 -0
  551. package/dist/Table/QueryResultBundle.js +2 -0
  552. package/dist/Table/QueryResultBundle.js.map +1 -0
  553. package/dist/Table/SelectColumn.d.ts +6 -0
  554. package/dist/Table/SelectColumn.js +2 -0
  555. package/dist/Table/SelectColumn.js.map +1 -0
  556. package/dist/Table/SubmissionView.d.ts +13 -0
  557. package/dist/Table/SubmissionView.js +2 -0
  558. package/dist/Table/SubmissionView.js.map +1 -0
  559. package/dist/Table/SumFileSizes.d.ts +4 -0
  560. package/dist/Table/SumFileSizes.js +2 -0
  561. package/dist/Table/SumFileSizes.js.map +1 -0
  562. package/dist/Table/Table.d.ts +7 -0
  563. package/dist/Table/Table.js +2 -0
  564. package/dist/Table/Table.js.map +1 -0
  565. package/dist/Table/TableBundle.d.ts +5 -0
  566. package/dist/Table/TableBundle.js +2 -0
  567. package/dist/Table/TableBundle.js.map +1 -0
  568. package/dist/Table/TableEntity.d.ts +5 -0
  569. package/dist/Table/TableEntity.js +2 -0
  570. package/dist/Table/TableEntity.js.map +1 -0
  571. package/dist/Table/TableUpdate.d.ts +67 -0
  572. package/dist/Table/TableUpdate.js +2 -0
  573. package/dist/Table/TableUpdate.js.map +1 -0
  574. package/dist/Table/ValidateDefiningSql.d.ts +9 -0
  575. package/dist/Table/ValidateDefiningSql.js +2 -0
  576. package/dist/Table/ValidateDefiningSql.js.map +1 -0
  577. package/dist/Table/View.d.ts +5 -0
  578. package/dist/Table/View.js +2 -0
  579. package/dist/Table/View.js.map +1 -0
  580. package/dist/Table/ViewColumnModelRequest.d.ts +11 -0
  581. package/dist/Table/ViewColumnModelRequest.js +2 -0
  582. package/dist/Table/ViewColumnModelRequest.js.map +1 -0
  583. package/dist/Table/ViewColumnModelResponse.d.ts +9 -0
  584. package/dist/Table/ViewColumnModelResponse.js +2 -0
  585. package/dist/Table/ViewColumnModelResponse.js.map +1 -0
  586. package/dist/Table/ViewScope.d.ts +9 -0
  587. package/dist/Table/ViewScope.js +2 -0
  588. package/dist/Table/ViewScope.js.map +1 -0
  589. package/dist/Table/VirtualTable.d.ts +14 -0
  590. package/dist/Table/VirtualTable.js +2 -0
  591. package/dist/Table/VirtualTable.js.map +1 -0
  592. package/dist/Table/index.d.ts +36 -0
  593. package/dist/Table/index.js +37 -0
  594. package/dist/Table/index.js.map +1 -0
  595. package/dist/Team.d.ts +14 -0
  596. package/dist/Team.js +2 -0
  597. package/dist/Team.js.map +1 -0
  598. package/dist/TeamMember.d.ts +30 -0
  599. package/dist/TeamMember.js +2 -0
  600. package/dist/TeamMember.js.map +1 -0
  601. package/dist/TermsOfService.d.ts +20 -0
  602. package/dist/TermsOfService.js +7 -0
  603. package/dist/TermsOfService.js.map +1 -0
  604. package/dist/TotpSecret.d.ts +21 -0
  605. package/dist/TotpSecret.js +2 -0
  606. package/dist/TotpSecret.js.map +1 -0
  607. package/dist/TrashedEntity.d.ts +20 -0
  608. package/dist/TrashedEntity.js +2 -0
  609. package/dist/TrashedEntity.js.map +1 -0
  610. package/dist/TwoFactorAuthDisableRequest.d.ts +23 -0
  611. package/dist/TwoFactorAuthDisableRequest.js +2 -0
  612. package/dist/TwoFactorAuthDisableRequest.js.map +1 -0
  613. package/dist/TwoFactorAuthLoginRequest.d.ts +12 -0
  614. package/dist/TwoFactorAuthLoginRequest.js +2 -0
  615. package/dist/TwoFactorAuthLoginRequest.js.map +1 -0
  616. package/dist/TwoFactorAuthRecoveryCodes.d.ts +8 -0
  617. package/dist/TwoFactorAuthRecoveryCodes.js +2 -0
  618. package/dist/TwoFactorAuthRecoveryCodes.js.map +1 -0
  619. package/dist/TwoFactorAuthResetRequest.d.ts +11 -0
  620. package/dist/TwoFactorAuthResetRequest.js +2 -0
  621. package/dist/TwoFactorAuthResetRequest.js.map +1 -0
  622. package/dist/UserBundle.d.ts +12 -0
  623. package/dist/UserBundle.js +2 -0
  624. package/dist/UserBundle.js.map +1 -0
  625. package/dist/UserEntityPermissions.d.ts +21 -0
  626. package/dist/UserEntityPermissions.js +2 -0
  627. package/dist/UserEntityPermissions.js.map +1 -0
  628. package/dist/UserGroupHeader.d.ts +17 -0
  629. package/dist/UserGroupHeader.js +8 -0
  630. package/dist/UserGroupHeader.js.map +1 -0
  631. package/dist/UserGroupHeaderResponsePage.d.ts +6 -0
  632. package/dist/UserGroupHeaderResponsePage.js +2 -0
  633. package/dist/UserGroupHeaderResponsePage.js.map +1 -0
  634. package/dist/UserPreference.d.ts +10 -0
  635. package/dist/UserPreference.js +2 -0
  636. package/dist/UserPreference.js.map +1 -0
  637. package/dist/UserProfile.d.ts +39 -0
  638. package/dist/UserProfile.js +2 -0
  639. package/dist/UserProfile.js.map +1 -0
  640. package/dist/VerificationSubmission.d.ts +30 -0
  641. package/dist/VerificationSubmission.js +8 -0
  642. package/dist/VerificationSubmission.js.map +1 -0
  643. package/dist/VersionInfo.d.ts +12 -0
  644. package/dist/VersionInfo.js +2 -0
  645. package/dist/VersionInfo.js.map +1 -0
  646. package/dist/WikiPage.d.ts +12 -0
  647. package/dist/WikiPage.js +3 -0
  648. package/dist/WikiPage.js.map +1 -0
  649. package/dist/WikiPageKey.d.ts +6 -0
  650. package/dist/WikiPageKey.js +2 -0
  651. package/dist/WikiPageKey.js.map +1 -0
  652. package/dist/discussion/DiscussionBundle.d.ts +71 -0
  653. package/dist/discussion/DiscussionBundle.js +18 -0
  654. package/dist/discussion/DiscussionBundle.js.map +1 -0
  655. package/dist/discussion/DiscussionSearch.d.ts +13 -0
  656. package/dist/discussion/DiscussionSearch.js +2 -0
  657. package/dist/discussion/DiscussionSearch.js.map +1 -0
  658. package/dist/discussion/index.d.ts +2 -0
  659. package/dist/discussion/index.js +3 -0
  660. package/dist/discussion/index.js.map +1 -0
  661. package/dist/docker/DockerRepository.d.ts +15 -0
  662. package/dist/docker/DockerRepository.js +2 -0
  663. package/dist/docker/DockerRepository.js.map +1 -0
  664. package/dist/docker/index.d.ts +1 -0
  665. package/dist/docker/index.js +2 -0
  666. package/dist/docker/index.js.map +1 -0
  667. package/dist/index.d.ts +105 -3208
  668. package/dist/index.js +109 -832
  669. package/dist/index.js.map +1 -0
  670. package/dist/util/IsType.d.ts +16 -0
  671. package/dist/util/IsType.js +17 -0
  672. package/dist/util/IsType.js.map +1 -0
  673. package/package.json +9 -7
  674. package/dist/index.d.mts +0 -3208
  675. package/dist/index.mjs +0 -712
package/dist/index.d.ts CHANGED
@@ -1,3208 +1,105 @@
1
- type SortDirection = 'ASC' | 'DESC';
2
- declare enum ApprovalState {
3
- APPROVED = "APPROVED",
4
- REVOKED = "REVOKED"
5
- }
6
- declare enum AccessApprovalSortField {
7
- MODIFIED_ON = "MODIFIED_ON",
8
- EXPIRED_ON = "EXPIRED_ON"
9
- }
10
- interface AccessApprovalSearchSort {
11
- field: AccessApprovalSortField;
12
- direction: SortDirection;
13
- }
14
- interface AccessApprovalSearchResult {
15
- id: string;
16
- accessRequirementId: string;
17
- accessRequirementVersion: string;
18
- accessRequirementName: string;
19
- submitterId: string;
20
- reviewerId: string;
21
- state: ApprovalState;
22
- modifiedOn: string;
23
- expiredOn: string;
24
- }
25
- interface AccessApproval {
26
- id: number;
27
- etag: string;
28
- createdOn: string;
29
- modifiedOn: string;
30
- createdBy: string;
31
- modifiedBy: string;
32
- requirementId: number;
33
- requirementVersion?: number;
34
- submitterId: string;
35
- accessorId: string;
36
- expiredOn?: string;
37
- state: ApprovalState;
38
- }
39
- type CreateAccessApprovalRequest = Pick<AccessApproval, 'requirementId' | 'requirementVersion' | 'submitterId' | 'accessorId' | 'state'>;
40
- interface AccessApprovalSearchRequest {
41
- accessorId: string;
42
- accessRequirementId?: string;
43
- sort?: AccessApprovalSearchSort[];
44
- nextPageToken?: string;
45
- }
46
- interface AccessApprovalSearchResponse {
47
- results: AccessApprovalSearchResult[];
48
- nextPageToken?: string;
49
- }
50
-
51
- /**
52
- * The type of access change for this user. Users can gain access, renew access, or have access revoked.
53
- * http://rest-docs.synapse.org/rest/org/sagebionetworks/repo/model/dataaccess/AccessType.html
54
- */
55
- declare enum AccessType {
56
- GAIN_ACCESS = "GAIN_ACCESS",
57
- RENEW_ACCESS = "RENEW_ACCESS",
58
- REVOKE_ACCESS = "REVOKE_ACCESS"
59
- }
60
- /**
61
- * Request for a single user change access to a resource.
62
- * http://rest-docs.synapse.org/rest/org/sagebionetworks/repo/model/dataaccess/AccessorChange.html
63
- */
64
- type AccessorChange = {
65
- userId: string;
66
- type: AccessType;
67
- };
68
-
69
- /**
70
- * https://rest-docs.synapse.org/rest/org/sagebionetworks/repo/model/ACCESS_TYPE.html
71
- */
72
- declare enum ACCESS_TYPE {
73
- CREATE = "CREATE",
74
- READ = "READ",
75
- UPDATE = "UPDATE",
76
- DELETE = "DELETE",
77
- CHANGE_PERMISSIONS = "CHANGE_PERMISSIONS",
78
- DOWNLOAD = "DOWNLOAD",
79
- /**
80
- * @deprecated
81
- */
82
- UPLOAD = "UPLOAD",
83
- PARTICIPATE = "PARTICIPATE",
84
- SUBMIT = "SUBMIT",
85
- READ_PRIVATE_SUBMISSION = "READ_PRIVATE_SUBMISSION",
86
- UPDATE_SUBMISSION = "UPDATE_SUBMISSION",
87
- DELETE_SUBMISSION = "DELETE_SUBMISSION",
88
- TEAM_MEMBERSHIP_UPDATE = "TEAM_MEMBERSHIP_UPDATE",
89
- SEND_MESSAGE = "SEND_MESSAGE",
90
- CHANGE_SETTINGS = "CHANGE_SETTINGS",
91
- MODERATE = "MODERATE",
92
- /** Allows to review a group of submissions (e.g. on ARs) for a given object */
93
- REVIEW_SUBMISSIONS = "REVIEW_SUBMISSIONS",
94
- /** Eligible for exemption when granted this permission on the ACl of the AR */
95
- EXEMPTION_ELIGIBLE = "EXEMPTION_ELIGIBLE"
96
- }
97
-
98
- type RestrictableObjectDescriptor = {
99
- id: string;
100
- type: RestrictableObjectType;
101
- };
102
-
103
- declare const ACT_ACCESS_REQUIREMENT_CONCRETE_TYPE_DISPLAY_VALUE = "Basic";
104
- declare const ACT_ACCESS_REQUIREMENT_CONCRETE_TYPE_VALUE = "org.sagebionetworks.repo.model.ACTAccessRequirement";
105
- type ACT_ACCESS_REQUIREMENT_CONCRETE_TYPE = typeof ACT_ACCESS_REQUIREMENT_CONCRETE_TYPE_VALUE;
106
- interface ACTAccessRequirement {
107
- versionNumber: number;
108
- id: number;
109
- name: string;
110
- etag: string;
111
- createdOn: string;
112
- modifiedOn: string;
113
- createdBy: string;
114
- modifiedBy: string;
115
- subjectsDefinedByAnnotations: boolean;
116
- subjectIds: Array<RestrictableObjectDescriptor>;
117
- accessType: ACCESS_TYPE;
118
- concreteType: ACT_ACCESS_REQUIREMENT_CONCRETE_TYPE;
119
- actContactInfo?: string;
120
- openJiraIssue: boolean;
121
- }
122
-
123
- declare const MANAGED_ACT_ACCESS_REQUIREMENT_CONCRETE_TYPE_DISPLAY_VALUE = "Managed";
124
- declare const MANAGED_ACT_ACCESS_REQUIREMENT_CONCRETE_TYPE_VALUE = "org.sagebionetworks.repo.model.ManagedACTAccessRequirement";
125
- type MANAGED_ACT_ACCESS_REQUIREMENT_CONCRETE_TYPE = typeof MANAGED_ACT_ACCESS_REQUIREMENT_CONCRETE_TYPE_VALUE;
126
- type ManagedACTAccessRequirement = {
127
- versionNumber: number;
128
- id: number;
129
- name: string;
130
- etag: string;
131
- createdOn: string;
132
- modifiedOn: string;
133
- createdBy: string;
134
- modifiedBy: string;
135
- subjectsDefinedByAnnotations: boolean;
136
- subjectIds: Array<RestrictableObjectDescriptor>;
137
- accessType: ACCESS_TYPE;
138
- concreteType: MANAGED_ACT_ACCESS_REQUIREMENT_CONCRETE_TYPE;
139
- isCertifiedUserRequired: boolean;
140
- isValidatedProfileRequired: boolean;
141
- isDUCRequired: boolean;
142
- ducTemplateFileHandleId?: string;
143
- isIRBApprovalRequired: boolean;
144
- areOtherAttachmentsRequired: boolean;
145
- expirationPeriod: number;
146
- isIDUPublic: boolean;
147
- isIDURequired: boolean;
148
- isTwoFaRequired: boolean;
149
- };
150
-
151
- type ACT_ACCESS_REQUIREMENT_INTERFACE_CONCRETE_TYPE = ACT_ACCESS_REQUIREMENT_CONCRETE_TYPE | MANAGED_ACT_ACCESS_REQUIREMENT_CONCRETE_TYPE;
152
- type ACTAccessRequirementInterface = ACTAccessRequirement | ManagedACTAccessRequirement;
153
-
154
- declare const LOCK_ACCESS_REQUIREMENT_CONCRETE_TYPE_DISPLAY_VALUE = "Lock";
155
- declare const LOCK_ACCESS_REQUIREMENT_CONCRETE_TYPE_VALUE = "org.sagebionetworks.repo.model.LockAccessRequirement";
156
- type LOCK_ACCESS_REQUIREMENT_CONCRETE_TYPE = typeof LOCK_ACCESS_REQUIREMENT_CONCRETE_TYPE_VALUE;
157
- /**
158
- * JSON schema for Lock Access Requirement, used to lock down the entity while waiting for ACT to review.
159
- * https://rest-docs.synapse.org/rest/org/sagebionetworks/repo/model/LockAccessRequirement.html
160
- */
161
- type LockAccessRequirement = {
162
- versionNumber: number;
163
- id: number;
164
- name: string;
165
- etag: string;
166
- createdOn: string;
167
- modifiedOn: string;
168
- createdBy: string;
169
- modifiedBy: string;
170
- subjectsDefinedByAnnotations: boolean;
171
- subjectIds: Array<RestrictableObjectDescriptor>;
172
- accessType: ACCESS_TYPE;
173
- concreteType: LOCK_ACCESS_REQUIREMENT_CONCRETE_TYPE;
174
- jiraKey: string;
175
- };
176
-
177
- declare const SELF_SIGN_ACCESS_REQUIREMENT_CONCRETE_TYPE_DISPLAY_VALUE = "Click-Wrap";
178
- declare const SELF_SIGN_ACCESS_REQUIREMENT_CONCRETE_TYPE_VALUE = "org.sagebionetworks.repo.model.SelfSignAccessRequirement";
179
- type SELF_SIGN_ACCESS_REQUIREMENT_CONCRETE_TYPE = typeof SELF_SIGN_ACCESS_REQUIREMENT_CONCRETE_TYPE_VALUE;
180
- interface SelfSignAccessRequirement {
181
- versionNumber: number;
182
- id: number;
183
- name: string;
184
- etag: string;
185
- createdOn: string;
186
- modifiedOn: string;
187
- createdBy: string;
188
- modifiedBy: string;
189
- subjectsDefinedByAnnotations: boolean;
190
- subjectIds: Array<RestrictableObjectDescriptor>;
191
- accessType: ACCESS_TYPE;
192
- concreteType: SELF_SIGN_ACCESS_REQUIREMENT_CONCRETE_TYPE;
193
- isCertifiedUserRequired: boolean;
194
- isValidatedProfileRequired: boolean;
195
- }
196
-
197
- declare const TERMS_OF_USE_ACCESS_REQUIREMENT_CONCRETE_TYPE_DISPLAY_VALUE = "Terms of Use";
198
- declare const TERMS_OF_USE_ACCESS_REQUIREMENT_CONCRETE_TYPE_VALUE = "org.sagebionetworks.repo.model.TermsOfUseAccessRequirement";
199
- type TERMS_OF_USE_ACCESS_REQUIREMENT_CONCRETE_TYPE = typeof TERMS_OF_USE_ACCESS_REQUIREMENT_CONCRETE_TYPE_VALUE;
200
- interface TermsOfUseAccessRequirement {
201
- versionNumber: number;
202
- id: number;
203
- name: string;
204
- etag: string;
205
- createdOn: string;
206
- modifiedOn: string;
207
- createdBy: string;
208
- modifiedBy: string;
209
- subjectsDefinedByAnnotations: boolean;
210
- subjectIds: Array<RestrictableObjectDescriptor>;
211
- accessType: ACCESS_TYPE;
212
- concreteType: TERMS_OF_USE_ACCESS_REQUIREMENT_CONCRETE_TYPE;
213
- termsOfUse?: string;
214
- }
215
-
216
- type SELF_SIGN_ACCESS_REQUIREMENT_INTERFACE_CONCRETE_TYPE = SELF_SIGN_ACCESS_REQUIREMENT_CONCRETE_TYPE | TERMS_OF_USE_ACCESS_REQUIREMENT_CONCRETE_TYPE;
217
- type SelfSignAccessRequirementInterface = SelfSignAccessRequirement | TermsOfUseAccessRequirement;
218
-
219
- type ACCESS_REQUIREMENT_CONCRETE_TYPE = LOCK_ACCESS_REQUIREMENT_CONCRETE_TYPE | SELF_SIGN_ACCESS_REQUIREMENT_INTERFACE_CONCRETE_TYPE | ACT_ACCESS_REQUIREMENT_INTERFACE_CONCRETE_TYPE;
220
- type AccessRequirement = LockAccessRequirement | SelfSignAccessRequirementInterface | ACTAccessRequirementInterface;
221
-
222
- type AccessRequirementSearchSort = {
223
- field: 'CREATED_ON' | 'NAME';
224
- direction: 'ASC' | 'DESC';
225
- };
226
- interface AccessRequirementSearchRequest {
227
- /** Optional substring used to filter Access Requirements by name */
228
- nameContains?: string;
229
- /** Optional list of ids used to filter access requirements with specific ids. */
230
- ids?: number[];
231
- /** Optional id used to filter Access Requirements to retrieve only those that have been applied within a particular project. */
232
- relatedProjectId?: string;
233
- /** Optional principal ID used to filter Access Requirements to retrieve only those that can be reviewed by the specific reviewer. */
234
- reviewerId?: string;
235
- /** The enumeration of possible permission. */
236
- accessType?: ACCESS_TYPE;
237
- sort?: AccessRequirementSearchSort[];
238
- /** A token used to get the next page of a particular search query. */
239
- nextPageToken?: string;
240
- /** Optional filter by the access requirement fully qualified concrete type (e.g. org.sagebionetworks.repo.model.ManagedACTAccessRequirement) */
241
- type?: string;
242
- }
243
- type AccessRequirementSearchResult = {
244
- /** The id of the AR */
245
- id: string;
246
- /** The concrete type of the AR */
247
- type: ACCESS_REQUIREMENT_CONCRETE_TYPE;
248
- /** The creation date of the AR */
249
- createdOn: string;
250
- /** The last modification date of the AR */
251
- modifiedOn: string;
252
- /** The name of the AR */
253
- name: string;
254
- /** The current revision of the AR */
255
- version: string;
256
- /** List of project ids which the AR is direclty or inderectly applied to */
257
- relatedProjectIds: string[];
258
- /** List of principal ids that are allowed to review the AR submissions */
259
- reviewerIds: string[];
260
- };
261
- type AccessRequirementSearchResponse = {
262
- /** The results of an access requirement search */
263
- results: AccessRequirementSearchResult[];
264
- /** A token used to get the next page of a particular search */
265
- nextPageToken?: string;
266
- };
267
-
268
- /**
269
- * The state of a Submission.
270
- * http://rest-docs.synapse.org/rest/org/sagebionetworks/repo/model/dataaccess/SubmissionState.html
271
- */
272
- declare enum SubmissionState {
273
- SUBMITTED = "SUBMITTED",
274
- APPROVED = "APPROVED",
275
- REJECTED = "REJECTED",
276
- CANCELLED = "CANCELLED"
277
- }
278
- /**
279
- * The status of a Submission.
280
- * http://rest-docs.synapse.org/rest/org/sagebionetworks/repo/model/dataaccess/SubmissionStatus.html
281
- */
282
- type ACTSubmissionStatus = {
283
- submissionId: string;
284
- submittedBy: string;
285
- rejectedReason?: string;
286
- state: SubmissionState;
287
- modifiedOn: string;
288
- };
289
- /**
290
- * The status of a user meeting an ACTAccessRequirement.
291
- * http://rest-docs.synapse.org/rest/org/sagebionetworks/repo/model/dataaccess/ManagedACTAccessRequirementStatus.html
292
- */
293
- type ManagedACTAccessRequirementStatus = {
294
- accessRequirementId: string;
295
- concreteType: 'org.sagebionetworks.repo.model.dataaccess.ManagedACTAccessRequirementStatus';
296
- isApproved: boolean;
297
- expiredOn?: string;
298
- currentSubmissionStatus?: ACTSubmissionStatus;
299
- };
300
-
301
- type AccessRequirementStatus = BasicAccessRequirementStatus | ManagedACTAccessRequirementStatus;
302
- type BasicAccessRequirementStatus = {
303
- accessRequirementId: string;
304
- concreteType: 'org.sagebionetworks.repo.model.dataaccess.BasicAccessRequirementStatus';
305
- isApproved: boolean;
306
- expiredOn?: string;
307
- };
308
-
309
- type UserEntityPermissions = {
310
- canView: boolean;
311
- canEdit: boolean;
312
- canMove: boolean;
313
- canAddChild: boolean;
314
- canCertifiedUserEdit: boolean;
315
- canCertifiedUserAddChild: boolean;
316
- isCertifiedUser: boolean;
317
- canChangePermissions: boolean;
318
- canChangeSettings: boolean;
319
- canDelete: boolean;
320
- canDownload: boolean;
321
- canUpload: boolean;
322
- canEnableInheritance: boolean;
323
- ownerPrincipalId: number;
324
- canPublicRead: boolean;
325
- canModerate: boolean;
326
- isCertificationRequired: boolean;
327
- isEntityOpenData: boolean;
328
- isUserDataContributor: boolean;
329
- };
330
-
331
- declare enum RestrictableObjectType {
332
- ENTITY = "ENTITY",
333
- EVALUATION = "EVALUATION",
334
- TEAM = "TEAM"
335
- }
336
- type RestrictionInformationRequest = {
337
- restrictableObjectType: RestrictableObjectType;
338
- objectId: string;
339
- };
340
- type RestrictionInformationBatchRequest = {
341
- restrictableObjectType: RestrictableObjectType;
342
- objectIds: string[];
343
- };
344
- declare enum RestrictionLevel {
345
- OPEN = "OPEN",
346
- RESTRICTED_BY_TERMS_OF_USE = "RESTRICTED_BY_TERMS_OF_USE",
347
- CONTROLLED_BY_ACT = "CONTROLLED_BY_ACT"
348
- }
349
- type RestrictionFulfillment = {
350
- accessRequirementId: number;
351
- isApproved: boolean;
352
- isMet: boolean;
353
- isExempt: boolean;
354
- };
355
- type RestrictionInformationResponse = {
356
- objectId: number;
357
- restrictionLevel: RestrictionLevel;
358
- hasUnmetAccessRequirement: boolean;
359
- userEntityPermissions?: UserEntityPermissions;
360
- restrictionDetails: RestrictionFulfillment[];
361
- };
362
- type RestrictionInformationBatchResponse = {
363
- restrictionInformation: RestrictionInformationResponse[];
364
- };
365
-
366
- /**
367
- * A request to create a Submission.
368
- * http://rest-docs.synapse.org/rest/org/sagebionetworks/repo/model/dataaccess/CreateSubmissionRequest.html
369
- */
370
- type CreateSubmissionRequest = {
371
- requestId: string;
372
- requestEtag: string;
373
- subjectId: string;
374
- subjectType: RestrictableObjectType;
375
- };
376
-
377
- /**
378
- * This is the base interface that all Request implements.
379
- * http://rest-docs.synapse.org/rest/org/sagebionetworks/repo/model/dataaccess/RequestInterface.html
380
- */
381
-
382
- interface RequestInterface {
383
- id: string;
384
- accessRequirementId: string;
385
- researchProjectId: string;
386
- createdOn: string;
387
- modifiedOn: string;
388
- createdBy: string;
389
- modifiedBy: string;
390
- ducFileHandleId: string;
391
- irbFileHandleId: string;
392
- attachments?: string[];
393
- accessorChanges: AccessorChange[];
394
- etag: string;
395
- concreteType: string;
396
- }
397
- interface Request extends RequestInterface {
398
- concreteType: 'org.sagebionetworks.repo.model.dataaccess.Request';
399
- }
400
- interface Renewal extends RequestInterface {
401
- concreteType: 'org.sagebionetworks.repo.model.dataaccess.Renewal';
402
- publication?: string;
403
- summaryOfUse?: string;
404
- }
405
-
406
- /**
407
- * A research project describes a project at an institution that used a controlled data set for
408
- * the purposes that are stated in the Intended Data Use Statement.
409
- * http://rest-docs.synapse.org/rest/org/sagebionetworks/repo/model/dataaccess/ResearchProject.html
410
- */
411
- type ResearchProject = {
412
- id?: string;
413
- accessRequirementId: string;
414
- institution?: string;
415
- projectLead?: string;
416
- intendedDataUseStatement?: string;
417
- createdOn?: string;
418
- modifiedOn?: string;
419
- createdBy?: string;
420
- modifiedBy?: string;
421
- etag?: string;
422
- };
423
-
424
- type Submission = {
425
- /** The unique immutable ID for this submission. A new ID will be generated for new Submission. Once issued, this ID is guaranteed to never change or be re-issued. */
426
- id: string;
427
- /** The ID of the Access Requirement which requires a request to be submitted to gain access to a dataset. This submission contains information that satisfies those requirements. */
428
- accessRequirementId: string;
429
- /** The version of the Access Requirement which requires a request to be submitted to gain access to a dataset. This submission contains information that satisfies those requirements. */
430
- accessRequirementVersion: number;
431
- /** The ID of the Request which is used to create this submission. */
432
- requestId: string;
433
- /** The Data Use Certificate uploaded by user. */
434
- ducFileHandleId?: string;
435
- /** The Institutional Review Board Approval document uploaded by user. */
436
- irbFileHandleId?: string;
437
- /** The set of file handle ID of attached files to this request. */
438
- attachments?: Array<string>;
439
- /** List of user changes. A user can gain access, renew access or have access revoked. */
440
- accessorChanges: Array<AccessorChange>;
441
- /** A research project describes a project at an institution that used a controlled data set for the purposes that are stated in the Intended Data Use Statement. */
442
- researchProjectSnapshot: ResearchProject;
443
- /** True if this submission is a renewal submission. */
444
- isRenewalSubmission: boolean;
445
- /** Link(s) to publication that used the controlled data. */
446
- publication?: string;
447
- /** Summary of how the data has been used. */
448
- summaryOfUse?: string;
449
- /** The date this submission was created. */
450
- submittedOn: string;
451
- /** The date this submission was reviewed or was cancelled. */
452
- modifiedOn: string;
453
- /** The ID of the user that submitted this submission. */
454
- submittedBy: string;
455
- /** The ID of the user that last modified the status of this submission. */
456
- modifiedBy: string;
457
- /** The state of a Submission. */
458
- state: SubmissionState;
459
- /** The reason this submission is rejected, if it's rejected. */
460
- rejectedReason?: string;
461
- /** Synapse employs an Optimistic Concurrency Control (OCC) scheme to handle concurrent updates. Since the E-Tag changes every time a request is updated it is used to detect when a client's current representation of a request is out-of-date. */
462
- etag: string;
463
- /** The ID of the subject user interested in. This information will be used to help user navigate back to where they were to continue their work. */
464
- subjectId: string;
465
- /** JSON enum for the types of objects which can be restricted by an AccessRequirement. */
466
- subjectType: RestrictableObjectType;
467
- };
468
- type SubmissionPage = {
469
- results: Submission[];
470
- nextPageToken?: string;
471
- };
472
-
473
- type SubmissionStateChangeRequest = {
474
- /** The ID of the requested Submission. */
475
- submissionId: string;
476
- /** The state of a Submission. */
477
- newState: SubmissionState;
478
- /** The reason that the Submission is rejected if newState is REJECTED. */
479
- rejectedReason?: string;
480
- };
481
-
482
- declare enum SubmissionReviewerFilterType {
483
- ALL = "ALL",
484
- ACT_ONLY = "ACT_ONLY",
485
- DELEGATED_ONLY = "DELEGATED_ONLY"
486
- }
487
- declare enum SubmissionSortField {
488
- MODIFIED_ON = "MODIFIED_ON",
489
- CREATED_ON = "CREATED_ON"
490
- }
491
- interface SubmissionSearchSort {
492
- field: SubmissionSortField;
493
- direction: SortDirection;
494
- }
495
- interface SubmissionSearchRequest {
496
- accessorId?: string;
497
- accessRequirementId?: string;
498
- submissionState?: SubmissionState;
499
- reviewerId?: string;
500
- reviewerFilterType?: SubmissionReviewerFilterType;
501
- sort?: SubmissionSearchSort[];
502
- nextPageToken?: string;
503
- }
504
- interface SubmissionSearchResult {
505
- id: string;
506
- createdOn: string;
507
- modifiedOn: string;
508
- accessRequirementId: string;
509
- accessRequirementVersion: string;
510
- accessRequirementName: string;
511
- accessRequirementReviewerIds: string[];
512
- submitterId: string;
513
- accessorChanges: AccessorChange[];
514
- state: SubmissionState;
515
- }
516
- interface SubmissionSearchResponse {
517
- results: SubmissionSearchResult[];
518
- nextPageToken?: string;
519
- }
520
-
521
- type AccessCodeResponse = {
522
- access_code: string;
523
- };
524
-
525
- type ResourceAccess = {
526
- principalId: number;
527
- accessType: ACCESS_TYPE[];
528
- };
529
-
530
- type AccessControlList = {
531
- id: string;
532
- createdBy?: string;
533
- creationDate?: string;
534
- modifiedBy?: string;
535
- modifiedOn?: string;
536
- etag?: string;
537
- resourceAccess: ResourceAccess[];
538
- };
539
-
540
- type AccessTokenGenerationRequest = {
541
- scope: string[];
542
- userInfoClaims?: object;
543
- name?: string;
544
- };
545
-
546
- type AccessTokenGenerationResponse = {
547
- token: string;
548
- };
549
-
550
- type AccessTokenRecord = {
551
- id: string;
552
- userId: string;
553
- scopes: string[];
554
- userInfoClaims?: object;
555
- name: string;
556
- createdOn: string;
557
- lastUsed: string;
558
- state: 'ACTIVE' | 'EXPIRED';
559
- };
560
- type AccessTokenRecordList = {
561
- results: AccessTokenRecord[];
562
- nextPageToken?: string;
563
- };
564
-
565
- declare const scopeDescriptions: {
566
- openid: {
567
- displayName: string;
568
- description: string;
569
- };
570
- view: {
571
- displayName: string;
572
- description: string;
573
- };
574
- modify: {
575
- displayName: string;
576
- description: string;
577
- };
578
- download: {
579
- displayName: string;
580
- description: string;
581
- };
582
- authorize: {
583
- displayName: string;
584
- description: string;
585
- };
586
- offline_access: {
587
- displayName: string;
588
- description: string;
589
- };
590
- email: {
591
- displayName: string;
592
- description: string;
593
- };
594
- profile: {
595
- displayName: string;
596
- description: string;
597
- };
598
- };
599
-
600
- declare const FACET_COLUMN_VALUES_REQUEST_CONCRETE_TYPE_VALUE = "org.sagebionetworks.repo.model.table.FacetColumnValuesRequest";
601
- type FACET_COLUMN_VALUES_REQUEST_CONCRETE_TYPE = typeof FACET_COLUMN_VALUES_REQUEST_CONCRETE_TYPE_VALUE;
602
- type FacetColumnValuesRequest = {
603
- concreteType: FACET_COLUMN_VALUES_REQUEST_CONCRETE_TYPE;
604
- columnName: string;
605
- facetValues: string[];
606
- jsonPath?: string;
607
- };
608
- declare const FACET_COLUMN_RANGE_REQUEST_CONCRETE_TYPE_VALUE = "org.sagebionetworks.repo.model.table.FacetColumnRangeRequest";
609
- type FACET_COLUMN_RANGE_REQUEST_CONCRETE_TYPE = typeof FACET_COLUMN_RANGE_REQUEST_CONCRETE_TYPE_VALUE;
610
- type FacetColumnRangeRequest = {
611
- concreteType: FACET_COLUMN_RANGE_REQUEST_CONCRETE_TYPE;
612
- columnName: string;
613
- min?: string;
614
- max?: string;
615
- jsonPath?: string;
616
- };
617
- type FacetColumnRequest = FacetColumnValuesRequest | FacetColumnRangeRequest;
618
-
619
- declare enum ColumnSingleValueFilterOperator {
620
- LIKE = "LIKE",
621
- EQUAL = "EQUAL",
622
- IN = "IN"
623
- }
624
- declare enum ColumnMultiValueFunction {
625
- HAS = "HAS",
626
- HAS_LIKE = "HAS_LIKE"
627
- }
628
- declare const COLUMN_SINGLE_VALUE_QUERY_FILTER_CONCRETE_TYPE_VALUE = "org.sagebionetworks.repo.model.table.ColumnSingleValueQueryFilter";
629
- type COLUMN_SINGLE_VALUE_QUERY_FILTER_CONCRETE_TYPE = typeof COLUMN_SINGLE_VALUE_QUERY_FILTER_CONCRETE_TYPE_VALUE;
630
- interface ColumnSingleValueQueryFilter {
631
- concreteType: COLUMN_SINGLE_VALUE_QUERY_FILTER_CONCRETE_TYPE;
632
- isDefiningCondition?: boolean;
633
- columnName: string;
634
- operator: ColumnSingleValueFilterOperator;
635
- values: string[];
636
- }
637
- declare const COLUMN_MULTI_VALUE_FUNCTION_QUERY_FILTER_CONCRETE_TYPE_VALUE = "org.sagebionetworks.repo.model.table.ColumnMultiValueFunctionQueryFilter";
638
- type COLUMN_MULTI_VALUE_FUNCTION_QUERY_FILTER_CONCRETE_TYPE = typeof COLUMN_MULTI_VALUE_FUNCTION_QUERY_FILTER_CONCRETE_TYPE_VALUE;
639
- interface ColumnMultiValueFunctionQueryFilter {
640
- concreteType: COLUMN_MULTI_VALUE_FUNCTION_QUERY_FILTER_CONCRETE_TYPE;
641
- isDefiningCondition?: boolean;
642
- columnName: string;
643
- function: ColumnMultiValueFunction;
644
- values: string[];
645
- }
646
- declare const TEXT_MATCHES_QUERY_FILTER_CONCRETE_TYPE_VALUE = "org.sagebionetworks.repo.model.table.TextMatchesQueryFilter";
647
- type TEXT_MATCHES_QUERY_FILTER_CONCRETE_TYPE = typeof TEXT_MATCHES_QUERY_FILTER_CONCRETE_TYPE_VALUE;
648
- interface TextMatchesQueryFilter {
649
- concreteType: TEXT_MATCHES_QUERY_FILTER_CONCRETE_TYPE;
650
- isDefiningCondition?: boolean;
651
- searchExpression: string;
652
- }
653
- type QueryFilter = TextMatchesQueryFilter | ColumnSingleValueQueryFilter | ColumnMultiValueFunctionQueryFilter;
654
-
655
- type SortItem = {
656
- column: string;
657
- direction: '' | 'ASC' | 'DESC';
658
- };
659
- type Query = {
660
- sql: string;
661
- selectedFacets?: FacetColumnRequest[];
662
- includeEntityEtag?: boolean;
663
- offset?: number;
664
- limit?: number;
665
- sort?: SortItem[];
666
- additionalFilters?: QueryFilter[];
667
- selectFileColumn?: number;
668
- selectFileVersionColumn?: number;
669
- };
670
-
671
- type AddFilesToDownloadListRequest = {
672
- concreteType: 'org.sagebionetworks.repo.model.file.AddFileToDownloadListRequest';
673
- folderId?: string | null;
674
- query?: Query;
675
- };
676
-
677
- type AddFilesToDownloadListResponse = {
678
- concreteType: 'org.sagebionetworks.repo.model.file.AddFileToDownloadListResponse';
679
- downloadList: DownloadList;
680
- };
681
-
682
- type AddPartResponse = {
683
- uploadId: string;
684
- partNumber: number;
685
- addPartState: 'ADD_SUCCESS' | 'ADD_FAILED';
686
- errorMessage: string;
687
- };
688
-
689
- type Annotations = {
690
- id: string;
691
- etag: string;
692
- annotations: {
693
- [key: string]: AnnotationsValue;
694
- };
695
- };
696
- type AnnotationsValue = {
697
- type: AnnotationsValueType;
698
- value: string[] | number[];
699
- };
700
- declare enum AnnotationsValueType {
701
- 'STRING' = 0,
702
- 'DOUBLE' = 1,
703
- 'LONG' = 2,
704
- 'TIMESTAMP_MS' = 3
705
- }
706
-
707
- type AuthenticatedOn = {
708
- authenticatedOn: string;
709
- };
710
-
711
- declare enum FileHandleAssociateType {
712
- FileEntity = "FileEntity",
713
- TableEntity = "TableEntity",
714
- WikiAttachment = "WikiAttachment",
715
- WikiMarkdown = "WikiMarkdown",
716
- UserProfileAttachment = "UserProfileAttachment",
717
- MessageAttachment = "MessageAttachment",
718
- TeamAttachment = "TeamAttachment",
719
- SubmissionAttachment = "SubmissionAttachment",
720
- VerificationSubmission = "VerificationSubmission",
721
- AccessRequirementAttachment = "AccessRequirementAttachment",
722
- DataAccessRequestAttachment = "DataAccessRequestAttachment",
723
- DataAccessSubmissionAttachment = "DataAccessSubmissionAttachment"
724
- }
725
- type FileHandleAssociation = {
726
- fileHandleId: string;
727
- associateObjectId: string;
728
- associateObjectType: FileHandleAssociateType;
729
- };
730
-
731
- type BatchFileRequest = {
732
- requestedFiles: FileHandleAssociation[];
733
- includePreSignedURLs: boolean;
734
- includeFileHandles: boolean;
735
- includePreviewPreSignedURLs: boolean;
736
- };
737
-
738
- declare const EXTERNAL_FILE_HANDLE_CONCRETE_TYPE_VALUE = "org.sagebionetworks.repo.model.file.ExternalFileHandle";
739
- type EXTERNAL_FILE_HANDLE_CONCRETE_TYPE = typeof EXTERNAL_FILE_HANDLE_CONCRETE_TYPE_VALUE;
740
- /**
741
- * An ExternalFileHandle represents a file that is not stored in Synapse. Instead, ExternalFileHandles reside somewhere accessible via a URL. Synapse will attempt to generate a preview for any external URL that can be publicly read.
742
- *
743
- * https://rest-docs.synapse.org/rest/org/sagebionetworks/repo/model/file/ExternalFileHandle.html
744
- */
745
- interface ExternalFileHandle extends ExternalFileHandleInterface {
746
- /** The external URL of this file. */
747
- readonly externalURL: string;
748
- readonly concreteType: EXTERNAL_FILE_HANDLE_CONCRETE_TYPE;
749
- }
750
-
751
- declare const EXTERNAL_OBJECT_STORE_FILE_HANDLE_CONCRETE_TYPE_VALUE = "org.sagebionetworks.repo.model.file.ExternalObjectStoreFileHandle";
752
- type EXTERNAL_OBJECT_STORE_FILE_HANDLE_CONCRETE_TYPE = typeof EXTERNAL_OBJECT_STORE_FILE_HANDLE_CONCRETE_TYPE_VALUE;
753
- /**
754
- * Represents a file stored in an S3 Bucket to which Synapse cannot access. Together with ExternalObjectStorageLocationSetting, this object provides the information the client requires to access the S3 file.
755
- *
756
- * https://rest-docs.synapse.org/rest/org/sagebionetworks/repo/model/file/ExternalObjectStoreFileHandle.html
757
- */
758
- interface ExternalObjectStoreFileHandle extends ExternalFileHandleInterface {
759
- readonly concreteType: EXTERNAL_OBJECT_STORE_FILE_HANDLE_CONCRETE_TYPE;
760
- /** endpoint URL of the S3 service. Do NOT set this value when creating a ExternalObjectStoreFileHandle since it will be overwritten with the value defined in the ExternalObjectStorageLocationSetting it references. */
761
- readonly endpointUrl: string;
762
- /** the bucket to use. Do NOT set this value when creating a ExternalObjectStoreFileHandle since it will be it will be overwritten with the value defined in the ExternalObjectStorageLocationSetting it references. */
763
- readonly bucket: string;
764
- /** The unique S3 key for this object */
765
- readonly fileKey: string;
766
- }
767
-
768
- declare const PROXY_FILE_HANDLE_CONCRETE_TYPE_VALUE = "org.sagebionetworks.repo.model.file.ProxyFileHandle";
769
- type PROXY_FILE_HANDLE_CONCRETE_TYPE = typeof PROXY_FILE_HANDLE_CONCRETE_TYPE_VALUE;
770
- /**
771
- * Reference to a file that accessible via a proxy server. Each ProxyFileHandle must reference a ProxyStorageLocationSettings that defines how the files are accessed.
772
- *
773
- * https://rest-docs.synapse.org/rest/org/sagebionetworks/repo/model/file/ProxyFileHandle.html
774
- */
775
- interface ProxyFileHandle extends ExternalFileHandleInterface {
776
- /** The relative path of this file within the proxy. */
777
- readonly filePath: string;
778
- readonly concreteType: PROXY_FILE_HANDLE_CONCRETE_TYPE;
779
- }
780
-
781
- type EXTERNAL_FILE_HANDLE_INTERFACE_CONCRETE_TYPE = PROXY_FILE_HANDLE_CONCRETE_TYPE | EXTERNAL_OBJECT_STORE_FILE_HANDLE_CONCRETE_TYPE | EXTERNAL_FILE_HANDLE_CONCRETE_TYPE;
782
- interface ExternalFileHandleInterface extends FileHandle {
783
- readonly concreteType: EXTERNAL_FILE_HANDLE_INTERFACE_CONCRETE_TYPE;
784
- }
785
-
786
- /**
787
- * The status of the file handle as computed by the backend. This value cannot be changed, any file handle that is not AVAILABLE should not be used.
788
- *
789
- * https://rest-docs.synapse.org/rest/org/sagebionetworks/repo/model/file/FileHandleStatus.html
790
- */
791
- type FileHandleStatus =
792
- /** The default status of a file handle that is considered available and linked to at least on object (For the possible associations see FileHandleAssociateType). */
793
- 'AVAILABLE'
794
- /** The file handle has been detected as not linked to any object (For the possible associations see FileHandleAssociateType), this file will eventually be archived. */
795
- | 'UNLINKED'
796
- /** The file handle has been archived after being UNLINKED for more than 30 days. The file handle can be restored by the creator using the dedicated API. When ARCHIVED the file might not be readily accessible and restoring might take a few hours. */
797
- | 'ARCHIVED';
798
-
799
- /**
800
- * https://rest-docs.synapse.org/rest/org/sagebionetworks/repo/model/file/FileHandle.html
801
- */
802
- interface FileHandle {
803
- /** The ID of this FileHandle. All references to this FileHandle will use this ID. Synapse will generate this ID when the FileHandle is created. */
804
- id: string;
805
- /** FileHandles are immutable from the perspective of the API. The only field that can be change is the previewId. When a new previewId is set, the etag will change. */
806
- etag: string;
807
- /** The ID Of the user that created this file. */
808
- createdBy: string;
809
- /** The date when this file was uploaded. */
810
- createdOn: string;
811
- /** The date when the file was modified. This is handled by the backend and cannot be modified. */
812
- modifiedOn: string;
813
- /** This is used to indicate the implementation of this interface. For example, an S3FileHandle should be set to: org.sagebionetworks.repo.model.file.S3FileHandle */
814
- readonly concreteType: EXTERNAL_FILE_HANDLE_INTERFACE_CONCRETE_TYPE | CLOUD_PROVIDER_FILE_HANDLE_INTERFACE_CONCRETE_TYPE;
815
- /** Must be: http://en.wikipedia.org/wiki/Internet_media_type */
816
- contentType: string;
817
- /** The file's content MD5. */
818
- contentMd5?: string;
819
- /** The short, user visible name for this file. */
820
- fileName: string;
821
- /** The optional storage location descriptor */
822
- storageLocationId: number | null;
823
- /** The size of the file in bytes. */
824
- contentSize: number;
825
- /** The status of the file handle as computed by the backend. This value cannot be changed, any file handle that is not AVAILABLE should not be used. */
826
- status: FileHandleStatus;
827
- }
828
-
829
- declare const GOOGLE_CLOUD_FILE_HANDLE_CONCRETE_TYPE_VALUE = "org.sagebionetworks.repo.model.file.GoogleCloudFileHandle";
830
- type GOOGLE_CLOUD_FILE_HANDLE_CONCRETE_TYPE = typeof GOOGLE_CLOUD_FILE_HANDLE_CONCRETE_TYPE_VALUE;
831
- interface GoogleCloudFileHandle extends CloudProviderFileHandleInterface {
832
- readonly concreteType: GOOGLE_CLOUD_FILE_HANDLE_CONCRETE_TYPE;
833
- }
834
-
835
- declare const S3_FILE_HANDLE_CONCRETE_TYPE_VALUE = "org.sagebionetworks.repo.model.file.S3FileHandle";
836
- type S3_FILE_HANDLE_CONCRETE_TYPE = typeof S3_FILE_HANDLE_CONCRETE_TYPE_VALUE;
837
- interface S3FileHandle extends CloudProviderFileHandleInterface {
838
- readonly concreteType: S3_FILE_HANDLE_CONCRETE_TYPE;
839
- }
840
-
841
- type CLOUD_PROVIDER_FILE_HANDLE_INTERFACE_CONCRETE_TYPE = S3_FILE_HANDLE_CONCRETE_TYPE | GOOGLE_CLOUD_FILE_HANDLE_CONCRETE_TYPE;
842
- interface CloudProviderFileHandleInterface extends FileHandle {
843
- readonly concreteType: CLOUD_PROVIDER_FILE_HANDLE_INTERFACE_CONCRETE_TYPE;
844
- readonly bucketName: string;
845
- readonly key: string;
846
- readonly previewId?: string;
847
- readonly isPreview: boolean;
848
- }
849
-
850
- /**
851
- * The upload destination contains information to start an upload of a file generated according to the underlying StorageLocationSetting.
852
- *
853
- * https://rest-docs.synapse.org/rest/org/sagebionetworks/repo/model/file/UploadDestination.html
854
- */
855
- interface UploadDestination {
856
- concreteType: ExternalObjectStoreUploadDestination['concreteType'] | ExternalUploadDestination['concreteType'] | BaseKeyUploadDestination['concreteType'];
857
- storageLocationId: number;
858
- uploadType: UploadType;
859
- banner: string;
860
- }
861
- /**
862
- * The upload destination contains information necessary to start an upload to an S3 bucket not managed by Synapse.
863
- * This destination is mapped from an ExternalObjectStorageLocationSetting.
864
- *
865
- * https://rest-docs.synapse.org/rest/org/sagebionetworks/repo/model/file/ExternalObjectStoreUploadDestination.html
866
- */
867
- interface ExternalObjectStoreUploadDestination extends UploadDestination {
868
- concreteType: 'org.sagebionetworks.repo.model.file.ExternalObjectStoreUploadDestination';
869
- endpointUrl: string;
870
- bucket: string;
871
- keyPrefixUUID: string;
872
- }
873
- /**
874
- * This upload destination contains information to start an upload to an SFTP or HTTPS destination. The destination is
875
- * mapped from an ExternalStorageLocationSetting.
876
- *
877
- * https://rest-docs.synapse.org/rest/org/sagebionetworks/repo/model/file/ExternalUploadDestination.html
878
- */
879
- interface ExternalUploadDestination extends UploadDestination {
880
- concreteType: 'org.sagebionetworks.repo.model.file.ExternalUploadDestination';
881
- url: string;
882
- }
883
- /**
884
- * An upload destination with an optional base key.
885
- *
886
- * https://rest-docs.synapse.org/rest/org/sagebionetworks/repo/model/file/BaseKeyUploadDestination.html
887
- */
888
- interface BaseKeyUploadDestination extends UploadDestination {
889
- concreteType: StsUploadDestination['concreteType'] | ExternalGoogleCloudUploadDestination['concreteType'];
890
- baseKey: string;
891
- }
892
- declare const EXTERNAL_GOOGLE_CLOUD_UPLOAD_DESTINATION_CONCRETE_TYPE_VALUE = "org.sagebionetworks.repo.model.file.ExternalGoogleCloudUploadDestination";
893
- type EXTERNAL_GOOGLE_CLOUD_UPLOAD_DESTINATION_CONCRETE_TYPE = typeof EXTERNAL_GOOGLE_CLOUD_UPLOAD_DESTINATION_CONCRETE_TYPE_VALUE;
894
- /**
895
- * This upload destination contains information to start an upload to an external Google Cloud Storage bucket connected
896
- * with synapse. The destination is mapped from an ExternalGoogleCloudStorageLocationSetting.
897
- *
898
- * https://rest-docs.synapse.org/rest/org/sagebionetworks/repo/model/file/ExternalGoogleCloudUploadDestination.html
899
- */
900
- interface ExternalGoogleCloudUploadDestination extends BaseKeyUploadDestination {
901
- concreteType: EXTERNAL_GOOGLE_CLOUD_UPLOAD_DESTINATION_CONCRETE_TYPE;
902
- bucket: string;
903
- }
904
- /**
905
- * An StsUploadDestination provides settings to enable Synapse to call AWS Security Token Service (STS) to get temporary
906
- * AWS credentials
907
- *
908
- * https://rest-docs.synapse.org/rest/org/sagebionetworks/repo/model/file/StsUploadDestination.html
909
- */
910
- interface StsUploadDestination extends BaseKeyUploadDestination {
911
- concreteType: S3_UPLOAD_DESTINATION_CONCRETE_TYPE | EXTERNAL_S3_UPLOAD_DESTINATION_CONCRETE_TYPE;
912
- stsEnabled: boolean;
913
- }
914
- declare const EXTERNAL_S3_UPLOAD_DESTINATION_CONCRETE_TYPE_VALUE = "org.sagebionetworks.repo.model.file.ExternalS3UploadDestination";
915
- type EXTERNAL_S3_UPLOAD_DESTINATION_CONCRETE_TYPE = typeof EXTERNAL_S3_UPLOAD_DESTINATION_CONCRETE_TYPE_VALUE;
916
- /**
917
- * This upload destination contains information to start an upload to an external external S3 bucket connected with
918
- * Synapse. The destination is mapped from an ExternalS3StorageLocationSetting.
919
- *
920
- * https://rest-docs.synapse.org/rest/org/sagebionetworks/repo/model/file/ExternalS3UploadDestination.html
921
- */
922
- interface ExternalS3UploadDestination extends StsUploadDestination {
923
- concreteType: EXTERNAL_S3_UPLOAD_DESTINATION_CONCRETE_TYPE;
924
- endpointUrl: string;
925
- bucket: string;
926
- }
927
- declare const S3_UPLOAD_DESTINATION_CONCRETE_TYPE_VALUE = "org.sagebionetworks.repo.model.file.S3UploadDestination";
928
- type S3_UPLOAD_DESTINATION_CONCRETE_TYPE = typeof S3_UPLOAD_DESTINATION_CONCRETE_TYPE_VALUE;
929
- /**
930
- * The upload destination contains information to start an upload to the default Synapse storage location that exists on
931
- * Amazon S3. This destination is mapped from an S3StorageLocationSetting.
932
- *
933
- * https://rest-docs.synapse.org/rest/org/sagebionetworks/repo/model/file/S3UploadDestination.html
934
- */
935
- interface S3UploadDestination extends StsUploadDestination {
936
- concreteType: S3_UPLOAD_DESTINATION_CONCRETE_TYPE;
937
- }
938
- /**
939
- * The enumeration of possible upload types.
940
- *
941
- * https://rest-docs.synapse.org/rest/org/sagebionetworks/repo/model/file/UploadType.html
942
- */
943
- declare enum UploadType {
944
- S3 = "S3",
945
- GOOGLECLOUDSTORAGE = "GOOGLECLOUDSTORAGE",
946
- SFTP = "SFTP",
947
- HTTPS = "HTTPS",
948
- PROXYLOCAL = "PROXYLOCAL",
949
- NONE = "NONE"
950
- }
951
-
952
- type FileResult = {
953
- fileHandleId: string;
954
- fileHandle?: FileHandle;
955
- preSignedURL?: string;
956
- previewPreSignedURL?: string;
957
- failureCode?: 'NOT_FOUND' | 'UNAUTHORIZED';
958
- };
959
-
960
- type BatchFileResult = {
961
- requestedFiles: FileResult[];
962
- };
963
-
964
- type BatchPresignedUploadUrlRequest = {
965
- uploadId: string;
966
- partNumbers: number[];
967
- contentType: string;
968
- };
969
-
970
- type PartPresignedUrl = {
971
- partNumber: number;
972
- uploadPresignedUrl: string;
973
- };
974
-
975
- type BatchPresignedUploadUrlResponse = {
976
- partPresignedUrls: PartPresignedUrl[];
977
- };
978
-
979
- declare enum ZipFileFormat {
980
- CommandLineCache = "CommandLineCache",// This is the default format. Zip file format structure is: (%1000)//
981
- Flat = "Flat"
982
- }
983
- type BulkFileDownloadRequest = {
984
- concreteType: 'org.sagebionetworks.repo.model.file.BulkFileDownloadRequest';
985
- requestedFiles: FileHandleAssociation[];
986
- zipFileName: string;
987
- zipFileFormat?: ZipFileFormat;
988
- };
989
-
990
- declare enum FileDownloadStatus {
991
- SUCCESS = "SUCCESS",
992
- FAILURE = "FAILURE"
993
- }
994
- declare enum FileDownloadCode {
995
- NOT_FOUND = "NOT_FOUND",
996
- UNAUTHORIZED = "UNAUTHORIZED",
997
- DUPLICATE = "DUPLICATE",
998
- EXCEEDS_SIZE_LIMIT = "EXCEEDS_SIZE_LIMIT",
999
- UNKNOWN_ERROR = "UNKNOWN_ERROR"
1000
- }
1001
- type FileDownloadSummary = {
1002
- fileHandleId: string;
1003
- associateObjectId: string;
1004
- associateObjectType: FileHandleAssociateType;
1005
- zipEntryName: string;
1006
- status: FileDownloadStatus;
1007
- failureMessage: string;
1008
- failureCode: FileDownloadCode | null;
1009
- };
1010
-
1011
- type BulkFileDownloadResponse = {
1012
- concreteType: 'org.sagebionetworks.repo.model.file.BulkFileDownloadResponse';
1013
- resultZipFileHandleId: string;
1014
- fileSummary: FileDownloadSummary[];
1015
- userId: string;
1016
- };
1017
-
1018
- declare const LINK_CONCRETE_TYPE_VALUE = "org.sagebionetworks.repo.model.Link";
1019
- type LINK_CONCRETE_TYPE = typeof LINK_CONCRETE_TYPE_VALUE;
1020
- interface Link extends Entity {
1021
- concreteType: LINK_CONCRETE_TYPE;
1022
- /** JSON schema for Reference POJO */
1023
- linksTo: Reference;
1024
- /** The synapse Entity's class name that this link points to. */
1025
- linksToClassName: string;
1026
- }
1027
-
1028
- declare const DOCKER_REPOSITORY_CONCRETE_TYPE_VALUE = "org.sagebionetworks.repo.model.docker.DockerRepository";
1029
- type DOCKER_REPOSITORY_CONCRETE_TYPE = typeof DOCKER_REPOSITORY_CONCRETE_TYPE_VALUE;
1030
- interface DockerRepository extends Entity {
1031
- concreteType: DOCKER_REPOSITORY_CONCRETE_TYPE;
1032
- /** This is the repository name, [host[:port]/]path */
1033
- repositoryName: string;
1034
- /** Indicates that the repository is managed by Synapse, rather than by an external registry. */
1035
- isManaged: boolean;
1036
- }
1037
- type DockerCommit = {
1038
- tag: string;
1039
- digest: string;
1040
- createdOn: string;
1041
- };
1042
-
1043
- declare const PROJECT_CONCRETE_TYPE_VALUE = "org.sagebionetworks.repo.model.Project";
1044
- type PROJECT_CONCRETE_TYPE = typeof PROJECT_CONCRETE_TYPE_VALUE;
1045
- interface Project extends Entity {
1046
- concreteType: PROJECT_CONCRETE_TYPE;
1047
- alias?: string;
1048
- }
1049
-
1050
- declare const FOLDER_CONCRETE_TYPE_VALUE = "org.sagebionetworks.repo.model.Folder";
1051
- type FOLDER_CONCRETE_TYPE = typeof FOLDER_CONCRETE_TYPE_VALUE;
1052
- interface Folder extends Entity {
1053
- concreteType: FOLDER_CONCRETE_TYPE;
1054
- }
1055
-
1056
- interface Entity {
1057
- /** The name of this entity? */
1058
- name: string;
1059
- /** The description of this entity. */
1060
- description?: string;
1061
- /** The unique immutable ID for this entity. A new ID will be generated for new Entities. Once issued, this ID is guaranteed to never change or be re-issued */
1062
- readonly id?: string;
1063
- /** Synapse employs an Optimistic Concurrency Control (OCC) scheme to handle concurrent updates. Since the E-Tag changes every time an entity is updated it is used to detect when a client's current representation of an entity is out-of-date. */
1064
- readonly etag?: string;
1065
- /** The date this entity was created. */
1066
- readonly createdOn?: string;
1067
- /** The date this entity was last modified. */
1068
- readonly modifiedOn?: string;
1069
- /** The ID of the user that created this entity. */
1070
- readonly createdBy?: string;
1071
- /** The ID of the user that last modified this entity. */
1072
- readonly modifiedBy?: string;
1073
- /** The ID of the Entity that is the parent of this Entity. */
1074
- parentId?: string;
1075
- /** Indicates which implementation of Entity this object represents. */
1076
- readonly concreteType: ENTITY_CONCRETE_TYPE;
1077
- }
1078
- type ENTITY_CONCRETE_TYPE = LINK_CONCRETE_TYPE | DOCKER_REPOSITORY_CONCRETE_TYPE | VERSIONABLE_ENTITY_CONCRETE_TYPE | FOLDER_CONCRETE_TYPE | PROJECT_CONCRETE_TYPE;
1079
- interface Versionable {
1080
- versionNumber?: number;
1081
- }
1082
- declare const VERSIONABLE_ENTITY_CONCRETE_TYPE_VALUES: readonly ["org.sagebionetworks.repo.model.FileEntity", "org.sagebionetworks.repo.model.table.TableEntity", "org.sagebionetworks.repo.model.table.EntityView", "org.sagebionetworks.repo.model.table.SubmissionView", "org.sagebionetworks.repo.model.table.Dataset", "org.sagebionetworks.repo.model.table.DatasetCollection", "org.sagebionetworks.repo.model.table.MaterializedView", "org.sagebionetworks.repo.model.table.VirtualTable"];
1083
- type VERSIONABLE_ENTITY_CONCRETE_TYPE = (typeof VERSIONABLE_ENTITY_CONCRETE_TYPE_VALUES)[number];
1084
- interface VersionableEntity extends Entity, Versionable {
1085
- versionLabel?: string;
1086
- versionComment?: string;
1087
- isLatestVersion?: boolean;
1088
- concreteType: VERSIONABLE_ENTITY_CONCRETE_TYPE;
1089
- }
1090
- type EntityJsonValue = string | number | boolean | string[] | number[] | boolean[] | undefined;
1091
- interface EntityJson extends Record<string, EntityJsonValue> {
1092
- name: string;
1093
- id: string;
1094
- etag: string;
1095
- createdOn: string;
1096
- modifiedOn: string;
1097
- createdBy: string;
1098
- modifiedBy: string;
1099
- parentId: string;
1100
- concreteType: ENTITY_CONCRETE_TYPE;
1101
- versionNumber?: number;
1102
- versionLabel?: string;
1103
- isLatestVersion?: boolean;
1104
- dataFileHandleId?: string;
1105
- }
1106
-
1107
- declare const FILE_ENTITY_CONCRETE_TYPE_VALUE = "org.sagebionetworks.repo.model.FileEntity";
1108
- type FILE_ENTITY_CONCRETE_TYPE = typeof FILE_ENTITY_CONCRETE_TYPE_VALUE;
1109
- interface FileEntity extends VersionableEntity {
1110
- concreteType: FILE_ENTITY_CONCRETE_TYPE;
1111
- dataFileHandleId: string;
1112
- fileNameOverride?: string;
1113
- }
1114
-
1115
- /**
1116
- * [EntityHeader | Synapse REST Docs](https://rest-docs.synapse.org/rest/org/sagebionetworks/repo/model/EntityHeader.html)
1117
- */
1118
- type EntityHeader = {
1119
- /** The name of the entity */
1120
- name: string;
1121
- /** The id of the entity */
1122
- id: string;
1123
- /** The type of the entity */
1124
- type: ENTITY_CONCRETE_TYPE;
1125
- /** The version number of the entity */
1126
- versionNumber?: number;
1127
- /** The user defined version label of the entity */
1128
- versionLabel?: string;
1129
- /** The ID of the entity that this Entity's ACL is inherited from. */
1130
- benefactorId: number;
1131
- /** The date this entity was created. */
1132
- createdOn: string;
1133
- /** The date this entity was last modified. */
1134
- modifiedOn: string;
1135
- /** The ID of the user that created this entity. */
1136
- createdBy: string;
1137
- /** The ID of the user that last modified this entity. */
1138
- modifiedBy: string;
1139
- /** If this version is the latest version of the entity */
1140
- isLatestVersion: boolean;
1141
- };
1142
- /**
1143
- * The full path for an entity. Note that the root entity, syn4489, may be included.
1144
- * The docs do not indicate that most fields are omitted from the EntityHeader objects, but our custom type
1145
- * signature captures this.
1146
- *
1147
- * [EntityPath | Synapse REST Docs](https://rest-docs.synapse.org/rest/org/sagebionetworks/repo/model/EntityPath.html)
1148
- */
1149
- type EntityPath = {
1150
- path: Pick<EntityHeader, 'name' | 'id' | 'type'>[];
1151
- };
1152
-
1153
- type ChallengePagedResults = {
1154
- results: Challenge[];
1155
- totalNumberOfResults: number;
1156
- };
1157
- type Challenge = {
1158
- id: string;
1159
- projectId: string;
1160
- participantTeamId: string;
1161
- etag: string;
1162
- };
1163
- type ChallengeWithProjectHeaderPagedResults = {
1164
- results: ChallengeWithProjectHeader[];
1165
- totalNumberOfResults: number;
1166
- };
1167
- type ChallengeWithProjectHeader = {
1168
- challenge: Challenge;
1169
- projectHeader: EntityHeader;
1170
- };
1171
- type ChallengeTeam = {
1172
- id: string;
1173
- etag: string;
1174
- challengeId: string;
1175
- teamId: string;
1176
- message?: string;
1177
- };
1178
- type CreateChallengeTeamRequest = Pick<ChallengeTeam, 'teamId' | 'challengeId' | 'message'>;
1179
- type ChallengeTeamPagedResults = {
1180
- results: ChallengeTeam[];
1181
- totalNumberOfResults: number;
1182
- };
1183
-
1184
- /**
1185
- * Used to log in when two-factor authentication is enabled.
1186
- *
1187
- * https://rest-docs.synapse.org/rest/org/sagebionetworks/repo/model/auth/TwoFactorAuthLoginRequest.html
1188
- */
1189
- type TwoFactorAuthLoginRequest = {
1190
- userId: number;
1191
- twoFaToken: string;
1192
- otpCode: string;
1193
- otpType: TwoFactorAuthOtpType;
1194
- };
1195
- type TwoFactorAuthOtpType = 'TOTP' | 'RECOVERY_CODE';
1196
-
1197
- type ChangePasswordInterface = {
1198
- newPassword: string;
1199
- concreteType: string;
1200
- };
1201
- type ChangePasswordWithCurrentPassword = {
1202
- newPassword: string;
1203
- concreteType: string;
1204
- username: string;
1205
- currentPassword: string;
1206
- authenticationReceipt?: string;
1207
- };
1208
- type ChangePasswordWithToken = {
1209
- newPassword: string;
1210
- concreteType: string;
1211
- passwordChangeToken: PasswordResetSignedToken;
1212
- };
1213
- type PasswordResetSignedToken = {
1214
- concreteType: string;
1215
- hmac: string;
1216
- version: number;
1217
- expiresOn: string;
1218
- createdOn: string;
1219
- userId: string;
1220
- validity: string;
1221
- };
1222
- /**
1223
- * Used to change the user password when two-factor authentication is enabled. The twoFaToken is generated by the server and included in the 401 response the user tries to update the password with either the old password or a token. Only TOTP and RECOVERY_CODE otp codes can be used for this operation.
1224
- * http://rest-docs.synapse.org/rest/org/sagebionetworks/repo/model/auth/ChangePasswordWithTwoFactorAuthToken.html
1225
- */
1226
- type ChangePasswordWithTwoFactorAuthToken = {
1227
- newPassword: string;
1228
- concreteType: string;
1229
- userId: number;
1230
- twoFaToken: string;
1231
- otpCode: string;
1232
- otpType: TwoFactorAuthOtpType;
1233
- };
1234
-
1235
- declare enum ObjectType {
1236
- ENTITY = "ENTITY",
1237
- ENTITY_CONTAINER = "ENTITY_CONTAINER",
1238
- PRINCIPAL = "PRINCIPAL",
1239
- ACTIVITY = "ACTIVITY",
1240
- EVALUATION = "EVALUATION",
1241
- SUBMISSION = "SUBMISSION",
1242
- EVALUATION_SUBMISSIONS = "EVALUATION_SUBMISSIONS",
1243
- FILE = "FILE",
1244
- MESSAGE = "MESSAGE",
1245
- WIKI = "WIKI",
1246
- FAVORITE = "FAVORITE",
1247
- ACCESS_REQUIREMENT = "ACCESS_REQUIREMENT",
1248
- ACCESS_APPROVAL = "ACCESS_APPROVAL",
1249
- TEAM = "TEAM",
1250
- TABLE = "TABLE",
1251
- ACCESS_CONTROL_LIST = "ACCESS_CONTROL_LIST",
1252
- PROJECT_SETTING = "PROJECT_SETTING",
1253
- VERIFICATION_SUBMISSION = "VERIFICATION_SUBMISSION",
1254
- CERTIFIED_USER_PASSING_RECORD = "CERTIFIED_USER_PASSING_RECORD",
1255
- FORUM = "FORUM",
1256
- THREAD = "THREAD",
1257
- REPLY = "REPLY",
1258
- FORM_GROUP = "FORM_GROUP",
1259
- FORM_DATA = "FORM_DATA",
1260
- ENTITY_VIEW = "ENTITY_VIEW",
1261
- USER_PROFILE = "USER_PROFILE",
1262
- DATA_ACCESS_REQUEST = "DATA_ACCESS_REQUEST",
1263
- DATA_ACCESS_SUBMISSION = "DATA_ACCESS_SUBMISSION",
1264
- DATA_ACCESS_SUBMISSION_STATUS = "DATA_ACCESS_SUBMISSION_STATUS",
1265
- MEMBERSHIP_INVITATION = "MEMBERSHIP_INVITATION"
1266
- }
1267
-
1268
- type WikiPageKey = {
1269
- wikiPageId: string;
1270
- ownerObjectId: string;
1271
- ownerObjectType: ObjectType;
1272
- };
1273
-
1274
- declare const MULTICHOICE_RESPONSE_CONCRETE_TYPE_VALUE = "org.sagebionetworks.repo.model.quiz.MultichoiceResponse";
1275
- type MULTICHOICE_RESPONSE_CONCRETE_TYPE = typeof MULTICHOICE_RESPONSE_CONCRETE_TYPE_VALUE;
1276
- interface Question {
1277
- questionIndex: number;
1278
- prompt: string;
1279
- reference: WikiPageKey;
1280
- docLink: string;
1281
- helpText: string;
1282
- concreteType?: string;
1283
- }
1284
- interface QuestionResponse {
1285
- questionIndex: number;
1286
- concreteType: string;
1287
- }
1288
- interface MultichoiceResponse extends QuestionResponse {
1289
- answerIndex: number[];
1290
- concreteType: MULTICHOICE_RESPONSE_CONCRETE_TYPE;
1291
- }
1292
- interface MultichoiceQuestion extends Question {
1293
- exclusive: boolean;
1294
- answers: MultichoiceAnswer[];
1295
- }
1296
- interface MultichoiceAnswer {
1297
- answerIndex: number;
1298
- prompt: string;
1299
- isCorrect: boolean;
1300
- }
1301
-
1302
- interface Quiz {
1303
- id: number;
1304
- header: string;
1305
- questions: MultichoiceQuestion[];
1306
- }
1307
- interface QuizResponse {
1308
- id?: number;
1309
- quizId: number;
1310
- createdBy?: string;
1311
- createdOn?: string;
1312
- questionResponses: QuestionResponse[];
1313
- }
1314
- interface ResponseCorrectness {
1315
- question: Question;
1316
- response: QuestionResponse;
1317
- isCorrect: boolean;
1318
- }
1319
- interface PassingRecord {
1320
- userId: string;
1321
- quizId: number;
1322
- responseId: number;
1323
- score: number;
1324
- passed: boolean;
1325
- passedOn: string;
1326
- corrections?: ResponseCorrectness[];
1327
- revokedOn?: string;
1328
- }
1329
-
1330
- type DiscussionReplyBundle = {
1331
- id: string;
1332
- threadId: string;
1333
- forumId: string;
1334
- projectId: string;
1335
- createdOn: string;
1336
- createdBy: string;
1337
- modifiedOn: string;
1338
- etag: string;
1339
- messageKey: string;
1340
- isEdited: boolean;
1341
- isDeleted: boolean;
1342
- };
1343
- type Forum = {
1344
- id: string;
1345
- projectId: string;
1346
- etag: string;
1347
- };
1348
- type DiscussionThreadBundle = {
1349
- id: string;
1350
- forumId: string;
1351
- projectId: string;
1352
- title: string;
1353
- createdOn: string;
1354
- createdBy: string;
1355
- modifiedOn: string;
1356
- etag: string;
1357
- messageKey: string;
1358
- numberOfViews: number;
1359
- numberOfReplies: number;
1360
- lastActivity: string;
1361
- activeAuthors: string[];
1362
- isEdited: boolean;
1363
- isDeleted: boolean;
1364
- isPinned: boolean;
1365
- };
1366
- declare enum DiscussionThreadOrder {
1367
- NUMBER_OF_REPLIES = "NUMBER_OF_REPLIES",
1368
- NUMBER_OF_VIEWS = "NUMBER_OF_VIEWS",
1369
- PINNED_AND_LAST_ACTIVITY = "PINNED_AND_LAST_ACTIVITY",
1370
- THREAD_TITLE = "THREAD_TITLE"
1371
- }
1372
- declare enum DiscussionReplyOrder {
1373
- CREATED_ON = "CREATED_ON"
1374
- }
1375
- declare enum DiscussionFilter {
1376
- NO_FILTER = "NO_FILTER",
1377
- DELETED_ONLY = "DELETED_ONLY",
1378
- EXCLUDE_DELETED = "EXCLUDE_DELETED"
1379
- }
1380
- type CreateDiscussionReply = {
1381
- threadId: string;
1382
- messageMarkdown: string;
1383
- };
1384
- type UpdateDiscussionReply = {
1385
- replyId: string;
1386
- messageMarkdown: string;
1387
- };
1388
- type CreateDiscussionThread = {
1389
- forumId: string;
1390
- title: string;
1391
- messageMarkdown: string;
1392
- };
1393
- type UpdateThreadMessageRequest = {
1394
- messageMarkdown: string;
1395
- threadId: string;
1396
- };
1397
- type UpdateThreadTitleRequest = {
1398
- title: string;
1399
- threadId: string;
1400
- };
1401
-
1402
- type DiscussionSearchRequest = {
1403
- searchString: string | undefined;
1404
- nextPageToken: string | undefined;
1405
- };
1406
- type Match = {
1407
- forumId: string;
1408
- threadId: string;
1409
- replyId: string;
1410
- };
1411
- type DiscussionSearchResponse = {
1412
- matches: Match[];
1413
- nextPageToken: string;
1414
- };
1415
-
1416
- type DoiAssociation = {
1417
- associationId: string;
1418
- etag: string;
1419
- doiUri: string;
1420
- doiUrl: string;
1421
- objectId: string;
1422
- objectType: ObjectType;
1423
- objectVersion?: number;
1424
- associatedBy: string;
1425
- associatedOn: string;
1426
- updatedBy: string;
1427
- updatedOn: string;
1428
- };
1429
-
1430
- type DownloadList = {
1431
- ownerId: string;
1432
- updatedOn: string;
1433
- etag: string;
1434
- filesToDownload: FileHandleAssociation[];
1435
- };
1436
-
1437
- interface DownloadOrder {
1438
- files: FileHandleAssociation[];
1439
- orderId: string;
1440
- createdBy: string;
1441
- createdOn: string;
1442
- zipFileName: string;
1443
- totalSizeBytes: number;
1444
- totalNumberOfFiles: number;
1445
- }
1446
-
1447
- type Action = RequestDownload | MeetAccessRequirement | EnableTwoFa;
1448
- type ActionRequiredCount = {
1449
- action: Action;
1450
- count: number;
1451
- };
1452
- type ActionRequiredList = {
1453
- actions: Action[];
1454
- };
1455
- type RequestDownload = {
1456
- concreteType: 'org.sagebionetworks.repo.model.download.RequestDownload';
1457
- benefactorId: number;
1458
- };
1459
- type MeetAccessRequirement = {
1460
- concreteType: 'org.sagebionetworks.repo.model.download.MeetAccessRequirement';
1461
- accessRequirementId: number;
1462
- };
1463
- type EnableTwoFa = {
1464
- concreteType: 'org.sagebionetworks.repo.model.download.EnableTwoFa';
1465
- accessRequirementId: number;
1466
- };
1467
-
1468
- type DownloadListItem = {
1469
- fileEntityId: string;
1470
- versionNumber?: number;
1471
- };
1472
-
1473
- type AddBatchOfFilesToDownloadListRequest = {
1474
- batchToAdd: DownloadListItem[];
1475
- };
1476
-
1477
- type AddBatchOfFilesToDownloadListResponse = {
1478
- numberOfFilesAdded: number;
1479
- };
1480
-
1481
- type AsynchJobState = 'PROCESSING' | 'FAILED' | 'COMPLETE';
1482
- type AsynchronousJobStatus<TRequest, TResponse> = {
1483
- jobState: AsynchJobState;
1484
- jobCanceling: boolean;
1485
- requestBody: TRequest;
1486
- responseBody?: TResponse;
1487
- etag: string;
1488
- jobId: string;
1489
- startedByUserId: number;
1490
- startedOn: string;
1491
- changedOn: string;
1492
- progressMessage?: string;
1493
- progressCurrent?: number;
1494
- progressTotal?: number;
1495
- exception?: string;
1496
- errorMessage?: string;
1497
- errorDetails?: string;
1498
- runtimeMS: number;
1499
- };
1500
-
1501
- type AsyncJobId = {
1502
- token: string;
1503
- };
1504
-
1505
- declare enum ColumnTypeEnum {
1506
- STRING = "STRING",
1507
- DOUBLE = "DOUBLE",
1508
- BOOLEAN = "BOOLEAN",
1509
- INTEGER = "INTEGER",
1510
- DATE = "DATE",
1511
- FILEHANDLEID = "FILEHANDLEID",
1512
- ENTITYID = "ENTITYID",
1513
- LINK = "LINK",
1514
- MEDIUMTEXT = "MEDIUMTEXT",
1515
- LARGETEXT = "LARGETEXT",
1516
- USERID = "USERID",
1517
- STRING_LIST = "STRING_LIST",
1518
- INTEGER_LIST = "INTEGER_LIST",
1519
- BOOLEAN_LIST = "BOOLEAN_LIST",
1520
- DATE_LIST = "DATE_LIST",
1521
- USERID_LIST = "USERID_LIST",
1522
- ENTITYID_LIST = "ENTITYID_LIST",
1523
- EVALUATIONID = "EVALUATIONID",
1524
- SUBMISSIONID = "SUBMISSIONID",
1525
- JSON = "JSON"
1526
- }
1527
- type ColumnType = ColumnTypeEnum | `${ColumnTypeEnum}`;
1528
-
1529
- type FacetType = 'enumeration' | 'range';
1530
-
1531
- /**
1532
- * Defines a single sub-column of a column of type JSON. This can be used to enable the faceting of the sub-columns.
1533
- *
1534
- * https://rest-docs.synapse.org/rest/org/sagebionetworks/repo/model/table/JsonSubColumnModel.html
1535
- */
1536
- type JsonSubColumnModel = {
1537
- /** The display name of the column */
1538
- name: string;
1539
- /** The column type determines the type of data that can be stored in a column. Switching between types (using a transaction with TableUpdateTransactionRequest in the "changes" list) is generally allowed except for switching to "_LIST" suffixed types. In such cases, a new column must be created and data must be copied over manually */
1540
- columnType: ColumnType;
1541
- /** Set to one of the enumerated values to indicate a column should be treated as a facet */
1542
- facetType: FacetType;
1543
- /** Defines the JSON path of the sub column. Use the '$' char to represent the root of JSON object. If the JSON key of a sub column is 'a', then the jsonPath for that column would be: '$.a'.} */
1544
- jsonPath: string;
1545
- };
1546
-
1547
- type ColumnModel = {
1548
- /** The immutable ID issued to new columns */
1549
- id: string;
1550
- /** The display name of the column */
1551
- name: string;
1552
- /** The default value for this column. Columns of type FILEHANDLEID and ENTITYID are not allowed to have default values. */
1553
- defaultValue?: string;
1554
- columnType: ColumnType;
1555
- /** A parameter for columnTypes with a maximum size. For example, ColumnTypeEnum.strings have a default maximum size of 50 characters, but can be set to a maximumSize of 1 to 1000 characters. */
1556
- maximumSize?: number;
1557
- /** Required if using a columnType with a "_LIST" suffix. Describes the maximum number of values that will appear in that list. Value range 1-100 inclusive. Default 100 */
1558
- maximumListLength?: number;
1559
- /** Columns of type string can be constrained to an enumeration values set on this list. The maximum number of entries for an enum is 100 */
1560
- enumValues?: string[];
1561
- /** Set to one of the enumerated values to indicate a column should be treated as a facet */
1562
- facetType?: FacetType;
1563
- /** For column of type JSON that represents the combination of multiple sub-columns, this property is used to define each sub-column. */
1564
- jsonSubColumns?: JsonSubColumnModel[];
1565
- };
1566
-
1567
- declare const TABLE_ENTITY_CONCRETE_TYPE_VALUE = "org.sagebionetworks.repo.model.table.TableEntity";
1568
- type TABLE_ENTITY_CONCRETE_TYPE = typeof TABLE_ENTITY_CONCRETE_TYPE_VALUE;
1569
- declare const VIEW_CONCRETE_TYPE_VALUES: readonly ["org.sagebionetworks.repo.model.table.EntityView", "org.sagebionetworks.repo.model.table.SubmissionView", "org.sagebionetworks.repo.model.table.Dataset", "org.sagebionetworks.repo.model.table.DatasetCollection"];
1570
- type VIEW_CONCRETE_TYPE = (typeof VIEW_CONCRETE_TYPE_VALUES)[number];
1571
- declare const TABLE_CONCRETE_TYPE_VALUES: readonly ["org.sagebionetworks.repo.model.table.TableEntity", "org.sagebionetworks.repo.model.table.EntityView", "org.sagebionetworks.repo.model.table.SubmissionView", "org.sagebionetworks.repo.model.table.Dataset", "org.sagebionetworks.repo.model.table.DatasetCollection", "org.sagebionetworks.repo.model.table.MaterializedView", "org.sagebionetworks.repo.model.table.VirtualTable"];
1572
- type TABLE_CONCRETE_TYPE = (typeof TABLE_CONCRETE_TYPE_VALUES)[number];
1573
-
1574
- type CsvTableDescriptor = {
1575
- separator?: string;
1576
- quoteCharacter?: string;
1577
- escapeCharacter?: string;
1578
- lineEnd?: string;
1579
- isFirstLineHeader?: boolean;
1580
- };
1581
-
1582
- interface Table extends VersionableEntity {
1583
- columnIds: string[];
1584
- concreteType: TABLE_CONCRETE_TYPE;
1585
- isSearchEnabled: boolean;
1586
- }
1587
-
1588
- interface View extends Table {
1589
- concreteType: VIEW_CONCRETE_TYPE;
1590
- }
1591
-
1592
- interface EntityRef {
1593
- entityId: string;
1594
- versionNumber: number;
1595
- }
1596
- /**
1597
- * https://rest-docs.synapse.org/rest/org/sagebionetworks/repo/model/table/EntityRefCollectionView.html
1598
- */
1599
- interface EntityRefCollectionView extends View {
1600
- items?: EntityRef[];
1601
- }
1602
- declare const DATASET_CONCRETE_TYPE_VALUE = "org.sagebionetworks.repo.model.table.Dataset";
1603
- type DATASET_CONCRETE_TYPE = typeof DATASET_CONCRETE_TYPE_VALUE;
1604
- interface Dataset extends EntityRefCollectionView {
1605
- concreteType: DATASET_CONCRETE_TYPE;
1606
- }
1607
- declare const DATASET_COLLECTION_CONCRETE_TYPE_VALUE = "org.sagebionetworks.repo.model.table.DatasetCollection";
1608
- type DATASET_COLLECTION_CONCRETE_TYPE = typeof DATASET_COLLECTION_CONCRETE_TYPE_VALUE;
1609
- interface DatasetCollection extends EntityRefCollectionView {
1610
- concreteType: DATASET_COLLECTION_CONCRETE_TYPE;
1611
- }
1612
-
1613
- type DownloadFromTableRequest = {
1614
- concreteType: 'org.sagebionetworks.repo.model.table.DownloadFromTableRequest';
1615
- entityId: string;
1616
- writeHeader: boolean;
1617
- includeRowIdAndRowVersion: boolean;
1618
- csvTableDescriptor: CsvTableDescriptor;
1619
- sql: string;
1620
- selectedFacets?: FacetColumnRequest[];
1621
- includeEntityEtag?: boolean;
1622
- isConsistent?: boolean;
1623
- offset?: number;
1624
- limit?: number;
1625
- sort?: SortItem[];
1626
- additionalFilters?: QueryFilter[];
1627
- };
1628
-
1629
- type SelectColumn = {
1630
- name: string;
1631
- columnType: ColumnType;
1632
- id?: string;
1633
- };
1634
-
1635
- type DownloadFromTableResult = {
1636
- concreteType: string;
1637
- resultsFileHandleId: string;
1638
- tableId: string;
1639
- etag: string;
1640
- headers: SelectColumn[];
1641
- };
1642
-
1643
- declare const ENTITY_VIEW_TYPE_MASK_FILE = 1;
1644
- declare const ENTITY_VIEW_TYPE_MASK_PROJECT = 2;
1645
- declare const ENTITY_VIEW_TYPE_MASK_TABLE = 4;
1646
- declare const ENTITY_VIEW_TYPE_MASK_FOLDER = 8;
1647
- declare const ENTITY_VIEW_TYPE_MASK_VIEW = 16;
1648
- declare const ENTITY_VIEW_TYPE_MASK_DOCKER = 32;
1649
- declare const ENTITY_VIEW_TYPE_MASK_SUBMISSIONVIEW = 64;
1650
- declare const ENTITY_VIEW_TYPE_MASK_DATASET = 128;
1651
- declare const ENTITY_VIEW_CONCRETE_TYPE_VALUE = "org.sagebionetworks.repo.model.table.EntityView";
1652
- type ENTITY_VIEW_CONCRETE_TYPE = typeof ENTITY_VIEW_CONCRETE_TYPE_VALUE;
1653
- interface EntityView extends View {
1654
- concreteType: ENTITY_VIEW_CONCRETE_TYPE;
1655
- /** The list of container ids that define the scope of this view. */
1656
- scopeIds: string[];
1657
- /** Bit mask representing the types to include in the view. The following are the possible types (type=): File=0x01, Project=0x02, Table=0x04, Folder=0x08, View=0x10, Docker=0x20. */
1658
- viewTypeMask: number;
1659
- }
1660
-
1661
- type FacetColumnResultValues = {
1662
- concreteType: 'org.sagebionetworks.repo.model.table.FacetColumnResultValues';
1663
- columnName: string;
1664
- facetType: 'enumeration';
1665
- facetValues: FacetColumnResultValueCount[];
1666
- jsonPath?: string;
1667
- };
1668
- type FacetColumnResultValueCount = {
1669
- value: string;
1670
- count: number;
1671
- isSelected: boolean;
1672
- };
1673
- type FacetColumnResultRange = {
1674
- concreteType: 'org.sagebionetworks.repo.model.table.FacetColumnResultRange';
1675
- facetType: 'range';
1676
- columnName: string;
1677
- columnMin: string;
1678
- columnMax: string;
1679
- selectedMin?: string;
1680
- selectedMax?: string;
1681
- jsonPath?: string;
1682
- };
1683
- type FacetColumnResult = FacetColumnResultValues | FacetColumnResultRange;
1684
-
1685
- declare const MATERIALIZED_VIEW_CONCRETE_TYPE_VALUE = "org.sagebionetworks.repo.model.table.MaterializedView";
1686
- type MATERIALIZED_VIEW_CONCRETE_TYPE = typeof MATERIALIZED_VIEW_CONCRETE_TYPE_VALUE;
1687
- interface MaterializedView extends Table {
1688
- concreteType: MATERIALIZED_VIEW_CONCRETE_TYPE;
1689
- definingSQL: string;
1690
- }
1691
-
1692
- type QueryBundleRequest = {
1693
- concreteType: 'org.sagebionetworks.repo.model.table.QueryBundleRequest';
1694
- entityId: string;
1695
- query: Query;
1696
- partMask: number;
1697
- };
1698
-
1699
- type QueryResult = {
1700
- concreteType: 'org.sagebionetworks.repo.model.table.QueryResult';
1701
- queryResults: RowSet;
1702
- nextPageToken?: QueryNextPageToken;
1703
- };
1704
- type RowSet = {
1705
- tableId: string;
1706
- concreteType: string;
1707
- etag: string;
1708
- headers: SelectColumn[];
1709
- rows: Row[];
1710
- };
1711
- type Row = {
1712
- rowId?: number;
1713
- versionNumber?: number;
1714
- etag?: string;
1715
- values: (string | null)[];
1716
- };
1717
- type QueryNextPageToken = {
1718
- token: string;
1719
- };
1720
-
1721
- type SumFileSizes = {
1722
- sumFileSizesBytes: number;
1723
- greaterThan: boolean;
1724
- };
1725
-
1726
- interface QueryResultBundle {
1727
- concreteType: 'org.sagebionetworks.repo.model.table.QueryResultBundle';
1728
- queryResult?: QueryResult;
1729
- queryCount?: number;
1730
- selectColumns?: SelectColumn[];
1731
- maxRowsPerPage?: number;
1732
- columnModels?: ColumnModel[];
1733
- facets?: FacetColumnResult[];
1734
- sumFileSizes?: SumFileSizes;
1735
- lastUpdatedOn?: string;
1736
- combinedSql?: string;
1737
- actionsRequired?: ActionRequiredCount[];
1738
- }
1739
-
1740
- declare const SUBMISSION_VIEW_CONCRETE_TYPE_VALUE = "org.sagebionetworks.repo.model.table.SubmissionView";
1741
- type SUBMISSION_VIEW_CONCRETE_TYPE = typeof SUBMISSION_VIEW_CONCRETE_TYPE_VALUE;
1742
- /**
1743
- * A view of evaluation submissions whose scope is defined by the evaluation ids the submissions are part of. The user must have READ_PRIVATE_SUBMISSION access on each of the evaluations in the scope.
1744
- *
1745
- * https://rest-docs.synapse.org/rest/org/sagebionetworks/repo/model/table/SubmissionView.html
1746
- */
1747
- interface SubmissionView extends View {
1748
- concreteType: SUBMISSION_VIEW_CONCRETE_TYPE;
1749
- /** The list of container ids that define the scope of this view. */
1750
- scopeIds: string[];
1751
- }
1752
-
1753
- type TableBundle = {
1754
- columnModels: ColumnModel[];
1755
- maxRowsPerPage: number;
1756
- };
1757
-
1758
- interface TableEntity extends Table {
1759
- concreteType: TABLE_ENTITY_CONCRETE_TYPE;
1760
- }
1761
-
1762
- type TableUpdateTransactionRequest = {
1763
- concreteType: 'org.sagebionetworks.repo.model.table.TableUpdateTransactionRequest';
1764
- entityId: string;
1765
- changes: TableUpdateRequest[];
1766
- createSnapshot?: boolean;
1767
- snapshotOptions?: SnapshotRequest;
1768
- };
1769
- type AppendableRowSetRequest = {
1770
- concreteType: 'org.sagebionetworks.repo.model.table.AppendableRowSetRequest';
1771
- entityId: string;
1772
- toAppend: PartialRowSet;
1773
- };
1774
- type PartialRowSet = {
1775
- concreteType: 'org.sagebionetworks.repo.model.table.PartialRowSet';
1776
- tableId: string;
1777
- rows: PartialRow[];
1778
- };
1779
- type PartialRow = {
1780
- rowId: number;
1781
- values: KeyValuePair[];
1782
- etag?: string;
1783
- };
1784
- type KeyValuePair = {
1785
- key: string;
1786
- value: string;
1787
- };
1788
- type TableSchemaChangeRequest = {
1789
- concreteType: 'org.sagebionetworks.repo.model.table.TableSchemaChangeRequest';
1790
- entityId: string;
1791
- changes: ColumnChange[];
1792
- orderedColumnIds: string[];
1793
- };
1794
- /**
1795
- * Describes a change from one column to another.
1796
- */
1797
- type ColumnChange = {
1798
- oldColumnId: string | null;
1799
- newColumnId: string | null;
1800
- };
1801
- type TableUpdateRequest = TableSchemaChangeRequest | AppendableRowSetRequest;
1802
- /**
1803
- * Request to create a new snapshot of a table or view. The provided comment, label, and activity ID will be applied to
1804
- * the current version thereby creating a snapshot and locking the current version. After the snapshot is created a new
1805
- * version will be started with an 'in-progress' label.
1806
- */
1807
- type SnapshotRequest = {
1808
- snapshotComment?: string;
1809
- snapshotLabel?: string;
1810
- snapshotActivityId?: string;
1811
- };
1812
- /**
1813
- * An AsynchronousResponseBody returned from a table update transaction.
1814
- */
1815
- type TableUpdateTransactionResponse = {
1816
- concreteType: 'org.sagebionetworks.repo.model.table.TableUpdateTransactionResponse';
1817
- results: TableUpdateResponse[];
1818
- snapshotVersionNumber?: number;
1819
- };
1820
- /**
1821
- * https://rest-docs.synapse.org/rest/org/sagebionetworks/repo/model/table/TableUpdateResponse.html
1822
- */
1823
- type TableUpdateResponse = TableSchemaChangeResponse;
1824
- type TableSchemaChangeResponse = {
1825
- concreteType: 'org.sagebionetworks.repo.model.table.TableSchemaChangeResponse';
1826
- schema: ColumnModel[];
1827
- };
1828
-
1829
- declare enum EntityType {
1830
- PROJECT = "project",
1831
- FOLDER = "folder",
1832
- FILE = "file",
1833
- TABLE = "table",
1834
- LINK = "link",
1835
- ENTITY_VIEW = "entityview",
1836
- DOCKER_REPO = "dockerrepo",
1837
- SUBMISSION_VIEW = "submissionview",
1838
- DATASET = "dataset",
1839
- DATASET_COLLECTION = "datasetcollection",
1840
- MATERIALIZED_VIEW = "materializedview",
1841
- VIRTUAL_TABLE = "virtualtable"
1842
- }
1843
-
1844
- /**
1845
- * Subset of EntityType for views
1846
- * https://rest-docs.synapse.org/rest/org/sagebionetworks/repo/model/table/ViewEntityType.html
1847
- */
1848
- type ViewEntityType = EntityType.ENTITY_VIEW | EntityType.SUBMISSION_VIEW | EntityType.DATASET | EntityType.DATASET_COLLECTION;
1849
-
1850
- /**
1851
- * List of parent IDs that define a view scope.
1852
- */
1853
- type ViewScope = {
1854
- viewTypeMask?: number;
1855
- scope: string[];
1856
- viewEntityType: ViewEntityType;
1857
- };
1858
-
1859
- /**
1860
- * An asynchronous request to compute the column models from the annotations in a given scope, note that the result
1861
- * won't include the default column model.
1862
- */
1863
- type ViewColumnModelRequest = {
1864
- concreteType: 'org.sagebionetworks.repo.model.table.ViewColumnModelRequest';
1865
- viewScope: ViewScope;
1866
- includeDerivedAnnotations: boolean;
1867
- nextPageToken?: string | null;
1868
- };
1869
-
1870
- /**
1871
- * Response for the ViewColumnModelRequest containing a page of suggested column models
1872
- */
1873
- type ViewColumnModelResponse = {
1874
- concreteType: 'org.sagebionetworks.repo.model.table.ViewColumnModelResponse';
1875
- results: ColumnModel[];
1876
- nextPageToken?: string | null;
1877
- };
1878
-
1879
- declare const VIRTUAL_TABLE_CONCRETE_TYPE_VALUE = "org.sagebionetworks.repo.model.table.VirtualTable";
1880
- type VIRTUAL_TABLE_CONCRETE_TYPE = typeof VIRTUAL_TABLE_CONCRETE_TYPE_VALUE;
1881
- /**
1882
- * A virtual table is a type of table whose content is defined by a synapse SQL query. Its content is NOT persisted and
1883
- * any query on a virtual table will run the defined SQL statement. The defining SQL of the virtual table CANNOT contain
1884
- * JOIN clauses on multiple tables.
1885
- *
1886
- * https://rest-docs.synapse.org/rest/org/sagebionetworks/repo/model/table/VirtualTable.html
1887
- */
1888
- interface VirtualTable extends Table {
1889
- concreteType: VIRTUAL_TABLE_CONCRETE_TYPE;
1890
- definingSQL: string;
1891
- }
1892
-
1893
- type ValidateDefiningSqlResponse = {
1894
- isValid: boolean;
1895
- invalidReason?: string;
1896
- };
1897
- type ValidateDefiningSqlRequest = {
1898
- sql: string;
1899
- entityType: EntityType;
1900
- };
1901
-
1902
- type AddToDownloadListRequest = {
1903
- concreteType: 'org.sagebionetworks.repo.model.download.AddToDownloadListRequest';
1904
- query?: Query;
1905
- parentId?: string;
1906
- useVersionNumber?: boolean;
1907
- };
1908
-
1909
- type AddToDownloadListResponse = {
1910
- concreteType: 'org.sagebionetworks.repo.model.download.AddToDownloadListResponse';
1911
- numberOfFilesAdded: number;
1912
- };
1913
-
1914
- type DownloadListItemResult = {
1915
- fileName: string;
1916
- addedOn: string;
1917
- projectId: string;
1918
- projectName: string;
1919
- createdBy: string;
1920
- createdOn: string;
1921
- fileSizeBytes: number;
1922
- fileEntityId: string;
1923
- versionNumber?: number;
1924
- isEligibleForPackaging: boolean;
1925
- };
1926
-
1927
- type DownloadListManifestRequest = {
1928
- concreteType: 'org.sagebionetworks.repo.model.download.DownloadListManifestRequest';
1929
- csvTableDescriptor: CsvTableDescriptor;
1930
- };
1931
-
1932
- type DownloadListManifestResponse = {
1933
- concreteType: 'org.sagebionetworks.repo.model.download.DownloadListManifestResponse';
1934
- resultFileHandleId: string;
1935
- };
1936
-
1937
- type DownloadListPackageRequest = {
1938
- concreteType: 'org.sagebionetworks.repo.model.download.DownloadListPackageRequest';
1939
- zipFileName?: string;
1940
- includeManifest?: boolean;
1941
- };
1942
-
1943
- type DownloadListPackageResponse = {
1944
- concreteType: 'org.sagebionetworks.repo.model.download.DownloadListPackageResponse';
1945
- resultFileHandleId: string;
1946
- };
1947
-
1948
- type QueryRequestDetails = AvailableFilesRequest | FilesStatisticsRequest | ActionRequiredRequest;
1949
- type AvailableFilesRequest = {
1950
- concreteType: 'org.sagebionetworks.repo.model.download.AvailableFilesRequest';
1951
- nextPageToken?: string;
1952
- sort?: Sort[];
1953
- filter?: AvailableFilter;
1954
- };
1955
- type FilesStatisticsRequest = {
1956
- concreteType: 'org.sagebionetworks.repo.model.download.FilesStatisticsRequest';
1957
- };
1958
- type ActionRequiredRequest = {
1959
- concreteType: 'org.sagebionetworks.repo.model.download.ActionRequiredRequest';
1960
- nextPageToken?: string;
1961
- };
1962
- type SortField = 'fileName' | 'projectName' | 'synId' | 'versionNumber' | 'addedOn' | 'createdBy' | 'createdOn' | 'fileSize';
1963
- type DownloadListSortDirection = 'ASC' | 'DESC';
1964
- type Sort = {
1965
- field: SortField;
1966
- direction: DownloadListSortDirection;
1967
- };
1968
- type AvailableFilter = 'eligibleForPackaging' | 'ineligibleForPackaging' | undefined;
1969
-
1970
- type DownloadListQueryRequest = {
1971
- concreteType: 'org.sagebionetworks.repo.model.download.DownloadListQueryRequest';
1972
- requestDetails: QueryRequestDetails;
1973
- };
1974
-
1975
- type QueryResponseDetails = AvailableFilesResponse | FilesStatisticsResponse | ActionRequiredResponse;
1976
- type AvailableFilesResponse = {
1977
- concreteType: 'org.sagebionetworks.repo.model.download.AvailableFilesResponse';
1978
- page: DownloadListItemResult[];
1979
- nextPageToken?: string;
1980
- };
1981
- type FilesStatisticsResponse = {
1982
- concreteType: 'org.sagebionetworks.repo.model.download.FilesStatisticsResponse';
1983
- totalNumberOfFiles: number;
1984
- numberOfFilesAvailableForDownload: number;
1985
- numberOfFilesAvailableForDownloadAndEligibleForPackaging: number;
1986
- numberOfFilesRequiringAction: number;
1987
- sumOfFileSizesAvailableForDownload: number;
1988
- };
1989
- type ActionRequiredResponse = {
1990
- concreteType: 'org.sagebionetworks.repo.model.download.ActionRequiredResponse';
1991
- page: ActionRequiredCount[];
1992
- nextPageToken?: string;
1993
- };
1994
-
1995
- type DownloadListQueryResponse = {
1996
- concreteType: string;
1997
- responseDetails: QueryResponseDetails;
1998
- };
1999
-
2000
- type RemoveBatchOfFilesFromDownloadListRequest = {
2001
- batchToRemove: DownloadListItem[];
2002
- };
2003
-
2004
- type RemoveBatchOfFilesFromDownloadListResponse = {
2005
- numberOfFilesRemoved: number;
2006
- };
2007
-
2008
- /**
2009
- * The entity bundle type defined by Synapse. We are using Typescript to generate a more strongly-typed EntityBundle based on the passed EntityBundleRequest, which is exported below.
2010
- *
2011
- * https://rest-docs.synapse.org/rest/org/sagebionetworks/repo/model/entitybundle/v2/EntityBundle.html
2012
- */
2013
- type _EntityBundle = {
2014
- entity: Entity;
2015
- entityType: EntityType;
2016
- annotations: Annotations;
2017
- permissions: UserEntityPermissions;
2018
- path: EntityPath;
2019
- hasChildren: boolean;
2020
- fileHandles: FileHandle[];
2021
- benefactorAcl: AccessControlList;
2022
- threadCount: number;
2023
- restrictionInformation: RestrictionInformationResponse;
2024
- accessControlList?: AccessControlList;
2025
- tableBundle?: TableBundle;
2026
- rootWikiId?: string;
2027
- doiAssociation?: DoiAssociation;
2028
- fileName?: string;
2029
- };
2030
- type EntityBundleRequest = {
2031
- includeEntity?: boolean;
2032
- includeAnnotations?: boolean;
2033
- includePermissions?: boolean;
2034
- includeEntityPath?: boolean;
2035
- includeHasChildren?: boolean;
2036
- includeAccessControlList?: boolean;
2037
- includeFileHandles?: boolean;
2038
- includeTableBundle?: boolean;
2039
- includeRootWikiId?: boolean;
2040
- includeBenefactorACL?: boolean;
2041
- includeDOIAssociation?: boolean;
2042
- includeFileName?: boolean;
2043
- includeThreadCount?: boolean;
2044
- includeRestrictionInformation?: boolean;
2045
- };
2046
- /**
2047
- * Maps the fields of an Entity bundle to the EntityBundleRequest field that is required to return that field
2048
- */
2049
- interface BundleFieldToRequestFieldMapping extends Record<keyof _EntityBundle, keyof EntityBundleRequest> {
2050
- entity: 'includeEntity';
2051
- entityType: 'includeEntity';
2052
- annotations: 'includeAnnotations';
2053
- permissions: 'includePermissions';
2054
- path: 'includeEntityPath';
2055
- hasChildren: 'includeHasChildren';
2056
- accessControlList: 'includeAccessControlList';
2057
- fileHandles: 'includeFileHandles';
2058
- tableBundle: 'includeTableBundle';
2059
- rootWikiId: 'includeRootWikiId';
2060
- benefactorAcl: 'includeBenefactorACL';
2061
- doiAssociation: 'includeDOIAssociation';
2062
- fileName: 'includeFileName';
2063
- threadCount: 'includeThreadCount';
2064
- restrictionInformation: 'includeRestrictionInformation';
2065
- }
2066
- /**
2067
- * Given the following types:
2068
- * @param TRequestConst: a constant request object with boolean values (e.g. an EntityBundleRequest)
2069
- * @param TRequestField: a key of the request object
2070
- * @param TResultObject: a result object (e.g. EntityBundle)
2071
- * @param TResultField: a key of the result object
2072
- *
2073
- * If the constant object has the specified field set to true, then the resulting type will be TResultObject[TResultField].
2074
- *
2075
- * Otherwise, the resulting type is never, indicating that the field is not present in the result.
2076
- */
2077
- type IncludeOnlyIfRequested<TRequestConst extends Record<string, boolean>, TRequestField extends keyof TRequestConst, TResultObject, TResultField extends keyof TResultObject> = TRequestConst[TRequestField] extends true ? TResultObject[TResultField] : never;
2078
- /** Request object to return all Entity Bundle fields */
2079
- declare const ALL_ENTITY_BUNDLE_FIELDS: {
2080
- readonly includeEntity: true;
2081
- readonly includeEntityPath: true;
2082
- readonly includeAnnotations: true;
2083
- readonly includePermissions: true;
2084
- readonly includeHasChildren: true;
2085
- readonly includeAccessControlList: true;
2086
- readonly includeFileHandles: true;
2087
- readonly includeTableBundle: true;
2088
- readonly includeRootWikiId: true;
2089
- readonly includeBenefactorACL: true;
2090
- readonly includeDOIAssociation: true;
2091
- readonly includeFileName: true;
2092
- readonly includeThreadCount: true;
2093
- readonly includeRestrictionInformation: true;
2094
- };
2095
- /**
2096
- * Bundle to transport an Entity and related data objects. See [Synapse REST API](https://rest-docs.synapse.org/rest/org/sagebionetworks/repo/model/entitybundle/v2/EntityBundle.html).
2097
- *
2098
- * We have utilized TypeScript to add additional type safety based on the value of the request object.
2099
- * @typeParam T - A constant EntityBundleRequest object.
2100
- * @returns An EntityBundle type that only includes the fields that are requested in the request object.
2101
- */
2102
- type EntityBundle<T extends EntityBundleRequest = typeof ALL_ENTITY_BUNDLE_FIELDS> = {
2103
- [EntityBundleField in keyof _EntityBundle]: IncludeOnlyIfRequested<T, BundleFieldToRequestFieldMapping[EntityBundleField], _EntityBundle, EntityBundleField>;
2104
- };
2105
-
2106
- declare enum SortBy {
2107
- NAME = "NAME",
2108
- CREATED_ON = "CREATED_ON",
2109
- MODIFIED_ON = "MODIFIED_ON"
2110
- }
2111
- declare enum Direction {
2112
- ASC = "ASC",
2113
- DESC = "DESC"
2114
- }
2115
- type EntityChildrenRequest = {
2116
- parentId?: string;
2117
- nextPageToken?: string | null;
2118
- includeTypes: Array<EntityType>;
2119
- sortBy?: SortBy;
2120
- sortDirection?: Direction;
2121
- includeTotalChildCount?: boolean;
2122
- includeSumFileSizes?: boolean;
2123
- };
2124
- type EntityChildrenResponse = {
2125
- page: EntityHeader[];
2126
- nextPageToken: string | undefined;
2127
- totalChildCount?: number;
2128
- sumFileSizesBytes?: number;
2129
- };
2130
-
2131
- interface EntityId {
2132
- id: string;
2133
- }
2134
-
2135
- interface EntityLookupRequest {
2136
- entityName: string;
2137
- parentId?: string;
2138
- }
2139
-
2140
- declare enum ErrorResponseCode {
2141
- PASSWORD_RESET_VIA_EMAIL_REQUIRED = "PASSWORD_RESET_VIA_EMAIL_REQUIRED",
2142
- USER_CERTIFICATION_REQUIRED = "USER_CERTIFICATION_REQUIRED",
2143
- INVALID_TABLE_QUERY_FACET_COLUMN_REQUEST = "INVALID_TABLE_QUERY_FACET_COLUMN_REQUEST",
2144
- OAUTH_CLIENT_NOT_VERIFIED = "OAUTH_CLIENT_NOT_VERIFIED",
2145
- TWO_FA_REQUIRED = "TWO_FA_REQUIRED"
2146
- }
2147
- /**
2148
- * https://rest-docs.synapse.org/rest/org/sagebionetworks/repo/model/ErrorResponse.html
2149
- */
2150
- type ErrorResponse = {
2151
- concreteType: 'org.sagebionetworks.repo.model.ErrorResponse';
2152
- reason: string;
2153
- errorCode?: ErrorResponseCode;
2154
- };
2155
- type TwoFactorAuthErrorResponse = {
2156
- concreteType: 'org.sagebionetworks.repo.model.auth.TwoFactorAuthErrorResponse';
2157
- userId: number;
2158
- twoFaToken: string;
2159
- reason: string;
2160
- errorCode: ErrorResponseCode.TWO_FA_REQUIRED;
2161
- };
2162
-
2163
- /** @deprecated use EvaluationRound instead */
2164
- type SubmissionQuota = {
2165
- firstRoundStart: string;
2166
- roundDurationMillis: number;
2167
- numberOfRounds: number;
2168
- submissionLimit: number;
2169
- };
2170
-
2171
- type Evaluation = {
2172
- id?: string;
2173
- etag?: string;
2174
- name?: string;
2175
- description?: string;
2176
- ownerId?: string;
2177
- createdOn?: string;
2178
- contentSource?: string;
2179
- submissionInstructionsMessage?: string;
2180
- submissionReceiptMessage?: string;
2181
- /** @deprecated use REST APIs for EvaluationRound instead */
2182
- quota?: SubmissionQuota;
2183
- };
2184
-
2185
- type EvaluationRoundLimitType = 'TOTAL' | 'DAILY' | 'WEEKLY' | 'MONTHLY';
2186
- type EvaluationRoundLimit = {
2187
- limitType: EvaluationRoundLimitType;
2188
- maximumSubmissions: number;
2189
- };
2190
-
2191
- type EvaluationRound = {
2192
- id?: string;
2193
- etag?: string;
2194
- evaluationId: string;
2195
- roundStart: string;
2196
- roundEnd: string;
2197
- limits?: EvaluationRoundLimit[];
2198
- };
2199
-
2200
- type EvaluationRoundListRequest = {
2201
- nextPageToken?: string;
2202
- };
2203
-
2204
- type EvaluationRoundListResponse = {
2205
- page: EvaluationRound[];
2206
- nextPageToken?: string;
2207
- };
2208
-
2209
- type GetEvaluationParameters = {
2210
- accessType?: ACCESS_TYPE;
2211
- activeOnly?: boolean;
2212
- evaluationIds?: string[];
2213
- limit?: number;
2214
- offset?: number;
2215
- };
2216
-
2217
- type UserEvaluationPermissions = {
2218
- canChangePermissions: boolean;
2219
- canView: boolean;
2220
- canPublicRead: boolean;
2221
- canEdit: boolean;
2222
- canDelete: boolean;
2223
- canParticipate: boolean;
2224
- canSubmit: boolean;
2225
- canViewPrivateSubmissionStatusAnnotations: boolean;
2226
- canEditSubmissionStatuses: boolean;
2227
- canDeleteSubmissions: boolean;
2228
- ownerPrincipalId: number;
2229
- };
2230
-
2231
- type EvaluationQueryRow = {
2232
- values: string[];
2233
- };
2234
- type QueryTableResults = {
2235
- headers: string[];
2236
- rows: EvaluationQueryRow[];
2237
- totalNumberOfResults: number;
2238
- };
2239
-
2240
- type FavoriteSortBy = 'FAVORITED_ON' | 'NAME';
2241
- type FavoriteSortDirection = 'ASC' | 'DESC';
2242
-
2243
- type FeatureFlags = Record<FeatureFlagEnum, boolean>;
2244
- declare enum FeatureFlagEnum {
2245
- DESCRIPTION_FIELD = "DESCRIPTION_FIELD",
2246
- VIRTUALTABLE_SUPPORT = "VIRTUALTABLE_SUPPORT",
2247
- JSONSCHEMA_VALIDATION_STATUS = "JSONSCHEMA_VALIDATION_STATUS",
2248
- REACT_ENTITY_ACL_EDITOR = "REACT_ENTITY_ACL_EDITOR"
2249
- }
2250
-
2251
- type FileHandleResults = {
2252
- list: FileHandle[];
2253
- };
2254
-
2255
- type FileUploadComplete = {
2256
- fileHandleId: string;
2257
- fileName: string;
2258
- };
2259
- type UploadCallbackResp = {
2260
- resp?: FileUploadComplete;
2261
- context?: any;
2262
- success?: boolean;
2263
- error?: any;
2264
- };
2265
-
2266
- type FormGroup = {
2267
- groupId: string;
2268
- name: string;
2269
- createdBy: string;
2270
- createdOn: string;
2271
- };
2272
- type FormData = {
2273
- formDataId: string;
2274
- etag: string;
2275
- groupId: string;
2276
- name: string;
2277
- createdBy: string;
2278
- createdOn: string;
2279
- modifiedOn: string;
2280
- dataFileHandleId: string;
2281
- submissionStatus: SubmissionStatus;
2282
- };
2283
- type FormChangeRequest = {
2284
- name: string;
2285
- fileHandleId: string;
2286
- };
2287
- type FormRejection = {
2288
- reason: string;
2289
- };
2290
- type SubmissionStatus = {
2291
- submittedOn?: string;
2292
- reviewedOn?: string;
2293
- reviewedBy?: string;
2294
- state: StatusEnum;
2295
- rejectionMessage?: string;
2296
- };
2297
- declare enum StatusEnum {
2298
- WAITING_FOR_SUBMISSION = "WAITING_FOR_SUBMISSION",
2299
- SUBMITTED_WAITING_FOR_REVIEW = "SUBMITTED_WAITING_FOR_REVIEW",
2300
- ACCEPTED = "ACCEPTED",
2301
- REJECTED = "REJECTED"
2302
- }
2303
- type ListRequest = {
2304
- filterByState?: StatusEnum[];
2305
- groupId: string;
2306
- nextPageToken?: string;
2307
- };
2308
- type ListResponse = {
2309
- page: FormData[];
2310
- nextPageToken?: string;
2311
- };
2312
-
2313
- type GetProjectsParameters = {
2314
- nextPageToken?: string | null;
2315
- teamId?: string;
2316
- filter?: 'ALL' | 'CREATED' | 'PARTICIPATED' | 'TEAM';
2317
- sort?: 'LAST_ACTIVITY' | 'PROJECT_NAME';
2318
- sortDirection?: 'ASC' | 'DESC';
2319
- };
2320
-
2321
- type HasAccessResponse = {
2322
- result: boolean;
2323
- };
2324
-
2325
- type Team = {
2326
- id: string;
2327
- name: string;
2328
- description?: string;
2329
- icon?: string;
2330
- canPublicJoin?: boolean;
2331
- canRequestMembership?: boolean;
2332
- etag: string;
2333
- createdOn: string;
2334
- modifiedOn: string;
2335
- createdBy: string;
2336
- modifiedBy: string;
2337
- };
2338
- type CreateTeamRequest = Pick<Team, 'name' | 'description' | 'canPublicJoin' | 'canRequestMembership' | 'icon'>;
2339
-
2340
- type ListWrapper<T = Team | Entity> = {
2341
- concreteType?: string;
2342
- list: T[];
2343
- };
2344
-
2345
- type LoginRequest = {
2346
- username: string;
2347
- password: string;
2348
- authenticationReceipt: string;
2349
- };
2350
-
2351
- type LoginResponse = {
2352
- accessToken: string;
2353
- acceptsTermsOfUse: boolean;
2354
- authenticationReceipt: string;
2355
- };
2356
-
2357
- type MarkdownEditorCommandData = {
2358
- openSyntax: string;
2359
- closeSyntax: string;
2360
- };
2361
- declare const commandList: readonly ["title", "bold", "italic", "strikethrough", "code", "latex", "subscript", "superscript", "link", "image"];
2362
- type CommandListType = (typeof commandList)[number];
2363
- type MarkdownEditorCommands = Record<CommandListType, MarkdownEditorCommandData>;
2364
- declare const MARKDOWN_COMMANDS_DATA: MarkdownEditorCommands;
2365
-
2366
- type MembershipInvitation = {
2367
- id: string;
2368
- teamId: string;
2369
- inviteeId?: string;
2370
- inviteeEmail?: string;
2371
- message?: string;
2372
- expiresOn?: string;
2373
- createdOn: string;
2374
- createdBy: string;
2375
- };
2376
- type CreateMembershipInvitationRequest = Pick<MembershipInvitation, 'teamId' | 'inviteeId' | 'inviteeEmail' | 'expiresOn' | 'message'>;
2377
-
2378
- type MessageToUser = {
2379
- id: string;
2380
- createdBy: string;
2381
- fileHandleId: string;
2382
- createdOn: string;
2383
- recipients: string[];
2384
- subject: string;
2385
- inReplyTo: string;
2386
- inReplyToRoot: string;
2387
- notificationUnsubscribeEndpoint: string;
2388
- userProfileSettingEndpoint: string;
2389
- withUnsubscribeLink: boolean;
2390
- withProfileSettingLink: boolean;
2391
- isNotificationMessage: boolean;
2392
- to: string;
2393
- cc: string;
2394
- bcc: string;
2395
- };
2396
-
2397
- type MessageStatusType = 'READ' | 'UNREAD' | 'ARCHIVED';
2398
- type MessageStatus = {
2399
- messageId: string;
2400
- recipientId: string;
2401
- status: MessageStatusType;
2402
- };
2403
- type MessageBundle = {
2404
- message: MessageToUser;
2405
- status: MessageStatus;
2406
- };
2407
-
2408
- type MessageURL = {
2409
- messageUrl: string;
2410
- };
2411
-
2412
- type MultipartUploadRequest = {
2413
- contentMD5Hex?: string;
2414
- contentType: string;
2415
- fileSizeBytes: number;
2416
- partSizeBytes: number;
2417
- fileName: string;
2418
- storageLocationId: number;
2419
- generatePreview?: boolean;
2420
- };
2421
-
2422
- type MultipartUploadStatus = {
2423
- uploadId: string;
2424
- startedBy: string;
2425
- startedOn: string;
2426
- updatedOn: string;
2427
- partsState: string;
2428
- state: 'UPLOADING' | 'COMPLETED';
2429
- resultFileHandleId: string;
2430
- };
2431
-
2432
- /**
2433
- Metadata for a list page OAuth 2.0 clients
2434
- https://rest-docs.synapse.org/rest/org/sagebionetworks/repo/model/oauth/OAuthClientList.html
2435
- */
2436
- interface OAuthClientList {
2437
- results: OAuthClient[];
2438
- nextPageToken?: string;
2439
- }
2440
- /**
2441
- OAuth 2.0 Client metadata described in OpenID Connect Core 1.0 Client Metadata
2442
- https://rest-docs.synapse.org/rest/org/sagebionetworks/repo/model/oauth/OAuthClient.html
2443
- */
2444
- interface OAuthClient {
2445
- client_id?: string;
2446
- client_name: string;
2447
- verified?: boolean;
2448
- redirect_uris: string[];
2449
- client_uri?: string;
2450
- policy_uri?: string;
2451
- tos_uri?: string;
2452
- sector_identifier_uri: string;
2453
- sector_identifier?: string;
2454
- userinfo_signed_response_alg?: OIDCSigningAlgorithm;
2455
- createdOn?: string;
2456
- modifiedOn?: string;
2457
- createdBy?: string;
2458
- etag?: string;
2459
- }
2460
- /**
2461
- * https://rest-docs.synapse.org/rest/org/sagebionetworks/repo/model/oauth/OAuthClientVerificationPrecheckResult.html
2462
- * (used in https://rest-docs.synapse.org/rest/PUT/oauth2/client/id/verificationPrecheck.html)
2463
- */
2464
- interface OAuthClientVerificationPrecheckResult {
2465
- reverificationRequired: boolean;
2466
- }
2467
- /**
2468
- OAuth 2.0 Client ID and secret, generated when a new client is created
2469
- https://rest-docs.synapse.org/rest/org/sagebionetworks/repo/model/oauth/OAuthClientIdAndSecret.html
2470
- */
2471
- interface OAuthClientIdAndSecret {
2472
- client_id: string;
2473
- client_secret: string;
2474
- }
2475
- declare enum OIDCSigningAlgorithm {
2476
- RS256 = "RS256"
2477
- }
2478
-
2479
- type OAuthClientPublic = {
2480
- client_id: string;
2481
- client_name: string;
2482
- verified: boolean;
2483
- client_uri: string;
2484
- policy_uri: string;
2485
- tos_uri: string;
2486
- };
2487
-
2488
- type OAuthConsentGrantedResponse = {
2489
- granted: boolean;
2490
- };
2491
-
2492
- type OIDCAuthorizationRequest = {
2493
- clientId: string;
2494
- scope: string;
2495
- claims?: {
2496
- id_token?: {
2497
- [key: string]: {
2498
- essential: boolean;
2499
- value: string;
2500
- values: string[];
2501
- };
2502
- };
2503
- userinfo?: {
2504
- [key: string]: {
2505
- essential?: boolean;
2506
- value?: string;
2507
- values?: string[];
2508
- };
2509
- };
2510
- };
2511
- responseType: string;
2512
- redirectUri: string;
2513
- nonce?: string;
2514
- userId?: string;
2515
- authenticatedAt?: string;
2516
- authorizedAt?: string;
2517
- };
2518
-
2519
- type OIDCAuthorizationRequestDescription = {
2520
- client_id: string;
2521
- redirect_uri: string;
2522
- scope: string[];
2523
- };
2524
-
2525
- /**
2526
- * Paginated results of strings
2527
- * https://rest-docs.synapse.org/rest/org/sagebionetworks/repo/model/PaginatedIds.html
2528
- */
2529
- type PaginatedIds = {
2530
- results: string[];
2531
- totalNumberOfResults: number;
2532
- };
2533
-
2534
- type PaginatedResults<T> = {
2535
- totalNumberOfResults?: number;
2536
- results: T[];
2537
- };
2538
-
2539
- type AliasCheckRequest = {
2540
- alias: string;
2541
- type: AliasType;
2542
- };
2543
- type PrincipalAliasRequest = {
2544
- alias: string;
2545
- type: AliasType;
2546
- };
2547
- declare enum AliasType {
2548
- USER_NAME = "USER_NAME",
2549
- TEAM_NAME = "TEAM_NAME",
2550
- USER_EMAIL = "USER_EMAIL",
2551
- USER_OPEN_ID = "USER_OPEN_ID",
2552
- USER_ORCID = "USER_ORCID"
2553
- }
2554
- type AliasCheckResponse = {
2555
- available: boolean;
2556
- valid: boolean;
2557
- };
2558
- type PrincipalAliasResponse = {
2559
- principalId: number;
2560
- };
2561
- type NewUser = {
2562
- email: string;
2563
- userName?: string;
2564
- firstName?: string;
2565
- lastName?: string;
2566
- encodedMembershipInvtnSignedToken?: string;
2567
- };
2568
- type AccountSetupInfo = {
2569
- username: string;
2570
- password: string;
2571
- firstName?: string;
2572
- lastName?: string;
2573
- emailValidationSignedToken?: EmailValidationSignedToken;
2574
- };
2575
- type EmailValidationSignedToken = {
2576
- concreteType: string;
2577
- hmac: string;
2578
- version: number;
2579
- expiresOn: string;
2580
- createdOn: string;
2581
- email: string;
2582
- userId: string;
2583
- };
2584
-
2585
- type ProjectHeaderList = {
2586
- results: Array<ProjectHeader>;
2587
- nextPageToken?: string | null;
2588
- };
2589
- type ProjectHeader = {
2590
- name: string;
2591
- id: string;
2592
- lastActivity: string;
2593
- modifiedOn: string;
2594
- modifiedBy: number;
2595
- };
2596
-
2597
- type Reference = {
2598
- targetId: string;
2599
- targetVersionNumber?: number;
2600
- };
2601
- type ReferenceList = Reference[];
2602
-
2603
- /**
2604
- * http://rest-docs.synapse.org/rest/org/sagebionetworks/repo/model/provenance/Used.html
2605
- */
2606
- interface Used {
2607
- wasExecuted: boolean;
2608
- concreteType: USED_URL_CONCRETE_TYPE | USED_ENTITY_CONCRETE_TYPE;
2609
- }
2610
- declare const USED_URL_CONCRETE_TYPE_VALUE = "org.sagebionetworks.repo.model.provenance.UsedURL";
2611
- type USED_URL_CONCRETE_TYPE = typeof USED_URL_CONCRETE_TYPE_VALUE;
2612
- /**
2613
- * http://rest-docs.synapse.org/rest/org/sagebionetworks/repo/model/provenance/UsedURL.html
2614
- */
2615
- interface UsedURL extends Used {
2616
- concreteType: USED_URL_CONCRETE_TYPE;
2617
- name: string;
2618
- url: string;
2619
- }
2620
- declare const USED_ENTITY_CONCRETE_TYPE_VALUE = "org.sagebionetworks.repo.model.provenance.UsedEntity";
2621
- type USED_ENTITY_CONCRETE_TYPE = typeof USED_ENTITY_CONCRETE_TYPE_VALUE;
2622
- /**
2623
- * http://rest-docs.synapse.org/rest/org/sagebionetworks/repo/model/provenance/UsedEntity.html
2624
- */
2625
- interface UsedEntity extends Used {
2626
- concreteType: USED_ENTITY_CONCRETE_TYPE;
2627
- reference: Reference;
2628
- }
2629
- /**
2630
- * http://rest-docs.synapse.org/rest/org/sagebionetworks/repo/model/provenance/Activity.html
2631
- */
2632
- type Activity = {
2633
- id: string;
2634
- name: string;
2635
- description?: string;
2636
- etag: string;
2637
- createdOn: string;
2638
- modifiedOn: string;
2639
- createdBy: string;
2640
- modifiedBy: string;
2641
- used?: (UsedEntity | UsedURL)[];
2642
- };
2643
-
2644
- type ResponseMessage = {
2645
- message: string;
2646
- };
2647
-
2648
- type JsonSchemaVersionInfo = {
2649
- organizationId: string;
2650
- organizationName: string;
2651
- schemaId: string;
2652
- schemaName: string;
2653
- versionId: string;
2654
- $id: string;
2655
- semanticVersion?: string;
2656
- jsonSHA256Hex: string;
2657
- createdOn: string;
2658
- createdBy: string;
2659
- };
2660
- declare enum BoundObjectType {
2661
- entity = "entity"
2662
- }
2663
- type JsonSchemaObjectBinding = {
2664
- jsonSchemaVersionInfo: JsonSchemaVersionInfo;
2665
- objectId: number;
2666
- objectType: BoundObjectType;
2667
- createdOn: string;
2668
- createdBy: string;
2669
- };
2670
-
2671
- declare enum SchemaObjectType {
2672
- entity = "entity"
2673
- }
2674
-
2675
- type ValidationException = {
2676
- /** The JSON schema keyword which was violated. */
2677
- keyword: string;
2678
- /** A JSON Pointer denoting the path from the input document root to its fragment which caused the validation failure. */
2679
- pointerToViolation: string;
2680
- /** The description of the validation failure. */
2681
- message: string;
2682
- /** A JSON Pointer denoting the path from the schema JSON root to the violated keyword. */
2683
- schemaLocation: string;
2684
- /** An array of sub-exceptions. */
2685
- causingExceptions: Array<ValidationException>;
2686
- };
2687
- type ValidationResults = {
2688
- objectId: string;
2689
- objectType: SchemaObjectType;
2690
- objectEtag: string;
2691
- schema$id: string;
2692
- isValid: boolean;
2693
- validatedOn: string;
2694
- validationErrorMessage?: string;
2695
- allValidationMessages?: Array<string>;
2696
- validationException?: ValidationException;
2697
- };
2698
-
2699
- type SearchQuery = {
2700
- queryTerm?: string[];
2701
- booleanQuery?: KeyValue[];
2702
- rangeQuery?: KeyRange[];
2703
- facetOptions?: SearchFacetOption[];
2704
- returnFields?: string[];
2705
- start?: number;
2706
- size?: number;
2707
- };
2708
- type SearchResults = {
2709
- found: number;
2710
- start: number;
2711
- hits: Hit[];
2712
- facets: Facet[];
2713
- };
2714
- type KeyValue = {
2715
- key: string;
2716
- value: string;
2717
- not: boolean;
2718
- };
2719
- type KeyRange = {
2720
- key: string;
2721
- min: string;
2722
- max: string;
2723
- };
2724
- type SearchFacetOption = {
2725
- name: SearchFieldName;
2726
- maxResultCount: number;
2727
- sortType: SearchFacetSort;
2728
- };
2729
- declare enum SearchFieldName {
2730
- ID = "Id",
2731
- NAME = "Name",
2732
- DESCRIPTION = "Description",
2733
- ENTITY_TYPE = "EntityType",
2734
- MODIFIED_BY = "ModifiedBy",
2735
- MODIFIED_ON = "ModifiedOn",
2736
- CREATED_BY = "CreatedBy",
2737
- CREATED_ON = "CreatedOn",
2738
- CONSORTIUM = "Consortium",
2739
- DIAGNOSIS = "Diagnosis",
2740
- ORGAN = "Organ",
2741
- TISSUE = "Tissue"
2742
- }
2743
- declare enum SearchFacetSort {
2744
- ALPHA = "ALPHA",
2745
- COUNT = "COUNT"
2746
- }
2747
- type Hit = {
2748
- id: string;
2749
- etag: string;
2750
- name: string;
2751
- alias: string;
2752
- path: EntityPath;
2753
- description: string;
2754
- node_type: EntityType;
2755
- created_on: number;
2756
- modified_on: number;
2757
- created_by: string;
2758
- modified_by: string;
2759
- diagnosis: string;
2760
- tissue: string;
2761
- consortium: string;
2762
- organ: string;
2763
- };
2764
- type Facet = {
2765
- name: string;
2766
- type: FacetTypeNames;
2767
- min: number;
2768
- max: number;
2769
- constraints: FacetConstraint[];
2770
- };
2771
- declare enum FacetTypeNames {
2772
- LITERAL = "LITERAL",
2773
- DATE = "DATE",
2774
- CONTINUOUS = "CONTINUOUS"
2775
- }
2776
- type FacetConstraint = {
2777
- value: string;
2778
- count: number;
2779
- };
2780
-
2781
- declare const MEMBERSHIP_INVITATION_CONCRETE_TYPE_VALUE = "org.sagebionetworks.repo.model.MembershipInvtnSignedToken";
2782
- type MEMBERSHIP_INVITATION_CONCRETE_TYPE = typeof MEMBERSHIP_INVITATION_CONCRETE_TYPE_VALUE;
2783
- declare const JOIN_TEAM_CONCRETE_TYPE_VALUE = "org.sagebionetworks.repo.model.JoinTeamSignedToken";
2784
- type JOIN_TEAM_CONCRETE_TYPE = typeof JOIN_TEAM_CONCRETE_TYPE_VALUE;
2785
- declare const INVITEE_VERIFICATION_CONCRETE_TYPE_VALUE = "org.sagebionetworks.repo.model.InviteeVerificationSignedToken";
2786
- type INVITEE_VERIFICATION_CONCRETE_TYPE = typeof INVITEE_VERIFICATION_CONCRETE_TYPE_VALUE;
2787
- type SIGNED_TOKEN_CONCRETE_TYPE = JOIN_TEAM_CONCRETE_TYPE | INVITEE_VERIFICATION_CONCRETE_TYPE | MEMBERSHIP_INVITATION_CONCRETE_TYPE;
2788
-
2789
- interface SignedTokenInterface {
2790
- readonly hmac: string;
2791
- readonly version: number;
2792
- readonly expiresOn: string;
2793
- readonly createdOn: string;
2794
- readonly concreteType: SIGNED_TOKEN_CONCRETE_TYPE;
2795
- }
2796
-
2797
- interface InviteeVerificationSignedToken extends SignedTokenInterface {
2798
- readonly concreteType: INVITEE_VERIFICATION_CONCRETE_TYPE;
2799
- readonly inviteeId: string;
2800
- readonly membershipInvitationId: string;
2801
- }
2802
-
2803
- interface JoinTeamSignedToken extends SignedTokenInterface {
2804
- readonly concreteType: JOIN_TEAM_CONCRETE_TYPE;
2805
- readonly userId: string;
2806
- readonly teamId: string;
2807
- readonly memberId: string;
2808
- }
2809
- declare const isJoinTeamSignedToken: (object: {
2810
- concreteType: string;
2811
- }) => object is JoinTeamSignedToken;
2812
-
2813
- interface MembershipInvtnSignedToken extends SignedTokenInterface {
2814
- readonly concreteType: MEMBERSHIP_INVITATION_CONCRETE_TYPE;
2815
- readonly membershipInvitationId: string;
2816
- }
2817
- declare const isMembershipInvtnSignedToken: (object: {
2818
- concreteType: string;
2819
- }) => object is MembershipInvtnSignedToken;
2820
-
2821
- type ProjectFilesStatisticsRequest = {
2822
- concreteType: 'org.sagebionetworks.repo.model.statistics.ProjectFilesStatisticsRequest';
2823
- objectId: string;
2824
- fileDownloads: boolean;
2825
- fileUploads: boolean;
2826
- };
2827
- type ProjectFilesStatisticsResponse = {
2828
- objectId: string;
2829
- concreteType: 'org.sagebionetworks.repo.model.statistics.ProjectFilesStatisticsResponse';
2830
- fileDownloads: MonthlyFilesStatistics;
2831
- fileUploads: MonthlyFilesStatistics;
2832
- };
2833
- type MonthlyFilesStatistics = {
2834
- lastUpdatedOn: string;
2835
- months: FilesCountStatistics[];
2836
- };
2837
- type FilesCountStatistics = {
2838
- rangeStart: string;
2839
- rangeEnd: string;
2840
- filesCount: number;
2841
- usersCount: number;
2842
- };
2843
-
2844
- interface Topic {
2845
- objectId: string;
2846
- objectType: SubscriptionObjectType;
2847
- }
2848
- declare enum SubscriptionObjectType {
2849
- FORUM = "FORUM",
2850
- THREAD = "THREAD",
2851
- DATA_ACCESS_SUBMISSION = "DATA_ACCESS_SUBMISSION",
2852
- DATA_ACCESS_SUBMISSION_STATUS = "DATA_ACCESS_SUBMISSION_STATUS"
2853
- }
2854
- interface Subscription {
2855
- subscriptionId: string;
2856
- subscriberId: string;
2857
- objectId: string;
2858
- objectType: SubscriptionObjectType;
2859
- createdOn: string;
2860
- }
2861
- interface SubscriptionRequest {
2862
- objectType: SubscriptionObjectType;
2863
- idList: string[];
2864
- sortByType: SortByType;
2865
- sortDirection: SortDirection;
2866
- }
2867
- declare enum SortByType {
2868
- SUBSCRIPTION_ID = "SUBSCRIPTION_ID",
2869
- SUBSCRIBER_ID = "SUBSCRIBER_ID",
2870
- OBJECT_ID = "OBJECT_ID",
2871
- OBJECT_TYPE = "OBJECT_TYPE",
2872
- CREATED_ON = "CREATED_ON"
2873
- }
2874
- interface SubscriptionPagedResults {
2875
- results: Subscription[];
2876
- totalNumberOfResults: number;
2877
- }
2878
- interface SubscriberPagedResults {
2879
- subscribers: string[];
2880
- nextPageToken?: string;
2881
- }
2882
- /**
2883
- * Represents query parameters for https://rest-docs.synapse.org/rest/GET/subscription/all.html
2884
- */
2885
- type SubscriptionQuery = {
2886
- objectType: SubscriptionObjectType;
2887
- sortBy?: string;
2888
- sortDirection?: SortDirection;
2889
- };
2890
-
2891
- type SubmissionContributor = {
2892
- principalId: string;
2893
- createdOn?: string;
2894
- };
2895
-
2896
- type EvaluationSubmission = {
2897
- id?: string;
2898
- userId: string;
2899
- submitterAlias?: string;
2900
- evaluationId: string;
2901
- entityId: string;
2902
- entityBundleJSON?: string;
2903
- versionNumber: number;
2904
- dockerRepositoryName?: string;
2905
- dockerDigest?: string;
2906
- name?: string;
2907
- createdOn?: string;
2908
- teamId?: string;
2909
- contributors?: SubmissionContributor[];
2910
- };
2911
-
2912
- interface SubmissionInfoPageRequest {
2913
- accessRequirementId: string;
2914
- nextPageToken?: string;
2915
- }
2916
- interface SubmissionInfoPage {
2917
- results: SubmissionInfo[];
2918
- nextPageToken?: string;
2919
- }
2920
- interface SubmissionInfo {
2921
- institution: string;
2922
- projectLead: string;
2923
- intendedDataUseStatement: string;
2924
- modifiedOn: string;
2925
- submittedBy: string;
2926
- accessorChanges?: AccessorChange[];
2927
- }
2928
-
2929
- type SubmissionEligibility = {
2930
- isEligible: boolean;
2931
- isRegistered: boolean;
2932
- isQuotaFilled: boolean;
2933
- };
2934
- type MemberSubmissionEligibility = SubmissionEligibility & {
2935
- principalId: number;
2936
- hasConflictingSubmission: boolean;
2937
- };
2938
- type TeamSubmissionEligibility = {
2939
- teamId: string;
2940
- evaluationId: string;
2941
- teamEligibility: SubmissionEligibility;
2942
- membersEligibility: MemberSubmissionEligibility[];
2943
- eligibilityStateHash: number;
2944
- };
2945
-
2946
- type SynapseVersion = {
2947
- version: number;
2948
- };
2949
-
2950
- type UserGroupHeader = {
2951
- ownerId: string;
2952
- firstName?: string;
2953
- lastName?: string;
2954
- userName: string;
2955
- email?: string;
2956
- displayName?: string;
2957
- isIndividual: boolean;
2958
- };
2959
- type UserGroupHeaderResponse = {
2960
- list: UserGroupHeader[];
2961
- };
2962
- declare enum TYPE_FILTER {
2963
- USERS_ONLY = "USERS_ONLY",
2964
- TEAMS_ONLY = "TEAMS_ONLY",
2965
- ALL = "ALL"
2966
- }
2967
-
2968
- type TeamMember = {
2969
- /** The id of the Team. */
2970
- teamId: string;
2971
- /** JSON schema for UserHeader POJO. */
2972
- member: UserGroupHeader;
2973
- /** True iff the user is an administrator in the Team. */
2974
- isAdmin: boolean;
2975
- };
2976
- type MembershipRequest = {
2977
- id: string;
2978
- teamId: string;
2979
- userId: string;
2980
- message?: string;
2981
- expiresOn?: string;
2982
- createdOn: string;
2983
- createdBy: string;
2984
- };
2985
- type CreateMembershipRequestRequest = Pick<MembershipRequest, 'teamId' | 'userId' | 'message' | 'expiresOn'>;
2986
- type TeamMembershipStatus = {
2987
- teamId: string;
2988
- userId: string;
2989
- isMember: boolean;
2990
- hasOpenInvitation: boolean;
2991
- hasOpenRequest: boolean;
2992
- canJoin: boolean;
2993
- membershipApprovalRequired: boolean;
2994
- hasUnmetAccessRequirement: boolean;
2995
- canSendEmail: boolean;
2996
- };
2997
-
2998
- /**
2999
- * https://rest-docs.synapse.org/rest/org/sagebionetworks/repo/model/auth/TotpSecret.html
3000
- */
3001
- type TotpSecret = {
3002
- secretId: string;
3003
- secret: string;
3004
- alg: string;
3005
- digits: number;
3006
- period: number;
3007
- };
3008
- /**
3009
- * https://rest-docs.synapse.org/rest/org/sagebionetworks/repo/model/auth/TotpSecretActivationRequest.html
3010
- */
3011
- type TotpSecretActivationRequest = {
3012
- secretId: string;
3013
- totp: string;
3014
- };
3015
- type TwoFactorAuthStatus = {
3016
- status: 'ENABLED' | 'DISABLED';
3017
- };
3018
-
3019
- /**
3020
- * JSON schema for the TrashEntity POJO. A trashed entity is an entity in the trash can.
3021
- *
3022
- * https://rest-docs.synapse.org/rest/org/sagebionetworks/repo/model/TrashedEntity.html
3023
- */
3024
- type TrashedEntity = {
3025
- /** The id of the entity. */
3026
- entityId: string;
3027
- /** The name of this entity */
3028
- entityName: string;
3029
- /** Type of the Entity */
3030
- entityType: EntityType;
3031
- /** The ID of the user who deleted the entity. */
3032
- deletedByPrincipalId: string;
3033
- /** The date and time when the deletion occurred. */
3034
- deletedOn: string;
3035
- /** The ID of the original parent before deletion. */
3036
- originalParentId: string;
3037
- };
3038
-
3039
- /**
3040
- * Allows to disable two-factor authentication for the user account
3041
- *
3042
- * https://rest-docs.synapse.org/rest/org/sagebionetworks/repo/model/auth/TwoFactorAuthDisableRequest.html
3043
- */
3044
- type TwoFactorAuthDisableRequest = {
3045
- twoFaResetToken: TwoFactorAuthResetToken;
3046
- password?: string;
3047
- twoFaToken?: string;
3048
- };
3049
- /**
3050
- * Signed token containing the information necessary to reset 2fa for a user.
3051
- *
3052
- * https://rest-docs.synapse.org/rest/org/sagebionetworks/repo/model/auth/TwoFactorAuthResetToken.html
3053
- */
3054
- type TwoFactorAuthResetToken = {
3055
- concreteType: 'org.sagebionetworks.repo.model.auth.TwoFactorAuthResetToken';
3056
- hmac: string;
3057
- version: number;
3058
- expiresOn: string;
3059
- createdOn: string;
3060
- userId: number;
3061
- };
3062
-
3063
- /**
3064
- * A list of recovery codes that can be used as a backup in place of TOTPs when performing two factor authentication.
3065
- *
3066
- * https://rest-docs.synapse.org/rest/org/sagebionetworks/repo/model/auth/TwoFactorAuthRecoveryCodes.html
3067
- */
3068
- type TwoFactorAuthRecoveryCodes = {
3069
- codes: string[];
3070
- };
3071
-
3072
- /**
3073
- * Used to request a two fa reset token to be sent by email, can be requested with a twoFaToken returned by an authentication attempt.
3074
- *
3075
- * https://rest-docs.synapse.org/rest/org/sagebionetworks/repo/model/auth/TwoFactorAuthResetRequest.html
3076
- */
3077
- type TwoFactorAuthResetRequest = {
3078
- userId: number;
3079
- password?: string;
3080
- twoFaToken?: string;
3081
- twoFaResetEndpoint: string;
3082
- };
3083
-
3084
- type VerificationSubmission = {
3085
- id?: string;
3086
- createdOn?: string;
3087
- createdBy?: string;
3088
- firstName: string;
3089
- lastName: string;
3090
- emails: string[];
3091
- location: string;
3092
- company: string;
3093
- orcid: string;
3094
- stateHistory?: VerificationState[];
3095
- attachments: AttachmentMetadata[];
3096
- };
3097
- type VerificationState = {
3098
- createdOn: string;
3099
- createdBy: string;
3100
- state: VerificationStateEnum;
3101
- reason?: string;
3102
- notes?: string;
3103
- };
3104
- declare enum VerificationStateEnum {
3105
- SUBMITTED = "SUBMITTED",
3106
- APPROVED = "APPROVED",
3107
- REJECTED = "REJECTED",
3108
- SUSPENDED = "SUSPENDED"
3109
- }
3110
- type AttachmentMetadata = {
3111
- fileName: string;
3112
- id: string;
3113
- };
3114
-
3115
- type UserPreferenceInterface = {
3116
- name: string;
3117
- concreteType: string;
3118
- };
3119
- type UserPreferenceBoolean = {
3120
- name: string;
3121
- concreteType: string;
3122
- value: boolean;
3123
- };
3124
- type UserPreference = UserPreferenceInterface & UserPreferenceBoolean;
3125
-
3126
- type Settings = {
3127
- sendEmailNotifications: boolean;
3128
- markEmailedMessagesAsRead: boolean;
3129
- };
3130
- type NotificationEmail = {
3131
- email: string;
3132
- quarantineStatus?: {
3133
- reason: 'PERMANENT_BOUNCE' | 'TRANSIENT_BOUNCE' | 'COMPLAINT' | 'OTHER';
3134
- reasonDetails: string;
3135
- expiration: string;
3136
- };
3137
- };
3138
- type UserProfile = {
3139
- ownerId: string;
3140
- uri?: string;
3141
- etag?: string;
3142
- firstName: string;
3143
- lastName: string;
3144
- email?: string;
3145
- emails?: string[];
3146
- openIds?: string[];
3147
- userName: string;
3148
- displayName?: string;
3149
- rStudioUrl?: string;
3150
- summary?: string;
3151
- position?: string;
3152
- location?: string;
3153
- industry?: string;
3154
- company?: string;
3155
- profilePicureFileHandleId?: string;
3156
- url?: string;
3157
- teamName?: string;
3158
- notificationSettings?: Settings;
3159
- preferences?: UserPreference[];
3160
- createdOn?: string;
3161
- twoFactorAuthEnabled?: boolean;
3162
- clientPreSignedURL?: string;
3163
- };
3164
-
3165
- type UserBundle = {
3166
- userId: string;
3167
- userProfile?: UserProfile;
3168
- ORCID?: string;
3169
- verificationSubmission?: VerificationSubmission;
3170
- isCertified?: boolean;
3171
- isVerified?: boolean;
3172
- isACTMember?: boolean;
3173
- isARReviewer?: boolean;
3174
- };
3175
-
3176
- type UserGroupHeaderResponsePage = {
3177
- children: UserGroupHeader[];
3178
- prefixFilter?: string;
3179
- totalNumberOfResults?: number;
3180
- };
3181
-
3182
- type VersionInfo = {
3183
- id: string;
3184
- versionNumber: number;
3185
- versionLabel: string;
3186
- versionComment: string;
3187
- modifiedBy: string;
3188
- modifiedByPrincipalId: string;
3189
- modifiedOn: string;
3190
- isLatestVersion: boolean;
3191
- contentSize?: string;
3192
- contentMd5?: string;
3193
- };
3194
-
3195
- type WikiPage = {
3196
- attachmentFileHandleIds: string[];
3197
- createdBy: string;
3198
- createdOn: string;
3199
- etag: string;
3200
- id: string;
3201
- markdown: string;
3202
- modifiedBy: string;
3203
- modifiedOn: string;
3204
- title: string;
3205
- parentWikiId?: string;
3206
- };
3207
-
3208
- export { type ACCESS_REQUIREMENT_CONCRETE_TYPE, ACCESS_TYPE, type ACTAccessRequirement, type ACTAccessRequirementInterface, type ACTSubmissionStatus, type ACT_ACCESS_REQUIREMENT_CONCRETE_TYPE, ACT_ACCESS_REQUIREMENT_CONCRETE_TYPE_DISPLAY_VALUE, ACT_ACCESS_REQUIREMENT_CONCRETE_TYPE_VALUE, type ACT_ACCESS_REQUIREMENT_INTERFACE_CONCRETE_TYPE, ALL_ENTITY_BUNDLE_FIELDS, type AccessApproval, type AccessApprovalSearchRequest, type AccessApprovalSearchResponse, type AccessApprovalSearchResult, type AccessApprovalSearchSort, AccessApprovalSortField, type AccessCodeResponse, type AccessControlList, type AccessRequirement, type AccessRequirementSearchRequest, type AccessRequirementSearchResponse, type AccessRequirementSearchResult, type AccessRequirementSearchSort, type AccessRequirementStatus, type AccessTokenGenerationRequest, type AccessTokenGenerationResponse, type AccessTokenRecord, type AccessTokenRecordList, AccessType, type AccessorChange, type AccountSetupInfo, type Action, type ActionRequiredCount, type ActionRequiredList, type ActionRequiredRequest, type ActionRequiredResponse, type Activity, type AddBatchOfFilesToDownloadListRequest, type AddBatchOfFilesToDownloadListResponse, type AddFilesToDownloadListRequest, type AddFilesToDownloadListResponse, type AddPartResponse, type AddToDownloadListRequest, type AddToDownloadListResponse, type AliasCheckRequest, type AliasCheckResponse, AliasType, type Annotations, type AnnotationsValue, AnnotationsValueType, type AppendableRowSetRequest, ApprovalState, type AsyncJobId, type AsynchJobState, type AsynchronousJobStatus, type AttachmentMetadata, type AuthenticatedOn, type AvailableFilesRequest, type AvailableFilesResponse, type AvailableFilter, type BaseKeyUploadDestination, type BasicAccessRequirementStatus, type BatchFileRequest, type BatchFileResult, type BatchPresignedUploadUrlRequest, type BatchPresignedUploadUrlResponse, BoundObjectType, type BulkFileDownloadRequest, type BulkFileDownloadResponse, type CLOUD_PROVIDER_FILE_HANDLE_INTERFACE_CONCRETE_TYPE, type COLUMN_MULTI_VALUE_FUNCTION_QUERY_FILTER_CONCRETE_TYPE, COLUMN_MULTI_VALUE_FUNCTION_QUERY_FILTER_CONCRETE_TYPE_VALUE, type COLUMN_SINGLE_VALUE_QUERY_FILTER_CONCRETE_TYPE, COLUMN_SINGLE_VALUE_QUERY_FILTER_CONCRETE_TYPE_VALUE, type Challenge, type ChallengePagedResults, type ChallengeTeam, type ChallengeTeamPagedResults, type ChallengeWithProjectHeader, type ChallengeWithProjectHeaderPagedResults, type ChangePasswordInterface, type ChangePasswordWithCurrentPassword, type ChangePasswordWithToken, type ChangePasswordWithTwoFactorAuthToken, type CloudProviderFileHandleInterface, type ColumnChange, type ColumnModel, ColumnMultiValueFunction, type ColumnMultiValueFunctionQueryFilter, ColumnSingleValueFilterOperator, type ColumnSingleValueQueryFilter, type ColumnType, ColumnTypeEnum, type CommandListType, type CreateAccessApprovalRequest, type CreateChallengeTeamRequest, type CreateDiscussionReply, type CreateDiscussionThread, type CreateMembershipInvitationRequest, type CreateMembershipRequestRequest, type CreateSubmissionRequest, type CreateTeamRequest, type CsvTableDescriptor, type DATASET_COLLECTION_CONCRETE_TYPE, DATASET_COLLECTION_CONCRETE_TYPE_VALUE, type DATASET_CONCRETE_TYPE, DATASET_CONCRETE_TYPE_VALUE, type DOCKER_REPOSITORY_CONCRETE_TYPE, DOCKER_REPOSITORY_CONCRETE_TYPE_VALUE, type Dataset, type DatasetCollection, Direction, DiscussionFilter, type DiscussionReplyBundle, DiscussionReplyOrder, type DiscussionSearchRequest, type DiscussionSearchResponse, type DiscussionThreadBundle, DiscussionThreadOrder, type DockerCommit, type DockerRepository, type DoiAssociation, type DownloadFromTableRequest, type DownloadFromTableResult, type DownloadList, type DownloadListItem, type DownloadListItemResult, type DownloadListManifestRequest, type DownloadListManifestResponse, type DownloadListPackageRequest, type DownloadListPackageResponse, type DownloadListQueryRequest, type DownloadListQueryResponse, type DownloadListSortDirection, type DownloadOrder, type ENTITY_CONCRETE_TYPE, type ENTITY_VIEW_CONCRETE_TYPE, ENTITY_VIEW_CONCRETE_TYPE_VALUE, ENTITY_VIEW_TYPE_MASK_DATASET, ENTITY_VIEW_TYPE_MASK_DOCKER, ENTITY_VIEW_TYPE_MASK_FILE, ENTITY_VIEW_TYPE_MASK_FOLDER, ENTITY_VIEW_TYPE_MASK_PROJECT, ENTITY_VIEW_TYPE_MASK_SUBMISSIONVIEW, ENTITY_VIEW_TYPE_MASK_TABLE, ENTITY_VIEW_TYPE_MASK_VIEW, type EXTERNAL_FILE_HANDLE_CONCRETE_TYPE, EXTERNAL_FILE_HANDLE_CONCRETE_TYPE_VALUE, type EXTERNAL_FILE_HANDLE_INTERFACE_CONCRETE_TYPE, type EXTERNAL_GOOGLE_CLOUD_UPLOAD_DESTINATION_CONCRETE_TYPE, type EXTERNAL_OBJECT_STORE_FILE_HANDLE_CONCRETE_TYPE, EXTERNAL_OBJECT_STORE_FILE_HANDLE_CONCRETE_TYPE_VALUE, type EXTERNAL_S3_UPLOAD_DESTINATION_CONCRETE_TYPE, type EmailValidationSignedToken, type EnableTwoFa, type Entity, type EntityBundle, type EntityBundleRequest, type EntityChildrenRequest, type EntityChildrenResponse, type EntityHeader, type EntityId, type EntityJson, type EntityJsonValue, type EntityLookupRequest, type EntityPath, type EntityRef, type EntityRefCollectionView, EntityType, type EntityView, type ErrorResponse, ErrorResponseCode, type Evaluation, type EvaluationQueryRow, type EvaluationRound, type EvaluationRoundLimit, type EvaluationRoundLimitType, type EvaluationRoundListRequest, type EvaluationRoundListResponse, type EvaluationSubmission, type ExternalFileHandle, type ExternalFileHandleInterface, type ExternalGoogleCloudUploadDestination, type ExternalObjectStoreFileHandle, type ExternalObjectStoreUploadDestination, type ExternalS3UploadDestination, type ExternalUploadDestination, type FACET_COLUMN_RANGE_REQUEST_CONCRETE_TYPE, FACET_COLUMN_RANGE_REQUEST_CONCRETE_TYPE_VALUE, type FACET_COLUMN_VALUES_REQUEST_CONCRETE_TYPE, FACET_COLUMN_VALUES_REQUEST_CONCRETE_TYPE_VALUE, type FILE_ENTITY_CONCRETE_TYPE, FILE_ENTITY_CONCRETE_TYPE_VALUE, type FOLDER_CONCRETE_TYPE, FOLDER_CONCRETE_TYPE_VALUE, type Facet, type FacetColumnRangeRequest, type FacetColumnRequest, type FacetColumnResult, type FacetColumnResultRange, type FacetColumnResultValueCount, type FacetColumnResultValues, type FacetColumnValuesRequest, type FacetConstraint, type FacetType, FacetTypeNames, type FavoriteSortBy, type FavoriteSortDirection, FeatureFlagEnum, type FeatureFlags, FileDownloadCode, FileDownloadStatus, type FileDownloadSummary, type FileEntity, type FileHandle, FileHandleAssociateType, type FileHandleAssociation, type FileHandleResults, type FileResult, type FileUploadComplete, type FilesCountStatistics, type FilesStatisticsRequest, type FilesStatisticsResponse, type Folder, type FormChangeRequest, type FormData, type FormGroup, type FormRejection, type Forum, type GOOGLE_CLOUD_FILE_HANDLE_CONCRETE_TYPE, GOOGLE_CLOUD_FILE_HANDLE_CONCRETE_TYPE_VALUE, type GetEvaluationParameters, type GetProjectsParameters, type GoogleCloudFileHandle, type HasAccessResponse, type Hit, type INVITEE_VERIFICATION_CONCRETE_TYPE, INVITEE_VERIFICATION_CONCRETE_TYPE_VALUE, type InviteeVerificationSignedToken, type JOIN_TEAM_CONCRETE_TYPE, JOIN_TEAM_CONCRETE_TYPE_VALUE, type JoinTeamSignedToken, type JsonSchemaObjectBinding, type JsonSchemaVersionInfo, type JsonSubColumnModel, type KeyRange, type KeyValue, type KeyValuePair, type LINK_CONCRETE_TYPE, LINK_CONCRETE_TYPE_VALUE, type LOCK_ACCESS_REQUIREMENT_CONCRETE_TYPE, LOCK_ACCESS_REQUIREMENT_CONCRETE_TYPE_DISPLAY_VALUE, LOCK_ACCESS_REQUIREMENT_CONCRETE_TYPE_VALUE, type Link, type ListRequest, type ListResponse, type ListWrapper, type LockAccessRequirement, type LoginRequest, type LoginResponse, type MANAGED_ACT_ACCESS_REQUIREMENT_CONCRETE_TYPE, MANAGED_ACT_ACCESS_REQUIREMENT_CONCRETE_TYPE_DISPLAY_VALUE, MANAGED_ACT_ACCESS_REQUIREMENT_CONCRETE_TYPE_VALUE, MARKDOWN_COMMANDS_DATA, type MATERIALIZED_VIEW_CONCRETE_TYPE, MATERIALIZED_VIEW_CONCRETE_TYPE_VALUE, type MEMBERSHIP_INVITATION_CONCRETE_TYPE, MEMBERSHIP_INVITATION_CONCRETE_TYPE_VALUE, type MULTICHOICE_RESPONSE_CONCRETE_TYPE, MULTICHOICE_RESPONSE_CONCRETE_TYPE_VALUE, type ManagedACTAccessRequirement, type ManagedACTAccessRequirementStatus, type MarkdownEditorCommandData, type MarkdownEditorCommands, type Match, type MaterializedView, type MeetAccessRequirement, type MemberSubmissionEligibility, type MembershipInvitation, type MembershipInvtnSignedToken, type MembershipRequest, type MessageBundle, type MessageToUser, type MessageURL, type MonthlyFilesStatistics, type MultichoiceAnswer, type MultichoiceQuestion, type MultichoiceResponse, type MultipartUploadRequest, type MultipartUploadStatus, type NewUser, type NotificationEmail, type OAuthClient, type OAuthClientIdAndSecret, type OAuthClientList, type OAuthClientPublic, type OAuthClientVerificationPrecheckResult, type OAuthConsentGrantedResponse, type OIDCAuthorizationRequest, type OIDCAuthorizationRequestDescription, OIDCSigningAlgorithm, ObjectType, type PROJECT_CONCRETE_TYPE, PROJECT_CONCRETE_TYPE_VALUE, type PROXY_FILE_HANDLE_CONCRETE_TYPE, PROXY_FILE_HANDLE_CONCRETE_TYPE_VALUE, type PaginatedIds, type PaginatedResults, type PartPresignedUrl, type PartialRow, type PartialRowSet, type PassingRecord, type PasswordResetSignedToken, type PrincipalAliasRequest, type PrincipalAliasResponse, type Project, type ProjectFilesStatisticsRequest, type ProjectFilesStatisticsResponse, type ProjectHeader, type ProjectHeaderList, type ProxyFileHandle, type Query, type QueryBundleRequest, type QueryFilter, type QueryNextPageToken, type QueryRequestDetails, type QueryResponseDetails, type QueryResult, type QueryResultBundle, type QueryTableResults, type Question, type QuestionResponse, type Quiz, type QuizResponse, type Reference, type ReferenceList, type RemoveBatchOfFilesFromDownloadListRequest, type RemoveBatchOfFilesFromDownloadListResponse, type Renewal, type Request, type RequestDownload, type RequestInterface, type ResearchProject, type ResourceAccess, type ResponseCorrectness, type ResponseMessage, type RestrictableObjectDescriptor, RestrictableObjectType, type RestrictionFulfillment, type RestrictionInformationBatchRequest, type RestrictionInformationBatchResponse, type RestrictionInformationRequest, type RestrictionInformationResponse, RestrictionLevel, type Row, type RowSet, type S3FileHandle, type S3UploadDestination, type S3_FILE_HANDLE_CONCRETE_TYPE, S3_FILE_HANDLE_CONCRETE_TYPE_VALUE, type S3_UPLOAD_DESTINATION_CONCRETE_TYPE, type SELF_SIGN_ACCESS_REQUIREMENT_CONCRETE_TYPE, SELF_SIGN_ACCESS_REQUIREMENT_CONCRETE_TYPE_DISPLAY_VALUE, SELF_SIGN_ACCESS_REQUIREMENT_CONCRETE_TYPE_VALUE, type SELF_SIGN_ACCESS_REQUIREMENT_INTERFACE_CONCRETE_TYPE, type SIGNED_TOKEN_CONCRETE_TYPE, type SUBMISSION_VIEW_CONCRETE_TYPE, SUBMISSION_VIEW_CONCRETE_TYPE_VALUE, SchemaObjectType, type SearchFacetOption, SearchFacetSort, SearchFieldName, type SearchQuery, type SearchResults, type SelectColumn, type SelfSignAccessRequirement, type SelfSignAccessRequirementInterface, type Settings, type SignedTokenInterface, type SnapshotRequest, type Sort, SortBy, SortByType, type SortDirection, type SortField, type SortItem, StatusEnum, type StsUploadDestination, type Submission, type SubmissionContributor, type SubmissionEligibility, type SubmissionInfo, type SubmissionInfoPage, type SubmissionInfoPageRequest, type SubmissionPage, type SubmissionQuota, SubmissionReviewerFilterType, type SubmissionSearchRequest, type SubmissionSearchResponse, type SubmissionSearchResult, type SubmissionSearchSort, SubmissionSortField, SubmissionState, type SubmissionStateChangeRequest, type SubmissionStatus, type SubmissionView, type SubscriberPagedResults, type Subscription, SubscriptionObjectType, type SubscriptionPagedResults, type SubscriptionQuery, type SubscriptionRequest, type SumFileSizes, type SynapseVersion, type TABLE_CONCRETE_TYPE, TABLE_CONCRETE_TYPE_VALUES, type TABLE_ENTITY_CONCRETE_TYPE, TABLE_ENTITY_CONCRETE_TYPE_VALUE, type TERMS_OF_USE_ACCESS_REQUIREMENT_CONCRETE_TYPE, TERMS_OF_USE_ACCESS_REQUIREMENT_CONCRETE_TYPE_DISPLAY_VALUE, TERMS_OF_USE_ACCESS_REQUIREMENT_CONCRETE_TYPE_VALUE, type TEXT_MATCHES_QUERY_FILTER_CONCRETE_TYPE, TEXT_MATCHES_QUERY_FILTER_CONCRETE_TYPE_VALUE, TYPE_FILTER, type Table, type TableBundle, type TableEntity, type TableSchemaChangeRequest, type TableSchemaChangeResponse, type TableUpdateRequest, type TableUpdateResponse, type TableUpdateTransactionRequest, type TableUpdateTransactionResponse, type Team, type TeamMember, type TeamMembershipStatus, type TeamSubmissionEligibility, type TermsOfUseAccessRequirement, type TextMatchesQueryFilter, type Topic, type TotpSecret, type TotpSecretActivationRequest, type TrashedEntity, type TwoFactorAuthDisableRequest, type TwoFactorAuthErrorResponse, type TwoFactorAuthLoginRequest, type TwoFactorAuthOtpType, type TwoFactorAuthRecoveryCodes, type TwoFactorAuthResetRequest, type TwoFactorAuthResetToken, type TwoFactorAuthStatus, type USED_ENTITY_CONCRETE_TYPE, USED_ENTITY_CONCRETE_TYPE_VALUE, type USED_URL_CONCRETE_TYPE, USED_URL_CONCRETE_TYPE_VALUE, type UpdateDiscussionReply, type UpdateThreadMessageRequest, type UpdateThreadTitleRequest, type UploadCallbackResp, type UploadDestination, UploadType, type Used, type UsedEntity, type UsedURL, type UserBundle, type UserEntityPermissions, type UserEvaluationPermissions, type UserGroupHeader, type UserGroupHeaderResponse, type UserGroupHeaderResponsePage, type UserPreference, type UserPreferenceBoolean, type UserPreferenceInterface, type UserProfile, type VERSIONABLE_ENTITY_CONCRETE_TYPE, VERSIONABLE_ENTITY_CONCRETE_TYPE_VALUES, type VIEW_CONCRETE_TYPE, VIEW_CONCRETE_TYPE_VALUES, type VIRTUAL_TABLE_CONCRETE_TYPE, VIRTUAL_TABLE_CONCRETE_TYPE_VALUE, type ValidateDefiningSqlRequest, type ValidateDefiningSqlResponse, type ValidationException, type ValidationResults, type VerificationState, VerificationStateEnum, type VerificationSubmission, type VersionInfo, type Versionable, type VersionableEntity, type View, type ViewColumnModelRequest, type ViewColumnModelResponse, type ViewEntityType, type ViewScope, type VirtualTable, type WikiPage, type WikiPageKey, ZipFileFormat, commandList, isJoinTeamSignedToken, isMembershipInvtnSignedToken, scopeDescriptions };
1
+ export * from './AccessApproval';
2
+ export * from './AccessSubmission';
3
+ export * from './AccessCodeResponse';
4
+ export * from './AccessControlList';
5
+ export * from './AccessRequirement';
6
+ export * from './AccessToken';
7
+ export * from './ACCESS_TYPE';
8
+ export * from './AddFilesToDownloadListRequest';
9
+ export * from './AddFilesToDownloadListResponse';
10
+ export * from './AddPartResponse';
11
+ export * from './Annotations';
12
+ export * from './AuthenticatedOn';
13
+ export * from './BatchFileRequest';
14
+ export * from './BatchFileResult';
15
+ export * from './BatchPresignedUploadUrlRequest';
16
+ export * from './BatchPresignedUploadUrlResponse';
17
+ export * from './BulkFileDownloadRequest';
18
+ export * from './BulkFileDownloadResponse';
19
+ export * from './ChallengePagedResults';
20
+ export * from './ChangePasswordRequests';
21
+ export * from './Chat';
22
+ export * from './CertificationQuiz';
23
+ export * from './discussion';
24
+ export * from './docker';
25
+ export * from './Doi';
26
+ export * from './Download';
27
+ export * from './DownloadListV2';
28
+ export * from './Entity';
29
+ export * from './EntityBundle';
30
+ export * from './EntityChildren';
31
+ export * from './EntityHeader';
32
+ export * from './EntityId';
33
+ export * from './EntityLookupRequest';
34
+ export * from './ErrorResponse';
35
+ export * from './Evaluation';
36
+ export * from './EvaluationQueryTable';
37
+ export * from './FavoriteSortBy';
38
+ export * from './FeatureFlags';
39
+ export * from './File';
40
+ export * from './FileDownloadSummary';
41
+ export * from './FileHandleAssociation';
42
+ export * from './FileHandleResults';
43
+ export * from './FileResult';
44
+ export * from './FileUploadComplete';
45
+ export * from './Forms';
46
+ export * from './GetProjectsParams';
47
+ export * from './HasAccessResponse';
48
+ export * from './ListWrapper';
49
+ export * from './LoginRequest';
50
+ export * from './LoginResponse';
51
+ export * from './MarkdownCommands';
52
+ export * from './MembershipInvitation';
53
+ export * from './MessageBundle';
54
+ export * from './MessageToUser';
55
+ export * from './MessageUrl';
56
+ export * from './MultipartUploadRequest';
57
+ export * from './MultipartUploadStatus';
58
+ export * from './OAuthClient';
59
+ export * from './OAuthClientPublic';
60
+ export * from './OAuthConsentGrantedResponse';
61
+ export * from './ObjectType';
62
+ export * from './OIDCAuthorizationRequest';
63
+ export * from './OIDCAuthorizationRequestDescription';
64
+ export * from './PaginatedIds';
65
+ export * from './PaginatedResults';
66
+ export * from './PartPresignedUrl';
67
+ export * from './Principal';
68
+ export * from './ProjectHeader';
69
+ export * from './ProjectStorage';
70
+ export * from './Provenance';
71
+ export * from './ReferenceList';
72
+ export * from './ResourceAccess';
73
+ export * from './ResearchProject';
74
+ export * from './RestrictionInformation';
75
+ export * from './ResponseMessage';
76
+ export * from './Schema';
77
+ export * from './Search';
78
+ export * from './SignedToken';
79
+ export * from './Statistics';
80
+ export * from './Subscription';
81
+ export * from './EvaluationSubmission';
82
+ export * from './SubmissionInfo';
83
+ export * from './SubmissionContributor';
84
+ export * from './SubmissionEligibility';
85
+ export * from './SynapseVersion';
86
+ export * from './Table';
87
+ export * from './Team';
88
+ export * from './TeamMember';
89
+ export * from './TermsOfService';
90
+ export * from './TotpSecret';
91
+ export * from './TrashedEntity';
92
+ export * from './TwoFactorAuthDisableRequest';
93
+ export * from './TwoFactorAuthLoginRequest';
94
+ export * from './TwoFactorAuthRecoveryCodes';
95
+ export * from './TwoFactorAuthResetRequest';
96
+ export * from './UserBundle';
97
+ export * from './UserEntityPermissions';
98
+ export * from './UserGroupHeader';
99
+ export * from './UserGroupHeaderResponsePage';
100
+ export * from './UserPreference';
101
+ export * from './UserProfile';
102
+ export * from './VerificationSubmission';
103
+ export * from './VersionInfo';
104
+ export * from './WikiPage';
105
+ export * from './WikiPageKey';