@osdk/internal.foundry.ontologies 0.2.0-beta.9 → 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 (66) hide show
  1. package/CHANGELOG.md +43 -0
  2. package/build/browser/public/Action.d.ts +5 -5
  3. package/build/browser/public/Action.d.ts.map +1 -1
  4. package/build/browser/public/Action.js +15 -15
  5. package/build/browser/public/Action.js.map +1 -1
  6. package/build/browser/public/ActionType.d.ts +2 -2
  7. package/build/browser/public/ActionType.d.ts.map +1 -1
  8. package/build/browser/public/ActionType.js +6 -6
  9. package/build/browser/public/ActionType.js.map +1 -1
  10. package/build/browser/public/Attachment.d.ts +3 -3
  11. package/build/browser/public/Attachment.d.ts.map +1 -1
  12. package/build/browser/public/Attachment.js +9 -9
  13. package/build/browser/public/Attachment.js.map +1 -1
  14. package/build/browser/public/ObjectType.d.ts +2 -2
  15. package/build/browser/public/ObjectType.d.ts.map +1 -1
  16. package/build/browser/public/ObjectType.js +6 -6
  17. package/build/browser/public/ObjectType.js.map +1 -1
  18. package/build/browser/public/Ontology.d.ts +2 -2
  19. package/build/browser/public/Ontology.d.ts.map +1 -1
  20. package/build/browser/public/Ontology.js +6 -6
  21. package/build/browser/public/Ontology.js.map +1 -1
  22. package/build/browser/public/OntologyObject.d.ts +4 -4
  23. package/build/browser/public/OntologyObject.d.ts.map +1 -1
  24. package/build/browser/public/OntologyObject.js +12 -12
  25. package/build/browser/public/OntologyObject.js.map +1 -1
  26. package/build/browser/public/Query.d.ts +1 -1
  27. package/build/browser/public/Query.d.ts.map +1 -1
  28. package/build/browser/public/Query.js +3 -3
  29. package/build/browser/public/Query.js.map +1 -1
  30. package/build/browser/public/QueryType.d.ts +2 -2
  31. package/build/browser/public/QueryType.d.ts.map +1 -1
  32. package/build/browser/public/QueryType.js +6 -6
  33. package/build/browser/public/QueryType.js.map +1 -1
  34. package/build/esm/public/Action.d.ts +5 -5
  35. package/build/esm/public/Action.d.ts.map +1 -1
  36. package/build/esm/public/Action.js +15 -15
  37. package/build/esm/public/Action.js.map +1 -1
  38. package/build/esm/public/ActionType.d.ts +2 -2
  39. package/build/esm/public/ActionType.d.ts.map +1 -1
  40. package/build/esm/public/ActionType.js +6 -6
  41. package/build/esm/public/ActionType.js.map +1 -1
  42. package/build/esm/public/Attachment.d.ts +3 -3
  43. package/build/esm/public/Attachment.d.ts.map +1 -1
  44. package/build/esm/public/Attachment.js +9 -9
  45. package/build/esm/public/Attachment.js.map +1 -1
  46. package/build/esm/public/ObjectType.d.ts +2 -2
  47. package/build/esm/public/ObjectType.d.ts.map +1 -1
  48. package/build/esm/public/ObjectType.js +6 -6
  49. package/build/esm/public/ObjectType.js.map +1 -1
  50. package/build/esm/public/Ontology.d.ts +2 -2
  51. package/build/esm/public/Ontology.d.ts.map +1 -1
  52. package/build/esm/public/Ontology.js +6 -6
  53. package/build/esm/public/Ontology.js.map +1 -1
  54. package/build/esm/public/OntologyObject.d.ts +4 -4
  55. package/build/esm/public/OntologyObject.d.ts.map +1 -1
  56. package/build/esm/public/OntologyObject.js +12 -12
  57. package/build/esm/public/OntologyObject.js.map +1 -1
  58. package/build/esm/public/Query.d.ts +1 -1
  59. package/build/esm/public/Query.d.ts.map +1 -1
  60. package/build/esm/public/Query.js +3 -3
  61. package/build/esm/public/Query.js.map +1 -1
  62. package/build/esm/public/QueryType.d.ts +2 -2
  63. package/build/esm/public/QueryType.d.ts.map +1 -1
  64. package/build/esm/public/QueryType.js +6 -6
  65. package/build/esm/public/QueryType.js.map +1 -1
  66. package/package.json +5 -5
@@ -1 +1 @@
1
- {"version":3,"file":"Attachment.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_uploadAttachment","uploadAttachment","$ctx","args","headerParams","type","size","toString","_getAttachmentContent","getAttachmentContent","_getAttachment","getAttachment"],"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 _uploadAttachment = [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 uploadAttachment($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, _uploadAttachment, args[0], args[1], headerParams);\n}\nconst _getAttachmentContent = [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 getAttachmentContent($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getAttachmentContent, ...args);\n}\nconst _getAttachment = [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 getAttachment($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getAttachment, ...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,iBAAiB,GAAG,CAAC,CAAC,EAAE,wBAAwB,EAAE,CAAC,EAAE,KAAK,CAAC;AACjE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,gBAAgBA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC5C,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,iBAAiB,EAAEG,IAAI,CAAC,CAAC,CAAC,EAAEA,IAAI,CAAC,CAAC,CAAC,EAAEC,YAAY,CAAC;AACzF;AACA,MAAMI,qBAAqB,GAAG,CAAC,CAAC,EAAE,6BAA6B,IAAM,KAAK,CAAC;AAC3E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,oBAAoBA,CAACP,IAAI,EAAE,GAAGC,IAAI,EAAE;EAChD,OAAOJ,qBAAqB,CAACG,IAAI,EAAEM,qBAAqB,EAAE,GAAGL,IAAI,CAAC;AACtE;AACA,MAAMO,cAAc,GAAG,CAAC,CAAC,EAAE,qBAAqB,CAAC;AACjD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,aAAaA,CAACT,IAAI,EAAE,GAAGC,IAAI,EAAE;EACzC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEQ,cAAc,EAAE,GAAGP,IAAI,CAAC;AAC/D","ignoreList":[]}
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":[]}
@@ -14,7 +14,7 @@ import type { SharedClient as $Client, SharedClientContext as $ClientContext } f
14
14
  * Required Scopes: [api:ontologies-read]
15
15
  * URL: /v1/ontologies/{ontologyRid}/objectTypes
16
16
  */
17
- export declare function listObjectTypes($ctx: $Client | $ClientContext, ...args: [
17
+ export declare function list($ctx: $Client | $ClientContext, ...args: [
18
18
  ontologyRid: _Core.OntologyRid,
19
19
  $queryParams?: {
20
20
  pageSize?: _Core.PageSize | undefined;
@@ -31,7 +31,7 @@ export declare function listObjectTypes($ctx: $Client | $ClientContext, ...args:
31
31
  * Required Scopes: [api:ontologies-read]
32
32
  * URL: /v1/ontologies/{ontologyRid}/objectTypes/{objectType}
33
33
  */
34
- export declare function getObjectType($ctx: $Client | $ClientContext, ...args: [ontologyRid: _Core.OntologyRid, objectType: _Core.ObjectTypeApiName]): Promise<_Core.ObjectType>;
34
+ export declare function get($ctx: $Client | $ClientContext, ...args: [ontologyRid: _Core.OntologyRid, objectType: _Core.ObjectTypeApiName]): Promise<_Core.ObjectType>;
35
35
  /**
36
36
  * List the outgoing links for an object type.
37
37
  *
@@ -1 +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,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,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"}
@@ -15,7 +15,7 @@
15
15
  */
16
16
  import { foundryPlatformFetch as $foundryPlatformFetch } from "@osdk/shared.net.platformapi";
17
17
  //
18
- const _listObjectTypes = [0, "/v1/ontologies/{0}/objectTypes", 2];
18
+ const _list = [0, "/v1/ontologies/{0}/objectTypes", 2];
19
19
  /**
20
20
  * Lists the object types for the given Ontology.
21
21
  *
@@ -30,10 +30,10 @@ const _listObjectTypes = [0, "/v1/ontologies/{0}/objectTypes", 2];
30
30
  * Required Scopes: [api:ontologies-read]
31
31
  * URL: /v1/ontologies/{ontologyRid}/objectTypes
32
32
  */
33
- export function listObjectTypes($ctx, ...args) {
34
- return $foundryPlatformFetch($ctx, _listObjectTypes, ...args);
33
+ export function list($ctx, ...args) {
34
+ return $foundryPlatformFetch($ctx, _list, ...args);
35
35
  }
36
- const _getObjectType = [0, "/v1/ontologies/{0}/objectTypes/{1}"];
36
+ const _get = [0, "/v1/ontologies/{0}/objectTypes/{1}"];
37
37
  /**
38
38
  * Gets a specific object type with the given API name.
39
39
  *
@@ -44,8 +44,8 @@ const _getObjectType = [0, "/v1/ontologies/{0}/objectTypes/{1}"];
44
44
  * Required Scopes: [api:ontologies-read]
45
45
  * URL: /v1/ontologies/{ontologyRid}/objectTypes/{objectType}
46
46
  */
47
- export function getObjectType($ctx, ...args) {
48
- return $foundryPlatformFetch($ctx, _getObjectType, ...args);
47
+ export function get($ctx, ...args) {
48
+ return $foundryPlatformFetch($ctx, _get, ...args);
49
49
  }
50
50
  const _listOutgoingLinkTypes = [0, "/v1/ontologies/{0}/objectTypes/{1}/outgoingLinkTypes", 2];
51
51
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"ObjectType.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_listObjectTypes","listObjectTypes","$ctx","args","_getObjectType","getObjectType","_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 _listObjectTypes = [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 listObjectTypes($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listObjectTypes, ...args);\n}\nconst _getObjectType = [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 getObjectType($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getObjectType, ...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,gBAAgB,GAAG,CAAC,CAAC,EAAE,gCAAgC,EAAE,CAAC,CAAC;AACjE;AACA;AACA;AACA;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,cAAc,GAAG,CAAC,CAAC,EAAE,oCAAoC,CAAC;AAChE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,aAAaA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EACzC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,cAAc,EAAE,GAAGD,IAAI,CAAC;AAC/D;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":[]}
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":[]}
@@ -10,7 +10,7 @@ import type { SharedClient as $Client, SharedClientContext as $ClientContext } f
10
10
  * Required Scopes: [api:ontologies-read]
11
11
  * URL: /v1/ontologies
12
12
  */
13
- export declare function listOntologies($ctx: $Client | $ClientContext, ...args: []): Promise<_Core.ListOntologiesResponse>;
13
+ export declare function list($ctx: $Client | $ClientContext, ...args: []): Promise<_Core.ListOntologiesResponse>;
14
14
  /**
15
15
  * Gets a specific ontology with the given Ontology RID.
16
16
  *
@@ -21,5 +21,5 @@ export declare function listOntologies($ctx: $Client | $ClientContext, ...args:
21
21
  * Required Scopes: [api:ontologies-read]
22
22
  * URL: /v1/ontologies/{ontologyRid}
23
23
  */
24
- export declare function getOntology($ctx: $Client | $ClientContext, ...args: [ontologyRid: _Core.OntologyRid]): Promise<_Core.Ontology>;
24
+ export declare function get($ctx: $Client | $ClientContext, ...args: [ontologyRid: _Core.OntologyRid]): Promise<_Core.Ontology>;
25
25
  //# sourceMappingURL=Ontology.d.ts.map
@@ -1 +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,cAAc,CAC5B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE,EAAE,GACV,OAAO,CAAC,KAAK,CAAC,sBAAsB,CAAC,CAEvC;AAMD;;;;;;;;;GASG;AACH,wBAAgB,WAAW,CACzB,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
+ {"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"}
@@ -15,7 +15,7 @@
15
15
  */
16
16
  import { foundryPlatformFetch as $foundryPlatformFetch } from "@osdk/shared.net.platformapi";
17
17
  //
18
- const _listOntologies = [0, "/v1/ontologies"];
18
+ const _list = [0, "/v1/ontologies"];
19
19
  /**
20
20
  * Lists the Ontologies visible to the current user.
21
21
  *
@@ -26,10 +26,10 @@ const _listOntologies = [0, "/v1/ontologies"];
26
26
  * Required Scopes: [api:ontologies-read]
27
27
  * URL: /v1/ontologies
28
28
  */
29
- export function listOntologies($ctx, ...args) {
30
- return $foundryPlatformFetch($ctx, _listOntologies, ...args);
29
+ export function list($ctx, ...args) {
30
+ return $foundryPlatformFetch($ctx, _list, ...args);
31
31
  }
32
- const _getOntology = [0, "/v1/ontologies/{0}"];
32
+ const _get = [0, "/v1/ontologies/{0}"];
33
33
  /**
34
34
  * Gets a specific ontology with the given Ontology RID.
35
35
  *
@@ -40,7 +40,7 @@ const _getOntology = [0, "/v1/ontologies/{0}"];
40
40
  * Required Scopes: [api:ontologies-read]
41
41
  * URL: /v1/ontologies/{ontologyRid}
42
42
  */
43
- export function getOntology($ctx, ...args) {
44
- return $foundryPlatformFetch($ctx, _getOntology, ...args);
43
+ export function get($ctx, ...args) {
44
+ return $foundryPlatformFetch($ctx, _get, ...args);
45
45
  }
46
46
  //# sourceMappingURL=Ontology.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Ontology.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_listOntologies","listOntologies","$ctx","args","_getOntology","getOntology"],"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 _listOntologies = [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 listOntologies($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listOntologies, ...args);\n}\nconst _getOntology = [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 getOntology($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getOntology, ...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,eAAe,GAAG,CAAC,CAAC,EAAE,gBAAgB,CAAC;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,cAAcA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC1C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,eAAe,EAAE,GAAGG,IAAI,CAAC;AAChE;AACA,MAAMC,YAAY,GAAG,CAAC,CAAC,EAAE,oBAAoB,CAAC;AAC9C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,WAAWA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EACvC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,YAAY,EAAE,GAAGD,IAAI,CAAC;AAC7D","ignoreList":[]}
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":[]}
@@ -25,7 +25,7 @@ import type { SharedClient as $Client, SharedClientContext as $ClientContext } f
25
25
  * Required Scopes: [api:ontologies-read]
26
26
  * URL: /v1/ontologies/{ontologyRid}/objects/{objectType}
27
27
  */
28
- export declare function listObjects($ctx: $Client | $ClientContext, ...args: [
28
+ export declare function list($ctx: $Client | $ClientContext, ...args: [
29
29
  ontologyRid: _Core.OntologyRid,
30
30
  objectType: _Core.ObjectTypeApiName,
31
31
  $queryParams: {
@@ -45,7 +45,7 @@ export declare function listObjects($ctx: $Client | $ClientContext, ...args: [
45
45
  * Required Scopes: [api:ontologies-read]
46
46
  * URL: /v1/ontologies/{ontologyRid}/objects/{objectType}/{primaryKey}
47
47
  */
48
- export declare function getObject($ctx: $Client | $ClientContext, ...args: [
48
+ export declare function get($ctx: $Client | $ClientContext, ...args: [
49
49
  ontologyRid: _Core.OntologyRid,
50
50
  objectType: _Core.ObjectTypeApiName,
51
51
  primaryKey: _Core.PropertyValueEscapedString,
@@ -139,7 +139,7 @@ export declare function getLinkedObject($ctx: $Client | $ClientContext, ...args:
139
139
  * Required Scopes: [api:ontologies-read]
140
140
  * URL: /v1/ontologies/{ontologyRid}/objects/{objectType}/search
141
141
  */
142
- export declare function searchObjects($ctx: $Client | $ClientContext, ...args: [
142
+ export declare function search($ctx: $Client | $ClientContext, ...args: [
143
143
  ontologyRid: _Core.OntologyRid,
144
144
  objectType: _Core.ObjectTypeApiName,
145
145
  $body: _Core.SearchObjectsRequest
@@ -154,7 +154,7 @@ export declare function searchObjects($ctx: $Client | $ClientContext, ...args: [
154
154
  * Required Scopes: [api:ontologies-read]
155
155
  * URL: /v1/ontologies/{ontologyRid}/objects/{objectType}/aggregate
156
156
  */
157
- export declare function aggregateObjects($ctx: $Client | $ClientContext, ...args: [
157
+ export declare function aggregate($ctx: $Client | $ClientContext, ...args: [
158
158
  ontologyRid: _Core.OntologyRid,
159
159
  objectType: _Core.ObjectTypeApiName,
160
160
  $body: _Core.AggregateObjectsRequest
@@ -1 +1 @@
1
- {"version":3,"file":"OntologyObject.d.ts","sourceRoot":"","sources":["../../../src/public/OntologyObject.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;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,wBAAgB,WAAW,CACzB,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B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IAAI,EAAE;IACP,WAAW,EAAE,KAAK,CAAC,WAAW;IAC9B,UAAU,EAAE,KAAK,CAAC,iBAAiB;IACnC,KAAK,EAAE,KAAK,CAAC,uBAAuB;CACrC,GACA,OAAO,CAAC,KAAK,CAAC,wBAAwB,CAAC,CAEzC"}
@@ -15,7 +15,7 @@
15
15
  */
16
16
  import { foundryPlatformFetch as $foundryPlatformFetch } from "@osdk/shared.net.platformapi";
17
17
  //
18
- const _listObjects = [0, "/v1/ontologies/{0}/objects/{1}", 2];
18
+ const _list = [0, "/v1/ontologies/{0}/objects/{1}", 2];
19
19
  /**
20
20
  * Lists the objects for the given Ontology and object type.
21
21
  *
@@ -41,10 +41,10 @@ const _listObjects = [0, "/v1/ontologies/{0}/objects/{1}", 2];
41
41
  * Required Scopes: [api:ontologies-read]
42
42
  * URL: /v1/ontologies/{ontologyRid}/objects/{objectType}
43
43
  */
44
- export function listObjects($ctx, ...args) {
45
- return $foundryPlatformFetch($ctx, _listObjects, ...args);
44
+ export function list($ctx, ...args) {
45
+ return $foundryPlatformFetch($ctx, _list, ...args);
46
46
  }
47
- const _getObject = [0, "/v1/ontologies/{0}/objects/{1}/{2}", 2];
47
+ const _get = [0, "/v1/ontologies/{0}/objects/{1}/{2}", 2];
48
48
  /**
49
49
  * Gets a specific object with the given primary key.
50
50
  *
@@ -55,8 +55,8 @@ const _getObject = [0, "/v1/ontologies/{0}/objects/{1}/{2}", 2];
55
55
  * Required Scopes: [api:ontologies-read]
56
56
  * URL: /v1/ontologies/{ontologyRid}/objects/{objectType}/{primaryKey}
57
57
  */
58
- export function getObject($ctx, ...args) {
59
- return $foundryPlatformFetch($ctx, _getObject, ...args);
58
+ export function get($ctx, ...args) {
59
+ return $foundryPlatformFetch($ctx, _get, ...args);
60
60
  }
61
61
  const _listLinkedObjects = [0, "/v1/ontologies/{0}/objects/{1}/{2}/links/{3}", 2];
62
62
  /**
@@ -102,7 +102,7 @@ const _getLinkedObject = [0, "/v1/ontologies/{0}/objects/{1}/{2}/links/{3}/{4}",
102
102
  export function getLinkedObject($ctx, ...args) {
103
103
  return $foundryPlatformFetch($ctx, _getLinkedObject, ...args);
104
104
  }
105
- const _searchObjects = [1, "/v1/ontologies/{0}/objects/{1}/search", 1];
105
+ const _search = [1, "/v1/ontologies/{0}/objects/{1}/search", 1];
106
106
  /**
107
107
  * Search for objects in the specified ontology and object type. The request body is used
108
108
  * to filter objects based on the specified query. The supported queries are:
@@ -131,10 +131,10 @@ const _searchObjects = [1, "/v1/ontologies/{0}/objects/{1}/search", 1];
131
131
  * Required Scopes: [api:ontologies-read]
132
132
  * URL: /v1/ontologies/{ontologyRid}/objects/{objectType}/search
133
133
  */
134
- export function searchObjects($ctx, ...args) {
135
- return $foundryPlatformFetch($ctx, _searchObjects, ...args);
134
+ export function search($ctx, ...args) {
135
+ return $foundryPlatformFetch($ctx, _search, ...args);
136
136
  }
137
- const _aggregateObjects = [1, "/v1/ontologies/{0}/objects/{1}/aggregate", 1];
137
+ const _aggregate = [1, "/v1/ontologies/{0}/objects/{1}/aggregate", 1];
138
138
  /**
139
139
  * Perform functions on object fields in the specified ontology and object type.
140
140
  *
@@ -145,7 +145,7 @@ const _aggregateObjects = [1, "/v1/ontologies/{0}/objects/{1}/aggregate", 1];
145
145
  * Required Scopes: [api:ontologies-read]
146
146
  * URL: /v1/ontologies/{ontologyRid}/objects/{objectType}/aggregate
147
147
  */
148
- export function aggregateObjects($ctx, ...args) {
149
- return $foundryPlatformFetch($ctx, _aggregateObjects, ...args);
148
+ export function aggregate($ctx, ...args) {
149
+ return $foundryPlatformFetch($ctx, _aggregate, ...args);
150
150
  }
151
151
  //# sourceMappingURL=OntologyObject.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"OntologyObject.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_listObjects","listObjects","$ctx","args","_getObject","getObject","_listLinkedObjects","listLinkedObjects","_getLinkedObject","getLinkedObject","_searchObjects","searchObjects","_aggregateObjects","aggregateObjects"],"sources":["OntologyObject.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 _listObjects = [0, \"/v1/ontologies/{0}/objects/{1}\", 2];\n/**\n * Lists the objects for the given Ontology and object type.\n *\n * This endpoint supports filtering objects.\n * See the [Filtering Objects documentation](https://www.palantir.com/docs/foundry/api/ontology-resources/objects/object-basics/#filtering-objects) for details.\n *\n * Note that this endpoint does not guarantee consistency. Changes to the data could result in missing or\n * repeated objects in the response pages.\n *\n * For Object Storage V1 backed objects, this endpoint returns a maximum of 10,000 objects. After 10,000 objects have been returned and if more objects\n * are available, attempting to load another page will result in an `ObjectsExceededLimit` error being returned. There is no limit on Object Storage V2 backed objects.\n *\n * Each page may be smaller or larger than the requested page size. However, it\n * is guaranteed that if there are more results available, at least one result will be present\n * in the response.\n *\n * Note that null value properties will not be returned.\n *\n * 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}/objects/{objectType}\n */\nexport function listObjects($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listObjects, ...args);\n}\nconst _getObject = [0, \"/v1/ontologies/{0}/objects/{1}/{2}\", 2];\n/**\n * Gets a specific object with the given primary key.\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}/objects/{objectType}/{primaryKey}\n */\nexport function getObject($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getObject, ...args);\n}\nconst _listLinkedObjects = [0, \"/v1/ontologies/{0}/objects/{1}/{2}/links/{3}\", 2];\n/**\n * Lists the linked objects for a specific object and the given link type.\n *\n * This endpoint supports filtering objects.\n * See the [Filtering Objects documentation](https://www.palantir.com/docs/foundry/api/ontology-resources/objects/object-basics/#filtering-objects) for details.\n *\n * Note that this endpoint does not guarantee consistency. Changes to the data could result in missing or\n * repeated objects in the response pages.\n *\n * For Object Storage V1 backed objects, this endpoint returns a maximum of 10,000 objects. After 10,000 objects have been returned and if more objects\n * are available, attempting to load another page will result in an `ObjectsExceededLimit` error being returned. There is no limit on Object Storage V2 backed objects.\n *\n * Each page may be smaller or larger than the requested page size. However, it\n * is guaranteed that if there are more results available, at least one result will be present\n * in the response.\n *\n * Note that null value properties will not be returned.\n *\n * 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}/objects/{objectType}/{primaryKey}/links/{linkType}\n */\nexport function listLinkedObjects($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listLinkedObjects, ...args);\n}\nconst _getLinkedObject = [0, \"/v1/ontologies/{0}/objects/{1}/{2}/links/{3}/{4}\", 2];\n/**\n * Get a specific linked object that originates from another object. If there is no link between the two objects,\n * LinkedObjectNotFound is thrown.\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}/objects/{objectType}/{primaryKey}/links/{linkType}/{linkedObjectPrimaryKey}\n */\nexport function getLinkedObject($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getLinkedObject, ...args);\n}\nconst _searchObjects = [1, \"/v1/ontologies/{0}/objects/{1}/search\", 1];\n/**\n * Search for objects in the specified ontology and object type. The request body is used\n * to filter objects based on the specified query. The supported queries are:\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 * | prefix | The provided property starts with the provided value. | string |\n * | phrase | The provided property contains the provided value as a substring. | string |\n * | anyTerm | The provided property contains at least one of the terms separated by whitespace. | string |\n * | allTerms | The provided property contains all the terms separated by whitespace. | string | |\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}/objects/{objectType}/search\n */\nexport function searchObjects($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _searchObjects, ...args);\n}\nconst _aggregateObjects = [1, \"/v1/ontologies/{0}/objects/{1}/aggregate\", 1];\n/**\n * Perform functions on object fields in the specified ontology and object type.\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}/objects/{objectType}/aggregate\n */\nexport function aggregateObjects($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _aggregateObjects, ...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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C,EAAE,uCAAuC,EAAE,CAAC,CAAC;AACtE;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,aAAaA,CAACT,IAAI,EAAE,GAAGC,IAAI,EAAE;EACzC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEQ,cAAc,EAAE,GAAGP,IAAI,CAAC;AAC/D;AACA,MAAMS,iBAAiB,GAAG,CAAC,CAAC,EAAE,0CAA0C,EAAE,CAAC,CAAC;AAC5E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,gBAAgBA,CAACX,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC5C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEU,iBAAiB,EAAE,GAAGT,IAAI,CAAC;AAClE","ignoreList":[]}
1
+ {"version":3,"file":"OntologyObject.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_list","list","$ctx","args","_get","get","_listLinkedObjects","listLinkedObjects","_getLinkedObject","getLinkedObject","_search","search","_aggregate","aggregate"],"sources":["OntologyObject.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}/objects/{1}\", 2];\n/**\n * Lists the objects for the given Ontology and object type.\n *\n * This endpoint supports filtering objects.\n * See the [Filtering Objects documentation](https://www.palantir.com/docs/foundry/api/ontology-resources/objects/object-basics/#filtering-objects) for details.\n *\n * Note that this endpoint does not guarantee consistency. Changes to the data could result in missing or\n * repeated objects in the response pages.\n *\n * For Object Storage V1 backed objects, this endpoint returns a maximum of 10,000 objects. After 10,000 objects have been returned and if more objects\n * are available, attempting to load another page will result in an `ObjectsExceededLimit` error being returned. There is no limit on Object Storage V2 backed objects.\n *\n * Each page may be smaller or larger than the requested page size. However, it\n * is guaranteed that if there are more results available, at least one result will be present\n * in the response.\n *\n * Note that null value properties will not be returned.\n *\n * 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}/objects/{objectType}\n */\nexport function list($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _list, ...args);\n}\nconst _get = [0, \"/v1/ontologies/{0}/objects/{1}/{2}\", 2];\n/**\n * Gets a specific object with the given primary key.\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}/objects/{objectType}/{primaryKey}\n */\nexport function get($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _get, ...args);\n}\nconst _listLinkedObjects = [0, \"/v1/ontologies/{0}/objects/{1}/{2}/links/{3}\", 2];\n/**\n * Lists the linked objects for a specific object and the given link type.\n *\n * This endpoint supports filtering objects.\n * See the [Filtering Objects documentation](https://www.palantir.com/docs/foundry/api/ontology-resources/objects/object-basics/#filtering-objects) for details.\n *\n * Note that this endpoint does not guarantee consistency. Changes to the data could result in missing or\n * repeated objects in the response pages.\n *\n * For Object Storage V1 backed objects, this endpoint returns a maximum of 10,000 objects. After 10,000 objects have been returned and if more objects\n * are available, attempting to load another page will result in an `ObjectsExceededLimit` error being returned. There is no limit on Object Storage V2 backed objects.\n *\n * Each page may be smaller or larger than the requested page size. However, it\n * is guaranteed that if there are more results available, at least one result will be present\n * in the response.\n *\n * Note that null value properties will not be returned.\n *\n * 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}/objects/{objectType}/{primaryKey}/links/{linkType}\n */\nexport function listLinkedObjects($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listLinkedObjects, ...args);\n}\nconst _getLinkedObject = [0, \"/v1/ontologies/{0}/objects/{1}/{2}/links/{3}/{4}\", 2];\n/**\n * Get a specific linked object that originates from another object. If there is no link between the two objects,\n * LinkedObjectNotFound is thrown.\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}/objects/{objectType}/{primaryKey}/links/{linkType}/{linkedObjectPrimaryKey}\n */\nexport function getLinkedObject($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getLinkedObject, ...args);\n}\nconst _search = [1, \"/v1/ontologies/{0}/objects/{1}/search\", 1];\n/**\n * Search for objects in the specified ontology and object type. The request body is used\n * to filter objects based on the specified query. The supported queries are:\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 * | prefix | The provided property starts with the provided value. | string |\n * | phrase | The provided property contains the provided value as a substring. | string |\n * | anyTerm | The provided property contains at least one of the terms separated by whitespace. | string |\n * | allTerms | The provided property contains all the terms separated by whitespace. | string | |\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}/objects/{objectType}/search\n */\nexport function search($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _search, ...args);\n}\nconst _aggregate = [1, \"/v1/ontologies/{0}/objects/{1}/aggregate\", 1];\n/**\n * Perform functions on object fields in the specified ontology and object type.\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}/objects/{objectType}/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,gCAAgC,EAAE,CAAC,CAAC;AACtD;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,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,EAAE,CAAC,CAAC;AACzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,GAAGA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC/B,OAAOJ,qBAAqB,C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UAAU,EAAE,GAAGT,IAAI,CAAC;AAC3D","ignoreList":[]}
@@ -10,7 +10,7 @@ import type { SharedClient as $Client, SharedClientContext as $ClientContext } f
10
10
  * Required Scopes: [api:ontologies-read]
11
11
  * URL: /v1/ontologies/{ontologyRid}/queries/{queryApiName}/execute
12
12
  */
13
- export declare function executeQuery($ctx: $Client | $ClientContext, ...args: [
13
+ export declare function execute($ctx: $Client | $ClientContext, ...args: [
14
14
  ontologyRid: _Core.OntologyRid,
15
15
  queryApiName: _Core.QueryApiName,
16
16
  $body: _Core.ExecuteQueryRequest
@@ -1 +1 @@
1
- {"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../../src/public/Query.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;;;;;;;;;GASG;AACH,wBAAgB,YAAY,CAC1B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,WAAW,EAAE,KAAK,CAAC,WAAW;IAC9B,YAAY,EAAE,KAAK,CAAC,YAAY;IAChC,KAAK,EAAE,KAAK,CAAC,mBAAmB;CACjC,GACA,OAAO,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAErC"}
1
+ {"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../../src/public/Query.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;;;;;;;;;GASG;AACH,wBAAgB,OAAO,CACrB,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,WAAW,EAAE,KAAK,CAAC,WAAW;IAC9B,YAAY,EAAE,KAAK,CAAC,YAAY;IAChC,KAAK,EAAE,KAAK,CAAC,mBAAmB;CACjC,GACA,OAAO,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAErC"}
@@ -15,7 +15,7 @@
15
15
  */
16
16
  import { foundryPlatformFetch as $foundryPlatformFetch } from "@osdk/shared.net.platformapi";
17
17
  //
18
- const _executeQuery = [1, "/v1/ontologies/{0}/queries/{1}/execute", 1];
18
+ const _execute = [1, "/v1/ontologies/{0}/queries/{1}/execute", 1];
19
19
  /**
20
20
  * Executes a Query using the given parameters. Optional parameters do not need to be supplied.
21
21
  * Third-party applications using this endpoint via OAuth2 must request the
@@ -26,7 +26,7 @@ const _executeQuery = [1, "/v1/ontologies/{0}/queries/{1}/execute", 1];
26
26
  * Required Scopes: [api:ontologies-read]
27
27
  * URL: /v1/ontologies/{ontologyRid}/queries/{queryApiName}/execute
28
28
  */
29
- export function executeQuery($ctx, ...args) {
30
- return $foundryPlatformFetch($ctx, _executeQuery, ...args);
29
+ export function execute($ctx, ...args) {
30
+ return $foundryPlatformFetch($ctx, _execute, ...args);
31
31
  }
32
32
  //# sourceMappingURL=Query.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Query.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_executeQuery","executeQuery","$ctx","args"],"sources":["Query.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 _executeQuery = [1, \"/v1/ontologies/{0}/queries/{1}/execute\", 1];\n/**\n * Executes a Query using the given parameters. Optional parameters do not need to be supplied.\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}/queries/{queryApiName}/execute\n */\nexport function executeQuery($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _executeQuery, ...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,aAAa,GAAG,CAAC,CAAC,EAAE,wCAAwC,EAAE,CAAC,CAAC;AACtE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,YAAYA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EACxC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,aAAa,EAAE,GAAGG,IAAI,CAAC;AAC9D","ignoreList":[]}
1
+ {"version":3,"file":"Query.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_execute","execute","$ctx","args"],"sources":["Query.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 _execute = [1, \"/v1/ontologies/{0}/queries/{1}/execute\", 1];\n/**\n * Executes a Query using the given parameters. Optional parameters do not need to be supplied.\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}/queries/{queryApiName}/execute\n */\nexport function execute($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _execute, ...args);\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,oBAAoB,IAAIC,qBAAqB,QAAQ,8BAA8B;AAC5F;AACA,MAAMC,QAAQ,GAAG,CAAC,CAAC,EAAE,wCAAwC,EAAE,CAAC,CAAC;AACjE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,OAAOA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EACnC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,QAAQ,EAAE,GAAGG,IAAI,CAAC;AACzD","ignoreList":[]}
@@ -13,7 +13,7 @@ import type { SharedClient as $Client, SharedClientContext as $ClientContext } f
13
13
  * Required Scopes: [api:ontologies-read]
14
14
  * URL: /v1/ontologies/{ontologyRid}/queryTypes
15
15
  */
16
- export declare function listQueryTypes($ctx: $Client | $ClientContext, ...args: [
16
+ export declare function list($ctx: $Client | $ClientContext, ...args: [
17
17
  ontologyRid: _Core.OntologyRid,
18
18
  $queryParams?: {
19
19
  pageSize?: _Core.PageSize | undefined;
@@ -30,5 +30,5 @@ export declare function listQueryTypes($ctx: $Client | $ClientContext, ...args:
30
30
  * Required Scopes: [api:ontologies-read]
31
31
  * URL: /v1/ontologies/{ontologyRid}/queryTypes/{queryApiName}
32
32
  */
33
- export declare function getQueryType($ctx: $Client | $ClientContext, ...args: [ontologyRid: _Core.OntologyRid, queryApiName: _Core.QueryApiName]): Promise<_Core.QueryType>;
33
+ export declare function get($ctx: $Client | $ClientContext, ...args: [ontologyRid: _Core.OntologyRid, queryApiName: _Core.QueryApiName]): Promise<_Core.QueryType>;
34
34
  //# sourceMappingURL=QueryType.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryType.d.ts","sourceRoot":"","sources":["../../../src/public/QueryType.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,cAAc,CAC5B,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,sBAAsB,CAAC,CAEvC;AASD;;;;;;;;;GASG;AACH,wBAAgB,YAAY,CAC1B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE,CAAC,WAAW,EAAE,KAAK,CAAC,WAAW,EAAE,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC,GAC1E,OAAO,CAAC,KAAK,CAAC,SAAS,CAAC,CAE1B"}
1
+ {"version":3,"file":"QueryType.d.ts","sourceRoot":"","sources":["../../../src/public/QueryType.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,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,sBAAsB,CAAC,CAEvC;AASD;;;;;;;;;GASG;AACH,wBAAgB,GAAG,CACjB,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE,CAAC,WAAW,EAAE,KAAK,CAAC,WAAW,EAAE,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC,GAC1E,OAAO,CAAC,KAAK,CAAC,SAAS,CAAC,CAE1B"}
@@ -15,7 +15,7 @@
15
15
  */
16
16
  import { foundryPlatformFetch as $foundryPlatformFetch } from "@osdk/shared.net.platformapi";
17
17
  //
18
- const _listQueryTypes = [0, "/v1/ontologies/{0}/queryTypes", 2];
18
+ const _list = [0, "/v1/ontologies/{0}/queryTypes", 2];
19
19
  /**
20
20
  * Lists the query types for the given Ontology.
21
21
  *
@@ -29,10 +29,10 @@ const _listQueryTypes = [0, "/v1/ontologies/{0}/queryTypes", 2];
29
29
  * Required Scopes: [api:ontologies-read]
30
30
  * URL: /v1/ontologies/{ontologyRid}/queryTypes
31
31
  */
32
- export function listQueryTypes($ctx, ...args) {
33
- return $foundryPlatformFetch($ctx, _listQueryTypes, ...args);
32
+ export function list($ctx, ...args) {
33
+ return $foundryPlatformFetch($ctx, _list, ...args);
34
34
  }
35
- const _getQueryType = [0, "/v1/ontologies/{0}/queryTypes/{1}"];
35
+ const _get = [0, "/v1/ontologies/{0}/queryTypes/{1}"];
36
36
  /**
37
37
  * Gets a specific query type with the given API name.
38
38
  *
@@ -43,7 +43,7 @@ const _getQueryType = [0, "/v1/ontologies/{0}/queryTypes/{1}"];
43
43
  * Required Scopes: [api:ontologies-read]
44
44
  * URL: /v1/ontologies/{ontologyRid}/queryTypes/{queryApiName}
45
45
  */
46
- export function getQueryType($ctx, ...args) {
47
- return $foundryPlatformFetch($ctx, _getQueryType, ...args);
46
+ export function get($ctx, ...args) {
47
+ return $foundryPlatformFetch($ctx, _get, ...args);
48
48
  }
49
49
  //# sourceMappingURL=QueryType.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryType.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_listQueryTypes","listQueryTypes","$ctx","args","_getQueryType","getQueryType"],"sources":["QueryType.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 _listQueryTypes = [0, \"/v1/ontologies/{0}/queryTypes\", 2];\n/**\n * Lists the query 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 * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v1/ontologies/{ontologyRid}/queryTypes\n */\nexport function listQueryTypes($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listQueryTypes, ...args);\n}\nconst _getQueryType = [0, \"/v1/ontologies/{0}/queryTypes/{1}\"];\n/**\n * Gets a specific query 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}/queryTypes/{queryApiName}\n */\nexport function getQueryType($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getQueryType, ...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,eAAe,GAAG,CAAC,CAAC,EAAE,+BAA+B,EAAE,CAAC,CAAC;AAC/D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,cAAcA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC1C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,eAAe,EAAE,GAAGG,IAAI,CAAC;AAChE;AACA,MAAMC,aAAa,GAAG,CAAC,CAAC,EAAE,mCAAmC,CAAC;AAC9D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,YAAYA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EACxC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,aAAa,EAAE,GAAGD,IAAI,CAAC;AAC9D","ignoreList":[]}
1
+ {"version":3,"file":"QueryType.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_list","list","$ctx","args","_get","get"],"sources":["QueryType.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}/queryTypes\", 2];\n/**\n * Lists the query 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 * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v1/ontologies/{ontologyRid}/queryTypes\n */\nexport function list($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _list, ...args);\n}\nconst _get = [0, \"/v1/ontologies/{0}/queryTypes/{1}\"];\n/**\n * Gets a specific query 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}/queryTypes/{queryApiName}\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,+BAA+B,EAAE,CAAC,CAAC;AACrD;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,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","ignoreList":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@osdk/internal.foundry.ontologies",
3
- "version": "0.2.0-beta.9",
3
+ "version": "0.2.0",
4
4
  "license": "Apache-2.0",
5
5
  "repository": {
6
6
  "type": "git",
@@ -17,14 +17,14 @@
17
17
  }
18
18
  },
19
19
  "dependencies": {
20
- "@osdk/internal.foundry.core": "0.2.0-beta.9",
21
- "@osdk/shared.client": "^1.0.0-beta.2",
22
- "@osdk/shared.net.platformapi": "~0.3.0-beta.2"
20
+ "@osdk/internal.foundry.core": "0.2.0",
21
+ "@osdk/shared.client": "^1.0.0",
22
+ "@osdk/shared.net.platformapi": "~0.3.0"
23
23
  },
24
24
  "devDependencies": {
25
25
  "typescript": "^5.5.4",
26
- "@osdk/monorepo.tsconfig": "~0.0.0",
27
26
  "@osdk/monorepo.api-extractor": "~0.0.0",
27
+ "@osdk/monorepo.tsconfig": "~0.0.0",
28
28
  "@osdk/monorepo.tsup": "~0.0.0"
29
29
  },
30
30
  "publishConfig": {