couchbase 4.0.0 → 4.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1229) hide show
  1. package/deps/couchbase-cxx-client/.gitmodules +1 -1
  2. package/deps/couchbase-cxx-client/CMakeLists.txt +2 -0
  3. package/deps/couchbase-cxx-client/couchbase/analytics_scan_consistency.hxx +26 -0
  4. package/deps/couchbase-cxx-client/couchbase/capella_ca.hxx +43 -0
  5. package/deps/{couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol → couchbase-cxx-client/couchbase}/cas.hxx +2 -2
  6. package/deps/{couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol → couchbase-cxx-client/couchbase}/cas_fmt.hxx +3 -3
  7. package/deps/couchbase-cxx-client/couchbase/cluster.hxx +30 -0
  8. package/deps/couchbase-cxx-client/couchbase/cluster_options.hxx +3 -1
  9. package/deps/couchbase-cxx-client/couchbase/design_document_namespace.hxx +26 -0
  10. package/deps/{couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/design_document_fmt.hxx → couchbase-cxx-client/couchbase/design_document_namespace_fmt.hxx} +5 -5
  11. package/deps/couchbase-cxx-client/couchbase/diagnostics.hxx +1 -0
  12. package/deps/couchbase-cxx-client/couchbase/error_context/analytics.hxx +2 -0
  13. package/deps/couchbase-cxx-client/couchbase/error_context/http.hxx +2 -0
  14. package/deps/couchbase-cxx-client/couchbase/error_context/key_value.hxx +2 -2
  15. package/deps/couchbase-cxx-client/couchbase/error_context/query.hxx +2 -0
  16. package/deps/couchbase-cxx-client/couchbase/error_context/search.hxx +2 -0
  17. package/deps/couchbase-cxx-client/couchbase/error_context/view.hxx +2 -0
  18. package/deps/couchbase-cxx-client/couchbase/io/http_context.hxx +2 -0
  19. package/deps/couchbase-cxx-client/couchbase/io/http_session.hxx +14 -11
  20. package/deps/couchbase-cxx-client/couchbase/io/http_session_manager.hxx +53 -37
  21. package/deps/couchbase-cxx-client/couchbase/io/ip_protocol.hxx +28 -0
  22. package/deps/couchbase-cxx-client/couchbase/io/mcbp_command.hxx +22 -0
  23. package/deps/couchbase-cxx-client/couchbase/io/mcbp_session.hxx +27 -10
  24. package/deps/couchbase-cxx-client/couchbase/io/mcbp_traits.hxx +30 -0
  25. package/deps/couchbase-cxx-client/couchbase/io/streams.hxx +22 -0
  26. package/deps/couchbase-cxx-client/couchbase/management/CMakeLists.txt +13 -0
  27. package/deps/couchbase-cxx-client/couchbase/management/analytics_dataset.hxx +30 -0
  28. package/deps/couchbase-cxx-client/couchbase/management/analytics_index.hxx +30 -0
  29. package/deps/couchbase-cxx-client/couchbase/management/analytics_link.hxx +22 -0
  30. package/deps/{couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations → couchbase-cxx-client/couchbase}/management/analytics_link_azure_blob_external.cxx +5 -5
  31. package/deps/{couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations → couchbase-cxx-client/couchbase}/management/analytics_link_azure_blob_external.hxx +3 -3
  32. package/deps/{couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations → couchbase-cxx-client/couchbase}/management/analytics_link_azure_blob_external_json.hxx +4 -4
  33. package/deps/{couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations → couchbase-cxx-client/couchbase}/management/analytics_link_couchbase_remote.cxx +12 -12
  34. package/deps/{couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations → couchbase-cxx-client/couchbase}/management/analytics_link_couchbase_remote.hxx +8 -8
  35. package/deps/{couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations → couchbase-cxx-client/couchbase}/management/analytics_link_couchbase_remote_json.hxx +7 -7
  36. package/deps/{couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations → couchbase-cxx-client/couchbase}/management/analytics_link_s3_external.cxx +5 -5
  37. package/deps/couchbase-cxx-client/couchbase/{operations/management → management}/analytics_link_s3_external.hxx +3 -3
  38. package/deps/{couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations → couchbase-cxx-client/couchbase}/management/analytics_link_s3_external_json.hxx +4 -4
  39. package/deps/couchbase-cxx-client/couchbase/management/bucket_settings.hxx +134 -0
  40. package/deps/{couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations → couchbase-cxx-client/couchbase}/management/bucket_settings_json.hxx +29 -24
  41. package/deps/couchbase-cxx-client/couchbase/{operations/management → management}/design_document.hxx +5 -8
  42. package/deps/{couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations → couchbase-cxx-client/couchbase}/management/eventing_function.hxx +6 -10
  43. package/deps/{couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations → couchbase-cxx-client/couchbase}/management/eventing_function_json.hxx +29 -32
  44. package/deps/{couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations → couchbase-cxx-client/couchbase}/management/eventing_status.hxx +2 -2
  45. package/deps/{couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations → couchbase-cxx-client/couchbase}/management/eventing_status_json.hxx +15 -15
  46. package/deps/couchbase-cxx-client/couchbase/management/query_index.hxx +39 -0
  47. package/deps/couchbase-cxx-client/couchbase/{operations/management → management}/rbac.hxx +3 -2
  48. package/deps/{couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations → couchbase-cxx-client/couchbase}/management/rbac_fmt.hxx +6 -6
  49. package/deps/{couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations → couchbase-cxx-client/couchbase}/management/rbac_json.hxx +15 -15
  50. package/deps/{couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations → couchbase-cxx-client/couchbase}/management/search_index.hxx +5 -3
  51. package/deps/couchbase-cxx-client/couchbase/{operations/management → management}/search_index_json.hxx +4 -4
  52. package/deps/{couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol → couchbase-cxx-client/couchbase}/mutation_token.hxx +3 -0
  53. package/deps/couchbase-cxx-client/couchbase/{protocol/mutation_token_fmt.hxx → mutation_token_fmt.hxx} +1 -1
  54. package/deps/couchbase-cxx-client/couchbase/operations/document_analytics.cxx +2 -2
  55. package/deps/couchbase-cxx-client/couchbase/operations/document_analytics.hxx +2 -3
  56. package/deps/couchbase-cxx-client/couchbase/operations/document_append.cxx +0 -3
  57. package/deps/couchbase-cxx-client/couchbase/operations/document_append.hxx +11 -4
  58. package/deps/couchbase-cxx-client/couchbase/operations/document_decrement.cxx +0 -3
  59. package/deps/couchbase-cxx-client/couchbase/operations/document_decrement.hxx +11 -4
  60. package/deps/couchbase-cxx-client/couchbase/operations/document_exists.hxx +2 -2
  61. package/deps/couchbase-cxx-client/couchbase/operations/document_get.hxx +1 -1
  62. package/deps/couchbase-cxx-client/couchbase/operations/document_get_and_lock.hxx +1 -1
  63. package/deps/couchbase-cxx-client/couchbase/operations/document_get_and_touch.hxx +1 -1
  64. package/deps/couchbase-cxx-client/couchbase/operations/document_get_projected.hxx +1 -1
  65. package/deps/couchbase-cxx-client/couchbase/operations/document_increment.cxx +0 -3
  66. package/deps/couchbase-cxx-client/couchbase/operations/document_increment.hxx +9 -2
  67. package/deps/couchbase-cxx-client/couchbase/operations/document_insert.cxx +0 -3
  68. package/deps/couchbase-cxx-client/couchbase/operations/document_insert.hxx +9 -2
  69. package/deps/couchbase-cxx-client/couchbase/operations/document_lookup_in.hxx +1 -1
  70. package/deps/couchbase-cxx-client/couchbase/operations/document_mutate_in.cxx +0 -3
  71. package/deps/couchbase-cxx-client/couchbase/operations/document_mutate_in.hxx +12 -5
  72. package/deps/couchbase-cxx-client/couchbase/operations/document_prepend.cxx +0 -3
  73. package/deps/couchbase-cxx-client/couchbase/operations/document_prepend.hxx +9 -2
  74. package/deps/couchbase-cxx-client/couchbase/operations/document_query.cxx +6 -6
  75. package/deps/couchbase-cxx-client/couchbase/operations/document_query.hxx +5 -10
  76. package/deps/couchbase-cxx-client/couchbase/operations/document_remove.cxx +0 -3
  77. package/deps/couchbase-cxx-client/couchbase/operations/document_remove.hxx +10 -3
  78. package/deps/couchbase-cxx-client/couchbase/operations/document_replace.cxx +0 -3
  79. package/deps/couchbase-cxx-client/couchbase/operations/document_replace.hxx +10 -3
  80. package/deps/couchbase-cxx-client/couchbase/operations/document_search.cxx +2 -2
  81. package/deps/couchbase-cxx-client/couchbase/operations/document_search.hxx +5 -5
  82. package/deps/couchbase-cxx-client/couchbase/operations/document_touch.hxx +2 -2
  83. package/deps/couchbase-cxx-client/couchbase/operations/document_unlock.hxx +2 -2
  84. package/deps/couchbase-cxx-client/couchbase/operations/document_upsert.cxx +0 -3
  85. package/deps/couchbase-cxx-client/couchbase/operations/document_upsert.hxx +9 -2
  86. package/deps/couchbase-cxx-client/couchbase/operations/document_view.cxx +6 -6
  87. package/deps/couchbase-cxx-client/couchbase/operations/document_view.hxx +6 -10
  88. package/deps/couchbase-cxx-client/couchbase/operations/management/CMakeLists.txt +0 -3
  89. package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataset_create.cxx +1 -1
  90. package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataset_create.hxx +2 -6
  91. package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataset_drop.cxx +1 -1
  92. package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataset_drop.hxx +4 -8
  93. package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataset_get_all.cxx +2 -2
  94. package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataset_get_all.hxx +4 -14
  95. package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataverse_create.cxx +1 -1
  96. package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataverse_create.hxx +2 -6
  97. package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataverse_drop.cxx +1 -1
  98. package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataverse_drop.hxx +2 -6
  99. package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_get_pending_mutations.cxx +1 -1
  100. package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_get_pending_mutations.hxx +2 -6
  101. package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_index_create.cxx +1 -1
  102. package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_index_create.hxx +2 -6
  103. package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_index_drop.cxx +1 -1
  104. package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_index_drop.hxx +4 -8
  105. package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_index_get_all.cxx +2 -2
  106. package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_index_get_all.hxx +4 -14
  107. package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_create.hxx +2 -2
  108. package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_get_all.cxx +6 -6
  109. package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_get_all.hxx +4 -4
  110. package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_replace.hxx +2 -2
  111. package/deps/{couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link.hxx → couchbase-cxx-client/couchbase/operations/management/analytics_link_utils.hxx} +3 -6
  112. package/deps/couchbase-cxx-client/couchbase/operations/management/analytics_problem.hxx +30 -0
  113. package/deps/couchbase-cxx-client/couchbase/operations/management/bucket_create.cxx +22 -22
  114. package/deps/couchbase-cxx-client/couchbase/operations/management/bucket_create.hxx +2 -2
  115. package/deps/couchbase-cxx-client/couchbase/operations/management/bucket_describe.cxx +2 -2
  116. package/deps/couchbase-cxx-client/couchbase/operations/management/bucket_describe.hxx +11 -9
  117. package/deps/couchbase-cxx-client/couchbase/operations/management/bucket_get.cxx +2 -2
  118. package/deps/couchbase-cxx-client/couchbase/operations/management/bucket_get.hxx +4 -4
  119. package/deps/couchbase-cxx-client/couchbase/operations/management/bucket_get_all.cxx +2 -2
  120. package/deps/couchbase-cxx-client/couchbase/operations/management/bucket_get_all.hxx +2 -2
  121. package/deps/couchbase-cxx-client/couchbase/operations/management/bucket_update.cxx +13 -10
  122. package/deps/couchbase-cxx-client/couchbase/operations/management/bucket_update.hxx +3 -3
  123. package/deps/couchbase-cxx-client/couchbase/operations/management/cluster_describe.cxx +2 -2
  124. package/deps/couchbase-cxx-client/couchbase/operations/management/cluster_describe.hxx +19 -19
  125. package/deps/couchbase-cxx-client/couchbase/operations/management/error_utils.cxx +2 -2
  126. package/deps/couchbase-cxx-client/couchbase/operations/management/error_utils.hxx +1 -1
  127. package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_deploy_function.hxx +2 -2
  128. package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_drop_function.hxx +2 -2
  129. package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_get_all_functions.cxx +2 -2
  130. package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_get_all_functions.hxx +3 -3
  131. package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_get_function.cxx +2 -2
  132. package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_get_function.hxx +3 -3
  133. package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_get_status.cxx +2 -2
  134. package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_get_status.hxx +4 -4
  135. package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_pause_function.hxx +2 -2
  136. package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_problem.hxx +3 -3
  137. package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_resume_function.hxx +2 -2
  138. package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_undeploy_function.hxx +2 -2
  139. package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_upsert_function.cxx +25 -25
  140. package/deps/couchbase-cxx-client/couchbase/operations/management/eventing_upsert_function.hxx +3 -3
  141. package/deps/couchbase-cxx-client/couchbase/operations/management/group_get.cxx +2 -2
  142. package/deps/couchbase-cxx-client/couchbase/operations/management/group_get.hxx +4 -4
  143. package/deps/couchbase-cxx-client/couchbase/operations/management/group_get_all.cxx +2 -2
  144. package/deps/couchbase-cxx-client/couchbase/operations/management/group_get_all.hxx +2 -2
  145. package/deps/couchbase-cxx-client/couchbase/operations/management/group_upsert.hxx +2 -2
  146. package/deps/couchbase-cxx-client/couchbase/operations/management/query_index_build_deferred.cxx +20 -7
  147. package/deps/couchbase-cxx-client/couchbase/operations/management/query_index_build_deferred.hxx +2 -0
  148. package/deps/couchbase-cxx-client/couchbase/operations/management/query_index_create.cxx +18 -1
  149. package/deps/couchbase-cxx-client/couchbase/operations/management/query_index_drop.cxx +26 -4
  150. package/deps/couchbase-cxx-client/couchbase/operations/management/query_index_get_all.cxx +49 -19
  151. package/deps/couchbase-cxx-client/couchbase/operations/management/query_index_get_all.hxx +4 -17
  152. package/deps/couchbase-cxx-client/couchbase/operations/management/role_get_all.cxx +2 -2
  153. package/deps/couchbase-cxx-client/couchbase/operations/management/role_get_all.hxx +2 -2
  154. package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_get.cxx +2 -2
  155. package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_get.hxx +2 -2
  156. package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_get_all.cxx +2 -2
  157. package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_get_all.hxx +4 -4
  158. package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_upsert.cxx +1 -1
  159. package/deps/couchbase-cxx-client/couchbase/operations/management/search_index_upsert.hxx +2 -2
  160. package/deps/couchbase-cxx-client/couchbase/operations/management/user_drop.cxx +1 -1
  161. package/deps/couchbase-cxx-client/couchbase/operations/management/user_drop.hxx +4 -4
  162. package/deps/couchbase-cxx-client/couchbase/operations/management/user_get.cxx +3 -3
  163. package/deps/couchbase-cxx-client/couchbase/operations/management/user_get.hxx +5 -5
  164. package/deps/couchbase-cxx-client/couchbase/operations/management/user_get_all.cxx +3 -3
  165. package/deps/couchbase-cxx-client/couchbase/operations/management/user_get_all.hxx +3 -3
  166. package/deps/couchbase-cxx-client/couchbase/operations/management/user_upsert.cxx +1 -1
  167. package/deps/couchbase-cxx-client/couchbase/operations/management/user_upsert.hxx +3 -3
  168. package/deps/couchbase-cxx-client/couchbase/operations/management/view_index_drop.cxx +1 -2
  169. package/deps/couchbase-cxx-client/couchbase/operations/management/view_index_drop.hxx +2 -2
  170. package/deps/couchbase-cxx-client/couchbase/operations/management/view_index_get.cxx +3 -4
  171. package/deps/couchbase-cxx-client/couchbase/operations/management/view_index_get.hxx +3 -3
  172. package/deps/couchbase-cxx-client/couchbase/operations/management/view_index_get_all.cxx +7 -7
  173. package/deps/couchbase-cxx-client/couchbase/operations/management/view_index_get_all.hxx +3 -3
  174. package/deps/couchbase-cxx-client/couchbase/operations/management/view_index_upsert.cxx +1 -1
  175. package/deps/couchbase-cxx-client/couchbase/operations/management/view_index_upsert.hxx +2 -2
  176. package/deps/couchbase-cxx-client/couchbase/protocol/client_request.hxx +1 -1
  177. package/deps/couchbase-cxx-client/couchbase/protocol/client_response.hxx +3 -4
  178. package/deps/couchbase-cxx-client/couchbase/protocol/cmd_append.hxx +1 -1
  179. package/deps/couchbase-cxx-client/couchbase/protocol/cmd_decrement.hxx +2 -2
  180. package/deps/couchbase-cxx-client/couchbase/protocol/cmd_exists.hxx +3 -3
  181. package/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_meta.hxx +1 -1
  182. package/deps/couchbase-cxx-client/couchbase/protocol/cmd_increment.hxx +2 -2
  183. package/deps/couchbase-cxx-client/couchbase/protocol/cmd_insert.hxx +1 -1
  184. package/deps/couchbase-cxx-client/couchbase/protocol/cmd_mutate_in.hxx +1 -1
  185. package/deps/couchbase-cxx-client/couchbase/protocol/cmd_prepend.hxx +1 -1
  186. package/deps/couchbase-cxx-client/couchbase/protocol/cmd_remove.hxx +1 -1
  187. package/deps/couchbase-cxx-client/couchbase/protocol/cmd_replace.hxx +1 -1
  188. package/deps/couchbase-cxx-client/couchbase/protocol/cmd_upsert.hxx +1 -1
  189. package/deps/couchbase-cxx-client/couchbase/protocol/server_request.hxx +2 -2
  190. package/deps/couchbase-cxx-client/couchbase/query_profile_mode.hxx +27 -0
  191. package/deps/couchbase-cxx-client/couchbase/query_scan_consistency.hxx +23 -0
  192. package/deps/couchbase-cxx-client/couchbase/search_highlight_style.hxx +23 -0
  193. package/deps/couchbase-cxx-client/couchbase/search_scan_consistency.hxx +23 -0
  194. package/deps/couchbase-cxx-client/couchbase/timeout_defaults.hxx +2 -1
  195. package/deps/couchbase-cxx-client/couchbase/topology/collections_manifest.hxx +2 -0
  196. package/deps/couchbase-cxx-client/couchbase/utils/connection_string.cxx +22 -1
  197. package/deps/couchbase-cxx-client/couchbase/view_scan_consistency.hxx +27 -0
  198. package/deps/couchbase-cxx-client/couchbase/view_sort_order.hxx +23 -0
  199. package/deps/couchbase-cxx-client/test/test_integration_arithmetic.cxx +24 -0
  200. package/deps/couchbase-cxx-client/test/test_integration_binary_operations.cxx +1 -1
  201. package/deps/couchbase-cxx-client/test/test_integration_connect.cxx +26 -0
  202. package/deps/couchbase-cxx-client/test/test_integration_crud.cxx +5 -5
  203. package/deps/couchbase-cxx-client/test/test_integration_management.cxx +377 -132
  204. package/deps/couchbase-cxx-client/test/test_integration_subdoc.cxx +6 -6
  205. package/deps/couchbase-cxx-client/test/utils/integration_test_guard.cxx +2 -2
  206. package/deps/couchbase-cxx-client/test/utils/integration_test_guard.hxx +8 -7
  207. package/deps/couchbase-cxx-client/test/utils/server_version.hxx +11 -1
  208. package/deps/couchbase-cxx-client/third_party/json/.github/workflows/clang-format.yml +2 -2
  209. package/deps/couchbase-cxx-client/third_party/json/.gitmodules +2 -1
  210. package/deps/couchbase-cxx-client/third_party/json/LICENSE +1 -1
  211. package/deps/couchbase-cxx-client/third_party/json/README.md +1 -1
  212. package/deps/couchbase-cxx-client/third_party/json/doc/Advanced-Use-Cases.md +1 -1
  213. package/deps/couchbase-cxx-client/third_party/json/doc/Batteries-Included.md +1 -1
  214. package/deps/couchbase-cxx-client/third_party/json/doc/Binding-Traits.md +1 -1
  215. package/deps/couchbase-cxx-client/third_party/json/doc/Changelog.md +1 -1
  216. package/deps/couchbase-cxx-client/third_party/json/doc/Common-Use-Cases.md +1 -1
  217. package/deps/couchbase-cxx-client/third_party/json/doc/Design-Decisions.md +1 -1
  218. package/deps/couchbase-cxx-client/third_party/json/doc/Events-Interface.md +1 -1
  219. package/deps/couchbase-cxx-client/third_party/json/doc/Getting-Started.md +1 -1
  220. package/deps/couchbase-cxx-client/third_party/json/doc/Instance-Sharing.md +1 -1
  221. package/deps/couchbase-cxx-client/third_party/json/doc/Interoperability.md +1 -1
  222. package/deps/couchbase-cxx-client/third_party/json/doc/Overview.md +1 -1
  223. package/deps/couchbase-cxx-client/third_party/json/doc/Parser-Interface.md +1 -1
  224. package/deps/couchbase-cxx-client/third_party/json/doc/README.md +1 -1
  225. package/deps/couchbase-cxx-client/third_party/json/doc/Scratchpad.md +1 -1
  226. package/deps/couchbase-cxx-client/third_party/json/doc/Type-Traits.md +1 -1
  227. package/deps/couchbase-cxx-client/third_party/json/doc/Value-Class.md +1 -1
  228. package/deps/couchbase-cxx-client/third_party/json/external/PEGTL/.github/workflows/clang-format.yml +2 -2
  229. package/deps/couchbase-cxx-client/third_party/json/external/PEGTL/.github/workflows/codeql-analysis.yml +2 -2
  230. package/deps/couchbase-cxx-client/third_party/json/external/PEGTL/README.md +9 -9
  231. package/deps/couchbase-cxx-client/third_party/json/external/PEGTL/doc/Actions-and-States.md +2 -1
  232. package/deps/couchbase-cxx-client/third_party/json/external/PEGTL/doc/Changelog.md +30 -1
  233. package/deps/couchbase-cxx-client/third_party/json/external/PEGTL/doc/Contrib-and-Examples.md +5 -0
  234. package/deps/couchbase-cxx-client/third_party/json/external/PEGTL/doc/README.md +1 -0
  235. package/deps/couchbase-cxx-client/third_party/json/external/PEGTL/doc/Rule-Reference.md +7 -0
  236. package/deps/couchbase-cxx-client/third_party/json/external/PEGTL/include/tao/pegtl/ascii.hpp +1 -0
  237. package/deps/couchbase-cxx-client/third_party/json/external/PEGTL/include/tao/pegtl/buffer_input.hpp +1 -1
  238. package/deps/couchbase-cxx-client/third_party/json/external/PEGTL/include/tao/pegtl/change_action_and_state.hpp +24 -6
  239. package/deps/couchbase-cxx-client/third_party/json/external/PEGTL/include/tao/pegtl/change_state.hpp +25 -6
  240. package/deps/couchbase-cxx-client/third_party/json/external/PEGTL/include/tao/pegtl/contrib/add_state.hpp +69 -0
  241. package/deps/couchbase-cxx-client/third_party/json/external/PEGTL/include/tao/pegtl/contrib/http.hpp +1 -1
  242. package/deps/couchbase-cxx-client/third_party/json/external/PEGTL/include/tao/pegtl/contrib/integer.hpp +47 -15
  243. package/deps/couchbase-cxx-client/third_party/json/external/PEGTL/include/tao/pegtl/contrib/iri.hpp +106 -0
  244. package/deps/couchbase-cxx-client/third_party/json/external/PEGTL/include/tao/pegtl/contrib/proto3.hpp +142 -0
  245. package/deps/couchbase-cxx-client/third_party/json/external/PEGTL/include/tao/pegtl/contrib/separated_seq.hpp +45 -0
  246. package/deps/couchbase-cxx-client/third_party/json/external/PEGTL/include/tao/pegtl/contrib/state_control.hpp +8 -4
  247. package/deps/couchbase-cxx-client/third_party/json/external/PEGTL/include/tao/pegtl/contrib/uri.hpp +2 -6
  248. package/deps/couchbase-cxx-client/third_party/json/external/PEGTL/include/tao/pegtl/demangle.hpp +111 -76
  249. package/deps/couchbase-cxx-client/third_party/json/external/PEGTL/include/tao/pegtl/internal/dependent_true.hpp +16 -0
  250. package/deps/couchbase-cxx-client/third_party/json/external/PEGTL/include/tao/pegtl/internal/state.hpp +29 -13
  251. package/deps/couchbase-cxx-client/third_party/json/external/PEGTL/include/tao/pegtl/version.hpp +3 -3
  252. package/deps/couchbase-cxx-client/third_party/json/external/PEGTL/src/example/pegtl/CMakeLists.txt +1 -0
  253. package/deps/couchbase-cxx-client/third_party/json/external/PEGTL/src/example/pegtl/iri.cpp +101 -0
  254. package/deps/couchbase-cxx-client/third_party/json/external/PEGTL/src/example/pegtl/proto3.cpp +1 -116
  255. package/deps/couchbase-cxx-client/third_party/json/external/PEGTL/src/test/pegtl/CMakeLists.txt +2 -0
  256. package/deps/couchbase-cxx-client/third_party/json/external/PEGTL/src/test/pegtl/contrib_integer.cpp +29 -29
  257. package/deps/couchbase-cxx-client/third_party/json/external/PEGTL/src/test/pegtl/contrib_iri.cpp +57 -0
  258. package/deps/couchbase-cxx-client/third_party/json/external/PEGTL/src/test/pegtl/contrib_separated_seq.cpp +24 -0
  259. package/deps/couchbase-cxx-client/third_party/json/external/PEGTL/src/test/pegtl/contrib_uri.cpp +19 -18
  260. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/basic_value.hpp +30 -10
  261. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/binary.hpp +1 -1
  262. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/binary_view.hpp +1 -1
  263. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/binding/constant.hpp +1 -1
  264. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/binding/element.hpp +13 -124
  265. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/binding/element2.hpp +35 -0
  266. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/binding/factory.hpp +1 -1
  267. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/binding/for_nothing_value.hpp +1 -1
  268. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/binding/for_unknown_key.hpp +1 -1
  269. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/binding/inherit.hpp +1 -1
  270. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/binding/internal/array.hpp +1 -1
  271. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/binding/internal/elementr.hpp +134 -0
  272. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/binding/internal/elementw.hpp +251 -0
  273. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/binding/internal/inherit.hpp +1 -1
  274. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/binding/internal/object.hpp +1 -1
  275. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/binding/internal/type_key.hpp +1 -1
  276. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/binding/member.hpp +17 -2
  277. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/binding/member_kind.hpp +1 -1
  278. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/binding/versions.hpp +1 -1
  279. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/binding.hpp +4 -1
  280. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/cbor/consume_file.hpp +1 -1
  281. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/cbor/consume_string.hpp +1 -1
  282. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/cbor/events/from_binary.hpp +1 -1
  283. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/cbor/events/from_file.hpp +1 -1
  284. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/cbor/events/from_input.hpp +1 -1
  285. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/cbor/events/from_string.hpp +1 -1
  286. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/cbor/events/to_stream.hpp +1 -1
  287. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/cbor/events/to_string.hpp +1 -1
  288. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/cbor/from_binary.hpp +1 -1
  289. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/cbor/from_file.hpp +1 -1
  290. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/cbor/from_input.hpp +1 -1
  291. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/cbor/from_string.hpp +1 -1
  292. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/cbor/internal/grammar.hpp +2 -2
  293. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/cbor/internal/major.hpp +1 -1
  294. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/cbor/parts_parser.hpp +1 -1
  295. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/cbor/to_stream.hpp +1 -1
  296. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/cbor/to_string.hpp +1 -1
  297. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/cbor.hpp +1 -1
  298. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/consume.hpp +1 -1
  299. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/consume_file.hpp +1 -1
  300. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/consume_string.hpp +1 -1
  301. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/contrib/array_traits.hpp +2 -2
  302. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/contrib/deque_traits.hpp +1 -1
  303. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/contrib/diff.hpp +2 -2
  304. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/contrib/get.hpp +1 -1
  305. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/contrib/internal/array_traits.hpp +1 -1
  306. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/contrib/internal/indirect_traits.hpp +1 -1
  307. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/contrib/internal/object_traits.hpp +1 -1
  308. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/contrib/internal/type_traits.hpp +1 -1
  309. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/contrib/list_traits.hpp +1 -1
  310. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/contrib/map_traits.hpp +1 -1
  311. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/contrib/multimap_traits.hpp +1 -1
  312. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/contrib/multiset_traits.hpp +1 -1
  313. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/contrib/pair_traits.hpp +1 -1
  314. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/contrib/patch.hpp +1 -1
  315. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/contrib/position.hpp +1 -1
  316. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/contrib/reference.hpp +1 -1
  317. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/contrib/schema.hpp +1 -1
  318. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/contrib/set_traits.hpp +1 -1
  319. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/contrib/shared_ptr_traits.hpp +1 -1
  320. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/contrib/traits.hpp +1 -1
  321. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/contrib/tuple_traits.hpp +1 -1
  322. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/contrib/unique_ptr_traits.hpp +1 -1
  323. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/contrib/unordered_map_traits.hpp +1 -1
  324. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/contrib/unordered_set_traits.hpp +1 -1
  325. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/contrib/variant_traits.hpp +1 -1
  326. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/contrib/vector_bool_traits.hpp +1 -1
  327. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/contrib/vector_traits.hpp +1 -1
  328. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/events/apply.hpp +1 -1
  329. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/events/binary_to_base64.hpp +1 -1
  330. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/events/binary_to_base64url.hpp +1 -1
  331. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/events/binary_to_exception.hpp +1 -1
  332. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/events/binary_to_hex.hpp +1 -1
  333. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/events/compare.hpp +1 -1
  334. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/events/debug.hpp +1 -1
  335. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/events/discard.hpp +1 -1
  336. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/events/from_file.hpp +1 -1
  337. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/events/from_input.hpp +1 -1
  338. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/events/from_stream.hpp +1 -1
  339. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/events/from_string.hpp +1 -1
  340. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/events/from_value.hpp +3 -3
  341. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/events/hash.hpp +1 -1
  342. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/events/invalid_string_to_binary.hpp +1 -1
  343. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/events/invalid_string_to_exception.hpp +1 -1
  344. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/events/invalid_string_to_hex.hpp +1 -1
  345. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/events/key_camel_case_to_snake_case.hpp +1 -1
  346. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/events/key_snake_case_to_camel_case.hpp +1 -1
  347. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/events/limit_nesting_depth.hpp +1 -1
  348. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/events/limit_value_count.hpp +1 -1
  349. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/events/non_finite_to_exception.hpp +1 -1
  350. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/events/non_finite_to_null.hpp +1 -1
  351. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/events/non_finite_to_string.hpp +1 -1
  352. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/events/prefer_signed.hpp +1 -1
  353. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/events/prefer_unsigned.hpp +1 -1
  354. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/events/produce.hpp +99 -1
  355. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/events/ref.hpp +4 -1
  356. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/events/statistics.hpp +1 -1
  357. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/events/tee.hpp +1 -1
  358. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/events/to_pretty_stream.hpp +1 -1
  359. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/events/to_stream.hpp +1 -1
  360. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/events/to_string.hpp +1 -1
  361. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/events/to_value.hpp +1 -1
  362. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/events/transformer.hpp +1 -1
  363. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/events/validate_event_order.hpp +1 -1
  364. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/events/validate_keys.hpp +1 -1
  365. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/events/virtual_base.hpp +1 -1
  366. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/events/virtual_ref.hpp +4 -1
  367. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/events/virtual_wrap.hpp +166 -0
  368. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/events.hpp +6 -1
  369. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/external/double.hpp +2 -2
  370. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/external/itoa.hpp +12 -10
  371. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/external/ryu.hpp +4 -4
  372. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/forward.hpp +3 -3
  373. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/from_file.hpp +1 -1
  374. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/from_input.hpp +1 -1
  375. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/from_stream.hpp +1 -1
  376. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/from_string.hpp +1 -1
  377. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/internal/action.hpp +3 -3
  378. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/internal/base64.hpp +1 -1
  379. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/internal/base64url.hpp +1 -1
  380. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/internal/dependent_false.hpp +1 -1
  381. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/internal/endian.hpp +1 -1
  382. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/internal/endian_gcc.hpp +1 -1
  383. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/internal/endian_win.hpp +1 -1
  384. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/internal/errors.hpp +1 -1
  385. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/internal/escape.hpp +1 -1
  386. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/internal/filesystem.hpp +1 -1
  387. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/internal/format.hpp +1 -1
  388. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/internal/grammar.hpp +1 -1
  389. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/internal/hexdump.hpp +1 -1
  390. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/internal/identity.hpp +1 -1
  391. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/internal/number_state.hpp +2 -2
  392. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/internal/number_traits.hpp +1 -1
  393. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/internal/pair.hpp +1 -1
  394. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/internal/parse_util.hpp +1 -1
  395. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/internal/sha256.hpp +1 -1
  396. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/internal/single.hpp +1 -1
  397. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/internal/string_t.hpp +1 -1
  398. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/internal/type_traits.hpp +1 -1
  399. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/internal/unescape_action.hpp +1 -1
  400. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/internal/uri_fragment.hpp +1 -1
  401. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/jaxn/consume_file.hpp +1 -1
  402. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/jaxn/consume_string.hpp +1 -1
  403. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/jaxn/events/from_file.hpp +1 -1
  404. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/jaxn/events/from_input.hpp +1 -1
  405. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/jaxn/events/from_stream.hpp +1 -1
  406. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/jaxn/events/from_string.hpp +1 -1
  407. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/jaxn/events/to_pretty_stream.hpp +1 -1
  408. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/jaxn/events/to_stream.hpp +1 -1
  409. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/jaxn/events/to_string.hpp +1 -1
  410. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/jaxn/from_file.hpp +1 -1
  411. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/jaxn/from_input.hpp +1 -1
  412. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/jaxn/from_stream.hpp +1 -1
  413. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/jaxn/from_string.hpp +1 -1
  414. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/jaxn/internal/action.hpp +3 -3
  415. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/jaxn/internal/bunescape_action.hpp +1 -1
  416. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/jaxn/internal/errors.hpp +1 -1
  417. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/jaxn/internal/grammar.hpp +1 -1
  418. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/jaxn/internal/integer.hpp +6 -6
  419. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/jaxn/internal/unescape_action.hpp +1 -1
  420. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/jaxn/is_identifier.hpp +1 -1
  421. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/jaxn/parts_parser.hpp +1 -1
  422. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/jaxn/to_stream.hpp +1 -1
  423. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/jaxn/to_string.hpp +1 -1
  424. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/jaxn.hpp +1 -1
  425. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/message_extension.hpp +1 -1
  426. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/msgpack/consume_file.hpp +1 -1
  427. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/msgpack/consume_string.hpp +1 -1
  428. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/msgpack/events/from_binary.hpp +1 -1
  429. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/msgpack/events/from_file.hpp +1 -1
  430. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/msgpack/events/from_input.hpp +1 -1
  431. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/msgpack/events/from_string.hpp +1 -1
  432. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/msgpack/events/to_stream.hpp +1 -1
  433. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/msgpack/events/to_string.hpp +1 -1
  434. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/msgpack/from_binary.hpp +1 -1
  435. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/msgpack/from_file.hpp +1 -1
  436. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/msgpack/from_input.hpp +1 -1
  437. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/msgpack/from_string.hpp +1 -1
  438. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/msgpack/internal/format.hpp +1 -1
  439. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/msgpack/internal/grammar.hpp +1 -1
  440. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/msgpack/parts_parser.hpp +1 -1
  441. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/msgpack/to_stream.hpp +1 -1
  442. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/msgpack/to_string.hpp +1 -1
  443. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/msgpack.hpp +1 -1
  444. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/operators.hpp +1 -1
  445. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/parts_parser.hpp +1 -1
  446. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/pointer.hpp +1 -1
  447. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/produce.hpp +1 -1
  448. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/self_contained.hpp +6 -7
  449. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/span.hpp +17 -17
  450. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/stream.hpp +1 -1
  451. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/to_stream.hpp +1 -1
  452. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/to_string.hpp +1 -1
  453. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/traits.hpp +1 -1
  454. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/type.hpp +7 -7
  455. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/ubjson/consume_file.hpp +1 -1
  456. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/ubjson/consume_string.hpp +1 -1
  457. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/ubjson/events/from_binary.hpp +1 -1
  458. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/ubjson/events/from_file.hpp +1 -1
  459. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/ubjson/events/from_input.hpp +1 -1
  460. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/ubjson/events/from_string.hpp +1 -1
  461. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/ubjson/events/to_stream.hpp +1 -1
  462. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/ubjson/events/to_string.hpp +1 -1
  463. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/ubjson/from_binary.hpp +1 -1
  464. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/ubjson/from_file.hpp +1 -1
  465. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/ubjson/from_input.hpp +1 -1
  466. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/ubjson/from_string.hpp +1 -1
  467. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/ubjson/internal/grammar.hpp +1 -1
  468. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/ubjson/internal/marker.hpp +1 -1
  469. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/ubjson/parts_parser.hpp +1 -1
  470. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/ubjson/to_stream.hpp +1 -1
  471. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/ubjson/to_string.hpp +1 -1
  472. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/ubjson.hpp +1 -1
  473. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/utf8.hpp +1 -1
  474. package/deps/couchbase-cxx-client/third_party/json/include/tao/json/value.hpp +1 -1
  475. package/deps/couchbase-cxx-client/third_party/json/include/tao/json.hpp +1 -1
  476. package/deps/couchbase-cxx-client/third_party/json/src/example/json/cbor_to_jaxn.cpp +1 -1
  477. package/deps/couchbase-cxx-client/third_party/json/src/example/json/cbor_to_json.cpp +1 -1
  478. package/deps/couchbase-cxx-client/third_party/json/src/example/json/cbor_to_msgpack.cpp +1 -1
  479. package/deps/couchbase-cxx-client/third_party/json/src/example/json/cbor_to_pretty_jaxn.cpp +1 -1
  480. package/deps/couchbase-cxx-client/third_party/json/src/example/json/cbor_to_pretty_json.cpp +1 -1
  481. package/deps/couchbase-cxx-client/third_party/json/src/example/json/cbor_to_ubjson.cpp +1 -1
  482. package/deps/couchbase-cxx-client/third_party/json/src/example/json/jaxn_to_cbor.cpp +1 -1
  483. package/deps/couchbase-cxx-client/third_party/json/src/example/json/jaxn_to_cplusplus.cpp +2 -2
  484. package/deps/couchbase-cxx-client/third_party/json/src/example/json/jaxn_to_jaxn.cpp +1 -1
  485. package/deps/couchbase-cxx-client/third_party/json/src/example/json/jaxn_to_msgpack.cpp +1 -1
  486. package/deps/couchbase-cxx-client/third_party/json/src/example/json/jaxn_to_pretty_jaxn.cpp +1 -1
  487. package/deps/couchbase-cxx-client/third_party/json/src/example/json/jaxn_to_ubjson.cpp +1 -1
  488. package/deps/couchbase-cxx-client/third_party/json/src/example/json/json_to_cbor.cpp +1 -1
  489. package/deps/couchbase-cxx-client/third_party/json/src/example/json/json_to_json.cpp +1 -1
  490. package/deps/couchbase-cxx-client/third_party/json/src/example/json/json_to_msgpack.cpp +1 -1
  491. package/deps/couchbase-cxx-client/third_party/json/src/example/json/json_to_pretty_json.cpp +1 -1
  492. package/deps/couchbase-cxx-client/third_party/json/src/example/json/json_to_ubjson.cpp +1 -1
  493. package/deps/couchbase-cxx-client/third_party/json/src/example/json/msgpack_to_cbor.cpp +1 -1
  494. package/deps/couchbase-cxx-client/third_party/json/src/example/json/msgpack_to_jaxn.cpp +1 -1
  495. package/deps/couchbase-cxx-client/third_party/json/src/example/json/msgpack_to_json.cpp +1 -1
  496. package/deps/couchbase-cxx-client/third_party/json/src/example/json/msgpack_to_pretty_jaxn.cpp +1 -1
  497. package/deps/couchbase-cxx-client/third_party/json/src/example/json/msgpack_to_pretty_json.cpp +1 -1
  498. package/deps/couchbase-cxx-client/third_party/json/src/example/json/msgpack_to_ubjson.cpp +1 -1
  499. package/deps/couchbase-cxx-client/third_party/json/src/example/json/printf_doubles.cpp +1 -1
  500. package/deps/couchbase-cxx-client/third_party/json/src/example/json/ubjson_to_cbor.cpp +1 -1
  501. package/deps/couchbase-cxx-client/third_party/json/src/example/json/ubjson_to_jaxn.cpp +1 -1
  502. package/deps/couchbase-cxx-client/third_party/json/src/example/json/ubjson_to_json.cpp +1 -1
  503. package/deps/couchbase-cxx-client/third_party/json/src/example/json/ubjson_to_msgpack.cpp +1 -1
  504. package/deps/couchbase-cxx-client/third_party/json/src/example/json/ubjson_to_pretty_jaxn.cpp +1 -1
  505. package/deps/couchbase-cxx-client/third_party/json/src/example/json/ubjson_to_pretty_json.cpp +1 -1
  506. package/deps/couchbase-cxx-client/third_party/json/src/example/json/validate_event_order.cpp +1 -1
  507. package/deps/couchbase-cxx-client/third_party/json/src/example/json/validate_integer.cpp +2 -2
  508. package/deps/couchbase-cxx-client/third_party/json/src/perf/json/bench_mark.hpp +1 -1
  509. package/deps/couchbase-cxx-client/third_party/json/src/perf/json/benchmark.cpp +1 -1
  510. package/deps/couchbase-cxx-client/third_party/json/src/perf/json/parse_file.cpp +1 -1
  511. package/deps/couchbase-cxx-client/third_party/json/src/perf/json/pretty_print_file.cpp +1 -1
  512. package/deps/couchbase-cxx-client/third_party/json/src/perf/json/print_double.cpp +1 -1
  513. package/deps/couchbase-cxx-client/third_party/json/src/perf/json/print_file.cpp +1 -1
  514. package/deps/couchbase-cxx-client/third_party/json/src/perf/json/sizes.cpp +1 -1
  515. package/deps/couchbase-cxx-client/third_party/json/src/perf/json/syntax_only.cpp +1 -1
  516. package/deps/couchbase-cxx-client/third_party/json/src/test/json/CMakeLists.txt +1 -0
  517. package/deps/couchbase-cxx-client/third_party/json/src/test/json/big_list_of_naughty_strings.cpp +1 -1
  518. package/deps/couchbase-cxx-client/third_party/json/src/test/json/binding_array.cpp +1 -1
  519. package/deps/couchbase-cxx-client/third_party/json/src/test/json/binding_factory.cpp +1 -1
  520. package/deps/couchbase-cxx-client/third_party/json/src/test/json/binding_function.cpp +278 -0
  521. package/deps/couchbase-cxx-client/third_party/json/src/test/json/binding_object.cpp +1 -1
  522. package/deps/couchbase-cxx-client/third_party/json/src/test/json/binding_versions.cpp +1 -1
  523. package/deps/couchbase-cxx-client/third_party/json/src/test/json/cbor.cpp +1 -1
  524. package/deps/couchbase-cxx-client/third_party/json/src/test/json/cbor_parts_parser.cpp +1 -1
  525. package/deps/couchbase-cxx-client/third_party/json/src/test/json/contrib_diff.cpp +1 -1
  526. package/deps/couchbase-cxx-client/third_party/json/src/test/json/contrib_get.cpp +1 -1
  527. package/deps/couchbase-cxx-client/third_party/json/src/test/json/contrib_patch_add.cpp +1 -1
  528. package/deps/couchbase-cxx-client/third_party/json/src/test/json/contrib_patch_copy.cpp +1 -1
  529. package/deps/couchbase-cxx-client/third_party/json/src/test/json/contrib_patch_move.cpp +1 -1
  530. package/deps/couchbase-cxx-client/third_party/json/src/test/json/contrib_patch_remove.cpp +1 -1
  531. package/deps/couchbase-cxx-client/third_party/json/src/test/json/contrib_patch_replace.cpp +1 -1
  532. package/deps/couchbase-cxx-client/third_party/json/src/test/json/contrib_patch_test.cpp +1 -1
  533. package/deps/couchbase-cxx-client/third_party/json/src/test/json/contrib_position.cpp +1 -1
  534. package/deps/couchbase-cxx-client/third_party/json/src/test/json/contrib_reference.cpp +1 -1
  535. package/deps/couchbase-cxx-client/third_party/json/src/test/json/contrib_schema.cpp +1 -1
  536. package/deps/couchbase-cxx-client/third_party/json/src/test/json/contrib_traits.cpp +36 -1
  537. package/deps/couchbase-cxx-client/third_party/json/src/test/json/double.cpp +1 -1
  538. package/deps/couchbase-cxx-client/third_party/json/src/test/json/enable_implicit_constructor.cpp +1 -1
  539. package/deps/couchbase-cxx-client/third_party/json/src/test/json/escape.cpp +1 -1
  540. package/deps/couchbase-cxx-client/third_party/json/src/test/json/events_binary_to.cpp +1 -1
  541. package/deps/couchbase-cxx-client/third_party/json/src/test/json/events_compare.cpp +1 -1
  542. package/deps/couchbase-cxx-client/third_party/json/src/test/json/events_debug.cpp +1 -1
  543. package/deps/couchbase-cxx-client/third_party/json/src/test/json/events_hash.cpp +1 -1
  544. package/deps/couchbase-cxx-client/third_party/json/src/test/json/events_to_stream.cpp +1 -1
  545. package/deps/couchbase-cxx-client/third_party/json/src/test/json/events_to_string.cpp +1 -1
  546. package/deps/couchbase-cxx-client/third_party/json/src/test/json/include_json.cpp +1 -1
  547. package/deps/couchbase-cxx-client/third_party/json/src/test/json/integer.cpp +1 -1
  548. package/deps/couchbase-cxx-client/third_party/json/src/test/json/jaxn_ostream.cpp +1 -1
  549. package/deps/couchbase-cxx-client/third_party/json/src/test/json/jaxn_parse.cpp +1 -1
  550. package/deps/couchbase-cxx-client/third_party/json/src/test/json/jaxn_parts_parser.cpp +1 -1
  551. package/deps/couchbase-cxx-client/third_party/json/src/test/json/json_ostream.cpp +1 -1
  552. package/deps/couchbase-cxx-client/third_party/json/src/test/json/json_parse.cpp +1 -1
  553. package/deps/couchbase-cxx-client/third_party/json/src/test/json/json_parts_parser.cpp +1 -1
  554. package/deps/couchbase-cxx-client/third_party/json/src/test/json/json_pointer.cpp +1 -1
  555. package/deps/couchbase-cxx-client/third_party/json/src/test/json/key_camel_case_to_snake_case.cpp +1 -1
  556. package/deps/couchbase-cxx-client/third_party/json/src/test/json/key_snake_case_to_camel_case.cpp +1 -1
  557. package/deps/couchbase-cxx-client/third_party/json/src/test/json/literal.cpp +1 -1
  558. package/deps/couchbase-cxx-client/third_party/json/src/test/json/main.hpp +1 -1
  559. package/deps/couchbase-cxx-client/third_party/json/src/test/json/make_events.hpp +1 -1
  560. package/deps/couchbase-cxx-client/third_party/json/src/test/json/msgpack.cpp +1 -1
  561. package/deps/couchbase-cxx-client/third_party/json/src/test/json/object_construction.cpp +1 -1
  562. package/deps/couchbase-cxx-client/third_party/json/src/test/json/opaque_pointer.cpp +5 -5
  563. package/deps/couchbase-cxx-client/third_party/json/src/test/json/operators.cpp +1 -1
  564. package/deps/couchbase-cxx-client/third_party/json/src/test/json/optional.cpp +1 -1
  565. package/deps/couchbase-cxx-client/third_party/json/src/test/json/public_base.cpp +1 -1
  566. package/deps/couchbase-cxx-client/third_party/json/src/test/json/self_contained.cpp +1 -1
  567. package/deps/couchbase-cxx-client/third_party/json/src/test/json/sha256.cpp +1 -1
  568. package/deps/couchbase-cxx-client/third_party/json/src/test/json/temporary_parsing.cpp +1 -1
  569. package/deps/couchbase-cxx-client/third_party/json/src/test/json/test.hpp +1 -1
  570. package/deps/couchbase-cxx-client/third_party/json/src/test/json/test_events.hpp +1 -1
  571. package/deps/couchbase-cxx-client/third_party/json/src/test/json/test_types.hpp +1 -1
  572. package/deps/couchbase-cxx-client/third_party/json/src/test/json/test_unhex.hpp +1 -1
  573. package/deps/couchbase-cxx-client/third_party/json/src/test/json/type.cpp +1 -1
  574. package/deps/couchbase-cxx-client/third_party/json/src/test/json/ubjson.cpp +1 -1
  575. package/deps/couchbase-cxx-client/third_party/json/src/test/json/uri_fragment.cpp +1 -1
  576. package/deps/couchbase-cxx-client/third_party/json/src/test/json/validate_event_interfaces.cpp +3 -1
  577. package/deps/couchbase-cxx-client/third_party/json/src/test/json/validate_utf8.cpp +1 -1
  578. package/deps/couchbase-cxx-client/third_party/json/src/test/json/value_access.cpp +1 -1
  579. package/deps/couchbase-cxx-client/third_party/json/src/test/json/value_basics.cpp +1 -1
  580. package/deps/couchbase-cxx-client/third_party/json/src/test/json/value_create.cpp +5 -5
  581. package/deps/couchbase-cxx-client/third_party/json/src/test/json/value_ptr.cpp +1 -1
  582. package/deps/couchbase-cxx-client/third_party/json/src/test/json/value_subscript.cpp +1 -1
  583. package/deps/couchbase-cxx-client/third_party/json/src/test/json/with_arguments.cpp +1 -1
  584. package/deps/couchbase-transactions-cxx/CMakeLists.txt +7 -0
  585. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/.gitmodules +1 -1
  586. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/CMakeLists.txt +2 -0
  587. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/analytics_scan_consistency.hxx +26 -0
  588. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/capella_ca.hxx +43 -0
  589. package/deps/{couchbase-cxx-client/couchbase/protocol → couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase}/cas.hxx +2 -2
  590. package/deps/{couchbase-cxx-client/couchbase/protocol → couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase}/cas_fmt.hxx +3 -3
  591. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/cluster.hxx +31 -1
  592. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/cluster_options.hxx +3 -1
  593. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/design_document_namespace.hxx +26 -0
  594. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/diagnostics.hxx +1 -0
  595. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/error_context/analytics.hxx +2 -0
  596. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/error_context/http.hxx +2 -0
  597. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/error_context/key_value.hxx +2 -2
  598. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/error_context/query.hxx +2 -0
  599. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/error_context/search.hxx +2 -0
  600. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/error_context/view.hxx +2 -0
  601. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/http_context.hxx +2 -0
  602. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/http_session.hxx +14 -11
  603. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/http_session_manager.hxx +53 -37
  604. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/ip_protocol.hxx +28 -0
  605. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/mcbp_command.hxx +22 -0
  606. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/mcbp_session.hxx +27 -10
  607. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/mcbp_traits.hxx +30 -0
  608. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/io/streams.hxx +22 -0
  609. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/CMakeLists.txt +13 -0
  610. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/analytics_dataset.hxx +30 -0
  611. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/analytics_index.hxx +30 -0
  612. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/analytics_link.hxx +22 -0
  613. package/deps/{couchbase-cxx-client/couchbase/operations → couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase}/management/analytics_link_azure_blob_external.cxx +5 -5
  614. package/deps/{couchbase-cxx-client/couchbase/operations → couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase}/management/analytics_link_azure_blob_external.hxx +3 -3
  615. package/deps/{couchbase-cxx-client/couchbase/operations → couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase}/management/analytics_link_azure_blob_external_json.hxx +4 -4
  616. package/deps/{couchbase-cxx-client/couchbase/operations → couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase}/management/analytics_link_couchbase_remote.cxx +12 -12
  617. package/deps/{couchbase-cxx-client/couchbase/operations → couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase}/management/analytics_link_couchbase_remote.hxx +8 -8
  618. package/deps/{couchbase-cxx-client/couchbase/operations → couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase}/management/analytics_link_couchbase_remote_json.hxx +7 -7
  619. package/deps/{couchbase-cxx-client/couchbase/operations → couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase}/management/analytics_link_s3_external.cxx +5 -5
  620. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/{operations/management → management}/analytics_link_s3_external.hxx +3 -3
  621. package/deps/{couchbase-cxx-client/couchbase/operations → couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase}/management/analytics_link_s3_external_json.hxx +4 -4
  622. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/bucket_settings.hxx +134 -0
  623. package/deps/{couchbase-cxx-client/couchbase/operations → couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase}/management/bucket_settings_json.hxx +29 -24
  624. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/{operations/management → management}/design_document.hxx +5 -8
  625. package/deps/{couchbase-cxx-client/couchbase/operations → couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase}/management/design_document_fmt.hxx +5 -5
  626. package/deps/{couchbase-cxx-client/couchbase/operations → couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase}/management/eventing_function.hxx +6 -10
  627. package/deps/{couchbase-cxx-client/couchbase/operations → couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase}/management/eventing_function_json.hxx +29 -32
  628. package/deps/{couchbase-cxx-client/couchbase/operations → couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase}/management/eventing_status.hxx +2 -2
  629. package/deps/{couchbase-cxx-client/couchbase/operations → couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase}/management/eventing_status_json.hxx +15 -15
  630. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/management/query_index.hxx +39 -0
  631. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/{operations/management → management}/rbac.hxx +3 -2
  632. package/deps/{couchbase-cxx-client/couchbase/operations → couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase}/management/rbac_fmt.hxx +6 -6
  633. package/deps/{couchbase-cxx-client/couchbase/operations → couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase}/management/rbac_json.hxx +15 -15
  634. package/deps/{couchbase-cxx-client/couchbase/operations → couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase}/management/search_index.hxx +5 -3
  635. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/{operations/management → management}/search_index_json.hxx +4 -4
  636. package/deps/{couchbase-cxx-client/couchbase/protocol → couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase}/mutation_token.hxx +3 -0
  637. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/{protocol/mutation_token_fmt.hxx → mutation_token_fmt.hxx} +1 -1
  638. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_analytics.cxx +2 -2
  639. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_analytics.hxx +2 -3
  640. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_append.cxx +0 -3
  641. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_append.hxx +11 -4
  642. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_decrement.cxx +0 -3
  643. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_decrement.hxx +11 -4
  644. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_exists.hxx +2 -2
  645. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_get.hxx +1 -1
  646. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_get_and_lock.hxx +1 -1
  647. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_get_and_touch.hxx +1 -1
  648. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_get_projected.hxx +1 -1
  649. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_increment.cxx +0 -3
  650. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_increment.hxx +9 -2
  651. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_insert.cxx +0 -3
  652. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_insert.hxx +9 -2
  653. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_lookup_in.hxx +1 -1
  654. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_mutate_in.cxx +0 -3
  655. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_mutate_in.hxx +12 -5
  656. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_prepend.cxx +0 -3
  657. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_prepend.hxx +9 -2
  658. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_query.cxx +6 -6
  659. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_query.hxx +5 -10
  660. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_remove.cxx +0 -3
  661. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_remove.hxx +10 -3
  662. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_replace.cxx +0 -3
  663. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_replace.hxx +10 -3
  664. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_search.cxx +2 -2
  665. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_search.hxx +5 -5
  666. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_touch.hxx +2 -2
  667. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_unlock.hxx +2 -2
  668. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_upsert.cxx +0 -3
  669. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_upsert.hxx +9 -2
  670. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_view.cxx +6 -6
  671. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_view.hxx +6 -10
  672. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/CMakeLists.txt +0 -3
  673. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataset_create.cxx +1 -1
  674. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataset_create.hxx +2 -6
  675. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataset_drop.cxx +1 -1
  676. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataset_drop.hxx +4 -8
  677. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataset_get_all.cxx +2 -2
  678. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataset_get_all.hxx +4 -14
  679. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataverse_create.cxx +1 -1
  680. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataverse_create.hxx +2 -6
  681. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataverse_drop.cxx +1 -1
  682. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_dataverse_drop.hxx +2 -6
  683. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_get_pending_mutations.cxx +1 -1
  684. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_get_pending_mutations.hxx +2 -6
  685. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_index_create.cxx +1 -1
  686. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_index_create.hxx +2 -6
  687. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_index_drop.cxx +1 -1
  688. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_index_drop.hxx +4 -8
  689. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_index_get_all.cxx +2 -2
  690. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_index_get_all.hxx +4 -14
  691. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_create.hxx +2 -2
  692. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_get_all.cxx +6 -6
  693. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_get_all.hxx +4 -4
  694. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_replace.hxx +2 -2
  695. package/deps/{couchbase-cxx-client/couchbase/operations/management/analytics_link.hxx → couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_link_utils.hxx} +3 -6
  696. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/analytics_problem.hxx +30 -0
  697. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/bucket_create.cxx +22 -22
  698. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/bucket_create.hxx +2 -2
  699. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/bucket_describe.cxx +2 -2
  700. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/bucket_describe.hxx +11 -9
  701. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/bucket_get.cxx +2 -2
  702. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/bucket_get.hxx +4 -4
  703. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/bucket_get_all.cxx +2 -2
  704. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/bucket_get_all.hxx +2 -2
  705. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/bucket_update.cxx +13 -10
  706. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/bucket_update.hxx +3 -3
  707. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/cluster_describe.cxx +2 -2
  708. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/cluster_describe.hxx +19 -19
  709. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/error_utils.cxx +2 -2
  710. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/error_utils.hxx +1 -1
  711. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_deploy_function.hxx +2 -2
  712. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_drop_function.hxx +2 -2
  713. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_get_all_functions.cxx +2 -2
  714. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_get_all_functions.hxx +3 -3
  715. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_get_function.cxx +2 -2
  716. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_get_function.hxx +3 -3
  717. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_get_status.cxx +2 -2
  718. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_get_status.hxx +4 -4
  719. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_pause_function.hxx +2 -2
  720. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_problem.hxx +3 -3
  721. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_resume_function.hxx +2 -2
  722. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_undeploy_function.hxx +2 -2
  723. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_upsert_function.cxx +25 -25
  724. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/eventing_upsert_function.hxx +3 -3
  725. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/group_get.cxx +2 -2
  726. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/group_get.hxx +4 -4
  727. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/group_get_all.cxx +2 -2
  728. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/group_get_all.hxx +2 -2
  729. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/group_upsert.hxx +2 -2
  730. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/query_index_build_deferred.cxx +20 -7
  731. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/query_index_build_deferred.hxx +2 -0
  732. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/query_index_create.cxx +18 -1
  733. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/query_index_drop.cxx +26 -4
  734. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/query_index_get_all.cxx +39 -19
  735. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/query_index_get_all.hxx +4 -17
  736. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/role_get_all.cxx +2 -2
  737. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/role_get_all.hxx +2 -2
  738. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_get.cxx +2 -2
  739. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_get.hxx +2 -2
  740. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_get_all.cxx +2 -2
  741. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_get_all.hxx +4 -4
  742. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_upsert.cxx +1 -1
  743. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/search_index_upsert.hxx +2 -2
  744. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/user_drop.cxx +1 -1
  745. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/user_drop.hxx +4 -4
  746. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/user_get.cxx +3 -3
  747. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/user_get.hxx +5 -5
  748. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/user_get_all.cxx +3 -3
  749. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/user_get_all.hxx +3 -3
  750. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/user_upsert.cxx +1 -1
  751. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/user_upsert.hxx +3 -3
  752. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/view_index_drop.cxx +1 -2
  753. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/view_index_drop.hxx +2 -2
  754. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/view_index_get.cxx +3 -4
  755. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/view_index_get.hxx +3 -3
  756. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/view_index_get_all.cxx +7 -7
  757. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/view_index_get_all.hxx +3 -3
  758. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/view_index_upsert.cxx +1 -1
  759. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/view_index_upsert.hxx +2 -2
  760. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/client_request.hxx +1 -1
  761. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/client_response.hxx +3 -4
  762. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_append.hxx +1 -1
  763. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_decrement.hxx +2 -2
  764. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_exists.hxx +3 -3
  765. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_get_meta.hxx +1 -1
  766. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_increment.hxx +2 -2
  767. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_insert.hxx +1 -1
  768. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_mutate_in.hxx +1 -1
  769. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_prepend.hxx +1 -1
  770. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_remove.hxx +1 -1
  771. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_replace.hxx +1 -1
  772. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/cmd_upsert.hxx +1 -1
  773. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/protocol/server_request.hxx +2 -2
  774. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/query_profile_mode.hxx +27 -0
  775. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/query_scan_consistency.hxx +23 -0
  776. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/search_highlight_style.hxx +23 -0
  777. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/search_scan_consistency.hxx +23 -0
  778. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/timeout_defaults.hxx +2 -1
  779. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/topology/collections_manifest.hxx +2 -0
  780. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/utils/connection_string.cxx +22 -1
  781. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/view_scan_consistency.hxx +27 -0
  782. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/view_sort_order.hxx +23 -0
  783. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_integration_arithmetic.cxx +24 -0
  784. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_integration_binary_operations.cxx +1 -1
  785. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_integration_connect.cxx +26 -0
  786. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_integration_crud.cxx +5 -5
  787. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_integration_management.cxx +377 -132
  788. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/test_integration_subdoc.cxx +6 -6
  789. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/utils/integration_test_guard.cxx +2 -2
  790. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/utils/integration_test_guard.hxx +8 -7
  791. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/test/utils/server_version.hxx +11 -1
  792. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/.github/workflows/clang-format.yml +2 -2
  793. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/.gitmodules +2 -1
  794. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/LICENSE +1 -1
  795. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/README.md +1 -1
  796. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/doc/Advanced-Use-Cases.md +1 -1
  797. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/doc/Batteries-Included.md +1 -1
  798. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/doc/Binding-Traits.md +1 -1
  799. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/doc/Changelog.md +1 -1
  800. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/doc/Common-Use-Cases.md +1 -1
  801. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/doc/Design-Decisions.md +1 -1
  802. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/doc/Events-Interface.md +1 -1
  803. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/doc/Getting-Started.md +1 -1
  804. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/doc/Instance-Sharing.md +1 -1
  805. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/doc/Interoperability.md +1 -1
  806. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/doc/Overview.md +1 -1
  807. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/doc/Parser-Interface.md +1 -1
  808. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/doc/README.md +1 -1
  809. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/doc/Scratchpad.md +1 -1
  810. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/doc/Type-Traits.md +1 -1
  811. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/doc/Value-Class.md +1 -1
  812. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/external/PEGTL/.github/workflows/clang-format.yml +2 -2
  813. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/external/PEGTL/.github/workflows/codeql-analysis.yml +2 -2
  814. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/external/PEGTL/README.md +9 -9
  815. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/external/PEGTL/doc/Actions-and-States.md +2 -1
  816. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/external/PEGTL/doc/Changelog.md +30 -1
  817. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/external/PEGTL/doc/Contrib-and-Examples.md +5 -0
  818. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/external/PEGTL/doc/README.md +1 -0
  819. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/external/PEGTL/doc/Rule-Reference.md +7 -0
  820. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/external/PEGTL/include/tao/pegtl/ascii.hpp +1 -0
  821. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/external/PEGTL/include/tao/pegtl/buffer_input.hpp +1 -1
  822. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/external/PEGTL/include/tao/pegtl/change_action_and_state.hpp +24 -6
  823. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/external/PEGTL/include/tao/pegtl/change_state.hpp +25 -6
  824. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/external/PEGTL/include/tao/pegtl/contrib/add_state.hpp +69 -0
  825. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/external/PEGTL/include/tao/pegtl/contrib/http.hpp +1 -1
  826. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/external/PEGTL/include/tao/pegtl/contrib/integer.hpp +47 -15
  827. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/external/PEGTL/include/tao/pegtl/contrib/iri.hpp +106 -0
  828. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/external/PEGTL/include/tao/pegtl/contrib/proto3.hpp +142 -0
  829. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/external/PEGTL/include/tao/pegtl/contrib/separated_seq.hpp +45 -0
  830. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/external/PEGTL/include/tao/pegtl/contrib/state_control.hpp +8 -4
  831. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/external/PEGTL/include/tao/pegtl/contrib/uri.hpp +2 -6
  832. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/external/PEGTL/include/tao/pegtl/demangle.hpp +111 -76
  833. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/external/PEGTL/include/tao/pegtl/internal/dependent_true.hpp +16 -0
  834. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/external/PEGTL/include/tao/pegtl/internal/state.hpp +29 -13
  835. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/external/PEGTL/include/tao/pegtl/version.hpp +3 -3
  836. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/external/PEGTL/src/example/pegtl/CMakeLists.txt +1 -0
  837. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/external/PEGTL/src/example/pegtl/iri.cpp +101 -0
  838. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/external/PEGTL/src/example/pegtl/proto3.cpp +1 -116
  839. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/external/PEGTL/src/test/pegtl/CMakeLists.txt +2 -0
  840. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/external/PEGTL/src/test/pegtl/contrib_integer.cpp +29 -29
  841. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/external/PEGTL/src/test/pegtl/contrib_iri.cpp +57 -0
  842. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/external/PEGTL/src/test/pegtl/contrib_separated_seq.cpp +24 -0
  843. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/external/PEGTL/src/test/pegtl/contrib_uri.cpp +19 -18
  844. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/basic_value.hpp +30 -10
  845. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/binary.hpp +1 -1
  846. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/binary_view.hpp +1 -1
  847. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/binding/constant.hpp +1 -1
  848. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/binding/element.hpp +13 -124
  849. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/binding/element2.hpp +35 -0
  850. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/binding/factory.hpp +1 -1
  851. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/binding/for_nothing_value.hpp +1 -1
  852. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/binding/for_unknown_key.hpp +1 -1
  853. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/binding/inherit.hpp +1 -1
  854. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/binding/internal/array.hpp +1 -1
  855. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/binding/internal/elementr.hpp +134 -0
  856. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/binding/internal/elementw.hpp +251 -0
  857. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/binding/internal/inherit.hpp +1 -1
  858. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/binding/internal/object.hpp +1 -1
  859. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/binding/internal/type_key.hpp +1 -1
  860. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/binding/member.hpp +17 -2
  861. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/binding/member_kind.hpp +1 -1
  862. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/binding/versions.hpp +1 -1
  863. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/binding.hpp +4 -1
  864. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/cbor/consume_file.hpp +1 -1
  865. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/cbor/consume_string.hpp +1 -1
  866. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/cbor/events/from_binary.hpp +1 -1
  867. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/cbor/events/from_file.hpp +1 -1
  868. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/cbor/events/from_input.hpp +1 -1
  869. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/cbor/events/from_string.hpp +1 -1
  870. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/cbor/events/to_stream.hpp +1 -1
  871. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/cbor/events/to_string.hpp +1 -1
  872. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/cbor/from_binary.hpp +1 -1
  873. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/cbor/from_file.hpp +1 -1
  874. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/cbor/from_input.hpp +1 -1
  875. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/cbor/from_string.hpp +1 -1
  876. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/cbor/internal/grammar.hpp +2 -2
  877. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/cbor/internal/major.hpp +1 -1
  878. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/cbor/parts_parser.hpp +1 -1
  879. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/cbor/to_stream.hpp +1 -1
  880. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/cbor/to_string.hpp +1 -1
  881. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/cbor.hpp +1 -1
  882. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/consume.hpp +1 -1
  883. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/consume_file.hpp +1 -1
  884. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/consume_string.hpp +1 -1
  885. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/contrib/array_traits.hpp +2 -2
  886. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/contrib/deque_traits.hpp +1 -1
  887. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/contrib/diff.hpp +2 -2
  888. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/contrib/get.hpp +1 -1
  889. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/contrib/internal/array_traits.hpp +1 -1
  890. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/contrib/internal/indirect_traits.hpp +1 -1
  891. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/contrib/internal/object_traits.hpp +1 -1
  892. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/contrib/internal/type_traits.hpp +1 -1
  893. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/contrib/list_traits.hpp +1 -1
  894. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/contrib/map_traits.hpp +1 -1
  895. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/contrib/multimap_traits.hpp +1 -1
  896. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/contrib/multiset_traits.hpp +1 -1
  897. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/contrib/pair_traits.hpp +1 -1
  898. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/contrib/patch.hpp +1 -1
  899. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/contrib/position.hpp +1 -1
  900. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/contrib/reference.hpp +1 -1
  901. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/contrib/schema.hpp +1 -1
  902. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/contrib/set_traits.hpp +1 -1
  903. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/contrib/shared_ptr_traits.hpp +1 -1
  904. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/contrib/traits.hpp +1 -1
  905. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/contrib/tuple_traits.hpp +1 -1
  906. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/contrib/unique_ptr_traits.hpp +1 -1
  907. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/contrib/unordered_map_traits.hpp +1 -1
  908. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/contrib/unordered_set_traits.hpp +1 -1
  909. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/contrib/variant_traits.hpp +1 -1
  910. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/contrib/vector_bool_traits.hpp +1 -1
  911. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/contrib/vector_traits.hpp +1 -1
  912. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/events/apply.hpp +1 -1
  913. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/events/binary_to_base64.hpp +1 -1
  914. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/events/binary_to_base64url.hpp +1 -1
  915. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/events/binary_to_exception.hpp +1 -1
  916. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/events/binary_to_hex.hpp +1 -1
  917. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/events/compare.hpp +1 -1
  918. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/events/debug.hpp +1 -1
  919. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/events/discard.hpp +1 -1
  920. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/events/from_file.hpp +1 -1
  921. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/events/from_input.hpp +1 -1
  922. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/events/from_stream.hpp +1 -1
  923. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/events/from_string.hpp +1 -1
  924. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/events/from_value.hpp +3 -3
  925. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/events/hash.hpp +1 -1
  926. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/events/invalid_string_to_binary.hpp +1 -1
  927. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/events/invalid_string_to_exception.hpp +1 -1
  928. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/events/invalid_string_to_hex.hpp +1 -1
  929. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/events/key_camel_case_to_snake_case.hpp +1 -1
  930. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/events/key_snake_case_to_camel_case.hpp +1 -1
  931. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/events/limit_nesting_depth.hpp +1 -1
  932. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/events/limit_value_count.hpp +1 -1
  933. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/events/non_finite_to_exception.hpp +1 -1
  934. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/events/non_finite_to_null.hpp +1 -1
  935. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/events/non_finite_to_string.hpp +1 -1
  936. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/events/prefer_signed.hpp +1 -1
  937. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/events/prefer_unsigned.hpp +1 -1
  938. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/events/produce.hpp +99 -1
  939. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/events/ref.hpp +4 -1
  940. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/events/statistics.hpp +1 -1
  941. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/events/tee.hpp +1 -1
  942. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/events/to_pretty_stream.hpp +1 -1
  943. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/events/to_stream.hpp +1 -1
  944. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/events/to_string.hpp +1 -1
  945. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/events/to_value.hpp +1 -1
  946. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/events/transformer.hpp +1 -1
  947. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/events/validate_event_order.hpp +1 -1
  948. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/events/validate_keys.hpp +1 -1
  949. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/events/virtual_base.hpp +1 -1
  950. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/events/virtual_ref.hpp +4 -1
  951. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/events/virtual_wrap.hpp +166 -0
  952. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/events.hpp +6 -1
  953. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/external/double.hpp +2 -2
  954. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/external/itoa.hpp +12 -10
  955. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/external/ryu.hpp +4 -4
  956. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/forward.hpp +3 -3
  957. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/from_file.hpp +1 -1
  958. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/from_input.hpp +1 -1
  959. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/from_stream.hpp +1 -1
  960. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/from_string.hpp +1 -1
  961. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/internal/action.hpp +3 -3
  962. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/internal/base64.hpp +1 -1
  963. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/internal/base64url.hpp +1 -1
  964. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/internal/dependent_false.hpp +1 -1
  965. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/internal/endian.hpp +1 -1
  966. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/internal/endian_gcc.hpp +1 -1
  967. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/internal/endian_win.hpp +1 -1
  968. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/internal/errors.hpp +1 -1
  969. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/internal/escape.hpp +1 -1
  970. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/internal/filesystem.hpp +1 -1
  971. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/internal/format.hpp +1 -1
  972. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/internal/grammar.hpp +1 -1
  973. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/internal/hexdump.hpp +1 -1
  974. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/internal/identity.hpp +1 -1
  975. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/internal/number_state.hpp +2 -2
  976. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/internal/number_traits.hpp +1 -1
  977. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/internal/pair.hpp +1 -1
  978. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/internal/parse_util.hpp +1 -1
  979. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/internal/sha256.hpp +1 -1
  980. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/internal/single.hpp +1 -1
  981. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/internal/string_t.hpp +1 -1
  982. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/internal/type_traits.hpp +1 -1
  983. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/internal/unescape_action.hpp +1 -1
  984. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/internal/uri_fragment.hpp +1 -1
  985. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/jaxn/consume_file.hpp +1 -1
  986. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/jaxn/consume_string.hpp +1 -1
  987. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/jaxn/events/from_file.hpp +1 -1
  988. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/jaxn/events/from_input.hpp +1 -1
  989. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/jaxn/events/from_stream.hpp +1 -1
  990. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/jaxn/events/from_string.hpp +1 -1
  991. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/jaxn/events/to_pretty_stream.hpp +1 -1
  992. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/jaxn/events/to_stream.hpp +1 -1
  993. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/jaxn/events/to_string.hpp +1 -1
  994. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/jaxn/from_file.hpp +1 -1
  995. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/jaxn/from_input.hpp +1 -1
  996. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/jaxn/from_stream.hpp +1 -1
  997. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/jaxn/from_string.hpp +1 -1
  998. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/jaxn/internal/action.hpp +3 -3
  999. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/jaxn/internal/bunescape_action.hpp +1 -1
  1000. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/jaxn/internal/errors.hpp +1 -1
  1001. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/jaxn/internal/grammar.hpp +1 -1
  1002. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/jaxn/internal/integer.hpp +6 -6
  1003. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/jaxn/internal/unescape_action.hpp +1 -1
  1004. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/jaxn/is_identifier.hpp +1 -1
  1005. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/jaxn/parts_parser.hpp +1 -1
  1006. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/jaxn/to_stream.hpp +1 -1
  1007. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/jaxn/to_string.hpp +1 -1
  1008. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/jaxn.hpp +1 -1
  1009. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/message_extension.hpp +1 -1
  1010. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/msgpack/consume_file.hpp +1 -1
  1011. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/msgpack/consume_string.hpp +1 -1
  1012. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/msgpack/events/from_binary.hpp +1 -1
  1013. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/msgpack/events/from_file.hpp +1 -1
  1014. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/msgpack/events/from_input.hpp +1 -1
  1015. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/msgpack/events/from_string.hpp +1 -1
  1016. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/msgpack/events/to_stream.hpp +1 -1
  1017. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/msgpack/events/to_string.hpp +1 -1
  1018. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/msgpack/from_binary.hpp +1 -1
  1019. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/msgpack/from_file.hpp +1 -1
  1020. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/msgpack/from_input.hpp +1 -1
  1021. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/msgpack/from_string.hpp +1 -1
  1022. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/msgpack/internal/format.hpp +1 -1
  1023. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/msgpack/internal/grammar.hpp +1 -1
  1024. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/msgpack/parts_parser.hpp +1 -1
  1025. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/msgpack/to_stream.hpp +1 -1
  1026. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/msgpack/to_string.hpp +1 -1
  1027. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/msgpack.hpp +1 -1
  1028. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/operators.hpp +1 -1
  1029. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/parts_parser.hpp +1 -1
  1030. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/pointer.hpp +1 -1
  1031. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/produce.hpp +1 -1
  1032. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/self_contained.hpp +6 -7
  1033. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/span.hpp +17 -17
  1034. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/stream.hpp +1 -1
  1035. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/to_stream.hpp +1 -1
  1036. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/to_string.hpp +1 -1
  1037. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/traits.hpp +1 -1
  1038. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/type.hpp +7 -7
  1039. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/ubjson/consume_file.hpp +1 -1
  1040. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/ubjson/consume_string.hpp +1 -1
  1041. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/ubjson/events/from_binary.hpp +1 -1
  1042. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/ubjson/events/from_file.hpp +1 -1
  1043. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/ubjson/events/from_input.hpp +1 -1
  1044. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/ubjson/events/from_string.hpp +1 -1
  1045. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/ubjson/events/to_stream.hpp +1 -1
  1046. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/ubjson/events/to_string.hpp +1 -1
  1047. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/ubjson/from_binary.hpp +1 -1
  1048. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/ubjson/from_file.hpp +1 -1
  1049. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/ubjson/from_input.hpp +1 -1
  1050. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/ubjson/from_string.hpp +1 -1
  1051. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/ubjson/internal/grammar.hpp +1 -1
  1052. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/ubjson/internal/marker.hpp +1 -1
  1053. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/ubjson/parts_parser.hpp +1 -1
  1054. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/ubjson/to_stream.hpp +1 -1
  1055. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/ubjson/to_string.hpp +1 -1
  1056. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/ubjson.hpp +1 -1
  1057. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/utf8.hpp +1 -1
  1058. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json/value.hpp +1 -1
  1059. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/include/tao/json.hpp +1 -1
  1060. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/example/json/cbor_to_jaxn.cpp +1 -1
  1061. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/example/json/cbor_to_json.cpp +1 -1
  1062. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/example/json/cbor_to_msgpack.cpp +1 -1
  1063. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/example/json/cbor_to_pretty_jaxn.cpp +1 -1
  1064. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/example/json/cbor_to_pretty_json.cpp +1 -1
  1065. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/example/json/cbor_to_ubjson.cpp +1 -1
  1066. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/example/json/jaxn_to_cbor.cpp +1 -1
  1067. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/example/json/jaxn_to_cplusplus.cpp +2 -2
  1068. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/example/json/jaxn_to_jaxn.cpp +1 -1
  1069. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/example/json/jaxn_to_msgpack.cpp +1 -1
  1070. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/example/json/jaxn_to_pretty_jaxn.cpp +1 -1
  1071. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/example/json/jaxn_to_ubjson.cpp +1 -1
  1072. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/example/json/json_to_cbor.cpp +1 -1
  1073. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/example/json/json_to_json.cpp +1 -1
  1074. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/example/json/json_to_msgpack.cpp +1 -1
  1075. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/example/json/json_to_pretty_json.cpp +1 -1
  1076. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/example/json/json_to_ubjson.cpp +1 -1
  1077. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/example/json/msgpack_to_cbor.cpp +1 -1
  1078. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/example/json/msgpack_to_jaxn.cpp +1 -1
  1079. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/example/json/msgpack_to_json.cpp +1 -1
  1080. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/example/json/msgpack_to_pretty_jaxn.cpp +1 -1
  1081. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/example/json/msgpack_to_pretty_json.cpp +1 -1
  1082. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/example/json/msgpack_to_ubjson.cpp +1 -1
  1083. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/example/json/printf_doubles.cpp +1 -1
  1084. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/example/json/ubjson_to_cbor.cpp +1 -1
  1085. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/example/json/ubjson_to_jaxn.cpp +1 -1
  1086. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/example/json/ubjson_to_json.cpp +1 -1
  1087. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/example/json/ubjson_to_msgpack.cpp +1 -1
  1088. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/example/json/ubjson_to_pretty_jaxn.cpp +1 -1
  1089. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/example/json/ubjson_to_pretty_json.cpp +1 -1
  1090. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/example/json/validate_event_order.cpp +1 -1
  1091. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/example/json/validate_integer.cpp +2 -2
  1092. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/perf/json/bench_mark.hpp +1 -1
  1093. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/perf/json/benchmark.cpp +1 -1
  1094. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/perf/json/parse_file.cpp +1 -1
  1095. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/perf/json/pretty_print_file.cpp +1 -1
  1096. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/perf/json/print_double.cpp +1 -1
  1097. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/perf/json/print_file.cpp +1 -1
  1098. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/perf/json/sizes.cpp +1 -1
  1099. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/perf/json/syntax_only.cpp +1 -1
  1100. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/test/json/CMakeLists.txt +1 -0
  1101. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/test/json/big_list_of_naughty_strings.cpp +1 -1
  1102. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/test/json/binding_array.cpp +1 -1
  1103. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/test/json/binding_factory.cpp +1 -1
  1104. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/test/json/binding_function.cpp +278 -0
  1105. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/test/json/binding_object.cpp +1 -1
  1106. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/test/json/binding_versions.cpp +1 -1
  1107. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/test/json/cbor.cpp +1 -1
  1108. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/test/json/cbor_parts_parser.cpp +1 -1
  1109. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/test/json/contrib_diff.cpp +1 -1
  1110. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/test/json/contrib_get.cpp +1 -1
  1111. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/test/json/contrib_patch_add.cpp +1 -1
  1112. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/test/json/contrib_patch_copy.cpp +1 -1
  1113. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/test/json/contrib_patch_move.cpp +1 -1
  1114. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/test/json/contrib_patch_remove.cpp +1 -1
  1115. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/test/json/contrib_patch_replace.cpp +1 -1
  1116. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/test/json/contrib_patch_test.cpp +1 -1
  1117. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/test/json/contrib_position.cpp +1 -1
  1118. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/test/json/contrib_reference.cpp +1 -1
  1119. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/test/json/contrib_schema.cpp +1 -1
  1120. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/test/json/contrib_traits.cpp +36 -1
  1121. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/test/json/double.cpp +1 -1
  1122. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/test/json/enable_implicit_constructor.cpp +1 -1
  1123. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/test/json/escape.cpp +1 -1
  1124. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/test/json/events_binary_to.cpp +1 -1
  1125. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/test/json/events_compare.cpp +1 -1
  1126. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/test/json/events_debug.cpp +1 -1
  1127. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/test/json/events_hash.cpp +1 -1
  1128. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/test/json/events_to_stream.cpp +1 -1
  1129. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/test/json/events_to_string.cpp +1 -1
  1130. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/test/json/include_json.cpp +1 -1
  1131. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/test/json/integer.cpp +1 -1
  1132. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/test/json/jaxn_ostream.cpp +1 -1
  1133. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/test/json/jaxn_parse.cpp +1 -1
  1134. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/test/json/jaxn_parts_parser.cpp +1 -1
  1135. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/test/json/json_ostream.cpp +1 -1
  1136. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/test/json/json_parse.cpp +1 -1
  1137. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/test/json/json_parts_parser.cpp +1 -1
  1138. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/test/json/json_pointer.cpp +1 -1
  1139. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/test/json/key_camel_case_to_snake_case.cpp +1 -1
  1140. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/test/json/key_snake_case_to_camel_case.cpp +1 -1
  1141. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/test/json/literal.cpp +1 -1
  1142. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/test/json/main.hpp +1 -1
  1143. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/test/json/make_events.hpp +1 -1
  1144. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/test/json/msgpack.cpp +1 -1
  1145. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/test/json/object_construction.cpp +1 -1
  1146. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/test/json/opaque_pointer.cpp +5 -5
  1147. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/test/json/operators.cpp +1 -1
  1148. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/test/json/optional.cpp +1 -1
  1149. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/test/json/public_base.cpp +1 -1
  1150. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/test/json/self_contained.cpp +1 -1
  1151. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/test/json/sha256.cpp +1 -1
  1152. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/test/json/temporary_parsing.cpp +1 -1
  1153. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/test/json/test.hpp +1 -1
  1154. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/test/json/test_events.hpp +1 -1
  1155. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/test/json/test_types.hpp +1 -1
  1156. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/test/json/test_unhex.hpp +1 -1
  1157. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/test/json/type.cpp +1 -1
  1158. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/test/json/ubjson.cpp +1 -1
  1159. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/test/json/uri_fragment.cpp +1 -1
  1160. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/test/json/validate_event_interfaces.cpp +3 -1
  1161. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/test/json/validate_utf8.cpp +1 -1
  1162. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/test/json/value_access.cpp +1 -1
  1163. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/test/json/value_basics.cpp +1 -1
  1164. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/test/json/value_create.cpp +5 -5
  1165. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/test/json/value_ptr.cpp +1 -1
  1166. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/test/json/value_subscript.cpp +1 -1
  1167. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/third_party/json/src/test/json/with_arguments.cpp +1 -1
  1168. package/deps/couchbase-transactions-cxx/include/couchbase/transactions/internal/utils.hxx +11 -14
  1169. package/deps/couchbase-transactions-cxx/include/couchbase/transactions/per_transaction_config.hxx +3 -3
  1170. package/deps/couchbase-transactions-cxx/include/couchbase/transactions/transaction_config.hxx +3 -3
  1171. package/deps/couchbase-transactions-cxx/include/couchbase/transactions/transaction_query_options.hxx +2 -2
  1172. package/deps/couchbase-transactions-cxx/src/transactions/attempt_context_impl.cxx +2 -4
  1173. package/deps/couchbase-transactions-cxx/src/transactions/transaction_config.cxx +1 -1
  1174. package/deps/couchbase-transactions-cxx/tests/transactions/transaction_context_t.cpp +1 -1
  1175. package/deps/couchbase-transactions-cxx/tests/transactions/transactions_env.h +0 -1
  1176. package/deps/couchbase-transactions-cxx/tests/transactions/utils_t.cpp +26 -0
  1177. package/dist/analyticsexecutor.js +13 -11
  1178. package/dist/binding.d.ts +2073 -674
  1179. package/dist/binding.js +119 -45
  1180. package/dist/bindingutilities.d.ts +7 -7
  1181. package/dist/bindingutilities.js +99 -95
  1182. package/dist/bucket.d.ts +2 -2
  1183. package/dist/bucketmanager.js +1 -1
  1184. package/dist/cluster.d.ts +2 -2
  1185. package/dist/cluster.js +9 -3
  1186. package/dist/collection.d.ts +10 -3
  1187. package/dist/collection.js +239 -94
  1188. package/dist/connspec.js +5 -1
  1189. package/dist/couchbase.js +5 -1
  1190. package/dist/crudoptypes.d.ts +1 -1
  1191. package/dist/diagnosticsexecutor.js +4 -2
  1192. package/dist/errors.js +1 -0
  1193. package/dist/httpexecutor.d.ts +2 -2
  1194. package/dist/httpexecutor.js +10 -4
  1195. package/dist/queryexecutor.d.ts +2 -2
  1196. package/dist/queryexecutor.js +13 -11
  1197. package/dist/queryindexmanager.d.ts +68 -4
  1198. package/dist/queryindexmanager.js +94 -116
  1199. package/dist/scope.d.ts +2 -2
  1200. package/dist/sdspecs.d.ts +5 -5
  1201. package/dist/sdspecs.js +28 -21
  1202. package/dist/searchexecutor.js +15 -13
  1203. package/dist/searchindexmanager.d.ts +40 -1
  1204. package/dist/searchindexmanager.js +4 -2
  1205. package/dist/transactions.js +19 -14
  1206. package/dist/utilities.js +5 -1
  1207. package/dist/viewexecutor.js +7 -6
  1208. package/package.json +1 -1
  1209. package/src/cas.hpp +2 -2
  1210. package/src/connection.cpp +158 -329
  1211. package/src/connection.hpp +113 -16
  1212. package/src/connection_autogen.cpp +1226 -0
  1213. package/src/constants.cpp +533 -183
  1214. package/src/constants.hpp +1 -0
  1215. package/src/jstocbpp.hpp +6 -2289
  1216. package/src/jstocbpp_autogen.hpp +8746 -0
  1217. package/src/jstocbpp_basic.hpp +95 -0
  1218. package/src/jstocbpp_cpptypes.hpp +372 -0
  1219. package/src/jstocbpp_defs.hpp +62 -0
  1220. package/src/jstocbpp_errors.hpp +271 -0
  1221. package/src/jstocbpp_transactions.hpp +453 -0
  1222. package/tools/gen-bindings-js.js +561 -0
  1223. package/tools/gen-bindings-json.py +360 -0
  1224. package/deps/couchbase-cxx-client/couchbase/operations/document_observe.hxx +0 -61
  1225. package/deps/couchbase-cxx-client/couchbase/operations/management/bucket_settings.hxx +0 -128
  1226. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/document_observe.hxx +0 -61
  1227. package/deps/couchbase-transactions-cxx/deps/couchbase-cxx-client/couchbase/operations/management/bucket_settings.hxx +0 -128
  1228. package/dist/connection.d.ts +0 -43
  1229. package/dist/connection.js +0 -106
@@ -0,0 +1,95 @@
1
+ #pragma once
2
+ #include "jstocbpp_defs.hpp"
3
+
4
+ #include "cas.hpp"
5
+ #include "jstocbpp_cpptypes.hpp"
6
+ #include "mutationtoken.hpp"
7
+
8
+ #include <couchbase/cluster.hxx>
9
+
10
+ namespace couchnode
11
+ {
12
+
13
+ template <>
14
+ struct js_to_cbpp_t<couchbase::json_string> {
15
+ static inline Napi::Value to_js(Napi::Env env,
16
+ const couchbase::json_string &cppObj)
17
+ {
18
+ return js_to_cbpp_t<std::string>::to_js(env, cppObj.str());
19
+ }
20
+
21
+ static inline couchbase::json_string from_js(Napi::Value jsVal)
22
+ {
23
+ auto str = js_to_cbpp_t<std::string>::from_js(jsVal);
24
+ return couchbase::json_string(std::move(str));
25
+ }
26
+ };
27
+
28
+ template <>
29
+ struct js_to_cbpp_t<couchbase::cluster_credentials> {
30
+ static inline couchbase::cluster_credentials from_js(Napi::Value jsVal)
31
+ {
32
+ auto jsObj = jsVal.ToObject();
33
+ couchbase::cluster_credentials cppObj;
34
+ js_to_cbpp(cppObj.username, jsObj.Get("username"));
35
+ js_to_cbpp(cppObj.password, jsObj.Get("password"));
36
+ js_to_cbpp(cppObj.certificate_path, jsObj.Get("certificate_path"));
37
+ js_to_cbpp(cppObj.key_path, jsObj.Get("key_path"));
38
+ js_to_cbpp(cppObj.allowed_sasl_mechanisms,
39
+ jsObj.Get("allowed_sasl_mechanisms"));
40
+ return cppObj;
41
+ }
42
+ };
43
+
44
+ template <>
45
+ struct js_to_cbpp_t<couchbase::document_id> {
46
+ static inline Napi::Value to_js(Napi::Env env,
47
+ const couchbase::document_id &cppObj)
48
+ {
49
+ auto resObj = Napi::Object::New(env);
50
+ resObj.Set("bucket", cbpp_to_js(env, cppObj.bucket()));
51
+ resObj.Set("scope", cbpp_to_js(env, cppObj.scope()));
52
+ resObj.Set("collection", cbpp_to_js(env, cppObj.collection()));
53
+ resObj.Set("key", cbpp_to_js(env, cppObj.key()));
54
+ return resObj;
55
+ }
56
+
57
+ static inline couchbase::document_id from_js(Napi::Value jsVal)
58
+ {
59
+ auto jsObj = jsVal.ToObject();
60
+ return couchbase::document_id(
61
+ js_to_cbpp<std::string>(jsObj.Get("bucket")),
62
+ js_to_cbpp<std::string>(jsObj.Get("scope")),
63
+ js_to_cbpp<std::string>(jsObj.Get("collection")),
64
+ js_to_cbpp<std::string>(jsObj.Get("key")));
65
+ }
66
+ };
67
+
68
+ template <>
69
+ struct js_to_cbpp_t<couchbase::cas> {
70
+ static inline Napi::Value to_js(Napi::Env env, couchbase::cas cppObj)
71
+ {
72
+ return Cas::create(env, cppObj);
73
+ }
74
+
75
+ static inline couchbase::cas from_js(Napi::Value jsVal)
76
+ {
77
+ return Cas::parse(jsVal);
78
+ }
79
+ };
80
+
81
+ template <>
82
+ struct js_to_cbpp_t<couchbase::mutation_token> {
83
+ static inline Napi::Value to_js(Napi::Env env,
84
+ const couchbase::mutation_token &cppObj)
85
+ {
86
+ return MutationToken::create(env, cppObj);
87
+ }
88
+
89
+ static inline couchbase::mutation_token from_js(Napi::Value jsVal)
90
+ {
91
+ return MutationToken::parse(jsVal);
92
+ }
93
+ };
94
+
95
+ } // namespace couchnode
@@ -0,0 +1,372 @@
1
+ #pragma once
2
+ #include "jstocbpp_defs.hpp"
3
+
4
+ #include <map>
5
+ #include <napi.h>
6
+ #include <optional>
7
+ #include <set>
8
+ #include <variant>
9
+ #include <vector>
10
+
11
+ namespace couchnode
12
+ {
13
+
14
+ // integral types
15
+ template <typename T>
16
+ struct js_to_cbpp_t<T, typename std::enable_if_t<std::is_integral_v<T>>> {
17
+ static inline Napi::Value to_js(Napi::Env env, T cppObj)
18
+ {
19
+ if constexpr (std::is_same_v<T, bool>) {
20
+ return Napi::Boolean::New(env, cppObj);
21
+ } else {
22
+ return Napi::Number::New(env, cppObj);
23
+ }
24
+ }
25
+
26
+ static inline T from_js(Napi::Value jsVal)
27
+ {
28
+ if constexpr (std::is_same_v<T, bool>) {
29
+ return jsVal.ToBoolean().Value();
30
+ } else {
31
+ return static_cast<T>(jsVal.ToNumber().Int64Value());
32
+ }
33
+ }
34
+ };
35
+
36
+ // floating point types
37
+ template <typename T>
38
+ struct js_to_cbpp_t<T, typename std::enable_if_t<std::is_floating_point_v<T>>> {
39
+ static inline Napi::Value to_js(Napi::Env env, T cppObj)
40
+ {
41
+ return Napi::Number::New(env, cppObj);
42
+ }
43
+
44
+ static inline T from_js(Napi::Value jsVal)
45
+ {
46
+ return static_cast<T>(jsVal.ToNumber().DoubleValue());
47
+ }
48
+ };
49
+
50
+ // enum types
51
+ template <typename T>
52
+ struct js_to_cbpp_t<T, typename std::enable_if_t<std::is_enum_v<T>>> {
53
+ static inline Napi::Value to_js(Napi::Env env, T cppObj)
54
+ {
55
+ return Napi::Number::New(env, static_cast<int64_t>(cppObj));
56
+ }
57
+
58
+ static inline T from_js(Napi::Value jsVal)
59
+ {
60
+ return static_cast<T>(jsVal.ToNumber().Int64Value());
61
+ }
62
+ };
63
+
64
+ // std::string type
65
+ template <>
66
+ struct js_to_cbpp_t<std::string> {
67
+ static inline Napi::Value to_js(Napi::Env env, const std::string &cppObj)
68
+ {
69
+ return Napi::String::New(env, cppObj);
70
+ }
71
+
72
+ static inline std::string from_js(Napi::Value jsVal)
73
+ {
74
+ if (jsVal.IsEmpty() || jsVal.IsNull() || jsVal.IsUndefined()) {
75
+ return "";
76
+ }
77
+
78
+ return jsVal.ToString().Utf8Value();
79
+ }
80
+ };
81
+
82
+ // std::chrono::nanoseconds type
83
+ template <>
84
+ struct js_to_cbpp_t<std::chrono::nanoseconds> {
85
+ static inline Napi::Value to_js(Napi::Env env,
86
+ const std::chrono::nanoseconds &cppObj)
87
+ {
88
+ return Napi::Number::New(env, cppObj / std::chrono::milliseconds(1));
89
+ }
90
+
91
+ static inline std::chrono::nanoseconds from_js(Napi::Value jsVal)
92
+ {
93
+ if (jsVal.IsEmpty() || jsVal.IsUndefined() || jsVal.IsNull()) {
94
+ return std::chrono::nanoseconds::zero();
95
+ }
96
+
97
+ return std::chrono::duration_cast<std::chrono::nanoseconds>(
98
+ jsVal.ToNumber().Int64Value() * std::chrono::milliseconds(1));
99
+ }
100
+ };
101
+
102
+ // std::chrono::microseconds type
103
+ template <>
104
+ struct js_to_cbpp_t<std::chrono::microseconds> {
105
+ static inline Napi::Value to_js(Napi::Env env,
106
+ const std::chrono::microseconds &cppObj)
107
+ {
108
+ return Napi::Number::New(env, cppObj / std::chrono::milliseconds(1));
109
+ }
110
+
111
+ static inline std::chrono::microseconds from_js(Napi::Value jsVal)
112
+ {
113
+ if (jsVal.IsEmpty() || jsVal.IsUndefined() || jsVal.IsNull()) {
114
+ return std::chrono::microseconds::zero();
115
+ }
116
+
117
+ return std::chrono::duration_cast<std::chrono::microseconds>(
118
+ jsVal.ToNumber().Int64Value() * std::chrono::milliseconds(1));
119
+ }
120
+ };
121
+
122
+ // std::chrono::milliseconds type
123
+ template <>
124
+ struct js_to_cbpp_t<std::chrono::milliseconds> {
125
+ static inline Napi::Value to_js(Napi::Env env,
126
+ const std::chrono::milliseconds &cppObj)
127
+ {
128
+ return Napi::Number::New(env, cppObj / std::chrono::milliseconds(1));
129
+ }
130
+
131
+ static inline std::chrono::milliseconds from_js(Napi::Value jsVal)
132
+ {
133
+ if (jsVal.IsEmpty() || jsVal.IsUndefined() || jsVal.IsNull()) {
134
+ return std::chrono::milliseconds::zero();
135
+ }
136
+
137
+ return jsVal.ToNumber().Int64Value() * std::chrono::milliseconds(1);
138
+ }
139
+ };
140
+
141
+ // std::chrono::seconds type
142
+ template <>
143
+ struct js_to_cbpp_t<std::chrono::seconds> {
144
+ static inline Napi::Value to_js(Napi::Env env,
145
+ const std::chrono::seconds &cppObj)
146
+ {
147
+ return Napi::Number::New(env, cppObj / std::chrono::milliseconds(1));
148
+ }
149
+
150
+ static inline std::chrono::seconds from_js(Napi::Value jsVal)
151
+ {
152
+ if (jsVal.IsEmpty() || jsVal.IsUndefined() || jsVal.IsNull()) {
153
+ return std::chrono::seconds::zero();
154
+ }
155
+
156
+ return std::chrono::duration_cast<std::chrono::seconds>(
157
+ jsVal.ToNumber().Int64Value() * std::chrono::milliseconds(1));
158
+ }
159
+ };
160
+
161
+ // std::monostate type
162
+ template <>
163
+ struct js_to_cbpp_t<std::monostate> {
164
+ static inline Napi::Value to_js(Napi::Env env, const std::monostate &cppObj)
165
+ {
166
+ return env.Undefined();
167
+ }
168
+ };
169
+
170
+ // std::optional type
171
+ template <typename T>
172
+ struct js_to_cbpp_t<std::optional<T>> {
173
+ static inline Napi::Value to_js(Napi::Env env,
174
+ const std::optional<T> &cppObj)
175
+ {
176
+ if (!cppObj.has_value()) {
177
+ return env.Undefined();
178
+ }
179
+ return cbpp_to_js<T>(env, cppObj.value());
180
+ }
181
+
182
+ static inline std::optional<T> from_js(Napi::Value jsVal)
183
+ {
184
+ if (jsVal.IsEmpty() || jsVal.IsUndefined()) {
185
+ return std::optional<T>();
186
+ }
187
+ return js_to_cbpp<T>(jsVal);
188
+ }
189
+ };
190
+
191
+ // std::vector type
192
+ template <typename T>
193
+ struct js_to_cbpp_t<std::vector<T>> {
194
+ static inline Napi::Value to_js(Napi::Env env, const std::vector<T> &cppObj)
195
+ {
196
+ auto jsArr = Napi::Array::New(env);
197
+ for (auto i = 0; i < cppObj.size(); ++i) {
198
+ jsArr.Set(i, cbpp_to_js<T>(env, cppObj[i]));
199
+ }
200
+ return jsArr;
201
+ }
202
+
203
+ static inline std::vector<T> from_js(Napi::Value jsVal)
204
+ {
205
+ if (jsVal.IsEmpty() || jsVal.IsNull() || jsVal.IsUndefined()) {
206
+ return {};
207
+ }
208
+
209
+ std::vector<T> cppObj;
210
+ auto jsArr = jsVal.As<Napi::Array>();
211
+ for (auto i = 0; i < jsArr.Length(); ++i) {
212
+ cppObj.emplace_back(js_to_cbpp<T>(jsArr.Get(i)));
213
+ }
214
+ return cppObj;
215
+ }
216
+ };
217
+
218
+ // std::array type
219
+ template <typename T, size_t N>
220
+ struct js_to_cbpp_t<std::array<T, N>> {
221
+ static inline Napi::Value to_js(Napi::Env env,
222
+ const std::array<T, N> &cppObj)
223
+ {
224
+ auto jsArr = Napi::Array::New(env);
225
+ for (auto i = 0; i < N; ++i) {
226
+ jsArr.Set(i, cbpp_to_js<T>(env, cppObj[i]));
227
+ }
228
+ return jsArr;
229
+ }
230
+
231
+ static inline std::array<T, N> from_js(Napi::Value jsVal)
232
+ {
233
+ if (jsVal.IsEmpty() || jsVal.IsNull() || jsVal.IsUndefined()) {
234
+ return {};
235
+ }
236
+
237
+ auto jsArr = jsVal.As<Napi::Array>();
238
+ if (jsArr.Length() != N) {
239
+ throw Napi::Error::New(jsVal.Env(), "invalid array size");
240
+ }
241
+
242
+ std::array<T, N> cppObj;
243
+ for (auto i = 0; i < N; ++i) {
244
+ cppObj[i] = js_to_cbpp<T>(jsArr.Get(i));
245
+ }
246
+ return cppObj;
247
+ }
248
+ };
249
+
250
+ // std::set type
251
+ template <typename T>
252
+ struct js_to_cbpp_t<std::set<T>> {
253
+ static inline Napi::Value to_js(Napi::Env env, const std::set<T> &cppObj)
254
+ {
255
+ auto jsArr = Napi::Array::New(env);
256
+ auto cppObjVec = std::vector<T>(cppObj.begin(), cppObj.end());
257
+ for (auto i = 0; i < cppObjVec.size(); ++i) {
258
+ jsArr.Set(i, cbpp_to_js<T>(env, cppObjVec[i]));
259
+ }
260
+ return jsArr;
261
+ }
262
+
263
+ static inline std::set<T> from_js(Napi::Value jsVal)
264
+ {
265
+ if (jsVal.IsEmpty() || jsVal.IsNull() || jsVal.IsUndefined()) {
266
+ return {};
267
+ }
268
+
269
+ std::set<T> cppObj;
270
+ auto jsArr = jsVal.As<Napi::Array>();
271
+ for (auto i = 0; i < jsArr.Length(); ++i) {
272
+ cppObj.insert(js_to_cbpp<T>(jsArr.Get(i)));
273
+ }
274
+ return cppObj;
275
+ }
276
+ };
277
+
278
+ // std::map<string, ...> type
279
+ template <typename T>
280
+ struct js_to_cbpp_t<std::map<std::string, T>> {
281
+ static inline Napi::Value to_js(Napi::Env env,
282
+ const std::map<std::string, T> &cppObj)
283
+ {
284
+ auto jsObj = Napi::Object::New(env);
285
+ for (const auto &i : cppObj) {
286
+ jsObj.Set(i.first, cbpp_to_js<T>(env, i.second));
287
+ }
288
+ return jsObj;
289
+ }
290
+
291
+ static inline std::map<std::string, T> from_js(Napi::Value jsVal)
292
+ {
293
+ if (jsVal.IsEmpty() || jsVal.IsNull() || jsVal.IsUndefined()) {
294
+ return {};
295
+ }
296
+
297
+ std::map<std::string, T> cppObj;
298
+ auto jsObj = jsVal.As<Napi::Object>();
299
+ auto jsPropNames = jsObj.GetPropertyNames();
300
+ for (auto i = 0; i < jsPropNames.Length(); ++i) {
301
+ auto jsKey = jsPropNames.Get(i);
302
+ auto key = jsKey.As<Napi::String>().Utf8Value();
303
+ auto value = js_to_cbpp<T>(jsObj.Get(jsKey));
304
+ cppObj.emplace(key, value);
305
+ }
306
+ return cppObj;
307
+ }
308
+ };
309
+
310
+ // std::map<enum, ...> type
311
+ template <typename K, typename T>
312
+ struct js_to_cbpp_t<std::map<K, T>,
313
+ typename std::enable_if_t<std::is_enum_v<K>>> {
314
+ static inline Napi::Value to_js(Napi::Env env, const std::map<K, T> &cppObj)
315
+ {
316
+ using enum_type_t = std::underlying_type_t<K>;
317
+ auto jsObj = Napi::Object::New(env);
318
+ for (const auto &i : cppObj) {
319
+ jsObj.Set(std::to_string(static_cast<enum_type_t>(i.first)),
320
+ cbpp_to_js<T>(env, i.second));
321
+ }
322
+ return jsObj;
323
+ }
324
+
325
+ static inline std::map<K, T> from_js(Napi::Value jsVal)
326
+ {
327
+ if (jsVal.IsEmpty() || jsVal.IsNull() || jsVal.IsUndefined()) {
328
+ return {};
329
+ }
330
+
331
+ std::map<K, T> cppObj;
332
+ auto jsObj = jsVal.As<Napi::Object>();
333
+ auto jsPropNames = jsObj.GetPropertyNames();
334
+ for (auto i = 0; i < jsPropNames.Length(); ++i) {
335
+ auto jsKey = jsPropNames.Get(i);
336
+ auto keyStr = jsKey.As<Napi::String>().Utf8Value();
337
+ auto key = static_cast<K>(std::stoi(keyStr));
338
+ auto value = js_to_cbpp<T>(jsObj.Get(jsKey));
339
+ cppObj.emplace(key, value);
340
+ }
341
+ return cppObj;
342
+ }
343
+ };
344
+
345
+ // std::variant type
346
+ template <typename... Types>
347
+ struct js_to_cbpp_t<std::variant<Types...>> {
348
+ template <size_t I = 0>
349
+ static inline Napi::Value to_js(Napi::Env env,
350
+ const std::variant<Types...> &cppObj)
351
+ {
352
+ using V = std::variant<Types...>;
353
+
354
+ if constexpr (I < std::variant_size_v<V>) {
355
+ using VT = std::variant_alternative_t<I, V>;
356
+ if (std::holds_alternative<VT>(cppObj)) {
357
+ return cbpp_to_js(env, std::get<VT>(cppObj));
358
+ }
359
+
360
+ return to_js<I + 1>(env, cppObj);
361
+ }
362
+
363
+ throw Napi::Error::New(env, "invalid variant type value");
364
+ }
365
+
366
+ static inline std::variant<Types...> from_js(Napi::Value jsVal)
367
+ {
368
+ throw Napi::Error::New(jsVal.Env(), "invalid variant marshal from js");
369
+ }
370
+ };
371
+
372
+ } // namespace couchnode
@@ -0,0 +1,62 @@
1
+ #pragma once
2
+ #include <napi.h>
3
+
4
+ #include "transcoder.hpp"
5
+
6
+ namespace couchnode
7
+ {
8
+
9
+ template <typename T, typename Enabled = void>
10
+ struct js_to_cbpp_t;
11
+
12
+ template <typename T>
13
+ static inline T js_to_cbpp(Napi::Value jsVal)
14
+ {
15
+ return js_to_cbpp_t<T>::from_js(jsVal);
16
+ }
17
+
18
+ template <typename T>
19
+ static inline void js_to_cbpp(T &cppObj, Napi::Value jsVal)
20
+ {
21
+ cppObj = js_to_cbpp_t<T>::from_js(jsVal);
22
+ }
23
+
24
+ template <typename T>
25
+ static inline Napi::Value cbpp_to_js(Napi::Env env, const T &cppObj)
26
+ {
27
+ return js_to_cbpp_t<T>::to_js(env, cppObj);
28
+ }
29
+
30
+ template <typename T>
31
+ static inline Napi::Value cbpp_to_js(Napi::Env env, const T &cppObj,
32
+ const Transcoder &transcoder)
33
+ {
34
+ return js_to_cbpp_t<T>::to_js(env, cppObj, transcoder);
35
+ }
36
+
37
+ template <typename T>
38
+ static inline T jsToCbpp(Napi::Value jsVal)
39
+ {
40
+ return js_to_cbpp_t<T>::from_js(jsVal);
41
+ }
42
+
43
+ template <typename T>
44
+ static inline T jsToCbpp(Napi::Value jsVal, const Transcoder &transcoder)
45
+ {
46
+ return js_to_cbpp_t<T>::from_js(jsVal, transcoder);
47
+ }
48
+
49
+ template <typename T>
50
+ Napi::Value cbppToJs(Napi::Env env, const T &cppObj)
51
+ {
52
+ return js_to_cbpp_t<T>::to_js(env, cppObj);
53
+ }
54
+
55
+ template <typename T>
56
+ Napi::Value cbppToJs(Napi::Env env, const T &cppObj,
57
+ const Transcoder &transcoder)
58
+ {
59
+ return js_to_cbpp_t<T>::to_js(env, cppObj, transcoder);
60
+ }
61
+
62
+ } // namespace couchnode