@osdk/maker 0.13.0-beta.11 → 0.13.0-beta.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (511) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/README.md +6 -2
  3. package/build/browser/api/action/ActionLevelValidationDefinition.js +2 -0
  4. package/build/browser/api/action/ActionLevelValidationDefinition.js.map +1 -0
  5. package/build/browser/api/action/ActionParameter.js +2 -0
  6. package/build/browser/api/action/ActionParameter.js.map +1 -0
  7. package/build/browser/api/action/ActionParameterAllowedValues.js +2 -0
  8. package/build/browser/api/action/ActionParameterAllowedValues.js.map +1 -0
  9. package/build/browser/api/action/ActionParameterConditionalOverride.js +2 -0
  10. package/build/browser/api/action/ActionParameterConditionalOverride.js.map +1 -0
  11. package/build/browser/api/action/ActionParameterConfiguration.js +2 -0
  12. package/build/browser/api/action/ActionParameterConfiguration.js.map +1 -0
  13. package/build/browser/api/action/ActionParameterType.js +22 -0
  14. package/build/browser/api/action/ActionParameterType.js.map +1 -0
  15. package/build/browser/api/action/ActionSection.js +2 -0
  16. package/build/browser/api/action/ActionSection.js.map +1 -0
  17. package/build/browser/api/action/ActionStatus.js +2 -0
  18. package/build/browser/api/action/ActionStatus.js.map +1 -0
  19. package/build/browser/api/action/ActionType.js +2 -0
  20. package/build/browser/api/action/ActionType.js.map +1 -0
  21. package/build/browser/api/action/ActionValidationRule.js +2 -0
  22. package/build/browser/api/action/ActionValidationRule.js.map +1 -0
  23. package/build/browser/api/action/ConditionDefinition.js +2 -0
  24. package/build/browser/api/action/ConditionDefinition.js.map +1 -0
  25. package/build/browser/api/action/MappingValue.js +2 -0
  26. package/build/browser/api/action/MappingValue.js.map +1 -0
  27. package/build/browser/api/action/SectionConditionalOverride.js +2 -0
  28. package/build/browser/api/action/SectionConditionalOverride.js.map +1 -0
  29. package/build/browser/api/action/SubmissionMetadata.js +2 -0
  30. package/build/browser/api/action/SubmissionMetadata.js.map +1 -0
  31. package/build/browser/api/common/BlueprintIcons.js +2 -0
  32. package/build/browser/api/common/BlueprintIcons.js.map +1 -0
  33. package/build/browser/api/common/OntologyDefinition.js +2 -0
  34. package/build/browser/api/common/OntologyDefinition.js.map +1 -0
  35. package/build/browser/api/common/OntologyEntityBase.js +2 -0
  36. package/build/browser/api/common/OntologyEntityBase.js.map +1 -0
  37. package/build/browser/api/{types.js → common/OntologyEntityTypeEnum.js} +2 -8
  38. package/build/browser/api/common/OntologyEntityTypeEnum.js.map +1 -0
  39. package/build/browser/api/common/OntologyEntityTypeMapping.js +2 -0
  40. package/build/browser/api/common/OntologyEntityTypeMapping.js.map +1 -0
  41. package/build/browser/api/common/TypeClass.js +2 -0
  42. package/build/browser/api/common/TypeClass.js.map +1 -0
  43. package/build/browser/api/defineAction.js +42 -54
  44. package/build/browser/api/defineAction.js.map +1 -1
  45. package/build/browser/api/defineInterface.js +7 -32
  46. package/build/browser/api/defineInterface.js.map +1 -1
  47. package/build/browser/api/defineInterfaceLinkConstraint.js +3 -2
  48. package/build/browser/api/defineInterfaceLinkConstraint.js.map +1 -1
  49. package/build/browser/api/defineLink.js +3 -3
  50. package/build/browser/api/defineLink.js.map +1 -1
  51. package/build/browser/api/defineObject.js +9 -29
  52. package/build/browser/api/defineObject.js.map +1 -1
  53. package/build/browser/api/defineOntology.js +14 -557
  54. package/build/browser/api/defineOntology.js.map +1 -1
  55. package/build/browser/api/defineSpt.js +1 -1
  56. package/build/browser/api/defineSpt.js.map +1 -1
  57. package/build/browser/api/defineValueType.js +1 -1
  58. package/build/browser/api/defineValueType.js.map +1 -1
  59. package/build/browser/api/importOntologyEntity.js +1 -1
  60. package/build/browser/api/importOntologyEntity.js.map +1 -1
  61. package/build/browser/api/{defineImportSpt.js → importSharedPropertyType.js} +2 -3
  62. package/build/browser/api/importSharedPropertyType.js.map +1 -0
  63. package/build/browser/api/interface/InterfacePropertyType.js +2 -0
  64. package/build/browser/api/interface/InterfacePropertyType.js.map +1 -0
  65. package/build/browser/api/interface/InterfaceType.js +2 -0
  66. package/build/browser/api/interface/InterfaceType.js.map +1 -0
  67. package/build/browser/api/interface/getFlattenedInterfaceProperties.js +27 -0
  68. package/build/browser/api/interface/getFlattenedInterfaceProperties.js.map +1 -0
  69. package/build/browser/api/interface/mapSimplifiedStatusToInterfaceTypeStatus.js +42 -0
  70. package/build/browser/api/interface/mapSimplifiedStatusToInterfaceTypeStatus.js.map +1 -0
  71. package/build/browser/api/links/LinkType.js +2 -0
  72. package/build/browser/api/links/LinkType.js.map +1 -0
  73. package/build/browser/api/namespace/combineApiNamespaceIfMissing.js +20 -0
  74. package/build/browser/api/namespace/combineApiNamespaceIfMissing.js.map +1 -0
  75. package/build/browser/api/object/InterfaceImplementation.js +2 -0
  76. package/build/browser/api/object/InterfaceImplementation.js.map +1 -0
  77. package/build/browser/api/object/ObjectPropertyType.js +2 -0
  78. package/build/browser/api/object/ObjectPropertyType.js.map +1 -0
  79. package/build/browser/api/object/ObjectPropertyTypeUserDefinition.js +2 -0
  80. package/build/browser/api/object/ObjectPropertyTypeUserDefinition.js.map +1 -0
  81. package/build/browser/api/object/ObjectType.js +2 -0
  82. package/build/browser/api/object/ObjectType.js.map +1 -0
  83. package/build/browser/api/object/ObjectTypeDatasourceDefinition.js +2 -0
  84. package/build/browser/api/object/ObjectTypeDatasourceDefinition.js.map +1 -0
  85. package/build/browser/api/object/ObjectTypeDefinition.js +2 -0
  86. package/build/browser/api/object/ObjectTypeDefinition.js.map +1 -0
  87. package/build/browser/api/object/ObjectTypeStatus.js +2 -0
  88. package/build/browser/api/object/ObjectTypeStatus.js.map +1 -0
  89. package/build/browser/api/objectStatus.test.js.map +1 -1
  90. package/build/browser/api/overall.test.js +564 -7
  91. package/build/browser/api/overall.test.js.map +1 -1
  92. package/build/browser/api/properties/Nullability.js +2 -0
  93. package/build/browser/api/properties/Nullability.js.map +1 -0
  94. package/build/browser/api/properties/PropertyTypeType.js +34 -0
  95. package/build/browser/api/properties/PropertyTypeType.js.map +1 -0
  96. package/build/browser/api/properties/SharedPropertyType.js +2 -0
  97. package/build/browser/api/properties/SharedPropertyType.js.map +1 -0
  98. package/build/browser/api/propertyConversionUtils.js +0 -238
  99. package/build/browser/api/propertyConversionUtils.js.map +1 -1
  100. package/build/browser/api/values/ValueTypeDefinitionVersion.js +2 -0
  101. package/build/browser/api/values/ValueTypeDefinitionVersion.js.map +1 -0
  102. package/build/browser/api/values/ValueTypeType.js +2 -0
  103. package/build/browser/api/values/ValueTypeType.js.map +1 -0
  104. package/build/browser/api/wrapWithProxy.js +1 -0
  105. package/build/browser/api/wrapWithProxy.js.map +1 -1
  106. package/build/browser/cli/main.js +1 -1
  107. package/build/browser/conversion/toConjure/distributeTypeHelper.js +23 -0
  108. package/build/browser/conversion/toConjure/distributeTypeHelper.js.map +1 -0
  109. package/build/browser/conversion/toMarketplace/convertActionParameterConditionalOverride.js +88 -0
  110. package/build/browser/conversion/toMarketplace/convertActionParameterConditionalOverride.js.map +1 -0
  111. package/build/browser/conversion/toMarketplace/convertActionParameters.js +31 -0
  112. package/build/browser/conversion/toMarketplace/convertActionParameters.js.map +1 -0
  113. package/build/browser/conversion/toMarketplace/convertActionSections.js +43 -0
  114. package/build/browser/conversion/toMarketplace/convertActionSections.js.map +1 -0
  115. package/build/browser/conversion/toMarketplace/convertActionValidation.js +93 -0
  116. package/build/browser/conversion/toMarketplace/convertActionValidation.js.map +1 -0
  117. package/build/browser/conversion/toMarketplace/convertActionVisibility.js +41 -0
  118. package/build/browser/conversion/toMarketplace/convertActionVisibility.js.map +1 -0
  119. package/build/browser/conversion/toMarketplace/convertCardinality.js +23 -0
  120. package/build/browser/conversion/toMarketplace/convertCardinality.js.map +1 -0
  121. package/build/browser/conversion/toMarketplace/convertConditionDefinition.js +86 -0
  122. package/build/browser/conversion/toMarketplace/convertConditionDefinition.js.map +1 -0
  123. package/build/browser/conversion/toMarketplace/convertDataConstraintToDataConstraints.js +26 -0
  124. package/build/browser/conversion/toMarketplace/convertDataConstraintToDataConstraints.js.map +1 -0
  125. package/build/browser/conversion/toMarketplace/convertDatasourceDefinition.js +89 -0
  126. package/build/browser/conversion/toMarketplace/convertDatasourceDefinition.js.map +1 -0
  127. package/build/browser/conversion/toMarketplace/convertInterface.js +47 -0
  128. package/build/browser/conversion/toMarketplace/convertInterface.js.map +1 -0
  129. package/build/browser/conversion/toMarketplace/convertLink.js +119 -0
  130. package/build/browser/conversion/toMarketplace/convertLink.js.map +1 -0
  131. package/build/browser/conversion/toMarketplace/convertMappingValue.js +41 -0
  132. package/build/browser/conversion/toMarketplace/convertMappingValue.js.map +1 -0
  133. package/build/browser/conversion/toMarketplace/convertNullabilityToDataConstraint.js +43 -0
  134. package/build/browser/conversion/toMarketplace/convertNullabilityToDataConstraint.js.map +1 -0
  135. package/build/browser/conversion/toMarketplace/convertObject.js +108 -0
  136. package/build/browser/conversion/toMarketplace/convertObject.js.map +1 -0
  137. package/build/browser/conversion/toMarketplace/convertObjectPropertyType.js +53 -0
  138. package/build/browser/conversion/toMarketplace/convertObjectPropertyType.js.map +1 -0
  139. package/build/browser/conversion/toMarketplace/convertOntologyDefinition.js +28 -0
  140. package/build/browser/conversion/toMarketplace/convertOntologyDefinition.js.map +1 -0
  141. package/build/browser/conversion/toMarketplace/convertOntologyDefinitionToWireBlockData.js +57 -0
  142. package/build/browser/conversion/toMarketplace/convertOntologyDefinitionToWireBlockData.js.map +1 -0
  143. package/build/browser/conversion/toMarketplace/convertOntologyToValueTypeIr.js +24 -0
  144. package/build/browser/conversion/toMarketplace/convertOntologyToValueTypeIr.js.map +1 -0
  145. package/build/browser/conversion/toMarketplace/convertSectionConditionalOverride.js +35 -0
  146. package/build/browser/conversion/toMarketplace/convertSectionConditionalOverride.js.map +1 -0
  147. package/build/browser/conversion/toMarketplace/convertSpt.js +62 -0
  148. package/build/browser/conversion/toMarketplace/convertSpt.js.map +1 -0
  149. package/build/browser/conversion/toMarketplace/convertValueType.js +25 -0
  150. package/build/browser/conversion/toMarketplace/convertValueType.js.map +1 -0
  151. package/build/browser/conversion/toMarketplace/convertValueTypeDataConstraints.js +30 -0
  152. package/build/browser/conversion/toMarketplace/convertValueTypeDataConstraints.js.map +1 -0
  153. package/build/browser/conversion/toMarketplace/convertValueTypesToIr.js +34 -0
  154. package/build/browser/conversion/toMarketplace/convertValueTypesToIr.js.map +1 -0
  155. package/build/browser/conversion/toMarketplace/dataConstraintToPropertyTypeDataConstraint.js +83 -0
  156. package/build/browser/conversion/toMarketplace/dataConstraintToPropertyTypeDataConstraint.js.map +1 -0
  157. package/build/browser/conversion/toMarketplace/getFormContentOrdering.js +39 -0
  158. package/build/browser/conversion/toMarketplace/getFormContentOrdering.js.map +1 -0
  159. package/build/browser/conversion/toMarketplace/propertyTypeTypeToOntologyIrType.js +124 -0
  160. package/build/browser/conversion/toMarketplace/propertyTypeTypeToOntologyIrType.js.map +1 -0
  161. package/build/browser/index.js +5 -5
  162. package/build/browser/index.js.map +1 -1
  163. package/build/browser/util/OptionalFields.js +2 -0
  164. package/build/browser/util/OptionalFields.js.map +1 -0
  165. package/build/browser/util/RequiredFields.js +2 -0
  166. package/build/browser/util/RequiredFields.js.map +1 -0
  167. package/build/cjs/index.cjs +1043 -989
  168. package/build/cjs/index.cjs.map +1 -1
  169. package/build/cjs/index.d.cts +388 -346
  170. package/build/esm/api/action/ActionLevelValidationDefinition.js +2 -0
  171. package/build/esm/api/action/ActionLevelValidationDefinition.js.map +1 -0
  172. package/build/esm/api/action/ActionParameter.js +2 -0
  173. package/build/esm/api/action/ActionParameter.js.map +1 -0
  174. package/build/esm/api/action/ActionParameterAllowedValues.js +2 -0
  175. package/build/esm/api/action/ActionParameterAllowedValues.js.map +1 -0
  176. package/build/esm/api/action/ActionParameterConditionalOverride.js +2 -0
  177. package/build/esm/api/action/ActionParameterConditionalOverride.js.map +1 -0
  178. package/build/esm/api/action/ActionParameterConfiguration.js +2 -0
  179. package/build/esm/api/action/ActionParameterConfiguration.js.map +1 -0
  180. package/build/esm/api/action/ActionParameterType.js +22 -0
  181. package/build/esm/api/action/ActionParameterType.js.map +1 -0
  182. package/build/esm/api/action/ActionSection.js +2 -0
  183. package/build/esm/api/action/ActionSection.js.map +1 -0
  184. package/build/esm/api/action/ActionStatus.js +2 -0
  185. package/build/esm/api/action/ActionStatus.js.map +1 -0
  186. package/build/esm/api/action/ActionType.js +2 -0
  187. package/build/esm/api/action/ActionType.js.map +1 -0
  188. package/build/esm/api/action/ActionValidationRule.js +2 -0
  189. package/build/esm/api/action/ActionValidationRule.js.map +1 -0
  190. package/build/esm/api/action/ConditionDefinition.js +2 -0
  191. package/build/esm/api/action/ConditionDefinition.js.map +1 -0
  192. package/build/esm/api/action/MappingValue.js +2 -0
  193. package/build/esm/api/action/MappingValue.js.map +1 -0
  194. package/build/esm/api/action/SectionConditionalOverride.js +2 -0
  195. package/build/esm/api/action/SectionConditionalOverride.js.map +1 -0
  196. package/build/esm/api/action/SubmissionMetadata.js +2 -0
  197. package/build/esm/api/action/SubmissionMetadata.js.map +1 -0
  198. package/build/esm/api/common/BlueprintIcons.js +2 -0
  199. package/build/esm/api/common/BlueprintIcons.js.map +1 -0
  200. package/build/esm/api/common/OntologyDefinition.js +2 -0
  201. package/build/esm/api/common/OntologyDefinition.js.map +1 -0
  202. package/build/esm/api/common/OntologyEntityBase.js +2 -0
  203. package/build/esm/api/common/OntologyEntityBase.js.map +1 -0
  204. package/build/esm/api/{types.js → common/OntologyEntityTypeEnum.js} +2 -8
  205. package/build/esm/api/common/OntologyEntityTypeEnum.js.map +1 -0
  206. package/build/esm/api/common/OntologyEntityTypeMapping.js +2 -0
  207. package/build/esm/api/common/OntologyEntityTypeMapping.js.map +1 -0
  208. package/build/esm/api/common/TypeClass.js +2 -0
  209. package/build/esm/api/common/TypeClass.js.map +1 -0
  210. package/build/esm/api/defineAction.js +42 -54
  211. package/build/esm/api/defineAction.js.map +1 -1
  212. package/build/esm/api/defineInterface.js +7 -32
  213. package/build/esm/api/defineInterface.js.map +1 -1
  214. package/build/esm/api/defineInterfaceLinkConstraint.js +3 -2
  215. package/build/esm/api/defineInterfaceLinkConstraint.js.map +1 -1
  216. package/build/esm/api/defineLink.js +3 -3
  217. package/build/esm/api/defineLink.js.map +1 -1
  218. package/build/esm/api/defineObject.js +9 -29
  219. package/build/esm/api/defineObject.js.map +1 -1
  220. package/build/esm/api/defineOntology.js +14 -557
  221. package/build/esm/api/defineOntology.js.map +1 -1
  222. package/build/esm/api/defineSpt.js +1 -1
  223. package/build/esm/api/defineSpt.js.map +1 -1
  224. package/build/esm/api/defineValueType.js +1 -1
  225. package/build/esm/api/defineValueType.js.map +1 -1
  226. package/build/esm/api/importOntologyEntity.js +1 -1
  227. package/build/esm/api/importOntologyEntity.js.map +1 -1
  228. package/build/esm/api/{defineImportSpt.js → importSharedPropertyType.js} +2 -3
  229. package/build/esm/api/importSharedPropertyType.js.map +1 -0
  230. package/build/esm/api/interface/InterfacePropertyType.js +2 -0
  231. package/build/esm/api/interface/InterfacePropertyType.js.map +1 -0
  232. package/build/esm/api/interface/InterfaceType.js +2 -0
  233. package/build/esm/api/interface/InterfaceType.js.map +1 -0
  234. package/build/esm/api/interface/getFlattenedInterfaceProperties.js +27 -0
  235. package/build/esm/api/interface/getFlattenedInterfaceProperties.js.map +1 -0
  236. package/build/esm/api/interface/mapSimplifiedStatusToInterfaceTypeStatus.js +42 -0
  237. package/build/esm/api/interface/mapSimplifiedStatusToInterfaceTypeStatus.js.map +1 -0
  238. package/build/esm/api/links/LinkType.js +2 -0
  239. package/build/esm/api/links/LinkType.js.map +1 -0
  240. package/build/esm/api/namespace/combineApiNamespaceIfMissing.js +20 -0
  241. package/build/esm/api/namespace/combineApiNamespaceIfMissing.js.map +1 -0
  242. package/build/esm/api/object/InterfaceImplementation.js +2 -0
  243. package/build/esm/api/object/InterfaceImplementation.js.map +1 -0
  244. package/build/esm/api/object/ObjectPropertyType.js +2 -0
  245. package/build/esm/api/object/ObjectPropertyType.js.map +1 -0
  246. package/build/esm/api/object/ObjectPropertyTypeUserDefinition.js +2 -0
  247. package/build/esm/api/object/ObjectPropertyTypeUserDefinition.js.map +1 -0
  248. package/build/esm/api/object/ObjectType.js +2 -0
  249. package/build/esm/api/object/ObjectType.js.map +1 -0
  250. package/build/esm/api/object/ObjectTypeDatasourceDefinition.js +2 -0
  251. package/build/esm/api/object/ObjectTypeDatasourceDefinition.js.map +1 -0
  252. package/build/esm/api/object/ObjectTypeDefinition.js +2 -0
  253. package/build/esm/api/object/ObjectTypeDefinition.js.map +1 -0
  254. package/build/esm/api/object/ObjectTypeStatus.js +2 -0
  255. package/build/esm/api/object/ObjectTypeStatus.js.map +1 -0
  256. package/build/esm/api/objectStatus.test.js.map +1 -1
  257. package/build/esm/api/overall.test.js +564 -7
  258. package/build/esm/api/overall.test.js.map +1 -1
  259. package/build/esm/api/properties/Nullability.js +2 -0
  260. package/build/esm/api/properties/Nullability.js.map +1 -0
  261. package/build/esm/api/properties/PropertyTypeType.js +34 -0
  262. package/build/esm/api/properties/PropertyTypeType.js.map +1 -0
  263. package/build/esm/api/properties/SharedPropertyType.js +2 -0
  264. package/build/esm/api/properties/SharedPropertyType.js.map +1 -0
  265. package/build/esm/api/propertyConversionUtils.js +0 -238
  266. package/build/esm/api/propertyConversionUtils.js.map +1 -1
  267. package/build/esm/api/values/ValueTypeDefinitionVersion.js +2 -0
  268. package/build/esm/api/values/ValueTypeDefinitionVersion.js.map +1 -0
  269. package/build/esm/api/values/ValueTypeType.js +2 -0
  270. package/build/esm/api/values/ValueTypeType.js.map +1 -0
  271. package/build/esm/api/wrapWithProxy.js +1 -0
  272. package/build/esm/api/wrapWithProxy.js.map +1 -1
  273. package/build/esm/cli/main.js +1 -1
  274. package/build/esm/conversion/toConjure/distributeTypeHelper.js +23 -0
  275. package/build/esm/conversion/toConjure/distributeTypeHelper.js.map +1 -0
  276. package/build/esm/conversion/toMarketplace/convertActionParameterConditionalOverride.js +88 -0
  277. package/build/esm/conversion/toMarketplace/convertActionParameterConditionalOverride.js.map +1 -0
  278. package/build/esm/conversion/toMarketplace/convertActionParameters.js +31 -0
  279. package/build/esm/conversion/toMarketplace/convertActionParameters.js.map +1 -0
  280. package/build/esm/conversion/toMarketplace/convertActionSections.js +43 -0
  281. package/build/esm/conversion/toMarketplace/convertActionSections.js.map +1 -0
  282. package/build/esm/conversion/toMarketplace/convertActionValidation.js +93 -0
  283. package/build/esm/conversion/toMarketplace/convertActionValidation.js.map +1 -0
  284. package/build/esm/conversion/toMarketplace/convertActionVisibility.js +41 -0
  285. package/build/esm/conversion/toMarketplace/convertActionVisibility.js.map +1 -0
  286. package/build/esm/conversion/toMarketplace/convertCardinality.js +23 -0
  287. package/build/esm/conversion/toMarketplace/convertCardinality.js.map +1 -0
  288. package/build/esm/conversion/toMarketplace/convertConditionDefinition.js +86 -0
  289. package/build/esm/conversion/toMarketplace/convertConditionDefinition.js.map +1 -0
  290. package/build/esm/conversion/toMarketplace/convertDataConstraintToDataConstraints.js +26 -0
  291. package/build/esm/conversion/toMarketplace/convertDataConstraintToDataConstraints.js.map +1 -0
  292. package/build/esm/conversion/toMarketplace/convertDatasourceDefinition.js +89 -0
  293. package/build/esm/conversion/toMarketplace/convertDatasourceDefinition.js.map +1 -0
  294. package/build/esm/conversion/toMarketplace/convertInterface.js +47 -0
  295. package/build/esm/conversion/toMarketplace/convertInterface.js.map +1 -0
  296. package/build/esm/conversion/toMarketplace/convertLink.js +119 -0
  297. package/build/esm/conversion/toMarketplace/convertLink.js.map +1 -0
  298. package/build/esm/conversion/toMarketplace/convertMappingValue.js +41 -0
  299. package/build/esm/conversion/toMarketplace/convertMappingValue.js.map +1 -0
  300. package/build/esm/conversion/toMarketplace/convertNullabilityToDataConstraint.js +43 -0
  301. package/build/esm/conversion/toMarketplace/convertNullabilityToDataConstraint.js.map +1 -0
  302. package/build/esm/conversion/toMarketplace/convertObject.js +108 -0
  303. package/build/esm/conversion/toMarketplace/convertObject.js.map +1 -0
  304. package/build/esm/conversion/toMarketplace/convertObjectPropertyType.js +53 -0
  305. package/build/esm/conversion/toMarketplace/convertObjectPropertyType.js.map +1 -0
  306. package/build/esm/conversion/toMarketplace/convertOntologyDefinition.js +28 -0
  307. package/build/esm/conversion/toMarketplace/convertOntologyDefinition.js.map +1 -0
  308. package/build/esm/conversion/toMarketplace/convertOntologyDefinitionToWireBlockData.js +57 -0
  309. package/build/esm/conversion/toMarketplace/convertOntologyDefinitionToWireBlockData.js.map +1 -0
  310. package/build/esm/conversion/toMarketplace/convertOntologyToValueTypeIr.js +24 -0
  311. package/build/esm/conversion/toMarketplace/convertOntologyToValueTypeIr.js.map +1 -0
  312. package/build/esm/conversion/toMarketplace/convertSectionConditionalOverride.js +35 -0
  313. package/build/esm/conversion/toMarketplace/convertSectionConditionalOverride.js.map +1 -0
  314. package/build/esm/conversion/toMarketplace/convertSpt.js +62 -0
  315. package/build/esm/conversion/toMarketplace/convertSpt.js.map +1 -0
  316. package/build/esm/conversion/toMarketplace/convertValueType.js +25 -0
  317. package/build/esm/conversion/toMarketplace/convertValueType.js.map +1 -0
  318. package/build/esm/conversion/toMarketplace/convertValueTypeDataConstraints.js +30 -0
  319. package/build/esm/conversion/toMarketplace/convertValueTypeDataConstraints.js.map +1 -0
  320. package/build/esm/conversion/toMarketplace/convertValueTypesToIr.js +34 -0
  321. package/build/esm/conversion/toMarketplace/convertValueTypesToIr.js.map +1 -0
  322. package/build/esm/conversion/toMarketplace/dataConstraintToPropertyTypeDataConstraint.js +83 -0
  323. package/build/esm/conversion/toMarketplace/dataConstraintToPropertyTypeDataConstraint.js.map +1 -0
  324. package/build/esm/conversion/toMarketplace/getFormContentOrdering.js +39 -0
  325. package/build/esm/conversion/toMarketplace/getFormContentOrdering.js.map +1 -0
  326. package/build/esm/conversion/toMarketplace/propertyTypeTypeToOntologyIrType.js +124 -0
  327. package/build/esm/conversion/toMarketplace/propertyTypeTypeToOntologyIrType.js.map +1 -0
  328. package/build/esm/index.js +5 -5
  329. package/build/esm/index.js.map +1 -1
  330. package/build/esm/util/OptionalFields.js +2 -0
  331. package/build/esm/util/OptionalFields.js.map +1 -0
  332. package/build/esm/util/RequiredFields.js +2 -0
  333. package/build/esm/util/RequiredFields.js.map +1 -0
  334. package/build/types/api/action/ActionLevelValidationDefinition.d.ts +7 -0
  335. package/build/types/api/action/ActionLevelValidationDefinition.d.ts.map +1 -0
  336. package/build/types/api/action/ActionParameter.d.ts +14 -0
  337. package/build/types/api/action/ActionParameter.d.ts.map +1 -0
  338. package/build/types/api/action/ActionParameterAllowedValues.d.ts +50 -0
  339. package/build/types/api/action/ActionParameterAllowedValues.d.ts.map +1 -0
  340. package/build/types/api/action/ActionParameterConditionalOverride.d.ts +26 -0
  341. package/build/types/api/action/ActionParameterConditionalOverride.d.ts.map +1 -0
  342. package/build/types/api/action/ActionParameterConfiguration.d.ts +20 -0
  343. package/build/types/api/action/ActionParameterConfiguration.d.ts.map +1 -0
  344. package/build/types/api/action/ActionParameterType.d.ts +6 -0
  345. package/build/types/api/action/ActionParameterType.d.ts.map +1 -0
  346. package/build/types/api/action/ActionSection.d.ts +13 -0
  347. package/build/types/api/action/ActionSection.d.ts.map +1 -0
  348. package/build/types/api/action/ActionStatus.d.ts +2 -0
  349. package/build/types/api/action/ActionStatus.d.ts.map +1 -0
  350. package/build/types/api/action/ActionType.d.ts +36 -0
  351. package/build/types/api/action/ActionType.d.ts.map +1 -0
  352. package/build/types/api/action/ActionValidationRule.d.ts +2 -0
  353. package/build/types/api/action/ActionValidationRule.d.ts.map +1 -0
  354. package/build/types/api/action/ConditionDefinition.d.ts +15 -0
  355. package/build/types/api/action/ConditionDefinition.d.ts.map +1 -0
  356. package/build/types/api/action/MappingValue.d.ts +13 -0
  357. package/build/types/api/action/MappingValue.d.ts.map +1 -0
  358. package/build/types/api/action/SectionConditionalOverride.d.ts +2 -0
  359. package/build/types/api/action/SectionConditionalOverride.d.ts.map +1 -0
  360. package/build/types/api/action/SubmissionMetadata.d.ts +6 -0
  361. package/build/types/api/action/SubmissionMetadata.d.ts.map +1 -0
  362. package/build/types/api/{iconNames.d.ts.map → common/BlueprintIcons.d.ts.map} +1 -1
  363. package/build/types/api/common/OntologyDefinition.d.ts +6 -0
  364. package/build/types/api/common/OntologyDefinition.d.ts.map +1 -0
  365. package/build/types/api/common/OntologyEntityBase.d.ts +5 -0
  366. package/build/types/api/common/OntologyEntityBase.d.ts.map +1 -0
  367. package/build/types/api/common/OntologyEntityTypeEnum.d.ts +8 -0
  368. package/build/types/api/common/OntologyEntityTypeEnum.d.ts.map +1 -0
  369. package/build/types/api/common/OntologyEntityTypeMapping.d.ts +16 -0
  370. package/build/types/api/common/OntologyEntityTypeMapping.d.ts.map +1 -0
  371. package/build/types/api/common/TypeClass.d.ts +4 -0
  372. package/build/types/api/common/TypeClass.d.ts.map +1 -0
  373. package/build/types/api/defineAction.d.ts +38 -3
  374. package/build/types/api/defineAction.d.ts.map +1 -1
  375. package/build/types/api/defineInterface.d.ts +5 -3
  376. package/build/types/api/defineInterface.d.ts.map +1 -1
  377. package/build/types/api/defineInterfaceLinkConstraint.d.ts +1 -1
  378. package/build/types/api/defineInterfaceLinkConstraint.d.ts.map +1 -1
  379. package/build/types/api/defineLink.d.ts +1 -1
  380. package/build/types/api/defineLink.d.ts.map +1 -1
  381. package/build/types/api/defineObject.d.ts +2 -4
  382. package/build/types/api/defineObject.d.ts.map +1 -1
  383. package/build/types/api/defineOntology.d.ts +10 -3
  384. package/build/types/api/defineOntology.d.ts.map +1 -1
  385. package/build/types/api/defineSpt.d.ts +2 -1
  386. package/build/types/api/defineSpt.d.ts.map +1 -1
  387. package/build/types/api/defineValueType.d.ts +2 -1
  388. package/build/types/api/defineValueType.d.ts.map +1 -1
  389. package/build/types/api/importOntologyEntity.d.ts +1 -1
  390. package/build/types/api/importOntologyEntity.d.ts.map +1 -1
  391. package/build/types/api/{defineImportSpt.d.ts → importSharedPropertyType.d.ts} +2 -1
  392. package/build/types/api/importSharedPropertyType.d.ts.map +1 -0
  393. package/build/types/api/interface/InterfacePropertyType.d.ts +5 -0
  394. package/build/types/api/interface/InterfacePropertyType.d.ts.map +1 -0
  395. package/build/types/api/interface/InterfaceType.d.ts +10 -0
  396. package/build/types/api/interface/InterfaceType.d.ts.map +1 -0
  397. package/build/types/api/interface/getFlattenedInterfaceProperties.d.ts +3 -0
  398. package/build/types/api/interface/getFlattenedInterfaceProperties.d.ts.map +1 -0
  399. package/build/types/api/interface/mapSimplifiedStatusToInterfaceTypeStatus.d.ts +3 -0
  400. package/build/types/api/interface/mapSimplifiedStatusToInterfaceTypeStatus.d.ts.map +1 -0
  401. package/build/types/api/links/LinkType.d.ts +71 -0
  402. package/build/types/api/links/LinkType.d.ts.map +1 -0
  403. package/build/types/api/namespace/combineApiNamespaceIfMissing.d.ts +1 -0
  404. package/build/types/api/namespace/combineApiNamespaceIfMissing.d.ts.map +1 -0
  405. package/build/types/api/object/InterfaceImplementation.d.ts +8 -0
  406. package/build/types/api/object/InterfaceImplementation.d.ts.map +1 -0
  407. package/build/types/api/object/ObjectPropertyType.d.ts +27 -0
  408. package/build/types/api/object/ObjectPropertyType.d.ts.map +1 -0
  409. package/build/types/api/object/ObjectPropertyTypeUserDefinition.d.ts +3 -0
  410. package/build/types/api/object/ObjectPropertyTypeUserDefinition.d.ts.map +1 -0
  411. package/build/types/api/object/ObjectType.d.ts +29 -0
  412. package/build/types/api/object/ObjectType.d.ts.map +1 -0
  413. package/build/types/api/object/ObjectTypeDatasourceDefinition.d.ts +11 -0
  414. package/build/types/api/object/ObjectTypeDatasourceDefinition.d.ts.map +1 -0
  415. package/build/types/api/object/ObjectTypeDefinition.d.ts +26 -0
  416. package/build/types/api/object/ObjectTypeDefinition.d.ts.map +1 -0
  417. package/build/types/api/object/ObjectTypeStatus.d.ts +5 -0
  418. package/build/types/api/object/ObjectTypeStatus.d.ts.map +1 -0
  419. package/build/types/api/properties/Nullability.d.ts +4 -0
  420. package/build/types/api/properties/Nullability.d.ts.map +1 -0
  421. package/build/types/api/properties/PropertyTypeType.d.ts +33 -0
  422. package/build/types/api/properties/PropertyTypeType.d.ts.map +1 -0
  423. package/build/types/api/properties/SharedPropertyType.d.ts +22 -0
  424. package/build/types/api/properties/SharedPropertyType.d.ts.map +1 -0
  425. package/build/types/api/propertyConversionUtils.d.ts +2 -20
  426. package/build/types/api/propertyConversionUtils.d.ts.map +1 -1
  427. package/build/types/api/values/ValueTypeDefinitionVersion.d.ts +14 -0
  428. package/build/types/api/values/ValueTypeDefinitionVersion.d.ts.map +1 -0
  429. package/build/types/api/values/ValueTypeType.d.ts +178 -0
  430. package/build/types/api/values/ValueTypeType.d.ts.map +1 -0
  431. package/build/types/api/wrapWithProxy.d.ts +1 -1
  432. package/build/types/api/wrapWithProxy.d.ts.map +1 -1
  433. package/build/types/conversion/toConjure/distributeTypeHelper.d.ts +3 -0
  434. package/build/types/conversion/toConjure/distributeTypeHelper.d.ts.map +1 -0
  435. package/build/types/conversion/toMarketplace/convertActionParameterConditionalOverride.d.ts +4 -0
  436. package/build/types/conversion/toMarketplace/convertActionParameterConditionalOverride.d.ts.map +1 -0
  437. package/build/types/conversion/toMarketplace/convertActionParameters.d.ts +3 -0
  438. package/build/types/conversion/toMarketplace/convertActionParameters.d.ts.map +1 -0
  439. package/build/types/conversion/toMarketplace/convertActionSections.d.ts +3 -0
  440. package/build/types/conversion/toMarketplace/convertActionSections.d.ts.map +1 -0
  441. package/build/types/conversion/toMarketplace/convertActionValidation.d.ts +3 -0
  442. package/build/types/conversion/toMarketplace/convertActionValidation.d.ts.map +1 -0
  443. package/build/types/conversion/toMarketplace/convertActionVisibility.d.ts +2 -0
  444. package/build/types/conversion/toMarketplace/convertActionVisibility.d.ts.map +1 -0
  445. package/build/types/conversion/toMarketplace/convertCardinality.d.ts +3 -0
  446. package/build/types/conversion/toMarketplace/convertCardinality.d.ts.map +1 -0
  447. package/build/types/conversion/toMarketplace/convertConditionDefinition.d.ts +3 -0
  448. package/build/types/conversion/toMarketplace/convertConditionDefinition.d.ts.map +1 -0
  449. package/build/types/conversion/toMarketplace/convertDataConstraintToDataConstraints.d.ts +2 -0
  450. package/build/types/conversion/toMarketplace/convertDataConstraintToDataConstraints.d.ts.map +1 -0
  451. package/build/types/conversion/toMarketplace/convertDatasourceDefinition.d.ts +4 -0
  452. package/build/types/conversion/toMarketplace/convertDatasourceDefinition.d.ts.map +1 -0
  453. package/build/types/conversion/toMarketplace/convertInterface.d.ts +3 -0
  454. package/build/types/conversion/toMarketplace/convertInterface.d.ts.map +1 -0
  455. package/build/types/conversion/toMarketplace/convertLink.d.ts +3 -0
  456. package/build/types/conversion/toMarketplace/convertLink.d.ts.map +1 -0
  457. package/build/types/conversion/toMarketplace/convertMappingValue.d.ts +3 -0
  458. package/build/types/conversion/toMarketplace/convertMappingValue.d.ts.map +1 -0
  459. package/build/types/conversion/toMarketplace/convertNullabilityToDataConstraint.d.ts +7 -0
  460. package/build/types/conversion/toMarketplace/convertNullabilityToDataConstraint.d.ts.map +1 -0
  461. package/build/types/conversion/toMarketplace/convertObject.d.ts +9 -0
  462. package/build/types/conversion/toMarketplace/convertObject.d.ts.map +1 -0
  463. package/build/types/conversion/toMarketplace/convertObjectPropertyType.d.ts +3 -0
  464. package/build/types/conversion/toMarketplace/convertObjectPropertyType.d.ts.map +1 -0
  465. package/build/types/conversion/toMarketplace/convertOntologyDefinition.d.ts +3 -0
  466. package/build/types/conversion/toMarketplace/convertOntologyDefinition.d.ts.map +1 -0
  467. package/build/types/conversion/toMarketplace/convertOntologyDefinitionToWireBlockData.d.ts +3 -0
  468. package/build/types/conversion/toMarketplace/convertOntologyDefinitionToWireBlockData.d.ts.map +1 -0
  469. package/build/types/conversion/toMarketplace/convertOntologyToValueTypeIr.d.ts +3 -0
  470. package/build/types/conversion/toMarketplace/convertOntologyToValueTypeIr.d.ts.map +1 -0
  471. package/build/types/conversion/toMarketplace/convertSectionConditionalOverride.d.ts +3 -0
  472. package/build/types/conversion/toMarketplace/convertSectionConditionalOverride.d.ts.map +1 -0
  473. package/build/types/conversion/toMarketplace/convertSpt.d.ts +3 -0
  474. package/build/types/conversion/toMarketplace/convertSpt.d.ts.map +1 -0
  475. package/build/types/conversion/toMarketplace/convertValueType.d.ts +3 -0
  476. package/build/types/conversion/toMarketplace/convertValueType.d.ts.map +1 -0
  477. package/build/types/conversion/toMarketplace/convertValueTypeDataConstraints.d.ts +2 -0
  478. package/build/types/conversion/toMarketplace/convertValueTypeDataConstraints.d.ts.map +1 -0
  479. package/build/types/conversion/toMarketplace/convertValueTypesToIr.d.ts +3 -0
  480. package/build/types/conversion/toMarketplace/convertValueTypesToIr.d.ts.map +1 -0
  481. package/build/types/conversion/toMarketplace/dataConstraintToPropertyTypeDataConstraint.d.ts +2 -0
  482. package/build/types/conversion/toMarketplace/dataConstraintToPropertyTypeDataConstraint.d.ts.map +1 -0
  483. package/build/types/conversion/toMarketplace/getFormContentOrdering.d.ts +3 -0
  484. package/build/types/conversion/toMarketplace/getFormContentOrdering.d.ts.map +1 -0
  485. package/build/types/conversion/toMarketplace/propertyTypeTypeToOntologyIrType.d.ts +3 -0
  486. package/build/types/conversion/toMarketplace/propertyTypeTypeToOntologyIrType.d.ts.map +1 -0
  487. package/build/types/index.d.ts +22 -6
  488. package/build/types/index.d.ts.map +1 -1
  489. package/build/types/util/OptionalFields.d.ts +4 -0
  490. package/build/types/util/OptionalFields.d.ts.map +1 -0
  491. package/build/types/util/RequiredFields.d.ts +4 -0
  492. package/build/types/util/RequiredFields.d.ts.map +1 -0
  493. package/package.json +4 -4
  494. package/build/browser/api/defineImportSpt.js.map +0 -1
  495. package/build/browser/api/iconNames.js +0 -2
  496. package/build/browser/api/iconNames.js.map +0 -1
  497. package/build/browser/api/ontologyUtils.js +0 -243
  498. package/build/browser/api/ontologyUtils.js.map +0 -1
  499. package/build/browser/api/types.js.map +0 -1
  500. package/build/esm/api/defineImportSpt.js.map +0 -1
  501. package/build/esm/api/iconNames.js +0 -2
  502. package/build/esm/api/iconNames.js.map +0 -1
  503. package/build/esm/api/ontologyUtils.js +0 -243
  504. package/build/esm/api/ontologyUtils.js.map +0 -1
  505. package/build/esm/api/types.js.map +0 -1
  506. package/build/types/api/defineImportSpt.d.ts.map +0 -1
  507. package/build/types/api/ontologyUtils.d.ts +0 -8
  508. package/build/types/api/ontologyUtils.d.ts.map +0 -1
  509. package/build/types/api/types.d.ts +0 -625
  510. package/build/types/api/types.d.ts.map +0 -1
  511. /package/build/types/api/{iconNames.d.ts → common/BlueprintIcons.d.ts} +0 -0
@@ -1,130 +1,12 @@
1
- import { ActionTypeApiName, ParameterId, OntologyIrBaseParameterType_decimal, OntologyIrBaseParameterType_decimalList, OntologyIrBaseParameterType_timestamp, OntologyIrBaseParameterType_timestampList, OntologyIrBaseParameterType_objectReference, OntologyIrBaseParameterType_objectReferenceList, OntologyIrBaseParameterType_objectSetRid, OntologyIrBaseParameterType_objectTypeReference, OntologyIrBaseParameterType_interfaceReference, OntologyIrBaseParameterType_interfaceReferenceList, OntologyIrBaseParameterType_struct, OntologyIrBaseParameterType_structList, OntologyIrLabelledValue, OntologyIrConditionValue, OntologyIrParameterDateRangeValue, InterfaceTypeApiName, OntologyIrCondition, OntologyIrParameterPrefill, OntologyIrLogicRule, SectionId, ActionTypeStatus_deprecated, OntologyIrActionTypeEntities, OntologyIrFormContent, OntologyIrValidationRule, DisplayMetadataConfigurationDefaultLayout, DisplayMetadataConfigurationDisplayAndFormat, ButtonDisplayMetadata, OntologyIrMarketplaceInterfaceType, StructFieldType, OntologyIrValueTypeReferenceWithMetadata, Visibility, SharedPropertyTypeGothamMapping, InterfaceTypeStatus, OntologyIrPropertyType, ValueTypeApiName, ValueTypeDisplayMetadata, ValueTypeStatus, ValueTypeVersion, BaseType, ValueTypeDataConstraint, ExampleValue, ValidationRuleDisplayMetadata, OntologyIrLogicRuleValue_parameterId, OntologyIrLogicRuleValue_staticValue, OntologyIrLogicRuleValue_objectParameterPropertyValue, OntologyIrLogicRuleValue_interfaceParameterPropertyValue, OntologyIrLogicRuleValue_synchronousWebhookOutput, LinkTypeMetadata, OntologyIrLinkTypeStatus, DataConstraint, FailureMessage, OntologyIrObjectType, OntologyIr, OntologyIrType } from '@osdk/client.unstable';
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
- declare function addDependency(namespaceNoDot: string, fileInPackage: string): void;
6
-
7
- 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";
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
- type GroupValidationRule = {
205
- type: "group";
206
- name: string;
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 ParameterValidationRule = {
209
- type: "parameter";
210
- parameterId: string;
211
- matches: OntologyIrConditionValue;
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
- type RequiredFields<T, K extends keyof T> = T & Required<Pick<T, K>>;
221
- interface ObjectTypeInner extends Omit<OntologyIrObjectType, "titlePropertyTypeRid" | "propertyTypes" | "allImplementsInterfaces" | "implementsInterfaces2" | "displayMetadata" | "primaryKeys" | "status"> {
222
- primaryKeyPropertyApiName: string;
223
- properties: Array<ObjectPropertyType>;
224
- titlePropertyApiName: string;
225
- implementsInterfaces: Array<InterfaceImplementation>;
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
- editsEnabled: boolean;
321
+ nullability?: Nullability;
235
322
  status?: ObjectTypeStatus;
323
+ editOnly?: boolean;
236
324
  }
237
- type InterfaceImplementation = {
238
- implements: InterfaceType;
239
- propertyMapping: {
240
- interfaceProperty: string;
241
- mapsTo: string;
242
- }[];
243
- };
244
- type ObjectType = OntologyEntityBase & RequiredFields<Partial<ObjectTypeInner>, "apiName" | "primaryKeyPropertyApiName" | "displayName" | "pluralDisplayName" | "titlePropertyApiName"> & {
245
- datasource?: ObjectTypeDatasourceDefinition;
246
- __type: OntologyEntityTypeEnum.OBJECT_TYPE;
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,81 +357,91 @@ type ObjectTypeDefinition = {
265
357
  status?: ObjectTypeStatus;
266
358
  datasource?: ObjectTypeDatasourceDefinition;
267
359
  };
268
- interface ObjectPropertyTypeInner extends Omit<OntologyIrPropertyType, "sharedPropertyTypeApiName" | "type" | "inlineAction" | "sharedPropertyTypeRid" | "valueType" | "ruleSetBinding" | "displayMetadata" | "dataConstraints" | "status"> {
269
- type: PropertyTypeType;
270
- array?: boolean;
271
- valueType: ValueTypeDefinitionVersion;
272
- sharedPropertyType: SharedPropertyType;
273
- description: string | undefined;
274
- displayName: string;
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
- valueType?: OntologyIrValueTypeReferenceWithMetadata;
298
- visibility?: Visibility;
299
- typeClasses?: TypeClass[];
300
- nullability?: Nullability;
301
- }
302
- interface Nullability {
303
- noEmptyCollections: boolean;
304
- noNulls: boolean;
305
- }
306
- type TypeClass = {
307
- kind: string;
308
- name: string;
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";
309
380
  };
310
- interface SharedPropertyType extends OntologyEntityBase, PropertyType {
311
- apiName: string;
312
- nonNameSpacedApiName: string;
313
- gothamMapping?: SharedPropertyTypeGothamMapping;
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;
381
+ type InterfaceActionTypeUserDefinition = {
382
+ interfaceType: InterfaceType;
383
+ objectType?: ObjectTypeDefinition;
384
+ validation?: ActionLevelValidationDefinition;
385
+ excludedProperties?: Array<string>;
323
386
  };
324
- type PropertyTypeTypeStruct = {
325
- type: "struct";
326
- structDefinition: {
327
- [api_name: string]: StructPropertyType | Exclude<PropertyTypeTypesWithoutStruct, PropertyTypeTypeMarking>;
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";
403
+ };
404
+ type PropertyBase = SharedPropertyType | PropertyTypeType;
405
+ type PropertyWithOptional = {
406
+ required: boolean;
407
+ propertyDefinition: PropertyBase;
408
+ };
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
- type PropertyTypeTypeString = {
331
- type: "string";
332
- isLongText: boolean;
333
- supportsEfficientLeadingWildcard: boolean;
334
- supportsExactMatching: boolean;
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 PropertyTypeTypesWithoutStruct = Exclude<PropertyTypeType, PropertyTypeTypeStruct>;
337
- type Optional<T, K extends keyof T> = Pick<Partial<T>, K> & Omit<T, K>;
338
- interface StructPropertyType extends Optional<Omit<StructFieldType, "fieldType" | "structFieldRid" | "apiName">, "typeClasses" | "aliases"> {
339
- fieldType: PropertyTypeTypesWithoutStruct;
340
- }
341
- type ObjectTypePropertyApiName = string;
342
- type LinkTypeId = string;
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 & {
@@ -350,8 +452,9 @@ type LinkTypeDefinition = Omit<OntologyEntityBase & OneToManyLinkTypeUserDefinit
350
452
  }, "__type"> | Omit<OntologyEntityBase & ManyToManyLinkTypeUserDefinition & {
351
453
  __type: OntologyEntityTypeEnum.LINK_TYPE;
352
454
  }, "__type">;
455
+ type ObjectTypePropertyApiName = string;
353
456
  interface OneToManyLinkTypeDefinition {
354
- apiName: LinkTypeId;
457
+ apiName: string;
355
458
  one: OneToManyObjectLinkReference;
356
459
  toMany: OneToManyObjectLinkReference;
357
460
  manyForeignKeyProperty: ObjectTypePropertyApiName;
@@ -365,7 +468,7 @@ interface OneToManyObjectLinkReference {
365
468
  metadata: LinkTypeMetadata;
366
469
  }
367
470
  interface OneToManyLinkTypeUserDefinition {
368
- apiName: LinkTypeId;
471
+ apiName: string;
369
472
  one: OneToManyObjectLinkReferenceUserDefinition;
370
473
  toMany: OneToManyObjectLinkReferenceUserDefinition;
371
474
  manyForeignKeyProperty: ObjectTypePropertyApiName;
@@ -376,7 +479,7 @@ interface OneToManyObjectLinkReferenceUserDefinition {
376
479
  metadata: LinkTypeMetadataUserDefinition;
377
480
  }
378
481
  interface ManyToManyLinkTypeDefinition {
379
- apiName: LinkTypeId;
482
+ apiName: string;
380
483
  many: ManyToManyObjectLinkReference;
381
484
  toMany: ManyToManyObjectLinkReference;
382
485
  editsEnabled?: boolean;
@@ -388,7 +491,7 @@ interface ManyToManyObjectLinkReference {
388
491
  metadata: LinkTypeMetadata;
389
492
  }
390
493
  interface ManyToManyLinkTypeUserDefinition {
391
- apiName: LinkTypeId;
494
+ apiName: string;
392
495
  many: ManyToManyObjectLinkReferenceUserDefinition;
393
496
  toMany: ManyToManyObjectLinkReferenceUserDefinition;
394
497
  }
@@ -403,6 +506,52 @@ interface LinkTypeMetadataUserDefinition {
403
506
  visibility?: Visibility;
404
507
  groupDisplayName?: string;
405
508
  }
509
+
510
+ declare function defineLink(linkDefinition: LinkTypeDefinition): LinkType;
511
+
512
+ declare function defineObject(objectDef: ObjectTypeDefinition): ObjectTypeDefinition;
513
+ declare function uppercaseFirstLetter(s: string | undefined | null): string;
514
+ declare function convertToPluralDisplayName(s: string | undefined | null): string;
515
+
516
+ type ObjectType = OntologyEntityBase & RequiredFields<Partial<ObjectTypeInner>, "apiName" | "primaryKeyPropertyApiName" | "displayName" | "pluralDisplayName" | "titlePropertyApiName"> & {
517
+ datasource?: ObjectTypeDatasourceDefinition;
518
+ __type: OntologyEntityTypeEnum.OBJECT_TYPE;
519
+ };
520
+ interface ObjectTypeInner extends Omit<OntologyIrObjectType, "titlePropertyTypeRid" | "propertyTypes" | "allImplementsInterfaces" | "implementsInterfaces2" | "displayMetadata" | "primaryKeys" | "status"> {
521
+ primaryKeyPropertyApiName: string;
522
+ properties: Array<ObjectPropertyType>;
523
+ titlePropertyApiName: string;
524
+ implementsInterfaces: Array<InterfaceImplementation>;
525
+ description: string | undefined;
526
+ icon: {
527
+ locator: BlueprintIcon;
528
+ color: string;
529
+ } | undefined;
530
+ displayName: string;
531
+ pluralDisplayName: string;
532
+ visibility: Visibility;
533
+ editsEnabled: boolean;
534
+ status?: ObjectTypeStatus;
535
+ }
536
+
537
+ declare function defineOntology(ns: string, body: () => void | Promise<void>, outputDir: string | undefined, dependencyFile?: string): Promise<OntologyIr>;
538
+ declare function dumpOntologyFullMetadata(): OntologyIr;
539
+ declare function addNamespaceIfNone(apiName: string): string;
540
+
541
+ interface SharedPropertyTypeDefinition {
542
+ apiName: string;
543
+ type: PropertyTypeType;
544
+ array?: boolean;
545
+ description?: string;
546
+ displayName?: string;
547
+ valueType?: OntologyIrValueTypeReferenceWithMetadata;
548
+ visibility?: Visibility;
549
+ typeClasses?: SharedPropertyType["typeClasses"];
550
+ gothamMapping?: SharedPropertyTypeGothamMapping;
551
+ }
552
+ declare function defineSharedPropertyType(sptDef: SharedPropertyTypeDefinition): SharedPropertyType;
553
+
554
+ 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
555
  interface ValueTypeType_array {
407
556
  constraints: {
408
557
  constraint: Extract<DataConstraint, {
@@ -579,123 +728,6 @@ interface ValueTypeType_timestamp {
579
728
  type: "timestamp";
580
729
  value: "timestamp";
581
730
  }
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
731
 
700
732
  type NewValueTypeDefinitionBacking = {
701
733
  [Type in ValueTypeType as Type["type"]]: {
@@ -715,7 +747,15 @@ declare function defineValueType(valueTypeDef: ValueTypeDefinition): ValueTypeDe
715
747
 
716
748
  declare function importOntologyEntity<T extends OntologyEntityBase>(e: T): void;
717
749
 
718
- declare function convertType(type: PropertyTypeType): OntologyIrType;
750
+ /**
751
+ * Defines a foreign shared property type you want to take as an input to your product. The typeHint field is used for OSDK generation
752
+ */
753
+ declare function importSharedPropertyType(opts: {
754
+ apiName: string;
755
+ packageName?: string;
756
+ typeHint: PropertyTypeType;
757
+ array?: boolean;
758
+ }): SharedPropertyType;
719
759
 
720
760
  /**
721
761
  * Wraps an OntologyEntityType with a Proxy that calls importOntologyEntity when properties are accessed.
@@ -725,4 +765,6 @@ declare function convertType(type: PropertyTypeType): OntologyIrType;
725
765
  */
726
766
  declare function wrapWithProxy<T extends OntologyEntityBase>(entity: T): T;
727
767
 
728
- 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, convertToDisplayName, convertToPluralDisplayName, convertType, main as default, defineAction, defineCreateInterfaceObjectAction, defineCreateObjectAction, defineCreateOrModifyObjectAction, defineDeleteObjectAction, defineInterface, defineInterfaceLinkConstraint, defineLink, defineModifyInterfaceObjectAction, defineModifyObjectAction, defineObject, defineOntology, defineSharedPropertyType, defineValueType, dumpOntologyFullMetadata, importOntologyEntity, importSharedPropertyType, wrapWithProxy };
768
+ declare function propertyTypeTypeToOntologyIrType(type: PropertyTypeType): OntologyIrType;
769
+
770
+ 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 };