@osdk/foundry.ontologies 2.23.0 → 2.25.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 +140 -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 +2 -2
- package/build/browser/index.d.ts.map +1 -1
- package/build/browser/public/Action.d.ts +10 -15
- package/build/browser/public/Action.d.ts.map +1 -1
- package/build/browser/public/Action.js +0 -9
- package/build/browser/public/Action.js.map +1 -1
- package/build/browser/public/ActionTypeV2.d.ts +9 -8
- package/build/browser/public/ActionTypeV2.d.ts.map +1 -1
- package/build/browser/public/ActionTypeV2.js +2 -8
- 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 +19 -6
- package/build/browser/public/MediaReferenceProperty.d.ts.map +1 -1
- package/build/browser/public/MediaReferenceProperty.js +14 -6
- package/build/browser/public/MediaReferenceProperty.js.map +1 -1
- package/build/browser/public/ObjectTypeV2.d.ts +13 -14
- package/build/browser/public/ObjectTypeV2.d.ts.map +1 -1
- package/build/browser/public/ObjectTypeV2.js +2 -14
- package/build/browser/public/ObjectTypeV2.js.map +1 -1
- package/build/browser/public/OntologyInterface.d.ts +35 -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/OntologyV2.d.ts +7 -5
- package/build/browser/public/OntologyV2.d.ts.map +1 -1
- package/build/browser/public/OntologyV2.js +1 -5
- package/build/browser/public/OntologyV2.js.map +1 -1
- package/build/browser/public/Query.d.ts +2 -5
- package/build/browser/public/Query.d.ts.map +1 -1
- package/build/browser/public/Query.js +0 -3
- 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 +140 -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 +2 -2
- package/build/esm/index.d.ts.map +1 -1
- package/build/esm/public/Action.d.ts +10 -15
- package/build/esm/public/Action.d.ts.map +1 -1
- package/build/esm/public/Action.js +0 -9
- package/build/esm/public/Action.js.map +1 -1
- package/build/esm/public/ActionTypeV2.d.ts +9 -8
- package/build/esm/public/ActionTypeV2.d.ts.map +1 -1
- package/build/esm/public/ActionTypeV2.js +2 -8
- 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 +19 -6
- package/build/esm/public/MediaReferenceProperty.d.ts.map +1 -1
- package/build/esm/public/MediaReferenceProperty.js +14 -6
- package/build/esm/public/MediaReferenceProperty.js.map +1 -1
- package/build/esm/public/ObjectTypeV2.d.ts +13 -14
- package/build/esm/public/ObjectTypeV2.d.ts.map +1 -1
- package/build/esm/public/ObjectTypeV2.js +2 -14
- package/build/esm/public/ObjectTypeV2.js.map +1 -1
- package/build/esm/public/OntologyInterface.d.ts +35 -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/OntologyV2.d.ts +7 -5
- package/build/esm/public/OntologyV2.d.ts.map +1 -1
- package/build/esm/public/OntologyV2.js +1 -5
- package/build/esm/public/OntologyV2.js.map +1 -1
- package/build/esm/public/Query.d.ts +2 -5
- package/build/esm/public/Query.d.ts.map +1 -1
- package/build/esm/public/Query.js +0 -3
- 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
|
@@ -23,9 +23,6 @@ const _upload = [1, "/v2/ontologies/attachments/upload", 7, "*/*"];
|
|
|
23
23
|
* a biweekly basis.
|
|
24
24
|
* The body of the request must contain the binary content of the file and the `Content-Type` header must be `application/octet-stream`.
|
|
25
25
|
*
|
|
26
|
-
* Third-party applications using this endpoint via OAuth2 must request the
|
|
27
|
-
* following operation scopes: `api:ontologies-write`.
|
|
28
|
-
*
|
|
29
26
|
* @public
|
|
30
27
|
*
|
|
31
28
|
* Required Scopes: [api:ontologies-write]
|
|
@@ -43,9 +40,6 @@ const _read = [0, "/v2/ontologies/attachments/{0}/content",,, "*/*"];
|
|
|
43
40
|
/**
|
|
44
41
|
* Get the content of an attachment.
|
|
45
42
|
*
|
|
46
|
-
* Third-party applications using this endpoint via OAuth2 must request the
|
|
47
|
-
* following operation scopes: `api:ontologies-read`.
|
|
48
|
-
*
|
|
49
43
|
* @public
|
|
50
44
|
*
|
|
51
45
|
* Required Scopes: [api:ontologies-read]
|
|
@@ -58,9 +52,6 @@ const _get = [0, "/v2/ontologies/attachments/{0}"];
|
|
|
58
52
|
/**
|
|
59
53
|
* Get the metadata of an attachment.
|
|
60
54
|
*
|
|
61
|
-
* Third-party applications using this endpoint via OAuth2 must request the
|
|
62
|
-
* following operation scopes: `api:ontologies-read`.
|
|
63
|
-
*
|
|
64
55
|
* @public
|
|
65
56
|
*
|
|
66
57
|
* Required Scopes: [api:ontologies-read]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Attachment.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_upload","upload","$ctx","args","headerParams","type","size","toString","_read","read","_get","get"],"sources":["Attachment.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _upload = [1, \"/v2/ontologies/attachments/upload\", 7, \"*/*\"];\n/**\n * Upload an attachment to use in an action. Any attachment which has not been linked to an object via\n * an action within one hour after upload will be removed.\n * Previously mapped attachments which are not connected to any object anymore are also removed on\n * a biweekly basis.\n * The body of the request must contain the binary content of the file and the `Content-Type` header must be `application/octet-stream`.\n *\n *
|
|
1
|
+
{"version":3,"file":"Attachment.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_upload","upload","$ctx","args","headerParams","type","size","toString","_read","read","_get","get"],"sources":["Attachment.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _upload = [1, \"/v2/ontologies/attachments/upload\", 7, \"*/*\"];\n/**\n * Upload an attachment to use in an action. Any attachment which has not been linked to an object via\n * an action within one hour after upload will be removed.\n * Previously mapped attachments which are not connected to any object anymore are also removed on\n * a biweekly basis.\n * The body of the request must contain the binary content of the file and the `Content-Type` header must be `application/octet-stream`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-write]\n * URL: /v2/ontologies/attachments/upload\n */\nexport function upload($ctx, ...args) {\n const headerParams = {\n ...args[2],\n \"Content-Type\": args[2]?.[\"Content-Type\"] ?? args[0].type,\n \"Content-Length\": args[0].size.toString(),\n };\n return $foundryPlatformFetch($ctx, _upload, args[0], args[1], headerParams);\n}\nconst _read = [0, \"/v2/ontologies/attachments/{0}/content\", , , \"*/*\"];\n/**\n * Get the content of an attachment.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/attachments/{attachmentRid}/content\n */\nexport function read($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _read, ...args);\n}\nconst _get = [0, \"/v2/ontologies/attachments/{0}\"];\n/**\n * Get the metadata of an attachment.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/attachments/{attachmentRid}\n */\nexport function get($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _get, ...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,OAAO,GAAG,CAAC,CAAC,EAAE,mCAAmC,EAAE,CAAC,EAAE,KAAK,CAAC;AAClE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,MAAMA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAClC,MAAMC,YAAY,GAAG;IACjB,GAAGD,IAAI,CAAC,CAAC,CAAC;IACV,cAAc,EAAEA,IAAI,CAAC,CAAC,CAAC,GAAG,cAAc,CAAC,IAAIA,IAAI,CAAC,CAAC,CAAC,CAACE,IAAI;IACzD,gBAAgB,EAAEF,IAAI,CAAC,CAAC,CAAC,CAACG,IAAI,CAACC,QAAQ,CAAC;EAC5C,CAAC;EACD,OAAOR,qBAAqB,CAACG,IAAI,EAAEF,OAAO,EAAEG,IAAI,CAAC,CAAC,CAAC,EAAEA,IAAI,CAAC,CAAC,CAAC,EAAEC,YAAY,CAAC;AAC/E;AACA,MAAMI,KAAK,GAAG,CAAC,CAAC,EAAE,wCAAwC,IAAM,KAAK,CAAC;AACtE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,IAAIA,CAACP,IAAI,EAAE,GAAGC,IAAI,EAAE;EAChC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEM,KAAK,EAAE,GAAGL,IAAI,CAAC;AACtD;AACA,MAAMO,IAAI,GAAG,CAAC,CAAC,EAAE,gCAAgC,CAAC;AAClD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,GAAGA,CAACT,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC/B,OAAOJ,qBAAqB,CAACG,IAAI,EAAEQ,IAAI,EAAE,GAAGP,IAAI,CAAC;AACrD","ignoreList":[]}
|
|
@@ -4,9 +4,6 @@ import type * as _Ontologies from "../_components.js";
|
|
|
4
4
|
/**
|
|
5
5
|
* Get the metadata of attachments parented to the given object.
|
|
6
6
|
*
|
|
7
|
-
* Third-party applications using this endpoint via OAuth2 must request the
|
|
8
|
-
* following operation scopes: `api:ontologies-read`.
|
|
9
|
-
*
|
|
10
7
|
* @public
|
|
11
8
|
*
|
|
12
9
|
* Required Scopes: [api:ontologies-read]
|
|
@@ -18,16 +15,13 @@ export declare function getAttachment($ctx: $Client | $ClientContext | $OldClien
|
|
|
18
15
|
primaryKey: _Ontologies.PropertyValueEscapedString,
|
|
19
16
|
property: _Ontologies.PropertyApiName,
|
|
20
17
|
$queryParams?: {
|
|
21
|
-
|
|
22
|
-
|
|
18
|
+
sdkPackageRid?: _Ontologies.SdkPackageRid | undefined;
|
|
19
|
+
sdkVersion?: _Ontologies.SdkVersion | undefined;
|
|
23
20
|
}
|
|
24
21
|
]): Promise<_Ontologies.AttachmentMetadataResponse>;
|
|
25
22
|
/**
|
|
26
23
|
* Get the metadata of a particular attachment in an attachment list.
|
|
27
24
|
*
|
|
28
|
-
* Third-party applications using this endpoint via OAuth2 must request the
|
|
29
|
-
* following operation scopes: `api:ontologies-read`.
|
|
30
|
-
*
|
|
31
25
|
* @public
|
|
32
26
|
*
|
|
33
27
|
* Required Scopes: [api:ontologies-read]
|
|
@@ -40,16 +34,13 @@ export declare function getAttachmentByRid($ctx: $Client | $ClientContext | $Old
|
|
|
40
34
|
property: _Ontologies.PropertyApiName,
|
|
41
35
|
attachmentRid: _Ontologies.AttachmentRid,
|
|
42
36
|
$queryParams?: {
|
|
43
|
-
|
|
44
|
-
|
|
37
|
+
sdkPackageRid?: _Ontologies.SdkPackageRid | undefined;
|
|
38
|
+
sdkVersion?: _Ontologies.SdkVersion | undefined;
|
|
45
39
|
}
|
|
46
40
|
]): Promise<_Ontologies.AttachmentV2>;
|
|
47
41
|
/**
|
|
48
42
|
* Get the content of an attachment.
|
|
49
43
|
*
|
|
50
|
-
* Third-party applications using this endpoint via OAuth2 must request the
|
|
51
|
-
* following operation scopes: `api:ontologies-read`.
|
|
52
|
-
*
|
|
53
44
|
* @public
|
|
54
45
|
*
|
|
55
46
|
* Required Scopes: [api:ontologies-read]
|
|
@@ -61,8 +52,8 @@ export declare function readAttachment($ctx: $Client | $ClientContext | $OldClie
|
|
|
61
52
|
primaryKey: _Ontologies.PropertyValueEscapedString,
|
|
62
53
|
property: _Ontologies.PropertyApiName,
|
|
63
54
|
$queryParams?: {
|
|
64
|
-
|
|
65
|
-
|
|
55
|
+
sdkPackageRid?: _Ontologies.SdkPackageRid | undefined;
|
|
56
|
+
sdkVersion?: _Ontologies.SdkVersion | undefined;
|
|
66
57
|
}
|
|
67
58
|
]): Promise<Response>;
|
|
68
59
|
/**
|
|
@@ -70,9 +61,6 @@ export declare function readAttachment($ctx: $Client | $ClientContext | $OldClie
|
|
|
70
61
|
*
|
|
71
62
|
* The RID must exist in the attachment array of the property.
|
|
72
63
|
*
|
|
73
|
-
* Third-party applications using this endpoint via OAuth2 must request the
|
|
74
|
-
* following operation scopes: `api:ontologies-read`.
|
|
75
|
-
*
|
|
76
64
|
* @public
|
|
77
65
|
*
|
|
78
66
|
* Required Scopes: [api:ontologies-read]
|
|
@@ -85,8 +73,8 @@ export declare function readAttachmentByRid($ctx: $Client | $ClientContext | $Ol
|
|
|
85
73
|
property: _Ontologies.PropertyApiName,
|
|
86
74
|
attachmentRid: _Ontologies.AttachmentRid,
|
|
87
75
|
$queryParams?: {
|
|
88
|
-
|
|
89
|
-
|
|
76
|
+
sdkPackageRid?: _Ontologies.SdkPackageRid | undefined;
|
|
77
|
+
sdkVersion?: _Ontologies.SdkVersion | undefined;
|
|
90
78
|
}
|
|
91
79
|
]): Promise<Response>;
|
|
92
80
|
//# sourceMappingURL=AttachmentPropertyV2.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AttachmentPropertyV2.d.ts","sourceRoot":"","sources":["../../../src/public/AttachmentPropertyV2.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;AAiBtD
|
|
1
|
+
{"version":3,"file":"AttachmentPropertyV2.d.ts","sourceRoot":"","sources":["../../../src/public/AttachmentPropertyV2.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;AAiBtD;;;;;;;GAOG;AACH,wBAAgB,aAAa,CAC3B,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,UAAU,EAAE,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AC,QAAQ,CAAC,CAEnB;AAsBD;;;;;;;;;GASG;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,UAAU,EAAE,WAAW,CAAC,0BAA0B;IAClD,QAAQ,EAAE,WAAW,CAAC,eAAe;IACrC,aAAa,EAAE,WAAW,CAAC,aAAa;IAExC,YAAY,CAAC,EAAE;QACb,aAAa,CAAC,EAAE,WAAW,CAAC,aAAa,GAAG,SAAS,CAAC;QACtD,UAAU,CAAC,EAAE,WAAW,CAAC,UAAU,GAAG,SAAS,CAAC;KACjD;CACF,GACA,OAAO,CAAC,QAAQ,CAAC,CAEnB"}
|
|
@@ -19,9 +19,6 @@ const _getAttachment = [0, "/v2/ontologies/{0}/objects/{1}/{2}/attachments/{3}",
|
|
|
19
19
|
/**
|
|
20
20
|
* Get the metadata of attachments parented to the given object.
|
|
21
21
|
*
|
|
22
|
-
* Third-party applications using this endpoint via OAuth2 must request the
|
|
23
|
-
* following operation scopes: `api:ontologies-read`.
|
|
24
|
-
*
|
|
25
22
|
* @public
|
|
26
23
|
*
|
|
27
24
|
* Required Scopes: [api:ontologies-read]
|
|
@@ -34,9 +31,6 @@ const _getAttachmentByRid = [0, "/v2/ontologies/{0}/objects/{1}/{2}/attachments/
|
|
|
34
31
|
/**
|
|
35
32
|
* Get the metadata of a particular attachment in an attachment list.
|
|
36
33
|
*
|
|
37
|
-
* Third-party applications using this endpoint via OAuth2 must request the
|
|
38
|
-
* following operation scopes: `api:ontologies-read`.
|
|
39
|
-
*
|
|
40
34
|
* @public
|
|
41
35
|
*
|
|
42
36
|
* Required Scopes: [api:ontologies-read]
|
|
@@ -49,9 +43,6 @@ const _readAttachment = [0, "/v2/ontologies/{0}/objects/{1}/{2}/attachments/{3}/
|
|
|
49
43
|
/**
|
|
50
44
|
* Get the content of an attachment.
|
|
51
45
|
*
|
|
52
|
-
* Third-party applications using this endpoint via OAuth2 must request the
|
|
53
|
-
* following operation scopes: `api:ontologies-read`.
|
|
54
|
-
*
|
|
55
46
|
* @public
|
|
56
47
|
*
|
|
57
48
|
* Required Scopes: [api:ontologies-read]
|
|
@@ -66,9 +57,6 @@ const _readAttachmentByRid = [0, "/v2/ontologies/{0}/objects/{1}/{2}/attachments
|
|
|
66
57
|
*
|
|
67
58
|
* The RID must exist in the attachment array of the property.
|
|
68
59
|
*
|
|
69
|
-
* Third-party applications using this endpoint via OAuth2 must request the
|
|
70
|
-
* following operation scopes: `api:ontologies-read`.
|
|
71
|
-
*
|
|
72
60
|
* @public
|
|
73
61
|
*
|
|
74
62
|
* Required Scopes: [api:ontologies-read]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AttachmentPropertyV2.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_getAttachment","getAttachment","$ctx","args","_getAttachmentByRid","getAttachmentByRid","_readAttachment","readAttachment","_readAttachmentByRid","readAttachmentByRid"],"sources":["AttachmentPropertyV2.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 _getAttachment = [0, \"/v2/ontologies/{0}/objects/{1}/{2}/attachments/{3}\", 2];\n/**\n * Get the metadata of attachments parented to the given object.\n *\n *
|
|
1
|
+
{"version":3,"file":"AttachmentPropertyV2.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_getAttachment","getAttachment","$ctx","args","_getAttachmentByRid","getAttachmentByRid","_readAttachment","readAttachment","_readAttachmentByRid","readAttachmentByRid"],"sources":["AttachmentPropertyV2.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 _getAttachment = [0, \"/v2/ontologies/{0}/objects/{1}/{2}/attachments/{3}\", 2];\n/**\n * Get the metadata of attachments parented to the given object.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/attachments/{property}\n */\nexport function getAttachment($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getAttachment, ...args);\n}\nconst _getAttachmentByRid = [0, \"/v2/ontologies/{0}/objects/{1}/{2}/attachments/{3}/{4}\", 2];\n/**\n * Get the metadata of a particular attachment in an attachment list.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/attachments/{property}/{attachmentRid}\n */\nexport function getAttachmentByRid($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getAttachmentByRid, ...args);\n}\nconst _readAttachment = [\n 0,\n \"/v2/ontologies/{0}/objects/{1}/{2}/attachments/{3}/content\",\n 2,\n ,\n \"*/*\",\n];\n/**\n * Get the content of an attachment.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/attachments/{property}/content\n */\nexport function readAttachment($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _readAttachment, ...args);\n}\nconst _readAttachmentByRid = [\n 0,\n \"/v2/ontologies/{0}/objects/{1}/{2}/attachments/{3}/{4}/content\",\n 2,\n ,\n \"*/*\",\n];\n/**\n * Get the content of an attachment by its RID.\n *\n * The RID must exist in the attachment array of the property.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/attachments/{property}/{attachmentRid}/content\n */\nexport function readAttachmentByRid($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _readAttachmentByRid, ...args);\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,oBAAoB,IAAIC,qBAAqB,QAAQ,8BAA8B;AAC5F;AACA,MAAMC,cAAc,GAAG,CAAC,CAAC,EAAE,oDAAoD,EAAE,CAAC,CAAC;AACnF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,aAAaA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EACzC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,cAAc,EAAE,GAAGG,IAAI,CAAC;AAC/D;AACA,MAAMC,mBAAmB,GAAG,CAAC,CAAC,EAAE,wDAAwD,EAAE,CAAC,CAAC;AAC5F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,kBAAkBA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC9C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,mBAAmB,EAAE,GAAGD,IAAI,CAAC;AACpE;AACA,MAAMG,eAAe,GAAG,CACpB,CAAC,EACD,4DAA4D,EAC5D,CAAC,GAED,KAAK,CACR;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,cAAcA,CAACL,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC1C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEI,eAAe,EAAE,GAAGH,IAAI,CAAC;AAChE;AACA,MAAMK,oBAAoB,GAAG,CACzB,CAAC,EACD,gEAAgE,EAChE,CAAC,GAED,KAAK,CACR;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,mBAAmBA,CAACP,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC/C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEM,oBAAoB,EAAE,GAAGL,IAAI,CAAC;AACrE","ignoreList":[]}
|
|
@@ -4,12 +4,9 @@ import type * as _Ontologies from "../_components.js";
|
|
|
4
4
|
/**
|
|
5
5
|
* Decrypt the value of a ciphertext property.
|
|
6
6
|
*
|
|
7
|
-
* Third-party applications using this endpoint via OAuth2 must request the
|
|
8
|
-
* following operation scopes: `api:ontologies-read api:ontologies-decrypt-ciphertext`.
|
|
9
|
-
*
|
|
10
7
|
* @beta
|
|
11
8
|
*
|
|
12
|
-
* Required Scopes: [api:ontologies-read
|
|
9
|
+
* Required Scopes: [api:ontologies-read]
|
|
13
10
|
* URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/ciphertexts/{property}/decrypt
|
|
14
11
|
*/
|
|
15
12
|
export declare function decrypt($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CipherTextProperty.d.ts","sourceRoot":"","sources":["../../../src/public/CipherTextProperty.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;AAatD
|
|
1
|
+
{"version":3,"file":"CipherTextProperty.d.ts","sourceRoot":"","sources":["../../../src/public/CipherTextProperty.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;AAatD;;;;;;;GAOG;AACH,wBAAgB,OAAO,CACrB,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,UAAU,EAAE,WAAW,CAAC,0BAA0B;IAClD,QAAQ,EAAE,WAAW,CAAC,eAAe;CACtC,GACA,OAAO,CAAC,WAAW,CAAC,gBAAgB,CAAC,CAEvC"}
|
|
@@ -19,12 +19,9 @@ const _decrypt = [0, "/v2/ontologies/{0}/objects/{1}/{2}/ciphertexts/{3}/decrypt
|
|
|
19
19
|
/**
|
|
20
20
|
* Decrypt the value of a ciphertext property.
|
|
21
21
|
*
|
|
22
|
-
* Third-party applications using this endpoint via OAuth2 must request the
|
|
23
|
-
* following operation scopes: `api:ontologies-read api:ontologies-decrypt-ciphertext`.
|
|
24
|
-
*
|
|
25
22
|
* @beta
|
|
26
23
|
*
|
|
27
|
-
* Required Scopes: [api:ontologies-read
|
|
24
|
+
* Required Scopes: [api:ontologies-read]
|
|
28
25
|
* URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/ciphertexts/{property}/decrypt
|
|
29
26
|
*/
|
|
30
27
|
export function decrypt($ctx, ...args) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CipherTextProperty.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_decrypt","decrypt","$ctx","args"],"sources":["CipherTextProperty.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 _decrypt = [0, \"/v2/ontologies/{0}/objects/{1}/{2}/ciphertexts/{3}/decrypt\"];\n/**\n * Decrypt the value of a ciphertext property.\n *\n *
|
|
1
|
+
{"version":3,"file":"CipherTextProperty.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_decrypt","decrypt","$ctx","args"],"sources":["CipherTextProperty.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 _decrypt = [0, \"/v2/ontologies/{0}/objects/{1}/{2}/ciphertexts/{3}/decrypt\"];\n/**\n * Decrypt the value of a ciphertext property.\n *\n * @beta\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/ciphertexts/{property}/decrypt\n */\nexport function decrypt($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _decrypt, ...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,QAAQ,GAAG,CAAC,CAAC,EAAE,4DAA4D,CAAC;AAClF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,OAAOA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EACnC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,QAAQ,EAAE,GAAGG,IAAI,CAAC;AACzD","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]
|
|
@@ -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,WAAW,MAAM,mBAAmB,CAAC;AAwBtD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBA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,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]
|
|
@@ -65,4 +59,23 @@ export declare function upload($ctx: $Client | $ClientContext | $OldClient | $Ol
|
|
|
65
59
|
preview?: _Core.PreviewMode | undefined;
|
|
66
60
|
}
|
|
67
61
|
]): Promise<_Core.MediaReference>;
|
|
62
|
+
/**
|
|
63
|
+
* 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.
|
|
64
|
+
*
|
|
65
|
+
* The body of the request must contain the binary content of the file and the `Content-Type` header must be `application/octet-stream`.
|
|
66
|
+
*
|
|
67
|
+
* @alpha
|
|
68
|
+
*
|
|
69
|
+
* Required Scopes: [api:ontologies-read, api:ontologies-write]
|
|
70
|
+
* URL: /v2/ontologies/{ontology}/actions/{actionType}/media/upload
|
|
71
|
+
*/
|
|
72
|
+
export declare function uploadMedia($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
73
|
+
ontology: _Ontologies.OntologyIdentifier,
|
|
74
|
+
actionType: _Ontologies.ActionTypeApiName,
|
|
75
|
+
$body: Blob,
|
|
76
|
+
$queryParams?: {
|
|
77
|
+
mediaItemPath?: _Core.MediaItemPath | undefined;
|
|
78
|
+
preview?: _Core.PreviewMode | undefined;
|
|
79
|
+
}
|
|
80
|
+
]): Promise<_Core.MediaReference>;
|
|
68
81
|
//# sourceMappingURL=MediaReferenceProperty.d.ts.map
|
|
@@ -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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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]
|
|
@@ -58,4 +52,18 @@ const _upload = [1, "/v2/ontologies/{0}/objectTypes/{1}/media/{2}/upload", 3, "*
|
|
|
58
52
|
export function upload($ctx, ...args) {
|
|
59
53
|
return $foundryPlatformFetch($ctx, _upload, ...args);
|
|
60
54
|
}
|
|
55
|
+
const _uploadMedia = [1, "/v2/ontologies/{0}/actions/{1}/media/upload", 3, "*/*"];
|
|
56
|
+
/**
|
|
57
|
+
* 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.
|
|
58
|
+
*
|
|
59
|
+
* The body of the request must contain the binary content of the file and the `Content-Type` header must be `application/octet-stream`.
|
|
60
|
+
*
|
|
61
|
+
* @alpha
|
|
62
|
+
*
|
|
63
|
+
* Required Scopes: [api:ontologies-read, api:ontologies-write]
|
|
64
|
+
* URL: /v2/ontologies/{ontology}/actions/{actionType}/media/upload
|
|
65
|
+
*/
|
|
66
|
+
export function uploadMedia($ctx, ...args) {
|
|
67
|
+
return $foundryPlatformFetch($ctx, _uploadMedia, ...args);
|
|
68
|
+
}
|
|
61
69
|
//# sourceMappingURL=MediaReferenceProperty.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MediaReferenceProperty.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_getMediaContent","getMediaContent","$ctx","args","_getMediaMetadata","getMediaMetadata","_upload","upload"],"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]
|
|
@@ -35,13 +32,14 @@ export declare function list($ctx: $Client | $ClientContext | $OldClient | $OldC
|
|
|
35
32
|
*/
|
|
36
33
|
export declare function get($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
37
34
|
ontology: _Ontologies.OntologyIdentifier,
|
|
38
|
-
objectType: _Ontologies.ObjectTypeApiName
|
|
35
|
+
objectType: _Ontologies.ObjectTypeApiName,
|
|
36
|
+
$queryParams?: {
|
|
37
|
+
branch?: _Core.FoundryBranch | undefined;
|
|
38
|
+
}
|
|
39
39
|
]): Promise<_Ontologies.ObjectTypeV2>;
|
|
40
40
|
/**
|
|
41
41
|
* Gets the full metadata for a specific object type with the given API name.
|
|
42
42
|
*
|
|
43
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
|
|
44
|
-
*
|
|
45
43
|
* @alpha
|
|
46
44
|
*
|
|
47
45
|
* Required Scopes: [api:ontologies-read]
|
|
@@ -52,14 +50,14 @@ export declare function getFullMetadata($ctx: $Client | $ClientContext | $OldCli
|
|
|
52
50
|
objectType: _Ontologies.ObjectTypeApiName,
|
|
53
51
|
$queryParams?: {
|
|
54
52
|
preview?: _Core.PreviewMode | undefined;
|
|
53
|
+
sdkPackageRid?: _Ontologies.SdkPackageRid | undefined;
|
|
54
|
+
sdkVersion?: _Ontologies.SdkVersion | undefined;
|
|
55
|
+
branch?: _Core.FoundryBranch | undefined;
|
|
55
56
|
}
|
|
56
57
|
]): Promise<_Ontologies.ObjectTypeFullMetadata>;
|
|
57
58
|
/**
|
|
58
59
|
* List the outgoing links for an object type.
|
|
59
60
|
*
|
|
60
|
-
* Third-party applications using this endpoint via OAuth2 must request the
|
|
61
|
-
* following operation scopes: `api:ontologies-read`.
|
|
62
|
-
*
|
|
63
61
|
* @public
|
|
64
62
|
*
|
|
65
63
|
* Required Scopes: [api:ontologies-read]
|
|
@@ -69,6 +67,7 @@ export declare function listOutgoingLinkTypes($ctx: $Client | $ClientContext | $
|
|
|
69
67
|
ontology: _Ontologies.OntologyIdentifier,
|
|
70
68
|
objectType: _Ontologies.ObjectTypeApiName,
|
|
71
69
|
$queryParams?: {
|
|
70
|
+
branch?: _Core.FoundryBranch | undefined;
|
|
72
71
|
pageSize?: _Core.PageSize | undefined;
|
|
73
72
|
pageToken?: _Core.PageToken | undefined;
|
|
74
73
|
}
|
|
@@ -76,9 +75,6 @@ export declare function listOutgoingLinkTypes($ctx: $Client | $ClientContext | $
|
|
|
76
75
|
/**
|
|
77
76
|
* Get an outgoing link for an object type.
|
|
78
77
|
*
|
|
79
|
-
* Third-party applications using this endpoint via OAuth2 must request the
|
|
80
|
-
* following operation scopes: `api:ontologies-read`.
|
|
81
|
-
*
|
|
82
78
|
* @public
|
|
83
79
|
*
|
|
84
80
|
* Required Scopes: [api:ontologies-read]
|
|
@@ -87,6 +83,9 @@ export declare function listOutgoingLinkTypes($ctx: $Client | $ClientContext | $
|
|
|
87
83
|
export declare function getOutgoingLinkType($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
88
84
|
ontology: _Ontologies.OntologyIdentifier,
|
|
89
85
|
objectType: _Ontologies.ObjectTypeApiName,
|
|
90
|
-
linkType: _Ontologies.LinkTypeApiName
|
|
86
|
+
linkType: _Ontologies.LinkTypeApiName,
|
|
87
|
+
$queryParams?: {
|
|
88
|
+
branch?: _Core.FoundryBranch | undefined;
|
|
89
|
+
}
|
|
91
90
|
]): Promise<_Ontologies.LinkTypeSideV2>;
|
|
92
91
|
//# sourceMappingURL=ObjectTypeV2.d.ts.map
|
|
@@ -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,"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