@osdk/internal.foundry.ontologies 0.2.0-beta.8 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (120) hide show
  1. package/CHANGELOG.md +59 -0
  2. package/build/browser/_components.d.ts +4 -0
  3. package/build/browser/_components.d.ts.map +1 -0
  4. package/build/browser/_components.js +17 -0
  5. package/build/browser/_components.js.map +1 -0
  6. package/build/browser/_errors.d.ts +4 -0
  7. package/build/browser/_errors.d.ts.map +1 -0
  8. package/build/browser/_errors.js +17 -0
  9. package/build/browser/_errors.js.map +1 -0
  10. package/build/browser/index.d.ts +11 -0
  11. package/build/browser/index.d.ts.map +1 -0
  12. package/build/browser/index.js +23 -10
  13. package/build/browser/index.js.map +1 -1
  14. package/build/browser/public/Action.d.ts +105 -0
  15. package/build/browser/public/Action.d.ts.map +1 -0
  16. package/build/browser/public/Action.js +108 -3
  17. package/build/browser/public/Action.js.map +1 -1
  18. package/build/browser/public/ActionType.d.ts +37 -0
  19. package/build/browser/public/ActionType.d.ts.map +1 -0
  20. package/build/browser/public/ActionType.js +48 -3
  21. package/build/browser/public/ActionType.js.map +1 -1
  22. package/build/browser/public/Attachment.d.ts +51 -0
  23. package/build/browser/public/Attachment.d.ts.map +1 -0
  24. package/build/browser/public/Attachment.js +71 -3
  25. package/build/browser/public/Attachment.js.map +1 -1
  26. package/build/browser/public/ObjectType.d.ts +70 -0
  27. package/build/browser/public/ObjectType.d.ts.map +1 -0
  28. package/build/browser/public/ObjectType.js +79 -3
  29. package/build/browser/public/ObjectType.js.map +1 -1
  30. package/build/browser/public/Ontology.d.ts +25 -0
  31. package/build/browser/public/Ontology.d.ts.map +1 -0
  32. package/build/browser/public/Ontology.js +45 -3
  33. package/build/browser/public/Ontology.js.map +1 -1
  34. package/build/browser/public/OntologyObject.d.ts +162 -0
  35. package/build/browser/public/OntologyObject.d.ts.map +1 -0
  36. package/build/browser/public/OntologyObject.js +150 -3
  37. package/build/browser/public/OntologyObject.js.map +1 -1
  38. package/build/browser/public/Query.d.ts +18 -0
  39. package/build/browser/public/Query.d.ts.map +1 -0
  40. package/build/browser/public/Query.js +31 -3
  41. package/build/browser/public/Query.js.map +1 -1
  42. package/build/browser/public/QueryType.d.ts +34 -0
  43. package/build/browser/public/QueryType.d.ts.map +1 -0
  44. package/build/browser/public/QueryType.js +48 -3
  45. package/build/browser/public/QueryType.js.map +1 -1
  46. package/build/esm/_components.js +17 -0
  47. package/build/esm/_components.js.map +1 -0
  48. package/build/esm/_errors.js +17 -0
  49. package/build/esm/_errors.js.map +1 -0
  50. package/build/esm/index.js +23 -10
  51. package/build/esm/index.js.map +1 -1
  52. package/build/esm/public/Action.d.ts +27 -27
  53. package/build/esm/public/Action.d.ts.map +1 -1
  54. package/build/esm/public/Action.js +108 -3
  55. package/build/esm/public/Action.js.map +1 -1
  56. package/build/esm/public/ActionType.d.ts +10 -7
  57. package/build/esm/public/ActionType.d.ts.map +1 -1
  58. package/build/esm/public/ActionType.js +48 -3
  59. package/build/esm/public/ActionType.js.map +1 -1
  60. package/build/esm/public/Attachment.d.ts +7 -7
  61. package/build/esm/public/Attachment.d.ts.map +1 -1
  62. package/build/esm/public/Attachment.js +71 -3
  63. package/build/esm/public/Attachment.js.map +1 -1
  64. package/build/esm/public/ObjectType.d.ts +16 -16
  65. package/build/esm/public/ObjectType.d.ts.map +1 -1
  66. package/build/esm/public/ObjectType.js +79 -3
  67. package/build/esm/public/ObjectType.js.map +1 -1
  68. package/build/esm/public/Ontology.d.ts +3 -3
  69. package/build/esm/public/Ontology.d.ts.map +1 -1
  70. package/build/esm/public/Ontology.js +45 -3
  71. package/build/esm/public/Ontology.js.map +1 -1
  72. package/build/esm/public/OntologyObject.d.ts +41 -41
  73. package/build/esm/public/OntologyObject.d.ts.map +1 -1
  74. package/build/esm/public/OntologyObject.js +150 -3
  75. package/build/esm/public/OntologyObject.js.map +1 -1
  76. package/build/esm/public/Query.d.ts +6 -6
  77. package/build/esm/public/Query.d.ts.map +1 -1
  78. package/build/esm/public/Query.js +31 -3
  79. package/build/esm/public/Query.js.map +1 -1
  80. package/build/esm/public/QueryType.d.ts +7 -7
  81. package/build/esm/public/QueryType.d.ts.map +1 -1
  82. package/build/esm/public/QueryType.js +48 -3
  83. package/build/esm/public/QueryType.js.map +1 -1
  84. package/package.json +6 -7
  85. package/build/browser/chunk-5RUWELWF.js +0 -21
  86. package/build/browser/chunk-5RUWELWF.js.map +0 -1
  87. package/build/browser/chunk-ABHCL2BI.js +0 -21
  88. package/build/browser/chunk-ABHCL2BI.js.map +0 -1
  89. package/build/browser/chunk-ATSSLGFA.js +0 -31
  90. package/build/browser/chunk-ATSSLGFA.js.map +0 -1
  91. package/build/browser/chunk-MONAXU3N.js +0 -36
  92. package/build/browser/chunk-MONAXU3N.js.map +0 -1
  93. package/build/browser/chunk-PZ5AY32C.js +0 -9
  94. package/build/browser/chunk-PZ5AY32C.js.map +0 -1
  95. package/build/browser/chunk-SALCOSHR.js +0 -16
  96. package/build/browser/chunk-SALCOSHR.js.map +0 -1
  97. package/build/browser/chunk-UM4N5F6D.js +0 -21
  98. package/build/browser/chunk-UM4N5F6D.js.map +0 -1
  99. package/build/browser/chunk-VBZZKGHE.js +0 -41
  100. package/build/browser/chunk-VBZZKGHE.js.map +0 -1
  101. package/build/browser/chunk-YCOLCQXU.js +0 -31
  102. package/build/browser/chunk-YCOLCQXU.js.map +0 -1
  103. package/build/esm/chunk-5RUWELWF.js +0 -21
  104. package/build/esm/chunk-5RUWELWF.js.map +0 -1
  105. package/build/esm/chunk-ABHCL2BI.js +0 -21
  106. package/build/esm/chunk-ABHCL2BI.js.map +0 -1
  107. package/build/esm/chunk-ATSSLGFA.js +0 -31
  108. package/build/esm/chunk-ATSSLGFA.js.map +0 -1
  109. package/build/esm/chunk-MONAXU3N.js +0 -36
  110. package/build/esm/chunk-MONAXU3N.js.map +0 -1
  111. package/build/esm/chunk-PZ5AY32C.js +0 -9
  112. package/build/esm/chunk-PZ5AY32C.js.map +0 -1
  113. package/build/esm/chunk-SALCOSHR.js +0 -16
  114. package/build/esm/chunk-SALCOSHR.js.map +0 -1
  115. package/build/esm/chunk-UM4N5F6D.js +0 -21
  116. package/build/esm/chunk-UM4N5F6D.js.map +0 -1
  117. package/build/esm/chunk-VBZZKGHE.js +0 -41
  118. package/build/esm/chunk-VBZZKGHE.js.map +0 -1
  119. package/build/esm/chunk-YCOLCQXU.js +0 -31
  120. package/build/esm/chunk-YCOLCQXU.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/public/Attachment.ts"],"names":["$foundryPlatformFetch"],"mappings":";;;;AAAA,IAAA,kBAAA,GAAA,GAAA;AAAA,QAAA,CAAA,kBAAA,EAAA;AAAA,EAAA,aAAA,EAAA,MAAA,aAAA;AAAA,EAAA,oBAAA,EAAA,MAAA,oBAAA;AAAA,EAAA,gBAAA,EAAA,MAAA,gBAAA;AAAA,CAAA,CAAA,CAAA;AAoBA,IAAM,iBAAoB,GAAA,CAAC,CAAG,EAAA,wBAAA,EAA0B,GAAG,KAAK,CAAA,CAAA;AAiBzD,SAAS,gBAAA,CAAiB,SAAS,IAAM,EAAA;AAC9C,EAAA,MAAM,YAAe,GAAA;AAAA,IACnB,GAAG,KAAK,CAAC,CAAA;AAAA,IACT,cAAA,EAAgB,KAAK,CAAC,CAAA,GAAI,cAAc,CAAK,IAAA,IAAA,CAAK,CAAC,CAAE,CAAA,IAAA;AAAA,IACrD,gBAAkB,EAAA,IAAA,CAAK,CAAC,CAAA,CAAE,KAAK,QAAS,EAAA;AAAA,GAC1C,CAAA;AACA,EAAO,OAAAA,oBAAA,CAAsB,MAAM,iBAAmB,EAAA,IAAA,CAAK,CAAC,CAAG,EAAA,IAAA,CAAK,CAAC,CAAA,EAAG,YAAY,CAAA,CAAA;AACtF,CAAA;AACA,IAAM,wBAAwB,CAAC,CAAA,EAAG,6BAA8B,MAAG,KAAK,CAAA,CAAA;AAajE,SAAS,oBAAA,CAAqB,SAAS,IAAM,EAAA;AAClD,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,qBAAuB,EAAA,GAAG,IAAI,CAAA,CAAA;AACnE,CAAA;AACA,IAAM,cAAA,GAAiB,CAAC,CAAA,EAAG,qBAAqB,CAAA,CAAA;AAazC,SAAS,aAAA,CAAc,SAAS,IAAM,EAAA;AAC3C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,cAAgB,EAAA,GAAG,IAAI,CAAA,CAAA;AAC5D","file":"chunk-YCOLCQXU.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 */\n\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n\n//\n\nconst _uploadAttachment = [1, \"/v1/attachments/upload\", 7, \"*/*\"];\n\n/**\n * Upload an attachment to use in an action. Any attachment which has not been linked to an object via\n * an action within one hour after upload will be removed.\n * Previously mapped attachments which are not connected to any object anymore are also removed on\n * a biweekly basis.\n * The body of the request must contain the binary content of the file and the `Content-Type` header must be `application/octet-stream`.\n *\n * Third-party applications using this endpoint via OAuth2 must request the\n * following operation scopes: `api:ontologies-write`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-write]\n * URL: /v1/attachments/upload\n */\nexport function uploadAttachment($ctx, ...args) {\n const headerParams = {\n ...args[2],\n \"Content-Type\": args[2]?.[\"Content-Type\"] ?? args[0].type,\n \"Content-Length\": args[0].size.toString()\n };\n return $foundryPlatformFetch($ctx, _uploadAttachment, args[0], args[1], headerParams);\n}\nconst _getAttachmentContent = [0, \"/v1/attachments/{0}/content\",,, \"*/*\"];\n\n/**\n * Get the content of an attachment.\n *\n * Third-party applications using this endpoint via OAuth2 must request the\n * following operation scopes: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v1/attachments/{attachmentRid}/content\n */\nexport function getAttachmentContent($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getAttachmentContent, ...args);\n}\nconst _getAttachment = [0, \"/v1/attachments/{0}\"];\n\n/**\n * Get the metadata of an attachment.\n *\n * Third-party applications using this endpoint via OAuth2 must request the\n * following operation scopes: `api:ontologies-read`.\n *\n * @public\n *\n * Required Scopes: [api:ontologies-read]\n * URL: /v1/attachments/{attachmentRid}\n */\nexport function getAttachment($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getAttachment, ...args);\n}"]}