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,90 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Increase
|
|
4
|
+
module Resources
|
|
5
|
+
class EntityOnboardingSessions
|
|
6
|
+
# Create an Entity Onboarding Session
|
|
7
|
+
sig do
|
|
8
|
+
params(
|
|
9
|
+
program_id: String,
|
|
10
|
+
redirect_url: String,
|
|
11
|
+
entity_id: String,
|
|
12
|
+
request_options: Increase::RequestOptions::OrHash
|
|
13
|
+
).returns(Increase::EntityOnboardingSession)
|
|
14
|
+
end
|
|
15
|
+
def create(
|
|
16
|
+
# The identifier of the Program the Entity will be onboarded to.
|
|
17
|
+
program_id:,
|
|
18
|
+
# The URL to redirect the customer to after they complete the onboarding form. The
|
|
19
|
+
# redirect will include `entity_onboarding_session_id` and `entity_id` query
|
|
20
|
+
# parameters.
|
|
21
|
+
redirect_url:,
|
|
22
|
+
# The identifier of an existing Entity to associate with the onboarding session.
|
|
23
|
+
# If provided, the onboarding form will display any outstanding tasks required to
|
|
24
|
+
# complete the Entity's onboarding.
|
|
25
|
+
entity_id: nil,
|
|
26
|
+
request_options: {}
|
|
27
|
+
)
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
# Retrieve an Entity Onboarding Session
|
|
31
|
+
sig do
|
|
32
|
+
params(
|
|
33
|
+
entity_onboarding_session_id: String,
|
|
34
|
+
request_options: Increase::RequestOptions::OrHash
|
|
35
|
+
).returns(Increase::EntityOnboardingSession)
|
|
36
|
+
end
|
|
37
|
+
def retrieve(
|
|
38
|
+
# The identifier of the Entity Onboarding Session.
|
|
39
|
+
entity_onboarding_session_id,
|
|
40
|
+
request_options: {}
|
|
41
|
+
)
|
|
42
|
+
end
|
|
43
|
+
|
|
44
|
+
# List Entity Onboarding Session
|
|
45
|
+
sig do
|
|
46
|
+
params(
|
|
47
|
+
cursor: String,
|
|
48
|
+
idempotency_key: String,
|
|
49
|
+
limit: Integer,
|
|
50
|
+
status: Increase::EntityOnboardingSessionListParams::Status::OrHash,
|
|
51
|
+
request_options: Increase::RequestOptions::OrHash
|
|
52
|
+
).returns(Increase::Internal::Page[Increase::EntityOnboardingSession])
|
|
53
|
+
end
|
|
54
|
+
def list(
|
|
55
|
+
# Return the page of entries after this one.
|
|
56
|
+
cursor: nil,
|
|
57
|
+
# Filter records to the one with the specified `idempotency_key` you chose for
|
|
58
|
+
# that object. This value is unique across Increase and is used to ensure that a
|
|
59
|
+
# request is only processed once. Learn more about
|
|
60
|
+
# [idempotency](https://increase.com/documentation/idempotency-keys).
|
|
61
|
+
idempotency_key: nil,
|
|
62
|
+
# Limit the size of the list that is returned. The default (and maximum) is 100
|
|
63
|
+
# objects.
|
|
64
|
+
limit: nil,
|
|
65
|
+
status: nil,
|
|
66
|
+
request_options: {}
|
|
67
|
+
)
|
|
68
|
+
end
|
|
69
|
+
|
|
70
|
+
# Expire an Entity Onboarding Session
|
|
71
|
+
sig do
|
|
72
|
+
params(
|
|
73
|
+
entity_onboarding_session_id: String,
|
|
74
|
+
request_options: Increase::RequestOptions::OrHash
|
|
75
|
+
).returns(Increase::EntityOnboardingSession)
|
|
76
|
+
end
|
|
77
|
+
def expire(
|
|
78
|
+
# The identifier of the Entity Onboarding Session to expire.
|
|
79
|
+
entity_onboarding_session_id,
|
|
80
|
+
request_options: {}
|
|
81
|
+
)
|
|
82
|
+
end
|
|
83
|
+
|
|
84
|
+
# @api private
|
|
85
|
+
sig { params(client: Increase::Client).returns(T.attached_class) }
|
|
86
|
+
def self.new(client:)
|
|
87
|
+
end
|
|
88
|
+
end
|
|
89
|
+
end
|
|
90
|
+
end
|
|
@@ -16,6 +16,8 @@ module Increase
|
|
|
16
16
|
balance_csv: Increase::ExportCreateParams::BalanceCsv::OrHash,
|
|
17
17
|
bookkeeping_account_balance_csv:
|
|
18
18
|
Increase::ExportCreateParams::BookkeepingAccountBalanceCsv::OrHash,
|
|
19
|
+
daily_account_balance_csv:
|
|
20
|
+
Increase::ExportCreateParams::DailyAccountBalanceCsv::OrHash,
|
|
19
21
|
entity_csv: Increase::ExportCreateParams::EntityCsv::OrHash,
|
|
20
22
|
funding_instructions:
|
|
21
23
|
Increase::ExportCreateParams::FundingInstructions::OrHash,
|
|
@@ -43,6 +45,9 @@ module Increase
|
|
|
43
45
|
# Options for the created export. Required if `category` is equal to
|
|
44
46
|
# `bookkeeping_account_balance_csv`.
|
|
45
47
|
bookkeeping_account_balance_csv: nil,
|
|
48
|
+
# Options for the created export. Required if `category` is equal to
|
|
49
|
+
# `daily_account_balance_csv`.
|
|
50
|
+
daily_account_balance_csv: nil,
|
|
46
51
|
# Options for the created export. Required if `category` is equal to `entity_csv`.
|
|
47
52
|
entity_csv: nil,
|
|
48
53
|
# Options for the created export. Required if `category` is equal to
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Increase
|
|
4
|
+
module Resources
|
|
5
|
+
class Simulations
|
|
6
|
+
class EntityOnboardingSessions
|
|
7
|
+
# Simulates the submission of an
|
|
8
|
+
# [Entity Onboarding Session](#entity-onboarding-sessions). This session must have
|
|
9
|
+
# a `status` of `active`. After submission, the session will transition to
|
|
10
|
+
# `expired` and a new Entity will be created.
|
|
11
|
+
sig do
|
|
12
|
+
params(
|
|
13
|
+
entity_onboarding_session_id: String,
|
|
14
|
+
request_options: Increase::RequestOptions::OrHash
|
|
15
|
+
).returns(Increase::EntityOnboardingSession)
|
|
16
|
+
end
|
|
17
|
+
def submit(
|
|
18
|
+
# The identifier of the Entity Onboarding Session you wish to submit.
|
|
19
|
+
entity_onboarding_session_id,
|
|
20
|
+
request_options: {}
|
|
21
|
+
)
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
# @api private
|
|
25
|
+
sig { params(client: Increase::Client).returns(T.attached_class) }
|
|
26
|
+
def self.new(client:)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
end
|
|
@@ -99,6 +99,11 @@ module Increase
|
|
|
99
99
|
sig { returns(Increase::Resources::Simulations::InboundMailItems) }
|
|
100
100
|
attr_reader :inbound_mail_items
|
|
101
101
|
|
|
102
|
+
sig do
|
|
103
|
+
returns(Increase::Resources::Simulations::EntityOnboardingSessions)
|
|
104
|
+
end
|
|
105
|
+
attr_reader :entity_onboarding_sessions
|
|
106
|
+
|
|
102
107
|
sig { returns(Increase::Resources::Simulations::Programs) }
|
|
103
108
|
attr_reader :programs
|
|
104
109
|
|
data/sig/increase/client.rbs
CHANGED
|
@@ -89,6 +89,8 @@ module Increase
|
|
|
89
89
|
|
|
90
90
|
attr_reader supplemental_documents: Increase::Resources::SupplementalDocuments
|
|
91
91
|
|
|
92
|
+
attr_reader entity_onboarding_sessions: Increase::Resources::EntityOnboardingSessions
|
|
93
|
+
|
|
92
94
|
attr_reader programs: Increase::Resources::Programs
|
|
93
95
|
|
|
94
96
|
attr_reader account_statements: Increase::Resources::AccountStatements
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
module Increase
|
|
2
|
+
module Models
|
|
3
|
+
type entity_onboarding_session =
|
|
4
|
+
{
|
|
5
|
+
id: String,
|
|
6
|
+
created_at: Time,
|
|
7
|
+
entity_id: String?,
|
|
8
|
+
expires_at: Time,
|
|
9
|
+
idempotency_key: String?,
|
|
10
|
+
program_id: String,
|
|
11
|
+
redirect_url: String,
|
|
12
|
+
session_url: String?,
|
|
13
|
+
status: Increase::Models::EntityOnboardingSession::status,
|
|
14
|
+
type: Increase::Models::EntityOnboardingSession::type_
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
class EntityOnboardingSession < Increase::Internal::Type::BaseModel
|
|
18
|
+
attr_accessor id: String
|
|
19
|
+
|
|
20
|
+
attr_accessor created_at: Time
|
|
21
|
+
|
|
22
|
+
attr_accessor entity_id: String?
|
|
23
|
+
|
|
24
|
+
attr_accessor expires_at: Time
|
|
25
|
+
|
|
26
|
+
attr_accessor idempotency_key: String?
|
|
27
|
+
|
|
28
|
+
attr_accessor program_id: String
|
|
29
|
+
|
|
30
|
+
attr_accessor redirect_url: String
|
|
31
|
+
|
|
32
|
+
attr_accessor session_url: String?
|
|
33
|
+
|
|
34
|
+
attr_accessor status: Increase::Models::EntityOnboardingSession::status
|
|
35
|
+
|
|
36
|
+
attr_accessor type: Increase::Models::EntityOnboardingSession::type_
|
|
37
|
+
|
|
38
|
+
def initialize: (
|
|
39
|
+
id: String,
|
|
40
|
+
created_at: Time,
|
|
41
|
+
entity_id: String?,
|
|
42
|
+
expires_at: Time,
|
|
43
|
+
idempotency_key: String?,
|
|
44
|
+
program_id: String,
|
|
45
|
+
redirect_url: String,
|
|
46
|
+
session_url: String?,
|
|
47
|
+
status: Increase::Models::EntityOnboardingSession::status,
|
|
48
|
+
type: Increase::Models::EntityOnboardingSession::type_
|
|
49
|
+
) -> void
|
|
50
|
+
|
|
51
|
+
def to_hash: -> {
|
|
52
|
+
id: String,
|
|
53
|
+
created_at: Time,
|
|
54
|
+
entity_id: String?,
|
|
55
|
+
expires_at: Time,
|
|
56
|
+
idempotency_key: String?,
|
|
57
|
+
program_id: String,
|
|
58
|
+
redirect_url: String,
|
|
59
|
+
session_url: String?,
|
|
60
|
+
status: Increase::Models::EntityOnboardingSession::status,
|
|
61
|
+
type: Increase::Models::EntityOnboardingSession::type_
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
type status = :active | :expired
|
|
65
|
+
|
|
66
|
+
module Status
|
|
67
|
+
extend Increase::Internal::Type::Enum
|
|
68
|
+
|
|
69
|
+
# The Entity Onboarding Session is active.
|
|
70
|
+
ACTIVE: :active
|
|
71
|
+
|
|
72
|
+
# The Entity Onboarding Session has expired.
|
|
73
|
+
EXPIRED: :expired
|
|
74
|
+
|
|
75
|
+
def self?.values: -> ::Array[Increase::Models::EntityOnboardingSession::status]
|
|
76
|
+
end
|
|
77
|
+
|
|
78
|
+
type type_ = :entity_onboarding_session
|
|
79
|
+
|
|
80
|
+
module Type
|
|
81
|
+
extend Increase::Internal::Type::Enum
|
|
82
|
+
|
|
83
|
+
ENTITY_ONBOARDING_SESSION: :entity_onboarding_session
|
|
84
|
+
|
|
85
|
+
def self?.values: -> ::Array[Increase::Models::EntityOnboardingSession::type_]
|
|
86
|
+
end
|
|
87
|
+
end
|
|
88
|
+
end
|
|
89
|
+
end
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
module Increase
|
|
2
|
+
module Models
|
|
3
|
+
type entity_onboarding_session_create_params =
|
|
4
|
+
{ program_id: String, redirect_url: String, entity_id: String }
|
|
5
|
+
& Increase::Internal::Type::request_parameters
|
|
6
|
+
|
|
7
|
+
class EntityOnboardingSessionCreateParams < Increase::Internal::Type::BaseModel
|
|
8
|
+
extend Increase::Internal::Type::RequestParameters::Converter
|
|
9
|
+
include Increase::Internal::Type::RequestParameters
|
|
10
|
+
|
|
11
|
+
attr_accessor program_id: String
|
|
12
|
+
|
|
13
|
+
attr_accessor redirect_url: String
|
|
14
|
+
|
|
15
|
+
attr_reader entity_id: String?
|
|
16
|
+
|
|
17
|
+
def entity_id=: (String) -> String
|
|
18
|
+
|
|
19
|
+
def initialize: (
|
|
20
|
+
program_id: String,
|
|
21
|
+
redirect_url: String,
|
|
22
|
+
?entity_id: String,
|
|
23
|
+
?request_options: Increase::request_opts
|
|
24
|
+
) -> void
|
|
25
|
+
|
|
26
|
+
def to_hash: -> {
|
|
27
|
+
program_id: String,
|
|
28
|
+
redirect_url: String,
|
|
29
|
+
entity_id: String,
|
|
30
|
+
request_options: Increase::RequestOptions
|
|
31
|
+
}
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
end
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
module Increase
|
|
2
|
+
module Models
|
|
3
|
+
type entity_onboarding_session_expire_params =
|
|
4
|
+
{ entity_onboarding_session_id: String }
|
|
5
|
+
& Increase::Internal::Type::request_parameters
|
|
6
|
+
|
|
7
|
+
class EntityOnboardingSessionExpireParams < Increase::Internal::Type::BaseModel
|
|
8
|
+
extend Increase::Internal::Type::RequestParameters::Converter
|
|
9
|
+
include Increase::Internal::Type::RequestParameters
|
|
10
|
+
|
|
11
|
+
attr_accessor entity_onboarding_session_id: String
|
|
12
|
+
|
|
13
|
+
def initialize: (
|
|
14
|
+
entity_onboarding_session_id: String,
|
|
15
|
+
?request_options: Increase::request_opts
|
|
16
|
+
) -> void
|
|
17
|
+
|
|
18
|
+
def to_hash: -> {
|
|
19
|
+
entity_onboarding_session_id: String,
|
|
20
|
+
request_options: Increase::RequestOptions
|
|
21
|
+
}
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
module Increase
|
|
2
|
+
module Models
|
|
3
|
+
type entity_onboarding_session_list_params =
|
|
4
|
+
{
|
|
5
|
+
cursor: String,
|
|
6
|
+
idempotency_key: String,
|
|
7
|
+
limit: Integer,
|
|
8
|
+
status: Increase::EntityOnboardingSessionListParams::Status
|
|
9
|
+
}
|
|
10
|
+
& Increase::Internal::Type::request_parameters
|
|
11
|
+
|
|
12
|
+
class EntityOnboardingSessionListParams < Increase::Internal::Type::BaseModel
|
|
13
|
+
extend Increase::Internal::Type::RequestParameters::Converter
|
|
14
|
+
include Increase::Internal::Type::RequestParameters
|
|
15
|
+
|
|
16
|
+
attr_reader cursor: String?
|
|
17
|
+
|
|
18
|
+
def cursor=: (String) -> String
|
|
19
|
+
|
|
20
|
+
attr_reader idempotency_key: String?
|
|
21
|
+
|
|
22
|
+
def idempotency_key=: (String) -> String
|
|
23
|
+
|
|
24
|
+
attr_reader limit: Integer?
|
|
25
|
+
|
|
26
|
+
def limit=: (Integer) -> Integer
|
|
27
|
+
|
|
28
|
+
attr_reader status: Increase::EntityOnboardingSessionListParams::Status?
|
|
29
|
+
|
|
30
|
+
def status=: (
|
|
31
|
+
Increase::EntityOnboardingSessionListParams::Status
|
|
32
|
+
) -> Increase::EntityOnboardingSessionListParams::Status
|
|
33
|
+
|
|
34
|
+
def initialize: (
|
|
35
|
+
?cursor: String,
|
|
36
|
+
?idempotency_key: String,
|
|
37
|
+
?limit: Integer,
|
|
38
|
+
?status: Increase::EntityOnboardingSessionListParams::Status,
|
|
39
|
+
?request_options: Increase::request_opts
|
|
40
|
+
) -> void
|
|
41
|
+
|
|
42
|
+
def to_hash: -> {
|
|
43
|
+
cursor: String,
|
|
44
|
+
idempotency_key: String,
|
|
45
|
+
limit: Integer,
|
|
46
|
+
status: Increase::EntityOnboardingSessionListParams::Status,
|
|
47
|
+
request_options: Increase::RequestOptions
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
type status =
|
|
51
|
+
{
|
|
52
|
+
in_: ::Array[Increase::Models::EntityOnboardingSessionListParams::Status::in_]
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
class Status < Increase::Internal::Type::BaseModel
|
|
56
|
+
attr_reader in_: ::Array[Increase::Models::EntityOnboardingSessionListParams::Status::in_]?
|
|
57
|
+
|
|
58
|
+
def in_=: (
|
|
59
|
+
::Array[Increase::Models::EntityOnboardingSessionListParams::Status::in_]
|
|
60
|
+
) -> ::Array[Increase::Models::EntityOnboardingSessionListParams::Status::in_]
|
|
61
|
+
|
|
62
|
+
def initialize: (
|
|
63
|
+
?in_: ::Array[Increase::Models::EntityOnboardingSessionListParams::Status::in_]
|
|
64
|
+
) -> void
|
|
65
|
+
|
|
66
|
+
def to_hash: -> {
|
|
67
|
+
in_: ::Array[Increase::Models::EntityOnboardingSessionListParams::Status::in_]
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
type in_ = :active | :expired
|
|
71
|
+
|
|
72
|
+
module In
|
|
73
|
+
extend Increase::Internal::Type::Enum
|
|
74
|
+
|
|
75
|
+
# The Entity Onboarding Session is active.
|
|
76
|
+
ACTIVE: :active
|
|
77
|
+
|
|
78
|
+
# The Entity Onboarding Session has expired.
|
|
79
|
+
EXPIRED: :expired
|
|
80
|
+
|
|
81
|
+
def self?.values: -> ::Array[Increase::Models::EntityOnboardingSessionListParams::Status::in_]
|
|
82
|
+
end
|
|
83
|
+
end
|
|
84
|
+
end
|
|
85
|
+
end
|
|
86
|
+
end
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
module Increase
|
|
2
|
+
module Models
|
|
3
|
+
type entity_onboarding_session_retrieve_params =
|
|
4
|
+
{ entity_onboarding_session_id: String }
|
|
5
|
+
& Increase::Internal::Type::request_parameters
|
|
6
|
+
|
|
7
|
+
class EntityOnboardingSessionRetrieveParams < Increase::Internal::Type::BaseModel
|
|
8
|
+
extend Increase::Internal::Type::RequestParameters::Converter
|
|
9
|
+
include Increase::Internal::Type::RequestParameters
|
|
10
|
+
|
|
11
|
+
attr_accessor entity_onboarding_session_id: String
|
|
12
|
+
|
|
13
|
+
def initialize: (
|
|
14
|
+
entity_onboarding_session_id: String,
|
|
15
|
+
?request_options: Increase::request_opts
|
|
16
|
+
) -> void
|
|
17
|
+
|
|
18
|
+
def to_hash: -> {
|
|
19
|
+
entity_onboarding_session_id: String,
|
|
20
|
+
request_options: Increase::RequestOptions
|
|
21
|
+
}
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
@@ -10,6 +10,7 @@ module Increase
|
|
|
10
10
|
bookkeeping_account_balance_csv: Increase::Export::BookkeepingAccountBalanceCsv?,
|
|
11
11
|
category: Increase::Models::Export::category,
|
|
12
12
|
created_at: Time,
|
|
13
|
+
daily_account_balance_csv: Increase::Export::DailyAccountBalanceCsv?,
|
|
13
14
|
dashboard_table_csv: Increase::Export::DashboardTableCsv?,
|
|
14
15
|
entity_csv: Increase::Export::EntityCsv?,
|
|
15
16
|
fee_csv: Increase::Export::FeeCsv?,
|
|
@@ -42,6 +43,8 @@ module Increase
|
|
|
42
43
|
|
|
43
44
|
attr_accessor created_at: Time
|
|
44
45
|
|
|
46
|
+
attr_accessor daily_account_balance_csv: Increase::Export::DailyAccountBalanceCsv?
|
|
47
|
+
|
|
45
48
|
attr_accessor dashboard_table_csv: Increase::Export::DashboardTableCsv?
|
|
46
49
|
|
|
47
50
|
attr_accessor entity_csv: Increase::Export::EntityCsv?
|
|
@@ -77,6 +80,7 @@ module Increase
|
|
|
77
80
|
bookkeeping_account_balance_csv: Increase::Export::BookkeepingAccountBalanceCsv?,
|
|
78
81
|
category: Increase::Models::Export::category,
|
|
79
82
|
created_at: Time,
|
|
83
|
+
daily_account_balance_csv: Increase::Export::DailyAccountBalanceCsv?,
|
|
80
84
|
dashboard_table_csv: Increase::Export::DashboardTableCsv?,
|
|
81
85
|
entity_csv: Increase::Export::EntityCsv?,
|
|
82
86
|
fee_csv: Increase::Export::FeeCsv?,
|
|
@@ -101,6 +105,7 @@ module Increase
|
|
|
101
105
|
bookkeeping_account_balance_csv: Increase::Export::BookkeepingAccountBalanceCsv?,
|
|
102
106
|
category: Increase::Models::Export::category,
|
|
103
107
|
created_at: Time,
|
|
108
|
+
daily_account_balance_csv: Increase::Export::DailyAccountBalanceCsv?,
|
|
104
109
|
dashboard_table_csv: Increase::Export::DashboardTableCsv?,
|
|
105
110
|
entity_csv: Increase::Export::EntityCsv?,
|
|
106
111
|
fee_csv: Increase::Export::FeeCsv?,
|
|
@@ -269,6 +274,7 @@ module Increase
|
|
|
269
274
|
| :form_1099_misc
|
|
270
275
|
| :fee_csv
|
|
271
276
|
| :voided_check
|
|
277
|
+
| :daily_account_balance_csv
|
|
272
278
|
|
|
273
279
|
module Category
|
|
274
280
|
extend Increase::Internal::Type::Enum
|
|
@@ -315,9 +321,39 @@ module Increase
|
|
|
315
321
|
# A PDF of a voided check.
|
|
316
322
|
VOIDED_CHECK: :voided_check
|
|
317
323
|
|
|
324
|
+
# Export a CSV of daily account balances with starting and ending balances for a given date range.
|
|
325
|
+
DAILY_ACCOUNT_BALANCE_CSV: :daily_account_balance_csv
|
|
326
|
+
|
|
318
327
|
def self?.values: -> ::Array[Increase::Models::Export::category]
|
|
319
328
|
end
|
|
320
329
|
|
|
330
|
+
type daily_account_balance_csv =
|
|
331
|
+
{
|
|
332
|
+
account_id: String?,
|
|
333
|
+
on_or_after_date: Date?,
|
|
334
|
+
on_or_before_date: Date?
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
class DailyAccountBalanceCsv < Increase::Internal::Type::BaseModel
|
|
338
|
+
attr_accessor account_id: String?
|
|
339
|
+
|
|
340
|
+
attr_accessor on_or_after_date: Date?
|
|
341
|
+
|
|
342
|
+
attr_accessor on_or_before_date: Date?
|
|
343
|
+
|
|
344
|
+
def initialize: (
|
|
345
|
+
account_id: String?,
|
|
346
|
+
on_or_after_date: Date?,
|
|
347
|
+
on_or_before_date: Date?
|
|
348
|
+
) -> void
|
|
349
|
+
|
|
350
|
+
def to_hash: -> {
|
|
351
|
+
account_id: String?,
|
|
352
|
+
on_or_after_date: Date?,
|
|
353
|
+
on_or_before_date: Date?
|
|
354
|
+
}
|
|
355
|
+
end
|
|
356
|
+
|
|
321
357
|
type dashboard_table_csv = { }
|
|
322
358
|
|
|
323
359
|
class DashboardTableCsv < Increase::Internal::Type::BaseModel
|
|
@@ -8,6 +8,7 @@ module Increase
|
|
|
8
8
|
account_verification_letter: Increase::ExportCreateParams::AccountVerificationLetter,
|
|
9
9
|
balance_csv: Increase::ExportCreateParams::BalanceCsv,
|
|
10
10
|
bookkeeping_account_balance_csv: Increase::ExportCreateParams::BookkeepingAccountBalanceCsv,
|
|
11
|
+
daily_account_balance_csv: Increase::ExportCreateParams::DailyAccountBalanceCsv,
|
|
11
12
|
entity_csv: Increase::ExportCreateParams::EntityCsv,
|
|
12
13
|
funding_instructions: Increase::ExportCreateParams::FundingInstructions,
|
|
13
14
|
transaction_csv: Increase::ExportCreateParams::TransactionCsv,
|
|
@@ -52,6 +53,12 @@ module Increase
|
|
|
52
53
|
Increase::ExportCreateParams::BookkeepingAccountBalanceCsv
|
|
53
54
|
) -> Increase::ExportCreateParams::BookkeepingAccountBalanceCsv
|
|
54
55
|
|
|
56
|
+
attr_reader daily_account_balance_csv: Increase::ExportCreateParams::DailyAccountBalanceCsv?
|
|
57
|
+
|
|
58
|
+
def daily_account_balance_csv=: (
|
|
59
|
+
Increase::ExportCreateParams::DailyAccountBalanceCsv
|
|
60
|
+
) -> Increase::ExportCreateParams::DailyAccountBalanceCsv
|
|
61
|
+
|
|
55
62
|
attr_reader entity_csv: Increase::ExportCreateParams::EntityCsv?
|
|
56
63
|
|
|
57
64
|
def entity_csv=: (
|
|
@@ -89,6 +96,7 @@ module Increase
|
|
|
89
96
|
?account_verification_letter: Increase::ExportCreateParams::AccountVerificationLetter,
|
|
90
97
|
?balance_csv: Increase::ExportCreateParams::BalanceCsv,
|
|
91
98
|
?bookkeeping_account_balance_csv: Increase::ExportCreateParams::BookkeepingAccountBalanceCsv,
|
|
99
|
+
?daily_account_balance_csv: Increase::ExportCreateParams::DailyAccountBalanceCsv,
|
|
92
100
|
?entity_csv: Increase::ExportCreateParams::EntityCsv,
|
|
93
101
|
?funding_instructions: Increase::ExportCreateParams::FundingInstructions,
|
|
94
102
|
?transaction_csv: Increase::ExportCreateParams::TransactionCsv,
|
|
@@ -104,6 +112,7 @@ module Increase
|
|
|
104
112
|
account_verification_letter: Increase::ExportCreateParams::AccountVerificationLetter,
|
|
105
113
|
balance_csv: Increase::ExportCreateParams::BalanceCsv,
|
|
106
114
|
bookkeeping_account_balance_csv: Increase::ExportCreateParams::BookkeepingAccountBalanceCsv,
|
|
115
|
+
daily_account_balance_csv: Increase::ExportCreateParams::DailyAccountBalanceCsv,
|
|
107
116
|
entity_csv: Increase::ExportCreateParams::EntityCsv,
|
|
108
117
|
funding_instructions: Increase::ExportCreateParams::FundingInstructions,
|
|
109
118
|
transaction_csv: Increase::ExportCreateParams::TransactionCsv,
|
|
@@ -123,6 +132,7 @@ module Increase
|
|
|
123
132
|
| :account_verification_letter
|
|
124
133
|
| :funding_instructions
|
|
125
134
|
| :voided_check
|
|
135
|
+
| :daily_account_balance_csv
|
|
126
136
|
|
|
127
137
|
module Category
|
|
128
138
|
extend Increase::Internal::Type::Enum
|
|
@@ -157,6 +167,9 @@ module Increase
|
|
|
157
167
|
# A PDF of a voided check.
|
|
158
168
|
VOIDED_CHECK: :voided_check
|
|
159
169
|
|
|
170
|
+
# Export a CSV of daily account balances with starting and ending balances for a given date range.
|
|
171
|
+
DAILY_ACCOUNT_BALANCE_CSV: :daily_account_balance_csv
|
|
172
|
+
|
|
160
173
|
def self?.values: -> ::Array[Increase::Models::ExportCreateParams::category]
|
|
161
174
|
end
|
|
162
175
|
|
|
@@ -391,6 +404,35 @@ module Increase
|
|
|
391
404
|
end
|
|
392
405
|
end
|
|
393
406
|
|
|
407
|
+
type daily_account_balance_csv =
|
|
408
|
+
{ account_id: String, on_or_after_date: Date, on_or_before_date: Date }
|
|
409
|
+
|
|
410
|
+
class DailyAccountBalanceCsv < Increase::Internal::Type::BaseModel
|
|
411
|
+
attr_reader account_id: String?
|
|
412
|
+
|
|
413
|
+
def account_id=: (String) -> String
|
|
414
|
+
|
|
415
|
+
attr_reader on_or_after_date: Date?
|
|
416
|
+
|
|
417
|
+
def on_or_after_date=: (Date) -> Date
|
|
418
|
+
|
|
419
|
+
attr_reader on_or_before_date: Date?
|
|
420
|
+
|
|
421
|
+
def on_or_before_date=: (Date) -> Date
|
|
422
|
+
|
|
423
|
+
def initialize: (
|
|
424
|
+
?account_id: String,
|
|
425
|
+
?on_or_after_date: Date,
|
|
426
|
+
?on_or_before_date: Date
|
|
427
|
+
) -> void
|
|
428
|
+
|
|
429
|
+
def to_hash: -> {
|
|
430
|
+
account_id: String,
|
|
431
|
+
on_or_after_date: Date,
|
|
432
|
+
on_or_before_date: Date
|
|
433
|
+
}
|
|
434
|
+
end
|
|
435
|
+
|
|
394
436
|
type entity_csv = { }
|
|
395
437
|
|
|
396
438
|
class EntityCsv < Increase::Internal::Type::BaseModel
|
|
@@ -98,6 +98,7 @@ module Increase
|
|
|
98
98
|
| :form_1099_misc
|
|
99
99
|
| :fee_csv
|
|
100
100
|
| :voided_check
|
|
101
|
+
| :daily_account_balance_csv
|
|
101
102
|
|
|
102
103
|
module Category
|
|
103
104
|
extend Increase::Internal::Type::Enum
|
|
@@ -144,6 +145,9 @@ module Increase
|
|
|
144
145
|
# A PDF of a voided check.
|
|
145
146
|
VOIDED_CHECK: :voided_check
|
|
146
147
|
|
|
148
|
+
# Export a CSV of daily account balances with starting and ending balances for a given date range.
|
|
149
|
+
DAILY_ACCOUNT_BALANCE_CSV: :daily_account_balance_csv
|
|
150
|
+
|
|
147
151
|
def self?.values: -> ::Array[Increase::Models::ExportListParams::category]
|
|
148
152
|
end
|
|
149
153
|
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
module Increase
|
|
2
|
+
module Models
|
|
3
|
+
module Simulations
|
|
4
|
+
type entity_onboarding_session_submit_params =
|
|
5
|
+
{ entity_onboarding_session_id: String }
|
|
6
|
+
& Increase::Internal::Type::request_parameters
|
|
7
|
+
|
|
8
|
+
class EntityOnboardingSessionSubmitParams < Increase::Internal::Type::BaseModel
|
|
9
|
+
extend Increase::Internal::Type::RequestParameters::Converter
|
|
10
|
+
include Increase::Internal::Type::RequestParameters
|
|
11
|
+
|
|
12
|
+
attr_accessor entity_onboarding_session_id: String
|
|
13
|
+
|
|
14
|
+
def initialize: (
|
|
15
|
+
entity_onboarding_session_id: String,
|
|
16
|
+
?request_options: Increase::request_opts
|
|
17
|
+
) -> void
|
|
18
|
+
|
|
19
|
+
def to_hash: -> {
|
|
20
|
+
entity_onboarding_session_id: String,
|
|
21
|
+
request_options: Increase::RequestOptions
|
|
22
|
+
}
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
end
|
data/sig/increase/models.rbs
CHANGED
|
@@ -229,6 +229,16 @@ module Increase
|
|
|
229
229
|
|
|
230
230
|
class EntityListParams = Increase::Models::EntityListParams
|
|
231
231
|
|
|
232
|
+
class EntityOnboardingSession = Increase::Models::EntityOnboardingSession
|
|
233
|
+
|
|
234
|
+
class EntityOnboardingSessionCreateParams = Increase::Models::EntityOnboardingSessionCreateParams
|
|
235
|
+
|
|
236
|
+
class EntityOnboardingSessionExpireParams = Increase::Models::EntityOnboardingSessionExpireParams
|
|
237
|
+
|
|
238
|
+
class EntityOnboardingSessionListParams = Increase::Models::EntityOnboardingSessionListParams
|
|
239
|
+
|
|
240
|
+
class EntityOnboardingSessionRetrieveParams = Increase::Models::EntityOnboardingSessionRetrieveParams
|
|
241
|
+
|
|
232
242
|
class EntityRetrieveParams = Increase::Models::EntityRetrieveParams
|
|
233
243
|
|
|
234
244
|
class EntitySupplementalDocument = Increase::Models::EntitySupplementalDocument
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
module Increase
|
|
2
|
+
module Resources
|
|
3
|
+
class EntityOnboardingSessions
|
|
4
|
+
def create: (
|
|
5
|
+
program_id: String,
|
|
6
|
+
redirect_url: String,
|
|
7
|
+
?entity_id: String,
|
|
8
|
+
?request_options: Increase::request_opts
|
|
9
|
+
) -> Increase::EntityOnboardingSession
|
|
10
|
+
|
|
11
|
+
def retrieve: (
|
|
12
|
+
String entity_onboarding_session_id,
|
|
13
|
+
?request_options: Increase::request_opts
|
|
14
|
+
) -> Increase::EntityOnboardingSession
|
|
15
|
+
|
|
16
|
+
def list: (
|
|
17
|
+
?cursor: String,
|
|
18
|
+
?idempotency_key: String,
|
|
19
|
+
?limit: Integer,
|
|
20
|
+
?status: Increase::EntityOnboardingSessionListParams::Status,
|
|
21
|
+
?request_options: Increase::request_opts
|
|
22
|
+
) -> Increase::Internal::Page[Increase::EntityOnboardingSession]
|
|
23
|
+
|
|
24
|
+
def expire: (
|
|
25
|
+
String entity_onboarding_session_id,
|
|
26
|
+
?request_options: Increase::request_opts
|
|
27
|
+
) -> Increase::EntityOnboardingSession
|
|
28
|
+
|
|
29
|
+
def initialize: (client: Increase::Client) -> void
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|