@orchestration-ai/sdk 0.10.0 → 0.12.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.
@@ -2119,6 +2119,172 @@ export type EndpointCreateResponses = {
2119
2119
  200: Endpoint;
2120
2120
  };
2121
2121
  export type EndpointCreateResponse = EndpointCreateResponses[keyof EndpointCreateResponses];
2122
+ export type StorageDeleteDirLayerData = {
2123
+ body?: never;
2124
+ path: {
2125
+ workspaceId: string;
2126
+ orchestrationId: string;
2127
+ agentId: string;
2128
+ layerId: string;
2129
+ };
2130
+ query?: {
2131
+ path?: string;
2132
+ };
2133
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/agents/{agentId}/layers/{layerId}/storage/directories';
2134
+ };
2135
+ export type StorageDeleteDirLayerResponses = {
2136
+ /**
2137
+ * Directory and all contents deleted successfully
2138
+ */
2139
+ 204: unknown;
2140
+ };
2141
+ export type StorageListDirLayerData = {
2142
+ body?: never;
2143
+ path: {
2144
+ workspaceId: string;
2145
+ orchestrationId: string;
2146
+ agentId: string;
2147
+ layerId: string;
2148
+ };
2149
+ query?: {
2150
+ path?: string;
2151
+ limit?: number;
2152
+ offset?: number;
2153
+ };
2154
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/agents/{agentId}/layers/{layerId}/storage/directories';
2155
+ };
2156
+ export type StorageListDirLayerResponses = {
2157
+ /**
2158
+ * Paginated list of files and subdirectories
2159
+ */
2160
+ 200: unknown;
2161
+ };
2162
+ export type StorageCreateDirLayerData = {
2163
+ body?: {
2164
+ path: string;
2165
+ };
2166
+ path: {
2167
+ workspaceId: string;
2168
+ orchestrationId: string;
2169
+ agentId: string;
2170
+ layerId: string;
2171
+ };
2172
+ query?: never;
2173
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/agents/{agentId}/layers/{layerId}/storage/directories';
2174
+ };
2175
+ export type StorageCreateDirLayerResponses = {
2176
+ /**
2177
+ * Directory created successfully
2178
+ */
2179
+ 201: unknown;
2180
+ };
2181
+ export type StorageFileMetadataLayerData = {
2182
+ body?: never;
2183
+ path: {
2184
+ workspaceId: string;
2185
+ orchestrationId: string;
2186
+ agentId: string;
2187
+ layerId: string;
2188
+ };
2189
+ query?: {
2190
+ path?: string;
2191
+ };
2192
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/agents/{agentId}/layers/{layerId}/storage/files/metadata';
2193
+ };
2194
+ export type StorageFileMetadataLayerResponses = {
2195
+ /**
2196
+ * File metadata including size, content_type, custom metadata, created_at, and updated_at
2197
+ */
2198
+ 200: unknown;
2199
+ };
2200
+ export type StorageUpdateMetadataLayerData = {
2201
+ body?: {
2202
+ path: string;
2203
+ metadata: {
2204
+ [key: string]: string;
2205
+ };
2206
+ };
2207
+ path: {
2208
+ workspaceId: string;
2209
+ orchestrationId: string;
2210
+ agentId: string;
2211
+ layerId: string;
2212
+ };
2213
+ query?: never;
2214
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/agents/{agentId}/layers/{layerId}/storage/files/metadata';
2215
+ };
2216
+ export type StorageUpdateMetadataLayerResponses = {
2217
+ /**
2218
+ * Metadata updated successfully
2219
+ */
2220
+ 204: unknown;
2221
+ };
2222
+ export type StorageDeleteFileLayerData = {
2223
+ body?: never;
2224
+ path: {
2225
+ workspaceId: string;
2226
+ orchestrationId: string;
2227
+ agentId: string;
2228
+ layerId: string;
2229
+ };
2230
+ query?: {
2231
+ path?: string;
2232
+ };
2233
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/agents/{agentId}/layers/{layerId}/storage/files';
2234
+ };
2235
+ export type StorageDeleteFileLayerResponses = {
2236
+ /**
2237
+ * File deleted successfully
2238
+ */
2239
+ 204: unknown;
2240
+ };
2241
+ export type StorageDownloadFileLayerData = {
2242
+ body?: never;
2243
+ path: {
2244
+ workspaceId: string;
2245
+ orchestrationId: string;
2246
+ agentId: string;
2247
+ layerId: string;
2248
+ };
2249
+ query?: {
2250
+ path?: string;
2251
+ };
2252
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/agents/{agentId}/layers/{layerId}/storage/files';
2253
+ };
2254
+ export type StorageDownloadFileLayerResponses = {
2255
+ /**
2256
+ * Signed download URL with expiration timestamp
2257
+ */
2258
+ 200: unknown;
2259
+ };
2260
+ export type StorageUploadFileLayerData = {
2261
+ body?: {
2262
+ path: string;
2263
+ content_type: string;
2264
+ metadata?: {
2265
+ [key: string]: string;
2266
+ };
2267
+ };
2268
+ path: {
2269
+ workspaceId: string;
2270
+ orchestrationId: string;
2271
+ agentId: string;
2272
+ layerId: string;
2273
+ };
2274
+ query?: never;
2275
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/agents/{agentId}/layers/{layerId}/storage/files';
2276
+ };
2277
+ export type StorageUploadFileLayerResponses = {
2278
+ /**
2279
+ * Signed upload URL with expiration timestamp
2280
+ */
2281
+ 200: {
2282
+ upload_url?: string;
2283
+ expires_at?: string;
2284
+ max_size_bytes?: number;
2285
+ };
2286
+ };
2287
+ export type StorageUploadFileLayerResponse = StorageUploadFileLayerResponses[keyof StorageUploadFileLayerResponses];
2122
2288
  export type LayerDeleteByIdData = {
2123
2289
  body?: never;
2124
2290
  path: {
@@ -2944,6 +3110,164 @@ export type SettingCreateResponses = {
2944
3110
  200: Setting;
2945
3111
  };
2946
3112
  export type SettingCreateResponse = SettingCreateResponses[keyof SettingCreateResponses];
3113
+ export type StorageDeleteDirAgentData = {
3114
+ body?: never;
3115
+ path: {
3116
+ workspaceId: string;
3117
+ orchestrationId: string;
3118
+ agentId: string;
3119
+ };
3120
+ query?: {
3121
+ path?: string;
3122
+ };
3123
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/agents/{agentId}/storage/directories';
3124
+ };
3125
+ export type StorageDeleteDirAgentResponses = {
3126
+ /**
3127
+ * Directory and all contents deleted successfully
3128
+ */
3129
+ 204: unknown;
3130
+ };
3131
+ export type StorageListDirAgentData = {
3132
+ body?: never;
3133
+ path: {
3134
+ workspaceId: string;
3135
+ orchestrationId: string;
3136
+ agentId: string;
3137
+ };
3138
+ query?: {
3139
+ path?: string;
3140
+ limit?: number;
3141
+ offset?: number;
3142
+ };
3143
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/agents/{agentId}/storage/directories';
3144
+ };
3145
+ export type StorageListDirAgentResponses = {
3146
+ /**
3147
+ * Paginated list of files and subdirectories
3148
+ */
3149
+ 200: unknown;
3150
+ };
3151
+ export type StorageCreateDirAgentData = {
3152
+ body?: {
3153
+ path: string;
3154
+ };
3155
+ path: {
3156
+ workspaceId: string;
3157
+ orchestrationId: string;
3158
+ agentId: string;
3159
+ };
3160
+ query?: never;
3161
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/agents/{agentId}/storage/directories';
3162
+ };
3163
+ export type StorageCreateDirAgentResponses = {
3164
+ /**
3165
+ * Directory created successfully
3166
+ */
3167
+ 201: unknown;
3168
+ };
3169
+ export type StorageFileMetadataAgentData = {
3170
+ body?: never;
3171
+ path: {
3172
+ workspaceId: string;
3173
+ orchestrationId: string;
3174
+ agentId: string;
3175
+ };
3176
+ query?: {
3177
+ path?: string;
3178
+ };
3179
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/agents/{agentId}/storage/files/metadata';
3180
+ };
3181
+ export type StorageFileMetadataAgentResponses = {
3182
+ /**
3183
+ * File metadata including size, content_type, custom metadata, created_at, and updated_at
3184
+ */
3185
+ 200: unknown;
3186
+ };
3187
+ export type StorageUpdateMetadataAgentData = {
3188
+ body?: {
3189
+ path: string;
3190
+ metadata: {
3191
+ [key: string]: string;
3192
+ };
3193
+ };
3194
+ path: {
3195
+ workspaceId: string;
3196
+ orchestrationId: string;
3197
+ agentId: string;
3198
+ };
3199
+ query?: never;
3200
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/agents/{agentId}/storage/files/metadata';
3201
+ };
3202
+ export type StorageUpdateMetadataAgentResponses = {
3203
+ /**
3204
+ * Metadata updated successfully
3205
+ */
3206
+ 204: unknown;
3207
+ };
3208
+ export type StorageDeleteFileAgentData = {
3209
+ body?: never;
3210
+ path: {
3211
+ workspaceId: string;
3212
+ orchestrationId: string;
3213
+ agentId: string;
3214
+ };
3215
+ query?: {
3216
+ path?: string;
3217
+ };
3218
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/agents/{agentId}/storage/files';
3219
+ };
3220
+ export type StorageDeleteFileAgentResponses = {
3221
+ /**
3222
+ * File deleted successfully
3223
+ */
3224
+ 204: unknown;
3225
+ };
3226
+ export type StorageDownloadFileAgentData = {
3227
+ body?: never;
3228
+ path: {
3229
+ workspaceId: string;
3230
+ orchestrationId: string;
3231
+ agentId: string;
3232
+ };
3233
+ query?: {
3234
+ path?: string;
3235
+ };
3236
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/agents/{agentId}/storage/files';
3237
+ };
3238
+ export type StorageDownloadFileAgentResponses = {
3239
+ /**
3240
+ * Signed download URL with expiration timestamp
3241
+ */
3242
+ 200: unknown;
3243
+ };
3244
+ export type StorageUploadFileAgentData = {
3245
+ body?: {
3246
+ path: string;
3247
+ content_type: string;
3248
+ metadata?: {
3249
+ [key: string]: string;
3250
+ };
3251
+ };
3252
+ path: {
3253
+ workspaceId: string;
3254
+ orchestrationId: string;
3255
+ agentId: string;
3256
+ };
3257
+ query?: never;
3258
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/agents/{agentId}/storage/files';
3259
+ };
3260
+ export type StorageUploadFileAgentResponses = {
3261
+ /**
3262
+ * Signed upload URL with expiration timestamp
3263
+ */
3264
+ 200: {
3265
+ upload_url?: string;
3266
+ expires_at?: string;
3267
+ max_size_bytes?: number;
3268
+ };
3269
+ };
3270
+ export type StorageUploadFileAgentResponse = StorageUploadFileAgentResponses[keyof StorageUploadFileAgentResponses];
2947
3271
  export type AgentDeleteByIdData = {
2948
3272
  body?: never;
2949
3273
  path: {
@@ -3208,6 +3532,156 @@ export type AgentCreateResponses = {
3208
3532
  200: Agent;
3209
3533
  };
3210
3534
  export type AgentCreateResponse = AgentCreateResponses[keyof AgentCreateResponses];
3535
+ export type StorageDeleteDirOrchData = {
3536
+ body?: never;
3537
+ path: {
3538
+ workspaceId: string;
3539
+ orchestrationId: string;
3540
+ };
3541
+ query?: {
3542
+ path?: string;
3543
+ };
3544
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/storage/directories';
3545
+ };
3546
+ export type StorageDeleteDirOrchResponses = {
3547
+ /**
3548
+ * Directory and all contents deleted successfully
3549
+ */
3550
+ 204: unknown;
3551
+ };
3552
+ export type StorageListDirOrchData = {
3553
+ body?: never;
3554
+ path: {
3555
+ workspaceId: string;
3556
+ orchestrationId: string;
3557
+ };
3558
+ query?: {
3559
+ path?: string;
3560
+ limit?: number;
3561
+ offset?: number;
3562
+ };
3563
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/storage/directories';
3564
+ };
3565
+ export type StorageListDirOrchResponses = {
3566
+ /**
3567
+ * Paginated list of files and subdirectories
3568
+ */
3569
+ 200: unknown;
3570
+ };
3571
+ export type StorageCreateDirOrchData = {
3572
+ body?: {
3573
+ path: string;
3574
+ };
3575
+ path: {
3576
+ workspaceId: string;
3577
+ orchestrationId: string;
3578
+ };
3579
+ query?: never;
3580
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/storage/directories';
3581
+ };
3582
+ export type StorageCreateDirOrchResponses = {
3583
+ /**
3584
+ * Directory created successfully
3585
+ */
3586
+ 201: unknown;
3587
+ };
3588
+ export type StorageFileMetadataOrchData = {
3589
+ body?: never;
3590
+ path: {
3591
+ workspaceId: string;
3592
+ orchestrationId: string;
3593
+ };
3594
+ query?: {
3595
+ path?: string;
3596
+ };
3597
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/storage/files/metadata';
3598
+ };
3599
+ export type StorageFileMetadataOrchResponses = {
3600
+ /**
3601
+ * File metadata including size, content_type, custom metadata, created_at, and updated_at
3602
+ */
3603
+ 200: unknown;
3604
+ };
3605
+ export type StorageUpdateMetadataOrchData = {
3606
+ body?: {
3607
+ path: string;
3608
+ metadata: {
3609
+ [key: string]: string;
3610
+ };
3611
+ };
3612
+ path: {
3613
+ workspaceId: string;
3614
+ orchestrationId: string;
3615
+ };
3616
+ query?: never;
3617
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/storage/files/metadata';
3618
+ };
3619
+ export type StorageUpdateMetadataOrchResponses = {
3620
+ /**
3621
+ * Metadata updated successfully
3622
+ */
3623
+ 204: unknown;
3624
+ };
3625
+ export type StorageDeleteFileOrchData = {
3626
+ body?: never;
3627
+ path: {
3628
+ workspaceId: string;
3629
+ orchestrationId: string;
3630
+ };
3631
+ query?: {
3632
+ path?: string;
3633
+ };
3634
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/storage/files';
3635
+ };
3636
+ export type StorageDeleteFileOrchResponses = {
3637
+ /**
3638
+ * File deleted successfully
3639
+ */
3640
+ 204: unknown;
3641
+ };
3642
+ export type StorageDownloadFileOrchData = {
3643
+ body?: never;
3644
+ path: {
3645
+ workspaceId: string;
3646
+ orchestrationId: string;
3647
+ };
3648
+ query?: {
3649
+ path?: string;
3650
+ };
3651
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/storage/files';
3652
+ };
3653
+ export type StorageDownloadFileOrchResponses = {
3654
+ /**
3655
+ * Signed download URL with expiration timestamp
3656
+ */
3657
+ 200: unknown;
3658
+ };
3659
+ export type StorageUploadFileOrchData = {
3660
+ body?: {
3661
+ path: string;
3662
+ content_type: string;
3663
+ metadata?: {
3664
+ [key: string]: string;
3665
+ };
3666
+ };
3667
+ path: {
3668
+ workspaceId: string;
3669
+ orchestrationId: string;
3670
+ };
3671
+ query?: never;
3672
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/storage/files';
3673
+ };
3674
+ export type StorageUploadFileOrchResponses = {
3675
+ /**
3676
+ * Signed upload URL with expiration timestamp
3677
+ */
3678
+ 200: {
3679
+ upload_url?: string;
3680
+ expires_at?: string;
3681
+ max_size_bytes?: number;
3682
+ };
3683
+ };
3684
+ export type StorageUploadFileOrchResponse = StorageUploadFileOrchResponses[keyof StorageUploadFileOrchResponses];
3211
3685
  export type OrchestrationDeleteByIdData = {
3212
3686
  body?: never;
3213
3687
  path: {
@@ -3467,6 +3941,148 @@ export type OrchestrationCreateResponses = {
3467
3941
  200: Orchestration;
3468
3942
  };
3469
3943
  export type OrchestrationCreateResponse = OrchestrationCreateResponses[keyof OrchestrationCreateResponses];
3944
+ export type StorageDeleteDirWorkspaceData = {
3945
+ body?: never;
3946
+ path: {
3947
+ workspaceId: string;
3948
+ };
3949
+ query?: {
3950
+ path?: string;
3951
+ };
3952
+ url: '/workspaces/{workspaceId}/storage/directories';
3953
+ };
3954
+ export type StorageDeleteDirWorkspaceResponses = {
3955
+ /**
3956
+ * Directory and all contents deleted successfully
3957
+ */
3958
+ 204: unknown;
3959
+ };
3960
+ export type StorageListDirWorkspaceData = {
3961
+ body?: never;
3962
+ path: {
3963
+ workspaceId: string;
3964
+ };
3965
+ query?: {
3966
+ path?: string;
3967
+ limit?: number;
3968
+ offset?: number;
3969
+ };
3970
+ url: '/workspaces/{workspaceId}/storage/directories';
3971
+ };
3972
+ export type StorageListDirWorkspaceResponses = {
3973
+ /**
3974
+ * Paginated list of files and subdirectories
3975
+ */
3976
+ 200: unknown;
3977
+ };
3978
+ export type StorageCreateDirWorkspaceData = {
3979
+ body?: {
3980
+ path: string;
3981
+ };
3982
+ path: {
3983
+ workspaceId: string;
3984
+ };
3985
+ query?: never;
3986
+ url: '/workspaces/{workspaceId}/storage/directories';
3987
+ };
3988
+ export type StorageCreateDirWorkspaceResponses = {
3989
+ /**
3990
+ * Directory created successfully
3991
+ */
3992
+ 201: unknown;
3993
+ };
3994
+ export type StorageFileMetadataWorkspaceData = {
3995
+ body?: never;
3996
+ path: {
3997
+ workspaceId: string;
3998
+ };
3999
+ query?: {
4000
+ path?: string;
4001
+ };
4002
+ url: '/workspaces/{workspaceId}/storage/files/metadata';
4003
+ };
4004
+ export type StorageFileMetadataWorkspaceResponses = {
4005
+ /**
4006
+ * File metadata including size, content_type, custom metadata, created_at, and updated_at
4007
+ */
4008
+ 200: unknown;
4009
+ };
4010
+ export type StorageUpdateMetadataWorkspaceData = {
4011
+ body?: {
4012
+ path: string;
4013
+ metadata: {
4014
+ [key: string]: string;
4015
+ };
4016
+ };
4017
+ path: {
4018
+ workspaceId: string;
4019
+ };
4020
+ query?: never;
4021
+ url: '/workspaces/{workspaceId}/storage/files/metadata';
4022
+ };
4023
+ export type StorageUpdateMetadataWorkspaceResponses = {
4024
+ /**
4025
+ * Metadata updated successfully
4026
+ */
4027
+ 204: unknown;
4028
+ };
4029
+ export type StorageDeleteFileWorkspaceData = {
4030
+ body?: never;
4031
+ path: {
4032
+ workspaceId: string;
4033
+ };
4034
+ query?: {
4035
+ path?: string;
4036
+ };
4037
+ url: '/workspaces/{workspaceId}/storage/files';
4038
+ };
4039
+ export type StorageDeleteFileWorkspaceResponses = {
4040
+ /**
4041
+ * File deleted successfully
4042
+ */
4043
+ 204: unknown;
4044
+ };
4045
+ export type StorageDownloadFileWorkspaceData = {
4046
+ body?: never;
4047
+ path: {
4048
+ workspaceId: string;
4049
+ };
4050
+ query?: {
4051
+ path?: string;
4052
+ };
4053
+ url: '/workspaces/{workspaceId}/storage/files';
4054
+ };
4055
+ export type StorageDownloadFileWorkspaceResponses = {
4056
+ /**
4057
+ * Signed download URL with expiration timestamp
4058
+ */
4059
+ 200: unknown;
4060
+ };
4061
+ export type StorageUploadFileWorkspaceData = {
4062
+ body?: {
4063
+ path: string;
4064
+ content_type: string;
4065
+ metadata?: {
4066
+ [key: string]: string;
4067
+ };
4068
+ };
4069
+ path: {
4070
+ workspaceId: string;
4071
+ };
4072
+ query?: never;
4073
+ url: '/workspaces/{workspaceId}/storage/files';
4074
+ };
4075
+ export type StorageUploadFileWorkspaceResponses = {
4076
+ /**
4077
+ * Signed upload URL with expiration timestamp
4078
+ */
4079
+ 200: {
4080
+ upload_url?: string;
4081
+ expires_at?: string;
4082
+ max_size_bytes?: number;
4083
+ };
4084
+ };
4085
+ export type StorageUploadFileWorkspaceResponse = StorageUploadFileWorkspaceResponses[keyof StorageUploadFileWorkspaceResponses];
3470
4086
  export type WorkspaceDeleteByIdData = {
3471
4087
  body?: never;
3472
4088
  path: {