orb-billing 1.44.0 → 1.45.0

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 (248) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +7 -0
  3. data/README.md +1 -1
  4. data/lib/orb/models/backfill_reflected_webhook_event.rb +24 -1
  5. data/lib/orb/models/backfill_reverted_webhook_event.rb +24 -1
  6. data/lib/orb/models/billable_metric_edited_webhook_event.rb +24 -1
  7. data/lib/orb/models/credit_block_accounting_sync_failed_webhook_event.rb +27 -1
  8. data/lib/orb/models/credit_block_accounting_sync_succeeded_webhook_event.rb +27 -1
  9. data/lib/orb/models/credit_note_accounting_sync_failed_webhook_event.rb +24 -1
  10. data/lib/orb/models/credit_note_accounting_sync_succeeded_webhook_event.rb +24 -1
  11. data/lib/orb/models/credit_note_issued_webhook_event.rb +24 -1
  12. data/lib/orb/models/credit_note_marked_as_void_webhook_event.rb +24 -1
  13. data/lib/orb/models/customer_accounting_sync_failed_webhook_event.rb +24 -1
  14. data/lib/orb/models/customer_accounting_sync_succeeded_webhook_event.rb +24 -1
  15. data/lib/orb/models/customer_balance_transaction_created_webhook_event.rb +24 -1
  16. data/lib/orb/models/customer_created_webhook_event.rb +24 -1
  17. data/lib/orb/models/customer_credit_balance_depleted_webhook_event.rb +24 -1
  18. data/lib/orb/models/customer_credit_balance_dropped_webhook_event.rb +24 -1
  19. data/lib/orb/models/customer_credit_balance_recovered_webhook_event.rb +24 -1
  20. data/lib/orb/models/customer_credit_ledger_incremented_webhook_event.rb +24 -1
  21. data/lib/orb/models/customer_edited_webhook_event.rb +24 -1
  22. data/lib/orb/models/data_exports_transfer_error_webhook_event.rb +27 -1
  23. data/lib/orb/models/data_exports_transfer_success_webhook_event.rb +27 -1
  24. data/lib/orb/models/event_unmatched_event_webhook_event.rb +27 -1
  25. data/lib/orb/models/ingestion_unmatched_customer_ids_webhook_event.rb +27 -1
  26. data/lib/orb/models/invoice_accounting_sync_failed_webhook_event.rb +24 -1
  27. data/lib/orb/models/invoice_accounting_sync_succeeded_webhook_event.rb +24 -1
  28. data/lib/orb/models/invoice_automation_schedule_step_executed_webhook_event.rb +24 -1
  29. data/lib/orb/models/invoice_cost_data_exported_webhook_event.rb +27 -1
  30. data/lib/orb/models/invoice_due_date_recalculation_canceled_webhook_event.rb +27 -1
  31. data/lib/orb/models/invoice_due_date_recalculation_completed_webhook_event.rb +28 -1
  32. data/lib/orb/models/invoice_due_date_recalculation_started_webhook_event.rb +27 -1
  33. data/lib/orb/models/invoice_dunning_schedule_created_webhook_event.rb +24 -1
  34. data/lib/orb/models/invoice_dunning_schedule_ended_webhook_event.rb +24 -1
  35. data/lib/orb/models/invoice_dunning_schedule_reset_webhook_event.rb +24 -1
  36. data/lib/orb/models/invoice_dunning_schedule_step_executed_webhook_event.rb +24 -1
  37. data/lib/orb/models/invoice_edited_webhook_event.rb +24 -1
  38. data/lib/orb/models/invoice_invoice_date_elapsed_webhook_event.rb +27 -1
  39. data/lib/orb/models/invoice_issue_failed_webhook_event.rb +24 -1
  40. data/lib/orb/models/invoice_issued_summary_webhook_event.rb +27 -1
  41. data/lib/orb/models/invoice_issued_webhook_event.rb +24 -1
  42. data/lib/orb/models/invoice_manually_marked_as_paid_webhook_event.rb +24 -1
  43. data/lib/orb/models/invoice_manually_marked_as_void_webhook_event.rb +24 -1
  44. data/lib/orb/models/invoice_payment_failed_webhook_event.rb +24 -1
  45. data/lib/orb/models/invoice_payment_processing_webhook_event.rb +24 -1
  46. data/lib/orb/models/invoice_payment_succeeded_webhook_event.rb +24 -1
  47. data/lib/orb/models/invoice_sync_failed_webhook_event.rb +24 -1
  48. data/lib/orb/models/invoice_sync_succeeded_webhook_event.rb +24 -1
  49. data/lib/orb/models/invoice_undo_mark_as_paid_webhook_event.rb +24 -1
  50. data/lib/orb/models/metric_events_dropped_by_watermark_webhook_event.rb +24 -1
  51. data/lib/orb/models/payment_method_created_webhook_event.rb +24 -1
  52. data/lib/orb/models/payment_method_deleted_webhook_event.rb +24 -1
  53. data/lib/orb/models/plan_created_webhook_event.rb +27 -1
  54. data/lib/orb/models/plan_default_version_set_webhook_event.rb +27 -1
  55. data/lib/orb/models/plan_edited_webhook_event.rb +24 -1
  56. data/lib/orb/models/plan_version_created_webhook_event.rb +27 -1
  57. data/lib/orb/models/price_edited_webhook_event.rb +24 -1
  58. data/lib/orb/models/resource_event_test_webhook_event.rb +27 -1
  59. data/lib/orb/models/sales_order_accounting_sync_failed_webhook_event.rb +24 -1
  60. data/lib/orb/models/sales_order_accounting_sync_succeeded_webhook_event.rb +24 -1
  61. data/lib/orb/models/subscription_accounting_sync_failed_webhook_event.rb +24 -1
  62. data/lib/orb/models/subscription_accounting_sync_succeeded_webhook_event.rb +24 -1
  63. data/lib/orb/models/subscription_alert_disabled_webhook_event.rb +24 -1
  64. data/lib/orb/models/subscription_cancellation_scheduled_webhook_event.rb +24 -1
  65. data/lib/orb/models/subscription_cancellation_unscheduled_webhook_event.rb +24 -1
  66. data/lib/orb/models/subscription_cost_exceeded_webhook_event.rb +24 -1
  67. data/lib/orb/models/subscription_created_webhook_event.rb +24 -1
  68. data/lib/orb/models/subscription_edited_webhook_event.rb +24 -1
  69. data/lib/orb/models/subscription_ended_webhook_event.rb +24 -1
  70. data/lib/orb/models/subscription_fixed_fee_quantity_updated_webhook_event.rb +24 -1
  71. data/lib/orb/models/subscription_grouped_cost_exceeded_webhook_event.rb +24 -1
  72. data/lib/orb/models/subscription_invoicing_threshold_exceeded_webhook_event.rb +25 -1
  73. data/lib/orb/models/subscription_license_allocation_reset_webhook_event.rb +24 -1
  74. data/lib/orb/models/subscription_license_balance_threshold_reached_webhook_event.rb +25 -1
  75. data/lib/orb/models/subscription_plan_change_scheduled_webhook_event.rb +24 -1
  76. data/lib/orb/models/subscription_plan_changed_webhook_event.rb +24 -1
  77. data/lib/orb/models/subscription_plan_version_change_scheduled_webhook_event.rb +25 -1
  78. data/lib/orb/models/subscription_plan_version_changed_webhook_event.rb +24 -1
  79. data/lib/orb/models/subscription_spend_exceeded_webhook_event.rb +24 -1
  80. data/lib/orb/models/subscription_started_webhook_event.rb +24 -1
  81. data/lib/orb/models/subscription_trial_ended_webhook_event.rb +24 -1
  82. data/lib/orb/models/subscription_usage_exceeded_webhook_event.rb +24 -1
  83. data/lib/orb/models/transaction_accounting_sync_failed_webhook_event.rb +27 -1
  84. data/lib/orb/models/transaction_accounting_sync_succeeded_webhook_event.rb +27 -1
  85. data/lib/orb/version.rb +1 -1
  86. data/rbi/orb/models/backfill_reflected_webhook_event.rbi +47 -0
  87. data/rbi/orb/models/backfill_reverted_webhook_event.rbi +47 -0
  88. data/rbi/orb/models/billable_metric_edited_webhook_event.rbi +49 -0
  89. data/rbi/orb/models/credit_block_accounting_sync_failed_webhook_event.rbi +52 -0
  90. data/rbi/orb/models/credit_block_accounting_sync_succeeded_webhook_event.rbi +52 -0
  91. data/rbi/orb/models/credit_note_accounting_sync_failed_webhook_event.rbi +52 -0
  92. data/rbi/orb/models/credit_note_accounting_sync_succeeded_webhook_event.rbi +52 -0
  93. data/rbi/orb/models/credit_note_issued_webhook_event.rbi +47 -0
  94. data/rbi/orb/models/credit_note_marked_as_void_webhook_event.rbi +49 -0
  95. data/rbi/orb/models/customer_accounting_sync_failed_webhook_event.rbi +52 -0
  96. data/rbi/orb/models/customer_accounting_sync_succeeded_webhook_event.rbi +52 -0
  97. data/rbi/orb/models/customer_balance_transaction_created_webhook_event.rbi +52 -0
  98. data/rbi/orb/models/customer_created_webhook_event.rbi +47 -0
  99. data/rbi/orb/models/customer_credit_balance_depleted_webhook_event.rbi +52 -0
  100. data/rbi/orb/models/customer_credit_balance_dropped_webhook_event.rbi +52 -0
  101. data/rbi/orb/models/customer_credit_balance_recovered_webhook_event.rbi +52 -0
  102. data/rbi/orb/models/customer_credit_ledger_incremented_webhook_event.rbi +52 -0
  103. data/rbi/orb/models/customer_edited_webhook_event.rbi +47 -0
  104. data/rbi/orb/models/data_exports_transfer_error_webhook_event.rbi +52 -0
  105. data/rbi/orb/models/data_exports_transfer_success_webhook_event.rbi +52 -0
  106. data/rbi/orb/models/event_unmatched_event_webhook_event.rbi +49 -0
  107. data/rbi/orb/models/ingestion_unmatched_customer_ids_webhook_event.rbi +52 -0
  108. data/rbi/orb/models/invoice_accounting_sync_failed_webhook_event.rbi +52 -0
  109. data/rbi/orb/models/invoice_accounting_sync_succeeded_webhook_event.rbi +52 -0
  110. data/rbi/orb/models/invoice_automation_schedule_step_executed_webhook_event.rbi +52 -0
  111. data/rbi/orb/models/invoice_cost_data_exported_webhook_event.rbi +52 -0
  112. data/rbi/orb/models/invoice_due_date_recalculation_canceled_webhook_event.rbi +52 -0
  113. data/rbi/orb/models/invoice_due_date_recalculation_completed_webhook_event.rbi +52 -0
  114. data/rbi/orb/models/invoice_due_date_recalculation_started_webhook_event.rbi +52 -0
  115. data/rbi/orb/models/invoice_dunning_schedule_created_webhook_event.rbi +52 -0
  116. data/rbi/orb/models/invoice_dunning_schedule_ended_webhook_event.rbi +52 -0
  117. data/rbi/orb/models/invoice_dunning_schedule_reset_webhook_event.rbi +52 -0
  118. data/rbi/orb/models/invoice_dunning_schedule_step_executed_webhook_event.rbi +52 -0
  119. data/rbi/orb/models/invoice_edited_webhook_event.rbi +44 -0
  120. data/rbi/orb/models/invoice_invoice_date_elapsed_webhook_event.rbi +52 -0
  121. data/rbi/orb/models/invoice_issue_failed_webhook_event.rbi +47 -0
  122. data/rbi/orb/models/invoice_issued_summary_webhook_event.rbi +49 -0
  123. data/rbi/orb/models/invoice_issued_webhook_event.rbi +44 -0
  124. data/rbi/orb/models/invoice_manually_marked_as_paid_webhook_event.rbi +52 -0
  125. data/rbi/orb/models/invoice_manually_marked_as_void_webhook_event.rbi +52 -0
  126. data/rbi/orb/models/invoice_payment_failed_webhook_event.rbi +49 -0
  127. data/rbi/orb/models/invoice_payment_processing_webhook_event.rbi +52 -0
  128. data/rbi/orb/models/invoice_payment_succeeded_webhook_event.rbi +52 -0
  129. data/rbi/orb/models/invoice_sync_failed_webhook_event.rbi +47 -0
  130. data/rbi/orb/models/invoice_sync_succeeded_webhook_event.rbi +49 -0
  131. data/rbi/orb/models/invoice_undo_mark_as_paid_webhook_event.rbi +49 -0
  132. data/rbi/orb/models/metric_events_dropped_by_watermark_webhook_event.rbi +52 -0
  133. data/rbi/orb/models/payment_method_created_webhook_event.rbi +49 -0
  134. data/rbi/orb/models/payment_method_deleted_webhook_event.rbi +49 -0
  135. data/rbi/orb/models/plan_created_webhook_event.rbi +42 -0
  136. data/rbi/orb/models/plan_default_version_set_webhook_event.rbi +49 -0
  137. data/rbi/orb/models/plan_edited_webhook_event.rbi +42 -0
  138. data/rbi/orb/models/plan_version_created_webhook_event.rbi +47 -0
  139. data/rbi/orb/models/price_edited_webhook_event.rbi +42 -0
  140. data/rbi/orb/models/resource_event_test_webhook_event.rbi +47 -0
  141. data/rbi/orb/models/sales_order_accounting_sync_failed_webhook_event.rbi +52 -0
  142. data/rbi/orb/models/sales_order_accounting_sync_succeeded_webhook_event.rbi +52 -0
  143. data/rbi/orb/models/subscription_accounting_sync_failed_webhook_event.rbi +52 -0
  144. data/rbi/orb/models/subscription_accounting_sync_succeeded_webhook_event.rbi +52 -0
  145. data/rbi/orb/models/subscription_alert_disabled_webhook_event.rbi +52 -0
  146. data/rbi/orb/models/subscription_cancellation_scheduled_webhook_event.rbi +52 -0
  147. data/rbi/orb/models/subscription_cancellation_unscheduled_webhook_event.rbi +52 -0
  148. data/rbi/orb/models/subscription_cost_exceeded_webhook_event.rbi +52 -0
  149. data/rbi/orb/models/subscription_created_webhook_event.rbi +49 -0
  150. data/rbi/orb/models/subscription_edited_webhook_event.rbi +47 -0
  151. data/rbi/orb/models/subscription_ended_webhook_event.rbi +47 -0
  152. data/rbi/orb/models/subscription_fixed_fee_quantity_updated_webhook_event.rbi +52 -0
  153. data/rbi/orb/models/subscription_grouped_cost_exceeded_webhook_event.rbi +52 -0
  154. data/rbi/orb/models/subscription_invoicing_threshold_exceeded_webhook_event.rbi +52 -0
  155. data/rbi/orb/models/subscription_license_allocation_reset_webhook_event.rbi +52 -0
  156. data/rbi/orb/models/subscription_license_balance_threshold_reached_webhook_event.rbi +52 -0
  157. data/rbi/orb/models/subscription_plan_change_scheduled_webhook_event.rbi +52 -0
  158. data/rbi/orb/models/subscription_plan_changed_webhook_event.rbi +52 -0
  159. data/rbi/orb/models/subscription_plan_version_change_scheduled_webhook_event.rbi +52 -0
  160. data/rbi/orb/models/subscription_plan_version_changed_webhook_event.rbi +52 -0
  161. data/rbi/orb/models/subscription_spend_exceeded_webhook_event.rbi +52 -0
  162. data/rbi/orb/models/subscription_started_webhook_event.rbi +49 -0
  163. data/rbi/orb/models/subscription_trial_ended_webhook_event.rbi +49 -0
  164. data/rbi/orb/models/subscription_usage_exceeded_webhook_event.rbi +52 -0
  165. data/rbi/orb/models/transaction_accounting_sync_failed_webhook_event.rbi +52 -0
  166. data/rbi/orb/models/transaction_accounting_sync_succeeded_webhook_event.rbi +52 -0
  167. data/sig/orb/models/backfill_reflected_webhook_event.rbs +16 -0
  168. data/sig/orb/models/backfill_reverted_webhook_event.rbs +16 -0
  169. data/sig/orb/models/billable_metric_edited_webhook_event.rbs +16 -0
  170. data/sig/orb/models/credit_block_accounting_sync_failed_webhook_event.rbs +16 -0
  171. data/sig/orb/models/credit_block_accounting_sync_succeeded_webhook_event.rbs +16 -0
  172. data/sig/orb/models/credit_note_accounting_sync_failed_webhook_event.rbs +16 -0
  173. data/sig/orb/models/credit_note_accounting_sync_succeeded_webhook_event.rbs +16 -0
  174. data/sig/orb/models/credit_note_issued_webhook_event.rbs +16 -0
  175. data/sig/orb/models/credit_note_marked_as_void_webhook_event.rbs +16 -0
  176. data/sig/orb/models/customer_accounting_sync_failed_webhook_event.rbs +16 -0
  177. data/sig/orb/models/customer_accounting_sync_succeeded_webhook_event.rbs +16 -0
  178. data/sig/orb/models/customer_balance_transaction_created_webhook_event.rbs +16 -0
  179. data/sig/orb/models/customer_created_webhook_event.rbs +16 -0
  180. data/sig/orb/models/customer_credit_balance_depleted_webhook_event.rbs +16 -0
  181. data/sig/orb/models/customer_credit_balance_dropped_webhook_event.rbs +16 -0
  182. data/sig/orb/models/customer_credit_balance_recovered_webhook_event.rbs +16 -0
  183. data/sig/orb/models/customer_credit_ledger_incremented_webhook_event.rbs +16 -0
  184. data/sig/orb/models/customer_edited_webhook_event.rbs +16 -0
  185. data/sig/orb/models/data_exports_transfer_error_webhook_event.rbs +16 -0
  186. data/sig/orb/models/data_exports_transfer_success_webhook_event.rbs +16 -0
  187. data/sig/orb/models/event_unmatched_event_webhook_event.rbs +16 -0
  188. data/sig/orb/models/ingestion_unmatched_customer_ids_webhook_event.rbs +16 -0
  189. data/sig/orb/models/invoice_accounting_sync_failed_webhook_event.rbs +16 -0
  190. data/sig/orb/models/invoice_accounting_sync_succeeded_webhook_event.rbs +16 -0
  191. data/sig/orb/models/invoice_automation_schedule_step_executed_webhook_event.rbs +16 -0
  192. data/sig/orb/models/invoice_cost_data_exported_webhook_event.rbs +16 -0
  193. data/sig/orb/models/invoice_due_date_recalculation_canceled_webhook_event.rbs +16 -0
  194. data/sig/orb/models/invoice_due_date_recalculation_completed_webhook_event.rbs +16 -0
  195. data/sig/orb/models/invoice_due_date_recalculation_started_webhook_event.rbs +16 -0
  196. data/sig/orb/models/invoice_dunning_schedule_created_webhook_event.rbs +16 -0
  197. data/sig/orb/models/invoice_dunning_schedule_ended_webhook_event.rbs +16 -0
  198. data/sig/orb/models/invoice_dunning_schedule_reset_webhook_event.rbs +16 -0
  199. data/sig/orb/models/invoice_dunning_schedule_step_executed_webhook_event.rbs +16 -0
  200. data/sig/orb/models/invoice_edited_webhook_event.rbs +16 -0
  201. data/sig/orb/models/invoice_invoice_date_elapsed_webhook_event.rbs +16 -0
  202. data/sig/orb/models/invoice_issue_failed_webhook_event.rbs +16 -0
  203. data/sig/orb/models/invoice_issued_summary_webhook_event.rbs +16 -0
  204. data/sig/orb/models/invoice_issued_webhook_event.rbs +16 -0
  205. data/sig/orb/models/invoice_manually_marked_as_paid_webhook_event.rbs +16 -0
  206. data/sig/orb/models/invoice_manually_marked_as_void_webhook_event.rbs +16 -0
  207. data/sig/orb/models/invoice_payment_failed_webhook_event.rbs +16 -0
  208. data/sig/orb/models/invoice_payment_processing_webhook_event.rbs +16 -0
  209. data/sig/orb/models/invoice_payment_succeeded_webhook_event.rbs +16 -0
  210. data/sig/orb/models/invoice_sync_failed_webhook_event.rbs +16 -0
  211. data/sig/orb/models/invoice_sync_succeeded_webhook_event.rbs +16 -0
  212. data/sig/orb/models/invoice_undo_mark_as_paid_webhook_event.rbs +16 -0
  213. data/sig/orb/models/metric_events_dropped_by_watermark_webhook_event.rbs +16 -0
  214. data/sig/orb/models/payment_method_created_webhook_event.rbs +16 -0
  215. data/sig/orb/models/payment_method_deleted_webhook_event.rbs +16 -0
  216. data/sig/orb/models/plan_created_webhook_event.rbs +16 -0
  217. data/sig/orb/models/plan_default_version_set_webhook_event.rbs +16 -0
  218. data/sig/orb/models/plan_edited_webhook_event.rbs +16 -0
  219. data/sig/orb/models/plan_version_created_webhook_event.rbs +16 -0
  220. data/sig/orb/models/price_edited_webhook_event.rbs +16 -0
  221. data/sig/orb/models/resource_event_test_webhook_event.rbs +16 -0
  222. data/sig/orb/models/sales_order_accounting_sync_failed_webhook_event.rbs +16 -0
  223. data/sig/orb/models/sales_order_accounting_sync_succeeded_webhook_event.rbs +16 -0
  224. data/sig/orb/models/subscription_accounting_sync_failed_webhook_event.rbs +16 -0
  225. data/sig/orb/models/subscription_accounting_sync_succeeded_webhook_event.rbs +16 -0
  226. data/sig/orb/models/subscription_alert_disabled_webhook_event.rbs +16 -0
  227. data/sig/orb/models/subscription_cancellation_scheduled_webhook_event.rbs +16 -0
  228. data/sig/orb/models/subscription_cancellation_unscheduled_webhook_event.rbs +16 -0
  229. data/sig/orb/models/subscription_cost_exceeded_webhook_event.rbs +16 -0
  230. data/sig/orb/models/subscription_created_webhook_event.rbs +16 -0
  231. data/sig/orb/models/subscription_edited_webhook_event.rbs +16 -0
  232. data/sig/orb/models/subscription_ended_webhook_event.rbs +16 -0
  233. data/sig/orb/models/subscription_fixed_fee_quantity_updated_webhook_event.rbs +16 -0
  234. data/sig/orb/models/subscription_grouped_cost_exceeded_webhook_event.rbs +16 -0
  235. data/sig/orb/models/subscription_invoicing_threshold_exceeded_webhook_event.rbs +16 -0
  236. data/sig/orb/models/subscription_license_allocation_reset_webhook_event.rbs +16 -0
  237. data/sig/orb/models/subscription_license_balance_threshold_reached_webhook_event.rbs +16 -0
  238. data/sig/orb/models/subscription_plan_change_scheduled_webhook_event.rbs +16 -0
  239. data/sig/orb/models/subscription_plan_changed_webhook_event.rbs +16 -0
  240. data/sig/orb/models/subscription_plan_version_change_scheduled_webhook_event.rbs +16 -0
  241. data/sig/orb/models/subscription_plan_version_changed_webhook_event.rbs +16 -0
  242. data/sig/orb/models/subscription_spend_exceeded_webhook_event.rbs +16 -0
  243. data/sig/orb/models/subscription_started_webhook_event.rbs +16 -0
  244. data/sig/orb/models/subscription_trial_ended_webhook_event.rbs +16 -0
  245. data/sig/orb/models/subscription_usage_exceeded_webhook_event.rbs +16 -0
  246. data/sig/orb/models/transaction_accounting_sync_failed_webhook_event.rbs +16 -0
  247. data/sig/orb/models/transaction_accounting_sync_succeeded_webhook_event.rbs +16 -0
  248. metadata +1 -1
@@ -16,6 +16,15 @@ module Orb
16
16
  sig { returns(Time) }
17
17
  attr_accessor :created_at
18
18
 
19
+ # The serialization style this payload was rendered in, as configured on the
20
+ # endpoint.
21
+ sig do
22
+ returns(
23
+ Orb::SubscriptionStartedWebhookEvent::PayloadStyle::TaggedSymbol
24
+ )
25
+ end
26
+ attr_accessor :payload_style
27
+
19
28
  sig { returns(T.anything) }
20
29
  attr_accessor :properties
21
30
 
@@ -53,6 +62,8 @@ module Orb
53
62
  params(
54
63
  id: String,
55
64
  created_at: Time,
65
+ payload_style:
66
+ Orb::SubscriptionStartedWebhookEvent::PayloadStyle::OrSymbol,
56
67
  properties: T.anything,
57
68
  subscription: Orb::Subscription::OrHash,
58
69
  type: Orb::SubscriptionStartedWebhookEvent::Type::OrSymbol
@@ -63,6 +74,9 @@ module Orb
63
74
  id:,
64
75
  # The time at which this event was created, to the second.
65
76
  created_at:,
77
+ # The serialization style this payload was rendered in, as configured on the
78
+ # endpoint.
79
+ payload_style:,
66
80
  properties:,
67
81
  # A [subscription](/core-concepts#subscription) represents the purchase of a plan
68
82
  # by a customer.
@@ -94,6 +108,8 @@ module Orb
94
108
  {
95
109
  id: String,
96
110
  created_at: Time,
111
+ payload_style:
112
+ Orb::SubscriptionStartedWebhookEvent::PayloadStyle::TaggedSymbol,
97
113
  properties: T.anything,
98
114
  subscription: Orb::Subscription,
99
115
  type: Orb::SubscriptionStartedWebhookEvent::Type::TaggedSymbol
@@ -103,6 +119,39 @@ module Orb
103
119
  def to_hash
104
120
  end
105
121
 
122
+ # The serialization style this payload was rendered in, as configured on the
123
+ # endpoint.
124
+ module PayloadStyle
125
+ extend Orb::Internal::Type::Enum
126
+
127
+ TaggedSymbol =
128
+ T.type_alias do
129
+ T.all(Symbol, Orb::SubscriptionStartedWebhookEvent::PayloadStyle)
130
+ end
131
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
132
+
133
+ EXPANDED =
134
+ T.let(
135
+ :expanded,
136
+ Orb::SubscriptionStartedWebhookEvent::PayloadStyle::TaggedSymbol
137
+ )
138
+ STANDARD =
139
+ T.let(
140
+ :standard,
141
+ Orb::SubscriptionStartedWebhookEvent::PayloadStyle::TaggedSymbol
142
+ )
143
+
144
+ sig do
145
+ override.returns(
146
+ T::Array[
147
+ Orb::SubscriptionStartedWebhookEvent::PayloadStyle::TaggedSymbol
148
+ ]
149
+ )
150
+ end
151
+ def self.values
152
+ end
153
+ end
154
+
106
155
  # The event this payload describes.
107
156
  module Type
108
157
  extend Orb::Internal::Type::Enum
@@ -16,6 +16,15 @@ module Orb
16
16
  sig { returns(Time) }
17
17
  attr_accessor :created_at
18
18
 
19
+ # The serialization style this payload was rendered in, as configured on the
20
+ # endpoint.
21
+ sig do
22
+ returns(
23
+ Orb::SubscriptionTrialEndedWebhookEvent::PayloadStyle::TaggedSymbol
24
+ )
25
+ end
26
+ attr_accessor :payload_style
27
+
19
28
  sig { returns(T.anything) }
20
29
  attr_accessor :properties
21
30
 
@@ -55,6 +64,8 @@ module Orb
55
64
  params(
56
65
  id: String,
57
66
  created_at: Time,
67
+ payload_style:
68
+ Orb::SubscriptionTrialEndedWebhookEvent::PayloadStyle::OrSymbol,
58
69
  properties: T.anything,
59
70
  subscription: Orb::Subscription::OrHash,
60
71
  type: Orb::SubscriptionTrialEndedWebhookEvent::Type::OrSymbol
@@ -65,6 +76,9 @@ module Orb
65
76
  id:,
66
77
  # The time at which this event was created, to the second.
67
78
  created_at:,
79
+ # The serialization style this payload was rendered in, as configured on the
80
+ # endpoint.
81
+ payload_style:,
68
82
  properties:,
69
83
  # A [subscription](/core-concepts#subscription) represents the purchase of a plan
70
84
  # by a customer.
@@ -96,6 +110,8 @@ module Orb
96
110
  {
97
111
  id: String,
98
112
  created_at: Time,
113
+ payload_style:
114
+ Orb::SubscriptionTrialEndedWebhookEvent::PayloadStyle::TaggedSymbol,
99
115
  properties: T.anything,
100
116
  subscription: Orb::Subscription,
101
117
  type: Orb::SubscriptionTrialEndedWebhookEvent::Type::TaggedSymbol
@@ -105,6 +121,39 @@ module Orb
105
121
  def to_hash
106
122
  end
107
123
 
124
+ # The serialization style this payload was rendered in, as configured on the
125
+ # endpoint.
126
+ module PayloadStyle
127
+ extend Orb::Internal::Type::Enum
128
+
129
+ TaggedSymbol =
130
+ T.type_alias do
131
+ T.all(Symbol, Orb::SubscriptionTrialEndedWebhookEvent::PayloadStyle)
132
+ end
133
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
134
+
135
+ EXPANDED =
136
+ T.let(
137
+ :expanded,
138
+ Orb::SubscriptionTrialEndedWebhookEvent::PayloadStyle::TaggedSymbol
139
+ )
140
+ STANDARD =
141
+ T.let(
142
+ :standard,
143
+ Orb::SubscriptionTrialEndedWebhookEvent::PayloadStyle::TaggedSymbol
144
+ )
145
+
146
+ sig do
147
+ override.returns(
148
+ T::Array[
149
+ Orb::SubscriptionTrialEndedWebhookEvent::PayloadStyle::TaggedSymbol
150
+ ]
151
+ )
152
+ end
153
+ def self.values
154
+ end
155
+ end
156
+
108
157
  # The event this payload describes.
109
158
  module Type
110
159
  extend Orb::Internal::Type::Enum
@@ -19,6 +19,15 @@ module Orb
19
19
  sig { returns(Time) }
20
20
  attr_accessor :created_at
21
21
 
22
+ # The serialization style this payload was rendered in, as configured on the
23
+ # endpoint.
24
+ sig do
25
+ returns(
26
+ Orb::SubscriptionUsageExceededWebhookEvent::PayloadStyle::TaggedSymbol
27
+ )
28
+ end
29
+ attr_accessor :payload_style
30
+
22
31
  sig { returns(Orb::SubscriptionUsageExceededWebhookEvent::Properties) }
23
32
  attr_reader :properties
24
33
 
@@ -67,6 +76,8 @@ module Orb
67
76
  params(
68
77
  id: String,
69
78
  created_at: Time,
79
+ payload_style:
80
+ Orb::SubscriptionUsageExceededWebhookEvent::PayloadStyle::OrSymbol,
70
81
  properties:
71
82
  Orb::SubscriptionUsageExceededWebhookEvent::Properties::OrHash,
72
83
  subscription: Orb::Subscription::OrHash,
@@ -78,6 +89,9 @@ module Orb
78
89
  id:,
79
90
  # The time at which this event was created, to the second.
80
91
  created_at:,
92
+ # The serialization style this payload was rendered in, as configured on the
93
+ # endpoint.
94
+ payload_style:,
81
95
  properties:,
82
96
  # A [subscription](/core-concepts#subscription) represents the purchase of a plan
83
97
  # by a customer.
@@ -109,6 +123,8 @@ module Orb
109
123
  {
110
124
  id: String,
111
125
  created_at: Time,
126
+ payload_style:
127
+ Orb::SubscriptionUsageExceededWebhookEvent::PayloadStyle::TaggedSymbol,
112
128
  properties: Orb::SubscriptionUsageExceededWebhookEvent::Properties,
113
129
  subscription: Orb::Subscription,
114
130
  type: Orb::SubscriptionUsageExceededWebhookEvent::Type::TaggedSymbol
@@ -118,6 +134,42 @@ module Orb
118
134
  def to_hash
119
135
  end
120
136
 
137
+ # The serialization style this payload was rendered in, as configured on the
138
+ # endpoint.
139
+ module PayloadStyle
140
+ extend Orb::Internal::Type::Enum
141
+
142
+ TaggedSymbol =
143
+ T.type_alias do
144
+ T.all(
145
+ Symbol,
146
+ Orb::SubscriptionUsageExceededWebhookEvent::PayloadStyle
147
+ )
148
+ end
149
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
150
+
151
+ EXPANDED =
152
+ T.let(
153
+ :expanded,
154
+ Orb::SubscriptionUsageExceededWebhookEvent::PayloadStyle::TaggedSymbol
155
+ )
156
+ STANDARD =
157
+ T.let(
158
+ :standard,
159
+ Orb::SubscriptionUsageExceededWebhookEvent::PayloadStyle::TaggedSymbol
160
+ )
161
+
162
+ sig do
163
+ override.returns(
164
+ T::Array[
165
+ Orb::SubscriptionUsageExceededWebhookEvent::PayloadStyle::TaggedSymbol
166
+ ]
167
+ )
168
+ end
169
+ def self.values
170
+ end
171
+ end
172
+
121
173
  class Properties < Orb::Internal::Type::BaseModel
122
174
  OrHash =
123
175
  T.type_alias do
@@ -34,6 +34,15 @@ module Orb
34
34
  sig { returns(Time) }
35
35
  attr_accessor :created_at
36
36
 
37
+ # The serialization style this payload was rendered in, as configured on the
38
+ # endpoint.
39
+ sig do
40
+ returns(
41
+ Orb::TransactionAccountingSyncFailedWebhookEvent::PayloadStyle::TaggedSymbol
42
+ )
43
+ end
44
+ attr_accessor :payload_style
45
+
37
46
  sig do
38
47
  returns(Orb::TransactionAccountingSyncFailedWebhookEvent::Properties)
39
48
  end
@@ -75,6 +84,8 @@ module Orb
75
84
  accounting_sync_record:
76
85
  Orb::TransactionAccountingSyncFailedWebhookEvent::AccountingSyncRecord::OrHash,
77
86
  created_at: Time,
87
+ payload_style:
88
+ Orb::TransactionAccountingSyncFailedWebhookEvent::PayloadStyle::OrSymbol,
78
89
  properties:
79
90
  Orb::TransactionAccountingSyncFailedWebhookEvent::Properties::OrHash,
80
91
  transaction:
@@ -88,6 +99,9 @@ module Orb
88
99
  accounting_sync_record:,
89
100
  # The time at which this event was created, to the second.
90
101
  created_at:,
102
+ # The serialization style this payload was rendered in, as configured on the
103
+ # endpoint.
104
+ payload_style:,
91
105
  properties:,
92
106
  transaction:,
93
107
  # The event this payload describes.
@@ -102,6 +116,8 @@ module Orb
102
116
  accounting_sync_record:
103
117
  Orb::TransactionAccountingSyncFailedWebhookEvent::AccountingSyncRecord,
104
118
  created_at: Time,
119
+ payload_style:
120
+ Orb::TransactionAccountingSyncFailedWebhookEvent::PayloadStyle::TaggedSymbol,
105
121
  properties:
106
122
  Orb::TransactionAccountingSyncFailedWebhookEvent::Properties,
107
123
  transaction:
@@ -259,6 +275,42 @@ module Orb
259
275
  end
260
276
  end
261
277
 
278
+ # The serialization style this payload was rendered in, as configured on the
279
+ # endpoint.
280
+ module PayloadStyle
281
+ extend Orb::Internal::Type::Enum
282
+
283
+ TaggedSymbol =
284
+ T.type_alias do
285
+ T.all(
286
+ Symbol,
287
+ Orb::TransactionAccountingSyncFailedWebhookEvent::PayloadStyle
288
+ )
289
+ end
290
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
291
+
292
+ EXPANDED =
293
+ T.let(
294
+ :expanded,
295
+ Orb::TransactionAccountingSyncFailedWebhookEvent::PayloadStyle::TaggedSymbol
296
+ )
297
+ STANDARD =
298
+ T.let(
299
+ :standard,
300
+ Orb::TransactionAccountingSyncFailedWebhookEvent::PayloadStyle::TaggedSymbol
301
+ )
302
+
303
+ sig do
304
+ override.returns(
305
+ T::Array[
306
+ Orb::TransactionAccountingSyncFailedWebhookEvent::PayloadStyle::TaggedSymbol
307
+ ]
308
+ )
309
+ end
310
+ def self.values
311
+ end
312
+ end
313
+
262
314
  class Properties < Orb::Internal::Type::BaseModel
263
315
  OrHash =
264
316
  T.type_alias do
@@ -34,6 +34,15 @@ module Orb
34
34
  sig { returns(Time) }
35
35
  attr_accessor :created_at
36
36
 
37
+ # The serialization style this payload was rendered in, as configured on the
38
+ # endpoint.
39
+ sig do
40
+ returns(
41
+ Orb::TransactionAccountingSyncSucceededWebhookEvent::PayloadStyle::TaggedSymbol
42
+ )
43
+ end
44
+ attr_accessor :payload_style
45
+
37
46
  sig do
38
47
  returns(Orb::TransactionAccountingSyncSucceededWebhookEvent::Properties)
39
48
  end
@@ -77,6 +86,8 @@ module Orb
77
86
  accounting_sync_record:
78
87
  Orb::TransactionAccountingSyncSucceededWebhookEvent::AccountingSyncRecord::OrHash,
79
88
  created_at: Time,
89
+ payload_style:
90
+ Orb::TransactionAccountingSyncSucceededWebhookEvent::PayloadStyle::OrSymbol,
80
91
  properties:
81
92
  Orb::TransactionAccountingSyncSucceededWebhookEvent::Properties::OrHash,
82
93
  transaction:
@@ -91,6 +102,9 @@ module Orb
91
102
  accounting_sync_record:,
92
103
  # The time at which this event was created, to the second.
93
104
  created_at:,
105
+ # The serialization style this payload was rendered in, as configured on the
106
+ # endpoint.
107
+ payload_style:,
94
108
  properties:,
95
109
  transaction:,
96
110
  # The event this payload describes.
@@ -105,6 +119,8 @@ module Orb
105
119
  accounting_sync_record:
106
120
  Orb::TransactionAccountingSyncSucceededWebhookEvent::AccountingSyncRecord,
107
121
  created_at: Time,
122
+ payload_style:
123
+ Orb::TransactionAccountingSyncSucceededWebhookEvent::PayloadStyle::TaggedSymbol,
108
124
  properties:
109
125
  Orb::TransactionAccountingSyncSucceededWebhookEvent::Properties,
110
126
  transaction:
@@ -262,6 +278,42 @@ module Orb
262
278
  end
263
279
  end
264
280
 
281
+ # The serialization style this payload was rendered in, as configured on the
282
+ # endpoint.
283
+ module PayloadStyle
284
+ extend Orb::Internal::Type::Enum
285
+
286
+ TaggedSymbol =
287
+ T.type_alias do
288
+ T.all(
289
+ Symbol,
290
+ Orb::TransactionAccountingSyncSucceededWebhookEvent::PayloadStyle
291
+ )
292
+ end
293
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
294
+
295
+ EXPANDED =
296
+ T.let(
297
+ :expanded,
298
+ Orb::TransactionAccountingSyncSucceededWebhookEvent::PayloadStyle::TaggedSymbol
299
+ )
300
+ STANDARD =
301
+ T.let(
302
+ :standard,
303
+ Orb::TransactionAccountingSyncSucceededWebhookEvent::PayloadStyle::TaggedSymbol
304
+ )
305
+
306
+ sig do
307
+ override.returns(
308
+ T::Array[
309
+ Orb::TransactionAccountingSyncSucceededWebhookEvent::PayloadStyle::TaggedSymbol
310
+ ]
311
+ )
312
+ end
313
+ def self.values
314
+ end
315
+ end
316
+
265
317
  class Properties < Orb::Internal::Type::BaseModel
266
318
  OrHash =
267
319
  T.type_alias do
@@ -5,6 +5,7 @@ module Orb
5
5
  id: String,
6
6
  backfill: Orb::BackfillReflectedWebhookEvent::Backfill,
7
7
  created_at: Time,
8
+ payload_style: Orb::Models::BackfillReflectedWebhookEvent::payload_style,
8
9
  properties: top,
9
10
  type: Orb::Models::BackfillReflectedWebhookEvent::type_
10
11
  }
@@ -16,6 +17,8 @@ module Orb
16
17
 
17
18
  attr_accessor created_at: Time
18
19
 
20
+ attr_accessor payload_style: Orb::Models::BackfillReflectedWebhookEvent::payload_style
21
+
19
22
  attr_accessor properties: top
20
23
 
21
24
  attr_accessor type: Orb::Models::BackfillReflectedWebhookEvent::type_
@@ -24,6 +27,7 @@ module Orb
24
27
  id: String,
25
28
  backfill: Orb::BackfillReflectedWebhookEvent::Backfill,
26
29
  created_at: Time,
30
+ payload_style: Orb::Models::BackfillReflectedWebhookEvent::payload_style,
27
31
  properties: top,
28
32
  type: Orb::Models::BackfillReflectedWebhookEvent::type_
29
33
  ) -> void
@@ -32,6 +36,7 @@ module Orb
32
36
  id: String,
33
37
  backfill: Orb::BackfillReflectedWebhookEvent::Backfill,
34
38
  created_at: Time,
39
+ payload_style: Orb::Models::BackfillReflectedWebhookEvent::payload_style,
35
40
  properties: top,
36
41
  type: Orb::Models::BackfillReflectedWebhookEvent::type_
37
42
  }
@@ -116,6 +121,17 @@ module Orb
116
121
  end
117
122
  end
118
123
 
124
+ type payload_style = :expanded | :standard
125
+
126
+ module PayloadStyle
127
+ extend Orb::Internal::Type::Enum
128
+
129
+ EXPANDED: :expanded
130
+ STANDARD: :standard
131
+
132
+ def self?.values: -> ::Array[Orb::Models::BackfillReflectedWebhookEvent::payload_style]
133
+ end
134
+
119
135
  type type_ = :"backfill.reflected"
120
136
 
121
137
  module Type
@@ -5,6 +5,7 @@ module Orb
5
5
  id: String,
6
6
  backfill: Orb::BackfillRevertedWebhookEvent::Backfill,
7
7
  created_at: Time,
8
+ payload_style: Orb::Models::BackfillRevertedWebhookEvent::payload_style,
8
9
  properties: top,
9
10
  type: Orb::Models::BackfillRevertedWebhookEvent::type_
10
11
  }
@@ -16,6 +17,8 @@ module Orb
16
17
 
17
18
  attr_accessor created_at: Time
18
19
 
20
+ attr_accessor payload_style: Orb::Models::BackfillRevertedWebhookEvent::payload_style
21
+
19
22
  attr_accessor properties: top
20
23
 
21
24
  attr_accessor type: Orb::Models::BackfillRevertedWebhookEvent::type_
@@ -24,6 +27,7 @@ module Orb
24
27
  id: String,
25
28
  backfill: Orb::BackfillRevertedWebhookEvent::Backfill,
26
29
  created_at: Time,
30
+ payload_style: Orb::Models::BackfillRevertedWebhookEvent::payload_style,
27
31
  properties: top,
28
32
  type: Orb::Models::BackfillRevertedWebhookEvent::type_
29
33
  ) -> void
@@ -32,6 +36,7 @@ module Orb
32
36
  id: String,
33
37
  backfill: Orb::BackfillRevertedWebhookEvent::Backfill,
34
38
  created_at: Time,
39
+ payload_style: Orb::Models::BackfillRevertedWebhookEvent::payload_style,
35
40
  properties: top,
36
41
  type: Orb::Models::BackfillRevertedWebhookEvent::type_
37
42
  }
@@ -116,6 +121,17 @@ module Orb
116
121
  end
117
122
  end
118
123
 
124
+ type payload_style = :expanded | :standard
125
+
126
+ module PayloadStyle
127
+ extend Orb::Internal::Type::Enum
128
+
129
+ EXPANDED: :expanded
130
+ STANDARD: :standard
131
+
132
+ def self?.values: -> ::Array[Orb::Models::BackfillRevertedWebhookEvent::payload_style]
133
+ end
134
+
119
135
  type type_ = :"backfill.reverted"
120
136
 
121
137
  module Type
@@ -5,6 +5,7 @@ module Orb
5
5
  id: String,
6
6
  billable_metric: Orb::BillableMetric,
7
7
  created_at: Time,
8
+ payload_style: Orb::Models::BillableMetricEditedWebhookEvent::payload_style,
8
9
  properties: Orb::BillableMetricEditedWebhookEvent::Properties,
9
10
  type: Orb::Models::BillableMetricEditedWebhookEvent::type_
10
11
  }
@@ -16,6 +17,8 @@ module Orb
16
17
 
17
18
  attr_accessor created_at: Time
18
19
 
20
+ attr_accessor payload_style: Orb::Models::BillableMetricEditedWebhookEvent::payload_style
21
+
19
22
  attr_accessor properties: Orb::BillableMetricEditedWebhookEvent::Properties
20
23
 
21
24
  attr_accessor type: Orb::Models::BillableMetricEditedWebhookEvent::type_
@@ -24,6 +27,7 @@ module Orb
24
27
  id: String,
25
28
  billable_metric: Orb::BillableMetric,
26
29
  created_at: Time,
30
+ payload_style: Orb::Models::BillableMetricEditedWebhookEvent::payload_style,
27
31
  properties: Orb::BillableMetricEditedWebhookEvent::Properties,
28
32
  type: Orb::Models::BillableMetricEditedWebhookEvent::type_
29
33
  ) -> void
@@ -32,10 +36,22 @@ module Orb
32
36
  id: String,
33
37
  billable_metric: Orb::BillableMetric,
34
38
  created_at: Time,
39
+ payload_style: Orb::Models::BillableMetricEditedWebhookEvent::payload_style,
35
40
  properties: Orb::BillableMetricEditedWebhookEvent::Properties,
36
41
  type: Orb::Models::BillableMetricEditedWebhookEvent::type_
37
42
  }
38
43
 
44
+ type payload_style = :expanded | :standard
45
+
46
+ module PayloadStyle
47
+ extend Orb::Internal::Type::Enum
48
+
49
+ EXPANDED: :expanded
50
+ STANDARD: :standard
51
+
52
+ def self?.values: -> ::Array[Orb::Models::BillableMetricEditedWebhookEvent::payload_style]
53
+ end
54
+
39
55
  type properties =
40
56
  {
41
57
  previous_attributes: Orb::BillableMetricEditedWebhookEvent::Properties::PreviousAttributes
@@ -6,6 +6,7 @@ module Orb
6
6
  accounting_sync_record: Orb::CreditBlockAccountingSyncFailedWebhookEvent::AccountingSyncRecord,
7
7
  block: Orb::CreditBlockAccountingSyncFailedWebhookEvent::Block,
8
8
  created_at: Time,
9
+ payload_style: Orb::Models::CreditBlockAccountingSyncFailedWebhookEvent::payload_style,
9
10
  properties: Orb::CreditBlockAccountingSyncFailedWebhookEvent::Properties,
10
11
  type: Orb::Models::CreditBlockAccountingSyncFailedWebhookEvent::type_
11
12
  }
@@ -19,6 +20,8 @@ module Orb
19
20
 
20
21
  attr_accessor created_at: Time
21
22
 
23
+ attr_accessor payload_style: Orb::Models::CreditBlockAccountingSyncFailedWebhookEvent::payload_style
24
+
22
25
  attr_accessor properties: Orb::CreditBlockAccountingSyncFailedWebhookEvent::Properties
23
26
 
24
27
  attr_accessor type: Orb::Models::CreditBlockAccountingSyncFailedWebhookEvent::type_
@@ -28,6 +31,7 @@ module Orb
28
31
  accounting_sync_record: Orb::CreditBlockAccountingSyncFailedWebhookEvent::AccountingSyncRecord,
29
32
  block: Orb::CreditBlockAccountingSyncFailedWebhookEvent::Block,
30
33
  created_at: Time,
34
+ payload_style: Orb::Models::CreditBlockAccountingSyncFailedWebhookEvent::payload_style,
31
35
  properties: Orb::CreditBlockAccountingSyncFailedWebhookEvent::Properties,
32
36
  type: Orb::Models::CreditBlockAccountingSyncFailedWebhookEvent::type_
33
37
  ) -> void
@@ -37,6 +41,7 @@ module Orb
37
41
  accounting_sync_record: Orb::CreditBlockAccountingSyncFailedWebhookEvent::AccountingSyncRecord,
38
42
  block: Orb::CreditBlockAccountingSyncFailedWebhookEvent::Block,
39
43
  created_at: Time,
44
+ payload_style: Orb::Models::CreditBlockAccountingSyncFailedWebhookEvent::payload_style,
40
45
  properties: Orb::CreditBlockAccountingSyncFailedWebhookEvent::Properties,
41
46
  type: Orb::Models::CreditBlockAccountingSyncFailedWebhookEvent::type_
42
47
  }
@@ -383,6 +388,17 @@ module Orb
383
388
  end
384
389
  end
385
390
 
391
+ type payload_style = :expanded | :standard
392
+
393
+ module PayloadStyle
394
+ extend Orb::Internal::Type::Enum
395
+
396
+ EXPANDED: :expanded
397
+ STANDARD: :standard
398
+
399
+ def self?.values: -> ::Array[Orb::Models::CreditBlockAccountingSyncFailedWebhookEvent::payload_style]
400
+ end
401
+
386
402
  type properties = { connection_type: String, failure_reason: String }
387
403
 
388
404
  class Properties < Orb::Internal::Type::BaseModel
@@ -6,6 +6,7 @@ module Orb
6
6
  accounting_sync_record: Orb::CreditBlockAccountingSyncSucceededWebhookEvent::AccountingSyncRecord,
7
7
  block: Orb::CreditBlockAccountingSyncSucceededWebhookEvent::Block,
8
8
  created_at: Time,
9
+ payload_style: Orb::Models::CreditBlockAccountingSyncSucceededWebhookEvent::payload_style,
9
10
  properties: Orb::CreditBlockAccountingSyncSucceededWebhookEvent::Properties,
10
11
  type: Orb::Models::CreditBlockAccountingSyncSucceededWebhookEvent::type_
11
12
  }
@@ -19,6 +20,8 @@ module Orb
19
20
 
20
21
  attr_accessor created_at: Time
21
22
 
23
+ attr_accessor payload_style: Orb::Models::CreditBlockAccountingSyncSucceededWebhookEvent::payload_style
24
+
22
25
  attr_accessor properties: Orb::CreditBlockAccountingSyncSucceededWebhookEvent::Properties
23
26
 
24
27
  attr_accessor type: Orb::Models::CreditBlockAccountingSyncSucceededWebhookEvent::type_
@@ -28,6 +31,7 @@ module Orb
28
31
  accounting_sync_record: Orb::CreditBlockAccountingSyncSucceededWebhookEvent::AccountingSyncRecord,
29
32
  block: Orb::CreditBlockAccountingSyncSucceededWebhookEvent::Block,
30
33
  created_at: Time,
34
+ payload_style: Orb::Models::CreditBlockAccountingSyncSucceededWebhookEvent::payload_style,
31
35
  properties: Orb::CreditBlockAccountingSyncSucceededWebhookEvent::Properties,
32
36
  type: Orb::Models::CreditBlockAccountingSyncSucceededWebhookEvent::type_
33
37
  ) -> void
@@ -37,6 +41,7 @@ module Orb
37
41
  accounting_sync_record: Orb::CreditBlockAccountingSyncSucceededWebhookEvent::AccountingSyncRecord,
38
42
  block: Orb::CreditBlockAccountingSyncSucceededWebhookEvent::Block,
39
43
  created_at: Time,
44
+ payload_style: Orb::Models::CreditBlockAccountingSyncSucceededWebhookEvent::payload_style,
40
45
  properties: Orb::CreditBlockAccountingSyncSucceededWebhookEvent::Properties,
41
46
  type: Orb::Models::CreditBlockAccountingSyncSucceededWebhookEvent::type_
42
47
  }
@@ -383,6 +388,17 @@ module Orb
383
388
  end
384
389
  end
385
390
 
391
+ type payload_style = :expanded | :standard
392
+
393
+ module PayloadStyle
394
+ extend Orb::Internal::Type::Enum
395
+
396
+ EXPANDED: :expanded
397
+ STANDARD: :standard
398
+
399
+ def self?.values: -> ::Array[Orb::Models::CreditBlockAccountingSyncSucceededWebhookEvent::payload_style]
400
+ end
401
+
386
402
  type properties = { connection_type: String }
387
403
 
388
404
  class Properties < Orb::Internal::Type::BaseModel