@scalemule/sdk 0.0.1 → 0.0.2
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 +788 -4
- package/dist/index.d.ts +788 -4
- package/dist/index.js +747 -189
- package/dist/index.mjs +740 -177
- package/dist/{upload-compression-CWKEDQYS.mjs → upload-compression-VOUJRAIM.mjs} +2 -13
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1825,7 +1825,7 @@ interface Invoice {
|
|
|
1825
1825
|
paid_at?: string;
|
|
1826
1826
|
created_at: string;
|
|
1827
1827
|
}
|
|
1828
|
-
interface UsageSummary {
|
|
1828
|
+
interface UsageSummary$1 {
|
|
1829
1829
|
customer_id: string;
|
|
1830
1830
|
event_type: string;
|
|
1831
1831
|
total_quantity: number;
|
|
@@ -2014,7 +2014,7 @@ declare class BillingService extends ServiceModule {
|
|
|
2014
2014
|
}, options?: RequestOptions): Promise<ApiResponse<{
|
|
2015
2015
|
recorded: boolean;
|
|
2016
2016
|
}>>;
|
|
2017
|
-
getUsageSummary(options?: RequestOptions): Promise<ApiResponse<UsageSummary[]>>;
|
|
2017
|
+
getUsageSummary(options?: RequestOptions): Promise<ApiResponse<UsageSummary$1[]>>;
|
|
2018
2018
|
listInvoices(params?: PaginationParams, options?: RequestOptions): Promise<PaginatedResponse<Invoice>>;
|
|
2019
2019
|
getInvoice(id: string, options?: RequestOptions): Promise<ApiResponse<Invoice>>;
|
|
2020
2020
|
payInvoice(id: string, options?: RequestOptions): Promise<ApiResponse<Invoice>>;
|
|
@@ -3183,7 +3183,7 @@ declare class PhotoService extends ServiceModule {
|
|
|
3183
3183
|
* // Profile avatar at 48px -> snaps to 150px
|
|
3184
3184
|
* const url = sm.photo.getOptimalUrl(photoId, 48)
|
|
3185
3185
|
* ```
|
|
3186
|
-
|
|
3186
|
+
*/
|
|
3187
3187
|
getOptimalUrl(photoId: string, displayWidth: number, options?: {
|
|
3188
3188
|
dpr?: number;
|
|
3189
3189
|
}): string;
|
|
@@ -3909,6 +3909,784 @@ declare class FlagContentService extends ServiceModule {
|
|
|
3909
3909
|
getAppeal(id: string, options?: RequestOptions): Promise<ApiResponse<Appeal>>;
|
|
3910
3910
|
}
|
|
3911
3911
|
|
|
3912
|
+
interface AuthRegisterAgentRequest {
|
|
3913
|
+
name: string;
|
|
3914
|
+
agent_platform: string;
|
|
3915
|
+
agent_identifier?: string;
|
|
3916
|
+
description?: string;
|
|
3917
|
+
email?: string;
|
|
3918
|
+
phone?: string;
|
|
3919
|
+
owner_contact_email?: string;
|
|
3920
|
+
capabilities?: string[];
|
|
3921
|
+
model_name?: string;
|
|
3922
|
+
model_version?: string;
|
|
3923
|
+
model_provider?: string;
|
|
3924
|
+
metadata?: Record<string, unknown>;
|
|
3925
|
+
public_key_pem?: string;
|
|
3926
|
+
ip_allowlist?: string[];
|
|
3927
|
+
enable_short_lived_tokens?: boolean;
|
|
3928
|
+
}
|
|
3929
|
+
interface SecurityLayers {
|
|
3930
|
+
request_signing: boolean;
|
|
3931
|
+
ip_binding: boolean;
|
|
3932
|
+
short_lived_tokens: boolean;
|
|
3933
|
+
}
|
|
3934
|
+
interface AuthRegisterAgentResponse {
|
|
3935
|
+
user_id: string;
|
|
3936
|
+
name: string;
|
|
3937
|
+
agent_token: string;
|
|
3938
|
+
refresh_secret?: string;
|
|
3939
|
+
signing_key_fingerprint?: string;
|
|
3940
|
+
security_layers: SecurityLayers;
|
|
3941
|
+
}
|
|
3942
|
+
interface AgentToken {
|
|
3943
|
+
id: string;
|
|
3944
|
+
name: string;
|
|
3945
|
+
scopes?: string[];
|
|
3946
|
+
ip_allowlist?: string[];
|
|
3947
|
+
expires_at?: string;
|
|
3948
|
+
last_used_at?: string;
|
|
3949
|
+
created_at: string;
|
|
3950
|
+
}
|
|
3951
|
+
interface AgentSigningKey {
|
|
3952
|
+
id: string;
|
|
3953
|
+
fingerprint: string;
|
|
3954
|
+
key_algorithm: string;
|
|
3955
|
+
status: string;
|
|
3956
|
+
last_used_at?: string;
|
|
3957
|
+
created_at: string;
|
|
3958
|
+
}
|
|
3959
|
+
interface AgentProfile {
|
|
3960
|
+
id: string;
|
|
3961
|
+
full_name: string;
|
|
3962
|
+
email: string;
|
|
3963
|
+
phone?: string;
|
|
3964
|
+
agent_platform?: string;
|
|
3965
|
+
agent_identifier?: string;
|
|
3966
|
+
agent_capabilities?: string;
|
|
3967
|
+
owner_contact_email?: string;
|
|
3968
|
+
agent_model_name?: string;
|
|
3969
|
+
agent_model_version?: string;
|
|
3970
|
+
agent_model_provider?: string;
|
|
3971
|
+
created_at: string;
|
|
3972
|
+
}
|
|
3973
|
+
interface AgentSecurityPolicy {
|
|
3974
|
+
allow_agent_registration: boolean;
|
|
3975
|
+
require_request_signing: boolean;
|
|
3976
|
+
require_ip_binding: boolean;
|
|
3977
|
+
require_short_lived_tokens: boolean;
|
|
3978
|
+
max_tokens_per_agent: number;
|
|
3979
|
+
}
|
|
3980
|
+
declare class AgentAuthService extends ServiceModule {
|
|
3981
|
+
protected basePath: string;
|
|
3982
|
+
registerAgent(data: AuthRegisterAgentRequest, options?: RequestOptions): Promise<ApiResponse<AuthRegisterAgentResponse>>;
|
|
3983
|
+
listTokens(options?: RequestOptions): Promise<ApiResponse<{
|
|
3984
|
+
tokens: AgentToken[];
|
|
3985
|
+
}>>;
|
|
3986
|
+
createToken(data: {
|
|
3987
|
+
name: string;
|
|
3988
|
+
scopes?: string[];
|
|
3989
|
+
ip_allowlist?: string[];
|
|
3990
|
+
expires_in_days?: number;
|
|
3991
|
+
}, options?: RequestOptions): Promise<ApiResponse<{
|
|
3992
|
+
id: string;
|
|
3993
|
+
token: string;
|
|
3994
|
+
name: string;
|
|
3995
|
+
expires_at?: string;
|
|
3996
|
+
}>>;
|
|
3997
|
+
revokeToken(id: string, options?: RequestOptions): Promise<ApiResponse<{
|
|
3998
|
+
message: string;
|
|
3999
|
+
}>>;
|
|
4000
|
+
rotateToken(id: string, options?: RequestOptions): Promise<ApiResponse<{
|
|
4001
|
+
new_token: string;
|
|
4002
|
+
old_token_grace_expires_at: string;
|
|
4003
|
+
}>>;
|
|
4004
|
+
exchangeToken(data: {
|
|
4005
|
+
refresh_secret: string;
|
|
4006
|
+
ttl_minutes?: number;
|
|
4007
|
+
}, options?: RequestOptions): Promise<ApiResponse<{
|
|
4008
|
+
access_token: string;
|
|
4009
|
+
expires_in: number;
|
|
4010
|
+
}>>;
|
|
4011
|
+
listSigningKeys(options?: RequestOptions): Promise<ApiResponse<{
|
|
4012
|
+
keys: AgentSigningKey[];
|
|
4013
|
+
}>>;
|
|
4014
|
+
addSigningKey(data: {
|
|
4015
|
+
public_key_pem: string;
|
|
4016
|
+
}, options?: RequestOptions): Promise<ApiResponse<{
|
|
4017
|
+
id: string;
|
|
4018
|
+
fingerprint: string;
|
|
4019
|
+
}>>;
|
|
4020
|
+
revokeSigningKey(id: string, options?: RequestOptions): Promise<ApiResponse<{
|
|
4021
|
+
message: string;
|
|
4022
|
+
}>>;
|
|
4023
|
+
getProfile(options?: RequestOptions): Promise<ApiResponse<AgentProfile>>;
|
|
4024
|
+
updateProfile(data: Partial<{
|
|
4025
|
+
model_name: string;
|
|
4026
|
+
model_version: string;
|
|
4027
|
+
model_provider: string;
|
|
4028
|
+
capabilities: string[];
|
|
4029
|
+
owner_contact_email: string;
|
|
4030
|
+
}>, options?: RequestOptions): Promise<ApiResponse<{
|
|
4031
|
+
message: string;
|
|
4032
|
+
}>>;
|
|
4033
|
+
getSecurityPolicy(appId: string, options?: RequestOptions): Promise<ApiResponse<AgentSecurityPolicy>>;
|
|
4034
|
+
updateSecurityPolicy(appId: string, data: Partial<AgentSecurityPolicy>, options?: RequestOptions): Promise<ApiResponse<AgentSecurityPolicy>>;
|
|
4035
|
+
}
|
|
4036
|
+
|
|
4037
|
+
interface AgentResponse {
|
|
4038
|
+
id: string;
|
|
4039
|
+
auth_user_id?: string;
|
|
4040
|
+
name: string;
|
|
4041
|
+
agent_type: string;
|
|
4042
|
+
description?: string;
|
|
4043
|
+
status: string;
|
|
4044
|
+
default_workspace_id?: string;
|
|
4045
|
+
metadata?: Record<string, unknown>;
|
|
4046
|
+
created_at: string;
|
|
4047
|
+
updated_at: string;
|
|
4048
|
+
}
|
|
4049
|
+
interface RegisterAgentRequest {
|
|
4050
|
+
name: string;
|
|
4051
|
+
agent_type?: string;
|
|
4052
|
+
description?: string;
|
|
4053
|
+
metadata?: Record<string, unknown>;
|
|
4054
|
+
project_ids?: string[];
|
|
4055
|
+
agent_platform?: string;
|
|
4056
|
+
agent_identifier?: string;
|
|
4057
|
+
owner_contact_email?: string;
|
|
4058
|
+
capabilities?: string[];
|
|
4059
|
+
model_name?: string;
|
|
4060
|
+
model_version?: string;
|
|
4061
|
+
model_provider?: string;
|
|
4062
|
+
public_key_pem?: string;
|
|
4063
|
+
ip_allowlist?: string[];
|
|
4064
|
+
enable_short_lived_tokens?: boolean;
|
|
4065
|
+
}
|
|
4066
|
+
interface RegisterAgentResponse {
|
|
4067
|
+
agent_id: string;
|
|
4068
|
+
agent_token: string;
|
|
4069
|
+
refresh_secret?: string;
|
|
4070
|
+
signing_key_fingerprint?: string;
|
|
4071
|
+
security_layers: SecurityLayers;
|
|
4072
|
+
warnings?: string[];
|
|
4073
|
+
}
|
|
4074
|
+
interface RuntimeTemplate {
|
|
4075
|
+
id: string;
|
|
4076
|
+
name: string;
|
|
4077
|
+
description?: string;
|
|
4078
|
+
runtime_kind: string;
|
|
4079
|
+
status: string;
|
|
4080
|
+
created_at: string;
|
|
4081
|
+
updated_at: string;
|
|
4082
|
+
}
|
|
4083
|
+
interface RuntimeTemplateVersion {
|
|
4084
|
+
id: string;
|
|
4085
|
+
template_id: string;
|
|
4086
|
+
version_number: number;
|
|
4087
|
+
config: Record<string, unknown>;
|
|
4088
|
+
changelog?: string;
|
|
4089
|
+
effective_from: string;
|
|
4090
|
+
effective_to?: string;
|
|
4091
|
+
created_at: string;
|
|
4092
|
+
}
|
|
4093
|
+
interface Workspace {
|
|
4094
|
+
id: string;
|
|
4095
|
+
agent_id?: string;
|
|
4096
|
+
template_version_id: string;
|
|
4097
|
+
name: string;
|
|
4098
|
+
description?: string;
|
|
4099
|
+
status: string;
|
|
4100
|
+
config_overrides?: Record<string, unknown>;
|
|
4101
|
+
created_at: string;
|
|
4102
|
+
updated_at: string;
|
|
4103
|
+
}
|
|
4104
|
+
declare class AgentsService extends ServiceModule {
|
|
4105
|
+
protected basePath: string;
|
|
4106
|
+
registerAgent(data: RegisterAgentRequest, options?: RequestOptions): Promise<ApiResponse<RegisterAgentResponse>>;
|
|
4107
|
+
deactivateAgent(id: string, options?: RequestOptions): Promise<ApiResponse<{
|
|
4108
|
+
message: string;
|
|
4109
|
+
}>>;
|
|
4110
|
+
create(data: {
|
|
4111
|
+
name: string;
|
|
4112
|
+
agent_type?: string;
|
|
4113
|
+
description?: string;
|
|
4114
|
+
metadata?: Record<string, unknown>;
|
|
4115
|
+
}, options?: RequestOptions): Promise<ApiResponse<AgentResponse>>;
|
|
4116
|
+
list(params?: PaginationParams & {
|
|
4117
|
+
application_id?: string;
|
|
4118
|
+
}, options?: RequestOptions): Promise<PaginatedResponse<AgentResponse>>;
|
|
4119
|
+
get(id: string, options?: RequestOptions): Promise<ApiResponse<AgentResponse>>;
|
|
4120
|
+
update(id: string, data: Partial<{
|
|
4121
|
+
name: string;
|
|
4122
|
+
agent_type: string;
|
|
4123
|
+
description: string;
|
|
4124
|
+
status: string;
|
|
4125
|
+
metadata: Record<string, unknown>;
|
|
4126
|
+
}>, options?: RequestOptions): Promise<ApiResponse<AgentResponse>>;
|
|
4127
|
+
remove(id: string, options?: RequestOptions): Promise<ApiResponse<void>>;
|
|
4128
|
+
setDefaultWorkspace(id: string, data: {
|
|
4129
|
+
workspace_id: string;
|
|
4130
|
+
}, options?: RequestOptions): Promise<ApiResponse<AgentResponse>>;
|
|
4131
|
+
createTemplate(data: {
|
|
4132
|
+
name: string;
|
|
4133
|
+
description?: string;
|
|
4134
|
+
runtime_kind: string;
|
|
4135
|
+
}, options?: RequestOptions): Promise<ApiResponse<RuntimeTemplate>>;
|
|
4136
|
+
listTemplates(params?: PaginationParams & {
|
|
4137
|
+
application_id?: string;
|
|
4138
|
+
}, options?: RequestOptions): Promise<PaginatedResponse<RuntimeTemplate>>;
|
|
4139
|
+
getTemplate(id: string, options?: RequestOptions): Promise<ApiResponse<{
|
|
4140
|
+
template: RuntimeTemplate;
|
|
4141
|
+
versions: RuntimeTemplateVersion[];
|
|
4142
|
+
}>>;
|
|
4143
|
+
createTemplateVersion(id: string, data: {
|
|
4144
|
+
config: Record<string, unknown>;
|
|
4145
|
+
changelog?: string;
|
|
4146
|
+
}, options?: RequestOptions): Promise<ApiResponse<RuntimeTemplateVersion>>;
|
|
4147
|
+
listTemplateVersions(id: string, options?: RequestOptions): Promise<ApiResponse<RuntimeTemplateVersion[]>>;
|
|
4148
|
+
createWorkspace(data: {
|
|
4149
|
+
template_version_id: string;
|
|
4150
|
+
name: string;
|
|
4151
|
+
description?: string;
|
|
4152
|
+
agent_id?: string;
|
|
4153
|
+
config_overrides?: Record<string, unknown>;
|
|
4154
|
+
}, options?: RequestOptions): Promise<ApiResponse<Workspace>>;
|
|
4155
|
+
listWorkspaces(params?: PaginationParams & {
|
|
4156
|
+
application_id?: string;
|
|
4157
|
+
}, options?: RequestOptions): Promise<PaginatedResponse<Workspace>>;
|
|
4158
|
+
getWorkspace(id: string, options?: RequestOptions): Promise<ApiResponse<Workspace>>;
|
|
4159
|
+
updateWorkspace(id: string, data: Partial<{
|
|
4160
|
+
name: string;
|
|
4161
|
+
description: string;
|
|
4162
|
+
status: string;
|
|
4163
|
+
config_overrides: Record<string, unknown>;
|
|
4164
|
+
}>, options?: RequestOptions): Promise<ApiResponse<Workspace>>;
|
|
4165
|
+
addOsAccount(workspaceId: string, data: {
|
|
4166
|
+
username: string;
|
|
4167
|
+
auth_type: string;
|
|
4168
|
+
secret_ref: string;
|
|
4169
|
+
}, options?: RequestOptions): Promise<ApiResponse<{
|
|
4170
|
+
id: string;
|
|
4171
|
+
workspace_id: string;
|
|
4172
|
+
username: string;
|
|
4173
|
+
auth_type: string;
|
|
4174
|
+
}>>;
|
|
4175
|
+
}
|
|
4176
|
+
|
|
4177
|
+
interface Project {
|
|
4178
|
+
id: string;
|
|
4179
|
+
name: string;
|
|
4180
|
+
description?: string;
|
|
4181
|
+
status: string;
|
|
4182
|
+
created_at: string;
|
|
4183
|
+
updated_at: string;
|
|
4184
|
+
}
|
|
4185
|
+
interface ProjectMember {
|
|
4186
|
+
id: string;
|
|
4187
|
+
project_id: string;
|
|
4188
|
+
user_id: string;
|
|
4189
|
+
role: string;
|
|
4190
|
+
created_at: string;
|
|
4191
|
+
}
|
|
4192
|
+
interface Task {
|
|
4193
|
+
id: string;
|
|
4194
|
+
project_id: string;
|
|
4195
|
+
title: string;
|
|
4196
|
+
description?: string;
|
|
4197
|
+
status: string;
|
|
4198
|
+
priority?: string;
|
|
4199
|
+
due_date?: string;
|
|
4200
|
+
assigned_agent_id?: string;
|
|
4201
|
+
metadata?: Record<string, unknown>;
|
|
4202
|
+
created_at: string;
|
|
4203
|
+
updated_at: string;
|
|
4204
|
+
}
|
|
4205
|
+
interface ClaimResult {
|
|
4206
|
+
task_id: string;
|
|
4207
|
+
agent_id: string;
|
|
4208
|
+
attempt_number: number;
|
|
4209
|
+
lease_expires_at: string;
|
|
4210
|
+
}
|
|
4211
|
+
interface SubmitResult {
|
|
4212
|
+
task_id: string;
|
|
4213
|
+
idempotent?: boolean;
|
|
4214
|
+
}
|
|
4215
|
+
interface TaskTransition {
|
|
4216
|
+
id: string;
|
|
4217
|
+
task_id: string;
|
|
4218
|
+
from_state?: string;
|
|
4219
|
+
to_state: string;
|
|
4220
|
+
actor_id?: string;
|
|
4221
|
+
actor_type: string;
|
|
4222
|
+
reason?: string;
|
|
4223
|
+
metadata?: Record<string, unknown>;
|
|
4224
|
+
created_at: string;
|
|
4225
|
+
}
|
|
4226
|
+
interface TaskAttempt {
|
|
4227
|
+
id: string;
|
|
4228
|
+
task_id: string;
|
|
4229
|
+
attempt_number: number;
|
|
4230
|
+
agent_id?: string;
|
|
4231
|
+
status: string;
|
|
4232
|
+
lease_expires_at?: string;
|
|
4233
|
+
started_at: string;
|
|
4234
|
+
ended_at?: string;
|
|
4235
|
+
input_tokens: number;
|
|
4236
|
+
output_tokens: number;
|
|
4237
|
+
cost_usd: number;
|
|
4238
|
+
error_message?: string;
|
|
4239
|
+
metadata?: Record<string, unknown>;
|
|
4240
|
+
}
|
|
4241
|
+
interface ProjectDocument {
|
|
4242
|
+
id: string;
|
|
4243
|
+
project_id: string;
|
|
4244
|
+
title: string;
|
|
4245
|
+
content?: string;
|
|
4246
|
+
created_at: string;
|
|
4247
|
+
}
|
|
4248
|
+
interface Pipeline {
|
|
4249
|
+
id: string;
|
|
4250
|
+
project_id: string;
|
|
4251
|
+
name: string;
|
|
4252
|
+
status: string;
|
|
4253
|
+
created_at: string;
|
|
4254
|
+
}
|
|
4255
|
+
interface PipelineVersion {
|
|
4256
|
+
id: string;
|
|
4257
|
+
pipeline_id: string;
|
|
4258
|
+
version_number: number;
|
|
4259
|
+
config: Record<string, unknown>;
|
|
4260
|
+
created_at: string;
|
|
4261
|
+
}
|
|
4262
|
+
declare class AgentProjectsService extends ServiceModule {
|
|
4263
|
+
protected basePath: string;
|
|
4264
|
+
private withAppId;
|
|
4265
|
+
createProject(data: {
|
|
4266
|
+
name: string;
|
|
4267
|
+
description?: string;
|
|
4268
|
+
}, applicationId?: string, options?: RequestOptions): Promise<ApiResponse<Project>>;
|
|
4269
|
+
listProjects(params?: PaginationParams & {
|
|
4270
|
+
application_id?: string;
|
|
4271
|
+
}, options?: RequestOptions): Promise<PaginatedResponse<Project>>;
|
|
4272
|
+
getProject(id: string, applicationId?: string, options?: RequestOptions): Promise<ApiResponse<Project>>;
|
|
4273
|
+
updateProject(id: string, data: Partial<{
|
|
4274
|
+
name: string;
|
|
4275
|
+
description: string;
|
|
4276
|
+
status: string;
|
|
4277
|
+
}>, applicationId?: string, options?: RequestOptions): Promise<ApiResponse<Project>>;
|
|
4278
|
+
addMember(projectId: string, data: {
|
|
4279
|
+
user_id: string;
|
|
4280
|
+
role: string;
|
|
4281
|
+
}, applicationId?: string, options?: RequestOptions): Promise<ApiResponse<ProjectMember>>;
|
|
4282
|
+
listMembers(projectId: string, applicationId?: string, options?: RequestOptions): Promise<ApiResponse<ProjectMember[]>>;
|
|
4283
|
+
updateMember(projectId: string, userId: string, data: {
|
|
4284
|
+
role: string;
|
|
4285
|
+
}, applicationId?: string, options?: RequestOptions): Promise<ApiResponse<ProjectMember>>;
|
|
4286
|
+
removeMember(projectId: string, userId: string, applicationId?: string, options?: RequestOptions): Promise<ApiResponse<void>>;
|
|
4287
|
+
createTask(projectId: string, data: {
|
|
4288
|
+
title: string;
|
|
4289
|
+
description?: string;
|
|
4290
|
+
priority?: string;
|
|
4291
|
+
due_date?: string;
|
|
4292
|
+
metadata?: Record<string, unknown>;
|
|
4293
|
+
}, applicationId?: string, options?: RequestOptions): Promise<ApiResponse<Task>>;
|
|
4294
|
+
listTasks(projectId: string, params?: PaginationParams & {
|
|
4295
|
+
application_id?: string;
|
|
4296
|
+
status?: string;
|
|
4297
|
+
priority?: string;
|
|
4298
|
+
agent_id?: string;
|
|
4299
|
+
}, options?: RequestOptions): Promise<PaginatedResponse<Task>>;
|
|
4300
|
+
getTask(id: string, applicationId?: string, options?: RequestOptions): Promise<ApiResponse<Task>>;
|
|
4301
|
+
updateTask(id: string, data: Partial<{
|
|
4302
|
+
title: string;
|
|
4303
|
+
description: string;
|
|
4304
|
+
status: string;
|
|
4305
|
+
priority: string;
|
|
4306
|
+
due_date: string;
|
|
4307
|
+
actual_hours: number;
|
|
4308
|
+
metadata: Record<string, unknown>;
|
|
4309
|
+
}>, applicationId?: string, options?: RequestOptions): Promise<ApiResponse<Task>>;
|
|
4310
|
+
claimNext(agentId: string, applicationId?: string, options?: RequestOptions): Promise<ApiResponse<ClaimResult | null>>;
|
|
4311
|
+
claim(taskId: string, agentId: string, applicationId?: string, options?: RequestOptions): Promise<ApiResponse<ClaimResult>>;
|
|
4312
|
+
heartbeat(taskId: string, agentId: string, applicationId?: string, options?: RequestOptions): Promise<ApiResponse<{
|
|
4313
|
+
lease_expires_at: string;
|
|
4314
|
+
}>>;
|
|
4315
|
+
submit(taskId: string, data: {
|
|
4316
|
+
agent_id: string;
|
|
4317
|
+
idempotency_key: string;
|
|
4318
|
+
output?: Record<string, unknown>;
|
|
4319
|
+
input_tokens?: number;
|
|
4320
|
+
output_tokens?: number;
|
|
4321
|
+
cost_usd?: number;
|
|
4322
|
+
notes?: string;
|
|
4323
|
+
}, applicationId?: string, options?: RequestOptions): Promise<ApiResponse<SubmitResult>>;
|
|
4324
|
+
block(taskId: string, data: {
|
|
4325
|
+
agent_id: string;
|
|
4326
|
+
reason: string;
|
|
4327
|
+
question?: string;
|
|
4328
|
+
}, applicationId?: string, options?: RequestOptions): Promise<ApiResponse<Task>>;
|
|
4329
|
+
assignAgent(taskId: string, data: {
|
|
4330
|
+
agent_id: string;
|
|
4331
|
+
}, applicationId?: string, options?: RequestOptions): Promise<ApiResponse<{
|
|
4332
|
+
task_id: string;
|
|
4333
|
+
agent_id: string;
|
|
4334
|
+
}>>;
|
|
4335
|
+
unassignAgent(taskId: string, agentId: string, applicationId?: string, options?: RequestOptions): Promise<ApiResponse<void>>;
|
|
4336
|
+
listAttempts(taskId: string, applicationId?: string, options?: RequestOptions): Promise<ApiResponse<TaskAttempt[]>>;
|
|
4337
|
+
listTransitions(taskId: string, applicationId?: string, options?: RequestOptions): Promise<ApiResponse<TaskTransition[]>>;
|
|
4338
|
+
createDocument(projectId: string, data: {
|
|
4339
|
+
title: string;
|
|
4340
|
+
content?: string;
|
|
4341
|
+
}, applicationId?: string, options?: RequestOptions): Promise<ApiResponse<ProjectDocument>>;
|
|
4342
|
+
listDocuments(projectId: string, applicationId?: string, options?: RequestOptions): Promise<ApiResponse<ProjectDocument[]>>;
|
|
4343
|
+
deleteDocument(documentId: string, applicationId?: string, options?: RequestOptions): Promise<ApiResponse<void>>;
|
|
4344
|
+
createPipeline(projectId: string, data: {
|
|
4345
|
+
name: string;
|
|
4346
|
+
}, applicationId?: string, options?: RequestOptions): Promise<ApiResponse<Pipeline>>;
|
|
4347
|
+
listPipelines(projectId: string, applicationId?: string, options?: RequestOptions): Promise<ApiResponse<Pipeline[]>>;
|
|
4348
|
+
createPipelineVersion(pipelineId: string, data: {
|
|
4349
|
+
config: Record<string, unknown>;
|
|
4350
|
+
}, applicationId?: string, options?: RequestOptions): Promise<ApiResponse<PipelineVersion>>;
|
|
4351
|
+
listPipelineVersions(pipelineId: string, applicationId?: string, options?: RequestOptions): Promise<ApiResponse<PipelineVersion[]>>;
|
|
4352
|
+
}
|
|
4353
|
+
|
|
4354
|
+
interface Tool {
|
|
4355
|
+
id: string;
|
|
4356
|
+
name: string;
|
|
4357
|
+
description?: string;
|
|
4358
|
+
tool_type: string;
|
|
4359
|
+
status: string;
|
|
4360
|
+
config?: Record<string, unknown>;
|
|
4361
|
+
created_at: string;
|
|
4362
|
+
updated_at: string;
|
|
4363
|
+
}
|
|
4364
|
+
interface ToolCapability {
|
|
4365
|
+
id: string;
|
|
4366
|
+
tool_id: string;
|
|
4367
|
+
name: string;
|
|
4368
|
+
description?: string;
|
|
4369
|
+
created_at: string;
|
|
4370
|
+
}
|
|
4371
|
+
interface ToolIntegration {
|
|
4372
|
+
id: string;
|
|
4373
|
+
name: string;
|
|
4374
|
+
tool_id: string;
|
|
4375
|
+
status: string;
|
|
4376
|
+
config?: Record<string, unknown>;
|
|
4377
|
+
created_at: string;
|
|
4378
|
+
updated_at: string;
|
|
4379
|
+
}
|
|
4380
|
+
interface Credential {
|
|
4381
|
+
id: string;
|
|
4382
|
+
name: string;
|
|
4383
|
+
credential_type: string;
|
|
4384
|
+
status: string;
|
|
4385
|
+
created_at: string;
|
|
4386
|
+
updated_at: string;
|
|
4387
|
+
}
|
|
4388
|
+
interface CredentialScope {
|
|
4389
|
+
id: string;
|
|
4390
|
+
credential_id: string;
|
|
4391
|
+
scope: string;
|
|
4392
|
+
created_at: string;
|
|
4393
|
+
}
|
|
4394
|
+
interface AgentToolEntitlement {
|
|
4395
|
+
id: string;
|
|
4396
|
+
agent_id: string;
|
|
4397
|
+
tool_id: string;
|
|
4398
|
+
status: string;
|
|
4399
|
+
created_at: string;
|
|
4400
|
+
}
|
|
4401
|
+
interface DataSource {
|
|
4402
|
+
id: string;
|
|
4403
|
+
name: string;
|
|
4404
|
+
source_type: string;
|
|
4405
|
+
status: string;
|
|
4406
|
+
config?: Record<string, unknown>;
|
|
4407
|
+
created_at: string;
|
|
4408
|
+
}
|
|
4409
|
+
interface DataAccessPolicy {
|
|
4410
|
+
id: string;
|
|
4411
|
+
data_source_id: string;
|
|
4412
|
+
agent_id?: string;
|
|
4413
|
+
policy_type: string;
|
|
4414
|
+
created_at: string;
|
|
4415
|
+
}
|
|
4416
|
+
declare class AgentToolsService extends ServiceModule {
|
|
4417
|
+
protected basePath: string;
|
|
4418
|
+
createTool(data: {
|
|
4419
|
+
name: string;
|
|
4420
|
+
description?: string;
|
|
4421
|
+
tool_type: string;
|
|
4422
|
+
config?: Record<string, unknown>;
|
|
4423
|
+
}, options?: RequestOptions): Promise<ApiResponse<Tool>>;
|
|
4424
|
+
listTools(params?: PaginationParams & {
|
|
4425
|
+
application_id?: string;
|
|
4426
|
+
}, options?: RequestOptions): Promise<PaginatedResponse<Tool>>;
|
|
4427
|
+
getTool(id: string, options?: RequestOptions): Promise<ApiResponse<Tool>>;
|
|
4428
|
+
createCapability(toolId: string, data: {
|
|
4429
|
+
name: string;
|
|
4430
|
+
description?: string;
|
|
4431
|
+
}, options?: RequestOptions): Promise<ApiResponse<ToolCapability>>;
|
|
4432
|
+
listCapabilities(toolId: string, options?: RequestOptions): Promise<ApiResponse<ToolCapability[]>>;
|
|
4433
|
+
createIntegration(data: {
|
|
4434
|
+
name: string;
|
|
4435
|
+
tool_id: string;
|
|
4436
|
+
config?: Record<string, unknown>;
|
|
4437
|
+
}, options?: RequestOptions): Promise<ApiResponse<ToolIntegration>>;
|
|
4438
|
+
listIntegrations(params?: PaginationParams & {
|
|
4439
|
+
application_id?: string;
|
|
4440
|
+
}, options?: RequestOptions): Promise<PaginatedResponse<ToolIntegration>>;
|
|
4441
|
+
updateIntegration(id: string, data: Partial<{
|
|
4442
|
+
name: string;
|
|
4443
|
+
status: string;
|
|
4444
|
+
config: Record<string, unknown>;
|
|
4445
|
+
}>, options?: RequestOptions): Promise<ApiResponse<ToolIntegration>>;
|
|
4446
|
+
createCredential(data: {
|
|
4447
|
+
name: string;
|
|
4448
|
+
credential_type: string;
|
|
4449
|
+
secret: string;
|
|
4450
|
+
}, options?: RequestOptions): Promise<ApiResponse<Credential>>;
|
|
4451
|
+
listCredentials(params?: PaginationParams & {
|
|
4452
|
+
application_id?: string;
|
|
4453
|
+
}, options?: RequestOptions): Promise<PaginatedResponse<Credential>>;
|
|
4454
|
+
updateCredential(id: string, data: Partial<{
|
|
4455
|
+
name: string;
|
|
4456
|
+
status: string;
|
|
4457
|
+
}>, options?: RequestOptions): Promise<ApiResponse<Credential>>;
|
|
4458
|
+
createScope(credentialId: string, data: {
|
|
4459
|
+
scope: string;
|
|
4460
|
+
}, options?: RequestOptions): Promise<ApiResponse<CredentialScope>>;
|
|
4461
|
+
listScopes(credentialId: string, options?: RequestOptions): Promise<ApiResponse<CredentialScope[]>>;
|
|
4462
|
+
grantEntitlement(data: {
|
|
4463
|
+
agent_id: string;
|
|
4464
|
+
tool_id: string;
|
|
4465
|
+
}, options?: RequestOptions): Promise<ApiResponse<AgentToolEntitlement>>;
|
|
4466
|
+
listEntitlements(params?: PaginationParams & {
|
|
4467
|
+
application_id?: string;
|
|
4468
|
+
}, options?: RequestOptions): Promise<PaginatedResponse<AgentToolEntitlement>>;
|
|
4469
|
+
revokeEntitlement(id: string, options?: RequestOptions): Promise<ApiResponse<void>>;
|
|
4470
|
+
authorizeAction(data: {
|
|
4471
|
+
agent_id: string;
|
|
4472
|
+
tool_id: string;
|
|
4473
|
+
action: string;
|
|
4474
|
+
}, options?: RequestOptions): Promise<ApiResponse<{
|
|
4475
|
+
authorized: boolean;
|
|
4476
|
+
}>>;
|
|
4477
|
+
createDataSource(data: {
|
|
4478
|
+
name: string;
|
|
4479
|
+
source_type: string;
|
|
4480
|
+
config?: Record<string, unknown>;
|
|
4481
|
+
}, options?: RequestOptions): Promise<ApiResponse<DataSource>>;
|
|
4482
|
+
listDataSources(params?: PaginationParams & {
|
|
4483
|
+
application_id?: string;
|
|
4484
|
+
}, options?: RequestOptions): Promise<PaginatedResponse<DataSource>>;
|
|
4485
|
+
createDataAccessPolicy(data: {
|
|
4486
|
+
data_source_id: string;
|
|
4487
|
+
agent_id?: string;
|
|
4488
|
+
policy_type: string;
|
|
4489
|
+
}, options?: RequestOptions): Promise<ApiResponse<DataAccessPolicy>>;
|
|
4490
|
+
listDataAccessPolicies(params?: PaginationParams & {
|
|
4491
|
+
application_id?: string;
|
|
4492
|
+
}, options?: RequestOptions): Promise<PaginatedResponse<DataAccessPolicy>>;
|
|
4493
|
+
}
|
|
4494
|
+
|
|
4495
|
+
interface ModelProvider {
|
|
4496
|
+
id: string;
|
|
4497
|
+
name: string;
|
|
4498
|
+
description?: string;
|
|
4499
|
+
status: string;
|
|
4500
|
+
created_at: string;
|
|
4501
|
+
}
|
|
4502
|
+
interface Model {
|
|
4503
|
+
id: string;
|
|
4504
|
+
provider_id: string;
|
|
4505
|
+
name: string;
|
|
4506
|
+
description?: string;
|
|
4507
|
+
model_type: string;
|
|
4508
|
+
status: string;
|
|
4509
|
+
capabilities?: Record<string, unknown>;
|
|
4510
|
+
created_at: string;
|
|
4511
|
+
updated_at: string;
|
|
4512
|
+
}
|
|
4513
|
+
interface ModelPricing {
|
|
4514
|
+
id: string;
|
|
4515
|
+
model_id: string;
|
|
4516
|
+
pricing_type: string;
|
|
4517
|
+
input_cost_per_token?: number;
|
|
4518
|
+
output_cost_per_token?: number;
|
|
4519
|
+
effective_from: string;
|
|
4520
|
+
effective_to?: string;
|
|
4521
|
+
created_at: string;
|
|
4522
|
+
}
|
|
4523
|
+
interface ModelEntitlement {
|
|
4524
|
+
id: string;
|
|
4525
|
+
agent_id?: string;
|
|
4526
|
+
model_id: string;
|
|
4527
|
+
status: string;
|
|
4528
|
+
created_at: string;
|
|
4529
|
+
}
|
|
4530
|
+
interface UsageRecord {
|
|
4531
|
+
id: string;
|
|
4532
|
+
model_id: string;
|
|
4533
|
+
agent_id?: string;
|
|
4534
|
+
input_tokens: number;
|
|
4535
|
+
output_tokens: number;
|
|
4536
|
+
cost_usd: number;
|
|
4537
|
+
created_at: string;
|
|
4538
|
+
}
|
|
4539
|
+
interface UsageSummary {
|
|
4540
|
+
model_id: string;
|
|
4541
|
+
total_input_tokens: number;
|
|
4542
|
+
total_output_tokens: number;
|
|
4543
|
+
total_cost_usd: number;
|
|
4544
|
+
request_count: number;
|
|
4545
|
+
}
|
|
4546
|
+
interface CostReportDay {
|
|
4547
|
+
date: string;
|
|
4548
|
+
model_id: string;
|
|
4549
|
+
total_cost_usd: number;
|
|
4550
|
+
request_count: number;
|
|
4551
|
+
}
|
|
4552
|
+
declare class AgentModelsService extends ServiceModule {
|
|
4553
|
+
protected basePath: string;
|
|
4554
|
+
createProvider(data: {
|
|
4555
|
+
name: string;
|
|
4556
|
+
description?: string;
|
|
4557
|
+
}, options?: RequestOptions): Promise<ApiResponse<ModelProvider>>;
|
|
4558
|
+
listProviders(params?: PaginationParams & {
|
|
4559
|
+
application_id?: string;
|
|
4560
|
+
}, options?: RequestOptions): Promise<PaginatedResponse<ModelProvider>>;
|
|
4561
|
+
createModel(data: {
|
|
4562
|
+
provider_id: string;
|
|
4563
|
+
name: string;
|
|
4564
|
+
description?: string;
|
|
4565
|
+
model_type: string;
|
|
4566
|
+
capabilities?: Record<string, unknown>;
|
|
4567
|
+
}, options?: RequestOptions): Promise<ApiResponse<Model>>;
|
|
4568
|
+
listModels(params?: PaginationParams & {
|
|
4569
|
+
application_id?: string;
|
|
4570
|
+
provider_id?: string;
|
|
4571
|
+
}, options?: RequestOptions): Promise<PaginatedResponse<Model>>;
|
|
4572
|
+
getModel(id: string, options?: RequestOptions): Promise<ApiResponse<Model>>;
|
|
4573
|
+
createPricing(modelId: string, data: {
|
|
4574
|
+
pricing_type: string;
|
|
4575
|
+
input_cost_per_token?: number;
|
|
4576
|
+
output_cost_per_token?: number;
|
|
4577
|
+
}, options?: RequestOptions): Promise<ApiResponse<ModelPricing>>;
|
|
4578
|
+
listPricing(modelId: string, options?: RequestOptions): Promise<ApiResponse<ModelPricing[]>>;
|
|
4579
|
+
createEntitlement(data: {
|
|
4580
|
+
agent_id?: string;
|
|
4581
|
+
model_id: string;
|
|
4582
|
+
}, options?: RequestOptions): Promise<ApiResponse<ModelEntitlement>>;
|
|
4583
|
+
listEntitlements(params?: PaginationParams & {
|
|
4584
|
+
application_id?: string;
|
|
4585
|
+
}, options?: RequestOptions): Promise<PaginatedResponse<ModelEntitlement>>;
|
|
4586
|
+
deleteEntitlement(id: string, options?: RequestOptions): Promise<ApiResponse<void>>;
|
|
4587
|
+
recordUsage(data: {
|
|
4588
|
+
model_id: string;
|
|
4589
|
+
agent_id?: string;
|
|
4590
|
+
input_tokens: number;
|
|
4591
|
+
output_tokens: number;
|
|
4592
|
+
cost_usd?: number;
|
|
4593
|
+
}, options?: RequestOptions): Promise<ApiResponse<UsageRecord>>;
|
|
4594
|
+
listUsage(params?: PaginationParams & {
|
|
4595
|
+
application_id?: string;
|
|
4596
|
+
model_id?: string;
|
|
4597
|
+
agent_id?: string;
|
|
4598
|
+
}, options?: RequestOptions): Promise<PaginatedResponse<UsageRecord>>;
|
|
4599
|
+
getUsageSummary(params?: {
|
|
4600
|
+
application_id?: string;
|
|
4601
|
+
}, options?: RequestOptions): Promise<ApiResponse<UsageSummary[]>>;
|
|
4602
|
+
getCostReport(params?: {
|
|
4603
|
+
application_id?: string;
|
|
4604
|
+
days?: number;
|
|
4605
|
+
}, options?: RequestOptions): Promise<ApiResponse<CostReportDay[]>>;
|
|
4606
|
+
}
|
|
4607
|
+
|
|
4608
|
+
interface Session {
|
|
4609
|
+
id: string;
|
|
4610
|
+
agent_id: string;
|
|
4611
|
+
workspace_id: string;
|
|
4612
|
+
project_id?: string;
|
|
4613
|
+
task_id?: string;
|
|
4614
|
+
status: string;
|
|
4615
|
+
runtime_kind: string;
|
|
4616
|
+
metadata?: Record<string, unknown>;
|
|
4617
|
+
started_at?: string;
|
|
4618
|
+
ended_at?: string;
|
|
4619
|
+
exit_code?: number;
|
|
4620
|
+
error_message?: string;
|
|
4621
|
+
created_at: string;
|
|
4622
|
+
updated_at: string;
|
|
4623
|
+
}
|
|
4624
|
+
interface CreateSessionResponse {
|
|
4625
|
+
session: Session;
|
|
4626
|
+
session_token: string;
|
|
4627
|
+
}
|
|
4628
|
+
interface SessionLog {
|
|
4629
|
+
id: string;
|
|
4630
|
+
session_id: string;
|
|
4631
|
+
sequence_num: number;
|
|
4632
|
+
log_level: string;
|
|
4633
|
+
chunk_path: string;
|
|
4634
|
+
byte_size: number;
|
|
4635
|
+
line_count: number;
|
|
4636
|
+
created_at: string;
|
|
4637
|
+
}
|
|
4638
|
+
interface SessionArtifact {
|
|
4639
|
+
id: string;
|
|
4640
|
+
session_id: string;
|
|
4641
|
+
artifact_type: string;
|
|
4642
|
+
name: string;
|
|
4643
|
+
storage_path: string;
|
|
4644
|
+
content_type?: string;
|
|
4645
|
+
size_bytes?: number;
|
|
4646
|
+
metadata?: Record<string, unknown>;
|
|
4647
|
+
created_at: string;
|
|
4648
|
+
}
|
|
4649
|
+
declare class AgentSessionsService extends ServiceModule {
|
|
4650
|
+
protected basePath: string;
|
|
4651
|
+
createSession(data: {
|
|
4652
|
+
agent_id: string;
|
|
4653
|
+
workspace_id: string;
|
|
4654
|
+
runtime_kind: string;
|
|
4655
|
+
project_id?: string;
|
|
4656
|
+
task_id?: string;
|
|
4657
|
+
metadata?: Record<string, unknown>;
|
|
4658
|
+
}, options?: RequestOptions): Promise<ApiResponse<CreateSessionResponse>>;
|
|
4659
|
+
listSessions(params?: PaginationParams & {
|
|
4660
|
+
application_id?: string;
|
|
4661
|
+
agent_id?: string;
|
|
4662
|
+
status?: string;
|
|
4663
|
+
project_id?: string;
|
|
4664
|
+
}, options?: RequestOptions): Promise<PaginatedResponse<Session>>;
|
|
4665
|
+
getSession(id: string, options?: RequestOptions): Promise<ApiResponse<Session>>;
|
|
4666
|
+
startSession(id: string, options?: RequestOptions): Promise<ApiResponse<Session>>;
|
|
4667
|
+
endSession(id: string, data: {
|
|
4668
|
+
status: 'ended' | 'failed';
|
|
4669
|
+
exit_code?: number;
|
|
4670
|
+
error_message?: string;
|
|
4671
|
+
}, options?: RequestOptions): Promise<ApiResponse<Session>>;
|
|
4672
|
+
appendLog(sessionId: string, data: {
|
|
4673
|
+
log_level: string;
|
|
4674
|
+
chunk_path: string;
|
|
4675
|
+
byte_size: number;
|
|
4676
|
+
line_count: number;
|
|
4677
|
+
}, options?: RequestOptions): Promise<ApiResponse<SessionLog>>;
|
|
4678
|
+
listLogs(sessionId: string, options?: RequestOptions): Promise<ApiResponse<SessionLog[]>>;
|
|
4679
|
+
addArtifact(sessionId: string, data: {
|
|
4680
|
+
artifact_type: string;
|
|
4681
|
+
name: string;
|
|
4682
|
+
storage_path: string;
|
|
4683
|
+
content_type?: string;
|
|
4684
|
+
size_bytes?: number;
|
|
4685
|
+
metadata?: Record<string, unknown>;
|
|
4686
|
+
}, options?: RequestOptions): Promise<ApiResponse<SessionArtifact>>;
|
|
4687
|
+
listArtifacts(sessionId: string, options?: RequestOptions): Promise<ApiResponse<SessionArtifact[]>>;
|
|
4688
|
+
}
|
|
4689
|
+
|
|
3912
4690
|
/**
|
|
3913
4691
|
* ScaleMule SDK for TypeScript/JavaScript
|
|
3914
4692
|
*
|
|
@@ -3982,6 +4760,12 @@ declare class ScaleMule {
|
|
|
3982
4760
|
readonly flagContent: FlagContentService;
|
|
3983
4761
|
readonly compliance: ComplianceService;
|
|
3984
4762
|
readonly orchestrator: OrchestratorService;
|
|
4763
|
+
readonly agentAuth: AgentAuthService;
|
|
4764
|
+
readonly agents: AgentsService;
|
|
4765
|
+
readonly agentProjects: AgentProjectsService;
|
|
4766
|
+
readonly agentTools: AgentToolsService;
|
|
4767
|
+
readonly agentModels: AgentModelsService;
|
|
4768
|
+
readonly agentSessions: AgentSessionsService;
|
|
3985
4769
|
constructor(config: ScaleMuleConfig);
|
|
3986
4770
|
/**
|
|
3987
4771
|
* Initialize the client — loads persisted session from storage.
|
|
@@ -4011,4 +4795,4 @@ declare class ScaleMule {
|
|
|
4011
4795
|
getClient(): ScaleMuleClient;
|
|
4012
4796
|
}
|
|
4013
4797
|
|
|
4014
|
-
export { type AccountBalance, AccountsService, type ActiveUsers, type ActivityItem, type AggregateOptions, type AggregateResult, type AnalyticsEvent, AnalyticsService, type ApiError, type ApiKey, type ApiResponse, type Appeal, type Application, type Attachment, type Attendee, type AuditLog, AuthService, type AuthSession, type AuthUser, type BackupCodes, BillingService, type CacheEntry, CacheService, type CalendarEvent, type CatalogEntry, CatalogService, type ChatMessage, type ChatReaction, ChatService, 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 Customer, type DataExport, DataService, 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 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 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 Policy, type PresenceCallback, type PresenceEvent, type PresignedUploadResponse, type Price, type Product, type PushToken, type QueryFilter, type QueryOptions, type QuerySort, type QueueJob, QueueService, type ReadStatus, RealtimeService, type Refund, type RequestOptions, type ResumeSession, type Role, ScaleMule, ScaleMuleClient, type ScaleMuleConfig, type SchedulerJob, SchedulerService, type SearchResult, SearchService, type ServerlessFunction, type ServiceHealth, ServiceModule, type SessionInfo, type Severity, type ShortestPathResult, type SignedUrlResponse, type SocialPost, SocialService, type SocialUser, type SsoConfig, type StatusCallback, type StorageAdapter, StorageService, type StrategyResult, type Subscription, type Team, type TeamInvitation, type TeamMember, TeamsService, type TelemetryPayload, 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 UsageSummary, type UserRank, type VideoInfo, VideoService, type VideoUploadOptions, type Webhook, WebhooksService, type Workflow, type WorkflowExecution, buildClientContextHeaders, calculateTotalParts, canPerform, createUploadPlan, ScaleMule as default, detectNetworkClass, extractClientContext, generateUploadSessionId, getMeasuredBandwidthMbps, getPartRange, hasMinRoleLevel, resolveStrategy, validateIP };
|
|
4798
|
+
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 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 ProjectMember, type PushToken, type QueryFilter, type QueryOptions, type QuerySort, type QueueJob, QueueService, type ReadStatus, RealtimeService, 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 };
|