diff --git a/test-api-openbis-javascript/servers/common/core-plugins/tests/1/as/webapps/openbis-v3-api-test/html/test/common.js b/test-api-openbis-javascript/servers/common/core-plugins/tests/1/as/webapps/openbis-v3-api-test/html/test/common.js index 42a1cdd06c87fa6c1239de158ff426981bbb11a9..41ecc6d1a0ea4179f966fec3ffe69671f9cf82dc 100644 --- a/test-api-openbis-javascript/servers/common/core-plugins/tests/1/as/webapps/openbis-v3-api-test/html/test/common.js +++ b/test-api-openbis-javascript/servers/common/core-plugins/tests/1/as/webapps/openbis-v3-api-test/html/test/common.js @@ -1059,6 +1059,10 @@ define([ 'jquery', 'underscore'], function($, _) { this.assert.equal(actual, expected, msg); }; + this.assertDeepEqual = function(actual, expected, msg) { + this.assert.deepEqual(actual, expected, msg); + }; + this.assertNotEqual = function(actual, expected, msg) { this.assert.notEqual(actual, expected, msg); }; diff --git a/test-api-openbis-javascript/servers/common/core-plugins/tests/1/as/webapps/openbis-v3-api-test/html/test/main.js b/test-api-openbis-javascript/servers/common/core-plugins/tests/1/as/webapps/openbis-v3-api-test/html/test/main.js index edb37b4ea9ccde6baad7e72cabe9abb04bf4f30c..8e1644af6b7f40c3f6b8c2eaa0f3d83bcb9a0e07 100644 --- a/test-api-openbis-javascript/servers/common/core-plugins/tests/1/as/webapps/openbis-v3-api-test/html/test/main.js +++ b/test-api-openbis-javascript/servers/common/core-plugins/tests/1/as/webapps/openbis-v3-api-test/html/test/main.js @@ -18,6 +18,7 @@ define([ "test-compiled/test-dss-services", "test-compiled/test-archive-unarchive", "test-compiled/test-import-export", + "test-compiled/test-typescript", ], function () { var testSuites = arguments return async function () { diff --git a/test-api-openbis-javascript/servers/common/core-plugins/tests/1/as/webapps/openbis-v3-api-test/html/test/test-typescript.ts b/test-api-openbis-javascript/servers/common/core-plugins/tests/1/as/webapps/openbis-v3-api-test/html/test/test-typescript.ts new file mode 100644 index 0000000000000000000000000000000000000000..c09948a899ea4cc403f120dc29b85e8fc94b7121 --- /dev/null +++ b/test-api-openbis-javascript/servers/common/core-plugins/tests/1/as/webapps/openbis-v3-api-test/html/test/test-typescript.ts @@ -0,0 +1,184 @@ +import jquery from "./types/jquery" +import underscore from "./types/underscore" +import common from "./types/common" +import openbis from "./types/openbis.esm" + +exports.default = new Promise((resolve) => { + require(["jquery", "underscore", "openbis", "test/common", "test/dtos"], function ( + $: jquery.JQueryStatic, + _: underscore.UnderscoreStatic, + openbisRequireJS, + common: common.CommonConstructor, + dtos + ) { + var executeModule = function (moduleName: string, bundle: openbis.bundle) { + QUnit.module(moduleName) + + QUnit.test("create facade", async function (assert) { + try { + var c = new common(assert, bundle) + c.start() + + var facadeWithoutParameters: openbis.openbis = new bundle.openbis() + c.assertNotNull(await c.login(facadeWithoutParameters), "Session token") + + var facadeWithUrlParameter: openbis.openbis = new bundle.openbis("/openbis/openbis/rmi-application-server-v3.json") + c.assertNotNull(await c.login(facadeWithUrlParameter), "Session token") + + c.finish() + } catch (e) { + c.fail(e) + } + }) + + QUnit.test("get DSS facade", async function (assert) { + try { + var c = new common(assert, bundle) + c.start() + + var facade: openbis.openbis = new bundle.openbis() + + var dssFacadeWithoutCodes = facade.getDataStoreFacade() + var dssFacadeWithCodes = facade.getDataStoreFacade(["DSS1", "DSS2"]) + + c.assertNotNull(dssFacadeWithoutCodes) + c.assertNotNull(dssFacadeWithCodes) + + c.finish() + } catch (e) { + c.fail(e) + } + }) + + QUnit.test("use short and long names of classes", async function (assert) { + try { + var c = new common(assert, bundle) + c.start() + + var shortShort: openbis.SampleCreation = new bundle.SampleCreation() + var shortLong: openbis.SampleCreation = new bundle.as_dto_sample_create_SampleCreation() + var longShort: openbis.as_dto_sample_create_SampleCreation = new bundle.SampleCreation() + var longLong: openbis.as_dto_sample_create_SampleCreation = new bundle.as_dto_sample_create_SampleCreation() + + shortShort.setCreationId(new bundle.CreationId("shortShort")) + shortLong.setCreationId(new bundle.CreationId("shortLong")) + longShort.setCreationId(new bundle.CreationId("longShort")) + longLong.setCreationId(new bundle.CreationId("longLong")) + + c.assertTrue(true) + c.finish() + } catch (e) { + c.fail(e) + } + }) + + QUnit.test("use enums", async function (assert) { + try { + var c = new common(assert, bundle) + c.start() + + var shortShort: openbis.DataType = bundle.DataType.INTEGER + var shortLong: openbis.DataType = bundle.as_dto_property_DataType.INTEGER + var shortString: openbis.DataType = "INTEGER" + var longShort: openbis.as_dto_property_DataType = bundle.DataType.INTEGER + var longLong: openbis.as_dto_property_DataType = bundle.as_dto_property_DataType.INTEGER + var longString: openbis.as_dto_property_DataType = "INTEGER" + + var expected = "INTEGER" + c.assertEqual(shortShort, expected) + c.assertEqual(shortLong, expected) + c.assertEqual(shortString, expected) + c.assertEqual(longShort, expected) + c.assertEqual(longLong, expected) + c.assertEqual(longString, expected) + + c.assertTrue(true) + c.finish() + } catch (e) { + c.fail(e) + } + }) + + QUnit.test("use dates", async function (assert) { + try { + var c = new common(assert, bundle) + c.start() + + var fo = new bundle.SampleFetchOptions() + fo.withProperties() + var object = new bundle.Sample() + object.setFetchOptions(fo) + + var date: number = new Date().getTime() + + object.setRegistrationDate(date) + object.setTimestampProperty("TEST", date) + object.setTimestampArrayProperty("TEST_ARRAY", [date]) + object.setMultiValueTimestampProperty("TEST_MULTIVALUE", [date]) + object.setMultiValueTimestampArrayProperty("TEST_MULTIVALUE_ARRAY", [[date]]) + + var registrationDate: number = object.getRegistrationDate() + var propertyValue: number = object.getTimestampProperty("TEST") + var propertyArrayValue: number[] = object.getTimestampArrayProperty("TEST_ARRAY") + var propertyMultiValue: number[] = object.getMultiValueTimestampProperty("TEST_MULTIVALUE") + var propertyMultiArrayValue: number[][] = object.getMultiValueTimestampArrayProperty("TEST_MULTIVALUE_ARRAY") + + c.assertEqual(registrationDate, date) + c.assertEqual(propertyValue, date) + c.assertDeepEqual(propertyArrayValue, [date]) + c.assertDeepEqual(propertyMultiValue, [date]) + c.assertDeepEqual(propertyMultiArrayValue, [[date]]) + + c.finish() + } catch (e) { + c.fail(e) + } + }) + + QUnit.test("use generics", async function (assert) { + try { + var c = new common(assert, bundle) + c.start() + + var valueShort: openbis.AbstractValue<string> = { getValue: null, setValue: null } + var valueLong: openbis.as_dto_common_search_AbstractValue<string> = { getValue: null, setValue: null } + + c.assertNotNull(valueShort) + c.assertNotNull(valueLong) + + var searchShortShort: openbis.SearchObjectsOperationResult<openbis.Sample> = new bundle.SearchSamplesOperationResult( + new bundle.SearchResult<openbis.Sample>([], 0) + ) + + var searchShortLong: openbis.SearchObjectsOperationResult<openbis.Sample> = + new bundle.as_dto_common_search_SearchObjectsOperationResult( + new bundle.as_dto_common_search_SearchResult<openbis.as_dto_sample_Sample>([], 0) + ) + + var searchLongShort: openbis.as_dto_common_search_SearchObjectsOperationResult<openbis.as_dto_sample_Sample> = + new bundle.SearchSamplesOperationResult(new bundle.SearchResult<openbis.Sample>([], 0)) + + var searchLongLong: openbis.as_dto_common_search_SearchObjectsOperationResult<openbis.as_dto_sample_Sample> = + new bundle.as_dto_common_search_SearchObjectsOperationResult( + new bundle.as_dto_common_search_SearchResult<openbis.as_dto_sample_Sample>([], 0) + ) + + c.assertNotNull(searchShortShort) + c.assertNotNull(searchShortLong) + c.assertNotNull(searchLongShort) + c.assertNotNull(searchLongLong) + + c.finish() + } catch (e) { + c.fail(e) + } + }) + } + + resolve(function () { + executeModule("TypeScript tests (RequireJS)", Object.assign({}, dtos, { openbis: openbisRequireJS })) + executeModule("TypeScript tests (module VAR)", window.openbis) + executeModule("TypeScript tests (module ESM)", window.openbisESM) + }) + }) +}) diff --git a/test-api-openbis-javascript/servers/common/core-plugins/tests/1/as/webapps/openbis-v3-api-test/html/test/types/common.d.ts b/test-api-openbis-javascript/servers/common/core-plugins/tests/1/as/webapps/openbis-v3-api-test/html/test/types/common.d.ts index 1cf5f6bda91dcacb00edf60c3d5c33c6f8f60b77..66b5c75274c9376bfd618acb61aa8c16b7ac0aae 100644 --- a/test-api-openbis-javascript/servers/common/core-plugins/tests/1/as/webapps/openbis-v3-api-test/html/test/types/common.d.ts +++ b/test-api-openbis-javascript/servers/common/core-plugins/tests/1/as/webapps/openbis-v3-api-test/html/test/types/common.d.ts @@ -130,6 +130,7 @@ export namespace common { assertFalse(actual, msg?): void assertContains(actual, expected, msg?): void assertEqual(actual, expected, msg?): void + assertDeepEqual(actual, expected, msg?): void assertNotEqual(actual, expected, msg?): void assertDate(millis, msg, year, month, day, hour, minute): void assertToday(millis, msg?): void diff --git a/test-api-openbis-javascript/servers/common/core-plugins/tests/1/as/webapps/openbis-v3-api-test/html/test/types/openbis.esm.d.ts b/test-api-openbis-javascript/servers/common/core-plugins/tests/1/as/webapps/openbis-v3-api-test/html/test/types/openbis.esm.d.ts index b0e98cf73f3cd359db1be328b30c2eb752705e78..35894c80e7d4ba187a2a829a0a68783c01a298dd 100644 --- a/test-api-openbis-javascript/servers/common/core-plugins/tests/1/as/webapps/openbis-v3-api-test/html/test/types/openbis.esm.d.ts +++ b/test-api-openbis-javascript/servers/common/core-plugins/tests/1/as/webapps/openbis-v3-api-test/html/test/types/openbis.esm.d.ts @@ -1,6 +1,6 @@ /* tslint:disable */ /* eslint-disable */ -// Generated using typescript-generator version 3.2.1263 on 2024-01-29 11:05:53. +// Generated using typescript-generator version 3.2.1263 on 2024-01-29 15:38:52. export default openbis; @@ -30304,6 +30304,10 @@ SAMPLE : "SAMPLE"} as const export const openbis:OpenBISJavaScriptFacadeConstructor + type = CreateDataSetUploadResult + + type = OpenBISJavaScriptDSSFacade + type ArchivingStatus = typeof ArchivingStatus[keyof typeof ArchivingStatus] type Attribute = typeof Attribute[keyof typeof Attribute] @@ -30384,6 +30388,8 @@ SAMPLE : "SAMPLE"} as const type as_dto_attachment_id_AttachmentFileName = AttachmentFileName + type as_dto_attachment_id_IAttachmentId = IAttachmentId + type as_dto_attachment_update_AttachmentListUpdateValue = AttachmentListUpdateValue type as_dto_authorizationgroup_AuthorizationGroup = AuthorizationGroup @@ -30410,6 +30416,8 @@ SAMPLE : "SAMPLE"} as const type as_dto_authorizationgroup_id_AuthorizationGroupPermId = AuthorizationGroupPermId + type as_dto_authorizationgroup_id_IAuthorizationGroupId = IAuthorizationGroupId + type as_dto_authorizationgroup_search_AuthorizationGroupSearchCriteria = AuthorizationGroupSearchCriteria type as_dto_authorizationgroup_search_SearchAuthorizationGroupsOperation = SearchAuthorizationGroupsOperation @@ -30422,6 +30430,8 @@ SAMPLE : "SAMPLE"} as const type as_dto_authorizationgroup_update_UpdateAuthorizationGroupsOperationResult = UpdateAuthorizationGroupsOperationResult + type as_dto_common_ITableCell = ITableCell + type as_dto_common_Relationship = Relationship type as_dto_common_TableColumn = TableColumn @@ -30438,6 +30448,10 @@ SAMPLE : "SAMPLE"} as const type as_dto_common_create_CreateObjectsOperationResult<ID extends IObjectId> = CreateObjectsOperationResult<ID> + type as_dto_common_create_ICreation = ICreation + + type as_dto_common_create_IObjectCreation = IObjectCreation + type as_dto_common_delete_DeleteObjectsOperation<ID extends IObjectId,OPTIONS extends AbstractObjectDeletionOptions<OPTIONS>> = DeleteObjectsOperation<ID,OPTIONS> type as_dto_common_delete_DeleteObjectsOperationResult = DeleteObjectsOperationResult @@ -30488,14 +30502,96 @@ SAMPLE : "SAMPLE"} as const type as_dto_common_id_CreationId = CreationId + type as_dto_common_id_IObjectId = IObjectId + type as_dto_common_id_ObjectIdentifier = ObjectIdentifier type as_dto_common_id_ObjectPermId = ObjectPermId type as_dto_common_id_ObjectTechId = ObjectTechId + type as_dto_common_interfaces_IAttachmentsHolder = IAttachmentsHolder + + type as_dto_common_interfaces_ICodeHolder = ICodeHolder + + type as_dto_common_interfaces_ICreationIdHolder = ICreationIdHolder + + type as_dto_common_interfaces_IDataSetCodesHolder = IDataSetCodesHolder + + type as_dto_common_interfaces_IDataSetsHolder = IDataSetsHolder + + type as_dto_common_interfaces_IDescriptionHolder = IDescriptionHolder + + type as_dto_common_interfaces_IEntityType = IEntityType + + type as_dto_common_interfaces_IEntityTypeHolder = IEntityTypeHolder + + type as_dto_common_interfaces_IExperimentHolder = IExperimentHolder + + type as_dto_common_interfaces_IExperimentsHolder = IExperimentsHolder + + type as_dto_common_interfaces_IIdentifierHolder = IIdentifierHolder + + type as_dto_common_interfaces_ILabelHolder = ILabelHolder + + type as_dto_common_interfaces_IMaterialPropertiesHolder = IMaterialPropertiesHolder + + type as_dto_common_interfaces_IMaterialsHolder = IMaterialsHolder + + type as_dto_common_interfaces_IMetaDataUpdateHolder = IMetaDataUpdateHolder + + type as_dto_common_interfaces_IModificationDateHolder = IModificationDateHolder + + type as_dto_common_interfaces_IModifierHolder = IModifierHolder + + type as_dto_common_interfaces_INameHolder = INameHolder + + type as_dto_common_interfaces_IOwnerHolder = IOwnerHolder + + type as_dto_common_interfaces_IParentChildrenHolder<T extends any> = IParentChildrenHolder<T> + + type as_dto_common_interfaces_IPermIdHolder = IPermIdHolder + + type as_dto_common_interfaces_IProjectHolder = IProjectHolder + + type as_dto_common_interfaces_IProjectsHolder = IProjectsHolder + + type as_dto_common_interfaces_IPropertiesHolder = IPropertiesHolder + + type as_dto_common_interfaces_IPropertyAssignmentsHolder = IPropertyAssignmentsHolder + + type as_dto_common_interfaces_IPropertyTypeHolder = IPropertyTypeHolder + + type as_dto_common_interfaces_IRegistrationDateHolder = IRegistrationDateHolder + + type as_dto_common_interfaces_IRegistratorHolder = IRegistratorHolder + + type as_dto_common_interfaces_ISampleHolder = ISampleHolder + + type as_dto_common_interfaces_ISamplesHolder = ISamplesHolder + + type as_dto_common_interfaces_ISemanticAnnotationsHolder = ISemanticAnnotationsHolder + + type as_dto_common_interfaces_ISpaceHolder = ISpaceHolder + + type as_dto_common_interfaces_ITagsHolder = ITagsHolder + + type as_dto_common_interfaces_IValidationPluginHolder = IValidationPluginHolder + + type as_dto_common_operation_IOperation = IOperation + + type as_dto_common_operation_IOperationExecutionError = IOperationExecutionError + + type as_dto_common_operation_IOperationExecutionProgress = IOperationExecutionProgress + + type as_dto_common_operation_IOperationResult = as_dto_common_operation_IOperationResult + type as_dto_common_search_AbstractCompositeSearchCriteria = AbstractCompositeSearchCriteria + type as_dto_common_search_AbstractDateObjectValue = AbstractDateObjectValue + + type as_dto_common_search_AbstractDateValue = AbstractDateValue + type as_dto_common_search_AbstractEntitySearchCriteria<ID extends IObjectId> = AbstractEntitySearchCriteria<ID> type as_dto_common_search_AbstractFieldSearchCriteria<T extends any> = AbstractFieldSearchCriteria<T> @@ -30506,20 +30602,44 @@ SAMPLE : "SAMPLE"} as const type as_dto_common_search_AbstractSearchCriteria = AbstractSearchCriteria + type as_dto_common_search_AbstractStringValue = AbstractStringValue + + type as_dto_common_search_AbstractValue<T extends any> = AbstractValue<T> + + type as_dto_common_search_AnyBooleanPropertySearchCriteria = AnyBooleanPropertySearchCriteria + + type as_dto_common_search_AnyDatePropertySearchCriteria = AnyDatePropertySearchCriteria + + type as_dto_common_search_AnyFieldSearchCriteria = AnyFieldSearchCriteria + + type as_dto_common_search_AnyNumberPropertySearchCriteria = AnyNumberPropertySearchCriteria + + type as_dto_common_search_AnyPropertySearchCriteria = AnyPropertySearchCriteria + + type as_dto_common_search_AnyStringPropertySearchCriteria = AnyStringPropertySearchCriteria + type as_dto_common_search_AnyStringValue = AnyStringValue + type as_dto_common_search_BooleanFieldSearchCriteria = BooleanFieldSearchCriteria + + type as_dto_common_search_BooleanPropertySearchCriteria = BooleanPropertySearchCriteria + type as_dto_common_search_CodeSearchCriteria = CodeSearchCriteria type as_dto_common_search_CodesSearchCriteria = CodesSearchCriteria type as_dto_common_search_CollectionFieldSearchCriteria<T extends any> = CollectionFieldSearchCriteria<T> + type as_dto_common_search_ControlledVocabularyPropertySearchCriteria = ControlledVocabularyPropertySearchCriteria + type as_dto_common_search_DateEarlierThanOrEqualToValue = DateEarlierThanOrEqualToValue type as_dto_common_search_DateEarlierThanValue = DateEarlierThanValue type as_dto_common_search_DateEqualToValue = DateEqualToValue + type as_dto_common_search_DateFieldSearchCriteria = DateFieldSearchCriteria + type as_dto_common_search_DateLaterThanOrEqualToValue = DateLaterThanOrEqualToValue type as_dto_common_search_DateLaterThanValue = DateLaterThanValue @@ -30534,8 +30654,20 @@ SAMPLE : "SAMPLE"} as const type as_dto_common_search_DateObjectLaterThanValue = DateObjectLaterThanValue + type as_dto_common_search_DatePropertySearchCriteria = DatePropertySearchCriteria + type as_dto_common_search_DescriptionSearchCriteria = DescriptionSearchCriteria + type as_dto_common_search_EnumFieldSearchCriteria<T> = EnumFieldSearchCriteria<T> + + type as_dto_common_search_IDate = IDate + + type as_dto_common_search_IDateFormat = IDateFormat + + type as_dto_common_search_ISearchCriteria = ISearchCriteria + + type as_dto_common_search_ITimeZone = ITimeZone + type as_dto_common_search_IdSearchCriteria<T extends IObjectId> = IdSearchCriteria<T> type as_dto_common_search_IdentifierSearchCriteria = IdentifierSearchCriteria @@ -30544,12 +30676,16 @@ SAMPLE : "SAMPLE"} as const type as_dto_common_search_LongDateFormat = LongDateFormat + type as_dto_common_search_ModificationDateSearchCriteria = ModificationDateSearchCriteria + type as_dto_common_search_NameSearchCriteria = NameSearchCriteria type as_dto_common_search_NormalDateFormat = NormalDateFormat type as_dto_common_search_NumberEqualToValue = NumberEqualToValue + type as_dto_common_search_NumberFieldSearchCriteria = NumberFieldSearchCriteria + type as_dto_common_search_NumberGreaterThanOrEqualToValue = NumberGreaterThanOrEqualToValue type as_dto_common_search_NumberGreaterThanValue = NumberGreaterThanValue @@ -30558,6 +30694,8 @@ SAMPLE : "SAMPLE"} as const type as_dto_common_search_NumberLessThanValue = NumberLessThanValue + type as_dto_common_search_NumberPropertySearchCriteria = NumberPropertySearchCriteria + type as_dto_common_search_PermIdSearchCriteria = PermIdSearchCriteria type as_dto_common_search_RegistrationDateSearchCriteria = RegistrationDateSearchCriteria @@ -30578,10 +30716,16 @@ SAMPLE : "SAMPLE"} as const type as_dto_common_search_ShortDateFormat = ShortDateFormat + type as_dto_common_search_StrictlyStringPropertySearchCriteria = StrictlyStringPropertySearchCriteria + type as_dto_common_search_StringContainsExactlyValue = StringContainsExactlyValue type as_dto_common_search_StringContainsValue = StringContainsValue + type as_dto_common_search_StringEndsWithValue = StringEndsWithValue + + type as_dto_common_search_StringEqualToValue = StringEqualToValue + type as_dto_common_search_StringFieldSearchCriteria = StringFieldSearchCriteria type as_dto_common_search_StringGreaterThanOrEqualToValue = StringGreaterThanOrEqualToValue @@ -30594,6 +30738,8 @@ SAMPLE : "SAMPLE"} as const type as_dto_common_search_StringMatchesValue = StringMatchesValue + type as_dto_common_search_StringPropertySearchCriteria = StringPropertySearchCriteria + type as_dto_common_search_StringStartsWithValue = StringStartsWithValue type as_dto_common_search_TechIdSearchCriteria = TechIdSearchCriteria @@ -30604,6 +30750,10 @@ SAMPLE : "SAMPLE"} as const type as_dto_common_update_FieldUpdateValue<T extends any> = FieldUpdateValue<T> + type as_dto_common_update_IObjectUpdate<ID extends IObjectId> = IObjectUpdate<ID> + + type as_dto_common_update_IUpdate = IUpdate + type as_dto_common_update_IdListUpdateValue<T extends any> = IdListUpdateValue<T> type as_dto_common_update_ListUpdateAction<T extends any> = ListUpdateAction<T> @@ -30728,6 +30878,16 @@ SAMPLE : "SAMPLE"} as const type as_dto_dataset_id_FileFormatTypePermId = FileFormatTypePermId + type as_dto_dataset_id_IContentCopyId = IContentCopyId + + type as_dto_dataset_id_IDataSetId = IDataSetId + + type as_dto_dataset_id_IFileFormatTypeId = IFileFormatTypeId + + type as_dto_dataset_id_ILocatorTypeId = ILocatorTypeId + + type as_dto_dataset_id_IStorageFormatId = IStorageFormatId + type as_dto_dataset_id_LocatorTypePermId = LocatorTypePermId type as_dto_dataset_id_ProprietaryStorageFormatPermId = ProprietaryStorageFormatPermId @@ -30742,6 +30902,8 @@ SAMPLE : "SAMPLE"} as const type as_dto_dataset_lock_LockDataSetsOperationResult = LockDataSetsOperationResult + type as_dto_dataset_search_AbstractDataSetSearchCriteria<T extends AbstractDataSetSearchCriteria<T>> = AbstractDataSetSearchCriteria<T> + type as_dto_dataset_search_ArchivingRequestedSearchCriteria = ArchivingRequestedSearchCriteria type as_dto_dataset_search_CompleteSearchCriteria = CompleteSearchCriteria @@ -30762,6 +30924,8 @@ SAMPLE : "SAMPLE"} as const type as_dto_dataset_search_ExternalCodeSearchCriteria = ExternalCodeSearchCriteria + type as_dto_dataset_search_ExternalDmsSearchCriteria = as_dto_dataset_search_ExternalDmsSearchCriteria + type as_dto_dataset_search_FileFormatTypeSearchCriteria = FileFormatTypeSearchCriteria type as_dto_dataset_search_GitCommitHashSearchCriteria = GitCommitHashSearchCriteria @@ -30838,6 +31002,8 @@ SAMPLE : "SAMPLE"} as const type as_dto_datastore_id_DataStorePermId = DataStorePermId + type as_dto_datastore_id_IDataStoreId = IDataStoreId + type as_dto_datastore_search_DataStoreSearchCriteria = DataStoreSearchCriteria type as_dto_datastore_search_SearchDataStoresOperation = SearchDataStoresOperation @@ -30862,6 +31028,8 @@ SAMPLE : "SAMPLE"} as const type as_dto_deletion_id_DeletionTechId = DeletionTechId + type as_dto_deletion_id_IDeletionId = IDeletionId + type as_dto_deletion_revert_RevertDeletionsOperation = RevertDeletionsOperation type as_dto_deletion_revert_RevertDeletionsOperationResult = RevertDeletionsOperationResult @@ -30882,18 +31050,24 @@ SAMPLE : "SAMPLE"} as const type as_dto_entitytype_EntityKind = typeof as_dto_entitytype_EntityKind[keyof typeof as_dto_entitytype_EntityKind] + type as_dto_entitytype_create_IEntityTypeCreation = IEntityTypeCreation + type as_dto_entitytype_fetchoptions_EntityTypeFetchOptions = EntityTypeFetchOptions type as_dto_entitytype_fetchoptions_EntityTypeSortOptions = EntityTypeSortOptions type as_dto_entitytype_id_EntityTypePermId = EntityTypePermId + type as_dto_entitytype_id_IEntityTypeId = IEntityTypeId + type as_dto_entitytype_search_AbstractEntityTypeSearchCriteria = AbstractEntityTypeSearchCriteria type as_dto_entitytype_search_EntityKindSearchCriteria = EntityKindSearchCriteria type as_dto_entitytype_search_EntityTypeSearchCriteria = EntityTypeSearchCriteria + type as_dto_entitytype_update_IEntityTypeUpdate = IEntityTypeUpdate + type as_dto_entitytype_update_PropertyAssignmentListUpdateValue = PropertyAssignmentListUpdateValue type as_dto_event_EntityType = typeof as_dto_event_EntityType[keyof typeof as_dto_event_EntityType] @@ -30908,6 +31082,8 @@ SAMPLE : "SAMPLE"} as const type as_dto_event_id_EventTechId = EventTechId + type as_dto_event_id_IEventId = IEventId + type as_dto_event_search_EventDescriptionSearchCriteria = EventDescriptionSearchCriteria type as_dto_event_search_EventEntityProjectIdSearchCriteria = EventEntityProjectIdSearchCriteria @@ -30986,6 +31162,8 @@ SAMPLE : "SAMPLE"} as const type as_dto_experiment_id_ExperimentPermId = ExperimentPermId + type as_dto_experiment_id_IExperimentId = IExperimentId + type as_dto_experiment_search_ExperimentSearchCriteria = ExperimentSearchCriteria type as_dto_experiment_search_ExperimentTypeSearchCriteria = ExperimentTypeSearchCriteria @@ -31028,6 +31206,8 @@ SAMPLE : "SAMPLE"} as const type as_dto_exporter_data_ExportablePermId = ExportablePermId + type as_dto_exporter_data_IExportableFields = IExportableFields + type as_dto_exporter_data_SelectedFields = SelectedFields type as_dto_exporter_options_ExportFormat = typeof as_dto_exporter_options_ExportFormat[keyof typeof as_dto_exporter_options_ExportFormat] @@ -31062,8 +31242,12 @@ SAMPLE : "SAMPLE"} as const type as_dto_externaldms_id_ExternalDmsPermId = ExternalDmsPermId + type as_dto_externaldms_id_IExternalDmsId = IExternalDmsId + type as_dto_externaldms_search_AddressSearchCriteria = AddressSearchCriteria + type as_dto_externaldms_search_ExternalDmsSearchCriteria = as_dto_externaldms_search_ExternalDmsSearchCriteria + type as_dto_externaldms_search_ExternalDmsTypeSearchCriteria = ExternalDmsTypeSearchCriteria type as_dto_externaldms_search_LabelSearchCriteria = LabelSearchCriteria @@ -31104,6 +31288,8 @@ SAMPLE : "SAMPLE"} as const type as_dto_history_HistoryEntry = HistoryEntry + type as_dto_history_IRelationType = IRelationType + type as_dto_history_PropertyHistoryEntry = PropertyHistoryEntry type as_dto_history_RelationHistoryEntry = RelationHistoryEntry @@ -31118,6 +31304,8 @@ SAMPLE : "SAMPLE"} as const type as_dto_importer_ImportOperationResult = ImportOperationResult + type as_dto_importer_data_IImportData = IImportData + type as_dto_importer_data_ImportFormat = typeof as_dto_importer_data_ImportFormat[keyof typeof as_dto_importer_data_ImportFormat] type as_dto_importer_data_ImportScript = ImportScript @@ -31176,6 +31364,8 @@ SAMPLE : "SAMPLE"} as const type as_dto_material_get_GetMaterialsOperationResult = GetMaterialsOperationResult + type as_dto_material_id_IMaterialId = IMaterialId + type as_dto_material_id_MaterialPermId = MaterialPermId type as_dto_material_search_MaterialSearchCriteria = MaterialSearchCriteria @@ -31228,6 +31418,12 @@ SAMPLE : "SAMPLE"} as const type as_dto_operation_AsynchronousOperationExecutionResults = AsynchronousOperationExecutionResults + type as_dto_operation_IOperationExecutionNotification = IOperationExecutionNotification + + type as_dto_operation_IOperationExecutionOptions = IOperationExecutionOptions + + type as_dto_operation_IOperationExecutionResults = IOperationExecutionResults + type as_dto_operation_OperationExecution = OperationExecution type as_dto_operation_OperationExecutionAvailability = typeof as_dto_operation_OperationExecutionAvailability[keyof typeof as_dto_operation_OperationExecutionAvailability] @@ -31274,6 +31470,8 @@ SAMPLE : "SAMPLE"} as const type as_dto_operation_get_GetOperationExecutionsOperationResult = GetOperationExecutionsOperationResult + type as_dto_operation_id_IOperationExecutionId = IOperationExecutionId + type as_dto_operation_id_OperationExecutionPermId = OperationExecutionPermId type as_dto_operation_search_OperationExecutionSearchCriteria = OperationExecutionSearchCriteria @@ -31310,12 +31508,16 @@ SAMPLE : "SAMPLE"} as const type as_dto_pat_get_GetPersonalAccessTokensOperationResult = GetPersonalAccessTokensOperationResult + type as_dto_pat_id_IPersonalAccessTokenId = IPersonalAccessTokenId + type as_dto_pat_id_PersonalAccessTokenPermId = PersonalAccessTokenPermId type as_dto_pat_search_PersonalAccessTokenOwnerSearchCriteria = PersonalAccessTokenOwnerSearchCriteria type as_dto_pat_search_PersonalAccessTokenSearchCriteria = PersonalAccessTokenSearchCriteria + type as_dto_pat_search_PersonalAccessTokenSessionNameSearchCriteria = as_dto_pat_search_PersonalAccessTokenSessionNameSearchCriteria + type as_dto_pat_search_SearchPersonalAccessTokensOperation = SearchPersonalAccessTokensOperation type as_dto_pat_search_SearchPersonalAccessTokensOperationResult = SearchPersonalAccessTokensOperationResult @@ -31348,6 +31550,8 @@ SAMPLE : "SAMPLE"} as const type as_dto_person_get_GetPersonsOperationResult = GetPersonsOperationResult + type as_dto_person_id_IPersonId = IPersonId + type as_dto_person_id_Me = Me type as_dto_person_id_PersonPermId = PersonPermId @@ -31420,6 +31624,8 @@ SAMPLE : "SAMPLE"} as const type as_dto_plugin_get_GetPluginsOperationResult = GetPluginsOperationResult + type as_dto_plugin_id_IPluginId = IPluginId + type as_dto_plugin_id_PluginPermId = PluginPermId type as_dto_plugin_search_PluginKindSearchCriteria = PluginKindSearchCriteria @@ -31462,6 +31668,8 @@ SAMPLE : "SAMPLE"} as const type as_dto_project_history_ProjectRelationType = typeof as_dto_project_history_ProjectRelationType[keyof typeof as_dto_project_history_ProjectRelationType] + type as_dto_project_id_IProjectId = IProjectId + type as_dto_project_id_ProjectIdentifier = ProjectIdentifier type as_dto_project_id_ProjectPermId = ProjectPermId @@ -31514,6 +31722,10 @@ SAMPLE : "SAMPLE"} as const type as_dto_property_get_GetPropertyTypesOperationResult = GetPropertyTypesOperationResult + type as_dto_property_id_IPropertyAssignmentId = IPropertyAssignmentId + + type as_dto_property_id_IPropertyTypeId = IPropertyTypeId + type as_dto_property_id_PropertyAssignmentPermId = PropertyAssignmentPermId type as_dto_property_id_PropertyTypePermId = PropertyTypePermId @@ -31582,6 +31794,10 @@ SAMPLE : "SAMPLE"} as const type as_dto_query_get_GetQueryDatabasesOperationResult = GetQueryDatabasesOperationResult + type as_dto_query_id_IQueryDatabaseId = IQueryDatabaseId + + type as_dto_query_id_IQueryId = IQueryId + type as_dto_query_id_QueryDatabaseName = QueryDatabaseName type as_dto_query_id_QueryName = QueryName @@ -31650,6 +31866,8 @@ SAMPLE : "SAMPLE"} as const type as_dto_roleassignment_get_GetRoleAssignmentsOperationResult = GetRoleAssignmentsOperationResult + type as_dto_roleassignment_id_IRoleAssignmentId = IRoleAssignmentId + type as_dto_roleassignment_id_RoleAssignmentTechId = RoleAssignmentTechId type as_dto_roleassignment_search_RoleAssignmentSearchCriteria = RoleAssignmentSearchCriteria @@ -31704,10 +31922,14 @@ SAMPLE : "SAMPLE"} as const type as_dto_sample_history_SampleRelationType = typeof as_dto_sample_history_SampleRelationType[keyof typeof as_dto_sample_history_SampleRelationType] + type as_dto_sample_id_ISampleId = ISampleId + type as_dto_sample_id_SampleIdentifier = SampleIdentifier type as_dto_sample_id_SamplePermId = SamplePermId + type as_dto_sample_search_AbstractSampleSearchCriteria<T extends AbstractSampleSearchCriteria<T>> = AbstractSampleSearchCriteria<T> + type as_dto_sample_search_ListableSampleTypeSearchCriteria = ListableSampleTypeSearchCriteria type as_dto_sample_search_NoSampleContainerSearchCriteria = NoSampleContainerSearchCriteria @@ -31768,6 +31990,8 @@ SAMPLE : "SAMPLE"} as const type as_dto_semanticannotation_get_GetSemanticAnnotationsOperationResult = GetSemanticAnnotationsOperationResult + type as_dto_semanticannotation_id_ISemanticAnnotationId = ISemanticAnnotationId + type as_dto_semanticannotation_id_SemanticAnnotationPermId = SemanticAnnotationPermId type as_dto_semanticannotation_search_DescriptorAccessionIdSearchCriteria = DescriptorAccessionIdSearchCriteria @@ -31794,6 +32018,8 @@ SAMPLE : "SAMPLE"} as const type as_dto_semanticannotation_update_UpdateSemanticAnnotationsOperationResult = UpdateSemanticAnnotationsOperationResult + type as_dto_server_ServerInformation = ServerInformation + type as_dto_service_AggregationService = AggregationService type as_dto_service_CustomASService = CustomASService @@ -31810,6 +32036,8 @@ SAMPLE : "SAMPLE"} as const type as_dto_service_SearchDomainServiceSearchOption = SearchDomainServiceSearchOption + type as_dto_service_execute_AbstractExecutionOptionsWithParameters<EO extends as_dto_service_execute_AbstractExecutionOptionsWithParameters<EO, V>,V extends any> = as_dto_service_execute_AbstractExecutionOptionsWithParameters<EO,V> + type as_dto_service_execute_AggregationServiceExecutionOptions = AggregationServiceExecutionOptions type as_dto_service_execute_ExecuteAggregationServiceOperation = ExecuteAggregationServiceOperation @@ -31862,6 +32090,10 @@ SAMPLE : "SAMPLE"} as const type as_dto_service_id_DssServicePermId = DssServicePermId + type as_dto_service_id_ICustomASServiceId = ICustomASServiceId + + type as_dto_service_id_IDssServiceId = IDssServiceId + type as_dto_service_search_AggregationServiceSearchCriteria = AggregationServiceSearchCriteria type as_dto_service_search_CustomASServiceSearchCriteria = CustomASServiceSearchCriteria @@ -31902,8 +32134,12 @@ SAMPLE : "SAMPLE"} as const type as_dto_session_get_GetSessionInformationOperationResult = GetSessionInformationOperationResult + type as_dto_session_id_ISessionInformationId = ISessionInformationId + type as_dto_session_id_SessionInformationPermId = SessionInformationPermId + type as_dto_session_search_PersonalAccessTokenSessionNameSearchCriteria = as_dto_session_search_PersonalAccessTokenSessionNameSearchCriteria + type as_dto_session_search_PersonalAccessTokenSessionSearchCriteria = PersonalAccessTokenSessionSearchCriteria type as_dto_session_search_SearchSessionInformationOperation = SearchSessionInformationOperation @@ -31936,6 +32172,8 @@ SAMPLE : "SAMPLE"} as const type as_dto_space_get_GetSpacesOperationResult = GetSpacesOperationResult + type as_dto_space_id_ISpaceId = ISpaceId + type as_dto_space_id_SpacePermId = SpacePermId type as_dto_space_id_SpaceTechId = SpaceTechId @@ -31976,6 +32214,8 @@ SAMPLE : "SAMPLE"} as const type as_dto_tag_get_GetTagsOperationResult = GetTagsOperationResult + type as_dto_tag_id_ITagId = ITagId + type as_dto_tag_id_TagCode = TagCode type as_dto_tag_id_TagPermId = TagPermId @@ -32038,6 +32278,10 @@ SAMPLE : "SAMPLE"} as const type as_dto_vocabulary_get_GetVocabularyTermsOperationResult = GetVocabularyTermsOperationResult + type as_dto_vocabulary_id_IVocabularyId = IVocabularyId + + type as_dto_vocabulary_id_IVocabularyTermId = IVocabularyTermId + type as_dto_vocabulary_id_VocabularyPermId = VocabularyPermId type as_dto_vocabulary_id_VocabularyTermPermId = VocabularyTermPermId @@ -32078,6 +32322,8 @@ SAMPLE : "SAMPLE"} as const type as_dto_webapp_update_WebAppSettingsUpdateValue = WebAppSettingsUpdateValue + type dss_dto_common_operation_IOperationResult = dss_dto_common_operation_IOperationResult + type dss_dto_dataset_create_FullDataSetCreation = FullDataSetCreation type dss_dto_dataset_create_UploadedDataSetCreation = UploadedDataSetCreation @@ -32096,12 +32342,16 @@ SAMPLE : "SAMPLE"} as const type dss_dto_datasetfile_id_DataSetFilePermId = DataSetFilePermId + type dss_dto_datasetfile_id_IDataSetFileId = IDataSetFileId + type dss_dto_datasetfile_search_DataSetFileSearchCriteria = DataSetFileSearchCriteria type dss_dto_service_CustomDSSService = CustomDSSService type dss_dto_service_CustomDSSServiceExecutionOptions = CustomDSSServiceExecutionOptions + type dss_dto_service_execute_AbstractExecutionOptionsWithParameters<EO extends dss_dto_service_execute_AbstractExecutionOptionsWithParameters<EO, V>,V extends any> = dss_dto_service_execute_AbstractExecutionOptionsWithParameters<EO,V> + type dss_dto_service_execute_ExecuteCustomDSSServiceOperationResult = ExecuteCustomDSSServiceOperationResult type dss_dto_service_fetchoptions_CustomDSSServiceFetchOptions = CustomDSSServiceFetchOptions @@ -32110,6 +32360,8 @@ SAMPLE : "SAMPLE"} as const type dss_dto_service_id_CustomDssServiceCode = CustomDssServiceCode + type dss_dto_service_id_ICustomDSSServiceId = ICustomDSSServiceId + type openbis = OpenBISJavaScriptFacade }