@orchestration-ai/sdk 0.9.1 → 0.11.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.
@@ -199,7 +199,7 @@ export type LlmKeys = {
199
199
  client_id: string;
200
200
  client_secret: string;
201
201
  owner?: User;
202
- provider: 'Google' | 'OpenAI' | 'Anthropic';
202
+ provider: 'Google' | 'GoogleOAI' | 'OpenAI' | 'Anthropic';
203
203
  };
204
204
  /**
205
205
  * LlmWithRelations
@@ -222,7 +222,7 @@ export type LlmKeysExcludingClientSecret = {
222
222
  id?: string;
223
223
  client_id: string;
224
224
  owner?: User;
225
- provider: 'Google' | 'OpenAI' | 'Anthropic';
225
+ provider: 'Google' | 'GoogleOAI' | 'OpenAI' | 'Anthropic';
226
226
  };
227
227
  /**
228
228
  * NewLlmKeys
@@ -232,7 +232,7 @@ export type LlmKeysExcludingClientSecret = {
232
232
  export type NewLlmKeys = {
233
233
  client_id: string;
234
234
  client_secret: string;
235
- provider: 'Google' | 'OpenAI' | 'Anthropic';
235
+ provider: 'Google' | 'GoogleOAI' | 'OpenAI' | 'Anthropic';
236
236
  };
237
237
  /**
238
238
  * LlmKeysExcluding_client_secret_WithRelations
@@ -243,7 +243,7 @@ export type LlmKeysExcludingClientSecretWithRelations = {
243
243
  id?: string;
244
244
  client_id: string;
245
245
  owner?: User;
246
- provider: 'Google' | 'OpenAI' | 'Anthropic';
246
+ provider: 'Google' | 'GoogleOAI' | 'OpenAI' | 'Anthropic';
247
247
  };
248
248
  /**
249
249
  * LlmKeysPartialExcluding_id-owner_
@@ -253,7 +253,7 @@ export type LlmKeysExcludingClientSecretWithRelations = {
253
253
  export type LlmKeysPartialExcludingIdOwner = {
254
254
  client_id?: string;
255
255
  client_secret?: string;
256
- provider?: 'Google' | 'OpenAI' | 'Anthropic';
256
+ provider?: 'Google' | 'GoogleOAI' | 'OpenAI' | 'Anthropic';
257
257
  };
258
258
  /**
259
259
  * Link
@@ -2119,6 +2119,167 @@ 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: unknown;
2282
+ };
2122
2283
  export type LayerDeleteByIdData = {
2123
2284
  body?: never;
2124
2285
  path: {
@@ -2944,6 +3105,159 @@ export type SettingCreateResponses = {
2944
3105
  200: Setting;
2945
3106
  };
2946
3107
  export type SettingCreateResponse = SettingCreateResponses[keyof SettingCreateResponses];
3108
+ export type StorageDeleteDirAgentData = {
3109
+ body?: never;
3110
+ path: {
3111
+ workspaceId: string;
3112
+ orchestrationId: string;
3113
+ agentId: string;
3114
+ };
3115
+ query?: {
3116
+ path?: string;
3117
+ };
3118
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/agents/{agentId}/storage/directories';
3119
+ };
3120
+ export type StorageDeleteDirAgentResponses = {
3121
+ /**
3122
+ * Directory and all contents deleted successfully
3123
+ */
3124
+ 204: unknown;
3125
+ };
3126
+ export type StorageListDirAgentData = {
3127
+ body?: never;
3128
+ path: {
3129
+ workspaceId: string;
3130
+ orchestrationId: string;
3131
+ agentId: string;
3132
+ };
3133
+ query?: {
3134
+ path?: string;
3135
+ limit?: number;
3136
+ offset?: number;
3137
+ };
3138
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/agents/{agentId}/storage/directories';
3139
+ };
3140
+ export type StorageListDirAgentResponses = {
3141
+ /**
3142
+ * Paginated list of files and subdirectories
3143
+ */
3144
+ 200: unknown;
3145
+ };
3146
+ export type StorageCreateDirAgentData = {
3147
+ body?: {
3148
+ path: string;
3149
+ };
3150
+ path: {
3151
+ workspaceId: string;
3152
+ orchestrationId: string;
3153
+ agentId: string;
3154
+ };
3155
+ query?: never;
3156
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/agents/{agentId}/storage/directories';
3157
+ };
3158
+ export type StorageCreateDirAgentResponses = {
3159
+ /**
3160
+ * Directory created successfully
3161
+ */
3162
+ 201: unknown;
3163
+ };
3164
+ export type StorageFileMetadataAgentData = {
3165
+ body?: never;
3166
+ path: {
3167
+ workspaceId: string;
3168
+ orchestrationId: string;
3169
+ agentId: string;
3170
+ };
3171
+ query?: {
3172
+ path?: string;
3173
+ };
3174
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/agents/{agentId}/storage/files/metadata';
3175
+ };
3176
+ export type StorageFileMetadataAgentResponses = {
3177
+ /**
3178
+ * File metadata including size, content_type, custom metadata, created_at, and updated_at
3179
+ */
3180
+ 200: unknown;
3181
+ };
3182
+ export type StorageUpdateMetadataAgentData = {
3183
+ body?: {
3184
+ path: string;
3185
+ metadata: {
3186
+ [key: string]: string;
3187
+ };
3188
+ };
3189
+ path: {
3190
+ workspaceId: string;
3191
+ orchestrationId: string;
3192
+ agentId: string;
3193
+ };
3194
+ query?: never;
3195
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/agents/{agentId}/storage/files/metadata';
3196
+ };
3197
+ export type StorageUpdateMetadataAgentResponses = {
3198
+ /**
3199
+ * Metadata updated successfully
3200
+ */
3201
+ 204: unknown;
3202
+ };
3203
+ export type StorageDeleteFileAgentData = {
3204
+ body?: never;
3205
+ path: {
3206
+ workspaceId: string;
3207
+ orchestrationId: string;
3208
+ agentId: string;
3209
+ };
3210
+ query?: {
3211
+ path?: string;
3212
+ };
3213
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/agents/{agentId}/storage/files';
3214
+ };
3215
+ export type StorageDeleteFileAgentResponses = {
3216
+ /**
3217
+ * File deleted successfully
3218
+ */
3219
+ 204: unknown;
3220
+ };
3221
+ export type StorageDownloadFileAgentData = {
3222
+ body?: never;
3223
+ path: {
3224
+ workspaceId: string;
3225
+ orchestrationId: string;
3226
+ agentId: string;
3227
+ };
3228
+ query?: {
3229
+ path?: string;
3230
+ };
3231
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/agents/{agentId}/storage/files';
3232
+ };
3233
+ export type StorageDownloadFileAgentResponses = {
3234
+ /**
3235
+ * Signed download URL with expiration timestamp
3236
+ */
3237
+ 200: unknown;
3238
+ };
3239
+ export type StorageUploadFileAgentData = {
3240
+ body?: {
3241
+ path: string;
3242
+ content_type: string;
3243
+ metadata?: {
3244
+ [key: string]: string;
3245
+ };
3246
+ };
3247
+ path: {
3248
+ workspaceId: string;
3249
+ orchestrationId: string;
3250
+ agentId: string;
3251
+ };
3252
+ query?: never;
3253
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/agents/{agentId}/storage/files';
3254
+ };
3255
+ export type StorageUploadFileAgentResponses = {
3256
+ /**
3257
+ * Signed upload URL with expiration timestamp
3258
+ */
3259
+ 200: unknown;
3260
+ };
2947
3261
  export type AgentDeleteByIdData = {
2948
3262
  body?: never;
2949
3263
  path: {
@@ -3208,6 +3522,151 @@ export type AgentCreateResponses = {
3208
3522
  200: Agent;
3209
3523
  };
3210
3524
  export type AgentCreateResponse = AgentCreateResponses[keyof AgentCreateResponses];
3525
+ export type StorageDeleteDirOrchData = {
3526
+ body?: never;
3527
+ path: {
3528
+ workspaceId: string;
3529
+ orchestrationId: string;
3530
+ };
3531
+ query?: {
3532
+ path?: string;
3533
+ };
3534
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/storage/directories';
3535
+ };
3536
+ export type StorageDeleteDirOrchResponses = {
3537
+ /**
3538
+ * Directory and all contents deleted successfully
3539
+ */
3540
+ 204: unknown;
3541
+ };
3542
+ export type StorageListDirOrchData = {
3543
+ body?: never;
3544
+ path: {
3545
+ workspaceId: string;
3546
+ orchestrationId: string;
3547
+ };
3548
+ query?: {
3549
+ path?: string;
3550
+ limit?: number;
3551
+ offset?: number;
3552
+ };
3553
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/storage/directories';
3554
+ };
3555
+ export type StorageListDirOrchResponses = {
3556
+ /**
3557
+ * Paginated list of files and subdirectories
3558
+ */
3559
+ 200: unknown;
3560
+ };
3561
+ export type StorageCreateDirOrchData = {
3562
+ body?: {
3563
+ path: string;
3564
+ };
3565
+ path: {
3566
+ workspaceId: string;
3567
+ orchestrationId: string;
3568
+ };
3569
+ query?: never;
3570
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/storage/directories';
3571
+ };
3572
+ export type StorageCreateDirOrchResponses = {
3573
+ /**
3574
+ * Directory created successfully
3575
+ */
3576
+ 201: unknown;
3577
+ };
3578
+ export type StorageFileMetadataOrchData = {
3579
+ body?: never;
3580
+ path: {
3581
+ workspaceId: string;
3582
+ orchestrationId: string;
3583
+ };
3584
+ query?: {
3585
+ path?: string;
3586
+ };
3587
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/storage/files/metadata';
3588
+ };
3589
+ export type StorageFileMetadataOrchResponses = {
3590
+ /**
3591
+ * File metadata including size, content_type, custom metadata, created_at, and updated_at
3592
+ */
3593
+ 200: unknown;
3594
+ };
3595
+ export type StorageUpdateMetadataOrchData = {
3596
+ body?: {
3597
+ path: string;
3598
+ metadata: {
3599
+ [key: string]: string;
3600
+ };
3601
+ };
3602
+ path: {
3603
+ workspaceId: string;
3604
+ orchestrationId: string;
3605
+ };
3606
+ query?: never;
3607
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/storage/files/metadata';
3608
+ };
3609
+ export type StorageUpdateMetadataOrchResponses = {
3610
+ /**
3611
+ * Metadata updated successfully
3612
+ */
3613
+ 204: unknown;
3614
+ };
3615
+ export type StorageDeleteFileOrchData = {
3616
+ body?: never;
3617
+ path: {
3618
+ workspaceId: string;
3619
+ orchestrationId: string;
3620
+ };
3621
+ query?: {
3622
+ path?: string;
3623
+ };
3624
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/storage/files';
3625
+ };
3626
+ export type StorageDeleteFileOrchResponses = {
3627
+ /**
3628
+ * File deleted successfully
3629
+ */
3630
+ 204: unknown;
3631
+ };
3632
+ export type StorageDownloadFileOrchData = {
3633
+ body?: never;
3634
+ path: {
3635
+ workspaceId: string;
3636
+ orchestrationId: string;
3637
+ };
3638
+ query?: {
3639
+ path?: string;
3640
+ };
3641
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/storage/files';
3642
+ };
3643
+ export type StorageDownloadFileOrchResponses = {
3644
+ /**
3645
+ * Signed download URL with expiration timestamp
3646
+ */
3647
+ 200: unknown;
3648
+ };
3649
+ export type StorageUploadFileOrchData = {
3650
+ body?: {
3651
+ path: string;
3652
+ content_type: string;
3653
+ metadata?: {
3654
+ [key: string]: string;
3655
+ };
3656
+ };
3657
+ path: {
3658
+ workspaceId: string;
3659
+ orchestrationId: string;
3660
+ };
3661
+ query?: never;
3662
+ url: '/workspaces/{workspaceId}/orchestrations/{orchestrationId}/storage/files';
3663
+ };
3664
+ export type StorageUploadFileOrchResponses = {
3665
+ /**
3666
+ * Signed upload URL with expiration timestamp
3667
+ */
3668
+ 200: unknown;
3669
+ };
3211
3670
  export type OrchestrationDeleteByIdData = {
3212
3671
  body?: never;
3213
3672
  path: {
@@ -3467,6 +3926,143 @@ export type OrchestrationCreateResponses = {
3467
3926
  200: Orchestration;
3468
3927
  };
3469
3928
  export type OrchestrationCreateResponse = OrchestrationCreateResponses[keyof OrchestrationCreateResponses];
3929
+ export type StorageDeleteDirWorkspaceData = {
3930
+ body?: never;
3931
+ path: {
3932
+ workspaceId: string;
3933
+ };
3934
+ query?: {
3935
+ path?: string;
3936
+ };
3937
+ url: '/workspaces/{workspaceId}/storage/directories';
3938
+ };
3939
+ export type StorageDeleteDirWorkspaceResponses = {
3940
+ /**
3941
+ * Directory and all contents deleted successfully
3942
+ */
3943
+ 204: unknown;
3944
+ };
3945
+ export type StorageListDirWorkspaceData = {
3946
+ body?: never;
3947
+ path: {
3948
+ workspaceId: string;
3949
+ };
3950
+ query?: {
3951
+ path?: string;
3952
+ limit?: number;
3953
+ offset?: number;
3954
+ };
3955
+ url: '/workspaces/{workspaceId}/storage/directories';
3956
+ };
3957
+ export type StorageListDirWorkspaceResponses = {
3958
+ /**
3959
+ * Paginated list of files and subdirectories
3960
+ */
3961
+ 200: unknown;
3962
+ };
3963
+ export type StorageCreateDirWorkspaceData = {
3964
+ body?: {
3965
+ path: string;
3966
+ };
3967
+ path: {
3968
+ workspaceId: string;
3969
+ };
3970
+ query?: never;
3971
+ url: '/workspaces/{workspaceId}/storage/directories';
3972
+ };
3973
+ export type StorageCreateDirWorkspaceResponses = {
3974
+ /**
3975
+ * Directory created successfully
3976
+ */
3977
+ 201: unknown;
3978
+ };
3979
+ export type StorageFileMetadataWorkspaceData = {
3980
+ body?: never;
3981
+ path: {
3982
+ workspaceId: string;
3983
+ };
3984
+ query?: {
3985
+ path?: string;
3986
+ };
3987
+ url: '/workspaces/{workspaceId}/storage/files/metadata';
3988
+ };
3989
+ export type StorageFileMetadataWorkspaceResponses = {
3990
+ /**
3991
+ * File metadata including size, content_type, custom metadata, created_at, and updated_at
3992
+ */
3993
+ 200: unknown;
3994
+ };
3995
+ export type StorageUpdateMetadataWorkspaceData = {
3996
+ body?: {
3997
+ path: string;
3998
+ metadata: {
3999
+ [key: string]: string;
4000
+ };
4001
+ };
4002
+ path: {
4003
+ workspaceId: string;
4004
+ };
4005
+ query?: never;
4006
+ url: '/workspaces/{workspaceId}/storage/files/metadata';
4007
+ };
4008
+ export type StorageUpdateMetadataWorkspaceResponses = {
4009
+ /**
4010
+ * Metadata updated successfully
4011
+ */
4012
+ 204: unknown;
4013
+ };
4014
+ export type StorageDeleteFileWorkspaceData = {
4015
+ body?: never;
4016
+ path: {
4017
+ workspaceId: string;
4018
+ };
4019
+ query?: {
4020
+ path?: string;
4021
+ };
4022
+ url: '/workspaces/{workspaceId}/storage/files';
4023
+ };
4024
+ export type StorageDeleteFileWorkspaceResponses = {
4025
+ /**
4026
+ * File deleted successfully
4027
+ */
4028
+ 204: unknown;
4029
+ };
4030
+ export type StorageDownloadFileWorkspaceData = {
4031
+ body?: never;
4032
+ path: {
4033
+ workspaceId: string;
4034
+ };
4035
+ query?: {
4036
+ path?: string;
4037
+ };
4038
+ url: '/workspaces/{workspaceId}/storage/files';
4039
+ };
4040
+ export type StorageDownloadFileWorkspaceResponses = {
4041
+ /**
4042
+ * Signed download URL with expiration timestamp
4043
+ */
4044
+ 200: unknown;
4045
+ };
4046
+ export type StorageUploadFileWorkspaceData = {
4047
+ body?: {
4048
+ path: string;
4049
+ content_type: string;
4050
+ metadata?: {
4051
+ [key: string]: string;
4052
+ };
4053
+ };
4054
+ path: {
4055
+ workspaceId: string;
4056
+ };
4057
+ query?: never;
4058
+ url: '/workspaces/{workspaceId}/storage/files';
4059
+ };
4060
+ export type StorageUploadFileWorkspaceResponses = {
4061
+ /**
4062
+ * Signed upload URL with expiration timestamp
4063
+ */
4064
+ 200: unknown;
4065
+ };
3470
4066
  export type WorkspaceDeleteByIdData = {
3471
4067
  body?: never;
3472
4068
  path: {