@osdk/internal.foundry.ontologies 0.2.0-beta.8 → 0.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 (120) hide show
  1. package/CHANGELOG.md +59 -0
  2. package/build/browser/_components.d.ts +4 -0
  3. package/build/browser/_components.d.ts.map +1 -0
  4. package/build/browser/_components.js +17 -0
  5. package/build/browser/_components.js.map +1 -0
  6. package/build/browser/_errors.d.ts +4 -0
  7. package/build/browser/_errors.d.ts.map +1 -0
  8. package/build/browser/_errors.js +17 -0
  9. package/build/browser/_errors.js.map +1 -0
  10. package/build/browser/index.d.ts +11 -0
  11. package/build/browser/index.d.ts.map +1 -0
  12. package/build/browser/index.js +23 -10
  13. package/build/browser/index.js.map +1 -1
  14. package/build/browser/public/Action.d.ts +105 -0
  15. package/build/browser/public/Action.d.ts.map +1 -0
  16. package/build/browser/public/Action.js +108 -3
  17. package/build/browser/public/Action.js.map +1 -1
  18. package/build/browser/public/ActionType.d.ts +37 -0
  19. package/build/browser/public/ActionType.d.ts.map +1 -0
  20. package/build/browser/public/ActionType.js +48 -3
  21. package/build/browser/public/ActionType.js.map +1 -1
  22. package/build/browser/public/Attachment.d.ts +51 -0
  23. package/build/browser/public/Attachment.d.ts.map +1 -0
  24. package/build/browser/public/Attachment.js +71 -3
  25. package/build/browser/public/Attachment.js.map +1 -1
  26. package/build/browser/public/ObjectType.d.ts +70 -0
  27. package/build/browser/public/ObjectType.d.ts.map +1 -0
  28. package/build/browser/public/ObjectType.js +79 -3
  29. package/build/browser/public/ObjectType.js.map +1 -1
  30. package/build/browser/public/Ontology.d.ts +25 -0
  31. package/build/browser/public/Ontology.d.ts.map +1 -0
  32. package/build/browser/public/Ontology.js +45 -3
  33. package/build/browser/public/Ontology.js.map +1 -1
  34. package/build/browser/public/OntologyObject.d.ts +162 -0
  35. package/build/browser/public/OntologyObject.d.ts.map +1 -0
  36. package/build/browser/public/OntologyObject.js +150 -3
  37. package/build/browser/public/OntologyObject.js.map +1 -1
  38. package/build/browser/public/Query.d.ts +18 -0
  39. package/build/browser/public/Query.d.ts.map +1 -0
  40. package/build/browser/public/Query.js +31 -3
  41. package/build/browser/public/Query.js.map +1 -1
  42. package/build/browser/public/QueryType.d.ts +34 -0
  43. package/build/browser/public/QueryType.d.ts.map +1 -0
  44. package/build/browser/public/QueryType.js +48 -3
  45. package/build/browser/public/QueryType.js.map +1 -1
  46. package/build/esm/_components.js +17 -0
  47. package/build/esm/_components.js.map +1 -0
  48. package/build/esm/_errors.js +17 -0
  49. package/build/esm/_errors.js.map +1 -0
  50. package/build/esm/index.js +23 -10
  51. package/build/esm/index.js.map +1 -1
  52. package/build/esm/public/Action.d.ts +27 -27
  53. package/build/esm/public/Action.d.ts.map +1 -1
  54. package/build/esm/public/Action.js +108 -3
  55. package/build/esm/public/Action.js.map +1 -1
  56. package/build/esm/public/ActionType.d.ts +10 -7
  57. package/build/esm/public/ActionType.d.ts.map +1 -1
  58. package/build/esm/public/ActionType.js +48 -3
  59. package/build/esm/public/ActionType.js.map +1 -1
  60. package/build/esm/public/Attachment.d.ts +7 -7
  61. package/build/esm/public/Attachment.d.ts.map +1 -1
  62. package/build/esm/public/Attachment.js +71 -3
  63. package/build/esm/public/Attachment.js.map +1 -1
  64. package/build/esm/public/ObjectType.d.ts +16 -16
  65. package/build/esm/public/ObjectType.d.ts.map +1 -1
  66. package/build/esm/public/ObjectType.js +79 -3
  67. package/build/esm/public/ObjectType.js.map +1 -1
  68. package/build/esm/public/Ontology.d.ts +3 -3
  69. package/build/esm/public/Ontology.d.ts.map +1 -1
  70. package/build/esm/public/Ontology.js +45 -3
  71. package/build/esm/public/Ontology.js.map +1 -1
  72. package/build/esm/public/OntologyObject.d.ts +41 -41
  73. package/build/esm/public/OntologyObject.d.ts.map +1 -1
  74. package/build/esm/public/OntologyObject.js +150 -3
  75. package/build/esm/public/OntologyObject.js.map +1 -1
  76. package/build/esm/public/Query.d.ts +6 -6
  77. package/build/esm/public/Query.d.ts.map +1 -1
  78. package/build/esm/public/Query.js +31 -3
  79. package/build/esm/public/Query.js.map +1 -1
  80. package/build/esm/public/QueryType.d.ts +7 -7
  81. package/build/esm/public/QueryType.d.ts.map +1 -1
  82. package/build/esm/public/QueryType.js +48 -3
  83. package/build/esm/public/QueryType.js.map +1 -1
  84. package/package.json +6 -7
  85. package/build/browser/chunk-5RUWELWF.js +0 -21
  86. package/build/browser/chunk-5RUWELWF.js.map +0 -1
  87. package/build/browser/chunk-ABHCL2BI.js +0 -21
  88. package/build/browser/chunk-ABHCL2BI.js.map +0 -1
  89. package/build/browser/chunk-ATSSLGFA.js +0 -31
  90. package/build/browser/chunk-ATSSLGFA.js.map +0 -1
  91. package/build/browser/chunk-MONAXU3N.js +0 -36
  92. package/build/browser/chunk-MONAXU3N.js.map +0 -1
  93. package/build/browser/chunk-PZ5AY32C.js +0 -9
  94. package/build/browser/chunk-PZ5AY32C.js.map +0 -1
  95. package/build/browser/chunk-SALCOSHR.js +0 -16
  96. package/build/browser/chunk-SALCOSHR.js.map +0 -1
  97. package/build/browser/chunk-UM4N5F6D.js +0 -21
  98. package/build/browser/chunk-UM4N5F6D.js.map +0 -1
  99. package/build/browser/chunk-VBZZKGHE.js +0 -41
  100. package/build/browser/chunk-VBZZKGHE.js.map +0 -1
  101. package/build/browser/chunk-YCOLCQXU.js +0 -31
  102. package/build/browser/chunk-YCOLCQXU.js.map +0 -1
  103. package/build/esm/chunk-5RUWELWF.js +0 -21
  104. package/build/esm/chunk-5RUWELWF.js.map +0 -1
  105. package/build/esm/chunk-ABHCL2BI.js +0 -21
  106. package/build/esm/chunk-ABHCL2BI.js.map +0 -1
  107. package/build/esm/chunk-ATSSLGFA.js +0 -31
  108. package/build/esm/chunk-ATSSLGFA.js.map +0 -1
  109. package/build/esm/chunk-MONAXU3N.js +0 -36
  110. package/build/esm/chunk-MONAXU3N.js.map +0 -1
  111. package/build/esm/chunk-PZ5AY32C.js +0 -9
  112. package/build/esm/chunk-PZ5AY32C.js.map +0 -1
  113. package/build/esm/chunk-SALCOSHR.js +0 -16
  114. package/build/esm/chunk-SALCOSHR.js.map +0 -1
  115. package/build/esm/chunk-UM4N5F6D.js +0 -21
  116. package/build/esm/chunk-UM4N5F6D.js.map +0 -1
  117. package/build/esm/chunk-VBZZKGHE.js +0 -41
  118. package/build/esm/chunk-VBZZKGHE.js.map +0 -1
  119. package/build/esm/chunk-YCOLCQXU.js +0 -31
  120. package/build/esm/chunk-YCOLCQXU.js.map +0 -1
@@ -1,4 +1,72 @@
1
- export { getAttachment, getAttachmentContent, uploadAttachment } from '../chunk-YCOLCQXU.js';
2
- import '../chunk-PZ5AY32C.js';
3
- //# sourceMappingURL=Attachment.js.map
1
+ /*
2
+ * Copyright 2024 Palantir Technologies, Inc. All rights reserved.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { foundryPlatformFetch as $foundryPlatformFetch } from "@osdk/shared.net.platformapi";
17
+ //
18
+ const _upload = [1, "/v1/attachments/upload", 7, "*/*"];
19
+ /**
20
+ * Upload an attachment to use in an action. Any attachment which has not been linked to an object via
21
+ * an action within one hour after upload will be removed.
22
+ * Previously mapped attachments which are not connected to any object anymore are also removed on
23
+ * a biweekly basis.
24
+ * The body of the request must contain the binary content of the file and the `Content-Type` header must be `application/octet-stream`.
25
+ *
26
+ * Third-party applications using this endpoint via OAuth2 must request the
27
+ * following operation scopes: `api:ontologies-write`.
28
+ *
29
+ * @public
30
+ *
31
+ * Required Scopes: [api:ontologies-write]
32
+ * URL: /v1/attachments/upload
33
+ */
34
+ export function upload($ctx, ...args) {
35
+ const headerParams = {
36
+ ...args[2],
37
+ "Content-Type": args[2]?.["Content-Type"] ?? args[0].type,
38
+ "Content-Length": args[0].size.toString()
39
+ };
40
+ return $foundryPlatformFetch($ctx, _upload, args[0], args[1], headerParams);
41
+ }
42
+ const _read = [0, "/v1/attachments/{0}/content",,, "*/*"];
43
+ /**
44
+ * Get the content of an attachment.
45
+ *
46
+ * Third-party applications using this endpoint via OAuth2 must request the
47
+ * following operation scopes: `api:ontologies-read`.
48
+ *
49
+ * @public
50
+ *
51
+ * Required Scopes: [api:ontologies-read]
52
+ * URL: /v1/attachments/{attachmentRid}/content
53
+ */
54
+ export function read($ctx, ...args) {
55
+ return $foundryPlatformFetch($ctx, _read, ...args);
56
+ }
57
+ const _get = [0, "/v1/attachments/{0}"];
58
+ /**
59
+ * Get the metadata of an attachment.
60
+ *
61
+ * Third-party applications using this endpoint via OAuth2 must request the
62
+ * following operation scopes: `api:ontologies-read`.
63
+ *
64
+ * @public
65
+ *
66
+ * Required Scopes: [api:ontologies-read]
67
+ * URL: /v1/attachments/{attachmentRid}
68
+ */
69
+ export function get($ctx, ...args) {
70
+ return $foundryPlatformFetch($ctx, _get, ...args);
71
+ }
4
72
  //# sourceMappingURL=Attachment.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"Attachment.js"}
1
+ {"version":3,"file":"Attachment.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_upload","upload","$ctx","args","headerParams","type","size","toString","_read","read","_get","get"],"sources":["Attachment.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _upload = [1, \"/v1/attachments/upload\", 7, \"*/*\"];\n/**\n * Upload an attachment to use in an action. Any attachment which has not been linked to an object via\n * an action within one hour after upload will be removed.\n * Previously mapped attachments which are not connected to any object anymore are also removed on\n * a biweekly basis.\n * The body of the request must contain the binary content of the file and the `Content-Type` header must be `application/octet-stream`.\n *\n * Third-party applications using this endpoint via OAuth2 must request the\n * following operation scopes: `api:ontologies-write`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-write]\n * URL: /v1/attachments/upload\n */\nexport function upload($ctx, ...args) {\n const headerParams = {\n ...args[2],\n \"Content-Type\": args[2]?.[\"Content-Type\"] ?? args[0].type,\n \"Content-Length\": args[0].size.toString(),\n };\n return $foundryPlatformFetch($ctx, _upload, args[0], args[1], headerParams);\n}\nconst _read = [0, \"/v1/attachments/{0}/content\", , , \"*/*\"];\n/**\n * Get the content of an attachment.\n *\n * Third-party applications using this endpoint via OAuth2 must request the\n * following operation scopes: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v1/attachments/{attachmentRid}/content\n */\nexport function read($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _read, ...args);\n}\nconst _get = [0, \"/v1/attachments/{0}\"];\n/**\n * Get the metadata of an attachment.\n *\n * Third-party applications using this endpoint via OAuth2 must request the\n * following operation scopes: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v1/attachments/{attachmentRid}\n */\nexport function get($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _get, ...args);\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,oBAAoB,IAAIC,qBAAqB,QAAQ,8BAA8B;AAC5F;AACA,MAAMC,OAAO,GAAG,CAAC,CAAC,EAAE,wBAAwB,EAAE,CAAC,EAAE,KAAK,CAAC;AACvD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,MAAMA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAClC,MAAMC,YAAY,GAAG;IACjB,GAAGD,IAAI,CAAC,CAAC,CAAC;IACV,cAAc,EAAEA,IAAI,CAAC,CAAC,CAAC,GAAG,cAAc,CAAC,IAAIA,IAAI,CAAC,CAAC,CAAC,CAACE,IAAI;IACzD,gBAAgB,EAAEF,IAAI,CAAC,CAAC,CAAC,CAACG,IAAI,CAACC,QAAQ,CAAC;EAC5C,CAAC;EACD,OAAOR,qBAAqB,CAACG,IAAI,EAAEF,OAAO,EAAEG,IAAI,CAAC,CAAC,CAAC,EAAEA,IAAI,CAAC,CAAC,CAAC,EAAEC,YAAY,CAAC;AAC/E;AACA,MAAMI,KAAK,GAAG,CAAC,CAAC,EAAE,6BAA6B,IAAM,KAAK,CAAC;AAC3D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,IAAIA,CAACP,IAAI,EAAE,GAAGC,IAAI,EAAE;EAChC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEM,KAAK,EAAE,GAAGL,IAAI,CAAC;AACtD;AACA,MAAMO,IAAI,GAAG,CAAC,CAAC,EAAE,qBAAqB,CAAC;AACvC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,GAAGA,CAACT,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC/B,OAAOJ,qBAAqB,CAACG,IAAI,EAAEQ,IAAI,EAAE,GAAGP,IAAI,CAAC;AACrD","ignoreList":[]}
@@ -0,0 +1,70 @@
1
+ import type * as _Core from "@osdk/internal.foundry.core";
2
+ import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client";
3
+ /**
4
+ * Lists the object types for the given Ontology.
5
+ *
6
+ * Each page may be smaller or larger than the requested page size. However, it is guaranteed that if there are
7
+ * more results available, at least one result will be present in the
8
+ * response.
9
+ *
10
+ * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
11
+ *
12
+ * @public
13
+ *
14
+ * Required Scopes: [api:ontologies-read]
15
+ * URL: /v1/ontologies/{ontologyRid}/objectTypes
16
+ */
17
+ export declare function list($ctx: $Client | $ClientContext, ...args: [
18
+ ontologyRid: _Core.OntologyRid,
19
+ $queryParams?: {
20
+ pageSize?: _Core.PageSize | undefined;
21
+ pageToken?: _Core.PageToken | undefined;
22
+ }
23
+ ]): Promise<_Core.ListObjectTypesResponse>;
24
+ /**
25
+ * Gets a specific object type with the given API name.
26
+ *
27
+ * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
28
+ *
29
+ * @public
30
+ *
31
+ * Required Scopes: [api:ontologies-read]
32
+ * URL: /v1/ontologies/{ontologyRid}/objectTypes/{objectType}
33
+ */
34
+ export declare function get($ctx: $Client | $ClientContext, ...args: [ontologyRid: _Core.OntologyRid, objectType: _Core.ObjectTypeApiName]): Promise<_Core.ObjectType>;
35
+ /**
36
+ * List the outgoing links for an object type.
37
+ *
38
+ * Third-party applications using this endpoint via OAuth2 must request the
39
+ * following operation scopes: `api:ontologies-read`.
40
+ *
41
+ * @public
42
+ *
43
+ * Required Scopes: [api:ontologies-read]
44
+ * URL: /v1/ontologies/{ontologyRid}/objectTypes/{objectType}/outgoingLinkTypes
45
+ */
46
+ export declare function listOutgoingLinkTypes($ctx: $Client | $ClientContext, ...args: [
47
+ ontologyRid: _Core.OntologyRid,
48
+ objectType: _Core.ObjectTypeApiName,
49
+ $queryParams?: {
50
+ pageSize?: _Core.PageSize | undefined;
51
+ pageToken?: _Core.PageToken | undefined;
52
+ }
53
+ ]): Promise<_Core.ListOutgoingLinkTypesResponse>;
54
+ /**
55
+ * Get an outgoing link for an object type.
56
+ *
57
+ * Third-party applications using this endpoint via OAuth2 must request the
58
+ * following operation scopes: `api:ontologies-read`.
59
+ *
60
+ * @public
61
+ *
62
+ * Required Scopes: [api:ontologies-read]
63
+ * URL: /v1/ontologies/{ontologyRid}/objectTypes/{objectType}/outgoingLinkTypes/{linkType}
64
+ */
65
+ export declare function getOutgoingLinkType($ctx: $Client | $ClientContext, ...args: [
66
+ ontologyRid: _Core.OntologyRid,
67
+ objectType: _Core.ObjectTypeApiName,
68
+ linkType: _Core.LinkTypeApiName
69
+ ]): Promise<_Core.LinkTypeSide>;
70
+ //# sourceMappingURL=ObjectType.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ObjectType.d.ts","sourceRoot":"","sources":["../../../src/public/ObjectType.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,WAAW,EAAE,KAAK,CAAC,WAAW;IAE9B,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,uBAAuB,CAAC,CAExC;AASD;;;;;;;;;GASG;AACH,wBAAgB,GAAG,CACjB,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE,CAAC,WAAW,EAAE,KAAK,CAAC,WAAW,EAAE,UAAU,EAAE,KAAK,CAAC,iBAAiB,CAAC,GAC7E,OAAO,CAAC,KAAK,CAAC,UAAU,CAAC,CAE3B;AAaD;;;;;;;;;;GAUG;AACH,wBAAgB,qBAAqB,CACnC,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,WAAW,EAAE,KAAK,CAAC,WAAW;IAC9B,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,6BAA6B,CAAC,CAE9C;AAUD;;;;;;;;;;GAUG;AACH,wBAAgB,mBAAmB,CACjC,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,WAAW,EAAE,KAAK,CAAC,WAAW;IAC9B,UAAU,EAAE,KAAK,CAAC,iBAAiB;IACnC,QAAQ,EAAE,KAAK,CAAC,eAAe;CAChC,GACA,OAAO,CAAC,KAAK,CAAC,YAAY,CAAC,CAE7B"}
@@ -1,4 +1,80 @@
1
- export { getObjectType, getOutgoingLinkType, listObjectTypes, listOutgoingLinkTypes } from '../chunk-ATSSLGFA.js';
2
- import '../chunk-PZ5AY32C.js';
3
- //# sourceMappingURL=ObjectType.js.map
1
+ /*
2
+ * Copyright 2024 Palantir Technologies, Inc. All rights reserved.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { foundryPlatformFetch as $foundryPlatformFetch } from "@osdk/shared.net.platformapi";
17
+ //
18
+ const _list = [0, "/v1/ontologies/{0}/objectTypes", 2];
19
+ /**
20
+ * Lists the object types for the given Ontology.
21
+ *
22
+ * Each page may be smaller or larger than the requested page size. However, it is guaranteed that if there are
23
+ * more results available, at least one result will be present in the
24
+ * response.
25
+ *
26
+ * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
27
+ *
28
+ * @public
29
+ *
30
+ * Required Scopes: [api:ontologies-read]
31
+ * URL: /v1/ontologies/{ontologyRid}/objectTypes
32
+ */
33
+ export function list($ctx, ...args) {
34
+ return $foundryPlatformFetch($ctx, _list, ...args);
35
+ }
36
+ const _get = [0, "/v1/ontologies/{0}/objectTypes/{1}"];
37
+ /**
38
+ * Gets a specific object type with the given API name.
39
+ *
40
+ * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
41
+ *
42
+ * @public
43
+ *
44
+ * Required Scopes: [api:ontologies-read]
45
+ * URL: /v1/ontologies/{ontologyRid}/objectTypes/{objectType}
46
+ */
47
+ export function get($ctx, ...args) {
48
+ return $foundryPlatformFetch($ctx, _get, ...args);
49
+ }
50
+ const _listOutgoingLinkTypes = [0, "/v1/ontologies/{0}/objectTypes/{1}/outgoingLinkTypes", 2];
51
+ /**
52
+ * List the outgoing links for an object type.
53
+ *
54
+ * Third-party applications using this endpoint via OAuth2 must request the
55
+ * following operation scopes: `api:ontologies-read`.
56
+ *
57
+ * @public
58
+ *
59
+ * Required Scopes: [api:ontologies-read]
60
+ * URL: /v1/ontologies/{ontologyRid}/objectTypes/{objectType}/outgoingLinkTypes
61
+ */
62
+ export function listOutgoingLinkTypes($ctx, ...args) {
63
+ return $foundryPlatformFetch($ctx, _listOutgoingLinkTypes, ...args);
64
+ }
65
+ const _getOutgoingLinkType = [0, "/v1/ontologies/{0}/objectTypes/{1}/outgoingLinkTypes/{2}"];
66
+ /**
67
+ * Get an outgoing link for an object type.
68
+ *
69
+ * Third-party applications using this endpoint via OAuth2 must request the
70
+ * following operation scopes: `api:ontologies-read`.
71
+ *
72
+ * @public
73
+ *
74
+ * Required Scopes: [api:ontologies-read]
75
+ * URL: /v1/ontologies/{ontologyRid}/objectTypes/{objectType}/outgoingLinkTypes/{linkType}
76
+ */
77
+ export function getOutgoingLinkType($ctx, ...args) {
78
+ return $foundryPlatformFetch($ctx, _getOutgoingLinkType, ...args);
79
+ }
4
80
  //# sourceMappingURL=ObjectType.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"ObjectType.js"}
1
+ {"version":3,"file":"ObjectType.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_list","list","$ctx","args","_get","get","_listOutgoingLinkTypes","listOutgoingLinkTypes","_getOutgoingLinkType","getOutgoingLinkType"],"sources":["ObjectType.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, \"/v1/ontologies/{0}/objectTypes\", 2];\n/**\n * Lists the object types for the given Ontology.\n *\n * Each page may be smaller or larger than the requested page size. However, it is guaranteed that if there are\n * more results available, at least one result will be present in the\n * response.\n *\n * 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: /v1/ontologies/{ontologyRid}/objectTypes\n */\nexport function list($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _list, ...args);\n}\nconst _get = [0, \"/v1/ontologies/{0}/objectTypes/{1}\"];\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 * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v1/ontologies/{ontologyRid}/objectTypes/{objectType}\n */\nexport function get($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _get, ...args);\n}\nconst _listOutgoingLinkTypes = [0, \"/v1/ontologies/{0}/objectTypes/{1}/outgoingLinkTypes\", 2];\n/**\n * List the outgoing links for an object type.\n *\n * Third-party applications using this endpoint via OAuth2 must request the\n * following operation scopes: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v1/ontologies/{ontologyRid}/objectTypes/{objectType}/outgoingLinkTypes\n */\nexport function listOutgoingLinkTypes($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listOutgoingLinkTypes, ...args);\n}\nconst _getOutgoingLinkType = [0, \"/v1/ontologies/{0}/objectTypes/{1}/outgoingLinkTypes/{2}\"];\n/**\n * Get an outgoing link for an object type.\n *\n * Third-party applications using this endpoint via OAuth2 must request the\n * following operation scopes: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v1/ontologies/{ontologyRid}/objectTypes/{objectType}/outgoingLinkTypes/{linkType}\n */\nexport function getOutgoingLinkType($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getOutgoingLinkType, ...args);\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,oBAAoB,IAAIC,qBAAqB,QAAQ,8BAA8B;AAC5F;AACA,MAAMC,KAAK,GAAG,CAAC,CAAC,EAAE,gCAAgC,EAAE,CAAC,CAAC;AACtD;AACA;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,oCAAoC,CAAC;AACtD;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,sBAAsB,GAAG,CAAC,CAAC,EAAE,sDAAsD,EAAE,CAAC,CAAC;AAC7F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,qBAAqBA,CAACL,IAAI,EAAE,GAAGC,IAAI,EAAE;EACjD,OAAOJ,qBAAqB,CAACG,IAAI,EAAEI,sBAAsB,EAAE,GAAGH,IAAI,CAAC;AACvE;AACA,MAAMK,oBAAoB,GAAG,CAAC,CAAC,EAAE,0DAA0D,CAAC;AAC5F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,mBAAmBA,CAACP,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC/C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEM,oBAAoB,EAAE,GAAGL,IAAI,CAAC;AACrE","ignoreList":[]}
@@ -0,0 +1,25 @@
1
+ import type * as _Core from "@osdk/internal.foundry.core";
2
+ import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client";
3
+ /**
4
+ * Lists the Ontologies visible to the current user.
5
+ *
6
+ * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
7
+ *
8
+ * @public
9
+ *
10
+ * Required Scopes: [api:ontologies-read]
11
+ * URL: /v1/ontologies
12
+ */
13
+ export declare function list($ctx: $Client | $ClientContext, ...args: []): Promise<_Core.ListOntologiesResponse>;
14
+ /**
15
+ * Gets a specific ontology with the given Ontology RID.
16
+ *
17
+ * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
18
+ *
19
+ * @public
20
+ *
21
+ * Required Scopes: [api:ontologies-read]
22
+ * URL: /v1/ontologies/{ontologyRid}
23
+ */
24
+ export declare function get($ctx: $Client | $ClientContext, ...args: [ontologyRid: _Core.OntologyRid]): Promise<_Core.Ontology>;
25
+ //# sourceMappingURL=Ontology.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Ontology.d.ts","sourceRoot":"","sources":["../../../src/public/Ontology.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;AAU7B;;;;;;;;;GASG;AACH,wBAAgB,IAAI,CAClB,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE,EAAE,GACV,OAAO,CAAC,KAAK,CAAC,sBAAsB,CAAC,CAEvC;AAMD;;;;;;;;;GASG;AACH,wBAAgB,GAAG,CACjB,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE,CAAC,WAAW,EAAE,KAAK,CAAC,WAAW,CAAC,GACxC,OAAO,CAAC,KAAK,CAAC,QAAQ,CAAC,CAEzB"}
@@ -1,4 +1,46 @@
1
- export { getOntology, listOntologies } from '../chunk-ABHCL2BI.js';
2
- import '../chunk-PZ5AY32C.js';
3
- //# sourceMappingURL=Ontology.js.map
1
+ /*
2
+ * Copyright 2024 Palantir Technologies, Inc. All rights reserved.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { foundryPlatformFetch as $foundryPlatformFetch } from "@osdk/shared.net.platformapi";
17
+ //
18
+ const _list = [0, "/v1/ontologies"];
19
+ /**
20
+ * Lists the Ontologies visible to the current user.
21
+ *
22
+ * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
23
+ *
24
+ * @public
25
+ *
26
+ * Required Scopes: [api:ontologies-read]
27
+ * URL: /v1/ontologies
28
+ */
29
+ export function list($ctx, ...args) {
30
+ return $foundryPlatformFetch($ctx, _list, ...args);
31
+ }
32
+ const _get = [0, "/v1/ontologies/{0}"];
33
+ /**
34
+ * Gets a specific ontology with the given Ontology RID.
35
+ *
36
+ * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
37
+ *
38
+ * @public
39
+ *
40
+ * Required Scopes: [api:ontologies-read]
41
+ * URL: /v1/ontologies/{ontologyRid}
42
+ */
43
+ export function get($ctx, ...args) {
44
+ return $foundryPlatformFetch($ctx, _get, ...args);
45
+ }
4
46
  //# sourceMappingURL=Ontology.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"Ontology.js"}
1
+ {"version":3,"file":"Ontology.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_list","list","$ctx","args","_get","get"],"sources":["Ontology.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, \"/v1/ontologies\"];\n/**\n * Lists the Ontologies visible to the current user.\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: /v1/ontologies\n */\nexport function list($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _list, ...args);\n}\nconst _get = [0, \"/v1/ontologies/{0}\"];\n/**\n * Gets a specific ontology with the given Ontology RID.\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: /v1/ontologies/{ontologyRid}\n */\nexport function get($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _get, ...args);\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,oBAAoB,IAAIC,qBAAqB,QAAQ,8BAA8B;AAC5F;AACA,MAAMC,KAAK,GAAG,CAAC,CAAC,EAAE,gBAAgB,CAAC;AACnC;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,oBAAoB,CAAC;AACtC;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","ignoreList":[]}
@@ -0,0 +1,162 @@
1
+ import type * as _Core from "@osdk/internal.foundry.core";
2
+ import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client";
3
+ /**
4
+ * Lists the objects for the given Ontology and object type.
5
+ *
6
+ * This endpoint supports filtering objects.
7
+ * See the [Filtering Objects documentation](https://www.palantir.com/docs/foundry/api/ontology-resources/objects/object-basics/#filtering-objects) for details.
8
+ *
9
+ * Note that this endpoint does not guarantee consistency. Changes to the data could result in missing or
10
+ * repeated objects in the response pages.
11
+ *
12
+ * 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
13
+ * 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.
14
+ *
15
+ * Each page may be smaller or larger than the requested page size. However, it
16
+ * is guaranteed that if there are more results available, at least one result will be present
17
+ * in the response.
18
+ *
19
+ * Note that null value properties will not be returned.
20
+ *
21
+ * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
22
+ *
23
+ * @public
24
+ *
25
+ * Required Scopes: [api:ontologies-read]
26
+ * URL: /v1/ontologies/{ontologyRid}/objects/{objectType}
27
+ */
28
+ export declare function list($ctx: $Client | $ClientContext, ...args: [
29
+ ontologyRid: _Core.OntologyRid,
30
+ objectType: _Core.ObjectTypeApiName,
31
+ $queryParams: {
32
+ pageSize?: _Core.PageSize | undefined;
33
+ pageToken?: _Core.PageToken | undefined;
34
+ properties: Array<_Core.SelectedPropertyApiName>;
35
+ orderBy?: _Core.OrderBy | undefined;
36
+ }
37
+ ]): Promise<_Core.ListObjectsResponse>;
38
+ /**
39
+ * Gets a specific object with the given primary key.
40
+ *
41
+ * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
42
+ *
43
+ * @public
44
+ *
45
+ * Required Scopes: [api:ontologies-read]
46
+ * URL: /v1/ontologies/{ontologyRid}/objects/{objectType}/{primaryKey}
47
+ */
48
+ export declare function get($ctx: $Client | $ClientContext, ...args: [
49
+ ontologyRid: _Core.OntologyRid,
50
+ objectType: _Core.ObjectTypeApiName,
51
+ primaryKey: _Core.PropertyValueEscapedString,
52
+ $queryParams: {
53
+ properties: Array<_Core.SelectedPropertyApiName>;
54
+ }
55
+ ]): Promise<_Core.OntologyObject>;
56
+ /**
57
+ * Lists the linked objects for a specific object and the given link type.
58
+ *
59
+ * This endpoint supports filtering objects.
60
+ * See the [Filtering Objects documentation](https://www.palantir.com/docs/foundry/api/ontology-resources/objects/object-basics/#filtering-objects) for details.
61
+ *
62
+ * Note that this endpoint does not guarantee consistency. Changes to the data could result in missing or
63
+ * repeated objects in the response pages.
64
+ *
65
+ * 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
66
+ * 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.
67
+ *
68
+ * Each page may be smaller or larger than the requested page size. However, it
69
+ * is guaranteed that if there are more results available, at least one result will be present
70
+ * in the response.
71
+ *
72
+ * Note that null value properties will not be returned.
73
+ *
74
+ * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
75
+ *
76
+ * @public
77
+ *
78
+ * Required Scopes: [api:ontologies-read]
79
+ * URL: /v1/ontologies/{ontologyRid}/objects/{objectType}/{primaryKey}/links/{linkType}
80
+ */
81
+ export declare function listLinkedObjects($ctx: $Client | $ClientContext, ...args: [
82
+ ontologyRid: _Core.OntologyRid,
83
+ objectType: _Core.ObjectTypeApiName,
84
+ primaryKey: _Core.PropertyValueEscapedString,
85
+ linkType: _Core.LinkTypeApiName,
86
+ $queryParams: {
87
+ pageSize?: _Core.PageSize | undefined;
88
+ pageToken?: _Core.PageToken | undefined;
89
+ properties: Array<_Core.SelectedPropertyApiName>;
90
+ orderBy?: _Core.OrderBy | undefined;
91
+ }
92
+ ]): Promise<_Core.ListLinkedObjectsResponse>;
93
+ /**
94
+ * Get a specific linked object that originates from another object. If there is no link between the two objects,
95
+ * LinkedObjectNotFound is thrown.
96
+ *
97
+ * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
98
+ *
99
+ * @public
100
+ *
101
+ * Required Scopes: [api:ontologies-read]
102
+ * URL: /v1/ontologies/{ontologyRid}/objects/{objectType}/{primaryKey}/links/{linkType}/{linkedObjectPrimaryKey}
103
+ */
104
+ export declare function getLinkedObject($ctx: $Client | $ClientContext, ...args: [
105
+ ontologyRid: _Core.OntologyRid,
106
+ objectType: _Core.ObjectTypeApiName,
107
+ primaryKey: _Core.PropertyValueEscapedString,
108
+ linkType: _Core.LinkTypeApiName,
109
+ linkedObjectPrimaryKey: _Core.PropertyValueEscapedString,
110
+ $queryParams: {
111
+ properties: Array<_Core.SelectedPropertyApiName>;
112
+ }
113
+ ]): Promise<_Core.OntologyObject>;
114
+ /**
115
+ * Search for objects in the specified ontology and object type. The request body is used
116
+ * to filter objects based on the specified query. The supported queries are:
117
+ *
118
+ * | Query type | Description | Supported Types |
119
+ * |----------|-----------------------------------------------------------------------------------|---------------------------------|
120
+ * | lt | The provided property is less than the provided value. | number, string, date, timestamp |
121
+ * | gt | The provided property is greater than the provided value. | number, string, date, timestamp |
122
+ * | lte | The provided property is less than or equal to the provided value. | number, string, date, timestamp |
123
+ * | gte | The provided property is greater than or equal to the provided value. | number, string, date, timestamp |
124
+ * | eq | The provided property is exactly equal to the provided value. | number, string, date, timestamp |
125
+ * | isNull | The provided property is (or is not) null. | all |
126
+ * | contains | The provided property contains the provided value. | array |
127
+ * | not | The sub-query does not match. | N/A (applied on a query) |
128
+ * | and | All the sub-queries match. | N/A (applied on queries) |
129
+ * | or | At least one of the sub-queries match. | N/A (applied on queries) |
130
+ * | prefix | The provided property starts with the provided value. | string |
131
+ * | phrase | The provided property contains the provided value as a substring. | string |
132
+ * | anyTerm | The provided property contains at least one of the terms separated by whitespace. | string |
133
+ * | allTerms | The provided property contains all the terms separated by whitespace. | string | |
134
+ *
135
+ * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
136
+ *
137
+ * @public
138
+ *
139
+ * Required Scopes: [api:ontologies-read]
140
+ * URL: /v1/ontologies/{ontologyRid}/objects/{objectType}/search
141
+ */
142
+ export declare function search($ctx: $Client | $ClientContext, ...args: [
143
+ ontologyRid: _Core.OntologyRid,
144
+ objectType: _Core.ObjectTypeApiName,
145
+ $body: _Core.SearchObjectsRequest
146
+ ]): Promise<_Core.SearchObjectsResponse>;
147
+ /**
148
+ * Perform functions on object fields in the specified ontology and object type.
149
+ *
150
+ * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
151
+ *
152
+ * @public
153
+ *
154
+ * Required Scopes: [api:ontologies-read]
155
+ * URL: /v1/ontologies/{ontologyRid}/objects/{objectType}/aggregate
156
+ */
157
+ export declare function aggregate($ctx: $Client | $ClientContext, ...args: [
158
+ ontologyRid: _Core.OntologyRid,
159
+ objectType: _Core.ObjectTypeApiName,
160
+ $body: _Core.AggregateObjectsRequest
161
+ ]): Promise<_Core.AggregateObjectsResponse>;
162
+ //# sourceMappingURL=OntologyObject.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OntologyObject.d.ts","sourceRoot":"","sources":["../../../src/public/OntologyObject.ts"],"names":[],"mappings":"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"}