moov_ruby 0.3.6 → 0.3.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 (78) hide show
  1. checksums.yaml +4 -4
  2. data/lib/moov/accounts.rb +1 -1
  3. data/lib/moov/apple_pay.rb +3 -3
  4. data/lib/moov/branding.rb +1 -1
  5. data/lib/moov/card_issuing.rb +1 -1
  6. data/lib/moov/cards.rb +6 -6
  7. data/lib/moov/images.rb +5 -6
  8. data/lib/moov/models/components/createevidencefilemultipart.rb +1 -1
  9. data/lib/moov/models/components/createpaymentlink.rb +2 -3
  10. data/lib/moov/models/components/createpaymentlinklineitem.rb +53 -0
  11. data/lib/moov/models/components/createpaymentlinklineitem.rbi +23 -0
  12. data/lib/moov/models/components/createpaymentlinklineitemoption.rb +49 -0
  13. data/lib/moov/models/components/createpaymentlinklineitemoption.rbi +21 -0
  14. data/lib/moov/models/components/{paymentlinklineitemoptionvalidationerror.rb → createpaymentlinklineitemoptionvalidationerror.rb} +1 -1
  15. data/lib/moov/models/components/{paymentlinklineitemoptionvalidationerror.rbi → createpaymentlinklineitemoptionvalidationerror.rbi} +2 -2
  16. data/lib/moov/models/components/createpaymentlinklineitems.rb +34 -0
  17. data/lib/moov/models/components/{paymentlinklineitemsupdate.rbi → createpaymentlinklineitems.rbi} +2 -2
  18. data/lib/moov/models/components/{paymentlinklineitemsupdate.rb → createpaymentlinklineitemsupdate.rb} +3 -3
  19. data/lib/moov/models/components/{paymentlinklineitemsvalidationerror.rbi → createpaymentlinklineitemsupdate.rbi} +2 -2
  20. data/lib/moov/models/components/{paymentlinklineitemsvalidationerror.rb → createpaymentlinklineitemsvalidationerror.rb} +3 -3
  21. data/lib/moov/models/components/createpaymentlinklineitemsvalidationerror.rbi +13 -0
  22. data/lib/moov/models/components/{paymentlinklineitemvalidationerror.rb → createpaymentlinklineitemvalidationerror.rb} +3 -3
  23. data/lib/moov/models/components/{paymentlinklineitemvalidationerror.rbi → createpaymentlinklineitemvalidationerror.rbi} +2 -2
  24. data/lib/moov/models/components/fileuploadrequestmultipart.rb +2 -2
  25. data/lib/moov/models/components/{imageuploadrequestmultipart_image.rb → image.rb} +1 -1
  26. data/lib/moov/models/components/{imageupdaterequestmultipart_image.rbi → image.rbi} +2 -2
  27. data/lib/moov/models/components/imageuploadrequestmultipart.rb +4 -4
  28. data/lib/moov/models/components/patchsweepconfig.rb +4 -4
  29. data/lib/moov/models/components/paymentlinklineitem.rb +6 -2
  30. data/lib/moov/models/components/paymentlinklineitem.rbi +2 -0
  31. data/lib/moov/models/components/paymentlinklineitemimagemetadata.rb +45 -0
  32. data/lib/moov/models/components/paymentlinklineitemimagemetadata.rbi +19 -0
  33. data/lib/moov/models/components/paymentlinklineitemoption.rb +6 -2
  34. data/lib/moov/models/components/paymentlinklineitemoption.rbi +2 -0
  35. data/lib/moov/models/components/updatepaymentlink.rb +2 -2
  36. data/lib/moov/models/components/updaterepresentative.rb +2 -2
  37. data/lib/moov/models/components.rb +9 -16
  38. data/lib/moov/models/errors/createpaymentlinkerror.rb +2 -2
  39. data/lib/moov/models/errors/updatepaymentlinkerror.rb +2 -2
  40. data/lib/moov/models/operations/createapplepaysession_response.rb +1 -1
  41. data/lib/moov/models/operations/createpaymentlink_request.rb +1 -1
  42. data/lib/moov/models/operations/disablepaymentlink_request.rb +1 -1
  43. data/lib/moov/models/operations/getpaymentlink_request.rb +1 -1
  44. data/lib/moov/models/operations/getpaymentlinkqrcode_request.rb +1 -1
  45. data/lib/moov/models/operations/listpaymentlinks_request.rb +1 -1
  46. data/lib/moov/models/operations/updateimage_request.rb +5 -5
  47. data/lib/moov/models/operations/updateimage_request.rbi +2 -2
  48. data/lib/moov/models/operations/updatepaymentlink_request.rb +1 -1
  49. data/lib/moov/payment_links.rb +1 -1
  50. data/lib/moov/representatives.rb +2 -2
  51. data/lib/moov/sdkconfiguration.rb +3 -3
  52. data/lib/moov/support.rb +1 -1
  53. data/lib/moov/sweeps.rb +1 -1
  54. data/lib/moov/transfers.rb +3 -3
  55. data/lib/moov/wallets.rb +1 -1
  56. metadata +20 -34
  57. data/lib/moov/models/components/email.rb +0 -28
  58. data/lib/moov/models/components/email.rbi +0 -11
  59. data/lib/moov/models/components/email_union.rb +0 -28
  60. data/lib/moov/models/components/email_union.rbi +0 -11
  61. data/lib/moov/models/components/imageupdaterequestmultipart.rb +0 -39
  62. data/lib/moov/models/components/imageupdaterequestmultipart.rbi +0 -15
  63. data/lib/moov/models/components/imageupdaterequestmultipart_image.rb +0 -37
  64. data/lib/moov/models/components/imageuploadrequestmultipart_image.rbi +0 -15
  65. data/lib/moov/models/components/metadata.rb +0 -35
  66. data/lib/moov/models/components/metadata.rbi +0 -13
  67. data/lib/moov/models/components/pullpaymentmethodid.rb +0 -28
  68. data/lib/moov/models/components/pullpaymentmethodid.rbi +0 -11
  69. data/lib/moov/models/components/pullpaymentmethodid_union.rb +0 -28
  70. data/lib/moov/models/components/pullpaymentmethodid_union.rbi +0 -11
  71. data/lib/moov/models/components/pushpaymentmethodid.rb +0 -28
  72. data/lib/moov/models/components/pushpaymentmethodid.rbi +0 -11
  73. data/lib/moov/models/components/pushpaymentmethodid_union.rb +0 -28
  74. data/lib/moov/models/components/pushpaymentmethodid_union.rbi +0 -11
  75. data/lib/moov/models/components/statementdescriptor.rb +0 -28
  76. data/lib/moov/models/components/statementdescriptor.rbi +0 -11
  77. data/lib/moov/models/components/statementdescriptor_union.rb +0 -28
  78. data/lib/moov/models/components/statementdescriptor_union.rbi +0 -11
@@ -1,28 +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
-
12
- class EmailUnion
13
- extend T::Sig
14
- include Crystalline::MetadataFields
15
-
16
-
17
-
18
- def initialize; end
19
-
20
- sig { params(other: T.untyped).returns(T::Boolean) }
21
- def ==(other)
22
- return false unless other.is_a? self.class
23
- true
24
- end
25
- end
26
- end
27
- end
28
- end
@@ -1,11 +0,0 @@
1
- # typed: true
2
- # frozen_string_literal: true
3
-
4
-
5
- class Moov::Models::Components::EmailUnion
6
- extend ::Crystalline::MetadataFields::ClassMethods
7
- end
8
-
9
-
10
- class Moov::Models::Components::EmailUnion
11
- end
@@ -1,39 +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
- # Multipart request body for updating an image and/or its metadata.
12
- class ImageUpdateRequestMultiPart
13
- extend T::Sig
14
- include Crystalline::MetadataFields
15
-
16
-
17
- field :image, Models::Components::ImageUpdateRequestMultiPartImage, { 'multipart_form': { 'file': true, 'field_name': 'image' } }
18
- # JSON-encoded metadata to update for the image.
19
- #
20
- # Omit this field if not updating metadata, or send `null` to clear existing metadata.
21
- field :metadata, Crystalline::Nilable.new(Models::Components::Metadata), { 'multipart_form': { 'field_name': 'metadata', 'json': true } }
22
-
23
- sig { params(image: Models::Components::ImageUpdateRequestMultiPartImage, metadata: T.nilable(Models::Components::Metadata)).void }
24
- def initialize(image:, metadata: nil)
25
- @image = image
26
- @metadata = metadata
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 @image == other.image
33
- return false unless @metadata == other.metadata
34
- true
35
- end
36
- end
37
- end
38
- end
39
- end
@@ -1,15 +0,0 @@
1
- # typed: true
2
- # frozen_string_literal: true
3
-
4
-
5
- class Moov::Models::Components::ImageUpdateRequestMultiPart
6
- extend ::Crystalline::MetadataFields::ClassMethods
7
- end
8
-
9
-
10
- class Moov::Models::Components::ImageUpdateRequestMultiPart
11
- def image(); end
12
- def image=(str_); end
13
- def metadata(); end
14
- def metadata=(str_); end
15
- end
@@ -1,37 +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
-
12
- class ImageUpdateRequestMultiPartImage
13
- extend T::Sig
14
- include Crystalline::MetadataFields
15
-
16
-
17
- field :file_name, ::String, { 'multipart_form': { 'field_name': 'fileName' } }
18
-
19
- field :content, ::String, { 'multipart_form': { 'content': true } }
20
-
21
- sig { params(file_name: ::String, content: ::String).void }
22
- def initialize(file_name:, content:)
23
- @file_name = file_name
24
- @content = content
25
- end
26
-
27
- sig { params(other: T.untyped).returns(T::Boolean) }
28
- def ==(other)
29
- return false unless other.is_a? self.class
30
- return false unless @file_name == other.file_name
31
- return false unless @content == other.content
32
- true
33
- end
34
- end
35
- end
36
- end
37
- end
@@ -1,15 +0,0 @@
1
- # typed: true
2
- # frozen_string_literal: true
3
-
4
-
5
- class Moov::Models::Components::ImageUploadRequestMultiPartImage
6
- extend ::Crystalline::MetadataFields::ClassMethods
7
- end
8
-
9
-
10
- class Moov::Models::Components::ImageUploadRequestMultiPartImage
11
- def file_name(); end
12
- def file_name=(str_); end
13
- def content(); end
14
- def content=(str_); end
15
- end
@@ -1,35 +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
- # JSON-encoded metadata to update for the image.
12
- #
13
- # Omit this field if not updating metadata, or send `null` to clear existing metadata.
14
- class Metadata
15
- extend T::Sig
16
- include Crystalline::MetadataFields
17
-
18
- # Alternative text for the image.
19
- field :alt_text, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('altText') } }
20
-
21
- sig { params(alt_text: T.nilable(::String)).void }
22
- def initialize(alt_text: nil)
23
- @alt_text = alt_text
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 @alt_text == other.alt_text
30
- true
31
- end
32
- end
33
- end
34
- end
35
- end
@@ -1,13 +0,0 @@
1
- # typed: true
2
- # frozen_string_literal: true
3
-
4
-
5
- class Moov::Models::Components::Metadata
6
- extend ::Crystalline::MetadataFields::ClassMethods
7
- end
8
-
9
-
10
- class Moov::Models::Components::Metadata
11
- def alt_text(); end
12
- def alt_text=(str_); end
13
- end
@@ -1,28 +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
-
12
- class PullPaymentMethodID
13
- extend T::Sig
14
- include Crystalline::MetadataFields
15
-
16
-
17
-
18
- def initialize; end
19
-
20
- sig { params(other: T.untyped).returns(T::Boolean) }
21
- def ==(other)
22
- return false unless other.is_a? self.class
23
- true
24
- end
25
- end
26
- end
27
- end
28
- end
@@ -1,11 +0,0 @@
1
- # typed: true
2
- # frozen_string_literal: true
3
-
4
-
5
- class Moov::Models::Components::PullPaymentMethodID
6
- extend ::Crystalline::MetadataFields::ClassMethods
7
- end
8
-
9
-
10
- class Moov::Models::Components::PullPaymentMethodID
11
- end
@@ -1,28 +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
-
12
- class PullPaymentMethodIDUnion
13
- extend T::Sig
14
- include Crystalline::MetadataFields
15
-
16
-
17
-
18
- def initialize; end
19
-
20
- sig { params(other: T.untyped).returns(T::Boolean) }
21
- def ==(other)
22
- return false unless other.is_a? self.class
23
- true
24
- end
25
- end
26
- end
27
- end
28
- end
@@ -1,11 +0,0 @@
1
- # typed: true
2
- # frozen_string_literal: true
3
-
4
-
5
- class Moov::Models::Components::PullPaymentMethodIDUnion
6
- extend ::Crystalline::MetadataFields::ClassMethods
7
- end
8
-
9
-
10
- class Moov::Models::Components::PullPaymentMethodIDUnion
11
- end
@@ -1,28 +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
-
12
- class PushPaymentMethodID
13
- extend T::Sig
14
- include Crystalline::MetadataFields
15
-
16
-
17
-
18
- def initialize; end
19
-
20
- sig { params(other: T.untyped).returns(T::Boolean) }
21
- def ==(other)
22
- return false unless other.is_a? self.class
23
- true
24
- end
25
- end
26
- end
27
- end
28
- end
@@ -1,11 +0,0 @@
1
- # typed: true
2
- # frozen_string_literal: true
3
-
4
-
5
- class Moov::Models::Components::PushPaymentMethodID
6
- extend ::Crystalline::MetadataFields::ClassMethods
7
- end
8
-
9
-
10
- class Moov::Models::Components::PushPaymentMethodID
11
- end
@@ -1,28 +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
-
12
- class PushPaymentMethodIDUnion
13
- extend T::Sig
14
- include Crystalline::MetadataFields
15
-
16
-
17
-
18
- def initialize; end
19
-
20
- sig { params(other: T.untyped).returns(T::Boolean) }
21
- def ==(other)
22
- return false unless other.is_a? self.class
23
- true
24
- end
25
- end
26
- end
27
- end
28
- end
@@ -1,11 +0,0 @@
1
- # typed: true
2
- # frozen_string_literal: true
3
-
4
-
5
- class Moov::Models::Components::PushPaymentMethodIDUnion
6
- extend ::Crystalline::MetadataFields::ClassMethods
7
- end
8
-
9
-
10
- class Moov::Models::Components::PushPaymentMethodIDUnion
11
- end
@@ -1,28 +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
-
12
- class StatementDescriptor
13
- extend T::Sig
14
- include Crystalline::MetadataFields
15
-
16
-
17
-
18
- def initialize; end
19
-
20
- sig { params(other: T.untyped).returns(T::Boolean) }
21
- def ==(other)
22
- return false unless other.is_a? self.class
23
- true
24
- end
25
- end
26
- end
27
- end
28
- end
@@ -1,11 +0,0 @@
1
- # typed: true
2
- # frozen_string_literal: true
3
-
4
-
5
- class Moov::Models::Components::StatementDescriptor
6
- extend ::Crystalline::MetadataFields::ClassMethods
7
- end
8
-
9
-
10
- class Moov::Models::Components::StatementDescriptor
11
- end
@@ -1,28 +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
-
12
- class StatementDescriptorUnion
13
- extend T::Sig
14
- include Crystalline::MetadataFields
15
-
16
-
17
-
18
- def initialize; end
19
-
20
- sig { params(other: T.untyped).returns(T::Boolean) }
21
- def ==(other)
22
- return false unless other.is_a? self.class
23
- true
24
- end
25
- end
26
- end
27
- end
28
- end
@@ -1,11 +0,0 @@
1
- # typed: true
2
- # frozen_string_literal: true
3
-
4
-
5
- class Moov::Models::Components::StatementDescriptorUnion
6
- extend ::Crystalline::MetadataFields::ClassMethods
7
- end
8
-
9
-
10
- class Moov::Models::Components::StatementDescriptorUnion
11
- end