@osdk/generator 1.13.0-beta.0 → 1.13.0-beta.1

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.
@@ -82,7 +82,7 @@ function isReservedKeyword(name) {
82
82
  // src/v1.1/wireObjectTypeV2ToV1ObjectInterfaceString.ts
83
83
  function wireObjectTypeV2ToObjectInterfaceStringV1(objectTypeWithLinks, importExt = "") {
84
84
  const uniqueLinkTargets = new Set(objectTypeWithLinks.linkTypes.map((a) => a.objectTypeApiName).filter((a) => a !== objectTypeWithLinks.objectType.apiName));
85
- return `import type { OntologyObject, LocalDate, Timestamp, GeoShape, GeoPoint, Attachment, TimeSeries, MultiLink, SingleLink } from "@osdk/legacy-client";
85
+ return `import type { OntologyObject, LocalDate, Timestamp, GeoShape, GeoPoint, Attachment, TimeSeries, MultiLink, SingleLink, StringLong } from "@osdk/legacy-client";
86
86
  ${Array.from(uniqueLinkTargets).map((linkTarget) => `import type { ${linkTarget} } from "./${linkTarget}${importExt}";`).join("\n")}
87
87
 
88
88
  ${getDescriptionIfPresent(objectTypeWithLinks.objectType.description)}
@@ -138,7 +138,7 @@ function wirePropertyTypeV2ToTypeScriptType(property) {
138
138
  case "geoshape":
139
139
  return "GeoShape";
140
140
  case "long":
141
- return "string";
141
+ return "StringLong";
142
142
  case "short":
143
143
  return "number";
144
144
  case "timestamp":