increase 1.302.0 → 1.304.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 +21 -0
- data/README.md +1 -1
- data/lib/increase/client.rb +0 -12
- data/lib/increase/models/entity_update_params.rb +41 -1
- data/lib/increase/models.rb +0 -26
- data/lib/increase/resources/entities.rb +3 -1
- data/lib/increase/version.rb +1 -1
- data/lib/increase.rb +0 -16
- data/rbi/increase/client.rbi +0 -9
- data/rbi/increase/models/entity_update_params.rbi +71 -0
- data/rbi/increase/models.rbi +0 -33
- data/rbi/increase/resources/entities.rbi +5 -0
- data/sig/increase/client.rbs +0 -6
- data/sig/increase/models/entity_update_params.rbs +32 -0
- data/sig/increase/models.rbs +0 -26
- data/sig/increase/resources/entities.rbs +1 -0
- metadata +2 -50
- data/lib/increase/models/bookkeeping_account.rb +0 -104
- data/lib/increase/models/bookkeeping_account_balance_params.rb +0 -30
- data/lib/increase/models/bookkeeping_account_create_params.rb +0 -60
- data/lib/increase/models/bookkeeping_account_list_params.rb +0 -45
- data/lib/increase/models/bookkeeping_account_update_params.rb +0 -30
- data/lib/increase/models/bookkeeping_balance_lookup.rb +0 -54
- data/lib/increase/models/bookkeeping_entry.rb +0 -79
- data/lib/increase/models/bookkeeping_entry_list_params.rb +0 -42
- data/lib/increase/models/bookkeeping_entry_retrieve_params.rb +0 -22
- data/lib/increase/models/bookkeeping_entry_set.rb +0 -116
- data/lib/increase/models/bookkeeping_entry_set_create_params.rb +0 -67
- data/lib/increase/models/bookkeeping_entry_set_list_params.rb +0 -53
- data/lib/increase/models/bookkeeping_entry_set_retrieve_params.rb +0 -22
- data/lib/increase/resources/bookkeeping_accounts.rb +0 -122
- data/lib/increase/resources/bookkeeping_entries.rb +0 -65
- data/lib/increase/resources/bookkeeping_entry_sets.rb +0 -96
- data/rbi/increase/models/bookkeeping_account.rbi +0 -165
- data/rbi/increase/models/bookkeeping_account_balance_params.rbi +0 -57
- data/rbi/increase/models/bookkeeping_account_create_params.rbi +0 -130
- data/rbi/increase/models/bookkeeping_account_list_params.rbi +0 -79
- data/rbi/increase/models/bookkeeping_account_update_params.rbi +0 -54
- data/rbi/increase/models/bookkeeping_balance_lookup.rbi +0 -85
- data/rbi/increase/models/bookkeeping_entry.rbi +0 -108
- data/rbi/increase/models/bookkeeping_entry_list_params.rbi +0 -73
- data/rbi/increase/models/bookkeeping_entry_retrieve_params.rbi +0 -46
- data/rbi/increase/models/bookkeeping_entry_set.rbi +0 -162
- data/rbi/increase/models/bookkeeping_entry_set_create_params.rbi +0 -110
- data/rbi/increase/models/bookkeeping_entry_set_list_params.rbi +0 -90
- data/rbi/increase/models/bookkeeping_entry_set_retrieve_params.rbi +0 -46
- data/rbi/increase/resources/bookkeeping_accounts.rbi +0 -94
- data/rbi/increase/resources/bookkeeping_entries.rbi +0 -47
- data/rbi/increase/resources/bookkeeping_entry_sets.rbi +0 -75
- data/sig/increase/models/bookkeeping_account.rbs +0 -74
- data/sig/increase/models/bookkeeping_account_balance_params.rbs +0 -30
- data/sig/increase/models/bookkeeping_account_create_params.rbs +0 -63
- data/sig/increase/models/bookkeeping_account_list_params.rbs +0 -38
- data/sig/increase/models/bookkeeping_account_update_params.rbs +0 -28
- data/sig/increase/models/bookkeeping_balance_lookup.rbs +0 -40
- data/sig/increase/models/bookkeeping_entry.rbs +0 -55
- data/sig/increase/models/bookkeeping_entry_list_params.rbs +0 -38
- data/sig/increase/models/bookkeeping_entry_retrieve_params.rbs +0 -24
- data/sig/increase/models/bookkeeping_entry_set.rbs +0 -78
- data/sig/increase/models/bookkeeping_entry_set_create_params.rbs +0 -52
- data/sig/increase/models/bookkeeping_entry_set_list_params.rbs +0 -49
- data/sig/increase/models/bookkeeping_entry_set_retrieve_params.rbs +0 -24
- data/sig/increase/resources/bookkeeping_accounts.rbs +0 -34
- data/sig/increase/resources/bookkeeping_entries.rbs +0 -19
- data/sig/increase/resources/bookkeeping_entry_sets.rbs +0 -27
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
module Increase
|
|
2
|
-
module Models
|
|
3
|
-
type bookkeeping_account_balance_params =
|
|
4
|
-
{ bookkeeping_account_id: String, at_time: Time }
|
|
5
|
-
& Increase::Internal::Type::request_parameters
|
|
6
|
-
|
|
7
|
-
class BookkeepingAccountBalanceParams < Increase::Internal::Type::BaseModel
|
|
8
|
-
extend Increase::Internal::Type::RequestParameters::Converter
|
|
9
|
-
include Increase::Internal::Type::RequestParameters
|
|
10
|
-
|
|
11
|
-
attr_accessor bookkeeping_account_id: String
|
|
12
|
-
|
|
13
|
-
attr_reader at_time: Time?
|
|
14
|
-
|
|
15
|
-
def at_time=: (Time) -> Time
|
|
16
|
-
|
|
17
|
-
def initialize: (
|
|
18
|
-
bookkeeping_account_id: String,
|
|
19
|
-
?at_time: Time,
|
|
20
|
-
?request_options: Increase::request_opts
|
|
21
|
-
) -> void
|
|
22
|
-
|
|
23
|
-
def to_hash: -> {
|
|
24
|
-
bookkeeping_account_id: String,
|
|
25
|
-
at_time: Time,
|
|
26
|
-
request_options: Increase::RequestOptions
|
|
27
|
-
}
|
|
28
|
-
end
|
|
29
|
-
end
|
|
30
|
-
end
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
module Increase
|
|
2
|
-
module Models
|
|
3
|
-
type bookkeeping_account_create_params =
|
|
4
|
-
{
|
|
5
|
-
name: String,
|
|
6
|
-
account_id: String,
|
|
7
|
-
compliance_category: Increase::Models::BookkeepingAccountCreateParams::compliance_category,
|
|
8
|
-
entity_id: String
|
|
9
|
-
}
|
|
10
|
-
& Increase::Internal::Type::request_parameters
|
|
11
|
-
|
|
12
|
-
class BookkeepingAccountCreateParams < Increase::Internal::Type::BaseModel
|
|
13
|
-
extend Increase::Internal::Type::RequestParameters::Converter
|
|
14
|
-
include Increase::Internal::Type::RequestParameters
|
|
15
|
-
|
|
16
|
-
attr_accessor name: String
|
|
17
|
-
|
|
18
|
-
attr_reader account_id: String?
|
|
19
|
-
|
|
20
|
-
def account_id=: (String) -> String
|
|
21
|
-
|
|
22
|
-
attr_reader compliance_category: Increase::Models::BookkeepingAccountCreateParams::compliance_category?
|
|
23
|
-
|
|
24
|
-
def compliance_category=: (
|
|
25
|
-
Increase::Models::BookkeepingAccountCreateParams::compliance_category
|
|
26
|
-
) -> Increase::Models::BookkeepingAccountCreateParams::compliance_category
|
|
27
|
-
|
|
28
|
-
attr_reader entity_id: String?
|
|
29
|
-
|
|
30
|
-
def entity_id=: (String) -> String
|
|
31
|
-
|
|
32
|
-
def initialize: (
|
|
33
|
-
name: String,
|
|
34
|
-
?account_id: String,
|
|
35
|
-
?compliance_category: Increase::Models::BookkeepingAccountCreateParams::compliance_category,
|
|
36
|
-
?entity_id: String,
|
|
37
|
-
?request_options: Increase::request_opts
|
|
38
|
-
) -> void
|
|
39
|
-
|
|
40
|
-
def to_hash: -> {
|
|
41
|
-
name: String,
|
|
42
|
-
account_id: String,
|
|
43
|
-
compliance_category: Increase::Models::BookkeepingAccountCreateParams::compliance_category,
|
|
44
|
-
entity_id: String,
|
|
45
|
-
request_options: Increase::RequestOptions
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
type compliance_category = :commingled_cash | :customer_balance
|
|
49
|
-
|
|
50
|
-
module ComplianceCategory
|
|
51
|
-
extend Increase::Internal::Type::Enum
|
|
52
|
-
|
|
53
|
-
# A cash in an commingled Increase Account.
|
|
54
|
-
COMMINGLED_CASH: :commingled_cash
|
|
55
|
-
|
|
56
|
-
# A customer balance.
|
|
57
|
-
CUSTOMER_BALANCE: :customer_balance
|
|
58
|
-
|
|
59
|
-
def self?.values: -> ::Array[Increase::Models::BookkeepingAccountCreateParams::compliance_category]
|
|
60
|
-
end
|
|
61
|
-
end
|
|
62
|
-
end
|
|
63
|
-
end
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
module Increase
|
|
2
|
-
module Models
|
|
3
|
-
type bookkeeping_account_list_params =
|
|
4
|
-
{ cursor: String, idempotency_key: String, limit: Integer }
|
|
5
|
-
& Increase::Internal::Type::request_parameters
|
|
6
|
-
|
|
7
|
-
class BookkeepingAccountListParams < Increase::Internal::Type::BaseModel
|
|
8
|
-
extend Increase::Internal::Type::RequestParameters::Converter
|
|
9
|
-
include Increase::Internal::Type::RequestParameters
|
|
10
|
-
|
|
11
|
-
attr_reader cursor: String?
|
|
12
|
-
|
|
13
|
-
def cursor=: (String) -> String
|
|
14
|
-
|
|
15
|
-
attr_reader idempotency_key: String?
|
|
16
|
-
|
|
17
|
-
def idempotency_key=: (String) -> String
|
|
18
|
-
|
|
19
|
-
attr_reader limit: Integer?
|
|
20
|
-
|
|
21
|
-
def limit=: (Integer) -> Integer
|
|
22
|
-
|
|
23
|
-
def initialize: (
|
|
24
|
-
?cursor: String,
|
|
25
|
-
?idempotency_key: String,
|
|
26
|
-
?limit: Integer,
|
|
27
|
-
?request_options: Increase::request_opts
|
|
28
|
-
) -> void
|
|
29
|
-
|
|
30
|
-
def to_hash: -> {
|
|
31
|
-
cursor: String,
|
|
32
|
-
idempotency_key: String,
|
|
33
|
-
limit: Integer,
|
|
34
|
-
request_options: Increase::RequestOptions
|
|
35
|
-
}
|
|
36
|
-
end
|
|
37
|
-
end
|
|
38
|
-
end
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
module Increase
|
|
2
|
-
module Models
|
|
3
|
-
type bookkeeping_account_update_params =
|
|
4
|
-
{ bookkeeping_account_id: String, name: String }
|
|
5
|
-
& Increase::Internal::Type::request_parameters
|
|
6
|
-
|
|
7
|
-
class BookkeepingAccountUpdateParams < Increase::Internal::Type::BaseModel
|
|
8
|
-
extend Increase::Internal::Type::RequestParameters::Converter
|
|
9
|
-
include Increase::Internal::Type::RequestParameters
|
|
10
|
-
|
|
11
|
-
attr_accessor bookkeeping_account_id: String
|
|
12
|
-
|
|
13
|
-
attr_accessor name: String
|
|
14
|
-
|
|
15
|
-
def initialize: (
|
|
16
|
-
bookkeeping_account_id: String,
|
|
17
|
-
name: String,
|
|
18
|
-
?request_options: Increase::request_opts
|
|
19
|
-
) -> void
|
|
20
|
-
|
|
21
|
-
def to_hash: -> {
|
|
22
|
-
bookkeeping_account_id: String,
|
|
23
|
-
name: String,
|
|
24
|
-
request_options: Increase::RequestOptions
|
|
25
|
-
}
|
|
26
|
-
end
|
|
27
|
-
end
|
|
28
|
-
end
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
module Increase
|
|
2
|
-
module Models
|
|
3
|
-
type bookkeeping_balance_lookup =
|
|
4
|
-
{
|
|
5
|
-
balance: Integer,
|
|
6
|
-
bookkeeping_account_id: String,
|
|
7
|
-
type: Increase::Models::BookkeepingBalanceLookup::type_
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
class BookkeepingBalanceLookup < Increase::Internal::Type::BaseModel
|
|
11
|
-
attr_accessor balance: Integer
|
|
12
|
-
|
|
13
|
-
attr_accessor bookkeeping_account_id: String
|
|
14
|
-
|
|
15
|
-
attr_accessor type: Increase::Models::BookkeepingBalanceLookup::type_
|
|
16
|
-
|
|
17
|
-
def initialize: (
|
|
18
|
-
balance: Integer,
|
|
19
|
-
bookkeeping_account_id: String,
|
|
20
|
-
type: Increase::Models::BookkeepingBalanceLookup::type_
|
|
21
|
-
) -> void
|
|
22
|
-
|
|
23
|
-
def to_hash: -> {
|
|
24
|
-
balance: Integer,
|
|
25
|
-
bookkeeping_account_id: String,
|
|
26
|
-
type: Increase::Models::BookkeepingBalanceLookup::type_
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
type type_ = :bookkeeping_balance_lookup
|
|
30
|
-
|
|
31
|
-
module Type
|
|
32
|
-
extend Increase::Internal::Type::Enum
|
|
33
|
-
|
|
34
|
-
BOOKKEEPING_BALANCE_LOOKUP: :bookkeeping_balance_lookup
|
|
35
|
-
|
|
36
|
-
def self?.values: -> ::Array[Increase::Models::BookkeepingBalanceLookup::type_]
|
|
37
|
-
end
|
|
38
|
-
end
|
|
39
|
-
end
|
|
40
|
-
end
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
module Increase
|
|
2
|
-
module Models
|
|
3
|
-
type bookkeeping_entry =
|
|
4
|
-
{
|
|
5
|
-
id: String,
|
|
6
|
-
account_id: String,
|
|
7
|
-
amount: Integer,
|
|
8
|
-
created_at: Time,
|
|
9
|
-
entry_set_id: String,
|
|
10
|
-
type: Increase::Models::BookkeepingEntry::type_
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
class BookkeepingEntry < Increase::Internal::Type::BaseModel
|
|
14
|
-
attr_accessor id: String
|
|
15
|
-
|
|
16
|
-
attr_accessor account_id: String
|
|
17
|
-
|
|
18
|
-
attr_accessor amount: Integer
|
|
19
|
-
|
|
20
|
-
attr_accessor created_at: Time
|
|
21
|
-
|
|
22
|
-
attr_accessor entry_set_id: String
|
|
23
|
-
|
|
24
|
-
attr_accessor type: Increase::Models::BookkeepingEntry::type_
|
|
25
|
-
|
|
26
|
-
def initialize: (
|
|
27
|
-
id: String,
|
|
28
|
-
account_id: String,
|
|
29
|
-
amount: Integer,
|
|
30
|
-
created_at: Time,
|
|
31
|
-
entry_set_id: String,
|
|
32
|
-
type: Increase::Models::BookkeepingEntry::type_
|
|
33
|
-
) -> void
|
|
34
|
-
|
|
35
|
-
def to_hash: -> {
|
|
36
|
-
id: String,
|
|
37
|
-
account_id: String,
|
|
38
|
-
amount: Integer,
|
|
39
|
-
created_at: Time,
|
|
40
|
-
entry_set_id: String,
|
|
41
|
-
type: Increase::Models::BookkeepingEntry::type_
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
type type_ = :bookkeeping_entry
|
|
45
|
-
|
|
46
|
-
module Type
|
|
47
|
-
extend Increase::Internal::Type::Enum
|
|
48
|
-
|
|
49
|
-
BOOKKEEPING_ENTRY: :bookkeeping_entry
|
|
50
|
-
|
|
51
|
-
def self?.values: -> ::Array[Increase::Models::BookkeepingEntry::type_]
|
|
52
|
-
end
|
|
53
|
-
end
|
|
54
|
-
end
|
|
55
|
-
end
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
module Increase
|
|
2
|
-
module Models
|
|
3
|
-
type bookkeeping_entry_list_params =
|
|
4
|
-
{ account_id: String, cursor: String, limit: Integer }
|
|
5
|
-
& Increase::Internal::Type::request_parameters
|
|
6
|
-
|
|
7
|
-
class BookkeepingEntryListParams < Increase::Internal::Type::BaseModel
|
|
8
|
-
extend Increase::Internal::Type::RequestParameters::Converter
|
|
9
|
-
include Increase::Internal::Type::RequestParameters
|
|
10
|
-
|
|
11
|
-
attr_reader account_id: String?
|
|
12
|
-
|
|
13
|
-
def account_id=: (String) -> String
|
|
14
|
-
|
|
15
|
-
attr_reader cursor: String?
|
|
16
|
-
|
|
17
|
-
def cursor=: (String) -> String
|
|
18
|
-
|
|
19
|
-
attr_reader limit: Integer?
|
|
20
|
-
|
|
21
|
-
def limit=: (Integer) -> Integer
|
|
22
|
-
|
|
23
|
-
def initialize: (
|
|
24
|
-
?account_id: String,
|
|
25
|
-
?cursor: String,
|
|
26
|
-
?limit: Integer,
|
|
27
|
-
?request_options: Increase::request_opts
|
|
28
|
-
) -> void
|
|
29
|
-
|
|
30
|
-
def to_hash: -> {
|
|
31
|
-
account_id: String,
|
|
32
|
-
cursor: String,
|
|
33
|
-
limit: Integer,
|
|
34
|
-
request_options: Increase::RequestOptions
|
|
35
|
-
}
|
|
36
|
-
end
|
|
37
|
-
end
|
|
38
|
-
end
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
module Increase
|
|
2
|
-
module Models
|
|
3
|
-
type bookkeeping_entry_retrieve_params =
|
|
4
|
-
{ bookkeeping_entry_id: String }
|
|
5
|
-
& Increase::Internal::Type::request_parameters
|
|
6
|
-
|
|
7
|
-
class BookkeepingEntryRetrieveParams < Increase::Internal::Type::BaseModel
|
|
8
|
-
extend Increase::Internal::Type::RequestParameters::Converter
|
|
9
|
-
include Increase::Internal::Type::RequestParameters
|
|
10
|
-
|
|
11
|
-
attr_accessor bookkeeping_entry_id: String
|
|
12
|
-
|
|
13
|
-
def initialize: (
|
|
14
|
-
bookkeeping_entry_id: String,
|
|
15
|
-
?request_options: Increase::request_opts
|
|
16
|
-
) -> void
|
|
17
|
-
|
|
18
|
-
def to_hash: -> {
|
|
19
|
-
bookkeeping_entry_id: String,
|
|
20
|
-
request_options: Increase::RequestOptions
|
|
21
|
-
}
|
|
22
|
-
end
|
|
23
|
-
end
|
|
24
|
-
end
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
module Increase
|
|
2
|
-
module Models
|
|
3
|
-
type bookkeeping_entry_set =
|
|
4
|
-
{
|
|
5
|
-
id: String,
|
|
6
|
-
created_at: Time,
|
|
7
|
-
date: Time,
|
|
8
|
-
entries: ::Array[Increase::BookkeepingEntrySet::Entry],
|
|
9
|
-
idempotency_key: String?,
|
|
10
|
-
transaction_id: String?,
|
|
11
|
-
type: Increase::Models::BookkeepingEntrySet::type_
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
class BookkeepingEntrySet < Increase::Internal::Type::BaseModel
|
|
15
|
-
attr_accessor id: String
|
|
16
|
-
|
|
17
|
-
attr_accessor created_at: Time
|
|
18
|
-
|
|
19
|
-
attr_accessor date: Time
|
|
20
|
-
|
|
21
|
-
attr_accessor entries: ::Array[Increase::BookkeepingEntrySet::Entry]
|
|
22
|
-
|
|
23
|
-
attr_accessor idempotency_key: String?
|
|
24
|
-
|
|
25
|
-
attr_accessor transaction_id: String?
|
|
26
|
-
|
|
27
|
-
attr_accessor type: Increase::Models::BookkeepingEntrySet::type_
|
|
28
|
-
|
|
29
|
-
def initialize: (
|
|
30
|
-
id: String,
|
|
31
|
-
created_at: Time,
|
|
32
|
-
date: Time,
|
|
33
|
-
entries: ::Array[Increase::BookkeepingEntrySet::Entry],
|
|
34
|
-
idempotency_key: String?,
|
|
35
|
-
transaction_id: String?,
|
|
36
|
-
type: Increase::Models::BookkeepingEntrySet::type_
|
|
37
|
-
) -> void
|
|
38
|
-
|
|
39
|
-
def to_hash: -> {
|
|
40
|
-
id: String,
|
|
41
|
-
created_at: Time,
|
|
42
|
-
date: Time,
|
|
43
|
-
entries: ::Array[Increase::BookkeepingEntrySet::Entry],
|
|
44
|
-
idempotency_key: String?,
|
|
45
|
-
transaction_id: String?,
|
|
46
|
-
type: Increase::Models::BookkeepingEntrySet::type_
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
type entry = { id: String, account_id: String, amount: Integer }
|
|
50
|
-
|
|
51
|
-
class Entry < Increase::Internal::Type::BaseModel
|
|
52
|
-
attr_accessor id: String
|
|
53
|
-
|
|
54
|
-
attr_accessor account_id: String
|
|
55
|
-
|
|
56
|
-
attr_accessor amount: Integer
|
|
57
|
-
|
|
58
|
-
def initialize: (
|
|
59
|
-
id: String,
|
|
60
|
-
account_id: String,
|
|
61
|
-
amount: Integer
|
|
62
|
-
) -> void
|
|
63
|
-
|
|
64
|
-
def to_hash: -> { id: String, account_id: String, amount: Integer }
|
|
65
|
-
end
|
|
66
|
-
|
|
67
|
-
type type_ = :bookkeeping_entry_set
|
|
68
|
-
|
|
69
|
-
module Type
|
|
70
|
-
extend Increase::Internal::Type::Enum
|
|
71
|
-
|
|
72
|
-
BOOKKEEPING_ENTRY_SET: :bookkeeping_entry_set
|
|
73
|
-
|
|
74
|
-
def self?.values: -> ::Array[Increase::Models::BookkeepingEntrySet::type_]
|
|
75
|
-
end
|
|
76
|
-
end
|
|
77
|
-
end
|
|
78
|
-
end
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
module Increase
|
|
2
|
-
module Models
|
|
3
|
-
type bookkeeping_entry_set_create_params =
|
|
4
|
-
{
|
|
5
|
-
entries: ::Array[Increase::BookkeepingEntrySetCreateParams::Entry],
|
|
6
|
-
date: Time,
|
|
7
|
-
transaction_id: String
|
|
8
|
-
}
|
|
9
|
-
& Increase::Internal::Type::request_parameters
|
|
10
|
-
|
|
11
|
-
class BookkeepingEntrySetCreateParams < Increase::Internal::Type::BaseModel
|
|
12
|
-
extend Increase::Internal::Type::RequestParameters::Converter
|
|
13
|
-
include Increase::Internal::Type::RequestParameters
|
|
14
|
-
|
|
15
|
-
attr_accessor entries: ::Array[Increase::BookkeepingEntrySetCreateParams::Entry]
|
|
16
|
-
|
|
17
|
-
attr_reader date: Time?
|
|
18
|
-
|
|
19
|
-
def date=: (Time) -> Time
|
|
20
|
-
|
|
21
|
-
attr_reader transaction_id: String?
|
|
22
|
-
|
|
23
|
-
def transaction_id=: (String) -> String
|
|
24
|
-
|
|
25
|
-
def initialize: (
|
|
26
|
-
entries: ::Array[Increase::BookkeepingEntrySetCreateParams::Entry],
|
|
27
|
-
?date: Time,
|
|
28
|
-
?transaction_id: String,
|
|
29
|
-
?request_options: Increase::request_opts
|
|
30
|
-
) -> void
|
|
31
|
-
|
|
32
|
-
def to_hash: -> {
|
|
33
|
-
entries: ::Array[Increase::BookkeepingEntrySetCreateParams::Entry],
|
|
34
|
-
date: Time,
|
|
35
|
-
transaction_id: String,
|
|
36
|
-
request_options: Increase::RequestOptions
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
type entry = { account_id: String, amount: Integer }
|
|
40
|
-
|
|
41
|
-
class Entry < Increase::Internal::Type::BaseModel
|
|
42
|
-
attr_accessor account_id: String
|
|
43
|
-
|
|
44
|
-
attr_accessor amount: Integer
|
|
45
|
-
|
|
46
|
-
def initialize: (account_id: String, amount: Integer) -> void
|
|
47
|
-
|
|
48
|
-
def to_hash: -> { account_id: String, amount: Integer }
|
|
49
|
-
end
|
|
50
|
-
end
|
|
51
|
-
end
|
|
52
|
-
end
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
module Increase
|
|
2
|
-
module Models
|
|
3
|
-
type bookkeeping_entry_set_list_params =
|
|
4
|
-
{
|
|
5
|
-
cursor: String,
|
|
6
|
-
idempotency_key: String,
|
|
7
|
-
limit: Integer,
|
|
8
|
-
transaction_id: String
|
|
9
|
-
}
|
|
10
|
-
& Increase::Internal::Type::request_parameters
|
|
11
|
-
|
|
12
|
-
class BookkeepingEntrySetListParams < 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 transaction_id: String?
|
|
29
|
-
|
|
30
|
-
def transaction_id=: (String) -> String
|
|
31
|
-
|
|
32
|
-
def initialize: (
|
|
33
|
-
?cursor: String,
|
|
34
|
-
?idempotency_key: String,
|
|
35
|
-
?limit: Integer,
|
|
36
|
-
?transaction_id: String,
|
|
37
|
-
?request_options: Increase::request_opts
|
|
38
|
-
) -> void
|
|
39
|
-
|
|
40
|
-
def to_hash: -> {
|
|
41
|
-
cursor: String,
|
|
42
|
-
idempotency_key: String,
|
|
43
|
-
limit: Integer,
|
|
44
|
-
transaction_id: String,
|
|
45
|
-
request_options: Increase::RequestOptions
|
|
46
|
-
}
|
|
47
|
-
end
|
|
48
|
-
end
|
|
49
|
-
end
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
module Increase
|
|
2
|
-
module Models
|
|
3
|
-
type bookkeeping_entry_set_retrieve_params =
|
|
4
|
-
{ bookkeeping_entry_set_id: String }
|
|
5
|
-
& Increase::Internal::Type::request_parameters
|
|
6
|
-
|
|
7
|
-
class BookkeepingEntrySetRetrieveParams < Increase::Internal::Type::BaseModel
|
|
8
|
-
extend Increase::Internal::Type::RequestParameters::Converter
|
|
9
|
-
include Increase::Internal::Type::RequestParameters
|
|
10
|
-
|
|
11
|
-
attr_accessor bookkeeping_entry_set_id: String
|
|
12
|
-
|
|
13
|
-
def initialize: (
|
|
14
|
-
bookkeeping_entry_set_id: String,
|
|
15
|
-
?request_options: Increase::request_opts
|
|
16
|
-
) -> void
|
|
17
|
-
|
|
18
|
-
def to_hash: -> {
|
|
19
|
-
bookkeeping_entry_set_id: String,
|
|
20
|
-
request_options: Increase::RequestOptions
|
|
21
|
-
}
|
|
22
|
-
end
|
|
23
|
-
end
|
|
24
|
-
end
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
module Increase
|
|
2
|
-
module Resources
|
|
3
|
-
class BookkeepingAccounts
|
|
4
|
-
def create: (
|
|
5
|
-
name: String,
|
|
6
|
-
?account_id: String,
|
|
7
|
-
?compliance_category: Increase::Models::BookkeepingAccountCreateParams::compliance_category,
|
|
8
|
-
?entity_id: String,
|
|
9
|
-
?request_options: Increase::request_opts
|
|
10
|
-
) -> Increase::BookkeepingAccount
|
|
11
|
-
|
|
12
|
-
def update: (
|
|
13
|
-
String bookkeeping_account_id,
|
|
14
|
-
name: String,
|
|
15
|
-
?request_options: Increase::request_opts
|
|
16
|
-
) -> Increase::BookkeepingAccount
|
|
17
|
-
|
|
18
|
-
def list: (
|
|
19
|
-
?cursor: String,
|
|
20
|
-
?idempotency_key: String,
|
|
21
|
-
?limit: Integer,
|
|
22
|
-
?request_options: Increase::request_opts
|
|
23
|
-
) -> Increase::Internal::Page[Increase::BookkeepingAccount]
|
|
24
|
-
|
|
25
|
-
def balance: (
|
|
26
|
-
String bookkeeping_account_id,
|
|
27
|
-
?at_time: Time,
|
|
28
|
-
?request_options: Increase::request_opts
|
|
29
|
-
) -> Increase::BookkeepingBalanceLookup
|
|
30
|
-
|
|
31
|
-
def initialize: (client: Increase::Client) -> void
|
|
32
|
-
end
|
|
33
|
-
end
|
|
34
|
-
end
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
module Increase
|
|
2
|
-
module Resources
|
|
3
|
-
class BookkeepingEntries
|
|
4
|
-
def retrieve: (
|
|
5
|
-
String bookkeeping_entry_id,
|
|
6
|
-
?request_options: Increase::request_opts
|
|
7
|
-
) -> Increase::BookkeepingEntry
|
|
8
|
-
|
|
9
|
-
def list: (
|
|
10
|
-
?account_id: String,
|
|
11
|
-
?cursor: String,
|
|
12
|
-
?limit: Integer,
|
|
13
|
-
?request_options: Increase::request_opts
|
|
14
|
-
) -> Increase::Internal::Page[Increase::BookkeepingEntry]
|
|
15
|
-
|
|
16
|
-
def initialize: (client: Increase::Client) -> void
|
|
17
|
-
end
|
|
18
|
-
end
|
|
19
|
-
end
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
module Increase
|
|
2
|
-
module Resources
|
|
3
|
-
class BookkeepingEntrySets
|
|
4
|
-
def create: (
|
|
5
|
-
entries: ::Array[Increase::BookkeepingEntrySetCreateParams::Entry],
|
|
6
|
-
?date: Time,
|
|
7
|
-
?transaction_id: String,
|
|
8
|
-
?request_options: Increase::request_opts
|
|
9
|
-
) -> Increase::BookkeepingEntrySet
|
|
10
|
-
|
|
11
|
-
def retrieve: (
|
|
12
|
-
String bookkeeping_entry_set_id,
|
|
13
|
-
?request_options: Increase::request_opts
|
|
14
|
-
) -> Increase::BookkeepingEntrySet
|
|
15
|
-
|
|
16
|
-
def list: (
|
|
17
|
-
?cursor: String,
|
|
18
|
-
?idempotency_key: String,
|
|
19
|
-
?limit: Integer,
|
|
20
|
-
?transaction_id: String,
|
|
21
|
-
?request_options: Increase::request_opts
|
|
22
|
-
) -> Increase::Internal::Page[Increase::BookkeepingEntrySet]
|
|
23
|
-
|
|
24
|
-
def initialize: (client: Increase::Client) -> void
|
|
25
|
-
end
|
|
26
|
-
end
|
|
27
|
-
end
|