Skip to content

Commit 6314eae

Browse files
svc-developerJonathan Wenger
andauthored
25.8.0 (#6)
* 25.8.0 * Fix for skip and top --------- Co-authored-by: Jonathan Wenger <[email protected]>
1 parent 5ff5281 commit 6314eae

File tree

247 files changed

+29963
-1568
lines changed

Some content is hidden

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

247 files changed

+29963
-1568
lines changed

README.md

Lines changed: 76 additions & 39 deletions
Large diffs are not rendered by default.

docs/A1099/V2/BulkUpsert1099FormsRequest.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ require 'avalara_sdk'
1414
AvalaraSdk::A1099::V2::BulkUpsert1099FormsRequest.openapi_one_of
1515
# =>
1616
# [
17+
# :'Form1042SList',
1718
# :'Form1095BList',
1819
# :'Form1099DivList',
1920
# :'Form1099KList',
@@ -33,7 +34,7 @@ Find the appropriate object from the `openapi_one_of` list and casts the data in
3334
require 'avalara_sdk'
3435

3536
AvalaraSdk::A1099::V2::BulkUpsert1099FormsRequest.build(data)
36-
# => #<Form1095BList:0x00007fdd4aab02a0>
37+
# => #<Form1042SList:0x00007fdd4aab02a0>
3738

3839
AvalaraSdk::A1099::V2::BulkUpsert1099FormsRequest.build(data_that_doesnt_match)
3940
# => nil
@@ -47,6 +48,7 @@ AvalaraSdk::A1099::V2::BulkUpsert1099FormsRequest.build(data_that_doesnt_match)
4748

4849
#### Return type
4950

51+
- `Form1042SList`
5052
- `Form1095BList`
5153
- `Form1099DivList`
5254
- `Form1099KList`

docs/A1099/V2/CompaniesW9Api.md

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ All URIs are relative to *https://api-ava1099.eta.sbx.us-east-1.aws.avalara.io/a
44

55
| Method | HTTP request | Description |
66
| ------ | ------------ | ----------- |
7-
| [**create_company**](CompaniesW9Api.md#create_company) | **POST** /w9/companies | Creates a new company |
8-
| [**delete_company**](CompaniesW9Api.md#delete_company) | **DELETE** /w9/companies/{id} | Deletes a company |
7+
| [**create_company**](CompaniesW9Api.md#create_company) | **POST** /w9/companies | Create a company |
8+
| [**delete_company**](CompaniesW9Api.md#delete_company) | **DELETE** /w9/companies/{id} | Delete a company |
99
| [**get_companies**](CompaniesW9Api.md#get_companies) | **GET** /w9/companies | List companies |
1010
| [**get_company**](CompaniesW9Api.md#get_company) | **GET** /w9/companies/{id} | Retrieve a company |
1111
| [**update_company**](CompaniesW9Api.md#update_company) | **PUT** /w9/companies/{id} | Update a company |
@@ -15,9 +15,9 @@ All URIs are relative to *https://api-ava1099.eta.sbx.us-east-1.aws.avalara.io/a
1515

1616
> <CompanyResponseModel> create_company(avalara_version, opts)
1717
18-
Creates a new company
18+
Create a company
1919

20-
Creates a new company
20+
Create a company.
2121

2222
### Examples
2323

@@ -37,15 +37,15 @@ end
3737
api_client = AvalaraSdk::ApiClient.new config
3838
api_instance = AvalaraSdk::A1099::V2::CompaniesW9Api.new api_client
3939

40-
avalara_version = '2.0' # String | API version
40+
avalara_version = '2.0.0' # String | API version
4141
opts = {
42-
x_correlation_id: 'd0e29cf5-55bc-44e6-9894-3e1cd2923e5a', # String | Unique correlation Id in a GUID format
42+
x_correlation_id: '144f810d-5777-472b-b372-c1028d9a13ae', # 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/) .
4444
company_create_update_request_model: AvalaraSdk::A1099::V2::CompanyCreateUpdateRequestModel.new # CompanyCreateUpdateRequestModel | The company to create
4545
}
4646

4747
begin
48-
# Creates a new company
48+
# Create a company
4949
result = api_instance.create_company(avalara_version, opts)
5050
p result
5151
rescue AvalaraSdk::ApiError => e
@@ -61,7 +61,7 @@ This returns an Array which contains the response data, status code and headers.
6161
6262
```ruby
6363
begin
64-
# Creates a new company
64+
# Create a company
6565
data, status_code, headers = api_instance.create_company_with_http_info(avalara_version, opts)
6666
p status_code # => 2xx
6767
p headers # => { ... }
@@ -98,9 +98,9 @@ end
9898

9999
> delete_company(id, avalara_version, opts)
100100
101-
Deletes a company
101+
Delete a company
102102

103-
Deletes a company
103+
Delete a company.
104104

105105
### Examples
106106

@@ -121,14 +121,14 @@ api_client = AvalaraSdk::ApiClient.new config
121121
api_instance = AvalaraSdk::A1099::V2::CompaniesW9Api.new api_client
122122

123123
id = 'id_example' # String | The company to delete
124-
avalara_version = '2.0' # String | API version
124+
avalara_version = '2.0.0' # String | API version
125125
opts = {
126-
x_correlation_id: '713ec82b-b94e-4e2f-8b82-0cecc0abb124', # String | Unique correlation Id in a GUID format
126+
x_correlation_id: 'db071c51-528f-4929-a031-523aa34002d1', # 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

130130
begin
131-
# Deletes a company
131+
# Delete a company
132132
api_instance.delete_company(id, avalara_version, opts)
133133
rescue AvalaraSdk::ApiError => e
134134
puts "Error when calling CompaniesW9Api->delete_company: #{e}"
@@ -143,7 +143,7 @@ This returns an Array which contains the response data (`nil` in this case), sta
143143
144144
```ruby
145145
begin
146-
# Deletes a company
146+
# Delete a company
147147
data, status_code, headers = api_instance.delete_company_with_http_info(id, avalara_version, opts)
148148
p status_code # => 2xx
149149
p headers # => { ... }
@@ -202,15 +202,15 @@ end
202202
api_client = AvalaraSdk::ApiClient.new config
203203
api_instance = AvalaraSdk::A1099::V2::CompaniesW9Api.new api_client
204204

205-
avalara_version = '2.0' # String | API version
205+
avalara_version = '2.0.0' # String | API version
206206
opts = {
207207
filter: 'filter_example', # String | A filter statement to identify specific records to retrieve. For more information on filtering, see <a href=\"https://developer.avalara.com/avatax/filtering-in-rest/\">Filtering in REST</a>.
208208
top: 56, # Integer | If zero or greater than 1000, return at most 1000 results. Otherwise, return this number of results. Used with skip to provide pagination for large datasets.
209209
skip: 56, # Integer | If nonzero, skip this number of results before returning data. Used with top to provide pagination for large datasets.
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: '38d61b75-2ccf-4a20-8fc0-6fc047805ec3', # String | Unique correlation Id in a GUID format
213+
x_correlation_id: '7ad30f3a-b27d-440e-98da-516663741d89', # 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

@@ -275,7 +275,7 @@ end
275275
276276
Retrieve a company
277277

278-
Retrieve an existing company
278+
Retrieve a company.
279279

280280
### Examples
281281

@@ -296,9 +296,9 @@ api_client = AvalaraSdk::ApiClient.new config
296296
api_instance = AvalaraSdk::A1099::V2::CompaniesW9Api.new api_client
297297

298298
id = 'id_example' # String | Id of the company
299-
avalara_version = '2.0' # String | API version
299+
avalara_version = '2.0.0' # String | API version
300300
opts = {
301-
x_correlation_id: 'dccf03ba-f1c1-4540-a0ab-3a642cb46223', # String | Unique correlation Id in a GUID format
301+
x_correlation_id: '77521b27-805c-40b1-a6c8-3d6339acba99', # 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

@@ -358,7 +358,7 @@ end
358358
359359
Update a company
360360

361-
Update a company
361+
Update a company.
362362

363363
### Examples
364364

@@ -379,9 +379,9 @@ api_client = AvalaraSdk::ApiClient.new config
379379
api_instance = AvalaraSdk::A1099::V2::CompaniesW9Api.new api_client
380380

381381
id = 'id_example' # String | The ID of the company to update
382-
avalara_version = '2.0' # String | API version
382+
avalara_version = '2.0.0' # String | API version
383383
opts = {
384-
x_correlation_id: 'e5197be7-4ab7-4f90-a190-c0a491ebb8e1', # String | Unique correlation Id in a GUID format
384+
x_correlation_id: '9b982dee-5208-416e-8acf-84070e235acc', # 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/) .
386386
company_create_update_request_model: AvalaraSdk::A1099::V2::CompanyCreateUpdateRequestModel.new # CompanyCreateUpdateRequestModel | The updated company data
387387
}
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
# AvalaraSdk::A1099::V2::CoveredIndividualReferenceResponse
2+
3+
## Properties
4+
5+
| Name | Type | Description | Notes |
6+
| ---- | ---- | ----------- | ----- |
7+
| **id** | **String** | Covered individual ID | [optional] |
8+
| **first_name** | **String** | Covered individual&#39;s first name | [optional] |
9+
| **middle_name** | **String** | Covered individual&#39;s middle name | [optional] |
10+
| **last_name** | **String** | Covered individual&#39;s last name | [optional] |
11+
| **name_suffix** | **String** | Covered individual&#39;s name suffix | [optional] |
12+
| **tin** | **String** | Covered individual&#39;s TIN (SSN or ITIN) | [optional] |
13+
| **birth_date** | **Time** | Covered individual&#39;s date of birth | [optional] |
14+
| **covered_month0** | **Boolean** | Coverage indicator for all 12 months | [optional] |
15+
| **covered_month1** | **Boolean** | Coverage indicator for January | [optional] |
16+
| **covered_month2** | **Boolean** | Coverage indicator for February | [optional] |
17+
| **covered_month3** | **Boolean** | Coverage indicator for March | [optional] |
18+
| **covered_month4** | **Boolean** | Coverage indicator for April | [optional] |
19+
| **covered_month5** | **Boolean** | Coverage indicator for May | [optional] |
20+
| **covered_month6** | **Boolean** | Coverage indicator for June | [optional] |
21+
| **covered_month7** | **Boolean** | Coverage indicator for July | [optional] |
22+
| **covered_month8** | **Boolean** | Coverage indicator for August | [optional] |
23+
| **covered_month9** | **Boolean** | Coverage indicator for September | [optional] |
24+
| **covered_month10** | **Boolean** | Coverage indicator for October | [optional] |
25+
| **covered_month11** | **Boolean** | Coverage indicator for November | [optional] |
26+
| **covered_month12** | **Boolean** | Coverage indicator for December | [optional] |
27+
28+
## Example
29+
30+
```ruby
31+
require 'avalara_sdk'
32+
33+
instance = AvalaraSdk::A1099::V2::CoveredIndividualReferenceResponse.new(
34+
id: null,
35+
first_name: null,
36+
middle_name: null,
37+
last_name: null,
38+
name_suffix: null,
39+
tin: null,
40+
birth_date: null,
41+
covered_month0: null,
42+
covered_month1: null,
43+
covered_month2: null,
44+
covered_month3: null,
45+
covered_month4: null,
46+
covered_month5: null,
47+
covered_month6: null,
48+
covered_month7: null,
49+
covered_month8: null,
50+
covered_month9: null,
51+
covered_month10: null,
52+
covered_month11: null,
53+
covered_month12: null
54+
)
55+
```
56+

docs/A1099/V2/CoveredIndividualRequest.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -4,25 +4,25 @@
44

55
| Name | Type | Description | Notes |
66
| ---- | ---- | ----------- | ----- |
7-
| **first_name** | **String** | | [optional] |
8-
| **middle_name** | **String** | | [optional] |
9-
| **last_name** | **String** | | [optional] |
10-
| **name_suffix** | **String** | | [optional] |
11-
| **tin** | **String** | | [optional] |
12-
| **birth_date** | **Time** | | [optional] |
13-
| **covered_month_indicator0** | **Boolean** | | [optional] |
14-
| **covered_month_indicator1** | **Boolean** | | [optional] |
15-
| **covered_month_indicator2** | **Boolean** | | [optional] |
16-
| **covered_month_indicator3** | **Boolean** | | [optional] |
17-
| **covered_month_indicator4** | **Boolean** | | [optional] |
18-
| **covered_month_indicator5** | **Boolean** | | [optional] |
19-
| **covered_month_indicator6** | **Boolean** | | [optional] |
20-
| **covered_month_indicator7** | **Boolean** | | [optional] |
21-
| **covered_month_indicator8** | **Boolean** | | [optional] |
22-
| **covered_month_indicator9** | **Boolean** | | [optional] |
23-
| **covered_month_indicator10** | **Boolean** | | [optional] |
24-
| **covered_month_indicator11** | **Boolean** | | [optional] |
25-
| **covered_month_indicator12** | **Boolean** | | [optional] |
7+
| **first_name** | **String** | Covered individual&#39;s first name | [optional] |
8+
| **middle_name** | **String** | Covered individual&#39;s middle name | [optional] |
9+
| **last_name** | **String** | Covered individual&#39;s last name | [optional] |
10+
| **name_suffix** | **String** | Covered individual&#39;s name suffix | [optional] |
11+
| **tin** | **String** | Covered individual&#39;s TIN (SSN or ITIN) | [optional] |
12+
| **birth_date** | **Time** | Covered individual&#39;s date of birth | [optional] |
13+
| **covered_month_indicator0** | **Boolean** | Coverage indicator for all 12 months | [optional] |
14+
| **covered_month_indicator1** | **Boolean** | Coverage indicator for January | [optional] |
15+
| **covered_month_indicator2** | **Boolean** | Coverage indicator for February | [optional] |
16+
| **covered_month_indicator3** | **Boolean** | Coverage indicator for March | [optional] |
17+
| **covered_month_indicator4** | **Boolean** | Coverage indicator for April | [optional] |
18+
| **covered_month_indicator5** | **Boolean** | Coverage indicator for May | [optional] |
19+
| **covered_month_indicator6** | **Boolean** | Coverage indicator for June | [optional] |
20+
| **covered_month_indicator7** | **Boolean** | Coverage indicator for July | [optional] |
21+
| **covered_month_indicator8** | **Boolean** | Coverage indicator for August | [optional] |
22+
| **covered_month_indicator9** | **Boolean** | Coverage indicator for September | [optional] |
23+
| **covered_month_indicator10** | **Boolean** | Coverage indicator for October | [optional] |
24+
| **covered_month_indicator11** | **Boolean** | Coverage indicator for November | [optional] |
25+
| **covered_month_indicator12** | **Boolean** | Coverage indicator for December | [optional] |
2626

2727
## Example
2828

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
# AvalaraSdk::A1099::V2::Create1099Form201Response
2+
3+
## Class instance methods
4+
5+
### `openapi_one_of`
6+
7+
Returns the list of classes defined in oneOf.
8+
9+
#### Example
10+
11+
```ruby
12+
require 'avalara_sdk'
13+
14+
AvalaraSdk::A1099::V2::Create1099Form201Response.openapi_one_of
15+
# =>
16+
# [
17+
# :'Form1042SListItemResponse',
18+
# :'Form1095BListItemResponse',
19+
# :'Form1099BaseResponse',
20+
# :'Form1099KListItemResponse',
21+
# :'Form1099MiscListItemResponse',
22+
# :'Form1099NecListItemResponse',
23+
# :'Form1099RListItemResponse'
24+
# ]
25+
```
26+
27+
### build
28+
29+
Find the appropriate object from the `openapi_one_of` list and casts the data into it.
30+
31+
#### Example
32+
33+
```ruby
34+
require 'avalara_sdk'
35+
36+
AvalaraSdk::A1099::V2::Create1099Form201Response.build(data)
37+
# => #<Form1042SListItemResponse:0x00007fdd4aab02a0>
38+
39+
AvalaraSdk::A1099::V2::Create1099Form201Response.build(data_that_doesnt_match)
40+
# => nil
41+
```
42+
43+
#### Parameters
44+
45+
| Name | Type | Description |
46+
| ---- | ---- | ----------- |
47+
| **data** | **Mixed** | data to be matched against the list of oneOf items |
48+
49+
#### Return type
50+
51+
- `Form1042SListItemResponse`
52+
- `Form1095BListItemResponse`
53+
- `Form1099BaseResponse`
54+
- `Form1099KListItemResponse`
55+
- `Form1099MiscListItemResponse`
56+
- `Form1099NecListItemResponse`
57+
- `Form1099RListItemResponse`
58+
- `nil` (if no type matches)
59+
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# AvalaraSdk::A1099::V2::CreateW9Form201Response
2+
3+
## Class instance methods
4+
5+
### `openapi_one_of`
6+
7+
Returns the list of classes defined in oneOf.
8+
9+
#### Example
10+
11+
```ruby
12+
require 'avalara_sdk'
13+
14+
AvalaraSdk::A1099::V2::CreateW9Form201Response.openapi_one_of
15+
# =>
16+
# [
17+
# :'W4FormResponse',
18+
# :'W8BenEFormResponse',
19+
# :'W8BenFormResponse',
20+
# :'W8ImyFormResponse',
21+
# :'W9FormResponse'
22+
# ]
23+
```
24+
25+
### build
26+
27+
Find the appropriate object from the `openapi_one_of` list and casts the data into it.
28+
29+
#### Example
30+
31+
```ruby
32+
require 'avalara_sdk'
33+
34+
AvalaraSdk::A1099::V2::CreateW9Form201Response.build(data)
35+
# => #<W4FormResponse:0x00007fdd4aab02a0>
36+
37+
AvalaraSdk::A1099::V2::CreateW9Form201Response.build(data_that_doesnt_match)
38+
# => nil
39+
```
40+
41+
#### Parameters
42+
43+
| Name | Type | Description |
44+
| ---- | ---- | ----------- |
45+
| **data** | **Mixed** | data to be matched against the list of oneOf items |
46+
47+
#### Return type
48+
49+
- `W4FormResponse`
50+
- `W8BenEFormResponse`
51+
- `W8BenFormResponse`
52+
- `W8ImyFormResponse`
53+
- `W9FormResponse`
54+
- `nil` (if no type matches)
55+

0 commit comments

Comments
 (0)