@inferencesh/sdk 0.6.4 → 0.6.5

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/dist/types.d.ts CHANGED
@@ -327,6 +327,271 @@ export interface SkillPublishRequest {
327
327
  user_invocable?: boolean;
328
328
  context: string;
329
329
  }
330
+ export interface AuthResponse {
331
+ user?: UserDTO;
332
+ session_id: string;
333
+ otp_required?: boolean;
334
+ redirect_to?: string;
335
+ provider?: string;
336
+ }
337
+ export interface TeamCreateRequest {
338
+ name: string;
339
+ username: string;
340
+ email: string;
341
+ }
342
+ export interface TeamSetupRequest {
343
+ username: string;
344
+ }
345
+ export interface TeamMemberAddRequest {
346
+ email: string;
347
+ role: TeamRole;
348
+ }
349
+ export interface TeamMemberUpdateRoleRequest {
350
+ role: TeamRole;
351
+ }
352
+ export interface IntegrationCompleteOAuthRequest {
353
+ provider: string;
354
+ type: string;
355
+ code: string;
356
+ state: string;
357
+ code_verifier?: string;
358
+ }
359
+ /**
360
+ * Scope represents an API key permission scope string.
361
+ */
362
+ export type Scope = string;
363
+ /**
364
+ * API Key Scopes - hierarchical permission system.
365
+ * Resource-level scopes (e.g., "agents") imply all action-level scopes (e.g., "agents:read").
366
+ * Empty scopes = full access (for backwards compatibility with existing keys).
367
+ */
368
+ export declare const ScopeAll: Scope;
369
+ /**
370
+ * Resource-level scopes (implies all actions)
371
+ */
372
+ export declare const ScopeAgents: Scope;
373
+ /**
374
+ * API Key Scopes - hierarchical permission system.
375
+ * Resource-level scopes (e.g., "agents") imply all action-level scopes (e.g., "agents:read").
376
+ * Empty scopes = full access (for backwards compatibility with existing keys).
377
+ */
378
+ export declare const ScopeApps: Scope;
379
+ /**
380
+ * API Key Scopes - hierarchical permission system.
381
+ * Resource-level scopes (e.g., "agents") imply all action-level scopes (e.g., "agents:read").
382
+ * Empty scopes = full access (for backwards compatibility with existing keys).
383
+ */
384
+ export declare const ScopeConversations: Scope;
385
+ /**
386
+ * API Key Scopes - hierarchical permission system.
387
+ * Resource-level scopes (e.g., "agents") imply all action-level scopes (e.g., "agents:read").
388
+ * Empty scopes = full access (for backwards compatibility with existing keys).
389
+ */
390
+ export declare const ScopeFiles: Scope;
391
+ /**
392
+ * API Key Scopes - hierarchical permission system.
393
+ * Resource-level scopes (e.g., "agents") imply all action-level scopes (e.g., "agents:read").
394
+ * Empty scopes = full access (for backwards compatibility with existing keys).
395
+ */
396
+ export declare const ScopeDatastores: Scope;
397
+ /**
398
+ * API Key Scopes - hierarchical permission system.
399
+ * Resource-level scopes (e.g., "agents") imply all action-level scopes (e.g., "agents:read").
400
+ * Empty scopes = full access (for backwards compatibility with existing keys).
401
+ */
402
+ export declare const ScopeTemplates: Scope;
403
+ /**
404
+ * API Key Scopes - hierarchical permission system.
405
+ * Resource-level scopes (e.g., "agents") imply all action-level scopes (e.g., "agents:read").
406
+ * Empty scopes = full access (for backwards compatibility with existing keys).
407
+ */
408
+ export declare const ScopeFlows: Scope;
409
+ /**
410
+ * API Key Scopes - hierarchical permission system.
411
+ * Resource-level scopes (e.g., "agents") imply all action-level scopes (e.g., "agents:read").
412
+ * Empty scopes = full access (for backwards compatibility with existing keys).
413
+ */
414
+ export declare const ScopeProjects: Scope;
415
+ /**
416
+ * API Key Scopes - hierarchical permission system.
417
+ * Resource-level scopes (e.g., "agents") imply all action-level scopes (e.g., "agents:read").
418
+ * Empty scopes = full access (for backwards compatibility with existing keys).
419
+ */
420
+ export declare const ScopeTeams: Scope;
421
+ /**
422
+ * API Key Scopes - hierarchical permission system.
423
+ * Resource-level scopes (e.g., "agents") imply all action-level scopes (e.g., "agents:read").
424
+ * Empty scopes = full access (for backwards compatibility with existing keys).
425
+ */
426
+ export declare const ScopeBilling: Scope;
427
+ /**
428
+ * Action-level scopes for Agents
429
+ */
430
+ export declare const ScopeAgentsRead: Scope;
431
+ /**
432
+ * API Key Scopes - hierarchical permission system.
433
+ * Resource-level scopes (e.g., "agents") imply all action-level scopes (e.g., "agents:read").
434
+ * Empty scopes = full access (for backwards compatibility with existing keys).
435
+ */
436
+ export declare const ScopeAgentsWrite: Scope;
437
+ /**
438
+ * API Key Scopes - hierarchical permission system.
439
+ * Resource-level scopes (e.g., "agents") imply all action-level scopes (e.g., "agents:read").
440
+ * Empty scopes = full access (for backwards compatibility with existing keys).
441
+ */
442
+ export declare const ScopeAgentsExecute: Scope;
443
+ /**
444
+ * Action-level scopes for Apps
445
+ */
446
+ export declare const ScopeAppsRead: Scope;
447
+ /**
448
+ * API Key Scopes - hierarchical permission system.
449
+ * Resource-level scopes (e.g., "agents") imply all action-level scopes (e.g., "agents:read").
450
+ * Empty scopes = full access (for backwards compatibility with existing keys).
451
+ */
452
+ export declare const ScopeAppsWrite: Scope;
453
+ /**
454
+ * API Key Scopes - hierarchical permission system.
455
+ * Resource-level scopes (e.g., "agents") imply all action-level scopes (e.g., "agents:read").
456
+ * Empty scopes = full access (for backwards compatibility with existing keys).
457
+ */
458
+ export declare const ScopeAppsExecute: Scope;
459
+ /**
460
+ * Action-level scopes for Conversations/Chats
461
+ */
462
+ export declare const ScopeConversationsRead: Scope;
463
+ /**
464
+ * API Key Scopes - hierarchical permission system.
465
+ * Resource-level scopes (e.g., "agents") imply all action-level scopes (e.g., "agents:read").
466
+ * Empty scopes = full access (for backwards compatibility with existing keys).
467
+ */
468
+ export declare const ScopeConversationsWrite: Scope;
469
+ /**
470
+ * Action-level scopes for Files
471
+ */
472
+ export declare const ScopeFilesRead: Scope;
473
+ /**
474
+ * API Key Scopes - hierarchical permission system.
475
+ * Resource-level scopes (e.g., "agents") imply all action-level scopes (e.g., "agents:read").
476
+ * Empty scopes = full access (for backwards compatibility with existing keys).
477
+ */
478
+ export declare const ScopeFilesWrite: Scope;
479
+ /**
480
+ * Action-level scopes for Datastores
481
+ */
482
+ export declare const ScopeDatastoresRead: Scope;
483
+ /**
484
+ * API Key Scopes - hierarchical permission system.
485
+ * Resource-level scopes (e.g., "agents") imply all action-level scopes (e.g., "agents:read").
486
+ * Empty scopes = full access (for backwards compatibility with existing keys).
487
+ */
488
+ export declare const ScopeDatastoresWrite: Scope;
489
+ /**
490
+ * Action-level scopes for Flows
491
+ */
492
+ export declare const ScopeFlowsRead: Scope;
493
+ /**
494
+ * API Key Scopes - hierarchical permission system.
495
+ * Resource-level scopes (e.g., "agents") imply all action-level scopes (e.g., "agents:read").
496
+ * Empty scopes = full access (for backwards compatibility with existing keys).
497
+ */
498
+ export declare const ScopeFlowsWrite: Scope;
499
+ /**
500
+ * API Key Scopes - hierarchical permission system.
501
+ * Resource-level scopes (e.g., "agents") imply all action-level scopes (e.g., "agents:read").
502
+ * Empty scopes = full access (for backwards compatibility with existing keys).
503
+ */
504
+ export declare const ScopeFlowsExecute: Scope;
505
+ /**
506
+ * Action-level scopes for Projects
507
+ */
508
+ export declare const ScopeProjectsRead: Scope;
509
+ /**
510
+ * API Key Scopes - hierarchical permission system.
511
+ * Resource-level scopes (e.g., "agents") imply all action-level scopes (e.g., "agents:read").
512
+ * Empty scopes = full access (for backwards compatibility with existing keys).
513
+ */
514
+ export declare const ScopeProjectsWrite: Scope;
515
+ /**
516
+ * Action-level scopes for Teams
517
+ */
518
+ export declare const ScopeTeamsRead: Scope;
519
+ /**
520
+ * API Key Scopes - hierarchical permission system.
521
+ * Resource-level scopes (e.g., "agents") imply all action-level scopes (e.g., "agents:read").
522
+ * Empty scopes = full access (for backwards compatibility with existing keys).
523
+ */
524
+ export declare const ScopeTeamsWrite: Scope;
525
+ /**
526
+ * Action-level scopes for Billing
527
+ */
528
+ export declare const ScopeBillingRead: Scope;
529
+ /**
530
+ * API Key Scopes - hierarchical permission system.
531
+ * Resource-level scopes (e.g., "agents") imply all action-level scopes (e.g., "agents:read").
532
+ * Empty scopes = full access (for backwards compatibility with existing keys).
533
+ */
534
+ export declare const ScopeBillingWrite: Scope;
535
+ /**
536
+ * Action-level scopes for Secrets (sensitive - not in read/run presets)
537
+ */
538
+ export declare const ScopeSecretsRead: Scope;
539
+ /**
540
+ * API Key Scopes - hierarchical permission system.
541
+ * Resource-level scopes (e.g., "agents") imply all action-level scopes (e.g., "agents:read").
542
+ * Empty scopes = full access (for backwards compatibility with existing keys).
543
+ */
544
+ export declare const ScopeSecretsWrite: Scope;
545
+ /**
546
+ * Action-level scopes for Integrations
547
+ */
548
+ export declare const ScopeIntegrationsRead: Scope;
549
+ /**
550
+ * API Key Scopes - hierarchical permission system.
551
+ * Resource-level scopes (e.g., "agents") imply all action-level scopes (e.g., "agents:read").
552
+ * Empty scopes = full access (for backwards compatibility with existing keys).
553
+ */
554
+ export declare const ScopeIntegrationsWrite: Scope;
555
+ /**
556
+ * Action-level scopes for Engines
557
+ */
558
+ export declare const ScopeEnginesRead: Scope;
559
+ /**
560
+ * API Key Scopes - hierarchical permission system.
561
+ * Resource-level scopes (e.g., "agents") imply all action-level scopes (e.g., "agents:read").
562
+ * Empty scopes = full access (for backwards compatibility with existing keys).
563
+ */
564
+ export declare const ScopeEnginesWrite: Scope;
565
+ /**
566
+ * Action-level scopes for API Keys
567
+ */
568
+ export declare const ScopeApiKeysRead: Scope;
569
+ /**
570
+ * API Key Scopes - hierarchical permission system.
571
+ * Resource-level scopes (e.g., "agents") imply all action-level scopes (e.g., "agents:read").
572
+ * Empty scopes = full access (for backwards compatibility with existing keys).
573
+ */
574
+ export declare const ScopeApiKeysWrite: Scope;
575
+ /**
576
+ * Action-level scopes for User profile
577
+ */
578
+ export declare const ScopeUserRead: Scope;
579
+ /**
580
+ * API Key Scopes - hierarchical permission system.
581
+ * Resource-level scopes (e.g., "agents") imply all action-level scopes (e.g., "agents:read").
582
+ * Empty scopes = full access (for backwards compatibility with existing keys).
583
+ */
584
+ export declare const ScopeUserWrite: Scope;
585
+ /**
586
+ * Action-level scopes for Settings/Notifications
587
+ */
588
+ export declare const ScopeSettingsRead: Scope;
589
+ /**
590
+ * API Key Scopes - hierarchical permission system.
591
+ * Resource-level scopes (e.g., "agents") imply all action-level scopes (e.g., "agents:read").
592
+ * Empty scopes = full access (for backwards compatibility with existing keys).
593
+ */
594
+ export declare const ScopeSettingsWrite: Scope;
330
595
  /**
331
596
  * ScopeGroup identifies a category of scopes for UI grouping
332
597
  */
@@ -350,7 +615,7 @@ export declare const ScopeGroupSettings: ScopeGroup;
350
615
  * ScopeDefinition describes a single scope for UI rendering
351
616
  */
352
617
  export interface ScopeDefinition {
353
- value: string;
618
+ value: Scope;
354
619
  label: string;
355
620
  description: string;
356
621
  group: ScopeGroup;
@@ -363,6 +628,14 @@ export interface ScopeGroupDefinition {
363
628
  label: string;
364
629
  description: string;
365
630
  }
631
+ /**
632
+ * ScopesResponse is the API response for GET /scopes
633
+ */
634
+ export interface ScopesResponse {
635
+ scopes: ScopeDefinition[];
636
+ groups: ScopeGroupDefinition[];
637
+ presets: ScopePreset[];
638
+ }
366
639
  /**
367
640
  * ScopePreset represents a predefined bundle of scopes for common use cases
368
641
  */
@@ -370,7 +643,18 @@ export interface ScopePreset {
370
643
  id: string;
371
644
  label: string;
372
645
  description: string;
373
- scopes: string[];
646
+ scopes: Scope[];
647
+ }
648
+ /**
649
+ * ApiKeyDTO for API responses
650
+ */
651
+ export interface ApiKeyDTO extends BaseModelDTO, PermissionModelDTO {
652
+ name: string;
653
+ key: string;
654
+ last_used_at: string;
655
+ expires_at?: string;
656
+ scopes: Scope[];
657
+ source?: string;
374
658
  }
375
659
  /**
376
660
  * AppPricing configures all pricing using CEL expressions.
@@ -792,6 +1076,20 @@ export interface WorkerRAM {
792
1076
  worker_id: string;
793
1077
  total: number;
794
1078
  }
1079
+ /**
1080
+ * EntitlementDTO for API responses
1081
+ */
1082
+ export interface EntitlementDTO extends BaseModelDTO {
1083
+ team_id: string;
1084
+ resource: EntitlementResource;
1085
+ type: EntitlementType;
1086
+ enabled: boolean;
1087
+ unlimited: boolean;
1088
+ limit: number;
1089
+ source: EntitlementSource;
1090
+ enforcement: EnforcementMode;
1091
+ expires_at?: string;
1092
+ }
795
1093
  /**
796
1094
  * FileMetadata holds probed media metadata cached on File records.
797
1095
  */
@@ -1002,6 +1300,56 @@ export interface InstanceTypeBootTime {
1002
1300
  updated_at: string;
1003
1301
  sample_size: number;
1004
1302
  }
1303
+ /**
1304
+ * IntegrationDTO for API responses (never exposes tokens)
1305
+ */
1306
+ export interface IntegrationDTO extends BaseModelDTO, PermissionModelDTO {
1307
+ provider: string;
1308
+ type: string;
1309
+ auth: string;
1310
+ status: string;
1311
+ display_name: string;
1312
+ icon_url?: string;
1313
+ scopes: StringSlice;
1314
+ expires_at?: string;
1315
+ service_account_email?: string;
1316
+ metadata?: {
1317
+ [key: string]: any;
1318
+ };
1319
+ account_identifier?: string;
1320
+ account_name?: string;
1321
+ is_primary: boolean;
1322
+ error_message?: string;
1323
+ }
1324
+ /**
1325
+ * IntegrationConfigDTO is the API response for integration configuration
1326
+ */
1327
+ export interface IntegrationConfigDTO {
1328
+ provider: string;
1329
+ type: string;
1330
+ auth: string;
1331
+ name: string;
1332
+ short_name: string;
1333
+ description: string;
1334
+ icon_url?: string;
1335
+ how_it_works?: string[];
1336
+ docs_url?: string;
1337
+ secret_fields?: SecretFieldConfig[];
1338
+ allows_byok: boolean;
1339
+ available: boolean;
1340
+ has_managed: boolean;
1341
+ integration?: IntegrationDTO;
1342
+ }
1343
+ /**
1344
+ * SecretFieldConfig defines a secret field for the UI
1345
+ */
1346
+ export interface SecretFieldConfig {
1347
+ key: string;
1348
+ label: string;
1349
+ placeholder: string;
1350
+ sensitive: boolean;
1351
+ optional: boolean;
1352
+ }
1005
1353
  /**
1006
1354
  * KnowledgeFile represents a file in a knowledge entry
1007
1355
  */
@@ -1094,6 +1442,44 @@ export interface SkillStoreListingDTO {
1094
1442
  uses: number;
1095
1443
  tags?: string[];
1096
1444
  }
1445
+ /**
1446
+ * StringSlice is a custom type for storing string slices
1447
+ */
1448
+ export type StringSlice = string[];
1449
+ /**
1450
+ * NotificationPreferencesDTO is the data transfer object
1451
+ */
1452
+ export interface NotificationPreferencesDTO extends BaseModelDTO, PermissionModelDTO {
1453
+ email_enabled: boolean;
1454
+ sms_enabled: boolean;
1455
+ push_enabled: boolean;
1456
+ slack_enabled: boolean;
1457
+ billing_notifications: boolean;
1458
+ task_notifications: boolean;
1459
+ system_notifications: boolean;
1460
+ marketing_emails: boolean;
1461
+ quiet_hours_enabled: boolean;
1462
+ quiet_hours_start?: string;
1463
+ quiet_hours_end?: string;
1464
+ timezone: string;
1465
+ }
1466
+ /**
1467
+ * UpdateNotificationPreferencesRequest is the request to update preferences
1468
+ */
1469
+ export interface UpdateNotificationPreferencesRequest {
1470
+ email_enabled?: boolean;
1471
+ sms_enabled?: boolean;
1472
+ push_enabled?: boolean;
1473
+ slack_enabled?: boolean;
1474
+ billing_notifications?: boolean;
1475
+ task_notifications?: boolean;
1476
+ system_notifications?: boolean;
1477
+ marketing_emails?: boolean;
1478
+ quiet_hours_enabled?: boolean;
1479
+ quiet_hours_start?: string;
1480
+ quiet_hours_end?: string;
1481
+ timezone?: string;
1482
+ }
1097
1483
  /**
1098
1484
  * PageMetadata holds metadata for a page
1099
1485
  */
@@ -1181,6 +1567,20 @@ export interface SetupAction {
1181
1567
  provider?: string;
1182
1568
  scopes?: string[];
1183
1569
  }
1570
+ /**
1571
+ * CheckRequirementsRequest is the request body for checking requirements
1572
+ */
1573
+ export interface CheckRequirementsRequest {
1574
+ secrets?: SecretRequirement[];
1575
+ integrations?: IntegrationRequirement[];
1576
+ }
1577
+ /**
1578
+ * CheckRequirementsResponse is the API response for checking requirements
1579
+ */
1580
+ export interface CheckRequirementsResponse {
1581
+ satisfied: boolean;
1582
+ errors?: RequirementError[];
1583
+ }
1184
1584
  /**
1185
1585
  * SDKTypes is a phantom type for gotypegen dependency tracing.
1186
1586
  * Types listed here (and their transitive dependencies) are included
@@ -1359,6 +1759,26 @@ export interface TaskDTO extends BaseModelDTO, PermissionModelDTO {
1359
1759
  session_id?: string;
1360
1760
  session_timeout?: number;
1361
1761
  }
1762
+ /**
1763
+ * TeamMemberDTO is the API response for a team member.
1764
+ */
1765
+ export interface TeamMemberDTO {
1766
+ id: string;
1767
+ user_id: string;
1768
+ team_id: string;
1769
+ role: TeamRole;
1770
+ user?: TeamMemberUserDTO;
1771
+ }
1772
+ /**
1773
+ * TeamMemberUserDTO is a lightweight user view within team membership.
1774
+ */
1775
+ export interface TeamMemberUserDTO {
1776
+ id: string;
1777
+ email: string;
1778
+ name: string;
1779
+ full_name: string;
1780
+ avatar_url: string;
1781
+ }
1362
1782
  /**
1363
1783
  * TeamRelationDTO is a lightweight team reference embedded in other DTOs.
1364
1784
  */
@@ -1371,6 +1791,27 @@ export interface TeamRelationDTO {
1371
1791
  avatar_url: string;
1372
1792
  setup_completed: boolean;
1373
1793
  }
1794
+ /**
1795
+ * TeamInviteDTO is the public representation of an invite
1796
+ */
1797
+ export interface TeamInviteDTO {
1798
+ id: string;
1799
+ team_id: string;
1800
+ email: string;
1801
+ role: TeamRole;
1802
+ status: TeamInviteStatus;
1803
+ expires_at: string;
1804
+ created_at: string;
1805
+ invited_by?: TeamMemberUserDTO;
1806
+ team?: TeamRelationDTO;
1807
+ }
1808
+ /**
1809
+ * TeamInviteCreateRequest is used when creating a team invite
1810
+ */
1811
+ export interface TeamInviteCreateRequest {
1812
+ email: string;
1813
+ role: TeamRole;
1814
+ }
1374
1815
  /**
1375
1816
  * ToolInvocationFunction contains the function details for a tool invocation
1376
1817
  */
@@ -1393,6 +1834,33 @@ export interface ToolInvocationDTO extends BaseModelDTO, PermissionModelDTO {
1393
1834
  data?: any;
1394
1835
  widget?: Widget;
1395
1836
  }
1837
+ /**
1838
+ * MetaItem represents metadata about an input or output item
1839
+ */
1840
+ export interface MetaItem {
1841
+ type: MetaItemType;
1842
+ tokens?: number;
1843
+ width?: number;
1844
+ height?: number;
1845
+ resolution_mp?: number;
1846
+ steps?: number;
1847
+ count?: number;
1848
+ resolution?: VideoResolution;
1849
+ seconds?: number;
1850
+ fps?: number;
1851
+ sample_rate?: number;
1852
+ cost?: number;
1853
+ extra?: {
1854
+ [key: string]: any;
1855
+ };
1856
+ }
1857
+ /**
1858
+ * OutputMeta contains structured metadata about task inputs and outputs for pricing calculation
1859
+ */
1860
+ export interface OutputMeta {
1861
+ inputs: MetaItem[];
1862
+ outputs: MetaItem[];
1863
+ }
1396
1864
  /**
1397
1865
  * UsageEventDTO is the API representation of a usage event.
1398
1866
  */
@@ -1406,6 +1874,18 @@ export interface UsageEventDTO extends BaseModelDTO, PermissionModelDTO {
1406
1874
  quantity: number;
1407
1875
  unit: string;
1408
1876
  }
1877
+ /**
1878
+ * UserDTO is the API response for a full user.
1879
+ */
1880
+ export interface UserDTO extends BaseModelDTO {
1881
+ default_team_id: string;
1882
+ role: Role;
1883
+ email: string;
1884
+ name: string;
1885
+ full_name: string;
1886
+ avatar_url: string;
1887
+ metadata?: UserMetadataDTO;
1888
+ }
1409
1889
  /**
1410
1890
  * UserRelationDTO is a lightweight user reference embedded in other DTOs.
1411
1891
  */
@@ -1416,6 +1896,17 @@ export interface UserRelationDTO {
1416
1896
  role: Role;
1417
1897
  avatar_url: string;
1418
1898
  }
1899
+ /**
1900
+ * UserMetadataDTO is the API representation of user metadata.
1901
+ */
1902
+ export interface UserMetadataDTO {
1903
+ user_id: string;
1904
+ completed_onboarding: boolean;
1905
+ use_case: string;
1906
+ use_case_reason: string;
1907
+ use_case_privacy: string;
1908
+ signup_source: string;
1909
+ }
1419
1910
  /**
1420
1911
  * WidgetAction represents an action triggered by a widget button
1421
1912
  */
@@ -1785,6 +2276,20 @@ export declare const GraphEdgeTypeExecution: GraphEdgeType;
1785
2276
  export declare const GraphEdgeTypeParent: GraphEdgeType;
1786
2277
  export declare const GraphEdgeTypeAncestor: GraphEdgeType;
1787
2278
  export declare const GraphEdgeTypeDuplicate: GraphEdgeType;
2279
+ export type EntitlementSource = string;
2280
+ export declare const EntitlementSourceTier: EntitlementSource;
2281
+ export declare const EntitlementSourceOverride: EntitlementSource;
2282
+ export declare const EntitlementSourceWhitelist: EntitlementSource;
2283
+ export declare const EntitlementSourceTrial: EntitlementSource;
2284
+ export type EntitlementType = string;
2285
+ export declare const EntitlementTypeBoolean: EntitlementType;
2286
+ export declare const EntitlementTypeLimit: EntitlementType;
2287
+ /**
2288
+ * EnforcementMode controls how limit violations are handled.
2289
+ */
2290
+ export type EnforcementMode = string;
2291
+ export declare const EnforcementBlock: EnforcementMode;
2292
+ export declare const EnforcementWarn: EnforcementMode;
1788
2293
  export type PageStatus = number;
1789
2294
  export declare const PageStatusUnknown: PageStatus;
1790
2295
  export declare const PageStatusDraft: PageStatus;
@@ -1857,6 +2362,33 @@ export declare const ProjectTypeOther: ProjectType;
1857
2362
  export type UsageEventResourceTier = string;
1858
2363
  export declare const UsageEventResourceTierPrivate: UsageEventResourceTier;
1859
2364
  export declare const UsageEventResourceTierCloud: UsageEventResourceTier;
2365
+ /**
2366
+ * MetaItemType is the type discriminator for MetaItem
2367
+ */
2368
+ export type MetaItemType = string;
2369
+ export declare const MetaItemTypeText: MetaItemType;
2370
+ export declare const MetaItemTypeImage: MetaItemType;
2371
+ export declare const MetaItemTypeVideo: MetaItemType;
2372
+ export declare const MetaItemTypeAudio: MetaItemType;
2373
+ export declare const MetaItemTypeRaw: MetaItemType;
2374
+ /**
2375
+ * VideoResolution represents standard video resolution presets
2376
+ */
2377
+ export type VideoResolution = string;
2378
+ export declare const VideoRes480P: VideoResolution;
2379
+ export declare const VideoRes720P: VideoResolution;
2380
+ export declare const VideoRes1080P: VideoResolution;
2381
+ export declare const VideoRes1440P: VideoResolution;
2382
+ export declare const VideoRes4K: VideoResolution;
2383
+ /**
2384
+ * TeamInviteStatus represents the status of a team invitation
2385
+ */
2386
+ export type TeamInviteStatus = string;
2387
+ export declare const TeamInviteStatusPending: TeamInviteStatus;
2388
+ export declare const TeamInviteStatusAccepted: TeamInviteStatus;
2389
+ export declare const TeamInviteStatusDeclined: TeamInviteStatus;
2390
+ export declare const TeamInviteStatusExpired: TeamInviteStatus;
2391
+ export declare const TeamInviteStatusRevoked: TeamInviteStatus;
1860
2392
  export type FilterOperator = string;
1861
2393
  export declare const OpEqual: FilterOperator;
1862
2394
  export declare const OpNotEqual: FilterOperator;
@@ -1874,6 +2406,23 @@ export declare const OpIsNull: FilterOperator;
1874
2406
  export declare const OpIsNotNull: FilterOperator;
1875
2407
  export declare const OpIsEmpty: FilterOperator;
1876
2408
  export declare const OpIsNotEmpty: FilterOperator;
2409
+ export type EntitlementResource = string;
2410
+ export declare const ResourceAPIKeys: EntitlementResource;
2411
+ export declare const ResourceConnectors: EntitlementResource;
2412
+ export declare const ResourceKnowledgeBases: EntitlementResource;
2413
+ export declare const ResourcePrivateApps: EntitlementResource;
2414
+ export declare const ResourceStorageMB: EntitlementResource;
2415
+ export declare const ResourceConcurrency: EntitlementResource;
2416
+ export declare const ResourceRatePerMin: EntitlementResource;
2417
+ export declare const ResourceSeats: EntitlementResource;
2418
+ export declare const ResourceTaskExecutions: EntitlementResource;
2419
+ export declare const ResourceFeatureScopes: EntitlementResource;
2420
+ export declare const ResourceFeatureWebhooks: EntitlementResource;
2421
+ export declare const ResourceFeatureBYOK: EntitlementResource;
2422
+ export declare const ResourceFeatureTeamBilling: EntitlementResource;
2423
+ export declare const ResourceFeatureAutoRecharge: EntitlementResource;
2424
+ export declare const ResourceFeatureInvoices: EntitlementResource;
2425
+ export declare const ResourceFeaturePublishApps: EntitlementResource;
1877
2426
  export type ContentRating = string;
1878
2427
  export declare const ContentSafe: ContentRating;
1879
2428
  export declare const ContentSexualSuggestive: ContentRating;
@@ -1960,13 +2509,61 @@ export type TeamType = string;
1960
2509
  export declare const TeamTypePersonal: TeamType;
1961
2510
  export declare const TeamTypeTeam: TeamType;
1962
2511
  export declare const TeamTypeSystem: TeamType;
2512
+ export type TeamStatus = string;
2513
+ export declare const TeamStatusActive: TeamStatus;
2514
+ export declare const TeamStatusSuspended: TeamStatus;
2515
+ export declare const TeamStatusTerminated: TeamStatus;
2516
+ export type TeamRole = string;
2517
+ export declare const TeamRoleOwner: TeamRole;
2518
+ export declare const TeamRoleAdmin: TeamRole;
2519
+ export declare const TeamRoleMember: TeamRole;
2520
+ /**
2521
+ * ToolCallType represents the type field on a tool call (wire format).
2522
+ */
2523
+ export type ToolCallType = string;
2524
+ /**
2525
+ * ToolParamType represents a JSON Schema parameter type for tool definitions.
2526
+ */
2527
+ export type ToolParamType = string;
2528
+ /**
2529
+ * Tool types and parameter types
2530
+ */
2531
+ export declare const ToolTypeFunction: ToolCallType;
2532
+ /**
2533
+ * Tool types and parameter types
2534
+ */
2535
+ export declare const ToolParamTypeObject: ToolParamType;
2536
+ /**
2537
+ * Tool types and parameter types
2538
+ */
2539
+ export declare const ToolParamTypeString: ToolParamType;
2540
+ /**
2541
+ * Tool types and parameter types
2542
+ */
2543
+ export declare const ToolParamTypeInteger: ToolParamType;
2544
+ /**
2545
+ * Tool types and parameter types
2546
+ */
2547
+ export declare const ToolParamTypeNumber: ToolParamType;
2548
+ /**
2549
+ * Tool types and parameter types
2550
+ */
2551
+ export declare const ToolParamTypeBoolean: ToolParamType;
2552
+ /**
2553
+ * Tool types and parameter types
2554
+ */
2555
+ export declare const ToolParamTypeArray: ToolParamType;
2556
+ /**
2557
+ * Tool types and parameter types
2558
+ */
2559
+ export declare const ToolParamTypeNull: ToolParamType;
1963
2560
  /**
1964
2561
  * ToolCall represents a tool call from an LLM response (wire format)
1965
2562
  * This is a transport object for parsing LLM responses, not a database model
1966
2563
  */
1967
2564
  export interface ToolCall {
1968
2565
  id: string;
1969
- type: string;
2566
+ type: ToolCallType;
1970
2567
  function: ToolCallFunction;
1971
2568
  }
1972
2569
  /**
@@ -1991,7 +2588,7 @@ export interface FileRef {
1991
2588
  * Tool represents a tool definition for LLM function calling
1992
2589
  */
1993
2590
  export interface Tool {
1994
- type: string;
2591
+ type: ToolCallType;
1995
2592
  function: ToolFunction;
1996
2593
  }
1997
2594
  export interface ToolFunction {
@@ -2001,7 +2598,7 @@ export interface ToolFunction {
2001
2598
  required?: string[];
2002
2599
  }
2003
2600
  export interface ToolParameters {
2004
- type: string;
2601
+ type: ToolParamType;
2005
2602
  title: string;
2006
2603
  properties?: ToolParameterProperties;
2007
2604
  required?: string[];
@@ -2010,7 +2607,7 @@ export type ToolParameterProperties = {
2010
2607
  [key: string]: ToolParameterProperty;
2011
2608
  };
2012
2609
  export interface ToolParameterProperty {
2013
- type: string;
2610
+ type: ToolParamType;
2014
2611
  title: string;
2015
2612
  description: string;
2016
2613
  properties?: ToolParameterProperties;
package/dist/types.js CHANGED
@@ -1,4 +1,236 @@
1
1
  // Code generated by gotypegen. DO NOT EDIT.
2
+ /**
3
+ * API Key Scopes - hierarchical permission system.
4
+ * Resource-level scopes (e.g., "agents") imply all action-level scopes (e.g., "agents:read").
5
+ * Empty scopes = full access (for backwards compatibility with existing keys).
6
+ */
7
+ export const ScopeAll = "*";
8
+ /**
9
+ * Resource-level scopes (implies all actions)
10
+ */
11
+ export const ScopeAgents = "agents";
12
+ /**
13
+ * API Key Scopes - hierarchical permission system.
14
+ * Resource-level scopes (e.g., "agents") imply all action-level scopes (e.g., "agents:read").
15
+ * Empty scopes = full access (for backwards compatibility with existing keys).
16
+ */
17
+ export const ScopeApps = "apps";
18
+ /**
19
+ * API Key Scopes - hierarchical permission system.
20
+ * Resource-level scopes (e.g., "agents") imply all action-level scopes (e.g., "agents:read").
21
+ * Empty scopes = full access (for backwards compatibility with existing keys).
22
+ */
23
+ export const ScopeConversations = "conversations";
24
+ /**
25
+ * API Key Scopes - hierarchical permission system.
26
+ * Resource-level scopes (e.g., "agents") imply all action-level scopes (e.g., "agents:read").
27
+ * Empty scopes = full access (for backwards compatibility with existing keys).
28
+ */
29
+ export const ScopeFiles = "files";
30
+ /**
31
+ * API Key Scopes - hierarchical permission system.
32
+ * Resource-level scopes (e.g., "agents") imply all action-level scopes (e.g., "agents:read").
33
+ * Empty scopes = full access (for backwards compatibility with existing keys).
34
+ */
35
+ export const ScopeDatastores = "datastores";
36
+ /**
37
+ * API Key Scopes - hierarchical permission system.
38
+ * Resource-level scopes (e.g., "agents") imply all action-level scopes (e.g., "agents:read").
39
+ * Empty scopes = full access (for backwards compatibility with existing keys).
40
+ */
41
+ export const ScopeTemplates = "templates";
42
+ /**
43
+ * API Key Scopes - hierarchical permission system.
44
+ * Resource-level scopes (e.g., "agents") imply all action-level scopes (e.g., "agents:read").
45
+ * Empty scopes = full access (for backwards compatibility with existing keys).
46
+ */
47
+ export const ScopeFlows = "flows";
48
+ /**
49
+ * API Key Scopes - hierarchical permission system.
50
+ * Resource-level scopes (e.g., "agents") imply all action-level scopes (e.g., "agents:read").
51
+ * Empty scopes = full access (for backwards compatibility with existing keys).
52
+ */
53
+ export const ScopeProjects = "projects";
54
+ /**
55
+ * API Key Scopes - hierarchical permission system.
56
+ * Resource-level scopes (e.g., "agents") imply all action-level scopes (e.g., "agents:read").
57
+ * Empty scopes = full access (for backwards compatibility with existing keys).
58
+ */
59
+ export const ScopeTeams = "teams";
60
+ /**
61
+ * API Key Scopes - hierarchical permission system.
62
+ * Resource-level scopes (e.g., "agents") imply all action-level scopes (e.g., "agents:read").
63
+ * Empty scopes = full access (for backwards compatibility with existing keys).
64
+ */
65
+ export const ScopeBilling = "billing";
66
+ /**
67
+ * Action-level scopes for Agents
68
+ */
69
+ export const ScopeAgentsRead = "agents:read";
70
+ /**
71
+ * API Key Scopes - hierarchical permission system.
72
+ * Resource-level scopes (e.g., "agents") imply all action-level scopes (e.g., "agents:read").
73
+ * Empty scopes = full access (for backwards compatibility with existing keys).
74
+ */
75
+ export const ScopeAgentsWrite = "agents:write";
76
+ /**
77
+ * API Key Scopes - hierarchical permission system.
78
+ * Resource-level scopes (e.g., "agents") imply all action-level scopes (e.g., "agents:read").
79
+ * Empty scopes = full access (for backwards compatibility with existing keys).
80
+ */
81
+ export const ScopeAgentsExecute = "agents:execute";
82
+ /**
83
+ * Action-level scopes for Apps
84
+ */
85
+ export const ScopeAppsRead = "apps:read";
86
+ /**
87
+ * API Key Scopes - hierarchical permission system.
88
+ * Resource-level scopes (e.g., "agents") imply all action-level scopes (e.g., "agents:read").
89
+ * Empty scopes = full access (for backwards compatibility with existing keys).
90
+ */
91
+ export const ScopeAppsWrite = "apps:write";
92
+ /**
93
+ * API Key Scopes - hierarchical permission system.
94
+ * Resource-level scopes (e.g., "agents") imply all action-level scopes (e.g., "agents:read").
95
+ * Empty scopes = full access (for backwards compatibility with existing keys).
96
+ */
97
+ export const ScopeAppsExecute = "apps:execute";
98
+ /**
99
+ * Action-level scopes for Conversations/Chats
100
+ */
101
+ export const ScopeConversationsRead = "conversations:read";
102
+ /**
103
+ * API Key Scopes - hierarchical permission system.
104
+ * Resource-level scopes (e.g., "agents") imply all action-level scopes (e.g., "agents:read").
105
+ * Empty scopes = full access (for backwards compatibility with existing keys).
106
+ */
107
+ export const ScopeConversationsWrite = "conversations:write";
108
+ /**
109
+ * Action-level scopes for Files
110
+ */
111
+ export const ScopeFilesRead = "files:read";
112
+ /**
113
+ * API Key Scopes - hierarchical permission system.
114
+ * Resource-level scopes (e.g., "agents") imply all action-level scopes (e.g., "agents:read").
115
+ * Empty scopes = full access (for backwards compatibility with existing keys).
116
+ */
117
+ export const ScopeFilesWrite = "files:write";
118
+ /**
119
+ * Action-level scopes for Datastores
120
+ */
121
+ export const ScopeDatastoresRead = "datastores:read";
122
+ /**
123
+ * API Key Scopes - hierarchical permission system.
124
+ * Resource-level scopes (e.g., "agents") imply all action-level scopes (e.g., "agents:read").
125
+ * Empty scopes = full access (for backwards compatibility with existing keys).
126
+ */
127
+ export const ScopeDatastoresWrite = "datastores:write";
128
+ /**
129
+ * Action-level scopes for Flows
130
+ */
131
+ export const ScopeFlowsRead = "flows:read";
132
+ /**
133
+ * API Key Scopes - hierarchical permission system.
134
+ * Resource-level scopes (e.g., "agents") imply all action-level scopes (e.g., "agents:read").
135
+ * Empty scopes = full access (for backwards compatibility with existing keys).
136
+ */
137
+ export const ScopeFlowsWrite = "flows:write";
138
+ /**
139
+ * API Key Scopes - hierarchical permission system.
140
+ * Resource-level scopes (e.g., "agents") imply all action-level scopes (e.g., "agents:read").
141
+ * Empty scopes = full access (for backwards compatibility with existing keys).
142
+ */
143
+ export const ScopeFlowsExecute = "flows:execute";
144
+ /**
145
+ * Action-level scopes for Projects
146
+ */
147
+ export const ScopeProjectsRead = "projects:read";
148
+ /**
149
+ * API Key Scopes - hierarchical permission system.
150
+ * Resource-level scopes (e.g., "agents") imply all action-level scopes (e.g., "agents:read").
151
+ * Empty scopes = full access (for backwards compatibility with existing keys).
152
+ */
153
+ export const ScopeProjectsWrite = "projects:write";
154
+ /**
155
+ * Action-level scopes for Teams
156
+ */
157
+ export const ScopeTeamsRead = "teams:read";
158
+ /**
159
+ * API Key Scopes - hierarchical permission system.
160
+ * Resource-level scopes (e.g., "agents") imply all action-level scopes (e.g., "agents:read").
161
+ * Empty scopes = full access (for backwards compatibility with existing keys).
162
+ */
163
+ export const ScopeTeamsWrite = "teams:write";
164
+ /**
165
+ * Action-level scopes for Billing
166
+ */
167
+ export const ScopeBillingRead = "billing:read";
168
+ /**
169
+ * API Key Scopes - hierarchical permission system.
170
+ * Resource-level scopes (e.g., "agents") imply all action-level scopes (e.g., "agents:read").
171
+ * Empty scopes = full access (for backwards compatibility with existing keys).
172
+ */
173
+ export const ScopeBillingWrite = "billing:write";
174
+ /**
175
+ * Action-level scopes for Secrets (sensitive - not in read/run presets)
176
+ */
177
+ export const ScopeSecretsRead = "secrets:read";
178
+ /**
179
+ * API Key Scopes - hierarchical permission system.
180
+ * Resource-level scopes (e.g., "agents") imply all action-level scopes (e.g., "agents:read").
181
+ * Empty scopes = full access (for backwards compatibility with existing keys).
182
+ */
183
+ export const ScopeSecretsWrite = "secrets:write";
184
+ /**
185
+ * Action-level scopes for Integrations
186
+ */
187
+ export const ScopeIntegrationsRead = "integrations:read";
188
+ /**
189
+ * API Key Scopes - hierarchical permission system.
190
+ * Resource-level scopes (e.g., "agents") imply all action-level scopes (e.g., "agents:read").
191
+ * Empty scopes = full access (for backwards compatibility with existing keys).
192
+ */
193
+ export const ScopeIntegrationsWrite = "integrations:write";
194
+ /**
195
+ * Action-level scopes for Engines
196
+ */
197
+ export const ScopeEnginesRead = "engines:read";
198
+ /**
199
+ * API Key Scopes - hierarchical permission system.
200
+ * Resource-level scopes (e.g., "agents") imply all action-level scopes (e.g., "agents:read").
201
+ * Empty scopes = full access (for backwards compatibility with existing keys).
202
+ */
203
+ export const ScopeEnginesWrite = "engines:write";
204
+ /**
205
+ * Action-level scopes for API Keys
206
+ */
207
+ export const ScopeApiKeysRead = "apikeys:read";
208
+ /**
209
+ * API Key Scopes - hierarchical permission system.
210
+ * Resource-level scopes (e.g., "agents") imply all action-level scopes (e.g., "agents:read").
211
+ * Empty scopes = full access (for backwards compatibility with existing keys).
212
+ */
213
+ export const ScopeApiKeysWrite = "apikeys:write";
214
+ /**
215
+ * Action-level scopes for User profile
216
+ */
217
+ export const ScopeUserRead = "user:read";
218
+ /**
219
+ * API Key Scopes - hierarchical permission system.
220
+ * Resource-level scopes (e.g., "agents") imply all action-level scopes (e.g., "agents:read").
221
+ * Empty scopes = full access (for backwards compatibility with existing keys).
222
+ */
223
+ export const ScopeUserWrite = "user:write";
224
+ /**
225
+ * Action-level scopes for Settings/Notifications
226
+ */
227
+ export const ScopeSettingsRead = "settings:read";
228
+ /**
229
+ * API Key Scopes - hierarchical permission system.
230
+ * Resource-level scopes (e.g., "agents") imply all action-level scopes (e.g., "agents:read").
231
+ * Empty scopes = full access (for backwards compatibility with existing keys).
232
+ */
233
+ export const ScopeSettingsWrite = "settings:write";
2
234
  export const ScopeGroupAgents = "agents";
3
235
  export const ScopeGroupApps = "apps";
4
236
  export const ScopeGroupConversations = "conversations";
@@ -90,6 +322,14 @@ export const GraphEdgeTypeExecution = "execution";
90
322
  export const GraphEdgeTypeParent = "parent";
91
323
  export const GraphEdgeTypeAncestor = "ancestor";
92
324
  export const GraphEdgeTypeDuplicate = "duplicate";
325
+ export const EntitlementSourceTier = "tier";
326
+ export const EntitlementSourceOverride = "override";
327
+ export const EntitlementSourceWhitelist = "whitelist";
328
+ export const EntitlementSourceTrial = "trial";
329
+ export const EntitlementTypeBoolean = "boolean";
330
+ export const EntitlementTypeLimit = "limit";
331
+ export const EnforcementBlock = "block";
332
+ export const EnforcementWarn = "warn";
93
333
  export const PageStatusUnknown = 0;
94
334
  export const PageStatusDraft = 1;
95
335
  export const PageStatusPublished = 2;
@@ -140,6 +380,21 @@ export const ProjectTypeFlow = "flow";
140
380
  export const ProjectTypeOther = "other";
141
381
  export const UsageEventResourceTierPrivate = "private";
142
382
  export const UsageEventResourceTierCloud = "cloud";
383
+ export const MetaItemTypeText = "text";
384
+ export const MetaItemTypeImage = "image";
385
+ export const MetaItemTypeVideo = "video";
386
+ export const MetaItemTypeAudio = "audio";
387
+ export const MetaItemTypeRaw = "raw";
388
+ export const VideoRes480P = "480p";
389
+ export const VideoRes720P = "720p";
390
+ export const VideoRes1080P = "1080p";
391
+ export const VideoRes1440P = "1440p";
392
+ export const VideoRes4K = "4k";
393
+ export const TeamInviteStatusPending = "pending";
394
+ export const TeamInviteStatusAccepted = "accepted";
395
+ export const TeamInviteStatusDeclined = "declined";
396
+ export const TeamInviteStatusExpired = "expired";
397
+ export const TeamInviteStatusRevoked = "revoked";
143
398
  export const OpEqual = "eq";
144
399
  export const OpNotEqual = "neq";
145
400
  export const OpIn = "in";
@@ -156,6 +411,22 @@ export const OpIsNull = "is_null";
156
411
  export const OpIsNotNull = "is_not_null";
157
412
  export const OpIsEmpty = "is_empty";
158
413
  export const OpIsNotEmpty = "is_not_empty";
414
+ export const ResourceAPIKeys = "api_keys";
415
+ export const ResourceConnectors = "connectors";
416
+ export const ResourceKnowledgeBases = "knowledge_bases";
417
+ export const ResourcePrivateApps = "private_apps";
418
+ export const ResourceStorageMB = "storage_mb";
419
+ export const ResourceConcurrency = "concurrency";
420
+ export const ResourceRatePerMin = "rate_per_min";
421
+ export const ResourceSeats = "seats";
422
+ export const ResourceTaskExecutions = "task_executions";
423
+ export const ResourceFeatureScopes = "feature:scopes";
424
+ export const ResourceFeatureWebhooks = "feature:webhooks";
425
+ export const ResourceFeatureBYOK = "feature:byok";
426
+ export const ResourceFeatureTeamBilling = "feature:team_billing";
427
+ export const ResourceFeatureAutoRecharge = "feature:auto_recharge";
428
+ export const ResourceFeatureInvoices = "feature:invoices";
429
+ export const ResourceFeaturePublishApps = "feature:publish_apps";
159
430
  export const ContentSafe = "safe";
160
431
  export const ContentSexualSuggestive = "sexual_suggestive";
161
432
  export const ContentSexualExplicit = "sexual_explicit";
@@ -213,6 +484,44 @@ export const TaskLogTypeTask = 4;
213
484
  export const TeamTypePersonal = "personal";
214
485
  export const TeamTypeTeam = "team";
215
486
  export const TeamTypeSystem = "system";
487
+ export const TeamStatusActive = "active";
488
+ export const TeamStatusSuspended = "suspended";
489
+ export const TeamStatusTerminated = "terminated";
490
+ export const TeamRoleOwner = "owner";
491
+ export const TeamRoleAdmin = "admin";
492
+ export const TeamRoleMember = "member";
493
+ /**
494
+ * Tool types and parameter types
495
+ */
496
+ export const ToolTypeFunction = "function";
497
+ /**
498
+ * Tool types and parameter types
499
+ */
500
+ export const ToolParamTypeObject = "object";
501
+ /**
502
+ * Tool types and parameter types
503
+ */
504
+ export const ToolParamTypeString = "string";
505
+ /**
506
+ * Tool types and parameter types
507
+ */
508
+ export const ToolParamTypeInteger = "integer";
509
+ /**
510
+ * Tool types and parameter types
511
+ */
512
+ export const ToolParamTypeNumber = "number";
513
+ /**
514
+ * Tool types and parameter types
515
+ */
516
+ export const ToolParamTypeBoolean = "boolean";
517
+ /**
518
+ * Tool types and parameter types
519
+ */
520
+ export const ToolParamTypeArray = "array";
521
+ /**
522
+ * Tool types and parameter types
523
+ */
524
+ export const ToolParamTypeNull = "null";
216
525
  export const RoleGuest = "guest";
217
526
  export const RoleUser = "user";
218
527
  export const RoleAdmin = "admin";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inferencesh/sdk",
3
- "version": "0.6.4",
3
+ "version": "0.6.5",
4
4
  "description": "Official JavaScript/TypeScript SDK for inference.sh - Run AI models with a simple API",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",