Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix shopify order adjustment data mapping issue #803

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion openapi/openai.audio/Ballerina.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ name = "openai.audio"
icon = "icon.png"
distribution = "2201.4.1"
repository = "https://github.com/ballerina-platform/openapi-connectors/tree/main/openapi/openai.audio"
version = "1.0.4"
version = "1.0.5"
RolandHewage marked this conversation as resolved.
Show resolved Hide resolved
authors = ["Ballerina"]
[build-options]
observabilityIncluded = true
2 changes: 1 addition & 1 deletion openapi/openai.chat/Ballerina.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ name = "openai.chat"
icon = "icon.png"
distribution = "2201.4.1"
repository = "https://github.com/ballerina-platform/openapi-connectors/tree/main/openapi/openai.chat"
version = "1.1.1"
version = "1.1.2"
authors = ["Ballerina"]
[build-options]
observabilityIncluded = true
2 changes: 1 addition & 1 deletion openapi/openai.embeddings/Ballerina.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ name = "openai.embeddings"
icon = "icon.png"
distribution = "2201.4.1"
repository = "https://github.com/ballerina-platform/openapi-connectors/tree/main/openapi/openai.embeddings"
version = "1.0.4"
version = "1.0.5"
authors = ["Ballerina"]
[build-options]
observabilityIncluded = true
2 changes: 1 addition & 1 deletion openapi/openai.finetunes/Ballerina.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ name = "openai.finetunes"
icon = "icon.png"
distribution = "2201.4.1"
repository = "https://github.com/ballerina-platform/openapi-connectors/tree/main/openapi/openai.finetunes"
version = "1.0.4"
version = "1.0.5"
authors = ["Ballerina"]
[build-options]
observabilityIncluded = true
2 changes: 1 addition & 1 deletion openapi/openai.images/Ballerina.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ name = "openai.images"
icon = "icon.png"
distribution = "2201.4.1"
repository = "https://github.com/ballerina-platform/openapi-connectors/tree/main/openapi/openai.images"
version = "1.0.4"
version = "1.0.5"
authors = ["Ballerina"]
[build-options]
observabilityIncluded = true
2 changes: 1 addition & 1 deletion openapi/openai.moderations/Ballerina.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ name = "openai.moderations"
icon = "icon.png"
distribution = "2201.4.1"
repository = "https://github.com/ballerina-platform/openapi-connectors/tree/main/openapi/openai.moderations"
version = "1.0.4"
version = "1.0.5"
authors = ["Ballerina"]
[build-options]
observabilityIncluded = true
2 changes: 1 addition & 1 deletion openapi/openai.text/Ballerina.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ name = "openai.text"
icon = "icon.png"
distribution = "2201.4.1"
repository = "https://github.com/ballerina-platform/openapi-connectors/tree/main/openapi/openai.text"
version = "1.0.4"
version = "1.0.5"
authors = ["Ballerina"]
[build-options]
observabilityIncluded = true
2 changes: 1 addition & 1 deletion openapi/shopify.admin/Ballerina.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ name = "shopify.admin"
icon = "icon.png"
distribution = "2201.4.1"
repository = "https://github.com/ballerina-platform/openapi-connectors/tree/main/openapi/shopify.admin"
version = "2.4.1"
version = "2.4.2"
authors = ["Ballerina"]
[build-options]
observabilityIncluded = true
4 changes: 3 additions & 1 deletion openapi/shopify.admin/openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3338,7 +3338,9 @@ components:
type: integer
description: The unique identifier for the refund that the order adjustment is associated with.
amount:
type: integer
oneOf:
- type: integer
- type: string
description: The value of the discrepancy between the calculated refund and the actual refund. If the kind property's value is shipping_refund, then amount returns the value of shipping charges refunded to the customer.
tax_amount:
type: string
Expand Down
2 changes: 1 addition & 1 deletion openapi/shopify.admin/types.bal
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ public type OrderAdjustment record {
# The unique identifier for the refund that the order adjustment is associated with.
int? refund_id?;
# The value of the discrepancy between the calculated refund and the actual refund. If the kind property's value is shipping_refund, then amount returns the value of shipping charges refunded to the customer.
int? amount?;
int|string? amount?;
# The taxes that are added to amount, such as applicable shipping taxes added to a shipping refund.
string? tax_amount?;
# The order adjustment type. Valid values are shipping_refund and refund_discrepancy.
Expand Down