orb-billing 1.46.0 → 1.48.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 (160) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +24 -1
  3. data/README.md +1 -1
  4. data/lib/orb/models/credit_block_update_params.rb +34 -0
  5. data/lib/orb/models/credit_block_update_response.rb +332 -0
  6. data/lib/orb/models/invoice_issue_summary_response.rb +2 -1
  7. data/lib/orb/models/invoice_issued_summary_webhook_event.rb +5 -3
  8. data/lib/orb/models/invoice_list_summary_response.rb +2 -1
  9. data/lib/orb/models/metric_archive_params.rb +20 -0
  10. data/lib/orb/models/metric_list_params.rb +21 -1
  11. data/lib/orb/models/metric_unarchive_params.rb +20 -0
  12. data/lib/orb/models/metric_update_params.rb +17 -1
  13. data/lib/orb/models/plan_update_params.rb +9 -1
  14. data/lib/orb/models/plans/external_plan_id_update_params.rb +9 -1
  15. data/lib/orb/models/subscription_alert_disabled_webhook_event.rb +5 -9
  16. data/lib/orb/models/subscription_grouped_cost_exceeded_webhook_event.rb +5 -9
  17. data/lib/orb/models/subscription_invoicing_threshold_exceeded_webhook_event.rb +5 -9
  18. data/lib/orb/models/subscription_license_allocation_reset_webhook_event.rb +5 -9
  19. data/lib/orb/models/subscription_license_balance_threshold_reached_webhook_event.rb +5 -9
  20. data/lib/orb/models/webhook_endpoint.rb +28 -1
  21. data/lib/orb/models/webhook_endpoint_create_params.rb +22 -1
  22. data/lib/orb/models/webhook_endpoint_update_params.rb +22 -1
  23. data/lib/orb/models/webhook_endpoint_with_secret.rb +28 -1
  24. data/lib/orb/models/webhooks/invoice_accounting_sync_failed_standard_webhook_event.rb +5 -3
  25. data/lib/orb/models/webhooks/invoice_accounting_sync_succeeded_standard_webhook_event.rb +5 -3
  26. data/lib/orb/models/webhooks/invoice_dunning_schedule_created_standard_webhook_event.rb +5 -3
  27. data/lib/orb/models/webhooks/invoice_dunning_schedule_ended_standard_webhook_event.rb +5 -3
  28. data/lib/orb/models/webhooks/invoice_dunning_schedule_reset_standard_webhook_event.rb +5 -3
  29. data/lib/orb/models/webhooks/invoice_dunning_schedule_step_executed_standard_webhook_event.rb +5 -3
  30. data/lib/orb/models/webhooks/invoice_edited_standard_webhook_event.rb +5 -3
  31. data/lib/orb/models/webhooks/invoice_issue_failed_standard_webhook_event.rb +5 -3
  32. data/lib/orb/models/webhooks/invoice_issued_standard_webhook_event.rb +5 -3
  33. data/lib/orb/models/webhooks/invoice_issued_summary_standard_webhook_event.rb +5 -3
  34. data/lib/orb/models/webhooks/invoice_manually_marked_as_paid_standard_webhook_event.rb +5 -3
  35. data/lib/orb/models/webhooks/invoice_manually_marked_as_void_standard_webhook_event.rb +5 -3
  36. data/lib/orb/models/webhooks/invoice_payment_failed_standard_webhook_event.rb +5 -3
  37. data/lib/orb/models/webhooks/invoice_payment_processing_standard_webhook_event.rb +5 -3
  38. data/lib/orb/models/webhooks/invoice_payment_succeeded_standard_webhook_event.rb +5 -3
  39. data/lib/orb/models/webhooks/invoice_sync_failed_standard_webhook_event.rb +5 -3
  40. data/lib/orb/models/webhooks/invoice_sync_succeeded_standard_webhook_event.rb +5 -3
  41. data/lib/orb/models/webhooks/invoice_undo_mark_as_paid_standard_webhook_event.rb +5 -3
  42. data/lib/orb/models/webhooks/sales_order_accounting_sync_failed_standard_webhook_event.rb +5 -3
  43. data/lib/orb/models/webhooks/sales_order_accounting_sync_succeeded_standard_webhook_event.rb +5 -3
  44. data/lib/orb/models/webhooks/subscription_accounting_sync_failed_standard_webhook_event.rb +9 -7
  45. data/lib/orb/models/webhooks/subscription_accounting_sync_succeeded_standard_webhook_event.rb +9 -7
  46. data/lib/orb/models/webhooks/subscription_alert_disabled_standard_webhook_event.rb +5 -9
  47. data/lib/orb/models/webhooks/subscription_cancellation_scheduled_standard_webhook_event.rb +9 -7
  48. data/lib/orb/models/webhooks/subscription_cancellation_unscheduled_standard_webhook_event.rb +9 -7
  49. data/lib/orb/models/webhooks/subscription_cost_exceeded_standard_webhook_event.rb +9 -7
  50. data/lib/orb/models/webhooks/subscription_created_standard_webhook_event.rb +9 -7
  51. data/lib/orb/models/webhooks/subscription_edited_standard_webhook_event.rb +9 -7
  52. data/lib/orb/models/webhooks/subscription_ended_standard_webhook_event.rb +9 -7
  53. data/lib/orb/models/webhooks/subscription_fixed_fee_quantity_updated_standard_webhook_event.rb +9 -7
  54. data/lib/orb/models/webhooks/subscription_grouped_cost_exceeded_standard_webhook_event.rb +5 -9
  55. data/lib/orb/models/webhooks/subscription_invoicing_threshold_exceeded_standard_webhook_event.rb +5 -9
  56. data/lib/orb/models/webhooks/subscription_license_allocation_reset_standard_webhook_event.rb +5 -9
  57. data/lib/orb/models/webhooks/subscription_license_balance_threshold_reached_standard_webhook_event.rb +5 -9
  58. data/lib/orb/models/webhooks/subscription_plan_change_scheduled_standard_webhook_event.rb +9 -7
  59. data/lib/orb/models/webhooks/subscription_plan_changed_standard_webhook_event.rb +9 -7
  60. data/lib/orb/models/webhooks/subscription_plan_version_change_scheduled_standard_webhook_event.rb +9 -7
  61. data/lib/orb/models/webhooks/subscription_plan_version_changed_standard_webhook_event.rb +9 -7
  62. data/lib/orb/models/webhooks/subscription_spend_exceeded_standard_webhook_event.rb +9 -7
  63. data/lib/orb/models/webhooks/subscription_started_standard_webhook_event.rb +9 -7
  64. data/lib/orb/models/webhooks/subscription_trial_ended_standard_webhook_event.rb +9 -7
  65. data/lib/orb/models/webhooks/subscription_usage_exceeded_standard_webhook_event.rb +9 -7
  66. data/lib/orb/models.rb +6 -0
  67. data/lib/orb/resources/credit_blocks.rb +35 -0
  68. data/lib/orb/resources/metrics.rb +61 -5
  69. data/lib/orb/resources/plans/external_plan_id.rb +6 -3
  70. data/lib/orb/resources/plans.rb +6 -3
  71. data/lib/orb/resources/webhook_endpoints.rb +6 -2
  72. data/lib/orb/version.rb +1 -1
  73. data/lib/orb.rb +4 -0
  74. data/rbi/orb/models/credit_block_update_params.rbi +53 -0
  75. data/rbi/orb/models/credit_block_update_response.rbi +693 -0
  76. data/rbi/orb/models/invoice_issue_summary_response.rbi +2 -1
  77. data/rbi/orb/models/invoice_issued_summary_webhook_event.rbi +6 -3
  78. data/rbi/orb/models/invoice_list_summary_response.rbi +2 -1
  79. data/rbi/orb/models/metric_archive_params.rbi +33 -0
  80. data/rbi/orb/models/metric_list_params.rbi +29 -0
  81. data/rbi/orb/models/metric_unarchive_params.rbi +35 -0
  82. data/rbi/orb/models/metric_update_params.rbi +16 -0
  83. data/rbi/orb/models/plan_update_params.rbi +8 -0
  84. data/rbi/orb/models/plans/external_plan_id_update_params.rbi +8 -0
  85. data/rbi/orb/models/subscription_alert_disabled_webhook_event.rbi +6 -12
  86. data/rbi/orb/models/subscription_grouped_cost_exceeded_webhook_event.rbi +6 -12
  87. data/rbi/orb/models/subscription_invoicing_threshold_exceeded_webhook_event.rbi +6 -12
  88. data/rbi/orb/models/subscription_license_allocation_reset_webhook_event.rbi +6 -12
  89. data/rbi/orb/models/subscription_license_balance_threshold_reached_webhook_event.rbi +6 -12
  90. data/rbi/orb/models/webhook_endpoint.rbi +39 -0
  91. data/rbi/orb/models/webhook_endpoint_create_params.rbi +51 -0
  92. data/rbi/orb/models/webhook_endpoint_update_params.rbi +51 -0
  93. data/rbi/orb/models/webhook_endpoint_with_secret.rbi +50 -0
  94. data/rbi/orb/models/webhooks/invoice_accounting_sync_failed_standard_webhook_event.rbi +6 -3
  95. data/rbi/orb/models/webhooks/invoice_accounting_sync_succeeded_standard_webhook_event.rbi +6 -3
  96. data/rbi/orb/models/webhooks/invoice_dunning_schedule_created_standard_webhook_event.rbi +6 -3
  97. data/rbi/orb/models/webhooks/invoice_dunning_schedule_ended_standard_webhook_event.rbi +6 -3
  98. data/rbi/orb/models/webhooks/invoice_dunning_schedule_reset_standard_webhook_event.rbi +6 -3
  99. data/rbi/orb/models/webhooks/invoice_dunning_schedule_step_executed_standard_webhook_event.rbi +6 -3
  100. data/rbi/orb/models/webhooks/invoice_edited_standard_webhook_event.rbi +6 -3
  101. data/rbi/orb/models/webhooks/invoice_issue_failed_standard_webhook_event.rbi +6 -3
  102. data/rbi/orb/models/webhooks/invoice_issued_standard_webhook_event.rbi +6 -3
  103. data/rbi/orb/models/webhooks/invoice_issued_summary_standard_webhook_event.rbi +6 -3
  104. data/rbi/orb/models/webhooks/invoice_manually_marked_as_paid_standard_webhook_event.rbi +6 -3
  105. data/rbi/orb/models/webhooks/invoice_manually_marked_as_void_standard_webhook_event.rbi +6 -3
  106. data/rbi/orb/models/webhooks/invoice_payment_failed_standard_webhook_event.rbi +6 -3
  107. data/rbi/orb/models/webhooks/invoice_payment_processing_standard_webhook_event.rbi +6 -3
  108. data/rbi/orb/models/webhooks/invoice_payment_succeeded_standard_webhook_event.rbi +6 -3
  109. data/rbi/orb/models/webhooks/invoice_sync_failed_standard_webhook_event.rbi +6 -3
  110. data/rbi/orb/models/webhooks/invoice_sync_succeeded_standard_webhook_event.rbi +6 -3
  111. data/rbi/orb/models/webhooks/invoice_undo_mark_as_paid_standard_webhook_event.rbi +6 -3
  112. data/rbi/orb/models/webhooks/sales_order_accounting_sync_failed_standard_webhook_event.rbi +6 -3
  113. data/rbi/orb/models/webhooks/sales_order_accounting_sync_succeeded_standard_webhook_event.rbi +6 -3
  114. data/rbi/orb/models/webhooks/subscription_accounting_sync_failed_standard_webhook_event.rbi +12 -9
  115. data/rbi/orb/models/webhooks/subscription_accounting_sync_succeeded_standard_webhook_event.rbi +12 -9
  116. data/rbi/orb/models/webhooks/subscription_alert_disabled_standard_webhook_event.rbi +6 -12
  117. data/rbi/orb/models/webhooks/subscription_cancellation_scheduled_standard_webhook_event.rbi +12 -9
  118. data/rbi/orb/models/webhooks/subscription_cancellation_unscheduled_standard_webhook_event.rbi +12 -9
  119. data/rbi/orb/models/webhooks/subscription_cost_exceeded_standard_webhook_event.rbi +12 -9
  120. data/rbi/orb/models/webhooks/subscription_created_standard_webhook_event.rbi +12 -9
  121. data/rbi/orb/models/webhooks/subscription_edited_standard_webhook_event.rbi +12 -9
  122. data/rbi/orb/models/webhooks/subscription_ended_standard_webhook_event.rbi +12 -9
  123. data/rbi/orb/models/webhooks/subscription_fixed_fee_quantity_updated_standard_webhook_event.rbi +12 -9
  124. data/rbi/orb/models/webhooks/subscription_grouped_cost_exceeded_standard_webhook_event.rbi +6 -12
  125. data/rbi/orb/models/webhooks/subscription_invoicing_threshold_exceeded_standard_webhook_event.rbi +6 -12
  126. data/rbi/orb/models/webhooks/subscription_license_allocation_reset_standard_webhook_event.rbi +6 -12
  127. data/rbi/orb/models/webhooks/subscription_license_balance_threshold_reached_standard_webhook_event.rbi +6 -12
  128. data/rbi/orb/models/webhooks/subscription_plan_change_scheduled_standard_webhook_event.rbi +12 -9
  129. data/rbi/orb/models/webhooks/subscription_plan_changed_standard_webhook_event.rbi +12 -9
  130. data/rbi/orb/models/webhooks/subscription_plan_version_change_scheduled_standard_webhook_event.rbi +12 -9
  131. data/rbi/orb/models/webhooks/subscription_plan_version_changed_standard_webhook_event.rbi +12 -9
  132. data/rbi/orb/models/webhooks/subscription_spend_exceeded_standard_webhook_event.rbi +12 -9
  133. data/rbi/orb/models/webhooks/subscription_started_standard_webhook_event.rbi +12 -9
  134. data/rbi/orb/models/webhooks/subscription_trial_ended_standard_webhook_event.rbi +12 -9
  135. data/rbi/orb/models/webhooks/subscription_usage_exceeded_standard_webhook_event.rbi +12 -9
  136. data/rbi/orb/models.rbi +6 -0
  137. data/rbi/orb/resources/credit_blocks.rbi +26 -0
  138. data/rbi/orb/resources/metrics.rbi +44 -3
  139. data/rbi/orb/resources/plans/external_plan_id.rbi +6 -2
  140. data/rbi/orb/resources/plans.rbi +6 -2
  141. data/rbi/orb/resources/webhook_endpoints.rbi +10 -0
  142. data/sig/orb/models/credit_block_update_params.rbs +28 -0
  143. data/sig/orb/models/credit_block_update_response.rbs +263 -0
  144. data/sig/orb/models/metric_archive_params.rbs +23 -0
  145. data/sig/orb/models/metric_list_params.rbs +18 -1
  146. data/sig/orb/models/metric_unarchive_params.rbs +23 -0
  147. data/sig/orb/models/metric_update_params.rbs +14 -1
  148. data/sig/orb/models/plan_update_params.rbs +6 -1
  149. data/sig/orb/models/plans/external_plan_id_update_params.rbs +6 -1
  150. data/sig/orb/models/webhook_endpoint.rbs +16 -0
  151. data/sig/orb/models/webhook_endpoint_create_params.rbs +20 -1
  152. data/sig/orb/models/webhook_endpoint_update_params.rbs +16 -0
  153. data/sig/orb/models/webhook_endpoint_with_secret.rbs +16 -0
  154. data/sig/orb/models.rbs +6 -0
  155. data/sig/orb/resources/credit_blocks.rbs +6 -0
  156. data/sig/orb/resources/metrics.rbs +13 -0
  157. data/sig/orb/resources/plans/external_plan_id.rbs +1 -0
  158. data/sig/orb/resources/plans.rbs +1 -0
  159. data/sig/orb/resources/webhook_endpoints.rbs +2 -0
  160. metadata +13 -1
@@ -19,6 +19,15 @@ module Orb
19
19
  sig { returns(T.nilable(T::Array[String])) }
20
20
  attr_accessor :enabled_event_types
21
21
 
22
+ # The payload style of the webhook events sent to this endpoint. Applies to events
23
+ # created after the change; omit to leave it unchanged.
24
+ sig do
25
+ returns(
26
+ T.nilable(Orb::WebhookEndpointUpdateParams::PayloadStyle::OrSymbol)
27
+ )
28
+ end
29
+ attr_accessor :payload_style
30
+
22
31
  # The HTTPS URL that Orb sends webhook events to.
23
32
  sig { returns(T.nilable(String)) }
24
33
  attr_accessor :url
@@ -27,6 +36,8 @@ module Orb
27
36
  params(
28
37
  webhook_endpoint_id: String,
29
38
  enabled_event_types: T.nilable(T::Array[String]),
39
+ payload_style:
40
+ T.nilable(Orb::WebhookEndpointUpdateParams::PayloadStyle::OrSymbol),
30
41
  url: T.nilable(String),
31
42
  request_options: Orb::RequestOptions::OrHash
32
43
  ).returns(T.attached_class)
@@ -36,6 +47,9 @@ module Orb
36
47
  # The webhook event types to send to this endpoint. Null sends all event types;
37
48
  # omit to leave them unchanged.
38
49
  enabled_event_types: nil,
50
+ # The payload style of the webhook events sent to this endpoint. Applies to events
51
+ # created after the change; omit to leave it unchanged.
52
+ payload_style: nil,
39
53
  # The HTTPS URL that Orb sends webhook events to.
40
54
  url: nil,
41
55
  request_options: {}
@@ -47,6 +61,10 @@ module Orb
47
61
  {
48
62
  webhook_endpoint_id: String,
49
63
  enabled_event_types: T.nilable(T::Array[String]),
64
+ payload_style:
65
+ T.nilable(
66
+ Orb::WebhookEndpointUpdateParams::PayloadStyle::OrSymbol
67
+ ),
50
68
  url: T.nilable(String),
51
69
  request_options: Orb::RequestOptions
52
70
  }
@@ -54,6 +72,39 @@ module Orb
54
72
  end
55
73
  def to_hash
56
74
  end
75
+
76
+ # The payload style of the webhook events sent to this endpoint. Applies to events
77
+ # created after the change; omit to leave it unchanged.
78
+ module PayloadStyle
79
+ extend Orb::Internal::Type::Enum
80
+
81
+ TaggedSymbol =
82
+ T.type_alias do
83
+ T.all(Symbol, Orb::WebhookEndpointUpdateParams::PayloadStyle)
84
+ end
85
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
86
+
87
+ EXPANDED =
88
+ T.let(
89
+ :expanded,
90
+ Orb::WebhookEndpointUpdateParams::PayloadStyle::TaggedSymbol
91
+ )
92
+ STANDARD =
93
+ T.let(
94
+ :standard,
95
+ Orb::WebhookEndpointUpdateParams::PayloadStyle::TaggedSymbol
96
+ )
97
+
98
+ sig do
99
+ override.returns(
100
+ T::Array[
101
+ Orb::WebhookEndpointUpdateParams::PayloadStyle::TaggedSymbol
102
+ ]
103
+ )
104
+ end
105
+ def self.values
106
+ end
107
+ end
57
108
  end
58
109
  end
59
110
  end
@@ -25,6 +25,15 @@ module Orb
25
25
  sig { returns(T.nilable(T::Array[String])) }
26
26
  attr_accessor :enabled_event_types
27
27
 
28
+ # The payload style of the webhook events sent to this endpoint. `standard`
29
+ # payloads include each object's own fields and references to related objects,
30
+ # without invoice line items or subscription price intervals. `expanded` payloads
31
+ # include every object fully expanded.
32
+ sig do
33
+ returns(Orb::WebhookEndpointWithSecret::PayloadStyle::TaggedSymbol)
34
+ end
35
+ attr_accessor :payload_style
36
+
28
37
  # The secret used to sign the webhook events sent to this endpoint. Only returned
29
38
  # when the endpoint is created.
30
39
  sig { returns(String) }
@@ -42,6 +51,7 @@ module Orb
42
51
  created_at: Time,
43
52
  enabled: T::Boolean,
44
53
  enabled_event_types: T.nilable(T::Array[String]),
54
+ payload_style: Orb::WebhookEndpointWithSecret::PayloadStyle::OrSymbol,
45
55
  secret: String,
46
56
  url: String
47
57
  ).returns(T.attached_class)
@@ -56,6 +66,11 @@ module Orb
56
66
  # The webhook event types sent to this endpoint. If null, all event types are
57
67
  # sent.
58
68
  enabled_event_types:,
69
+ # The payload style of the webhook events sent to this endpoint. `standard`
70
+ # payloads include each object's own fields and references to related objects,
71
+ # without invoice line items or subscription price intervals. `expanded` payloads
72
+ # include every object fully expanded.
73
+ payload_style:,
59
74
  # The secret used to sign the webhook events sent to this endpoint. Only returned
60
75
  # when the endpoint is created.
61
76
  secret:,
@@ -71,6 +86,8 @@ module Orb
71
86
  created_at: Time,
72
87
  enabled: T::Boolean,
73
88
  enabled_event_types: T.nilable(T::Array[String]),
89
+ payload_style:
90
+ Orb::WebhookEndpointWithSecret::PayloadStyle::TaggedSymbol,
74
91
  secret: String,
75
92
  url: String
76
93
  }
@@ -78,6 +95,39 @@ module Orb
78
95
  end
79
96
  def to_hash
80
97
  end
98
+
99
+ # The payload style of the webhook events sent to this endpoint. `standard`
100
+ # payloads include each object's own fields and references to related objects,
101
+ # without invoice line items or subscription price intervals. `expanded` payloads
102
+ # include every object fully expanded.
103
+ module PayloadStyle
104
+ extend Orb::Internal::Type::Enum
105
+
106
+ TaggedSymbol =
107
+ T.type_alias do
108
+ T.all(Symbol, Orb::WebhookEndpointWithSecret::PayloadStyle)
109
+ end
110
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
111
+
112
+ EXPANDED =
113
+ T.let(
114
+ :expanded,
115
+ Orb::WebhookEndpointWithSecret::PayloadStyle::TaggedSymbol
116
+ )
117
+ STANDARD =
118
+ T.let(
119
+ :standard,
120
+ Orb::WebhookEndpointWithSecret::PayloadStyle::TaggedSymbol
121
+ )
122
+
123
+ sig do
124
+ override.returns(
125
+ T::Array[Orb::WebhookEndpointWithSecret::PayloadStyle::TaggedSymbol]
126
+ )
127
+ end
128
+ def self.values
129
+ end
130
+ end
81
131
  end
82
132
  end
83
133
  end
@@ -35,7 +35,8 @@ module Orb
35
35
  sig { returns(Time) }
36
36
  attr_accessor :created_at
37
37
 
38
- # #InvoiceApiResourceWithoutLineItems
38
+ # An invoice without its line items, subtotal, discounts, minimums or maximums.
39
+ # Fetch the invoice for those.
39
40
  sig do
40
41
  returns(
41
42
  Orb::Webhooks::InvoiceAccountingSyncFailedStandardWebhookEvent::Invoice
@@ -106,7 +107,8 @@ module Orb
106
107
  accounting_sync_record:,
107
108
  # The time at which this event was created, to the second.
108
109
  created_at:,
109
- # #InvoiceApiResourceWithoutLineItems
110
+ # An invoice without its line items, subtotal, discounts, minimums or maximums.
111
+ # Fetch the invoice for those.
110
112
  invoice:,
111
113
  # The serialization style this payload was rendered in, as configured on the
112
114
  # endpoint.
@@ -653,7 +655,8 @@ module Orb
653
655
  sig { returns(T::Boolean) }
654
656
  attr_accessor :will_auto_issue
655
657
 
656
- # #InvoiceApiResourceWithoutLineItems
658
+ # An invoice without its line items, subtotal, discounts, minimums or maximums.
659
+ # Fetch the invoice for those.
657
660
  sig do
658
661
  params(
659
662
  id: String,
@@ -35,7 +35,8 @@ module Orb
35
35
  sig { returns(Time) }
36
36
  attr_accessor :created_at
37
37
 
38
- # #InvoiceApiResourceWithoutLineItems
38
+ # An invoice without its line items, subtotal, discounts, minimums or maximums.
39
+ # Fetch the invoice for those.
39
40
  sig do
40
41
  returns(
41
42
  Orb::Webhooks::InvoiceAccountingSyncSucceededStandardWebhookEvent::Invoice
@@ -106,7 +107,8 @@ module Orb
106
107
  accounting_sync_record:,
107
108
  # The time at which this event was created, to the second.
108
109
  created_at:,
109
- # #InvoiceApiResourceWithoutLineItems
110
+ # An invoice without its line items, subtotal, discounts, minimums or maximums.
111
+ # Fetch the invoice for those.
110
112
  invoice:,
111
113
  # The serialization style this payload was rendered in, as configured on the
112
114
  # endpoint.
@@ -653,7 +655,8 @@ module Orb
653
655
  sig { returns(T::Boolean) }
654
656
  attr_accessor :will_auto_issue
655
657
 
656
- # #InvoiceApiResourceWithoutLineItems
658
+ # An invoice without its line items, subtotal, discounts, minimums or maximums.
659
+ # Fetch the invoice for those.
657
660
  sig do
658
661
  params(
659
662
  id: String,
@@ -20,7 +20,8 @@ module Orb
20
20
  sig { returns(Time) }
21
21
  attr_accessor :created_at
22
22
 
23
- # #InvoiceApiResourceWithoutLineItems
23
+ # An invoice without its line items, subtotal, discounts, minimums or maximums.
24
+ # Fetch the invoice for those.
24
25
  sig do
25
26
  returns(
26
27
  Orb::Webhooks::InvoiceDunningScheduleCreatedStandardWebhookEvent::Invoice
@@ -88,7 +89,8 @@ module Orb
88
89
  id:,
89
90
  # The time at which this event was created, to the second.
90
91
  created_at:,
91
- # #InvoiceApiResourceWithoutLineItems
92
+ # An invoice without its line items, subtotal, discounts, minimums or maximums.
93
+ # Fetch the invoice for those.
92
94
  invoice:,
93
95
  # The serialization style this payload was rendered in, as configured on the
94
96
  # endpoint.
@@ -488,7 +490,8 @@ module Orb
488
490
  sig { returns(T::Boolean) }
489
491
  attr_accessor :will_auto_issue
490
492
 
491
- # #InvoiceApiResourceWithoutLineItems
493
+ # An invoice without its line items, subtotal, discounts, minimums or maximums.
494
+ # Fetch the invoice for those.
492
495
  sig do
493
496
  params(
494
497
  id: String,
@@ -20,7 +20,8 @@ module Orb
20
20
  sig { returns(Time) }
21
21
  attr_accessor :created_at
22
22
 
23
- # #InvoiceApiResourceWithoutLineItems
23
+ # An invoice without its line items, subtotal, discounts, minimums or maximums.
24
+ # Fetch the invoice for those.
24
25
  sig do
25
26
  returns(
26
27
  Orb::Webhooks::InvoiceDunningScheduleEndedStandardWebhookEvent::Invoice
@@ -88,7 +89,8 @@ module Orb
88
89
  id:,
89
90
  # The time at which this event was created, to the second.
90
91
  created_at:,
91
- # #InvoiceApiResourceWithoutLineItems
92
+ # An invoice without its line items, subtotal, discounts, minimums or maximums.
93
+ # Fetch the invoice for those.
92
94
  invoice:,
93
95
  # The serialization style this payload was rendered in, as configured on the
94
96
  # endpoint.
@@ -488,7 +490,8 @@ module Orb
488
490
  sig { returns(T::Boolean) }
489
491
  attr_accessor :will_auto_issue
490
492
 
491
- # #InvoiceApiResourceWithoutLineItems
493
+ # An invoice without its line items, subtotal, discounts, minimums or maximums.
494
+ # Fetch the invoice for those.
492
495
  sig do
493
496
  params(
494
497
  id: String,
@@ -20,7 +20,8 @@ module Orb
20
20
  sig { returns(Time) }
21
21
  attr_accessor :created_at
22
22
 
23
- # #InvoiceApiResourceWithoutLineItems
23
+ # An invoice without its line items, subtotal, discounts, minimums or maximums.
24
+ # Fetch the invoice for those.
24
25
  sig do
25
26
  returns(
26
27
  Orb::Webhooks::InvoiceDunningScheduleResetStandardWebhookEvent::Invoice
@@ -88,7 +89,8 @@ module Orb
88
89
  id:,
89
90
  # The time at which this event was created, to the second.
90
91
  created_at:,
91
- # #InvoiceApiResourceWithoutLineItems
92
+ # An invoice without its line items, subtotal, discounts, minimums or maximums.
93
+ # Fetch the invoice for those.
92
94
  invoice:,
93
95
  # The serialization style this payload was rendered in, as configured on the
94
96
  # endpoint.
@@ -488,7 +490,8 @@ module Orb
488
490
  sig { returns(T::Boolean) }
489
491
  attr_accessor :will_auto_issue
490
492
 
491
- # #InvoiceApiResourceWithoutLineItems
493
+ # An invoice without its line items, subtotal, discounts, minimums or maximums.
494
+ # Fetch the invoice for those.
492
495
  sig do
493
496
  params(
494
497
  id: String,
@@ -20,7 +20,8 @@ module Orb
20
20
  sig { returns(Time) }
21
21
  attr_accessor :created_at
22
22
 
23
- # #InvoiceApiResourceWithoutLineItems
23
+ # An invoice without its line items, subtotal, discounts, minimums or maximums.
24
+ # Fetch the invoice for those.
24
25
  sig do
25
26
  returns(
26
27
  Orb::Webhooks::InvoiceDunningScheduleStepExecutedStandardWebhookEvent::Invoice
@@ -88,7 +89,8 @@ module Orb
88
89
  id:,
89
90
  # The time at which this event was created, to the second.
90
91
  created_at:,
91
- # #InvoiceApiResourceWithoutLineItems
92
+ # An invoice without its line items, subtotal, discounts, minimums or maximums.
93
+ # Fetch the invoice for those.
92
94
  invoice:,
93
95
  # The serialization style this payload was rendered in, as configured on the
94
96
  # endpoint.
@@ -488,7 +490,8 @@ module Orb
488
490
  sig { returns(T::Boolean) }
489
491
  attr_accessor :will_auto_issue
490
492
 
491
- # #InvoiceApiResourceWithoutLineItems
493
+ # An invoice without its line items, subtotal, discounts, minimums or maximums.
494
+ # Fetch the invoice for those.
492
495
  sig do
493
496
  params(
494
497
  id: String,
@@ -20,7 +20,8 @@ module Orb
20
20
  sig { returns(Time) }
21
21
  attr_accessor :created_at
22
22
 
23
- # #InvoiceApiResourceWithoutLineItems
23
+ # An invoice without its line items, subtotal, discounts, minimums or maximums.
24
+ # Fetch the invoice for those.
24
25
  sig do
25
26
  returns(Orb::Webhooks::InvoiceEditedStandardWebhookEvent::Invoice)
26
27
  end
@@ -84,7 +85,8 @@ module Orb
84
85
  id:,
85
86
  # The time at which this event was created, to the second.
86
87
  created_at:,
87
- # #InvoiceApiResourceWithoutLineItems
88
+ # An invoice without its line items, subtotal, discounts, minimums or maximums.
89
+ # Fetch the invoice for those.
88
90
  invoice:,
89
91
  # The serialization style this payload was rendered in, as configured on the
90
92
  # endpoint.
@@ -484,7 +486,8 @@ module Orb
484
486
  sig { returns(T::Boolean) }
485
487
  attr_accessor :will_auto_issue
486
488
 
487
- # #InvoiceApiResourceWithoutLineItems
489
+ # An invoice without its line items, subtotal, discounts, minimums or maximums.
490
+ # Fetch the invoice for those.
488
491
  sig do
489
492
  params(
490
493
  id: String,
@@ -20,7 +20,8 @@ module Orb
20
20
  sig { returns(Time) }
21
21
  attr_accessor :created_at
22
22
 
23
- # #InvoiceApiResourceWithoutLineItems
23
+ # An invoice without its line items, subtotal, discounts, minimums or maximums.
24
+ # Fetch the invoice for those.
24
25
  sig do
25
26
  returns(
26
27
  Orb::Webhooks::InvoiceIssueFailedStandardWebhookEvent::Invoice
@@ -88,7 +89,8 @@ module Orb
88
89
  id:,
89
90
  # The time at which this event was created, to the second.
90
91
  created_at:,
91
- # #InvoiceApiResourceWithoutLineItems
92
+ # An invoice without its line items, subtotal, discounts, minimums or maximums.
93
+ # Fetch the invoice for those.
92
94
  invoice:,
93
95
  # The serialization style this payload was rendered in, as configured on the
94
96
  # endpoint.
@@ -488,7 +490,8 @@ module Orb
488
490
  sig { returns(T::Boolean) }
489
491
  attr_accessor :will_auto_issue
490
492
 
491
- # #InvoiceApiResourceWithoutLineItems
493
+ # An invoice without its line items, subtotal, discounts, minimums or maximums.
494
+ # Fetch the invoice for those.
492
495
  sig do
493
496
  params(
494
497
  id: String,
@@ -20,7 +20,8 @@ module Orb
20
20
  sig { returns(Time) }
21
21
  attr_accessor :created_at
22
22
 
23
- # #InvoiceApiResourceWithoutLineItems
23
+ # An invoice without its line items, subtotal, discounts, minimums or maximums.
24
+ # Fetch the invoice for those.
24
25
  sig do
25
26
  returns(Orb::Webhooks::InvoiceIssuedStandardWebhookEvent::Invoice)
26
27
  end
@@ -84,7 +85,8 @@ module Orb
84
85
  id:,
85
86
  # The time at which this event was created, to the second.
86
87
  created_at:,
87
- # #InvoiceApiResourceWithoutLineItems
88
+ # An invoice without its line items, subtotal, discounts, minimums or maximums.
89
+ # Fetch the invoice for those.
88
90
  invoice:,
89
91
  # The serialization style this payload was rendered in, as configured on the
90
92
  # endpoint.
@@ -484,7 +486,8 @@ module Orb
484
486
  sig { returns(T::Boolean) }
485
487
  attr_accessor :will_auto_issue
486
488
 
487
- # #InvoiceApiResourceWithoutLineItems
489
+ # An invoice without its line items, subtotal, discounts, minimums or maximums.
490
+ # Fetch the invoice for those.
488
491
  sig do
489
492
  params(
490
493
  id: String,
@@ -20,7 +20,8 @@ module Orb
20
20
  sig { returns(Time) }
21
21
  attr_accessor :created_at
22
22
 
23
- # #InvoiceApiResourceWithoutLineItems
23
+ # An invoice without its line items, subtotal, discounts, minimums or maximums.
24
+ # Fetch the invoice for those.
24
25
  sig do
25
26
  returns(
26
27
  Orb::Webhooks::InvoiceIssuedSummaryStandardWebhookEvent::Invoice
@@ -89,7 +90,8 @@ module Orb
89
90
  id:,
90
91
  # The time at which this event was created, to the second.
91
92
  created_at:,
92
- # #InvoiceApiResourceWithoutLineItems
93
+ # An invoice without its line items, subtotal, discounts, minimums or maximums.
94
+ # Fetch the invoice for those.
93
95
  invoice:,
94
96
  # The serialization style this payload was rendered in, as configured on the
95
97
  # endpoint.
@@ -489,7 +491,8 @@ module Orb
489
491
  sig { returns(T::Boolean) }
490
492
  attr_accessor :will_auto_issue
491
493
 
492
- # #InvoiceApiResourceWithoutLineItems
494
+ # An invoice without its line items, subtotal, discounts, minimums or maximums.
495
+ # Fetch the invoice for those.
493
496
  sig do
494
497
  params(
495
498
  id: String,
@@ -20,7 +20,8 @@ module Orb
20
20
  sig { returns(Time) }
21
21
  attr_accessor :created_at
22
22
 
23
- # #InvoiceApiResourceWithoutLineItems
23
+ # An invoice without its line items, subtotal, discounts, minimums or maximums.
24
+ # Fetch the invoice for those.
24
25
  sig do
25
26
  returns(
26
27
  Orb::Webhooks::InvoiceManuallyMarkedAsPaidStandardWebhookEvent::Invoice
@@ -88,7 +89,8 @@ module Orb
88
89
  id:,
89
90
  # The time at which this event was created, to the second.
90
91
  created_at:,
91
- # #InvoiceApiResourceWithoutLineItems
92
+ # An invoice without its line items, subtotal, discounts, minimums or maximums.
93
+ # Fetch the invoice for those.
92
94
  invoice:,
93
95
  # The serialization style this payload was rendered in, as configured on the
94
96
  # endpoint.
@@ -488,7 +490,8 @@ module Orb
488
490
  sig { returns(T::Boolean) }
489
491
  attr_accessor :will_auto_issue
490
492
 
491
- # #InvoiceApiResourceWithoutLineItems
493
+ # An invoice without its line items, subtotal, discounts, minimums or maximums.
494
+ # Fetch the invoice for those.
492
495
  sig do
493
496
  params(
494
497
  id: String,
@@ -20,7 +20,8 @@ module Orb
20
20
  sig { returns(Time) }
21
21
  attr_accessor :created_at
22
22
 
23
- # #InvoiceApiResourceWithoutLineItems
23
+ # An invoice without its line items, subtotal, discounts, minimums or maximums.
24
+ # Fetch the invoice for those.
24
25
  sig do
25
26
  returns(
26
27
  Orb::Webhooks::InvoiceManuallyMarkedAsVoidStandardWebhookEvent::Invoice
@@ -75,7 +76,8 @@ module Orb
75
76
  id:,
76
77
  # The time at which this event was created, to the second.
77
78
  created_at:,
78
- # #InvoiceApiResourceWithoutLineItems
79
+ # An invoice without its line items, subtotal, discounts, minimums or maximums.
80
+ # Fetch the invoice for those.
79
81
  invoice:,
80
82
  # The serialization style this payload was rendered in, as configured on the
81
83
  # endpoint.
@@ -474,7 +476,8 @@ module Orb
474
476
  sig { returns(T::Boolean) }
475
477
  attr_accessor :will_auto_issue
476
478
 
477
- # #InvoiceApiResourceWithoutLineItems
479
+ # An invoice without its line items, subtotal, discounts, minimums or maximums.
480
+ # Fetch the invoice for those.
478
481
  sig do
479
482
  params(
480
483
  id: String,
@@ -20,7 +20,8 @@ module Orb
20
20
  sig { returns(Time) }
21
21
  attr_accessor :created_at
22
22
 
23
- # #InvoiceApiResourceWithoutLineItems
23
+ # An invoice without its line items, subtotal, discounts, minimums or maximums.
24
+ # Fetch the invoice for those.
24
25
  sig do
25
26
  returns(
26
27
  Orb::Webhooks::InvoicePaymentFailedStandardWebhookEvent::Invoice
@@ -89,7 +90,8 @@ module Orb
89
90
  id:,
90
91
  # The time at which this event was created, to the second.
91
92
  created_at:,
92
- # #InvoiceApiResourceWithoutLineItems
93
+ # An invoice without its line items, subtotal, discounts, minimums or maximums.
94
+ # Fetch the invoice for those.
93
95
  invoice:,
94
96
  # The serialization style this payload was rendered in, as configured on the
95
97
  # endpoint.
@@ -489,7 +491,8 @@ module Orb
489
491
  sig { returns(T::Boolean) }
490
492
  attr_accessor :will_auto_issue
491
493
 
492
- # #InvoiceApiResourceWithoutLineItems
494
+ # An invoice without its line items, subtotal, discounts, minimums or maximums.
495
+ # Fetch the invoice for those.
493
496
  sig do
494
497
  params(
495
498
  id: String,
@@ -20,7 +20,8 @@ module Orb
20
20
  sig { returns(Time) }
21
21
  attr_accessor :created_at
22
22
 
23
- # #InvoiceApiResourceWithoutLineItems
23
+ # An invoice without its line items, subtotal, discounts, minimums or maximums.
24
+ # Fetch the invoice for those.
24
25
  sig do
25
26
  returns(
26
27
  Orb::Webhooks::InvoicePaymentProcessingStandardWebhookEvent::Invoice
@@ -88,7 +89,8 @@ module Orb
88
89
  id:,
89
90
  # The time at which this event was created, to the second.
90
91
  created_at:,
91
- # #InvoiceApiResourceWithoutLineItems
92
+ # An invoice without its line items, subtotal, discounts, minimums or maximums.
93
+ # Fetch the invoice for those.
92
94
  invoice:,
93
95
  # The serialization style this payload was rendered in, as configured on the
94
96
  # endpoint.
@@ -488,7 +490,8 @@ module Orb
488
490
  sig { returns(T::Boolean) }
489
491
  attr_accessor :will_auto_issue
490
492
 
491
- # #InvoiceApiResourceWithoutLineItems
493
+ # An invoice without its line items, subtotal, discounts, minimums or maximums.
494
+ # Fetch the invoice for those.
492
495
  sig do
493
496
  params(
494
497
  id: String,
@@ -20,7 +20,8 @@ module Orb
20
20
  sig { returns(Time) }
21
21
  attr_accessor :created_at
22
22
 
23
- # #InvoiceApiResourceWithoutLineItems
23
+ # An invoice without its line items, subtotal, discounts, minimums or maximums.
24
+ # Fetch the invoice for those.
24
25
  sig do
25
26
  returns(
26
27
  Orb::Webhooks::InvoicePaymentSucceededStandardWebhookEvent::Invoice
@@ -90,7 +91,8 @@ module Orb
90
91
  id:,
91
92
  # The time at which this event was created, to the second.
92
93
  created_at:,
93
- # #InvoiceApiResourceWithoutLineItems
94
+ # An invoice without its line items, subtotal, discounts, minimums or maximums.
95
+ # Fetch the invoice for those.
94
96
  invoice:,
95
97
  # The serialization style this payload was rendered in, as configured on the
96
98
  # endpoint.
@@ -491,7 +493,8 @@ module Orb
491
493
  sig { returns(T::Boolean) }
492
494
  attr_accessor :will_auto_issue
493
495
 
494
- # #InvoiceApiResourceWithoutLineItems
496
+ # An invoice without its line items, subtotal, discounts, minimums or maximums.
497
+ # Fetch the invoice for those.
495
498
  sig do
496
499
  params(
497
500
  id: String,
@@ -20,7 +20,8 @@ module Orb
20
20
  sig { returns(Time) }
21
21
  attr_accessor :created_at
22
22
 
23
- # #InvoiceApiResourceWithoutLineItems
23
+ # An invoice without its line items, subtotal, discounts, minimums or maximums.
24
+ # Fetch the invoice for those.
24
25
  sig do
25
26
  returns(Orb::Webhooks::InvoiceSyncFailedStandardWebhookEvent::Invoice)
26
27
  end
@@ -86,7 +87,8 @@ module Orb
86
87
  id:,
87
88
  # The time at which this event was created, to the second.
88
89
  created_at:,
89
- # #InvoiceApiResourceWithoutLineItems
90
+ # An invoice without its line items, subtotal, discounts, minimums or maximums.
91
+ # Fetch the invoice for those.
90
92
  invoice:,
91
93
  # The serialization style this payload was rendered in, as configured on the
92
94
  # endpoint.
@@ -486,7 +488,8 @@ module Orb
486
488
  sig { returns(T::Boolean) }
487
489
  attr_accessor :will_auto_issue
488
490
 
489
- # #InvoiceApiResourceWithoutLineItems
491
+ # An invoice without its line items, subtotal, discounts, minimums or maximums.
492
+ # Fetch the invoice for those.
490
493
  sig do
491
494
  params(
492
495
  id: String,