rulebricks 2.6.3__tar.gz → 2.6.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (334) hide show
  1. {rulebricks-2.6.3 → rulebricks-2.6.4}/PKG-INFO +1 -1
  2. {rulebricks-2.6.3 → rulebricks-2.6.4}/pyproject.toml +1 -1
  3. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/__init__.py +52 -13
  4. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/assets/__init__.py +14 -13
  5. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/assets/client.py +58 -90
  6. {rulebricks-2.6.3/src/rulebricks → rulebricks-2.6.4/src/rulebricks/assets}/contexts/__init__.py +4 -6
  7. {rulebricks-2.6.3/src/rulebricks/contexts/objects → rulebricks-2.6.4/src/rulebricks/assets/contexts}/client.py +43 -19
  8. {rulebricks-2.6.3/src/rulebricks/contexts/objects → rulebricks-2.6.4/src/rulebricks/assets/contexts}/raw_client.py +2 -2
  9. {rulebricks-2.6.3/src/rulebricks → rulebricks-2.6.4/src/rulebricks/assets}/contexts/relationships/client.py +11 -11
  10. {rulebricks-2.6.3/src/rulebricks → rulebricks-2.6.4/src/rulebricks/assets}/contexts/relationships/raw_client.py +16 -16
  11. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/assets/raw_client.py +58 -77
  12. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/assets/types/__init__.py +7 -13
  13. rulebricks-2.6.4/src/rulebricks/assets/types/import_rbm_assets_request_x_rulebricks_content_encoding.py +5 -0
  14. rulebricks-2.6.4/src/rulebricks/assets/types/import_rbm_assets_response.py +8 -0
  15. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/client.py +20 -20
  16. rulebricks-2.6.4/src/rulebricks/contexts/__init__.py +3 -0
  17. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/contexts/client.py +0 -43
  18. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/decisions/client.py +2 -2
  19. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/decisions/raw_client.py +2 -2
  20. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/errors/__init__.py +3 -0
  21. rulebricks-2.6.4/src/rulebricks/errors/gateway_timeout_error.py +10 -0
  22. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/flows/client.py +2 -2
  23. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/flows/raw_client.py +48 -2
  24. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/objects/client.py +22 -4
  25. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/objects/raw_client.py +2 -2
  26. rulebricks-2.6.4/src/rulebricks/py.typed +1 -0
  27. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/rules/client.py +4 -4
  28. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/rules/raw_client.py +138 -4
  29. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/tests/client.py +4 -4
  30. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/tests/flows/client.py +27 -4
  31. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/tests/flows/raw_client.py +13 -2
  32. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/tests/rules/client.py +27 -4
  33. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/tests/rules/raw_client.py +13 -2
  34. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/__init__.py +49 -3
  35. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/create_test_request.py +6 -0
  36. rulebricks-2.6.4/src/rulebricks/types/create_test_request_policy.py +5 -0
  37. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/delete_value_response.py +3 -9
  38. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/export_manifest_preview_response_preview_items.py +7 -0
  39. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/export_manifest_preview_response_preview_items_contexts_item.py +9 -0
  40. rulebricks-2.6.4/src/rulebricks/types/export_manifest_preview_response_preview_items_flows_item.py +35 -0
  41. rulebricks-2.6.4/src/rulebricks/types/export_manifest_preview_response_preview_items_rules_item.py +38 -0
  42. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/export_manifest_preview_response_preview_items_values_item.py +10 -0
  43. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/export_manifest_response_manifest.py +7 -2
  44. rulebricks-2.6.4/src/rulebricks/types/import_manifest_preview_response.py +21 -0
  45. rulebricks-2.6.4/src/rulebricks/types/import_manifest_preview_response_preview.py +27 -0
  46. rulebricks-2.6.4/src/rulebricks/types/import_manifest_preview_response_preview_items_item.py +28 -0
  47. rulebricks-2.6.4/src/rulebricks/types/import_manifest_preview_response_preview_items_item_operation.py +7 -0
  48. rulebricks-2.6.4/src/rulebricks/types/import_manifest_preview_response_preview_items_item_type.py +7 -0
  49. rulebricks-2.6.4/src/rulebricks/types/import_manifest_preview_response_preview_policy.py +5 -0
  50. rulebricks-2.6.4/src/rulebricks/types/import_manifest_request.py +49 -0
  51. {rulebricks-2.6.3/src/rulebricks/assets → rulebricks-2.6.4/src/rulebricks}/types/import_manifest_request_conflict_strategy.py +1 -1
  52. {rulebricks-2.6.3/src/rulebricks/assets → rulebricks-2.6.4/src/rulebricks}/types/import_manifest_request_manifest.py +6 -6
  53. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/import_manifest_response.py +8 -2
  54. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/import_manifest_response_errors_item.py +9 -0
  55. rulebricks-2.6.4/src/rulebricks/types/import_manifest_response_outcome.py +5 -0
  56. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/rulebricks_flow_node.py +2 -2
  57. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/rulebricks_flow_node_type.py +2 -0
  58. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/run_tests_response_failures_item.py +2 -0
  59. rulebricks-2.6.4/src/rulebricks/types/run_tests_response_failures_item_policy.py +5 -0
  60. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/run_tests_response_results_item.py +2 -0
  61. rulebricks-2.6.4/src/rulebricks/types/run_tests_response_results_item_policy.py +5 -0
  62. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/test.py +6 -0
  63. rulebricks-2.6.4/src/rulebricks/types/test_policy.py +5 -0
  64. rulebricks-2.6.4/src/rulebricks/types/upsert_object_request_content.py +5 -0
  65. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/upsert_object_request_field_rename.py +3 -3
  66. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/upsert_object_response.py +2 -2
  67. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/upsert_object_response_values.py +2 -2
  68. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/value_limits.py +8 -0
  69. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/value_reference.py +1 -1
  70. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/workspace_object.py +2 -2
  71. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/workspace_object_parsed_fields_item.py +3 -9
  72. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/users/client.py +2 -2
  73. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/values/client.py +4 -4
  74. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/values/raw_client.py +4 -4
  75. rulebricks-2.6.3/src/rulebricks/assets/types/import_manifest_request_legacy_rule_mapping_value.py +0 -21
  76. rulebricks-2.6.3/src/rulebricks/assets/types/import_manifest_request_legacy_rule_mapping_value_action.py +0 -5
  77. rulebricks-2.6.3/src/rulebricks/contexts/objects/__init__.py +0 -37
  78. rulebricks-2.6.3/src/rulebricks/types/delete_value_response_cascade_deleted_item.py +0 -20
  79. rulebricks-2.6.3/src/rulebricks/types/export_manifest_preview_response_preview_items_flows_item.py +0 -21
  80. rulebricks-2.6.3/src/rulebricks/types/export_manifest_preview_response_preview_items_rules_item.py +0 -21
  81. {rulebricks-2.6.3 → rulebricks-2.6.4}/LICENSE.txt +0 -0
  82. {rulebricks-2.6.3 → rulebricks-2.6.4}/README.md +0 -0
  83. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/_default_clients.py +0 -0
  84. {rulebricks-2.6.3/src/rulebricks → rulebricks-2.6.4/src/rulebricks/assets}/contexts/relationships/__init__.py +0 -0
  85. {rulebricks-2.6.3/src/rulebricks → rulebricks-2.6.4/src/rulebricks/assets}/contexts/relationships/types/__init__.py +0 -0
  86. {rulebricks-2.6.3/src/rulebricks → rulebricks-2.6.4/src/rulebricks/assets}/contexts/relationships/types/create_relationship_request_relation_type.py +0 -0
  87. {rulebricks-2.6.3/src/rulebricks/contexts/objects → rulebricks-2.6.4/src/rulebricks/assets/contexts}/types/__init__.py +0 -0
  88. {rulebricks-2.6.3/src/rulebricks/contexts/objects → rulebricks-2.6.4/src/rulebricks/assets/contexts}/types/create_context_request_on_schema_mismatch.py +0 -0
  89. {rulebricks-2.6.3/src/rulebricks/contexts/objects → rulebricks-2.6.4/src/rulebricks/assets/contexts}/types/update_context_request_on_schema_mismatch.py +0 -0
  90. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/assets/flows/__init__.py +0 -0
  91. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/assets/flows/client.py +0 -0
  92. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/assets/flows/raw_client.py +0 -0
  93. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/assets/folders/__init__.py +0 -0
  94. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/assets/folders/client.py +0 -0
  95. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/assets/folders/raw_client.py +0 -0
  96. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/assets/folders/types/__init__.py +0 -0
  97. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/assets/folders/types/upsert_folder_request_type.py +0 -0
  98. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/assets/rules/__init__.py +0 -0
  99. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/assets/rules/client.py +0 -0
  100. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/assets/rules/raw_client.py +0 -0
  101. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/assets/types/export_manifest_request_root_type.py +0 -0
  102. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/assets/types/export_rbm_assets_response.py +0 -0
  103. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/contexts/raw_client.py +0 -0
  104. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/core/__init__.py +0 -0
  105. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/core/api_error.py +0 -0
  106. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/core/client_wrapper.py +0 -0
  107. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/core/datetime_utils.py +0 -0
  108. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/core/file.py +0 -0
  109. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/core/force_multipart.py +0 -0
  110. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/core/http_client.py +0 -0
  111. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/core/http_response.py +0 -0
  112. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/core/http_sse/__init__.py +0 -0
  113. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/core/http_sse/_api.py +0 -0
  114. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/core/http_sse/_decoders.py +0 -0
  115. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/core/http_sse/_exceptions.py +0 -0
  116. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/core/http_sse/_models.py +0 -0
  117. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/core/jsonable_encoder.py +0 -0
  118. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/core/logging.py +0 -0
  119. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/core/parse_error.py +0 -0
  120. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/core/pydantic_utilities.py +0 -0
  121. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/core/query_encoder.py +0 -0
  122. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/core/remove_none_from_dict.py +0 -0
  123. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/core/request_options.py +0 -0
  124. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/core/serialization.py +0 -0
  125. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/decisions/__init__.py +0 -0
  126. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/decisions/types/__init__.py +0 -0
  127. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/decisions/types/query_decisions_request_count.py +0 -0
  128. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/decisions/types/query_decisions_request_include_traces.py +0 -0
  129. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/decisions/types/query_decisions_request_order.py +0 -0
  130. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/decisions/types/query_decisions_request_sort.py +0 -0
  131. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/environment.py +0 -0
  132. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/errors/bad_request_error.py +0 -0
  133. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/errors/conflict_error.py +0 -0
  134. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/errors/content_too_large_error.py +0 -0
  135. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/errors/forbidden_error.py +0 -0
  136. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/errors/internal_server_error.py +0 -0
  137. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/errors/not_found_error.py +0 -0
  138. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/errors/payment_required_error.py +0 -0
  139. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/errors/service_unavailable_error.py +0 -0
  140. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/errors/unprocessable_entity_error.py +0 -0
  141. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/flows/__init__.py +0 -0
  142. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/forge/__init__.py +0 -0
  143. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/forge/examples/health_insurance_selector.py +0 -0
  144. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/forge/operators.py +0 -0
  145. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/forge/rule.py +0 -0
  146. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/forge/types/__init__.py +0 -0
  147. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/forge/types/operators.py +0 -0
  148. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/forge/types/values.py +0 -0
  149. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/forge/vocabulary.py +0 -0
  150. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/infra/__init__.py +0 -0
  151. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/infra/client.py +0 -0
  152. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/infra/raw_client.py +0 -0
  153. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/objects/__init__.py +0 -0
  154. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/objects/types/__init__.py +0 -0
  155. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/objects/types/delete_objects_request_values.py +0 -0
  156. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/rules/__init__.py +0 -0
  157. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/tests/__init__.py +0 -0
  158. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/tests/conftest.py +0 -0
  159. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/tests/flows/__init__.py +0 -0
  160. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/tests/raw_client.py +0 -0
  161. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/tests/rules/__init__.py +0 -0
  162. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/tests/test_aiohttp_autodetect.py +0 -0
  163. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/asset_labels.py +0 -0
  164. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/bulk_rule_response_item.py +0 -0
  165. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/bulk_rule_response_item_error.py +0 -0
  166. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/cascade_context_request.py +0 -0
  167. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/cascade_context_response.py +0 -0
  168. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/cascade_result.py +0 -0
  169. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/cascade_result_status.py +0 -0
  170. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/context_base.py +0 -0
  171. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/context_base_on_schema_mismatch.py +0 -0
  172. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/context_batch_response.py +0 -0
  173. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/context_batch_response_rejections_item.py +0 -0
  174. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/context_batch_response_results_item.py +0 -0
  175. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/context_batch_response_results_item_executed_item.py +0 -0
  176. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/context_batch_response_results_item_executed_item_status.py +0 -0
  177. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/context_batch_response_results_item_executed_item_type.py +0 -0
  178. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/context_batch_response_results_item_reason.py +0 -0
  179. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/context_batch_response_results_item_status.py +0 -0
  180. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/context_batch_response_timings.py +0 -0
  181. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/context_cascade_summary.py +0 -0
  182. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/context_detail.py +0 -0
  183. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/context_detail_bound_flows_item.py +0 -0
  184. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/context_detail_bound_flows_item_origin_rule.py +0 -0
  185. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/context_detail_bound_rules_item.py +0 -0
  186. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/context_detail_folder.py +0 -0
  187. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/context_detail_relationships.py +0 -0
  188. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/context_instance_history.py +0 -0
  189. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/context_instance_history_entry.py +0 -0
  190. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/context_instance_pending_evaluation.py +0 -0
  191. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/context_instance_pending_evaluation_type.py +0 -0
  192. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/context_instance_pending_response.py +0 -0
  193. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/context_instance_state.py +0 -0
  194. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/context_instance_state_status.py +0 -0
  195. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/context_list_item.py +0 -0
  196. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/context_list_item_folder.py +0 -0
  197. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/context_list_response.py +0 -0
  198. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/context_relationship_base.py +0 -0
  199. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/context_relationship_base_relation_type.py +0 -0
  200. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/context_relationship_incoming.py +0 -0
  201. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/context_relationship_incoming_source_context.py +0 -0
  202. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/context_relationship_outgoing.py +0 -0
  203. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/context_relationship_outgoing_target_context.py +0 -0
  204. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/context_relationships_response.py +0 -0
  205. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/context_relationships_response_context.py +0 -0
  206. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/context_schema.py +0 -0
  207. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/context_schema_field.py +0 -0
  208. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/context_schema_field_type.py +0 -0
  209. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/context_waiting_on.py +0 -0
  210. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/create_context_response.py +0 -0
  211. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/create_relationship_response.py +0 -0
  212. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/create_user_response.py +0 -0
  213. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/create_user_response_user.py +0 -0
  214. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/decision_log.py +0 -0
  215. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/decision_log_path_trace.py +0 -0
  216. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/decision_log_request.py +0 -0
  217. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/decision_log_response.py +0 -0
  218. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/delete_context_instance_response.py +0 -0
  219. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/delete_context_response.py +0 -0
  220. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/delete_object_response.py +0 -0
  221. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/delete_object_response_values.py +0 -0
  222. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/delete_relationship_response.py +0 -0
  223. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/delete_value_response_updated_list_values_item.py +0 -0
  224. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/dynamic_request_payload.py +0 -0
  225. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/dynamic_response_payload.py +0 -0
  226. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/dynamic_value.py +0 -0
  227. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/dynamic_value_list_response.py +0 -0
  228. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/dynamic_value_page.py +0 -0
  229. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/dynamic_value_value.py +0 -0
  230. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/error.py +0 -0
  231. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/export_manifest_preview_response.py +0 -0
  232. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/export_manifest_preview_response_preview.py +0 -0
  233. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/export_manifest_preview_response_preview_counts.py +0 -0
  234. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/export_manifest_response.py +0 -0
  235. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/flow_base.py +0 -0
  236. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/flow_detail.py +0 -0
  237. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/flow_detail_context.py +0 -0
  238. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/flow_detail_origin_rule.py +0 -0
  239. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/flow_execution_error.py +0 -0
  240. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/flow_import_payload.py +0 -0
  241. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/flow_import_response.py +0 -0
  242. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/flow_list_response.py +0 -0
  243. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/folder.py +0 -0
  244. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/folder_list_response.py +0 -0
  245. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/folder_type.py +0 -0
  246. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/import_manifest_response_created_item.py +0 -0
  247. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/import_manifest_response_organization_created.py +0 -0
  248. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/import_manifest_response_skipped_item.py +0 -0
  249. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/import_manifest_response_updated_item.py +0 -0
  250. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/manifest_labeled_asset.py +0 -0
  251. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/manifest_labeled_asset_data.py +0 -0
  252. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/object_upsert_conflict_response.py +0 -0
  253. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/object_value_collision.py +0 -0
  254. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/parallel_solve_entity_error.py +0 -0
  255. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/parallel_solve_entity_error_error.py +0 -0
  256. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/parallel_solve_request.py +0 -0
  257. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/parallel_solve_request_value.py +0 -0
  258. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/parallel_solve_response.py +0 -0
  259. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/pending_context_evaluation_response.py +0 -0
  260. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/pending_context_evaluation_response_status.py +0 -0
  261. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/rule_base.py +0 -0
  262. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/rule_detail.py +0 -0
  263. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/rule_detail_context.py +0 -0
  264. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/rule_export.py +0 -0
  265. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/rule_import_condition_row.py +0 -0
  266. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/rule_import_payload.py +0 -0
  267. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/rule_import_request_cell.py +0 -0
  268. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/rule_import_response_cell.py +0 -0
  269. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/rule_import_row_settings.py +0 -0
  270. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/rule_import_schema_field.py +0 -0
  271. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/rule_import_schema_field_type.py +0 -0
  272. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/rule_list_response.py +0 -0
  273. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/rule_usage.py +0 -0
  274. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/rulebricks_flow_connection.py +0 -0
  275. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/rulebricks_flow_node_aggregations_value.py +0 -0
  276. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/rulebricks_flow_node_condition.py +0 -0
  277. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/rulebricks_flow_node_labels_item.py +0 -0
  278. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/rulebricks_flow_node_labels_item_type.py +0 -0
  279. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/rulebricks_flow_node_mode.py +0 -0
  280. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/rulebricks_flow_node_operation.py +0 -0
  281. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/rulebricks_flow_node_outputs_item.py +0 -0
  282. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/rulebricks_flow_node_outputs_item_type.py +0 -0
  283. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/rulebricks_flow_node_secrets_item.py +0 -0
  284. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/rulebricks_flow_node_table_item.py +0 -0
  285. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/rulebricks_flow_output_field.py +0 -0
  286. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/rulebricks_flow_output_field_type.py +0 -0
  287. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/run_tests_request.py +0 -0
  288. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/run_tests_response.py +0 -0
  289. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/scale_status_response.py +0 -0
  290. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/scale_status_response_status.py +0 -0
  291. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/schema_field.py +0 -0
  292. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/schema_field_default_value.py +0 -0
  293. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/schema_field_type.py +0 -0
  294. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/solve_context_flow_request.py +0 -0
  295. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/solve_context_flow_response.py +0 -0
  296. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/solve_context_flow_response_status.py +0 -0
  297. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/solve_context_rule_request.py +0 -0
  298. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/solve_context_rule_response.py +0 -0
  299. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/solve_context_rule_response_status.py +0 -0
  300. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/submit_context_data_request.py +0 -0
  301. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/submit_context_data_response.py +0 -0
  302. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/submit_context_data_response_cascaded_item.py +0 -0
  303. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/submit_context_data_response_status.py +0 -0
  304. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/success_message.py +0 -0
  305. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/sync_values_response.py +0 -0
  306. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/sync_values_response_blocked_item.py +0 -0
  307. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/sync_values_response_blocked_item_action.py +0 -0
  308. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/sync_values_response_errors_item.py +0 -0
  309. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/test_list_response.py +0 -0
  310. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/test_test_state.py +0 -0
  311. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/test_test_state_evaluation_error.py +0 -0
  312. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/update_context_response.py +0 -0
  313. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/update_values_summary_response.py +0 -0
  314. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/upsert_object_request.py +0 -0
  315. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/upsert_object_response_values_would_archive_item.py +0 -0
  316. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/usage_statistics.py +0 -0
  317. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/user_detail.py +0 -0
  318. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/user_group.py +0 -0
  319. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/user_group_list_response.py +0 -0
  320. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/user_invite_response.py +0 -0
  321. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/user_invite_response_user.py +0 -0
  322. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/user_list_response.py +0 -0
  323. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/types/value_reference_rb.py +0 -0
  324. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/users/__init__.py +0 -0
  325. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/users/groups/__init__.py +0 -0
  326. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/users/groups/client.py +0 -0
  327. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/users/groups/raw_client.py +0 -0
  328. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/users/raw_client.py +0 -0
  329. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/users/types/__init__.py +0 -0
  330. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/users/types/user_invite_request_role.py +0 -0
  331. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/values/__init__.py +0 -0
  332. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/values/types/__init__.py +0 -0
  333. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/values/types/list_values_response.py +0 -0
  334. {rulebricks-2.6.3 → rulebricks-2.6.4}/src/rulebricks/values/types/update_values_response.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: rulebricks
3
- Version: 2.6.3
3
+ Version: 2.6.4
4
4
  Summary: A JSON-based, server-side rule engine with a customizable decision table UI for non-technical end users
5
5
  Author: Sid Garimella
6
6
  Author-email: sid@rulebricks.com
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "rulebricks"
3
- version = "2.6.3"
3
+ version = "2.6.4"
4
4
  description = "A JSON-based, server-side rule engine with a customizable decision table UI for non-technical end users"
5
5
  readme = "README.md"
6
6
  authors = ["Sid Garimella <sid@rulebricks.com>"]
@@ -57,6 +57,7 @@ if typing.TYPE_CHECKING:
57
57
  CreateContextResponse,
58
58
  CreateRelationshipResponse,
59
59
  CreateTestRequest,
60
+ CreateTestRequestPolicy,
60
61
  CreateUserResponse,
61
62
  CreateUserResponseUser,
62
63
  DecisionLog,
@@ -69,7 +70,6 @@ if typing.TYPE_CHECKING:
69
70
  DeleteObjectResponseValues,
70
71
  DeleteRelationshipResponse,
71
72
  DeleteValueResponse,
72
- DeleteValueResponseCascadeDeletedItem,
73
73
  DeleteValueResponseUpdatedListValuesItem,
74
74
  DynamicRequestPayload,
75
75
  DynamicResponsePayload,
@@ -99,10 +99,20 @@ if typing.TYPE_CHECKING:
99
99
  Folder,
100
100
  FolderListResponse,
101
101
  FolderType,
102
+ ImportManifestPreviewResponse,
103
+ ImportManifestPreviewResponsePreview,
104
+ ImportManifestPreviewResponsePreviewItemsItem,
105
+ ImportManifestPreviewResponsePreviewItemsItemOperation,
106
+ ImportManifestPreviewResponsePreviewItemsItemType,
107
+ ImportManifestPreviewResponsePreviewPolicy,
108
+ ImportManifestRequest,
109
+ ImportManifestRequestConflictStrategy,
110
+ ImportManifestRequestManifest,
102
111
  ImportManifestResponse,
103
112
  ImportManifestResponseCreatedItem,
104
113
  ImportManifestResponseErrorsItem,
105
114
  ImportManifestResponseOrganizationCreated,
115
+ ImportManifestResponseOutcome,
106
116
  ImportManifestResponseSkippedItem,
107
117
  ImportManifestResponseUpdatedItem,
108
118
  ManifestLabeledAsset,
@@ -147,7 +157,9 @@ if typing.TYPE_CHECKING:
147
157
  RunTestsRequest,
148
158
  RunTestsResponse,
149
159
  RunTestsResponseFailuresItem,
160
+ RunTestsResponseFailuresItemPolicy,
150
161
  RunTestsResponseResultsItem,
162
+ RunTestsResponseResultsItemPolicy,
151
163
  ScaleStatusResponse,
152
164
  ScaleStatusResponseStatus,
153
165
  SchemaField,
@@ -170,11 +182,13 @@ if typing.TYPE_CHECKING:
170
182
  SyncValuesResponseErrorsItem,
171
183
  Test,
172
184
  TestListResponse,
185
+ TestPolicy,
173
186
  TestTestState,
174
187
  TestTestStateEvaluationError,
175
188
  UpdateContextResponse,
176
189
  UpdateValuesSummaryResponse,
177
190
  UpsertObjectRequest,
191
+ UpsertObjectRequestContent,
178
192
  UpsertObjectRequestFieldRename,
179
193
  UpsertObjectResponse,
180
194
  UpsertObjectResponseValues,
@@ -197,6 +211,7 @@ if typing.TYPE_CHECKING:
197
211
  ConflictError,
198
212
  ContentTooLargeError,
199
213
  ForbiddenError,
214
+ GatewayTimeoutError,
200
215
  InternalServerError,
201
216
  NotFoundError,
202
217
  PaymentRequiredError,
@@ -208,10 +223,8 @@ if typing.TYPE_CHECKING:
208
223
  from .assets import (
209
224
  ExportManifestRequestRootType,
210
225
  ExportRbmAssetsResponse,
211
- ImportManifestRequestConflictStrategy,
212
- ImportManifestRequestLegacyRuleMappingValue,
213
- ImportManifestRequestLegacyRuleMappingValueAction,
214
- ImportManifestRequestManifest,
226
+ ImportRbmAssetsRequestXRulebricksContentEncoding,
227
+ ImportRbmAssetsResponse,
215
228
  )
216
229
  from .client import AsyncRulebricks, Rulebricks
217
230
  from .decisions import (
@@ -280,6 +293,7 @@ _dynamic_imports: typing.Dict[str, str] = {
280
293
  "CreateContextResponse": ".types",
281
294
  "CreateRelationshipResponse": ".types",
282
295
  "CreateTestRequest": ".types",
296
+ "CreateTestRequestPolicy": ".types",
283
297
  "CreateUserResponse": ".types",
284
298
  "CreateUserResponseUser": ".types",
285
299
  "DecisionLog": ".types",
@@ -295,7 +309,6 @@ _dynamic_imports: typing.Dict[str, str] = {
295
309
  "DeleteObjectsRequestValues": ".objects",
296
310
  "DeleteRelationshipResponse": ".types",
297
311
  "DeleteValueResponse": ".types",
298
- "DeleteValueResponseCascadeDeletedItem": ".types",
299
312
  "DeleteValueResponseUpdatedListValuesItem": ".types",
300
313
  "DynamicRequestPayload": ".types",
301
314
  "DynamicResponsePayload": ".types",
@@ -328,16 +341,25 @@ _dynamic_imports: typing.Dict[str, str] = {
328
341
  "FolderListResponse": ".types",
329
342
  "FolderType": ".types",
330
343
  "ForbiddenError": ".errors",
331
- "ImportManifestRequestConflictStrategy": ".assets",
332
- "ImportManifestRequestLegacyRuleMappingValue": ".assets",
333
- "ImportManifestRequestLegacyRuleMappingValueAction": ".assets",
334
- "ImportManifestRequestManifest": ".assets",
344
+ "GatewayTimeoutError": ".errors",
345
+ "ImportManifestPreviewResponse": ".types",
346
+ "ImportManifestPreviewResponsePreview": ".types",
347
+ "ImportManifestPreviewResponsePreviewItemsItem": ".types",
348
+ "ImportManifestPreviewResponsePreviewItemsItemOperation": ".types",
349
+ "ImportManifestPreviewResponsePreviewItemsItemType": ".types",
350
+ "ImportManifestPreviewResponsePreviewPolicy": ".types",
351
+ "ImportManifestRequest": ".types",
352
+ "ImportManifestRequestConflictStrategy": ".types",
353
+ "ImportManifestRequestManifest": ".types",
335
354
  "ImportManifestResponse": ".types",
336
355
  "ImportManifestResponseCreatedItem": ".types",
337
356
  "ImportManifestResponseErrorsItem": ".types",
338
357
  "ImportManifestResponseOrganizationCreated": ".types",
358
+ "ImportManifestResponseOutcome": ".types",
339
359
  "ImportManifestResponseSkippedItem": ".types",
340
360
  "ImportManifestResponseUpdatedItem": ".types",
361
+ "ImportRbmAssetsRequestXRulebricksContentEncoding": ".assets",
362
+ "ImportRbmAssetsResponse": ".assets",
341
363
  "InternalServerError": ".errors",
342
364
  "ListValuesResponse": ".values",
343
365
  "ManifestLabeledAsset": ".types",
@@ -390,7 +412,9 @@ _dynamic_imports: typing.Dict[str, str] = {
390
412
  "RunTestsRequest": ".types",
391
413
  "RunTestsResponse": ".types",
392
414
  "RunTestsResponseFailuresItem": ".types",
415
+ "RunTestsResponseFailuresItemPolicy": ".types",
393
416
  "RunTestsResponseResultsItem": ".types",
417
+ "RunTestsResponseResultsItemPolicy": ".types",
394
418
  "ScaleStatusResponse": ".types",
395
419
  "ScaleStatusResponseStatus": ".types",
396
420
  "SchemaField": ".types",
@@ -414,6 +438,7 @@ _dynamic_imports: typing.Dict[str, str] = {
414
438
  "SyncValuesResponseErrorsItem": ".types",
415
439
  "Test": ".types",
416
440
  "TestListResponse": ".types",
441
+ "TestPolicy": ".types",
417
442
  "TestTestState": ".types",
418
443
  "TestTestStateEvaluationError": ".types",
419
444
  "UnprocessableEntityError": ".errors",
@@ -421,6 +446,7 @@ _dynamic_imports: typing.Dict[str, str] = {
421
446
  "UpdateValuesResponse": ".values",
422
447
  "UpdateValuesSummaryResponse": ".types",
423
448
  "UpsertObjectRequest": ".types",
449
+ "UpsertObjectRequestContent": ".types",
424
450
  "UpsertObjectRequestFieldRename": ".types",
425
451
  "UpsertObjectResponse": ".types",
426
452
  "UpsertObjectResponseValues": ".types",
@@ -527,6 +553,7 @@ __all__ = [
527
553
  "CreateContextResponse",
528
554
  "CreateRelationshipResponse",
529
555
  "CreateTestRequest",
556
+ "CreateTestRequestPolicy",
530
557
  "CreateUserResponse",
531
558
  "CreateUserResponseUser",
532
559
  "DecisionLog",
@@ -542,7 +569,6 @@ __all__ = [
542
569
  "DeleteObjectsRequestValues",
543
570
  "DeleteRelationshipResponse",
544
571
  "DeleteValueResponse",
545
- "DeleteValueResponseCascadeDeletedItem",
546
572
  "DeleteValueResponseUpdatedListValuesItem",
547
573
  "DynamicRequestPayload",
548
574
  "DynamicResponsePayload",
@@ -575,16 +601,25 @@ __all__ = [
575
601
  "FolderListResponse",
576
602
  "FolderType",
577
603
  "ForbiddenError",
604
+ "GatewayTimeoutError",
605
+ "ImportManifestPreviewResponse",
606
+ "ImportManifestPreviewResponsePreview",
607
+ "ImportManifestPreviewResponsePreviewItemsItem",
608
+ "ImportManifestPreviewResponsePreviewItemsItemOperation",
609
+ "ImportManifestPreviewResponsePreviewItemsItemType",
610
+ "ImportManifestPreviewResponsePreviewPolicy",
611
+ "ImportManifestRequest",
578
612
  "ImportManifestRequestConflictStrategy",
579
- "ImportManifestRequestLegacyRuleMappingValue",
580
- "ImportManifestRequestLegacyRuleMappingValueAction",
581
613
  "ImportManifestRequestManifest",
582
614
  "ImportManifestResponse",
583
615
  "ImportManifestResponseCreatedItem",
584
616
  "ImportManifestResponseErrorsItem",
585
617
  "ImportManifestResponseOrganizationCreated",
618
+ "ImportManifestResponseOutcome",
586
619
  "ImportManifestResponseSkippedItem",
587
620
  "ImportManifestResponseUpdatedItem",
621
+ "ImportRbmAssetsRequestXRulebricksContentEncoding",
622
+ "ImportRbmAssetsResponse",
588
623
  "InternalServerError",
589
624
  "ListValuesResponse",
590
625
  "ManifestLabeledAsset",
@@ -637,7 +672,9 @@ __all__ = [
637
672
  "RunTestsRequest",
638
673
  "RunTestsResponse",
639
674
  "RunTestsResponseFailuresItem",
675
+ "RunTestsResponseFailuresItemPolicy",
640
676
  "RunTestsResponseResultsItem",
677
+ "RunTestsResponseResultsItemPolicy",
641
678
  "ScaleStatusResponse",
642
679
  "ScaleStatusResponseStatus",
643
680
  "SchemaField",
@@ -661,6 +698,7 @@ __all__ = [
661
698
  "SyncValuesResponseErrorsItem",
662
699
  "Test",
663
700
  "TestListResponse",
701
+ "TestPolicy",
664
702
  "TestTestState",
665
703
  "TestTestStateEvaluationError",
666
704
  "UnprocessableEntityError",
@@ -668,6 +706,7 @@ __all__ = [
668
706
  "UpdateValuesResponse",
669
707
  "UpdateValuesSummaryResponse",
670
708
  "UpsertObjectRequest",
709
+ "UpsertObjectRequestContent",
671
710
  "UpsertObjectRequestFieldRename",
672
711
  "UpsertObjectResponse",
673
712
  "UpsertObjectResponseValues",
@@ -9,21 +9,21 @@ if typing.TYPE_CHECKING:
9
9
  from .types import (
10
10
  ExportManifestRequestRootType,
11
11
  ExportRbmAssetsResponse,
12
- ImportManifestRequestConflictStrategy,
13
- ImportManifestRequestLegacyRuleMappingValue,
14
- ImportManifestRequestLegacyRuleMappingValueAction,
15
- ImportManifestRequestManifest,
12
+ ImportRbmAssetsRequestXRulebricksContentEncoding,
13
+ ImportRbmAssetsResponse,
16
14
  )
17
- from . import flows, folders, rules
15
+ from . import contexts, flows, folders, rules
16
+ from .contexts import CreateContextRequestOnSchemaMismatch, UpdateContextRequestOnSchemaMismatch
18
17
  from .folders import UpsertFolderRequestType
19
18
  _dynamic_imports: typing.Dict[str, str] = {
19
+ "CreateContextRequestOnSchemaMismatch": ".contexts",
20
20
  "ExportManifestRequestRootType": ".types",
21
21
  "ExportRbmAssetsResponse": ".types",
22
- "ImportManifestRequestConflictStrategy": ".types",
23
- "ImportManifestRequestLegacyRuleMappingValue": ".types",
24
- "ImportManifestRequestLegacyRuleMappingValueAction": ".types",
25
- "ImportManifestRequestManifest": ".types",
22
+ "ImportRbmAssetsRequestXRulebricksContentEncoding": ".types",
23
+ "ImportRbmAssetsResponse": ".types",
24
+ "UpdateContextRequestOnSchemaMismatch": ".contexts",
26
25
  "UpsertFolderRequestType": ".folders",
26
+ "contexts": ".contexts",
27
27
  "flows": ".flows",
28
28
  "folders": ".folders",
29
29
  "rules": ".rules",
@@ -52,13 +52,14 @@ def __dir__():
52
52
 
53
53
 
54
54
  __all__ = [
55
+ "CreateContextRequestOnSchemaMismatch",
55
56
  "ExportManifestRequestRootType",
56
57
  "ExportRbmAssetsResponse",
57
- "ImportManifestRequestConflictStrategy",
58
- "ImportManifestRequestLegacyRuleMappingValue",
59
- "ImportManifestRequestLegacyRuleMappingValueAction",
60
- "ImportManifestRequestManifest",
58
+ "ImportRbmAssetsRequestXRulebricksContentEncoding",
59
+ "ImportRbmAssetsResponse",
60
+ "UpdateContextRequestOnSchemaMismatch",
61
61
  "UpsertFolderRequestType",
62
+ "contexts",
62
63
  "flows",
63
64
  "folders",
64
65
  "rules",
@@ -6,16 +6,14 @@ import typing
6
6
 
7
7
  from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper
8
8
  from ..core.request_options import RequestOptions
9
- from ..types.import_manifest_response import ImportManifestResponse
10
9
  from ..types.usage_statistics import UsageStatistics
11
10
  from .raw_client import AsyncRawAssetsClient, RawAssetsClient
12
11
  from .types.export_manifest_request_root_type import ExportManifestRequestRootType
13
12
  from .types.export_rbm_assets_response import ExportRbmAssetsResponse
14
- from .types.import_manifest_request_conflict_strategy import ImportManifestRequestConflictStrategy
15
- from .types.import_manifest_request_legacy_rule_mapping_value import ImportManifestRequestLegacyRuleMappingValue
16
- from .types.import_manifest_request_manifest import ImportManifestRequestManifest
13
+ from .types.import_rbm_assets_response import ImportRbmAssetsResponse
17
14
 
18
15
  if typing.TYPE_CHECKING:
16
+ from .contexts.client import AsyncContextsClient, ContextsClient
19
17
  from .flows.client import AsyncFlowsClient, FlowsClient
20
18
  from .folders.client import AsyncFoldersClient, FoldersClient
21
19
  from .rules.client import AsyncRulesClient, RulesClient
@@ -30,6 +28,7 @@ class AssetsClient:
30
28
  self._rules: typing.Optional[RulesClient] = None
31
29
  self._flows: typing.Optional[FlowsClient] = None
32
30
  self._folders: typing.Optional[FoldersClient] = None
31
+ self._contexts: typing.Optional[ContextsClient] = None
33
32
 
34
33
  @property
35
34
  def with_raw_response(self) -> RawAssetsClient:
@@ -71,63 +70,34 @@ class AssetsClient:
71
70
  def import_rbm(
72
71
  self,
73
72
  *,
74
- manifest: ImportManifestRequestManifest,
75
- conflict_strategy: typing.Optional[ImportManifestRequestConflictStrategy] = OMIT,
76
- target_folder_name: typing.Optional[str] = OMIT,
77
- legacy_rule_mapping: typing.Optional[typing.Dict[str, ImportManifestRequestLegacyRuleMappingValue]] = OMIT,
73
+ request: typing.Union[bytes, typing.Iterator[bytes], typing.AsyncIterator[bytes]],
78
74
  request_options: typing.Optional[RequestOptions] = None,
79
- ) -> ImportManifestResponse:
75
+ ) -> ImportRbmAssetsResponse:
80
76
  """
81
- Import rules, flows, contexts, and values from an Rulebricks manifest file (*.rbm).
77
+ Import rules, flows, contexts, and values from a Rulebricks manifest file (*.rbm). Plain JSON remains supported, and clients may send the same JSON envelope gzip-compressed with `Content-Type: application/octet-stream` and `X-Rulebricks-Content-Encoding: gzip`.
82
78
 
83
79
  Parameters
84
80
  ----------
85
- manifest : ImportManifestRequestManifest
86
- The RBM manifest object containing assets to import. Asset objects inside the manifest intentionally preserve `.rbm`/database casing so exported manifests can be imported without rewriting asset payloads. A compressed manifest is also accepted: the JSON array produced by the compress-json library (for example, the contents of a compressed .rbm file exported with `compress: true`); it is detected and decompressed automatically.
87
-
88
- conflict_strategy : typing.Optional[ImportManifestRequestConflictStrategy]
89
- How to handle conflicts with existing assets. 'update' overwrites, 'skip' ignores, 'error' fails.
90
-
91
- target_folder_name : typing.Optional[str]
92
- Optional folder name to place imported assets into. Created if it doesn't exist.
93
-
94
- legacy_rule_mapping : typing.Optional[typing.Dict[str, ImportManifestRequestLegacyRuleMappingValue]]
95
- Optional mapping for legacy flow imports to reuse existing rules.
81
+ request : typing.Union[bytes, typing.Iterator[bytes], typing.AsyncIterator[bytes]]
96
82
 
97
83
  request_options : typing.Optional[RequestOptions]
98
84
  Request-specific configuration.
99
85
 
100
86
  Returns
101
87
  -------
102
- ImportManifestResponse
103
- Import completed. Object-managed values, if present, are reported in `skipped`; they do not fail the whole import.
88
+ ImportRbmAssetsResponse
89
+ Import completed, or a write-free import plan was returned when `preview_only` is true.
104
90
 
105
91
  Examples
106
92
  --------
107
- from rulebricks import ManifestLabeledAsset, Rulebricks
108
- from rulebricks.assets import ImportManifestRequestManifest
93
+ from rulebricks import Rulebricks
109
94
 
110
95
  client = Rulebricks(
111
96
  api_key="YOUR_API_KEY",
112
97
  )
113
- client.assets.import_rbm(
114
- manifest=ImportManifestRequestManifest(
115
- version="1.0",
116
- rules=[ManifestLabeledAsset()],
117
- flows=[ManifestLabeledAsset()],
118
- entities=[{"name": "Customer", "slug": "customer"}],
119
- values=[{"name": "tax_rate", "value": 0.08}],
120
- ),
121
- conflict_strategy="update",
122
- )
98
+ client.assets.import_rbm()
123
99
  """
124
- _response = self._raw_client.import_rbm(
125
- manifest=manifest,
126
- conflict_strategy=conflict_strategy,
127
- target_folder_name=target_folder_name,
128
- legacy_rule_mapping=legacy_rule_mapping,
129
- request_options=request_options,
130
- )
100
+ _response = self._raw_client.import_rbm(request=request, request_options=request_options)
131
101
  return _response.data
132
102
 
133
103
  def export_rbm(
@@ -140,10 +110,11 @@ class AssetsClient:
140
110
  manifest_description: typing.Optional[str] = OMIT,
141
111
  preview_only: typing.Optional[bool] = OMIT,
142
112
  compress: typing.Optional[bool] = OMIT,
113
+ download: typing.Optional[bool] = OMIT,
143
114
  request_options: typing.Optional[RequestOptions] = None,
144
115
  ) -> ExportRbmAssetsResponse:
145
116
  """
146
- Export selected rules, flows, contexts, and values to an Rulebricks manifest file (*.rbm). Dependencies are resolved automatically: exporting a flow includes its rules, contexts, vocabulary values, and any flows referenced by Run Flow nodes (recursively). Set `compress: true` to receive the manifest in compressed form (a compress-json array), which is much smaller and can be saved directly as a .rbm file; the import endpoint accepts both forms.
117
+ Export selected rules, flows, contexts, and values to a Rulebricks manifest file (*.rbm). Dependencies are resolved automatically: exporting a flow includes its rules, contexts, vocabulary values, and any flows referenced by Run Flow nodes (recursively). Set `compress: true` to receive the manifest in compressed form (a compress-json array). Set `download: true` to receive that manifest directly as a streamed attachment instead of inside the `{ success, manifest }` envelope.
147
118
 
148
119
  Parameters
149
120
  ----------
@@ -168,13 +139,16 @@ class AssetsClient:
168
139
  compress : typing.Optional[bool]
169
140
  If true, the manifest in the response is returned in compressed form: the JSON array produced by the compress-json library instead of a plain object. Compressed manifests are substantially smaller, can be saved directly as a .rbm file, and are accepted by the import endpoint as-is. Intended for raw HTTP usage and file tooling; typed SDK clients should omit this flag, since the generated response type models the manifest as an object.
170
141
 
142
+ download : typing.Optional[bool]
143
+ If true, returns the manifest itself as a streamed application/json attachment with Content-Disposition, rather than the normal `{ success, manifest }` response envelope. Combine with `compress: true` for large .rbm downloads.
144
+
171
145
  request_options : typing.Optional[RequestOptions]
172
146
  Request-specific configuration.
173
147
 
174
148
  Returns
175
149
  -------
176
150
  ExportRbmAssetsResponse
177
- Export completed successfully
151
+ Export completed successfully. With `download: true`, the response body is the raw manifest (or compress-json array) and `Content-Disposition` names the `.rbm` attachment; otherwise the documented JSON envelope is returned.
178
152
 
179
153
  Examples
180
154
  --------
@@ -197,12 +171,13 @@ class AssetsClient:
197
171
  manifest_description=manifest_description,
198
172
  preview_only=preview_only,
199
173
  compress=compress,
174
+ download=download,
200
175
  request_options=request_options,
201
176
  )
202
177
  return _response.data
203
178
 
204
179
  @property
205
- def rules(self):
180
+ def rules(self) -> RulesClient:
206
181
  if self._rules is None:
207
182
  from .rules.client import RulesClient # noqa: E402
208
183
 
@@ -210,7 +185,7 @@ class AssetsClient:
210
185
  return self._rules
211
186
 
212
187
  @property
213
- def flows(self):
188
+ def flows(self) -> FlowsClient:
214
189
  if self._flows is None:
215
190
  from .flows.client import FlowsClient # noqa: E402
216
191
 
@@ -218,13 +193,21 @@ class AssetsClient:
218
193
  return self._flows
219
194
 
220
195
  @property
221
- def folders(self):
196
+ def folders(self) -> FoldersClient:
222
197
  if self._folders is None:
223
198
  from .folders.client import FoldersClient # noqa: E402
224
199
 
225
200
  self._folders = FoldersClient(client_wrapper=self._client_wrapper)
226
201
  return self._folders
227
202
 
203
+ @property
204
+ def contexts(self) -> ContextsClient:
205
+ if self._contexts is None:
206
+ from .contexts.client import ContextsClient # noqa: E402
207
+
208
+ self._contexts = ContextsClient(client_wrapper=self._client_wrapper)
209
+ return self._contexts
210
+
228
211
 
229
212
  class AsyncAssetsClient:
230
213
  def __init__(self, *, client_wrapper: AsyncClientWrapper):
@@ -233,6 +216,7 @@ class AsyncAssetsClient:
233
216
  self._rules: typing.Optional[AsyncRulesClient] = None
234
217
  self._flows: typing.Optional[AsyncFlowsClient] = None
235
218
  self._folders: typing.Optional[AsyncFoldersClient] = None
219
+ self._contexts: typing.Optional[AsyncContextsClient] = None
236
220
 
237
221
  @property
238
222
  def with_raw_response(self) -> AsyncRawAssetsClient:
@@ -282,43 +266,29 @@ class AsyncAssetsClient:
282
266
  async def import_rbm(
283
267
  self,
284
268
  *,
285
- manifest: ImportManifestRequestManifest,
286
- conflict_strategy: typing.Optional[ImportManifestRequestConflictStrategy] = OMIT,
287
- target_folder_name: typing.Optional[str] = OMIT,
288
- legacy_rule_mapping: typing.Optional[typing.Dict[str, ImportManifestRequestLegacyRuleMappingValue]] = OMIT,
269
+ request: typing.Union[bytes, typing.Iterator[bytes], typing.AsyncIterator[bytes]],
289
270
  request_options: typing.Optional[RequestOptions] = None,
290
- ) -> ImportManifestResponse:
271
+ ) -> ImportRbmAssetsResponse:
291
272
  """
292
- Import rules, flows, contexts, and values from an Rulebricks manifest file (*.rbm).
273
+ Import rules, flows, contexts, and values from a Rulebricks manifest file (*.rbm). Plain JSON remains supported, and clients may send the same JSON envelope gzip-compressed with `Content-Type: application/octet-stream` and `X-Rulebricks-Content-Encoding: gzip`.
293
274
 
294
275
  Parameters
295
276
  ----------
296
- manifest : ImportManifestRequestManifest
297
- The RBM manifest object containing assets to import. Asset objects inside the manifest intentionally preserve `.rbm`/database casing so exported manifests can be imported without rewriting asset payloads. A compressed manifest is also accepted: the JSON array produced by the compress-json library (for example, the contents of a compressed .rbm file exported with `compress: true`); it is detected and decompressed automatically.
298
-
299
- conflict_strategy : typing.Optional[ImportManifestRequestConflictStrategy]
300
- How to handle conflicts with existing assets. 'update' overwrites, 'skip' ignores, 'error' fails.
301
-
302
- target_folder_name : typing.Optional[str]
303
- Optional folder name to place imported assets into. Created if it doesn't exist.
304
-
305
- legacy_rule_mapping : typing.Optional[typing.Dict[str, ImportManifestRequestLegacyRuleMappingValue]]
306
- Optional mapping for legacy flow imports to reuse existing rules.
277
+ request : typing.Union[bytes, typing.Iterator[bytes], typing.AsyncIterator[bytes]]
307
278
 
308
279
  request_options : typing.Optional[RequestOptions]
309
280
  Request-specific configuration.
310
281
 
311
282
  Returns
312
283
  -------
313
- ImportManifestResponse
314
- Import completed. Object-managed values, if present, are reported in `skipped`; they do not fail the whole import.
284
+ ImportRbmAssetsResponse
285
+ Import completed, or a write-free import plan was returned when `preview_only` is true.
315
286
 
316
287
  Examples
317
288
  --------
318
289
  import asyncio
319
290
 
320
- from rulebricks import AsyncRulebricks, ManifestLabeledAsset
321
- from rulebricks.assets import ImportManifestRequestManifest
291
+ from rulebricks import AsyncRulebricks
322
292
 
323
293
  client = AsyncRulebricks(
324
294
  api_key="YOUR_API_KEY",
@@ -326,27 +296,12 @@ class AsyncAssetsClient:
326
296
 
327
297
 
328
298
  async def main() -> None:
329
- await client.assets.import_rbm(
330
- manifest=ImportManifestRequestManifest(
331
- version="1.0",
332
- rules=[ManifestLabeledAsset()],
333
- flows=[ManifestLabeledAsset()],
334
- entities=[{"name": "Customer", "slug": "customer"}],
335
- values=[{"name": "tax_rate", "value": 0.08}],
336
- ),
337
- conflict_strategy="update",
338
- )
299
+ await client.assets.import_rbm()
339
300
 
340
301
 
341
302
  asyncio.run(main())
342
303
  """
343
- _response = await self._raw_client.import_rbm(
344
- manifest=manifest,
345
- conflict_strategy=conflict_strategy,
346
- target_folder_name=target_folder_name,
347
- legacy_rule_mapping=legacy_rule_mapping,
348
- request_options=request_options,
349
- )
304
+ _response = await self._raw_client.import_rbm(request=request, request_options=request_options)
350
305
  return _response.data
351
306
 
352
307
  async def export_rbm(
@@ -359,10 +314,11 @@ class AsyncAssetsClient:
359
314
  manifest_description: typing.Optional[str] = OMIT,
360
315
  preview_only: typing.Optional[bool] = OMIT,
361
316
  compress: typing.Optional[bool] = OMIT,
317
+ download: typing.Optional[bool] = OMIT,
362
318
  request_options: typing.Optional[RequestOptions] = None,
363
319
  ) -> ExportRbmAssetsResponse:
364
320
  """
365
- Export selected rules, flows, contexts, and values to an Rulebricks manifest file (*.rbm). Dependencies are resolved automatically: exporting a flow includes its rules, contexts, vocabulary values, and any flows referenced by Run Flow nodes (recursively). Set `compress: true` to receive the manifest in compressed form (a compress-json array), which is much smaller and can be saved directly as a .rbm file; the import endpoint accepts both forms.
321
+ Export selected rules, flows, contexts, and values to a Rulebricks manifest file (*.rbm). Dependencies are resolved automatically: exporting a flow includes its rules, contexts, vocabulary values, and any flows referenced by Run Flow nodes (recursively). Set `compress: true` to receive the manifest in compressed form (a compress-json array). Set `download: true` to receive that manifest directly as a streamed attachment instead of inside the `{ success, manifest }` envelope.
366
322
 
367
323
  Parameters
368
324
  ----------
@@ -387,13 +343,16 @@ class AsyncAssetsClient:
387
343
  compress : typing.Optional[bool]
388
344
  If true, the manifest in the response is returned in compressed form: the JSON array produced by the compress-json library instead of a plain object. Compressed manifests are substantially smaller, can be saved directly as a .rbm file, and are accepted by the import endpoint as-is. Intended for raw HTTP usage and file tooling; typed SDK clients should omit this flag, since the generated response type models the manifest as an object.
389
345
 
346
+ download : typing.Optional[bool]
347
+ If true, returns the manifest itself as a streamed application/json attachment with Content-Disposition, rather than the normal `{ success, manifest }` response envelope. Combine with `compress: true` for large .rbm downloads.
348
+
390
349
  request_options : typing.Optional[RequestOptions]
391
350
  Request-specific configuration.
392
351
 
393
352
  Returns
394
353
  -------
395
354
  ExportRbmAssetsResponse
396
- Export completed successfully
355
+ Export completed successfully. With `download: true`, the response body is the raw manifest (or compress-json array) and `Content-Disposition` names the `.rbm` attachment; otherwise the documented JSON envelope is returned.
397
356
 
398
357
  Examples
399
358
  --------
@@ -424,12 +383,13 @@ class AsyncAssetsClient:
424
383
  manifest_description=manifest_description,
425
384
  preview_only=preview_only,
426
385
  compress=compress,
386
+ download=download,
427
387
  request_options=request_options,
428
388
  )
429
389
  return _response.data
430
390
 
431
391
  @property
432
- def rules(self):
392
+ def rules(self) -> AsyncRulesClient:
433
393
  if self._rules is None:
434
394
  from .rules.client import AsyncRulesClient # noqa: E402
435
395
 
@@ -437,7 +397,7 @@ class AsyncAssetsClient:
437
397
  return self._rules
438
398
 
439
399
  @property
440
- def flows(self):
400
+ def flows(self) -> AsyncFlowsClient:
441
401
  if self._flows is None:
442
402
  from .flows.client import AsyncFlowsClient # noqa: E402
443
403
 
@@ -445,9 +405,17 @@ class AsyncAssetsClient:
445
405
  return self._flows
446
406
 
447
407
  @property
448
- def folders(self):
408
+ def folders(self) -> AsyncFoldersClient:
449
409
  if self._folders is None:
450
410
  from .folders.client import AsyncFoldersClient # noqa: E402
451
411
 
452
412
  self._folders = AsyncFoldersClient(client_wrapper=self._client_wrapper)
453
413
  return self._folders
414
+
415
+ @property
416
+ def contexts(self) -> AsyncContextsClient:
417
+ if self._contexts is None:
418
+ from .contexts.client import AsyncContextsClient # noqa: E402
419
+
420
+ self._contexts = AsyncContextsClient(client_wrapper=self._client_wrapper)
421
+ return self._contexts
@@ -6,14 +6,13 @@ import typing
6
6
  from importlib import import_module
7
7
 
8
8
  if typing.TYPE_CHECKING:
9
- from . import objects, relationships
10
- from .objects import CreateContextRequestOnSchemaMismatch, UpdateContextRequestOnSchemaMismatch
9
+ from .types import CreateContextRequestOnSchemaMismatch, UpdateContextRequestOnSchemaMismatch
10
+ from . import relationships
11
11
  from .relationships import CreateRelationshipRequestRelationType
12
12
  _dynamic_imports: typing.Dict[str, str] = {
13
- "CreateContextRequestOnSchemaMismatch": ".objects",
13
+ "CreateContextRequestOnSchemaMismatch": ".types",
14
14
  "CreateRelationshipRequestRelationType": ".relationships",
15
- "UpdateContextRequestOnSchemaMismatch": ".objects",
16
- "objects": ".objects",
15
+ "UpdateContextRequestOnSchemaMismatch": ".types",
17
16
  "relationships": ".relationships",
18
17
  }
19
18
 
@@ -43,6 +42,5 @@ __all__ = [
43
42
  "CreateContextRequestOnSchemaMismatch",
44
43
  "CreateRelationshipRequestRelationType",
45
44
  "UpdateContextRequestOnSchemaMismatch",
46
- "objects",
47
45
  "relationships",
48
46
  ]