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
@@ -1,1333 +0,0 @@
1
- /* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
2
- /*
3
- * Copyright 2020-2021 Couchbase, Inc.
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * http://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
16
- */
17
-
18
- #pragma once
19
-
20
- #include <couchbase/diagnostics.hxx>
21
- #include <couchbase/errors.hxx>
22
- #include <couchbase/io/mcbp_context.hxx>
23
- #include <couchbase/io/mcbp_message.hxx>
24
- #include <couchbase/io/mcbp_parser.hxx>
25
- #include <couchbase/io/retry_orchestrator.hxx>
26
- #include <couchbase/io/retry_reason_fmt.hxx>
27
- #include <couchbase/io/streams.hxx>
28
- #include <couchbase/logger/logger.hxx>
29
- #include <couchbase/meta/version.hxx>
30
- #include <couchbase/origin.hxx>
31
- #include <couchbase/platform/uuid.h>
32
- #include <couchbase/protocol/client_request.hxx>
33
- #include <couchbase/protocol/client_response.hxx>
34
- #include <couchbase/protocol/cmd_cluster_map_change_notification.hxx>
35
- #include <couchbase/protocol/cmd_get.hxx>
36
- #include <couchbase/protocol/cmd_get_cluster_config.hxx>
37
- #include <couchbase/protocol/cmd_get_error_map.hxx>
38
- #include <couchbase/protocol/cmd_hello.hxx>
39
- #include <couchbase/protocol/cmd_noop.hxx>
40
- #include <couchbase/protocol/cmd_sasl_auth.hxx>
41
- #include <couchbase/protocol/cmd_sasl_list_mechs.hxx>
42
- #include <couchbase/protocol/cmd_sasl_step.hxx>
43
- #include <couchbase/protocol/cmd_select_bucket.hxx>
44
- #include <couchbase/protocol/hello_feature.hxx>
45
- #include <couchbase/protocol/hello_feature_fmt.hxx>
46
- #include <couchbase/protocol/server_request.hxx>
47
- #include <couchbase/sasl/client.h>
48
- #include <couchbase/sasl/error.h>
49
- #include <couchbase/sasl/error_fmt.h>
50
- #include <couchbase/topology/capabilities_fmt.hxx>
51
- #include <couchbase/topology/configuration_fmt.hxx>
52
- #include <couchbase/utils/join_strings.hxx>
53
- #include <couchbase/utils/movable_function.hxx>
54
-
55
- #include <asio.hpp>
56
- #include <cstring>
57
- #include <spdlog/fmt/bin_to_hex.h>
58
- #include <utility>
59
-
60
- namespace couchbase::io
61
- {
62
-
63
- class mcbp_session : public std::enable_shared_from_this<mcbp_session>
64
- {
65
- class collection_cache
66
- {
67
- private:
68
- std::map<std::string, std::uint32_t> cid_map_{ { "_default._default", 0 } };
69
-
70
- public:
71
- [[nodiscard]] std::optional<std::uint32_t> get(const std::string& path)
72
- {
73
- Expects(!path.empty());
74
- if (auto ptr = cid_map_.find(path); ptr != cid_map_.end()) {
75
- return ptr->second;
76
- }
77
- return {};
78
- }
79
-
80
- void update(const std::string& path, std::uint32_t id)
81
- {
82
- Expects(!path.empty());
83
- cid_map_[path] = id;
84
- }
85
-
86
- void reset()
87
- {
88
- cid_map_.clear();
89
- cid_map_["_default._default"] = 0;
90
- }
91
- };
92
-
93
- class message_handler
94
- {
95
- public:
96
- virtual void handle(mcbp_message&& msg) = 0;
97
-
98
- virtual ~message_handler() = default;
99
-
100
- virtual void stop()
101
- {
102
- }
103
- };
104
-
105
- class bootstrap_handler : public message_handler
106
- {
107
- private:
108
- std::shared_ptr<mcbp_session> session_;
109
- sasl::ClientContext sasl_;
110
- std::atomic_bool stopped_{ false };
111
-
112
- public:
113
- ~bootstrap_handler() override = default;
114
-
115
- void stop() override
116
- {
117
- if (stopped_) {
118
- return;
119
- }
120
- stopped_ = true;
121
- session_.reset();
122
- }
123
-
124
- explicit bootstrap_handler(std::shared_ptr<mcbp_session> session)
125
- : session_(session)
126
- , sasl_([origin = session_->origin_]() { return origin.username(); },
127
- [origin = session_->origin_]() { return origin.password(); },
128
- session_->origin_.credentials().allowed_sasl_mechanisms)
129
- {
130
- protocol::client_request<protocol::hello_request_body> hello_req;
131
- if (session_->origin_.options().enable_unordered_execution) {
132
- hello_req.body().enable_unordered_execution();
133
- }
134
- if (session_->origin_.options().enable_clustermap_notification) {
135
- hello_req.body().enable_clustermap_change_notification();
136
- }
137
- if (session_->origin_.options().enable_compression) {
138
- hello_req.body().enable_compression();
139
- }
140
- hello_req.opaque(session_->next_opaque());
141
- auto user_agent =
142
- meta::user_agent_for_mcbp(session_->client_id_, session_->id_, session_->origin_.options().user_agent_extra, 250);
143
- hello_req.body().user_agent(user_agent);
144
- LOG_DEBUG("{} user_agent={}, requested_features=[{}]",
145
- session_->log_prefix_,
146
- user_agent,
147
- utils::join_strings_fmt("{}", hello_req.body().features(), ", "));
148
- session_->write(hello_req.data());
149
-
150
- if (!session->origin_.credentials().uses_certificate()) {
151
- protocol::client_request<protocol::sasl_list_mechs_request_body> list_req;
152
- list_req.opaque(session_->next_opaque());
153
- session_->write(list_req.data());
154
-
155
- protocol::client_request<protocol::sasl_auth_request_body> auth_req;
156
- auto [sasl_code, sasl_payload] = sasl_.start();
157
- auth_req.opaque(session_->next_opaque());
158
- auth_req.body().mechanism(sasl_.get_name());
159
- auth_req.body().sasl_data(sasl_payload);
160
- session_->write(auth_req.data());
161
- }
162
-
163
- session_->flush();
164
- }
165
-
166
- void complete(std::error_code ec)
167
- {
168
- stopped_ = true;
169
- session_->invoke_bootstrap_handler(ec);
170
- }
171
-
172
- void auth_success()
173
- {
174
- session_->authenticated_ = true;
175
- if (session_->supports_feature(protocol::hello_feature::xerror)) {
176
- protocol::client_request<protocol::get_error_map_request_body> errmap_req;
177
- errmap_req.opaque(session_->next_opaque());
178
- session_->write(errmap_req.data());
179
- }
180
- if (session_->bucket_name_) {
181
- protocol::client_request<protocol::select_bucket_request_body> sb_req;
182
- sb_req.opaque(session_->next_opaque());
183
- sb_req.body().bucket_name(session_->bucket_name_.value());
184
- session_->write(sb_req.data());
185
- }
186
- protocol::client_request<protocol::get_cluster_config_request_body> cfg_req;
187
- cfg_req.opaque(session_->next_opaque());
188
- session_->write(cfg_req.data());
189
- session_->flush();
190
- }
191
-
192
- void handle(mcbp_message&& msg) override
193
- {
194
- if (stopped_ || !session_) {
195
- return;
196
- }
197
- Expects(protocol::is_valid_magic(msg.header.magic));
198
- switch (auto magic = protocol::magic(msg.header.magic)) {
199
- case protocol::magic::client_response:
200
- case protocol::magic::alt_client_response:
201
- Expects(protocol::is_valid_client_opcode(msg.header.opcode));
202
- switch (auto status = protocol::status(msg.header.status())) {
203
- case protocol::status::rate_limited_max_commands:
204
- case protocol::status::rate_limited_max_connections:
205
- case protocol::status::rate_limited_network_egress:
206
- case protocol::status::rate_limited_network_ingress:
207
- LOG_DEBUG(
208
- "{} unable to bootstrap MCBP session (bucket={}, opcode={}, status={}), the user has reached rate limit",
209
- session_->log_prefix_,
210
- session_->bucket_name_.value_or(""),
211
- protocol::client_opcode(msg.header.opcode),
212
- status);
213
- return complete(error::common_errc::rate_limited);
214
-
215
- case protocol::status::scope_size_limit_exceeded:
216
- LOG_DEBUG(
217
- "{} unable to bootstrap MCBP session (bucket={}, opcode={}, status={}), the user has reached quota limit",
218
- session_->log_prefix_,
219
- session_->bucket_name_.value_or(""),
220
- protocol::client_opcode(msg.header.opcode),
221
- status);
222
- return complete(error::common_errc::quota_limited);
223
-
224
- default:
225
- break;
226
- }
227
- switch (auto opcode = protocol::client_opcode(msg.header.opcode)) {
228
- case protocol::client_opcode::hello: {
229
- protocol::client_response<protocol::hello_response_body> resp(std::move(msg));
230
- if (resp.status() == protocol::status::success) {
231
- session_->supported_features_ = resp.body().supported_features();
232
- LOG_DEBUG("{} supported_features=[{}]",
233
- session_->log_prefix_,
234
- utils::join_strings_fmt("{}", session_->supported_features_, ", "));
235
- if (session_->origin_.credentials().uses_certificate()) {
236
- LOG_DEBUG("{} skip SASL authentication, because TLS certificate was specified", session_->log_prefix_);
237
- return auth_success();
238
- }
239
- } else {
240
- LOG_WARNING("{} unexpected message status during bootstrap: {} (opaque={})",
241
- session_->log_prefix_,
242
- resp.error_message(),
243
- resp.opaque());
244
- return complete(error::network_errc::handshake_failure);
245
- }
246
- } break;
247
- case protocol::client_opcode::sasl_list_mechs: {
248
- protocol::client_response<protocol::sasl_list_mechs_response_body> resp(std::move(msg));
249
- if (resp.status() != protocol::status::success) {
250
- LOG_WARNING("{} unexpected message status during bootstrap: {} (opaque={})",
251
- session_->log_prefix_,
252
- resp.error_message(),
253
- resp.opaque());
254
- return complete(error::common_errc::authentication_failure);
255
- }
256
- } break;
257
- case protocol::client_opcode::sasl_auth: {
258
- protocol::client_response<protocol::sasl_auth_response_body> resp(std::move(msg));
259
- if (resp.status() == protocol::status::success) {
260
- return auth_success();
261
- }
262
- if (resp.status() == protocol::status::auth_continue) {
263
- auto [sasl_code, sasl_payload] = sasl_.step(resp.body().value());
264
- if (sasl_code == sasl::error::OK) {
265
- return auth_success();
266
- }
267
- if (sasl_code == sasl::error::CONTINUE) {
268
- protocol::client_request<protocol::sasl_step_request_body> req;
269
- req.opaque(session_->next_opaque());
270
- req.body().mechanism(sasl_.get_name());
271
- req.body().sasl_data(sasl_payload);
272
- session_->write_and_flush(req.data());
273
- } else {
274
- LOG_ERROR("{} unable to authenticate: (sasl_code={}, opaque={})",
275
- session_->log_prefix_,
276
- sasl_code,
277
- resp.opaque());
278
- return complete(error::common_errc::authentication_failure);
279
- }
280
- } else {
281
- LOG_WARNING("{} unexpected message status during bootstrap: {} (opaque={})",
282
- session_->log_prefix_,
283
- resp.error_message(),
284
- resp.opaque());
285
- return complete(error::common_errc::authentication_failure);
286
- }
287
- } break;
288
- case protocol::client_opcode::sasl_step: {
289
- protocol::client_response<protocol::sasl_step_response_body> resp(std::move(msg));
290
- if (resp.status() == protocol::status::success) {
291
- return auth_success();
292
- }
293
- return complete(error::common_errc::authentication_failure);
294
- }
295
- case protocol::client_opcode::get_error_map: {
296
- protocol::client_response<protocol::get_error_map_response_body> resp(std::move(msg));
297
- if (resp.status() == protocol::status::success) {
298
- session_->error_map_.emplace(resp.body().errmap());
299
- } else {
300
- LOG_WARNING("{} unexpected message status during bootstrap: {} (opaque={}, {:n})",
301
- session_->log_prefix_,
302
- resp.error_message(),
303
- resp.opaque(),
304
- spdlog::to_hex(resp.header()));
305
- return complete(error::network_errc::protocol_error);
306
- }
307
- } break;
308
- case protocol::client_opcode::select_bucket: {
309
- protocol::client_response<protocol::select_bucket_response_body> resp(std::move(msg));
310
- if (resp.status() == protocol::status::success) {
311
- LOG_DEBUG("{} selected bucket: {}", session_->log_prefix_, session_->bucket_name_.value_or(""));
312
- session_->bucket_selected_ = true;
313
- } else if (resp.status() == protocol::status::not_found) {
314
- LOG_DEBUG("{} kv_engine node does not have configuration propagated yet (opcode={}, status={}, opaque={})",
315
- session_->log_prefix_,
316
- opcode,
317
- resp.status(),
318
- resp.opaque());
319
- return complete(error::network_errc::configuration_not_available);
320
- } else if (resp.status() == protocol::status::no_access) {
321
- LOG_DEBUG("{} unable to select bucket: {}, probably the bucket does not exist",
322
- session_->log_prefix_,
323
- session_->bucket_name_.value_or(""));
324
- session_->bucket_selected_ = false;
325
- return complete(error::common_errc::bucket_not_found);
326
- } else {
327
- LOG_WARNING("{} unexpected message status during bootstrap: {} (opaque={}, {:n})",
328
- session_->log_prefix_,
329
- resp.error_message(),
330
- resp.opaque(),
331
- spdlog::to_hex(resp.header()));
332
- return complete(error::common_errc::bucket_not_found);
333
- }
334
- } break;
335
- case protocol::client_opcode::get_cluster_config: {
336
- protocol::cmd_info info{ session_->endpoint_address_, session_->endpoint_.port() };
337
- protocol::client_response<protocol::get_cluster_config_response_body> resp(std::move(msg), info);
338
- if (resp.status() == protocol::status::success) {
339
- session_->update_configuration(resp.body().config());
340
- complete({});
341
- } else if (resp.status() == protocol::status::not_found) {
342
- LOG_DEBUG("{} kv_engine node does not have configuration propagated yet (opcode={}, status={}, opaque={})",
343
- session_->log_prefix_,
344
- opcode,
345
- resp.status(),
346
- resp.opaque());
347
- return complete(error::network_errc::configuration_not_available);
348
- } else if (resp.status() == protocol::status::no_bucket && !session_->bucket_name_) {
349
- // bucket-less session, but the server wants bucket
350
- session_->supports_gcccp_ = false;
351
- LOG_WARNING("{} this server does not support GCCCP, open bucket before making any cluster-level command",
352
- session_->log_prefix_);
353
- session_->update_configuration(
354
- topology::make_blank_configuration(session_->endpoint_address_, session_->endpoint_.port(), 0));
355
- complete({});
356
- } else {
357
- LOG_WARNING("{} unexpected message status during bootstrap: {} (opaque={}, {:n})",
358
- session_->log_prefix_,
359
- resp.error_message(),
360
- resp.opaque(),
361
- spdlog::to_hex(resp.header()));
362
- return complete(error::network_errc::protocol_error);
363
- }
364
- } break;
365
- default:
366
- LOG_WARNING("{} unexpected message during bootstrap: {}", session_->log_prefix_, opcode);
367
- return complete(error::network_errc::protocol_error);
368
- }
369
- break;
370
- case protocol::magic::server_request:
371
- Expects(protocol::is_valid_server_request_opcode(msg.header.opcode));
372
- switch (static_cast<protocol::server_opcode>(msg.header.opcode)) {
373
- case protocol::server_opcode::cluster_map_change_notification: {
374
- protocol::cmd_info info{ session_->endpoint_address_, session_->endpoint_.port() };
375
- protocol::server_request<protocol::cluster_map_change_notification_request_body> req(std::move(msg), info);
376
- std::optional<topology::configuration> config = req.body().config();
377
- if (session_ && config.has_value()) {
378
- if ((!config->bucket.has_value() && req.body().bucket().empty()) ||
379
- (session_->bucket_name_.has_value() && !req.body().bucket().empty() &&
380
- session_->bucket_name_.value() == req.body().bucket())) {
381
- session_->update_configuration(std::move(config.value()));
382
- }
383
- }
384
- } break;
385
- default:
386
- LOG_WARNING("{} unexpected server request: opcode={:x}, opaque={}{:a}{:a}",
387
- session_->log_prefix_,
388
- msg.header.opcode,
389
- msg.header.opaque,
390
- spdlog::to_hex(msg.header_data()),
391
- spdlog::to_hex(msg.body));
392
- }
393
- break;
394
- case protocol::magic::client_request:
395
- case protocol::magic::alt_client_request:
396
- case protocol::magic::server_response:
397
- LOG_WARNING("{} unexpected magic: {} (opcode={:x}, opaque={}){:a}{:a}",
398
- session_->log_prefix_,
399
- magic,
400
- msg.header.opcode,
401
- msg.header.opaque,
402
- spdlog::to_hex(msg.header_data()),
403
- spdlog::to_hex(msg.body));
404
- break;
405
- }
406
- }
407
- };
408
-
409
- class normal_handler
410
- : public message_handler
411
- , public std::enable_shared_from_this<normal_handler>
412
- {
413
- private:
414
- std::shared_ptr<mcbp_session> session_;
415
- asio::steady_timer heartbeat_timer_;
416
- std::atomic_bool stopped_{ false };
417
-
418
- public:
419
- ~normal_handler() override
420
- {
421
- stop();
422
- }
423
-
424
- explicit normal_handler(std::shared_ptr<mcbp_session> session)
425
- : session_(session)
426
- , heartbeat_timer_(session_->ctx_)
427
- {
428
- }
429
-
430
- void start()
431
- {
432
- if (session_->supports_gcccp_) {
433
- fetch_config({});
434
- }
435
- }
436
-
437
- void stop() override
438
- {
439
- if (stopped_) {
440
- return;
441
- }
442
- stopped_ = true;
443
- heartbeat_timer_.cancel();
444
- session_.reset();
445
- }
446
-
447
- void handle(mcbp_message&& msg) override
448
- {
449
- if (stopped_ || !session_) {
450
- return;
451
- }
452
- Expects(protocol::is_valid_magic(msg.header.magic));
453
- switch (auto magic = protocol::magic(msg.header.magic)) {
454
- case protocol::magic::client_response:
455
- case protocol::magic::alt_client_response:
456
- Expects(protocol::is_valid_client_opcode(msg.header.opcode));
457
- switch (auto opcode = protocol::client_opcode(msg.header.opcode)) {
458
- case protocol::client_opcode::get_cluster_config: {
459
- protocol::cmd_info info{ session_->endpoint_address_, session_->endpoint_.port() };
460
- protocol::client_response<protocol::get_cluster_config_response_body> resp(std::move(msg), info);
461
- if (resp.status() == protocol::status::success) {
462
- if (session_) {
463
- session_->update_configuration(resp.body().config());
464
- }
465
- } else {
466
- LOG_WARNING("{} unexpected message status: {} (opaque={})",
467
- session_->log_prefix_,
468
- resp.error_message(),
469
- resp.opaque());
470
- }
471
- } break;
472
- case protocol::client_opcode::noop:
473
- case protocol::client_opcode::get_collections_manifest:
474
- case protocol::client_opcode::get_collection_id:
475
- case protocol::client_opcode::get:
476
- case protocol::client_opcode::get_and_lock:
477
- case protocol::client_opcode::get_and_touch:
478
- case protocol::client_opcode::get_meta:
479
- case protocol::client_opcode::touch:
480
- case protocol::client_opcode::insert:
481
- case protocol::client_opcode::replace:
482
- case protocol::client_opcode::upsert:
483
- case protocol::client_opcode::append:
484
- case protocol::client_opcode::prepend:
485
- case protocol::client_opcode::remove:
486
- case protocol::client_opcode::observe:
487
- case protocol::client_opcode::unlock:
488
- case protocol::client_opcode::increment:
489
- case protocol::client_opcode::decrement:
490
- case protocol::client_opcode::subdoc_multi_lookup:
491
- case protocol::client_opcode::subdoc_multi_mutation: {
492
- std::uint32_t opaque = msg.header.opaque;
493
- std::uint16_t status = utils::byte_swap(msg.header.specific);
494
- session_->command_handlers_mutex_.lock();
495
- auto handler = session_->command_handlers_.find(opaque);
496
- if (handler != session_->command_handlers_.end() && handler->second) {
497
- auto ec = protocol::map_status_code(opcode, status);
498
- LOG_TRACE("{} MCBP invoke operation handler: opcode={}, opaque={}, status={}, ec={}",
499
- session_->log_prefix_,
500
- opcode,
501
- opaque,
502
- protocol::status_to_string(status),
503
- ec.message());
504
- auto fun = std::move(handler->second);
505
- session_->command_handlers_.erase(handler);
506
- session_->command_handlers_mutex_.unlock();
507
- fun(ec, retry_reason::do_not_retry, std::move(msg));
508
- } else {
509
- session_->command_handlers_mutex_.unlock();
510
- LOG_DEBUG("{} unexpected orphan response: opcode={}, opaque={}, status={}",
511
- session_->log_prefix_,
512
- opcode,
513
- msg.header.opaque,
514
- protocol::status_to_string(status));
515
- }
516
- } break;
517
- default:
518
- LOG_WARNING("{} unexpected client response: opcode={}, opaque={}{:a}{:a})",
519
- session_->log_prefix_,
520
- opcode,
521
- msg.header.opaque,
522
- spdlog::to_hex(msg.header_data()),
523
- spdlog::to_hex(msg.body));
524
- }
525
- break;
526
- case protocol::magic::server_request:
527
- Expects(protocol::is_valid_server_request_opcode(msg.header.opcode));
528
- switch (static_cast<protocol::server_opcode>(msg.header.opcode)) {
529
- case protocol::server_opcode::cluster_map_change_notification: {
530
- protocol::server_request<protocol::cluster_map_change_notification_request_body> req(std::move(msg));
531
- std::optional<topology::configuration> config = req.body().config();
532
- if (session_ && config.has_value()) {
533
- if ((!config->bucket.has_value() && req.body().bucket().empty()) ||
534
- (session_->bucket_name_.has_value() && !req.body().bucket().empty() &&
535
- session_->bucket_name_.value() == req.body().bucket())) {
536
- session_->update_configuration(std::move(config.value()));
537
- }
538
- }
539
- } break;
540
- default:
541
- LOG_WARNING("{} unexpected server request: opcode={:x}, opaque={}{:a}{:a}",
542
- session_->log_prefix_,
543
- msg.header.opcode,
544
- msg.header.opaque,
545
- spdlog::to_hex(msg.header_data()),
546
- spdlog::to_hex(msg.body));
547
- }
548
- break;
549
- case protocol::magic::client_request:
550
- case protocol::magic::alt_client_request:
551
- case protocol::magic::server_response:
552
- LOG_WARNING("{} unexpected magic: {} (opcode={:x}, opaque={}){:a}{:a}",
553
- session_->log_prefix_,
554
- magic,
555
- msg.header.opcode,
556
- msg.header.opaque,
557
- spdlog::to_hex(msg.header_data()),
558
- spdlog::to_hex(msg.body));
559
- break;
560
- }
561
- }
562
-
563
- void fetch_config(std::error_code ec)
564
- {
565
- if (ec == asio::error::operation_aborted || stopped_ || !session_) {
566
- return;
567
- }
568
- protocol::client_request<protocol::get_cluster_config_request_body> req;
569
- req.opaque(session_->next_opaque());
570
- session_->write_and_flush(req.data());
571
- heartbeat_timer_.expires_after(std::chrono::milliseconds(2500));
572
- heartbeat_timer_.async_wait([self = shared_from_this()](std::error_code e) {
573
- if (e == asio::error::operation_aborted) {
574
- return;
575
- }
576
- self->fetch_config(e);
577
- });
578
- }
579
- };
580
-
581
- public:
582
- mcbp_session() = delete;
583
- mcbp_session(const std::string& client_id,
584
- asio::io_context& ctx,
585
- const couchbase::origin& origin,
586
- std::optional<std::string> bucket_name = {},
587
- std::vector<protocol::hello_feature> known_features = {})
588
- : client_id_(client_id)
589
- , id_(uuid::to_string(uuid::random()))
590
- , ctx_(ctx)
591
- , resolver_(ctx_)
592
- , stream_(std::make_unique<plain_stream_impl>(ctx_))
593
- , bootstrap_deadline_(ctx_)
594
- , connection_deadline_(ctx_)
595
- , retry_backoff_(ctx_)
596
- , origin_(origin)
597
- , bucket_name_(std::move(bucket_name))
598
- , supported_features_(known_features)
599
- {
600
- log_prefix_ = fmt::format("[{}/{}/{}/{}]", client_id_, id_, stream_->log_prefix(), bucket_name_.value_or("-"));
601
- }
602
-
603
- mcbp_session(const std::string& client_id,
604
- asio::io_context& ctx,
605
- asio::ssl::context& tls,
606
- const couchbase::origin& origin,
607
- std::optional<std::string> bucket_name = {},
608
- std::vector<protocol::hello_feature> known_features = {})
609
- : client_id_(client_id)
610
- , id_(uuid::to_string(uuid::random()))
611
- , ctx_(ctx)
612
- , resolver_(ctx_)
613
- , stream_(std::make_unique<tls_stream_impl>(ctx_, tls))
614
- , bootstrap_deadline_(ctx_)
615
- , connection_deadline_(ctx_)
616
- , retry_backoff_(ctx_)
617
- , origin_(origin)
618
- , bucket_name_(std::move(bucket_name))
619
- , supported_features_(known_features)
620
- {
621
- log_prefix_ = fmt::format("[{}/{}/{}/{}]", client_id_, id_, stream_->log_prefix(), bucket_name_.value_or("-"));
622
- }
623
-
624
- ~mcbp_session()
625
- {
626
- LOG_DEBUG("{} destroy MCBP connection", log_prefix_);
627
- stop(retry_reason::do_not_retry);
628
- }
629
-
630
- [[nodiscard]] const std::string& log_prefix() const
631
- {
632
- return log_prefix_;
633
- }
634
-
635
- std::string remote_address() const
636
- {
637
- if (endpoint_.protocol() == asio::ip::tcp::v6()) {
638
- return fmt::format("[{}]:{}", endpoint_address_, endpoint_.port());
639
- }
640
- return fmt::format("{}:{}", endpoint_address_, endpoint_.port());
641
- }
642
-
643
- std::string local_address() const
644
- {
645
- if (endpoint_.protocol() == asio::ip::tcp::v6()) {
646
- return fmt::format("[{}]:{}", local_endpoint_address_, local_endpoint_.port());
647
- }
648
- return fmt::format("{}:{}", local_endpoint_address_, local_endpoint_.port());
649
- }
650
-
651
- [[nodiscard]] diag::endpoint_diag_info diag_info() const
652
- {
653
- return { service_type::key_value,
654
- id_,
655
- last_active_.time_since_epoch().count() == 0 ? std::nullopt
656
- : std::make_optional(std::chrono::duration_cast<std::chrono::microseconds>(
657
- std::chrono::steady_clock::now() - last_active_)),
658
- remote_address(),
659
- local_address(),
660
- state_,
661
- bucket_name_ };
662
- }
663
-
664
- template<typename Handler>
665
- void ping(Handler&& handler)
666
- {
667
- protocol::client_request<protocol::mcbp_noop_request_body> req;
668
- req.opaque(next_opaque());
669
- write_and_subscribe(req.opaque(),
670
- std::move(req.data(false)),
671
- [start = std::chrono::steady_clock::now(), self = shared_from_this(), handler](
672
- std::error_code ec, retry_reason reason, io::mcbp_message&& /* msg */) {
673
- diag::ping_state state = diag::ping_state::ok;
674
- std::optional<std::string> error{};
675
- if (ec) {
676
- state = diag::ping_state::error;
677
- error.emplace(fmt::format("code={}, message={}, reason={}", ec.value(), ec.message(), reason));
678
- }
679
- handler(diag::endpoint_ping_info{
680
- service_type::key_value,
681
- self->id_,
682
- std::chrono::duration_cast<std::chrono::microseconds>(std::chrono::steady_clock::now() - start),
683
- self->remote_address(),
684
- self->local_address(),
685
- state,
686
- self->bucket_name_,
687
- error });
688
- });
689
- }
690
-
691
- [[nodiscard]] mcbp_context context() const
692
- {
693
- return { config_, supported_features_ };
694
- }
695
-
696
- void bootstrap(utils::movable_function<void(std::error_code, topology::configuration)>&& handler,
697
- bool retry_on_bucket_not_found = false)
698
- {
699
- retry_bootstrap_on_bucket_not_found_ = retry_on_bucket_not_found;
700
- bootstrap_handler_ = std::move(handler);
701
- bootstrap_deadline_.expires_after(origin_.options().bootstrap_timeout);
702
- bootstrap_deadline_.async_wait([self = shared_from_this()](std::error_code ec) {
703
- if (ec == asio::error::operation_aborted || self->stopped_) {
704
- return;
705
- }
706
- LOG_WARNING("{} unable to bootstrap in time", self->log_prefix_);
707
- auto h = std::move(self->bootstrap_handler_);
708
- h(error::common_errc::unambiguous_timeout, {});
709
- self->stop(retry_reason::do_not_retry);
710
- });
711
- initiate_bootstrap();
712
- }
713
-
714
- void initiate_bootstrap()
715
- {
716
- if (stopped_) {
717
- return;
718
- }
719
- state_ = diag::endpoint_state::connecting;
720
- if (stream_->is_open()) {
721
- std::string old_id = stream_->id();
722
- stream_->reopen();
723
- LOG_TRACE(R"({} reopen socket connection "{}" -> "{}", host="{}", port={})",
724
- log_prefix_,
725
- old_id,
726
- stream_->id(),
727
- bootstrap_hostname_,
728
- bootstrap_port_);
729
- }
730
- if (origin_.exhausted()) {
731
- auto backoff = std::chrono::milliseconds(500);
732
- LOG_DEBUG("{} reached the end of list of bootstrap nodes, waiting for {}ms before restart", log_prefix_, backoff.count());
733
- retry_backoff_.expires_after(backoff);
734
- retry_backoff_.async_wait([self = shared_from_this()](std::error_code ec) mutable {
735
- if (ec == asio::error::operation_aborted || self->stopped_) {
736
- return;
737
- }
738
- self->origin_.restart();
739
- self->initiate_bootstrap();
740
- });
741
- return;
742
- }
743
- std::tie(bootstrap_hostname_, bootstrap_port_) = origin_.next_address();
744
- log_prefix_ = fmt::format("[{}/{}/{}/{}] <{}:{}>",
745
- client_id_,
746
- id_,
747
- stream_->log_prefix(),
748
- bucket_name_.value_or("-"),
749
- bootstrap_hostname_,
750
- bootstrap_port_);
751
- LOG_DEBUG("{} attempt to establish MCBP connection", log_prefix_);
752
-
753
- async_resolve(origin_.options().use_ip_protocol,
754
- resolver_,
755
- bootstrap_hostname_,
756
- bootstrap_port_,
757
- std::bind(&mcbp_session::on_resolve, shared_from_this(), std::placeholders::_1, std::placeholders::_2));
758
- }
759
-
760
- [[nodiscard]] const std::string& id() const
761
- {
762
- return id_;
763
- }
764
-
765
- [[nodiscard]] bool is_stopped() const
766
- {
767
- return stopped_;
768
- }
769
-
770
- void on_stop(std::function<void(io::retry_reason)> handler)
771
- {
772
- on_stop_handler_ = std::move(handler);
773
- }
774
-
775
- void stop(retry_reason reason)
776
- {
777
- if (stopped_) {
778
- return;
779
- }
780
- state_ = diag::endpoint_state::disconnecting;
781
- LOG_DEBUG("{} stop MCBP connection, reason={}", log_prefix_, reason);
782
- stopped_ = true;
783
- bootstrap_deadline_.cancel();
784
- connection_deadline_.cancel();
785
- retry_backoff_.cancel();
786
- resolver_.cancel();
787
- stream_->close([](std::error_code) {});
788
- std::error_code ec = error::common_errc::request_canceled;
789
- if (!bootstrapped_ && bootstrap_handler_) {
790
- auto h = std::move(bootstrap_handler_);
791
- h(ec, {});
792
- }
793
- if (handler_) {
794
- handler_->stop();
795
- handler_ = nullptr;
796
- }
797
- {
798
- std::scoped_lock lock(command_handlers_mutex_);
799
- for (auto& [opaque, handler] : command_handlers_) {
800
- if (handler) {
801
- LOG_DEBUG("{} MCBP cancel operation during session close, opaque={}, ec={}", log_prefix_, opaque, ec.message());
802
- auto fun = std::move(handler);
803
- fun(ec, reason, {});
804
- }
805
- }
806
- command_handlers_.clear();
807
- }
808
- config_listeners_.clear();
809
- if (on_stop_handler_) {
810
- on_stop_handler_(reason);
811
- }
812
- on_stop_handler_ = nullptr;
813
- state_ = diag::endpoint_state::disconnected;
814
- }
815
-
816
- void write(std::vector<std::byte>&& buf)
817
- {
818
- if (stopped_) {
819
- return;
820
- }
821
- std::uint32_t opaque{ 0 };
822
- std::memcpy(&opaque, buf.data() + 12, sizeof(opaque));
823
- LOG_TRACE("{} MCBP send, opaque={}, {:n}", log_prefix_, opaque, spdlog::to_hex(buf.begin(), buf.begin() + 24));
824
- std::scoped_lock lock(output_buffer_mutex_);
825
- output_buffer_.emplace_back(std::move(buf));
826
- }
827
-
828
- void flush()
829
- {
830
- if (stopped_) {
831
- return;
832
- }
833
- do_write();
834
- }
835
-
836
- void write_and_flush(std::vector<std::byte>&& buf)
837
- {
838
- if (stopped_) {
839
- return;
840
- }
841
- write(std::move(buf));
842
- flush();
843
- }
844
-
845
- void write_and_subscribe(std::uint32_t opaque,
846
- std::vector<std::byte>&& data,
847
- std::function<void(std::error_code, retry_reason, io::mcbp_message&&)> handler)
848
- {
849
- if (stopped_) {
850
- LOG_WARNING("{} MCBP cancel operation, while trying to write to closed session, opaque={}", log_prefix_, opaque);
851
- handler(error::common_errc::request_canceled, retry_reason::socket_closed_while_in_flight, {});
852
- return;
853
- }
854
- {
855
- std::scoped_lock lock(command_handlers_mutex_);
856
- command_handlers_.try_emplace(opaque, std::move(handler));
857
- }
858
- if (bootstrapped_ && stream_->is_open()) {
859
- write_and_flush(std::move(data));
860
- } else {
861
- LOG_DEBUG("{} the stream is not ready yet, put the message into pending buffer, opaque={}", log_prefix_, opaque);
862
- std::scoped_lock lock(pending_buffer_mutex_);
863
- if (bootstrapped_ && stream_->is_open()) {
864
- write_and_flush(std::move(data));
865
- } else {
866
- pending_buffer_.emplace_back(data);
867
- }
868
- }
869
- }
870
-
871
- [[nodiscard]] bool cancel(uint32_t opaque, std::error_code ec, retry_reason reason)
872
- {
873
- if (stopped_) {
874
- return false;
875
- }
876
- command_handlers_mutex_.lock();
877
- if (auto handler = command_handlers_.find(opaque); handler != command_handlers_.end()) {
878
- LOG_DEBUG("{} MCBP cancel operation, opaque={}, ec={} ({})", log_prefix_, opaque, ec.value(), ec.message());
879
- if (handler->second) {
880
- auto fun = std::move(handler->second);
881
- command_handlers_.erase(handler);
882
- command_handlers_mutex_.unlock();
883
- fun(ec, reason, {});
884
- return true;
885
- }
886
- }
887
- command_handlers_mutex_.unlock();
888
- return false;
889
- }
890
-
891
- [[nodiscard]] bool supports_feature(protocol::hello_feature feature)
892
- {
893
- return std::find(supported_features_.begin(), supported_features_.end(), feature) != supported_features_.end();
894
- }
895
-
896
- [[nodiscard]] std::vector<protocol::hello_feature> supported_features() const
897
- {
898
- return supported_features_;
899
- }
900
-
901
- [[nodiscard]] bool supports_gcccp() const
902
- {
903
- return supports_gcccp_;
904
- }
905
-
906
- [[nodiscard]] bool has_config() const
907
- {
908
- return configured_;
909
- }
910
-
911
- [[nodiscard]] topology::configuration config()
912
- {
913
- std::scoped_lock lock(config_mutex_);
914
- return config_.value();
915
- }
916
-
917
- [[nodiscard]] size_t index()
918
- {
919
- std::scoped_lock lock(config_mutex_);
920
- Expects(config_.has_value());
921
- return config_->index_for_this_node();
922
- }
923
-
924
- [[nodiscard]] const std::string& bootstrap_hostname() const
925
- {
926
- return bootstrap_hostname_;
927
- }
928
-
929
- [[nodiscard]] const std::string& bootstrap_port() const
930
- {
931
- return bootstrap_port_;
932
- }
933
-
934
- [[nodiscard]] uint32_t next_opaque()
935
- {
936
- return ++opaque_;
937
- }
938
-
939
- std::optional<error_map::error_info> decode_error_code(std::uint16_t code)
940
- {
941
- if (error_map_) {
942
- auto info = error_map_->errors.find(code);
943
- if (info != error_map_->errors.end()) {
944
- return info->second;
945
- }
946
- }
947
- return {};
948
- }
949
-
950
- void on_configuration_update(std::function<void(topology::configuration)> handler)
951
- {
952
- config_listeners_.emplace_back(std::move(handler));
953
- }
954
-
955
- void update_configuration(topology::configuration&& config)
956
- {
957
- if (stopped_) {
958
- return;
959
- }
960
- std::scoped_lock lock(config_mutex_);
961
- if (config_) {
962
- if (config_->vbmap && config.vbmap && config_->vbmap->size() != config.vbmap->size()) {
963
- LOG_DEBUG("{} received a configuration with a different number of vbuckets, ignoring", log_prefix_);
964
- return;
965
- }
966
- if (config == config_) {
967
- LOG_TRACE("{} received a configuration with identical revision (rev={}), ignoring", log_prefix_, config.rev_str());
968
- return;
969
- }
970
- if (config < config_) {
971
- LOG_DEBUG("{} received a configuration with older revision, ignoring", log_prefix_);
972
- return;
973
- }
974
- }
975
- bool this_node_found = false;
976
- for (auto& node : config.nodes) {
977
- if (node.hostname.empty()) {
978
- node.hostname = bootstrap_hostname_;
979
- }
980
- if (node.this_node) {
981
- this_node_found = true;
982
- }
983
- }
984
- if (!this_node_found) {
985
- for (auto& node : config.nodes) {
986
- if (node.hostname == bootstrap_hostname_) {
987
- if ((node.services_plain.key_value && std::to_string(node.services_plain.key_value.value()) == bootstrap_port_) ||
988
- (node.services_tls.key_value && std::to_string(node.services_tls.key_value.value()) == bootstrap_port_)) {
989
- node.this_node = true;
990
- }
991
- }
992
- }
993
- }
994
- config_.emplace(std::move(config));
995
- configured_ = true;
996
- LOG_DEBUG("{} received new configuration: {}", log_prefix_, config_.value());
997
- for (const auto& listener : config_listeners_) {
998
- listener(*config_);
999
- }
1000
- }
1001
-
1002
- void handle_not_my_vbucket(const io::mcbp_message& msg)
1003
- {
1004
- if (stopped_) {
1005
- return;
1006
- }
1007
- Expects(msg.header.magic == static_cast<std::uint8_t>(protocol::magic::alt_client_response) ||
1008
- msg.header.magic == static_cast<std::uint8_t>(protocol::magic::client_response));
1009
- if (protocol::has_json_datatype(msg.header.datatype)) {
1010
- auto magic = static_cast<protocol::magic>(msg.header.magic);
1011
- uint8_t extras_size = msg.header.extlen;
1012
- uint8_t framing_extras_size = 0;
1013
- uint16_t key_size = utils::byte_swap(msg.header.keylen);
1014
- if (magic == protocol::magic::alt_client_response) {
1015
- framing_extras_size = static_cast<std::uint8_t>(msg.header.keylen >> 8U);
1016
- key_size = msg.header.keylen & 0xffU;
1017
- }
1018
-
1019
- std::vector<uint8_t>::difference_type offset = framing_extras_size + key_size + extras_size;
1020
- if (utils::byte_swap(msg.header.bodylen) - offset > 0) {
1021
- std::string_view config_text{ reinterpret_cast<const char*>(msg.body.data()) + offset,
1022
- msg.body.size() - static_cast<std::size_t>(offset) };
1023
- auto config = protocol::parse_config(config_text, endpoint_address_, endpoint_.port());
1024
- LOG_DEBUG("{} received not_my_vbucket status for {}, opaque={} with config rev={} in the payload",
1025
- log_prefix_,
1026
- protocol::client_opcode(msg.header.opcode),
1027
- msg.header.opaque,
1028
- config.rev_str());
1029
- update_configuration(std::move(config));
1030
- }
1031
- }
1032
- }
1033
-
1034
- std::optional<std::uint32_t> get_collection_uid(const std::string& collection_path)
1035
- {
1036
- return collection_cache_.get(collection_path);
1037
- }
1038
-
1039
- void update_collection_uid(const std::string& path, std::uint32_t uid)
1040
- {
1041
- if (stopped_) {
1042
- return;
1043
- }
1044
- collection_cache_.update(path, uid);
1045
- }
1046
-
1047
- private:
1048
- void invoke_bootstrap_handler(std::error_code ec)
1049
- {
1050
- if (ec == error::network_errc::configuration_not_available) {
1051
- return initiate_bootstrap();
1052
- }
1053
- if (retry_bootstrap_on_bucket_not_found_ && ec == error::common_errc::bucket_not_found) {
1054
- LOG_DEBUG(R"({} server returned {} ({}), it must be transient condition, retrying)", log_prefix_, ec.value(), ec.message());
1055
- return initiate_bootstrap();
1056
- }
1057
-
1058
- if (!bootstrapped_ && bootstrap_handler_) {
1059
- bootstrap_deadline_.cancel();
1060
- auto h = std::move(bootstrap_handler_);
1061
- h(ec, config_.value_or(topology::configuration{}));
1062
- }
1063
- if (ec) {
1064
- handler_ = nullptr;
1065
- return stop(retry_reason::node_not_available);
1066
- }
1067
- state_ = diag::endpoint_state::connected;
1068
- {
1069
- auto handler = std::make_shared<normal_handler>(shared_from_this());
1070
- handler->start();
1071
- handler_ = handler;
1072
- }
1073
- std::scoped_lock lock(pending_buffer_mutex_);
1074
- bootstrapped_ = true;
1075
- if (!pending_buffer_.empty()) {
1076
- for (auto& buf : pending_buffer_) {
1077
- write(std::move(buf));
1078
- }
1079
- pending_buffer_.clear();
1080
- flush();
1081
- }
1082
- }
1083
-
1084
- void on_resolve(std::error_code ec, const asio::ip::tcp::resolver::results_type& endpoints)
1085
- {
1086
- if (ec == asio::error::operation_aborted || stopped_) {
1087
- return;
1088
- }
1089
- last_active_ = std::chrono::steady_clock::now();
1090
- if (ec) {
1091
- LOG_ERROR("{} error on resolve: {} ({})", log_prefix_, ec.value(), ec.message());
1092
- return initiate_bootstrap();
1093
- }
1094
- endpoints_ = endpoints;
1095
- do_connect(endpoints_.begin());
1096
- connection_deadline_.expires_after(origin_.options().resolve_timeout);
1097
- connection_deadline_.async_wait([self = shared_from_this()](const auto timer_ec) {
1098
- if (timer_ec == asio::error::operation_aborted || self->stopped_) {
1099
- return;
1100
- }
1101
- return self->stream_->close([self](std::error_code) { self->initiate_bootstrap(); });
1102
- });
1103
- }
1104
-
1105
- void do_connect(asio::ip::tcp::resolver::results_type::iterator it)
1106
- {
1107
- if (stopped_) {
1108
- return;
1109
- }
1110
- last_active_ = std::chrono::steady_clock::now();
1111
- if (it != endpoints_.end()) {
1112
- LOG_DEBUG("{} connecting to {}:{}, timeout={}ms",
1113
- log_prefix_,
1114
- it->endpoint().address().to_string(),
1115
- it->endpoint().port(),
1116
- origin_.options().connect_timeout.count());
1117
- connection_deadline_.expires_after(origin_.options().connect_timeout);
1118
- connection_deadline_.async_wait([self = shared_from_this()](const auto timer_ec) {
1119
- if (timer_ec == asio::error::operation_aborted || self->stopped_) {
1120
- return;
1121
- }
1122
- return self->stream_->close([self](std::error_code) { self->initiate_bootstrap(); });
1123
- });
1124
- stream_->async_connect(it->endpoint(), std::bind(&mcbp_session::on_connect, shared_from_this(), std::placeholders::_1, it));
1125
- } else {
1126
- LOG_ERROR("{} no more endpoints left to connect, will try another address", log_prefix_);
1127
- return initiate_bootstrap();
1128
- }
1129
- }
1130
-
1131
- void on_connect(const std::error_code& ec, asio::ip::tcp::resolver::results_type::iterator it)
1132
- {
1133
- if (ec == asio::error::operation_aborted || stopped_) {
1134
- return;
1135
- }
1136
- last_active_ = std::chrono::steady_clock::now();
1137
- if (!stream_->is_open() || ec) {
1138
-
1139
- LOG_WARNING("{} unable to connect to {}:{}: {} ({}){}. is_open={}",
1140
- log_prefix_,
1141
- it->endpoint().address().to_string(),
1142
- it->endpoint().port(),
1143
- ec.value(),
1144
- (ec.category() == asio::error::ssl_category) ? ERR_error_string(static_cast<unsigned long>(ec.value()), nullptr)
1145
- : ec.message(),
1146
- (ec == asio::error::connection_refused) ? ", check server ports and cluster encryption setting" : "",
1147
- stream_->is_open());
1148
- if (stream_->is_open()) {
1149
- stream_->close(std::bind(&mcbp_session::do_connect, shared_from_this(), ++it));
1150
- } else {
1151
- do_connect(++it);
1152
- }
1153
- } else {
1154
- stream_->set_options();
1155
- local_endpoint_ = stream_->local_endpoint();
1156
- local_endpoint_address_ = local_endpoint_.address().to_string();
1157
- endpoint_ = it->endpoint();
1158
- endpoint_address_ = endpoint_.address().to_string();
1159
- LOG_DEBUG("{} connected to {}:{}", log_prefix_, endpoint_address_, it->endpoint().port());
1160
- log_prefix_ = fmt::format("[{}/{}/{}/{}] <{}/{}:{}>",
1161
- client_id_,
1162
- id_,
1163
- stream_->log_prefix(),
1164
- bucket_name_.value_or("-"),
1165
- bootstrap_hostname_,
1166
- endpoint_address_,
1167
- endpoint_.port());
1168
- handler_ = std::make_shared<bootstrap_handler>(shared_from_this());
1169
- connection_deadline_.expires_at(asio::steady_timer::time_point::max());
1170
- connection_deadline_.cancel();
1171
- }
1172
- }
1173
-
1174
- void check_deadline(std::error_code ec)
1175
- {
1176
- if (ec == asio::error::operation_aborted || stopped_) {
1177
- return;
1178
- }
1179
- if (connection_deadline_.expiry() <= asio::steady_timer::clock_type::now()) {
1180
- stream_->close([](std::error_code) {});
1181
- connection_deadline_.expires_at(asio::steady_timer::time_point::max());
1182
- }
1183
- connection_deadline_.async_wait(std::bind(&mcbp_session::check_deadline, shared_from_this(), std::placeholders::_1));
1184
- }
1185
-
1186
- void do_read()
1187
- {
1188
- if (stopped_ || reading_ || !stream_->is_open()) {
1189
- return;
1190
- }
1191
- reading_ = true;
1192
- stream_->async_read_some(
1193
- asio::buffer(input_buffer_),
1194
- [self = shared_from_this(), stream_id = stream_->id()](std::error_code ec, std::size_t bytes_transferred) {
1195
- if (ec == asio::error::operation_aborted || self->stopped_) {
1196
- return;
1197
- }
1198
- self->last_active_ = std::chrono::steady_clock::now();
1199
- if (ec) {
1200
- if (stream_id != self->stream_->id()) {
1201
- LOG_ERROR(R"({} ignore IO error while reading from the socket: {} ({}), old_id="{}", new_id="{}")",
1202
- self->log_prefix_,
1203
- ec.value(),
1204
- ec.message(),
1205
- stream_id,
1206
- self->stream_->id());
1207
- return;
1208
- }
1209
- LOG_ERROR(R"({} IO error while reading from the socket("{}"): {} ({}))",
1210
- self->log_prefix_,
1211
- self->stream_->id(),
1212
- ec.value(),
1213
- ec.message());
1214
- return self->stop(retry_reason::socket_closed_while_in_flight);
1215
- }
1216
- self->parser_.feed(self->input_buffer_.data(), self->input_buffer_.data() + std::ptrdiff_t(bytes_transferred));
1217
-
1218
- for (;;) {
1219
- mcbp_message msg{};
1220
- switch (self->parser_.next(msg)) {
1221
- case mcbp_parser::result::ok:
1222
- LOG_TRACE(
1223
- "{} MCBP recv, opaque={}, {:n}", self->log_prefix_, msg.header.opaque, spdlog::to_hex(msg.header_data()));
1224
- self->handler_->handle(std::move(msg));
1225
- if (self->stopped_) {
1226
- return;
1227
- }
1228
- break;
1229
- case mcbp_parser::result::need_data:
1230
- self->reading_ = false;
1231
- if (!self->stopped_ && self->stream_->is_open()) {
1232
- self->do_read();
1233
- }
1234
- return;
1235
- case mcbp_parser::result::failure:
1236
- return self->stop(retry_reason::kv_temporary_failure);
1237
- }
1238
- }
1239
- });
1240
- }
1241
-
1242
- void do_write()
1243
- {
1244
- if (stopped_ || !stream_->is_open()) {
1245
- return;
1246
- }
1247
- std::scoped_lock lock(writing_buffer_mutex_, output_buffer_mutex_);
1248
- if (!writing_buffer_.empty() || output_buffer_.empty()) {
1249
- return;
1250
- }
1251
- std::swap(writing_buffer_, output_buffer_);
1252
- std::vector<asio::const_buffer> buffers;
1253
- buffers.reserve(writing_buffer_.size());
1254
- for (auto& buf : writing_buffer_) {
1255
- buffers.emplace_back(asio::buffer(buf));
1256
- }
1257
- stream_->async_write(buffers, [self = shared_from_this()](std::error_code ec, std::size_t /*unused*/) {
1258
- if (ec == asio::error::operation_aborted || self->stopped_) {
1259
- return;
1260
- }
1261
- self->last_active_ = std::chrono::steady_clock::now();
1262
- if (ec) {
1263
- LOG_ERROR(R"({} IO error while writing to the socket("{}"): {} ({}))",
1264
- self->log_prefix_,
1265
- self->stream_->id(),
1266
- ec.value(),
1267
- ec.message());
1268
- return self->stop(retry_reason::socket_closed_while_in_flight);
1269
- }
1270
- {
1271
- std::scoped_lock inner_lock(self->writing_buffer_mutex_);
1272
- self->writing_buffer_.clear();
1273
- }
1274
- self->do_write();
1275
- self->do_read();
1276
- });
1277
- }
1278
-
1279
- std::string client_id_;
1280
- const std::string id_;
1281
- asio::io_context& ctx_;
1282
- asio::ip::tcp::resolver resolver_;
1283
- std::unique_ptr<stream_impl> stream_;
1284
- asio::steady_timer bootstrap_deadline_;
1285
- asio::steady_timer connection_deadline_;
1286
- asio::steady_timer retry_backoff_;
1287
- couchbase::origin origin_;
1288
- std::optional<std::string> bucket_name_;
1289
- mcbp_parser parser_;
1290
- std::shared_ptr<message_handler> handler_;
1291
- utils::movable_function<void(std::error_code, const topology::configuration&)> bootstrap_handler_{};
1292
- std::mutex command_handlers_mutex_{};
1293
- std::map<uint32_t, utils::movable_function<void(std::error_code, retry_reason, io::mcbp_message&&)>> command_handlers_{};
1294
- std::vector<std::function<void(const topology::configuration&)>> config_listeners_{};
1295
- std::function<void(io::retry_reason)> on_stop_handler_{};
1296
-
1297
- std::atomic_bool bootstrapped_{ false };
1298
- std::atomic_bool stopped_{ false };
1299
- bool authenticated_{ false };
1300
- bool bucket_selected_{ false };
1301
- bool supports_gcccp_{ true };
1302
- bool retry_bootstrap_on_bucket_not_found_{ false };
1303
-
1304
- std::atomic<std::uint32_t> opaque_{ 0 };
1305
-
1306
- std::array<std::byte, 16384> input_buffer_{};
1307
- std::vector<std::vector<std::byte>> output_buffer_{};
1308
- std::vector<std::vector<std::byte>> pending_buffer_{};
1309
- std::vector<std::vector<std::byte>> writing_buffer_{};
1310
- std::mutex output_buffer_mutex_{};
1311
- std::mutex pending_buffer_mutex_{};
1312
- std::mutex writing_buffer_mutex_{};
1313
- std::string bootstrap_hostname_{};
1314
- std::string bootstrap_port_{};
1315
- asio::ip::tcp::endpoint endpoint_{}; // connected endpoint
1316
- std::string endpoint_address_{}; // cached string with endpoint address
1317
- asio::ip::tcp::endpoint local_endpoint_{};
1318
- std::string local_endpoint_address_{};
1319
- asio::ip::tcp::resolver::results_type endpoints_;
1320
- std::vector<protocol::hello_feature> supported_features_;
1321
- std::optional<topology::configuration> config_;
1322
- std::mutex config_mutex_{};
1323
- std::atomic_bool configured_{ false };
1324
- std::optional<error_map> error_map_;
1325
- collection_cache collection_cache_;
1326
-
1327
- std::atomic_bool reading_{ false };
1328
-
1329
- std::string log_prefix_{};
1330
- std::chrono::time_point<std::chrono::steady_clock> last_active_{};
1331
- diag::endpoint_state state_{ diag::endpoint_state::disconnected };
1332
- };
1333
- } // namespace couchbase::io