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: sync SDK to OpenAPI doc v1.7.1 #66

Merged
merged 1 commit into from
Mar 8, 2023
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_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.7.0
1.7.1
32 changes: 5 additions & 27 deletions sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
}
],
"info": {
"version": "1.7.0",
"version": "1.7.1",
"title": "All Circle APIs",
"description": "Circle's General, Core Functionality, Payments, Payouts, Accounts, and Crypto Payments APIs bundled into one OpenAPI Specification."
},
Expand Down Expand Up @@ -4032,16 +4032,7 @@
{
"$ref": "#/components/schemas/FiatRefund"
}
],
"discriminator": {
"propertyName": "type",
"mapping": {
"Fiat Payment": "#/components/schemas/FiatPayment",
"Crypto Payment": "#/components/schemas/CryptoPayment",
"Fiat Cancel": "#/components/schemas/FiatCancel",
"Fiat Refund": "#/components/schemas/FiatRefund"
}
}
]
}
}
}
Expand Down Expand Up @@ -4374,14 +4365,7 @@
{
"$ref": "#/components/schemas/CryptoPayment"
}
],
"discriminator": {
"propertyName": "type",
"mapping": {
"Fiat Payment": "#/components/schemas/FiatPaymentPolymorphic",
"Crypto Payment": "#/components/schemas/CryptoPayment"
}
}
]
}
}
},
Expand Down Expand Up @@ -12823,10 +12807,7 @@
{
"$ref": "#/components/schemas/TransferSourceBlockchainLocation"
}
],
"discriminator": {
"propertyName": "type"
}
]
},
"TransferDestinationBlockchainLocation": {
"description": "A destination blockchain address.",
Expand Down Expand Up @@ -12881,10 +12862,7 @@
{
"$ref": "#/components/schemas/TransferDestinationWalletLocation"
}
],
"discriminator": {
"propertyName": "type"
}
]
},
"Fee": {
"type": "object",
Expand Down
4 changes: 1 addition & 3 deletions src/generated/models/get-payment-response-data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,4 @@ import { SourceResponse } from "./source-response";
* @type GetPaymentResponseData
* @export
*/
export type GetPaymentResponseData =
| ({ type: "Crypto Payment" } & CryptoPayment)
| ({ type: "Fiat Payment" } & FiatPaymentPolymorphic);
export type GetPaymentResponseData = CryptoPayment | FiatPaymentPolymorphic;
8 changes: 4 additions & 4 deletions src/generated/models/list-payments-response-data-inner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ import { SourceResponse } from "./source-response";
* @export
*/
export type ListPaymentsResponseDataInner =
| ({ type: "Crypto Payment" } & CryptoPayment)
| ({ type: "Fiat Cancel" } & FiatCancel)
| ({ type: "Fiat Payment" } & FiatPayment)
| ({ type: "Fiat Refund" } & FiatRefund);
| CryptoPayment
| FiatCancel
| FiatPayment
| FiatRefund;