@osdk/maker 0.14.0-beta.8 → 0.14.0-rc.16

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 (76) hide show
  1. package/CHANGELOG.md +128 -0
  2. package/README.md +0 -1
  3. package/build/browser/api/code-snippets/createCodeSnippets.js +94 -0
  4. package/build/browser/api/code-snippets/createCodeSnippets.js.map +1 -0
  5. package/build/browser/api/code-snippets/snippetTypes.js +61 -0
  6. package/build/browser/api/code-snippets/snippetTypes.js.map +1 -0
  7. package/build/browser/api/defineAction.js +6 -0
  8. package/build/browser/api/defineAction.js.map +1 -1
  9. package/build/browser/api/defineCreateInterfaceObjectAction.js +8 -7
  10. package/build/browser/api/defineCreateInterfaceObjectAction.js.map +1 -1
  11. package/build/browser/api/defineDeleteInterfaceObjectAction.js +2 -2
  12. package/build/browser/api/defineDeleteInterfaceObjectAction.js.map +1 -1
  13. package/build/browser/api/defineModifyInterfaceObjectAction.js +8 -7
  14. package/build/browser/api/defineModifyInterfaceObjectAction.js.map +1 -1
  15. package/build/browser/api/defineObject.js +1 -2
  16. package/build/browser/api/defineObject.js.map +1 -1
  17. package/build/browser/api/defineOntology.js +5 -1
  18. package/build/browser/api/defineOntology.js.map +1 -1
  19. package/build/browser/api/object/ObjectPropertyTypeUserDefinition.js.map +1 -1
  20. package/build/browser/api/properties/PropertyTypeType.js.map +1 -1
  21. package/build/browser/api/test/actions.test.js +1252 -10
  22. package/build/browser/api/test/actions.test.js.map +1 -1
  23. package/build/browser/api/test/misc.test.js +2 -2
  24. package/build/browser/api/test/misc.test.js.map +1 -1
  25. package/build/browser/api/test/spt.test.js +204 -105
  26. package/build/browser/api/test/spt.test.js.map +1 -1
  27. package/build/browser/cli/main.js +23 -4
  28. package/build/browser/cli/main.js.map +1 -1
  29. package/build/browser/conversion/toMarketplace/propertyTypeTypeToOntologyIrType.js +19 -7
  30. package/build/browser/conversion/toMarketplace/propertyTypeTypeToOntologyIrType.js.map +1 -1
  31. package/build/cjs/index.cjs +206 -61
  32. package/build/cjs/index.cjs.map +1 -1
  33. package/build/cjs/index.d.cts +15 -6
  34. package/build/esm/api/code-snippets/createCodeSnippets.js +94 -0
  35. package/build/esm/api/code-snippets/createCodeSnippets.js.map +1 -0
  36. package/build/esm/api/code-snippets/snippetTypes.js +61 -0
  37. package/build/esm/api/code-snippets/snippetTypes.js.map +1 -0
  38. package/build/esm/api/defineAction.js +6 -0
  39. package/build/esm/api/defineAction.js.map +1 -1
  40. package/build/esm/api/defineCreateInterfaceObjectAction.js +8 -7
  41. package/build/esm/api/defineCreateInterfaceObjectAction.js.map +1 -1
  42. package/build/esm/api/defineDeleteInterfaceObjectAction.js +2 -2
  43. package/build/esm/api/defineDeleteInterfaceObjectAction.js.map +1 -1
  44. package/build/esm/api/defineModifyInterfaceObjectAction.js +8 -7
  45. package/build/esm/api/defineModifyInterfaceObjectAction.js.map +1 -1
  46. package/build/esm/api/defineObject.js +1 -2
  47. package/build/esm/api/defineObject.js.map +1 -1
  48. package/build/esm/api/defineOntology.js +5 -1
  49. package/build/esm/api/defineOntology.js.map +1 -1
  50. package/build/esm/api/object/ObjectPropertyTypeUserDefinition.js.map +1 -1
  51. package/build/esm/api/properties/PropertyTypeType.js.map +1 -1
  52. package/build/esm/api/test/actions.test.js +1252 -10
  53. package/build/esm/api/test/actions.test.js.map +1 -1
  54. package/build/esm/api/test/misc.test.js +2 -2
  55. package/build/esm/api/test/misc.test.js.map +1 -1
  56. package/build/esm/api/test/spt.test.js +204 -105
  57. package/build/esm/api/test/spt.test.js.map +1 -1
  58. package/build/esm/cli/main.js +23 -4
  59. package/build/esm/cli/main.js.map +1 -1
  60. package/build/esm/conversion/toMarketplace/propertyTypeTypeToOntologyIrType.js +19 -7
  61. package/build/esm/conversion/toMarketplace/propertyTypeTypeToOntologyIrType.js.map +1 -1
  62. package/build/types/api/code-snippets/createCodeSnippets.d.ts +2 -0
  63. package/build/types/api/code-snippets/createCodeSnippets.d.ts.map +1 -0
  64. package/build/types/api/code-snippets/snippetTypes.d.ts +24 -0
  65. package/build/types/api/code-snippets/snippetTypes.d.ts.map +1 -0
  66. package/build/types/api/defineAction.d.ts +3 -0
  67. package/build/types/api/defineAction.d.ts.map +1 -1
  68. package/build/types/api/defineCreateInterfaceObjectAction.d.ts.map +1 -1
  69. package/build/types/api/defineModifyInterfaceObjectAction.d.ts.map +1 -1
  70. package/build/types/api/defineOntology.d.ts +1 -1
  71. package/build/types/api/defineOntology.d.ts.map +1 -1
  72. package/build/types/api/object/ObjectPropertyTypeUserDefinition.d.ts +1 -1
  73. package/build/types/api/object/ObjectPropertyTypeUserDefinition.d.ts.map +1 -1
  74. package/build/types/api/properties/PropertyTypeType.d.ts +11 -4
  75. package/build/types/api/properties/PropertyTypeType.d.ts.map +1 -1
  76. package/package.json +8 -5
@@ -1 +1 @@
1
- {"version":3,"file":"propertyTypeTypeToOntologyIrType.js","names":["distributeTypeHelper","propertyTypeTypeToOntologyIrType","type","marking","markingType","structFields","Array","key","structDefinition","fieldTypeDefinition","field","apiName","displayMetadata","displayName","description","undefined","typeClasses","aliases","fieldType","push","struct","analyzerOverride","enableAsciiFolding","isLongText","supportsEfficientLeadingWildcard","supportsExactMatching","geohash","precision","scale","mediaReference","geotimeSeriesReference"],"sources":["propertyTypeTypeToOntologyIrType.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 OntologyIrStructFieldType,\n OntologyIrType,\n} from \"@osdk/client.unstable\";\nimport type { PropertyTypeType } from \"../../api/properties/PropertyTypeType.js\";\nimport { distributeTypeHelper } from \"../toConjure/distributeTypeHelper.js\";\n\nexport function propertyTypeTypeToOntologyIrType(\n type: PropertyTypeType,\n): OntologyIrType {\n switch (true) {\n case (typeof type === \"object\" && \"markingType\" in type):\n return {\n \"type\": \"marking\",\n marking: { markingType: type.markingType },\n };\n\n case (typeof type === \"object\" && \"structDefinition\" in type):\n const structFields: Array<OntologyIrStructFieldType> = new Array();\n for (const key in type.structDefinition) {\n const fieldTypeDefinition = type.structDefinition[key];\n let field: OntologyIrStructFieldType;\n if (typeof fieldTypeDefinition === \"string\") {\n field = {\n apiName: key,\n displayMetadata: { displayName: key, description: undefined },\n typeClasses: [],\n aliases: [],\n fieldType: propertyTypeTypeToOntologyIrType(fieldTypeDefinition),\n };\n } else {\n // If it is a full form type definition then process it as such\n if (\"fieldType\" in fieldTypeDefinition) {\n field = {\n ...fieldTypeDefinition,\n apiName: key,\n fieldType: propertyTypeTypeToOntologyIrType(\n fieldTypeDefinition.fieldType,\n ),\n typeClasses: fieldTypeDefinition.typeClasses ?? [],\n aliases: fieldTypeDefinition.aliases ?? [],\n };\n } else {\n field = {\n apiName: key,\n displayMetadata: { displayName: key, description: undefined },\n typeClasses: [],\n aliases: [],\n fieldType: propertyTypeTypeToOntologyIrType(fieldTypeDefinition),\n };\n }\n }\n\n structFields.push(field);\n }\n\n return {\n type: \"struct\",\n struct: { structFields },\n };\n\n case (typeof type === \"object\" && \"isLongText\" in type):\n return {\n \"type\": \"string\",\n \"string\": {\n analyzerOverride: undefined,\n enableAsciiFolding: undefined,\n isLongText: type.isLongText,\n supportsEfficientLeadingWildcard:\n type.supportsEfficientLeadingWildcard,\n supportsExactMatching: type.supportsExactMatching,\n },\n };\n\n case (type === \"geopoint\"):\n return { type: \"geohash\", geohash: {} };\n\n case (type === \"decimal\"):\n return { type, [type]: { precision: undefined, scale: undefined } };\n\n case (type === \"string\"):\n return {\n type,\n [type]: {\n analyzerOverride: undefined,\n enableAsciiFolding: undefined,\n isLongText: false,\n supportsEfficientLeadingWildcard: false,\n supportsExactMatching: true,\n },\n };\n\n case (type === \"mediaReference\"):\n return {\n type: type,\n mediaReference: {},\n };\n\n case (type === \"geotimeSeries\"):\n return {\n type: \"geotimeSeriesReference\",\n geotimeSeriesReference: {},\n };\n\n default:\n // use helper function to distribute `type` properly\n return distributeTypeHelper(type);\n }\n}\n"],"mappings":"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","ignoreList":[]}
1
+ {"version":3,"file":"propertyTypeTypeToOntologyIrType.js","names":["distributeTypeHelper","propertyTypeTypeToOntologyIrType","type","marking","markingType","structFields","Array","key","structDefinition","fieldTypeDefinition","field","apiName","displayMetadata","displayName","description","undefined","typeClasses","aliases","fieldType","push","struct","analyzerOverride","enableAsciiFolding","isLongText","supportsEfficientLeadingWildcard","supportsExactMatching","supportsFullTextRegex","precision","scale","geohash","mediaReference","geotimeSeriesReference","Error","JSON","stringify"],"sources":["propertyTypeTypeToOntologyIrType.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 OntologyIrStructFieldType,\n OntologyIrType,\n} from \"@osdk/client.unstable\";\nimport type { PropertyTypeType } from \"../../api/properties/PropertyTypeType.js\";\nimport { distributeTypeHelper } from \"../toConjure/distributeTypeHelper.js\";\n\nexport function propertyTypeTypeToOntologyIrType(\n type: PropertyTypeType,\n): OntologyIrType {\n switch (true) {\n case (typeof type === \"object\" && type.type === \"marking\"):\n return {\n \"type\": \"marking\",\n marking: { markingType: type.markingType },\n };\n\n case (typeof type === \"object\" && type.type === \"struct\"):\n const structFields: Array<OntologyIrStructFieldType> = new Array();\n for (const key in type.structDefinition) {\n const fieldTypeDefinition = type.structDefinition[key];\n let field: OntologyIrStructFieldType;\n if (typeof fieldTypeDefinition === \"string\") {\n field = {\n apiName: key,\n displayMetadata: { displayName: key, description: undefined },\n typeClasses: [],\n aliases: [],\n fieldType: propertyTypeTypeToOntologyIrType(fieldTypeDefinition),\n };\n } else {\n // If it is a full form type definition then process it as such\n if (\"fieldType\" in fieldTypeDefinition) {\n field = {\n ...fieldTypeDefinition,\n apiName: key,\n fieldType: propertyTypeTypeToOntologyIrType(\n fieldTypeDefinition.fieldType,\n ),\n typeClasses: fieldTypeDefinition.typeClasses ?? [],\n aliases: fieldTypeDefinition.aliases ?? [],\n };\n } else {\n field = {\n apiName: key,\n displayMetadata: { displayName: key, description: undefined },\n typeClasses: [],\n aliases: [],\n fieldType: propertyTypeTypeToOntologyIrType(fieldTypeDefinition),\n };\n }\n }\n\n structFields.push(field);\n }\n\n return {\n type: \"struct\",\n struct: { structFields },\n };\n\n case (typeof type === \"object\" && type.type === \"string\"):\n return {\n \"type\": \"string\",\n \"string\": {\n analyzerOverride: undefined,\n enableAsciiFolding: type.enableAsciiFolding,\n isLongText: type.isLongText ?? false,\n supportsEfficientLeadingWildcard:\n type.supportsEfficientLeadingWildcard ?? false,\n supportsExactMatching: type.supportsExactMatching ?? true,\n supportsFullTextRegex: type.supportsFullTextRegex,\n },\n };\n\n case (typeof type === \"object\" && type.type === \"decimal\"):\n return {\n \"type\": \"decimal\",\n \"decimal\": {\n precision: type.precision,\n scale: type.scale,\n },\n };\n\n case (type === \"geopoint\"):\n return { type: \"geohash\", geohash: {} };\n\n case (type === \"decimal\"):\n return { type, [type]: { precision: undefined, scale: undefined } };\n\n case (type === \"string\"):\n return {\n type,\n [type]: {\n analyzerOverride: undefined,\n enableAsciiFolding: undefined,\n isLongText: false,\n supportsEfficientLeadingWildcard: false,\n supportsExactMatching: true,\n },\n };\n\n case (type === \"mediaReference\"):\n return {\n type: type,\n mediaReference: {},\n };\n\n case (type === \"geotimeSeries\"):\n return {\n type: \"geotimeSeriesReference\",\n geotimeSeriesReference: {},\n };\n\n default:\n // use helper function to distribute `type` properly\n if (typeof type === \"object\") {\n throw new Error(`Unhandled exotic type: ${JSON.stringify(type)}`);\n }\n return distributeTypeHelper(type);\n }\n}\n"],"mappings":"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","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import type { OntologyDefinition } from "../common/OntologyDefinition.js";
2
+ export declare function createCodeSnippets(ontology: OntologyDefinition, packageName: string | undefined, outputDir: string | undefined): void;
@@ -0,0 +1 @@
1
+ {"mappings":"AAsBA,cAAc,0BAA0B,iCAAkC;AAW1E,OAAO,iBAAS,mBACdA,UAAU,oBACVC,iCACAC","names":["ontology: OntologyDefinition","packageName: string | undefined","outputDir: string | undefined"],"sources":["../../../../src/api/code-snippets/createCodeSnippets.ts"],"version":3,"file":"createCodeSnippets.d.ts"}
@@ -0,0 +1,24 @@
1
+ export declare enum interfaceSnippets {
2
+ loadInterfacesReference = 0,
3
+ loadAllInterfacesReference = 1,
4
+ loadOrderedInterfacesReference = 2,
5
+ searchInterfacesReference = 3,
6
+ loadInterfaceMetadataSnippet = 4,
7
+ subscribeToObjectSetInstructions = 5
8
+ }
9
+ export declare enum actionSnippets {
10
+ applyAction = 0,
11
+ batchApplyAction = 1
12
+ }
13
+ export declare enum objectSnippets {
14
+ loadSingleObjectGuide = 0,
15
+ loadObjectsReference = 1,
16
+ loadAllObjectsReference = 2,
17
+ loadOrderedInterfacesReference = 3,
18
+ searchObjectsGuide = 4,
19
+ aggregationTemplate = 5,
20
+ objectSetOperationsGuide = 6,
21
+ loadObjectMetadataSnippet = 7,
22
+ subscribeToObjectSetInstructions = 8
23
+ }
24
+ export declare const snippetNameMapping: Map<string, string>;
@@ -0,0 +1 @@
1
+ {"mappings":"AAgBA,oBAAY,kBAAkB;CAC5B;CACA;CACA;CACA;CACA;CACA;AACD;AAED,oBAAY,eAAe;CACzB;CACA;AACD;AAED,oBAAY,eAAe;CACzB;CACA;CACA;CACA;CACA;CACA;CAWA;CAMA;CACA;AACD;AAED,OAAO,cAAMA,oBAAoB","names":["snippetNameMapping: Map<string, string>"],"sources":["../../../../src/api/code-snippets/snippetTypes.ts"],"version":3,"file":"snippetTypes.d.ts"}
@@ -53,6 +53,8 @@ export type InterfaceActionTypeUserDefinition = {
53
53
  tableConfiguration?: TableConfiguration
54
54
  parameterOrdering?: Array<string>
55
55
  submissionMetadata?: SubmissionMetadata
56
+ useNonNamespacedParameters?: boolean
57
+ conflictingParameterOverrides?: Record<string, string>
56
58
  };
57
59
  export declare function defineAction(actionDef: ActionTypeDefinition): ActionType;
58
60
  export declare function isPropertyParameter(def: ActionTypeUserDefinition | InterfaceActionTypeUserDefinition, name: string, type: PropertyTypeType): boolean;
@@ -65,3 +67,4 @@ export declare function validateParameterOrdering(parameterOrdering: string[], p
65
67
  export declare function isTargetParameter(parameterId: string): boolean;
66
68
  export declare function addNamespaceToActionDefinition(def: InterfaceActionTypeUserDefinition): void;
67
69
  export declare function getInterfaceParameterName(def: InterfaceActionTypeUserDefinition, parameter: string): string;
70
+ export declare function getNonNamespacedParameterName(def: InterfaceActionTypeUserDefinition, parameter: string): string;
@@ -1 +1 @@
1
- {"mappings":"AAgBA,cAEE,mBACK,uBAAwB;AAG/B,cAAc,uCAAuC,6CAA8C;AACnG,cAAc,uBAAuB,6BAA8B;AAEnE,cAAc,oCAAoC,0CAA2C;AAM7F,cAAc,qBAAqB,2BAA4B;AAC/D,cAAc,oBAAoB,0BAA2B;AAC7D,cAAc,kBAAkB,wBAAyB;AACzD,cAAc,4BAA4B,kCAAmC;AAE7E,cAAc,qBAAqB,2BAA4B;AAC/D,cAAc,oBAAoB,0BAA2B;AAC7D,cAAc,0BAA0B,gCAAiC;AACzE,cAAc,0BAA0B,gCAAiC;AAWzE,cAAc,qBAAqB,8BAA+B;AAElE,cAAc,wCAAwC,8CAA+C;AACrG,cAAc,4BAA4B,kCAAmC;AAC7E,cAEO,wBACA,kCAAmC;AAC1C,cAAc,0BAA0B,oCAAqC;AAE7E,OAAO,cAAMA;AAEb,OAAO,cAAMC;AAGb,OAAO,cAAMC;AAEb,OAAO,cAAMC;AAGb,YAAY,uBAAuB,KAAK,YAAY;AAEpD,YAAY,2BAA2B;CACrC,YAAY;CACZ;CACA;CACA,SAAS;CACT,yBAAyB,eAAe;CACxC,uBAAuB,eAAe;CACtC,wBAAwB;CACxB,qBAAqB,MAAM;CAC3B,WAAW,MAAM;CACjB,gBAAgB;CAChB;CACA,qBAAqB;CACrB,oBAAoB;CACpB,qBAAqB;CAErB,mBAAmB,kBAAkB;AACtC;AAED,YAAY,oCAAoC;CAC9C,eAAe;CACf,aAAa;CACb;CACA;CACA,SAAS;CACT,yBAAyB,eAAe;CACxC,uBAAuB,eAAe;CACtC,wBAAwB;CACxB,qBAAqB;CACrB,WAAW,MAAM;CACjB,gBAAgB;CAChB;CACA,qBAAqB;CACrB,oBAAoB;CACpB,qBAAqB;AACtB;AAED,OAAO,iBAAS,aAAaC,WAAW,uBAAuB;AAmI/D,OAAO,iBAAS,oBACdC,KAAK,2BAA2B,mCAChCC,cACAC,MAAM;AASR,OAAO,iBAAS,iBACdF,KAAK,2BAA2B,mCAChCG,aACI,eAAe,oCACf,eAAe,qBACnBC,cAAc,aACdC,cAAc,0BACb,MAAM;AAkbT,OAAO,iBAAS,MAAMC;AAYtB,OAAO,iBAAS,sBACdC,kBAAkB,iCAClBC,mBAAmB,oBAClB,MAAM;AAiJT,OAAO,iBAAS,yBACdR,KAAK,2BAA2B,mCAChCS,YAAY,eACZR;AA4BF,OAAO,iBAAS,+BACdD,KAAK,2BAA2B,mCAChCS,YAAY,eACZC,YAAY,mBACZC;AAaF,OAAO,iBAAS,0BACdC,6BACAR,cAAc,aACdS;AAgBF,OAAO,iBAAS,kBAAkBC;AAOlC,OAAO,iBAAS,+BACdC,KAAK;AAqBP,OAAO,iBAAS,0BACdA,KAAK,mCACLC","names":["MODIFY_OBJECT_PARAMETER: string","CREATE_OR_MODIFY_OBJECT_PARAMETER: string","CREATE_INTERFACE_OBJECT_PARAMETER: string","MODIFY_INTERFACE_OBJECT_PARAMETER: string","actionDef: ActionTypeDefinition","def: ActionTypeUserDefinition | InterfaceActionTypeUserDefinition","name: string","type: PropertyTypeType","propertyMap:\n | Record<string, ObjectPropertyTypeUserDefinition>\n | Record<string, SharedPropertyType>","parameterSet: Set<string>","requiredMap?: Record<string, boolean>","s: string","actionValidation: ActionLevelValidationDefinition","actionParameters?: ActionParameter[]","properties: Array<string>","parameters: ActionParameter[]","priorityId?: string","parameterOrdering: string[]","actionApiName: string","parameterId: string","def: InterfaceActionTypeUserDefinition","parameter: string"],"sources":["../../../src/api/defineAction.ts"],"version":3,"file":"defineAction.d.ts"}
1
+ {"mappings":"AAgBA,cAEE,mBACK,uBAAwB;AAG/B,cAAc,uCAAuC,6CAA8C;AACnG,cAAc,uBAAuB,6BAA8B;AAEnE,cAAc,oCAAoC,0CAA2C;AAM7F,cAAc,qBAAqB,2BAA4B;AAC/D,cAAc,oBAAoB,0BAA2B;AAC7D,cAAc,kBAAkB,wBAAyB;AACzD,cAAc,4BAA4B,kCAAmC;AAE7E,cAAc,qBAAqB,2BAA4B;AAC/D,cAAc,oBAAoB,0BAA2B;AAC7D,cAAc,0BAA0B,gCAAiC;AACzE,cAAc,0BAA0B,gCAAiC;AAWzE,cAAc,qBAAqB,8BAA+B;AAElE,cAAc,wCAAwC,8CAA+C;AACrG,cAAc,4BAA4B,kCAAmC;AAC7E,cAEO,wBACA,kCAAmC;AAC1C,cAAc,0BAA0B,oCAAqC;AAE7E,OAAO,cAAMA;AAEb,OAAO,cAAMC;AAGb,OAAO,cAAMC;AAEb,OAAO,cAAMC;AAGb,YAAY,uBAAuB,KAAK,YAAY;AAEpD,YAAY,2BAA2B;CACrC,YAAY;CACZ;CACA;CACA,SAAS;CACT,yBAAyB,eAAe;CACxC,uBAAuB,eAAe;CACtC,wBAAwB;CACxB,qBAAqB,MAAM;CAC3B,WAAW,MAAM;CACjB,gBAAgB;CAChB;CACA,qBAAqB;CACrB,oBAAoB;CACpB,qBAAqB;CAErB,mBAAmB,kBAAkB;AACtC;AAED,YAAY,oCAAoC;CAC9C,eAAe;CACf,aAAa;CACb;CACA;CACA,SAAS;CACT,yBAAyB,eAAe;CACxC,uBAAuB,eAAe;CACtC,wBAAwB;CACxB,qBAAqB;CACrB,WAAW,MAAM;CACjB,gBAAgB;CAChB;CACA,qBAAqB;CACrB,oBAAoB;CACpB,qBAAqB;CAErB;CACA,gCAAgC;AACjC;AAED,OAAO,iBAAS,aAAaC,WAAW,uBAAuB;AAmI/D,OAAO,iBAAS,oBACdC,KAAK,2BAA2B,mCAChCC,cACAC,MAAM;AASR,OAAO,iBAAS,iBACdF,KAAK,2BAA2B,mCAChCG,aACI,eAAe,oCACf,eAAe,qBACnBC,cAAc,aACdC,cAAc,0BACb,MAAM;AAkbT,OAAO,iBAAS,MAAMC;AAYtB,OAAO,iBAAS,sBACdC,kBAAkB,iCAClBC,mBAAmB,oBAClB,MAAM;AAiJT,OAAO,iBAAS,yBACdR,KAAK,2BAA2B,mCAChCS,YAAY,eACZR;AA4BF,OAAO,iBAAS,+BACdD,KAAK,2BAA2B,mCAChCS,YAAY,eACZC,YAAY,mBACZC;AAaF,OAAO,iBAAS,0BACdC,6BACAR,cAAc,aACdS;AAgBF,OAAO,iBAAS,kBAAkBC;AAOlC,OAAO,iBAAS,+BACdC,KAAK;AAqBP,OAAO,iBAAS,0BACdA,KAAK,mCACLC;AAaF,OAAO,iBAAS,8BACdD,KAAK,mCACLC","names":["MODIFY_OBJECT_PARAMETER: string","CREATE_OR_MODIFY_OBJECT_PARAMETER: string","CREATE_INTERFACE_OBJECT_PARAMETER: string","MODIFY_INTERFACE_OBJECT_PARAMETER: string","actionDef: ActionTypeDefinition","def: ActionTypeUserDefinition | InterfaceActionTypeUserDefinition","name: string","type: PropertyTypeType","propertyMap:\n | Record<string, ObjectPropertyTypeUserDefinition>\n | Record<string, SharedPropertyType>","parameterSet: Set<string>","requiredMap?: Record<string, boolean>","s: string","actionValidation: ActionLevelValidationDefinition","actionParameters?: ActionParameter[]","properties: Array<string>","parameters: ActionParameter[]","priorityId?: string","parameterOrdering: string[]","actionApiName: string","parameterId: string","def: InterfaceActionTypeUserDefinition","parameter: string"],"sources":["../../../src/api/defineAction.ts"],"version":3,"file":"defineAction.d.ts"}
@@ -1 +1 @@
1
- {"mappings":"AAiBA,cAAc,kBAAkB,wBAAyB;AACzD,cAAc,yCAAyC,mBAAoB;AAgB3E,OAAO,iBAAS,kCACdA,KAAK,oCACJ","names":["def: InterfaceActionTypeUserDefinition"],"sources":["../../../src/api/defineCreateInterfaceObjectAction.ts"],"version":3,"file":"defineCreateInterfaceObjectAction.d.ts"}
1
+ {"mappings":"AAiBA,cAAc,kBAAkB,wBAAyB;AACzD,cAAc,yCAAyC,mBAAoB;AAiB3E,OAAO,iBAAS,kCACdA,KAAK,oCACJ","names":["def: InterfaceActionTypeUserDefinition"],"sources":["../../../src/api/defineCreateInterfaceObjectAction.ts"],"version":3,"file":"defineCreateInterfaceObjectAction.d.ts"}
@@ -1 +1 @@
1
- {"mappings":"AAiBA,cAAc,kBAAkB,wBAAyB;AACzD,cAAc,yCAAyC,mBAAoB;AAgB3E,OAAO,iBAAS,kCACdA,KAAK,oCACJ","names":["def: InterfaceActionTypeUserDefinition"],"sources":["../../../src/api/defineModifyInterfaceObjectAction.ts"],"version":3,"file":"defineModifyInterfaceObjectAction.d.ts"}
1
+ {"mappings":"AAiBA,cAAc,kBAAkB,wBAAyB;AACzD,cAAc,yCAAyC,mBAAoB;AAiB3E,OAAO,iBAAS,kCACdA,KAAK,oCACJ","names":["def: InterfaceActionTypeUserDefinition"],"sources":["../../../src/api/defineModifyInterfaceObjectAction.ts"],"version":3,"file":"defineModifyInterfaceObjectAction.d.ts"}
@@ -4,7 +4,7 @@ import type { ActionParameterAllowedValues } from "./action/ActionParameterAllow
4
4
  import type { ActionType } from "./action/ActionType.js";
5
5
  import type { OntologyEntityType } from "./common/OntologyEntityTypeMapping.js";
6
6
  export declare function updateOntology<T extends OntologyEntityType>(entity: T): void;
7
- export declare function defineOntology(ns: string, body: () => void | Promise<void>, outputDir: string | undefined, dependencyFile?: string, randomnessKey?: string): Promise<OntologyIr>;
7
+ export declare function defineOntology(ns: string, body: () => void | Promise<void>, outputDir: string | undefined, dependencyFile?: string, codeSnippetFiles?: boolean, snippetPackageName?: string, snippetFileOutputDir?: string, randomnessKey?: string): Promise<OntologyIr>;
8
8
  export declare function writeStaticObjects(outputDir: string): void;
9
9
  export declare function buildDatasource(apiName: string, definition: OntologyIrObjectTypeDatasourceDefinition, classificationMarkingGroupName?: string, mandatoryMarkingGroupName?: string): OntologyIrObjectTypeDatasource;
10
10
  export declare function cleanAndValidateLinkTypeId(apiName: string): string;
@@ -1 +1 @@
1
- {"mappings":"AAgBA,cAEE,YACA,iCACA,kCACA,gCACA,0CAGA,8BAEA,2BAEK,uBAAwB;AAS/B,cAAc,uBAAuB,6BAA8B;AACnE,cAAc,oCAAoC,0CAA2C;AAC7F,cAAc,kBAAkB,wBAAyB;AAGzD,cAAc,0BAA0B,uCAAwC;AAiBhF,OAAO,iBAAS,eACd,UAAU,oBAEVA,QAAQ;AAiBV,OAAO,iBAAe,eACpBC,YACAC,mBAAmB,eACnBC,+BACAC,yBACAC,yBACC,QAAQ;AAuCX,OAAO,iBAAS,mBAAmBC;AAgFnC,OAAO,iBAAS,gBACdC,iBACAC,YAAY,0CACZC,yCACAC,qCACC;AA6BH,OAAO,iBAAS,2BAA2BH;AAkB3C,OAAO,iBAAS,4BAA4B;AAI5C,OAAO,iBAAS,yBAAyB;AAIzC,OAAO,iBAAS,oBAAoBI;AAoCpC,OAAO,iBAAS,cACdC,QAAQ,aACP;AAwEH,OAAO,iBAAS,qBACdC,eAAe,+BACd;AAoGH,OAAO,iBAAS,uBACdC,WAAW,kBACV;AAgEH,OAAO,iBAAS,iBAAiBP;AAIjC,OAAO,iBAAS,iBAAiBA;AA8CjC,OAAO,iBAAS,mBAAmBA","names":["entity: T","ns: string","body: () => void | Promise<void>","outputDir: string | undefined","dependencyFile?: string","randomnessKey?: string","outputDir: string","apiName: string","definition: OntologyIrObjectTypeDatasourceDefinition","classificationMarkingGroupName?: string","mandatoryMarkingGroupName?: string","status: any","action: ActionType","allowedValues: ActionParameterAllowedValues","parameter: ActionParameter"],"sources":["../../../src/api/defineOntology.ts"],"version":3,"file":"defineOntology.d.ts"}
1
+ {"mappings":"AAgBA,cAEE,YACA,iCACA,kCACA,gCACA,0CAGA,8BAEA,2BAEK,uBAAwB;AAS/B,cAAc,uBAAuB,6BAA8B;AACnE,cAAc,oCAAoC,0CAA2C;AAC7F,cAAc,kBAAkB,wBAAyB;AAIzD,cAAc,0BAA0B,uCAAwC;AAiBhF,OAAO,iBAAS,eACd,UAAU,oBAEVA,QAAQ;AAiBV,OAAO,iBAAe,eACpBC,YACAC,mBAAmB,eACnBC,+BACAC,yBACAC,4BACAC,6BACAC,+BACAC,yBACC,QAAQ;AA8CX,OAAO,iBAAS,mBAAmBC;AAgFnC,OAAO,iBAAS,gBACdC,iBACAC,YAAY,0CACZC,yCACAC,qCACC;AA6BH,OAAO,iBAAS,2BAA2BH;AAkB3C,OAAO,iBAAS,4BAA4B;AAI5C,OAAO,iBAAS,yBAAyB;AAIzC,OAAO,iBAAS,oBAAoBI;AAoCpC,OAAO,iBAAS,cACdC,QAAQ,aACP;AAwEH,OAAO,iBAAS,qBACdC,eAAe,+BACd;AAoGH,OAAO,iBAAS,uBACdC,WAAW,kBACV;AAgEH,OAAO,iBAAS,iBAAiBP;AAIjC,OAAO,iBAAS,iBAAiBA;AA8CjC,OAAO,iBAAS,mBAAmBA","names":["entity: T","ns: string","body: () => void | Promise<void>","outputDir: string | undefined","dependencyFile?: string","codeSnippetFiles?: boolean","snippetPackageName?: string","snippetFileOutputDir?: string","randomnessKey?: string","outputDir: string","apiName: string","definition: OntologyIrObjectTypeDatasourceDefinition","classificationMarkingGroupName?: string","mandatoryMarkingGroupName?: string","status: any","action: ActionType","allowedValues: ActionParameterAllowedValues","parameter: ActionParameter"],"sources":["../../../src/api/defineOntology.ts"],"version":3,"file":"defineOntology.d.ts"}
@@ -1,3 +1,3 @@
1
1
  import type { RequiredFields } from "../../util/RequiredFields.js";
2
2
  import type { ObjectPropertyTypeInner } from "./ObjectPropertyType.js";
3
- export type ObjectPropertyTypeUserDefinition = RequiredFields<Partial<ObjectPropertyTypeInner>, "type">;
3
+ export type ObjectPropertyTypeUserDefinition = Omit<RequiredFields<Partial<ObjectPropertyTypeInner>, "type">, "apiName">;
@@ -1 +1 @@
1
- {"mappings":"AAgBA,cAAc,sBAAsB,8BAA+B;AACnE,cAAc,+BAA+B,yBAA0B;AAEvE,YAAY,mCAAmC,eAC7C,QAAQ,0BACR","names":[],"sources":["../../../../src/api/object/ObjectPropertyTypeUserDefinition.ts"],"version":3,"file":"ObjectPropertyTypeUserDefinition.d.ts"}
1
+ {"mappings":"AAgBA,cAAc,sBAAsB,8BAA+B;AACnE,cAAc,+BAA+B,yBAA0B;AAEvE,YAAY,mCAAmC,KAC7C,eACE,QAAQ,0BACR,SAEF","names":[],"sources":["../../../../src/api/object/ObjectPropertyTypeUserDefinition.ts"],"version":3,"file":"ObjectPropertyTypeUserDefinition.d.ts"}
@@ -1,7 +1,7 @@
1
1
  import type { StructFieldType } from "@osdk/client.unstable";
2
2
  export type PropertyTypeType = PropertyTypeTypePrimitive | PropertyTypeTypeExotic;
3
3
  export type PropertyTypeTypePrimitive = "boolean" | "byte" | "date" | "decimal" | "double" | "float" | "integer" | "long" | "short" | "string" | "timestamp";
4
- export type PropertyTypeTypeExotic = "geopoint" | "geoshape" | "mediaReference" | "geotimeSeries" | PropertyTypeTypeMarking | PropertyTypeTypeStruct | PropertyTypeTypeString;
4
+ export type PropertyTypeTypeExotic = "geopoint" | "geoshape" | "mediaReference" | "geotimeSeries" | PropertyTypeTypeMarking | PropertyTypeTypeStruct | PropertyTypeTypeString | PropertyTypeTypeDecimal;
5
5
  type PropertyTypeTypeMarking = {
6
6
  type: "marking"
7
7
  markingType: "MANDATORY" | "CBAC"
@@ -15,9 +15,16 @@ export type PropertyTypeTypeStruct = {
15
15
  };
16
16
  type PropertyTypeTypeString = {
17
17
  type: "string"
18
- isLongText: boolean
19
- supportsEfficientLeadingWildcard: boolean
20
- supportsExactMatching: boolean
18
+ isLongText?: boolean
19
+ supportsEfficientLeadingWildcard?: boolean
20
+ supportsExactMatching?: boolean
21
+ supportsFullTextRegex?: boolean
22
+ enableAsciiFolding?: boolean
23
+ };
24
+ type PropertyTypeTypeDecimal = {
25
+ type: "decimal"
26
+ precision?: number
27
+ scale?: number
21
28
  };
22
29
  export type PropertyTypeTypesWithoutStruct = Exclude<PropertyTypeType, PropertyTypeTypeStruct>;
23
30
  export declare function isPropertyTypeType(v: PropertyTypeType): v is PropertyTypeType;
@@ -1 +1 @@
1
- {"mappings":"AAgBA,cAAc,uBAAuB,uBAAwB;AAE7D,YAAY,mBACR,4BACA;AAEJ,YAAY,4BACR,YACA,SACA,SACA,YACA,WACA,UACA,YACA,SACA,UACA,WACA;AAEJ,YAAY,yBACR,aACA,aACA,mBACA,kBACA,0BACA,yBACA;KAEC,0BAA0B;CAC7B,MAAM;CACN,aAAa,cAAc;CAC3B;AACD;AAED,YAAY,yBAAyB;CACnC,MAAM;CACN,kBAAkB;sBAEZ,qBACA,QAAQ,gCAAgC;CAC7C;AACF;KAEI,yBAAyB;CAC5B,MAAM;CACN;CACA;CACA;AACD;AAED,YAAY,iCAAiC,QAC3C,kBACA;AAEF,OAAO,iBAAS,mBACdA,GAAG,mBACF,KAAK;AASR,OAAO,iBAAS,SACdC,MAAM,+BACL,QAAQ;AAaX,OAAO,iBAAS,SACdC,MAAM,mBACL,QAAQ;KAIN;CAAS;CAAG,gBAAgB;IAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,GAAG;AAEpE,iBAAiB,2BACf,SACE,KACE,iBACA,cAAc,mBAAmB,YAEnC,gBAAgB,WAEpB;CACE,WAAW;AACZ","names":["v: PropertyTypeType","type: PropertyTypeType | undefined","type: PropertyTypeType"],"sources":["../../../../src/api/properties/PropertyTypeType.ts"],"version":3,"file":"PropertyTypeType.d.ts"}
1
+ {"mappings":"AAgBA,cAAc,uBAAuB,uBAAwB;AAE7D,YAAY,mBACR,4BACA;AAEJ,YAAY,4BACR,YACA,SACA,SACA,YACA,WACA,UACA,YACA,SACA,UACA,WACA;AAEJ,YAAY,yBACR,aACA,aACA,mBACA,kBACA,0BACA,yBACA,yBACA;KAEC,0BAA0B;CAC7B,MAAM;CACN,aAAa,cAAc;CAC3B;AACD;AAED,YAAY,yBAAyB;CACnC,MAAM;CACN,kBAAkB;sBAEZ,qBACA,QAAQ,gCAAgC;CAC7C;AACF;KAEI,yBAAyB;CAC5B,MAAM;CACN;CACA;CACA;CACA;CACA;AACD;KAEI,0BAA0B;CAC7B,MAAM;CACN;CACA;AACD;AAED,YAAY,iCAAiC,QAC3C,kBACA;AAEF,OAAO,iBAAS,mBACdA,GAAG,mBACF,KAAK;AASR,OAAO,iBAAS,SACdC,MAAM,+BACL,QAAQ;AAaX,OAAO,iBAAS,SACdC,MAAM,mBACL,QAAQ;KAIN;CAAS;CAAG,gBAAgB;IAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,GAAG;AAEpE,iBAAiB,2BACf,SACE,KACE,iBACA,cAAc,mBAAmB,YAEnC,gBAAgB,WAEpB;CACE,WAAW;AACZ","names":["v: PropertyTypeType","type: PropertyTypeType | undefined","type: PropertyTypeType"],"sources":["../../../../src/api/properties/PropertyTypeType.ts"],"version":3,"file":"PropertyTypeType.d.ts"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@osdk/maker",
3
- "version": "0.14.0-beta.8",
3
+ "version": "0.14.0-rc.16",
4
4
  "license": "Apache-2.0",
5
5
  "repository": {
6
6
  "type": "git",
@@ -27,22 +27,25 @@
27
27
  }
28
28
  },
29
29
  "dependencies": {
30
+ "@osdk/typescript-sdk-docs": "^0.2.0",
30
31
  "consola": "^3.4.2",
31
32
  "jiti": "^2.5.1",
33
+ "mustache": "^4.2.0",
32
34
  "semver-ts": "^1.0.3",
33
35
  "tiny-invariant": "^1.3.3",
34
36
  "ts-node": "^10.9.2",
35
37
  "yargs": "^17.7.2",
36
- "@osdk/api": "~2.6.0-beta.4"
38
+ "@osdk/api": "~2.6.0-rc.14"
37
39
  },
38
40
  "devDependencies": {
41
+ "@types/mustache": "^4.2.6",
39
42
  "@types/node": "^20.19.13",
40
43
  "@types/yargs": "^17.0.33",
41
44
  "typescript": "~5.5.4",
42
45
  "vitest": "^3.2.4",
43
- "@osdk/client.unstable": "~2.6.0-beta.4",
44
- "@osdk/monorepo.api-extractor": "~0.5.0-beta.1",
45
- "@osdk/monorepo.tsconfig": "~0.5.0-beta.1"
46
+ "@osdk/client.unstable": "~2.6.0-rc.14",
47
+ "@osdk/monorepo.tsconfig": "~0.5.0-beta.1",
48
+ "@osdk/monorepo.api-extractor": "~0.5.0-beta.1"
46
49
  },
47
50
  "publishConfig": {
48
51
  "access": "public"