cybrid_api_organization_ruby 0.123.113 → 0.123.114

Sign up to get free protection for your applications and to get access to all the features.
Files changed (199) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +12 -12
  3. data/README.md +5 -5
  4. data/cybrid_api_organization_ruby.gemspec +1 -1
  5. data/lib/cybrid_api_organization_ruby/api/organizations_organization_api.rb +1 -1
  6. data/lib/cybrid_api_organization_ruby/api/subscription_deliveries_organization_api.rb +1 -1
  7. data/lib/cybrid_api_organization_ruby/api/subscription_events_organization_api.rb +1 -1
  8. data/lib/cybrid_api_organization_ruby/api/subscriptions_organization_api.rb +1 -1
  9. data/lib/cybrid_api_organization_ruby/api_client.rb +1 -1
  10. data/lib/cybrid_api_organization_ruby/api_error.rb +1 -1
  11. data/lib/cybrid_api_organization_ruby/configuration.rb +1 -1
  12. data/lib/cybrid_api_organization_ruby/models/error_response_organization_model.rb +1 -1
  13. data/lib/cybrid_api_organization_ruby/models/organization_organization_model.rb +1 -1
  14. data/lib/cybrid_api_organization_ruby/models/patch_organization_organization_model.rb +1 -1
  15. data/lib/cybrid_api_organization_ruby/models/post_subscription_delivery_organization_model.rb +1 -1
  16. data/lib/cybrid_api_organization_ruby/models/post_subscription_organization_model.rb +1 -1
  17. data/lib/cybrid_api_organization_ruby/models/subscription_delivery_list_organization_model.rb +1 -1
  18. data/lib/cybrid_api_organization_ruby/models/subscription_delivery_organization_model.rb +1 -1
  19. data/lib/cybrid_api_organization_ruby/models/subscription_environment_organization_model.rb +1 -1
  20. data/lib/cybrid_api_organization_ruby/models/subscription_event_list_organization_model.rb +1 -1
  21. data/lib/cybrid_api_organization_ruby/models/subscription_event_organization_model.rb +1 -1
  22. data/lib/cybrid_api_organization_ruby/models/subscription_list_organization_model.rb +1 -1
  23. data/lib/cybrid_api_organization_ruby/models/subscription_organization_model.rb +1 -1
  24. data/lib/cybrid_api_organization_ruby/models/subscription_state_organization_model.rb +1 -1
  25. data/lib/cybrid_api_organization_ruby/models/subscription_type_organization_model.rb +1 -1
  26. data/lib/cybrid_api_organization_ruby/version.rb +2 -2
  27. data/lib/cybrid_api_organization_ruby.rb +1 -1
  28. data/spec/api/organizations_organization_api_spec.rb +1 -1
  29. data/spec/api/subscription_deliveries_organization_api_spec.rb +1 -1
  30. data/spec/api/subscription_events_organization_api_spec.rb +1 -1
  31. data/spec/api/subscriptions_organization_api_spec.rb +1 -1
  32. data/spec/api_client_spec.rb +1 -1
  33. data/spec/configuration_spec.rb +1 -1
  34. data/spec/models/error_response_organization_model_spec.rb +1 -1
  35. data/spec/models/organization_organization_model_spec.rb +1 -1
  36. data/spec/models/patch_organization_organization_model_spec.rb +1 -1
  37. data/spec/models/post_subscription_delivery_organization_model_spec.rb +1 -1
  38. data/spec/models/post_subscription_organization_model_spec.rb +1 -1
  39. data/spec/models/subscription_delivery_list_organization_model_spec.rb +1 -1
  40. data/spec/models/subscription_delivery_organization_model_spec.rb +1 -1
  41. data/spec/models/subscription_environment_organization_model_spec.rb +1 -1
  42. data/spec/models/subscription_event_list_organization_model_spec.rb +1 -1
  43. data/spec/models/subscription_event_organization_model_spec.rb +1 -1
  44. data/spec/models/subscription_list_organization_model_spec.rb +1 -1
  45. data/spec/models/subscription_organization_model_spec.rb +1 -1
  46. data/spec/models/subscription_state_organization_model_spec.rb +1 -1
  47. data/spec/models/subscription_type_organization_model_spec.rb +1 -1
  48. data/spec/spec_helper.rb +1 -1
  49. data/vendor/bundle/ruby/3.3.0/cache/ffi-1.17.1-x86_64-linux-gnu.gem +0 -0
  50. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/byebug-11.1.3/gem_make.out +5 -5
  51. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/date-3.4.1/gem_make.out +5 -5
  52. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/jaro_winkler-1.5.6/gem_make.out +5 -5
  53. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/psych-5.2.2/gem_make.out +5 -5
  54. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/racc-1.8.1/gem_make.out +5 -5
  55. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/stringio-3.1.2/gem_make.out +5 -5
  56. data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/CHANGELOG.md +9 -0
  57. data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/Gemfile +1 -1
  58. data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/Rakefile +1 -1
  59. data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.1-x86_64-linux-gnu/lib/2.5/ffi_c.so +0 -0
  60. data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.1-x86_64-linux-gnu/lib/2.6/ffi_c.so +0 -0
  61. data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.1-x86_64-linux-gnu/lib/2.7/ffi_c.so +0 -0
  62. data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.1-x86_64-linux-gnu/lib/3.0/ffi_c.so +0 -0
  63. data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.1-x86_64-linux-gnu/lib/3.1/ffi_c.so +0 -0
  64. data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.1-x86_64-linux-gnu/lib/3.2/ffi_c.so +0 -0
  65. data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.1-x86_64-linux-gnu/lib/3.3/ffi_c.so +0 -0
  66. data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.1-x86_64-linux-gnu/lib/3.4/ffi_c.so +0 -0
  67. data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/ffi.rb +59 -0
  68. data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.1-x86_64-linux-gnu/lib/ffi/version.rb +3 -0
  69. data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/sig/ffi/auto_pointer.rbs +0 -1
  70. data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/sig/ffi/library.rbs +1 -1
  71. data/vendor/bundle/ruby/3.3.0/specifications/{ffi-1.17.0-x86_64-linux-gnu.gemspec → ffi-1.17.1-x86_64-linux-gnu.gemspec} +4 -4
  72. metadata +136 -135
  73. data/vendor/bundle/ruby/3.3.0/cache/ffi-1.17.0-x86_64-linux-gnu.gem +0 -0
  74. data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/2.5/ffi_c.so +0 -0
  75. data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/2.6/ffi_c.so +0 -0
  76. data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/2.7/ffi_c.so +0 -0
  77. data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/3.0/ffi_c.so +0 -0
  78. data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/3.1/ffi_c.so +0 -0
  79. data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/3.2/ffi_c.so +0 -0
  80. data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/3.3/ffi_c.so +0 -0
  81. data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/version.rb +0 -3
  82. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/COPYING +0 -0
  83. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/LICENSE +0 -0
  84. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/LICENSE.SPECS +0 -0
  85. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/README.md +0 -0
  86. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/ffi.gemspec +0 -0
  87. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/abstract_memory.rb +0 -0
  88. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/autopointer.rb +0 -0
  89. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/buffer.rb +0 -0
  90. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/callback.rb +0 -0
  91. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/compat.rb +0 -0
  92. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/data_converter.rb +0 -0
  93. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/dynamic_library.rb +0 -0
  94. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/enum.rb +0 -0
  95. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/errno.rb +0 -0
  96. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/function.rb +0 -0
  97. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/io.rb +0 -0
  98. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/library.rb +0 -0
  99. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/library_path.rb +0 -0
  100. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/managedstruct.rb +0 -0
  101. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/memorypointer.rb +0 -0
  102. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/platform/aarch64-darwin/types.conf +0 -0
  103. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/platform/aarch64-freebsd/types.conf +0 -0
  104. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/platform/aarch64-freebsd12/types.conf +0 -0
  105. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/platform/aarch64-linux/types.conf +0 -0
  106. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/platform/aarch64-openbsd/types.conf +0 -0
  107. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/platform/aarch64-windows/types.conf +0 -0
  108. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/platform/arm-freebsd/types.conf +0 -0
  109. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/platform/arm-freebsd12/types.conf +0 -0
  110. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/platform/arm-linux/types.conf +0 -0
  111. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/platform/hppa1.1-linux/types.conf +0 -0
  112. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/platform/hppa2.0-linux/types.conf +0 -0
  113. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/platform/i386-cygwin/types.conf +0 -0
  114. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/platform/i386-darwin/types.conf +0 -0
  115. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/platform/i386-freebsd/types.conf +0 -0
  116. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/platform/i386-freebsd12/types.conf +0 -0
  117. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/platform/i386-gnu/types.conf +0 -0
  118. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/platform/i386-linux/types.conf +0 -0
  119. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/platform/i386-netbsd/types.conf +0 -0
  120. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/platform/i386-openbsd/types.conf +0 -0
  121. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/platform/i386-solaris/types.conf +0 -0
  122. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/platform/i386-windows/types.conf +0 -0
  123. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/platform/ia64-linux/types.conf +0 -0
  124. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/platform/loongarch64-linux/types.conf +0 -0
  125. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/platform/mips-linux/types.conf +0 -0
  126. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/platform/mips64-linux/types.conf +0 -0
  127. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/platform/mips64el-linux/types.conf +0 -0
  128. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/platform/mipsel-linux/types.conf +0 -0
  129. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/platform/mipsisa32r6-linux/types.conf +0 -0
  130. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/platform/mipsisa32r6el-linux/types.conf +0 -0
  131. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/platform/mipsisa64r6-linux/types.conf +0 -0
  132. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/platform/mipsisa64r6el-linux/types.conf +0 -0
  133. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/platform/powerpc-aix/types.conf +0 -0
  134. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/platform/powerpc-darwin/types.conf +0 -0
  135. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/platform/powerpc-linux/types.conf +0 -0
  136. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/platform/powerpc-openbsd/types.conf +0 -0
  137. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/platform/powerpc64-linux/types.conf +0 -0
  138. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/platform/powerpc64le-linux/types.conf +0 -0
  139. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/platform/riscv64-linux/types.conf +0 -0
  140. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/platform/s390-linux/types.conf +0 -0
  141. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/platform/s390x-linux/types.conf +0 -0
  142. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/platform/sparc-linux/types.conf +0 -0
  143. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/platform/sparc-solaris/types.conf +0 -0
  144. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/platform/sparcv9-linux/types.conf +0 -0
  145. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/platform/sparcv9-openbsd/types.conf +0 -0
  146. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/platform/sparcv9-solaris/types.conf +0 -0
  147. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/platform/sw_64-linux/types.conf +0 -0
  148. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/platform/x86_64-cygwin/types.conf +0 -0
  149. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/platform/x86_64-darwin/types.conf +0 -0
  150. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/platform/x86_64-dragonflybsd/types.conf +0 -0
  151. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/platform/x86_64-freebsd/types.conf +0 -0
  152. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/platform/x86_64-freebsd12/types.conf +0 -0
  153. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/platform/x86_64-haiku/types.conf +0 -0
  154. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/platform/x86_64-linux/types.conf +0 -0
  155. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/platform/x86_64-msys/types.conf +0 -0
  156. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/platform/x86_64-netbsd/types.conf +0 -0
  157. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/platform/x86_64-openbsd/types.conf +0 -0
  158. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/platform/x86_64-solaris/types.conf +0 -0
  159. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/platform/x86_64-windows/types.conf +0 -0
  160. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/platform.rb +0 -0
  161. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/pointer.rb +0 -0
  162. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/struct.rb +0 -0
  163. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/struct_by_reference.rb +0 -0
  164. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/struct_layout.rb +0 -0
  165. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/struct_layout_builder.rb +0 -0
  166. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/tools/const_generator.rb +0 -0
  167. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/tools/generator.rb +0 -0
  168. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/tools/generator_task.rb +0 -0
  169. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/tools/struct_generator.rb +0 -0
  170. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/tools/types_generator.rb +0 -0
  171. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/types.rb +0 -0
  172. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/union.rb +0 -0
  173. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi/variadic.rb +0 -0
  174. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/lib/ffi.rb +0 -0
  175. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/rakelib/ffi_gem_helper.rb +0 -0
  176. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/samples/getlogin.rb +0 -0
  177. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/samples/getpid.rb +0 -0
  178. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/samples/gettimeofday.rb +0 -0
  179. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/samples/hello.rb +0 -0
  180. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/samples/hello_ractor.rb +0 -0
  181. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/samples/inotify.rb +0 -0
  182. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/samples/pty.rb +0 -0
  183. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/samples/qsort.rb +0 -0
  184. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/samples/qsort_ractor.rb +0 -0
  185. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/sig/ffi/abstract_memory.rbs +0 -0
  186. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/sig/ffi/buffer.rbs +0 -0
  187. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/sig/ffi/data_converter.rbs +0 -0
  188. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/sig/ffi/dynamic_library.rbs +0 -0
  189. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/sig/ffi/enum.rbs +0 -0
  190. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/sig/ffi/function.rbs +0 -0
  191. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/sig/ffi/native_type.rbs +0 -0
  192. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/sig/ffi/pointer.rbs +0 -0
  193. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/sig/ffi/struct.rbs +0 -0
  194. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/sig/ffi/struct_by_reference.rbs +0 -0
  195. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/sig/ffi/struct_by_value.rbs +0 -0
  196. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/sig/ffi/struct_layout.rbs +0 -0
  197. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/sig/ffi/struct_layout_builder.rbs +0 -0
  198. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/sig/ffi/type.rbs +0 -0
  199. /data/vendor/bundle/ruby/3.3.0/gems/{ffi-1.17.0-x86_64-linux-gnu → ffi-1.17.1-x86_64-linux-gnu}/sig/ffi.rbs +0 -0
@@ -3,7 +3,7 @@
3
3
 
4
4
  ## Cybrid API documentation Welcome to Cybrid, an all-in-one crypto platform that enables you to easily **build** and **launch** white-label crypto products or services. In these documents, you'll find details on how our REST API operates and generally how our platform functions. If you're looking for our UI SDK Widgets for Web or Mobile (iOS/Android), generated API clients, or demo applications, head over to our [Github repo](https://github.com/Cybrid-app). 💡 We recommend bookmarking the [Cybrid LinkTree](https://linktr.ee/cybridtechnologies) which contains many helpful links to platform resources. ## Getting Started This is Cybrid's public interactive API documentation, which allows you to fully test our APIs. If you'd like to use a different tool to exercise our APIs, you can download the [Open API 3.0 yaml](https://bank.production.cybrid.app/api/schema/v1/swagger.yaml) for import. If you're new to our APIs and the Cybrid Platform, follow the below guides to get set up and familiar with the platform: 1. [Introduction](https://docs.cybrid.xyz/docs/introduction) 2. [Platform Introduction](https://docs.cybrid.xyz/docs/how-is-cybrid-architected) 3. [Testing with Hosted Web Demo App](https://docs.cybrid.xyz/docs/testing-with-hosted-web-demo-app) In [Getting Started in the Cybrid Sandbox](https://docs.cybrid.xyz/docs/how-do-i-get-started-with-the-sandbox), we walk you through how to use the [Cybrid Sandbox](https://id.sandbox.cybrid.app/) to create a test bank and generate API keys. In [Getting Ready for Trading](https://kb.cybrid.xyz/getting-ready-for-trading), we walk through creating customers, customer identities, accounts, as well as executing quotes and trades. ## Working with the Cybrid Platform There are three primary ways you can interact with the Cybrid platform: 1. Directly via our RESTful API (this documentation) 2. Using our API clients available in a variety of languages ([Angular](https://github.com/Cybrid-app/cybrid-api-bank-angular), [Java](https://github.com/Cybrid-app/cybrid-api-bank-java), [Kotlin](https://github.com/Cybrid-app/cybrid-api-bank-kotlin), [Python](https://github.com/Cybrid-app/cybrid-api-bank-python), [Ruby](https://github.com/Cybrid-app/cybrid-api-bank-ruby), [Swift](https://github.com/Cybrid-app/cybrid-api-bank-swift) or [Typescript](https://github.com/Cybrid-app/cybrid-api-bank-typescript)) 3. Integrating a platform specific SDK ([Web](https://github.com/Cybrid-app/cybrid-sdk-web), [Android](https://github.com/Cybrid-app/cybrid-sdk-android), [iOS](https://github.com/Cybrid-app/cybrid-sdk-ios)) Our complete set of APIs allows you to manage resources across three distinct areas: your `Organization`, your `Banks` and your `Identities`. For most of your testing and interaction you'll be using the `Bank` API, which is where the majority of APIs reside. *The complete set of APIs can be found on the following pages:* | API | Description | |------------------------------------------------------------------|-------------------------------------------------------------| | [Organization API](https://organization.production.cybrid.app/api/schema/swagger-ui) | APIs to manage organizations | | [Bank API](https://bank.production.cybrid.app/api/schema/swagger-ui) | APIs to manage banks (and all downstream customer activity) | | [Identities API](https://id.production.cybrid.app/api/schema/swagger-ui) | APIs to manage organization and bank identities | For questions please contact [Support](mailto:support@cybrid.xyz) at any time for assistance, or contact the [Product Team](mailto:product@cybrid.xyz) for product suggestions. ## Authenticating with the API The Cybrid Platform uses OAuth 2.0 Bearer Tokens to authenticate requests to the platform. Credentials to create `Organization` and `Bank` tokens can be generated via the [Cybrid Sandbox](https://id.production.cybrid.app). Access tokens can be generated for a `Customer` as well via the [Cybrid IdP](https://id.production.cybrid.app) as well. An `Organization` access token applies broadly to the whole Organization and all of its `Banks`, whereas, a `Bank` access token is specific to an individual Bank. `Customer` tokens, similarly, are scoped to a specific customer in a bank. Both `Organization` and `Bank` tokens can be created using the OAuth Client Credential Grant flow. Each Organization and Bank has its own unique `Client ID` and `Secret` that allows for machine-to-machine authentication. A `Bank` can then generate `Customer` access tokens via API using our [Identities API](https://id.production.cybrid.app/api/schema/swagger-ui). <font color=\"orange\">**⚠️ Never share your Client ID or Secret publicly or in your source code repository.**</font> Your `Client ID` and `Secret` can be exchanged for a time-limited `Bearer Token` by interacting with the Cybrid Identity Provider or through interacting with the **Authorize** button in this document. The following curl command can be used to quickly generate a `Bearer Token` for use in testing the API or demo applications. ``` # Example request when using Bank credentials curl -X POST https://id.production.cybrid.app/oauth/token -d '{ \"grant_type\": \"client_credentials\", \"client_id\": \"<Your Client ID>\", \"client_secret\": \"<Your Secret>\", \"scope\": \"banks:read banks:write bank_applications:execute accounts:read accounts:execute counterparties:read counterparties:write counterparties:execute customers:read customers:write customers:execute prices:read quotes:execute quotes:read trades:execute trades:read transfers:execute transfers:read external_bank_accounts:read external_bank_accounts:write external_bank_accounts:execute external_wallets:read external_wallets:execute workflows:read workflows:execute deposit_addresses:read deposit_addresses:execute deposit_bank_accounts:read deposit_bank_accounts:execute invoices:read invoices:write invoices:execute identity_verifications:read identity_verifications:write identity_verifications:execute\" }' -H \"Content-Type: application/json\" # When using Organization credentials set `scope` to 'organizations:read organizations:write organization_applications:execute banks:read banks:write banks:execute bank_applications:execute users:read users:execute counterparties:read customers:read accounts:read prices:read quotes:execute quotes:read trades:execute trades:read transfers:read transfers:execute external_bank_accounts:read external_wallets:read workflows:read deposit_addresses:read deposit_bank_accounts:read invoices:read subscriptions:read subscriptions:write subscriptions:execute subscription_events:read subscription_events:execute identity_verifications:read' ``` <font color=\"orange\">**⚠️ Note: The above curl will create a bearer token with full scope access. Delete scopes if you'd like to restrict access.**</font> ## Authentication Scopes The Cybrid platform supports the use of scopes to control the level of access a token is limited to. Scopes do not grant access to resources; instead, they provide limits, in support of the least privilege principal. The following scopes are available on the platform and can be requested when generating either an Organization, Bank or Customer token. Generally speaking, the _Read_ scope is required to read and list resources, the _Write_ scope is required to update a resource and the _Execute_ scope is required to create a resource. | Resource | Read scope (Token Type) | Write scope (Token Type) | Execute scope (Token Type) | |-----------------------|------------------------------------------------------------|-----------------------------------------------|--------------------------------------------------| | Account | accounts:read (Organization, Bank, Customer) | | accounts:execute (Bank, Customer) | | Bank | banks:read (Organization, Bank) | banks:write (Organization, Bank) | banks:execute (Organization) | | Customer | customers:read (Organization, Bank, Customer) | customers:write (Bank, Customer) | customers:execute (Bank) | | Counterparty | counterparties:read (Organization, Bank, Customer) | counterparties:write (Bank, Customer) | counterparties:execute (Bank) | | Deposit Address | deposit_addresses:read (Organization, Bank, Customer) | deposit_addresses:write (Bank, Customer) | deposit_addresses:execute (Bank, Customer) | | External Bank Account | external_bank_accounts:read (Organization, Bank, Customer) | external_bank_accounts:write (Bank, Customer) | external_bank_accounts:execute (Bank, Customer) | | External Wallet | external_wallet:read (Organization, Bank, Customer) | | external_wallet:execute (Bank, Customer) | | Organization | organizations:read (Organization) | organizations:write (Organization) | | | User | users:read (Organization) | | users:execute (Organization) | | Price | prices:read (Bank, Customer) | | | | Quote | quotes:read (Organization, Bank, Customer) | | quotes:execute (Organization, Bank, Customer) | | Trade | trades:read (Organization, Bank, Customer) | | trades:execute (Organization, Bank, Customer) | | Transfer | transfers:read (Organization, Bank, Customer) | | transfers:execute (Organization, Bank, Customer) | | Workflow | workflows:read (Organization, Bank, Customer) | | workflows:execute (Bank, Customer) | | Invoice | invoices:read (Organization, Bank, Customer) | invoices:write (Bank, Customer) | invoices:execute (Bank, Customer) | ## Available Endpoints The available APIs for the [Identity](https://id.production.cybrid.app/api/schema/swagger-ui), [Organization](https://organization.production.cybrid.app/api/schema/swagger-ui) and [Bank](https://bank.production.cybrid.app/api/schema/swagger-ui) API services are listed below: | API Service | Model | API Endpoint Path | Description | |--------------|----------------------|--------------------------------|---------------------------------------------------------------------------------------------------| | Identity | Bank | /api/bank_applications | Create and list banks | | Identity | CustomerToken | /api/customer_tokens | Create customer JWT access tokens | | Identity | Organization | /api/organization_applications | Create and list organizations | | Identity | Organization | /api/users | Create and list organization users | | Organization | Organization | /api/organizations | APIs to retrieve and update organization name | | Bank | Account | /api/accounts | Create and list accounts, which hold a specific asset for a customers | | Bank | Asset | /api/assets | Get a list of assets supported by the platform (ex: BTC, ETH) | | Bank | Bank | /api/banks | Create, update and list banks, the parent to customers, accounts, etc | | Bank | Customer | /api/customers | Create and list customers | | Bank | Counterparty | /api/counterparties | Create and list counterparties | | Bank | DepositAddress | /api/deposit_addresses | Create, get and list deposit addresses | | Bank | ExternalBankAccount | /api/external_bank_accounts | Create, get and list external bank accounts, which connect customer bank accounts to the platform | | Bank | ExternalWallet | /api/external_wallets | Create, get, list and delete external wallets, which connect customer wallets to the platform | | Bank | IdentityVerification | /api/identity_verifications | Create and list identity verifications, which are performed on customers for KYC | | Bank | Invoice | /api/invoices | Create, get, cancel and list invoices | | Bank | PaymentInstruction | /api/payment_instructions | Create, get and list payment instructions for invoices | | Bank | Price | /api/prices | Get the current prices for assets on the platform | | Bank | Quote | /api/quotes | Create and list quotes, which are required to execute trades | | Bank | Symbol | /api/symbols | Get a list of symbols supported for trade (ex: BTC-USD) | | Bank | Trade | /api/trades | Create and list trades, which buy or sell cryptocurrency | | Bank | Transfer | /api/transfers | Create, get and list transfers (e.g., funding, book) | | Bank | Workflow | /api/workflows | Create, get and list workflows | ## Understanding Object Models & Endpoints **Organizations** An `Organization` is meant to represent the organization partnering with Cybrid to use our platform. An `Organization` typically does not directly interact with `customers`. Instead, an Organization has one or more `banks`, which encompass the financial service offerings of the platform. **Banks** A `Bank` is owned by an `Organization` and can be thought of as an environment or container for `customers` and product offerings. Banks are created in either `Sandbox` or `Production` mode, where `Sandbox` is the environment that you would test, prototype and build in prior to moving to `Production`. An `Organization` can have multiple `banks`, in either `Sandbox` or `Production` environments. A `Sandbox Bank` will be backed by stubbed data and process flows. For instance, funding source transfer processes as well as trades will be simulated rather than performed, however asset prices are representative of real-world values. You have an unlimited amount of simulated fiat currency for testing purposes. **Customers** `Customers` represent your banking users on the platform. At present, we offer support for `Individuals` as Customers. `Customers` must be verified (i.e., KYC'd) in our system before they can play any part on the platform, which means they must have an associated and a passing `Identity Verification`. See the Identity Verifications section for more details on how a customer can be verified. `Customers` must also have an `Account` to be able to transact, in the desired asset class. See the Accounts APIs for more details on setting up accounts for the customer.
5
5
 
6
- The version of the OpenAPI document: v0.123.113
6
+ The version of the OpenAPI document: v0.123.114
7
7
  Contact: support@cybrid.app
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 6.0.0
data/spec/spec_helper.rb CHANGED
@@ -3,7 +3,7 @@
3
3
 
4
4
  ## Cybrid API documentation Welcome to Cybrid, an all-in-one crypto platform that enables you to easily **build** and **launch** white-label crypto products or services. In these documents, you'll find details on how our REST API operates and generally how our platform functions. If you're looking for our UI SDK Widgets for Web or Mobile (iOS/Android), generated API clients, or demo applications, head over to our [Github repo](https://github.com/Cybrid-app). 💡 We recommend bookmarking the [Cybrid LinkTree](https://linktr.ee/cybridtechnologies) which contains many helpful links to platform resources. ## Getting Started This is Cybrid's public interactive API documentation, which allows you to fully test our APIs. If you'd like to use a different tool to exercise our APIs, you can download the [Open API 3.0 yaml](https://bank.production.cybrid.app/api/schema/v1/swagger.yaml) for import. If you're new to our APIs and the Cybrid Platform, follow the below guides to get set up and familiar with the platform: 1. [Introduction](https://docs.cybrid.xyz/docs/introduction) 2. [Platform Introduction](https://docs.cybrid.xyz/docs/how-is-cybrid-architected) 3. [Testing with Hosted Web Demo App](https://docs.cybrid.xyz/docs/testing-with-hosted-web-demo-app) In [Getting Started in the Cybrid Sandbox](https://docs.cybrid.xyz/docs/how-do-i-get-started-with-the-sandbox), we walk you through how to use the [Cybrid Sandbox](https://id.sandbox.cybrid.app/) to create a test bank and generate API keys. In [Getting Ready for Trading](https://kb.cybrid.xyz/getting-ready-for-trading), we walk through creating customers, customer identities, accounts, as well as executing quotes and trades. ## Working with the Cybrid Platform There are three primary ways you can interact with the Cybrid platform: 1. Directly via our RESTful API (this documentation) 2. Using our API clients available in a variety of languages ([Angular](https://github.com/Cybrid-app/cybrid-api-bank-angular), [Java](https://github.com/Cybrid-app/cybrid-api-bank-java), [Kotlin](https://github.com/Cybrid-app/cybrid-api-bank-kotlin), [Python](https://github.com/Cybrid-app/cybrid-api-bank-python), [Ruby](https://github.com/Cybrid-app/cybrid-api-bank-ruby), [Swift](https://github.com/Cybrid-app/cybrid-api-bank-swift) or [Typescript](https://github.com/Cybrid-app/cybrid-api-bank-typescript)) 3. Integrating a platform specific SDK ([Web](https://github.com/Cybrid-app/cybrid-sdk-web), [Android](https://github.com/Cybrid-app/cybrid-sdk-android), [iOS](https://github.com/Cybrid-app/cybrid-sdk-ios)) Our complete set of APIs allows you to manage resources across three distinct areas: your `Organization`, your `Banks` and your `Identities`. For most of your testing and interaction you'll be using the `Bank` API, which is where the majority of APIs reside. *The complete set of APIs can be found on the following pages:* | API | Description | |------------------------------------------------------------------|-------------------------------------------------------------| | [Organization API](https://organization.production.cybrid.app/api/schema/swagger-ui) | APIs to manage organizations | | [Bank API](https://bank.production.cybrid.app/api/schema/swagger-ui) | APIs to manage banks (and all downstream customer activity) | | [Identities API](https://id.production.cybrid.app/api/schema/swagger-ui) | APIs to manage organization and bank identities | For questions please contact [Support](mailto:support@cybrid.xyz) at any time for assistance, or contact the [Product Team](mailto:product@cybrid.xyz) for product suggestions. ## Authenticating with the API The Cybrid Platform uses OAuth 2.0 Bearer Tokens to authenticate requests to the platform. Credentials to create `Organization` and `Bank` tokens can be generated via the [Cybrid Sandbox](https://id.production.cybrid.app). Access tokens can be generated for a `Customer` as well via the [Cybrid IdP](https://id.production.cybrid.app) as well. An `Organization` access token applies broadly to the whole Organization and all of its `Banks`, whereas, a `Bank` access token is specific to an individual Bank. `Customer` tokens, similarly, are scoped to a specific customer in a bank. Both `Organization` and `Bank` tokens can be created using the OAuth Client Credential Grant flow. Each Organization and Bank has its own unique `Client ID` and `Secret` that allows for machine-to-machine authentication. A `Bank` can then generate `Customer` access tokens via API using our [Identities API](https://id.production.cybrid.app/api/schema/swagger-ui). <font color=\"orange\">**⚠️ Never share your Client ID or Secret publicly or in your source code repository.**</font> Your `Client ID` and `Secret` can be exchanged for a time-limited `Bearer Token` by interacting with the Cybrid Identity Provider or through interacting with the **Authorize** button in this document. The following curl command can be used to quickly generate a `Bearer Token` for use in testing the API or demo applications. ``` # Example request when using Bank credentials curl -X POST https://id.production.cybrid.app/oauth/token -d '{ \"grant_type\": \"client_credentials\", \"client_id\": \"<Your Client ID>\", \"client_secret\": \"<Your Secret>\", \"scope\": \"banks:read banks:write bank_applications:execute accounts:read accounts:execute counterparties:read counterparties:write counterparties:execute customers:read customers:write customers:execute prices:read quotes:execute quotes:read trades:execute trades:read transfers:execute transfers:read external_bank_accounts:read external_bank_accounts:write external_bank_accounts:execute external_wallets:read external_wallets:execute workflows:read workflows:execute deposit_addresses:read deposit_addresses:execute deposit_bank_accounts:read deposit_bank_accounts:execute invoices:read invoices:write invoices:execute identity_verifications:read identity_verifications:write identity_verifications:execute\" }' -H \"Content-Type: application/json\" # When using Organization credentials set `scope` to 'organizations:read organizations:write organization_applications:execute banks:read banks:write banks:execute bank_applications:execute users:read users:execute counterparties:read customers:read accounts:read prices:read quotes:execute quotes:read trades:execute trades:read transfers:read transfers:execute external_bank_accounts:read external_wallets:read workflows:read deposit_addresses:read deposit_bank_accounts:read invoices:read subscriptions:read subscriptions:write subscriptions:execute subscription_events:read subscription_events:execute identity_verifications:read' ``` <font color=\"orange\">**⚠️ Note: The above curl will create a bearer token with full scope access. Delete scopes if you'd like to restrict access.**</font> ## Authentication Scopes The Cybrid platform supports the use of scopes to control the level of access a token is limited to. Scopes do not grant access to resources; instead, they provide limits, in support of the least privilege principal. The following scopes are available on the platform and can be requested when generating either an Organization, Bank or Customer token. Generally speaking, the _Read_ scope is required to read and list resources, the _Write_ scope is required to update a resource and the _Execute_ scope is required to create a resource. | Resource | Read scope (Token Type) | Write scope (Token Type) | Execute scope (Token Type) | |-----------------------|------------------------------------------------------------|-----------------------------------------------|--------------------------------------------------| | Account | accounts:read (Organization, Bank, Customer) | | accounts:execute (Bank, Customer) | | Bank | banks:read (Organization, Bank) | banks:write (Organization, Bank) | banks:execute (Organization) | | Customer | customers:read (Organization, Bank, Customer) | customers:write (Bank, Customer) | customers:execute (Bank) | | Counterparty | counterparties:read (Organization, Bank, Customer) | counterparties:write (Bank, Customer) | counterparties:execute (Bank) | | Deposit Address | deposit_addresses:read (Organization, Bank, Customer) | deposit_addresses:write (Bank, Customer) | deposit_addresses:execute (Bank, Customer) | | External Bank Account | external_bank_accounts:read (Organization, Bank, Customer) | external_bank_accounts:write (Bank, Customer) | external_bank_accounts:execute (Bank, Customer) | | External Wallet | external_wallet:read (Organization, Bank, Customer) | | external_wallet:execute (Bank, Customer) | | Organization | organizations:read (Organization) | organizations:write (Organization) | | | User | users:read (Organization) | | users:execute (Organization) | | Price | prices:read (Bank, Customer) | | | | Quote | quotes:read (Organization, Bank, Customer) | | quotes:execute (Organization, Bank, Customer) | | Trade | trades:read (Organization, Bank, Customer) | | trades:execute (Organization, Bank, Customer) | | Transfer | transfers:read (Organization, Bank, Customer) | | transfers:execute (Organization, Bank, Customer) | | Workflow | workflows:read (Organization, Bank, Customer) | | workflows:execute (Bank, Customer) | | Invoice | invoices:read (Organization, Bank, Customer) | invoices:write (Bank, Customer) | invoices:execute (Bank, Customer) | ## Available Endpoints The available APIs for the [Identity](https://id.production.cybrid.app/api/schema/swagger-ui), [Organization](https://organization.production.cybrid.app/api/schema/swagger-ui) and [Bank](https://bank.production.cybrid.app/api/schema/swagger-ui) API services are listed below: | API Service | Model | API Endpoint Path | Description | |--------------|----------------------|--------------------------------|---------------------------------------------------------------------------------------------------| | Identity | Bank | /api/bank_applications | Create and list banks | | Identity | CustomerToken | /api/customer_tokens | Create customer JWT access tokens | | Identity | Organization | /api/organization_applications | Create and list organizations | | Identity | Organization | /api/users | Create and list organization users | | Organization | Organization | /api/organizations | APIs to retrieve and update organization name | | Bank | Account | /api/accounts | Create and list accounts, which hold a specific asset for a customers | | Bank | Asset | /api/assets | Get a list of assets supported by the platform (ex: BTC, ETH) | | Bank | Bank | /api/banks | Create, update and list banks, the parent to customers, accounts, etc | | Bank | Customer | /api/customers | Create and list customers | | Bank | Counterparty | /api/counterparties | Create and list counterparties | | Bank | DepositAddress | /api/deposit_addresses | Create, get and list deposit addresses | | Bank | ExternalBankAccount | /api/external_bank_accounts | Create, get and list external bank accounts, which connect customer bank accounts to the platform | | Bank | ExternalWallet | /api/external_wallets | Create, get, list and delete external wallets, which connect customer wallets to the platform | | Bank | IdentityVerification | /api/identity_verifications | Create and list identity verifications, which are performed on customers for KYC | | Bank | Invoice | /api/invoices | Create, get, cancel and list invoices | | Bank | PaymentInstruction | /api/payment_instructions | Create, get and list payment instructions for invoices | | Bank | Price | /api/prices | Get the current prices for assets on the platform | | Bank | Quote | /api/quotes | Create and list quotes, which are required to execute trades | | Bank | Symbol | /api/symbols | Get a list of symbols supported for trade (ex: BTC-USD) | | Bank | Trade | /api/trades | Create and list trades, which buy or sell cryptocurrency | | Bank | Transfer | /api/transfers | Create, get and list transfers (e.g., funding, book) | | Bank | Workflow | /api/workflows | Create, get and list workflows | ## Understanding Object Models & Endpoints **Organizations** An `Organization` is meant to represent the organization partnering with Cybrid to use our platform. An `Organization` typically does not directly interact with `customers`. Instead, an Organization has one or more `banks`, which encompass the financial service offerings of the platform. **Banks** A `Bank` is owned by an `Organization` and can be thought of as an environment or container for `customers` and product offerings. Banks are created in either `Sandbox` or `Production` mode, where `Sandbox` is the environment that you would test, prototype and build in prior to moving to `Production`. An `Organization` can have multiple `banks`, in either `Sandbox` or `Production` environments. A `Sandbox Bank` will be backed by stubbed data and process flows. For instance, funding source transfer processes as well as trades will be simulated rather than performed, however asset prices are representative of real-world values. You have an unlimited amount of simulated fiat currency for testing purposes. **Customers** `Customers` represent your banking users on the platform. At present, we offer support for `Individuals` as Customers. `Customers` must be verified (i.e., KYC'd) in our system before they can play any part on the platform, which means they must have an associated and a passing `Identity Verification`. See the Identity Verifications section for more details on how a customer can be verified. `Customers` must also have an `Account` to be able to transact, in the desired asset class. See the Accounts APIs for more details on setting up accounts for the customer.
5
5
 
6
- The version of the OpenAPI document: v0.123.113
6
+ The version of the OpenAPI document: v0.123.114
7
7
  Contact: support@cybrid.app
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 6.0.0
@@ -3,12 +3,12 @@ current directory: /home/circleci/project/build/public-clients/api-platform-orga
3
3
  creating Makefile
4
4
 
5
5
  current directory: /home/circleci/project/build/public-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/ext/byebug
6
- make DESTDIR\= sitearchdir\=./.gem.20241230-3315-cfo3wq sitelibdir\=./.gem.20241230-3315-cfo3wq clean
6
+ make DESTDIR\= sitearchdir\=./.gem.20241230-3300-c4lig1 sitelibdir\=./.gem.20241230-3300-c4lig1 clean
7
7
  make[1]: Entering directory '/home/circleci/project/build/public-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/ext/byebug'
8
8
  make[1]: Leaving directory '/home/circleci/project/build/public-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/ext/byebug'
9
9
 
10
10
  current directory: /home/circleci/project/build/public-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/ext/byebug
11
- make DESTDIR\= sitearchdir\=./.gem.20241230-3315-cfo3wq sitelibdir\=./.gem.20241230-3315-cfo3wq
11
+ make DESTDIR\= sitearchdir\=./.gem.20241230-3300-c4lig1 sitelibdir\=./.gem.20241230-3300-c4lig1
12
12
  make[1]: Entering directory '/home/circleci/project/build/public-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/ext/byebug'
13
13
  compiling breakpoint.c
14
14
  compiling byebug.c
@@ -39,12 +39,12 @@ linking shared-object byebug/byebug.so
39
39
  make[1]: Leaving directory '/home/circleci/project/build/public-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/ext/byebug'
40
40
 
41
41
  current directory: /home/circleci/project/build/public-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/ext/byebug
42
- make DESTDIR\= sitearchdir\=./.gem.20241230-3315-cfo3wq sitelibdir\=./.gem.20241230-3315-cfo3wq install
42
+ make DESTDIR\= sitearchdir\=./.gem.20241230-3300-c4lig1 sitelibdir\=./.gem.20241230-3300-c4lig1 install
43
43
  make[1]: Entering directory '/home/circleci/project/build/public-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/ext/byebug'
44
- /usr/bin/install -c -m 0755 byebug.so ./.gem.20241230-3315-cfo3wq/byebug
44
+ /usr/bin/install -c -m 0755 byebug.so ./.gem.20241230-3300-c4lig1/byebug
45
45
  make[1]: Leaving directory '/home/circleci/project/build/public-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/ext/byebug'
46
46
 
47
47
  current directory: /home/circleci/project/build/public-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/ext/byebug
48
- make DESTDIR\= sitearchdir\=./.gem.20241230-3315-cfo3wq sitelibdir\=./.gem.20241230-3315-cfo3wq clean
48
+ make DESTDIR\= sitearchdir\=./.gem.20241230-3300-c4lig1 sitelibdir\=./.gem.20241230-3300-c4lig1 clean
49
49
  make[1]: Entering directory '/home/circleci/project/build/public-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/ext/byebug'
50
50
  make[1]: Leaving directory '/home/circleci/project/build/public-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/ext/byebug'
@@ -6,12 +6,12 @@ checking for altzone in time.h with -Werror... no
6
6
  creating Makefile
7
7
 
8
8
  current directory: /home/circleci/project/build/public-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.3.0/gems/date-3.4.1/ext/date
9
- make DESTDIR\= sitearchdir\=./.gem.20241230-3315-aak9tp sitelibdir\=./.gem.20241230-3315-aak9tp clean
9
+ make DESTDIR\= sitearchdir\=./.gem.20241230-3300-zyc7lq sitelibdir\=./.gem.20241230-3300-zyc7lq clean
10
10
  make[1]: Entering directory '/home/circleci/project/build/public-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.3.0/gems/date-3.4.1/ext/date'
11
11
  make[1]: Leaving directory '/home/circleci/project/build/public-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.3.0/gems/date-3.4.1/ext/date'
12
12
 
13
13
  current directory: /home/circleci/project/build/public-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.3.0/gems/date-3.4.1/ext/date
14
- make DESTDIR\= sitearchdir\=./.gem.20241230-3315-aak9tp sitelibdir\=./.gem.20241230-3315-aak9tp
14
+ make DESTDIR\= sitearchdir\=./.gem.20241230-3300-zyc7lq sitelibdir\=./.gem.20241230-3300-zyc7lq
15
15
  make[1]: Entering directory '/home/circleci/project/build/public-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.3.0/gems/date-3.4.1/ext/date'
16
16
  compiling date_core.c
17
17
  compiling date_parse.c
@@ -21,12 +21,12 @@ linking shared-object date_core.so
21
21
  make[1]: Leaving directory '/home/circleci/project/build/public-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.3.0/gems/date-3.4.1/ext/date'
22
22
 
23
23
  current directory: /home/circleci/project/build/public-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.3.0/gems/date-3.4.1/ext/date
24
- make DESTDIR\= sitearchdir\=./.gem.20241230-3315-aak9tp sitelibdir\=./.gem.20241230-3315-aak9tp install
24
+ make DESTDIR\= sitearchdir\=./.gem.20241230-3300-zyc7lq sitelibdir\=./.gem.20241230-3300-zyc7lq install
25
25
  make[1]: Entering directory '/home/circleci/project/build/public-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.3.0/gems/date-3.4.1/ext/date'
26
- /usr/bin/install -c -m 0755 date_core.so ./.gem.20241230-3315-aak9tp
26
+ /usr/bin/install -c -m 0755 date_core.so ./.gem.20241230-3300-zyc7lq
27
27
  make[1]: Leaving directory '/home/circleci/project/build/public-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.3.0/gems/date-3.4.1/ext/date'
28
28
 
29
29
  current directory: /home/circleci/project/build/public-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.3.0/gems/date-3.4.1/ext/date
30
- make DESTDIR\= sitearchdir\=./.gem.20241230-3315-aak9tp sitelibdir\=./.gem.20241230-3315-aak9tp clean
30
+ make DESTDIR\= sitearchdir\=./.gem.20241230-3300-zyc7lq sitelibdir\=./.gem.20241230-3300-zyc7lq clean
31
31
  make[1]: Entering directory '/home/circleci/project/build/public-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.3.0/gems/date-3.4.1/ext/date'
32
32
  make[1]: Leaving directory '/home/circleci/project/build/public-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.3.0/gems/date-3.4.1/ext/date'
@@ -3,12 +3,12 @@ current directory: /home/circleci/project/build/public-clients/api-platform-orga
3
3
  creating Makefile
4
4
 
5
5
  current directory: /home/circleci/project/build/public-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler
6
- make DESTDIR\= sitearchdir\=./.gem.20241230-3315-tkvyxk sitelibdir\=./.gem.20241230-3315-tkvyxk clean
6
+ make DESTDIR\= sitearchdir\=./.gem.20241230-3300-b4ypgp sitelibdir\=./.gem.20241230-3300-b4ypgp clean
7
7
  make[1]: Entering directory '/home/circleci/project/build/public-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler'
8
8
  make[1]: Leaving directory '/home/circleci/project/build/public-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler'
9
9
 
10
10
  current directory: /home/circleci/project/build/public-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler
11
- make DESTDIR\= sitearchdir\=./.gem.20241230-3315-tkvyxk sitelibdir\=./.gem.20241230-3315-tkvyxk
11
+ make DESTDIR\= sitearchdir\=./.gem.20241230-3300-b4ypgp sitelibdir\=./.gem.20241230-3300-b4ypgp
12
12
  make[1]: Entering directory '/home/circleci/project/build/public-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler'
13
13
  compiling adj_matrix.c
14
14
  adj_matrix.c: In function ‘adj_matrix_default’:
@@ -26,12 +26,12 @@ linking shared-object jaro_winkler/jaro_winkler_ext.so
26
26
  make[1]: Leaving directory '/home/circleci/project/build/public-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler'
27
27
 
28
28
  current directory: /home/circleci/project/build/public-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler
29
- make DESTDIR\= sitearchdir\=./.gem.20241230-3315-tkvyxk sitelibdir\=./.gem.20241230-3315-tkvyxk install
29
+ make DESTDIR\= sitearchdir\=./.gem.20241230-3300-b4ypgp sitelibdir\=./.gem.20241230-3300-b4ypgp install
30
30
  make[1]: Entering directory '/home/circleci/project/build/public-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler'
31
- /usr/bin/install -c -m 0755 jaro_winkler_ext.so ./.gem.20241230-3315-tkvyxk/jaro_winkler
31
+ /usr/bin/install -c -m 0755 jaro_winkler_ext.so ./.gem.20241230-3300-b4ypgp/jaro_winkler
32
32
  make[1]: Leaving directory '/home/circleci/project/build/public-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler'
33
33
 
34
34
  current directory: /home/circleci/project/build/public-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler
35
- make DESTDIR\= sitearchdir\=./.gem.20241230-3315-tkvyxk sitelibdir\=./.gem.20241230-3315-tkvyxk clean
35
+ make DESTDIR\= sitearchdir\=./.gem.20241230-3300-b4ypgp sitelibdir\=./.gem.20241230-3300-b4ypgp clean
36
36
  make[1]: Entering directory '/home/circleci/project/build/public-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler'
37
37
  make[1]: Leaving directory '/home/circleci/project/build/public-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler'
@@ -6,7 +6,7 @@ checking for yaml_get_version() in -lyaml... yes
6
6
  creating Makefile
7
7
 
8
8
  current directory: /home/circleci/project/build/public-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.3.0/gems/psych-5.2.2/ext/psych
9
- make DESTDIR\= sitearchdir\=./.gem.20241230-3315-3idg2i sitelibdir\=./.gem.20241230-3315-3idg2i clean
9
+ make DESTDIR\= sitearchdir\=./.gem.20241230-3300-sj7in9 sitelibdir\=./.gem.20241230-3300-sj7in9 clean
10
10
  make[1]: Entering directory '/home/circleci/project/build/public-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.3.0/gems/psych-5.2.2/ext/psych'
11
11
  cd libyaml && make clean
12
12
  /bin/sh: 1: cd: can't cd to libyaml
@@ -14,7 +14,7 @@ make[1]: [Makefile:283: clean-so] Error 2 (ignored)
14
14
  make[1]: Leaving directory '/home/circleci/project/build/public-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.3.0/gems/psych-5.2.2/ext/psych'
15
15
 
16
16
  current directory: /home/circleci/project/build/public-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.3.0/gems/psych-5.2.2/ext/psych
17
- make DESTDIR\= sitearchdir\=./.gem.20241230-3315-3idg2i sitelibdir\=./.gem.20241230-3315-3idg2i
17
+ make DESTDIR\= sitearchdir\=./.gem.20241230-3300-sj7in9 sitelibdir\=./.gem.20241230-3300-sj7in9
18
18
  make[1]: Entering directory '/home/circleci/project/build/public-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.3.0/gems/psych-5.2.2/ext/psych'
19
19
  compiling psych.c
20
20
  compiling psych_emitter.c
@@ -25,13 +25,13 @@ linking shared-object psych.so
25
25
  make[1]: Leaving directory '/home/circleci/project/build/public-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.3.0/gems/psych-5.2.2/ext/psych'
26
26
 
27
27
  current directory: /home/circleci/project/build/public-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.3.0/gems/psych-5.2.2/ext/psych
28
- make DESTDIR\= sitearchdir\=./.gem.20241230-3315-3idg2i sitelibdir\=./.gem.20241230-3315-3idg2i install
28
+ make DESTDIR\= sitearchdir\=./.gem.20241230-3300-sj7in9 sitelibdir\=./.gem.20241230-3300-sj7in9 install
29
29
  make[1]: Entering directory '/home/circleci/project/build/public-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.3.0/gems/psych-5.2.2/ext/psych'
30
- /usr/bin/install -c -m 0755 psych.so ./.gem.20241230-3315-3idg2i
30
+ /usr/bin/install -c -m 0755 psych.so ./.gem.20241230-3300-sj7in9
31
31
  make[1]: Leaving directory '/home/circleci/project/build/public-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.3.0/gems/psych-5.2.2/ext/psych'
32
32
 
33
33
  current directory: /home/circleci/project/build/public-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.3.0/gems/psych-5.2.2/ext/psych
34
- make DESTDIR\= sitearchdir\=./.gem.20241230-3315-3idg2i sitelibdir\=./.gem.20241230-3315-3idg2i clean
34
+ make DESTDIR\= sitearchdir\=./.gem.20241230-3300-sj7in9 sitelibdir\=./.gem.20241230-3300-sj7in9 clean
35
35
  make[1]: Entering directory '/home/circleci/project/build/public-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.3.0/gems/psych-5.2.2/ext/psych'
36
36
  cd libyaml && make clean
37
37
  /bin/sh: 1: cd: can't cd to libyaml
@@ -3,24 +3,24 @@ current directory: /home/circleci/project/build/public-clients/api-platform-orga
3
3
  creating Makefile
4
4
 
5
5
  current directory: /home/circleci/project/build/public-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.3.0/gems/racc-1.8.1/ext/racc/cparse
6
- make DESTDIR\= sitearchdir\=./.gem.20241230-3315-nazqqx sitelibdir\=./.gem.20241230-3315-nazqqx clean
6
+ make DESTDIR\= sitearchdir\=./.gem.20241230-3300-lm5wvm sitelibdir\=./.gem.20241230-3300-lm5wvm clean
7
7
  make[1]: Entering directory '/home/circleci/project/build/public-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.3.0/gems/racc-1.8.1/ext/racc/cparse'
8
8
  make[1]: Leaving directory '/home/circleci/project/build/public-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.3.0/gems/racc-1.8.1/ext/racc/cparse'
9
9
 
10
10
  current directory: /home/circleci/project/build/public-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.3.0/gems/racc-1.8.1/ext/racc/cparse
11
- make DESTDIR\= sitearchdir\=./.gem.20241230-3315-nazqqx sitelibdir\=./.gem.20241230-3315-nazqqx
11
+ make DESTDIR\= sitearchdir\=./.gem.20241230-3300-lm5wvm sitelibdir\=./.gem.20241230-3300-lm5wvm
12
12
  make[1]: Entering directory '/home/circleci/project/build/public-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.3.0/gems/racc-1.8.1/ext/racc/cparse'
13
13
  compiling cparse.c
14
14
  linking shared-object racc/cparse.so
15
15
  make[1]: Leaving directory '/home/circleci/project/build/public-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.3.0/gems/racc-1.8.1/ext/racc/cparse'
16
16
 
17
17
  current directory: /home/circleci/project/build/public-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.3.0/gems/racc-1.8.1/ext/racc/cparse
18
- make DESTDIR\= sitearchdir\=./.gem.20241230-3315-nazqqx sitelibdir\=./.gem.20241230-3315-nazqqx install
18
+ make DESTDIR\= sitearchdir\=./.gem.20241230-3300-lm5wvm sitelibdir\=./.gem.20241230-3300-lm5wvm install
19
19
  make[1]: Entering directory '/home/circleci/project/build/public-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.3.0/gems/racc-1.8.1/ext/racc/cparse'
20
- /usr/bin/install -c -m 0755 cparse.so ./.gem.20241230-3315-nazqqx/racc
20
+ /usr/bin/install -c -m 0755 cparse.so ./.gem.20241230-3300-lm5wvm/racc
21
21
  make[1]: Leaving directory '/home/circleci/project/build/public-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.3.0/gems/racc-1.8.1/ext/racc/cparse'
22
22
 
23
23
  current directory: /home/circleci/project/build/public-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.3.0/gems/racc-1.8.1/ext/racc/cparse
24
- make DESTDIR\= sitearchdir\=./.gem.20241230-3315-nazqqx sitelibdir\=./.gem.20241230-3315-nazqqx clean
24
+ make DESTDIR\= sitearchdir\=./.gem.20241230-3300-lm5wvm sitelibdir\=./.gem.20241230-3300-lm5wvm clean
25
25
  make[1]: Entering directory '/home/circleci/project/build/public-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.3.0/gems/racc-1.8.1/ext/racc/cparse'
26
26
  make[1]: Leaving directory '/home/circleci/project/build/public-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.3.0/gems/racc-1.8.1/ext/racc/cparse'
@@ -3,24 +3,24 @@ current directory: /home/circleci/project/build/public-clients/api-platform-orga
3
3
  creating Makefile
4
4
 
5
5
  current directory: /home/circleci/project/build/public-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.3.0/gems/stringio-3.1.2/ext/stringio
6
- make DESTDIR\= sitearchdir\=./.gem.20241230-3315-oealz6 sitelibdir\=./.gem.20241230-3315-oealz6 clean
6
+ make DESTDIR\= sitearchdir\=./.gem.20241230-3300-xb3o0u sitelibdir\=./.gem.20241230-3300-xb3o0u clean
7
7
  make[1]: Entering directory '/home/circleci/project/build/public-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.3.0/gems/stringio-3.1.2/ext/stringio'
8
8
  make[1]: Leaving directory '/home/circleci/project/build/public-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.3.0/gems/stringio-3.1.2/ext/stringio'
9
9
 
10
10
  current directory: /home/circleci/project/build/public-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.3.0/gems/stringio-3.1.2/ext/stringio
11
- make DESTDIR\= sitearchdir\=./.gem.20241230-3315-oealz6 sitelibdir\=./.gem.20241230-3315-oealz6
11
+ make DESTDIR\= sitearchdir\=./.gem.20241230-3300-xb3o0u sitelibdir\=./.gem.20241230-3300-xb3o0u
12
12
  make[1]: Entering directory '/home/circleci/project/build/public-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.3.0/gems/stringio-3.1.2/ext/stringio'
13
13
  compiling stringio.c
14
14
  linking shared-object stringio.so
15
15
  make[1]: Leaving directory '/home/circleci/project/build/public-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.3.0/gems/stringio-3.1.2/ext/stringio'
16
16
 
17
17
  current directory: /home/circleci/project/build/public-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.3.0/gems/stringio-3.1.2/ext/stringio
18
- make DESTDIR\= sitearchdir\=./.gem.20241230-3315-oealz6 sitelibdir\=./.gem.20241230-3315-oealz6 install
18
+ make DESTDIR\= sitearchdir\=./.gem.20241230-3300-xb3o0u sitelibdir\=./.gem.20241230-3300-xb3o0u install
19
19
  make[1]: Entering directory '/home/circleci/project/build/public-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.3.0/gems/stringio-3.1.2/ext/stringio'
20
- /usr/bin/install -c -m 0755 stringio.so ./.gem.20241230-3315-oealz6
20
+ /usr/bin/install -c -m 0755 stringio.so ./.gem.20241230-3300-xb3o0u
21
21
  make[1]: Leaving directory '/home/circleci/project/build/public-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.3.0/gems/stringio-3.1.2/ext/stringio'
22
22
 
23
23
  current directory: /home/circleci/project/build/public-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.3.0/gems/stringio-3.1.2/ext/stringio
24
- make DESTDIR\= sitearchdir\=./.gem.20241230-3315-oealz6 sitelibdir\=./.gem.20241230-3315-oealz6 clean
24
+ make DESTDIR\= sitearchdir\=./.gem.20241230-3300-xb3o0u sitelibdir\=./.gem.20241230-3300-xb3o0u clean
25
25
  make[1]: Entering directory '/home/circleci/project/build/public-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.3.0/gems/stringio-3.1.2/ext/stringio'
26
26
  make[1]: Leaving directory '/home/circleci/project/build/public-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.3.0/gems/stringio-3.1.2/ext/stringio'
@@ -1,3 +1,12 @@
1
+ 1.17.1 / 2024-12-30
2
+ -------------------
3
+
4
+ Fixed:
5
+ * #1117 Restart async callback dispatcher thread after fork.
6
+ * #1133 Add ruby-3.4 native gem.
7
+ * #1134 Fix FFI::DataConverter non-generic usage in RBS files.
8
+
9
+
1
10
  1.17.0 / 2024-06-02
2
11
  -------------------
3
12
 
@@ -5,7 +5,7 @@ group :development do
5
5
  gem 'bundler', '>= 1.16', '< 3'
6
6
  gem 'rake', '~> 13.0'
7
7
  gem 'rake-compiler', '~> 1.1'
8
- gem 'rake-compiler-dock', '~> 1.0.pre'
8
+ gem 'rake-compiler-dock', '~> 1.7.0'
9
9
  gem 'rspec', '~> 3.0'
10
10
  end
11
11
 
@@ -136,7 +136,7 @@ namespace "gem" do
136
136
  desc "Build the native gem for #{plat}"
137
137
  task plat => ['prepare', 'build'] do
138
138
  RakeCompilerDock.sh <<-EOT, platform: plat
139
- #{ "sudo apt-get update && sudo apt-get install -y libltdl-dev &&" if plat !~ /linux/ }
139
+ sudo apt-get update && sudo apt-get install -y libltdl-dev &&
140
140
  bundle --local &&
141
141
  rake native:#{plat} pkg/#{gem_spec.full_name}-#{plat}.gem MAKE='nice make -j`nproc`' RUBY_CC_VERSION=${RUBY_CC_VERSION/:2.4.0/}
142
142
  EOT
@@ -48,3 +48,62 @@ require 'ffi/variadic'
48
48
  require 'ffi/enum'
49
49
  require 'ffi/version'
50
50
  require 'ffi/function'
51
+
52
+ module FFI
53
+ module ModernForkTracking
54
+ def _fork
55
+ pid = super
56
+ if pid == 0
57
+ FFI._async_cb_dispatcher_atfork_child
58
+ end
59
+ pid
60
+ end
61
+ end
62
+
63
+ module LegacyForkTracking
64
+ module KernelExt
65
+ def fork
66
+ if block_given?
67
+ super do
68
+ FFI._async_cb_dispatcher_atfork_child
69
+ yield
70
+ end
71
+ else
72
+ pid = super
73
+ FFI._async_cb_dispatcher_atfork_child if pid.nil?
74
+ pid
75
+ end
76
+ end
77
+ end
78
+
79
+ module KernelExtPrivate
80
+ include KernelExt
81
+ private :fork
82
+ end
83
+
84
+ module IOExt
85
+ def popen(*args)
86
+ return super unless args[0] == '-'
87
+
88
+ super(*args) do |pipe|
89
+ FFI._async_cb_dispatcher_atfork_child if pipe.nil?
90
+ yield pipe
91
+ end
92
+ end
93
+ ruby2_keywords :popen if respond_to?(:ruby2_keywords)
94
+ end
95
+ end
96
+
97
+ if Process.respond_to?(:_fork)
98
+ # The nice Ruby 3.1+ way of doing things
99
+ ::Process.singleton_class.prepend(ModernForkTracking)
100
+ elsif Process.respond_to?(:fork)
101
+ # Barf. Old CRuby.
102
+ # Most of the inspiration for how to do this was stolen from ActiveSupport.
103
+ ::Object.prepend(LegacyForkTracking::KernelExtPrivate)
104
+ ::Object.singleton_class.prepend(LegacyForkTracking::KernelExt)
105
+ ::Kernel.prepend(LegacyForkTracking::KernelExtPrivate)
106
+ ::Kernel.singleton_class.prepend(LegacyForkTracking::KernelExt)
107
+ ::IO.singleton_class.prepend(LegacyForkTracking::IOExt)
108
+ end
109
+ end
@@ -0,0 +1,3 @@
1
+ module FFI
2
+ VERSION = '1.17.1'
3
+ end
@@ -13,7 +13,6 @@ module FFI
13
13
  end
14
14
 
15
15
  def initialize: (Pointer pointer, Method | ^(self) -> void | Releaser::_Proc[self] callable) -> self
16
- # | (Pointer pointer) { (self) -> void } -> self # https://github.com/ffi/ffi/issues/1071
17
16
  | (Pointer pointer) -> self # where class < `def self.release: (instance pointer) -> void`
18
17
 
19
18
  extend DataConverter[Pointer, instance, nil]
@@ -33,7 +33,7 @@ module FFI
33
33
  def find_type: (ffi_lib_type t) -> Type
34
34
  def freeze: () -> void
35
35
  def function_names: (_ToS name, Array[Type | singleton(Struct)] arg_types) -> Array[String]
36
- def typedef: [T < Type] (T old, Symbol | DataConverter add, ?untyped) -> T
36
+ def typedef: [T < Type, N, R, C] (T old, Symbol | DataConverter[N, R, C] add, ?untyped) -> T
37
37
  | (Symbol old, Symbol add, ?untyped) -> (Type | Enum)
38
38
  | [X < DataConverter[N, R, C], N, R, C] (X old, Symbol add, ?untyped) -> Type::Mapped[X, N, R, C]
39
39
  | (:enum old, Array[Symbol | Integer] add, ?untyped) -> Enum
@@ -1,22 +1,22 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # stub: ffi 1.17.0 x86_64-linux-gnu lib
2
+ # stub: ffi 1.17.1 x86_64-linux-gnu lib
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "ffi".freeze
6
- s.version = "1.17.0".freeze
6
+ s.version = "1.17.1".freeze
7
7
  s.platform = "x86_64-linux-gnu".freeze
8
8
 
9
9
  s.required_rubygems_version = Gem::Requirement.new(">= 3.3.22".freeze) if s.respond_to? :required_rubygems_version=
10
10
  s.metadata = { "bug_tracker_uri" => "https://github.com/ffi/ffi/issues", "changelog_uri" => "https://github.com/ffi/ffi/blob/master/CHANGELOG.md", "documentation_uri" => "https://github.com/ffi/ffi/wiki", "mailing_list_uri" => "http://groups.google.com/group/ruby-ffi", "source_code_uri" => "https://github.com/ffi/ffi/", "wiki_uri" => "https://github.com/ffi/ffi/wiki" } if s.respond_to? :metadata=
11
11
  s.require_paths = ["lib".freeze]
12
12
  s.authors = ["Wayne Meissner".freeze]
13
- s.date = "2024-06-02"
13
+ s.date = "2024-12-30"
14
14
  s.description = "Ruby FFI library".freeze
15
15
  s.email = "wmeissner@gmail.com".freeze
16
16
  s.homepage = "https://github.com/ffi/ffi/wiki".freeze
17
17
  s.licenses = ["BSD-3-Clause".freeze]
18
18
  s.rdoc_options = ["--exclude=ext/ffi_c/.*\\.o$".freeze, "--exclude=ffi_c\\.(bundle|so)$".freeze]
19
- s.required_ruby_version = Gem::Requirement.new([">= 2.5".freeze, "< 3.4.dev".freeze])
19
+ s.required_ruby_version = Gem::Requirement.new([">= 2.5".freeze, "< 3.5.dev".freeze])
20
20
  s.rubygems_version = "3.3.26".freeze
21
21
  s.summary = "Ruby FFI".freeze
22
22