@polyester/sdk 0.36.0-devnet-20261118123359 → 0.36.0-devnet-20261118184607
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +60 -8
- package/dist/catalogs/index.d.ts +2 -2
- package/dist/catalogs/snapshot-validation.js +10 -1
- package/dist/catalogs/snapshot-validation.js.map +1 -1
- package/dist/catalogs/zipper-catalog.d.ts +2 -0
- package/dist/catalogs/zipper-catalog.d.ts.map +1 -1
- package/dist/catalogs/zipper-catalog.js.map +1 -1
- package/dist/catalogs/zipper-supply.d.ts +2 -0
- package/dist/catalogs/zipper-supply.d.ts.map +1 -1
- package/dist/catalogs/zipper-supply.js +7 -5
- package/dist/catalogs/zipper-supply.js.map +1 -1
- package/dist/client.d.ts +2 -0
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +2 -0
- package/dist/client.js.map +1 -1
- package/dist/gen/ai/v1/assistant_pb.d.ts +679 -13
- package/dist/gen/ai/v1/assistant_pb.d.ts.map +1 -1
- package/dist/gen/ai/v1/assistant_pb.js +355 -97
- package/dist/gen/ai/v1/assistant_pb.js.map +1 -1
- package/dist/gen/alerts/v1/price_alerts_pb.d.ts +33 -4
- package/dist/gen/alerts/v1/price_alerts_pb.d.ts.map +1 -1
- package/dist/gen/alerts/v1/price_alerts_pb.js +23 -2
- package/dist/gen/alerts/v1/price_alerts_pb.js.map +1 -1
- package/dist/gen/auth/v1/activity_pb.d.ts +148 -0
- package/dist/gen/auth/v1/activity_pb.d.ts.map +1 -0
- package/dist/gen/auth/v1/activity_pb.js +40 -0
- package/dist/gen/auth/v1/activity_pb.js.map +1 -0
- package/dist/gen/auth/v1/api_keys_pb.d.ts +10 -4
- package/dist/gen/auth/v1/api_keys_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/api_keys_pb.js +3 -1
- package/dist/gen/auth/v1/api_keys_pb.js.map +1 -1
- package/dist/gen/auth/v1/auth_pb.d.ts +61 -5
- package/dist/gen/auth/v1/auth_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/auth_pb.js +23 -6
- package/dist/gen/auth/v1/auth_pb.js.map +1 -1
- package/dist/gen/auth/v1/mfa_pb.d.ts +140 -2
- package/dist/gen/auth/v1/mfa_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/mfa_pb.js +80 -8
- package/dist/gen/auth/v1/mfa_pb.js.map +1 -1
- package/dist/gen/auth/v1/policies_pb.d.ts +18 -3
- package/dist/gen/auth/v1/policies_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/policies_pb.js +18 -3
- package/dist/gen/auth/v1/policies_pb.js.map +1 -1
- package/dist/gen/auth/v1/social_verification_pb.d.ts +36 -15
- package/dist/gen/auth/v1/social_verification_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/social_verification_pb.js +1 -1
- package/dist/gen/auth/v1/social_verification_pb.js.map +1 -1
- package/dist/gen/auth/v1/subaccounts_pb.d.ts +15 -1
- package/dist/gen/auth/v1/subaccounts_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/subaccounts_pb.js +1 -1
- package/dist/gen/auth/v1/subaccounts_pb.js.map +1 -1
- package/dist/gen/chain/withdraw/v1/auto_withdraw_pb.d.ts +6 -2
- package/dist/gen/chain/withdraw/v1/auto_withdraw_pb.d.ts.map +1 -1
- package/dist/gen/chain/withdraw/v1/auto_withdraw_pb.js.map +1 -1
- package/dist/gen/chain/withdraw/v1/withdraw_pb.d.ts +104 -6
- package/dist/gen/chain/withdraw/v1/withdraw_pb.d.ts.map +1 -1
- package/dist/gen/chain/withdraw/v1/withdraw_pb.js +49 -3
- package/dist/gen/chain/withdraw/v1/withdraw_pb.js.map +1 -1
- package/dist/gen/chain/zipper/v1/zipper_pb.d.ts +76 -3
- package/dist/gen/chain/zipper/v1/zipper_pb.d.ts.map +1 -1
- package/dist/gen/chain/zipper/v1/zipper_pb.js +46 -2
- package/dist/gen/chain/zipper/v1/zipper_pb.js.map +1 -1
- package/dist/gen/index.d.ts +3 -1
- package/dist/gen/index.js +4 -2
- package/dist/gen/ledger/read/v1/ledger_read_pb.d.ts +21 -139
- package/dist/gen/ledger/read/v1/ledger_read_pb.d.ts.map +1 -1
- package/dist/gen/ledger/read/v1/ledger_read_pb.js +16 -17
- package/dist/gen/ledger/read/v1/ledger_read_pb.js.map +1 -1
- package/dist/gen/ledger/read/v1/statement_export_pb.d.ts +236 -20
- package/dist/gen/ledger/read/v1/statement_export_pb.d.ts.map +1 -1
- package/dist/gen/ledger/read/v1/statement_export_pb.js +44 -10
- package/dist/gen/ledger/read/v1/statement_export_pb.js.map +1 -1
- package/dist/gen/ledger/v1/catalog_pb.d.ts +9 -1
- package/dist/gen/ledger/v1/catalog_pb.d.ts.map +1 -1
- package/dist/gen/ledger/v1/catalog_pb.js +9 -1
- package/dist/gen/ledger/v1/catalog_pb.js.map +1 -1
- package/dist/gen/marketdata/v1/asset_info_pb.d.ts +158 -7
- package/dist/gen/marketdata/v1/asset_info_pb.d.ts.map +1 -1
- package/dist/gen/marketdata/v1/asset_info_pb.js +56 -6
- package/dist/gen/marketdata/v1/asset_info_pb.js.map +1 -1
- package/dist/gen/notifications/v1/notifications_pb.d.ts +45 -6
- package/dist/gen/notifications/v1/notifications_pb.d.ts.map +1 -1
- package/dist/gen/notifications/v1/notifications_pb.js +23 -5
- package/dist/gen/notifications/v1/notifications_pb.js.map +1 -1
- package/dist/gen/orders/v1/orders_pb.d.ts +105 -29
- package/dist/gen/orders/v1/orders_pb.d.ts.map +1 -1
- package/dist/gen/orders/v1/orders_pb.js +14 -2
- package/dist/gen/orders/v1/orders_pb.js.map +1 -1
- package/dist/gen/orders/v1/orders_read_pb.d.ts +50 -20
- package/dist/gen/orders/v1/orders_read_pb.d.ts.map +1 -1
- package/dist/gen/orders/v1/orders_read_pb.js +1 -1
- package/dist/gen/orders/v1/orders_read_pb.js.map +1 -1
- package/dist/gen/polyester/api/options_pb.d.ts +11 -2
- package/dist/gen/polyester/api/options_pb.d.ts.map +1 -1
- package/dist/gen/polyester/api/options_pb.js +13 -3
- package/dist/gen/polyester/api/options_pb.js.map +1 -1
- package/dist/gen/privatews/v1/private_ws_pb.d.ts +13 -3
- package/dist/gen/privatews/v1/private_ws_pb.d.ts.map +1 -1
- package/dist/gen/privatews/v1/private_ws_pb.js.map +1 -1
- package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.d.ts +126 -10
- package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.d.ts.map +1 -1
- package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.js +14 -6
- package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.js.map +1 -1
- package/dist/gen/swap/quickswap/v1/quickswap_explorer_pb.d.ts +665 -0
- package/dist/gen/swap/quickswap/v1/quickswap_explorer_pb.d.ts.map +1 -0
- package/dist/gen/swap/quickswap/v1/quickswap_explorer_pb.js +216 -0
- package/dist/gen/swap/quickswap/v1/quickswap_explorer_pb.js.map +1 -0
- package/dist/gen/swap/quickswap/v1/quickswap_pb.d.ts +166 -52
- package/dist/gen/swap/quickswap/v1/quickswap_pb.d.ts.map +1 -1
- package/dist/gen/swap/quickswap/v1/quickswap_pb.js +50 -12
- package/dist/gen/swap/quickswap/v1/quickswap_pb.js.map +1 -1
- package/dist/gen/system/v1/system_pb.d.ts +49 -2
- package/dist/gen/system/v1/system_pb.d.ts.map +1 -1
- package/dist/gen/system/v1/system_pb.js +18 -6
- package/dist/gen/system/v1/system_pb.js.map +1 -1
- package/dist/gen/transfer/v1/internal_transfer_pb.d.ts +150 -71
- package/dist/gen/transfer/v1/internal_transfer_pb.d.ts.map +1 -1
- package/dist/gen/transfer/v1/internal_transfer_pb.js +56 -34
- package/dist/gen/transfer/v1/internal_transfer_pb.js.map +1 -1
- package/dist/gen/triggers/v1/triggers_pb.d.ts +117 -16
- package/dist/gen/triggers/v1/triggers_pb.d.ts.map +1 -1
- package/dist/gen/triggers/v1/triggers_pb.js +45 -2
- package/dist/gen/triggers/v1/triggers_pb.js.map +1 -1
- package/dist/index.d.ts +13 -9
- package/dist/realtime/ready-gated-subscription.js +1 -1
- package/dist/realtime/snapshot-then-stream.js +2 -0
- package/dist/realtime/snapshot-then-stream.js.map +1 -1
- package/dist/services/account-activity/account-activity.d.ts +22 -0
- package/dist/services/account-activity/account-activity.d.ts.map +1 -0
- package/dist/services/account-activity/account-activity.js +32 -0
- package/dist/services/account-activity/account-activity.js.map +1 -0
- package/dist/services/account-activity/account-activity.schemas.d.ts +78 -0
- package/dist/services/account-activity/account-activity.schemas.d.ts.map +1 -0
- package/dist/services/account-activity/account-activity.schemas.js +44 -0
- package/dist/services/account-activity/account-activity.schemas.js.map +1 -0
- package/dist/services/account-activity/account-activity.types.d.ts +2 -0
- package/dist/services/account-activity/service.d.ts +8 -0
- package/dist/services/account-activity/service.d.ts.map +1 -0
- package/dist/services/account-activity/service.js +9 -0
- package/dist/services/account-activity/service.js.map +1 -0
- package/dist/services/address-book/address-book.schemas.d.ts +2 -2
- package/dist/services/address-book/address-book.schemas.js +2 -2
- package/dist/services/api-keys/api-keys.schemas.js +2 -2
- package/dist/services/assistant/assistant-events.schemas.d.ts +25 -25
- package/dist/services/assistant/assistant.codecs.d.ts +7 -2
- package/dist/services/assistant/assistant.codecs.d.ts.map +1 -1
- package/dist/services/assistant/assistant.codecs.js +18 -2
- package/dist/services/assistant/assistant.codecs.js.map +1 -1
- package/dist/services/assistant/assistant.d.ts +29 -2
- package/dist/services/assistant/assistant.d.ts.map +1 -1
- package/dist/services/assistant/assistant.js +44 -2
- package/dist/services/assistant/assistant.js.map +1 -1
- package/dist/services/assistant/assistant.schemas.d.ts +111 -6
- package/dist/services/assistant/assistant.schemas.d.ts.map +1 -1
- package/dist/services/assistant/assistant.schemas.js +74 -6
- package/dist/services/assistant/assistant.schemas.js.map +1 -1
- package/dist/services/assistant/assistant.types.d.ts +3 -3
- package/dist/services/auto-withdraw/auto-withdraw.codecs.d.ts +3 -1
- package/dist/services/auto-withdraw/auto-withdraw.codecs.d.ts.map +1 -1
- package/dist/services/auto-withdraw/auto-withdraw.codecs.js.map +1 -1
- package/dist/services/auto-withdraw/auto-withdraw.schemas.d.ts +21 -19
- package/dist/services/auto-withdraw/auto-withdraw.schemas.d.ts.map +1 -1
- package/dist/services/auto-withdraw/auto-withdraw.schemas.js +1 -0
- package/dist/services/auto-withdraw/auto-withdraw.schemas.js.map +1 -1
- package/dist/services/balances/balances.d.ts +1 -13
- package/dist/services/balances/balances.d.ts.map +1 -1
- package/dist/services/balances/balances.js +1 -45
- package/dist/services/balances/balances.js.map +1 -1
- package/dist/services/balances/balances.schemas.d.ts +1 -67
- package/dist/services/balances/balances.schemas.d.ts.map +1 -1
- package/dist/services/balances/balances.schemas.js +1 -22
- package/dist/services/balances/balances.schemas.js.map +1 -1
- package/dist/services/balances/balances.types.d.ts +2 -2
- package/dist/services/candles/candles.schemas.d.ts +10 -10
- package/dist/services/changelog/changelog.schemas.d.ts +38 -38
- package/dist/services/claims/claims.schemas.d.ts +2 -2
- package/dist/services/dust-conversion/dust-conversion.schemas.d.ts +2 -2
- package/dist/services/heatmap/heatmap.schemas.d.ts +4 -4
- package/dist/services/internal-transfers/internal-transfers.codecs.d.ts +11 -6
- package/dist/services/internal-transfers/internal-transfers.codecs.d.ts.map +1 -1
- package/dist/services/internal-transfers/internal-transfers.codecs.js +6 -6
- package/dist/services/internal-transfers/internal-transfers.codecs.js.map +1 -1
- package/dist/services/internal-transfers/internal-transfers.d.ts +17 -10
- package/dist/services/internal-transfers/internal-transfers.d.ts.map +1 -1
- package/dist/services/internal-transfers/internal-transfers.js +21 -10
- package/dist/services/internal-transfers/internal-transfers.js.map +1 -1
- package/dist/services/internal-transfers/internal-transfers.schemas.d.ts +43 -31
- package/dist/services/internal-transfers/internal-transfers.schemas.d.ts.map +1 -1
- package/dist/services/internal-transfers/internal-transfers.schemas.js +23 -12
- package/dist/services/internal-transfers/internal-transfers.schemas.js.map +1 -1
- package/dist/services/internal-transfers/internal-transfers.types.d.ts +2 -2
- package/dist/services/lifecycle/lifecycle.js +1 -1
- package/dist/services/lifecycle/lifecycle.js.map +1 -1
- package/dist/services/lifecycle/lifecycle.schemas.d.ts +55 -55
- package/dist/services/market-data/market-data.codecs.d.ts +8 -0
- package/dist/services/market-data/market-data.codecs.d.ts.map +1 -0
- package/dist/services/market-data/market-data.codecs.js +7 -1
- package/dist/services/market-data/market-data.codecs.js.map +1 -1
- package/dist/services/market-data/market-data.d.ts +3 -2
- package/dist/services/market-data/market-data.d.ts.map +1 -1
- package/dist/services/market-data/market-data.js +3 -2
- package/dist/services/market-data/market-data.js.map +1 -1
- package/dist/services/market-data/market-data.schemas.d.ts +332 -4
- package/dist/services/market-data/market-data.schemas.d.ts.map +1 -1
- package/dist/services/market-data/market-data.schemas.js +56 -8
- package/dist/services/market-data/market-data.schemas.js.map +1 -1
- package/dist/services/market-data/market-data.types.d.ts +3 -2
- package/dist/services/notifications/notifications.codecs.d.ts +1 -1
- package/dist/services/notifications/notifications.codecs.d.ts.map +1 -1
- package/dist/services/notifications/notifications.codecs.js +2 -1
- package/dist/services/notifications/notifications.codecs.js.map +1 -1
- package/dist/services/notifications/notifications.d.ts +4 -2
- package/dist/services/notifications/notifications.d.ts.map +1 -1
- package/dist/services/notifications/notifications.js +4 -2
- package/dist/services/notifications/notifications.js.map +1 -1
- package/dist/services/notifications/notifications.schemas.d.ts +50 -6
- package/dist/services/notifications/notifications.schemas.d.ts.map +1 -1
- package/dist/services/notifications/notifications.schemas.js +5 -0
- package/dist/services/notifications/notifications.schemas.js.map +1 -1
- package/dist/services/orderbook/orderbook.js +1 -1
- package/dist/services/orders/order-enums.codecs.d.ts +2 -0
- package/dist/services/orders/order-errors.schemas.d.ts +49 -4
- package/dist/services/orders/order-errors.schemas.d.ts.map +1 -1
- package/dist/services/orders/order-errors.schemas.js +13 -3
- package/dist/services/orders/order-errors.schemas.js.map +1 -1
- package/dist/services/orders/orders-batch.schemas.d.ts +290 -50
- package/dist/services/orders/orders-batch.schemas.d.ts.map +1 -1
- package/dist/services/orders/orders-input.schemas.d.ts +55 -8
- package/dist/services/orders/orders-input.schemas.d.ts.map +1 -1
- package/dist/services/orders/orders-input.schemas.js +1 -1
- package/dist/services/orders/orders-output.schemas.d.ts +10 -10
- package/dist/services/orders/orders.d.ts.map +1 -1
- package/dist/services/orders/orders.js +47 -43
- package/dist/services/orders/orders.js.map +1 -1
- package/dist/services/policies/api-key-policies/api-key-policies.schemas.d.ts +15 -15
- package/dist/services/policies/api-key-policies/api-key-policies.schemas.js +1 -1
- package/dist/services/policies/shared.codecs.js +12 -6
- package/dist/services/policies/shared.codecs.js.map +1 -1
- package/dist/services/policies/shared.d.ts +1 -1
- package/dist/services/policies/shared.js +1 -1
- package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.d.ts +9 -9
- package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.js +3 -3
- package/dist/services/price-alerts/price-alerts.d.ts +5 -2
- package/dist/services/price-alerts/price-alerts.d.ts.map +1 -1
- package/dist/services/price-alerts/price-alerts.js +5 -2
- package/dist/services/price-alerts/price-alerts.js.map +1 -1
- package/dist/services/price-alerts/price-alerts.schemas.js +1 -1
- package/dist/services/social-verification/social-verification.schemas.d.ts +9 -0
- package/dist/services/social-verification/social-verification.schemas.d.ts.map +1 -1
- package/dist/services/social-verification/social-verification.schemas.js +9 -2
- package/dist/services/social-verification/social-verification.schemas.js.map +1 -1
- package/dist/services/statement-exports/statement-exports.codecs.d.ts +3 -2
- package/dist/services/statement-exports/statement-exports.codecs.d.ts.map +1 -1
- package/dist/services/statement-exports/statement-exports.codecs.js +2 -1
- package/dist/services/statement-exports/statement-exports.codecs.js.map +1 -1
- package/dist/services/statement-exports/statement-exports.d.ts +25 -10
- package/dist/services/statement-exports/statement-exports.d.ts.map +1 -1
- package/dist/services/statement-exports/statement-exports.js +33 -10
- package/dist/services/statement-exports/statement-exports.js.map +1 -1
- package/dist/services/statement-exports/statement-exports.schemas.d.ts +37 -9
- package/dist/services/statement-exports/statement-exports.schemas.d.ts.map +1 -1
- package/dist/services/statement-exports/statement-exports.schemas.js +24 -5
- package/dist/services/statement-exports/statement-exports.schemas.js.map +1 -1
- package/dist/services/statement-exports/statement-exports.types.d.ts +2 -2
- package/dist/services/subaccounts/subaccounts.codecs.js +112 -38
- package/dist/services/subaccounts/subaccounts.codecs.js.map +1 -1
- package/dist/services/subaccounts/subaccounts.js +1 -1
- package/dist/services/subaccounts/subaccounts.schemas.d.ts +22 -15
- package/dist/services/subaccounts/subaccounts.schemas.d.ts.map +1 -1
- package/dist/services/subaccounts/subaccounts.schemas.js +10 -3
- package/dist/services/subaccounts/subaccounts.schemas.js.map +1 -1
- package/dist/services/system/system.d.ts +12 -1
- package/dist/services/system/system.d.ts.map +1 -1
- package/dist/services/system/system.js +5 -0
- package/dist/services/system/system.js.map +1 -1
- package/dist/services/system/system.schemas.d.ts +13 -13
- package/dist/services/system/system.types.d.ts +2 -2
- package/dist/services/trades/trades.d.ts.map +1 -1
- package/dist/services/trades/trades.js +12 -4
- package/dist/services/trades/trades.js.map +1 -1
- package/dist/services/trades/trades.schemas.d.ts +1 -1
- package/dist/services/trading-withdraws/trading-withdraws.codecs.d.ts +8 -0
- package/dist/services/trading-withdraws/trading-withdraws.codecs.d.ts.map +1 -0
- package/dist/services/trading-withdraws/trading-withdraws.codecs.js +7 -1
- package/dist/services/trading-withdraws/trading-withdraws.codecs.js.map +1 -1
- package/dist/services/trading-withdraws/trading-withdraws.d.ts +2 -1
- package/dist/services/trading-withdraws/trading-withdraws.d.ts.map +1 -1
- package/dist/services/trading-withdraws/trading-withdraws.js +2 -1
- package/dist/services/trading-withdraws/trading-withdraws.js.map +1 -1
- package/dist/services/trading-withdraws/trading-withdraws.schemas.d.ts +15 -0
- package/dist/services/trading-withdraws/trading-withdraws.schemas.d.ts.map +1 -1
- package/dist/services/trading-withdraws/trading-withdraws.schemas.js +16 -2
- package/dist/services/trading-withdraws/trading-withdraws.schemas.js.map +1 -1
- package/dist/services/trading-withdraws/trading-withdraws.types.d.ts +2 -1
- package/dist/services/transfers/transfers.schemas.d.ts +4 -4
- package/dist/services/triggers/trigger-input.schemas.d.ts +2 -2
- package/dist/services/triggers/triggers-output.schemas.d.ts +153 -35
- package/dist/services/triggers/triggers-output.schemas.d.ts.map +1 -1
- package/dist/services/triggers/triggers-output.schemas.js +13 -3
- package/dist/services/triggers/triggers-output.schemas.js.map +1 -1
- package/dist/services/triggers/triggers.codecs.d.ts +10 -0
- package/dist/services/triggers/triggers.codecs.d.ts.map +1 -0
- package/dist/services/triggers/triggers.codecs.js +7 -1
- package/dist/services/triggers/triggers.codecs.js.map +1 -1
- package/dist/services/triggers/triggers.d.ts +2 -2
- package/dist/services/triggers/triggers.d.ts.map +1 -1
- package/dist/services/triggers/triggers.js +16 -12
- package/dist/services/triggers/triggers.js.map +1 -1
- package/dist/services/zipper/zipper.d.ts.map +1 -1
- package/dist/services/zipper/zipper.js +13 -7
- package/dist/services/zipper/zipper.js.map +1 -1
- package/dist/services/zipper/zipper.schemas.d.ts +7 -2
- package/dist/services/zipper/zipper.schemas.d.ts.map +1 -1
- package/dist/services/zipper/zipper.schemas.js +29 -9
- package/dist/services/zipper/zipper.schemas.js.map +1 -1
- package/dist/services/zipper/zipper.types.d.ts +2 -2
- package/dist/shared/catalog-config.d.ts +16 -2
- package/dist/shared/catalog-config.d.ts.map +1 -1
- package/dist/shared/catalog-config.js.map +1 -1
- package/dist/shared/connect-error-mapping.d.ts.map +1 -1
- package/dist/shared/connect-error-mapping.js +7 -2
- package/dist/shared/connect-error-mapping.js.map +1 -1
- package/dist/shared/decimal-surface.d.ts +6 -0
- package/dist/shared/decimal-surface.d.ts.map +1 -1
- package/dist/shared/decimal-surface.js +65 -1
- package/dist/shared/decimal-surface.js.map +1 -1
- package/dist/shared/error-detail.d.ts +10 -0
- package/dist/shared/error-detail.d.ts.map +1 -1
- package/dist/shared/error-detail.js.map +1 -1
- package/dist/shared/error-details/auth.js +6 -0
- package/dist/shared/error-details/auth.js.map +1 -1
- package/dist/shared/ledger-codes.d.ts +3 -1
- package/dist/shared/ledger-codes.d.ts.map +1 -1
- package/dist/shared/ledger-codes.js +6 -3
- package/dist/shared/ledger-codes.js.map +1 -1
- package/dist/wired-services.d.ts.map +1 -1
- package/dist/wired-services.js +3 -1
- package/dist/wired-services.js.map +1 -1
- package/package.json +1 -1
|
@@ -9,7 +9,7 @@ import { JsonObject, Message as Message$1 } from "@bufbuild/protobuf";
|
|
|
9
9
|
import { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
10
10
|
import { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
11
11
|
declare namespace assistant_pb_d_exports {
|
|
12
|
-
export { AccountSelection, AccountSelectionSchema, ApprovalDecision, ApprovalDecisionSchema, ApprovalParameter, ApprovalParameterSchema, ApprovalRequested, ApprovalRequestedSchema, ApprovalResolved, ApprovalResolvedSchema, ApprovalStatus, ApprovalStatusSchema, AssistantKey, AssistantKeyAccount, AssistantKeyAccountSchema, AssistantKeySchema, AssistantKeyState, AssistantKeyStateSchema, AssistantKeyView, AssistantKeyViewSchema, AssistantService, AttachedExit, AttachedExitSchema, AttachedExits, AttachedExitsSchema, AttachedTrailingStop, AttachedTrailingStopSchema, BalanceHistoryChart, BalanceHistoryChartSchema, BalancesTable, BalancesTableSchema, CancelOrdersPreview, CancelOrdersPreviewSchema, CancelRunRequest, CancelRunRequestSchema, CancelRunResponse, CancelRunResponseSchema, CancelTriggerPreview, CancelTriggerPreviewSchema, CompleteAssistantKeysRequest, CompleteAssistantKeysRequestSchema, CompleteAssistantKeysResponse, CompleteAssistantKeysResponseSchema, Conversation, ConversationSchema, CurrentPage, CurrentPageSchema, DecideApprovalRequest, DecideApprovalRequestSchema, DecideApprovalResponse, DecideApprovalResponseSchema, DeleteMemoryRequest, DeleteMemoryRequestSchema, DeleteMemoryResponse, DeleteMemoryResponseSchema, DepositAddressCard, DepositAddressCardSchema, Destination, DestinationSchema, DestinationsSuggested, DestinationsSuggestedSchema, DiscardPartial, DiscardPartialSchema, DisplaySetting, DisplaySettingAction, DisplaySettingActionSchema, DisplaySettingSchema, EquityHistoryChart, EquityHistoryChartSchema, ErrorCode, ErrorCodeSchema, ErrorDetail, ErrorDetailSchema, FailureCategory, FailureCategorySchema, GetTelegramApprovalLimitsRequest, GetTelegramApprovalLimitsRequestSchema, GetTelegramApprovalLimitsResponse, GetTelegramApprovalLimitsResponseSchema, LadderLevel, LadderLevelSchema, LadderPreview, LadderPreviewSchema, LimitOrderPreview, LimitOrderPreviewSchema, ListAssistantKeysRequest, ListAssistantKeysRequestSchema, ListAssistantKeysResponse, ListAssistantKeysResponseSchema, ListConversationsRequest, ListConversationsRequestSchema, ListConversationsResponse, ListConversationsResponseSchema, ListMemoriesRequest, ListMemoriesRequestSchema, ListMemoriesResponse, ListMemoriesResponseSchema, ListMessagesRequest, ListMessagesRequestSchema, ListMessagesResponse, ListMessagesResponseSchema, MarkdownTable, MarkdownTableRow, MarkdownTableRowSchema, MarkdownTableSchema, MarketOrderPreview, MarketOrderPreviewSchema, MemoriesRecalled, MemoriesRecalledSchema, Memory, MemoryKind, MemoryKindSchema, MemorySchema, Message, MessageRole, MessageRoleSchema, MessageSchema, OrderChange, OrderChangePreview, OrderChangePreviewSchema, OrderChangeSchema, OrderPreview, OrderPreviewSchema, OrderPriceField, OrderPriceFieldSchema, OrderToCancel, OrderToCancelSchema, OrdersTable, OrdersTableSchema, PlaceOrdersPreview, PlaceOrdersPreviewSchema, PrepareAssistantKeysRequest, PrepareAssistantKeysRequestSchema, PrepareAssistantKeysResponse, PrepareAssistantKeysResponseSchema, PreparedAssistantKey, PreparedAssistantKeySchema, PriceChart, PriceChartSchema, PriceOffsetDirection, PriceOffsetDirectionSchema, PriceRounding, PriceRoundingSchema, QuoteValue, QuoteValueSchema, RecalledMemory, RecalledMemorySchema, ReferencePrice, ReferencePriceSchema, ReferencePriceSource, ReferencePriceSourceSchema, RelativePrice, RelativePriceSchema, RunCompleted, RunCompletedSchema, RunEvent, RunEventSchema, RunFailed, RunFailedSchema, SendMessageRequest, SendMessageRequestSchema, SendMessageResponse, SendMessageResponseSchema, SetTelegramApprovalLimitsRequest, SetTelegramApprovalLimitsRequestSchema, SetTelegramApprovalLimitsResponse, SetTelegramApprovalLimitsResponseSchema, SkillLoaded, SkillLoadedSchema, StopOrderPreview, StopOrderPreviewSchema, SubagentFinished, SubagentFinishedSchema, SubagentStarted, SubagentStartedSchema, SwapLegPreview, SwapLegPreviewSchema, SwapPreview, SwapPreviewSchema, TelegramApprovalLimits, TelegramApprovalLimitsSchema, TextDelta, TextDeltaSchema, ToolFinished, ToolFinishedSchema, ToolStarted, ToolStartedSchema, TrailingStopPreview, TrailingStopPreviewSchema, TransfersTable, TransfersTableSchema, TriggerChangeAction, TriggerChangeActionSchema, TriggerChangePreview, TriggerChangePreviewSchema, TriggerDirection, TriggerDirectionSchema, TriggerSettings, TriggerSettingsSchema, TriggersTable, TriggersTableSchema, TwapPreview, TwapPreviewSchema, UnfilledSlicePolicy, UnfilledSlicePolicySchema, Usage, UsageSchema, View, ViewSchema, WatchRunRequest, WatchRunRequestSchema, WatchRunResponse, WatchRunResponseSchema, file_ai_v1_assistant };
|
|
12
|
+
export { AccountSelection, AccountSelectionSchema, ApprovalDecision, ApprovalDecisionSchema, ApprovalParameter, ApprovalParameterSchema, ApprovalRequested, ApprovalRequestedSchema, ApprovalResolved, ApprovalResolvedSchema, ApprovalStatus, ApprovalStatusSchema, AssistantKey, AssistantKeyAccount, AssistantKeyAccountSchema, AssistantKeySchema, AssistantKeyState, AssistantKeyStateSchema, AssistantKeyView, AssistantKeyViewSchema, AssistantService, AttachedExit, AttachedExitSchema, AttachedExits, AttachedExitsSchema, AttachedTrailingStop, AttachedTrailingStopSchema, BalanceHistoryChart, BalanceHistoryChartSchema, BalancesTable, BalancesTableSchema, CancelOrdersPreview, CancelOrdersPreviewSchema, CancelRunRequest, CancelRunRequestSchema, CancelRunResponse, CancelRunResponseSchema, CancelTriggerPreview, CancelTriggerPreviewSchema, CompleteAssistantKeysRequest, CompleteAssistantKeysRequestSchema, CompleteAssistantKeysResponse, CompleteAssistantKeysResponseSchema, Conversation, ConversationSchema, CurrentPage, CurrentPageSchema, DecideApprovalRequest, DecideApprovalRequestSchema, DecideApprovalResponse, DecideApprovalResponseSchema, DeleteMemoryRequest, DeleteMemoryRequestSchema, DeleteMemoryResponse, DeleteMemoryResponseSchema, DeleteModelKeyRequest, DeleteModelKeyRequestSchema, DeleteModelKeyResponse, DeleteModelKeyResponseSchema, DepositAddressCard, DepositAddressCardSchema, Destination, DestinationSchema, DestinationsSuggested, DestinationsSuggestedSchema, DiscardPartial, DiscardPartialSchema, DisplaySetting, DisplaySettingAction, DisplaySettingActionSchema, DisplaySettingSchema, EquityHistoryChart, EquityHistoryChartSchema, ErrorCode, ErrorCodeSchema, ErrorDetail, ErrorDetailSchema, FailureCategory, FailureCategorySchema, FundingMode, FundingModeSchema, GetMessageImageRequest, GetMessageImageRequestSchema, GetMessageImageResponse, GetMessageImageResponseSchema, GetModelKeyRequest, GetModelKeyRequestSchema, GetModelKeyResponse, GetModelKeyResponseSchema, GetTelegramApprovalLimitsRequest, GetTelegramApprovalLimitsRequestSchema, GetTelegramApprovalLimitsResponse, GetTelegramApprovalLimitsResponseSchema, GetUsageRequest, GetUsageRequestSchema, GetUsageResponse, GetUsageResponseSchema, ImageAttachment, ImageAttachmentSchema, LadderLevel, LadderLevelSchema, LadderPreview, LadderPreviewSchema, LimitOrderPreview, LimitOrderPreviewSchema, ListAssistantKeysRequest, ListAssistantKeysRequestSchema, ListAssistantKeysResponse, ListAssistantKeysResponseSchema, ListConversationsRequest, ListConversationsRequestSchema, ListConversationsResponse, ListConversationsResponseSchema, ListMemoriesRequest, ListMemoriesRequestSchema, ListMemoriesResponse, ListMemoriesResponseSchema, ListMessagesRequest, ListMessagesRequestSchema, ListMessagesResponse, ListMessagesResponseSchema, MarkdownTable, MarkdownTableRow, MarkdownTableRowSchema, MarkdownTableSchema, MarketOrderPreview, MarketOrderPreviewSchema, MemoriesRecalled, MemoriesRecalledSchema, Memory, MemoryKind, MemoryKindSchema, MemorySchema, Message, MessageImage, MessageImageSchema, MessageRole, MessageRoleSchema, MessageSchema, ModelKey, ModelKeyCheck, ModelKeyCheckSchema, ModelKeySchema, OrderChange, OrderChangePreview, OrderChangePreviewSchema, OrderChangeSchema, OrderPreview, OrderPreviewSchema, OrderPriceField, OrderPriceFieldSchema, OrderToCancel, OrderToCancelSchema, OrdersTable, OrdersTableSchema, PlaceOrdersPreview, PlaceOrdersPreviewSchema, PrepareAssistantKeysRequest, PrepareAssistantKeysRequestSchema, PrepareAssistantKeysResponse, PrepareAssistantKeysResponseSchema, PreparedAssistantKey, PreparedAssistantKeySchema, PriceChart, PriceChartSchema, PriceOffsetDirection, PriceOffsetDirectionSchema, PriceRounding, PriceRoundingSchema, QuoteValue, QuoteValueSchema, RecalledMemory, RecalledMemorySchema, ReferencePrice, ReferencePriceSchema, ReferencePriceSource, ReferencePriceSourceSchema, RelativePrice, RelativePriceSchema, RunCompleted, RunCompletedSchema, RunEvent, RunEventSchema, RunFailed, RunFailedSchema, SendMessageRequest, SendMessageRequestSchema, SendMessageResponse, SendMessageResponseSchema, SetModelKeyRequest, SetModelKeyRequestSchema, SetModelKeyResponse, SetModelKeyResponseSchema, SetTelegramApprovalLimitsRequest, SetTelegramApprovalLimitsRequestSchema, SetTelegramApprovalLimitsResponse, SetTelegramApprovalLimitsResponseSchema, SkillLoaded, SkillLoadedSchema, StopOrderPreview, StopOrderPreviewSchema, SubagentFinished, SubagentFinishedSchema, SubagentStarted, SubagentStartedSchema, SwapLegPreview, SwapLegPreviewSchema, SwapPreview, SwapPreviewSchema, TelegramApprovalLimits, TelegramApprovalLimitsSchema, TextDelta, TextDeltaSchema, TierCredits, TierCreditsSchema, ToolFinished, ToolFinishedSchema, ToolStarted, ToolStartedSchema, TrailingStopPreview, TrailingStopPreviewSchema, TransfersTable, TransfersTableSchema, TriggerChangeAction, TriggerChangeActionSchema, TriggerChangePreview, TriggerChangePreviewSchema, TriggerDirection, TriggerDirectionSchema, TriggerSettings, TriggerSettingsSchema, TriggersTable, TriggersTableSchema, TwapPreview, TwapPreviewSchema, UnfilledSlicePolicy, UnfilledSlicePolicySchema, Usage, UsageSchema, View, ViewSchema, WatchRunRequest, WatchRunRequestSchema, WatchRunResponse, WatchRunResponseSchema, file_ai_v1_assistant };
|
|
13
13
|
}
|
|
14
14
|
/**
|
|
15
15
|
* Describes the file ai/v1/assistant.proto.
|
|
@@ -110,12 +110,92 @@ type Message = Message$1<"ai.v1.Message"> & {
|
|
|
110
110
|
* @generated from field: fixed64 run_id = 5;
|
|
111
111
|
*/
|
|
112
112
|
runId: bigint;
|
|
113
|
+
/**
|
|
114
|
+
* The images of a user message, in the order they were sent; empty for an
|
|
115
|
+
* assistant message and for a message sent without images. Read each one
|
|
116
|
+
* with GetMessageImage.
|
|
117
|
+
*
|
|
118
|
+
* @generated from field: repeated ai.v1.MessageImage images = 6;
|
|
119
|
+
*/
|
|
120
|
+
images: MessageImage[];
|
|
113
121
|
};
|
|
114
122
|
/**
|
|
115
123
|
* Describes the message ai.v1.Message.
|
|
116
124
|
* Use `create(MessageSchema)` to create a new message.
|
|
117
125
|
*/
|
|
118
126
|
declare const MessageSchema: GenMessage<Message>;
|
|
127
|
+
/**
|
|
128
|
+
* MessageImage describes one image of a user message, as the assistant read
|
|
129
|
+
* it: an image larger than 2000 pixels on a side is scaled down to fit, and
|
|
130
|
+
* may be stored in another of the three formats.
|
|
131
|
+
*
|
|
132
|
+
* @generated from message ai.v1.MessageImage
|
|
133
|
+
*/
|
|
134
|
+
type MessageImage = Message$1<"ai.v1.MessageImage"> & {
|
|
135
|
+
/**
|
|
136
|
+
* Public image ID, for GetMessageImage.
|
|
137
|
+
*
|
|
138
|
+
* @generated from field: fixed64 image_id = 1;
|
|
139
|
+
*/
|
|
140
|
+
imageId: bigint;
|
|
141
|
+
/**
|
|
142
|
+
* Media type of the stored image: image/png, image/jpeg or image/webp.
|
|
143
|
+
*
|
|
144
|
+
* @generated from field: string mime_type = 2;
|
|
145
|
+
*/
|
|
146
|
+
mimeType: string;
|
|
147
|
+
/**
|
|
148
|
+
* Width of the stored image, in pixels.
|
|
149
|
+
*
|
|
150
|
+
* @generated from field: uint32 width = 3;
|
|
151
|
+
*/
|
|
152
|
+
width: number;
|
|
153
|
+
/**
|
|
154
|
+
* Height of the stored image, in pixels.
|
|
155
|
+
*
|
|
156
|
+
* @generated from field: uint32 height = 4;
|
|
157
|
+
*/
|
|
158
|
+
height: number;
|
|
159
|
+
/**
|
|
160
|
+
* Size of the stored image, in bytes.
|
|
161
|
+
*
|
|
162
|
+
* @generated from field: uint32 size_bytes = 5;
|
|
163
|
+
*/
|
|
164
|
+
sizeBytes: number;
|
|
165
|
+
};
|
|
166
|
+
/**
|
|
167
|
+
* Describes the message ai.v1.MessageImage.
|
|
168
|
+
* Use `create(MessageImageSchema)` to create a new message.
|
|
169
|
+
*/
|
|
170
|
+
declare const MessageImageSchema: GenMessage<MessageImage>;
|
|
171
|
+
/**
|
|
172
|
+
* ImageAttachment is an image the caller attaches to a message, such as a
|
|
173
|
+
* screenshot of an order, an error or a chart.
|
|
174
|
+
*
|
|
175
|
+
* @generated from message ai.v1.ImageAttachment
|
|
176
|
+
*/
|
|
177
|
+
type ImageAttachment = Message$1<"ai.v1.ImageAttachment"> & {
|
|
178
|
+
/**
|
|
179
|
+
* The image file: a PNG, JPEG or WebP image, at most 10 MiB, 8000 pixels on
|
|
180
|
+
* a side and 32 megapixels in all. Larger is IMAGE_TOO_LARGE; another format,
|
|
181
|
+
* or a file that cannot be decoded, is IMAGE_TYPE_UNSUPPORTED.
|
|
182
|
+
*
|
|
183
|
+
* @generated from field: bytes data = 1;
|
|
184
|
+
*/
|
|
185
|
+
data: Uint8Array;
|
|
186
|
+
/**
|
|
187
|
+
* Media type of data: image/png, image/jpeg or image/webp. It must match the
|
|
188
|
+
* file's own format (IMAGE_TYPE_UNSUPPORTED otherwise).
|
|
189
|
+
*
|
|
190
|
+
* @generated from field: string mime_type = 2;
|
|
191
|
+
*/
|
|
192
|
+
mimeType: string;
|
|
193
|
+
};
|
|
194
|
+
/**
|
|
195
|
+
* Describes the message ai.v1.ImageAttachment.
|
|
196
|
+
* Use `create(ImageAttachmentSchema)` to create a new message.
|
|
197
|
+
*/
|
|
198
|
+
declare const ImageAttachmentSchema: GenMessage<ImageAttachment>;
|
|
119
199
|
/**
|
|
120
200
|
* Memory is one fact the assistant remembers about the caller across
|
|
121
201
|
* conversations, such as a stated preference. A corrected fact replaces the
|
|
@@ -2827,6 +2907,45 @@ type AssistantKey = Message$1<"ai.v1.AssistantKey"> & {
|
|
|
2827
2907
|
* Use `create(AssistantKeySchema)` to create a new message.
|
|
2828
2908
|
*/
|
|
2829
2909
|
declare const AssistantKeySchema: GenMessage<AssistantKey>;
|
|
2910
|
+
/**
|
|
2911
|
+
* ModelKey is the caller's own OpenAI API key as the assistant shows it. The
|
|
2912
|
+
* key itself is never returned.
|
|
2913
|
+
*
|
|
2914
|
+
* @generated from message ai.v1.ModelKey
|
|
2915
|
+
*/
|
|
2916
|
+
type ModelKey = Message$1<"ai.v1.ModelKey"> & {
|
|
2917
|
+
/**
|
|
2918
|
+
* The key's last four characters, to tell it apart, for example "x7Qa".
|
|
2919
|
+
*
|
|
2920
|
+
* @generated from field: string suffix = 1;
|
|
2921
|
+
*/
|
|
2922
|
+
suffix: string;
|
|
2923
|
+
/**
|
|
2924
|
+
* When the key was saved.
|
|
2925
|
+
*
|
|
2926
|
+
* @generated from field: google.protobuf.Timestamp added_at = 2;
|
|
2927
|
+
*/
|
|
2928
|
+
addedAt?: Timestamp | undefined;
|
|
2929
|
+
/**
|
|
2930
|
+
* The result of the key's last check with OpenAI: when it was saved, when
|
|
2931
|
+
* OpenAI refused it during a run, and when a run used it successfully after
|
|
2932
|
+
* a refusal.
|
|
2933
|
+
*
|
|
2934
|
+
* @generated from field: ai.v1.ModelKeyCheck last_check = 3;
|
|
2935
|
+
*/
|
|
2936
|
+
lastCheck: ModelKeyCheck;
|
|
2937
|
+
/**
|
|
2938
|
+
* When last_check was recorded.
|
|
2939
|
+
*
|
|
2940
|
+
* @generated from field: google.protobuf.Timestamp checked_at = 4;
|
|
2941
|
+
*/
|
|
2942
|
+
checkedAt?: Timestamp | undefined;
|
|
2943
|
+
};
|
|
2944
|
+
/**
|
|
2945
|
+
* Describes the message ai.v1.ModelKey.
|
|
2946
|
+
* Use `create(ModelKeySchema)` to create a new message.
|
|
2947
|
+
*/
|
|
2948
|
+
declare const ModelKeySchema: GenMessage<ModelKey>;
|
|
2830
2949
|
/**
|
|
2831
2950
|
* AssistantKeyAccount names one account to give the assistant a key for.
|
|
2832
2951
|
*
|
|
@@ -2976,7 +3095,8 @@ type SendMessageRequest = Message$1<"ai.v1.SendMessageRequest"> & {
|
|
|
2976
3095
|
*/
|
|
2977
3096
|
conversationId?: bigint | undefined;
|
|
2978
3097
|
/**
|
|
2979
|
-
* Message text, plain text or Markdown,
|
|
3098
|
+
* Message text, plain text or Markdown, at most 16000 characters. Required
|
|
3099
|
+
* unless images are attached; with images, it is the question about them.
|
|
2980
3100
|
*
|
|
2981
3101
|
* @generated from field: string text = 2;
|
|
2982
3102
|
*/
|
|
@@ -3043,6 +3163,31 @@ type SendMessageRequest = Message$1<"ai.v1.SendMessageRequest"> & {
|
|
|
3043
3163
|
* @generated from field: ai.v1.AccountSelection account_selection = 8;
|
|
3044
3164
|
*/
|
|
3045
3165
|
accountSelection: AccountSelection;
|
|
3166
|
+
/**
|
|
3167
|
+
* Send the message only while this run is still the conversation's latest
|
|
3168
|
+
* run: a client that continues a request it showed the user, such as a
|
|
3169
|
+
* button under an answer, sets it to that answer's run, so the message never
|
|
3170
|
+
* lands after a newer one. Checked as the message is recorded; when another
|
|
3171
|
+
* run is the latest, nothing is recorded and the call is
|
|
3172
|
+
* FAILED_PRECONDITION with CONVERSATION_ADVANCED. Requires conversation_id.
|
|
3173
|
+
* Omit it to send whatever the conversation's latest run. It is part of the
|
|
3174
|
+
* request the idempotency key covers: a repeat of a request already
|
|
3175
|
+
* recorded returns its run, whatever ran since.
|
|
3176
|
+
*
|
|
3177
|
+
* @generated from field: optional fixed64 expected_latest_run_id = 9;
|
|
3178
|
+
*/
|
|
3179
|
+
expectedLatestRunId?: bigint | undefined;
|
|
3180
|
+
/**
|
|
3181
|
+
* Images the message shows the assistant, at most 4, in the order the user
|
|
3182
|
+
* attached them; more is TOO_MANY_IMAGES. The assistant reads them with the
|
|
3183
|
+
* text, and they stay with the message: later answers in the conversation
|
|
3184
|
+
* can refer to them, and ListMessages lists them. Text in an image is read
|
|
3185
|
+
* as part of the picture, never as instructions to the assistant. They are
|
|
3186
|
+
* part of the request the idempotency key covers.
|
|
3187
|
+
*
|
|
3188
|
+
* @generated from field: repeated ai.v1.ImageAttachment images = 10;
|
|
3189
|
+
*/
|
|
3190
|
+
images: ImageAttachment[];
|
|
3046
3191
|
};
|
|
3047
3192
|
/**
|
|
3048
3193
|
* Describes the message ai.v1.SendMessageRequest.
|
|
@@ -3294,6 +3439,48 @@ type ListMessagesResponse = Message$1<"ai.v1.ListMessagesResponse"> & {
|
|
|
3294
3439
|
* Use `create(ListMessagesResponseSchema)` to create a new message.
|
|
3295
3440
|
*/
|
|
3296
3441
|
declare const ListMessagesResponseSchema: GenMessage<ListMessagesResponse>;
|
|
3442
|
+
/**
|
|
3443
|
+
* GetMessageImageRequest selects one image of the caller's messages.
|
|
3444
|
+
*
|
|
3445
|
+
* @generated from message ai.v1.GetMessageImageRequest
|
|
3446
|
+
*/
|
|
3447
|
+
type GetMessageImageRequest = Message$1<"ai.v1.GetMessageImageRequest"> & {
|
|
3448
|
+
/**
|
|
3449
|
+
* Image to read, from Message.images.
|
|
3450
|
+
*
|
|
3451
|
+
* @generated from field: fixed64 image_id = 1;
|
|
3452
|
+
*/
|
|
3453
|
+
imageId: bigint;
|
|
3454
|
+
};
|
|
3455
|
+
/**
|
|
3456
|
+
* Describes the message ai.v1.GetMessageImageRequest.
|
|
3457
|
+
* Use `create(GetMessageImageRequestSchema)` to create a new message.
|
|
3458
|
+
*/
|
|
3459
|
+
declare const GetMessageImageRequestSchema: GenMessage<GetMessageImageRequest>;
|
|
3460
|
+
/**
|
|
3461
|
+
* GetMessageImageResponse returns the image file.
|
|
3462
|
+
*
|
|
3463
|
+
* @generated from message ai.v1.GetMessageImageResponse
|
|
3464
|
+
*/
|
|
3465
|
+
type GetMessageImageResponse = Message$1<"ai.v1.GetMessageImageResponse"> & {
|
|
3466
|
+
/**
|
|
3467
|
+
* The image file, as MessageImage describes it.
|
|
3468
|
+
*
|
|
3469
|
+
* @generated from field: bytes data = 1;
|
|
3470
|
+
*/
|
|
3471
|
+
data: Uint8Array;
|
|
3472
|
+
/**
|
|
3473
|
+
* Media type of data: image/png, image/jpeg or image/webp.
|
|
3474
|
+
*
|
|
3475
|
+
* @generated from field: string mime_type = 2;
|
|
3476
|
+
*/
|
|
3477
|
+
mimeType: string;
|
|
3478
|
+
};
|
|
3479
|
+
/**
|
|
3480
|
+
* Describes the message ai.v1.GetMessageImageResponse.
|
|
3481
|
+
* Use `create(GetMessageImageResponseSchema)` to create a new message.
|
|
3482
|
+
*/
|
|
3483
|
+
declare const GetMessageImageResponseSchema: GenMessage<GetMessageImageResponse>;
|
|
3297
3484
|
/**
|
|
3298
3485
|
* ListMemoriesRequest pages through the caller's memories, newest first.
|
|
3299
3486
|
*
|
|
@@ -3466,7 +3653,8 @@ declare const CompleteAssistantKeysResponseSchema: GenMessage<CompleteAssistantK
|
|
|
3466
3653
|
type ListAssistantKeysRequest = Message$1<"ai.v1.ListAssistantKeysRequest"> & {
|
|
3467
3654
|
/**
|
|
3468
3655
|
* How much of each key to return. Omit it for the default view, without
|
|
3469
|
-
* account names; ASSISTANT_KEY_VIEW_FULL adds each key's account name
|
|
3656
|
+
* account names; ASSISTANT_KEY_VIEW_FULL adds each key's account name and
|
|
3657
|
+
* orders the keys by account (see ListAssistantKeysResponse.keys).
|
|
3470
3658
|
*
|
|
3471
3659
|
* @generated from field: ai.v1.AssistantKeyView view = 1;
|
|
3472
3660
|
*/
|
|
@@ -3484,8 +3672,12 @@ declare const ListAssistantKeysRequestSchema: GenMessage<ListAssistantKeysReques
|
|
|
3484
3672
|
*/
|
|
3485
3673
|
type ListAssistantKeysResponse = Message$1<"ai.v1.ListAssistantKeysResponse"> & {
|
|
3486
3674
|
/**
|
|
3487
|
-
* The caller's assistant keys the assistant holds,
|
|
3488
|
-
*
|
|
3675
|
+
* The caller's assistant keys the assistant holds, at most one per account.
|
|
3676
|
+
* The default view lists them oldest first. ASSISTANT_KEY_VIEW_FULL lists
|
|
3677
|
+
* them as an account picker shows them: the main account's key first, then
|
|
3678
|
+
* the subaccounts' keys by the subaccount's equity, highest first. Keys
|
|
3679
|
+
* with equal equity, and those whose equity could not be read, which come
|
|
3680
|
+
* last, are listed by account name.
|
|
3489
3681
|
*
|
|
3490
3682
|
* @generated from field: repeated ai.v1.AssistantKey keys = 1;
|
|
3491
3683
|
*/
|
|
@@ -3604,6 +3796,193 @@ type SetTelegramApprovalLimitsResponse = Message$1<"ai.v1.SetTelegramApprovalLim
|
|
|
3604
3796
|
* Use `create(SetTelegramApprovalLimitsResponseSchema)` to create a new message.
|
|
3605
3797
|
*/
|
|
3606
3798
|
declare const SetTelegramApprovalLimitsResponseSchema: GenMessage<SetTelegramApprovalLimitsResponse>;
|
|
3799
|
+
/**
|
|
3800
|
+
* SetModelKeyRequest saves the caller's own OpenAI API key.
|
|
3801
|
+
*
|
|
3802
|
+
* @generated from message ai.v1.SetModelKeyRequest
|
|
3803
|
+
*/
|
|
3804
|
+
type SetModelKeyRequest = Message$1<"ai.v1.SetModelKeyRequest"> & {
|
|
3805
|
+
/**
|
|
3806
|
+
* An OpenAI secret API key: "sk-" followed by 20 to 300 letters, digits,
|
|
3807
|
+
* "-" or "_". It is checked with OpenAI before it is saved.
|
|
3808
|
+
*
|
|
3809
|
+
* @generated from field: string api_key = 1;
|
|
3810
|
+
*/
|
|
3811
|
+
apiKey: string;
|
|
3812
|
+
};
|
|
3813
|
+
/**
|
|
3814
|
+
* Describes the message ai.v1.SetModelKeyRequest.
|
|
3815
|
+
* Use `create(SetModelKeyRequestSchema)` to create a new message.
|
|
3816
|
+
*/
|
|
3817
|
+
declare const SetModelKeyRequestSchema: GenMessage<SetModelKeyRequest>;
|
|
3818
|
+
/**
|
|
3819
|
+
* SetModelKeyResponse returns the saved key's status.
|
|
3820
|
+
*
|
|
3821
|
+
* @generated from message ai.v1.SetModelKeyResponse
|
|
3822
|
+
*/
|
|
3823
|
+
type SetModelKeyResponse = Message$1<"ai.v1.SetModelKeyResponse"> & {
|
|
3824
|
+
/**
|
|
3825
|
+
* The key as saved; last_check is KEY_VALID.
|
|
3826
|
+
*
|
|
3827
|
+
* @generated from field: ai.v1.ModelKey key = 1;
|
|
3828
|
+
*/
|
|
3829
|
+
key?: ModelKey | undefined;
|
|
3830
|
+
};
|
|
3831
|
+
/**
|
|
3832
|
+
* Describes the message ai.v1.SetModelKeyResponse.
|
|
3833
|
+
* Use `create(SetModelKeyResponseSchema)` to create a new message.
|
|
3834
|
+
*/
|
|
3835
|
+
declare const SetModelKeyResponseSchema: GenMessage<SetModelKeyResponse>;
|
|
3836
|
+
/**
|
|
3837
|
+
* GetModelKeyRequest reads the status of the caller's own OpenAI API key.
|
|
3838
|
+
*
|
|
3839
|
+
* @generated from message ai.v1.GetModelKeyRequest
|
|
3840
|
+
*/
|
|
3841
|
+
type GetModelKeyRequest = Message$1<"ai.v1.GetModelKeyRequest"> & {};
|
|
3842
|
+
/**
|
|
3843
|
+
* Describes the message ai.v1.GetModelKeyRequest.
|
|
3844
|
+
* Use `create(GetModelKeyRequestSchema)` to create a new message.
|
|
3845
|
+
*/
|
|
3846
|
+
declare const GetModelKeyRequestSchema: GenMessage<GetModelKeyRequest>;
|
|
3847
|
+
/**
|
|
3848
|
+
* GetModelKeyResponse returns the status of the caller's own OpenAI API key.
|
|
3849
|
+
*
|
|
3850
|
+
* @generated from message ai.v1.GetModelKeyResponse
|
|
3851
|
+
*/
|
|
3852
|
+
type GetModelKeyResponse = Message$1<"ai.v1.GetModelKeyResponse"> & {
|
|
3853
|
+
/**
|
|
3854
|
+
* The caller's key; unset when the caller has none.
|
|
3855
|
+
*
|
|
3856
|
+
* @generated from field: ai.v1.ModelKey key = 1;
|
|
3857
|
+
*/
|
|
3858
|
+
key?: ModelKey | undefined;
|
|
3859
|
+
};
|
|
3860
|
+
/**
|
|
3861
|
+
* Describes the message ai.v1.GetModelKeyResponse.
|
|
3862
|
+
* Use `create(GetModelKeyResponseSchema)` to create a new message.
|
|
3863
|
+
*/
|
|
3864
|
+
declare const GetModelKeyResponseSchema: GenMessage<GetModelKeyResponse>;
|
|
3865
|
+
/**
|
|
3866
|
+
* DeleteModelKeyRequest deletes the caller's own OpenAI API key.
|
|
3867
|
+
*
|
|
3868
|
+
* @generated from message ai.v1.DeleteModelKeyRequest
|
|
3869
|
+
*/
|
|
3870
|
+
type DeleteModelKeyRequest = Message$1<"ai.v1.DeleteModelKeyRequest"> & {};
|
|
3871
|
+
/**
|
|
3872
|
+
* Describes the message ai.v1.DeleteModelKeyRequest.
|
|
3873
|
+
* Use `create(DeleteModelKeyRequestSchema)` to create a new message.
|
|
3874
|
+
*/
|
|
3875
|
+
declare const DeleteModelKeyRequestSchema: GenMessage<DeleteModelKeyRequest>;
|
|
3876
|
+
/**
|
|
3877
|
+
* DeleteModelKeyResponse confirms the deletion.
|
|
3878
|
+
*
|
|
3879
|
+
* @generated from message ai.v1.DeleteModelKeyResponse
|
|
3880
|
+
*/
|
|
3881
|
+
type DeleteModelKeyResponse = Message$1<"ai.v1.DeleteModelKeyResponse"> & {};
|
|
3882
|
+
/**
|
|
3883
|
+
* Describes the message ai.v1.DeleteModelKeyResponse.
|
|
3884
|
+
* Use `create(DeleteModelKeyResponseSchema)` to create a new message.
|
|
3885
|
+
*/
|
|
3886
|
+
declare const DeleteModelKeyResponseSchema: GenMessage<DeleteModelKeyResponse>;
|
|
3887
|
+
/**
|
|
3888
|
+
* GetUsageRequest reads the caller's assistant credits today.
|
|
3889
|
+
*
|
|
3890
|
+
* @generated from message ai.v1.GetUsageRequest
|
|
3891
|
+
*/
|
|
3892
|
+
type GetUsageRequest = Message$1<"ai.v1.GetUsageRequest"> & {};
|
|
3893
|
+
/**
|
|
3894
|
+
* Describes the message ai.v1.GetUsageRequest.
|
|
3895
|
+
* Use `create(GetUsageRequestSchema)` to create a new message.
|
|
3896
|
+
*/
|
|
3897
|
+
declare const GetUsageRequestSchema: GenMessage<GetUsageRequest>;
|
|
3898
|
+
/**
|
|
3899
|
+
* TierCredits is the free daily credits of one VIP tier.
|
|
3900
|
+
*
|
|
3901
|
+
* @generated from message ai.v1.TierCredits
|
|
3902
|
+
*/
|
|
3903
|
+
type TierCredits = Message$1<"ai.v1.TierCredits"> & {
|
|
3904
|
+
/**
|
|
3905
|
+
* The VIP tier, from 0 to 10.
|
|
3906
|
+
*
|
|
3907
|
+
* @generated from field: uint32 vip_tier = 1;
|
|
3908
|
+
*/
|
|
3909
|
+
vipTier: number;
|
|
3910
|
+
/**
|
|
3911
|
+
* Free credits per UTC day at this tier.
|
|
3912
|
+
*
|
|
3913
|
+
* @generated from field: uint64 daily_free_credits = 2;
|
|
3914
|
+
*/
|
|
3915
|
+
dailyFreeCredits: bigint;
|
|
3916
|
+
};
|
|
3917
|
+
/**
|
|
3918
|
+
* Describes the message ai.v1.TierCredits.
|
|
3919
|
+
* Use `create(TierCreditsSchema)` to create a new message.
|
|
3920
|
+
*/
|
|
3921
|
+
declare const TierCreditsSchema: GenMessage<TierCredits>;
|
|
3922
|
+
/**
|
|
3923
|
+
* GetUsageResponse is the caller's assistant credits today. A credit is a
|
|
3924
|
+
* fixed amount of AI usage: a longer answer, or one that uses more tools,
|
|
3925
|
+
* uses more credits. The figures are the main account's, which every
|
|
3926
|
+
* subaccount shares, and are the ones a new message is admitted against.
|
|
3927
|
+
*
|
|
3928
|
+
* @generated from message ai.v1.GetUsageResponse
|
|
3929
|
+
*/
|
|
3930
|
+
type GetUsageResponse = Message$1<"ai.v1.GetUsageResponse"> & {
|
|
3931
|
+
/**
|
|
3932
|
+
* What pays for the caller's next messages. With OWN_KEY they use no
|
|
3933
|
+
* credits, and the free credits below stay unused.
|
|
3934
|
+
*
|
|
3935
|
+
* @generated from field: ai.v1.FundingMode funding_mode = 1;
|
|
3936
|
+
*/
|
|
3937
|
+
fundingMode: FundingMode;
|
|
3938
|
+
/**
|
|
3939
|
+
* The caller's VIP tier, whose free credits apply today. Unset when the
|
|
3940
|
+
* tier could not be read: VIP 0's free credits then apply.
|
|
3941
|
+
*
|
|
3942
|
+
* @generated from field: optional uint32 vip_tier = 2;
|
|
3943
|
+
*/
|
|
3944
|
+
vipTier?: number | undefined;
|
|
3945
|
+
/**
|
|
3946
|
+
* Today's free credits: the VIP tier's daily free credits.
|
|
3947
|
+
*
|
|
3948
|
+
* @generated from field: uint64 free_credits = 3;
|
|
3949
|
+
*/
|
|
3950
|
+
freeCredits: bigint;
|
|
3951
|
+
/**
|
|
3952
|
+
* Free credits used today, rounded down to a whole credit. May exceed
|
|
3953
|
+
* free_credits: an answer started with credits left always finishes.
|
|
3954
|
+
*
|
|
3955
|
+
* @generated from field: uint64 free_credits_used = 4;
|
|
3956
|
+
*/
|
|
3957
|
+
freeCreditsUsed: bigint;
|
|
3958
|
+
/**
|
|
3959
|
+
* Free credits left today: free_credits minus free_credits_used, and 0
|
|
3960
|
+
* when none are left. With none left and CREDITS funding, a message is
|
|
3961
|
+
* answered with RunFailed DAILY_LIMIT_REACHED.
|
|
3962
|
+
*
|
|
3963
|
+
* @generated from field: uint64 free_credits_left = 5;
|
|
3964
|
+
*/
|
|
3965
|
+
freeCreditsLeft: bigint;
|
|
3966
|
+
/**
|
|
3967
|
+
* When the free credits reset: the next 00:00 UTC. Credits left unused do
|
|
3968
|
+
* not carry over to the next day.
|
|
3969
|
+
*
|
|
3970
|
+
* @generated from field: google.protobuf.Timestamp resets_at = 6;
|
|
3971
|
+
*/
|
|
3972
|
+
resetsAt?: Timestamp | undefined;
|
|
3973
|
+
/**
|
|
3974
|
+
* The next VIP tier and its daily free credits. Unset at the highest tier,
|
|
3975
|
+
* and when the caller's tier could not be read.
|
|
3976
|
+
*
|
|
3977
|
+
* @generated from field: ai.v1.TierCredits next_tier = 7;
|
|
3978
|
+
*/
|
|
3979
|
+
nextTier?: TierCredits | undefined;
|
|
3980
|
+
};
|
|
3981
|
+
/**
|
|
3982
|
+
* Describes the message ai.v1.GetUsageResponse.
|
|
3983
|
+
* Use `create(GetUsageResponseSchema)` to create a new message.
|
|
3984
|
+
*/
|
|
3985
|
+
declare const GetUsageResponseSchema: GenMessage<GetUsageResponse>;
|
|
3607
3986
|
/**
|
|
3608
3987
|
* ErrorCode identifies an Assistant API error.
|
|
3609
3988
|
*
|
|
@@ -3695,7 +4074,65 @@ declare enum ErrorCode {
|
|
|
3695
4074
|
*
|
|
3696
4075
|
* @generated from enum value: KEY_SETUP_NOT_REGISTERED = 12;
|
|
3697
4076
|
*/
|
|
3698
|
-
KEY_SETUP_NOT_REGISTERED = 12
|
|
4077
|
+
KEY_SETUP_NOT_REGISTERED = 12,
|
|
4078
|
+
/**
|
|
4079
|
+
* The conversation's latest run is no longer the one the request expected
|
|
4080
|
+
* (SendMessageRequest.expected_latest_run_id): another message was sent in
|
|
4081
|
+
* it since. Nothing is recorded.
|
|
4082
|
+
*
|
|
4083
|
+
* @generated from enum value: CONVERSATION_ADVANCED = 13;
|
|
4084
|
+
*/
|
|
4085
|
+
CONVERSATION_ADVANCED = 13,
|
|
4086
|
+
/**
|
|
4087
|
+
* OpenAI refused the OpenAI API key: it is mistyped, revoked or disabled.
|
|
4088
|
+
* Nothing was saved. Check the key, or create a new one in the OpenAI
|
|
4089
|
+
* dashboard.
|
|
4090
|
+
*
|
|
4091
|
+
* @generated from enum value: MODEL_KEY_REJECTED = 14;
|
|
4092
|
+
*/
|
|
4093
|
+
MODEL_KEY_REJECTED = 14,
|
|
4094
|
+
/**
|
|
4095
|
+
* The OpenAI API key's OpenAI account has no quota left: no credit, or a
|
|
4096
|
+
* spending limit reached. Nothing was saved. Add credit or raise the limit
|
|
4097
|
+
* in the OpenAI dashboard, then try again.
|
|
4098
|
+
*
|
|
4099
|
+
* @generated from enum value: MODEL_KEY_NO_QUOTA = 15;
|
|
4100
|
+
*/
|
|
4101
|
+
MODEL_KEY_NO_QUOTA = 15,
|
|
4102
|
+
/**
|
|
4103
|
+
* The OpenAI API key cannot use the model the assistant runs on, for
|
|
4104
|
+
* example a project key whose project does not allow that model. Nothing
|
|
4105
|
+
* was saved. Allow the model for the key's project, or use another key.
|
|
4106
|
+
*
|
|
4107
|
+
* @generated from enum value: MODEL_KEY_MODEL_UNAVAILABLE = 16;
|
|
4108
|
+
*/
|
|
4109
|
+
MODEL_KEY_MODEL_UNAVAILABLE = 16,
|
|
4110
|
+
/**
|
|
4111
|
+
* An attached image is larger than the assistant reads: over 10 MiB, or
|
|
4112
|
+
* over 8000 pixels on a side or 32 megapixels in all. Nothing is recorded.
|
|
4113
|
+
*
|
|
4114
|
+
* @generated from enum value: IMAGE_TOO_LARGE = 17;
|
|
4115
|
+
*/
|
|
4116
|
+
IMAGE_TOO_LARGE = 17,
|
|
4117
|
+
/**
|
|
4118
|
+
* An attached image is not a PNG, JPEG or WebP image, does not match its
|
|
4119
|
+
* mime_type, or cannot be decoded. Nothing is recorded.
|
|
4120
|
+
*
|
|
4121
|
+
* @generated from enum value: IMAGE_TYPE_UNSUPPORTED = 18;
|
|
4122
|
+
*/
|
|
4123
|
+
IMAGE_TYPE_UNSUPPORTED = 18,
|
|
4124
|
+
/**
|
|
4125
|
+
* The message has more than 4 images. Nothing is recorded.
|
|
4126
|
+
*
|
|
4127
|
+
* @generated from enum value: TOO_MANY_IMAGES = 19;
|
|
4128
|
+
*/
|
|
4129
|
+
TOO_MANY_IMAGES = 19,
|
|
4130
|
+
/**
|
|
4131
|
+
* No image of the caller's messages has this ID.
|
|
4132
|
+
*
|
|
4133
|
+
* @generated from enum value: IMAGE_NOT_FOUND = 20;
|
|
4134
|
+
*/
|
|
4135
|
+
IMAGE_NOT_FOUND = 20
|
|
3699
4136
|
}
|
|
3700
4137
|
/**
|
|
3701
4138
|
* Describes the enum ai.v1.ErrorCode.
|
|
@@ -3772,7 +4209,42 @@ declare enum FailureCategory {
|
|
|
3772
4209
|
*
|
|
3773
4210
|
* @generated from enum value: UNEXPECTED_ERROR = 5;
|
|
3774
4211
|
*/
|
|
3775
|
-
UNEXPECTED_ERROR = 5
|
|
4212
|
+
UNEXPECTED_ERROR = 5,
|
|
4213
|
+
/**
|
|
4214
|
+
* The run used the caller's own OpenAI API key, and OpenAI refused it for
|
|
4215
|
+
* one of the run's requests (its answer, a check it makes, or a web
|
|
4216
|
+
* search): the key was revoked, its account has no quota left, or it
|
|
4217
|
+
* cannot use a model the assistant needs. The run never falls back to the
|
|
4218
|
+
* assistant's own allowance or to another key. GetModelKey says why in
|
|
4219
|
+
* ModelKey.last_check; fix the key in the OpenAI dashboard, save a new one
|
|
4220
|
+
* with SetModelKey, or delete it with DeleteModelKey, then send the message
|
|
4221
|
+
* again. Also returned when the run's key was deleted or replaced before
|
|
4222
|
+
* the run could finish with it.
|
|
4223
|
+
*
|
|
4224
|
+
* @generated from enum value: MODEL_KEY_REFUSED = 6;
|
|
4225
|
+
*/
|
|
4226
|
+
MODEL_KEY_REFUSED = 6,
|
|
4227
|
+
/**
|
|
4228
|
+
* The caller's main account used up today's free assistant credits, so the
|
|
4229
|
+
* message was not answered. The daily free credits follow the account's
|
|
4230
|
+
* VIP tier, every subaccount shares its main account's, and they reset at
|
|
4231
|
+
* 00:00 UTC without carrying over. RunFailed.message says how many there
|
|
4232
|
+
* were, when they reset and how to get more: a higher VIP tier, or the
|
|
4233
|
+
* caller's own OpenAI API key. GetUsage returns the same figures as
|
|
4234
|
+
* fields.
|
|
4235
|
+
*
|
|
4236
|
+
* @generated from enum value: DAILY_LIMIT_REACHED = 7;
|
|
4237
|
+
*/
|
|
4238
|
+
DAILY_LIMIT_REACHED = 7,
|
|
4239
|
+
/**
|
|
4240
|
+
* The assistant paused new answers for every account until 00:00 UTC
|
|
4241
|
+
* because its daily capacity is used up, so the message was not answered.
|
|
4242
|
+
* RunFailed.message says when it resumes. A caller's own OpenAI API key
|
|
4243
|
+
* still answers.
|
|
4244
|
+
*
|
|
4245
|
+
* @generated from enum value: ASSISTANT_PAUSED = 8;
|
|
4246
|
+
*/
|
|
4247
|
+
ASSISTANT_PAUSED = 8
|
|
3776
4248
|
}
|
|
3777
4249
|
/**
|
|
3778
4250
|
* Describes the enum ai.v1.FailureCategory.
|
|
@@ -3958,7 +4430,9 @@ declare enum AssistantKeyView {
|
|
|
3958
4430
|
*/
|
|
3959
4431
|
UNSPECIFIED = 0,
|
|
3960
4432
|
/**
|
|
3961
|
-
* Everything in the default view, plus each key's account name (label)
|
|
4433
|
+
* Everything in the default view, plus each key's account name (label),
|
|
4434
|
+
* with the keys ordered by account: the main account first, then the
|
|
4435
|
+
* subaccounts by equity, highest first.
|
|
3962
4436
|
*
|
|
3963
4437
|
* @generated from enum value: ASSISTANT_KEY_VIEW_FULL = 1;
|
|
3964
4438
|
*/
|
|
@@ -3968,6 +4442,79 @@ declare enum AssistantKeyView {
|
|
|
3968
4442
|
* Describes the enum ai.v1.AssistantKeyView.
|
|
3969
4443
|
*/
|
|
3970
4444
|
declare const AssistantKeyViewSchema: GenEnum<AssistantKeyView>;
|
|
4445
|
+
/**
|
|
4446
|
+
* ModelKeyCheck is the result of the last check of the caller's own OpenAI
|
|
4447
|
+
* API key with OpenAI.
|
|
4448
|
+
*
|
|
4449
|
+
* @generated from enum ai.v1.ModelKeyCheck
|
|
4450
|
+
*/
|
|
4451
|
+
declare enum ModelKeyCheck {
|
|
4452
|
+
/**
|
|
4453
|
+
* Not set. Never returned.
|
|
4454
|
+
*
|
|
4455
|
+
* @generated from enum value: KEY_CHECK_UNSPECIFIED = 0;
|
|
4456
|
+
*/
|
|
4457
|
+
KEY_CHECK_UNSPECIFIED = 0,
|
|
4458
|
+
/**
|
|
4459
|
+
* OpenAI accepted the key for the assistant's model.
|
|
4460
|
+
*
|
|
4461
|
+
* @generated from enum value: KEY_VALID = 1;
|
|
4462
|
+
*/
|
|
4463
|
+
KEY_VALID = 1,
|
|
4464
|
+
/**
|
|
4465
|
+
* OpenAI refused the key: it is revoked or disabled.
|
|
4466
|
+
*
|
|
4467
|
+
* @generated from enum value: KEY_REJECTED = 2;
|
|
4468
|
+
*/
|
|
4469
|
+
KEY_REJECTED = 2,
|
|
4470
|
+
/**
|
|
4471
|
+
* The key's OpenAI account has no quota left: no credit, or a spending
|
|
4472
|
+
* limit reached.
|
|
4473
|
+
*
|
|
4474
|
+
* @generated from enum value: KEY_NO_QUOTA = 3;
|
|
4475
|
+
*/
|
|
4476
|
+
KEY_NO_QUOTA = 3,
|
|
4477
|
+
/**
|
|
4478
|
+
* The key cannot use the model the assistant runs on.
|
|
4479
|
+
*
|
|
4480
|
+
* @generated from enum value: KEY_MODEL_UNAVAILABLE = 4;
|
|
4481
|
+
*/
|
|
4482
|
+
KEY_MODEL_UNAVAILABLE = 4
|
|
4483
|
+
}
|
|
4484
|
+
/**
|
|
4485
|
+
* Describes the enum ai.v1.ModelKeyCheck.
|
|
4486
|
+
*/
|
|
4487
|
+
declare const ModelKeyCheckSchema: GenEnum<ModelKeyCheck>;
|
|
4488
|
+
/**
|
|
4489
|
+
* FundingMode is what pays for the caller's next messages to the assistant.
|
|
4490
|
+
*
|
|
4491
|
+
* @generated from enum ai.v1.FundingMode
|
|
4492
|
+
*/
|
|
4493
|
+
declare enum FundingMode {
|
|
4494
|
+
/**
|
|
4495
|
+
* Not set. Never returned.
|
|
4496
|
+
*
|
|
4497
|
+
* @generated from enum value: FUNDING_UNSPECIFIED = 0;
|
|
4498
|
+
*/
|
|
4499
|
+
FUNDING_UNSPECIFIED = 0,
|
|
4500
|
+
/**
|
|
4501
|
+
* The assistant's credits: the caller's free daily credits.
|
|
4502
|
+
*
|
|
4503
|
+
* @generated from enum value: CREDITS = 1;
|
|
4504
|
+
*/
|
|
4505
|
+
CREDITS = 1,
|
|
4506
|
+
/**
|
|
4507
|
+
* The caller's own OpenAI API key (SetModelKey): the messages use no
|
|
4508
|
+
* credits.
|
|
4509
|
+
*
|
|
4510
|
+
* @generated from enum value: OWN_KEY = 2;
|
|
4511
|
+
*/
|
|
4512
|
+
OWN_KEY = 2
|
|
4513
|
+
}
|
|
4514
|
+
/**
|
|
4515
|
+
* Describes the enum ai.v1.FundingMode.
|
|
4516
|
+
*/
|
|
4517
|
+
declare const FundingModeSchema: GenEnum<FundingMode>;
|
|
3971
4518
|
/**
|
|
3972
4519
|
* DisplaySetting is one of the client's display preferences the assistant may
|
|
3973
4520
|
* change for the user: cosmetic settings the user can change back at any
|
|
@@ -4338,12 +4885,18 @@ declare const AssistantService: GenService<{
|
|
|
4338
4885
|
* SendMessage records the caller's message and starts a run that answers
|
|
4339
4886
|
* it. It returns once the run is recorded; follow the run with WatchRun. A
|
|
4340
4887
|
* conversation runs one run at a time. It is idempotent per caller and key:
|
|
4341
|
-
* repeat the request unchanged to resolve an unknown outcome.
|
|
4888
|
+
* repeat the request unchanged to resolve an unknown outcome. When the
|
|
4889
|
+
* caller has saved their own OpenAI API key (SetModelKey), the run's model
|
|
4890
|
+
* requests use it instead of the assistant's own allowance.
|
|
4342
4891
|
*
|
|
4343
4892
|
* Errors:
|
|
4344
|
-
* - INVALID_ARGUMENT: malformed request
|
|
4893
|
+
* - INVALID_ARGUMENT: malformed request; IMAGE_TOO_LARGE,
|
|
4894
|
+
* IMAGE_TYPE_UNSUPPORTED or TOO_MANY_IMAGES for the attached images.
|
|
4895
|
+
* Nothing is recorded.
|
|
4345
4896
|
* - NOT_FOUND: CONVERSATION_NOT_FOUND.
|
|
4346
|
-
* - FAILED_PRECONDITION: RUN_ACTIVE
|
|
4897
|
+
* - FAILED_PRECONDITION: RUN_ACTIVE, or CONVERSATION_ADVANCED when
|
|
4898
|
+
* expected_latest_run_id is no longer the conversation's latest run;
|
|
4899
|
+
* nothing is recorded.
|
|
4347
4900
|
* - ALREADY_EXISTS: IDEMPOTENCY_CONFLICT; the original run stands.
|
|
4348
4901
|
* - RESOURCE_EXHAUSTED: USAGE_LIMIT_REACHED; retry later.
|
|
4349
4902
|
* - UNAVAILABLE, DEADLINE_EXCEEDED: SERVICE_UNAVAILABLE or an unknown
|
|
@@ -4451,6 +5004,23 @@ declare const AssistantService: GenService<{
|
|
|
4451
5004
|
input: typeof ListMessagesRequestSchema;
|
|
4452
5005
|
output: typeof ListMessagesResponseSchema;
|
|
4453
5006
|
};
|
|
5007
|
+
/**
|
|
5008
|
+
* GetMessageImage returns one image of the caller's messages, as the
|
|
5009
|
+
* message's MessageImage describes it.
|
|
5010
|
+
*
|
|
5011
|
+
* Errors:
|
|
5012
|
+
* - INVALID_ARGUMENT: malformed request.
|
|
5013
|
+
* - NOT_FOUND: IMAGE_NOT_FOUND.
|
|
5014
|
+
* - UNAVAILABLE: SERVICE_UNAVAILABLE; retry later.
|
|
5015
|
+
* - UNAUTHENTICATED: missing or invalid credentials.
|
|
5016
|
+
*
|
|
5017
|
+
* @generated from rpc ai.v1.AssistantService.GetMessageImage
|
|
5018
|
+
*/
|
|
5019
|
+
getMessageImage: {
|
|
5020
|
+
methodKind: "unary";
|
|
5021
|
+
input: typeof GetMessageImageRequestSchema;
|
|
5022
|
+
output: typeof GetMessageImageResponseSchema;
|
|
5023
|
+
};
|
|
4454
5024
|
/**
|
|
4455
5025
|
* ListMemories lists what the assistant remembers about the caller, newest
|
|
4456
5026
|
* first. Each memory carries its kind: a PROFILE memory applies to every
|
|
@@ -4566,10 +5136,17 @@ declare const AssistantService: GenService<{
|
|
|
4566
5136
|
* SetTelegramApprovalLimits replaces the caller's optional limits on what
|
|
4567
5137
|
* they may approve from Telegram. A limit left unset is turned off. Only a
|
|
4568
5138
|
* signed-in session sets them, never Telegram; they apply to the next
|
|
4569
|
-
* approval from Telegram.
|
|
5139
|
+
* approval from Telegram. Raising a limit, or turning one off, allows more
|
|
5140
|
+
* from Telegram, so it needs the session's recent-MFA window open for
|
|
5141
|
+
* auth.v1 RECENT_MFA_ACTION_TELEGRAM_APPROVAL_LIMITS: complete an MFA
|
|
5142
|
+
* challenge for fresh step-up first, unless auth.v1 MFAService.GetRecentMFA
|
|
5143
|
+
* says the window is open. Setting a new limit or lowering one needs no MFA.
|
|
4570
5144
|
*
|
|
4571
5145
|
* Errors:
|
|
4572
5146
|
* - INVALID_ARGUMENT: malformed request.
|
|
5147
|
+
* - PERMISSION_DENIED: auth.v1 AuthErrorDetail AUTH_STEP_UP_REQUIRED or
|
|
5148
|
+
* AUTH_RECENT_MFA_EXPIRED; complete a fresh step-up and retry.
|
|
5149
|
+
* - ABORTED: the limits changed at the same time; read them and retry.
|
|
4573
5150
|
* - UNAVAILABLE: SERVICE_UNAVAILABLE; retry the same request.
|
|
4574
5151
|
* - UNAUTHENTICATED: missing or invalid credentials.
|
|
4575
5152
|
*
|
|
@@ -4580,7 +5157,96 @@ declare const AssistantService: GenService<{
|
|
|
4580
5157
|
input: typeof SetTelegramApprovalLimitsRequestSchema;
|
|
4581
5158
|
output: typeof SetTelegramApprovalLimitsResponseSchema;
|
|
4582
5159
|
};
|
|
5160
|
+
/**
|
|
5161
|
+
* SetModelKey saves the caller's own OpenAI API key, replacing any earlier
|
|
5162
|
+
* one. The key is checked with a small request to OpenAI first and saved
|
|
5163
|
+
* only when OpenAI accepts it for the assistant's model; it is stored
|
|
5164
|
+
* encrypted and never returned. From then on, every model request of the
|
|
5165
|
+
* caller's runs, on any channel, uses this key and is billed to its OpenAI
|
|
5166
|
+
* account instead of the assistant's own allowance; the per-run limits and
|
|
5167
|
+
* the request rate limits still apply. A run uses only the key saved when
|
|
5168
|
+
* its message was sent: replacing or deleting that key never moves the run
|
|
5169
|
+
* to another key or to the assistant's allowance, so the run either
|
|
5170
|
+
* finishes on its key or ends with MODEL_KEY_REFUSED. When OpenAI refuses
|
|
5171
|
+
* the key during a run, the run ends with MODEL_KEY_REFUSED. Only a
|
|
5172
|
+
* signed-in session sets it.
|
|
5173
|
+
*
|
|
5174
|
+
* Errors:
|
|
5175
|
+
* - INVALID_ARGUMENT: malformed request, including a value that is not an
|
|
5176
|
+
* OpenAI secret API key.
|
|
5177
|
+
* - FAILED_PRECONDITION: MODEL_KEY_REJECTED, MODEL_KEY_NO_QUOTA or
|
|
5178
|
+
* MODEL_KEY_MODEL_UNAVAILABLE; nothing was saved.
|
|
5179
|
+
* - RESOURCE_EXHAUSTED: USAGE_LIMIT_REACHED; retry later.
|
|
5180
|
+
* - UNAVAILABLE: SERVICE_UNAVAILABLE, including when OpenAI could not be
|
|
5181
|
+
* reached to check the key; nothing was saved. Retry the request.
|
|
5182
|
+
* - UNAUTHENTICATED: missing or invalid credentials.
|
|
5183
|
+
* - PERMISSION_DENIED: the request was made with an API key.
|
|
5184
|
+
*
|
|
5185
|
+
* @generated from rpc ai.v1.AssistantService.SetModelKey
|
|
5186
|
+
*/
|
|
5187
|
+
setModelKey: {
|
|
5188
|
+
methodKind: "unary";
|
|
5189
|
+
input: typeof SetModelKeyRequestSchema;
|
|
5190
|
+
output: typeof SetModelKeyResponseSchema;
|
|
5191
|
+
};
|
|
5192
|
+
/**
|
|
5193
|
+
* GetModelKey reads the status of the caller's own OpenAI API key: its
|
|
5194
|
+
* last four characters, when it was saved, and its last check. The key
|
|
5195
|
+
* itself is never returned.
|
|
5196
|
+
*
|
|
5197
|
+
* Errors:
|
|
5198
|
+
* - UNAVAILABLE: SERVICE_UNAVAILABLE; retry later.
|
|
5199
|
+
* - UNAUTHENTICATED: missing or invalid credentials.
|
|
5200
|
+
* - PERMISSION_DENIED: the request was made with an API key.
|
|
5201
|
+
*
|
|
5202
|
+
* @generated from rpc ai.v1.AssistantService.GetModelKey
|
|
5203
|
+
*/
|
|
5204
|
+
getModelKey: {
|
|
5205
|
+
methodKind: "unary";
|
|
5206
|
+
input: typeof GetModelKeyRequestSchema;
|
|
5207
|
+
output: typeof GetModelKeyResponseSchema;
|
|
5208
|
+
};
|
|
5209
|
+
/**
|
|
5210
|
+
* DeleteModelKey deletes the caller's own OpenAI API key. Messages sent
|
|
5211
|
+
* after it use the assistant's own allowance again. A run of a message sent
|
|
5212
|
+
* before it never moves to the assistant's allowance: it finishes on the
|
|
5213
|
+
* deleted key or ends with MODEL_KEY_REFUSED. Deleting when there is no key
|
|
5214
|
+
* succeeds.
|
|
5215
|
+
*
|
|
5216
|
+
* Errors:
|
|
5217
|
+
* - UNAVAILABLE: SERVICE_UNAVAILABLE; retry the request.
|
|
5218
|
+
* - UNAUTHENTICATED: missing or invalid credentials.
|
|
5219
|
+
* - PERMISSION_DENIED: the request was made with an API key.
|
|
5220
|
+
*
|
|
5221
|
+
* @generated from rpc ai.v1.AssistantService.DeleteModelKey
|
|
5222
|
+
*/
|
|
5223
|
+
deleteModelKey: {
|
|
5224
|
+
methodKind: "unary";
|
|
5225
|
+
input: typeof DeleteModelKeyRequestSchema;
|
|
5226
|
+
output: typeof DeleteModelKeyResponseSchema;
|
|
5227
|
+
};
|
|
5228
|
+
/**
|
|
5229
|
+
* GetUsage reads the caller's assistant credits today: the free daily
|
|
5230
|
+
* credits of the caller's VIP tier, how many are used and left, when they
|
|
5231
|
+
* reset, what pays for the caller's next messages, and the next VIP tier's
|
|
5232
|
+
* free credits. A message is answered while free credits are left, or on
|
|
5233
|
+
* the caller's own OpenAI API key, which uses none. Only a signed-in
|
|
5234
|
+
* session reads it.
|
|
5235
|
+
*
|
|
5236
|
+
* Errors:
|
|
5237
|
+
* - RESOURCE_EXHAUSTED: USAGE_LIMIT_REACHED; retry later.
|
|
5238
|
+
* - UNAVAILABLE: SERVICE_UNAVAILABLE; retry later.
|
|
5239
|
+
* - UNAUTHENTICATED: missing or invalid credentials.
|
|
5240
|
+
* - PERMISSION_DENIED: the request was made with an API key.
|
|
5241
|
+
*
|
|
5242
|
+
* @generated from rpc ai.v1.AssistantService.GetUsage
|
|
5243
|
+
*/
|
|
5244
|
+
getUsage: {
|
|
5245
|
+
methodKind: "unary";
|
|
5246
|
+
input: typeof GetUsageRequestSchema;
|
|
5247
|
+
output: typeof GetUsageResponseSchema;
|
|
5248
|
+
};
|
|
4583
5249
|
}>;
|
|
4584
5250
|
//#endregion
|
|
4585
|
-
export { AccountSelection, AccountSelectionSchema, ApprovalDecision, ApprovalDecisionSchema, ApprovalParameter, ApprovalParameterSchema, ApprovalRequested, ApprovalRequestedSchema, ApprovalResolved, ApprovalResolvedSchema, ApprovalStatus, ApprovalStatusSchema, AssistantKey, AssistantKeyAccount, AssistantKeyAccountSchema, AssistantKeySchema, AssistantKeyState, AssistantKeyStateSchema, AssistantKeyView, AssistantKeyViewSchema, AssistantService, AttachedExit, AttachedExitSchema, AttachedExits, AttachedExitsSchema, AttachedTrailingStop, AttachedTrailingStopSchema, BalanceHistoryChart, BalanceHistoryChartSchema, BalancesTable, BalancesTableSchema, CancelOrdersPreview, CancelOrdersPreviewSchema, CancelRunRequest, CancelRunRequestSchema, CancelRunResponse, CancelRunResponseSchema, CancelTriggerPreview, CancelTriggerPreviewSchema, CompleteAssistantKeysRequest, CompleteAssistantKeysRequestSchema, CompleteAssistantKeysResponse, CompleteAssistantKeysResponseSchema, Conversation, ConversationSchema, CurrentPage, CurrentPageSchema, DecideApprovalRequest, DecideApprovalRequestSchema, DecideApprovalResponse, DecideApprovalResponseSchema, DeleteMemoryRequest, DeleteMemoryRequestSchema, DeleteMemoryResponse, DeleteMemoryResponseSchema, DepositAddressCard, DepositAddressCardSchema, Destination, DestinationSchema, DestinationsSuggested, DestinationsSuggestedSchema, DiscardPartial, DiscardPartialSchema, DisplaySetting, DisplaySettingAction, DisplaySettingActionSchema, DisplaySettingSchema, EquityHistoryChart, EquityHistoryChartSchema, ErrorCode, ErrorCodeSchema, ErrorDetail, ErrorDetailSchema, FailureCategory, FailureCategorySchema, GetTelegramApprovalLimitsRequest, GetTelegramApprovalLimitsRequestSchema, GetTelegramApprovalLimitsResponse, GetTelegramApprovalLimitsResponseSchema, LadderLevel, LadderLevelSchema, LadderPreview, LadderPreviewSchema, LimitOrderPreview, LimitOrderPreviewSchema, ListAssistantKeysRequest, ListAssistantKeysRequestSchema, ListAssistantKeysResponse, ListAssistantKeysResponseSchema, ListConversationsRequest, ListConversationsRequestSchema, ListConversationsResponse, ListConversationsResponseSchema, ListMemoriesRequest, ListMemoriesRequestSchema, ListMemoriesResponse, ListMemoriesResponseSchema, ListMessagesRequest, ListMessagesRequestSchema, ListMessagesResponse, ListMessagesResponseSchema, MarkdownTable, MarkdownTableRow, MarkdownTableRowSchema, MarkdownTableSchema, MarketOrderPreview, MarketOrderPreviewSchema, MemoriesRecalled, MemoriesRecalledSchema, Memory, MemoryKind, MemoryKindSchema, MemorySchema, Message, MessageRole, MessageRoleSchema, MessageSchema, OrderChange, OrderChangePreview, OrderChangePreviewSchema, OrderChangeSchema, OrderPreview, OrderPreviewSchema, OrderPriceField, OrderPriceFieldSchema, OrderToCancel, OrderToCancelSchema, OrdersTable, OrdersTableSchema, PlaceOrdersPreview, PlaceOrdersPreviewSchema, PrepareAssistantKeysRequest, PrepareAssistantKeysRequestSchema, PrepareAssistantKeysResponse, PrepareAssistantKeysResponseSchema, PreparedAssistantKey, PreparedAssistantKeySchema, PriceChart, PriceChartSchema, PriceOffsetDirection, PriceOffsetDirectionSchema, PriceRounding, PriceRoundingSchema, QuoteValue, QuoteValueSchema, RecalledMemory, RecalledMemorySchema, ReferencePrice, ReferencePriceSchema, ReferencePriceSource, ReferencePriceSourceSchema, RelativePrice, RelativePriceSchema, RunCompleted, RunCompletedSchema, RunEvent, RunEventSchema, RunFailed, RunFailedSchema, SendMessageRequest, SendMessageRequestSchema, SendMessageResponse, SendMessageResponseSchema, SetTelegramApprovalLimitsRequest, SetTelegramApprovalLimitsRequestSchema, SetTelegramApprovalLimitsResponse, SetTelegramApprovalLimitsResponseSchema, SkillLoaded, SkillLoadedSchema, StopOrderPreview, StopOrderPreviewSchema, SubagentFinished, SubagentFinishedSchema, SubagentStarted, SubagentStartedSchema, SwapLegPreview, SwapLegPreviewSchema, SwapPreview, SwapPreviewSchema, TelegramApprovalLimits, TelegramApprovalLimitsSchema, TextDelta, TextDeltaSchema, ToolFinished, ToolFinishedSchema, ToolStarted, ToolStartedSchema, TrailingStopPreview, TrailingStopPreviewSchema, TransfersTable, TransfersTableSchema, TriggerChangeAction, TriggerChangeActionSchema, TriggerChangePreview, TriggerChangePreviewSchema, TriggerDirection, TriggerDirectionSchema, TriggerSettings, TriggerSettingsSchema, TriggersTable, TriggersTableSchema, TwapPreview, TwapPreviewSchema, UnfilledSlicePolicy, UnfilledSlicePolicySchema, Usage, UsageSchema, View, ViewSchema, WatchRunRequest, WatchRunRequestSchema, WatchRunResponse, WatchRunResponseSchema, assistant_pb_d_exports, file_ai_v1_assistant };
|
|
5251
|
+
export { AccountSelection, AccountSelectionSchema, ApprovalDecision, ApprovalDecisionSchema, ApprovalParameter, ApprovalParameterSchema, ApprovalRequested, ApprovalRequestedSchema, ApprovalResolved, ApprovalResolvedSchema, ApprovalStatus, ApprovalStatusSchema, AssistantKey, AssistantKeyAccount, AssistantKeyAccountSchema, AssistantKeySchema, AssistantKeyState, AssistantKeyStateSchema, AssistantKeyView, AssistantKeyViewSchema, AssistantService, AttachedExit, AttachedExitSchema, AttachedExits, AttachedExitsSchema, AttachedTrailingStop, AttachedTrailingStopSchema, BalanceHistoryChart, BalanceHistoryChartSchema, BalancesTable, BalancesTableSchema, CancelOrdersPreview, CancelOrdersPreviewSchema, CancelRunRequest, CancelRunRequestSchema, CancelRunResponse, CancelRunResponseSchema, CancelTriggerPreview, CancelTriggerPreviewSchema, CompleteAssistantKeysRequest, CompleteAssistantKeysRequestSchema, CompleteAssistantKeysResponse, CompleteAssistantKeysResponseSchema, Conversation, ConversationSchema, CurrentPage, CurrentPageSchema, DecideApprovalRequest, DecideApprovalRequestSchema, DecideApprovalResponse, DecideApprovalResponseSchema, DeleteMemoryRequest, DeleteMemoryRequestSchema, DeleteMemoryResponse, DeleteMemoryResponseSchema, DeleteModelKeyRequest, DeleteModelKeyRequestSchema, DeleteModelKeyResponse, DeleteModelKeyResponseSchema, DepositAddressCard, DepositAddressCardSchema, Destination, DestinationSchema, DestinationsSuggested, DestinationsSuggestedSchema, DiscardPartial, DiscardPartialSchema, DisplaySetting, DisplaySettingAction, DisplaySettingActionSchema, DisplaySettingSchema, EquityHistoryChart, EquityHistoryChartSchema, ErrorCode, ErrorCodeSchema, ErrorDetail, ErrorDetailSchema, FailureCategory, FailureCategorySchema, FundingMode, FundingModeSchema, GetMessageImageRequest, GetMessageImageRequestSchema, GetMessageImageResponse, GetMessageImageResponseSchema, GetModelKeyRequest, GetModelKeyRequestSchema, GetModelKeyResponse, GetModelKeyResponseSchema, GetTelegramApprovalLimitsRequest, GetTelegramApprovalLimitsRequestSchema, GetTelegramApprovalLimitsResponse, GetTelegramApprovalLimitsResponseSchema, GetUsageRequest, GetUsageRequestSchema, GetUsageResponse, GetUsageResponseSchema, ImageAttachment, ImageAttachmentSchema, LadderLevel, LadderLevelSchema, LadderPreview, LadderPreviewSchema, LimitOrderPreview, LimitOrderPreviewSchema, ListAssistantKeysRequest, ListAssistantKeysRequestSchema, ListAssistantKeysResponse, ListAssistantKeysResponseSchema, ListConversationsRequest, ListConversationsRequestSchema, ListConversationsResponse, ListConversationsResponseSchema, ListMemoriesRequest, ListMemoriesRequestSchema, ListMemoriesResponse, ListMemoriesResponseSchema, ListMessagesRequest, ListMessagesRequestSchema, ListMessagesResponse, ListMessagesResponseSchema, MarkdownTable, MarkdownTableRow, MarkdownTableRowSchema, MarkdownTableSchema, MarketOrderPreview, MarketOrderPreviewSchema, MemoriesRecalled, MemoriesRecalledSchema, Memory, MemoryKind, MemoryKindSchema, MemorySchema, Message, MessageImage, MessageImageSchema, MessageRole, MessageRoleSchema, MessageSchema, ModelKey, ModelKeyCheck, ModelKeyCheckSchema, ModelKeySchema, OrderChange, OrderChangePreview, OrderChangePreviewSchema, OrderChangeSchema, OrderPreview, OrderPreviewSchema, OrderPriceField, OrderPriceFieldSchema, OrderToCancel, OrderToCancelSchema, OrdersTable, OrdersTableSchema, PlaceOrdersPreview, PlaceOrdersPreviewSchema, PrepareAssistantKeysRequest, PrepareAssistantKeysRequestSchema, PrepareAssistantKeysResponse, PrepareAssistantKeysResponseSchema, PreparedAssistantKey, PreparedAssistantKeySchema, PriceChart, PriceChartSchema, PriceOffsetDirection, PriceOffsetDirectionSchema, PriceRounding, PriceRoundingSchema, QuoteValue, QuoteValueSchema, RecalledMemory, RecalledMemorySchema, ReferencePrice, ReferencePriceSchema, ReferencePriceSource, ReferencePriceSourceSchema, RelativePrice, RelativePriceSchema, RunCompleted, RunCompletedSchema, RunEvent, RunEventSchema, RunFailed, RunFailedSchema, SendMessageRequest, SendMessageRequestSchema, SendMessageResponse, SendMessageResponseSchema, SetModelKeyRequest, SetModelKeyRequestSchema, SetModelKeyResponse, SetModelKeyResponseSchema, SetTelegramApprovalLimitsRequest, SetTelegramApprovalLimitsRequestSchema, SetTelegramApprovalLimitsResponse, SetTelegramApprovalLimitsResponseSchema, SkillLoaded, SkillLoadedSchema, StopOrderPreview, StopOrderPreviewSchema, SubagentFinished, SubagentFinishedSchema, SubagentStarted, SubagentStartedSchema, SwapLegPreview, SwapLegPreviewSchema, SwapPreview, SwapPreviewSchema, TelegramApprovalLimits, TelegramApprovalLimitsSchema, TextDelta, TextDeltaSchema, TierCredits, TierCreditsSchema, ToolFinished, ToolFinishedSchema, ToolStarted, ToolStartedSchema, TrailingStopPreview, TrailingStopPreviewSchema, TransfersTable, TransfersTableSchema, TriggerChangeAction, TriggerChangeActionSchema, TriggerChangePreview, TriggerChangePreviewSchema, TriggerDirection, TriggerDirectionSchema, TriggerSettings, TriggerSettingsSchema, TriggersTable, TriggersTableSchema, TwapPreview, TwapPreviewSchema, UnfilledSlicePolicy, UnfilledSlicePolicySchema, Usage, UsageSchema, View, ViewSchema, WatchRunRequest, WatchRunRequestSchema, WatchRunResponse, WatchRunResponseSchema, assistant_pb_d_exports, file_ai_v1_assistant };
|
|
4586
5252
|
//# sourceMappingURL=assistant_pb.d.ts.map
|