@opra/client 0.7.0 → 0.8.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 (229) hide show
  1. package/README.md +1 -1
  2. package/cjs/714.min.cjs +1 -0
  3. package/cjs/antlr4ts.min.cjs +2 -0
  4. package/cjs/antlr4ts.min.cjs.LICENSE.txt +4 -0
  5. package/cjs/main.min.cjs +1 -0
  6. package/cjs/opra-common.min.cjs +1 -0
  7. package/cjs/vendors.min.cjs +2 -0
  8. package/cjs/vendors.min.cjs.LICENSE.txt +52 -0
  9. package/esm/714.min.mjs +1 -0
  10. package/esm/antlr4ts.min.mjs +2 -0
  11. package/esm/antlr4ts.min.mjs.LICENSE.txt +4 -0
  12. package/esm/main.min.mjs +1 -0
  13. package/esm/opra-common.min.mjs +1 -0
  14. package/esm/vendors.min.mjs +2 -0
  15. package/esm/vendors.min.mjs.LICENSE.txt +52 -0
  16. package/package.json +22 -50
  17. package/{esm → typings}/client-error.d.ts +1 -1
  18. package/typings/common/constants.d.ts +0 -0
  19. package/typings/common/exception/enums/issue-severity.enum.d.ts +13 -0
  20. package/typings/common/exception/error-issue.d.ts +9 -0
  21. package/typings/common/exception/http-errors/bad-request.error.d.ts +10 -0
  22. package/typings/common/exception/http-errors/failed-dependency.error.d.ts +9 -0
  23. package/typings/common/exception/http-errors/forbidden.error.d.ts +11 -0
  24. package/typings/common/exception/http-errors/internal-server.error.d.ts +9 -0
  25. package/typings/common/exception/http-errors/method-not-allowed.error.d.ts +10 -0
  26. package/typings/common/exception/http-errors/not-acceptable.error.d.ts +10 -0
  27. package/typings/common/exception/http-errors/not-found.error.d.ts +13 -0
  28. package/typings/common/exception/http-errors/unauthorized.error.d.ts +10 -0
  29. package/typings/common/exception/http-errors/unprocessable-entity.error.d.ts +9 -0
  30. package/typings/common/exception/index.d.ts +15 -0
  31. package/typings/common/exception/opra-exception.d.ts +15 -0
  32. package/typings/common/exception/resource-errors/resource-conflict.error.d.ts +5 -0
  33. package/typings/common/exception/resource-errors/resource-not-found.error.d.ts +4 -0
  34. package/typings/common/exception/wrap-exception.d.ts +2 -0
  35. package/typings/common/filter/antlr/OpraFilterLexer.d.ts +78 -0
  36. package/typings/common/filter/antlr/OpraFilterParser.d.ts +365 -0
  37. package/typings/common/filter/antlr/OpraFilterVisitor.d.ts +290 -0
  38. package/typings/common/filter/ast/abstract/ast.d.ts +5 -0
  39. package/typings/common/filter/ast/abstract/expression.d.ts +3 -0
  40. package/typings/common/filter/ast/abstract/literal.d.ts +6 -0
  41. package/typings/common/filter/ast/abstract/term.d.ts +3 -0
  42. package/typings/common/filter/ast/expressions/arithmetic-expression.d.ts +13 -0
  43. package/typings/common/filter/ast/expressions/array-expression.d.ts +7 -0
  44. package/typings/common/filter/ast/expressions/comparison-expression.d.ts +10 -0
  45. package/typings/common/filter/ast/expressions/logical-expression.d.ts +8 -0
  46. package/typings/common/filter/ast/expressions/parentheses-expression.d.ts +6 -0
  47. package/typings/common/filter/ast/index.d.ts +16 -0
  48. package/typings/common/filter/ast/terms/boolean-literal.d.ts +5 -0
  49. package/typings/common/filter/ast/terms/date-literal.d.ts +6 -0
  50. package/typings/common/filter/ast/terms/external-constant.d.ts +5 -0
  51. package/typings/common/filter/ast/terms/null-literal.d.ts +5 -0
  52. package/typings/common/filter/ast/terms/number-literal.d.ts +6 -0
  53. package/typings/common/filter/ast/terms/qualified-identifier.d.ts +4 -0
  54. package/typings/common/filter/ast/terms/string-literal.d.ts +5 -0
  55. package/typings/common/filter/ast/terms/time-literal.d.ts +6 -0
  56. package/typings/common/filter/build.d.ts +31 -0
  57. package/typings/common/filter/error-listener.d.ts +8 -0
  58. package/typings/common/filter/errors.d.ts +20 -0
  59. package/typings/common/filter/filter-tree-visitor.d.ts +30 -0
  60. package/typings/common/filter/index.d.ts +5 -0
  61. package/typings/common/filter/parse.d.ts +2 -0
  62. package/typings/common/filter/utils.d.ts +2 -0
  63. package/typings/common/helpers/index.d.ts +1 -0
  64. package/typings/common/helpers/responsive-map.d.ts +18 -0
  65. package/typings/common/http/enums/http-headers.enum.d.ts +379 -0
  66. package/typings/common/http/enums/http-status.enum.d.ts +290 -0
  67. package/typings/common/http/http-request.d.ts +34 -0
  68. package/typings/common/http/index.d.ts +6 -0
  69. package/typings/common/http/interfaces/client-http-headers.interface.d.ts +65 -0
  70. package/typings/common/http/interfaces/server-http-headers.interface.d.ts +1 -0
  71. package/typings/common/http/multipart/batch-multipart.d.ts +31 -0
  72. package/typings/common/http/multipart/http-request-content.d.ts +8 -0
  73. package/typings/common/http/multipart/http-response-content.d.ts +7 -0
  74. package/typings/common/http/multipart/index.d.ts +1 -0
  75. package/typings/common/http/utils/normalize-headers.d.ts +1 -0
  76. package/typings/common/i18n/i18n.d.ts +28 -0
  77. package/typings/common/i18n/index.d.ts +5 -0
  78. package/typings/common/i18n/string-utils.d.ts +2 -0
  79. package/typings/common/i18n/translate.d.ts +4 -0
  80. package/typings/common/index.d.ts +10 -0
  81. package/typings/common/schema/constants.d.ts +8 -0
  82. package/typings/common/schema/decorators/opr-collection-resource.decorator.d.ts +8 -0
  83. package/typings/common/schema/decorators/opr-complex-type.decorator.d.ts +6 -0
  84. package/typings/common/schema/decorators/opr-field.decorator.d.ts +3 -0
  85. package/typings/common/schema/decorators/opr-resolver.decorator.d.ts +8 -0
  86. package/typings/common/schema/decorators/opr-simple-type.decorator.d.ts +6 -0
  87. package/typings/common/schema/decorators/opr-singleton-resource.decorator.d.ts +8 -0
  88. package/typings/common/schema/implementation/data-type/builtin/any.type.d.ts +2 -0
  89. package/typings/common/schema/implementation/data-type/builtin/base64-binary.type.d.ts +2 -0
  90. package/typings/common/schema/implementation/data-type/builtin/bigint.type.d.ts +2 -0
  91. package/typings/common/schema/implementation/data-type/builtin/boolean.type.d.ts +2 -0
  92. package/typings/common/schema/implementation/data-type/builtin/date-string.type.d.ts +2 -0
  93. package/typings/common/schema/implementation/data-type/builtin/date.type.d.ts +2 -0
  94. package/typings/common/schema/implementation/data-type/builtin/guid.type.d.ts +2 -0
  95. package/typings/common/schema/implementation/data-type/builtin/integer.type.d.ts +2 -0
  96. package/typings/common/schema/implementation/data-type/builtin/number.type.d.ts +2 -0
  97. package/typings/common/schema/implementation/data-type/builtin/object.type.d.ts +2 -0
  98. package/typings/common/schema/implementation/data-type/builtin/string.type.d.ts +2 -0
  99. package/typings/common/schema/implementation/data-type/builtin-data-types.d.ts +4 -0
  100. package/typings/common/schema/implementation/data-type/complex-type.d.ts +29 -0
  101. package/typings/common/schema/implementation/data-type/data-type.d.ts +16 -0
  102. package/typings/common/schema/implementation/data-type/simple-type.d.ts +12 -0
  103. package/typings/common/schema/implementation/data-type/union-type.d.ts +16 -0
  104. package/typings/common/schema/implementation/document-builder.d.ts +16 -0
  105. package/typings/common/schema/implementation/opra-document.d.ts +44 -0
  106. package/typings/common/schema/implementation/query/collection-count-query.d.ts +14 -0
  107. package/typings/common/schema/implementation/query/collection-create-query.d.ts +18 -0
  108. package/typings/common/schema/implementation/query/collection-delete-many-query.d.ts +14 -0
  109. package/typings/common/schema/implementation/query/collection-delete-query.d.ts +10 -0
  110. package/typings/common/schema/implementation/query/collection-get-query.d.ts +21 -0
  111. package/typings/common/schema/implementation/query/collection-search-query.d.ts +30 -0
  112. package/typings/common/schema/implementation/query/collection-update-many-query.d.ts +15 -0
  113. package/typings/common/schema/implementation/query/collection-update-query.d.ts +19 -0
  114. package/typings/common/schema/implementation/query/field-get-query.d.ts +30 -0
  115. package/typings/common/schema/implementation/query/index.d.ts +27 -0
  116. package/typings/common/schema/implementation/query/singleton-get-query.d.ts +20 -0
  117. package/typings/common/schema/implementation/resource/collection-resource-info.d.ts +19 -0
  118. package/typings/common/schema/implementation/resource/container-resource-info.d.ts +13 -0
  119. package/typings/common/schema/implementation/resource/resource-info.d.ts +17 -0
  120. package/typings/common/schema/implementation/resource/singleton-resource-info.d.ts +14 -0
  121. package/typings/common/schema/implementation/schema-builder/extract-resource-metadata.util.d.ts +3 -0
  122. package/typings/common/schema/implementation/schema-builder/extract-type-metadata.util.d.ts +4 -0
  123. package/typings/common/schema/index.d.ts +25 -0
  124. package/typings/common/schema/interfaces/child-field-query.interface.d.ts +4 -0
  125. package/typings/common/schema/interfaces/data-type.metadata.d.ts +18 -0
  126. package/typings/common/schema/interfaces/resource-container.interface.d.ts +8 -0
  127. package/typings/common/schema/interfaces/resource.metadata.d.ts +18 -0
  128. package/typings/common/schema/opra-schema.definition.d.ts +178 -0
  129. package/typings/common/schema/type-helpers/extend-type.helper.d.ts +3 -0
  130. package/typings/common/schema/type-helpers/mixin-type.helper.d.ts +2 -0
  131. package/typings/common/schema/type-helpers/mixin.utils.d.ts +3 -0
  132. package/typings/common/schema/types.d.ts +14 -0
  133. package/typings/common/schema/utils/class.utils.d.ts +2 -0
  134. package/typings/common/schema/utils/clone-object.util.d.ts +1 -0
  135. package/typings/common/schema/utils/inspect.util.d.ts +4 -0
  136. package/typings/common/schema/utils/normalize-field-array.util.d.ts +3 -0
  137. package/typings/common/schema/utils/path-to-tree.util.d.ts +4 -0
  138. package/typings/common/schema/utils/string-compare.util.d.ts +1 -0
  139. package/typings/common/url/formats/boolean-format.d.ts +5 -0
  140. package/typings/common/url/formats/date-format.d.ts +16 -0
  141. package/typings/common/url/formats/filter-format.d.ts +6 -0
  142. package/typings/common/url/formats/format.d.ts +4 -0
  143. package/typings/common/url/formats/integer-format.d.ts +9 -0
  144. package/typings/common/url/formats/number-format.d.ts +12 -0
  145. package/typings/common/url/formats/string-format.d.ts +14 -0
  146. package/typings/common/url/index.d.ts +5 -0
  147. package/typings/common/url/opra-url-path-component.d.ts +15 -0
  148. package/typings/common/url/opra-url-path.d.ts +30 -0
  149. package/typings/common/url/opra-url-search-params.d.ts +44 -0
  150. package/typings/common/url/opra-url.d.ts +79 -0
  151. package/typings/common/url/utils/path-utils.d.ts +8 -0
  152. package/typings/common/utils/index.d.ts +3 -0
  153. package/typings/common/utils/is-url.d.ts +1 -0
  154. package/typings/common/utils/path-to-tree.d.ts +4 -0
  155. package/typings/common/utils/type-guards.d.ts +9 -0
  156. package/{esm → typings}/constants.d.ts +0 -0
  157. package/{esm → typings}/http/http-client.d.ts +1 -1
  158. package/{esm → typings}/http/http-collection-service.d.ts +1 -1
  159. package/{esm → typings}/http/http-request.d.ts +1 -1
  160. package/{esm → typings}/http/http-response.d.ts +0 -0
  161. package/{esm → typings}/http/http-singleton-service.d.ts +1 -1
  162. package/{esm → typings}/http/http-types.d.ts +1 -1
  163. package/{esm → typings}/http/requests/batch-request.d.ts +1 -1
  164. package/{esm → typings}/http/requests/collection-create-request.d.ts +1 -1
  165. package/{esm → typings}/http/requests/collection-delete-many-request.d.ts +1 -1
  166. package/{esm → typings}/http/requests/collection-delete-request.d.ts +1 -1
  167. package/{esm → typings}/http/requests/collection-get-request.d.ts +1 -1
  168. package/{esm → typings}/http/requests/collection-search-request.d.ts +1 -1
  169. package/{esm → typings}/http/requests/collection-update-many-request.d.ts +1 -1
  170. package/{esm → typings}/http/requests/collection-update-request.d.ts +1 -1
  171. package/{esm → typings}/http/requests/http-singleton-get-request.d.ts +1 -1
  172. package/{esm → typings}/http/utils/merge-raw-http-requests.util.d.ts +0 -0
  173. package/{esm → typings}/index.d.ts +0 -1
  174. package/{esm → typings}/interfaces/http-options.interface.d.ts +1 -4
  175. package/{esm → typings}/interfaces/http-request-config.interface.d.ts +1 -1
  176. package/umd/714.min.cjs +1 -0
  177. package/umd/antlr4ts.min.cjs +2 -0
  178. package/umd/antlr4ts.min.cjs.LICENSE.txt +4 -0
  179. package/umd/main.min.cjs +1 -0
  180. package/umd/opra-common.min.cjs +1 -0
  181. package/umd/vendors.min.cjs +2 -0
  182. package/umd/vendors.min.cjs.LICENSE.txt +52 -0
  183. package/cjs/client-error.js +0 -20
  184. package/cjs/constants.js +0 -6
  185. package/cjs/http/http-client.js +0 -164
  186. package/cjs/http/http-collection-service.js +0 -40
  187. package/cjs/http/http-request.js +0 -66
  188. package/cjs/http/http-response.js +0 -2
  189. package/cjs/http/http-singleton-service.js +0 -16
  190. package/cjs/http/http-types.js +0 -2
  191. package/cjs/http/requests/batch-request.js +0 -80
  192. package/cjs/http/requests/collection-create-request.js +0 -35
  193. package/cjs/http/requests/collection-delete-many-request.js +0 -28
  194. package/cjs/http/requests/collection-delete-request.js +0 -29
  195. package/cjs/http/requests/collection-get-request.js +0 -37
  196. package/cjs/http/requests/collection-search-request.js +0 -44
  197. package/cjs/http/requests/collection-update-many-request.js +0 -31
  198. package/cjs/http/requests/collection-update-request.js +0 -40
  199. package/cjs/http/requests/http-singleton-get-request.js +0 -31
  200. package/cjs/http/utils/merge-raw-http-requests.util.js +0 -29
  201. package/cjs/index.js +0 -20
  202. package/cjs/interfaces/http-options.interface.js +0 -2
  203. package/cjs/interfaces/http-request-config.interface.js +0 -2
  204. package/cjs/package.json +0 -3
  205. package/cjs/types.js +0 -2
  206. package/esm/client-error.js +0 -16
  207. package/esm/constants.js +0 -3
  208. package/esm/http/http-client.js +0 -160
  209. package/esm/http/http-collection-service.js +0 -36
  210. package/esm/http/http-request.js +0 -62
  211. package/esm/http/http-response.js +0 -1
  212. package/esm/http/http-singleton-service.js +0 -12
  213. package/esm/http/http-types.js +0 -1
  214. package/esm/http/requests/batch-request.js +0 -76
  215. package/esm/http/requests/collection-create-request.js +0 -31
  216. package/esm/http/requests/collection-delete-many-request.js +0 -24
  217. package/esm/http/requests/collection-delete-request.js +0 -25
  218. package/esm/http/requests/collection-get-request.js +0 -33
  219. package/esm/http/requests/collection-search-request.js +0 -40
  220. package/esm/http/requests/collection-update-many-request.js +0 -27
  221. package/esm/http/requests/collection-update-request.js +0 -36
  222. package/esm/http/requests/http-singleton-get-request.js +0 -27
  223. package/esm/http/utils/merge-raw-http-requests.util.js +0 -25
  224. package/esm/index.js +0 -17
  225. package/esm/interfaces/http-options.interface.js +0 -1
  226. package/esm/interfaces/http-request-config.interface.js +0 -1
  227. package/esm/types.d.ts +0 -7
  228. package/esm/types.js +0 -1
  229. package/umd/opra-client.umd.min.js +0 -1
package/README.md CHANGED
@@ -1,3 +1,3 @@
1
1
  # @opra/client
2
2
 
3
- OPRA client package.
3
+ OPRA Client
@@ -0,0 +1 @@
1
+ (self.webpackChunk_opra_node_client=self.webpackChunk_opra_node_client||[]).push([[714],{3714:()=>{}}]);