@scalemule/sdk 0.0.7 → 0.0.11

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/index.d.mts CHANGED
@@ -261,6 +261,7 @@ declare class ScaleMuleClient {
261
261
  private userId;
262
262
  private rateLimitQueue;
263
263
  private offlineQueue;
264
+ private workspaceId;
264
265
  constructor(config: ScaleMuleConfig);
265
266
  initialize(): Promise<void>;
266
267
  setSession(token: string, userId: string): Promise<void>;
@@ -276,6 +277,8 @@ declare class ScaleMuleClient {
276
277
  getOfflineQueueLength(): number;
277
278
  getRateLimitQueueLength(): number;
278
279
  isRateLimited(): boolean;
280
+ setWorkspaceContext(id: string | null): void;
281
+ getWorkspaceId(): string | null;
279
282
  request<T>(path: string, init?: {
280
283
  method?: string;
281
284
  body?: unknown;
@@ -2228,6 +2231,193 @@ declare class AnalyticsService extends ServiceModule {
2228
2231
  query(filters?: Record<string, unknown>): Promise<ApiResponse<AnalyticsEvent[]>>;
2229
2232
  }
2230
2233
 
2234
+ interface FlagDefinition {
2235
+ id: string;
2236
+ application_id: string;
2237
+ flag_key: string;
2238
+ name: string;
2239
+ description?: string | null;
2240
+ flag_type: 'boolean' | 'string' | 'number' | 'json';
2241
+ default_value: unknown;
2242
+ status: 'active' | 'inactive' | 'archived';
2243
+ tags: string[];
2244
+ created_by?: string | null;
2245
+ created_at: string;
2246
+ updated_at: string;
2247
+ }
2248
+ interface FlagEnvironment {
2249
+ id: string;
2250
+ application_id: string;
2251
+ flag_id: string;
2252
+ environment: string;
2253
+ enabled: boolean;
2254
+ default_value?: unknown;
2255
+ }
2256
+ interface FlagCondition {
2257
+ attribute: string;
2258
+ operator: 'eq' | 'neq' | 'in' | 'not_in' | 'contains' | 'starts_with' | 'ends_with' | 'gt' | 'gte' | 'lt' | 'lte' | 'regex' | 'semver_eq' | 'semver_neq' | 'semver_gt' | 'semver_gte' | 'semver_lt' | 'semver_lte' | 'exists' | 'not_exists' | string;
2259
+ value?: unknown;
2260
+ values?: unknown[];
2261
+ }
2262
+ interface TargetingRule {
2263
+ id: string;
2264
+ application_id: string;
2265
+ flag_id: string;
2266
+ environment: string;
2267
+ name: string;
2268
+ priority: number;
2269
+ serve_value: unknown;
2270
+ rollout_percentage?: number | null;
2271
+ conditions: FlagCondition[];
2272
+ enabled: boolean;
2273
+ created_at: string;
2274
+ updated_at: string;
2275
+ }
2276
+ interface FlagVariant {
2277
+ id: string;
2278
+ application_id: string;
2279
+ flag_id: string;
2280
+ variant_key: string;
2281
+ value: unknown;
2282
+ weight: number;
2283
+ created_at: string;
2284
+ updated_at: string;
2285
+ }
2286
+ interface FlagSegment {
2287
+ id: string;
2288
+ application_id: string;
2289
+ segment_key: string;
2290
+ name: string;
2291
+ description?: string | null;
2292
+ conditions: FlagCondition[];
2293
+ included_users: string[];
2294
+ excluded_users: string[];
2295
+ created_at: string;
2296
+ updated_at: string;
2297
+ }
2298
+ interface FlagAuditEntry {
2299
+ id: string;
2300
+ application_id: string;
2301
+ flag_id?: string | null;
2302
+ actor_type: string;
2303
+ actor_id: string;
2304
+ actor_email?: string | null;
2305
+ action: string;
2306
+ before_value?: unknown;
2307
+ after_value?: unknown;
2308
+ metadata?: unknown;
2309
+ created_at: string;
2310
+ }
2311
+ interface FlagDetail {
2312
+ flag: FlagDefinition;
2313
+ environments: FlagEnvironment[];
2314
+ rules: TargetingRule[];
2315
+ variants: FlagVariant[];
2316
+ }
2317
+ interface FlagEvaluation<T = unknown> {
2318
+ flag_id: string;
2319
+ flag_key: string;
2320
+ environment: string;
2321
+ value: T;
2322
+ reason: 'disabled' | 'rule_match' | 'variant' | 'default' | string;
2323
+ matched_rule_id?: string | null;
2324
+ variant_key?: string | null;
2325
+ bucket?: number | null;
2326
+ }
2327
+ interface CreateFlagRequest {
2328
+ flag_key: string;
2329
+ name: string;
2330
+ description?: string;
2331
+ flag_type?: 'boolean' | 'string' | 'number' | 'json';
2332
+ default_value?: unknown;
2333
+ tags?: string[];
2334
+ }
2335
+ interface UpdateFlagRequest {
2336
+ flag_key?: string;
2337
+ name?: string;
2338
+ description?: string | null;
2339
+ flag_type?: 'boolean' | 'string' | 'number' | 'json';
2340
+ default_value?: unknown;
2341
+ tags?: string[];
2342
+ status?: 'active' | 'inactive' | 'archived';
2343
+ }
2344
+ interface CreateRuleRequest {
2345
+ environment: string;
2346
+ name: string;
2347
+ priority?: number;
2348
+ serve_value: unknown;
2349
+ rollout_percentage?: number | null;
2350
+ conditions?: FlagCondition[];
2351
+ enabled?: boolean;
2352
+ }
2353
+ interface UpdateRuleRequest extends Partial<CreateRuleRequest> {
2354
+ }
2355
+ interface CreateVariantRequest {
2356
+ variant_key: string;
2357
+ value: unknown;
2358
+ weight: number;
2359
+ }
2360
+ interface UpdateVariantRequest extends Partial<CreateVariantRequest> {
2361
+ }
2362
+ interface CreateSegmentRequest {
2363
+ segment_key: string;
2364
+ name: string;
2365
+ description?: string;
2366
+ conditions?: FlagCondition[];
2367
+ included_users?: string[];
2368
+ excluded_users?: string[];
2369
+ }
2370
+ interface UpdateSegmentRequest extends Partial<CreateSegmentRequest> {
2371
+ }
2372
+ interface UpsertEnvironmentRequest {
2373
+ enabled: boolean;
2374
+ default_value?: unknown;
2375
+ }
2376
+ declare class FlagsService extends ServiceModule {
2377
+ protected basePath: string;
2378
+ evaluate<T = unknown>(flagKey: string, context?: Record<string, unknown>, environment?: string, options?: RequestOptions): Promise<ApiResponse<FlagEvaluation<T>>>;
2379
+ evaluateBatch(flagKeys: string[], context?: Record<string, unknown>, environment?: string, options?: RequestOptions): Promise<ApiResponse<Record<string, FlagEvaluation>>>;
2380
+ evaluateAll(context?: Record<string, unknown>, environment?: string, options?: RequestOptions): Promise<ApiResponse<Record<string, FlagEvaluation>>>;
2381
+ list(params?: {
2382
+ applicationId?: string;
2383
+ status?: string;
2384
+ search?: string;
2385
+ }, options?: RequestOptions): Promise<ApiResponse<FlagDefinition[]>>;
2386
+ get(id: string, options?: RequestOptions): Promise<ApiResponse<FlagDetail>>;
2387
+ create(data: CreateFlagRequest, params?: {
2388
+ applicationId?: string;
2389
+ }, options?: RequestOptions): Promise<ApiResponse<FlagDetail>>;
2390
+ update(id: string, data: UpdateFlagRequest, options?: RequestOptions): Promise<ApiResponse<FlagDetail>>;
2391
+ archive(id: string, options?: RequestOptions): Promise<ApiResponse<FlagDetail>>;
2392
+ activate(id: string, options?: RequestOptions): Promise<ApiResponse<FlagDetail>>;
2393
+ deactivate(id: string, options?: RequestOptions): Promise<ApiResponse<FlagDetail>>;
2394
+ listRules(id: string, options?: RequestOptions): Promise<ApiResponse<TargetingRule[]>>;
2395
+ createRule(id: string, data: CreateRuleRequest, options?: RequestOptions): Promise<ApiResponse<TargetingRule>>;
2396
+ updateRule(id: string, data: UpdateRuleRequest, options?: RequestOptions): Promise<ApiResponse<TargetingRule>>;
2397
+ deleteRule(id: string, options?: RequestOptions): Promise<ApiResponse<{
2398
+ deleted: boolean;
2399
+ }>>;
2400
+ listVariants(id: string, options?: RequestOptions): Promise<ApiResponse<FlagVariant[]>>;
2401
+ createVariant(id: string, data: CreateVariantRequest, options?: RequestOptions): Promise<ApiResponse<FlagVariant>>;
2402
+ updateVariant(id: string, data: UpdateVariantRequest, options?: RequestOptions): Promise<ApiResponse<FlagVariant>>;
2403
+ deleteVariant(id: string, options?: RequestOptions): Promise<ApiResponse<{
2404
+ deleted: boolean;
2405
+ }>>;
2406
+ listSegments(params?: {
2407
+ applicationId?: string;
2408
+ }, options?: RequestOptions): Promise<ApiResponse<FlagSegment[]>>;
2409
+ createSegment(data: CreateSegmentRequest, params?: {
2410
+ applicationId?: string;
2411
+ }, options?: RequestOptions): Promise<ApiResponse<FlagSegment>>;
2412
+ updateSegment(id: string, data: UpdateSegmentRequest, options?: RequestOptions): Promise<ApiResponse<FlagSegment>>;
2413
+ deleteSegment(id: string, options?: RequestOptions): Promise<ApiResponse<{
2414
+ deleted: boolean;
2415
+ }>>;
2416
+ listEnvironments(id: string, options?: RequestOptions): Promise<ApiResponse<FlagEnvironment[]>>;
2417
+ upsertEnvironment(id: string, environment: string, data: UpsertEnvironmentRequest, options?: RequestOptions): Promise<ApiResponse<FlagEnvironment>>;
2418
+ listAudit(id: string, limit?: number, options?: RequestOptions): Promise<ApiResponse<FlagAuditEntry[]>>;
2419
+ }
2420
+
2231
2421
  /**
2232
2422
  * Communication Service Module
2233
2423
  *
@@ -2505,16 +2695,18 @@ declare class PermissionsService extends ServiceModule {
2505
2695
  }
2506
2696
 
2507
2697
  /**
2508
- * Teams Service Module
2698
+ * Workspaces Service Module
2509
2699
  *
2510
- * Team CRUD, members, invitations, SSO.
2700
+ * Workspace CRUD, members, invitations, SSO.
2701
+ * Workspaces are resource containers (own projects, goals, settings, people, agents).
2511
2702
  *
2512
- * Routes:
2513
- * POST / → create team
2514
- * GET / → list teams
2515
- * GET /{id} → get team
2516
- * PATCH /{id} → update team
2517
- * DELETE /{id} → delete team
2703
+ * Routes (via /v1/workspaces):
2704
+ * POST / → create workspace
2705
+ * GET / → list workspaces
2706
+ * GET /mine → list my workspaces
2707
+ * GET /{id} → get workspace
2708
+ * PATCH /{id} → update workspace
2709
+ * DELETE /{id} → delete workspace
2518
2710
  * GET /{id}/members → list members
2519
2711
  * POST /{id}/members → add member
2520
2712
  * PATCH /{id}/members/{userId} → update member role
@@ -2527,25 +2719,29 @@ declare class PermissionsService extends ServiceModule {
2527
2719
  * GET /{id}/sso → get SSO config
2528
2720
  */
2529
2721
 
2530
- interface Team {
2722
+ interface Workspace$1 {
2531
2723
  id: string;
2532
- team_name: string;
2724
+ kind: 'workspace';
2725
+ name: string;
2533
2726
  description?: string;
2534
2727
  owner_user_id: string;
2535
2728
  plan_type?: string;
2536
2729
  member_limit?: number;
2537
2730
  created_at: string;
2538
2731
  }
2539
- interface TeamMember {
2732
+ interface WorkspaceMember {
2540
2733
  id: string;
2541
- team_id: string;
2734
+ container_id: string;
2542
2735
  sm_user_id: string;
2543
2736
  role: string;
2544
2737
  joined_at: string;
2738
+ full_name?: string;
2739
+ email?: string;
2740
+ avatar_url?: string;
2545
2741
  }
2546
- interface TeamInvitation {
2742
+ interface WorkspaceInvitation {
2547
2743
  id: string;
2548
- team_id: string;
2744
+ container_id: string;
2549
2745
  email: string;
2550
2746
  invited_by: string;
2551
2747
  role: string;
@@ -2556,7 +2752,7 @@ interface TeamInvitation {
2556
2752
  }
2557
2753
  interface SsoConfig {
2558
2754
  id: string;
2559
- team_id: string;
2755
+ container_id: string;
2560
2756
  provider_type: string;
2561
2757
  provider_name?: string;
2562
2758
  saml_idp_entity_id?: string;
@@ -2575,6 +2771,105 @@ interface SsoConfig {
2575
2771
  created_at: string;
2576
2772
  updated_at: string;
2577
2773
  }
2774
+ declare class WorkspacesService extends ServiceModule {
2775
+ protected basePath: string;
2776
+ create(data: {
2777
+ name: string;
2778
+ description?: string;
2779
+ }, options?: RequestOptions): Promise<ApiResponse<Workspace$1>>;
2780
+ list(params?: PaginationParams, requestOptions?: RequestOptions): Promise<PaginatedResponse<Workspace$1>>;
2781
+ mine(params?: PaginationParams, options?: RequestOptions): Promise<PaginatedResponse<Workspace$1>>;
2782
+ get(id: string, options?: RequestOptions): Promise<ApiResponse<Workspace$1>>;
2783
+ update(id: string, data: Partial<{
2784
+ name: string;
2785
+ description: string;
2786
+ }>, options?: RequestOptions): Promise<ApiResponse<Workspace$1>>;
2787
+ delete(id: string, options?: RequestOptions): Promise<ApiResponse<{
2788
+ deleted: boolean;
2789
+ }>>;
2790
+ listMembers(workspaceId: string, params?: PaginationParams, requestOptions?: RequestOptions): Promise<PaginatedResponse<WorkspaceMember>>;
2791
+ addMember(workspaceId: string, data: {
2792
+ user_id: string;
2793
+ role: string;
2794
+ }, options?: RequestOptions): Promise<ApiResponse<WorkspaceMember>>;
2795
+ updateMember(workspaceId: string, userId: string, data: {
2796
+ role: string;
2797
+ }, options?: RequestOptions): Promise<ApiResponse<WorkspaceMember>>;
2798
+ removeMember(workspaceId: string, userId: string, options?: RequestOptions): Promise<ApiResponse<{
2799
+ removed: boolean;
2800
+ }>>;
2801
+ invite(workspaceId: string, data: {
2802
+ email: string;
2803
+ role: string;
2804
+ }, options?: RequestOptions): Promise<ApiResponse<WorkspaceInvitation>>;
2805
+ listInvitations(workspaceId: string, options?: RequestOptions): Promise<ApiResponse<WorkspaceInvitation[]>>;
2806
+ acceptInvitation(token: string, options?: RequestOptions): Promise<ApiResponse<WorkspaceInvitation>>;
2807
+ cancelInvitation(id: string, options?: RequestOptions): Promise<ApiResponse<{
2808
+ cancelled: boolean;
2809
+ }>>;
2810
+ configureSso(workspaceId: string, data: {
2811
+ provider: string;
2812
+ domain: string;
2813
+ metadata_url?: string;
2814
+ }, options?: RequestOptions): Promise<ApiResponse<SsoConfig>>;
2815
+ getSso(workspaceId: string, options?: RequestOptions): Promise<ApiResponse<SsoConfig>>;
2816
+ }
2817
+
2818
+ /**
2819
+ * Teams Service Module
2820
+ *
2821
+ * Team CRUD, members, invitations.
2822
+ * Teams are membership/coordination groups (group people and agents; do not own resources).
2823
+ * SSO is NOT available for teams — use workspaces for SSO.
2824
+ *
2825
+ * Routes (via /v1/teams):
2826
+ * POST / → create team
2827
+ * GET / → list teams
2828
+ * GET /mine → list my teams
2829
+ * GET /{id} → get team
2830
+ * PATCH /{id} → update team
2831
+ * DELETE /{id} → delete team
2832
+ * GET /{id}/members → list members
2833
+ * POST /{id}/members → add member
2834
+ * PATCH /{id}/members/{userId} → update member role
2835
+ * DELETE /{id}/members/{userId} → remove member
2836
+ * POST /{id}/invitations → invite
2837
+ * GET /{id}/invitations → list invitations
2838
+ * POST /invitations/{token}/accept → accept invitation
2839
+ * DELETE /invitations/{id} → cancel invitation
2840
+ */
2841
+
2842
+ interface Team {
2843
+ id: string;
2844
+ kind: 'team';
2845
+ name: string;
2846
+ description?: string;
2847
+ owner_user_id: string;
2848
+ plan_type?: string;
2849
+ member_limit?: number;
2850
+ created_at: string;
2851
+ }
2852
+ interface TeamMember {
2853
+ id: string;
2854
+ container_id: string;
2855
+ sm_user_id: string;
2856
+ role: string;
2857
+ joined_at: string;
2858
+ full_name?: string;
2859
+ email?: string;
2860
+ avatar_url?: string;
2861
+ }
2862
+ interface TeamInvitation {
2863
+ id: string;
2864
+ container_id: string;
2865
+ email: string;
2866
+ invited_by: string;
2867
+ role: string;
2868
+ token?: string;
2869
+ status: string;
2870
+ expires_at: string;
2871
+ created_at: string;
2872
+ }
2578
2873
  declare class TeamsService extends ServiceModule {
2579
2874
  protected basePath: string;
2580
2875
  create(data: {
@@ -2611,19 +2906,6 @@ declare class TeamsService extends ServiceModule {
2611
2906
  cancelInvitation(id: string, options?: RequestOptions): Promise<ApiResponse<{
2612
2907
  cancelled: boolean;
2613
2908
  }>>;
2614
- configureSso(teamId: string, data: {
2615
- provider: string;
2616
- domain: string;
2617
- metadata_url?: string;
2618
- }, options?: RequestOptions): Promise<ApiResponse<SsoConfig>>;
2619
- getSso(teamId: string, options?: RequestOptions): Promise<ApiResponse<SsoConfig>>;
2620
- /** @deprecated Use create() instead */
2621
- createTeam(data: {
2622
- name: string;
2623
- description?: string;
2624
- }): Promise<ApiResponse<Team>>;
2625
- /** @deprecated Use invite() instead */
2626
- inviteMember(teamId: string, email: string, role: string): Promise<ApiResponse<TeamInvitation>>;
2627
2909
  }
2628
2910
 
2629
2911
  /**
@@ -4280,6 +4562,8 @@ interface ProjectGrant {
4280
4562
  expires_at: string;
4281
4563
  redeemed_at?: string;
4282
4564
  email_sent?: boolean;
4565
+ container_invitation_id?: string;
4566
+ /** @deprecated Use container_invitation_id */
4283
4567
  team_invitation_id?: string;
4284
4568
  }
4285
4569
  interface GrantInfo {
@@ -4397,7 +4681,11 @@ declare class AgentProjectsService extends ServiceModule {
4397
4681
  user_email: string;
4398
4682
  expires_at: string;
4399
4683
  invite_url?: string;
4684
+ container_invitation_id?: string;
4685
+ container_id?: string;
4686
+ /** @deprecated Use container_invitation_id */
4400
4687
  team_invitation_id?: string;
4688
+ /** @deprecated Use container_id */
4401
4689
  team_id?: string;
4402
4690
  }, options?: RequestOptions): Promise<ApiResponse<ProjectGrant>>;
4403
4691
  listGrants(projectId: string, options?: RequestOptions): Promise<ApiResponse<ProjectGrant[]>>;
@@ -4801,10 +5089,13 @@ declare class ScaleMule {
4801
5089
  readonly social: SocialService;
4802
5090
  readonly billing: BillingService;
4803
5091
  readonly analytics: AnalyticsService;
5092
+ readonly flags: FlagsService;
4804
5093
  readonly communication: CommunicationService;
4805
5094
  readonly scheduler: SchedulerService;
4806
5095
  readonly permissions: PermissionsService;
4807
- readonly teams: TeamsService;
5096
+ readonly workspaces: WorkspacesService;
5097
+ /** @deprecated Use `workspaces` instead */
5098
+ get teams(): WorkspacesService;
4808
5099
  readonly accounts: AccountsService;
4809
5100
  readonly identity: IdentityService;
4810
5101
  readonly catalog: CatalogService;
@@ -4853,8 +5144,12 @@ declare class ScaleMule {
4853
5144
  isAuthenticated(): boolean;
4854
5145
  /** The base URL being used for API requests. */
4855
5146
  getBaseUrl(): string;
5147
+ /** Set the active workspace context. All subsequent requests include this as x-sm-workspace-id. */
5148
+ setWorkspaceContext(id: string | null): void;
5149
+ /** Get the current workspace ID, or null. */
5150
+ getWorkspaceId(): string | null;
4856
5151
  /** Access the underlying ScaleMuleClient for advanced usage. */
4857
5152
  getClient(): ScaleMuleClient;
4858
5153
  }
4859
5154
 
4860
- export { type AccountBalance, AccountsService, type ActiveUsers, type ActivityItem, AgentAuthService, AgentModelsService, type AgentProfile, AgentProjectsService, type AgentResponse, type AgentSecurityPolicy, AgentSessionsService, type AgentSigningKey, type AgentToken, type AgentToolEntitlement, AgentToolsService, AgentsService, type AggregateOptions, type AggregateResult, type AnalyticsEvent, AnalyticsService, type ApiError, type ApiKey, type ApiResponse, type Appeal, type Application, type Attachment, type Attendee, type AuditLog, type AuthRegisterAgentRequest, type AuthRegisterAgentResponse, AuthService, type AuthSession, type AuthUser, type BackupCodes, BillingService, type CacheEntry, CacheService, type CalendarEvent, type CatalogEntry, CatalogService, type ChatMessage, type ChatReaction, ChatService, type ClaimResult, type Client, type ClientContext, type Collection, type Comment, CommunicationService, type CompletedPart, ComplianceService, type CompressionConfig, type ConnectedAccount, type ConnectedAccountSubscription, type ConnectedSetupIntentResponse, type ConnectedSubscriptionListParams, type ConnectionStatus, type ContentFlag, type Conversation, type CostReportDay, type CreateSessionResponse, type Credential, type CredentialScope, type Customer, type DataAccessPolicy, type DataExport, DataService, type DataSource, type DeadLetterJob, type DeviceInfo, type Document, type ErrorCode, ErrorCodes, type EventAggregation, EventsService, type FileInfo, type FlagCheck, FlagContentService, type FollowStatus, type FunctionExecution, type FunctionMetrics, FunctionsService, type Funnel, type FunnelConversion, type GdprRequest, type GrantInfo, type GraphEdge, type GraphNode, GraphService, IdentityService, type IdentityType, type IncomingRequestLike, type Invoice, type JobExecution, type JobStats, type Leaderboard, type LeaderboardEntry, LeaderboardService, type Like, type Listing, ListingsService, type LogEntry, type LogInput, type LogQueryParams, type LogQueryResponse, type LogRecord, LoggerService, type LoginActivitySummary, type LoginDeviceInfo, type LoginHistoryEntry, type LoginRiskInfo, type MessageCallback, type MessageStatus, type MetricDataPoint, type MfaStatus, type Model, type ModelEntitlement, type ModelPricing, type ModelProvider, type UsageSummary as ModelUsageSummary, type MultipartCompleteResponse, type MultipartPartUrlsResponse, type MultipartStartResponse, type NetworkClass, type OAuthProvider, type OAuthUrl, OrchestratorService, PHOTO_BREAKPOINTS, type PaginatedResponse, type PaginationMetadata, type PaginationParams, type PartUrl, type Participant, type Payment, type PaymentListParams, type PaymentMethod, type PaymentStatusResponse, type Payout, type PayoutSchedule, type PermissionCheck, type PermissionMatrix, PermissionsService, type PhotoInfo, PhotoService, type Pipeline, type PipelineVersion, type Policy, type PresenceCallback, type PresenceEvent, type PresignedUploadResponse, type Price, type Product, type Project, type ProjectDocument, type ProjectGrant, type ProjectMember, type PushToken, type QueryFilter, type QueryOptions, type QuerySort, type QueueJob, QueueService, type ReadStatus, RealtimeService, type RedeemResult, type Refund, type RegisterAgentRequest, type RegisterAgentResponse, type RequestOptions, type ResumeSession, type Role, type RuntimeTemplate, type RuntimeTemplateVersion, ScaleMule, ScaleMuleClient, type ScaleMuleConfig, type SchedulerJob, SchedulerService, type SearchResult, SearchService, type SecurityLayers, type ServerlessFunction, type ServiceHealth, ServiceModule, type Session, type SessionArtifact, type SessionInfo, type SessionLog, type Severity, type ShortestPathResult, type SignedUrlResponse, type SocialPost, SocialService, type SocialUser, type SsoConfig, type StatusCallback, type StorageAdapter, StorageService, type StrategyResult, type SubmitResult, type Subscription, type Task, type TaskAttempt, type TaskTransition, type Team, type TeamInvitation, type TeamMember, TeamsService, type TelemetryPayload, type Tool, type ToolCapability, type ToolIntegration, type TopEvent, type TotpSetup, type Transaction, type TransactionListParams, type TransactionSummary, type TransactionSummaryParams, type Transfer, type TransformOptions, type TransformResult, type TraversalResult, type UploadCompleteResponse, type UploadEngineConfig, type UploadOptions, type UploadPlan, UploadResumeStore, type UploadStrategy, UploadTelemetry, type UploadTelemetryConfig, type UploadTelemetryEvent, type UsageRecord, type UsageSummary$1 as UsageSummary, type UserRank, type VideoInfo, VideoService, type VideoUploadOptions, type Webhook, WebhooksService, type Workflow, type WorkflowExecution, type Workspace, buildClientContextHeaders, calculateTotalParts, canPerform, createUploadPlan, ScaleMule as default, detectNetworkClass, extractClientContext, generateUploadSessionId, getMeasuredBandwidthMbps, getPartRange, hasMinRoleLevel, resolveStrategy, validateIP };
5155
+ export { type AccountBalance, AccountsService, type ActiveUsers, type ActivityItem, AgentAuthService, AgentModelsService, type AgentProfile, AgentProjectsService, type AgentResponse, type AgentSecurityPolicy, AgentSessionsService, type AgentSigningKey, type AgentToken, type AgentToolEntitlement, AgentToolsService, type Workspace as AgentWorkspace, AgentsService, type AggregateOptions, type AggregateResult, type AnalyticsEvent, AnalyticsService, type ApiError, type ApiKey, type ApiResponse, type Appeal, type Application, type Attachment, type Attendee, type AuditLog, type AuthRegisterAgentRequest, type AuthRegisterAgentResponse, AuthService, type AuthSession, type AuthUser, type BackupCodes, BillingService, type CacheEntry, CacheService, type CalendarEvent, type CatalogEntry, CatalogService, type ChatMessage, type ChatReaction, ChatService, type ClaimResult, type Client, type ClientContext, type Collection, type Comment, CommunicationService, type CompletedPart, ComplianceService, type CompressionConfig, type ConnectedAccount, type ConnectedAccountSubscription, type ConnectedSetupIntentResponse, type ConnectedSubscriptionListParams, type ConnectionStatus, type ContentFlag, type Conversation, type CostReportDay, type CreateFlagRequest, type CreateRuleRequest, type CreateSegmentRequest, type CreateSessionResponse, type CreateVariantRequest, type Credential, type CredentialScope, type Customer, type DataAccessPolicy, type DataExport, DataService, type DataSource, type DeadLetterJob, type DeviceInfo, type Document, type ErrorCode, ErrorCodes, type EventAggregation, EventsService, type FileInfo, type FlagAuditEntry, type FlagCheck, type FlagCondition, FlagContentService, type FlagDefinition, type FlagDetail, type FlagEnvironment, type FlagEvaluation, type FlagSegment, type FlagVariant, FlagsService, type FollowStatus, type FunctionExecution, type FunctionMetrics, FunctionsService, type Funnel, type FunnelConversion, type GdprRequest, type GrantInfo, type GraphEdge, type GraphNode, GraphService, IdentityService, type IdentityType, type IncomingRequestLike, type Invoice, type JobExecution, type JobStats, type Leaderboard, type LeaderboardEntry, LeaderboardService, type Like, type Listing, ListingsService, type LogEntry, type LogInput, type LogQueryParams, type LogQueryResponse, type LogRecord, LoggerService, type LoginActivitySummary, type LoginDeviceInfo, type LoginHistoryEntry, type LoginRiskInfo, type MessageCallback, type MessageStatus, type MetricDataPoint, type MfaStatus, type Model, type ModelEntitlement, type ModelPricing, type ModelProvider, type UsageSummary as ModelUsageSummary, type MultipartCompleteResponse, type MultipartPartUrlsResponse, type MultipartStartResponse, type NetworkClass, type OAuthProvider, type OAuthUrl, OrchestratorService, PHOTO_BREAKPOINTS, type PaginatedResponse, type PaginationMetadata, type PaginationParams, type PartUrl, type Participant, type Payment, type PaymentListParams, type PaymentMethod, type PaymentStatusResponse, type Payout, type PayoutSchedule, type PermissionCheck, type PermissionMatrix, PermissionsService, type PhotoInfo, PhotoService, type Pipeline, type PipelineVersion, type Policy, type PresenceCallback, type PresenceEvent, type PresignedUploadResponse, type Price, type Product, type Project, type ProjectDocument, type ProjectGrant, type ProjectMember, type PushToken, type QueryFilter, type QueryOptions, type QuerySort, type QueueJob, QueueService, type ReadStatus, RealtimeService, type RedeemResult, type Refund, type RegisterAgentRequest, type RegisterAgentResponse, type RequestOptions, type ResumeSession, type Role, type RuntimeTemplate, type RuntimeTemplateVersion, ScaleMule, ScaleMuleClient, type ScaleMuleConfig, type SchedulerJob, SchedulerService, type SearchResult, SearchService, type SecurityLayers, type ServerlessFunction, type ServiceHealth, ServiceModule, type Session, type SessionArtifact, type SessionInfo, type SessionLog, type Severity, type ShortestPathResult, type SignedUrlResponse, type SocialPost, SocialService, type SocialUser, type SsoConfig, type StatusCallback, type StorageAdapter, StorageService, type StrategyResult, type SubmitResult, type Subscription, type TargetingRule, type Task, type TaskAttempt, type TaskTransition, type Team, type TeamInvitation, type TeamMember, TeamsService, type TelemetryPayload, type Tool, type ToolCapability, type ToolIntegration, type TopEvent, type TotpSetup, type Transaction, type TransactionListParams, type TransactionSummary, type TransactionSummaryParams, type Transfer, type TransformOptions, type TransformResult, type TraversalResult, type UpdateFlagRequest, type UpdateRuleRequest, type UpdateSegmentRequest, type UpdateVariantRequest, type UploadCompleteResponse, type UploadEngineConfig, type UploadOptions, type UploadPlan, UploadResumeStore, type UploadStrategy, UploadTelemetry, type UploadTelemetryConfig, type UploadTelemetryEvent, type UpsertEnvironmentRequest, type UsageRecord, type UsageSummary$1 as UsageSummary, type UserRank, type VideoInfo, VideoService, type VideoUploadOptions, type Webhook, WebhooksService, type Workflow, type WorkflowExecution, type Workspace$1 as Workspace, type WorkspaceInvitation, type WorkspaceMember, WorkspacesService, buildClientContextHeaders, calculateTotalParts, canPerform, createUploadPlan, ScaleMule as default, detectNetworkClass, extractClientContext, generateUploadSessionId, getMeasuredBandwidthMbps, getPartRange, hasMinRoleLevel, resolveStrategy, validateIP };