@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.
- package/CHANGELOG.md +26 -0
- package/build/browser/_components.d.ts +315 -4
- package/build/browser/_components.d.ts.map +1 -1
- package/build/browser/_errors.d.ts +64 -0
- package/build/browser/_errors.d.ts.map +1 -1
- package/build/browser/index.d.ts +4 -2
- package/build/browser/index.d.ts.map +1 -1
- package/build/browser/index.js +2 -0
- package/build/browser/index.js.map +1 -1
- package/build/browser/public/Action.d.ts +9 -15
- package/build/browser/public/Action.d.ts.map +1 -1
- package/build/browser/public/Action.js +3 -9
- package/build/browser/public/Action.js.map +1 -1
- package/build/browser/public/ActionTypeV2.d.ts +1 -6
- package/build/browser/public/ActionTypeV2.d.ts.map +1 -1
- package/build/browser/public/ActionTypeV2.js +0 -6
- package/build/browser/public/ActionTypeV2.js.map +1 -1
- package/build/browser/public/Attachment.d.ts +0 -9
- package/build/browser/public/Attachment.d.ts.map +1 -1
- package/build/browser/public/Attachment.js +0 -9
- package/build/browser/public/Attachment.js.map +1 -1
- package/build/browser/public/AttachmentPropertyV2.d.ts +8 -20
- package/build/browser/public/AttachmentPropertyV2.d.ts.map +1 -1
- package/build/browser/public/AttachmentPropertyV2.js +0 -12
- package/build/browser/public/AttachmentPropertyV2.js.map +1 -1
- package/build/browser/public/CipherTextProperty.d.ts +1 -4
- package/build/browser/public/CipherTextProperty.d.ts.map +1 -1
- package/build/browser/public/CipherTextProperty.js +1 -4
- package/build/browser/public/CipherTextProperty.js.map +1 -1
- package/build/browser/public/LinkedObjectV2.d.ts +2 -4
- package/build/browser/public/LinkedObjectV2.d.ts.map +1 -1
- package/build/browser/public/LinkedObjectV2.js +0 -4
- package/build/browser/public/LinkedObjectV2.js.map +1 -1
- package/build/browser/public/MediaReferenceProperty.d.ts +0 -8
- package/build/browser/public/MediaReferenceProperty.d.ts.map +1 -1
- package/build/browser/public/MediaReferenceProperty.js +0 -8
- package/build/browser/public/MediaReferenceProperty.js.map +1 -1
- package/build/browser/public/ObjectTypeV2.d.ts +3 -12
- package/build/browser/public/ObjectTypeV2.d.ts.map +1 -1
- package/build/browser/public/ObjectTypeV2.js +0 -12
- package/build/browser/public/ObjectTypeV2.js.map +1 -1
- package/build/browser/public/OntologyInterface.d.ts +34 -26
- package/build/browser/public/OntologyInterface.d.ts.map +1 -1
- package/build/browser/public/OntologyInterface.js +24 -26
- package/build/browser/public/OntologyInterface.js.map +1 -1
- package/build/browser/public/OntologyObjectSet.d.ts +4 -13
- package/build/browser/public/OntologyObjectSet.d.ts.map +1 -1
- package/build/browser/public/OntologyObjectSet.js +0 -13
- package/build/browser/public/OntologyObjectSet.js.map +1 -1
- package/build/browser/public/OntologyObjectV2.d.ts +13 -18
- package/build/browser/public/OntologyObjectV2.d.ts.map +1 -1
- package/build/browser/public/OntologyObjectV2.js +0 -10
- package/build/browser/public/OntologyObjectV2.js.map +1 -1
- package/build/browser/public/OntologyTransaction.d.ts +17 -0
- package/build/browser/public/OntologyTransaction.d.ts.map +1 -0
- package/build/browser/public/OntologyTransaction.js +30 -0
- package/build/browser/public/OntologyTransaction.js.map +1 -0
- package/build/browser/public/OntologyV2.d.ts +0 -4
- package/build/browser/public/OntologyV2.d.ts.map +1 -1
- package/build/browser/public/OntologyV2.js +0 -4
- package/build/browser/public/OntologyV2.js.map +1 -1
- package/build/browser/public/OntologyValueType.d.ts +34 -0
- package/build/browser/public/OntologyValueType.d.ts.map +1 -0
- package/build/browser/public/OntologyValueType.js +42 -0
- package/build/browser/public/OntologyValueType.js.map +1 -0
- package/build/browser/public/Query.d.ts +7 -5
- package/build/browser/public/Query.d.ts.map +1 -1
- package/build/browser/public/Query.js +1 -4
- package/build/browser/public/Query.js.map +1 -1
- package/build/browser/public/QueryType.d.ts +0 -4
- package/build/browser/public/QueryType.d.ts.map +1 -1
- package/build/browser/public/QueryType.js +0 -4
- package/build/browser/public/QueryType.js.map +1 -1
- package/build/browser/public/TimeSeriesPropertyV2.d.ts +0 -9
- package/build/browser/public/TimeSeriesPropertyV2.d.ts.map +1 -1
- package/build/browser/public/TimeSeriesPropertyV2.js +0 -9
- package/build/browser/public/TimeSeriesPropertyV2.js.map +1 -1
- package/build/browser/public/TimeSeriesValueBankProperty.d.ts +0 -6
- package/build/browser/public/TimeSeriesValueBankProperty.d.ts.map +1 -1
- package/build/browser/public/TimeSeriesValueBankProperty.js +0 -6
- package/build/browser/public/TimeSeriesValueBankProperty.js.map +1 -1
- package/build/esm/_components.d.ts +315 -4
- package/build/esm/_components.d.ts.map +1 -1
- package/build/esm/_errors.d.ts +64 -0
- package/build/esm/_errors.d.ts.map +1 -1
- package/build/esm/index.d.ts +4 -2
- package/build/esm/index.d.ts.map +1 -1
- package/build/esm/index.js +2 -0
- package/build/esm/index.js.map +1 -1
- package/build/esm/public/Action.d.ts +9 -15
- package/build/esm/public/Action.d.ts.map +1 -1
- package/build/esm/public/Action.js +3 -9
- package/build/esm/public/Action.js.map +1 -1
- package/build/esm/public/ActionTypeV2.d.ts +1 -6
- package/build/esm/public/ActionTypeV2.d.ts.map +1 -1
- package/build/esm/public/ActionTypeV2.js +0 -6
- package/build/esm/public/ActionTypeV2.js.map +1 -1
- package/build/esm/public/Attachment.d.ts +0 -9
- package/build/esm/public/Attachment.d.ts.map +1 -1
- package/build/esm/public/Attachment.js +0 -9
- package/build/esm/public/Attachment.js.map +1 -1
- package/build/esm/public/AttachmentPropertyV2.d.ts +8 -20
- package/build/esm/public/AttachmentPropertyV2.d.ts.map +1 -1
- package/build/esm/public/AttachmentPropertyV2.js +0 -12
- package/build/esm/public/AttachmentPropertyV2.js.map +1 -1
- package/build/esm/public/CipherTextProperty.d.ts +1 -4
- package/build/esm/public/CipherTextProperty.d.ts.map +1 -1
- package/build/esm/public/CipherTextProperty.js +1 -4
- package/build/esm/public/CipherTextProperty.js.map +1 -1
- package/build/esm/public/LinkedObjectV2.d.ts +2 -4
- package/build/esm/public/LinkedObjectV2.d.ts.map +1 -1
- package/build/esm/public/LinkedObjectV2.js +0 -4
- package/build/esm/public/LinkedObjectV2.js.map +1 -1
- package/build/esm/public/MediaReferenceProperty.d.ts +0 -8
- package/build/esm/public/MediaReferenceProperty.d.ts.map +1 -1
- package/build/esm/public/MediaReferenceProperty.js +0 -8
- package/build/esm/public/MediaReferenceProperty.js.map +1 -1
- package/build/esm/public/ObjectTypeV2.d.ts +3 -12
- package/build/esm/public/ObjectTypeV2.d.ts.map +1 -1
- package/build/esm/public/ObjectTypeV2.js +0 -12
- package/build/esm/public/ObjectTypeV2.js.map +1 -1
- package/build/esm/public/OntologyInterface.d.ts +34 -26
- package/build/esm/public/OntologyInterface.d.ts.map +1 -1
- package/build/esm/public/OntologyInterface.js +24 -26
- package/build/esm/public/OntologyInterface.js.map +1 -1
- package/build/esm/public/OntologyObjectSet.d.ts +4 -13
- package/build/esm/public/OntologyObjectSet.d.ts.map +1 -1
- package/build/esm/public/OntologyObjectSet.js +0 -13
- package/build/esm/public/OntologyObjectSet.js.map +1 -1
- package/build/esm/public/OntologyObjectV2.d.ts +13 -18
- package/build/esm/public/OntologyObjectV2.d.ts.map +1 -1
- package/build/esm/public/OntologyObjectV2.js +0 -10
- package/build/esm/public/OntologyObjectV2.js.map +1 -1
- package/build/esm/public/OntologyTransaction.d.ts +17 -0
- package/build/esm/public/OntologyTransaction.d.ts.map +1 -0
- package/build/esm/public/OntologyTransaction.js +30 -0
- package/build/esm/public/OntologyTransaction.js.map +1 -0
- package/build/esm/public/OntologyV2.d.ts +0 -4
- package/build/esm/public/OntologyV2.d.ts.map +1 -1
- package/build/esm/public/OntologyV2.js +0 -4
- package/build/esm/public/OntologyV2.js.map +1 -1
- package/build/esm/public/OntologyValueType.d.ts +34 -0
- package/build/esm/public/OntologyValueType.d.ts.map +1 -0
- package/build/esm/public/OntologyValueType.js +42 -0
- package/build/esm/public/OntologyValueType.js.map +1 -0
- package/build/esm/public/Query.d.ts +7 -5
- package/build/esm/public/Query.d.ts.map +1 -1
- package/build/esm/public/Query.js +1 -4
- package/build/esm/public/Query.js.map +1 -1
- package/build/esm/public/QueryType.d.ts +0 -4
- package/build/esm/public/QueryType.d.ts.map +1 -1
- package/build/esm/public/QueryType.js +0 -4
- package/build/esm/public/QueryType.js.map +1 -1
- package/build/esm/public/TimeSeriesPropertyV2.d.ts +0 -9
- package/build/esm/public/TimeSeriesPropertyV2.d.ts.map +1 -1
- package/build/esm/public/TimeSeriesPropertyV2.js +0 -9
- package/build/esm/public/TimeSeriesPropertyV2.js.map +1 -1
- package/build/esm/public/TimeSeriesValueBankProperty.d.ts +0 -6
- package/build/esm/public/TimeSeriesValueBankProperty.d.ts.map +1 -1
- package/build/esm/public/TimeSeriesValueBankProperty.js +0 -6
- package/build/esm/public/TimeSeriesValueBankProperty.js.map +1 -1
- package/package.json +5 -5
|
@@ -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]
|
|
@@ -38,6 +36,7 @@ export declare function listLinkedObjects($ctx: $Client | $ClientContext | $OldC
|
|
|
38
36
|
sdkVersion?: _Ontologies.SdkVersion | undefined;
|
|
39
37
|
excludeRid?: boolean | undefined;
|
|
40
38
|
snapshot?: boolean | undefined;
|
|
39
|
+
branch?: _Core.FoundryBranch | undefined;
|
|
41
40
|
}
|
|
42
41
|
]): Promise<_Ontologies.ListLinkedObjectsResponseV2>;
|
|
43
42
|
/**
|
|
@@ -45,8 +44,6 @@ export declare function listLinkedObjects($ctx: $Client | $ClientContext | $OldC
|
|
|
45
44
|
*
|
|
46
45
|
* If there is no link between the two objects, `LinkedObjectNotFound` is thrown.
|
|
47
46
|
*
|
|
48
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
49
|
-
*
|
|
50
47
|
* @public
|
|
51
48
|
*
|
|
52
49
|
* Required Scopes: [api:ontologies-read]
|
|
@@ -63,6 +60,7 @@ export declare function getLinkedObject($ctx: $Client | $ClientContext | $OldCli
|
|
|
63
60
|
sdkPackageRid?: _Ontologies.SdkPackageRid | undefined;
|
|
64
61
|
sdkVersion?: _Ontologies.SdkVersion | undefined;
|
|
65
62
|
excludeRid?: boolean | undefined;
|
|
63
|
+
branch?: _Core.FoundryBranch | undefined;
|
|
66
64
|
}
|
|
67
65
|
]): Promise<_Ontologies.OntologyObjectV2>;
|
|
68
66
|
//# sourceMappingURL=LinkedObjectV2.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LinkedObjectV2.d.ts","sourceRoot":"","sources":["../../../src/public/LinkedObjectV2.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;
|
|
1
|
+
{"version":3,"file":"LinkedObjectV2.d.ts","sourceRoot":"","sources":["../../../src/public/LinkedObjectV2.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,W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E,WAAW,CAAC,0BAA0B;IAE9D,YAAY,EAAE;QACZ,MAAM,EAAE,KAAK,CAAC,WAAW,CAAC,uBAAuB,CAAC,CAAC;QACnD,aAAa,CAAC,EAAE,WAAW,CAAC,aAAa,GAAG,SAAS,CAAC;QACtD,UAAU,CAAC,EAAE,WAAW,CAAC,UAAU,GAAG,SAAS,CAAC;QAChD,UAAU,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;QACjC,MAAM,CAAC,EAAE,KAAK,CAAC,aAAa,GAAG,SAAS,CAAC;KAC1C;CACF,GACA,OAAO,CAAC,WAAW,CAAC,gBAAgB,CAAC,CAEvC"}
|
|
@@ -31,8 +31,6 @@ const _listLinkedObjects = [0, "/v2/ontologies/{0}/objects/{1}/{2}/links/{3}", 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]
|
|
@@ -47,8 +45,6 @@ const _getLinkedObject = [0, "/v2/ontologies/{0}/objects/{1}/{2}/links/{3}/{4}",
|
|
|
47
45
|
*
|
|
48
46
|
* If there is no link between the two objects, `LinkedObjectNotFound` is thrown.
|
|
49
47
|
*
|
|
50
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
51
|
-
*
|
|
52
48
|
* @public
|
|
53
49
|
*
|
|
54
50
|
* Required Scopes: [api:ontologies-read]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LinkedObjectV2.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_listLinkedObjects","listLinkedObjects","$ctx","args","_getLinkedObject","getLinkedObject"],"sources":["LinkedObjectV2.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 _listLinkedObjects = [0, \"/v2/ontologies/{0}/objects/{1}/{2}/links/{3}\", 2];\n/**\n * Lists the linked objects for a specific object and the given link 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 *
|
|
1
|
+
{"version":3,"file":"LinkedObjectV2.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_listLinkedObjects","listLinkedObjects","$ctx","args","_getLinkedObject","getLinkedObject"],"sources":["LinkedObjectV2.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 _listLinkedObjects = [0, \"/v2/ontologies/{0}/objects/{1}/{2}/links/{3}\", 2];\n/**\n * Lists the linked objects for a specific object and the given link 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}/{primaryKey}/links/{linkType}\n */\nexport function listLinkedObjects($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listLinkedObjects, ...args);\n}\nconst _getLinkedObject = [0, \"/v2/ontologies/{0}/objects/{1}/{2}/links/{3}/{4}\", 2];\n/**\n * Get a specific linked object that originates from another object.\n *\n * If there is no link between the two objects, `LinkedObjectNotFound` is thrown.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/links/{linkType}/{linkedObjectPrimaryKey}\n */\nexport function getLinkedObject($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getLinkedObject, ...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,8CAA8C,EAAE,CAAC,CAAC;AACjF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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,kDAAkD,EAAE,CAAC,CAAC;AACnF;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":[]}
|
|
@@ -5,8 +5,6 @@ import type * as _Ontologies from "../_components.js";
|
|
|
5
5
|
/**
|
|
6
6
|
* Gets the content of a media item referenced by this property.
|
|
7
7
|
*
|
|
8
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scopes: `api:ontologies-read`.
|
|
9
|
-
*
|
|
10
8
|
* @beta
|
|
11
9
|
*
|
|
12
10
|
* Required Scopes: [api:ontologies-read]
|
|
@@ -26,8 +24,6 @@ export declare function getMediaContent($ctx: $Client | $ClientContext | $OldCli
|
|
|
26
24
|
/**
|
|
27
25
|
* Gets metadata about the media item referenced by this property.
|
|
28
26
|
*
|
|
29
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scopes: `api:ontologies-read`.
|
|
30
|
-
*
|
|
31
27
|
* @alpha
|
|
32
28
|
*
|
|
33
29
|
* Required Scopes: [api:ontologies-read]
|
|
@@ -48,8 +44,6 @@ export declare function getMediaMetadata($ctx: $Client | $ClientContext | $OldCl
|
|
|
48
44
|
* Uploads a media item to the media set which backs the specified property. The property must be backed by a single media set and branch, otherwise an error will be thrown.
|
|
49
45
|
* The body of the request must contain the binary content of the file and the `Content-Type` header must be `application/octet-stream`.
|
|
50
46
|
*
|
|
51
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scopes: `api:ontologies-read api:ontologies-write`.
|
|
52
|
-
*
|
|
53
47
|
* @beta
|
|
54
48
|
*
|
|
55
49
|
* Required Scopes: [api:ontologies-read, api:ontologies-write]
|
|
@@ -70,8 +64,6 @@ export declare function upload($ctx: $Client | $ClientContext | $OldClient | $Ol
|
|
|
70
64
|
*
|
|
71
65
|
* The body of the request must contain the binary content of the file and the `Content-Type` header must be `application/octet-stream`.
|
|
72
66
|
*
|
|
73
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scopes: `api:ontologies-read api:ontologies-write`.
|
|
74
|
-
*
|
|
75
67
|
* @alpha
|
|
76
68
|
*
|
|
77
69
|
* Required Scopes: [api:ontologies-read, api:ontologies-write]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MediaReferenceProperty.d.ts","sourceRoot":"","sources":["../../../src/public/MediaReferenceProperty.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;AAkBtD
|
|
1
|
+
{"version":3,"file":"MediaReferenceProperty.d.ts","sourceRoot":"","sources":["../../../src/public/MediaReferenceProperty.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;AAkBtD;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAC7B,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG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,eAAe;IACrC,KAAK,EAAE,IAAI;IACX,YAAY,CAAC,EAAE;QACb,aAAa,CAAC,EAAE,KAAK,CAAC,aAAa,GAAG,SAAS,CAAC;QAChD,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAC;KACzC;CACF,GACA,OAAO,CAAC,KAAK,CAAC,cAAc,CAAC,CAE/B;AAcD;;;;;;;;;GASG;AACH,wBAAgB,WAAW,CACzB,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;IACzC,KAAK,EAAE,IAAI;IACX,YAAY,CAAC,EAAE;QACb,aAAa,CAAC,EAAE,KAAK,CAAC,aAAa,GAAG,SAAS,CAAC;QAChD,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAC;KACzC;CACF,GACA,OAAO,CAAC,KAAK,CAAC,cAAc,CAAC,CAE/B"}
|
|
@@ -19,8 +19,6 @@ const _getMediaContent = [0, "/v2/ontologies/{0}/objects/{1}/{2}/media/{3}/conte
|
|
|
19
19
|
/**
|
|
20
20
|
* Gets the content of a media item referenced by this property.
|
|
21
21
|
*
|
|
22
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scopes: `api:ontologies-read`.
|
|
23
|
-
*
|
|
24
22
|
* @beta
|
|
25
23
|
*
|
|
26
24
|
* Required Scopes: [api:ontologies-read]
|
|
@@ -33,8 +31,6 @@ const _getMediaMetadata = [0, "/v2/ontologies/{0}/objects/{1}/{2}/media/{3}/meta
|
|
|
33
31
|
/**
|
|
34
32
|
* Gets metadata about the media item referenced by this property.
|
|
35
33
|
*
|
|
36
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scopes: `api:ontologies-read`.
|
|
37
|
-
*
|
|
38
34
|
* @alpha
|
|
39
35
|
*
|
|
40
36
|
* Required Scopes: [api:ontologies-read]
|
|
@@ -48,8 +44,6 @@ const _upload = [1, "/v2/ontologies/{0}/objectTypes/{1}/media/{2}/upload", 3, "*
|
|
|
48
44
|
* Uploads a media item to the media set which backs the specified property. The property must be backed by a single media set and branch, otherwise an error will be thrown.
|
|
49
45
|
* The body of the request must contain the binary content of the file and the `Content-Type` header must be `application/octet-stream`.
|
|
50
46
|
*
|
|
51
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scopes: `api:ontologies-read api:ontologies-write`.
|
|
52
|
-
*
|
|
53
47
|
* @beta
|
|
54
48
|
*
|
|
55
49
|
* Required Scopes: [api:ontologies-read, api:ontologies-write]
|
|
@@ -64,8 +58,6 @@ const _uploadMedia = [1, "/v2/ontologies/{0}/actions/{1}/media/upload", 3, "*/*"
|
|
|
64
58
|
*
|
|
65
59
|
* The body of the request must contain the binary content of the file and the `Content-Type` header must be `application/octet-stream`.
|
|
66
60
|
*
|
|
67
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scopes: `api:ontologies-read api:ontologies-write`.
|
|
68
|
-
*
|
|
69
61
|
* @alpha
|
|
70
62
|
*
|
|
71
63
|
* Required Scopes: [api:ontologies-read, api:ontologies-write]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MediaReferenceProperty.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_getMediaContent","getMediaContent","$ctx","args","_getMediaMetadata","getMediaMetadata","_upload","upload","_uploadMedia","uploadMedia"],"sources":["MediaReferenceProperty.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 _getMediaContent = [0, \"/v2/ontologies/{0}/objects/{1}/{2}/media/{3}/content\", 2, , \"*/*\"];\n/**\n * Gets the content of a media item referenced by this property.\n *\n *
|
|
1
|
+
{"version":3,"file":"MediaReferenceProperty.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_getMediaContent","getMediaContent","$ctx","args","_getMediaMetadata","getMediaMetadata","_upload","upload","_uploadMedia","uploadMedia"],"sources":["MediaReferenceProperty.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 _getMediaContent = [0, \"/v2/ontologies/{0}/objects/{1}/{2}/media/{3}/content\", 2, , \"*/*\"];\n/**\n * Gets the content of a media item referenced by this property.\n *\n * @beta\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/media/{property}/content\n */\nexport function getMediaContent($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getMediaContent, ...args);\n}\nconst _getMediaMetadata = [0, \"/v2/ontologies/{0}/objects/{1}/{2}/media/{3}/metadata\", 2];\n/**\n * Gets metadata about the media item referenced by this property.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/media/{property}/metadata\n */\nexport function getMediaMetadata($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getMediaMetadata, ...args);\n}\nconst _upload = [1, \"/v2/ontologies/{0}/objectTypes/{1}/media/{2}/upload\", 3, \"*/*\"];\n/**\n * Uploads a media item to the media set which backs the specified property. The property must be backed by a single media set and branch, otherwise an error will be thrown.\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 * @beta\n *\n * Required Scopes: [api:ontologies-read, api:ontologies-write]\n * URL: /v2/ontologies/{ontology}/objectTypes/{objectType}/media/{property}/upload\n */\nexport function upload($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _upload, ...args);\n}\nconst _uploadMedia = [1, \"/v2/ontologies/{0}/actions/{1}/media/upload\", 3, \"*/*\"];\n/**\n * Uploads a media item for use by the specified action. If the media item isn't persisted by the associated action within 1 hour, the item will be deleted.\n *\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 * @alpha\n *\n * Required Scopes: [api:ontologies-read, api:ontologies-write]\n * URL: /v2/ontologies/{ontology}/actions/{actionType}/media/upload\n */\nexport function uploadMedia($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _uploadMedia, ...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,sDAAsD,EAAE,CAAC,GAAI,KAAK,CAAC;AAChG;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,iBAAiB,GAAG,CAAC,CAAC,EAAE,uDAAuD,EAAE,CAAC,CAAC;AACzF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,gBAAgBA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC5C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,iBAAiB,EAAE,GAAGD,IAAI,CAAC;AAClE;AACA,MAAMG,OAAO,GAAG,CAAC,CAAC,EAAE,qDAAqD,EAAE,CAAC,EAAE,KAAK,CAAC;AACpF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,MAAMA,CAACL,IAAI,EAAE,GAAGC,IAAI,EAAE;EAClC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEI,OAAO,EAAE,GAAGH,IAAI,CAAC;AACxD;AACA,MAAMK,YAAY,GAAG,CAAC,CAAC,EAAE,6CAA6C,EAAE,CAAC,EAAE,KAAK,CAAC;AACjF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,WAAWA,CAACP,IAAI,EAAE,GAAGC,IAAI,EAAE;EACvC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEM,YAAY,EAAE,GAAGL,IAAI,CAAC;AAC7D","ignoreList":[]}
|
|
@@ -9,8 +9,6 @@ import type * as _Ontologies from "../_components.js";
|
|
|
9
9
|
* more results available, at least one result will be present in the
|
|
10
10
|
* response.
|
|
11
11
|
*
|
|
12
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
13
|
-
*
|
|
14
12
|
* @public
|
|
15
13
|
*
|
|
16
14
|
* Required Scopes: [api:ontologies-read]
|
|
@@ -19,6 +17,7 @@ import type * as _Ontologies from "../_components.js";
|
|
|
19
17
|
export declare function list($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
20
18
|
ontology: _Ontologies.OntologyIdentifier,
|
|
21
19
|
$queryParams?: {
|
|
20
|
+
branch?: _Core.FoundryBranch | undefined;
|
|
22
21
|
pageSize?: _Core.PageSize | undefined;
|
|
23
22
|
pageToken?: _Core.PageToken | undefined;
|
|
24
23
|
}
|
|
@@ -26,8 +25,6 @@ export declare function list($ctx: $Client | $ClientContext | $OldClient | $OldC
|
|
|
26
25
|
/**
|
|
27
26
|
* Gets a specific object type with the given API name.
|
|
28
27
|
*
|
|
29
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
30
|
-
*
|
|
31
28
|
* @public
|
|
32
29
|
*
|
|
33
30
|
* Required Scopes: [api:ontologies-read]
|
|
@@ -43,8 +40,6 @@ export declare function get($ctx: $Client | $ClientContext | $OldClient | $OldCl
|
|
|
43
40
|
/**
|
|
44
41
|
* Gets the full metadata for a specific object type with the given API name.
|
|
45
42
|
*
|
|
46
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
47
|
-
*
|
|
48
43
|
* @alpha
|
|
49
44
|
*
|
|
50
45
|
* Required Scopes: [api:ontologies-read]
|
|
@@ -55,15 +50,14 @@ export declare function getFullMetadata($ctx: $Client | $ClientContext | $OldCli
|
|
|
55
50
|
objectType: _Ontologies.ObjectTypeApiName,
|
|
56
51
|
$queryParams?: {
|
|
57
52
|
preview?: _Core.PreviewMode | undefined;
|
|
53
|
+
sdkPackageRid?: _Ontologies.SdkPackageRid | undefined;
|
|
54
|
+
sdkVersion?: _Ontologies.SdkVersion | undefined;
|
|
58
55
|
branch?: _Core.FoundryBranch | undefined;
|
|
59
56
|
}
|
|
60
57
|
]): Promise<_Ontologies.ObjectTypeFullMetadata>;
|
|
61
58
|
/**
|
|
62
59
|
* List the outgoing links for an object type.
|
|
63
60
|
*
|
|
64
|
-
* Third-party applications using this endpoint via OAuth2 must request the
|
|
65
|
-
* following operation scopes: `api:ontologies-read`.
|
|
66
|
-
*
|
|
67
61
|
* @public
|
|
68
62
|
*
|
|
69
63
|
* Required Scopes: [api:ontologies-read]
|
|
@@ -81,9 +75,6 @@ export declare function listOutgoingLinkTypes($ctx: $Client | $ClientContext | $
|
|
|
81
75
|
/**
|
|
82
76
|
* Get an outgoing link for an object type.
|
|
83
77
|
*
|
|
84
|
-
* Third-party applications using this endpoint via OAuth2 must request the
|
|
85
|
-
* following operation scopes: `api:ontologies-read`.
|
|
86
|
-
*
|
|
87
78
|
* @public
|
|
88
79
|
*
|
|
89
80
|
* Required Scopes: [api:ontologies-read]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObjectTypeV2.d.ts","sourceRoot":"","sources":["../../../src/public/ObjectTypeV2.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;
|
|
1
|
+
{"version":3,"file":"ObjectTypeV2.d.ts","sourceRoot":"","sources":["../../../src/public/ObjectTypeV2.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;AAetD;;;;;;;;;;;GAWG;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;QACb,MAAM,CAAC,EAAE,KAAK,CAAC,aAAa,GAAG,S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AC,kBAAkB;IACxC,UAAU,EAAE,WAAW,CAAC,iBAAiB;IAEzC,YAAY,CAAC,EAAE;QACb,MAAM,CAAC,EAAE,KAAK,CAAC,aAAa,GAAG,SAAS,CAAC;QACzC,QAAQ,CAAC,EAAE,KAAK,CAAC,QAAQ,GAAG,SAAS,CAAC;QACtC,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,SAAS,CAAC;KACzC;CACF,GACA,OAAO,CAAC,WAAW,CAAC,+BAA+B,CAAC,CAEtD;AAWD;;;;;;;GAOG;AACH,wBAAgB,mBAAmB,CACjC,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;IACzC,QAAQ,EAAE,WAAW,CAAC,eAAe;IAErC,YAAY,CAAC,EAAE;QAAE,MAAM,CAAC,EAAE,KAAK,CAAC,aAAa,GAAG,SAAS,CAAA;KAAE;CAC5D,GACA,OAAO,CAAC,WAAW,CAAC,cAAc,CAAC,CAErC"}
|
|
@@ -23,8 +23,6 @@ const _list = [0, "/v2/ontologies/{0}/objectTypes", 2];
|
|
|
23
23
|
* more results available, at least one result will be present in the
|
|
24
24
|
* response.
|
|
25
25
|
*
|
|
26
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
27
|
-
*
|
|
28
26
|
* @public
|
|
29
27
|
*
|
|
30
28
|
* Required Scopes: [api:ontologies-read]
|
|
@@ -37,8 +35,6 @@ const _get = [0, "/v2/ontologies/{0}/objectTypes/{1}", 2];
|
|
|
37
35
|
/**
|
|
38
36
|
* Gets a specific object type with the given API name.
|
|
39
37
|
*
|
|
40
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
41
|
-
*
|
|
42
38
|
* @public
|
|
43
39
|
*
|
|
44
40
|
* Required Scopes: [api:ontologies-read]
|
|
@@ -51,8 +47,6 @@ const _getFullMetadata = [0, "/v2/ontologies/{0}/objectTypes/{1}/fullMetadata",
|
|
|
51
47
|
/**
|
|
52
48
|
* Gets the full metadata for a specific object type with the given API name.
|
|
53
49
|
*
|
|
54
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
55
|
-
*
|
|
56
50
|
* @alpha
|
|
57
51
|
*
|
|
58
52
|
* Required Scopes: [api:ontologies-read]
|
|
@@ -65,9 +59,6 @@ const _listOutgoingLinkTypes = [0, "/v2/ontologies/{0}/objectTypes/{1}/outgoingL
|
|
|
65
59
|
/**
|
|
66
60
|
* List the outgoing links for an object type.
|
|
67
61
|
*
|
|
68
|
-
* Third-party applications using this endpoint via OAuth2 must request the
|
|
69
|
-
* following operation scopes: `api:ontologies-read`.
|
|
70
|
-
*
|
|
71
62
|
* @public
|
|
72
63
|
*
|
|
73
64
|
* Required Scopes: [api:ontologies-read]
|
|
@@ -80,9 +71,6 @@ const _getOutgoingLinkType = [0, "/v2/ontologies/{0}/objectTypes/{1}/outgoingLin
|
|
|
80
71
|
/**
|
|
81
72
|
* Get an outgoing link for an object type.
|
|
82
73
|
*
|
|
83
|
-
* Third-party applications using this endpoint via OAuth2 must request the
|
|
84
|
-
* following operation scopes: `api:ontologies-read`.
|
|
85
|
-
*
|
|
86
74
|
* @public
|
|
87
75
|
*
|
|
88
76
|
* Required Scopes: [api:ontologies-read]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObjectTypeV2.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_list","list","$ctx","args","_get","get","_getFullMetadata","getFullMetadata","_listOutgoingLinkTypes","listOutgoingLinkTypes","_getOutgoingLinkType","getOutgoingLinkType"],"sources":["ObjectTypeV2.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}/objectTypes\", 2];\n/**\n * Lists the object types for the given Ontology.\n *\n * Each page may be smaller or larger than the requested page size. However, it is guaranteed that if there are\n * more results available, at least one result will be present in the\n * response.\n *\n *
|
|
1
|
+
{"version":3,"file":"ObjectTypeV2.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_list","list","$ctx","args","_get","get","_getFullMetadata","getFullMetadata","_listOutgoingLinkTypes","listOutgoingLinkTypes","_getOutgoingLinkType","getOutgoingLinkType"],"sources":["ObjectTypeV2.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}/objectTypes\", 2];\n/**\n * Lists the object types for the given Ontology.\n *\n * Each page may be smaller or larger than the requested page size. However, it is guaranteed that if there are\n * more results available, at least one result will be present in the\n * response.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objectTypes\n */\nexport function list($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _list, ...args);\n}\nconst _get = [0, \"/v2/ontologies/{0}/objectTypes/{1}\", 2];\n/**\n * Gets a specific object type with the given API name.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objectTypes/{objectType}\n */\nexport function get($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _get, ...args);\n}\nconst _getFullMetadata = [0, \"/v2/ontologies/{0}/objectTypes/{1}/fullMetadata\", 2];\n/**\n * Gets the full metadata for a specific object type with the given API name.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objectTypes/{objectType}/fullMetadata\n */\nexport function getFullMetadata($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getFullMetadata, ...args);\n}\nconst _listOutgoingLinkTypes = [0, \"/v2/ontologies/{0}/objectTypes/{1}/outgoingLinkTypes\", 2];\n/**\n * List the outgoing links for an object type.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objectTypes/{objectType}/outgoingLinkTypes\n */\nexport function listOutgoingLinkTypes($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listOutgoingLinkTypes, ...args);\n}\nconst _getOutgoingLinkType = [0, \"/v2/ontologies/{0}/objectTypes/{1}/outgoingLinkTypes/{2}\", 2];\n/**\n * Get an outgoing link for an object type.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objectTypes/{objectType}/outgoingLinkTypes/{linkType}\n */\nexport function getOutgoingLinkType($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getOutgoingLinkType, ...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;A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3,18 +3,11 @@ import type { SharedClient as $OldClient, SharedClientContext as $OldClientConte
|
|
|
3
3
|
import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client2";
|
|
4
4
|
import type * as _Ontologies from "../_components.js";
|
|
5
5
|
/**
|
|
6
|
-
* :::callout{theme=warning title=Warning}
|
|
7
|
-
* This endpoint is in preview and may be modified or removed at any time.
|
|
8
|
-
* To use this endpoint, add `preview=true` to the request query parameters.
|
|
9
|
-
* :::
|
|
10
|
-
*
|
|
11
6
|
* Lists the interface types for the given Ontology.
|
|
12
7
|
*
|
|
13
8
|
* Each page may be smaller than the requested page size. However, it is guaranteed that if there are more
|
|
14
9
|
* results available, at least one result will be present in the response.
|
|
15
10
|
*
|
|
16
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
17
|
-
*
|
|
18
11
|
* @beta
|
|
19
12
|
*
|
|
20
13
|
* Required Scopes: [api:ontologies-read]
|
|
@@ -23,21 +16,15 @@ import type * as _Ontologies from "../_components.js";
|
|
|
23
16
|
export declare function list($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
24
17
|
ontology: _Ontologies.OntologyIdentifier,
|
|
25
18
|
$queryParams?: {
|
|
19
|
+
branch?: _Core.FoundryBranch | undefined;
|
|
26
20
|
pageSize?: _Core.PageSize | undefined;
|
|
27
21
|
pageToken?: _Core.PageToken | undefined;
|
|
28
22
|
preview?: _Core.PreviewMode | undefined;
|
|
29
23
|
}
|
|
30
24
|
]): Promise<_Ontologies.ListInterfaceTypesResponse>;
|
|
31
25
|
/**
|
|
32
|
-
* :::callout{theme=warning title=Warning}
|
|
33
|
-
* This endpoint is in preview and may be modified or removed at any time.
|
|
34
|
-
* To use this endpoint, add `preview=true` to the request query parameters.
|
|
35
|
-
* :::
|
|
36
|
-
*
|
|
37
26
|
* Gets a specific interface type with the given API name.
|
|
38
27
|
*
|
|
39
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
40
|
-
*
|
|
41
28
|
* @beta
|
|
42
29
|
*
|
|
43
30
|
* Required Scopes: [api:ontologies-read]
|
|
@@ -56,11 +43,6 @@ export declare function get($ctx: $Client | $ClientContext | $OldClient | $OldCl
|
|
|
56
43
|
* This endpoint will be removed once TS OSDK is updated to use `objectSets/loadObjects` with interface object
|
|
57
44
|
* sets.
|
|
58
45
|
* :::
|
|
59
|
-
* :::callout{theme=warning title=Warning}
|
|
60
|
-
* This endpoint is in preview and may be modified or removed at any time.
|
|
61
|
-
* To use this endpoint, add `preview=true` to the request query parameters.
|
|
62
|
-
* :::
|
|
63
|
-
*
|
|
64
46
|
* Search for objects in the specified ontology and interface type. Any properties specified in the "where" or
|
|
65
47
|
* "orderBy" parameters must be shared property type API names defined on the interface. The following search
|
|
66
48
|
* queries are supported:
|
|
@@ -99,6 +81,7 @@ export declare function search($ctx: $Client | $ClientContext | $OldClient | $Ol
|
|
|
99
81
|
interfaceType: _Ontologies.InterfaceTypeApiName,
|
|
100
82
|
$body: _Ontologies.SearchObjectsForInterfaceRequest,
|
|
101
83
|
$queryParams?: {
|
|
84
|
+
branch?: _Core.FoundryBranch | undefined;
|
|
102
85
|
preview?: _Core.PreviewMode | undefined;
|
|
103
86
|
}
|
|
104
87
|
]): Promise<_Ontologies.SearchObjectsResponseV2>;
|
|
@@ -107,16 +90,9 @@ export declare function search($ctx: $Client | $ClientContext | $OldClient | $Ol
|
|
|
107
90
|
* This endpoint will be removed once TS OSDK is updated to use `objectSets/aggregate` with interface object
|
|
108
91
|
* sets.
|
|
109
92
|
* :::
|
|
110
|
-
* :::callout{theme=warning title=Warning}
|
|
111
|
-
* This endpoint is in preview and may be modified or removed at any time.
|
|
112
|
-
* To use this endpoint, add `preview=true` to the request query parameters.
|
|
113
|
-
* :::
|
|
114
|
-
*
|
|
115
93
|
* Perform functions on object fields in the specified ontology and of the specified interface type. Any
|
|
116
94
|
* properties specified in the query must be shared property type API names defined on the interface.
|
|
117
95
|
*
|
|
118
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
119
|
-
*
|
|
120
96
|
* @alpha
|
|
121
97
|
*
|
|
122
98
|
* Required Scopes: [api:ontologies-read]
|
|
@@ -127,7 +103,39 @@ export declare function aggregate($ctx: $Client | $ClientContext | $OldClient |
|
|
|
127
103
|
interfaceType: _Ontologies.InterfaceTypeApiName,
|
|
128
104
|
$body: _Ontologies.AggregateObjectsRequestV2,
|
|
129
105
|
$queryParams?: {
|
|
106
|
+
branch?: _Core.FoundryBranch | undefined;
|
|
130
107
|
preview?: _Core.PreviewMode | undefined;
|
|
131
108
|
}
|
|
132
109
|
]): Promise<_Ontologies.AggregateObjectsResponseV2>;
|
|
110
|
+
/**
|
|
111
|
+
* List the outgoing interface link types for an interface type.
|
|
112
|
+
*
|
|
113
|
+
* @alpha
|
|
114
|
+
*
|
|
115
|
+
* Required Scopes: [api:ontologies-read]
|
|
116
|
+
* URL: /v2/ontologies/{ontology}/interfaceTypes/{interfaceType}/outgoingLinkTypes
|
|
117
|
+
*/
|
|
118
|
+
export declare function listOutgoingInterfaceLinkTypes($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
119
|
+
ontology: _Ontologies.OntologyIdentifier,
|
|
120
|
+
interfaceType: _Ontologies.InterfaceTypeApiName,
|
|
121
|
+
$queryParams?: {
|
|
122
|
+
branch?: _Core.FoundryBranch | undefined;
|
|
123
|
+
}
|
|
124
|
+
]): Promise<_Ontologies.ListOutgoingInterfaceLinkTypesResponse>;
|
|
125
|
+
/**
|
|
126
|
+
* Get an outgoing interface link type for an interface type.
|
|
127
|
+
*
|
|
128
|
+
* @alpha
|
|
129
|
+
*
|
|
130
|
+
* Required Scopes: [api:ontologies-read]
|
|
131
|
+
* URL: /v2/ontologies/{ontology}/interfaceTypes/{interfaceType}/outgoingLinkTypes/{interfaceLinkType}
|
|
132
|
+
*/
|
|
133
|
+
export declare function getOutgoingInterfaceLinkType($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
134
|
+
ontology: _Ontologies.OntologyIdentifier,
|
|
135
|
+
interfaceType: _Ontologies.InterfaceTypeApiName,
|
|
136
|
+
interfaceLinkType: _Ontologies.InterfaceLinkTypeApiName,
|
|
137
|
+
$queryParams?: {
|
|
138
|
+
branch?: _Core.FoundryBranch | undefined;
|
|
139
|
+
}
|
|
140
|
+
]): Promise<_Ontologies.InterfaceLinkType>;
|
|
133
141
|
//# sourceMappingURL=OntologyInterface.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OntologyInterface.d.ts","sourceRoot":"","sources":["../../../src/public/OntologyInterface.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;
|
|
1
|
+
{"version":3,"file":"OntologyInterface.d.ts","sourceRoot":"","sources":["../../../src/public/OntologyInterface.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;AAgBtD;;;;;;;;;;GAUG;AACH,wBAAgB,IAAI,CAClB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG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AAC,WAAW,CAAC,iBAAiB,CAAC,CAExC"}
|
|
@@ -17,18 +17,11 @@ import { foundryPlatformFetch as $foundryPlatformFetch } from "@osdk/shared.net.
|
|
|
17
17
|
//
|
|
18
18
|
const _list = [0, "/v2/ontologies/{0}/interfaceTypes", 2];
|
|
19
19
|
/**
|
|
20
|
-
* :::callout{theme=warning title=Warning}
|
|
21
|
-
* This endpoint is in preview and may be modified or removed at any time.
|
|
22
|
-
* To use this endpoint, add `preview=true` to the request query parameters.
|
|
23
|
-
* :::
|
|
24
|
-
*
|
|
25
20
|
* Lists the interface types for the given Ontology.
|
|
26
21
|
*
|
|
27
22
|
* Each page may be smaller than the requested page size. However, it is guaranteed that if there are more
|
|
28
23
|
* results available, at least one result will be present in the response.
|
|
29
24
|
*
|
|
30
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
31
|
-
*
|
|
32
25
|
* @beta
|
|
33
26
|
*
|
|
34
27
|
* Required Scopes: [api:ontologies-read]
|
|
@@ -39,15 +32,8 @@ export function list($ctx, ...args) {
|
|
|
39
32
|
}
|
|
40
33
|
const _get = [0, "/v2/ontologies/{0}/interfaceTypes/{1}", 2];
|
|
41
34
|
/**
|
|
42
|
-
* :::callout{theme=warning title=Warning}
|
|
43
|
-
* This endpoint is in preview and may be modified or removed at any time.
|
|
44
|
-
* To use this endpoint, add `preview=true` to the request query parameters.
|
|
45
|
-
* :::
|
|
46
|
-
*
|
|
47
35
|
* Gets a specific interface type with the given API name.
|
|
48
36
|
*
|
|
49
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
50
|
-
*
|
|
51
37
|
* @beta
|
|
52
38
|
*
|
|
53
39
|
* Required Scopes: [api:ontologies-read]
|
|
@@ -62,11 +48,6 @@ const _search = [1, "/v2/ontologies/{0}/interfaces/{1}/search", 3];
|
|
|
62
48
|
* This endpoint will be removed once TS OSDK is updated to use `objectSets/loadObjects` with interface object
|
|
63
49
|
* sets.
|
|
64
50
|
* :::
|
|
65
|
-
* :::callout{theme=warning title=Warning}
|
|
66
|
-
* This endpoint is in preview and may be modified or removed at any time.
|
|
67
|
-
* To use this endpoint, add `preview=true` to the request query parameters.
|
|
68
|
-
* :::
|
|
69
|
-
*
|
|
70
51
|
* Search for objects in the specified ontology and interface type. Any properties specified in the "where" or
|
|
71
52
|
* "orderBy" parameters must be shared property type API names defined on the interface. The following search
|
|
72
53
|
* queries are supported:
|
|
@@ -109,16 +90,9 @@ const _aggregate = [1, "/v2/ontologies/{0}/interfaces/{1}/aggregate", 3];
|
|
|
109
90
|
* This endpoint will be removed once TS OSDK is updated to use `objectSets/aggregate` with interface object
|
|
110
91
|
* sets.
|
|
111
92
|
* :::
|
|
112
|
-
* :::callout{theme=warning title=Warning}
|
|
113
|
-
* This endpoint is in preview and may be modified or removed at any time.
|
|
114
|
-
* To use this endpoint, add `preview=true` to the request query parameters.
|
|
115
|
-
* :::
|
|
116
|
-
*
|
|
117
93
|
* Perform functions on object fields in the specified ontology and of the specified interface type. Any
|
|
118
94
|
* properties specified in the query must be shared property type API names defined on the interface.
|
|
119
95
|
*
|
|
120
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
121
|
-
*
|
|
122
96
|
* @alpha
|
|
123
97
|
*
|
|
124
98
|
* Required Scopes: [api:ontologies-read]
|
|
@@ -127,4 +101,28 @@ const _aggregate = [1, "/v2/ontologies/{0}/interfaces/{1}/aggregate", 3];
|
|
|
127
101
|
export function aggregate($ctx, ...args) {
|
|
128
102
|
return $foundryPlatformFetch($ctx, _aggregate, ...args);
|
|
129
103
|
}
|
|
104
|
+
const _listOutgoingInterfaceLinkTypes = [0, "/v2/ontologies/{0}/interfaceTypes/{1}/outgoingLinkTypes", 2];
|
|
105
|
+
/**
|
|
106
|
+
* List the outgoing interface link types for an interface type.
|
|
107
|
+
*
|
|
108
|
+
* @alpha
|
|
109
|
+
*
|
|
110
|
+
* Required Scopes: [api:ontologies-read]
|
|
111
|
+
* URL: /v2/ontologies/{ontology}/interfaceTypes/{interfaceType}/outgoingLinkTypes
|
|
112
|
+
*/
|
|
113
|
+
export function listOutgoingInterfaceLinkTypes($ctx, ...args) {
|
|
114
|
+
return $foundryPlatformFetch($ctx, _listOutgoingInterfaceLinkTypes, ...args);
|
|
115
|
+
}
|
|
116
|
+
const _getOutgoingInterfaceLinkType = [0, "/v2/ontologies/{0}/interfaceTypes/{1}/outgoingLinkTypes/{2}", 2];
|
|
117
|
+
/**
|
|
118
|
+
* Get an outgoing interface link type for an interface type.
|
|
119
|
+
*
|
|
120
|
+
* @alpha
|
|
121
|
+
*
|
|
122
|
+
* Required Scopes: [api:ontologies-read]
|
|
123
|
+
* URL: /v2/ontologies/{ontology}/interfaceTypes/{interfaceType}/outgoingLinkTypes/{interfaceLinkType}
|
|
124
|
+
*/
|
|
125
|
+
export function getOutgoingInterfaceLinkType($ctx, ...args) {
|
|
126
|
+
return $foundryPlatformFetch($ctx, _getOutgoingInterfaceLinkType, ...args);
|
|
127
|
+
}
|
|
130
128
|
//# sourceMappingURL=OntologyInterface.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OntologyInterface.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_list","list","$ctx","args","_get","get","_search","search","_aggregate","aggregate"],"sources":["OntologyInterface.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}/interfaceTypes\", 2];\n/**\n *
|
|
1
|
+
{"version":3,"file":"OntologyInterface.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_list","list","$ctx","args","_get","get","_search","search","_aggregate","aggregate","_listOutgoingInterfaceLinkTypes","listOutgoingInterfaceLinkTypes","_getOutgoingInterfaceLinkType","getOutgoingInterfaceLinkType"],"sources":["OntologyInterface.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}/interfaceTypes\", 2];\n/**\n * Lists the interface 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 * @beta\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/interfaceTypes\n */\nexport function list($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _list, ...args);\n}\nconst _get = [0, \"/v2/ontologies/{0}/interfaceTypes/{1}\", 2];\n/**\n * Gets a specific interface type with the given API name.\n *\n * @beta\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/interfaceTypes/{interfaceType}\n */\nexport function get($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _get, ...args);\n}\nconst _search = [1, \"/v2/ontologies/{0}/interfaces/{1}/search\", 3];\n/**\n * :::callout{theme=warning title=Warning}\n * This endpoint will be removed once TS OSDK is updated to use `objectSets/loadObjects` with interface object\n * sets.\n * :::\n * Search for objects in the specified ontology and interface type. Any properties specified in the \"where\" or\n * \"orderBy\" parameters must be shared property type API names defined on the interface. The following search\n * queries are supported:\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 * | startsWith | The provided property starts with the provided term. | string |\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 terms 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 *\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 * Attempting to use an unsupported query will result in a validation error. Third-party applications using this\n * 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}/interfaces/{interfaceType}/search\n */\nexport function search($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _search, ...args);\n}\nconst _aggregate = [1, \"/v2/ontologies/{0}/interfaces/{1}/aggregate\", 3];\n/**\n * :::callout{theme=warning title=Warning}\n * This endpoint will be removed once TS OSDK is updated to use `objectSets/aggregate` with interface object\n * sets.\n * :::\n * Perform functions on object fields in the specified ontology and of the specified interface type. Any\n * properties specified in the query must be shared property type API names defined on the interface.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/interfaces/{interfaceType}/aggregate\n */\nexport function aggregate($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _aggregate, ...args);\n}\nconst _listOutgoingInterfaceLinkTypes = [0, \"/v2/ontologies/{0}/interfaceTypes/{1}/outgoingLinkTypes\", 2];\n/**\n * List the outgoing interface link types for an interface type.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/interfaceTypes/{interfaceType}/outgoingLinkTypes\n */\nexport function listOutgoingInterfaceLinkTypes($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listOutgoingInterfaceLinkTypes, ...args);\n}\nconst _getOutgoingInterfaceLinkType = [0, \"/v2/ontologies/{0}/interfaceTypes/{1}/outgoingLinkTypes/{2}\", 2];\n/**\n * Get an outgoing interface link type for an interface type.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/interfaceTypes/{interfaceType}/outgoingLinkTypes/{interfaceLinkType}\n */\nexport function getOutgoingInterfaceLinkType($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getOutgoingInterfaceLinkType, ...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,mCAAmC,EAAE,CAAC,CAAC;AACzD;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;AAC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