diff --git a/.apigen-state b/.apigen-state index 2c350e1e..501bf124 100644 --- a/.apigen-state +++ b/.apigen-state @@ -1,7 +1,7 @@ { "version": "1", "algorithm": "sha256", - "generated_at": "2026-10-06T10:47:37.844063Z", + "generated_at": "2026-10-29T15:57:26.956791Z", "spec_files": { "resources/account-data-api.yaml": "ca145d50d48e0f3709130af89cf0feb3416c36adbd54b5ad40740f55217f94af", "resources/auth-api.yaml": "01e54ca1a13d2d6307e0d3a9ea38f816902521e7c85998f0f21a1353cc54fb76", @@ -12,7 +12,7 @@ "resources/rewards-data-api.yaml": "cdbd81ff161c09bf47ac6099e892d1f1e6a735d035cb16a22d6ad7eec0ac3550", "resources/trade-api.yaml": "229ac3d9a7a30b640db928cc5d99cddc4e185e70b76e7c0d7273f94225cd1d37", "resources/vera-api.yaml": "f4c51b5f6614dd4e3b9f5f1f01f945e06d9090849530ecb916ad4ae18d8f61a0", - "resources/websocket-api.yaml": "c2c51ceea701bff0b7e911e9afdb0addeb4d7f173b2a25b996d13f5462cb535b" + "resources/websocket-api.yaml": "ff3458af8e3788bf0ae94159a60b0964186bed574aa4ec1edac70fae9d25c06a" }, - "combined_hash": "ccde511e611eb56108e3a6eb89e42186fb5100ee532e7b40c2c5961b22426cb7" + "combined_hash": "13e2104bd6fe752d0cf6d120281300f3f3c00fe4a88005ba17ad1c8f6ac2a7dd" } \ No newline at end of file diff --git a/python/sdk/config.yaml b/python/sdk/config.yaml index 8b48dc3d..7545f390 100644 --- a/python/sdk/config.yaml +++ b/python/sdk/config.yaml @@ -2,4 +2,4 @@ additionalProperties: library: asyncio generateSourceCodeOnly: true useOneOfDiscriminatorLookup: true - packageVersion: 1.21.0 + packageVersion: 1.22.0 diff --git a/python/sdk/pyproject.toml b/python/sdk/pyproject.toml index 0c083cd4..04e7e89b 100644 --- a/python/sdk/pyproject.toml +++ b/python/sdk/pyproject.toml @@ -21,7 +21,7 @@ description = "Python Boilerplate contains all the boilerplate you need to creat name = "bluefin_pro_sdk" readme = "README.rst" requires-python = ">=3.9.2,<3.14.0" -version = "1.21.0" +version = "1.22.0" [[project.authors]] email = "audreyr@example.com" diff --git a/python/sdk/src/openapi_client/__init__.py b/python/sdk/src/openapi_client/__init__.py index 569cda89..efc653ca 100644 --- a/python/sdk/src/openapi_client/__init__.py +++ b/python/sdk/src/openapi_client/__init__.py @@ -14,7 +14,7 @@ """ # noqa: E501 -__version__ = "1.21.0" +__version__ = "1.22.0" # import apis into sdk package from openapi_client.api.account_data_api import AccountDataApi diff --git a/python/sdk/src/openapi_client/api_client.py b/python/sdk/src/openapi_client/api_client.py index 59364f07..f031c188 100644 --- a/python/sdk/src/openapi_client/api_client.py +++ b/python/sdk/src/openapi_client/api_client.py @@ -90,7 +90,7 @@ def __init__( self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'OpenAPI-Generator/1.21.0/python' + self.user_agent = 'OpenAPI-Generator/1.22.0/python' self.client_side_validation = configuration.client_side_validation async def __aenter__(self): diff --git a/python/sdk/src/openapi_client/configuration.py b/python/sdk/src/openapi_client/configuration.py index e4853728..19395fa9 100644 --- a/python/sdk/src/openapi_client/configuration.py +++ b/python/sdk/src/openapi_client/configuration.py @@ -507,7 +507,7 @@ def to_debug_report(self) -> str: "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: 1.0.0\n"\ - "SDK Package Version: 1.21.0".\ + "SDK Package Version: 1.22.0".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self) -> List[HostSetting]: diff --git a/python/sdk/src/openapi_client/docs/OrderCancelReason.md b/python/sdk/src/openapi_client/docs/OrderCancelReason.md index 3cfcb341..8e03c044 100644 --- a/python/sdk/src/openapi_client/docs/OrderCancelReason.md +++ b/python/sdk/src/openapi_client/docs/OrderCancelReason.md @@ -74,6 +74,8 @@ The reason for an order cancellation. * `ORDERS_EXCEED_MAX_OPEN_INTEREST` (value: `'ORDERS_EXCEED_MAX_OPEN_INTEREST'`) +* `OPERATOR_CANCELLED_ALL_ON_MARKET` (value: `'OPERATOR_CANCELLED_ALL_ON_MARKET'`) + [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/sdk/src/openapi_client/models/order_cancel_reason.py b/python/sdk/src/openapi_client/models/order_cancel_reason.py index ac678e00..e744528b 100644 --- a/python/sdk/src/openapi_client/models/order_cancel_reason.py +++ b/python/sdk/src/openapi_client/models/order_cancel_reason.py @@ -61,6 +61,7 @@ class OrderCancelReason(str, Enum): TRADE_QUANTITY_OUT_OF_BOUND = 'TRADE_QUANTITY_OUT_OF_BOUND' MARKET_TAKE_BOUND_BREACHED = 'MARKET_TAKE_BOUND_BREACHED' ORDERS_EXCEED_MAX_OPEN_INTEREST = 'ORDERS_EXCEED_MAX_OPEN_INTEREST' + OPERATOR_CANCELLED_ALL_ON_MARKET = 'OPERATOR_CANCELLED_ALL_ON_MARKET' @classmethod def from_json(cls, json_str: str) -> Self: diff --git a/python/sdk/src/openapi_client_README.md b/python/sdk/src/openapi_client_README.md index 94a2b2eb..f7384f8b 100644 --- a/python/sdk/src/openapi_client_README.md +++ b/python/sdk/src/openapi_client_README.md @@ -4,7 +4,7 @@ Bluefin API The `openapi_client` package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: - API version: 1.0.0 -- Package version: 1.21.0 +- Package version: 1.22.0 - Generator version: 7.13.0 - Build package: org.openapitools.codegen.languages.PythonClientCodegen diff --git a/resources/websocket-api.yaml b/resources/websocket-api.yaml index 8ff9c722..bfb5f4aa 100644 --- a/resources/websocket-api.yaml +++ b/resources/websocket-api.yaml @@ -276,6 +276,7 @@ components: - TRADE_QUANTITY_OUT_OF_BOUND - MARKET_TAKE_BOUND_BREACHED - ORDERS_EXCEED_MAX_OPEN_INTEREST + - OPERATOR_CANCELLED_ALL_ON_MARKET OrderCancellationFailureReason: type: string diff --git a/rust/Cargo.lock b/rust/Cargo.lock index 385984e3..5e8bcd7d 100644 --- a/rust/Cargo.lock +++ b/rust/Cargo.lock @@ -121,7 +121,7 @@ dependencies = [ [[package]] name = "bluefin-pro" -version = "1.21.0" +version = "1.22.0" dependencies = [ "base64", "bcs", @@ -146,7 +146,7 @@ dependencies = [ [[package]] name = "bluefin_api" -version = "1.21.0" +version = "1.22.0" dependencies = [ "reqwest", "serde", diff --git a/rust/Cargo.toml b/rust/Cargo.toml index 793de15a..d772de0e 100644 --- a/rust/Cargo.toml +++ b/rust/Cargo.toml @@ -9,7 +9,7 @@ sha2 = "0.10.9" [dependencies.bluefin_api] path = "gen/bluefin_api" -version = "1.21.0" +version = "1.22.0" [dependencies.ed25519-dalek] features = ["rand_core"] @@ -93,7 +93,7 @@ keywords = [ license = "Unlicense" name = "bluefin-pro" repository = "https://github.com/fireflyprotocol/pro-sdk" -version = "1.21.0" +version = "1.22.0" [workspace] members = [ diff --git a/rust/gen/bluefin_api/Cargo.toml b/rust/gen/bluefin_api/Cargo.toml index a44ec05f..96c1aaa0 100644 --- a/rust/gen/bluefin_api/Cargo.toml +++ b/rust/gen/bluefin_api/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bluefin_api" -version = "1.21.0" +version = "1.22.0" authors = ["OpenAPI Generator team and contributors"] description = "Bluefin API" license = "MIT OR Apache-2.0" diff --git a/rust/gen/bluefin_api/README.md b/rust/gen/bluefin_api/README.md index adcdef40..f015184f 100644 --- a/rust/gen/bluefin_api/README.md +++ b/rust/gen/bluefin_api/README.md @@ -8,7 +8,7 @@ Bluefin API This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [openapi-spec](https://openapis.org) from a remote server, you can easily generate an API client. - API version: 1.0.0 -- Package version: 1.21.0 +- Package version: 1.22.0 - Generator version: 7.13.0 - Build package: `org.openapitools.codegen.languages.RustClientCodegen` diff --git a/rust/gen/bluefin_api/docs/OrderCancelReason.md b/rust/gen/bluefin_api/docs/OrderCancelReason.md index 29814a93..8da963e8 100644 --- a/rust/gen/bluefin_api/docs/OrderCancelReason.md +++ b/rust/gen/bluefin_api/docs/OrderCancelReason.md @@ -39,6 +39,7 @@ | TradeQuantityOutOfBound | TRADE_QUANTITY_OUT_OF_BOUND | | MarketTakeBoundBreached | MARKET_TAKE_BOUND_BREACHED | | OrdersExceedMaxOpenInterest | ORDERS_EXCEED_MAX_OPEN_INTEREST | +| OperatorCancelledAllOnMarket | OPERATOR_CANCELLED_ALL_ON_MARKET | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/gen/bluefin_api/src/models/order_cancel_reason.rs b/rust/gen/bluefin_api/src/models/order_cancel_reason.rs index 82bbdecd..9af8c782 100644 --- a/rust/gen/bluefin_api/src/models/order_cancel_reason.rs +++ b/rust/gen/bluefin_api/src/models/order_cancel_reason.rs @@ -85,6 +85,8 @@ pub enum OrderCancelReason { MarketTakeBoundBreached, #[serde(rename = "ORDERS_EXCEED_MAX_OPEN_INTEREST")] OrdersExceedMaxOpenInterest, + #[serde(rename = "OPERATOR_CANCELLED_ALL_ON_MARKET")] + OperatorCancelledAllOnMarket, } @@ -126,6 +128,7 @@ impl std::fmt::Display for OrderCancelReason { Self::TradeQuantityOutOfBound => write!(f, "TRADE_QUANTITY_OUT_OF_BOUND"), Self::MarketTakeBoundBreached => write!(f, "MARKET_TAKE_BOUND_BREACHED"), Self::OrdersExceedMaxOpenInterest => write!(f, "ORDERS_EXCEED_MAX_OPEN_INTEREST"), + Self::OperatorCancelledAllOnMarket => write!(f, "OPERATOR_CANCELLED_ALL_ON_MARKET"), } } } diff --git a/rust/gen/config.yaml b/rust/gen/config.yaml index 7537b84a..b2ecb874 100644 --- a/rust/gen/config.yaml +++ b/rust/gen/config.yaml @@ -2,5 +2,5 @@ additionalProperties: hideGenerationTimestamp: 'true' avoidBoxedModels: 'true' packageName: bluefin_api - packageVersion: 1.21.0 + packageVersion: 1.22.0 preferUnsignedInt: 'true' diff --git a/ts/sdk/package.json b/ts/sdk/package.json index 12bf217f..48c7a429 100644 --- a/ts/sdk/package.json +++ b/ts/sdk/package.json @@ -59,5 +59,5 @@ }, "type": "module", "types": "./dist/index.d.ts", - "version": "2.3.1" + "version": "2.4.0" } \ No newline at end of file diff --git a/ts/sdk/src/api.ts b/ts/sdk/src/api.ts index 934f8a99..b2297e8c 100644 --- a/ts/sdk/src/api.ts +++ b/ts/sdk/src/api.ts @@ -4152,7 +4152,8 @@ export const OrderCancelReason = { InsufficientBalance: 'INSUFFICIENT_BALANCE', TradeQuantityOutOfBound: 'TRADE_QUANTITY_OUT_OF_BOUND', MarketTakeBoundBreached: 'MARKET_TAKE_BOUND_BREACHED', - OrdersExceedMaxOpenInterest: 'ORDERS_EXCEED_MAX_OPEN_INTEREST' + OrdersExceedMaxOpenInterest: 'ORDERS_EXCEED_MAX_OPEN_INTEREST', + OperatorCancelledAllOnMarket: 'OPERATOR_CANCELLED_ALL_ON_MARKET' } as const; export type OrderCancelReason = typeof OrderCancelReason[keyof typeof OrderCancelReason]; diff --git a/ts/sdk/src/docs/OrderCancelReason.md b/ts/sdk/src/docs/OrderCancelReason.md index 5fe54423..3a541e7c 100644 --- a/ts/sdk/src/docs/OrderCancelReason.md +++ b/ts/sdk/src/docs/OrderCancelReason.md @@ -74,4 +74,6 @@ The reason for an order cancellation. * `OrdersExceedMaxOpenInterest` (value: `'ORDERS_EXCEED_MAX_OPEN_INTEREST'`) +* `OperatorCancelledAllOnMarket` (value: `'OPERATOR_CANCELLED_ALL_ON_MARKET'`) + [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)