@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.
Files changed (66) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/build/browser/public/Action.d.ts +19 -19
  3. package/build/browser/public/Action.d.ts.map +1 -1
  4. package/build/browser/public/ActionTypeV2.d.ts +6 -5
  5. package/build/browser/public/ActionTypeV2.d.ts.map +1 -1
  6. package/build/browser/public/Attachment.d.ts +4 -3
  7. package/build/browser/public/Attachment.d.ts.map +1 -1
  8. package/build/browser/public/AttachmentPropertyV2.d.ts +29 -29
  9. package/build/browser/public/AttachmentPropertyV2.d.ts.map +1 -1
  10. package/build/browser/public/LinkedObjectV2.d.ts +19 -18
  11. package/build/browser/public/LinkedObjectV2.d.ts.map +1 -1
  12. package/build/browser/public/MediaReferenceProperty.d.ts +23 -22
  13. package/build/browser/public/MediaReferenceProperty.d.ts.map +1 -1
  14. package/build/browser/public/MediaReferenceProperty.js +6 -6
  15. package/build/browser/public/MediaReferenceProperty.js.map +1 -1
  16. package/build/browser/public/ObjectTypeV2.d.ts +16 -15
  17. package/build/browser/public/ObjectTypeV2.d.ts.map +1 -1
  18. package/build/browser/public/OntologyInterface.d.ts +14 -13
  19. package/build/browser/public/OntologyInterface.d.ts.map +1 -1
  20. package/build/browser/public/OntologyObjectSet.d.ts +28 -26
  21. package/build/browser/public/OntologyObjectSet.d.ts.map +1 -1
  22. package/build/browser/public/OntologyObjectV2.d.ts +32 -31
  23. package/build/browser/public/OntologyObjectV2.d.ts.map +1 -1
  24. package/build/browser/public/OntologyV2.d.ts +4 -4
  25. package/build/browser/public/OntologyV2.d.ts.map +1 -1
  26. package/build/browser/public/Query.d.ts +7 -7
  27. package/build/browser/public/Query.d.ts.map +1 -1
  28. package/build/browser/public/QueryType.d.ts +6 -5
  29. package/build/browser/public/QueryType.d.ts.map +1 -1
  30. package/build/browser/public/TimeSeriesPropertyV2.d.ts +23 -22
  31. package/build/browser/public/TimeSeriesPropertyV2.d.ts.map +1 -1
  32. package/build/browser/public/TimeSeriesValueBankProperty.d.ts +15 -15
  33. package/build/browser/public/TimeSeriesValueBankProperty.d.ts.map +1 -1
  34. package/build/esm/public/Action.d.ts +19 -19
  35. package/build/esm/public/Action.d.ts.map +1 -1
  36. package/build/esm/public/ActionTypeV2.d.ts +6 -5
  37. package/build/esm/public/ActionTypeV2.d.ts.map +1 -1
  38. package/build/esm/public/Attachment.d.ts +4 -3
  39. package/build/esm/public/Attachment.d.ts.map +1 -1
  40. package/build/esm/public/AttachmentPropertyV2.d.ts +29 -29
  41. package/build/esm/public/AttachmentPropertyV2.d.ts.map +1 -1
  42. package/build/esm/public/LinkedObjectV2.d.ts +19 -18
  43. package/build/esm/public/LinkedObjectV2.d.ts.map +1 -1
  44. package/build/esm/public/MediaReferenceProperty.d.ts +23 -22
  45. package/build/esm/public/MediaReferenceProperty.d.ts.map +1 -1
  46. package/build/esm/public/MediaReferenceProperty.js +6 -6
  47. package/build/esm/public/MediaReferenceProperty.js.map +1 -1
  48. package/build/esm/public/ObjectTypeV2.d.ts +16 -15
  49. package/build/esm/public/ObjectTypeV2.d.ts.map +1 -1
  50. package/build/esm/public/OntologyInterface.d.ts +14 -13
  51. package/build/esm/public/OntologyInterface.d.ts.map +1 -1
  52. package/build/esm/public/OntologyObjectSet.d.ts +28 -26
  53. package/build/esm/public/OntologyObjectSet.d.ts.map +1 -1
  54. package/build/esm/public/OntologyObjectV2.d.ts +32 -31
  55. package/build/esm/public/OntologyObjectV2.d.ts.map +1 -1
  56. package/build/esm/public/OntologyV2.d.ts +4 -4
  57. package/build/esm/public/OntologyV2.d.ts.map +1 -1
  58. package/build/esm/public/Query.d.ts +7 -7
  59. package/build/esm/public/Query.d.ts.map +1 -1
  60. package/build/esm/public/QueryType.d.ts +6 -5
  61. package/build/esm/public/QueryType.d.ts.map +1 -1
  62. package/build/esm/public/TimeSeriesPropertyV2.d.ts +23 -22
  63. package/build/esm/public/TimeSeriesPropertyV2.d.ts.map +1 -1
  64. package/build/esm/public/TimeSeriesValueBankProperty.d.ts +15 -15
  65. package/build/esm/public/TimeSeriesValueBankProperty.d.ts.map +1 -1
  66. 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 _Core from "@osdk/internal.foundry.core";
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: _Core.OntologyIdentifier,
22
- action: _Core.ActionTypeApiName,
23
- $body: _Core.ApplyActionRequestV2,
21
+ ontology: _Ontologies.OntologyIdentifier,
22
+ action: _Ontologies.ActionTypeApiName,
23
+ $body: _Ontologies.ApplyActionRequestV2,
24
24
  $queryParams?: {
25
- artifactRepository?: _Core.ArtifactRepositoryRid | undefined;
26
- packageName?: _Core.SdkPackageName | undefined;
25
+ artifactRepository?: _Ontologies.ArtifactRepositoryRid | undefined;
26
+ packageName?: _Ontologies.SdkPackageName | undefined;
27
27
  }
28
- ]): Promise<_Core.SyncApplyActionResponseV2>;
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: _Core.OntologyIdentifier,
47
- action: _Core.ActionTypeApiName,
48
- $body: _Core.AsyncApplyActionRequestV2,
46
+ ontology: _Ontologies.OntologyIdentifier,
47
+ action: _Ontologies.ActionTypeApiName,
48
+ $body: _Ontologies.AsyncApplyActionRequestV2,
49
49
  $queryParams?: {
50
- artifactRepository?: _Core.ArtifactRepositoryRid | undefined;
51
- packageName?: _Core.SdkPackageName | undefined;
50
+ artifactRepository?: _Ontologies.ArtifactRepositoryRid | undefined;
51
+ packageName?: _Ontologies.SdkPackageName | undefined;
52
52
  }
53
- ]): Promise<_Core.AsyncApplyActionResponseV2>;
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: _Core.OntologyIdentifier,
73
- action: _Core.ActionTypeApiName,
74
- $body: _Core.BatchApplyActionRequestV2,
72
+ ontology: _Ontologies.OntologyIdentifier,
73
+ action: _Ontologies.ActionTypeApiName,
74
+ $body: _Ontologies.BatchApplyActionRequestV2,
75
75
  $queryParams?: {
76
- artifactRepository?: _Core.ArtifactRepositoryRid | undefined;
77
- packageName?: _Core.SdkPackageName | undefined;
76
+ artifactRepository?: _Ontologies.ArtifactRepositoryRid | undefined;
77
+ packageName?: _Ontologies.SdkPackageName | undefined;
78
78
  }
79
- ]): Promise<_Core.BatchApplyActionResponseV2>;
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,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;AAkB9B;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,KAAK,CACnB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,KAAK,CAAC,kBAAkB;IAClC,MAAM,EAAE,KAAK,CAAC,iBAAiB;IAC/B,KAAK,EAAE,KAAK,CAAC,oBAAoB;IACjC,YAAY,CAAC,EAAE;QACb,kBAAkB,CAAC,EAAE,KAAK,CAAC,qBAAqB,GAAG,SAAS,CAAC;QAC7D,WAAW,CAAC,EAAE,KAAK,CAAC,cAAc,GAAG,SAAS,CAAC;KAChD;CACF,GACA,OAAO,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAE1C;AAcD;;;;;;;;;;;;;;;GAeG;AACH,wB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AG,SAAS,CAAC;QACnE,WAAW,CAAC,EAAE,WAAW,CAAC,cAAc,GAAG,SAAS,CAAC;KACtD;CACF,GACA,OAAO,CAAC,WAAW,CAAC,0BAA0B,CAAC,CAEjD"}
@@ -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
  /**
@@ -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: _Core.OntologyIdentifier,
19
+ ontology: _Ontologies.OntologyIdentifier,
19
20
  $queryParams?: {
20
21
  pageSize?: _Core.PageSize | undefined;
21
22
  pageToken?: _Core.PageToken | undefined;
22
23
  }
23
- ]): Promise<_Core.ListActionTypesResponseV2>;
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: _Core.OntologyIdentifier,
36
- actionType: _Core.ActionTypeApiName
37
- ]): Promise<_Core.ActionTypeV2>;
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/Action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I,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,sBAAsB,CAAC;AAgB9B;;;;;;;;;;;;GAYG;AACH,wBAAgB,IAAI,CAClB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,WAAW,CAAC,kBAAkB;IAExC,YAAY,CAAC,EAAE;QACb,QAAQ,CAAC,EAAE,KAAK,CAAC,QAAQ,GAAG,SAAS,CAAC;QACtC,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,SAAS,CAAC;KACzC;CACF,GACA,OAAO,CAAC,WAAW,CAAC,yBAAyB,CAAC,CAEhD;AASD;;;;;;;;;GASG;AACH,wBAAgB,GAAG,CACjB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,WAAW,CAAC,kBAAkB;IACxC,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<_Core.AttachmentV2>;
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: _Core.AttachmentRid]): Promise<Response>;
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: _Core.AttachmentRid]): Promise<_Core.AttachmentV2>;
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,CAA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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 _Core from "@osdk/internal.foundry.core";
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: _Core.OntologyIdentifier,
17
- objectType: _Core.ObjectTypeApiName,
18
- primaryKey: _Core.PropertyValueEscapedString,
19
- property: _Core.PropertyApiName,
16
+ ontology: _Ontologies.OntologyIdentifier,
17
+ objectType: _Ontologies.ObjectTypeApiName,
18
+ primaryKey: _Ontologies.PropertyValueEscapedString,
19
+ property: _Ontologies.PropertyApiName,
20
20
  $queryParams?: {
21
- artifactRepository?: _Core.ArtifactRepositoryRid | undefined;
22
- packageName?: _Core.SdkPackageName | undefined;
21
+ artifactRepository?: _Ontologies.ArtifactRepositoryRid | undefined;
22
+ packageName?: _Ontologies.SdkPackageName | undefined;
23
23
  }
24
- ]): Promise<_Core.AttachmentMetadataResponse>;
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: _Core.OntologyIdentifier,
38
- objectType: _Core.ObjectTypeApiName,
39
- primaryKey: _Core.PropertyValueEscapedString,
40
- property: _Core.PropertyApiName,
41
- attachmentRid: _Core.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?: _Core.ArtifactRepositoryRid | undefined;
44
- packageName?: _Core.SdkPackageName | undefined;
43
+ artifactRepository?: _Ontologies.ArtifactRepositoryRid | undefined;
44
+ packageName?: _Ontologies.SdkPackageName | undefined;
45
45
  }
46
- ]): Promise<_Core.AttachmentV2>;
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: _Core.OntologyIdentifier,
60
- objectType: _Core.ObjectTypeApiName,
61
- primaryKey: _Core.PropertyValueEscapedString,
62
- property: _Core.PropertyApiName,
59
+ ontology: _Ontologies.OntologyIdentifier,
60
+ objectType: _Ontologies.ObjectTypeApiName,
61
+ primaryKey: _Ontologies.PropertyValueEscapedString,
62
+ property: _Ontologies.PropertyApiName,
63
63
  $queryParams?: {
64
- artifactRepository?: _Core.ArtifactRepositoryRid | undefined;
65
- packageName?: _Core.SdkPackageName | undefined;
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: _Core.OntologyIdentifier,
83
- objectType: _Core.ObjectTypeApiName,
84
- primaryKey: _Core.PropertyValueEscapedString,
85
- property: _Core.PropertyApiName,
86
- attachmentRid: _Core.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?: _Core.ArtifactRepositoryRid | undefined;
89
- packageName?: _Core.SdkPackageName | undefined;
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,KAAK,MAAM,6BAA6B,CAAC;AAC1D,OA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B,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;KACtD;CACF,GACA,OAAO,CAAC,QAAQ,CAAC,CAEnB;AAsBD;;;;;;;;;;;;GAYG;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,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: _Core.OntologyIdentifier,
28
- objectType: _Core.ObjectTypeApiName,
29
- primaryKey: _Core.PropertyValueEscapedString,
30
- linkType: _Core.LinkTypeApiName,
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<_Core.SelectedPropertyApiName>;
35
- orderBy?: _Core.OrderBy | undefined;
36
- artifactRepository?: _Core.ArtifactRepositoryRid | undefined;
37
- packageName?: _Core.SdkPackageName | undefined;
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<_Core.ListLinkedObjectsResponseV2>;
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: _Core.OntologyIdentifier,
55
- objectType: _Core.ObjectTypeApiName,
56
- primaryKey: _Core.PropertyValueEscapedString,
57
- linkType: _Core.LinkTypeApiName,
58
- linkedObjectPrimaryKey: _Core.PropertyValueEscapedString,
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<_Core.SelectedPropertyApiName>;
61
- artifactRepository?: _Core.ArtifactRepositoryRid | undefined;
62
- packageName?: _Core.SdkPackageName | undefined;
61
+ select: Array<_Ontologies.SelectedPropertyApiName>;
62
+ artifactRepository?: _Ontologies.ArtifactRepositoryRid | undefined;
63
+ packageName?: _Ontologies.SdkPackageName | undefined;
63
64
  excludeRid?: boolean | undefined;
64
65
  }
65
- ]): Promise<_Core.OntologyObjectV2>;
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,KAAK,CAAC,kBAAkB;IAClC,UAAU,EAAE,KAAK,CAAC,iBAAiB;IACnC,UAAU,EAAE,KAAK,CAAC,0BAA0B;IAC5C,QAAQ,EAAE,KAAK,CAAC,eAAe;IAE/B,YAAY,EAAE;QACZ,QAAQ,CAAC,EAAE,KAAK,CAAC,QAAQ,GAAG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AW,CAAC,iBAAiB;IACzC,UAAU,EAAE,WAAW,CAAC,0BAA0B;IAClD,QAAQ,EAAE,WAAW,CAAC,eAAe;IACrC,sBAAsB,EAAE,WAAW,CAAC,0BAA0B;IAE9D,YAAY,EAAE;QACZ,MAAM,EAAE,KAAK,CAAC,WAAW,CAAC,uBAAuB,CAAC,CAAC;QACnD,kBAAkB,CAAC,EAAE,WAAW,CAAC,qBAAqB,GAAG,SAAS,CAAC;QACnE,WAAW,CAAC,EAAE,WAAW,CAAC,cAAc,GAAG,SAAS,CAAC;QACrD,UAAU,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;KAClC;CACF,GACA,OAAO,CAAC,WAAW,CAAC,gBAAgB,CAAC,CAEvC"}
@@ -1,63 +1,64 @@
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 api:mediasets-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, api:mediasets-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: _Core.OntologyIdentifier,
16
- objectType: _Core.ObjectTypeApiName,
17
- primaryKey: _Core.PropertyValueEscapedString,
18
- property: _Core.PropertyApiName,
16
+ ontology: _Ontologies.OntologyIdentifier,
17
+ objectType: _Ontologies.ObjectTypeApiName,
18
+ primaryKey: _Ontologies.PropertyValueEscapedString,
19
+ property: _Ontologies.PropertyApiName,
19
20
  $queryParams?: {
20
- artifactRepository?: _Core.ArtifactRepositoryRid | undefined;
21
- packageName?: _Core.SdkPackageName | undefined;
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 api:mediasets-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, api:mediasets-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: _Core.OntologyIdentifier,
37
- objectType: _Core.ObjectTypeApiName,
38
- primaryKey: _Core.PropertyValueEscapedString,
39
- property: _Core.PropertyApiName,
37
+ ontology: _Ontologies.OntologyIdentifier,
38
+ objectType: _Ontologies.ObjectTypeApiName,
39
+ primaryKey: _Ontologies.PropertyValueEscapedString,
40
+ property: _Ontologies.PropertyApiName,
40
41
  $queryParams?: {
41
- artifactRepository?: _Core.ArtifactRepositoryRid | undefined;
42
- packageName?: _Core.SdkPackageName | undefined;
42
+ artifactRepository?: _Ontologies.ArtifactRepositoryRid | undefined;
43
+ packageName?: _Ontologies.SdkPackageName | undefined;
43
44
  preview?: _Core.PreviewMode | undefined;
44
45
  }
45
- ]): Promise<_Core.MediaMetadata>;
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:mediasets-read api:mediasets-write`.
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:mediasets-read, api:mediasets-write]
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: _Core.OntologyIdentifier,
59
- objectType: _Core.ObjectTypeApiName,
60
- property: _Core.PropertyApiName,
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,KAAK,CAAC,kBAAkB;IAClC,UAAU,EAAE,KAAK,CAA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AC,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;QACrD,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAC;KACzC;CACF,GACA,OAAO,CAAC,WAAW,CAAC,aAAa,CAAC,CAEpC;AAeD;;;;;;;;;;GAUG;AACH,wBAAgB,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 api:mediasets-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, api:mediasets-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 api:mediasets-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, api:mediasets-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:mediasets-read api:mediasets-write`.
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:mediasets-read, api:mediasets-write]
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 api:mediasets-read`.\n *\n * @beta\n *\n * Required Scopes: [api:ontologies-read, api:mediasets-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 api:mediasets-read`.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read, api:mediasets-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:mediasets-read api:mediasets-write`.\n *\n * @beta\n *\n * Required Scopes: [api:ontologies-read, api:mediasets-read, api:mediasets-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
+ {"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: _Core.OntologyIdentifier,
20
+ ontology: _Ontologies.OntologyIdentifier,
20
21
  $queryParams?: {
21
22
  pageSize?: _Core.PageSize | undefined;
22
23
  pageToken?: _Core.PageToken | undefined;
23
24
  }
24
- ]): Promise<_Core.ListObjectTypesV2Response>;
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: _Core.OntologyIdentifier,
37
- objectType: _Core.ObjectTypeApiName
38
- ]): Promise<_Core.ObjectTypeV2>;
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: _Core.OntologyIdentifier,
51
- objectType: _Core.ObjectTypeApiName,
51
+ ontology: _Ontologies.OntologyIdentifier,
52
+ objectType: _Ontologies.ObjectTypeApiName,
52
53
  $queryParams?: {
53
54
  preview?: _Core.PreviewMode | undefined;
54
55
  }
55
- ]): Promise<_Core.ObjectTypeFullMetadata>;
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: _Core.OntologyIdentifier,
69
- objectType: _Core.ObjectTypeApiName,
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<_Core.ListOutgoingLinkTypesResponseV2>;
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: _Core.OntologyIdentifier,
88
- objectType: _Core.ObjectTypeApiName,
89
- linkType: _Core.LinkTypeApiName
90
- ]): Promise<_Core.LinkTypeSideV2>;
88
+ ontology: _Ontologies.OntologyIdentifier,
89
+ objectType: _Ontologies.ObjectTypeApiName,
90
+ linkType: _Ontologies.LinkTypeApiName
91
+ ]): Promise<_Ontologies.LinkTypeSideV2>;
91
92
  //# sourceMappingURL=ObjectTypeV2.d.ts.map