@osdk/internal.foundry.ontologiesv2 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 (98) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/build/browser/public/Action.d.ts +3 -3
  3. package/build/browser/public/Action.d.ts.map +1 -1
  4. package/build/browser/public/Action.js +9 -9
  5. package/build/browser/public/Action.js.map +1 -1
  6. package/build/browser/public/ActionTypeV2.d.ts +2 -2
  7. package/build/browser/public/ActionTypeV2.d.ts.map +1 -1
  8. package/build/browser/public/ActionTypeV2.js +6 -6
  9. package/build/browser/public/ActionTypeV2.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/AttachmentPropertyV2.d.ts +4 -4
  15. package/build/browser/public/AttachmentPropertyV2.d.ts.map +1 -1
  16. package/build/browser/public/AttachmentPropertyV2.js +12 -12
  17. package/build/browser/public/AttachmentPropertyV2.js.map +1 -1
  18. package/build/browser/public/LinkedObjectV2.d.ts +2 -2
  19. package/build/browser/public/LinkedObjectV2.d.ts.map +1 -1
  20. package/build/browser/public/LinkedObjectV2.js +6 -6
  21. package/build/browser/public/LinkedObjectV2.js.map +1 -1
  22. package/build/browser/public/ObjectTypeV2.d.ts +5 -5
  23. package/build/browser/public/ObjectTypeV2.d.ts.map +1 -1
  24. package/build/browser/public/ObjectTypeV2.js +15 -15
  25. package/build/browser/public/ObjectTypeV2.js.map +1 -1
  26. package/build/browser/public/OntologyInterface.d.ts +4 -4
  27. package/build/browser/public/OntologyInterface.d.ts.map +1 -1
  28. package/build/browser/public/OntologyInterface.js +12 -12
  29. package/build/browser/public/OntologyInterface.js.map +1 -1
  30. package/build/browser/public/OntologyObjectSet.d.ts +4 -4
  31. package/build/browser/public/OntologyObjectSet.d.ts.map +1 -1
  32. package/build/browser/public/OntologyObjectSet.js +12 -12
  33. package/build/browser/public/OntologyObjectSet.js.map +1 -1
  34. package/build/browser/public/OntologyObjectV2.d.ts +5 -5
  35. package/build/browser/public/OntologyObjectV2.d.ts.map +1 -1
  36. package/build/browser/public/OntologyObjectV2.js +15 -15
  37. package/build/browser/public/OntologyObjectV2.js.map +1 -1
  38. package/build/browser/public/OntologyV2.d.ts +3 -3
  39. package/build/browser/public/OntologyV2.d.ts.map +1 -1
  40. package/build/browser/public/OntologyV2.js +9 -9
  41. package/build/browser/public/OntologyV2.js.map +1 -1
  42. package/build/browser/public/Query.d.ts +1 -1
  43. package/build/browser/public/Query.d.ts.map +1 -1
  44. package/build/browser/public/Query.js +3 -3
  45. package/build/browser/public/Query.js.map +1 -1
  46. package/build/browser/public/QueryType.d.ts +2 -2
  47. package/build/browser/public/QueryType.d.ts.map +1 -1
  48. package/build/browser/public/QueryType.js +6 -6
  49. package/build/browser/public/QueryType.js.map +1 -1
  50. package/build/esm/public/Action.d.ts +3 -3
  51. package/build/esm/public/Action.d.ts.map +1 -1
  52. package/build/esm/public/Action.js +9 -9
  53. package/build/esm/public/Action.js.map +1 -1
  54. package/build/esm/public/ActionTypeV2.d.ts +2 -2
  55. package/build/esm/public/ActionTypeV2.d.ts.map +1 -1
  56. package/build/esm/public/ActionTypeV2.js +6 -6
  57. package/build/esm/public/ActionTypeV2.js.map +1 -1
  58. package/build/esm/public/Attachment.d.ts +3 -3
  59. package/build/esm/public/Attachment.d.ts.map +1 -1
  60. package/build/esm/public/Attachment.js +9 -9
  61. package/build/esm/public/Attachment.js.map +1 -1
  62. package/build/esm/public/AttachmentPropertyV2.d.ts +4 -4
  63. package/build/esm/public/AttachmentPropertyV2.d.ts.map +1 -1
  64. package/build/esm/public/AttachmentPropertyV2.js +12 -12
  65. package/build/esm/public/AttachmentPropertyV2.js.map +1 -1
  66. package/build/esm/public/LinkedObjectV2.d.ts +2 -2
  67. package/build/esm/public/LinkedObjectV2.d.ts.map +1 -1
  68. package/build/esm/public/LinkedObjectV2.js +6 -6
  69. package/build/esm/public/LinkedObjectV2.js.map +1 -1
  70. package/build/esm/public/ObjectTypeV2.d.ts +5 -5
  71. package/build/esm/public/ObjectTypeV2.d.ts.map +1 -1
  72. package/build/esm/public/ObjectTypeV2.js +15 -15
  73. package/build/esm/public/ObjectTypeV2.js.map +1 -1
  74. package/build/esm/public/OntologyInterface.d.ts +4 -4
  75. package/build/esm/public/OntologyInterface.d.ts.map +1 -1
  76. package/build/esm/public/OntologyInterface.js +12 -12
  77. package/build/esm/public/OntologyInterface.js.map +1 -1
  78. package/build/esm/public/OntologyObjectSet.d.ts +4 -4
  79. package/build/esm/public/OntologyObjectSet.d.ts.map +1 -1
  80. package/build/esm/public/OntologyObjectSet.js +12 -12
  81. package/build/esm/public/OntologyObjectSet.js.map +1 -1
  82. package/build/esm/public/OntologyObjectV2.d.ts +5 -5
  83. package/build/esm/public/OntologyObjectV2.d.ts.map +1 -1
  84. package/build/esm/public/OntologyObjectV2.js +15 -15
  85. package/build/esm/public/OntologyObjectV2.js.map +1 -1
  86. package/build/esm/public/OntologyV2.d.ts +3 -3
  87. package/build/esm/public/OntologyV2.d.ts.map +1 -1
  88. package/build/esm/public/OntologyV2.js +9 -9
  89. package/build/esm/public/OntologyV2.js.map +1 -1
  90. package/build/esm/public/Query.d.ts +1 -1
  91. package/build/esm/public/Query.d.ts.map +1 -1
  92. package/build/esm/public/Query.js +3 -3
  93. package/build/esm/public/Query.js.map +1 -1
  94. package/build/esm/public/QueryType.d.ts +2 -2
  95. package/build/esm/public/QueryType.d.ts.map +1 -1
  96. package/build/esm/public/QueryType.js +6 -6
  97. package/build/esm/public/QueryType.js.map +1 -1
  98. package/package.json +4 -4
@@ -14,7 +14,7 @@ import type { SharedClient as $Client, SharedClientContext as $ClientContext } f
14
14
  * Required Scopes: [api:ontologies-read]
15
15
  * URL: /v2/ontologies/{ontology}/objectTypes
16
16
  */
17
- export declare function listObjectTypesV2($ctx: $Client | $ClientContext, ...args: [
17
+ export declare function list($ctx: $Client | $ClientContext, ...args: [
18
18
  ontology: _Core.OntologyIdentifier,
19
19
  $queryParams?: {
20
20
  pageSize?: _Core.PageSize | undefined;
@@ -31,7 +31,7 @@ export declare function listObjectTypesV2($ctx: $Client | $ClientContext, ...arg
31
31
  * Required Scopes: [api:ontologies-read]
32
32
  * URL: /v2/ontologies/{ontology}/objectTypes/{objectType}
33
33
  */
34
- export declare function getObjectTypeV2($ctx: $Client | $ClientContext, ...args: [
34
+ export declare function get($ctx: $Client | $ClientContext, ...args: [
35
35
  ontology: _Core.OntologyIdentifier,
36
36
  objectType: _Core.ObjectTypeApiName
37
37
  ]): Promise<_Core.ObjectTypeV2>;
@@ -45,7 +45,7 @@ export declare function getObjectTypeV2($ctx: $Client | $ClientContext, ...args:
45
45
  * Required Scopes: [api:ontologies-read]
46
46
  * URL: /v2/ontologies/{ontology}/objectTypes/{objectType}/fullMetadata
47
47
  */
48
- export declare function getObjectTypeFullMetadata($ctx: $Client | $ClientContext, ...args: [
48
+ export declare function getFullMetadata($ctx: $Client | $ClientContext, ...args: [
49
49
  ontology: _Core.OntologyIdentifier,
50
50
  objectType: _Core.ObjectTypeApiName,
51
51
  $queryParams?: {
@@ -63,7 +63,7 @@ export declare function getObjectTypeFullMetadata($ctx: $Client | $ClientContext
63
63
  * Required Scopes: [api:ontologies-read]
64
64
  * URL: /v2/ontologies/{ontology}/objectTypes/{objectType}/outgoingLinkTypes
65
65
  */
66
- export declare function listOutgoingLinkTypesV2($ctx: $Client | $ClientContext, ...args: [
66
+ export declare function listOutgoingLinkTypes($ctx: $Client | $ClientContext, ...args: [
67
67
  ontology: _Core.OntologyIdentifier,
68
68
  objectType: _Core.ObjectTypeApiName,
69
69
  $queryParams?: {
@@ -82,7 +82,7 @@ export declare function listOutgoingLinkTypesV2($ctx: $Client | $ClientContext,
82
82
  * Required Scopes: [api:ontologies-read]
83
83
  * URL: /v2/ontologies/{ontology}/objectTypes/{objectType}/outgoingLinkTypes/{linkType}
84
84
  */
85
- export declare function getOutgoingLinkTypeV2($ctx: $Client | $ClientContext, ...args: [
85
+ export declare function getOutgoingLinkType($ctx: $Client | $ClientContext, ...args: [
86
86
  ontology: _Core.OntologyIdentifier,
87
87
  objectType: _Core.ObjectTypeApiName,
88
88
  linkType: _Core.LinkTypeApiName
@@ -1 +1 @@
1
- {"version":3,"file":"ObjectTypeV2.d.ts","sourceRoot":"","sources":["../../../src/public/ObjectTypeV2.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,6BAA6B,CAAC;AAC1D,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,qBAAqB,CAAC;AAgB7B;;;;;;;;;;;;;GAaG;AACH,wBAAgB,iBAAiB,CAC/B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,KAAK,CAAC,kBAAkB;IAElC,YAAY,CAAC,EAAE;QACb,QAAQ,CAAC,EAAE,KAAK,CAAC,QAAQ,GAAG,SAAS,CAAC;QACtC,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,SAAS,CAAC;KACzC;CACF,GACA,OAAO,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAE1C;AASD;;;;;;;;;GASG;AACH,wBAAgB,eAAe,CAC7B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,KAAK,CAAC,kBAAkB;IAClC,UAAU,EAAE,KAAK,CAAC,iBAAiB;CACpC,GACA,OAAO,CAAC,KAAK,CAAC,YAAY,CAAC,CAE7B;AAUD;;;;;;;;;GASG;AACH,wBAAgB,yBAAyB,CACvC,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,KAAK,CAAC,kBAAkB;IAClC,UAAU,EAAE,KAAK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AG,IAAI,EAAE;IACP,QAAQ,EAAE,KAAK,CAAC,kBAAkB;IAClC,UAAU,EAAE,KAAK,CAAC,iBAAiB;IACnC,QAAQ,EAAE,KAAK,CAAC,eAAe;CAChC,GACA,OAAO,CAAC,KAAK,CAAC,cAAc,CAAC,CAE/B"}
@@ -15,7 +15,7 @@
15
15
  */
16
16
  import { foundryPlatformFetch as $foundryPlatformFetch } from "@osdk/shared.net.platformapi";
17
17
  //
18
- const _listObjectTypesV2 = [0, "/v2/ontologies/{0}/objectTypes", 2];
18
+ const _list = [0, "/v2/ontologies/{0}/objectTypes", 2];
19
19
  /**
20
20
  * Lists the object types for the given Ontology.
21
21
  *
@@ -30,10 +30,10 @@ const _listObjectTypesV2 = [0, "/v2/ontologies/{0}/objectTypes", 2];
30
30
  * Required Scopes: [api:ontologies-read]
31
31
  * URL: /v2/ontologies/{ontology}/objectTypes
32
32
  */
33
- export function listObjectTypesV2($ctx, ...args) {
34
- return $foundryPlatformFetch($ctx, _listObjectTypesV2, ...args);
33
+ export function list($ctx, ...args) {
34
+ return $foundryPlatformFetch($ctx, _list, ...args);
35
35
  }
36
- const _getObjectTypeV2 = [0, "/v2/ontologies/{0}/objectTypes/{1}"];
36
+ const _get = [0, "/v2/ontologies/{0}/objectTypes/{1}"];
37
37
  /**
38
38
  * Gets a specific object type with the given API name.
39
39
  *
@@ -44,10 +44,10 @@ const _getObjectTypeV2 = [0, "/v2/ontologies/{0}/objectTypes/{1}"];
44
44
  * Required Scopes: [api:ontologies-read]
45
45
  * URL: /v2/ontologies/{ontology}/objectTypes/{objectType}
46
46
  */
47
- export function getObjectTypeV2($ctx, ...args) {
48
- return $foundryPlatformFetch($ctx, _getObjectTypeV2, ...args);
47
+ export function get($ctx, ...args) {
48
+ return $foundryPlatformFetch($ctx, _get, ...args);
49
49
  }
50
- const _getObjectTypeFullMetadata = [0, "/v2/ontologies/{0}/objectTypes/{1}/fullMetadata", 2];
50
+ const _getFullMetadata = [0, "/v2/ontologies/{0}/objectTypes/{1}/fullMetadata", 2];
51
51
  /**
52
52
  * Gets the full metadata for a specific object type with the given API name.
53
53
  *
@@ -58,10 +58,10 @@ const _getObjectTypeFullMetadata = [0, "/v2/ontologies/{0}/objectTypes/{1}/fullM
58
58
  * Required Scopes: [api:ontologies-read]
59
59
  * URL: /v2/ontologies/{ontology}/objectTypes/{objectType}/fullMetadata
60
60
  */
61
- export function getObjectTypeFullMetadata($ctx, ...args) {
62
- return $foundryPlatformFetch($ctx, _getObjectTypeFullMetadata, ...args);
61
+ export function getFullMetadata($ctx, ...args) {
62
+ return $foundryPlatformFetch($ctx, _getFullMetadata, ...args);
63
63
  }
64
- const _listOutgoingLinkTypesV2 = [0, "/v2/ontologies/{0}/objectTypes/{1}/outgoingLinkTypes", 2];
64
+ const _listOutgoingLinkTypes = [0, "/v2/ontologies/{0}/objectTypes/{1}/outgoingLinkTypes", 2];
65
65
  /**
66
66
  * List the outgoing links for an object type.
67
67
  *
@@ -73,10 +73,10 @@ const _listOutgoingLinkTypesV2 = [0, "/v2/ontologies/{0}/objectTypes/{1}/outgoin
73
73
  * Required Scopes: [api:ontologies-read]
74
74
  * URL: /v2/ontologies/{ontology}/objectTypes/{objectType}/outgoingLinkTypes
75
75
  */
76
- export function listOutgoingLinkTypesV2($ctx, ...args) {
77
- return $foundryPlatformFetch($ctx, _listOutgoingLinkTypesV2, ...args);
76
+ export function listOutgoingLinkTypes($ctx, ...args) {
77
+ return $foundryPlatformFetch($ctx, _listOutgoingLinkTypes, ...args);
78
78
  }
79
- const _getOutgoingLinkTypeV2 = [0, "/v2/ontologies/{0}/objectTypes/{1}/outgoingLinkTypes/{2}"];
79
+ const _getOutgoingLinkType = [0, "/v2/ontologies/{0}/objectTypes/{1}/outgoingLinkTypes/{2}"];
80
80
  /**
81
81
  * Get an outgoing link for an object type.
82
82
  *
@@ -88,7 +88,7 @@ const _getOutgoingLinkTypeV2 = [0, "/v2/ontologies/{0}/objectTypes/{1}/outgoingL
88
88
  * Required Scopes: [api:ontologies-read]
89
89
  * URL: /v2/ontologies/{ontology}/objectTypes/{objectType}/outgoingLinkTypes/{linkType}
90
90
  */
91
- export function getOutgoingLinkTypeV2($ctx, ...args) {
92
- return $foundryPlatformFetch($ctx, _getOutgoingLinkTypeV2, ...args);
91
+ export function getOutgoingLinkType($ctx, ...args) {
92
+ return $foundryPlatformFetch($ctx, _getOutgoingLinkType, ...args);
93
93
  }
94
94
  //# sourceMappingURL=ObjectTypeV2.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObjectTypeV2.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_listObjectTypesV2","listObjectTypesV2","$ctx","args","_getObjectTypeV2","getObjectTypeV2","_getObjectTypeFullMetadata","getObjectTypeFullMetadata","_listOutgoingLinkTypesV2","listOutgoingLinkTypesV2","_getOutgoingLinkTypeV2","getOutgoingLinkTypeV2"],"sources":["ObjectTypeV2.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 _listObjectTypesV2 = [0, \"/v2/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: /v2/ontologies/{ontology}/objectTypes\n */\nexport function listObjectTypesV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listObjectTypesV2, ...args);\n}\nconst _getObjectTypeV2 = [0, \"/v2/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: /v2/ontologies/{ontology}/objectTypes/{objectType}\n */\nexport function getObjectTypeV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getObjectTypeV2, ...args);\n}\nconst _getObjectTypeFullMetadata = [0, \"/v2/ontologies/{0}/objectTypes/{1}/fullMetadata\", 2];\n/**\n * Gets the full metadata for a specific object type with the given API name.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objectTypes/{objectType}/fullMetadata\n */\nexport function getObjectTypeFullMetadata($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getObjectTypeFullMetadata, ...args);\n}\nconst _listOutgoingLinkTypesV2 = [0, \"/v2/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: /v2/ontologies/{ontology}/objectTypes/{objectType}/outgoingLinkTypes\n */\nexport function listOutgoingLinkTypesV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listOutgoingLinkTypesV2, ...args);\n}\nconst _getOutgoingLinkTypeV2 = [0, \"/v2/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: /v2/ontologies/{ontology}/objectTypes/{objectType}/outgoingLinkTypes/{linkType}\n */\nexport function getOutgoingLinkTypeV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getOutgoingLinkTypeV2, ...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,kBAAkB,GAAG,CAAC,CAAC,EAAE,gCAAgC,EAAE,CAAC,CAAC;AACnE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,iBAAiBA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC7C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,kBAAkB,EAAE,GAAGG,IAAI,CAAC;AACnE;AACA,MAAMC,gBAAgB,GAAG,CAAC,CAAC,EAAE,oCAAoC,CAAC;AAClE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,eAAeA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC3C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,gBAAgB,EAAE,GAAGD,IAAI,CAAC;AACjE;AACA,MAAMG,0BAA0B,GAAG,CAAC,CAAC,EAAE,iDAAiD,EAAE,CAAC,CAAC;AAC5F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,yBAAyBA,CAACL,IAAI,EAAE,GAAGC,IAAI,EAAE;EACrD,OAAOJ,qBAAqB,CAACG,IAAI,EAAEI,0BAA0B,EAAE,GAAGH,IAAI,CAAC;AAC3E;AACA,MAAMK,wBAAwB,GAAG,CAAC,CAAC,EAAE,sDAAsD,EAAE,CAAC,CAAC;AAC/F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,uBAAuBA,CAACP,IAAI,EAAE,GAAGC,IAAI,EAAE;EACnD,OAAOJ,qBAAqB,CAACG,IAAI,EAAEM,wBAAwB,EAAE,GAAGL,IAAI,CAAC;AACzE;AACA,MAAMO,sBAAsB,GAAG,CAAC,CAAC,EAAE,0DAA0D,CAAC;AAC9F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,qBAAqBA,CAACT,IAAI,EAAE,GAAGC,IAAI,EAAE;EACjD,OAAOJ,qBAAqB,CAACG,IAAI,EAAEQ,sBAAsB,EAAE,GAAGP,IAAI,CAAC;AACvE","ignoreList":[]}
1
+ {"version":3,"file":"ObjectTypeV2.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_list","list","$ctx","args","_get","get","_getFullMetadata","getFullMetadata","_listOutgoingLinkTypes","listOutgoingLinkTypes","_getOutgoingLinkType","getOutgoingLinkType"],"sources":["ObjectTypeV2.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _list = [0, \"/v2/ontologies/{0}/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: /v2/ontologies/{ontology}/objectTypes\n */\nexport function list($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _list, ...args);\n}\nconst _get = [0, \"/v2/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: /v2/ontologies/{ontology}/objectTypes/{objectType}\n */\nexport function get($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _get, ...args);\n}\nconst _getFullMetadata = [0, \"/v2/ontologies/{0}/objectTypes/{1}/fullMetadata\", 2];\n/**\n * Gets the full metadata for a specific object type with the given API name.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objectTypes/{objectType}/fullMetadata\n */\nexport function getFullMetadata($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getFullMetadata, ...args);\n}\nconst _listOutgoingLinkTypes = [0, \"/v2/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: /v2/ontologies/{ontology}/objectTypes/{objectType}/outgoingLinkTypes\n */\nexport function listOutgoingLinkTypes($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listOutgoingLinkTypes, ...args);\n}\nconst _getOutgoingLinkType = [0, \"/v2/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: /v2/ontologies/{ontology}/objectTypes/{objectType}/outgoingLinkTypes/{linkType}\n */\nexport function getOutgoingLinkType($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getOutg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O,oBAAoB,GAAG,CAAC,CAAC,EAAE,0DAA0D,CAAC;AAC5F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,mBAAmBA,CAACT,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC/C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEQ,oBAAoB,EAAE,GAAGP,IAAI,CAAC;AACrE","ignoreList":[]}
@@ -18,7 +18,7 @@ import type { SharedClient as $Client, SharedClientContext as $ClientContext } f
18
18
  * Required Scopes: [api:ontologies-read]
19
19
  * URL: /v2/ontologies/{ontology}/interfaceTypes
20
20
  */
21
- export declare function listInterfaceTypes($ctx: $Client | $ClientContext, ...args: [
21
+ export declare function list($ctx: $Client | $ClientContext, ...args: [
22
22
  ontology: _Core.OntologyIdentifier,
23
23
  $queryParams?: {
24
24
  pageSize?: _Core.PageSize | undefined;
@@ -41,7 +41,7 @@ export declare function listInterfaceTypes($ctx: $Client | $ClientContext, ...ar
41
41
  * Required Scopes: [api:ontologies-read]
42
42
  * URL: /v2/ontologies/{ontology}/interfaceTypes/{interfaceType}
43
43
  */
44
- export declare function getInterfaceType($ctx: $Client | $ClientContext, ...args: [
44
+ export declare function get($ctx: $Client | $ClientContext, ...args: [
45
45
  ontology: _Core.OntologyIdentifier,
46
46
  interfaceType: _Core.InterfaceTypeApiName,
47
47
  $queryParams?: {
@@ -84,7 +84,7 @@ export declare function getInterfaceType($ctx: $Client | $ClientContext, ...args
84
84
  * Required Scopes: [api:ontologies-read]
85
85
  * URL: /v2/ontologies/{ontology}/interfaces/{interfaceType}/search
86
86
  */
87
- export declare function searchObjectsForInterface($ctx: $Client | $ClientContext, ...args: [
87
+ export declare function search($ctx: $Client | $ClientContext, ...args: [
88
88
  ontology: _Core.OntologyIdentifier,
89
89
  interfaceType: _Core.InterfaceTypeApiName,
90
90
  $body: _Core.SearchObjectsForInterfaceRequest,
@@ -108,7 +108,7 @@ export declare function searchObjectsForInterface($ctx: $Client | $ClientContext
108
108
  * Required Scopes: [api:ontologies-read]
109
109
  * URL: /v2/ontologies/{ontology}/interfaces/{interfaceType}/aggregate
110
110
  */
111
- export declare function aggregateObjectsForInterface($ctx: $Client | $ClientContext, ...args: [
111
+ export declare function aggregate($ctx: $Client | $ClientContext, ...args: [
112
112
  ontology: _Core.OntologyIdentifier,
113
113
  interfaceType: _Core.InterfaceTypeApiName,
114
114
  $body: _Core.AggregateObjectsRequestV2,
@@ -1 +1 @@
1
- {"version":3,"file":"OntologyInterface.d.ts","sourceRoot":"","sources":["../../../src/public/OntologyInterface.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,6BAA6B,CAAC;AAC1D,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,qBAAqB,CAAC;AAiB7B;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,kBAAkB,CAChC,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,KAAK,CAAC,kBAAkB;IAElC,YAAY,CAAC,EAAE;QACb,QAAQ,CAAC,EAAE,KAAK,CAAC,QAAQ,GAAG,SAAS,CAAC;QACtC,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,SAAS,CAAC;QACxC,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAC;KACzC;CACF,GACA,OAAO,CAAC,KAAK,CAAC,0BAA0B,CAAC,CAE3C;AAUD;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,gBAAgB,CAC9B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,KAAK,CAAC,kBAAkB;IAClC,aAAa,EAAE,KAAK,CAAC,oBAAoB;IAEzC,YAAY,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAA;KAAE;CAC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AAE,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAA;KAAE;CAC3D,GACA,OAAO,CAAC,KAAK,CAAC,0BAA0B,CAAC,CAE3C"}
@@ -15,7 +15,7 @@
15
15
  */
16
16
  import { foundryPlatformFetch as $foundryPlatformFetch } from "@osdk/shared.net.platformapi";
17
17
  //
18
- const _listInterfaceTypes = [0, "/v2/ontologies/{0}/interfaceTypes", 2];
18
+ const _list = [0, "/v2/ontologies/{0}/interfaceTypes", 2];
19
19
  /**
20
20
  * :::callout{theme=warning title=Warning}
21
21
  * This endpoint is in preview and may be modified or removed at any time.
@@ -34,10 +34,10 @@ const _listInterfaceTypes = [0, "/v2/ontologies/{0}/interfaceTypes", 2];
34
34
  * Required Scopes: [api:ontologies-read]
35
35
  * URL: /v2/ontologies/{ontology}/interfaceTypes
36
36
  */
37
- export function listInterfaceTypes($ctx, ...args) {
38
- return $foundryPlatformFetch($ctx, _listInterfaceTypes, ...args);
37
+ export function list($ctx, ...args) {
38
+ return $foundryPlatformFetch($ctx, _list, ...args);
39
39
  }
40
- const _getInterfaceType = [0, "/v2/ontologies/{0}/interfaceTypes/{1}", 2];
40
+ const _get = [0, "/v2/ontologies/{0}/interfaceTypes/{1}", 2];
41
41
  /**
42
42
  * :::callout{theme=warning title=Warning}
43
43
  * This endpoint is in preview and may be modified or removed at any time.
@@ -53,10 +53,10 @@ const _getInterfaceType = [0, "/v2/ontologies/{0}/interfaceTypes/{1}", 2];
53
53
  * Required Scopes: [api:ontologies-read]
54
54
  * URL: /v2/ontologies/{ontology}/interfaceTypes/{interfaceType}
55
55
  */
56
- export function getInterfaceType($ctx, ...args) {
57
- return $foundryPlatformFetch($ctx, _getInterfaceType, ...args);
56
+ export function get($ctx, ...args) {
57
+ return $foundryPlatformFetch($ctx, _get, ...args);
58
58
  }
59
- const _searchObjectsForInterface = [1, "/v2/ontologies/{0}/interfaces/{1}/search", 3];
59
+ const _search = [1, "/v2/ontologies/{0}/interfaces/{1}/search", 3];
60
60
  /**
61
61
  * :::callout{theme=warning title=Warning}
62
62
  * This endpoint is in preview and may be modified or removed at any time.
@@ -93,10 +93,10 @@ const _searchObjectsForInterface = [1, "/v2/ontologies/{0}/interfaces/{1}/search
93
93
  * Required Scopes: [api:ontologies-read]
94
94
  * URL: /v2/ontologies/{ontology}/interfaces/{interfaceType}/search
95
95
  */
96
- export function searchObjectsForInterface($ctx, ...args) {
97
- return $foundryPlatformFetch($ctx, _searchObjectsForInterface, ...args);
96
+ export function search($ctx, ...args) {
97
+ return $foundryPlatformFetch($ctx, _search, ...args);
98
98
  }
99
- const _aggregateObjectsForInterface = [1, "/v2/ontologies/{0}/interfaces/{1}/aggregate", 3];
99
+ const _aggregate = [1, "/v2/ontologies/{0}/interfaces/{1}/aggregate", 3];
100
100
  /**
101
101
  * :::callout{theme=warning title=Warning}
102
102
  * This endpoint is in preview and may be modified or removed at any time.
@@ -113,7 +113,7 @@ const _aggregateObjectsForInterface = [1, "/v2/ontologies/{0}/interfaces/{1}/agg
113
113
  * Required Scopes: [api:ontologies-read]
114
114
  * URL: /v2/ontologies/{ontology}/interfaces/{interfaceType}/aggregate
115
115
  */
116
- export function aggregateObjectsForInterface($ctx, ...args) {
117
- return $foundryPlatformFetch($ctx, _aggregateObjectsForInterface, ...args);
116
+ export function aggregate($ctx, ...args) {
117
+ return $foundryPlatformFetch($ctx, _aggregate, ...args);
118
118
  }
119
119
  //# sourceMappingURL=OntologyInterface.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"OntologyInterface.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_listInterfaceTypes","listInterfaceTypes","$ctx","args","_getInterfaceType","getInterfaceType","_searchObjectsForInterface","searchObjectsForInterface","_aggregateObjectsForInterface","aggregateObjectsForInterface"],"sources":["OntologyInterface.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _listInterfaceTypes = [0, \"/v2/ontologies/{0}/interfaceTypes\", 2];\n/**\n * :::callout{theme=warning title=Warning}\n * This endpoint is in preview and may be modified or removed at any time.\n * To use this endpoint, add `preview=true` to the request query parameters.\n * :::\n *\n * Lists the interface types for the given Ontology.\n *\n * Each page may be smaller than the requested page size. However, it is guaranteed that if there are more\n * results available, at least one result will be present in the response.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/interfaceTypes\n */\nexport function listInterfaceTypes($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listInterfaceTypes, ...args);\n}\nconst _getInterfaceType = [0, \"/v2/ontologies/{0}/interfaceTypes/{1}\", 2];\n/**\n * :::callout{theme=warning title=Warning}\n * This endpoint is in preview and may be modified or removed at any time.\n * To use this endpoint, add `preview=true` to the request query parameters.\n * :::\n *\n * Gets a specific object type with the given API name.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/interfaceTypes/{interfaceType}\n */\nexport function getInterfaceType($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getInterfaceType, ...args);\n}\nconst _searchObjectsForInterface = [1, \"/v2/ontologies/{0}/interfaces/{1}/search\", 3];\n/**\n * :::callout{theme=warning title=Warning}\n * This endpoint is in preview and may be modified or removed at any time.\n * To use this endpoint, add `preview=true` to the request query parameters.\n * :::\n *\n * Search for objects in the specified ontology and interface type. Any properties specified in the \"where\" or\n * \"orderBy\" parameters must be shared property type API names defined on the interface. The following search\n * queries are supported:\n *\n * | Query type | Description | Supported Types |\n * |-----------------------------------------|-------------------------------------------------------------------------------------------------------------------|---------------------------------|\n * | lt | The provided property is less than the provided value. | number, string, date, timestamp |\n * | gt | The provided property is greater than the provided value. | number, string, date, timestamp |\n * | lte | The provided property is less than or equal to the provided value. | number, string, date, timestamp |\n * | gte | The provided property is greater than or equal to the provided value. | number, string, date, timestamp |\n * | eq | The provided property is exactly equal to the provided value. | number, string, date, timestamp |\n * | isNull | The provided property is (or is not) null. | all |\n * | contains | The provided property contains the provided value. | array |\n * | not | The sub-query does not match. | N/A (applied on a query) |\n * | and | All the sub-queries match. | N/A (applied on queries) |\n * | or | At least one of the sub-queries match. | N/A (applied on queries) |\n * | startsWith | The provided property starts with the provided value. | string |\n * | containsAllTermsInOrderPrefixLastTerm | The provided property contains all the terms provided in order. The last term can be a partial prefix match. | string |\n * | containsAllTermsInOrder | The provided property contains the provided value as a substring. | string |\n * | containsAnyTerm | The provided property contains at least one of the terms separated by whitespace. | string |\n * | containsAllTerms | The provided property contains all the terms separated by whitespace. | string |\n *\n * Attempting to use an unsupported query will result in a validation error. Third-party applications using this\n * endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/interfaces/{interfaceType}/search\n */\nexport function searchObjectsForInterface($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _searchObjectsForInterface, ...args);\n}\nconst _aggregateObjectsForInterface = [1, \"/v2/ontologies/{0}/interfaces/{1}/aggregate\", 3];\n/**\n * :::callout{theme=warning title=Warning}\n * This endpoint is in preview and may be modified or removed at any time.\n * To use this endpoint, add `preview=true` to the request query parameters.\n * :::\n *\n * Perform functions on object fields in the specified ontology and of the specified interface type. Any\n * properties specified in the query must be shared property type API names defined on the interface.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/interfaces/{interfaceType}/aggregate\n */\nexport function aggregateObjectsForInterface($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _aggregateObjectsForInterface, ...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,mBAAmB,GAAG,CAAC,CAAC,EAAE,mCAAmC,EAAE,CAAC,CAAC;AACvE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,kBAAkBA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC9C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,mBAAmB,EAAE,GAAGG,IAAI,CAAC;AACpE;AACA,MAAMC,iBAAiB,GAAG,CAAC,CAAC,EAAE,uCAAuC,EAAE,CAAC,CAAC;AACzE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,gBAAgBA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC5C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,iBAAiB,EAAE,GAAGD,IAAI,CAAC;AAClE;AACA,MAAMG,0BAA0B,GAAG,CAAC,CAAC,EAAE,0CAA0C,EAAE,CAAC,CAAC;AACrF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,yBAAyBA,CAACL,IAAI,EAAE,GAAGC,IAAI,EAAE;EACrD,OAAOJ,qBAAqB,CAACG,IAAI,EAAEI,0BAA0B,EAAE,GAAGH,IAAI,CAAC;AAC3E;AACA,MAAMK,6BAA6B,GAAG,CAAC,CAAC,EAAE,6CAA6C,EAAE,CAAC,CAAC;AAC3F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,4BAA4BA,CAACP,IAAI,EAAE,GAAGC,IAAI,EAAE;EACxD,OAAOJ,qBAAqB,CAACG,IAAI,EAAEM,6BAA6B,EAAE,GAAGL,IAAI,CAAC;AAC9E","ignoreList":[]}
1
+ {"version":3,"file":"OntologyInterface.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_list","list","$ctx","args","_get","get","_search","search","_aggregate","aggregate"],"sources":["OntologyInterface.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _list = [0, \"/v2/ontologies/{0}/interfaceTypes\", 2];\n/**\n * :::callout{theme=warning title=Warning}\n * This endpoint is in preview and may be modified or removed at any time.\n * To use this endpoint, add `preview=true` to the request query parameters.\n * :::\n *\n * Lists the interface types for the given Ontology.\n *\n * Each page may be smaller than the requested page size. However, it is guaranteed that if there are more\n * results available, at least one result will be present in the response.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/interfaceTypes\n */\nexport function list($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _list, ...args);\n}\nconst _get = [0, \"/v2/ontologies/{0}/interfaceTypes/{1}\", 2];\n/**\n * :::callout{theme=warning title=Warning}\n * This endpoint is in preview and may be modified or removed at any time.\n * To use this endpoint, add `preview=true` to the request query parameters.\n * :::\n *\n * Gets a specific object type with the given API name.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/interfaceTypes/{interfaceType}\n */\nexport function get($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _get, ...args);\n}\nconst _search = [1, \"/v2/ontologies/{0}/interfaces/{1}/search\", 3];\n/**\n * :::callout{theme=warning title=Warning}\n * This endpoint is in preview and may be modified or removed at any time.\n * To use this endpoint, add `preview=true` to the request query parameters.\n * :::\n *\n * Search for objects in the specified ontology and interface type. Any properties specified in the \"where\" or\n * \"orderBy\" parameters must be shared property type API names defined on the interface. The following search\n * queries are supported:\n *\n * | Query type | Description | Supported Types |\n * |-----------------------------------------|-------------------------------------------------------------------------------------------------------------------|---------------------------------|\n * | lt | The provided property is less than the provided value. | number, string, date, timestamp |\n * | gt | The provided property is greater than the provided value. | number, string, date, timestamp |\n * | lte | The provided property is less than or equal to the provided value. | number, string, date, timestamp |\n * | gte | The provided property is greater than or equal to the provided value. | number, string, date, timestamp |\n * | eq | The provided property is exactly equal to the provided value. | number, string, date, timestamp |\n * | isNull | The provided property is (or is not) null. | all |\n * | contains | The provided property contains the provided value. | array |\n * | not | The sub-query does not match. | N/A (applied on a query) |\n * | and | All the sub-queries match. | N/A (applied on queries) |\n * | or | At least one of the sub-queries match. | N/A (applied on queries) |\n * | startsWith | The provided property starts with the provided value. | string |\n * | containsAllTermsInOrderPrefixLastTerm | The provided property contains all the terms provided in order. The last term can be a partial prefix match. | string |\n * | containsAllTermsInOrder | The provided property contains the provided value as a substring. | string |\n * | containsAnyTerm | The provided property contains at least one of the terms separated by whitespace. | string |\n * | containsAllTerms | The provided property contains all the terms separated by whitespace. | string |\n *\n * Attempting to use an unsupported query will result in a validation error. Third-party applications using this\n * endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/interfaces/{interfaceType}/search\n */\nexport function search($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _search, ...args);\n}\nconst _aggregate = [1, \"/v2/ontologies/{0}/interfaces/{1}/aggregate\", 3];\n/**\n * :::callout{theme=warning title=Warning}\n * This endpoint is in preview and may be modified or removed at any time.\n * To use this endpoint, add `preview=true` to the request query parameters.\n * :::\n *\n * Perform functions on object fields in the specified ontology and of the specified interface type. Any\n * properties specified in the query must be shared property type API names defined on the interface.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/interfaces/{interfaceType}/aggregate\n */\nexport function aggregate($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _aggregate, ...args);\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,oBAAoB,IAAIC,qBAAqB,QAAQ,8BAA8B;AAC5F;AACA,MAAMC,KAAK,GAAG,CAAC,CAAC,EAAE,mCAAmC,EAAE,CAAC,CAAC;AACzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,IAAIA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAChC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,KAAK,EAAE,GAAGG,IAAI,CAAC;AACtD;AACA,MAAMC,IAAI,GAAG,CAAC,CAAC,EAAE,uCAAuC,EAAE,CAAC,CAAC;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,GAAGA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC/B,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,IAAI,EAAE,GAAGD,IAAI,CAAC;AACrD;AACA,MAAMG,OAAO,GAAG,CAAC,CAAC,EAAE,0CAA0C,EAAE,CAAC,CAAC;AAClE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,MAAMA,CAACL,IAAI,EAAE,GAAGC,IAAI,EAAE;EAClC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEI,OAAO,EAAE,GAAGH,IAAI,CAAC;AACxD;AACA,MAAMK,UAAU,GAAG,CAAC,CAAC,EAAE,6CAA6C,EAAE,CAAC,CAAC;AACxE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,SAASA,CAACP,IAAI,EAAE,GAAGC,IAAI,EAAE;EACrC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEM,UAAU,EAAE,GAAGL,IAAI,CAAC;AAC3D","ignoreList":[]}
@@ -11,7 +11,7 @@ import type { SharedClient as $Client, SharedClientContext as $ClientContext } f
11
11
  * Required Scopes: [api:ontologies-read, api:ontologies-write]
12
12
  * URL: /v2/ontologies/{ontology}/objectSets/createTemporary
13
13
  */
14
- export declare function createTemporaryObjectSetV2($ctx: $Client | $ClientContext, ...args: [
14
+ export declare function createTemporary($ctx: $Client | $ClientContext, ...args: [
15
15
  ontology: _Core.OntologyIdentifier,
16
16
  $body: _Core.CreateTemporaryObjectSetRequestV2
17
17
  ]): Promise<_Core.CreateTemporaryObjectSetResponseV2>;
@@ -25,7 +25,7 @@ export declare function createTemporaryObjectSetV2($ctx: $Client | $ClientContex
25
25
  * Required Scopes: []
26
26
  * URL: /v2/ontologies/{ontology}/objectSets/{objectSetRid}
27
27
  */
28
- export declare function getObjectSetV2($ctx: $Client | $ClientContext, ...args: [
28
+ export declare function get($ctx: $Client | $ClientContext, ...args: [
29
29
  ontology: _Core.OntologyIdentifier,
30
30
  objectSetRid: _Core.ObjectSetRid
31
31
  ]): Promise<_Core.ObjectSet>;
@@ -44,7 +44,7 @@ export declare function getObjectSetV2($ctx: $Client | $ClientContext, ...args:
44
44
  * Required Scopes: [api:ontologies-read]
45
45
  * URL: /v2/ontologies/{ontology}/objectSets/loadObjects
46
46
  */
47
- export declare function loadObjectSetV2($ctx: $Client | $ClientContext, ...args: [
47
+ export declare function load($ctx: $Client | $ClientContext, ...args: [
48
48
  ontology: _Core.OntologyIdentifier,
49
49
  $body: _Core.LoadObjectSetRequestV2,
50
50
  $queryParams?: {
@@ -62,7 +62,7 @@ export declare function loadObjectSetV2($ctx: $Client | $ClientContext, ...args:
62
62
  * Required Scopes: [api:ontologies-read]
63
63
  * URL: /v2/ontologies/{ontology}/objectSets/aggregate
64
64
  */
65
- export declare function aggregateObjectSetV2($ctx: $Client | $ClientContext, ...args: [
65
+ export declare function aggregate($ctx: $Client | $ClientContext, ...args: [
66
66
  ontology: _Core.OntologyIdentifier,
67
67
  $body: _Core.AggregateObjectSetRequestV2,
68
68
  $queryParams?: {
@@ -1 +1 @@
1
- {"version":3,"file":"OntologyObjectSet.d.ts","sourceRoot":"","sources":["../../../src/public/OntologyObjectSet.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,6BAA6B,CAAC;AAC1D,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,qBAAqB,CAAC;AAa7B;;;;;;;;;;GAUG;AACH,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BAAkB;IAClC,KAAK,EAAE,KAAK,CAAC,2BAA2B;IACxC,YAAY,CAAC,EAAE;QACb,kBAAkB,CAAC,EAAE,KAAK,CAAC,qBAAqB,GAAG,SAAS,CAAC;QAC7D,WAAW,CAAC,EAAE,KAAK,CAAC,cAAc,GAAG,SAAS,CAAC;KAChD;CACF,GACA,OAAO,CAAC,KAAK,CAAC,0BAA0B,CAAC,CAE3C"}
@@ -15,7 +15,7 @@
15
15
  */
16
16
  import { foundryPlatformFetch as $foundryPlatformFetch } from "@osdk/shared.net.platformapi";
17
17
  //
18
- const _createTemporaryObjectSetV2 = [1, "/v2/ontologies/{0}/objectSets/createTemporary", 1];
18
+ const _createTemporary = [1, "/v2/ontologies/{0}/objectSets/createTemporary", 1];
19
19
  /**
20
20
  * Creates a temporary `ObjectSet` from the given definition.
21
21
  *
@@ -27,10 +27,10 @@ const _createTemporaryObjectSetV2 = [1, "/v2/ontologies/{0}/objectSets/createTem
27
27
  * Required Scopes: [api:ontologies-read, api:ontologies-write]
28
28
  * URL: /v2/ontologies/{ontology}/objectSets/createTemporary
29
29
  */
30
- export function createTemporaryObjectSetV2($ctx, ...args) {
31
- return $foundryPlatformFetch($ctx, _createTemporaryObjectSetV2, ...args);
30
+ export function createTemporary($ctx, ...args) {
31
+ return $foundryPlatformFetch($ctx, _createTemporary, ...args);
32
32
  }
33
- const _getObjectSetV2 = [0, "/v2/ontologies/{0}/objectSets/{1}"];
33
+ const _get = [0, "/v2/ontologies/{0}/objectSets/{1}"];
34
34
  /**
35
35
  * Gets the definition of the `ObjectSet` with the given RID.
36
36
  *
@@ -41,10 +41,10 @@ const _getObjectSetV2 = [0, "/v2/ontologies/{0}/objectSets/{1}"];
41
41
  * Required Scopes: []
42
42
  * URL: /v2/ontologies/{ontology}/objectSets/{objectSetRid}
43
43
  */
44
- export function getObjectSetV2($ctx, ...args) {
45
- return $foundryPlatformFetch($ctx, _getObjectSetV2, ...args);
44
+ export function get($ctx, ...args) {
45
+ return $foundryPlatformFetch($ctx, _get, ...args);
46
46
  }
47
- const _loadObjectSetV2 = [1, "/v2/ontologies/{0}/objectSets/loadObjects", 3];
47
+ const _load = [1, "/v2/ontologies/{0}/objectSets/loadObjects", 3];
48
48
  /**
49
49
  * Load the ontology objects present in the `ObjectSet` from the provided object set definition.
50
50
  *
@@ -60,10 +60,10 @@ const _loadObjectSetV2 = [1, "/v2/ontologies/{0}/objectSets/loadObjects", 3];
60
60
  * Required Scopes: [api:ontologies-read]
61
61
  * URL: /v2/ontologies/{ontology}/objectSets/loadObjects
62
62
  */
63
- export function loadObjectSetV2($ctx, ...args) {
64
- return $foundryPlatformFetch($ctx, _loadObjectSetV2, ...args);
63
+ export function load($ctx, ...args) {
64
+ return $foundryPlatformFetch($ctx, _load, ...args);
65
65
  }
66
- const _aggregateObjectSetV2 = [1, "/v2/ontologies/{0}/objectSets/aggregate", 3];
66
+ const _aggregate = [1, "/v2/ontologies/{0}/objectSets/aggregate", 3];
67
67
  /**
68
68
  * Aggregates the ontology objects present in the `ObjectSet` from the provided object set definition.
69
69
  *
@@ -74,7 +74,7 @@ const _aggregateObjectSetV2 = [1, "/v2/ontologies/{0}/objectSets/aggregate", 3];
74
74
  * Required Scopes: [api:ontologies-read]
75
75
  * URL: /v2/ontologies/{ontology}/objectSets/aggregate
76
76
  */
77
- export function aggregateObjectSetV2($ctx, ...args) {
78
- return $foundryPlatformFetch($ctx, _aggregateObjectSetV2, ...args);
77
+ export function aggregate($ctx, ...args) {
78
+ return $foundryPlatformFetch($ctx, _aggregate, ...args);
79
79
  }
80
80
  //# sourceMappingURL=OntologyObjectSet.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"OntologyObjectSet.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_createTemporaryObjectSetV2","createTemporaryObjectSetV2","$ctx","args","_getObjectSetV2","getObjectSetV2","_loadObjectSetV2","loadObjectSetV2","_aggregateObjectSetV2","aggregateObjectSetV2"],"sources":["OntologyObjectSet.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _createTemporaryObjectSetV2 = [1, \"/v2/ontologies/{0}/objectSets/createTemporary\", 1];\n/**\n * Creates a temporary `ObjectSet` from the given definition.\n *\n * Third-party applications using this endpoint via OAuth2 must request the\n * following operation scopes: `api:ontologies-read api:ontologies-write`.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read, api:ontologies-write]\n * URL: /v2/ontologies/{ontology}/objectSets/createTemporary\n */\nexport function createTemporaryObjectSetV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _createTemporaryObjectSetV2, ...args);\n}\nconst _getObjectSetV2 = [0, \"/v2/ontologies/{0}/objectSets/{1}\"];\n/**\n * Gets the definition of the `ObjectSet` with the given RID.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @alpha\n *\n * Required Scopes: []\n * URL: /v2/ontologies/{ontology}/objectSets/{objectSetRid}\n */\nexport function getObjectSetV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getObjectSetV2, ...args);\n}\nconst _loadObjectSetV2 = [1, \"/v2/ontologies/{0}/objectSets/loadObjects\", 3];\n/**\n * Load the ontology objects present in the `ObjectSet` from the provided object set definition.\n *\n * For Object Storage V1 backed objects, this endpoint returns a maximum of 10,000 objects. After 10,000 objects have been returned and if more objects\n * are available, attempting to load another page will result in an `ObjectsExceededLimit` error being returned. There is no limit on Object Storage V2 backed objects.\n *\n * Note that null value properties will not be returned.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objectSets/loadObjects\n */\nexport function loadObjectSetV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _loadObjectSetV2, ...args);\n}\nconst _aggregateObjectSetV2 = [1, \"/v2/ontologies/{0}/objectSets/aggregate\", 3];\n/**\n * Aggregates the ontology objects present in the `ObjectSet` from the provided object set definition.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objectSets/aggregate\n */\nexport function aggregateObjectSetV2($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _aggregateObjectSetV2, ...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,2BAA2B,GAAG,CAAC,CAAC,EAAE,+CAA+C,EAAE,CAAC,CAAC;AAC3F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,0BAA0BA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EACtD,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,2BAA2B,EAAE,GAAGG,IAAI,CAAC;AAC5E;AACA,MAAMC,eAAe,GAAG,CAAC,CAAC,EAAE,mCAAmC,CAAC;AAChE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,cAAcA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC1C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,eAAe,EAAE,GAAGD,IAAI,CAAC;AAChE;AACA,MAAMG,gBAAgB,GAAG,CAAC,CAAC,EAAE,2CAA2C,EAAE,CAAC,CAAC;AAC5E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,eAAeA,CAACL,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC3C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEI,gBAAgB,EAAE,GAAGH,IAAI,CAAC;AACjE;AACA,MAAMK,qBAAqB,GAAG,CAAC,CAAC,EAAE,yCAAyC,EAAE,CAAC,CAAC;AAC/E;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","ignoreList":[]}
1
+ {"version":3,"file":"OntologyObjectSet.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_createTemporary","createTemporary","$ctx","args","_get","get","_load","load","_aggregate","aggregate"],"sources":["OntologyObjectSet.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _createTemporary = [1, \"/v2/ontologies/{0}/objectSets/createTemporary\", 1];\n/**\n * Creates a temporary `ObjectSet` from the given definition.\n *\n * Third-party applications using this endpoint via OAuth2 must request the\n * following operation scopes: `api:ontologies-read api:ontologies-write`.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read, api:ontologies-write]\n * URL: /v2/ontologies/{ontology}/objectSets/createTemporary\n */\nexport function createTemporary($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _createTemporary, ...args);\n}\nconst _get = [0, \"/v2/ontologies/{0}/objectSets/{1}\"];\n/**\n * Gets the definition of the `ObjectSet` with the given RID.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @alpha\n *\n * Required Scopes: []\n * URL: /v2/ontologies/{ontology}/objectSets/{objectSetRid}\n */\nexport function get($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _get, ...args);\n}\nconst _load = [1, \"/v2/ontologies/{0}/objectSets/loadObjects\", 3];\n/**\n * Load the ontology objects present in the `ObjectSet` from the provided object set definition.\n *\n * For Object Storage V1 backed objects, this endpoint returns a maximum of 10,000 objects. After 10,000 objects have been returned and if more objects\n * are available, attempting to load another page will result in an `ObjectsExceededLimit` error being returned. There is no limit on Object Storage V2 backed objects.\n *\n * Note that null value properties will not be returned.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objectSets/loadObjects\n */\nexport function load($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _load, ...args);\n}\nconst _aggregate = [1, \"/v2/ontologies/{0}/objectSets/aggregate\", 3];\n/**\n * Aggregates the ontology objects present in the `ObjectSet` from the provided object set definition.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objectSets/aggregate\n */\nexport function aggregate($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _aggregate, ...args);\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,oBAAoB,IAAIC,qBAAqB,QAAQ,8BAA8B;AAC5F;AACA,MAAMC,gBAAgB,GAAG,CAAC,CAAC,EAAE,+CAA+C,EAAE,CAAC,CAAC;AAChF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,eAAeA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC3C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,gBAAgB,EAAE,GAAGG,IAAI,CAAC;AACjE;AACA,MAAMC,IAAI,GAAG,CAAC,CAAC,EAAE,mCAAmC,CAAC;AACrD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,GAAGA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC/B,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,IAAI,EAAE,GAAGD,IAAI,CAAC;AACrD;AACA,MAAMG,KAAK,GAAG,CAAC,CAAC,EAAE,2CAA2C,EAAE,CAAC,CAAC;AACjE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,IAAIA,CAACL,IAAI,EAAE,GAAGC,IAAI,EAAE;EAChC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEI,KAAK,EAAE,GAAGH,IAAI,CAAC;AACtD;AACA,MAAMK,UAAU,GAAG,CAAC,CAAC,EAAE,yCAAyC,EAAE,CAAC,CAAC;AACpE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,SAASA,CAACP,IAAI,EAAE,GAAGC,IAAI,EAAE;EACrC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEM,UAAU,EAAE,GAAGL,IAAI,CAAC;AAC3D","ignoreList":[]}
@@ -22,7 +22,7 @@ import type { SharedClient as $Client, SharedClientContext as $ClientContext } f
22
22
  * Required Scopes: [api:ontologies-read]
23
23
  * URL: /v2/ontologies/{ontology}/objects/{objectType}
24
24
  */
25
- export declare function listObjectsV2($ctx: $Client | $ClientContext, ...args: [
25
+ export declare function list($ctx: $Client | $ClientContext, ...args: [
26
26
  ontology: _Core.OntologyIdentifier,
27
27
  objectType: _Core.ObjectTypeApiName,
28
28
  $queryParams: {
@@ -45,7 +45,7 @@ export declare function listObjectsV2($ctx: $Client | $ClientContext, ...args: [
45
45
  * Required Scopes: [api:ontologies-read]
46
46
  * URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}
47
47
  */
48
- export declare function getObjectV2($ctx: $Client | $ClientContext, ...args: [
48
+ export declare function get($ctx: $Client | $ClientContext, ...args: [
49
49
  ontology: _Core.OntologyIdentifier,
50
50
  objectType: _Core.ObjectTypeApiName,
51
51
  primaryKey: _Core.PropertyValueEscapedString,
@@ -66,7 +66,7 @@ export declare function getObjectV2($ctx: $Client | $ClientContext, ...args: [
66
66
  * Required Scopes: [api:ontologies-read]
67
67
  * URL: /v2/ontologies/{ontology}/objects/{objectType}/count
68
68
  */
69
- export declare function countObjects($ctx: $Client | $ClientContext, ...args: [
69
+ export declare function count($ctx: $Client | $ClientContext, ...args: [
70
70
  ontology: _Core.OntologyIdentifier,
71
71
  objectType: _Core.ObjectTypeApiName,
72
72
  $queryParams?: {
@@ -103,7 +103,7 @@ export declare function countObjects($ctx: $Client | $ClientContext, ...args: [
103
103
  * Required Scopes: [api:ontologies-read]
104
104
  * URL: /v2/ontologies/{ontology}/objects/{objectType}/search
105
105
  */
106
- export declare function searchObjectsV2($ctx: $Client | $ClientContext, ...args: [
106
+ export declare function search($ctx: $Client | $ClientContext, ...args: [
107
107
  ontology: _Core.OntologyIdentifier,
108
108
  objectType: _Core.ObjectTypeApiName,
109
109
  $body: _Core.SearchObjectsRequestV2,
@@ -122,7 +122,7 @@ export declare function searchObjectsV2($ctx: $Client | $ClientContext, ...args:
122
122
  * Required Scopes: [api:ontologies-read]
123
123
  * URL: /v2/ontologies/{ontology}/objects/{objectType}/aggregate
124
124
  */
125
- export declare function aggregateObjectsV2($ctx: $Client | $ClientContext, ...args: [
125
+ export declare function aggregate($ctx: $Client | $ClientContext, ...args: [
126
126
  ontology: _Core.OntologyIdentifier,
127
127
  objectType: _Core.ObjectTypeApiName,
128
128
  $body: _Core.AggregateObjectsRequestV2,
@@ -1 +1 @@
1
- {"version":3,"file":"OntologyObjectV2.d.ts","sourceRoot":"","sources":["../../../src/public/OntologyObjectV2.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;AAsB7B;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,aAAa,CAC3B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,KAAK,CAAC,kBAAkB;IAClC,UAAU,EAAE,KAAK,CAAC,iBAAiB;IAEnC,YAAY,EAAE;QACZ,QAAQ,CAAC,EAAE,KAAK,CAAC,QAAQ,GAAG,SAAS,CAAC;QACtC,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,SAAS,CAAC;QACxC,MAAM,EAAE,KAAK,CAAC,KAAK,CAAC,uBAAuB,CAAC,CAAC;QAC7C,OAAO,CAAC,EAAE,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC;QACpC,kBAAkB,CAAC,EAAE,KAAK,CAAC,qBAAqB,GAAG,SAAS,CAAC;QAC7D,WAAW,CAAC,EAAE,KAAK,CAAC,cAAc,GAAG,SAAS,CAAC;QAC/C,UAAU,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;KAClC;CACF,GACA,OAAO,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAEtC;AAgBD;;;;;;;;;GASG;AACH,wBAAgB,WAAW,CACzB,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,KAAK,CAAC,kBAAkB;IACl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;IAClC,UAAU,EAAE,KAAK,CAAC,iBAAiB;IACnC,KAAK,EAAE,KAAK,CAAC,sBAAsB;IACnC,YAAY,CAAC,EAAE;QACb,kBAAkB,CAAC,EAAE,KAAK,CAAC,qBAAqB,GAAG,SAAS,CAAC;QAC7D,WAAW,CAAC,EAAE,KAAK,CAAC,cAAc,GAAG,SAAS,CAAC;KAChD;CACF,GACA,OAAO,CAAC,KAAK,CAAC,uBAAuB,CAAC,CAExC;AAcD;;;;;;;;;GASG;AACH,wBAAgB,SAAS,CACvB,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,KAAK,CAAC,kBAAkB;IAClC,UAAU,EAAE,KAAK,CAAC,iBAAiB;IACnC,KAAK,EAAE,KAAK,CAAC,yBAAyB;IACtC,YAAY,CAAC,EAAE;QACb,kBAAkB,CAAC,EAAE,KAAK,CAAC,qBAAqB,GAAG,SAAS,CAAC;QAC7D,WAAW,CAAC,EAAE,KAAK,CAAC,cAAc,GAAG,SAAS,CAAC;KAChD;CACF,GACA,OAAO,CAAC,KAAK,CAAC,0BAA0B,CAAC,CAE3C"}
@@ -15,7 +15,7 @@
15
15
  */
16
16
  import { foundryPlatformFetch as $foundryPlatformFetch } from "@osdk/shared.net.platformapi";
17
17
  //
18
- const _listObjectsV2 = [0, "/v2/ontologies/{0}/objects/{1}", 2];
18
+ const _list = [0, "/v2/ontologies/{0}/objects/{1}", 2];
19
19
  /**
20
20
  * Lists the objects for the given Ontology and object type.
21
21
  *
@@ -38,10 +38,10 @@ const _listObjectsV2 = [0, "/v2/ontologies/{0}/objects/{1}", 2];
38
38
  * Required Scopes: [api:ontologies-read]
39
39
  * URL: /v2/ontologies/{ontology}/objects/{objectType}
40
40
  */
41
- export function listObjectsV2($ctx, ...args) {
42
- return $foundryPlatformFetch($ctx, _listObjectsV2, ...args);
41
+ export function list($ctx, ...args) {
42
+ return $foundryPlatformFetch($ctx, _list, ...args);
43
43
  }
44
- const _getObjectV2 = [0, "/v2/ontologies/{0}/objects/{1}/{2}", 2];
44
+ const _get = [0, "/v2/ontologies/{0}/objects/{1}/{2}", 2];
45
45
  /**
46
46
  * Gets a specific object with the given primary key.
47
47
  *
@@ -52,10 +52,10 @@ const _getObjectV2 = [0, "/v2/ontologies/{0}/objects/{1}/{2}", 2];
52
52
  * Required Scopes: [api:ontologies-read]
53
53
  * URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}
54
54
  */
55
- export function getObjectV2($ctx, ...args) {
56
- return $foundryPlatformFetch($ctx, _getObjectV2, ...args);
55
+ export function get($ctx, ...args) {
56
+ return $foundryPlatformFetch($ctx, _get, ...args);
57
57
  }
58
- const _countObjects = [1, "/v2/ontologies/{0}/objects/{1}/count", 2];
58
+ const _count = [1, "/v2/ontologies/{0}/objects/{1}/count", 2];
59
59
  /**
60
60
  * Returns a count of the objects of the given object type.
61
61
  *
@@ -66,10 +66,10 @@ const _countObjects = [1, "/v2/ontologies/{0}/objects/{1}/count", 2];
66
66
  * Required Scopes: [api:ontologies-read]
67
67
  * URL: /v2/ontologies/{ontology}/objects/{objectType}/count
68
68
  */
69
- export function countObjects($ctx, ...args) {
70
- return $foundryPlatformFetch($ctx, _countObjects, ...args);
69
+ export function count($ctx, ...args) {
70
+ return $foundryPlatformFetch($ctx, _count, ...args);
71
71
  }
72
- const _searchObjectsV2 = [1, "/v2/ontologies/{0}/objects/{1}/search", 3];
72
+ const _search = [1, "/v2/ontologies/{0}/objects/{1}/search", 3];
73
73
  /**
74
74
  * Search for objects in the specified ontology and object type. The request body is used
75
75
  * to filter objects based on the specified query. The supported queries are:
@@ -99,10 +99,10 @@ const _searchObjectsV2 = [1, "/v2/ontologies/{0}/objects/{1}/search", 3];
99
99
  * Required Scopes: [api:ontologies-read]
100
100
  * URL: /v2/ontologies/{ontology}/objects/{objectType}/search
101
101
  */
102
- export function searchObjectsV2($ctx, ...args) {
103
- return $foundryPlatformFetch($ctx, _searchObjectsV2, ...args);
102
+ export function search($ctx, ...args) {
103
+ return $foundryPlatformFetch($ctx, _search, ...args);
104
104
  }
105
- const _aggregateObjectsV2 = [1, "/v2/ontologies/{0}/objects/{1}/aggregate", 3];
105
+ const _aggregate = [1, "/v2/ontologies/{0}/objects/{1}/aggregate", 3];
106
106
  /**
107
107
  * Perform functions on object fields in the specified ontology and object type.
108
108
  *
@@ -113,7 +113,7 @@ const _aggregateObjectsV2 = [1, "/v2/ontologies/{0}/objects/{1}/aggregate", 3];
113
113
  * Required Scopes: [api:ontologies-read]
114
114
  * URL: /v2/ontologies/{ontology}/objects/{objectType}/aggregate
115
115
  */
116
- export function aggregateObjectsV2($ctx, ...args) {
117
- return $foundryPlatformFetch($ctx, _aggregateObjectsV2, ...args);
116
+ export function aggregate($ctx, ...args) {
117
+ return $foundryPlatformFetch($ctx, _aggregate, ...args);
118
118
  }
119
119
  //# sourceMappingURL=OntologyObjectV2.js.map