@osdk/internal.foundry.ontologiesv2 2.11.0 → 2.13.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 +25 -0
- package/build/browser/public/Action.d.ts +19 -19
- package/build/browser/public/Action.d.ts.map +1 -1
- package/build/browser/public/ActionTypeV2.d.ts +6 -5
- package/build/browser/public/ActionTypeV2.d.ts.map +1 -1
- package/build/browser/public/Attachment.d.ts +4 -3
- package/build/browser/public/Attachment.d.ts.map +1 -1
- package/build/browser/public/AttachmentPropertyV2.d.ts +29 -29
- package/build/browser/public/AttachmentPropertyV2.d.ts.map +1 -1
- package/build/browser/public/LinkedObjectV2.d.ts +19 -18
- package/build/browser/public/LinkedObjectV2.d.ts.map +1 -1
- package/build/browser/public/MediaReferenceProperty.d.ts +23 -22
- package/build/browser/public/MediaReferenceProperty.d.ts.map +1 -1
- package/build/browser/public/MediaReferenceProperty.js +6 -6
- package/build/browser/public/MediaReferenceProperty.js.map +1 -1
- package/build/browser/public/ObjectTypeV2.d.ts +16 -15
- package/build/browser/public/ObjectTypeV2.d.ts.map +1 -1
- package/build/browser/public/OntologyInterface.d.ts +14 -13
- package/build/browser/public/OntologyInterface.d.ts.map +1 -1
- package/build/browser/public/OntologyObjectSet.d.ts +28 -26
- package/build/browser/public/OntologyObjectSet.d.ts.map +1 -1
- package/build/browser/public/OntologyObjectV2.d.ts +32 -31
- package/build/browser/public/OntologyObjectV2.d.ts.map +1 -1
- package/build/browser/public/OntologyV2.d.ts +4 -4
- package/build/browser/public/OntologyV2.d.ts.map +1 -1
- package/build/browser/public/Query.d.ts +7 -7
- package/build/browser/public/Query.d.ts.map +1 -1
- package/build/browser/public/QueryType.d.ts +6 -5
- package/build/browser/public/QueryType.d.ts.map +1 -1
- package/build/browser/public/TimeSeriesPropertyV2.d.ts +23 -22
- package/build/browser/public/TimeSeriesPropertyV2.d.ts.map +1 -1
- package/build/browser/public/TimeSeriesValueBankProperty.d.ts +15 -15
- package/build/browser/public/TimeSeriesValueBankProperty.d.ts.map +1 -1
- package/build/esm/public/Action.d.ts +19 -19
- package/build/esm/public/Action.d.ts.map +1 -1
- package/build/esm/public/ActionTypeV2.d.ts +6 -5
- package/build/esm/public/ActionTypeV2.d.ts.map +1 -1
- package/build/esm/public/Attachment.d.ts +4 -3
- package/build/esm/public/Attachment.d.ts.map +1 -1
- package/build/esm/public/AttachmentPropertyV2.d.ts +29 -29
- package/build/esm/public/AttachmentPropertyV2.d.ts.map +1 -1
- package/build/esm/public/LinkedObjectV2.d.ts +19 -18
- package/build/esm/public/LinkedObjectV2.d.ts.map +1 -1
- package/build/esm/public/MediaReferenceProperty.d.ts +23 -22
- package/build/esm/public/MediaReferenceProperty.d.ts.map +1 -1
- package/build/esm/public/MediaReferenceProperty.js +6 -6
- package/build/esm/public/MediaReferenceProperty.js.map +1 -1
- package/build/esm/public/ObjectTypeV2.d.ts +16 -15
- package/build/esm/public/ObjectTypeV2.d.ts.map +1 -1
- package/build/esm/public/OntologyInterface.d.ts +14 -13
- package/build/esm/public/OntologyInterface.d.ts.map +1 -1
- package/build/esm/public/OntologyObjectSet.d.ts +28 -26
- package/build/esm/public/OntologyObjectSet.d.ts.map +1 -1
- package/build/esm/public/OntologyObjectV2.d.ts +32 -31
- package/build/esm/public/OntologyObjectV2.d.ts.map +1 -1
- package/build/esm/public/OntologyV2.d.ts +4 -4
- package/build/esm/public/OntologyV2.d.ts.map +1 -1
- package/build/esm/public/Query.d.ts +7 -7
- package/build/esm/public/Query.d.ts.map +1 -1
- package/build/esm/public/QueryType.d.ts +6 -5
- package/build/esm/public/QueryType.d.ts.map +1 -1
- package/build/esm/public/TimeSeriesPropertyV2.d.ts +23 -22
- package/build/esm/public/TimeSeriesPropertyV2.d.ts.map +1 -1
- package/build/esm/public/TimeSeriesValueBankProperty.d.ts +15 -15
- package/build/esm/public/TimeSeriesValueBankProperty.d.ts.map +1 -1
- package/package.json +5 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,30 @@
|
|
|
1
1
|
# @osdk/internal.foundry.ontologiesv2
|
|
2
2
|
|
|
3
|
+
## 2.13.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 0d34388: Migrates components and errors from Core to Ontologies namespaces, and deprecates old components.
|
|
8
|
+
- b61dd32: Release a new version of the SDKs
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- Updated dependencies [0d34388]
|
|
13
|
+
- Updated dependencies [b61dd32]
|
|
14
|
+
- @osdk/internal.foundry.ontologies@2.13.0
|
|
15
|
+
- @osdk/internal.foundry.core@2.13.0
|
|
16
|
+
|
|
17
|
+
## 2.12.0
|
|
18
|
+
|
|
19
|
+
### Minor Changes
|
|
20
|
+
|
|
21
|
+
- ee52ff3: Updating platform sdks with vector property type and other improvements.
|
|
22
|
+
|
|
23
|
+
### Patch Changes
|
|
24
|
+
|
|
25
|
+
- Updated dependencies [ee52ff3]
|
|
26
|
+
- @osdk/internal.foundry.core@2.12.0
|
|
27
|
+
|
|
3
28
|
## 2.11.0
|
|
4
29
|
|
|
5
30
|
### Patch Changes
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type * as
|
|
1
|
+
import type * as _Ontologies from "@osdk/internal.foundry.ontologies";
|
|
2
2
|
import type { SharedClient as $OldClient, SharedClientContext as $OldClientContext } from "@osdk/shared.client";
|
|
3
3
|
import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client2";
|
|
4
4
|
/**
|
|
@@ -18,14 +18,14 @@ import type { SharedClient as $Client, SharedClientContext as $ClientContext } f
|
|
|
18
18
|
* URL: /v2/ontologies/{ontology}/actions/{action}/apply
|
|
19
19
|
*/
|
|
20
20
|
export declare function apply($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
21
|
-
ontology:
|
|
22
|
-
action:
|
|
23
|
-
$body:
|
|
21
|
+
ontology: _Ontologies.OntologyIdentifier,
|
|
22
|
+
action: _Ontologies.ActionTypeApiName,
|
|
23
|
+
$body: _Ontologies.ApplyActionRequestV2,
|
|
24
24
|
$queryParams?: {
|
|
25
|
-
artifactRepository?:
|
|
26
|
-
packageName?:
|
|
25
|
+
artifactRepository?: _Ontologies.ArtifactRepositoryRid | undefined;
|
|
26
|
+
packageName?: _Ontologies.SdkPackageName | undefined;
|
|
27
27
|
}
|
|
28
|
-
]): Promise<
|
|
28
|
+
]): Promise<_Ontologies.SyncApplyActionResponseV2>;
|
|
29
29
|
/**
|
|
30
30
|
* Applies an action using the given parameters.
|
|
31
31
|
*
|
|
@@ -43,14 +43,14 @@ export declare function apply($ctx: $Client | $ClientContext | $OldClient | $Old
|
|
|
43
43
|
* URL: /v2/ontologies/{ontology}/actions/{action}/applyAsync
|
|
44
44
|
*/
|
|
45
45
|
export declare function applyAsync($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
46
|
-
ontology:
|
|
47
|
-
action:
|
|
48
|
-
$body:
|
|
46
|
+
ontology: _Ontologies.OntologyIdentifier,
|
|
47
|
+
action: _Ontologies.ActionTypeApiName,
|
|
48
|
+
$body: _Ontologies.AsyncApplyActionRequestV2,
|
|
49
49
|
$queryParams?: {
|
|
50
|
-
artifactRepository?:
|
|
51
|
-
packageName?:
|
|
50
|
+
artifactRepository?: _Ontologies.ArtifactRepositoryRid | undefined;
|
|
51
|
+
packageName?: _Ontologies.SdkPackageName | undefined;
|
|
52
52
|
}
|
|
53
|
-
]): Promise<
|
|
53
|
+
]): Promise<_Ontologies.AsyncApplyActionResponseV2>;
|
|
54
54
|
/**
|
|
55
55
|
* Applies multiple actions (of the same Action Type) using the given parameters.
|
|
56
56
|
* Changes to the Ontology are eventually consistent and may take some time to be visible.
|
|
@@ -69,12 +69,12 @@ export declare function applyAsync($ctx: $Client | $ClientContext | $OldClient |
|
|
|
69
69
|
* URL: /v2/ontologies/{ontology}/actions/{action}/applyBatch
|
|
70
70
|
*/
|
|
71
71
|
export declare function applyBatch($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
72
|
-
ontology:
|
|
73
|
-
action:
|
|
74
|
-
$body:
|
|
72
|
+
ontology: _Ontologies.OntologyIdentifier,
|
|
73
|
+
action: _Ontologies.ActionTypeApiName,
|
|
74
|
+
$body: _Ontologies.BatchApplyActionRequestV2,
|
|
75
75
|
$queryParams?: {
|
|
76
|
-
artifactRepository?:
|
|
77
|
-
packageName?:
|
|
76
|
+
artifactRepository?: _Ontologies.ArtifactRepositoryRid | undefined;
|
|
77
|
+
packageName?: _Ontologies.SdkPackageName | undefined;
|
|
78
78
|
}
|
|
79
|
-
]): Promise<
|
|
79
|
+
]): Promise<_Ontologies.BatchApplyActionResponseV2>;
|
|
80
80
|
//# sourceMappingURL=Action.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Action.d.ts","sourceRoot":"","sources":["../../../src/public/Action.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,
|
|
1
|
+
{"version":3,"file":"Action.d.ts","sourceRoot":"","sources":["../../../src/public/Action.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,WAAW,MAAM,mCAAmC,CAAC;AACtE,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;AAkB9B;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,KAAK,CACnB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,WAAW,CAAC,kBAAkB;IACxC,MAAM,EAAE,WAAW,CAAC,iBAAiB;IACrC,KAAK,EAAE,WAAW,CAAC,oBAAoB;IACvC,YAAY,C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.ontologies";
|
|
2
3
|
import type { SharedClient as $OldClient, SharedClientContext as $OldClientContext } from "@osdk/shared.client";
|
|
3
4
|
import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client2";
|
|
4
5
|
/**
|
|
@@ -15,12 +16,12 @@ import type { SharedClient as $Client, SharedClientContext as $ClientContext } f
|
|
|
15
16
|
* URL: /v2/ontologies/{ontology}/actionTypes
|
|
16
17
|
*/
|
|
17
18
|
export declare function list($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
18
|
-
ontology:
|
|
19
|
+
ontology: _Ontologies.OntologyIdentifier,
|
|
19
20
|
$queryParams?: {
|
|
20
21
|
pageSize?: _Core.PageSize | undefined;
|
|
21
22
|
pageToken?: _Core.PageToken | undefined;
|
|
22
23
|
}
|
|
23
|
-
]): Promise<
|
|
24
|
+
]): Promise<_Ontologies.ListActionTypesResponseV2>;
|
|
24
25
|
/**
|
|
25
26
|
* Gets a specific action type with the given API name.
|
|
26
27
|
*
|
|
@@ -32,7 +33,7 @@ export declare function list($ctx: $Client | $ClientContext | $OldClient | $OldC
|
|
|
32
33
|
* URL: /v2/ontologies/{ontology}/actionTypes/{actionType}
|
|
33
34
|
*/
|
|
34
35
|
export declare function get($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
35
|
-
ontology:
|
|
36
|
-
actionType:
|
|
37
|
-
]): Promise<
|
|
36
|
+
ontology: _Ontologies.OntologyIdentifier,
|
|
37
|
+
actionType: _Ontologies.ActionTypeApiName
|
|
38
|
+
]): Promise<_Ontologies.ActionTypeV2>;
|
|
38
39
|
//# sourceMappingURL=ActionTypeV2.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActionTypeV2.d.ts","sourceRoot":"","sources":["../../../src/public/ActionTypeV2.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,6BAA6B,CAAC;AAC1D,OAAO,KAAK,EACV,YAAY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,WAAW,CAAC,kBAAkB;IACxC,UAAU,EAAE,WAAW,CAAC,iBAAiB;CAC1C,GACA,OAAO,CAAC,WAAW,CAAC,YAAY,CAAC,CAEnC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type * as _Core from "@osdk/internal.foundry.core";
|
|
2
|
+
import type * as _Ontologies from "@osdk/internal.foundry.ontologies";
|
|
2
3
|
import type { SharedClient as $OldClient, SharedClientContext as $OldClientContext } from "@osdk/shared.client";
|
|
3
4
|
import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client2";
|
|
4
5
|
/**
|
|
@@ -24,7 +25,7 @@ export declare function upload($ctx: $Client | $ClientContext | $OldClient | $Ol
|
|
|
24
25
|
$headerParams?: {
|
|
25
26
|
"Content-Type"?: _Core.ContentType;
|
|
26
27
|
}
|
|
27
|
-
]): Promise<
|
|
28
|
+
]): Promise<_Ontologies.AttachmentV2>;
|
|
28
29
|
/**
|
|
29
30
|
* Get the content of an attachment.
|
|
30
31
|
*
|
|
@@ -36,7 +37,7 @@ export declare function upload($ctx: $Client | $ClientContext | $OldClient | $Ol
|
|
|
36
37
|
* Required Scopes: [api:ontologies-read]
|
|
37
38
|
* URL: /v2/ontologies/attachments/{attachmentRid}/content
|
|
38
39
|
*/
|
|
39
|
-
export declare function read($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [attachmentRid:
|
|
40
|
+
export declare function read($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [attachmentRid: _Ontologies.AttachmentRid]): Promise<Response>;
|
|
40
41
|
/**
|
|
41
42
|
* Get the metadata of an attachment.
|
|
42
43
|
*
|
|
@@ -48,5 +49,5 @@ export declare function read($ctx: $Client | $ClientContext | $OldClient | $OldC
|
|
|
48
49
|
* Required Scopes: [api:ontologies-read]
|
|
49
50
|
* URL: /v2/ontologies/attachments/{attachmentRid}
|
|
50
51
|
*/
|
|
51
|
-
export declare function get($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [attachmentRid:
|
|
52
|
+
export declare function get($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [attachmentRid: _Ontologies.AttachmentRid]): Promise<_Ontologies.AttachmentV2>;
|
|
52
53
|
//# sourceMappingURL=Attachment.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Attachment.d.ts","sourceRoot":"","sources":["../../../src/public/Attachment.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,6BAA6B,CAAC;AAC1D,OAAO,KAAK,EACV,YAAY,IAAI,UAAU,EAC1B,mBAAmB,IAAI,iBAAiB,EACzC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,sBAAsB,CAAC;AAc9B;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,MAAM,CACpB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,KAAK,EAAE,IAAI;IACX,YAAY,EAAE;QAAE,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAA;KAAE;IAC1C,aAAa,CAAC,EAAE;QAAE,cAAc,CAAC,EAAE,KAAK,CAAC,WAAW,CAAA;KAAE;CACvD,GACA,OAAO,CAAC,
|
|
1
|
+
{"version":3,"file":"Attachment.d.ts","sourceRoot":"","sources":["../../../src/public/Attachment.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,6BAA6B,CAAC;AAC1D,OAAO,KAAK,KAAK,WAAW,MAAM,mCAAmC,CAAC;AACtE,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;AAc9B;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,MAAM,CACpB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,KAAK,EAAE,IAAI;IACX,YAAY,EAAE;QAAE,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAA;KAAE;IAC1C,aAAa,CAAC,EAAE;QAAE,cAAc,CAAC,EAAE,KAAK,CAAC,WAAW,CAAA;KAAE;CACvD,GACA,OAAO,CAAC,WAAW,CAAC,YAAY,CAAC,CAQnC;AAMD;;;;;;;;;;GAUG;AACH,wBAAgB,IAAI,CAClB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE,CAAC,aAAa,EAAE,WAAW,CAAC,aAAa,CAAC,GAClD,OAAO,CAAC,QAAQ,CAAC,CAEnB;AAQD;;;;;;;;;;GAUG;AACH,wBAAgB,GAAG,CACjB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE,CAAC,aAAa,EAAE,WAAW,CAAC,aAAa,CAAC,GAClD,OAAO,CAAC,WAAW,CAAC,YAAY,CAAC,CAEnC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type * as
|
|
1
|
+
import type * as _Ontologies from "@osdk/internal.foundry.ontologies";
|
|
2
2
|
import type { SharedClient as $OldClient, SharedClientContext as $OldClientContext } from "@osdk/shared.client";
|
|
3
3
|
import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client2";
|
|
4
4
|
/**
|
|
@@ -13,15 +13,15 @@ import type { SharedClient as $Client, SharedClientContext as $ClientContext } f
|
|
|
13
13
|
* URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/attachments/{property}
|
|
14
14
|
*/
|
|
15
15
|
export declare function getAttachment($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
16
|
-
ontology:
|
|
17
|
-
objectType:
|
|
18
|
-
primaryKey:
|
|
19
|
-
property:
|
|
16
|
+
ontology: _Ontologies.OntologyIdentifier,
|
|
17
|
+
objectType: _Ontologies.ObjectTypeApiName,
|
|
18
|
+
primaryKey: _Ontologies.PropertyValueEscapedString,
|
|
19
|
+
property: _Ontologies.PropertyApiName,
|
|
20
20
|
$queryParams?: {
|
|
21
|
-
artifactRepository?:
|
|
22
|
-
packageName?:
|
|
21
|
+
artifactRepository?: _Ontologies.ArtifactRepositoryRid | undefined;
|
|
22
|
+
packageName?: _Ontologies.SdkPackageName | undefined;
|
|
23
23
|
}
|
|
24
|
-
]): Promise<
|
|
24
|
+
]): Promise<_Ontologies.AttachmentMetadataResponse>;
|
|
25
25
|
/**
|
|
26
26
|
* Get the metadata of a particular attachment in an attachment list.
|
|
27
27
|
*
|
|
@@ -34,16 +34,16 @@ export declare function getAttachment($ctx: $Client | $ClientContext | $OldClien
|
|
|
34
34
|
* URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/attachments/{property}/{attachmentRid}
|
|
35
35
|
*/
|
|
36
36
|
export declare function getAttachmentByRid($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
37
|
-
ontology:
|
|
38
|
-
objectType:
|
|
39
|
-
primaryKey:
|
|
40
|
-
property:
|
|
41
|
-
attachmentRid:
|
|
37
|
+
ontology: _Ontologies.OntologyIdentifier,
|
|
38
|
+
objectType: _Ontologies.ObjectTypeApiName,
|
|
39
|
+
primaryKey: _Ontologies.PropertyValueEscapedString,
|
|
40
|
+
property: _Ontologies.PropertyApiName,
|
|
41
|
+
attachmentRid: _Ontologies.AttachmentRid,
|
|
42
42
|
$queryParams?: {
|
|
43
|
-
artifactRepository?:
|
|
44
|
-
packageName?:
|
|
43
|
+
artifactRepository?: _Ontologies.ArtifactRepositoryRid | undefined;
|
|
44
|
+
packageName?: _Ontologies.SdkPackageName | undefined;
|
|
45
45
|
}
|
|
46
|
-
]): Promise<
|
|
46
|
+
]): Promise<_Ontologies.AttachmentV2>;
|
|
47
47
|
/**
|
|
48
48
|
* Get the content of an attachment.
|
|
49
49
|
*
|
|
@@ -56,13 +56,13 @@ export declare function getAttachmentByRid($ctx: $Client | $ClientContext | $Old
|
|
|
56
56
|
* URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/attachments/{property}/content
|
|
57
57
|
*/
|
|
58
58
|
export declare function readAttachment($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
59
|
-
ontology:
|
|
60
|
-
objectType:
|
|
61
|
-
primaryKey:
|
|
62
|
-
property:
|
|
59
|
+
ontology: _Ontologies.OntologyIdentifier,
|
|
60
|
+
objectType: _Ontologies.ObjectTypeApiName,
|
|
61
|
+
primaryKey: _Ontologies.PropertyValueEscapedString,
|
|
62
|
+
property: _Ontologies.PropertyApiName,
|
|
63
63
|
$queryParams?: {
|
|
64
|
-
artifactRepository?:
|
|
65
|
-
packageName?:
|
|
64
|
+
artifactRepository?: _Ontologies.ArtifactRepositoryRid | undefined;
|
|
65
|
+
packageName?: _Ontologies.SdkPackageName | undefined;
|
|
66
66
|
}
|
|
67
67
|
]): Promise<Response>;
|
|
68
68
|
/**
|
|
@@ -79,14 +79,14 @@ export declare function readAttachment($ctx: $Client | $ClientContext | $OldClie
|
|
|
79
79
|
* URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/attachments/{property}/{attachmentRid}/content
|
|
80
80
|
*/
|
|
81
81
|
export declare function readAttachmentByRid($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
82
|
-
ontology:
|
|
83
|
-
objectType:
|
|
84
|
-
primaryKey:
|
|
85
|
-
property:
|
|
86
|
-
attachmentRid:
|
|
82
|
+
ontology: _Ontologies.OntologyIdentifier,
|
|
83
|
+
objectType: _Ontologies.ObjectTypeApiName,
|
|
84
|
+
primaryKey: _Ontologies.PropertyValueEscapedString,
|
|
85
|
+
property: _Ontologies.PropertyApiName,
|
|
86
|
+
attachmentRid: _Ontologies.AttachmentRid,
|
|
87
87
|
$queryParams?: {
|
|
88
|
-
artifactRepository?:
|
|
89
|
-
packageName?:
|
|
88
|
+
artifactRepository?: _Ontologies.ArtifactRepositoryRid | undefined;
|
|
89
|
+
packageName?: _Ontologies.SdkPackageName | undefined;
|
|
90
90
|
}
|
|
91
91
|
]): Promise<Response>;
|
|
92
92
|
//# 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,KAAK,
|
|
1
|
+
{"version":3,"file":"AttachmentPropertyV2.d.ts","sourceRoot":"","sources":["../../../src/public/AttachmentPropertyV2.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,WAAW,MAAM,mCAAmC,CAAC;AACtE,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;AAmB9B;;;;;;;;;;GAUG;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,WAAW,CAAC,0BAA0B;IAClD,QAAQ,EAAE,WAAW,CAAC,eAAe;IAErC,YAAY,CAAC,EAAE;QACb,kBAAkB,CAAC,EAAE,WAAW,CAAC,qBAAqB,GAAG,SAAS,CAAC;QACnE,WAAW,CAAC,EAAE,WAAW,CAAC,cAAc,GAAG,SAAS,CAAC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,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,kBAAkB,CAAC,EAAE,WAAW,CAAC,qBAAqB,GAAG,SAAS,CAAC;QACnE,WAAW,CAAC,EAAE,WAAW,CAAC,cAAc,GAAG,SAAS,CAAC;KACtD;CACF,GACA,OAAO,CAAC,QAAQ,CAAC,CAEnB"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type * as _Core from "@osdk/internal.foundry.core";
|
|
2
|
+
import type * as _Ontologies from "@osdk/internal.foundry.ontologies";
|
|
2
3
|
import type { SharedClient as $OldClient, SharedClientContext as $OldClientContext } from "@osdk/shared.client";
|
|
3
4
|
import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client2";
|
|
4
5
|
/**
|
|
@@ -24,20 +25,20 @@ import type { SharedClient as $Client, SharedClientContext as $ClientContext } f
|
|
|
24
25
|
* URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/links/{linkType}
|
|
25
26
|
*/
|
|
26
27
|
export declare function listLinkedObjects($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
27
|
-
ontology:
|
|
28
|
-
objectType:
|
|
29
|
-
primaryKey:
|
|
30
|
-
linkType:
|
|
28
|
+
ontology: _Ontologies.OntologyIdentifier,
|
|
29
|
+
objectType: _Ontologies.ObjectTypeApiName,
|
|
30
|
+
primaryKey: _Ontologies.PropertyValueEscapedString,
|
|
31
|
+
linkType: _Ontologies.LinkTypeApiName,
|
|
31
32
|
$queryParams: {
|
|
32
33
|
pageSize?: _Core.PageSize | undefined;
|
|
33
34
|
pageToken?: _Core.PageToken | undefined;
|
|
34
|
-
select: Array<
|
|
35
|
-
orderBy?:
|
|
36
|
-
artifactRepository?:
|
|
37
|
-
packageName?:
|
|
35
|
+
select: Array<_Ontologies.SelectedPropertyApiName>;
|
|
36
|
+
orderBy?: _Ontologies.OrderBy | undefined;
|
|
37
|
+
artifactRepository?: _Ontologies.ArtifactRepositoryRid | undefined;
|
|
38
|
+
packageName?: _Ontologies.SdkPackageName | undefined;
|
|
38
39
|
excludeRid?: boolean | undefined;
|
|
39
40
|
}
|
|
40
|
-
]): Promise<
|
|
41
|
+
]): Promise<_Ontologies.ListLinkedObjectsResponseV2>;
|
|
41
42
|
/**
|
|
42
43
|
* Get a specific linked object that originates from another object.
|
|
43
44
|
*
|
|
@@ -51,16 +52,16 @@ export declare function listLinkedObjects($ctx: $Client | $ClientContext | $OldC
|
|
|
51
52
|
* URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/links/{linkType}/{linkedObjectPrimaryKey}
|
|
52
53
|
*/
|
|
53
54
|
export declare function getLinkedObject($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
54
|
-
ontology:
|
|
55
|
-
objectType:
|
|
56
|
-
primaryKey:
|
|
57
|
-
linkType:
|
|
58
|
-
linkedObjectPrimaryKey:
|
|
55
|
+
ontology: _Ontologies.OntologyIdentifier,
|
|
56
|
+
objectType: _Ontologies.ObjectTypeApiName,
|
|
57
|
+
primaryKey: _Ontologies.PropertyValueEscapedString,
|
|
58
|
+
linkType: _Ontologies.LinkTypeApiName,
|
|
59
|
+
linkedObjectPrimaryKey: _Ontologies.PropertyValueEscapedString,
|
|
59
60
|
$queryParams: {
|
|
60
|
-
select: Array<
|
|
61
|
-
artifactRepository?:
|
|
62
|
-
packageName?:
|
|
61
|
+
select: Array<_Ontologies.SelectedPropertyApiName>;
|
|
62
|
+
artifactRepository?: _Ontologies.ArtifactRepositoryRid | undefined;
|
|
63
|
+
packageName?: _Ontologies.SdkPackageName | undefined;
|
|
63
64
|
excludeRid?: boolean | undefined;
|
|
64
65
|
}
|
|
65
|
-
]): Promise<
|
|
66
|
+
]): Promise<_Ontologies.OntologyObjectV2>;
|
|
66
67
|
//# 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,6BAA6B,CAAC;AAC1D,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;AAwB9B;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,iBAAiB,CAC/B,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,
|
|
1
|
+
{"version":3,"file":"LinkedObjectV2.d.ts","sourceRoot":"","sources":["../../../src/public/LinkedObjectV2.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,6BAA6B,CAAC;AAC1D,OAAO,KAAK,KAAK,WAAW,MAAM,mCAAmC,CAAC;AACtE,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;AAwB9B;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,iBAAiB,CAC/B,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,EA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|
|
1
1
|
import type * as _Core from "@osdk/internal.foundry.core";
|
|
2
|
+
import type * as _Ontologies from "@osdk/internal.foundry.ontologies";
|
|
2
3
|
import type { SharedClient as $OldClient, SharedClientContext as $OldClientContext } from "@osdk/shared.client";
|
|
3
4
|
import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client2";
|
|
4
5
|
/**
|
|
5
6
|
* Gets the content of a media item referenced by this property.
|
|
6
7
|
*
|
|
7
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scopes: `api:ontologies-read
|
|
8
|
+
* Third-party applications using this endpoint via OAuth2 must request the following operation scopes: `api:ontologies-read`.
|
|
8
9
|
*
|
|
9
10
|
* @beta
|
|
10
11
|
*
|
|
11
|
-
* Required Scopes: [api:ontologies-read
|
|
12
|
+
* Required Scopes: [api:ontologies-read]
|
|
12
13
|
* URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/media/{property}/content
|
|
13
14
|
*/
|
|
14
15
|
export declare function getMediaContent($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
15
|
-
ontology:
|
|
16
|
-
objectType:
|
|
17
|
-
primaryKey:
|
|
18
|
-
property:
|
|
16
|
+
ontology: _Ontologies.OntologyIdentifier,
|
|
17
|
+
objectType: _Ontologies.ObjectTypeApiName,
|
|
18
|
+
primaryKey: _Ontologies.PropertyValueEscapedString,
|
|
19
|
+
property: _Ontologies.PropertyApiName,
|
|
19
20
|
$queryParams?: {
|
|
20
|
-
artifactRepository?:
|
|
21
|
-
packageName?:
|
|
21
|
+
artifactRepository?: _Ontologies.ArtifactRepositoryRid | undefined;
|
|
22
|
+
packageName?: _Ontologies.SdkPackageName | undefined;
|
|
22
23
|
preview?: _Core.PreviewMode | undefined;
|
|
23
24
|
}
|
|
24
25
|
]): Promise<Response>;
|
|
25
26
|
/**
|
|
26
27
|
* Gets metadata about the media item referenced by this property.
|
|
27
28
|
*
|
|
28
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scopes: `api:ontologies-read
|
|
29
|
+
* Third-party applications using this endpoint via OAuth2 must request the following operation scopes: `api:ontologies-read`.
|
|
29
30
|
*
|
|
30
31
|
* @alpha
|
|
31
32
|
*
|
|
32
|
-
* Required Scopes: [api:ontologies-read
|
|
33
|
+
* Required Scopes: [api:ontologies-read]
|
|
33
34
|
* URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/media/{property}/metadata
|
|
34
35
|
*/
|
|
35
36
|
export declare function getMediaMetadata($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
36
|
-
ontology:
|
|
37
|
-
objectType:
|
|
38
|
-
primaryKey:
|
|
39
|
-
property:
|
|
37
|
+
ontology: _Ontologies.OntologyIdentifier,
|
|
38
|
+
objectType: _Ontologies.ObjectTypeApiName,
|
|
39
|
+
primaryKey: _Ontologies.PropertyValueEscapedString,
|
|
40
|
+
property: _Ontologies.PropertyApiName,
|
|
40
41
|
$queryParams?: {
|
|
41
|
-
artifactRepository?:
|
|
42
|
-
packageName?:
|
|
42
|
+
artifactRepository?: _Ontologies.ArtifactRepositoryRid | undefined;
|
|
43
|
+
packageName?: _Ontologies.SdkPackageName | undefined;
|
|
43
44
|
preview?: _Core.PreviewMode | undefined;
|
|
44
45
|
}
|
|
45
|
-
]): Promise<
|
|
46
|
+
]): Promise<_Ontologies.MediaMetadata>;
|
|
46
47
|
/**
|
|
47
48
|
* 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.
|
|
48
49
|
* The body of the request must contain the binary content of the file and the `Content-Type` header must be `application/octet-stream`.
|
|
49
50
|
*
|
|
50
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scopes: `api:ontologies-read api:
|
|
51
|
+
* Third-party applications using this endpoint via OAuth2 must request the following operation scopes: `api:ontologies-read api:ontologies-write`.
|
|
51
52
|
*
|
|
52
53
|
* @beta
|
|
53
54
|
*
|
|
54
|
-
* Required Scopes: [api:ontologies-read, api:
|
|
55
|
+
* Required Scopes: [api:ontologies-read, api:ontologies-write]
|
|
55
56
|
* URL: /v2/ontologies/{ontology}/objectTypes/{objectType}/media/{property}/upload
|
|
56
57
|
*/
|
|
57
58
|
export declare function upload($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
58
|
-
ontology:
|
|
59
|
-
objectType:
|
|
60
|
-
property:
|
|
59
|
+
ontology: _Ontologies.OntologyIdentifier,
|
|
60
|
+
objectType: _Ontologies.ObjectTypeApiName,
|
|
61
|
+
property: _Ontologies.PropertyApiName,
|
|
61
62
|
$body: Blob,
|
|
62
63
|
$queryParams?: {
|
|
63
64
|
mediaItemPath?: _Core.MediaItemPath | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MediaReferenceProperty.d.ts","sourceRoot":"","sources":["../../../src/public/MediaReferenceProperty.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,6BAA6B,CAAC;AAC1D,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;AAoB9B;;;;;;;;;GASG;AACH,wBAAgB,eAAe,CAC7B,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,
|
|
1
|
+
{"version":3,"file":"MediaReferenceProperty.d.ts","sourceRoot":"","sources":["../../../src/public/MediaReferenceProperty.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,6BAA6B,CAAC;AAC1D,OAAO,KAAK,KAAK,WAAW,MAAM,mCAAmC,CAAC;AACtE,OAAO,KAAK,EACV,YAAY,IAAI,UAAU,EAC1B,mBAAmB,IAAI,iBAAiB,EACzC,MAAM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BAAgB,MAAM,CACpB,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;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"}
|
|
@@ -19,11 +19,11 @@ 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
|
|
22
|
+
* Third-party applications using this endpoint via OAuth2 must request the following operation scopes: `api:ontologies-read`.
|
|
23
23
|
*
|
|
24
24
|
* @beta
|
|
25
25
|
*
|
|
26
|
-
* Required Scopes: [api:ontologies-read
|
|
26
|
+
* Required Scopes: [api:ontologies-read]
|
|
27
27
|
* URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/media/{property}/content
|
|
28
28
|
*/
|
|
29
29
|
export function getMediaContent($ctx, ...args) {
|
|
@@ -33,11 +33,11 @@ const _getMediaMetadata = [0, "/v2/ontologies/{0}/objects/{1}/{2}/media/{3}/meta
|
|
|
33
33
|
/**
|
|
34
34
|
* Gets metadata about the media item referenced by this property.
|
|
35
35
|
*
|
|
36
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scopes: `api:ontologies-read
|
|
36
|
+
* Third-party applications using this endpoint via OAuth2 must request the following operation scopes: `api:ontologies-read`.
|
|
37
37
|
*
|
|
38
38
|
* @alpha
|
|
39
39
|
*
|
|
40
|
-
* Required Scopes: [api:ontologies-read
|
|
40
|
+
* Required Scopes: [api:ontologies-read]
|
|
41
41
|
* URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/media/{property}/metadata
|
|
42
42
|
*/
|
|
43
43
|
export function getMediaMetadata($ctx, ...args) {
|
|
@@ -48,11 +48,11 @@ const _upload = [1, "/v2/ontologies/{0}/objectTypes/{1}/media/{2}/upload", 3, "*
|
|
|
48
48
|
* 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
49
|
* The body of the request must contain the binary content of the file and the `Content-Type` header must be `application/octet-stream`.
|
|
50
50
|
*
|
|
51
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scopes: `api:ontologies-read api:
|
|
51
|
+
* Third-party applications using this endpoint via OAuth2 must request the following operation scopes: `api:ontologies-read api:ontologies-write`.
|
|
52
52
|
*
|
|
53
53
|
* @beta
|
|
54
54
|
*
|
|
55
|
-
* Required Scopes: [api:ontologies-read, api:
|
|
55
|
+
* Required Scopes: [api:ontologies-read, api:ontologies-write]
|
|
56
56
|
* URL: /v2/ontologies/{ontology}/objectTypes/{objectType}/media/{property}/upload
|
|
57
57
|
*/
|
|
58
58
|
export function upload($ctx, ...args) {
|
|
@@ -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 * Third-party applications using this endpoint via OAuth2 must request the following operation scopes: `api:ontologies-read
|
|
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 * Third-party applications using this endpoint via OAuth2 must request the following operation scopes: `api:ontologies-read`.\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 * Third-party applications using this endpoint via OAuth2 must request the following operation scopes: `api:ontologies-read`.\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 * Third-party applications using this endpoint via OAuth2 must request the following operation scopes: `api:ontologies-read api:ontologies-write`.\n *\n * @beta\n *\n * Required Scopes: [api:ontologies-read, api:ontologies-write]\n * URL: /v2/ontologies/{ontology}/objectTypes/{objectType}/media/{property}/upload\n */\nexport function upload($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _upload, ...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;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;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;AACA;AACA,OAAO,SAASC,MAAMA,CAACL,IAAI,EAAE,GAAGC,IAAI,EAAE;EAClC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEI,OAAO,EAAE,GAAGH,IAAI,CAAC;AACxD","ignoreList":[]}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type * as _Core from "@osdk/internal.foundry.core";
|
|
2
|
+
import type * as _Ontologies from "@osdk/internal.foundry.ontologies";
|
|
2
3
|
import type { SharedClient as $OldClient, SharedClientContext as $OldClientContext } from "@osdk/shared.client";
|
|
3
4
|
import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client2";
|
|
4
5
|
/**
|
|
@@ -16,12 +17,12 @@ import type { SharedClient as $Client, SharedClientContext as $ClientContext } f
|
|
|
16
17
|
* URL: /v2/ontologies/{ontology}/objectTypes
|
|
17
18
|
*/
|
|
18
19
|
export declare function list($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
19
|
-
ontology:
|
|
20
|
+
ontology: _Ontologies.OntologyIdentifier,
|
|
20
21
|
$queryParams?: {
|
|
21
22
|
pageSize?: _Core.PageSize | undefined;
|
|
22
23
|
pageToken?: _Core.PageToken | undefined;
|
|
23
24
|
}
|
|
24
|
-
]): Promise<
|
|
25
|
+
]): Promise<_Ontologies.ListObjectTypesV2Response>;
|
|
25
26
|
/**
|
|
26
27
|
* Gets a specific object type with the given API name.
|
|
27
28
|
*
|
|
@@ -33,9 +34,9 @@ export declare function list($ctx: $Client | $ClientContext | $OldClient | $OldC
|
|
|
33
34
|
* URL: /v2/ontologies/{ontology}/objectTypes/{objectType}
|
|
34
35
|
*/
|
|
35
36
|
export declare function get($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
36
|
-
ontology:
|
|
37
|
-
objectType:
|
|
38
|
-
]): Promise<
|
|
37
|
+
ontology: _Ontologies.OntologyIdentifier,
|
|
38
|
+
objectType: _Ontologies.ObjectTypeApiName
|
|
39
|
+
]): Promise<_Ontologies.ObjectTypeV2>;
|
|
39
40
|
/**
|
|
40
41
|
* Gets the full metadata for a specific object type with the given API name.
|
|
41
42
|
*
|
|
@@ -47,12 +48,12 @@ export declare function get($ctx: $Client | $ClientContext | $OldClient | $OldCl
|
|
|
47
48
|
* URL: /v2/ontologies/{ontology}/objectTypes/{objectType}/fullMetadata
|
|
48
49
|
*/
|
|
49
50
|
export declare function getFullMetadata($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
50
|
-
ontology:
|
|
51
|
-
objectType:
|
|
51
|
+
ontology: _Ontologies.OntologyIdentifier,
|
|
52
|
+
objectType: _Ontologies.ObjectTypeApiName,
|
|
52
53
|
$queryParams?: {
|
|
53
54
|
preview?: _Core.PreviewMode | undefined;
|
|
54
55
|
}
|
|
55
|
-
]): Promise<
|
|
56
|
+
]): Promise<_Ontologies.ObjectTypeFullMetadata>;
|
|
56
57
|
/**
|
|
57
58
|
* List the outgoing links for an object type.
|
|
58
59
|
*
|
|
@@ -65,13 +66,13 @@ export declare function getFullMetadata($ctx: $Client | $ClientContext | $OldCli
|
|
|
65
66
|
* URL: /v2/ontologies/{ontology}/objectTypes/{objectType}/outgoingLinkTypes
|
|
66
67
|
*/
|
|
67
68
|
export declare function listOutgoingLinkTypes($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
68
|
-
ontology:
|
|
69
|
-
objectType:
|
|
69
|
+
ontology: _Ontologies.OntologyIdentifier,
|
|
70
|
+
objectType: _Ontologies.ObjectTypeApiName,
|
|
70
71
|
$queryParams?: {
|
|
71
72
|
pageSize?: _Core.PageSize | undefined;
|
|
72
73
|
pageToken?: _Core.PageToken | undefined;
|
|
73
74
|
}
|
|
74
|
-
]): Promise<
|
|
75
|
+
]): Promise<_Ontologies.ListOutgoingLinkTypesResponseV2>;
|
|
75
76
|
/**
|
|
76
77
|
* Get an outgoing link for an object type.
|
|
77
78
|
*
|
|
@@ -84,8 +85,8 @@ export declare function listOutgoingLinkTypes($ctx: $Client | $ClientContext | $
|
|
|
84
85
|
* URL: /v2/ontologies/{ontology}/objectTypes/{objectType}/outgoingLinkTypes/{linkType}
|
|
85
86
|
*/
|
|
86
87
|
export declare function getOutgoingLinkType($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
87
|
-
ontology:
|
|
88
|
-
objectType:
|
|
89
|
-
linkType:
|
|
90
|
-
]): Promise<
|
|
88
|
+
ontology: _Ontologies.OntologyIdentifier,
|
|
89
|
+
objectType: _Ontologies.ObjectTypeApiName,
|
|
90
|
+
linkType: _Ontologies.LinkTypeApiName
|
|
91
|
+
]): Promise<_Ontologies.LinkTypeSideV2>;
|
|
91
92
|
//# sourceMappingURL=ObjectTypeV2.d.ts.map
|