moov_ruby 0.0.0.pre.dev.31 → 0.0.0.pre.dev.32

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 (76) hide show
  1. checksums.yaml +4 -4
  2. data/lib/moov/invoices.rb +180 -0
  3. data/lib/moov/issuing_transactions.rb +123 -0
  4. data/lib/moov/models/components/capturestatus.rb +1 -0
  5. data/lib/moov/models/components/createauthorizationsimulation.rb +2 -2
  6. data/lib/moov/models/components/createinvoice.rb +10 -2
  7. data/lib/moov/models/components/createinvoice.rbi +4 -0
  8. data/lib/moov/models/components/createinvoicenotification.rb +32 -0
  9. data/lib/moov/models/components/createinvoicenotification.rbi +13 -0
  10. data/lib/moov/models/components/createtransfer.rb +6 -2
  11. data/lib/moov/models/components/createtransfer.rbi +2 -0
  12. data/lib/moov/models/components/createtransferdestination.rb +2 -14
  13. data/lib/moov/models/components/createtransferdestination.rbi +0 -6
  14. data/lib/moov/models/components/createtransferrailoptions.rb +52 -0
  15. data/lib/moov/models/components/createtransferrailoptions.rbi +23 -0
  16. data/lib/moov/models/components/createtransferresponse.rb +27 -0
  17. data/lib/moov/models/components/createtransferresponse.rbi +11 -0
  18. data/lib/moov/models/components/createtransfersource.rb +2 -10
  19. data/lib/moov/models/components/createtransfersource.rbi +0 -4
  20. data/lib/moov/models/components/invoice.rb +6 -2
  21. data/lib/moov/models/components/invoice.rbi +2 -0
  22. data/lib/moov/models/components/invoicenotificationlimitedchannel.rb +36 -0
  23. data/lib/moov/models/components/invoicenotificationlimitedchannel.rbi +15 -0
  24. data/lib/moov/models/components/invoicepaymentoptions.rb +40 -0
  25. data/lib/moov/models/components/invoicepaymentoptions.rbi +17 -0
  26. data/lib/moov/models/components/invoicepaymentoptionserror.rb +40 -0
  27. data/lib/moov/models/components/invoicepaymentoptionserror.rbi +17 -0
  28. data/lib/moov/models/components/invoicepaymentoptionsupdate.rb +40 -0
  29. data/lib/moov/models/components/invoicepaymentoptionsupdate.rbi +17 -0
  30. data/lib/moov/models/components/notificationchannel.rb +18 -0
  31. data/lib/moov/models/components/notificationchannel.rbi +11 -0
  32. data/lib/moov/models/components/pushtocardoptions.rb +6 -2
  33. data/lib/moov/models/components/pushtocardoptions.rbi +2 -0
  34. data/lib/moov/models/components/requestcard.rb +2 -6
  35. data/lib/moov/models/components/requestcard.rbi +0 -2
  36. data/lib/moov/models/components/simulationissuingmerchantdata.rb +56 -0
  37. data/lib/moov/models/components/{issuingmerchantdatavalidationerror.rbi → simulationissuingmerchantdata.rbi} +2 -2
  38. data/lib/moov/models/components/{issuingmerchantdatavalidationerror.rb → simulationissuingmerchantdatavalidationerror.rb} +1 -1
  39. data/lib/moov/models/components/simulationissuingmerchantdatavalidationerror.rbi +25 -0
  40. data/lib/moov/models/components/updateinvoice.rb +6 -2
  41. data/lib/moov/models/components/updateinvoice.rbi +2 -0
  42. data/lib/moov/models/components.rb +10 -3
  43. data/lib/moov/models/errors/authorizationsimulationvalidationerror.rb +3 -3
  44. data/lib/moov/models/errors/clearingsimulationvalidationerror.rb +1 -1
  45. data/lib/moov/models/errors/createinvoiceerror.rb +10 -2
  46. data/lib/moov/models/errors/createinvoiceerror.rbi +4 -0
  47. data/lib/moov/models/errors/invoicenotificationerror.rb +36 -0
  48. data/lib/moov/models/errors/invoicenotificationerror.rbi +15 -0
  49. data/lib/moov/models/errors/invoicenotificationratelimitederror.rb +44 -0
  50. data/lib/moov/models/errors/invoicenotificationratelimitederror.rbi +19 -0
  51. data/lib/moov/models/errors/requestcarderror.rb +2 -6
  52. data/lib/moov/models/errors/requestcarderror.rbi +0 -2
  53. data/lib/moov/models/errors/updateinvoiceerror.rb +6 -2
  54. data/lib/moov/models/errors/updateinvoiceerror.rbi +2 -0
  55. data/lib/moov/models/errors.rb +2 -0
  56. data/lib/moov/models/operations/createinvoicenotification_request.rb +40 -0
  57. data/lib/moov/models/operations/createinvoicenotification_request.rbi +17 -0
  58. data/lib/moov/models/operations/{createcancellation_response.rb → createinvoicenotification_response.rb} +3 -7
  59. data/lib/moov/models/operations/{createcancellation_response.rbi → createinvoicenotification_response.rbi} +2 -4
  60. data/lib/moov/models/operations/createtransfer_response.rb +5 -5
  61. data/lib/moov/models/operations/createtransfer_response.rbi +2 -2
  62. data/lib/moov/models/operations/getissuedcardactivity_request.rb +36 -0
  63. data/lib/moov/models/operations/getissuedcardactivity_request.rbi +15 -0
  64. data/lib/moov/models/operations/getissuedcardactivity_response.rb +48 -0
  65. data/lib/moov/models/operations/getissuedcardactivity_response.rbi +21 -0
  66. data/lib/moov/models/operations/initiaterefund_request.rb +1 -1
  67. data/lib/moov/models/operations.rb +4 -2
  68. data/lib/moov/sdkconfiguration.rb +3 -3
  69. data/lib/moov/transfers.rb +3 -156
  70. metadata +34 -12
  71. data/lib/moov/models/components/cardexpirationerror.rb +0 -36
  72. data/lib/moov/models/components/cardexpirationerror.rbi +0 -15
  73. data/lib/moov/models/components/createcancellation.rb +0 -34
  74. data/lib/moov/models/components/createcancellation.rbi +0 -13
  75. data/lib/moov/models/operations/createcancellation_request.rb +0 -40
  76. data/lib/moov/models/operations/createcancellation_request.rbi +0 -17
@@ -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 GetIssuedCardActivityResponse
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_activity, Crystalline::Nilable.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_activity: T.nilable(Models::Components::IssuedCardActivity)).void }
27
+ def initialize(content_type:, status_code:, raw_response:, headers:, issued_card_activity: nil)
28
+ @content_type = content_type
29
+ @status_code = status_code
30
+ @raw_response = raw_response
31
+ @headers = headers
32
+ @issued_card_activity = issued_card_activity
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_activity == other.issued_card_activity
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::GetIssuedCardActivityResponse
6
+ extend ::Crystalline::MetadataFields::ClassMethods
7
+ end
8
+
9
+
10
+ class Moov::Models::Operations::GetIssuedCardActivityResponse
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_activity(); end
20
+ def issued_card_activity=(str_); end
21
+ end
@@ -14,7 +14,7 @@ module Moov
14
14
 
15
15
  # Prevents duplicate refunds from being created.
16
16
  field :x_idempotency_key, ::String, { 'header': { 'field_name': 'x-idempotency-key', 'style': 'simple', 'explode': false } }
17
- # The merchant's Moov account ID.
17
+ # Moov account ID of the partner for the transfer.
18
18
  field :account_id, ::String, { 'path_param': { 'field_name': 'accountID', 'style': 'simple', 'explode': false } }
19
19
  # Identifier for the transfer.
20
20
  field :transfer_id, ::String, { 'path_param': { 'field_name': 'transferID', 'style': 'simple', 'explode': false } }
@@ -30,8 +30,6 @@ module Moov
30
30
  autoload :CreateBankAccountAttestationResponse, 'moov/models/operations/createbankaccountattestation_response.rb'
31
31
  autoload :CreateBrandRequest, 'moov/models/operations/createbrand_request.rb'
32
32
  autoload :CreateBrandResponse, 'moov/models/operations/createbrand_response.rb'
33
- autoload :CreateCancellationRequest, 'moov/models/operations/createcancellation_request.rb'
34
- autoload :CreateCancellationResponse, 'moov/models/operations/createcancellation_response.rb'
35
33
  autoload :CreateCaptureRequest, 'moov/models/operations/createcapture_request.rb'
36
34
  autoload :CreateCaptureResponse, 'moov/models/operations/createcapture_response.rb'
37
35
  autoload :CreateClearingSimulationRequest, 'moov/models/operations/createclearingsimulation_request.rb'
@@ -40,6 +38,8 @@ module Moov
40
38
  autoload :CreateDepositAccountResponse, 'moov/models/operations/createdepositaccount_response.rb'
41
39
  autoload :CreateFeePlanAgreementsRequest, 'moov/models/operations/createfeeplanagreements_request.rb'
42
40
  autoload :CreateFeePlanAgreementsResponse, 'moov/models/operations/createfeeplanagreements_response.rb'
41
+ autoload :CreateInvoiceNotificationRequest, 'moov/models/operations/createinvoicenotification_request.rb'
42
+ autoload :CreateInvoiceNotificationResponse, 'moov/models/operations/createinvoicenotification_response.rb'
43
43
  autoload :CreateInvoicePaymentRequest, 'moov/models/operations/createinvoicepayment_request.rb'
44
44
  autoload :CreateInvoicePaymentResponse, 'moov/models/operations/createinvoicepayment_response.rb'
45
45
  autoload :CreateInvoiceRequest, 'moov/models/operations/createinvoice_request.rb'
@@ -155,6 +155,8 @@ module Moov
155
155
  autoload :GetImageMetadataResponse, 'moov/models/operations/getimagemetadata_response.rb'
156
156
  autoload :GetInvoiceRequest, 'moov/models/operations/getinvoice_request.rb'
157
157
  autoload :GetInvoiceResponse, 'moov/models/operations/getinvoice_response.rb'
158
+ autoload :GetIssuedCardActivityRequest, 'moov/models/operations/getissuedcardactivity_request.rb'
159
+ autoload :GetIssuedCardActivityResponse, 'moov/models/operations/getissuedcardactivity_response.rb'
158
160
  autoload :GetIssuedCardAuthorizationRequest, 'moov/models/operations/getissuedcardauthorization_request.rb'
159
161
  autoload :GetIssuedCardAuthorizationResponse, 'moov/models/operations/getissuedcardauthorization_response.rb'
160
162
  autoload :GetIssuedCardTransactionRequest, 'moov/models/operations/getissuedcardtransaction_request.rb'
@@ -88,9 +88,9 @@ module Moov
88
88
  end
89
89
  @language = 'ruby'
90
90
  @openapi_doc_version = 'dev'
91
- @sdk_version = '0.0.0-dev.31'
92
- @gen_version = '2.943.0'
93
- @user_agent = 'speakeasy-sdk/ruby 0.0.0-dev.31 2.943.0 dev moov_ruby'
91
+ @sdk_version = '0.0.0-dev.32'
92
+ @gen_version = '2.950.2'
93
+ @user_agent = 'speakeasy-sdk/ruby 0.0.0-dev.32 2.950.2 dev moov_ruby'
94
94
  end
95
95
 
96
96
  sig { returns([String, T::Hash[Symbol, String]]) }
@@ -322,13 +322,13 @@ module Moov
322
322
  response: http_response
323
323
  )
324
324
  response_data = http_response.env.response_body
325
- obj = Crystalline.unmarshal_json(JSON.parse(response_data), Models::Components::CreatedTransfer)
325
+ obj = Crystalline.unmarshal_json(JSON.parse(response_data), Crystalline::Union.new(Models::Components::CreatedTransfer, Models::Components::AsyncTransfer))
326
326
  response = Models::Operations::CreateTransferResponse.new(
327
327
  status_code: http_response.status,
328
328
  content_type: content_type,
329
329
  raw_response: http_response,
330
330
  headers: http_response.headers,
331
- created_transfer: T.unsafe(obj)
331
+ create_transfer_response: T.unsafe(obj)
332
332
  )
333
333
 
334
334
  return response
@@ -1000,160 +1000,6 @@ module Moov
1000
1000
  end
1001
1001
 
1002
1002
 
1003
- sig { params(create_cancellation: Models::Components::CreateCancellation, account_id: ::String, transfer_id: ::String, timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::CreateCancellationResponse) }
1004
- def create_cancellation(create_cancellation:, account_id:, transfer_id:, timeout_ms: nil, http_headers: nil)
1005
- # create_cancellation - Initiate a cancellation for a card, ACH, or queued transfer.
1006
- #
1007
- # In v2026.10 and later, an auth-capture `card-payment` transfer can be canceled before any captures exist.
1008
- # For these transfers, a successful cancellation reduces `capturableAmount` without changing `authorizedAmount`.
1009
- # For these transfers, a partial cancellation leaves the remaining `capturableAmount` available for capture.
1010
- # To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
1011
- # to specify the `/accounts/{accountID}/transfers.write` scope.
1012
- request = Models::Operations::CreateCancellationRequest.new(
1013
- account_id: account_id,
1014
- transfer_id: transfer_id,
1015
- create_cancellation: create_cancellation
1016
- )
1017
- url, params = @sdk_configuration.get_server_details
1018
- base_url = Utils.template_url(url, params)
1019
- url = Utils.generate_url(
1020
- Models::Operations::CreateCancellationRequest,
1021
- base_url,
1022
- '/accounts/{accountID}/transfers/{transferID}/cancellations',
1023
- request
1024
- )
1025
- headers = {}
1026
- headers = T.cast(headers, T::Hash[String, String])
1027
- req_content_type, data, form = Utils.serialize_request_body(request, false, false, :create_cancellation, :json)
1028
- headers['content-type'] = req_content_type
1029
- raise StandardError, 'request body is required' if data.nil? && form.nil?
1030
-
1031
- if form && !form.empty?
1032
- body = Utils.encode_form(form)
1033
- elsif Utils.match_content_type(req_content_type, 'application/x-www-form-urlencoded')
1034
- body = URI.encode_www_form(T.cast(data, T::Hash[Symbol, Object]))
1035
- else
1036
- body = data
1037
- end
1038
- headers['Accept'] = 'application/json'
1039
- headers['user-agent'] = @sdk_configuration.user_agent
1040
-
1041
- security = @sdk_configuration.security_source&.call
1042
-
1043
- timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
1044
- timeout ||= @sdk_configuration.timeout
1045
-
1046
-
1047
- connection = @sdk_configuration.client
1048
-
1049
- hook_ctx = SDKHooks::HookContext.new(
1050
- config: @sdk_configuration,
1051
- base_url: base_url,
1052
- oauth2_scopes: nil,
1053
- operation_id: 'createCancellation',
1054
- security_source: @sdk_configuration.security_source
1055
- )
1056
-
1057
- error = T.let(nil, T.nilable(StandardError))
1058
- http_response = T.let(nil, T.nilable(Faraday::Response))
1059
-
1060
-
1061
- begin
1062
- http_response = T.must(connection).post(url) do |req|
1063
- req.body = body
1064
- req.headers.merge!(headers)
1065
- req.options.timeout = timeout unless timeout.nil?
1066
- Utils.configure_request_security(req, security)
1067
- http_headers&.each do |key, value|
1068
- req.headers[key.to_s] = value
1069
- end
1070
-
1071
- @sdk_configuration.hooks.before_request(
1072
- hook_ctx: SDKHooks::BeforeRequestHookContext.new(
1073
- hook_ctx: hook_ctx
1074
- ),
1075
- request: req
1076
- )
1077
- end
1078
- rescue StandardError => e
1079
- error = e
1080
- ensure
1081
- if http_response.nil? || Utils.error_status?(http_response.status)
1082
- http_response = @sdk_configuration.hooks.after_error(
1083
- error: error,
1084
- hook_ctx: SDKHooks::AfterErrorHookContext.new(
1085
- hook_ctx: hook_ctx
1086
- ),
1087
- response: http_response
1088
- )
1089
- else
1090
- http_response = @sdk_configuration.hooks.after_success(
1091
- hook_ctx: SDKHooks::AfterSuccessHookContext.new(
1092
- hook_ctx: hook_ctx
1093
- ),
1094
- response: http_response
1095
- )
1096
- end
1097
-
1098
- if http_response.nil?
1099
- raise error if !error.nil?
1100
- raise 'no response'
1101
- end
1102
- end
1103
-
1104
- content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
1105
- if Utils.match_status_code(http_response.status, ['200', '202'])
1106
- if Utils.match_content_type(content_type, 'application/json')
1107
- http_response = @sdk_configuration.hooks.after_success(
1108
- hook_ctx: SDKHooks::AfterSuccessHookContext.new(
1109
- hook_ctx: hook_ctx
1110
- ),
1111
- response: http_response
1112
- )
1113
- response_data = http_response.env.response_body
1114
- obj = Crystalline.unmarshal_json(JSON.parse(response_data), Models::Components::Cancellation)
1115
- response = Models::Operations::CreateCancellationResponse.new(
1116
- status_code: http_response.status,
1117
- content_type: content_type,
1118
- raw_response: http_response,
1119
- headers: http_response.headers,
1120
- cancellation: T.unsafe(obj)
1121
- )
1122
-
1123
- return response
1124
- else
1125
- raise ::Moov::Models::Errors::APIError.new(status_code: http_response.status, body: http_response.env.response_body, raw_response: http_response), 'Unknown content type received'
1126
- end
1127
- elsif Utils.match_status_code(http_response.status, ['400', '409', '422'])
1128
- if Utils.match_content_type(content_type, 'application/json')
1129
- http_response = @sdk_configuration.hooks.after_success(
1130
- hook_ctx: SDKHooks::AfterSuccessHookContext.new(
1131
- hook_ctx: hook_ctx
1132
- ),
1133
- response: http_response
1134
- )
1135
- response_data = http_response.env.response_body
1136
- obj = Crystalline.unmarshal_json(JSON.parse(response_data), Models::Errors::GenericError)
1137
- obj.raw_response = http_response
1138
- raise obj
1139
- else
1140
- raise ::Moov::Models::Errors::APIError.new(status_code: http_response.status, body: http_response.env.response_body, raw_response: http_response), 'Unknown content type received'
1141
- end
1142
- elsif Utils.match_status_code(http_response.status, ['401', '403', '404', '429'])
1143
- raise ::Moov::Models::Errors::APIError.new(status_code: http_response.status, body: http_response.env.response_body, raw_response: http_response), 'API error occurred'
1144
- elsif Utils.match_status_code(http_response.status, ['500', '504'])
1145
- raise ::Moov::Models::Errors::APIError.new(status_code: http_response.status, body: http_response.env.response_body, raw_response: http_response), 'API error occurred'
1146
- elsif Utils.match_status_code(http_response.status, ['4XX'])
1147
- raise ::Moov::Models::Errors::APIError.new(status_code: http_response.status, body: http_response.env.response_body, raw_response: http_response), 'API error occurred'
1148
- elsif Utils.match_status_code(http_response.status, ['5XX'])
1149
- raise ::Moov::Models::Errors::APIError.new(status_code: http_response.status, body: http_response.env.response_body, raw_response: http_response), 'API error occurred'
1150
- else
1151
- raise ::Moov::Models::Errors::APIError.new(status_code: http_response.status, body: http_response.env.response_body, raw_response: http_response), 'Unknown status code received'
1152
-
1153
- end
1154
- end
1155
-
1156
-
1157
1003
  sig { params(account_id: ::String, transfer_id: ::String, timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::ListCancellationsResponse) }
1158
1004
  def list_cancellations(account_id:, transfer_id:, timeout_ms: nil, http_headers: nil)
1159
1005
  # list_cancellations - Get a list of cancellations for a transfer.
@@ -1944,6 +1790,7 @@ module Moov
1944
1790
  sig { params(request: Models::Operations::InitiateRefundRequest, timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::InitiateRefundResponse) }
1945
1791
  def initiate_refund(request:, timeout_ms: nil, http_headers: nil)
1946
1792
  # initiate_refund - Initiate a refund for a card transfer.
1793
+ # The `accountID` must identify the partner account for the transfer.
1947
1794
  #
1948
1795
  # **Use the [Cancel or refund a card transfer](https://docs.moov.io/api/money-movement/refunds/cancel/) endpoint for more comprehensive cancel and refund options.**
1949
1796
  # See the [reversals](https://docs.moov.io/guides/money-movement/accept-payments/card-acceptance/reversals/) guide for more information.
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.0.0.pre.dev.31
4
+ version: 0.0.0.pre.dev.32
5
5
  platform: ruby
6
6
  authors:
7
7
  - Speakeasy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-10-03 00:00:00.000000000 Z
11
+ date: 2026-10-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: base64
@@ -547,8 +547,6 @@ files:
547
547
  - lib/moov/models/components/carddetails.rbi
548
548
  - lib/moov/models/components/cardexpiration.rb
549
549
  - lib/moov/models/components/cardexpiration.rbi
550
- - lib/moov/models/components/cardexpirationerror.rb
551
- - lib/moov/models/components/cardexpirationerror.rbi
552
550
  - lib/moov/models/components/cardfundingsource.rb
553
551
  - lib/moov/models/components/cardfundingsource.rbi
554
552
  - lib/moov/models/components/cardissuing.rb
@@ -659,8 +657,6 @@ files:
659
657
  - lib/moov/models/components/createbusinesserror_taxid.rbi
660
658
  - lib/moov/models/components/createbusinessprofile.rb
661
659
  - lib/moov/models/components/createbusinessprofile.rbi
662
- - lib/moov/models/components/createcancellation.rb
663
- - lib/moov/models/components/createcancellation.rbi
664
660
  - lib/moov/models/components/createcapture.rb
665
661
  - lib/moov/models/components/createcapture.rbi
666
662
  - lib/moov/models/components/createclearingsimulation.rb
@@ -701,6 +697,8 @@ files:
701
697
  - lib/moov/models/components/createinvoicelineitemsvalidationerror.rbi
702
698
  - lib/moov/models/components/createinvoicelineitemvalidationerror.rb
703
699
  - lib/moov/models/components/createinvoicelineitemvalidationerror.rbi
700
+ - lib/moov/models/components/createinvoicenotification.rb
701
+ - lib/moov/models/components/createinvoicenotification.rbi
704
702
  - lib/moov/models/components/createinvoicepayment.rb
705
703
  - lib/moov/models/components/createinvoicepayment.rbi
706
704
  - lib/moov/models/components/createpaymentlink.rb
@@ -793,6 +791,10 @@ files:
793
791
  - lib/moov/models/components/createtransferlineitemvalidationerror.rbi
794
792
  - lib/moov/models/components/createtransferoptions.rb
795
793
  - lib/moov/models/components/createtransferoptions.rbi
794
+ - lib/moov/models/components/createtransferrailoptions.rb
795
+ - lib/moov/models/components/createtransferrailoptions.rbi
796
+ - lib/moov/models/components/createtransferresponse.rb
797
+ - lib/moov/models/components/createtransferresponse.rbi
796
798
  - lib/moov/models/components/createtransfersource.rb
797
799
  - lib/moov/models/components/createtransfersource.rbi
798
800
  - lib/moov/models/components/createtransfersourceach.rb
@@ -1021,8 +1023,16 @@ files:
1021
1023
  - lib/moov/models/components/invoicelineitemsvalidationerror.rbi
1022
1024
  - lib/moov/models/components/invoicelineitemvalidationerror.rb
1023
1025
  - lib/moov/models/components/invoicelineitemvalidationerror.rbi
1026
+ - lib/moov/models/components/invoicenotificationlimitedchannel.rb
1027
+ - lib/moov/models/components/invoicenotificationlimitedchannel.rbi
1024
1028
  - lib/moov/models/components/invoicepayment.rb
1025
1029
  - lib/moov/models/components/invoicepayment.rbi
1030
+ - lib/moov/models/components/invoicepaymentoptions.rb
1031
+ - lib/moov/models/components/invoicepaymentoptions.rbi
1032
+ - lib/moov/models/components/invoicepaymentoptionserror.rb
1033
+ - lib/moov/models/components/invoicepaymentoptionserror.rbi
1034
+ - lib/moov/models/components/invoicepaymentoptionsupdate.rb
1035
+ - lib/moov/models/components/invoicepaymentoptionsupdate.rbi
1026
1036
  - lib/moov/models/components/invoicepaymenttype.rb
1027
1037
  - lib/moov/models/components/invoicepaymenttype.rbi
1028
1038
  - lib/moov/models/components/invoicestatus.rb
@@ -1071,8 +1081,6 @@ files:
1071
1081
  - lib/moov/models/components/issuingmerchantcategory.rbi
1072
1082
  - lib/moov/models/components/issuingmerchantdata.rb
1073
1083
  - lib/moov/models/components/issuingmerchantdata.rbi
1074
- - lib/moov/models/components/issuingmerchantdatavalidationerror.rb
1075
- - lib/moov/models/components/issuingmerchantdatavalidationerror.rbi
1076
1084
  - lib/moov/models/components/issuingscheduleday.rb
1077
1085
  - lib/moov/models/components/issuingscheduleday.rbi
1078
1086
  - lib/moov/models/components/issuingvelocitylimit.rb
@@ -1171,6 +1179,8 @@ files:
1171
1179
  - lib/moov/models/components/mxauthorizationcode.rbi
1172
1180
  - lib/moov/models/components/mxpayload.rb
1173
1181
  - lib/moov/models/components/mxpayload.rbi
1182
+ - lib/moov/models/components/notificationchannel.rb
1183
+ - lib/moov/models/components/notificationchannel.rbi
1174
1184
  - lib/moov/models/components/oauth2clienttype.rb
1175
1185
  - lib/moov/models/components/oauth2clienttype.rbi
1176
1186
  - lib/moov/models/components/occurrence.rb
@@ -1519,6 +1529,10 @@ files:
1519
1529
  - lib/moov/models/components/settings.rbi
1520
1530
  - lib/moov/models/components/sharescopes.rb
1521
1531
  - lib/moov/models/components/sharescopes.rbi
1532
+ - lib/moov/models/components/simulationissuingmerchantdata.rb
1533
+ - lib/moov/models/components/simulationissuingmerchantdata.rbi
1534
+ - lib/moov/models/components/simulationissuingmerchantdatavalidationerror.rb
1535
+ - lib/moov/models/components/simulationissuingmerchantdatavalidationerror.rbi
1522
1536
  - lib/moov/models/components/sourcedestinationoptions.rb
1523
1537
  - lib/moov/models/components/sourcedestinationoptions.rbi
1524
1538
  - lib/moov/models/components/sourcesystem.rb
@@ -1962,6 +1976,10 @@ files:
1962
1976
  - lib/moov/models/errors/imagemetadatavalidationerror.rbi
1963
1977
  - lib/moov/models/errors/imagerequestvalidationerror.rb
1964
1978
  - lib/moov/models/errors/imagerequestvalidationerror.rbi
1979
+ - lib/moov/models/errors/invoicenotificationerror.rb
1980
+ - lib/moov/models/errors/invoicenotificationerror.rbi
1981
+ - lib/moov/models/errors/invoicenotificationratelimitederror.rb
1982
+ - lib/moov/models/errors/invoicenotificationratelimitederror.rbi
1965
1983
  - lib/moov/models/errors/linkapplepayerror.rb
1966
1984
  - lib/moov/models/errors/linkapplepayerror.rbi
1967
1985
  - lib/moov/models/errors/linkcarderror.rb
@@ -2077,10 +2095,6 @@ files:
2077
2095
  - lib/moov/models/operations/createbrand_request.rbi
2078
2096
  - lib/moov/models/operations/createbrand_response.rb
2079
2097
  - lib/moov/models/operations/createbrand_response.rbi
2080
- - lib/moov/models/operations/createcancellation_request.rb
2081
- - lib/moov/models/operations/createcancellation_request.rbi
2082
- - lib/moov/models/operations/createcancellation_response.rb
2083
- - lib/moov/models/operations/createcancellation_response.rbi
2084
2098
  - lib/moov/models/operations/createcapture_request.rb
2085
2099
  - lib/moov/models/operations/createcapture_request.rbi
2086
2100
  - lib/moov/models/operations/createcapture_response.rb
@@ -2101,6 +2115,10 @@ files:
2101
2115
  - lib/moov/models/operations/createinvoice_request.rbi
2102
2116
  - lib/moov/models/operations/createinvoice_response.rb
2103
2117
  - lib/moov/models/operations/createinvoice_response.rbi
2118
+ - lib/moov/models/operations/createinvoicenotification_request.rb
2119
+ - lib/moov/models/operations/createinvoicenotification_request.rbi
2120
+ - lib/moov/models/operations/createinvoicenotification_response.rb
2121
+ - lib/moov/models/operations/createinvoicenotification_response.rbi
2104
2122
  - lib/moov/models/operations/createinvoicepayment_request.rb
2105
2123
  - lib/moov/models/operations/createinvoicepayment_request.rbi
2106
2124
  - lib/moov/models/operations/createinvoicepayment_response.rb
@@ -2331,6 +2349,10 @@ files:
2331
2349
  - lib/moov/models/operations/getissuedcard_request.rbi
2332
2350
  - lib/moov/models/operations/getissuedcard_response.rb
2333
2351
  - lib/moov/models/operations/getissuedcard_response.rbi
2352
+ - lib/moov/models/operations/getissuedcardactivity_request.rb
2353
+ - lib/moov/models/operations/getissuedcardactivity_request.rbi
2354
+ - lib/moov/models/operations/getissuedcardactivity_response.rb
2355
+ - lib/moov/models/operations/getissuedcardactivity_response.rbi
2334
2356
  - lib/moov/models/operations/getissuedcardauthorization_request.rb
2335
2357
  - lib/moov/models/operations/getissuedcardauthorization_request.rbi
2336
2358
  - lib/moov/models/operations/getissuedcardauthorization_response.rb
@@ -1,36 +0,0 @@
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 Components
10
-
11
- class CardExpirationError
12
- extend T::Sig
13
- include Crystalline::MetadataFields
14
-
15
-
16
- field :month, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('month') } }
17
-
18
- field :year, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('year') } }
19
-
20
- sig { params(month: T.nilable(::String), year: T.nilable(::String)).void }
21
- def initialize(month: nil, year: nil)
22
- @month = month
23
- @year = year
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 @month == other.month
30
- return false unless @year == other.year
31
- true
32
- end
33
- end
34
- end
35
- end
36
- end
@@ -1,15 +0,0 @@
1
- # typed: true
2
- # frozen_string_literal: true
3
-
4
-
5
- class Moov::Models::Components::CardExpirationError
6
- extend ::Crystalline::MetadataFields::ClassMethods
7
- end
8
-
9
-
10
- class Moov::Models::Components::CardExpirationError
11
- def month(); end
12
- def month=(str_); end
13
- def year(); end
14
- def year=(str_); end
15
- end
@@ -1,34 +0,0 @@
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 Components
10
- # Cancellation request.
11
- class CreateCancellation
12
- extend T::Sig
13
- include Crystalline::MetadataFields
14
-
15
- # Amount to void. This field can only be set for an auth-capture `card-payment` transfer.
16
- # This cannot exceed `capturableAmount`.
17
- # Omit this field to void the entire `capturableAmount`.
18
- field :amount, Crystalline::Nilable.new(Models::Components::AmountDecimal), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('amount') } }
19
-
20
- sig { params(amount: T.nilable(Models::Components::AmountDecimal)).void }
21
- def initialize(amount: nil)
22
- @amount = amount
23
- end
24
-
25
- sig { params(other: T.untyped).returns(T::Boolean) }
26
- def ==(other)
27
- return false unless other.is_a? self.class
28
- return false unless @amount == other.amount
29
- true
30
- end
31
- end
32
- end
33
- end
34
- end
@@ -1,13 +0,0 @@
1
- # typed: true
2
- # frozen_string_literal: true
3
-
4
-
5
- class Moov::Models::Components::CreateCancellation
6
- extend ::Crystalline::MetadataFields::ClassMethods
7
- end
8
-
9
-
10
- class Moov::Models::Components::CreateCancellation
11
- def amount(); end
12
- def amount=(str_); end
13
- end
@@ -1,40 +0,0 @@
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 CreateCancellationRequest
12
- extend T::Sig
13
- include Crystalline::MetadataFields
14
-
15
- # The partner's Moov account ID.
16
- field :account_id, ::String, { 'path_param': { 'field_name': 'accountID', 'style': 'simple', 'explode': false } }
17
- # The transfer ID to cancel.
18
- field :transfer_id, ::String, { 'path_param': { 'field_name': 'transferID', 'style': 'simple', 'explode': false } }
19
-
20
- field :create_cancellation, Models::Components::CreateCancellation, { 'request': { 'media_type': 'application/json' } }
21
-
22
- sig { params(account_id: ::String, transfer_id: ::String, create_cancellation: Models::Components::CreateCancellation).void }
23
- def initialize(account_id:, transfer_id:, create_cancellation:)
24
- @account_id = account_id
25
- @transfer_id = transfer_id
26
- @create_cancellation = create_cancellation
27
- end
28
-
29
- sig { params(other: T.untyped).returns(T::Boolean) }
30
- def ==(other)
31
- return false unless other.is_a? self.class
32
- return false unless @account_id == other.account_id
33
- return false unless @transfer_id == other.transfer_id
34
- return false unless @create_cancellation == other.create_cancellation
35
- true
36
- end
37
- end
38
- end
39
- end
40
- end
@@ -1,17 +0,0 @@
1
- # typed: true
2
- # frozen_string_literal: true
3
-
4
-
5
- class Moov::Models::Operations::CreateCancellationRequest
6
- extend ::Crystalline::MetadataFields::ClassMethods
7
- end
8
-
9
-
10
- class Moov::Models::Operations::CreateCancellationRequest
11
- def account_id(); end
12
- def account_id=(str_); end
13
- def transfer_id(); end
14
- def transfer_id=(str_); end
15
- def create_cancellation(); end
16
- def create_cancellation=(str_); end
17
- end