moov_ruby 26.10.0.pre.dev.6 → 26.10.0.pre.dev.8

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.
Files changed (89) hide show
  1. checksums.yaml +4 -4
  2. data/lib/moov/files.rb +186 -0
  3. data/lib/moov/issuing_transactions.rb +123 -0
  4. data/lib/moov/models/components/applicationscope.rb +1 -0
  5. data/lib/moov/models/components/authtokenrequest.rb +6 -2
  6. data/lib/moov/models/components/authtokenrequest.rbi +2 -0
  7. data/lib/moov/models/components/bankaccount.rb +7 -2
  8. data/lib/moov/models/components/bankaccount.rbi +2 -0
  9. data/lib/moov/models/components/bankaccountpayload.rb +7 -2
  10. data/lib/moov/models/components/bankaccountpayload.rbi +2 -0
  11. data/lib/moov/models/components/cardpaymentrefundprocessingdetails.rb +6 -2
  12. data/lib/moov/models/components/cardpaymentrefundprocessingdetails.rbi +2 -0
  13. data/lib/moov/models/components/createdtransfer.rb +2 -1
  14. data/lib/moov/models/components/createinvoice.rb +6 -2
  15. data/lib/moov/models/components/createinvoice.rbi +2 -0
  16. data/lib/moov/models/components/createtransferdestination.rb +2 -6
  17. data/lib/moov/models/components/createtransferdestination.rbi +0 -2
  18. data/lib/moov/models/components/disbursementpaymentmethodtype.rb +1 -0
  19. data/lib/moov/models/components/incurredfee.rb +6 -2
  20. data/lib/moov/models/components/incurredfee.rbi +2 -0
  21. data/lib/moov/models/components/issuedcardactivity.rb +78 -0
  22. data/lib/moov/models/components/issuedcardactivity.rbi +33 -0
  23. data/lib/moov/models/components/issuedcardauthorization.rb +7 -2
  24. data/lib/moov/models/components/issuedcardauthorization.rbi +2 -0
  25. data/lib/moov/models/components/issuedcardauthorizationevent.rb +7 -2
  26. data/lib/moov/models/components/issuedcardauthorizationevent.rbi +2 -0
  27. data/lib/moov/models/components/issuingdeclinereason.rb +35 -0
  28. data/lib/moov/models/components/{wiretransactionstatus.rbi → issuingdeclinereason.rbi} +2 -2
  29. data/lib/moov/models/components/oauth2clienttype.rb +23 -0
  30. data/lib/moov/models/components/{wirefailurecode.rbi → oauth2clienttype.rbi} +2 -2
  31. data/lib/moov/models/components/paymentmethodsbankaccount.rb +7 -2
  32. data/lib/moov/models/components/paymentmethodsbankaccount.rbi +2 -0
  33. data/lib/moov/models/components/paymentmethodtype.rb +0 -1
  34. data/lib/moov/models/components/product.rb +6 -2
  35. data/lib/moov/models/components/product.rbi +2 -0
  36. data/lib/moov/models/components/productrequest.rb +6 -2
  37. data/lib/moov/models/components/productrequest.rbi +2 -0
  38. data/lib/moov/models/components/riskverificationoutcome.rb +23 -0
  39. data/lib/moov/models/components/riskverificationoutcome.rbi +11 -0
  40. data/lib/moov/models/components/transfer.rb +2 -1
  41. data/lib/moov/models/components/transferauthorization.rb +9 -2
  42. data/lib/moov/models/components/transferauthorization.rbi +2 -0
  43. data/lib/moov/models/components/transferoptions.rb +3 -3
  44. data/lib/moov/models/components/transferpaymentmethodsbankaccount.rb +7 -2
  45. data/lib/moov/models/components/transferpaymentmethodsbankaccount.rbi +2 -0
  46. data/lib/moov/models/components/transferpaymentmethodtype.rb +0 -1
  47. data/lib/moov/models/components/transferprocessingdetails.rb +2 -6
  48. data/lib/moov/models/components/transferprocessingdetails.rbi +0 -2
  49. data/lib/moov/models/components/transferrailoptions.rb +2 -6
  50. data/lib/moov/models/components/transferrailoptions.rbi +0 -2
  51. data/lib/moov/models/components/transfertype.rb +0 -1
  52. data/lib/moov/models/components/wallettransactiontype.rb +0 -1
  53. data/lib/moov/models/components/webhookdatatransferstatus.rb +1 -0
  54. data/lib/moov/models/components.rb +4 -9
  55. data/lib/moov/models/errors/createinvoiceerror.rb +6 -2
  56. data/lib/moov/models/errors/createinvoiceerror.rbi +2 -0
  57. data/lib/moov/models/errors/transfer_error.rb +2 -1
  58. data/lib/moov/models/operations/downloadfile_request.rb +36 -0
  59. data/lib/moov/models/operations/downloadfile_request.rbi +15 -0
  60. data/lib/moov/models/operations/downloadfile_response.rb +64 -0
  61. data/lib/moov/models/operations/downloadfile_response.rbi +29 -0
  62. data/lib/moov/models/operations/getpaymentmethod_response.rb +2 -2
  63. data/lib/moov/models/operations/listissuedcardactivity_request.rb +60 -0
  64. data/lib/moov/models/operations/listissuedcardactivity_request.rbi +27 -0
  65. data/lib/moov/models/operations/listissuedcardactivity_response.rb +48 -0
  66. data/lib/moov/models/operations/listissuedcardactivity_response.rbi +21 -0
  67. data/lib/moov/models/operations/listpaymentmethods_response.rb +2 -2
  68. data/lib/moov/models/operations/listtransfers_request.rb +6 -2
  69. data/lib/moov/models/operations/listtransfers_request.rbi +2 -0
  70. data/lib/moov/models/operations.rb +4 -0
  71. data/lib/moov/payment_methods.rb +2 -2
  72. data/lib/moov/sdkconfiguration.rb +3 -3
  73. metadata +18 -20
  74. data/lib/moov/models/components/createtransferdestinationwire.rb +0 -32
  75. data/lib/moov/models/components/createtransferdestinationwire.rbi +0 -13
  76. data/lib/moov/models/components/wirecreditpaymentmethod.rb +0 -40
  77. data/lib/moov/models/components/wirecreditpaymentmethod.rbi +0 -17
  78. data/lib/moov/models/components/wirecreditpaymentmethod_paymentmethodtype.rb +0 -18
  79. data/lib/moov/models/components/wirecreditpaymentmethod_paymentmethodtype.rbi +0 -11
  80. data/lib/moov/models/components/wirecredittransferpaymentmethod.rb +0 -40
  81. data/lib/moov/models/components/wirecredittransferpaymentmethod.rbi +0 -17
  82. data/lib/moov/models/components/wirecredittransferpaymentmethod_paymentmethodtype.rb +0 -18
  83. data/lib/moov/models/components/wirecredittransferpaymentmethod_paymentmethodtype.rbi +0 -11
  84. data/lib/moov/models/components/wirefailurecode.rb +0 -28
  85. data/lib/moov/models/components/wireoptions.rb +0 -32
  86. data/lib/moov/models/components/wireoptions.rbi +0 -13
  87. data/lib/moov/models/components/wiretransactionstatus.rb +0 -23
  88. data/lib/moov/models/components/wiretransferprocessingdetails.rb +0 -40
  89. data/lib/moov/models/components/wiretransferprocessingdetails.rbi +0 -17
@@ -20,6 +20,4 @@ class Moov::Models::Components::TransferProcessingDetails
20
20
  def ach_credit=(str_); end
21
21
  def instant_bank_credit(); end
22
22
  def instant_bank_credit=(str_); end
23
- def wire(); end
24
- def wire=(str_); end
25
23
  end
@@ -22,17 +22,14 @@ module Moov
22
22
  field :ach_debit, Crystalline::Nilable.new(Models::Components::ACHDebitOptions), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('achDebit') } }
23
23
 
24
24
  field :ach_credit, Crystalline::Nilable.new(Models::Components::ACHCreditOptions), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('achCredit') } }
25
- # Wire-specific options returned on a transfer.
26
- field :wire, Crystalline::Nilable.new(Models::Components::WireOptions), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('wire') } }
27
25
 
28
- sig { params(card_payment: T.nilable(Models::Components::CardPaymentOptions), push_to_card: T.nilable(Models::Components::PushToCardOptions), pull_from_card: T.nilable(Models::Components::PullFromCardOptions), ach_debit: T.nilable(Models::Components::ACHDebitOptions), ach_credit: T.nilable(Models::Components::ACHCreditOptions), wire: T.nilable(Models::Components::WireOptions)).void }
29
- def initialize(card_payment: nil, push_to_card: nil, pull_from_card: nil, ach_debit: nil, ach_credit: nil, wire: nil)
26
+ sig { params(card_payment: T.nilable(Models::Components::CardPaymentOptions), push_to_card: T.nilable(Models::Components::PushToCardOptions), pull_from_card: T.nilable(Models::Components::PullFromCardOptions), ach_debit: T.nilable(Models::Components::ACHDebitOptions), ach_credit: T.nilable(Models::Components::ACHCreditOptions)).void }
27
+ def initialize(card_payment: nil, push_to_card: nil, pull_from_card: nil, ach_debit: nil, ach_credit: nil)
30
28
  @card_payment = card_payment
31
29
  @push_to_card = push_to_card
32
30
  @pull_from_card = pull_from_card
33
31
  @ach_debit = ach_debit
34
32
  @ach_credit = ach_credit
35
- @wire = wire
36
33
  end
37
34
 
38
35
  sig { params(other: T.untyped).returns(T::Boolean) }
@@ -43,7 +40,6 @@ module Moov
43
40
  return false unless @pull_from_card == other.pull_from_card
44
41
  return false unless @ach_debit == other.ach_debit
45
42
  return false unless @ach_credit == other.ach_credit
46
- return false unless @wire == other.wire
47
43
  true
48
44
  end
49
45
  end
@@ -18,6 +18,4 @@ class Moov::Models::Components::TransferRailOptions
18
18
  def ach_debit=(str_); end
19
19
  def ach_credit(); end
20
20
  def ach_credit=(str_); end
21
- def wire(); end
22
- def wire=(str_); end
23
21
  end
@@ -19,7 +19,6 @@ module Moov
19
19
  ACH_DEBIT_TO_ACH_CREDIT = new('ach-debit-to-ach-credit')
20
20
  INSTANT_BANK_CREDIT = new('instant-bank-credit')
21
21
  WALLET = new('wallet')
22
- WIRE_CREDIT = new('wire-credit')
23
22
  end
24
23
  open!
25
24
  end
@@ -39,7 +39,6 @@ module Moov
39
39
  FEE_REVENUE = new('fee-revenue')
40
40
  RESIDUAL = new('residual')
41
41
  INSTANT_BANK_FAILURE = new('instant-bank-failure')
42
- WIRE_FAILURE = new('wire-failure')
43
42
  end
44
43
  open!
45
44
  end
@@ -27,6 +27,7 @@ module Moov
27
27
  SOURCE_SETTLED = new('source.settled')
28
28
  SOURCE_FAILED = new('source.failed')
29
29
  SOURCE_CANCELED = new('source.canceled')
30
+ SOURCE_CLEARED_EXTERNALLY = new('source.cleared-externally')
30
31
  DESTINATION_COMPLETED = new('destination.completed')
31
32
  DESTINATION_CORRECTED = new('destination.corrected')
32
33
  DESTINATION_INITIATED = new('destination.initiated')
@@ -248,7 +248,6 @@ module Moov
248
248
  autoload :CreateTransferDestination, 'moov/models/components/createtransferdestination.rb'
249
249
  autoload :CreateTransferDestinationACH, 'moov/models/components/createtransferdestinationach.rb'
250
250
  autoload :CreateTransferDestinationCard, 'moov/models/components/createtransferdestinationcard.rb'
251
- autoload :CreateTransferDestinationWire, 'moov/models/components/createtransferdestinationwire.rb'
252
251
  autoload :CreateTransferFacilitatorFee, 'moov/models/components/createtransferfacilitatorfee.rb'
253
252
  autoload :CreateTransferLineItem, 'moov/models/components/createtransferlineitem.rb'
254
253
  autoload :CreateTransferLineItemOption, 'moov/models/components/createtransferlineitemoption.rb'
@@ -376,6 +375,7 @@ module Moov
376
375
  autoload :InvoiceStatus, 'moov/models/components/invoicestatus.rb'
377
376
  autoload :InvoiceTransferPayment, 'moov/models/components/invoicetransferpayment.rb'
378
377
  autoload :IssuedCard, 'moov/models/components/issuedcard.rb'
378
+ autoload :IssuedCardActivity, 'moov/models/components/issuedcardactivity.rb'
379
379
  autoload :IssuedCardAuthorization, 'moov/models/components/issuedcardauthorization.rb'
380
380
  autoload :IssuedCardAuthorizationEvent, 'moov/models/components/issuedcardauthorizationevent.rb'
381
381
  autoload :IssuedCardAuthorizationEventResult, 'moov/models/components/issuedcardauthorizationeventresult.rb'
@@ -391,6 +391,7 @@ module Moov
391
391
  autoload :IssuingControlsError, 'moov/models/components/issuingcontrolserror.rb'
392
392
  autoload :IssuingControlsRestrictionMode, 'moov/models/components/issuingcontrolsrestrictionmode.rb'
393
393
  autoload :IssuingControlsAllowedSchedule, 'moov/models/components/issuingcontrols_allowedschedule.rb'
394
+ autoload :IssuingDeclineReason, 'moov/models/components/issuingdeclinereason.rb'
394
395
  autoload :IssuingIntervalLimit, 'moov/models/components/issuingintervallimit.rb'
395
396
  autoload :IssuingMerchantCategory, 'moov/models/components/issuingmerchantcategory.rb'
396
397
  autoload :IssuingMerchantData, 'moov/models/components/issuingmerchantdata.rb'
@@ -440,6 +441,7 @@ module Moov
440
441
  autoload :MoovWalletTransferPaymentMethod, 'moov/models/components/moovwallettransferpaymentmethod.rb'
441
442
  autoload :MoovWalletTransferPaymentMethodPaymentMethodType, 'moov/models/components/moovwallettransferpaymentmethod_paymentmethodtype.rb'
442
443
  autoload :MxPayload, 'moov/models/components/mxpayload.rb'
444
+ autoload :OAuth2ClientType, 'moov/models/components/oauth2clienttype.rb'
443
445
  autoload :Occurrence, 'moov/models/components/occurrence.rb'
444
446
  autoload :OccurrenceStatus, 'moov/models/components/occurrencestatus.rb'
445
447
  autoload :OccurrencesResponse, 'moov/models/components/occurrencesresponse.rb'
@@ -576,6 +578,7 @@ module Moov
576
578
  autoload :ReversedWithCancellation, 'moov/models/components/reversedwithcancellation.rb'
577
579
  autoload :ReversedWithRefund, 'moov/models/components/reversedwithrefund.rb'
578
580
  autoload :RevokeTokenRequest, 'moov/models/components/revoketokenrequest.rb'
581
+ autoload :RiskVerificationOutcome, 'moov/models/components/riskverificationoutcome.rb'
579
582
  autoload :RtpCreditPaymentMethod, 'moov/models/components/rtpcreditpaymentmethod.rb'
580
583
  autoload :RtpCreditPaymentMethodPaymentMethodType, 'moov/models/components/rtpcreditpaymentmethod_paymentmethodtype.rb'
581
584
  autoload :RtpCreditTransferPaymentMethod, 'moov/models/components/rtpcredittransferpaymentmethod.rb'
@@ -766,16 +769,8 @@ module Moov
766
769
  autoload :WebhookSecret, 'moov/models/components/webhooksecret.rb'
767
770
  autoload :WebhookStatus, 'moov/models/components/webhookstatus.rb'
768
771
  autoload :WebhookTransferPaymentMethodDetails, 'moov/models/components/webhooktransferpaymentmethoddetails.rb'
769
- autoload :WireCreditPaymentMethod, 'moov/models/components/wirecreditpaymentmethod.rb'
770
- autoload :WireCreditPaymentMethodPaymentMethodType, 'moov/models/components/wirecreditpaymentmethod_paymentmethodtype.rb'
771
- autoload :WireCreditTransferPaymentMethod, 'moov/models/components/wirecredittransferpaymentmethod.rb'
772
- autoload :WireCreditTransferPaymentMethodPaymentMethodType, 'moov/models/components/wirecredittransferpaymentmethod_paymentmethodtype.rb'
773
- autoload :WireFailureCode, 'moov/models/components/wirefailurecode.rb'
774
772
  autoload :WireInstitution, 'moov/models/components/wireinstitution.rb'
775
- autoload :WireOptions, 'moov/models/components/wireoptions.rb'
776
773
  autoload :WireServices, 'moov/models/components/wireservices.rb'
777
- autoload :WireTransactionStatus, 'moov/models/components/wiretransactionstatus.rb'
778
- autoload :WireTransferProcessingDetails, 'moov/models/components/wiretransferprocessingdetails.rb'
779
774
  autoload :AchDetails, 'moov/models/components/achdetails.rb'
780
775
  autoload :AchPayment, 'moov/models/components/achpayment.rb'
781
776
  autoload :AuthMethod, 'moov/models/components/authmethod.rb'
@@ -15,6 +15,8 @@ module Moov
15
15
 
16
16
  field :customer_account_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('customerAccountID') } }
17
17
 
18
+ field :customer_email, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('customerEmail') } }
19
+
18
20
  field :description, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('description') } }
19
21
 
20
22
  field :line_items, Crystalline::Nilable.new(Models::Components::CreateInvoiceLineItemsValidationError), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('lineItems') } }
@@ -27,9 +29,10 @@ module Moov
27
29
  # Raw HTTP response; suitable for custom response parsing
28
30
  field :raw_response, Crystalline::Nilable.new(::Faraday::Response), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('-') } }
29
31
 
30
- sig { params(customer_account_id: T.nilable(::String), description: T.nilable(::String), line_items: T.nilable(Models::Components::CreateInvoiceLineItemsValidationError), invoice_date: T.nilable(::String), due_date: T.nilable(::String), amount_details: T.nilable(Models::Components::AmountDetailsValidationError), raw_response: T.nilable(::Faraday::Response)).void }
31
- def initialize(customer_account_id: nil, description: nil, line_items: nil, invoice_date: nil, due_date: nil, amount_details: nil, raw_response: nil)
32
+ sig { params(customer_account_id: T.nilable(::String), customer_email: T.nilable(::String), description: T.nilable(::String), line_items: T.nilable(Models::Components::CreateInvoiceLineItemsValidationError), invoice_date: T.nilable(::String), due_date: T.nilable(::String), amount_details: T.nilable(Models::Components::AmountDetailsValidationError), raw_response: T.nilable(::Faraday::Response)).void }
33
+ def initialize(customer_account_id: nil, customer_email: nil, description: nil, line_items: nil, invoice_date: nil, due_date: nil, amount_details: nil, raw_response: nil)
32
34
  @customer_account_id = customer_account_id
35
+ @customer_email = customer_email
33
36
  @description = description
34
37
  @line_items = line_items
35
38
  @invoice_date = invoice_date
@@ -42,6 +45,7 @@ module Moov
42
45
  def ==(other)
43
46
  return false unless other.is_a? self.class
44
47
  return false unless @customer_account_id == other.customer_account_id
48
+ return false unless @customer_email == other.customer_email
45
49
  return false unless @description == other.description
46
50
  return false unless @line_items == other.line_items
47
51
  return false unless @invoice_date == other.invoice_date
@@ -10,6 +10,8 @@ end
10
10
  class Moov::Models::Errors::CreateInvoiceError
11
11
  def customer_account_id(); end
12
12
  def customer_account_id=(str_); end
13
+ def customer_email(); end
14
+ def customer_email=(str_); end
13
15
  def description(); end
14
16
  def description=(str_); end
15
17
  def line_items(); end
@@ -70,7 +70,8 @@ module Moov
70
70
  field :line_items, Crystalline::Nilable.new(Models::Components::TransferLineItems), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('lineItems') } }
71
71
  # ID of the invoice that the transfer is associated with.
72
72
  field :invoice_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('invoiceID') } }
73
-
73
+ # The tip, tax, and surcharge portion of the transfer amount.
74
+ # For an auth-capture `card-payment` transfer, this is the aggregate of all captures' `amountDetails`.
74
75
  field :amount_details, Crystalline::Nilable.new(Models::Components::TransferAmountDetails), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('amountDetails') } }
75
76
  # Authorization amounts.
76
77
  # This field is present only for an auth-capture `card-payment` transfer.
@@ -0,0 +1,36 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module Moov
8
+ module Models
9
+ module Operations
10
+
11
+ class DownloadFileRequest
12
+ extend T::Sig
13
+ include Crystalline::MetadataFields
14
+
15
+
16
+ field :account_id, ::String, { 'path_param': { 'field_name': 'accountID', 'style': 'simple', 'explode': false } }
17
+
18
+ field :file_id, ::String, { 'path_param': { 'field_name': 'fileID', 'style': 'simple', 'explode': false } }
19
+
20
+ sig { params(account_id: ::String, file_id: ::String).void }
21
+ def initialize(account_id:, file_id:)
22
+ @account_id = account_id
23
+ @file_id = file_id
24
+ end
25
+
26
+ sig { params(other: T.untyped).returns(T::Boolean) }
27
+ def ==(other)
28
+ return false unless other.is_a? self.class
29
+ return false unless @account_id == other.account_id
30
+ return false unless @file_id == other.file_id
31
+ true
32
+ end
33
+ end
34
+ end
35
+ end
36
+ end
@@ -0,0 +1,15 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+
5
+ class Moov::Models::Operations::DownloadFileRequest
6
+ extend ::Crystalline::MetadataFields::ClassMethods
7
+ end
8
+
9
+
10
+ class Moov::Models::Operations::DownloadFileRequest
11
+ def account_id(); end
12
+ def account_id=(str_); end
13
+ def file_id(); end
14
+ def file_id=(str_); end
15
+ end
@@ -0,0 +1,64 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module Moov
8
+ module Models
9
+ module Operations
10
+
11
+ class DownloadFileResponse
12
+ extend T::Sig
13
+ include Crystalline::MetadataFields
14
+
15
+ # HTTP response content type for this operation
16
+ field :content_type, ::String
17
+ # HTTP response status code for this operation
18
+ field :status_code, ::Integer
19
+ # Raw HTTP response; suitable for custom response parsing
20
+ field :raw_response, ::Faraday::Response
21
+
22
+ field :headers, Crystalline::Hash.new(Symbol, Crystalline::Array.new(::String))
23
+ # Response body for returning the raw contents of a file.
24
+ field :two_hundred_application_pdf_bytes, Crystalline::Nilable.new(::String)
25
+ # Response body for returning the raw contents of a file.
26
+ field :two_hundred_image_png_bytes, Crystalline::Nilable.new(::String)
27
+ # Response body for returning the raw contents of a file.
28
+ field :two_hundred_image_jpeg_bytes, Crystalline::Nilable.new(::String)
29
+ # Response body for returning the raw contents of a file.
30
+ field :two_hundred_text_plain_bytes, Crystalline::Nilable.new(::String)
31
+ # Response body for returning the raw contents of a file.
32
+ field :two_hundred_application_octet_stream_bytes, Crystalline::Nilable.new(::String)
33
+
34
+ sig { params(content_type: ::String, status_code: ::Integer, raw_response: ::Faraday::Response, headers: T::Hash[Symbol, T::Array[::String]], two_hundred_application_pdf_bytes: T.nilable(::String), two_hundred_image_png_bytes: T.nilable(::String), two_hundred_image_jpeg_bytes: T.nilable(::String), two_hundred_text_plain_bytes: T.nilable(::String), two_hundred_application_octet_stream_bytes: T.nilable(::String)).void }
35
+ def initialize(content_type:, status_code:, raw_response:, headers:, two_hundred_application_pdf_bytes: nil, two_hundred_image_png_bytes: nil, two_hundred_image_jpeg_bytes: nil, two_hundred_text_plain_bytes: nil, two_hundred_application_octet_stream_bytes: nil)
36
+ @content_type = content_type
37
+ @status_code = status_code
38
+ @raw_response = raw_response
39
+ @headers = headers
40
+ @two_hundred_application_pdf_bytes = two_hundred_application_pdf_bytes
41
+ @two_hundred_image_png_bytes = two_hundred_image_png_bytes
42
+ @two_hundred_image_jpeg_bytes = two_hundred_image_jpeg_bytes
43
+ @two_hundred_text_plain_bytes = two_hundred_text_plain_bytes
44
+ @two_hundred_application_octet_stream_bytes = two_hundred_application_octet_stream_bytes
45
+ end
46
+
47
+ sig { params(other: T.untyped).returns(T::Boolean) }
48
+ def ==(other)
49
+ return false unless other.is_a? self.class
50
+ return false unless @content_type == other.content_type
51
+ return false unless @status_code == other.status_code
52
+ return false unless @raw_response == other.raw_response
53
+ return false unless @headers == other.headers
54
+ return false unless @two_hundred_application_pdf_bytes == other.two_hundred_application_pdf_bytes
55
+ return false unless @two_hundred_image_png_bytes == other.two_hundred_image_png_bytes
56
+ return false unless @two_hundred_image_jpeg_bytes == other.two_hundred_image_jpeg_bytes
57
+ return false unless @two_hundred_text_plain_bytes == other.two_hundred_text_plain_bytes
58
+ return false unless @two_hundred_application_octet_stream_bytes == other.two_hundred_application_octet_stream_bytes
59
+ true
60
+ end
61
+ end
62
+ end
63
+ end
64
+ end
@@ -0,0 +1,29 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+
5
+ class Moov::Models::Operations::DownloadFileResponse
6
+ extend ::Crystalline::MetadataFields::ClassMethods
7
+ end
8
+
9
+
10
+ class Moov::Models::Operations::DownloadFileResponse
11
+ def content_type(); end
12
+ def content_type=(str_); end
13
+ def status_code(); end
14
+ def status_code=(str_); end
15
+ def raw_response(); end
16
+ def raw_response=(str_); end
17
+ def headers(); end
18
+ def headers=(str_); end
19
+ def two_hundred_application_pdf_bytes(); end
20
+ def two_hundred_application_pdf_bytes=(str_); end
21
+ def two_hundred_image_png_bytes(); end
22
+ def two_hundred_image_png_bytes=(str_); end
23
+ def two_hundred_image_jpeg_bytes(); end
24
+ def two_hundred_image_jpeg_bytes=(str_); end
25
+ def two_hundred_text_plain_bytes(); end
26
+ def two_hundred_text_plain_bytes=(str_); end
27
+ def two_hundred_application_octet_stream_bytes(); end
28
+ def two_hundred_application_octet_stream_bytes=(str_); end
29
+ end
@@ -21,9 +21,9 @@ module Moov
21
21
 
22
22
  field :headers, Crystalline::Hash.new(Symbol, Crystalline::Array.new(::String))
23
23
  # The request completed successfully.
24
- field :payment_method, Crystalline::Nilable.new(Crystalline::Union.new(Models::Components::MoovWalletPaymentMethod, Models::Components::AchDebitFundPaymentMethod, Models::Components::AchDebitCollectPaymentMethod, Models::Components::AchCreditStandardPaymentMethod, Models::Components::AchCreditSameDayPaymentMethod, Models::Components::RtpCreditPaymentMethod, Models::Components::CardPaymentPaymentMethod, Models::Components::PushToCardPaymentMethod, Models::Components::PullFromCardPaymentMethod, Models::Components::ApplePayPaymentMethod, Models::Components::CardPresentPaymentPaymentMethod, Models::Components::InstantBankCreditPaymentMethod, Models::Components::PushToApplePayPaymentMethod, Models::Components::PullFromApplePayPaymentMethod, Models::Components::GooglePayPaymentMethod, Models::Components::PushToGooglePayPaymentMethod, Models::Components::PullFromGooglePayPaymentMethod, Models::Components::WireCreditPaymentMethod))
24
+ field :payment_method, Crystalline::Nilable.new(Crystalline::Union.new(Models::Components::MoovWalletPaymentMethod, Models::Components::AchDebitFundPaymentMethod, Models::Components::AchDebitCollectPaymentMethod, Models::Components::AchCreditStandardPaymentMethod, Models::Components::AchCreditSameDayPaymentMethod, Models::Components::RtpCreditPaymentMethod, Models::Components::CardPaymentPaymentMethod, Models::Components::PushToCardPaymentMethod, Models::Components::PullFromCardPaymentMethod, Models::Components::ApplePayPaymentMethod, Models::Components::CardPresentPaymentPaymentMethod, Models::Components::InstantBankCreditPaymentMethod, Models::Components::PushToApplePayPaymentMethod, Models::Components::PullFromApplePayPaymentMethod, Models::Components::GooglePayPaymentMethod, Models::Components::PushToGooglePayPaymentMethod, Models::Components::PullFromGooglePayPaymentMethod))
25
25
 
26
- sig { params(content_type: ::String, status_code: ::Integer, raw_response: ::Faraday::Response, headers: T::Hash[Symbol, T::Array[::String]], payment_method: T.nilable(T.any(Models::Components::MoovWalletPaymentMethod, Models::Components::AchDebitFundPaymentMethod, Models::Components::AchDebitCollectPaymentMethod, Models::Components::AchCreditStandardPaymentMethod, Models::Components::AchCreditSameDayPaymentMethod, Models::Components::RtpCreditPaymentMethod, Models::Components::CardPaymentPaymentMethod, Models::Components::PushToCardPaymentMethod, Models::Components::PullFromCardPaymentMethod, Models::Components::ApplePayPaymentMethod, Models::Components::CardPresentPaymentPaymentMethod, Models::Components::InstantBankCreditPaymentMethod, Models::Components::PushToApplePayPaymentMethod, Models::Components::PullFromApplePayPaymentMethod, Models::Components::GooglePayPaymentMethod, Models::Components::PushToGooglePayPaymentMethod, Models::Components::PullFromGooglePayPaymentMethod, Models::Components::WireCreditPaymentMethod))).void }
26
+ sig { params(content_type: ::String, status_code: ::Integer, raw_response: ::Faraday::Response, headers: T::Hash[Symbol, T::Array[::String]], payment_method: T.nilable(T.any(Models::Components::MoovWalletPaymentMethod, Models::Components::AchDebitFundPaymentMethod, Models::Components::AchDebitCollectPaymentMethod, Models::Components::AchCreditStandardPaymentMethod, Models::Components::AchCreditSameDayPaymentMethod, Models::Components::RtpCreditPaymentMethod, Models::Components::CardPaymentPaymentMethod, Models::Components::PushToCardPaymentMethod, Models::Components::PullFromCardPaymentMethod, Models::Components::ApplePayPaymentMethod, Models::Components::CardPresentPaymentPaymentMethod, Models::Components::InstantBankCreditPaymentMethod, Models::Components::PushToApplePayPaymentMethod, Models::Components::PullFromApplePayPaymentMethod, Models::Components::GooglePayPaymentMethod, Models::Components::PushToGooglePayPaymentMethod, Models::Components::PullFromGooglePayPaymentMethod))).void }
27
27
  def initialize(content_type:, status_code:, raw_response:, headers:, payment_method: nil)
28
28
  @content_type = content_type
29
29
  @status_code = status_code
@@ -0,0 +1,60 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module Moov
8
+ module Models
9
+ module Operations
10
+
11
+ class ListIssuedCardActivityRequest
12
+ extend T::Sig
13
+ include Crystalline::MetadataFields
14
+
15
+ # The Moov business account for which cards have been issued.
16
+ field :account_id, ::String, { 'path_param': { 'field_name': 'accountID', 'style': 'simple', 'explode': false } }
17
+
18
+ field :skip, Crystalline::Nilable.new(::Integer), { 'query_param': { 'field_name': 'skip', 'style': 'form', 'explode': false } }
19
+ # Page size. When omitted, the server defaults to `200`.
20
+ field :count, Crystalline::Nilable.new(::Integer), { 'query_param': { 'field_name': 'count', 'style': 'form', 'explode': false } }
21
+ # Optional ID of the issued card to filter results.
22
+ field :issued_card_id, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'issuedCardID', 'style': 'form', 'explode': false } }
23
+ # Optional identifier for the account of the card's authorized user.
24
+ field :authorized_user_account_id, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'authorizedUserAccountID', 'style': 'form', 'explode': false } }
25
+ # Optional, comma-separated statuses of the activity to filter results.
26
+ field :statuses, Crystalline::Nilable.new(Crystalline::Array.new(Models::Components::IssuingAuthorizationStatus)), { 'query_param': { 'field_name': 'statuses', 'style': 'form', 'explode': false } }
27
+ # Optional date-time which inclusively filters all activity created after this date-time.
28
+ field :start_date_time, Crystalline::Nilable.new(::DateTime), { 'query_param': { 'field_name': 'startDateTime', 'style': 'form', 'explode': false } }
29
+ # Optional date-time which exclusively filters all activity created before this date-time.
30
+ field :end_date_time, Crystalline::Nilable.new(::DateTime), { 'query_param': { 'field_name': 'endDateTime', 'style': 'form', 'explode': false } }
31
+
32
+ sig { params(account_id: ::String, skip: T.nilable(::Integer), count: T.nilable(::Integer), issued_card_id: T.nilable(::String), authorized_user_account_id: T.nilable(::String), statuses: T.nilable(T::Array[Models::Components::IssuingAuthorizationStatus]), start_date_time: T.nilable(::DateTime), end_date_time: T.nilable(::DateTime)).void }
33
+ def initialize(account_id:, skip: nil, count: nil, issued_card_id: nil, authorized_user_account_id: nil, statuses: nil, start_date_time: nil, end_date_time: nil)
34
+ @account_id = account_id
35
+ @skip = skip
36
+ @count = count
37
+ @issued_card_id = issued_card_id
38
+ @authorized_user_account_id = authorized_user_account_id
39
+ @statuses = statuses
40
+ @start_date_time = start_date_time
41
+ @end_date_time = end_date_time
42
+ end
43
+
44
+ sig { params(other: T.untyped).returns(T::Boolean) }
45
+ def ==(other)
46
+ return false unless other.is_a? self.class
47
+ return false unless @account_id == other.account_id
48
+ return false unless @skip == other.skip
49
+ return false unless @count == other.count
50
+ return false unless @issued_card_id == other.issued_card_id
51
+ return false unless @authorized_user_account_id == other.authorized_user_account_id
52
+ return false unless @statuses == other.statuses
53
+ return false unless @start_date_time == other.start_date_time
54
+ return false unless @end_date_time == other.end_date_time
55
+ true
56
+ end
57
+ end
58
+ end
59
+ end
60
+ end
@@ -0,0 +1,27 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+
5
+ class Moov::Models::Operations::ListIssuedCardActivityRequest
6
+ extend ::Crystalline::MetadataFields::ClassMethods
7
+ end
8
+
9
+
10
+ class Moov::Models::Operations::ListIssuedCardActivityRequest
11
+ def account_id(); end
12
+ def account_id=(str_); end
13
+ def skip(); end
14
+ def skip=(str_); end
15
+ def count(); end
16
+ def count=(str_); end
17
+ def issued_card_id(); end
18
+ def issued_card_id=(str_); end
19
+ def authorized_user_account_id(); end
20
+ def authorized_user_account_id=(str_); end
21
+ def statuses(); end
22
+ def statuses=(str_); end
23
+ def start_date_time(); end
24
+ def start_date_time=(str_); end
25
+ def end_date_time(); end
26
+ def end_date_time=(str_); end
27
+ end
@@ -0,0 +1,48 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module Moov
8
+ module Models
9
+ module Operations
10
+
11
+ class ListIssuedCardActivityResponse
12
+ extend T::Sig
13
+ include Crystalline::MetadataFields
14
+
15
+ # HTTP response content type for this operation
16
+ field :content_type, ::String
17
+ # HTTP response status code for this operation
18
+ field :status_code, ::Integer
19
+ # Raw HTTP response; suitable for custom response parsing
20
+ field :raw_response, ::Faraday::Response
21
+
22
+ field :headers, Crystalline::Hash.new(Symbol, Crystalline::Array.new(::String))
23
+ # The request completed successfully.
24
+ field :issued_card_activities, Crystalline::Nilable.new(Crystalline::Array.new(Models::Components::IssuedCardActivity))
25
+
26
+ sig { params(content_type: ::String, status_code: ::Integer, raw_response: ::Faraday::Response, headers: T::Hash[Symbol, T::Array[::String]], issued_card_activities: T.nilable(T::Array[Models::Components::IssuedCardActivity])).void }
27
+ def initialize(content_type:, status_code:, raw_response:, headers:, issued_card_activities: nil)
28
+ @content_type = content_type
29
+ @status_code = status_code
30
+ @raw_response = raw_response
31
+ @headers = headers
32
+ @issued_card_activities = issued_card_activities
33
+ end
34
+
35
+ sig { params(other: T.untyped).returns(T::Boolean) }
36
+ def ==(other)
37
+ return false unless other.is_a? self.class
38
+ return false unless @content_type == other.content_type
39
+ return false unless @status_code == other.status_code
40
+ return false unless @raw_response == other.raw_response
41
+ return false unless @headers == other.headers
42
+ return false unless @issued_card_activities == other.issued_card_activities
43
+ true
44
+ end
45
+ end
46
+ end
47
+ end
48
+ end
@@ -0,0 +1,21 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+
5
+ class Moov::Models::Operations::ListIssuedCardActivityResponse
6
+ extend ::Crystalline::MetadataFields::ClassMethods
7
+ end
8
+
9
+
10
+ class Moov::Models::Operations::ListIssuedCardActivityResponse
11
+ def content_type(); end
12
+ def content_type=(str_); end
13
+ def status_code(); end
14
+ def status_code=(str_); end
15
+ def raw_response(); end
16
+ def raw_response=(str_); end
17
+ def headers(); end
18
+ def headers=(str_); end
19
+ def issued_card_activities(); end
20
+ def issued_card_activities=(str_); end
21
+ end
@@ -21,9 +21,9 @@ module Moov
21
21
 
22
22
  field :headers, Crystalline::Hash.new(Symbol, Crystalline::Array.new(::String))
23
23
  # The request completed successfully.
24
- field :payment_methods, Crystalline::Nilable.new(Crystalline::Array.new(Crystalline::Union.new(Models::Components::MoovWalletPaymentMethod, Models::Components::AchDebitFundPaymentMethod, Models::Components::AchDebitCollectPaymentMethod, Models::Components::AchCreditStandardPaymentMethod, Models::Components::AchCreditSameDayPaymentMethod, Models::Components::RtpCreditPaymentMethod, Models::Components::CardPaymentPaymentMethod, Models::Components::PushToCardPaymentMethod, Models::Components::PullFromCardPaymentMethod, Models::Components::ApplePayPaymentMethod, Models::Components::CardPresentPaymentPaymentMethod, Models::Components::InstantBankCreditPaymentMethod, Models::Components::PushToApplePayPaymentMethod, Models::Components::PullFromApplePayPaymentMethod, Models::Components::GooglePayPaymentMethod, Models::Components::PushToGooglePayPaymentMethod, Models::Components::PullFromGooglePayPaymentMethod, Models::Components::WireCreditPaymentMethod)))
24
+ field :payment_methods, Crystalline::Nilable.new(Crystalline::Array.new(Crystalline::Union.new(Models::Components::MoovWalletPaymentMethod, Models::Components::AchDebitFundPaymentMethod, Models::Components::AchDebitCollectPaymentMethod, Models::Components::AchCreditStandardPaymentMethod, Models::Components::AchCreditSameDayPaymentMethod, Models::Components::RtpCreditPaymentMethod, Models::Components::CardPaymentPaymentMethod, Models::Components::PushToCardPaymentMethod, Models::Components::PullFromCardPaymentMethod, Models::Components::ApplePayPaymentMethod, Models::Components::CardPresentPaymentPaymentMethod, Models::Components::InstantBankCreditPaymentMethod, Models::Components::PushToApplePayPaymentMethod, Models::Components::PullFromApplePayPaymentMethod, Models::Components::GooglePayPaymentMethod, Models::Components::PushToGooglePayPaymentMethod, Models::Components::PullFromGooglePayPaymentMethod)))
25
25
 
26
- sig { params(content_type: ::String, status_code: ::Integer, raw_response: ::Faraday::Response, headers: T::Hash[Symbol, T::Array[::String]], payment_methods: T.nilable(T::Array[T.any(Models::Components::MoovWalletPaymentMethod, Models::Components::AchDebitFundPaymentMethod, Models::Components::AchDebitCollectPaymentMethod, Models::Components::AchCreditStandardPaymentMethod, Models::Components::AchCreditSameDayPaymentMethod, Models::Components::RtpCreditPaymentMethod, Models::Components::CardPaymentPaymentMethod, Models::Components::PushToCardPaymentMethod, Models::Components::PullFromCardPaymentMethod, Models::Components::ApplePayPaymentMethod, Models::Components::CardPresentPaymentPaymentMethod, Models::Components::InstantBankCreditPaymentMethod, Models::Components::PushToApplePayPaymentMethod, Models::Components::PullFromApplePayPaymentMethod, Models::Components::GooglePayPaymentMethod, Models::Components::PushToGooglePayPaymentMethod, Models::Components::PullFromGooglePayPaymentMethod, Models::Components::WireCreditPaymentMethod)])).void }
26
+ sig { params(content_type: ::String, status_code: ::Integer, raw_response: ::Faraday::Response, headers: T::Hash[Symbol, T::Array[::String]], payment_methods: T.nilable(T::Array[T.any(Models::Components::MoovWalletPaymentMethod, Models::Components::AchDebitFundPaymentMethod, Models::Components::AchDebitCollectPaymentMethod, Models::Components::AchCreditStandardPaymentMethod, Models::Components::AchCreditSameDayPaymentMethod, Models::Components::RtpCreditPaymentMethod, Models::Components::CardPaymentPaymentMethod, Models::Components::PushToCardPaymentMethod, Models::Components::PullFromCardPaymentMethod, Models::Components::ApplePayPaymentMethod, Models::Components::CardPresentPaymentPaymentMethod, Models::Components::InstantBankCreditPaymentMethod, Models::Components::PushToApplePayPaymentMethod, Models::Components::PullFromApplePayPaymentMethod, Models::Components::GooglePayPaymentMethod, Models::Components::PushToGooglePayPaymentMethod, Models::Components::PullFromGooglePayPaymentMethod)])).void }
27
27
  def initialize(content_type:, status_code:, raw_response:, headers:, payment_methods: nil)
28
28
  @content_type = content_type
29
29
  @status_code = status_code
@@ -36,6 +36,8 @@ module Moov
36
36
  field :foreign_id, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'foreignID', 'style': 'form', 'explode': false } }
37
37
  # Optional comma-separated authorization IDs.
38
38
  field :authorization_i_ds, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'query_param': { 'field_name': 'authorizationIDs', 'style': 'form', 'explode': false } }
39
+ # Optional comma-separated invoice IDs.
40
+ field :invoice_i_ds, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'query_param': { 'field_name': 'invoiceIDs', 'style': 'form', 'explode': false } }
39
41
  # Optional, comma-separated transfer types by which the response is filtered.
40
42
  field :transfer_types, Crystalline::Nilable.new(Crystalline::Array.new(Models::Components::TransferType)), { 'query_param': { 'field_name': 'transferTypes', 'style': 'form', 'explode': false } }
41
43
 
@@ -43,8 +45,8 @@ module Moov
43
45
  # Page size. When omitted, the server defaults to `200`.
44
46
  field :count, Crystalline::Nilable.new(::Integer), { 'query_param': { 'field_name': 'count', 'style': 'form', 'explode': false } }
45
47
 
46
- sig { params(account_id: ::String, account_i_ds: T.nilable(T::Array[::String]), status: T.nilable(Models::Components::TransferStatus), start_date_time: T.nilable(::DateTime), end_date_time: T.nilable(::DateTime), group_id: T.nilable(::String), schedule_id: T.nilable(::String), payment_link_code: T.nilable(::String), refunded: T.nilable(T::Boolean), disputed: T.nilable(T::Boolean), foreign_id: T.nilable(::String), authorization_i_ds: T.nilable(T::Array[::String]), transfer_types: T.nilable(T::Array[Models::Components::TransferType]), skip: T.nilable(::Integer), count: T.nilable(::Integer)).void }
47
- def initialize(account_id:, account_i_ds: nil, status: nil, start_date_time: nil, end_date_time: nil, group_id: nil, schedule_id: nil, payment_link_code: nil, refunded: nil, disputed: nil, foreign_id: nil, authorization_i_ds: nil, transfer_types: nil, skip: nil, count: nil)
48
+ sig { params(account_id: ::String, account_i_ds: T.nilable(T::Array[::String]), status: T.nilable(Models::Components::TransferStatus), start_date_time: T.nilable(::DateTime), end_date_time: T.nilable(::DateTime), group_id: T.nilable(::String), schedule_id: T.nilable(::String), payment_link_code: T.nilable(::String), refunded: T.nilable(T::Boolean), disputed: T.nilable(T::Boolean), foreign_id: T.nilable(::String), authorization_i_ds: T.nilable(T::Array[::String]), invoice_i_ds: T.nilable(T::Array[::String]), transfer_types: T.nilable(T::Array[Models::Components::TransferType]), skip: T.nilable(::Integer), count: T.nilable(::Integer)).void }
49
+ def initialize(account_id:, account_i_ds: nil, status: nil, start_date_time: nil, end_date_time: nil, group_id: nil, schedule_id: nil, payment_link_code: nil, refunded: nil, disputed: nil, foreign_id: nil, authorization_i_ds: nil, invoice_i_ds: nil, transfer_types: nil, skip: nil, count: nil)
48
50
  @account_id = account_id
49
51
  @account_i_ds = account_i_ds
50
52
  @status = status
@@ -57,6 +59,7 @@ module Moov
57
59
  @disputed = disputed
58
60
  @foreign_id = foreign_id
59
61
  @authorization_i_ds = authorization_i_ds
62
+ @invoice_i_ds = invoice_i_ds
60
63
  @transfer_types = transfer_types
61
64
  @skip = skip
62
65
  @count = count
@@ -77,6 +80,7 @@ module Moov
77
80
  return false unless @disputed == other.disputed
78
81
  return false unless @foreign_id == other.foreign_id
79
82
  return false unless @authorization_i_ds == other.authorization_i_ds
83
+ return false unless @invoice_i_ds == other.invoice_i_ds
80
84
  return false unless @transfer_types == other.transfer_types
81
85
  return false unless @skip == other.skip
82
86
  return false unless @count == other.count
@@ -32,6 +32,8 @@ class Moov::Models::Operations::ListTransfersRequest
32
32
  def foreign_id=(str_); end
33
33
  def authorization_i_ds(); end
34
34
  def authorization_i_ds=(str_); end
35
+ def invoice_i_ds(); end
36
+ def invoice_i_ds=(str_); end
35
37
  def transfer_types(); end
36
38
  def transfer_types=(str_); end
37
39
  def skip(); end
@@ -99,6 +99,8 @@ module Moov
99
99
  autoload :DisableWebhookResponse, 'moov/models/operations/disablewebhook_response.rb'
100
100
  autoload :DisconnectAccountRequest, 'moov/models/operations/disconnectaccount_request.rb'
101
101
  autoload :DisconnectAccountResponse, 'moov/models/operations/disconnectaccount_response.rb'
102
+ autoload :DownloadFileRequest, 'moov/models/operations/downloadfile_request.rb'
103
+ autoload :DownloadFileResponse, 'moov/models/operations/downloadfile_response.rb'
102
104
  autoload :GenerateEndToEndKeyResponse, 'moov/models/operations/generateendtoendkey_response.rb'
103
105
  autoload :GetAccountCountriesRequest, 'moov/models/operations/getaccountcountries_request.rb'
104
106
  autoload :GetAccountCountriesResponse, 'moov/models/operations/getaccountcountries_response.rb'
@@ -270,6 +272,8 @@ module Moov
270
272
  autoload :ListInvoicePaymentsResponse, 'moov/models/operations/listinvoicepayments_response.rb'
271
273
  autoload :ListInvoicesRequest, 'moov/models/operations/listinvoices_request.rb'
272
274
  autoload :ListInvoicesResponse, 'moov/models/operations/listinvoices_response.rb'
275
+ autoload :ListIssuedCardActivityRequest, 'moov/models/operations/listissuedcardactivity_request.rb'
276
+ autoload :ListIssuedCardActivityResponse, 'moov/models/operations/listissuedcardactivity_response.rb'
273
277
  autoload :ListIssuedCardAuthorizationEventsRequest, 'moov/models/operations/listissuedcardauthorizationevents_request.rb'
274
278
  autoload :ListIssuedCardAuthorizationEventsResponse, 'moov/models/operations/listissuedcardauthorizationevents_response.rb'
275
279
  autoload :ListIssuedCardAuthorizationsRequest, 'moov/models/operations/listissuedcardauthorizations_request.rb'
@@ -140,7 +140,7 @@ module Moov
140
140
  response: http_response
141
141
  )
142
142
  response_data = http_response.env.response_body
143
- obj = Crystalline.unmarshal_json(JSON.parse(response_data), Crystalline::Array.new(Crystalline::Union.new(Models::Components::MoovWalletPaymentMethod, Models::Components::AchDebitFundPaymentMethod, Models::Components::AchDebitCollectPaymentMethod, Models::Components::AchCreditStandardPaymentMethod, Models::Components::AchCreditSameDayPaymentMethod, Models::Components::RtpCreditPaymentMethod, Models::Components::CardPaymentPaymentMethod, Models::Components::PushToCardPaymentMethod, Models::Components::PullFromCardPaymentMethod, Models::Components::ApplePayPaymentMethod, Models::Components::CardPresentPaymentPaymentMethod, Models::Components::InstantBankCreditPaymentMethod, Models::Components::PushToApplePayPaymentMethod, Models::Components::PullFromApplePayPaymentMethod, Models::Components::GooglePayPaymentMethod, Models::Components::PushToGooglePayPaymentMethod, Models::Components::PullFromGooglePayPaymentMethod, Models::Components::WireCreditPaymentMethod)))
143
+ obj = Crystalline.unmarshal_json(JSON.parse(response_data), Crystalline::Array.new(Crystalline::Union.new(Models::Components::MoovWalletPaymentMethod, Models::Components::AchDebitFundPaymentMethod, Models::Components::AchDebitCollectPaymentMethod, Models::Components::AchCreditStandardPaymentMethod, Models::Components::AchCreditSameDayPaymentMethod, Models::Components::RtpCreditPaymentMethod, Models::Components::CardPaymentPaymentMethod, Models::Components::PushToCardPaymentMethod, Models::Components::PullFromCardPaymentMethod, Models::Components::ApplePayPaymentMethod, Models::Components::CardPresentPaymentPaymentMethod, Models::Components::InstantBankCreditPaymentMethod, Models::Components::PushToApplePayPaymentMethod, Models::Components::PullFromApplePayPaymentMethod, Models::Components::GooglePayPaymentMethod, Models::Components::PushToGooglePayPaymentMethod, Models::Components::PullFromGooglePayPaymentMethod)))
144
144
  response = Models::Operations::ListPaymentMethodsResponse.new(
145
145
  status_code: http_response.status,
146
146
  content_type: content_type,
@@ -263,7 +263,7 @@ module Moov
263
263
  response: http_response
264
264
  )
265
265
  response_data = http_response.env.response_body
266
- obj = Crystalline.unmarshal_json(JSON.parse(response_data), Crystalline::Union.new(Models::Components::MoovWalletPaymentMethod, Models::Components::AchDebitFundPaymentMethod, Models::Components::AchDebitCollectPaymentMethod, Models::Components::AchCreditStandardPaymentMethod, Models::Components::AchCreditSameDayPaymentMethod, Models::Components::RtpCreditPaymentMethod, Models::Components::CardPaymentPaymentMethod, Models::Components::PushToCardPaymentMethod, Models::Components::PullFromCardPaymentMethod, Models::Components::ApplePayPaymentMethod, Models::Components::CardPresentPaymentPaymentMethod, Models::Components::InstantBankCreditPaymentMethod, Models::Components::PushToApplePayPaymentMethod, Models::Components::PullFromApplePayPaymentMethod, Models::Components::GooglePayPaymentMethod, Models::Components::PushToGooglePayPaymentMethod, Models::Components::PullFromGooglePayPaymentMethod, Models::Components::WireCreditPaymentMethod))
266
+ obj = Crystalline.unmarshal_json(JSON.parse(response_data), Crystalline::Union.new(Models::Components::MoovWalletPaymentMethod, Models::Components::AchDebitFundPaymentMethod, Models::Components::AchDebitCollectPaymentMethod, Models::Components::AchCreditStandardPaymentMethod, Models::Components::AchCreditSameDayPaymentMethod, Models::Components::RtpCreditPaymentMethod, Models::Components::CardPaymentPaymentMethod, Models::Components::PushToCardPaymentMethod, Models::Components::PullFromCardPaymentMethod, Models::Components::ApplePayPaymentMethod, Models::Components::CardPresentPaymentPaymentMethod, Models::Components::InstantBankCreditPaymentMethod, Models::Components::PushToApplePayPaymentMethod, Models::Components::PullFromApplePayPaymentMethod, Models::Components::GooglePayPaymentMethod, Models::Components::PushToGooglePayPaymentMethod, Models::Components::PullFromGooglePayPaymentMethod))
267
267
  response = Models::Operations::GetPaymentMethodResponse.new(
268
268
  status_code: http_response.status,
269
269
  content_type: content_type,