@ottocode/api 0.1.244 → 0.1.246
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/generated/index.d.ts +1 -1
- package/dist/generated/index.d.ts.map +1 -1
- package/dist/generated/index.js +0 -1
- package/dist/generated/index.js.map +1 -1
- package/dist/generated/schemas.gen.d.ts +61 -1
- package/dist/generated/schemas.gen.d.ts.map +1 -1
- package/dist/generated/schemas.gen.js +61 -1
- package/dist/generated/schemas.gen.js.map +1 -1
- package/dist/generated/sdk.gen.d.ts +28 -12
- package/dist/generated/sdk.gen.d.ts.map +1 -1
- package/dist/generated/sdk.gen.js +74 -26
- package/dist/generated/sdk.gen.js.map +1 -1
- package/dist/generated/types.gen.d.ts +213 -56
- package/dist/generated/types.gen.d.ts.map +1 -1
- package/dist/generated/types.gen.js +1 -14
- package/dist/generated/types.gen.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,19 +1,26 @@
|
|
|
1
1
|
export type ClientOptions = {
|
|
2
2
|
baseURL: `${string}://${string}` | (string & {});
|
|
3
3
|
};
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
4
|
+
/**
|
|
5
|
+
* Built-in or custom provider identifier
|
|
6
|
+
*/
|
|
7
|
+
export type Provider = string;
|
|
8
|
+
export type ProviderDetail = {
|
|
9
|
+
id: Provider;
|
|
10
|
+
label: string;
|
|
11
|
+
source: 'built-in' | 'custom';
|
|
12
|
+
enabled: boolean;
|
|
13
|
+
authorized: boolean;
|
|
14
|
+
custom: boolean;
|
|
15
|
+
compatibility?: string | null;
|
|
16
|
+
family?: string | null;
|
|
17
|
+
baseURL?: string | null;
|
|
18
|
+
apiKeyEnv?: string | null;
|
|
19
|
+
hasApiKey: boolean;
|
|
20
|
+
allowAnyModel: boolean;
|
|
21
|
+
modelCount: number;
|
|
22
|
+
authType?: string | null;
|
|
23
|
+
};
|
|
17
24
|
export type AskResponse = {
|
|
18
25
|
sessionId: string;
|
|
19
26
|
header: AskResponseHeader;
|
|
@@ -108,6 +115,7 @@ export type FileArtifact = {
|
|
|
108
115
|
export type Config = {
|
|
109
116
|
agents: Array<string>;
|
|
110
117
|
providers: Array<Provider>;
|
|
118
|
+
providerDetails?: Array<ProviderDetail>;
|
|
111
119
|
defaults: {
|
|
112
120
|
agent: string;
|
|
113
121
|
provider: Provider;
|
|
@@ -272,7 +280,7 @@ export type GetAuthStatusResponses = {
|
|
|
272
280
|
*/
|
|
273
281
|
200: {
|
|
274
282
|
onboardingComplete: boolean;
|
|
275
|
-
|
|
283
|
+
ottorouter: {
|
|
276
284
|
configured: boolean;
|
|
277
285
|
publicKey?: string;
|
|
278
286
|
};
|
|
@@ -299,13 +307,13 @@ export type GetAuthStatusResponses = {
|
|
|
299
307
|
};
|
|
300
308
|
};
|
|
301
309
|
export type GetAuthStatusResponse = GetAuthStatusResponses[keyof GetAuthStatusResponses];
|
|
302
|
-
export type
|
|
310
|
+
export type SetupOttoRouterWalletData = {
|
|
303
311
|
body?: never;
|
|
304
312
|
path?: never;
|
|
305
313
|
query?: never;
|
|
306
|
-
url: '/v1/auth/
|
|
314
|
+
url: '/v1/auth/ottorouter/setup';
|
|
307
315
|
};
|
|
308
|
-
export type
|
|
316
|
+
export type SetupOttoRouterWalletResponses = {
|
|
309
317
|
/**
|
|
310
318
|
* OK
|
|
311
319
|
*/
|
|
@@ -315,16 +323,16 @@ export type SetupSetuWalletResponses = {
|
|
|
315
323
|
isNew: boolean;
|
|
316
324
|
};
|
|
317
325
|
};
|
|
318
|
-
export type
|
|
319
|
-
export type
|
|
326
|
+
export type SetupOttoRouterWalletResponse = SetupOttoRouterWalletResponses[keyof SetupOttoRouterWalletResponses];
|
|
327
|
+
export type ImportOttoRouterWalletData = {
|
|
320
328
|
body: {
|
|
321
329
|
privateKey: string;
|
|
322
330
|
};
|
|
323
331
|
path?: never;
|
|
324
332
|
query?: never;
|
|
325
|
-
url: '/v1/auth/
|
|
333
|
+
url: '/v1/auth/ottorouter/import';
|
|
326
334
|
};
|
|
327
|
-
export type
|
|
335
|
+
export type ImportOttoRouterWalletErrors = {
|
|
328
336
|
/**
|
|
329
337
|
* Bad Request
|
|
330
338
|
*/
|
|
@@ -332,8 +340,8 @@ export type ImportSetuWalletErrors = {
|
|
|
332
340
|
error: string;
|
|
333
341
|
};
|
|
334
342
|
};
|
|
335
|
-
export type
|
|
336
|
-
export type
|
|
343
|
+
export type ImportOttoRouterWalletError = ImportOttoRouterWalletErrors[keyof ImportOttoRouterWalletErrors];
|
|
344
|
+
export type ImportOttoRouterWalletResponses = {
|
|
337
345
|
/**
|
|
338
346
|
* OK
|
|
339
347
|
*/
|
|
@@ -342,14 +350,14 @@ export type ImportSetuWalletResponses = {
|
|
|
342
350
|
publicKey: string;
|
|
343
351
|
};
|
|
344
352
|
};
|
|
345
|
-
export type
|
|
346
|
-
export type
|
|
353
|
+
export type ImportOttoRouterWalletResponse = ImportOttoRouterWalletResponses[keyof ImportOttoRouterWalletResponses];
|
|
354
|
+
export type ExportOttoRouterWalletData = {
|
|
347
355
|
body?: never;
|
|
348
356
|
path?: never;
|
|
349
357
|
query?: never;
|
|
350
|
-
url: '/v1/auth/
|
|
358
|
+
url: '/v1/auth/ottorouter/export';
|
|
351
359
|
};
|
|
352
|
-
export type
|
|
360
|
+
export type ExportOttoRouterWalletErrors = {
|
|
353
361
|
/**
|
|
354
362
|
* Bad Request
|
|
355
363
|
*/
|
|
@@ -357,8 +365,8 @@ export type ExportSetuWalletErrors = {
|
|
|
357
365
|
error: string;
|
|
358
366
|
};
|
|
359
367
|
};
|
|
360
|
-
export type
|
|
361
|
-
export type
|
|
368
|
+
export type ExportOttoRouterWalletError = ExportOttoRouterWalletErrors[keyof ExportOttoRouterWalletErrors];
|
|
369
|
+
export type ExportOttoRouterWalletResponses = {
|
|
362
370
|
/**
|
|
363
371
|
* OK
|
|
364
372
|
*/
|
|
@@ -368,7 +376,7 @@ export type ExportSetuWalletResponses = {
|
|
|
368
376
|
privateKey: string;
|
|
369
377
|
};
|
|
370
378
|
};
|
|
371
|
-
export type
|
|
379
|
+
export type ExportOttoRouterWalletResponse = ExportOttoRouterWalletResponses[keyof ExportOttoRouterWalletResponses];
|
|
372
380
|
export type RemoveProviderData = {
|
|
373
381
|
body?: never;
|
|
374
382
|
path: {
|
|
@@ -848,10 +856,72 @@ export type GetProvidersResponses = {
|
|
|
848
856
|
*/
|
|
849
857
|
200: {
|
|
850
858
|
providers: Array<Provider>;
|
|
859
|
+
details: Array<ProviderDetail>;
|
|
851
860
|
default: Provider;
|
|
852
861
|
};
|
|
853
862
|
};
|
|
854
863
|
export type GetProvidersResponse = GetProvidersResponses[keyof GetProvidersResponses];
|
|
864
|
+
export type DeleteProviderSettingsData = {
|
|
865
|
+
body?: never;
|
|
866
|
+
path: {
|
|
867
|
+
provider: Provider;
|
|
868
|
+
};
|
|
869
|
+
query?: {
|
|
870
|
+
/**
|
|
871
|
+
* Project root override (defaults to current working directory).
|
|
872
|
+
*/
|
|
873
|
+
project?: string;
|
|
874
|
+
scope?: 'global' | 'local';
|
|
875
|
+
};
|
|
876
|
+
url: '/v1/config/providers/{provider}';
|
|
877
|
+
};
|
|
878
|
+
export type DeleteProviderSettingsResponses = {
|
|
879
|
+
/**
|
|
880
|
+
* OK
|
|
881
|
+
*/
|
|
882
|
+
200: {
|
|
883
|
+
success: boolean;
|
|
884
|
+
provider: Provider;
|
|
885
|
+
details: Array<ProviderDetail>;
|
|
886
|
+
};
|
|
887
|
+
};
|
|
888
|
+
export type DeleteProviderSettingsResponse = DeleteProviderSettingsResponses[keyof DeleteProviderSettingsResponses];
|
|
889
|
+
export type UpdateProviderSettingsData = {
|
|
890
|
+
body: {
|
|
891
|
+
enabled?: boolean;
|
|
892
|
+
custom?: boolean;
|
|
893
|
+
label?: string;
|
|
894
|
+
compatibility?: string;
|
|
895
|
+
family?: string;
|
|
896
|
+
baseURL?: string | null;
|
|
897
|
+
apiKey?: string | null;
|
|
898
|
+
apiKeyEnv?: string | null;
|
|
899
|
+
models?: Array<string>;
|
|
900
|
+
allowAnyModel?: boolean;
|
|
901
|
+
scope?: 'global' | 'local';
|
|
902
|
+
};
|
|
903
|
+
path: {
|
|
904
|
+
provider: Provider;
|
|
905
|
+
};
|
|
906
|
+
query?: {
|
|
907
|
+
/**
|
|
908
|
+
* Project root override (defaults to current working directory).
|
|
909
|
+
*/
|
|
910
|
+
project?: string;
|
|
911
|
+
};
|
|
912
|
+
url: '/v1/config/providers/{provider}';
|
|
913
|
+
};
|
|
914
|
+
export type UpdateProviderSettingsResponses = {
|
|
915
|
+
/**
|
|
916
|
+
* OK
|
|
917
|
+
*/
|
|
918
|
+
200: {
|
|
919
|
+
success: boolean;
|
|
920
|
+
provider: Provider;
|
|
921
|
+
details: Array<ProviderDetail>;
|
|
922
|
+
};
|
|
923
|
+
};
|
|
924
|
+
export type UpdateProviderSettingsResponse = UpdateProviderSettingsResponses[keyof UpdateProviderSettingsResponses];
|
|
855
925
|
export type GetProviderModelsData = {
|
|
856
926
|
body?: never;
|
|
857
927
|
path: {
|
|
@@ -887,6 +957,8 @@ export type GetProviderModelsResponses = {
|
|
|
887
957
|
200: {
|
|
888
958
|
models: Array<Model>;
|
|
889
959
|
default?: string | null;
|
|
960
|
+
allowAnyModel: boolean;
|
|
961
|
+
label: string;
|
|
890
962
|
};
|
|
891
963
|
};
|
|
892
964
|
export type GetProviderModelsResponse = GetProviderModelsResponses[keyof GetProviderModelsResponses];
|
|
@@ -2932,13 +3004,13 @@ export type AbortSessionResponses = {
|
|
|
2932
3004
|
};
|
|
2933
3005
|
};
|
|
2934
3006
|
export type AbortSessionResponse = AbortSessionResponses[keyof AbortSessionResponses];
|
|
2935
|
-
export type
|
|
3007
|
+
export type GetOttoRouterBalanceData = {
|
|
2936
3008
|
body?: never;
|
|
2937
3009
|
path?: never;
|
|
2938
3010
|
query?: never;
|
|
2939
|
-
url: '/v1/
|
|
3011
|
+
url: '/v1/ottorouter/balance';
|
|
2940
3012
|
};
|
|
2941
|
-
export type
|
|
3013
|
+
export type GetOttoRouterBalanceErrors = {
|
|
2942
3014
|
/**
|
|
2943
3015
|
* Wallet not configured
|
|
2944
3016
|
*/
|
|
@@ -2946,14 +3018,14 @@ export type GetSetuBalanceErrors = {
|
|
|
2946
3018
|
error: string;
|
|
2947
3019
|
};
|
|
2948
3020
|
/**
|
|
2949
|
-
* Failed to fetch balance from
|
|
3021
|
+
* Failed to fetch balance from OttoRouter
|
|
2950
3022
|
*/
|
|
2951
3023
|
502: {
|
|
2952
3024
|
error: string;
|
|
2953
3025
|
};
|
|
2954
3026
|
};
|
|
2955
|
-
export type
|
|
2956
|
-
export type
|
|
3027
|
+
export type GetOttoRouterBalanceError = GetOttoRouterBalanceErrors[keyof GetOttoRouterBalanceErrors];
|
|
3028
|
+
export type GetOttoRouterBalanceResponses = {
|
|
2957
3029
|
/**
|
|
2958
3030
|
* OK
|
|
2959
3031
|
*/
|
|
@@ -2992,14 +3064,14 @@ export type GetSetuBalanceResponses = {
|
|
|
2992
3064
|
} | null;
|
|
2993
3065
|
};
|
|
2994
3066
|
};
|
|
2995
|
-
export type
|
|
2996
|
-
export type
|
|
3067
|
+
export type GetOttoRouterBalanceResponse = GetOttoRouterBalanceResponses[keyof GetOttoRouterBalanceResponses];
|
|
3068
|
+
export type GetOttoRouterWalletData = {
|
|
2997
3069
|
body?: never;
|
|
2998
3070
|
path?: never;
|
|
2999
3071
|
query?: never;
|
|
3000
|
-
url: '/v1/
|
|
3072
|
+
url: '/v1/ottorouter/wallet';
|
|
3001
3073
|
};
|
|
3002
|
-
export type
|
|
3074
|
+
export type GetOttoRouterWalletResponses = {
|
|
3003
3075
|
/**
|
|
3004
3076
|
* OK
|
|
3005
3077
|
*/
|
|
@@ -3009,8 +3081,8 @@ export type GetSetuWalletResponses = {
|
|
|
3009
3081
|
error?: string;
|
|
3010
3082
|
};
|
|
3011
3083
|
};
|
|
3012
|
-
export type
|
|
3013
|
-
export type
|
|
3084
|
+
export type GetOttoRouterWalletResponse = GetOttoRouterWalletResponses[keyof GetOttoRouterWalletResponses];
|
|
3085
|
+
export type GetOttoRouterUsdcBalanceData = {
|
|
3014
3086
|
body?: never;
|
|
3015
3087
|
path?: never;
|
|
3016
3088
|
query?: {
|
|
@@ -3019,9 +3091,9 @@ export type GetSetuUsdcBalanceData = {
|
|
|
3019
3091
|
*/
|
|
3020
3092
|
network?: 'mainnet' | 'devnet';
|
|
3021
3093
|
};
|
|
3022
|
-
url: '/v1/
|
|
3094
|
+
url: '/v1/ottorouter/usdc-balance';
|
|
3023
3095
|
};
|
|
3024
|
-
export type
|
|
3096
|
+
export type GetOttoRouterUsdcBalanceErrors = {
|
|
3025
3097
|
/**
|
|
3026
3098
|
* Wallet not configured
|
|
3027
3099
|
*/
|
|
@@ -3035,8 +3107,8 @@ export type GetSetuUsdcBalanceErrors = {
|
|
|
3035
3107
|
error: string;
|
|
3036
3108
|
};
|
|
3037
3109
|
};
|
|
3038
|
-
export type
|
|
3039
|
-
export type
|
|
3110
|
+
export type GetOttoRouterUsdcBalanceError = GetOttoRouterUsdcBalanceErrors[keyof GetOttoRouterUsdcBalanceErrors];
|
|
3111
|
+
export type GetOttoRouterUsdcBalanceResponses = {
|
|
3040
3112
|
/**
|
|
3041
3113
|
* OK
|
|
3042
3114
|
*/
|
|
@@ -3046,7 +3118,7 @@ export type GetSetuUsdcBalanceResponses = {
|
|
|
3046
3118
|
network: 'mainnet' | 'devnet';
|
|
3047
3119
|
};
|
|
3048
3120
|
};
|
|
3049
|
-
export type
|
|
3121
|
+
export type GetOttoRouterUsdcBalanceResponse = GetOttoRouterUsdcBalanceResponses[keyof GetOttoRouterUsdcBalanceResponses];
|
|
3050
3122
|
export type CreatePolarCheckoutData = {
|
|
3051
3123
|
body: {
|
|
3052
3124
|
amount: number;
|
|
@@ -3054,7 +3126,7 @@ export type CreatePolarCheckoutData = {
|
|
|
3054
3126
|
};
|
|
3055
3127
|
path?: never;
|
|
3056
3128
|
query?: never;
|
|
3057
|
-
url: '/v1/
|
|
3129
|
+
url: '/v1/ottorouter/topup/polar';
|
|
3058
3130
|
};
|
|
3059
3131
|
export type CreatePolarCheckoutErrors = {
|
|
3060
3132
|
/**
|
|
@@ -3081,7 +3153,7 @@ export type SelectTopupMethodData = {
|
|
|
3081
3153
|
};
|
|
3082
3154
|
path?: never;
|
|
3083
3155
|
query?: never;
|
|
3084
|
-
url: '/v1/
|
|
3156
|
+
url: '/v1/ottorouter/topup/select';
|
|
3085
3157
|
};
|
|
3086
3158
|
export type SelectTopupMethodErrors = {
|
|
3087
3159
|
/**
|
|
@@ -3109,7 +3181,7 @@ export type CancelTopupData = {
|
|
|
3109
3181
|
};
|
|
3110
3182
|
path?: never;
|
|
3111
3183
|
query?: never;
|
|
3112
|
-
url: '/v1/
|
|
3184
|
+
url: '/v1/ottorouter/topup/cancel';
|
|
3113
3185
|
};
|
|
3114
3186
|
export type CancelTopupErrors = {
|
|
3115
3187
|
/**
|
|
@@ -3135,7 +3207,7 @@ export type GetPendingTopupData = {
|
|
|
3135
3207
|
query: {
|
|
3136
3208
|
sessionId: string;
|
|
3137
3209
|
};
|
|
3138
|
-
url: '/v1/
|
|
3210
|
+
url: '/v1/ottorouter/topup/pending';
|
|
3139
3211
|
};
|
|
3140
3212
|
export type GetPendingTopupResponses = {
|
|
3141
3213
|
/**
|
|
@@ -3160,7 +3232,7 @@ export type GetPolarTopupEstimateData = {
|
|
|
3160
3232
|
*/
|
|
3161
3233
|
amount: number;
|
|
3162
3234
|
};
|
|
3163
|
-
url: '/v1/
|
|
3235
|
+
url: '/v1/ottorouter/topup/polar/estimate';
|
|
3164
3236
|
};
|
|
3165
3237
|
export type GetPolarTopupEstimateResponses = {
|
|
3166
3238
|
/**
|
|
@@ -3184,7 +3256,7 @@ export type GetPolarTopupStatusData = {
|
|
|
3184
3256
|
query: {
|
|
3185
3257
|
checkoutId: string;
|
|
3186
3258
|
};
|
|
3187
|
-
url: '/v1/
|
|
3259
|
+
url: '/v1/ottorouter/topup/polar/status';
|
|
3188
3260
|
};
|
|
3189
3261
|
export type GetPolarTopupStatusResponses = {
|
|
3190
3262
|
/**
|
|
@@ -3207,7 +3279,7 @@ export type GetRazorpayTopupEstimateData = {
|
|
|
3207
3279
|
*/
|
|
3208
3280
|
amount: number;
|
|
3209
3281
|
};
|
|
3210
|
-
url: '/v1/
|
|
3282
|
+
url: '/v1/ottorouter/topup/razorpay/estimate';
|
|
3211
3283
|
};
|
|
3212
3284
|
export type GetRazorpayTopupEstimateResponses = {
|
|
3213
3285
|
/**
|
|
@@ -3228,7 +3300,7 @@ export type CreateRazorpayOrderData = {
|
|
|
3228
3300
|
};
|
|
3229
3301
|
path?: never;
|
|
3230
3302
|
query?: never;
|
|
3231
|
-
url: '/v1/
|
|
3303
|
+
url: '/v1/ottorouter/topup/razorpay';
|
|
3232
3304
|
};
|
|
3233
3305
|
export type CreateRazorpayOrderErrors = {
|
|
3234
3306
|
/**
|
|
@@ -3261,7 +3333,7 @@ export type VerifyRazorpayPaymentData = {
|
|
|
3261
3333
|
};
|
|
3262
3334
|
path?: never;
|
|
3263
3335
|
query?: never;
|
|
3264
|
-
url: '/v1/
|
|
3336
|
+
url: '/v1/ottorouter/topup/razorpay/verify';
|
|
3265
3337
|
};
|
|
3266
3338
|
export type VerifyRazorpayPaymentErrors = {
|
|
3267
3339
|
/**
|
|
@@ -3283,6 +3355,91 @@ export type VerifyRazorpayPaymentResponses = {
|
|
|
3283
3355
|
};
|
|
3284
3356
|
};
|
|
3285
3357
|
export type VerifyRazorpayPaymentResponse = VerifyRazorpayPaymentResponses[keyof VerifyRazorpayPaymentResponses];
|
|
3358
|
+
export type GetSkillsConfigData = {
|
|
3359
|
+
body?: never;
|
|
3360
|
+
path?: never;
|
|
3361
|
+
query?: {
|
|
3362
|
+
/**
|
|
3363
|
+
* Project root override (defaults to current working directory).
|
|
3364
|
+
*/
|
|
3365
|
+
project?: string;
|
|
3366
|
+
};
|
|
3367
|
+
url: '/v1/config/skills';
|
|
3368
|
+
};
|
|
3369
|
+
export type GetSkillsConfigErrors = {
|
|
3370
|
+
/**
|
|
3371
|
+
* Bad Request
|
|
3372
|
+
*/
|
|
3373
|
+
500: {
|
|
3374
|
+
error: string;
|
|
3375
|
+
};
|
|
3376
|
+
};
|
|
3377
|
+
export type GetSkillsConfigError = GetSkillsConfigErrors[keyof GetSkillsConfigErrors];
|
|
3378
|
+
export type GetSkillsConfigResponses = {
|
|
3379
|
+
/**
|
|
3380
|
+
* OK
|
|
3381
|
+
*/
|
|
3382
|
+
200: {
|
|
3383
|
+
enabled: boolean;
|
|
3384
|
+
totalCount: number;
|
|
3385
|
+
enabledCount: number;
|
|
3386
|
+
items: Array<{
|
|
3387
|
+
name: string;
|
|
3388
|
+
description: string;
|
|
3389
|
+
scope: string;
|
|
3390
|
+
path: string;
|
|
3391
|
+
enabled: boolean;
|
|
3392
|
+
}>;
|
|
3393
|
+
};
|
|
3394
|
+
};
|
|
3395
|
+
export type GetSkillsConfigResponse = GetSkillsConfigResponses[keyof GetSkillsConfigResponses];
|
|
3396
|
+
export type UpdateSkillsConfigData = {
|
|
3397
|
+
body: {
|
|
3398
|
+
enabled?: boolean;
|
|
3399
|
+
scope?: 'global' | 'local';
|
|
3400
|
+
items?: {
|
|
3401
|
+
[key: string]: {
|
|
3402
|
+
enabled?: boolean;
|
|
3403
|
+
};
|
|
3404
|
+
};
|
|
3405
|
+
};
|
|
3406
|
+
path?: never;
|
|
3407
|
+
query?: {
|
|
3408
|
+
/**
|
|
3409
|
+
* Project root override (defaults to current working directory).
|
|
3410
|
+
*/
|
|
3411
|
+
project?: string;
|
|
3412
|
+
};
|
|
3413
|
+
url: '/v1/config/skills';
|
|
3414
|
+
};
|
|
3415
|
+
export type UpdateSkillsConfigErrors = {
|
|
3416
|
+
/**
|
|
3417
|
+
* Bad Request
|
|
3418
|
+
*/
|
|
3419
|
+
500: {
|
|
3420
|
+
error: string;
|
|
3421
|
+
};
|
|
3422
|
+
};
|
|
3423
|
+
export type UpdateSkillsConfigError = UpdateSkillsConfigErrors[keyof UpdateSkillsConfigErrors];
|
|
3424
|
+
export type UpdateSkillsConfigResponses = {
|
|
3425
|
+
/**
|
|
3426
|
+
* OK
|
|
3427
|
+
*/
|
|
3428
|
+
200: {
|
|
3429
|
+
success: boolean;
|
|
3430
|
+
enabled: boolean;
|
|
3431
|
+
totalCount: number;
|
|
3432
|
+
enabledCount: number;
|
|
3433
|
+
items: Array<{
|
|
3434
|
+
name: string;
|
|
3435
|
+
description: string;
|
|
3436
|
+
scope: string;
|
|
3437
|
+
path: string;
|
|
3438
|
+
enabled: boolean;
|
|
3439
|
+
}>;
|
|
3440
|
+
};
|
|
3441
|
+
};
|
|
3442
|
+
export type UpdateSkillsConfigResponse = UpdateSkillsConfigResponses[keyof UpdateSkillsConfigResponses];
|
|
3286
3443
|
export type ListSkillsData = {
|
|
3287
3444
|
body?: never;
|
|
3288
3445
|
path?: never;
|