increase 1.284.0 → 1.286.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/CHANGELOG.md +185 -0
- data/README.md +1 -1
- data/lib/increase/client.rb +4 -0
- data/lib/increase/internal/util.rb +3 -1
- data/lib/increase/models/entity_onboarding_session.rb +135 -0
- data/lib/increase/models/entity_onboarding_session_create_params.rb +45 -0
- data/lib/increase/models/entity_onboarding_session_expire_params.rb +22 -0
- data/lib/increase/models/entity_onboarding_session_list_params.rb +85 -0
- data/lib/increase/models/entity_onboarding_session_retrieve_params.rb +22 -0
- data/lib/increase/models/export.rb +44 -1
- data/lib/increase/models/export_create_params.rb +43 -1
- data/lib/increase/models/export_list_params.rb +3 -0
- data/lib/increase/models/simulations/entity_onboarding_session_submit_params.rb +24 -0
- data/lib/increase/models.rb +10 -0
- data/lib/increase/resources/entity_onboarding_sessions.rb +116 -0
- data/lib/increase/resources/exports.rb +3 -1
- data/lib/increase/resources/simulations/entity_onboarding_sessions.rb +39 -0
- data/lib/increase/resources/simulations.rb +5 -0
- data/lib/increase/version.rb +1 -1
- data/lib/increase.rb +8 -0
- data/rbi/increase/client.rbi +3 -0
- data/rbi/increase/models/entity_onboarding_session.rbi +190 -0
- data/rbi/increase/models/entity_onboarding_session_create_params.rbi +73 -0
- data/rbi/increase/models/entity_onboarding_session_expire_params.rbi +46 -0
- data/rbi/increase/models/entity_onboarding_session_list_params.rbi +194 -0
- data/rbi/increase/models/entity_onboarding_session_retrieve_params.rbi +46 -0
- data/rbi/increase/models/export.rbi +80 -0
- data/rbi/increase/models/export_create_params.rbi +91 -0
- data/rbi/increase/models/export_list_params.rbi +7 -0
- data/rbi/increase/models/simulations/entity_onboarding_session_submit_params.rbi +48 -0
- data/rbi/increase/models.rbi +14 -0
- data/rbi/increase/resources/entity_onboarding_sessions.rbi +90 -0
- data/rbi/increase/resources/exports.rbi +5 -0
- data/rbi/increase/resources/simulations/entity_onboarding_sessions.rbi +31 -0
- data/rbi/increase/resources/simulations.rbi +5 -0
- data/sig/increase/client.rbs +2 -0
- data/sig/increase/models/entity_onboarding_session.rbs +89 -0
- data/sig/increase/models/entity_onboarding_session_create_params.rbs +34 -0
- data/sig/increase/models/entity_onboarding_session_expire_params.rbs +24 -0
- data/sig/increase/models/entity_onboarding_session_list_params.rbs +86 -0
- data/sig/increase/models/entity_onboarding_session_retrieve_params.rbs +24 -0
- data/sig/increase/models/export.rbs +36 -0
- data/sig/increase/models/export_create_params.rbs +42 -0
- data/sig/increase/models/export_list_params.rbs +4 -0
- data/sig/increase/models/simulations/entity_onboarding_session_submit_params.rbs +26 -0
- data/sig/increase/models.rbs +10 -0
- data/sig/increase/resources/entity_onboarding_sessions.rbs +32 -0
- data/sig/increase/resources/exports.rbs +1 -0
- data/sig/increase/resources/simulations/entity_onboarding_sessions.rbs +14 -0
- data/sig/increase/resources/simulations.rbs +2 -0
- metadata +26 -2
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Increase
|
|
4
|
+
module Models
|
|
5
|
+
class EntityOnboardingSessionCreateParams < 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(
|
|
12
|
+
Increase::EntityOnboardingSessionCreateParams,
|
|
13
|
+
Increase::Internal::AnyHash
|
|
14
|
+
)
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
# The identifier of the Program the Entity will be onboarded to.
|
|
18
|
+
sig { returns(String) }
|
|
19
|
+
attr_accessor :program_id
|
|
20
|
+
|
|
21
|
+
# The URL to redirect the customer to after they complete the onboarding form. The
|
|
22
|
+
# redirect will include `entity_onboarding_session_id` and `entity_id` query
|
|
23
|
+
# parameters.
|
|
24
|
+
sig { returns(String) }
|
|
25
|
+
attr_accessor :redirect_url
|
|
26
|
+
|
|
27
|
+
# The identifier of an existing Entity to associate with the onboarding session.
|
|
28
|
+
# If provided, the onboarding form will display any outstanding tasks required to
|
|
29
|
+
# complete the Entity's onboarding.
|
|
30
|
+
sig { returns(T.nilable(String)) }
|
|
31
|
+
attr_reader :entity_id
|
|
32
|
+
|
|
33
|
+
sig { params(entity_id: String).void }
|
|
34
|
+
attr_writer :entity_id
|
|
35
|
+
|
|
36
|
+
sig do
|
|
37
|
+
params(
|
|
38
|
+
program_id: String,
|
|
39
|
+
redirect_url: String,
|
|
40
|
+
entity_id: String,
|
|
41
|
+
request_options: Increase::RequestOptions::OrHash
|
|
42
|
+
).returns(T.attached_class)
|
|
43
|
+
end
|
|
44
|
+
def self.new(
|
|
45
|
+
# The identifier of the Program the Entity will be onboarded to.
|
|
46
|
+
program_id:,
|
|
47
|
+
# The URL to redirect the customer to after they complete the onboarding form. The
|
|
48
|
+
# redirect will include `entity_onboarding_session_id` and `entity_id` query
|
|
49
|
+
# parameters.
|
|
50
|
+
redirect_url:,
|
|
51
|
+
# The identifier of an existing Entity to associate with the onboarding session.
|
|
52
|
+
# If provided, the onboarding form will display any outstanding tasks required to
|
|
53
|
+
# complete the Entity's onboarding.
|
|
54
|
+
entity_id: nil,
|
|
55
|
+
request_options: {}
|
|
56
|
+
)
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
sig do
|
|
60
|
+
override.returns(
|
|
61
|
+
{
|
|
62
|
+
program_id: String,
|
|
63
|
+
redirect_url: String,
|
|
64
|
+
entity_id: String,
|
|
65
|
+
request_options: Increase::RequestOptions
|
|
66
|
+
}
|
|
67
|
+
)
|
|
68
|
+
end
|
|
69
|
+
def to_hash
|
|
70
|
+
end
|
|
71
|
+
end
|
|
72
|
+
end
|
|
73
|
+
end
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Increase
|
|
4
|
+
module Models
|
|
5
|
+
class EntityOnboardingSessionExpireParams < 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(
|
|
12
|
+
Increase::EntityOnboardingSessionExpireParams,
|
|
13
|
+
Increase::Internal::AnyHash
|
|
14
|
+
)
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
# The identifier of the Entity Onboarding Session to expire.
|
|
18
|
+
sig { returns(String) }
|
|
19
|
+
attr_accessor :entity_onboarding_session_id
|
|
20
|
+
|
|
21
|
+
sig do
|
|
22
|
+
params(
|
|
23
|
+
entity_onboarding_session_id: String,
|
|
24
|
+
request_options: Increase::RequestOptions::OrHash
|
|
25
|
+
).returns(T.attached_class)
|
|
26
|
+
end
|
|
27
|
+
def self.new(
|
|
28
|
+
# The identifier of the Entity Onboarding Session to expire.
|
|
29
|
+
entity_onboarding_session_id:,
|
|
30
|
+
request_options: {}
|
|
31
|
+
)
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
sig do
|
|
35
|
+
override.returns(
|
|
36
|
+
{
|
|
37
|
+
entity_onboarding_session_id: String,
|
|
38
|
+
request_options: Increase::RequestOptions
|
|
39
|
+
}
|
|
40
|
+
)
|
|
41
|
+
end
|
|
42
|
+
def to_hash
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
end
|
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Increase
|
|
4
|
+
module Models
|
|
5
|
+
class EntityOnboardingSessionListParams < 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(
|
|
12
|
+
Increase::EntityOnboardingSessionListParams,
|
|
13
|
+
Increase::Internal::AnyHash
|
|
14
|
+
)
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
# Return the page of entries after this one.
|
|
18
|
+
sig { returns(T.nilable(String)) }
|
|
19
|
+
attr_reader :cursor
|
|
20
|
+
|
|
21
|
+
sig { params(cursor: String).void }
|
|
22
|
+
attr_writer :cursor
|
|
23
|
+
|
|
24
|
+
# Filter records to the one with the specified `idempotency_key` you chose for
|
|
25
|
+
# that object. This value is unique across Increase and is used to ensure that a
|
|
26
|
+
# request is only processed once. Learn more about
|
|
27
|
+
# [idempotency](https://increase.com/documentation/idempotency-keys).
|
|
28
|
+
sig { returns(T.nilable(String)) }
|
|
29
|
+
attr_reader :idempotency_key
|
|
30
|
+
|
|
31
|
+
sig { params(idempotency_key: String).void }
|
|
32
|
+
attr_writer :idempotency_key
|
|
33
|
+
|
|
34
|
+
# Limit the size of the list that is returned. The default (and maximum) is 100
|
|
35
|
+
# objects.
|
|
36
|
+
sig { returns(T.nilable(Integer)) }
|
|
37
|
+
attr_reader :limit
|
|
38
|
+
|
|
39
|
+
sig { params(limit: Integer).void }
|
|
40
|
+
attr_writer :limit
|
|
41
|
+
|
|
42
|
+
sig do
|
|
43
|
+
returns(T.nilable(Increase::EntityOnboardingSessionListParams::Status))
|
|
44
|
+
end
|
|
45
|
+
attr_reader :status
|
|
46
|
+
|
|
47
|
+
sig do
|
|
48
|
+
params(
|
|
49
|
+
status: Increase::EntityOnboardingSessionListParams::Status::OrHash
|
|
50
|
+
).void
|
|
51
|
+
end
|
|
52
|
+
attr_writer :status
|
|
53
|
+
|
|
54
|
+
sig do
|
|
55
|
+
params(
|
|
56
|
+
cursor: String,
|
|
57
|
+
idempotency_key: String,
|
|
58
|
+
limit: Integer,
|
|
59
|
+
status: Increase::EntityOnboardingSessionListParams::Status::OrHash,
|
|
60
|
+
request_options: Increase::RequestOptions::OrHash
|
|
61
|
+
).returns(T.attached_class)
|
|
62
|
+
end
|
|
63
|
+
def self.new(
|
|
64
|
+
# Return the page of entries after this one.
|
|
65
|
+
cursor: nil,
|
|
66
|
+
# Filter records to the one with the specified `idempotency_key` you chose for
|
|
67
|
+
# that object. This value is unique across Increase and is used to ensure that a
|
|
68
|
+
# request is only processed once. Learn more about
|
|
69
|
+
# [idempotency](https://increase.com/documentation/idempotency-keys).
|
|
70
|
+
idempotency_key: nil,
|
|
71
|
+
# Limit the size of the list that is returned. The default (and maximum) is 100
|
|
72
|
+
# objects.
|
|
73
|
+
limit: nil,
|
|
74
|
+
status: nil,
|
|
75
|
+
request_options: {}
|
|
76
|
+
)
|
|
77
|
+
end
|
|
78
|
+
|
|
79
|
+
sig do
|
|
80
|
+
override.returns(
|
|
81
|
+
{
|
|
82
|
+
cursor: String,
|
|
83
|
+
idempotency_key: String,
|
|
84
|
+
limit: Integer,
|
|
85
|
+
status: Increase::EntityOnboardingSessionListParams::Status,
|
|
86
|
+
request_options: Increase::RequestOptions
|
|
87
|
+
}
|
|
88
|
+
)
|
|
89
|
+
end
|
|
90
|
+
def to_hash
|
|
91
|
+
end
|
|
92
|
+
|
|
93
|
+
class Status < Increase::Internal::Type::BaseModel
|
|
94
|
+
OrHash =
|
|
95
|
+
T.type_alias do
|
|
96
|
+
T.any(
|
|
97
|
+
Increase::EntityOnboardingSessionListParams::Status,
|
|
98
|
+
Increase::Internal::AnyHash
|
|
99
|
+
)
|
|
100
|
+
end
|
|
101
|
+
|
|
102
|
+
# Filter Entity Onboarding Session for those with the specified status or
|
|
103
|
+
# statuses. For GET requests, this should be encoded as a comma-delimited string,
|
|
104
|
+
# such as `?in=one,two,three`.
|
|
105
|
+
sig do
|
|
106
|
+
returns(
|
|
107
|
+
T.nilable(
|
|
108
|
+
T::Array[
|
|
109
|
+
Increase::EntityOnboardingSessionListParams::Status::In::OrSymbol
|
|
110
|
+
]
|
|
111
|
+
)
|
|
112
|
+
)
|
|
113
|
+
end
|
|
114
|
+
attr_reader :in_
|
|
115
|
+
|
|
116
|
+
sig do
|
|
117
|
+
params(
|
|
118
|
+
in_:
|
|
119
|
+
T::Array[
|
|
120
|
+
Increase::EntityOnboardingSessionListParams::Status::In::OrSymbol
|
|
121
|
+
]
|
|
122
|
+
).void
|
|
123
|
+
end
|
|
124
|
+
attr_writer :in_
|
|
125
|
+
|
|
126
|
+
sig do
|
|
127
|
+
params(
|
|
128
|
+
in_:
|
|
129
|
+
T::Array[
|
|
130
|
+
Increase::EntityOnboardingSessionListParams::Status::In::OrSymbol
|
|
131
|
+
]
|
|
132
|
+
).returns(T.attached_class)
|
|
133
|
+
end
|
|
134
|
+
def self.new(
|
|
135
|
+
# Filter Entity Onboarding Session for those with the specified status or
|
|
136
|
+
# statuses. For GET requests, this should be encoded as a comma-delimited string,
|
|
137
|
+
# such as `?in=one,two,three`.
|
|
138
|
+
in_: nil
|
|
139
|
+
)
|
|
140
|
+
end
|
|
141
|
+
|
|
142
|
+
sig do
|
|
143
|
+
override.returns(
|
|
144
|
+
{
|
|
145
|
+
in_:
|
|
146
|
+
T::Array[
|
|
147
|
+
Increase::EntityOnboardingSessionListParams::Status::In::OrSymbol
|
|
148
|
+
]
|
|
149
|
+
}
|
|
150
|
+
)
|
|
151
|
+
end
|
|
152
|
+
def to_hash
|
|
153
|
+
end
|
|
154
|
+
|
|
155
|
+
module In
|
|
156
|
+
extend Increase::Internal::Type::Enum
|
|
157
|
+
|
|
158
|
+
TaggedSymbol =
|
|
159
|
+
T.type_alias do
|
|
160
|
+
T.all(
|
|
161
|
+
Symbol,
|
|
162
|
+
Increase::EntityOnboardingSessionListParams::Status::In
|
|
163
|
+
)
|
|
164
|
+
end
|
|
165
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
166
|
+
|
|
167
|
+
# The Entity Onboarding Session is active.
|
|
168
|
+
ACTIVE =
|
|
169
|
+
T.let(
|
|
170
|
+
:active,
|
|
171
|
+
Increase::EntityOnboardingSessionListParams::Status::In::TaggedSymbol
|
|
172
|
+
)
|
|
173
|
+
|
|
174
|
+
# The Entity Onboarding Session has expired.
|
|
175
|
+
EXPIRED =
|
|
176
|
+
T.let(
|
|
177
|
+
:expired,
|
|
178
|
+
Increase::EntityOnboardingSessionListParams::Status::In::TaggedSymbol
|
|
179
|
+
)
|
|
180
|
+
|
|
181
|
+
sig do
|
|
182
|
+
override.returns(
|
|
183
|
+
T::Array[
|
|
184
|
+
Increase::EntityOnboardingSessionListParams::Status::In::TaggedSymbol
|
|
185
|
+
]
|
|
186
|
+
)
|
|
187
|
+
end
|
|
188
|
+
def self.values
|
|
189
|
+
end
|
|
190
|
+
end
|
|
191
|
+
end
|
|
192
|
+
end
|
|
193
|
+
end
|
|
194
|
+
end
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Increase
|
|
4
|
+
module Models
|
|
5
|
+
class EntityOnboardingSessionRetrieveParams < 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(
|
|
12
|
+
Increase::EntityOnboardingSessionRetrieveParams,
|
|
13
|
+
Increase::Internal::AnyHash
|
|
14
|
+
)
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
# The identifier of the Entity Onboarding Session.
|
|
18
|
+
sig { returns(String) }
|
|
19
|
+
attr_accessor :entity_onboarding_session_id
|
|
20
|
+
|
|
21
|
+
sig do
|
|
22
|
+
params(
|
|
23
|
+
entity_onboarding_session_id: String,
|
|
24
|
+
request_options: Increase::RequestOptions::OrHash
|
|
25
|
+
).returns(T.attached_class)
|
|
26
|
+
end
|
|
27
|
+
def self.new(
|
|
28
|
+
# The identifier of the Entity Onboarding Session.
|
|
29
|
+
entity_onboarding_session_id:,
|
|
30
|
+
request_options: {}
|
|
31
|
+
)
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
sig do
|
|
35
|
+
override.returns(
|
|
36
|
+
{
|
|
37
|
+
entity_onboarding_session_id: String,
|
|
38
|
+
request_options: Increase::RequestOptions
|
|
39
|
+
}
|
|
40
|
+
)
|
|
41
|
+
end
|
|
42
|
+
def to_hash
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
end
|
|
@@ -83,6 +83,19 @@ module Increase
|
|
|
83
83
|
sig { returns(Time) }
|
|
84
84
|
attr_accessor :created_at
|
|
85
85
|
|
|
86
|
+
# Details of the daily account balance CSV export. This field will be present when
|
|
87
|
+
# the `category` is equal to `daily_account_balance_csv`.
|
|
88
|
+
sig { returns(T.nilable(Increase::Export::DailyAccountBalanceCsv)) }
|
|
89
|
+
attr_reader :daily_account_balance_csv
|
|
90
|
+
|
|
91
|
+
sig do
|
|
92
|
+
params(
|
|
93
|
+
daily_account_balance_csv:
|
|
94
|
+
T.nilable(Increase::Export::DailyAccountBalanceCsv::OrHash)
|
|
95
|
+
).void
|
|
96
|
+
end
|
|
97
|
+
attr_writer :daily_account_balance_csv
|
|
98
|
+
|
|
86
99
|
# Details of the dashboard table CSV export. This field will be present when the
|
|
87
100
|
# `category` is equal to `dashboard_table_csv`.
|
|
88
101
|
sig { returns(T.nilable(Increase::Export::DashboardTableCsv)) }
|
|
@@ -227,6 +240,8 @@ module Increase
|
|
|
227
240
|
T.nilable(Increase::Export::BookkeepingAccountBalanceCsv::OrHash),
|
|
228
241
|
category: Increase::Export::Category::OrSymbol,
|
|
229
242
|
created_at: Time,
|
|
243
|
+
daily_account_balance_csv:
|
|
244
|
+
T.nilable(Increase::Export::DailyAccountBalanceCsv::OrHash),
|
|
230
245
|
dashboard_table_csv:
|
|
231
246
|
T.nilable(Increase::Export::DashboardTableCsv::OrHash),
|
|
232
247
|
entity_csv: T.nilable(Increase::Export::EntityCsv::OrHash),
|
|
@@ -267,6 +282,9 @@ module Increase
|
|
|
267
282
|
category:,
|
|
268
283
|
# The time the Export was created.
|
|
269
284
|
created_at:,
|
|
285
|
+
# Details of the daily account balance CSV export. This field will be present when
|
|
286
|
+
# the `category` is equal to `daily_account_balance_csv`.
|
|
287
|
+
daily_account_balance_csv:,
|
|
270
288
|
# Details of the dashboard table CSV export. This field will be present when the
|
|
271
289
|
# `category` is equal to `dashboard_table_csv`.
|
|
272
290
|
dashboard_table_csv:,
|
|
@@ -324,6 +342,8 @@ module Increase
|
|
|
324
342
|
T.nilable(Increase::Export::BookkeepingAccountBalanceCsv),
|
|
325
343
|
category: Increase::Export::Category::TaggedSymbol,
|
|
326
344
|
created_at: Time,
|
|
345
|
+
daily_account_balance_csv:
|
|
346
|
+
T.nilable(Increase::Export::DailyAccountBalanceCsv),
|
|
327
347
|
dashboard_table_csv: T.nilable(Increase::Export::DashboardTableCsv),
|
|
328
348
|
entity_csv: T.nilable(Increase::Export::EntityCsv),
|
|
329
349
|
fee_csv: T.nilable(Increase::Export::FeeCsv),
|
|
@@ -812,6 +832,13 @@ module Increase
|
|
|
812
832
|
VOIDED_CHECK =
|
|
813
833
|
T.let(:voided_check, Increase::Export::Category::TaggedSymbol)
|
|
814
834
|
|
|
835
|
+
# Export a CSV of daily account balances with starting and ending balances for a given date range.
|
|
836
|
+
DAILY_ACCOUNT_BALANCE_CSV =
|
|
837
|
+
T.let(
|
|
838
|
+
:daily_account_balance_csv,
|
|
839
|
+
Increase::Export::Category::TaggedSymbol
|
|
840
|
+
)
|
|
841
|
+
|
|
815
842
|
sig do
|
|
816
843
|
override.returns(T::Array[Increase::Export::Category::TaggedSymbol])
|
|
817
844
|
end
|
|
@@ -819,6 +846,59 @@ module Increase
|
|
|
819
846
|
end
|
|
820
847
|
end
|
|
821
848
|
|
|
849
|
+
class DailyAccountBalanceCsv < Increase::Internal::Type::BaseModel
|
|
850
|
+
OrHash =
|
|
851
|
+
T.type_alias do
|
|
852
|
+
T.any(
|
|
853
|
+
Increase::Export::DailyAccountBalanceCsv,
|
|
854
|
+
Increase::Internal::AnyHash
|
|
855
|
+
)
|
|
856
|
+
end
|
|
857
|
+
|
|
858
|
+
# Filter results by Account.
|
|
859
|
+
sig { returns(T.nilable(String)) }
|
|
860
|
+
attr_accessor :account_id
|
|
861
|
+
|
|
862
|
+
# Filter balances on or after this date.
|
|
863
|
+
sig { returns(T.nilable(Date)) }
|
|
864
|
+
attr_accessor :on_or_after_date
|
|
865
|
+
|
|
866
|
+
# Filter balances on or before this date.
|
|
867
|
+
sig { returns(T.nilable(Date)) }
|
|
868
|
+
attr_accessor :on_or_before_date
|
|
869
|
+
|
|
870
|
+
# Details of the daily account balance CSV export. This field will be present when
|
|
871
|
+
# the `category` is equal to `daily_account_balance_csv`.
|
|
872
|
+
sig do
|
|
873
|
+
params(
|
|
874
|
+
account_id: T.nilable(String),
|
|
875
|
+
on_or_after_date: T.nilable(Date),
|
|
876
|
+
on_or_before_date: T.nilable(Date)
|
|
877
|
+
).returns(T.attached_class)
|
|
878
|
+
end
|
|
879
|
+
def self.new(
|
|
880
|
+
# Filter results by Account.
|
|
881
|
+
account_id:,
|
|
882
|
+
# Filter balances on or after this date.
|
|
883
|
+
on_or_after_date:,
|
|
884
|
+
# Filter balances on or before this date.
|
|
885
|
+
on_or_before_date:
|
|
886
|
+
)
|
|
887
|
+
end
|
|
888
|
+
|
|
889
|
+
sig do
|
|
890
|
+
override.returns(
|
|
891
|
+
{
|
|
892
|
+
account_id: T.nilable(String),
|
|
893
|
+
on_or_after_date: T.nilable(Date),
|
|
894
|
+
on_or_before_date: T.nilable(Date)
|
|
895
|
+
}
|
|
896
|
+
)
|
|
897
|
+
end
|
|
898
|
+
def to_hash
|
|
899
|
+
end
|
|
900
|
+
end
|
|
901
|
+
|
|
822
902
|
class DashboardTableCsv < Increase::Internal::Type::BaseModel
|
|
823
903
|
OrHash =
|
|
824
904
|
T.type_alias do
|
|
@@ -91,6 +91,21 @@ module Increase
|
|
|
91
91
|
end
|
|
92
92
|
attr_writer :bookkeeping_account_balance_csv
|
|
93
93
|
|
|
94
|
+
# Options for the created export. Required if `category` is equal to
|
|
95
|
+
# `daily_account_balance_csv`.
|
|
96
|
+
sig do
|
|
97
|
+
returns(T.nilable(Increase::ExportCreateParams::DailyAccountBalanceCsv))
|
|
98
|
+
end
|
|
99
|
+
attr_reader :daily_account_balance_csv
|
|
100
|
+
|
|
101
|
+
sig do
|
|
102
|
+
params(
|
|
103
|
+
daily_account_balance_csv:
|
|
104
|
+
Increase::ExportCreateParams::DailyAccountBalanceCsv::OrHash
|
|
105
|
+
).void
|
|
106
|
+
end
|
|
107
|
+
attr_writer :daily_account_balance_csv
|
|
108
|
+
|
|
94
109
|
# Options for the created export. Required if `category` is equal to `entity_csv`.
|
|
95
110
|
sig { returns(T.nilable(Increase::ExportCreateParams::EntityCsv)) }
|
|
96
111
|
attr_reader :entity_csv
|
|
@@ -160,6 +175,8 @@ module Increase
|
|
|
160
175
|
balance_csv: Increase::ExportCreateParams::BalanceCsv::OrHash,
|
|
161
176
|
bookkeeping_account_balance_csv:
|
|
162
177
|
Increase::ExportCreateParams::BookkeepingAccountBalanceCsv::OrHash,
|
|
178
|
+
daily_account_balance_csv:
|
|
179
|
+
Increase::ExportCreateParams::DailyAccountBalanceCsv::OrHash,
|
|
163
180
|
entity_csv: Increase::ExportCreateParams::EntityCsv::OrHash,
|
|
164
181
|
funding_instructions:
|
|
165
182
|
Increase::ExportCreateParams::FundingInstructions::OrHash,
|
|
@@ -187,6 +204,9 @@ module Increase
|
|
|
187
204
|
# Options for the created export. Required if `category` is equal to
|
|
188
205
|
# `bookkeeping_account_balance_csv`.
|
|
189
206
|
bookkeeping_account_balance_csv: nil,
|
|
207
|
+
# Options for the created export. Required if `category` is equal to
|
|
208
|
+
# `daily_account_balance_csv`.
|
|
209
|
+
daily_account_balance_csv: nil,
|
|
190
210
|
# Options for the created export. Required if `category` is equal to `entity_csv`.
|
|
191
211
|
entity_csv: nil,
|
|
192
212
|
# Options for the created export. Required if `category` is equal to
|
|
@@ -217,6 +237,8 @@ module Increase
|
|
|
217
237
|
balance_csv: Increase::ExportCreateParams::BalanceCsv,
|
|
218
238
|
bookkeeping_account_balance_csv:
|
|
219
239
|
Increase::ExportCreateParams::BookkeepingAccountBalanceCsv,
|
|
240
|
+
daily_account_balance_csv:
|
|
241
|
+
Increase::ExportCreateParams::DailyAccountBalanceCsv,
|
|
220
242
|
entity_csv: Increase::ExportCreateParams::EntityCsv,
|
|
221
243
|
funding_instructions:
|
|
222
244
|
Increase::ExportCreateParams::FundingInstructions,
|
|
@@ -308,6 +330,13 @@ module Increase
|
|
|
308
330
|
Increase::ExportCreateParams::Category::TaggedSymbol
|
|
309
331
|
)
|
|
310
332
|
|
|
333
|
+
# Export a CSV of daily account balances with starting and ending balances for a given date range.
|
|
334
|
+
DAILY_ACCOUNT_BALANCE_CSV =
|
|
335
|
+
T.let(
|
|
336
|
+
:daily_account_balance_csv,
|
|
337
|
+
Increase::ExportCreateParams::Category::TaggedSymbol
|
|
338
|
+
)
|
|
339
|
+
|
|
311
340
|
sig do
|
|
312
341
|
override.returns(
|
|
313
342
|
T::Array[Increase::ExportCreateParams::Category::TaggedSymbol]
|
|
@@ -855,6 +884,68 @@ module Increase
|
|
|
855
884
|
end
|
|
856
885
|
end
|
|
857
886
|
|
|
887
|
+
class DailyAccountBalanceCsv < Increase::Internal::Type::BaseModel
|
|
888
|
+
OrHash =
|
|
889
|
+
T.type_alias do
|
|
890
|
+
T.any(
|
|
891
|
+
Increase::ExportCreateParams::DailyAccountBalanceCsv,
|
|
892
|
+
Increase::Internal::AnyHash
|
|
893
|
+
)
|
|
894
|
+
end
|
|
895
|
+
|
|
896
|
+
# Filter exported Balances to the specified Account.
|
|
897
|
+
sig { returns(T.nilable(String)) }
|
|
898
|
+
attr_reader :account_id
|
|
899
|
+
|
|
900
|
+
sig { params(account_id: String).void }
|
|
901
|
+
attr_writer :account_id
|
|
902
|
+
|
|
903
|
+
# Filter exported Balances to those on or after this date.
|
|
904
|
+
sig { returns(T.nilable(Date)) }
|
|
905
|
+
attr_reader :on_or_after_date
|
|
906
|
+
|
|
907
|
+
sig { params(on_or_after_date: Date).void }
|
|
908
|
+
attr_writer :on_or_after_date
|
|
909
|
+
|
|
910
|
+
# Filter exported Balances to those on or before this date.
|
|
911
|
+
sig { returns(T.nilable(Date)) }
|
|
912
|
+
attr_reader :on_or_before_date
|
|
913
|
+
|
|
914
|
+
sig { params(on_or_before_date: Date).void }
|
|
915
|
+
attr_writer :on_or_before_date
|
|
916
|
+
|
|
917
|
+
# Options for the created export. Required if `category` is equal to
|
|
918
|
+
# `daily_account_balance_csv`.
|
|
919
|
+
sig do
|
|
920
|
+
params(
|
|
921
|
+
account_id: String,
|
|
922
|
+
on_or_after_date: Date,
|
|
923
|
+
on_or_before_date: Date
|
|
924
|
+
).returns(T.attached_class)
|
|
925
|
+
end
|
|
926
|
+
def self.new(
|
|
927
|
+
# Filter exported Balances to the specified Account.
|
|
928
|
+
account_id: nil,
|
|
929
|
+
# Filter exported Balances to those on or after this date.
|
|
930
|
+
on_or_after_date: nil,
|
|
931
|
+
# Filter exported Balances to those on or before this date.
|
|
932
|
+
on_or_before_date: nil
|
|
933
|
+
)
|
|
934
|
+
end
|
|
935
|
+
|
|
936
|
+
sig do
|
|
937
|
+
override.returns(
|
|
938
|
+
{
|
|
939
|
+
account_id: String,
|
|
940
|
+
on_or_after_date: Date,
|
|
941
|
+
on_or_before_date: Date
|
|
942
|
+
}
|
|
943
|
+
)
|
|
944
|
+
end
|
|
945
|
+
def to_hash
|
|
946
|
+
end
|
|
947
|
+
end
|
|
948
|
+
|
|
858
949
|
class EntityCsv < Increase::Internal::Type::BaseModel
|
|
859
950
|
OrHash =
|
|
860
951
|
T.type_alias do
|
|
@@ -228,6 +228,13 @@ module Increase
|
|
|
228
228
|
Increase::ExportListParams::Category::TaggedSymbol
|
|
229
229
|
)
|
|
230
230
|
|
|
231
|
+
# Export a CSV of daily account balances with starting and ending balances for a given date range.
|
|
232
|
+
DAILY_ACCOUNT_BALANCE_CSV =
|
|
233
|
+
T.let(
|
|
234
|
+
:daily_account_balance_csv,
|
|
235
|
+
Increase::ExportListParams::Category::TaggedSymbol
|
|
236
|
+
)
|
|
237
|
+
|
|
231
238
|
sig do
|
|
232
239
|
override.returns(
|
|
233
240
|
T::Array[Increase::ExportListParams::Category::TaggedSymbol]
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Increase
|
|
4
|
+
module Models
|
|
5
|
+
module Simulations
|
|
6
|
+
class EntityOnboardingSessionSubmitParams < Increase::Internal::Type::BaseModel
|
|
7
|
+
extend Increase::Internal::Type::RequestParameters::Converter
|
|
8
|
+
include Increase::Internal::Type::RequestParameters
|
|
9
|
+
|
|
10
|
+
OrHash =
|
|
11
|
+
T.type_alias do
|
|
12
|
+
T.any(
|
|
13
|
+
Increase::Simulations::EntityOnboardingSessionSubmitParams,
|
|
14
|
+
Increase::Internal::AnyHash
|
|
15
|
+
)
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
# The identifier of the Entity Onboarding Session you wish to submit.
|
|
19
|
+
sig { returns(String) }
|
|
20
|
+
attr_accessor :entity_onboarding_session_id
|
|
21
|
+
|
|
22
|
+
sig do
|
|
23
|
+
params(
|
|
24
|
+
entity_onboarding_session_id: String,
|
|
25
|
+
request_options: Increase::RequestOptions::OrHash
|
|
26
|
+
).returns(T.attached_class)
|
|
27
|
+
end
|
|
28
|
+
def self.new(
|
|
29
|
+
# The identifier of the Entity Onboarding Session you wish to submit.
|
|
30
|
+
entity_onboarding_session_id:,
|
|
31
|
+
request_options: {}
|
|
32
|
+
)
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
sig do
|
|
36
|
+
override.returns(
|
|
37
|
+
{
|
|
38
|
+
entity_onboarding_session_id: String,
|
|
39
|
+
request_options: Increase::RequestOptions
|
|
40
|
+
}
|
|
41
|
+
)
|
|
42
|
+
end
|
|
43
|
+
def to_hash
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
end
|
data/rbi/increase/models.rbi
CHANGED
|
@@ -257,6 +257,20 @@ module Increase
|
|
|
257
257
|
|
|
258
258
|
EntityListParams = Increase::Models::EntityListParams
|
|
259
259
|
|
|
260
|
+
EntityOnboardingSession = Increase::Models::EntityOnboardingSession
|
|
261
|
+
|
|
262
|
+
EntityOnboardingSessionCreateParams =
|
|
263
|
+
Increase::Models::EntityOnboardingSessionCreateParams
|
|
264
|
+
|
|
265
|
+
EntityOnboardingSessionExpireParams =
|
|
266
|
+
Increase::Models::EntityOnboardingSessionExpireParams
|
|
267
|
+
|
|
268
|
+
EntityOnboardingSessionListParams =
|
|
269
|
+
Increase::Models::EntityOnboardingSessionListParams
|
|
270
|
+
|
|
271
|
+
EntityOnboardingSessionRetrieveParams =
|
|
272
|
+
Increase::Models::EntityOnboardingSessionRetrieveParams
|
|
273
|
+
|
|
260
274
|
EntityRetrieveParams = Increase::Models::EntityRetrieveParams
|
|
261
275
|
|
|
262
276
|
EntitySupplementalDocument = Increase::Models::EntitySupplementalDocument
|