increase 1.167.0 → 1.168.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 (36) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +8 -0
  3. data/README.md +1 -1
  4. data/lib/increase/client.rb +0 -4
  5. data/lib/increase/models.rb +0 -8
  6. data/lib/increase/resources/simulations.rb +0 -4
  7. data/lib/increase/version.rb +1 -1
  8. data/lib/increase.rb +0 -7
  9. data/rbi/increase/client.rbi +0 -3
  10. data/rbi/increase/models.rbi +0 -8
  11. data/rbi/increase/resources/simulations.rbi +0 -3
  12. data/sig/increase/client.rbs +0 -2
  13. data/sig/increase/models.rbs +0 -8
  14. data/sig/increase/resources/simulations.rbs +0 -2
  15. metadata +1 -22
  16. data/lib/increase/models/document.rb +0 -160
  17. data/lib/increase/models/document_create_params.rb +0 -93
  18. data/lib/increase/models/document_list_params.rb +0 -152
  19. data/lib/increase/models/document_retrieve_params.rb +0 -14
  20. data/lib/increase/models/simulations/document_create_params.rb +0 -24
  21. data/lib/increase/resources/documents.rb +0 -99
  22. data/lib/increase/resources/simulations/documents.rb +0 -38
  23. data/rbi/increase/models/document.rbi +0 -249
  24. data/rbi/increase/models/document_create_params.rbi +0 -191
  25. data/rbi/increase/models/document_list_params.rbi +0 -296
  26. data/rbi/increase/models/document_retrieve_params.rbi +0 -27
  27. data/rbi/increase/models/simulations/document_create_params.rbi +0 -45
  28. data/rbi/increase/resources/documents.rbi +0 -81
  29. data/rbi/increase/resources/simulations/documents.rbi +0 -28
  30. data/sig/increase/models/document.rbs +0 -122
  31. data/sig/increase/models/document_create_params.rbs +0 -83
  32. data/sig/increase/models/document_list_params.rbs +0 -153
  33. data/sig/increase/models/document_retrieve_params.rbs +0 -15
  34. data/sig/increase/models/simulations/document_create_params.rbs +0 -25
  35. data/sig/increase/resources/documents.rbs +0 -29
  36. data/sig/increase/resources/simulations/documents.rbs +0 -14
@@ -1,122 +0,0 @@
1
- module Increase
2
- module Models
3
- type document =
4
- {
5
- id: String,
6
- account_verification_letter: Increase::Document::AccountVerificationLetter?,
7
- category: Increase::Models::Document::category,
8
- created_at: Time,
9
- entity_id: String?,
10
- file_id: String,
11
- funding_instructions: Increase::Document::FundingInstructions?,
12
- idempotency_key: String?,
13
- type: Increase::Models::Document::type_
14
- }
15
-
16
- class Document < Increase::Internal::Type::BaseModel
17
- attr_accessor id: String
18
-
19
- attr_accessor account_verification_letter: Increase::Document::AccountVerificationLetter?
20
-
21
- attr_accessor category: Increase::Models::Document::category
22
-
23
- attr_accessor created_at: Time
24
-
25
- attr_accessor entity_id: String?
26
-
27
- attr_accessor file_id: String
28
-
29
- attr_accessor funding_instructions: Increase::Document::FundingInstructions?
30
-
31
- attr_accessor idempotency_key: String?
32
-
33
- attr_accessor type: Increase::Models::Document::type_
34
-
35
- def initialize: (
36
- id: String,
37
- account_verification_letter: Increase::Document::AccountVerificationLetter?,
38
- category: Increase::Models::Document::category,
39
- created_at: Time,
40
- entity_id: String?,
41
- file_id: String,
42
- funding_instructions: Increase::Document::FundingInstructions?,
43
- idempotency_key: String?,
44
- type: Increase::Models::Document::type_
45
- ) -> void
46
-
47
- def to_hash: -> {
48
- id: String,
49
- account_verification_letter: Increase::Document::AccountVerificationLetter?,
50
- category: Increase::Models::Document::category,
51
- created_at: Time,
52
- entity_id: String?,
53
- file_id: String,
54
- funding_instructions: Increase::Document::FundingInstructions?,
55
- idempotency_key: String?,
56
- type: Increase::Models::Document::type_
57
- }
58
-
59
- type account_verification_letter = { account_number_id: String }
60
-
61
- class AccountVerificationLetter < Increase::Internal::Type::BaseModel
62
- attr_accessor account_number_id: String
63
-
64
- def initialize: (account_number_id: String) -> void
65
-
66
- def to_hash: -> { account_number_id: String }
67
- end
68
-
69
- type category =
70
- :form_1099_int
71
- | :form_1099_misc
72
- | :proof_of_authorization
73
- | :company_information
74
- | :account_verification_letter
75
- | :funding_instructions
76
-
77
- module Category
78
- extend Increase::Internal::Type::Enum
79
-
80
- # Internal Revenue Service Form 1099-INT.
81
- FORM_1099_INT: :form_1099_int
82
-
83
- # Internal Revenue Service Form 1099-MISC.
84
- FORM_1099_MISC: :form_1099_misc
85
-
86
- # A document submitted in response to a proof of authorization request for an ACH transfer.
87
- PROOF_OF_AUTHORIZATION: :proof_of_authorization
88
-
89
- # Company information, such a policies or procedures, typically submitted during our due diligence process.
90
- COMPANY_INFORMATION: :company_information
91
-
92
- # An account verification letter.
93
- ACCOUNT_VERIFICATION_LETTER: :account_verification_letter
94
-
95
- # Funding instructions.
96
- FUNDING_INSTRUCTIONS: :funding_instructions
97
-
98
- def self?.values: -> ::Array[Increase::Models::Document::category]
99
- end
100
-
101
- type funding_instructions = { account_number_id: String }
102
-
103
- class FundingInstructions < Increase::Internal::Type::BaseModel
104
- attr_accessor account_number_id: String
105
-
106
- def initialize: (account_number_id: String) -> void
107
-
108
- def to_hash: -> { account_number_id: String }
109
- end
110
-
111
- type type_ = :document
112
-
113
- module Type
114
- extend Increase::Internal::Type::Enum
115
-
116
- DOCUMENT: :document
117
-
118
- def self?.values: -> ::Array[Increase::Models::Document::type_]
119
- end
120
- end
121
- end
122
- end
@@ -1,83 +0,0 @@
1
- module Increase
2
- module Models
3
- type document_create_params =
4
- {
5
- category: Increase::Models::DocumentCreateParams::category,
6
- account_verification_letter: Increase::DocumentCreateParams::AccountVerificationLetter,
7
- funding_instructions: Increase::DocumentCreateParams::FundingInstructions
8
- }
9
- & Increase::Internal::Type::request_parameters
10
-
11
- class DocumentCreateParams < Increase::Internal::Type::BaseModel
12
- extend Increase::Internal::Type::RequestParameters::Converter
13
- include Increase::Internal::Type::RequestParameters
14
-
15
- attr_accessor category: Increase::Models::DocumentCreateParams::category
16
-
17
- attr_reader account_verification_letter: Increase::DocumentCreateParams::AccountVerificationLetter?
18
-
19
- def account_verification_letter=: (
20
- Increase::DocumentCreateParams::AccountVerificationLetter
21
- ) -> Increase::DocumentCreateParams::AccountVerificationLetter
22
-
23
- attr_reader funding_instructions: Increase::DocumentCreateParams::FundingInstructions?
24
-
25
- def funding_instructions=: (
26
- Increase::DocumentCreateParams::FundingInstructions
27
- ) -> Increase::DocumentCreateParams::FundingInstructions
28
-
29
- def initialize: (
30
- category: Increase::Models::DocumentCreateParams::category,
31
- ?account_verification_letter: Increase::DocumentCreateParams::AccountVerificationLetter,
32
- ?funding_instructions: Increase::DocumentCreateParams::FundingInstructions,
33
- ?request_options: Increase::request_opts
34
- ) -> void
35
-
36
- def to_hash: -> {
37
- category: Increase::Models::DocumentCreateParams::category,
38
- account_verification_letter: Increase::DocumentCreateParams::AccountVerificationLetter,
39
- funding_instructions: Increase::DocumentCreateParams::FundingInstructions,
40
- request_options: Increase::RequestOptions
41
- }
42
-
43
- type category = :account_verification_letter | :funding_instructions
44
-
45
- module Category
46
- extend Increase::Internal::Type::Enum
47
-
48
- # An account verification letter.
49
- ACCOUNT_VERIFICATION_LETTER: :account_verification_letter
50
-
51
- # Funding instructions.
52
- FUNDING_INSTRUCTIONS: :funding_instructions
53
-
54
- def self?.values: -> ::Array[Increase::Models::DocumentCreateParams::category]
55
- end
56
-
57
- type account_verification_letter =
58
- { account_number_id: String, balance_date: Date }
59
-
60
- class AccountVerificationLetter < Increase::Internal::Type::BaseModel
61
- attr_accessor account_number_id: String
62
-
63
- attr_reader balance_date: Date?
64
-
65
- def balance_date=: (Date) -> Date
66
-
67
- def initialize: (account_number_id: String, ?balance_date: Date) -> void
68
-
69
- def to_hash: -> { account_number_id: String, balance_date: Date }
70
- end
71
-
72
- type funding_instructions = { account_number_id: String }
73
-
74
- class FundingInstructions < Increase::Internal::Type::BaseModel
75
- attr_accessor account_number_id: String
76
-
77
- def initialize: (account_number_id: String) -> void
78
-
79
- def to_hash: -> { account_number_id: String }
80
- end
81
- end
82
- end
83
- end
@@ -1,153 +0,0 @@
1
- module Increase
2
- module Models
3
- type document_list_params =
4
- {
5
- category: Increase::DocumentListParams::Category,
6
- created_at: Increase::DocumentListParams::CreatedAt,
7
- cursor: String,
8
- entity_id: String,
9
- idempotency_key: String,
10
- limit: Integer
11
- }
12
- & Increase::Internal::Type::request_parameters
13
-
14
- class DocumentListParams < Increase::Internal::Type::BaseModel
15
- extend Increase::Internal::Type::RequestParameters::Converter
16
- include Increase::Internal::Type::RequestParameters
17
-
18
- attr_reader category: Increase::DocumentListParams::Category?
19
-
20
- def category=: (
21
- Increase::DocumentListParams::Category
22
- ) -> Increase::DocumentListParams::Category
23
-
24
- attr_reader created_at: Increase::DocumentListParams::CreatedAt?
25
-
26
- def created_at=: (
27
- Increase::DocumentListParams::CreatedAt
28
- ) -> Increase::DocumentListParams::CreatedAt
29
-
30
- attr_reader cursor: String?
31
-
32
- def cursor=: (String) -> String
33
-
34
- attr_reader entity_id: String?
35
-
36
- def entity_id=: (String) -> String
37
-
38
- attr_reader idempotency_key: String?
39
-
40
- def idempotency_key=: (String) -> String
41
-
42
- attr_reader limit: Integer?
43
-
44
- def limit=: (Integer) -> Integer
45
-
46
- def initialize: (
47
- ?category: Increase::DocumentListParams::Category,
48
- ?created_at: Increase::DocumentListParams::CreatedAt,
49
- ?cursor: String,
50
- ?entity_id: String,
51
- ?idempotency_key: String,
52
- ?limit: Integer,
53
- ?request_options: Increase::request_opts
54
- ) -> void
55
-
56
- def to_hash: -> {
57
- category: Increase::DocumentListParams::Category,
58
- created_at: Increase::DocumentListParams::CreatedAt,
59
- cursor: String,
60
- entity_id: String,
61
- idempotency_key: String,
62
- limit: Integer,
63
- request_options: Increase::RequestOptions
64
- }
65
-
66
- type category =
67
- { in_: ::Array[Increase::Models::DocumentListParams::Category::in_] }
68
-
69
- class Category < Increase::Internal::Type::BaseModel
70
- attr_reader in_: ::Array[Increase::Models::DocumentListParams::Category::in_]?
71
-
72
- def in_=: (
73
- ::Array[Increase::Models::DocumentListParams::Category::in_]
74
- ) -> ::Array[Increase::Models::DocumentListParams::Category::in_]
75
-
76
- def initialize: (
77
- ?in_: ::Array[Increase::Models::DocumentListParams::Category::in_]
78
- ) -> void
79
-
80
- def to_hash: -> {
81
- in_: ::Array[Increase::Models::DocumentListParams::Category::in_]
82
- }
83
-
84
- type in_ =
85
- :form_1099_int
86
- | :form_1099_misc
87
- | :proof_of_authorization
88
- | :company_information
89
- | :account_verification_letter
90
- | :funding_instructions
91
-
92
- module In
93
- extend Increase::Internal::Type::Enum
94
-
95
- # Internal Revenue Service Form 1099-INT.
96
- FORM_1099_INT: :form_1099_int
97
-
98
- # Internal Revenue Service Form 1099-MISC.
99
- FORM_1099_MISC: :form_1099_misc
100
-
101
- # A document submitted in response to a proof of authorization request for an ACH transfer.
102
- PROOF_OF_AUTHORIZATION: :proof_of_authorization
103
-
104
- # Company information, such a policies or procedures, typically submitted during our due diligence process.
105
- COMPANY_INFORMATION: :company_information
106
-
107
- # An account verification letter.
108
- ACCOUNT_VERIFICATION_LETTER: :account_verification_letter
109
-
110
- # Funding instructions.
111
- FUNDING_INSTRUCTIONS: :funding_instructions
112
-
113
- def self?.values: -> ::Array[Increase::Models::DocumentListParams::Category::in_]
114
- end
115
- end
116
-
117
- type created_at =
118
- { after: Time, before: Time, on_or_after: Time, on_or_before: Time }
119
-
120
- class CreatedAt < Increase::Internal::Type::BaseModel
121
- attr_reader after: Time?
122
-
123
- def after=: (Time) -> Time
124
-
125
- attr_reader before: Time?
126
-
127
- def before=: (Time) -> Time
128
-
129
- attr_reader on_or_after: Time?
130
-
131
- def on_or_after=: (Time) -> Time
132
-
133
- attr_reader on_or_before: Time?
134
-
135
- def on_or_before=: (Time) -> Time
136
-
137
- def initialize: (
138
- ?after: Time,
139
- ?before: Time,
140
- ?on_or_after: Time,
141
- ?on_or_before: Time
142
- ) -> void
143
-
144
- def to_hash: -> {
145
- after: Time,
146
- before: Time,
147
- on_or_after: Time,
148
- on_or_before: Time
149
- }
150
- end
151
- end
152
- end
153
- end
@@ -1,15 +0,0 @@
1
- module Increase
2
- module Models
3
- type document_retrieve_params =
4
- { } & Increase::Internal::Type::request_parameters
5
-
6
- class DocumentRetrieveParams < Increase::Internal::Type::BaseModel
7
- extend Increase::Internal::Type::RequestParameters::Converter
8
- include Increase::Internal::Type::RequestParameters
9
-
10
- def initialize: (?request_options: Increase::request_opts) -> void
11
-
12
- def to_hash: -> { request_options: Increase::RequestOptions }
13
- end
14
- end
15
- end
@@ -1,25 +0,0 @@
1
- module Increase
2
- module Models
3
- module Simulations
4
- type document_create_params =
5
- { account_id: String } & Increase::Internal::Type::request_parameters
6
-
7
- class DocumentCreateParams < Increase::Internal::Type::BaseModel
8
- extend Increase::Internal::Type::RequestParameters::Converter
9
- include Increase::Internal::Type::RequestParameters
10
-
11
- attr_accessor account_id: String
12
-
13
- def initialize: (
14
- account_id: String,
15
- ?request_options: Increase::request_opts
16
- ) -> void
17
-
18
- def to_hash: -> {
19
- account_id: String,
20
- request_options: Increase::RequestOptions
21
- }
22
- end
23
- end
24
- end
25
- end
@@ -1,29 +0,0 @@
1
- module Increase
2
- module Resources
3
- class Documents
4
- def create: (
5
- category: Increase::Models::DocumentCreateParams::category,
6
- ?account_verification_letter: Increase::DocumentCreateParams::AccountVerificationLetter,
7
- ?funding_instructions: Increase::DocumentCreateParams::FundingInstructions,
8
- ?request_options: Increase::request_opts
9
- ) -> Increase::Document
10
-
11
- def retrieve: (
12
- String document_id,
13
- ?request_options: Increase::request_opts
14
- ) -> Increase::Document
15
-
16
- def list: (
17
- ?category: Increase::DocumentListParams::Category,
18
- ?created_at: Increase::DocumentListParams::CreatedAt,
19
- ?cursor: String,
20
- ?entity_id: String,
21
- ?idempotency_key: String,
22
- ?limit: Integer,
23
- ?request_options: Increase::request_opts
24
- ) -> Increase::Internal::Page[Increase::Document]
25
-
26
- def initialize: (client: Increase::Client) -> void
27
- end
28
- end
29
- end
@@ -1,14 +0,0 @@
1
- module Increase
2
- module Resources
3
- class Simulations
4
- class Documents
5
- def create: (
6
- account_id: String,
7
- ?request_options: Increase::request_opts
8
- ) -> Increase::Document
9
-
10
- def initialize: (client: Increase::Client) -> void
11
- end
12
- end
13
- end
14
- end