moov_ruby 0.3.29 → 0.3.31

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7ad733455d15d5138422ac9b412dc826c4f75c1e237de7a98c5d81d7d3f9f926
4
- data.tar.gz: 149c8958dd951b724885d16a6689b49d5e21f97db776c7ab3bb96683d6551951
3
+ metadata.gz: 4ce07d2fbd348a41d7e971211903a8e989afabe184663818b66ac9829f29c931
4
+ data.tar.gz: 2b33cffcef9b46c54a4dc50fd5806c129cd2d40f597bdc90ee3edc4c7dbcb5eb
5
5
  SHA512:
6
- metadata.gz: 53c296a5a5d1a7773d30b1cf647a5493c48e29f4f5084c0f8bfeb22f7ebe68eec8bf7b251866746222d58bc3900daf4a86c71ac68b789bc45e88bd93f589e13f
7
- data.tar.gz: e95ef7ac01b0f5a89a7cdc01ad6320f9f328770056e7b9ea4c0f94aea9095861ab4eecd8bc4d99a170882594e589e506b0c62cf3c9cb32cd8c47b90f46f83f3f
6
+ metadata.gz: e75a6028a02c3888b2afe7cdbb77e1849a07be70fbc93f64e5b97928b65cf93d732b98f9505ec508c9c67e3f2fb0f90042632a66436d1815a98ac014c6a7ab82
7
+ data.tar.gz: df0055bf80e0b1d6e0aa6a2752e3bb46da8f8f1a3ddcf9faa501e0df0935a3ac12eb1fe5cd01c1f2fc74c29a8c74abe71c9a7af732f94c601af9fdfacfc664d9
data/lib/moov/invoices.rb CHANGED
@@ -43,7 +43,7 @@ module Moov
43
43
  def create_invoice(create_invoice:, account_id:, x_moov_version: nil, timeout_ms: nil)
44
44
  # create_invoice - Create an invoice for a Moov account.
45
45
  #
46
- # To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
46
+ # To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
47
47
  # you'll need to specify the `/accounts/{accountID}/invoices.write` scope.
48
48
  request = Models::Operations::CreateInvoiceRequest.new(
49
49
  account_id: account_id,
@@ -207,7 +207,7 @@ module Moov
207
207
  def list_invoices(request:, timeout_ms: nil)
208
208
  # list_invoices - List all the invoices created under a Moov account.
209
209
  #
210
- # To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
210
+ # To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
211
211
  # you'll need to specify the `/accounts/{accountID}/invoices.read` scope.
212
212
  url, params = @sdk_configuration.get_server_details
213
213
  base_url = Utils.template_url(url, params)
@@ -341,7 +341,7 @@ module Moov
341
341
  def get_invoice(account_id:, invoice_id:, x_moov_version: nil, timeout_ms: nil)
342
342
  # get_invoice - Retrieve an invoice by ID.
343
343
  #
344
- # To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
344
+ # To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
345
345
  # you'll need to specify the `/accounts/{accountID}/invoices.read` scope.
346
346
  request = Models::Operations::GetInvoiceRequest.new(
347
347
  account_id: account_id,
@@ -463,7 +463,7 @@ module Moov
463
463
  def update_invoice(update_invoice:, account_id:, invoice_id:, x_moov_version: nil, timeout_ms: nil)
464
464
  # update_invoice - Updates an invoice.
465
465
  #
466
- # To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
466
+ # To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
467
467
  # you'll need to specify the `/accounts/{accountID}/invoices.write` scope.
468
468
  request = Models::Operations::UpdateInvoiceRequest.new(
469
469
  account_id: account_id,
@@ -629,7 +629,7 @@ module Moov
629
629
  # create_invoice_payment - Creates a payment resource to represent that an invoice was paid outside of the Moov platform.
630
630
  # If a payment link was created for the invoice, the corresponding payment link is canceled, but a receipt is still sent.
631
631
  #
632
- # To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
632
+ # To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
633
633
  # you'll need to specify the `/accounts/{accountID}/invoices.write` scope.
634
634
  request = Models::Operations::CreateInvoicePaymentRequest.new(
635
635
  account_id: account_id,
@@ -794,7 +794,7 @@ module Moov
794
794
  def list_invoice_payments(account_id:, invoice_id:, x_moov_version: nil, timeout_ms: nil)
795
795
  # list_invoice_payments - List all the payments made towards an invoice.
796
796
  #
797
- # To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
797
+ # To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
798
798
  # you'll need to specify the `/accounts/{accountID}/invoices.read` scope.
799
799
  request = Models::Operations::ListInvoicePaymentsRequest.new(
800
800
  account_id: account_id,
@@ -30,6 +30,9 @@ module Moov
30
30
  field :return_url, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('returnURL') } }
31
31
  # The terms of service URL set by the inviter.
32
32
  field :terms_of_service_url, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('termsOfServiceURL') } }
33
+ # List of [scopes](https://docs.moov.io/api/authentication/scopes/) you grant to allow being used
34
+ # by the new account on yourself. These values are used to determine what the account onboarded can do.
35
+ field :grant_scopes, Crystalline::Nilable.new(Crystalline::Array.new(Models::Components::ApplicationScope)), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('grantScopes') } }
33
36
  # The account ID of the account that redeemed the invite.
34
37
  field :redeemed_account_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('redeemedAccountID') } }
35
38
 
@@ -41,8 +44,8 @@ module Moov
41
44
 
42
45
  field :redeemed_on, Crystalline::Nilable.new(::DateTime), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('redeemedOn'), 'decoder': Utils.datetime_from_iso_format(true) } }
43
46
 
44
- sig { params(code: ::String, link: ::String, scopes: T::Array[Models::Components::ApplicationScope], capabilities: T::Array[Models::Components::CapabilityID], fee_plan_codes: T::Array[::String], created_on: ::DateTime, return_url: T.nilable(::String), terms_of_service_url: T.nilable(::String), redeemed_account_id: T.nilable(::String), prefill: T.nilable(Models::Components::CreateAccount), partner: T.nilable(Models::Components::OnboardingPartnerAccount), revoked_on: T.nilable(::DateTime), redeemed_on: T.nilable(::DateTime)).void }
45
- def initialize(code:, link:, scopes:, capabilities:, fee_plan_codes:, created_on:, return_url: nil, terms_of_service_url: nil, redeemed_account_id: nil, prefill: nil, partner: nil, revoked_on: nil, redeemed_on: nil)
47
+ sig { params(code: ::String, link: ::String, scopes: T::Array[Models::Components::ApplicationScope], capabilities: T::Array[Models::Components::CapabilityID], fee_plan_codes: T::Array[::String], created_on: ::DateTime, return_url: T.nilable(::String), terms_of_service_url: T.nilable(::String), grant_scopes: T.nilable(T::Array[Models::Components::ApplicationScope]), redeemed_account_id: T.nilable(::String), prefill: T.nilable(Models::Components::CreateAccount), partner: T.nilable(Models::Components::OnboardingPartnerAccount), revoked_on: T.nilable(::DateTime), redeemed_on: T.nilable(::DateTime)).void }
48
+ def initialize(code:, link:, scopes:, capabilities:, fee_plan_codes:, created_on:, return_url: nil, terms_of_service_url: nil, grant_scopes: nil, redeemed_account_id: nil, prefill: nil, partner: nil, revoked_on: nil, redeemed_on: nil)
46
49
  @code = code
47
50
  @link = link
48
51
  @scopes = scopes
@@ -51,6 +54,7 @@ module Moov
51
54
  @created_on = created_on
52
55
  @return_url = return_url
53
56
  @terms_of_service_url = terms_of_service_url
57
+ @grant_scopes = grant_scopes
54
58
  @redeemed_account_id = redeemed_account_id
55
59
  @prefill = prefill
56
60
  @partner = partner
@@ -69,6 +73,7 @@ module Moov
69
73
  return false unless @created_on == other.created_on
70
74
  return false unless @return_url == other.return_url
71
75
  return false unless @terms_of_service_url == other.terms_of_service_url
76
+ return false unless @grant_scopes == other.grant_scopes
72
77
  return false unless @redeemed_account_id == other.redeemed_account_id
73
78
  return false unless @prefill == other.prefill
74
79
  return false unless @partner == other.partner
@@ -24,6 +24,8 @@ class Moov::Models::Components::OnboardingInvite
24
24
  def return_url=(str_); end
25
25
  def terms_of_service_url(); end
26
26
  def terms_of_service_url=(str_); end
27
+ def grant_scopes(); end
28
+ def grant_scopes=(str_); end
27
29
  def redeemed_account_id(); end
28
30
  def redeemed_account_id=(str_); end
29
31
  def prefill(); end
@@ -24,16 +24,20 @@ module Moov
24
24
  field :return_url, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('returnURL') } }
25
25
  # Optional URL to your organization's terms of service.
26
26
  field :terms_of_service_url, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('termsOfServiceURL') } }
27
+ # List of [scopes](https://docs.moov.io/api/authentication/scopes/) you grant to allow being used
28
+ # by the new account on yourself. These values are used to determine what the account onboarded can do.
29
+ field :grant_scopes, Crystalline::Nilable.new(Crystalline::Array.new(Models::Components::ApplicationScope)), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('grantScopes') } }
27
30
 
28
31
  field :prefill, Crystalline::Nilable.new(Models::Components::CreateAccount), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('prefill') } }
29
32
 
30
- sig { params(scopes: T::Array[Models::Components::ApplicationScope], capabilities: T::Array[Models::Components::CapabilityID], fee_plan_codes: T::Array[::String], return_url: T.nilable(::String), terms_of_service_url: T.nilable(::String), prefill: T.nilable(Models::Components::CreateAccount)).void }
31
- def initialize(scopes:, capabilities:, fee_plan_codes:, return_url: nil, terms_of_service_url: nil, prefill: nil)
33
+ sig { params(scopes: T::Array[Models::Components::ApplicationScope], capabilities: T::Array[Models::Components::CapabilityID], fee_plan_codes: T::Array[::String], return_url: T.nilable(::String), terms_of_service_url: T.nilable(::String), grant_scopes: T.nilable(T::Array[Models::Components::ApplicationScope]), prefill: T.nilable(Models::Components::CreateAccount)).void }
34
+ def initialize(scopes:, capabilities:, fee_plan_codes:, return_url: nil, terms_of_service_url: nil, grant_scopes: nil, prefill: nil)
32
35
  @scopes = scopes
33
36
  @capabilities = capabilities
34
37
  @fee_plan_codes = fee_plan_codes
35
38
  @return_url = return_url
36
39
  @terms_of_service_url = terms_of_service_url
40
+ @grant_scopes = grant_scopes
37
41
  @prefill = prefill
38
42
  end
39
43
 
@@ -45,6 +49,7 @@ module Moov
45
49
  return false unless @fee_plan_codes == other.fee_plan_codes
46
50
  return false unless @return_url == other.return_url
47
51
  return false unless @terms_of_service_url == other.terms_of_service_url
52
+ return false unless @grant_scopes == other.grant_scopes
48
53
  return false unless @prefill == other.prefill
49
54
  true
50
55
  end
@@ -18,6 +18,8 @@ class Moov::Models::Components::OnboardingInviteRequest
18
18
  def return_url=(str_); end
19
19
  def terms_of_service_url(); end
20
20
  def terms_of_service_url=(str_); end
21
+ def grant_scopes(); end
22
+ def grant_scopes=(str_); end
21
23
  def prefill(); end
22
24
  def prefill=(str_); end
23
25
  end
@@ -95,9 +95,9 @@ module Moov
95
95
  @globals = globals.nil? ? {} : globals
96
96
  @language = 'ruby'
97
97
  @openapi_doc_version = 'latest'
98
- @sdk_version = '0.3.29'
99
- @gen_version = '2.797.1'
100
- @user_agent = 'speakeasy-sdk/ruby 0.3.29 2.797.1 latest moov_ruby'
98
+ @sdk_version = '0.3.31'
99
+ @gen_version = '2.801.0'
100
+ @user_agent = 'speakeasy-sdk/ruby 0.3.31 2.801.0 latest moov_ruby'
101
101
  end
102
102
 
103
103
  sig { returns([String, T::Hash[Symbol, String]]) }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: moov_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.29
4
+ version: 0.3.31
5
5
  platform: ruby
6
6
  authors:
7
7
  - Speakeasy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-01-22 00:00:00.000000000 Z
11
+ date: 2026-01-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: base64