increase 1.271.0 → 1.274.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.
@@ -89,8 +89,8 @@ module Increase
89
89
  email: String,
90
90
  incorporation_state: String,
91
91
  industry_code: String,
92
- name: String,
93
- tax_identifier: String
92
+ legal_identifier: Increase::EntityUpdateParams::Corporation::LegalIdentifier,
93
+ name: String
94
94
  }
95
95
 
96
96
  class Corporation < Increase::Internal::Type::BaseModel
@@ -112,21 +112,23 @@ module Increase
112
112
 
113
113
  def industry_code=: (String) -> String
114
114
 
115
- attr_reader name: String?
115
+ attr_reader legal_identifier: Increase::EntityUpdateParams::Corporation::LegalIdentifier?
116
116
 
117
- def name=: (String) -> String
117
+ def legal_identifier=: (
118
+ Increase::EntityUpdateParams::Corporation::LegalIdentifier
119
+ ) -> Increase::EntityUpdateParams::Corporation::LegalIdentifier
118
120
 
119
- attr_reader tax_identifier: String?
121
+ attr_reader name: String?
120
122
 
121
- def tax_identifier=: (String) -> String
123
+ def name=: (String) -> String
122
124
 
123
125
  def initialize: (
124
126
  ?address: Increase::EntityUpdateParams::Corporation::Address,
125
127
  ?email: String,
126
128
  ?incorporation_state: String,
127
129
  ?industry_code: String,
128
- ?name: String,
129
- ?tax_identifier: String
130
+ ?legal_identifier: Increase::EntityUpdateParams::Corporation::LegalIdentifier,
131
+ ?name: String
130
132
  ) -> void
131
133
 
132
134
  def to_hash: -> {
@@ -134,48 +136,97 @@ module Increase
134
136
  email: String,
135
137
  incorporation_state: String,
136
138
  industry_code: String,
137
- name: String,
138
- tax_identifier: String
139
+ legal_identifier: Increase::EntityUpdateParams::Corporation::LegalIdentifier,
140
+ name: String
139
141
  }
140
142
 
141
143
  type address =
142
144
  {
143
145
  city: String,
146
+ country: String,
144
147
  :line1 => String,
148
+ :line2 => String,
145
149
  state: String,
146
- zip: String,
147
- :line2 => String
150
+ zip: String
148
151
  }
149
152
 
150
153
  class Address < Increase::Internal::Type::BaseModel
151
154
  attr_accessor city: String
152
155
 
153
- attr_accessor line1: String
154
-
155
- attr_accessor state: String
156
+ attr_accessor country: String
156
157
 
157
- attr_accessor zip: String
158
+ attr_accessor line1: String
158
159
 
159
160
  attr_reader line2: String?
160
161
 
161
162
  def line2=: (String) -> String
162
163
 
164
+ attr_reader state: String?
165
+
166
+ def state=: (String) -> String
167
+
168
+ attr_reader zip: String?
169
+
170
+ def zip=: (String) -> String
171
+
163
172
  def initialize: (
164
173
  city: String,
174
+ country: String,
165
175
  line1: String,
166
- state: String,
167
- zip: String,
168
- ?line2: String
176
+ ?line2: String,
177
+ ?state: String,
178
+ ?zip: String
169
179
  ) -> void
170
180
 
171
181
  def to_hash: -> {
172
182
  city: String,
183
+ country: String,
173
184
  :line1 => String,
185
+ :line2 => String,
174
186
  state: String,
175
- zip: String,
176
- :line2 => String
187
+ zip: String
177
188
  }
178
189
  end
190
+
191
+ type legal_identifier =
192
+ {
193
+ value: String,
194
+ category: Increase::Models::EntityUpdateParams::Corporation::LegalIdentifier::category
195
+ }
196
+
197
+ class LegalIdentifier < Increase::Internal::Type::BaseModel
198
+ attr_accessor value: String
199
+
200
+ attr_reader category: Increase::Models::EntityUpdateParams::Corporation::LegalIdentifier::category?
201
+
202
+ def category=: (
203
+ Increase::Models::EntityUpdateParams::Corporation::LegalIdentifier::category
204
+ ) -> Increase::Models::EntityUpdateParams::Corporation::LegalIdentifier::category
205
+
206
+ def initialize: (
207
+ value: String,
208
+ ?category: Increase::Models::EntityUpdateParams::Corporation::LegalIdentifier::category
209
+ ) -> void
210
+
211
+ def to_hash: -> {
212
+ value: String,
213
+ category: Increase::Models::EntityUpdateParams::Corporation::LegalIdentifier::category
214
+ }
215
+
216
+ type category = :us_employer_identification_number | :other
217
+
218
+ module Category
219
+ extend Increase::Internal::Type::Enum
220
+
221
+ # The Employer Identification Number (EIN) for the company. The EIN is a 9-digit number assigned by the IRS.
222
+ US_EMPLOYER_IDENTIFICATION_NUMBER: :us_employer_identification_number
223
+
224
+ # A legal identifier issued by a foreign government, like a tax identification number or registration number.
225
+ OTHER: :other
226
+
227
+ def self?.values: -> ::Array[Increase::Models::EntityUpdateParams::Corporation::LegalIdentifier::category]
228
+ end
229
+ end
179
230
  end
180
231
 
181
232
  type government_authority =
@@ -275,39 +326,48 @@ module Increase
275
326
  type address =
276
327
  {
277
328
  city: String,
329
+ country: String,
278
330
  :line1 => String,
331
+ :line2 => String,
279
332
  state: String,
280
- zip: String,
281
- :line2 => String
333
+ zip: String
282
334
  }
283
335
 
284
336
  class Address < Increase::Internal::Type::BaseModel
285
337
  attr_accessor city: String
286
338
 
287
- attr_accessor line1: String
288
-
289
- attr_accessor state: String
339
+ attr_accessor country: String
290
340
 
291
- attr_accessor zip: String
341
+ attr_accessor line1: String
292
342
 
293
343
  attr_reader line2: String?
294
344
 
295
345
  def line2=: (String) -> String
296
346
 
347
+ attr_reader state: String?
348
+
349
+ def state=: (String) -> String
350
+
351
+ attr_reader zip: String?
352
+
353
+ def zip=: (String) -> String
354
+
297
355
  def initialize: (
298
356
  city: String,
357
+ country: String,
299
358
  line1: String,
300
- state: String,
301
- zip: String,
302
- ?line2: String
359
+ ?line2: String,
360
+ ?state: String,
361
+ ?zip: String
303
362
  ) -> void
304
363
 
305
364
  def to_hash: -> {
306
365
  city: String,
366
+ country: String,
307
367
  :line1 => String,
368
+ :line2 => String,
308
369
  state: String,
309
- zip: String,
310
- :line2 => String
370
+ zip: String
311
371
  }
312
372
  end
313
373
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: increase
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.271.0
4
+ version: 1.274.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Increase
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-03-25 00:00:00.000000000 Z
11
+ date: 2026-03-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cgi