@sage-bionetworks/synapse-types 0.0.13 → 0.0.14
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/AccessRequirement/JsonSchemaAccessRequirement.d.ts +2 -1
- package/dist/AccessRequirement/JsonSchemaAccessRequirement.js.map +1 -1
- package/dist/AccessRequirement/ManagedACTAccessRequirement.d.ts +2 -0
- package/dist/AccessRequirement/ManagedACTAccessRequirement.js.map +1 -1
- package/dist/AccessRequirement/Submission.d.ts +3 -0
- package/dist/DownloadListV2/ActionRequired.d.ts +7 -1
- package/dist/DownloadListV2/ActionRequired.js +0 -1
- package/dist/DownloadListV2/ActionRequired.js.map +1 -1
- package/dist/FileHandleAssociation.d.ts +2 -1
- package/dist/FileHandleAssociation.js +1 -0
- package/dist/FileHandleAssociation.js.map +1 -1
- package/dist/Table/QueryResultBundle.d.ts +2 -0
- package/package.json +3 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FormTemplateReference } from '@sage-bionetworks/synapse-client';
|
|
1
|
+
import { FormTemplateReference, IdentityProviderName } from '@sage-bionetworks/synapse-client';
|
|
2
2
|
import ACCESS_TYPE from '../ACCESS_TYPE';
|
|
3
3
|
import { RestrictableObjectDescriptor } from './RestrictableObjectDescriptor';
|
|
4
4
|
export declare const JSON_SCHEMA_ACCESS_REQUIREMENT_CONCRETE_TYPE_DISPLAY_VALUE = "JSON Schema";
|
|
@@ -28,5 +28,6 @@ export type JsonSchemaAccessRequirement = {
|
|
|
28
28
|
expirationPeriod: number;
|
|
29
29
|
isTwoFaRequired: boolean;
|
|
30
30
|
eDucTemplateId?: string;
|
|
31
|
+
identityProviders?: IdentityProviderName[];
|
|
31
32
|
formTemplateRef: FormTemplateReference;
|
|
32
33
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"JsonSchemaAccessRequirement.js","sourceRoot":"","sources":["../../src/AccessRequirement/JsonSchemaAccessRequirement.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"JsonSchemaAccessRequirement.js","sourceRoot":"","sources":["../../src/AccessRequirement/JsonSchemaAccessRequirement.ts"],"names":[],"mappings":"AAOA,MAAM,CAAC,MAAM,0DAA0D,GACrE,aAAa,CAAA;AACf,MAAM,CAAC,MAAM,kDAAkD,GAC7D,4DAA4D,CAAA"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { IdentityProviderName } from '@sage-bionetworks/synapse-client';
|
|
1
2
|
import { RestrictableObjectDescriptor } from './RestrictableObjectDescriptor';
|
|
2
3
|
import ACCESS_TYPE from '../ACCESS_TYPE';
|
|
3
4
|
export declare const MANAGED_ACT_ACCESS_REQUIREMENT_CONCRETE_TYPE_DISPLAY_VALUE = "Managed";
|
|
@@ -27,4 +28,5 @@ export type ManagedACTAccessRequirement = {
|
|
|
27
28
|
isIDURequired: boolean;
|
|
28
29
|
isTwoFaRequired: boolean;
|
|
29
30
|
eDucTemplateId?: string;
|
|
31
|
+
identityProviders?: IdentityProviderName[];
|
|
30
32
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ManagedACTAccessRequirement.js","sourceRoot":"","sources":["../../src/AccessRequirement/ManagedACTAccessRequirement.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ManagedACTAccessRequirement.js","sourceRoot":"","sources":["../../src/AccessRequirement/ManagedACTAccessRequirement.ts"],"names":[],"mappings":"AAIA,MAAM,CAAC,MAAM,0DAA0D,GACrE,SAAS,CAAA;AACX,MAAM,CAAC,MAAM,kDAAkD,GAC7D,4DAA4D,CAAA"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { FormTemplateReference } from '@sage-bionetworks/synapse-client';
|
|
1
2
|
import { ResearchProject } from '../ResearchProject';
|
|
2
3
|
import { RestrictableObjectType } from '../RestrictionInformation';
|
|
3
4
|
import { AccessorChange } from './AccessorChange';
|
|
@@ -41,6 +42,8 @@ export type Submission = {
|
|
|
41
42
|
rejectedReason?: string;
|
|
42
43
|
/** Additional data provided by the submitter, validated against the JSON Schema referenced by the Access Requirement's form template. */
|
|
43
44
|
schemaData?: Record<string, unknown>;
|
|
45
|
+
/** The FormTemplate id and version that the Access Requirement referenced at `accessRequirementVersion`: the template `schemaData` was validated against and should be rendered with. Snapshotted when the submission is created. Absent when the Access Requirement has no form template. */
|
|
46
|
+
formTemplateRef?: FormTemplateReference;
|
|
44
47
|
/** 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. */
|
|
45
48
|
etag: string;
|
|
46
49
|
/** 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. */
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import { IdentityProviderName } from '@sage-bionetworks/synapse-client';
|
|
2
|
+
export type Action = RequestDownload | MeetAccessRequirement | EnableTwoFa | AuthenticateWithIdentityProvider;
|
|
2
3
|
export type ActionRequiredCount = {
|
|
3
4
|
action: Action;
|
|
4
5
|
count: number;
|
|
@@ -18,3 +19,8 @@ export type EnableTwoFa = {
|
|
|
18
19
|
concreteType: 'org.sagebionetworks.repo.model.download.EnableTwoFa';
|
|
19
20
|
accessRequirementId: number;
|
|
20
21
|
};
|
|
22
|
+
export type AuthenticateWithIdentityProvider = {
|
|
23
|
+
concreteType: 'org.sagebionetworks.repo.model.download.AuthenticateWithIdentityProvider';
|
|
24
|
+
accessRequirementId: number;
|
|
25
|
+
identityProviders?: IdentityProviderName[];
|
|
26
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActionRequired.js","sourceRoot":"","sources":["../../src/DownloadListV2/ActionRequired.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ActionRequired.js","sourceRoot":"","sources":["../../src/DownloadListV2/ActionRequired.ts"],"names":[],"mappings":""}
|
|
@@ -10,7 +10,8 @@ export declare enum FileHandleAssociateType {
|
|
|
10
10
|
VerificationSubmission = "VerificationSubmission",
|
|
11
11
|
AccessRequirementAttachment = "AccessRequirementAttachment",
|
|
12
12
|
DataAccessRequestAttachment = "DataAccessRequestAttachment",
|
|
13
|
-
DataAccessSubmissionAttachment = "DataAccessSubmissionAttachment"
|
|
13
|
+
DataAccessSubmissionAttachment = "DataAccessSubmissionAttachment",
|
|
14
|
+
FormTemplateAttachment = "FormTemplateAttachment"
|
|
14
15
|
}
|
|
15
16
|
export type FileHandleAssociation = {
|
|
16
17
|
fileHandleId: string;
|
|
@@ -13,5 +13,6 @@ export var FileHandleAssociateType;
|
|
|
13
13
|
FileHandleAssociateType["AccessRequirementAttachment"] = "AccessRequirementAttachment";
|
|
14
14
|
FileHandleAssociateType["DataAccessRequestAttachment"] = "DataAccessRequestAttachment";
|
|
15
15
|
FileHandleAssociateType["DataAccessSubmissionAttachment"] = "DataAccessSubmissionAttachment";
|
|
16
|
+
FileHandleAssociateType["FormTemplateAttachment"] = "FormTemplateAttachment";
|
|
16
17
|
})(FileHandleAssociateType || (FileHandleAssociateType = {}));
|
|
17
18
|
//# sourceMappingURL=FileHandleAssociation.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FileHandleAssociation.js","sourceRoot":"","sources":["../src/FileHandleAssociation.ts"],"names":[],"mappings":"AAAA,qGAAqG;AACrG,MAAM,CAAN,IAAY,
|
|
1
|
+
{"version":3,"file":"FileHandleAssociation.js","sourceRoot":"","sources":["../src/FileHandleAssociation.ts"],"names":[],"mappings":"AAAA,qGAAqG;AACrG,MAAM,CAAN,IAAY,uBAcX;AAdD,WAAY,uBAAuB;IACjC,oDAAyB,CAAA;IACzB,sDAA2B,CAAA;IAC3B,4DAAiC,CAAA;IACjC,wDAA6B,CAAA;IAC7B,0EAA+C,CAAA;IAC/C,kEAAuC,CAAA;IACvC,4DAAiC,CAAA;IACjC,wEAA6C,CAAA;IAC7C,4EAAiD,CAAA;IACjD,sFAA2D,CAAA;IAC3D,sFAA2D,CAAA;IAC3D,4FAAiE,CAAA;IACjE,4EAAiD,CAAA;AACnD,CAAC,EAdW,uBAAuB,KAAvB,uBAAuB,QAclC"}
|
|
@@ -13,6 +13,8 @@ export interface QueryResultBundle {
|
|
|
13
13
|
columnModels?: ColumnModel[];
|
|
14
14
|
facets?: FacetColumnResult[];
|
|
15
15
|
facetPostProcessingApplied?: boolean;
|
|
16
|
+
queryCountPostProcessingApplied?: boolean;
|
|
17
|
+
suppressionThreshold?: number;
|
|
16
18
|
sumFileSizes?: SumFileSizes;
|
|
17
19
|
lastUpdatedOn?: string;
|
|
18
20
|
combinedSql?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sage-bionetworks/synapse-types",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.14",
|
|
4
4
|
"private": false,
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"README.md"
|
|
13
13
|
],
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@sage-bionetworks/synapse-client": "0.0.
|
|
15
|
+
"@sage-bionetworks/synapse-client": "0.0.27"
|
|
16
16
|
},
|
|
17
17
|
"repository": {
|
|
18
18
|
"type": "git",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"license": "Apache-2.0",
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@types/node": "^22.19.20",
|
|
27
|
-
"rimraf": "^6.1.
|
|
27
|
+
"rimraf": "^6.1.4",
|
|
28
28
|
"typescript": "6.0.3"
|
|
29
29
|
},
|
|
30
30
|
"scripts": {
|