@osdk/foundry.ontologies 2.24.0 → 2.26.0

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 (162) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/build/browser/_components.d.ts +315 -4
  3. package/build/browser/_components.d.ts.map +1 -1
  4. package/build/browser/_errors.d.ts +64 -0
  5. package/build/browser/_errors.d.ts.map +1 -1
  6. package/build/browser/index.d.ts +4 -2
  7. package/build/browser/index.d.ts.map +1 -1
  8. package/build/browser/index.js +2 -0
  9. package/build/browser/index.js.map +1 -1
  10. package/build/browser/public/Action.d.ts +9 -15
  11. package/build/browser/public/Action.d.ts.map +1 -1
  12. package/build/browser/public/Action.js +3 -9
  13. package/build/browser/public/Action.js.map +1 -1
  14. package/build/browser/public/ActionTypeV2.d.ts +1 -6
  15. package/build/browser/public/ActionTypeV2.d.ts.map +1 -1
  16. package/build/browser/public/ActionTypeV2.js +0 -6
  17. package/build/browser/public/ActionTypeV2.js.map +1 -1
  18. package/build/browser/public/Attachment.d.ts +0 -9
  19. package/build/browser/public/Attachment.d.ts.map +1 -1
  20. package/build/browser/public/Attachment.js +0 -9
  21. package/build/browser/public/Attachment.js.map +1 -1
  22. package/build/browser/public/AttachmentPropertyV2.d.ts +8 -20
  23. package/build/browser/public/AttachmentPropertyV2.d.ts.map +1 -1
  24. package/build/browser/public/AttachmentPropertyV2.js +0 -12
  25. package/build/browser/public/AttachmentPropertyV2.js.map +1 -1
  26. package/build/browser/public/CipherTextProperty.d.ts +1 -4
  27. package/build/browser/public/CipherTextProperty.d.ts.map +1 -1
  28. package/build/browser/public/CipherTextProperty.js +1 -4
  29. package/build/browser/public/CipherTextProperty.js.map +1 -1
  30. package/build/browser/public/LinkedObjectV2.d.ts +2 -4
  31. package/build/browser/public/LinkedObjectV2.d.ts.map +1 -1
  32. package/build/browser/public/LinkedObjectV2.js +0 -4
  33. package/build/browser/public/LinkedObjectV2.js.map +1 -1
  34. package/build/browser/public/MediaReferenceProperty.d.ts +0 -8
  35. package/build/browser/public/MediaReferenceProperty.d.ts.map +1 -1
  36. package/build/browser/public/MediaReferenceProperty.js +0 -8
  37. package/build/browser/public/MediaReferenceProperty.js.map +1 -1
  38. package/build/browser/public/ObjectTypeV2.d.ts +3 -12
  39. package/build/browser/public/ObjectTypeV2.d.ts.map +1 -1
  40. package/build/browser/public/ObjectTypeV2.js +0 -12
  41. package/build/browser/public/ObjectTypeV2.js.map +1 -1
  42. package/build/browser/public/OntologyInterface.d.ts +34 -26
  43. package/build/browser/public/OntologyInterface.d.ts.map +1 -1
  44. package/build/browser/public/OntologyInterface.js +24 -26
  45. package/build/browser/public/OntologyInterface.js.map +1 -1
  46. package/build/browser/public/OntologyObjectSet.d.ts +4 -13
  47. package/build/browser/public/OntologyObjectSet.d.ts.map +1 -1
  48. package/build/browser/public/OntologyObjectSet.js +0 -13
  49. package/build/browser/public/OntologyObjectSet.js.map +1 -1
  50. package/build/browser/public/OntologyObjectV2.d.ts +13 -18
  51. package/build/browser/public/OntologyObjectV2.d.ts.map +1 -1
  52. package/build/browser/public/OntologyObjectV2.js +0 -10
  53. package/build/browser/public/OntologyObjectV2.js.map +1 -1
  54. package/build/browser/public/OntologyTransaction.d.ts +17 -0
  55. package/build/browser/public/OntologyTransaction.d.ts.map +1 -0
  56. package/build/browser/public/OntologyTransaction.js +30 -0
  57. package/build/browser/public/OntologyTransaction.js.map +1 -0
  58. package/build/browser/public/OntologyV2.d.ts +0 -4
  59. package/build/browser/public/OntologyV2.d.ts.map +1 -1
  60. package/build/browser/public/OntologyV2.js +0 -4
  61. package/build/browser/public/OntologyV2.js.map +1 -1
  62. package/build/browser/public/OntologyValueType.d.ts +34 -0
  63. package/build/browser/public/OntologyValueType.d.ts.map +1 -0
  64. package/build/browser/public/OntologyValueType.js +42 -0
  65. package/build/browser/public/OntologyValueType.js.map +1 -0
  66. package/build/browser/public/Query.d.ts +7 -5
  67. package/build/browser/public/Query.d.ts.map +1 -1
  68. package/build/browser/public/Query.js +1 -4
  69. package/build/browser/public/Query.js.map +1 -1
  70. package/build/browser/public/QueryType.d.ts +0 -4
  71. package/build/browser/public/QueryType.d.ts.map +1 -1
  72. package/build/browser/public/QueryType.js +0 -4
  73. package/build/browser/public/QueryType.js.map +1 -1
  74. package/build/browser/public/TimeSeriesPropertyV2.d.ts +0 -9
  75. package/build/browser/public/TimeSeriesPropertyV2.d.ts.map +1 -1
  76. package/build/browser/public/TimeSeriesPropertyV2.js +0 -9
  77. package/build/browser/public/TimeSeriesPropertyV2.js.map +1 -1
  78. package/build/browser/public/TimeSeriesValueBankProperty.d.ts +0 -6
  79. package/build/browser/public/TimeSeriesValueBankProperty.d.ts.map +1 -1
  80. package/build/browser/public/TimeSeriesValueBankProperty.js +0 -6
  81. package/build/browser/public/TimeSeriesValueBankProperty.js.map +1 -1
  82. package/build/esm/_components.d.ts +315 -4
  83. package/build/esm/_components.d.ts.map +1 -1
  84. package/build/esm/_errors.d.ts +64 -0
  85. package/build/esm/_errors.d.ts.map +1 -1
  86. package/build/esm/index.d.ts +4 -2
  87. package/build/esm/index.d.ts.map +1 -1
  88. package/build/esm/index.js +2 -0
  89. package/build/esm/index.js.map +1 -1
  90. package/build/esm/public/Action.d.ts +9 -15
  91. package/build/esm/public/Action.d.ts.map +1 -1
  92. package/build/esm/public/Action.js +3 -9
  93. package/build/esm/public/Action.js.map +1 -1
  94. package/build/esm/public/ActionTypeV2.d.ts +1 -6
  95. package/build/esm/public/ActionTypeV2.d.ts.map +1 -1
  96. package/build/esm/public/ActionTypeV2.js +0 -6
  97. package/build/esm/public/ActionTypeV2.js.map +1 -1
  98. package/build/esm/public/Attachment.d.ts +0 -9
  99. package/build/esm/public/Attachment.d.ts.map +1 -1
  100. package/build/esm/public/Attachment.js +0 -9
  101. package/build/esm/public/Attachment.js.map +1 -1
  102. package/build/esm/public/AttachmentPropertyV2.d.ts +8 -20
  103. package/build/esm/public/AttachmentPropertyV2.d.ts.map +1 -1
  104. package/build/esm/public/AttachmentPropertyV2.js +0 -12
  105. package/build/esm/public/AttachmentPropertyV2.js.map +1 -1
  106. package/build/esm/public/CipherTextProperty.d.ts +1 -4
  107. package/build/esm/public/CipherTextProperty.d.ts.map +1 -1
  108. package/build/esm/public/CipherTextProperty.js +1 -4
  109. package/build/esm/public/CipherTextProperty.js.map +1 -1
  110. package/build/esm/public/LinkedObjectV2.d.ts +2 -4
  111. package/build/esm/public/LinkedObjectV2.d.ts.map +1 -1
  112. package/build/esm/public/LinkedObjectV2.js +0 -4
  113. package/build/esm/public/LinkedObjectV2.js.map +1 -1
  114. package/build/esm/public/MediaReferenceProperty.d.ts +0 -8
  115. package/build/esm/public/MediaReferenceProperty.d.ts.map +1 -1
  116. package/build/esm/public/MediaReferenceProperty.js +0 -8
  117. package/build/esm/public/MediaReferenceProperty.js.map +1 -1
  118. package/build/esm/public/ObjectTypeV2.d.ts +3 -12
  119. package/build/esm/public/ObjectTypeV2.d.ts.map +1 -1
  120. package/build/esm/public/ObjectTypeV2.js +0 -12
  121. package/build/esm/public/ObjectTypeV2.js.map +1 -1
  122. package/build/esm/public/OntologyInterface.d.ts +34 -26
  123. package/build/esm/public/OntologyInterface.d.ts.map +1 -1
  124. package/build/esm/public/OntologyInterface.js +24 -26
  125. package/build/esm/public/OntologyInterface.js.map +1 -1
  126. package/build/esm/public/OntologyObjectSet.d.ts +4 -13
  127. package/build/esm/public/OntologyObjectSet.d.ts.map +1 -1
  128. package/build/esm/public/OntologyObjectSet.js +0 -13
  129. package/build/esm/public/OntologyObjectSet.js.map +1 -1
  130. package/build/esm/public/OntologyObjectV2.d.ts +13 -18
  131. package/build/esm/public/OntologyObjectV2.d.ts.map +1 -1
  132. package/build/esm/public/OntologyObjectV2.js +0 -10
  133. package/build/esm/public/OntologyObjectV2.js.map +1 -1
  134. package/build/esm/public/OntologyTransaction.d.ts +17 -0
  135. package/build/esm/public/OntologyTransaction.d.ts.map +1 -0
  136. package/build/esm/public/OntologyTransaction.js +30 -0
  137. package/build/esm/public/OntologyTransaction.js.map +1 -0
  138. package/build/esm/public/OntologyV2.d.ts +0 -4
  139. package/build/esm/public/OntologyV2.d.ts.map +1 -1
  140. package/build/esm/public/OntologyV2.js +0 -4
  141. package/build/esm/public/OntologyV2.js.map +1 -1
  142. package/build/esm/public/OntologyValueType.d.ts +34 -0
  143. package/build/esm/public/OntologyValueType.d.ts.map +1 -0
  144. package/build/esm/public/OntologyValueType.js +42 -0
  145. package/build/esm/public/OntologyValueType.js.map +1 -0
  146. package/build/esm/public/Query.d.ts +7 -5
  147. package/build/esm/public/Query.d.ts.map +1 -1
  148. package/build/esm/public/Query.js +1 -4
  149. package/build/esm/public/Query.js.map +1 -1
  150. package/build/esm/public/QueryType.d.ts +0 -4
  151. package/build/esm/public/QueryType.d.ts.map +1 -1
  152. package/build/esm/public/QueryType.js +0 -4
  153. package/build/esm/public/QueryType.js.map +1 -1
  154. package/build/esm/public/TimeSeriesPropertyV2.d.ts +0 -9
  155. package/build/esm/public/TimeSeriesPropertyV2.d.ts.map +1 -1
  156. package/build/esm/public/TimeSeriesPropertyV2.js +0 -9
  157. package/build/esm/public/TimeSeriesPropertyV2.js.map +1 -1
  158. package/build/esm/public/TimeSeriesValueBankProperty.d.ts +0 -6
  159. package/build/esm/public/TimeSeriesValueBankProperty.d.ts.map +1 -1
  160. package/build/esm/public/TimeSeriesValueBankProperty.js +0 -6
  161. package/build/esm/public/TimeSeriesValueBankProperty.js.map +1 -1
  162. package/package.json +5 -5
@@ -5,9 +5,6 @@ import type * as _Ontologies from "../_components.js";
5
5
  /**
6
6
  * Creates a temporary `ObjectSet` from the given definition. This `ObjectSet` expires after one hour.
7
7
  *
8
- * Third-party applications using this endpoint via OAuth2 must request the
9
- * following operation scopes: `api:ontologies-read api:ontologies-write`.
10
- *
11
8
  * @beta
12
9
  *
13
10
  * Required Scopes: [api:ontologies-read, api:ontologies-write]
@@ -20,8 +17,6 @@ export declare function createTemporary($ctx: $Client | $ClientContext | $OldCli
20
17
  /**
21
18
  * Gets the definition of the `ObjectSet` with the given RID.
22
19
  *
23
- * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
24
- *
25
20
  * @alpha
26
21
  *
27
22
  * Required Scopes: []
@@ -41,8 +36,6 @@ export declare function get($ctx: $Client | $ClientContext | $OldClient | $OldCl
41
36
  *
42
37
  * Vector properties will not be returned unless included in the `select` parameter.
43
38
  *
44
- * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
45
- *
46
39
  * @public
47
40
  *
48
41
  * Required Scopes: [api:ontologies-read]
@@ -54,6 +47,7 @@ export declare function load($ctx: $Client | $ClientContext | $OldClient | $OldC
54
47
  $queryParams?: {
55
48
  sdkPackageRid?: _Ontologies.SdkPackageRid | undefined;
56
49
  sdkVersion?: _Ontologies.SdkVersion | undefined;
50
+ branch?: _Core.FoundryBranch | undefined;
57
51
  }
58
52
  ]): Promise<_Ontologies.LoadObjectSetResponseV2>;
59
53
  /**
@@ -71,8 +65,6 @@ export declare function load($ctx: $Client | $ClientContext | $OldClient | $OldC
71
65
  *
72
66
  * Vector properties will not be returned unless included in the `select` parameter.
73
67
  *
74
- * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
75
- *
76
68
  * @beta
77
69
  *
78
70
  * Required Scopes: [api:ontologies-read]
@@ -84,6 +76,7 @@ export declare function loadMultipleObjectTypes($ctx: $Client | $ClientContext |
84
76
  $queryParams?: {
85
77
  sdkPackageRid?: _Ontologies.SdkPackageRid | undefined;
86
78
  sdkVersion?: _Ontologies.SdkVersion | undefined;
79
+ branch?: _Core.FoundryBranch | undefined;
87
80
  preview?: _Core.PreviewMode | undefined;
88
81
  }
89
82
  ]): Promise<_Ontologies.LoadObjectSetV2MultipleObjectTypesResponse>;
@@ -104,8 +97,6 @@ export declare function loadMultipleObjectTypes($ctx: $Client | $ClientContext |
104
97
  *
105
98
  * Vector properties will not be returned unless included in the `select` parameter.
106
99
  *
107
- * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
108
- *
109
100
  * @beta
110
101
  *
111
102
  * Required Scopes: [api:ontologies-read]
@@ -117,14 +108,13 @@ export declare function loadObjectsOrInterfaces($ctx: $Client | $ClientContext |
117
108
  $queryParams?: {
118
109
  sdkPackageRid?: _Ontologies.SdkPackageRid | undefined;
119
110
  sdkVersion?: _Ontologies.SdkVersion | undefined;
111
+ branch?: _Core.FoundryBranch | undefined;
120
112
  preview?: _Core.PreviewMode | undefined;
121
113
  }
122
114
  ]): Promise<_Ontologies.LoadObjectSetV2ObjectsOrInterfacesResponse>;
123
115
  /**
124
116
  * Aggregates the ontology objects present in the `ObjectSet` from the provided object set definition.
125
117
  *
126
- * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
127
- *
128
118
  * @public
129
119
  *
130
120
  * Required Scopes: [api:ontologies-read]
@@ -136,6 +126,7 @@ export declare function aggregate($ctx: $Client | $ClientContext | $OldClient |
136
126
  $queryParams?: {
137
127
  sdkPackageRid?: _Ontologies.SdkPackageRid | undefined;
138
128
  sdkVersion?: _Ontologies.SdkVersion | undefined;
129
+ branch?: _Core.FoundryBranch | undefined;
139
130
  }
140
131
  ]): Promise<_Ontologies.AggregateObjectsResponseV2>;
141
132
  //# sourceMappingURL=OntologyObjectSet.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"OntologyObjectSet.d.ts","sourceRoot":"","sources":["../../../src/public/OntologyObjectSet.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,EACV,YAAY,IAAI,UAAU,EAC1B,mBAAmB,IAAI,iBAAiB,EACzC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,sBAAsB,CAAC;AAG9B,OAAO,KAAK,KAAK,WAAW,MAAM,mBAAmB,CAA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IAAI,EAAE;IACP,QAAQ,EAAE,WAAW,CAAC,kBAAkB;IACxC,KAAK,EAAE,WAAW,CAAC,2BAA2B;IAC9C,YAAY,CAAC,EAAE;QACb,aAAa,CAAC,EAAE,WAAW,CAAC,aAAa,GAAG,SAAS,CAAC;QACtD,UAAU,CAAC,EAAE,WAAW,CAAC,UAAU,GAAG,SAAS,CAAC;QAChD,MAAM,CAAC,EAAE,KAAK,CAAC,aAAa,GAAG,SAAS,CAAC;KAC1C;CACF,GACA,OAAO,CAAC,WAAW,CAAC,0BAA0B,CAAC,CAEjD"}
@@ -19,9 +19,6 @@ const _createTemporary = [1, "/v2/ontologies/{0}/objectSets/createTemporary", 1]
19
19
  /**
20
20
  * Creates a temporary `ObjectSet` from the given definition. This `ObjectSet` expires after one hour.
21
21
  *
22
- * Third-party applications using this endpoint via OAuth2 must request the
23
- * following operation scopes: `api:ontologies-read api:ontologies-write`.
24
- *
25
22
  * @beta
26
23
  *
27
24
  * Required Scopes: [api:ontologies-read, api:ontologies-write]
@@ -34,8 +31,6 @@ const _get = [0, "/v2/ontologies/{0}/objectSets/{1}"];
34
31
  /**
35
32
  * Gets the definition of the `ObjectSet` with the given RID.
36
33
  *
37
- * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
38
- *
39
34
  * @alpha
40
35
  *
41
36
  * Required Scopes: []
@@ -55,8 +50,6 @@ const _load = [1, "/v2/ontologies/{0}/objectSets/loadObjects", 3];
55
50
  *
56
51
  * Vector properties will not be returned unless included in the `select` parameter.
57
52
  *
58
- * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
59
- *
60
53
  * @public
61
54
  *
62
55
  * Required Scopes: [api:ontologies-read]
@@ -81,8 +74,6 @@ const _loadMultipleObjectTypes = [1, "/v2/ontologies/{0}/objectSets/loadObjectsM
81
74
  *
82
75
  * Vector properties will not be returned unless included in the `select` parameter.
83
76
  *
84
- * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
85
- *
86
77
  * @beta
87
78
  *
88
79
  * Required Scopes: [api:ontologies-read]
@@ -109,8 +100,6 @@ const _loadObjectsOrInterfaces = [1, "/v2/ontologies/{0}/objectSets/loadObjectsO
109
100
  *
110
101
  * Vector properties will not be returned unless included in the `select` parameter.
111
102
  *
112
- * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
113
- *
114
103
  * @beta
115
104
  *
116
105
  * Required Scopes: [api:ontologies-read]
@@ -123,8 +112,6 @@ const _aggregate = [1, "/v2/ontologies/{0}/objectSets/aggregate", 3];
123
112
  /**
124
113
  * Aggregates the ontology objects present in the `ObjectSet` from the provided object set definition.
125
114
  *
126
- * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
127
- *
128
115
  * @public
129
116
  *
130
117
  * Required Scopes: [api:ontologies-read]
@@ -1 +1 @@
1
- {"version":3,"file":"OntologyObjectSet.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_createTemporary","createTemporary","$ctx","args","_get","get","_load","load","_loadMultipleObjectTypes","loadMultipleObjectTypes","_loadObjectsOrInterfaces","loadObjectsOrInterfaces","_aggregate","aggregate"],"sources":["OntologyObjectSet.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 _createTemporary = [1, \"/v2/ontologies/{0}/objectSets/createTemporary\", 1];\n/**\n * Creates a temporary `ObjectSet` from the given definition. This `ObjectSet` expires after one hour.\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 * @beta\n *\n * Required Scopes: [api:ontologies-read, api:ontologies-write]\n * URL: /v2/ontologies/{ontology}/objectSets/createTemporary\n */\nexport function createTemporary($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _createTemporary, ...args);\n}\nconst _get = [0, \"/v2/ontologies/{0}/objectSets/{1}\"];\n/**\n * Gets the definition of the `ObjectSet` with the given RID.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @alpha\n *\n * Required Scopes: []\n * URL: /v2/ontologies/{ontology}/objectSets/{objectSetRid}\n */\nexport function get($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _get, ...args);\n}\nconst _load = [1, \"/v2/ontologies/{0}/objectSets/loadObjects\", 3];\n/**\n * Load the ontology objects present in the `ObjectSet` from the provided object set definition.\n *\n * For Object Storage V1 backed objects, this endpoint returns a maximum of 10,000 objects. After 10,000 objects have been returned and if more objects\n * are available, attempting to load another page will result in an `ObjectsExceededLimit` error being returned. There is no limit on Object Storage V2 backed objects.\n *\n * Note that null value properties will not be returned.\n *\n * Vector properties will not be returned unless included in the `select` parameter.\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}/objectSets/loadObjects\n */\nexport function load($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _load, ...args);\n}\nconst _loadMultipleObjectTypes = [1, \"/v2/ontologies/{0}/objectSets/loadObjectsMultipleObjectTypes\", 3];\n/**\n * Load the ontology objects present in the `ObjectSet` from the provided object set definition. The resulting\n * objects may be scoped to an object type, in which all the selected properties on the object type are returned, or scoped\n * to an interface, in which only the object type properties that implement the properties of any interfaces in its\n * scope are returned. For objects that are scoped to an interface in the result, a mapping from interface to\n * object implementation is returned in order to interpret the objects as the interfaces that they implement.\n *\n * For Object Storage V1 backed objects, this endpoint returns a maximum of 10,000 objects. After 10,000 objects have been returned and if more objects\n * are available, attempting to load another page will result in an `ObjectsExceededLimit` error being returned. There is no limit on Object Storage V2 backed objects.\n *\n * Note that null value properties will not be returned. In addition, property metadata (rid, apiName, and primaryKey)\n * will be prefixed with '$' instead of '\\_\\_' as is the case in `loadObjects`.\n *\n * Vector properties will not be returned unless included in the `select` parameter.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @beta\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objectSets/loadObjectsMultipleObjectTypes\n */\nexport function loadMultipleObjectTypes($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _loadMultipleObjectTypes, ...args);\n}\nconst _loadObjectsOrInterfaces = [1, \"/v2/ontologies/{0}/objectSets/loadObjectsOrInterfaces\", 3];\n/**\n * Load the ontology objects present in the `ObjectSet` from the provided object set definition. If the requested\n * object set contains interfaces and the object can be viewed as an interface, it will contain the properties\n * defined by the interface. If not, it will contain the properties defined by its object type. This allows directly\n * loading all objects of an interface where all objects are viewed as the interface, for example.\n *\n * Note that the result object set cannot contain a mix of objects with \"interface\" properties and \"object type\"\n * properties. Attempting to load an object set like this will result in an error.\n *\n * For Object Storage V1 backed objects, this endpoint returns a maximum of 10,000 objects. After 10,000 objects have been returned and if more objects\n * are available, attempting to load another page will result in an `ObjectsExceededLimit` error being returned. There is no limit on Object Storage V2 backed objects.\n *\n * Note that null value properties will not be returned. In addition, property metadata (rid, apiName, and primaryKey)\n * will be prefixed with '$' instead of '\\_\\_' as is the case in `/loadObjects`.\n *\n * Vector properties will not be returned unless included in the `select` parameter.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @beta\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objectSets/loadObjectsOrInterfaces\n */\nexport function loadObjectsOrInterfaces($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _loadObjectsOrInterfaces, ...args);\n}\nconst _aggregate = [1, \"/v2/ontologies/{0}/objectSets/aggregate\", 3];\n/**\n * Aggregates the ontology objects present in the `ObjectSet` from the provided object set definition.\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}/objectSets/aggregate\n */\nexport function aggregate($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _aggregate, ...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,gBAAgB,GAAG,CAAC,CAAC,EAAE,+CAA+C,EAAE,CAAC,CAAC;AAChF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,eAAeA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC3C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,gBAAgB,EAAE,GAAGG,IAAI,CAAC;AACjE;AACA,MAAMC,IAAI,GAAG,CAAC,CAAC,EAAE,mCAAmC,CAAC;AACrD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,GAAGA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC/B,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,IAAI,EAAE,GAAGD,IAAI,CAAC;AACrD;AACA,MAAMG,KAAK,GAAG,CAAC,CAAC,EAAE,2CAA2C,EAAE,CAAC,CAAC;AACjE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,IAAIA,CAACL,IAAI,EAAE,GAAGC,IAAI,EAAE;EAChC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEI,KAAK,EAAE,GAAGH,IAAI,CAAC;AACtD;AACA,MAAMK,wBAAwB,GAAG,CAAC,CAAC,EAAE,8DAA8D,EAAE,CAAC,CAAC;AACvG;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,uBAAuBA,CAACP,IAAI,EAAE,GAAGC,IAAI,EAAE;EACnD,OAAOJ,qBAAqB,CAACG,IAAI,EAAEM,wBAAwB,EAAE,GAAGL,IAAI,CAAC;AACzE;AACA,MAAMO,wBAAwB,GAAG,CAAC,CAAC,EAAE,uDAAuD,EAAE,CAAC,CAAC;AAChG;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,uBAAuBA,CAACT,IAAI,EAAE,GAAGC,IAAI,EAAE;EACnD,OAAOJ,qBAAqB,CAACG,IAAI,EAAEQ,wBAAwB,EAAE,GAAGP,IAAI,CAAC;AACzE;AACA,MAAMS,UAAU,GAAG,CAAC,CAAC,EAAE,yCAAyC,EAAE,CAAC,CAAC;AACpE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,SAASA,CAACX,IAAI,EAAE,GAAGC,IAAI,EAAE;EACrC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEU,UAAU,EAAE,GAAGT,IAAI,CAAC;AAC3D","ignoreList":[]}
1
+ {"version":3,"file":"OntologyObjectSet.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_createTemporary","createTemporary","$ctx","args","_get","get","_load","load","_loadMultipleObjectTypes","loadMultipleObjectTypes","_loadObjectsOrInterfaces","loadObjectsOrInterfaces","_aggregate","aggregate"],"sources":["OntologyObjectSet.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 _createTemporary = [1, \"/v2/ontologies/{0}/objectSets/createTemporary\", 1];\n/**\n * Creates a temporary `ObjectSet` from the given definition. This `ObjectSet` expires after one hour.\n *\n * @beta\n *\n * Required Scopes: [api:ontologies-read, api:ontologies-write]\n * URL: /v2/ontologies/{ontology}/objectSets/createTemporary\n */\nexport function createTemporary($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _createTemporary, ...args);\n}\nconst _get = [0, \"/v2/ontologies/{0}/objectSets/{1}\"];\n/**\n * Gets the definition of the `ObjectSet` with the given RID.\n *\n * @alpha\n *\n * Required Scopes: []\n * URL: /v2/ontologies/{ontology}/objectSets/{objectSetRid}\n */\nexport function get($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _get, ...args);\n}\nconst _load = [1, \"/v2/ontologies/{0}/objectSets/loadObjects\", 3];\n/**\n * Load the ontology objects present in the `ObjectSet` from the provided object set definition.\n *\n * For Object Storage V1 backed objects, this endpoint returns a maximum of 10,000 objects. After 10,000 objects have been returned and if more objects\n * are available, attempting to load another page will result in an `ObjectsExceededLimit` error being returned. There is no limit on Object Storage V2 backed objects.\n *\n * Note that null value properties will not be returned.\n *\n * Vector properties will not be returned unless included in the `select` parameter.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objectSets/loadObjects\n */\nexport function load($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _load, ...args);\n}\nconst _loadMultipleObjectTypes = [1, \"/v2/ontologies/{0}/objectSets/loadObjectsMultipleObjectTypes\", 3];\n/**\n * Load the ontology objects present in the `ObjectSet` from the provided object set definition. The resulting\n * objects may be scoped to an object type, in which all the selected properties on the object type are returned, or scoped\n * to an interface, in which only the object type properties that implement the properties of any interfaces in its\n * scope are returned. For objects that are scoped to an interface in the result, a mapping from interface to\n * object implementation is returned in order to interpret the objects as the interfaces that they implement.\n *\n * For Object Storage V1 backed objects, this endpoint returns a maximum of 10,000 objects. After 10,000 objects have been returned and if more objects\n * are available, attempting to load another page will result in an `ObjectsExceededLimit` error being returned. There is no limit on Object Storage V2 backed objects.\n *\n * Note that null value properties will not be returned. In addition, property metadata (rid, apiName, and primaryKey)\n * will be prefixed with '$' instead of '\\_\\_' as is the case in `loadObjects`.\n *\n * Vector properties will not be returned unless included in the `select` parameter.\n *\n * @beta\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objectSets/loadObjectsMultipleObjectTypes\n */\nexport function loadMultipleObjectTypes($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _loadMultipleObjectTypes, ...args);\n}\nconst _loadObjectsOrInterfaces = [1, \"/v2/ontologies/{0}/objectSets/loadObjectsOrInterfaces\", 3];\n/**\n * Load the ontology objects present in the `ObjectSet` from the provided object set definition. If the requested\n * object set contains interfaces and the object can be viewed as an interface, it will contain the properties\n * defined by the interface. If not, it will contain the properties defined by its object type. This allows directly\n * loading all objects of an interface where all objects are viewed as the interface, for example.\n *\n * Note that the result object set cannot contain a mix of objects with \"interface\" properties and \"object type\"\n * properties. Attempting to load an object set like this will result in an error.\n *\n * For Object Storage V1 backed objects, this endpoint returns a maximum of 10,000 objects. After 10,000 objects have been returned and if more objects\n * are available, attempting to load another page will result in an `ObjectsExceededLimit` error being returned. There is no limit on Object Storage V2 backed objects.\n *\n * Note that null value properties will not be returned. In addition, property metadata (rid, apiName, and primaryKey)\n * will be prefixed with '$' instead of '\\_\\_' as is the case in `/loadObjects`.\n *\n * Vector properties will not be returned unless included in the `select` parameter.\n *\n * @beta\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objectSets/loadObjectsOrInterfaces\n */\nexport function loadObjectsOrInterfaces($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _loadObjectsOrInterfaces, ...args);\n}\nconst _aggregate = [1, \"/v2/ontologies/{0}/objectSets/aggregate\", 3];\n/**\n * Aggregates the ontology objects present in the `ObjectSet` from the provided object set definition.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objectSets/aggregate\n */\nexport function aggregate($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _aggregate, ...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,gBAAgB,GAAG,CAAC,CAAC,EAAE,+CAA+C,EAAE,CAAC,CAAC;AAChF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,eAAeA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC3C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,gBAAgB,EAAE,GAAGG,IAAI,CAAC;AACjE;AACA,MAAMC,IAAI,GAAG,CAAC,CAAC,EAAE,mCAAmC,CAAC;AACrD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,GAAGA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC/B,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,IAAI,EAAE,GAAGD,IAAI,CAAC;AACrD;AACA,MAAMG,KAAK,GAAG,CAAC,CAAC,EAAE,2CAA2C,EAAE,CAAC,CAAC;AACjE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,IAAIA,CAACL,IAAI,EAAE,GAAGC,IAAI,EAAE;EAChC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEI,KAAK,EAAE,GAAGH,IAAI,CAAC;AACtD;AACA,MAAMK,wBAAwB,GAAG,CAAC,CAAC,EAAE,8DAA8D,EAAE,CAAC,CAAC;AACvG;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,uBAAuBA,CAACP,IAAI,EAAE,GAAGC,IAAI,EAAE;EACnD,OAAOJ,qBAAqB,CAACG,IAAI,EAAEM,wBAAwB,EAAE,GAAGL,IAAI,CAAC;AACzE;AACA,MAAMO,wBAAwB,GAAG,CAAC,CAAC,EAAE,uDAAuD,EAAE,CAAC,CAAC;AAChG;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,uBAAuBA,CAACT,IAAI,EAAE,GAAGC,IAAI,EAAE;EACnD,OAAOJ,qBAAqB,CAACG,IAAI,EAAEQ,wBAAwB,EAAE,GAAGP,IAAI,CAAC;AACzE;AACA,MAAMS,UAAU,GAAG,CAAC,CAAC,EAAE,yCAAyC,EAAE,CAAC,CAAC;AACpE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,SAASA,CAACX,IAAI,EAAE,GAAGC,IAAI,EAAE;EACrC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEU,UAAU,EAAE,GAAGT,IAAI,CAAC;AAC3D","ignoreList":[]}
@@ -17,8 +17,6 @@ import type * as _Ontologies from "../_components.js";
17
17
  *
18
18
  * Note that null value properties will not be returned.
19
19
  *
20
- * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
21
- *
22
20
  * @public
23
21
  *
24
22
  * Required Scopes: [api:ontologies-read]
@@ -32,17 +30,16 @@ export declare function list($ctx: $Client | $ClientContext | $OldClient | $OldC
32
30
  pageToken?: _Core.PageToken | undefined;
33
31
  select: Array<_Ontologies.SelectedPropertyApiName>;
34
32
  orderBy?: _Ontologies.OrderBy | undefined;
35
- artifactRepository?: _Ontologies.ArtifactRepositoryRid | undefined;
36
- packageName?: _Ontologies.SdkPackageName | undefined;
33
+ sdkPackageRid?: _Ontologies.SdkPackageRid | undefined;
34
+ sdkVersion?: _Ontologies.SdkVersion | undefined;
37
35
  excludeRid?: boolean | undefined;
38
36
  snapshot?: boolean | undefined;
37
+ branch?: _Core.FoundryBranch | undefined;
39
38
  }
40
39
  ]): Promise<_Ontologies.ListObjectsResponseV2>;
41
40
  /**
42
41
  * Gets a specific object with the given primary key.
43
42
  *
44
- * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
45
- *
46
43
  * @public
47
44
  *
48
45
  * Required Scopes: [api:ontologies-read]
@@ -57,13 +54,12 @@ export declare function get($ctx: $Client | $ClientContext | $OldClient | $OldCl
57
54
  sdkPackageRid?: _Ontologies.SdkPackageRid | undefined;
58
55
  sdkVersion?: _Ontologies.SdkVersion | undefined;
59
56
  excludeRid?: boolean | undefined;
57
+ branch?: _Core.FoundryBranch | undefined;
60
58
  }
61
59
  ]): Promise<_Ontologies.OntologyObjectV2>;
62
60
  /**
63
61
  * Returns a count of the objects of the given object type.
64
62
  *
65
- * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
66
- *
67
63
  * @alpha
68
64
  *
69
65
  * Required Scopes: [api:ontologies-read]
@@ -73,8 +69,9 @@ export declare function count($ctx: $Client | $ClientContext | $OldClient | $Old
73
69
  ontology: _Ontologies.OntologyIdentifier,
74
70
  objectType: _Ontologies.ObjectTypeApiName,
75
71
  $queryParams?: {
76
- artifactRepository?: _Ontologies.ArtifactRepositoryRid | undefined;
77
- packageName?: _Ontologies.SdkPackageName | undefined;
72
+ sdkPackageRid?: _Ontologies.SdkPackageRid | undefined;
73
+ sdkVersion?: _Ontologies.SdkVersion | undefined;
74
+ branch?: _Core.FoundryBranch | undefined;
78
75
  }
79
76
  ]): Promise<_Ontologies.CountObjectsResponseV2>;
80
77
  /**
@@ -102,8 +99,6 @@ export declare function count($ctx: $Client | $ClientContext | $OldClient | $Old
102
99
  * Queries can be at most three levels deep. By default, terms are separated by whitespace or punctuation (`?!,:;-[](){}'"~`). Periods (`.`) on their own are ignored.
103
100
  * Partial terms are not matched by terms filters except where explicitly noted.
104
101
  *
105
- * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
106
- *
107
102
  * @public
108
103
  *
109
104
  * Required Scopes: [api:ontologies-read]
@@ -114,15 +109,14 @@ export declare function search($ctx: $Client | $ClientContext | $OldClient | $Ol
114
109
  objectType: _Ontologies.ObjectTypeApiName,
115
110
  $body: _Ontologies.SearchObjectsRequestV2,
116
111
  $queryParams?: {
117
- artifactRepository?: _Ontologies.ArtifactRepositoryRid | undefined;
118
- packageName?: _Ontologies.SdkPackageName | undefined;
112
+ sdkPackageRid?: _Ontologies.SdkPackageRid | undefined;
113
+ sdkVersion?: _Ontologies.SdkVersion | undefined;
114
+ branch?: _Core.FoundryBranch | undefined;
119
115
  }
120
116
  ]): Promise<_Ontologies.SearchObjectsResponseV2>;
121
117
  /**
122
118
  * Perform functions on object fields in the specified ontology and object type.
123
119
  *
124
- * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
125
- *
126
120
  * @public
127
121
  *
128
122
  * Required Scopes: [api:ontologies-read]
@@ -133,8 +127,9 @@ export declare function aggregate($ctx: $Client | $ClientContext | $OldClient |
133
127
  objectType: _Ontologies.ObjectTypeApiName,
134
128
  $body: _Ontologies.AggregateObjectsRequestV2,
135
129
  $queryParams?: {
136
- artifactRepository?: _Ontologies.ArtifactRepositoryRid | undefined;
137
- packageName?: _Ontologies.SdkPackageName | undefined;
130
+ sdkPackageRid?: _Ontologies.SdkPackageRid | undefined;
131
+ sdkVersion?: _Ontologies.SdkVersion | undefined;
132
+ branch?: _Core.FoundryBranch | undefined;
138
133
  }
139
134
  ]): Promise<_Ontologies.AggregateObjectsResponseV2>;
140
135
  //# sourceMappingURL=OntologyObjectV2.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"OntologyObjectV2.d.ts","sourceRoot":"","sources":["../../../src/public/OntologyObjectV2.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,EACV,YAAY,IAAI,UAAU,EAC1B,mBAAmB,IAAI,iBAAiB,EACzC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,sBAAsB,CAAC;AAG9B,OAAO,KAAK,KAAK,WAAW,MAAM,mBAAmB,CAAC;AAqBtD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,IAAI,CAClB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,WAAW,CAAC,kBAAkB;IACxC,UAAU,EAAE,WAAW,CAAC,iBAAiB;IAEzC,YAAY,EAAE;QACZ,QAAQ,CAAC,EAAE,KAAK,CAAC,QAAQ,GAAG,SAAS,CAAC;QACtC,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,SAAS,CAAC;QACxC,MAAM,EAAE,KAAK,CAAC,WAAW,CAAC,uBAAuB,CAAC,CAAC;QACnD,OAAO,CAAC,EAAE,WAAW,CAAC,OAAO,GAAG,SAAS,CAAC;QAC1C,kBAAkB,CAAC,EAAE,WAAW,CAAC,qBAAqB,GAAG,SAAS,CAAC;QACnE,WAAW,CAAC,EAAE,WAAW,CAAC,cAAc,GAAG,SAAS,CAAC;QACrD,UAAU,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;QACjC,QAAQ,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;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;IACP,QAAQ,EAAE,WAAW,CAAC,kBAAkB;IACxC,UAAU,EAAE,WAAW,CAAC,iBAAiB;IACzC,KAAK,EAAE,WAAW,CAAC,yBAAyB;IAC5C,YAAY,CAAC,EAAE;QACb,aAAa,CAAC,EAAE,WAAW,CAAC,aAAa,GAAG,SAAS,CAAC;QACtD,UAAU,CAAC,EAAE,WAAW,CAAC,UAAU,GAAG,SAAS,CAAC;QAChD,MAAM,CAAC,EAAE,KAAK,CAAC,aAAa,GAAG,SAAS,CAAC;KAC1C;CACF,GACA,OAAO,CAAC,WAAW,CAAC,0BAA0B,CAAC,CAEjD"}
@@ -31,8 +31,6 @@ const _list = [0, "/v2/ontologies/{0}/objects/{1}", 2];
31
31
  *
32
32
  * Note that null value properties will not be returned.
33
33
  *
34
- * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
35
- *
36
34
  * @public
37
35
  *
38
36
  * Required Scopes: [api:ontologies-read]
@@ -45,8 +43,6 @@ const _get = [0, "/v2/ontologies/{0}/objects/{1}/{2}", 2];
45
43
  /**
46
44
  * Gets a specific object with the given primary key.
47
45
  *
48
- * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
49
- *
50
46
  * @public
51
47
  *
52
48
  * Required Scopes: [api:ontologies-read]
@@ -59,8 +55,6 @@ const _count = [1, "/v2/ontologies/{0}/objects/{1}/count", 2];
59
55
  /**
60
56
  * Returns a count of the objects of the given object type.
61
57
  *
62
- * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
63
- *
64
58
  * @alpha
65
59
  *
66
60
  * Required Scopes: [api:ontologies-read]
@@ -95,8 +89,6 @@ const _search = [1, "/v2/ontologies/{0}/objects/{1}/search", 3];
95
89
  * Queries can be at most three levels deep. By default, terms are separated by whitespace or punctuation (`?!,:;-[](){}'"~`). Periods (`.`) on their own are ignored.
96
90
  * Partial terms are not matched by terms filters except where explicitly noted.
97
91
  *
98
- * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
99
- *
100
92
  * @public
101
93
  *
102
94
  * Required Scopes: [api:ontologies-read]
@@ -109,8 +101,6 @@ const _aggregate = [1, "/v2/ontologies/{0}/objects/{1}/aggregate", 3];
109
101
  /**
110
102
  * Perform functions on object fields in the specified ontology and object type.
111
103
  *
112
- * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
113
- *
114
104
  * @public
115
105
  *
116
106
  * Required Scopes: [api:ontologies-read]
@@ -1 +1 @@
1
- {"version":3,"file":"OntologyObjectV2.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_list","list","$ctx","args","_get","get","_count","count","_search","search","_aggregate","aggregate"],"sources":["OntologyObjectV2.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 _list = [0, \"/v2/ontologies/{0}/objects/{1}\", 2];\n/**\n * Lists the objects for the given Ontology and object type.\n *\n * Note that this endpoint does not guarantee consistency. Changes to the data could result in missing or\n * repeated objects in the response pages.\n *\n * For Object Storage V1 backed objects, this endpoint returns a maximum of 10,000 objects. After 10,000 objects have been returned and if more objects\n * are available, attempting to load another page will result in an `ObjectsExceededLimit` error being returned. There is no limit on Object Storage V2 backed objects.\n *\n * Each page may be smaller or larger than the requested page size. However, it\n * is guaranteed that if there are more results available, at least one result will be present\n * in the response.\n *\n * Note that null value properties will not be returned.\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}/objects/{objectType}\n */\nexport function list($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _list, ...args);\n}\nconst _get = [0, \"/v2/ontologies/{0}/objects/{1}/{2}\", 2];\n/**\n * Gets a specific object with the given primary key.\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}/objects/{objectType}/{primaryKey}\n */\nexport function get($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _get, ...args);\n}\nconst _count = [1, \"/v2/ontologies/{0}/objects/{1}/count\", 2];\n/**\n * Returns a count of the objects of the given object type.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objects/{objectType}/count\n */\nexport function count($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _count, ...args);\n}\nconst _search = [1, \"/v2/ontologies/{0}/objects/{1}/search\", 3];\n/**\n * Search for objects in the specified ontology and object type. The request body is used\n * to filter objects based on the specified query. The supported queries are:\n *\n * | Query type | Description | Supported Types |\n * |-----------------------------------------|-------------------------------------------------------------------------------------------------------------------|---------------------------------|\n * | lt | The provided property is less than the provided value. | number, string, date, timestamp |\n * | gt | The provided property is greater than the provided value. | number, string, date, timestamp |\n * | lte | The provided property is less than or equal to the provided value. | number, string, date, timestamp |\n * | gte | The provided property is greater than or equal to the provided value. | number, string, date, timestamp |\n * | eq | The provided property is exactly equal to the provided value. | number, string, date, timestamp |\n * | isNull | The provided property is (or is not) null. | all |\n * | contains | The provided property contains the provided value. | array |\n * | not | The sub-query does not match. | N/A (applied on a query) |\n * | and | All the sub-queries match. | N/A (applied on queries) |\n * | or | At least one of the sub-queries match. | N/A (applied on queries) |\n * | containsAllTermsInOrderPrefixLastTerm | The provided property contains all the terms provided in order. The last term can be a partial prefix match. | string |\n * | containsAllTermsInOrder | The provided property contains the provided term as a substring. | string |\n * | containsAnyTerm | The provided property contains at least one of the terms separated by whitespace. | string |\n * | containsAllTerms | The provided property contains all the terms separated by whitespace. | string |\n * | startsWith | Deprecated alias for containsAllTermsInOrderPrefixLastTerm. | string |\n *\n * Queries can be at most three levels deep. By default, terms are separated by whitespace or punctuation (`?!,:;-[](){}'\"~`). Periods (`.`) on their own are ignored.\n * Partial terms are not matched by terms filters except where explicitly noted.\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}/objects/{objectType}/search\n */\nexport function search($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _search, ...args);\n}\nconst _aggregate = [1, \"/v2/ontologies/{0}/objects/{1}/aggregate\", 3];\n/**\n * Perform functions on object fields in the specified ontology and object type.\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}/objects/{objectType}/aggregate\n */\nexport function aggregate($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _aggregate, ...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,KAAK,GAAG,CAAC,CAAC,EAAE,gCAAgC,EAAE,CAAC,CAAC;AACtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,IAAIA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAChC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,KAAK,EAAE,GAAGG,IAAI,CAAC;AACtD;AACA,MAAMC,IAAI,GAAG,CAAC,CAAC,EAAE,oCAAoC,EAAE,CAAC,CAAC;AACzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,GAAGA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC/B,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,IAAI,EAAE,GAAGD,IAAI,CAAC;AACrD;AACA,MAAMG,MAAM,GAAG,CAAC,CAAC,EAAE,sCAAsC,EAAE,CAAC,CAAC;AAC7D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,KAAKA,CAACL,IAAI,EAAE,GAAGC,IAAI,EAAE;EACjC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEI,MAAM,EAAE,GAAGH,IAAI,CAAC;AACvD;AACA,MAAMK,OAAO,GAAG,CAAC,CAAC,EAAE,uCAAuC,EAAE,CAAC,CAAC;AAC/D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,MAAMA,CAACP,IAAI,EAAE,GAAGC,IAAI,EAAE;EAClC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEM,OAAO,EAAE,GAAGL,IAAI,CAAC;AACxD;AACA,MAAMO,UAAU,GAAG,CAAC,CAAC,EAAE,0CAA0C,EAAE,CAAC,CAAC;AACrE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,SAASA,CAACT,IAAI,EAAE,GAAGC,IAAI,EAAE;EACrC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEQ,UAAU,EAAE,GAAGP,IAAI,CAAC;AAC3D","ignoreList":[]}
1
+ {"version":3,"file":"OntologyObjectV2.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_list","list","$ctx","args","_get","get","_count","count","_search","search","_aggregate","aggregate"],"sources":["OntologyObjectV2.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 _list = [0, \"/v2/ontologies/{0}/objects/{1}\", 2];\n/**\n * Lists the objects for the given Ontology and object type.\n *\n * Note that this endpoint does not guarantee consistency. Changes to the data could result in missing or\n * repeated objects in the response pages.\n *\n * For Object Storage V1 backed objects, this endpoint returns a maximum of 10,000 objects. After 10,000 objects have been returned and if more objects\n * are available, attempting to load another page will result in an `ObjectsExceededLimit` error being returned. There is no limit on Object Storage V2 backed objects.\n *\n * Each page may be smaller or larger than the requested page size. However, it\n * is guaranteed that if there are more results available, at least one result will be present\n * in the response.\n *\n * Note that null value properties will not be returned.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objects/{objectType}\n */\nexport function list($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _list, ...args);\n}\nconst _get = [0, \"/v2/ontologies/{0}/objects/{1}/{2}\", 2];\n/**\n * Gets a specific object with the given primary key.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}\n */\nexport function get($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _get, ...args);\n}\nconst _count = [1, \"/v2/ontologies/{0}/objects/{1}/count\", 2];\n/**\n * Returns a count of the objects of the given object type.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objects/{objectType}/count\n */\nexport function count($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _count, ...args);\n}\nconst _search = [1, \"/v2/ontologies/{0}/objects/{1}/search\", 3];\n/**\n * Search for objects in the specified ontology and object type. The request body is used\n * to filter objects based on the specified query. The supported queries are:\n *\n * | Query type | Description | Supported Types |\n * |-----------------------------------------|-------------------------------------------------------------------------------------------------------------------|---------------------------------|\n * | lt | The provided property is less than the provided value. | number, string, date, timestamp |\n * | gt | The provided property is greater than the provided value. | number, string, date, timestamp |\n * | lte | The provided property is less than or equal to the provided value. | number, string, date, timestamp |\n * | gte | The provided property is greater than or equal to the provided value. | number, string, date, timestamp |\n * | eq | The provided property is exactly equal to the provided value. | number, string, date, timestamp |\n * | isNull | The provided property is (or is not) null. | all |\n * | contains | The provided property contains the provided value. | array |\n * | not | The sub-query does not match. | N/A (applied on a query) |\n * | and | All the sub-queries match. | N/A (applied on queries) |\n * | or | At least one of the sub-queries match. | N/A (applied on queries) |\n * | containsAllTermsInOrderPrefixLastTerm | The provided property contains all the terms provided in order. The last term can be a partial prefix match. | string |\n * | containsAllTermsInOrder | The provided property contains the provided term as a substring. | string |\n * | containsAnyTerm | The provided property contains at least one of the terms separated by whitespace. | string |\n * | containsAllTerms | The provided property contains all the terms separated by whitespace. | string |\n * | startsWith | Deprecated alias for containsAllTermsInOrderPrefixLastTerm. | string |\n *\n * Queries can be at most three levels deep. By default, terms are separated by whitespace or punctuation (`?!,:;-[](){}'\"~`). Periods (`.`) on their own are ignored.\n * Partial terms are not matched by terms filters except where explicitly noted.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objects/{objectType}/search\n */\nexport function search($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _search, ...args);\n}\nconst _aggregate = [1, \"/v2/ontologies/{0}/objects/{1}/aggregate\", 3];\n/**\n * Perform functions on object fields in the specified ontology and object type.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objects/{objectType}/aggregate\n */\nexport function aggregate($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _aggregate, ...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,KAAK,GAAG,CAAC,CAAC,EAAE,gCAAgC,EAAE,CAAC,CAAC;AACtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,IAAIA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAChC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,KAAK,EAAE,GAAGG,IAAI,CAAC;AACtD;AACA,MAAMC,IAAI,GAAG,CAAC,CAAC,EAAE,oCAAoC,EAAE,CAAC,CAAC;AACzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,GAAGA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC/B,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,IAAI,EAAE,GAAGD,IAAI,CAAC;AACrD;AACA,MAAMG,MAAM,GAAG,CAAC,CAAC,EAAE,sCAAsC,EAAE,CAAC,CAAC;AAC7D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,KAAKA,CAACL,IAAI,EAAE,GAAGC,IAAI,EAAE;EACjC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEI,MAAM,EAAE,GAAGH,IAAI,CAAC;AACvD;AACA,MAAMK,OAAO,GAAG,CAAC,CAAC,EAAE,uCAAuC,EAAE,CAAC,CAAC;AAC/D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,MAAMA,CAACP,IAAI,EAAE,GAAGC,IAAI,EAAE;EAClC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEM,OAAO,EAAE,GAAGL,IAAI,CAAC;AACxD;AACA,MAAMO,UAAU,GAAG,CAAC,CAAC,EAAE,0CAA0C,EAAE,CAAC,CAAC;AACrE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,SAASA,CAACT,IAAI,EAAE,GAAGC,IAAI,EAAE;EACrC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEQ,UAAU,EAAE,GAAGP,IAAI,CAAC;AAC3D","ignoreList":[]}
@@ -0,0 +1,17 @@
1
+ import type { SharedClient as $OldClient, SharedClientContext as $OldClientContext } from "@osdk/shared.client";
2
+ import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client2";
3
+ import type * as _Ontologies from "../_components.js";
4
+ /**
5
+ * Applies a set of edits to a transaction in order.
6
+ *
7
+ * @alpha
8
+ *
9
+ * Required Scopes: [api:ontologies-read]
10
+ * URL: /v2/ontologies/{ontology}/transactions/{transactionRid}/edits
11
+ */
12
+ export declare function postEdits($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
13
+ ontology: _Ontologies.OntologyIdentifier,
14
+ transactionRid: _Ontologies.OntologyTransactionRid,
15
+ $body: _Ontologies.PostTransactionEditsRequest
16
+ ]): Promise<_Ontologies.PostTransactionEditsResponse>;
17
+ //# sourceMappingURL=OntologyTransaction.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OntologyTransaction.d.ts","sourceRoot":"","sources":["../../../src/public/OntologyTransaction.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EACV,YAAY,IAAI,UAAU,EAC1B,mBAAmB,IAAI,iBAAiB,EACzC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,sBAAsB,CAAC;AAG9B,OAAO,KAAK,KAAK,WAAW,MAAM,mBAAmB,CAAC;AAYtD;;;;;;;GAOG;AACH,wBAAgB,SAAS,CACvB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,WAAW,CAAC,kBAAkB;IACxC,cAAc,EAAE,WAAW,CAAC,sBAAsB;IAClD,KAAK,EAAE,WAAW,CAAC,2BAA2B;CAC/C,GACA,OAAO,CAAC,WAAW,CAAC,4BAA4B,CAAC,CAEnD"}
@@ -0,0 +1,30 @@
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 _postEdits = [1, "/v2/ontologies/{0}/transactions/{1}/edits", 1];
19
+ /**
20
+ * Applies a set of edits to a transaction in order.
21
+ *
22
+ * @alpha
23
+ *
24
+ * Required Scopes: [api:ontologies-read]
25
+ * URL: /v2/ontologies/{ontology}/transactions/{transactionRid}/edits
26
+ */
27
+ export function postEdits($ctx, ...args) {
28
+ return $foundryPlatformFetch($ctx, _postEdits, ...args);
29
+ }
30
+ //# sourceMappingURL=OntologyTransaction.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OntologyTransaction.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_postEdits","postEdits","$ctx","args"],"sources":["OntologyTransaction.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 _postEdits = [1, \"/v2/ontologies/{0}/transactions/{1}/edits\", 1];\n/**\n * Applies a set of edits to a transaction in order.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/transactions/{transactionRid}/edits\n */\nexport function postEdits($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _postEdits, ...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,UAAU,GAAG,CAAC,CAAC,EAAE,2CAA2C,EAAE,CAAC,CAAC;AACtE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,SAASA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EACrC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,UAAU,EAAE,GAAGG,IAAI,CAAC;AAC3D","ignoreList":[]}
@@ -5,8 +5,6 @@ import type * as _Ontologies from "../_components.js";
5
5
  /**
6
6
  * Lists the Ontologies visible to the current user.
7
7
  *
8
- * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
9
- *
10
8
  * @public
11
9
  *
12
10
  * Required Scopes: [api:ontologies-read]
@@ -16,8 +14,6 @@ export declare function list($ctx: $Client | $ClientContext | $OldClient | $OldC
16
14
  /**
17
15
  * Gets a specific ontology with the given Ontology RID.
18
16
  *
19
- * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
20
- *
21
17
  * @public
22
18
  *
23
19
  * Required Scopes: [api:ontologies-read]
@@ -1 +1 @@
1
- {"version":3,"file":"OntologyV2.d.ts","sourceRoot":"","sources":["../../../src/public/OntologyV2.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,EACV,YAAY,IAAI,UAAU,EAC1B,mBAAmB,IAAI,iBAAiB,EACzC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,sBAAsB,CAAC;AAG9B,OAAO,KAAK,KAAK,WAAW,MAAM,mBAAmB,CAAC;AAQtD;;;;;;;;;GASG;AACH,wBAAgB,IAAI,CAClB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE,EAAE,GACV,OAAO,CAAC,WAAW,CAAC,wBAAwB,CAAC,CAE/C;AAMD;;;;;;;;;GASG;AACH,wBAAgB,GAAG,CACjB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE,CAAC,QAAQ,EAAE,WAAW,CAAC,kBAAkB,CAAC,GAClD,OAAO,CAAC,WAAW,CAAC,UAAU,CAAC,CAEjC;AASD;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAC7B,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,WAAW,CAAC,kBAAkB;IAExC,YAAY,CAAC,EAAE;QAAE,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,EAAE,WAAW,CAAC,kBAAkB,CAAC,GAClD,OAAO,CAAC,WAAW,CAAC,UAAU,CAAC,CAEjC;AASD;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAC7B,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,WAAW,CAAC,kBAAkB;IAExC,YAAY,CAAC,EAAE;QAAE,MAAM,CAAC,EAAE,KAAK,CAAC,aAAa,GAAG,SAAS,CAAA;KAAE;CAC5D,GACA,OAAO,CAAC,WAAW,CAAC,oBAAoB,CAAC,CAE3C;AAaD;;;;;;;GAOG;AACH,wBAAgB,YAAY,CAC1B,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,WAAW,CAAC,kBAAkB;IACxC,KAAK,EAAE,WAAW,CAAC,2BAA2B;IAC9C,YAAY,CAAC,EAAE;QACb,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAC;QACxC,MAAM,CAAC,EAAE,KAAK,CAAC,aAAa,GAAG,SAAS,CAAC;KAC1C;CACF,GACA,OAAO,CAAC,WAAW,CAAC,oBAAoB,CAAC,CAE3C"}
@@ -19,8 +19,6 @@ const _list = [0, "/v2/ontologies"];
19
19
  /**
20
20
  * Lists the Ontologies visible to the current user.
21
21
  *
22
- * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
23
- *
24
22
  * @public
25
23
  *
26
24
  * Required Scopes: [api:ontologies-read]
@@ -33,8 +31,6 @@ const _get = [0, "/v2/ontologies/{0}"];
33
31
  /**
34
32
  * Gets a specific ontology with the given Ontology RID.
35
33
  *
36
- * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
37
- *
38
34
  * @public
39
35
  *
40
36
  * Required Scopes: [api:ontologies-read]
@@ -1 +1 @@
1
- {"version":3,"file":"OntologyV2.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_list","list","$ctx","args","_get","get","_getFullMetadata","getFullMetadata","_loadMetadata","loadMetadata"],"sources":["OntologyV2.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 _list = [0, \"/v2/ontologies\"];\n/**\n * Lists the Ontologies visible to the current user.\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\n */\nexport function list($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _list, ...args);\n}\nconst _get = [0, \"/v2/ontologies/{0}\"];\n/**\n * Gets a specific ontology with the given Ontology RID.\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}\n */\nexport function get($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _get, ...args);\n}\nconst _getFullMetadata = [0, \"/v2/ontologies/{0}/fullMetadata\", 2];\n/**\n * Get the full Ontology metadata. This includes the objects, links, actions, queries, and interfaces.\n *\n * @beta\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/fullMetadata\n */\nexport function getFullMetadata($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getFullMetadata, ...args);\n}\nconst _loadMetadata = [1, \"/v2/ontologies/{0}/metadata\", 3];\n/**\n * Load Ontology metadata for the requested object, link, action, query, and interface types.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/metadata\n */\nexport function loadMetadata($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _loadMetadata, ...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,KAAK,GAAG,CAAC,CAAC,EAAE,gBAAgB,CAAC;AACnC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,IAAIA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAChC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,KAAK,EAAE,GAAGG,IAAI,CAAC;AACtD;AACA,MAAMC,IAAI,GAAG,CAAC,CAAC,EAAE,oBAAoB,CAAC;AACtC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,GAAGA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC/B,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,IAAI,EAAE,GAAGD,IAAI,CAAC;AACrD;AACA,MAAMG,gBAAgB,GAAG,CAAC,CAAC,EAAE,iCAAiC,EAAE,CAAC,CAAC;AAClE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,eAAeA,CAACL,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC3C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEI,gBAAgB,EAAE,GAAGH,IAAI,CAAC;AACjE;AACA,MAAMK,aAAa,GAAG,CAAC,CAAC,EAAE,6BAA6B,EAAE,CAAC,CAAC;AAC3D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,YAAYA,CAACP,IAAI,EAAE,GAAGC,IAAI,EAAE;EACxC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEM,aAAa,EAAE,GAAGL,IAAI,CAAC;AAC9D","ignoreList":[]}
1
+ {"version":3,"file":"OntologyV2.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_list","list","$ctx","args","_get","get","_getFullMetadata","getFullMetadata","_loadMetadata","loadMetadata"],"sources":["OntologyV2.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 _list = [0, \"/v2/ontologies\"];\n/**\n * Lists the Ontologies visible to the current user.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies\n */\nexport function list($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _list, ...args);\n}\nconst _get = [0, \"/v2/ontologies/{0}\"];\n/**\n * Gets a specific ontology with the given Ontology RID.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}\n */\nexport function get($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _get, ...args);\n}\nconst _getFullMetadata = [0, \"/v2/ontologies/{0}/fullMetadata\", 2];\n/**\n * Get the full Ontology metadata. This includes the objects, links, actions, queries, and interfaces.\n *\n * @beta\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/fullMetadata\n */\nexport function getFullMetadata($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getFullMetadata, ...args);\n}\nconst _loadMetadata = [1, \"/v2/ontologies/{0}/metadata\", 3];\n/**\n * Load Ontology metadata for the requested object, link, action, query, and interface types.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/metadata\n */\nexport function loadMetadata($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _loadMetadata, ...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,KAAK,GAAG,CAAC,CAAC,EAAE,gBAAgB,CAAC;AACnC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,IAAIA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAChC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,KAAK,EAAE,GAAGG,IAAI,CAAC;AACtD;AACA,MAAMC,IAAI,GAAG,CAAC,CAAC,EAAE,oBAAoB,CAAC;AACtC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,GAAGA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC/B,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,IAAI,EAAE,GAAGD,IAAI,CAAC;AACrD;AACA,MAAMG,gBAAgB,GAAG,CAAC,CAAC,EAAE,iCAAiC,EAAE,CAAC,CAAC;AAClE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,eAAeA,CAACL,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC3C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEI,gBAAgB,EAAE,GAAGH,IAAI,CAAC;AACjE;AACA,MAAMK,aAAa,GAAG,CAAC,CAAC,EAAE,6BAA6B,EAAE,CAAC,CAAC;AAC3D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,YAAYA,CAACP,IAAI,EAAE,GAAGC,IAAI,EAAE;EACxC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEM,aAAa,EAAE,GAAGL,IAAI,CAAC;AAC9D","ignoreList":[]}
@@ -0,0 +1,34 @@
1
+ import type * as _Core from "@osdk/foundry.core";
2
+ import type { SharedClient as $OldClient, SharedClientContext as $OldClientContext } from "@osdk/shared.client";
3
+ import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client2";
4
+ import type * as _Ontologies from "../_components.js";
5
+ /**
6
+ * Gets a specific value type with the given API name.
7
+ *
8
+ * @alpha
9
+ *
10
+ * Required Scopes: [api:ontologies-read]
11
+ * URL: /v2/ontologies/{ontology}/valueTypes/{valueType}
12
+ */
13
+ export declare function get($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
14
+ ontology: _Ontologies.OntologyIdentifier,
15
+ valueType: _Ontologies.ValueTypeApiName,
16
+ $queryParams?: {
17
+ preview?: _Core.PreviewMode | undefined;
18
+ }
19
+ ]): Promise<_Ontologies.OntologyValueType>;
20
+ /**
21
+ * Lists the latest versions of the value types for the given Ontology.
22
+ *
23
+ * @alpha
24
+ *
25
+ * Required Scopes: [api:ontologies-read]
26
+ * URL: /v2/ontologies/{ontology}/valueTypes
27
+ */
28
+ export declare function list($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
29
+ ontology: _Ontologies.OntologyIdentifier,
30
+ $queryParams?: {
31
+ preview?: _Core.PreviewMode | undefined;
32
+ }
33
+ ]): Promise<_Ontologies.ListOntologyValueTypesResponse>;
34
+ //# sourceMappingURL=OntologyValueType.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OntologyValueType.d.ts","sourceRoot":"","sources":["../../../src/public/OntologyValueType.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,EACV,YAAY,IAAI,UAAU,EAC1B,mBAAmB,IAAI,iBAAiB,EACzC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,sBAAsB,CAAC;AAG9B,OAAO,KAAK,KAAK,WAAW,MAAM,mBAAmB,CAAC;AAYtD;;;;;;;GAOG;AACH,wBAAgB,GAAG,CACjB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,WAAW,CAAC,kBAAkB;IACxC,SAAS,EAAE,WAAW,CAAC,gBAAgB;IAEvC,YAAY,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAA;KAAE;CAC3D,GACA,OAAO,CAAC,WAAW,CAAC,iBAAiB,CAAC,CAExC;AASD;;;;;;;GAOG;AACH,wBAAgB,IAAI,CAClB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,WAAW,CAAC,kBAAkB;IAExC,YAAY,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAA;KAAE;CAC3D,GACA,OAAO,CAAC,WAAW,CAAC,8BAA8B,CAAC,CAErD"}
@@ -0,0 +1,42 @@
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 _get = [0, "/v2/ontologies/{0}/valueTypes/{1}", 2];
19
+ /**
20
+ * Gets a specific value type with the given API name.
21
+ *
22
+ * @alpha
23
+ *
24
+ * Required Scopes: [api:ontologies-read]
25
+ * URL: /v2/ontologies/{ontology}/valueTypes/{valueType}
26
+ */
27
+ export function get($ctx, ...args) {
28
+ return $foundryPlatformFetch($ctx, _get, ...args);
29
+ }
30
+ const _list = [0, "/v2/ontologies/{0}/valueTypes", 2];
31
+ /**
32
+ * Lists the latest versions of the value types for the given Ontology.
33
+ *
34
+ * @alpha
35
+ *
36
+ * Required Scopes: [api:ontologies-read]
37
+ * URL: /v2/ontologies/{ontology}/valueTypes
38
+ */
39
+ export function list($ctx, ...args) {
40
+ return $foundryPlatformFetch($ctx, _list, ...args);
41
+ }
42
+ //# sourceMappingURL=OntologyValueType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OntologyValueType.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_get","get","$ctx","args","_list","list"],"sources":["OntologyValueType.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 _get = [0, \"/v2/ontologies/{0}/valueTypes/{1}\", 2];\n/**\n * Gets a specific value type with the given API name.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/valueTypes/{valueType}\n */\nexport function get($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _get, ...args);\n}\nconst _list = [0, \"/v2/ontologies/{0}/valueTypes\", 2];\n/**\n * Lists the latest versions of the value types for the given Ontology.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/valueTypes\n */\nexport function list($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _list, ...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,IAAI,GAAG,CAAC,CAAC,EAAE,mCAAmC,EAAE,CAAC,CAAC;AACxD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,GAAGA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC/B,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,IAAI,EAAE,GAAGG,IAAI,CAAC;AACrD;AACA,MAAMC,KAAK,GAAG,CAAC,CAAC,EAAE,+BAA+B,EAAE,CAAC,CAAC;AACrD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,IAAIA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EAChC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,KAAK,EAAE,GAAGD,IAAI,CAAC;AACtD","ignoreList":[]}