@osdk/foundry.ontologies 2.24.0 → 2.25.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 (142) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/build/browser/_components.d.ts +140 -4
  3. package/build/browser/_components.d.ts.map +1 -1
  4. package/build/browser/_errors.d.ts +64 -0
  5. package/build/browser/_errors.d.ts.map +1 -1
  6. package/build/browser/index.d.ts +2 -2
  7. package/build/browser/index.d.ts.map +1 -1
  8. package/build/browser/public/Action.d.ts +6 -15
  9. package/build/browser/public/Action.d.ts.map +1 -1
  10. package/build/browser/public/Action.js +0 -9
  11. package/build/browser/public/Action.js.map +1 -1
  12. package/build/browser/public/ActionTypeV2.d.ts +1 -6
  13. package/build/browser/public/ActionTypeV2.d.ts.map +1 -1
  14. package/build/browser/public/ActionTypeV2.js +0 -6
  15. package/build/browser/public/ActionTypeV2.js.map +1 -1
  16. package/build/browser/public/Attachment.d.ts +0 -9
  17. package/build/browser/public/Attachment.d.ts.map +1 -1
  18. package/build/browser/public/Attachment.js +0 -9
  19. package/build/browser/public/Attachment.js.map +1 -1
  20. package/build/browser/public/AttachmentPropertyV2.d.ts +8 -20
  21. package/build/browser/public/AttachmentPropertyV2.d.ts.map +1 -1
  22. package/build/browser/public/AttachmentPropertyV2.js +0 -12
  23. package/build/browser/public/AttachmentPropertyV2.js.map +1 -1
  24. package/build/browser/public/CipherTextProperty.d.ts +1 -4
  25. package/build/browser/public/CipherTextProperty.d.ts.map +1 -1
  26. package/build/browser/public/CipherTextProperty.js +1 -4
  27. package/build/browser/public/CipherTextProperty.js.map +1 -1
  28. package/build/browser/public/LinkedObjectV2.d.ts +2 -4
  29. package/build/browser/public/LinkedObjectV2.d.ts.map +1 -1
  30. package/build/browser/public/LinkedObjectV2.js +0 -4
  31. package/build/browser/public/LinkedObjectV2.js.map +1 -1
  32. package/build/browser/public/MediaReferenceProperty.d.ts +0 -8
  33. package/build/browser/public/MediaReferenceProperty.d.ts.map +1 -1
  34. package/build/browser/public/MediaReferenceProperty.js +0 -8
  35. package/build/browser/public/MediaReferenceProperty.js.map +1 -1
  36. package/build/browser/public/ObjectTypeV2.d.ts +3 -12
  37. package/build/browser/public/ObjectTypeV2.d.ts.map +1 -1
  38. package/build/browser/public/ObjectTypeV2.js +0 -12
  39. package/build/browser/public/ObjectTypeV2.js.map +1 -1
  40. package/build/browser/public/OntologyInterface.d.ts +34 -26
  41. package/build/browser/public/OntologyInterface.d.ts.map +1 -1
  42. package/build/browser/public/OntologyInterface.js +24 -26
  43. package/build/browser/public/OntologyInterface.js.map +1 -1
  44. package/build/browser/public/OntologyObjectSet.d.ts +4 -13
  45. package/build/browser/public/OntologyObjectSet.d.ts.map +1 -1
  46. package/build/browser/public/OntologyObjectSet.js +0 -13
  47. package/build/browser/public/OntologyObjectSet.js.map +1 -1
  48. package/build/browser/public/OntologyObjectV2.d.ts +13 -18
  49. package/build/browser/public/OntologyObjectV2.d.ts.map +1 -1
  50. package/build/browser/public/OntologyObjectV2.js +0 -10
  51. package/build/browser/public/OntologyObjectV2.js.map +1 -1
  52. package/build/browser/public/OntologyV2.d.ts +0 -4
  53. package/build/browser/public/OntologyV2.d.ts.map +1 -1
  54. package/build/browser/public/OntologyV2.js +0 -4
  55. package/build/browser/public/OntologyV2.js.map +1 -1
  56. package/build/browser/public/Query.d.ts +2 -5
  57. package/build/browser/public/Query.d.ts.map +1 -1
  58. package/build/browser/public/Query.js +0 -3
  59. package/build/browser/public/Query.js.map +1 -1
  60. package/build/browser/public/QueryType.d.ts +0 -4
  61. package/build/browser/public/QueryType.d.ts.map +1 -1
  62. package/build/browser/public/QueryType.js +0 -4
  63. package/build/browser/public/QueryType.js.map +1 -1
  64. package/build/browser/public/TimeSeriesPropertyV2.d.ts +0 -9
  65. package/build/browser/public/TimeSeriesPropertyV2.d.ts.map +1 -1
  66. package/build/browser/public/TimeSeriesPropertyV2.js +0 -9
  67. package/build/browser/public/TimeSeriesPropertyV2.js.map +1 -1
  68. package/build/browser/public/TimeSeriesValueBankProperty.d.ts +0 -6
  69. package/build/browser/public/TimeSeriesValueBankProperty.d.ts.map +1 -1
  70. package/build/browser/public/TimeSeriesValueBankProperty.js +0 -6
  71. package/build/browser/public/TimeSeriesValueBankProperty.js.map +1 -1
  72. package/build/esm/_components.d.ts +140 -4
  73. package/build/esm/_components.d.ts.map +1 -1
  74. package/build/esm/_errors.d.ts +64 -0
  75. package/build/esm/_errors.d.ts.map +1 -1
  76. package/build/esm/index.d.ts +2 -2
  77. package/build/esm/index.d.ts.map +1 -1
  78. package/build/esm/public/Action.d.ts +6 -15
  79. package/build/esm/public/Action.d.ts.map +1 -1
  80. package/build/esm/public/Action.js +0 -9
  81. package/build/esm/public/Action.js.map +1 -1
  82. package/build/esm/public/ActionTypeV2.d.ts +1 -6
  83. package/build/esm/public/ActionTypeV2.d.ts.map +1 -1
  84. package/build/esm/public/ActionTypeV2.js +0 -6
  85. package/build/esm/public/ActionTypeV2.js.map +1 -1
  86. package/build/esm/public/Attachment.d.ts +0 -9
  87. package/build/esm/public/Attachment.d.ts.map +1 -1
  88. package/build/esm/public/Attachment.js +0 -9
  89. package/build/esm/public/Attachment.js.map +1 -1
  90. package/build/esm/public/AttachmentPropertyV2.d.ts +8 -20
  91. package/build/esm/public/AttachmentPropertyV2.d.ts.map +1 -1
  92. package/build/esm/public/AttachmentPropertyV2.js +0 -12
  93. package/build/esm/public/AttachmentPropertyV2.js.map +1 -1
  94. package/build/esm/public/CipherTextProperty.d.ts +1 -4
  95. package/build/esm/public/CipherTextProperty.d.ts.map +1 -1
  96. package/build/esm/public/CipherTextProperty.js +1 -4
  97. package/build/esm/public/CipherTextProperty.js.map +1 -1
  98. package/build/esm/public/LinkedObjectV2.d.ts +2 -4
  99. package/build/esm/public/LinkedObjectV2.d.ts.map +1 -1
  100. package/build/esm/public/LinkedObjectV2.js +0 -4
  101. package/build/esm/public/LinkedObjectV2.js.map +1 -1
  102. package/build/esm/public/MediaReferenceProperty.d.ts +0 -8
  103. package/build/esm/public/MediaReferenceProperty.d.ts.map +1 -1
  104. package/build/esm/public/MediaReferenceProperty.js +0 -8
  105. package/build/esm/public/MediaReferenceProperty.js.map +1 -1
  106. package/build/esm/public/ObjectTypeV2.d.ts +3 -12
  107. package/build/esm/public/ObjectTypeV2.d.ts.map +1 -1
  108. package/build/esm/public/ObjectTypeV2.js +0 -12
  109. package/build/esm/public/ObjectTypeV2.js.map +1 -1
  110. package/build/esm/public/OntologyInterface.d.ts +34 -26
  111. package/build/esm/public/OntologyInterface.d.ts.map +1 -1
  112. package/build/esm/public/OntologyInterface.js +24 -26
  113. package/build/esm/public/OntologyInterface.js.map +1 -1
  114. package/build/esm/public/OntologyObjectSet.d.ts +4 -13
  115. package/build/esm/public/OntologyObjectSet.d.ts.map +1 -1
  116. package/build/esm/public/OntologyObjectSet.js +0 -13
  117. package/build/esm/public/OntologyObjectSet.js.map +1 -1
  118. package/build/esm/public/OntologyObjectV2.d.ts +13 -18
  119. package/build/esm/public/OntologyObjectV2.d.ts.map +1 -1
  120. package/build/esm/public/OntologyObjectV2.js +0 -10
  121. package/build/esm/public/OntologyObjectV2.js.map +1 -1
  122. package/build/esm/public/OntologyV2.d.ts +0 -4
  123. package/build/esm/public/OntologyV2.d.ts.map +1 -1
  124. package/build/esm/public/OntologyV2.js +0 -4
  125. package/build/esm/public/OntologyV2.js.map +1 -1
  126. package/build/esm/public/Query.d.ts +2 -5
  127. package/build/esm/public/Query.d.ts.map +1 -1
  128. package/build/esm/public/Query.js +0 -3
  129. package/build/esm/public/Query.js.map +1 -1
  130. package/build/esm/public/QueryType.d.ts +0 -4
  131. package/build/esm/public/QueryType.d.ts.map +1 -1
  132. package/build/esm/public/QueryType.js +0 -4
  133. package/build/esm/public/QueryType.js.map +1 -1
  134. package/build/esm/public/TimeSeriesPropertyV2.d.ts +0 -9
  135. package/build/esm/public/TimeSeriesPropertyV2.d.ts.map +1 -1
  136. package/build/esm/public/TimeSeriesPropertyV2.js +0 -9
  137. package/build/esm/public/TimeSeriesPropertyV2.js.map +1 -1
  138. package/build/esm/public/TimeSeriesValueBankProperty.d.ts +0 -6
  139. package/build/esm/public/TimeSeriesValueBankProperty.d.ts.map +1 -1
  140. package/build/esm/public/TimeSeriesValueBankProperty.js +0 -6
  141. package/build/esm/public/TimeSeriesValueBankProperty.js.map +1 -1
  142. package/package.json +5 -5
@@ -1 +1 @@
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, \"/v2/ontologies/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: /v2/ontologies/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, \"/v2/ontologies/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: /v2/ontologies/attachments/{attachmentRid}/content\n */\nexport function read($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _read, ...args);\n}\nconst _get = [0, \"/v2/ontologies/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: /v2/ontologies/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,mCAAmC,EAAE,CAAC,EAAE,KAAK,CAAC;AAClE;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,wCAAwC,IAAM,KAAK,CAAC;AACtE;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,gCAAgC,CAAC;AAClD;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":[]}
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, \"/v2/ontologies/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 * @public\n *\n * Required Scopes: [api:ontologies-write]\n * URL: /v2/ontologies/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, \"/v2/ontologies/attachments/{0}/content\", , , \"*/*\"];\n/**\n * Get the content of an attachment.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/attachments/{attachmentRid}/content\n */\nexport function read($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _read, ...args);\n}\nconst _get = [0, \"/v2/ontologies/attachments/{0}\"];\n/**\n * Get the metadata of an attachment.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/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,mCAAmC,EAAE,CAAC,EAAE,KAAK,CAAC;AAClE;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,wCAAwC,IAAM,KAAK,CAAC;AACtE;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,gCAAgC,CAAC;AAClD;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":[]}
@@ -4,9 +4,6 @@ import type * as _Ontologies from "../_components.js";
4
4
  /**
5
5
  * Get the metadata of attachments parented to the given object.
6
6
  *
7
- * Third-party applications using this endpoint via OAuth2 must request the
8
- * following operation scopes: `api:ontologies-read`.
9
- *
10
7
  * @public
11
8
  *
12
9
  * Required Scopes: [api:ontologies-read]
@@ -18,16 +15,13 @@ export declare function getAttachment($ctx: $Client | $ClientContext | $OldClien
18
15
  primaryKey: _Ontologies.PropertyValueEscapedString,
19
16
  property: _Ontologies.PropertyApiName,
20
17
  $queryParams?: {
21
- artifactRepository?: _Ontologies.ArtifactRepositoryRid | undefined;
22
- packageName?: _Ontologies.SdkPackageName | undefined;
18
+ sdkPackageRid?: _Ontologies.SdkPackageRid | undefined;
19
+ sdkVersion?: _Ontologies.SdkVersion | undefined;
23
20
  }
24
21
  ]): Promise<_Ontologies.AttachmentMetadataResponse>;
25
22
  /**
26
23
  * Get the metadata of a particular attachment in an attachment list.
27
24
  *
28
- * Third-party applications using this endpoint via OAuth2 must request the
29
- * following operation scopes: `api:ontologies-read`.
30
- *
31
25
  * @public
32
26
  *
33
27
  * Required Scopes: [api:ontologies-read]
@@ -40,16 +34,13 @@ export declare function getAttachmentByRid($ctx: $Client | $ClientContext | $Old
40
34
  property: _Ontologies.PropertyApiName,
41
35
  attachmentRid: _Ontologies.AttachmentRid,
42
36
  $queryParams?: {
43
- artifactRepository?: _Ontologies.ArtifactRepositoryRid | undefined;
44
- packageName?: _Ontologies.SdkPackageName | undefined;
37
+ sdkPackageRid?: _Ontologies.SdkPackageRid | undefined;
38
+ sdkVersion?: _Ontologies.SdkVersion | undefined;
45
39
  }
46
40
  ]): Promise<_Ontologies.AttachmentV2>;
47
41
  /**
48
42
  * Get the content of an attachment.
49
43
  *
50
- * Third-party applications using this endpoint via OAuth2 must request the
51
- * following operation scopes: `api:ontologies-read`.
52
- *
53
44
  * @public
54
45
  *
55
46
  * Required Scopes: [api:ontologies-read]
@@ -61,8 +52,8 @@ export declare function readAttachment($ctx: $Client | $ClientContext | $OldClie
61
52
  primaryKey: _Ontologies.PropertyValueEscapedString,
62
53
  property: _Ontologies.PropertyApiName,
63
54
  $queryParams?: {
64
- artifactRepository?: _Ontologies.ArtifactRepositoryRid | undefined;
65
- packageName?: _Ontologies.SdkPackageName | undefined;
55
+ sdkPackageRid?: _Ontologies.SdkPackageRid | undefined;
56
+ sdkVersion?: _Ontologies.SdkVersion | undefined;
66
57
  }
67
58
  ]): Promise<Response>;
68
59
  /**
@@ -70,9 +61,6 @@ export declare function readAttachment($ctx: $Client | $ClientContext | $OldClie
70
61
  *
71
62
  * The RID must exist in the attachment array of the property.
72
63
  *
73
- * Third-party applications using this endpoint via OAuth2 must request the
74
- * following operation scopes: `api:ontologies-read`.
75
- *
76
64
  * @public
77
65
  *
78
66
  * Required Scopes: [api:ontologies-read]
@@ -85,8 +73,8 @@ export declare function readAttachmentByRid($ctx: $Client | $ClientContext | $Ol
85
73
  property: _Ontologies.PropertyApiName,
86
74
  attachmentRid: _Ontologies.AttachmentRid,
87
75
  $queryParams?: {
88
- artifactRepository?: _Ontologies.ArtifactRepositoryRid | undefined;
89
- packageName?: _Ontologies.SdkPackageName | undefined;
76
+ sdkPackageRid?: _Ontologies.SdkPackageRid | undefined;
77
+ sdkVersion?: _Ontologies.SdkVersion | undefined;
90
78
  }
91
79
  ]): Promise<Response>;
92
80
  //# sourceMappingURL=AttachmentPropertyV2.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AttachmentPropertyV2.d.ts","sourceRoot":"","sources":["../../../src/public/AttachmentPropertyV2.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EACV,YAAY,IAAI,UAAU,EAC1B,mBAAmB,IAAI,iBAAiB,EACzC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,sBAAsB,CAAC;AAG9B,OAAO,KAAK,KAAK,WAAW,MAAM,mBAAmB,CAAC;AAiBtD;;;;;;;;;;GAUG;AACH,wBAAgB,aAAa,CAC3B,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,WAAW,CAAC,kBAAkB;IACxC,UAAU,EAAE,WAAW,CAAC,iBAAiB;IACzC,UAAU,EAAE,WAAW,CAAC,0BAA0B;IAClD,QAAQ,EAAE,WAAW,CAAC,eAAe;IAErC,YAAY,CAAC,EAAE;QACb,kBAAkB,CAAC,EAAE,WAAW,CAAC,qBAAqB,GAAG,SAAS,CAAC;QACnE,WAAW,CAAC,EAAE,WAAW,CAAC,cAAc,GAAG,SAAS,CAAC;KACtD;CACF,GACA,OAAO,CAAC,WAAW,CAAC,0BAA0B,CAAC,CAEjD;AAgBD;;;;;;;;;;GAUG;AACH,wBAAgB,kBAAkB,CAChC,IAAI,EAAE,OAAO,GAAG,cAA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EAAE,WAAW,CAAC,UAAU,GAAG,SAAS,CAAC;KACjD;CACF,GACA,OAAO,CAAC,QAAQ,CAAC,CAEnB"}
@@ -19,9 +19,6 @@ const _getAttachment = [0, "/v2/ontologies/{0}/objects/{1}/{2}/attachments/{3}",
19
19
  /**
20
20
  * Get the metadata of attachments parented to the given object.
21
21
  *
22
- * Third-party applications using this endpoint via OAuth2 must request the
23
- * following operation scopes: `api:ontologies-read`.
24
- *
25
22
  * @public
26
23
  *
27
24
  * Required Scopes: [api:ontologies-read]
@@ -34,9 +31,6 @@ const _getAttachmentByRid = [0, "/v2/ontologies/{0}/objects/{1}/{2}/attachments/
34
31
  /**
35
32
  * Get the metadata of a particular attachment in an attachment list.
36
33
  *
37
- * Third-party applications using this endpoint via OAuth2 must request the
38
- * following operation scopes: `api:ontologies-read`.
39
- *
40
34
  * @public
41
35
  *
42
36
  * Required Scopes: [api:ontologies-read]
@@ -49,9 +43,6 @@ const _readAttachment = [0, "/v2/ontologies/{0}/objects/{1}/{2}/attachments/{3}/
49
43
  /**
50
44
  * Get the content of an attachment.
51
45
  *
52
- * Third-party applications using this endpoint via OAuth2 must request the
53
- * following operation scopes: `api:ontologies-read`.
54
- *
55
46
  * @public
56
47
  *
57
48
  * Required Scopes: [api:ontologies-read]
@@ -66,9 +57,6 @@ const _readAttachmentByRid = [0, "/v2/ontologies/{0}/objects/{1}/{2}/attachments
66
57
  *
67
58
  * The RID must exist in the attachment array of the property.
68
59
  *
69
- * Third-party applications using this endpoint via OAuth2 must request the
70
- * following operation scopes: `api:ontologies-read`.
71
- *
72
60
  * @public
73
61
  *
74
62
  * Required Scopes: [api:ontologies-read]
@@ -1 +1 @@
1
- {"version":3,"file":"AttachmentPropertyV2.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_getAttachment","getAttachment","$ctx","args","_getAttachmentByRid","getAttachmentByRid","_readAttachment","readAttachment","_readAttachmentByRid","readAttachmentByRid"],"sources":["AttachmentPropertyV2.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 _getAttachment = [0, \"/v2/ontologies/{0}/objects/{1}/{2}/attachments/{3}\", 2];\n/**\n * Get the metadata of attachments parented to the given object.\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}/objects/{objectType}/{primaryKey}/attachments/{property}\n */\nexport function getAttachment($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getAttachment, ...args);\n}\nconst _getAttachmentByRid = [0, \"/v2/ontologies/{0}/objects/{1}/{2}/attachments/{3}/{4}\", 2];\n/**\n * Get the metadata of a particular attachment in an attachment list.\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}/objects/{objectType}/{primaryKey}/attachments/{property}/{attachmentRid}\n */\nexport function getAttachmentByRid($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getAttachmentByRid, ...args);\n}\nconst _readAttachment = [\n 0,\n \"/v2/ontologies/{0}/objects/{1}/{2}/attachments/{3}/content\",\n 2,\n ,\n \"*/*\",\n];\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: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/attachments/{property}/content\n */\nexport function readAttachment($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _readAttachment, ...args);\n}\nconst _readAttachmentByRid = [\n 0,\n \"/v2/ontologies/{0}/objects/{1}/{2}/attachments/{3}/{4}/content\",\n 2,\n ,\n \"*/*\",\n];\n/**\n * Get the content of an attachment by its RID.\n *\n * The RID must exist in the attachment array of the property.\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}/objects/{objectType}/{primaryKey}/attachments/{property}/{attachmentRid}/content\n */\nexport function readAttachmentByRid($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _readAttachmentByRid, ...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,cAAc,GAAG,CAAC,CAAC,EAAE,oDAAoD,EAAE,CAAC,CAAC;AACnF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,aAAaA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EACzC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,cAAc,EAAE,GAAGG,IAAI,CAAC;AAC/D;AACA,MAAMC,mBAAmB,GAAG,CAAC,CAAC,EAAE,wDAAwD,EAAE,CAAC,CAAC;AAC5F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,kBAAkBA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC9C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,mBAAmB,EAAE,GAAGD,IAAI,CAAC;AACpE;AACA,MAAMG,eAAe,GAAG,CACpB,CAAC,EACD,4DAA4D,EAC5D,CAAC,GAED,KAAK,CACR;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,cAAcA,CAACL,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC1C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEI,eAAe,EAAE,GAAGH,IAAI,CAAC;AAChE;AACA,MAAMK,oBAAoB,GAAG,CACzB,CAAC,EACD,gEAAgE,EAChE,CAAC,GAED,KAAK,CACR;AACD;AACA;AACA;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":"AttachmentPropertyV2.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_getAttachment","getAttachment","$ctx","args","_getAttachmentByRid","getAttachmentByRid","_readAttachment","readAttachment","_readAttachmentByRid","readAttachmentByRid"],"sources":["AttachmentPropertyV2.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 _getAttachment = [0, \"/v2/ontologies/{0}/objects/{1}/{2}/attachments/{3}\", 2];\n/**\n * Get the metadata of attachments parented to the given object.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/attachments/{property}\n */\nexport function getAttachment($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getAttachment, ...args);\n}\nconst _getAttachmentByRid = [0, \"/v2/ontologies/{0}/objects/{1}/{2}/attachments/{3}/{4}\", 2];\n/**\n * Get the metadata of a particular attachment in an attachment list.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/attachments/{property}/{attachmentRid}\n */\nexport function getAttachmentByRid($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getAttachmentByRid, ...args);\n}\nconst _readAttachment = [\n 0,\n \"/v2/ontologies/{0}/objects/{1}/{2}/attachments/{3}/content\",\n 2,\n ,\n \"*/*\",\n];\n/**\n * Get the content of an attachment.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/attachments/{property}/content\n */\nexport function readAttachment($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _readAttachment, ...args);\n}\nconst _readAttachmentByRid = [\n 0,\n \"/v2/ontologies/{0}/objects/{1}/{2}/attachments/{3}/{4}/content\",\n 2,\n ,\n \"*/*\",\n];\n/**\n * Get the content of an attachment by its RID.\n *\n * The RID must exist in the attachment array of the property.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/attachments/{property}/{attachmentRid}/content\n */\nexport function readAttachmentByRid($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _readAttachmentByRid, ...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,cAAc,GAAG,CAAC,CAAC,EAAE,oDAAoD,EAAE,CAAC,CAAC;AACnF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,aAAaA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EACzC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,cAAc,EAAE,GAAGG,IAAI,CAAC;AAC/D;AACA,MAAMC,mBAAmB,GAAG,CAAC,CAAC,EAAE,wDAAwD,EAAE,CAAC,CAAC;AAC5F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,kBAAkBA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC9C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,mBAAmB,EAAE,GAAGD,IAAI,CAAC;AACpE;AACA,MAAMG,eAAe,GAAG,CACpB,CAAC,EACD,4DAA4D,EAC5D,CAAC,GAED,KAAK,CACR;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,cAAcA,CAACL,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC1C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEI,eAAe,EAAE,GAAGH,IAAI,CAAC;AAChE;AACA,MAAMK,oBAAoB,GAAG,CACzB,CAAC,EACD,gEAAgE,EAChE,CAAC,GAED,KAAK,CACR;AACD;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":[]}
@@ -4,12 +4,9 @@ import type * as _Ontologies from "../_components.js";
4
4
  /**
5
5
  * Decrypt the value of a ciphertext property.
6
6
  *
7
- * Third-party applications using this endpoint via OAuth2 must request the
8
- * following operation scopes: `api:ontologies-read api:ontologies-decrypt-ciphertext`.
9
- *
10
7
  * @beta
11
8
  *
12
- * Required Scopes: [api:ontologies-read, api:ontologies-decrypt-ciphertext]
9
+ * Required Scopes: [api:ontologies-read]
13
10
  * URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/ciphertexts/{property}/decrypt
14
11
  */
15
12
  export declare function decrypt($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
@@ -1 +1 @@
1
- {"version":3,"file":"CipherTextProperty.d.ts","sourceRoot":"","sources":["../../../src/public/CipherTextProperty.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EACV,YAAY,IAAI,UAAU,EAC1B,mBAAmB,IAAI,iBAAiB,EACzC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,sBAAsB,CAAC;AAG9B,OAAO,KAAK,KAAK,WAAW,MAAM,mBAAmB,CAAC;AAatD;;;;;;;;;;GAUG;AACH,wBAAgB,OAAO,CACrB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,WAAW,CAAC,kBAAkB;IACxC,UAAU,EAAE,WAAW,CAAC,iBAAiB;IACzC,UAAU,EAAE,WAAW,CAAC,0BAA0B;IAClD,QAAQ,EAAE,WAAW,CAAC,eAAe;CACtC,GACA,OAAO,CAAC,WAAW,CAAC,gBAAgB,CAAC,CAEvC"}
1
+ {"version":3,"file":"CipherTextProperty.d.ts","sourceRoot":"","sources":["../../../src/public/CipherTextProperty.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EACV,YAAY,IAAI,UAAU,EAC1B,mBAAmB,IAAI,iBAAiB,EACzC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,sBAAsB,CAAC;AAG9B,OAAO,KAAK,KAAK,WAAW,MAAM,mBAAmB,CAAC;AAatD;;;;;;;GAOG;AACH,wBAAgB,OAAO,CACrB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,WAAW,CAAC,kBAAkB;IACxC,UAAU,EAAE,WAAW,CAAC,iBAAiB;IACzC,UAAU,EAAE,WAAW,CAAC,0BAA0B;IAClD,QAAQ,EAAE,WAAW,CAAC,eAAe;CACtC,GACA,OAAO,CAAC,WAAW,CAAC,gBAAgB,CAAC,CAEvC"}
@@ -19,12 +19,9 @@ const _decrypt = [0, "/v2/ontologies/{0}/objects/{1}/{2}/ciphertexts/{3}/decrypt
19
19
  /**
20
20
  * Decrypt the value of a ciphertext property.
21
21
  *
22
- * Third-party applications using this endpoint via OAuth2 must request the
23
- * following operation scopes: `api:ontologies-read api:ontologies-decrypt-ciphertext`.
24
- *
25
22
  * @beta
26
23
  *
27
- * Required Scopes: [api:ontologies-read, api:ontologies-decrypt-ciphertext]
24
+ * Required Scopes: [api:ontologies-read]
28
25
  * URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/ciphertexts/{property}/decrypt
29
26
  */
30
27
  export function decrypt($ctx, ...args) {
@@ -1 +1 @@
1
- {"version":3,"file":"CipherTextProperty.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_decrypt","decrypt","$ctx","args"],"sources":["CipherTextProperty.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 _decrypt = [0, \"/v2/ontologies/{0}/objects/{1}/{2}/ciphertexts/{3}/decrypt\"];\n/**\n * Decrypt the value of a ciphertext property.\n *\n * Third-party applications using this endpoint via OAuth2 must request the\n * following operation scopes: `api:ontologies-read api:ontologies-decrypt-ciphertext`.\n *\n * @beta\n *\n * Required Scopes: [api:ontologies-read, api:ontologies-decrypt-ciphertext]\n * URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/ciphertexts/{property}/decrypt\n */\nexport function decrypt($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _decrypt, ...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,4DAA4D,CAAC;AAClF;AACA;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":[]}
1
+ {"version":3,"file":"CipherTextProperty.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_decrypt","decrypt","$ctx","args"],"sources":["CipherTextProperty.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 _decrypt = [0, \"/v2/ontologies/{0}/objects/{1}/{2}/ciphertexts/{3}/decrypt\"];\n/**\n * Decrypt the value of a ciphertext property.\n *\n * @beta\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/ciphertexts/{property}/decrypt\n */\nexport function decrypt($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _decrypt, ...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,4DAA4D,CAAC;AAClF;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":[]}
@@ -17,8 +17,6 @@ import type * as _Ontologies from "../_components.js";
17
17
  *
18
18
  * Note that null value properties will not be returned.
19
19
  *
20
- * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
21
- *
22
20
  * @public
23
21
  *
24
22
  * Required Scopes: [api:ontologies-read]
@@ -38,6 +36,7 @@ export declare function listLinkedObjects($ctx: $Client | $ClientContext | $OldC
38
36
  sdkVersion?: _Ontologies.SdkVersion | undefined;
39
37
  excludeRid?: boolean | undefined;
40
38
  snapshot?: boolean | undefined;
39
+ branch?: _Core.FoundryBranch | undefined;
41
40
  }
42
41
  ]): Promise<_Ontologies.ListLinkedObjectsResponseV2>;
43
42
  /**
@@ -45,8 +44,6 @@ export declare function listLinkedObjects($ctx: $Client | $ClientContext | $OldC
45
44
  *
46
45
  * If there is no link between the two objects, `LinkedObjectNotFound` is thrown.
47
46
  *
48
- * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
49
- *
50
47
  * @public
51
48
  *
52
49
  * Required Scopes: [api:ontologies-read]
@@ -63,6 +60,7 @@ export declare function getLinkedObject($ctx: $Client | $ClientContext | $OldCli
63
60
  sdkPackageRid?: _Ontologies.SdkPackageRid | undefined;
64
61
  sdkVersion?: _Ontologies.SdkVersion | undefined;
65
62
  excludeRid?: boolean | undefined;
63
+ branch?: _Core.FoundryBranch | undefined;
66
64
  }
67
65
  ]): Promise<_Ontologies.OntologyObjectV2>;
68
66
  //# sourceMappingURL=LinkedObjectV2.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"LinkedObjectV2.d.ts","sourceRoot":"","sources":["../../../src/public/LinkedObjectV2.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,EACV,YAAY,IAAI,UAAU,EAC1B,mBAAmB,IAAI,iBAAiB,EACzC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,sBAAsB,CAAC;AAG9B,OAAO,KAAK,KAAK,WAAW,MAAM,mBAAmB,CAAC;AAuBtD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,iBAAiB,CAC/B,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,WAAW,CAAC,kBAAkB;IACxC,UAAU,EAAE,WAAW,CAAC,iBAAiB;IACzC,UAAU,EAAE,WAAW,CAAC,0BAA0B;IAClD,QAAQ,EAAE,WAAW,CAAC,eAAe;IAErC,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,WAAW,CAAC,uBAAuB,CAAC,CAAC;QACnD,OAAO,CAAC,EAAE,WAAW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AE,WAAW,CAAC,0BAA0B;IAClD,QAAQ,EAAE,WAAW,CAAC,eAAe;IACrC,sBAAsB,EAAE,WAAW,CAAC,0BAA0B;IAE9D,YAAY,EAAE;QACZ,MAAM,EAAE,KAAK,CAAC,WAAW,CAAC,uBAAuB,CAAC,CAAC;QACnD,aAAa,CAAC,EAAE,WAAW,CAAC,aAAa,GAAG,SAAS,CAAC;QACtD,UAAU,CAAC,EAAE,WAAW,CAAC,UAAU,GAAG,SAAS,CAAC;QAChD,UAAU,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;QACjC,MAAM,CAAC,EAAE,KAAK,CAAC,aAAa,GAAG,SAAS,CAAC;KAC1C;CACF,GACA,OAAO,CAAC,WAAW,CAAC,gBAAgB,CAAC,CAEvC"}
@@ -31,8 +31,6 @@ const _listLinkedObjects = [0, "/v2/ontologies/{0}/objects/{1}/{2}/links/{3}", 2
31
31
  *
32
32
  * Note that null value properties will not be returned.
33
33
  *
34
- * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
35
- *
36
34
  * @public
37
35
  *
38
36
  * Required Scopes: [api:ontologies-read]
@@ -47,8 +45,6 @@ const _getLinkedObject = [0, "/v2/ontologies/{0}/objects/{1}/{2}/links/{3}/{4}",
47
45
  *
48
46
  * If there is no link between the two objects, `LinkedObjectNotFound` is thrown.
49
47
  *
50
- * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
51
- *
52
48
  * @public
53
49
  *
54
50
  * Required Scopes: [api:ontologies-read]
@@ -1 +1 @@
1
- {"version":3,"file":"LinkedObjectV2.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_listLinkedObjects","listLinkedObjects","$ctx","args","_getLinkedObject","getLinkedObject"],"sources":["LinkedObjectV2.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 _listLinkedObjects = [0, \"/v2/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 * 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: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/links/{linkType}\n */\nexport function listLinkedObjects($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listLinkedObjects, ...args);\n}\nconst _getLinkedObject = [0, \"/v2/ontologies/{0}/objects/{1}/{2}/links/{3}/{4}\", 2];\n/**\n * Get a specific linked object that originates from another object.\n *\n * If there is no link between the two objects, `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: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/links/{linkType}/{linkedObjectPrimaryKey}\n */\nexport function getLinkedObject($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getLinkedObject, ...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,8CAA8C,EAAE,CAAC,CAAC;AACjF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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,kDAAkD,EAAE,CAAC,CAAC;AACnF;AACA;AACA;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","ignoreList":[]}
1
+ {"version":3,"file":"LinkedObjectV2.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_listLinkedObjects","listLinkedObjects","$ctx","args","_getLinkedObject","getLinkedObject"],"sources":["LinkedObjectV2.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 _listLinkedObjects = [0, \"/v2/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 * 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 * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/links/{linkType}\n */\nexport function listLinkedObjects($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listLinkedObjects, ...args);\n}\nconst _getLinkedObject = [0, \"/v2/ontologies/{0}/objects/{1}/{2}/links/{3}/{4}\", 2];\n/**\n * Get a specific linked object that originates from another object.\n *\n * If there is no link between the two objects, `LinkedObjectNotFound` is thrown.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/links/{linkType}/{linkedObjectPrimaryKey}\n */\nexport function getLinkedObject($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getLinkedObject, ...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,8CAA8C,EAAE,CAAC,CAAC;AACjF;AACA;AACA;AACA;AACA;AACA;AACA;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,kDAAkD,EAAE,CAAC,CAAC;AACnF;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","ignoreList":[]}
@@ -5,8 +5,6 @@ import type * as _Ontologies from "../_components.js";
5
5
  /**
6
6
  * Gets the content of a media item referenced by this property.
7
7
  *
8
- * Third-party applications using this endpoint via OAuth2 must request the following operation scopes: `api:ontologies-read`.
9
- *
10
8
  * @beta
11
9
  *
12
10
  * Required Scopes: [api:ontologies-read]
@@ -26,8 +24,6 @@ export declare function getMediaContent($ctx: $Client | $ClientContext | $OldCli
26
24
  /**
27
25
  * Gets metadata about the media item referenced by this property.
28
26
  *
29
- * Third-party applications using this endpoint via OAuth2 must request the following operation scopes: `api:ontologies-read`.
30
- *
31
27
  * @alpha
32
28
  *
33
29
  * Required Scopes: [api:ontologies-read]
@@ -48,8 +44,6 @@ export declare function getMediaMetadata($ctx: $Client | $ClientContext | $OldCl
48
44
  * Uploads a media item to the media set which backs the specified property. The property must be backed by a single media set and branch, otherwise an error will be thrown.
49
45
  * The body of the request must contain the binary content of the file and the `Content-Type` header must be `application/octet-stream`.
50
46
  *
51
- * Third-party applications using this endpoint via OAuth2 must request the following operation scopes: `api:ontologies-read api:ontologies-write`.
52
- *
53
47
  * @beta
54
48
  *
55
49
  * Required Scopes: [api:ontologies-read, api:ontologies-write]
@@ -70,8 +64,6 @@ export declare function upload($ctx: $Client | $ClientContext | $OldClient | $Ol
70
64
  *
71
65
  * The body of the request must contain the binary content of the file and the `Content-Type` header must be `application/octet-stream`.
72
66
  *
73
- * Third-party applications using this endpoint via OAuth2 must request the following operation scopes: `api:ontologies-read api:ontologies-write`.
74
- *
75
67
  * @alpha
76
68
  *
77
69
  * Required Scopes: [api:ontologies-read, api:ontologies-write]
@@ -1 +1 @@
1
- {"version":3,"file":"MediaReferenceProperty.d.ts","sourceRoot":"","sources":["../../../src/public/MediaReferenceProperty.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,EACV,YAAY,IAAI,UAAU,EAC1B,mBAAmB,IAAI,iBAAiB,EACzC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,sBAAsB,CAAC;AAG9B,OAAO,KAAK,KAAK,WAAW,MAAM,mBAAmB,CAAC;AAkBtD;;;;;;;;;GASG;AACH,wBAAgB,eAAe,CAC7B,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,WAAW,CAAC,kBAAkB;IACxC,UAAU,EAAE,WAAW,CAAC,iBAAiB;IACzC,UAAU,EAAE,WAAW,CAAC,0BAA0B;IAClD,QAAQ,EAAE,WAAW,CAAC,eAAe;IAErC,YAAY,CAAC,EAAE;QACb,aAAa,CAAC,EAAE,WAAW,CAAC,aAAa,GAAG,SAAS,CAAC;QACtD,UAAU,CAAC,EAAE,WAAW,CAAC,UAAU,GAAG,SAAS,CAAC;QAChD,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAC;KACzC;CACF,GACA,OAAO,CAAC,QAAQ,CAAC,CAEnB;AAgBD;;;;;;;;;GASG;AACH,wBAAgB,gBAAgB,CAC9B,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,WAAW,CAAC,k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ontologies/{0}/objects/{1}/{2}/media/{3}/conte
19
19
  /**
20
20
  * Gets the content of a media item referenced by this property.
21
21
  *
22
- * Third-party applications using this endpoint via OAuth2 must request the following operation scopes: `api:ontologies-read`.
23
- *
24
22
  * @beta
25
23
  *
26
24
  * Required Scopes: [api:ontologies-read]
@@ -33,8 +31,6 @@ const _getMediaMetadata = [0, "/v2/ontologies/{0}/objects/{1}/{2}/media/{3}/meta
33
31
  /**
34
32
  * Gets metadata about the media item referenced by this property.
35
33
  *
36
- * Third-party applications using this endpoint via OAuth2 must request the following operation scopes: `api:ontologies-read`.
37
- *
38
34
  * @alpha
39
35
  *
40
36
  * Required Scopes: [api:ontologies-read]
@@ -48,8 +44,6 @@ const _upload = [1, "/v2/ontologies/{0}/objectTypes/{1}/media/{2}/upload", 3, "*
48
44
  * Uploads a media item to the media set which backs the specified property. The property must be backed by a single media set and branch, otherwise an error will be thrown.
49
45
  * The body of the request must contain the binary content of the file and the `Content-Type` header must be `application/octet-stream`.
50
46
  *
51
- * Third-party applications using this endpoint via OAuth2 must request the following operation scopes: `api:ontologies-read api:ontologies-write`.
52
- *
53
47
  * @beta
54
48
  *
55
49
  * Required Scopes: [api:ontologies-read, api:ontologies-write]
@@ -64,8 +58,6 @@ const _uploadMedia = [1, "/v2/ontologies/{0}/actions/{1}/media/upload", 3, "*/*"
64
58
  *
65
59
  * The body of the request must contain the binary content of the file and the `Content-Type` header must be `application/octet-stream`.
66
60
  *
67
- * Third-party applications using this endpoint via OAuth2 must request the following operation scopes: `api:ontologies-read api:ontologies-write`.
68
- *
69
61
  * @alpha
70
62
  *
71
63
  * Required Scopes: [api:ontologies-read, api:ontologies-write]
@@ -1 +1 @@
1
- {"version":3,"file":"MediaReferenceProperty.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_getMediaContent","getMediaContent","$ctx","args","_getMediaMetadata","getMediaMetadata","_upload","upload","_uploadMedia","uploadMedia"],"sources":["MediaReferenceProperty.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _getMediaContent = [0, \"/v2/ontologies/{0}/objects/{1}/{2}/media/{3}/content\", 2, , \"*/*\"];\n/**\n * Gets the content of a media item referenced by this property.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scopes: `api:ontologies-read`.\n *\n * @beta\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/media/{property}/content\n */\nexport function getMediaContent($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getMediaContent, ...args);\n}\nconst _getMediaMetadata = [0, \"/v2/ontologies/{0}/objects/{1}/{2}/media/{3}/metadata\", 2];\n/**\n * Gets metadata about the media item referenced by this property.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scopes: `api:ontologies-read`.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/media/{property}/metadata\n */\nexport function getMediaMetadata($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getMediaMetadata, ...args);\n}\nconst _upload = [1, \"/v2/ontologies/{0}/objectTypes/{1}/media/{2}/upload\", 3, \"*/*\"];\n/**\n * Uploads a media item to the media set which backs the specified property. The property must be backed by a single media set and branch, otherwise an error will be thrown.\n * The body of the request must contain the binary content of the file and the `Content-Type` header must be `application/octet-stream`.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scopes: `api:ontologies-read api:ontologies-write`.\n *\n * @beta\n *\n * Required Scopes: [api:ontologies-read, api:ontologies-write]\n * URL: /v2/ontologies/{ontology}/objectTypes/{objectType}/media/{property}/upload\n */\nexport function upload($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _upload, ...args);\n}\nconst _uploadMedia = [1, \"/v2/ontologies/{0}/actions/{1}/media/upload\", 3, \"*/*\"];\n/**\n * Uploads a media item for use by the specified action. If the media item isn't persisted by the associated action within 1 hour, the item will be deleted.\n *\n * The body of the request must contain the binary content of the file and the `Content-Type` header must be `application/octet-stream`.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scopes: `api:ontologies-read api:ontologies-write`.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read, api:ontologies-write]\n * URL: /v2/ontologies/{ontology}/actions/{actionType}/media/upload\n */\nexport function uploadMedia($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _uploadMedia, ...args);\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,oBAAoB,IAAIC,qBAAqB,QAAQ,8BAA8B;AAC5F;AACA,MAAMC,gBAAgB,GAAG,CAAC,CAAC,EAAE,sDAAsD,EAAE,CAAC,GAAI,KAAK,CAAC;AAChG;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,eAAeA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC3C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,gBAAgB,EAAE,GAAGG,IAAI,CAAC;AACjE;AACA,MAAMC,iBAAiB,GAAG,CAAC,CAAC,EAAE,uDAAuD,EAAE,CAAC,CAAC;AACzF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,gBAAgBA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC5C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,iBAAiB,EAAE,GAAGD,IAAI,CAAC;AAClE;AACA,MAAMG,OAAO,GAAG,CAAC,CAAC,EAAE,qDAAqD,EAAE,CAAC,EAAE,KAAK,CAAC;AACpF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,MAAMA,CAACL,IAAI,EAAE,GAAGC,IAAI,EAAE;EAClC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEI,OAAO,EAAE,GAAGH,IAAI,CAAC;AACxD;AACA,MAAMK,YAAY,GAAG,CAAC,CAAC,EAAE,6CAA6C,EAAE,CAAC,EAAE,KAAK,CAAC;AACjF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,WAAWA,CAACP,IAAI,EAAE,GAAGC,IAAI,EAAE;EACvC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEM,YAAY,EAAE,GAAGL,IAAI,CAAC;AAC7D","ignoreList":[]}
1
+ {"version":3,"file":"MediaReferenceProperty.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_getMediaContent","getMediaContent","$ctx","args","_getMediaMetadata","getMediaMetadata","_upload","upload","_uploadMedia","uploadMedia"],"sources":["MediaReferenceProperty.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _getMediaContent = [0, \"/v2/ontologies/{0}/objects/{1}/{2}/media/{3}/content\", 2, , \"*/*\"];\n/**\n * Gets the content of a media item referenced by this property.\n *\n * @beta\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/media/{property}/content\n */\nexport function getMediaContent($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getMediaContent, ...args);\n}\nconst _getMediaMetadata = [0, \"/v2/ontologies/{0}/objects/{1}/{2}/media/{3}/metadata\", 2];\n/**\n * Gets metadata about the media item referenced by this property.\n *\n * @alpha\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/media/{property}/metadata\n */\nexport function getMediaMetadata($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getMediaMetadata, ...args);\n}\nconst _upload = [1, \"/v2/ontologies/{0}/objectTypes/{1}/media/{2}/upload\", 3, \"*/*\"];\n/**\n * Uploads a media item to the media set which backs the specified property. The property must be backed by a single media set and branch, otherwise an error will be thrown.\n * The body of the request must contain the binary content of the file and the `Content-Type` header must be `application/octet-stream`.\n *\n * @beta\n *\n * Required Scopes: [api:ontologies-read, api:ontologies-write]\n * URL: /v2/ontologies/{ontology}/objectTypes/{objectType}/media/{property}/upload\n */\nexport function upload($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _upload, ...args);\n}\nconst _uploadMedia = [1, \"/v2/ontologies/{0}/actions/{1}/media/upload\", 3, \"*/*\"];\n/**\n * Uploads a media item for use by the specified action. If the media item isn't persisted by the associated action within 1 hour, the item will be deleted.\n *\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 * @alpha\n *\n * Required Scopes: [api:ontologies-read, api:ontologies-write]\n * URL: /v2/ontologies/{ontology}/actions/{actionType}/media/upload\n */\nexport function uploadMedia($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _uploadMedia, ...args);\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,oBAAoB,IAAIC,qBAAqB,QAAQ,8BAA8B;AAC5F;AACA,MAAMC,gBAAgB,GAAG,CAAC,CAAC,EAAE,sDAAsD,EAAE,CAAC,GAAI,KAAK,CAAC;AAChG;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,eAAeA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC3C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,gBAAgB,EAAE,GAAGG,IAAI,CAAC;AACjE;AACA,MAAMC,iBAAiB,GAAG,CAAC,CAAC,EAAE,uDAAuD,EAAE,CAAC,CAAC;AACzF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,gBAAgBA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC5C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,iBAAiB,EAAE,GAAGD,IAAI,CAAC;AAClE;AACA,MAAMG,OAAO,GAAG,CAAC,CAAC,EAAE,qDAAqD,EAAE,CAAC,EAAE,KAAK,CAAC;AACpF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,MAAMA,CAACL,IAAI,EAAE,GAAGC,IAAI,EAAE;EAClC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEI,OAAO,EAAE,GAAGH,IAAI,CAAC;AACxD;AACA,MAAMK,YAAY,GAAG,CAAC,CAAC,EAAE,6CAA6C,EAAE,CAAC,EAAE,KAAK,CAAC;AACjF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,WAAWA,CAACP,IAAI,EAAE,GAAGC,IAAI,EAAE;EACvC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEM,YAAY,EAAE,GAAGL,IAAI,CAAC;AAC7D","ignoreList":[]}
@@ -9,8 +9,6 @@ import type * as _Ontologies from "../_components.js";
9
9
  * more results available, at least one result will be present in the
10
10
  * response.
11
11
  *
12
- * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
13
- *
14
12
  * @public
15
13
  *
16
14
  * Required Scopes: [api:ontologies-read]
@@ -19,6 +17,7 @@ import type * as _Ontologies from "../_components.js";
19
17
  export declare function list($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
20
18
  ontology: _Ontologies.OntologyIdentifier,
21
19
  $queryParams?: {
20
+ branch?: _Core.FoundryBranch | undefined;
22
21
  pageSize?: _Core.PageSize | undefined;
23
22
  pageToken?: _Core.PageToken | undefined;
24
23
  }
@@ -26,8 +25,6 @@ export declare function list($ctx: $Client | $ClientContext | $OldClient | $OldC
26
25
  /**
27
26
  * Gets a specific object type with the given API name.
28
27
  *
29
- * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
30
- *
31
28
  * @public
32
29
  *
33
30
  * Required Scopes: [api:ontologies-read]
@@ -43,8 +40,6 @@ export declare function get($ctx: $Client | $ClientContext | $OldClient | $OldCl
43
40
  /**
44
41
  * Gets the full metadata for a specific object type with the given API name.
45
42
  *
46
- * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
47
- *
48
43
  * @alpha
49
44
  *
50
45
  * Required Scopes: [api:ontologies-read]
@@ -55,15 +50,14 @@ export declare function getFullMetadata($ctx: $Client | $ClientContext | $OldCli
55
50
  objectType: _Ontologies.ObjectTypeApiName,
56
51
  $queryParams?: {
57
52
  preview?: _Core.PreviewMode | undefined;
53
+ sdkPackageRid?: _Ontologies.SdkPackageRid | undefined;
54
+ sdkVersion?: _Ontologies.SdkVersion | undefined;
58
55
  branch?: _Core.FoundryBranch | undefined;
59
56
  }
60
57
  ]): Promise<_Ontologies.ObjectTypeFullMetadata>;
61
58
  /**
62
59
  * List the outgoing links for an object type.
63
60
  *
64
- * Third-party applications using this endpoint via OAuth2 must request the
65
- * following operation scopes: `api:ontologies-read`.
66
- *
67
61
  * @public
68
62
  *
69
63
  * Required Scopes: [api:ontologies-read]
@@ -81,9 +75,6 @@ export declare function listOutgoingLinkTypes($ctx: $Client | $ClientContext | $
81
75
  /**
82
76
  * Get an outgoing link for an object type.
83
77
  *
84
- * Third-party applications using this endpoint via OAuth2 must request the
85
- * following operation scopes: `api:ontologies-read`.
86
- *
87
78
  * @public
88
79
  *
89
80
  * Required Scopes: [api:ontologies-read]
@@ -1 +1 @@
1
- {"version":3,"file":"ObjectTypeV2.d.ts","sourceRoot":"","sources":["../../../src/public/ObjectTypeV2.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,EACV,YAAY,IAAI,UAAU,EAC1B,mBAAmB,IAAI,iBAAiB,EACzC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,sBAAsB,CAAC;AAG9B,OAAO,KAAK,KAAK,WAAW,MAAM,mBAAmB,CAAC;AActD;;;;;;;;;;;;;GAaG;AACH,wBAAgB,IAAI,CAClB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,WAAW,CAAC,kBAAkB;IAExC,YAAY,CAAC,EAAE;QACb,QAAQ,CAAC,EAAE,KAAK,CAAC,QAAQ,GAAG,SAAS,CAAC;QACtC,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,SAAS,CAAC;KACzC;CACF,GACA,OAAO,CAAC,WAAW,CAAC,yBAAyB,CAAC,CAEhD;AAUD;;;;;;;;;GASG;AACH,wBAAgB,GAAG,CACjB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,WAAW,CAAC,kBAAkB;IACxC,UAAU,EAAE,WAAW,CAAC,iBAAiB;IAEzC,YAAY,CAAC,EAAE;QAAE,MAAM,CAAC,EAAE,KAAK,CAAC,aAAa,GAAG,SAAS,CAAA;KA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AU,EAAE,WAAW,CAAC,iBAAiB;IACzC,QAAQ,EAAE,WAAW,CAAC,eAAe;IAErC,YAAY,CAAC,EAAE;QAAE,MAAM,CAAC,EAAE,KAAK,CAAC,aAAa,GAAG,SAAS,CAAA;KAAE;CAC5D,GACA,OAAO,CAAC,WAAW,CAAC,cAAc,CAAC,CAErC"}
@@ -23,8 +23,6 @@ const _list = [0, "/v2/ontologies/{0}/objectTypes", 2];
23
23
  * more results available, at least one result will be present in the
24
24
  * response.
25
25
  *
26
- * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
27
- *
28
26
  * @public
29
27
  *
30
28
  * Required Scopes: [api:ontologies-read]
@@ -37,8 +35,6 @@ const _get = [0, "/v2/ontologies/{0}/objectTypes/{1}", 2];
37
35
  /**
38
36
  * Gets a specific object type with the given API name.
39
37
  *
40
- * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
41
- *
42
38
  * @public
43
39
  *
44
40
  * Required Scopes: [api:ontologies-read]
@@ -51,8 +47,6 @@ const _getFullMetadata = [0, "/v2/ontologies/{0}/objectTypes/{1}/fullMetadata",
51
47
  /**
52
48
  * Gets the full metadata for a specific object type with the given API name.
53
49
  *
54
- * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:ontologies-read`.
55
- *
56
50
  * @alpha
57
51
  *
58
52
  * Required Scopes: [api:ontologies-read]
@@ -65,9 +59,6 @@ const _listOutgoingLinkTypes = [0, "/v2/ontologies/{0}/objectTypes/{1}/outgoingL
65
59
  /**
66
60
  * List the outgoing links for an object type.
67
61
  *
68
- * Third-party applications using this endpoint via OAuth2 must request the
69
- * following operation scopes: `api:ontologies-read`.
70
- *
71
62
  * @public
72
63
  *
73
64
  * Required Scopes: [api:ontologies-read]
@@ -80,9 +71,6 @@ const _getOutgoingLinkType = [0, "/v2/ontologies/{0}/objectTypes/{1}/outgoingLin
80
71
  /**
81
72
  * Get an outgoing link for an object type.
82
73
  *
83
- * Third-party applications using this endpoint via OAuth2 must request the
84
- * following operation scopes: `api:ontologies-read`.
85
- *
86
74
  * @public
87
75
  *
88
76
  * Required Scopes: [api:ontologies-read]
@@ -1 +1 @@
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}\", 2];\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}\", 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, _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;A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CAAC;AACrE","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 * @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}\", 2];\n/**\n * Gets a specific object type with the given API name.\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 * @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 * @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}\", 2];\n/**\n * Get an outgoing link for an object type.\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, _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,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,OAAO,SAASC,GAAGA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC/B,OAAOJ,qBAAqB,CAACG,IAAI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