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
@@ -15,6 +15,13 @@ module Orb
15
15
  # @return [Time]
16
16
  required :created_at, Time
17
17
 
18
+ # @!attribute payload_style
19
+ # The serialization style this payload was rendered in, as configured on the
20
+ # endpoint.
21
+ #
22
+ # @return [Symbol, Orb::Models::SubscriptionSpendExceededWebhookEvent::PayloadStyle]
23
+ required :payload_style, enum: -> { Orb::SubscriptionSpendExceededWebhookEvent::PayloadStyle }
24
+
18
25
  # @!attribute properties
19
26
  #
20
27
  # @return [Orb::Models::SubscriptionSpendExceededWebhookEvent::Properties]
@@ -50,7 +57,7 @@ module Orb
50
57
  # @return [Symbol, Orb::Models::SubscriptionSpendExceededWebhookEvent::Type]
51
58
  required :type, enum: -> { Orb::SubscriptionSpendExceededWebhookEvent::Type }
52
59
 
53
- # @!method initialize(id:, created_at:, properties:, subscription:, type:)
60
+ # @!method initialize(id:, created_at:, payload_style:, properties:, subscription:, type:)
54
61
  # Some parameter documentations has been truncated, see
55
62
  # {Orb::Models::SubscriptionSpendExceededWebhookEvent} for more details.
56
63
  #
@@ -61,12 +68,28 @@ module Orb
61
68
  #
62
69
  # @param created_at [Time] The time at which this event was created, to the second.
63
70
  #
71
+ # @param payload_style [Symbol, Orb::Models::SubscriptionSpendExceededWebhookEvent::PayloadStyle] The serialization style this payload was rendered in, as configured on the endpo
72
+ #
64
73
  # @param properties [Orb::Models::SubscriptionSpendExceededWebhookEvent::Properties]
65
74
  #
66
75
  # @param subscription [Orb::Models::Subscription] A [subscription](/core-concepts#subscription) represents the purchase of a plan
67
76
  #
68
77
  # @param type [Symbol, Orb::Models::SubscriptionSpendExceededWebhookEvent::Type] The event this payload describes.
69
78
 
79
+ # The serialization style this payload was rendered in, as configured on the
80
+ # endpoint.
81
+ #
82
+ # @see Orb::Models::SubscriptionSpendExceededWebhookEvent#payload_style
83
+ module PayloadStyle
84
+ extend Orb::Internal::Type::Enum
85
+
86
+ EXPANDED = :expanded
87
+ STANDARD = :standard
88
+
89
+ # @!method self.values
90
+ # @return [Array<Symbol>]
91
+ end
92
+
70
93
  # @see Orb::Models::SubscriptionSpendExceededWebhookEvent#properties
71
94
  class Properties < Orb::Internal::Type::BaseModel
72
95
  # @!attribute alert_configuration
@@ -15,6 +15,13 @@ module Orb
15
15
  # @return [Time]
16
16
  required :created_at, Time
17
17
 
18
+ # @!attribute payload_style
19
+ # The serialization style this payload was rendered in, as configured on the
20
+ # endpoint.
21
+ #
22
+ # @return [Symbol, Orb::Models::SubscriptionStartedWebhookEvent::PayloadStyle]
23
+ required :payload_style, enum: -> { Orb::SubscriptionStartedWebhookEvent::PayloadStyle }
24
+
18
25
  # @!attribute properties
19
26
  #
20
27
  # @return [Object]
@@ -50,7 +57,7 @@ module Orb
50
57
  # @return [Symbol, Orb::Models::SubscriptionStartedWebhookEvent::Type]
51
58
  required :type, enum: -> { Orb::SubscriptionStartedWebhookEvent::Type }
52
59
 
53
- # @!method initialize(id:, created_at:, properties:, subscription:, type:)
60
+ # @!method initialize(id:, created_at:, payload_style:, properties:, subscription:, type:)
54
61
  # Some parameter documentations has been truncated, see
55
62
  # {Orb::Models::SubscriptionStartedWebhookEvent} for more details.
56
63
  #
@@ -60,12 +67,28 @@ module Orb
60
67
  #
61
68
  # @param created_at [Time] The time at which this event was created, to the second.
62
69
  #
70
+ # @param payload_style [Symbol, Orb::Models::SubscriptionStartedWebhookEvent::PayloadStyle] The serialization style this payload was rendered in, as configured on the endpo
71
+ #
63
72
  # @param properties [Object]
64
73
  #
65
74
  # @param subscription [Orb::Models::Subscription] A [subscription](/core-concepts#subscription) represents the purchase of a plan
66
75
  #
67
76
  # @param type [Symbol, Orb::Models::SubscriptionStartedWebhookEvent::Type] The event this payload describes.
68
77
 
78
+ # The serialization style this payload was rendered in, as configured on the
79
+ # endpoint.
80
+ #
81
+ # @see Orb::Models::SubscriptionStartedWebhookEvent#payload_style
82
+ module PayloadStyle
83
+ extend Orb::Internal::Type::Enum
84
+
85
+ EXPANDED = :expanded
86
+ STANDARD = :standard
87
+
88
+ # @!method self.values
89
+ # @return [Array<Symbol>]
90
+ end
91
+
69
92
  # The event this payload describes.
70
93
  #
71
94
  # @see Orb::Models::SubscriptionStartedWebhookEvent#type
@@ -15,6 +15,13 @@ module Orb
15
15
  # @return [Time]
16
16
  required :created_at, Time
17
17
 
18
+ # @!attribute payload_style
19
+ # The serialization style this payload was rendered in, as configured on the
20
+ # endpoint.
21
+ #
22
+ # @return [Symbol, Orb::Models::SubscriptionTrialEndedWebhookEvent::PayloadStyle]
23
+ required :payload_style, enum: -> { Orb::SubscriptionTrialEndedWebhookEvent::PayloadStyle }
24
+
18
25
  # @!attribute properties
19
26
  #
20
27
  # @return [Object]
@@ -50,7 +57,7 @@ module Orb
50
57
  # @return [Symbol, Orb::Models::SubscriptionTrialEndedWebhookEvent::Type]
51
58
  required :type, enum: -> { Orb::SubscriptionTrialEndedWebhookEvent::Type }
52
59
 
53
- # @!method initialize(id:, created_at:, properties:, subscription:, type:)
60
+ # @!method initialize(id:, created_at:, payload_style:, properties:, subscription:, type:)
54
61
  # Some parameter documentations has been truncated, see
55
62
  # {Orb::Models::SubscriptionTrialEndedWebhookEvent} for more details.
56
63
  #
@@ -60,12 +67,28 @@ module Orb
60
67
  #
61
68
  # @param created_at [Time] The time at which this event was created, to the second.
62
69
  #
70
+ # @param payload_style [Symbol, Orb::Models::SubscriptionTrialEndedWebhookEvent::PayloadStyle] The serialization style this payload was rendered in, as configured on the endpo
71
+ #
63
72
  # @param properties [Object]
64
73
  #
65
74
  # @param subscription [Orb::Models::Subscription] A [subscription](/core-concepts#subscription) represents the purchase of a plan
66
75
  #
67
76
  # @param type [Symbol, Orb::Models::SubscriptionTrialEndedWebhookEvent::Type] The event this payload describes.
68
77
 
78
+ # The serialization style this payload was rendered in, as configured on the
79
+ # endpoint.
80
+ #
81
+ # @see Orb::Models::SubscriptionTrialEndedWebhookEvent#payload_style
82
+ module PayloadStyle
83
+ extend Orb::Internal::Type::Enum
84
+
85
+ EXPANDED = :expanded
86
+ STANDARD = :standard
87
+
88
+ # @!method self.values
89
+ # @return [Array<Symbol>]
90
+ end
91
+
69
92
  # The event this payload describes.
70
93
  #
71
94
  # @see Orb::Models::SubscriptionTrialEndedWebhookEvent#type
@@ -15,6 +15,13 @@ module Orb
15
15
  # @return [Time]
16
16
  required :created_at, Time
17
17
 
18
+ # @!attribute payload_style
19
+ # The serialization style this payload was rendered in, as configured on the
20
+ # endpoint.
21
+ #
22
+ # @return [Symbol, Orb::Models::SubscriptionUsageExceededWebhookEvent::PayloadStyle]
23
+ required :payload_style, enum: -> { Orb::SubscriptionUsageExceededWebhookEvent::PayloadStyle }
24
+
18
25
  # @!attribute properties
19
26
  #
20
27
  # @return [Orb::Models::SubscriptionUsageExceededWebhookEvent::Properties]
@@ -50,7 +57,7 @@ module Orb
50
57
  # @return [Symbol, Orb::Models::SubscriptionUsageExceededWebhookEvent::Type]
51
58
  required :type, enum: -> { Orb::SubscriptionUsageExceededWebhookEvent::Type }
52
59
 
53
- # @!method initialize(id:, created_at:, properties:, subscription:, type:)
60
+ # @!method initialize(id:, created_at:, payload_style:, properties:, subscription:, type:)
54
61
  # Some parameter documentations has been truncated, see
55
62
  # {Orb::Models::SubscriptionUsageExceededWebhookEvent} for more details.
56
63
  #
@@ -61,12 +68,28 @@ module Orb
61
68
  #
62
69
  # @param created_at [Time] The time at which this event was created, to the second.
63
70
  #
71
+ # @param payload_style [Symbol, Orb::Models::SubscriptionUsageExceededWebhookEvent::PayloadStyle] The serialization style this payload was rendered in, as configured on the endpo
72
+ #
64
73
  # @param properties [Orb::Models::SubscriptionUsageExceededWebhookEvent::Properties]
65
74
  #
66
75
  # @param subscription [Orb::Models::Subscription] A [subscription](/core-concepts#subscription) represents the purchase of a plan
67
76
  #
68
77
  # @param type [Symbol, Orb::Models::SubscriptionUsageExceededWebhookEvent::Type] The event this payload describes.
69
78
 
79
+ # The serialization style this payload was rendered in, as configured on the
80
+ # endpoint.
81
+ #
82
+ # @see Orb::Models::SubscriptionUsageExceededWebhookEvent#payload_style
83
+ module PayloadStyle
84
+ extend Orb::Internal::Type::Enum
85
+
86
+ EXPANDED = :expanded
87
+ STANDARD = :standard
88
+
89
+ # @!method self.values
90
+ # @return [Array<Symbol>]
91
+ end
92
+
70
93
  # @see Orb::Models::SubscriptionUsageExceededWebhookEvent#properties
71
94
  class Properties < Orb::Internal::Type::BaseModel
72
95
  # @!attribute alert_configuration
@@ -21,6 +21,13 @@ module Orb
21
21
  # @return [Time]
22
22
  required :created_at, Time
23
23
 
24
+ # @!attribute payload_style
25
+ # The serialization style this payload was rendered in, as configured on the
26
+ # endpoint.
27
+ #
28
+ # @return [Symbol, Orb::Models::TransactionAccountingSyncFailedWebhookEvent::PayloadStyle]
29
+ required :payload_style, enum: -> { Orb::TransactionAccountingSyncFailedWebhookEvent::PayloadStyle }
30
+
24
31
  # @!attribute properties
25
32
  #
26
33
  # @return [Orb::Models::TransactionAccountingSyncFailedWebhookEvent::Properties]
@@ -37,7 +44,10 @@ module Orb
37
44
  # @return [Symbol, Orb::Models::TransactionAccountingSyncFailedWebhookEvent::Type]
38
45
  required :type, enum: -> { Orb::TransactionAccountingSyncFailedWebhookEvent::Type }
39
46
 
40
- # @!method initialize(id:, accounting_sync_record:, created_at:, properties:, transaction:, type:)
47
+ # @!method initialize(id:, accounting_sync_record:, created_at:, payload_style:, properties:, transaction:, type:)
48
+ # Some parameter documentations has been truncated, see
49
+ # {Orb::Models::TransactionAccountingSyncFailedWebhookEvent} for more details.
50
+ #
41
51
  # Issued when a transaction accounting sync fails.
42
52
  #
43
53
  # @param id [String] The ID of this webhook event.
@@ -46,6 +56,8 @@ module Orb
46
56
  #
47
57
  # @param created_at [Time] The time at which this event was created, to the second.
48
58
  #
59
+ # @param payload_style [Symbol, Orb::Models::TransactionAccountingSyncFailedWebhookEvent::PayloadStyle] The serialization style this payload was rendered in, as configured on the endpo
60
+ #
49
61
  # @param properties [Orb::Models::TransactionAccountingSyncFailedWebhookEvent::Properties]
50
62
  #
51
63
  # @param transaction [Orb::Models::TransactionAccountingSyncFailedWebhookEvent::Transaction]
@@ -123,6 +135,20 @@ module Orb
123
135
  end
124
136
  end
125
137
 
138
+ # The serialization style this payload was rendered in, as configured on the
139
+ # endpoint.
140
+ #
141
+ # @see Orb::Models::TransactionAccountingSyncFailedWebhookEvent#payload_style
142
+ module PayloadStyle
143
+ extend Orb::Internal::Type::Enum
144
+
145
+ EXPANDED = :expanded
146
+ STANDARD = :standard
147
+
148
+ # @!method self.values
149
+ # @return [Array<Symbol>]
150
+ end
151
+
126
152
  # @see Orb::Models::TransactionAccountingSyncFailedWebhookEvent#properties
127
153
  class Properties < Orb::Internal::Type::BaseModel
128
154
  # @!attribute connection_type
@@ -21,6 +21,13 @@ module Orb
21
21
  # @return [Time]
22
22
  required :created_at, Time
23
23
 
24
+ # @!attribute payload_style
25
+ # The serialization style this payload was rendered in, as configured on the
26
+ # endpoint.
27
+ #
28
+ # @return [Symbol, Orb::Models::TransactionAccountingSyncSucceededWebhookEvent::PayloadStyle]
29
+ required :payload_style, enum: -> { Orb::TransactionAccountingSyncSucceededWebhookEvent::PayloadStyle }
30
+
24
31
  # @!attribute properties
25
32
  #
26
33
  # @return [Orb::Models::TransactionAccountingSyncSucceededWebhookEvent::Properties]
@@ -37,7 +44,10 @@ module Orb
37
44
  # @return [Symbol, Orb::Models::TransactionAccountingSyncSucceededWebhookEvent::Type]
38
45
  required :type, enum: -> { Orb::TransactionAccountingSyncSucceededWebhookEvent::Type }
39
46
 
40
- # @!method initialize(id:, accounting_sync_record:, created_at:, properties:, transaction:, type:)
47
+ # @!method initialize(id:, accounting_sync_record:, created_at:, payload_style:, properties:, transaction:, type:)
48
+ # Some parameter documentations has been truncated, see
49
+ # {Orb::Models::TransactionAccountingSyncSucceededWebhookEvent} for more details.
50
+ #
41
51
  # Issued when a transaction accounting sync succeeds.
42
52
  #
43
53
  # @param id [String] The ID of this webhook event.
@@ -46,6 +56,8 @@ module Orb
46
56
  #
47
57
  # @param created_at [Time] The time at which this event was created, to the second.
48
58
  #
59
+ # @param payload_style [Symbol, Orb::Models::TransactionAccountingSyncSucceededWebhookEvent::PayloadStyle] The serialization style this payload was rendered in, as configured on the endpo
60
+ #
49
61
  # @param properties [Orb::Models::TransactionAccountingSyncSucceededWebhookEvent::Properties]
50
62
  #
51
63
  # @param transaction [Orb::Models::TransactionAccountingSyncSucceededWebhookEvent::Transaction]
@@ -123,6 +135,20 @@ module Orb
123
135
  end
124
136
  end
125
137
 
138
+ # The serialization style this payload was rendered in, as configured on the
139
+ # endpoint.
140
+ #
141
+ # @see Orb::Models::TransactionAccountingSyncSucceededWebhookEvent#payload_style
142
+ module PayloadStyle
143
+ extend Orb::Internal::Type::Enum
144
+
145
+ EXPANDED = :expanded
146
+ STANDARD = :standard
147
+
148
+ # @!method self.values
149
+ # @return [Array<Symbol>]
150
+ end
151
+
126
152
  # @see Orb::Models::TransactionAccountingSyncSucceededWebhookEvent#properties
127
153
  class Properties < Orb::Internal::Type::BaseModel
128
154
  # @!attribute connection_type
data/lib/orb/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Orb
4
- VERSION = "1.44.0"
4
+ VERSION = "1.45.0"
5
5
  end
@@ -28,6 +28,13 @@ module Orb
28
28
  sig { returns(Time) }
29
29
  attr_accessor :created_at
30
30
 
31
+ # The serialization style this payload was rendered in, as configured on the
32
+ # endpoint.
33
+ sig do
34
+ returns(Orb::BackfillReflectedWebhookEvent::PayloadStyle::TaggedSymbol)
35
+ end
36
+ attr_accessor :payload_style
37
+
31
38
  sig { returns(T.anything) }
32
39
  attr_accessor :properties
33
40
 
@@ -41,6 +48,8 @@ module Orb
41
48
  id: String,
42
49
  backfill: Orb::BackfillReflectedWebhookEvent::Backfill::OrHash,
43
50
  created_at: Time,
51
+ payload_style:
52
+ Orb::BackfillReflectedWebhookEvent::PayloadStyle::OrSymbol,
44
53
  properties: T.anything,
45
54
  type: Orb::BackfillReflectedWebhookEvent::Type::OrSymbol
46
55
  ).returns(T.attached_class)
@@ -53,6 +62,9 @@ module Orb
53
62
  backfill:,
54
63
  # The time at which this event was created, to the second.
55
64
  created_at:,
65
+ # The serialization style this payload was rendered in, as configured on the
66
+ # endpoint.
67
+ payload_style:,
56
68
  properties:,
57
69
  # The event this payload describes.
58
70
  type:
@@ -65,6 +77,8 @@ module Orb
65
77
  id: String,
66
78
  backfill: Orb::BackfillReflectedWebhookEvent::Backfill,
67
79
  created_at: Time,
80
+ payload_style:
81
+ Orb::BackfillReflectedWebhookEvent::PayloadStyle::TaggedSymbol,
68
82
  properties: T.anything,
69
83
  type: Orb::BackfillReflectedWebhookEvent::Type::TaggedSymbol
70
84
  }
@@ -245,6 +259,39 @@ module Orb
245
259
  end
246
260
  end
247
261
 
262
+ # The serialization style this payload was rendered in, as configured on the
263
+ # endpoint.
264
+ module PayloadStyle
265
+ extend Orb::Internal::Type::Enum
266
+
267
+ TaggedSymbol =
268
+ T.type_alias do
269
+ T.all(Symbol, Orb::BackfillReflectedWebhookEvent::PayloadStyle)
270
+ end
271
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
272
+
273
+ EXPANDED =
274
+ T.let(
275
+ :expanded,
276
+ Orb::BackfillReflectedWebhookEvent::PayloadStyle::TaggedSymbol
277
+ )
278
+ STANDARD =
279
+ T.let(
280
+ :standard,
281
+ Orb::BackfillReflectedWebhookEvent::PayloadStyle::TaggedSymbol
282
+ )
283
+
284
+ sig do
285
+ override.returns(
286
+ T::Array[
287
+ Orb::BackfillReflectedWebhookEvent::PayloadStyle::TaggedSymbol
288
+ ]
289
+ )
290
+ end
291
+ def self.values
292
+ end
293
+ end
294
+
248
295
  # The event this payload describes.
249
296
  module Type
250
297
  extend Orb::Internal::Type::Enum
@@ -28,6 +28,13 @@ module Orb
28
28
  sig { returns(Time) }
29
29
  attr_accessor :created_at
30
30
 
31
+ # The serialization style this payload was rendered in, as configured on the
32
+ # endpoint.
33
+ sig do
34
+ returns(Orb::BackfillRevertedWebhookEvent::PayloadStyle::TaggedSymbol)
35
+ end
36
+ attr_accessor :payload_style
37
+
31
38
  sig { returns(T.anything) }
32
39
  attr_accessor :properties
33
40
 
@@ -41,6 +48,8 @@ module Orb
41
48
  id: String,
42
49
  backfill: Orb::BackfillRevertedWebhookEvent::Backfill::OrHash,
43
50
  created_at: Time,
51
+ payload_style:
52
+ Orb::BackfillRevertedWebhookEvent::PayloadStyle::OrSymbol,
44
53
  properties: T.anything,
45
54
  type: Orb::BackfillRevertedWebhookEvent::Type::OrSymbol
46
55
  ).returns(T.attached_class)
@@ -53,6 +62,9 @@ module Orb
53
62
  backfill:,
54
63
  # The time at which this event was created, to the second.
55
64
  created_at:,
65
+ # The serialization style this payload was rendered in, as configured on the
66
+ # endpoint.
67
+ payload_style:,
56
68
  properties:,
57
69
  # The event this payload describes.
58
70
  type:
@@ -65,6 +77,8 @@ module Orb
65
77
  id: String,
66
78
  backfill: Orb::BackfillRevertedWebhookEvent::Backfill,
67
79
  created_at: Time,
80
+ payload_style:
81
+ Orb::BackfillRevertedWebhookEvent::PayloadStyle::TaggedSymbol,
68
82
  properties: T.anything,
69
83
  type: Orb::BackfillRevertedWebhookEvent::Type::TaggedSymbol
70
84
  }
@@ -242,6 +256,39 @@ module Orb
242
256
  end
243
257
  end
244
258
 
259
+ # The serialization style this payload was rendered in, as configured on the
260
+ # endpoint.
261
+ module PayloadStyle
262
+ extend Orb::Internal::Type::Enum
263
+
264
+ TaggedSymbol =
265
+ T.type_alias do
266
+ T.all(Symbol, Orb::BackfillRevertedWebhookEvent::PayloadStyle)
267
+ end
268
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
269
+
270
+ EXPANDED =
271
+ T.let(
272
+ :expanded,
273
+ Orb::BackfillRevertedWebhookEvent::PayloadStyle::TaggedSymbol
274
+ )
275
+ STANDARD =
276
+ T.let(
277
+ :standard,
278
+ Orb::BackfillRevertedWebhookEvent::PayloadStyle::TaggedSymbol
279
+ )
280
+
281
+ sig do
282
+ override.returns(
283
+ T::Array[
284
+ Orb::BackfillRevertedWebhookEvent::PayloadStyle::TaggedSymbol
285
+ ]
286
+ )
287
+ end
288
+ def self.values
289
+ end
290
+ end
291
+
245
292
  # The event this payload describes.
246
293
  module Type
247
294
  extend Orb::Internal::Type::Enum
@@ -25,6 +25,15 @@ module Orb
25
25
  sig { returns(Time) }
26
26
  attr_accessor :created_at
27
27
 
28
+ # The serialization style this payload was rendered in, as configured on the
29
+ # endpoint.
30
+ sig do
31
+ returns(
32
+ Orb::BillableMetricEditedWebhookEvent::PayloadStyle::TaggedSymbol
33
+ )
34
+ end
35
+ attr_accessor :payload_style
36
+
28
37
  sig { returns(Orb::BillableMetricEditedWebhookEvent::Properties) }
29
38
  attr_reader :properties
30
39
 
@@ -45,6 +54,8 @@ module Orb
45
54
  id: String,
46
55
  billable_metric: Orb::BillableMetric::OrHash,
47
56
  created_at: Time,
57
+ payload_style:
58
+ Orb::BillableMetricEditedWebhookEvent::PayloadStyle::OrSymbol,
48
59
  properties: Orb::BillableMetricEditedWebhookEvent::Properties::OrHash,
49
60
  type: Orb::BillableMetricEditedWebhookEvent::Type::OrSymbol
50
61
  ).returns(T.attached_class)
@@ -58,6 +69,9 @@ module Orb
58
69
  billable_metric:,
59
70
  # The time at which this event was created, to the second.
60
71
  created_at:,
72
+ # The serialization style this payload was rendered in, as configured on the
73
+ # endpoint.
74
+ payload_style:,
61
75
  properties:,
62
76
  # The event this payload describes.
63
77
  type:
@@ -70,6 +84,8 @@ module Orb
70
84
  id: String,
71
85
  billable_metric: Orb::BillableMetric,
72
86
  created_at: Time,
87
+ payload_style:
88
+ Orb::BillableMetricEditedWebhookEvent::PayloadStyle::TaggedSymbol,
73
89
  properties: Orb::BillableMetricEditedWebhookEvent::Properties,
74
90
  type: Orb::BillableMetricEditedWebhookEvent::Type::TaggedSymbol
75
91
  }
@@ -78,6 +94,39 @@ module Orb
78
94
  def to_hash
79
95
  end
80
96
 
97
+ # The serialization style this payload was rendered in, as configured on the
98
+ # endpoint.
99
+ module PayloadStyle
100
+ extend Orb::Internal::Type::Enum
101
+
102
+ TaggedSymbol =
103
+ T.type_alias do
104
+ T.all(Symbol, Orb::BillableMetricEditedWebhookEvent::PayloadStyle)
105
+ end
106
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
107
+
108
+ EXPANDED =
109
+ T.let(
110
+ :expanded,
111
+ Orb::BillableMetricEditedWebhookEvent::PayloadStyle::TaggedSymbol
112
+ )
113
+ STANDARD =
114
+ T.let(
115
+ :standard,
116
+ Orb::BillableMetricEditedWebhookEvent::PayloadStyle::TaggedSymbol
117
+ )
118
+
119
+ sig do
120
+ override.returns(
121
+ T::Array[
122
+ Orb::BillableMetricEditedWebhookEvent::PayloadStyle::TaggedSymbol
123
+ ]
124
+ )
125
+ end
126
+ def self.values
127
+ end
128
+ end
129
+
81
130
  class Properties < Orb::Internal::Type::BaseModel
82
131
  OrHash =
83
132
  T.type_alias do
@@ -45,6 +45,15 @@ module Orb
45
45
  sig { returns(Time) }
46
46
  attr_accessor :created_at
47
47
 
48
+ # The serialization style this payload was rendered in, as configured on the
49
+ # endpoint.
50
+ sig do
51
+ returns(
52
+ Orb::CreditBlockAccountingSyncFailedWebhookEvent::PayloadStyle::TaggedSymbol
53
+ )
54
+ end
55
+ attr_accessor :payload_style
56
+
48
57
  sig do
49
58
  returns(Orb::CreditBlockAccountingSyncFailedWebhookEvent::Properties)
50
59
  end
@@ -75,6 +84,8 @@ module Orb
75
84
  block:
76
85
  Orb::CreditBlockAccountingSyncFailedWebhookEvent::Block::OrHash,
77
86
  created_at: Time,
87
+ payload_style:
88
+ Orb::CreditBlockAccountingSyncFailedWebhookEvent::PayloadStyle::OrSymbol,
78
89
  properties:
79
90
  Orb::CreditBlockAccountingSyncFailedWebhookEvent::Properties::OrHash,
80
91
  type: Orb::CreditBlockAccountingSyncFailedWebhookEvent::Type::OrSymbol
@@ -88,6 +99,9 @@ module Orb
88
99
  block:,
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
  # The event this payload describes.
93
107
  type:
@@ -102,6 +116,8 @@ module Orb
102
116
  Orb::CreditBlockAccountingSyncFailedWebhookEvent::AccountingSyncRecord,
103
117
  block: Orb::CreditBlockAccountingSyncFailedWebhookEvent::Block,
104
118
  created_at: Time,
119
+ payload_style:
120
+ Orb::CreditBlockAccountingSyncFailedWebhookEvent::PayloadStyle::TaggedSymbol,
105
121
  properties:
106
122
  Orb::CreditBlockAccountingSyncFailedWebhookEvent::Properties,
107
123
  type:
@@ -975,6 +991,42 @@ module Orb
975
991
  end
976
992
  end
977
993
 
994
+ # The serialization style this payload was rendered in, as configured on the
995
+ # endpoint.
996
+ module PayloadStyle
997
+ extend Orb::Internal::Type::Enum
998
+
999
+ TaggedSymbol =
1000
+ T.type_alias do
1001
+ T.all(
1002
+ Symbol,
1003
+ Orb::CreditBlockAccountingSyncFailedWebhookEvent::PayloadStyle
1004
+ )
1005
+ end
1006
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
1007
+
1008
+ EXPANDED =
1009
+ T.let(
1010
+ :expanded,
1011
+ Orb::CreditBlockAccountingSyncFailedWebhookEvent::PayloadStyle::TaggedSymbol
1012
+ )
1013
+ STANDARD =
1014
+ T.let(
1015
+ :standard,
1016
+ Orb::CreditBlockAccountingSyncFailedWebhookEvent::PayloadStyle::TaggedSymbol
1017
+ )
1018
+
1019
+ sig do
1020
+ override.returns(
1021
+ T::Array[
1022
+ Orb::CreditBlockAccountingSyncFailedWebhookEvent::PayloadStyle::TaggedSymbol
1023
+ ]
1024
+ )
1025
+ end
1026
+ def self.values
1027
+ end
1028
+ end
1029
+
978
1030
  class Properties < Orb::Internal::Type::BaseModel
979
1031
  OrHash =
980
1032
  T.type_alias do