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.
@@ -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
- delivery_method: MetronomeSDK::Models::V1::ContractCreateResponse::Data::Contract::CustomerBillingProviderConfiguration::delivery_method
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
- attr_reader id: String?
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
- def id=: (String) -> String
385
+ attr_accessor configuration: ::Hash[Symbol, top]
377
386
 
378
- attr_reader billing_provider: MetronomeSDK::Models::V1::ContractCreateResponse::Data::Contract::CustomerBillingProviderConfiguration::billing_provider?
387
+ attr_accessor customer_id: String
379
388
 
380
- def billing_provider=: (
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
- attr_reader delivery_method: MetronomeSDK::Models::V1::ContractCreateResponse::Data::Contract::CustomerBillingProviderConfiguration::delivery_method?
391
+ attr_accessor delivery_method_configuration: ::Hash[Symbol, top]
385
392
 
386
- def delivery_method=: (
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
- ?id: String,
392
- ?billing_provider: MetronomeSDK::Models::V1::ContractCreateResponse::Data::Contract::CustomerBillingProviderConfiguration::billing_provider,
393
- ?delivery_method: MetronomeSDK::Models::V1::ContractCreateResponse::Data::Contract::CustomerBillingProviderConfiguration::delivery_method
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
- delivery_method: MetronomeSDK::Models::V1::ContractCreateResponse::Data::Contract::CustomerBillingProviderConfiguration::delivery_method
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.8.0
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-01 00:00:00.000000000 Z
11
+ date: 2026-07-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cgi