@vibexp/api-client 0.83.0 → 0.85.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.
@@ -5446,6 +5446,410 @@ export type AdminTopAccessedResourcesResponse = {
5446
5446
  */
5447
5447
  earliest_retained_at: string;
5448
5448
  };
5449
+ /**
5450
+ * Where the values in effect came from: `team` when the team stored its own
5451
+ * profile, `instance` when it has none and inherits the deployment defaults.
5452
+ *
5453
+ */
5454
+ export type AdminTeamConfigSource = 'team' | 'instance';
5455
+ /**
5456
+ * A complete search ranking profile.
5457
+ */
5458
+ export type AdminSearchValues = {
5459
+ recency_ranking_enabled: boolean;
5460
+ rank_weight_relevance: number;
5461
+ rank_weight_created: number;
5462
+ rank_weight_updated: number;
5463
+ rank_half_life_days: number;
5464
+ };
5465
+ /**
5466
+ * A team's effective search ranking settings (GET /api/v1/admin/teams/{id}/config/search).
5467
+ */
5468
+ export type AdminTeamSearchConfig = {
5469
+ source: AdminTeamConfigSource;
5470
+ values: AdminSearchValues;
5471
+ instance_defaults: AdminSearchValues;
5472
+ /**
5473
+ * Instance-owned cap on rows re-ranked per search; never team-configurable.
5474
+ */
5475
+ rank_candidate_cap: number;
5476
+ };
5477
+ /**
5478
+ * A complete AI summary profile.
5479
+ */
5480
+ export type AdminAiSummaryValues = {
5481
+ enabled: boolean;
5482
+ /**
5483
+ * The selected model provider; `null` means the team's default provider.
5484
+ */
5485
+ model_provider_id: string | null;
5486
+ top_n: number;
5487
+ style: 'concise' | 'balanced' | 'detailed';
5488
+ max_output_tokens: number;
5489
+ };
5490
+ /**
5491
+ * A team's effective AI summary settings (GET /api/v1/admin/teams/{id}/config/ai-summary).
5492
+ */
5493
+ export type AdminTeamAiSummaryConfig = {
5494
+ source: AdminTeamConfigSource;
5495
+ values: AdminAiSummaryValues;
5496
+ instance_defaults: AdminAiSummaryValues;
5497
+ /**
5498
+ * Name of the provider `values.model_provider_id` selects. `null` when no
5499
+ * provider is selected or the id no longer resolves to one of the team's
5500
+ * providers.
5501
+ *
5502
+ */
5503
+ model_provider_name: string | null;
5504
+ /**
5505
+ * Instance-owned upper bound on `top_n`.
5506
+ */
5507
+ max_top_n: number;
5508
+ /**
5509
+ * Instance-owned upper bound on `max_output_tokens`.
5510
+ */
5511
+ max_output_tokens_ceiling: number;
5512
+ /**
5513
+ * Whether the team has at least one model provider (existence, not health).
5514
+ */
5515
+ available: boolean;
5516
+ };
5517
+ /**
5518
+ * A team's freshness evaluation settings.
5519
+ */
5520
+ export type AdminFreshnessValues = {
5521
+ interval_seconds: number;
5522
+ reversibility_enabled: boolean;
5523
+ };
5524
+ /**
5525
+ * One freshness rule.
5526
+ */
5527
+ export type AdminFreshnessRule = {
5528
+ id: string;
5529
+ /**
5530
+ * The project the rule is scoped to; `null` for a team-wide rule.
5531
+ */
5532
+ project_id: string | null;
5533
+ resource_types: Array<string>;
5534
+ /**
5535
+ * Access mediums that count as "accessed". Empty means any medium.
5536
+ */
5537
+ mediums: Array<string>;
5538
+ threshold_days: number;
5539
+ enabled: boolean;
5540
+ created_at: string;
5541
+ updated_at: string;
5542
+ };
5543
+ /**
5544
+ * A team's freshness settings and rules (GET /api/v1/admin/teams/{id}/config/freshness).
5545
+ */
5546
+ export type AdminTeamFreshnessConfig = {
5547
+ source: AdminTeamConfigSource;
5548
+ values: AdminFreshnessValues;
5549
+ defaults: AdminFreshnessValues;
5550
+ /**
5551
+ * Every rule, oldest first. `[]` when the team has none.
5552
+ */
5553
+ rules: Array<AdminFreshnessRule>;
5554
+ };
5555
+ /**
5556
+ * One artifact type visible to the team.
5557
+ */
5558
+ export type AdminArtifactType = {
5559
+ id: string;
5560
+ slug: string;
5561
+ name: string;
5562
+ /**
5563
+ * True for a global system default, false for the team's own custom type.
5564
+ */
5565
+ is_system: boolean;
5566
+ created_at: string;
5567
+ updated_at: string;
5568
+ };
5569
+ /**
5570
+ * The artifact types a team sees (GET /api/v1/admin/teams/{id}/config/artifact-types).
5571
+ */
5572
+ export type AdminTeamArtifactTypes = {
5573
+ /**
5574
+ * System types first, then custom types, each by name.
5575
+ */
5576
+ types: Array<AdminArtifactType>;
5577
+ };
5578
+ /**
5579
+ * One recorded settings copy into the team.
5580
+ */
5581
+ export type AdminTeamSettingsAuditEntry = {
5582
+ id: string;
5583
+ surface: 'embedding_provider' | 'model_provider' | 'custom_types';
5584
+ actor_user_id: string | null;
5585
+ actor_name: string | null;
5586
+ source_team_id: string | null;
5587
+ source_team_name: string | null;
5588
+ source_resource_id: string | null;
5589
+ created_resource_id: string | null;
5590
+ /**
5591
+ * Surface-specific facts, filtered to a per-surface key allowlist
5592
+ * (model_provider: source_name, created_name, provider_type, model,
5593
+ * has_api_key; embedding_provider: the same plus becomes_active,
5594
+ * displaced_model, displaced_embedded_resources; custom_types: added_ids,
5595
+ * added_slugs, skipped_slugs). Any other stored key is dropped. Always an
5596
+ * object, never null.
5597
+ *
5598
+ */
5599
+ detail: {
5600
+ [key: string]: unknown;
5601
+ };
5602
+ created_at: string;
5603
+ };
5604
+ /**
5605
+ * A page of the team's settings audit log, newest first.
5606
+ */
5607
+ export type AdminTeamSettingsAuditListResponse = {
5608
+ /**
5609
+ * Serializes as `[]` when the page is empty, never `null`.
5610
+ */
5611
+ entries: Array<AdminTeamSettingsAuditEntry>;
5612
+ total_count: number;
5613
+ page: number;
5614
+ per_page: number;
5615
+ total_pages: number;
5616
+ };
5617
+ /**
5618
+ * One model (LLM) provider, credentials redacted.
5619
+ */
5620
+ export type AdminModelProvider = {
5621
+ id: string;
5622
+ name: string;
5623
+ provider_type: string;
5624
+ model: string;
5625
+ /**
5626
+ * The provider's base URL with any userinfo, query string and fragment
5627
+ * removed. `null` when unset or not an absolute URL.
5628
+ *
5629
+ */
5630
+ base_url: string | null;
5631
+ is_default: boolean;
5632
+ /**
5633
+ * Whether an API key is stored. The key itself is never returned.
5634
+ */
5635
+ has_api_key: boolean;
5636
+ /**
5637
+ * Sorted top-level key names of the provider's `configuration` object. The
5638
+ * values are never returned. `[]` when the configuration is empty or not a
5639
+ * JSON object.
5640
+ *
5641
+ */
5642
+ configuration_keys: Array<string>;
5643
+ created_at: string;
5644
+ updated_at: string;
5645
+ };
5646
+ /**
5647
+ * A team's model providers (GET /api/v1/admin/teams/{id}/config/model-providers).
5648
+ */
5649
+ export type AdminTeamModelProvidersConfig = {
5650
+ /**
5651
+ * Serializes as `[]` when the team has none, never `null`.
5652
+ */
5653
+ providers: Array<AdminModelProvider>;
5654
+ };
5655
+ /**
5656
+ * One embedding provider, credentials redacted.
5657
+ */
5658
+ export type AdminEmbeddingProvider = {
5659
+ id: string;
5660
+ name: string;
5661
+ provider_type: string;
5662
+ model: string;
5663
+ chunk_size: number;
5664
+ chunk_overlap: number;
5665
+ concurrency: number;
5666
+ query_prefix: string | null;
5667
+ document_prefix: string | null;
5668
+ /**
5669
+ * The provider's base URL with any userinfo, query string and fragment
5670
+ * removed. `null` when unset or not an absolute URL.
5671
+ *
5672
+ */
5673
+ base_url: string | null;
5674
+ is_default: boolean;
5675
+ /**
5676
+ * Whether an API key is stored. The key itself is never returned.
5677
+ */
5678
+ has_api_key: boolean;
5679
+ /**
5680
+ * Sorted top-level key names of the provider's `configuration` object. The
5681
+ * values are never returned. `[]` when the configuration is empty or not a
5682
+ * JSON object.
5683
+ *
5684
+ */
5685
+ configuration_keys: Array<string>;
5686
+ created_at: string;
5687
+ updated_at: string;
5688
+ };
5689
+ /**
5690
+ * Embedding coverage for one entity type (counts only).
5691
+ */
5692
+ export type AdminEmbeddingCoverageItem = {
5693
+ entity_type: string;
5694
+ total: number;
5695
+ embedded: number;
5696
+ pending: number;
5697
+ embedded_percent: number;
5698
+ };
5699
+ /**
5700
+ * How much of the team's embeddable content has an embedding under its active
5701
+ * provider's model.
5702
+ *
5703
+ */
5704
+ export type AdminEmbeddingCoverage = {
5705
+ has_active_provider: boolean;
5706
+ /**
5707
+ * The active provider's model; `null` when the team has no provider.
5708
+ */
5709
+ active_model: string | null;
5710
+ /**
5711
+ * One entry per entity type. Serializes as `[]`, never `null`.
5712
+ */
5713
+ items: Array<AdminEmbeddingCoverageItem>;
5714
+ };
5715
+ /**
5716
+ * A team's embedding providers and embedding coverage
5717
+ * (GET /api/v1/admin/teams/{id}/config/embedding-providers).
5718
+ *
5719
+ */
5720
+ export type AdminTeamEmbeddingProvidersConfig = {
5721
+ /**
5722
+ * Serializes as `[]` when the team has none, never `null`.
5723
+ */
5724
+ providers: Array<AdminEmbeddingProvider>;
5725
+ coverage: AdminEmbeddingCoverage;
5726
+ };
5727
+ /**
5728
+ * Non-secret SMTP settings. The SMTP username is deliberately omitted.
5729
+ */
5730
+ export type AdminSmtpSettings = {
5731
+ host: string;
5732
+ port: string;
5733
+ };
5734
+ /**
5735
+ * Non-secret Mailgun settings.
5736
+ */
5737
+ export type AdminMailgunSettings = {
5738
+ domain: string;
5739
+ /**
5740
+ * The Mailgun API base URL with any userinfo, query string and fragment
5741
+ * removed. `null` when unset or not an absolute URL.
5742
+ *
5743
+ */
5744
+ base_url: string | null;
5745
+ };
5746
+ /**
5747
+ * Non-secret Postmark settings.
5748
+ */
5749
+ export type AdminPostmarkSettings = {
5750
+ message_stream: string;
5751
+ };
5752
+ /**
5753
+ * The team provider's non-secret settings; only the block matching its type is present.
5754
+ */
5755
+ export type AdminEmailSettings = {
5756
+ smtp?: AdminSmtpSettings;
5757
+ mailgun?: AdminMailgunSettings;
5758
+ postmark?: AdminPostmarkSettings;
5759
+ };
5760
+ /**
5761
+ * A team's effective email provider (GET /api/v1/admin/teams/{id}/config/email-provider).
5762
+ * The provider's secret, its last error text and the SMTP username are never
5763
+ * returned.
5764
+ *
5765
+ */
5766
+ export type AdminTeamEmailProviderConfig = {
5767
+ /**
5768
+ * Whether the team has its own provider.
5769
+ */
5770
+ configured: boolean;
5771
+ source: AdminTeamConfigSource;
5772
+ /**
5773
+ * The address the team's mail is actually sent from.
5774
+ */
5775
+ effective_from_address: string;
5776
+ /**
5777
+ * The team provider's type; `null` when inheriting the instance provider.
5778
+ */
5779
+ provider_type: string | null;
5780
+ from_address: string | null;
5781
+ from_name: string | null;
5782
+ reply_to: string | null;
5783
+ /**
5784
+ * `null` when inheriting the instance provider, or when the stored settings
5785
+ * could not be decoded.
5786
+ *
5787
+ */
5788
+ settings: AdminEmailSettings | null;
5789
+ /**
5790
+ * Whether a provider credential is stored. The credential itself is never returned.
5791
+ */
5792
+ has_secret: boolean;
5793
+ last_success_at: string | null;
5794
+ last_error_at: string | null;
5795
+ /**
5796
+ * Derived from the two timestamps: `unknown` when inheriting or never used,
5797
+ * `healthy` when the last send succeeded (or none failed), `failing` when
5798
+ * the last recorded send failed.
5799
+ *
5800
+ */
5801
+ status: 'healthy' | 'failing' | 'unknown';
5802
+ };
5803
+ /**
5804
+ * A team's GitHub App registration, secrets redacted.
5805
+ */
5806
+ export type AdminGitHubAppConfig = {
5807
+ id: string;
5808
+ app_id: string;
5809
+ app_slug: string;
5810
+ client_id: string;
5811
+ has_private_key: boolean;
5812
+ has_client_secret: boolean;
5813
+ has_webhook_secret: boolean;
5814
+ /**
5815
+ * Whether VibeXP can give GitHub a webhook delivery URL for this App (a
5816
+ * routing token exists and the instance has a public base URL). It does
5817
+ * NOT mean GitHub is delivering. The URL itself is never returned.
5818
+ *
5819
+ */
5820
+ webhook_configured: boolean;
5821
+ created_at: string;
5822
+ updated_at: string;
5823
+ };
5824
+ /**
5825
+ * The team's GitHub App installation, as last recorded (no live GitHub call).
5826
+ */
5827
+ export type AdminGitHubInstallation = {
5828
+ installed: boolean;
5829
+ /**
5830
+ * The GitHub account the App is installed on; `null` when not installed.
5831
+ */
5832
+ account_login: string | null;
5833
+ /**
5834
+ * `null` when not installed.
5835
+ */
5836
+ installation_id: number | null;
5837
+ suspended: boolean;
5838
+ /**
5839
+ * `null` when not installed.
5840
+ */
5841
+ installed_at: string | null;
5842
+ };
5843
+ /**
5844
+ * A team's GitHub integration (GET /api/v1/admin/teams/{id}/config/github).
5845
+ */
5846
+ export type AdminTeamGitHubConfig = {
5847
+ /**
5848
+ * `null` when the team has not registered a GitHub App.
5849
+ */
5850
+ app_config: AdminGitHubAppConfig | null;
5851
+ installation: AdminGitHubInstallation;
5852
+ };
5449
5853
  export type ProjectResponse = Project & {
5450
5854
  /**
5451
5855
  * Whether the project's git URL matches a repository accessible via the team's GitHub App installation
@@ -12394,6 +12798,312 @@ export type GetAdminTeamResponses = {
12394
12798
  200: AdminTeamDetail;
12395
12799
  };
12396
12800
  export type GetAdminTeamResponse = GetAdminTeamResponses[keyof GetAdminTeamResponses];
12801
+ export type GetAdminTeamSearchConfigData = {
12802
+ body?: never;
12803
+ path: {
12804
+ /**
12805
+ * Team id (UUID)
12806
+ */
12807
+ id: string;
12808
+ };
12809
+ query?: never;
12810
+ url: '/api/v1/admin/teams/{id}/config/search';
12811
+ };
12812
+ export type GetAdminTeamSearchConfigErrors = {
12813
+ /**
12814
+ * Bad request — malformed team id
12815
+ */
12816
+ 400: ErrorResponse;
12817
+ /**
12818
+ * Not found — unknown team id, or the caller is not an instance admin
12819
+ */
12820
+ 404: ErrorResponse;
12821
+ /**
12822
+ * Internal server error
12823
+ */
12824
+ 500: ErrorResponse;
12825
+ };
12826
+ export type GetAdminTeamSearchConfigError = GetAdminTeamSearchConfigErrors[keyof GetAdminTeamSearchConfigErrors];
12827
+ export type GetAdminTeamSearchConfigResponses = {
12828
+ /**
12829
+ * The team's search ranking settings
12830
+ */
12831
+ 200: AdminTeamSearchConfig;
12832
+ };
12833
+ export type GetAdminTeamSearchConfigResponse = GetAdminTeamSearchConfigResponses[keyof GetAdminTeamSearchConfigResponses];
12834
+ export type GetAdminTeamAiSummaryConfigData = {
12835
+ body?: never;
12836
+ path: {
12837
+ /**
12838
+ * Team id (UUID)
12839
+ */
12840
+ id: string;
12841
+ };
12842
+ query?: never;
12843
+ url: '/api/v1/admin/teams/{id}/config/ai-summary';
12844
+ };
12845
+ export type GetAdminTeamAiSummaryConfigErrors = {
12846
+ /**
12847
+ * Bad request — malformed team id
12848
+ */
12849
+ 400: ErrorResponse;
12850
+ /**
12851
+ * Not found — unknown team id, or the caller is not an instance admin
12852
+ */
12853
+ 404: ErrorResponse;
12854
+ /**
12855
+ * Internal server error
12856
+ */
12857
+ 500: ErrorResponse;
12858
+ };
12859
+ export type GetAdminTeamAiSummaryConfigError = GetAdminTeamAiSummaryConfigErrors[keyof GetAdminTeamAiSummaryConfigErrors];
12860
+ export type GetAdminTeamAiSummaryConfigResponses = {
12861
+ /**
12862
+ * The team's AI summary settings
12863
+ */
12864
+ 200: AdminTeamAiSummaryConfig;
12865
+ };
12866
+ export type GetAdminTeamAiSummaryConfigResponse = GetAdminTeamAiSummaryConfigResponses[keyof GetAdminTeamAiSummaryConfigResponses];
12867
+ export type GetAdminTeamFreshnessConfigData = {
12868
+ body?: never;
12869
+ path: {
12870
+ /**
12871
+ * Team id (UUID)
12872
+ */
12873
+ id: string;
12874
+ };
12875
+ query?: never;
12876
+ url: '/api/v1/admin/teams/{id}/config/freshness';
12877
+ };
12878
+ export type GetAdminTeamFreshnessConfigErrors = {
12879
+ /**
12880
+ * Bad request — malformed team id
12881
+ */
12882
+ 400: ErrorResponse;
12883
+ /**
12884
+ * Not found — unknown team id, or the caller is not an instance admin
12885
+ */
12886
+ 404: ErrorResponse;
12887
+ /**
12888
+ * Internal server error
12889
+ */
12890
+ 500: ErrorResponse;
12891
+ };
12892
+ export type GetAdminTeamFreshnessConfigError = GetAdminTeamFreshnessConfigErrors[keyof GetAdminTeamFreshnessConfigErrors];
12893
+ export type GetAdminTeamFreshnessConfigResponses = {
12894
+ /**
12895
+ * The team's freshness settings and rules
12896
+ */
12897
+ 200: AdminTeamFreshnessConfig;
12898
+ };
12899
+ export type GetAdminTeamFreshnessConfigResponse = GetAdminTeamFreshnessConfigResponses[keyof GetAdminTeamFreshnessConfigResponses];
12900
+ export type GetAdminTeamArtifactTypesData = {
12901
+ body?: never;
12902
+ path: {
12903
+ /**
12904
+ * Team id (UUID)
12905
+ */
12906
+ id: string;
12907
+ };
12908
+ query?: never;
12909
+ url: '/api/v1/admin/teams/{id}/config/artifact-types';
12910
+ };
12911
+ export type GetAdminTeamArtifactTypesErrors = {
12912
+ /**
12913
+ * Bad request — malformed team id
12914
+ */
12915
+ 400: ErrorResponse;
12916
+ /**
12917
+ * Not found — unknown team id, or the caller is not an instance admin
12918
+ */
12919
+ 404: ErrorResponse;
12920
+ /**
12921
+ * Internal server error
12922
+ */
12923
+ 500: ErrorResponse;
12924
+ };
12925
+ export type GetAdminTeamArtifactTypesError = GetAdminTeamArtifactTypesErrors[keyof GetAdminTeamArtifactTypesErrors];
12926
+ export type GetAdminTeamArtifactTypesResponses = {
12927
+ /**
12928
+ * The team's artifact types
12929
+ */
12930
+ 200: AdminTeamArtifactTypes;
12931
+ };
12932
+ export type GetAdminTeamArtifactTypesResponse = GetAdminTeamArtifactTypesResponses[keyof GetAdminTeamArtifactTypesResponses];
12933
+ export type ListAdminTeamSettingsAuditData = {
12934
+ body?: never;
12935
+ path: {
12936
+ /**
12937
+ * Team id (UUID)
12938
+ */
12939
+ id: string;
12940
+ };
12941
+ query?: {
12942
+ /**
12943
+ * Page number (1-based).
12944
+ */
12945
+ page?: number;
12946
+ /**
12947
+ * Page size.
12948
+ */
12949
+ limit?: number;
12950
+ };
12951
+ url: '/api/v1/admin/teams/{id}/config/settings-audit';
12952
+ };
12953
+ export type ListAdminTeamSettingsAuditErrors = {
12954
+ /**
12955
+ * Bad request — malformed team id, or `page`/`limit` out of range
12956
+ */
12957
+ 400: ErrorResponse;
12958
+ /**
12959
+ * Not found — unknown team id, or the caller is not an instance admin
12960
+ */
12961
+ 404: ErrorResponse;
12962
+ /**
12963
+ * Internal server error
12964
+ */
12965
+ 500: ErrorResponse;
12966
+ };
12967
+ export type ListAdminTeamSettingsAuditError = ListAdminTeamSettingsAuditErrors[keyof ListAdminTeamSettingsAuditErrors];
12968
+ export type ListAdminTeamSettingsAuditResponses = {
12969
+ /**
12970
+ * One page of settings audit entries, newest first
12971
+ */
12972
+ 200: AdminTeamSettingsAuditListResponse;
12973
+ };
12974
+ export type ListAdminTeamSettingsAuditResponse = ListAdminTeamSettingsAuditResponses[keyof ListAdminTeamSettingsAuditResponses];
12975
+ export type GetAdminTeamModelProvidersData = {
12976
+ body?: never;
12977
+ path: {
12978
+ /**
12979
+ * Team id (UUID)
12980
+ */
12981
+ id: string;
12982
+ };
12983
+ query?: never;
12984
+ url: '/api/v1/admin/teams/{id}/config/model-providers';
12985
+ };
12986
+ export type GetAdminTeamModelProvidersErrors = {
12987
+ /**
12988
+ * Bad request — malformed team id
12989
+ */
12990
+ 400: ErrorResponse;
12991
+ /**
12992
+ * Not found — unknown team id, or the caller is not an instance admin
12993
+ */
12994
+ 404: ErrorResponse;
12995
+ /**
12996
+ * Internal server error
12997
+ */
12998
+ 500: ErrorResponse;
12999
+ };
13000
+ export type GetAdminTeamModelProvidersError = GetAdminTeamModelProvidersErrors[keyof GetAdminTeamModelProvidersErrors];
13001
+ export type GetAdminTeamModelProvidersResponses = {
13002
+ /**
13003
+ * The team's model providers
13004
+ */
13005
+ 200: AdminTeamModelProvidersConfig;
13006
+ };
13007
+ export type GetAdminTeamModelProvidersResponse = GetAdminTeamModelProvidersResponses[keyof GetAdminTeamModelProvidersResponses];
13008
+ export type GetAdminTeamEmbeddingProvidersData = {
13009
+ body?: never;
13010
+ path: {
13011
+ /**
13012
+ * Team id (UUID)
13013
+ */
13014
+ id: string;
13015
+ };
13016
+ query?: never;
13017
+ url: '/api/v1/admin/teams/{id}/config/embedding-providers';
13018
+ };
13019
+ export type GetAdminTeamEmbeddingProvidersErrors = {
13020
+ /**
13021
+ * Bad request — malformed team id
13022
+ */
13023
+ 400: ErrorResponse;
13024
+ /**
13025
+ * Not found — unknown team id, or the caller is not an instance admin
13026
+ */
13027
+ 404: ErrorResponse;
13028
+ /**
13029
+ * Internal server error
13030
+ */
13031
+ 500: ErrorResponse;
13032
+ };
13033
+ export type GetAdminTeamEmbeddingProvidersError = GetAdminTeamEmbeddingProvidersErrors[keyof GetAdminTeamEmbeddingProvidersErrors];
13034
+ export type GetAdminTeamEmbeddingProvidersResponses = {
13035
+ /**
13036
+ * The team's embedding providers and coverage
13037
+ */
13038
+ 200: AdminTeamEmbeddingProvidersConfig;
13039
+ };
13040
+ export type GetAdminTeamEmbeddingProvidersResponse = GetAdminTeamEmbeddingProvidersResponses[keyof GetAdminTeamEmbeddingProvidersResponses];
13041
+ export type GetAdminTeamEmailProviderData = {
13042
+ body?: never;
13043
+ path: {
13044
+ /**
13045
+ * Team id (UUID)
13046
+ */
13047
+ id: string;
13048
+ };
13049
+ query?: never;
13050
+ url: '/api/v1/admin/teams/{id}/config/email-provider';
13051
+ };
13052
+ export type GetAdminTeamEmailProviderErrors = {
13053
+ /**
13054
+ * Bad request — malformed team id
13055
+ */
13056
+ 400: ErrorResponse;
13057
+ /**
13058
+ * Not found — unknown team id, or the caller is not an instance admin
13059
+ */
13060
+ 404: ErrorResponse;
13061
+ /**
13062
+ * Internal server error
13063
+ */
13064
+ 500: ErrorResponse;
13065
+ };
13066
+ export type GetAdminTeamEmailProviderError = GetAdminTeamEmailProviderErrors[keyof GetAdminTeamEmailProviderErrors];
13067
+ export type GetAdminTeamEmailProviderResponses = {
13068
+ /**
13069
+ * The team's email provider
13070
+ */
13071
+ 200: AdminTeamEmailProviderConfig;
13072
+ };
13073
+ export type GetAdminTeamEmailProviderResponse = GetAdminTeamEmailProviderResponses[keyof GetAdminTeamEmailProviderResponses];
13074
+ export type GetAdminTeamGitHubConfigData = {
13075
+ body?: never;
13076
+ path: {
13077
+ /**
13078
+ * Team id (UUID)
13079
+ */
13080
+ id: string;
13081
+ };
13082
+ query?: never;
13083
+ url: '/api/v1/admin/teams/{id}/config/github';
13084
+ };
13085
+ export type GetAdminTeamGitHubConfigErrors = {
13086
+ /**
13087
+ * Bad request — malformed team id
13088
+ */
13089
+ 400: ErrorResponse;
13090
+ /**
13091
+ * Not found — unknown team id, or the caller is not an instance admin
13092
+ */
13093
+ 404: ErrorResponse;
13094
+ /**
13095
+ * Internal server error
13096
+ */
13097
+ 500: ErrorResponse;
13098
+ };
13099
+ export type GetAdminTeamGitHubConfigError = GetAdminTeamGitHubConfigErrors[keyof GetAdminTeamGitHubConfigErrors];
13100
+ export type GetAdminTeamGitHubConfigResponses = {
13101
+ /**
13102
+ * The team's GitHub integration
13103
+ */
13104
+ 200: AdminTeamGitHubConfig;
13105
+ };
13106
+ export type GetAdminTeamGitHubConfigResponse = GetAdminTeamGitHubConfigResponses[keyof GetAdminTeamGitHubConfigResponses];
12397
13107
  export type GetAdminDashboardOverviewData = {
12398
13108
  body?: never;
12399
13109
  path?: never;