@sage-bionetworks/synapse-types 0.0.3 → 0.0.4

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.
package/dist/index.d.mts CHANGED
@@ -106,7 +106,6 @@ type ACT_ACCESS_REQUIREMENT_CONCRETE_TYPE = typeof ACT_ACCESS_REQUIREMENT_CONCRE
106
106
  interface ACTAccessRequirement {
107
107
  versionNumber: number;
108
108
  id: number;
109
- description: string;
110
109
  name: string;
111
110
  etag: string;
112
111
  createdOn: string;
@@ -127,7 +126,6 @@ type MANAGED_ACT_ACCESS_REQUIREMENT_CONCRETE_TYPE = typeof MANAGED_ACT_ACCESS_RE
127
126
  type ManagedACTAccessRequirement = {
128
127
  versionNumber: number;
129
128
  id: number;
130
- description: string;
131
129
  name: string;
132
130
  etag: string;
133
131
  createdOn: string;
@@ -163,7 +161,6 @@ type LOCK_ACCESS_REQUIREMENT_CONCRETE_TYPE = typeof LOCK_ACCESS_REQUIREMENT_CONC
163
161
  type LockAccessRequirement = {
164
162
  versionNumber: number;
165
163
  id: number;
166
- description: string;
167
164
  name: string;
168
165
  etag: string;
169
166
  createdOn: string;
@@ -183,7 +180,6 @@ type SELF_SIGN_ACCESS_REQUIREMENT_CONCRETE_TYPE = typeof SELF_SIGN_ACCESS_REQUIR
183
180
  interface SelfSignAccessRequirement {
184
181
  versionNumber: number;
185
182
  id: number;
186
- description: string;
187
183
  name: string;
188
184
  etag: string;
189
185
  createdOn: string;
@@ -204,7 +200,6 @@ type TERMS_OF_USE_ACCESS_REQUIREMENT_CONCRETE_TYPE = typeof TERMS_OF_USE_ACCESS_
204
200
  interface TermsOfUseAccessRequirement {
205
201
  versionNumber: number;
206
202
  id: number;
207
- description: string;
208
203
  name: string;
209
204
  etag: string;
210
205
  createdOn: string;
@@ -242,6 +237,8 @@ interface AccessRequirementSearchRequest {
242
237
  sort?: AccessRequirementSearchSort[];
243
238
  /** A token used to get the next page of a particular search query. */
244
239
  nextPageToken?: string;
240
+ /** Optional filter by the access requirement fully qualified concrete type (e.g. org.sagebionetworks.repo.model.ManagedACTAccessRequirement) */
241
+ type?: string;
245
242
  }
246
243
  type AccessRequirementSearchResult = {
247
244
  /** The id of the AR */
@@ -309,6 +306,28 @@ type BasicAccessRequirementStatus = {
309
306
  expiredOn?: string;
310
307
  };
311
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
+
312
331
  declare enum RestrictableObjectType {
313
332
  ENTITY = "ENTITY",
314
333
  EVALUATION = "EVALUATION",
@@ -318,14 +337,30 @@ type RestrictionInformationRequest = {
318
337
  restrictableObjectType: RestrictableObjectType;
319
338
  objectId: string;
320
339
  };
340
+ type RestrictionInformationBatchRequest = {
341
+ restrictableObjectType: RestrictableObjectType;
342
+ objectIds: string[];
343
+ };
321
344
  declare enum RestrictionLevel {
322
345
  OPEN = "OPEN",
323
346
  RESTRICTED_BY_TERMS_OF_USE = "RESTRICTED_BY_TERMS_OF_USE",
324
347
  CONTROLLED_BY_ACT = "CONTROLLED_BY_ACT"
325
348
  }
349
+ type RestrictionFulfillment = {
350
+ accessRequirementId: number;
351
+ isApproved: boolean;
352
+ isMet: boolean;
353
+ isExempt: boolean;
354
+ };
326
355
  type RestrictionInformationResponse = {
356
+ objectId: number;
327
357
  restrictionLevel: RestrictionLevel;
328
358
  hasUnmetAccessRequirement: boolean;
359
+ userEntityPermissions?: UserEntityPermissions;
360
+ restrictionDetails: RestrictionFulfillment[];
361
+ };
362
+ type RestrictionInformationBatchResponse = {
363
+ restrictionInformation: RestrictionInformationResponse[];
329
364
  };
330
365
 
331
366
  /**
@@ -1970,27 +2005,6 @@ type RemoveBatchOfFilesFromDownloadListResponse = {
1970
2005
  numberOfFilesRemoved: number;
1971
2006
  };
1972
2007
 
1973
- type UserEntityPermissions = {
1974
- canView: boolean;
1975
- canEdit: boolean;
1976
- canMove: boolean;
1977
- canAddChild: boolean;
1978
- canCertifiedUserEdit: boolean;
1979
- canCertifiedUserAddChild: boolean;
1980
- isCertifiedUser: boolean;
1981
- canChangePermissions: boolean;
1982
- canChangeSettings: boolean;
1983
- canDelete: boolean;
1984
- canDownload: boolean;
1985
- canUpload: boolean;
1986
- canEnableInheritance: boolean;
1987
- ownerPrincipalId: number;
1988
- canPublicRead: boolean;
1989
- canModerate: boolean;
1990
- isCertificationRequired: boolean;
1991
- isEntityOpenData: boolean;
1992
- };
1993
-
1994
2008
  /**
1995
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.
1996
2010
  *
@@ -2003,11 +2017,11 @@ type _EntityBundle = {
2003
2017
  permissions: UserEntityPermissions;
2004
2018
  path: EntityPath;
2005
2019
  hasChildren: boolean;
2006
- accessControlList: AccessControlList;
2007
2020
  fileHandles: FileHandle[];
2008
2021
  benefactorAcl: AccessControlList;
2009
2022
  threadCount: number;
2010
2023
  restrictionInformation: RestrictionInformationResponse;
2024
+ accessControlList?: AccessControlList;
2011
2025
  tableBundle?: TableBundle;
2012
2026
  rootWikiId?: string;
2013
2027
  doiAssociation?: DoiAssociation;
@@ -2229,9 +2243,9 @@ type FavoriteSortDirection = 'ASC' | 'DESC';
2229
2243
  type FeatureFlags = Record<FeatureFlagEnum, boolean>;
2230
2244
  declare enum FeatureFlagEnum {
2231
2245
  DESCRIPTION_FIELD = "DESCRIPTION_FIELD",
2232
- CHANGE_PASSWORD_2FA_CHECK = "CHANGE_PASSWORD_2FA_CHECK",
2233
2246
  VIRTUALTABLE_SUPPORT = "VIRTUALTABLE_SUPPORT",
2234
- JSONSCHEMA_VALIDATION_STATUS = "JSONSCHEMA_VALIDATION_STATUS"
2247
+ JSONSCHEMA_VALIDATION_STATUS = "JSONSCHEMA_VALIDATION_STATUS",
2248
+ REACT_ENTITY_ACL_EDITOR = "REACT_ENTITY_ACL_EDITOR"
2235
2249
  }
2236
2250
 
2237
2251
  type FileHandleResults = {
@@ -3028,8 +3042,9 @@ type TrashedEntity = {
3028
3042
  * https://rest-docs.synapse.org/rest/org/sagebionetworks/repo/model/auth/TwoFactorAuthDisableRequest.html
3029
3043
  */
3030
3044
  type TwoFactorAuthDisableRequest = {
3031
- twoFaToken: string;
3032
3045
  twoFaResetToken: TwoFactorAuthResetToken;
3046
+ password?: string;
3047
+ twoFaToken?: string;
3033
3048
  };
3034
3049
  /**
3035
3050
  * Signed token containing the information necessary to reset 2fa for a user.
@@ -3061,7 +3076,8 @@ type TwoFactorAuthRecoveryCodes = {
3061
3076
  */
3062
3077
  type TwoFactorAuthResetRequest = {
3063
3078
  userId: number;
3064
- twoFaToken: string;
3079
+ password?: string;
3080
+ twoFaToken?: string;
3065
3081
  twoFaResetEndpoint: string;
3066
3082
  };
3067
3083
 
@@ -3189,4 +3205,4 @@ type WikiPage = {
3189
3205
  parentWikiId?: string;
3190
3206
  };
3191
3207
 
3192
- 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 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 };
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 };
package/dist/index.d.ts CHANGED
@@ -106,7 +106,6 @@ type ACT_ACCESS_REQUIREMENT_CONCRETE_TYPE = typeof ACT_ACCESS_REQUIREMENT_CONCRE
106
106
  interface ACTAccessRequirement {
107
107
  versionNumber: number;
108
108
  id: number;
109
- description: string;
110
109
  name: string;
111
110
  etag: string;
112
111
  createdOn: string;
@@ -127,7 +126,6 @@ type MANAGED_ACT_ACCESS_REQUIREMENT_CONCRETE_TYPE = typeof MANAGED_ACT_ACCESS_RE
127
126
  type ManagedACTAccessRequirement = {
128
127
  versionNumber: number;
129
128
  id: number;
130
- description: string;
131
129
  name: string;
132
130
  etag: string;
133
131
  createdOn: string;
@@ -163,7 +161,6 @@ type LOCK_ACCESS_REQUIREMENT_CONCRETE_TYPE = typeof LOCK_ACCESS_REQUIREMENT_CONC
163
161
  type LockAccessRequirement = {
164
162
  versionNumber: number;
165
163
  id: number;
166
- description: string;
167
164
  name: string;
168
165
  etag: string;
169
166
  createdOn: string;
@@ -183,7 +180,6 @@ type SELF_SIGN_ACCESS_REQUIREMENT_CONCRETE_TYPE = typeof SELF_SIGN_ACCESS_REQUIR
183
180
  interface SelfSignAccessRequirement {
184
181
  versionNumber: number;
185
182
  id: number;
186
- description: string;
187
183
  name: string;
188
184
  etag: string;
189
185
  createdOn: string;
@@ -204,7 +200,6 @@ type TERMS_OF_USE_ACCESS_REQUIREMENT_CONCRETE_TYPE = typeof TERMS_OF_USE_ACCESS_
204
200
  interface TermsOfUseAccessRequirement {
205
201
  versionNumber: number;
206
202
  id: number;
207
- description: string;
208
203
  name: string;
209
204
  etag: string;
210
205
  createdOn: string;
@@ -242,6 +237,8 @@ interface AccessRequirementSearchRequest {
242
237
  sort?: AccessRequirementSearchSort[];
243
238
  /** A token used to get the next page of a particular search query. */
244
239
  nextPageToken?: string;
240
+ /** Optional filter by the access requirement fully qualified concrete type (e.g. org.sagebionetworks.repo.model.ManagedACTAccessRequirement) */
241
+ type?: string;
245
242
  }
246
243
  type AccessRequirementSearchResult = {
247
244
  /** The id of the AR */
@@ -309,6 +306,28 @@ type BasicAccessRequirementStatus = {
309
306
  expiredOn?: string;
310
307
  };
311
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
+
312
331
  declare enum RestrictableObjectType {
313
332
  ENTITY = "ENTITY",
314
333
  EVALUATION = "EVALUATION",
@@ -318,14 +337,30 @@ type RestrictionInformationRequest = {
318
337
  restrictableObjectType: RestrictableObjectType;
319
338
  objectId: string;
320
339
  };
340
+ type RestrictionInformationBatchRequest = {
341
+ restrictableObjectType: RestrictableObjectType;
342
+ objectIds: string[];
343
+ };
321
344
  declare enum RestrictionLevel {
322
345
  OPEN = "OPEN",
323
346
  RESTRICTED_BY_TERMS_OF_USE = "RESTRICTED_BY_TERMS_OF_USE",
324
347
  CONTROLLED_BY_ACT = "CONTROLLED_BY_ACT"
325
348
  }
349
+ type RestrictionFulfillment = {
350
+ accessRequirementId: number;
351
+ isApproved: boolean;
352
+ isMet: boolean;
353
+ isExempt: boolean;
354
+ };
326
355
  type RestrictionInformationResponse = {
356
+ objectId: number;
327
357
  restrictionLevel: RestrictionLevel;
328
358
  hasUnmetAccessRequirement: boolean;
359
+ userEntityPermissions?: UserEntityPermissions;
360
+ restrictionDetails: RestrictionFulfillment[];
361
+ };
362
+ type RestrictionInformationBatchResponse = {
363
+ restrictionInformation: RestrictionInformationResponse[];
329
364
  };
330
365
 
331
366
  /**
@@ -1970,27 +2005,6 @@ type RemoveBatchOfFilesFromDownloadListResponse = {
1970
2005
  numberOfFilesRemoved: number;
1971
2006
  };
1972
2007
 
1973
- type UserEntityPermissions = {
1974
- canView: boolean;
1975
- canEdit: boolean;
1976
- canMove: boolean;
1977
- canAddChild: boolean;
1978
- canCertifiedUserEdit: boolean;
1979
- canCertifiedUserAddChild: boolean;
1980
- isCertifiedUser: boolean;
1981
- canChangePermissions: boolean;
1982
- canChangeSettings: boolean;
1983
- canDelete: boolean;
1984
- canDownload: boolean;
1985
- canUpload: boolean;
1986
- canEnableInheritance: boolean;
1987
- ownerPrincipalId: number;
1988
- canPublicRead: boolean;
1989
- canModerate: boolean;
1990
- isCertificationRequired: boolean;
1991
- isEntityOpenData: boolean;
1992
- };
1993
-
1994
2008
  /**
1995
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.
1996
2010
  *
@@ -2003,11 +2017,11 @@ type _EntityBundle = {
2003
2017
  permissions: UserEntityPermissions;
2004
2018
  path: EntityPath;
2005
2019
  hasChildren: boolean;
2006
- accessControlList: AccessControlList;
2007
2020
  fileHandles: FileHandle[];
2008
2021
  benefactorAcl: AccessControlList;
2009
2022
  threadCount: number;
2010
2023
  restrictionInformation: RestrictionInformationResponse;
2024
+ accessControlList?: AccessControlList;
2011
2025
  tableBundle?: TableBundle;
2012
2026
  rootWikiId?: string;
2013
2027
  doiAssociation?: DoiAssociation;
@@ -2229,9 +2243,9 @@ type FavoriteSortDirection = 'ASC' | 'DESC';
2229
2243
  type FeatureFlags = Record<FeatureFlagEnum, boolean>;
2230
2244
  declare enum FeatureFlagEnum {
2231
2245
  DESCRIPTION_FIELD = "DESCRIPTION_FIELD",
2232
- CHANGE_PASSWORD_2FA_CHECK = "CHANGE_PASSWORD_2FA_CHECK",
2233
2246
  VIRTUALTABLE_SUPPORT = "VIRTUALTABLE_SUPPORT",
2234
- JSONSCHEMA_VALIDATION_STATUS = "JSONSCHEMA_VALIDATION_STATUS"
2247
+ JSONSCHEMA_VALIDATION_STATUS = "JSONSCHEMA_VALIDATION_STATUS",
2248
+ REACT_ENTITY_ACL_EDITOR = "REACT_ENTITY_ACL_EDITOR"
2235
2249
  }
2236
2250
 
2237
2251
  type FileHandleResults = {
@@ -3028,8 +3042,9 @@ type TrashedEntity = {
3028
3042
  * https://rest-docs.synapse.org/rest/org/sagebionetworks/repo/model/auth/TwoFactorAuthDisableRequest.html
3029
3043
  */
3030
3044
  type TwoFactorAuthDisableRequest = {
3031
- twoFaToken: string;
3032
3045
  twoFaResetToken: TwoFactorAuthResetToken;
3046
+ password?: string;
3047
+ twoFaToken?: string;
3033
3048
  };
3034
3049
  /**
3035
3050
  * Signed token containing the information necessary to reset 2fa for a user.
@@ -3061,7 +3076,8 @@ type TwoFactorAuthRecoveryCodes = {
3061
3076
  */
3062
3077
  type TwoFactorAuthResetRequest = {
3063
3078
  userId: number;
3064
- twoFaToken: string;
3079
+ password?: string;
3080
+ twoFaToken?: string;
3065
3081
  twoFaResetEndpoint: string;
3066
3082
  };
3067
3083
 
@@ -3189,4 +3205,4 @@ type WikiPage = {
3189
3205
  parentWikiId?: string;
3190
3206
  };
3191
3207
 
3192
- 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 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 };
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 };
package/dist/index.js CHANGED
@@ -397,9 +397,9 @@ var ErrorResponseCode = /* @__PURE__ */ ((ErrorResponseCode2) => {
397
397
  // src/FeatureFlags.ts
398
398
  var FeatureFlagEnum = /* @__PURE__ */ ((FeatureFlagEnum2) => {
399
399
  FeatureFlagEnum2["DESCRIPTION_FIELD"] = "DESCRIPTION_FIELD";
400
- FeatureFlagEnum2["CHANGE_PASSWORD_2FA_CHECK"] = "CHANGE_PASSWORD_2FA_CHECK";
401
400
  FeatureFlagEnum2["VIRTUALTABLE_SUPPORT"] = "VIRTUALTABLE_SUPPORT";
402
401
  FeatureFlagEnum2["JSONSCHEMA_VALIDATION_STATUS"] = "JSONSCHEMA_VALIDATION_STATUS";
402
+ FeatureFlagEnum2["REACT_ENTITY_ACL_EDITOR"] = "REACT_ENTITY_ACL_EDITOR";
403
403
  return FeatureFlagEnum2;
404
404
  })(FeatureFlagEnum || {});
405
405
 
package/dist/index.mjs CHANGED
@@ -278,9 +278,9 @@ var ErrorResponseCode = /* @__PURE__ */ ((ErrorResponseCode2) => {
278
278
  // src/FeatureFlags.ts
279
279
  var FeatureFlagEnum = /* @__PURE__ */ ((FeatureFlagEnum2) => {
280
280
  FeatureFlagEnum2["DESCRIPTION_FIELD"] = "DESCRIPTION_FIELD";
281
- FeatureFlagEnum2["CHANGE_PASSWORD_2FA_CHECK"] = "CHANGE_PASSWORD_2FA_CHECK";
282
281
  FeatureFlagEnum2["VIRTUALTABLE_SUPPORT"] = "VIRTUALTABLE_SUPPORT";
283
282
  FeatureFlagEnum2["JSONSCHEMA_VALIDATION_STATUS"] = "JSONSCHEMA_VALIDATION_STATUS";
283
+ FeatureFlagEnum2["REACT_ENTITY_ACL_EDITOR"] = "REACT_ENTITY_ACL_EDITOR";
284
284
  return FeatureFlagEnum2;
285
285
  })(FeatureFlagEnum || {});
286
286
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sage-bionetworks/synapse-types",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "private": false,
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -23,7 +23,7 @@
23
23
  "devDependencies": {
24
24
  "rimraf": "^5.0.5",
25
25
  "tsup": "^8.0.2",
26
- "typescript": "5.4.2"
26
+ "typescript": "5.5.2"
27
27
  },
28
28
  "scripts": {
29
29
  "build": "rimraf ./dist && tsup ./src/index.ts --format esm,cjs --dts",