metronome-sdk 3.8.0 → 3.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 +8 -0
- data/README.md +1 -1
- data/lib/metronome_sdk/models/contract.rb +46 -16
- data/lib/metronome_sdk/models/contract_v2.rb +355 -9
- data/lib/metronome_sdk/models/v1/contract_create_response.rb +65 -13
- data/lib/metronome_sdk/models/v2/contract_edit_params.rb +2 -0
- data/lib/metronome_sdk/version.rb +1 -1
- data/rbi/metronome_sdk/models/contract.rbi +47 -22
- data/rbi/metronome_sdk/models/contract_v2.rbi +672 -8
- data/rbi/metronome_sdk/models/v1/contract_create_response.rbi +60 -32
- data/rbi/metronome_sdk/models/v2/contract_edit_params.rbi +10 -0
- data/sig/metronome_sdk/models/contract.rbs +22 -11
- data/sig/metronome_sdk/models/contract_v2.rbs +281 -3
- data/sig/metronome_sdk/models/v1/contract_create_response.rbs +30 -15
- data/sig/metronome_sdk/models/v2/contract_edit_params.rbs +4 -2
- metadata +2 -2
|
@@ -366,37 +366,52 @@ module MetronomeSDK
|
|
|
366
366
|
type customer_billing_provider_configuration =
|
|
367
367
|
{
|
|
368
368
|
id: String,
|
|
369
|
+
archived_at: Time?,
|
|
369
370
|
billing_provider: MetronomeSDK::Models::V1::ContractCreateResponse::Data::Contract::CustomerBillingProviderConfiguration::billing_provider,
|
|
370
|
-
|
|
371
|
+
configuration: ::Hash[Symbol, top],
|
|
372
|
+
customer_id: String,
|
|
373
|
+
delivery_method: MetronomeSDK::Models::V1::ContractCreateResponse::Data::Contract::CustomerBillingProviderConfiguration::delivery_method,
|
|
374
|
+
delivery_method_configuration: ::Hash[Symbol, top],
|
|
375
|
+
delivery_method_id: String
|
|
371
376
|
}
|
|
372
377
|
|
|
373
378
|
class CustomerBillingProviderConfiguration < MetronomeSDK::Internal::Type::BaseModel
|
|
374
|
-
|
|
379
|
+
attr_accessor id: String
|
|
380
|
+
|
|
381
|
+
attr_accessor archived_at: Time?
|
|
382
|
+
|
|
383
|
+
attr_accessor billing_provider: MetronomeSDK::Models::V1::ContractCreateResponse::Data::Contract::CustomerBillingProviderConfiguration::billing_provider
|
|
375
384
|
|
|
376
|
-
|
|
385
|
+
attr_accessor configuration: ::Hash[Symbol, top]
|
|
377
386
|
|
|
378
|
-
|
|
387
|
+
attr_accessor customer_id: String
|
|
379
388
|
|
|
380
|
-
|
|
381
|
-
MetronomeSDK::Models::V1::ContractCreateResponse::Data::Contract::CustomerBillingProviderConfiguration::billing_provider
|
|
382
|
-
) -> MetronomeSDK::Models::V1::ContractCreateResponse::Data::Contract::CustomerBillingProviderConfiguration::billing_provider
|
|
389
|
+
attr_accessor delivery_method: MetronomeSDK::Models::V1::ContractCreateResponse::Data::Contract::CustomerBillingProviderConfiguration::delivery_method
|
|
383
390
|
|
|
384
|
-
|
|
391
|
+
attr_accessor delivery_method_configuration: ::Hash[Symbol, top]
|
|
385
392
|
|
|
386
|
-
|
|
387
|
-
MetronomeSDK::Models::V1::ContractCreateResponse::Data::Contract::CustomerBillingProviderConfiguration::delivery_method
|
|
388
|
-
) -> MetronomeSDK::Models::V1::ContractCreateResponse::Data::Contract::CustomerBillingProviderConfiguration::delivery_method
|
|
393
|
+
attr_accessor delivery_method_id: String
|
|
389
394
|
|
|
390
395
|
def initialize: (
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
396
|
+
id: String,
|
|
397
|
+
archived_at: Time?,
|
|
398
|
+
billing_provider: MetronomeSDK::Models::V1::ContractCreateResponse::Data::Contract::CustomerBillingProviderConfiguration::billing_provider,
|
|
399
|
+
configuration: ::Hash[Symbol, top],
|
|
400
|
+
customer_id: String,
|
|
401
|
+
delivery_method: MetronomeSDK::Models::V1::ContractCreateResponse::Data::Contract::CustomerBillingProviderConfiguration::delivery_method,
|
|
402
|
+
delivery_method_configuration: ::Hash[Symbol, top],
|
|
403
|
+
delivery_method_id: String
|
|
394
404
|
) -> void
|
|
395
405
|
|
|
396
406
|
def to_hash: -> {
|
|
397
407
|
id: String,
|
|
408
|
+
archived_at: Time?,
|
|
398
409
|
billing_provider: MetronomeSDK::Models::V1::ContractCreateResponse::Data::Contract::CustomerBillingProviderConfiguration::billing_provider,
|
|
399
|
-
|
|
410
|
+
configuration: ::Hash[Symbol, top],
|
|
411
|
+
customer_id: String,
|
|
412
|
+
delivery_method: MetronomeSDK::Models::V1::ContractCreateResponse::Data::Contract::CustomerBillingProviderConfiguration::delivery_method,
|
|
413
|
+
delivery_method_configuration: ::Hash[Symbol, top],
|
|
414
|
+
delivery_method_id: String
|
|
400
415
|
}
|
|
401
416
|
|
|
402
417
|
type billing_provider =
|
|
@@ -422,12 +422,13 @@ module MetronomeSDK
|
|
|
422
422
|
effective_at: MetronomeSDK::Models::V2::ContractEditParams::AddBillingProviderConfigurationUpdate::Schedule::effective_at
|
|
423
423
|
}
|
|
424
424
|
|
|
425
|
-
type effective_at = :START_OF_CURRENT_PERIOD
|
|
425
|
+
type effective_at = :START_OF_CURRENT_PERIOD | :START_OF_NEXT_PERIOD
|
|
426
426
|
|
|
427
427
|
module EffectiveAt
|
|
428
428
|
extend MetronomeSDK::Internal::Type::Enum
|
|
429
429
|
|
|
430
430
|
START_OF_CURRENT_PERIOD: :START_OF_CURRENT_PERIOD
|
|
431
|
+
START_OF_NEXT_PERIOD: :START_OF_NEXT_PERIOD
|
|
431
432
|
|
|
432
433
|
def self?.values: -> ::Array[MetronomeSDK::Models::V2::ContractEditParams::AddBillingProviderConfigurationUpdate::Schedule::effective_at]
|
|
433
434
|
end
|
|
@@ -2742,12 +2743,13 @@ module MetronomeSDK
|
|
|
2742
2743
|
effective_at: MetronomeSDK::Models::V2::ContractEditParams::AddRevenueSystemConfigurationUpdate::Schedule::effective_at
|
|
2743
2744
|
}
|
|
2744
2745
|
|
|
2745
|
-
type effective_at = :START_OF_CURRENT_PERIOD
|
|
2746
|
+
type effective_at = :START_OF_CURRENT_PERIOD | :START_OF_NEXT_PERIOD
|
|
2746
2747
|
|
|
2747
2748
|
module EffectiveAt
|
|
2748
2749
|
extend MetronomeSDK::Internal::Type::Enum
|
|
2749
2750
|
|
|
2750
2751
|
START_OF_CURRENT_PERIOD: :START_OF_CURRENT_PERIOD
|
|
2752
|
+
START_OF_NEXT_PERIOD: :START_OF_NEXT_PERIOD
|
|
2751
2753
|
|
|
2752
2754
|
def self?.values: -> ::Array[MetronomeSDK::Models::V2::ContractEditParams::AddRevenueSystemConfigurationUpdate::Schedule::effective_at]
|
|
2753
2755
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: metronome-sdk
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.
|
|
4
|
+
version: 3.9.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Metronome
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-07-
|
|
11
|
+
date: 2026-07-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cgi
|