moov_ruby 26.10.0.pre.dev.1 → 26.10.0.pre.dev.2

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 (192) hide show
  1. checksums.yaml +4 -4
  2. data/lib/moov/avatars.rb +4 -4
  3. data/lib/moov/card_issuing.rb +116 -0
  4. data/lib/moov/client.rb +2 -2
  5. data/lib/moov/enriched_address.rb +1 -1
  6. data/lib/moov/enriched_profile.rb +1 -1
  7. data/lib/moov/institutions.rb +1 -1
  8. data/lib/moov/models/components/achcreditoptions.rb +40 -0
  9. data/lib/moov/models/components/achcreditoptions.rbi +17 -0
  10. data/lib/moov/models/components/achcredittransferprocessingdetails.rb +40 -0
  11. data/lib/moov/models/components/achcredittransferprocessingdetails.rbi +17 -0
  12. data/lib/moov/models/components/achdebitoptions.rb +48 -0
  13. data/lib/moov/models/components/achdebitoptions.rbi +21 -0
  14. data/lib/moov/models/components/achdebittransferprocessingdetails.rb +40 -0
  15. data/lib/moov/models/components/achdebittransferprocessingdetails.rbi +17 -0
  16. data/lib/moov/models/components/allowedscheduleerror.rb +36 -0
  17. data/lib/moov/models/components/allowedscheduleerror.rbi +15 -0
  18. data/lib/moov/models/components/asynccreatedrefund.rb +7 -3
  19. data/lib/moov/models/components/asynccreatedrefund.rbi +2 -0
  20. data/lib/moov/models/components/capture.rb +77 -0
  21. data/lib/moov/models/components/capture.rbi +35 -0
  22. data/lib/moov/models/components/{refundcardstatus.rb → capturestatus.rb} +5 -4
  23. data/lib/moov/models/components/{refundcardstatus.rbi → capturestatus.rbi} +2 -2
  24. data/lib/moov/models/components/cardacquiringrefund.rb +11 -7
  25. data/lib/moov/models/components/cardacquiringrefund.rbi +4 -2
  26. data/lib/moov/models/components/cardpaymentoptions.rb +39 -0
  27. data/lib/moov/models/components/cardpaymentoptions.rbi +15 -0
  28. data/lib/moov/models/components/cardpaymentrefundprocessingdetails.rb +32 -0
  29. data/lib/moov/models/components/cardpaymentrefundprocessingdetails.rbi +13 -0
  30. data/lib/moov/models/components/cardpaymenttransferprocessingdetails.rb +44 -0
  31. data/lib/moov/models/components/cardpaymenttransferprocessingdetails.rbi +19 -0
  32. data/lib/moov/models/components/createcancellation.rb +32 -0
  33. data/lib/moov/models/components/createcancellation.rbi +13 -0
  34. data/lib/moov/models/components/createcapture.rb +65 -0
  35. data/lib/moov/models/components/createcapture.rbi +29 -0
  36. data/lib/moov/models/components/createdtransfer.rb +22 -22
  37. data/lib/moov/models/components/createdtransfer.rbi +8 -8
  38. data/lib/moov/models/components/createrefund.rb +9 -5
  39. data/lib/moov/models/components/createrefund.rbi +2 -0
  40. data/lib/moov/models/components/createreversal.rb +3 -3
  41. data/lib/moov/models/components/createtransfer.rb +4 -4
  42. data/lib/moov/models/components/createtransferfacilitatorfee.rb +36 -0
  43. data/lib/moov/models/components/createtransferfacilitatorfee.rbi +15 -0
  44. data/lib/moov/models/components/createtransferoptions.rb +2 -2
  45. data/lib/moov/models/components/fullissuedcard.rb +3 -3
  46. data/lib/moov/models/components/instantbankcredittransferprocessingdetails.rb +44 -0
  47. data/lib/moov/models/components/instantbankcredittransferprocessingdetails.rbi +19 -0
  48. data/lib/moov/models/components/issuedcard.rb +3 -3
  49. data/lib/moov/models/components/issuedcontrols.rb +52 -0
  50. data/lib/moov/models/components/issuedcontrols.rbi +23 -0
  51. data/lib/moov/models/components/issuedcontrols_allowedschedule.rb +36 -0
  52. data/lib/moov/models/components/issuedcontrols_allowedschedule.rbi +15 -0
  53. data/lib/moov/models/components/issuedvelocitylimit.rb +60 -0
  54. data/lib/moov/models/components/issuedvelocitylimit.rbi +27 -0
  55. data/lib/moov/models/components/issuingcontrols.rb +18 -2
  56. data/lib/moov/models/components/issuingcontrols.rbi +8 -0
  57. data/lib/moov/models/components/issuingcontrols_allowedschedule.rb +36 -0
  58. data/lib/moov/models/components/issuingcontrols_allowedschedule.rbi +15 -0
  59. data/lib/moov/models/components/issuingcontrolserror.rb +18 -2
  60. data/lib/moov/models/components/issuingcontrolserror.rbi +8 -0
  61. data/lib/moov/models/components/issuingcontrolsrestrictionmode.rb +19 -0
  62. data/lib/moov/models/components/issuingcontrolsrestrictionmode.rbi +11 -0
  63. data/lib/moov/models/components/issuingintervallimit.rb +3 -0
  64. data/lib/moov/models/components/issuingmerchantcategory.rb +43 -0
  65. data/lib/moov/models/components/issuingmerchantcategory.rbi +11 -0
  66. data/lib/moov/models/components/issuingscheduleday.rb +24 -0
  67. data/lib/moov/models/components/{achtransactionstatus.rbi → issuingscheduleday.rbi} +2 -2
  68. data/lib/moov/models/components/issuingvelocitylimit.rb +10 -6
  69. data/lib/moov/models/components/issuingvelocitylimit.rbi +4 -2
  70. data/lib/moov/models/components/issuingvelocitylimiterror.rb +6 -2
  71. data/lib/moov/models/components/issuingvelocitylimiterror.rbi +2 -0
  72. data/lib/moov/models/components/merchantcategories.rb +32 -0
  73. data/lib/moov/models/components/merchantcategories.rbi +13 -0
  74. data/lib/moov/models/components/merchantcategory.rb +37 -0
  75. data/lib/moov/models/components/merchantcategory.rbi +15 -0
  76. data/lib/moov/models/components/merchantcategoryrestrictions.rb +44 -0
  77. data/lib/moov/models/components/merchantcategoryrestrictions.rbi +19 -0
  78. data/lib/moov/models/components/merchantcategoryrestrictionserror.rb +44 -0
  79. data/lib/moov/models/components/merchantcategoryrestrictionserror.rbi +19 -0
  80. data/lib/moov/models/components/merchantentry.rb +40 -0
  81. data/lib/moov/models/components/merchantentry.rbi +17 -0
  82. data/lib/moov/models/components/merchantentryerror.rb +36 -0
  83. data/lib/moov/models/components/merchantentryerror.rbi +15 -0
  84. data/lib/moov/models/components/merchantrestrictions.rb +36 -0
  85. data/lib/moov/models/components/merchantrestrictions.rbi +15 -0
  86. data/lib/moov/models/components/merchantrestrictionserror.rb +36 -0
  87. data/lib/moov/models/components/merchantrestrictionserror.rbi +15 -0
  88. data/lib/moov/models/components/moovfeedetails.rb +5 -5
  89. data/lib/moov/models/components/paymentmethodswallet.rb +1 -0
  90. data/lib/moov/models/components/pullfromcardoptions.rb +39 -0
  91. data/lib/moov/models/components/pullfromcardoptions.rbi +15 -0
  92. data/lib/moov/models/components/pullfromcardtransferprocessingdetails.rb +44 -0
  93. data/lib/moov/models/components/pullfromcardtransferprocessingdetails.rbi +19 -0
  94. data/lib/moov/models/components/pushtocardoptions.rb +32 -0
  95. data/lib/moov/models/components/pushtocardoptions.rbi +13 -0
  96. data/lib/moov/models/components/pushtocardtransferprocessingdetails.rb +44 -0
  97. data/lib/moov/models/components/pushtocardtransferprocessingdetails.rbi +19 -0
  98. data/lib/moov/models/components/refundprocessingdetails.rb +32 -0
  99. data/lib/moov/models/components/refundprocessingdetails.rbi +13 -0
  100. data/lib/moov/models/components/schedulewindow.rb +40 -0
  101. data/lib/moov/models/components/schedulewindow.rbi +17 -0
  102. data/lib/moov/models/components/schedulewindowerror.rb +40 -0
  103. data/lib/moov/models/components/schedulewindowerror.rbi +17 -0
  104. data/lib/moov/models/components/sendfunds.rb +6 -2
  105. data/lib/moov/models/components/sendfunds.rbi +2 -0
  106. data/lib/moov/models/components/sendfundserror.rb +6 -2
  107. data/lib/moov/models/components/sendfundserror.rbi +2 -0
  108. data/lib/moov/models/components/sendfundswire.rb +32 -0
  109. data/lib/moov/models/components/sendfundswire.rbi +13 -0
  110. data/lib/moov/models/components/sendfundswireerror.rb +32 -0
  111. data/lib/moov/models/components/sendfundswireerror.rbi +13 -0
  112. data/lib/moov/models/components/transfer.rb +22 -22
  113. data/lib/moov/models/components/transfer.rbi +8 -8
  114. data/lib/moov/models/components/transferauthorization.rb +52 -0
  115. data/lib/moov/models/components/transferauthorization.rbi +23 -0
  116. data/lib/moov/models/components/transferdestination.rb +5 -17
  117. data/lib/moov/models/components/transferdestination.rbi +0 -6
  118. data/lib/moov/models/components/transferpaymentmethodswallet.rb +1 -0
  119. data/lib/moov/models/components/transferprocessingdetails.rb +52 -0
  120. data/lib/moov/models/components/transferprocessingdetails.rbi +23 -0
  121. data/lib/moov/models/components/transferrailoptions.rb +48 -0
  122. data/lib/moov/models/components/transferrailoptions.rbi +21 -0
  123. data/lib/moov/models/components/transfersource.rb +9 -17
  124. data/lib/moov/models/components/transfersource.rbi +2 -6
  125. data/lib/moov/models/components/transferstatus.rb +1 -0
  126. data/lib/moov/models/components/transfertype.rb +25 -0
  127. data/lib/moov/models/components/{cardtransactionstatus.rbi → transfertype.rbi} +2 -2
  128. data/lib/moov/models/components/updateissuedcard.rb +6 -2
  129. data/lib/moov/models/components/updateissuedcard.rbi +2 -0
  130. data/lib/moov/models/components/updateissuingcontrols.rb +48 -0
  131. data/lib/moov/models/components/updateissuingcontrols.rbi +21 -0
  132. data/lib/moov/models/components/updateissuingcontrols_allowedschedule.rb +36 -0
  133. data/lib/moov/models/components/updateissuingcontrols_allowedschedule.rbi +15 -0
  134. data/lib/moov/models/components/updateissuingcontrols_merchantcategoryrestrictions.rb +44 -0
  135. data/lib/moov/models/components/updateissuingcontrols_merchantcategoryrestrictions.rbi +19 -0
  136. data/lib/moov/models/components/updateissuingcontrols_merchantrestrictions.rb +36 -0
  137. data/lib/moov/models/components/updateissuingcontrols_merchantrestrictions.rbi +15 -0
  138. data/lib/moov/models/components/updateissuingcontrolserror.rb +48 -0
  139. data/lib/moov/models/components/updateissuingcontrolserror.rbi +21 -0
  140. data/lib/moov/models/components/wallet.rb +1 -0
  141. data/lib/moov/models/components/wallettype.rb +2 -0
  142. data/lib/moov/models/components/webhookdatatransferstatus.rb +3 -0
  143. data/lib/moov/models/components.rb +47 -9
  144. data/lib/moov/models/errors/capturevalidationerror.rb +68 -0
  145. data/lib/moov/models/errors/capturevalidationerror.rbi +31 -0
  146. data/lib/moov/models/errors/cardacquiringrefund_error.rb +11 -7
  147. data/lib/moov/models/errors/cardacquiringrefund_error.rbi +4 -2
  148. data/lib/moov/models/errors/transfer_error.rb +22 -22
  149. data/lib/moov/models/errors/transfer_error.rbi +8 -8
  150. data/lib/moov/models/errors/updateissuedcarderror.rb +6 -2
  151. data/lib/moov/models/errors/updateissuedcarderror.rbi +2 -0
  152. data/lib/moov/models/errors.rb +1 -0
  153. data/lib/moov/models/operations/createcancellation_request.rb +6 -2
  154. data/lib/moov/models/operations/createcancellation_request.rbi +2 -0
  155. data/lib/moov/models/operations/createcapture_request.rb +44 -0
  156. data/lib/moov/models/operations/createcapture_request.rbi +19 -0
  157. data/lib/moov/models/operations/createcapture_response.rb +48 -0
  158. data/lib/moov/models/operations/createcapture_response.rbi +21 -0
  159. data/lib/moov/models/operations/createreversal_request.rb +3 -3
  160. data/lib/moov/models/operations/getcapture_request.rb +40 -0
  161. data/lib/moov/models/operations/getcapture_request.rbi +17 -0
  162. data/lib/moov/models/operations/getcapture_response.rb +48 -0
  163. data/lib/moov/models/operations/getcapture_response.rbi +21 -0
  164. data/lib/moov/models/operations/initiaterefund_request.rb +6 -6
  165. data/lib/moov/models/operations/initiaterefund_request.rbi +2 -2
  166. data/lib/moov/models/operations/listcaptures_request.rb +36 -0
  167. data/lib/moov/models/operations/listcaptures_request.rbi +15 -0
  168. data/lib/moov/models/operations/listcaptures_response.rb +48 -0
  169. data/lib/moov/models/operations/listcaptures_response.rbi +21 -0
  170. data/lib/moov/models/operations/listissuingmerchantcategories_response.rb +48 -0
  171. data/lib/moov/models/operations/listissuingmerchantcategories_response.rbi +21 -0
  172. data/lib/moov/models/operations/listtransfers_request.rb +14 -2
  173. data/lib/moov/models/operations/listtransfers_request.rbi +6 -0
  174. data/lib/moov/models/operations.rb +7 -0
  175. data/lib/moov/sdkconfiguration.rb +2 -2
  176. data/lib/moov/transfers.rb +434 -5
  177. data/lib/moov_ruby.rb +1 -1
  178. metadata +112 -20
  179. data/lib/moov/models/components/achtransactiondetails.rb +0 -92
  180. data/lib/moov/models/components/achtransactiondetails.rbi +0 -43
  181. data/lib/moov/models/components/achtransactionstatus.rb +0 -24
  182. data/lib/moov/models/components/cardacquiringdispute.rb +0 -40
  183. data/lib/moov/models/components/cardacquiringdispute.rbi +0 -17
  184. data/lib/moov/models/components/cardtransactiondetails.rb +0 -93
  185. data/lib/moov/models/components/cardtransactiondetails.rbi +0 -41
  186. data/lib/moov/models/components/cardtransactionstatus.rb +0 -24
  187. data/lib/moov/models/components/instantbanktransactiondetails.rb +0 -64
  188. data/lib/moov/models/components/instantbanktransactiondetails.rbi +0 -29
  189. data/lib/moov/models/components/instantbanktransactionstatus.rb +0 -21
  190. data/lib/moov/models/components/instantbanktransactionstatus.rbi +0 -11
  191. data/lib/moov/models/components/refundcarddetails.rb +0 -56
  192. data/lib/moov/models/components/refundcarddetails.rbi +0 -25
@@ -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 GetCaptureResponse
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 :capture, Crystalline::Nilable.new(Models::Components::Capture)
25
+
26
+ sig { params(content_type: ::String, status_code: ::Integer, raw_response: ::Faraday::Response, headers: T::Hash[Symbol, T::Array[::String]], capture: T.nilable(Models::Components::Capture)).void }
27
+ def initialize(content_type:, status_code:, raw_response:, headers:, capture: nil)
28
+ @content_type = content_type
29
+ @status_code = status_code
30
+ @raw_response = raw_response
31
+ @headers = headers
32
+ @capture = capture
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 @capture == other.capture
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::GetCaptureResponse
6
+ extend ::Crystalline::MetadataFields::ClassMethods
7
+ end
8
+
9
+
10
+ class Moov::Models::Operations::GetCaptureResponse
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 capture(); end
20
+ def capture=(str_); end
21
+ end
@@ -18,19 +18,19 @@ module Moov
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 } }
21
+
22
+ field :create_refund, Models::Components::CreateRefund, { 'request': { 'media_type': 'application/json' } }
21
23
  # Optional header that indicates whether to return a synchronous response that includes full transfer and rail-specific details or an
22
24
  # asynchronous response indicating the transfer was created (this is the default response if the header is omitted). A timeout will occur after 15 seconds.
23
25
  field :x_wait_for, Crystalline::Nilable.new(Models::Components::TransferWaitFor), { 'header': { 'field_name': 'x-wait-for', 'style': 'simple', 'explode': false } }
24
26
 
25
- field :create_refund, Crystalline::Nilable.new(Models::Components::CreateRefund), { 'request': { 'media_type': 'application/json' } }
26
-
27
- sig { params(x_idempotency_key: ::String, account_id: ::String, transfer_id: ::String, x_wait_for: T.nilable(Models::Components::TransferWaitFor), create_refund: T.nilable(Models::Components::CreateRefund)).void }
28
- def initialize(x_idempotency_key:, account_id:, transfer_id:, x_wait_for: nil, create_refund: nil)
27
+ sig { params(x_idempotency_key: ::String, account_id: ::String, transfer_id: ::String, create_refund: Models::Components::CreateRefund, x_wait_for: T.nilable(Models::Components::TransferWaitFor)).void }
28
+ def initialize(x_idempotency_key:, account_id:, transfer_id:, create_refund:, x_wait_for: nil)
29
29
  @x_idempotency_key = x_idempotency_key
30
30
  @account_id = account_id
31
31
  @transfer_id = transfer_id
32
- @x_wait_for = x_wait_for
33
32
  @create_refund = create_refund
33
+ @x_wait_for = x_wait_for
34
34
  end
35
35
 
36
36
  sig { params(other: T.untyped).returns(T::Boolean) }
@@ -39,8 +39,8 @@ module Moov
39
39
  return false unless @x_idempotency_key == other.x_idempotency_key
40
40
  return false unless @account_id == other.account_id
41
41
  return false unless @transfer_id == other.transfer_id
42
- return false unless @x_wait_for == other.x_wait_for
43
42
  return false unless @create_refund == other.create_refund
43
+ return false unless @x_wait_for == other.x_wait_for
44
44
  true
45
45
  end
46
46
  end
@@ -14,8 +14,8 @@ class Moov::Models::Operations::InitiateRefundRequest
14
14
  def account_id=(str_); end
15
15
  def transfer_id(); end
16
16
  def transfer_id=(str_); end
17
- def x_wait_for(); end
18
- def x_wait_for=(str_); end
19
17
  def create_refund(); end
20
18
  def create_refund=(str_); end
19
+ def x_wait_for(); end
20
+ def x_wait_for=(str_); end
21
21
  end
@@ -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 ListCapturesRequest
12
+ extend T::Sig
13
+ include Crystalline::MetadataFields
14
+
15
+ # The merchant's Moov account ID.
16
+ field :account_id, ::String, { 'path_param': { 'field_name': 'accountID', 'style': 'simple', 'explode': false } }
17
+ # Identifier for the transfer.
18
+ field :transfer_id, ::String, { 'path_param': { 'field_name': 'transferID', 'style': 'simple', 'explode': false } }
19
+
20
+ sig { params(account_id: ::String, transfer_id: ::String).void }
21
+ def initialize(account_id:, transfer_id:)
22
+ @account_id = account_id
23
+ @transfer_id = transfer_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 @transfer_id == other.transfer_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::ListCapturesRequest
6
+ extend ::Crystalline::MetadataFields::ClassMethods
7
+ end
8
+
9
+
10
+ class Moov::Models::Operations::ListCapturesRequest
11
+ def account_id(); end
12
+ def account_id=(str_); end
13
+ def transfer_id(); end
14
+ def transfer_id=(str_); end
15
+ 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 ListCapturesResponse
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 :captures, Crystalline::Nilable.new(Crystalline::Array.new(Models::Components::Capture))
25
+
26
+ sig { params(content_type: ::String, status_code: ::Integer, raw_response: ::Faraday::Response, headers: T::Hash[Symbol, T::Array[::String]], captures: T.nilable(T::Array[Models::Components::Capture])).void }
27
+ def initialize(content_type:, status_code:, raw_response:, headers:, captures: nil)
28
+ @content_type = content_type
29
+ @status_code = status_code
30
+ @raw_response = raw_response
31
+ @headers = headers
32
+ @captures = captures
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 @captures == other.captures
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::ListCapturesResponse
6
+ extend ::Crystalline::MetadataFields::ClassMethods
7
+ end
8
+
9
+
10
+ class Moov::Models::Operations::ListCapturesResponse
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 captures(); end
20
+ def captures=(str_); end
21
+ 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 ListIssuingMerchantCategoriesResponse
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 :merchant_categories, Crystalline::Nilable.new(Models::Components::MerchantCategories)
25
+
26
+ sig { params(content_type: ::String, status_code: ::Integer, raw_response: ::Faraday::Response, headers: T::Hash[Symbol, T::Array[::String]], merchant_categories: T.nilable(Models::Components::MerchantCategories)).void }
27
+ def initialize(content_type:, status_code:, raw_response:, headers:, merchant_categories: nil)
28
+ @content_type = content_type
29
+ @status_code = status_code
30
+ @raw_response = raw_response
31
+ @headers = headers
32
+ @merchant_categories = merchant_categories
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 @merchant_categories == other.merchant_categories
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::ListIssuingMerchantCategoriesResponse
6
+ extend ::Crystalline::MetadataFields::ClassMethods
7
+ end
8
+
9
+
10
+ class Moov::Models::Operations::ListIssuingMerchantCategoriesResponse
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 merchant_categories(); end
20
+ def merchant_categories=(str_); end
21
+ end
@@ -34,13 +34,19 @@ module Moov
34
34
  field :disputed, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'query_param': { 'field_name': 'disputed', 'style': 'form', 'explode': false } }
35
35
  # Optional alias from a foreign/external system which can be used to reference this resource.
36
36
  field :foreign_id, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'foreignID', 'style': 'form', 'explode': false } }
37
+ # Optional comma-separated IDs to filter for transfers associated with specific card authorizations.
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 IDs to filter for transfers associated with specific card captures.
40
+ field :capture_i_ds, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'query_param': { 'field_name': 'captureIDs', 'style': 'form', 'explode': false } }
41
+ # Optional, comma-separated transfer types by which the response is filtered.
42
+ field :transfer_types, Crystalline::Nilable.new(Crystalline::Array.new(Models::Components::TransferType)), { 'query_param': { 'field_name': 'transferTypes', 'style': 'form', 'explode': false } }
37
43
 
38
44
  field :skip, Crystalline::Nilable.new(::Integer), { 'query_param': { 'field_name': 'skip', 'style': 'form', 'explode': false } }
39
45
 
40
46
  field :count, Crystalline::Nilable.new(::Integer), { 'query_param': { 'field_name': 'count', 'style': 'form', 'explode': false } }
41
47
 
42
- 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), skip: T.nilable(::Integer), count: T.nilable(::Integer)).void }
43
- 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, 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]), capture_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, capture_i_ds: nil, transfer_types: nil, skip: nil, count: nil)
44
50
  @account_id = account_id
45
51
  @account_i_ds = account_i_ds
46
52
  @status = status
@@ -52,6 +58,9 @@ module Moov
52
58
  @refunded = refunded
53
59
  @disputed = disputed
54
60
  @foreign_id = foreign_id
61
+ @authorization_i_ds = authorization_i_ds
62
+ @capture_i_ds = capture_i_ds
63
+ @transfer_types = transfer_types
55
64
  @skip = skip
56
65
  @count = count
57
66
  end
@@ -70,6 +79,9 @@ module Moov
70
79
  return false unless @refunded == other.refunded
71
80
  return false unless @disputed == other.disputed
72
81
  return false unless @foreign_id == other.foreign_id
82
+ return false unless @authorization_i_ds == other.authorization_i_ds
83
+ return false unless @capture_i_ds == other.capture_i_ds
84
+ return false unless @transfer_types == other.transfer_types
73
85
  return false unless @skip == other.skip
74
86
  return false unless @count == other.count
75
87
  true
@@ -30,6 +30,12 @@ class Moov::Models::Operations::ListTransfersRequest
30
30
  def disputed=(str_); end
31
31
  def foreign_id(); end
32
32
  def foreign_id=(str_); end
33
+ def authorization_i_ds(); end
34
+ def authorization_i_ds=(str_); end
35
+ def capture_i_ds(); end
36
+ def capture_i_ds=(str_); end
37
+ def transfer_types(); end
38
+ def transfer_types=(str_); end
33
39
  def skip(); end
34
40
  def skip=(str_); end
35
41
  def count(); end
@@ -28,6 +28,8 @@ module Moov
28
28
  autoload :CreateBrandResponse, 'moov/models/operations/createbrand_response.rb'
29
29
  autoload :CreateCancellationRequest, 'moov/models/operations/createcancellation_request.rb'
30
30
  autoload :CreateCancellationResponse, 'moov/models/operations/createcancellation_response.rb'
31
+ autoload :CreateCaptureRequest, 'moov/models/operations/createcapture_request.rb'
32
+ autoload :CreateCaptureResponse, 'moov/models/operations/createcapture_response.rb'
31
33
  autoload :CreateDepositAccountRequest, 'moov/models/operations/createdepositaccount_request.rb'
32
34
  autoload :CreateDepositAccountResponse, 'moov/models/operations/createdepositaccount_response.rb'
33
35
  autoload :CreateFeePlanAgreementsRequest, 'moov/models/operations/createfeeplanagreements_request.rb'
@@ -118,6 +120,8 @@ module Moov
118
120
  autoload :GetCancellationResponse, 'moov/models/operations/getcancellation_response.rb'
119
121
  autoload :GetCapabilityRequest, 'moov/models/operations/getcapability_request.rb'
120
122
  autoload :GetCapabilityResponse, 'moov/models/operations/getcapability_response.rb'
123
+ autoload :GetCaptureRequest, 'moov/models/operations/getcapture_request.rb'
124
+ autoload :GetCaptureResponse, 'moov/models/operations/getcapture_response.rb'
121
125
  autoload :GetCardMetadataResponse, 'moov/models/operations/getcardmetadata_response.rb'
122
126
  autoload :GetCardRequest, 'moov/models/operations/getcard_request.rb'
123
127
  autoload :GetCardResponse, 'moov/models/operations/getcard_response.rb'
@@ -230,6 +234,8 @@ module Moov
230
234
  autoload :ListCancellationsResponse, 'moov/models/operations/listcancellations_response.rb'
231
235
  autoload :ListCapabilitiesRequest, 'moov/models/operations/listcapabilities_request.rb'
232
236
  autoload :ListCapabilitiesResponse, 'moov/models/operations/listcapabilities_response.rb'
237
+ autoload :ListCapturesRequest, 'moov/models/operations/listcaptures_request.rb'
238
+ autoload :ListCapturesResponse, 'moov/models/operations/listcaptures_response.rb'
233
239
  autoload :ListCardsRequest, 'moov/models/operations/listcards_request.rb'
234
240
  autoload :ListCardsResponse, 'moov/models/operations/listcards_response.rb'
235
241
  autoload :ListConnectedAccountsForAccountRequest, 'moov/models/operations/listconnectedaccountsforaccount_request.rb'
@@ -266,6 +272,7 @@ module Moov
266
272
  autoload :ListIssuedCardTransactionsResponse, 'moov/models/operations/listissuedcardtransactions_response.rb'
267
273
  autoload :ListIssuedCardsRequest, 'moov/models/operations/listissuedcards_request.rb'
268
274
  autoload :ListIssuedCardsResponse, 'moov/models/operations/listissuedcards_response.rb'
275
+ autoload :ListIssuingMerchantCategoriesResponse, 'moov/models/operations/listissuingmerchantcategories_response.rb'
269
276
  autoload :ListOnboardingInvitesResponse, 'moov/models/operations/listonboardinginvites_response.rb'
270
277
  autoload :ListPartnerPricingAgreementsRequest, 'moov/models/operations/listpartnerpricingagreements_request.rb'
271
278
  autoload :ListPartnerPricingAgreementsResponse, 'moov/models/operations/listpartnerpricingagreements_response.rb'
@@ -88,9 +88,9 @@ module Moov
88
88
  end
89
89
  @language = 'ruby'
90
90
  @openapi_doc_version = 'v2026.10.00'
91
- @sdk_version = '26.10.0-dev.1'
91
+ @sdk_version = '26.10.0-dev.2'
92
92
  @gen_version = '2.924.0'
93
- @user_agent = 'speakeasy-sdk/ruby 26.10.0-dev.1 2.924.0 v2026.10.00 moov_ruby'
93
+ @user_agent = 'speakeasy-sdk/ruby 26.10.0-dev.2 2.924.0 v2026.10.00 moov_ruby'
94
94
  end
95
95
 
96
96
  sig { returns([String, T::Hash[Symbol, String]]) }