@robosystems/client 0.2.5 → 0.2.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@robosystems/client",
3
- "version": "0.2.5",
3
+ "version": "0.2.6",
4
4
  "description": "TypeScript client library for RoboSystems Financial Knowledge Graph API",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -455,6 +455,17 @@ export type AvailableExtensionsResponse = {
455
455
  */
456
456
  extensions: Array<AvailableExtension>;
457
457
  };
458
+ /**
459
+ * AvailableGraphTiersResponse
460
+ * Response containing available graph tiers.
461
+ */
462
+ export type AvailableGraphTiersResponse = {
463
+ /**
464
+ * Tiers
465
+ * List of available tiers
466
+ */
467
+ tiers: Array<GraphTierInfo>;
468
+ };
458
469
  /**
459
470
  * BackupCreateRequest
460
471
  * Request model for creating a backup.
@@ -2051,6 +2062,293 @@ export type GraphMetricsResponse = {
2051
2062
  [key: string]: unknown;
2052
2063
  };
2053
2064
  };
2065
+ /**
2066
+ * GraphSubscriptionTier
2067
+ * Information about a graph subscription tier.
2068
+ */
2069
+ export type GraphSubscriptionTier = {
2070
+ /**
2071
+ * Name
2072
+ * Tier name
2073
+ */
2074
+ name: string;
2075
+ /**
2076
+ * Display Name
2077
+ * Display name for UI
2078
+ */
2079
+ display_name: string;
2080
+ /**
2081
+ * Description
2082
+ * Tier description
2083
+ */
2084
+ description: string;
2085
+ /**
2086
+ * Monthly Price
2087
+ * Monthly price in USD
2088
+ */
2089
+ monthly_price: number;
2090
+ /**
2091
+ * Monthly Credits
2092
+ * Monthly AI credits
2093
+ */
2094
+ monthly_credits: number;
2095
+ /**
2096
+ * Storage Included Gb
2097
+ * Storage included in GB
2098
+ */
2099
+ storage_included_gb: number;
2100
+ /**
2101
+ * Storage Overage Per Gb
2102
+ * Overage cost per GB per month
2103
+ */
2104
+ storage_overage_per_gb: number;
2105
+ /**
2106
+ * Allowed Graph Tiers
2107
+ * Allowed graph tier identifiers
2108
+ */
2109
+ allowed_graph_tiers: Array<string>;
2110
+ /**
2111
+ * Features
2112
+ * List of features
2113
+ */
2114
+ features: Array<string>;
2115
+ /**
2116
+ * Backup Retention Days
2117
+ * Backup retention in days
2118
+ */
2119
+ backup_retention_days: number;
2120
+ /**
2121
+ * Priority Support
2122
+ * Whether priority support is included
2123
+ */
2124
+ priority_support: boolean;
2125
+ /**
2126
+ * Max Queries Per Hour
2127
+ * Maximum queries per hour
2128
+ */
2129
+ max_queries_per_hour?: number | null;
2130
+ /**
2131
+ * Max Subgraphs
2132
+ * Maximum subgraphs
2133
+ */
2134
+ max_subgraphs?: number | null;
2135
+ /**
2136
+ * Api Rate Multiplier
2137
+ * API rate multiplier
2138
+ */
2139
+ api_rate_multiplier: number;
2140
+ /**
2141
+ * Backend
2142
+ * Database backend (kuzu or neo4j)
2143
+ */
2144
+ backend: string;
2145
+ /**
2146
+ * Instance Type
2147
+ * Instance type
2148
+ */
2149
+ instance_type?: string | null;
2150
+ };
2151
+ /**
2152
+ * GraphSubscriptions
2153
+ * Graph subscription offerings.
2154
+ */
2155
+ export type GraphSubscriptions = {
2156
+ /**
2157
+ * Description
2158
+ * Description of graph subscriptions
2159
+ */
2160
+ description: string;
2161
+ /**
2162
+ * Tiers
2163
+ * Available tiers
2164
+ */
2165
+ tiers: Array<GraphSubscriptionTier>;
2166
+ /**
2167
+ * Storage information
2168
+ */
2169
+ storage: StorageInfo;
2170
+ /**
2171
+ * Notes
2172
+ * Important notes
2173
+ */
2174
+ notes: Array<string>;
2175
+ };
2176
+ /**
2177
+ * GraphTierBackup
2178
+ * Backup configuration for a tier.
2179
+ */
2180
+ export type GraphTierBackup = {
2181
+ /**
2182
+ * Max Backup Size Gb
2183
+ * Maximum backup size in GB
2184
+ */
2185
+ max_backup_size_gb: number;
2186
+ /**
2187
+ * Backup Retention Days
2188
+ * Backup retention period in days
2189
+ */
2190
+ backup_retention_days: number;
2191
+ /**
2192
+ * Max Backups Per Day
2193
+ * Maximum backups per day
2194
+ */
2195
+ max_backups_per_day: number;
2196
+ };
2197
+ /**
2198
+ * GraphTierCopyOperations
2199
+ * Copy operation limits for a tier.
2200
+ */
2201
+ export type GraphTierCopyOperations = {
2202
+ /**
2203
+ * Max File Size Gb
2204
+ * Maximum file size in GB
2205
+ */
2206
+ max_file_size_gb: number;
2207
+ /**
2208
+ * Timeout Seconds
2209
+ * Operation timeout in seconds
2210
+ */
2211
+ timeout_seconds: number;
2212
+ /**
2213
+ * Concurrent Operations
2214
+ * Maximum concurrent operations
2215
+ */
2216
+ concurrent_operations: number;
2217
+ /**
2218
+ * Max Files Per Operation
2219
+ * Maximum files per operation
2220
+ */
2221
+ max_files_per_operation: number;
2222
+ /**
2223
+ * Daily Copy Operations
2224
+ * Daily operation limit
2225
+ */
2226
+ daily_copy_operations: number;
2227
+ };
2228
+ /**
2229
+ * GraphTierInfo
2230
+ * Complete information about a graph database tier.
2231
+ */
2232
+ export type GraphTierInfo = {
2233
+ /**
2234
+ * Tier
2235
+ * Tier identifier
2236
+ */
2237
+ tier: string;
2238
+ /**
2239
+ * Name
2240
+ * Tier name
2241
+ */
2242
+ name: string;
2243
+ /**
2244
+ * Display Name
2245
+ * Display name for UI
2246
+ */
2247
+ display_name: string;
2248
+ /**
2249
+ * Description
2250
+ * Tier description
2251
+ */
2252
+ description: string;
2253
+ /**
2254
+ * Backend
2255
+ * Database backend (kuzu or neo4j)
2256
+ */
2257
+ backend: string;
2258
+ /**
2259
+ * Enabled
2260
+ * Whether tier is available
2261
+ */
2262
+ enabled: boolean;
2263
+ /**
2264
+ * Max Subgraphs
2265
+ * Maximum subgraphs allowed
2266
+ */
2267
+ max_subgraphs: number | null;
2268
+ /**
2269
+ * Storage Limit Gb
2270
+ * Storage limit in GB
2271
+ */
2272
+ storage_limit_gb: number;
2273
+ /**
2274
+ * Monthly Credits
2275
+ * Monthly AI credits
2276
+ */
2277
+ monthly_credits: number;
2278
+ /**
2279
+ * Api Rate Multiplier
2280
+ * API rate limit multiplier
2281
+ */
2282
+ api_rate_multiplier: number;
2283
+ /**
2284
+ * Monthly Price
2285
+ * Monthly price in USD
2286
+ */
2287
+ monthly_price?: number | null;
2288
+ /**
2289
+ * Features
2290
+ * List of tier features
2291
+ */
2292
+ features: Array<string>;
2293
+ /**
2294
+ * Instance specifications
2295
+ */
2296
+ instance: GraphTierInstance;
2297
+ /**
2298
+ * Resource limits
2299
+ */
2300
+ limits: GraphTierLimits;
2301
+ };
2302
+ /**
2303
+ * GraphTierInstance
2304
+ * Instance specifications for a tier.
2305
+ */
2306
+ export type GraphTierInstance = {
2307
+ /**
2308
+ * Type
2309
+ * Instance type identifier
2310
+ */
2311
+ type: string;
2312
+ /**
2313
+ * Memory Mb
2314
+ * Memory in megabytes
2315
+ */
2316
+ memory_mb: number;
2317
+ /**
2318
+ * Databases Per Instance
2319
+ * Databases per instance
2320
+ */
2321
+ databases_per_instance: number;
2322
+ };
2323
+ /**
2324
+ * GraphTierLimits
2325
+ * Resource limits for a tier.
2326
+ */
2327
+ export type GraphTierLimits = {
2328
+ /**
2329
+ * Storage Gb
2330
+ * Storage limit in GB
2331
+ */
2332
+ storage_gb: number;
2333
+ /**
2334
+ * Monthly Credits
2335
+ * Monthly credit allocation
2336
+ */
2337
+ monthly_credits: number;
2338
+ /**
2339
+ * Max Subgraphs
2340
+ * Maximum subgraphs (null for unlimited)
2341
+ */
2342
+ max_subgraphs: number | null;
2343
+ /**
2344
+ * Copy operation limits
2345
+ */
2346
+ copy_operations: GraphTierCopyOperations;
2347
+ /**
2348
+ * Backup configuration
2349
+ */
2350
+ backup: GraphTierBackup;
2351
+ };
2054
2352
  /**
2055
2353
  * GraphUsageResponse
2056
2354
  * Response model for graph usage statistics.
@@ -2400,6 +2698,84 @@ export type OAuthInitResponse = {
2400
2698
  */
2401
2699
  expires_at: string;
2402
2700
  };
2701
+ /**
2702
+ * OfferingRepositoryPlan
2703
+ * Information about a repository plan.
2704
+ */
2705
+ export type OfferingRepositoryPlan = {
2706
+ /**
2707
+ * Plan
2708
+ * Plan identifier
2709
+ */
2710
+ plan: string;
2711
+ /**
2712
+ * Name
2713
+ * Plan name
2714
+ */
2715
+ name: string;
2716
+ /**
2717
+ * Monthly Price
2718
+ * Monthly price in USD
2719
+ */
2720
+ monthly_price: number;
2721
+ /**
2722
+ * Monthly Credits
2723
+ * Monthly credit allocation
2724
+ */
2725
+ monthly_credits: number;
2726
+ /**
2727
+ * Access Level
2728
+ * Access level
2729
+ */
2730
+ access_level: string;
2731
+ /**
2732
+ * Features
2733
+ * List of features
2734
+ */
2735
+ features: Array<string>;
2736
+ /**
2737
+ * Rate Limits
2738
+ * Rate limits for this plan
2739
+ */
2740
+ rate_limits?: {
2741
+ [key: string]: number | null;
2742
+ } | null;
2743
+ };
2744
+ /**
2745
+ * OperationCosts
2746
+ * Operation cost information.
2747
+ */
2748
+ export type OperationCosts = {
2749
+ /**
2750
+ * Description
2751
+ * Description of operation costs
2752
+ */
2753
+ description: string;
2754
+ /**
2755
+ * Ai Operations
2756
+ * Base costs for AI operations
2757
+ */
2758
+ ai_operations: {
2759
+ [key: string]: number;
2760
+ };
2761
+ /**
2762
+ * Token Pricing
2763
+ * Token pricing by model
2764
+ */
2765
+ token_pricing: {
2766
+ [key: string]: TokenPricing;
2767
+ };
2768
+ /**
2769
+ * Included Operations
2770
+ * Operations that don't consume credits
2771
+ */
2772
+ included_operations: Array<string>;
2773
+ /**
2774
+ * Notes
2775
+ * Important notes about costs
2776
+ */
2777
+ notes: Array<string>;
2778
+ };
2403
2779
  /**
2404
2780
  * PasswordCheckRequest
2405
2781
  * Password strength check request model.
@@ -2616,11 +2992,68 @@ export type RepositoryCreditsResponse = {
2616
2992
  */
2617
2993
  credits?: CreditSummary | null;
2618
2994
  };
2995
+ /**
2996
+ * RepositoryInfo
2997
+ * Information about a shared repository.
2998
+ */
2999
+ export type RepositoryInfo = {
3000
+ /**
3001
+ * Type
3002
+ * Repository type identifier
3003
+ */
3004
+ type: string;
3005
+ /**
3006
+ * Name
3007
+ * Repository name
3008
+ */
3009
+ name: string;
3010
+ /**
3011
+ * Description
3012
+ * Repository description
3013
+ */
3014
+ description: string;
3015
+ /**
3016
+ * Enabled
3017
+ * Whether repository is enabled
3018
+ */
3019
+ enabled: boolean;
3020
+ /**
3021
+ * Coming Soon
3022
+ * Whether repository is coming soon
3023
+ */
3024
+ coming_soon: boolean;
3025
+ /**
3026
+ * Plans
3027
+ * Available plans
3028
+ */
3029
+ plans: Array<OfferingRepositoryPlan>;
3030
+ };
2619
3031
  /**
2620
3032
  * RepositoryPlan
2621
3033
  * Repository access plans for shared data.
2622
3034
  */
2623
3035
  export type RepositoryPlan = 'starter' | 'advanced' | 'unlimited';
3036
+ /**
3037
+ * RepositorySubscriptions
3038
+ * Repository subscription offerings.
3039
+ */
3040
+ export type RepositorySubscriptions = {
3041
+ /**
3042
+ * Description
3043
+ * Description of repository subscriptions
3044
+ */
3045
+ description: string;
3046
+ /**
3047
+ * Repositories
3048
+ * Available repositories
3049
+ */
3050
+ repositories: Array<RepositoryInfo>;
3051
+ /**
3052
+ * Notes
3053
+ * Important notes
3054
+ */
3055
+ notes: Array<string>;
3056
+ };
2624
3057
  /**
2625
3058
  * RepositoryType
2626
3059
  * Types of shared repositories.
@@ -2902,6 +3335,74 @@ export type SelectionCriteria = {
2902
3335
  */
2903
3336
  excluded_agents?: Array<string>;
2904
3337
  };
3338
+ /**
3339
+ * ServiceOfferingSummary
3340
+ * Summary of service offerings.
3341
+ */
3342
+ export type ServiceOfferingSummary = {
3343
+ /**
3344
+ * Total Graph Tiers
3345
+ * Total number of graph tiers
3346
+ */
3347
+ total_graph_tiers: number;
3348
+ /**
3349
+ * Total Repositories
3350
+ * Total number of repositories
3351
+ */
3352
+ total_repositories: number;
3353
+ /**
3354
+ * Enabled Repositories
3355
+ * Number of enabled repositories
3356
+ */
3357
+ enabled_repositories: number;
3358
+ /**
3359
+ * Coming Soon Repositories
3360
+ * Number of coming soon repositories
3361
+ */
3362
+ coming_soon_repositories: number;
3363
+ };
3364
+ /**
3365
+ * ServiceOfferingsResponse
3366
+ * Complete service offerings response.
3367
+ */
3368
+ export type ServiceOfferingsResponse = {
3369
+ /**
3370
+ * Graph subscription offerings
3371
+ */
3372
+ graph_subscriptions: GraphSubscriptions;
3373
+ /**
3374
+ * Repository subscription offerings
3375
+ */
3376
+ repository_subscriptions: RepositorySubscriptions;
3377
+ /**
3378
+ * Operation cost information
3379
+ */
3380
+ operation_costs: OperationCosts;
3381
+ /**
3382
+ * Summary information
3383
+ */
3384
+ summary: ServiceOfferingSummary;
3385
+ };
3386
+ /**
3387
+ * StorageInfo
3388
+ * Storage pricing information.
3389
+ */
3390
+ export type StorageInfo = {
3391
+ /**
3392
+ * Included Per Tier
3393
+ * Storage included per tier in GB
3394
+ */
3395
+ included_per_tier: {
3396
+ [key: string]: number;
3397
+ };
3398
+ /**
3399
+ * Overage Pricing
3400
+ * Overage pricing per GB per tier
3401
+ */
3402
+ overage_pricing: {
3403
+ [key: string]: number;
3404
+ };
3405
+ };
2905
3406
  /**
2906
3407
  * StorageLimitResponse
2907
3408
  * Storage limit information response.
@@ -3391,6 +3892,22 @@ export type TierUpgradeRequest = {
3391
3892
  */
3392
3893
  new_plan: RepositoryPlan;
3393
3894
  };
3895
+ /**
3896
+ * TokenPricing
3897
+ * AI token pricing for a specific model.
3898
+ */
3899
+ export type TokenPricing = {
3900
+ /**
3901
+ * Input Per 1K Tokens
3902
+ * Credits per 1K input tokens
3903
+ */
3904
+ input_per_1k_tokens: number;
3905
+ /**
3906
+ * Output Per 1K Tokens
3907
+ * Credits per 1K output tokens
3908
+ */
3909
+ output_per_1k_tokens: number;
3910
+ };
3394
3911
  /**
3395
3912
  * TransactionSummaryResponse
3396
3913
  * Summary of transactions by operation type.
@@ -7027,8 +7544,9 @@ export type GetAvailableGraphTiersResponses = {
7027
7544
  /**
7028
7545
  * Tiers retrieved successfully
7029
7546
  */
7030
- 200: unknown;
7547
+ 200: AvailableGraphTiersResponse;
7031
7548
  };
7549
+ export type GetAvailableGraphTiersResponse = GetAvailableGraphTiersResponses[keyof GetAvailableGraphTiersResponses];
7032
7550
  export type SelectGraphData = {
7033
7551
  body?: never;
7034
7552
  path: {
@@ -7083,8 +7601,9 @@ export type GetServiceOfferingsResponses = {
7083
7601
  /**
7084
7602
  * Complete service offerings retrieved successfully
7085
7603
  */
7086
- 200: unknown;
7604
+ 200: ServiceOfferingsResponse;
7087
7605
  };
7606
+ export type GetServiceOfferingsResponse = GetServiceOfferingsResponses[keyof GetServiceOfferingsResponses];
7088
7607
  export type StreamOperationEventsData = {
7089
7608
  body?: never;
7090
7609
  headers?: {