increase 1.342.0 → 1.344.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/increase/internal/transport/base_client.rb +5 -36
- data/lib/increase/models/beneficial_owner_create_params.rb +9 -12
- data/lib/increase/models/beneficial_owner_update_params.rb +9 -12
- data/lib/increase/models/entity_create_params.rb +54 -72
- data/lib/increase/models/entity_update_params.rb +18 -24
- data/lib/increase/models/event.rb +6 -0
- data/lib/increase/models/event_list_params.rb +6 -0
- data/lib/increase/models/event_subscription.rb +6 -0
- data/lib/increase/models/event_subscription_create_params.rb +6 -0
- data/lib/increase/models/file.rb +3 -1
- data/lib/increase/models/file_contents_params.rb +22 -0
- data/lib/increase/models/unwrap_webhook_event.rb +6 -0
- data/lib/increase/models.rb +2 -0
- data/lib/increase/resources/files.rb +28 -0
- data/lib/increase/version.rb +1 -1
- data/lib/increase.rb +1 -0
- data/rbi/increase/internal/transport/base_client.rbi +2 -10
- data/rbi/increase/models/beneficial_owner_create_params.rbi +8 -13
- data/rbi/increase/models/beneficial_owner_update_params.rbi +8 -13
- data/rbi/increase/models/entity_create_params.rbi +48 -78
- data/rbi/increase/models/entity_update_params.rbi +16 -26
- data/rbi/increase/models/event.rbi +14 -0
- data/rbi/increase/models/event_list_params.rbi +14 -0
- data/rbi/increase/models/event_subscription.rbi +14 -0
- data/rbi/increase/models/event_subscription_create_params.rbi +14 -0
- data/rbi/increase/models/file.rbi +3 -1
- data/rbi/increase/models/file_contents_params.rbi +40 -0
- data/rbi/increase/models/unwrap_webhook_event.rbi +14 -0
- data/rbi/increase/models.rbi +2 -0
- data/rbi/increase/resources/files.rbi +21 -0
- data/sig/increase/internal/transport/base_client.rbs +1 -4
- data/sig/increase/models/beneficial_owner_create_params.rbs +5 -7
- data/sig/increase/models/beneficial_owner_update_params.rbs +5 -7
- data/sig/increase/models/entity_create_params.rbs +30 -42
- data/sig/increase/models/entity_update_params.rbs +10 -14
- data/sig/increase/models/event.rbs +8 -0
- data/sig/increase/models/event_list_params.rbs +8 -0
- data/sig/increase/models/event_subscription.rbs +8 -0
- data/sig/increase/models/event_subscription_create_params.rbs +8 -0
- data/sig/increase/models/file_contents_params.rbs +23 -0
- data/sig/increase/models/unwrap_webhook_event.rbs +8 -0
- data/sig/increase/models.rbs +2 -0
- data/sig/increase/resources/files.rbs +5 -0
- metadata +5 -2
|
@@ -700,6 +700,20 @@ module Increase
|
|
|
700
700
|
Increase::Event::Category::TaggedSymbol
|
|
701
701
|
)
|
|
702
702
|
|
|
703
|
+
# Occurs whenever a Physical Check Book is created.
|
|
704
|
+
PHYSICAL_CHECK_BOOK_CREATED =
|
|
705
|
+
T.let(
|
|
706
|
+
:"physical_check_book.created",
|
|
707
|
+
Increase::Event::Category::TaggedSymbol
|
|
708
|
+
)
|
|
709
|
+
|
|
710
|
+
# Occurs whenever a Physical Check Book is updated.
|
|
711
|
+
PHYSICAL_CHECK_BOOK_UPDATED =
|
|
712
|
+
T.let(
|
|
713
|
+
:"physical_check_book.updated",
|
|
714
|
+
Increase::Event::Category::TaggedSymbol
|
|
715
|
+
)
|
|
716
|
+
|
|
703
717
|
# Occurs whenever a Program is created.
|
|
704
718
|
PROGRAM_CREATED =
|
|
705
719
|
T.let(:"program.created", Increase::Event::Category::TaggedSymbol)
|
|
@@ -811,6 +811,20 @@ module Increase
|
|
|
811
811
|
Increase::EventListParams::Category::In::TaggedSymbol
|
|
812
812
|
)
|
|
813
813
|
|
|
814
|
+
# Occurs whenever a Physical Check Book is created.
|
|
815
|
+
PHYSICAL_CHECK_BOOK_CREATED =
|
|
816
|
+
T.let(
|
|
817
|
+
:"physical_check_book.created",
|
|
818
|
+
Increase::EventListParams::Category::In::TaggedSymbol
|
|
819
|
+
)
|
|
820
|
+
|
|
821
|
+
# Occurs whenever a Physical Check Book is updated.
|
|
822
|
+
PHYSICAL_CHECK_BOOK_UPDATED =
|
|
823
|
+
T.let(
|
|
824
|
+
:"physical_check_book.updated",
|
|
825
|
+
Increase::EventListParams::Category::In::TaggedSymbol
|
|
826
|
+
)
|
|
827
|
+
|
|
814
828
|
# Occurs whenever a Program is created.
|
|
815
829
|
PROGRAM_CREATED =
|
|
816
830
|
T.let(
|
|
@@ -836,6 +836,20 @@ module Increase
|
|
|
836
836
|
Increase::EventSubscription::SelectedEventCategory::EventCategory::TaggedSymbol
|
|
837
837
|
)
|
|
838
838
|
|
|
839
|
+
# Occurs whenever a Physical Check Book is created.
|
|
840
|
+
PHYSICAL_CHECK_BOOK_CREATED =
|
|
841
|
+
T.let(
|
|
842
|
+
:"physical_check_book.created",
|
|
843
|
+
Increase::EventSubscription::SelectedEventCategory::EventCategory::TaggedSymbol
|
|
844
|
+
)
|
|
845
|
+
|
|
846
|
+
# Occurs whenever a Physical Check Book is updated.
|
|
847
|
+
PHYSICAL_CHECK_BOOK_UPDATED =
|
|
848
|
+
T.let(
|
|
849
|
+
:"physical_check_book.updated",
|
|
850
|
+
Increase::EventSubscription::SelectedEventCategory::EventCategory::TaggedSymbol
|
|
851
|
+
)
|
|
852
|
+
|
|
839
853
|
# Occurs whenever a Program is created.
|
|
840
854
|
PROGRAM_CREATED =
|
|
841
855
|
T.let(
|
|
@@ -834,6 +834,20 @@ module Increase
|
|
|
834
834
|
Increase::EventSubscriptionCreateParams::SelectedEventCategory::EventCategory::TaggedSymbol
|
|
835
835
|
)
|
|
836
836
|
|
|
837
|
+
# Occurs whenever a Physical Check Book is created.
|
|
838
|
+
PHYSICAL_CHECK_BOOK_CREATED =
|
|
839
|
+
T.let(
|
|
840
|
+
:"physical_check_book.created",
|
|
841
|
+
Increase::EventSubscriptionCreateParams::SelectedEventCategory::EventCategory::TaggedSymbol
|
|
842
|
+
)
|
|
843
|
+
|
|
844
|
+
# Occurs whenever a Physical Check Book is updated.
|
|
845
|
+
PHYSICAL_CHECK_BOOK_UPDATED =
|
|
846
|
+
T.let(
|
|
847
|
+
:"physical_check_book.updated",
|
|
848
|
+
Increase::EventSubscriptionCreateParams::SelectedEventCategory::EventCategory::TaggedSymbol
|
|
849
|
+
)
|
|
850
|
+
|
|
837
851
|
# Occurs whenever a Program is created.
|
|
838
852
|
PROGRAM_CREATED =
|
|
839
853
|
T.let(
|
|
@@ -50,7 +50,9 @@ module Increase
|
|
|
50
50
|
# Files are objects that represent a file hosted on Increase's servers. The file
|
|
51
51
|
# may have been uploaded by you (for example, when uploading a check image) or it
|
|
52
52
|
# may have been created by Increase (for example, an autogenerated statement PDF).
|
|
53
|
-
# If you need to download a File,
|
|
53
|
+
# If you need to download a File, use the `/files/{file_id}/contents` endpoint. If
|
|
54
|
+
# you need to share a File with someone who doesn't have access to your API key,
|
|
55
|
+
# create a File Link.
|
|
54
56
|
sig do
|
|
55
57
|
params(
|
|
56
58
|
id: String,
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Increase
|
|
4
|
+
module Models
|
|
5
|
+
class FileContentsParams < Increase::Internal::Type::BaseModel
|
|
6
|
+
extend Increase::Internal::Type::RequestParameters::Converter
|
|
7
|
+
include Increase::Internal::Type::RequestParameters
|
|
8
|
+
|
|
9
|
+
OrHash =
|
|
10
|
+
T.type_alias do
|
|
11
|
+
T.any(Increase::FileContentsParams, Increase::Internal::AnyHash)
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
# The identifier of the File.
|
|
15
|
+
sig { returns(String) }
|
|
16
|
+
attr_accessor :file_id
|
|
17
|
+
|
|
18
|
+
sig do
|
|
19
|
+
params(
|
|
20
|
+
file_id: String,
|
|
21
|
+
request_options: Increase::RequestOptions::OrHash
|
|
22
|
+
).returns(T.attached_class)
|
|
23
|
+
end
|
|
24
|
+
def self.new(
|
|
25
|
+
# The identifier of the File.
|
|
26
|
+
file_id:,
|
|
27
|
+
request_options: {}
|
|
28
|
+
)
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
sig do
|
|
32
|
+
override.returns(
|
|
33
|
+
{ file_id: String, request_options: Increase::RequestOptions }
|
|
34
|
+
)
|
|
35
|
+
end
|
|
36
|
+
def to_hash
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
end
|
|
@@ -748,6 +748,20 @@ module Increase
|
|
|
748
748
|
Increase::UnwrapWebhookEvent::Category::TaggedSymbol
|
|
749
749
|
)
|
|
750
750
|
|
|
751
|
+
# Occurs whenever a Physical Check Book is created.
|
|
752
|
+
PHYSICAL_CHECK_BOOK_CREATED =
|
|
753
|
+
T.let(
|
|
754
|
+
:"physical_check_book.created",
|
|
755
|
+
Increase::UnwrapWebhookEvent::Category::TaggedSymbol
|
|
756
|
+
)
|
|
757
|
+
|
|
758
|
+
# Occurs whenever a Physical Check Book is updated.
|
|
759
|
+
PHYSICAL_CHECK_BOOK_UPDATED =
|
|
760
|
+
T.let(
|
|
761
|
+
:"physical_check_book.updated",
|
|
762
|
+
Increase::UnwrapWebhookEvent::Category::TaggedSymbol
|
|
763
|
+
)
|
|
764
|
+
|
|
751
765
|
# Occurs whenever a Program is created.
|
|
752
766
|
PROGRAM_CREATED =
|
|
753
767
|
T.let(
|
data/rbi/increase/models.rbi
CHANGED
|
@@ -69,6 +69,27 @@ module Increase
|
|
|
69
69
|
)
|
|
70
70
|
end
|
|
71
71
|
|
|
72
|
+
# Download the contents of a File. Responds with a 307 redirect whose `Location`
|
|
73
|
+
# header points at a short-lived, pre-signed URL. Our
|
|
74
|
+
# [SDKs](/documentation/software-development-kits) follow the redirect and return
|
|
75
|
+
# the File's contents; if you call the API directly, follow the redirect to
|
|
76
|
+
# download it. The pre-signed URL serves the File with a `Content-Type` matching
|
|
77
|
+
# its `mime` and a `Content-Disposition` header set to its `filename`. It expires
|
|
78
|
+
# in 10 minutes. To share a File with someone who doesn't have access to your API
|
|
79
|
+
# key, create a File Link.
|
|
80
|
+
sig do
|
|
81
|
+
params(
|
|
82
|
+
file_id: String,
|
|
83
|
+
request_options: Increase::RequestOptions::OrHash
|
|
84
|
+
).returns(StringIO)
|
|
85
|
+
end
|
|
86
|
+
def contents(
|
|
87
|
+
# The identifier of the File.
|
|
88
|
+
file_id,
|
|
89
|
+
request_options: {}
|
|
90
|
+
)
|
|
91
|
+
end
|
|
92
|
+
|
|
72
93
|
# @api private
|
|
73
94
|
sig { params(client: Increase::Client).returns(T.attached_class) }
|
|
74
95
|
def self.new(client:)
|
|
@@ -34,8 +34,6 @@ module Increase
|
|
|
34
34
|
|
|
35
35
|
MAX_REDIRECTS: 20
|
|
36
36
|
|
|
37
|
-
PLATFORM_HEADERS: ::Hash[String, String]
|
|
38
|
-
|
|
39
37
|
def self.validate!: (
|
|
40
38
|
Increase::Internal::Transport::BaseClient::request_components req
|
|
41
39
|
) -> void
|
|
@@ -104,8 +102,7 @@ module Increase
|
|
|
104
102
|
def send_request: (
|
|
105
103
|
Increase::Internal::Transport::BaseClient::request_input request,
|
|
106
104
|
redirect_count: Integer,
|
|
107
|
-
retry_count: Integer
|
|
108
|
-
send_retry_header: bool
|
|
105
|
+
retry_count: Integer
|
|
109
106
|
) -> [Integer, top, Enumerable[String]]
|
|
110
107
|
|
|
111
108
|
def request: (
|
|
@@ -80,8 +80,8 @@ module Increase
|
|
|
80
80
|
type address =
|
|
81
81
|
{
|
|
82
82
|
city: String,
|
|
83
|
-
:line1 => String,
|
|
84
83
|
country: String,
|
|
84
|
+
:line1 => String,
|
|
85
85
|
:line2 => String,
|
|
86
86
|
state: String,
|
|
87
87
|
zip: String
|
|
@@ -90,11 +90,9 @@ module Increase
|
|
|
90
90
|
class Address < Increase::Internal::Type::BaseModel
|
|
91
91
|
attr_accessor city: String
|
|
92
92
|
|
|
93
|
-
attr_accessor
|
|
94
|
-
|
|
95
|
-
attr_reader country: String?
|
|
93
|
+
attr_accessor country: String
|
|
96
94
|
|
|
97
|
-
|
|
95
|
+
attr_accessor line1: String
|
|
98
96
|
|
|
99
97
|
attr_reader line2: String?
|
|
100
98
|
|
|
@@ -110,8 +108,8 @@ module Increase
|
|
|
110
108
|
|
|
111
109
|
def initialize: (
|
|
112
110
|
city: String,
|
|
111
|
+
country: String,
|
|
113
112
|
line1: String,
|
|
114
|
-
?country: String,
|
|
115
113
|
?line2: String,
|
|
116
114
|
?state: String,
|
|
117
115
|
?zip: String
|
|
@@ -119,8 +117,8 @@ module Increase
|
|
|
119
117
|
|
|
120
118
|
def to_hash: -> {
|
|
121
119
|
city: String,
|
|
122
|
-
:line1 => String,
|
|
123
120
|
country: String,
|
|
121
|
+
:line1 => String,
|
|
124
122
|
:line2 => String,
|
|
125
123
|
state: String,
|
|
126
124
|
zip: String
|
|
@@ -66,8 +66,8 @@ module Increase
|
|
|
66
66
|
type address =
|
|
67
67
|
{
|
|
68
68
|
city: String,
|
|
69
|
-
:line1 => String,
|
|
70
69
|
country: String,
|
|
70
|
+
:line1 => String,
|
|
71
71
|
:line2 => String,
|
|
72
72
|
state: String,
|
|
73
73
|
zip: String
|
|
@@ -76,11 +76,9 @@ module Increase
|
|
|
76
76
|
class Address < Increase::Internal::Type::BaseModel
|
|
77
77
|
attr_accessor city: String
|
|
78
78
|
|
|
79
|
-
attr_accessor
|
|
80
|
-
|
|
81
|
-
attr_reader country: String?
|
|
79
|
+
attr_accessor country: String
|
|
82
80
|
|
|
83
|
-
|
|
81
|
+
attr_accessor line1: String
|
|
84
82
|
|
|
85
83
|
attr_reader line2: String?
|
|
86
84
|
|
|
@@ -96,8 +94,8 @@ module Increase
|
|
|
96
94
|
|
|
97
95
|
def initialize: (
|
|
98
96
|
city: String,
|
|
97
|
+
country: String,
|
|
99
98
|
line1: String,
|
|
100
|
-
?country: String,
|
|
101
99
|
?line2: String,
|
|
102
100
|
?state: String,
|
|
103
101
|
?zip: String
|
|
@@ -105,8 +103,8 @@ module Increase
|
|
|
105
103
|
|
|
106
104
|
def to_hash: -> {
|
|
107
105
|
city: String,
|
|
108
|
-
:line1 => String,
|
|
109
106
|
country: String,
|
|
107
|
+
:line1 => String,
|
|
110
108
|
:line2 => String,
|
|
111
109
|
state: String,
|
|
112
110
|
zip: String
|
|
@@ -205,8 +205,8 @@ module Increase
|
|
|
205
205
|
type address =
|
|
206
206
|
{
|
|
207
207
|
city: String,
|
|
208
|
-
:line1 => String,
|
|
209
208
|
country: String,
|
|
209
|
+
:line1 => String,
|
|
210
210
|
:line2 => String,
|
|
211
211
|
state: String,
|
|
212
212
|
zip: String
|
|
@@ -215,11 +215,9 @@ module Increase
|
|
|
215
215
|
class Address < Increase::Internal::Type::BaseModel
|
|
216
216
|
attr_accessor city: String
|
|
217
217
|
|
|
218
|
-
attr_accessor
|
|
219
|
-
|
|
220
|
-
attr_reader country: String?
|
|
218
|
+
attr_accessor country: String
|
|
221
219
|
|
|
222
|
-
|
|
220
|
+
attr_accessor line1: String
|
|
223
221
|
|
|
224
222
|
attr_reader line2: String?
|
|
225
223
|
|
|
@@ -235,8 +233,8 @@ module Increase
|
|
|
235
233
|
|
|
236
234
|
def initialize: (
|
|
237
235
|
city: String,
|
|
236
|
+
country: String,
|
|
238
237
|
line1: String,
|
|
239
|
-
?country: String,
|
|
240
238
|
?line2: String,
|
|
241
239
|
?state: String,
|
|
242
240
|
?zip: String
|
|
@@ -244,8 +242,8 @@ module Increase
|
|
|
244
242
|
|
|
245
243
|
def to_hash: -> {
|
|
246
244
|
city: String,
|
|
247
|
-
:line1 => String,
|
|
248
245
|
country: String,
|
|
246
|
+
:line1 => String,
|
|
249
247
|
:line2 => String,
|
|
250
248
|
state: String,
|
|
251
249
|
zip: String
|
|
@@ -321,8 +319,8 @@ module Increase
|
|
|
321
319
|
type address =
|
|
322
320
|
{
|
|
323
321
|
city: String,
|
|
324
|
-
:line1 => String,
|
|
325
322
|
country: String,
|
|
323
|
+
:line1 => String,
|
|
326
324
|
:line2 => String,
|
|
327
325
|
state: String,
|
|
328
326
|
zip: String
|
|
@@ -331,11 +329,9 @@ module Increase
|
|
|
331
329
|
class Address < Increase::Internal::Type::BaseModel
|
|
332
330
|
attr_accessor city: String
|
|
333
331
|
|
|
334
|
-
attr_accessor
|
|
335
|
-
|
|
336
|
-
attr_reader country: String?
|
|
332
|
+
attr_accessor country: String
|
|
337
333
|
|
|
338
|
-
|
|
334
|
+
attr_accessor line1: String
|
|
339
335
|
|
|
340
336
|
attr_reader line2: String?
|
|
341
337
|
|
|
@@ -351,8 +347,8 @@ module Increase
|
|
|
351
347
|
|
|
352
348
|
def initialize: (
|
|
353
349
|
city: String,
|
|
350
|
+
country: String,
|
|
354
351
|
line1: String,
|
|
355
|
-
?country: String,
|
|
356
352
|
?line2: String,
|
|
357
353
|
?state: String,
|
|
358
354
|
?zip: String
|
|
@@ -360,8 +356,8 @@ module Increase
|
|
|
360
356
|
|
|
361
357
|
def to_hash: -> {
|
|
362
358
|
city: String,
|
|
363
|
-
:line1 => String,
|
|
364
359
|
country: String,
|
|
360
|
+
:line1 => String,
|
|
365
361
|
:line2 => String,
|
|
366
362
|
state: String,
|
|
367
363
|
zip: String
|
|
@@ -795,8 +791,8 @@ module Increase
|
|
|
795
791
|
type address =
|
|
796
792
|
{
|
|
797
793
|
city: String,
|
|
798
|
-
:line1 => String,
|
|
799
794
|
country: String,
|
|
795
|
+
:line1 => String,
|
|
800
796
|
:line2 => String,
|
|
801
797
|
state: String,
|
|
802
798
|
zip: String
|
|
@@ -805,11 +801,9 @@ module Increase
|
|
|
805
801
|
class Address < Increase::Internal::Type::BaseModel
|
|
806
802
|
attr_accessor city: String
|
|
807
803
|
|
|
808
|
-
attr_accessor
|
|
809
|
-
|
|
810
|
-
attr_reader country: String?
|
|
804
|
+
attr_accessor country: String
|
|
811
805
|
|
|
812
|
-
|
|
806
|
+
attr_accessor line1: String
|
|
813
807
|
|
|
814
808
|
attr_reader line2: String?
|
|
815
809
|
|
|
@@ -825,8 +819,8 @@ module Increase
|
|
|
825
819
|
|
|
826
820
|
def initialize: (
|
|
827
821
|
city: String,
|
|
822
|
+
country: String,
|
|
828
823
|
line1: String,
|
|
829
|
-
?country: String,
|
|
830
824
|
?line2: String,
|
|
831
825
|
?state: String,
|
|
832
826
|
?zip: String
|
|
@@ -834,8 +828,8 @@ module Increase
|
|
|
834
828
|
|
|
835
829
|
def to_hash: -> {
|
|
836
830
|
city: String,
|
|
837
|
-
:line1 => String,
|
|
838
831
|
country: String,
|
|
832
|
+
:line1 => String,
|
|
839
833
|
:line2 => String,
|
|
840
834
|
state: String,
|
|
841
835
|
zip: String
|
|
@@ -1060,8 +1054,8 @@ module Increase
|
|
|
1060
1054
|
type address =
|
|
1061
1055
|
{
|
|
1062
1056
|
city: String,
|
|
1063
|
-
:line1 => String,
|
|
1064
1057
|
country: String,
|
|
1058
|
+
:line1 => String,
|
|
1065
1059
|
:line2 => String,
|
|
1066
1060
|
state: String,
|
|
1067
1061
|
zip: String
|
|
@@ -1070,11 +1064,9 @@ module Increase
|
|
|
1070
1064
|
class Address < Increase::Internal::Type::BaseModel
|
|
1071
1065
|
attr_accessor city: String
|
|
1072
1066
|
|
|
1073
|
-
attr_accessor
|
|
1074
|
-
|
|
1075
|
-
attr_reader country: String?
|
|
1067
|
+
attr_accessor country: String
|
|
1076
1068
|
|
|
1077
|
-
|
|
1069
|
+
attr_accessor line1: String
|
|
1078
1070
|
|
|
1079
1071
|
attr_reader line2: String?
|
|
1080
1072
|
|
|
@@ -1090,8 +1082,8 @@ module Increase
|
|
|
1090
1082
|
|
|
1091
1083
|
def initialize: (
|
|
1092
1084
|
city: String,
|
|
1085
|
+
country: String,
|
|
1093
1086
|
line1: String,
|
|
1094
|
-
?country: String,
|
|
1095
1087
|
?line2: String,
|
|
1096
1088
|
?state: String,
|
|
1097
1089
|
?zip: String
|
|
@@ -1099,8 +1091,8 @@ module Increase
|
|
|
1099
1091
|
|
|
1100
1092
|
def to_hash: -> {
|
|
1101
1093
|
city: String,
|
|
1102
|
-
:line1 => String,
|
|
1103
1094
|
country: String,
|
|
1095
|
+
:line1 => String,
|
|
1104
1096
|
:line2 => String,
|
|
1105
1097
|
state: String,
|
|
1106
1098
|
zip: String
|
|
@@ -1591,8 +1583,8 @@ module Increase
|
|
|
1591
1583
|
type address =
|
|
1592
1584
|
{
|
|
1593
1585
|
city: String,
|
|
1594
|
-
:line1 => String,
|
|
1595
1586
|
country: String,
|
|
1587
|
+
:line1 => String,
|
|
1596
1588
|
:line2 => String,
|
|
1597
1589
|
state: String,
|
|
1598
1590
|
zip: String
|
|
@@ -1601,11 +1593,9 @@ module Increase
|
|
|
1601
1593
|
class Address < Increase::Internal::Type::BaseModel
|
|
1602
1594
|
attr_accessor city: String
|
|
1603
1595
|
|
|
1604
|
-
attr_accessor
|
|
1605
|
-
|
|
1606
|
-
attr_reader country: String?
|
|
1596
|
+
attr_accessor country: String
|
|
1607
1597
|
|
|
1608
|
-
|
|
1598
|
+
attr_accessor line1: String
|
|
1609
1599
|
|
|
1610
1600
|
attr_reader line2: String?
|
|
1611
1601
|
|
|
@@ -1621,8 +1611,8 @@ module Increase
|
|
|
1621
1611
|
|
|
1622
1612
|
def initialize: (
|
|
1623
1613
|
city: String,
|
|
1614
|
+
country: String,
|
|
1624
1615
|
line1: String,
|
|
1625
|
-
?country: String,
|
|
1626
1616
|
?line2: String,
|
|
1627
1617
|
?state: String,
|
|
1628
1618
|
?zip: String
|
|
@@ -1630,8 +1620,8 @@ module Increase
|
|
|
1630
1620
|
|
|
1631
1621
|
def to_hash: -> {
|
|
1632
1622
|
city: String,
|
|
1633
|
-
:line1 => String,
|
|
1634
1623
|
country: String,
|
|
1624
|
+
:line1 => String,
|
|
1635
1625
|
:line2 => String,
|
|
1636
1626
|
state: String,
|
|
1637
1627
|
zip: String
|
|
@@ -1856,8 +1846,8 @@ module Increase
|
|
|
1856
1846
|
type address =
|
|
1857
1847
|
{
|
|
1858
1848
|
city: String,
|
|
1859
|
-
:line1 => String,
|
|
1860
1849
|
country: String,
|
|
1850
|
+
:line1 => String,
|
|
1861
1851
|
:line2 => String,
|
|
1862
1852
|
state: String,
|
|
1863
1853
|
zip: String
|
|
@@ -1866,11 +1856,9 @@ module Increase
|
|
|
1866
1856
|
class Address < Increase::Internal::Type::BaseModel
|
|
1867
1857
|
attr_accessor city: String
|
|
1868
1858
|
|
|
1869
|
-
attr_accessor
|
|
1870
|
-
|
|
1871
|
-
attr_reader country: String?
|
|
1859
|
+
attr_accessor country: String
|
|
1872
1860
|
|
|
1873
|
-
|
|
1861
|
+
attr_accessor line1: String
|
|
1874
1862
|
|
|
1875
1863
|
attr_reader line2: String?
|
|
1876
1864
|
|
|
@@ -1886,8 +1874,8 @@ module Increase
|
|
|
1886
1874
|
|
|
1887
1875
|
def initialize: (
|
|
1888
1876
|
city: String,
|
|
1877
|
+
country: String,
|
|
1889
1878
|
line1: String,
|
|
1890
|
-
?country: String,
|
|
1891
1879
|
?line2: String,
|
|
1892
1880
|
?state: String,
|
|
1893
1881
|
?zip: String
|
|
@@ -1895,8 +1883,8 @@ module Increase
|
|
|
1895
1883
|
|
|
1896
1884
|
def to_hash: -> {
|
|
1897
1885
|
city: String,
|
|
1898
|
-
:line1 => String,
|
|
1899
1886
|
country: String,
|
|
1887
|
+
:line1 => String,
|
|
1900
1888
|
:line2 => String,
|
|
1901
1889
|
state: String,
|
|
1902
1890
|
zip: String
|
|
@@ -159,8 +159,8 @@ module Increase
|
|
|
159
159
|
type address =
|
|
160
160
|
{
|
|
161
161
|
city: String,
|
|
162
|
-
:line1 => String,
|
|
163
162
|
country: String,
|
|
163
|
+
:line1 => String,
|
|
164
164
|
:line2 => String,
|
|
165
165
|
state: String,
|
|
166
166
|
zip: String
|
|
@@ -169,11 +169,9 @@ module Increase
|
|
|
169
169
|
class Address < Increase::Internal::Type::BaseModel
|
|
170
170
|
attr_accessor city: String
|
|
171
171
|
|
|
172
|
-
attr_accessor
|
|
173
|
-
|
|
174
|
-
attr_reader country: String?
|
|
172
|
+
attr_accessor country: String
|
|
175
173
|
|
|
176
|
-
|
|
174
|
+
attr_accessor line1: String
|
|
177
175
|
|
|
178
176
|
attr_reader line2: String?
|
|
179
177
|
|
|
@@ -189,8 +187,8 @@ module Increase
|
|
|
189
187
|
|
|
190
188
|
def initialize: (
|
|
191
189
|
city: String,
|
|
190
|
+
country: String,
|
|
192
191
|
line1: String,
|
|
193
|
-
?country: String,
|
|
194
192
|
?line2: String,
|
|
195
193
|
?state: String,
|
|
196
194
|
?zip: String
|
|
@@ -198,8 +196,8 @@ module Increase
|
|
|
198
196
|
|
|
199
197
|
def to_hash: -> {
|
|
200
198
|
city: String,
|
|
201
|
-
:line1 => String,
|
|
202
199
|
country: String,
|
|
200
|
+
:line1 => String,
|
|
203
201
|
:line2 => String,
|
|
204
202
|
state: String,
|
|
205
203
|
zip: String
|
|
@@ -360,8 +358,8 @@ module Increase
|
|
|
360
358
|
type address =
|
|
361
359
|
{
|
|
362
360
|
city: String,
|
|
363
|
-
:line1 => String,
|
|
364
361
|
country: String,
|
|
362
|
+
:line1 => String,
|
|
365
363
|
:line2 => String,
|
|
366
364
|
state: String,
|
|
367
365
|
zip: String
|
|
@@ -370,11 +368,9 @@ module Increase
|
|
|
370
368
|
class Address < Increase::Internal::Type::BaseModel
|
|
371
369
|
attr_accessor city: String
|
|
372
370
|
|
|
373
|
-
attr_accessor
|
|
374
|
-
|
|
375
|
-
attr_reader country: String?
|
|
371
|
+
attr_accessor country: String
|
|
376
372
|
|
|
377
|
-
|
|
373
|
+
attr_accessor line1: String
|
|
378
374
|
|
|
379
375
|
attr_reader line2: String?
|
|
380
376
|
|
|
@@ -390,8 +386,8 @@ module Increase
|
|
|
390
386
|
|
|
391
387
|
def initialize: (
|
|
392
388
|
city: String,
|
|
389
|
+
country: String,
|
|
393
390
|
line1: String,
|
|
394
|
-
?country: String,
|
|
395
391
|
?line2: String,
|
|
396
392
|
?state: String,
|
|
397
393
|
?zip: String
|
|
@@ -399,8 +395,8 @@ module Increase
|
|
|
399
395
|
|
|
400
396
|
def to_hash: -> {
|
|
401
397
|
city: String,
|
|
402
|
-
:line1 => String,
|
|
403
398
|
country: String,
|
|
399
|
+
:line1 => String,
|
|
404
400
|
:line2 => String,
|
|
405
401
|
state: String,
|
|
406
402
|
zip: String
|
|
@@ -136,6 +136,8 @@ module Increase
|
|
|
136
136
|
| :"physical_card_profile.updated"
|
|
137
137
|
| :"physical_check.created"
|
|
138
138
|
| :"physical_check.updated"
|
|
139
|
+
| :"physical_check_book.created"
|
|
140
|
+
| :"physical_check_book.updated"
|
|
139
141
|
| :"program.created"
|
|
140
142
|
| :"program.updated"
|
|
141
143
|
| :"proof_of_authorization_request.created"
|
|
@@ -443,6 +445,12 @@ module Increase
|
|
|
443
445
|
# Occurs whenever a Physical Check is updated.
|
|
444
446
|
PHYSICAL_CHECK_UPDATED: :"physical_check.updated"
|
|
445
447
|
|
|
448
|
+
# Occurs whenever a Physical Check Book is created.
|
|
449
|
+
PHYSICAL_CHECK_BOOK_CREATED: :"physical_check_book.created"
|
|
450
|
+
|
|
451
|
+
# Occurs whenever a Physical Check Book is updated.
|
|
452
|
+
PHYSICAL_CHECK_BOOK_UPDATED: :"physical_check_book.updated"
|
|
453
|
+
|
|
446
454
|
# Occurs whenever a Program is created.
|
|
447
455
|
PROGRAM_CREATED: :"program.created"
|
|
448
456
|
|
|
@@ -178,6 +178,8 @@ module Increase
|
|
|
178
178
|
| :"physical_card_profile.updated"
|
|
179
179
|
| :"physical_check.created"
|
|
180
180
|
| :"physical_check.updated"
|
|
181
|
+
| :"physical_check_book.created"
|
|
182
|
+
| :"physical_check_book.updated"
|
|
181
183
|
| :"program.created"
|
|
182
184
|
| :"program.updated"
|
|
183
185
|
| :"proof_of_authorization_request.created"
|
|
@@ -485,6 +487,12 @@ module Increase
|
|
|
485
487
|
# Occurs whenever a Physical Check is updated.
|
|
486
488
|
PHYSICAL_CHECK_UPDATED: :"physical_check.updated"
|
|
487
489
|
|
|
490
|
+
# Occurs whenever a Physical Check Book is created.
|
|
491
|
+
PHYSICAL_CHECK_BOOK_CREATED: :"physical_check_book.created"
|
|
492
|
+
|
|
493
|
+
# Occurs whenever a Physical Check Book is updated.
|
|
494
|
+
PHYSICAL_CHECK_BOOK_UPDATED: :"physical_check_book.updated"
|
|
495
|
+
|
|
488
496
|
# Occurs whenever a Program is created.
|
|
489
497
|
PROGRAM_CREATED: :"program.created"
|
|
490
498
|
|