Skip to content

Commit 0cbb48c

Browse files
authored
chore: Updating SDK to 2.0.10
2 parents 07ac3ea + f2e8563 commit 0cbb48c

File tree

269 files changed

+1623
-262
lines changed

Some content is hidden

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

269 files changed

+1623
-262
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,6 @@ _testmain.go
2222
*.exe
2323
*.test
2424
*.prof
25+
26+
.idea/
27+
.vscode/

.openapi-generator/FILES

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ docs/CompanyInfoPlanInfo.md
3939
docs/CompanyInfoPlanInfoFunctions.md
4040
docs/CompanyInfoPlanInfoFunctionsStatus.md
4141
docs/CompanyInfoPlanInfoLimits.md
42+
docs/CompanyPlanUsage.md
4243
docs/CompanyType.md
4344
docs/ControlledCompany.md
4445
docs/CreateArchiveDocumentRequest.md
@@ -85,11 +86,13 @@ docs/EntityType.md
8586
docs/EventType.md
8687
docs/F24.md
8788
docs/F24Status.md
89+
docs/FattureInCloudPlanType.md
8890
docs/FunctionStatus.md
8991
docs/GetArchiveDocumentResponse.md
9092
docs/GetCashbookEntryResponse.md
9193
docs/GetClientResponse.md
9294
docs/GetCompanyInfoResponse.md
95+
docs/GetCompanyPlanUsageResponse.md
9396
docs/GetEInvoiceRejectionReasonResponse.md
9497
docs/GetEmailDataResponse.md
9598
docs/GetExistingIssuedDocumentTotalsRequest.md
@@ -283,6 +286,7 @@ model_company_info_plan_info.go
283286
model_company_info_plan_info_functions.go
284287
model_company_info_plan_info_functions_status.go
285288
model_company_info_plan_info_limits.go
289+
model_company_plan_usage.go
286290
model_company_type.go
287291
model_controlled_company.go
288292
model_create_archive_document_request.go
@@ -328,11 +332,13 @@ model_entity_type.go
328332
model_event_type.go
329333
model_f24.go
330334
model_f24_status.go
335+
model_fatture_in_cloud_plan_type.go
331336
model_function_status.go
332337
model_get_archive_document_response.go
333338
model_get_cashbook_entry_response.go
334339
model_get_client_response.go
335340
model_get_company_info_response.go
341+
model_get_company_plan_usage_response.go
336342
model_get_e_invoice_rejection_reason_response.go
337343
model_get_email_data_response.go
338344
model_get_existing_issued_document_totals_request.go

.openapi-generator/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7.1.0
1+
7.3.0

README.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ The Fatture in Cloud API is based on REST, and makes possible to interact with t
99
## Overview
1010
This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client.
1111

12-
- API version: 2.0.31
13-
- Package version: 2.0.9
12+
- API version: 2.0.32
13+
- Package version: 2.0.10
1414
- Build package: org.openapitools.codegen.languages.GoClientCodegen
1515
For more information, please visit [https://www.fattureincloud.it](https://www.fattureincloud.it)
1616

@@ -45,6 +45,7 @@ Class | Method | HTTP request | Description
4545
*ClientsAPI* | [**ListClients**](docs/ClientsAPI.md#listclients) | **Get** /c/{company_id}/entities/clients | List Clients
4646
*ClientsAPI* | [**ModifyClient**](docs/ClientsAPI.md#modifyclient) | **Put** /c/{company_id}/entities/clients/{client_id} | Modify Client
4747
*CompaniesAPI* | [**GetCompanyInfo**](docs/CompaniesAPI.md#getcompanyinfo) | **Get** /c/{company_id}/company/info | Get Company Info
48+
*CompaniesAPI* | [**GetCompanyPlanUsage**](docs/CompaniesAPI.md#getcompanyplanusage) | **Get** /c/{company_id}/company/plan_usage | Get Company Plan Usage
4849
*EmailsAPI* | [**ListEmails**](docs/EmailsAPI.md#listemails) | **Get** /c/{company_id}/emails | List Emails
4950
*InfoAPI* | [**ListArchiveCategories**](docs/InfoAPI.md#listarchivecategories) | **Get** /c/{company_id}/info/archive_categories | List Archive Categories
5051
*InfoAPI* | [**ListCities**](docs/InfoAPI.md#listcities) | **Get** /info/cities | List Cities
@@ -153,6 +154,7 @@ Class | Method | HTTP request | Description
153154
- [CompanyInfoPlanInfoFunctions](docs/CompanyInfoPlanInfoFunctions.md)
154155
- [CompanyInfoPlanInfoFunctionsStatus](docs/CompanyInfoPlanInfoFunctionsStatus.md)
155156
- [CompanyInfoPlanInfoLimits](docs/CompanyInfoPlanInfoLimits.md)
157+
- [CompanyPlanUsage](docs/CompanyPlanUsage.md)
156158
- [CompanyType](docs/CompanyType.md)
157159
- [ControlledCompany](docs/ControlledCompany.md)
158160
- [CreateArchiveDocumentRequest](docs/CreateArchiveDocumentRequest.md)
@@ -198,11 +200,13 @@ Class | Method | HTTP request | Description
198200
- [EventType](docs/EventType.md)
199201
- [F24](docs/F24.md)
200202
- [F24Status](docs/F24Status.md)
203+
- [FattureInCloudPlanType](docs/FattureInCloudPlanType.md)
201204
- [FunctionStatus](docs/FunctionStatus.md)
202205
- [GetArchiveDocumentResponse](docs/GetArchiveDocumentResponse.md)
203206
- [GetCashbookEntryResponse](docs/GetCashbookEntryResponse.md)
204207
- [GetClientResponse](docs/GetClientResponse.md)
205208
- [GetCompanyInfoResponse](docs/GetCompanyInfoResponse.md)
209+
- [GetCompanyPlanUsageResponse](docs/GetCompanyPlanUsageResponse.md)
206210
- [GetEInvoiceRejectionReasonResponse](docs/GetEInvoiceRejectionReasonResponse.md)
207211
- [GetEmailDataResponse](docs/GetEmailDataResponse.md)
208212
- [GetExistingIssuedDocumentTotalsRequest](docs/GetExistingIssuedDocumentTotalsRequest.md)
@@ -372,6 +376,7 @@ Class | Method | HTTP request | Description
372376
## Documentation For Authorization
373377

374378

379+
Authentication schemes defined for the API:
375380

376381
### OAuth2AuthenticationCodeFlow
377382

@@ -424,20 +429,20 @@ Class | Method | HTTP request | Description
424429

425430
Example
426431

427-
```golang
428-
auth := context.WithValue(context.Background(), sw.ContextAccessToken, "ACCESSTOKENSTRING")
432+
```go
433+
auth := context.WithValue(context.Background(), fattureincloud.ContextAccessToken, "ACCESSTOKENSTRING")
429434
r, err := client.Service.Operation(auth, args)
430435
```
431436

432437
Or via OAuth2 module to automatically refresh tokens and perform user authentication.
433438

434-
```golang
439+
```go
435440
import "golang.org/x/oauth2"
436441

437442
/* Perform OAuth2 round trip request and obtain a token */
438443

439444
tokenSource := oauth2cfg.TokenSource(createContext(httpClient), &token)
440-
auth := context.WithValue(oauth2.NoContext, sw.ContextOAuth2, tokenSource)
445+
auth := context.WithValue(oauth2.NoContext, fattureincloud.ContextOAuth2, tokenSource)
441446
r, err := client.Service.Operation(auth, args)
442447
```
443448

api/api_archive.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/api_cashbook.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/api_clients.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/api_companies.go

Lines changed: 115 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/api_emails.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/api_info.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)