@osdk/maker 0.13.0-beta.9 → 0.14.0-beta.2
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/CHANGELOG.md +91 -0
- package/README.md +55 -13
- package/build/browser/api/action/ActionLevelValidationDefinition.js +2 -0
- package/build/browser/api/action/ActionLevelValidationDefinition.js.map +1 -0
- package/build/browser/api/action/ActionParameter.js +2 -0
- package/build/browser/api/action/ActionParameter.js.map +1 -0
- package/build/browser/api/action/ActionParameterAllowedValues.js +2 -0
- package/build/browser/api/action/ActionParameterAllowedValues.js.map +1 -0
- package/build/browser/api/action/ActionParameterConditionalOverride.js +2 -0
- package/build/browser/api/action/ActionParameterConditionalOverride.js.map +1 -0
- package/build/browser/api/action/ActionParameterConfiguration.js +2 -0
- package/build/browser/api/action/ActionParameterConfiguration.js.map +1 -0
- package/build/browser/api/action/ActionParameterType.js +22 -0
- package/build/browser/api/action/ActionParameterType.js.map +1 -0
- package/build/browser/api/action/ActionSection.js +2 -0
- package/build/browser/api/action/ActionSection.js.map +1 -0
- package/build/browser/api/action/ActionStatus.js +2 -0
- package/build/browser/api/action/ActionStatus.js.map +1 -0
- package/build/browser/api/action/ActionType.js +2 -0
- package/build/browser/api/action/ActionType.js.map +1 -0
- package/build/browser/api/action/ActionValidationRule.js +2 -0
- package/build/browser/api/action/ActionValidationRule.js.map +1 -0
- package/build/browser/api/action/ConditionDefinition.js +2 -0
- package/build/browser/api/action/ConditionDefinition.js.map +1 -0
- package/build/browser/api/action/MappingValue.js +2 -0
- package/build/browser/api/action/MappingValue.js.map +1 -0
- package/build/browser/api/action/SectionConditionalOverride.js +2 -0
- package/build/browser/api/action/SectionConditionalOverride.js.map +1 -0
- package/build/browser/api/action/SubmissionMetadata.js +2 -0
- package/build/browser/api/action/SubmissionMetadata.js.map +1 -0
- package/build/browser/api/common/BlueprintIcons.js +2 -0
- package/build/browser/api/common/BlueprintIcons.js.map +1 -0
- package/build/browser/api/common/OntologyDefinition.js +2 -0
- package/build/browser/api/common/OntologyDefinition.js.map +1 -0
- package/build/browser/api/common/OntologyEntityBase.js +2 -0
- package/build/browser/api/common/OntologyEntityBase.js.map +1 -0
- package/build/browser/api/{types.js → common/OntologyEntityTypeEnum.js} +2 -8
- package/build/browser/api/common/OntologyEntityTypeEnum.js.map +1 -0
- package/build/browser/api/common/OntologyEntityTypeMapping.js +2 -0
- package/build/browser/api/common/OntologyEntityTypeMapping.js.map +1 -0
- package/build/browser/api/common/TypeClass.js +2 -0
- package/build/browser/api/common/TypeClass.js.map +1 -0
- package/build/browser/api/defineAction.js +69 -46
- package/build/browser/api/defineAction.js.map +1 -1
- package/build/browser/api/defineInterface.js +14 -34
- package/build/browser/api/defineInterface.js.map +1 -1
- package/build/browser/api/defineInterfaceLinkConstraint.js +3 -2
- package/build/browser/api/defineInterfaceLinkConstraint.js.map +1 -1
- package/build/browser/api/defineLink.js +33 -12
- package/build/browser/api/defineLink.js.map +1 -1
- package/build/browser/api/defineObject.js +9 -29
- package/build/browser/api/defineObject.js.map +1 -1
- package/build/browser/api/defineOntology.js +17 -552
- package/build/browser/api/defineOntology.js.map +1 -1
- package/build/browser/api/defineSpt.js +1 -1
- package/build/browser/api/defineSpt.js.map +1 -1
- package/build/browser/api/defineValueType.js +1 -1
- package/build/browser/api/defineValueType.js.map +1 -1
- package/build/browser/api/importOntologyEntity.js +1 -1
- package/build/browser/api/importOntologyEntity.js.map +1 -1
- package/build/browser/api/{defineImportSpt.js → importSharedPropertyType.js} +2 -3
- package/build/browser/api/importSharedPropertyType.js.map +1 -0
- package/build/browser/api/interface/InterfacePropertyType.js +2 -0
- package/build/browser/api/interface/InterfacePropertyType.js.map +1 -0
- package/build/browser/api/interface/InterfaceType.js +2 -0
- package/build/browser/api/interface/InterfaceType.js.map +1 -0
- package/build/browser/api/interface/getFlattenedInterfaceProperties.js +27 -0
- package/build/browser/api/interface/getFlattenedInterfaceProperties.js.map +1 -0
- package/build/browser/api/interface/mapSimplifiedStatusToInterfaceTypeStatus.js +42 -0
- package/build/browser/api/interface/mapSimplifiedStatusToInterfaceTypeStatus.js.map +1 -0
- package/build/browser/api/links/LinkType.js +2 -0
- package/build/browser/api/links/LinkType.js.map +1 -0
- package/build/browser/api/namespace/combineApiNamespaceIfMissing.js +20 -0
- package/build/browser/api/namespace/combineApiNamespaceIfMissing.js.map +1 -0
- package/build/browser/api/object/InterfaceImplementation.js +2 -0
- package/build/browser/api/object/InterfaceImplementation.js.map +1 -0
- package/build/browser/api/object/ObjectPropertyType.js +2 -0
- package/build/browser/api/object/ObjectPropertyType.js.map +1 -0
- package/build/browser/api/object/ObjectPropertyTypeUserDefinition.js +2 -0
- package/build/browser/api/object/ObjectPropertyTypeUserDefinition.js.map +1 -0
- package/build/browser/api/object/ObjectType.js +2 -0
- package/build/browser/api/object/ObjectType.js.map +1 -0
- package/build/browser/api/object/ObjectTypeDatasourceDefinition.js +2 -0
- package/build/browser/api/object/ObjectTypeDatasourceDefinition.js.map +1 -0
- package/build/browser/api/object/ObjectTypeDefinition.js +2 -0
- package/build/browser/api/object/ObjectTypeDefinition.js.map +1 -0
- package/build/browser/api/object/ObjectTypeStatus.js +2 -0
- package/build/browser/api/object/ObjectTypeStatus.js.map +1 -0
- package/build/browser/api/objectStatus.test.js.map +1 -1
- package/build/browser/api/overall.test.js +1987 -691
- package/build/browser/api/overall.test.js.map +1 -1
- package/build/browser/api/properties/Nullability.js +2 -0
- package/build/browser/api/properties/Nullability.js.map +1 -0
- package/build/browser/api/properties/PropertyTypeType.js +34 -0
- package/build/browser/api/properties/PropertyTypeType.js.map +1 -0
- package/build/browser/api/properties/SharedPropertyType.js +2 -0
- package/build/browser/api/properties/SharedPropertyType.js.map +1 -0
- package/build/browser/api/propertyConversionUtils.js +0 -238
- package/build/browser/api/propertyConversionUtils.js.map +1 -1
- package/build/browser/api/values/ValueTypeDefinitionVersion.js +2 -0
- package/build/browser/api/values/ValueTypeDefinitionVersion.js.map +1 -0
- package/build/browser/api/values/ValueTypeType.js +2 -0
- package/build/browser/api/values/ValueTypeType.js.map +1 -0
- package/build/browser/api/wrapWithProxy.js +1 -0
- package/build/browser/api/wrapWithProxy.js.map +1 -1
- package/build/browser/cli/main.js +13 -4
- package/build/browser/cli/main.js.map +1 -1
- package/build/browser/conversion/toConjure/distributeTypeHelper.js +23 -0
- package/build/browser/conversion/toConjure/distributeTypeHelper.js.map +1 -0
- package/build/browser/conversion/toMarketplace/convertActionParameterConditionalOverride.js +88 -0
- package/build/browser/conversion/toMarketplace/convertActionParameterConditionalOverride.js.map +1 -0
- package/build/browser/conversion/toMarketplace/convertActionParameters.js +31 -0
- package/build/browser/conversion/toMarketplace/convertActionParameters.js.map +1 -0
- package/build/browser/conversion/toMarketplace/convertActionSections.js +43 -0
- package/build/browser/conversion/toMarketplace/convertActionSections.js.map +1 -0
- package/build/browser/conversion/toMarketplace/convertActionValidation.js +93 -0
- package/build/browser/conversion/toMarketplace/convertActionValidation.js.map +1 -0
- package/build/browser/conversion/toMarketplace/convertActionVisibility.js +41 -0
- package/build/browser/conversion/toMarketplace/convertActionVisibility.js.map +1 -0
- package/build/browser/conversion/toMarketplace/convertCardinality.js +23 -0
- package/build/browser/conversion/toMarketplace/convertCardinality.js.map +1 -0
- package/build/browser/conversion/toMarketplace/convertConditionDefinition.js +88 -0
- package/build/browser/conversion/toMarketplace/convertConditionDefinition.js.map +1 -0
- package/build/browser/conversion/toMarketplace/convertDataConstraintToDataConstraints.js +26 -0
- package/build/browser/conversion/toMarketplace/convertDataConstraintToDataConstraints.js.map +1 -0
- package/build/browser/conversion/toMarketplace/convertDatasourceDefinition.js +89 -0
- package/build/browser/conversion/toMarketplace/convertDatasourceDefinition.js.map +1 -0
- package/build/browser/conversion/toMarketplace/convertInterface.js +47 -0
- package/build/browser/conversion/toMarketplace/convertInterface.js.map +1 -0
- package/build/browser/conversion/toMarketplace/convertLink.js +132 -0
- package/build/browser/conversion/toMarketplace/convertLink.js.map +1 -0
- package/build/browser/conversion/toMarketplace/convertMappingValue.js +41 -0
- package/build/browser/conversion/toMarketplace/convertMappingValue.js.map +1 -0
- package/build/browser/conversion/toMarketplace/convertNullabilityToDataConstraint.js +43 -0
- package/build/browser/conversion/toMarketplace/convertNullabilityToDataConstraint.js.map +1 -0
- package/build/browser/conversion/toMarketplace/convertObject.js +108 -0
- package/build/browser/conversion/toMarketplace/convertObject.js.map +1 -0
- package/build/browser/conversion/toMarketplace/convertObjectPropertyType.js +53 -0
- package/build/browser/conversion/toMarketplace/convertObjectPropertyType.js.map +1 -0
- package/build/browser/conversion/toMarketplace/convertOntologyDefinition.js +29 -0
- package/build/browser/conversion/toMarketplace/convertOntologyDefinition.js.map +1 -0
- package/build/browser/conversion/toMarketplace/convertOntologyDefinitionToWireBlockData.js +57 -0
- package/build/browser/conversion/toMarketplace/convertOntologyDefinitionToWireBlockData.js.map +1 -0
- package/build/browser/conversion/toMarketplace/convertOntologyToValueTypeIr.js +24 -0
- package/build/browser/conversion/toMarketplace/convertOntologyToValueTypeIr.js.map +1 -0
- package/build/browser/conversion/toMarketplace/convertSectionConditionalOverride.js +35 -0
- package/build/browser/conversion/toMarketplace/convertSectionConditionalOverride.js.map +1 -0
- package/build/browser/conversion/toMarketplace/convertSpt.js +62 -0
- package/build/browser/conversion/toMarketplace/convertSpt.js.map +1 -0
- package/build/browser/conversion/toMarketplace/convertValueType.js +25 -0
- package/build/browser/conversion/toMarketplace/convertValueType.js.map +1 -0
- package/build/browser/conversion/toMarketplace/convertValueTypeDataConstraints.js +30 -0
- package/build/browser/conversion/toMarketplace/convertValueTypeDataConstraints.js.map +1 -0
- package/build/browser/conversion/toMarketplace/convertValueTypesToIr.js +34 -0
- package/build/browser/conversion/toMarketplace/convertValueTypesToIr.js.map +1 -0
- package/build/browser/conversion/toMarketplace/dataConstraintToPropertyTypeDataConstraint.js +83 -0
- package/build/browser/conversion/toMarketplace/dataConstraintToPropertyTypeDataConstraint.js.map +1 -0
- package/build/browser/conversion/toMarketplace/getFormContentOrdering.js +39 -0
- package/build/browser/conversion/toMarketplace/getFormContentOrdering.js.map +1 -0
- package/build/browser/conversion/toMarketplace/propertyTypeTypeToOntologyIrType.js +124 -0
- package/build/browser/conversion/toMarketplace/propertyTypeTypeToOntologyIrType.js.map +1 -0
- package/build/browser/index.js +5 -5
- package/build/browser/index.js.map +1 -1
- package/build/browser/util/OptionalFields.js +2 -0
- package/build/browser/util/OptionalFields.js.map +1 -0
- package/build/browser/util/RequiredFields.js +2 -0
- package/build/browser/util/RequiredFields.js.map +1 -0
- package/build/cjs/index.cjs +1177 -1045
- package/build/cjs/index.cjs.map +1 -1
- package/build/cjs/index.d.cts +417 -346
- package/build/esm/api/action/ActionLevelValidationDefinition.js +2 -0
- package/build/esm/api/action/ActionLevelValidationDefinition.js.map +1 -0
- package/build/esm/api/action/ActionParameter.js +2 -0
- package/build/esm/api/action/ActionParameter.js.map +1 -0
- package/build/esm/api/action/ActionParameterAllowedValues.js +2 -0
- package/build/esm/api/action/ActionParameterAllowedValues.js.map +1 -0
- package/build/esm/api/action/ActionParameterConditionalOverride.js +2 -0
- package/build/esm/api/action/ActionParameterConditionalOverride.js.map +1 -0
- package/build/esm/api/action/ActionParameterConfiguration.js +2 -0
- package/build/esm/api/action/ActionParameterConfiguration.js.map +1 -0
- package/build/esm/api/action/ActionParameterType.js +22 -0
- package/build/esm/api/action/ActionParameterType.js.map +1 -0
- package/build/esm/api/action/ActionSection.js +2 -0
- package/build/esm/api/action/ActionSection.js.map +1 -0
- package/build/esm/api/action/ActionStatus.js +2 -0
- package/build/esm/api/action/ActionStatus.js.map +1 -0
- package/build/esm/api/action/ActionType.js +2 -0
- package/build/esm/api/action/ActionType.js.map +1 -0
- package/build/esm/api/action/ActionValidationRule.js +2 -0
- package/build/esm/api/action/ActionValidationRule.js.map +1 -0
- package/build/esm/api/action/ConditionDefinition.js +2 -0
- package/build/esm/api/action/ConditionDefinition.js.map +1 -0
- package/build/esm/api/action/MappingValue.js +2 -0
- package/build/esm/api/action/MappingValue.js.map +1 -0
- package/build/esm/api/action/SectionConditionalOverride.js +2 -0
- package/build/esm/api/action/SectionConditionalOverride.js.map +1 -0
- package/build/esm/api/action/SubmissionMetadata.js +2 -0
- package/build/esm/api/action/SubmissionMetadata.js.map +1 -0
- package/build/esm/api/common/BlueprintIcons.js +2 -0
- package/build/esm/api/common/BlueprintIcons.js.map +1 -0
- package/build/esm/api/common/OntologyDefinition.js +2 -0
- package/build/esm/api/common/OntologyDefinition.js.map +1 -0
- package/build/esm/api/common/OntologyEntityBase.js +2 -0
- package/build/esm/api/common/OntologyEntityBase.js.map +1 -0
- package/build/esm/api/{types.js → common/OntologyEntityTypeEnum.js} +2 -8
- package/build/esm/api/common/OntologyEntityTypeEnum.js.map +1 -0
- package/build/esm/api/common/OntologyEntityTypeMapping.js +2 -0
- package/build/esm/api/common/OntologyEntityTypeMapping.js.map +1 -0
- package/build/esm/api/common/TypeClass.js +2 -0
- package/build/esm/api/common/TypeClass.js.map +1 -0
- package/build/esm/api/defineAction.js +69 -46
- package/build/esm/api/defineAction.js.map +1 -1
- package/build/esm/api/defineInterface.js +14 -34
- package/build/esm/api/defineInterface.js.map +1 -1
- package/build/esm/api/defineInterfaceLinkConstraint.js +3 -2
- package/build/esm/api/defineInterfaceLinkConstraint.js.map +1 -1
- package/build/esm/api/defineLink.js +33 -12
- package/build/esm/api/defineLink.js.map +1 -1
- package/build/esm/api/defineObject.js +9 -29
- package/build/esm/api/defineObject.js.map +1 -1
- package/build/esm/api/defineOntology.js +17 -552
- package/build/esm/api/defineOntology.js.map +1 -1
- package/build/esm/api/defineSpt.js +1 -1
- package/build/esm/api/defineSpt.js.map +1 -1
- package/build/esm/api/defineValueType.js +1 -1
- package/build/esm/api/defineValueType.js.map +1 -1
- package/build/esm/api/importOntologyEntity.js +1 -1
- package/build/esm/api/importOntologyEntity.js.map +1 -1
- package/build/esm/api/{defineImportSpt.js → importSharedPropertyType.js} +2 -3
- package/build/esm/api/importSharedPropertyType.js.map +1 -0
- package/build/esm/api/interface/InterfacePropertyType.js +2 -0
- package/build/esm/api/interface/InterfacePropertyType.js.map +1 -0
- package/build/esm/api/interface/InterfaceType.js +2 -0
- package/build/esm/api/interface/InterfaceType.js.map +1 -0
- package/build/esm/api/interface/getFlattenedInterfaceProperties.js +27 -0
- package/build/esm/api/interface/getFlattenedInterfaceProperties.js.map +1 -0
- package/build/esm/api/interface/mapSimplifiedStatusToInterfaceTypeStatus.js +42 -0
- package/build/esm/api/interface/mapSimplifiedStatusToInterfaceTypeStatus.js.map +1 -0
- package/build/esm/api/links/LinkType.js +2 -0
- package/build/esm/api/links/LinkType.js.map +1 -0
- package/build/esm/api/namespace/combineApiNamespaceIfMissing.js +20 -0
- package/build/esm/api/namespace/combineApiNamespaceIfMissing.js.map +1 -0
- package/build/esm/api/object/InterfaceImplementation.js +2 -0
- package/build/esm/api/object/InterfaceImplementation.js.map +1 -0
- package/build/esm/api/object/ObjectPropertyType.js +2 -0
- package/build/esm/api/object/ObjectPropertyType.js.map +1 -0
- package/build/esm/api/object/ObjectPropertyTypeUserDefinition.js +2 -0
- package/build/esm/api/object/ObjectPropertyTypeUserDefinition.js.map +1 -0
- package/build/esm/api/object/ObjectType.js +2 -0
- package/build/esm/api/object/ObjectType.js.map +1 -0
- package/build/esm/api/object/ObjectTypeDatasourceDefinition.js +2 -0
- package/build/esm/api/object/ObjectTypeDatasourceDefinition.js.map +1 -0
- package/build/esm/api/object/ObjectTypeDefinition.js +2 -0
- package/build/esm/api/object/ObjectTypeDefinition.js.map +1 -0
- package/build/esm/api/object/ObjectTypeStatus.js +2 -0
- package/build/esm/api/object/ObjectTypeStatus.js.map +1 -0
- package/build/esm/api/objectStatus.test.js.map +1 -1
- package/build/esm/api/overall.test.js +1987 -691
- package/build/esm/api/overall.test.js.map +1 -1
- package/build/esm/api/properties/Nullability.js +2 -0
- package/build/esm/api/properties/Nullability.js.map +1 -0
- package/build/esm/api/properties/PropertyTypeType.js +34 -0
- package/build/esm/api/properties/PropertyTypeType.js.map +1 -0
- package/build/esm/api/properties/SharedPropertyType.js +2 -0
- package/build/esm/api/properties/SharedPropertyType.js.map +1 -0
- package/build/esm/api/propertyConversionUtils.js +0 -238
- package/build/esm/api/propertyConversionUtils.js.map +1 -1
- package/build/esm/api/values/ValueTypeDefinitionVersion.js +2 -0
- package/build/esm/api/values/ValueTypeDefinitionVersion.js.map +1 -0
- package/build/esm/api/values/ValueTypeType.js +2 -0
- package/build/esm/api/values/ValueTypeType.js.map +1 -0
- package/build/esm/api/wrapWithProxy.js +1 -0
- package/build/esm/api/wrapWithProxy.js.map +1 -1
- package/build/esm/cli/main.js +13 -4
- package/build/esm/cli/main.js.map +1 -1
- package/build/esm/conversion/toConjure/distributeTypeHelper.js +23 -0
- package/build/esm/conversion/toConjure/distributeTypeHelper.js.map +1 -0
- package/build/esm/conversion/toMarketplace/convertActionParameterConditionalOverride.js +88 -0
- package/build/esm/conversion/toMarketplace/convertActionParameterConditionalOverride.js.map +1 -0
- package/build/esm/conversion/toMarketplace/convertActionParameters.js +31 -0
- package/build/esm/conversion/toMarketplace/convertActionParameters.js.map +1 -0
- package/build/esm/conversion/toMarketplace/convertActionSections.js +43 -0
- package/build/esm/conversion/toMarketplace/convertActionSections.js.map +1 -0
- package/build/esm/conversion/toMarketplace/convertActionValidation.js +93 -0
- package/build/esm/conversion/toMarketplace/convertActionValidation.js.map +1 -0
- package/build/esm/conversion/toMarketplace/convertActionVisibility.js +41 -0
- package/build/esm/conversion/toMarketplace/convertActionVisibility.js.map +1 -0
- package/build/esm/conversion/toMarketplace/convertCardinality.js +23 -0
- package/build/esm/conversion/toMarketplace/convertCardinality.js.map +1 -0
- package/build/esm/conversion/toMarketplace/convertConditionDefinition.js +88 -0
- package/build/esm/conversion/toMarketplace/convertConditionDefinition.js.map +1 -0
- package/build/esm/conversion/toMarketplace/convertDataConstraintToDataConstraints.js +26 -0
- package/build/esm/conversion/toMarketplace/convertDataConstraintToDataConstraints.js.map +1 -0
- package/build/esm/conversion/toMarketplace/convertDatasourceDefinition.js +89 -0
- package/build/esm/conversion/toMarketplace/convertDatasourceDefinition.js.map +1 -0
- package/build/esm/conversion/toMarketplace/convertInterface.js +47 -0
- package/build/esm/conversion/toMarketplace/convertInterface.js.map +1 -0
- package/build/esm/conversion/toMarketplace/convertLink.js +132 -0
- package/build/esm/conversion/toMarketplace/convertLink.js.map +1 -0
- package/build/esm/conversion/toMarketplace/convertMappingValue.js +41 -0
- package/build/esm/conversion/toMarketplace/convertMappingValue.js.map +1 -0
- package/build/esm/conversion/toMarketplace/convertNullabilityToDataConstraint.js +43 -0
- package/build/esm/conversion/toMarketplace/convertNullabilityToDataConstraint.js.map +1 -0
- package/build/esm/conversion/toMarketplace/convertObject.js +108 -0
- package/build/esm/conversion/toMarketplace/convertObject.js.map +1 -0
- package/build/esm/conversion/toMarketplace/convertObjectPropertyType.js +53 -0
- package/build/esm/conversion/toMarketplace/convertObjectPropertyType.js.map +1 -0
- package/build/esm/conversion/toMarketplace/convertOntologyDefinition.js +29 -0
- package/build/esm/conversion/toMarketplace/convertOntologyDefinition.js.map +1 -0
- package/build/esm/conversion/toMarketplace/convertOntologyDefinitionToWireBlockData.js +57 -0
- package/build/esm/conversion/toMarketplace/convertOntologyDefinitionToWireBlockData.js.map +1 -0
- package/build/esm/conversion/toMarketplace/convertOntologyToValueTypeIr.js +24 -0
- package/build/esm/conversion/toMarketplace/convertOntologyToValueTypeIr.js.map +1 -0
- package/build/esm/conversion/toMarketplace/convertSectionConditionalOverride.js +35 -0
- package/build/esm/conversion/toMarketplace/convertSectionConditionalOverride.js.map +1 -0
- package/build/esm/conversion/toMarketplace/convertSpt.js +62 -0
- package/build/esm/conversion/toMarketplace/convertSpt.js.map +1 -0
- package/build/esm/conversion/toMarketplace/convertValueType.js +25 -0
- package/build/esm/conversion/toMarketplace/convertValueType.js.map +1 -0
- package/build/esm/conversion/toMarketplace/convertValueTypeDataConstraints.js +30 -0
- package/build/esm/conversion/toMarketplace/convertValueTypeDataConstraints.js.map +1 -0
- package/build/esm/conversion/toMarketplace/convertValueTypesToIr.js +34 -0
- package/build/esm/conversion/toMarketplace/convertValueTypesToIr.js.map +1 -0
- package/build/esm/conversion/toMarketplace/dataConstraintToPropertyTypeDataConstraint.js +83 -0
- package/build/esm/conversion/toMarketplace/dataConstraintToPropertyTypeDataConstraint.js.map +1 -0
- package/build/esm/conversion/toMarketplace/getFormContentOrdering.js +39 -0
- package/build/esm/conversion/toMarketplace/getFormContentOrdering.js.map +1 -0
- package/build/esm/conversion/toMarketplace/propertyTypeTypeToOntologyIrType.js +124 -0
- package/build/esm/conversion/toMarketplace/propertyTypeTypeToOntologyIrType.js.map +1 -0
- package/build/esm/index.js +5 -5
- package/build/esm/index.js.map +1 -1
- package/build/esm/util/OptionalFields.js +2 -0
- package/build/esm/util/OptionalFields.js.map +1 -0
- package/build/esm/util/RequiredFields.js +2 -0
- package/build/esm/util/RequiredFields.js.map +1 -0
- package/build/types/api/action/ActionLevelValidationDefinition.d.ts +7 -0
- package/build/types/api/action/ActionLevelValidationDefinition.d.ts.map +1 -0
- package/build/types/api/action/ActionParameter.d.ts +14 -0
- package/build/types/api/action/ActionParameter.d.ts.map +1 -0
- package/build/types/api/action/ActionParameterAllowedValues.d.ts +50 -0
- package/build/types/api/action/ActionParameterAllowedValues.d.ts.map +1 -0
- package/build/types/api/action/ActionParameterConditionalOverride.d.ts +26 -0
- package/build/types/api/action/ActionParameterConditionalOverride.d.ts.map +1 -0
- package/build/types/api/action/ActionParameterConfiguration.d.ts +20 -0
- package/build/types/api/action/ActionParameterConfiguration.d.ts.map +1 -0
- package/build/types/api/action/ActionParameterType.d.ts +6 -0
- package/build/types/api/action/ActionParameterType.d.ts.map +1 -0
- package/build/types/api/action/ActionSection.d.ts +13 -0
- package/build/types/api/action/ActionSection.d.ts.map +1 -0
- package/build/types/api/action/ActionStatus.d.ts +2 -0
- package/build/types/api/action/ActionStatus.d.ts.map +1 -0
- package/build/types/api/action/ActionType.d.ts +36 -0
- package/build/types/api/action/ActionType.d.ts.map +1 -0
- package/build/types/api/action/ActionValidationRule.d.ts +2 -0
- package/build/types/api/action/ActionValidationRule.d.ts.map +1 -0
- package/build/types/api/action/ConditionDefinition.d.ts +15 -0
- package/build/types/api/action/ConditionDefinition.d.ts.map +1 -0
- package/build/types/api/action/MappingValue.d.ts +13 -0
- package/build/types/api/action/MappingValue.d.ts.map +1 -0
- package/build/types/api/action/SectionConditionalOverride.d.ts +2 -0
- package/build/types/api/action/SectionConditionalOverride.d.ts.map +1 -0
- package/build/types/api/action/SubmissionMetadata.d.ts +6 -0
- package/build/types/api/action/SubmissionMetadata.d.ts.map +1 -0
- package/build/types/api/{iconNames.d.ts.map → common/BlueprintIcons.d.ts.map} +1 -1
- package/build/types/api/common/OntologyDefinition.d.ts +6 -0
- package/build/types/api/common/OntologyDefinition.d.ts.map +1 -0
- package/build/types/api/common/OntologyEntityBase.d.ts +5 -0
- package/build/types/api/common/OntologyEntityBase.d.ts.map +1 -0
- package/build/types/api/common/OntologyEntityTypeEnum.d.ts +8 -0
- package/build/types/api/common/OntologyEntityTypeEnum.d.ts.map +1 -0
- package/build/types/api/common/OntologyEntityTypeMapping.d.ts +16 -0
- package/build/types/api/common/OntologyEntityTypeMapping.d.ts.map +1 -0
- package/build/types/api/common/TypeClass.d.ts +4 -0
- package/build/types/api/common/TypeClass.d.ts.map +1 -0
- package/build/types/api/defineAction.d.ts +38 -3
- package/build/types/api/defineAction.d.ts.map +1 -1
- package/build/types/api/defineInterface.d.ts +5 -3
- package/build/types/api/defineInterface.d.ts.map +1 -1
- package/build/types/api/defineInterfaceLinkConstraint.d.ts +1 -1
- package/build/types/api/defineInterfaceLinkConstraint.d.ts.map +1 -1
- package/build/types/api/defineLink.d.ts +1 -1
- package/build/types/api/defineLink.d.ts.map +1 -1
- package/build/types/api/defineObject.d.ts +2 -4
- package/build/types/api/defineObject.d.ts.map +1 -1
- package/build/types/api/defineOntology.d.ts +11 -4
- package/build/types/api/defineOntology.d.ts.map +1 -1
- package/build/types/api/defineSpt.d.ts +2 -1
- package/build/types/api/defineSpt.d.ts.map +1 -1
- package/build/types/api/defineValueType.d.ts +2 -1
- package/build/types/api/defineValueType.d.ts.map +1 -1
- package/build/types/api/importOntologyEntity.d.ts +1 -1
- package/build/types/api/importOntologyEntity.d.ts.map +1 -1
- package/build/types/api/{defineImportSpt.d.ts → importSharedPropertyType.d.ts} +2 -1
- package/build/types/api/importSharedPropertyType.d.ts.map +1 -0
- package/build/types/api/interface/InterfacePropertyType.d.ts +5 -0
- package/build/types/api/interface/InterfacePropertyType.d.ts.map +1 -0
- package/build/types/api/interface/InterfaceType.d.ts +10 -0
- package/build/types/api/interface/InterfaceType.d.ts.map +1 -0
- package/build/types/api/interface/getFlattenedInterfaceProperties.d.ts +3 -0
- package/build/types/api/interface/getFlattenedInterfaceProperties.d.ts.map +1 -0
- package/build/types/api/interface/mapSimplifiedStatusToInterfaceTypeStatus.d.ts +3 -0
- package/build/types/api/interface/mapSimplifiedStatusToInterfaceTypeStatus.d.ts.map +1 -0
- package/build/types/api/links/LinkType.d.ts +100 -0
- package/build/types/api/links/LinkType.d.ts.map +1 -0
- package/build/types/api/namespace/combineApiNamespaceIfMissing.d.ts +1 -0
- package/build/types/api/namespace/combineApiNamespaceIfMissing.d.ts.map +1 -0
- package/build/types/api/object/InterfaceImplementation.d.ts +8 -0
- package/build/types/api/object/InterfaceImplementation.d.ts.map +1 -0
- package/build/types/api/object/ObjectPropertyType.d.ts +27 -0
- package/build/types/api/object/ObjectPropertyType.d.ts.map +1 -0
- package/build/types/api/object/ObjectPropertyTypeUserDefinition.d.ts +3 -0
- package/build/types/api/object/ObjectPropertyTypeUserDefinition.d.ts.map +1 -0
- package/build/types/api/object/ObjectType.d.ts +29 -0
- package/build/types/api/object/ObjectType.d.ts.map +1 -0
- package/build/types/api/object/ObjectTypeDatasourceDefinition.d.ts +11 -0
- package/build/types/api/object/ObjectTypeDatasourceDefinition.d.ts.map +1 -0
- package/build/types/api/object/ObjectTypeDefinition.d.ts +26 -0
- package/build/types/api/object/ObjectTypeDefinition.d.ts.map +1 -0
- package/build/types/api/object/ObjectTypeStatus.d.ts +5 -0
- package/build/types/api/object/ObjectTypeStatus.d.ts.map +1 -0
- package/build/types/api/properties/Nullability.d.ts +4 -0
- package/build/types/api/properties/Nullability.d.ts.map +1 -0
- package/build/types/api/properties/PropertyTypeType.d.ts +33 -0
- package/build/types/api/properties/PropertyTypeType.d.ts.map +1 -0
- package/build/types/api/properties/SharedPropertyType.d.ts +22 -0
- package/build/types/api/properties/SharedPropertyType.d.ts.map +1 -0
- package/build/types/api/propertyConversionUtils.d.ts +2 -20
- package/build/types/api/propertyConversionUtils.d.ts.map +1 -1
- package/build/types/api/values/ValueTypeDefinitionVersion.d.ts +14 -0
- package/build/types/api/values/ValueTypeDefinitionVersion.d.ts.map +1 -0
- package/build/types/api/values/ValueTypeType.d.ts +178 -0
- package/build/types/api/values/ValueTypeType.d.ts.map +1 -0
- package/build/types/api/wrapWithProxy.d.ts +1 -1
- package/build/types/api/wrapWithProxy.d.ts.map +1 -1
- package/build/types/cli/main.d.ts.map +1 -1
- package/build/types/conversion/toConjure/distributeTypeHelper.d.ts +3 -0
- package/build/types/conversion/toConjure/distributeTypeHelper.d.ts.map +1 -0
- package/build/types/conversion/toMarketplace/convertActionParameterConditionalOverride.d.ts +4 -0
- package/build/types/conversion/toMarketplace/convertActionParameterConditionalOverride.d.ts.map +1 -0
- package/build/types/conversion/toMarketplace/convertActionParameters.d.ts +3 -0
- package/build/types/conversion/toMarketplace/convertActionParameters.d.ts.map +1 -0
- package/build/types/conversion/toMarketplace/convertActionSections.d.ts +3 -0
- package/build/types/conversion/toMarketplace/convertActionSections.d.ts.map +1 -0
- package/build/types/conversion/toMarketplace/convertActionValidation.d.ts +3 -0
- package/build/types/conversion/toMarketplace/convertActionValidation.d.ts.map +1 -0
- package/build/types/conversion/toMarketplace/convertActionVisibility.d.ts +2 -0
- package/build/types/conversion/toMarketplace/convertActionVisibility.d.ts.map +1 -0
- package/build/types/conversion/toMarketplace/convertCardinality.d.ts +3 -0
- package/build/types/conversion/toMarketplace/convertCardinality.d.ts.map +1 -0
- package/build/types/conversion/toMarketplace/convertConditionDefinition.d.ts +4 -0
- package/build/types/conversion/toMarketplace/convertConditionDefinition.d.ts.map +1 -0
- package/build/types/conversion/toMarketplace/convertDataConstraintToDataConstraints.d.ts +2 -0
- package/build/types/conversion/toMarketplace/convertDataConstraintToDataConstraints.d.ts.map +1 -0
- package/build/types/conversion/toMarketplace/convertDatasourceDefinition.d.ts +4 -0
- package/build/types/conversion/toMarketplace/convertDatasourceDefinition.d.ts.map +1 -0
- package/build/types/conversion/toMarketplace/convertInterface.d.ts +3 -0
- package/build/types/conversion/toMarketplace/convertInterface.d.ts.map +1 -0
- package/build/types/conversion/toMarketplace/convertLink.d.ts +3 -0
- package/build/types/conversion/toMarketplace/convertLink.d.ts.map +1 -0
- package/build/types/conversion/toMarketplace/convertMappingValue.d.ts +3 -0
- package/build/types/conversion/toMarketplace/convertMappingValue.d.ts.map +1 -0
- package/build/types/conversion/toMarketplace/convertNullabilityToDataConstraint.d.ts +7 -0
- package/build/types/conversion/toMarketplace/convertNullabilityToDataConstraint.d.ts.map +1 -0
- package/build/types/conversion/toMarketplace/convertObject.d.ts +9 -0
- package/build/types/conversion/toMarketplace/convertObject.d.ts.map +1 -0
- package/build/types/conversion/toMarketplace/convertObjectPropertyType.d.ts +3 -0
- package/build/types/conversion/toMarketplace/convertObjectPropertyType.d.ts.map +1 -0
- package/build/types/conversion/toMarketplace/convertOntologyDefinition.d.ts +3 -0
- package/build/types/conversion/toMarketplace/convertOntologyDefinition.d.ts.map +1 -0
- package/build/types/conversion/toMarketplace/convertOntologyDefinitionToWireBlockData.d.ts +3 -0
- package/build/types/conversion/toMarketplace/convertOntologyDefinitionToWireBlockData.d.ts.map +1 -0
- package/build/types/conversion/toMarketplace/convertOntologyToValueTypeIr.d.ts +3 -0
- package/build/types/conversion/toMarketplace/convertOntologyToValueTypeIr.d.ts.map +1 -0
- package/build/types/conversion/toMarketplace/convertSectionConditionalOverride.d.ts +4 -0
- package/build/types/conversion/toMarketplace/convertSectionConditionalOverride.d.ts.map +1 -0
- package/build/types/conversion/toMarketplace/convertSpt.d.ts +3 -0
- package/build/types/conversion/toMarketplace/convertSpt.d.ts.map +1 -0
- package/build/types/conversion/toMarketplace/convertValueType.d.ts +3 -0
- package/build/types/conversion/toMarketplace/convertValueType.d.ts.map +1 -0
- package/build/types/conversion/toMarketplace/convertValueTypeDataConstraints.d.ts +2 -0
- package/build/types/conversion/toMarketplace/convertValueTypeDataConstraints.d.ts.map +1 -0
- package/build/types/conversion/toMarketplace/convertValueTypesToIr.d.ts +3 -0
- package/build/types/conversion/toMarketplace/convertValueTypesToIr.d.ts.map +1 -0
- package/build/types/conversion/toMarketplace/dataConstraintToPropertyTypeDataConstraint.d.ts +2 -0
- package/build/types/conversion/toMarketplace/dataConstraintToPropertyTypeDataConstraint.d.ts.map +1 -0
- package/build/types/conversion/toMarketplace/getFormContentOrdering.d.ts +3 -0
- package/build/types/conversion/toMarketplace/getFormContentOrdering.d.ts.map +1 -0
- package/build/types/conversion/toMarketplace/propertyTypeTypeToOntologyIrType.d.ts +3 -0
- package/build/types/conversion/toMarketplace/propertyTypeTypeToOntologyIrType.d.ts.map +1 -0
- package/build/types/index.d.ts +22 -6
- package/build/types/index.d.ts.map +1 -1
- package/build/types/util/OptionalFields.d.ts +4 -0
- package/build/types/util/OptionalFields.d.ts.map +1 -0
- package/build/types/util/RequiredFields.d.ts +4 -0
- package/build/types/util/RequiredFields.d.ts.map +1 -0
- package/package.json +5 -5
- package/build/browser/api/defineImportSpt.js.map +0 -1
- package/build/browser/api/iconNames.js +0 -2
- package/build/browser/api/iconNames.js.map +0 -1
- package/build/browser/api/ontologyUtils.js +0 -243
- package/build/browser/api/ontologyUtils.js.map +0 -1
- package/build/browser/api/types.js.map +0 -1
- package/build/esm/api/defineImportSpt.js.map +0 -1
- package/build/esm/api/iconNames.js +0 -2
- package/build/esm/api/iconNames.js.map +0 -1
- package/build/esm/api/ontologyUtils.js +0 -243
- package/build/esm/api/ontologyUtils.js.map +0 -1
- package/build/esm/api/types.js.map +0 -1
- package/build/types/api/defineImportSpt.d.ts.map +0 -1
- package/build/types/api/ontologyUtils.d.ts +0 -8
- package/build/types/api/ontologyUtils.d.ts.map +0 -1
- package/build/types/api/types.d.ts +0 -625
- package/build/types/api/types.d.ts.map +0 -1
- /package/build/types/api/{iconNames.d.ts → common/BlueprintIcons.d.ts} +0 -0
package/build/cjs/index.d.cts
CHANGED
|
@@ -1,130 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OntologyIrLabelledValue, OntologyIrConditionValue, OntologyIrParameterDateRangeValue, InterfaceTypeApiName, OntologyIrCondition, OntologyIrParameterPrefill, OntologyIrBaseParameterType_decimal, OntologyIrBaseParameterType_decimalList, OntologyIrBaseParameterType_timestamp, OntologyIrBaseParameterType_timestampList, OntologyIrBaseParameterType_objectReference, OntologyIrBaseParameterType_objectReferenceList, OntologyIrBaseParameterType_objectSetRid, OntologyIrBaseParameterType_objectTypeReference, OntologyIrBaseParameterType_interfaceReference, OntologyIrBaseParameterType_interfaceReferenceList, OntologyIrBaseParameterType_struct, OntologyIrBaseParameterType_structList, ParameterId, ActionTypeStatus_deprecated, ButtonDisplayMetadata, ActionTypeApiName, OntologyIrLogicRule, SectionId, OntologyIrActionTypeEntities, OntologyIrFormContent, OntologyIrValidationRule, DisplayMetadataConfigurationDefaultLayout, DisplayMetadataConfigurationDisplayAndFormat, OntologyIrLogicRuleValue_parameterId, OntologyIrLogicRuleValue_staticValue, OntologyIrLogicRuleValue_objectParameterPropertyValue, OntologyIrLogicRuleValue_interfaceParameterPropertyValue, OntologyIrLogicRuleValue_synchronousWebhookOutput, ValidationRuleDisplayMetadata, StructFieldType, OntologyIrValueTypeReferenceWithMetadata, Visibility, SharedPropertyTypeGothamMapping, OntologyIrMarketplaceInterfaceType, InterfaceTypeStatus, ValueTypeApiName, ValueTypeDisplayMetadata, ValueTypeStatus, ValueTypeVersion, BaseType, ValueTypeDataConstraint, ExampleValue, OntologyIrBaseFormatter, LinkTypeMetadata, OntologyIrLinkTypeStatus, OntologyIrObjectType, OntologyIr, DataConstraint, FailureMessage, OntologyIrType } from '@osdk/client.unstable';
|
|
2
2
|
|
|
3
3
|
declare function main(args?: string[]): Promise<void>;
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
interface OntologyEntityBase {
|
|
10
|
-
__type: OntologyEntityTypeEnum;
|
|
11
|
-
apiName: string;
|
|
12
|
-
}
|
|
13
|
-
declare enum OntologyEntityTypeEnum {
|
|
14
|
-
OBJECT_TYPE = "OBJECT_TYPE",
|
|
15
|
-
LINK_TYPE = "LINK_TYPE",
|
|
16
|
-
INTERFACE_TYPE = "INTERFACE_TYPE",
|
|
17
|
-
SHARED_PROPERTY_TYPE = "SHARED_PROPERTY_TYPE",
|
|
18
|
-
ACTION_TYPE = "ACTION_TYPE",
|
|
19
|
-
VALUE_TYPE = "VALUE_TYPE"
|
|
20
|
-
}
|
|
21
|
-
type ActionType = OntologyEntityBase & RequiredFields<Partial<ActionTypeInner>, "apiName" | "displayName" | "rules" | "status"> & {
|
|
22
|
-
__type: OntologyEntityTypeEnum.ACTION_TYPE;
|
|
23
|
-
};
|
|
24
|
-
type ActionTypeDefinition = Omit<ActionType, "__type">;
|
|
25
|
-
type ActionTypeUserDefinition = {
|
|
26
|
-
objectType: ObjectTypeDefinition;
|
|
27
|
-
apiName?: string;
|
|
28
|
-
displayName?: string;
|
|
29
|
-
status?: ActionStatus;
|
|
30
|
-
parameterConfiguration?: Record<string, ActionParameterConfiguration>;
|
|
31
|
-
nonParameterMappings?: Record<string, MappingValue>;
|
|
32
|
-
actionLevelValidation?: ActionLevelValidationDefinition;
|
|
33
|
-
excludedProperties?: Array<ParameterId>;
|
|
34
|
-
sections?: Array<ActionSection>;
|
|
35
|
-
defaultFormat?: DisplayMetadataConfigurationDefaultLayout;
|
|
36
|
-
enableLayoutSwitch?: boolean;
|
|
37
|
-
displayAndFormat?: DisplayMetadataConfigurationDisplayAndFormat;
|
|
38
|
-
parameterOrdering?: Array<string>;
|
|
39
|
-
submissionMetadata?: SubmissionMetadata;
|
|
40
|
-
primaryKeyOption?: "autoGenerated" | "userInput";
|
|
41
|
-
};
|
|
42
|
-
declare const MODIFY_OBJECT_PARAMETER: string;
|
|
43
|
-
declare const CREATE_OR_MODIFY_OBJECT_PARAMETER: string;
|
|
44
|
-
interface ActionParameter {
|
|
45
|
-
id: ParameterId;
|
|
46
|
-
displayName: string;
|
|
47
|
-
type: ActionParameterType;
|
|
48
|
-
validation: ActionParameterValidation;
|
|
49
|
-
description?: string;
|
|
50
|
-
typeClasses?: Array<TypeClass>;
|
|
51
|
-
defaultValue?: OntologyIrParameterPrefill;
|
|
52
|
-
}
|
|
53
|
-
type ActionParameterValidation = Omit<ActionParameterConfiguration, "displayName" | "defaultValue">;
|
|
54
|
-
interface ActionParameterConfiguration {
|
|
55
|
-
allowedValues?: ActionParameterAllowedValues;
|
|
56
|
-
required?: ActionParameterRequirementConstraint;
|
|
57
|
-
defaultVisibility?: "editable" | "disabled" | "hidden";
|
|
58
|
-
conditionalOverrides?: Array<ActionParameterConditionalOverride>;
|
|
59
|
-
defaultValue?: OntologyIrParameterPrefill;
|
|
60
|
-
displayName?: string;
|
|
61
|
-
description?: string;
|
|
62
|
-
customParameterType?: ActionParameterType;
|
|
63
|
-
}
|
|
64
|
-
type ActionSection = {
|
|
65
|
-
id: string;
|
|
66
|
-
displayName: string;
|
|
67
|
-
parameters: Array<string>;
|
|
68
|
-
defaultVisibility?: "visible" | "hidden";
|
|
69
|
-
description?: string;
|
|
70
|
-
columnCount?: 1 | 2;
|
|
71
|
-
showTitleBar?: boolean;
|
|
72
|
-
collapsedByDefault?: boolean;
|
|
73
|
-
style?: "box" | "minimal";
|
|
74
|
-
conditionalOverrides?: Array<SectionConditionalOverride>;
|
|
75
|
-
};
|
|
76
|
-
type SubmissionMetadata = {
|
|
77
|
-
submitButtonDisplayMetadata?: ButtonDisplayMetadata;
|
|
78
|
-
successMessage: string;
|
|
79
|
-
undoButtonConfiguration?: boolean;
|
|
80
|
-
};
|
|
81
|
-
type MappingValue = CustomMapping | UuidMappingValue | CurrentTimeMappingValue | CurrentUserMappingValue;
|
|
82
|
-
type UuidMappingValue = {
|
|
83
|
-
type: "uuid";
|
|
84
|
-
linkId?: string;
|
|
85
|
-
};
|
|
86
|
-
type CurrentTimeMappingValue = {
|
|
87
|
-
type: "currentTime";
|
|
88
|
-
};
|
|
89
|
-
type CurrentUserMappingValue = {
|
|
90
|
-
type: "currentUser";
|
|
91
|
-
};
|
|
92
|
-
type CustomMapping = OntologyIrLogicRuleValue_parameterId | OntologyIrLogicRuleValue_staticValue | OntologyIrLogicRuleValue_objectParameterPropertyValue | OntologyIrLogicRuleValue_interfaceParameterPropertyValue | OntologyIrLogicRuleValue_synchronousWebhookOutput;
|
|
93
|
-
type ConditionDefinition = UnionCondition | OntologyIrCondition | GroupValidationRule | ParameterValidationRule;
|
|
94
|
-
type UnionCondition = {
|
|
95
|
-
type: "and" | "or";
|
|
96
|
-
conditions: Array<ConditionDefinition>;
|
|
97
|
-
};
|
|
98
|
-
type ActionParameterConditionalOverride = VisibilityOverride | DisabledOverride | RequiredOverride | DefaultValueOverride | ConstraintOverride;
|
|
99
|
-
type SectionConditionalOverride = VisibilityOverride;
|
|
100
|
-
type VisibilityOverride = {
|
|
101
|
-
type: "visibility";
|
|
102
|
-
condition: ConditionDefinition;
|
|
103
|
-
};
|
|
104
|
-
type DisabledOverride = {
|
|
105
|
-
type: "disabled";
|
|
106
|
-
condition: ConditionDefinition;
|
|
107
|
-
};
|
|
108
|
-
type RequiredOverride = {
|
|
109
|
-
type: "required";
|
|
110
|
-
condition: ConditionDefinition;
|
|
111
|
-
};
|
|
112
|
-
type DefaultValueOverride = {
|
|
113
|
-
type: "defaultValue";
|
|
114
|
-
condition: ConditionDefinition;
|
|
115
|
-
defaultValue: OntologyIrParameterPrefill;
|
|
116
|
-
};
|
|
117
|
-
type ConstraintOverride = {
|
|
118
|
-
type: "constraint";
|
|
119
|
-
condition: ConditionDefinition;
|
|
120
|
-
constraint: ActionParameterAllowedValues;
|
|
121
|
-
};
|
|
122
|
-
type ActionParameterRequirementConstraint = boolean | {
|
|
123
|
-
listLength: {
|
|
124
|
-
min?: number;
|
|
125
|
-
max?: number;
|
|
126
|
-
};
|
|
5
|
+
type TypeClass = {
|
|
6
|
+
kind: string;
|
|
7
|
+
name: string;
|
|
127
8
|
};
|
|
9
|
+
|
|
128
10
|
type ActionParameterAllowedValues = {
|
|
129
11
|
type: "oneOf";
|
|
130
12
|
oneOf: Array<OntologyIrLabelledValue>;
|
|
@@ -174,6 +56,119 @@ type ActionParameterAllowedValues = {
|
|
|
174
56
|
} | {
|
|
175
57
|
type: "redacted";
|
|
176
58
|
};
|
|
59
|
+
|
|
60
|
+
type ConditionDefinition = UnionCondition | OntologyIrCondition | GroupValidationRule | ParameterValidationRule;
|
|
61
|
+
type UnionCondition = {
|
|
62
|
+
type: "and" | "or";
|
|
63
|
+
conditions: Array<ConditionDefinition>;
|
|
64
|
+
};
|
|
65
|
+
type GroupValidationRule = {
|
|
66
|
+
type: "group";
|
|
67
|
+
name: string;
|
|
68
|
+
};
|
|
69
|
+
type ParameterValidationRule = {
|
|
70
|
+
type: "parameter";
|
|
71
|
+
parameterId: string;
|
|
72
|
+
matches: OntologyIrConditionValue;
|
|
73
|
+
};
|
|
74
|
+
|
|
75
|
+
type ActionParameterConditionalOverride = VisibilityOverride | DisabledOverride | RequiredOverride | DefaultValueOverride | ConstraintOverride;
|
|
76
|
+
type VisibilityOverride = {
|
|
77
|
+
type: "visibility";
|
|
78
|
+
condition: ConditionDefinition;
|
|
79
|
+
};
|
|
80
|
+
type DisabledOverride = {
|
|
81
|
+
type: "disabled";
|
|
82
|
+
condition: ConditionDefinition;
|
|
83
|
+
};
|
|
84
|
+
type RequiredOverride = {
|
|
85
|
+
type: "required";
|
|
86
|
+
condition: ConditionDefinition;
|
|
87
|
+
};
|
|
88
|
+
type DefaultValueOverride = {
|
|
89
|
+
type: "defaultValue";
|
|
90
|
+
condition: ConditionDefinition;
|
|
91
|
+
defaultValue: OntologyIrParameterPrefill;
|
|
92
|
+
};
|
|
93
|
+
type ConstraintOverride = {
|
|
94
|
+
type: "constraint";
|
|
95
|
+
condition: ConditionDefinition;
|
|
96
|
+
constraint: ActionParameterAllowedValues;
|
|
97
|
+
};
|
|
98
|
+
|
|
99
|
+
type ActionParameterTypePrimitive = "boolean" | "booleanList" | "integer" | "integerList" | "long" | "longList" | "double" | "doubleList" | "string" | "stringList" | "decimal" | "decimalList" | "timestamp" | "timestampList" | "geohash" | "geohashList" | "geoshape" | "geoshapeList" | "timeSeriesReference" | "date" | "dateList" | "objectTypeReference" | "attachment" | "attachmentList" | "marking" | "markingList" | "mediaReference" | "mediaReferenceList" | "geotimeSeriesReference" | "geotimeSeriesReferenceList";
|
|
100
|
+
type ActionParameterTypeComplex = OntologyIrBaseParameterType_decimal | OntologyIrBaseParameterType_decimalList | OntologyIrBaseParameterType_timestamp | OntologyIrBaseParameterType_timestampList | OntologyIrBaseParameterType_objectReference | OntologyIrBaseParameterType_objectReferenceList | OntologyIrBaseParameterType_objectSetRid | OntologyIrBaseParameterType_objectTypeReference | OntologyIrBaseParameterType_objectReference | OntologyIrBaseParameterType_interfaceReference | OntologyIrBaseParameterType_interfaceReferenceList | OntologyIrBaseParameterType_struct | OntologyIrBaseParameterType_structList;
|
|
101
|
+
type ActionParameterType = ActionParameterTypePrimitive | ActionParameterTypeComplex;
|
|
102
|
+
|
|
103
|
+
interface ActionParameterConfiguration {
|
|
104
|
+
allowedValues?: ActionParameterAllowedValues;
|
|
105
|
+
required?: ActionParameterRequirementConstraint;
|
|
106
|
+
defaultVisibility?: "editable" | "disabled" | "hidden";
|
|
107
|
+
conditionalOverrides?: Array<ActionParameterConditionalOverride>;
|
|
108
|
+
defaultValue?: OntologyIrParameterPrefill;
|
|
109
|
+
displayName?: string;
|
|
110
|
+
description?: string;
|
|
111
|
+
customParameterType?: ActionParameterType;
|
|
112
|
+
}
|
|
113
|
+
type ActionParameterRequirementConstraint = boolean | {
|
|
114
|
+
listLength: {
|
|
115
|
+
min?: number;
|
|
116
|
+
max?: number;
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
|
|
120
|
+
interface ActionParameter {
|
|
121
|
+
id: ParameterId;
|
|
122
|
+
displayName: string;
|
|
123
|
+
type: ActionParameterType;
|
|
124
|
+
validation: ActionParameterValidation;
|
|
125
|
+
description?: string;
|
|
126
|
+
typeClasses?: Array<TypeClass>;
|
|
127
|
+
defaultValue?: OntologyIrParameterPrefill;
|
|
128
|
+
}
|
|
129
|
+
type ActionParameterValidation = Omit<ActionParameterConfiguration, "displayName" | "defaultValue">;
|
|
130
|
+
|
|
131
|
+
type SectionConditionalOverride = VisibilityOverride;
|
|
132
|
+
|
|
133
|
+
type ActionSection = {
|
|
134
|
+
id: string;
|
|
135
|
+
displayName: string;
|
|
136
|
+
parameters: Array<string>;
|
|
137
|
+
defaultVisibility?: "visible" | "hidden";
|
|
138
|
+
description?: string;
|
|
139
|
+
columnCount?: 1 | 2;
|
|
140
|
+
showTitleBar?: boolean;
|
|
141
|
+
collapsedByDefault?: boolean;
|
|
142
|
+
style?: "box" | "minimal";
|
|
143
|
+
conditionalOverrides?: Array<SectionConditionalOverride>;
|
|
144
|
+
};
|
|
145
|
+
|
|
146
|
+
type RequiredFields<T, K extends keyof T> = T & Required<Pick<T, K>>;
|
|
147
|
+
|
|
148
|
+
type BlueprintIcon = "add-clip" | "add-column-left" | "add-column-right" | "add-location" | "add-row-bottom" | "add-row-top" | "add-to-artifact" | "add-to-folder" | "add" | "aimpoints-target" | "airplane" | "align-center" | "align-justify" | "align-left" | "align-right" | "alignment-bottom" | "alignment-horizontal-center" | "alignment-left" | "alignment-right" | "alignment-top" | "alignment-vertical-center" | "ammunition" | "anchor" | "annotation" | "antenna" | "app-header" | "application" | "applications" | "archive" | "area-of-interest" | "array-boolean" | "array-date" | "array-floating-point" | "array-numeric" | "array-string" | "array-timestamp" | "array" | "arrow-bottom-left" | "arrow-bottom-right" | "arrow-down" | "arrow-left" | "arrow-right" | "arrow-top-left" | "arrow-top-right" | "arrow-up" | "arrows-horizontal" | "arrows-vertical" | "asterisk" | "at" | "automatic-updates" | "axle" | "backlink" | "backward-ten" | "badge" | "ban-circle" | "bank-account" | "barcode" | "binary-number" | "blank" | "blocked-person" | "bold" | "book" | "bookmark" | "box" | "briefcase" | "bring-data" | "bring-forward" | "bug" | "buggy" | "build" | "bullseye" | "calculator" | "calendar" | "camera" | "caret-down" | "caret-left" | "caret-right" | "caret-up" | "cargo-ship" | "cell-tower" | "changes" | "chart" | "chat" | "chevron-backward" | "chevron-down" | "chevron-forward" | "chevron-left" | "chevron-right" | "chevron-up" | "circle-arrow-down" | "circle-arrow-left" | "circle-arrow-right" | "circle-arrow-up" | "circle" | "citation" | "clean" | "clip" | "clipboard-file" | "clipboard" | "cloud-download" | "cloud-server" | "cloud-tick" | "cloud-upload" | "cloud" | "code-block" | "code" | "cog" | "collapse-all" | "color-fill" | "column-layout" | "comment" | "comparison" | "compass" | "compressed" | "confirm" | "console" | "contrast" | "control" | "credit-card" | "crop" | "cross-circle" | "cross" | "crown" | "css-style" | "cube-add" | "cube-remove" | "cube" | "curly-braces" | "curved-range-chart" | "cut" | "cycle" | "dashboard" | "data-connection" | "data-lineage" | "data-search" | "data-sync" | "database" | "delete" | "delta" | "derive-column" | "desktop" | "detection" | "diagnosis" | "diagram-tree" | "direction-left" | "direction-right" | "disable" | "divide" | "document-open" | "document-share" | "document" | "dollar" | "dot" | "double-caret-horizontal" | "double-caret-vertical" | "double-chevron-down" | "double-chevron-left" | "double-chevron-right" | "double-chevron-up" | "doughnut-chart" | "download" | "drag-handle-horizontal" | "drag-handle-vertical" | "draw" | "drawer-left-filled" | "drawer-left" | "drawer-right-filled" | "drawer-right" | "drive-time" | "duplicate" | "edit" | "eject" | "emoji" | "endnote" | "endorsed" | "envelope" | "equals" | "eraser" | "error" | "euro" | "excavator" | "exchange" | "exclude-row" | "expand-all" | "explain" | "export" | "eye-off" | "eye-on" | "eye-open" | "fast-backward" | "fast-forward" | "feed-subscribed" | "feed" | "film" | "filter-keep" | "filter-list" | "filter-open" | "filter-remove" | "filter" | "flag" | "flame" | "flash" | "floating-point" | "floppy-disk" | "flow-branch" | "flow-end" | "flow-linear" | "flow-review-branch" | "flow-review" | "flows" | "folder-close" | "folder-new" | "folder-open" | "folder-shared-open" | "folder-shared" | "follower" | "following" | "font" | "fork" | "form" | "forward-ten" | "fuel" | "full-circle" | "full-stacked-chart" | "fullscreen" | "function" | "gantt-chart" | "generate" | "geofence" | "geolocation" | "geosearch" | "geotime" | "git-branch" | "git-commit" | "git-merge" | "git-new-branch" | "git-pull" | "git-push" | "git-repo" | "glass" | "globe-network" | "globe" | "graph-remove" | "graph" | "greater-than-or-equal-to" | "greater-than" | "grid-view" | "grid" | "group-item" | "group-objects" | "grouped-bar-chart" | "hand-down" | "hand-left" | "hand-right" | "hand-up" | "hand" | "hat" | "header-one" | "header-three" | "header-two" | "header" | "headset" | "heart-broken" | "heart" | "heat-grid" | "heatmap" | "helicopter" | "help" | "helper-management" | "high-priority" | "high-voltage-pole" | "highlight" | "history" | "home" | "horizontal-bar-chart-asc" | "horizontal-bar-chart-desc" | "horizontal-bar-chart" | "horizontal-distribution" | "horizontal-inbetween" | "hurricane" | "id-number" | "image-rotate-left" | "image-rotate-right" | "import" | "inbox-filtered" | "inbox-geo" | "inbox-search" | "inbox-update" | "inbox" | "info-sign" | "inheritance" | "inherited-group" | "inner-join" | "input" | "insert" | "intelligence" | "intersection" | "ip-address" | "issue-closed" | "issue-new" | "issue" | "italic" | "join-table" | "key-backspace" | "key-command" | "key-control" | "key-delete" | "key-enter" | "key-escape" | "key-option" | "key-shift" | "key-tab" | "key" | "known-vehicle" | "lab-test" | "label" | "layer-outline" | "layer" | "layers" | "layout-auto" | "layout-balloon" | "layout-bottom-row-three-tiles" | "layout-bottom-row-two-tiles" | "layout-circle" | "layout-grid" | "layout-group-by" | "layout-hierarchy" | "layout-left-column-three-tiles" | "layout-left-column-two-tiles" | "layout-linear" | "layout-right-column-three-tiles" | "layout-right-column-two-tiles" | "layout-skew-grid" | "layout-sorted-clusters" | "layout-three-columns" | "layout-three-rows" | "layout-top-row-three-tiles" | "layout-top-row-two-tiles" | "layout-two-columns" | "layout-two-rows" | "layout" | "learning" | "left-join" | "lengthen-text" | "less-than-or-equal-to" | "less-than" | "lifesaver" | "lightbulb" | "lightning" | "link" | "list-columns" | "list-detail-view" | "list" | "locate" | "lock" | "locomotive" | "log-in" | "log-out" | "low-voltage-pole" | "manual" | "manually-entered-data" | "many-to-many" | "many-to-one" | "map-create" | "map-marker" | "map" | "maximize" | "media" | "menu-closed" | "menu-open" | "menu" | "merge-columns" | "merge-links" | "microphone" | "minimize" | "minus" | "mobile-phone" | "mobile-video" | "modal-filled" | "modal" | "model" | "moon" | "more" | "mountain" | "move" | "mugshot" | "multi-select" | "music" | "nest" | "new-drawing" | "new-grid-item" | "new-layer" | "new-layers" | "new-link" | "new-object" | "new-person" | "new-prescription" | "new-shield" | "new-text-box" | "ninja" | "not-equal-to" | "notifications-snooze" | "notifications-updated" | "notifications" | "numbered-list" | "numerical" | "office" | "offline" | "oil-field" | "one-column" | "one-to-many" | "one-to-one" | "open-application" | "outdated" | "output" | "page-layout" | "panel-stats" | "panel-table" | "paperclip" | "paragraph" | "paste-variable" | "path-search" | "path" | "pause" | "people" | "percentage" | "person" | "phone-call" | "phone-forward" | "phone" | "pie-chart" | "pin" | "pivot-table" | "pivot" | "play" | "playbook" | "plus" | "polygon-filter" | "power" | "predictive-analysis" | "prescription" | "presentation" | "print" | "projects" | "properties" | "property" | "publish-function" | "pulse" | "rain" | "random" | "range-ring" | "record" | "rect-height" | "rect-width" | "rectangle" | "redo" | "refresh" | "regex" | "regression-chart" | "remove-column-left" | "remove-column-right" | "remove-column" | "remove-row-bottom" | "remove-row-top" | "remove" | "repeat" | "reset" | "resolve" | "rig" | "right-join" | "ring" | "rocket-slant" | "rocket" | "rotate-document" | "rotate-page" | "route" | "satellite" | "saved" | "scatter-plot" | "search-around" | "search-template" | "search-text" | "search" | "segmented-control" | "select" | "selection" | "send-backward" | "send-message" | "send-to-graph" | "send-to-map" | "send-to" | "sensor" | "series-add" | "series-configuration" | "series-derived" | "series-filtered" | "series-search" | "settings" | "shapes" | "share" | "shared-filter" | "shield" | "ship" | "shop" | "shopping-cart" | "shorten-text" | "signal-search" | "sim-card" | "slash" | "small-cross" | "small-info-sign" | "small-minus" | "small-plus" | "small-square" | "small-tick" | "snowflake" | "soccer-ball" | "social-media" | "sort-alphabetical-desc" | "sort-alphabetical" | "sort-asc" | "sort-desc" | "sort-numerical-desc" | "sort-numerical" | "sort" | "spell-check" | "split-columns" | "sports-stadium" | "square" | "stacked-chart" | "stadium-geometry" | "star-empty" | "star" | "step-backward" | "step-chart" | "step-forward" | "stop" | "stopwatch" | "strikethrough" | "style" | "subscript" | "superscript" | "swap-horizontal" | "swap-vertical" | "switch" | "symbol-circle" | "symbol-cross" | "symbol-diamond" | "symbol-rectangle" | "symbol-square" | "symbol-triangle-down" | "symbol-triangle-up" | "syringe" | "table-sync" | "tag" | "take-action" | "tank" | "target" | "taxi" | "team" | "temperature" | "text-highlight" | "th-derived" | "th-disconnect" | "th-filtered" | "th-list" | "th" | "third-party" | "thumbs-down" | "thumbs-up" | "tick-circle" | "tick" | "time" | "timeline-area-chart" | "timeline-bar-chart" | "timeline-events" | "timeline-line-chart" | "tint" | "torch" | "tractor" | "train" | "translate" | "trash" | "tree" | "trending-down" | "trending-up" | "trophy" | "truck" | "two-columns" | "unarchive" | "underline" | "undo" | "ungroup-objects" | "unknown-vehicle" | "unlink" | "unlock" | "unpin" | "unresolve" | "updated" | "upload" | "user" | "variable" | "vector" | "vertical-bar-chart-asc" | "vertical-bar-chart-desc" | "vertical-distribution" | "vertical-inbetween" | "video" | "virus" | "volume-down" | "volume-off" | "volume-up" | "walk" | "warning-sign" | "waterfall-chart" | "waves" | "widget-button" | "widget-footer" | "widget-header" | "widget" | "wind" | "wrench" | "zoom-in" | "zoom-out" | "zoom-to-fit";
|
|
149
|
+
|
|
150
|
+
declare enum OntologyEntityTypeEnum {
|
|
151
|
+
OBJECT_TYPE = "OBJECT_TYPE",
|
|
152
|
+
LINK_TYPE = "LINK_TYPE",
|
|
153
|
+
INTERFACE_TYPE = "INTERFACE_TYPE",
|
|
154
|
+
SHARED_PROPERTY_TYPE = "SHARED_PROPERTY_TYPE",
|
|
155
|
+
ACTION_TYPE = "ACTION_TYPE",
|
|
156
|
+
VALUE_TYPE = "VALUE_TYPE"
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
interface OntologyEntityBase {
|
|
160
|
+
__type: OntologyEntityTypeEnum;
|
|
161
|
+
apiName: string;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
type ActionStatus = "active" | "experimental" | "example" | ActionTypeStatus_deprecated;
|
|
165
|
+
|
|
166
|
+
type SubmissionMetadata = {
|
|
167
|
+
submitButtonDisplayMetadata?: ButtonDisplayMetadata;
|
|
168
|
+
successMessage: string;
|
|
169
|
+
undoButtonConfiguration?: boolean;
|
|
170
|
+
};
|
|
171
|
+
|
|
177
172
|
interface ActionTypeInner {
|
|
178
173
|
apiName: ActionTypeApiName;
|
|
179
174
|
displayName: string;
|
|
@@ -196,55 +191,152 @@ interface ActionTypeInner {
|
|
|
196
191
|
displayAndFormat: DisplayMetadataConfigurationDisplayAndFormat;
|
|
197
192
|
submissionMetadata: SubmissionMetadata;
|
|
198
193
|
}
|
|
194
|
+
type ActionType = OntologyEntityBase & RequiredFields<Partial<ActionTypeInner>, "apiName" | "displayName" | "rules" | "status"> & {
|
|
195
|
+
__type: OntologyEntityTypeEnum.ACTION_TYPE;
|
|
196
|
+
};
|
|
197
|
+
|
|
198
|
+
type MappingValue = CustomMapping | UuidMappingValue | CurrentTimeMappingValue | CurrentUserMappingValue;
|
|
199
|
+
type UuidMappingValue = {
|
|
200
|
+
type: "uuid";
|
|
201
|
+
linkId?: string;
|
|
202
|
+
};
|
|
203
|
+
type CurrentTimeMappingValue = {
|
|
204
|
+
type: "currentTime";
|
|
205
|
+
};
|
|
206
|
+
type CurrentUserMappingValue = {
|
|
207
|
+
type: "currentUser";
|
|
208
|
+
};
|
|
209
|
+
type CustomMapping = OntologyIrLogicRuleValue_parameterId | OntologyIrLogicRuleValue_staticValue | OntologyIrLogicRuleValue_objectParameterPropertyValue | OntologyIrLogicRuleValue_interfaceParameterPropertyValue | OntologyIrLogicRuleValue_synchronousWebhookOutput;
|
|
210
|
+
|
|
211
|
+
declare function addDependency(namespaceNoDot: string, fileInPackage: string): void;
|
|
212
|
+
|
|
199
213
|
type ActionLevelValidationDefinition = Array<ActionLevelValidationRule>;
|
|
200
214
|
type ActionLevelValidationRule = {
|
|
201
215
|
condition: ConditionDefinition;
|
|
202
216
|
displayMetadata?: ValidationRuleDisplayMetadata;
|
|
203
217
|
};
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
218
|
+
|
|
219
|
+
interface Nullability {
|
|
220
|
+
noEmptyCollections: boolean;
|
|
221
|
+
noNulls: boolean;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
type PropertyTypeType = PropertyTypeTypePrimitive | PropertyTypeTypeExotic;
|
|
225
|
+
type PropertyTypeTypePrimitive = "boolean" | "byte" | "date" | "decimal" | "double" | "float" | "integer" | "long" | "short" | "string" | "timestamp";
|
|
226
|
+
type PropertyTypeTypeExotic = "geopoint" | "geoshape" | "mediaReference" | "geotimeSeries" | PropertyTypeTypeMarking | PropertyTypeTypeStruct | PropertyTypeTypeString;
|
|
227
|
+
type PropertyTypeTypeMarking = {
|
|
228
|
+
type: "marking";
|
|
229
|
+
markingType: "MANDATORY" | "CBAC";
|
|
230
|
+
markingInputGroupName: string;
|
|
207
231
|
};
|
|
208
|
-
type
|
|
209
|
-
type: "
|
|
210
|
-
|
|
211
|
-
|
|
232
|
+
type PropertyTypeTypeStruct = {
|
|
233
|
+
type: "struct";
|
|
234
|
+
structDefinition: {
|
|
235
|
+
[api_name: string]: StructPropertyType | Exclude<PropertyTypeTypesWithoutStruct, PropertyTypeTypeMarking>;
|
|
236
|
+
};
|
|
237
|
+
};
|
|
238
|
+
type PropertyTypeTypeString = {
|
|
239
|
+
type: "string";
|
|
240
|
+
isLongText: boolean;
|
|
241
|
+
supportsEfficientLeadingWildcard: boolean;
|
|
242
|
+
supportsExactMatching: boolean;
|
|
243
|
+
};
|
|
244
|
+
type PropertyTypeTypesWithoutStruct = Exclude<PropertyTypeType, PropertyTypeTypeStruct>;
|
|
245
|
+
type Optional<T, K extends keyof T> = Pick<Partial<T>, K> & Omit<T, K>;
|
|
246
|
+
interface StructPropertyType extends Optional<Omit<StructFieldType, "fieldType" | "structFieldRid" | "apiName">, "typeClasses" | "aliases"> {
|
|
247
|
+
fieldType: PropertyTypeTypesWithoutStruct;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
interface SharedPropertyType extends OntologyEntityBase, PropertyType {
|
|
251
|
+
apiName: string;
|
|
252
|
+
nonNameSpacedApiName: string;
|
|
253
|
+
gothamMapping?: SharedPropertyTypeGothamMapping;
|
|
254
|
+
__type: OntologyEntityTypeEnum.SHARED_PROPERTY_TYPE;
|
|
255
|
+
}
|
|
256
|
+
interface PropertyType {
|
|
257
|
+
type: PropertyTypeType;
|
|
258
|
+
array?: boolean;
|
|
259
|
+
description?: string;
|
|
260
|
+
displayName?: string;
|
|
261
|
+
valueType?: OntologyIrValueTypeReferenceWithMetadata;
|
|
262
|
+
visibility?: Visibility;
|
|
263
|
+
typeClasses?: TypeClass[];
|
|
264
|
+
nullability?: Nullability;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
interface InterfacePropertyType {
|
|
268
|
+
sharedPropertyType: SharedPropertyType;
|
|
269
|
+
required: boolean;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
interface InterfaceType extends OntologyEntityBase, Omit<OntologyIrMarketplaceInterfaceType, "properties" | "propertiesV2" | "propertiesV3" | "extendsInterfaces"> {
|
|
273
|
+
propertiesV2: Record<string, InterfacePropertyType>;
|
|
274
|
+
extendsInterfaces: Array<InterfaceType>;
|
|
275
|
+
status: InterfaceTypeStatus;
|
|
276
|
+
__type: OntologyEntityTypeEnum.INTERFACE_TYPE;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
type InterfaceImplementation = {
|
|
280
|
+
implements: InterfaceType;
|
|
281
|
+
propertyMapping: {
|
|
282
|
+
interfaceProperty: string;
|
|
283
|
+
mapsTo: string;
|
|
284
|
+
}[];
|
|
285
|
+
};
|
|
286
|
+
|
|
287
|
+
type ValueTypeDefinitionVersion = OntologyEntityBase & {
|
|
288
|
+
apiName: ValueTypeApiName;
|
|
289
|
+
packageNamespace: string;
|
|
290
|
+
displayMetadata: ValueTypeDisplayMetadata;
|
|
291
|
+
status: ValueTypeStatus;
|
|
292
|
+
version: ValueTypeVersion;
|
|
293
|
+
baseType: BaseType;
|
|
294
|
+
constraints: ValueTypeDataConstraint[];
|
|
295
|
+
exampleValues: ExampleValue[];
|
|
296
|
+
__type: OntologyEntityTypeEnum.VALUE_TYPE;
|
|
212
297
|
};
|
|
213
|
-
type ActionStatus = "active" | "experimental" | "example" | ActionTypeStatus_deprecated;
|
|
214
298
|
|
|
215
299
|
type ObjectTypeStatus = "active" | "experimental" | {
|
|
216
300
|
type: "deprecated";
|
|
217
301
|
message: string;
|
|
218
302
|
deadline: string;
|
|
219
303
|
};
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
304
|
+
|
|
305
|
+
type ObjectPropertyType = RequiredFields<Partial<ObjectPropertyTypeInner>, "apiName" | "type" | "displayName">;
|
|
306
|
+
interface ObjectPropertyTypeInner {
|
|
307
|
+
apiName: string;
|
|
308
|
+
baseFormatter?: OntologyIrBaseFormatter | null | undefined;
|
|
309
|
+
indexedForSearch: boolean;
|
|
310
|
+
typeClasses: Array<{
|
|
311
|
+
kind: string;
|
|
312
|
+
name: string;
|
|
313
|
+
}>;
|
|
314
|
+
type: PropertyTypeType;
|
|
315
|
+
array?: boolean;
|
|
316
|
+
valueType: ValueTypeDefinitionVersion;
|
|
317
|
+
sharedPropertyType: SharedPropertyType;
|
|
226
318
|
description: string | undefined;
|
|
227
|
-
icon: {
|
|
228
|
-
locator: BlueprintIcon;
|
|
229
|
-
color: string;
|
|
230
|
-
} | undefined;
|
|
231
319
|
displayName: string;
|
|
232
|
-
pluralDisplayName: string;
|
|
233
320
|
visibility: Visibility;
|
|
234
|
-
|
|
321
|
+
nullability?: Nullability;
|
|
235
322
|
status?: ObjectTypeStatus;
|
|
323
|
+
editOnly?: boolean;
|
|
236
324
|
}
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
}
|
|
325
|
+
|
|
326
|
+
type ObjectPropertyTypeUserDefinition = RequiredFields<Partial<ObjectPropertyTypeInner>, "type">;
|
|
327
|
+
|
|
328
|
+
type ObjectTypeDatasourceDefinition = ObjectTypeDatasourceDefinition_stream | ObjectTypeDatasourceDefinition_dataset | ObjectTypeDatasourceDefinition_restrictedView;
|
|
329
|
+
interface ObjectTypeDatasourceDefinition_dataset {
|
|
330
|
+
type: "dataset";
|
|
331
|
+
}
|
|
332
|
+
interface ObjectTypeDatasourceDefinition_stream {
|
|
333
|
+
type: "stream";
|
|
334
|
+
retentionPeriod?: string;
|
|
335
|
+
}
|
|
336
|
+
interface ObjectTypeDatasourceDefinition_restrictedView {
|
|
337
|
+
type: "restrictedView";
|
|
338
|
+
}
|
|
339
|
+
|
|
248
340
|
type ObjectTypeDefinition = {
|
|
249
341
|
apiName: string;
|
|
250
342
|
primaryKeyPropertyApiName: string;
|
|
@@ -265,93 +357,108 @@ type ObjectTypeDefinition = {
|
|
|
265
357
|
status?: ObjectTypeStatus;
|
|
266
358
|
datasource?: ObjectTypeDatasourceDefinition;
|
|
267
359
|
};
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
visibility: Visibility;
|
|
276
|
-
nullability?: Nullability;
|
|
277
|
-
status?: ObjectTypeStatus;
|
|
278
|
-
editOnly?: boolean;
|
|
279
|
-
}
|
|
280
|
-
type ObjectPropertyType = RequiredFields<Partial<ObjectPropertyTypeInner>, "apiName" | "type" | "displayName">;
|
|
281
|
-
type ObjectPropertyTypeUserDefinition = RequiredFields<Partial<ObjectPropertyTypeInner>, "type">;
|
|
282
|
-
interface InterfacePropertyType {
|
|
283
|
-
sharedPropertyType: SharedPropertyType;
|
|
284
|
-
required: boolean;
|
|
285
|
-
}
|
|
286
|
-
interface InterfaceType extends OntologyEntityBase, Omit<OntologyIrMarketplaceInterfaceType, "properties" | "propertiesV2" | "propertiesV3" | "extendsInterfaces"> {
|
|
287
|
-
propertiesV2: Record<string, InterfacePropertyType>;
|
|
288
|
-
extendsInterfaces: Array<InterfaceType>;
|
|
289
|
-
status: InterfaceTypeStatus;
|
|
290
|
-
__type: OntologyEntityTypeEnum.INTERFACE_TYPE;
|
|
291
|
-
}
|
|
292
|
-
interface PropertyType {
|
|
293
|
-
type: PropertyTypeType;
|
|
294
|
-
array?: boolean;
|
|
295
|
-
description?: string;
|
|
360
|
+
|
|
361
|
+
declare const MODIFY_OBJECT_PARAMETER: string;
|
|
362
|
+
declare const CREATE_OR_MODIFY_OBJECT_PARAMETER: string;
|
|
363
|
+
type ActionTypeDefinition = Omit<ActionType, "__type">;
|
|
364
|
+
type ActionTypeUserDefinition = {
|
|
365
|
+
objectType: ObjectTypeDefinition;
|
|
366
|
+
apiName?: string;
|
|
296
367
|
displayName?: string;
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
368
|
+
status?: ActionStatus;
|
|
369
|
+
parameterConfiguration?: Record<string, ActionParameterConfiguration>;
|
|
370
|
+
nonParameterMappings?: Record<string, MappingValue>;
|
|
371
|
+
actionLevelValidation?: ActionLevelValidationDefinition;
|
|
372
|
+
excludedProperties?: Array<ParameterId>;
|
|
373
|
+
sections?: Array<ActionSection>;
|
|
374
|
+
defaultFormat?: DisplayMetadataConfigurationDefaultLayout;
|
|
375
|
+
enableLayoutSwitch?: boolean;
|
|
376
|
+
displayAndFormat?: DisplayMetadataConfigurationDisplayAndFormat;
|
|
377
|
+
parameterOrdering?: Array<string>;
|
|
378
|
+
submissionMetadata?: SubmissionMetadata;
|
|
379
|
+
primaryKeyOption?: "autoGenerated" | "userInput";
|
|
380
|
+
};
|
|
381
|
+
type InterfaceActionTypeUserDefinition = {
|
|
382
|
+
interfaceType: InterfaceType;
|
|
383
|
+
objectType?: ObjectTypeDefinition;
|
|
384
|
+
validation?: ActionLevelValidationDefinition;
|
|
385
|
+
excludedProperties?: Array<string>;
|
|
386
|
+
};
|
|
387
|
+
declare function defineCreateInterfaceObjectAction(def: InterfaceActionTypeUserDefinition): ActionType;
|
|
388
|
+
declare function defineCreateObjectAction(def: ActionTypeUserDefinition): ActionType;
|
|
389
|
+
declare function defineModifyInterfaceObjectAction(def: InterfaceActionTypeUserDefinition): ActionType;
|
|
390
|
+
declare function defineModifyObjectAction(def: ActionTypeUserDefinition): ActionType;
|
|
391
|
+
declare function defineDeleteObjectAction(def: ActionTypeUserDefinition): ActionType;
|
|
392
|
+
declare function defineCreateOrModifyObjectAction(def: ActionTypeUserDefinition): ActionType;
|
|
393
|
+
declare function defineAction(actionDef: ActionTypeDefinition): ActionType;
|
|
394
|
+
|
|
395
|
+
type SimplifiedInterfaceTypeStatus = {
|
|
396
|
+
type: "deprecated";
|
|
397
|
+
message: string;
|
|
398
|
+
deadline: string;
|
|
399
|
+
} | {
|
|
400
|
+
type: "active";
|
|
401
|
+
} | {
|
|
402
|
+
type: "experimental";
|
|
309
403
|
};
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
__type: OntologyEntityTypeEnum.SHARED_PROPERTY_TYPE;
|
|
315
|
-
}
|
|
316
|
-
type PropertyTypeType = PropertyTypeTypePrimitive | PropertyTypeTypeExotic;
|
|
317
|
-
type PropertyTypeTypePrimitive = "boolean" | "byte" | "date" | "decimal" | "double" | "float" | "integer" | "long" | "short" | "string" | "timestamp";
|
|
318
|
-
type PropertyTypeTypeExotic = "geopoint" | "geoshape" | "mediaReference" | "geotimeSeries" | PropertyTypeTypeMarking | PropertyTypeTypeStruct | PropertyTypeTypeString;
|
|
319
|
-
type PropertyTypeTypeMarking = {
|
|
320
|
-
type: "marking";
|
|
321
|
-
markingType: "MANDATORY" | "CBAC";
|
|
322
|
-
markingInputGroupName: string;
|
|
404
|
+
type PropertyBase = SharedPropertyType | PropertyTypeType;
|
|
405
|
+
type PropertyWithOptional = {
|
|
406
|
+
required: boolean;
|
|
407
|
+
propertyDefinition: PropertyBase;
|
|
323
408
|
};
|
|
324
|
-
type
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
409
|
+
type InterfaceTypeDefinition = {
|
|
410
|
+
apiName: string;
|
|
411
|
+
displayName?: string;
|
|
412
|
+
description?: string;
|
|
413
|
+
icon?: {
|
|
414
|
+
locator: BlueprintIcon;
|
|
415
|
+
color: string;
|
|
328
416
|
};
|
|
417
|
+
status?: SimplifiedInterfaceTypeStatus;
|
|
418
|
+
properties?: Record<string, PropertyBase | PropertyWithOptional>;
|
|
419
|
+
extends?: InterfaceType | InterfaceType[];
|
|
420
|
+
searchable?: boolean;
|
|
329
421
|
};
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
422
|
+
declare function defineInterface(interfaceDef: InterfaceTypeDefinition): InterfaceType;
|
|
423
|
+
|
|
424
|
+
type ApiNameOrInterfaceType = string | InterfaceType;
|
|
425
|
+
type Many = {
|
|
426
|
+
apiName: string;
|
|
427
|
+
from: InterfaceType;
|
|
428
|
+
toMany: ApiNameOrInterfaceType;
|
|
429
|
+
toOne?: never;
|
|
430
|
+
displayName?: string;
|
|
431
|
+
description?: string;
|
|
432
|
+
required?: boolean;
|
|
335
433
|
};
|
|
336
|
-
type
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
434
|
+
type One = {
|
|
435
|
+
apiName: string;
|
|
436
|
+
from: InterfaceType;
|
|
437
|
+
toOne: ApiNameOrInterfaceType;
|
|
438
|
+
toMany?: never;
|
|
439
|
+
displayName?: string;
|
|
440
|
+
description?: string;
|
|
441
|
+
required?: boolean;
|
|
442
|
+
};
|
|
443
|
+
declare function defineInterfaceLinkConstraint(linkDef: One | Many): void;
|
|
444
|
+
|
|
343
445
|
type LinkType = (OntologyEntityBase & OneToManyLinkTypeDefinition & {
|
|
344
446
|
__type: OntologyEntityTypeEnum.LINK_TYPE;
|
|
345
447
|
}) | (OntologyEntityBase & ManyToManyLinkTypeDefinition & {
|
|
346
448
|
__type: OntologyEntityTypeEnum.LINK_TYPE;
|
|
449
|
+
}) | (OntologyEntityBase & IntermediaryLinkTypeDefinition & {
|
|
450
|
+
__type: OntologyEntityTypeEnum.LINK_TYPE;
|
|
347
451
|
});
|
|
348
452
|
type LinkTypeDefinition = Omit<OntologyEntityBase & OneToManyLinkTypeUserDefinition & {
|
|
349
453
|
__type: OntologyEntityTypeEnum.LINK_TYPE;
|
|
350
454
|
}, "__type"> | Omit<OntologyEntityBase & ManyToManyLinkTypeUserDefinition & {
|
|
351
455
|
__type: OntologyEntityTypeEnum.LINK_TYPE;
|
|
456
|
+
}, "__type"> | Omit<OntologyEntityBase & IntermediaryLinkTypeUserDefinition & {
|
|
457
|
+
__type: OntologyEntityTypeEnum.LINK_TYPE;
|
|
352
458
|
}, "__type">;
|
|
459
|
+
type ObjectTypePropertyApiName = string;
|
|
353
460
|
interface OneToManyLinkTypeDefinition {
|
|
354
|
-
apiName:
|
|
461
|
+
apiName: string;
|
|
355
462
|
one: OneToManyObjectLinkReference;
|
|
356
463
|
toMany: OneToManyObjectLinkReference;
|
|
357
464
|
manyForeignKeyProperty: ObjectTypePropertyApiName;
|
|
@@ -365,7 +472,7 @@ interface OneToManyObjectLinkReference {
|
|
|
365
472
|
metadata: LinkTypeMetadata;
|
|
366
473
|
}
|
|
367
474
|
interface OneToManyLinkTypeUserDefinition {
|
|
368
|
-
apiName:
|
|
475
|
+
apiName: string;
|
|
369
476
|
one: OneToManyObjectLinkReferenceUserDefinition;
|
|
370
477
|
toMany: OneToManyObjectLinkReferenceUserDefinition;
|
|
371
478
|
manyForeignKeyProperty: ObjectTypePropertyApiName;
|
|
@@ -376,7 +483,7 @@ interface OneToManyObjectLinkReferenceUserDefinition {
|
|
|
376
483
|
metadata: LinkTypeMetadataUserDefinition;
|
|
377
484
|
}
|
|
378
485
|
interface ManyToManyLinkTypeDefinition {
|
|
379
|
-
apiName:
|
|
486
|
+
apiName: string;
|
|
380
487
|
many: ManyToManyObjectLinkReference;
|
|
381
488
|
toMany: ManyToManyObjectLinkReference;
|
|
382
489
|
editsEnabled?: boolean;
|
|
@@ -388,7 +495,7 @@ interface ManyToManyObjectLinkReference {
|
|
|
388
495
|
metadata: LinkTypeMetadata;
|
|
389
496
|
}
|
|
390
497
|
interface ManyToManyLinkTypeUserDefinition {
|
|
391
|
-
apiName:
|
|
498
|
+
apiName: string;
|
|
392
499
|
many: ManyToManyObjectLinkReferenceUserDefinition;
|
|
393
500
|
toMany: ManyToManyObjectLinkReferenceUserDefinition;
|
|
394
501
|
}
|
|
@@ -396,6 +503,31 @@ interface ManyToManyObjectLinkReferenceUserDefinition {
|
|
|
396
503
|
object: ObjectTypeDefinition;
|
|
397
504
|
metadata: LinkTypeMetadataUserDefinition;
|
|
398
505
|
}
|
|
506
|
+
interface IntermediaryLinkTypeDefinition {
|
|
507
|
+
apiName: string;
|
|
508
|
+
many: IntermediaryObjectLinkReference;
|
|
509
|
+
toMany: IntermediaryObjectLinkReference;
|
|
510
|
+
intermediaryObjectType: ObjectTypeDefinition;
|
|
511
|
+
editsEnabled?: boolean;
|
|
512
|
+
status?: OntologyIrLinkTypeStatus;
|
|
513
|
+
redacted?: boolean;
|
|
514
|
+
}
|
|
515
|
+
interface IntermediaryObjectLinkReference {
|
|
516
|
+
object: ObjectTypeDefinition;
|
|
517
|
+
metadata: LinkTypeMetadata;
|
|
518
|
+
linkToIntermediary: LinkType;
|
|
519
|
+
}
|
|
520
|
+
interface IntermediaryLinkTypeUserDefinition {
|
|
521
|
+
apiName: string;
|
|
522
|
+
many: IntermediaryObjectLinkReferenceUserDefinition;
|
|
523
|
+
toMany: IntermediaryObjectLinkReferenceUserDefinition;
|
|
524
|
+
intermediaryObjectType: ObjectTypeDefinition;
|
|
525
|
+
}
|
|
526
|
+
interface IntermediaryObjectLinkReferenceUserDefinition {
|
|
527
|
+
object: ObjectTypeDefinition;
|
|
528
|
+
metadata: LinkTypeMetadataUserDefinition;
|
|
529
|
+
linkToIntermediary: LinkType;
|
|
530
|
+
}
|
|
399
531
|
interface LinkTypeMetadataUserDefinition {
|
|
400
532
|
apiName: string;
|
|
401
533
|
displayName?: string;
|
|
@@ -403,6 +535,52 @@ interface LinkTypeMetadataUserDefinition {
|
|
|
403
535
|
visibility?: Visibility;
|
|
404
536
|
groupDisplayName?: string;
|
|
405
537
|
}
|
|
538
|
+
|
|
539
|
+
declare function defineLink(linkDefinition: LinkTypeDefinition): LinkType;
|
|
540
|
+
|
|
541
|
+
declare function defineObject(objectDef: ObjectTypeDefinition): ObjectTypeDefinition;
|
|
542
|
+
declare function uppercaseFirstLetter(s: string | undefined | null): string;
|
|
543
|
+
declare function convertToPluralDisplayName(s: string | undefined | null): string;
|
|
544
|
+
|
|
545
|
+
type ObjectType = OntologyEntityBase & RequiredFields<Partial<ObjectTypeInner>, "apiName" | "primaryKeyPropertyApiName" | "displayName" | "pluralDisplayName" | "titlePropertyApiName"> & {
|
|
546
|
+
datasource?: ObjectTypeDatasourceDefinition;
|
|
547
|
+
__type: OntologyEntityTypeEnum.OBJECT_TYPE;
|
|
548
|
+
};
|
|
549
|
+
interface ObjectTypeInner extends Omit<OntologyIrObjectType, "titlePropertyTypeRid" | "propertyTypes" | "allImplementsInterfaces" | "implementsInterfaces2" | "displayMetadata" | "primaryKeys" | "status"> {
|
|
550
|
+
primaryKeyPropertyApiName: string;
|
|
551
|
+
properties: Array<ObjectPropertyType>;
|
|
552
|
+
titlePropertyApiName: string;
|
|
553
|
+
implementsInterfaces: Array<InterfaceImplementation>;
|
|
554
|
+
description: string | undefined;
|
|
555
|
+
icon: {
|
|
556
|
+
locator: BlueprintIcon;
|
|
557
|
+
color: string;
|
|
558
|
+
} | undefined;
|
|
559
|
+
displayName: string;
|
|
560
|
+
pluralDisplayName: string;
|
|
561
|
+
visibility: Visibility;
|
|
562
|
+
editsEnabled: boolean;
|
|
563
|
+
status?: ObjectTypeStatus;
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
declare function defineOntology(ns: string, body: () => void | Promise<void>, outputDir: string | undefined, dependencyFile?: string, randomnessKey?: string): Promise<OntologyIr>;
|
|
567
|
+
declare function dumpOntologyFullMetadata(): OntologyIr;
|
|
568
|
+
declare function addNamespaceIfNone(apiName: string): string;
|
|
569
|
+
|
|
570
|
+
interface SharedPropertyTypeDefinition {
|
|
571
|
+
apiName: string;
|
|
572
|
+
type: PropertyTypeType;
|
|
573
|
+
array?: boolean;
|
|
574
|
+
description?: string;
|
|
575
|
+
displayName?: string;
|
|
576
|
+
valueType?: OntologyIrValueTypeReferenceWithMetadata;
|
|
577
|
+
visibility?: Visibility;
|
|
578
|
+
typeClasses?: SharedPropertyType["typeClasses"];
|
|
579
|
+
gothamMapping?: SharedPropertyTypeGothamMapping;
|
|
580
|
+
}
|
|
581
|
+
declare function defineSharedPropertyType(sptDef: SharedPropertyTypeDefinition): SharedPropertyType;
|
|
582
|
+
|
|
583
|
+
type ValueTypeType = ValueTypeType_array | ValueTypeType_boolean | ValueTypeType_binary | ValueTypeType_byte | ValueTypeType_date | ValueTypeType_decimal | ValueTypeType_double | ValueTypeType_float | ValueTypeType_integer | ValueTypeType_long | ValueTypeType_map | ValueTypeType_optional | ValueTypeType_short | ValueTypeType_string | ValueTypeType_structV2 | ValueTypeType_timestamp;
|
|
406
584
|
interface ValueTypeType_array {
|
|
407
585
|
constraints: {
|
|
408
586
|
constraint: Extract<DataConstraint, {
|
|
@@ -579,123 +757,6 @@ interface ValueTypeType_timestamp {
|
|
|
579
757
|
type: "timestamp";
|
|
580
758
|
value: "timestamp";
|
|
581
759
|
}
|
|
582
|
-
type ValueTypeType = ValueTypeType_array | ValueTypeType_boolean | ValueTypeType_binary | ValueTypeType_byte | ValueTypeType_date | ValueTypeType_decimal | ValueTypeType_double | ValueTypeType_float | ValueTypeType_integer | ValueTypeType_long | ValueTypeType_map | ValueTypeType_optional | ValueTypeType_short | ValueTypeType_string | ValueTypeType_structV2 | ValueTypeType_timestamp;
|
|
583
|
-
type ValueTypeDefinitionVersion = OntologyEntityBase & {
|
|
584
|
-
apiName: ValueTypeApiName;
|
|
585
|
-
packageNamespace: string;
|
|
586
|
-
displayMetadata: ValueTypeDisplayMetadata;
|
|
587
|
-
status: ValueTypeStatus;
|
|
588
|
-
version: ValueTypeVersion;
|
|
589
|
-
baseType: BaseType;
|
|
590
|
-
constraints: ValueTypeDataConstraint[];
|
|
591
|
-
exampleValues: ExampleValue[];
|
|
592
|
-
__type: OntologyEntityTypeEnum.VALUE_TYPE;
|
|
593
|
-
};
|
|
594
|
-
interface ObjectTypeDatasourceDefinition_dataset {
|
|
595
|
-
type: "dataset";
|
|
596
|
-
}
|
|
597
|
-
interface ObjectTypeDatasourceDefinition_stream {
|
|
598
|
-
type: "stream";
|
|
599
|
-
retentionPeriod?: string;
|
|
600
|
-
}
|
|
601
|
-
interface ObjectTypeDatasourceDefinition_restrictedView {
|
|
602
|
-
type: "restrictedView";
|
|
603
|
-
}
|
|
604
|
-
type ObjectTypeDatasourceDefinition = ObjectTypeDatasourceDefinition_stream | ObjectTypeDatasourceDefinition_dataset | ObjectTypeDatasourceDefinition_restrictedView;
|
|
605
|
-
type ActionParameterTypePrimitive = "boolean" | "booleanList" | "integer" | "integerList" | "long" | "longList" | "double" | "doubleList" | "string" | "stringList" | "decimal" | "decimalList" | "timestamp" | "timestampList" | "geohash" | "geohashList" | "geoshape" | "geoshapeList" | "timeSeriesReference" | "date" | "dateList" | "objectTypeReference" | "attachment" | "attachmentList" | "marking" | "markingList" | "mediaReference" | "mediaReferenceList" | "geotimeSeriesReference" | "geotimeSeriesReferenceList";
|
|
606
|
-
type ActionParameterTypeComplex = OntologyIrBaseParameterType_decimal | OntologyIrBaseParameterType_decimalList | OntologyIrBaseParameterType_timestamp | OntologyIrBaseParameterType_timestampList | OntologyIrBaseParameterType_objectReference | OntologyIrBaseParameterType_objectReferenceList | OntologyIrBaseParameterType_objectSetRid | OntologyIrBaseParameterType_objectTypeReference | OntologyIrBaseParameterType_objectReference | OntologyIrBaseParameterType_interfaceReference | OntologyIrBaseParameterType_interfaceReferenceList | OntologyIrBaseParameterType_struct | OntologyIrBaseParameterType_structList;
|
|
607
|
-
type ActionParameterType = ActionParameterTypePrimitive | ActionParameterTypeComplex;
|
|
608
|
-
|
|
609
|
-
declare function defineCreateInterfaceObjectAction(interfaceType: InterfaceType, objectType?: ObjectTypeDefinition, validation?: ActionLevelValidationDefinition): ActionType;
|
|
610
|
-
declare function defineCreateObjectAction(def: ActionTypeUserDefinition): ActionType;
|
|
611
|
-
declare function defineModifyInterfaceObjectAction(interfaceType: InterfaceType, objectType?: ObjectTypeDefinition, validation?: ActionLevelValidationDefinition): ActionType;
|
|
612
|
-
declare function defineModifyObjectAction(def: ActionTypeUserDefinition): ActionType;
|
|
613
|
-
declare function defineDeleteObjectAction(def: ActionTypeUserDefinition): ActionType;
|
|
614
|
-
declare function defineCreateOrModifyObjectAction(def: ActionTypeUserDefinition): ActionType;
|
|
615
|
-
declare function defineAction(actionDef: ActionTypeDefinition): ActionType;
|
|
616
|
-
|
|
617
|
-
/**
|
|
618
|
-
* Defines a foreign shared property type you want to take as an input to your product. The typeHint field is used for OSDK generation
|
|
619
|
-
*/
|
|
620
|
-
declare function importSharedPropertyType(opts: {
|
|
621
|
-
apiName: string;
|
|
622
|
-
packageName?: string;
|
|
623
|
-
typeHint: PropertyTypeType;
|
|
624
|
-
array?: boolean;
|
|
625
|
-
}): SharedPropertyType;
|
|
626
|
-
|
|
627
|
-
type SimplifiedInterfaceTypeStatus = {
|
|
628
|
-
type: "deprecated";
|
|
629
|
-
message: string;
|
|
630
|
-
deadline: string;
|
|
631
|
-
} | {
|
|
632
|
-
type: "active";
|
|
633
|
-
} | {
|
|
634
|
-
type: "experimental";
|
|
635
|
-
};
|
|
636
|
-
type PropertyBase = SharedPropertyType | PropertyTypeType;
|
|
637
|
-
type PropertyWithOptional = {
|
|
638
|
-
required: boolean;
|
|
639
|
-
propertyDefinition: PropertyBase;
|
|
640
|
-
};
|
|
641
|
-
type InterfaceTypeDefinition = {
|
|
642
|
-
apiName: string;
|
|
643
|
-
displayName?: string;
|
|
644
|
-
description?: string;
|
|
645
|
-
icon?: {
|
|
646
|
-
locator: BlueprintIcon;
|
|
647
|
-
color: string;
|
|
648
|
-
};
|
|
649
|
-
status?: SimplifiedInterfaceTypeStatus;
|
|
650
|
-
properties?: Record<string, PropertyBase | PropertyWithOptional>;
|
|
651
|
-
extends?: InterfaceType | InterfaceType[];
|
|
652
|
-
searchable?: boolean;
|
|
653
|
-
};
|
|
654
|
-
declare function defineInterface(interfaceDef: InterfaceTypeDefinition): InterfaceType;
|
|
655
|
-
|
|
656
|
-
type ApiNameOrInterfaceType = string | InterfaceType;
|
|
657
|
-
type Many = {
|
|
658
|
-
apiName: string;
|
|
659
|
-
from: InterfaceType;
|
|
660
|
-
toMany: ApiNameOrInterfaceType;
|
|
661
|
-
toOne?: never;
|
|
662
|
-
displayName?: string;
|
|
663
|
-
description?: string;
|
|
664
|
-
required?: boolean;
|
|
665
|
-
};
|
|
666
|
-
type One = {
|
|
667
|
-
apiName: string;
|
|
668
|
-
from: InterfaceType;
|
|
669
|
-
toOne: ApiNameOrInterfaceType;
|
|
670
|
-
toMany?: never;
|
|
671
|
-
displayName?: string;
|
|
672
|
-
description?: string;
|
|
673
|
-
required?: boolean;
|
|
674
|
-
};
|
|
675
|
-
declare function defineInterfaceLinkConstraint(linkDef: One | Many): void;
|
|
676
|
-
|
|
677
|
-
declare function defineLink(linkDefinition: LinkTypeDefinition): LinkType;
|
|
678
|
-
|
|
679
|
-
declare function defineObject(objectDef: ObjectTypeDefinition): ObjectTypeDefinition;
|
|
680
|
-
declare function convertToDisplayName(s: string | undefined | null): string;
|
|
681
|
-
declare function convertToPluralDisplayName(s: string | undefined | null): string;
|
|
682
|
-
|
|
683
|
-
declare function defineOntology(ns: string, body: () => void | Promise<void>, outputDir: string | undefined, dependencyFile?: string): Promise<OntologyIr>;
|
|
684
|
-
declare function dumpOntologyFullMetadata(): OntologyIr;
|
|
685
|
-
declare function addNamespaceIfNone(apiName: string): string;
|
|
686
|
-
|
|
687
|
-
interface SharedPropertyTypeDefinition {
|
|
688
|
-
apiName: string;
|
|
689
|
-
type: PropertyTypeType;
|
|
690
|
-
array?: boolean;
|
|
691
|
-
description?: string;
|
|
692
|
-
displayName?: string;
|
|
693
|
-
valueType?: OntologyIrValueTypeReferenceWithMetadata;
|
|
694
|
-
visibility?: Visibility;
|
|
695
|
-
typeClasses?: SharedPropertyType["typeClasses"];
|
|
696
|
-
gothamMapping?: SharedPropertyTypeGothamMapping;
|
|
697
|
-
}
|
|
698
|
-
declare function defineSharedPropertyType(sptDef: SharedPropertyTypeDefinition): SharedPropertyType;
|
|
699
760
|
|
|
700
761
|
type NewValueTypeDefinitionBacking = {
|
|
701
762
|
[Type in ValueTypeType as Type["type"]]: {
|
|
@@ -715,7 +776,15 @@ declare function defineValueType(valueTypeDef: ValueTypeDefinition): ValueTypeDe
|
|
|
715
776
|
|
|
716
777
|
declare function importOntologyEntity<T extends OntologyEntityBase>(e: T): void;
|
|
717
778
|
|
|
718
|
-
|
|
779
|
+
/**
|
|
780
|
+
* Defines a foreign shared property type you want to take as an input to your product. The typeHint field is used for OSDK generation
|
|
781
|
+
*/
|
|
782
|
+
declare function importSharedPropertyType(opts: {
|
|
783
|
+
apiName: string;
|
|
784
|
+
packageName?: string;
|
|
785
|
+
typeHint: PropertyTypeType;
|
|
786
|
+
array?: boolean;
|
|
787
|
+
}): SharedPropertyType;
|
|
719
788
|
|
|
720
789
|
/**
|
|
721
790
|
* Wraps an OntologyEntityType with a Proxy that calls importOntologyEntity when properties are accessed.
|
|
@@ -725,4 +794,6 @@ declare function convertType(type: PropertyTypeType): OntologyIrType;
|
|
|
725
794
|
*/
|
|
726
795
|
declare function wrapWithProxy<T extends OntologyEntityBase>(entity: T): T;
|
|
727
796
|
|
|
728
|
-
|
|
797
|
+
declare function propertyTypeTypeToOntologyIrType(type: PropertyTypeType): OntologyIrType;
|
|
798
|
+
|
|
799
|
+
export { type ActionParameterAllowedValues, type ActionParameterConditionalOverride, type ActionParameterConfiguration, type ActionParameterValidation, type ActionSection, type ActionType, CREATE_OR_MODIFY_OBJECT_PARAMETER, type ConditionDefinition, type CurrentTimeMappingValue, type CurrentUserMappingValue, type CustomMapping, type InterfaceType, type LinkType, MODIFY_OBJECT_PARAMETER, type MappingValue, type ObjectPropertyType, type ObjectType, OntologyEntityTypeEnum, type PropertyTypeType, type SectionConditionalOverride, type SharedPropertyType, type SubmissionMetadata, type UuidMappingValue, type ValueTypeDefinitionVersion, addDependency, addNamespaceIfNone, uppercaseFirstLetter as convertToDisplayName, convertToPluralDisplayName, propertyTypeTypeToOntologyIrType as convertType, main as default, defineAction, defineCreateInterfaceObjectAction, defineCreateObjectAction, defineCreateOrModifyObjectAction, defineDeleteObjectAction, defineInterface, defineInterfaceLinkConstraint, defineLink, defineModifyInterfaceObjectAction, defineModifyObjectAction, defineObject, defineOntology, defineSharedPropertyType, defineValueType, dumpOntologyFullMetadata, importOntologyEntity, importSharedPropertyType, wrapWithProxy };
|