orb-billing 1.47.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 (61) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +7 -0
  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/metric_archive_params.rb +20 -0
  7. data/lib/orb/models/metric_unarchive_params.rb +20 -0
  8. data/lib/orb/models/webhooks/subscription_accounting_sync_failed_standard_webhook_event.rb +9 -7
  9. data/lib/orb/models/webhooks/subscription_accounting_sync_succeeded_standard_webhook_event.rb +9 -7
  10. data/lib/orb/models/webhooks/subscription_cancellation_scheduled_standard_webhook_event.rb +9 -7
  11. data/lib/orb/models/webhooks/subscription_cancellation_unscheduled_standard_webhook_event.rb +9 -7
  12. data/lib/orb/models/webhooks/subscription_cost_exceeded_standard_webhook_event.rb +9 -7
  13. data/lib/orb/models/webhooks/subscription_created_standard_webhook_event.rb +9 -7
  14. data/lib/orb/models/webhooks/subscription_edited_standard_webhook_event.rb +9 -7
  15. data/lib/orb/models/webhooks/subscription_ended_standard_webhook_event.rb +9 -7
  16. data/lib/orb/models/webhooks/subscription_fixed_fee_quantity_updated_standard_webhook_event.rb +9 -7
  17. data/lib/orb/models/webhooks/subscription_plan_change_scheduled_standard_webhook_event.rb +9 -7
  18. data/lib/orb/models/webhooks/subscription_plan_changed_standard_webhook_event.rb +9 -7
  19. data/lib/orb/models/webhooks/subscription_plan_version_change_scheduled_standard_webhook_event.rb +9 -7
  20. data/lib/orb/models/webhooks/subscription_plan_version_changed_standard_webhook_event.rb +9 -7
  21. data/lib/orb/models/webhooks/subscription_spend_exceeded_standard_webhook_event.rb +9 -7
  22. data/lib/orb/models/webhooks/subscription_started_standard_webhook_event.rb +9 -7
  23. data/lib/orb/models/webhooks/subscription_trial_ended_standard_webhook_event.rb +9 -7
  24. data/lib/orb/models/webhooks/subscription_usage_exceeded_standard_webhook_event.rb +9 -7
  25. data/lib/orb/models.rb +6 -0
  26. data/lib/orb/resources/credit_blocks.rb +35 -0
  27. data/lib/orb/resources/metrics.rb +46 -0
  28. data/lib/orb/version.rb +1 -1
  29. data/lib/orb.rb +4 -0
  30. data/rbi/orb/models/credit_block_update_params.rbi +53 -0
  31. data/rbi/orb/models/credit_block_update_response.rbi +693 -0
  32. data/rbi/orb/models/metric_archive_params.rbi +33 -0
  33. data/rbi/orb/models/metric_unarchive_params.rbi +35 -0
  34. data/rbi/orb/models/webhooks/subscription_accounting_sync_failed_standard_webhook_event.rbi +12 -9
  35. data/rbi/orb/models/webhooks/subscription_accounting_sync_succeeded_standard_webhook_event.rbi +12 -9
  36. data/rbi/orb/models/webhooks/subscription_cancellation_scheduled_standard_webhook_event.rbi +12 -9
  37. data/rbi/orb/models/webhooks/subscription_cancellation_unscheduled_standard_webhook_event.rbi +12 -9
  38. data/rbi/orb/models/webhooks/subscription_cost_exceeded_standard_webhook_event.rbi +12 -9
  39. data/rbi/orb/models/webhooks/subscription_created_standard_webhook_event.rbi +12 -9
  40. data/rbi/orb/models/webhooks/subscription_edited_standard_webhook_event.rbi +12 -9
  41. data/rbi/orb/models/webhooks/subscription_ended_standard_webhook_event.rbi +12 -9
  42. data/rbi/orb/models/webhooks/subscription_fixed_fee_quantity_updated_standard_webhook_event.rbi +12 -9
  43. data/rbi/orb/models/webhooks/subscription_plan_change_scheduled_standard_webhook_event.rbi +12 -9
  44. data/rbi/orb/models/webhooks/subscription_plan_changed_standard_webhook_event.rbi +12 -9
  45. data/rbi/orb/models/webhooks/subscription_plan_version_change_scheduled_standard_webhook_event.rbi +12 -9
  46. data/rbi/orb/models/webhooks/subscription_plan_version_changed_standard_webhook_event.rbi +12 -9
  47. data/rbi/orb/models/webhooks/subscription_spend_exceeded_standard_webhook_event.rbi +12 -9
  48. data/rbi/orb/models/webhooks/subscription_started_standard_webhook_event.rbi +12 -9
  49. data/rbi/orb/models/webhooks/subscription_trial_ended_standard_webhook_event.rbi +12 -9
  50. data/rbi/orb/models/webhooks/subscription_usage_exceeded_standard_webhook_event.rbi +12 -9
  51. data/rbi/orb/models.rbi +6 -0
  52. data/rbi/orb/resources/credit_blocks.rbi +26 -0
  53. data/rbi/orb/resources/metrics.rbi +28 -0
  54. data/sig/orb/models/credit_block_update_params.rbs +28 -0
  55. data/sig/orb/models/credit_block_update_response.rbs +263 -0
  56. data/sig/orb/models/metric_archive_params.rbs +23 -0
  57. data/sig/orb/models/metric_unarchive_params.rbs +23 -0
  58. data/sig/orb/models.rbs +6 -0
  59. data/sig/orb/resources/credit_blocks.rbs +6 -0
  60. data/sig/orb/resources/metrics.rbs +10 -0
  61. metadata +13 -1
@@ -0,0 +1,33 @@
1
+ # typed: strong
2
+
3
+ module Orb
4
+ module Models
5
+ class MetricArchiveParams < Orb::Internal::Type::BaseModel
6
+ extend Orb::Internal::Type::RequestParameters::Converter
7
+ include Orb::Internal::Type::RequestParameters
8
+
9
+ OrHash =
10
+ T.type_alias { T.any(Orb::MetricArchiveParams, Orb::Internal::AnyHash) }
11
+
12
+ sig { returns(String) }
13
+ attr_accessor :metric_id
14
+
15
+ sig do
16
+ params(
17
+ metric_id: String,
18
+ request_options: Orb::RequestOptions::OrHash
19
+ ).returns(T.attached_class)
20
+ end
21
+ def self.new(metric_id:, request_options: {})
22
+ end
23
+
24
+ sig do
25
+ override.returns(
26
+ { metric_id: String, request_options: Orb::RequestOptions }
27
+ )
28
+ end
29
+ def to_hash
30
+ end
31
+ end
32
+ end
33
+ end
@@ -0,0 +1,35 @@
1
+ # typed: strong
2
+
3
+ module Orb
4
+ module Models
5
+ class MetricUnarchiveParams < Orb::Internal::Type::BaseModel
6
+ extend Orb::Internal::Type::RequestParameters::Converter
7
+ include Orb::Internal::Type::RequestParameters
8
+
9
+ OrHash =
10
+ T.type_alias do
11
+ T.any(Orb::MetricUnarchiveParams, Orb::Internal::AnyHash)
12
+ end
13
+
14
+ sig { returns(String) }
15
+ attr_accessor :metric_id
16
+
17
+ sig do
18
+ params(
19
+ metric_id: String,
20
+ request_options: Orb::RequestOptions::OrHash
21
+ ).returns(T.attached_class)
22
+ end
23
+ def self.new(metric_id:, request_options: {})
24
+ end
25
+
26
+ sig do
27
+ override.returns(
28
+ { metric_id: String, request_options: Orb::RequestOptions }
29
+ )
30
+ end
31
+ def to_hash
32
+ end
33
+ end
34
+ end
35
+ end
@@ -59,9 +59,10 @@ module Orb
59
59
  end
60
60
  attr_writer :properties
61
61
 
62
- # The subscription in a standard webhook payload: its own fields, with its plan
63
- # and customer as references. Fetch the subscription for its price intervals,
64
- # billing periods, plan phases and other derived fields.
62
+ # A subscription's own fields, with its plan and customer as references, as listed
63
+ # by List subscription summaries and carried in standard webhook payloads. Fetch
64
+ # the subscription for its price intervals, billing periods, plan phases and other
65
+ # derived fields.
65
66
  sig do
66
67
  returns(
67
68
  Orb::Webhooks::SubscriptionAccountingSyncFailedStandardWebhookEvent::Subscription
@@ -112,9 +113,10 @@ module Orb
112
113
  # endpoint.
113
114
  payload_style:,
114
115
  properties:,
115
- # The subscription in a standard webhook payload: its own fields, with its plan
116
- # and customer as references. Fetch the subscription for its price intervals,
117
- # billing periods, plan phases and other derived fields.
116
+ # A subscription's own fields, with its plan and customer as references, as listed
117
+ # by List subscription summaries and carried in standard webhook payloads. Fetch
118
+ # the subscription for its price intervals, billing periods, plan phases and other
119
+ # derived fields.
118
120
  subscription:,
119
121
  # The event this payload describes.
120
122
  type:
@@ -421,9 +423,10 @@ module Orb
421
423
  end
422
424
  attr_accessor :status
423
425
 
424
- # The subscription in a standard webhook payload: its own fields, with its plan
425
- # and customer as references. Fetch the subscription for its price intervals,
426
- # billing periods, plan phases and other derived fields.
426
+ # A subscription's own fields, with its plan and customer as references, as listed
427
+ # by List subscription summaries and carried in standard webhook payloads. Fetch
428
+ # the subscription for its price intervals, billing periods, plan phases and other
429
+ # derived fields.
427
430
  sig do
428
431
  params(
429
432
  id: String,
@@ -59,9 +59,10 @@ module Orb
59
59
  end
60
60
  attr_writer :properties
61
61
 
62
- # The subscription in a standard webhook payload: its own fields, with its plan
63
- # and customer as references. Fetch the subscription for its price intervals,
64
- # billing periods, plan phases and other derived fields.
62
+ # A subscription's own fields, with its plan and customer as references, as listed
63
+ # by List subscription summaries and carried in standard webhook payloads. Fetch
64
+ # the subscription for its price intervals, billing periods, plan phases and other
65
+ # derived fields.
65
66
  sig do
66
67
  returns(
67
68
  Orb::Webhooks::SubscriptionAccountingSyncSucceededStandardWebhookEvent::Subscription
@@ -112,9 +113,10 @@ module Orb
112
113
  # endpoint.
113
114
  payload_style:,
114
115
  properties:,
115
- # The subscription in a standard webhook payload: its own fields, with its plan
116
- # and customer as references. Fetch the subscription for its price intervals,
117
- # billing periods, plan phases and other derived fields.
116
+ # A subscription's own fields, with its plan and customer as references, as listed
117
+ # by List subscription summaries and carried in standard webhook payloads. Fetch
118
+ # the subscription for its price intervals, billing periods, plan phases and other
119
+ # derived fields.
118
120
  subscription:,
119
121
  # The event this payload describes.
120
122
  type:
@@ -410,9 +412,10 @@ module Orb
410
412
  end
411
413
  attr_accessor :status
412
414
 
413
- # The subscription in a standard webhook payload: its own fields, with its plan
414
- # and customer as references. Fetch the subscription for its price intervals,
415
- # billing periods, plan phases and other derived fields.
415
+ # A subscription's own fields, with its plan and customer as references, as listed
416
+ # by List subscription summaries and carried in standard webhook payloads. Fetch
417
+ # the subscription for its price intervals, billing periods, plan phases and other
418
+ # derived fields.
416
419
  sig do
417
420
  params(
418
421
  id: String,
@@ -44,9 +44,10 @@ module Orb
44
44
  end
45
45
  attr_writer :properties
46
46
 
47
- # The subscription in a standard webhook payload: its own fields, with its plan
48
- # and customer as references. Fetch the subscription for its price intervals,
49
- # billing periods, plan phases and other derived fields.
47
+ # A subscription's own fields, with its plan and customer as references, as listed
48
+ # by List subscription summaries and carried in standard webhook payloads. Fetch
49
+ # the subscription for its price intervals, billing periods, plan phases and other
50
+ # derived fields.
50
51
  sig do
51
52
  returns(
52
53
  Orb::Webhooks::SubscriptionCancellationScheduledStandardWebhookEvent::Subscription
@@ -94,9 +95,10 @@ module Orb
94
95
  # endpoint.
95
96
  payload_style:,
96
97
  properties:,
97
- # The subscription in a standard webhook payload: its own fields, with its plan
98
- # and customer as references. Fetch the subscription for its price intervals,
99
- # billing periods, plan phases and other derived fields.
98
+ # A subscription's own fields, with its plan and customer as references, as listed
99
+ # by List subscription summaries and carried in standard webhook payloads. Fetch
100
+ # the subscription for its price intervals, billing periods, plan phases and other
101
+ # derived fields.
100
102
  subscription:,
101
103
  # The event this payload describes.
102
104
  type:
@@ -245,9 +247,10 @@ module Orb
245
247
  end
246
248
  attr_accessor :status
247
249
 
248
- # The subscription in a standard webhook payload: its own fields, with its plan
249
- # and customer as references. Fetch the subscription for its price intervals,
250
- # billing periods, plan phases and other derived fields.
250
+ # A subscription's own fields, with its plan and customer as references, as listed
251
+ # by List subscription summaries and carried in standard webhook payloads. Fetch
252
+ # the subscription for its price intervals, billing periods, plan phases and other
253
+ # derived fields.
251
254
  sig do
252
255
  params(
253
256
  id: String,
@@ -44,9 +44,10 @@ module Orb
44
44
  end
45
45
  attr_writer :properties
46
46
 
47
- # The subscription in a standard webhook payload: its own fields, with its plan
48
- # and customer as references. Fetch the subscription for its price intervals,
49
- # billing periods, plan phases and other derived fields.
47
+ # A subscription's own fields, with its plan and customer as references, as listed
48
+ # by List subscription summaries and carried in standard webhook payloads. Fetch
49
+ # the subscription for its price intervals, billing periods, plan phases and other
50
+ # derived fields.
50
51
  sig do
51
52
  returns(
52
53
  Orb::Webhooks::SubscriptionCancellationUnscheduledStandardWebhookEvent::Subscription
@@ -94,9 +95,10 @@ module Orb
94
95
  # endpoint.
95
96
  payload_style:,
96
97
  properties:,
97
- # The subscription in a standard webhook payload: its own fields, with its plan
98
- # and customer as references. Fetch the subscription for its price intervals,
99
- # billing periods, plan phases and other derived fields.
98
+ # A subscription's own fields, with its plan and customer as references, as listed
99
+ # by List subscription summaries and carried in standard webhook payloads. Fetch
100
+ # the subscription for its price intervals, billing periods, plan phases and other
101
+ # derived fields.
100
102
  subscription:,
101
103
  # The event this payload describes.
102
104
  type:
@@ -247,9 +249,10 @@ module Orb
247
249
  end
248
250
  attr_accessor :status
249
251
 
250
- # The subscription in a standard webhook payload: its own fields, with its plan
251
- # and customer as references. Fetch the subscription for its price intervals,
252
- # billing periods, plan phases and other derived fields.
252
+ # A subscription's own fields, with its plan and customer as references, as listed
253
+ # by List subscription summaries and carried in standard webhook payloads. Fetch
254
+ # the subscription for its price intervals, billing periods, plan phases and other
255
+ # derived fields.
253
256
  sig do
254
257
  params(
255
258
  id: String,
@@ -44,9 +44,10 @@ module Orb
44
44
  end
45
45
  attr_writer :properties
46
46
 
47
- # The subscription in a standard webhook payload: its own fields, with its plan
48
- # and customer as references. Fetch the subscription for its price intervals,
49
- # billing periods, plan phases and other derived fields.
47
+ # A subscription's own fields, with its plan and customer as references, as listed
48
+ # by List subscription summaries and carried in standard webhook payloads. Fetch
49
+ # the subscription for its price intervals, billing periods, plan phases and other
50
+ # derived fields.
50
51
  sig do
51
52
  returns(
52
53
  Orb::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Subscription
@@ -94,9 +95,10 @@ module Orb
94
95
  # endpoint.
95
96
  payload_style:,
96
97
  properties:,
97
- # The subscription in a standard webhook payload: its own fields, with its plan
98
- # and customer as references. Fetch the subscription for its price intervals,
99
- # billing periods, plan phases and other derived fields.
98
+ # A subscription's own fields, with its plan and customer as references, as listed
99
+ # by List subscription summaries and carried in standard webhook payloads. Fetch
100
+ # the subscription for its price intervals, billing periods, plan phases and other
101
+ # derived fields.
100
102
  subscription:,
101
103
  # The event this payload describes.
102
104
  type:
@@ -1110,9 +1112,10 @@ module Orb
1110
1112
  end
1111
1113
  attr_accessor :status
1112
1114
 
1113
- # The subscription in a standard webhook payload: its own fields, with its plan
1114
- # and customer as references. Fetch the subscription for its price intervals,
1115
- # billing periods, plan phases and other derived fields.
1115
+ # A subscription's own fields, with its plan and customer as references, as listed
1116
+ # by List subscription summaries and carried in standard webhook payloads. Fetch
1117
+ # the subscription for its price intervals, billing periods, plan phases and other
1118
+ # derived fields.
1116
1119
  sig do
1117
1120
  params(
1118
1121
  id: String,
@@ -32,9 +32,10 @@ module Orb
32
32
  sig { returns(T.anything) }
33
33
  attr_accessor :properties
34
34
 
35
- # The subscription in a standard webhook payload: its own fields, with its plan
36
- # and customer as references. Fetch the subscription for its price intervals,
37
- # billing periods, plan phases and other derived fields.
35
+ # A subscription's own fields, with its plan and customer as references, as listed
36
+ # by List subscription summaries and carried in standard webhook payloads. Fetch
37
+ # the subscription for its price intervals, billing periods, plan phases and other
38
+ # derived fields.
38
39
  sig do
39
40
  returns(
40
41
  Orb::Webhooks::SubscriptionCreatedStandardWebhookEvent::Subscription
@@ -81,9 +82,10 @@ module Orb
81
82
  # endpoint.
82
83
  payload_style:,
83
84
  properties:,
84
- # The subscription in a standard webhook payload: its own fields, with its plan
85
- # and customer as references. Fetch the subscription for its price intervals,
86
- # billing periods, plan phases and other derived fields.
85
+ # A subscription's own fields, with its plan and customer as references, as listed
86
+ # by List subscription summaries and carried in standard webhook payloads. Fetch
87
+ # the subscription for its price intervals, billing periods, plan phases and other
88
+ # derived fields.
87
89
  subscription:,
88
90
  # The event this payload describes.
89
91
  type:
@@ -210,9 +212,10 @@ module Orb
210
212
  end
211
213
  attr_accessor :status
212
214
 
213
- # The subscription in a standard webhook payload: its own fields, with its plan
214
- # and customer as references. Fetch the subscription for its price intervals,
215
- # billing periods, plan phases and other derived fields.
215
+ # A subscription's own fields, with its plan and customer as references, as listed
216
+ # by List subscription summaries and carried in standard webhook payloads. Fetch
217
+ # the subscription for its price intervals, billing periods, plan phases and other
218
+ # derived fields.
216
219
  sig do
217
220
  params(
218
221
  id: String,
@@ -44,9 +44,10 @@ module Orb
44
44
  end
45
45
  attr_writer :properties
46
46
 
47
- # The subscription in a standard webhook payload: its own fields, with its plan
48
- # and customer as references. Fetch the subscription for its price intervals,
49
- # billing periods, plan phases and other derived fields.
47
+ # A subscription's own fields, with its plan and customer as references, as listed
48
+ # by List subscription summaries and carried in standard webhook payloads. Fetch
49
+ # the subscription for its price intervals, billing periods, plan phases and other
50
+ # derived fields.
50
51
  sig do
51
52
  returns(
52
53
  Orb::Webhooks::SubscriptionEditedStandardWebhookEvent::Subscription
@@ -94,9 +95,10 @@ module Orb
94
95
  # endpoint.
95
96
  payload_style:,
96
97
  properties:,
97
- # The subscription in a standard webhook payload: its own fields, with its plan
98
- # and customer as references. Fetch the subscription for its price intervals,
99
- # billing periods, plan phases and other derived fields.
98
+ # A subscription's own fields, with its plan and customer as references, as listed
99
+ # by List subscription summaries and carried in standard webhook payloads. Fetch
100
+ # the subscription for its price intervals, billing periods, plan phases and other
101
+ # derived fields.
100
102
  subscription:,
101
103
  # The event this payload describes.
102
104
  type:
@@ -332,9 +334,10 @@ module Orb
332
334
  end
333
335
  attr_accessor :status
334
336
 
335
- # The subscription in a standard webhook payload: its own fields, with its plan
336
- # and customer as references. Fetch the subscription for its price intervals,
337
- # billing periods, plan phases and other derived fields.
337
+ # A subscription's own fields, with its plan and customer as references, as listed
338
+ # by List subscription summaries and carried in standard webhook payloads. Fetch
339
+ # the subscription for its price intervals, billing periods, plan phases and other
340
+ # derived fields.
338
341
  sig do
339
342
  params(
340
343
  id: String,
@@ -32,9 +32,10 @@ module Orb
32
32
  sig { returns(T.anything) }
33
33
  attr_accessor :properties
34
34
 
35
- # The subscription in a standard webhook payload: its own fields, with its plan
36
- # and customer as references. Fetch the subscription for its price intervals,
37
- # billing periods, plan phases and other derived fields.
35
+ # A subscription's own fields, with its plan and customer as references, as listed
36
+ # by List subscription summaries and carried in standard webhook payloads. Fetch
37
+ # the subscription for its price intervals, billing periods, plan phases and other
38
+ # derived fields.
38
39
  sig do
39
40
  returns(
40
41
  Orb::Webhooks::SubscriptionEndedStandardWebhookEvent::Subscription
@@ -81,9 +82,10 @@ module Orb
81
82
  # endpoint.
82
83
  payload_style:,
83
84
  properties:,
84
- # The subscription in a standard webhook payload: its own fields, with its plan
85
- # and customer as references. Fetch the subscription for its price intervals,
86
- # billing periods, plan phases and other derived fields.
85
+ # A subscription's own fields, with its plan and customer as references, as listed
86
+ # by List subscription summaries and carried in standard webhook payloads. Fetch
87
+ # the subscription for its price intervals, billing periods, plan phases and other
88
+ # derived fields.
87
89
  subscription:,
88
90
  # The event this payload describes.
89
91
  type:
@@ -210,9 +212,10 @@ module Orb
210
212
  end
211
213
  attr_accessor :status
212
214
 
213
- # The subscription in a standard webhook payload: its own fields, with its plan
214
- # and customer as references. Fetch the subscription for its price intervals,
215
- # billing periods, plan phases and other derived fields.
215
+ # A subscription's own fields, with its plan and customer as references, as listed
216
+ # by List subscription summaries and carried in standard webhook payloads. Fetch
217
+ # the subscription for its price intervals, billing periods, plan phases and other
218
+ # derived fields.
216
219
  sig do
217
220
  params(
218
221
  id: String,
@@ -44,9 +44,10 @@ module Orb
44
44
  end
45
45
  attr_writer :properties
46
46
 
47
- # The subscription in a standard webhook payload: its own fields, with its plan
48
- # and customer as references. Fetch the subscription for its price intervals,
49
- # billing periods, plan phases and other derived fields.
47
+ # A subscription's own fields, with its plan and customer as references, as listed
48
+ # by List subscription summaries and carried in standard webhook payloads. Fetch
49
+ # the subscription for its price intervals, billing periods, plan phases and other
50
+ # derived fields.
50
51
  sig do
51
52
  returns(
52
53
  Orb::Webhooks::SubscriptionFixedFeeQuantityUpdatedStandardWebhookEvent::Subscription
@@ -94,9 +95,10 @@ module Orb
94
95
  # endpoint.
95
96
  payload_style:,
96
97
  properties:,
97
- # The subscription in a standard webhook payload: its own fields, with its plan
98
- # and customer as references. Fetch the subscription for its price intervals,
99
- # billing periods, plan phases and other derived fields.
98
+ # A subscription's own fields, with its plan and customer as references, as listed
99
+ # by List subscription summaries and carried in standard webhook payloads. Fetch
100
+ # the subscription for its price intervals, billing periods, plan phases and other
101
+ # derived fields.
100
102
  subscription:,
101
103
  # The event this payload describes.
102
104
  type:
@@ -270,9 +272,10 @@ module Orb
270
272
  end
271
273
  attr_accessor :status
272
274
 
273
- # The subscription in a standard webhook payload: its own fields, with its plan
274
- # and customer as references. Fetch the subscription for its price intervals,
275
- # billing periods, plan phases and other derived fields.
275
+ # A subscription's own fields, with its plan and customer as references, as listed
276
+ # by List subscription summaries and carried in standard webhook payloads. Fetch
277
+ # the subscription for its price intervals, billing periods, plan phases and other
278
+ # derived fields.
276
279
  sig do
277
280
  params(
278
281
  id: String,
@@ -44,9 +44,10 @@ module Orb
44
44
  end
45
45
  attr_writer :properties
46
46
 
47
- # The subscription in a standard webhook payload: its own fields, with its plan
48
- # and customer as references. Fetch the subscription for its price intervals,
49
- # billing periods, plan phases and other derived fields.
47
+ # A subscription's own fields, with its plan and customer as references, as listed
48
+ # by List subscription summaries and carried in standard webhook payloads. Fetch
49
+ # the subscription for its price intervals, billing periods, plan phases and other
50
+ # derived fields.
50
51
  sig do
51
52
  returns(
52
53
  Orb::Webhooks::SubscriptionPlanChangeScheduledStandardWebhookEvent::Subscription
@@ -94,9 +95,10 @@ module Orb
94
95
  # endpoint.
95
96
  payload_style:,
96
97
  properties:,
97
- # The subscription in a standard webhook payload: its own fields, with its plan
98
- # and customer as references. Fetch the subscription for its price intervals,
99
- # billing periods, plan phases and other derived fields.
98
+ # A subscription's own fields, with its plan and customer as references, as listed
99
+ # by List subscription summaries and carried in standard webhook payloads. Fetch
100
+ # the subscription for its price intervals, billing periods, plan phases and other
101
+ # derived fields.
100
102
  subscription:,
101
103
  # The event this payload describes.
102
104
  type:
@@ -265,9 +267,10 @@ module Orb
265
267
  end
266
268
  attr_accessor :status
267
269
 
268
- # The subscription in a standard webhook payload: its own fields, with its plan
269
- # and customer as references. Fetch the subscription for its price intervals,
270
- # billing periods, plan phases and other derived fields.
270
+ # A subscription's own fields, with its plan and customer as references, as listed
271
+ # by List subscription summaries and carried in standard webhook payloads. Fetch
272
+ # the subscription for its price intervals, billing periods, plan phases and other
273
+ # derived fields.
271
274
  sig do
272
275
  params(
273
276
  id: String,
@@ -44,9 +44,10 @@ module Orb
44
44
  end
45
45
  attr_writer :properties
46
46
 
47
- # The subscription in a standard webhook payload: its own fields, with its plan
48
- # and customer as references. Fetch the subscription for its price intervals,
49
- # billing periods, plan phases and other derived fields.
47
+ # A subscription's own fields, with its plan and customer as references, as listed
48
+ # by List subscription summaries and carried in standard webhook payloads. Fetch
49
+ # the subscription for its price intervals, billing periods, plan phases and other
50
+ # derived fields.
50
51
  sig do
51
52
  returns(
52
53
  Orb::Webhooks::SubscriptionPlanChangedStandardWebhookEvent::Subscription
@@ -94,9 +95,10 @@ module Orb
94
95
  # endpoint.
95
96
  payload_style:,
96
97
  properties:,
97
- # The subscription in a standard webhook payload: its own fields, with its plan
98
- # and customer as references. Fetch the subscription for its price intervals,
99
- # billing periods, plan phases and other derived fields.
98
+ # A subscription's own fields, with its plan and customer as references, as listed
99
+ # by List subscription summaries and carried in standard webhook payloads. Fetch
100
+ # the subscription for its price intervals, billing periods, plan phases and other
101
+ # derived fields.
100
102
  subscription:,
101
103
  # The event this payload describes.
102
104
  type:
@@ -245,9 +247,10 @@ module Orb
245
247
  end
246
248
  attr_accessor :status
247
249
 
248
- # The subscription in a standard webhook payload: its own fields, with its plan
249
- # and customer as references. Fetch the subscription for its price intervals,
250
- # billing periods, plan phases and other derived fields.
250
+ # A subscription's own fields, with its plan and customer as references, as listed
251
+ # by List subscription summaries and carried in standard webhook payloads. Fetch
252
+ # the subscription for its price intervals, billing periods, plan phases and other
253
+ # derived fields.
251
254
  sig do
252
255
  params(
253
256
  id: String,
@@ -44,9 +44,10 @@ module Orb
44
44
  end
45
45
  attr_writer :properties
46
46
 
47
- # The subscription in a standard webhook payload: its own fields, with its plan
48
- # and customer as references. Fetch the subscription for its price intervals,
49
- # billing periods, plan phases and other derived fields.
47
+ # A subscription's own fields, with its plan and customer as references, as listed
48
+ # by List subscription summaries and carried in standard webhook payloads. Fetch
49
+ # the subscription for its price intervals, billing periods, plan phases and other
50
+ # derived fields.
50
51
  sig do
51
52
  returns(
52
53
  Orb::Webhooks::SubscriptionPlanVersionChangeScheduledStandardWebhookEvent::Subscription
@@ -94,9 +95,10 @@ module Orb
94
95
  # endpoint.
95
96
  payload_style:,
96
97
  properties:,
97
- # The subscription in a standard webhook payload: its own fields, with its plan
98
- # and customer as references. Fetch the subscription for its price intervals,
99
- # billing periods, plan phases and other derived fields.
98
+ # A subscription's own fields, with its plan and customer as references, as listed
99
+ # by List subscription summaries and carried in standard webhook payloads. Fetch
100
+ # the subscription for its price intervals, billing periods, plan phases and other
101
+ # derived fields.
100
102
  subscription:,
101
103
  # The event this payload describes.
102
104
  type:
@@ -269,9 +271,10 @@ module Orb
269
271
  end
270
272
  attr_accessor :status
271
273
 
272
- # The subscription in a standard webhook payload: its own fields, with its plan
273
- # and customer as references. Fetch the subscription for its price intervals,
274
- # billing periods, plan phases and other derived fields.
274
+ # A subscription's own fields, with its plan and customer as references, as listed
275
+ # by List subscription summaries and carried in standard webhook payloads. Fetch
276
+ # the subscription for its price intervals, billing periods, plan phases and other
277
+ # derived fields.
275
278
  sig do
276
279
  params(
277
280
  id: String,