@osdk/internal.foundry.ontologiesv2 0.2.1 → 2.2.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 (70) hide show
  1. package/CHANGELOG.md +20 -5
  2. package/build/browser/public/Action.d.ts +5 -4
  3. package/build/browser/public/Action.d.ts.map +1 -1
  4. package/build/browser/public/ActionTypeV2.d.ts +4 -3
  5. package/build/browser/public/ActionTypeV2.d.ts.map +1 -1
  6. package/build/browser/public/Attachment.d.ts +5 -4
  7. package/build/browser/public/Attachment.d.ts.map +1 -1
  8. package/build/browser/public/AttachmentPropertyV2.d.ts +6 -5
  9. package/build/browser/public/AttachmentPropertyV2.d.ts.map +1 -1
  10. package/build/browser/public/LinkedObjectV2.d.ts +4 -3
  11. package/build/browser/public/LinkedObjectV2.d.ts.map +1 -1
  12. package/build/browser/public/ObjectTypeV2.d.ts +7 -6
  13. package/build/browser/public/ObjectTypeV2.d.ts.map +1 -1
  14. package/build/browser/public/OntologyInterface.d.ts +14 -5
  15. package/build/browser/public/OntologyInterface.d.ts.map +1 -1
  16. package/build/browser/public/OntologyInterface.js +8 -0
  17. package/build/browser/public/OntologyInterface.js.map +1 -1
  18. package/build/browser/public/OntologyObjectSet.d.ts +34 -5
  19. package/build/browser/public/OntologyObjectSet.d.ts.map +1 -1
  20. package/build/browser/public/OntologyObjectSet.js +24 -0
  21. package/build/browser/public/OntologyObjectSet.js.map +1 -1
  22. package/build/browser/public/OntologyObjectV2.d.ts +7 -6
  23. package/build/browser/public/OntologyObjectV2.d.ts.map +1 -1
  24. package/build/browser/public/OntologyV2.d.ts +5 -4
  25. package/build/browser/public/OntologyV2.d.ts.map +1 -1
  26. package/build/browser/public/Query.d.ts +3 -2
  27. package/build/browser/public/Query.d.ts.map +1 -1
  28. package/build/browser/public/QueryType.d.ts +4 -3
  29. package/build/browser/public/QueryType.d.ts.map +1 -1
  30. package/build/browser/public/TimeSeriesPropertyV2.d.ts +5 -4
  31. package/build/browser/public/TimeSeriesPropertyV2.d.ts.map +1 -1
  32. package/build/browser/public/TimeSeriesValueBankProperty.d.ts +25 -2
  33. package/build/browser/public/TimeSeriesValueBankProperty.d.ts.map +1 -1
  34. package/build/browser/public/TimeSeriesValueBankProperty.js +15 -0
  35. package/build/browser/public/TimeSeriesValueBankProperty.js.map +1 -1
  36. package/build/esm/public/Action.d.ts +5 -4
  37. package/build/esm/public/Action.d.ts.map +1 -1
  38. package/build/esm/public/ActionTypeV2.d.ts +4 -3
  39. package/build/esm/public/ActionTypeV2.d.ts.map +1 -1
  40. package/build/esm/public/Attachment.d.ts +5 -4
  41. package/build/esm/public/Attachment.d.ts.map +1 -1
  42. package/build/esm/public/AttachmentPropertyV2.d.ts +6 -5
  43. package/build/esm/public/AttachmentPropertyV2.d.ts.map +1 -1
  44. package/build/esm/public/LinkedObjectV2.d.ts +4 -3
  45. package/build/esm/public/LinkedObjectV2.d.ts.map +1 -1
  46. package/build/esm/public/ObjectTypeV2.d.ts +7 -6
  47. package/build/esm/public/ObjectTypeV2.d.ts.map +1 -1
  48. package/build/esm/public/OntologyInterface.d.ts +14 -5
  49. package/build/esm/public/OntologyInterface.d.ts.map +1 -1
  50. package/build/esm/public/OntologyInterface.js +8 -0
  51. package/build/esm/public/OntologyInterface.js.map +1 -1
  52. package/build/esm/public/OntologyObjectSet.d.ts +34 -5
  53. package/build/esm/public/OntologyObjectSet.d.ts.map +1 -1
  54. package/build/esm/public/OntologyObjectSet.js +24 -0
  55. package/build/esm/public/OntologyObjectSet.js.map +1 -1
  56. package/build/esm/public/OntologyObjectV2.d.ts +7 -6
  57. package/build/esm/public/OntologyObjectV2.d.ts.map +1 -1
  58. package/build/esm/public/OntologyV2.d.ts +5 -4
  59. package/build/esm/public/OntologyV2.d.ts.map +1 -1
  60. package/build/esm/public/Query.d.ts +3 -2
  61. package/build/esm/public/Query.d.ts.map +1 -1
  62. package/build/esm/public/QueryType.d.ts +4 -3
  63. package/build/esm/public/QueryType.d.ts.map +1 -1
  64. package/build/esm/public/TimeSeriesPropertyV2.d.ts +5 -4
  65. package/build/esm/public/TimeSeriesPropertyV2.d.ts.map +1 -1
  66. package/build/esm/public/TimeSeriesValueBankProperty.d.ts +25 -2
  67. package/build/esm/public/TimeSeriesValueBankProperty.d.ts.map +1 -1
  68. package/build/esm/public/TimeSeriesValueBankProperty.js +15 -0
  69. package/build/esm/public/TimeSeriesValueBankProperty.js.map +1 -1
  70. package/package.json +7 -8
package/CHANGELOG.md CHANGED
@@ -1,13 +1,28 @@
1
1
  # @osdk/internal.foundry.ontologiesv2
2
2
 
3
- ## 0.2.1
3
+ ## 2.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 02fc65d: Fix codegen for new APIs.
8
+ - ca65018: Updating deps for platform sdk.
9
+
10
+ ### Patch Changes
11
+
12
+ - Updated dependencies [02fc65d]
13
+ - Updated dependencies [ca65018]
14
+ - @osdk/internal.foundry.core@2.2.0
15
+
16
+ ## 0.3.0-beta.0
17
+
18
+ ### Minor Changes
19
+
20
+ - 02fc65d: Fix codegen for new APIs.
4
21
 
5
22
  ### Patch Changes
6
23
 
7
- - Updated dependencies [a4343af]
8
- - @osdk/shared.client@1.0.1
9
- - @osdk/internal.foundry.core@0.2.1
10
- - @osdk/shared.net.platformapi@0.3.1
24
+ - Updated dependencies [02fc65d]
25
+ - @osdk/internal.foundry.core@0.3.0-beta.0
11
26
 
12
27
  ## 0.2.0
13
28
 
@@ -1,5 +1,6 @@
1
1
  import type * as _Core from "@osdk/internal.foundry.core";
2
- import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client";
2
+ import type { SharedClient as $OldClient, SharedClientContext as $OldClientContext } from "@osdk/shared.client";
3
+ import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client2";
3
4
  /**
4
5
  * Applies an action using the given parameters.
5
6
  *
@@ -16,7 +17,7 @@ import type { SharedClient as $Client, SharedClientContext as $ClientContext } f
16
17
  * Required Scopes: [api:ontologies-read, api:ontologies-write]
17
18
  * URL: /v2/ontologies/{ontology}/actions/{action}/apply
18
19
  */
19
- export declare function apply($ctx: $Client | $ClientContext, ...args: [
20
+ export declare function apply($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
20
21
  ontology: _Core.OntologyIdentifier,
21
22
  action: _Core.ActionTypeApiName,
22
23
  $body: _Core.ApplyActionRequestV2,
@@ -41,7 +42,7 @@ export declare function apply($ctx: $Client | $ClientContext, ...args: [
41
42
  * Required Scopes: [api:ontologies-read, api:ontologies-write]
42
43
  * URL: /v2/ontologies/{ontology}/actions/{action}/applyAsync
43
44
  */
44
- export declare function applyAsync($ctx: $Client | $ClientContext, ...args: [
45
+ export declare function applyAsync($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
45
46
  ontology: _Core.OntologyIdentifier,
46
47
  action: _Core.ActionTypeApiName,
47
48
  $body: _Core.AsyncApplyActionRequestV2,
@@ -67,7 +68,7 @@ export declare function applyAsync($ctx: $Client | $ClientContext, ...args: [
67
68
  * Required Scopes: [api:ontologies-read, api:ontologies-write]
68
69
  * URL: /v2/ontologies/{ontology}/actions/{action}/applyBatch
69
70
  */
70
- export declare function applyBatch($ctx: $Client | $ClientContext, ...args: [
71
+ export declare function applyBatch($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
71
72
  ontology: _Core.OntologyIdentifier,
72
73
  action: _Core.ActionTypeApiName,
73
74
  $body: _Core.BatchApplyActionRequestV2,
@@ -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,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,qBAAqB,CAAC;AAkB7B;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,KAAK,CACnB,IAAI,EAAE,OAAO,GAAG,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AA0B,CAAC,CAE3C;AAcD;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,UAAU,CACxB,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,yBAAyB;IACtC,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,0BAA0B,CAAC,CAE3C"}
@@ -1,5 +1,6 @@
1
1
  import type * as _Core from "@osdk/internal.foundry.core";
2
- import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client";
2
+ import type { SharedClient as $OldClient, SharedClientContext as $OldClientContext } from "@osdk/shared.client";
3
+ import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client2";
3
4
  /**
4
5
  * Lists the action types for the given Ontology.
5
6
  *
@@ -13,7 +14,7 @@ import type { SharedClient as $Client, SharedClientContext as $ClientContext } f
13
14
  * Required Scopes: [api:ontologies-read]
14
15
  * URL: /v2/ontologies/{ontology}/actionTypes
15
16
  */
16
- export declare function list($ctx: $Client | $ClientContext, ...args: [
17
+ export declare function list($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
17
18
  ontology: _Core.OntologyIdentifier,
18
19
  $queryParams?: {
19
20
  pageSize?: _Core.PageSize | undefined;
@@ -30,7 +31,7 @@ export declare function list($ctx: $Client | $ClientContext, ...args: [
30
31
  * Required Scopes: [api:ontologies-read]
31
32
  * URL: /v2/ontologies/{ontology}/actionTypes/{actionType}
32
33
  */
33
- export declare function get($ctx: $Client | $ClientContext, ...args: [
34
+ export declare function get($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
34
35
  ontology: _Core.OntologyIdentifier,
35
36
  actionType: _Core.ActionTypeApiName
36
37
  ]): Promise<_Core.ActionTypeV2>;
@@ -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,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,qBAAqB,CAAC;AAgB7B;;;;;;;;;;;;GAYG;AACH,wBAAgB,IAAI,CAClB,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,KAAK,CAAC,kBAAkB;IAElC,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,KAAK,CAAC,yBAAyB,CAAC,CAE1C;AASD;;;;;;;;;GASG;AACH,wBAAgB,GAAG,CACjB,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,KAAK,CAAC,kBAAkB;IAClC,UAAU,EAAE,KAAK,CAAC,iBAAiB;CACpC,GACA,OAAO,CAAC,KAAK,CAAC,YAAY,CAAC,CAE7B"}
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,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;AAgB9B;;;;;;;;;;;;GAYG;AACH,wBAAgB,IAAI,CAClB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,KAAK,CAAC,kBAAkB;IAElC,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,KAAK,CAAC,yBAAyB,CAAC,CAE1C;AASD;;;;;;;;;GASG;AACH,wBAAgB,GAAG,CACjB,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;CACpC,GACA,OAAO,CAAC,KAAK,CAAC,YAAY,CAAC,CAE7B"}
@@ -1,5 +1,6 @@
1
1
  import type * as _Core from "@osdk/internal.foundry.core";
2
- import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client";
2
+ import type { SharedClient as $OldClient, SharedClientContext as $OldClientContext } from "@osdk/shared.client";
3
+ import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client2";
3
4
  /**
4
5
  * Upload an attachment to use in an action. Any attachment which has not been linked to an object via
5
6
  * an action within one hour after upload will be removed.
@@ -15,7 +16,7 @@ import type { SharedClient as $Client, SharedClientContext as $ClientContext } f
15
16
  * Required Scopes: [api:ontologies-write]
16
17
  * URL: /v2/ontologies/attachments/upload
17
18
  */
18
- export declare function upload($ctx: $Client | $ClientContext, ...args: [
19
+ export declare function upload($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
19
20
  $body: Blob,
20
21
  $queryParams: {
21
22
  filename: _Core.Filename;
@@ -35,7 +36,7 @@ export declare function upload($ctx: $Client | $ClientContext, ...args: [
35
36
  * Required Scopes: [api:ontologies-read]
36
37
  * URL: /v2/ontologies/attachments/{attachmentRid}/content
37
38
  */
38
- export declare function read($ctx: $Client | $ClientContext, ...args: [attachmentRid: _Core.AttachmentRid]): Promise<Blob>;
39
+ export declare function read($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [attachmentRid: _Core.AttachmentRid]): Promise<Blob>;
39
40
  /**
40
41
  * Get the metadata of an attachment.
41
42
  *
@@ -47,5 +48,5 @@ export declare function read($ctx: $Client | $ClientContext, ...args: [attachmen
47
48
  * Required Scopes: [api:ontologies-read]
48
49
  * URL: /v2/ontologies/attachments/{attachmentRid}
49
50
  */
50
- export declare function get($ctx: $Client | $ClientContext, ...args: [attachmentRid: _Core.AttachmentRid]): Promise<_Core.AttachmentV2>;
51
+ export declare function get($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [attachmentRid: _Core.AttachmentRid]): Promise<_Core.AttachmentV2>;
51
52
  //# 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,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,qBAAqB,CAAC;AAc7B;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,MAAM,CACpB,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,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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I,EAAE,CAAC,aAAa,EAAE,KAAK,CAAC,aAAa,CAAC,GAC5C,OAAO,CAAC,IAAI,CAAC,CAEf;AAMD;;;;;;;;;;GAUG;AACH,wBAAgB,GAAG,CACjB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE,CAAC,aAAa,EAAE,KAAK,CAAC,aAAa,CAAC,GAC5C,OAAO,CAAC,KAAK,CAAC,YAAY,CAAC,CAE7B"}
@@ -1,5 +1,6 @@
1
1
  import type * as _Core from "@osdk/internal.foundry.core";
2
- import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client";
2
+ import type { SharedClient as $OldClient, SharedClientContext as $OldClientContext } from "@osdk/shared.client";
3
+ import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client2";
3
4
  /**
4
5
  * Get the metadata of attachments parented to the given object.
5
6
  *
@@ -11,7 +12,7 @@ import type { SharedClient as $Client, SharedClientContext as $ClientContext } f
11
12
  * Required Scopes: [api:ontologies-read]
12
13
  * URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/attachments/{property}
13
14
  */
14
- export declare function getAttachment($ctx: $Client | $ClientContext, ...args: [
15
+ export declare function getAttachment($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
15
16
  ontology: _Core.OntologyIdentifier,
16
17
  objectType: _Core.ObjectTypeApiName,
17
18
  primaryKey: _Core.PropertyValueEscapedString,
@@ -32,7 +33,7 @@ export declare function getAttachment($ctx: $Client | $ClientContext, ...args: [
32
33
  * Required Scopes: [api:ontologies-read]
33
34
  * URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/attachments/{property}/{attachmentRid}
34
35
  */
35
- export declare function getAttachmentByRid($ctx: $Client | $ClientContext, ...args: [
36
+ export declare function getAttachmentByRid($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
36
37
  ontology: _Core.OntologyIdentifier,
37
38
  objectType: _Core.ObjectTypeApiName,
38
39
  primaryKey: _Core.PropertyValueEscapedString,
@@ -54,7 +55,7 @@ export declare function getAttachmentByRid($ctx: $Client | $ClientContext, ...ar
54
55
  * Required Scopes: [api:ontologies-read]
55
56
  * URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/attachments/{property}/content
56
57
  */
57
- export declare function readAttachment($ctx: $Client | $ClientContext, ...args: [
58
+ export declare function readAttachment($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
58
59
  ontology: _Core.OntologyIdentifier,
59
60
  objectType: _Core.ObjectTypeApiName,
60
61
  primaryKey: _Core.PropertyValueEscapedString,
@@ -77,7 +78,7 @@ export declare function readAttachment($ctx: $Client | $ClientContext, ...args:
77
78
  * Required Scopes: [api:ontologies-read]
78
79
  * URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/attachments/{property}/{attachmentRid}/content
79
80
  */
80
- export declare function readAttachmentByRid($ctx: $Client | $ClientContext, ...args: [
81
+ export declare function readAttachmentByRid($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
81
82
  ontology: _Core.OntologyIdentifier,
82
83
  objectType: _Core.ObjectTypeApiName,
83
84
  primaryKey: _Core.PropertyValueEscapedString,
@@ -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,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,qBAAqB,CAAC;AAmB7B;;;;;;;;;;GAUG;AACH,wBAAgB,aAAa,CAC3B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,KAAK,CAAC,kBAAkB;IAClC,UAAU,EAAE,KAAK,CAAC,iBAAiB;IACnC,UAAU,EAAE,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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;IAC/B,aAAa,EAAE,KAAK,CAAC,aAAa;IAElC,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,IAAI,CAAC,CAEf"}
@@ -1,5 +1,6 @@
1
1
  import type * as _Core from "@osdk/internal.foundry.core";
2
- import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client";
2
+ import type { SharedClient as $OldClient, SharedClientContext as $OldClientContext } from "@osdk/shared.client";
3
+ import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client2";
3
4
  /**
4
5
  * Lists the linked objects for a specific object and the given link type.
5
6
  *
@@ -22,7 +23,7 @@ import type { SharedClient as $Client, SharedClientContext as $ClientContext } f
22
23
  * Required Scopes: [api:ontologies-read]
23
24
  * URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/links/{linkType}
24
25
  */
25
- export declare function listLinkedObjects($ctx: $Client | $ClientContext, ...args: [
26
+ export declare function listLinkedObjects($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
26
27
  ontology: _Core.OntologyIdentifier,
27
28
  objectType: _Core.ObjectTypeApiName,
28
29
  primaryKey: _Core.PropertyValueEscapedString,
@@ -49,7 +50,7 @@ export declare function listLinkedObjects($ctx: $Client | $ClientContext, ...arg
49
50
  * Required Scopes: [api:ontologies-read]
50
51
  * URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/links/{linkType}/{linkedObjectPrimaryKey}
51
52
  */
52
- export declare function getLinkedObject($ctx: $Client | $ClientContext, ...args: [
53
+ export declare function getLinkedObject($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
53
54
  ontology: _Core.OntologyIdentifier,
54
55
  objectType: _Core.ObjectTypeApiName,
55
56
  primaryKey: _Core.PropertyValueEscapedString,
@@ -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,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,qBAAqB,CAAC;AAwB7B;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,iBAAiB,CAC/B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,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,SAAS,CAAC;QACtC,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,SAAS,CAAC;QACxC,MAAM,EAAE,KAAK,CAAC,KAAK,CAAC,uBAAuB,CAAC,CAAC;QAC7C,OAAO,CAAC,EAAE,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC;QACpC,kBAAkB,CAAC,EAAE,KAAK,CAAC,qBAAqB,GAAG,SAAS,CAAC;QAC7D,WAAW,CAAC,EAAE,KAAK,CAAC,cAAc,GAAG,SAAS,CAAC;QAC/C,UAAU,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;KAClC;CACF,GACA,OAAO,CAAC,KAAK,CAAC,2BAA2B,CAAC,CAE5C;AAkBD;;;;;;;;;;;GAWG;AAC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haredClientContext as $ClientContext } from "@osdk/shared.client";
2
+ import type { SharedClient as $OldClient, SharedClientContext as $OldClientContext } from "@osdk/shared.client";
3
+ import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client2";
3
4
  /**
4
5
  * Lists the object types for the given Ontology.
5
6
  *
@@ -14,7 +15,7 @@ import type { SharedClient as $Client, SharedClientContext as $ClientContext } f
14
15
  * Required Scopes: [api:ontologies-read]
15
16
  * URL: /v2/ontologies/{ontology}/objectTypes
16
17
  */
17
- export declare function list($ctx: $Client | $ClientContext, ...args: [
18
+ export declare function list($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
18
19
  ontology: _Core.OntologyIdentifier,
19
20
  $queryParams?: {
20
21
  pageSize?: _Core.PageSize | undefined;
@@ -31,7 +32,7 @@ export declare function list($ctx: $Client | $ClientContext, ...args: [
31
32
  * Required Scopes: [api:ontologies-read]
32
33
  * URL: /v2/ontologies/{ontology}/objectTypes/{objectType}
33
34
  */
34
- export declare function get($ctx: $Client | $ClientContext, ...args: [
35
+ export declare function get($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
35
36
  ontology: _Core.OntologyIdentifier,
36
37
  objectType: _Core.ObjectTypeApiName
37
38
  ]): Promise<_Core.ObjectTypeV2>;
@@ -45,7 +46,7 @@ export declare function get($ctx: $Client | $ClientContext, ...args: [
45
46
  * Required Scopes: [api:ontologies-read]
46
47
  * URL: /v2/ontologies/{ontology}/objectTypes/{objectType}/fullMetadata
47
48
  */
48
- export declare function getFullMetadata($ctx: $Client | $ClientContext, ...args: [
49
+ export declare function getFullMetadata($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
49
50
  ontology: _Core.OntologyIdentifier,
50
51
  objectType: _Core.ObjectTypeApiName,
51
52
  $queryParams?: {
@@ -63,7 +64,7 @@ export declare function getFullMetadata($ctx: $Client | $ClientContext, ...args:
63
64
  * Required Scopes: [api:ontologies-read]
64
65
  * URL: /v2/ontologies/{ontology}/objectTypes/{objectType}/outgoingLinkTypes
65
66
  */
66
- export declare function listOutgoingLinkTypes($ctx: $Client | $ClientContext, ...args: [
67
+ export declare function listOutgoingLinkTypes($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
67
68
  ontology: _Core.OntologyIdentifier,
68
69
  objectType: _Core.ObjectTypeApiName,
69
70
  $queryParams?: {
@@ -82,7 +83,7 @@ export declare function listOutgoingLinkTypes($ctx: $Client | $ClientContext, ..
82
83
  * Required Scopes: [api:ontologies-read]
83
84
  * URL: /v2/ontologies/{ontology}/objectTypes/{objectType}/outgoingLinkTypes/{linkType}
84
85
  */
85
- export declare function getOutgoingLinkType($ctx: $Client | $ClientContext, ...args: [
86
+ export declare function getOutgoingLinkType($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
86
87
  ontology: _Core.OntologyIdentifier,
87
88
  objectType: _Core.ObjectTypeApiName,
88
89
  linkType: _Core.LinkTypeApiName
@@ -1 +1 @@
1
- {"version":3,"file":"ObjectTypeV2.d.ts","sourceRoot":"","sources":["../../../src/public/ObjectTypeV2.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,6BAA6B,CAAC;AAC1D,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,qBAAqB,CAAC;AAgB7B;;;;;;;;;;;;;GAaG;AACH,wBAAgB,IAAI,CAClB,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,KAAK,CAAC,kBAAkB;IAElC,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,KAAK,CAAC,yBAAyB,CAAC,CAE1C;AASD;;;;;;;;;GASG;AACH,wBAAgB,GAA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C3D,GACA,OAAO,CAAC,KAAK,CAAC,sBAAsB,CAAC,CAEvC;AAaD;;;;;;;;;;GAUG;AACH,wBAAgB,qBAAqB,CACnC,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;IAEnC,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,KAAK,CAAC,+BAA+B,CAAC,CAEhD;AAUD;;;;;;;;;;GAUG;AACH,wBAAgB,mBAAmB,CACjC,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,QAAQ,EAAE,KAAK,CAAC,eAAe;CAChC,GACA,OAAO,CAAC,KAAK,CAAC,cAAc,CAAC,CAE/B"}
@@ -1,5 +1,6 @@
1
1
  import type * as _Core from "@osdk/internal.foundry.core";
2
- import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client";
2
+ import type { SharedClient as $OldClient, SharedClientContext as $OldClientContext } from "@osdk/shared.client";
3
+ import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client2";
3
4
  /**
4
5
  * :::callout{theme=warning title=Warning}
5
6
  * This endpoint is in preview and may be modified or removed at any time.
@@ -18,7 +19,7 @@ import type { SharedClient as $Client, SharedClientContext as $ClientContext } f
18
19
  * Required Scopes: [api:ontologies-read]
19
20
  * URL: /v2/ontologies/{ontology}/interfaceTypes
20
21
  */
21
- export declare function list($ctx: $Client | $ClientContext, ...args: [
22
+ export declare function list($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
22
23
  ontology: _Core.OntologyIdentifier,
23
24
  $queryParams?: {
24
25
  pageSize?: _Core.PageSize | undefined;
@@ -41,7 +42,7 @@ export declare function list($ctx: $Client | $ClientContext, ...args: [
41
42
  * Required Scopes: [api:ontologies-read]
42
43
  * URL: /v2/ontologies/{ontology}/interfaceTypes/{interfaceType}
43
44
  */
44
- export declare function get($ctx: $Client | $ClientContext, ...args: [
45
+ export declare function get($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
45
46
  ontology: _Core.OntologyIdentifier,
46
47
  interfaceType: _Core.InterfaceTypeApiName,
47
48
  $queryParams?: {
@@ -49,6 +50,10 @@ export declare function get($ctx: $Client | $ClientContext, ...args: [
49
50
  }
50
51
  ]): Promise<_Core.InterfaceType>;
51
52
  /**
53
+ * :::callout{theme=warning title=Warning}
54
+ * This endpoint will be removed once TS OSDK is updated to use `objectSets/loadObjects` with interface object
55
+ * sets.
56
+ * :::
52
57
  * :::callout{theme=warning title=Warning}
53
58
  * This endpoint is in preview and may be modified or removed at any time.
54
59
  * To use this endpoint, add `preview=true` to the request query parameters.
@@ -84,7 +89,7 @@ export declare function get($ctx: $Client | $ClientContext, ...args: [
84
89
  * Required Scopes: [api:ontologies-read]
85
90
  * URL: /v2/ontologies/{ontology}/interfaces/{interfaceType}/search
86
91
  */
87
- export declare function search($ctx: $Client | $ClientContext, ...args: [
92
+ export declare function search($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
88
93
  ontology: _Core.OntologyIdentifier,
89
94
  interfaceType: _Core.InterfaceTypeApiName,
90
95
  $body: _Core.SearchObjectsForInterfaceRequest,
@@ -93,6 +98,10 @@ export declare function search($ctx: $Client | $ClientContext, ...args: [
93
98
  }
94
99
  ]): Promise<_Core.SearchObjectsResponseV2>;
95
100
  /**
101
+ * :::callout{theme=warning title=Warning}
102
+ * This endpoint will be removed once TS OSDK is updated to use `objectSets/aggregate` with interface object
103
+ * sets.
104
+ * :::
96
105
  * :::callout{theme=warning title=Warning}
97
106
  * This endpoint is in preview and may be modified or removed at any time.
98
107
  * To use this endpoint, add `preview=true` to the request query parameters.
@@ -108,7 +117,7 @@ export declare function search($ctx: $Client | $ClientContext, ...args: [
108
117
  * Required Scopes: [api:ontologies-read]
109
118
  * URL: /v2/ontologies/{ontology}/interfaces/{interfaceType}/aggregate
110
119
  */
111
- export declare function aggregate($ctx: $Client | $ClientContext, ...args: [
120
+ export declare function aggregate($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
112
121
  ontology: _Core.OntologyIdentifier,
113
122
  interfaceType: _Core.InterfaceTypeApiName,
114
123
  $body: _Core.AggregateObjectsRequestV2,
@@ -1 +1 @@
1
- {"version":3,"file":"OntologyInterface.d.ts","sourceRoot":"","sources":["../../../src/public/OntologyInterface.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,6BAA6B,CAAC;AAC1D,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,qBAAqB,CAAC;AAiB7B;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,IAAI,CAClB,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,KAAK,CAAC,kBAAkB;IAElC,YAAY,CAAC,EAAE;QACb,QAAQ,CAAC,EAAE,KAAK,CAAC,QAAQ,GAAG,SAAS,CAAC;QACtC,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,SAAS,CAAC;QACxC,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAC;KACzC;CACF,GACA,OAAO,CAAC,KAAK,CAAC,0BAA0B,CAAC,CAE3C;AAUD;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,GAAG,CACjB,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EA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AE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAA;KAAE;CAC3D,GACA,OAAO,CAAC,KAAK,CAAC,uBAAuB,CAAC,CAExC;AAWD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,SAAS,CACvB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,KAAK,CAAC,kBAAkB;IAClC,aAAa,EAAE,KAAK,CAAC,oBAAoB;IACzC,KAAK,EAAE,KAAK,CAAC,yBAAyB;IACtC,YAAY,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAA;KAAE;CAC3D,GACA,OAAO,CAAC,KAAK,CAAC,0BAA0B,CAAC,CAE3C"}
@@ -58,6 +58,10 @@ export function get($ctx, ...args) {
58
58
  }
59
59
  const _search = [1, "/v2/ontologies/{0}/interfaces/{1}/search", 3];
60
60
  /**
61
+ * :::callout{theme=warning title=Warning}
62
+ * This endpoint will be removed once TS OSDK is updated to use `objectSets/loadObjects` with interface object
63
+ * sets.
64
+ * :::
61
65
  * :::callout{theme=warning title=Warning}
62
66
  * This endpoint is in preview and may be modified or removed at any time.
63
67
  * To use this endpoint, add `preview=true` to the request query parameters.
@@ -98,6 +102,10 @@ export function search($ctx, ...args) {
98
102
  }
99
103
  const _aggregate = [1, "/v2/ontologies/{0}/interfaces/{1}/aggregate", 3];
100
104
  /**
105
+ * :::callout{theme=warning title=Warning}
106
+ * This endpoint will be removed once TS OSDK is updated to use `objectSets/aggregate` with interface object
107
+ * sets.
108
+ * :::
101
109
  * :::callout{theme=warning title=Warning}
102
110
  * This endpoint is in preview and may be modified or removed at any time.
103
111
  * To use this endpoint, add `preview=true` to the request query parameters.
@@ -1 +1 @@
1
- {"version":3,"file":"OntologyInterface.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_list","list","$ctx","args","_get","get","_search","search","_aggregate","aggregate"],"sources":["OntologyInterface.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _list = [0, \"/v2/ontologies/{0}/interfaceTypes\", 2];\n/**\n * :::callout{theme=warning title=Warning}\n * This endpoint is in preview and may be modified or removed at any time.\n * To use this endpoint, add `preview=true` to the request query parameters.\n * :::\n *\n * Lists the interface types for the given Ontology.\n *\n * Each page may be smaller than the requested page size. However, it is guaranteed that if there are more\n * results available, at least one result will be present in the response.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/interfaceTypes\n */\nexport function list($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _list, ...args);\n}\nconst _get = [0, \"/v2/ontologies/{0}/interfaceTypes/{1}\", 2];\n/**\n * :::callout{theme=warning title=Warning}\n * This endpoint is in preview and may be modified or removed at any time.\n * To use this endpoint, add `preview=true` to the request query parameters.\n * :::\n *\n * Gets a specific object type with the given API name.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/interfaceTypes/{interfaceType}\n */\nexport function get($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _get, ...args);\n}\nconst _search = [1, \"/v2/ontologies/{0}/interfaces/{1}/search\", 3];\n/**\n * :::callout{theme=warning title=Warning}\n * This endpoint is in preview and may be modified or removed at any time.\n * To use this endpoint, add `preview=true` to the request query parameters.\n * :::\n *\n * Search for objects in the specified ontology and interface type. Any properties specified in the \"where\" or\n * \"orderBy\" parameters must be shared property type API names defined on the interface. The following search\n * queries are supported:\n *\n * | Query type | Description | Supported Types |\n * |-----------------------------------------|-------------------------------------------------------------------------------------------------------------------|---------------------------------|\n * | lt | The provided property is less than the provided value. | number, string, date, timestamp |\n * | gt | The provided property is greater than the provided value. | number, string, date, timestamp |\n * | lte | The provided property is less than or equal to the provided value. | number, string, date, timestamp |\n * | gte | The provided property is greater than or equal to the provided value. | number, string, date, timestamp |\n * | eq | The provided property is exactly equal to the provided value. | number, string, date, timestamp |\n * | isNull | The provided property is (or is not) null. | all |\n * | contains | The provided property contains the provided value. | array |\n * | not | The sub-query does not match. | N/A (applied on a query) |\n * | and | All the sub-queries match. | N/A (applied on queries) |\n * | or | At least one of the sub-queries match. | N/A (applied on queries) |\n * | startsWith | The provided property starts with the provided value. | string |\n * | containsAllTermsInOrderPrefixLastTerm | The provided property contains all the terms provided in order. The last term can be a partial prefix match. | string |\n * | containsAllTermsInOrder | The provided property contains the provided value as a substring. | string |\n * | containsAnyTerm | The provided property contains at least one of the terms separated by whitespace. | string |\n * | containsAllTerms | The provided property contains all the terms separated by whitespace. | string |\n *\n * Attempting to use an unsupported query will result in a validation error. Third-party applications using this\n * endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/interfaces/{interfaceType}/search\n */\nexport function search($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _search, ...args);\n}\nconst _aggregate = [1, \"/v2/ontologies/{0}/interfaces/{1}/aggregate\", 3];\n/**\n * :::callout{theme=warning title=Warning}\n * This endpoint is in preview and may be modified or removed at any time.\n * To use this endpoint, add `preview=true` to the request query parameters.\n * :::\n *\n * Perform functions on object fields in the specified ontology and of the specified interface type. Any\n * properties specified in the query must be shared property type API names defined on the interface.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/interfaces/{interfaceType}/aggregate\n */\nexport function aggregate($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _aggregate, ...args);\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,oBAAoB,IAAIC,qBAAqB,QAAQ,8BAA8B;AAC5F;AACA,MAAMC,KAAK,GAAG,CAAC,CAAC,EAAE,mCAAmC,EAAE,CAAC,CAAC;AACzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,IAAIA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAChC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,KAAK,EAAE,GAAGG,IAAI,CAAC;AACtD;AACA,MAAMC,IAAI,GAAG,CAAC,CAAC,EAAE,uCAAuC,EAAE,CAAC,CAAC;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,GAAGA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC/B,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,IAAI,EAAE,GAAGD,IAAI,CAAC;AACrD;AACA,MAAMG,OAAO,GAAG,CAAC,CAAC,EAAE,0CAA0C,EAAE,CAAC,CAAC;AAClE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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,UAAU,GAAG,CAAC,CAAC,EAAE,6CAA6C,EAAE,CAAC,CAAC;AACxE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,SAASA,CAACP,IAAI,EAAE,GAAGC,IAAI,EAAE;EACrC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEM,UAAU,EAAE,GAAGL,IAAI,CAAC;AAC3D","ignoreList":[]}
1
+ {"version":3,"file":"OntologyInterface.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_list","list","$ctx","args","_get","get","_search","search","_aggregate","aggregate"],"sources":["OntologyInterface.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _list = [0, \"/v2/ontologies/{0}/interfaceTypes\", 2];\n/**\n * :::callout{theme=warning title=Warning}\n * This endpoint is in preview and may be modified or removed at any time.\n * To use this endpoint, add `preview=true` to the request query parameters.\n * :::\n *\n * Lists the interface types for the given Ontology.\n *\n * Each page may be smaller than the requested page size. However, it is guaranteed that if there are more\n * results available, at least one result will be present in the response.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/interfaceTypes\n */\nexport function list($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _list, ...args);\n}\nconst _get = [0, \"/v2/ontologies/{0}/interfaceTypes/{1}\", 2];\n/**\n * :::callout{theme=warning title=Warning}\n * This endpoint is in preview and may be modified or removed at any time.\n * To use this endpoint, add `preview=true` to the request query parameters.\n * :::\n *\n * Gets a specific object type with the given API name.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/interfaceTypes/{interfaceType}\n */\nexport function get($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _get, ...args);\n}\nconst _search = [1, \"/v2/ontologies/{0}/interfaces/{1}/search\", 3];\n/**\n * :::callout{theme=warning title=Warning}\n * This endpoint will be removed once TS OSDK is updated to use `objectSets/loadObjects` with interface object\n * sets.\n * :::\n * :::callout{theme=warning title=Warning}\n * This endpoint is in preview and may be modified or removed at any time.\n * To use this endpoint, add `preview=true` to the request query parameters.\n * :::\n *\n * Search for objects in the specified ontology and interface type. Any properties specified in the \"where\" or\n * \"orderBy\" parameters must be shared property type API names defined on the interface. The following search\n * queries are supported:\n *\n * | Query type | Description | Supported Types |\n * |-----------------------------------------|-------------------------------------------------------------------------------------------------------------------|---------------------------------|\n * | lt | The provided property is less than the provided value. | number, string, date, timestamp |\n * | gt | The provided property is greater than the provided value. | number, string, date, timestamp |\n * | lte | The provided property is less than or equal to the provided value. | number, string, date, timestamp |\n * | gte | The provided property is greater than or equal to the provided value. | number, string, date, timestamp |\n * | eq | The provided property is exactly equal to the provided value. | number, string, date, timestamp |\n * | isNull | The provided property is (or is not) null. | all |\n * | contains | The provided property contains the provided value. | array |\n * | not | The sub-query does not match. | N/A (applied on a query) |\n * | and | All the sub-queries match. | N/A (applied on queries) |\n * | or | At least one of the sub-queries match. | N/A (applied on queries) |\n * | startsWith | The provided property starts with the provided value. | string |\n * | containsAllTermsInOrderPrefixLastTerm | The provided property contains all the terms provided in order. The last term can be a partial prefix match. | string |\n * | containsAllTermsInOrder | The provided property contains the provided value as a substring. | string |\n * | containsAnyTerm | The provided property contains at least one of the terms separated by whitespace. | string |\n * | containsAllTerms | The provided property contains all the terms separated by whitespace. | string |\n *\n * Attempting to use an unsupported query will result in a validation error. Third-party applications using this\n * endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/interfaces/{interfaceType}/search\n */\nexport function search($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _search, ...args);\n}\nconst _aggregate = [1, \"/v2/ontologies/{0}/interfaces/{1}/aggregate\", 3];\n/**\n * :::callout{theme=warning title=Warning}\n * This endpoint will be removed once TS OSDK is updated to use `objectSets/aggregate` with interface object\n * sets.\n * :::\n * :::callout{theme=warning title=Warning}\n * This endpoint is in preview and may be modified or removed at any time.\n * To use this endpoint, add `preview=true` to the request query parameters.\n * :::\n *\n * Perform functions on object fields in the specified ontology and of the specified interface type. Any\n * properties specified in the query must be shared property type API names defined on the interface.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/interfaces/{interfaceType}/aggregate\n */\nexport function aggregate($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _aggregate, ...args);\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,oBAAoB,IAAIC,qBAAqB,QAAQ,8BAA8B;AAC5F;AACA,MAAMC,KAAK,GAAG,CAAC,CAAC,EAAE,mCAAmC,EAAE,CAAC,CAAC;AACzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,IAAIA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAChC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,KAAK,EAAE,GAAGG,IAAI,CAAC;AACtD;AACA,MAAMC,IAAI,GAAG,CAAC,CAAC,EAAE,uCAAuC,EAAE,CAAC,CAAC;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,GAAGA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC/B,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,IAAI,EAAE,GAAGD,IAAI,CAAC;AACrD;AACA,MAAMG,OAAO,GAAG,CAAC,CAAC,EAAE,0CAA0C,EAAE,CAAC,CAAC;AAClE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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,UAAU,GAAG,CAAC,CAAC,EAAE,6CAA6C,EAAE,CAAC,CAAC;AACxE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,SAASA,CAACP,IAAI,EAAE,GAAGC,IAAI,EAAE;EACrC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEM,UAAU,EAAE,GAAGL,IAAI,CAAC;AAC3D","ignoreList":[]}
@@ -1,5 +1,6 @@
1
1
  import type * as _Core from "@osdk/internal.foundry.core";
2
- import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client";
2
+ import type { SharedClient as $OldClient, SharedClientContext as $OldClientContext } from "@osdk/shared.client";
3
+ import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client2";
3
4
  /**
4
5
  * Creates a temporary `ObjectSet` from the given definition.
5
6
  *
@@ -11,7 +12,7 @@ import type { SharedClient as $Client, SharedClientContext as $ClientContext } f
11
12
  * Required Scopes: [api:ontologies-read, api:ontologies-write]
12
13
  * URL: /v2/ontologies/{ontology}/objectSets/createTemporary
13
14
  */
14
- export declare function createTemporary($ctx: $Client | $ClientContext, ...args: [
15
+ export declare function createTemporary($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
15
16
  ontology: _Core.OntologyIdentifier,
16
17
  $body: _Core.CreateTemporaryObjectSetRequestV2
17
18
  ]): Promise<_Core.CreateTemporaryObjectSetResponseV2>;
@@ -25,7 +26,7 @@ export declare function createTemporary($ctx: $Client | $ClientContext, ...args:
25
26
  * Required Scopes: []
26
27
  * URL: /v2/ontologies/{ontology}/objectSets/{objectSetRid}
27
28
  */
28
- export declare function get($ctx: $Client | $ClientContext, ...args: [
29
+ export declare function get($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
29
30
  ontology: _Core.OntologyIdentifier,
30
31
  objectSetRid: _Core.ObjectSetRid
31
32
  ]): Promise<_Core.ObjectSet>;
@@ -44,7 +45,7 @@ export declare function get($ctx: $Client | $ClientContext, ...args: [
44
45
  * Required Scopes: [api:ontologies-read]
45
46
  * URL: /v2/ontologies/{ontology}/objectSets/loadObjects
46
47
  */
47
- export declare function load($ctx: $Client | $ClientContext, ...args: [
48
+ export declare function load($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
48
49
  ontology: _Core.OntologyIdentifier,
49
50
  $body: _Core.LoadObjectSetRequestV2,
50
51
  $queryParams?: {
@@ -52,6 +53,34 @@ export declare function load($ctx: $Client | $ClientContext, ...args: [
52
53
  packageName?: _Core.SdkPackageName | undefined;
53
54
  }
54
55
  ]): Promise<_Core.LoadObjectSetResponseV2>;
56
+ /**
57
+ * Load the ontology objects present in the `ObjectSet` from the provided object set definition. The resulting
58
+ * objects may be scoped to an object type, in which all the selected properties on the object type are returned, or scoped
59
+ * to an interface, in which only the object type properties that implement the properties of any interfaces in its
60
+ * scope are returned. For objects that are scoped to an interface in the result, a mapping from interface to
61
+ * object implementation is returned in order to interpret the objects as the interfaces that they implement.
62
+ *
63
+ * 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
64
+ * 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.
65
+ *
66
+ * Note that null value properties will not be returned. In addition, property metadata (rid, apiName, and primaryKey)
67
+ * will be prefixed with '$' instead of '\_\_' as is the case in `loadObjects`.
68
+ *
69
+ * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
70
+ *
71
+ * @alpha
72
+ *
73
+ * Required Scopes: [api:ontologies-read]
74
+ * URL: /v2/ontologies/{ontology}/objectSets/loadBaseObjects
75
+ */
76
+ export declare function loadBaseObjects($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
77
+ ontology: _Core.OntologyIdentifier,
78
+ $body: _Core.LoadObjectSetV2BaseObjectsRequest,
79
+ $queryParams?: {
80
+ artifactRepository?: _Core.ArtifactRepositoryRid | undefined;
81
+ packageName?: _Core.SdkPackageName | undefined;
82
+ }
83
+ ]): Promise<_Core.LoadObjectSetV2BaseObjectsResponse>;
55
84
  /**
56
85
  * Aggregates the ontology objects present in the `ObjectSet` from the provided object set definition.
57
86
  *
@@ -62,7 +91,7 @@ export declare function load($ctx: $Client | $ClientContext, ...args: [
62
91
  * Required Scopes: [api:ontologies-read]
63
92
  * URL: /v2/ontologies/{ontology}/objectSets/aggregate
64
93
  */
65
- export declare function aggregate($ctx: $Client | $ClientContext, ...args: [
94
+ export declare function aggregate($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
66
95
  ontology: _Core.OntologyIdentifier,
67
96
  $body: _Core.AggregateObjectSetRequestV2,
68
97
  $queryParams?: {
@@ -1 +1 @@
1
- {"version":3,"file":"OntologyObjectSet.d.ts","sourceRoot":"","sources":["../../../src/public/OntologyObjectSet.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,6BAA6B,CAAC;AAC1D,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,qBAAqB,CAAC;AAa7B;;;;;;;;;;GAUG;AACH,wBAAgB,eAAe,CAC7B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,KAAK,CAAC,kBAAkB;IAClC,KAAK,EAAE,KAAK,CAAC,iCAAiC;CAC/C,GACA,OAAO,CAAC,KAAK,CAAC,kCAAkC,CAAC,CAEnD;AASD;;;;;;;;;GASG;AACH,wBAAgB,GAAG,CACjB,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,KAAK,CAAC,kBAAkB;IAClC,YAAY,EAAE,KAAK,CAAC,YAAY;CACjC,GACA,OAAO,CAAC,KAAK,CAAC,SAAS,CAAC,CAE1B;AAaD;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,IAAI,CAClB,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,KAAK,CAAC,kBAAkB;IAClC,KAAK,EAAE,KAAK,CAAC,sBAAsB;IACnC,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,uBAAuB,CAAC,CAExC;AAaD;;;;;;;;;GASG;AACH,wBAAgB,SAAS,CACvB,IAAI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"}
@@ -63,6 +63,30 @@ const _load = [1, "/v2/ontologies/{0}/objectSets/loadObjects", 3];
63
63
  export function load($ctx, ...args) {
64
64
  return $foundryPlatformFetch($ctx, _load, ...args);
65
65
  }
66
+ const _loadBaseObjects = [1, "/v2/ontologies/{0}/objectSets/loadBaseObjects", 3];
67
+ /**
68
+ * Load the ontology objects present in the `ObjectSet` from the provided object set definition. The resulting
69
+ * objects may be scoped to an object type, in which all the selected properties on the object type are returned, or scoped
70
+ * to an interface, in which only the object type properties that implement the properties of any interfaces in its
71
+ * scope are returned. For objects that are scoped to an interface in the result, a mapping from interface to
72
+ * object implementation is returned in order to interpret the objects as the interfaces that they implement.
73
+ *
74
+ * 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
75
+ * 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.
76
+ *
77
+ * Note that null value properties will not be returned. In addition, property metadata (rid, apiName, and primaryKey)
78
+ * will be prefixed with '$' instead of '\_\_' as is the case in `loadObjects`.
79
+ *
80
+ * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
81
+ *
82
+ * @alpha
83
+ *
84
+ * Required Scopes: [api:ontologies-read]
85
+ * URL: /v2/ontologies/{ontology}/objectSets/loadBaseObjects
86
+ */
87
+ export function loadBaseObjects($ctx, ...args) {
88
+ return $foundryPlatformFetch($ctx, _loadBaseObjects, ...args);
89
+ }
66
90
  const _aggregate = [1, "/v2/ontologies/{0}/objectSets/aggregate", 3];
67
91
  /**
68
92
  * Aggregates the ontology objects present in the `ObjectSet` from the provided object set definition.
@@ -1 +1 @@
1
- {"version":3,"file":"OntologyObjectSet.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_createTemporary","createTemporary","$ctx","args","_get","get","_load","load","_aggregate","aggregate"],"sources":["OntologyObjectSet.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _createTemporary = [1, \"/v2/ontologies/{0}/objectSets/createTemporary\", 1];\n/**\n * Creates a temporary `ObjectSet` from the given definition.\n *\n * Third-party applications using this endpoint via OAuth2 must request the\n * following operation scopes: `api:ontologies-read api:ontologies-write`.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read, api:ontologies-write]\n * URL: /v2/ontologies/{ontology}/objectSets/createTemporary\n */\nexport function createTemporary($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _createTemporary, ...args);\n}\nconst _get = [0, \"/v2/ontologies/{0}/objectSets/{1}\"];\n/**\n * Gets the definition of the `ObjectSet` with the given RID.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @alpha\n *\n * Required Scopes: []\n * URL: /v2/ontologies/{ontology}/objectSets/{objectSetRid}\n */\nexport function get($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _get, ...args);\n}\nconst _load = [1, \"/v2/ontologies/{0}/objectSets/loadObjects\", 3];\n/**\n * Load the ontology objects present in the `ObjectSet` from the provided object set definition.\n *\n * For Object Storage V1 backed objects, this endpoint returns a maximum of 10,000 objects. After 10,000 objects have been returned and if more objects\n * are available, attempting to load another page will result in an `ObjectsExceededLimit` error being returned. There is no limit on Object Storage V2 backed objects.\n *\n * Note that null value properties will not be returned.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objectSets/loadObjects\n */\nexport function load($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _load, ...args);\n}\nconst _aggregate = [1, \"/v2/ontologies/{0}/objectSets/aggregate\", 3];\n/**\n * Aggregates the ontology objects present in the `ObjectSet` from the provided object set definition.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objectSets/aggregate\n */\nexport function aggregate($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _aggregate, ...args);\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,oBAAoB,IAAIC,qBAAqB,QAAQ,8BAA8B;AAC5F;AACA,MAAMC,gBAAgB,GAAG,CAAC,CAAC,EAAE,+CAA+C,EAAE,CAAC,CAAC;AAChF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,eAAeA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC3C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,gBAAgB,EAAE,GAAGG,IAAI,CAAC;AACjE;AACA,MAAMC,IAAI,GAAG,CAAC,CAAC,EAAE,mCAAmC,CAAC;AACrD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,GAAGA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC/B,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,IAAI,EAAE,GAAGD,IAAI,CAAC;AACrD;AACA,MAAMG,KAAK,GAAG,CAAC,CAAC,EAAE,2CAA2C,EAAE,CAAC,CAAC;AACjE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,IAAIA,CAACL,IAAI,EAAE,GAAGC,IAAI,EAAE;EAChC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEI,KAAK,EAAE,GAAGH,IAAI,CAAC;AACtD;AACA,MAAMK,UAAU,GAAG,CAAC,CAAC,EAAE,yCAAyC,EAAE,CAAC,CAAC;AACpE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,SAASA,CAACP,IAAI,EAAE,GAAGC,IAAI,EAAE;EACrC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEM,UAAU,EAAE,GAAGL,IAAI,CAAC;AAC3D","ignoreList":[]}
1
+ {"version":3,"file":"OntologyObjectSet.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_createTemporary","createTemporary","$ctx","args","_get","get","_load","load","_loadBaseObjects","loadBaseObjects","_aggregate","aggregate"],"sources":["OntologyObjectSet.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _createTemporary = [1, \"/v2/ontologies/{0}/objectSets/createTemporary\", 1];\n/**\n * Creates a temporary `ObjectSet` from the given definition.\n *\n * Third-party applications using this endpoint via OAuth2 must request the\n * following operation scopes: `api:ontologies-read api:ontologies-write`.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read, api:ontologies-write]\n * URL: /v2/ontologies/{ontology}/objectSets/createTemporary\n */\nexport function createTemporary($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _createTemporary, ...args);\n}\nconst _get = [0, \"/v2/ontologies/{0}/objectSets/{1}\"];\n/**\n * Gets the definition of the `ObjectSet` with the given RID.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @alpha\n *\n * Required Scopes: []\n * URL: /v2/ontologies/{ontology}/objectSets/{objectSetRid}\n */\nexport function get($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _get, ...args);\n}\nconst _load = [1, \"/v2/ontologies/{0}/objectSets/loadObjects\", 3];\n/**\n * Load the ontology objects present in the `ObjectSet` from the provided object set definition.\n *\n * For Object Storage V1 backed objects, this endpoint returns a maximum of 10,000 objects. After 10,000 objects have been returned and if more objects\n * are available, attempting to load another page will result in an `ObjectsExceededLimit` error being returned. There is no limit on Object Storage V2 backed objects.\n *\n * Note that null value properties will not be returned.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objectSets/loadObjects\n */\nexport function load($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _load, ...args);\n}\nconst _loadBaseObjects = [1, \"/v2/ontologies/{0}/objectSets/loadBaseObjects\", 3];\n/**\n * Load the ontology objects present in the `ObjectSet` from the provided object set definition. The resulting\n * objects may be scoped to an object type, in which all the selected properties on the object type are returned, or scoped\n * to an interface, in which only the object type properties that implement the properties of any interfaces in its\n * scope are returned. For objects that are scoped to an interface in the result, a mapping from interface to\n * object implementation is returned in order to interpret the objects as the interfaces that they implement.\n *\n * For Object Storage V1 backed objects, this endpoint returns a maximum of 10,000 objects. After 10,000 objects have been returned and if more objects\n * are available, attempting to load another page will result in an `ObjectsExceededLimit` error being returned. There is no limit on Object Storage V2 backed objects.\n *\n * Note that null value properties will not be returned. In addition, property metadata (rid, apiName, and primaryKey)\n * will be prefixed with '$' instead of '\\_\\_' as is the case in `loadObjects`.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objectSets/loadBaseObjects\n */\nexport function loadBaseObjects($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _loadBaseObjects, ...args);\n}\nconst _aggregate = [1, \"/v2/ontologies/{0}/objectSets/aggregate\", 3];\n/**\n * Aggregates the ontology objects present in the `ObjectSet` from the provided object set definition.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objectSets/aggregate\n */\nexport function aggregate($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _aggregate, ...args);\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,oBAAoB,IAAIC,qBAAqB,QAAQ,8BAA8B;AAC5F;AACA,MAAMC,gBAAgB,GAAG,CAAC,CAAC,EAAE,+CAA+C,EAAE,CAAC,CAAC;AAChF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,eAAeA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC3C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,gBAAgB,EAAE,GAAGG,IAAI,CAAC;AACjE;AACA,MAAMC,IAAI,GAAG,CAAC,CAAC,EAAE,mCAAmC,CAAC;AACrD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,GAAGA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC/B,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,IAAI,EAAE,GAAGD,IAAI,CAAC;AACrD;AACA,MAAMG,KAAK,GAAG,CAAC,CAAC,EAAE,2CAA2C,EAAE,CAAC,CAAC;AACjE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,IAAIA,CAACL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