Skip to content

Commit

Permalink
Fix shopify order adjustment data mapping issue
Browse files Browse the repository at this point in the history
  • Loading branch information
RolandHewage committed Aug 17, 2023
1 parent 93a4c43 commit 3641cff
Show file tree
Hide file tree
Showing 10 changed files with 18 additions and 10 deletions.
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"
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
10 changes: 9 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 Expand Up @@ -3958,6 +3960,12 @@ components:
type: integer
description: Webhook subscription count.
description: The webhook subscription count object.
Integer:
type: integer
description: Integer
String:
type: string
description: String

securitySchemes:
api_token:
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

0 comments on commit 3641cff

Please sign in to comment.