orb-billing 0.8.0 → 0.9.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +13 -0
- data/README.md +1 -1
- data/lib/orb/models/customers/credits/top_up_create_by_external_id_params.rb +5 -3
- data/lib/orb/models/customers/credits/top_up_create_by_external_id_response.rb +5 -3
- data/lib/orb/models/customers/credits/top_up_create_params.rb +5 -3
- data/lib/orb/models/customers/credits/top_up_create_response.rb +5 -3
- data/lib/orb/models/customers/credits/top_up_list_by_external_id_response.rb +5 -3
- data/lib/orb/models/customers/credits/top_up_list_response.rb +5 -3
- data/lib/orb/models/event_ingest_params.rb +3 -3
- data/lib/orb/models/event_search_response.rb +3 -3
- data/lib/orb/models/event_update_params.rb +3 -3
- data/lib/orb/models/price_evaluate_multiple_params.rb +3 -3
- data/lib/orb/resources/events.rb +1 -1
- data/lib/orb/version.rb +1 -1
- data/rbi/orb/models/customers/credits/top_up_create_by_external_id_params.rbi +8 -4
- data/rbi/orb/models/customers/credits/top_up_create_by_external_id_response.rbi +8 -4
- data/rbi/orb/models/customers/credits/top_up_create_params.rbi +8 -4
- data/rbi/orb/models/customers/credits/top_up_create_response.rbi +8 -4
- data/rbi/orb/models/customers/credits/top_up_list_by_external_id_response.rbi +8 -4
- data/rbi/orb/models/customers/credits/top_up_list_response.rbi +8 -4
- data/rbi/orb/models/event_ingest_params.rbi +3 -3
- data/rbi/orb/models/event_search_response.rbi +3 -3
- data/rbi/orb/models/event_update_params.rbi +3 -3
- data/rbi/orb/models/price_evaluate_multiple_params.rbi +3 -3
- data/rbi/orb/resources/events.rbi +1 -1
- data/sig/orb/models/event_ingest_params.rbs +4 -4
- data/sig/orb/models/event_search_response.rbs +4 -4
- data/sig/orb/models/event_update_params.rbs +4 -4
- data/sig/orb/models/price_evaluate_multiple_params.rbs +4 -4
- data/sig/orb/resources/events.rbs +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4ddc2fe30477278aa0f78ba2f81557d9a3042fa6631509584ef9f50e91e12654
|
4
|
+
data.tar.gz: c4fee31316816a2c54e6cfeab8b2296f7212d29a7138f231477265836f8a0d10
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a038b9c318e4774b80ea9963ca7f39a0985003653b3cce196ee950edf79e58a660c5e8fcf177ff1745a0c88b67fe059ab6b79c60091c7d6029b7cc040c624575
|
7
|
+
data.tar.gz: 0cab84209367469b8585a0ee697631df19cba5dfd08565b96e4f1aa6072add3cb37fbfeee42ec4f1605d6b82891b31881e022362684e5a999e492da1203669c4
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,18 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 0.9.0 (2025-05-30)
|
4
|
+
|
5
|
+
Full Changelog: [v0.8.0...v0.9.0](https://github.com/orbcorp/orb-ruby/compare/v0.8.0...v0.9.0)
|
6
|
+
|
7
|
+
### Features
|
8
|
+
|
9
|
+
* **api:** api update ([4c07dd1](https://github.com/orbcorp/orb-ruby/commit/4c07dd113926af678db91561fc501d17fa4da86e))
|
10
|
+
|
11
|
+
|
12
|
+
### Chores
|
13
|
+
|
14
|
+
* **internal:** version bump ([c9592f1](https://github.com/orbcorp/orb-ruby/commit/c9592f19f8f618117d4a5503a507d06b8abf7ac2))
|
15
|
+
|
3
16
|
## 0.8.0 (2025-05-29)
|
4
17
|
|
5
18
|
Full Changelog: [v0.7.0...v0.8.0](https://github.com/orbcorp/orb-ruby/compare/v0.7.0...v0.8.0)
|
data/README.md
CHANGED
@@ -112,8 +112,10 @@ module Orb
|
|
112
112
|
optional :memo, String, nil?: true
|
113
113
|
|
114
114
|
# @!attribute require_successful_payment
|
115
|
-
#
|
116
|
-
# corresponding invoice is paid before they
|
115
|
+
# When true, credit blocks created by this top-up will require that the
|
116
|
+
# corresponding invoice is paid before they are drawn down from. If any topup
|
117
|
+
# block is pending payment, further automatic top-ups will be paused until the
|
118
|
+
# invoice is paid or voided.
|
117
119
|
#
|
118
120
|
# @return [Boolean, nil]
|
119
121
|
optional :require_successful_payment, Orb::Internal::Type::Boolean
|
@@ -131,7 +133,7 @@ module Orb
|
|
131
133
|
#
|
132
134
|
# @param memo [String, nil] An optional memo to display on the invoice.
|
133
135
|
#
|
134
|
-
# @param require_successful_payment [Boolean]
|
136
|
+
# @param require_successful_payment [Boolean] When true, credit blocks created by this top-up will require that the correspond
|
135
137
|
end
|
136
138
|
|
137
139
|
# The unit of expires_after.
|
@@ -104,8 +104,10 @@ module Orb
|
|
104
104
|
optional :memo, String, nil?: true
|
105
105
|
|
106
106
|
# @!attribute require_successful_payment
|
107
|
-
#
|
108
|
-
# corresponding invoice is paid before they
|
107
|
+
# When true, credit blocks created by this top-up will require that the
|
108
|
+
# corresponding invoice is paid before they are drawn down from. If any topup
|
109
|
+
# block is pending payment, further automatic top-ups will be paused until the
|
110
|
+
# invoice is paid or voided.
|
109
111
|
#
|
110
112
|
# @return [Boolean, nil]
|
111
113
|
optional :require_successful_payment, Orb::Internal::Type::Boolean
|
@@ -123,7 +125,7 @@ module Orb
|
|
123
125
|
#
|
124
126
|
# @param memo [String, nil] An optional memo to display on the invoice.
|
125
127
|
#
|
126
|
-
# @param require_successful_payment [Boolean]
|
128
|
+
# @param require_successful_payment [Boolean] When true, credit blocks created by this top-up will require that the correspond
|
127
129
|
end
|
128
130
|
|
129
131
|
# The unit of expires_after.
|
@@ -108,8 +108,10 @@ module Orb
|
|
108
108
|
optional :memo, String, nil?: true
|
109
109
|
|
110
110
|
# @!attribute require_successful_payment
|
111
|
-
#
|
112
|
-
# corresponding invoice is paid before they
|
111
|
+
# When true, credit blocks created by this top-up will require that the
|
112
|
+
# corresponding invoice is paid before they are drawn down from. If any topup
|
113
|
+
# block is pending payment, further automatic top-ups will be paused until the
|
114
|
+
# invoice is paid or voided.
|
113
115
|
#
|
114
116
|
# @return [Boolean, nil]
|
115
117
|
optional :require_successful_payment, Orb::Internal::Type::Boolean
|
@@ -127,7 +129,7 @@ module Orb
|
|
127
129
|
#
|
128
130
|
# @param memo [String, nil] An optional memo to display on the invoice.
|
129
131
|
#
|
130
|
-
# @param require_successful_payment [Boolean]
|
132
|
+
# @param require_successful_payment [Boolean] When true, credit blocks created by this top-up will require that the correspond
|
131
133
|
end
|
132
134
|
|
133
135
|
# The unit of expires_after.
|
@@ -102,8 +102,10 @@ module Orb
|
|
102
102
|
optional :memo, String, nil?: true
|
103
103
|
|
104
104
|
# @!attribute require_successful_payment
|
105
|
-
#
|
106
|
-
# corresponding invoice is paid before they
|
105
|
+
# When true, credit blocks created by this top-up will require that the
|
106
|
+
# corresponding invoice is paid before they are drawn down from. If any topup
|
107
|
+
# block is pending payment, further automatic top-ups will be paused until the
|
108
|
+
# invoice is paid or voided.
|
107
109
|
#
|
108
110
|
# @return [Boolean, nil]
|
109
111
|
optional :require_successful_payment, Orb::Internal::Type::Boolean
|
@@ -121,7 +123,7 @@ module Orb
|
|
121
123
|
#
|
122
124
|
# @param memo [String, nil] An optional memo to display on the invoice.
|
123
125
|
#
|
124
|
-
# @param require_successful_payment [Boolean]
|
126
|
+
# @param require_successful_payment [Boolean] When true, credit blocks created by this top-up will require that the correspond
|
125
127
|
end
|
126
128
|
|
127
129
|
# The unit of expires_after.
|
@@ -104,8 +104,10 @@ module Orb
|
|
104
104
|
optional :memo, String, nil?: true
|
105
105
|
|
106
106
|
# @!attribute require_successful_payment
|
107
|
-
#
|
108
|
-
# corresponding invoice is paid before they
|
107
|
+
# When true, credit blocks created by this top-up will require that the
|
108
|
+
# corresponding invoice is paid before they are drawn down from. If any topup
|
109
|
+
# block is pending payment, further automatic top-ups will be paused until the
|
110
|
+
# invoice is paid or voided.
|
109
111
|
#
|
110
112
|
# @return [Boolean, nil]
|
111
113
|
optional :require_successful_payment, Orb::Internal::Type::Boolean
|
@@ -123,7 +125,7 @@ module Orb
|
|
123
125
|
#
|
124
126
|
# @param memo [String, nil] An optional memo to display on the invoice.
|
125
127
|
#
|
126
|
-
# @param require_successful_payment [Boolean]
|
128
|
+
# @param require_successful_payment [Boolean] When true, credit blocks created by this top-up will require that the correspond
|
127
129
|
end
|
128
130
|
|
129
131
|
# The unit of expires_after.
|
@@ -102,8 +102,10 @@ module Orb
|
|
102
102
|
optional :memo, String, nil?: true
|
103
103
|
|
104
104
|
# @!attribute require_successful_payment
|
105
|
-
#
|
106
|
-
# corresponding invoice is paid before they
|
105
|
+
# When true, credit blocks created by this top-up will require that the
|
106
|
+
# corresponding invoice is paid before they are drawn down from. If any topup
|
107
|
+
# block is pending payment, further automatic top-ups will be paused until the
|
108
|
+
# invoice is paid or voided.
|
107
109
|
#
|
108
110
|
# @return [Boolean, nil]
|
109
111
|
optional :require_successful_payment, Orb::Internal::Type::Boolean
|
@@ -121,7 +123,7 @@ module Orb
|
|
121
123
|
#
|
122
124
|
# @param memo [String, nil] An optional memo to display on the invoice.
|
123
125
|
#
|
124
|
-
# @param require_successful_payment [Boolean]
|
126
|
+
# @param require_successful_payment [Boolean] When true, credit blocks created by this top-up will require that the correspond
|
125
127
|
end
|
126
128
|
|
127
129
|
# The unit of expires_after.
|
@@ -56,8 +56,8 @@ module Orb
|
|
56
56
|
# A dictionary of custom properties. Values in this dictionary must be numeric,
|
57
57
|
# boolean, or strings. Nested dictionaries are disallowed.
|
58
58
|
#
|
59
|
-
# @return [Object]
|
60
|
-
required :properties, Orb::Internal::Type::Unknown
|
59
|
+
# @return [Hash{Symbol=>Object}]
|
60
|
+
required :properties, Orb::Internal::Type::HashOf[Orb::Internal::Type::Unknown]
|
61
61
|
|
62
62
|
# @!attribute timestamp
|
63
63
|
# An ISO 8601 format date with no timezone offset (i.e. UTC). This should
|
@@ -88,7 +88,7 @@ module Orb
|
|
88
88
|
#
|
89
89
|
# @param idempotency_key [String] A unique value, generated by the client, that is used to de-duplicate events. Ex
|
90
90
|
#
|
91
|
-
# @param properties [Object] A dictionary of custom properties. Values in this dictionary must be numeric, bo
|
91
|
+
# @param properties [Hash{Symbol=>Object}] A dictionary of custom properties. Values in this dictionary must be numeric, bo
|
92
92
|
#
|
93
93
|
# @param timestamp [Time] An ISO 8601 format date with no timezone offset (i.e. UTC). This should represen
|
94
94
|
#
|
@@ -50,8 +50,8 @@ module Orb
|
|
50
50
|
# A dictionary of custom properties. Values in this dictionary must be numeric,
|
51
51
|
# boolean, or strings. Nested dictionaries are disallowed.
|
52
52
|
#
|
53
|
-
# @return [Object]
|
54
|
-
required :properties, Orb::Internal::Type::Unknown
|
53
|
+
# @return [Hash{Symbol=>Object}]
|
54
|
+
required :properties, Orb::Internal::Type::HashOf[Orb::Internal::Type::Unknown]
|
55
55
|
|
56
56
|
# @!attribute timestamp
|
57
57
|
# An ISO 8601 format date with no timezone offset (i.e. UTC). This should
|
@@ -79,7 +79,7 @@ module Orb
|
|
79
79
|
#
|
80
80
|
# @param external_customer_id [String, nil] An alias for the Orb customer, whose mapping is specified when creating the cust
|
81
81
|
#
|
82
|
-
# @param properties [Object] A dictionary of custom properties. Values in this dictionary must be numeric, bo
|
82
|
+
# @param properties [Hash{Symbol=>Object}] A dictionary of custom properties. Values in this dictionary must be numeric, bo
|
83
83
|
#
|
84
84
|
# @param timestamp [Time] An ISO 8601 format date with no timezone offset (i.e. UTC). This should represen
|
85
85
|
end
|
@@ -17,8 +17,8 @@ module Orb
|
|
17
17
|
# A dictionary of custom properties. Values in this dictionary must be numeric,
|
18
18
|
# boolean, or strings. Nested dictionaries are disallowed.
|
19
19
|
#
|
20
|
-
# @return [Object]
|
21
|
-
required :properties, Orb::Internal::Type::Unknown
|
20
|
+
# @return [Hash{Symbol=>Object}]
|
21
|
+
required :properties, Orb::Internal::Type::HashOf[Orb::Internal::Type::Unknown]
|
22
22
|
|
23
23
|
# @!attribute timestamp
|
24
24
|
# An ISO 8601 format date with no timezone offset (i.e. UTC). This should
|
@@ -47,7 +47,7 @@ module Orb
|
|
47
47
|
#
|
48
48
|
# @param event_name [String] A name to meaningfully identify the action or event type.
|
49
49
|
#
|
50
|
-
# @param properties [Object] A dictionary of custom properties. Values in this dictionary must be numeric, bo
|
50
|
+
# @param properties [Hash{Symbol=>Object}] A dictionary of custom properties. Values in this dictionary must be numeric, bo
|
51
51
|
#
|
52
52
|
# @param timestamp [Time] An ISO 8601 format date with no timezone offset (i.e. UTC). This should represen
|
53
53
|
#
|
@@ -74,8 +74,8 @@ module Orb
|
|
74
74
|
# A dictionary of custom properties. Values in this dictionary must be numeric,
|
75
75
|
# boolean, or strings. Nested dictionaries are disallowed.
|
76
76
|
#
|
77
|
-
# @return [Object]
|
78
|
-
required :properties, Orb::Internal::Type::Unknown
|
77
|
+
# @return [Hash{Symbol=>Object}]
|
78
|
+
required :properties, Orb::Internal::Type::HashOf[Orb::Internal::Type::Unknown]
|
79
79
|
|
80
80
|
# @!attribute timestamp
|
81
81
|
# An ISO 8601 format date with no timezone offset (i.e. UTC). This should
|
@@ -104,7 +104,7 @@ module Orb
|
|
104
104
|
#
|
105
105
|
# @param event_name [String] A name to meaningfully identify the action or event type.
|
106
106
|
#
|
107
|
-
# @param properties [Object] A dictionary of custom properties. Values in this dictionary must be numeric, bo
|
107
|
+
# @param properties [Hash{Symbol=>Object}] A dictionary of custom properties. Values in this dictionary must be numeric, bo
|
108
108
|
#
|
109
109
|
# @param timestamp [Time] An ISO 8601 format date with no timezone offset (i.e. UTC). This should represen
|
110
110
|
#
|
data/lib/orb/resources/events.rb
CHANGED
@@ -64,7 +64,7 @@ module Orb
|
|
64
64
|
#
|
65
65
|
# @param event_name [String] A name to meaningfully identify the action or event type.
|
66
66
|
#
|
67
|
-
# @param properties [Object] A dictionary of custom properties. Values in this dictionary must be numeric, bo
|
67
|
+
# @param properties [Hash{Symbol=>Object}] A dictionary of custom properties. Values in this dictionary must be numeric, bo
|
68
68
|
#
|
69
69
|
# @param timestamp [Time] An ISO 8601 format date with no timezone offset (i.e. UTC). This should represen
|
70
70
|
#
|
data/lib/orb/version.rb
CHANGED
@@ -158,8 +158,10 @@ module Orb
|
|
158
158
|
sig { returns(T.nilable(String)) }
|
159
159
|
attr_accessor :memo
|
160
160
|
|
161
|
-
#
|
162
|
-
# corresponding invoice is paid before they
|
161
|
+
# When true, credit blocks created by this top-up will require that the
|
162
|
+
# corresponding invoice is paid before they are drawn down from. If any topup
|
163
|
+
# block is pending payment, further automatic top-ups will be paused until the
|
164
|
+
# invoice is paid or voided.
|
163
165
|
sig { returns(T.nilable(T::Boolean)) }
|
164
166
|
attr_reader :require_successful_payment
|
165
167
|
|
@@ -185,8 +187,10 @@ module Orb
|
|
185
187
|
net_terms:,
|
186
188
|
# An optional memo to display on the invoice.
|
187
189
|
memo: nil,
|
188
|
-
#
|
189
|
-
# corresponding invoice is paid before they
|
190
|
+
# When true, credit blocks created by this top-up will require that the
|
191
|
+
# corresponding invoice is paid before they are drawn down from. If any topup
|
192
|
+
# block is pending payment, further automatic top-ups will be paused until the
|
193
|
+
# invoice is paid or voided.
|
190
194
|
require_successful_payment: nil
|
191
195
|
)
|
192
196
|
end
|
@@ -148,8 +148,10 @@ module Orb
|
|
148
148
|
sig { returns(T.nilable(String)) }
|
149
149
|
attr_accessor :memo
|
150
150
|
|
151
|
-
#
|
152
|
-
# corresponding invoice is paid before they
|
151
|
+
# When true, credit blocks created by this top-up will require that the
|
152
|
+
# corresponding invoice is paid before they are drawn down from. If any topup
|
153
|
+
# block is pending payment, further automatic top-ups will be paused until the
|
154
|
+
# invoice is paid or voided.
|
153
155
|
sig { returns(T.nilable(T::Boolean)) }
|
154
156
|
attr_reader :require_successful_payment
|
155
157
|
|
@@ -175,8 +177,10 @@ module Orb
|
|
175
177
|
net_terms:,
|
176
178
|
# An optional memo to display on the invoice.
|
177
179
|
memo: nil,
|
178
|
-
#
|
179
|
-
# corresponding invoice is paid before they
|
180
|
+
# When true, credit blocks created by this top-up will require that the
|
181
|
+
# corresponding invoice is paid before they are drawn down from. If any topup
|
182
|
+
# block is pending payment, further automatic top-ups will be paused until the
|
183
|
+
# invoice is paid or voided.
|
180
184
|
require_successful_payment: nil
|
181
185
|
)
|
182
186
|
end
|
@@ -156,8 +156,10 @@ module Orb
|
|
156
156
|
sig { returns(T.nilable(String)) }
|
157
157
|
attr_accessor :memo
|
158
158
|
|
159
|
-
#
|
160
|
-
# corresponding invoice is paid before they
|
159
|
+
# When true, credit blocks created by this top-up will require that the
|
160
|
+
# corresponding invoice is paid before they are drawn down from. If any topup
|
161
|
+
# block is pending payment, further automatic top-ups will be paused until the
|
162
|
+
# invoice is paid or voided.
|
161
163
|
sig { returns(T.nilable(T::Boolean)) }
|
162
164
|
attr_reader :require_successful_payment
|
163
165
|
|
@@ -183,8 +185,10 @@ module Orb
|
|
183
185
|
net_terms:,
|
184
186
|
# An optional memo to display on the invoice.
|
185
187
|
memo: nil,
|
186
|
-
#
|
187
|
-
# corresponding invoice is paid before they
|
188
|
+
# When true, credit blocks created by this top-up will require that the
|
189
|
+
# corresponding invoice is paid before they are drawn down from. If any topup
|
190
|
+
# block is pending payment, further automatic top-ups will be paused until the
|
191
|
+
# invoice is paid or voided.
|
188
192
|
require_successful_payment: nil
|
189
193
|
)
|
190
194
|
end
|
@@ -148,8 +148,10 @@ module Orb
|
|
148
148
|
sig { returns(T.nilable(String)) }
|
149
149
|
attr_accessor :memo
|
150
150
|
|
151
|
-
#
|
152
|
-
# corresponding invoice is paid before they
|
151
|
+
# When true, credit blocks created by this top-up will require that the
|
152
|
+
# corresponding invoice is paid before they are drawn down from. If any topup
|
153
|
+
# block is pending payment, further automatic top-ups will be paused until the
|
154
|
+
# invoice is paid or voided.
|
153
155
|
sig { returns(T.nilable(T::Boolean)) }
|
154
156
|
attr_reader :require_successful_payment
|
155
157
|
|
@@ -175,8 +177,10 @@ module Orb
|
|
175
177
|
net_terms:,
|
176
178
|
# An optional memo to display on the invoice.
|
177
179
|
memo: nil,
|
178
|
-
#
|
179
|
-
# corresponding invoice is paid before they
|
180
|
+
# When true, credit blocks created by this top-up will require that the
|
181
|
+
# corresponding invoice is paid before they are drawn down from. If any topup
|
182
|
+
# block is pending payment, further automatic top-ups will be paused until the
|
183
|
+
# invoice is paid or voided.
|
180
184
|
require_successful_payment: nil
|
181
185
|
)
|
182
186
|
end
|
@@ -148,8 +148,10 @@ module Orb
|
|
148
148
|
sig { returns(T.nilable(String)) }
|
149
149
|
attr_accessor :memo
|
150
150
|
|
151
|
-
#
|
152
|
-
# corresponding invoice is paid before they
|
151
|
+
# When true, credit blocks created by this top-up will require that the
|
152
|
+
# corresponding invoice is paid before they are drawn down from. If any topup
|
153
|
+
# block is pending payment, further automatic top-ups will be paused until the
|
154
|
+
# invoice is paid or voided.
|
153
155
|
sig { returns(T.nilable(T::Boolean)) }
|
154
156
|
attr_reader :require_successful_payment
|
155
157
|
|
@@ -175,8 +177,10 @@ module Orb
|
|
175
177
|
net_terms:,
|
176
178
|
# An optional memo to display on the invoice.
|
177
179
|
memo: nil,
|
178
|
-
#
|
179
|
-
# corresponding invoice is paid before they
|
180
|
+
# When true, credit blocks created by this top-up will require that the
|
181
|
+
# corresponding invoice is paid before they are drawn down from. If any topup
|
182
|
+
# block is pending payment, further automatic top-ups will be paused until the
|
183
|
+
# invoice is paid or voided.
|
180
184
|
require_successful_payment: nil
|
181
185
|
)
|
182
186
|
end
|
@@ -148,8 +148,10 @@ module Orb
|
|
148
148
|
sig { returns(T.nilable(String)) }
|
149
149
|
attr_accessor :memo
|
150
150
|
|
151
|
-
#
|
152
|
-
# corresponding invoice is paid before they
|
151
|
+
# When true, credit blocks created by this top-up will require that the
|
152
|
+
# corresponding invoice is paid before they are drawn down from. If any topup
|
153
|
+
# block is pending payment, further automatic top-ups will be paused until the
|
154
|
+
# invoice is paid or voided.
|
153
155
|
sig { returns(T.nilable(T::Boolean)) }
|
154
156
|
attr_reader :require_successful_payment
|
155
157
|
|
@@ -175,8 +177,10 @@ module Orb
|
|
175
177
|
net_terms:,
|
176
178
|
# An optional memo to display on the invoice.
|
177
179
|
memo: nil,
|
178
|
-
#
|
179
|
-
# corresponding invoice is paid before they
|
180
|
+
# When true, credit blocks created by this top-up will require that the
|
181
|
+
# corresponding invoice is paid before they are drawn down from. If any topup
|
182
|
+
# block is pending payment, further automatic top-ups will be paused until the
|
183
|
+
# invoice is paid or voided.
|
180
184
|
require_successful_payment: nil
|
181
185
|
)
|
182
186
|
end
|
@@ -74,7 +74,7 @@ module Orb
|
|
74
74
|
|
75
75
|
# A dictionary of custom properties. Values in this dictionary must be numeric,
|
76
76
|
# boolean, or strings. Nested dictionaries are disallowed.
|
77
|
-
sig { returns(T.anything) }
|
77
|
+
sig { returns(T::Hash[Symbol, T.anything]) }
|
78
78
|
attr_accessor :properties
|
79
79
|
|
80
80
|
# An ISO 8601 format date with no timezone offset (i.e. UTC). This should
|
@@ -96,7 +96,7 @@ module Orb
|
|
96
96
|
params(
|
97
97
|
event_name: String,
|
98
98
|
idempotency_key: String,
|
99
|
-
properties: T.anything,
|
99
|
+
properties: T::Hash[Symbol, T.anything],
|
100
100
|
timestamp: Time,
|
101
101
|
customer_id: T.nilable(String),
|
102
102
|
external_customer_id: T.nilable(String)
|
@@ -129,7 +129,7 @@ module Orb
|
|
129
129
|
{
|
130
130
|
event_name: String,
|
131
131
|
idempotency_key: String,
|
132
|
-
properties: T.anything,
|
132
|
+
properties: T::Hash[Symbol, T.anything],
|
133
133
|
timestamp: Time,
|
134
134
|
customer_id: T.nilable(String),
|
135
135
|
external_customer_id: T.nilable(String)
|
@@ -61,7 +61,7 @@ module Orb
|
|
61
61
|
|
62
62
|
# A dictionary of custom properties. Values in this dictionary must be numeric,
|
63
63
|
# boolean, or strings. Nested dictionaries are disallowed.
|
64
|
-
sig { returns(T.anything) }
|
64
|
+
sig { returns(T::Hash[Symbol, T.anything]) }
|
65
65
|
attr_accessor :properties
|
66
66
|
|
67
67
|
# An ISO 8601 format date with no timezone offset (i.e. UTC). This should
|
@@ -80,7 +80,7 @@ module Orb
|
|
80
80
|
deprecated: T::Boolean,
|
81
81
|
event_name: String,
|
82
82
|
external_customer_id: T.nilable(String),
|
83
|
-
properties: T.anything,
|
83
|
+
properties: T::Hash[Symbol, T.anything],
|
84
84
|
timestamp: Time
|
85
85
|
).returns(T.attached_class)
|
86
86
|
end
|
@@ -116,7 +116,7 @@ module Orb
|
|
116
116
|
deprecated: T::Boolean,
|
117
117
|
event_name: String,
|
118
118
|
external_customer_id: T.nilable(String),
|
119
|
-
properties: T.anything,
|
119
|
+
properties: T::Hash[Symbol, T.anything],
|
120
120
|
timestamp: Time
|
121
121
|
}
|
122
122
|
)
|
@@ -15,7 +15,7 @@ module Orb
|
|
15
15
|
|
16
16
|
# A dictionary of custom properties. Values in this dictionary must be numeric,
|
17
17
|
# boolean, or strings. Nested dictionaries are disallowed.
|
18
|
-
sig { returns(T.anything) }
|
18
|
+
sig { returns(T::Hash[Symbol, T.anything]) }
|
19
19
|
attr_accessor :properties
|
20
20
|
|
21
21
|
# An ISO 8601 format date with no timezone offset (i.e. UTC). This should
|
@@ -36,7 +36,7 @@ module Orb
|
|
36
36
|
sig do
|
37
37
|
params(
|
38
38
|
event_name: String,
|
39
|
-
properties: T.anything,
|
39
|
+
properties: T::Hash[Symbol, T.anything],
|
40
40
|
timestamp: Time,
|
41
41
|
customer_id: T.nilable(String),
|
42
42
|
external_customer_id: T.nilable(String),
|
@@ -66,7 +66,7 @@ module Orb
|
|
66
66
|
override.returns(
|
67
67
|
{
|
68
68
|
event_name: String,
|
69
|
-
properties: T.anything,
|
69
|
+
properties: T::Hash[Symbol, T.anything],
|
70
70
|
timestamp: Time,
|
71
71
|
customer_id: T.nilable(String),
|
72
72
|
external_customer_id: T.nilable(String),
|
@@ -114,7 +114,7 @@ module Orb
|
|
114
114
|
|
115
115
|
# A dictionary of custom properties. Values in this dictionary must be numeric,
|
116
116
|
# boolean, or strings. Nested dictionaries are disallowed.
|
117
|
-
sig { returns(T.anything) }
|
117
|
+
sig { returns(T::Hash[Symbol, T.anything]) }
|
118
118
|
attr_accessor :properties
|
119
119
|
|
120
120
|
# An ISO 8601 format date with no timezone offset (i.e. UTC). This should
|
@@ -135,7 +135,7 @@ module Orb
|
|
135
135
|
sig do
|
136
136
|
params(
|
137
137
|
event_name: String,
|
138
|
-
properties: T.anything,
|
138
|
+
properties: T::Hash[Symbol, T.anything],
|
139
139
|
timestamp: Time,
|
140
140
|
customer_id: T.nilable(String),
|
141
141
|
external_customer_id: T.nilable(String)
|
@@ -163,7 +163,7 @@ module Orb
|
|
163
163
|
override.returns(
|
164
164
|
{
|
165
165
|
event_name: String,
|
166
|
-
properties: T.anything,
|
166
|
+
properties: T::Hash[Symbol, T.anything],
|
167
167
|
timestamp: Time,
|
168
168
|
customer_id: T.nilable(String),
|
169
169
|
external_customer_id: T.nilable(String)
|
@@ -38,7 +38,7 @@ module Orb
|
|
38
38
|
{
|
39
39
|
event_name: String,
|
40
40
|
idempotency_key: String,
|
41
|
-
properties: top,
|
41
|
+
properties: ::Hash[Symbol, top],
|
42
42
|
timestamp: Time,
|
43
43
|
customer_id: String?,
|
44
44
|
external_customer_id: String?
|
@@ -49,7 +49,7 @@ module Orb
|
|
49
49
|
|
50
50
|
attr_accessor idempotency_key: String
|
51
51
|
|
52
|
-
attr_accessor properties: top
|
52
|
+
attr_accessor properties: ::Hash[Symbol, top]
|
53
53
|
|
54
54
|
attr_accessor timestamp: Time
|
55
55
|
|
@@ -60,7 +60,7 @@ module Orb
|
|
60
60
|
def initialize: (
|
61
61
|
event_name: String,
|
62
62
|
idempotency_key: String,
|
63
|
-
properties: top,
|
63
|
+
properties: ::Hash[Symbol, top],
|
64
64
|
timestamp: Time,
|
65
65
|
?customer_id: String?,
|
66
66
|
?external_customer_id: String?
|
@@ -69,7 +69,7 @@ module Orb
|
|
69
69
|
def to_hash: -> {
|
70
70
|
event_name: String,
|
71
71
|
idempotency_key: String,
|
72
|
-
properties: top,
|
72
|
+
properties: ::Hash[Symbol, top],
|
73
73
|
timestamp: Time,
|
74
74
|
customer_id: String?,
|
75
75
|
external_customer_id: String?
|
@@ -19,7 +19,7 @@ module Orb
|
|
19
19
|
deprecated: bool,
|
20
20
|
event_name: String,
|
21
21
|
external_customer_id: String?,
|
22
|
-
properties: top,
|
22
|
+
properties: ::Hash[Symbol, top],
|
23
23
|
timestamp: Time
|
24
24
|
}
|
25
25
|
|
@@ -34,7 +34,7 @@ module Orb
|
|
34
34
|
|
35
35
|
attr_accessor external_customer_id: String?
|
36
36
|
|
37
|
-
attr_accessor properties: top
|
37
|
+
attr_accessor properties: ::Hash[Symbol, top]
|
38
38
|
|
39
39
|
attr_accessor timestamp: Time
|
40
40
|
|
@@ -44,7 +44,7 @@ module Orb
|
|
44
44
|
deprecated: bool,
|
45
45
|
event_name: String,
|
46
46
|
external_customer_id: String?,
|
47
|
-
properties: top,
|
47
|
+
properties: ::Hash[Symbol, top],
|
48
48
|
timestamp: Time
|
49
49
|
) -> void
|
50
50
|
|
@@ -54,7 +54,7 @@ module Orb
|
|
54
54
|
deprecated: bool,
|
55
55
|
event_name: String,
|
56
56
|
external_customer_id: String?,
|
57
|
-
properties: top,
|
57
|
+
properties: ::Hash[Symbol, top],
|
58
58
|
timestamp: Time
|
59
59
|
}
|
60
60
|
end
|
@@ -3,7 +3,7 @@ module Orb
|
|
3
3
|
type event_update_params =
|
4
4
|
{
|
5
5
|
event_name: String,
|
6
|
-
properties: top,
|
6
|
+
properties: ::Hash[Symbol, top],
|
7
7
|
timestamp: Time,
|
8
8
|
customer_id: String?,
|
9
9
|
external_customer_id: String?
|
@@ -16,7 +16,7 @@ module Orb
|
|
16
16
|
|
17
17
|
attr_accessor event_name: String
|
18
18
|
|
19
|
-
attr_accessor properties: top
|
19
|
+
attr_accessor properties: ::Hash[Symbol, top]
|
20
20
|
|
21
21
|
attr_accessor timestamp: Time
|
22
22
|
|
@@ -26,7 +26,7 @@ module Orb
|
|
26
26
|
|
27
27
|
def initialize: (
|
28
28
|
event_name: String,
|
29
|
-
properties: top,
|
29
|
+
properties: ::Hash[Symbol, top],
|
30
30
|
timestamp: Time,
|
31
31
|
?customer_id: String?,
|
32
32
|
?external_customer_id: String?,
|
@@ -35,7 +35,7 @@ module Orb
|
|
35
35
|
|
36
36
|
def to_hash: -> {
|
37
37
|
event_name: String,
|
38
|
-
properties: top,
|
38
|
+
properties: ::Hash[Symbol, top],
|
39
39
|
timestamp: Time,
|
40
40
|
customer_id: String?,
|
41
41
|
external_customer_id: String?,
|
@@ -54,7 +54,7 @@ module Orb
|
|
54
54
|
type event =
|
55
55
|
{
|
56
56
|
event_name: String,
|
57
|
-
properties: top,
|
57
|
+
properties: ::Hash[Symbol, top],
|
58
58
|
timestamp: Time,
|
59
59
|
customer_id: String?,
|
60
60
|
external_customer_id: String?
|
@@ -63,7 +63,7 @@ module Orb
|
|
63
63
|
class Event < Orb::Internal::Type::BaseModel
|
64
64
|
attr_accessor event_name: String
|
65
65
|
|
66
|
-
attr_accessor properties: top
|
66
|
+
attr_accessor properties: ::Hash[Symbol, top]
|
67
67
|
|
68
68
|
attr_accessor timestamp: Time
|
69
69
|
|
@@ -73,7 +73,7 @@ module Orb
|
|
73
73
|
|
74
74
|
def initialize: (
|
75
75
|
event_name: String,
|
76
|
-
properties: top,
|
76
|
+
properties: ::Hash[Symbol, top],
|
77
77
|
timestamp: Time,
|
78
78
|
?customer_id: String?,
|
79
79
|
?external_customer_id: String?
|
@@ -81,7 +81,7 @@ module Orb
|
|
81
81
|
|
82
82
|
def to_hash: -> {
|
83
83
|
event_name: String,
|
84
|
-
properties: top,
|
84
|
+
properties: ::Hash[Symbol, top],
|
85
85
|
timestamp: Time,
|
86
86
|
customer_id: String?,
|
87
87
|
external_customer_id: String?
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: orb-billing
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Orb
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-05-
|
11
|
+
date: 2025-05-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: connection_pool
|