Skip to content

Commit 48ee81f

Browse files
25.9.0 (#12)
* Update header logic * 25.9.0 * Fix gemlock
1 parent 4348d32 commit 48ee81f

File tree

96 files changed

+3975
-1384
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

96 files changed

+3975
-1384
lines changed

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
avalara_sdk (25.8.2)
4+
avalara_sdk (25.8.3)
55
faraday (~> 1.0, >= 1.0.1)
66

77
GEM

README.md

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -190,18 +190,14 @@ Class | Method | HTTP request | Description
190190
<a name="documentation-for-A1099-V2-models"></a>
191191
### A1099 V2 Model Documentation
192192

193-
- [models.AuthorizedApiRequestModel](docs/A1099/V2/AuthorizedApiRequestModel.md)
194-
- [models.AuthorizedApiRequestV2DataModel](docs/A1099/V2/AuthorizedApiRequestV2DataModel.md)
195-
- [models.CompanyCreateUpdateRequestModel](docs/A1099/V2/CompanyCreateUpdateRequestModel.md)
193+
- [models.CompanyBase](docs/A1099/V2/CompanyBase.md)
194+
- [models.CompanyRequest](docs/A1099/V2/CompanyRequest.md)
196195
- [models.CompanyResponse](docs/A1099/V2/CompanyResponse.md)
197196
- [models.CoveredIndividual](docs/A1099/V2/CoveredIndividual.md)
198197
- [models.CreateAndSendW9FormEmailRequest](docs/A1099/V2/CreateAndSendW9FormEmailRequest.md)
199-
- [models.CreateCompanyRequest](docs/A1099/V2/CreateCompanyRequest.md)
200-
- [models.CreateIssuerRequest](docs/A1099/V2/CreateIssuerRequest.md)
201198
- [models.CreateW9Form201Response](docs/A1099/V2/CreateW9Form201Response.md)
202199
- [models.CreateW9FormRequest](docs/A1099/V2/CreateW9FormRequest.md)
203200
- [models.EntryStatusResponse](docs/A1099/V2/EntryStatusResponse.md)
204-
- [models.ErrorModel](docs/A1099/V2/ErrorModel.md)
205201
- [models.ErrorResponse](docs/A1099/V2/ErrorResponse.md)
206202
- [models.ErrorResponseItem](docs/A1099/V2/ErrorResponseItem.md)
207203
- [models.Form1042S](docs/A1099/V2/Form1042S.md)
@@ -217,10 +213,10 @@ Class | Method | HTTP request | Description
217213
- [models.Form1099R](docs/A1099/V2/Form1099R.md)
218214
- [models.Form1099StatusDetail](docs/A1099/V2/Form1099StatusDetail.md)
219215
- [models.Get1099Form200Response](docs/A1099/V2/Get1099Form200Response.md)
220-
- [models.IW9FormDataModelsOneOf](docs/A1099/V2/IW9FormDataModelsOneOf.md)
221216
- [models.IntermediaryOrFlowThrough](docs/A1099/V2/IntermediaryOrFlowThrough.md)
222217
- [models.IrsResponse](docs/A1099/V2/IrsResponse.md)
223-
- [models.IssuerCommand](docs/A1099/V2/IssuerCommand.md)
218+
- [models.IssuerBase](docs/A1099/V2/IssuerBase.md)
219+
- [models.IssuerRequest](docs/A1099/V2/IssuerRequest.md)
224220
- [models.IssuerResponse](docs/A1099/V2/IssuerResponse.md)
225221
- [models.JobResponse](docs/A1099/V2/JobResponse.md)
226222
- [models.OfferAndCoverage](docs/A1099/V2/OfferAndCoverage.md)
@@ -235,27 +231,21 @@ Class | Method | HTTP request | Description
235231
- [models.SubstantialUsOwnerResponse](docs/A1099/V2/SubstantialUsOwnerResponse.md)
236232
- [models.TinMatchStatusResponse](docs/A1099/V2/TinMatchStatusResponse.md)
237233
- [models.ValidationError](docs/A1099/V2/ValidationError.md)
238-
- [models.W4FormDataModel](docs/A1099/V2/W4FormDataModel.md)
239234
- [models.W4FormMinimalRequest](docs/A1099/V2/W4FormMinimalRequest.md)
240235
- [models.W4FormRequest](docs/A1099/V2/W4FormRequest.md)
241236
- [models.W4FormResponse](docs/A1099/V2/W4FormResponse.md)
242237
- [models.W8BenEFormMinimalRequest](docs/A1099/V2/W8BenEFormMinimalRequest.md)
243238
- [models.W8BenEFormRequest](docs/A1099/V2/W8BenEFormRequest.md)
244239
- [models.W8BenEFormResponse](docs/A1099/V2/W8BenEFormResponse.md)
245-
- [models.W8BenESubstantialUsOwnerDataModel](docs/A1099/V2/W8BenESubstantialUsOwnerDataModel.md)
246-
- [models.W8BenFormDataModel](docs/A1099/V2/W8BenFormDataModel.md)
247240
- [models.W8BenFormMinimalRequest](docs/A1099/V2/W8BenFormMinimalRequest.md)
248241
- [models.W8BenFormRequest](docs/A1099/V2/W8BenFormRequest.md)
249242
- [models.W8BenFormResponse](docs/A1099/V2/W8BenFormResponse.md)
250-
- [models.W8BeneFormDataModel](docs/A1099/V2/W8BeneFormDataModel.md)
251-
- [models.W8ImyFormDataModel](docs/A1099/V2/W8ImyFormDataModel.md)
252243
- [models.W8ImyFormMinimalRequest](docs/A1099/V2/W8ImyFormMinimalRequest.md)
253244
- [models.W8ImyFormRequest](docs/A1099/V2/W8ImyFormRequest.md)
254245
- [models.W8ImyFormResponse](docs/A1099/V2/W8ImyFormResponse.md)
255246
- [models.W9FormBaseMinimalRequest](docs/A1099/V2/W9FormBaseMinimalRequest.md)
256247
- [models.W9FormBaseRequest](docs/A1099/V2/W9FormBaseRequest.md)
257248
- [models.W9FormBaseResponse](docs/A1099/V2/W9FormBaseResponse.md)
258-
- [models.W9FormDataModel](docs/A1099/V2/W9FormDataModel.md)
259249
- [models.W9FormMinimalRequest](docs/A1099/V2/W9FormMinimalRequest.md)
260250
- [models.W9FormRequest](docs/A1099/V2/W9FormRequest.md)
261251
- [models.W9FormResponse](docs/A1099/V2/W9FormResponse.md)

docs/A1099/V2/CompaniesW9Api.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ api_instance = AvalaraSdk::A1099::V2::CompaniesW9Api.new api_client
3939

4040
avalara_version = '2.0.0' # String | API version
4141
opts = {
42-
x_correlation_id: '68cce84c-ae6e-4cef-bdc6-4620c710b5e5', # String | Unique correlation Id in a GUID format
42+
x_correlation_id: 'a607ad38-398e-43d2-918d-d809e43dbd6b', # String | Unique correlation Id in a GUID format
4343
x_avalara_client: 'Swagger UI; 22.1.0', # String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
44-
create_company_request: AvalaraSdk::A1099::V2::CompanyCreateUpdateRequestModel.new({name: 'name_example', email: 'email_example', address: 'address_example', city: 'city_example', zip: 'zip_example', telephone: 'telephone_example', tin: 'tin_example', country_code: 'country_code_example'}) # CreateCompanyRequest | The company to create
44+
company_request: AvalaraSdk::A1099::V2::CompanyRequest.new({name: 'name_example', email: 'email_example', address: 'address_example', city: 'city_example', zip: 'zip_example', telephone: 'telephone_example', tin: 'tin_example', country_code: 'country_code_example'}) # CompanyRequest | The company to create
4545
}
4646

4747
begin
@@ -78,7 +78,7 @@ end
7878
| **avalara_version** | **String** | API version | |
7979
| **x_correlation_id** | **String** | Unique correlation Id in a GUID format | [optional] |
8080
| **x_avalara_client** | **String** | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) . | [optional] |
81-
| **create_company_request** | [**CreateCompanyRequest**](CreateCompanyRequest.md) | The company to create | [optional] |
81+
| **company_request** | [**CompanyRequest**](CompanyRequest.md) | The company to create | [optional] |
8282

8383
### Return type
8484

@@ -123,7 +123,7 @@ api_instance = AvalaraSdk::A1099::V2::CompaniesW9Api.new api_client
123123
id = 'id_example' # String | The company to delete
124124
avalara_version = '2.0.0' # String | API version
125125
opts = {
126-
x_correlation_id: 'f2e08ea9-6e1e-4828-91f9-4926ff26dbe4', # String | Unique correlation Id in a GUID format
126+
x_correlation_id: '54780530-dee1-472f-8626-a1ef1d6f3bfa', # String | Unique correlation Id in a GUID format
127127
x_avalara_client: 'Swagger UI; 22.1.0' # String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
128128
}
129129

@@ -210,7 +210,7 @@ opts = {
210210
order_by: 'order_by_example', # String | A comma separated list of sort statements in the format (fieldname) [ASC|DESC], for example id ASC.
211211
count: true, # Boolean | If true, return the global count of elements in the collection.
212212
count_only: true, # Boolean | If true, return ONLY the global count of elements in the collection. It only applies when count=true.
213-
x_correlation_id: 'f431c7bb-9661-447a-8f5f-b17b3d55a06c', # String | Unique correlation Id in a GUID format
213+
x_correlation_id: '7ee6e06e-ae28-4317-9053-d966f0b24a94', # String | Unique correlation Id in a GUID format
214214
x_avalara_client: 'Swagger UI; 22.1.0' # String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
215215
}
216216

@@ -298,7 +298,7 @@ api_instance = AvalaraSdk::A1099::V2::CompaniesW9Api.new api_client
298298
id = 'id_example' # String | Id of the company
299299
avalara_version = '2.0.0' # String | API version
300300
opts = {
301-
x_correlation_id: 'c5c11797-5ea9-4ec3-85ba-ed4e0ee63300', # String | Unique correlation Id in a GUID format
301+
x_correlation_id: 'c2254966-bcae-4b32-a7b4-67f0518ca748', # String | Unique correlation Id in a GUID format
302302
x_avalara_client: 'Swagger UI; 22.1.0' # String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
303303
}
304304

@@ -381,9 +381,9 @@ api_instance = AvalaraSdk::A1099::V2::CompaniesW9Api.new api_client
381381
id = 'id_example' # String | The ID of the company to update
382382
avalara_version = '2.0.0' # String | API version
383383
opts = {
384-
x_correlation_id: '86a26d78-90b6-4ca0-a10b-0221d11dd34a', # String | Unique correlation Id in a GUID format
384+
x_correlation_id: 'b730ea19-59f4-4cc8-8ef0-94a9d4637a6a', # String | Unique correlation Id in a GUID format
385385
x_avalara_client: 'Swagger UI; 22.1.0', # String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
386-
create_company_request: AvalaraSdk::A1099::V2::CompanyCreateUpdateRequestModel.new({name: 'name_example', email: 'email_example', address: 'address_example', city: 'city_example', zip: 'zip_example', telephone: 'telephone_example', tin: 'tin_example', country_code: 'country_code_example'}) # CreateCompanyRequest | The updated company data
386+
company_request: AvalaraSdk::A1099::V2::CompanyRequest.new({name: 'name_example', email: 'email_example', address: 'address_example', city: 'city_example', zip: 'zip_example', telephone: 'telephone_example', tin: 'tin_example', country_code: 'country_code_example'}) # CompanyRequest | The updated company data
387387
}
388388

389389
begin
@@ -421,7 +421,7 @@ end
421421
| **avalara_version** | **String** | API version | |
422422
| **x_correlation_id** | **String** | Unique correlation Id in a GUID format | [optional] |
423423
| **x_avalara_client** | **String** | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) . | [optional] |
424-
| **create_company_request** | [**CreateCompanyRequest**](CreateCompanyRequest.md) | The updated company data | [optional] |
424+
| **company_request** | [**CompanyRequest**](CompanyRequest.md) | The updated company data | [optional] |
425425

426426
### Return type
427427

docs/A1099/V2/CompanyBase.md

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# AvalaraSdk::A1099::V2::CompanyBase
2+
3+
## Properties
4+
5+
| Name | Type | Description | Notes |
6+
| ---- | ---- | ----------- | ----- |
7+
| **name** | **String** | Legal name. Not the DBA name. | |
8+
| **dba_name** | **String** | Doing Business As (DBA) name or continuation of a long legal name. | [optional] |
9+
| **email** | **String** | Contact email address. For inquiries by vendors/employees. | |
10+
| **address** | **String** | Address. | |
11+
| **city** | **String** | City. | |
12+
| **state** | **String** | Two-letter US state or Canadian province code (required for US/CA addresses). | [optional] |
13+
| **zip** | **String** | ZIP/postal code. | |
14+
| **telephone** | **String** | Contact phone number (must contain at least 10 digits, max 15 characters). | |
15+
| **tin** | **String** | Federal Tax Identification Number (TIN). EIN/Tax ID (required for US companies). | |
16+
| **reference_id** | **String** | Internal reference ID. Never shown to any agency or recipient. | [optional] |
17+
| **do_tin_match** | **Boolean** | Indicates whether the company authorizes IRS TIN matching. | [optional] |
18+
| **group_name** | **String** | Group name for organizing companies (creates or finds group by name). | [optional] |
19+
| **foreign_province** | **String** | Province or region for non-US/CA addresses. | [optional] |
20+
| **country_code** | **String** | Two-letter IRS country code (e.g., &#39;US&#39;, &#39;CA&#39;), as defined at https://www.irs.gov/e-file-providers/country-codes. | |
21+
| **resend_requests** | **Boolean** | Boolean to enable automatic reminder emails (default: false). | [optional] |
22+
| **resend_interval_days** | **Integer** | Days between reminder emails (7-365, required if resendRequests is true). | [optional] |
23+
| **max_reminder_attempts** | **Integer** | Maximum number of reminder attempts (1-52, required if resendRequests is true). | [optional] |
24+
25+
## Example
26+
27+
```ruby
28+
require 'avalara_sdk'
29+
30+
instance = AvalaraSdk::A1099::V2::CompanyBase.new(
31+
name: null,
32+
dba_name: null,
33+
email: null,
34+
address: null,
35+
city: null,
36+
state: null,
37+
zip: null,
38+
telephone: null,
39+
tin: null,
40+
reference_id: null,
41+
do_tin_match: null,
42+
group_name: null,
43+
foreign_province: null,
44+
country_code: null,
45+
resend_requests: null,
46+
resend_interval_days: null,
47+
max_reminder_attempts: null
48+
)
49+
```
50+

docs/A1099/V2/CompanyRequest.md

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# AvalaraSdk::A1099::V2::CompanyRequest
2+
3+
## Properties
4+
5+
| Name | Type | Description | Notes |
6+
| ---- | ---- | ----------- | ----- |
7+
| **name** | **String** | Legal name. Not the DBA name. | |
8+
| **dba_name** | **String** | Doing Business As (DBA) name or continuation of a long legal name. | [optional] |
9+
| **email** | **String** | Contact email address. For inquiries by vendors/employees. | |
10+
| **address** | **String** | Address. | |
11+
| **city** | **String** | City. | |
12+
| **state** | **String** | Two-letter US state or Canadian province code (required for US/CA addresses). | [optional] |
13+
| **zip** | **String** | ZIP/postal code. | |
14+
| **telephone** | **String** | Contact phone number (must contain at least 10 digits, max 15 characters). | |
15+
| **tin** | **String** | Federal Tax Identification Number (TIN). EIN/Tax ID (required for US companies). | |
16+
| **reference_id** | **String** | Internal reference ID. Never shown to any agency or recipient. | [optional] |
17+
| **do_tin_match** | **Boolean** | Indicates whether the company authorizes IRS TIN matching. | [optional] |
18+
| **group_name** | **String** | Group name for organizing companies (creates or finds group by name). | [optional] |
19+
| **foreign_province** | **String** | Province or region for non-US/CA addresses. | [optional] |
20+
| **country_code** | **String** | Two-letter IRS country code (e.g., &#39;US&#39;, &#39;CA&#39;), as defined at https://www.irs.gov/e-file-providers/country-codes. | |
21+
| **resend_requests** | **Boolean** | Boolean to enable automatic reminder emails (default: false). | [optional] |
22+
| **resend_interval_days** | **Integer** | Days between reminder emails (7-365, required if resendRequests is true). | [optional] |
23+
| **max_reminder_attempts** | **Integer** | Maximum number of reminder attempts (1-52, required if resendRequests is true). | [optional] |
24+
25+
## Example
26+
27+
```ruby
28+
require 'avalara_sdk'
29+
30+
instance = AvalaraSdk::A1099::V2::CompanyRequest.new(
31+
name: null,
32+
dba_name: null,
33+
email: null,
34+
address: null,
35+
city: null,
36+
state: null,
37+
zip: null,
38+
telephone: null,
39+
tin: null,
40+
reference_id: null,
41+
do_tin_match: null,
42+
group_name: null,
43+
foreign_province: null,
44+
country_code: null,
45+
resend_requests: null,
46+
resend_interval_days: null,
47+
max_reminder_attempts: null
48+
)
49+
```
50+

0 commit comments

Comments
 (0)