@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
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ActionLevelValidationDefinition.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ActionLevelValidationDefinition.js","names":[],"sources":["ActionLevelValidationDefinition.ts"],"sourcesContent":["/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type { ValidationRuleDisplayMetadata } from \"@osdk/client.unstable\";\nimport type { ConditionDefinition } from \"./ConditionDefinition.js\";\n\nexport type ActionLevelValidationDefinition = Array<ActionLevelValidationRule>;\n\nexport type ActionLevelValidationRule = {\n condition: ConditionDefinition;\n displayMetadata?: ValidationRuleDisplayMetadata;\n};\n"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ActionParameter.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ActionParameter.js","names":[],"sources":["ActionParameter.ts"],"sourcesContent":["/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type {\n OntologyIrParameterPrefill,\n ParameterId,\n} from \"@osdk/client.unstable\";\nimport type { TypeClass } from \"../common/TypeClass.js\";\nimport type { ActionParameterConfiguration } from \"./ActionParameterConfiguration.js\";\nimport type { ActionParameterType } from \"./ActionParameterType.js\";\n\nexport interface ActionParameter {\n id: ParameterId;\n displayName: string;\n type: ActionParameterType;\n validation: ActionParameterValidation;\n description?: string;\n typeClasses?: Array<TypeClass>;\n defaultValue?: OntologyIrParameterPrefill;\n}\nexport type ActionParameterValidation = Omit<\n ActionParameterConfiguration,\n \"displayName\" | \"defaultValue\"\n>;\n"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ActionParameterAllowedValues.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ActionParameterAllowedValues.js","names":[],"sources":["ActionParameterAllowedValues.ts"],"sourcesContent":["/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type {\n InterfaceTypeApiName,\n OntologyIrConditionValue,\n OntologyIrLabelledValue,\n OntologyIrParameterDateRangeValue,\n} from \"@osdk/client.unstable\";\n\n// TODO(dpaquin): cleanup? or does \"type: foo\" actually make sense here\n\nexport type ActionParameterAllowedValues =\n | {\n type: \"oneOf\";\n oneOf: Array<OntologyIrLabelledValue>;\n otherValueAllowed?: boolean;\n }\n | {\n type: \"range\";\n min?: OntologyIrConditionValue;\n max?: OntologyIrConditionValue;\n }\n | { type: \"text\"; minLength?: number; maxLength?: number; regex?: string }\n | {\n type: \"datetime\";\n maximum?: OntologyIrParameterDateRangeValue;\n minimum?: OntologyIrParameterDateRangeValue;\n }\n | { type: \"objectTypeReference\"; interfaceTypes: Array<InterfaceTypeApiName> }\n | { type: \"objectQuery\" }\n | { type: \"attachment\" }\n | { type: \"boolean\" }\n | { type: \"objectSetRid\" }\n | { type: \"cbacMarking\" }\n | { type: \"mandatoryMarking\" }\n | { type: \"objectList\" }\n | { type: \"mediaReference\" }\n | { type: \"timeSeriesReference\" }\n | { type: \"geohash\" }\n | { type: \"geoshape\" }\n | { type: \"geotimeSeriesReference\" }\n | { type: \"interfaceObjectQuery\" }\n | { type: \"redacted\" };\n"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ActionParameterConditionalOverride.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ActionParameterConditionalOverride.js","names":[],"sources":["ActionParameterConditionalOverride.ts"],"sourcesContent":["/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type { OntologyIrParameterPrefill } from \"@osdk/client.unstable\";\nimport type { ActionParameterAllowedValues } from \"./ActionParameterAllowedValues.js\";\nimport type { ConditionDefinition } from \"./ConditionDefinition.js\";\n\nexport type ActionParameterConditionalOverride =\n | VisibilityOverride\n | DisabledOverride\n | RequiredOverride\n | DefaultValueOverride\n | ConstraintOverride;\n\nexport type VisibilityOverride = {\n type: \"visibility\";\n condition: ConditionDefinition;\n};\n\nexport type DisabledOverride = {\n type: \"disabled\";\n condition: ConditionDefinition;\n};\n\nexport type RequiredOverride = {\n type: \"required\";\n condition: ConditionDefinition;\n};\n\nexport type DefaultValueOverride = {\n type: \"defaultValue\";\n condition: ConditionDefinition;\n defaultValue: OntologyIrParameterPrefill;\n};\n\nexport type ConstraintOverride = {\n type: \"constraint\";\n condition: ConditionDefinition;\n constraint: ActionParameterAllowedValues;\n};\n"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ActionParameterConfiguration.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ActionParameterConfiguration.js","names":[],"sources":["ActionParameterConfiguration.ts"],"sourcesContent":["/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type { OntologyIrParameterPrefill } from \"@osdk/client.unstable\";\nimport type { ActionParameterAllowedValues } from \"./ActionParameterAllowedValues.js\";\nimport type { ActionParameterConditionalOverride } from \"./ActionParameterConditionalOverride.js\";\nimport type { ActionParameterType } from \"./ActionParameterType.js\";\n\nexport interface ActionParameterConfiguration {\n allowedValues?: ActionParameterAllowedValues;\n required?: ActionParameterRequirementConstraint;\n defaultVisibility?: \"editable\" | \"disabled\" | \"hidden\";\n conditionalOverrides?: Array<ActionParameterConditionalOverride>;\n defaultValue?: OntologyIrParameterPrefill;\n displayName?: string;\n description?: string;\n // should only be used on non-property parameters\n customParameterType?: ActionParameterType;\n}\n\nexport type ActionParameterRequirementConstraint =\n | boolean\n | { listLength: { min?: number; max?: number } };\n"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,22 @@
1
+ /*
2
+ * Copyright 2025 Palantir Technologies, Inc. All rights reserved.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ // FIXME: these should not use conjure types
18
+
19
+ export function isActionParameterTypePrimitive(type) {
20
+ return ["boolean", "booleanList", "integer", "integerList", "long", "longList", "double", "doubleList", "string", "stringList", "decimal", "decimalList", "timestamp", "timestampList", "geohash", "geohashList", "geoshape", "geoshapeList", "timeSeriesReference", "date", "dateList", "objectTypeReference", "objectReference", "attachment", "attachmentList", "marking", "markingList", "mediaReference", "mediaReferenceList", "geotimeSeriesReference", "geotimeSeriesReferenceList"].includes(type);
21
+ }
22
+ //# sourceMappingURL=ActionParameterType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ActionParameterType.js","names":["isActionParameterTypePrimitive","type","includes"],"sources":["ActionParameterType.ts"],"sourcesContent":["/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type {\n OntologyIrBaseParameterType_decimal,\n OntologyIrBaseParameterType_decimalList,\n OntologyIrBaseParameterType_interfaceReference,\n OntologyIrBaseParameterType_interfaceReferenceList,\n OntologyIrBaseParameterType_objectReference,\n OntologyIrBaseParameterType_objectReferenceList,\n OntologyIrBaseParameterType_objectSetRid,\n OntologyIrBaseParameterType_objectTypeReference,\n OntologyIrBaseParameterType_struct,\n OntologyIrBaseParameterType_structList,\n OntologyIrBaseParameterType_timestamp,\n OntologyIrBaseParameterType_timestampList,\n} from \"@osdk/client.unstable\";\n\nexport type ActionParameterTypePrimitive =\n | \"boolean\"\n | \"booleanList\"\n | \"integer\"\n | \"integerList\"\n | \"long\"\n | \"longList\"\n | \"double\"\n | \"doubleList\"\n | \"string\"\n | \"stringList\"\n | \"decimal\"\n | \"decimalList\"\n | \"timestamp\"\n | \"timestampList\"\n | \"geohash\"\n | \"geohashList\"\n | \"geoshape\"\n | \"geoshapeList\"\n | \"timeSeriesReference\"\n | \"date\"\n | \"dateList\"\n | \"objectTypeReference\"\n | \"attachment\"\n | \"attachmentList\"\n | \"marking\"\n | \"markingList\"\n | \"mediaReference\"\n | \"mediaReferenceList\"\n | \"geotimeSeriesReference\"\n | \"geotimeSeriesReferenceList\";\n\n// FIXME: these should not use conjure types\ntype ActionParameterTypeComplex =\n | OntologyIrBaseParameterType_decimal\n | OntologyIrBaseParameterType_decimalList\n | OntologyIrBaseParameterType_timestamp\n | OntologyIrBaseParameterType_timestampList\n | OntologyIrBaseParameterType_objectReference\n | OntologyIrBaseParameterType_objectReferenceList\n | OntologyIrBaseParameterType_objectSetRid\n | OntologyIrBaseParameterType_objectTypeReference\n | OntologyIrBaseParameterType_objectReference\n | OntologyIrBaseParameterType_interfaceReference\n | OntologyIrBaseParameterType_interfaceReferenceList\n | OntologyIrBaseParameterType_struct\n | OntologyIrBaseParameterType_structList;\n\nexport type ActionParameterType =\n | ActionParameterTypePrimitive\n | ActionParameterTypeComplex;\nexport function isActionParameterTypePrimitive(\n type: string,\n): type is ActionParameterTypePrimitive {\n return [\n \"boolean\",\n \"booleanList\",\n \"integer\",\n \"integerList\",\n \"long\",\n \"longList\",\n \"double\",\n \"doubleList\",\n \"string\",\n \"stringList\",\n \"decimal\",\n \"decimalList\",\n \"timestamp\",\n \"timestampList\",\n \"geohash\",\n \"geohashList\",\n \"geoshape\",\n \"geoshapeList\",\n \"timeSeriesReference\",\n \"date\",\n \"dateList\",\n \"objectTypeReference\",\n \"objectReference\",\n \"attachment\",\n \"attachmentList\",\n \"marking\",\n \"markingList\",\n \"mediaReference\",\n \"mediaReferenceList\",\n \"geotimeSeriesReference\",\n \"geotimeSeriesReferenceList\",\n ].includes(type);\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAiDA;;AAmBA,OAAO,SAASA,8BAA8BA,CAC5CC,IAAY,EAC0B;EACtC,OAAO,CACL,SAAS,EACT,aAAa,EACb,SAAS,EACT,aAAa,EACb,MAAM,EACN,UAAU,EACV,QAAQ,EACR,YAAY,EACZ,QAAQ,EACR,YAAY,EACZ,SAAS,EACT,aAAa,EACb,WAAW,EACX,eAAe,EACf,SAAS,EACT,aAAa,EACb,UAAU,EACV,cAAc,EACd,qBAAqB,EACrB,MAAM,EACN,UAAU,EACV,qBAAqB,EACrB,iBAAiB,EACjB,YAAY,EACZ,gBAAgB,EAChB,SAAS,EACT,aAAa,EACb,gBAAgB,EAChB,oBAAoB,EACpB,wBAAwB,EACxB,4BAA4B,CAC7B,CAACC,QAAQ,CAACD,IAAI,CAAC;AAClB","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ActionSection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ActionSection.js","names":[],"sources":["ActionSection.ts"],"sourcesContent":["/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type { SectionConditionalOverride } from \"./SectionConditionalOverride.js\";\n\nexport type ActionSection = {\n id: string;\n displayName: string;\n parameters: Array<string>;\n defaultVisibility?: \"visible\" | \"hidden\";\n description?: string;\n columnCount?: 1 | 2;\n showTitleBar?: boolean;\n collapsedByDefault?: boolean;\n style?: \"box\" | \"minimal\";\n conditionalOverrides?: Array<SectionConditionalOverride>;\n};\n"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ActionStatus.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ActionStatus.js","names":[],"sources":["ActionStatus.ts"],"sourcesContent":["/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type { ActionTypeStatus_deprecated } from \"@osdk/client.unstable\";\n\nexport type ActionStatus =\n | \"active\"\n | \"experimental\"\n | \"example\"\n | ActionTypeStatus_deprecated;\n"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ActionType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ActionType.js","names":[],"sources":["ActionType.ts"],"sourcesContent":["/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type {\n ActionTypeApiName,\n DisplayMetadataConfigurationDefaultLayout,\n DisplayMetadataConfigurationDisplayAndFormat,\n OntologyIrActionTypeEntities,\n OntologyIrFormContent,\n OntologyIrLogicRule,\n OntologyIrValidationRule,\n SectionId,\n} from \"@osdk/client.unstable\";\nimport type { RequiredFields } from \"../../util/RequiredFields.js\";\nimport type { BlueprintIcon } from \"../common/BlueprintIcons.js\";\nimport type { OntologyEntityBase } from \"../common/OntologyEntityBase.js\";\nimport type { OntologyEntityTypeEnum } from \"../common/OntologyEntityTypeEnum.js\";\nimport type { TypeClass } from \"../common/TypeClass.js\";\nimport type { ActionParameter } from \"./ActionParameter.js\";\nimport type { ActionSection } from \"./ActionSection.js\";\nimport type { ActionStatus } from \"./ActionStatus.js\";\nimport type { SubmissionMetadata } from \"./SubmissionMetadata.js\";\n\ninterface ActionTypeInner {\n apiName: ActionTypeApiName;\n displayName: string;\n description: string;\n icon: { locator: BlueprintIcon; color: string };\n parameters: Array<ActionParameter>;\n rules: Array<OntologyIrLogicRule>;\n sections: Record<SectionId, ActionSection>;\n status: ActionStatus;\n entities: OntologyIrActionTypeEntities;\n parameterOrdering: Array<string>;\n formContentOrdering: Array<OntologyIrFormContent>;\n validation: Array<OntologyIrValidationRule>;\n typeClasses: Array<TypeClass>;\n defaultFormat: DisplayMetadataConfigurationDefaultLayout;\n enableLayoutSwitch: boolean;\n displayAndFormat: DisplayMetadataConfigurationDisplayAndFormat;\n submissionMetadata: SubmissionMetadata;\n}\n\nexport type ActionType =\n & OntologyEntityBase\n & RequiredFields<\n Partial<ActionTypeInner>,\n \"apiName\" | \"displayName\" | \"rules\" | \"status\"\n >\n & {\n __type: OntologyEntityTypeEnum.ACTION_TYPE;\n };\n"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ActionValidationRule.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ActionValidationRule.js","names":[],"sources":["ActionValidationRule.ts"],"sourcesContent":["/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type { OntologyIrValidationRule } from \"@osdk/client.unstable\";\n\nexport type ActionValidationRule = OntologyIrValidationRule;\n"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ConditionDefinition.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConditionDefinition.js","names":[],"sources":["ConditionDefinition.ts"],"sourcesContent":["/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type {\n OntologyIrCondition,\n OntologyIrConditionValue,\n} from \"@osdk/client.unstable\";\n\n// TODO(ethana): add more commonly used conditions - parameter matching, organizations, etc.\n\nexport type ConditionDefinition =\n | UnionCondition\n | OntologyIrCondition\n | GroupValidationRule\n | ParameterValidationRule;\n\nexport type UnionCondition = {\n type: \"and\" | \"or\";\n conditions: Array<ConditionDefinition>;\n};\n\nexport type GroupValidationRule = {\n type: \"group\";\n name: string;\n};\n\nexport type ParameterValidationRule = {\n type: \"parameter\";\n parameterId: string;\n matches: OntologyIrConditionValue;\n};\n"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=MappingValue.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MappingValue.js","names":[],"sources":["MappingValue.ts"],"sourcesContent":["/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type {\n OntologyIrLogicRuleValue_interfaceParameterPropertyValue,\n OntologyIrLogicRuleValue_objectParameterPropertyValue,\n OntologyIrLogicRuleValue_parameterId,\n OntologyIrLogicRuleValue_staticValue,\n OntologyIrLogicRuleValue_synchronousWebhookOutput,\n} from \"@osdk/client.unstable\";\n\nexport type MappingValue =\n | CustomMapping\n | UuidMappingValue\n | CurrentTimeMappingValue\n | CurrentUserMappingValue;\n\nexport type UuidMappingValue = {\n type: \"uuid\";\n linkId?: string;\n};\n\nexport type CurrentTimeMappingValue = {\n type: \"currentTime\";\n};\n\nexport type CurrentUserMappingValue = {\n type: \"currentUser\";\n};\n\nexport type CustomMapping =\n | OntologyIrLogicRuleValue_parameterId\n | OntologyIrLogicRuleValue_staticValue\n | OntologyIrLogicRuleValue_objectParameterPropertyValue\n | OntologyIrLogicRuleValue_interfaceParameterPropertyValue\n | OntologyIrLogicRuleValue_synchronousWebhookOutput;\n"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=SectionConditionalOverride.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SectionConditionalOverride.js","names":[],"sources":["SectionConditionalOverride.ts"],"sourcesContent":["/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type { VisibilityOverride } from \"./ActionParameterConditionalOverride.js\";\n\nexport type SectionConditionalOverride = VisibilityOverride;\n"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=SubmissionMetadata.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SubmissionMetadata.js","names":[],"sources":["SubmissionMetadata.ts"],"sourcesContent":["/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type { ButtonDisplayMetadata } from \"@osdk/client.unstable\";\n\nexport type SubmissionMetadata = {\n submitButtonDisplayMetadata?: ButtonDisplayMetadata;\n successMessage: string;\n undoButtonConfiguration?: boolean;\n};\n"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=BlueprintIcons.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BlueprintIcons.js","names":[],"sources":["BlueprintIcons.ts"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n// This copy paste is bad but fine for now\nexport type BlueprintIcon =\n | \"add-clip\"\n | \"add-column-left\"\n | \"add-column-right\"\n | \"add-location\"\n | \"add-row-bottom\"\n | \"add-row-top\"\n | \"add-to-artifact\"\n | \"add-to-folder\"\n | \"add\"\n | \"aimpoints-target\"\n | \"airplane\"\n | \"align-center\"\n | \"align-justify\"\n | \"align-left\"\n | \"align-right\"\n | \"alignment-bottom\"\n | \"alignment-horizontal-center\"\n | \"alignment-left\"\n | \"alignment-right\"\n | \"alignment-top\"\n | \"alignment-vertical-center\"\n | \"ammunition\"\n | \"anchor\"\n | \"annotation\"\n | \"antenna\"\n | \"app-header\"\n | \"application\"\n | \"applications\"\n | \"archive\"\n | \"area-of-interest\"\n | \"array-boolean\"\n | \"array-date\"\n | \"array-floating-point\"\n | \"array-numeric\"\n | \"array-string\"\n | \"array-timestamp\"\n | \"array\"\n | \"arrow-bottom-left\"\n | \"arrow-bottom-right\"\n | \"arrow-down\"\n | \"arrow-left\"\n | \"arrow-right\"\n | \"arrow-top-left\"\n | \"arrow-top-right\"\n | \"arrow-up\"\n | \"arrows-horizontal\"\n | \"arrows-vertical\"\n | \"asterisk\"\n | \"at\"\n | \"automatic-updates\"\n | \"axle\"\n | \"backlink\"\n | \"backward-ten\"\n | \"badge\"\n | \"ban-circle\"\n | \"bank-account\"\n | \"barcode\"\n | \"binary-number\"\n | \"blank\"\n | \"blocked-person\"\n | \"bold\"\n | \"book\"\n | \"bookmark\"\n | \"box\"\n | \"briefcase\"\n | \"bring-data\"\n | \"bring-forward\"\n | \"bug\"\n | \"buggy\"\n | \"build\"\n | \"bullseye\"\n | \"calculator\"\n | \"calendar\"\n | \"camera\"\n | \"caret-down\"\n | \"caret-left\"\n | \"caret-right\"\n | \"caret-up\"\n | \"cargo-ship\"\n | \"cell-tower\"\n | \"changes\"\n | \"chart\"\n | \"chat\"\n | \"chevron-backward\"\n | \"chevron-down\"\n | \"chevron-forward\"\n | \"chevron-left\"\n | \"chevron-right\"\n | \"chevron-up\"\n | \"circle-arrow-down\"\n | \"circle-arrow-left\"\n | \"circle-arrow-right\"\n | \"circle-arrow-up\"\n | \"circle\"\n | \"citation\"\n | \"clean\"\n | \"clip\"\n | \"clipboard-file\"\n | \"clipboard\"\n | \"cloud-download\"\n | \"cloud-server\"\n | \"cloud-tick\"\n | \"cloud-upload\"\n | \"cloud\"\n | \"code-block\"\n | \"code\"\n | \"cog\"\n | \"collapse-all\"\n | \"color-fill\"\n | \"column-layout\"\n | \"comment\"\n | \"comparison\"\n | \"compass\"\n | \"compressed\"\n | \"confirm\"\n | \"console\"\n | \"contrast\"\n | \"control\"\n | \"credit-card\"\n | \"crop\"\n | \"cross-circle\"\n | \"cross\"\n | \"crown\"\n | \"css-style\"\n | \"cube-add\"\n | \"cube-remove\"\n | \"cube\"\n | \"curly-braces\"\n | \"curved-range-chart\"\n | \"cut\"\n | \"cycle\"\n | \"dashboard\"\n | \"data-connection\"\n | \"data-lineage\"\n | \"data-search\"\n | \"data-sync\"\n | \"database\"\n | \"delete\"\n | \"delta\"\n | \"derive-column\"\n | \"desktop\"\n | \"detection\"\n | \"diagnosis\"\n | \"diagram-tree\"\n | \"direction-left\"\n | \"direction-right\"\n | \"disable\"\n | \"divide\"\n | \"document-open\"\n | \"document-share\"\n | \"document\"\n | \"dollar\"\n | \"dot\"\n | \"double-caret-horizontal\"\n | \"double-caret-vertical\"\n | \"double-chevron-down\"\n | \"double-chevron-left\"\n | \"double-chevron-right\"\n | \"double-chevron-up\"\n | \"doughnut-chart\"\n | \"download\"\n | \"drag-handle-horizontal\"\n | \"drag-handle-vertical\"\n | \"draw\"\n | \"drawer-left-filled\"\n | \"drawer-left\"\n | \"drawer-right-filled\"\n | \"drawer-right\"\n | \"drive-time\"\n | \"duplicate\"\n | \"edit\"\n | \"eject\"\n | \"emoji\"\n | \"endnote\"\n | \"endorsed\"\n | \"envelope\"\n | \"equals\"\n | \"eraser\"\n | \"error\"\n | \"euro\"\n | \"excavator\"\n | \"exchange\"\n | \"exclude-row\"\n | \"expand-all\"\n | \"explain\"\n | \"export\"\n | \"eye-off\"\n | \"eye-on\"\n | \"eye-open\"\n | \"fast-backward\"\n | \"fast-forward\"\n | \"feed-subscribed\"\n | \"feed\"\n | \"film\"\n | \"filter-keep\"\n | \"filter-list\"\n | \"filter-open\"\n | \"filter-remove\"\n | \"filter\"\n | \"flag\"\n | \"flame\"\n | \"flash\"\n | \"floating-point\"\n | \"floppy-disk\"\n | \"flow-branch\"\n | \"flow-end\"\n | \"flow-linear\"\n | \"flow-review-branch\"\n | \"flow-review\"\n | \"flows\"\n | \"folder-close\"\n | \"folder-new\"\n | \"folder-open\"\n | \"folder-shared-open\"\n | \"folder-shared\"\n | \"follower\"\n | \"following\"\n | \"font\"\n | \"fork\"\n | \"form\"\n | \"forward-ten\"\n | \"fuel\"\n | \"full-circle\"\n | \"full-stacked-chart\"\n | \"fullscreen\"\n | \"function\"\n | \"gantt-chart\"\n | \"generate\"\n | \"geofence\"\n | \"geolocation\"\n | \"geosearch\"\n | \"geotime\"\n | \"git-branch\"\n | \"git-commit\"\n | \"git-merge\"\n | \"git-new-branch\"\n | \"git-pull\"\n | \"git-push\"\n | \"git-repo\"\n | \"glass\"\n | \"globe-network\"\n | \"globe\"\n | \"graph-remove\"\n | \"graph\"\n | \"greater-than-or-equal-to\"\n | \"greater-than\"\n | \"grid-view\"\n | \"grid\"\n | \"group-item\"\n | \"group-objects\"\n | \"grouped-bar-chart\"\n | \"hand-down\"\n | \"hand-left\"\n | \"hand-right\"\n | \"hand-up\"\n | \"hand\"\n | \"hat\"\n | \"header-one\"\n | \"header-three\"\n | \"header-two\"\n | \"header\"\n | \"headset\"\n | \"heart-broken\"\n | \"heart\"\n | \"heat-grid\"\n | \"heatmap\"\n | \"helicopter\"\n | \"help\"\n | \"helper-management\"\n | \"high-priority\"\n | \"high-voltage-pole\"\n | \"highlight\"\n | \"history\"\n | \"home\"\n | \"horizontal-bar-chart-asc\"\n | \"horizontal-bar-chart-desc\"\n | \"horizontal-bar-chart\"\n | \"horizontal-distribution\"\n | \"horizontal-inbetween\"\n | \"hurricane\"\n | \"id-number\"\n | \"image-rotate-left\"\n | \"image-rotate-right\"\n | \"import\"\n | \"inbox-filtered\"\n | \"inbox-geo\"\n | \"inbox-search\"\n | \"inbox-update\"\n | \"inbox\"\n | \"info-sign\"\n | \"inheritance\"\n | \"inherited-group\"\n | \"inner-join\"\n | \"input\"\n | \"insert\"\n | \"intelligence\"\n | \"intersection\"\n | \"ip-address\"\n | \"issue-closed\"\n | \"issue-new\"\n | \"issue\"\n | \"italic\"\n | \"join-table\"\n | \"key-backspace\"\n | \"key-command\"\n | \"key-control\"\n | \"key-delete\"\n | \"key-enter\"\n | \"key-escape\"\n | \"key-option\"\n | \"key-shift\"\n | \"key-tab\"\n | \"key\"\n | \"known-vehicle\"\n | \"lab-test\"\n | \"label\"\n | \"layer-outline\"\n | \"layer\"\n | \"layers\"\n | \"layout-auto\"\n | \"layout-balloon\"\n | \"layout-bottom-row-three-tiles\"\n | \"layout-bottom-row-two-tiles\"\n | \"layout-circle\"\n | \"layout-grid\"\n | \"layout-group-by\"\n | \"layout-hierarchy\"\n | \"layout-left-column-three-tiles\"\n | \"layout-left-column-two-tiles\"\n | \"layout-linear\"\n | \"layout-right-column-three-tiles\"\n | \"layout-right-column-two-tiles\"\n | \"layout-skew-grid\"\n | \"layout-sorted-clusters\"\n | \"layout-three-columns\"\n | \"layout-three-rows\"\n | \"layout-top-row-three-tiles\"\n | \"layout-top-row-two-tiles\"\n | \"layout-two-columns\"\n | \"layout-two-rows\"\n | \"layout\"\n | \"learning\"\n | \"left-join\"\n | \"lengthen-text\"\n | \"less-than-or-equal-to\"\n | \"less-than\"\n | \"lifesaver\"\n | \"lightbulb\"\n | \"lightning\"\n | \"link\"\n | \"list-columns\"\n | \"list-detail-view\"\n | \"list\"\n | \"locate\"\n | \"lock\"\n | \"locomotive\"\n | \"log-in\"\n | \"log-out\"\n | \"low-voltage-pole\"\n | \"manual\"\n | \"manually-entered-data\"\n | \"many-to-many\"\n | \"many-to-one\"\n | \"map-create\"\n | \"map-marker\"\n | \"map\"\n | \"maximize\"\n | \"media\"\n | \"menu-closed\"\n | \"menu-open\"\n | \"menu\"\n | \"merge-columns\"\n | \"merge-links\"\n | \"microphone\"\n | \"minimize\"\n | \"minus\"\n | \"mobile-phone\"\n | \"mobile-video\"\n | \"modal-filled\"\n | \"modal\"\n | \"model\"\n | \"moon\"\n | \"more\"\n | \"mountain\"\n | \"move\"\n | \"mugshot\"\n | \"multi-select\"\n | \"music\"\n | \"nest\"\n | \"new-drawing\"\n | \"new-grid-item\"\n | \"new-layer\"\n | \"new-layers\"\n | \"new-link\"\n | \"new-object\"\n | \"new-person\"\n | \"new-prescription\"\n | \"new-shield\"\n | \"new-text-box\"\n | \"ninja\"\n | \"not-equal-to\"\n | \"notifications-snooze\"\n | \"notifications-updated\"\n | \"notifications\"\n | \"numbered-list\"\n | \"numerical\"\n | \"office\"\n | \"offline\"\n | \"oil-field\"\n | \"one-column\"\n | \"one-to-many\"\n | \"one-to-one\"\n | \"open-application\"\n | \"outdated\"\n | \"output\"\n | \"page-layout\"\n | \"panel-stats\"\n | \"panel-table\"\n | \"paperclip\"\n | \"paragraph\"\n | \"paste-variable\"\n | \"path-search\"\n | \"path\"\n | \"pause\"\n | \"people\"\n | \"percentage\"\n | \"person\"\n | \"phone-call\"\n | \"phone-forward\"\n | \"phone\"\n | \"pie-chart\"\n | \"pin\"\n | \"pivot-table\"\n | \"pivot\"\n | \"play\"\n | \"playbook\"\n | \"plus\"\n | \"polygon-filter\"\n | \"power\"\n | \"predictive-analysis\"\n | \"prescription\"\n | \"presentation\"\n | \"print\"\n | \"projects\"\n | \"properties\"\n | \"property\"\n | \"publish-function\"\n | \"pulse\"\n | \"rain\"\n | \"random\"\n | \"range-ring\"\n | \"record\"\n | \"rect-height\"\n | \"rect-width\"\n | \"rectangle\"\n | \"redo\"\n | \"refresh\"\n | \"regex\"\n | \"regression-chart\"\n | \"remove-column-left\"\n | \"remove-column-right\"\n | \"remove-column\"\n | \"remove-row-bottom\"\n | \"remove-row-top\"\n | \"remove\"\n | \"repeat\"\n | \"reset\"\n | \"resolve\"\n | \"rig\"\n | \"right-join\"\n | \"ring\"\n | \"rocket-slant\"\n | \"rocket\"\n | \"rotate-document\"\n | \"rotate-page\"\n | \"route\"\n | \"satellite\"\n | \"saved\"\n | \"scatter-plot\"\n | \"search-around\"\n | \"search-template\"\n | \"search-text\"\n | \"search\"\n | \"segmented-control\"\n | \"select\"\n | \"selection\"\n | \"send-backward\"\n | \"send-message\"\n | \"send-to-graph\"\n | \"send-to-map\"\n | \"send-to\"\n | \"sensor\"\n | \"series-add\"\n | \"series-configuration\"\n | \"series-derived\"\n | \"series-filtered\"\n | \"series-search\"\n | \"settings\"\n | \"shapes\"\n | \"share\"\n | \"shared-filter\"\n | \"shield\"\n | \"ship\"\n | \"shop\"\n | \"shopping-cart\"\n | \"shorten-text\"\n | \"signal-search\"\n | \"sim-card\"\n | \"slash\"\n | \"small-cross\"\n | \"small-info-sign\"\n | \"small-minus\"\n | \"small-plus\"\n | \"small-square\"\n | \"small-tick\"\n | \"snowflake\"\n | \"soccer-ball\"\n | \"social-media\"\n | \"sort-alphabetical-desc\"\n | \"sort-alphabetical\"\n | \"sort-asc\"\n | \"sort-desc\"\n | \"sort-numerical-desc\"\n | \"sort-numerical\"\n | \"sort\"\n | \"spell-check\"\n | \"split-columns\"\n | \"sports-stadium\"\n | \"square\"\n | \"stacked-chart\"\n | \"stadium-geometry\"\n | \"star-empty\"\n | \"star\"\n | \"step-backward\"\n | \"step-chart\"\n | \"step-forward\"\n | \"stop\"\n | \"stopwatch\"\n | \"strikethrough\"\n | \"style\"\n | \"subscript\"\n | \"superscript\"\n | \"swap-horizontal\"\n | \"swap-vertical\"\n | \"switch\"\n | \"symbol-circle\"\n | \"symbol-cross\"\n | \"symbol-diamond\"\n | \"symbol-rectangle\"\n | \"symbol-square\"\n | \"symbol-triangle-down\"\n | \"symbol-triangle-up\"\n | \"syringe\"\n | \"table-sync\"\n | \"tag\"\n | \"take-action\"\n | \"tank\"\n | \"target\"\n | \"taxi\"\n | \"team\"\n | \"temperature\"\n | \"text-highlight\"\n | \"th-derived\"\n | \"th-disconnect\"\n | \"th-filtered\"\n | \"th-list\"\n | \"th\"\n | \"third-party\"\n | \"thumbs-down\"\n | \"thumbs-up\"\n | \"tick-circle\"\n | \"tick\"\n | \"time\"\n | \"timeline-area-chart\"\n | \"timeline-bar-chart\"\n | \"timeline-events\"\n | \"timeline-line-chart\"\n | \"tint\"\n | \"torch\"\n | \"tractor\"\n | \"train\"\n | \"translate\"\n | \"trash\"\n | \"tree\"\n | \"trending-down\"\n | \"trending-up\"\n | \"trophy\"\n | \"truck\"\n | \"two-columns\"\n | \"unarchive\"\n | \"underline\"\n | \"undo\"\n | \"ungroup-objects\"\n | \"unknown-vehicle\"\n | \"unlink\"\n | \"unlock\"\n | \"unpin\"\n | \"unresolve\"\n | \"updated\"\n | \"upload\"\n | \"user\"\n | \"variable\"\n | \"vector\"\n | \"vertical-bar-chart-asc\"\n | \"vertical-bar-chart-desc\"\n | \"vertical-distribution\"\n | \"vertical-inbetween\"\n | \"video\"\n | \"virus\"\n | \"volume-down\"\n | \"volume-off\"\n | \"volume-up\"\n | \"walk\"\n | \"warning-sign\"\n | \"waterfall-chart\"\n | \"waves\"\n | \"widget-button\"\n | \"widget-footer\"\n | \"widget-header\"\n | \"widget\"\n | \"wind\"\n | \"wrench\"\n | \"zoom-in\"\n | \"zoom-out\"\n | \"zoom-to-fit\";\n\nexport type BlueprintIcons_16Key =\n | \"AddClip\"\n | \"AddColumnLeft\"\n | \"AddColumnRight\"\n | \"AddLocation\"\n | \"AddRowBottom\"\n | \"AddRowTop\"\n | \"AddToArtifact\"\n | \"AddToFolder\"\n | \"Add\"\n | \"AimpointsTarget\"\n | \"Airplane\"\n | \"AlignCenter\"\n | \"AlignJustify\"\n | \"AlignLeft\"\n | \"AlignRight\"\n | \"AlignmentBottom\"\n | \"AlignmentHorizontalCenter\"\n | \"AlignmentLeft\"\n | \"AlignmentRight\"\n | \"AlignmentTop\"\n | \"AlignmentVerticalCenter\"\n | \"Ammunition\"\n | \"Anchor\"\n | \"Annotation\"\n | \"Antenna\"\n | \"AppHeader\"\n | \"Application\"\n | \"Applications\"\n | \"Archive\"\n | \"AreaOfInterest\"\n | \"ArrayBoolean\"\n | \"ArrayDate\"\n | \"ArrayFloatingPoint\"\n | \"ArrayNumeric\"\n | \"ArrayString\"\n | \"ArrayTimestamp\"\n | \"Array\"\n | \"ArrowBottomLeft\"\n | \"ArrowBottomRight\"\n | \"ArrowDown\"\n | \"ArrowLeft\"\n | \"ArrowRight\"\n | \"ArrowTopLeft\"\n | \"ArrowTopRight\"\n | \"ArrowUp\"\n | \"ArrowsHorizontal\"\n | \"ArrowsVertical\"\n | \"Asterisk\"\n | \"At\"\n | \"AutomaticUpdates\"\n | \"Axle\"\n | \"Backlink\"\n | \"BackwardTen\"\n | \"Badge\"\n | \"BanCircle\"\n | \"BankAccount\"\n | \"Barcode\"\n | \"BinaryNumber\"\n | \"Blank\"\n | \"BlockedPerson\"\n | \"Bold\"\n | \"Book\"\n | \"Bookmark\"\n | \"Box\"\n | \"Briefcase\"\n | \"BringData\"\n | \"BringForward\"\n | \"Bug\"\n | \"Buggy\"\n | \"Build\"\n | \"Bullseye\"\n | \"Calculator\"\n | \"Calendar\"\n | \"Camera\"\n | \"CaretDown\"\n | \"CaretLeft\"\n | \"CaretRight\"\n | \"CaretUp\"\n | \"CargoShip\"\n | \"CellTower\"\n | \"Changes\"\n | \"Chart\"\n | \"Chat\"\n | \"ChevronBackward\"\n | \"ChevronDown\"\n | \"ChevronForward\"\n | \"ChevronLeft\"\n | \"ChevronRight\"\n | \"ChevronUp\"\n | \"CircleArrowDown\"\n | \"CircleArrowLeft\"\n | \"CircleArrowRight\"\n | \"CircleArrowUp\"\n | \"Circle\"\n | \"Citation\"\n | \"Clean\"\n | \"Clip\"\n | \"ClipboardFile\"\n | \"Clipboard\"\n | \"CloudDownload\"\n | \"CloudServer\"\n | \"CloudTick\"\n | \"CloudUpload\"\n | \"Cloud\"\n | \"CodeBlock\"\n | \"Code\"\n | \"Cog\"\n | \"CollapseAll\"\n | \"ColorFill\"\n | \"ColumnLayout\"\n | \"Comment\"\n | \"Comparison\"\n | \"Compass\"\n | \"Compressed\"\n | \"Confirm\"\n | \"Console\"\n | \"Contrast\"\n | \"Control\"\n | \"CreditCard\"\n | \"Crop\"\n | \"CrossCircle\"\n | \"Cross\"\n | \"Crown\"\n | \"CssStyle\"\n | \"CubeAdd\"\n | \"CubeRemove\"\n | \"Cube\"\n | \"CurlyBraces\"\n | \"CurvedRangeChart\"\n | \"Cut\"\n | \"Cycle\"\n | \"Dashboard\"\n | \"DataConnection\"\n | \"DataLineage\"\n | \"DataSearch\"\n | \"DataSync\"\n | \"Database\"\n | \"Delete\"\n | \"Delta\"\n | \"DeriveColumn\"\n | \"Desktop\"\n | \"Detection\"\n | \"Diagnosis\"\n | \"DiagramTree\"\n | \"DirectionLeft\"\n | \"DirectionRight\"\n | \"Disable\"\n | \"Divide\"\n | \"DocumentOpen\"\n | \"DocumentShare\"\n | \"Document\"\n | \"Dollar\"\n | \"Dot\"\n | \"DoubleCaretHorizontal\"\n | \"DoubleCaretVertical\"\n | \"DoubleChevronDown\"\n | \"DoubleChevronLeft\"\n | \"DoubleChevronRight\"\n | \"DoubleChevronUp\"\n | \"DoughnutChart\"\n | \"Download\"\n | \"DragHandleHorizontal\"\n | \"DragHandleVertical\"\n | \"Draw\"\n | \"DrawerLeftFilled\"\n | \"DrawerLeft\"\n | \"DrawerRightFilled\"\n | \"DrawerRight\"\n | \"DriveTime\"\n | \"Duplicate\"\n | \"Edit\"\n | \"Eject\"\n | \"Emoji\"\n | \"Endnote\"\n | \"Endorsed\"\n | \"Envelope\"\n | \"Equals\"\n | \"Eraser\"\n | \"Error\"\n | \"Euro\"\n | \"Excavator\"\n | \"Exchange\"\n | \"ExcludeRow\"\n | \"ExpandAll\"\n | \"Explain\"\n | \"Export\"\n | \"EyeOff\"\n | \"EyeOn\"\n | \"EyeOpen\"\n | \"FastBackward\"\n | \"FastForward\"\n | \"FeedSubscribed\"\n | \"Feed\"\n | \"Film\"\n | \"FilterKeep\"\n | \"FilterList\"\n | \"FilterOpen\"\n | \"FilterRemove\"\n | \"Filter\"\n | \"Flag\"\n | \"Flame\"\n | \"Flash\"\n | \"FloatingPoint\"\n | \"FloppyDisk\"\n | \"FlowBranch\"\n | \"FlowEnd\"\n | \"FlowLinear\"\n | \"FlowReviewBranch\"\n | \"FlowReview\"\n | \"Flows\"\n | \"FolderClose\"\n | \"FolderNew\"\n | \"FolderOpen\"\n | \"FolderSharedOpen\"\n | \"FolderShared\"\n | \"Follower\"\n | \"Following\"\n | \"Font\"\n | \"Fork\"\n | \"Form\"\n | \"ForwardTen\"\n | \"Fuel\"\n | \"FullCircle\"\n | \"FullStackedChart\"\n | \"Fullscreen\"\n | \"Function\"\n | \"GanttChart\"\n | \"Generate\"\n | \"Geofence\"\n | \"Geolocation\"\n | \"Geosearch\"\n | \"Geotime\"\n | \"GitBranch\"\n | \"GitCommit\"\n | \"GitMerge\"\n | \"GitNewBranch\"\n | \"GitPull\"\n | \"GitPush\"\n | \"GitRepo\"\n | \"Glass\"\n | \"GlobeNetwork\"\n | \"Globe\"\n | \"GraphRemove\"\n | \"Graph\"\n | \"GreaterThanOrEqualTo\"\n | \"GreaterThan\"\n | \"GridView\"\n | \"Grid\"\n | \"GroupItem\"\n | \"GroupObjects\"\n | \"GroupedBarChart\"\n | \"HandDown\"\n | \"HandLeft\"\n | \"HandRight\"\n | \"HandUp\"\n | \"Hand\"\n | \"Hat\"\n | \"HeaderOne\"\n | \"HeaderThree\"\n | \"HeaderTwo\"\n | \"Header\"\n | \"Headset\"\n | \"HeartBroken\"\n | \"Heart\"\n | \"HeatGrid\"\n | \"Heatmap\"\n | \"Helicopter\"\n | \"Help\"\n | \"HelperManagement\"\n | \"HighPriority\"\n | \"HighVoltagePole\"\n | \"Highlight\"\n | \"History\"\n | \"Home\"\n | \"HorizontalBarChartAsc\"\n | \"HorizontalBarChartDesc\"\n | \"HorizontalBarChart\"\n | \"HorizontalDistribution\"\n | \"HorizontalInbetween\"\n | \"Hurricane\"\n | \"IdNumber\"\n | \"ImageRotateLeft\"\n | \"ImageRotateRight\"\n | \"Import\"\n | \"InboxFiltered\"\n | \"InboxGeo\"\n | \"InboxSearch\"\n | \"InboxUpdate\"\n | \"Inbox\"\n | \"InfoSign\"\n | \"Inheritance\"\n | \"InheritedGroup\"\n | \"InnerJoin\"\n | \"Input\"\n | \"Insert\"\n | \"Intelligence\"\n | \"Intersection\"\n | \"IpAddress\"\n | \"IssueClosed\"\n | \"IssueNew\"\n | \"Issue\"\n | \"Italic\"\n | \"JoinTable\"\n | \"KeyBackspace\"\n | \"KeyCommand\"\n | \"KeyControl\"\n | \"KeyDelete\"\n | \"KeyEnter\"\n | \"KeyEscape\"\n | \"KeyOption\"\n | \"KeyShift\"\n | \"KeyTab\"\n | \"Key\"\n | \"KnownVehicle\"\n | \"LabTest\"\n | \"Label\"\n | \"LayerOutline\"\n | \"Layer\"\n | \"Layers\"\n | \"LayoutAuto\"\n | \"LayoutBalloon\"\n | \"LayoutBottomRowThreeTiles\"\n | \"LayoutBottomRowTwoTiles\"\n | \"LayoutCircle\"\n | \"LayoutGrid\"\n | \"LayoutGroupBy\"\n | \"LayoutHierarchy\"\n | \"LayoutLeftColumnThreeTiles\"\n | \"LayoutLeftColumnTwoTiles\"\n | \"LayoutLinear\"\n | \"LayoutRightColumnThreeTiles\"\n | \"LayoutRightColumnTwoTiles\"\n | \"LayoutSkewGrid\"\n | \"LayoutSortedClusters\"\n | \"LayoutThreeColumns\"\n | \"LayoutThreeRows\"\n | \"LayoutTopRowThreeTiles\"\n | \"LayoutTopRowTwoTiles\"\n | \"LayoutTwoColumns\"\n | \"LayoutTwoRows\"\n | \"Layout\"\n | \"Learning\"\n | \"LeftJoin\"\n | \"LengthenText\"\n | \"LessThanOrEqualTo\"\n | \"LessThan\"\n | \"Lifesaver\"\n | \"Lightbulb\"\n | \"Lightning\"\n | \"Link\"\n | \"ListColumns\"\n | \"ListDetailView\"\n | \"List\"\n | \"Locate\"\n | \"Lock\"\n | \"Locomotive\"\n | \"LogIn\"\n | \"LogOut\"\n | \"LowVoltagePole\"\n | \"Manual\"\n | \"ManuallyEnteredData\"\n | \"ManyToMany\"\n | \"ManyToOne\"\n | \"MapCreate\"\n | \"MapMarker\"\n | \"Map\"\n | \"Maximize\"\n | \"Media\"\n | \"MenuClosed\"\n | \"MenuOpen\"\n | \"Menu\"\n | \"MergeColumns\"\n | \"MergeLinks\"\n | \"Microphone\"\n | \"Minimize\"\n | \"Minus\"\n | \"MobilePhone\"\n | \"MobileVideo\"\n | \"ModalFilled\"\n | \"Modal\"\n | \"Model\"\n | \"Moon\"\n | \"More\"\n | \"Mountain\"\n | \"Move\"\n | \"Mugshot\"\n | \"MultiSelect\"\n | \"Music\"\n | \"Nest\"\n | \"NewDrawing\"\n | \"NewGridItem\"\n | \"NewLayer\"\n | \"NewLayers\"\n | \"NewLink\"\n | \"NewObject\"\n | \"NewPerson\"\n | \"NewPrescription\"\n | \"NewShield\"\n | \"NewTextBox\"\n | \"Ninja\"\n | \"NotEqualTo\"\n | \"NotificationsSnooze\"\n | \"NotificationsUpdated\"\n | \"Notifications\"\n | \"NumberedList\"\n | \"Numerical\"\n | \"Office\"\n | \"Offline\"\n | \"OilField\"\n | \"OneColumn\"\n | \"OneToMany\"\n | \"OneToOne\"\n | \"OpenApplication\"\n | \"Outdated\"\n | \"Output\"\n | \"PageLayout\"\n | \"PanelStats\"\n | \"PanelTable\"\n | \"Paperclip\"\n | \"Paragraph\"\n | \"PasteVariable\"\n | \"PathSearch\"\n | \"Path\"\n | \"Pause\"\n | \"People\"\n | \"Percentage\"\n | \"Person\"\n | \"PhoneCall\"\n | \"PhoneForward\"\n | \"Phone\"\n | \"PieChart\"\n | \"Pin\"\n | \"PivotTable\"\n | \"Pivot\"\n | \"Play\"\n | \"Playbook\"\n | \"Plus\"\n | \"PolygonFilter\"\n | \"Power\"\n | \"PredictiveAnalysis\"\n | \"Prescription\"\n | \"Presentation\"\n | \"Print\"\n | \"Projects\"\n | \"Properties\"\n | \"Property\"\n | \"PublishFunction\"\n | \"Pulse\"\n | \"Rain\"\n | \"Random\"\n | \"RangeRing\"\n | \"Record\"\n | \"RectHeight\"\n | \"RectWidth\"\n | \"Rectangle\"\n | \"Redo\"\n | \"Refresh\"\n | \"Regex\"\n | \"RegressionChart\"\n | \"RemoveColumnLeft\"\n | \"RemoveColumnRight\"\n | \"RemoveColumn\"\n | \"RemoveRowBottom\"\n | \"RemoveRowTop\"\n | \"Remove\"\n | \"Repeat\"\n | \"Reset\"\n | \"Resolve\"\n | \"Rig\"\n | \"RightJoin\"\n | \"Ring\"\n | \"RocketSlant\"\n | \"Rocket\"\n | \"RotateDocument\"\n | \"RotatePage\"\n | \"Route\"\n | \"Satellite\"\n | \"Saved\"\n | \"ScatterPlot\"\n | \"SearchAround\"\n | \"SearchTemplate\"\n | \"SearchText\"\n | \"Search\"\n | \"SegmentedControl\"\n | \"Select\"\n | \"Selection\"\n | \"SendBackward\"\n | \"SendMessage\"\n | \"SendToGraph\"\n | \"SendToMap\"\n | \"SendTo\"\n | \"Sensor\"\n | \"SeriesAdd\"\n | \"SeriesConfiguration\"\n | \"SeriesDerived\"\n | \"SeriesFiltered\"\n | \"SeriesSearch\"\n | \"Settings\"\n | \"Shapes\"\n | \"Share\"\n | \"SharedFilter\"\n | \"Shield\"\n | \"Ship\"\n | \"Shop\"\n | \"ShoppingCart\"\n | \"ShortenText\"\n | \"SignalSearch\"\n | \"SimCard\"\n | \"Slash\"\n | \"SmallCross\"\n | \"SmallInfoSign\"\n | \"SmallMinus\"\n | \"SmallPlus\"\n | \"SmallSquare\"\n | \"SmallTick\"\n | \"Snowflake\"\n | \"SoccerBall\"\n | \"SocialMedia\"\n | \"SortAlphabeticalDesc\"\n | \"SortAlphabetical\"\n | \"SortAsc\"\n | \"SortDesc\"\n | \"SortNumericalDesc\"\n | \"SortNumerical\"\n | \"Sort\"\n | \"SpellCheck\"\n | \"SplitColumns\"\n | \"SportsStadium\"\n | \"Square\"\n | \"StackedChart\"\n | \"StadiumGeometry\"\n | \"StarEmpty\"\n | \"Star\"\n | \"StepBackward\"\n | \"StepChart\"\n | \"StepForward\"\n | \"Stop\"\n | \"Stopwatch\"\n | \"Strikethrough\"\n | \"Style\"\n | \"Subscript\"\n | \"Superscript\"\n | \"SwapHorizontal\"\n | \"SwapVertical\"\n | \"Switch\"\n | \"SymbolCircle\"\n | \"SymbolCross\"\n | \"SymbolDiamond\"\n | \"SymbolRectangle\"\n | \"SymbolSquare\"\n | \"SymbolTriangleDown\"\n | \"SymbolTriangleUp\"\n | \"Syringe\"\n | \"TableSync\"\n | \"Tag\"\n | \"TakeAction\"\n | \"Tank\"\n | \"Target\"\n | \"Taxi\"\n | \"Team\"\n | \"Temperature\"\n | \"TextHighlight\"\n | \"ThDerived\"\n | \"ThDisconnect\"\n | \"ThFiltered\"\n | \"ThList\"\n | \"Th\"\n | \"ThirdParty\"\n | \"ThumbsDown\"\n | \"ThumbsUp\"\n | \"TickCircle\"\n | \"Tick\"\n | \"Time\"\n | \"TimelineAreaChart\"\n | \"TimelineBarChart\"\n | \"TimelineEvents\"\n | \"TimelineLineChart\"\n | \"Tint\"\n | \"Torch\"\n | \"Tractor\"\n | \"Train\"\n | \"Translate\"\n | \"Trash\"\n | \"Tree\"\n | \"TrendingDown\"\n | \"TrendingUp\"\n | \"Trophy\"\n | \"Truck\"\n | \"TwoColumns\"\n | \"Unarchive\"\n | \"Underline\"\n | \"Undo\"\n | \"UngroupObjects\"\n | \"UnknownVehicle\"\n | \"Unlink\"\n | \"Unlock\"\n | \"Unpin\"\n | \"Unresolve\"\n | \"Updated\"\n | \"Upload\"\n | \"User\"\n | \"Variable\"\n | \"Vector\"\n | \"VerticalBarChartAsc\"\n | \"VerticalBarChartDesc\"\n | \"VerticalDistribution\"\n | \"VerticalInbetween\"\n | \"Video\"\n | \"Virus\"\n | \"VolumeDown\"\n | \"VolumeOff\"\n | \"VolumeUp\"\n | \"Walk\"\n | \"WarningSign\"\n | \"WaterfallChart\"\n | \"Waves\"\n | \"WidgetButton\"\n | \"WidgetFooter\"\n | \"WidgetHeader\"\n | \"Widget\"\n | \"Wind\"\n | \"Wrench\"\n | \"ZoomIn\"\n | \"ZoomOut\"\n | \"ZoomToFit\";\n"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=OntologyDefinition.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OntologyDefinition.js","names":[],"sources":["OntologyDefinition.ts"],"sourcesContent":["/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type { ValueTypeDefinitionVersion } from \"../values/ValueTypeDefinitionVersion.js\";\nimport type { OntologyEntityTypeEnum } from \"./OntologyEntityTypeEnum.js\";\nimport type { OntologyEntityTypeMapping } from \"./OntologyEntityTypeMapping.js\";\n\nexport type OntologyDefinition =\n & {\n [K in Exclude<OntologyEntityTypeEnum, \"VALUE_TYPE\">]: Record<\n string,\n OntologyEntityTypeMapping[K]\n >;\n }\n & {\n VALUE_TYPE: Record<string, ValueTypeDefinitionVersion[]>;\n };\n"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=OntologyEntityBase.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OntologyEntityBase.js","names":[],"sources":["OntologyEntityBase.ts"],"sourcesContent":["/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type { OntologyEntityTypeEnum } from \"./OntologyEntityTypeEnum.js\";\n\nexport interface OntologyEntityBase {\n __type: OntologyEntityTypeEnum;\n apiName: string;\n}\n"],"mappings":"","ignoreList":[]}
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2024 Palantir Technologies, Inc. All rights reserved.
2
+ * Copyright 2025 Palantir Technologies, Inc. All rights reserved.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -23,10 +23,4 @@ export let OntologyEntityTypeEnum = /*#__PURE__*/function (OntologyEntityTypeEnu
23
23
  OntologyEntityTypeEnum["VALUE_TYPE"] = "VALUE_TYPE";
24
24
  return OntologyEntityTypeEnum;
25
25
  }({});
26
- export const MODIFY_OBJECT_PARAMETER = "objectToModifyParameter";
27
- export const CREATE_OR_MODIFY_OBJECT_PARAMETER = "objectToCreateOrModifyParameter";
28
-
29
- // TODO(ethana): add more commonly used conditions - parameter matching, organizations, etc.
30
-
31
- // TODO(dpaquin): cleanup? or does "type: foo" actually make sense here
32
- //# sourceMappingURL=types.js.map
26
+ //# sourceMappingURL=OntologyEntityTypeEnum.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OntologyEntityTypeEnum.js","names":["OntologyEntityTypeEnum"],"sources":["OntologyEntityTypeEnum.ts"],"sourcesContent":["/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport enum OntologyEntityTypeEnum {\n OBJECT_TYPE = \"OBJECT_TYPE\",\n LINK_TYPE = \"LINK_TYPE\",\n INTERFACE_TYPE = \"INTERFACE_TYPE\",\n SHARED_PROPERTY_TYPE = \"SHARED_PROPERTY_TYPE\",\n ACTION_TYPE = \"ACTION_TYPE\",\n VALUE_TYPE = \"VALUE_TYPE\",\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,WAAYA,sBAAsB,0BAAtBA,sBAAsB;EAAtBA,sBAAsB;EAAtBA,sBAAsB;EAAtBA,sBAAsB;EAAtBA,sBAAsB;EAAtBA,sBAAsB;EAAtBA,sBAAsB;EAAA,OAAtBA,sBAAsB;AAAA","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=OntologyEntityTypeMapping.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OntologyEntityTypeMapping.js","names":[],"sources":["OntologyEntityTypeMapping.ts"],"sourcesContent":["/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type { ActionType } from \"../action/ActionType.js\";\nimport type { InterfaceType } from \"../interface/InterfaceType.js\";\nimport type { LinkType } from \"../links/LinkType.js\";\nimport type { ObjectType } from \"../object/ObjectType.js\";\nimport type { SharedPropertyType } from \"../properties/SharedPropertyType.js\";\nimport type { ValueTypeDefinitionVersion } from \"../values/ValueTypeDefinitionVersion.js\";\nimport type { OntologyEntityTypeEnum } from \"./OntologyEntityTypeEnum.js\";\n\nexport interface OntologyEntityTypeMapping {\n [OntologyEntityTypeEnum.OBJECT_TYPE]: ObjectType;\n [OntologyEntityTypeEnum.ACTION_TYPE]: ActionType;\n [OntologyEntityTypeEnum.LINK_TYPE]: LinkType;\n [OntologyEntityTypeEnum.INTERFACE_TYPE]: InterfaceType;\n [OntologyEntityTypeEnum.SHARED_PROPERTY_TYPE]: SharedPropertyType;\n [OntologyEntityTypeEnum.VALUE_TYPE]: ValueTypeDefinitionVersion;\n}\n\nexport type OntologyEntityType =\n OntologyEntityTypeMapping[keyof OntologyEntityTypeMapping];\n"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=TypeClass.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TypeClass.js","names":[],"sources":["TypeClass.ts"],"sourcesContent":["/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport type TypeClass = { kind: string; name: string };\n"],"mappings":"","ignoreList":[]}
@@ -16,40 +16,46 @@
16
16
 
17
17
  import { consola } from "consola";
18
18
  import invariant from "tiny-invariant";
19
- import { convertToDisplayName, getAllInterfaceProperties } from "./defineObject.js";
19
+ import { convertConditionDefinition } from "../conversion/toMarketplace/convertConditionDefinition.js";
20
+ import { convertMappingValue } from "../conversion/toMarketplace/convertMappingValue.js";
21
+ import { isActionParameterTypePrimitive } from "./action/ActionParameterType.js";
22
+ import { OntologyEntityTypeEnum } from "./common/OntologyEntityTypeEnum.js";
23
+ import { uppercaseFirstLetter } from "./defineObject.js";
20
24
  import { importedTypes, namespace, ontologyDefinition, updateOntology } from "./defineOntology.js";
21
- import { convertConditionDefinition, convertMappingValue } from "./ontologyUtils.js";
22
- import { CREATE_OR_MODIFY_OBJECT_PARAMETER, MODIFY_OBJECT_PARAMETER, OntologyEntityTypeEnum } from "./types.js";
23
- export function defineCreateInterfaceObjectAction(interfaceType, objectType, validation) {
24
- const allProperties = Object.entries(getAllInterfaceProperties(interfaceType)).filter(([_, prop]) => !isStruct(prop.sharedPropertyType.type));
25
- if (allProperties.length !== Object.entries(getAllInterfaceProperties(interfaceType)).length) {
26
- consola.info(`Some properties on ${interfaceType.apiName} were skipped in the create action because they are structs`);
25
+ import { getFlattenedInterfaceProperties } from "./interface/getFlattenedInterfaceProperties.js";
26
+ import { isStruct } from "./properties/PropertyTypeType.js";
27
+ export const MODIFY_OBJECT_PARAMETER = "objectToModifyParameter";
28
+ export const CREATE_OR_MODIFY_OBJECT_PARAMETER = "objectToCreateOrModifyParameter";
29
+ export function defineCreateInterfaceObjectAction(def) {
30
+ const allProperties = Object.entries(getFlattenedInterfaceProperties(def.interfaceType)).filter(([_, prop]) => !isStruct(prop.sharedPropertyType.type) && !(def.excludedProperties ?? []).includes(prop.sharedPropertyType.nonNameSpacedApiName));
31
+ if (allProperties.length !== Object.entries(getFlattenedInterfaceProperties(def.interfaceType)).length) {
32
+ consola.info(`Some properties on ${def.interfaceType.apiName} were skipped in the create action because they are structs`);
27
33
  }
28
34
  return defineAction({
29
- apiName: `create-${kebab(interfaceType.apiName.split(".").pop() ?? interfaceType.apiName)}${objectType === undefined ? "" : `-${kebab(objectType.apiName.split(".").pop() ?? objectType.apiName)}`}`,
30
- displayName: `Create ${interfaceType.displayMetadata.displayName}`,
35
+ apiName: `create-${kebab(def.interfaceType.apiName.split(".").pop() ?? def.interfaceType.apiName)}${def.objectType === undefined ? "" : `-${kebab(def.objectType.apiName.split(".").pop() ?? def.objectType.apiName)}`}`,
36
+ displayName: `Create ${def.interfaceType.displayMetadata.displayName}`,
31
37
  parameters: [{
32
38
  id: "objectTypeParameter",
33
39
  displayName: "Object type to create",
34
40
  type: {
35
41
  type: "objectTypeReference",
36
42
  objectTypeReference: {
37
- interfaceTypeRids: [interfaceType.apiName]
43
+ interfaceTypeRids: [def.interfaceType.apiName]
38
44
  }
39
45
  },
40
46
  validation: {
41
47
  required: true,
42
- allowedValues: objectType === undefined ? {
48
+ allowedValues: def.objectType === undefined ? {
43
49
  type: "objectTypeReference",
44
- interfaceTypes: [interfaceType.apiName]
50
+ interfaceTypes: [def.interfaceType.apiName]
45
51
  } : {
46
52
  type: "oneOf",
47
53
  oneOf: [{
48
- label: objectType.displayName,
54
+ label: def.objectType.displayName,
49
55
  value: {
50
56
  type: "objectType",
51
57
  objectType: {
52
- objectTypeId: objectType.apiName
58
+ objectTypeId: def.objectType.apiName
53
59
  }
54
60
  }
55
61
  }]
@@ -67,9 +73,9 @@ export function defineCreateInterfaceObjectAction(interfaceType, objectType, val
67
73
  allowedValues: extractAllowedValuesFromPropertyType(prop.sharedPropertyType.type)
68
74
  }
69
75
  }))],
70
- status: interfaceType.status.type !== "deprecated" ? interfaceType.status.type : interfaceType.status,
76
+ status: def.interfaceType.status.type !== "deprecated" ? def.interfaceType.status.type : def.interfaceType.status,
71
77
  entities: {
72
- affectedInterfaceTypes: [interfaceType.apiName],
78
+ affectedInterfaceTypes: [def.interfaceType.apiName],
73
79
  affectedObjectTypes: [],
74
80
  affectedLinkTypes: [],
75
81
  typeGroups: []
@@ -77,7 +83,7 @@ export function defineCreateInterfaceObjectAction(interfaceType, objectType, val
77
83
  rules: [{
78
84
  type: "addInterfaceRule",
79
85
  addInterfaceRule: {
80
- interfaceApiName: interfaceType.apiName,
86
+ interfaceApiName: def.interfaceType.apiName,
81
87
  objectTypeParameter: "objectTypeParameter",
82
88
  sharedPropertyValues: Object.fromEntries(allProperties.map(([id, _prop]) => [id, {
83
89
  type: "parameterId",
@@ -85,8 +91,8 @@ export function defineCreateInterfaceObjectAction(interfaceType, objectType, val
85
91
  }]))
86
92
  }
87
93
  }],
88
- ...(validation ? {
89
- validation: convertValidationRule(validation)
94
+ ...(def.validation ? {
95
+ validation: convertValidationRule(def.validation)
90
96
  } : {})
91
97
  });
92
98
  }
@@ -147,35 +153,35 @@ export function defineCreateObjectAction(def) {
147
153
  })
148
154
  });
149
155
  }
150
- export function defineModifyInterfaceObjectAction(interfaceType, objectType, validation) {
151
- const allProperties = Object.entries(getAllInterfaceProperties(interfaceType)).filter(([_, prop]) => !isStruct(prop.sharedPropertyType.type));
152
- if (allProperties.length !== Object.entries(getAllInterfaceProperties(interfaceType)).length) {
153
- consola.info(`Some properties on ${interfaceType.apiName} were skipped in the modify action because they are structs`);
156
+ export function defineModifyInterfaceObjectAction(def) {
157
+ const allProperties = Object.entries(getFlattenedInterfaceProperties(def.interfaceType)).filter(([_, prop]) => !isStruct(prop.sharedPropertyType.type) && !(def.excludedProperties ?? []).includes(prop.sharedPropertyType.nonNameSpacedApiName));
158
+ if (allProperties.length !== Object.entries(getFlattenedInterfaceProperties(def.interfaceType)).length) {
159
+ consola.info(`Some properties on ${def.interfaceType.apiName} were skipped in the modify action because they are structs`);
154
160
  }
155
161
  return defineAction({
156
- apiName: `modify-${kebab(interfaceType.apiName.split(".").pop() ?? interfaceType.apiName)}${objectType === undefined ? "" : `-${kebab(objectType.apiName.split(".").pop() ?? objectType.apiName)}`}`,
157
- displayName: `Modify ${interfaceType.displayMetadata.displayName}`,
162
+ apiName: `modify-${kebab(def.interfaceType.apiName.split(".").pop() ?? def.interfaceType.apiName)}${def.objectType === undefined ? "" : `-${kebab(def.objectType.apiName.split(".").pop() ?? def.objectType.apiName)}`}`,
163
+ displayName: `Modify ${def.interfaceType.displayMetadata.displayName}`,
158
164
  parameters: [{
159
165
  id: "interfaceObjectToModifyParameter",
160
166
  displayName: "Object type to modify",
161
167
  type: {
162
168
  type: "interfaceReference",
163
169
  interfaceReference: {
164
- interfaceTypeRid: interfaceType.apiName
170
+ interfaceTypeRid: def.interfaceType.apiName
165
171
  }
166
172
  },
167
173
  validation: {
168
174
  required: true,
169
- allowedValues: objectType === undefined ? {
175
+ allowedValues: def.objectType === undefined ? {
170
176
  type: "interfaceObjectQuery"
171
177
  } : {
172
178
  type: "oneOf",
173
179
  oneOf: [{
174
- label: objectType.displayName,
180
+ label: def.objectType.displayName,
175
181
  value: {
176
182
  type: "objectType",
177
183
  objectType: {
178
- objectTypeId: objectType.apiName
184
+ objectTypeId: def.objectType.apiName
179
185
  }
180
186
  }
181
187
  }]
@@ -193,9 +199,9 @@ export function defineModifyInterfaceObjectAction(interfaceType, objectType, val
193
199
  allowedValues: extractAllowedValuesFromPropertyType(prop.sharedPropertyType.type)
194
200
  }
195
201
  }))],
196
- status: interfaceType.status.type !== "deprecated" ? interfaceType.status.type : interfaceType.status,
202
+ status: def.interfaceType.status.type !== "deprecated" ? def.interfaceType.status.type : def.interfaceType.status,
197
203
  entities: {
198
- affectedInterfaceTypes: [interfaceType.apiName],
204
+ affectedInterfaceTypes: [def.interfaceType.apiName],
199
205
  affectedObjectTypes: [],
200
206
  affectedLinkTypes: [],
201
207
  typeGroups: []
@@ -210,8 +216,8 @@ export function defineModifyInterfaceObjectAction(interfaceType, objectType, val
210
216
  }]))
211
217
  }
212
218
  }],
213
- ...(validation ? {
214
- validation: convertValidationRule(validation)
219
+ ...(def.validation ? {
220
+ validation: convertValidationRule(def.validation)
215
221
  } : {})
216
222
  });
217
223
  }
@@ -420,12 +426,6 @@ export function defineAction(actionDef) {
420
426
  !parameterIds.some(id => id === rule.deleteObjectRule.objectToDelete) ? process.env.NODE_ENV !== "production" ? invariant(false, `Object to delete parameter must be defined in parameters`) : invariant(false) : void 0;
421
427
  }
422
428
  if (rule.type === "modifyInterfaceRule") {
423
- // all referenced SPTs exist globally
424
- Object.keys(rule.modifyInterfaceRule.sharedPropertyValues).forEach(spt => {
425
- !(ontologyDefinition.SHARED_PROPERTY_TYPE[spt] !== undefined || importedTypes.SHARED_PROPERTY_TYPE[spt] !== undefined) ? process.env.NODE_ENV !== "production" ? invariant(false, `Shared property type ${spt} does not exist.
426
- If this SPT was imported, you may need to use [spt.apiName] as the key so that it is qualified with the right namespace`) : invariant(false) : void 0;
427
- });
428
-
429
429
  // The there must be a parameter for the interface, and the interface there must exist
430
430
  const interfaceParam = actionDef.parameters.find(p => p.id === rule.modifyInterfaceRule.interfaceObjectToModifyParameter);
431
431
  !(interfaceParam !== undefined && typeof interfaceParam.type === "object" && (interfaceParam.type.type === "interfaceReference" || interfaceParam.type.type === "interfaceReferenceList")) ? process.env.NODE_ENV !== "production" ? invariant(false, `Interface object to modify parameter must be an interface reference`) : invariant(false) : void 0;
@@ -435,23 +435,17 @@ export function defineAction(actionDef) {
435
435
  // All referenced SPTs must exist on the interface
436
436
  const interfaceType = ontologyDefinition.INTERFACE_TYPE[interfaceReference];
437
437
  Object.keys(rule.modifyInterfaceRule.sharedPropertyValues).forEach(spt => {
438
- !(interfaceType.propertiesV2[spt] !== undefined) ? process.env.NODE_ENV !== "production" ? invariant(false, `Shared property type ${spt} does not exist in interface type ${interfaceReference}`) : invariant(false) : void 0;
438
+ !Object.keys(getFlattenedInterfaceProperties(interfaceType)).includes(spt) ? process.env.NODE_ENV !== "production" ? invariant(false, `Shared property type ${spt} does not exist in interface type ${interfaceReference}`) : invariant(false) : void 0;
439
439
  });
440
440
  }
441
441
  if (rule.type === "addInterfaceRule") {
442
- // All referenced SPTs must exist globally
443
- Object.keys(rule.addInterfaceRule.sharedPropertyValues).forEach(spt => {
444
- !(ontologyDefinition.SHARED_PROPERTY_TYPE[spt] !== undefined || importedTypes.SHARED_PROPERTY_TYPE[spt] !== undefined) ? process.env.NODE_ENV !== "production" ? invariant(false, `Shared property type ${spt} does not exist.
445
- If this SPT was imported, you may need to use [spt.apiName] as the key so that it is qualified with the right namespace`) : invariant(false) : void 0;
446
- });
447
-
448
442
  // The referenced interface must exist globally
449
443
  const interfaceType = ontologyDefinition.INTERFACE_TYPE[rule.addInterfaceRule.interfaceApiName] ?? importedTypes.INTERFACE_TYPE[rule.addInterfaceRule.interfaceApiName];
450
444
  !(interfaceType !== undefined) ? process.env.NODE_ENV !== "production" ? invariant(false, `Interface type ${rule.addInterfaceRule.interfaceApiName} does not exist`) : invariant(false) : void 0;
451
445
 
452
446
  // All referenced SPTs must exist on the interface
453
447
  Object.keys(rule.addInterfaceRule.sharedPropertyValues).forEach(spt => {
454
- !(interfaceType.propertiesV2[spt] !== undefined) ? process.env.NODE_ENV !== "production" ? invariant(false, `Shared property type ${spt} does not exist in interface type ${interfaceType.apiName}`) : invariant(false) : void 0;
448
+ !Object.keys(getFlattenedInterfaceProperties(interfaceType)).includes(spt) ? process.env.NODE_ENV !== "production" ? invariant(false, `Shared property type ${spt} does not exist in interface type ${interfaceType.apiName}`) : invariant(false) : void 0;
455
449
  });
456
450
  }
457
451
  });
@@ -527,7 +521,7 @@ function createParameters(def, parameterSet) {
527
521
  });
528
522
  return [...targetParam, ...Array.from(parameterSet).map(id => ({
529
523
  id,
530
- displayName: def.parameterConfiguration?.[id]?.displayName ?? def.objectType.properties?.[id]?.displayName ?? convertToDisplayName(id),
524
+ displayName: def.parameterConfiguration?.[id]?.displayName ?? def.objectType.properties?.[id]?.displayName ?? uppercaseFirstLetter(id),
531
525
  type: def.parameterConfiguration?.[id]?.customParameterType ?? extractActionParameterType(def.objectType.properties?.[id]),
532
526
  validation: def.parameterConfiguration?.[id] !== undefined ? {
533
527
  ...def.parameterConfiguration?.[id],
@@ -810,12 +804,6 @@ function extractActionParameterType(pt) {
810
804
  function maybeAddList(type, pt) {
811
805
  return pt.array ?? false ? type + "List" : type;
812
806
  }
813
- function isActionParameterTypePrimitive(type) {
814
- return ["boolean", "booleanList", "integer", "integerList", "long", "longList", "double", "doubleList", "string", "stringList", "decimal", "decimalList", "timestamp", "timestampList", "geohash", "geohashList", "geoshape", "geoshapeList", "timeSeriesReference", "date", "dateList", "objectTypeReference", "objectReference", "attachment", "attachmentList", "marking", "markingList", "mediaReference", "mediaReferenceList", "geotimeSeriesReference", "geotimeSeriesReferenceList"].includes(type);
815
- }
816
- function isStruct(type) {
817
- return typeof type === "object" && type.type === "struct";
818
- }
819
807
  function kebab(s) {
820
808
  return s.replace(/([a-z])([A-Z])/g, "$1-$2").replace(/([A-Z])([A-Z][a-z])/g, "$1-$2").replace(/\./g, "-").toLowerCase();
821
809
  }