couchbase 4.1.2 → 4.1.3
Sign up to get free protection for your applications and to get access to all the features.
- package/deps/couchbase-cxx-client/.github/workflows/tests.yml +1 -1
- package/deps/couchbase-cxx-client/.idea/misc.xml +1 -0
- package/deps/couchbase-cxx-client/CMakeLists.txt +209 -21
- package/deps/couchbase-cxx-client/CODE_OF_CONDUCT.md +4 -0
- package/deps/couchbase-cxx-client/CONTRIBUTING.md +35 -0
- package/deps/couchbase-cxx-client/bin/build-tests +7 -0
- package/deps/couchbase-cxx-client/bin/build-tests.rb +1 -0
- package/deps/couchbase-cxx-client/bin/run-tests +6 -0
- package/deps/couchbase-cxx-client/cmake/Documentation.cmake +35 -0
- package/deps/couchbase-cxx-client/core/analytics_scan_consistency.hxx +26 -0
- package/deps/couchbase-cxx-client/core/bucket.hxx +553 -0
- package/deps/couchbase-cxx-client/core/capella_ca.hxx +43 -0
- package/deps/couchbase-cxx-client/core/cluster.cxx +124 -0
- package/deps/couchbase-cxx-client/core/cluster.hxx +480 -0
- package/deps/couchbase-cxx-client/core/cluster_options.cxx +50 -0
- package/deps/couchbase-cxx-client/core/cluster_options.hxx +84 -0
- package/deps/couchbase-cxx-client/core/config_profile.cxx +25 -0
- package/deps/couchbase-cxx-client/core/config_profile.hxx +92 -0
- package/deps/couchbase-cxx-client/core/crypto/CMakeLists.txt +12 -0
- package/deps/couchbase-cxx-client/core/crypto/cbcrypto.cc +897 -0
- package/deps/couchbase-cxx-client/core/crypto/cbcrypto.h +88 -0
- package/deps/couchbase-cxx-client/core/design_document_namespace.hxx +26 -0
- package/deps/couchbase-cxx-client/core/design_document_namespace_fmt.hxx +47 -0
- package/deps/couchbase-cxx-client/core/diagnostics.hxx +97 -0
- package/deps/couchbase-cxx-client/core/diagnostics_fmt.hxx +113 -0
- package/deps/couchbase-cxx-client/core/diagnostics_json.hxx +100 -0
- package/deps/couchbase-cxx-client/core/document_id.cxx +102 -0
- package/deps/couchbase-cxx-client/core/document_id.hxx +119 -0
- package/deps/couchbase-cxx-client/core/document_id_fmt.hxx +37 -0
- package/deps/couchbase-cxx-client/core/error_context/analytics.hxx +51 -0
- package/deps/couchbase-cxx-client/core/error_context/http.hxx +47 -0
- package/deps/couchbase-cxx-client/core/error_context/key_value.cxx +58 -0
- package/deps/couchbase-cxx-client/core/error_context/key_value.hxx +83 -0
- package/deps/couchbase-cxx-client/core/error_context/query.hxx +51 -0
- package/deps/couchbase-cxx-client/core/error_context/search.hxx +50 -0
- package/deps/couchbase-cxx-client/core/error_context/view.hxx +51 -0
- package/deps/couchbase-cxx-client/core/impl/analytics_error_category.cxx +62 -0
- package/deps/couchbase-cxx-client/core/impl/append.cxx +84 -0
- package/deps/couchbase-cxx-client/core/impl/build_deferred_query_indexes.cxx +81 -0
- package/deps/couchbase-cxx-client/core/impl/common_error_category.cxx +87 -0
- package/deps/couchbase-cxx-client/core/impl/decrement.cxx +87 -0
- package/deps/couchbase-cxx-client/core/impl/expiry.cxx +99 -0
- package/deps/couchbase-cxx-client/core/impl/field_level_encryption_error_category.cxx +63 -0
- package/deps/couchbase-cxx-client/core/impl/get.cxx +66 -0
- package/deps/couchbase-cxx-client/core/impl/get_all_replicas.cxx +139 -0
- package/deps/couchbase-cxx-client/core/impl/get_all_replicas.hxx +79 -0
- package/deps/couchbase-cxx-client/core/impl/get_and_touch.cxx +48 -0
- package/deps/couchbase-cxx-client/core/impl/get_any_replica.cxx +134 -0
- package/deps/couchbase-cxx-client/core/impl/get_any_replica.hxx +76 -0
- package/deps/couchbase-cxx-client/core/impl/get_replica.cxx +44 -0
- package/deps/couchbase-cxx-client/core/impl/get_replica.hxx +52 -0
- package/deps/couchbase-cxx-client/core/impl/increment.cxx +87 -0
- package/deps/couchbase-cxx-client/core/impl/insert.cxx +89 -0
- package/deps/couchbase-cxx-client/core/impl/key_value_error_category.cxx +99 -0
- package/deps/couchbase-cxx-client/core/impl/lookup_in.cxx +67 -0
- package/deps/couchbase-cxx-client/core/impl/management_error_category.cxx +75 -0
- package/deps/couchbase-cxx-client/core/impl/mutate_in.cxx +125 -0
- package/deps/couchbase-cxx-client/core/impl/network_error_category.cxx +59 -0
- package/deps/couchbase-cxx-client/core/impl/observe_poll.cxx +355 -0
- package/deps/couchbase-cxx-client/core/impl/observe_poll.hxx +49 -0
- package/deps/couchbase-cxx-client/core/impl/observe_seqno.cxx +47 -0
- package/deps/couchbase-cxx-client/core/impl/observe_seqno.hxx +63 -0
- package/deps/couchbase-cxx-client/core/impl/prepend.cxx +84 -0
- package/deps/couchbase-cxx-client/core/impl/query_error_category.cxx +55 -0
- package/deps/couchbase-cxx-client/core/impl/remove.cxx +83 -0
- package/deps/couchbase-cxx-client/core/impl/replace.cxx +93 -0
- package/deps/couchbase-cxx-client/core/impl/search_error_category.cxx +51 -0
- package/deps/couchbase-cxx-client/core/impl/streaming_json_lexter_error_category.cxx +102 -0
- package/deps/couchbase-cxx-client/core/impl/subdoc/array_add_unique.cxx +36 -0
- package/deps/couchbase-cxx-client/core/impl/subdoc/array_append.cxx +37 -0
- package/deps/couchbase-cxx-client/core/impl/subdoc/array_insert.cxx +37 -0
- package/deps/couchbase-cxx-client/core/impl/subdoc/array_prepend.cxx +37 -0
- package/deps/couchbase-cxx-client/core/impl/subdoc/command.hxx +41 -0
- package/deps/couchbase-cxx-client/core/impl/subdoc/command_bundle.hxx +42 -0
- package/deps/couchbase-cxx-client/core/impl/subdoc/count.cxx +36 -0
- package/deps/couchbase-cxx-client/core/impl/subdoc/counter.cxx +37 -0
- package/deps/couchbase-cxx-client/core/impl/subdoc/exists.cxx +36 -0
- package/deps/couchbase-cxx-client/core/impl/subdoc/get.cxx +36 -0
- package/deps/couchbase-cxx-client/core/impl/subdoc/insert.cxx +36 -0
- package/deps/couchbase-cxx-client/core/impl/subdoc/join_values.cxx +56 -0
- package/deps/couchbase-cxx-client/core/impl/subdoc/join_values.hxx +27 -0
- package/deps/couchbase-cxx-client/core/impl/subdoc/lookup_in_macro.cxx +109 -0
- package/deps/couchbase-cxx-client/core/impl/subdoc/lookup_in_specs.cxx +42 -0
- package/deps/couchbase-cxx-client/core/impl/subdoc/mutate_in_macro.cxx +76 -0
- package/deps/couchbase-cxx-client/core/impl/subdoc/mutate_in_specs.cxx +42 -0
- package/deps/couchbase-cxx-client/core/impl/subdoc/opcode.hxx +47 -0
- package/deps/couchbase-cxx-client/core/impl/subdoc/path_flags.hxx +77 -0
- package/deps/couchbase-cxx-client/core/impl/subdoc/remove.cxx +36 -0
- package/deps/couchbase-cxx-client/core/impl/subdoc/replace.cxx +36 -0
- package/deps/couchbase-cxx-client/core/impl/subdoc/upsert.cxx +36 -0
- package/deps/couchbase-cxx-client/core/impl/touch.cxx +48 -0
- package/deps/couchbase-cxx-client/core/impl/upsert.cxx +91 -0
- package/deps/couchbase-cxx-client/core/impl/view_error_category.cxx +50 -0
- package/deps/couchbase-cxx-client/core/impl/with_legacy_durability.hxx +65 -0
- package/deps/couchbase-cxx-client/core/io/CMakeLists.txt +12 -0
- package/deps/couchbase-cxx-client/core/io/dns_client.hxx +218 -0
- package/deps/couchbase-cxx-client/core/io/dns_codec.hxx +206 -0
- package/deps/couchbase-cxx-client/core/io/dns_config.hxx +115 -0
- package/deps/couchbase-cxx-client/core/io/dns_message.hxx +555 -0
- package/deps/couchbase-cxx-client/core/io/http_command.hxx +178 -0
- package/deps/couchbase-cxx-client/core/io/http_context.hxx +40 -0
- package/deps/couchbase-cxx-client/core/io/http_message.hxx +116 -0
- package/deps/couchbase-cxx-client/core/io/http_parser.cxx +141 -0
- package/deps/couchbase-cxx-client/core/io/http_parser.hxx +55 -0
- package/deps/couchbase-cxx-client/core/io/http_session.hxx +551 -0
- package/deps/couchbase-cxx-client/core/io/http_session_manager.hxx +383 -0
- package/deps/couchbase-cxx-client/core/io/http_traits.hxx +38 -0
- package/deps/couchbase-cxx-client/core/io/ip_protocol.hxx +28 -0
- package/deps/couchbase-cxx-client/core/io/mcbp_command.hxx +305 -0
- package/deps/couchbase-cxx-client/core/io/mcbp_context.hxx +39 -0
- package/deps/couchbase-cxx-client/core/io/mcbp_message.cxx +39 -0
- package/deps/couchbase-cxx-client/core/io/mcbp_message.hxx +55 -0
- package/deps/couchbase-cxx-client/core/io/mcbp_parser.cxx +88 -0
- package/deps/couchbase-cxx-client/core/io/mcbp_parser.hxx +45 -0
- package/deps/couchbase-cxx-client/core/io/mcbp_session.hxx +1336 -0
- package/deps/couchbase-cxx-client/core/io/mcbp_traits.hxx +38 -0
- package/deps/couchbase-cxx-client/core/io/query_cache.hxx +71 -0
- package/deps/couchbase-cxx-client/core/io/retry_action.hxx +30 -0
- package/deps/couchbase-cxx-client/core/io/retry_context.hxx +38 -0
- package/deps/couchbase-cxx-client/core/io/retry_orchestrator.hxx +112 -0
- package/deps/couchbase-cxx-client/core/io/retry_reason.hxx +86 -0
- package/deps/couchbase-cxx-client/core/io/retry_strategy.hxx +152 -0
- package/deps/couchbase-cxx-client/core/io/streams.hxx +253 -0
- package/deps/couchbase-cxx-client/core/json_string.hxx +48 -0
- package/deps/couchbase-cxx-client/core/logger/CMakeLists.txt +9 -0
- package/deps/couchbase-cxx-client/core/logger/configuration.hxx +57 -0
- package/deps/couchbase-cxx-client/core/logger/custom_rotating_file_sink.cxx +157 -0
- package/deps/couchbase-cxx-client/{couchbase → core}/logger/custom_rotating_file_sink.hxx +0 -0
- package/deps/couchbase-cxx-client/core/logger/logger.cxx +340 -0
- package/deps/couchbase-cxx-client/core/logger/logger.hxx +242 -0
- package/deps/couchbase-cxx-client/core/management/analytics_dataset.hxx +30 -0
- package/deps/couchbase-cxx-client/core/management/analytics_index.hxx +30 -0
- package/deps/couchbase-cxx-client/core/management/analytics_link.hxx +22 -0
- package/deps/couchbase-cxx-client/core/management/analytics_link_azure_blob_external.cxx +68 -0
- package/deps/couchbase-cxx-client/core/management/analytics_link_azure_blob_external.hxx +76 -0
- package/deps/couchbase-cxx-client/core/management/analytics_link_azure_blob_external_json.hxx +52 -0
- package/deps/couchbase-cxx-client/core/management/analytics_link_couchbase_remote.cxx +105 -0
- package/deps/couchbase-cxx-client/core/management/analytics_link_couchbase_remote.hxx +107 -0
- package/deps/couchbase-cxx-client/core/management/analytics_link_couchbase_remote_json.hxx +63 -0
- package/deps/couchbase-cxx-client/core/management/analytics_link_s3_external.cxx +58 -0
- package/deps/couchbase-cxx-client/core/management/analytics_link_s3_external.hxx +69 -0
- package/deps/couchbase-cxx-client/core/management/analytics_link_s3_external_json.hxx +47 -0
- package/deps/couchbase-cxx-client/core/management/bucket_settings.hxx +134 -0
- package/deps/couchbase-cxx-client/core/management/bucket_settings_json.hxx +123 -0
- package/deps/couchbase-cxx-client/core/management/design_document.hxx +41 -0
- package/deps/couchbase-cxx-client/core/management/eventing_function.hxx +188 -0
- package/deps/couchbase-cxx-client/core/management/eventing_function_json.hxx +212 -0
- package/deps/couchbase-cxx-client/core/management/eventing_status.hxx +84 -0
- package/deps/couchbase-cxx-client/core/management/eventing_status_json.hxx +77 -0
- package/deps/couchbase-cxx-client/core/management/query_index.hxx +39 -0
- package/deps/couchbase-cxx-client/core/management/rbac.hxx +77 -0
- package/deps/couchbase-cxx-client/core/management/rbac_fmt.hxx +49 -0
- package/deps/couchbase-cxx-client/core/management/rbac_json.hxx +179 -0
- package/deps/couchbase-cxx-client/core/management/search_index.hxx +38 -0
- package/deps/couchbase-cxx-client/core/management/search_index_json.hxx +58 -0
- package/deps/couchbase-cxx-client/core/meta/CMakeLists.txt +15 -0
- package/deps/couchbase-cxx-client/core/meta/version.cxx +190 -0
- package/deps/couchbase-cxx-client/core/meta/version.hxx +45 -0
- package/deps/couchbase-cxx-client/core/metrics/CMakeLists.txt +10 -0
- package/deps/couchbase-cxx-client/core/metrics/logging_meter.cxx +194 -0
- package/deps/couchbase-cxx-client/core/metrics/logging_meter.hxx +74 -0
- package/deps/couchbase-cxx-client/core/metrics/logging_meter_options.hxx +28 -0
- package/deps/couchbase-cxx-client/core/metrics/meter.hxx +52 -0
- package/deps/couchbase-cxx-client/core/metrics/noop_meter.hxx +47 -0
- package/deps/couchbase-cxx-client/core/operations/document_analytics.cxx +221 -0
- package/deps/couchbase-cxx-client/core/operations/document_analytics.hxx +113 -0
- package/deps/couchbase-cxx-client/core/operations/document_append.cxx +45 -0
- package/deps/couchbase-cxx-client/core/operations/document_append.hxx +78 -0
- package/deps/couchbase-cxx-client/core/operations/document_decrement.cxx +53 -0
- package/deps/couchbase-cxx-client/core/operations/document_decrement.hxx +81 -0
- package/deps/couchbase-cxx-client/core/operations/document_exists.cxx +50 -0
- package/deps/couchbase-cxx-client/core/operations/document_exists.hxx +72 -0
- package/deps/couchbase-cxx-client/core/operations/document_get.cxx +44 -0
- package/deps/couchbase-cxx-client/core/operations/document_get.hxx +62 -0
- package/deps/couchbase-cxx-client/core/operations/document_get_all_replicas.hxx +143 -0
- package/deps/couchbase-cxx-client/core/operations/document_get_and_lock.cxx +45 -0
- package/deps/couchbase-cxx-client/core/operations/document_get_and_lock.hxx +64 -0
- package/deps/couchbase-cxx-client/core/operations/document_get_and_touch.cxx +45 -0
- package/deps/couchbase-cxx-client/core/operations/document_get_and_touch.hxx +65 -0
- package/deps/couchbase-cxx-client/core/operations/document_get_any_replica.hxx +133 -0
- package/deps/couchbase-cxx-client/core/operations/document_get_projected.cxx +237 -0
- package/deps/couchbase-cxx-client/core/operations/document_get_projected.hxx +68 -0
- package/deps/couchbase-cxx-client/core/operations/document_increment.cxx +53 -0
- package/deps/couchbase-cxx-client/core/operations/document_increment.hxx +81 -0
- package/deps/couchbase-cxx-client/core/operations/document_insert.cxx +51 -0
- package/deps/couchbase-cxx-client/core/operations/document_insert.hxx +80 -0
- package/deps/couchbase-cxx-client/core/operations/document_lookup_in.cxx +97 -0
- package/deps/couchbase-cxx-client/core/operations/document_lookup_in.hxx +77 -0
- package/deps/couchbase-cxx-client/core/operations/document_mutate_in.cxx +117 -0
- package/deps/couchbase-cxx-client/core/operations/document_mutate_in.hxx +95 -0
- package/deps/couchbase-cxx-client/core/operations/document_prepend.cxx +45 -0
- package/deps/couchbase-cxx-client/core/operations/document_prepend.hxx +78 -0
- package/deps/couchbase-cxx-client/core/operations/document_query.cxx +385 -0
- package/deps/couchbase-cxx-client/core/operations/document_query.hxx +129 -0
- package/deps/couchbase-cxx-client/core/operations/document_remove.cxx +45 -0
- package/deps/couchbase-cxx-client/core/operations/document_remove.hxx +78 -0
- package/deps/couchbase-cxx-client/core/operations/document_replace.cxx +55 -0
- package/deps/couchbase-cxx-client/core/operations/document_replace.hxx +82 -0
- package/deps/couchbase-cxx-client/core/operations/document_search.cxx +312 -0
- package/deps/couchbase-cxx-client/core/operations/document_search.hxx +163 -0
- package/deps/couchbase-cxx-client/core/operations/document_touch.cxx +43 -0
- package/deps/couchbase-cxx-client/core/operations/document_touch.hxx +61 -0
- package/deps/couchbase-cxx-client/core/operations/document_unlock.cxx +43 -0
- package/deps/couchbase-cxx-client/core/operations/document_unlock.hxx +61 -0
- package/deps/couchbase-cxx-client/core/operations/document_upsert.cxx +54 -0
- package/deps/couchbase-cxx-client/core/operations/document_upsert.hxx +81 -0
- package/deps/couchbase-cxx-client/core/operations/document_view.cxx +197 -0
- package/deps/couchbase-cxx-client/core/operations/document_view.hxx +109 -0
- package/deps/couchbase-cxx-client/core/operations/http_noop.cxx +64 -0
- package/deps/couchbase-cxx-client/core/operations/http_noop.hxx +48 -0
- package/deps/couchbase-cxx-client/core/operations/management/CMakeLists.txt +79 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics.hxx +34 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_dataset_create.cxx +93 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_dataset_create.hxx +57 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_dataset_drop.cxx +82 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_dataset_drop.hxx +54 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_dataset_get_all.cxx +78 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_dataset_get_all.hxx +52 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_dataverse_create.cxx +81 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_dataverse_create.hxx +53 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_dataverse_drop.cxx +81 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_dataverse_drop.hxx +53 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_get_pending_mutations.cxx +69 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_get_pending_mutations.hxx +52 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_index_create.cxx +105 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_index_create.hxx +56 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_index_drop.cxx +89 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_index_drop.hxx +55 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_index_get_all.cxx +79 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_index_get_all.hxx +52 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_link_connect.cxx +81 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_link_connect.hxx +57 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_link_create.cxx +86 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_link_create.hxx +77 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_link_disconnect.cxx +79 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_link_disconnect.hxx +56 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_link_drop.cxx +102 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_link_drop.hxx +56 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_link_get_all.cxx +128 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_link_get_all.hxx +63 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_link_replace.cxx +86 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_link_replace.hxx +78 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_link_utils.hxx +37 -0
- package/deps/couchbase-cxx-client/core/operations/management/analytics_problem.hxx +30 -0
- package/deps/couchbase-cxx-client/core/operations/management/bucket.hxx +25 -0
- package/deps/couchbase-cxx-client/core/operations/management/bucket_create.cxx +171 -0
- package/deps/couchbase-cxx-client/core/operations/management/bucket_create.hxx +52 -0
- package/deps/couchbase-cxx-client/core/operations/management/bucket_describe.cxx +66 -0
- package/deps/couchbase-cxx-client/core/operations/management/bucket_describe.hxx +61 -0
- package/deps/couchbase-cxx-client/core/operations/management/bucket_drop.cxx +51 -0
- package/deps/couchbase-cxx-client/core/operations/management/bucket_drop.hxx +49 -0
- package/deps/couchbase-cxx-client/core/operations/management/bucket_flush.cxx +58 -0
- package/deps/couchbase-cxx-client/core/operations/management/bucket_flush.hxx +49 -0
- package/deps/couchbase-cxx-client/core/operations/management/bucket_get.cxx +58 -0
- package/deps/couchbase-cxx-client/core/operations/management/bucket_get.hxx +51 -0
- package/deps/couchbase-cxx-client/core/operations/management/bucket_get_all.cxx +58 -0
- package/deps/couchbase-cxx-client/core/operations/management/bucket_get_all.hxx +49 -0
- package/deps/couchbase-cxx-client/core/operations/management/bucket_update.cxx +130 -0
- package/deps/couchbase-cxx-client/core/operations/management/bucket_update.hxx +52 -0
- package/deps/couchbase-cxx-client/core/operations/management/cluster_describe.cxx +89 -0
- package/deps/couchbase-cxx-client/core/operations/management/cluster_describe.hxx +72 -0
- package/deps/couchbase-cxx-client/core/operations/management/cluster_developer_preview_enable.cxx +43 -0
- package/deps/couchbase-cxx-client/core/operations/management/cluster_developer_preview_enable.hxx +48 -0
- package/deps/couchbase-cxx-client/core/operations/management/collection_create.cxx +82 -0
- package/deps/couchbase-cxx-client/core/operations/management/collection_create.hxx +53 -0
- package/deps/couchbase-cxx-client/core/operations/management/collection_drop.cxx +72 -0
- package/deps/couchbase-cxx-client/core/operations/management/collection_drop.hxx +52 -0
- package/deps/couchbase-cxx-client/core/operations/management/collections.hxx +25 -0
- package/deps/couchbase-cxx-client/core/operations/management/collections_manifest_get.cxx +40 -0
- package/deps/couchbase-cxx-client/core/operations/management/collections_manifest_get.hxx +53 -0
- package/deps/couchbase-cxx-client/core/operations/management/error_utils.cxx +267 -0
- package/deps/couchbase-cxx-client/core/operations/management/error_utils.hxx +49 -0
- package/deps/couchbase-cxx-client/core/operations/management/eventing.hxx +28 -0
- package/deps/couchbase-cxx-client/core/operations/management/eventing_deploy_function.cxx +55 -0
- package/deps/couchbase-cxx-client/core/operations/management/eventing_deploy_function.hxx +52 -0
- package/deps/couchbase-cxx-client/core/operations/management/eventing_drop_function.cxx +56 -0
- package/deps/couchbase-cxx-client/core/operations/management/eventing_drop_function.hxx +52 -0
- package/deps/couchbase-cxx-client/core/operations/management/eventing_get_all_functions.cxx +63 -0
- package/deps/couchbase-cxx-client/core/operations/management/eventing_get_all_functions.hxx +51 -0
- package/deps/couchbase-cxx-client/core/operations/management/eventing_get_function.cxx +55 -0
- package/deps/couchbase-cxx-client/core/operations/management/eventing_get_function.hxx +53 -0
- package/deps/couchbase-cxx-client/core/operations/management/eventing_get_status.cxx +55 -0
- package/deps/couchbase-cxx-client/core/operations/management/eventing_get_status.hxx +53 -0
- package/deps/couchbase-cxx-client/core/operations/management/eventing_pause_function.cxx +55 -0
- package/deps/couchbase-cxx-client/core/operations/management/eventing_pause_function.hxx +52 -0
- package/deps/couchbase-cxx-client/core/operations/management/eventing_problem.hxx +31 -0
- package/deps/couchbase-cxx-client/core/operations/management/eventing_resume_function.cxx +55 -0
- package/deps/couchbase-cxx-client/core/operations/management/eventing_resume_function.hxx +52 -0
- package/deps/couchbase-cxx-client/core/operations/management/eventing_undeploy_function.cxx +55 -0
- package/deps/couchbase-cxx-client/core/operations/management/eventing_undeploy_function.hxx +52 -0
- package/deps/couchbase-cxx-client/core/operations/management/eventing_upsert_function.cxx +340 -0
- package/deps/couchbase-cxx-client/core/operations/management/eventing_upsert_function.hxx +52 -0
- package/deps/couchbase-cxx-client/core/operations/management/freeform.cxx +54 -0
- package/deps/couchbase-cxx-client/core/operations/management/freeform.hxx +55 -0
- package/deps/couchbase-cxx-client/core/operations/management/group_drop.cxx +50 -0
- package/deps/couchbase-cxx-client/core/operations/management/group_drop.hxx +49 -0
- package/deps/couchbase-cxx-client/core/operations/management/group_get.cxx +59 -0
- package/deps/couchbase-cxx-client/core/operations/management/group_get.hxx +50 -0
- package/deps/couchbase-cxx-client/core/operations/management/group_get_all.cxx +57 -0
- package/deps/couchbase-cxx-client/core/operations/management/group_get_all.hxx +49 -0
- package/deps/couchbase-cxx-client/core/operations/management/group_upsert.cxx +95 -0
- package/deps/couchbase-cxx-client/core/operations/management/group_upsert.hxx +51 -0
- package/deps/couchbase-cxx-client/core/operations/management/query.hxx +25 -0
- package/deps/couchbase-cxx-client/core/operations/management/query_index_build.cxx +93 -0
- package/deps/couchbase-cxx-client/core/operations/management/query_index_build.hxx +60 -0
- package/deps/couchbase-cxx-client/core/operations/management/query_index_build_deferred.hxx +107 -0
- package/deps/couchbase-cxx-client/core/operations/management/query_index_create.cxx +148 -0
- package/deps/couchbase-cxx-client/core/operations/management/query_index_create.hxx +65 -0
- package/deps/couchbase-cxx-client/core/operations/management/query_index_drop.cxx +128 -0
- package/deps/couchbase-cxx-client/core/operations/management/query_index_drop.hxx +61 -0
- package/deps/couchbase-cxx-client/core/operations/management/query_index_get_all.cxx +125 -0
- package/deps/couchbase-cxx-client/core/operations/management/query_index_get_all.hxx +54 -0
- package/deps/couchbase-cxx-client/core/operations/management/query_index_get_all_deferred.cxx +79 -0
- package/deps/couchbase-cxx-client/core/operations/management/query_index_get_all_deferred.hxx +55 -0
- package/deps/couchbase-cxx-client/core/operations/management/role_get_all.cxx +57 -0
- package/deps/couchbase-cxx-client/core/operations/management/role_get_all.hxx +49 -0
- package/deps/couchbase-cxx-client/core/operations/management/scope_create.cxx +74 -0
- package/deps/couchbase-cxx-client/core/operations/management/scope_create.hxx +51 -0
- package/deps/couchbase-cxx-client/core/operations/management/scope_drop.cxx +69 -0
- package/deps/couchbase-cxx-client/core/operations/management/scope_drop.hxx +51 -0
- package/deps/couchbase-cxx-client/core/operations/management/scope_get_all.cxx +61 -0
- package/deps/couchbase-cxx-client/core/operations/management/scope_get_all.hxx +51 -0
- package/deps/couchbase-cxx-client/core/operations/management/search.hxx +30 -0
- package/deps/couchbase-cxx-client/core/operations/management/search_get_stats.cxx +41 -0
- package/deps/couchbase-cxx-client/core/operations/management/search_get_stats.hxx +48 -0
- package/deps/couchbase-cxx-client/core/operations/management/search_index_analyze_document.cxx +84 -0
- package/deps/couchbase-cxx-client/core/operations/management/search_index_analyze_document.hxx +54 -0
- package/deps/couchbase-cxx-client/core/operations/management/search_index_control_ingest.cxx +72 -0
- package/deps/couchbase-cxx-client/core/operations/management/search_index_control_ingest.hxx +52 -0
- package/deps/couchbase-cxx-client/core/operations/management/search_index_control_plan_freeze.cxx +72 -0
- package/deps/couchbase-cxx-client/core/operations/management/search_index_control_plan_freeze.hxx +57 -0
- package/deps/couchbase-cxx-client/core/operations/management/search_index_control_query.cxx +72 -0
- package/deps/couchbase-cxx-client/core/operations/management/search_index_control_query.hxx +52 -0
- package/deps/couchbase-cxx-client/core/operations/management/search_index_drop.cxx +71 -0
- package/deps/couchbase-cxx-client/core/operations/management/search_index_drop.hxx +51 -0
- package/deps/couchbase-cxx-client/core/operations/management/search_index_get.cxx +74 -0
- package/deps/couchbase-cxx-client/core/operations/management/search_index_get.hxx +54 -0
- package/deps/couchbase-cxx-client/core/operations/management/search_index_get_all.cxx +66 -0
- package/deps/couchbase-cxx-client/core/operations/management/search_index_get_all.hxx +51 -0
- package/deps/couchbase-cxx-client/core/operations/management/search_index_get_documents_count.cxx +78 -0
- package/deps/couchbase-cxx-client/core/operations/management/search_index_get_documents_count.hxx +53 -0
- package/deps/couchbase-cxx-client/core/operations/management/search_index_get_stats.cxx +70 -0
- package/deps/couchbase-cxx-client/core/operations/management/search_index_get_stats.hxx +52 -0
- package/deps/couchbase-cxx-client/core/operations/management/search_index_upsert.cxx +114 -0
- package/deps/couchbase-cxx-client/core/operations/management/search_index_upsert.hxx +54 -0
- package/deps/couchbase-cxx-client/core/operations/management/user.hxx +28 -0
- package/deps/couchbase-cxx-client/core/operations/management/user_drop.cxx +51 -0
- package/deps/couchbase-cxx-client/core/operations/management/user_drop.hxx +51 -0
- package/deps/couchbase-cxx-client/core/operations/management/user_get.cxx +60 -0
- package/deps/couchbase-cxx-client/core/operations/management/user_get.hxx +52 -0
- package/deps/couchbase-cxx-client/core/operations/management/user_get_all.cxx +58 -0
- package/deps/couchbase-cxx-client/core/operations/management/user_get_all.hxx +51 -0
- package/deps/couchbase-cxx-client/core/operations/management/user_upsert.cxx +100 -0
- package/deps/couchbase-cxx-client/core/operations/management/user_upsert.hxx +52 -0
- package/deps/couchbase-cxx-client/core/operations/management/view.hxx +23 -0
- package/deps/couchbase-cxx-client/core/operations/management/view_index_drop.cxx +45 -0
- package/deps/couchbase-cxx-client/core/operations/management/view_index_drop.hxx +52 -0
- package/deps/couchbase-cxx-client/core/operations/management/view_index_get.cxx +73 -0
- package/deps/couchbase-cxx-client/core/operations/management/view_index_get.hxx +53 -0
- package/deps/couchbase-cxx-client/core/operations/management/view_index_get_all.cxx +107 -0
- package/deps/couchbase-cxx-client/core/operations/management/view_index_get_all.hxx +52 -0
- package/deps/couchbase-cxx-client/core/operations/management/view_index_upsert.cxx +70 -0
- package/deps/couchbase-cxx-client/core/operations/management/view_index_upsert.hxx +51 -0
- package/deps/couchbase-cxx-client/core/operations/mcbp_noop.cxx +38 -0
- package/deps/couchbase-cxx-client/core/operations/mcbp_noop.hxx +49 -0
- package/deps/couchbase-cxx-client/core/operations/operation_traits.hxx +31 -0
- package/deps/couchbase-cxx-client/core/operations.hxx +44 -0
- package/deps/couchbase-cxx-client/core/origin.hxx +195 -0
- package/deps/couchbase-cxx-client/core/platform/CMakeLists.txt +16 -0
- package/deps/couchbase-cxx-client/core/platform/backtrace.c +189 -0
- package/deps/couchbase-cxx-client/{couchbase → core}/platform/backtrace.h +0 -0
- package/deps/couchbase-cxx-client/core/platform/base64.cc +234 -0
- package/deps/couchbase-cxx-client/core/platform/base64.h +44 -0
- package/deps/couchbase-cxx-client/core/platform/dirutils.cc +123 -0
- package/deps/couchbase-cxx-client/core/platform/dirutils.h +43 -0
- package/deps/couchbase-cxx-client/core/platform/random.cc +120 -0
- package/deps/couchbase-cxx-client/core/platform/random.h +39 -0
- package/deps/couchbase-cxx-client/core/platform/string_hex.cc +101 -0
- package/deps/couchbase-cxx-client/core/platform/string_hex.h +50 -0
- package/deps/couchbase-cxx-client/core/platform/terminate_handler.cc +125 -0
- package/deps/couchbase-cxx-client/core/platform/terminate_handler.h +36 -0
- package/deps/couchbase-cxx-client/core/platform/uuid.cc +98 -0
- package/deps/couchbase-cxx-client/core/platform/uuid.h +56 -0
- package/deps/couchbase-cxx-client/core/protocol/client_opcode.hxx +359 -0
- package/deps/couchbase-cxx-client/core/protocol/client_opcode_fmt.hxx +316 -0
- package/deps/couchbase-cxx-client/core/protocol/client_request.cxx +38 -0
- package/deps/couchbase-cxx-client/core/protocol/client_request.hxx +168 -0
- package/deps/couchbase-cxx-client/core/protocol/client_response.cxx +75 -0
- package/deps/couchbase-cxx-client/core/protocol/client_response.hxx +210 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_append.cxx +74 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_append.hxx +107 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_cluster_map_change_notification.cxx +53 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_cluster_map_change_notification.hxx +57 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_decrement.cxx +96 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_decrement.hxx +130 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_get.cxx +59 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_get.hxx +96 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_get_and_lock.cxx +66 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_get_and_lock.hxx +112 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_get_and_touch.cxx +66 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_get_and_touch.hxx +112 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_get_cluster_config.cxx +85 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_get_cluster_config.hxx +89 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_get_collection_id.cxx +60 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_get_collection_id.hxx +95 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_get_collections_manifest.cxx +51 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_get_collections_manifest.hxx +84 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_get_error_map.cxx +61 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_get_error_map.hxx +103 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_get_meta.cxx +70 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_get_meta.hxx +117 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_get_replica.cxx +71 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_get_replica.hxx +88 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_hello.cxx +76 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_hello.hxx +136 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_increment.cxx +98 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_increment.hxx +130 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_info.hxx +29 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_insert.cxx +83 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_insert.hxx +124 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_lookup_in.cxx +108 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_lookup_in.hxx +139 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_mutate_in.cxx +163 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_mutate_in.hxx +216 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_noop.cxx +36 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_noop.hxx +75 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_observe_seqno.cxx +92 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_observe_seqno.hxx +132 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_prepend.cxx +73 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_prepend.hxx +103 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_remove.cxx +74 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_remove.hxx +94 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_replace.cxx +92 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_replace.hxx +131 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_sasl_auth.cxx +61 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_sasl_auth.hxx +91 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_sasl_list_mechs.cxx +53 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_sasl_list_mechs.hxx +82 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_sasl_step.cxx +61 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_sasl_step.hxx +91 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_select_bucket.cxx +45 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_select_bucket.hxx +79 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_touch.cxx +53 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_touch.hxx +84 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_unlock.cxx +44 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_unlock.hxx +81 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_upsert.cxx +92 -0
- package/deps/couchbase-cxx-client/core/protocol/cmd_upsert.hxx +126 -0
- package/deps/couchbase-cxx-client/core/protocol/datatype.hxx +48 -0
- package/deps/couchbase-cxx-client/core/protocol/enhanced_error_info.hxx +23 -0
- package/deps/couchbase-cxx-client/core/protocol/frame_info_id.hxx +142 -0
- package/deps/couchbase-cxx-client/core/protocol/frame_info_id_fmt.hxx +79 -0
- package/deps/couchbase-cxx-client/core/protocol/frame_info_utils.cxx +59 -0
- package/deps/couchbase-cxx-client/core/protocol/frame_info_utils.hxx +52 -0
- package/deps/couchbase-cxx-client/core/protocol/hello_feature.hxx +186 -0
- package/deps/couchbase-cxx-client/core/protocol/hello_feature_fmt.hxx +106 -0
- package/deps/couchbase-cxx-client/core/protocol/magic.hxx +53 -0
- package/deps/couchbase-cxx-client/core/protocol/magic_fmt.hxx +58 -0
- package/deps/couchbase-cxx-client/core/protocol/server_opcode.hxx +39 -0
- package/deps/couchbase-cxx-client/core/protocol/server_opcode_fmt.hxx +46 -0
- package/deps/couchbase-cxx-client/core/protocol/server_request.hxx +121 -0
- package/deps/couchbase-cxx-client/core/protocol/status.cxx +187 -0
- package/deps/couchbase-cxx-client/core/protocol/status.hxx +112 -0
- package/deps/couchbase-cxx-client/core/query_profile_mode.hxx +27 -0
- package/deps/couchbase-cxx-client/core/query_scan_consistency.hxx +23 -0
- package/deps/couchbase-cxx-client/core/sasl/CMakeLists.txt +16 -0
- package/deps/couchbase-cxx-client/core/sasl/client.cc +50 -0
- package/deps/couchbase-cxx-client/core/sasl/client.h +127 -0
- package/deps/couchbase-cxx-client/core/sasl/context.cc +34 -0
- package/deps/couchbase-cxx-client/core/sasl/context.h +52 -0
- package/deps/couchbase-cxx-client/core/sasl/error.h +28 -0
- package/deps/couchbase-cxx-client/core/sasl/error_fmt.h +70 -0
- package/deps/couchbase-cxx-client/core/sasl/mechanism.cc +45 -0
- package/deps/couchbase-cxx-client/core/sasl/mechanism.h +52 -0
- package/deps/couchbase-cxx-client/core/sasl/plain/plain.cc +39 -0
- package/deps/couchbase-cxx-client/core/sasl/plain/plain.h +54 -0
- package/deps/couchbase-cxx-client/core/sasl/scram-sha/scram-sha.cc +372 -0
- package/deps/couchbase-cxx-client/core/sasl/scram-sha/scram-sha.h +184 -0
- package/deps/couchbase-cxx-client/core/sasl/scram-sha/stringutils.cc +82 -0
- package/deps/couchbase-cxx-client/core/sasl/scram-sha/stringutils.h +48 -0
- package/deps/couchbase-cxx-client/core/search_highlight_style.hxx +23 -0
- package/deps/couchbase-cxx-client/core/search_scan_consistency.hxx +23 -0
- package/deps/couchbase-cxx-client/core/service_type.hxx +31 -0
- package/deps/couchbase-cxx-client/core/service_type_fmt.hxx +61 -0
- package/deps/couchbase-cxx-client/core/timeout_defaults.hxx +43 -0
- package/deps/couchbase-cxx-client/core/topology/capabilities.hxx +43 -0
- package/deps/couchbase-cxx-client/core/topology/capabilities_fmt.hxx +106 -0
- package/deps/couchbase-cxx-client/core/topology/collections_manifest.hxx +43 -0
- package/deps/couchbase-cxx-client/core/topology/collections_manifest_fmt.hxx +52 -0
- package/deps/couchbase-cxx-client/core/topology/collections_manifest_json.hxx +53 -0
- package/deps/couchbase-cxx-client/core/topology/configuration.cxx +223 -0
- package/deps/couchbase-cxx-client/core/topology/configuration.hxx +127 -0
- package/deps/couchbase-cxx-client/core/topology/configuration_fmt.hxx +166 -0
- package/deps/couchbase-cxx-client/core/topology/configuration_json.hxx +259 -0
- package/deps/couchbase-cxx-client/core/topology/error_map.hxx +35 -0
- package/deps/couchbase-cxx-client/core/topology/error_map_fmt.hxx +94 -0
- package/deps/couchbase-cxx-client/core/topology/error_map_json.hxx +89 -0
- package/deps/couchbase-cxx-client/core/tracing/CMakeLists.txt +9 -0
- package/deps/couchbase-cxx-client/core/tracing/constants.hxx +274 -0
- package/deps/couchbase-cxx-client/core/tracing/noop_tracer.hxx +55 -0
- package/deps/couchbase-cxx-client/core/tracing/request_tracer.hxx +79 -0
- package/deps/couchbase-cxx-client/core/tracing/threshold_logging_options.hxx +68 -0
- package/deps/couchbase-cxx-client/core/tracing/threshold_logging_tracer.cxx +422 -0
- package/deps/couchbase-cxx-client/core/tracing/threshold_logging_tracer.hxx +49 -0
- package/deps/couchbase-cxx-client/core/utils/binary.cxx +27 -0
- package/deps/couchbase-cxx-client/core/utils/binary.hxx +57 -0
- package/deps/couchbase-cxx-client/core/utils/byteswap.hxx +49 -0
- package/deps/couchbase-cxx-client/core/utils/connection_string.cxx +420 -0
- package/deps/couchbase-cxx-client/core/utils/connection_string.hxx +76 -0
- package/deps/couchbase-cxx-client/core/utils/crc32.hxx +49 -0
- package/deps/couchbase-cxx-client/core/utils/duration_parser.cxx +193 -0
- package/deps/couchbase-cxx-client/core/utils/duration_parser.hxx +45 -0
- package/deps/couchbase-cxx-client/core/utils/join_strings.hxx +65 -0
- package/deps/couchbase-cxx-client/core/utils/json.cxx +286 -0
- package/deps/couchbase-cxx-client/core/utils/json.hxx +43 -0
- package/deps/couchbase-cxx-client/core/utils/json_stream_control.hxx +32 -0
- package/deps/couchbase-cxx-client/core/utils/json_streaming_lexer.cxx +398 -0
- package/deps/couchbase-cxx-client/core/utils/json_streaming_lexer.hxx +59 -0
- package/deps/couchbase-cxx-client/core/utils/movable_function.hxx +110 -0
- package/deps/couchbase-cxx-client/core/utils/mutation_token.cxx +33 -0
- package/deps/couchbase-cxx-client/core/utils/mutation_token.hxx +29 -0
- package/deps/couchbase-cxx-client/core/utils/name_codec.hxx +41 -0
- package/deps/couchbase-cxx-client/core/utils/unsigned_leb128.hxx +181 -0
- package/deps/couchbase-cxx-client/core/utils/url_codec.cxx +404 -0
- package/deps/couchbase-cxx-client/core/utils/url_codec.hxx +72 -0
- package/deps/couchbase-cxx-client/core/view_on_error.hxx +27 -0
- package/deps/couchbase-cxx-client/core/view_scan_consistency.hxx +27 -0
- package/deps/couchbase-cxx-client/core/view_sort_order.hxx +23 -0
- package/deps/couchbase-cxx-client/couchbase/append_options.hxx +123 -0
- package/deps/couchbase-cxx-client/couchbase/binary_collection.hxx +327 -0
- package/deps/couchbase-cxx-client/couchbase/bucket.hxx +55 -494
- package/deps/couchbase-cxx-client/couchbase/build_query_index_options.hxx +132 -0
- package/deps/couchbase-cxx-client/couchbase/cas.hxx +74 -8
- package/deps/couchbase-cxx-client/couchbase/cluster.hxx +49 -405
- package/deps/couchbase-cxx-client/couchbase/codec/codec_flags.hxx +145 -0
- package/deps/couchbase-cxx-client/couchbase/codec/encoded_value.hxx +31 -0
- package/deps/couchbase-cxx-client/couchbase/codec/json_transcoder.hxx +87 -0
- package/deps/couchbase-cxx-client/couchbase/codec/raw_binary_transcoder.hxx +53 -0
- package/deps/couchbase-cxx-client/couchbase/codec/transcoder_traits.hxx +31 -0
- package/deps/couchbase-cxx-client/couchbase/collection.hxx +847 -0
- package/deps/couchbase-cxx-client/couchbase/common_durability_options.hxx +108 -0
- package/deps/couchbase-cxx-client/couchbase/common_options.hxx +92 -0
- package/deps/couchbase-cxx-client/couchbase/counter_result.hxx +73 -0
- package/deps/couchbase-cxx-client/couchbase/decrement_options.hxx +165 -0
- package/deps/couchbase-cxx-client/couchbase/durability_level.hxx +64 -0
- package/deps/couchbase-cxx-client/couchbase/error_codes.hxx +1104 -0
- package/deps/couchbase-cxx-client/couchbase/error_context.hxx +173 -0
- package/deps/couchbase-cxx-client/couchbase/expiry.hxx +55 -0
- package/deps/couchbase-cxx-client/couchbase/fmt/cas.hxx +37 -0
- package/deps/couchbase-cxx-client/couchbase/fmt/durability_level.hxx +52 -0
- package/deps/couchbase-cxx-client/couchbase/fmt/key_value_extended_error_info.hxx +46 -0
- package/deps/couchbase-cxx-client/couchbase/fmt/key_value_status_code.hxx +242 -0
- package/deps/couchbase-cxx-client/couchbase/fmt/mutation_token.hxx +38 -0
- package/deps/couchbase-cxx-client/couchbase/fmt/retry_reason.hxx +103 -0
- package/deps/couchbase-cxx-client/couchbase/get_all_replicas_options.hxx +102 -0
- package/deps/couchbase-cxx-client/couchbase/get_and_touch_options.hxx +94 -0
- package/deps/couchbase-cxx-client/couchbase/get_any_replica_options.hxx +93 -0
- package/deps/couchbase-cxx-client/couchbase/get_options.hxx +116 -0
- package/deps/couchbase-cxx-client/couchbase/get_replica_result.hxx +117 -0
- package/deps/couchbase-cxx-client/couchbase/get_result.hxx +126 -0
- package/deps/couchbase-cxx-client/couchbase/increment_options.hxx +165 -0
- package/deps/couchbase-cxx-client/couchbase/insert_options.hxx +135 -0
- package/deps/couchbase-cxx-client/couchbase/key_value_error_context.hxx +224 -0
- package/deps/couchbase-cxx-client/couchbase/key_value_error_map_attribute.hxx +124 -0
- package/deps/couchbase-cxx-client/couchbase/key_value_error_map_info.hxx +138 -0
- package/deps/couchbase-cxx-client/couchbase/key_value_extended_error_info.hxx +86 -0
- package/deps/couchbase-cxx-client/couchbase/key_value_status_code.hxx +93 -0
- package/deps/couchbase-cxx-client/couchbase/lookup_in_options.hxx +117 -0
- package/deps/couchbase-cxx-client/couchbase/lookup_in_result.hxx +254 -0
- package/deps/couchbase-cxx-client/couchbase/lookup_in_specs.hxx +146 -0
- package/deps/couchbase-cxx-client/couchbase/manager_error_context.hxx +136 -0
- package/deps/couchbase-cxx-client/couchbase/metrics/otel_meter.hxx +131 -0
- package/deps/couchbase-cxx-client/couchbase/mutate_in_options.hxx +234 -0
- package/deps/couchbase-cxx-client/couchbase/mutate_in_result.hxx +173 -0
- package/deps/couchbase-cxx-client/couchbase/mutate_in_specs.hxx +528 -0
- package/deps/couchbase-cxx-client/couchbase/mutation_result.hxx +73 -0
- package/deps/couchbase-cxx-client/couchbase/mutation_token.hxx +93 -6
- package/deps/couchbase-cxx-client/couchbase/persist_to.hxx +73 -0
- package/deps/couchbase-cxx-client/couchbase/prepend_options.hxx +123 -0
- package/deps/couchbase-cxx-client/couchbase/query_index_manager.hxx +82 -0
- package/deps/couchbase-cxx-client/couchbase/remove_options.hxx +122 -0
- package/deps/couchbase-cxx-client/couchbase/replace_options.hxx +183 -0
- package/deps/couchbase-cxx-client/couchbase/replicate_to.hxx +55 -0
- package/deps/couchbase-cxx-client/couchbase/result.hxx +66 -0
- package/deps/couchbase-cxx-client/couchbase/retry_reason.hxx +101 -0
- package/deps/couchbase-cxx-client/couchbase/scope.hxx +101 -0
- package/deps/couchbase-cxx-client/couchbase/store_semantics.hxx +63 -0
- package/deps/couchbase-cxx-client/couchbase/subdoc/array_add_unique.hxx +105 -0
- package/deps/couchbase-cxx-client/couchbase/subdoc/array_append.hxx +89 -0
- package/deps/couchbase-cxx-client/couchbase/subdoc/array_insert.hxx +90 -0
- package/deps/couchbase-cxx-client/couchbase/subdoc/array_prepend.hxx +90 -0
- package/deps/couchbase-cxx-client/couchbase/subdoc/count.hxx +70 -0
- package/deps/couchbase-cxx-client/couchbase/subdoc/counter.hxx +88 -0
- package/deps/couchbase-cxx-client/couchbase/subdoc/exists.hxx +70 -0
- package/deps/couchbase-cxx-client/couchbase/subdoc/fwd/command.hxx +25 -0
- package/deps/couchbase-cxx-client/couchbase/subdoc/fwd/command_bundle.hxx +25 -0
- package/deps/couchbase-cxx-client/couchbase/subdoc/get.hxx +78 -0
- package/deps/couchbase-cxx-client/couchbase/subdoc/insert.hxx +105 -0
- package/deps/couchbase-cxx-client/couchbase/subdoc/lookup_in_macro.hxx +65 -0
- package/deps/couchbase-cxx-client/couchbase/subdoc/mutate_in_macro.hxx +54 -0
- package/deps/couchbase-cxx-client/couchbase/subdoc/remove.hxx +70 -0
- package/deps/couchbase-cxx-client/couchbase/subdoc/replace.hxx +89 -0
- package/deps/couchbase-cxx-client/couchbase/subdoc/upsert.hxx +105 -0
- package/deps/couchbase-cxx-client/couchbase/subdocument_error_context.hxx +144 -0
- package/deps/couchbase-cxx-client/couchbase/touch_options.hxx +94 -0
- package/deps/couchbase-cxx-client/couchbase/tracing/otel_tracer.hxx +85 -0
- package/deps/couchbase-cxx-client/couchbase/upsert_options.hxx +157 -0
- package/deps/couchbase-cxx-client/docs/Doxyfile.in +2663 -0
- package/deps/couchbase-cxx-client/docs/doxygen-awesome.css +2137 -0
- package/deps/couchbase-cxx-client/docs/mainpage.hxx +35 -0
- package/deps/couchbase-cxx-client/docs/stability.hxx +68 -0
- package/deps/couchbase-cxx-client/test/CMakeLists.txt +6 -0
- package/deps/couchbase-cxx-client/test/benchmark_integration_get.cxx +5 -6
- package/deps/couchbase-cxx-client/test/profile.hxx +62 -0
- package/deps/couchbase-cxx-client/test/test_helper.hxx +3 -0
- package/deps/couchbase-cxx-client/test/test_helper_integration.hxx +1 -1
- package/deps/couchbase-cxx-client/test/test_integration_analytics.cxx +64 -63
- package/deps/couchbase-cxx-client/test/test_integration_arithmetic.cxx +119 -20
- package/deps/couchbase-cxx-client/test/test_integration_binary_operations.cxx +26 -38
- package/deps/couchbase-cxx-client/test/test_integration_collections.cxx +39 -39
- package/deps/couchbase-cxx-client/test/test_integration_connect.cxx +19 -19
- package/deps/couchbase-cxx-client/test/test_integration_crud.cxx +197 -182
- package/deps/couchbase-cxx-client/test/test_integration_diagnostics.cxx +75 -76
- package/deps/couchbase-cxx-client/test/test_integration_durability.cxx +171 -26
- package/deps/couchbase-cxx-client/test/test_integration_management.cxx +632 -573
- package/deps/couchbase-cxx-client/test/test_integration_meter.cxx +180 -0
- package/deps/couchbase-cxx-client/test/test_integration_query.cxx +114 -71
- package/deps/couchbase-cxx-client/test/test_integration_read_replica.cxx +232 -0
- package/deps/couchbase-cxx-client/test/test_integration_subdoc.cxx +336 -297
- package/deps/couchbase-cxx-client/test/test_integration_tracer.cxx +304 -0
- package/deps/couchbase-cxx-client/test/test_integration_transcoders.cxx +574 -0
- package/deps/couchbase-cxx-client/test/test_unit_config_profiles.cxx +132 -0
- package/deps/couchbase-cxx-client/test/test_unit_connection_string.cxx +166 -165
- package/deps/couchbase-cxx-client/test/test_unit_json_streaming_lexer.cxx +19 -18
- package/deps/couchbase-cxx-client/test/test_unit_json_transcoder.cxx +210 -0
- package/deps/couchbase-cxx-client/test/test_unit_jsonsl.cxx +1 -1
- package/deps/couchbase-cxx-client/test/test_unit_utils.cxx +23 -21
- package/deps/couchbase-cxx-client/test/tools/tool_kv_loader.cxx +31 -27
- package/deps/couchbase-cxx-client/test/utils/CMakeLists.txt +1 -0
- package/deps/couchbase-cxx-client/test/utils/binary.cxx +27 -0
- package/deps/couchbase-cxx-client/test/utils/binary.hxx +27 -0
- package/deps/couchbase-cxx-client/test/utils/integration_shortcuts.cxx +6 -6
- package/deps/couchbase-cxx-client/test/utils/integration_shortcuts.hxx +7 -8
- package/deps/couchbase-cxx-client/test/utils/integration_test_guard.cxx +27 -12
- package/deps/couchbase-cxx-client/test/utils/integration_test_guard.hxx +16 -15
- package/deps/couchbase-cxx-client/test/utils/logger.cxx +5 -3
- package/deps/couchbase-cxx-client/test/utils/logger.hxx +1 -1
- package/deps/couchbase-cxx-client/test/utils/server_version.hxx +1 -1
- package/deps/couchbase-cxx-client/test/utils/test_context.hxx +3 -3
- package/deps/couchbase-cxx-client/test/utils/wait_until.cxx +4 -4
- package/deps/couchbase-cxx-client/test/utils/wait_until.hxx +5 -5
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/.github/workflows/tests.yml +1 -1
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/.idea/misc.xml +1 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/CMakeLists.txt +208 -21
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/CODE_OF_CONDUCT.md +4 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/CONTRIBUTING.md +35 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/bin/build-tests +7 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/bin/build-tests.rb +1 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/bin/run-tests +6 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/cmake/Documentation.cmake +35 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/analytics_scan_consistency.hxx +26 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/bucket.hxx +553 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/capella_ca.hxx +43 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/cluster.cxx +124 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/cluster.hxx +476 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/cluster_options.cxx +45 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/cluster_options.hxx +82 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/crypto/CMakeLists.txt +12 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/crypto/cbcrypto.cc +897 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/crypto/cbcrypto.h +88 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/design_document_namespace.hxx +26 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/design_document_namespace_fmt.hxx +47 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/diagnostics.hxx +97 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/diagnostics_fmt.hxx +113 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/diagnostics_json.hxx +100 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/document_id.cxx +102 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/document_id.hxx +119 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/document_id_fmt.hxx +37 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/error_context/analytics.hxx +51 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/error_context/http.hxx +47 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/error_context/key_value.cxx +58 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/error_context/key_value.hxx +83 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/error_context/query.hxx +51 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/error_context/search.hxx +50 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/error_context/view.hxx +51 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/analytics_error_category.cxx +62 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/append.cxx +84 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/build_deferred_query_indexes.cxx +81 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/common_error_category.cxx +87 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/decrement.cxx +87 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/expiry.cxx +99 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/field_level_encryption_error_category.cxx +63 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/get.cxx +66 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/get_all_replicas.cxx +139 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/get_all_replicas.hxx +79 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/get_and_touch.cxx +48 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/get_any_replica.cxx +134 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/get_any_replica.hxx +76 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/get_replica.cxx +44 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/get_replica.hxx +52 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/increment.cxx +87 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/insert.cxx +89 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/key_value_error_category.cxx +99 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/lookup_in.cxx +67 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/management_error_category.cxx +75 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/mutate_in.cxx +125 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/network_error_category.cxx +59 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/observe_poll.cxx +355 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/observe_poll.hxx +48 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/observe_seqno.cxx +47 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/observe_seqno.hxx +63 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/prepend.cxx +84 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/query_error_category.cxx +55 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/remove.cxx +83 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/replace.cxx +93 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/search_error_category.cxx +51 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/streaming_json_lexter_error_category.cxx +102 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/array_add_unique.cxx +36 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/array_append.cxx +37 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/array_insert.cxx +37 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/array_prepend.cxx +37 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/command.hxx +41 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/command_bundle.hxx +42 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/count.cxx +36 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/counter.cxx +37 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/exists.cxx +36 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/get.cxx +36 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/insert.cxx +36 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/join_values.cxx +56 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/join_values.hxx +27 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/lookup_in_macro.cxx +109 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/lookup_in_specs.cxx +42 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/mutate_in_macro.cxx +76 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/mutate_in_specs.cxx +42 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/opcode.hxx +47 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/path_flags.hxx +77 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/remove.cxx +36 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/replace.cxx +36 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/subdoc/upsert.cxx +36 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/touch.cxx +48 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/upsert.cxx +91 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/view_error_category.cxx +50 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/impl/with_legacy_durability.hxx +65 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/CMakeLists.txt +12 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/dns_client.hxx +218 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/dns_codec.hxx +206 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/dns_config.hxx +115 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/dns_message.hxx +555 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/http_command.hxx +178 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/http_context.hxx +40 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/http_message.hxx +116 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/http_parser.cxx +141 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/http_parser.hxx +55 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/http_session.hxx +551 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/http_session_manager.hxx +383 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/http_traits.hxx +38 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/ip_protocol.hxx +28 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/mcbp_command.hxx +305 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/mcbp_context.hxx +39 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/mcbp_message.cxx +39 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/mcbp_message.hxx +55 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/mcbp_parser.cxx +88 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/mcbp_parser.hxx +45 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/mcbp_session.hxx +1336 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/mcbp_traits.hxx +38 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/query_cache.hxx +71 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/retry_action.hxx +30 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/retry_context.hxx +38 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/retry_orchestrator.hxx +112 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/retry_reason.hxx +86 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/retry_strategy.hxx +152 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/io/streams.hxx +253 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/json_string.hxx +48 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/logger/CMakeLists.txt +9 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/logger/configuration.hxx +57 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/logger/custom_rotating_file_sink.cxx +157 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/{couchbase → core}/logger/custom_rotating_file_sink.hxx +0 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/logger/logger.cxx +340 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/logger/logger.hxx +242 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/analytics_dataset.hxx +30 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/analytics_index.hxx +30 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/analytics_link.hxx +22 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/analytics_link_azure_blob_external.cxx +68 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/analytics_link_azure_blob_external.hxx +76 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/analytics_link_azure_blob_external_json.hxx +52 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/analytics_link_couchbase_remote.cxx +105 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/analytics_link_couchbase_remote.hxx +107 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/analytics_link_couchbase_remote_json.hxx +63 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/analytics_link_s3_external.cxx +58 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/analytics_link_s3_external.hxx +69 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/analytics_link_s3_external_json.hxx +47 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/bucket_settings.hxx +134 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/bucket_settings_json.hxx +123 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/design_document.hxx +41 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/eventing_function.hxx +188 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/eventing_function_json.hxx +212 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/eventing_status.hxx +84 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/eventing_status_json.hxx +77 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/query_index.hxx +39 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/rbac.hxx +77 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/rbac_fmt.hxx +49 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/rbac_json.hxx +179 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/search_index.hxx +38 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/management/search_index_json.hxx +58 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/meta/CMakeLists.txt +15 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/meta/version.cxx +190 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/meta/version.hxx +45 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/metrics/CMakeLists.txt +10 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/metrics/logging_meter.cxx +194 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/metrics/logging_meter.hxx +74 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/metrics/logging_meter_options.hxx +28 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/metrics/meter.hxx +52 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/metrics/noop_meter.hxx +47 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_analytics.cxx +221 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_analytics.hxx +113 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_append.cxx +45 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_append.hxx +78 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_decrement.cxx +53 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_decrement.hxx +81 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_exists.cxx +50 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_exists.hxx +72 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_get.cxx +44 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_get.hxx +62 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_get_all_replicas.hxx +143 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_get_and_lock.cxx +45 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_get_and_lock.hxx +64 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_get_and_touch.cxx +45 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_get_and_touch.hxx +65 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_get_any_replica.hxx +133 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_get_projected.cxx +237 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_get_projected.hxx +68 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_increment.cxx +53 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_increment.hxx +81 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_insert.cxx +51 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_insert.hxx +80 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_lookup_in.cxx +97 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_lookup_in.hxx +77 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_mutate_in.cxx +117 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_mutate_in.hxx +95 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_prepend.cxx +45 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_prepend.hxx +78 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_query.cxx +385 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_query.hxx +129 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_remove.cxx +45 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_remove.hxx +78 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_replace.cxx +55 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_replace.hxx +82 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_search.cxx +312 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_search.hxx +163 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_touch.cxx +43 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_touch.hxx +61 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_unlock.cxx +43 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_unlock.hxx +61 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_upsert.cxx +54 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_upsert.hxx +81 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_view.cxx +197 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/document_view.hxx +109 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/http_noop.cxx +64 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/http_noop.hxx +48 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/CMakeLists.txt +79 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics.hxx +34 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_dataset_create.cxx +93 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_dataset_create.hxx +57 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_dataset_drop.cxx +82 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_dataset_drop.hxx +54 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_dataset_get_all.cxx +78 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_dataset_get_all.hxx +52 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_dataverse_create.cxx +81 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_dataverse_create.hxx +53 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_dataverse_drop.cxx +81 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_dataverse_drop.hxx +53 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_get_pending_mutations.cxx +69 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_get_pending_mutations.hxx +52 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_index_create.cxx +105 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_index_create.hxx +56 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_index_drop.cxx +89 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_index_drop.hxx +55 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_index_get_all.cxx +79 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_index_get_all.hxx +52 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_link_connect.cxx +81 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_link_connect.hxx +57 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_link_create.cxx +86 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_link_create.hxx +77 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_link_disconnect.cxx +79 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_link_disconnect.hxx +56 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_link_drop.cxx +102 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_link_drop.hxx +56 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_link_get_all.cxx +128 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_link_get_all.hxx +63 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_link_replace.cxx +86 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_link_replace.hxx +78 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_link_utils.hxx +37 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/analytics_problem.hxx +30 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/bucket.hxx +25 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/bucket_create.cxx +171 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/bucket_create.hxx +52 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/bucket_describe.cxx +66 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/bucket_describe.hxx +61 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/bucket_drop.cxx +51 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/bucket_drop.hxx +49 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/bucket_flush.cxx +58 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/bucket_flush.hxx +49 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/bucket_get.cxx +58 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/bucket_get.hxx +51 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/bucket_get_all.cxx +58 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/bucket_get_all.hxx +49 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/bucket_update.cxx +130 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/bucket_update.hxx +52 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/cluster_describe.cxx +89 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/cluster_describe.hxx +72 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/cluster_developer_preview_enable.cxx +43 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/cluster_developer_preview_enable.hxx +48 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/collection_create.cxx +82 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/collection_create.hxx +53 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/collection_drop.cxx +72 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/collection_drop.hxx +52 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/collections.hxx +25 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/collections_manifest_get.cxx +40 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/collections_manifest_get.hxx +53 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/error_utils.cxx +267 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/error_utils.hxx +49 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/eventing.hxx +28 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/eventing_deploy_function.cxx +55 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/eventing_deploy_function.hxx +52 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/eventing_drop_function.cxx +56 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/eventing_drop_function.hxx +52 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/eventing_get_all_functions.cxx +63 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/eventing_get_all_functions.hxx +51 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/eventing_get_function.cxx +55 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/eventing_get_function.hxx +53 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/eventing_get_status.cxx +55 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/eventing_get_status.hxx +53 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/eventing_pause_function.cxx +55 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/eventing_pause_function.hxx +52 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/eventing_problem.hxx +31 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/eventing_resume_function.cxx +55 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/eventing_resume_function.hxx +52 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/eventing_undeploy_function.cxx +55 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/eventing_undeploy_function.hxx +52 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/eventing_upsert_function.cxx +340 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/eventing_upsert_function.hxx +52 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/freeform.cxx +54 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/freeform.hxx +55 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/group_drop.cxx +50 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/group_drop.hxx +49 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/group_get.cxx +59 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/group_get.hxx +50 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/group_get_all.cxx +57 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/group_get_all.hxx +49 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/group_upsert.cxx +95 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/group_upsert.hxx +51 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/query.hxx +24 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/query_index_build.cxx +93 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/query_index_build.hxx +60 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/query_index_create.cxx +148 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/query_index_create.hxx +65 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/query_index_drop.cxx +128 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/query_index_drop.hxx +61 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/query_index_get_all.cxx +125 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/query_index_get_all.hxx +54 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/query_index_get_all_deferred.cxx +79 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/query_index_get_all_deferred.hxx +55 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/role_get_all.cxx +57 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/role_get_all.hxx +49 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/scope_create.cxx +74 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/scope_create.hxx +51 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/scope_drop.cxx +69 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/scope_drop.hxx +51 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/scope_get_all.cxx +61 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/scope_get_all.hxx +51 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search.hxx +30 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_get_stats.cxx +41 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_get_stats.hxx +48 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_index_analyze_document.cxx +84 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_index_analyze_document.hxx +54 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_index_control_ingest.cxx +72 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_index_control_ingest.hxx +52 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_index_control_plan_freeze.cxx +72 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_index_control_plan_freeze.hxx +57 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_index_control_query.cxx +72 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_index_control_query.hxx +52 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_index_drop.cxx +71 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_index_drop.hxx +51 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_index_get.cxx +74 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_index_get.hxx +54 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_index_get_all.cxx +66 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_index_get_all.hxx +51 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_index_get_documents_count.cxx +78 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_index_get_documents_count.hxx +53 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_index_get_stats.cxx +70 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_index_get_stats.hxx +52 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_index_upsert.cxx +114 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/search_index_upsert.hxx +54 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/user.hxx +28 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/user_drop.cxx +51 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/user_drop.hxx +51 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/user_get.cxx +60 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/user_get.hxx +52 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/user_get_all.cxx +58 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/user_get_all.hxx +51 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/user_upsert.cxx +100 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/user_upsert.hxx +52 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/view.hxx +23 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/view_index_drop.cxx +45 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/view_index_drop.hxx +52 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/view_index_get.cxx +73 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/view_index_get.hxx +53 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/view_index_get_all.cxx +107 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/view_index_get_all.hxx +52 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/view_index_upsert.cxx +70 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/management/view_index_upsert.hxx +51 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/mcbp_noop.cxx +38 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/mcbp_noop.hxx +49 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations/operation_traits.hxx +31 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/operations.hxx +44 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/origin.hxx +195 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/platform/CMakeLists.txt +16 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/platform/backtrace.c +189 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/{couchbase → core}/platform/backtrace.h +0 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/platform/base64.cc +234 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/platform/base64.h +44 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/platform/dirutils.cc +123 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/platform/dirutils.h +43 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/platform/random.cc +120 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/platform/random.h +39 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/platform/string_hex.cc +101 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/platform/string_hex.h +50 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/platform/terminate_handler.cc +125 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/platform/terminate_handler.h +36 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/platform/uuid.cc +98 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/platform/uuid.h +56 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/client_opcode.hxx +359 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/client_opcode_fmt.hxx +316 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/client_request.cxx +38 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/client_request.hxx +168 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/client_response.cxx +75 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/client_response.hxx +210 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_append.cxx +74 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_append.hxx +107 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_cluster_map_change_notification.cxx +53 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_cluster_map_change_notification.hxx +57 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_decrement.cxx +96 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_decrement.hxx +130 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_get.cxx +59 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_get.hxx +96 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_get_and_lock.cxx +66 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_get_and_lock.hxx +112 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_get_and_touch.cxx +66 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_get_and_touch.hxx +112 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_get_cluster_config.cxx +85 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_get_cluster_config.hxx +89 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_get_collection_id.cxx +60 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_get_collection_id.hxx +95 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_get_collections_manifest.cxx +51 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_get_collections_manifest.hxx +84 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_get_error_map.cxx +61 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_get_error_map.hxx +103 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_get_meta.cxx +70 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_get_meta.hxx +117 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_get_replica.cxx +71 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_get_replica.hxx +88 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_hello.cxx +76 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_hello.hxx +136 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_increment.cxx +98 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_increment.hxx +130 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_info.hxx +29 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_insert.cxx +83 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_insert.hxx +124 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_lookup_in.cxx +108 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_lookup_in.hxx +139 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_mutate_in.cxx +163 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_mutate_in.hxx +216 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_noop.cxx +36 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_noop.hxx +75 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_observe_seqno.cxx +92 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_observe_seqno.hxx +132 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_prepend.cxx +73 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_prepend.hxx +103 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_remove.cxx +74 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_remove.hxx +94 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_replace.cxx +92 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_replace.hxx +131 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_sasl_auth.cxx +61 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_sasl_auth.hxx +91 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_sasl_list_mechs.cxx +53 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_sasl_list_mechs.hxx +82 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_sasl_step.cxx +61 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_sasl_step.hxx +91 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_select_bucket.cxx +45 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_select_bucket.hxx +79 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_touch.cxx +53 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_touch.hxx +84 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_unlock.cxx +44 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_unlock.hxx +81 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_upsert.cxx +92 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/cmd_upsert.hxx +126 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/datatype.hxx +48 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/enhanced_error_info.hxx +23 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/frame_info_id.hxx +142 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/frame_info_id_fmt.hxx +79 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/frame_info_utils.cxx +59 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/frame_info_utils.hxx +52 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/hello_feature.hxx +186 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/hello_feature_fmt.hxx +106 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/magic.hxx +53 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/magic_fmt.hxx +58 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/server_opcode.hxx +39 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/server_opcode_fmt.hxx +46 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/server_request.hxx +121 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/status.cxx +187 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/protocol/status.hxx +112 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/query_profile_mode.hxx +27 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/query_scan_consistency.hxx +23 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/sasl/CMakeLists.txt +16 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/sasl/client.cc +50 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/sasl/client.h +127 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/sasl/context.cc +34 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/sasl/context.h +52 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/sasl/error.h +28 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/sasl/error_fmt.h +70 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/sasl/mechanism.cc +45 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/sasl/mechanism.h +52 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/sasl/plain/plain.cc +39 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/sasl/plain/plain.h +54 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/sasl/scram-sha/scram-sha.cc +372 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/sasl/scram-sha/scram-sha.h +184 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/sasl/scram-sha/stringutils.cc +82 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/sasl/scram-sha/stringutils.h +48 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/search_highlight_style.hxx +23 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/search_scan_consistency.hxx +23 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/service_type.hxx +31 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/service_type_fmt.hxx +61 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/timeout_defaults.hxx +43 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/topology/capabilities.hxx +43 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/topology/capabilities_fmt.hxx +106 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/topology/collections_manifest.hxx +43 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/topology/collections_manifest_fmt.hxx +52 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/topology/collections_manifest_json.hxx +53 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/topology/configuration.cxx +223 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/topology/configuration.hxx +127 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/topology/configuration_fmt.hxx +166 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/topology/configuration_json.hxx +259 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/topology/error_map.hxx +35 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/topology/error_map_fmt.hxx +94 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/topology/error_map_json.hxx +89 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/tracing/CMakeLists.txt +9 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/tracing/constants.hxx +274 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/tracing/noop_tracer.hxx +55 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/tracing/request_tracer.hxx +79 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/tracing/threshold_logging_options.hxx +68 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/tracing/threshold_logging_tracer.cxx +422 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/tracing/threshold_logging_tracer.hxx +49 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/binary.cxx +27 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/binary.hxx +57 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/byteswap.hxx +49 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/connection_string.cxx +420 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/connection_string.hxx +76 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/crc32.hxx +49 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/duration_parser.cxx +193 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/duration_parser.hxx +45 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/join_strings.hxx +65 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/json.cxx +286 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/json.hxx +43 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/json_stream_control.hxx +32 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/json_streaming_lexer.cxx +398 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/json_streaming_lexer.hxx +59 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/movable_function.hxx +110 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/mutation_token.cxx +33 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/mutation_token.hxx +29 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/name_codec.hxx +41 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/unsigned_leb128.hxx +181 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/url_codec.cxx +404 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/utils/url_codec.hxx +72 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/view_on_error.hxx +27 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/view_scan_consistency.hxx +27 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/core/view_sort_order.hxx +23 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/append_options.hxx +123 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/binary_collection.hxx +327 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/bucket.hxx +55 -494
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/build_query_index_options.hxx +132 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/cas.hxx +74 -8
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/cluster.hxx +49 -405
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/codec/codec_flags.hxx +145 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/codec/encoded_value.hxx +31 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/codec/json_transcoder.hxx +83 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/codec/raw_binary_transcoder.hxx +53 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/codec/transcoder_traits.hxx +31 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/collection.hxx +847 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/common_durability_options.hxx +108 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/common_options.hxx +92 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/counter_result.hxx +73 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/decrement_options.hxx +165 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/durability_level.hxx +64 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/error_codes.hxx +1104 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/error_context.hxx +173 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/expiry.hxx +55 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/fmt/cas.hxx +37 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/fmt/durability_level.hxx +52 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/fmt/key_value_extended_error_info.hxx +46 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/fmt/key_value_status_code.hxx +242 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/fmt/mutation_token.hxx +38 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/fmt/retry_reason.hxx +103 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/get_all_replicas_options.hxx +102 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/get_and_touch_options.hxx +94 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/get_any_replica_options.hxx +93 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/get_options.hxx +116 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/get_replica_result.hxx +117 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/get_result.hxx +126 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/increment_options.hxx +165 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/insert_options.hxx +135 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/key_value_error_context.hxx +224 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/key_value_error_map_attribute.hxx +124 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/key_value_error_map_info.hxx +138 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/key_value_extended_error_info.hxx +86 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/key_value_status_code.hxx +93 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/lookup_in_options.hxx +117 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/lookup_in_result.hxx +216 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/lookup_in_specs.hxx +146 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/manager_error_context.hxx +136 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/metrics/otel_meter.hxx +131 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/mutate_in_options.hxx +234 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/mutate_in_result.hxx +135 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/mutate_in_specs.hxx +528 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/mutation_result.hxx +73 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/mutation_token.hxx +93 -6
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/persist_to.hxx +73 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/prepend_options.hxx +123 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/query_index_manager.hxx +82 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/remove_options.hxx +122 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/replace_options.hxx +183 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/replicate_to.hxx +55 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/result.hxx +66 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/retry_reason.hxx +101 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/scope.hxx +101 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/store_semantics.hxx +63 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/subdoc/array_add_unique.hxx +105 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/subdoc/array_append.hxx +89 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/subdoc/array_insert.hxx +90 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/subdoc/array_prepend.hxx +90 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/subdoc/count.hxx +70 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/subdoc/counter.hxx +88 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/subdoc/exists.hxx +70 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/subdoc/fwd/command.hxx +25 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/subdoc/fwd/command_bundle.hxx +25 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/subdoc/get.hxx +78 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/subdoc/insert.hxx +105 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/subdoc/lookup_in_macro.hxx +65 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/subdoc/mutate_in_macro.hxx +54 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/subdoc/remove.hxx +70 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/subdoc/replace.hxx +89 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/subdoc/upsert.hxx +105 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/subdocument_error_context.hxx +144 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/touch_options.hxx +94 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/tracing/otel_tracer.hxx +85 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/upsert_options.hxx +157 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/docs/Doxyfile.in +2663 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/docs/doxygen-awesome.css +2137 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/docs/mainpage.hxx +35 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/docs/stability.hxx +68 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/CMakeLists.txt +5 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/benchmark_integration_get.cxx +6 -6
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/profile.hxx +62 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_helper.hxx +1 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_helper_integration.hxx +1 -1
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_integration_analytics.cxx +50 -49
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_integration_arithmetic.cxx +119 -20
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_integration_binary_operations.cxx +32 -38
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_integration_collections.cxx +34 -34
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_integration_connect.cxx +17 -17
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_integration_crud.cxx +201 -182
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_integration_diagnostics.cxx +74 -74
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_integration_durability.cxx +181 -26
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_integration_management.cxx +460 -418
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_integration_meter.cxx +180 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_integration_query.cxx +100 -51
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_integration_read_replica.cxx +234 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_integration_subdoc.cxx +334 -295
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_integration_tracer.cxx +304 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_integration_transcoders.cxx +531 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_unit_connection_string.cxx +166 -165
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_unit_json_streaming_lexer.cxx +14 -13
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_unit_json_transcoder.cxx +204 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_unit_jsonsl.cxx +1 -1
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_unit_utils.cxx +23 -21
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/tools/tool_kv_loader.cxx +31 -27
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/utils/CMakeLists.txt +1 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/utils/binary.cxx +27 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/utils/binary.hxx +27 -0
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/utils/integration_shortcuts.cxx +6 -6
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/utils/integration_shortcuts.hxx +7 -8
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/utils/integration_test_guard.cxx +27 -12
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/utils/integration_test_guard.hxx +16 -15
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/utils/logger.cxx +5 -3
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/utils/logger.hxx +1 -1
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/utils/server_version.hxx +1 -1
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/utils/test_context.hxx +3 -3
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/utils/wait_until.cxx +4 -4
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/utils/wait_until.hxx +5 -5
- package/deps/couchbase-transactions-cxx/examples/game_server.cxx +22 -22
- package/deps/couchbase-transactions-cxx/include/couchbase/transactions/async_attempt_context.hxx +9 -7
- package/deps/couchbase-transactions-cxx/include/couchbase/transactions/attempt_context.hxx +7 -7
- package/deps/couchbase-transactions-cxx/include/couchbase/transactions/internal/atr_cleanup_entry.hxx +3 -5
- package/deps/couchbase-transactions-cxx/include/couchbase/transactions/internal/doc_record.hxx +3 -3
- package/deps/couchbase-transactions-cxx/include/couchbase/transactions/internal/exceptions_internal.hxx +1 -0
- package/deps/couchbase-transactions-cxx/include/couchbase/transactions/internal/transaction_context.hxx +4 -4
- package/deps/couchbase-transactions-cxx/include/couchbase/transactions/internal/transactions_cleanup.hxx +10 -18
- package/deps/couchbase-transactions-cxx/include/couchbase/transactions/internal/utils.hxx +36 -37
- package/deps/couchbase-transactions-cxx/include/couchbase/transactions/per_transaction_config.hxx +5 -5
- package/deps/couchbase-transactions-cxx/include/couchbase/transactions/transaction_config.hxx +5 -5
- package/deps/couchbase-transactions-cxx/include/couchbase/transactions/transaction_get_result.hxx +8 -8
- package/deps/couchbase-transactions-cxx/include/couchbase/transactions/transaction_keyspace.hxx +2 -2
- package/deps/couchbase-transactions-cxx/include/couchbase/transactions/transaction_query_options.hxx +11 -10
- package/deps/couchbase-transactions-cxx/include/couchbase/transactions.hxx +8 -8
- package/deps/couchbase-transactions-cxx/src/transactions/active_transaction_record.cxx +2 -3
- package/deps/couchbase-transactions-cxx/src/transactions/active_transaction_record.hxx +27 -21
- package/deps/couchbase-transactions-cxx/src/transactions/atr_cleanup_entry.cxx +67 -51
- package/deps/couchbase-transactions-cxx/src/transactions/atr_ids.cxx +2 -2
- package/deps/couchbase-transactions-cxx/src/transactions/attempt_context_impl.cxx +199 -192
- package/deps/couchbase-transactions-cxx/src/transactions/attempt_context_impl.hxx +26 -26
- package/deps/couchbase-transactions-cxx/src/transactions/binary_utils.cxx +28 -0
- package/deps/couchbase-transactions-cxx/src/transactions/binary_utils.hxx +30 -0
- package/deps/couchbase-transactions-cxx/src/transactions/exceptions.cxx +11 -12
- package/deps/couchbase-transactions-cxx/src/transactions/logging.cxx +10 -10
- package/deps/couchbase-transactions-cxx/src/transactions/result.cxx +1 -1
- package/deps/couchbase-transactions-cxx/src/transactions/result.hxx +33 -13
- package/deps/couchbase-transactions-cxx/src/transactions/staged_mutation.cxx +54 -34
- package/deps/couchbase-transactions-cxx/src/transactions/staged_mutation.hxx +7 -7
- package/deps/couchbase-transactions-cxx/src/transactions/transaction_config.cxx +1 -1
- package/deps/couchbase-transactions-cxx/src/transactions/transaction_context.cxx +3 -3
- package/deps/couchbase-transactions-cxx/src/transactions/transaction_get_result.cxx +33 -29
- package/deps/couchbase-transactions-cxx/src/transactions/transaction_query_options.cxx +4 -4
- package/deps/couchbase-transactions-cxx/src/transactions/transactions.cxx +1 -1
- package/deps/couchbase-transactions-cxx/src/transactions/transactions_cleanup.cxx +50 -42
- package/deps/couchbase-transactions-cxx/src/transactions/uid_generator.cxx +4 -2
- package/deps/couchbase-transactions-cxx/tests/transactions/logging_t.cpp +16 -17
- package/deps/couchbase-transactions-cxx/tests/transactions/simple_async_t.cpp +21 -21
- package/deps/couchbase-transactions-cxx/tests/transactions/simple_t.cpp +4 -4
- package/deps/couchbase-transactions-cxx/tests/transactions/transaction_context_t.cpp +13 -13
- package/deps/couchbase-transactions-cxx/tests/transactions/transactions_env.h +35 -33
- package/deps/couchbase-transactions-cxx/tests/transactions/waitable_op_list_t.cpp +8 -5
- package/dist/analyticsexecutor.js +1 -1
- package/dist/authenticators.d.ts +18 -0
- package/dist/authenticators.js +15 -0
- package/dist/binarycollection.d.ts +48 -0
- package/dist/binding.d.ts +518 -295
- package/dist/binding.js +55 -40
- package/dist/bindingutilities.d.ts +16 -4
- package/dist/bindingutilities.js +208 -87
- package/dist/bucketmanager.d.ts +21 -21
- package/dist/bucketmanager.js +6 -5
- package/dist/cluster.d.ts +12 -0
- package/dist/cluster.js +38 -8
- package/dist/collection.d.ts +121 -1
- package/dist/collection.js +304 -53
- package/dist/configProfile.d.ts +69 -0
- package/dist/configProfile.js +80 -0
- package/dist/crudoptypes.d.ts +27 -0
- package/dist/crudoptypes.js +17 -1
- package/dist/errors.d.ts +16 -0
- package/dist/errors.js +24 -2
- package/dist/queryindexmanager.js +2 -2
- package/dist/streamablepromises.d.ts +8 -0
- package/dist/streamablepromises.js +23 -1
- package/package.json +1 -1
- package/src/binding.cpp +10 -10
- package/src/cas.cpp +2 -2
- package/src/connection.cpp +34 -9
- package/src/connection.hpp +18 -3
- package/src/connection_autogen.cpp +429 -232
- package/src/constants.cpp +736 -588
- package/src/instance.cpp +1 -1
- package/src/instance.hpp +2 -2
- package/src/jstocbpp_autogen.hpp +3250 -2192
- package/src/jstocbpp_basic.hpp +13 -12
- package/src/jstocbpp_errors.hpp +74 -42
- package/src/jstocbpp_transactions.hpp +27 -27
- package/src/mutationtoken.cpp +17 -20
- package/src/mutationtoken.hpp +1 -1
- package/src/transaction.cpp +30 -27
- package/src/transactions.hpp +1 -1
- package/tools/gen-bindings-js.js +43 -9
- package/tools/gen-bindings-json.py +159 -101
- package/deps/couchbase-cxx-client/couchbase/analytics_scan_consistency.hxx +0 -26
- package/deps/couchbase-cxx-client/couchbase/capella_ca.hxx +0 -43
- package/deps/couchbase-cxx-client/couchbase/cas_fmt.hxx +0 -37
- package/deps/couchbase-cxx-client/couchbase/cluster.cxx +0 -124
- package/deps/couchbase-cxx-client/couchbase/cluster_options.cxx +0 -45
- package/deps/couchbase-cxx-client/couchbase/cluster_options.hxx +0 -78
- package/deps/couchbase-cxx-client/couchbase/crypto/CMakeLists.txt +0 -12
- package/deps/couchbase-cxx-client/couchbase/crypto/cbcrypto.cc +0 -887
- package/deps/couchbase-cxx-client/couchbase/crypto/cbcrypto.h +0 -88
- package/deps/couchbase-cxx-client/couchbase/design_document_namespace.hxx +0 -26
- package/deps/couchbase-cxx-client/couchbase/design_document_namespace_fmt.hxx +0 -47
- package/deps/couchbase-cxx-client/couchbase/diagnostics.hxx +0 -97
- package/deps/couchbase-cxx-client/couchbase/diagnostics_fmt.hxx +0 -113
- package/deps/couchbase-cxx-client/couchbase/diagnostics_json.hxx +0 -100
- package/deps/couchbase-cxx-client/couchbase/document_id.cxx +0 -106
- package/deps/couchbase-cxx-client/couchbase/document_id.hxx +0 -107
- package/deps/couchbase-cxx-client/couchbase/document_id_fmt.hxx +0 -37
- package/deps/couchbase-cxx-client/couchbase/error_context/analytics.hxx +0 -51
- package/deps/couchbase-cxx-client/couchbase/error_context/http.hxx +0 -47
- package/deps/couchbase-cxx-client/couchbase/error_context/key_value.hxx +0 -50
- package/deps/couchbase-cxx-client/couchbase/error_context/query.hxx +0 -51
- package/deps/couchbase-cxx-client/couchbase/error_context/search.hxx +0 -50
- package/deps/couchbase-cxx-client/couchbase/error_context/view.hxx +0 -51
- package/deps/couchbase-cxx-client/couchbase/errors.hxx +0 -1038
- package/deps/couchbase-cxx-client/couchbase/io/CMakeLists.txt +0 -12
- package/deps/couchbase-cxx-client/couchbase/io/dns_client.hxx +0 -217
- package/deps/couchbase-cxx-client/couchbase/io/dns_codec.hxx +0 -206
- package/deps/couchbase-cxx-client/couchbase/io/dns_config.hxx +0 -115
- package/deps/couchbase-cxx-client/couchbase/io/dns_message.hxx +0 -555
- package/deps/couchbase-cxx-client/couchbase/io/http_command.hxx +0 -174
- package/deps/couchbase-cxx-client/couchbase/io/http_context.hxx +0 -40
- package/deps/couchbase-cxx-client/couchbase/io/http_message.hxx +0 -116
- package/deps/couchbase-cxx-client/couchbase/io/http_parser.cxx +0 -141
- package/deps/couchbase-cxx-client/couchbase/io/http_parser.hxx +0 -55
- package/deps/couchbase-cxx-client/couchbase/io/http_session.hxx +0 -548
- package/deps/couchbase-cxx-client/couchbase/io/http_session_manager.hxx +0 -381
- package/deps/couchbase-cxx-client/couchbase/io/http_traits.hxx +0 -30
- package/deps/couchbase-cxx-client/couchbase/io/ip_protocol.hxx +0 -28
- package/deps/couchbase-cxx-client/couchbase/io/mcbp_command.hxx +0 -300
- package/deps/couchbase-cxx-client/couchbase/io/mcbp_context.hxx +0 -39
- package/deps/couchbase-cxx-client/couchbase/io/mcbp_message.cxx +0 -39
- package/deps/couchbase-cxx-client/couchbase/io/mcbp_message.hxx +0 -55
- package/deps/couchbase-cxx-client/couchbase/io/mcbp_parser.cxx +0 -88
- package/deps/couchbase-cxx-client/couchbase/io/mcbp_parser.hxx +0 -45
- package/deps/couchbase-cxx-client/couchbase/io/mcbp_session.hxx +0 -1333
- package/deps/couchbase-cxx-client/couchbase/io/mcbp_traits.hxx +0 -30
- package/deps/couchbase-cxx-client/couchbase/io/query_cache.hxx +0 -61
- package/deps/couchbase-cxx-client/couchbase/io/retry_action.hxx +0 -30
- package/deps/couchbase-cxx-client/couchbase/io/retry_context.hxx +0 -38
- package/deps/couchbase-cxx-client/couchbase/io/retry_orchestrator.hxx +0 -112
- package/deps/couchbase-cxx-client/couchbase/io/retry_reason.hxx +0 -158
- package/deps/couchbase-cxx-client/couchbase/io/retry_reason_fmt.hxx +0 -103
- package/deps/couchbase-cxx-client/couchbase/io/retry_strategy.hxx +0 -152
- package/deps/couchbase-cxx-client/couchbase/io/streams.hxx +0 -253
- package/deps/couchbase-cxx-client/couchbase/json_string.hxx +0 -48
- package/deps/couchbase-cxx-client/couchbase/logger/CMakeLists.txt +0 -9
- package/deps/couchbase-cxx-client/couchbase/logger/configuration.hxx +0 -57
- package/deps/couchbase-cxx-client/couchbase/logger/custom_rotating_file_sink.cxx +0 -157
- package/deps/couchbase-cxx-client/couchbase/logger/logger.cxx +0 -340
- package/deps/couchbase-cxx-client/couchbase/logger/logger.hxx +0 -235
- package/deps/couchbase-cxx-client/couchbase/management/CMakeLists.txt +0 -13
- package/deps/couchbase-cxx-client/couchbase/management/analytics_dataset.hxx +0 -30
- package/deps/couchbase-cxx-client/couchbase/management/analytics_index.hxx +0 -30
- package/deps/couchbase-cxx-client/couchbase/management/analytics_link.hxx +0 -22
- package/deps/couchbase-cxx-client/couchbase/management/analytics_link_azure_blob_external.cxx +0 -67
- package/deps/couchbase-cxx-client/couchbase/management/analytics_link_azure_blob_external.hxx +0 -76
- package/deps/couchbase-cxx-client/couchbase/management/analytics_link_azure_blob_external_json.hxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/management/analytics_link_couchbase_remote.cxx +0 -104
- package/deps/couchbase-cxx-client/couchbase/management/analytics_link_couchbase_remote.hxx +0 -107
- package/deps/couchbase-cxx-client/couchbase/management/analytics_link_couchbase_remote_json.hxx +0 -63
- package/deps/couchbase-cxx-client/couchbase/management/analytics_link_s3_external.cxx +0 -57
- package/deps/couchbase-cxx-client/couchbase/management/analytics_link_s3_external.hxx +0 -69
- package/deps/couchbase-cxx-client/couchbase/management/analytics_link_s3_external_json.hxx +0 -47
- package/deps/couchbase-cxx-client/couchbase/management/bucket_settings.hxx +0 -134
- package/deps/couchbase-cxx-client/couchbase/management/bucket_settings_json.hxx +0 -123
- package/deps/couchbase-cxx-client/couchbase/management/design_document.hxx +0 -41
- package/deps/couchbase-cxx-client/couchbase/management/eventing_function.hxx +0 -188
- package/deps/couchbase-cxx-client/couchbase/management/eventing_function_json.hxx +0 -212
- package/deps/couchbase-cxx-client/couchbase/management/eventing_status.hxx +0 -84
- package/deps/couchbase-cxx-client/couchbase/management/eventing_status_json.hxx +0 -77
- package/deps/couchbase-cxx-client/couchbase/management/query_index.hxx +0 -39
- package/deps/couchbase-cxx-client/couchbase/management/rbac.hxx +0 -77
- package/deps/couchbase-cxx-client/couchbase/management/rbac_fmt.hxx +0 -49
- package/deps/couchbase-cxx-client/couchbase/management/rbac_json.hxx +0 -179
- package/deps/couchbase-cxx-client/couchbase/management/search_index.hxx +0 -38
- package/deps/couchbase-cxx-client/couchbase/management/search_index_json.hxx +0 -58
- package/deps/couchbase-cxx-client/couchbase/meta/CMakeLists.txt +0 -15
- package/deps/couchbase-cxx-client/couchbase/meta/version.cxx +0 -188
- package/deps/couchbase-cxx-client/couchbase/meta/version.hxx +0 -45
- package/deps/couchbase-cxx-client/couchbase/metrics/CMakeLists.txt +0 -11
- package/deps/couchbase-cxx-client/couchbase/metrics/logging_meter.cxx +0 -194
- package/deps/couchbase-cxx-client/couchbase/metrics/logging_meter.hxx +0 -74
- package/deps/couchbase-cxx-client/couchbase/metrics/logging_meter_options.hxx +0 -28
- package/deps/couchbase-cxx-client/couchbase/metrics/meter.hxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/metrics/noop_meter.hxx +0 -47
- package/deps/couchbase-cxx-client/couchbase/mutation_token_fmt.hxx +0 -37
- package/deps/couchbase-cxx-client/couchbase/operations/CMakeLists.txt +0 -35
- package/deps/couchbase-cxx-client/couchbase/operations/document_analytics.cxx +0 -195
- package/deps/couchbase-cxx-client/couchbase/operations/document_analytics.hxx +0 -92
- package/deps/couchbase-cxx-client/couchbase/operations/document_append.cxx +0 -46
- package/deps/couchbase-cxx-client/couchbase/operations/document_append.hxx +0 -63
- package/deps/couchbase-cxx-client/couchbase/operations/document_decrement.cxx +0 -54
- package/deps/couchbase-cxx-client/couchbase/operations/document_decrement.hxx +0 -66
- package/deps/couchbase-cxx-client/couchbase/operations/document_exists.cxx +0 -49
- package/deps/couchbase-cxx-client/couchbase/operations/document_exists.hxx +0 -61
- package/deps/couchbase-cxx-client/couchbase/operations/document_get.cxx +0 -44
- package/deps/couchbase-cxx-client/couchbase/operations/document_get.hxx +0 -53
- package/deps/couchbase-cxx-client/couchbase/operations/document_get_and_lock.cxx +0 -45
- package/deps/couchbase-cxx-client/couchbase/operations/document_get_and_lock.hxx +0 -54
- package/deps/couchbase-cxx-client/couchbase/operations/document_get_and_touch.cxx +0 -45
- package/deps/couchbase-cxx-client/couchbase/operations/document_get_and_touch.hxx +0 -54
- package/deps/couchbase-cxx-client/couchbase/operations/document_get_projected.cxx +0 -230
- package/deps/couchbase-cxx-client/couchbase/operations/document_get_projected.hxx +0 -58
- package/deps/couchbase-cxx-client/couchbase/operations/document_increment.cxx +0 -54
- package/deps/couchbase-cxx-client/couchbase/operations/document_increment.hxx +0 -66
- package/deps/couchbase-cxx-client/couchbase/operations/document_insert.cxx +0 -48
- package/deps/couchbase-cxx-client/couchbase/operations/document_insert.hxx +0 -65
- package/deps/couchbase-cxx-client/couchbase/operations/document_lookup_in.cxx +0 -81
- package/deps/couchbase-cxx-client/couchbase/operations/document_lookup_in.hxx +0 -64
- package/deps/couchbase-cxx-client/couchbase/operations/document_mutate_in.cxx +0 -104
- package/deps/couchbase-cxx-client/couchbase/operations/document_mutate_in.hxx +0 -82
- package/deps/couchbase-cxx-client/couchbase/operations/document_prepend.cxx +0 -46
- package/deps/couchbase-cxx-client/couchbase/operations/document_prepend.hxx +0 -63
- package/deps/couchbase-cxx-client/couchbase/operations/document_query.cxx +0 -382
- package/deps/couchbase-cxx-client/couchbase/operations/document_query.hxx +0 -123
- package/deps/couchbase-cxx-client/couchbase/operations/document_remove.cxx +0 -46
- package/deps/couchbase-cxx-client/couchbase/operations/document_remove.hxx +0 -63
- package/deps/couchbase-cxx-client/couchbase/operations/document_replace.cxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/operations/document_replace.hxx +0 -67
- package/deps/couchbase-cxx-client/couchbase/operations/document_search.cxx +0 -311
- package/deps/couchbase-cxx-client/couchbase/operations/document_search.hxx +0 -153
- package/deps/couchbase-cxx-client/couchbase/operations/document_touch.cxx +0 -43
- package/deps/couchbase-cxx-client/couchbase/operations/document_touch.hxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/operations/document_unlock.cxx +0 -43
- package/deps/couchbase-cxx-client/couchbase/operations/document_unlock.hxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/operations/document_upsert.cxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/operations/document_upsert.hxx +0 -66
- package/deps/couchbase-cxx-client/couchbase/operations/document_view.cxx +0 -186
- package/deps/couchbase-cxx-client/couchbase/operations/document_view.hxx +0 -98
- package/deps/couchbase-cxx-client/couchbase/operations/http_noop.cxx +0 -64
- package/deps/couchbase-cxx-client/couchbase/operations/http_noop.hxx +0 -48
- package/deps/couchbase-cxx-client/couchbase/operations/management/CMakeLists.txt +0 -79
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics.hxx +0 -34
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataset_create.cxx +0 -94
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataset_create.hxx +0 -57
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataset_drop.cxx +0 -83
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataset_drop.hxx +0 -54
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataset_get_all.cxx +0 -79
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataset_get_all.hxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataverse_create.cxx +0 -82
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataverse_create.hxx +0 -53
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataverse_drop.cxx +0 -82
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataverse_drop.hxx +0 -53
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_get_pending_mutations.cxx +0 -70
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_get_pending_mutations.hxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_index_create.cxx +0 -106
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_index_create.hxx +0 -56
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_index_drop.cxx +0 -90
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_index_drop.hxx +0 -55
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_index_get_all.cxx +0 -80
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_index_get_all.hxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_connect.cxx +0 -82
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_connect.hxx +0 -57
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_create.cxx +0 -87
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_create.hxx +0 -77
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_disconnect.cxx +0 -80
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_disconnect.hxx +0 -56
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_drop.cxx +0 -103
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_drop.hxx +0 -56
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_get_all.cxx +0 -129
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_get_all.hxx +0 -63
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_replace.cxx +0 -87
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_replace.hxx +0 -78
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_utils.hxx +0 -37
- package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_problem.hxx +0 -30
- package/deps/couchbase-cxx-client/couchbase/operations/management/bucket.hxx +0 -25
- package/deps/couchbase-cxx-client/couchbase/operations/management/bucket_create.cxx +0 -171
- package/deps/couchbase-cxx-client/couchbase/operations/management/bucket_create.hxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/operations/management/bucket_describe.cxx +0 -67
- package/deps/couchbase-cxx-client/couchbase/operations/management/bucket_describe.hxx +0 -61
- package/deps/couchbase-cxx-client/couchbase/operations/management/bucket_drop.cxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/operations/management/bucket_drop.hxx +0 -49
- package/deps/couchbase-cxx-client/couchbase/operations/management/bucket_flush.cxx +0 -59
- package/deps/couchbase-cxx-client/couchbase/operations/management/bucket_flush.hxx +0 -49
- package/deps/couchbase-cxx-client/couchbase/operations/management/bucket_get.cxx +0 -59
- package/deps/couchbase-cxx-client/couchbase/operations/management/bucket_get.hxx +0 -51
- package/deps/couchbase-cxx-client/couchbase/operations/management/bucket_get_all.cxx +0 -59
- package/deps/couchbase-cxx-client/couchbase/operations/management/bucket_get_all.hxx +0 -49
- package/deps/couchbase-cxx-client/couchbase/operations/management/bucket_update.cxx +0 -130
- package/deps/couchbase-cxx-client/couchbase/operations/management/bucket_update.hxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/operations/management/cluster_describe.cxx +0 -90
- package/deps/couchbase-cxx-client/couchbase/operations/management/cluster_describe.hxx +0 -72
- package/deps/couchbase-cxx-client/couchbase/operations/management/cluster_developer_preview_enable.cxx +0 -44
- package/deps/couchbase-cxx-client/couchbase/operations/management/cluster_developer_preview_enable.hxx +0 -48
- package/deps/couchbase-cxx-client/couchbase/operations/management/collection_create.cxx +0 -83
- package/deps/couchbase-cxx-client/couchbase/operations/management/collection_create.hxx +0 -53
- package/deps/couchbase-cxx-client/couchbase/operations/management/collection_drop.cxx +0 -73
- package/deps/couchbase-cxx-client/couchbase/operations/management/collection_drop.hxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/operations/management/collections.hxx +0 -25
- package/deps/couchbase-cxx-client/couchbase/operations/management/collections_manifest_get.cxx +0 -40
- package/deps/couchbase-cxx-client/couchbase/operations/management/collections_manifest_get.hxx +0 -53
- package/deps/couchbase-cxx-client/couchbase/operations/management/error_utils.cxx +0 -267
- package/deps/couchbase-cxx-client/couchbase/operations/management/error_utils.hxx +0 -48
- package/deps/couchbase-cxx-client/couchbase/operations/management/eventing.hxx +0 -28
- package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_deploy_function.cxx +0 -56
- package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_deploy_function.hxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_drop_function.cxx +0 -57
- package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_drop_function.hxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_get_all_functions.cxx +0 -64
- package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_get_all_functions.hxx +0 -51
- package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_get_function.cxx +0 -56
- package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_get_function.hxx +0 -53
- package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_get_status.cxx +0 -56
- package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_get_status.hxx +0 -53
- package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_pause_function.cxx +0 -56
- package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_pause_function.hxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_problem.hxx +0 -31
- package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_resume_function.cxx +0 -56
- package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_resume_function.hxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_undeploy_function.cxx +0 -56
- package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_undeploy_function.hxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_upsert_function.cxx +0 -341
- package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_upsert_function.hxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/operations/management/freeform.cxx +0 -55
- package/deps/couchbase-cxx-client/couchbase/operations/management/freeform.hxx +0 -55
- package/deps/couchbase-cxx-client/couchbase/operations/management/group_drop.cxx +0 -51
- package/deps/couchbase-cxx-client/couchbase/operations/management/group_drop.hxx +0 -49
- package/deps/couchbase-cxx-client/couchbase/operations/management/group_get.cxx +0 -60
- package/deps/couchbase-cxx-client/couchbase/operations/management/group_get.hxx +0 -50
- package/deps/couchbase-cxx-client/couchbase/operations/management/group_get_all.cxx +0 -58
- package/deps/couchbase-cxx-client/couchbase/operations/management/group_get_all.hxx +0 -49
- package/deps/couchbase-cxx-client/couchbase/operations/management/group_upsert.cxx +0 -96
- package/deps/couchbase-cxx-client/couchbase/operations/management/group_upsert.hxx +0 -51
- package/deps/couchbase-cxx-client/couchbase/operations/management/query.hxx +0 -23
- package/deps/couchbase-cxx-client/couchbase/operations/management/query_index_build_deferred.cxx +0 -88
- package/deps/couchbase-cxx-client/couchbase/operations/management/query_index_build_deferred.hxx +0 -61
- package/deps/couchbase-cxx-client/couchbase/operations/management/query_index_create.cxx +0 -149
- package/deps/couchbase-cxx-client/couchbase/operations/management/query_index_create.hxx +0 -65
- package/deps/couchbase-cxx-client/couchbase/operations/management/query_index_drop.cxx +0 -129
- package/deps/couchbase-cxx-client/couchbase/operations/management/query_index_drop.hxx +0 -61
- package/deps/couchbase-cxx-client/couchbase/operations/management/query_index_get_all.cxx +0 -126
- package/deps/couchbase-cxx-client/couchbase/operations/management/query_index_get_all.hxx +0 -54
- package/deps/couchbase-cxx-client/couchbase/operations/management/role_get_all.cxx +0 -58
- package/deps/couchbase-cxx-client/couchbase/operations/management/role_get_all.hxx +0 -49
- package/deps/couchbase-cxx-client/couchbase/operations/management/scope_create.cxx +0 -75
- package/deps/couchbase-cxx-client/couchbase/operations/management/scope_create.hxx +0 -51
- package/deps/couchbase-cxx-client/couchbase/operations/management/scope_drop.cxx +0 -70
- package/deps/couchbase-cxx-client/couchbase/operations/management/scope_drop.hxx +0 -51
- package/deps/couchbase-cxx-client/couchbase/operations/management/scope_get_all.cxx +0 -62
- package/deps/couchbase-cxx-client/couchbase/operations/management/scope_get_all.hxx +0 -51
- package/deps/couchbase-cxx-client/couchbase/operations/management/search.hxx +0 -30
- package/deps/couchbase-cxx-client/couchbase/operations/management/search_get_stats.cxx +0 -41
- package/deps/couchbase-cxx-client/couchbase/operations/management/search_get_stats.hxx +0 -48
- package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_analyze_document.cxx +0 -85
- package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_analyze_document.hxx +0 -54
- package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_control_ingest.cxx +0 -73
- package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_control_ingest.hxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_control_plan_freeze.cxx +0 -73
- package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_control_plan_freeze.hxx +0 -57
- package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_control_query.cxx +0 -73
- package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_control_query.hxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_drop.cxx +0 -72
- package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_drop.hxx +0 -51
- package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_get.cxx +0 -75
- package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_get.hxx +0 -54
- package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_get_all.cxx +0 -67
- package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_get_all.hxx +0 -51
- package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_get_documents_count.cxx +0 -79
- package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_get_documents_count.hxx +0 -53
- package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_get_stats.cxx +0 -71
- package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_get_stats.hxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_upsert.cxx +0 -108
- package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_upsert.hxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/operations/management/user.hxx +0 -28
- package/deps/couchbase-cxx-client/couchbase/operations/management/user_drop.cxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/operations/management/user_drop.hxx +0 -51
- package/deps/couchbase-cxx-client/couchbase/operations/management/user_get.cxx +0 -61
- package/deps/couchbase-cxx-client/couchbase/operations/management/user_get.hxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/operations/management/user_get_all.cxx +0 -59
- package/deps/couchbase-cxx-client/couchbase/operations/management/user_get_all.hxx +0 -51
- package/deps/couchbase-cxx-client/couchbase/operations/management/user_upsert.cxx +0 -101
- package/deps/couchbase-cxx-client/couchbase/operations/management/user_upsert.hxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/operations/management/view.hxx +0 -23
- package/deps/couchbase-cxx-client/couchbase/operations/management/view_index_drop.cxx +0 -46
- package/deps/couchbase-cxx-client/couchbase/operations/management/view_index_drop.hxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/operations/management/view_index_get.cxx +0 -74
- package/deps/couchbase-cxx-client/couchbase/operations/management/view_index_get.hxx +0 -53
- package/deps/couchbase-cxx-client/couchbase/operations/management/view_index_get_all.cxx +0 -108
- package/deps/couchbase-cxx-client/couchbase/operations/management/view_index_get_all.hxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/operations/management/view_index_upsert.cxx +0 -71
- package/deps/couchbase-cxx-client/couchbase/operations/management/view_index_upsert.hxx +0 -51
- package/deps/couchbase-cxx-client/couchbase/operations/mcbp_noop.cxx +0 -38
- package/deps/couchbase-cxx-client/couchbase/operations/mcbp_noop.hxx +0 -49
- package/deps/couchbase-cxx-client/couchbase/operations.hxx +0 -42
- package/deps/couchbase-cxx-client/couchbase/origin.hxx +0 -195
- package/deps/couchbase-cxx-client/couchbase/platform/CMakeLists.txt +0 -16
- package/deps/couchbase-cxx-client/couchbase/platform/backtrace.c +0 -189
- package/deps/couchbase-cxx-client/couchbase/platform/base64.cc +0 -234
- package/deps/couchbase-cxx-client/couchbase/platform/base64.h +0 -44
- package/deps/couchbase-cxx-client/couchbase/platform/dirutils.cc +0 -123
- package/deps/couchbase-cxx-client/couchbase/platform/dirutils.h +0 -43
- package/deps/couchbase-cxx-client/couchbase/platform/random.cc +0 -120
- package/deps/couchbase-cxx-client/couchbase/platform/random.h +0 -39
- package/deps/couchbase-cxx-client/couchbase/platform/string_hex.cc +0 -101
- package/deps/couchbase-cxx-client/couchbase/platform/string_hex.h +0 -50
- package/deps/couchbase-cxx-client/couchbase/platform/terminate_handler.cc +0 -125
- package/deps/couchbase-cxx-client/couchbase/platform/terminate_handler.h +0 -36
- package/deps/couchbase-cxx-client/couchbase/platform/uuid.cc +0 -98
- package/deps/couchbase-cxx-client/couchbase/platform/uuid.h +0 -56
- package/deps/couchbase-cxx-client/couchbase/protocol/CMakeLists.txt +0 -43
- package/deps/couchbase-cxx-client/couchbase/protocol/client_opcode.hxx +0 -359
- package/deps/couchbase-cxx-client/couchbase/protocol/client_opcode_fmt.hxx +0 -316
- package/deps/couchbase-cxx-client/couchbase/protocol/client_request.cxx +0 -38
- package/deps/couchbase-cxx-client/couchbase/protocol/client_request.hxx +0 -157
- package/deps/couchbase-cxx-client/couchbase/protocol/client_response.cxx +0 -74
- package/deps/couchbase-cxx-client/couchbase/protocol/client_response.hxx +0 -209
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_append.cxx +0 -69
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_append.hxx +0 -107
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_cluster_map_change_notification.cxx +0 -53
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_cluster_map_change_notification.hxx +0 -57
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_decrement.cxx +0 -91
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_decrement.hxx +0 -129
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_exists.cxx +0 -88
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_exists.hxx +0 -121
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_get.cxx +0 -59
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_get.hxx +0 -96
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_and_lock.cxx +0 -66
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_and_lock.hxx +0 -112
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_and_touch.cxx +0 -66
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_and_touch.hxx +0 -112
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_cluster_config.cxx +0 -85
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_cluster_config.hxx +0 -89
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_collection_id.cxx +0 -60
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_collection_id.hxx +0 -95
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_collections_manifest.cxx +0 -51
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_collections_manifest.hxx +0 -84
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_error_map.cxx +0 -61
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_error_map.hxx +0 -103
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_meta.cxx +0 -70
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_meta.hxx +0 -117
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_hello.cxx +0 -76
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_hello.hxx +0 -136
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_increment.cxx +0 -93
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_increment.hxx +0 -129
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_info.hxx +0 -29
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_insert.cxx +0 -78
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_insert.hxx +0 -123
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_lookup_in.cxx +0 -109
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_lookup_in.hxx +0 -165
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_mutate_in.cxx +0 -158
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_mutate_in.hxx +0 -311
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_noop.cxx +0 -36
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_noop.hxx +0 -75
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_prepend.cxx +0 -68
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_prepend.hxx +0 -102
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_remove.cxx +0 -69
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_remove.hxx +0 -93
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_replace.cxx +0 -87
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_replace.hxx +0 -130
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_sasl_auth.cxx +0 -61
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_sasl_auth.hxx +0 -91
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_sasl_list_mechs.cxx +0 -53
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_sasl_list_mechs.hxx +0 -82
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_sasl_step.cxx +0 -61
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_sasl_step.hxx +0 -91
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_select_bucket.cxx +0 -45
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_select_bucket.hxx +0 -79
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_touch.cxx +0 -53
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_touch.hxx +0 -84
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_unlock.cxx +0 -44
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_unlock.hxx +0 -81
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_upsert.cxx +0 -86
- package/deps/couchbase-cxx-client/couchbase/protocol/cmd_upsert.hxx +0 -125
- package/deps/couchbase-cxx-client/couchbase/protocol/datatype.hxx +0 -48
- package/deps/couchbase-cxx-client/couchbase/protocol/durability_level.hxx +0 -59
- package/deps/couchbase-cxx-client/couchbase/protocol/durability_level_fmt.hxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/protocol/enhanced_error_info.hxx +0 -28
- package/deps/couchbase-cxx-client/couchbase/protocol/enhanced_error_info_fmt.hxx +0 -44
- package/deps/couchbase-cxx-client/couchbase/protocol/frame_info_id.hxx +0 -142
- package/deps/couchbase-cxx-client/couchbase/protocol/frame_info_id_fmt.hxx +0 -79
- package/deps/couchbase-cxx-client/couchbase/protocol/frame_info_utils.cxx +0 -59
- package/deps/couchbase-cxx-client/couchbase/protocol/frame_info_utils.hxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/protocol/hello_feature.hxx +0 -186
- package/deps/couchbase-cxx-client/couchbase/protocol/hello_feature_fmt.hxx +0 -106
- package/deps/couchbase-cxx-client/couchbase/protocol/magic.hxx +0 -53
- package/deps/couchbase-cxx-client/couchbase/protocol/magic_fmt.hxx +0 -58
- package/deps/couchbase-cxx-client/couchbase/protocol/server_opcode.hxx +0 -39
- package/deps/couchbase-cxx-client/couchbase/protocol/server_opcode_fmt.hxx +0 -46
- package/deps/couchbase-cxx-client/couchbase/protocol/server_request.hxx +0 -121
- package/deps/couchbase-cxx-client/couchbase/protocol/status.cxx +0 -187
- package/deps/couchbase-cxx-client/couchbase/protocol/status.hxx +0 -180
- package/deps/couchbase-cxx-client/couchbase/protocol/status_fmt.hxx +0 -241
- package/deps/couchbase-cxx-client/couchbase/query_profile_mode.hxx +0 -27
- package/deps/couchbase-cxx-client/couchbase/query_scan_consistency.hxx +0 -23
- package/deps/couchbase-cxx-client/couchbase/sasl/CMakeLists.txt +0 -16
- package/deps/couchbase-cxx-client/couchbase/sasl/client.cc +0 -50
- package/deps/couchbase-cxx-client/couchbase/sasl/client.h +0 -128
- package/deps/couchbase-cxx-client/couchbase/sasl/context.cc +0 -34
- package/deps/couchbase-cxx-client/couchbase/sasl/context.h +0 -52
- package/deps/couchbase-cxx-client/couchbase/sasl/error.h +0 -28
- package/deps/couchbase-cxx-client/couchbase/sasl/error_fmt.h +0 -70
- package/deps/couchbase-cxx-client/couchbase/sasl/mechanism.cc +0 -45
- package/deps/couchbase-cxx-client/couchbase/sasl/mechanism.h +0 -52
- package/deps/couchbase-cxx-client/couchbase/sasl/plain/plain.cc +0 -39
- package/deps/couchbase-cxx-client/couchbase/sasl/plain/plain.h +0 -54
- package/deps/couchbase-cxx-client/couchbase/sasl/scram-sha/scram-sha.cc +0 -372
- package/deps/couchbase-cxx-client/couchbase/sasl/scram-sha/scram-sha.h +0 -184
- package/deps/couchbase-cxx-client/couchbase/sasl/scram-sha/stringutils.cc +0 -82
- package/deps/couchbase-cxx-client/couchbase/sasl/scram-sha/stringutils.h +0 -48
- package/deps/couchbase-cxx-client/couchbase/search_highlight_style.hxx +0 -23
- package/deps/couchbase-cxx-client/couchbase/search_scan_consistency.hxx +0 -23
- package/deps/couchbase-cxx-client/couchbase/service_type.hxx +0 -31
- package/deps/couchbase-cxx-client/couchbase/service_type_fmt.hxx +0 -61
- package/deps/couchbase-cxx-client/couchbase/timeout_defaults.hxx +0 -43
- package/deps/couchbase-cxx-client/couchbase/topology/CMakeLists.txt +0 -9
- package/deps/couchbase-cxx-client/couchbase/topology/capabilities.hxx +0 -43
- package/deps/couchbase-cxx-client/couchbase/topology/capabilities_fmt.hxx +0 -106
- package/deps/couchbase-cxx-client/couchbase/topology/collections_manifest.hxx +0 -43
- package/deps/couchbase-cxx-client/couchbase/topology/collections_manifest_fmt.hxx +0 -52
- package/deps/couchbase-cxx-client/couchbase/topology/collections_manifest_json.hxx +0 -53
- package/deps/couchbase-cxx-client/couchbase/topology/configuration.cxx +0 -223
- package/deps/couchbase-cxx-client/couchbase/topology/configuration.hxx +0 -120
- package/deps/couchbase-cxx-client/couchbase/topology/configuration_fmt.hxx +0 -166
- package/deps/couchbase-cxx-client/couchbase/topology/configuration_json.hxx +0 -259
- package/deps/couchbase-cxx-client/couchbase/topology/error_map.hxx +0 -149
- package/deps/couchbase-cxx-client/couchbase/topology/error_map_fmt.hxx +0 -94
- package/deps/couchbase-cxx-client/couchbase/topology/error_map_json.hxx +0 -88
- package/deps/couchbase-cxx-client/couchbase/tracing/CMakeLists.txt +0 -9
- package/deps/couchbase-cxx-client/couchbase/tracing/constants.hxx +0 -274
- package/deps/couchbase-cxx-client/couchbase/tracing/noop_tracer.hxx +0 -55
- package/deps/couchbase-cxx-client/couchbase/tracing/request_tracer.hxx +0 -79
- package/deps/couchbase-cxx-client/couchbase/tracing/threshold_logging_options.hxx +0 -68
- package/deps/couchbase-cxx-client/couchbase/tracing/threshold_logging_tracer.cxx +0 -422
- package/deps/couchbase-cxx-client/couchbase/tracing/threshold_logging_tracer.hxx +0 -49
- package/deps/couchbase-cxx-client/couchbase/utils/CMakeLists.txt +0 -18
- package/deps/couchbase-cxx-client/couchbase/utils/binary.cxx +0 -27
- package/deps/couchbase-cxx-client/couchbase/utils/binary.hxx +0 -57
- package/deps/couchbase-cxx-client/couchbase/utils/byteswap.hxx +0 -49
- package/deps/couchbase-cxx-client/couchbase/utils/connection_string.cxx +0 -420
- package/deps/couchbase-cxx-client/couchbase/utils/connection_string.hxx +0 -76
- package/deps/couchbase-cxx-client/couchbase/utils/crc32.hxx +0 -48
- package/deps/couchbase-cxx-client/couchbase/utils/duration_parser.cxx +0 -193
- package/deps/couchbase-cxx-client/couchbase/utils/duration_parser.hxx +0 -45
- package/deps/couchbase-cxx-client/couchbase/utils/join_strings.hxx +0 -65
- package/deps/couchbase-cxx-client/couchbase/utils/json.cxx +0 -281
- package/deps/couchbase-cxx-client/couchbase/utils/json.hxx +0 -40
- package/deps/couchbase-cxx-client/couchbase/utils/json_stream_control.hxx +0 -32
- package/deps/couchbase-cxx-client/couchbase/utils/json_streaming_lexer.cxx +0 -398
- package/deps/couchbase-cxx-client/couchbase/utils/json_streaming_lexer.hxx +0 -58
- package/deps/couchbase-cxx-client/couchbase/utils/movable_function.hxx +0 -110
- package/deps/couchbase-cxx-client/couchbase/utils/name_codec.hxx +0 -41
- package/deps/couchbase-cxx-client/couchbase/utils/unsigned_leb128.hxx +0 -181
- package/deps/couchbase-cxx-client/couchbase/utils/url_codec.cxx +0 -404
- package/deps/couchbase-cxx-client/couchbase/utils/url_codec.hxx +0 -72
- package/deps/couchbase-cxx-client/couchbase/view_scan_consistency.hxx +0 -27
- package/deps/couchbase-cxx-client/couchbase/view_sort_order.hxx +0 -23
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/analytics_scan_consistency.hxx +0 -26
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/capella_ca.hxx +0 -43
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/cas_fmt.hxx +0 -37
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/cluster.cxx +0 -124
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/cluster_options.cxx +0 -45
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/cluster_options.hxx +0 -78
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/crypto/CMakeLists.txt +0 -12
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/crypto/cbcrypto.cc +0 -887
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/crypto/cbcrypto.h +0 -88
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/design_document_namespace.hxx +0 -26
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/design_document_namespace_fmt.hxx +0 -47
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/diagnostics.hxx +0 -97
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/diagnostics_fmt.hxx +0 -113
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/diagnostics_json.hxx +0 -100
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/document_id.cxx +0 -106
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/document_id.hxx +0 -107
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/document_id_fmt.hxx +0 -37
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/error_context/analytics.hxx +0 -51
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/error_context/http.hxx +0 -47
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/error_context/key_value.hxx +0 -50
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/error_context/query.hxx +0 -51
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/error_context/search.hxx +0 -50
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/error_context/view.hxx +0 -51
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/errors.hxx +0 -1038
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/CMakeLists.txt +0 -12
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/dns_client.hxx +0 -217
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/dns_codec.hxx +0 -206
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/dns_config.hxx +0 -115
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/dns_message.hxx +0 -555
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/http_command.hxx +0 -174
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/http_context.hxx +0 -40
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/http_message.hxx +0 -116
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/http_parser.cxx +0 -141
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/http_parser.hxx +0 -55
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/http_session.hxx +0 -548
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/http_session_manager.hxx +0 -381
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/http_traits.hxx +0 -30
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/ip_protocol.hxx +0 -28
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/mcbp_command.hxx +0 -300
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/mcbp_context.hxx +0 -39
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/mcbp_message.cxx +0 -39
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/mcbp_message.hxx +0 -55
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/mcbp_parser.cxx +0 -88
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/mcbp_parser.hxx +0 -45
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/mcbp_session.hxx +0 -1333
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/mcbp_traits.hxx +0 -30
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/query_cache.hxx +0 -61
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/retry_action.hxx +0 -30
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/retry_context.hxx +0 -38
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/retry_orchestrator.hxx +0 -112
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/retry_reason.hxx +0 -158
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/retry_reason_fmt.hxx +0 -103
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/retry_strategy.hxx +0 -152
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/streams.hxx +0 -253
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/json_string.hxx +0 -48
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/logger/CMakeLists.txt +0 -9
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/logger/configuration.hxx +0 -57
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/logger/custom_rotating_file_sink.cxx +0 -157
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/logger/logger.cxx +0 -340
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/logger/logger.hxx +0 -235
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/CMakeLists.txt +0 -13
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/analytics_dataset.hxx +0 -30
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/analytics_index.hxx +0 -30
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/analytics_link.hxx +0 -22
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/analytics_link_azure_blob_external.cxx +0 -67
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/analytics_link_azure_blob_external.hxx +0 -76
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/analytics_link_azure_blob_external_json.hxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/analytics_link_couchbase_remote.cxx +0 -104
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/analytics_link_couchbase_remote.hxx +0 -107
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/analytics_link_couchbase_remote_json.hxx +0 -63
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/analytics_link_s3_external.cxx +0 -57
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/analytics_link_s3_external.hxx +0 -69
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/analytics_link_s3_external_json.hxx +0 -47
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/bucket_settings.hxx +0 -134
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/bucket_settings_json.hxx +0 -123
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/design_document.hxx +0 -41
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/eventing_function.hxx +0 -188
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/eventing_function_json.hxx +0 -212
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/eventing_status.hxx +0 -84
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/eventing_status_json.hxx +0 -77
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/query_index.hxx +0 -39
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/rbac.hxx +0 -77
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/rbac_fmt.hxx +0 -49
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/rbac_json.hxx +0 -179
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/search_index.hxx +0 -38
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/search_index_json.hxx +0 -58
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/meta/CMakeLists.txt +0 -15
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/meta/version.cxx +0 -188
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/meta/version.hxx +0 -45
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/metrics/CMakeLists.txt +0 -11
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/metrics/logging_meter.cxx +0 -194
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/metrics/logging_meter.hxx +0 -74
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/metrics/logging_meter_options.hxx +0 -28
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/metrics/meter.hxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/metrics/noop_meter.hxx +0 -47
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/mutation_token_fmt.hxx +0 -37
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/CMakeLists.txt +0 -35
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_analytics.cxx +0 -195
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_analytics.hxx +0 -92
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_append.cxx +0 -46
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_append.hxx +0 -63
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_decrement.cxx +0 -54
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_decrement.hxx +0 -66
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_exists.cxx +0 -49
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_exists.hxx +0 -61
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_get.cxx +0 -44
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_get.hxx +0 -53
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_get_and_lock.cxx +0 -45
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_get_and_lock.hxx +0 -54
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_get_and_touch.cxx +0 -45
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_get_and_touch.hxx +0 -54
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_get_projected.cxx +0 -230
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_get_projected.hxx +0 -58
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_increment.cxx +0 -54
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_increment.hxx +0 -66
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_insert.cxx +0 -48
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_insert.hxx +0 -65
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_lookup_in.cxx +0 -81
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_lookup_in.hxx +0 -64
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_mutate_in.cxx +0 -104
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_mutate_in.hxx +0 -82
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_prepend.cxx +0 -46
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_prepend.hxx +0 -63
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_query.cxx +0 -382
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_query.hxx +0 -123
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_remove.cxx +0 -46
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_remove.hxx +0 -63
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_replace.cxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_replace.hxx +0 -67
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_search.cxx +0 -311
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_search.hxx +0 -153
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_touch.cxx +0 -43
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_touch.hxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_unlock.cxx +0 -43
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_unlock.hxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_upsert.cxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_upsert.hxx +0 -66
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_view.cxx +0 -186
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_view.hxx +0 -98
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/http_noop.cxx +0 -64
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/http_noop.hxx +0 -48
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/CMakeLists.txt +0 -79
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics.hxx +0 -34
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataset_create.cxx +0 -94
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataset_create.hxx +0 -57
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataset_drop.cxx +0 -83
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataset_drop.hxx +0 -54
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataset_get_all.cxx +0 -79
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataset_get_all.hxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataverse_create.cxx +0 -82
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataverse_create.hxx +0 -53
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataverse_drop.cxx +0 -82
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataverse_drop.hxx +0 -53
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_get_pending_mutations.cxx +0 -70
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_get_pending_mutations.hxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_index_create.cxx +0 -106
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_index_create.hxx +0 -56
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_index_drop.cxx +0 -90
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_index_drop.hxx +0 -55
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_index_get_all.cxx +0 -80
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_index_get_all.hxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_connect.cxx +0 -82
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_connect.hxx +0 -57
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_create.cxx +0 -87
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_create.hxx +0 -77
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_disconnect.cxx +0 -80
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_disconnect.hxx +0 -56
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_drop.cxx +0 -103
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_drop.hxx +0 -56
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_get_all.cxx +0 -129
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_get_all.hxx +0 -63
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_replace.cxx +0 -87
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_replace.hxx +0 -78
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_utils.hxx +0 -37
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_problem.hxx +0 -30
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/bucket.hxx +0 -25
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/bucket_create.cxx +0 -171
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/bucket_create.hxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/bucket_describe.cxx +0 -67
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/bucket_describe.hxx +0 -61
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/bucket_drop.cxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/bucket_drop.hxx +0 -49
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/bucket_flush.cxx +0 -59
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/bucket_flush.hxx +0 -49
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/bucket_get.cxx +0 -59
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/bucket_get.hxx +0 -51
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/bucket_get_all.cxx +0 -59
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/bucket_get_all.hxx +0 -49
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/bucket_update.cxx +0 -130
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/bucket_update.hxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/cluster_describe.cxx +0 -90
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/cluster_describe.hxx +0 -72
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/cluster_developer_preview_enable.cxx +0 -44
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/cluster_developer_preview_enable.hxx +0 -48
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/collection_create.cxx +0 -83
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/collection_create.hxx +0 -53
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/collection_drop.cxx +0 -73
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/collection_drop.hxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/collections.hxx +0 -25
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/collections_manifest_get.cxx +0 -40
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/collections_manifest_get.hxx +0 -53
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/error_utils.cxx +0 -267
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/error_utils.hxx +0 -48
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing.hxx +0 -28
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_deploy_function.cxx +0 -56
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_deploy_function.hxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_drop_function.cxx +0 -57
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_drop_function.hxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_get_all_functions.cxx +0 -64
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_get_all_functions.hxx +0 -51
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_get_function.cxx +0 -56
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_get_function.hxx +0 -53
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_get_status.cxx +0 -56
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_get_status.hxx +0 -53
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_pause_function.cxx +0 -56
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_pause_function.hxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_problem.hxx +0 -31
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_resume_function.cxx +0 -56
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_resume_function.hxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_undeploy_function.cxx +0 -56
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_undeploy_function.hxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_upsert_function.cxx +0 -341
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_upsert_function.hxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/freeform.cxx +0 -55
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/freeform.hxx +0 -55
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/group_drop.cxx +0 -51
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/group_drop.hxx +0 -49
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/group_get.cxx +0 -60
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/group_get.hxx +0 -50
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/group_get_all.cxx +0 -58
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/group_get_all.hxx +0 -49
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/group_upsert.cxx +0 -96
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/group_upsert.hxx +0 -51
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/query.hxx +0 -23
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/query_index_build_deferred.cxx +0 -88
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/query_index_build_deferred.hxx +0 -61
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/query_index_create.cxx +0 -149
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/query_index_create.hxx +0 -65
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/query_index_drop.cxx +0 -129
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/query_index_drop.hxx +0 -61
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/query_index_get_all.cxx +0 -126
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/query_index_get_all.hxx +0 -54
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/role_get_all.cxx +0 -58
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/role_get_all.hxx +0 -49
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/scope_create.cxx +0 -75
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/scope_create.hxx +0 -51
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/scope_drop.cxx +0 -70
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/scope_drop.hxx +0 -51
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/scope_get_all.cxx +0 -62
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/scope_get_all.hxx +0 -51
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search.hxx +0 -30
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_get_stats.cxx +0 -41
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_get_stats.hxx +0 -48
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_analyze_document.cxx +0 -85
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_analyze_document.hxx +0 -54
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_control_ingest.cxx +0 -73
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_control_ingest.hxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_control_plan_freeze.cxx +0 -73
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_control_plan_freeze.hxx +0 -57
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_control_query.cxx +0 -73
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_control_query.hxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_drop.cxx +0 -72
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_drop.hxx +0 -51
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_get.cxx +0 -75
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_get.hxx +0 -54
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_get_all.cxx +0 -67
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_get_all.hxx +0 -51
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_get_documents_count.cxx +0 -79
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_get_documents_count.hxx +0 -53
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_get_stats.cxx +0 -71
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_get_stats.hxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_upsert.cxx +0 -108
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_upsert.hxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/user.hxx +0 -28
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/user_drop.cxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/user_drop.hxx +0 -51
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/user_get.cxx +0 -61
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/user_get.hxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/user_get_all.cxx +0 -59
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/user_get_all.hxx +0 -51
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/user_upsert.cxx +0 -101
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/user_upsert.hxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/view.hxx +0 -23
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/view_index_drop.cxx +0 -46
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/view_index_drop.hxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/view_index_get.cxx +0 -74
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/view_index_get.hxx +0 -53
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/view_index_get_all.cxx +0 -108
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/view_index_get_all.hxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/view_index_upsert.cxx +0 -71
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/view_index_upsert.hxx +0 -51
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/mcbp_noop.cxx +0 -38
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/mcbp_noop.hxx +0 -49
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations.hxx +0 -42
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/origin.hxx +0 -195
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/platform/CMakeLists.txt +0 -16
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/platform/backtrace.c +0 -189
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/platform/base64.cc +0 -234
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/platform/base64.h +0 -44
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/platform/dirutils.cc +0 -123
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/platform/dirutils.h +0 -43
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/platform/random.cc +0 -120
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/platform/random.h +0 -39
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/platform/string_hex.cc +0 -101
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/platform/string_hex.h +0 -50
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/platform/terminate_handler.cc +0 -125
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/platform/terminate_handler.h +0 -36
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/platform/uuid.cc +0 -98
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/platform/uuid.h +0 -56
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/CMakeLists.txt +0 -43
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/client_opcode.hxx +0 -359
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/client_opcode_fmt.hxx +0 -316
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/client_request.cxx +0 -38
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/client_request.hxx +0 -157
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/client_response.cxx +0 -74
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/client_response.hxx +0 -209
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_append.cxx +0 -69
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_append.hxx +0 -107
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_cluster_map_change_notification.cxx +0 -53
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_cluster_map_change_notification.hxx +0 -57
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_decrement.cxx +0 -91
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_decrement.hxx +0 -129
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_exists.cxx +0 -88
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_exists.hxx +0 -121
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_get.cxx +0 -59
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_get.hxx +0 -96
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_and_lock.cxx +0 -66
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_and_lock.hxx +0 -112
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_and_touch.cxx +0 -66
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_and_touch.hxx +0 -112
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_cluster_config.cxx +0 -85
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_cluster_config.hxx +0 -89
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_collection_id.cxx +0 -60
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_collection_id.hxx +0 -95
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_collections_manifest.cxx +0 -51
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_collections_manifest.hxx +0 -84
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_error_map.cxx +0 -61
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_error_map.hxx +0 -103
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_meta.cxx +0 -70
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_meta.hxx +0 -117
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_hello.cxx +0 -76
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_hello.hxx +0 -136
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_increment.cxx +0 -93
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_increment.hxx +0 -129
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_info.hxx +0 -29
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_insert.cxx +0 -78
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_insert.hxx +0 -123
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_lookup_in.cxx +0 -109
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_lookup_in.hxx +0 -165
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_mutate_in.cxx +0 -158
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_mutate_in.hxx +0 -311
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_noop.cxx +0 -36
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_noop.hxx +0 -75
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_prepend.cxx +0 -68
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_prepend.hxx +0 -102
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_remove.cxx +0 -69
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_remove.hxx +0 -93
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_replace.cxx +0 -87
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_replace.hxx +0 -130
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_sasl_auth.cxx +0 -61
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_sasl_auth.hxx +0 -91
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_sasl_list_mechs.cxx +0 -53
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_sasl_list_mechs.hxx +0 -82
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_sasl_step.cxx +0 -61
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_sasl_step.hxx +0 -91
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_select_bucket.cxx +0 -45
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_select_bucket.hxx +0 -79
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_touch.cxx +0 -53
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_touch.hxx +0 -84
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_unlock.cxx +0 -44
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_unlock.hxx +0 -81
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_upsert.cxx +0 -86
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_upsert.hxx +0 -125
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/datatype.hxx +0 -48
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/durability_level.hxx +0 -59
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/durability_level_fmt.hxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/enhanced_error_info.hxx +0 -28
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/enhanced_error_info_fmt.hxx +0 -44
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/frame_info_id.hxx +0 -142
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/frame_info_id_fmt.hxx +0 -79
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/frame_info_utils.cxx +0 -59
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/frame_info_utils.hxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/hello_feature.hxx +0 -186
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/hello_feature_fmt.hxx +0 -106
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/magic.hxx +0 -53
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/magic_fmt.hxx +0 -58
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/server_opcode.hxx +0 -39
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/server_opcode_fmt.hxx +0 -46
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/server_request.hxx +0 -121
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/status.cxx +0 -187
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/status.hxx +0 -180
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/status_fmt.hxx +0 -241
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/query_profile_mode.hxx +0 -27
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/query_scan_consistency.hxx +0 -23
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/sasl/CMakeLists.txt +0 -16
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/sasl/client.cc +0 -50
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/sasl/client.h +0 -128
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/sasl/context.cc +0 -34
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/sasl/context.h +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/sasl/error.h +0 -28
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/sasl/error_fmt.h +0 -70
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/sasl/mechanism.cc +0 -45
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/sasl/mechanism.h +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/sasl/plain/plain.cc +0 -39
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/sasl/plain/plain.h +0 -54
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/sasl/scram-sha/scram-sha.cc +0 -372
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/sasl/scram-sha/scram-sha.h +0 -184
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/sasl/scram-sha/stringutils.cc +0 -82
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/sasl/scram-sha/stringutils.h +0 -48
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/search_highlight_style.hxx +0 -23
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/search_scan_consistency.hxx +0 -23
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/service_type.hxx +0 -31
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/service_type_fmt.hxx +0 -61
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/timeout_defaults.hxx +0 -43
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/topology/CMakeLists.txt +0 -9
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/topology/capabilities.hxx +0 -43
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/topology/capabilities_fmt.hxx +0 -106
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/topology/collections_manifest.hxx +0 -43
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/topology/collections_manifest_fmt.hxx +0 -52
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/topology/collections_manifest_json.hxx +0 -53
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/topology/configuration.cxx +0 -223
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/topology/configuration.hxx +0 -120
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/topology/configuration_fmt.hxx +0 -166
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/topology/configuration_json.hxx +0 -259
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/topology/error_map.hxx +0 -149
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/topology/error_map_fmt.hxx +0 -94
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/topology/error_map_json.hxx +0 -88
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/tracing/CMakeLists.txt +0 -9
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/tracing/constants.hxx +0 -274
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/tracing/noop_tracer.hxx +0 -55
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/tracing/request_tracer.hxx +0 -79
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/tracing/threshold_logging_options.hxx +0 -68
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/tracing/threshold_logging_tracer.cxx +0 -422
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/tracing/threshold_logging_tracer.hxx +0 -49
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/utils/CMakeLists.txt +0 -18
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/utils/binary.cxx +0 -27
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/utils/binary.hxx +0 -57
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/utils/byteswap.hxx +0 -49
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/utils/connection_string.cxx +0 -420
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/utils/connection_string.hxx +0 -76
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/utils/crc32.hxx +0 -48
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/utils/duration_parser.cxx +0 -193
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/utils/duration_parser.hxx +0 -45
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/utils/join_strings.hxx +0 -65
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/utils/json.cxx +0 -281
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/utils/json.hxx +0 -40
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/utils/json_stream_control.hxx +0 -32
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/utils/json_streaming_lexer.cxx +0 -398
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/utils/json_streaming_lexer.hxx +0 -58
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/utils/movable_function.hxx +0 -110
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/utils/name_codec.hxx +0 -41
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/utils/unsigned_leb128.hxx +0 -181
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/utils/url_codec.cxx +0 -404
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/utils/url_codec.hxx +0 -72
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/view_scan_consistency.hxx +0 -27
- package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/view_sort_order.hxx +0 -23
package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/crypto/cbcrypto.cc
DELETED
@@ -1,887 +0,0 @@
|
|
1
|
-
/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
|
2
|
-
/*
|
3
|
-
* Copyright 2016 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
|
-
#include <couchbase/crypto/cbcrypto.h>
|
19
|
-
|
20
|
-
#include <memory>
|
21
|
-
#include <stdexcept>
|
22
|
-
|
23
|
-
namespace internal
|
24
|
-
{
|
25
|
-
|
26
|
-
#ifdef _MSC_VER
|
27
|
-
#include <windows.h>
|
28
|
-
|
29
|
-
#include <bcrypt.h>
|
30
|
-
|
31
|
-
struct HeapAllocDeleter {
|
32
|
-
void operator()(PBYTE bytes)
|
33
|
-
{
|
34
|
-
HeapFree(GetProcessHeap(), 0, bytes);
|
35
|
-
}
|
36
|
-
};
|
37
|
-
|
38
|
-
using uniqueHeapPtr = std::unique_ptr<BYTE, HeapAllocDeleter>;
|
39
|
-
|
40
|
-
static inline std::string
|
41
|
-
hash(std::string_view key, std::string_view data, LPCWSTR algorithm, int flags)
|
42
|
-
{
|
43
|
-
BCRYPT_ALG_HANDLE hAlg;
|
44
|
-
NTSTATUS status = BCryptOpenAlgorithmProvider(&hAlg, algorithm, nullptr, flags);
|
45
|
-
if (status < 0) {
|
46
|
-
throw std::runtime_error("digest: BCryptOpenAlgorithmProvider return: " + std::to_string(status));
|
47
|
-
}
|
48
|
-
|
49
|
-
DWORD pcbResult = 0;
|
50
|
-
DWORD cbHashObject = 0;
|
51
|
-
|
52
|
-
// calculate the size of the buffer to hold the hash object
|
53
|
-
status = BCryptGetProperty(hAlg, BCRYPT_OBJECT_LENGTH, reinterpret_cast<PBYTE>(&cbHashObject), sizeof(DWORD), &pcbResult, 0);
|
54
|
-
if (status < 0) {
|
55
|
-
BCryptCloseAlgorithmProvider(hAlg, 0);
|
56
|
-
throw std::runtime_error("digest: BCryptGetProperty return: " + std::to_string(status));
|
57
|
-
}
|
58
|
-
|
59
|
-
// calculate the length of the hash
|
60
|
-
DWORD cbHash = 0;
|
61
|
-
status = BCryptGetProperty(hAlg, BCRYPT_HASH_LENGTH, reinterpret_cast<PBYTE>(&cbHash), sizeof(DWORD), &pcbResult, 0);
|
62
|
-
if (status < 0) {
|
63
|
-
BCryptCloseAlgorithmProvider(hAlg, 0);
|
64
|
-
throw std::runtime_error("digest: BCryptGetProperty return: " + std::to_string(status));
|
65
|
-
}
|
66
|
-
|
67
|
-
// allocate the hash object on the heap
|
68
|
-
uniqueHeapPtr pbHashObject(static_cast<PBYTE>(HeapAlloc(GetProcessHeap(), 0, cbHashObject)));
|
69
|
-
if (!pbHashObject) {
|
70
|
-
BCryptCloseAlgorithmProvider(hAlg, 0);
|
71
|
-
throw std::bad_alloc();
|
72
|
-
}
|
73
|
-
|
74
|
-
std::string ret;
|
75
|
-
ret.resize(cbHash);
|
76
|
-
|
77
|
-
// create the hash
|
78
|
-
BCRYPT_HASH_HANDLE hHash;
|
79
|
-
status = BCryptCreateHash(hAlg, &hHash, pbHashObject.get(), cbHashObject, (PUCHAR)key.data(), static_cast<ULONG>(key.size()), 0);
|
80
|
-
if (status < 0) {
|
81
|
-
BCryptCloseAlgorithmProvider(hAlg, 0);
|
82
|
-
throw std::runtime_error("digest: BCryptCreateHash return: " + std::to_string(status));
|
83
|
-
}
|
84
|
-
|
85
|
-
status = BCryptHashData(hHash, (PBYTE)data.data(), static_cast<ULONG>(data.size()), 0);
|
86
|
-
if (status < 0) {
|
87
|
-
BCryptCloseAlgorithmProvider(hAlg, 0);
|
88
|
-
BCryptDestroyHash(hHash);
|
89
|
-
throw std::runtime_error("digest: BCryptHashData return: " + std::to_string(status));
|
90
|
-
}
|
91
|
-
|
92
|
-
status = BCryptFinishHash(hHash, reinterpret_cast<uint8_t*>(ret.data()), cbHash, 0);
|
93
|
-
|
94
|
-
// Release resources
|
95
|
-
BCryptCloseAlgorithmProvider(hAlg, 0);
|
96
|
-
BCryptDestroyHash(hHash);
|
97
|
-
|
98
|
-
if (status < 0) {
|
99
|
-
throw std::runtime_error("digest: BCryptFinishHash return: " + std::to_string(status));
|
100
|
-
}
|
101
|
-
|
102
|
-
return ret;
|
103
|
-
}
|
104
|
-
|
105
|
-
static std::string
|
106
|
-
HMAC_SHA1(std::string_view key, std::string_view data)
|
107
|
-
{
|
108
|
-
return hash(key, data, BCRYPT_SHA1_ALGORITHM, BCRYPT_ALG_HANDLE_HMAC_FLAG);
|
109
|
-
}
|
110
|
-
|
111
|
-
static std::string
|
112
|
-
HMAC_SHA256(std::string_view key, std::string_view data)
|
113
|
-
{
|
114
|
-
return hash(key, data, BCRYPT_SHA256_ALGORITHM, BCRYPT_ALG_HANDLE_HMAC_FLAG);
|
115
|
-
}
|
116
|
-
|
117
|
-
static std::string
|
118
|
-
HMAC_SHA512(std::string_view key, std::string_view data)
|
119
|
-
{
|
120
|
-
return hash(key, data, BCRYPT_SHA512_ALGORITHM, BCRYPT_ALG_HANDLE_HMAC_FLAG);
|
121
|
-
}
|
122
|
-
|
123
|
-
static inline std::string
|
124
|
-
PBKDF2(const std::string& pass, std::string_view salt, unsigned int iterationCount, LPCWSTR algorithm)
|
125
|
-
{
|
126
|
-
// open an algorithm handle
|
127
|
-
BCRYPT_ALG_HANDLE hAlg;
|
128
|
-
NTSTATUS status;
|
129
|
-
|
130
|
-
status = BCryptOpenAlgorithmProvider(&hAlg, algorithm, nullptr, BCRYPT_ALG_HANDLE_HMAC_FLAG);
|
131
|
-
if (status < 0) {
|
132
|
-
throw std::runtime_error("digest: BCryptOpenAlgorithmProvider return: " + std::to_string(status));
|
133
|
-
}
|
134
|
-
|
135
|
-
DWORD pcbResult = 0;
|
136
|
-
|
137
|
-
// calculate the length of the hash
|
138
|
-
DWORD cbHash = 0;
|
139
|
-
status = BCryptGetProperty(hAlg, BCRYPT_HASH_LENGTH, (PBYTE)&cbHash, sizeof(DWORD), &pcbResult, 0);
|
140
|
-
if (status < 0) {
|
141
|
-
BCryptCloseAlgorithmProvider(hAlg, 0);
|
142
|
-
throw std::runtime_error("digest: BCryptGetProperty return: " + std::to_string(status));
|
143
|
-
}
|
144
|
-
|
145
|
-
std::string ret;
|
146
|
-
ret.resize(cbHash);
|
147
|
-
|
148
|
-
status = BCryptDeriveKeyPBKDF2(hAlg,
|
149
|
-
(PUCHAR)pass.data(),
|
150
|
-
ULONG(pass.size()),
|
151
|
-
(PUCHAR)salt.data(),
|
152
|
-
ULONG(salt.size()),
|
153
|
-
iterationCount,
|
154
|
-
(PUCHAR)ret.data(),
|
155
|
-
ULONG(ret.size()),
|
156
|
-
0);
|
157
|
-
|
158
|
-
// Release resources
|
159
|
-
BCryptCloseAlgorithmProvider(hAlg, 0);
|
160
|
-
|
161
|
-
if (status < 0) {
|
162
|
-
throw std::runtime_error("digest: BCryptDeriveKeyPBKDF2 return: " + std::to_string(status));
|
163
|
-
}
|
164
|
-
|
165
|
-
return ret;
|
166
|
-
}
|
167
|
-
|
168
|
-
static std::string
|
169
|
-
PBKDF2_HMAC_SHA1(const std::string& pass, std::string_view salt, unsigned int iterationCount)
|
170
|
-
{
|
171
|
-
return PBKDF2(pass, salt, iterationCount, BCRYPT_SHA1_ALGORITHM);
|
172
|
-
}
|
173
|
-
|
174
|
-
static std::string
|
175
|
-
PBKDF2_HMAC_SHA256(const std::string& pass, std::string_view salt, unsigned int iterationCount)
|
176
|
-
{
|
177
|
-
return PBKDF2(pass, salt, iterationCount, BCRYPT_SHA256_ALGORITHM);
|
178
|
-
}
|
179
|
-
|
180
|
-
static std::string
|
181
|
-
PBKDF2_HMAC_SHA512(const std::string& pass, std::string_view salt, unsigned int iterationCount)
|
182
|
-
{
|
183
|
-
return PBKDF2(pass, salt, iterationCount, BCRYPT_SHA512_ALGORITHM);
|
184
|
-
}
|
185
|
-
|
186
|
-
static std::string
|
187
|
-
digest_sha1(std::string_view data)
|
188
|
-
{
|
189
|
-
return hash({}, data, BCRYPT_SHA1_ALGORITHM, 0);
|
190
|
-
}
|
191
|
-
|
192
|
-
static std::string
|
193
|
-
digest_sha256(std::string_view data)
|
194
|
-
{
|
195
|
-
return hash({}, data, BCRYPT_SHA256_ALGORITHM, 0);
|
196
|
-
}
|
197
|
-
|
198
|
-
static std::string
|
199
|
-
digest_sha512(std::string_view data)
|
200
|
-
{
|
201
|
-
return hash({}, data, BCRYPT_SHA512_ALGORITHM, 0);
|
202
|
-
}
|
203
|
-
|
204
|
-
std::string
|
205
|
-
AES_256_cbc(bool encrypt, std::string_view key, std::string_view iv, std::string_view data)
|
206
|
-
{
|
207
|
-
BCRYPT_ALG_HANDLE hAlg;
|
208
|
-
NTSTATUS status = BCryptOpenAlgorithmProvider(&hAlg, BCRYPT_AES_ALGORITHM, nullptr, 0);
|
209
|
-
|
210
|
-
if (status < 0) {
|
211
|
-
throw std::runtime_error("encrypt: BCryptOpenAlgorithmProvider() return: " + std::to_string(status));
|
212
|
-
}
|
213
|
-
|
214
|
-
DWORD cbData = 0;
|
215
|
-
DWORD cbKeyObject = 0;
|
216
|
-
|
217
|
-
// Calculate the size of the buffer to hold the KeyObject.
|
218
|
-
status = BCryptGetProperty(hAlg, BCRYPT_OBJECT_LENGTH, (PBYTE)&cbKeyObject, sizeof(DWORD), &cbData, 0);
|
219
|
-
if (status < 0) {
|
220
|
-
BCryptCloseAlgorithmProvider(hAlg, 0);
|
221
|
-
throw std::runtime_error("encrypt: BCryptGetProperty() return: " + std::to_string(status));
|
222
|
-
}
|
223
|
-
|
224
|
-
// Allocate the key object on the heap.
|
225
|
-
uniqueHeapPtr pbKeyObject((PBYTE)HeapAlloc(GetProcessHeap(), 0, cbKeyObject));
|
226
|
-
if (!pbKeyObject) {
|
227
|
-
BCryptCloseAlgorithmProvider(hAlg, 0);
|
228
|
-
throw std::bad_alloc();
|
229
|
-
}
|
230
|
-
|
231
|
-
status = BCryptSetProperty(hAlg, BCRYPT_CHAINING_MODE, (PBYTE)BCRYPT_CHAIN_MODE_CBC, sizeof(BCRYPT_CHAIN_MODE_CBC), 0);
|
232
|
-
if (status < 0) {
|
233
|
-
BCryptCloseAlgorithmProvider(hAlg, 0);
|
234
|
-
throw std::runtime_error("encrypt: BCryptSetProperty() return: " + std::to_string(status));
|
235
|
-
}
|
236
|
-
|
237
|
-
// Generate the key from supplied input key bytes.
|
238
|
-
BCRYPT_KEY_HANDLE hKey;
|
239
|
-
status = BCryptGenerateSymmetricKey(hAlg, &hKey, pbKeyObject.get(), cbKeyObject, (PBYTE)key.data(), ULONG(key.size()), 0);
|
240
|
-
if (status < 0) {
|
241
|
-
BCryptCloseAlgorithmProvider(hAlg, 0);
|
242
|
-
throw std::runtime_error("encrypt: BCryptGenerateSymmetricKey() return: " + std::to_string(status));
|
243
|
-
}
|
244
|
-
|
245
|
-
// For some reason the API will modify the input vector.. just create a
|
246
|
-
// copy.. it's small anyway
|
247
|
-
std::string civ(iv.begin(), iv.end());
|
248
|
-
|
249
|
-
std::string ret;
|
250
|
-
ret.resize(data.size() + iv.size());
|
251
|
-
if (encrypt) {
|
252
|
-
status = BCryptEncrypt(hKey,
|
253
|
-
(PUCHAR)data.data(),
|
254
|
-
ULONG(data.size()),
|
255
|
-
nullptr,
|
256
|
-
(PBYTE)civ.data(),
|
257
|
-
ULONG(civ.size()),
|
258
|
-
reinterpret_cast<uint8_t*>(ret.data()),
|
259
|
-
ULONG(ret.size()),
|
260
|
-
&cbData,
|
261
|
-
BCRYPT_BLOCK_PADDING);
|
262
|
-
} else {
|
263
|
-
status = BCryptDecrypt(hKey,
|
264
|
-
(PUCHAR)data.data(),
|
265
|
-
ULONG(data.size()),
|
266
|
-
nullptr,
|
267
|
-
(PBYTE)civ.data(),
|
268
|
-
ULONG(civ.size()),
|
269
|
-
reinterpret_cast<uint8_t*>(ret.data()),
|
270
|
-
ULONG(ret.size()),
|
271
|
-
&cbData,
|
272
|
-
BCRYPT_BLOCK_PADDING);
|
273
|
-
}
|
274
|
-
|
275
|
-
BCryptCloseAlgorithmProvider(hAlg, 0);
|
276
|
-
BCryptDestroyKey(hKey);
|
277
|
-
|
278
|
-
if (status < 0) {
|
279
|
-
throw std::runtime_error("encrypt: BCryptEncrypt() return: " + std::to_string(status));
|
280
|
-
}
|
281
|
-
|
282
|
-
ret.resize(cbData);
|
283
|
-
|
284
|
-
return ret;
|
285
|
-
}
|
286
|
-
|
287
|
-
std::string
|
288
|
-
encrypt(const couchbase::crypto::Cipher /* cipher */, std::string_view key, std::string_view iv, std::string_view data)
|
289
|
-
{
|
290
|
-
return AES_256_cbc(true, key, iv, data);
|
291
|
-
}
|
292
|
-
|
293
|
-
std::string
|
294
|
-
decrypt(const couchbase::crypto::Cipher /* cipher */, std::string_view key, std::string_view iv, std::string_view data)
|
295
|
-
{
|
296
|
-
return AES_256_cbc(false, key, iv, data);
|
297
|
-
}
|
298
|
-
|
299
|
-
#elif defined(__APPLE__)
|
300
|
-
|
301
|
-
#include <CommonCrypto/CommonCryptor.h>
|
302
|
-
#include <CommonCrypto/CommonDigest.h>
|
303
|
-
#include <CommonCrypto/CommonHMAC.h>
|
304
|
-
#include <CommonCrypto/CommonKeyDerivation.h>
|
305
|
-
|
306
|
-
static std::string
|
307
|
-
HMAC_SHA1(std::string_view key, std::string_view data)
|
308
|
-
{
|
309
|
-
std::string ret;
|
310
|
-
ret.resize(couchbase::crypto::SHA1_DIGEST_SIZE);
|
311
|
-
CCHmac(kCCHmacAlgSHA1, key.data(), key.size(), data.data(), data.size(), reinterpret_cast<uint8_t*>(ret.data()));
|
312
|
-
return ret;
|
313
|
-
}
|
314
|
-
|
315
|
-
static std::string
|
316
|
-
HMAC_SHA256(std::string_view key, std::string_view data)
|
317
|
-
{
|
318
|
-
std::string ret;
|
319
|
-
ret.resize(couchbase::crypto::SHA256_DIGEST_SIZE);
|
320
|
-
CCHmac(kCCHmacAlgSHA256, key.data(), key.size(), data.data(), data.size(), reinterpret_cast<uint8_t*>(ret.data()));
|
321
|
-
return ret;
|
322
|
-
}
|
323
|
-
|
324
|
-
static std::string
|
325
|
-
HMAC_SHA512(std::string_view key, std::string_view data)
|
326
|
-
{
|
327
|
-
std::string ret;
|
328
|
-
ret.resize(couchbase::crypto::SHA512_DIGEST_SIZE);
|
329
|
-
CCHmac(kCCHmacAlgSHA512, key.data(), key.size(), data.data(), data.size(), reinterpret_cast<uint8_t*>(ret.data()));
|
330
|
-
return ret;
|
331
|
-
}
|
332
|
-
|
333
|
-
static std::string
|
334
|
-
PBKDF2_HMAC_SHA1(const std::string& pass, std::string_view salt, unsigned int iterationCount)
|
335
|
-
{
|
336
|
-
std::string ret;
|
337
|
-
ret.resize(couchbase::crypto::SHA1_DIGEST_SIZE);
|
338
|
-
auto err = CCKeyDerivationPBKDF(kCCPBKDF2,
|
339
|
-
pass.data(),
|
340
|
-
pass.size(),
|
341
|
-
reinterpret_cast<const uint8_t*>(salt.data()),
|
342
|
-
salt.size(),
|
343
|
-
kCCPRFHmacAlgSHA1,
|
344
|
-
iterationCount,
|
345
|
-
reinterpret_cast<uint8_t*>(ret.data()),
|
346
|
-
ret.size());
|
347
|
-
|
348
|
-
if (err != 0) {
|
349
|
-
throw std::runtime_error("couchbase::crypto::PBKDF2_HMAC(SHA1): CCKeyDerivationPBKDF failed: " + std::to_string(err));
|
350
|
-
}
|
351
|
-
return ret;
|
352
|
-
}
|
353
|
-
|
354
|
-
static std::string
|
355
|
-
PBKDF2_HMAC_SHA256(const std::string& pass, std::string_view salt, unsigned int iterationCount)
|
356
|
-
{
|
357
|
-
std::string ret;
|
358
|
-
ret.resize(couchbase::crypto::SHA256_DIGEST_SIZE);
|
359
|
-
auto err = CCKeyDerivationPBKDF(kCCPBKDF2,
|
360
|
-
pass.data(),
|
361
|
-
pass.size(),
|
362
|
-
reinterpret_cast<const uint8_t*>(salt.data()),
|
363
|
-
salt.size(),
|
364
|
-
kCCPRFHmacAlgSHA256,
|
365
|
-
iterationCount,
|
366
|
-
reinterpret_cast<uint8_t*>(ret.data()),
|
367
|
-
ret.size());
|
368
|
-
if (err != 0) {
|
369
|
-
throw std::runtime_error("couchbase::crypto::PBKDF2_HMAC(SHA256): CCKeyDerivationPBKDF "
|
370
|
-
"failed: " +
|
371
|
-
std::to_string(err));
|
372
|
-
}
|
373
|
-
return ret;
|
374
|
-
}
|
375
|
-
|
376
|
-
static std::string
|
377
|
-
PBKDF2_HMAC_SHA512(const std::string& pass, std::string_view salt, unsigned int iterationCount)
|
378
|
-
{
|
379
|
-
std::string ret;
|
380
|
-
ret.resize(couchbase::crypto::SHA512_DIGEST_SIZE);
|
381
|
-
auto err = CCKeyDerivationPBKDF(kCCPBKDF2,
|
382
|
-
pass.data(),
|
383
|
-
pass.size(),
|
384
|
-
reinterpret_cast<const uint8_t*>(salt.data()),
|
385
|
-
salt.size(),
|
386
|
-
kCCPRFHmacAlgSHA512,
|
387
|
-
iterationCount,
|
388
|
-
reinterpret_cast<uint8_t*>(ret.data()),
|
389
|
-
ret.size());
|
390
|
-
if (err != 0) {
|
391
|
-
throw std::runtime_error("couchbase::crypto::PBKDF2_HMAC(SHA512): CCKeyDerivationPBKDF "
|
392
|
-
"failed: " +
|
393
|
-
std::to_string(err));
|
394
|
-
}
|
395
|
-
return ret;
|
396
|
-
}
|
397
|
-
|
398
|
-
static std::string
|
399
|
-
digest_sha1(std::string_view data)
|
400
|
-
{
|
401
|
-
std::string ret;
|
402
|
-
ret.resize(couchbase::crypto::SHA1_DIGEST_SIZE);
|
403
|
-
CC_SHA1(data.data(), static_cast<CC_LONG>(data.size()), reinterpret_cast<uint8_t*>(ret.data()));
|
404
|
-
return ret;
|
405
|
-
}
|
406
|
-
|
407
|
-
static std::string
|
408
|
-
digest_sha256(std::string_view data)
|
409
|
-
{
|
410
|
-
std::string ret;
|
411
|
-
ret.resize(couchbase::crypto::SHA256_DIGEST_SIZE);
|
412
|
-
CC_SHA256(data.data(), static_cast<CC_LONG>(data.size()), reinterpret_cast<uint8_t*>(ret.data()));
|
413
|
-
return ret;
|
414
|
-
}
|
415
|
-
|
416
|
-
static std::string
|
417
|
-
digest_sha512(std::string_view data)
|
418
|
-
{
|
419
|
-
std::string ret;
|
420
|
-
ret.resize(couchbase::crypto::SHA512_DIGEST_SIZE);
|
421
|
-
CC_SHA512(data.data(), static_cast<CC_LONG>(data.size()), reinterpret_cast<uint8_t*>(ret.data()));
|
422
|
-
return ret;
|
423
|
-
}
|
424
|
-
|
425
|
-
/**
|
426
|
-
* Validate that the input parameters for the encryption cipher specified
|
427
|
-
* is supported and contains the right buffers.
|
428
|
-
*
|
429
|
-
* Currently only AES_256_cbc is supported
|
430
|
-
*/
|
431
|
-
static void
|
432
|
-
validateEncryptionCipher(const couchbase::crypto::Cipher cipher, std::string_view key, std::string_view iv)
|
433
|
-
{
|
434
|
-
switch (cipher) {
|
435
|
-
case couchbase::crypto::Cipher::AES_256_cbc:
|
436
|
-
if (key.size() != kCCKeySizeAES256) {
|
437
|
-
throw std::invalid_argument("couchbase::crypto::validateEncryptionCipher: Cipher requires a "
|
438
|
-
"key "
|
439
|
-
"length of " +
|
440
|
-
std::to_string(kCCKeySizeAES256) + " provided key with length " + std::to_string(key.size()));
|
441
|
-
}
|
442
|
-
|
443
|
-
if (iv.size() != 16) {
|
444
|
-
throw std::invalid_argument("couchbase::crypto::validateEncryptionCipher: Cipher requires a "
|
445
|
-
"iv "
|
446
|
-
"length of 16 provided iv with length " +
|
447
|
-
std::to_string(iv.size()));
|
448
|
-
}
|
449
|
-
return;
|
450
|
-
}
|
451
|
-
|
452
|
-
throw std::invalid_argument("couchbase::crypto::validateEncryptionCipher: Unknown Cipher " + std::to_string(int(cipher)));
|
453
|
-
}
|
454
|
-
|
455
|
-
std::string
|
456
|
-
encrypt(const couchbase::crypto::Cipher cipher, std::string_view key, std::string_view iv, std::string_view data)
|
457
|
-
{
|
458
|
-
size_t outputsize = 0;
|
459
|
-
std::string ret;
|
460
|
-
ret.resize(data.size() + kCCBlockSizeAES128);
|
461
|
-
|
462
|
-
validateEncryptionCipher(cipher, key, iv);
|
463
|
-
|
464
|
-
auto status = CCCrypt(kCCEncrypt,
|
465
|
-
kCCAlgorithmAES128,
|
466
|
-
kCCOptionPKCS7Padding,
|
467
|
-
key.data(),
|
468
|
-
kCCKeySizeAES256,
|
469
|
-
iv.data(),
|
470
|
-
data.data(),
|
471
|
-
data.size(),
|
472
|
-
reinterpret_cast<uint8_t*>(ret.data()),
|
473
|
-
ret.size(),
|
474
|
-
&outputsize);
|
475
|
-
|
476
|
-
if (status != kCCSuccess) {
|
477
|
-
throw std::runtime_error("couchbase::crypto::encrypt: CCCrypt failed: " + std::to_string(status));
|
478
|
-
}
|
479
|
-
|
480
|
-
ret.resize(outputsize);
|
481
|
-
return ret;
|
482
|
-
}
|
483
|
-
|
484
|
-
std::string
|
485
|
-
decrypt(const couchbase::crypto::Cipher cipher, std::string_view key, std::string_view iv, std::string_view data)
|
486
|
-
{
|
487
|
-
size_t outputsize = 0;
|
488
|
-
std::string ret;
|
489
|
-
ret.resize(data.size());
|
490
|
-
|
491
|
-
validateEncryptionCipher(cipher, key, iv);
|
492
|
-
|
493
|
-
auto status = CCCrypt(kCCDecrypt,
|
494
|
-
kCCAlgorithmAES128,
|
495
|
-
kCCOptionPKCS7Padding,
|
496
|
-
key.data(),
|
497
|
-
kCCKeySizeAES256,
|
498
|
-
iv.data(),
|
499
|
-
data.data(),
|
500
|
-
data.size(),
|
501
|
-
reinterpret_cast<uint8_t*>(ret.data()),
|
502
|
-
ret.size(),
|
503
|
-
&outputsize);
|
504
|
-
|
505
|
-
if (status != kCCSuccess) {
|
506
|
-
throw std::runtime_error("couchbase::crypto::decrypt: CCCrypt failed: " + std::to_string(status));
|
507
|
-
}
|
508
|
-
|
509
|
-
ret.resize(outputsize);
|
510
|
-
return ret;
|
511
|
-
}
|
512
|
-
|
513
|
-
#else
|
514
|
-
|
515
|
-
#include <openssl/evp.h>
|
516
|
-
#include <openssl/hmac.h>
|
517
|
-
#include <openssl/md5.h>
|
518
|
-
#include <openssl/sha.h>
|
519
|
-
|
520
|
-
// OpenSSL
|
521
|
-
|
522
|
-
static std::string
|
523
|
-
HMAC_SHA1(std::string_view key, std::string_view data)
|
524
|
-
{
|
525
|
-
std::string ret;
|
526
|
-
ret.resize(couchbase::crypto::SHA1_DIGEST_SIZE);
|
527
|
-
if (HMAC(EVP_sha1(),
|
528
|
-
key.data(),
|
529
|
-
static_cast<int>(key.size()),
|
530
|
-
reinterpret_cast<const uint8_t*>(data.data()),
|
531
|
-
data.size(),
|
532
|
-
reinterpret_cast<uint8_t*>(ret.data()),
|
533
|
-
nullptr) == nullptr) {
|
534
|
-
throw std::runtime_error("couchbase::crypto::HMAC(SHA1): HMAC failed");
|
535
|
-
}
|
536
|
-
return ret;
|
537
|
-
}
|
538
|
-
|
539
|
-
static std::string
|
540
|
-
HMAC_SHA256(std::string_view key, std::string_view data)
|
541
|
-
{
|
542
|
-
std::string ret;
|
543
|
-
ret.resize(couchbase::crypto::SHA256_DIGEST_SIZE);
|
544
|
-
if (HMAC(EVP_sha256(),
|
545
|
-
key.data(),
|
546
|
-
static_cast<int>(key.size()),
|
547
|
-
reinterpret_cast<const uint8_t*>(data.data()),
|
548
|
-
data.size(),
|
549
|
-
reinterpret_cast<uint8_t*>(ret.data()),
|
550
|
-
nullptr) == nullptr) {
|
551
|
-
throw std::runtime_error("couchbase::crypto::HMAC(SHA256): HMAC failed");
|
552
|
-
}
|
553
|
-
return ret;
|
554
|
-
}
|
555
|
-
|
556
|
-
static std::string
|
557
|
-
HMAC_SHA512(std::string_view key, std::string_view data)
|
558
|
-
{
|
559
|
-
std::string ret;
|
560
|
-
ret.resize(couchbase::crypto::SHA512_DIGEST_SIZE);
|
561
|
-
if (HMAC(EVP_sha512(),
|
562
|
-
key.data(),
|
563
|
-
static_cast<int>(key.size()),
|
564
|
-
reinterpret_cast<const uint8_t*>(data.data()),
|
565
|
-
data.size(),
|
566
|
-
reinterpret_cast<uint8_t*>(ret.data()),
|
567
|
-
nullptr) == nullptr) {
|
568
|
-
throw std::runtime_error("couchbase::crypto::HMAC(SHA512): HMAC failed");
|
569
|
-
}
|
570
|
-
return ret;
|
571
|
-
}
|
572
|
-
|
573
|
-
static std::string
|
574
|
-
PBKDF2_HMAC_SHA1(const std::string& pass, std::string_view salt, unsigned int iterationCount)
|
575
|
-
{
|
576
|
-
std::string ret;
|
577
|
-
ret.resize(couchbase::crypto::SHA1_DIGEST_SIZE);
|
578
|
-
auto err = PKCS5_PBKDF2_HMAC(pass.data(),
|
579
|
-
int(pass.size()),
|
580
|
-
reinterpret_cast<const uint8_t*>(salt.data()),
|
581
|
-
int(salt.size()),
|
582
|
-
int(iterationCount),
|
583
|
-
EVP_sha1(),
|
584
|
-
couchbase::crypto::SHA1_DIGEST_SIZE,
|
585
|
-
reinterpret_cast<uint8_t*>(ret.data()));
|
586
|
-
|
587
|
-
if (err != 1) {
|
588
|
-
throw std::runtime_error("couchbase::crypto::PBKDF2_HMAC(SHA1): PKCS5_PBKDF2_HMAC_SHA1 "
|
589
|
-
"failed: " +
|
590
|
-
std::to_string(err));
|
591
|
-
}
|
592
|
-
|
593
|
-
return ret;
|
594
|
-
}
|
595
|
-
|
596
|
-
static std::string
|
597
|
-
PBKDF2_HMAC_SHA256(const std::string& pass, std::string_view salt, unsigned int iterationCount)
|
598
|
-
{
|
599
|
-
std::string ret;
|
600
|
-
ret.resize(couchbase::crypto::SHA256_DIGEST_SIZE);
|
601
|
-
auto err = PKCS5_PBKDF2_HMAC(pass.data(),
|
602
|
-
int(pass.size()),
|
603
|
-
reinterpret_cast<const uint8_t*>(salt.data()),
|
604
|
-
int(salt.size()),
|
605
|
-
int(iterationCount),
|
606
|
-
EVP_sha256(),
|
607
|
-
couchbase::crypto::SHA256_DIGEST_SIZE,
|
608
|
-
reinterpret_cast<uint8_t*>(ret.data()));
|
609
|
-
if (err != 1) {
|
610
|
-
throw std::runtime_error("couchbase::crypto::PBKDF2_HMAC(SHA256): PKCS5_PBKDF2_HMAC failed" + std::to_string(err));
|
611
|
-
}
|
612
|
-
|
613
|
-
return ret;
|
614
|
-
}
|
615
|
-
|
616
|
-
static std::string
|
617
|
-
PBKDF2_HMAC_SHA512(const std::string& pass, std::string_view salt, unsigned int iterationCount)
|
618
|
-
{
|
619
|
-
std::string ret;
|
620
|
-
ret.resize(couchbase::crypto::SHA512_DIGEST_SIZE);
|
621
|
-
auto err = PKCS5_PBKDF2_HMAC(pass.data(),
|
622
|
-
int(pass.size()),
|
623
|
-
reinterpret_cast<const uint8_t*>(salt.data()),
|
624
|
-
int(salt.size()),
|
625
|
-
int(iterationCount),
|
626
|
-
EVP_sha512(),
|
627
|
-
couchbase::crypto::SHA512_DIGEST_SIZE,
|
628
|
-
reinterpret_cast<uint8_t*>(ret.data()));
|
629
|
-
if (err != 1) {
|
630
|
-
throw std::runtime_error("couchbase::crypto::PBKDF2_HMAC(SHA512): PKCS5_PBKDF2_HMAC failed" + std::to_string(err));
|
631
|
-
}
|
632
|
-
|
633
|
-
return ret;
|
634
|
-
}
|
635
|
-
|
636
|
-
static std::string
|
637
|
-
digest_sha1(std::string_view data)
|
638
|
-
{
|
639
|
-
std::string ret;
|
640
|
-
ret.resize(couchbase::crypto::SHA1_DIGEST_SIZE);
|
641
|
-
SHA1(reinterpret_cast<const uint8_t*>(data.data()), data.size(), reinterpret_cast<uint8_t*>(ret.data()));
|
642
|
-
return ret;
|
643
|
-
}
|
644
|
-
|
645
|
-
static std::string
|
646
|
-
digest_sha256(std::string_view data)
|
647
|
-
{
|
648
|
-
std::string ret;
|
649
|
-
ret.resize(couchbase::crypto::SHA256_DIGEST_SIZE);
|
650
|
-
SHA256(reinterpret_cast<const uint8_t*>(data.data()), data.size(), reinterpret_cast<uint8_t*>(ret.data()));
|
651
|
-
return ret;
|
652
|
-
}
|
653
|
-
|
654
|
-
static std::string
|
655
|
-
digest_sha512(std::string_view data)
|
656
|
-
{
|
657
|
-
std::string ret;
|
658
|
-
ret.resize(couchbase::crypto::SHA512_DIGEST_SIZE);
|
659
|
-
SHA512(reinterpret_cast<const uint8_t*>(data.data()), data.size(), reinterpret_cast<uint8_t*>(ret.data()));
|
660
|
-
return ret;
|
661
|
-
}
|
662
|
-
|
663
|
-
struct EVP_CIPHER_CTX_Deleter {
|
664
|
-
void operator()(EVP_CIPHER_CTX* ctx)
|
665
|
-
{
|
666
|
-
if (ctx != nullptr) {
|
667
|
-
EVP_CIPHER_CTX_free(ctx);
|
668
|
-
}
|
669
|
-
}
|
670
|
-
};
|
671
|
-
|
672
|
-
using unique_EVP_CIPHER_CTX_ptr = std::unique_ptr<EVP_CIPHER_CTX, EVP_CIPHER_CTX_Deleter>;
|
673
|
-
|
674
|
-
/**
|
675
|
-
* Get the OpenSSL Cipher to use for the encryption, and validate
|
676
|
-
* the input key and iv sizes
|
677
|
-
*/
|
678
|
-
static const EVP_CIPHER*
|
679
|
-
getCipher(const couchbase::crypto::Cipher cipher, std::string_view key, std::string_view iv)
|
680
|
-
{
|
681
|
-
const EVP_CIPHER* cip = nullptr;
|
682
|
-
|
683
|
-
switch (cipher) {
|
684
|
-
case couchbase::crypto::Cipher::AES_256_cbc:
|
685
|
-
cip = EVP_aes_256_cbc();
|
686
|
-
break;
|
687
|
-
}
|
688
|
-
|
689
|
-
if (cip == nullptr) {
|
690
|
-
throw std::invalid_argument("couchbase::crypto::getCipher: Unknown Cipher " + std::to_string(int(cipher)));
|
691
|
-
}
|
692
|
-
|
693
|
-
if (int(key.size()) != EVP_CIPHER_key_length(cip)) {
|
694
|
-
throw std::invalid_argument("couchbase::crypto::getCipher: Cipher requires a key "
|
695
|
-
"length of " +
|
696
|
-
std::to_string(EVP_CIPHER_key_length(cip)) + " provided key with length " + std::to_string(key.size()));
|
697
|
-
}
|
698
|
-
|
699
|
-
if (int(iv.size()) != EVP_CIPHER_iv_length(cip)) {
|
700
|
-
throw std::invalid_argument("couchbase::crypto::getCipher: Cipher requires a iv "
|
701
|
-
"length of " +
|
702
|
-
std::to_string(EVP_CIPHER_iv_length(cip)) + " provided iv with length " + std::to_string(iv.size()));
|
703
|
-
}
|
704
|
-
|
705
|
-
return cip;
|
706
|
-
}
|
707
|
-
|
708
|
-
std::string
|
709
|
-
encrypt(const couchbase::crypto::Cipher cipher, std::string_view key, std::string_view iv, std::string_view data)
|
710
|
-
{
|
711
|
-
unique_EVP_CIPHER_CTX_ptr ctx(EVP_CIPHER_CTX_new());
|
712
|
-
|
713
|
-
auto* cip = getCipher(cipher, key, iv);
|
714
|
-
if (EVP_EncryptInit_ex(
|
715
|
-
ctx.get(), cip, nullptr, reinterpret_cast<const uint8_t*>(key.data()), reinterpret_cast<const uint8_t*>(iv.data())) != 1) {
|
716
|
-
throw std::runtime_error("couchbase::crypto::encrypt: EVP_EncryptInit_ex failed");
|
717
|
-
}
|
718
|
-
|
719
|
-
std::string ret;
|
720
|
-
ret.resize(data.size() + static_cast<std::string_view::size_type>(EVP_CIPHER_block_size(cip)));
|
721
|
-
int len1 = int(ret.size());
|
722
|
-
|
723
|
-
if (EVP_EncryptUpdate(
|
724
|
-
ctx.get(), reinterpret_cast<uint8_t*>(ret.data()), &len1, reinterpret_cast<const uint8_t*>(data.data()), int(data.size())) != 1) {
|
725
|
-
throw std::runtime_error("couchbase::crypto::encrypt: EVP_EncryptUpdate failed");
|
726
|
-
}
|
727
|
-
|
728
|
-
int len2 = int(ret.size()) - len1;
|
729
|
-
if (EVP_EncryptFinal_ex(ctx.get(), reinterpret_cast<uint8_t*>(ret.data()) + len1, &len2) != 1) {
|
730
|
-
throw std::runtime_error("couchbase::crypto::encrypt: EVP_EncryptFinal_ex failed");
|
731
|
-
}
|
732
|
-
|
733
|
-
// Resize the destination to the sum of the two length fields
|
734
|
-
ret.resize(size_t(len1) + size_t(len2));
|
735
|
-
return ret;
|
736
|
-
}
|
737
|
-
|
738
|
-
std::string
|
739
|
-
decrypt(const couchbase::crypto::Cipher cipher, std::string_view key, std::string_view iv, std::string_view data)
|
740
|
-
{
|
741
|
-
unique_EVP_CIPHER_CTX_ptr ctx(EVP_CIPHER_CTX_new());
|
742
|
-
auto* cip = getCipher(cipher, key, iv);
|
743
|
-
|
744
|
-
if (EVP_DecryptInit_ex(
|
745
|
-
ctx.get(), cip, nullptr, reinterpret_cast<const uint8_t*>(key.data()), reinterpret_cast<const uint8_t*>(iv.data())) != 1) {
|
746
|
-
throw std::runtime_error("couchbase::crypto::decrypt: EVP_DecryptInit_ex failed");
|
747
|
-
}
|
748
|
-
|
749
|
-
std::string ret;
|
750
|
-
ret.resize(data.size());
|
751
|
-
int len1 = int(ret.size());
|
752
|
-
|
753
|
-
if (EVP_DecryptUpdate(
|
754
|
-
ctx.get(), reinterpret_cast<uint8_t*>(ret.data()), &len1, reinterpret_cast<const uint8_t*>(data.data()), int(data.size())) != 1) {
|
755
|
-
throw std::runtime_error("couchbase::crypto::decrypt: EVP_DecryptUpdate failed");
|
756
|
-
}
|
757
|
-
|
758
|
-
int len2 = int(data.size()) - len1;
|
759
|
-
if (EVP_DecryptFinal_ex(ctx.get(), reinterpret_cast<uint8_t*>(ret.data()) + len1, &len2) != 1) {
|
760
|
-
throw std::runtime_error("couchbase::crypto::decrypt: EVP_DecryptFinal_ex failed");
|
761
|
-
}
|
762
|
-
|
763
|
-
// Resize the destination to the sum of the two length fields
|
764
|
-
ret.resize(size_t(len1) + size_t(len2));
|
765
|
-
return ret;
|
766
|
-
}
|
767
|
-
|
768
|
-
#endif
|
769
|
-
|
770
|
-
} // namespace internal
|
771
|
-
|
772
|
-
std::string
|
773
|
-
couchbase::crypto::HMAC(const Algorithm algorithm, std::string_view key, std::string_view data)
|
774
|
-
{
|
775
|
-
switch (algorithm) {
|
776
|
-
case Algorithm::SHA1:
|
777
|
-
return internal::HMAC_SHA1(key, data);
|
778
|
-
case Algorithm::SHA256:
|
779
|
-
return internal::HMAC_SHA256(key, data);
|
780
|
-
case Algorithm::SHA512:
|
781
|
-
return internal::HMAC_SHA512(key, data);
|
782
|
-
}
|
783
|
-
|
784
|
-
throw std::invalid_argument("couchbase::crypto::HMAC: Unknown Algorithm: " + std::to_string(int(algorithm)));
|
785
|
-
}
|
786
|
-
|
787
|
-
std::string
|
788
|
-
couchbase::crypto::PBKDF2_HMAC(const Algorithm algorithm, const std::string& pass, std::string_view salt, unsigned int iterationCount)
|
789
|
-
{
|
790
|
-
switch (algorithm) {
|
791
|
-
case Algorithm::SHA1:
|
792
|
-
return internal::PBKDF2_HMAC_SHA1(pass, salt, iterationCount);
|
793
|
-
case Algorithm::SHA256:
|
794
|
-
return internal::PBKDF2_HMAC_SHA256(pass, salt, iterationCount);
|
795
|
-
case Algorithm::SHA512:
|
796
|
-
return internal::PBKDF2_HMAC_SHA512(pass, salt, iterationCount);
|
797
|
-
}
|
798
|
-
|
799
|
-
throw std::invalid_argument("couchbase::crypto::PBKDF2_HMAC: Unknown Algorithm: " + std::to_string(int(algorithm)));
|
800
|
-
}
|
801
|
-
|
802
|
-
static inline void
|
803
|
-
verifyLegalAlgorithm(const couchbase::crypto::Algorithm al)
|
804
|
-
{
|
805
|
-
switch (al) {
|
806
|
-
case couchbase::crypto::Algorithm::SHA1:
|
807
|
-
case couchbase::crypto::Algorithm::SHA256:
|
808
|
-
case couchbase::crypto::Algorithm::SHA512:
|
809
|
-
return;
|
810
|
-
}
|
811
|
-
throw std::invalid_argument("verifyLegalAlgorithm: Unknown Algorithm: " + std::to_string(int(al)));
|
812
|
-
}
|
813
|
-
|
814
|
-
bool
|
815
|
-
couchbase::crypto::isSupported(const Algorithm algorithm)
|
816
|
-
{
|
817
|
-
verifyLegalAlgorithm(algorithm);
|
818
|
-
|
819
|
-
return true;
|
820
|
-
}
|
821
|
-
|
822
|
-
std::string
|
823
|
-
couchbase::crypto::digest(const Algorithm algorithm, std::string_view data)
|
824
|
-
{
|
825
|
-
switch (algorithm) {
|
826
|
-
case Algorithm::SHA1:
|
827
|
-
return internal::digest_sha1(data);
|
828
|
-
case Algorithm::SHA256:
|
829
|
-
return internal::digest_sha256(data);
|
830
|
-
case Algorithm::SHA512:
|
831
|
-
return internal::digest_sha512(data);
|
832
|
-
}
|
833
|
-
|
834
|
-
throw std::invalid_argument("couchbase::crypto::digest: Unknown Algorithm" + std::to_string(int(algorithm)));
|
835
|
-
}
|
836
|
-
|
837
|
-
std::string
|
838
|
-
couchbase::crypto::encrypt(const Cipher cipher, std::string_view key, std::string_view iv, std::string_view data)
|
839
|
-
{
|
840
|
-
// We only support a single encryption scheme right now.
|
841
|
-
// Verify the input parameters (no need of calling the internal library
|
842
|
-
// functions in order to fetch these details)
|
843
|
-
if (cipher != Cipher::AES_256_cbc) {
|
844
|
-
throw std::invalid_argument("couchbase::crypto::encrypt(): Unsupported cipher");
|
845
|
-
}
|
846
|
-
|
847
|
-
if (key.size() != 32) {
|
848
|
-
throw std::invalid_argument("couchbase::crypto::encrypt(): Invalid key size: " + std::to_string(key.size()) + " (expected 32)");
|
849
|
-
}
|
850
|
-
|
851
|
-
if (iv.size() != 16) {
|
852
|
-
throw std::invalid_argument("couchbase::crypto::encrypt(): Invalid iv size: " + std::to_string(iv.size()) + " (expected 16)");
|
853
|
-
}
|
854
|
-
|
855
|
-
return internal::encrypt(cipher, key, iv, data);
|
856
|
-
}
|
857
|
-
|
858
|
-
std::string
|
859
|
-
couchbase::crypto::decrypt(const Cipher cipher, std::string_view key, std::string_view iv, std::string_view data)
|
860
|
-
{
|
861
|
-
// We only support a single decryption scheme right now.
|
862
|
-
// Verify the input parameters (no need of calling the internal library
|
863
|
-
// functions in order to fetch these details)
|
864
|
-
if (cipher != Cipher::AES_256_cbc) {
|
865
|
-
throw std::invalid_argument("couchbase::crypto::decrypt(): Unsupported cipher");
|
866
|
-
}
|
867
|
-
|
868
|
-
if (key.size() != 32) {
|
869
|
-
throw std::invalid_argument("couchbase::crypto::decrypt(): Invalid key size: " + std::to_string(key.size()) + " (expected 32)");
|
870
|
-
}
|
871
|
-
|
872
|
-
if (iv.size() != 16) {
|
873
|
-
throw std::invalid_argument("couchbase::crypto::decrypt(): Invalid iv size: " + std::to_string(iv.size()) + " (expected 16)");
|
874
|
-
}
|
875
|
-
|
876
|
-
return internal::decrypt(cipher, key, iv, data);
|
877
|
-
}
|
878
|
-
|
879
|
-
couchbase::crypto::Cipher
|
880
|
-
couchbase::crypto::to_cipher(const std::string& str)
|
881
|
-
{
|
882
|
-
if (str == "AES_256_cbc") {
|
883
|
-
return Cipher::AES_256_cbc;
|
884
|
-
}
|
885
|
-
|
886
|
-
throw std::invalid_argument("to_cipher: Unknown cipher: " + str);
|
887
|
-
}
|