@osdk/internal.foundry.ontologiesv2 0.2.0-beta.8 → 0.2.0-beta.9

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 (190) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/build/browser/_components.d.ts +4 -0
  3. package/build/browser/_components.d.ts.map +1 -0
  4. package/build/browser/_components.js +17 -0
  5. package/build/browser/_components.js.map +1 -0
  6. package/build/browser/_errors.d.ts +4 -0
  7. package/build/browser/_errors.d.ts.map +1 -0
  8. package/build/browser/_errors.js +17 -0
  9. package/build/browser/_errors.js.map +1 -0
  10. package/build/browser/index.d.ts +17 -0
  11. package/build/browser/index.d.ts.map +1 -0
  12. package/build/browser/index.js +29 -15
  13. package/build/browser/index.js.map +1 -1
  14. package/build/browser/public/Action.d.ts +79 -0
  15. package/build/browser/public/Action.d.ts.map +1 -0
  16. package/build/browser/public/Action.js +78 -3
  17. package/build/browser/public/Action.js.map +1 -1
  18. package/build/browser/public/ActionTypeV2.d.ts +37 -0
  19. package/build/browser/public/ActionTypeV2.d.ts.map +1 -0
  20. package/build/browser/public/ActionTypeV2.js +48 -3
  21. package/build/browser/public/ActionTypeV2.js.map +1 -1
  22. package/build/browser/public/Attachment.d.ts +51 -0
  23. package/build/browser/public/Attachment.d.ts.map +1 -0
  24. package/build/browser/public/Attachment.js +71 -3
  25. package/build/browser/public/Attachment.js.map +1 -1
  26. package/build/browser/public/AttachmentPropertyV2.d.ts +91 -0
  27. package/build/browser/public/AttachmentPropertyV2.d.ts.map +1 -0
  28. package/build/browser/public/AttachmentPropertyV2.js +79 -3
  29. package/build/browser/public/AttachmentPropertyV2.js.map +1 -1
  30. package/build/browser/public/LinkedObjectV2.d.ts +65 -0
  31. package/build/browser/public/LinkedObjectV2.d.ts.map +1 -0
  32. package/build/browser/public/LinkedObjectV2.js +59 -3
  33. package/build/browser/public/LinkedObjectV2.js.map +1 -1
  34. package/build/browser/public/ObjectTypeV2.d.ts +90 -0
  35. package/build/browser/public/ObjectTypeV2.d.ts.map +1 -0
  36. package/build/browser/public/ObjectTypeV2.js +93 -3
  37. package/build/browser/public/ObjectTypeV2.js.map +1 -1
  38. package/build/browser/public/OntologyInterface.d.ts +119 -0
  39. package/build/browser/public/OntologyInterface.d.ts.map +1 -0
  40. package/build/browser/public/OntologyInterface.js +118 -3
  41. package/build/browser/public/OntologyInterface.js.map +1 -1
  42. package/build/browser/public/OntologyObjectSet.d.ts +73 -0
  43. package/build/browser/public/OntologyObjectSet.d.ts.map +1 -0
  44. package/build/browser/public/OntologyObjectSet.js +79 -3
  45. package/build/browser/public/OntologyObjectSet.js.map +1 -1
  46. package/build/browser/public/OntologyObjectV2.d.ts +134 -0
  47. package/build/browser/public/OntologyObjectV2.d.ts.map +1 -0
  48. package/build/browser/public/OntologyObjectV2.js +118 -3
  49. package/build/browser/public/OntologyObjectV2.js.map +1 -1
  50. package/build/browser/public/OntologyV2.d.ts +34 -0
  51. package/build/browser/public/OntologyV2.d.ts.map +1 -0
  52. package/build/browser/public/OntologyV2.js +57 -3
  53. package/build/browser/public/OntologyV2.js.map +1 -1
  54. package/build/browser/public/Query.d.ts +25 -0
  55. package/build/browser/public/Query.d.ts.map +1 -0
  56. package/build/browser/public/Query.js +34 -3
  57. package/build/browser/public/Query.js.map +1 -1
  58. package/build/browser/public/QueryType.d.ts +37 -0
  59. package/build/browser/public/QueryType.d.ts.map +1 -0
  60. package/build/browser/public/QueryType.js +48 -3
  61. package/build/browser/public/QueryType.js.map +1 -1
  62. package/build/browser/public/TimeSeriesPropertyV2.d.ts +67 -0
  63. package/build/browser/public/TimeSeriesPropertyV2.d.ts.map +1 -0
  64. package/build/browser/public/TimeSeriesPropertyV2.js +62 -3
  65. package/build/browser/public/TimeSeriesPropertyV2.js.map +1 -1
  66. package/build/browser/public/TimeSeriesValueBankProperty.d.ts +24 -0
  67. package/build/browser/public/TimeSeriesValueBankProperty.d.ts.map +1 -0
  68. package/build/browser/public/TimeSeriesValueBankProperty.js +33 -0
  69. package/build/browser/public/TimeSeriesValueBankProperty.js.map +1 -0
  70. package/build/esm/_components.js +17 -0
  71. package/build/esm/_components.js.map +1 -0
  72. package/build/esm/_errors.js +17 -0
  73. package/build/esm/_errors.js.map +1 -0
  74. package/build/esm/index.d.ts +1 -0
  75. package/build/esm/index.d.ts.map +1 -1
  76. package/build/esm/index.js +29 -15
  77. package/build/esm/index.js.map +1 -1
  78. package/build/esm/public/Action.d.ts +19 -19
  79. package/build/esm/public/Action.d.ts.map +1 -1
  80. package/build/esm/public/Action.js +78 -3
  81. package/build/esm/public/Action.js.map +1 -1
  82. package/build/esm/public/ActionTypeV2.d.ts +9 -6
  83. package/build/esm/public/ActionTypeV2.d.ts.map +1 -1
  84. package/build/esm/public/ActionTypeV2.js +48 -3
  85. package/build/esm/public/ActionTypeV2.js.map +1 -1
  86. package/build/esm/public/Attachment.d.ts +6 -6
  87. package/build/esm/public/Attachment.d.ts.map +1 -1
  88. package/build/esm/public/Attachment.js +71 -3
  89. package/build/esm/public/Attachment.js.map +1 -1
  90. package/build/esm/public/AttachmentPropertyV2.d.ts +29 -29
  91. package/build/esm/public/AttachmentPropertyV2.d.ts.map +1 -1
  92. package/build/esm/public/AttachmentPropertyV2.js +79 -3
  93. package/build/esm/public/AttachmentPropertyV2.js.map +1 -1
  94. package/build/esm/public/LinkedObjectV2.d.ts +21 -21
  95. package/build/esm/public/LinkedObjectV2.d.ts.map +1 -1
  96. package/build/esm/public/LinkedObjectV2.js +59 -3
  97. package/build/esm/public/LinkedObjectV2.js.map +1 -1
  98. package/build/esm/public/ObjectTypeV2.d.ts +22 -19
  99. package/build/esm/public/ObjectTypeV2.d.ts.map +1 -1
  100. package/build/esm/public/ObjectTypeV2.js +93 -3
  101. package/build/esm/public/ObjectTypeV2.js.map +1 -1
  102. package/build/esm/public/OntologyInterface.d.ts +20 -20
  103. package/build/esm/public/OntologyInterface.d.ts.map +1 -1
  104. package/build/esm/public/OntologyInterface.js +118 -3
  105. package/build/esm/public/OntologyInterface.js.map +1 -1
  106. package/build/esm/public/OntologyObjectSet.d.ts +18 -15
  107. package/build/esm/public/OntologyObjectSet.d.ts.map +1 -1
  108. package/build/esm/public/OntologyObjectSet.js +79 -3
  109. package/build/esm/public/OntologyObjectSet.js.map +1 -1
  110. package/build/esm/public/OntologyObjectV2.d.ts +34 -34
  111. package/build/esm/public/OntologyObjectV2.d.ts.map +1 -1
  112. package/build/esm/public/OntologyObjectV2.js +118 -3
  113. package/build/esm/public/OntologyObjectV2.js.map +1 -1
  114. package/build/esm/public/OntologyV2.d.ts +4 -4
  115. package/build/esm/public/OntologyV2.d.ts.map +1 -1
  116. package/build/esm/public/OntologyV2.js +57 -3
  117. package/build/esm/public/OntologyV2.js.map +1 -1
  118. package/build/esm/public/Query.d.ts +7 -7
  119. package/build/esm/public/Query.d.ts.map +1 -1
  120. package/build/esm/public/Query.js +34 -3
  121. package/build/esm/public/Query.js.map +1 -1
  122. package/build/esm/public/QueryType.d.ts +9 -6
  123. package/build/esm/public/QueryType.d.ts.map +1 -1
  124. package/build/esm/public/QueryType.js +48 -3
  125. package/build/esm/public/QueryType.js.map +1 -1
  126. package/build/esm/public/TimeSeriesPropertyV2.d.ts +22 -22
  127. package/build/esm/public/TimeSeriesPropertyV2.d.ts.map +1 -1
  128. package/build/esm/public/TimeSeriesPropertyV2.js +62 -3
  129. package/build/esm/public/TimeSeriesPropertyV2.js.map +1 -1
  130. package/build/esm/public/TimeSeriesValueBankProperty.d.ts +24 -0
  131. package/build/esm/public/TimeSeriesValueBankProperty.d.ts.map +1 -0
  132. package/build/esm/public/TimeSeriesValueBankProperty.js +33 -0
  133. package/build/esm/public/TimeSeriesValueBankProperty.js.map +1 -0
  134. package/package.json +8 -9
  135. package/build/browser/chunk-35VM6XLH.js +0 -26
  136. package/build/browser/chunk-35VM6XLH.js.map +0 -1
  137. package/build/browser/chunk-3H3SHEFA.js +0 -31
  138. package/build/browser/chunk-3H3SHEFA.js.map +0 -1
  139. package/build/browser/chunk-4TOWICL3.js +0 -21
  140. package/build/browser/chunk-4TOWICL3.js.map +0 -1
  141. package/build/browser/chunk-A2ZEBCGI.js +0 -26
  142. package/build/browser/chunk-A2ZEBCGI.js.map +0 -1
  143. package/build/browser/chunk-CTA4DXZF.js +0 -31
  144. package/build/browser/chunk-CTA4DXZF.js.map +0 -1
  145. package/build/browser/chunk-EFVOGNPX.js +0 -31
  146. package/build/browser/chunk-EFVOGNPX.js.map +0 -1
  147. package/build/browser/chunk-GWYI4RKT.js +0 -21
  148. package/build/browser/chunk-GWYI4RKT.js.map +0 -1
  149. package/build/browser/chunk-KQNF55S5.js +0 -26
  150. package/build/browser/chunk-KQNF55S5.js.map +0 -1
  151. package/build/browser/chunk-OBKC7XBM.js +0 -31
  152. package/build/browser/chunk-OBKC7XBM.js.map +0 -1
  153. package/build/browser/chunk-PZ5AY32C.js +0 -9
  154. package/build/browser/chunk-PZ5AY32C.js.map +0 -1
  155. package/build/browser/chunk-U76D6BOW.js +0 -36
  156. package/build/browser/chunk-U76D6BOW.js.map +0 -1
  157. package/build/browser/chunk-UFJTKRQC.js +0 -16
  158. package/build/browser/chunk-UFJTKRQC.js.map +0 -1
  159. package/build/browser/chunk-VCCTOHYG.js +0 -21
  160. package/build/browser/chunk-VCCTOHYG.js.map +0 -1
  161. package/build/browser/chunk-ZNHKEV4X.js +0 -36
  162. package/build/browser/chunk-ZNHKEV4X.js.map +0 -1
  163. package/build/esm/chunk-35VM6XLH.js +0 -26
  164. package/build/esm/chunk-35VM6XLH.js.map +0 -1
  165. package/build/esm/chunk-3H3SHEFA.js +0 -31
  166. package/build/esm/chunk-3H3SHEFA.js.map +0 -1
  167. package/build/esm/chunk-4TOWICL3.js +0 -21
  168. package/build/esm/chunk-4TOWICL3.js.map +0 -1
  169. package/build/esm/chunk-A2ZEBCGI.js +0 -26
  170. package/build/esm/chunk-A2ZEBCGI.js.map +0 -1
  171. package/build/esm/chunk-CTA4DXZF.js +0 -31
  172. package/build/esm/chunk-CTA4DXZF.js.map +0 -1
  173. package/build/esm/chunk-EFVOGNPX.js +0 -31
  174. package/build/esm/chunk-EFVOGNPX.js.map +0 -1
  175. package/build/esm/chunk-GWYI4RKT.js +0 -21
  176. package/build/esm/chunk-GWYI4RKT.js.map +0 -1
  177. package/build/esm/chunk-KQNF55S5.js +0 -26
  178. package/build/esm/chunk-KQNF55S5.js.map +0 -1
  179. package/build/esm/chunk-OBKC7XBM.js +0 -31
  180. package/build/esm/chunk-OBKC7XBM.js.map +0 -1
  181. package/build/esm/chunk-PZ5AY32C.js +0 -9
  182. package/build/esm/chunk-PZ5AY32C.js.map +0 -1
  183. package/build/esm/chunk-U76D6BOW.js +0 -36
  184. package/build/esm/chunk-U76D6BOW.js.map +0 -1
  185. package/build/esm/chunk-UFJTKRQC.js +0 -16
  186. package/build/esm/chunk-UFJTKRQC.js.map +0 -1
  187. package/build/esm/chunk-VCCTOHYG.js +0 -21
  188. package/build/esm/chunk-VCCTOHYG.js.map +0 -1
  189. package/build/esm/chunk-ZNHKEV4X.js +0 -36
  190. package/build/esm/chunk-ZNHKEV4X.js.map +0 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # @osdk/internal.foundry.ontologiesv2
2
2
 
3
+ ## 0.2.0-beta.9
4
+
5
+ ### Minor Changes
6
+
7
+ - 5d6d5ab: Internal improvement to type references
8
+ - d4d6605: Audited and cleaned up deps
9
+
10
+ ### Patch Changes
11
+
12
+ - Updated dependencies [b60e107]
13
+ - Updated dependencies [5d6d5ab]
14
+ - Updated dependencies [d4d6605]
15
+ - @osdk/shared.client@1.0.0-beta.2
16
+ - @osdk/internal.foundry.core@0.2.0-beta.9
17
+ - @osdk/shared.net.platformapi@0.3.0-beta.2
18
+
3
19
  ## 0.2.0-beta.8
4
20
 
5
21
  ### Patch Changes
@@ -0,0 +1,4 @@
1
+ export type LooselyBrandedString<T extends string> = string & {
2
+ __LOOSE_BRAND?: T;
3
+ };
4
+ //# sourceMappingURL=_components.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_components.d.ts","sourceRoot":"","sources":["../../src/_components.ts"],"names":[],"mappings":"AAgBA,MAAM,MAAM,oBAAoB,CAAC,CAAC,SAAS,MAAM,IAAI,MAAM,GAAG;IAC5D,aAAa,CAAC,EAAE,CAAC,CAAC;CACnB,CAAC"}
@@ -0,0 +1,17 @@
1
+ /*
2
+ * Copyright 2024 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
+ export {};
17
+ //# sourceMappingURL=_components.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_components.js","names":[],"sources":["_components.js"],"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 */\nexport {};\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","ignoreList":[]}
@@ -0,0 +1,4 @@
1
+ export type LooselyBrandedString<T extends string> = string & {
2
+ __LOOSE_BRAND?: T;
3
+ };
4
+ //# sourceMappingURL=_errors.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_errors.d.ts","sourceRoot":"","sources":["../../src/_errors.ts"],"names":[],"mappings":"AAgBA,MAAM,MAAM,oBAAoB,CAAC,CAAC,SAAS,MAAM,IAAI,MAAM,GAAG;IAC5D,aAAa,CAAC,EAAE,CAAC,CAAC;CACnB,CAAC"}
@@ -0,0 +1,17 @@
1
+ /*
2
+ * Copyright 2024 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
+ export {};
17
+ //# sourceMappingURL=_errors.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_errors.js","names":[],"sources":["_errors.js"],"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 */\nexport {};\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","ignoreList":[]}
@@ -0,0 +1,17 @@
1
+ export type {} from "./_components.js";
2
+ export type {} from "./_errors.js";
3
+ export * as Actions from "./public/Action.js";
4
+ export * as ActionTypesV2 from "./public/ActionTypeV2.js";
5
+ export * as Attachments from "./public/Attachment.js";
6
+ export * as AttachmentPropertiesV2 from "./public/AttachmentPropertyV2.js";
7
+ export * as LinkedObjectsV2 from "./public/LinkedObjectV2.js";
8
+ export * as ObjectTypesV2 from "./public/ObjectTypeV2.js";
9
+ export * as OntologyInterfaces from "./public/OntologyInterface.js";
10
+ export * as OntologyObjectSets from "./public/OntologyObjectSet.js";
11
+ export * as OntologyObjectsV2 from "./public/OntologyObjectV2.js";
12
+ export * as OntologiesV2 from "./public/OntologyV2.js";
13
+ export * as Queries from "./public/Query.js";
14
+ export * as QueryTypes from "./public/QueryType.js";
15
+ export * as TimeSeriesPropertiesV2 from "./public/TimeSeriesPropertyV2.js";
16
+ export * as TimeSeriesValueBankProperties from "./public/TimeSeriesValueBankProperty.js";
17
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAgBA,YAAY,EAAE,MAAM,kBAAkB,CAAC;AACvC,YAAY,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,OAAO,MAAM,oBAAoB,CAAC;AAC9C,OAAO,KAAK,aAAa,MAAM,0BAA0B,CAAC;AAC1D,OAAO,KAAK,WAAW,MAAM,wBAAwB,CAAC;AACtD,OAAO,KAAK,sBAAsB,MAAM,kCAAkC,CAAC;AAC3E,OAAO,KAAK,eAAe,MAAM,4BAA4B,CAAC;AAC9D,OAAO,KAAK,aAAa,MAAM,0BAA0B,CAAC;AAC1D,OAAO,KAAK,kBAAkB,MAAM,+BAA+B,CAAC;AACpE,OAAO,KAAK,kBAAkB,MAAM,+BAA+B,CAAC;AACpE,OAAO,KAAK,iBAAiB,MAAM,8BAA8B,CAAC;AAClE,OAAO,KAAK,YAAY,MAAM,wBAAwB,CAAC;AACvD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,uBAAuB,CAAC;AACpD,OAAO,KAAK,sBAAsB,MAAM,kCAAkC,CAAC;AAC3E,OAAO,KAAK,6BAA6B,MAAM,yCAAyC,CAAC"}
@@ -1,16 +1,30 @@
1
- export { OntologyObjectSet_exports as OntologyObjectSets } from './chunk-CTA4DXZF.js';
2
- export { OntologyObjectV2_exports as OntologyObjectsV2 } from './chunk-U76D6BOW.js';
3
- export { OntologyV2_exports as OntologiesV2 } from './chunk-35VM6XLH.js';
4
- export { Query_exports as Queries } from './chunk-UFJTKRQC.js';
5
- export { QueryType_exports as QueryTypes } from './chunk-GWYI4RKT.js';
6
- export { TimeSeriesPropertyV2_exports as TimeSeriesPropertiesV2 } from './chunk-KQNF55S5.js';
7
- export { Action_exports as Actions } from './chunk-A2ZEBCGI.js';
8
- export { ActionTypeV2_exports as ActionTypesV2 } from './chunk-VCCTOHYG.js';
9
- export { Attachment_exports as Attachments } from './chunk-EFVOGNPX.js';
10
- export { AttachmentPropertyV2_exports as AttachmentPropertiesV2 } from './chunk-3H3SHEFA.js';
11
- export { LinkedObjectV2_exports as LinkedObjectsV2 } from './chunk-4TOWICL3.js';
12
- export { ObjectTypeV2_exports as ObjectTypesV2 } from './chunk-ZNHKEV4X.js';
13
- export { OntologyInterface_exports as OntologyInterfaces } from './chunk-OBKC7XBM.js';
14
- import './chunk-PZ5AY32C.js';
15
- //# sourceMappingURL=index.js.map
1
+ /*
2
+ * Copyright 2024 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
+ export * as Actions from "./public/Action.js";
17
+ export * as ActionTypesV2 from "./public/ActionTypeV2.js";
18
+ export * as Attachments from "./public/Attachment.js";
19
+ export * as AttachmentPropertiesV2 from "./public/AttachmentPropertyV2.js";
20
+ export * as LinkedObjectsV2 from "./public/LinkedObjectV2.js";
21
+ export * as ObjectTypesV2 from "./public/ObjectTypeV2.js";
22
+ export * as OntologyInterfaces from "./public/OntologyInterface.js";
23
+ export * as OntologyObjectSets from "./public/OntologyObjectSet.js";
24
+ export * as OntologyObjectsV2 from "./public/OntologyObjectV2.js";
25
+ export * as OntologiesV2 from "./public/OntologyV2.js";
26
+ export * as Queries from "./public/Query.js";
27
+ export * as QueryTypes from "./public/QueryType.js";
28
+ export * as TimeSeriesPropertiesV2 from "./public/TimeSeriesPropertyV2.js";
29
+ export * as TimeSeriesValueBankProperties from "./public/TimeSeriesValueBankProperty.js";
16
30
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
1
+ {"version":3,"file":"index.js","names":["Actions","ActionTypesV2","Attachments","AttachmentPropertiesV2","LinkedObjectsV2","ObjectTypesV2","OntologyInterfaces","OntologyObjectSets","OntologyObjectsV2","OntologiesV2","Queries","QueryTypes","TimeSeriesPropertiesV2","TimeSeriesValueBankProperties"],"sources":["index.js"],"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 */\nexport * as Actions from \"./public/Action.js\";\nexport * as ActionTypesV2 from \"./public/ActionTypeV2.js\";\nexport * as Attachments from \"./public/Attachment.js\";\nexport * as AttachmentPropertiesV2 from \"./public/AttachmentPropertyV2.js\";\nexport * as LinkedObjectsV2 from \"./public/LinkedObjectV2.js\";\nexport * as ObjectTypesV2 from \"./public/ObjectTypeV2.js\";\nexport * as OntologyInterfaces from \"./public/OntologyInterface.js\";\nexport * as OntologyObjectSets from \"./public/OntologyObjectSet.js\";\nexport * as OntologyObjectsV2 from \"./public/OntologyObjectV2.js\";\nexport * as OntologiesV2 from \"./public/OntologyV2.js\";\nexport * as Queries from \"./public/Query.js\";\nexport * as QueryTypes from \"./public/QueryType.js\";\nexport * as TimeSeriesPropertiesV2 from \"./public/TimeSeriesPropertyV2.js\";\nexport * as TimeSeriesValueBankProperties from \"./public/TimeSeriesValueBankProperty.js\";\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,KAAKA,OAAO,MAAM,oBAAoB;AAC7C,OAAO,KAAKC,aAAa,MAAM,0BAA0B;AACzD,OAAO,KAAKC,WAAW,MAAM,wBAAwB;AACrD,OAAO,KAAKC,sBAAsB,MAAM,kCAAkC;AAC1E,OAAO,KAAKC,eAAe,MAAM,4BAA4B;AAC7D,OAAO,KAAKC,aAAa,MAAM,0BAA0B;AACzD,OAAO,KAAKC,kBAAkB,MAAM,+BAA+B;AACnE,OAAO,KAAKC,kBAAkB,MAAM,+BAA+B;AACnE,OAAO,KAAKC,iBAAiB,MAAM,8BAA8B;AACjE,OAAO,KAAKC,YAAY,MAAM,wBAAwB;AACtD,OAAO,KAAKC,OAAO,MAAM,mBAAmB;AAC5C,OAAO,KAAKC,UAAU,MAAM,uBAAuB;AACnD,OAAO,KAAKC,sBAAsB,MAAM,kCAAkC;AAC1E,OAAO,KAAKC,6BAA6B,MAAM,yCAAyC","ignoreList":[]}
@@ -0,0 +1,79 @@
1
+ import type * as _Core from "@osdk/internal.foundry.core";
2
+ import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client";
3
+ /**
4
+ * Applies an action using the given parameters.
5
+ *
6
+ * Changes to the Ontology are eventually consistent and may take some time to be visible.
7
+ *
8
+ * Note that [parameter default values](https://www.palantir.com/docs/foundry/action-types/parameters-default-value/) are not currently supported by
9
+ * this endpoint.
10
+ *
11
+ * Third-party applications using this endpoint via OAuth2 must request the
12
+ * following operation scopes: `api:ontologies-read api:ontologies-write`.
13
+ *
14
+ * @public
15
+ *
16
+ * Required Scopes: [api:ontologies-read, api:ontologies-write]
17
+ * URL: /v2/ontologies/{ontology}/actions/{action}/apply
18
+ */
19
+ export declare function applyActionV2($ctx: $Client | $ClientContext, ...args: [
20
+ ontology: _Core.OntologyIdentifier,
21
+ action: _Core.ActionTypeApiName,
22
+ $body: _Core.ApplyActionRequestV2,
23
+ $queryParams?: {
24
+ artifactRepository?: _Core.ArtifactRepositoryRid | undefined;
25
+ packageName?: _Core.SdkPackageName | undefined;
26
+ }
27
+ ]): Promise<_Core.SyncApplyActionResponseV2>;
28
+ /**
29
+ * Applies an action using the given parameters.
30
+ *
31
+ * Changes to the Ontology are eventually consistent and may take some time to be visible.
32
+ *
33
+ * Note that [parameter default values](https://www.palantir.com/docs/foundry/action-types/parameters-default-value/) are not currently supported by
34
+ * this endpoint.
35
+ *
36
+ * Third-party applications using this endpoint via OAuth2 must request the
37
+ * following operation scopes: `api:ontologies-read api:ontologies-write`.
38
+ *
39
+ * @alpha
40
+ *
41
+ * Required Scopes: [api:ontologies-read, api:ontologies-write]
42
+ * URL: /v2/ontologies/{ontology}/actions/{action}/applyAsync
43
+ */
44
+ export declare function applyActionAsyncV2($ctx: $Client | $ClientContext, ...args: [
45
+ ontology: _Core.OntologyIdentifier,
46
+ action: _Core.ActionTypeApiName,
47
+ $body: _Core.AsyncApplyActionRequestV2,
48
+ $queryParams?: {
49
+ artifactRepository?: _Core.ArtifactRepositoryRid | undefined;
50
+ packageName?: _Core.SdkPackageName | undefined;
51
+ }
52
+ ]): Promise<_Core.AsyncApplyActionResponseV2>;
53
+ /**
54
+ * Applies multiple actions (of the same Action Type) using the given parameters.
55
+ * Changes to the Ontology are eventually consistent and may take some time to be visible.
56
+ *
57
+ * Up to 20 actions may be applied in one call. Actions that only modify objects in Object Storage v2 and do not
58
+ * call Functions may receive a higher limit.
59
+ *
60
+ * Note that [notifications](https://www.palantir.com/docs/foundry/action-types/notifications/) are not currently supported by this endpoint.
61
+ *
62
+ * Third-party applications using this endpoint via OAuth2 must request the
63
+ * following operation scopes: `api:ontologies-read api:ontologies-write`.
64
+ *
65
+ * @public
66
+ *
67
+ * Required Scopes: [api:ontologies-read, api:ontologies-write]
68
+ * URL: /v2/ontologies/{ontology}/actions/{action}/applyBatch
69
+ */
70
+ export declare function applyActionBatchV2($ctx: $Client | $ClientContext, ...args: [
71
+ ontology: _Core.OntologyIdentifier,
72
+ action: _Core.ActionTypeApiName,
73
+ $body: _Core.BatchApplyActionRequestV2,
74
+ $queryParams?: {
75
+ artifactRepository?: _Core.ArtifactRepositoryRid | undefined;
76
+ packageName?: _Core.SdkPackageName | undefined;
77
+ }
78
+ ]): Promise<_Core.BatchApplyActionResponseV2>;
79
+ //# sourceMappingURL=Action.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Action.d.ts","sourceRoot":"","sources":["../../../src/public/Action.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,6BAA6B,CAAC;AAC1D,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,qBAAqB,CAAC;AAkB7B;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,aAAa,CAC3B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,KAAK,CAAC,kBAAkB;IAClC,MAAM,EAAE,KAAK,CAAC,iBAAiB;IAC/B,KAAK,EAAE,KAAK,CAAC,oBAAoB;IACjC,YAAY,CAAC,EAAE;QACb,kBAAkB,CAAC,EAAE,KAAK,CAAC,qBAAqB,GAAG,SAAS,CAAC;QAC7D,WAAW,CAAC,EAAE,KAAK,CAAC,cAAc,GAAG,SAAS,CAAC;KAChD;CACF,GACA,OAAO,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAE1C;AAcD;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,kBAAkB,CAChC,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,KAAK,CAAC,kBAAkB;IAClC,MAAM,EAAE,KAAK,CAAC,iBAAiB;IAC/B,KAAK,EAAE,KAAK,CAAC,yBAAyB;IACtC,YAAY,CAAC,EAAE;QACb,kBAAkB,CAAC,EAAE,KAAK,CAAC,qBAAqB,GAAG,SAAS,CAAC;QAC7D,WAAW,CAAC,EAAE,KAAK,CAAC,cAAc,GAAG,SAAS,CAAC;KAChD;CACF,GACA,OAAO,CAAC,KAAK,CAAC,0BAA0B,CAAC,CAE3C;AAcD;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,kBAAkB,CAChC,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,KAAK,CAAC,kBAAkB;IAClC,MAAM,EAAE,KAAK,CAAC,iBAAiB;IAC/B,KAAK,EAAE,KAAK,CAAC,yBAAyB;IACtC,YAAY,CAAC,EAAE;QACb,kBAAkB,CAAC,EAAE,KAAK,CAAC,qBAAqB,GAAG,SAAS,CAAC;QAC7D,WAAW,CAAC,EAAE,KAAK,CAAC,cAAc,GAAG,SAAS,CAAC;KAChD;CACF,GACA,OAAO,CAAC,KAAK,CAAC,0BAA0B,CAAC,CAE3C"}
@@ -1,4 +1,79 @@
1
- export { applyActionAsyncV2, applyActionBatchV2, applyActionV2 } from '../chunk-A2ZEBCGI.js';
2
- import '../chunk-PZ5AY32C.js';
3
- //# sourceMappingURL=Action.js.map
1
+ /*
2
+ * Copyright 2024 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
+ import { foundryPlatformFetch as $foundryPlatformFetch } from "@osdk/shared.net.platformapi";
17
+ //
18
+ const _applyActionV2 = [1, "/v2/ontologies/{0}/actions/{1}/apply", 3];
19
+ /**
20
+ * Applies an action using the given parameters.
21
+ *
22
+ * Changes to the Ontology are eventually consistent and may take some time to be visible.
23
+ *
24
+ * Note that [parameter default values](https://www.palantir.com/docs/foundry/action-types/parameters-default-value/) are not currently supported by
25
+ * this endpoint.
26
+ *
27
+ * Third-party applications using this endpoint via OAuth2 must request the
28
+ * following operation scopes: `api:ontologies-read api:ontologies-write`.
29
+ *
30
+ * @public
31
+ *
32
+ * Required Scopes: [api:ontologies-read, api:ontologies-write]
33
+ * URL: /v2/ontologies/{ontology}/actions/{action}/apply
34
+ */
35
+ export function applyActionV2($ctx, ...args) {
36
+ return $foundryPlatformFetch($ctx, _applyActionV2, ...args);
37
+ }
38
+ const _applyActionAsyncV2 = [1, "/v2/ontologies/{0}/actions/{1}/applyAsync", 3];
39
+ /**
40
+ * Applies an action using the given parameters.
41
+ *
42
+ * Changes to the Ontology are eventually consistent and may take some time to be visible.
43
+ *
44
+ * Note that [parameter default values](https://www.palantir.com/docs/foundry/action-types/parameters-default-value/) are not currently supported by
45
+ * this endpoint.
46
+ *
47
+ * Third-party applications using this endpoint via OAuth2 must request the
48
+ * following operation scopes: `api:ontologies-read api:ontologies-write`.
49
+ *
50
+ * @alpha
51
+ *
52
+ * Required Scopes: [api:ontologies-read, api:ontologies-write]
53
+ * URL: /v2/ontologies/{ontology}/actions/{action}/applyAsync
54
+ */
55
+ export function applyActionAsyncV2($ctx, ...args) {
56
+ return $foundryPlatformFetch($ctx, _applyActionAsyncV2, ...args);
57
+ }
58
+ const _applyActionBatchV2 = [1, "/v2/ontologies/{0}/actions/{1}/applyBatch", 3];
59
+ /**
60
+ * Applies multiple actions (of the same Action Type) using the given parameters.
61
+ * Changes to the Ontology are eventually consistent and may take some time to be visible.
62
+ *
63
+ * Up to 20 actions may be applied in one call. Actions that only modify objects in Object Storage v2 and do not
64
+ * call Functions may receive a higher limit.
65
+ *
66
+ * Note that [notifications](https://www.palantir.com/docs/foundry/action-types/notifications/) are not currently supported by this endpoint.
67
+ *
68
+ * Third-party applications using this endpoint via OAuth2 must request the
69
+ * following operation scopes: `api:ontologies-read api:ontologies-write`.
70
+ *
71
+ * @public
72
+ *
73
+ * Required Scopes: [api:ontologies-read, api:ontologies-write]
74
+ * URL: /v2/ontologies/{ontology}/actions/{action}/applyBatch
75
+ */
76
+ export function applyActionBatchV2($ctx, ...args) {
77
+ return $foundryPlatformFetch($ctx, _applyActionBatchV2, ...args);
78
+ }
4
79
  //# sourceMappingURL=Action.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"Action.js"}
1
+ {"version":3,"file":"Action.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_applyActionV2","applyActionV2","$ctx","args","_applyActionAsyncV2","applyActionAsyncV2","_applyActionBatchV2","applyActionBatchV2"],"sources":["Action.js"],"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 */\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _applyActionV2 = [1, \"/v2/ontologies/{0}/actions/{1}/apply\", 3];\n/**\n * Applies an action using the given parameters.\n *\n * Changes to the Ontology are eventually consistent and may take some time to be visible.\n *\n * Note that [parameter default values](https://www.palantir.com/docs/foundry/action-types/parameters-default-value/) are not currently supported by\n * this endpoint.\n *\n * Third-party applications using this endpoint via OAuth2 must request the\n * following operation scopes: `api:ontologies-read api:ontologies-write`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read, api:ontologies-write]\n * URL: /v2/ontologies/{ontology}/actions/{action}/apply\n */\nexport function applyActionV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _applyActionV2, ...args);\n}\nconst _applyActionAsyncV2 = [1, \"/v2/ontologies/{0}/actions/{1}/applyAsync\", 3];\n/**\n * Applies an action using the given parameters.\n *\n * Changes to the Ontology are eventually consistent and may take some time to be visible.\n *\n * Note that [parameter default values](https://www.palantir.com/docs/foundry/action-types/parameters-default-value/) are not currently supported by\n * this endpoint.\n *\n * Third-party applications using this endpoint via OAuth2 must request the\n * following operation scopes: `api:ontologies-read api:ontologies-write`.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read, api:ontologies-write]\n * URL: /v2/ontologies/{ontology}/actions/{action}/applyAsync\n */\nexport function applyActionAsyncV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _applyActionAsyncV2, ...args);\n}\nconst _applyActionBatchV2 = [1, \"/v2/ontologies/{0}/actions/{1}/applyBatch\", 3];\n/**\n * Applies multiple actions (of the same Action Type) using the given parameters.\n * Changes to the Ontology are eventually consistent and may take some time to be visible.\n *\n * Up to 20 actions may be applied in one call. Actions that only modify objects in Object Storage v2 and do not\n * call Functions may receive a higher limit.\n *\n * Note that [notifications](https://www.palantir.com/docs/foundry/action-types/notifications/) are not currently supported by this endpoint.\n *\n * Third-party applications using this endpoint via OAuth2 must request the\n * following operation scopes: `api:ontologies-read api:ontologies-write`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read, api:ontologies-write]\n * URL: /v2/ontologies/{ontology}/actions/{action}/applyBatch\n */\nexport function applyActionBatchV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _applyActionBatchV2, ...args);\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,oBAAoB,IAAIC,qBAAqB,QAAQ,8BAA8B;AAC5F;AACA,MAAMC,cAAc,GAAG,CAAC,CAAC,EAAE,sCAAsC,EAAE,CAAC,CAAC;AACrE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,aAAaA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EACzC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,cAAc,EAAE,GAAGG,IAAI,CAAC;AAC/D;AACA,MAAMC,mBAAmB,GAAG,CAAC,CAAC,EAAE,2CAA2C,EAAE,CAAC,CAAC;AAC/E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,kBAAkBA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC9C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,mBAAmB,EAAE,GAAGD,IAAI,CAAC;AACpE;AACA,MAAMG,mBAAmB,GAAG,CAAC,CAAC,EAAE,2CAA2C,EAAE,CAAC,CAAC;AAC/E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,kBAAkBA,CAACL,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC9C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEI,mBAAmB,EAAE,GAAGH,IAAI,CAAC;AACpE","ignoreList":[]}
@@ -0,0 +1,37 @@
1
+ import type * as _Core from "@osdk/internal.foundry.core";
2
+ import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client";
3
+ /**
4
+ * Lists the action types for the given Ontology.
5
+ *
6
+ * Each page may be smaller than the requested page size. However, it is guaranteed that if there are more
7
+ * results available, at least one result will be present in the response.
8
+ *
9
+ * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
10
+ *
11
+ * @public
12
+ *
13
+ * Required Scopes: [api:ontologies-read]
14
+ * URL: /v2/ontologies/{ontology}/actionTypes
15
+ */
16
+ export declare function listActionTypesV2($ctx: $Client | $ClientContext, ...args: [
17
+ ontology: _Core.OntologyIdentifier,
18
+ $queryParams?: {
19
+ pageSize?: _Core.PageSize | undefined;
20
+ pageToken?: _Core.PageToken | undefined;
21
+ }
22
+ ]): Promise<_Core.ListActionTypesResponseV2>;
23
+ /**
24
+ * Gets a specific action type with the given API name.
25
+ *
26
+ * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
27
+ *
28
+ * @public
29
+ *
30
+ * Required Scopes: [api:ontologies-read]
31
+ * URL: /v2/ontologies/{ontology}/actionTypes/{actionType}
32
+ */
33
+ export declare function getActionTypeV2($ctx: $Client | $ClientContext, ...args: [
34
+ ontology: _Core.OntologyIdentifier,
35
+ actionType: _Core.ActionTypeApiName
36
+ ]): Promise<_Core.ActionTypeV2>;
37
+ //# sourceMappingURL=ActionTypeV2.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ActionTypeV2.d.ts","sourceRoot":"","sources":["../../../src/public/ActionTypeV2.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,6BAA6B,CAAC;AAC1D,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,qBAAqB,CAAC;AAgB7B;;;;;;;;;;;;GAYG;AACH,wBAAgB,iBAAiB,CAC/B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,KAAK,CAAC,kBAAkB;IAElC,YAAY,CAAC,EAAE;QACb,QAAQ,CAAC,EAAE,KAAK,CAAC,QAAQ,GAAG,SAAS,CAAC;QACtC,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,SAAS,CAAC;KACzC;CACF,GACA,OAAO,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAE1C;AASD;;;;;;;;;GASG;AACH,wBAAgB,eAAe,CAC7B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,KAAK,CAAC,kBAAkB;IAClC,UAAU,EAAE,KAAK,CAAC,iBAAiB;CACpC,GACA,OAAO,CAAC,KAAK,CAAC,YAAY,CAAC,CAE7B"}
@@ -1,4 +1,49 @@
1
- export { getActionTypeV2, listActionTypesV2 } from '../chunk-VCCTOHYG.js';
2
- import '../chunk-PZ5AY32C.js';
3
- //# sourceMappingURL=ActionTypeV2.js.map
1
+ /*
2
+ * Copyright 2024 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
+ import { foundryPlatformFetch as $foundryPlatformFetch } from "@osdk/shared.net.platformapi";
17
+ //
18
+ const _listActionTypesV2 = [0, "/v2/ontologies/{0}/actionTypes", 2];
19
+ /**
20
+ * Lists the action types for the given Ontology.
21
+ *
22
+ * Each page may be smaller than the requested page size. However, it is guaranteed that if there are more
23
+ * results available, at least one result will be present in the response.
24
+ *
25
+ * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
26
+ *
27
+ * @public
28
+ *
29
+ * Required Scopes: [api:ontologies-read]
30
+ * URL: /v2/ontologies/{ontology}/actionTypes
31
+ */
32
+ export function listActionTypesV2($ctx, ...args) {
33
+ return $foundryPlatformFetch($ctx, _listActionTypesV2, ...args);
34
+ }
35
+ const _getActionTypeV2 = [0, "/v2/ontologies/{0}/actionTypes/{1}"];
36
+ /**
37
+ * Gets a specific action type with the given API name.
38
+ *
39
+ * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
40
+ *
41
+ * @public
42
+ *
43
+ * Required Scopes: [api:ontologies-read]
44
+ * URL: /v2/ontologies/{ontology}/actionTypes/{actionType}
45
+ */
46
+ export function getActionTypeV2($ctx, ...args) {
47
+ return $foundryPlatformFetch($ctx, _getActionTypeV2, ...args);
48
+ }
4
49
  //# sourceMappingURL=ActionTypeV2.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"ActionTypeV2.js"}
1
+ {"version":3,"file":"ActionTypeV2.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_listActionTypesV2","listActionTypesV2","$ctx","args","_getActionTypeV2","getActionTypeV2"],"sources":["ActionTypeV2.js"],"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 */\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _listActionTypesV2 = [0, \"/v2/ontologies/{0}/actionTypes\", 2];\n/**\n * Lists the action types for the given Ontology.\n *\n * Each page may be smaller than the requested page size. However, it is guaranteed that if there are more\n * results available, at least one result will be present in the response.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/actionTypes\n */\nexport function listActionTypesV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listActionTypesV2, ...args);\n}\nconst _getActionTypeV2 = [0, \"/v2/ontologies/{0}/actionTypes/{1}\"];\n/**\n * Gets a specific action type with the given API name.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/actionTypes/{actionType}\n */\nexport function getActionTypeV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getActionTypeV2, ...args);\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,oBAAoB,IAAIC,qBAAqB,QAAQ,8BAA8B;AAC5F;AACA,MAAMC,kBAAkB,GAAG,CAAC,CAAC,EAAE,gCAAgC,EAAE,CAAC,CAAC;AACnE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,iBAAiBA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC7C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,kBAAkB,EAAE,GAAGG,IAAI,CAAC;AACnE;AACA,MAAMC,gBAAgB,GAAG,CAAC,CAAC,EAAE,oCAAoC,CAAC;AAClE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,eAAeA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC3C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,gBAAgB,EAAE,GAAGD,IAAI,CAAC;AACjE","ignoreList":[]}
@@ -0,0 +1,51 @@
1
+ import type * as _Core from "@osdk/internal.foundry.core";
2
+ import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client";
3
+ /**
4
+ * Upload an attachment to use in an action. Any attachment which has not been linked to an object via
5
+ * an action within one hour after upload will be removed.
6
+ * Previously mapped attachments which are not connected to any object anymore are also removed on
7
+ * a biweekly basis.
8
+ * The body of the request must contain the binary content of the file and the `Content-Type` header must be `application/octet-stream`.
9
+ *
10
+ * Third-party applications using this endpoint via OAuth2 must request the
11
+ * following operation scopes: `api:ontologies-write`.
12
+ *
13
+ * @public
14
+ *
15
+ * Required Scopes: [api:ontologies-write]
16
+ * URL: /v2/ontologies/attachments/upload
17
+ */
18
+ export declare function uploadAttachmentV2($ctx: $Client | $ClientContext, ...args: [
19
+ $body: Blob,
20
+ $queryParams: {
21
+ filename: _Core.Filename;
22
+ },
23
+ $headerParams?: {
24
+ "Content-Type"?: _Core.ContentType;
25
+ }
26
+ ]): Promise<_Core.AttachmentV2>;
27
+ /**
28
+ * Get the content of an attachment.
29
+ *
30
+ * Third-party applications using this endpoint via OAuth2 must request the
31
+ * following operation scopes: `api:ontologies-read`.
32
+ *
33
+ * @public
34
+ *
35
+ * Required Scopes: [api:ontologies-read]
36
+ * URL: /v2/ontologies/attachments/{attachmentRid}/content
37
+ */
38
+ export declare function getAttachmentContentV2($ctx: $Client | $ClientContext, ...args: [attachmentRid: _Core.AttachmentRid]): Promise<Blob>;
39
+ /**
40
+ * Get the metadata of an attachment.
41
+ *
42
+ * Third-party applications using this endpoint via OAuth2 must request the
43
+ * following operation scopes: `api:ontologies-read`.
44
+ *
45
+ * @public
46
+ *
47
+ * Required Scopes: [api:ontologies-read]
48
+ * URL: /v2/ontologies/attachments/{attachmentRid}
49
+ */
50
+ export declare function getAttachmentV2($ctx: $Client | $ClientContext, ...args: [attachmentRid: _Core.AttachmentRid]): Promise<_Core.AttachmentV2>;
51
+ //# sourceMappingURL=Attachment.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Attachment.d.ts","sourceRoot":"","sources":["../../../src/public/Attachment.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,6BAA6B,CAAC;AAC1D,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,qBAAqB,CAAC;AAc7B;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,kBAAkB,CAChC,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,KAAK,EAAE,IAAI;IACX,YAAY,EAAE;QAAE,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAA;KAAE;IAC1C,aAAa,CAAC,EAAE;QAAE,cAAc,CAAC,EAAE,KAAK,CAAC,WAAW,CAAA;KAAE;CACvD,GACA,OAAO,CAAC,KAAK,CAAC,YAAY,CAAC,CAc7B;AAMD;;;;;;;;;;GAUG;AACH,wBAAgB,sBAAsB,CACpC,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE,CAAC,aAAa,EAAE,KAAK,CAAC,aAAa,CAAC,GAC5C,OAAO,CAAC,IAAI,CAAC,CAEf;AAMD;;;;;;;;;;GAUG;AACH,wBAAgB,eAAe,CAC7B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE,CAAC,aAAa,EAAE,KAAK,CAAC,aAAa,CAAC,GAC5C,OAAO,CAAC,KAAK,CAAC,YAAY,CAAC,CAE7B"}
@@ -1,4 +1,72 @@
1
- export { getAttachmentContentV2, getAttachmentV2, uploadAttachmentV2 } from '../chunk-EFVOGNPX.js';
2
- import '../chunk-PZ5AY32C.js';
3
- //# sourceMappingURL=Attachment.js.map
1
+ /*
2
+ * Copyright 2024 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
+ import { foundryPlatformFetch as $foundryPlatformFetch } from "@osdk/shared.net.platformapi";
17
+ //
18
+ const _uploadAttachmentV2 = [1, "/v2/ontologies/attachments/upload", 7, "*/*"];
19
+ /**
20
+ * Upload an attachment to use in an action. Any attachment which has not been linked to an object via
21
+ * an action within one hour after upload will be removed.
22
+ * Previously mapped attachments which are not connected to any object anymore are also removed on
23
+ * a biweekly basis.
24
+ * The body of the request must contain the binary content of the file and the `Content-Type` header must be `application/octet-stream`.
25
+ *
26
+ * Third-party applications using this endpoint via OAuth2 must request the
27
+ * following operation scopes: `api:ontologies-write`.
28
+ *
29
+ * @public
30
+ *
31
+ * Required Scopes: [api:ontologies-write]
32
+ * URL: /v2/ontologies/attachments/upload
33
+ */
34
+ export function uploadAttachmentV2($ctx, ...args) {
35
+ const headerParams = {
36
+ ...args[2],
37
+ "Content-Type": args[2]?.["Content-Type"] ?? args[0].type,
38
+ "Content-Length": args[0].size.toString()
39
+ };
40
+ return $foundryPlatformFetch($ctx, _uploadAttachmentV2, args[0], args[1], headerParams);
41
+ }
42
+ const _getAttachmentContentV2 = [0, "/v2/ontologies/attachments/{0}/content",,, "*/*"];
43
+ /**
44
+ * Get the content of an attachment.
45
+ *
46
+ * Third-party applications using this endpoint via OAuth2 must request the
47
+ * following operation scopes: `api:ontologies-read`.
48
+ *
49
+ * @public
50
+ *
51
+ * Required Scopes: [api:ontologies-read]
52
+ * URL: /v2/ontologies/attachments/{attachmentRid}/content
53
+ */
54
+ export function getAttachmentContentV2($ctx, ...args) {
55
+ return $foundryPlatformFetch($ctx, _getAttachmentContentV2, ...args);
56
+ }
57
+ const _getAttachmentV2 = [0, "/v2/ontologies/attachments/{0}"];
58
+ /**
59
+ * Get the metadata of an attachment.
60
+ *
61
+ * Third-party applications using this endpoint via OAuth2 must request the
62
+ * following operation scopes: `api:ontologies-read`.
63
+ *
64
+ * @public
65
+ *
66
+ * Required Scopes: [api:ontologies-read]
67
+ * URL: /v2/ontologies/attachments/{attachmentRid}
68
+ */
69
+ export function getAttachmentV2($ctx, ...args) {
70
+ return $foundryPlatformFetch($ctx, _getAttachmentV2, ...args);
71
+ }
4
72
  //# sourceMappingURL=Attachment.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"Attachment.js"}
1
+ {"version":3,"file":"Attachment.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_uploadAttachmentV2","uploadAttachmentV2","$ctx","args","headerParams","type","size","toString","_getAttachmentContentV2","getAttachmentContentV2","_getAttachmentV2","getAttachmentV2"],"sources":["Attachment.js"],"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 */\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _uploadAttachmentV2 = [1, \"/v2/ontologies/attachments/upload\", 7, \"*/*\"];\n/**\n * Upload an attachment to use in an action. Any attachment which has not been linked to an object via\n * an action within one hour after upload will be removed.\n * Previously mapped attachments which are not connected to any object anymore are also removed on\n * a biweekly basis.\n * The body of the request must contain the binary content of the file and the `Content-Type` header must be `application/octet-stream`.\n *\n * Third-party applications using this endpoint via OAuth2 must request the\n * following operation scopes: `api:ontologies-write`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-write]\n * URL: /v2/ontologies/attachments/upload\n */\nexport function uploadAttachmentV2($ctx, ...args) {\n const headerParams = {\n ...args[2],\n \"Content-Type\": args[2]?.[\"Content-Type\"] ?? args[0].type,\n \"Content-Length\": args[0].size.toString(),\n };\n return $foundryPlatformFetch($ctx, _uploadAttachmentV2, args[0], args[1], headerParams);\n}\nconst _getAttachmentContentV2 = [0, \"/v2/ontologies/attachments/{0}/content\", , , \"*/*\"];\n/**\n * Get the content of an attachment.\n *\n * Third-party applications using this endpoint via OAuth2 must request the\n * following operation scopes: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/attachments/{attachmentRid}/content\n */\nexport function getAttachmentContentV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getAttachmentContentV2, ...args);\n}\nconst _getAttachmentV2 = [0, \"/v2/ontologies/attachments/{0}\"];\n/**\n * Get the metadata of an attachment.\n *\n * Third-party applications using this endpoint via OAuth2 must request the\n * following operation scopes: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/attachments/{attachmentRid}\n */\nexport function getAttachmentV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getAttachmentV2, ...args);\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,oBAAoB,IAAIC,qBAAqB,QAAQ,8BAA8B;AAC5F;AACA,MAAMC,mBAAmB,GAAG,CAAC,CAAC,EAAE,mCAAmC,EAAE,CAAC,EAAE,KAAK,CAAC;AAC9E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,kBAAkBA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC9C,MAAMC,YAAY,GAAG;IACjB,GAAGD,IAAI,CAAC,CAAC,CAAC;IACV,cAAc,EAAEA,IAAI,CAAC,CAAC,CAAC,GAAG,cAAc,CAAC,IAAIA,IAAI,CAAC,CAAC,CAAC,CAACE,IAAI;IACzD,gBAAgB,EAAEF,IAAI,CAAC,CAAC,CAAC,CAACG,IAAI,CAACC,QAAQ,CAAC;EAC5C,CAAC;EACD,OAAOR,qBAAqB,CAACG,IAAI,EAAEF,mBAAmB,EAAEG,IAAI,CAAC,CAAC,CAAC,EAAEA,IAAI,CAAC,CAAC,CAAC,EAAEC,YAAY,CAAC;AAC3F;AACA,MAAMI,uBAAuB,GAAG,CAAC,CAAC,EAAE,wCAAwC,IAAM,KAAK,CAAC;AACxF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,sBAAsBA,CAACP,IAAI,EAAE,GAAGC,IAAI,EAAE;EAClD,OAAOJ,qBAAqB,CAACG,IAAI,EAAEM,uBAAuB,EAAE,GAAGL,IAAI,CAAC;AACxE;AACA,MAAMO,gBAAgB,GAAG,CAAC,CAAC,EAAE,gCAAgC,CAAC;AAC9D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,eAAeA,CAACT,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC3C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEQ,gBAAgB,EAAE,GAAGP,IAAI,CAAC;AACjE","ignoreList":[]}