Skip to content

Commit

Permalink
Update ELR basepath
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Wenger committed Feb 15, 2024
1 parent 6fb8b62 commit d0e2fe0
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions src/Avalara.SDK/Api/EInvoicing/V1/DataInputFieldsApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ private Avalara.SDK.Client.ApiResponse<DataInputFieldsResponse> GetDataInputFiel
}

// make the HTTP request
var localVarResponse = this.Client.Get<DataInputFieldsResponse>("/data-input-fields", localVarRequestOptions, requiredScopes);
var localVarResponse = this.Client.Get<DataInputFieldsResponse>("/einvoicing/data-input-fields", localVarRequestOptions, requiredScopes);

if (this.ExceptionFactory != null)
{
Expand Down Expand Up @@ -307,7 +307,7 @@ private Avalara.SDK.Client.ApiResponse<DataInputFieldsResponse> GetDataInputFiel
}

// make the HTTP request
var localVarResponse = await this.Client.GetAsync<DataInputFieldsResponse>("/data-input-fields", localVarRequestOptions, cancellationToken, requiredScopes).ConfigureAwait(false);
var localVarResponse = await this.Client.GetAsync<DataInputFieldsResponse>("/einvoicing/data-input-fields", localVarRequestOptions, cancellationToken, requiredScopes).ConfigureAwait(false);

if (this.ExceptionFactory != null)
{
Expand Down
16 changes: 8 additions & 8 deletions src/Avalara.SDK/Api/EInvoicing/V1/DocumentsApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ private Avalara.SDK.Client.ApiResponse<FileParameter> DownloadDocumentWithHttpIn
}

// make the HTTP request
var localVarResponse = this.Client.Get<FileParameter>("/documents/{documentId}/$download", localVarRequestOptions, requiredScopes);
var localVarResponse = this.Client.Get<FileParameter>("/einvoicing/documents/{documentId}/$download", localVarRequestOptions, requiredScopes);

if (this.ExceptionFactory != null)
{
Expand Down Expand Up @@ -449,7 +449,7 @@ private Avalara.SDK.Client.ApiResponse<FileParameter> DownloadDocumentWithHttpIn
}

// make the HTTP request
var localVarResponse = await this.Client.GetAsync<FileParameter>("/documents/{documentId}/$download", localVarRequestOptions, cancellationToken, requiredScopes).ConfigureAwait(false);
var localVarResponse = await this.Client.GetAsync<FileParameter>("/einvoicing/documents/{documentId}/$download", localVarRequestOptions, cancellationToken, requiredScopes).ConfigureAwait(false);

if (this.ExceptionFactory != null)
{
Expand Down Expand Up @@ -543,7 +543,7 @@ private Avalara.SDK.Client.ApiResponse<DocumentListResponse> GetDocumentListWith
}

// make the HTTP request
var localVarResponse = this.Client.Get<DocumentListResponse>("/documents", localVarRequestOptions, requiredScopes);
var localVarResponse = this.Client.Get<DocumentListResponse>("/einvoicing/documents", localVarRequestOptions, requiredScopes);

if (this.ExceptionFactory != null)
{
Expand Down Expand Up @@ -641,7 +641,7 @@ private Avalara.SDK.Client.ApiResponse<DocumentListResponse> GetDocumentListWith
}

// make the HTTP request
var localVarResponse = await this.Client.GetAsync<DocumentListResponse>("/documents", localVarRequestOptions, cancellationToken, requiredScopes).ConfigureAwait(false);
var localVarResponse = await this.Client.GetAsync<DocumentListResponse>("/einvoicing/documents", localVarRequestOptions, cancellationToken, requiredScopes).ConfigureAwait(false);

if (this.ExceptionFactory != null)
{
Expand Down Expand Up @@ -708,7 +708,7 @@ private Avalara.SDK.Client.ApiResponse<DocumentStatusResponse> GetDocumentStatus
}

// make the HTTP request
var localVarResponse = this.Client.Get<DocumentStatusResponse>("/document/{documentId}/status", localVarRequestOptions, requiredScopes);
var localVarResponse = this.Client.Get<DocumentStatusResponse>("/einvoicing/document/{documentId}/status", localVarRequestOptions, requiredScopes);

if (this.ExceptionFactory != null)
{
Expand Down Expand Up @@ -779,7 +779,7 @@ private Avalara.SDK.Client.ApiResponse<DocumentStatusResponse> GetDocumentStatus
}

// make the HTTP request
var localVarResponse = await this.Client.GetAsync<DocumentStatusResponse>("/document/{documentId}/status", localVarRequestOptions, cancellationToken, requiredScopes).ConfigureAwait(false);
var localVarResponse = await this.Client.GetAsync<DocumentStatusResponse>("/einvoicing/document/{documentId}/status", localVarRequestOptions, cancellationToken, requiredScopes).ConfigureAwait(false);

if (this.ExceptionFactory != null)
{
Expand Down Expand Up @@ -853,7 +853,7 @@ private Avalara.SDK.Client.ApiResponse<DocumentSubmitResponse> SubmitDocumentWit
localVarRequestOptions.FormParameters.Add("data", Avalara.SDK.Client.ClientUtils.ParameterToString(requestParameters.Data)); // form parameter

// make the HTTP request
var localVarResponse = this.Client.Post<DocumentSubmitResponse>("/documents", localVarRequestOptions, requiredScopes);
var localVarResponse = this.Client.Post<DocumentSubmitResponse>("/einvoicing/documents", localVarRequestOptions, requiredScopes);

if (this.ExceptionFactory != null)
{
Expand Down Expand Up @@ -931,7 +931,7 @@ private Avalara.SDK.Client.ApiResponse<DocumentSubmitResponse> SubmitDocumentWit
localVarRequestOptions.FormParameters.Add("data", Avalara.SDK.Client.ClientUtils.ParameterToString(requestParameters.Data)); // form parameter

// make the HTTP request
var localVarResponse = await this.Client.PostAsync<DocumentSubmitResponse>("/documents", localVarRequestOptions, cancellationToken, requiredScopes).ConfigureAwait(false);
var localVarResponse = await this.Client.PostAsync<DocumentSubmitResponse>("/einvoicing/documents", localVarRequestOptions, cancellationToken, requiredScopes).ConfigureAwait(false);

if (this.ExceptionFactory != null)
{
Expand Down
4 changes: 2 additions & 2 deletions src/Avalara.SDK/Api/EInvoicing/V1/MandatesApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ private Avalara.SDK.Client.ApiResponse<MandatesResponse> GetMandatesWithHttpInfo
}

// make the HTTP request
var localVarResponse = this.Client.Get<MandatesResponse>("/mandates", localVarRequestOptions, requiredScopes);
var localVarResponse = this.Client.Get<MandatesResponse>("/einvoicing/mandates", localVarRequestOptions, requiredScopes);

if (this.ExceptionFactory != null)
{
Expand Down Expand Up @@ -307,7 +307,7 @@ private Avalara.SDK.Client.ApiResponse<MandatesResponse> GetMandatesWithHttpInfo
}

// make the HTTP request
var localVarResponse = await this.Client.GetAsync<MandatesResponse>("/mandates", localVarRequestOptions, cancellationToken, requiredScopes).ConfigureAwait(false);
var localVarResponse = await this.Client.GetAsync<MandatesResponse>("/einvoicing/mandates", localVarRequestOptions, cancellationToken, requiredScopes).ConfigureAwait(false);

if (this.ExceptionFactory != null)
{
Expand Down

0 comments on commit d0e2fe0

Please sign in to comment.