smplkit 3.0.77 → 3.0.79
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/lib/smplkit/_generated/app/lib/smplkit_app_client/models/subscription_change_projection.rb +1 -1
- data/lib/smplkit/_generated/app/lib/smplkit_app_client/models/subscription_preview_attributes.rb +1 -1
- data/lib/smplkit/_generated/audit/lib/smplkit_audit_client/api/forwarders_api.rb +2 -2
- data/lib/smplkit/_generated/audit/lib/smplkit_audit_client/models/event.rb +1 -1
- data/lib/smplkit/_generated/audit/lib/smplkit_audit_client/models/forwarder_delivery.rb +3 -3
- data/lib/smplkit/_generated/audit/spec/api/forwarders_api_spec.rb +1 -1
- data/lib/smplkit/_generated/audit/spec/models/forwarder_delivery_spec.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4baa01159a8a77afa9cd772e50ac1cc2e11521a76f598a19aec5c7827aa02531
|
|
4
|
+
data.tar.gz: 2faab009bce3db04d4b8c7cc9a1fbe2a8407a5cb2ed73132c43eabe7a4c16960
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 827adb4df6fc7212bb952eb2c3563e92d50d529f0f212e235bf3ca1efb40940e7255a062ec2c37742a5b90195459e7c3af3b7aec054172e1a64f7ccb8e916980
|
|
7
|
+
data.tar.gz: 0d2614c238a7eedfd920a57206833af2906b4b96d97abf51f26593bc9e81146a90ebe4d858d9c8d8b0770b21e575dc55c9bd857c494c2f2b817e759a42fb6474
|
data/lib/smplkit/_generated/app/lib/smplkit_app_client/models/subscription_change_projection.rb
CHANGED
|
@@ -31,7 +31,7 @@ module SmplkitGeneratedClient::App
|
|
|
31
31
|
# `IMMEDIATE` when the change takes effect at confirmation time (and a prorated charge may apply today). `NEXT_PERIOD` when the change takes effect at the end of the current billing period.
|
|
32
32
|
attr_accessor :effect
|
|
33
33
|
|
|
34
|
-
#
|
|
34
|
+
# Amount in cents that confirming this change would charge at confirmation time for this product. Reflects the discounted, prorated charge for the remainder of the current billing period. May be `0` even when `effect` is `IMMEDIATE` — when the product is being added to an already-active subscription the prorated amount is carried onto the next invoice rather than charged immediately. Always `0` when `effect` is `NEXT_PERIOD`.
|
|
35
35
|
attr_accessor :prorated_charge_today_cents
|
|
36
36
|
|
|
37
37
|
# When `effect` is `NEXT_PERIOD`, the ISO-8601 timestamp at which the change takes effect. `null` when `effect` is `IMMEDIATE` (the change applies on confirmation).
|
data/lib/smplkit/_generated/app/lib/smplkit_app_client/models/subscription_preview_attributes.rb
CHANGED
|
@@ -36,7 +36,7 @@ module SmplkitGeneratedClient::App
|
|
|
36
36
|
# Per-product breakdown of changes the desired state would produce. Products that would remain unchanged are omitted.
|
|
37
37
|
attr_accessor :changes
|
|
38
38
|
|
|
39
|
-
# Total amount that would be charged at confirmation time
|
|
39
|
+
# Total amount in cents that would be charged at confirmation time — the sum of `prorated_charge_today_cents` across all changes. `0` when there is no immediate charge (for example when changes apply to an already-active subscription and the prorated amounts are carried onto the next invoice instead).
|
|
40
40
|
attr_accessor :total_charge_today_cents
|
|
41
41
|
|
|
42
42
|
# Projected total of the next monthly invoice in cents, after all scheduled changes have taken effect.
|
|
@@ -280,7 +280,7 @@ module SmplkitGeneratedClient::Audit
|
|
|
280
280
|
end
|
|
281
281
|
|
|
282
282
|
# List Forwarder Deliveries
|
|
283
|
-
# List delivery log entries for a forwarder. Default sort is `-created_at` (newest first). Filter by `status` (one of `SUCCEEDED`, `FAILED`, `FILTERED_OUT
|
|
283
|
+
# List delivery log entries for a forwarder. Default sort is `-created_at` (newest first). Filter by `status` (one of `SUCCEEDED`, `FAILED`, `FILTERED_OUT` — case-insensitive), by `event_id`, or by a `created_at` range using interval notation (e.g. `[2026-01-01T00:00:00Z,*)`).
|
|
284
284
|
# @param forwarder_id [String]
|
|
285
285
|
# @param [Hash] opts the optional parameters
|
|
286
286
|
# @option opts [String] :filter_status
|
|
@@ -296,7 +296,7 @@ module SmplkitGeneratedClient::Audit
|
|
|
296
296
|
end
|
|
297
297
|
|
|
298
298
|
# List Forwarder Deliveries
|
|
299
|
-
# List delivery log entries for a forwarder. Default sort is `-created_at` (newest first). Filter by `status` (one of `SUCCEEDED`, `FAILED`, `FILTERED_OUT`
|
|
299
|
+
# List delivery log entries for a forwarder. Default sort is `-created_at` (newest first). Filter by `status` (one of `SUCCEEDED`, `FAILED`, `FILTERED_OUT` — case-insensitive), by `event_id`, or by a `created_at` range using interval notation (e.g. `[2026-01-01T00:00:00Z,*)`).
|
|
300
300
|
# @param forwarder_id [String]
|
|
301
301
|
# @param [Hash] opts the optional parameters
|
|
302
302
|
# @option opts [String] :filter_status
|
|
@@ -49,7 +49,7 @@ module SmplkitGeneratedClient::Audit
|
|
|
49
49
|
# Free-form payload attached to the event. Use it for resource snapshots (by convention under `data.snapshot`), request identifiers, or any other context the event needs to carry.
|
|
50
50
|
attr_accessor :data
|
|
51
51
|
|
|
52
|
-
# When `true`, the event is recorded but not delivered to any forwarder
|
|
52
|
+
# When `true`, the event is recorded but not delivered to any forwarder, and no delivery log entries are created for it.
|
|
53
53
|
attr_accessor :do_not_forward
|
|
54
54
|
|
|
55
55
|
# When the event was received and recorded.
|
|
@@ -25,7 +25,7 @@ module SmplkitGeneratedClient::Audit
|
|
|
25
25
|
# 1 for the initial delivery, incremented for each retry.
|
|
26
26
|
attr_accessor :attempt_number
|
|
27
27
|
|
|
28
|
-
# Delivery outcome. `SUCCEEDED` and `FAILED` are the live-delivery outcomes; `FILTERED_OUT` is recorded when the forwarder's filter rejected the event
|
|
28
|
+
# Delivery outcome. `SUCCEEDED` and `FAILED` are the live-delivery outcomes; `FILTERED_OUT` is recorded when the forwarder's filter rejected the event.
|
|
29
29
|
attr_accessor :status
|
|
30
30
|
|
|
31
31
|
# JSON Logic expression evaluated against each event. The event is delivered only if the expression returns truthy. Omit to deliver every event.
|
|
@@ -221,7 +221,7 @@ module SmplkitGeneratedClient::Audit
|
|
|
221
221
|
return false if @event_id.nil?
|
|
222
222
|
return false if @attempt_number.nil?
|
|
223
223
|
return false if @status.nil?
|
|
224
|
-
status_validator = EnumAttributeValidator.new('String', ["SUCCEEDED", "FAILED", "FILTERED_OUT"
|
|
224
|
+
status_validator = EnumAttributeValidator.new('String', ["SUCCEEDED", "FAILED", "FILTERED_OUT"])
|
|
225
225
|
return false unless status_validator.valid?(@status)
|
|
226
226
|
true
|
|
227
227
|
end
|
|
@@ -259,7 +259,7 @@ module SmplkitGeneratedClient::Audit
|
|
|
259
259
|
# Custom attribute writer method checking allowed values (enum).
|
|
260
260
|
# @param [Object] status Object to be assigned
|
|
261
261
|
def status=(status)
|
|
262
|
-
validator = EnumAttributeValidator.new('String', ["SUCCEEDED", "FAILED", "FILTERED_OUT"
|
|
262
|
+
validator = EnumAttributeValidator.new('String', ["SUCCEEDED", "FAILED", "FILTERED_OUT"])
|
|
263
263
|
unless validator.valid?(status)
|
|
264
264
|
fail ArgumentError, "invalid value for \"status\", must be one of #{validator.allowable_values}."
|
|
265
265
|
end
|
|
@@ -82,7 +82,7 @@ describe 'ForwardersApi' do
|
|
|
82
82
|
|
|
83
83
|
# unit tests for list_forwarder_deliveries
|
|
84
84
|
# List Forwarder Deliveries
|
|
85
|
-
# List delivery log entries for a forwarder. Default sort is `-created_at` (newest first). Filter by `status` (one of `SUCCEEDED`, `FAILED`, `FILTERED_OUT`
|
|
85
|
+
# List delivery log entries for a forwarder. Default sort is `-created_at` (newest first). Filter by `status` (one of `SUCCEEDED`, `FAILED`, `FILTERED_OUT` — case-insensitive), by `event_id`, or by a `created_at` range using interval notation (e.g. `[2026-01-01T00:00:00Z,*)`).
|
|
86
86
|
# @param forwarder_id
|
|
87
87
|
# @param [Hash] opts the optional parameters
|
|
88
88
|
# @option opts [String] :filter_status
|
|
@@ -48,7 +48,7 @@ describe SmplkitGeneratedClient::Audit::ForwarderDelivery do
|
|
|
48
48
|
describe 'test attribute "status"' do
|
|
49
49
|
it 'should work' do
|
|
50
50
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["SUCCEEDED", "FAILED", "FILTERED_OUT"
|
|
51
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["SUCCEEDED", "FAILED", "FILTERED_OUT"])
|
|
52
52
|
# validator.allowable_values.each do |value|
|
|
53
53
|
# expect { instance.status = value }.not_to raise_error
|
|
54
54
|
# end
|