increase 1.303.0 → 1.305.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.
Files changed (131) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +22 -0
  3. data/README.md +1 -1
  4. data/lib/increase/client.rb +7 -15
  5. data/lib/increase/models/card_push_transfer.rb +3 -0
  6. data/lib/increase/models/card_token_capabilities.rb +3 -0
  7. data/lib/increase/models/card_validation.rb +3 -0
  8. data/lib/increase/models/check_deposit.rb +7 -6
  9. data/lib/increase/models/inbound_mail_item.rb +22 -7
  10. data/lib/increase/models/inbound_mail_item_list_params.rb +13 -5
  11. data/lib/increase/models/lockbox_address.rb +162 -0
  12. data/lib/increase/models/lockbox_address_create_params.rb +22 -0
  13. data/lib/increase/models/{lockbox_list_params.rb → lockbox_address_list_params.rb} +8 -16
  14. data/lib/increase/models/lockbox_address_retrieve_params.rb +22 -0
  15. data/lib/increase/models/lockbox_address_update_params.rb +55 -0
  16. data/lib/increase/models/lockbox_recipient.rb +135 -0
  17. data/lib/increase/models/lockbox_recipient_create_params.rb +49 -0
  18. data/lib/increase/models/lockbox_recipient_list_params.rb +110 -0
  19. data/lib/increase/models/lockbox_recipient_retrieve_params.rb +22 -0
  20. data/lib/increase/models/lockbox_recipient_update_params.rb +63 -0
  21. data/lib/increase/models/simulations/card_token_create_params.rb +3 -0
  22. data/lib/increase/models/simulations/inbound_mail_item_create_params.rb +17 -9
  23. data/lib/increase/models.rb +15 -31
  24. data/lib/increase/resources/inbound_mail_items.rb +4 -2
  25. data/lib/increase/resources/lockbox_addresses.rb +115 -0
  26. data/lib/increase/resources/lockbox_recipients.rb +130 -0
  27. data/lib/increase/resources/simulations/inbound_mail_items.rb +5 -3
  28. data/lib/increase/version.rb +1 -1
  29. data/lib/increase.rb +12 -22
  30. data/rbi/increase/client.rbi +5 -11
  31. data/rbi/increase/models/card_push_transfer.rbi +3 -0
  32. data/rbi/increase/models/card_token_capabilities.rbi +7 -0
  33. data/rbi/increase/models/card_validation.rbi +3 -0
  34. data/rbi/increase/models/check_deposit.rbi +10 -8
  35. data/rbi/increase/models/inbound_mail_item.rbi +32 -9
  36. data/rbi/increase/models/inbound_mail_item_list_params.rbi +19 -8
  37. data/rbi/increase/models/lockbox_address.rbi +228 -0
  38. data/rbi/increase/models/lockbox_address_create_params.rbi +46 -0
  39. data/rbi/increase/models/{lockbox_list_params.rbi → lockbox_address_list_params.rbi} +9 -18
  40. data/rbi/increase/models/{bookkeeping_entry_set_retrieve_params.rbi → lockbox_address_retrieve_params.rbi} +8 -8
  41. data/rbi/increase/models/lockbox_address_update_params.rbi +116 -0
  42. data/rbi/increase/models/lockbox_recipient.rbi +182 -0
  43. data/rbi/increase/models/{lockbox_create_params.rbi → lockbox_recipient_create_params.rbi} +19 -8
  44. data/rbi/increase/models/lockbox_recipient_list_params.rbi +190 -0
  45. data/rbi/increase/models/{bookkeeping_entry_retrieve_params.rbi → lockbox_recipient_retrieve_params.rbi} +8 -8
  46. data/rbi/increase/models/lockbox_recipient_update_params.rbi +129 -0
  47. data/rbi/increase/models/simulations/card_token_create_params.rbi +7 -0
  48. data/rbi/increase/models/simulations/inbound_mail_item_create_params.rbi +22 -8
  49. data/rbi/increase/models.rbi +16 -38
  50. data/rbi/increase/resources/inbound_mail_items.rbi +6 -3
  51. data/rbi/increase/resources/{bookkeeping_entry_sets.rbi → lockbox_addresses.rbi} +35 -24
  52. data/rbi/increase/resources/{lockboxes.rbi → lockbox_recipients.rbi} +31 -26
  53. data/rbi/increase/resources/simulations/inbound_mail_items.rbi +6 -3
  54. data/sig/increase/client.rbs +3 -7
  55. data/sig/increase/models/card_push_transfer.rbs +4 -1
  56. data/sig/increase/models/card_token_capabilities.rbs +4 -1
  57. data/sig/increase/models/card_validation.rbs +4 -1
  58. data/sig/increase/models/check_deposit.rbs +4 -4
  59. data/sig/increase/models/inbound_mail_item.rbs +20 -5
  60. data/sig/increase/models/inbound_mail_item_list_params.rbs +12 -5
  61. data/sig/increase/models/lockbox_address.rbs +117 -0
  62. data/sig/increase/models/{lockbox_retrieve_params.rbs → lockbox_address_create_params.rbs} +8 -6
  63. data/sig/increase/models/{lockbox_list_params.rbs → lockbox_address_list_params.rbs} +8 -15
  64. data/sig/increase/models/{bookkeeping_entry_set_retrieve_params.rbs → lockbox_address_retrieve_params.rbs} +6 -6
  65. data/sig/increase/models/lockbox_address_update_params.rbs +59 -0
  66. data/sig/increase/models/lockbox_recipient.rbs +92 -0
  67. data/sig/increase/models/{lockbox_create_params.rbs → lockbox_recipient_create_params.rbs} +12 -3
  68. data/sig/increase/models/lockbox_recipient_list_params.rbs +100 -0
  69. data/sig/increase/models/{bookkeeping_entry_retrieve_params.rbs → lockbox_recipient_retrieve_params.rbs} +6 -6
  70. data/sig/increase/models/lockbox_recipient_update_params.rbs +66 -0
  71. data/sig/increase/models/simulations/card_token_create_params.rbs +4 -1
  72. data/sig/increase/models/simulations/inbound_mail_item_create_params.rbs +18 -5
  73. data/sig/increase/models.rbs +15 -31
  74. data/sig/increase/resources/inbound_mail_items.rbs +2 -1
  75. data/sig/increase/resources/lockbox_addresses.rbs +32 -0
  76. data/sig/increase/resources/{lockboxes.rbs → lockbox_recipients.rbs} +11 -9
  77. data/sig/increase/resources/simulations/inbound_mail_items.rbs +2 -1
  78. metadata +38 -68
  79. data/lib/increase/models/bookkeeping_account.rb +0 -104
  80. data/lib/increase/models/bookkeeping_account_balance_params.rb +0 -30
  81. data/lib/increase/models/bookkeeping_account_create_params.rb +0 -60
  82. data/lib/increase/models/bookkeeping_account_list_params.rb +0 -45
  83. data/lib/increase/models/bookkeeping_account_update_params.rb +0 -30
  84. data/lib/increase/models/bookkeeping_balance_lookup.rb +0 -54
  85. data/lib/increase/models/bookkeeping_entry.rb +0 -79
  86. data/lib/increase/models/bookkeeping_entry_list_params.rb +0 -42
  87. data/lib/increase/models/bookkeeping_entry_retrieve_params.rb +0 -22
  88. data/lib/increase/models/bookkeeping_entry_set.rb +0 -116
  89. data/lib/increase/models/bookkeeping_entry_set_create_params.rb +0 -67
  90. data/lib/increase/models/bookkeeping_entry_set_list_params.rb +0 -53
  91. data/lib/increase/models/bookkeeping_entry_set_retrieve_params.rb +0 -22
  92. data/lib/increase/models/lockbox.rb +0 -185
  93. data/lib/increase/models/lockbox_create_params.rb +0 -38
  94. data/lib/increase/models/lockbox_retrieve_params.rb +0 -22
  95. data/lib/increase/models/lockbox_update_params.rb +0 -63
  96. data/lib/increase/resources/bookkeeping_accounts.rb +0 -122
  97. data/lib/increase/resources/bookkeeping_entries.rb +0 -65
  98. data/lib/increase/resources/bookkeeping_entry_sets.rb +0 -96
  99. data/lib/increase/resources/lockboxes.rb +0 -123
  100. data/rbi/increase/models/bookkeeping_account.rbi +0 -165
  101. data/rbi/increase/models/bookkeeping_account_balance_params.rbi +0 -57
  102. data/rbi/increase/models/bookkeeping_account_create_params.rbi +0 -130
  103. data/rbi/increase/models/bookkeeping_account_list_params.rbi +0 -79
  104. data/rbi/increase/models/bookkeeping_account_update_params.rbi +0 -54
  105. data/rbi/increase/models/bookkeeping_balance_lookup.rbi +0 -85
  106. data/rbi/increase/models/bookkeeping_entry.rbi +0 -108
  107. data/rbi/increase/models/bookkeeping_entry_list_params.rbi +0 -73
  108. data/rbi/increase/models/bookkeeping_entry_set.rbi +0 -162
  109. data/rbi/increase/models/bookkeeping_entry_set_create_params.rbi +0 -110
  110. data/rbi/increase/models/bookkeeping_entry_set_list_params.rbi +0 -90
  111. data/rbi/increase/models/lockbox.rbi +0 -251
  112. data/rbi/increase/models/lockbox_retrieve_params.rbi +0 -40
  113. data/rbi/increase/models/lockbox_update_params.rbi +0 -131
  114. data/rbi/increase/resources/bookkeeping_accounts.rbi +0 -94
  115. data/rbi/increase/resources/bookkeeping_entries.rbi +0 -47
  116. data/sig/increase/models/bookkeeping_account.rbs +0 -74
  117. data/sig/increase/models/bookkeeping_account_balance_params.rbs +0 -30
  118. data/sig/increase/models/bookkeeping_account_create_params.rbs +0 -63
  119. data/sig/increase/models/bookkeeping_account_list_params.rbs +0 -38
  120. data/sig/increase/models/bookkeeping_account_update_params.rbs +0 -28
  121. data/sig/increase/models/bookkeeping_balance_lookup.rbs +0 -40
  122. data/sig/increase/models/bookkeeping_entry.rbs +0 -55
  123. data/sig/increase/models/bookkeeping_entry_list_params.rbs +0 -38
  124. data/sig/increase/models/bookkeeping_entry_set.rbs +0 -78
  125. data/sig/increase/models/bookkeeping_entry_set_create_params.rbs +0 -52
  126. data/sig/increase/models/bookkeeping_entry_set_list_params.rbs +0 -49
  127. data/sig/increase/models/lockbox.rbs +0 -129
  128. data/sig/increase/models/lockbox_update_params.rbs +0 -66
  129. data/sig/increase/resources/bookkeeping_accounts.rbs +0 -34
  130. data/sig/increase/resources/bookkeeping_entries.rbs +0 -19
  131. data/sig/increase/resources/bookkeeping_entry_sets.rbs +0 -27
@@ -1,74 +0,0 @@
1
- module Increase
2
- module Models
3
- type bookkeeping_account =
4
- {
5
- id: String,
6
- account_id: String?,
7
- compliance_category: Increase::Models::BookkeepingAccount::compliance_category?,
8
- entity_id: String?,
9
- idempotency_key: String?,
10
- name: String,
11
- type: Increase::Models::BookkeepingAccount::type_
12
- }
13
-
14
- class BookkeepingAccount < Increase::Internal::Type::BaseModel
15
- attr_accessor id: String
16
-
17
- attr_accessor account_id: String?
18
-
19
- attr_accessor compliance_category: Increase::Models::BookkeepingAccount::compliance_category?
20
-
21
- attr_accessor entity_id: String?
22
-
23
- attr_accessor idempotency_key: String?
24
-
25
- attr_accessor name: String
26
-
27
- attr_accessor type: Increase::Models::BookkeepingAccount::type_
28
-
29
- def initialize: (
30
- id: String,
31
- account_id: String?,
32
- compliance_category: Increase::Models::BookkeepingAccount::compliance_category?,
33
- entity_id: String?,
34
- idempotency_key: String?,
35
- name: String,
36
- type: Increase::Models::BookkeepingAccount::type_
37
- ) -> void
38
-
39
- def to_hash: -> {
40
- id: String,
41
- account_id: String?,
42
- compliance_category: Increase::Models::BookkeepingAccount::compliance_category?,
43
- entity_id: String?,
44
- idempotency_key: String?,
45
- name: String,
46
- type: Increase::Models::BookkeepingAccount::type_
47
- }
48
-
49
- type compliance_category = :commingled_cash | :customer_balance
50
-
51
- module ComplianceCategory
52
- extend Increase::Internal::Type::Enum
53
-
54
- # A cash in an commingled Increase Account.
55
- COMMINGLED_CASH: :commingled_cash
56
-
57
- # A customer balance.
58
- CUSTOMER_BALANCE: :customer_balance
59
-
60
- def self?.values: -> ::Array[Increase::Models::BookkeepingAccount::compliance_category]
61
- end
62
-
63
- type type_ = :bookkeeping_account
64
-
65
- module Type
66
- extend Increase::Internal::Type::Enum
67
-
68
- BOOKKEEPING_ACCOUNT: :bookkeeping_account
69
-
70
- def self?.values: -> ::Array[Increase::Models::BookkeepingAccount::type_]
71
- end
72
- end
73
- end
74
- end
@@ -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,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,129 +0,0 @@
1
- module Increase
2
- module Models
3
- type lockbox =
4
- {
5
- id: String,
6
- account_id: String,
7
- address: Increase::Lockbox::Address,
8
- check_deposit_behavior: Increase::Models::Lockbox::check_deposit_behavior,
9
- created_at: Time,
10
- description: String?,
11
- idempotency_key: String?,
12
- recipient_name: String?,
13
- type: Increase::Models::Lockbox::type_
14
- }
15
-
16
- class Lockbox < Increase::Internal::Type::BaseModel
17
- attr_accessor id: String
18
-
19
- attr_accessor account_id: String
20
-
21
- attr_accessor address: Increase::Lockbox::Address
22
-
23
- attr_accessor check_deposit_behavior: Increase::Models::Lockbox::check_deposit_behavior
24
-
25
- attr_accessor created_at: Time
26
-
27
- attr_accessor description: String?
28
-
29
- attr_accessor idempotency_key: String?
30
-
31
- attr_accessor recipient_name: String?
32
-
33
- attr_accessor type: Increase::Models::Lockbox::type_
34
-
35
- def initialize: (
36
- id: String,
37
- account_id: String,
38
- address: Increase::Lockbox::Address,
39
- check_deposit_behavior: Increase::Models::Lockbox::check_deposit_behavior,
40
- created_at: Time,
41
- description: String?,
42
- idempotency_key: String?,
43
- recipient_name: String?,
44
- type: Increase::Models::Lockbox::type_
45
- ) -> void
46
-
47
- def to_hash: -> {
48
- id: String,
49
- account_id: String,
50
- address: Increase::Lockbox::Address,
51
- check_deposit_behavior: Increase::Models::Lockbox::check_deposit_behavior,
52
- created_at: Time,
53
- description: String?,
54
- idempotency_key: String?,
55
- recipient_name: String?,
56
- type: Increase::Models::Lockbox::type_
57
- }
58
-
59
- type address =
60
- {
61
- city: String,
62
- :line1 => String,
63
- :line2 => String,
64
- postal_code: String,
65
- recipient: String?,
66
- state: String
67
- }
68
-
69
- class Address < Increase::Internal::Type::BaseModel
70
- attr_accessor city: String
71
-
72
- attr_accessor line1: String
73
-
74
- attr_accessor line2: String
75
-
76
- attr_accessor postal_code: String
77
-
78
- attr_accessor recipient: String?
79
-
80
- attr_accessor state: String
81
-
82
- def initialize: (
83
- city: String,
84
- line1: String,
85
- line2: String,
86
- postal_code: String,
87
- recipient: String?,
88
- state: String
89
- ) -> void
90
-
91
- def to_hash: -> {
92
- city: String,
93
- :line1 => String,
94
- :line2 => String,
95
- postal_code: String,
96
- recipient: String?,
97
- state: String
98
- }
99
- end
100
-
101
- type check_deposit_behavior = :enabled | :disabled | :pend_for_processing
102
-
103
- module CheckDepositBehavior
104
- extend Increase::Internal::Type::Enum
105
-
106
- # Checks mailed to this Lockbox will be deposited.
107
- ENABLED: :enabled
108
-
109
- # Checks mailed to this Lockbox will not be deposited.
110
- DISABLED: :disabled
111
-
112
- # Checks mailed to this Lockbox will be pending until actioned.
113
- PEND_FOR_PROCESSING: :pend_for_processing
114
-
115
- def self?.values: -> ::Array[Increase::Models::Lockbox::check_deposit_behavior]
116
- end
117
-
118
- type type_ = :lockbox
119
-
120
- module Type
121
- extend Increase::Internal::Type::Enum
122
-
123
- LOCKBOX: :lockbox
124
-
125
- def self?.values: -> ::Array[Increase::Models::Lockbox::type_]
126
- end
127
- end
128
- end
129
- end