@osdk/generator 1.13.0 → 1.14.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.
Files changed (164) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/build/browser/index.js +1835 -981
  3. package/build/browser/index.js.map +1 -1
  4. package/build/cjs/GenerateContext/EnhanceCommon.d.cts +9 -0
  5. package/build/cjs/GenerateContext/EnhanceCommon.d.ts.map +1 -0
  6. package/build/cjs/GenerateContext/EnhancedAction.d.cts +14 -0
  7. package/build/cjs/GenerateContext/EnhancedAction.d.ts.map +1 -0
  8. package/build/cjs/GenerateContext/EnhancedBase.d.cts +23 -0
  9. package/build/cjs/GenerateContext/EnhancedBase.d.ts.map +1 -0
  10. package/build/cjs/GenerateContext/EnhancedInterfaceType.d.cts +13 -0
  11. package/build/cjs/GenerateContext/EnhancedInterfaceType.d.ts.map +1 -0
  12. package/build/cjs/GenerateContext/EnhancedObjectType.d.cts +12 -0
  13. package/build/cjs/GenerateContext/EnhancedObjectType.d.ts.map +1 -0
  14. package/build/cjs/GenerateContext/EnhancedOntologyDefinition.d.cts +27 -0
  15. package/build/cjs/GenerateContext/EnhancedOntologyDefinition.d.ts.map +1 -0
  16. package/build/cjs/GenerateContext/EnhancedQuery.d.cts +14 -0
  17. package/build/cjs/GenerateContext/EnhancedQuery.d.ts.map +1 -0
  18. package/build/cjs/GenerateContext/EnhancedSharedPropertyType.d.cts +8 -0
  19. package/build/cjs/GenerateContext/EnhancedSharedPropertyType.d.ts.map +1 -0
  20. package/build/cjs/GenerateContext/ForeignType.d.cts +10 -0
  21. package/build/cjs/GenerateContext/ForeignType.d.ts.map +1 -0
  22. package/build/cjs/GenerateContext/GenerateContext.d.cts +13 -0
  23. package/build/cjs/GenerateContext/GenerateContext.d.ts.map +1 -0
  24. package/build/cjs/GenerateContext/enhanceOntology.d.cts +4 -0
  25. package/build/cjs/GenerateContext/enhanceOntology.d.ts.map +1 -0
  26. package/build/cjs/generateClientSdkPackage.d.cts +1 -1
  27. package/build/cjs/generateClientSdkPackage.d.ts.map +1 -1
  28. package/build/cjs/index.cjs +1835 -981
  29. package/build/cjs/index.cjs.map +1 -1
  30. package/build/cjs/shared/apiNamespaces/startsWithApiNamespace.d.cts +2 -0
  31. package/build/cjs/shared/apiNamespaces/startsWithApiNamespace.d.ts.map +1 -0
  32. package/build/cjs/shared/apiNamespaces/startsWithApiNamespace.test.d.cts +2 -0
  33. package/build/cjs/shared/apiNamespaces/startsWithApiNamespace.test.d.ts.map +1 -0
  34. package/build/cjs/shared/getObjectImports.d.cts +4 -0
  35. package/build/cjs/shared/getObjectImports.d.ts.map +1 -0
  36. package/build/cjs/shared/getObjectTypeApiNamesFromQuery.d.cts +4 -0
  37. package/build/cjs/shared/getObjectTypeApiNamesFromQuery.d.ts.map +1 -0
  38. package/build/cjs/shared/getObjectTypesFromQueryDataType.d.cts +3 -0
  39. package/build/cjs/shared/getObjectTypesFromQueryDataType.d.ts.map +1 -0
  40. package/build/cjs/shared/wireQueryDataTypeToQueryDataTypeDefinition.d.ts.map +1 -1
  41. package/build/cjs/util/stringUnionFrom.d.cts +2 -0
  42. package/build/cjs/util/stringUnionFrom.d.ts.map +1 -0
  43. package/build/cjs/util/test/TodoWireOntology.d.cts +60 -4
  44. package/build/cjs/util/test/TodoWireOntology.d.ts.map +1 -1
  45. package/build/cjs/util/test/createMockMinimalFiles.d.ts.map +1 -1
  46. package/build/cjs/util/test/formatTs.d.cts +1 -1
  47. package/build/cjs/util/test/formatTs.d.ts.map +1 -1
  48. package/build/cjs/v1.1/generateClientSdkVersionOneDotOne.d.ts.map +1 -1
  49. package/build/cjs/v1.1/generatePerActionDataFilesV1.d.cts +3 -0
  50. package/build/cjs/v1.1/generatePerActionDataFilesV1.d.ts.map +1 -0
  51. package/build/cjs/v1.1/generatePerActionDataFilesV1.test.d.cts +2 -0
  52. package/build/cjs/v1.1/generatePerActionDataFilesV1.test.d.ts.map +1 -0
  53. package/build/cjs/v1.1/generatePerObjectInterfaceAndDataFiles.d.cts +2 -2
  54. package/build/cjs/v1.1/generatePerObjectInterfaceAndDataFiles.d.ts.map +1 -1
  55. package/build/cjs/v1.1/generatePerQueryDataFiles.d.cts +3 -3
  56. package/build/cjs/v1.1/generatePerQueryDataFiles.d.ts.map +1 -1
  57. package/build/cjs/v1.1/wireObjectTypeV2ToSdkObjectConstV1.d.cts +2 -0
  58. package/build/cjs/v1.1/wireObjectTypeV2ToSdkObjectConstV1.d.ts.map +1 -0
  59. package/build/cjs/v2.0/UNSTABLE_wireInterfaceTypeV2ToSdkObjectConst.d.ts.map +1 -0
  60. package/build/cjs/v2.0/UNSTABLE_wireInterfaceTypeV2ToSdkObjectConst.test.d.ts.map +1 -0
  61. package/build/cjs/v2.0/generateClientSdkVersionTwoPointZero.d.cts +1 -1
  62. package/build/cjs/v2.0/generateClientSdkVersionTwoPointZero.d.ts.map +1 -1
  63. package/build/cjs/v2.0/generateMetadata.d.cts +2 -3
  64. package/build/cjs/v2.0/generateMetadata.d.ts.map +1 -1
  65. package/build/cjs/v2.0/generatePerActionDataFiles.d.cts +3 -0
  66. package/build/cjs/v2.0/generatePerActionDataFiles.d.ts.map +1 -0
  67. package/build/cjs/v2.0/generatePerActionDataFiles.test.d.ts.map +1 -0
  68. package/build/cjs/v2.0/generatePerQueryDataFiles.d.cts +9 -0
  69. package/build/cjs/v2.0/generatePerQueryDataFiles.d.ts.map +1 -0
  70. package/build/cjs/v2.0/generatePerQueryDataFiles.test.d.cts +2 -0
  71. package/build/cjs/v2.0/generatePerQueryDataFiles.test.d.ts.map +1 -0
  72. package/build/cjs/v2.0/wireObjectTypeV2ToSdkObjectConstV2.d.cts +13 -0
  73. package/build/cjs/v2.0/wireObjectTypeV2ToSdkObjectConstV2.d.ts.map +1 -0
  74. package/build/esm/GenerateContext/EnhanceCommon.d.ts +9 -0
  75. package/build/esm/GenerateContext/EnhanceCommon.d.ts.map +1 -0
  76. package/build/esm/GenerateContext/EnhancedAction.d.ts +14 -0
  77. package/build/esm/GenerateContext/EnhancedAction.d.ts.map +1 -0
  78. package/build/esm/GenerateContext/EnhancedBase.d.ts +23 -0
  79. package/build/esm/GenerateContext/EnhancedBase.d.ts.map +1 -0
  80. package/build/esm/GenerateContext/EnhancedInterfaceType.d.ts +13 -0
  81. package/build/esm/GenerateContext/EnhancedInterfaceType.d.ts.map +1 -0
  82. package/build/esm/GenerateContext/EnhancedObjectType.d.ts +12 -0
  83. package/build/esm/GenerateContext/EnhancedObjectType.d.ts.map +1 -0
  84. package/build/esm/GenerateContext/EnhancedOntologyDefinition.d.ts +27 -0
  85. package/build/esm/GenerateContext/EnhancedOntologyDefinition.d.ts.map +1 -0
  86. package/build/esm/GenerateContext/EnhancedQuery.d.ts +14 -0
  87. package/build/esm/GenerateContext/EnhancedQuery.d.ts.map +1 -0
  88. package/build/esm/GenerateContext/EnhancedSharedPropertyType.d.ts +8 -0
  89. package/build/esm/GenerateContext/EnhancedSharedPropertyType.d.ts.map +1 -0
  90. package/build/esm/GenerateContext/ForeignType.d.ts +10 -0
  91. package/build/esm/GenerateContext/ForeignType.d.ts.map +1 -0
  92. package/build/esm/GenerateContext/GenerateContext.d.ts +13 -0
  93. package/build/esm/GenerateContext/GenerateContext.d.ts.map +1 -0
  94. package/build/esm/GenerateContext/enhanceOntology.d.ts +4 -0
  95. package/build/esm/GenerateContext/enhanceOntology.d.ts.map +1 -0
  96. package/build/esm/generateClientSdkPackage.d.ts +1 -1
  97. package/build/esm/generateClientSdkPackage.d.ts.map +1 -1
  98. package/build/esm/index.js +1835 -981
  99. package/build/esm/index.js.map +1 -1
  100. package/build/esm/shared/apiNamespaces/startsWithApiNamespace.d.ts +2 -0
  101. package/build/esm/shared/apiNamespaces/startsWithApiNamespace.d.ts.map +1 -0
  102. package/build/esm/shared/apiNamespaces/startsWithApiNamespace.test.d.ts +2 -0
  103. package/build/esm/shared/apiNamespaces/startsWithApiNamespace.test.d.ts.map +1 -0
  104. package/build/esm/shared/getObjectImports.d.ts +4 -0
  105. package/build/esm/shared/getObjectImports.d.ts.map +1 -0
  106. package/build/esm/shared/getObjectTypeApiNamesFromQuery.d.ts +4 -0
  107. package/build/esm/shared/getObjectTypeApiNamesFromQuery.d.ts.map +1 -0
  108. package/build/esm/shared/getObjectTypesFromQueryDataType.d.ts +3 -0
  109. package/build/esm/shared/getObjectTypesFromQueryDataType.d.ts.map +1 -0
  110. package/build/esm/shared/wireQueryDataTypeToQueryDataTypeDefinition.d.ts.map +1 -1
  111. package/build/esm/util/stringUnionFrom.d.ts +2 -0
  112. package/build/esm/util/stringUnionFrom.d.ts.map +1 -0
  113. package/build/esm/util/test/TodoWireOntology.d.ts +60 -4
  114. package/build/esm/util/test/TodoWireOntology.d.ts.map +1 -1
  115. package/build/esm/util/test/createMockMinimalFiles.d.ts.map +1 -1
  116. package/build/esm/util/test/formatTs.d.ts +1 -1
  117. package/build/esm/util/test/formatTs.d.ts.map +1 -1
  118. package/build/esm/v1.1/generateClientSdkVersionOneDotOne.d.ts.map +1 -1
  119. package/build/esm/v1.1/generatePerActionDataFilesV1.d.ts +3 -0
  120. package/build/esm/v1.1/generatePerActionDataFilesV1.d.ts.map +1 -0
  121. package/build/esm/v1.1/generatePerActionDataFilesV1.test.d.ts +2 -0
  122. package/build/esm/v1.1/generatePerActionDataFilesV1.test.d.ts.map +1 -0
  123. package/build/esm/v1.1/generatePerObjectInterfaceAndDataFiles.d.ts +2 -2
  124. package/build/esm/v1.1/generatePerObjectInterfaceAndDataFiles.d.ts.map +1 -1
  125. package/build/esm/v1.1/generatePerQueryDataFiles.d.ts +3 -3
  126. package/build/esm/v1.1/generatePerQueryDataFiles.d.ts.map +1 -1
  127. package/build/esm/v1.1/wireObjectTypeV2ToSdkObjectConstV1.d.ts +2 -0
  128. package/build/esm/v1.1/wireObjectTypeV2ToSdkObjectConstV1.d.ts.map +1 -0
  129. package/build/esm/v2.0/UNSTABLE_wireInterfaceTypeV2ToSdkObjectConst.d.ts.map +1 -0
  130. package/build/esm/v2.0/UNSTABLE_wireInterfaceTypeV2ToSdkObjectConst.test.d.ts.map +1 -0
  131. package/build/esm/v2.0/generateClientSdkVersionTwoPointZero.d.ts +1 -1
  132. package/build/esm/v2.0/generateClientSdkVersionTwoPointZero.d.ts.map +1 -1
  133. package/build/esm/v2.0/generateMetadata.d.ts +2 -3
  134. package/build/esm/v2.0/generateMetadata.d.ts.map +1 -1
  135. package/build/esm/v2.0/generatePerActionDataFiles.d.ts +3 -0
  136. package/build/esm/v2.0/generatePerActionDataFiles.d.ts.map +1 -0
  137. package/build/esm/v2.0/generatePerActionDataFiles.test.d.ts.map +1 -0
  138. package/build/esm/v2.0/generatePerQueryDataFiles.d.ts +9 -0
  139. package/build/esm/v2.0/generatePerQueryDataFiles.d.ts.map +1 -0
  140. package/build/esm/v2.0/generatePerQueryDataFiles.test.d.ts +2 -0
  141. package/build/esm/v2.0/generatePerQueryDataFiles.test.d.ts.map +1 -0
  142. package/build/esm/v2.0/wireObjectTypeV2ToSdkObjectConstV2.d.ts +13 -0
  143. package/build/esm/v2.0/wireObjectTypeV2ToSdkObjectConstV2.d.ts.map +1 -0
  144. package/package.json +5 -4
  145. package/build/cjs/shared/UNSTABLE_wireInterfaceTypeV2ToSdkObjectConst.d.ts.map +0 -1
  146. package/build/cjs/shared/UNSTABLE_wireInterfaceTypeV2ToSdkObjectConst.test.d.ts.map +0 -1
  147. package/build/cjs/shared/generatePerActionDataFiles.d.cts +0 -4
  148. package/build/cjs/shared/generatePerActionDataFiles.d.ts.map +0 -1
  149. package/build/cjs/shared/generatePerActionDataFiles.test.d.ts.map +0 -1
  150. package/build/cjs/shared/wireObjectTypeV2ToSdkObjectConst.d.cts +0 -2
  151. package/build/cjs/shared/wireObjectTypeV2ToSdkObjectConst.d.ts.map +0 -1
  152. package/build/esm/shared/UNSTABLE_wireInterfaceTypeV2ToSdkObjectConst.d.ts.map +0 -1
  153. package/build/esm/shared/UNSTABLE_wireInterfaceTypeV2ToSdkObjectConst.test.d.ts.map +0 -1
  154. package/build/esm/shared/generatePerActionDataFiles.d.ts +0 -4
  155. package/build/esm/shared/generatePerActionDataFiles.d.ts.map +0 -1
  156. package/build/esm/shared/generatePerActionDataFiles.test.d.ts.map +0 -1
  157. package/build/esm/shared/wireObjectTypeV2ToSdkObjectConst.d.ts +0 -2
  158. package/build/esm/shared/wireObjectTypeV2ToSdkObjectConst.d.ts.map +0 -1
  159. /package/build/cjs/{shared → v2.0}/UNSTABLE_wireInterfaceTypeV2ToSdkObjectConst.d.cts +0 -0
  160. /package/build/cjs/{shared → v2.0}/UNSTABLE_wireInterfaceTypeV2ToSdkObjectConst.test.d.cts +0 -0
  161. /package/build/cjs/{shared → v2.0}/generatePerActionDataFiles.test.d.cts +0 -0
  162. /package/build/esm/{shared → v2.0}/UNSTABLE_wireInterfaceTypeV2ToSdkObjectConst.d.ts +0 -0
  163. /package/build/esm/{shared → v2.0}/UNSTABLE_wireInterfaceTypeV2ToSdkObjectConst.test.d.ts +0 -0
  164. /package/build/esm/{shared → v2.0}/generatePerActionDataFiles.test.d.ts +0 -0
@@ -0,0 +1,2 @@
1
+ export declare function startsWithApiNamespace(name: string, ontologyApiNamespace: string | undefined): boolean;
2
+ //# sourceMappingURL=startsWithApiNamespace.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"startsWithApiNamespace.d.ts","sourceRoot":"","sources":["../../../../src/shared/apiNamespaces/startsWithApiNamespace.ts"],"names":[],"mappings":"AAgBA,wBAAgB,sBAAsB,CACpC,IAAI,EAAE,MAAM,EACZ,oBAAoB,EAAE,MAAM,GAAG,SAAS,WAQzC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=startsWithApiNamespace.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"startsWithApiNamespace.test.d.ts","sourceRoot":"","sources":["../../../../src/shared/apiNamespaces/startsWithApiNamespace.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ import type { EnhancedObjectType } from "../GenerateContext/EnhancedObjectType.cjs";
2
+ import type { ForeignType } from "../GenerateContext/ForeignType.cjs";
3
+ export declare function getObjectImports(objects: Set<EnhancedObjectType | ForeignType>, curApiName: string | undefined, currentFilePath: string, v2: boolean): string;
4
+ //# sourceMappingURL=getObjectImports.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getObjectImports.d.ts","sourceRoot":"","sources":["../../../src/shared/getObjectImports.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AACnF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAC;AAErE,wBAAgB,gBAAgB,CAC9B,OAAO,EAAE,GAAG,CAAC,kBAAkB,GAAG,WAAW,CAAC,EAC9C,UAAU,EAAE,MAAM,GAAG,SAAS,EAC9B,eAAe,EAAE,MAAM,EACvB,EAAE,EAAE,OAAO,UAQZ"}
@@ -0,0 +1,4 @@
1
+ import type { QueryTypeV2 } from "@osdk/gateway/types";
2
+ import type { EnhancedQuery } from "../GenerateContext/EnhancedQuery.cjs";
3
+ export declare function getObjectTypeApiNamesFromQuery(query: QueryTypeV2 | EnhancedQuery): string[];
4
+ //# sourceMappingURL=getObjectTypeApiNamesFromQuery.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getObjectTypeApiNamesFromQuery.d.ts","sourceRoot":"","sources":["../../../src/shared/getObjectTypeApiNamesFromQuery.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAGzE,wBAAgB,8BAA8B,CAC5C,KAAK,EAAE,WAAW,GAAG,aAAa,YAUnC"}
@@ -0,0 +1,3 @@
1
+ import type { QueryDataType } from "@osdk/gateway/types";
2
+ export declare function getObjectTypesFromQueryDataType(dataType: QueryDataType, types: Set<string>): void;
3
+ //# sourceMappingURL=getObjectTypesFromQueryDataType.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getObjectTypesFromQueryDataType.d.ts","sourceRoot":"","sources":["../../../src/shared/getObjectTypesFromQueryDataType.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEzD,wBAAgB,+BAA+B,CAC7C,QAAQ,EAAE,aAAa,EACvB,KAAK,EAAE,GAAG,CAAC,MAAM,CAAC,QAoDnB"}
@@ -1 +1 @@
1
- {"version":3,"file":"wireQueryDataTypeToQueryDataTypeDefinition.d.ts","sourceRoot":"","sources":["../../../src/shared/wireQueryDataTypeToQueryDataTypeDefinition.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EACV,uBAAuB,EAGxB,MAAM,WAAW,CAAC;AACnB,OAAO,KAAK,EAIV,aAAa,EAGd,MAAM,qBAAqB,CAAC;AAI7B,wBAAgB,0CAA0C,CACxD,CAAC,SAAS,MAAM,EAEhB,KAAK,EAAE,aAAa,GACnB,uBAAuB,CAAC,CAAC,EAAE,GAAG,CAAC,CAuGjC"}
1
+ {"version":3,"file":"wireQueryDataTypeToQueryDataTypeDefinition.d.ts","sourceRoot":"","sources":["../../../src/shared/wireQueryDataTypeToQueryDataTypeDefinition.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EACV,uBAAuB,EAGxB,MAAM,WAAW,CAAC;AACnB,OAAO,KAAK,EAIV,aAAa,EAGd,MAAM,qBAAqB,CAAC;AAG7B,wBAAgB,0CAA0C,CACxD,CAAC,SAAS,MAAM,EAEhB,KAAK,EAAE,aAAa,GACnB,uBAAuB,CAAC,CAAC,EAAE,GAAG,CAAC,CAuGjC"}
@@ -0,0 +1,2 @@
1
+ export declare function stringUnionFrom(values: ReadonlyArray<string>): string;
2
+ //# sourceMappingURL=stringUnionFrom.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stringUnionFrom.d.ts","sourceRoot":"","sources":["../../../src/util/stringUnionFrom.ts"],"names":[],"mappings":"AAgBA,wBAAgB,eAAe,CAAC,MAAM,EAAE,aAAa,CAAC,MAAM,CAAC,UAM5D"}
@@ -90,8 +90,14 @@ export declare const TodoWireOntology: {
90
90
  status: "ACTIVE";
91
91
  foreignKeyPropertyApiName: string;
92
92
  }[];
93
- implementsInterfaces: never[];
94
- implementsInterfaces2: {};
93
+ implementsInterfaces: string[];
94
+ implementsInterfaces2: {
95
+ SomeInterface: {
96
+ properties: {
97
+ SomeProperty: string;
98
+ };
99
+ };
100
+ };
95
101
  sharedPropertyTypeMapping: {};
96
102
  };
97
103
  Person: {
@@ -140,8 +146,58 @@ export declare const TodoWireOntology: {
140
146
  rid: string;
141
147
  version: string;
142
148
  };
149
+ returnsTodo: {
150
+ apiName: string;
151
+ output: {
152
+ type: "object";
153
+ objectApiName: string;
154
+ objectTypeApiName: string;
155
+ };
156
+ parameters: {
157
+ someTodo: {
158
+ description: string;
159
+ dataType: {
160
+ type: "object";
161
+ objectApiName: string;
162
+ objectTypeApiName: string;
163
+ };
164
+ };
165
+ };
166
+ rid: string;
167
+ version: string;
168
+ };
169
+ };
170
+ interfaceTypes: {
171
+ SomeInterface: {
172
+ apiName: string;
173
+ description: string;
174
+ properties: {
175
+ SomeProperty: {
176
+ apiName: string;
177
+ description: string;
178
+ displayName: string;
179
+ dataType: {
180
+ type: "string";
181
+ };
182
+ rid: string;
183
+ };
184
+ };
185
+ rid: string;
186
+ displayName: string;
187
+ extendsInterfaces: never[];
188
+ links: {};
189
+ };
190
+ };
191
+ sharedPropertyTypes: {
192
+ SomeProperty: {
193
+ apiName: string;
194
+ description: string;
195
+ displayName: string;
196
+ dataType: {
197
+ type: "string";
198
+ };
199
+ rid: string;
200
+ };
143
201
  };
144
- interfaceTypes: {};
145
- sharedPropertyTypes: {};
146
202
  };
147
203
  //# sourceMappingURL=TodoWireOntology.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TodoWireOntology.d.ts","sourceRoot":"","sources":["../../../../src/util/test/TodoWireOntology.ts"],"names":[],"mappings":"AAkBA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+IK,CAAC"}
1
+ {"version":3,"file":"TodoWireOntology.d.ts","sourceRoot":"","sources":["../../../../src/util/test/TodoWireOntology.ts"],"names":[],"mappings":"AAkBA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuMK,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"createMockMinimalFiles.d.ts","sourceRoot":"","sources":["../../../../src/util/test/createMockMinimalFiles.ts"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjE,wBAAgB,sBAAsB;;mBAaR,WAAW;;iBAEf,SAAS;;;;;;EAWlC"}
1
+ {"version":3,"file":"createMockMinimalFiles.d.ts","sourceRoot":"","sources":["../../../../src/util/test/createMockMinimalFiles.ts"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjE,wBAAgB,sBAAsB;;mBAYR,WAAW;;iBAEf,SAAS;;;;;;EAWlC"}
@@ -1,2 +1,2 @@
1
- export declare function formatTs(contents: string): Promise<string>;
1
+ export declare function formatTs(contents: string): string | Promise<string>;
2
2
  //# sourceMappingURL=formatTs.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"formatTs.d.ts","sourceRoot":"","sources":["../../../../src/util/test/formatTs.ts"],"names":[],"mappings":"AAqBA,wBAAgB,QAAQ,CAAC,QAAQ,EAAE,MAAM,mBASxC"}
1
+ {"version":3,"file":"formatTs.d.ts","sourceRoot":"","sources":["../../../../src/util/test/formatTs.ts"],"names":[],"mappings":"AAqBA,wBAAgB,QAAQ,CAAC,QAAQ,EAAE,MAAM,4BAexC"}
@@ -1 +1 @@
1
- {"version":3,"file":"generateClientSdkVersionOneDotOne.d.ts","sourceRoot":"","sources":["../../../src/v1.1/generateClientSdkVersionOneDotOne.ts"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAIjD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAe3E,wBAAsB,iCAAiC,CACrD,QAAQ,EAAE,sBAAsB,EAChC,SAAS,EAAE,MAAM,EACjB,EAAE,EAAE,SAAS,EACb,MAAM,EAAE,MAAM,EACd,WAAW,GAAE,UAAU,GAAG,QAAqB,iBA4DhD"}
1
+ {"version":3,"file":"generateClientSdkVersionOneDotOne.d.ts","sourceRoot":"","sources":["../../../src/v1.1/generateClientSdkVersionOneDotOne.ts"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAGjD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAgB3E,wBAAsB,iCAAiC,CACrD,QAAQ,EAAE,sBAAsB,EAChC,SAAS,EAAE,MAAM,EACjB,EAAE,EAAE,SAAS,EACb,MAAM,EAAE,MAAM,EACd,WAAW,GAAE,UAAU,GAAG,QAAqB,iBA+DhD"}
@@ -0,0 +1,3 @@
1
+ import type { GenerateContext } from "../GenerateContext/GenerateContext.cjs";
2
+ export declare function generatePerActionDataFilesV1({ sanitizedOntology: ontology, fs, outDir: rootOutDir, importExt, ontology: enhancedOntology, }: Pick<GenerateContext, "sanitizedOntology" | "fs" | "outDir" | "importExt" | "ontology">): Promise<void>;
3
+ //# sourceMappingURL=generatePerActionDataFilesV1.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generatePerActionDataFilesV1.d.ts","sourceRoot":"","sources":["../../../src/v1.1/generatePerActionDataFilesV1.ts"],"names":[],"mappings":"AAoBA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AAO7E,wBAAsB,4BAA4B,CAChD,EACE,iBAAiB,EAAE,QAAQ,EAC3B,EAAE,EACF,MAAM,EAAE,UAAU,EAClB,SAAc,EACd,QAAQ,EAAE,gBAAgB,GAC3B,EAAE,IAAI,CACL,eAAe,EACb,mBAAmB,GACnB,IAAI,GACJ,QAAQ,GACR,WAAW,GACX,UAAU,CACb,iBA2GF"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=generatePerActionDataFilesV1.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generatePerActionDataFilesV1.test.d.ts","sourceRoot":"","sources":["../../../src/v1.1/generatePerActionDataFilesV1.test.ts"],"names":[],"mappings":""}
@@ -1,4 +1,4 @@
1
+ import type { EnhancedOntologyDefinition } from "../GenerateContext/EnhancedOntologyDefinition.cjs";
1
2
  import type { MinimalFs } from "../MinimalFs.cjs";
2
- import type { WireOntologyDefinition } from "../WireOntologyDefinition.cjs";
3
- export declare function generatePerObjectInterfaceAndDataFiles(ontology: WireOntologyDefinition, fs: MinimalFs, outDir: string, importExt?: string): Promise<void>;
3
+ export declare function generatePerObjectInterfaceAndDataFiles(ontology: EnhancedOntologyDefinition, fs: MinimalFs, outDir: string, importExt?: string): Promise<void>;
4
4
  //# sourceMappingURL=generatePerObjectInterfaceAndDataFiles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"generatePerObjectInterfaceAndDataFiles.d.ts","sourceRoot":"","sources":["../../../src/v1.1/generatePerObjectInterfaceAndDataFiles.ts"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAGjD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAG3E,wBAAsB,sCAAsC,CAC1D,QAAQ,EAAE,sBAAsB,EAChC,EAAE,EAAE,SAAS,EACb,MAAM,EAAE,MAAM,EACd,SAAS,GAAE,MAAW,iBAmCvB"}
1
+ {"version":3,"file":"generatePerObjectInterfaceAndDataFiles.d.ts","sourceRoot":"","sources":["../../../src/v1.1/generatePerObjectInterfaceAndDataFiles.ts"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,kDAAkD,CAAC;AACnG,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAKjD,wBAAsB,sCAAsC,CAC1D,QAAQ,EAAE,0BAA0B,EACpC,EAAE,EAAE,SAAS,EACb,MAAM,EAAE,MAAM,EACd,SAAS,GAAE,MAAW,iBA8CvB"}
@@ -1,4 +1,4 @@
1
- import type { MinimalFs } from "../MinimalFs.cjs";
2
- import type { WireOntologyDefinition } from "../WireOntologyDefinition.cjs";
3
- export declare function generatePerQueryDataFiles(ontology: WireOntologyDefinition, fs: MinimalFs, outDir: string, importExt?: string, v2?: boolean): Promise<void>;
1
+ import type { GenerateContext } from "../GenerateContext/GenerateContext.cjs";
2
+ export declare function generatePerQueryDataFiles({ fs, outDir: rootOutDir, ontology, }: Pick<GenerateContext, "fs" | "outDir" | "ontology">, v2: boolean): Promise<void>;
3
+ export declare function getQueryDefSatisfies(apiName: string, objectTypes: string[]): string;
4
4
  //# sourceMappingURL=generatePerQueryDataFiles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"generatePerQueryDataFiles.d.ts","sourceRoot":"","sources":["../../../src/v1.1/generatePerQueryDataFiles.ts"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAWjD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAE3E,wBAAsB,yBAAyB,CAC7C,QAAQ,EAAE,sBAAsB,EAChC,EAAE,EAAE,SAAS,EACb,MAAM,EAAE,MAAM,EACd,SAAS,GAAE,MAAW,EACtB,EAAE,GAAE,OAAe,iBAqFpB"}
1
+ {"version":3,"file":"generatePerQueryDataFiles.d.ts","sourceRoot":"","sources":["../../../src/v1.1/generatePerQueryDataFiles.ts"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AAQ7E,wBAAsB,yBAAyB,CAC7C,EACE,EAAE,EACF,MAAM,EAAE,UAAU,EAClB,QAAQ,GACT,EAAE,IAAI,CACL,eAAe,EACb,IAAI,GACJ,QAAQ,GACR,UAAU,CACb,EACD,EAAE,EAAE,OAAO,iBA0BZ;AAoBD,wBAAgB,oBAAoB,CAClC,OAAO,EAAE,MAAM,EACf,WAAW,EAAE,MAAM,EAAE,GACpB,MAAM,CAMR"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=wireObjectTypeV2ToSdkObjectConstV1.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"wireObjectTypeV2ToSdkObjectConstV1.d.ts","sourceRoot":"","sources":["../../../src/v1.1/wireObjectTypeV2ToSdkObjectConstV1.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UNSTABLE_wireInterfaceTypeV2ToSdkObjectConst.d.ts","sourceRoot":"","sources":["../../../src/v2.0/UNSTABLE_wireInterfaceTypeV2ToSdkObjectConst.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UNSTABLE_wireInterfaceTypeV2ToSdkObjectConst.test.d.ts","sourceRoot":"","sources":["../../../src/v2.0/UNSTABLE_wireInterfaceTypeV2ToSdkObjectConst.test.ts"],"names":[],"mappings":""}
@@ -1,4 +1,4 @@
1
1
  import type { MinimalFs } from "../MinimalFs.cjs";
2
2
  import type { WireOntologyDefinition } from "../WireOntologyDefinition.cjs";
3
- export declare function generateClientSdkVersionTwoPointZero(ontology: WireOntologyDefinition, userAgent: string, fs: MinimalFs, outDir: string, packageType?: "module" | "commonjs"): Promise<void>;
3
+ export declare function generateClientSdkVersionTwoPointZero(ontology: WireOntologyDefinition, userAgent: string, fs: MinimalFs, outDir: string, packageType?: "module" | "commonjs", ontologyApiNamespace?: string, apiNamespacePackageMap?: Map<string, string>): Promise<void>;
4
4
  //# sourceMappingURL=generateClientSdkVersionTwoPointZero.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"generateClientSdkVersionTwoPointZero.d.ts","sourceRoot":"","sources":["../../../src/v2.0/generateClientSdkVersionTwoPointZero.ts"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAUjD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAG3E,wBAAsB,oCAAoC,CACxD,QAAQ,EAAE,sBAAsB,EAChC,SAAS,EAAE,MAAM,EACjB,EAAE,EAAE,SAAS,EACb,MAAM,EAAE,MAAM,EACd,WAAW,GAAE,QAAQ,GAAG,UAAuB,iBAgLhD"}
1
+ {"version":3,"file":"generateClientSdkVersionTwoPointZero.d.ts","sourceRoot":"","sources":["../../../src/v2.0/generateClientSdkVersionTwoPointZero.ts"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAIjD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AA6D3E,wBAAsB,oCAAoC,CACxD,QAAQ,EAAE,sBAAsB,EAChC,SAAS,EAAE,MAAM,EACjB,EAAE,EAAE,SAAS,EACb,MAAM,EAAE,MAAM,EACd,WAAW,GAAE,QAAQ,GAAG,UAAuB,EAC/C,oBAAoB,CAAC,EAAE,MAAM,EAC7B,sBAAsB,GAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAa,iBAgDxD"}
@@ -1,4 +1,3 @@
1
- import type { MinimalFs } from "../MinimalFs.cjs";
2
- import type { WireOntologyDefinition } from "../WireOntologyDefinition.cjs";
3
- export declare function generateOntologyMetadataFile(ontology: WireOntologyDefinition, userAgent: string, fs: MinimalFs, outDir: string): Promise<void>;
1
+ import type { GenerateContext } from "../GenerateContext/GenerateContext.cjs";
2
+ export declare function generateOntologyMetadataFile({ fs, outDir, ontology, ontologyApiNamespace }: GenerateContext, userAgent: string): Promise<void>;
4
3
  //# sourceMappingURL=generateMetadata.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"generateMetadata.d.ts","sourceRoot":"","sources":["../../../src/v2.0/generateMetadata.ts"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAEjD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAM3E,wBAAsB,4BAA4B,CAChD,QAAQ,EAAE,sBAAsB,EAChC,SAAS,EAAE,MAAM,EACjB,EAAE,EAAE,SAAS,EACb,MAAM,EAAE,MAAM,iBAsBf"}
1
+ {"version":3,"file":"generateMetadata.d.ts","sourceRoot":"","sources":["../../../src/v2.0/generateMetadata.ts"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AAO7E,wBAAsB,4BAA4B,CAChD,EAAE,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,oBAAoB,EAAE,EAAE,eAAe,EAC/D,SAAS,EAAE,MAAM,iBAkBlB"}
@@ -0,0 +1,3 @@
1
+ import type { GenerateContext } from "../GenerateContext/GenerateContext.cjs";
2
+ export declare function generatePerActionDataFiles({ sanitizedOntology: ontology, fs, outDir: rootOutDir, importExt, ontology: enhancedOntology, }: Pick<GenerateContext, "sanitizedOntology" | "fs" | "outDir" | "importExt" | "ontology">): Promise<void>;
3
+ //# sourceMappingURL=generatePerActionDataFiles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generatePerActionDataFiles.d.ts","sourceRoot":"","sources":["../../../src/v2.0/generatePerActionDataFiles.ts"],"names":[],"mappings":"AAqBA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AAU7E,wBAAsB,0BAA0B,CAC9C,EACE,iBAAiB,EAAE,QAAQ,EAC3B,EAAE,EACF,MAAM,EAAE,UAAU,EAClB,SAAc,EACd,QAAQ,EAAE,gBAAgB,GAC3B,EAAE,IAAI,CACL,eAAe,EACb,mBAAmB,GACnB,IAAI,GACJ,QAAQ,GACR,WAAW,GACX,UAAU,CACb,iBAmOF"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generatePerActionDataFiles.test.d.ts","sourceRoot":"","sources":["../../../src/v2.0/generatePerActionDataFiles.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,9 @@
1
+ import type { QueryParameterDefinition } from "@osdk/api";
2
+ import type { EnhancedOntologyDefinition } from "../GenerateContext/EnhancedOntologyDefinition.cjs";
3
+ import type { GenerateContext } from "../GenerateContext/GenerateContext.cjs";
4
+ export declare function generatePerQueryDataFilesV2({ fs, outDir: rootOutDir, ontology, importExt, }: Pick<GenerateContext, "fs" | "outDir" | "importExt" | "ontology">, v2: boolean): Promise<void>;
5
+ export declare function queryParamJsDoc(param: QueryParameterDefinition<any>, { apiName }: {
6
+ apiName: string;
7
+ }): string;
8
+ export declare function getQueryParamType(enhancedOntology: EnhancedOntologyDefinition, input: QueryParameterDefinition<any, any>, type: "Param" | "Result"): string;
9
+ //# sourceMappingURL=generatePerQueryDataFiles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generatePerQueryDataFiles.d.ts","sourceRoot":"","sources":["../../../src/v2.0/generatePerQueryDataFiles.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC;AAG1D,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,kDAAkD,CAAC;AAEnG,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AAa7E,wBAAsB,2BAA2B,CAC/C,EACE,EAAE,EACF,MAAM,EAAE,UAAU,EAClB,QAAQ,EACR,SAAc,GACf,EAAE,IAAI,CACL,eAAe,EACb,IAAI,GACJ,QAAQ,GACR,WAAW,GACX,UAAU,CACb,EACD,EAAE,EAAE,OAAO,iBA+BZ;AAuJD,wBAAgB,eAAe,CAC7B,KAAK,EAAE,wBAAwB,CAAC,GAAG,CAAC,EACpC,EAAE,OAAO,EAAE,EAAE;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE,UAcjC;AAmBD,wBAAgB,iBAAiB,CAC/B,gBAAgB,EAAE,0BAA0B,EAC5C,KAAK,EAAE,wBAAwB,CAAC,GAAG,EAAE,GAAG,CAAC,EACzC,IAAI,EAAE,OAAO,GAAG,QAAQ,GACvB,MAAM,CAyDR"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=generatePerQueryDataFiles.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generatePerQueryDataFiles.test.d.ts","sourceRoot":"","sources":["../../../src/v2.0/generatePerQueryDataFiles.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,13 @@
1
+ import type { EnhancedInterfaceType } from "../GenerateContext/EnhancedInterfaceType.cjs";
2
+ import { EnhancedObjectType } from "../GenerateContext/EnhancedObjectType.cjs";
3
+ import type { EnhancedOntologyDefinition } from "../GenerateContext/EnhancedOntologyDefinition.cjs";
4
+ export declare function getObjectDefIdentifier(name: string, v2: boolean): string;
5
+ export interface Identifiers extends Record<"osdkObjectIdentifier" | "propertyKeysIdentifier" | "osdkObjectPropsIdentifier" | "objectDefIdentifier" | "osdkObjectLinksIdentifier" | "osdkObjectStrictPropsIdentifier" | "objectSetIdentifier", string> {
6
+ }
7
+ export declare function createOsdkObject(object: EnhancedObjectType | EnhancedInterfaceType, identifier: string, { osdkObjectPropsIdentifier, objectDefIdentifier, osdkObjectStrictPropsIdentifier, osdkObjectLinksIdentifier, }: Identifiers): string;
8
+ export declare function createObjectSet(object: EnhancedObjectType | EnhancedInterfaceType, { objectDefIdentifier, objectSetIdentifier, propertyKeysIdentifier, osdkObjectIdentifier, }: Identifiers): string;
9
+ export declare function createProps(type: EnhancedInterfaceType | EnhancedObjectType, identifier: string, strict: boolean): string;
10
+ export declare function createDefinition(object: EnhancedObjectType | EnhancedInterfaceType, ontology: EnhancedOntologyDefinition, identifier: string, { objectDefIdentifier, objectSetIdentifier, osdkObjectPropsIdentifier, osdkObjectStrictPropsIdentifier, }: Identifiers): string;
11
+ export declare function createLinks(ontology: EnhancedOntologyDefinition, object: EnhancedObjectType | EnhancedInterfaceType, identifier: string): string;
12
+ export declare function createPropertyKeys(type: EnhancedObjectType | EnhancedInterfaceType): string;
13
+ //# sourceMappingURL=wireObjectTypeV2ToSdkObjectConstV2.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"wireObjectTypeV2ToSdkObjectConstV2.d.ts","sourceRoot":"","sources":["../../../src/v2.0/wireObjectTypeV2ToSdkObjectConstV2.ts"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,6CAA6C,CAAC;AACzF,OAAO,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAC9E,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,kDAAkD,CAAC;AAOnG,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,OAAO,UAE/D;AAwID,MAAM,WAAW,WAAY,SAC3B,MAAM,CACF,sBAAsB,GACtB,wBAAwB,GACxB,2BAA2B,GAC3B,qBAAqB,GACrB,2BAA2B,GAC3B,iCAAiC,GACjC,qBAAqB,EACvB,MAAM,CACP;CACD;AAEF,wBAAgB,gBAAgB,CAC9B,MAAM,EAAE,kBAAkB,GAAG,qBAAqB,EAClD,UAAU,EAAE,MAAM,EAClB,EACE,yBAAyB,EACzB,mBAAmB,EACnB,+BAA+B,EAC/B,yBAAyB,GAC1B,EAAE,WAAW,UAmCf;AAED,wBAAgB,eAAe,CAC7B,MAAM,EAAE,kBAAkB,GAAG,qBAAqB,EAClD,EACE,mBAAmB,EACnB,mBAAmB,EACnB,sBAAsB,EACtB,oBAAoB,GACrB,EAAE,WAAW,UAkFf;AAeD,wBAAgB,WAAW,CACzB,IAAI,EAAE,qBAAqB,GAAG,kBAAkB,EAChD,UAAU,EAAE,MAAM,EAClB,MAAM,EAAE,OAAO,UAoBhB;AAED,wBAAgB,gBAAgB,CAC9B,MAAM,EAAE,kBAAkB,GAAG,qBAAqB,EAClD,QAAQ,EAAE,0BAA0B,EACpC,UAAU,EAAE,MAAM,EAClB,EACE,mBAAmB,EACnB,mBAAmB,EACnB,yBAAyB,EACzB,+BAA+B,GAChC,EAAE,WAAW,UAiDf;AAED,wBAAgB,WAAW,CACzB,QAAQ,EAAE,0BAA0B,EACpC,MAAM,EAAE,kBAAkB,GAAG,qBAAqB,EAClD,UAAU,EAAE,MAAM,UAiCnB;AAED,wBAAgB,kBAAkB,CAChC,IAAI,EAAE,kBAAkB,GAAG,qBAAqB,UAOjD"}
@@ -0,0 +1,9 @@
1
+ import type { EnhancedOntologyDefinition } from "./EnhancedOntologyDefinition.js";
2
+ export interface EnhanceCommon {
3
+ ontologyApiNamespace: string | undefined;
4
+ apiNamespacePackageMap: Map<string, string>;
5
+ importExt: string;
6
+ /** DO NOT USE THIS IN THE CONSTRUCTOR(S) */
7
+ enhancedOntology: EnhancedOntologyDefinition;
8
+ }
9
+ //# sourceMappingURL=EnhanceCommon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EnhanceCommon.d.ts","sourceRoot":"","sources":["../../../src/GenerateContext/EnhanceCommon.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAElF,MAAM,WAAW,aAAa;IAC5B,oBAAoB,EAAE,MAAM,GAAG,SAAS,CAAC;IACzC,sBAAsB,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC5C,SAAS,EAAE,MAAM,CAAC;IAClB,4CAA4C;IAC5C,gBAAgB,EAAE,0BAA0B,CAAC;CAC9C"}
@@ -0,0 +1,14 @@
1
+ import type { ActionTypeV2 } from "@osdk/gateway/types";
2
+ import type { EnhanceCommon } from "./EnhanceCommon.js";
3
+ import { EnhancedBase } from "./EnhancedBase.js";
4
+ export declare class EnhancedAction extends EnhancedBase<ActionTypeV2> {
5
+ og: ActionTypeV2;
6
+ constructor(common: EnhanceCommon, og: ActionTypeV2);
7
+ get description(): string | undefined;
8
+ get parameters(): Record<string, import("@osdk/gateway/types").ActionParameterV2>;
9
+ get operations(): readonly import("@osdk/gateway/types").LogicRule[];
10
+ get paramsIdentifier(): string;
11
+ get definitionIdentifier(): string;
12
+ get definitionParamsIdentifier(): string;
13
+ }
14
+ //# sourceMappingURL=EnhancedAction.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EnhancedAction.d.ts","sourceRoot":"","sources":["../../../src/GenerateContext/EnhancedAction.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEjD,qBAAa,cAAe,SAAQ,YAAY,CAAC,YAAY,CAAC;IAClB,EAAE,EAAE,YAAY;gBAA9C,MAAM,EAAE,aAAa,EAAS,EAAE,EAAE,YAAY;IAI1D,IAAI,WAAW,uBAEd;IAED,IAAI,UAAU,oEAEb;IAED,IAAI,UAAU,uDAEb;IAED,IAAI,gBAAgB,WAEnB;IAED,IAAI,oBAAoB,WAEvB;IAED,IAAI,0BAA0B,WAE7B;CACF"}
@@ -0,0 +1,23 @@
1
+ import type { EnhanceCommon } from "./EnhanceCommon.js";
2
+ export declare abstract class AbstractImportable {
3
+ protected _common: EnhanceCommon;
4
+ shortApiName: string;
5
+ fullApiName: string;
6
+ apiNamespace: string | undefined;
7
+ /**
8
+ * Either a path relative to the ourDir (e.g. "./ontology/objects/foo.js") or a normal
9
+ * module import (e.g. "@something/foo")/
10
+ */
11
+ importPath: string;
12
+ uniqueImportName: string;
13
+ readonly isLocal: boolean;
14
+ readonly sourcePackage: string | undefined;
15
+ constructor(common: EnhanceCommon, fullApiName: string, basePath: string);
16
+ getImportPathRelTo: (filePath: string) => string;
17
+ }
18
+ export declare abstract class EnhancedBase<T> extends AbstractImportable {
19
+ og: T;
20
+ constructor(common: EnhanceCommon, og: T, fullApiName: string, basePath: string);
21
+ }
22
+ export declare function extractNamespace(fqApiName: string): [string | undefined, string];
23
+ //# sourceMappingURL=EnhancedBase.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EnhancedBase.d.ts","sourceRoot":"","sources":["../../../src/GenerateContext/EnhancedBase.ts"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAExD,8BAAsB,kBAAkB;IACtC,SAAS,CAAC,OAAO,EAAE,aAAa,CAAC;IAEjC,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,GAAG,SAAS,CAAC;IAEjC;;;OAGG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB,gBAAgB,EAAE,MAAM,CAAC;IAEzB,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAC1B,QAAQ,CAAC,aAAa,EAAE,MAAM,GAAG,SAAS,CAAC;gBAGzC,MAAM,EAAE,aAAa,EACrB,WAAW,EAAE,MAAM,EACnB,QAAQ,EAAE,MAAM;IAqBlB,kBAAkB,aAAc,MAAM,YAYpC;CACH;AAED,8BAAsB,YAAY,CAAC,CAAC,CAAE,SAAQ,kBAAkB;IAC9D,EAAE,EAAE,CAAC,CAAC;gBAGJ,MAAM,EAAE,aAAa,EACrB,EAAE,EAAE,CAAC,EACL,WAAW,EAAE,MAAM,EACnB,QAAQ,EAAE,MAAM;CAWnB;AAED,wBAAgB,gBAAgB,CAC9B,SAAS,EAAE,MAAM,GAChB,CAAC,MAAM,GAAG,SAAS,EAAE,MAAM,CAAC,CAI9B"}
@@ -0,0 +1,13 @@
1
+ import type { InterfaceDefinition } from "@osdk/api";
2
+ import type { InterfaceType, SharedPropertyType } from "@osdk/gateway/types";
3
+ import type { EnhanceCommon } from "./EnhanceCommon.js";
4
+ import { EnhancedBase } from "./EnhancedBase.js";
5
+ export declare class EnhancedInterfaceType extends EnhancedBase<InterfaceType> {
6
+ og: InterfaceType;
7
+ constructor(common: EnhanceCommon, og: InterfaceType);
8
+ getDefinitionIdentifier(v2: boolean): string;
9
+ getImportedDefinitionIdentifier(v2: boolean): string;
10
+ get properties(): Record<string, SharedPropertyType>;
11
+ getCleanedUpDefinition(v2: boolean): InterfaceDefinition<any, any>;
12
+ }
13
+ //# sourceMappingURL=EnhancedInterfaceType.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EnhancedInterfaceType.d.ts","sourceRoot":"","sources":["../../../src/GenerateContext/EnhancedInterfaceType.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AACrD,OAAO,KAAK,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAG7E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEjD,qBAAa,qBAAsB,SAAQ,YAAY,CAAC,aAAa,CAAC;IAC1B,EAAE,EAAE,aAAa;gBAA/C,MAAM,EAAE,aAAa,EAAS,EAAE,EAAE,aAAa;IAI3D,uBAAuB,CAAC,EAAE,EAAE,OAAO;IAInC,+BAA+B,CAAC,EAAE,EAAE,OAAO;IAI3C,IAAI,UAAU,uCAEb;IAED,sBAAsB,CAAC,EAAE,EAAE,OAAO,GAAG,mBAAmB,CAAC,GAAG,EAAE,GAAG,CAAC;CAQnE"}
@@ -0,0 +1,12 @@
1
+ import type { ObjectTypeDefinition } from "@osdk/api";
2
+ import type { ObjectTypeFullMetadata } from "@osdk/gateway/types";
3
+ import type { EnhanceCommon } from "./EnhanceCommon.js";
4
+ import { EnhancedBase } from "./EnhancedBase.js";
5
+ export declare class EnhancedObjectType extends EnhancedBase<ObjectTypeFullMetadata> {
6
+ og: ObjectTypeFullMetadata;
7
+ constructor(common: EnhanceCommon, og: ObjectTypeFullMetadata);
8
+ getDefinitionIdentifier(v2: boolean): string;
9
+ getImportedDefinitionIdentifier(v2: boolean): string;
10
+ getCleanedUpDefinition(v2: boolean): ObjectTypeDefinition<any>;
11
+ }
12
+ //# sourceMappingURL=EnhancedObjectType.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EnhancedObjectType.d.ts","sourceRoot":"","sources":["../../../src/GenerateContext/EnhancedObjectType.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AACtD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAGlE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEjD,qBAAa,kBAAmB,SAAQ,YAAY,CAAC,sBAAsB,CAAC;IAChC,EAAE,EAAE,sBAAsB;gBAAxD,MAAM,EAAE,aAAa,EAAS,EAAE,EAAE,sBAAsB;IAIpE,uBAAuB,CAAC,EAAE,EAAE,OAAO;IAInC,+BAA+B,CAAC,EAAE,EAAE,OAAO;IAI3C,sBAAsB,CAAC,EAAE,EAAE,OAAO,GAAG,oBAAoB,CAAC,GAAG,CAAC;CAQ/D"}
@@ -0,0 +1,27 @@
1
+ import type { ActionTypeApiName, InterfaceTypeApiName, OntologyV2, QueryApiName, SharedPropertyTypeApiName } from "@osdk/gateway/types";
2
+ import type { WireOntologyDefinition } from "../WireOntologyDefinition.js";
3
+ import type { EnhanceCommon } from "./EnhanceCommon.js";
4
+ import { EnhancedAction } from "./EnhancedAction.js";
5
+ import { EnhancedInterfaceType } from "./EnhancedInterfaceType.js";
6
+ import { EnhancedObjectType } from "./EnhancedObjectType.js";
7
+ import { EnhancedQuery } from "./EnhancedQuery.js";
8
+ import { EnhancedSharedPropertyType } from "./EnhancedSharedPropertyType.js";
9
+ import { ForeignType } from "./ForeignType.js";
10
+ export declare class EnhancedOntologyDefinition {
11
+ #private;
12
+ ontology: OntologyV2;
13
+ objectTypes: Record<string, EnhancedObjectType>;
14
+ actionTypes: Record<ActionTypeApiName, EnhancedAction>;
15
+ queryTypes: Record<QueryApiName, EnhancedQuery>;
16
+ interfaceTypes: Record<InterfaceTypeApiName, EnhancedInterfaceType>;
17
+ sharedPropertyTypes: Record<SharedPropertyTypeApiName, EnhancedSharedPropertyType>;
18
+ og: WireOntologyDefinition;
19
+ common: EnhanceCommon;
20
+ constructor(original: WireOntologyDefinition, ontologyApiNamespace: string | undefined, apiNamespacePackageMap: Map<string, string>, importExt: string);
21
+ requireObjectType: <L extends boolean = false>(fullApiName: string, localOnly?: L | undefined) => L extends true ? this["objectTypes"][string] : ForeignType;
22
+ requireInterfaceType: <L extends boolean = false>(fullApiName: string, localOnly?: L | undefined) => L extends true ? this["interfaceTypes"][string] : ForeignType;
23
+ requireActionType: <L extends boolean = false>(fullApiName: string, localOnly?: L | undefined) => L extends true ? this["actionTypes"][string] : ForeignType;
24
+ requireQueryType: <L extends boolean = false>(fullApiName: string, localOnly?: L | undefined) => L extends true ? this["queryTypes"][string] : ForeignType;
25
+ requireSharedPropertyType: <L extends boolean = false>(fullApiName: string, localOnly?: L | undefined) => L extends true ? this["sharedPropertyTypes"][string] : ForeignType;
26
+ }
27
+ //# sourceMappingURL=EnhancedOntologyDefinition.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EnhancedOntologyDefinition.d.ts","sourceRoot":"","sources":["../../../src/GenerateContext/EnhancedOntologyDefinition.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EACV,iBAAiB,EACjB,oBAAoB,EACpB,UAAU,EACV,YAAY,EACZ,yBAAyB,EAC1B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAC3E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAErD,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAC7E,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C,qBAAa,0BAA0B;;IACrC,QAAQ,EAAE,UAAU,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAAC;IAChD,WAAW,EAAE,MAAM,CAAC,iBAAiB,EAAE,cAAc,CAAC,CAAC;IACvD,UAAU,EAAE,MAAM,CAAC,YAAY,EAAE,aAAa,CAAC,CAAC;IAChD,cAAc,EAAE,MAAM,CAAC,oBAAoB,EAAE,qBAAqB,CAAC,CAAC;IACpE,mBAAmB,EAAE,MAAM,CACzB,yBAAyB,EACzB,0BAA0B,CAC3B,CAAC;IAEF,EAAE,EAAE,sBAAsB,CAAC;IAC3B,MAAM,EAAE,aAAa,CAAC;gBAGpB,QAAQ,EAAE,sBAAsB,EAChC,oBAAoB,EAAE,MAAM,GAAG,SAAS,EACxC,sBAAsB,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,EAC3C,SAAS,EAAE,MAAM;IA+EZ,iBAAiB,GAhCd,CAAC,SAAS,OAAO,uBACV,MAAM,2FA+B2C;IAC3D,oBAAoB,GAjCjB,CAAC,SAAS,OAAO,uBACV,MAAM,8FAgCiD;IACjE,iBAAiB,GAlCd,CAAC,SAAS,OAAO,uBACV,MAAM,2FAiC2C;IAC3D,gBAAgB,GAnCb,CAAC,SAAS,OAAO,uBACV,MAAM,0FAkCyC;IACzD,yBAAyB,GApCtB,CAAC,SAAS,OAAO,uBACV,MAAM,mGAqCrB;CACH"}
@@ -0,0 +1,14 @@
1
+ import type { QueryTypeV2 } from "@osdk/gateway/types";
2
+ import type { EnhanceCommon } from "./EnhanceCommon.js";
3
+ import { EnhancedBase } from "./EnhancedBase.js";
4
+ export declare class EnhancedQuery extends EnhancedBase<QueryTypeV2> {
5
+ og: QueryTypeV2;
6
+ constructor(common: EnhanceCommon, og: QueryTypeV2);
7
+ get description(): string | undefined;
8
+ get parameters(): Record<string, import("@osdk/gateway/types").QueryParameterV2>;
9
+ get output(): import("@osdk/gateway/types").QueryDataType;
10
+ get paramsIdentifier(): string;
11
+ get definitionIdentifier(): string;
12
+ get definitionParamsIdentifier(): string;
13
+ }
14
+ //# sourceMappingURL=EnhancedQuery.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EnhancedQuery.d.ts","sourceRoot":"","sources":["../../../src/GenerateContext/EnhancedQuery.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEjD,qBAAa,aAAc,SAAQ,YAAY,CAAC,WAAW,CAAC;IAChB,EAAE,EAAE,WAAW;gBAA7C,MAAM,EAAE,aAAa,EAAS,EAAE,EAAE,WAAW;IAIzD,IAAI,WAAW,uBAEd;IAED,IAAI,UAAU,mEAEb;IAED,IAAI,MAAM,gDAET;IAED,IAAI,gBAAgB,WAEnB;IAED,IAAI,oBAAoB,WAEvB;IAED,IAAI,0BAA0B,WAE7B;CACF"}
@@ -0,0 +1,8 @@
1
+ import type { SharedPropertyType } from "@osdk/gateway/types";
2
+ import type { EnhanceCommon } from "./EnhanceCommon.js";
3
+ import { EnhancedBase } from "./EnhancedBase.js";
4
+ export declare class EnhancedSharedPropertyType extends EnhancedBase<SharedPropertyType> {
5
+ og: SharedPropertyType;
6
+ constructor(common: EnhanceCommon, og: SharedPropertyType);
7
+ }
8
+ //# sourceMappingURL=EnhancedSharedPropertyType.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EnhancedSharedPropertyType.d.ts","sourceRoot":"","sources":["../../../src/GenerateContext/EnhancedSharedPropertyType.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEjD,qBAAa,0BACX,SAAQ,YAAY,CAAC,kBAAkB,CAAC;IAEE,EAAE,EAAE,kBAAkB;gBAApD,MAAM,EAAE,aAAa,EAAS,EAAE,EAAE,kBAAkB;CAGjE"}
@@ -0,0 +1,10 @@
1
+ import type { EnhanceCommon } from "./EnhanceCommon.js";
2
+ import { AbstractImportable } from "./EnhancedBase.js";
3
+ export declare class ForeignType extends AbstractImportable {
4
+ _common: EnhanceCommon;
5
+ readonly type: string;
6
+ constructor(_common: EnhanceCommon, type: string, apiNamespace: string, shortApiName: string);
7
+ getImportedDefinitionIdentifier(v2: boolean): string;
8
+ getDefinitionIdentifier(v2: boolean): string;
9
+ }
10
+ //# sourceMappingURL=ForeignType.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ForeignType.d.ts","sourceRoot":"","sources":["../../../src/GenerateContext/ForeignType.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAEvD,qBAAa,WAAY,SAAQ,kBAAkB;IAExC,OAAO,EAAE,aAAa;aACb,IAAI,EAAE,MAAM;gBADrB,OAAO,EAAE,aAAa,EACb,IAAI,EAAE,MAAM,EAC5B,YAAY,EAAE,MAAM,EACpB,YAAY,EAAE,MAAM;IAStB,+BAA+B,CAAC,EAAE,EAAE,OAAO;IAM3C,uBAAuB,CAAC,EAAE,EAAE,OAAO;CAOpC"}
@@ -0,0 +1,13 @@
1
+ import type { MinimalFs } from "../MinimalFs.js";
2
+ import type { WireOntologyDefinition } from "../WireOntologyDefinition.js";
3
+ import type { EnhancedOntologyDefinition } from "./EnhancedOntologyDefinition.js";
4
+ export interface GenerateContext {
5
+ sanitizedOntology: WireOntologyDefinition;
6
+ ontology: EnhancedOntologyDefinition;
7
+ importExt?: string;
8
+ fs: MinimalFs;
9
+ outDir: string;
10
+ ontologyApiNamespace?: string | undefined;
11
+ apiNamespacePackageMap?: Map<string, string>;
12
+ }
13
+ //# sourceMappingURL=GenerateContext.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GenerateContext.d.ts","sourceRoot":"","sources":["../../../src/GenerateContext/GenerateContext.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAC3E,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAElF,MAAM,WAAW,eAAe;IAC9B,iBAAiB,EAAE,sBAAsB,CAAC;IAC1C,QAAQ,EAAE,0BAA0B,CAAC;IAErC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,EAAE,EAAE,SAAS,CAAC;IAEd,MAAM,EAAE,MAAM,CAAC;IAEf,oBAAoB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1C,sBAAsB,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAC9C"}
@@ -0,0 +1,4 @@
1
+ import type { WireOntologyDefinition } from "../WireOntologyDefinition.js";
2
+ import { EnhancedOntologyDefinition } from "./EnhancedOntologyDefinition.js";
3
+ export declare function enhanceOntology(sanitized: WireOntologyDefinition, ontologyApiNamespace: string | undefined, apiNamespacePackageMap: Map<string, string>, importExt: string): EnhancedOntologyDefinition;
4
+ //# sourceMappingURL=enhanceOntology.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"enhanceOntology.d.ts","sourceRoot":"","sources":["../../../src/GenerateContext/enhanceOntology.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAC3E,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAE7E,wBAAgB,eAAe,CAC7B,SAAS,EAAE,sBAAsB,EACjC,oBAAoB,EAAE,MAAM,GAAG,SAAS,EACxC,sBAAsB,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,EAC3C,SAAS,EAAE,MAAM,GAChB,0BAA0B,CAO5B"}
@@ -1,6 +1,6 @@
1
1
  import type { MinimalFs } from "./MinimalFs.js";
2
2
  import type { WireOntologyDefinition } from "./WireOntologyDefinition.js";
3
- export declare function generateClientSdkPackage(packageName: string, packageVersion: string, sdkVersion: "1.1" | "2.0", baseOutDir: string, ontology: WireOntologyDefinition, minimalFs: MinimalFs, dependencyVersions: DependencyVersions, cliVersion: string): Promise<void>;
3
+ export declare function generateClientSdkPackage(packageName: string, packageVersion: string, sdkVersion: "1.1" | "2.0", baseOutDir: string, ontology: WireOntologyDefinition, minimalFs: MinimalFs, dependencyVersions: DependencyVersions, cliVersion: string, ontologyApiNamespace: string | undefined, apiNamespacePackageMap: Map<string, string>): Promise<void>;
4
4
  export interface DependencyVersions {
5
5
  typescriptVersion: string;
6
6
  tslibVersion: string;
@@ -1 +1 @@
1
- {"version":3,"file":"generateClientSdkPackage.d.ts","sourceRoot":"","sources":["../../src/generateClientSdkPackage.ts"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAE1E,wBAAsB,wBAAwB,CAC5C,WAAW,EAAE,MAAM,EACnB,cAAc,EAAE,MAAM,EACtB,UAAU,EAAE,KAAK,GAAG,KAAK,EACzB,UAAU,EAAE,MAAM,EAClB,QAAQ,EAAE,sBAAsB,EAChC,SAAS,EAAE,SAAS,EACpB,kBAAkB,EAAE,kBAAkB,EACtC,UAAU,EAAE,MAAM,iBA0DnB;AA+BD,MAAM,WAAW,kBAAkB;IACjC,iBAAiB,EAAE,MAAM,CAAC;IAC1B,YAAY,EAAE,MAAM,CAAC;IACrB,uBAAuB,EAAE,MAAM,CAAC;IAChC,cAAc,EAAE,MAAM,CAAC;IACvB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,oBAAoB,EAAE,MAAM,CAAC;IAC7B,uBAAuB,EAAE,MAAM,CAAC;CACjC;AAED,wBAAgB,uBAAuB,CACrC,UAAU,EAAE,KAAK,GAAG,KAAK,EACzB,EACE,cAAc,EACd,iBAAiB,EACjB,oBAAoB,EACpB,uBAAuB,GACxB,EAAE,kBAAkB;;;;;;;;;;;;;;;;EAoBtB;AA2BD,wBAAgB,sBAAsB,CACpC,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,KAAK,GAAG,KAAK,EACzB,kBAAkB,EAAE,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmCvC"}
1
+ {"version":3,"file":"generateClientSdkPackage.d.ts","sourceRoot":"","sources":["../../src/generateClientSdkPackage.ts"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAE1E,wBAAsB,wBAAwB,CAC5C,WAAW,EAAE,MAAM,EACnB,cAAc,EAAE,MAAM,EACtB,UAAU,EAAE,KAAK,GAAG,KAAK,EACzB,UAAU,EAAE,MAAM,EAClB,QAAQ,EAAE,sBAAsB,EAChC,SAAS,EAAE,SAAS,EACpB,kBAAkB,EAAE,kBAAkB,EACtC,UAAU,EAAE,MAAM,EAClB,oBAAoB,EAAE,MAAM,GAAG,SAAS,EACxC,sBAAsB,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,iBA4D5C;AA+BD,MAAM,WAAW,kBAAkB;IACjC,iBAAiB,EAAE,MAAM,CAAC;IAC1B,YAAY,EAAE,MAAM,CAAC;IACrB,uBAAuB,EAAE,MAAM,CAAC;IAChC,cAAc,EAAE,MAAM,CAAC;IACvB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,oBAAoB,EAAE,MAAM,CAAC;IAC7B,uBAAuB,EAAE,MAAM,CAAC;CACjC;AAED,wBAAgB,uBAAuB,CACrC,UAAU,EAAE,KAAK,GAAG,KAAK,EACzB,EACE,cAAc,EACd,iBAAiB,EACjB,oBAAoB,EACpB,uBAAuB,GACxB,EAAE,kBAAkB;;;;;;;;;;;;;;;;EAoBtB;AA2BD,wBAAgB,sBAAsB,CACpC,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,KAAK,GAAG,KAAK,EACzB,kBAAkB,EAAE,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmCvC"}