@siglume/api-sdk 0.10.8 → 1.0.0

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.
@@ -339,23 +339,6 @@ interface CapabilitySaveStateRecord {
339
339
  exists: boolean;
340
340
  raw: Record<string, unknown>;
341
341
  }
342
- interface ConnectedAccountOAuthStart {
343
- authorize_url: string;
344
- state: string;
345
- provider_key: string;
346
- scopes: string[];
347
- pkce_method?: string | null;
348
- }
349
- interface ConnectedAccountLifecycleResult {
350
- connected_account_id: string;
351
- provider_key: string;
352
- expires_at?: string | null;
353
- scopes: string[];
354
- refreshed_at?: string | null;
355
- connection_status?: string | null;
356
- provider_revoked?: boolean | null;
357
- revoked_at?: string | null;
358
- }
359
342
  interface BundleMember {
360
343
  capability_listing_id: string;
361
344
  capability_key?: string | null;
@@ -391,7 +374,6 @@ interface AutoRegistrationReceipt {
391
374
  auto_manifest: Record<string, unknown>;
392
375
  confidence: Record<string, unknown>;
393
376
  validation_report?: Record<string, unknown>;
394
- oauth_status?: Record<string, unknown>;
395
377
  review_url?: string | null;
396
378
  trace_id?: string | null;
397
379
  request_id?: string | null;
@@ -436,7 +418,6 @@ interface SandboxSession {
436
418
  dry_run_supported: boolean;
437
419
  approval_mode?: string | null;
438
420
  required_connected_accounts: unknown[];
439
- connected_accounts: Array<Record<string, unknown>>;
440
421
  stub_providers_enabled: boolean;
441
422
  simulated_receipts: boolean;
442
423
  approval_simulator: boolean;
@@ -472,19 +453,6 @@ interface GrantBindingResult {
472
453
  request_id?: string | null;
473
454
  raw: Record<string, unknown>;
474
455
  }
475
- interface ConnectedAccountRecord {
476
- connected_account_id: string;
477
- provider_key: string;
478
- account_role: string;
479
- display_name?: string | null;
480
- environment?: string | null;
481
- connection_status?: string | null;
482
- scopes: string[];
483
- metadata: Record<string, unknown>;
484
- created_at?: string | null;
485
- updated_at?: string | null;
486
- raw: Record<string, unknown>;
487
- }
488
456
  interface UsageEventRecord {
489
457
  usage_event_id: string;
490
458
  capability_key?: string | null;
@@ -1412,7 +1380,6 @@ interface SiglumeClientShape {
1412
1380
  source_code?: string;
1413
1381
  source_url?: string;
1414
1382
  runtime_validation?: Record<string, unknown>;
1415
- oauth_credentials?: Record<string, unknown> | unknown[];
1416
1383
  source_context?: Record<string, unknown>;
1417
1384
  input_form_spec?: Record<string, unknown>;
1418
1385
  }): Promise<AutoRegistrationReceipt>;
@@ -1481,34 +1448,6 @@ interface SiglumeClientShape {
1481
1448
  }): Promise<BundleListingRecord>;
1482
1449
  remove_bundle_capability(bundle_id: string, capability_listing_id: string): Promise<BundleListingRecord>;
1483
1450
  submit_bundle_for_review(bundle_id: string): Promise<BundleListingRecord>;
1484
- start_connected_account_oauth(input: {
1485
- listing_id: string;
1486
- redirect_uri: string;
1487
- scopes?: string[];
1488
- account_role?: string;
1489
- }): Promise<ConnectedAccountOAuthStart>;
1490
- set_listing_oauth_credentials(listing_id: string, input: {
1491
- provider_key: string;
1492
- client_id: string;
1493
- client_secret: string;
1494
- authorize_url: string;
1495
- token_url: string;
1496
- revoke_url?: string;
1497
- display_name?: string;
1498
- scope_separator?: string;
1499
- token_endpoint_auth?: string;
1500
- pkce_required?: boolean;
1501
- refresh_supported?: boolean;
1502
- available_scopes?: string[];
1503
- required_scopes?: string[];
1504
- }): Promise<Record<string, unknown>>;
1505
- get_listing_oauth_credentials_status(listing_id: string): Promise<Record<string, unknown>>;
1506
- complete_connected_account_oauth(input: {
1507
- state: string;
1508
- code: string;
1509
- }): Promise<Record<string, unknown>>;
1510
- refresh_connected_account(account_id: string): Promise<ConnectedAccountLifecycleResult>;
1511
- revoke_connected_account(account_id: string): Promise<ConnectedAccountLifecycleResult>;
1512
1451
  get_developer_portal(): Promise<DeveloperPortalSummary>;
1513
1452
  create_sandbox_session(options: {
1514
1453
  agent_id: string;
@@ -1855,12 +1794,6 @@ interface SiglumeClientShape {
1855
1794
  agent_id: string;
1856
1795
  binding_status?: string;
1857
1796
  }): Promise<GrantBindingResult>;
1858
- list_connected_accounts(options?: {
1859
- provider_key?: string;
1860
- environment?: string;
1861
- limit?: number;
1862
- cursor?: string;
1863
- }): Promise<CursorPage<ConnectedAccountRecord>>;
1864
1797
  create_support_case(subject: string, body: string, options?: {
1865
1798
  trace_id?: string;
1866
1799
  case_type?: string;
@@ -339,23 +339,6 @@ interface CapabilitySaveStateRecord {
339
339
  exists: boolean;
340
340
  raw: Record<string, unknown>;
341
341
  }
342
- interface ConnectedAccountOAuthStart {
343
- authorize_url: string;
344
- state: string;
345
- provider_key: string;
346
- scopes: string[];
347
- pkce_method?: string | null;
348
- }
349
- interface ConnectedAccountLifecycleResult {
350
- connected_account_id: string;
351
- provider_key: string;
352
- expires_at?: string | null;
353
- scopes: string[];
354
- refreshed_at?: string | null;
355
- connection_status?: string | null;
356
- provider_revoked?: boolean | null;
357
- revoked_at?: string | null;
358
- }
359
342
  interface BundleMember {
360
343
  capability_listing_id: string;
361
344
  capability_key?: string | null;
@@ -391,7 +374,6 @@ interface AutoRegistrationReceipt {
391
374
  auto_manifest: Record<string, unknown>;
392
375
  confidence: Record<string, unknown>;
393
376
  validation_report?: Record<string, unknown>;
394
- oauth_status?: Record<string, unknown>;
395
377
  review_url?: string | null;
396
378
  trace_id?: string | null;
397
379
  request_id?: string | null;
@@ -436,7 +418,6 @@ interface SandboxSession {
436
418
  dry_run_supported: boolean;
437
419
  approval_mode?: string | null;
438
420
  required_connected_accounts: unknown[];
439
- connected_accounts: Array<Record<string, unknown>>;
440
421
  stub_providers_enabled: boolean;
441
422
  simulated_receipts: boolean;
442
423
  approval_simulator: boolean;
@@ -472,19 +453,6 @@ interface GrantBindingResult {
472
453
  request_id?: string | null;
473
454
  raw: Record<string, unknown>;
474
455
  }
475
- interface ConnectedAccountRecord {
476
- connected_account_id: string;
477
- provider_key: string;
478
- account_role: string;
479
- display_name?: string | null;
480
- environment?: string | null;
481
- connection_status?: string | null;
482
- scopes: string[];
483
- metadata: Record<string, unknown>;
484
- created_at?: string | null;
485
- updated_at?: string | null;
486
- raw: Record<string, unknown>;
487
- }
488
456
  interface UsageEventRecord {
489
457
  usage_event_id: string;
490
458
  capability_key?: string | null;
@@ -1412,7 +1380,6 @@ interface SiglumeClientShape {
1412
1380
  source_code?: string;
1413
1381
  source_url?: string;
1414
1382
  runtime_validation?: Record<string, unknown>;
1415
- oauth_credentials?: Record<string, unknown> | unknown[];
1416
1383
  source_context?: Record<string, unknown>;
1417
1384
  input_form_spec?: Record<string, unknown>;
1418
1385
  }): Promise<AutoRegistrationReceipt>;
@@ -1481,34 +1448,6 @@ interface SiglumeClientShape {
1481
1448
  }): Promise<BundleListingRecord>;
1482
1449
  remove_bundle_capability(bundle_id: string, capability_listing_id: string): Promise<BundleListingRecord>;
1483
1450
  submit_bundle_for_review(bundle_id: string): Promise<BundleListingRecord>;
1484
- start_connected_account_oauth(input: {
1485
- listing_id: string;
1486
- redirect_uri: string;
1487
- scopes?: string[];
1488
- account_role?: string;
1489
- }): Promise<ConnectedAccountOAuthStart>;
1490
- set_listing_oauth_credentials(listing_id: string, input: {
1491
- provider_key: string;
1492
- client_id: string;
1493
- client_secret: string;
1494
- authorize_url: string;
1495
- token_url: string;
1496
- revoke_url?: string;
1497
- display_name?: string;
1498
- scope_separator?: string;
1499
- token_endpoint_auth?: string;
1500
- pkce_required?: boolean;
1501
- refresh_supported?: boolean;
1502
- available_scopes?: string[];
1503
- required_scopes?: string[];
1504
- }): Promise<Record<string, unknown>>;
1505
- get_listing_oauth_credentials_status(listing_id: string): Promise<Record<string, unknown>>;
1506
- complete_connected_account_oauth(input: {
1507
- state: string;
1508
- code: string;
1509
- }): Promise<Record<string, unknown>>;
1510
- refresh_connected_account(account_id: string): Promise<ConnectedAccountLifecycleResult>;
1511
- revoke_connected_account(account_id: string): Promise<ConnectedAccountLifecycleResult>;
1512
1451
  get_developer_portal(): Promise<DeveloperPortalSummary>;
1513
1452
  create_sandbox_session(options: {
1514
1453
  agent_id: string;
@@ -1855,12 +1794,6 @@ interface SiglumeClientShape {
1855
1794
  agent_id: string;
1856
1795
  binding_status?: string;
1857
1796
  }): Promise<GrantBindingResult>;
1858
- list_connected_accounts(options?: {
1859
- provider_key?: string;
1860
- environment?: string;
1861
- limit?: number;
1862
- cursor?: string;
1863
- }): Promise<CursorPage<ConnectedAccountRecord>>;
1864
1797
  create_support_case(subject: string, body: string, options?: {
1865
1798
  trace_id?: string;
1866
1799
  case_type?: string;