couchbase 4.1.2 → 4.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2294) hide show
  1. package/deps/couchbase-cxx-client/.github/workflows/tests.yml +1 -1
  2. package/deps/couchbase-cxx-client/.idea/misc.xml +1 -0
  3. package/deps/couchbase-cxx-client/CMakeLists.txt +209 -21
  4. package/deps/couchbase-cxx-client/CODE_OF_CONDUCT.md +4 -0
  5. package/deps/couchbase-cxx-client/CONTRIBUTING.md +35 -0
  6. package/deps/couchbase-cxx-client/bin/build-tests +7 -0
  7. package/deps/couchbase-cxx-client/bin/build-tests.rb +1 -0
  8. package/deps/couchbase-cxx-client/bin/run-tests +6 -0
  9. package/deps/couchbase-cxx-client/cmake/Documentation.cmake +35 -0
  10. package/deps/couchbase-cxx-client/core/analytics_scan_consistency.hxx +26 -0
  11. package/deps/couchbase-cxx-client/core/bucket.hxx +553 -0
  12. package/deps/couchbase-cxx-client/core/capella_ca.hxx +43 -0
  13. package/deps/couchbase-cxx-client/core/cluster.cxx +124 -0
  14. package/deps/couchbase-cxx-client/core/cluster.hxx +480 -0
  15. package/deps/couchbase-cxx-client/core/cluster_options.cxx +50 -0
  16. package/deps/couchbase-cxx-client/core/cluster_options.hxx +84 -0
  17. package/deps/couchbase-cxx-client/core/config_profile.cxx +25 -0
  18. package/deps/couchbase-cxx-client/core/config_profile.hxx +92 -0
  19. package/deps/couchbase-cxx-client/core/crypto/CMakeLists.txt +12 -0
  20. package/deps/couchbase-cxx-client/core/crypto/cbcrypto.cc +897 -0
  21. package/deps/couchbase-cxx-client/core/crypto/cbcrypto.h +88 -0
  22. package/deps/couchbase-cxx-client/core/design_document_namespace.hxx +26 -0
  23. package/deps/couchbase-cxx-client/core/design_document_namespace_fmt.hxx +47 -0
  24. package/deps/couchbase-cxx-client/core/diagnostics.hxx +97 -0
  25. package/deps/couchbase-cxx-client/core/diagnostics_fmt.hxx +113 -0
  26. package/deps/couchbase-cxx-client/core/diagnostics_json.hxx +100 -0
  27. package/deps/couchbase-cxx-client/core/document_id.cxx +102 -0
  28. package/deps/couchbase-cxx-client/core/document_id.hxx +119 -0
  29. package/deps/couchbase-cxx-client/core/document_id_fmt.hxx +37 -0
  30. package/deps/couchbase-cxx-client/core/error_context/analytics.hxx +51 -0
  31. package/deps/couchbase-cxx-client/core/error_context/http.hxx +47 -0
  32. package/deps/couchbase-cxx-client/core/error_context/key_value.cxx +58 -0
  33. package/deps/couchbase-cxx-client/core/error_context/key_value.hxx +83 -0
  34. package/deps/couchbase-cxx-client/core/error_context/query.hxx +51 -0
  35. package/deps/couchbase-cxx-client/core/error_context/search.hxx +50 -0
  36. package/deps/couchbase-cxx-client/core/error_context/view.hxx +51 -0
  37. package/deps/couchbase-cxx-client/core/impl/analytics_error_category.cxx +62 -0
  38. package/deps/couchbase-cxx-client/core/impl/append.cxx +84 -0
  39. package/deps/couchbase-cxx-client/core/impl/build_deferred_query_indexes.cxx +81 -0
  40. package/deps/couchbase-cxx-client/core/impl/common_error_category.cxx +87 -0
  41. package/deps/couchbase-cxx-client/core/impl/decrement.cxx +87 -0
  42. package/deps/couchbase-cxx-client/core/impl/expiry.cxx +99 -0
  43. package/deps/couchbase-cxx-client/core/impl/field_level_encryption_error_category.cxx +63 -0
  44. package/deps/couchbase-cxx-client/core/impl/get.cxx +66 -0
  45. package/deps/couchbase-cxx-client/core/impl/get_all_replicas.cxx +139 -0
  46. package/deps/couchbase-cxx-client/core/impl/get_all_replicas.hxx +79 -0
  47. package/deps/couchbase-cxx-client/core/impl/get_and_touch.cxx +48 -0
  48. package/deps/couchbase-cxx-client/core/impl/get_any_replica.cxx +134 -0
  49. package/deps/couchbase-cxx-client/core/impl/get_any_replica.hxx +76 -0
  50. package/deps/couchbase-cxx-client/core/impl/get_replica.cxx +44 -0
  51. package/deps/couchbase-cxx-client/core/impl/get_replica.hxx +52 -0
  52. package/deps/couchbase-cxx-client/core/impl/increment.cxx +87 -0
  53. package/deps/couchbase-cxx-client/core/impl/insert.cxx +89 -0
  54. package/deps/couchbase-cxx-client/core/impl/key_value_error_category.cxx +99 -0
  55. package/deps/couchbase-cxx-client/core/impl/lookup_in.cxx +67 -0
  56. package/deps/couchbase-cxx-client/core/impl/management_error_category.cxx +75 -0
  57. package/deps/couchbase-cxx-client/core/impl/mutate_in.cxx +125 -0
  58. package/deps/couchbase-cxx-client/core/impl/network_error_category.cxx +59 -0
  59. package/deps/couchbase-cxx-client/core/impl/observe_poll.cxx +355 -0
  60. package/deps/couchbase-cxx-client/core/impl/observe_poll.hxx +49 -0
  61. package/deps/couchbase-cxx-client/core/impl/observe_seqno.cxx +47 -0
  62. package/deps/couchbase-cxx-client/core/impl/observe_seqno.hxx +63 -0
  63. package/deps/couchbase-cxx-client/core/impl/prepend.cxx +84 -0
  64. package/deps/couchbase-cxx-client/core/impl/query_error_category.cxx +55 -0
  65. package/deps/couchbase-cxx-client/core/impl/remove.cxx +83 -0
  66. package/deps/couchbase-cxx-client/core/impl/replace.cxx +93 -0
  67. package/deps/couchbase-cxx-client/core/impl/search_error_category.cxx +51 -0
  68. package/deps/couchbase-cxx-client/core/impl/streaming_json_lexter_error_category.cxx +102 -0
  69. package/deps/couchbase-cxx-client/core/impl/subdoc/array_add_unique.cxx +36 -0
  70. package/deps/couchbase-cxx-client/core/impl/subdoc/array_append.cxx +37 -0
  71. package/deps/couchbase-cxx-client/core/impl/subdoc/array_insert.cxx +37 -0
  72. package/deps/couchbase-cxx-client/core/impl/subdoc/array_prepend.cxx +37 -0
  73. package/deps/couchbase-cxx-client/core/impl/subdoc/command.hxx +41 -0
  74. package/deps/couchbase-cxx-client/core/impl/subdoc/command_bundle.hxx +42 -0
  75. package/deps/couchbase-cxx-client/core/impl/subdoc/count.cxx +36 -0
  76. package/deps/couchbase-cxx-client/core/impl/subdoc/counter.cxx +37 -0
  77. package/deps/couchbase-cxx-client/core/impl/subdoc/exists.cxx +36 -0
  78. package/deps/couchbase-cxx-client/core/impl/subdoc/get.cxx +36 -0
  79. package/deps/couchbase-cxx-client/core/impl/subdoc/insert.cxx +36 -0
  80. package/deps/couchbase-cxx-client/core/impl/subdoc/join_values.cxx +56 -0
  81. package/deps/couchbase-cxx-client/core/impl/subdoc/join_values.hxx +27 -0
  82. package/deps/couchbase-cxx-client/core/impl/subdoc/lookup_in_macro.cxx +109 -0
  83. package/deps/couchbase-cxx-client/core/impl/subdoc/lookup_in_specs.cxx +42 -0
  84. package/deps/couchbase-cxx-client/core/impl/subdoc/mutate_in_macro.cxx +76 -0
  85. package/deps/couchbase-cxx-client/core/impl/subdoc/mutate_in_specs.cxx +42 -0
  86. package/deps/couchbase-cxx-client/core/impl/subdoc/opcode.hxx +47 -0
  87. package/deps/couchbase-cxx-client/core/impl/subdoc/path_flags.hxx +77 -0
  88. package/deps/couchbase-cxx-client/core/impl/subdoc/remove.cxx +36 -0
  89. package/deps/couchbase-cxx-client/core/impl/subdoc/replace.cxx +36 -0
  90. package/deps/couchbase-cxx-client/core/impl/subdoc/upsert.cxx +36 -0
  91. package/deps/couchbase-cxx-client/core/impl/touch.cxx +48 -0
  92. package/deps/couchbase-cxx-client/core/impl/upsert.cxx +91 -0
  93. package/deps/couchbase-cxx-client/core/impl/view_error_category.cxx +50 -0
  94. package/deps/couchbase-cxx-client/core/impl/with_legacy_durability.hxx +65 -0
  95. package/deps/couchbase-cxx-client/core/io/CMakeLists.txt +12 -0
  96. package/deps/couchbase-cxx-client/core/io/dns_client.hxx +218 -0
  97. package/deps/couchbase-cxx-client/core/io/dns_codec.hxx +206 -0
  98. package/deps/couchbase-cxx-client/core/io/dns_config.hxx +115 -0
  99. package/deps/couchbase-cxx-client/core/io/dns_message.hxx +555 -0
  100. package/deps/couchbase-cxx-client/core/io/http_command.hxx +178 -0
  101. package/deps/couchbase-cxx-client/core/io/http_context.hxx +40 -0
  102. package/deps/couchbase-cxx-client/core/io/http_message.hxx +116 -0
  103. package/deps/couchbase-cxx-client/core/io/http_parser.cxx +141 -0
  104. package/deps/couchbase-cxx-client/core/io/http_parser.hxx +55 -0
  105. package/deps/couchbase-cxx-client/core/io/http_session.hxx +551 -0
  106. package/deps/couchbase-cxx-client/core/io/http_session_manager.hxx +383 -0
  107. package/deps/couchbase-cxx-client/core/io/http_traits.hxx +38 -0
  108. package/deps/couchbase-cxx-client/core/io/ip_protocol.hxx +28 -0
  109. package/deps/couchbase-cxx-client/core/io/mcbp_command.hxx +305 -0
  110. package/deps/couchbase-cxx-client/core/io/mcbp_context.hxx +39 -0
  111. package/deps/couchbase-cxx-client/core/io/mcbp_message.cxx +39 -0
  112. package/deps/couchbase-cxx-client/core/io/mcbp_message.hxx +55 -0
  113. package/deps/couchbase-cxx-client/core/io/mcbp_parser.cxx +88 -0
  114. package/deps/couchbase-cxx-client/core/io/mcbp_parser.hxx +45 -0
  115. package/deps/couchbase-cxx-client/core/io/mcbp_session.hxx +1336 -0
  116. package/deps/couchbase-cxx-client/core/io/mcbp_traits.hxx +38 -0
  117. package/deps/couchbase-cxx-client/core/io/query_cache.hxx +71 -0
  118. package/deps/couchbase-cxx-client/core/io/retry_action.hxx +30 -0
  119. package/deps/couchbase-cxx-client/core/io/retry_context.hxx +38 -0
  120. package/deps/couchbase-cxx-client/core/io/retry_orchestrator.hxx +112 -0
  121. package/deps/couchbase-cxx-client/core/io/retry_reason.hxx +86 -0
  122. package/deps/couchbase-cxx-client/core/io/retry_strategy.hxx +152 -0
  123. package/deps/couchbase-cxx-client/core/io/streams.hxx +253 -0
  124. package/deps/couchbase-cxx-client/core/json_string.hxx +48 -0
  125. package/deps/couchbase-cxx-client/core/logger/CMakeLists.txt +9 -0
  126. package/deps/couchbase-cxx-client/core/logger/configuration.hxx +57 -0
  127. package/deps/couchbase-cxx-client/core/logger/custom_rotating_file_sink.cxx +157 -0
  128. package/deps/couchbase-cxx-client/{couchbase → core}/logger/custom_rotating_file_sink.hxx +0 -0
  129. package/deps/couchbase-cxx-client/core/logger/logger.cxx +340 -0
  130. package/deps/couchbase-cxx-client/core/logger/logger.hxx +242 -0
  131. package/deps/couchbase-cxx-client/core/management/analytics_dataset.hxx +30 -0
  132. package/deps/couchbase-cxx-client/core/management/analytics_index.hxx +30 -0
  133. package/deps/couchbase-cxx-client/core/management/analytics_link.hxx +22 -0
  134. package/deps/couchbase-cxx-client/core/management/analytics_link_azure_blob_external.cxx +68 -0
  135. package/deps/couchbase-cxx-client/core/management/analytics_link_azure_blob_external.hxx +76 -0
  136. package/deps/couchbase-cxx-client/core/management/analytics_link_azure_blob_external_json.hxx +52 -0
  137. package/deps/couchbase-cxx-client/core/management/analytics_link_couchbase_remote.cxx +105 -0
  138. package/deps/couchbase-cxx-client/core/management/analytics_link_couchbase_remote.hxx +107 -0
  139. package/deps/couchbase-cxx-client/core/management/analytics_link_couchbase_remote_json.hxx +63 -0
  140. package/deps/couchbase-cxx-client/core/management/analytics_link_s3_external.cxx +58 -0
  141. package/deps/couchbase-cxx-client/core/management/analytics_link_s3_external.hxx +69 -0
  142. package/deps/couchbase-cxx-client/core/management/analytics_link_s3_external_json.hxx +47 -0
  143. package/deps/couchbase-cxx-client/core/management/bucket_settings.hxx +134 -0
  144. package/deps/couchbase-cxx-client/core/management/bucket_settings_json.hxx +123 -0
  145. package/deps/couchbase-cxx-client/core/management/design_document.hxx +41 -0
  146. package/deps/couchbase-cxx-client/core/management/eventing_function.hxx +188 -0
  147. package/deps/couchbase-cxx-client/core/management/eventing_function_json.hxx +212 -0
  148. package/deps/couchbase-cxx-client/core/management/eventing_status.hxx +84 -0
  149. package/deps/couchbase-cxx-client/core/management/eventing_status_json.hxx +77 -0
  150. package/deps/couchbase-cxx-client/core/management/query_index.hxx +39 -0
  151. package/deps/couchbase-cxx-client/core/management/rbac.hxx +77 -0
  152. package/deps/couchbase-cxx-client/core/management/rbac_fmt.hxx +49 -0
  153. package/deps/couchbase-cxx-client/core/management/rbac_json.hxx +179 -0
  154. package/deps/couchbase-cxx-client/core/management/search_index.hxx +38 -0
  155. package/deps/couchbase-cxx-client/core/management/search_index_json.hxx +58 -0
  156. package/deps/couchbase-cxx-client/core/meta/CMakeLists.txt +15 -0
  157. package/deps/couchbase-cxx-client/core/meta/version.cxx +190 -0
  158. package/deps/couchbase-cxx-client/core/meta/version.hxx +45 -0
  159. package/deps/couchbase-cxx-client/core/metrics/CMakeLists.txt +10 -0
  160. package/deps/couchbase-cxx-client/core/metrics/logging_meter.cxx +194 -0
  161. package/deps/couchbase-cxx-client/core/metrics/logging_meter.hxx +74 -0
  162. package/deps/couchbase-cxx-client/core/metrics/logging_meter_options.hxx +28 -0
  163. package/deps/couchbase-cxx-client/core/metrics/meter.hxx +52 -0
  164. package/deps/couchbase-cxx-client/core/metrics/noop_meter.hxx +47 -0
  165. package/deps/couchbase-cxx-client/core/operations/document_analytics.cxx +221 -0
  166. package/deps/couchbase-cxx-client/core/operations/document_analytics.hxx +113 -0
  167. package/deps/couchbase-cxx-client/core/operations/document_append.cxx +45 -0
  168. package/deps/couchbase-cxx-client/core/operations/document_append.hxx +78 -0
  169. package/deps/couchbase-cxx-client/core/operations/document_decrement.cxx +53 -0
  170. package/deps/couchbase-cxx-client/core/operations/document_decrement.hxx +81 -0
  171. package/deps/couchbase-cxx-client/core/operations/document_exists.cxx +50 -0
  172. package/deps/couchbase-cxx-client/core/operations/document_exists.hxx +72 -0
  173. package/deps/couchbase-cxx-client/core/operations/document_get.cxx +44 -0
  174. package/deps/couchbase-cxx-client/core/operations/document_get.hxx +62 -0
  175. package/deps/couchbase-cxx-client/core/operations/document_get_all_replicas.hxx +143 -0
  176. package/deps/couchbase-cxx-client/core/operations/document_get_and_lock.cxx +45 -0
  177. package/deps/couchbase-cxx-client/core/operations/document_get_and_lock.hxx +64 -0
  178. package/deps/couchbase-cxx-client/core/operations/document_get_and_touch.cxx +45 -0
  179. package/deps/couchbase-cxx-client/core/operations/document_get_and_touch.hxx +65 -0
  180. package/deps/couchbase-cxx-client/core/operations/document_get_any_replica.hxx +133 -0
  181. package/deps/couchbase-cxx-client/core/operations/document_get_projected.cxx +237 -0
  182. package/deps/couchbase-cxx-client/core/operations/document_get_projected.hxx +68 -0
  183. package/deps/couchbase-cxx-client/core/operations/document_increment.cxx +53 -0
  184. package/deps/couchbase-cxx-client/core/operations/document_increment.hxx +81 -0
  185. package/deps/couchbase-cxx-client/core/operations/document_insert.cxx +51 -0
  186. package/deps/couchbase-cxx-client/core/operations/document_insert.hxx +80 -0
  187. package/deps/couchbase-cxx-client/core/operations/document_lookup_in.cxx +97 -0
  188. package/deps/couchbase-cxx-client/core/operations/document_lookup_in.hxx +77 -0
  189. package/deps/couchbase-cxx-client/core/operations/document_mutate_in.cxx +117 -0
  190. package/deps/couchbase-cxx-client/core/operations/document_mutate_in.hxx +95 -0
  191. package/deps/couchbase-cxx-client/core/operations/document_prepend.cxx +45 -0
  192. package/deps/couchbase-cxx-client/core/operations/document_prepend.hxx +78 -0
  193. package/deps/couchbase-cxx-client/core/operations/document_query.cxx +385 -0
  194. package/deps/couchbase-cxx-client/core/operations/document_query.hxx +129 -0
  195. package/deps/couchbase-cxx-client/core/operations/document_remove.cxx +45 -0
  196. package/deps/couchbase-cxx-client/core/operations/document_remove.hxx +78 -0
  197. package/deps/couchbase-cxx-client/core/operations/document_replace.cxx +55 -0
  198. package/deps/couchbase-cxx-client/core/operations/document_replace.hxx +82 -0
  199. package/deps/couchbase-cxx-client/core/operations/document_search.cxx +312 -0
  200. package/deps/couchbase-cxx-client/core/operations/document_search.hxx +163 -0
  201. package/deps/couchbase-cxx-client/core/operations/document_touch.cxx +43 -0
  202. package/deps/couchbase-cxx-client/core/operations/document_touch.hxx +61 -0
  203. package/deps/couchbase-cxx-client/core/operations/document_unlock.cxx +43 -0
  204. package/deps/couchbase-cxx-client/core/operations/document_unlock.hxx +61 -0
  205. package/deps/couchbase-cxx-client/core/operations/document_upsert.cxx +54 -0
  206. package/deps/couchbase-cxx-client/core/operations/document_upsert.hxx +81 -0
  207. package/deps/couchbase-cxx-client/core/operations/document_view.cxx +197 -0
  208. package/deps/couchbase-cxx-client/core/operations/document_view.hxx +109 -0
  209. package/deps/couchbase-cxx-client/core/operations/http_noop.cxx +64 -0
  210. package/deps/couchbase-cxx-client/core/operations/http_noop.hxx +48 -0
  211. package/deps/couchbase-cxx-client/core/operations/management/CMakeLists.txt +79 -0
  212. package/deps/couchbase-cxx-client/core/operations/management/analytics.hxx +34 -0
  213. package/deps/couchbase-cxx-client/core/operations/management/analytics_dataset_create.cxx +93 -0
  214. package/deps/couchbase-cxx-client/core/operations/management/analytics_dataset_create.hxx +57 -0
  215. package/deps/couchbase-cxx-client/core/operations/management/analytics_dataset_drop.cxx +82 -0
  216. package/deps/couchbase-cxx-client/core/operations/management/analytics_dataset_drop.hxx +54 -0
  217. package/deps/couchbase-cxx-client/core/operations/management/analytics_dataset_get_all.cxx +78 -0
  218. package/deps/couchbase-cxx-client/core/operations/management/analytics_dataset_get_all.hxx +52 -0
  219. package/deps/couchbase-cxx-client/core/operations/management/analytics_dataverse_create.cxx +81 -0
  220. package/deps/couchbase-cxx-client/core/operations/management/analytics_dataverse_create.hxx +53 -0
  221. package/deps/couchbase-cxx-client/core/operations/management/analytics_dataverse_drop.cxx +81 -0
  222. package/deps/couchbase-cxx-client/core/operations/management/analytics_dataverse_drop.hxx +53 -0
  223. package/deps/couchbase-cxx-client/core/operations/management/analytics_get_pending_mutations.cxx +69 -0
  224. package/deps/couchbase-cxx-client/core/operations/management/analytics_get_pending_mutations.hxx +52 -0
  225. package/deps/couchbase-cxx-client/core/operations/management/analytics_index_create.cxx +105 -0
  226. package/deps/couchbase-cxx-client/core/operations/management/analytics_index_create.hxx +56 -0
  227. package/deps/couchbase-cxx-client/core/operations/management/analytics_index_drop.cxx +89 -0
  228. package/deps/couchbase-cxx-client/core/operations/management/analytics_index_drop.hxx +55 -0
  229. package/deps/couchbase-cxx-client/core/operations/management/analytics_index_get_all.cxx +79 -0
  230. package/deps/couchbase-cxx-client/core/operations/management/analytics_index_get_all.hxx +52 -0
  231. package/deps/couchbase-cxx-client/core/operations/management/analytics_link_connect.cxx +81 -0
  232. package/deps/couchbase-cxx-client/core/operations/management/analytics_link_connect.hxx +57 -0
  233. package/deps/couchbase-cxx-client/core/operations/management/analytics_link_create.cxx +86 -0
  234. package/deps/couchbase-cxx-client/core/operations/management/analytics_link_create.hxx +77 -0
  235. package/deps/couchbase-cxx-client/core/operations/management/analytics_link_disconnect.cxx +79 -0
  236. package/deps/couchbase-cxx-client/core/operations/management/analytics_link_disconnect.hxx +56 -0
  237. package/deps/couchbase-cxx-client/core/operations/management/analytics_link_drop.cxx +102 -0
  238. package/deps/couchbase-cxx-client/core/operations/management/analytics_link_drop.hxx +56 -0
  239. package/deps/couchbase-cxx-client/core/operations/management/analytics_link_get_all.cxx +128 -0
  240. package/deps/couchbase-cxx-client/core/operations/management/analytics_link_get_all.hxx +63 -0
  241. package/deps/couchbase-cxx-client/core/operations/management/analytics_link_replace.cxx +86 -0
  242. package/deps/couchbase-cxx-client/core/operations/management/analytics_link_replace.hxx +78 -0
  243. package/deps/couchbase-cxx-client/core/operations/management/analytics_link_utils.hxx +37 -0
  244. package/deps/couchbase-cxx-client/core/operations/management/analytics_problem.hxx +30 -0
  245. package/deps/couchbase-cxx-client/core/operations/management/bucket.hxx +25 -0
  246. package/deps/couchbase-cxx-client/core/operations/management/bucket_create.cxx +171 -0
  247. package/deps/couchbase-cxx-client/core/operations/management/bucket_create.hxx +52 -0
  248. package/deps/couchbase-cxx-client/core/operations/management/bucket_describe.cxx +66 -0
  249. package/deps/couchbase-cxx-client/core/operations/management/bucket_describe.hxx +61 -0
  250. package/deps/couchbase-cxx-client/core/operations/management/bucket_drop.cxx +51 -0
  251. package/deps/couchbase-cxx-client/core/operations/management/bucket_drop.hxx +49 -0
  252. package/deps/couchbase-cxx-client/core/operations/management/bucket_flush.cxx +58 -0
  253. package/deps/couchbase-cxx-client/core/operations/management/bucket_flush.hxx +49 -0
  254. package/deps/couchbase-cxx-client/core/operations/management/bucket_get.cxx +58 -0
  255. package/deps/couchbase-cxx-client/core/operations/management/bucket_get.hxx +51 -0
  256. package/deps/couchbase-cxx-client/core/operations/management/bucket_get_all.cxx +58 -0
  257. package/deps/couchbase-cxx-client/core/operations/management/bucket_get_all.hxx +49 -0
  258. package/deps/couchbase-cxx-client/core/operations/management/bucket_update.cxx +130 -0
  259. package/deps/couchbase-cxx-client/core/operations/management/bucket_update.hxx +52 -0
  260. package/deps/couchbase-cxx-client/core/operations/management/cluster_describe.cxx +89 -0
  261. package/deps/couchbase-cxx-client/core/operations/management/cluster_describe.hxx +72 -0
  262. package/deps/couchbase-cxx-client/core/operations/management/cluster_developer_preview_enable.cxx +43 -0
  263. package/deps/couchbase-cxx-client/core/operations/management/cluster_developer_preview_enable.hxx +48 -0
  264. package/deps/couchbase-cxx-client/core/operations/management/collection_create.cxx +82 -0
  265. package/deps/couchbase-cxx-client/core/operations/management/collection_create.hxx +53 -0
  266. package/deps/couchbase-cxx-client/core/operations/management/collection_drop.cxx +72 -0
  267. package/deps/couchbase-cxx-client/core/operations/management/collection_drop.hxx +52 -0
  268. package/deps/couchbase-cxx-client/core/operations/management/collections.hxx +25 -0
  269. package/deps/couchbase-cxx-client/core/operations/management/collections_manifest_get.cxx +40 -0
  270. package/deps/couchbase-cxx-client/core/operations/management/collections_manifest_get.hxx +53 -0
  271. package/deps/couchbase-cxx-client/core/operations/management/error_utils.cxx +267 -0
  272. package/deps/couchbase-cxx-client/core/operations/management/error_utils.hxx +49 -0
  273. package/deps/couchbase-cxx-client/core/operations/management/eventing.hxx +28 -0
  274. package/deps/couchbase-cxx-client/core/operations/management/eventing_deploy_function.cxx +55 -0
  275. package/deps/couchbase-cxx-client/core/operations/management/eventing_deploy_function.hxx +52 -0
  276. package/deps/couchbase-cxx-client/core/operations/management/eventing_drop_function.cxx +56 -0
  277. package/deps/couchbase-cxx-client/core/operations/management/eventing_drop_function.hxx +52 -0
  278. package/deps/couchbase-cxx-client/core/operations/management/eventing_get_all_functions.cxx +63 -0
  279. package/deps/couchbase-cxx-client/core/operations/management/eventing_get_all_functions.hxx +51 -0
  280. package/deps/couchbase-cxx-client/core/operations/management/eventing_get_function.cxx +55 -0
  281. package/deps/couchbase-cxx-client/core/operations/management/eventing_get_function.hxx +53 -0
  282. package/deps/couchbase-cxx-client/core/operations/management/eventing_get_status.cxx +55 -0
  283. package/deps/couchbase-cxx-client/core/operations/management/eventing_get_status.hxx +53 -0
  284. package/deps/couchbase-cxx-client/core/operations/management/eventing_pause_function.cxx +55 -0
  285. package/deps/couchbase-cxx-client/core/operations/management/eventing_pause_function.hxx +52 -0
  286. package/deps/couchbase-cxx-client/core/operations/management/eventing_problem.hxx +31 -0
  287. package/deps/couchbase-cxx-client/core/operations/management/eventing_resume_function.cxx +55 -0
  288. package/deps/couchbase-cxx-client/core/operations/management/eventing_resume_function.hxx +52 -0
  289. package/deps/couchbase-cxx-client/core/operations/management/eventing_undeploy_function.cxx +55 -0
  290. package/deps/couchbase-cxx-client/core/operations/management/eventing_undeploy_function.hxx +52 -0
  291. package/deps/couchbase-cxx-client/core/operations/management/eventing_upsert_function.cxx +340 -0
  292. package/deps/couchbase-cxx-client/core/operations/management/eventing_upsert_function.hxx +52 -0
  293. package/deps/couchbase-cxx-client/core/operations/management/freeform.cxx +54 -0
  294. package/deps/couchbase-cxx-client/core/operations/management/freeform.hxx +55 -0
  295. package/deps/couchbase-cxx-client/core/operations/management/group_drop.cxx +50 -0
  296. package/deps/couchbase-cxx-client/core/operations/management/group_drop.hxx +49 -0
  297. package/deps/couchbase-cxx-client/core/operations/management/group_get.cxx +59 -0
  298. package/deps/couchbase-cxx-client/core/operations/management/group_get.hxx +50 -0
  299. package/deps/couchbase-cxx-client/core/operations/management/group_get_all.cxx +57 -0
  300. package/deps/couchbase-cxx-client/core/operations/management/group_get_all.hxx +49 -0
  301. package/deps/couchbase-cxx-client/core/operations/management/group_upsert.cxx +95 -0
  302. package/deps/couchbase-cxx-client/core/operations/management/group_upsert.hxx +51 -0
  303. package/deps/couchbase-cxx-client/core/operations/management/query.hxx +25 -0
  304. package/deps/couchbase-cxx-client/core/operations/management/query_index_build.cxx +93 -0
  305. package/deps/couchbase-cxx-client/core/operations/management/query_index_build.hxx +60 -0
  306. package/deps/couchbase-cxx-client/core/operations/management/query_index_build_deferred.hxx +107 -0
  307. package/deps/couchbase-cxx-client/core/operations/management/query_index_create.cxx +148 -0
  308. package/deps/couchbase-cxx-client/core/operations/management/query_index_create.hxx +65 -0
  309. package/deps/couchbase-cxx-client/core/operations/management/query_index_drop.cxx +128 -0
  310. package/deps/couchbase-cxx-client/core/operations/management/query_index_drop.hxx +61 -0
  311. package/deps/couchbase-cxx-client/core/operations/management/query_index_get_all.cxx +125 -0
  312. package/deps/couchbase-cxx-client/core/operations/management/query_index_get_all.hxx +54 -0
  313. package/deps/couchbase-cxx-client/core/operations/management/query_index_get_all_deferred.cxx +79 -0
  314. package/deps/couchbase-cxx-client/core/operations/management/query_index_get_all_deferred.hxx +55 -0
  315. package/deps/couchbase-cxx-client/core/operations/management/role_get_all.cxx +57 -0
  316. package/deps/couchbase-cxx-client/core/operations/management/role_get_all.hxx +49 -0
  317. package/deps/couchbase-cxx-client/core/operations/management/scope_create.cxx +74 -0
  318. package/deps/couchbase-cxx-client/core/operations/management/scope_create.hxx +51 -0
  319. package/deps/couchbase-cxx-client/core/operations/management/scope_drop.cxx +69 -0
  320. package/deps/couchbase-cxx-client/core/operations/management/scope_drop.hxx +51 -0
  321. package/deps/couchbase-cxx-client/core/operations/management/scope_get_all.cxx +61 -0
  322. package/deps/couchbase-cxx-client/core/operations/management/scope_get_all.hxx +51 -0
  323. package/deps/couchbase-cxx-client/core/operations/management/search.hxx +30 -0
  324. package/deps/couchbase-cxx-client/core/operations/management/search_get_stats.cxx +41 -0
  325. package/deps/couchbase-cxx-client/core/operations/management/search_get_stats.hxx +48 -0
  326. package/deps/couchbase-cxx-client/core/operations/management/search_index_analyze_document.cxx +84 -0
  327. package/deps/couchbase-cxx-client/core/operations/management/search_index_analyze_document.hxx +54 -0
  328. package/deps/couchbase-cxx-client/core/operations/management/search_index_control_ingest.cxx +72 -0
  329. package/deps/couchbase-cxx-client/core/operations/management/search_index_control_ingest.hxx +52 -0
  330. package/deps/couchbase-cxx-client/core/operations/management/search_index_control_plan_freeze.cxx +72 -0
  331. package/deps/couchbase-cxx-client/core/operations/management/search_index_control_plan_freeze.hxx +57 -0
  332. package/deps/couchbase-cxx-client/core/operations/management/search_index_control_query.cxx +72 -0
  333. package/deps/couchbase-cxx-client/core/operations/management/search_index_control_query.hxx +52 -0
  334. package/deps/couchbase-cxx-client/core/operations/management/search_index_drop.cxx +71 -0
  335. package/deps/couchbase-cxx-client/core/operations/management/search_index_drop.hxx +51 -0
  336. package/deps/couchbase-cxx-client/core/operations/management/search_index_get.cxx +74 -0
  337. package/deps/couchbase-cxx-client/core/operations/management/search_index_get.hxx +54 -0
  338. package/deps/couchbase-cxx-client/core/operations/management/search_index_get_all.cxx +66 -0
  339. package/deps/couchbase-cxx-client/core/operations/management/search_index_get_all.hxx +51 -0
  340. package/deps/couchbase-cxx-client/core/operations/management/search_index_get_documents_count.cxx +78 -0
  341. package/deps/couchbase-cxx-client/core/operations/management/search_index_get_documents_count.hxx +53 -0
  342. package/deps/couchbase-cxx-client/core/operations/management/search_index_get_stats.cxx +70 -0
  343. package/deps/couchbase-cxx-client/core/operations/management/search_index_get_stats.hxx +52 -0
  344. package/deps/couchbase-cxx-client/core/operations/management/search_index_upsert.cxx +114 -0
  345. package/deps/couchbase-cxx-client/core/operations/management/search_index_upsert.hxx +54 -0
  346. package/deps/couchbase-cxx-client/core/operations/management/user.hxx +28 -0
  347. package/deps/couchbase-cxx-client/core/operations/management/user_drop.cxx +51 -0
  348. package/deps/couchbase-cxx-client/core/operations/management/user_drop.hxx +51 -0
  349. package/deps/couchbase-cxx-client/core/operations/management/user_get.cxx +60 -0
  350. package/deps/couchbase-cxx-client/core/operations/management/user_get.hxx +52 -0
  351. package/deps/couchbase-cxx-client/core/operations/management/user_get_all.cxx +58 -0
  352. package/deps/couchbase-cxx-client/core/operations/management/user_get_all.hxx +51 -0
  353. package/deps/couchbase-cxx-client/core/operations/management/user_upsert.cxx +100 -0
  354. package/deps/couchbase-cxx-client/core/operations/management/user_upsert.hxx +52 -0
  355. package/deps/couchbase-cxx-client/core/operations/management/view.hxx +23 -0
  356. package/deps/couchbase-cxx-client/core/operations/management/view_index_drop.cxx +45 -0
  357. package/deps/couchbase-cxx-client/core/operations/management/view_index_drop.hxx +52 -0
  358. package/deps/couchbase-cxx-client/core/operations/management/view_index_get.cxx +73 -0
  359. package/deps/couchbase-cxx-client/core/operations/management/view_index_get.hxx +53 -0
  360. package/deps/couchbase-cxx-client/core/operations/management/view_index_get_all.cxx +107 -0
  361. package/deps/couchbase-cxx-client/core/operations/management/view_index_get_all.hxx +52 -0
  362. package/deps/couchbase-cxx-client/core/operations/management/view_index_upsert.cxx +70 -0
  363. package/deps/couchbase-cxx-client/core/operations/management/view_index_upsert.hxx +51 -0
  364. package/deps/couchbase-cxx-client/core/operations/mcbp_noop.cxx +38 -0
  365. package/deps/couchbase-cxx-client/core/operations/mcbp_noop.hxx +49 -0
  366. package/deps/couchbase-cxx-client/core/operations/operation_traits.hxx +31 -0
  367. package/deps/couchbase-cxx-client/core/operations.hxx +44 -0
  368. package/deps/couchbase-cxx-client/core/origin.hxx +195 -0
  369. package/deps/couchbase-cxx-client/core/platform/CMakeLists.txt +16 -0
  370. package/deps/couchbase-cxx-client/core/platform/backtrace.c +189 -0
  371. package/deps/couchbase-cxx-client/{couchbase → core}/platform/backtrace.h +0 -0
  372. package/deps/couchbase-cxx-client/core/platform/base64.cc +234 -0
  373. package/deps/couchbase-cxx-client/core/platform/base64.h +44 -0
  374. package/deps/couchbase-cxx-client/core/platform/dirutils.cc +123 -0
  375. package/deps/couchbase-cxx-client/core/platform/dirutils.h +43 -0
  376. package/deps/couchbase-cxx-client/core/platform/random.cc +120 -0
  377. package/deps/couchbase-cxx-client/core/platform/random.h +39 -0
  378. package/deps/couchbase-cxx-client/core/platform/string_hex.cc +101 -0
  379. package/deps/couchbase-cxx-client/core/platform/string_hex.h +50 -0
  380. package/deps/couchbase-cxx-client/core/platform/terminate_handler.cc +125 -0
  381. package/deps/couchbase-cxx-client/core/platform/terminate_handler.h +36 -0
  382. package/deps/couchbase-cxx-client/core/platform/uuid.cc +98 -0
  383. package/deps/couchbase-cxx-client/core/platform/uuid.h +56 -0
  384. package/deps/couchbase-cxx-client/core/protocol/client_opcode.hxx +359 -0
  385. package/deps/couchbase-cxx-client/core/protocol/client_opcode_fmt.hxx +316 -0
  386. package/deps/couchbase-cxx-client/core/protocol/client_request.cxx +38 -0
  387. package/deps/couchbase-cxx-client/core/protocol/client_request.hxx +168 -0
  388. package/deps/couchbase-cxx-client/core/protocol/client_response.cxx +75 -0
  389. package/deps/couchbase-cxx-client/core/protocol/client_response.hxx +210 -0
  390. package/deps/couchbase-cxx-client/core/protocol/cmd_append.cxx +74 -0
  391. package/deps/couchbase-cxx-client/core/protocol/cmd_append.hxx +107 -0
  392. package/deps/couchbase-cxx-client/core/protocol/cmd_cluster_map_change_notification.cxx +53 -0
  393. package/deps/couchbase-cxx-client/core/protocol/cmd_cluster_map_change_notification.hxx +57 -0
  394. package/deps/couchbase-cxx-client/core/protocol/cmd_decrement.cxx +96 -0
  395. package/deps/couchbase-cxx-client/core/protocol/cmd_decrement.hxx +130 -0
  396. package/deps/couchbase-cxx-client/core/protocol/cmd_get.cxx +59 -0
  397. package/deps/couchbase-cxx-client/core/protocol/cmd_get.hxx +96 -0
  398. package/deps/couchbase-cxx-client/core/protocol/cmd_get_and_lock.cxx +66 -0
  399. package/deps/couchbase-cxx-client/core/protocol/cmd_get_and_lock.hxx +112 -0
  400. package/deps/couchbase-cxx-client/core/protocol/cmd_get_and_touch.cxx +66 -0
  401. package/deps/couchbase-cxx-client/core/protocol/cmd_get_and_touch.hxx +112 -0
  402. package/deps/couchbase-cxx-client/core/protocol/cmd_get_cluster_config.cxx +85 -0
  403. package/deps/couchbase-cxx-client/core/protocol/cmd_get_cluster_config.hxx +89 -0
  404. package/deps/couchbase-cxx-client/core/protocol/cmd_get_collection_id.cxx +60 -0
  405. package/deps/couchbase-cxx-client/core/protocol/cmd_get_collection_id.hxx +95 -0
  406. package/deps/couchbase-cxx-client/core/protocol/cmd_get_collections_manifest.cxx +51 -0
  407. package/deps/couchbase-cxx-client/core/protocol/cmd_get_collections_manifest.hxx +84 -0
  408. package/deps/couchbase-cxx-client/core/protocol/cmd_get_error_map.cxx +61 -0
  409. package/deps/couchbase-cxx-client/core/protocol/cmd_get_error_map.hxx +103 -0
  410. package/deps/couchbase-cxx-client/core/protocol/cmd_get_meta.cxx +70 -0
  411. package/deps/couchbase-cxx-client/core/protocol/cmd_get_meta.hxx +117 -0
  412. package/deps/couchbase-cxx-client/core/protocol/cmd_get_replica.cxx +71 -0
  413. package/deps/couchbase-cxx-client/core/protocol/cmd_get_replica.hxx +88 -0
  414. package/deps/couchbase-cxx-client/core/protocol/cmd_hello.cxx +76 -0
  415. package/deps/couchbase-cxx-client/core/protocol/cmd_hello.hxx +136 -0
  416. package/deps/couchbase-cxx-client/core/protocol/cmd_increment.cxx +98 -0
  417. package/deps/couchbase-cxx-client/core/protocol/cmd_increment.hxx +130 -0
  418. package/deps/couchbase-cxx-client/core/protocol/cmd_info.hxx +29 -0
  419. package/deps/couchbase-cxx-client/core/protocol/cmd_insert.cxx +83 -0
  420. package/deps/couchbase-cxx-client/core/protocol/cmd_insert.hxx +124 -0
  421. package/deps/couchbase-cxx-client/core/protocol/cmd_lookup_in.cxx +108 -0
  422. package/deps/couchbase-cxx-client/core/protocol/cmd_lookup_in.hxx +139 -0
  423. package/deps/couchbase-cxx-client/core/protocol/cmd_mutate_in.cxx +163 -0
  424. package/deps/couchbase-cxx-client/core/protocol/cmd_mutate_in.hxx +216 -0
  425. package/deps/couchbase-cxx-client/core/protocol/cmd_noop.cxx +36 -0
  426. package/deps/couchbase-cxx-client/core/protocol/cmd_noop.hxx +75 -0
  427. package/deps/couchbase-cxx-client/core/protocol/cmd_observe_seqno.cxx +92 -0
  428. package/deps/couchbase-cxx-client/core/protocol/cmd_observe_seqno.hxx +132 -0
  429. package/deps/couchbase-cxx-client/core/protocol/cmd_prepend.cxx +73 -0
  430. package/deps/couchbase-cxx-client/core/protocol/cmd_prepend.hxx +103 -0
  431. package/deps/couchbase-cxx-client/core/protocol/cmd_remove.cxx +74 -0
  432. package/deps/couchbase-cxx-client/core/protocol/cmd_remove.hxx +94 -0
  433. package/deps/couchbase-cxx-client/core/protocol/cmd_replace.cxx +92 -0
  434. package/deps/couchbase-cxx-client/core/protocol/cmd_replace.hxx +131 -0
  435. package/deps/couchbase-cxx-client/core/protocol/cmd_sasl_auth.cxx +61 -0
  436. package/deps/couchbase-cxx-client/core/protocol/cmd_sasl_auth.hxx +91 -0
  437. package/deps/couchbase-cxx-client/core/protocol/cmd_sasl_list_mechs.cxx +53 -0
  438. package/deps/couchbase-cxx-client/core/protocol/cmd_sasl_list_mechs.hxx +82 -0
  439. package/deps/couchbase-cxx-client/core/protocol/cmd_sasl_step.cxx +61 -0
  440. package/deps/couchbase-cxx-client/core/protocol/cmd_sasl_step.hxx +91 -0
  441. package/deps/couchbase-cxx-client/core/protocol/cmd_select_bucket.cxx +45 -0
  442. package/deps/couchbase-cxx-client/core/protocol/cmd_select_bucket.hxx +79 -0
  443. package/deps/couchbase-cxx-client/core/protocol/cmd_touch.cxx +53 -0
  444. package/deps/couchbase-cxx-client/core/protocol/cmd_touch.hxx +84 -0
  445. package/deps/couchbase-cxx-client/core/protocol/cmd_unlock.cxx +44 -0
  446. package/deps/couchbase-cxx-client/core/protocol/cmd_unlock.hxx +81 -0
  447. package/deps/couchbase-cxx-client/core/protocol/cmd_upsert.cxx +92 -0
  448. package/deps/couchbase-cxx-client/core/protocol/cmd_upsert.hxx +126 -0
  449. package/deps/couchbase-cxx-client/core/protocol/datatype.hxx +48 -0
  450. package/deps/couchbase-cxx-client/core/protocol/enhanced_error_info.hxx +23 -0
  451. package/deps/couchbase-cxx-client/core/protocol/frame_info_id.hxx +142 -0
  452. package/deps/couchbase-cxx-client/core/protocol/frame_info_id_fmt.hxx +79 -0
  453. package/deps/couchbase-cxx-client/core/protocol/frame_info_utils.cxx +59 -0
  454. package/deps/couchbase-cxx-client/core/protocol/frame_info_utils.hxx +52 -0
  455. package/deps/couchbase-cxx-client/core/protocol/hello_feature.hxx +186 -0
  456. package/deps/couchbase-cxx-client/core/protocol/hello_feature_fmt.hxx +106 -0
  457. package/deps/couchbase-cxx-client/core/protocol/magic.hxx +53 -0
  458. package/deps/couchbase-cxx-client/core/protocol/magic_fmt.hxx +58 -0
  459. package/deps/couchbase-cxx-client/core/protocol/server_opcode.hxx +39 -0
  460. package/deps/couchbase-cxx-client/core/protocol/server_opcode_fmt.hxx +46 -0
  461. package/deps/couchbase-cxx-client/core/protocol/server_request.hxx +121 -0
  462. package/deps/couchbase-cxx-client/core/protocol/status.cxx +187 -0
  463. package/deps/couchbase-cxx-client/core/protocol/status.hxx +112 -0
  464. package/deps/couchbase-cxx-client/core/query_profile_mode.hxx +27 -0
  465. package/deps/couchbase-cxx-client/core/query_scan_consistency.hxx +23 -0
  466. package/deps/couchbase-cxx-client/core/sasl/CMakeLists.txt +16 -0
  467. package/deps/couchbase-cxx-client/core/sasl/client.cc +50 -0
  468. package/deps/couchbase-cxx-client/core/sasl/client.h +127 -0
  469. package/deps/couchbase-cxx-client/core/sasl/context.cc +34 -0
  470. package/deps/couchbase-cxx-client/core/sasl/context.h +52 -0
  471. package/deps/couchbase-cxx-client/core/sasl/error.h +28 -0
  472. package/deps/couchbase-cxx-client/core/sasl/error_fmt.h +70 -0
  473. package/deps/couchbase-cxx-client/core/sasl/mechanism.cc +45 -0
  474. package/deps/couchbase-cxx-client/core/sasl/mechanism.h +52 -0
  475. package/deps/couchbase-cxx-client/core/sasl/plain/plain.cc +39 -0
  476. package/deps/couchbase-cxx-client/core/sasl/plain/plain.h +54 -0
  477. package/deps/couchbase-cxx-client/core/sasl/scram-sha/scram-sha.cc +372 -0
  478. package/deps/couchbase-cxx-client/core/sasl/scram-sha/scram-sha.h +184 -0
  479. package/deps/couchbase-cxx-client/core/sasl/scram-sha/stringutils.cc +82 -0
  480. package/deps/couchbase-cxx-client/core/sasl/scram-sha/stringutils.h +48 -0
  481. package/deps/couchbase-cxx-client/core/search_highlight_style.hxx +23 -0
  482. package/deps/couchbase-cxx-client/core/search_scan_consistency.hxx +23 -0
  483. package/deps/couchbase-cxx-client/core/service_type.hxx +31 -0
  484. package/deps/couchbase-cxx-client/core/service_type_fmt.hxx +61 -0
  485. package/deps/couchbase-cxx-client/core/timeout_defaults.hxx +43 -0
  486. package/deps/couchbase-cxx-client/core/topology/capabilities.hxx +43 -0
  487. package/deps/couchbase-cxx-client/core/topology/capabilities_fmt.hxx +106 -0
  488. package/deps/couchbase-cxx-client/core/topology/collections_manifest.hxx +43 -0
  489. package/deps/couchbase-cxx-client/core/topology/collections_manifest_fmt.hxx +52 -0
  490. package/deps/couchbase-cxx-client/core/topology/collections_manifest_json.hxx +53 -0
  491. package/deps/couchbase-cxx-client/core/topology/configuration.cxx +223 -0
  492. package/deps/couchbase-cxx-client/core/topology/configuration.hxx +127 -0
  493. package/deps/couchbase-cxx-client/core/topology/configuration_fmt.hxx +166 -0
  494. package/deps/couchbase-cxx-client/core/topology/configuration_json.hxx +259 -0
  495. package/deps/couchbase-cxx-client/core/topology/error_map.hxx +35 -0
  496. package/deps/couchbase-cxx-client/core/topology/error_map_fmt.hxx +94 -0
  497. package/deps/couchbase-cxx-client/core/topology/error_map_json.hxx +89 -0
  498. package/deps/couchbase-cxx-client/core/tracing/CMakeLists.txt +9 -0
  499. package/deps/couchbase-cxx-client/core/tracing/constants.hxx +274 -0
  500. package/deps/couchbase-cxx-client/core/tracing/noop_tracer.hxx +55 -0
  501. package/deps/couchbase-cxx-client/core/tracing/request_tracer.hxx +79 -0
  502. package/deps/couchbase-cxx-client/core/tracing/threshold_logging_options.hxx +68 -0
  503. package/deps/couchbase-cxx-client/core/tracing/threshold_logging_tracer.cxx +422 -0
  504. package/deps/couchbase-cxx-client/core/tracing/threshold_logging_tracer.hxx +49 -0
  505. package/deps/couchbase-cxx-client/core/utils/binary.cxx +27 -0
  506. package/deps/couchbase-cxx-client/core/utils/binary.hxx +57 -0
  507. package/deps/couchbase-cxx-client/core/utils/byteswap.hxx +49 -0
  508. package/deps/couchbase-cxx-client/core/utils/connection_string.cxx +420 -0
  509. package/deps/couchbase-cxx-client/core/utils/connection_string.hxx +76 -0
  510. package/deps/couchbase-cxx-client/core/utils/crc32.hxx +49 -0
  511. package/deps/couchbase-cxx-client/core/utils/duration_parser.cxx +193 -0
  512. package/deps/couchbase-cxx-client/core/utils/duration_parser.hxx +45 -0
  513. package/deps/couchbase-cxx-client/core/utils/join_strings.hxx +65 -0
  514. package/deps/couchbase-cxx-client/core/utils/json.cxx +286 -0
  515. package/deps/couchbase-cxx-client/core/utils/json.hxx +43 -0
  516. package/deps/couchbase-cxx-client/core/utils/json_stream_control.hxx +32 -0
  517. package/deps/couchbase-cxx-client/core/utils/json_streaming_lexer.cxx +398 -0
  518. package/deps/couchbase-cxx-client/core/utils/json_streaming_lexer.hxx +59 -0
  519. package/deps/couchbase-cxx-client/core/utils/movable_function.hxx +110 -0
  520. package/deps/couchbase-cxx-client/core/utils/mutation_token.cxx +33 -0
  521. package/deps/couchbase-cxx-client/core/utils/mutation_token.hxx +29 -0
  522. package/deps/couchbase-cxx-client/core/utils/name_codec.hxx +41 -0
  523. package/deps/couchbase-cxx-client/core/utils/unsigned_leb128.hxx +181 -0
  524. package/deps/couchbase-cxx-client/core/utils/url_codec.cxx +404 -0
  525. package/deps/couchbase-cxx-client/core/utils/url_codec.hxx +72 -0
  526. package/deps/couchbase-cxx-client/core/view_on_error.hxx +27 -0
  527. package/deps/couchbase-cxx-client/core/view_scan_consistency.hxx +27 -0
  528. package/deps/couchbase-cxx-client/core/view_sort_order.hxx +23 -0
  529. package/deps/couchbase-cxx-client/couchbase/append_options.hxx +123 -0
  530. package/deps/couchbase-cxx-client/couchbase/binary_collection.hxx +327 -0
  531. package/deps/couchbase-cxx-client/couchbase/bucket.hxx +55 -494
  532. package/deps/couchbase-cxx-client/couchbase/build_query_index_options.hxx +132 -0
  533. package/deps/couchbase-cxx-client/couchbase/cas.hxx +74 -8
  534. package/deps/couchbase-cxx-client/couchbase/cluster.hxx +49 -405
  535. package/deps/couchbase-cxx-client/couchbase/codec/codec_flags.hxx +145 -0
  536. package/deps/couchbase-cxx-client/couchbase/codec/encoded_value.hxx +31 -0
  537. package/deps/couchbase-cxx-client/couchbase/codec/json_transcoder.hxx +87 -0
  538. package/deps/couchbase-cxx-client/couchbase/codec/raw_binary_transcoder.hxx +53 -0
  539. package/deps/couchbase-cxx-client/couchbase/codec/transcoder_traits.hxx +31 -0
  540. package/deps/couchbase-cxx-client/couchbase/collection.hxx +847 -0
  541. package/deps/couchbase-cxx-client/couchbase/common_durability_options.hxx +108 -0
  542. package/deps/couchbase-cxx-client/couchbase/common_options.hxx +92 -0
  543. package/deps/couchbase-cxx-client/couchbase/counter_result.hxx +73 -0
  544. package/deps/couchbase-cxx-client/couchbase/decrement_options.hxx +165 -0
  545. package/deps/couchbase-cxx-client/couchbase/durability_level.hxx +64 -0
  546. package/deps/couchbase-cxx-client/couchbase/error_codes.hxx +1104 -0
  547. package/deps/couchbase-cxx-client/couchbase/error_context.hxx +173 -0
  548. package/deps/couchbase-cxx-client/couchbase/expiry.hxx +55 -0
  549. package/deps/couchbase-cxx-client/couchbase/fmt/cas.hxx +37 -0
  550. package/deps/couchbase-cxx-client/couchbase/fmt/durability_level.hxx +52 -0
  551. package/deps/couchbase-cxx-client/couchbase/fmt/key_value_extended_error_info.hxx +46 -0
  552. package/deps/couchbase-cxx-client/couchbase/fmt/key_value_status_code.hxx +242 -0
  553. package/deps/couchbase-cxx-client/couchbase/fmt/mutation_token.hxx +38 -0
  554. package/deps/couchbase-cxx-client/couchbase/fmt/retry_reason.hxx +103 -0
  555. package/deps/couchbase-cxx-client/couchbase/get_all_replicas_options.hxx +102 -0
  556. package/deps/couchbase-cxx-client/couchbase/get_and_touch_options.hxx +94 -0
  557. package/deps/couchbase-cxx-client/couchbase/get_any_replica_options.hxx +93 -0
  558. package/deps/couchbase-cxx-client/couchbase/get_options.hxx +116 -0
  559. package/deps/couchbase-cxx-client/couchbase/get_replica_result.hxx +117 -0
  560. package/deps/couchbase-cxx-client/couchbase/get_result.hxx +126 -0
  561. package/deps/couchbase-cxx-client/couchbase/increment_options.hxx +165 -0
  562. package/deps/couchbase-cxx-client/couchbase/insert_options.hxx +135 -0
  563. package/deps/couchbase-cxx-client/couchbase/key_value_error_context.hxx +224 -0
  564. package/deps/couchbase-cxx-client/couchbase/key_value_error_map_attribute.hxx +124 -0
  565. package/deps/couchbase-cxx-client/couchbase/key_value_error_map_info.hxx +138 -0
  566. package/deps/couchbase-cxx-client/couchbase/key_value_extended_error_info.hxx +86 -0
  567. package/deps/couchbase-cxx-client/couchbase/key_value_status_code.hxx +93 -0
  568. package/deps/couchbase-cxx-client/couchbase/lookup_in_options.hxx +117 -0
  569. package/deps/couchbase-cxx-client/couchbase/lookup_in_result.hxx +254 -0
  570. package/deps/couchbase-cxx-client/couchbase/lookup_in_specs.hxx +146 -0
  571. package/deps/couchbase-cxx-client/couchbase/manager_error_context.hxx +136 -0
  572. package/deps/couchbase-cxx-client/couchbase/metrics/otel_meter.hxx +131 -0
  573. package/deps/couchbase-cxx-client/couchbase/mutate_in_options.hxx +234 -0
  574. package/deps/couchbase-cxx-client/couchbase/mutate_in_result.hxx +173 -0
  575. package/deps/couchbase-cxx-client/couchbase/mutate_in_specs.hxx +528 -0
  576. package/deps/couchbase-cxx-client/couchbase/mutation_result.hxx +73 -0
  577. package/deps/couchbase-cxx-client/couchbase/mutation_token.hxx +93 -6
  578. package/deps/couchbase-cxx-client/couchbase/persist_to.hxx +73 -0
  579. package/deps/couchbase-cxx-client/couchbase/prepend_options.hxx +123 -0
  580. package/deps/couchbase-cxx-client/couchbase/query_index_manager.hxx +82 -0
  581. package/deps/couchbase-cxx-client/couchbase/remove_options.hxx +122 -0
  582. package/deps/couchbase-cxx-client/couchbase/replace_options.hxx +183 -0
  583. package/deps/couchbase-cxx-client/couchbase/replicate_to.hxx +55 -0
  584. package/deps/couchbase-cxx-client/couchbase/result.hxx +66 -0
  585. package/deps/couchbase-cxx-client/couchbase/retry_reason.hxx +101 -0
  586. package/deps/couchbase-cxx-client/couchbase/scope.hxx +101 -0
  587. package/deps/couchbase-cxx-client/couchbase/store_semantics.hxx +63 -0
  588. package/deps/couchbase-cxx-client/couchbase/subdoc/array_add_unique.hxx +105 -0
  589. package/deps/couchbase-cxx-client/couchbase/subdoc/array_append.hxx +89 -0
  590. package/deps/couchbase-cxx-client/couchbase/subdoc/array_insert.hxx +90 -0
  591. package/deps/couchbase-cxx-client/couchbase/subdoc/array_prepend.hxx +90 -0
  592. package/deps/couchbase-cxx-client/couchbase/subdoc/count.hxx +70 -0
  593. package/deps/couchbase-cxx-client/couchbase/subdoc/counter.hxx +88 -0
  594. package/deps/couchbase-cxx-client/couchbase/subdoc/exists.hxx +70 -0
  595. package/deps/couchbase-cxx-client/couchbase/subdoc/fwd/command.hxx +25 -0
  596. package/deps/couchbase-cxx-client/couchbase/subdoc/fwd/command_bundle.hxx +25 -0
  597. package/deps/couchbase-cxx-client/couchbase/subdoc/get.hxx +78 -0
  598. package/deps/couchbase-cxx-client/couchbase/subdoc/insert.hxx +105 -0
  599. package/deps/couchbase-cxx-client/couchbase/subdoc/lookup_in_macro.hxx +65 -0
  600. package/deps/couchbase-cxx-client/couchbase/subdoc/mutate_in_macro.hxx +54 -0
  601. package/deps/couchbase-cxx-client/couchbase/subdoc/remove.hxx +70 -0
  602. package/deps/couchbase-cxx-client/couchbase/subdoc/replace.hxx +89 -0
  603. package/deps/couchbase-cxx-client/couchbase/subdoc/upsert.hxx +105 -0
  604. package/deps/couchbase-cxx-client/couchbase/subdocument_error_context.hxx +144 -0
  605. package/deps/couchbase-cxx-client/couchbase/touch_options.hxx +94 -0
  606. package/deps/couchbase-cxx-client/couchbase/tracing/otel_tracer.hxx +85 -0
  607. package/deps/couchbase-cxx-client/couchbase/upsert_options.hxx +157 -0
  608. package/deps/couchbase-cxx-client/docs/Doxyfile.in +2663 -0
  609. package/deps/couchbase-cxx-client/docs/doxygen-awesome.css +2137 -0
  610. package/deps/couchbase-cxx-client/docs/mainpage.hxx +35 -0
  611. package/deps/couchbase-cxx-client/docs/stability.hxx +68 -0
  612. package/deps/couchbase-cxx-client/test/CMakeLists.txt +6 -0
  613. package/deps/couchbase-cxx-client/test/benchmark_integration_get.cxx +5 -6
  614. package/deps/couchbase-cxx-client/test/profile.hxx +62 -0
  615. package/deps/couchbase-cxx-client/test/test_helper.hxx +3 -0
  616. package/deps/couchbase-cxx-client/test/test_helper_integration.hxx +1 -1
  617. package/deps/couchbase-cxx-client/test/test_integration_analytics.cxx +64 -63
  618. package/deps/couchbase-cxx-client/test/test_integration_arithmetic.cxx +119 -20
  619. package/deps/couchbase-cxx-client/test/test_integration_binary_operations.cxx +26 -38
  620. package/deps/couchbase-cxx-client/test/test_integration_collections.cxx +39 -39
  621. package/deps/couchbase-cxx-client/test/test_integration_connect.cxx +19 -19
  622. package/deps/couchbase-cxx-client/test/test_integration_crud.cxx +197 -182
  623. package/deps/couchbase-cxx-client/test/test_integration_diagnostics.cxx +75 -76
  624. package/deps/couchbase-cxx-client/test/test_integration_durability.cxx +171 -26
  625. package/deps/couchbase-cxx-client/test/test_integration_management.cxx +632 -573
  626. package/deps/couchbase-cxx-client/test/test_integration_meter.cxx +180 -0
  627. package/deps/couchbase-cxx-client/test/test_integration_query.cxx +114 -71
  628. package/deps/couchbase-cxx-client/test/test_integration_read_replica.cxx +232 -0
  629. package/deps/couchbase-cxx-client/test/test_integration_subdoc.cxx +336 -297
  630. package/deps/couchbase-cxx-client/test/test_integration_tracer.cxx +304 -0
  631. package/deps/couchbase-cxx-client/test/test_integration_transcoders.cxx +574 -0
  632. package/deps/couchbase-cxx-client/test/test_unit_config_profiles.cxx +132 -0
  633. package/deps/couchbase-cxx-client/test/test_unit_connection_string.cxx +166 -165
  634. package/deps/couchbase-cxx-client/test/test_unit_json_streaming_lexer.cxx +19 -18
  635. package/deps/couchbase-cxx-client/test/test_unit_json_transcoder.cxx +210 -0
  636. package/deps/couchbase-cxx-client/test/test_unit_jsonsl.cxx +1 -1
  637. package/deps/couchbase-cxx-client/test/test_unit_utils.cxx +23 -21
  638. package/deps/couchbase-cxx-client/test/tools/tool_kv_loader.cxx +31 -27
  639. package/deps/couchbase-cxx-client/test/utils/CMakeLists.txt +1 -0
  640. package/deps/couchbase-cxx-client/test/utils/binary.cxx +27 -0
  641. package/deps/couchbase-cxx-client/test/utils/binary.hxx +27 -0
  642. package/deps/couchbase-cxx-client/test/utils/integration_shortcuts.cxx +6 -6
  643. package/deps/couchbase-cxx-client/test/utils/integration_shortcuts.hxx +7 -8
  644. package/deps/couchbase-cxx-client/test/utils/integration_test_guard.cxx +27 -12
  645. package/deps/couchbase-cxx-client/test/utils/integration_test_guard.hxx +16 -15
  646. package/deps/couchbase-cxx-client/test/utils/logger.cxx +5 -3
  647. package/deps/couchbase-cxx-client/test/utils/logger.hxx +1 -1
  648. package/deps/couchbase-cxx-client/test/utils/server_version.hxx +1 -1
  649. package/deps/couchbase-cxx-client/test/utils/test_context.hxx +3 -3
  650. package/deps/couchbase-cxx-client/test/utils/wait_until.cxx +4 -4
  651. package/deps/couchbase-cxx-client/test/utils/wait_until.hxx +5 -5
  652. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/.github/workflows/tests.yml +1 -1
  653. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/.idea/misc.xml +1 -0
  654. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/CMakeLists.txt +208 -21
  655. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/CODE_OF_CONDUCT.md +4 -0
  656. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/CONTRIBUTING.md +35 -0
  657. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/bin/build-tests +7 -0
  658. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/bin/build-tests.rb +1 -0
  659. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/bin/run-tests +6 -0
  660. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/cmake/Documentation.cmake +35 -0
  661. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/analytics_scan_consistency.hxx +26 -0
  662. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/bucket.hxx +553 -0
  663. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/capella_ca.hxx +43 -0
  664. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/cluster.cxx +124 -0
  665. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/cluster.hxx +476 -0
  666. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/cluster_options.cxx +45 -0
  667. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/cluster_options.hxx +82 -0
  668. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/crypto/CMakeLists.txt +12 -0
  669. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/crypto/cbcrypto.cc +897 -0
  670. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/crypto/cbcrypto.h +88 -0
  671. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/design_document_namespace.hxx +26 -0
  672. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/design_document_namespace_fmt.hxx +47 -0
  673. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/diagnostics.hxx +97 -0
  674. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/diagnostics_fmt.hxx +113 -0
  675. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/diagnostics_json.hxx +100 -0
  676. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/document_id.cxx +102 -0
  677. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/document_id.hxx +119 -0
  678. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/document_id_fmt.hxx +37 -0
  679. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/error_context/analytics.hxx +51 -0
  680. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/error_context/http.hxx +47 -0
  681. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/error_context/key_value.cxx +58 -0
  682. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/error_context/key_value.hxx +83 -0
  683. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/error_context/query.hxx +51 -0
  684. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/error_context/search.hxx +50 -0
  685. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/error_context/view.hxx +51 -0
  686. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/analytics_error_category.cxx +62 -0
  687. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/append.cxx +84 -0
  688. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/build_deferred_query_indexes.cxx +81 -0
  689. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/common_error_category.cxx +87 -0
  690. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/decrement.cxx +87 -0
  691. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/expiry.cxx +99 -0
  692. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/field_level_encryption_error_category.cxx +63 -0
  693. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/get.cxx +66 -0
  694. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/get_all_replicas.cxx +139 -0
  695. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/get_all_replicas.hxx +79 -0
  696. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/get_and_touch.cxx +48 -0
  697. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/get_any_replica.cxx +134 -0
  698. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/get_any_replica.hxx +76 -0
  699. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/get_replica.cxx +44 -0
  700. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/get_replica.hxx +52 -0
  701. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/increment.cxx +87 -0
  702. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/insert.cxx +89 -0
  703. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/key_value_error_category.cxx +99 -0
  704. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/lookup_in.cxx +67 -0
  705. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/management_error_category.cxx +75 -0
  706. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/mutate_in.cxx +125 -0
  707. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/network_error_category.cxx +59 -0
  708. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/observe_poll.cxx +355 -0
  709. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/observe_poll.hxx +48 -0
  710. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/observe_seqno.cxx +47 -0
  711. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/observe_seqno.hxx +63 -0
  712. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/prepend.cxx +84 -0
  713. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/query_error_category.cxx +55 -0
  714. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/remove.cxx +83 -0
  715. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/replace.cxx +93 -0
  716. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/search_error_category.cxx +51 -0
  717. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/streaming_json_lexter_error_category.cxx +102 -0
  718. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/array_add_unique.cxx +36 -0
  719. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/array_append.cxx +37 -0
  720. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/array_insert.cxx +37 -0
  721. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/array_prepend.cxx +37 -0
  722. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/command.hxx +41 -0
  723. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/command_bundle.hxx +42 -0
  724. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/count.cxx +36 -0
  725. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/counter.cxx +37 -0
  726. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/exists.cxx +36 -0
  727. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/get.cxx +36 -0
  728. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/insert.cxx +36 -0
  729. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/join_values.cxx +56 -0
  730. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/join_values.hxx +27 -0
  731. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/lookup_in_macro.cxx +109 -0
  732. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/lookup_in_specs.cxx +42 -0
  733. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/mutate_in_macro.cxx +76 -0
  734. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/mutate_in_specs.cxx +42 -0
  735. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/opcode.hxx +47 -0
  736. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/path_flags.hxx +77 -0
  737. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/remove.cxx +36 -0
  738. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/replace.cxx +36 -0
  739. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/upsert.cxx +36 -0
  740. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/touch.cxx +48 -0
  741. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/upsert.cxx +91 -0
  742. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/view_error_category.cxx +50 -0
  743. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/with_legacy_durability.hxx +65 -0
  744. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/CMakeLists.txt +12 -0
  745. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/dns_client.hxx +218 -0
  746. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/dns_codec.hxx +206 -0
  747. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/dns_config.hxx +115 -0
  748. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/dns_message.hxx +555 -0
  749. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/http_command.hxx +178 -0
  750. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/http_context.hxx +40 -0
  751. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/http_message.hxx +116 -0
  752. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/http_parser.cxx +141 -0
  753. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/http_parser.hxx +55 -0
  754. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/http_session.hxx +551 -0
  755. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/http_session_manager.hxx +383 -0
  756. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/http_traits.hxx +38 -0
  757. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/ip_protocol.hxx +28 -0
  758. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/mcbp_command.hxx +305 -0
  759. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/mcbp_context.hxx +39 -0
  760. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/mcbp_message.cxx +39 -0
  761. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/mcbp_message.hxx +55 -0
  762. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/mcbp_parser.cxx +88 -0
  763. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/mcbp_parser.hxx +45 -0
  764. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/mcbp_session.hxx +1336 -0
  765. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/mcbp_traits.hxx +38 -0
  766. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/query_cache.hxx +71 -0
  767. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/retry_action.hxx +30 -0
  768. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/retry_context.hxx +38 -0
  769. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/retry_orchestrator.hxx +112 -0
  770. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/retry_reason.hxx +86 -0
  771. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/retry_strategy.hxx +152 -0
  772. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/streams.hxx +253 -0
  773. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/json_string.hxx +48 -0
  774. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/logger/CMakeLists.txt +9 -0
  775. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/logger/configuration.hxx +57 -0
  776. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/logger/custom_rotating_file_sink.cxx +157 -0
  777. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/{couchbase → core}/logger/custom_rotating_file_sink.hxx +0 -0
  778. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/logger/logger.cxx +340 -0
  779. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/logger/logger.hxx +242 -0
  780. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/analytics_dataset.hxx +30 -0
  781. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/analytics_index.hxx +30 -0
  782. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/analytics_link.hxx +22 -0
  783. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/analytics_link_azure_blob_external.cxx +68 -0
  784. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/analytics_link_azure_blob_external.hxx +76 -0
  785. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/analytics_link_azure_blob_external_json.hxx +52 -0
  786. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/analytics_link_couchbase_remote.cxx +105 -0
  787. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/analytics_link_couchbase_remote.hxx +107 -0
  788. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/analytics_link_couchbase_remote_json.hxx +63 -0
  789. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/analytics_link_s3_external.cxx +58 -0
  790. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/analytics_link_s3_external.hxx +69 -0
  791. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/analytics_link_s3_external_json.hxx +47 -0
  792. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/bucket_settings.hxx +134 -0
  793. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/bucket_settings_json.hxx +123 -0
  794. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/design_document.hxx +41 -0
  795. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/eventing_function.hxx +188 -0
  796. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/eventing_function_json.hxx +212 -0
  797. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/eventing_status.hxx +84 -0
  798. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/eventing_status_json.hxx +77 -0
  799. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/query_index.hxx +39 -0
  800. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/rbac.hxx +77 -0
  801. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/rbac_fmt.hxx +49 -0
  802. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/rbac_json.hxx +179 -0
  803. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/search_index.hxx +38 -0
  804. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/search_index_json.hxx +58 -0
  805. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/meta/CMakeLists.txt +15 -0
  806. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/meta/version.cxx +190 -0
  807. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/meta/version.hxx +45 -0
  808. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/metrics/CMakeLists.txt +10 -0
  809. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/metrics/logging_meter.cxx +194 -0
  810. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/metrics/logging_meter.hxx +74 -0
  811. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/metrics/logging_meter_options.hxx +28 -0
  812. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/metrics/meter.hxx +52 -0
  813. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/metrics/noop_meter.hxx +47 -0
  814. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_analytics.cxx +221 -0
  815. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_analytics.hxx +113 -0
  816. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_append.cxx +45 -0
  817. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_append.hxx +78 -0
  818. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_decrement.cxx +53 -0
  819. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_decrement.hxx +81 -0
  820. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_exists.cxx +50 -0
  821. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_exists.hxx +72 -0
  822. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_get.cxx +44 -0
  823. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_get.hxx +62 -0
  824. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_get_all_replicas.hxx +143 -0
  825. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_get_and_lock.cxx +45 -0
  826. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_get_and_lock.hxx +64 -0
  827. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_get_and_touch.cxx +45 -0
  828. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_get_and_touch.hxx +65 -0
  829. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_get_any_replica.hxx +133 -0
  830. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_get_projected.cxx +237 -0
  831. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_get_projected.hxx +68 -0
  832. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_increment.cxx +53 -0
  833. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_increment.hxx +81 -0
  834. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_insert.cxx +51 -0
  835. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_insert.hxx +80 -0
  836. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_lookup_in.cxx +97 -0
  837. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_lookup_in.hxx +77 -0
  838. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_mutate_in.cxx +117 -0
  839. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_mutate_in.hxx +95 -0
  840. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_prepend.cxx +45 -0
  841. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_prepend.hxx +78 -0
  842. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_query.cxx +385 -0
  843. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_query.hxx +129 -0
  844. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_remove.cxx +45 -0
  845. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_remove.hxx +78 -0
  846. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_replace.cxx +55 -0
  847. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_replace.hxx +82 -0
  848. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_search.cxx +312 -0
  849. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_search.hxx +163 -0
  850. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_touch.cxx +43 -0
  851. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_touch.hxx +61 -0
  852. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_unlock.cxx +43 -0
  853. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_unlock.hxx +61 -0
  854. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_upsert.cxx +54 -0
  855. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_upsert.hxx +81 -0
  856. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_view.cxx +197 -0
  857. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_view.hxx +109 -0
  858. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/http_noop.cxx +64 -0
  859. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/http_noop.hxx +48 -0
  860. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/CMakeLists.txt +79 -0
  861. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics.hxx +34 -0
  862. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_dataset_create.cxx +93 -0
  863. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_dataset_create.hxx +57 -0
  864. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_dataset_drop.cxx +82 -0
  865. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_dataset_drop.hxx +54 -0
  866. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_dataset_get_all.cxx +78 -0
  867. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_dataset_get_all.hxx +52 -0
  868. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_dataverse_create.cxx +81 -0
  869. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_dataverse_create.hxx +53 -0
  870. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_dataverse_drop.cxx +81 -0
  871. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_dataverse_drop.hxx +53 -0
  872. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_get_pending_mutations.cxx +69 -0
  873. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_get_pending_mutations.hxx +52 -0
  874. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_index_create.cxx +105 -0
  875. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_index_create.hxx +56 -0
  876. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_index_drop.cxx +89 -0
  877. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_index_drop.hxx +55 -0
  878. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_index_get_all.cxx +79 -0
  879. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_index_get_all.hxx +52 -0
  880. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_link_connect.cxx +81 -0
  881. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_link_connect.hxx +57 -0
  882. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_link_create.cxx +86 -0
  883. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_link_create.hxx +77 -0
  884. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_link_disconnect.cxx +79 -0
  885. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_link_disconnect.hxx +56 -0
  886. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_link_drop.cxx +102 -0
  887. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_link_drop.hxx +56 -0
  888. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_link_get_all.cxx +128 -0
  889. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_link_get_all.hxx +63 -0
  890. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_link_replace.cxx +86 -0
  891. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_link_replace.hxx +78 -0
  892. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_link_utils.hxx +37 -0
  893. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_problem.hxx +30 -0
  894. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/bucket.hxx +25 -0
  895. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/bucket_create.cxx +171 -0
  896. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/bucket_create.hxx +52 -0
  897. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/bucket_describe.cxx +66 -0
  898. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/bucket_describe.hxx +61 -0
  899. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/bucket_drop.cxx +51 -0
  900. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/bucket_drop.hxx +49 -0
  901. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/bucket_flush.cxx +58 -0
  902. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/bucket_flush.hxx +49 -0
  903. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/bucket_get.cxx +58 -0
  904. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/bucket_get.hxx +51 -0
  905. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/bucket_get_all.cxx +58 -0
  906. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/bucket_get_all.hxx +49 -0
  907. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/bucket_update.cxx +130 -0
  908. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/bucket_update.hxx +52 -0
  909. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/cluster_describe.cxx +89 -0
  910. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/cluster_describe.hxx +72 -0
  911. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/cluster_developer_preview_enable.cxx +43 -0
  912. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/cluster_developer_preview_enable.hxx +48 -0
  913. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/collection_create.cxx +82 -0
  914. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/collection_create.hxx +53 -0
  915. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/collection_drop.cxx +72 -0
  916. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/collection_drop.hxx +52 -0
  917. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/collections.hxx +25 -0
  918. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/collections_manifest_get.cxx +40 -0
  919. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/collections_manifest_get.hxx +53 -0
  920. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/error_utils.cxx +267 -0
  921. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/error_utils.hxx +49 -0
  922. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/eventing.hxx +28 -0
  923. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/eventing_deploy_function.cxx +55 -0
  924. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/eventing_deploy_function.hxx +52 -0
  925. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/eventing_drop_function.cxx +56 -0
  926. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/eventing_drop_function.hxx +52 -0
  927. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/eventing_get_all_functions.cxx +63 -0
  928. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/eventing_get_all_functions.hxx +51 -0
  929. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/eventing_get_function.cxx +55 -0
  930. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/eventing_get_function.hxx +53 -0
  931. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/eventing_get_status.cxx +55 -0
  932. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/eventing_get_status.hxx +53 -0
  933. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/eventing_pause_function.cxx +55 -0
  934. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/eventing_pause_function.hxx +52 -0
  935. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/eventing_problem.hxx +31 -0
  936. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/eventing_resume_function.cxx +55 -0
  937. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/eventing_resume_function.hxx +52 -0
  938. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/eventing_undeploy_function.cxx +55 -0
  939. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/eventing_undeploy_function.hxx +52 -0
  940. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/eventing_upsert_function.cxx +340 -0
  941. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/eventing_upsert_function.hxx +52 -0
  942. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/freeform.cxx +54 -0
  943. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/freeform.hxx +55 -0
  944. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/group_drop.cxx +50 -0
  945. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/group_drop.hxx +49 -0
  946. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/group_get.cxx +59 -0
  947. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/group_get.hxx +50 -0
  948. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/group_get_all.cxx +57 -0
  949. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/group_get_all.hxx +49 -0
  950. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/group_upsert.cxx +95 -0
  951. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/group_upsert.hxx +51 -0
  952. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/query.hxx +24 -0
  953. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/query_index_build.cxx +93 -0
  954. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/query_index_build.hxx +60 -0
  955. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/query_index_create.cxx +148 -0
  956. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/query_index_create.hxx +65 -0
  957. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/query_index_drop.cxx +128 -0
  958. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/query_index_drop.hxx +61 -0
  959. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/query_index_get_all.cxx +125 -0
  960. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/query_index_get_all.hxx +54 -0
  961. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/query_index_get_all_deferred.cxx +79 -0
  962. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/query_index_get_all_deferred.hxx +55 -0
  963. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/role_get_all.cxx +57 -0
  964. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/role_get_all.hxx +49 -0
  965. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/scope_create.cxx +74 -0
  966. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/scope_create.hxx +51 -0
  967. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/scope_drop.cxx +69 -0
  968. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/scope_drop.hxx +51 -0
  969. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/scope_get_all.cxx +61 -0
  970. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/scope_get_all.hxx +51 -0
  971. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search.hxx +30 -0
  972. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_get_stats.cxx +41 -0
  973. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_get_stats.hxx +48 -0
  974. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_index_analyze_document.cxx +84 -0
  975. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_index_analyze_document.hxx +54 -0
  976. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_index_control_ingest.cxx +72 -0
  977. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_index_control_ingest.hxx +52 -0
  978. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_index_control_plan_freeze.cxx +72 -0
  979. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_index_control_plan_freeze.hxx +57 -0
  980. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_index_control_query.cxx +72 -0
  981. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_index_control_query.hxx +52 -0
  982. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_index_drop.cxx +71 -0
  983. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_index_drop.hxx +51 -0
  984. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_index_get.cxx +74 -0
  985. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_index_get.hxx +54 -0
  986. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_index_get_all.cxx +66 -0
  987. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_index_get_all.hxx +51 -0
  988. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_index_get_documents_count.cxx +78 -0
  989. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_index_get_documents_count.hxx +53 -0
  990. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_index_get_stats.cxx +70 -0
  991. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_index_get_stats.hxx +52 -0
  992. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_index_upsert.cxx +114 -0
  993. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_index_upsert.hxx +54 -0
  994. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/user.hxx +28 -0
  995. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/user_drop.cxx +51 -0
  996. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/user_drop.hxx +51 -0
  997. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/user_get.cxx +60 -0
  998. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/user_get.hxx +52 -0
  999. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/user_get_all.cxx +58 -0
  1000. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/user_get_all.hxx +51 -0
  1001. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/user_upsert.cxx +100 -0
  1002. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/user_upsert.hxx +52 -0
  1003. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/view.hxx +23 -0
  1004. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/view_index_drop.cxx +45 -0
  1005. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/view_index_drop.hxx +52 -0
  1006. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/view_index_get.cxx +73 -0
  1007. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/view_index_get.hxx +53 -0
  1008. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/view_index_get_all.cxx +107 -0
  1009. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/view_index_get_all.hxx +52 -0
  1010. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/view_index_upsert.cxx +70 -0
  1011. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/view_index_upsert.hxx +51 -0
  1012. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/mcbp_noop.cxx +38 -0
  1013. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/mcbp_noop.hxx +49 -0
  1014. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/operation_traits.hxx +31 -0
  1015. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations.hxx +44 -0
  1016. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/origin.hxx +195 -0
  1017. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/platform/CMakeLists.txt +16 -0
  1018. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/platform/backtrace.c +189 -0
  1019. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/{couchbase → core}/platform/backtrace.h +0 -0
  1020. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/platform/base64.cc +234 -0
  1021. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/platform/base64.h +44 -0
  1022. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/platform/dirutils.cc +123 -0
  1023. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/platform/dirutils.h +43 -0
  1024. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/platform/random.cc +120 -0
  1025. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/platform/random.h +39 -0
  1026. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/platform/string_hex.cc +101 -0
  1027. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/platform/string_hex.h +50 -0
  1028. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/platform/terminate_handler.cc +125 -0
  1029. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/platform/terminate_handler.h +36 -0
  1030. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/platform/uuid.cc +98 -0
  1031. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/platform/uuid.h +56 -0
  1032. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/client_opcode.hxx +359 -0
  1033. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/client_opcode_fmt.hxx +316 -0
  1034. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/client_request.cxx +38 -0
  1035. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/client_request.hxx +168 -0
  1036. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/client_response.cxx +75 -0
  1037. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/client_response.hxx +210 -0
  1038. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_append.cxx +74 -0
  1039. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_append.hxx +107 -0
  1040. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_cluster_map_change_notification.cxx +53 -0
  1041. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_cluster_map_change_notification.hxx +57 -0
  1042. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_decrement.cxx +96 -0
  1043. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_decrement.hxx +130 -0
  1044. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_get.cxx +59 -0
  1045. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_get.hxx +96 -0
  1046. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_get_and_lock.cxx +66 -0
  1047. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_get_and_lock.hxx +112 -0
  1048. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_get_and_touch.cxx +66 -0
  1049. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_get_and_touch.hxx +112 -0
  1050. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_get_cluster_config.cxx +85 -0
  1051. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_get_cluster_config.hxx +89 -0
  1052. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_get_collection_id.cxx +60 -0
  1053. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_get_collection_id.hxx +95 -0
  1054. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_get_collections_manifest.cxx +51 -0
  1055. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_get_collections_manifest.hxx +84 -0
  1056. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_get_error_map.cxx +61 -0
  1057. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_get_error_map.hxx +103 -0
  1058. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_get_meta.cxx +70 -0
  1059. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_get_meta.hxx +117 -0
  1060. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_get_replica.cxx +71 -0
  1061. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_get_replica.hxx +88 -0
  1062. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_hello.cxx +76 -0
  1063. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_hello.hxx +136 -0
  1064. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_increment.cxx +98 -0
  1065. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_increment.hxx +130 -0
  1066. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_info.hxx +29 -0
  1067. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_insert.cxx +83 -0
  1068. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_insert.hxx +124 -0
  1069. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_lookup_in.cxx +108 -0
  1070. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_lookup_in.hxx +139 -0
  1071. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_mutate_in.cxx +163 -0
  1072. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_mutate_in.hxx +216 -0
  1073. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_noop.cxx +36 -0
  1074. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_noop.hxx +75 -0
  1075. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_observe_seqno.cxx +92 -0
  1076. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_observe_seqno.hxx +132 -0
  1077. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_prepend.cxx +73 -0
  1078. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_prepend.hxx +103 -0
  1079. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_remove.cxx +74 -0
  1080. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_remove.hxx +94 -0
  1081. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_replace.cxx +92 -0
  1082. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_replace.hxx +131 -0
  1083. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_sasl_auth.cxx +61 -0
  1084. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_sasl_auth.hxx +91 -0
  1085. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_sasl_list_mechs.cxx +53 -0
  1086. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_sasl_list_mechs.hxx +82 -0
  1087. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_sasl_step.cxx +61 -0
  1088. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_sasl_step.hxx +91 -0
  1089. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_select_bucket.cxx +45 -0
  1090. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_select_bucket.hxx +79 -0
  1091. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_touch.cxx +53 -0
  1092. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_touch.hxx +84 -0
  1093. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_unlock.cxx +44 -0
  1094. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_unlock.hxx +81 -0
  1095. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_upsert.cxx +92 -0
  1096. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_upsert.hxx +126 -0
  1097. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/datatype.hxx +48 -0
  1098. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/enhanced_error_info.hxx +23 -0
  1099. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/frame_info_id.hxx +142 -0
  1100. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/frame_info_id_fmt.hxx +79 -0
  1101. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/frame_info_utils.cxx +59 -0
  1102. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/frame_info_utils.hxx +52 -0
  1103. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/hello_feature.hxx +186 -0
  1104. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/hello_feature_fmt.hxx +106 -0
  1105. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/magic.hxx +53 -0
  1106. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/magic_fmt.hxx +58 -0
  1107. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/server_opcode.hxx +39 -0
  1108. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/server_opcode_fmt.hxx +46 -0
  1109. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/server_request.hxx +121 -0
  1110. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/status.cxx +187 -0
  1111. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/status.hxx +112 -0
  1112. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/query_profile_mode.hxx +27 -0
  1113. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/query_scan_consistency.hxx +23 -0
  1114. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/sasl/CMakeLists.txt +16 -0
  1115. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/sasl/client.cc +50 -0
  1116. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/sasl/client.h +127 -0
  1117. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/sasl/context.cc +34 -0
  1118. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/sasl/context.h +52 -0
  1119. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/sasl/error.h +28 -0
  1120. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/sasl/error_fmt.h +70 -0
  1121. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/sasl/mechanism.cc +45 -0
  1122. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/sasl/mechanism.h +52 -0
  1123. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/sasl/plain/plain.cc +39 -0
  1124. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/sasl/plain/plain.h +54 -0
  1125. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/sasl/scram-sha/scram-sha.cc +372 -0
  1126. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/sasl/scram-sha/scram-sha.h +184 -0
  1127. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/sasl/scram-sha/stringutils.cc +82 -0
  1128. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/sasl/scram-sha/stringutils.h +48 -0
  1129. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/search_highlight_style.hxx +23 -0
  1130. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/search_scan_consistency.hxx +23 -0
  1131. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/service_type.hxx +31 -0
  1132. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/service_type_fmt.hxx +61 -0
  1133. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/timeout_defaults.hxx +43 -0
  1134. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/topology/capabilities.hxx +43 -0
  1135. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/topology/capabilities_fmt.hxx +106 -0
  1136. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/topology/collections_manifest.hxx +43 -0
  1137. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/topology/collections_manifest_fmt.hxx +52 -0
  1138. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/topology/collections_manifest_json.hxx +53 -0
  1139. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/topology/configuration.cxx +223 -0
  1140. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/topology/configuration.hxx +127 -0
  1141. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/topology/configuration_fmt.hxx +166 -0
  1142. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/topology/configuration_json.hxx +259 -0
  1143. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/topology/error_map.hxx +35 -0
  1144. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/topology/error_map_fmt.hxx +94 -0
  1145. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/topology/error_map_json.hxx +89 -0
  1146. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/tracing/CMakeLists.txt +9 -0
  1147. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/tracing/constants.hxx +274 -0
  1148. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/tracing/noop_tracer.hxx +55 -0
  1149. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/tracing/request_tracer.hxx +79 -0
  1150. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/tracing/threshold_logging_options.hxx +68 -0
  1151. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/tracing/threshold_logging_tracer.cxx +422 -0
  1152. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/tracing/threshold_logging_tracer.hxx +49 -0
  1153. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/binary.cxx +27 -0
  1154. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/binary.hxx +57 -0
  1155. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/byteswap.hxx +49 -0
  1156. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/connection_string.cxx +420 -0
  1157. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/connection_string.hxx +76 -0
  1158. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/crc32.hxx +49 -0
  1159. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/duration_parser.cxx +193 -0
  1160. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/duration_parser.hxx +45 -0
  1161. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/join_strings.hxx +65 -0
  1162. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/json.cxx +286 -0
  1163. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/json.hxx +43 -0
  1164. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/json_stream_control.hxx +32 -0
  1165. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/json_streaming_lexer.cxx +398 -0
  1166. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/json_streaming_lexer.hxx +59 -0
  1167. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/movable_function.hxx +110 -0
  1168. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/mutation_token.cxx +33 -0
  1169. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/mutation_token.hxx +29 -0
  1170. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/name_codec.hxx +41 -0
  1171. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/unsigned_leb128.hxx +181 -0
  1172. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/url_codec.cxx +404 -0
  1173. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/url_codec.hxx +72 -0
  1174. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/view_on_error.hxx +27 -0
  1175. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/view_scan_consistency.hxx +27 -0
  1176. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/view_sort_order.hxx +23 -0
  1177. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/append_options.hxx +123 -0
  1178. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/binary_collection.hxx +327 -0
  1179. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/bucket.hxx +55 -494
  1180. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/build_query_index_options.hxx +132 -0
  1181. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/cas.hxx +74 -8
  1182. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/cluster.hxx +49 -405
  1183. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/codec/codec_flags.hxx +145 -0
  1184. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/codec/encoded_value.hxx +31 -0
  1185. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/codec/json_transcoder.hxx +83 -0
  1186. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/codec/raw_binary_transcoder.hxx +53 -0
  1187. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/codec/transcoder_traits.hxx +31 -0
  1188. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/collection.hxx +847 -0
  1189. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/common_durability_options.hxx +108 -0
  1190. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/common_options.hxx +92 -0
  1191. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/counter_result.hxx +73 -0
  1192. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/decrement_options.hxx +165 -0
  1193. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/durability_level.hxx +64 -0
  1194. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/error_codes.hxx +1104 -0
  1195. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/error_context.hxx +173 -0
  1196. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/expiry.hxx +55 -0
  1197. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/fmt/cas.hxx +37 -0
  1198. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/fmt/durability_level.hxx +52 -0
  1199. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/fmt/key_value_extended_error_info.hxx +46 -0
  1200. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/fmt/key_value_status_code.hxx +242 -0
  1201. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/fmt/mutation_token.hxx +38 -0
  1202. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/fmt/retry_reason.hxx +103 -0
  1203. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/get_all_replicas_options.hxx +102 -0
  1204. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/get_and_touch_options.hxx +94 -0
  1205. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/get_any_replica_options.hxx +93 -0
  1206. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/get_options.hxx +116 -0
  1207. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/get_replica_result.hxx +117 -0
  1208. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/get_result.hxx +126 -0
  1209. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/increment_options.hxx +165 -0
  1210. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/insert_options.hxx +135 -0
  1211. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/key_value_error_context.hxx +224 -0
  1212. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/key_value_error_map_attribute.hxx +124 -0
  1213. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/key_value_error_map_info.hxx +138 -0
  1214. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/key_value_extended_error_info.hxx +86 -0
  1215. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/key_value_status_code.hxx +93 -0
  1216. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/lookup_in_options.hxx +117 -0
  1217. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/lookup_in_result.hxx +216 -0
  1218. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/lookup_in_specs.hxx +146 -0
  1219. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/manager_error_context.hxx +136 -0
  1220. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/metrics/otel_meter.hxx +131 -0
  1221. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/mutate_in_options.hxx +234 -0
  1222. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/mutate_in_result.hxx +135 -0
  1223. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/mutate_in_specs.hxx +528 -0
  1224. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/mutation_result.hxx +73 -0
  1225. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/mutation_token.hxx +93 -6
  1226. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/persist_to.hxx +73 -0
  1227. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/prepend_options.hxx +123 -0
  1228. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/query_index_manager.hxx +82 -0
  1229. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/remove_options.hxx +122 -0
  1230. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/replace_options.hxx +183 -0
  1231. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/replicate_to.hxx +55 -0
  1232. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/result.hxx +66 -0
  1233. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/retry_reason.hxx +101 -0
  1234. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/scope.hxx +101 -0
  1235. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/store_semantics.hxx +63 -0
  1236. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/subdoc/array_add_unique.hxx +105 -0
  1237. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/subdoc/array_append.hxx +89 -0
  1238. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/subdoc/array_insert.hxx +90 -0
  1239. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/subdoc/array_prepend.hxx +90 -0
  1240. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/subdoc/count.hxx +70 -0
  1241. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/subdoc/counter.hxx +88 -0
  1242. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/subdoc/exists.hxx +70 -0
  1243. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/subdoc/fwd/command.hxx +25 -0
  1244. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/subdoc/fwd/command_bundle.hxx +25 -0
  1245. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/subdoc/get.hxx +78 -0
  1246. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/subdoc/insert.hxx +105 -0
  1247. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/subdoc/lookup_in_macro.hxx +65 -0
  1248. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/subdoc/mutate_in_macro.hxx +54 -0
  1249. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/subdoc/remove.hxx +70 -0
  1250. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/subdoc/replace.hxx +89 -0
  1251. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/subdoc/upsert.hxx +105 -0
  1252. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/subdocument_error_context.hxx +144 -0
  1253. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/touch_options.hxx +94 -0
  1254. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/tracing/otel_tracer.hxx +85 -0
  1255. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/upsert_options.hxx +157 -0
  1256. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/docs/Doxyfile.in +2663 -0
  1257. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/docs/doxygen-awesome.css +2137 -0
  1258. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/docs/mainpage.hxx +35 -0
  1259. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/docs/stability.hxx +68 -0
  1260. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/CMakeLists.txt +5 -0
  1261. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/benchmark_integration_get.cxx +6 -6
  1262. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/profile.hxx +62 -0
  1263. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_helper.hxx +1 -0
  1264. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_helper_integration.hxx +1 -1
  1265. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_integration_analytics.cxx +50 -49
  1266. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_integration_arithmetic.cxx +119 -20
  1267. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_integration_binary_operations.cxx +32 -38
  1268. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_integration_collections.cxx +34 -34
  1269. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_integration_connect.cxx +17 -17
  1270. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_integration_crud.cxx +201 -182
  1271. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_integration_diagnostics.cxx +74 -74
  1272. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_integration_durability.cxx +181 -26
  1273. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_integration_management.cxx +460 -418
  1274. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_integration_meter.cxx +180 -0
  1275. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_integration_query.cxx +100 -51
  1276. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_integration_read_replica.cxx +234 -0
  1277. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_integration_subdoc.cxx +334 -295
  1278. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_integration_tracer.cxx +304 -0
  1279. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_integration_transcoders.cxx +531 -0
  1280. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_unit_connection_string.cxx +166 -165
  1281. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_unit_json_streaming_lexer.cxx +14 -13
  1282. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_unit_json_transcoder.cxx +204 -0
  1283. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_unit_jsonsl.cxx +1 -1
  1284. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_unit_utils.cxx +23 -21
  1285. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/tools/tool_kv_loader.cxx +31 -27
  1286. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/utils/CMakeLists.txt +1 -0
  1287. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/utils/binary.cxx +27 -0
  1288. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/utils/binary.hxx +27 -0
  1289. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/utils/integration_shortcuts.cxx +6 -6
  1290. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/utils/integration_shortcuts.hxx +7 -8
  1291. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/utils/integration_test_guard.cxx +27 -12
  1292. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/utils/integration_test_guard.hxx +16 -15
  1293. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/utils/logger.cxx +5 -3
  1294. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/utils/logger.hxx +1 -1
  1295. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/utils/server_version.hxx +1 -1
  1296. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/utils/test_context.hxx +3 -3
  1297. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/utils/wait_until.cxx +4 -4
  1298. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/utils/wait_until.hxx +5 -5
  1299. package/deps/couchbase-transactions-cxx/examples/game_server.cxx +22 -22
  1300. package/deps/couchbase-transactions-cxx/include/couchbase/transactions/async_attempt_context.hxx +9 -7
  1301. package/deps/couchbase-transactions-cxx/include/couchbase/transactions/attempt_context.hxx +7 -7
  1302. package/deps/couchbase-transactions-cxx/include/couchbase/transactions/internal/atr_cleanup_entry.hxx +3 -5
  1303. package/deps/couchbase-transactions-cxx/include/couchbase/transactions/internal/doc_record.hxx +3 -3
  1304. package/deps/couchbase-transactions-cxx/include/couchbase/transactions/internal/exceptions_internal.hxx +1 -0
  1305. package/deps/couchbase-transactions-cxx/include/couchbase/transactions/internal/transaction_context.hxx +4 -4
  1306. package/deps/couchbase-transactions-cxx/include/couchbase/transactions/internal/transactions_cleanup.hxx +10 -18
  1307. package/deps/couchbase-transactions-cxx/include/couchbase/transactions/internal/utils.hxx +36 -37
  1308. package/deps/couchbase-transactions-cxx/include/couchbase/transactions/per_transaction_config.hxx +5 -5
  1309. package/deps/couchbase-transactions-cxx/include/couchbase/transactions/transaction_config.hxx +5 -5
  1310. package/deps/couchbase-transactions-cxx/include/couchbase/transactions/transaction_get_result.hxx +8 -8
  1311. package/deps/couchbase-transactions-cxx/include/couchbase/transactions/transaction_keyspace.hxx +2 -2
  1312. package/deps/couchbase-transactions-cxx/include/couchbase/transactions/transaction_query_options.hxx +11 -10
  1313. package/deps/couchbase-transactions-cxx/include/couchbase/transactions.hxx +8 -8
  1314. package/deps/couchbase-transactions-cxx/src/transactions/active_transaction_record.cxx +2 -3
  1315. package/deps/couchbase-transactions-cxx/src/transactions/active_transaction_record.hxx +27 -21
  1316. package/deps/couchbase-transactions-cxx/src/transactions/atr_cleanup_entry.cxx +67 -51
  1317. package/deps/couchbase-transactions-cxx/src/transactions/atr_ids.cxx +2 -2
  1318. package/deps/couchbase-transactions-cxx/src/transactions/attempt_context_impl.cxx +199 -192
  1319. package/deps/couchbase-transactions-cxx/src/transactions/attempt_context_impl.hxx +26 -26
  1320. package/deps/couchbase-transactions-cxx/src/transactions/binary_utils.cxx +28 -0
  1321. package/deps/couchbase-transactions-cxx/src/transactions/binary_utils.hxx +30 -0
  1322. package/deps/couchbase-transactions-cxx/src/transactions/exceptions.cxx +11 -12
  1323. package/deps/couchbase-transactions-cxx/src/transactions/logging.cxx +10 -10
  1324. package/deps/couchbase-transactions-cxx/src/transactions/result.cxx +1 -1
  1325. package/deps/couchbase-transactions-cxx/src/transactions/result.hxx +33 -13
  1326. package/deps/couchbase-transactions-cxx/src/transactions/staged_mutation.cxx +54 -34
  1327. package/deps/couchbase-transactions-cxx/src/transactions/staged_mutation.hxx +7 -7
  1328. package/deps/couchbase-transactions-cxx/src/transactions/transaction_config.cxx +1 -1
  1329. package/deps/couchbase-transactions-cxx/src/transactions/transaction_context.cxx +3 -3
  1330. package/deps/couchbase-transactions-cxx/src/transactions/transaction_get_result.cxx +33 -29
  1331. package/deps/couchbase-transactions-cxx/src/transactions/transaction_query_options.cxx +4 -4
  1332. package/deps/couchbase-transactions-cxx/src/transactions/transactions.cxx +1 -1
  1333. package/deps/couchbase-transactions-cxx/src/transactions/transactions_cleanup.cxx +50 -42
  1334. package/deps/couchbase-transactions-cxx/src/transactions/uid_generator.cxx +4 -2
  1335. package/deps/couchbase-transactions-cxx/tests/transactions/logging_t.cpp +16 -17
  1336. package/deps/couchbase-transactions-cxx/tests/transactions/simple_async_t.cpp +21 -21
  1337. package/deps/couchbase-transactions-cxx/tests/transactions/simple_t.cpp +4 -4
  1338. package/deps/couchbase-transactions-cxx/tests/transactions/transaction_context_t.cpp +13 -13
  1339. package/deps/couchbase-transactions-cxx/tests/transactions/transactions_env.h +35 -33
  1340. package/deps/couchbase-transactions-cxx/tests/transactions/waitable_op_list_t.cpp +8 -5
  1341. package/dist/analyticsexecutor.js +1 -1
  1342. package/dist/authenticators.d.ts +18 -0
  1343. package/dist/authenticators.js +15 -0
  1344. package/dist/binarycollection.d.ts +48 -0
  1345. package/dist/binding.d.ts +518 -295
  1346. package/dist/binding.js +55 -40
  1347. package/dist/bindingutilities.d.ts +16 -4
  1348. package/dist/bindingutilities.js +208 -87
  1349. package/dist/bucketmanager.d.ts +21 -21
  1350. package/dist/bucketmanager.js +6 -5
  1351. package/dist/cluster.d.ts +12 -0
  1352. package/dist/cluster.js +38 -8
  1353. package/dist/collection.d.ts +121 -1
  1354. package/dist/collection.js +304 -53
  1355. package/dist/configProfile.d.ts +69 -0
  1356. package/dist/configProfile.js +80 -0
  1357. package/dist/crudoptypes.d.ts +27 -0
  1358. package/dist/crudoptypes.js +17 -1
  1359. package/dist/errors.d.ts +16 -0
  1360. package/dist/errors.js +24 -2
  1361. package/dist/queryindexmanager.js +2 -2
  1362. package/dist/streamablepromises.d.ts +8 -0
  1363. package/dist/streamablepromises.js +23 -1
  1364. package/package.json +1 -1
  1365. package/src/binding.cpp +10 -10
  1366. package/src/cas.cpp +2 -2
  1367. package/src/connection.cpp +34 -9
  1368. package/src/connection.hpp +18 -3
  1369. package/src/connection_autogen.cpp +429 -232
  1370. package/src/constants.cpp +736 -588
  1371. package/src/instance.cpp +1 -1
  1372. package/src/instance.hpp +2 -2
  1373. package/src/jstocbpp_autogen.hpp +3250 -2192
  1374. package/src/jstocbpp_basic.hpp +13 -12
  1375. package/src/jstocbpp_errors.hpp +74 -42
  1376. package/src/jstocbpp_transactions.hpp +27 -27
  1377. package/src/mutationtoken.cpp +17 -20
  1378. package/src/mutationtoken.hpp +1 -1
  1379. package/src/transaction.cpp +30 -27
  1380. package/src/transactions.hpp +1 -1
  1381. package/tools/gen-bindings-js.js +43 -9
  1382. package/tools/gen-bindings-json.py +159 -101
  1383. package/deps/couchbase-cxx-client/couchbase/analytics_scan_consistency.hxx +0 -26
  1384. package/deps/couchbase-cxx-client/couchbase/capella_ca.hxx +0 -43
  1385. package/deps/couchbase-cxx-client/couchbase/cas_fmt.hxx +0 -37
  1386. package/deps/couchbase-cxx-client/couchbase/cluster.cxx +0 -124
  1387. package/deps/couchbase-cxx-client/couchbase/cluster_options.cxx +0 -45
  1388. package/deps/couchbase-cxx-client/couchbase/cluster_options.hxx +0 -78
  1389. package/deps/couchbase-cxx-client/couchbase/crypto/CMakeLists.txt +0 -12
  1390. package/deps/couchbase-cxx-client/couchbase/crypto/cbcrypto.cc +0 -887
  1391. package/deps/couchbase-cxx-client/couchbase/crypto/cbcrypto.h +0 -88
  1392. package/deps/couchbase-cxx-client/couchbase/design_document_namespace.hxx +0 -26
  1393. package/deps/couchbase-cxx-client/couchbase/design_document_namespace_fmt.hxx +0 -47
  1394. package/deps/couchbase-cxx-client/couchbase/diagnostics.hxx +0 -97
  1395. package/deps/couchbase-cxx-client/couchbase/diagnostics_fmt.hxx +0 -113
  1396. package/deps/couchbase-cxx-client/couchbase/diagnostics_json.hxx +0 -100
  1397. package/deps/couchbase-cxx-client/couchbase/document_id.cxx +0 -106
  1398. package/deps/couchbase-cxx-client/couchbase/document_id.hxx +0 -107
  1399. package/deps/couchbase-cxx-client/couchbase/document_id_fmt.hxx +0 -37
  1400. package/deps/couchbase-cxx-client/couchbase/error_context/analytics.hxx +0 -51
  1401. package/deps/couchbase-cxx-client/couchbase/error_context/http.hxx +0 -47
  1402. package/deps/couchbase-cxx-client/couchbase/error_context/key_value.hxx +0 -50
  1403. package/deps/couchbase-cxx-client/couchbase/error_context/query.hxx +0 -51
  1404. package/deps/couchbase-cxx-client/couchbase/error_context/search.hxx +0 -50
  1405. package/deps/couchbase-cxx-client/couchbase/error_context/view.hxx +0 -51
  1406. package/deps/couchbase-cxx-client/couchbase/errors.hxx +0 -1038
  1407. package/deps/couchbase-cxx-client/couchbase/io/CMakeLists.txt +0 -12
  1408. package/deps/couchbase-cxx-client/couchbase/io/dns_client.hxx +0 -217
  1409. package/deps/couchbase-cxx-client/couchbase/io/dns_codec.hxx +0 -206
  1410. package/deps/couchbase-cxx-client/couchbase/io/dns_config.hxx +0 -115
  1411. package/deps/couchbase-cxx-client/couchbase/io/dns_message.hxx +0 -555
  1412. package/deps/couchbase-cxx-client/couchbase/io/http_command.hxx +0 -174
  1413. package/deps/couchbase-cxx-client/couchbase/io/http_context.hxx +0 -40
  1414. package/deps/couchbase-cxx-client/couchbase/io/http_message.hxx +0 -116
  1415. package/deps/couchbase-cxx-client/couchbase/io/http_parser.cxx +0 -141
  1416. package/deps/couchbase-cxx-client/couchbase/io/http_parser.hxx +0 -55
  1417. package/deps/couchbase-cxx-client/couchbase/io/http_session.hxx +0 -548
  1418. package/deps/couchbase-cxx-client/couchbase/io/http_session_manager.hxx +0 -381
  1419. package/deps/couchbase-cxx-client/couchbase/io/http_traits.hxx +0 -30
  1420. package/deps/couchbase-cxx-client/couchbase/io/ip_protocol.hxx +0 -28
  1421. package/deps/couchbase-cxx-client/couchbase/io/mcbp_command.hxx +0 -300
  1422. package/deps/couchbase-cxx-client/couchbase/io/mcbp_context.hxx +0 -39
  1423. package/deps/couchbase-cxx-client/couchbase/io/mcbp_message.cxx +0 -39
  1424. package/deps/couchbase-cxx-client/couchbase/io/mcbp_message.hxx +0 -55
  1425. package/deps/couchbase-cxx-client/couchbase/io/mcbp_parser.cxx +0 -88
  1426. package/deps/couchbase-cxx-client/couchbase/io/mcbp_parser.hxx +0 -45
  1427. package/deps/couchbase-cxx-client/couchbase/io/mcbp_session.hxx +0 -1333
  1428. package/deps/couchbase-cxx-client/couchbase/io/mcbp_traits.hxx +0 -30
  1429. package/deps/couchbase-cxx-client/couchbase/io/query_cache.hxx +0 -61
  1430. package/deps/couchbase-cxx-client/couchbase/io/retry_action.hxx +0 -30
  1431. package/deps/couchbase-cxx-client/couchbase/io/retry_context.hxx +0 -38
  1432. package/deps/couchbase-cxx-client/couchbase/io/retry_orchestrator.hxx +0 -112
  1433. package/deps/couchbase-cxx-client/couchbase/io/retry_reason.hxx +0 -158
  1434. package/deps/couchbase-cxx-client/couchbase/io/retry_reason_fmt.hxx +0 -103
  1435. package/deps/couchbase-cxx-client/couchbase/io/retry_strategy.hxx +0 -152
  1436. package/deps/couchbase-cxx-client/couchbase/io/streams.hxx +0 -253
  1437. package/deps/couchbase-cxx-client/couchbase/json_string.hxx +0 -48
  1438. package/deps/couchbase-cxx-client/couchbase/logger/CMakeLists.txt +0 -9
  1439. package/deps/couchbase-cxx-client/couchbase/logger/configuration.hxx +0 -57
  1440. package/deps/couchbase-cxx-client/couchbase/logger/custom_rotating_file_sink.cxx +0 -157
  1441. package/deps/couchbase-cxx-client/couchbase/logger/logger.cxx +0 -340
  1442. package/deps/couchbase-cxx-client/couchbase/logger/logger.hxx +0 -235
  1443. package/deps/couchbase-cxx-client/couchbase/management/CMakeLists.txt +0 -13
  1444. package/deps/couchbase-cxx-client/couchbase/management/analytics_dataset.hxx +0 -30
  1445. package/deps/couchbase-cxx-client/couchbase/management/analytics_index.hxx +0 -30
  1446. package/deps/couchbase-cxx-client/couchbase/management/analytics_link.hxx +0 -22
  1447. package/deps/couchbase-cxx-client/couchbase/management/analytics_link_azure_blob_external.cxx +0 -67
  1448. package/deps/couchbase-cxx-client/couchbase/management/analytics_link_azure_blob_external.hxx +0 -76
  1449. package/deps/couchbase-cxx-client/couchbase/management/analytics_link_azure_blob_external_json.hxx +0 -52
  1450. package/deps/couchbase-cxx-client/couchbase/management/analytics_link_couchbase_remote.cxx +0 -104
  1451. package/deps/couchbase-cxx-client/couchbase/management/analytics_link_couchbase_remote.hxx +0 -107
  1452. package/deps/couchbase-cxx-client/couchbase/management/analytics_link_couchbase_remote_json.hxx +0 -63
  1453. package/deps/couchbase-cxx-client/couchbase/management/analytics_link_s3_external.cxx +0 -57
  1454. package/deps/couchbase-cxx-client/couchbase/management/analytics_link_s3_external.hxx +0 -69
  1455. package/deps/couchbase-cxx-client/couchbase/management/analytics_link_s3_external_json.hxx +0 -47
  1456. package/deps/couchbase-cxx-client/couchbase/management/bucket_settings.hxx +0 -134
  1457. package/deps/couchbase-cxx-client/couchbase/management/bucket_settings_json.hxx +0 -123
  1458. package/deps/couchbase-cxx-client/couchbase/management/design_document.hxx +0 -41
  1459. package/deps/couchbase-cxx-client/couchbase/management/eventing_function.hxx +0 -188
  1460. package/deps/couchbase-cxx-client/couchbase/management/eventing_function_json.hxx +0 -212
  1461. package/deps/couchbase-cxx-client/couchbase/management/eventing_status.hxx +0 -84
  1462. package/deps/couchbase-cxx-client/couchbase/management/eventing_status_json.hxx +0 -77
  1463. package/deps/couchbase-cxx-client/couchbase/management/query_index.hxx +0 -39
  1464. package/deps/couchbase-cxx-client/couchbase/management/rbac.hxx +0 -77
  1465. package/deps/couchbase-cxx-client/couchbase/management/rbac_fmt.hxx +0 -49
  1466. package/deps/couchbase-cxx-client/couchbase/management/rbac_json.hxx +0 -179
  1467. package/deps/couchbase-cxx-client/couchbase/management/search_index.hxx +0 -38
  1468. package/deps/couchbase-cxx-client/couchbase/management/search_index_json.hxx +0 -58
  1469. package/deps/couchbase-cxx-client/couchbase/meta/CMakeLists.txt +0 -15
  1470. package/deps/couchbase-cxx-client/couchbase/meta/version.cxx +0 -188
  1471. package/deps/couchbase-cxx-client/couchbase/meta/version.hxx +0 -45
  1472. package/deps/couchbase-cxx-client/couchbase/metrics/CMakeLists.txt +0 -11
  1473. package/deps/couchbase-cxx-client/couchbase/metrics/logging_meter.cxx +0 -194
  1474. package/deps/couchbase-cxx-client/couchbase/metrics/logging_meter.hxx +0 -74
  1475. package/deps/couchbase-cxx-client/couchbase/metrics/logging_meter_options.hxx +0 -28
  1476. package/deps/couchbase-cxx-client/couchbase/metrics/meter.hxx +0 -52
  1477. package/deps/couchbase-cxx-client/couchbase/metrics/noop_meter.hxx +0 -47
  1478. package/deps/couchbase-cxx-client/couchbase/mutation_token_fmt.hxx +0 -37
  1479. package/deps/couchbase-cxx-client/couchbase/operations/CMakeLists.txt +0 -35
  1480. package/deps/couchbase-cxx-client/couchbase/operations/document_analytics.cxx +0 -195
  1481. package/deps/couchbase-cxx-client/couchbase/operations/document_analytics.hxx +0 -92
  1482. package/deps/couchbase-cxx-client/couchbase/operations/document_append.cxx +0 -46
  1483. package/deps/couchbase-cxx-client/couchbase/operations/document_append.hxx +0 -63
  1484. package/deps/couchbase-cxx-client/couchbase/operations/document_decrement.cxx +0 -54
  1485. package/deps/couchbase-cxx-client/couchbase/operations/document_decrement.hxx +0 -66
  1486. package/deps/couchbase-cxx-client/couchbase/operations/document_exists.cxx +0 -49
  1487. package/deps/couchbase-cxx-client/couchbase/operations/document_exists.hxx +0 -61
  1488. package/deps/couchbase-cxx-client/couchbase/operations/document_get.cxx +0 -44
  1489. package/deps/couchbase-cxx-client/couchbase/operations/document_get.hxx +0 -53
  1490. package/deps/couchbase-cxx-client/couchbase/operations/document_get_and_lock.cxx +0 -45
  1491. package/deps/couchbase-cxx-client/couchbase/operations/document_get_and_lock.hxx +0 -54
  1492. package/deps/couchbase-cxx-client/couchbase/operations/document_get_and_touch.cxx +0 -45
  1493. package/deps/couchbase-cxx-client/couchbase/operations/document_get_and_touch.hxx +0 -54
  1494. package/deps/couchbase-cxx-client/couchbase/operations/document_get_projected.cxx +0 -230
  1495. package/deps/couchbase-cxx-client/couchbase/operations/document_get_projected.hxx +0 -58
  1496. package/deps/couchbase-cxx-client/couchbase/operations/document_increment.cxx +0 -54
  1497. package/deps/couchbase-cxx-client/couchbase/operations/document_increment.hxx +0 -66
  1498. package/deps/couchbase-cxx-client/couchbase/operations/document_insert.cxx +0 -48
  1499. package/deps/couchbase-cxx-client/couchbase/operations/document_insert.hxx +0 -65
  1500. package/deps/couchbase-cxx-client/couchbase/operations/document_lookup_in.cxx +0 -81
  1501. package/deps/couchbase-cxx-client/couchbase/operations/document_lookup_in.hxx +0 -64
  1502. package/deps/couchbase-cxx-client/couchbase/operations/document_mutate_in.cxx +0 -104
  1503. package/deps/couchbase-cxx-client/couchbase/operations/document_mutate_in.hxx +0 -82
  1504. package/deps/couchbase-cxx-client/couchbase/operations/document_prepend.cxx +0 -46
  1505. package/deps/couchbase-cxx-client/couchbase/operations/document_prepend.hxx +0 -63
  1506. package/deps/couchbase-cxx-client/couchbase/operations/document_query.cxx +0 -382
  1507. package/deps/couchbase-cxx-client/couchbase/operations/document_query.hxx +0 -123
  1508. package/deps/couchbase-cxx-client/couchbase/operations/document_remove.cxx +0 -46
  1509. package/deps/couchbase-cxx-client/couchbase/operations/document_remove.hxx +0 -63
  1510. package/deps/couchbase-cxx-client/couchbase/operations/document_replace.cxx +0 -52
  1511. package/deps/couchbase-cxx-client/couchbase/operations/document_replace.hxx +0 -67
  1512. package/deps/couchbase-cxx-client/couchbase/operations/document_search.cxx +0 -311
  1513. package/deps/couchbase-cxx-client/couchbase/operations/document_search.hxx +0 -153
  1514. package/deps/couchbase-cxx-client/couchbase/operations/document_touch.cxx +0 -43
  1515. package/deps/couchbase-cxx-client/couchbase/operations/document_touch.hxx +0 -52
  1516. package/deps/couchbase-cxx-client/couchbase/operations/document_unlock.cxx +0 -43
  1517. package/deps/couchbase-cxx-client/couchbase/operations/document_unlock.hxx +0 -52
  1518. package/deps/couchbase-cxx-client/couchbase/operations/document_upsert.cxx +0 -52
  1519. package/deps/couchbase-cxx-client/couchbase/operations/document_upsert.hxx +0 -66
  1520. package/deps/couchbase-cxx-client/couchbase/operations/document_view.cxx +0 -186
  1521. package/deps/couchbase-cxx-client/couchbase/operations/document_view.hxx +0 -98
  1522. package/deps/couchbase-cxx-client/couchbase/operations/http_noop.cxx +0 -64
  1523. package/deps/couchbase-cxx-client/couchbase/operations/http_noop.hxx +0 -48
  1524. package/deps/couchbase-cxx-client/couchbase/operations/management/CMakeLists.txt +0 -79
  1525. package/deps/couchbase-cxx-client/couchbase/operations/management/analytics.hxx +0 -34
  1526. package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataset_create.cxx +0 -94
  1527. package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataset_create.hxx +0 -57
  1528. package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataset_drop.cxx +0 -83
  1529. package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataset_drop.hxx +0 -54
  1530. package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataset_get_all.cxx +0 -79
  1531. package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataset_get_all.hxx +0 -52
  1532. package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataverse_create.cxx +0 -82
  1533. package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataverse_create.hxx +0 -53
  1534. package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataverse_drop.cxx +0 -82
  1535. package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataverse_drop.hxx +0 -53
  1536. package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_get_pending_mutations.cxx +0 -70
  1537. package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_get_pending_mutations.hxx +0 -52
  1538. package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_index_create.cxx +0 -106
  1539. package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_index_create.hxx +0 -56
  1540. package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_index_drop.cxx +0 -90
  1541. package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_index_drop.hxx +0 -55
  1542. package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_index_get_all.cxx +0 -80
  1543. package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_index_get_all.hxx +0 -52
  1544. package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_connect.cxx +0 -82
  1545. package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_connect.hxx +0 -57
  1546. package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_create.cxx +0 -87
  1547. package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_create.hxx +0 -77
  1548. package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_disconnect.cxx +0 -80
  1549. package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_disconnect.hxx +0 -56
  1550. package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_drop.cxx +0 -103
  1551. package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_drop.hxx +0 -56
  1552. package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_get_all.cxx +0 -129
  1553. package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_get_all.hxx +0 -63
  1554. package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_replace.cxx +0 -87
  1555. package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_replace.hxx +0 -78
  1556. package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_utils.hxx +0 -37
  1557. package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_problem.hxx +0 -30
  1558. package/deps/couchbase-cxx-client/couchbase/operations/management/bucket.hxx +0 -25
  1559. package/deps/couchbase-cxx-client/couchbase/operations/management/bucket_create.cxx +0 -171
  1560. package/deps/couchbase-cxx-client/couchbase/operations/management/bucket_create.hxx +0 -52
  1561. package/deps/couchbase-cxx-client/couchbase/operations/management/bucket_describe.cxx +0 -67
  1562. package/deps/couchbase-cxx-client/couchbase/operations/management/bucket_describe.hxx +0 -61
  1563. package/deps/couchbase-cxx-client/couchbase/operations/management/bucket_drop.cxx +0 -52
  1564. package/deps/couchbase-cxx-client/couchbase/operations/management/bucket_drop.hxx +0 -49
  1565. package/deps/couchbase-cxx-client/couchbase/operations/management/bucket_flush.cxx +0 -59
  1566. package/deps/couchbase-cxx-client/couchbase/operations/management/bucket_flush.hxx +0 -49
  1567. package/deps/couchbase-cxx-client/couchbase/operations/management/bucket_get.cxx +0 -59
  1568. package/deps/couchbase-cxx-client/couchbase/operations/management/bucket_get.hxx +0 -51
  1569. package/deps/couchbase-cxx-client/couchbase/operations/management/bucket_get_all.cxx +0 -59
  1570. package/deps/couchbase-cxx-client/couchbase/operations/management/bucket_get_all.hxx +0 -49
  1571. package/deps/couchbase-cxx-client/couchbase/operations/management/bucket_update.cxx +0 -130
  1572. package/deps/couchbase-cxx-client/couchbase/operations/management/bucket_update.hxx +0 -52
  1573. package/deps/couchbase-cxx-client/couchbase/operations/management/cluster_describe.cxx +0 -90
  1574. package/deps/couchbase-cxx-client/couchbase/operations/management/cluster_describe.hxx +0 -72
  1575. package/deps/couchbase-cxx-client/couchbase/operations/management/cluster_developer_preview_enable.cxx +0 -44
  1576. package/deps/couchbase-cxx-client/couchbase/operations/management/cluster_developer_preview_enable.hxx +0 -48
  1577. package/deps/couchbase-cxx-client/couchbase/operations/management/collection_create.cxx +0 -83
  1578. package/deps/couchbase-cxx-client/couchbase/operations/management/collection_create.hxx +0 -53
  1579. package/deps/couchbase-cxx-client/couchbase/operations/management/collection_drop.cxx +0 -73
  1580. package/deps/couchbase-cxx-client/couchbase/operations/management/collection_drop.hxx +0 -52
  1581. package/deps/couchbase-cxx-client/couchbase/operations/management/collections.hxx +0 -25
  1582. package/deps/couchbase-cxx-client/couchbase/operations/management/collections_manifest_get.cxx +0 -40
  1583. package/deps/couchbase-cxx-client/couchbase/operations/management/collections_manifest_get.hxx +0 -53
  1584. package/deps/couchbase-cxx-client/couchbase/operations/management/error_utils.cxx +0 -267
  1585. package/deps/couchbase-cxx-client/couchbase/operations/management/error_utils.hxx +0 -48
  1586. package/deps/couchbase-cxx-client/couchbase/operations/management/eventing.hxx +0 -28
  1587. package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_deploy_function.cxx +0 -56
  1588. package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_deploy_function.hxx +0 -52
  1589. package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_drop_function.cxx +0 -57
  1590. package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_drop_function.hxx +0 -52
  1591. package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_get_all_functions.cxx +0 -64
  1592. package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_get_all_functions.hxx +0 -51
  1593. package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_get_function.cxx +0 -56
  1594. package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_get_function.hxx +0 -53
  1595. package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_get_status.cxx +0 -56
  1596. package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_get_status.hxx +0 -53
  1597. package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_pause_function.cxx +0 -56
  1598. package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_pause_function.hxx +0 -52
  1599. package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_problem.hxx +0 -31
  1600. package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_resume_function.cxx +0 -56
  1601. package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_resume_function.hxx +0 -52
  1602. package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_undeploy_function.cxx +0 -56
  1603. package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_undeploy_function.hxx +0 -52
  1604. package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_upsert_function.cxx +0 -341
  1605. package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_upsert_function.hxx +0 -52
  1606. package/deps/couchbase-cxx-client/couchbase/operations/management/freeform.cxx +0 -55
  1607. package/deps/couchbase-cxx-client/couchbase/operations/management/freeform.hxx +0 -55
  1608. package/deps/couchbase-cxx-client/couchbase/operations/management/group_drop.cxx +0 -51
  1609. package/deps/couchbase-cxx-client/couchbase/operations/management/group_drop.hxx +0 -49
  1610. package/deps/couchbase-cxx-client/couchbase/operations/management/group_get.cxx +0 -60
  1611. package/deps/couchbase-cxx-client/couchbase/operations/management/group_get.hxx +0 -50
  1612. package/deps/couchbase-cxx-client/couchbase/operations/management/group_get_all.cxx +0 -58
  1613. package/deps/couchbase-cxx-client/couchbase/operations/management/group_get_all.hxx +0 -49
  1614. package/deps/couchbase-cxx-client/couchbase/operations/management/group_upsert.cxx +0 -96
  1615. package/deps/couchbase-cxx-client/couchbase/operations/management/group_upsert.hxx +0 -51
  1616. package/deps/couchbase-cxx-client/couchbase/operations/management/query.hxx +0 -23
  1617. package/deps/couchbase-cxx-client/couchbase/operations/management/query_index_build_deferred.cxx +0 -88
  1618. package/deps/couchbase-cxx-client/couchbase/operations/management/query_index_build_deferred.hxx +0 -61
  1619. package/deps/couchbase-cxx-client/couchbase/operations/management/query_index_create.cxx +0 -149
  1620. package/deps/couchbase-cxx-client/couchbase/operations/management/query_index_create.hxx +0 -65
  1621. package/deps/couchbase-cxx-client/couchbase/operations/management/query_index_drop.cxx +0 -129
  1622. package/deps/couchbase-cxx-client/couchbase/operations/management/query_index_drop.hxx +0 -61
  1623. package/deps/couchbase-cxx-client/couchbase/operations/management/query_index_get_all.cxx +0 -126
  1624. package/deps/couchbase-cxx-client/couchbase/operations/management/query_index_get_all.hxx +0 -54
  1625. package/deps/couchbase-cxx-client/couchbase/operations/management/role_get_all.cxx +0 -58
  1626. package/deps/couchbase-cxx-client/couchbase/operations/management/role_get_all.hxx +0 -49
  1627. package/deps/couchbase-cxx-client/couchbase/operations/management/scope_create.cxx +0 -75
  1628. package/deps/couchbase-cxx-client/couchbase/operations/management/scope_create.hxx +0 -51
  1629. package/deps/couchbase-cxx-client/couchbase/operations/management/scope_drop.cxx +0 -70
  1630. package/deps/couchbase-cxx-client/couchbase/operations/management/scope_drop.hxx +0 -51
  1631. package/deps/couchbase-cxx-client/couchbase/operations/management/scope_get_all.cxx +0 -62
  1632. package/deps/couchbase-cxx-client/couchbase/operations/management/scope_get_all.hxx +0 -51
  1633. package/deps/couchbase-cxx-client/couchbase/operations/management/search.hxx +0 -30
  1634. package/deps/couchbase-cxx-client/couchbase/operations/management/search_get_stats.cxx +0 -41
  1635. package/deps/couchbase-cxx-client/couchbase/operations/management/search_get_stats.hxx +0 -48
  1636. package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_analyze_document.cxx +0 -85
  1637. package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_analyze_document.hxx +0 -54
  1638. package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_control_ingest.cxx +0 -73
  1639. package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_control_ingest.hxx +0 -52
  1640. package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_control_plan_freeze.cxx +0 -73
  1641. package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_control_plan_freeze.hxx +0 -57
  1642. package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_control_query.cxx +0 -73
  1643. package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_control_query.hxx +0 -52
  1644. package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_drop.cxx +0 -72
  1645. package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_drop.hxx +0 -51
  1646. package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_get.cxx +0 -75
  1647. package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_get.hxx +0 -54
  1648. package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_get_all.cxx +0 -67
  1649. package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_get_all.hxx +0 -51
  1650. package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_get_documents_count.cxx +0 -79
  1651. package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_get_documents_count.hxx +0 -53
  1652. package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_get_stats.cxx +0 -71
  1653. package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_get_stats.hxx +0 -52
  1654. package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_upsert.cxx +0 -108
  1655. package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_upsert.hxx +0 -52
  1656. package/deps/couchbase-cxx-client/couchbase/operations/management/user.hxx +0 -28
  1657. package/deps/couchbase-cxx-client/couchbase/operations/management/user_drop.cxx +0 -52
  1658. package/deps/couchbase-cxx-client/couchbase/operations/management/user_drop.hxx +0 -51
  1659. package/deps/couchbase-cxx-client/couchbase/operations/management/user_get.cxx +0 -61
  1660. package/deps/couchbase-cxx-client/couchbase/operations/management/user_get.hxx +0 -52
  1661. package/deps/couchbase-cxx-client/couchbase/operations/management/user_get_all.cxx +0 -59
  1662. package/deps/couchbase-cxx-client/couchbase/operations/management/user_get_all.hxx +0 -51
  1663. package/deps/couchbase-cxx-client/couchbase/operations/management/user_upsert.cxx +0 -101
  1664. package/deps/couchbase-cxx-client/couchbase/operations/management/user_upsert.hxx +0 -52
  1665. package/deps/couchbase-cxx-client/couchbase/operations/management/view.hxx +0 -23
  1666. package/deps/couchbase-cxx-client/couchbase/operations/management/view_index_drop.cxx +0 -46
  1667. package/deps/couchbase-cxx-client/couchbase/operations/management/view_index_drop.hxx +0 -52
  1668. package/deps/couchbase-cxx-client/couchbase/operations/management/view_index_get.cxx +0 -74
  1669. package/deps/couchbase-cxx-client/couchbase/operations/management/view_index_get.hxx +0 -53
  1670. package/deps/couchbase-cxx-client/couchbase/operations/management/view_index_get_all.cxx +0 -108
  1671. package/deps/couchbase-cxx-client/couchbase/operations/management/view_index_get_all.hxx +0 -52
  1672. package/deps/couchbase-cxx-client/couchbase/operations/management/view_index_upsert.cxx +0 -71
  1673. package/deps/couchbase-cxx-client/couchbase/operations/management/view_index_upsert.hxx +0 -51
  1674. package/deps/couchbase-cxx-client/couchbase/operations/mcbp_noop.cxx +0 -38
  1675. package/deps/couchbase-cxx-client/couchbase/operations/mcbp_noop.hxx +0 -49
  1676. package/deps/couchbase-cxx-client/couchbase/operations.hxx +0 -42
  1677. package/deps/couchbase-cxx-client/couchbase/origin.hxx +0 -195
  1678. package/deps/couchbase-cxx-client/couchbase/platform/CMakeLists.txt +0 -16
  1679. package/deps/couchbase-cxx-client/couchbase/platform/backtrace.c +0 -189
  1680. package/deps/couchbase-cxx-client/couchbase/platform/base64.cc +0 -234
  1681. package/deps/couchbase-cxx-client/couchbase/platform/base64.h +0 -44
  1682. package/deps/couchbase-cxx-client/couchbase/platform/dirutils.cc +0 -123
  1683. package/deps/couchbase-cxx-client/couchbase/platform/dirutils.h +0 -43
  1684. package/deps/couchbase-cxx-client/couchbase/platform/random.cc +0 -120
  1685. package/deps/couchbase-cxx-client/couchbase/platform/random.h +0 -39
  1686. package/deps/couchbase-cxx-client/couchbase/platform/string_hex.cc +0 -101
  1687. package/deps/couchbase-cxx-client/couchbase/platform/string_hex.h +0 -50
  1688. package/deps/couchbase-cxx-client/couchbase/platform/terminate_handler.cc +0 -125
  1689. package/deps/couchbase-cxx-client/couchbase/platform/terminate_handler.h +0 -36
  1690. package/deps/couchbase-cxx-client/couchbase/platform/uuid.cc +0 -98
  1691. package/deps/couchbase-cxx-client/couchbase/platform/uuid.h +0 -56
  1692. package/deps/couchbase-cxx-client/couchbase/protocol/CMakeLists.txt +0 -43
  1693. package/deps/couchbase-cxx-client/couchbase/protocol/client_opcode.hxx +0 -359
  1694. package/deps/couchbase-cxx-client/couchbase/protocol/client_opcode_fmt.hxx +0 -316
  1695. package/deps/couchbase-cxx-client/couchbase/protocol/client_request.cxx +0 -38
  1696. package/deps/couchbase-cxx-client/couchbase/protocol/client_request.hxx +0 -157
  1697. package/deps/couchbase-cxx-client/couchbase/protocol/client_response.cxx +0 -74
  1698. package/deps/couchbase-cxx-client/couchbase/protocol/client_response.hxx +0 -209
  1699. package/deps/couchbase-cxx-client/couchbase/protocol/cmd_append.cxx +0 -69
  1700. package/deps/couchbase-cxx-client/couchbase/protocol/cmd_append.hxx +0 -107
  1701. package/deps/couchbase-cxx-client/couchbase/protocol/cmd_cluster_map_change_notification.cxx +0 -53
  1702. package/deps/couchbase-cxx-client/couchbase/protocol/cmd_cluster_map_change_notification.hxx +0 -57
  1703. package/deps/couchbase-cxx-client/couchbase/protocol/cmd_decrement.cxx +0 -91
  1704. package/deps/couchbase-cxx-client/couchbase/protocol/cmd_decrement.hxx +0 -129
  1705. package/deps/couchbase-cxx-client/couchbase/protocol/cmd_exists.cxx +0 -88
  1706. package/deps/couchbase-cxx-client/couchbase/protocol/cmd_exists.hxx +0 -121
  1707. package/deps/couchbase-cxx-client/couchbase/protocol/cmd_get.cxx +0 -59
  1708. package/deps/couchbase-cxx-client/couchbase/protocol/cmd_get.hxx +0 -96
  1709. package/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_and_lock.cxx +0 -66
  1710. package/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_and_lock.hxx +0 -112
  1711. package/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_and_touch.cxx +0 -66
  1712. package/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_and_touch.hxx +0 -112
  1713. package/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_cluster_config.cxx +0 -85
  1714. package/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_cluster_config.hxx +0 -89
  1715. package/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_collection_id.cxx +0 -60
  1716. package/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_collection_id.hxx +0 -95
  1717. package/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_collections_manifest.cxx +0 -51
  1718. package/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_collections_manifest.hxx +0 -84
  1719. package/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_error_map.cxx +0 -61
  1720. package/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_error_map.hxx +0 -103
  1721. package/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_meta.cxx +0 -70
  1722. package/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_meta.hxx +0 -117
  1723. package/deps/couchbase-cxx-client/couchbase/protocol/cmd_hello.cxx +0 -76
  1724. package/deps/couchbase-cxx-client/couchbase/protocol/cmd_hello.hxx +0 -136
  1725. package/deps/couchbase-cxx-client/couchbase/protocol/cmd_increment.cxx +0 -93
  1726. package/deps/couchbase-cxx-client/couchbase/protocol/cmd_increment.hxx +0 -129
  1727. package/deps/couchbase-cxx-client/couchbase/protocol/cmd_info.hxx +0 -29
  1728. package/deps/couchbase-cxx-client/couchbase/protocol/cmd_insert.cxx +0 -78
  1729. package/deps/couchbase-cxx-client/couchbase/protocol/cmd_insert.hxx +0 -123
  1730. package/deps/couchbase-cxx-client/couchbase/protocol/cmd_lookup_in.cxx +0 -109
  1731. package/deps/couchbase-cxx-client/couchbase/protocol/cmd_lookup_in.hxx +0 -165
  1732. package/deps/couchbase-cxx-client/couchbase/protocol/cmd_mutate_in.cxx +0 -158
  1733. package/deps/couchbase-cxx-client/couchbase/protocol/cmd_mutate_in.hxx +0 -311
  1734. package/deps/couchbase-cxx-client/couchbase/protocol/cmd_noop.cxx +0 -36
  1735. package/deps/couchbase-cxx-client/couchbase/protocol/cmd_noop.hxx +0 -75
  1736. package/deps/couchbase-cxx-client/couchbase/protocol/cmd_prepend.cxx +0 -68
  1737. package/deps/couchbase-cxx-client/couchbase/protocol/cmd_prepend.hxx +0 -102
  1738. package/deps/couchbase-cxx-client/couchbase/protocol/cmd_remove.cxx +0 -69
  1739. package/deps/couchbase-cxx-client/couchbase/protocol/cmd_remove.hxx +0 -93
  1740. package/deps/couchbase-cxx-client/couchbase/protocol/cmd_replace.cxx +0 -87
  1741. package/deps/couchbase-cxx-client/couchbase/protocol/cmd_replace.hxx +0 -130
  1742. package/deps/couchbase-cxx-client/couchbase/protocol/cmd_sasl_auth.cxx +0 -61
  1743. package/deps/couchbase-cxx-client/couchbase/protocol/cmd_sasl_auth.hxx +0 -91
  1744. package/deps/couchbase-cxx-client/couchbase/protocol/cmd_sasl_list_mechs.cxx +0 -53
  1745. package/deps/couchbase-cxx-client/couchbase/protocol/cmd_sasl_list_mechs.hxx +0 -82
  1746. package/deps/couchbase-cxx-client/couchbase/protocol/cmd_sasl_step.cxx +0 -61
  1747. package/deps/couchbase-cxx-client/couchbase/protocol/cmd_sasl_step.hxx +0 -91
  1748. package/deps/couchbase-cxx-client/couchbase/protocol/cmd_select_bucket.cxx +0 -45
  1749. package/deps/couchbase-cxx-client/couchbase/protocol/cmd_select_bucket.hxx +0 -79
  1750. package/deps/couchbase-cxx-client/couchbase/protocol/cmd_touch.cxx +0 -53
  1751. package/deps/couchbase-cxx-client/couchbase/protocol/cmd_touch.hxx +0 -84
  1752. package/deps/couchbase-cxx-client/couchbase/protocol/cmd_unlock.cxx +0 -44
  1753. package/deps/couchbase-cxx-client/couchbase/protocol/cmd_unlock.hxx +0 -81
  1754. package/deps/couchbase-cxx-client/couchbase/protocol/cmd_upsert.cxx +0 -86
  1755. package/deps/couchbase-cxx-client/couchbase/protocol/cmd_upsert.hxx +0 -125
  1756. package/deps/couchbase-cxx-client/couchbase/protocol/datatype.hxx +0 -48
  1757. package/deps/couchbase-cxx-client/couchbase/protocol/durability_level.hxx +0 -59
  1758. package/deps/couchbase-cxx-client/couchbase/protocol/durability_level_fmt.hxx +0 -52
  1759. package/deps/couchbase-cxx-client/couchbase/protocol/enhanced_error_info.hxx +0 -28
  1760. package/deps/couchbase-cxx-client/couchbase/protocol/enhanced_error_info_fmt.hxx +0 -44
  1761. package/deps/couchbase-cxx-client/couchbase/protocol/frame_info_id.hxx +0 -142
  1762. package/deps/couchbase-cxx-client/couchbase/protocol/frame_info_id_fmt.hxx +0 -79
  1763. package/deps/couchbase-cxx-client/couchbase/protocol/frame_info_utils.cxx +0 -59
  1764. package/deps/couchbase-cxx-client/couchbase/protocol/frame_info_utils.hxx +0 -52
  1765. package/deps/couchbase-cxx-client/couchbase/protocol/hello_feature.hxx +0 -186
  1766. package/deps/couchbase-cxx-client/couchbase/protocol/hello_feature_fmt.hxx +0 -106
  1767. package/deps/couchbase-cxx-client/couchbase/protocol/magic.hxx +0 -53
  1768. package/deps/couchbase-cxx-client/couchbase/protocol/magic_fmt.hxx +0 -58
  1769. package/deps/couchbase-cxx-client/couchbase/protocol/server_opcode.hxx +0 -39
  1770. package/deps/couchbase-cxx-client/couchbase/protocol/server_opcode_fmt.hxx +0 -46
  1771. package/deps/couchbase-cxx-client/couchbase/protocol/server_request.hxx +0 -121
  1772. package/deps/couchbase-cxx-client/couchbase/protocol/status.cxx +0 -187
  1773. package/deps/couchbase-cxx-client/couchbase/protocol/status.hxx +0 -180
  1774. package/deps/couchbase-cxx-client/couchbase/protocol/status_fmt.hxx +0 -241
  1775. package/deps/couchbase-cxx-client/couchbase/query_profile_mode.hxx +0 -27
  1776. package/deps/couchbase-cxx-client/couchbase/query_scan_consistency.hxx +0 -23
  1777. package/deps/couchbase-cxx-client/couchbase/sasl/CMakeLists.txt +0 -16
  1778. package/deps/couchbase-cxx-client/couchbase/sasl/client.cc +0 -50
  1779. package/deps/couchbase-cxx-client/couchbase/sasl/client.h +0 -128
  1780. package/deps/couchbase-cxx-client/couchbase/sasl/context.cc +0 -34
  1781. package/deps/couchbase-cxx-client/couchbase/sasl/context.h +0 -52
  1782. package/deps/couchbase-cxx-client/couchbase/sasl/error.h +0 -28
  1783. package/deps/couchbase-cxx-client/couchbase/sasl/error_fmt.h +0 -70
  1784. package/deps/couchbase-cxx-client/couchbase/sasl/mechanism.cc +0 -45
  1785. package/deps/couchbase-cxx-client/couchbase/sasl/mechanism.h +0 -52
  1786. package/deps/couchbase-cxx-client/couchbase/sasl/plain/plain.cc +0 -39
  1787. package/deps/couchbase-cxx-client/couchbase/sasl/plain/plain.h +0 -54
  1788. package/deps/couchbase-cxx-client/couchbase/sasl/scram-sha/scram-sha.cc +0 -372
  1789. package/deps/couchbase-cxx-client/couchbase/sasl/scram-sha/scram-sha.h +0 -184
  1790. package/deps/couchbase-cxx-client/couchbase/sasl/scram-sha/stringutils.cc +0 -82
  1791. package/deps/couchbase-cxx-client/couchbase/sasl/scram-sha/stringutils.h +0 -48
  1792. package/deps/couchbase-cxx-client/couchbase/search_highlight_style.hxx +0 -23
  1793. package/deps/couchbase-cxx-client/couchbase/search_scan_consistency.hxx +0 -23
  1794. package/deps/couchbase-cxx-client/couchbase/service_type.hxx +0 -31
  1795. package/deps/couchbase-cxx-client/couchbase/service_type_fmt.hxx +0 -61
  1796. package/deps/couchbase-cxx-client/couchbase/timeout_defaults.hxx +0 -43
  1797. package/deps/couchbase-cxx-client/couchbase/topology/CMakeLists.txt +0 -9
  1798. package/deps/couchbase-cxx-client/couchbase/topology/capabilities.hxx +0 -43
  1799. package/deps/couchbase-cxx-client/couchbase/topology/capabilities_fmt.hxx +0 -106
  1800. package/deps/couchbase-cxx-client/couchbase/topology/collections_manifest.hxx +0 -43
  1801. package/deps/couchbase-cxx-client/couchbase/topology/collections_manifest_fmt.hxx +0 -52
  1802. package/deps/couchbase-cxx-client/couchbase/topology/collections_manifest_json.hxx +0 -53
  1803. package/deps/couchbase-cxx-client/couchbase/topology/configuration.cxx +0 -223
  1804. package/deps/couchbase-cxx-client/couchbase/topology/configuration.hxx +0 -120
  1805. package/deps/couchbase-cxx-client/couchbase/topology/configuration_fmt.hxx +0 -166
  1806. package/deps/couchbase-cxx-client/couchbase/topology/configuration_json.hxx +0 -259
  1807. package/deps/couchbase-cxx-client/couchbase/topology/error_map.hxx +0 -149
  1808. package/deps/couchbase-cxx-client/couchbase/topology/error_map_fmt.hxx +0 -94
  1809. package/deps/couchbase-cxx-client/couchbase/topology/error_map_json.hxx +0 -88
  1810. package/deps/couchbase-cxx-client/couchbase/tracing/CMakeLists.txt +0 -9
  1811. package/deps/couchbase-cxx-client/couchbase/tracing/constants.hxx +0 -274
  1812. package/deps/couchbase-cxx-client/couchbase/tracing/noop_tracer.hxx +0 -55
  1813. package/deps/couchbase-cxx-client/couchbase/tracing/request_tracer.hxx +0 -79
  1814. package/deps/couchbase-cxx-client/couchbase/tracing/threshold_logging_options.hxx +0 -68
  1815. package/deps/couchbase-cxx-client/couchbase/tracing/threshold_logging_tracer.cxx +0 -422
  1816. package/deps/couchbase-cxx-client/couchbase/tracing/threshold_logging_tracer.hxx +0 -49
  1817. package/deps/couchbase-cxx-client/couchbase/utils/CMakeLists.txt +0 -18
  1818. package/deps/couchbase-cxx-client/couchbase/utils/binary.cxx +0 -27
  1819. package/deps/couchbase-cxx-client/couchbase/utils/binary.hxx +0 -57
  1820. package/deps/couchbase-cxx-client/couchbase/utils/byteswap.hxx +0 -49
  1821. package/deps/couchbase-cxx-client/couchbase/utils/connection_string.cxx +0 -420
  1822. package/deps/couchbase-cxx-client/couchbase/utils/connection_string.hxx +0 -76
  1823. package/deps/couchbase-cxx-client/couchbase/utils/crc32.hxx +0 -48
  1824. package/deps/couchbase-cxx-client/couchbase/utils/duration_parser.cxx +0 -193
  1825. package/deps/couchbase-cxx-client/couchbase/utils/duration_parser.hxx +0 -45
  1826. package/deps/couchbase-cxx-client/couchbase/utils/join_strings.hxx +0 -65
  1827. package/deps/couchbase-cxx-client/couchbase/utils/json.cxx +0 -281
  1828. package/deps/couchbase-cxx-client/couchbase/utils/json.hxx +0 -40
  1829. package/deps/couchbase-cxx-client/couchbase/utils/json_stream_control.hxx +0 -32
  1830. package/deps/couchbase-cxx-client/couchbase/utils/json_streaming_lexer.cxx +0 -398
  1831. package/deps/couchbase-cxx-client/couchbase/utils/json_streaming_lexer.hxx +0 -58
  1832. package/deps/couchbase-cxx-client/couchbase/utils/movable_function.hxx +0 -110
  1833. package/deps/couchbase-cxx-client/couchbase/utils/name_codec.hxx +0 -41
  1834. package/deps/couchbase-cxx-client/couchbase/utils/unsigned_leb128.hxx +0 -181
  1835. package/deps/couchbase-cxx-client/couchbase/utils/url_codec.cxx +0 -404
  1836. package/deps/couchbase-cxx-client/couchbase/utils/url_codec.hxx +0 -72
  1837. package/deps/couchbase-cxx-client/couchbase/view_scan_consistency.hxx +0 -27
  1838. package/deps/couchbase-cxx-client/couchbase/view_sort_order.hxx +0 -23
  1839. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/analytics_scan_consistency.hxx +0 -26
  1840. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/capella_ca.hxx +0 -43
  1841. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/cas_fmt.hxx +0 -37
  1842. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/cluster.cxx +0 -124
  1843. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/cluster_options.cxx +0 -45
  1844. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/cluster_options.hxx +0 -78
  1845. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/crypto/CMakeLists.txt +0 -12
  1846. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/crypto/cbcrypto.cc +0 -887
  1847. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/crypto/cbcrypto.h +0 -88
  1848. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/design_document_namespace.hxx +0 -26
  1849. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/design_document_namespace_fmt.hxx +0 -47
  1850. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/diagnostics.hxx +0 -97
  1851. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/diagnostics_fmt.hxx +0 -113
  1852. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/diagnostics_json.hxx +0 -100
  1853. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/document_id.cxx +0 -106
  1854. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/document_id.hxx +0 -107
  1855. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/document_id_fmt.hxx +0 -37
  1856. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/error_context/analytics.hxx +0 -51
  1857. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/error_context/http.hxx +0 -47
  1858. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/error_context/key_value.hxx +0 -50
  1859. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/error_context/query.hxx +0 -51
  1860. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/error_context/search.hxx +0 -50
  1861. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/error_context/view.hxx +0 -51
  1862. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/errors.hxx +0 -1038
  1863. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/CMakeLists.txt +0 -12
  1864. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/dns_client.hxx +0 -217
  1865. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/dns_codec.hxx +0 -206
  1866. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/dns_config.hxx +0 -115
  1867. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/dns_message.hxx +0 -555
  1868. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/http_command.hxx +0 -174
  1869. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/http_context.hxx +0 -40
  1870. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/http_message.hxx +0 -116
  1871. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/http_parser.cxx +0 -141
  1872. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/http_parser.hxx +0 -55
  1873. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/http_session.hxx +0 -548
  1874. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/http_session_manager.hxx +0 -381
  1875. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/http_traits.hxx +0 -30
  1876. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/ip_protocol.hxx +0 -28
  1877. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/mcbp_command.hxx +0 -300
  1878. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/mcbp_context.hxx +0 -39
  1879. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/mcbp_message.cxx +0 -39
  1880. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/mcbp_message.hxx +0 -55
  1881. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/mcbp_parser.cxx +0 -88
  1882. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/mcbp_parser.hxx +0 -45
  1883. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/mcbp_session.hxx +0 -1333
  1884. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/mcbp_traits.hxx +0 -30
  1885. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/query_cache.hxx +0 -61
  1886. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/retry_action.hxx +0 -30
  1887. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/retry_context.hxx +0 -38
  1888. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/retry_orchestrator.hxx +0 -112
  1889. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/retry_reason.hxx +0 -158
  1890. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/retry_reason_fmt.hxx +0 -103
  1891. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/retry_strategy.hxx +0 -152
  1892. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/streams.hxx +0 -253
  1893. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/json_string.hxx +0 -48
  1894. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/logger/CMakeLists.txt +0 -9
  1895. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/logger/configuration.hxx +0 -57
  1896. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/logger/custom_rotating_file_sink.cxx +0 -157
  1897. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/logger/logger.cxx +0 -340
  1898. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/logger/logger.hxx +0 -235
  1899. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/CMakeLists.txt +0 -13
  1900. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/analytics_dataset.hxx +0 -30
  1901. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/analytics_index.hxx +0 -30
  1902. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/analytics_link.hxx +0 -22
  1903. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/analytics_link_azure_blob_external.cxx +0 -67
  1904. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/analytics_link_azure_blob_external.hxx +0 -76
  1905. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/analytics_link_azure_blob_external_json.hxx +0 -52
  1906. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/analytics_link_couchbase_remote.cxx +0 -104
  1907. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/analytics_link_couchbase_remote.hxx +0 -107
  1908. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/analytics_link_couchbase_remote_json.hxx +0 -63
  1909. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/analytics_link_s3_external.cxx +0 -57
  1910. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/analytics_link_s3_external.hxx +0 -69
  1911. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/analytics_link_s3_external_json.hxx +0 -47
  1912. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/bucket_settings.hxx +0 -134
  1913. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/bucket_settings_json.hxx +0 -123
  1914. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/design_document.hxx +0 -41
  1915. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/eventing_function.hxx +0 -188
  1916. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/eventing_function_json.hxx +0 -212
  1917. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/eventing_status.hxx +0 -84
  1918. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/eventing_status_json.hxx +0 -77
  1919. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/query_index.hxx +0 -39
  1920. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/rbac.hxx +0 -77
  1921. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/rbac_fmt.hxx +0 -49
  1922. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/rbac_json.hxx +0 -179
  1923. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/search_index.hxx +0 -38
  1924. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/search_index_json.hxx +0 -58
  1925. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/meta/CMakeLists.txt +0 -15
  1926. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/meta/version.cxx +0 -188
  1927. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/meta/version.hxx +0 -45
  1928. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/metrics/CMakeLists.txt +0 -11
  1929. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/metrics/logging_meter.cxx +0 -194
  1930. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/metrics/logging_meter.hxx +0 -74
  1931. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/metrics/logging_meter_options.hxx +0 -28
  1932. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/metrics/meter.hxx +0 -52
  1933. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/metrics/noop_meter.hxx +0 -47
  1934. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/mutation_token_fmt.hxx +0 -37
  1935. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/CMakeLists.txt +0 -35
  1936. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_analytics.cxx +0 -195
  1937. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_analytics.hxx +0 -92
  1938. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_append.cxx +0 -46
  1939. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_append.hxx +0 -63
  1940. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_decrement.cxx +0 -54
  1941. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_decrement.hxx +0 -66
  1942. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_exists.cxx +0 -49
  1943. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_exists.hxx +0 -61
  1944. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_get.cxx +0 -44
  1945. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_get.hxx +0 -53
  1946. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_get_and_lock.cxx +0 -45
  1947. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_get_and_lock.hxx +0 -54
  1948. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_get_and_touch.cxx +0 -45
  1949. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_get_and_touch.hxx +0 -54
  1950. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_get_projected.cxx +0 -230
  1951. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_get_projected.hxx +0 -58
  1952. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_increment.cxx +0 -54
  1953. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_increment.hxx +0 -66
  1954. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_insert.cxx +0 -48
  1955. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_insert.hxx +0 -65
  1956. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_lookup_in.cxx +0 -81
  1957. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_lookup_in.hxx +0 -64
  1958. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_mutate_in.cxx +0 -104
  1959. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_mutate_in.hxx +0 -82
  1960. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_prepend.cxx +0 -46
  1961. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_prepend.hxx +0 -63
  1962. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_query.cxx +0 -382
  1963. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_query.hxx +0 -123
  1964. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_remove.cxx +0 -46
  1965. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_remove.hxx +0 -63
  1966. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_replace.cxx +0 -52
  1967. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_replace.hxx +0 -67
  1968. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_search.cxx +0 -311
  1969. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_search.hxx +0 -153
  1970. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_touch.cxx +0 -43
  1971. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_touch.hxx +0 -52
  1972. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_unlock.cxx +0 -43
  1973. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_unlock.hxx +0 -52
  1974. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_upsert.cxx +0 -52
  1975. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_upsert.hxx +0 -66
  1976. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_view.cxx +0 -186
  1977. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_view.hxx +0 -98
  1978. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/http_noop.cxx +0 -64
  1979. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/http_noop.hxx +0 -48
  1980. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/CMakeLists.txt +0 -79
  1981. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics.hxx +0 -34
  1982. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataset_create.cxx +0 -94
  1983. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataset_create.hxx +0 -57
  1984. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataset_drop.cxx +0 -83
  1985. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataset_drop.hxx +0 -54
  1986. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataset_get_all.cxx +0 -79
  1987. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataset_get_all.hxx +0 -52
  1988. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataverse_create.cxx +0 -82
  1989. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataverse_create.hxx +0 -53
  1990. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataverse_drop.cxx +0 -82
  1991. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataverse_drop.hxx +0 -53
  1992. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_get_pending_mutations.cxx +0 -70
  1993. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_get_pending_mutations.hxx +0 -52
  1994. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_index_create.cxx +0 -106
  1995. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_index_create.hxx +0 -56
  1996. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_index_drop.cxx +0 -90
  1997. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_index_drop.hxx +0 -55
  1998. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_index_get_all.cxx +0 -80
  1999. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_index_get_all.hxx +0 -52
  2000. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_connect.cxx +0 -82
  2001. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_connect.hxx +0 -57
  2002. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_create.cxx +0 -87
  2003. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_create.hxx +0 -77
  2004. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_disconnect.cxx +0 -80
  2005. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_disconnect.hxx +0 -56
  2006. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_drop.cxx +0 -103
  2007. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_drop.hxx +0 -56
  2008. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_get_all.cxx +0 -129
  2009. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_get_all.hxx +0 -63
  2010. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_replace.cxx +0 -87
  2011. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_replace.hxx +0 -78
  2012. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_utils.hxx +0 -37
  2013. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_problem.hxx +0 -30
  2014. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/bucket.hxx +0 -25
  2015. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/bucket_create.cxx +0 -171
  2016. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/bucket_create.hxx +0 -52
  2017. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/bucket_describe.cxx +0 -67
  2018. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/bucket_describe.hxx +0 -61
  2019. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/bucket_drop.cxx +0 -52
  2020. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/bucket_drop.hxx +0 -49
  2021. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/bucket_flush.cxx +0 -59
  2022. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/bucket_flush.hxx +0 -49
  2023. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/bucket_get.cxx +0 -59
  2024. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/bucket_get.hxx +0 -51
  2025. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/bucket_get_all.cxx +0 -59
  2026. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/bucket_get_all.hxx +0 -49
  2027. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/bucket_update.cxx +0 -130
  2028. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/bucket_update.hxx +0 -52
  2029. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/cluster_describe.cxx +0 -90
  2030. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/cluster_describe.hxx +0 -72
  2031. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/cluster_developer_preview_enable.cxx +0 -44
  2032. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/cluster_developer_preview_enable.hxx +0 -48
  2033. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/collection_create.cxx +0 -83
  2034. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/collection_create.hxx +0 -53
  2035. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/collection_drop.cxx +0 -73
  2036. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/collection_drop.hxx +0 -52
  2037. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/collections.hxx +0 -25
  2038. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/collections_manifest_get.cxx +0 -40
  2039. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/collections_manifest_get.hxx +0 -53
  2040. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/error_utils.cxx +0 -267
  2041. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/error_utils.hxx +0 -48
  2042. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing.hxx +0 -28
  2043. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_deploy_function.cxx +0 -56
  2044. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_deploy_function.hxx +0 -52
  2045. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_drop_function.cxx +0 -57
  2046. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_drop_function.hxx +0 -52
  2047. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_get_all_functions.cxx +0 -64
  2048. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_get_all_functions.hxx +0 -51
  2049. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_get_function.cxx +0 -56
  2050. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_get_function.hxx +0 -53
  2051. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_get_status.cxx +0 -56
  2052. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_get_status.hxx +0 -53
  2053. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_pause_function.cxx +0 -56
  2054. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_pause_function.hxx +0 -52
  2055. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_problem.hxx +0 -31
  2056. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_resume_function.cxx +0 -56
  2057. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_resume_function.hxx +0 -52
  2058. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_undeploy_function.cxx +0 -56
  2059. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_undeploy_function.hxx +0 -52
  2060. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_upsert_function.cxx +0 -341
  2061. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_upsert_function.hxx +0 -52
  2062. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/freeform.cxx +0 -55
  2063. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/freeform.hxx +0 -55
  2064. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/group_drop.cxx +0 -51
  2065. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/group_drop.hxx +0 -49
  2066. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/group_get.cxx +0 -60
  2067. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/group_get.hxx +0 -50
  2068. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/group_get_all.cxx +0 -58
  2069. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/group_get_all.hxx +0 -49
  2070. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/group_upsert.cxx +0 -96
  2071. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/group_upsert.hxx +0 -51
  2072. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/query.hxx +0 -23
  2073. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/query_index_build_deferred.cxx +0 -88
  2074. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/query_index_build_deferred.hxx +0 -61
  2075. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/query_index_create.cxx +0 -149
  2076. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/query_index_create.hxx +0 -65
  2077. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/query_index_drop.cxx +0 -129
  2078. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/query_index_drop.hxx +0 -61
  2079. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/query_index_get_all.cxx +0 -126
  2080. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/query_index_get_all.hxx +0 -54
  2081. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/role_get_all.cxx +0 -58
  2082. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/role_get_all.hxx +0 -49
  2083. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/scope_create.cxx +0 -75
  2084. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/scope_create.hxx +0 -51
  2085. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/scope_drop.cxx +0 -70
  2086. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/scope_drop.hxx +0 -51
  2087. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/scope_get_all.cxx +0 -62
  2088. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/scope_get_all.hxx +0 -51
  2089. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search.hxx +0 -30
  2090. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_get_stats.cxx +0 -41
  2091. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_get_stats.hxx +0 -48
  2092. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_analyze_document.cxx +0 -85
  2093. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_analyze_document.hxx +0 -54
  2094. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_control_ingest.cxx +0 -73
  2095. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_control_ingest.hxx +0 -52
  2096. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_control_plan_freeze.cxx +0 -73
  2097. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_control_plan_freeze.hxx +0 -57
  2098. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_control_query.cxx +0 -73
  2099. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_control_query.hxx +0 -52
  2100. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_drop.cxx +0 -72
  2101. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_drop.hxx +0 -51
  2102. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_get.cxx +0 -75
  2103. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_get.hxx +0 -54
  2104. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_get_all.cxx +0 -67
  2105. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_get_all.hxx +0 -51
  2106. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_get_documents_count.cxx +0 -79
  2107. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_get_documents_count.hxx +0 -53
  2108. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_get_stats.cxx +0 -71
  2109. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_get_stats.hxx +0 -52
  2110. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_upsert.cxx +0 -108
  2111. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_upsert.hxx +0 -52
  2112. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/user.hxx +0 -28
  2113. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/user_drop.cxx +0 -52
  2114. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/user_drop.hxx +0 -51
  2115. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/user_get.cxx +0 -61
  2116. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/user_get.hxx +0 -52
  2117. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/user_get_all.cxx +0 -59
  2118. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/user_get_all.hxx +0 -51
  2119. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/user_upsert.cxx +0 -101
  2120. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/user_upsert.hxx +0 -52
  2121. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/view.hxx +0 -23
  2122. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/view_index_drop.cxx +0 -46
  2123. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/view_index_drop.hxx +0 -52
  2124. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/view_index_get.cxx +0 -74
  2125. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/view_index_get.hxx +0 -53
  2126. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/view_index_get_all.cxx +0 -108
  2127. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/view_index_get_all.hxx +0 -52
  2128. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/view_index_upsert.cxx +0 -71
  2129. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/view_index_upsert.hxx +0 -51
  2130. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/mcbp_noop.cxx +0 -38
  2131. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/mcbp_noop.hxx +0 -49
  2132. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations.hxx +0 -42
  2133. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/origin.hxx +0 -195
  2134. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/platform/CMakeLists.txt +0 -16
  2135. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/platform/backtrace.c +0 -189
  2136. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/platform/base64.cc +0 -234
  2137. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/platform/base64.h +0 -44
  2138. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/platform/dirutils.cc +0 -123
  2139. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/platform/dirutils.h +0 -43
  2140. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/platform/random.cc +0 -120
  2141. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/platform/random.h +0 -39
  2142. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/platform/string_hex.cc +0 -101
  2143. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/platform/string_hex.h +0 -50
  2144. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/platform/terminate_handler.cc +0 -125
  2145. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/platform/terminate_handler.h +0 -36
  2146. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/platform/uuid.cc +0 -98
  2147. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/platform/uuid.h +0 -56
  2148. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/CMakeLists.txt +0 -43
  2149. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/client_opcode.hxx +0 -359
  2150. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/client_opcode_fmt.hxx +0 -316
  2151. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/client_request.cxx +0 -38
  2152. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/client_request.hxx +0 -157
  2153. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/client_response.cxx +0 -74
  2154. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/client_response.hxx +0 -209
  2155. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_append.cxx +0 -69
  2156. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_append.hxx +0 -107
  2157. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_cluster_map_change_notification.cxx +0 -53
  2158. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_cluster_map_change_notification.hxx +0 -57
  2159. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_decrement.cxx +0 -91
  2160. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_decrement.hxx +0 -129
  2161. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_exists.cxx +0 -88
  2162. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_exists.hxx +0 -121
  2163. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_get.cxx +0 -59
  2164. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_get.hxx +0 -96
  2165. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_and_lock.cxx +0 -66
  2166. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_and_lock.hxx +0 -112
  2167. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_and_touch.cxx +0 -66
  2168. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_and_touch.hxx +0 -112
  2169. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_cluster_config.cxx +0 -85
  2170. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_cluster_config.hxx +0 -89
  2171. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_collection_id.cxx +0 -60
  2172. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_collection_id.hxx +0 -95
  2173. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_collections_manifest.cxx +0 -51
  2174. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_collections_manifest.hxx +0 -84
  2175. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_error_map.cxx +0 -61
  2176. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_error_map.hxx +0 -103
  2177. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_meta.cxx +0 -70
  2178. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_meta.hxx +0 -117
  2179. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_hello.cxx +0 -76
  2180. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_hello.hxx +0 -136
  2181. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_increment.cxx +0 -93
  2182. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_increment.hxx +0 -129
  2183. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_info.hxx +0 -29
  2184. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_insert.cxx +0 -78
  2185. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_insert.hxx +0 -123
  2186. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_lookup_in.cxx +0 -109
  2187. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_lookup_in.hxx +0 -165
  2188. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_mutate_in.cxx +0 -158
  2189. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_mutate_in.hxx +0 -311
  2190. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_noop.cxx +0 -36
  2191. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_noop.hxx +0 -75
  2192. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_prepend.cxx +0 -68
  2193. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_prepend.hxx +0 -102
  2194. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_remove.cxx +0 -69
  2195. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_remove.hxx +0 -93
  2196. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_replace.cxx +0 -87
  2197. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_replace.hxx +0 -130
  2198. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_sasl_auth.cxx +0 -61
  2199. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_sasl_auth.hxx +0 -91
  2200. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_sasl_list_mechs.cxx +0 -53
  2201. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_sasl_list_mechs.hxx +0 -82
  2202. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_sasl_step.cxx +0 -61
  2203. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_sasl_step.hxx +0 -91
  2204. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_select_bucket.cxx +0 -45
  2205. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_select_bucket.hxx +0 -79
  2206. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_touch.cxx +0 -53
  2207. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_touch.hxx +0 -84
  2208. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_unlock.cxx +0 -44
  2209. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_unlock.hxx +0 -81
  2210. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_upsert.cxx +0 -86
  2211. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_upsert.hxx +0 -125
  2212. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/datatype.hxx +0 -48
  2213. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/durability_level.hxx +0 -59
  2214. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/durability_level_fmt.hxx +0 -52
  2215. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/enhanced_error_info.hxx +0 -28
  2216. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/enhanced_error_info_fmt.hxx +0 -44
  2217. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/frame_info_id.hxx +0 -142
  2218. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/frame_info_id_fmt.hxx +0 -79
  2219. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/frame_info_utils.cxx +0 -59
  2220. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/frame_info_utils.hxx +0 -52
  2221. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/hello_feature.hxx +0 -186
  2222. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/hello_feature_fmt.hxx +0 -106
  2223. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/magic.hxx +0 -53
  2224. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/magic_fmt.hxx +0 -58
  2225. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/server_opcode.hxx +0 -39
  2226. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/server_opcode_fmt.hxx +0 -46
  2227. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/server_request.hxx +0 -121
  2228. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/status.cxx +0 -187
  2229. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/status.hxx +0 -180
  2230. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/status_fmt.hxx +0 -241
  2231. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/query_profile_mode.hxx +0 -27
  2232. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/query_scan_consistency.hxx +0 -23
  2233. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/sasl/CMakeLists.txt +0 -16
  2234. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/sasl/client.cc +0 -50
  2235. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/sasl/client.h +0 -128
  2236. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/sasl/context.cc +0 -34
  2237. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/sasl/context.h +0 -52
  2238. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/sasl/error.h +0 -28
  2239. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/sasl/error_fmt.h +0 -70
  2240. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/sasl/mechanism.cc +0 -45
  2241. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/sasl/mechanism.h +0 -52
  2242. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/sasl/plain/plain.cc +0 -39
  2243. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/sasl/plain/plain.h +0 -54
  2244. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/sasl/scram-sha/scram-sha.cc +0 -372
  2245. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/sasl/scram-sha/scram-sha.h +0 -184
  2246. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/sasl/scram-sha/stringutils.cc +0 -82
  2247. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/sasl/scram-sha/stringutils.h +0 -48
  2248. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/search_highlight_style.hxx +0 -23
  2249. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/search_scan_consistency.hxx +0 -23
  2250. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/service_type.hxx +0 -31
  2251. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/service_type_fmt.hxx +0 -61
  2252. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/timeout_defaults.hxx +0 -43
  2253. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/topology/CMakeLists.txt +0 -9
  2254. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/topology/capabilities.hxx +0 -43
  2255. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/topology/capabilities_fmt.hxx +0 -106
  2256. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/topology/collections_manifest.hxx +0 -43
  2257. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/topology/collections_manifest_fmt.hxx +0 -52
  2258. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/topology/collections_manifest_json.hxx +0 -53
  2259. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/topology/configuration.cxx +0 -223
  2260. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/topology/configuration.hxx +0 -120
  2261. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/topology/configuration_fmt.hxx +0 -166
  2262. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/topology/configuration_json.hxx +0 -259
  2263. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/topology/error_map.hxx +0 -149
  2264. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/topology/error_map_fmt.hxx +0 -94
  2265. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/topology/error_map_json.hxx +0 -88
  2266. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/tracing/CMakeLists.txt +0 -9
  2267. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/tracing/constants.hxx +0 -274
  2268. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/tracing/noop_tracer.hxx +0 -55
  2269. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/tracing/request_tracer.hxx +0 -79
  2270. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/tracing/threshold_logging_options.hxx +0 -68
  2271. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/tracing/threshold_logging_tracer.cxx +0 -422
  2272. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/tracing/threshold_logging_tracer.hxx +0 -49
  2273. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/utils/CMakeLists.txt +0 -18
  2274. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/utils/binary.cxx +0 -27
  2275. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/utils/binary.hxx +0 -57
  2276. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/utils/byteswap.hxx +0 -49
  2277. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/utils/connection_string.cxx +0 -420
  2278. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/utils/connection_string.hxx +0 -76
  2279. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/utils/crc32.hxx +0 -48
  2280. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/utils/duration_parser.cxx +0 -193
  2281. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/utils/duration_parser.hxx +0 -45
  2282. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/utils/join_strings.hxx +0 -65
  2283. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/utils/json.cxx +0 -281
  2284. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/utils/json.hxx +0 -40
  2285. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/utils/json_stream_control.hxx +0 -32
  2286. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/utils/json_streaming_lexer.cxx +0 -398
  2287. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/utils/json_streaming_lexer.hxx +0 -58
  2288. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/utils/movable_function.hxx +0 -110
  2289. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/utils/name_codec.hxx +0 -41
  2290. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/utils/unsigned_leb128.hxx +0 -181
  2291. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/utils/url_codec.cxx +0 -404
  2292. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/utils/url_codec.hxx +0 -72
  2293. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/view_scan_consistency.hxx +0 -27
  2294. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/view_sort_order.hxx +0 -23
@@ -17,21 +17,23 @@
17
17
 
18
18
  #include "test_helper_integration.hxx"
19
19
 
20
- #include <couchbase/management/analytics_link.hxx>
21
- #include <couchbase/operations/management/analytics.hxx>
22
- #include <couchbase/operations/management/bucket.hxx>
23
- #include <couchbase/operations/management/collections.hxx>
24
- #include <couchbase/operations/management/eventing.hxx>
25
- #include <couchbase/operations/management/freeform.hxx>
26
- #include <couchbase/operations/management/query.hxx>
27
- #include <couchbase/operations/management/search.hxx>
28
- #include <couchbase/operations/management/user.hxx>
29
-
30
- static couchbase::operations::management::bucket_get_response
20
+ #include "core/management/analytics_link.hxx"
21
+ #include "core/operations/management/analytics.hxx"
22
+ #include "core/operations/management/bucket.hxx"
23
+ #include "core/operations/management/collections.hxx"
24
+ #include "core/operations/management/eventing.hxx"
25
+ #include "core/operations/management/freeform.hxx"
26
+ #include "core/operations/management/query.hxx"
27
+ #include "core/operations/management/search.hxx"
28
+ #include "core/operations/management/user.hxx"
29
+
30
+ #include <couchbase/cluster.hxx>
31
+
32
+ static couchbase::core::operations::management::bucket_get_response
31
33
  wait_for_bucket_created(test::utils::integration_test_guard& integration, const std::string& bucket_name)
32
34
  {
33
35
  test::utils::wait_until_bucket_healthy(integration.cluster, bucket_name);
34
- couchbase::operations::management::bucket_get_request req{ bucket_name };
36
+ couchbase::core::operations::management::bucket_get_request req{ bucket_name };
35
37
  auto resp = test::utils::execute(integration.cluster, req);
36
38
  return resp;
37
39
  }
@@ -65,30 +67,30 @@ TEST_CASE("integration: bucket management", "[integration]")
65
67
 
66
68
  SECTION("crud")
67
69
  {
68
- couchbase::management::cluster::bucket_settings bucket_settings;
70
+ couchbase::core::management::cluster::bucket_settings bucket_settings;
69
71
  bucket_settings.name = bucket_name;
70
72
  bucket_settings.ram_quota_mb = 100;
71
73
  bucket_settings.num_replicas = 1;
72
- bucket_settings.bucket_type = couchbase::management::cluster::bucket_type::couchbase;
73
- bucket_settings.eviction_policy = couchbase::management::cluster::bucket_eviction_policy::value_only;
74
+ bucket_settings.bucket_type = couchbase::core::management::cluster::bucket_type::couchbase;
75
+ bucket_settings.eviction_policy = couchbase::core::management::cluster::bucket_eviction_policy::value_only;
74
76
  bucket_settings.flush_enabled = true;
75
77
  if (integration.cluster_version().is_enterprise()) {
76
78
  bucket_settings.max_expiry = 10;
77
- bucket_settings.compression_mode = couchbase::management::cluster::bucket_compression::active;
79
+ bucket_settings.compression_mode = couchbase::core::management::cluster::bucket_compression::active;
78
80
  }
79
81
  bucket_settings.replica_indexes = true;
80
- bucket_settings.conflict_resolution_type = couchbase::management::cluster::bucket_conflict_resolution::sequence_number;
82
+ bucket_settings.conflict_resolution_type = couchbase::core::management::cluster::bucket_conflict_resolution::sequence_number;
81
83
 
82
84
  {
83
- couchbase::operations::management::bucket_create_request req;
85
+ couchbase::core::operations::management::bucket_create_request req;
84
86
  req.bucket = bucket_settings;
85
87
  auto resp = test::utils::execute(integration.cluster, req);
86
- REQUIRE_FALSE(resp.ctx.ec);
88
+ REQUIRE_SUCCESS(resp.ctx.ec);
87
89
  }
88
90
 
89
91
  {
90
92
  auto resp = wait_for_bucket_created(integration, bucket_name);
91
- REQUIRE_FALSE(resp.ctx.ec);
93
+ REQUIRE_SUCCESS(resp.ctx.ec);
92
94
  REQUIRE(bucket_settings.bucket_type == resp.bucket.bucket_type);
93
95
  REQUIRE(bucket_settings.name == resp.bucket.name);
94
96
  REQUIRE(Approx(bucket_settings.ram_quota_mb).margin(5) == resp.bucket.ram_quota_mb);
@@ -101,10 +103,10 @@ TEST_CASE("integration: bucket management", "[integration]")
101
103
  }
102
104
  std::uint64_t old_quota_mb{ 0 };
103
105
  {
104
- couchbase::operations::management::bucket_get_all_request req{};
106
+ couchbase::core::operations::management::bucket_get_all_request req{};
105
107
  auto resp = test::utils::execute(integration.cluster, req);
106
108
  INFO(resp.ctx.http_body)
107
- REQUIRE_FALSE(resp.ctx.ec);
109
+ REQUIRE_SUCCESS(resp.ctx.ec);
108
110
  bool found = false;
109
111
  for (const auto& bucket : resp.buckets) {
110
112
  if (bucket.name != bucket_name) {
@@ -128,35 +130,35 @@ TEST_CASE("integration: bucket management", "[integration]")
128
130
 
129
131
  {
130
132
  bucket_settings.ram_quota_mb = old_quota_mb + 20;
131
- couchbase::operations::management::bucket_update_request req;
133
+ couchbase::core::operations::management::bucket_update_request req;
132
134
  req.bucket = bucket_settings;
133
135
  auto resp = test::utils::execute(integration.cluster, req);
134
- REQUIRE_FALSE(resp.ctx.ec);
136
+ REQUIRE_SUCCESS(resp.ctx.ec);
135
137
  }
136
138
 
137
139
  auto ram_quota_updated = test::utils::wait_until([&integration, &bucket_name, old_quota_mb]() {
138
- couchbase::operations::management::bucket_get_request req{ bucket_name };
140
+ couchbase::core::operations::management::bucket_get_request req{ bucket_name };
139
141
  auto resp = test::utils::execute(integration.cluster, req);
140
142
  return !resp.ctx.ec && resp.bucket.ram_quota_mb > old_quota_mb;
141
143
  });
142
144
  REQUIRE(ram_quota_updated);
143
145
 
144
146
  {
145
- couchbase::operations::management::bucket_drop_request req{ bucket_name };
147
+ couchbase::core::operations::management::bucket_drop_request req{ bucket_name };
146
148
  auto resp = test::utils::execute(integration.cluster, req);
147
- REQUIRE_FALSE(resp.ctx.ec);
149
+ REQUIRE_SUCCESS(resp.ctx.ec);
148
150
  }
149
151
 
150
152
  {
151
- couchbase::operations::management::bucket_get_request req{ bucket_name };
153
+ couchbase::core::operations::management::bucket_get_request req{ bucket_name };
152
154
  auto resp = retry_on_error(integration, req, {});
153
- REQUIRE(resp.ctx.ec == couchbase::error::common_errc::bucket_not_found);
155
+ REQUIRE(resp.ctx.ec == couchbase::errc::common::bucket_not_found);
154
156
  }
155
157
 
156
158
  {
157
- couchbase::operations::management::bucket_get_all_request req;
159
+ couchbase::core::operations::management::bucket_get_all_request req;
158
160
  auto resp = test::utils::execute(integration.cluster, req);
159
- REQUIRE_FALSE(resp.ctx.ec);
161
+ REQUIRE_SUCCESS(resp.ctx.ec);
160
162
  REQUIRE(!resp.buckets.empty());
161
163
  auto known_buckets =
162
164
  std::count_if(resp.buckets.begin(), resp.buckets.end(), [&bucket_name](auto& entry) { return entry.name == bucket_name; });
@@ -168,14 +170,14 @@ TEST_CASE("integration: bucket management", "[integration]")
168
170
  {
169
171
  SECTION("flush item")
170
172
  {
171
- couchbase::document_id id{ bucket_name, "_default", "_default", test::utils::uniq_id("foo") };
173
+ couchbase::core::document_id id{ bucket_name, "_default", "_default", test::utils::uniq_id("foo") };
172
174
 
173
175
  {
174
- couchbase::operations::management::bucket_create_request req;
176
+ couchbase::core::operations::management::bucket_create_request req;
175
177
  req.bucket.name = bucket_name;
176
178
  req.bucket.flush_enabled = true;
177
179
  auto resp = test::utils::execute(integration.cluster, req);
178
- REQUIRE_FALSE(resp.ctx.ec);
180
+ REQUIRE_SUCCESS(resp.ctx.ec);
179
181
  }
180
182
 
181
183
  REQUIRE(test::utils::wait_until_bucket_healthy(integration.cluster, bucket_name));
@@ -186,54 +188,54 @@ TEST_CASE("integration: bucket management", "[integration]")
186
188
  const tao::json::value value = {
187
189
  { "a", 1.0 },
188
190
  };
189
- couchbase::operations::insert_request req{ id, couchbase::utils::json::generate_binary(value) };
191
+ couchbase::core::operations::insert_request req{ id, couchbase::core::utils::json::generate_binary(value) };
190
192
  auto resp = test::utils::execute(integration.cluster, req);
191
- REQUIRE_FALSE(resp.ctx.ec);
193
+ REQUIRE_SUCCESS(resp.ctx.ec());
192
194
  }
193
195
 
194
196
  {
195
- couchbase::operations::get_request req{ id };
197
+ couchbase::core::operations::get_request req{ id };
196
198
  auto resp = test::utils::execute(integration.cluster, req);
197
- REQUIRE_FALSE(resp.ctx.ec);
199
+ REQUIRE_SUCCESS(resp.ctx.ec());
198
200
  }
199
201
 
200
202
  {
201
- couchbase::operations::management::bucket_flush_request req{ bucket_name };
203
+ couchbase::core::operations::management::bucket_flush_request req{ bucket_name };
202
204
  auto resp = test::utils::execute(integration.cluster, req);
203
- REQUIRE_FALSE(resp.ctx.ec);
205
+ REQUIRE_SUCCESS(resp.ctx.ec);
204
206
  }
205
207
 
206
208
  auto flushed = test::utils::wait_until([&integration, id]() {
207
- couchbase::operations::get_request req{ id };
209
+ couchbase::core::operations::get_request req{ id };
208
210
  auto resp = test::utils::execute(integration.cluster, req);
209
- return resp.ctx.ec == couchbase::error::key_value_errc::document_not_found;
211
+ return resp.ctx.ec() == couchbase::errc::key_value::document_not_found;
210
212
  });
211
213
  REQUIRE(flushed);
212
214
  }
213
215
 
214
216
  SECTION("no bucket")
215
217
  {
216
- couchbase::operations::management::bucket_flush_request req{ bucket_name };
218
+ couchbase::core::operations::management::bucket_flush_request req{ bucket_name };
217
219
  auto resp = test::utils::execute(integration.cluster, req);
218
- REQUIRE(resp.ctx.ec == couchbase::error::common_errc::bucket_not_found);
220
+ REQUIRE(resp.ctx.ec == couchbase::errc::common::bucket_not_found);
219
221
  }
220
222
 
221
223
  SECTION("flush disabled")
222
224
  {
223
225
  {
224
- couchbase::operations::management::bucket_create_request req;
226
+ couchbase::core::operations::management::bucket_create_request req;
225
227
  req.bucket.name = bucket_name;
226
228
  req.bucket.flush_enabled = false;
227
229
  auto resp = test::utils::execute(integration.cluster, req);
228
- REQUIRE_FALSE(resp.ctx.ec);
230
+ REQUIRE_SUCCESS(resp.ctx.ec);
229
231
  }
230
232
 
231
233
  REQUIRE(test::utils::wait_until_bucket_healthy(integration.cluster, bucket_name));
232
234
 
233
235
  {
234
- couchbase::operations::management::bucket_flush_request req{ bucket_name };
236
+ couchbase::core::operations::management::bucket_flush_request req{ bucket_name };
235
237
  auto resp = test::utils::execute(integration.cluster, req);
236
- REQUIRE(resp.ctx.ec == couchbase::error::management_errc::bucket_not_flushable);
238
+ REQUIRE(resp.ctx.ec == couchbase::errc::management::bucket_not_flushable);
237
239
  }
238
240
  }
239
241
  }
@@ -241,59 +243,58 @@ TEST_CASE("integration: bucket management", "[integration]")
241
243
  SECTION("memcached")
242
244
  {
243
245
  {
244
- couchbase::management::cluster::bucket_settings bucket_settings;
246
+ couchbase::core::management::cluster::bucket_settings bucket_settings;
245
247
  bucket_settings.name = bucket_name;
246
- bucket_settings.bucket_type = couchbase::management::cluster::bucket_type::memcached;
248
+ bucket_settings.bucket_type = couchbase::core::management::cluster::bucket_type::memcached;
247
249
  bucket_settings.num_replicas = 0;
248
- couchbase::operations::management::bucket_create_request req{ bucket_settings };
250
+ couchbase::core::operations::management::bucket_create_request req{ bucket_settings };
249
251
  auto resp = test::utils::execute(integration.cluster, req);
250
- REQUIRE_FALSE(resp.ctx.ec);
252
+ REQUIRE_SUCCESS(resp.ctx.ec);
251
253
  }
252
254
 
253
255
  {
254
256
  auto resp = wait_for_bucket_created(integration, bucket_name);
255
- REQUIRE_FALSE(resp.ctx.ec);
256
- REQUIRE(resp.bucket.bucket_type == couchbase::management::cluster::bucket_type::memcached);
257
+ REQUIRE_SUCCESS(resp.ctx.ec);
258
+ REQUIRE(resp.bucket.bucket_type == couchbase::core::management::cluster::bucket_type::memcached);
257
259
  }
258
260
  }
259
261
 
260
262
  SECTION("ephemeral")
261
263
  {
262
- couchbase::management::cluster::bucket_settings bucket_settings;
264
+ couchbase::core::management::cluster::bucket_settings bucket_settings;
263
265
  bucket_settings.name = bucket_name;
264
- bucket_settings.bucket_type = couchbase::management::cluster::bucket_type::ephemeral;
266
+ bucket_settings.bucket_type = couchbase::core::management::cluster::bucket_type::ephemeral;
265
267
 
266
268
  SECTION("default eviction")
267
269
  {
268
270
  {
269
- couchbase::operations::management::bucket_create_request req{ bucket_settings };
271
+ couchbase::core::operations::management::bucket_create_request req{ bucket_settings };
270
272
  auto resp = test::utils::execute(integration.cluster, req);
271
- INFO(resp.error_message)
272
- REQUIRE_FALSE(resp.ctx.ec);
273
+ REQUIRE_SUCCESS(resp.ctx.ec);
273
274
  }
274
275
 
275
276
  {
276
277
  auto resp = wait_for_bucket_created(integration, bucket_name);
277
- REQUIRE_FALSE(resp.ctx.ec);
278
- REQUIRE(resp.bucket.bucket_type == couchbase::management::cluster::bucket_type::ephemeral);
279
- REQUIRE(resp.bucket.eviction_policy == couchbase::management::cluster::bucket_eviction_policy::no_eviction);
278
+ REQUIRE_SUCCESS(resp.ctx.ec);
279
+ REQUIRE(resp.bucket.bucket_type == couchbase::core::management::cluster::bucket_type::ephemeral);
280
+ REQUIRE(resp.bucket.eviction_policy == couchbase::core::management::cluster::bucket_eviction_policy::no_eviction);
280
281
  }
281
282
  }
282
283
 
283
284
  SECTION("nru eviction")
284
285
  {
285
286
  {
286
- bucket_settings.eviction_policy = couchbase::management::cluster::bucket_eviction_policy::not_recently_used;
287
- couchbase::operations::management::bucket_create_request req{ bucket_settings };
287
+ bucket_settings.eviction_policy = couchbase::core::management::cluster::bucket_eviction_policy::not_recently_used;
288
+ couchbase::core::operations::management::bucket_create_request req{ bucket_settings };
288
289
  auto resp = test::utils::execute(integration.cluster, req);
289
- REQUIRE_FALSE(resp.ctx.ec);
290
+ REQUIRE_SUCCESS(resp.ctx.ec);
290
291
  }
291
292
 
292
293
  {
293
294
  auto resp = wait_for_bucket_created(integration, bucket_name);
294
- REQUIRE_FALSE(resp.ctx.ec);
295
- REQUIRE(resp.bucket.bucket_type == couchbase::management::cluster::bucket_type::ephemeral);
296
- REQUIRE(resp.bucket.eviction_policy == couchbase::management::cluster::bucket_eviction_policy::not_recently_used);
295
+ REQUIRE_SUCCESS(resp.ctx.ec);
296
+ REQUIRE(resp.bucket.bucket_type == couchbase::core::management::cluster::bucket_type::ephemeral);
297
+ REQUIRE(resp.bucket.eviction_policy == couchbase::core::management::cluster::bucket_eviction_policy::not_recently_used);
297
298
  }
298
299
  }
299
300
 
@@ -301,17 +302,17 @@ TEST_CASE("integration: bucket management", "[integration]")
301
302
  SECTION("storage backend")
302
303
  {
303
304
  {
304
- bucket_settings.storage_backend = couchbase::management::cluster::bucket_storage_backend::couchstore;
305
- couchbase::operations::management::bucket_create_request req{ bucket_settings };
305
+ bucket_settings.storage_backend = couchbase::core::management::cluster::bucket_storage_backend::couchstore;
306
+ couchbase::core::operations::management::bucket_create_request req{ bucket_settings };
306
307
  auto resp = test::utils::execute(integration.cluster, req);
307
- REQUIRE_FALSE(resp.ctx.ec);
308
+ REQUIRE_SUCCESS(resp.ctx.ec);
308
309
  }
309
310
 
310
311
  {
311
312
  auto resp = wait_for_bucket_created(integration, bucket_name);
312
- REQUIRE_FALSE(resp.ctx.ec);
313
- REQUIRE(resp.bucket.bucket_type == couchbase::management::cluster::bucket_type::ephemeral);
314
- REQUIRE(resp.bucket.storage_backend == couchbase::management::cluster::bucket_storage_backend::unknown);
313
+ REQUIRE_SUCCESS(resp.ctx.ec);
314
+ REQUIRE(resp.bucket.bucket_type == couchbase::core::management::cluster::bucket_type::ephemeral);
315
+ REQUIRE(resp.bucket.storage_backend == couchbase::core::management::cluster::bucket_storage_backend::unknown);
315
316
  }
316
317
  }
317
318
  }
@@ -319,42 +320,41 @@ TEST_CASE("integration: bucket management", "[integration]")
319
320
 
320
321
  SECTION("couchbase")
321
322
  {
322
- couchbase::management::cluster::bucket_settings bucket_settings;
323
+ couchbase::core::management::cluster::bucket_settings bucket_settings;
323
324
  bucket_settings.name = bucket_name;
324
- bucket_settings.bucket_type = couchbase::management::cluster::bucket_type::couchbase;
325
+ bucket_settings.bucket_type = couchbase::core::management::cluster::bucket_type::couchbase;
325
326
 
326
327
  SECTION("default eviction")
327
328
  {
328
329
  {
329
330
 
330
- couchbase::operations::management::bucket_create_request req{ bucket_settings };
331
+ couchbase::core::operations::management::bucket_create_request req{ bucket_settings };
331
332
  auto resp = test::utils::execute(integration.cluster, req);
332
- INFO(resp.error_message)
333
- REQUIRE_FALSE(resp.ctx.ec);
333
+ REQUIRE_SUCCESS(resp.ctx.ec);
334
334
  }
335
335
 
336
336
  {
337
337
  auto resp = wait_for_bucket_created(integration, bucket_name);
338
- REQUIRE_FALSE(resp.ctx.ec);
339
- REQUIRE(resp.bucket.bucket_type == couchbase::management::cluster::bucket_type::couchbase);
340
- REQUIRE(resp.bucket.eviction_policy == couchbase::management::cluster::bucket_eviction_policy::value_only);
338
+ REQUIRE_SUCCESS(resp.ctx.ec);
339
+ REQUIRE(resp.bucket.bucket_type == couchbase::core::management::cluster::bucket_type::couchbase);
340
+ REQUIRE(resp.bucket.eviction_policy == couchbase::core::management::cluster::bucket_eviction_policy::value_only);
341
341
  }
342
342
  }
343
343
 
344
344
  SECTION("full eviction")
345
345
  {
346
346
  {
347
- bucket_settings.eviction_policy = couchbase::management::cluster::bucket_eviction_policy::full;
348
- couchbase::operations::management::bucket_create_request req{ bucket_settings };
347
+ bucket_settings.eviction_policy = couchbase::core::management::cluster::bucket_eviction_policy::full;
348
+ couchbase::core::operations::management::bucket_create_request req{ bucket_settings };
349
349
  auto resp = test::utils::execute(integration.cluster, req);
350
- REQUIRE_FALSE(resp.ctx.ec);
350
+ REQUIRE_SUCCESS(resp.ctx.ec);
351
351
  }
352
352
 
353
353
  {
354
354
  auto resp = wait_for_bucket_created(integration, bucket_name);
355
- REQUIRE_FALSE(resp.ctx.ec);
356
- REQUIRE(resp.bucket.bucket_type == couchbase::management::cluster::bucket_type::couchbase);
357
- REQUIRE(resp.bucket.eviction_policy == couchbase::management::cluster::bucket_eviction_policy::full);
355
+ REQUIRE_SUCCESS(resp.ctx.ec);
356
+ REQUIRE(resp.bucket.bucket_type == couchbase::core::management::cluster::bucket_type::couchbase);
357
+ REQUIRE(resp.bucket.eviction_policy == couchbase::core::management::cluster::bucket_eviction_policy::full);
358
358
  }
359
359
  }
360
360
 
@@ -364,17 +364,17 @@ TEST_CASE("integration: bucket management", "[integration]")
364
364
  SECTION("couchstore")
365
365
  {
366
366
  {
367
- bucket_settings.storage_backend = couchbase::management::cluster::bucket_storage_backend::couchstore;
368
- couchbase::operations::management::bucket_create_request req{ bucket_settings };
367
+ bucket_settings.storage_backend = couchbase::core::management::cluster::bucket_storage_backend::couchstore;
368
+ couchbase::core::operations::management::bucket_create_request req{ bucket_settings };
369
369
  auto resp = test::utils::execute(integration.cluster, req);
370
- REQUIRE_FALSE(resp.ctx.ec);
370
+ REQUIRE_SUCCESS(resp.ctx.ec);
371
371
  }
372
372
 
373
373
  {
374
374
  auto resp = wait_for_bucket_created(integration, bucket_name);
375
- REQUIRE_FALSE(resp.ctx.ec);
376
- REQUIRE(resp.bucket.bucket_type == couchbase::management::cluster::bucket_type::couchbase);
377
- REQUIRE(resp.bucket.storage_backend == couchbase::management::cluster::bucket_storage_backend::couchstore);
375
+ REQUIRE_SUCCESS(resp.ctx.ec);
376
+ REQUIRE(resp.bucket.bucket_type == couchbase::core::management::cluster::bucket_type::couchbase);
377
+ REQUIRE(resp.bucket.storage_backend == couchbase::core::management::cluster::bucket_storage_backend::couchstore);
378
378
  }
379
379
  }
380
380
 
@@ -382,17 +382,17 @@ TEST_CASE("integration: bucket management", "[integration]")
382
382
  {
383
383
  {
384
384
  bucket_settings.ram_quota_mb = integration.cluster_version().is_neo() ? 1'024 : 256;
385
- bucket_settings.storage_backend = couchbase::management::cluster::bucket_storage_backend::magma;
386
- couchbase::operations::management::bucket_create_request req{ bucket_settings };
385
+ bucket_settings.storage_backend = couchbase::core::management::cluster::bucket_storage_backend::magma;
386
+ couchbase::core::operations::management::bucket_create_request req{ bucket_settings };
387
387
  auto resp = test::utils::execute(integration.cluster, req);
388
- REQUIRE_FALSE(resp.ctx.ec);
388
+ REQUIRE_SUCCESS(resp.ctx.ec);
389
389
  }
390
390
 
391
391
  {
392
392
  auto resp = wait_for_bucket_created(integration, bucket_name);
393
- REQUIRE_FALSE(resp.ctx.ec);
394
- REQUIRE(resp.bucket.bucket_type == couchbase::management::cluster::bucket_type::couchbase);
395
- REQUIRE(resp.bucket.storage_backend == couchbase::management::cluster::bucket_storage_backend::magma);
393
+ REQUIRE_SUCCESS(resp.ctx.ec);
394
+ REQUIRE(resp.bucket.bucket_type == couchbase::core::management::cluster::bucket_type::couchbase);
395
+ REQUIRE(resp.bucket.storage_backend == couchbase::core::management::cluster::bucket_storage_backend::magma);
396
396
  }
397
397
  }
398
398
  }
@@ -402,32 +402,32 @@ TEST_CASE("integration: bucket management", "[integration]")
402
402
  SECTION("update no bucket")
403
403
  {
404
404
 
405
- couchbase::management::cluster::bucket_settings bucket_settings;
405
+ couchbase::core::management::cluster::bucket_settings bucket_settings;
406
406
  bucket_settings.name = bucket_name;
407
- couchbase::operations::management::bucket_update_request req;
407
+ couchbase::core::operations::management::bucket_update_request req;
408
408
  req.bucket = bucket_settings;
409
409
  auto resp = test::utils::execute(integration.cluster, req);
410
- REQUIRE(resp.ctx.ec == couchbase::error::common_errc::bucket_not_found);
410
+ REQUIRE(resp.ctx.ec == couchbase::errc::common::bucket_not_found);
411
411
  }
412
412
 
413
413
  if (integration.cluster_version().supports_minimum_durability_level()) {
414
414
  SECTION("minimum durability level")
415
415
  {
416
- couchbase::management::cluster::bucket_settings bucket_settings;
416
+ couchbase::core::management::cluster::bucket_settings bucket_settings;
417
417
  bucket_settings.name = bucket_name;
418
418
 
419
419
  SECTION("default")
420
420
  {
421
421
  {
422
- couchbase::operations::management::bucket_create_request req{ bucket_settings };
422
+ couchbase::core::operations::management::bucket_create_request req{ bucket_settings };
423
423
  auto resp = test::utils::execute(integration.cluster, req);
424
- REQUIRE_FALSE(resp.ctx.ec);
424
+ REQUIRE_SUCCESS(resp.ctx.ec);
425
425
  }
426
426
 
427
427
  {
428
428
  auto resp = wait_for_bucket_created(integration, bucket_name);
429
- REQUIRE_FALSE(resp.ctx.ec);
430
- REQUIRE(resp.bucket.minimum_durability_level == couchbase::protocol::durability_level::none);
429
+ REQUIRE_SUCCESS(resp.ctx.ec);
430
+ REQUIRE(resp.bucket.minimum_durability_level == couchbase::durability_level::none);
431
431
  }
432
432
  }
433
433
 
@@ -435,17 +435,16 @@ TEST_CASE("integration: bucket management", "[integration]")
435
435
  SECTION("majority")
436
436
  {
437
437
  {
438
- bucket_settings.minimum_durability_level = couchbase::protocol::durability_level::majority;
439
- couchbase::operations::management::bucket_create_request req{ bucket_settings };
438
+ bucket_settings.minimum_durability_level = couchbase::durability_level::majority;
439
+ couchbase::core::operations::management::bucket_create_request req{ bucket_settings };
440
440
  auto resp = test::utils::execute(integration.cluster, req);
441
- INFO(resp.error_message)
442
- REQUIRE_FALSE(resp.ctx.ec);
441
+ REQUIRE_SUCCESS(resp.ctx.ec);
443
442
  }
444
443
 
445
444
  {
446
445
  auto resp = wait_for_bucket_created(integration, bucket_name);
447
- REQUIRE_FALSE(resp.ctx.ec);
448
- REQUIRE(resp.bucket.minimum_durability_level == couchbase::protocol::durability_level::majority);
446
+ REQUIRE_SUCCESS(resp.ctx.ec);
447
+ REQUIRE(resp.bucket.minimum_durability_level == couchbase::durability_level::majority);
449
448
  }
450
449
  }
451
450
  }
@@ -456,18 +455,18 @@ TEST_CASE("integration: bucket management", "[integration]")
456
455
 
457
456
  // drop bucket if not already dropped
458
457
  {
459
- couchbase::operations::management::bucket_drop_request req{ bucket_name };
458
+ couchbase::core::operations::management::bucket_drop_request req{ bucket_name };
460
459
  test::utils::execute(integration.cluster, req);
461
460
  }
462
461
  }
463
462
 
464
- std::optional<couchbase::topology::collections_manifest::collection>
465
- get_collection(std::shared_ptr<couchbase::cluster> cluster,
463
+ std::optional<couchbase::core::topology::collections_manifest::collection>
464
+ get_collection(std::shared_ptr<couchbase::core::cluster> cluster,
466
465
  const std::string& bucket_name,
467
466
  const std::string& scope_name,
468
467
  const std::string& collection_name)
469
468
  {
470
- couchbase::operations::management::scope_get_all_request req{ bucket_name };
469
+ couchbase::core::operations::management::scope_get_all_request req{ bucket_name };
471
470
  auto resp = test::utils::execute(cluster, req);
472
471
  if (!resp.ctx.ec) {
473
472
  for (const auto& scope : resp.manifest.scopes) {
@@ -484,9 +483,9 @@ get_collection(std::shared_ptr<couchbase::cluster> cluster,
484
483
  }
485
484
 
486
485
  bool
487
- scope_exists(std::shared_ptr<couchbase::cluster> cluster, const std::string& bucket_name, const std::string& scope_name)
486
+ scope_exists(std::shared_ptr<couchbase::core::cluster> cluster, const std::string& bucket_name, const std::string& scope_name)
488
487
  {
489
- couchbase::operations::management::scope_get_all_request req{ bucket_name };
488
+ couchbase::core::operations::management::scope_get_all_request req{ bucket_name };
490
489
  auto resp = test::utils::execute(cluster, req);
491
490
  if (!resp.ctx.ec) {
492
491
  for (const auto& scope : resp.manifest.scopes) {
@@ -512,9 +511,9 @@ TEST_CASE("integration: collection management", "[integration]")
512
511
  std::uint32_t max_expiry = 5;
513
512
 
514
513
  {
515
- couchbase::operations::management::scope_create_request req{ integration.ctx.bucket, scope_name };
514
+ couchbase::core::operations::management::scope_create_request req{ integration.ctx.bucket, scope_name };
516
515
  auto resp = test::utils::execute(integration.cluster, req);
517
- REQUIRE_FALSE(resp.ctx.ec);
516
+ REQUIRE_SUCCESS(resp.ctx.ec);
518
517
  auto created = test::utils::wait_until_collection_manifest_propagated(integration.cluster, integration.ctx.bucket, resp.uid);
519
518
  REQUIRE(created);
520
519
  }
@@ -525,24 +524,24 @@ TEST_CASE("integration: collection management", "[integration]")
525
524
  }
526
525
 
527
526
  {
528
- couchbase::operations::management::scope_create_request req{ integration.ctx.bucket, scope_name };
527
+ couchbase::core::operations::management::scope_create_request req{ integration.ctx.bucket, scope_name };
529
528
  auto resp = test::utils::execute(integration.cluster, req);
530
- REQUIRE(resp.ctx.ec == couchbase::error::management_errc::scope_exists);
529
+ REQUIRE(resp.ctx.ec == couchbase::errc::management::scope_exists);
531
530
  }
532
531
 
533
532
  {
534
- couchbase::operations::management::collection_create_request req{ integration.ctx.bucket, scope_name, collection_name };
533
+ couchbase::core::operations::management::collection_create_request req{ integration.ctx.bucket, scope_name, collection_name };
535
534
  if (integration.cluster_version().is_enterprise()) {
536
535
  req.max_expiry = max_expiry;
537
536
  }
538
537
  auto resp = test::utils::execute(integration.cluster, req);
539
- REQUIRE_FALSE(resp.ctx.ec);
538
+ REQUIRE_SUCCESS(resp.ctx.ec);
540
539
  auto created = test::utils::wait_until_collection_manifest_propagated(integration.cluster, integration.ctx.bucket, resp.uid);
541
540
  REQUIRE(created);
542
541
  }
543
542
 
544
543
  {
545
- couchbase::topology::collections_manifest::collection collection;
544
+ couchbase::core::topology::collections_manifest::collection collection;
546
545
  auto created = test::utils::wait_until([&]() {
547
546
  auto coll = get_collection(integration.cluster, integration.ctx.bucket, scope_name, collection_name);
548
547
  if (coll) {
@@ -558,15 +557,15 @@ TEST_CASE("integration: collection management", "[integration]")
558
557
  }
559
558
 
560
559
  {
561
- couchbase::operations::management::collection_create_request req{ integration.ctx.bucket, scope_name, collection_name };
560
+ couchbase::core::operations::management::collection_create_request req{ integration.ctx.bucket, scope_name, collection_name };
562
561
  auto resp = test::utils::execute(integration.cluster, req);
563
- REQUIRE(resp.ctx.ec == couchbase::error::management_errc::collection_exists);
562
+ REQUIRE(resp.ctx.ec == couchbase::errc::management::collection_exists);
564
563
  }
565
564
 
566
565
  {
567
- couchbase::operations::management::collection_drop_request req{ integration.ctx.bucket, scope_name, collection_name };
566
+ couchbase::core::operations::management::collection_drop_request req{ integration.ctx.bucket, scope_name, collection_name };
568
567
  auto resp = test::utils::execute(integration.cluster, req);
569
- REQUIRE_FALSE(resp.ctx.ec);
568
+ REQUIRE_SUCCESS(resp.ctx.ec);
570
569
  }
571
570
 
572
571
  {
@@ -576,15 +575,15 @@ TEST_CASE("integration: collection management", "[integration]")
576
575
  }
577
576
 
578
577
  {
579
- couchbase::operations::management::collection_drop_request req{ integration.ctx.bucket, scope_name, collection_name };
578
+ couchbase::core::operations::management::collection_drop_request req{ integration.ctx.bucket, scope_name, collection_name };
580
579
  auto resp = test::utils::execute(integration.cluster, req);
581
- REQUIRE(resp.ctx.ec == couchbase::error::common_errc::collection_not_found);
580
+ REQUIRE(resp.ctx.ec == couchbase::errc::common::collection_not_found);
582
581
  }
583
582
 
584
583
  {
585
- couchbase::operations::management::scope_drop_request req{ integration.ctx.bucket, scope_name };
584
+ couchbase::core::operations::management::scope_drop_request req{ integration.ctx.bucket, scope_name };
586
585
  auto resp = test::utils::execute(integration.cluster, req);
587
- REQUIRE_FALSE(resp.ctx.ec);
586
+ REQUIRE_SUCCESS(resp.ctx.ec);
588
587
  }
589
588
 
590
589
  {
@@ -593,15 +592,15 @@ TEST_CASE("integration: collection management", "[integration]")
593
592
  }
594
593
 
595
594
  {
596
- couchbase::operations::management::scope_drop_request req{ integration.ctx.bucket, scope_name };
595
+ couchbase::core::operations::management::scope_drop_request req{ integration.ctx.bucket, scope_name };
597
596
  auto resp = test::utils::execute(integration.cluster, req);
598
- REQUIRE(resp.ctx.ec == couchbase::error::common_errc::scope_not_found);
597
+ REQUIRE(resp.ctx.ec == couchbase::errc::common::scope_not_found);
599
598
  }
600
599
  }
601
600
 
602
601
  void
603
- assert_user_and_metadata(const couchbase::management::rbac::user_and_metadata& user,
604
- const couchbase::management::rbac::user_and_metadata& expected)
602
+ assert_user_and_metadata(const couchbase::core::management::rbac::user_and_metadata& user,
603
+ const couchbase::core::management::rbac::user_and_metadata& expected)
605
604
  {
606
605
  REQUIRE(user.username == expected.username);
607
606
  REQUIRE(user.groups == expected.groups);
@@ -652,23 +651,23 @@ TEST_CASE("integration: user groups management", "[integration]")
652
651
  auto group_name_1 = test::utils::uniq_id("group");
653
652
  auto group_name_2 = test::utils::uniq_id("group");
654
653
 
655
- couchbase::management::rbac::group group{};
654
+ couchbase::core::management::rbac::group group{};
656
655
  group.name = group_name_1;
657
656
  group.description = "this is a test";
658
- group.roles = { couchbase::management::rbac::role{ "replication_target", integration.ctx.bucket },
659
- couchbase::management::rbac::role{ "replication_admin" } };
657
+ group.roles = { couchbase::core::management::rbac::role{ "replication_target", integration.ctx.bucket },
658
+ couchbase::core::management::rbac::role{ "replication_admin" } };
660
659
  group.ldap_group_reference = "asda=price";
661
660
 
662
661
  {
663
- couchbase::operations::management::group_upsert_request req{ group };
662
+ couchbase::core::operations::management::group_upsert_request req{ group };
664
663
  auto resp = test::utils::execute(integration.cluster, req);
665
- REQUIRE_FALSE(resp.ctx.ec);
664
+ REQUIRE_SUCCESS(resp.ctx.ec);
666
665
  }
667
666
 
668
667
  {
669
- couchbase::operations::management::group_get_request req{ group_name_1 };
670
- auto resp = retry_on_error(integration, req, couchbase::error::management_errc::group_not_found);
671
- REQUIRE_FALSE(resp.ctx.ec);
668
+ couchbase::core::operations::management::group_get_request req{ group_name_1 };
669
+ auto resp = retry_on_error(integration, req, couchbase::errc::management::group_not_found);
670
+ REQUIRE_SUCCESS(resp.ctx.ec);
672
671
  REQUIRE(resp.group.name == group.name);
673
672
  REQUIRE(resp.group.description == group.description);
674
673
  REQUIRE(resp.group.ldap_group_reference == group.ldap_group_reference);
@@ -676,15 +675,15 @@ TEST_CASE("integration: user groups management", "[integration]")
676
675
 
677
676
  {
678
677
  group.description = "this is still a test";
679
- group.roles.push_back(couchbase::management::rbac::role{ "query_system_catalog" });
680
- couchbase::operations::management::group_upsert_request req{ group };
678
+ group.roles.push_back(couchbase::core::management::rbac::role{ "query_system_catalog" });
679
+ couchbase::core::operations::management::group_upsert_request req{ group };
681
680
  auto resp = test::utils::execute(integration.cluster, req);
682
- REQUIRE_FALSE(resp.ctx.ec);
681
+ REQUIRE_SUCCESS(resp.ctx.ec);
683
682
  }
684
683
 
685
684
  {
686
685
  auto updated = test::utils::wait_until([&]() {
687
- couchbase::operations::management::group_get_request req{ group_name_1 };
686
+ couchbase::core::operations::management::group_get_request req{ group_name_1 };
688
687
  auto resp = test::utils::execute(integration.cluster, req);
689
688
  return !resp.ctx.ec && resp.group.description == group.description;
690
689
  });
@@ -693,53 +692,53 @@ TEST_CASE("integration: user groups management", "[integration]")
693
692
 
694
693
  {
695
694
  group.name = group_name_2;
696
- couchbase::operations::management::group_upsert_request req{ group };
695
+ couchbase::core::operations::management::group_upsert_request req{ group };
697
696
  auto resp = test::utils::execute(integration.cluster, req);
698
- REQUIRE_FALSE(resp.ctx.ec);
697
+ REQUIRE_SUCCESS(resp.ctx.ec);
699
698
  }
700
699
 
701
700
  {
702
701
  auto created = test::utils::wait_until([&]() {
703
- couchbase::operations::management::group_get_all_request req{ group_name_2 };
702
+ couchbase::core::operations::management::group_get_all_request req{ group_name_2 };
704
703
  auto resp = test::utils::execute(integration.cluster, req);
705
- REQUIRE_FALSE(resp.ctx.ec);
704
+ REQUIRE_SUCCESS(resp.ctx.ec);
706
705
  return resp.groups.size() == 2;
707
706
  });
708
707
  REQUIRE(created);
709
708
  }
710
709
 
711
710
  {
712
- couchbase::operations::management::role_get_all_request req{};
711
+ couchbase::core::operations::management::role_get_all_request req{};
713
712
  auto resp = test::utils::execute(integration.cluster, req);
714
- REQUIRE_FALSE(resp.ctx.ec);
713
+ REQUIRE_SUCCESS(resp.ctx.ec);
715
714
  REQUIRE(resp.roles.size() > 0);
716
715
  }
717
716
 
718
717
  {
719
- couchbase::operations::management::group_drop_request req{ group_name_1 };
718
+ couchbase::core::operations::management::group_drop_request req{ group_name_1 };
720
719
  auto resp = test::utils::execute(integration.cluster, req);
721
- REQUIRE_FALSE(resp.ctx.ec);
720
+ REQUIRE_SUCCESS(resp.ctx.ec);
722
721
  }
723
722
 
724
723
  {
725
- couchbase::operations::management::group_drop_request req{ group_name_2 };
724
+ couchbase::core::operations::management::group_drop_request req{ group_name_2 };
726
725
  auto resp = test::utils::execute(integration.cluster, req);
727
- REQUIRE_FALSE(resp.ctx.ec);
726
+ REQUIRE_SUCCESS(resp.ctx.ec);
728
727
  }
729
728
  }
730
729
 
731
730
  SECTION("get missing group")
732
731
  {
733
- couchbase::operations::management::group_get_request req{ test::utils::uniq_id("group") };
732
+ couchbase::core::operations::management::group_get_request req{ test::utils::uniq_id("group") };
734
733
  auto resp = test::utils::execute(integration.cluster, req);
735
- REQUIRE(resp.ctx.ec == couchbase::error::management_errc::group_not_found);
734
+ REQUIRE(resp.ctx.ec == couchbase::errc::management::group_not_found);
736
735
  }
737
736
 
738
737
  SECTION("drop missing group")
739
738
  {
740
- couchbase::operations::management::group_drop_request req{ test::utils::uniq_id("group") };
739
+ couchbase::core::operations::management::group_drop_request req{ test::utils::uniq_id("group") };
741
740
  auto resp = test::utils::execute(integration.cluster, req);
742
- REQUIRE(resp.ctx.ec == couchbase::error::management_errc::group_not_found);
741
+ REQUIRE(resp.ctx.ec == couchbase::errc::management::group_not_found);
743
742
  }
744
743
 
745
744
  SECTION("user and groups crud")
@@ -747,60 +746,60 @@ TEST_CASE("integration: user groups management", "[integration]")
747
746
  auto group_name = test::utils::uniq_id("group");
748
747
  auto user_name = test::utils::uniq_id("user");
749
748
 
750
- couchbase::management::rbac::group group{};
749
+ couchbase::core::management::rbac::group group{};
751
750
  group.name = group_name;
752
751
  group.description = "this is a test";
753
- group.roles = { couchbase::management::rbac::role{ "replication_target", integration.ctx.bucket },
754
- couchbase::management::rbac::role{ "replication_admin" } };
752
+ group.roles = { couchbase::core::management::rbac::role{ "replication_target", integration.ctx.bucket },
753
+ couchbase::core::management::rbac::role{ "replication_admin" } };
755
754
 
756
755
  {
757
- couchbase::operations::management::group_upsert_request req{ group };
756
+ couchbase::core::operations::management::group_upsert_request req{ group };
758
757
  auto resp = test::utils::execute(integration.cluster, req);
759
- REQUIRE_FALSE(resp.ctx.ec);
758
+ REQUIRE_SUCCESS(resp.ctx.ec);
760
759
  }
761
760
 
762
- couchbase::management::rbac::user user{ user_name };
761
+ couchbase::core::management::rbac::user user{ user_name };
763
762
  user.display_name = "display_name";
764
763
  user.password = "password";
765
764
  user.roles = {
766
- couchbase::management::rbac::role{ "bucket_admin", integration.ctx.bucket },
765
+ couchbase::core::management::rbac::role{ "bucket_admin", integration.ctx.bucket },
767
766
  };
768
767
  user.groups = { group_name };
769
768
 
770
769
  {
771
- couchbase::operations::management::user_upsert_request req{};
770
+ couchbase::core::operations::management::user_upsert_request req{};
772
771
  req.user = user;
773
- auto resp = retry_on_error(integration, req, couchbase::error::common_errc::invalid_argument);
774
- REQUIRE_FALSE(resp.ctx.ec);
772
+ auto resp = retry_on_error(integration, req, couchbase::errc::common::invalid_argument);
773
+ REQUIRE_SUCCESS(resp.ctx.ec);
775
774
  }
776
775
 
777
- couchbase::management::rbac::user_and_metadata expected{};
776
+ couchbase::core::management::rbac::user_and_metadata expected{};
778
777
  expected.username = user.username;
779
778
  expected.display_name = user.display_name;
780
779
  expected.roles = user.roles;
781
780
  expected.groups = user.groups;
782
- expected.domain = couchbase::management::rbac::auth_domain::local;
781
+ expected.domain = couchbase::core::management::rbac::auth_domain::local;
783
782
 
784
- couchbase::management::rbac::role_and_origins expected_role_1{};
783
+ couchbase::core::management::rbac::role_and_origins expected_role_1{};
785
784
  expected_role_1.name = "bucket_admin";
786
785
  expected_role_1.bucket = integration.ctx.bucket;
787
- expected_role_1.origins = { couchbase::management::rbac::origin{ "user" } };
786
+ expected_role_1.origins = { couchbase::core::management::rbac::origin{ "user" } };
788
787
 
789
- couchbase::management::rbac::role_and_origins expected_role_2{};
788
+ couchbase::core::management::rbac::role_and_origins expected_role_2{};
790
789
  expected_role_2.name = "replication_target";
791
790
  expected_role_2.bucket = integration.ctx.bucket;
792
- expected_role_2.origins = { couchbase::management::rbac::origin{ "group", group_name } };
791
+ expected_role_2.origins = { couchbase::core::management::rbac::origin{ "group", group_name } };
793
792
 
794
- couchbase::management::rbac::role_and_origins expected_role_3{};
793
+ couchbase::core::management::rbac::role_and_origins expected_role_3{};
795
794
  expected_role_3.name = "replication_admin";
796
- expected_role_3.origins = { couchbase::management::rbac::origin{ "group", group_name } };
795
+ expected_role_3.origins = { couchbase::core::management::rbac::origin{ "group", group_name } };
797
796
 
798
797
  expected.effective_roles = { expected_role_1, expected_role_2, expected_role_3 };
799
798
 
800
799
  {
801
- couchbase::operations::management::user_get_request req{ user_name };
802
- auto resp = retry_on_error(integration, req, couchbase::error::management_errc::user_not_found);
803
- REQUIRE_FALSE(resp.ctx.ec);
800
+ couchbase::core::operations::management::user_get_request req{ user_name };
801
+ auto resp = retry_on_error(integration, req, couchbase::errc::management::user_not_found);
802
+ REQUIRE_SUCCESS(resp.ctx.ec);
804
803
  assert_user_and_metadata(resp.user, expected);
805
804
  }
806
805
 
@@ -808,27 +807,27 @@ TEST_CASE("integration: user groups management", "[integration]")
808
807
  expected.display_name = "different_display_name";
809
808
 
810
809
  {
811
- couchbase::operations::management::user_upsert_request req{};
810
+ couchbase::core::operations::management::user_upsert_request req{};
812
811
  req.user = user;
813
812
  auto resp = test::utils::execute(integration.cluster, req);
814
- REQUIRE_FALSE(resp.ctx.ec);
813
+ REQUIRE_SUCCESS(resp.ctx.ec);
815
814
  }
816
815
 
817
816
  {
818
- couchbase::operations::management::user_get_response resp;
817
+ couchbase::core::operations::management::user_get_response resp;
819
818
  test::utils::wait_until([&]() {
820
- couchbase::operations::management::user_get_request req{ user.username };
819
+ couchbase::core::operations::management::user_get_request req{ user.username };
821
820
  resp = test::utils::execute(integration.cluster, req);
822
821
  return !resp.ctx.ec && resp.user.display_name == user.display_name;
823
822
  });
824
- REQUIRE_FALSE(resp.ctx.ec);
823
+ REQUIRE_SUCCESS(resp.ctx.ec);
825
824
  assert_user_and_metadata(resp.user, expected);
826
825
  }
827
826
 
828
827
  {
829
- couchbase::operations::management::user_get_all_request req{};
828
+ couchbase::core::operations::management::user_get_all_request req{};
830
829
  auto resp = test::utils::execute(integration.cluster, req);
831
- REQUIRE_FALSE(resp.ctx.ec);
830
+ REQUIRE_SUCCESS(resp.ctx.ec);
832
831
  REQUIRE_FALSE(resp.users.empty());
833
832
  auto upserted_user =
834
833
  std::find_if(resp.users.begin(), resp.users.end(), [&user_name](const auto& u) { return u.username == user_name; });
@@ -837,15 +836,15 @@ TEST_CASE("integration: user groups management", "[integration]")
837
836
  }
838
837
 
839
838
  {
840
- couchbase::operations::management::user_drop_request req{ user_name };
839
+ couchbase::core::operations::management::user_drop_request req{ user_name };
841
840
  auto resp = test::utils::execute(integration.cluster, req);
842
- REQUIRE_FALSE(resp.ctx.ec);
841
+ REQUIRE_SUCCESS(resp.ctx.ec);
843
842
  }
844
843
 
845
844
  {
846
- couchbase::operations::management::group_drop_request req{ group_name };
845
+ couchbase::core::operations::management::group_drop_request req{ group_name };
847
846
  auto resp = test::utils::execute(integration.cluster, req);
848
- REQUIRE_FALSE(resp.ctx.ec);
847
+ REQUIRE_SUCCESS(resp.ctx.ec);
849
848
  }
850
849
  }
851
850
  }
@@ -864,23 +863,23 @@ TEST_CASE("integration: user management", "[integration]")
864
863
 
865
864
  SECTION("get missing user")
866
865
  {
867
- couchbase::operations::management::user_get_request req{ test::utils::uniq_id("user") };
866
+ couchbase::core::operations::management::user_get_request req{ test::utils::uniq_id("user") };
868
867
  auto resp = test::utils::execute(integration.cluster, req);
869
- REQUIRE(resp.ctx.ec == couchbase::error::management_errc::user_not_found);
868
+ REQUIRE(resp.ctx.ec == couchbase::errc::management::user_not_found);
870
869
  }
871
870
 
872
871
  SECTION("drop missing user")
873
872
  {
874
- couchbase::operations::management::user_drop_request req{ test::utils::uniq_id("user") };
873
+ couchbase::core::operations::management::user_drop_request req{ test::utils::uniq_id("user") };
875
874
  auto resp = test::utils::execute(integration.cluster, req);
876
- REQUIRE(resp.ctx.ec == couchbase::error::management_errc::user_not_found);
875
+ REQUIRE(resp.ctx.ec == couchbase::errc::management::user_not_found);
877
876
  }
878
877
 
879
878
  SECTION("get roles")
880
879
  {
881
- couchbase::operations::management::role_get_all_request req{};
880
+ couchbase::core::operations::management::role_get_all_request req{};
882
881
  auto resp = test::utils::execute(integration.cluster, req);
883
- REQUIRE_FALSE(resp.ctx.ec);
882
+ REQUIRE_SUCCESS(resp.ctx.ec);
884
883
  REQUIRE(resp.roles.size() > 0);
885
884
  }
886
885
  }
@@ -900,39 +899,39 @@ TEST_CASE("integration: user management collections roles", "[integration]")
900
899
  auto user_name = test::utils::uniq_id("user");
901
900
 
902
901
  {
903
- couchbase::operations::management::scope_create_request req{ integration.ctx.bucket, scope_name };
902
+ couchbase::core::operations::management::scope_create_request req{ integration.ctx.bucket, scope_name };
904
903
  auto resp = test::utils::execute(integration.cluster, req);
905
- REQUIRE_FALSE(resp.ctx.ec);
904
+ REQUIRE_SUCCESS(resp.ctx.ec);
906
905
  auto created = test::utils::wait_until_collection_manifest_propagated(integration.cluster, integration.ctx.bucket, resp.uid);
907
906
  REQUIRE(created);
908
907
  }
909
908
 
910
909
  {
911
- couchbase::operations::management::collection_create_request req{ integration.ctx.bucket, scope_name, collection_name };
910
+ couchbase::core::operations::management::collection_create_request req{ integration.ctx.bucket, scope_name, collection_name };
912
911
  auto resp = test::utils::execute(integration.cluster, req);
913
- REQUIRE_FALSE(resp.ctx.ec);
912
+ REQUIRE_SUCCESS(resp.ctx.ec);
914
913
  auto created = test::utils::wait_until_collection_manifest_propagated(integration.cluster, integration.ctx.bucket, resp.uid);
915
914
  REQUIRE(created);
916
915
  }
917
916
 
918
- couchbase::management::rbac::user user{ user_name };
917
+ couchbase::core::management::rbac::user user{ user_name };
919
918
  user.display_name = "display_name";
920
919
  user.password = "password";
921
920
  user.roles = {
922
- couchbase::management::rbac::role{ "data_reader", integration.ctx.bucket, scope_name },
921
+ couchbase::core::management::rbac::role{ "data_reader", integration.ctx.bucket, scope_name },
923
922
  };
924
923
 
925
924
  {
926
- couchbase::operations::management::user_upsert_request req{};
925
+ couchbase::core::operations::management::user_upsert_request req{};
927
926
  req.user = user;
928
927
  auto resp = test::utils::execute(integration.cluster, req);
929
- REQUIRE_FALSE(resp.ctx.ec);
928
+ REQUIRE_SUCCESS(resp.ctx.ec);
930
929
  }
931
930
 
932
931
  {
933
- couchbase::operations::management::user_get_request req{ user_name };
934
- auto resp = retry_on_error(integration, req, couchbase::error::management_errc::user_not_found);
935
- REQUIRE_FALSE(resp.ctx.ec);
932
+ couchbase::core::operations::management::user_get_request req{ user_name };
933
+ auto resp = retry_on_error(integration, req, couchbase::errc::management::user_not_found);
934
+ REQUIRE_SUCCESS(resp.ctx.ec);
936
935
  REQUIRE(resp.user.roles.size() == 1);
937
936
  REQUIRE(resp.user.roles[0].name == "data_reader");
938
937
  REQUIRE(resp.user.roles[0].bucket == integration.ctx.bucket);
@@ -940,20 +939,20 @@ TEST_CASE("integration: user management collections roles", "[integration]")
940
939
  }
941
940
 
942
941
  user.roles = {
943
- couchbase::management::rbac::role{ "data_reader", integration.ctx.bucket, scope_name, collection_name },
942
+ couchbase::core::management::rbac::role{ "data_reader", integration.ctx.bucket, scope_name, collection_name },
944
943
  };
945
944
 
946
945
  {
947
- couchbase::operations::management::user_upsert_request req{};
946
+ couchbase::core::operations::management::user_upsert_request req{};
948
947
  req.user = user;
949
948
  auto resp = test::utils::execute(integration.cluster, req);
950
- REQUIRE_FALSE(resp.ctx.ec);
949
+ REQUIRE_SUCCESS(resp.ctx.ec);
951
950
  }
952
951
 
953
952
  {
954
- couchbase::operations::management::user_get_request req{ user_name };
953
+ couchbase::core::operations::management::user_get_request req{ user_name };
955
954
  auto resp = test::utils::execute(integration.cluster, req);
956
- REQUIRE_FALSE(resp.ctx.ec);
955
+ REQUIRE_SUCCESS(resp.ctx.ec);
957
956
  REQUIRE(resp.user.roles.size() == 1);
958
957
  REQUIRE(resp.user.roles[0].name == "data_reader");
959
958
  REQUIRE(resp.user.roles[0].bucket == integration.ctx.bucket);
@@ -978,9 +977,9 @@ TEST_CASE("integration: query index management", "[integration]")
978
977
  auto bucket_name = test::utils::uniq_id("bucket");
979
978
 
980
979
  {
981
- couchbase::operations::management::bucket_create_request req;
980
+ couchbase::core::operations::management::bucket_create_request req;
982
981
  req.bucket.name = bucket_name;
983
- req.bucket.bucket_type = couchbase::management::cluster::bucket_type::couchbase;
982
+ req.bucket.bucket_type = couchbase::core::management::cluster::bucket_type::couchbase;
984
983
  req.bucket.num_replicas = 0;
985
984
  auto resp = test::utils::execute(integration.cluster, req);
986
985
  }
@@ -988,30 +987,30 @@ TEST_CASE("integration: query index management", "[integration]")
988
987
  REQUIRE(!wait_for_bucket_created(integration, bucket_name).ctx.ec);
989
988
 
990
989
  {
991
- couchbase::operations::management::query_index_create_response resp;
990
+ couchbase::core::operations::management::query_index_create_response resp;
992
991
  bool operation_completed = test::utils::wait_until([&integration, &bucket_name, &resp]() {
993
- couchbase::operations::management::query_index_create_request req{};
992
+ couchbase::core::operations::management::query_index_create_request req{};
994
993
  req.bucket_name = bucket_name;
995
994
  req.is_primary = true;
996
995
  resp = test::utils::execute(integration.cluster, req);
997
- return resp.ctx.ec != couchbase::error::common_errc::bucket_not_found;
996
+ return resp.ctx.ec != couchbase::errc::common::bucket_not_found;
998
997
  });
999
998
  REQUIRE(operation_completed);
1000
- REQUIRE_FALSE(resp.ctx.ec);
999
+ REQUIRE_SUCCESS(resp.ctx.ec);
1001
1000
  }
1002
1001
 
1003
1002
  {
1004
- couchbase::operations::management::query_index_get_all_request req{};
1003
+ couchbase::core::operations::management::query_index_get_all_request req{};
1005
1004
  req.bucket_name = bucket_name;
1006
1005
  auto resp = test::utils::execute(integration.cluster, req);
1007
- REQUIRE_FALSE(resp.ctx.ec);
1006
+ REQUIRE_SUCCESS(resp.ctx.ec);
1008
1007
  REQUIRE(resp.indexes.size() == 1);
1009
1008
  REQUIRE(resp.indexes[0].name == "#primary");
1010
1009
  REQUIRE(resp.indexes[0].is_primary);
1011
1010
  }
1012
1011
 
1013
1012
  {
1014
- couchbase::operations::management::bucket_drop_request req{ bucket_name };
1013
+ couchbase::core::operations::management::bucket_drop_request req{ bucket_name };
1015
1014
  test::utils::execute(integration.cluster, req);
1016
1015
  }
1017
1016
  }
@@ -1020,43 +1019,43 @@ TEST_CASE("integration: query index management", "[integration]")
1020
1019
  SECTION("non primary index")
1021
1020
  {
1022
1021
  {
1023
- couchbase::operations::management::query_index_create_response resp;
1022
+ couchbase::core::operations::management::query_index_create_response resp;
1024
1023
  bool operation_completed = test::utils::wait_until([&integration, &index_name, &resp]() {
1025
- couchbase::operations::management::query_index_create_request req{};
1024
+ couchbase::core::operations::management::query_index_create_request req{};
1026
1025
  req.bucket_name = integration.ctx.bucket;
1027
1026
  req.index_name = index_name;
1028
1027
  req.fields = { "field", "field2 DESC", "`two words` DESC" };
1029
1028
  resp = test::utils::execute(integration.cluster, req);
1030
- return resp.ctx.ec != couchbase::error::common_errc::bucket_not_found;
1029
+ return resp.ctx.ec != couchbase::errc::common::bucket_not_found;
1031
1030
  });
1032
1031
  REQUIRE(operation_completed);
1033
- REQUIRE_FALSE(resp.ctx.ec);
1032
+ REQUIRE_SUCCESS(resp.ctx.ec);
1034
1033
  }
1035
1034
 
1036
1035
  {
1037
- couchbase::operations::management::query_index_create_request req{};
1036
+ couchbase::core::operations::management::query_index_create_request req{};
1038
1037
  req.bucket_name = integration.ctx.bucket;
1039
1038
  req.index_name = index_name;
1040
1039
  req.fields = { "field" };
1041
1040
  auto resp = test::utils::execute(integration.cluster, req);
1042
- REQUIRE(resp.ctx.ec == couchbase::error::common_errc::index_exists);
1041
+ REQUIRE(resp.ctx.ec == couchbase::errc::common::index_exists);
1043
1042
  }
1044
1043
 
1045
1044
  {
1046
- couchbase::operations::management::query_index_create_request req{};
1045
+ couchbase::core::operations::management::query_index_create_request req{};
1047
1046
  req.bucket_name = integration.ctx.bucket;
1048
1047
  req.index_name = index_name;
1049
1048
  req.fields = { "field" };
1050
1049
  req.ignore_if_exists = true;
1051
1050
  auto resp = test::utils::execute(integration.cluster, req);
1052
- REQUIRE_FALSE(resp.ctx.ec);
1051
+ REQUIRE_SUCCESS(resp.ctx.ec);
1053
1052
  }
1054
1053
 
1055
1054
  {
1056
- couchbase::operations::management::query_index_get_all_request req{};
1055
+ couchbase::core::operations::management::query_index_get_all_request req{};
1057
1056
  req.bucket_name = integration.ctx.bucket;
1058
1057
  auto resp = test::utils::execute(integration.cluster, req);
1059
- REQUIRE_FALSE(resp.ctx.ec);
1058
+ REQUIRE_SUCCESS(resp.ctx.ec);
1060
1059
  auto index = std::find_if(
1061
1060
  resp.indexes.begin(), resp.indexes.end(), [&index_name](const auto& exp_index) { return exp_index.name == index_name; });
1062
1061
  REQUIRE(index != resp.indexes.end());
@@ -1071,44 +1070,44 @@ TEST_CASE("integration: query index management", "[integration]")
1071
1070
  }
1072
1071
 
1073
1072
  {
1074
- couchbase::operations::management::query_index_drop_request req{};
1073
+ couchbase::core::operations::management::query_index_drop_request req{};
1075
1074
  req.bucket_name = integration.ctx.bucket;
1076
1075
  req.index_name = index_name;
1077
1076
  auto resp = test::utils::execute(integration.cluster, req);
1078
- REQUIRE_FALSE(resp.ctx.ec);
1077
+ REQUIRE_SUCCESS(resp.ctx.ec);
1079
1078
  }
1080
1079
 
1081
1080
  {
1082
- couchbase::operations::management::query_index_drop_request req{};
1081
+ couchbase::core::operations::management::query_index_drop_request req{};
1083
1082
  req.bucket_name = integration.ctx.bucket;
1084
1083
  req.index_name = index_name;
1085
1084
  auto resp = test::utils::execute(integration.cluster, req);
1086
- REQUIRE(resp.ctx.ec == couchbase::error::common_errc::index_not_found);
1085
+ REQUIRE(resp.ctx.ec == couchbase::errc::common::index_not_found);
1087
1086
  }
1088
1087
  }
1089
1088
 
1090
1089
  SECTION("deferred index")
1091
1090
  {
1092
1091
  {
1093
- couchbase::operations::management::query_index_create_response resp;
1092
+ couchbase::core::operations::management::query_index_create_response resp;
1094
1093
  bool operation_completed = test::utils::wait_until([&integration, &index_name, &resp]() {
1095
- couchbase::operations::management::query_index_create_request req{};
1094
+ couchbase::core::operations::management::query_index_create_request req{};
1096
1095
  req.bucket_name = integration.ctx.bucket;
1097
1096
  req.index_name = index_name;
1098
1097
  req.fields = { "field" };
1099
1098
  req.deferred = true;
1100
1099
  resp = test::utils::execute(integration.cluster, req);
1101
- return resp.ctx.ec != couchbase::error::common_errc::bucket_not_found;
1100
+ return resp.ctx.ec != couchbase::errc::common::bucket_not_found;
1102
1101
  });
1103
1102
  REQUIRE(operation_completed);
1104
- REQUIRE_FALSE(resp.ctx.ec);
1103
+ REQUIRE_SUCCESS(resp.ctx.ec);
1105
1104
  }
1106
1105
 
1107
1106
  {
1108
- couchbase::operations::management::query_index_get_all_request req{};
1107
+ couchbase::core::operations::management::query_index_get_all_request req{};
1109
1108
  req.bucket_name = integration.ctx.bucket;
1110
1109
  auto resp = test::utils::execute(integration.cluster, req);
1111
- REQUIRE_FALSE(resp.ctx.ec);
1110
+ REQUIRE_SUCCESS(resp.ctx.ec);
1112
1111
  auto index = std::find_if(
1113
1112
  resp.indexes.begin(), resp.indexes.end(), [&index_name](const auto& exp_index) { return exp_index.name == index_name; });
1114
1113
  REQUIRE(index != resp.indexes.end());
@@ -1116,15 +1115,23 @@ TEST_CASE("integration: query index management", "[integration]")
1116
1115
  REQUIRE(index->state == "deferred");
1117
1116
  }
1118
1117
 
1118
+ SECTION("public API")
1119
1119
  {
1120
- couchbase::operations::management::query_index_build_deferred_request req{};
1120
+ auto manager = couchbase::cluster(integration.cluster).query_indexes();
1121
+ auto ctx = manager.build_deferred_indexes(integration.ctx.bucket, {}).get();
1122
+ REQUIRE_SUCCESS(ctx.ec());
1123
+ }
1124
+
1125
+ SECTION("core API")
1126
+ {
1127
+ couchbase::core::operations::management::query_index_build_deferred_request req{};
1121
1128
  req.bucket_name = integration.ctx.bucket;
1122
1129
  auto resp = test::utils::execute(integration.cluster, req);
1123
- REQUIRE_FALSE(resp.ctx.ec);
1130
+ REQUIRE_SUCCESS(resp.ctx.ec);
1124
1131
  }
1125
1132
 
1126
1133
  test::utils::wait_until([&integration, &index_name]() {
1127
- couchbase::operations::management::query_index_get_all_request req{};
1134
+ couchbase::core::operations::management::query_index_get_all_request req{};
1128
1135
  req.bucket_name = integration.ctx.bucket;
1129
1136
  auto resp = test::utils::execute(integration.cluster, req);
1130
1137
  if (resp.indexes.empty()) {
@@ -1138,29 +1145,29 @@ TEST_CASE("integration: query index management", "[integration]")
1138
1145
 
1139
1146
  SECTION("create missing bucket")
1140
1147
  {
1141
- couchbase::operations::management::query_index_create_request req{};
1148
+ couchbase::core::operations::management::query_index_create_request req{};
1142
1149
  req.bucket_name = "missing_bucket";
1143
1150
  req.is_primary = true;
1144
1151
  auto resp = test::utils::execute(integration.cluster, req);
1145
- REQUIRE(resp.ctx.ec == couchbase::error::common_errc::bucket_not_found);
1152
+ REQUIRE(resp.ctx.ec == couchbase::errc::common::bucket_not_found);
1146
1153
  }
1147
1154
 
1148
1155
  SECTION("get missing bucket")
1149
1156
  {
1150
- couchbase::operations::management::query_index_get_all_request req{};
1157
+ couchbase::core::operations::management::query_index_get_all_request req{};
1151
1158
  req.bucket_name = "missing_bucket";
1152
1159
  auto resp = test::utils::execute(integration.cluster, req);
1153
- REQUIRE_FALSE(resp.ctx.ec);
1160
+ REQUIRE_SUCCESS(resp.ctx.ec);
1154
1161
  REQUIRE(resp.indexes.empty());
1155
1162
  }
1156
1163
 
1157
1164
  SECTION("drop missing bucket")
1158
1165
  {
1159
- couchbase::operations::management::query_index_drop_request req{};
1166
+ couchbase::core::operations::management::query_index_drop_request req{};
1160
1167
  req.bucket_name = "missing_bucket";
1161
1168
  req.is_primary = true;
1162
1169
  auto resp = test::utils::execute(integration.cluster, req);
1163
- REQUIRE(resp.ctx.ec == couchbase::error::common_errc::bucket_not_found);
1170
+ REQUIRE(resp.ctx.ec == couchbase::errc::common::bucket_not_found);
1164
1171
  }
1165
1172
  }
1166
1173
 
@@ -1184,17 +1191,17 @@ TEST_CASE("integration: collections query index management", "[integration]")
1184
1191
 
1185
1192
  // create the scope and collection that we'll do index management on.
1186
1193
  {
1187
- couchbase::operations::management::scope_create_request req{ integration.ctx.bucket, scope_name };
1194
+ couchbase::core::operations::management::scope_create_request req{ integration.ctx.bucket, scope_name };
1188
1195
  auto resp = test::utils::execute(integration.cluster, req);
1189
- REQUIRE_FALSE(resp.ctx.ec);
1196
+ REQUIRE_SUCCESS(resp.ctx.ec);
1190
1197
  auto created = test::utils::wait_until_collection_manifest_propagated(integration.cluster, integration.ctx.bucket, resp.uid);
1191
1198
  REQUIRE(created);
1192
1199
  }
1193
1200
 
1194
1201
  {
1195
- couchbase::operations::management::collection_create_request req{ integration.ctx.bucket, scope_name, collection_name };
1202
+ couchbase::core::operations::management::collection_create_request req{ integration.ctx.bucket, scope_name, collection_name };
1196
1203
  auto resp = test::utils::execute(integration.cluster, req);
1197
- REQUIRE_FALSE(resp.ctx.ec);
1204
+ REQUIRE_SUCCESS(resp.ctx.ec);
1198
1205
  auto created = test::utils::wait_until_collection_manifest_propagated(integration.cluster, integration.ctx.bucket, resp.uid);
1199
1206
  REQUIRE(created);
1200
1207
  }
@@ -1202,27 +1209,27 @@ TEST_CASE("integration: collections query index management", "[integration]")
1202
1209
  SECTION("primary index")
1203
1210
  {
1204
1211
  {
1205
- couchbase::operations::management::query_index_create_response resp;
1212
+ couchbase::core::operations::management::query_index_create_response resp;
1206
1213
  bool operation_completed = test::utils::wait_until([&integration, &scope_name, &collection_name, &resp]() {
1207
- couchbase::operations::management::query_index_create_request req{};
1214
+ couchbase::core::operations::management::query_index_create_request req{};
1208
1215
  req.bucket_name = integration.ctx.bucket;
1209
1216
  req.scope_name = scope_name;
1210
1217
  req.collection_name = collection_name;
1211
1218
  req.is_primary = true;
1212
1219
  resp = test::utils::execute(integration.cluster, req);
1213
- return resp.ctx.ec != couchbase::error::common_errc::bucket_not_found;
1220
+ return resp.ctx.ec != couchbase::errc::common::bucket_not_found;
1214
1221
  });
1215
1222
  REQUIRE(operation_completed);
1216
- REQUIRE_FALSE(resp.ctx.ec);
1223
+ REQUIRE_SUCCESS(resp.ctx.ec);
1217
1224
  }
1218
1225
 
1219
1226
  {
1220
- couchbase::operations::management::query_index_get_all_request req{};
1227
+ couchbase::core::operations::management::query_index_get_all_request req{};
1221
1228
  req.bucket_name = integration.ctx.bucket;
1222
1229
  req.scope_name = scope_name;
1223
1230
  req.collection_name = collection_name;
1224
1231
  auto resp = test::utils::execute(integration.cluster, req);
1225
- REQUIRE_FALSE(resp.ctx.ec);
1232
+ REQUIRE_SUCCESS(resp.ctx.ec);
1226
1233
  REQUIRE(resp.indexes.size() == 1);
1227
1234
  REQUIRE(resp.indexes[0].name == "#primary");
1228
1235
  REQUIRE(resp.indexes[0].is_primary);
@@ -1232,76 +1239,76 @@ TEST_CASE("integration: collections query index management", "[integration]")
1232
1239
  SECTION("named primary index")
1233
1240
  {
1234
1241
  {
1235
- couchbase::operations::management::query_index_create_response resp;
1242
+ couchbase::core::operations::management::query_index_create_response resp;
1236
1243
  bool operation_completed = test::utils::wait_until([&integration, &index_name, &scope_name, &collection_name, &resp]() {
1237
- couchbase::operations::management::query_index_create_request req{};
1244
+ couchbase::core::operations::management::query_index_create_request req{};
1238
1245
  req.bucket_name = integration.ctx.bucket;
1239
1246
  req.scope_name = scope_name;
1240
1247
  req.collection_name = collection_name;
1241
1248
  req.index_name = index_name;
1242
1249
  req.is_primary = true;
1243
1250
  resp = test::utils::execute(integration.cluster, req);
1244
- return resp.ctx.ec != couchbase::error::common_errc::bucket_not_found;
1251
+ return resp.ctx.ec != couchbase::errc::common::bucket_not_found;
1245
1252
  });
1246
1253
  REQUIRE(operation_completed);
1247
- REQUIRE_FALSE(resp.ctx.ec);
1254
+ REQUIRE_SUCCESS(resp.ctx.ec);
1248
1255
  }
1249
1256
 
1250
1257
  {
1251
- couchbase::operations::management::query_index_get_all_request req{};
1258
+ couchbase::core::operations::management::query_index_get_all_request req{};
1252
1259
  req.bucket_name = integration.ctx.bucket;
1253
1260
  req.scope_name = scope_name;
1254
1261
  req.collection_name = collection_name;
1255
1262
  auto resp = test::utils::execute(integration.cluster, req);
1256
- REQUIRE_FALSE(resp.ctx.ec);
1263
+ REQUIRE_SUCCESS(resp.ctx.ec);
1257
1264
  REQUIRE(resp.indexes.size() == 1);
1258
1265
  REQUIRE(resp.indexes[0].name == index_name);
1259
1266
  REQUIRE(resp.indexes[0].is_primary);
1260
1267
  }
1261
1268
 
1262
1269
  {
1263
- couchbase::operations::management::query_index_drop_request req{};
1270
+ couchbase::core::operations::management::query_index_drop_request req{};
1264
1271
  req.bucket_name = integration.ctx.bucket;
1265
1272
  req.index_name = index_name;
1266
1273
  req.scope_name = scope_name;
1267
1274
  req.is_primary = true;
1268
1275
  req.collection_name = collection_name;
1269
1276
  auto resp = test::utils::execute(integration.cluster, req);
1270
- REQUIRE_FALSE(resp.ctx.ec);
1277
+ REQUIRE_SUCCESS(resp.ctx.ec);
1271
1278
  }
1272
1279
  }
1273
1280
 
1274
1281
  SECTION("non primary index")
1275
1282
  {
1276
1283
  {
1277
- couchbase::operations::management::query_index_create_response resp;
1284
+ couchbase::core::operations::management::query_index_create_response resp;
1278
1285
  bool operation_completed = test::utils::wait_until([&integration, &index_name, &scope_name, &collection_name, &resp]() {
1279
- couchbase::operations::management::query_index_create_request req{};
1286
+ couchbase::core::operations::management::query_index_create_request req{};
1280
1287
  req.bucket_name = integration.ctx.bucket;
1281
1288
  req.index_name = index_name;
1282
1289
  req.scope_name = scope_name;
1283
1290
  req.collection_name = collection_name;
1284
1291
  req.fields = { "field" };
1285
1292
  resp = test::utils::execute(integration.cluster, req);
1286
- return resp.ctx.ec != couchbase::error::common_errc::bucket_not_found;
1293
+ return resp.ctx.ec != couchbase::errc::common::bucket_not_found;
1287
1294
  });
1288
1295
  REQUIRE(operation_completed);
1289
- REQUIRE_FALSE(resp.ctx.ec);
1296
+ REQUIRE_SUCCESS(resp.ctx.ec);
1290
1297
  }
1291
1298
 
1292
1299
  {
1293
- couchbase::operations::management::query_index_create_request req{};
1300
+ couchbase::core::operations::management::query_index_create_request req{};
1294
1301
  req.bucket_name = integration.ctx.bucket;
1295
1302
  req.index_name = index_name;
1296
1303
  req.scope_name = scope_name;
1297
1304
  req.collection_name = collection_name;
1298
1305
  req.fields = { "field" };
1299
1306
  auto resp = test::utils::execute(integration.cluster, req);
1300
- REQUIRE(resp.ctx.ec == couchbase::error::common_errc::index_exists);
1307
+ REQUIRE(resp.ctx.ec == couchbase::errc::common::index_exists);
1301
1308
  }
1302
1309
 
1303
1310
  {
1304
- couchbase::operations::management::query_index_create_request req{};
1311
+ couchbase::core::operations::management::query_index_create_request req{};
1305
1312
  req.bucket_name = integration.ctx.bucket;
1306
1313
  req.index_name = index_name;
1307
1314
  req.scope_name = scope_name;
@@ -1309,16 +1316,16 @@ TEST_CASE("integration: collections query index management", "[integration]")
1309
1316
  req.fields = { "field" };
1310
1317
  req.ignore_if_exists = true;
1311
1318
  auto resp = test::utils::execute(integration.cluster, req);
1312
- REQUIRE_FALSE(resp.ctx.ec);
1319
+ REQUIRE_SUCCESS(resp.ctx.ec);
1313
1320
  }
1314
1321
 
1315
1322
  {
1316
- couchbase::operations::management::query_index_get_all_request req{};
1323
+ couchbase::core::operations::management::query_index_get_all_request req{};
1317
1324
  req.bucket_name = integration.ctx.bucket;
1318
1325
  req.scope_name = scope_name;
1319
1326
  req.collection_name = collection_name;
1320
1327
  auto resp = test::utils::execute(integration.cluster, req);
1321
- REQUIRE_FALSE(resp.ctx.ec);
1328
+ REQUIRE_SUCCESS(resp.ctx.ec);
1322
1329
  REQUIRE(resp.indexes.size() == 1);
1323
1330
  REQUIRE(resp.indexes[0].name == index_name);
1324
1331
  REQUIRE_FALSE(resp.indexes[0].is_primary);
@@ -1331,32 +1338,32 @@ TEST_CASE("integration: collections query index management", "[integration]")
1331
1338
  }
1332
1339
 
1333
1340
  {
1334
- couchbase::operations::management::query_index_drop_request req{};
1341
+ couchbase::core::operations::management::query_index_drop_request req{};
1335
1342
  req.bucket_name = integration.ctx.bucket;
1336
1343
  req.index_name = index_name;
1337
1344
  req.scope_name = scope_name;
1338
1345
  req.collection_name = collection_name;
1339
1346
  auto resp = test::utils::execute(integration.cluster, req);
1340
- REQUIRE_FALSE(resp.ctx.ec);
1347
+ REQUIRE_SUCCESS(resp.ctx.ec);
1341
1348
  }
1342
1349
 
1343
1350
  {
1344
- couchbase::operations::management::query_index_drop_request req{};
1351
+ couchbase::core::operations::management::query_index_drop_request req{};
1345
1352
  req.bucket_name = integration.ctx.bucket;
1346
1353
  req.index_name = index_name;
1347
1354
  req.scope_name = scope_name;
1348
1355
  req.collection_name = collection_name;
1349
1356
  auto resp = test::utils::execute(integration.cluster, req);
1350
- REQUIRE(resp.ctx.ec == couchbase::error::common_errc::index_not_found);
1357
+ REQUIRE(resp.ctx.ec == couchbase::errc::common::index_not_found);
1351
1358
  }
1352
1359
  }
1353
1360
 
1354
1361
  SECTION("deferred index")
1355
1362
  {
1356
1363
  {
1357
- couchbase::operations::management::query_index_create_response resp;
1364
+ couchbase::core::operations::management::query_index_create_response resp;
1358
1365
  bool operation_completed = test::utils::wait_until([&integration, &index_name, &scope_name, &collection_name, &resp]() {
1359
- couchbase::operations::management::query_index_create_request req{};
1366
+ couchbase::core::operations::management::query_index_create_request req{};
1360
1367
  req.bucket_name = integration.ctx.bucket;
1361
1368
  req.index_name = index_name;
1362
1369
  req.scope_name = scope_name;
@@ -1364,35 +1371,43 @@ TEST_CASE("integration: collections query index management", "[integration]")
1364
1371
  req.fields = { "field" };
1365
1372
  req.deferred = true;
1366
1373
  resp = test::utils::execute(integration.cluster, req);
1367
- return resp.ctx.ec != couchbase::error::common_errc::bucket_not_found;
1374
+ return resp.ctx.ec != couchbase::errc::common::bucket_not_found;
1368
1375
  });
1369
1376
  REQUIRE(operation_completed);
1370
- REQUIRE_FALSE(resp.ctx.ec);
1377
+ REQUIRE_SUCCESS(resp.ctx.ec);
1371
1378
  }
1372
1379
 
1373
1380
  {
1374
- couchbase::operations::management::query_index_get_all_request req{};
1381
+ couchbase::core::operations::management::query_index_get_all_request req{};
1375
1382
  req.bucket_name = integration.ctx.bucket;
1376
1383
  req.scope_name = scope_name;
1377
1384
  req.collection_name = collection_name;
1378
1385
  auto resp = test::utils::execute(integration.cluster, req);
1379
- REQUIRE_FALSE(resp.ctx.ec);
1386
+ REQUIRE_SUCCESS(resp.ctx.ec);
1380
1387
  REQUIRE(resp.indexes.size() == 1);
1381
1388
  REQUIRE(resp.indexes[0].name == index_name);
1382
1389
  REQUIRE(resp.indexes[0].state == "deferred");
1383
1390
  }
1384
1391
 
1392
+ SECTION("public API")
1393
+ {
1394
+ auto manager = couchbase::cluster(integration.cluster).query_indexes();
1395
+ auto ctx = manager.build_deferred_indexes(integration.ctx.bucket, {}).get();
1396
+ REQUIRE_SUCCESS(ctx.ec());
1397
+ }
1398
+
1399
+ SECTION("core API")
1385
1400
  {
1386
- couchbase::operations::management::query_index_build_deferred_request req{};
1401
+ couchbase::core::operations::management::query_index_build_deferred_request req{};
1387
1402
  req.bucket_name = integration.ctx.bucket;
1388
1403
  req.scope_name = scope_name;
1389
1404
  req.collection_name = collection_name;
1390
1405
  auto resp = test::utils::execute(integration.cluster, req);
1391
- REQUIRE_FALSE(resp.ctx.ec);
1406
+ REQUIRE_SUCCESS(resp.ctx.ec);
1392
1407
  }
1393
1408
 
1394
1409
  test::utils::wait_until([&integration, scope_name, collection_name]() {
1395
- couchbase::operations::management::query_index_get_all_request req{};
1410
+ couchbase::core::operations::management::query_index_get_all_request req{};
1396
1411
  req.bucket_name = integration.ctx.bucket;
1397
1412
  req.scope_name = scope_name;
1398
1413
  req.collection_name = collection_name;
@@ -1406,57 +1421,57 @@ TEST_CASE("integration: collections query index management", "[integration]")
1406
1421
 
1407
1422
  SECTION("create missing collection")
1408
1423
  {
1409
- couchbase::operations::management::query_index_create_request req{};
1424
+ couchbase::core::operations::management::query_index_create_request req{};
1410
1425
  req.bucket_name = integration.ctx.bucket;
1411
1426
  req.scope_name = scope_name;
1412
1427
  req.collection_name = "missing_collection";
1413
1428
  req.is_primary = true;
1414
1429
  auto resp = test::utils::execute(integration.cluster, req);
1415
- REQUIRE(resp.ctx.ec == couchbase::error::common_errc::collection_not_found);
1430
+ REQUIRE(resp.ctx.ec == couchbase::errc::common::collection_not_found);
1416
1431
  }
1417
1432
 
1418
1433
  SECTION("create missing scope")
1419
1434
  {
1420
- couchbase::operations::management::query_index_create_request req{};
1435
+ couchbase::core::operations::management::query_index_create_request req{};
1421
1436
  req.bucket_name = integration.ctx.bucket;
1422
1437
  req.scope_name = "missing_scope";
1423
1438
  req.collection_name = collection_name;
1424
1439
  req.is_primary = true;
1425
1440
  auto resp = test::utils::execute(integration.cluster, req);
1426
- REQUIRE(resp.ctx.ec == couchbase::error::common_errc::scope_not_found);
1441
+ REQUIRE(resp.ctx.ec == couchbase::errc::common::scope_not_found);
1427
1442
  }
1428
1443
 
1429
1444
  SECTION("get missing collection")
1430
1445
  {
1431
- couchbase::operations::management::query_index_get_all_request req{};
1446
+ couchbase::core::operations::management::query_index_get_all_request req{};
1432
1447
  req.bucket_name = integration.ctx.bucket;
1433
1448
  req.scope_name = scope_name;
1434
1449
  req.collection_name = "missing_collection";
1435
1450
  auto resp = test::utils::execute(integration.cluster, req);
1436
- REQUIRE_FALSE(resp.ctx.ec);
1451
+ REQUIRE_SUCCESS(resp.ctx.ec);
1437
1452
  REQUIRE(resp.indexes.empty());
1438
1453
  }
1439
1454
 
1440
1455
  SECTION("drop missing collection")
1441
1456
  {
1442
- couchbase::operations::management::query_index_drop_request req{};
1457
+ couchbase::core::operations::management::query_index_drop_request req{};
1443
1458
  req.bucket_name = integration.ctx.bucket;
1444
1459
  req.scope_name = scope_name;
1445
1460
  req.collection_name = "missing_collection";
1446
1461
  req.is_primary = true;
1447
1462
  auto resp = test::utils::execute(integration.cluster, req);
1448
- REQUIRE(resp.ctx.ec == couchbase::error::common_errc::collection_not_found);
1463
+ REQUIRE(resp.ctx.ec == couchbase::errc::common::collection_not_found);
1449
1464
  }
1450
1465
 
1451
1466
  SECTION("drop missing scope")
1452
1467
  {
1453
- couchbase::operations::management::query_index_drop_request req{};
1468
+ couchbase::core::operations::management::query_index_drop_request req{};
1454
1469
  req.bucket_name = integration.ctx.bucket;
1455
1470
  req.scope_name = "missing_scope";
1456
1471
  req.collection_name = collection_name;
1457
1472
  req.is_primary = true;
1458
1473
  auto resp = test::utils::execute(integration.cluster, req);
1459
- REQUIRE(resp.ctx.ec == couchbase::error::common_errc::scope_not_found);
1474
+ REQUIRE(resp.ctx.ec == couchbase::errc::common::scope_not_found);
1460
1475
  }
1461
1476
  }
1462
1477
 
@@ -1469,7 +1484,7 @@ TEST_CASE("integration: analytics index management", "[integration]")
1469
1484
  }
1470
1485
 
1471
1486
  // MB-47718
1472
- if (integration.storage_backend() == couchbase::management::cluster::bucket_storage_backend::magma) {
1487
+ if (integration.storage_backend() == couchbase::core::management::cluster::bucket_storage_backend::magma) {
1473
1488
  return;
1474
1489
  }
1475
1490
 
@@ -1480,96 +1495,96 @@ TEST_CASE("integration: analytics index management", "[integration]")
1480
1495
  auto index_name = test::utils::uniq_id("index");
1481
1496
 
1482
1497
  {
1483
- couchbase::operations::management::analytics_dataverse_create_request req{};
1498
+ couchbase::core::operations::management::analytics_dataverse_create_request req{};
1484
1499
  req.dataverse_name = dataverse_name;
1485
1500
  auto resp = test::utils::execute(integration.cluster, req);
1486
- REQUIRE_FALSE(resp.ctx.ec);
1501
+ REQUIRE_SUCCESS(resp.ctx.ec);
1487
1502
  }
1488
1503
 
1489
1504
  {
1490
- couchbase::operations::management::analytics_dataverse_create_request req{};
1505
+ couchbase::core::operations::management::analytics_dataverse_create_request req{};
1491
1506
  req.dataverse_name = dataverse_name;
1492
1507
  auto resp = test::utils::execute(integration.cluster, req);
1493
- REQUIRE(resp.ctx.ec == couchbase::error::analytics_errc::dataverse_exists);
1508
+ REQUIRE(resp.ctx.ec == couchbase::errc::analytics::dataverse_exists);
1494
1509
  }
1495
1510
 
1496
1511
  {
1497
- couchbase::operations::management::analytics_dataverse_create_request req{};
1512
+ couchbase::core::operations::management::analytics_dataverse_create_request req{};
1498
1513
  req.dataverse_name = dataverse_name;
1499
1514
  req.ignore_if_exists = true;
1500
1515
  auto resp = test::utils::execute(integration.cluster, req);
1501
- REQUIRE_FALSE(resp.ctx.ec);
1516
+ REQUIRE_SUCCESS(resp.ctx.ec);
1502
1517
  }
1503
1518
 
1504
1519
  {
1505
- couchbase::operations::management::analytics_dataset_create_request req{};
1520
+ couchbase::core::operations::management::analytics_dataset_create_request req{};
1506
1521
  req.dataset_name = dataset_name;
1507
1522
  req.bucket_name = integration.ctx.bucket;
1508
1523
  req.dataverse_name = dataverse_name;
1509
1524
  auto resp = test::utils::execute(integration.cluster, req);
1510
- REQUIRE_FALSE(resp.ctx.ec);
1525
+ REQUIRE_SUCCESS(resp.ctx.ec);
1511
1526
  }
1512
1527
 
1513
1528
  {
1514
- couchbase::operations::management::analytics_dataset_create_request req{};
1529
+ couchbase::core::operations::management::analytics_dataset_create_request req{};
1515
1530
  req.dataset_name = dataset_name;
1516
1531
  req.bucket_name = integration.ctx.bucket;
1517
1532
  req.dataverse_name = dataverse_name;
1518
1533
  auto resp = test::utils::execute(integration.cluster, req);
1519
- REQUIRE(resp.ctx.ec == couchbase::error::analytics_errc::dataset_exists);
1534
+ REQUIRE(resp.ctx.ec == couchbase::errc::analytics::dataset_exists);
1520
1535
  }
1521
1536
 
1522
1537
  {
1523
- couchbase::operations::management::analytics_dataset_create_request req{};
1538
+ couchbase::core::operations::management::analytics_dataset_create_request req{};
1524
1539
  req.dataset_name = dataset_name;
1525
1540
  req.bucket_name = integration.ctx.bucket;
1526
1541
  req.dataverse_name = dataverse_name;
1527
1542
  req.ignore_if_exists = true;
1528
1543
  auto resp = test::utils::execute(integration.cluster, req);
1529
- REQUIRE_FALSE(resp.ctx.ec);
1544
+ REQUIRE_SUCCESS(resp.ctx.ec);
1530
1545
  }
1531
1546
 
1532
1547
  {
1533
- couchbase::operations::management::analytics_index_create_request req{};
1548
+ couchbase::core::operations::management::analytics_index_create_request req{};
1534
1549
  req.dataverse_name = dataverse_name;
1535
1550
  req.dataset_name = dataset_name;
1536
1551
  req.index_name = index_name;
1537
1552
  req.fields["testkey"] = "string";
1538
1553
  auto resp = test::utils::execute(integration.cluster, req);
1539
- REQUIRE_FALSE(resp.ctx.ec);
1554
+ REQUIRE_SUCCESS(resp.ctx.ec);
1540
1555
  }
1541
1556
 
1542
1557
  {
1543
- couchbase::operations::management::analytics_index_create_request req{};
1558
+ couchbase::core::operations::management::analytics_index_create_request req{};
1544
1559
  req.dataverse_name = dataverse_name;
1545
1560
  req.dataset_name = dataset_name;
1546
1561
  req.index_name = index_name;
1547
1562
  req.fields["testkey"] = "string";
1548
1563
  auto resp = test::utils::execute(integration.cluster, req);
1549
- REQUIRE(resp.ctx.ec == couchbase::error::common_errc::index_exists);
1564
+ REQUIRE(resp.ctx.ec == couchbase::errc::common::index_exists);
1550
1565
  }
1551
1566
 
1552
1567
  {
1553
- couchbase::operations::management::analytics_index_create_request req{};
1568
+ couchbase::core::operations::management::analytics_index_create_request req{};
1554
1569
  req.dataverse_name = dataverse_name;
1555
1570
  req.dataset_name = dataset_name;
1556
1571
  req.index_name = index_name;
1557
1572
  req.fields["testkey"] = "string";
1558
1573
  req.ignore_if_exists = true;
1559
1574
  auto resp = test::utils::execute(integration.cluster, req);
1560
- REQUIRE_FALSE(resp.ctx.ec);
1575
+ REQUIRE_SUCCESS(resp.ctx.ec);
1561
1576
  }
1562
1577
 
1563
1578
  {
1564
- couchbase::operations::management::analytics_link_connect_request req{};
1579
+ couchbase::core::operations::management::analytics_link_connect_request req{};
1565
1580
  auto resp = test::utils::execute(integration.cluster, req);
1566
- REQUIRE_FALSE(resp.ctx.ec);
1581
+ REQUIRE_SUCCESS(resp.ctx.ec);
1567
1582
  }
1568
1583
 
1569
1584
  {
1570
- couchbase::operations::management::analytics_dataset_get_all_request req{};
1585
+ couchbase::core::operations::management::analytics_dataset_get_all_request req{};
1571
1586
  auto resp = test::utils::execute(integration.cluster, req);
1572
- REQUIRE_FALSE(resp.ctx.ec);
1587
+ REQUIRE_SUCCESS(resp.ctx.ec);
1573
1588
  REQUIRE_FALSE(resp.datasets.empty());
1574
1589
  auto dataset = std::find_if(resp.datasets.begin(), resp.datasets.end(), [&dataset_name](const auto& exp_dataset) {
1575
1590
  return exp_dataset.name == dataset_name;
@@ -1581,9 +1596,9 @@ TEST_CASE("integration: analytics index management", "[integration]")
1581
1596
  }
1582
1597
 
1583
1598
  {
1584
- couchbase::operations::management::analytics_index_get_all_request req{};
1599
+ couchbase::core::operations::management::analytics_index_get_all_request req{};
1585
1600
  auto resp = test::utils::execute(integration.cluster, req);
1586
- REQUIRE_FALSE(resp.ctx.ec);
1601
+ REQUIRE_SUCCESS(resp.ctx.ec);
1587
1602
  REQUIRE_FALSE(resp.indexes.empty());
1588
1603
  auto index = std::find_if(
1589
1604
  resp.indexes.begin(), resp.indexes.end(), [&index_name](const auto& exp_index) { return exp_index.name == index_name; });
@@ -1594,91 +1609,91 @@ TEST_CASE("integration: analytics index management", "[integration]")
1594
1609
  }
1595
1610
 
1596
1611
  if (integration.cluster_version().supports_analytics_pending_mutations()) {
1597
- couchbase::operations::management::analytics_get_pending_mutations_request req{};
1612
+ couchbase::core::operations::management::analytics_get_pending_mutations_request req{};
1598
1613
  auto resp = test::utils::execute(integration.cluster, req);
1599
- REQUIRE_FALSE(resp.ctx.ec);
1614
+ REQUIRE_SUCCESS(resp.ctx.ec);
1600
1615
  REQUIRE(resp.stats[index_name] == 0);
1601
1616
  }
1602
1617
 
1603
1618
  {
1604
- couchbase::operations::management::analytics_link_disconnect_request req{};
1619
+ couchbase::core::operations::management::analytics_link_disconnect_request req{};
1605
1620
  auto resp = test::utils::execute(integration.cluster, req);
1606
- REQUIRE_FALSE(resp.ctx.ec);
1621
+ REQUIRE_SUCCESS(resp.ctx.ec);
1607
1622
  }
1608
1623
 
1609
1624
  {
1610
- couchbase::operations::management::analytics_index_drop_request req{};
1625
+ couchbase::core::operations::management::analytics_index_drop_request req{};
1611
1626
  req.index_name = index_name;
1612
1627
  req.dataverse_name = dataverse_name;
1613
1628
  req.dataset_name = dataset_name;
1614
1629
  auto resp = test::utils::execute(integration.cluster, req);
1615
- REQUIRE_FALSE(resp.ctx.ec);
1630
+ REQUIRE_SUCCESS(resp.ctx.ec);
1616
1631
  }
1617
1632
 
1618
1633
  {
1619
- couchbase::operations::management::analytics_index_drop_request req{};
1634
+ couchbase::core::operations::management::analytics_index_drop_request req{};
1620
1635
  req.index_name = index_name;
1621
1636
  req.dataverse_name = dataverse_name;
1622
1637
  req.dataset_name = dataset_name;
1623
1638
  auto resp = test::utils::execute(integration.cluster, req);
1624
- REQUIRE(resp.ctx.ec == couchbase::error::common_errc::index_not_found);
1639
+ REQUIRE(resp.ctx.ec == couchbase::errc::common::index_not_found);
1625
1640
  }
1626
1641
 
1627
1642
  {
1628
- couchbase::operations::management::analytics_index_drop_request req{};
1643
+ couchbase::core::operations::management::analytics_index_drop_request req{};
1629
1644
  req.index_name = index_name;
1630
1645
  req.dataverse_name = dataverse_name;
1631
1646
  req.dataset_name = dataset_name;
1632
1647
  req.ignore_if_does_not_exist = true;
1633
1648
  auto resp = test::utils::execute(integration.cluster, req);
1634
- REQUIRE_FALSE(resp.ctx.ec);
1649
+ REQUIRE_SUCCESS(resp.ctx.ec);
1635
1650
  }
1636
1651
 
1637
1652
  {
1638
- couchbase::operations::management::analytics_dataset_drop_request req{};
1653
+ couchbase::core::operations::management::analytics_dataset_drop_request req{};
1639
1654
  req.dataverse_name = dataverse_name;
1640
1655
  req.dataset_name = dataset_name;
1641
1656
  auto resp = test::utils::execute(integration.cluster, req);
1642
- REQUIRE_FALSE(resp.ctx.ec);
1657
+ REQUIRE_SUCCESS(resp.ctx.ec);
1643
1658
  }
1644
1659
 
1645
1660
  {
1646
- couchbase::operations::management::analytics_dataset_drop_request req{};
1661
+ couchbase::core::operations::management::analytics_dataset_drop_request req{};
1647
1662
  req.dataverse_name = dataverse_name;
1648
1663
  req.dataset_name = dataset_name;
1649
1664
  auto resp = test::utils::execute(integration.cluster, req);
1650
- REQUIRE(resp.ctx.ec == couchbase::error::analytics_errc::dataset_not_found);
1665
+ REQUIRE(resp.ctx.ec == couchbase::errc::analytics::dataset_not_found);
1651
1666
  }
1652
1667
 
1653
1668
  {
1654
- couchbase::operations::management::analytics_dataset_drop_request req{};
1669
+ couchbase::core::operations::management::analytics_dataset_drop_request req{};
1655
1670
  req.dataverse_name = dataverse_name;
1656
1671
  req.dataset_name = dataset_name;
1657
1672
  req.ignore_if_does_not_exist = true;
1658
1673
  auto resp = test::utils::execute(integration.cluster, req);
1659
- REQUIRE_FALSE(resp.ctx.ec);
1674
+ REQUIRE_SUCCESS(resp.ctx.ec);
1660
1675
  }
1661
1676
 
1662
1677
  {
1663
- couchbase::operations::management::analytics_dataverse_drop_request req{};
1678
+ couchbase::core::operations::management::analytics_dataverse_drop_request req{};
1664
1679
  req.dataverse_name = dataverse_name;
1665
1680
  auto resp = test::utils::execute(integration.cluster, req);
1666
- REQUIRE_FALSE(resp.ctx.ec);
1681
+ REQUIRE_SUCCESS(resp.ctx.ec);
1667
1682
  }
1668
1683
 
1669
1684
  {
1670
- couchbase::operations::management::analytics_dataverse_drop_request req{};
1685
+ couchbase::core::operations::management::analytics_dataverse_drop_request req{};
1671
1686
  req.dataverse_name = dataverse_name;
1672
1687
  auto resp = test::utils::execute(integration.cluster, req);
1673
- REQUIRE(resp.ctx.ec == couchbase::error::analytics_errc::dataverse_not_found);
1688
+ REQUIRE(resp.ctx.ec == couchbase::errc::analytics::dataverse_not_found);
1674
1689
  }
1675
1690
 
1676
1691
  {
1677
- couchbase::operations::management::analytics_dataverse_drop_request req{};
1692
+ couchbase::core::operations::management::analytics_dataverse_drop_request req{};
1678
1693
  req.dataverse_name = dataverse_name;
1679
1694
  req.ignore_if_does_not_exist = true;
1680
1695
  auto resp = test::utils::execute(integration.cluster, req);
1681
- REQUIRE_FALSE(resp.ctx.ec);
1696
+ REQUIRE_SUCCESS(resp.ctx.ec);
1682
1697
  }
1683
1698
  }
1684
1699
 
@@ -1690,67 +1705,67 @@ TEST_CASE("integration: analytics index management", "[integration]")
1690
1705
  auto index_name = test::utils::uniq_id("index");
1691
1706
 
1692
1707
  {
1693
- couchbase::operations::management::analytics_dataverse_create_request req{};
1708
+ couchbase::core::operations::management::analytics_dataverse_create_request req{};
1694
1709
  req.dataverse_name = dataverse_name;
1695
1710
  auto resp = test::utils::execute(integration.cluster, req);
1696
- REQUIRE_FALSE(resp.ctx.ec);
1711
+ REQUIRE_SUCCESS(resp.ctx.ec);
1697
1712
  }
1698
1713
 
1699
1714
  {
1700
- couchbase::operations::management::analytics_dataset_create_request req{};
1715
+ couchbase::core::operations::management::analytics_dataset_create_request req{};
1701
1716
  req.bucket_name = integration.ctx.bucket;
1702
1717
  req.dataverse_name = dataverse_name;
1703
1718
  req.dataset_name = dataset_name;
1704
1719
  auto resp = test::utils::execute(integration.cluster, req);
1705
- REQUIRE_FALSE(resp.ctx.ec);
1720
+ REQUIRE_SUCCESS(resp.ctx.ec);
1706
1721
  }
1707
1722
 
1708
1723
  {
1709
- couchbase::operations::management::analytics_index_create_request req{};
1724
+ couchbase::core::operations::management::analytics_index_create_request req{};
1710
1725
  req.dataverse_name = dataverse_name;
1711
1726
  req.dataset_name = dataset_name;
1712
1727
  req.index_name = index_name;
1713
1728
  req.fields["testkey"] = "string";
1714
1729
  auto resp = test::utils::execute(integration.cluster, req);
1715
- REQUIRE_FALSE(resp.ctx.ec);
1730
+ REQUIRE_SUCCESS(resp.ctx.ec);
1716
1731
  }
1717
1732
 
1718
1733
  {
1719
- couchbase::operations::management::analytics_link_connect_request req{};
1734
+ couchbase::core::operations::management::analytics_link_connect_request req{};
1720
1735
  req.dataverse_name = dataverse_name;
1721
1736
  auto resp = test::utils::execute(integration.cluster, req);
1722
- REQUIRE_FALSE(resp.ctx.ec);
1737
+ REQUIRE_SUCCESS(resp.ctx.ec);
1723
1738
  }
1724
1739
 
1725
1740
  {
1726
- couchbase::operations::management::analytics_link_disconnect_request req{};
1741
+ couchbase::core::operations::management::analytics_link_disconnect_request req{};
1727
1742
  req.dataverse_name = dataverse_name;
1728
1743
  auto resp = test::utils::execute(integration.cluster, req);
1729
- REQUIRE_FALSE(resp.ctx.ec);
1744
+ REQUIRE_SUCCESS(resp.ctx.ec);
1730
1745
  }
1731
1746
 
1732
1747
  {
1733
- couchbase::operations::management::analytics_index_drop_request req{};
1748
+ couchbase::core::operations::management::analytics_index_drop_request req{};
1734
1749
  req.dataverse_name = dataverse_name;
1735
1750
  req.dataset_name = dataset_name;
1736
1751
  req.index_name = index_name;
1737
1752
  auto resp = test::utils::execute(integration.cluster, req);
1738
- REQUIRE_FALSE(resp.ctx.ec);
1753
+ REQUIRE_SUCCESS(resp.ctx.ec);
1739
1754
  }
1740
1755
 
1741
1756
  {
1742
- couchbase::operations::management::analytics_dataset_drop_request req{};
1757
+ couchbase::core::operations::management::analytics_dataset_drop_request req{};
1743
1758
  req.dataverse_name = dataverse_name;
1744
1759
  req.dataset_name = dataset_name;
1745
1760
  auto resp = test::utils::execute(integration.cluster, req);
1746
- REQUIRE_FALSE(resp.ctx.ec);
1761
+ REQUIRE_SUCCESS(resp.ctx.ec);
1747
1762
  }
1748
1763
 
1749
1764
  {
1750
- couchbase::operations::management::analytics_dataverse_drop_request req{};
1765
+ couchbase::core::operations::management::analytics_dataverse_drop_request req{};
1751
1766
  req.dataverse_name = dataverse_name;
1752
1767
  auto resp = test::utils::execute(integration.cluster, req);
1753
- REQUIRE_FALSE(resp.ctx.ec);
1768
+ REQUIRE_SUCCESS(resp.ctx.ec);
1754
1769
  }
1755
1770
  }
1756
1771
  }
@@ -1760,45 +1775,47 @@ void
1760
1775
  run_s3_link_test(test::utils::integration_test_guard& integration, const std::string& dataverse_name, const std::string& link_name)
1761
1776
  {
1762
1777
  {
1763
- couchbase::operations::management::analytics_dataverse_create_request req{};
1778
+ couchbase::core::operations::management::analytics_dataverse_create_request req{};
1764
1779
  req.dataverse_name = dataverse_name;
1765
1780
  auto resp = test::utils::execute(integration.cluster, req);
1766
- REQUIRE_FALSE(resp.ctx.ec);
1781
+ REQUIRE_SUCCESS(resp.ctx.ec);
1767
1782
  }
1768
1783
 
1769
1784
  {
1770
- couchbase::management::analytics::s3_external_link link{};
1785
+ couchbase::core::management::analytics::s3_external_link link{};
1771
1786
  link.dataverse = dataverse_name;
1772
1787
  link.access_key_id = "access_key";
1773
1788
  link.secret_access_key = "secret_access_key";
1774
1789
  link.region = "us-east-1";
1775
1790
  link.service_endpoint = "service_endpoint";
1776
1791
  link.link_name = link_name;
1777
- couchbase::operations::management::analytics_link_create_request<couchbase::management::analytics::s3_external_link> req{};
1792
+ couchbase::core::operations::management::analytics_link_create_request<couchbase::core::management::analytics::s3_external_link>
1793
+ req{};
1778
1794
  req.link = link;
1779
1795
  auto resp = test::utils::execute(integration.cluster, req);
1780
- REQUIRE_FALSE(resp.ctx.ec);
1796
+ REQUIRE_SUCCESS(resp.ctx.ec);
1781
1797
  }
1782
1798
 
1783
1799
  {
1784
- couchbase::management::analytics::s3_external_link link{};
1800
+ couchbase::core::management::analytics::s3_external_link link{};
1785
1801
  link.dataverse = dataverse_name;
1786
1802
  link.access_key_id = "access_key";
1787
1803
  link.secret_access_key = "secret_access_key";
1788
1804
  link.region = "us-east-1";
1789
1805
  link.service_endpoint = "service_endpoint";
1790
1806
  link.link_name = link_name;
1791
- couchbase::operations::management::analytics_link_create_request<couchbase::management::analytics::s3_external_link> req{};
1807
+ couchbase::core::operations::management::analytics_link_create_request<couchbase::core::management::analytics::s3_external_link>
1808
+ req{};
1792
1809
  req.link = link;
1793
1810
  auto resp = test::utils::execute(integration.cluster, req);
1794
- REQUIRE(resp.ctx.ec == couchbase::error::analytics_errc::link_exists);
1811
+ REQUIRE(resp.ctx.ec == couchbase::errc::analytics::link_exists);
1795
1812
  }
1796
1813
 
1797
1814
  {
1798
- couchbase::operations::management::analytics_link_get_all_request req{};
1815
+ couchbase::core::operations::management::analytics_link_get_all_request req{};
1799
1816
  req.dataverse_name = dataverse_name;
1800
1817
  auto resp = test::utils::execute(integration.cluster, req);
1801
- REQUIRE_FALSE(resp.ctx.ec);
1818
+ REQUIRE_SUCCESS(resp.ctx.ec);
1802
1819
  REQUIRE(resp.s3.size() == 1);
1803
1820
  REQUIRE(resp.s3[0].link_name == link_name);
1804
1821
  REQUIRE(resp.s3[0].dataverse == dataverse_name);
@@ -1809,64 +1826,65 @@ run_s3_link_test(test::utils::integration_test_guard& integration, const std::st
1809
1826
  }
1810
1827
 
1811
1828
  {
1812
- couchbase::operations::management::analytics_link_get_all_request req{};
1829
+ couchbase::core::operations::management::analytics_link_get_all_request req{};
1813
1830
  req.link_type = "s3";
1814
1831
  req.dataverse_name = dataverse_name;
1815
1832
  auto resp = test::utils::execute(integration.cluster, req);
1816
- REQUIRE_FALSE(resp.ctx.ec);
1833
+ REQUIRE_SUCCESS(resp.ctx.ec);
1817
1834
  REQUIRE(resp.s3.size() == 1);
1818
1835
  REQUIRE(resp.azure_blob.empty());
1819
1836
  REQUIRE(resp.couchbase.empty());
1820
1837
  }
1821
1838
 
1822
1839
  {
1823
- couchbase::operations::management::analytics_link_get_all_request req{};
1840
+ couchbase::core::operations::management::analytics_link_get_all_request req{};
1824
1841
  req.link_type = "couchbase";
1825
1842
  req.dataverse_name = dataverse_name;
1826
1843
  auto resp = test::utils::execute(integration.cluster, req);
1827
- REQUIRE_FALSE(resp.ctx.ec);
1844
+ REQUIRE_SUCCESS(resp.ctx.ec);
1828
1845
  REQUIRE(resp.s3.empty());
1829
1846
  REQUIRE(resp.azure_blob.empty());
1830
1847
  REQUIRE(resp.couchbase.empty());
1831
1848
  }
1832
1849
 
1833
1850
  {
1834
- couchbase::management::analytics::s3_external_link link{};
1851
+ couchbase::core::management::analytics::s3_external_link link{};
1835
1852
  link.dataverse = dataverse_name;
1836
1853
  link.access_key_id = "access_key";
1837
1854
  link.secret_access_key = "secret_access_key";
1838
1855
  link.region = "eu-west-1";
1839
1856
  link.service_endpoint = "service_endpoint";
1840
1857
  link.link_name = link_name;
1841
- couchbase::operations::management::analytics_link_replace_request<couchbase::management::analytics::s3_external_link> req{};
1858
+ couchbase::core::operations::management::analytics_link_replace_request<couchbase::core::management::analytics::s3_external_link>
1859
+ req{};
1842
1860
  req.link = link;
1843
1861
  auto resp = test::utils::execute(integration.cluster, req);
1844
- REQUIRE_FALSE(resp.ctx.ec);
1862
+ REQUIRE_SUCCESS(resp.ctx.ec);
1845
1863
  }
1846
1864
 
1847
1865
  {
1848
- couchbase::operations::management::analytics_link_get_all_request req{};
1866
+ couchbase::core::operations::management::analytics_link_get_all_request req{};
1849
1867
  req.dataverse_name = dataverse_name;
1850
1868
  auto resp = test::utils::execute(integration.cluster, req);
1851
- REQUIRE_FALSE(resp.ctx.ec);
1869
+ REQUIRE_SUCCESS(resp.ctx.ec);
1852
1870
  REQUIRE(resp.s3.size() == 1);
1853
1871
  REQUIRE(resp.s3[0].region == "eu-west-1");
1854
1872
  }
1855
1873
 
1856
1874
  {
1857
- couchbase::operations::management::analytics_link_drop_request req{};
1875
+ couchbase::core::operations::management::analytics_link_drop_request req{};
1858
1876
  req.dataverse_name = dataverse_name;
1859
1877
  req.link_name = link_name;
1860
1878
  auto resp = test::utils::execute(integration.cluster, req);
1861
- REQUIRE_FALSE(resp.ctx.ec);
1879
+ REQUIRE_SUCCESS(resp.ctx.ec);
1862
1880
  }
1863
1881
 
1864
1882
  {
1865
- couchbase::operations::management::analytics_link_drop_request req{};
1883
+ couchbase::core::operations::management::analytics_link_drop_request req{};
1866
1884
  req.dataverse_name = dataverse_name;
1867
1885
  req.link_name = link_name;
1868
1886
  auto resp = test::utils::execute(integration.cluster, req);
1869
- REQUIRE(resp.ctx.ec == couchbase::error::analytics_errc::link_not_found);
1887
+ REQUIRE(resp.ctx.ec == couchbase::errc::analytics::link_not_found);
1870
1888
  }
1871
1889
  }
1872
1890
 
@@ -1874,43 +1892,47 @@ void
1874
1892
  run_azure_link_test(test::utils::integration_test_guard& integration, const std::string& dataverse_name, const std::string& link_name)
1875
1893
  {
1876
1894
  {
1877
- couchbase::operations::management::analytics_dataverse_create_request req{};
1895
+ couchbase::core::operations::management::analytics_dataverse_create_request req{};
1878
1896
  req.dataverse_name = dataverse_name;
1879
1897
  auto resp = test::utils::execute(integration.cluster, req);
1880
- REQUIRE_FALSE(resp.ctx.ec);
1898
+ REQUIRE_SUCCESS(resp.ctx.ec);
1881
1899
  }
1882
1900
 
1883
1901
  {
1884
- couchbase::management::analytics::azure_blob_external_link link{};
1902
+ couchbase::core::management::analytics::azure_blob_external_link link{};
1885
1903
  link.dataverse = dataverse_name;
1886
1904
  link.connection_string = "connection_string";
1887
1905
  link.blob_endpoint = "blob_endpoint";
1888
1906
  link.endpoint_suffix = "endpoint_suffix";
1889
1907
  link.link_name = link_name;
1890
- couchbase::operations::management::analytics_link_create_request<couchbase::management::analytics::azure_blob_external_link> req{};
1908
+ couchbase::core::operations::management::analytics_link_create_request<
1909
+ couchbase::core::management::analytics::azure_blob_external_link>
1910
+ req{};
1891
1911
  req.link = link;
1892
1912
  auto resp = test::utils::execute(integration.cluster, req);
1893
- REQUIRE_FALSE(resp.ctx.ec);
1913
+ REQUIRE_SUCCESS(resp.ctx.ec);
1894
1914
  }
1895
1915
 
1896
1916
  {
1897
- couchbase::management::analytics::azure_blob_external_link link{};
1917
+ couchbase::core::management::analytics::azure_blob_external_link link{};
1898
1918
  link.dataverse = dataverse_name;
1899
1919
  link.connection_string = "connection_string";
1900
1920
  link.blob_endpoint = "blob_endpoint";
1901
1921
  link.endpoint_suffix = "endpoint_suffix";
1902
1922
  link.link_name = link_name;
1903
- couchbase::operations::management::analytics_link_create_request<couchbase::management::analytics::azure_blob_external_link> req{};
1923
+ couchbase::core::operations::management::analytics_link_create_request<
1924
+ couchbase::core::management::analytics::azure_blob_external_link>
1925
+ req{};
1904
1926
  req.link = link;
1905
1927
  auto resp = test::utils::execute(integration.cluster, req);
1906
- REQUIRE(resp.ctx.ec == couchbase::error::analytics_errc::link_exists);
1928
+ REQUIRE(resp.ctx.ec == couchbase::errc::analytics::link_exists);
1907
1929
  }
1908
1930
 
1909
1931
  {
1910
- couchbase::operations::management::analytics_link_get_all_request req{};
1932
+ couchbase::core::operations::management::analytics_link_get_all_request req{};
1911
1933
  req.dataverse_name = dataverse_name;
1912
1934
  auto resp = test::utils::execute(integration.cluster, req);
1913
- REQUIRE_FALSE(resp.ctx.ec);
1935
+ REQUIRE_SUCCESS(resp.ctx.ec);
1914
1936
  REQUIRE(resp.azure_blob.size() == 1);
1915
1937
  REQUIRE(resp.azure_blob[0].link_name == link_name);
1916
1938
  REQUIRE(resp.azure_blob[0].dataverse == dataverse_name);
@@ -1923,63 +1945,65 @@ run_azure_link_test(test::utils::integration_test_guard& integration, const std:
1923
1945
  }
1924
1946
 
1925
1947
  {
1926
- couchbase::operations::management::analytics_link_get_all_request req{};
1948
+ couchbase::core::operations::management::analytics_link_get_all_request req{};
1927
1949
  req.link_type = "azureblob";
1928
1950
  req.dataverse_name = dataverse_name;
1929
1951
  auto resp = test::utils::execute(integration.cluster, req);
1930
- REQUIRE_FALSE(resp.ctx.ec);
1952
+ REQUIRE_SUCCESS(resp.ctx.ec);
1931
1953
  REQUIRE(resp.azure_blob.size() == 1);
1932
1954
  REQUIRE(resp.s3.empty());
1933
1955
  REQUIRE(resp.couchbase.empty());
1934
1956
  }
1935
1957
 
1936
1958
  {
1937
- couchbase::operations::management::analytics_link_get_all_request req{};
1959
+ couchbase::core::operations::management::analytics_link_get_all_request req{};
1938
1960
  req.link_type = "couchbase";
1939
1961
  req.dataverse_name = dataverse_name;
1940
1962
  auto resp = test::utils::execute(integration.cluster, req);
1941
- REQUIRE_FALSE(resp.ctx.ec);
1963
+ REQUIRE_SUCCESS(resp.ctx.ec);
1942
1964
  REQUIRE(resp.s3.empty());
1943
1965
  REQUIRE(resp.azure_blob.empty());
1944
1966
  REQUIRE(resp.couchbase.empty());
1945
1967
  }
1946
1968
 
1947
1969
  {
1948
- couchbase::management::analytics::azure_blob_external_link link{};
1970
+ couchbase::core::management::analytics::azure_blob_external_link link{};
1949
1971
  link.dataverse = dataverse_name;
1950
1972
  link.connection_string = "connection_string";
1951
1973
  link.blob_endpoint = "new_blob_endpoint";
1952
1974
  link.endpoint_suffix = "endpoint_suffix";
1953
1975
  link.link_name = link_name;
1954
- couchbase::operations::management::analytics_link_replace_request<couchbase::management::analytics::azure_blob_external_link> req{};
1976
+ couchbase::core::operations::management::analytics_link_replace_request<
1977
+ couchbase::core::management::analytics::azure_blob_external_link>
1978
+ req{};
1955
1979
  req.link = link;
1956
1980
  auto resp = test::utils::execute(integration.cluster, req);
1957
- REQUIRE_FALSE(resp.ctx.ec);
1981
+ REQUIRE_SUCCESS(resp.ctx.ec);
1958
1982
  }
1959
1983
 
1960
1984
  {
1961
- couchbase::operations::management::analytics_link_get_all_request req{};
1985
+ couchbase::core::operations::management::analytics_link_get_all_request req{};
1962
1986
  req.dataverse_name = dataverse_name;
1963
1987
  auto resp = test::utils::execute(integration.cluster, req);
1964
- REQUIRE_FALSE(resp.ctx.ec);
1988
+ REQUIRE_SUCCESS(resp.ctx.ec);
1965
1989
  REQUIRE(resp.azure_blob.size() == 1);
1966
1990
  REQUIRE(resp.azure_blob[0].blob_endpoint == "new_blob_endpoint");
1967
1991
  }
1968
1992
 
1969
1993
  {
1970
- couchbase::operations::management::analytics_link_drop_request req{};
1994
+ couchbase::core::operations::management::analytics_link_drop_request req{};
1971
1995
  req.dataverse_name = dataverse_name;
1972
1996
  req.link_name = link_name;
1973
1997
  auto resp = test::utils::execute(integration.cluster, req);
1974
- REQUIRE_FALSE(resp.ctx.ec);
1998
+ REQUIRE_SUCCESS(resp.ctx.ec);
1975
1999
  }
1976
2000
 
1977
2001
  {
1978
- couchbase::operations::management::analytics_link_drop_request req{};
2002
+ couchbase::core::operations::management::analytics_link_drop_request req{};
1979
2003
  req.dataverse_name = dataverse_name;
1980
2004
  req.link_name = link_name;
1981
2005
  auto resp = test::utils::execute(integration.cluster, req);
1982
- REQUIRE(resp.ctx.ec == couchbase::error::analytics_errc::link_not_found);
2006
+ REQUIRE(resp.ctx.ec == couchbase::errc::analytics::link_not_found);
1983
2007
  }
1984
2008
  }
1985
2009
 
@@ -1992,7 +2016,7 @@ TEST_CASE("integration: analytics external link management", "[integration]")
1992
2016
  }
1993
2017
 
1994
2018
  // MB-47718
1995
- if (integration.storage_backend() == couchbase::management::cluster::bucket_storage_backend::magma) {
2019
+ if (integration.storage_backend() == couchbase::core::management::cluster::bucket_storage_backend::magma) {
1996
2020
  return;
1997
2021
  }
1998
2022
 
@@ -2007,7 +2031,7 @@ TEST_CASE("integration: analytics external link management", "[integration]")
2007
2031
 
2008
2032
  SECTION("missing dataverse")
2009
2033
  {
2010
- couchbase::management::analytics::s3_external_link link{};
2034
+ couchbase::core::management::analytics::s3_external_link link{};
2011
2035
  link.dataverse = "missing_dataverse";
2012
2036
  link.access_key_id = "access_key";
2013
2037
  link.secret_access_key = "secret_access_key";
@@ -2016,19 +2040,21 @@ TEST_CASE("integration: analytics external link management", "[integration]")
2016
2040
  link.link_name = link_name;
2017
2041
 
2018
2042
  {
2019
- couchbase::operations::management::analytics_link_create_request<couchbase::management::analytics::s3_external_link> req{};
2043
+ couchbase::core::operations::management::analytics_link_create_request<couchbase::core::management::analytics::s3_external_link>
2044
+ req{};
2020
2045
  req.link = link;
2021
2046
  auto resp = test::utils::execute(integration.cluster, req);
2022
- REQUIRE(resp.ctx.ec == couchbase::error::analytics_errc::dataverse_not_found);
2047
+ REQUIRE(resp.ctx.ec == couchbase::errc::analytics::dataverse_not_found);
2023
2048
  }
2024
2049
  }
2025
2050
 
2026
2051
  SECTION("missing argument")
2027
2052
  {
2028
- couchbase::operations::management::analytics_link_create_request<couchbase::management::analytics::s3_external_link> req{};
2029
- req.link = couchbase::management::analytics::s3_external_link{};
2053
+ couchbase::core::operations::management::analytics_link_create_request<couchbase::core::management::analytics::s3_external_link>
2054
+ req{};
2055
+ req.link = couchbase::core::management::analytics::s3_external_link{};
2030
2056
  auto resp = test::utils::execute(integration.cluster, req);
2031
- REQUIRE(resp.ctx.ec == couchbase::error::common_errc::invalid_argument);
2057
+ REQUIRE(resp.ctx.ec == couchbase::errc::common::invalid_argument);
2032
2058
  }
2033
2059
 
2034
2060
  SECTION("link crud")
@@ -2054,9 +2080,9 @@ TEST_CASE("integration: analytics external link management", "[integration]")
2054
2080
  auto scope_name = test::utils::uniq_id("scope");
2055
2081
 
2056
2082
  {
2057
- couchbase::operations::management::scope_create_request req{ integration.ctx.bucket, scope_name };
2083
+ couchbase::core::operations::management::scope_create_request req{ integration.ctx.bucket, scope_name };
2058
2084
  auto resp = test::utils::execute(integration.cluster, req);
2059
- REQUIRE_FALSE(resp.ctx.ec);
2085
+ REQUIRE_SUCCESS(resp.ctx.ec);
2060
2086
  auto created =
2061
2087
  test::utils::wait_until_collection_manifest_propagated(integration.cluster, integration.ctx.bucket, resp.uid);
2062
2088
  REQUIRE(created);
@@ -2089,121 +2115,151 @@ TEST_CASE("integration: search index management", "[integration]")
2089
2115
 
2090
2116
  SECTION("search indexes crud")
2091
2117
  {
2092
- auto index1_name = test::utils::uniq_id("index");
2093
- auto index2_name = test::utils::uniq_id("index");
2118
+ auto index1_name = test::utils::uniq_id("index1");
2119
+ auto index2_name = test::utils::uniq_id("index2");
2094
2120
  auto alias_name = test::utils::uniq_id("alias");
2095
2121
 
2096
2122
  {
2097
- couchbase::management::search::index index;
2123
+ couchbase::core::management::search::index index;
2098
2124
  index.name = index1_name;
2099
2125
  index.type = "fulltext-index";
2100
2126
  index.source_type = "couchbase";
2101
2127
  index.source_name = integration.ctx.bucket;
2102
- couchbase::operations::management::search_index_upsert_request req{};
2128
+ couchbase::core::operations::management::search_index_upsert_request req{};
2103
2129
  req.index = index;
2104
2130
  auto resp = test::utils::execute(integration.cluster, req);
2105
- REQUIRE_FALSE(resp.ctx.ec);
2131
+ REQUIRE_SUCCESS(resp.ctx.ec);
2106
2132
  }
2107
2133
 
2108
2134
  {
2109
- couchbase::management::search::index index;
2135
+ couchbase::core::management::search::index index;
2110
2136
  index.name = index1_name;
2111
2137
  index.type = "fulltext-index";
2112
2138
  index.source_type = "couchbase";
2113
2139
  index.source_name = integration.ctx.bucket;
2114
- couchbase::operations::management::search_index_upsert_request req{};
2140
+ couchbase::core::operations::management::search_index_upsert_request req{};
2115
2141
  req.index = index;
2116
2142
  auto resp = test::utils::execute(integration.cluster, req);
2117
- REQUIRE(resp.ctx.ec == couchbase::error::common_errc::index_exists);
2143
+ REQUIRE(resp.ctx.ec == couchbase::errc::common::index_exists);
2118
2144
  }
2119
2145
 
2120
2146
  {
2121
- couchbase::management::search::index index;
2147
+ couchbase::core::management::search::index index;
2122
2148
  index.name = index2_name;
2123
2149
  index.type = "fulltext-index";
2124
2150
  index.source_type = "couchbase";
2125
2151
  index.source_name = integration.ctx.bucket;
2126
2152
  index.plan_params_json = R"({ "indexPartition": 3 })";
2127
2153
  index.params_json = R"({ "store": { "indexType": "upside_down", "kvStoreName": "moss" }})";
2128
- couchbase::operations::management::search_index_upsert_request req{};
2154
+ couchbase::core::operations::management::search_index_upsert_request req{};
2129
2155
  req.index = index;
2130
2156
  auto resp = test::utils::execute(integration.cluster, req);
2131
- REQUIRE_FALSE(resp.ctx.ec);
2157
+ REQUIRE_SUCCESS(resp.ctx.ec);
2158
+ if (resp.name != index2_name) {
2159
+ // FIXME: server 7.2 might automatically prepend "{scope}.{collection}." in front of the index name
2160
+ // to workaround it, we "patch" our variable with the name returned by the server
2161
+ index2_name = resp.name;
2162
+ }
2132
2163
  }
2133
2164
 
2134
2165
  {
2135
- couchbase::management::search::index index;
2166
+ couchbase::core::management::search::index index;
2136
2167
  index.name = alias_name;
2137
2168
  index.type = "fulltext-alias";
2138
2169
  index.source_type = "nil";
2139
- index.params_json = couchbase::utils::json::generate(
2170
+ index.params_json = couchbase::core::utils::json::generate(
2140
2171
  tao::json::value{ { "targets", { { index1_name, tao::json::empty_object }, { index2_name, tao::json::empty_object } } } });
2141
- couchbase::operations::management::search_index_upsert_request req{};
2172
+ couchbase::core::operations::management::search_index_upsert_request req{};
2142
2173
  req.index = index;
2143
2174
  auto resp = test::utils::execute(integration.cluster, req);
2144
- REQUIRE_FALSE(resp.ctx.ec);
2175
+ REQUIRE_SUCCESS(resp.ctx.ec);
2145
2176
  }
2146
2177
 
2147
2178
  {
2148
- couchbase::operations::management::search_index_get_request req{};
2179
+ couchbase::core::operations::management::search_index_get_request req{};
2149
2180
  req.index_name = index1_name;
2150
2181
  auto resp = test::utils::execute(integration.cluster, req);
2151
- REQUIRE_FALSE(resp.ctx.ec);
2182
+ REQUIRE_SUCCESS(resp.ctx.ec);
2152
2183
  REQUIRE(resp.index.name == index1_name);
2153
2184
  REQUIRE(resp.index.type == "fulltext-index");
2154
2185
  }
2155
2186
 
2156
2187
  {
2157
- couchbase::operations::management::search_index_get_request req{};
2188
+ couchbase::core::operations::management::search_index_get_request req{};
2189
+ req.index_name = index2_name;
2190
+ auto resp = test::utils::execute(integration.cluster, req);
2191
+ REQUIRE_SUCCESS(resp.ctx.ec);
2192
+ REQUIRE(resp.index.name == index2_name);
2193
+ REQUIRE(resp.index.type == "fulltext-index");
2194
+ }
2195
+
2196
+ {
2197
+ couchbase::core::operations::management::search_index_get_request req{};
2198
+ req.index_name = alias_name;
2199
+ auto resp = test::utils::execute(integration.cluster, req);
2200
+ REQUIRE_SUCCESS(resp.ctx.ec);
2201
+ REQUIRE(resp.index.name == alias_name);
2202
+ REQUIRE(resp.index.type == "fulltext-alias");
2203
+ }
2204
+
2205
+ {
2206
+ couchbase::core::operations::management::search_index_get_request req{};
2158
2207
  req.index_name = "missing_index";
2159
2208
  auto resp = test::utils::execute(integration.cluster, req);
2160
- REQUIRE(resp.ctx.ec == couchbase::error::common_errc::index_not_found);
2209
+ REQUIRE(resp.ctx.ec == couchbase::errc::common::index_not_found);
2161
2210
  }
2162
2211
 
2163
2212
  {
2164
- couchbase::operations::management::search_index_get_all_request req{};
2213
+ couchbase::core::operations::management::search_index_get_all_request req{};
2165
2214
  auto resp = test::utils::execute(integration.cluster, req);
2166
- REQUIRE_FALSE(resp.ctx.ec);
2215
+ REQUIRE_SUCCESS(resp.ctx.ec);
2167
2216
  REQUIRE_FALSE(resp.indexes.empty());
2217
+
2218
+ REQUIRE(1 == std::count_if(
2219
+ resp.indexes.begin(), resp.indexes.end(), [&index1_name](const auto& i) { return i.name == index1_name; }));
2220
+ REQUIRE(1 == std::count_if(
2221
+ resp.indexes.begin(), resp.indexes.end(), [&index2_name](const auto& i) { return i.name == index2_name; }));
2222
+ REQUIRE(1 ==
2223
+ std::count_if(resp.indexes.begin(), resp.indexes.end(), [&alias_name](const auto& i) { return i.name == alias_name; }));
2168
2224
  }
2169
2225
 
2170
2226
  {
2171
- couchbase::operations::management::search_index_drop_request req{};
2227
+ couchbase::core::operations::management::search_index_drop_request req{};
2172
2228
  req.index_name = index1_name;
2173
2229
  auto resp = test::utils::execute(integration.cluster, req);
2174
- REQUIRE_FALSE(resp.ctx.ec);
2230
+ REQUIRE_SUCCESS(resp.ctx.ec);
2175
2231
  }
2176
2232
 
2177
2233
  {
2178
- couchbase::operations::management::search_index_drop_request req{};
2234
+ couchbase::core::operations::management::search_index_drop_request req{};
2179
2235
  req.index_name = index2_name;
2180
2236
  auto resp = test::utils::execute(integration.cluster, req);
2181
- REQUIRE_FALSE(resp.ctx.ec);
2237
+ REQUIRE_SUCCESS(resp.ctx.ec);
2182
2238
  }
2183
2239
 
2184
2240
  {
2185
- couchbase::operations::management::search_index_drop_request req{};
2241
+ couchbase::core::operations::management::search_index_drop_request req{};
2186
2242
  req.index_name = alias_name;
2187
2243
  auto resp = test::utils::execute(integration.cluster, req);
2188
- REQUIRE_FALSE(resp.ctx.ec);
2244
+ REQUIRE_SUCCESS(resp.ctx.ec);
2189
2245
  }
2190
2246
 
2191
- couchbase::operations::management::search_index_drop_request req{};
2247
+ couchbase::core::operations::management::search_index_drop_request req{};
2192
2248
  req.index_name = "missing_index";
2193
2249
  auto resp = test::utils::execute(integration.cluster, req);
2194
- REQUIRE(resp.ctx.ec == couchbase::error::common_errc::index_not_found);
2250
+ REQUIRE(resp.ctx.ec == couchbase::errc::common::index_not_found);
2195
2251
  }
2196
2252
 
2197
2253
  SECTION("upsert index no name")
2198
2254
  {
2199
- couchbase::management::search::index index;
2255
+ couchbase::core::management::search::index index;
2200
2256
  index.type = "fulltext-index";
2201
2257
  index.source_type = "couchbase";
2202
2258
  index.source_name = integration.ctx.bucket;
2203
- couchbase::operations::management::search_index_upsert_request req{};
2259
+ couchbase::core::operations::management::search_index_upsert_request req{};
2204
2260
  req.index = index;
2205
2261
  auto resp = test::utils::execute(integration.cluster, req);
2206
- REQUIRE(resp.ctx.ec == couchbase::error::common_errc::invalid_argument);
2262
+ REQUIRE(resp.ctx.ec == couchbase::errc::common::invalid_argument);
2207
2263
  }
2208
2264
 
2209
2265
  SECTION("control")
@@ -2211,78 +2267,78 @@ TEST_CASE("integration: search index management", "[integration]")
2211
2267
  auto index_name = test::utils::uniq_id("index");
2212
2268
 
2213
2269
  {
2214
- couchbase::management::search::index index;
2270
+ couchbase::core::management::search::index index;
2215
2271
  index.name = index_name;
2216
2272
  index.type = "fulltext-index";
2217
2273
  index.source_type = "couchbase";
2218
2274
  index.source_name = integration.ctx.bucket;
2219
- couchbase::operations::management::search_index_upsert_request req{};
2275
+ couchbase::core::operations::management::search_index_upsert_request req{};
2220
2276
  req.index = index;
2221
2277
  auto resp = test::utils::execute(integration.cluster, req);
2222
- REQUIRE_FALSE(resp.ctx.ec);
2278
+ REQUIRE_SUCCESS(resp.ctx.ec);
2223
2279
  }
2224
2280
 
2225
2281
  SECTION("ingest control")
2226
2282
  {
2227
2283
  {
2228
- couchbase::operations::management::search_index_control_ingest_request req{};
2284
+ couchbase::core::operations::management::search_index_control_ingest_request req{};
2229
2285
  req.index_name = index_name;
2230
2286
  req.pause = true;
2231
2287
  auto resp = test::utils::execute(integration.cluster, req);
2232
- REQUIRE_FALSE(resp.ctx.ec);
2288
+ REQUIRE_SUCCESS(resp.ctx.ec);
2233
2289
  }
2234
2290
 
2235
2291
  {
2236
- couchbase::operations::management::search_index_control_ingest_request req{};
2292
+ couchbase::core::operations::management::search_index_control_ingest_request req{};
2237
2293
  req.index_name = index_name;
2238
2294
  req.pause = false;
2239
2295
  auto resp = test::utils::execute(integration.cluster, req);
2240
- REQUIRE_FALSE(resp.ctx.ec);
2296
+ REQUIRE_SUCCESS(resp.ctx.ec);
2241
2297
  }
2242
2298
  }
2243
2299
 
2244
2300
  SECTION("query control")
2245
2301
  {
2246
2302
  {
2247
- couchbase::operations::management::search_index_control_query_request req{};
2303
+ couchbase::core::operations::management::search_index_control_query_request req{};
2248
2304
  req.index_name = index_name;
2249
2305
  req.allow = true;
2250
2306
  auto resp = test::utils::execute(integration.cluster, req);
2251
- REQUIRE_FALSE(resp.ctx.ec);
2307
+ REQUIRE_SUCCESS(resp.ctx.ec);
2252
2308
  }
2253
2309
 
2254
2310
  {
2255
- couchbase::operations::management::search_index_control_query_request req{};
2311
+ couchbase::core::operations::management::search_index_control_query_request req{};
2256
2312
  req.index_name = index_name;
2257
2313
  req.allow = false;
2258
2314
  auto resp = test::utils::execute(integration.cluster, req);
2259
- REQUIRE_FALSE(resp.ctx.ec);
2315
+ REQUIRE_SUCCESS(resp.ctx.ec);
2260
2316
  }
2261
2317
  }
2262
2318
 
2263
2319
  SECTION("partition control")
2264
2320
  {
2265
2321
  {
2266
- couchbase::operations::management::search_index_control_plan_freeze_request req{};
2322
+ couchbase::core::operations::management::search_index_control_plan_freeze_request req{};
2267
2323
  req.index_name = index_name;
2268
2324
  req.freeze = true;
2269
2325
  auto resp = test::utils::execute(integration.cluster, req);
2270
- REQUIRE_FALSE(resp.ctx.ec);
2326
+ REQUIRE_SUCCESS(resp.ctx.ec);
2271
2327
  }
2272
2328
 
2273
2329
  {
2274
- couchbase::operations::management::search_index_control_plan_freeze_request req{};
2330
+ couchbase::core::operations::management::search_index_control_plan_freeze_request req{};
2275
2331
  req.index_name = index_name;
2276
2332
  req.freeze = false;
2277
2333
  auto resp = test::utils::execute(integration.cluster, req);
2278
- REQUIRE_FALSE(resp.ctx.ec);
2334
+ REQUIRE_SUCCESS(resp.ctx.ec);
2279
2335
  }
2280
2336
  }
2281
2337
 
2282
- couchbase::operations::management::search_index_drop_request req{};
2338
+ couchbase::core::operations::management::search_index_drop_request req{};
2283
2339
  req.index_name = index_name;
2284
2340
  auto resp = test::utils::execute(integration.cluster, req);
2285
- REQUIRE_FALSE(resp.ctx.ec);
2341
+ REQUIRE_SUCCESS(resp.ctx.ec);
2286
2342
  }
2287
2343
  }
2288
2344
 
@@ -2291,12 +2347,12 @@ wait_for_search_pindexes_ready(test::utils::integration_test_guard& integration,
2291
2347
  {
2292
2348
  return test::utils::wait_until(
2293
2349
  [&integration, &index_name]() {
2294
- couchbase::operations::management::search_index_stats_request req{};
2350
+ couchbase::core::operations::management::search_index_stats_request req{};
2295
2351
  auto resp = test::utils::execute(integration.cluster, req);
2296
2352
  if (resp.ctx.ec || resp.stats.empty()) {
2297
2353
  return false;
2298
2354
  }
2299
- auto stats = couchbase::utils::json::parse(resp.stats);
2355
+ auto stats = couchbase::core::utils::json::parse(resp.stats);
2300
2356
  const auto* num_pindexes_actual = stats.find(fmt::format("{}:{}:num_pindexes_actual", integration.ctx.bucket, index_name));
2301
2357
  if (num_pindexes_actual == nullptr || !num_pindexes_actual->is_number()) {
2302
2358
  return false;
@@ -2321,29 +2377,29 @@ TEST_CASE("integration: search index management analyze document", "[integration
2321
2377
  auto index_name = test::utils::uniq_id("index");
2322
2378
 
2323
2379
  {
2324
- couchbase::management::search::index index;
2380
+ couchbase::core::management::search::index index;
2325
2381
  index.name = index_name;
2326
2382
  index.type = "fulltext-index";
2327
2383
  index.source_type = "couchbase";
2328
2384
  index.source_name = integration.ctx.bucket;
2329
- couchbase::operations::management::search_index_upsert_request req{};
2385
+ couchbase::core::operations::management::search_index_upsert_request req{};
2330
2386
  req.index = index;
2331
2387
  auto resp = test::utils::execute(integration.cluster, req);
2332
- REQUIRE_FALSE(resp.ctx.ec);
2388
+ REQUIRE_SUCCESS(resp.ctx.ec);
2333
2389
  }
2334
2390
 
2335
2391
  REQUIRE(wait_for_search_pindexes_ready(integration, index_name));
2336
2392
 
2337
- couchbase::operations::management::search_index_analyze_document_response resp;
2393
+ couchbase::core::operations::management::search_index_analyze_document_response resp;
2338
2394
  bool operation_completed = test::utils::wait_until([&integration, &index_name, &resp]() {
2339
- couchbase::operations::management::search_index_analyze_document_request req{};
2395
+ couchbase::core::operations::management::search_index_analyze_document_request req{};
2340
2396
  req.index_name = index_name;
2341
2397
  req.encoded_document = R"({ "name": "hello world" })";
2342
2398
  resp = test::utils::execute(integration.cluster, req);
2343
- return resp.ctx.ec != couchbase::error::common_errc::internal_server_failure;
2399
+ return resp.ctx.ec != couchbase::errc::common::internal_server_failure;
2344
2400
  });
2345
2401
  REQUIRE(operation_completed);
2346
- REQUIRE_FALSE(resp.ctx.ec);
2402
+ REQUIRE_SUCCESS(resp.ctx.ec);
2347
2403
  REQUIRE_FALSE(resp.analysis.empty());
2348
2404
  }
2349
2405
 
@@ -2357,37 +2413,37 @@ TEST_CASE("integration: freeform HTTP request", "[integration]")
2357
2413
 
2358
2414
  SECTION("key_value")
2359
2415
  {
2360
- couchbase::operations::management::freeform_request req{};
2361
- req.type = couchbase::service_type::key_value;
2416
+ couchbase::core::operations::management::freeform_request req{};
2417
+ req.type = couchbase::core::service_type::key_value;
2362
2418
  auto resp = test::utils::execute(integration.cluster, req);
2363
- REQUIRE(resp.ctx.ec == couchbase::error::common_errc::invalid_argument);
2419
+ REQUIRE(resp.ctx.ec == couchbase::errc::common::invalid_argument);
2364
2420
  }
2365
2421
 
2366
2422
  if (integration.cluster_version().supports_analytics() && integration.has_analytics_service()) {
2367
2423
  SECTION("analytics")
2368
2424
  {
2369
- couchbase::operations::management::freeform_request req{};
2370
- req.type = couchbase::service_type::analytics;
2425
+ couchbase::core::operations::management::freeform_request req{};
2426
+ req.type = couchbase::core::service_type::analytics;
2371
2427
  req.method = "GET";
2372
2428
  req.path = "/admin/ping";
2373
2429
  auto resp = test::utils::execute(integration.cluster, req);
2374
- REQUIRE_FALSE(resp.ctx.ec);
2430
+ REQUIRE_SUCCESS(resp.ctx.ec);
2375
2431
  REQUIRE(resp.status == 200);
2376
2432
  REQUIRE_FALSE(resp.body.empty());
2377
2433
  INFO(resp.body)
2378
- auto result = couchbase::utils::json::parse(resp.body);
2434
+ auto result = couchbase::core::utils::json::parse(resp.body);
2379
2435
  REQUIRE(result.is_object());
2380
2436
  }
2381
2437
  }
2382
2438
 
2383
2439
  SECTION("search")
2384
2440
  {
2385
- couchbase::operations::management::freeform_request req{};
2386
- req.type = couchbase::service_type::search;
2441
+ couchbase::core::operations::management::freeform_request req{};
2442
+ req.type = couchbase::core::service_type::search;
2387
2443
  req.method = "GET";
2388
2444
  req.path = "/api/ping";
2389
2445
  auto resp = test::utils::execute(integration.cluster, req);
2390
- REQUIRE_FALSE(resp.ctx.ec);
2446
+ REQUIRE_SUCCESS(resp.ctx.ec);
2391
2447
  REQUIRE(resp.status == 200);
2392
2448
  REQUIRE(resp.body.empty());
2393
2449
  REQUIRE_FALSE(resp.headers.empty());
@@ -2396,16 +2452,16 @@ TEST_CASE("integration: freeform HTTP request", "[integration]")
2396
2452
 
2397
2453
  SECTION("query")
2398
2454
  {
2399
- couchbase::operations::management::freeform_request req{};
2400
- req.type = couchbase::service_type::query;
2455
+ couchbase::core::operations::management::freeform_request req{};
2456
+ req.type = couchbase::core::service_type::query;
2401
2457
  req.method = "GET";
2402
2458
  req.path = "/admin/ping";
2403
2459
  auto resp = test::utils::execute(integration.cluster, req);
2404
- REQUIRE_FALSE(resp.ctx.ec);
2460
+ REQUIRE_SUCCESS(resp.ctx.ec);
2405
2461
  REQUIRE(resp.status == 200);
2406
2462
  REQUIRE_FALSE(resp.body.empty());
2407
2463
  INFO(resp.body)
2408
- auto result = couchbase::utils::json::parse(resp.body);
2464
+ auto result = couchbase::core::utils::json::parse(resp.body);
2409
2465
  REQUIRE(result.is_object());
2410
2466
  }
2411
2467
 
@@ -2415,16 +2471,16 @@ TEST_CASE("integration: freeform HTTP request", "[integration]")
2415
2471
  auto document_name = test::utils::uniq_id("design_document");
2416
2472
  auto view_name = test::utils::uniq_id("view");
2417
2473
 
2418
- couchbase::operations::management::freeform_request req{};
2419
- req.type = couchbase::service_type::view;
2474
+ couchbase::core::operations::management::freeform_request req{};
2475
+ req.type = couchbase::core::service_type::view;
2420
2476
  req.method = "POST";
2421
2477
  req.path = fmt::format("/{}/_design/{}/_view/{}", integration.ctx.bucket, document_name, view_name);
2422
2478
  req.body = R"({"keys":["foo","bar"]})";
2423
2479
  auto resp = test::utils::execute(integration.cluster, req);
2424
- REQUIRE_FALSE(resp.ctx.ec);
2480
+ REQUIRE_SUCCESS(resp.ctx.ec);
2425
2481
  REQUIRE(resp.status == 404);
2426
2482
  REQUIRE_FALSE(resp.body.empty());
2427
- auto result = couchbase::utils::json::parse(resp.body);
2483
+ auto result = couchbase::core::utils::json::parse(resp.body);
2428
2484
  INFO(resp.body)
2429
2485
  REQUIRE(result["error"].get_string() == "not_found");
2430
2486
  }
@@ -2432,15 +2488,15 @@ TEST_CASE("integration: freeform HTTP request", "[integration]")
2432
2488
 
2433
2489
  SECTION("management")
2434
2490
  {
2435
- couchbase::operations::management::freeform_request req{};
2436
- req.type = couchbase::service_type::management;
2491
+ couchbase::core::operations::management::freeform_request req{};
2492
+ req.type = couchbase::core::service_type::management;
2437
2493
  req.method = "GET";
2438
2494
  req.path = "/pools";
2439
2495
  auto resp = test::utils::execute(integration.cluster, req);
2440
- REQUIRE_FALSE(resp.ctx.ec);
2496
+ REQUIRE_SUCCESS(resp.ctx.ec);
2441
2497
  REQUIRE(resp.status == 200);
2442
2498
  REQUIRE_FALSE(resp.body.empty());
2443
- auto result = couchbase::utils::json::parse(resp.body);
2499
+ auto result = couchbase::core::utils::json::parse(resp.body);
2444
2500
  INFO(resp.body)
2445
2501
  REQUIRE(result.find("uuid") != nullptr);
2446
2502
  }
@@ -2450,18 +2506,18 @@ TEST_CASE("integration: freeform HTTP request", "[integration]")
2450
2506
  {
2451
2507
  auto scope_name = test::utils::uniq_id("freeform_scope");
2452
2508
 
2453
- couchbase::operations::management::freeform_request req{};
2454
- req.type = couchbase::service_type::management;
2509
+ couchbase::core::operations::management::freeform_request req{};
2510
+ req.type = couchbase::core::service_type::management;
2455
2511
  req.method = "POST";
2456
2512
  req.path = fmt::format("/pools/default/buckets/{}/scopes", integration.ctx.bucket);
2457
2513
  req.headers["content-type"] = "application/x-www-form-urlencoded";
2458
- req.body = fmt::format("name={}", couchbase::utils::string_codec::form_encode(scope_name));
2514
+ req.body = fmt::format("name={}", couchbase::core::utils::string_codec::form_encode(scope_name));
2459
2515
  auto resp = test::utils::execute(integration.cluster, req);
2460
- REQUIRE_FALSE(resp.ctx.ec);
2516
+ REQUIRE_SUCCESS(resp.ctx.ec);
2461
2517
  REQUIRE(resp.status == 200);
2462
2518
  REQUIRE_FALSE(resp.headers.empty());
2463
2519
  REQUIRE(resp.headers["content-type"].find("application/json") != std::string::npos);
2464
- auto result = couchbase::utils::json::parse(resp.body);
2520
+ auto result = couchbase::core::utils::json::parse(resp.body);
2465
2521
  REQUIRE(result.is_object());
2466
2522
  REQUIRE(result.find("uid") != nullptr);
2467
2523
  }
@@ -2471,27 +2527,27 @@ TEST_CASE("integration: freeform HTTP request", "[integration]")
2471
2527
  SECTION("eventing")
2472
2528
  {
2473
2529
 
2474
- couchbase::operations::management::freeform_request req{};
2475
- req.type = couchbase::service_type::eventing;
2530
+ couchbase::core::operations::management::freeform_request req{};
2531
+ req.type = couchbase::core::service_type::eventing;
2476
2532
  req.method = "GET";
2477
2533
  req.path = "/api/v1/functions";
2478
2534
  auto resp = test::utils::execute(integration.cluster, req);
2479
- REQUIRE_FALSE(resp.ctx.ec);
2535
+ REQUIRE_SUCCESS(resp.ctx.ec);
2480
2536
  REQUIRE(resp.status == 200);
2481
2537
  REQUIRE_FALSE(resp.body.empty());
2482
- auto result = couchbase::utils::json::parse(resp.body);
2538
+ auto result = couchbase::core::utils::json::parse(resp.body);
2483
2539
  INFO(resp.body)
2484
2540
  REQUIRE(result.is_array());
2485
2541
  }
2486
2542
  }
2487
2543
  }
2488
2544
 
2489
- static couchbase::operations::management::eventing_get_function_response
2545
+ static couchbase::core::operations::management::eventing_get_function_response
2490
2546
  wait_for_function_created(test::utils::integration_test_guard& integration, const std::string& function_name)
2491
2547
  {
2492
- couchbase::operations::management::eventing_get_function_response resp{};
2548
+ couchbase::core::operations::management::eventing_get_function_response resp{};
2493
2549
  test::utils::wait_until([&integration, &resp, function_name]() {
2494
- couchbase::operations::management::eventing_get_function_request req{ function_name };
2550
+ couchbase::core::operations::management::eventing_get_function_request req{ function_name };
2495
2551
  resp = test::utils::execute(integration.cluster, req);
2496
2552
  return !resp.ctx.ec;
2497
2553
  });
@@ -2501,11 +2557,11 @@ wait_for_function_created(test::utils::integration_test_guard& integration, cons
2501
2557
  static bool
2502
2558
  wait_for_function_reach_status(test::utils::integration_test_guard& integration,
2503
2559
  const std::string& function_name,
2504
- couchbase::management::eventing::function_status status)
2560
+ couchbase::core::management::eventing::function_status status)
2505
2561
  {
2506
2562
  return test::utils::wait_until(
2507
2563
  [&integration, function_name, status]() {
2508
- couchbase::operations::management::eventing_get_status_request req{};
2564
+ couchbase::core::operations::management::eventing_get_status_request req{};
2509
2565
  auto resp = test::utils::execute(integration.cluster, req);
2510
2566
  if (resp.ctx.ec) {
2511
2567
  return false;
@@ -2538,39 +2594,39 @@ TEST_CASE("integration: eventing functions management", "[integration]")
2538
2594
  auto function_name = test::utils::uniq_id("name");
2539
2595
 
2540
2596
  {
2541
- couchbase::operations::management::eventing_drop_function_request req{ function_name };
2597
+ couchbase::core::operations::management::eventing_drop_function_request req{ function_name };
2542
2598
  auto resp = test::utils::execute(integration.cluster, req);
2543
2599
  if (integration.cluster_version().is_cheshire_cat()) {
2544
- REQUIRE(resp.ctx.ec == couchbase::error::management_errc::eventing_function_not_deployed);
2600
+ REQUIRE(resp.ctx.ec == couchbase::errc::management::eventing_function_not_deployed);
2545
2601
  } else {
2546
- REQUIRE(resp.ctx.ec == couchbase::error::management_errc::eventing_function_not_found);
2602
+ REQUIRE(resp.ctx.ec == couchbase::errc::management::eventing_function_not_found);
2547
2603
  }
2548
2604
  }
2549
2605
 
2550
2606
  {
2551
- couchbase::operations::management::eventing_get_function_request req{ function_name };
2607
+ couchbase::core::operations::management::eventing_get_function_request req{ function_name };
2552
2608
  auto resp = test::utils::execute(integration.cluster, req);
2553
- REQUIRE(resp.ctx.ec == couchbase::error::management_errc::eventing_function_not_found);
2609
+ REQUIRE(resp.ctx.ec == couchbase::errc::management::eventing_function_not_found);
2554
2610
  }
2555
2611
 
2556
2612
  auto meta_bucket_name = test::utils::uniq_id("meta");
2557
2613
  {
2558
2614
 
2559
- couchbase::management::cluster::bucket_settings bucket_settings;
2615
+ couchbase::core::management::cluster::bucket_settings bucket_settings;
2560
2616
  bucket_settings.name = meta_bucket_name;
2561
2617
  bucket_settings.ram_quota_mb = 256;
2562
2618
 
2563
2619
  {
2564
- couchbase::operations::management::bucket_create_request req;
2620
+ couchbase::core::operations::management::bucket_create_request req;
2565
2621
  req.bucket = bucket_settings;
2566
2622
  auto resp = test::utils::execute(integration.cluster, req);
2567
- REQUIRE_FALSE(resp.ctx.ec);
2623
+ REQUIRE_SUCCESS(resp.ctx.ec);
2568
2624
  }
2569
2625
  }
2570
2626
 
2571
2627
  {
2572
2628
  auto resp = wait_for_bucket_created(integration, meta_bucket_name);
2573
- REQUIRE_FALSE(resp.ctx.ec);
2629
+ REQUIRE_SUCCESS(resp.ctx.ec);
2574
2630
  }
2575
2631
 
2576
2632
  std::string source_code = R"(
@@ -2584,38 +2640,38 @@ function OnDelete(meta, options) {
2584
2640
  )";
2585
2641
 
2586
2642
  {
2587
- couchbase::operations::management::eventing_upsert_function_request req{};
2643
+ couchbase::core::operations::management::eventing_upsert_function_request req{};
2588
2644
  req.function.source_keyspace.bucket = integration.ctx.bucket;
2589
2645
  req.function.metadata_keyspace.bucket = meta_bucket_name;
2590
2646
  req.function.name = function_name;
2591
2647
  req.function.code = source_code;
2592
2648
  req.function.settings.handler_headers = { "// generated by Couchbase C++ SDK" };
2593
- req.function.constant_bindings.emplace_back(couchbase::management::eventing::function_constant_binding{ "PI", "3.14" });
2594
- req.function.bucket_bindings.emplace_back(couchbase::management::eventing::function_bucket_binding{
2595
- "data", { integration.ctx.bucket }, couchbase::management::eventing::function_bucket_access::read_write });
2649
+ req.function.constant_bindings.emplace_back(couchbase::core::management::eventing::function_constant_binding{ "PI", "3.14" });
2650
+ req.function.bucket_bindings.emplace_back(couchbase::core::management::eventing::function_bucket_binding{
2651
+ "data", { integration.ctx.bucket }, couchbase::core::management::eventing::function_bucket_access::read_write });
2596
2652
  req.function.url_bindings.emplace_back(
2597
- couchbase::management::eventing::function_url_binding{ "home", "https://couchbase.com" });
2653
+ couchbase::core::management::eventing::function_url_binding{ "home", "https://couchbase.com" });
2598
2654
  auto resp = test::utils::execute(integration.cluster, req);
2599
- REQUIRE_FALSE(resp.ctx.ec);
2655
+ REQUIRE_SUCCESS(resp.ctx.ec);
2600
2656
  }
2601
2657
 
2602
2658
  {
2603
2659
  auto resp = wait_for_function_created(integration, function_name);
2604
- REQUIRE_FALSE(resp.ctx.ec);
2660
+ REQUIRE_SUCCESS(resp.ctx.ec);
2605
2661
  }
2606
2662
 
2607
2663
  {
2608
- couchbase::operations::management::eventing_get_all_functions_request req{};
2664
+ couchbase::core::operations::management::eventing_get_all_functions_request req{};
2609
2665
  auto resp = test::utils::execute(integration.cluster, req);
2610
- REQUIRE_FALSE(resp.ctx.ec);
2666
+ REQUIRE_SUCCESS(resp.ctx.ec);
2611
2667
  auto function = std::find_if(
2612
2668
  resp.functions.begin(), resp.functions.end(), [&function_name](const auto& fun) { return function_name == fun.name; });
2613
2669
  REQUIRE(function != resp.functions.end());
2614
2670
  REQUIRE(function->code == source_code);
2615
2671
  REQUIRE(function->source_keyspace.bucket == integration.ctx.bucket);
2616
2672
  REQUIRE(function->metadata_keyspace.bucket == meta_bucket_name);
2617
- REQUIRE(function->settings.deployment_status == couchbase::management::eventing::function_deployment_status::undeployed);
2618
- REQUIRE(function->settings.processing_status == couchbase::management::eventing::function_processing_status::paused);
2673
+ REQUIRE(function->settings.deployment_status == couchbase::core::management::eventing::function_deployment_status::undeployed);
2674
+ REQUIRE(function->settings.processing_status == couchbase::core::management::eventing::function_processing_status::paused);
2619
2675
  REQUIRE(!function->settings.handler_headers.empty());
2620
2676
  REQUIRE(function->settings.handler_headers[0] == "// generated by Couchbase C++ SDK");
2621
2677
  REQUIRE(!function->constant_bindings.empty());
@@ -2624,99 +2680,102 @@ function OnDelete(meta, options) {
2624
2680
  REQUIRE(!function->bucket_bindings.empty());
2625
2681
  REQUIRE(function->bucket_bindings[0].alias == "data");
2626
2682
  REQUIRE(function->bucket_bindings[0].name.bucket == "default");
2627
- REQUIRE(function->bucket_bindings[0].access == couchbase::management::eventing::function_bucket_access::read_write);
2683
+ REQUIRE(function->bucket_bindings[0].access == couchbase::core::management::eventing::function_bucket_access::read_write);
2628
2684
  REQUIRE(!function->url_bindings.empty());
2629
2685
  REQUIRE(function->url_bindings[0].alias == "home");
2630
2686
  REQUIRE(function->url_bindings[0].hostname == "https://couchbase.com");
2631
- REQUIRE(std::holds_alternative<couchbase::management::eventing::function_url_no_auth>(function->url_bindings[0].auth));
2687
+ REQUIRE(std::holds_alternative<couchbase::core::management::eventing::function_url_no_auth>(function->url_bindings[0].auth));
2632
2688
  }
2633
2689
 
2634
2690
  {
2635
- couchbase::operations::management::eventing_get_status_request req{};
2691
+ couchbase::core::operations::management::eventing_get_status_request req{};
2636
2692
  auto resp = test::utils::execute(integration.cluster, req);
2637
- REQUIRE_FALSE(resp.ctx.ec);
2693
+ REQUIRE_SUCCESS(resp.ctx.ec);
2638
2694
  REQUIRE(resp.status.num_eventing_nodes > 0);
2639
2695
  auto function = std::find_if(resp.status.functions.begin(), resp.status.functions.end(), [&function_name](const auto& fun) {
2640
2696
  return function_name == fun.name;
2641
2697
  });
2642
2698
  REQUIRE(function != resp.status.functions.end());
2643
- REQUIRE(function->status == couchbase::management::eventing::function_status::undeployed);
2644
- REQUIRE(function->deployment_status == couchbase::management::eventing::function_deployment_status::undeployed);
2645
- REQUIRE(function->processing_status == couchbase::management::eventing::function_processing_status::paused);
2699
+ REQUIRE(function->status == couchbase::core::management::eventing::function_status::undeployed);
2700
+ REQUIRE(function->deployment_status == couchbase::core::management::eventing::function_deployment_status::undeployed);
2701
+ REQUIRE(function->processing_status == couchbase::core::management::eventing::function_processing_status::paused);
2646
2702
  }
2647
2703
 
2648
2704
  {
2649
- couchbase::operations::management::eventing_undeploy_function_request req{ function_name };
2705
+ couchbase::core::operations::management::eventing_undeploy_function_request req{ function_name };
2650
2706
  auto resp = test::utils::execute(integration.cluster, req);
2651
- REQUIRE(resp.ctx.ec == couchbase::error::management_errc::eventing_function_not_deployed);
2707
+ REQUIRE(resp.ctx.ec == couchbase::errc::management::eventing_function_not_deployed);
2652
2708
  }
2653
2709
 
2654
2710
  {
2655
- couchbase::operations::management::eventing_deploy_function_request req{ function_name };
2711
+ couchbase::core::operations::management::eventing_deploy_function_request req{ function_name };
2656
2712
  auto resp = test::utils::execute(integration.cluster, req);
2657
- REQUIRE_FALSE(resp.ctx.ec);
2713
+ REQUIRE_SUCCESS(resp.ctx.ec);
2658
2714
  }
2659
2715
 
2660
- REQUIRE(wait_for_function_reach_status(integration, function_name, couchbase::management::eventing::function_status::deployed));
2716
+ REQUIRE(
2717
+ wait_for_function_reach_status(integration, function_name, couchbase::core::management::eventing::function_status::deployed));
2661
2718
 
2662
2719
  {
2663
- couchbase::operations::management::eventing_drop_function_request req{ function_name };
2720
+ couchbase::core::operations::management::eventing_drop_function_request req{ function_name };
2664
2721
  auto resp = test::utils::execute(integration.cluster, req);
2665
- REQUIRE(resp.ctx.ec == couchbase::error::management_errc::eventing_function_deployed);
2722
+ REQUIRE(resp.ctx.ec == couchbase::errc::management::eventing_function_deployed);
2666
2723
  }
2667
2724
 
2668
2725
  {
2669
- couchbase::operations::management::eventing_resume_function_request req{ function_name };
2726
+ couchbase::core::operations::management::eventing_resume_function_request req{ function_name };
2670
2727
  auto resp = test::utils::execute(integration.cluster, req);
2671
- REQUIRE(resp.ctx.ec == couchbase::error::management_errc::eventing_function_deployed);
2728
+ REQUIRE(resp.ctx.ec == couchbase::errc::management::eventing_function_deployed);
2672
2729
  }
2673
2730
 
2674
2731
  {
2675
- couchbase::operations::management::eventing_pause_function_request req{ function_name };
2732
+ couchbase::core::operations::management::eventing_pause_function_request req{ function_name };
2676
2733
  auto resp = test::utils::execute(integration.cluster, req);
2677
- REQUIRE_FALSE(resp.ctx.ec);
2734
+ REQUIRE_SUCCESS(resp.ctx.ec);
2678
2735
  }
2679
2736
 
2680
- REQUIRE(wait_for_function_reach_status(integration, function_name, couchbase::management::eventing::function_status::paused));
2737
+ REQUIRE(wait_for_function_reach_status(integration, function_name, couchbase::core::management::eventing::function_status::paused));
2681
2738
 
2682
2739
  {
2683
- couchbase::operations::management::eventing_pause_function_request req{ function_name };
2740
+ couchbase::core::operations::management::eventing_pause_function_request req{ function_name };
2684
2741
  auto resp = test::utils::execute(integration.cluster, req);
2685
- REQUIRE(resp.ctx.ec == couchbase::error::management_errc::eventing_function_paused);
2742
+ REQUIRE(resp.ctx.ec == couchbase::errc::management::eventing_function_paused);
2686
2743
  }
2687
2744
 
2688
2745
  {
2689
- couchbase::operations::management::eventing_resume_function_request req{ function_name };
2746
+ couchbase::core::operations::management::eventing_resume_function_request req{ function_name };
2690
2747
  auto resp = test::utils::execute(integration.cluster, req);
2691
- REQUIRE_FALSE(resp.ctx.ec);
2748
+ REQUIRE_SUCCESS(resp.ctx.ec);
2692
2749
  }
2693
2750
 
2694
- REQUIRE(wait_for_function_reach_status(integration, function_name, couchbase::management::eventing::function_status::deployed));
2751
+ REQUIRE(
2752
+ wait_for_function_reach_status(integration, function_name, couchbase::core::management::eventing::function_status::deployed));
2695
2753
 
2696
2754
  {
2697
- couchbase::operations::management::eventing_undeploy_function_request req{ function_name };
2755
+ couchbase::core::operations::management::eventing_undeploy_function_request req{ function_name };
2698
2756
  auto resp = test::utils::execute(integration.cluster, req);
2699
- REQUIRE_FALSE(resp.ctx.ec);
2757
+ REQUIRE_SUCCESS(resp.ctx.ec);
2700
2758
  }
2701
2759
 
2702
- REQUIRE(wait_for_function_reach_status(integration, function_name, couchbase::management::eventing::function_status::undeployed));
2760
+ REQUIRE(
2761
+ wait_for_function_reach_status(integration, function_name, couchbase::core::management::eventing::function_status::undeployed));
2703
2762
 
2704
2763
  {
2705
- couchbase::operations::management::eventing_drop_function_request req{ function_name };
2764
+ couchbase::core::operations::management::eventing_drop_function_request req{ function_name };
2706
2765
  auto resp = test::utils::execute(integration.cluster, req);
2707
- REQUIRE_FALSE(resp.ctx.ec);
2766
+ REQUIRE_SUCCESS(resp.ctx.ec);
2708
2767
  }
2709
2768
 
2710
2769
  {
2711
- couchbase::operations::management::eventing_get_function_request req{ function_name };
2770
+ couchbase::core::operations::management::eventing_get_function_request req{ function_name };
2712
2771
  auto resp = test::utils::execute(integration.cluster, req);
2713
- REQUIRE(resp.ctx.ec == couchbase::error::management_errc::eventing_function_not_found);
2772
+ REQUIRE(resp.ctx.ec == couchbase::errc::management::eventing_function_not_found);
2714
2773
  }
2715
2774
 
2716
2775
  {
2717
- couchbase::operations::management::bucket_drop_request req{ meta_bucket_name };
2776
+ couchbase::core::operations::management::bucket_drop_request req{ meta_bucket_name };
2718
2777
  auto resp = test::utils::execute(integration.cluster, req);
2719
- REQUIRE_FALSE(resp.ctx.ec);
2778
+ REQUIRE_SUCCESS(resp.ctx.ec);
2720
2779
  }
2721
2780
  }
2722
2781
  }