Skip to content

Conversation

@r3dnaxel
Copy link
Contributor

@r3dnaxel r3dnaxel commented Mar 13, 2025

  • Adding EstimatedImportCharges model in InvoiceAdditionalDetails to include taxes and duties
  • Extending shipment functionalities to modify EstimatedImportCharges
  • Adding new version v3.0.1

Related to ENGINE-8673

Copy link
Contributor

@AndrewBenzSW AndrewBenzSW left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I stopped the review because I think you re-extracted the generation templates, which we shouldn't do. This is my fault because the README doesn't call out that the template extraction command is there for informational purposes and should generally not be run.

README.md Outdated
*Webhooks* | [**GetWebhookById**](docs//apis/WebhooksApi.md#getwebhookbyid) | Get Webhook By ID
*Webhooks* | [**ListWebhooks**](docs//apis/WebhooksApi.md#listwebhooks) | List Webhooks
*Webhooks* | [**UpdateWebhook**](docs//apis/WebhooksApi.md#updatewebhook) | Update a Webhook
*Account* | [**CreateAccountImage**](docs/\apis/AccountApi.md#createaccountimage) | Create an Account Image
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What caused all these lines to change? I see the slash in front of /apis has been changed to \apis, so I'm guessing this is a Mac/Windows thing? We should figure it out because it adds a lot of noise.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure what's causing this url format issue, probably is connected with OS (Windows vs Mac), I just followed the procedure described here as you suggested. I'll adjust those urls manually but agree that We need to figure out how to avoid this

/// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse (CreateTagResponseBody)</returns>
Task<CreateTagResponseBody> CreateTag(string tagName, CancellationToken cancellationToken = default);
Task<CreateTagResponseBody> CreateTag_0(string tagName, CancellationToken cancellationToken = default);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we know why this got created as CreateTag_0? That seems kinda strange.

Copy link
Contributor Author

@r3dnaxel r3dnaxel Mar 14, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe It is connected to these Tags API changes
We added a new endpoint with the same name than the old one, the second one marked as deprecated, so probably It generates the name of the old one with that "_0" suffix to differentiate them

@r3dnaxel
Copy link
Contributor Author

r3dnaxel commented Mar 14, 2025

I stopped the review because I think you re-extracted the generation templates, which we shouldn't do. This is my fault because the README doesn't call out that the template extraction command is there for informational purposes and should generally not be run.

I generated the SDK changes again removing the templates for auto-generation step

@r3dnaxel r3dnaxel requested a review from AndrewBenzSW March 14, 2025 09:58
|------|------|-------------|-------|
| **methodClient** | [**HttpClient**](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpclient?view=netstandard-2.0) | The HttpClient instance to use for the request. | |
| **createAccountSettingsImageRequestBody** | [**CreateAccountSettingsImageRequestBody**](../../docs//models/CreateAccountSettingsImageRequestBody.md) | | |
| **createAccountSettingsImageRequestBody** | [**CreateAccountSettingsImageRequestBody**](../../docs/\models/CreateAccountSettingsImageRequestBody.md) | | |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this link work? The double forward slash that was there previously seems iffy, but I think a backslash will cause the link to break. Same comment applies for the rest of the links. I'm guessing this is a generation issue with the difference between Mac and Windows? If so, I can take a look at the template.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yup, It looks like a Mac-Windows issue, I'll fix it manually for now

@r3dnaxel r3dnaxel requested a review from AndrewBenzSW March 25, 2025 14:39
@r3dnaxel r3dnaxel merged commit 5c9b2e4 into main Mar 25, 2025
4 checks passed
@semarj semarj deleted the ENGINE-8673 branch March 25, 2025 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants