@taico/client 0.2.16 → 0.2.18
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/contracts/types.d.ts +358 -2
- package/dist/src/v1/client/index.d.ts +6 -0
- package/dist/src/v1/client/index.js +2 -0
- package/dist/src/v1/client/models/AccountSetupStatusRequestDto.d.ts +6 -0
- package/dist/src/v1/client/models/AccountSetupStatusRequestDto.js +1 -0
- package/dist/src/v1/client/models/AccountSetupStatusResponseDto.d.ts +10 -0
- package/dist/src/v1/client/models/AccountSetupStatusResponseDto.js +1 -0
- package/dist/src/v1/client/models/CreateManagedUserRequestDto.d.ts +19 -0
- package/dist/src/v1/client/models/CreateManagedUserRequestDto.js +11 -0
- package/dist/src/v1/client/models/ExecutionStatsResponseDto.d.ts +4 -0
- package/dist/src/v1/client/models/ManagedUserResponseDto.d.ts +51 -0
- package/dist/src/v1/client/models/ManagedUserResponseDto.js +11 -0
- package/dist/src/v1/client/models/SetupManagedUserRequestDto.d.ts +18 -0
- package/dist/src/v1/client/models/SetupManagedUserRequestDto.js +1 -0
- package/dist/src/v1/client/models/TaskListResponseDto.d.ts +2 -2
- package/dist/src/v1/client/models/UpdateExecutionStatsDto.d.ts +4 -0
- package/dist/src/v1/client/models/VersionResponseDto.d.ts +10 -0
- package/dist/src/v1/client/models/VersionResponseDto.js +1 -0
- package/dist/src/v1/client/models/WorkerResponseDto.d.ts +1 -0
- package/dist/src/v1/client/services/MetaService.d.ts +7 -0
- package/dist/src/v1/client/services/MetaService.js +11 -0
- package/dist/src/v1/client/services/WebAuthenticationService.d.ts +46 -0
- package/dist/src/v1/client/services/WebAuthenticationService.js +83 -0
- package/dist/src/v2/meta-resource.d.ts +5 -1
- package/dist/src/v2/meta-resource.js +4 -0
- package/dist/src/v2/types.d.ts +36 -0
- package/dist/src/v2/web-authentication-resource.d.ts +30 -1
- package/dist/src/v2/web-authentication-resource.js +24 -0
- package/package.json +1 -1
|
@@ -72,6 +72,23 @@ export interface paths {
|
|
|
72
72
|
patch?: never;
|
|
73
73
|
trace?: never;
|
|
74
74
|
};
|
|
75
|
+
"/api/v1/meta/version": {
|
|
76
|
+
parameters: {
|
|
77
|
+
query?: never;
|
|
78
|
+
header?: never;
|
|
79
|
+
path?: never;
|
|
80
|
+
cookie?: never;
|
|
81
|
+
};
|
|
82
|
+
/** Get version information */
|
|
83
|
+
get: operations["MetaController_getVersion"];
|
|
84
|
+
put?: never;
|
|
85
|
+
post?: never;
|
|
86
|
+
delete?: never;
|
|
87
|
+
options?: never;
|
|
88
|
+
head?: never;
|
|
89
|
+
patch?: never;
|
|
90
|
+
trace?: never;
|
|
91
|
+
};
|
|
75
92
|
"/api/v1/meta/projects": {
|
|
76
93
|
parameters: {
|
|
77
94
|
query?: never;
|
|
@@ -364,6 +381,92 @@ export interface paths {
|
|
|
364
381
|
patch?: never;
|
|
365
382
|
trace?: never;
|
|
366
383
|
};
|
|
384
|
+
"/api/v1/auth/users": {
|
|
385
|
+
parameters: {
|
|
386
|
+
query?: never;
|
|
387
|
+
header?: never;
|
|
388
|
+
path?: never;
|
|
389
|
+
cookie?: never;
|
|
390
|
+
};
|
|
391
|
+
/** List human users for admin user management */
|
|
392
|
+
get: operations["WebAuthController_listUsers"];
|
|
393
|
+
put?: never;
|
|
394
|
+
/** Create an invited human user */
|
|
395
|
+
post: operations["WebAuthController_createUser"];
|
|
396
|
+
delete?: never;
|
|
397
|
+
options?: never;
|
|
398
|
+
head?: never;
|
|
399
|
+
patch?: never;
|
|
400
|
+
trace?: never;
|
|
401
|
+
};
|
|
402
|
+
"/api/v1/auth/users/{userId}/reset-password": {
|
|
403
|
+
parameters: {
|
|
404
|
+
query?: never;
|
|
405
|
+
header?: never;
|
|
406
|
+
path?: never;
|
|
407
|
+
cookie?: never;
|
|
408
|
+
};
|
|
409
|
+
get?: never;
|
|
410
|
+
put?: never;
|
|
411
|
+
/** Reset a managed user password so they can set a new one */
|
|
412
|
+
post: operations["WebAuthController_resetUserPassword"];
|
|
413
|
+
delete?: never;
|
|
414
|
+
options?: never;
|
|
415
|
+
head?: never;
|
|
416
|
+
patch?: never;
|
|
417
|
+
trace?: never;
|
|
418
|
+
};
|
|
419
|
+
"/api/v1/auth/users/{userId}": {
|
|
420
|
+
parameters: {
|
|
421
|
+
query?: never;
|
|
422
|
+
header?: never;
|
|
423
|
+
path?: never;
|
|
424
|
+
cookie?: never;
|
|
425
|
+
};
|
|
426
|
+
get?: never;
|
|
427
|
+
put?: never;
|
|
428
|
+
post?: never;
|
|
429
|
+
/** Deactivate a managed user */
|
|
430
|
+
delete: operations["WebAuthController_deleteUser"];
|
|
431
|
+
options?: never;
|
|
432
|
+
head?: never;
|
|
433
|
+
patch?: never;
|
|
434
|
+
trace?: never;
|
|
435
|
+
};
|
|
436
|
+
"/api/v1/auth/account-setup-status": {
|
|
437
|
+
parameters: {
|
|
438
|
+
query?: never;
|
|
439
|
+
header?: never;
|
|
440
|
+
path?: never;
|
|
441
|
+
cookie?: never;
|
|
442
|
+
};
|
|
443
|
+
get?: never;
|
|
444
|
+
put?: never;
|
|
445
|
+
/** Check whether an invited or reset account can be set up */
|
|
446
|
+
post: operations["WebAuthController_getAccountSetupStatus"];
|
|
447
|
+
delete?: never;
|
|
448
|
+
options?: never;
|
|
449
|
+
head?: never;
|
|
450
|
+
patch?: never;
|
|
451
|
+
trace?: never;
|
|
452
|
+
};
|
|
453
|
+
"/api/v1/auth/setup-account": {
|
|
454
|
+
parameters: {
|
|
455
|
+
query?: never;
|
|
456
|
+
header?: never;
|
|
457
|
+
path?: never;
|
|
458
|
+
cookie?: never;
|
|
459
|
+
};
|
|
460
|
+
get?: never;
|
|
461
|
+
put?: never;
|
|
462
|
+
/** Set up an invited or reset account and log in */
|
|
463
|
+
post: operations["WebAuthController_setupAccount"];
|
|
464
|
+
delete?: never;
|
|
465
|
+
options?: never;
|
|
466
|
+
head?: never;
|
|
467
|
+
patch?: never;
|
|
468
|
+
trace?: never;
|
|
469
|
+
};
|
|
367
470
|
"/api/v1/auth/refresh": {
|
|
368
471
|
parameters: {
|
|
369
472
|
query?: never;
|
|
@@ -2132,6 +2235,18 @@ export interface components {
|
|
|
2132
2235
|
*/
|
|
2133
2236
|
updatedAt: string;
|
|
2134
2237
|
};
|
|
2238
|
+
VersionResponseDto: {
|
|
2239
|
+
/**
|
|
2240
|
+
* @description Backend version
|
|
2241
|
+
* @example 0.2.16
|
|
2242
|
+
*/
|
|
2243
|
+
backend: string;
|
|
2244
|
+
/**
|
|
2245
|
+
* @description UI version
|
|
2246
|
+
* @example 0.2.16
|
|
2247
|
+
*/
|
|
2248
|
+
ui: string;
|
|
2249
|
+
};
|
|
2135
2250
|
CreateProjectDto: {
|
|
2136
2251
|
/**
|
|
2137
2252
|
* @description Project slug (e.g., "taico")
|
|
@@ -2720,6 +2835,85 @@ export interface components {
|
|
|
2720
2835
|
*/
|
|
2721
2836
|
expiresIn: number;
|
|
2722
2837
|
};
|
|
2838
|
+
ManagedUserResponseDto: {
|
|
2839
|
+
/** @description User ID */
|
|
2840
|
+
id: string;
|
|
2841
|
+
/** @description User email address */
|
|
2842
|
+
email: string;
|
|
2843
|
+
/** @description Display name from the associated human actor */
|
|
2844
|
+
displayName: string;
|
|
2845
|
+
/** @description Actor slug/username */
|
|
2846
|
+
slug: string;
|
|
2847
|
+
/** @description Actor ID associated with this user */
|
|
2848
|
+
actorId: string;
|
|
2849
|
+
/**
|
|
2850
|
+
* @description User role
|
|
2851
|
+
* @enum {string}
|
|
2852
|
+
*/
|
|
2853
|
+
role: "admin" | "standard";
|
|
2854
|
+
/** @description Whether this user can currently sign in */
|
|
2855
|
+
isActive: boolean;
|
|
2856
|
+
/** @description Whether this user still needs to set a password */
|
|
2857
|
+
passwordSetupPending: boolean;
|
|
2858
|
+
/**
|
|
2859
|
+
* Format: date-time
|
|
2860
|
+
* @description Creation timestamp
|
|
2861
|
+
*/
|
|
2862
|
+
createdAt: string;
|
|
2863
|
+
/**
|
|
2864
|
+
* Format: date-time
|
|
2865
|
+
* @description Last update timestamp
|
|
2866
|
+
*/
|
|
2867
|
+
updatedAt: string;
|
|
2868
|
+
};
|
|
2869
|
+
CreateManagedUserRequestDto: {
|
|
2870
|
+
/**
|
|
2871
|
+
* @description Email address to invite
|
|
2872
|
+
* @example user@example.com
|
|
2873
|
+
*/
|
|
2874
|
+
email: string;
|
|
2875
|
+
/**
|
|
2876
|
+
* @description Role for the new user
|
|
2877
|
+
* @example standard
|
|
2878
|
+
* @enum {string}
|
|
2879
|
+
*/
|
|
2880
|
+
role: "admin" | "standard";
|
|
2881
|
+
};
|
|
2882
|
+
AccountSetupStatusRequestDto: {
|
|
2883
|
+
/**
|
|
2884
|
+
* @description Email address to check
|
|
2885
|
+
* @example user@example.com
|
|
2886
|
+
*/
|
|
2887
|
+
email: string;
|
|
2888
|
+
};
|
|
2889
|
+
AccountSetupStatusResponseDto: {
|
|
2890
|
+
/** @description Normalized email address */
|
|
2891
|
+
email: string;
|
|
2892
|
+
/** @description Whether an invited or reset account can be set up */
|
|
2893
|
+
canSetup: boolean;
|
|
2894
|
+
};
|
|
2895
|
+
SetupManagedUserRequestDto: {
|
|
2896
|
+
/**
|
|
2897
|
+
* @description Invited or reset account email address
|
|
2898
|
+
* @example user@example.com
|
|
2899
|
+
*/
|
|
2900
|
+
email: string;
|
|
2901
|
+
/**
|
|
2902
|
+
* @description Display name for the user
|
|
2903
|
+
* @example Jane User
|
|
2904
|
+
*/
|
|
2905
|
+
displayName: string;
|
|
2906
|
+
/**
|
|
2907
|
+
* @description Slug/username for the user
|
|
2908
|
+
* @example jane
|
|
2909
|
+
*/
|
|
2910
|
+
slug: string;
|
|
2911
|
+
/**
|
|
2912
|
+
* @description New password for the account
|
|
2913
|
+
* @example securepassword123
|
|
2914
|
+
*/
|
|
2915
|
+
password: string;
|
|
2916
|
+
};
|
|
2723
2917
|
ChangePasswordRequestDto: {
|
|
2724
2918
|
/**
|
|
2725
2919
|
* @description Current password
|
|
@@ -3641,12 +3835,12 @@ export interface components {
|
|
|
3641
3835
|
*/
|
|
3642
3836
|
page: number;
|
|
3643
3837
|
/**
|
|
3644
|
-
* @description Number of items per page
|
|
3838
|
+
* @description Number of items per status per page when no status filter is provided
|
|
3645
3839
|
* @example 20
|
|
3646
3840
|
*/
|
|
3647
3841
|
limit: number;
|
|
3648
3842
|
/**
|
|
3649
|
-
* @description Total number of pages
|
|
3843
|
+
* @description Total number of pages based on the largest matching status bucket
|
|
3650
3844
|
* @example 3
|
|
3651
3845
|
*/
|
|
3652
3846
|
totalPages: number;
|
|
@@ -5329,6 +5523,11 @@ export interface components {
|
|
|
5329
5523
|
* @example gpt-5.4
|
|
5330
5524
|
*/
|
|
5331
5525
|
modelId: string | null;
|
|
5526
|
+
/**
|
|
5527
|
+
* @description Taico worker package version used for this run
|
|
5528
|
+
* @example 0.2.16
|
|
5529
|
+
*/
|
|
5530
|
+
workerVersion: string | null;
|
|
5332
5531
|
/**
|
|
5333
5532
|
* @description Input token usage when available
|
|
5334
5533
|
* @example 1200
|
|
@@ -5546,6 +5745,11 @@ export interface components {
|
|
|
5546
5745
|
* @example gpt-5.4
|
|
5547
5746
|
*/
|
|
5548
5747
|
modelId?: string | null;
|
|
5748
|
+
/**
|
|
5749
|
+
* @description Taico worker package version used for this execution
|
|
5750
|
+
* @example 0.2.16
|
|
5751
|
+
*/
|
|
5752
|
+
workerVersion?: string | null;
|
|
5549
5753
|
/**
|
|
5550
5754
|
* @description Input token usage when available
|
|
5551
5755
|
* @example 1200
|
|
@@ -5590,6 +5794,8 @@ export interface components {
|
|
|
5590
5794
|
/** Format: uuid */
|
|
5591
5795
|
id: string;
|
|
5592
5796
|
oauthClientId: string;
|
|
5797
|
+
/** @example 0.2.16 */
|
|
5798
|
+
workerVersion: string | null;
|
|
5593
5799
|
/** Format: date-time */
|
|
5594
5800
|
lastSeenAt: string;
|
|
5595
5801
|
harnesses: ("claude" | "codex" | "opencode" | "adk" | "githubcopilot" | "other")[];
|
|
@@ -6106,6 +6312,26 @@ export interface operations {
|
|
|
6106
6312
|
};
|
|
6107
6313
|
};
|
|
6108
6314
|
};
|
|
6315
|
+
MetaController_getVersion: {
|
|
6316
|
+
parameters: {
|
|
6317
|
+
query?: never;
|
|
6318
|
+
header?: never;
|
|
6319
|
+
path?: never;
|
|
6320
|
+
cookie?: never;
|
|
6321
|
+
};
|
|
6322
|
+
requestBody?: never;
|
|
6323
|
+
responses: {
|
|
6324
|
+
/** @description Version information for backend and UI */
|
|
6325
|
+
200: {
|
|
6326
|
+
headers: {
|
|
6327
|
+
[name: string]: unknown;
|
|
6328
|
+
};
|
|
6329
|
+
content: {
|
|
6330
|
+
"application/json": components["schemas"]["VersionResponseDto"];
|
|
6331
|
+
};
|
|
6332
|
+
};
|
|
6333
|
+
};
|
|
6334
|
+
};
|
|
6109
6335
|
ProjectsController_getAllProjects: {
|
|
6110
6336
|
parameters: {
|
|
6111
6337
|
query?: never;
|
|
@@ -6758,6 +6984,136 @@ export interface operations {
|
|
|
6758
6984
|
};
|
|
6759
6985
|
};
|
|
6760
6986
|
};
|
|
6987
|
+
WebAuthController_listUsers: {
|
|
6988
|
+
parameters: {
|
|
6989
|
+
query?: never;
|
|
6990
|
+
header?: never;
|
|
6991
|
+
path?: never;
|
|
6992
|
+
cookie?: never;
|
|
6993
|
+
};
|
|
6994
|
+
requestBody?: never;
|
|
6995
|
+
responses: {
|
|
6996
|
+
200: {
|
|
6997
|
+
headers: {
|
|
6998
|
+
[name: string]: unknown;
|
|
6999
|
+
};
|
|
7000
|
+
content: {
|
|
7001
|
+
"application/json": components["schemas"]["ManagedUserResponseDto"][];
|
|
7002
|
+
};
|
|
7003
|
+
};
|
|
7004
|
+
};
|
|
7005
|
+
};
|
|
7006
|
+
WebAuthController_createUser: {
|
|
7007
|
+
parameters: {
|
|
7008
|
+
query?: never;
|
|
7009
|
+
header?: never;
|
|
7010
|
+
path?: never;
|
|
7011
|
+
cookie?: never;
|
|
7012
|
+
};
|
|
7013
|
+
requestBody: {
|
|
7014
|
+
content: {
|
|
7015
|
+
"application/json": components["schemas"]["CreateManagedUserRequestDto"];
|
|
7016
|
+
};
|
|
7017
|
+
};
|
|
7018
|
+
responses: {
|
|
7019
|
+
201: {
|
|
7020
|
+
headers: {
|
|
7021
|
+
[name: string]: unknown;
|
|
7022
|
+
};
|
|
7023
|
+
content: {
|
|
7024
|
+
"application/json": components["schemas"]["ManagedUserResponseDto"];
|
|
7025
|
+
};
|
|
7026
|
+
};
|
|
7027
|
+
};
|
|
7028
|
+
};
|
|
7029
|
+
WebAuthController_resetUserPassword: {
|
|
7030
|
+
parameters: {
|
|
7031
|
+
query?: never;
|
|
7032
|
+
header?: never;
|
|
7033
|
+
path: {
|
|
7034
|
+
userId: string;
|
|
7035
|
+
};
|
|
7036
|
+
cookie?: never;
|
|
7037
|
+
};
|
|
7038
|
+
requestBody?: never;
|
|
7039
|
+
responses: {
|
|
7040
|
+
200: {
|
|
7041
|
+
headers: {
|
|
7042
|
+
[name: string]: unknown;
|
|
7043
|
+
};
|
|
7044
|
+
content: {
|
|
7045
|
+
"application/json": components["schemas"]["ManagedUserResponseDto"];
|
|
7046
|
+
};
|
|
7047
|
+
};
|
|
7048
|
+
};
|
|
7049
|
+
};
|
|
7050
|
+
WebAuthController_deleteUser: {
|
|
7051
|
+
parameters: {
|
|
7052
|
+
query?: never;
|
|
7053
|
+
header?: never;
|
|
7054
|
+
path: {
|
|
7055
|
+
userId: string;
|
|
7056
|
+
};
|
|
7057
|
+
cookie?: never;
|
|
7058
|
+
};
|
|
7059
|
+
requestBody?: never;
|
|
7060
|
+
responses: {
|
|
7061
|
+
200: {
|
|
7062
|
+
headers: {
|
|
7063
|
+
[name: string]: unknown;
|
|
7064
|
+
};
|
|
7065
|
+
content: {
|
|
7066
|
+
"application/json": components["schemas"]["ManagedUserResponseDto"];
|
|
7067
|
+
};
|
|
7068
|
+
};
|
|
7069
|
+
};
|
|
7070
|
+
};
|
|
7071
|
+
WebAuthController_getAccountSetupStatus: {
|
|
7072
|
+
parameters: {
|
|
7073
|
+
query?: never;
|
|
7074
|
+
header?: never;
|
|
7075
|
+
path?: never;
|
|
7076
|
+
cookie?: never;
|
|
7077
|
+
};
|
|
7078
|
+
requestBody: {
|
|
7079
|
+
content: {
|
|
7080
|
+
"application/json": components["schemas"]["AccountSetupStatusRequestDto"];
|
|
7081
|
+
};
|
|
7082
|
+
};
|
|
7083
|
+
responses: {
|
|
7084
|
+
200: {
|
|
7085
|
+
headers: {
|
|
7086
|
+
[name: string]: unknown;
|
|
7087
|
+
};
|
|
7088
|
+
content: {
|
|
7089
|
+
"application/json": components["schemas"]["AccountSetupStatusResponseDto"];
|
|
7090
|
+
};
|
|
7091
|
+
};
|
|
7092
|
+
};
|
|
7093
|
+
};
|
|
7094
|
+
WebAuthController_setupAccount: {
|
|
7095
|
+
parameters: {
|
|
7096
|
+
query?: never;
|
|
7097
|
+
header?: never;
|
|
7098
|
+
path?: never;
|
|
7099
|
+
cookie?: never;
|
|
7100
|
+
};
|
|
7101
|
+
requestBody: {
|
|
7102
|
+
content: {
|
|
7103
|
+
"application/json": components["schemas"]["SetupManagedUserRequestDto"];
|
|
7104
|
+
};
|
|
7105
|
+
};
|
|
7106
|
+
responses: {
|
|
7107
|
+
200: {
|
|
7108
|
+
headers: {
|
|
7109
|
+
[name: string]: unknown;
|
|
7110
|
+
};
|
|
7111
|
+
content: {
|
|
7112
|
+
"application/json": components["schemas"]["LoginResponseDto"];
|
|
7113
|
+
};
|
|
7114
|
+
};
|
|
7115
|
+
};
|
|
7116
|
+
};
|
|
6761
7117
|
WebAuthController_refresh: {
|
|
6762
7118
|
parameters: {
|
|
6763
7119
|
query?: never;
|
|
@@ -2,6 +2,8 @@ export { ApiError } from './core/ApiError.js';
|
|
|
2
2
|
export { CancelablePromise, CancelError } from './core/CancelablePromise.js';
|
|
3
3
|
export { OpenAPI } from './core/OpenAPI.js';
|
|
4
4
|
export type { OpenAPIConfig } from './core/OpenAPI.js';
|
|
5
|
+
export type { AccountSetupStatusRequestDto } from './models/AccountSetupStatusRequestDto.js';
|
|
6
|
+
export type { AccountSetupStatusResponseDto } from './models/AccountSetupStatusResponseDto.js';
|
|
5
7
|
export type { ActiveTaskExecutionListResponseDto } from './models/ActiveTaskExecutionListResponseDto.js';
|
|
6
8
|
export { ActiveTaskExecutionResponseDto } from './models/ActiveTaskExecutionResponseDto.js';
|
|
7
9
|
export type { ActiveTaskExecutionTagSnapshotResponseDto } from './models/ActiveTaskExecutionTagSnapshotResponseDto.js';
|
|
@@ -51,6 +53,7 @@ export { CreateChatProviderDto } from './models/CreateChatProviderDto.js';
|
|
|
51
53
|
export type { CreateCommentDto } from './models/CreateCommentDto.js';
|
|
52
54
|
export type { CreateConnectionDto } from './models/CreateConnectionDto.js';
|
|
53
55
|
export type { CreateInputRequestDto } from './models/CreateInputRequestDto.js';
|
|
56
|
+
export { CreateManagedUserRequestDto } from './models/CreateManagedUserRequestDto.js';
|
|
54
57
|
export type { CreateMappingDto } from './models/CreateMappingDto.js';
|
|
55
58
|
export type { CreateProjectDto } from './models/CreateProjectDto.js';
|
|
56
59
|
export type { CreateScheduledTaskDto } from './models/CreateScheduledTaskDto.js';
|
|
@@ -83,6 +86,7 @@ export type { JwksResponseDto } from './models/JwksResponseDto.js';
|
|
|
83
86
|
export type { ListThreadMessagesResponseDto } from './models/ListThreadMessagesResponseDto.js';
|
|
84
87
|
export type { LoginRequestDto } from './models/LoginRequestDto.js';
|
|
85
88
|
export type { LoginResponseDto } from './models/LoginResponseDto.js';
|
|
89
|
+
export { ManagedUserResponseDto } from './models/ManagedUserResponseDto.js';
|
|
86
90
|
export type { MappingResponseDto } from './models/MappingResponseDto.js';
|
|
87
91
|
export { McpFlowResponseDto } from './models/McpFlowResponseDto.js';
|
|
88
92
|
export type { MetaTagResponseDto } from './models/MetaTagResponseDto.js';
|
|
@@ -107,6 +111,7 @@ export type { SecretValueResponseDto } from './models/SecretValueResponseDto.js'
|
|
|
107
111
|
export type { ServerListResponseDto } from './models/ServerListResponseDto.js';
|
|
108
112
|
export { ServerResponseDto } from './models/ServerResponseDto.js';
|
|
109
113
|
export type { SetActiveChatProviderDto } from './models/SetActiveChatProviderDto.js';
|
|
114
|
+
export type { SetupManagedUserRequestDto } from './models/SetupManagedUserRequestDto.js';
|
|
110
115
|
export { StopActiveTaskExecutionDto } from './models/StopActiveTaskExecutionDto.js';
|
|
111
116
|
export type { TagResponseDto } from './models/TagResponseDto.js';
|
|
112
117
|
export type { TaskBlueprintListResponseDto } from './models/TaskBlueprintListResponseDto.js';
|
|
@@ -145,6 +150,7 @@ export type { UpdateThreadStateDto } from './models/UpdateThreadStateDto.js';
|
|
|
145
150
|
export type { UpsertAgentToolPermissionDto } from './models/UpsertAgentToolPermissionDto.js';
|
|
146
151
|
export { UserResponseDto } from './models/UserResponseDto.js';
|
|
147
152
|
export { UserWalkthroughStatusResponseDto } from './models/UserWalkthroughStatusResponseDto.js';
|
|
153
|
+
export type { VersionResponseDto } from './models/VersionResponseDto.js';
|
|
148
154
|
export type { WorkerResponseDto } from './models/WorkerResponseDto.js';
|
|
149
155
|
export { ActorsService } from './services/ActorsService.js';
|
|
150
156
|
export { AgentService } from './services/AgentService.js';
|
|
@@ -18,11 +18,13 @@ export { ClientRegistrationResponseDto } from './models/ClientRegistrationRespon
|
|
|
18
18
|
export { ConnectionFlowResponseDto } from './models/ConnectionFlowResponseDto.js';
|
|
19
19
|
export { CreateAgentDto } from './models/CreateAgentDto.js';
|
|
20
20
|
export { CreateChatProviderDto } from './models/CreateChatProviderDto.js';
|
|
21
|
+
export { CreateManagedUserRequestDto } from './models/CreateManagedUserRequestDto.js';
|
|
21
22
|
export { CreateServerDto } from './models/CreateServerDto.js';
|
|
22
23
|
export { GetConsentMetadataResponseDto } from './models/GetConsentMetadataResponseDto.js';
|
|
23
24
|
export { GlobalSearchResultDto } from './models/GlobalSearchResultDto.js';
|
|
24
25
|
export { IntrospectTokenRequestDto } from './models/IntrospectTokenRequestDto.js';
|
|
25
26
|
export { IntrospectTokenResponseDto } from './models/IntrospectTokenResponseDto.js';
|
|
27
|
+
export { ManagedUserResponseDto } from './models/ManagedUserResponseDto.js';
|
|
26
28
|
export { McpFlowResponseDto } from './models/McpFlowResponseDto.js';
|
|
27
29
|
export { PatchAgentDto } from './models/PatchAgentDto.js';
|
|
28
30
|
export { RegisterClientDto } from './models/RegisterClientDto.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export type CreateManagedUserRequestDto = {
|
|
2
|
+
/**
|
|
3
|
+
* Email address to invite
|
|
4
|
+
*/
|
|
5
|
+
email: string;
|
|
6
|
+
/**
|
|
7
|
+
* Role for the new user
|
|
8
|
+
*/
|
|
9
|
+
role: CreateManagedUserRequestDto.role;
|
|
10
|
+
};
|
|
11
|
+
export declare namespace CreateManagedUserRequestDto {
|
|
12
|
+
/**
|
|
13
|
+
* Role for the new user
|
|
14
|
+
*/
|
|
15
|
+
enum role {
|
|
16
|
+
ADMIN = "admin",
|
|
17
|
+
STANDARD = "standard"
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export var CreateManagedUserRequestDto;
|
|
2
|
+
(function (CreateManagedUserRequestDto) {
|
|
3
|
+
/**
|
|
4
|
+
* Role for the new user
|
|
5
|
+
*/
|
|
6
|
+
let role;
|
|
7
|
+
(function (role) {
|
|
8
|
+
role["ADMIN"] = "admin";
|
|
9
|
+
role["STANDARD"] = "standard";
|
|
10
|
+
})(role = CreateManagedUserRequestDto.role || (CreateManagedUserRequestDto.role = {}));
|
|
11
|
+
})(CreateManagedUserRequestDto || (CreateManagedUserRequestDto = {}));
|
|
@@ -11,6 +11,10 @@ export type ExecutionStatsResponseDto = {
|
|
|
11
11
|
* LLM model id resolved for this run
|
|
12
12
|
*/
|
|
13
13
|
modelId: string | null;
|
|
14
|
+
/**
|
|
15
|
+
* Taico worker package version used for this run
|
|
16
|
+
*/
|
|
17
|
+
workerVersion: string | null;
|
|
14
18
|
/**
|
|
15
19
|
* Input token usage when available
|
|
16
20
|
*/
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
export type ManagedUserResponseDto = {
|
|
2
|
+
/**
|
|
3
|
+
* User ID
|
|
4
|
+
*/
|
|
5
|
+
id: string;
|
|
6
|
+
/**
|
|
7
|
+
* User email address
|
|
8
|
+
*/
|
|
9
|
+
email: string;
|
|
10
|
+
/**
|
|
11
|
+
* Display name from the associated human actor
|
|
12
|
+
*/
|
|
13
|
+
displayName: string;
|
|
14
|
+
/**
|
|
15
|
+
* Actor slug/username
|
|
16
|
+
*/
|
|
17
|
+
slug: string;
|
|
18
|
+
/**
|
|
19
|
+
* Actor ID associated with this user
|
|
20
|
+
*/
|
|
21
|
+
actorId: string;
|
|
22
|
+
/**
|
|
23
|
+
* User role
|
|
24
|
+
*/
|
|
25
|
+
role: ManagedUserResponseDto.role;
|
|
26
|
+
/**
|
|
27
|
+
* Whether this user can currently sign in
|
|
28
|
+
*/
|
|
29
|
+
isActive: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Whether this user still needs to set a password
|
|
32
|
+
*/
|
|
33
|
+
passwordSetupPending: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Creation timestamp
|
|
36
|
+
*/
|
|
37
|
+
createdAt: string;
|
|
38
|
+
/**
|
|
39
|
+
* Last update timestamp
|
|
40
|
+
*/
|
|
41
|
+
updatedAt: string;
|
|
42
|
+
};
|
|
43
|
+
export declare namespace ManagedUserResponseDto {
|
|
44
|
+
/**
|
|
45
|
+
* User role
|
|
46
|
+
*/
|
|
47
|
+
enum role {
|
|
48
|
+
ADMIN = "admin",
|
|
49
|
+
STANDARD = "standard"
|
|
50
|
+
}
|
|
51
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export var ManagedUserResponseDto;
|
|
2
|
+
(function (ManagedUserResponseDto) {
|
|
3
|
+
/**
|
|
4
|
+
* User role
|
|
5
|
+
*/
|
|
6
|
+
let role;
|
|
7
|
+
(function (role) {
|
|
8
|
+
role["ADMIN"] = "admin";
|
|
9
|
+
role["STANDARD"] = "standard";
|
|
10
|
+
})(role = ManagedUserResponseDto.role || (ManagedUserResponseDto.role = {}));
|
|
11
|
+
})(ManagedUserResponseDto || (ManagedUserResponseDto = {}));
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export type SetupManagedUserRequestDto = {
|
|
2
|
+
/**
|
|
3
|
+
* Invited or reset account email address
|
|
4
|
+
*/
|
|
5
|
+
email: string;
|
|
6
|
+
/**
|
|
7
|
+
* Display name for the user
|
|
8
|
+
*/
|
|
9
|
+
displayName: string;
|
|
10
|
+
/**
|
|
11
|
+
* Slug/username for the user
|
|
12
|
+
*/
|
|
13
|
+
slug: string;
|
|
14
|
+
/**
|
|
15
|
+
* New password for the account
|
|
16
|
+
*/
|
|
17
|
+
password: string;
|
|
18
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -13,11 +13,11 @@ export type TaskListResponseDto = {
|
|
|
13
13
|
*/
|
|
14
14
|
page: number;
|
|
15
15
|
/**
|
|
16
|
-
* Number of items per page
|
|
16
|
+
* Number of items per status per page when no status filter is provided
|
|
17
17
|
*/
|
|
18
18
|
limit: number;
|
|
19
19
|
/**
|
|
20
|
-
* Total number of pages
|
|
20
|
+
* Total number of pages based on the largest matching status bucket
|
|
21
21
|
*/
|
|
22
22
|
totalPages: number;
|
|
23
23
|
};
|
|
@@ -11,6 +11,10 @@ export type UpdateExecutionStatsDto = {
|
|
|
11
11
|
* Model id used by the harness
|
|
12
12
|
*/
|
|
13
13
|
modelId?: string | null;
|
|
14
|
+
/**
|
|
15
|
+
* Taico worker package version used for this execution
|
|
16
|
+
*/
|
|
17
|
+
workerVersion?: string | null;
|
|
14
18
|
/**
|
|
15
19
|
* Input token usage when available
|
|
16
20
|
*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { CreateTagDto } from '../models/CreateTagDto.js';
|
|
2
2
|
import type { MetaTagResponseDto } from '../models/MetaTagResponseDto.js';
|
|
3
|
+
import type { VersionResponseDto } from '../models/VersionResponseDto.js';
|
|
3
4
|
import type { CancelablePromise } from '../core/CancelablePromise.js';
|
|
4
5
|
import type { OpenAPIConfig } from '../core/OpenAPI.js';
|
|
5
6
|
export declare class MetaService {
|
|
@@ -29,4 +30,10 @@ export declare class MetaService {
|
|
|
29
30
|
* @throws ApiError
|
|
30
31
|
*/
|
|
31
32
|
static metaControllerDeleteTag(tagId: string, config?: OpenAPIConfig): CancelablePromise<void>;
|
|
33
|
+
/**
|
|
34
|
+
* Get version information
|
|
35
|
+
* @returns VersionResponseDto Version information for backend and UI
|
|
36
|
+
* @throws ApiError
|
|
37
|
+
*/
|
|
38
|
+
static metaControllerGetVersion(config?: OpenAPIConfig): CancelablePromise<VersionResponseDto>;
|
|
32
39
|
}
|
|
@@ -58,4 +58,15 @@ export class MetaService {
|
|
|
58
58
|
},
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
+
/**
|
|
62
|
+
* Get version information
|
|
63
|
+
* @returns VersionResponseDto Version information for backend and UI
|
|
64
|
+
* @throws ApiError
|
|
65
|
+
*/
|
|
66
|
+
static metaControllerGetVersion(config = OpenAPI) {
|
|
67
|
+
return __request(config, {
|
|
68
|
+
method: 'GET',
|
|
69
|
+
url: '/api/v1/meta/version',
|
|
70
|
+
});
|
|
71
|
+
}
|
|
61
72
|
}
|
|
@@ -1,8 +1,13 @@
|
|
|
1
|
+
import type { AccountSetupStatusRequestDto } from '../models/AccountSetupStatusRequestDto.js';
|
|
2
|
+
import type { AccountSetupStatusResponseDto } from '../models/AccountSetupStatusResponseDto.js';
|
|
1
3
|
import type { ChangePasswordRequestDto } from '../models/ChangePasswordRequestDto.js';
|
|
4
|
+
import type { CreateManagedUserRequestDto } from '../models/CreateManagedUserRequestDto.js';
|
|
2
5
|
import type { LoginRequestDto } from '../models/LoginRequestDto.js';
|
|
3
6
|
import type { LoginResponseDto } from '../models/LoginResponseDto.js';
|
|
7
|
+
import type { ManagedUserResponseDto } from '../models/ManagedUserResponseDto.js';
|
|
4
8
|
import type { OnboardingRequestDto } from '../models/OnboardingRequestDto.js';
|
|
5
9
|
import type { OnboardingStatusResponseDto } from '../models/OnboardingStatusResponseDto.js';
|
|
10
|
+
import type { SetupManagedUserRequestDto } from '../models/SetupManagedUserRequestDto.js';
|
|
6
11
|
import type { UserResponseDto } from '../models/UserResponseDto.js';
|
|
7
12
|
import type { CancelablePromise } from '../core/CancelablePromise.js';
|
|
8
13
|
import type { OpenAPIConfig } from '../core/OpenAPI.js';
|
|
@@ -14,6 +19,47 @@ export declare class WebAuthenticationService {
|
|
|
14
19
|
* @throws ApiError
|
|
15
20
|
*/
|
|
16
21
|
static webAuthControllerLogin(requestBody: LoginRequestDto, config?: OpenAPIConfig): CancelablePromise<LoginResponseDto>;
|
|
22
|
+
/**
|
|
23
|
+
* List human users for admin user management
|
|
24
|
+
* @returns ManagedUserResponseDto
|
|
25
|
+
* @throws ApiError
|
|
26
|
+
*/
|
|
27
|
+
static webAuthControllerListUsers(config?: OpenAPIConfig): CancelablePromise<Array<ManagedUserResponseDto>>;
|
|
28
|
+
/**
|
|
29
|
+
* Create an invited human user
|
|
30
|
+
* @param requestBody
|
|
31
|
+
* @returns ManagedUserResponseDto
|
|
32
|
+
* @throws ApiError
|
|
33
|
+
*/
|
|
34
|
+
static webAuthControllerCreateUser(requestBody: CreateManagedUserRequestDto, config?: OpenAPIConfig): CancelablePromise<ManagedUserResponseDto>;
|
|
35
|
+
/**
|
|
36
|
+
* Reset a managed user password so they can set a new one
|
|
37
|
+
* @param userId
|
|
38
|
+
* @returns ManagedUserResponseDto
|
|
39
|
+
* @throws ApiError
|
|
40
|
+
*/
|
|
41
|
+
static webAuthControllerResetUserPassword(userId: string, config?: OpenAPIConfig): CancelablePromise<ManagedUserResponseDto>;
|
|
42
|
+
/**
|
|
43
|
+
* Deactivate a managed user
|
|
44
|
+
* @param userId
|
|
45
|
+
* @returns ManagedUserResponseDto
|
|
46
|
+
* @throws ApiError
|
|
47
|
+
*/
|
|
48
|
+
static webAuthControllerDeleteUser(userId: string, config?: OpenAPIConfig): CancelablePromise<ManagedUserResponseDto>;
|
|
49
|
+
/**
|
|
50
|
+
* Check whether an invited or reset account can be set up
|
|
51
|
+
* @param requestBody
|
|
52
|
+
* @returns AccountSetupStatusResponseDto
|
|
53
|
+
* @throws ApiError
|
|
54
|
+
*/
|
|
55
|
+
static webAuthControllerGetAccountSetupStatus(requestBody: AccountSetupStatusRequestDto, config?: OpenAPIConfig): CancelablePromise<AccountSetupStatusResponseDto>;
|
|
56
|
+
/**
|
|
57
|
+
* Set up an invited or reset account and log in
|
|
58
|
+
* @param requestBody
|
|
59
|
+
* @returns LoginResponseDto
|
|
60
|
+
* @throws ApiError
|
|
61
|
+
*/
|
|
62
|
+
static webAuthControllerSetupAccount(requestBody: SetupManagedUserRequestDto, config?: OpenAPIConfig): CancelablePromise<LoginResponseDto>;
|
|
17
63
|
/**
|
|
18
64
|
* Refresh access token using refresh token
|
|
19
65
|
* @returns LoginResponseDto Token refreshed successfully, new tokens set in cookies
|
|
@@ -18,6 +18,89 @@ export class WebAuthenticationService {
|
|
|
18
18
|
},
|
|
19
19
|
});
|
|
20
20
|
}
|
|
21
|
+
/**
|
|
22
|
+
* List human users for admin user management
|
|
23
|
+
* @returns ManagedUserResponseDto
|
|
24
|
+
* @throws ApiError
|
|
25
|
+
*/
|
|
26
|
+
static webAuthControllerListUsers(config = OpenAPI) {
|
|
27
|
+
return __request(config, {
|
|
28
|
+
method: 'GET',
|
|
29
|
+
url: '/api/v1/auth/users',
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Create an invited human user
|
|
34
|
+
* @param requestBody
|
|
35
|
+
* @returns ManagedUserResponseDto
|
|
36
|
+
* @throws ApiError
|
|
37
|
+
*/
|
|
38
|
+
static webAuthControllerCreateUser(requestBody, config = OpenAPI) {
|
|
39
|
+
return __request(config, {
|
|
40
|
+
method: 'POST',
|
|
41
|
+
url: '/api/v1/auth/users',
|
|
42
|
+
body: requestBody,
|
|
43
|
+
mediaType: 'application/json',
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Reset a managed user password so they can set a new one
|
|
48
|
+
* @param userId
|
|
49
|
+
* @returns ManagedUserResponseDto
|
|
50
|
+
* @throws ApiError
|
|
51
|
+
*/
|
|
52
|
+
static webAuthControllerResetUserPassword(userId, config = OpenAPI) {
|
|
53
|
+
return __request(config, {
|
|
54
|
+
method: 'POST',
|
|
55
|
+
url: '/api/v1/auth/users/{userId}/reset-password',
|
|
56
|
+
path: {
|
|
57
|
+
'userId': userId,
|
|
58
|
+
},
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Deactivate a managed user
|
|
63
|
+
* @param userId
|
|
64
|
+
* @returns ManagedUserResponseDto
|
|
65
|
+
* @throws ApiError
|
|
66
|
+
*/
|
|
67
|
+
static webAuthControllerDeleteUser(userId, config = OpenAPI) {
|
|
68
|
+
return __request(config, {
|
|
69
|
+
method: 'DELETE',
|
|
70
|
+
url: '/api/v1/auth/users/{userId}',
|
|
71
|
+
path: {
|
|
72
|
+
'userId': userId,
|
|
73
|
+
},
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Check whether an invited or reset account can be set up
|
|
78
|
+
* @param requestBody
|
|
79
|
+
* @returns AccountSetupStatusResponseDto
|
|
80
|
+
* @throws ApiError
|
|
81
|
+
*/
|
|
82
|
+
static webAuthControllerGetAccountSetupStatus(requestBody, config = OpenAPI) {
|
|
83
|
+
return __request(config, {
|
|
84
|
+
method: 'POST',
|
|
85
|
+
url: '/api/v1/auth/account-setup-status',
|
|
86
|
+
body: requestBody,
|
|
87
|
+
mediaType: 'application/json',
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* Set up an invited or reset account and log in
|
|
92
|
+
* @param requestBody
|
|
93
|
+
* @returns LoginResponseDto
|
|
94
|
+
* @throws ApiError
|
|
95
|
+
*/
|
|
96
|
+
static webAuthControllerSetupAccount(requestBody, config = OpenAPI) {
|
|
97
|
+
return __request(config, {
|
|
98
|
+
method: 'POST',
|
|
99
|
+
url: '/api/v1/auth/setup-account',
|
|
100
|
+
body: requestBody,
|
|
101
|
+
mediaType: 'application/json',
|
|
102
|
+
});
|
|
103
|
+
}
|
|
21
104
|
/**
|
|
22
105
|
* Refresh access token using refresh token
|
|
23
106
|
* @returns LoginResponseDto Token refreshed successfully, new tokens set in cookies
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BaseClient, ClientConfig } from './base-client.js';
|
|
2
|
-
import type { CreateTagDto, MetaTagResponseDto } from './types.js';
|
|
2
|
+
import type { CreateTagDto, MetaTagResponseDto, VersionResponseDto } from './types.js';
|
|
3
3
|
export declare class MetaResource extends BaseClient {
|
|
4
4
|
constructor(config: ClientConfig);
|
|
5
5
|
/** Create a new tag */
|
|
@@ -20,4 +20,8 @@ export declare class MetaResource extends BaseClient {
|
|
|
20
20
|
tagId: string;
|
|
21
21
|
signal?: AbortSignal;
|
|
22
22
|
}): Promise<void>;
|
|
23
|
+
/** Get version information */
|
|
24
|
+
MetaController_getVersion(params?: {
|
|
25
|
+
signal?: AbortSignal;
|
|
26
|
+
}): Promise<VersionResponseDto>;
|
|
23
27
|
}
|
|
@@ -19,4 +19,8 @@ export class MetaResource extends BaseClient {
|
|
|
19
19
|
async MetaController_deleteTag(params) {
|
|
20
20
|
return this.request('DELETE', `/api/v1/meta/tags/${params.tagId}`, { responseType: 'void', signal: params?.signal });
|
|
21
21
|
}
|
|
22
|
+
/** Get version information */
|
|
23
|
+
async MetaController_getVersion(params) {
|
|
24
|
+
return this.request('GET', '/api/v1/meta/version', { signal: params?.signal });
|
|
25
|
+
}
|
|
22
26
|
}
|
package/dist/src/v2/types.d.ts
CHANGED
|
@@ -8,6 +8,10 @@ export interface MetaTagResponseDto {
|
|
|
8
8
|
createdAt: string;
|
|
9
9
|
updatedAt: string;
|
|
10
10
|
}
|
|
11
|
+
export interface VersionResponseDto {
|
|
12
|
+
backend: string;
|
|
13
|
+
ui: string;
|
|
14
|
+
}
|
|
11
15
|
export interface CreateProjectDto {
|
|
12
16
|
slug: string;
|
|
13
17
|
description?: string;
|
|
@@ -154,6 +158,35 @@ export interface LoginResponseDto {
|
|
|
154
158
|
user: UserResponseDto;
|
|
155
159
|
expiresIn: number;
|
|
156
160
|
}
|
|
161
|
+
export interface ManagedUserResponseDto {
|
|
162
|
+
id: string;
|
|
163
|
+
email: string;
|
|
164
|
+
displayName: string;
|
|
165
|
+
slug: string;
|
|
166
|
+
actorId: string;
|
|
167
|
+
role: 'admin' | 'standard';
|
|
168
|
+
isActive: boolean;
|
|
169
|
+
passwordSetupPending: boolean;
|
|
170
|
+
createdAt: string;
|
|
171
|
+
updatedAt: string;
|
|
172
|
+
}
|
|
173
|
+
export interface CreateManagedUserRequestDto {
|
|
174
|
+
email: string;
|
|
175
|
+
role: 'admin' | 'standard';
|
|
176
|
+
}
|
|
177
|
+
export interface AccountSetupStatusRequestDto {
|
|
178
|
+
email: string;
|
|
179
|
+
}
|
|
180
|
+
export interface AccountSetupStatusResponseDto {
|
|
181
|
+
email: string;
|
|
182
|
+
canSetup: boolean;
|
|
183
|
+
}
|
|
184
|
+
export interface SetupManagedUserRequestDto {
|
|
185
|
+
email: string;
|
|
186
|
+
displayName: string;
|
|
187
|
+
slug: string;
|
|
188
|
+
password: string;
|
|
189
|
+
}
|
|
157
190
|
export interface ChangePasswordRequestDto {
|
|
158
191
|
currentPassword: string;
|
|
159
192
|
newPassword: string;
|
|
@@ -838,6 +871,7 @@ export interface ExecutionStatsResponseDto {
|
|
|
838
871
|
harness: string | null;
|
|
839
872
|
providerId: string | null;
|
|
840
873
|
modelId: string | null;
|
|
874
|
+
workerVersion: string | null;
|
|
841
875
|
inputTokens: number | null;
|
|
842
876
|
outputTokens: number | null;
|
|
843
877
|
totalTokens: number | null;
|
|
@@ -893,6 +927,7 @@ export interface UpdateExecutionStatsDto {
|
|
|
893
927
|
harness?: string | null;
|
|
894
928
|
providerId?: string | null;
|
|
895
929
|
modelId?: string | null;
|
|
930
|
+
workerVersion?: string | null;
|
|
896
931
|
inputTokens?: number | null;
|
|
897
932
|
outputTokens?: number | null;
|
|
898
933
|
totalTokens?: number | null;
|
|
@@ -907,6 +942,7 @@ export interface TaskExecutionHistoryListResponseDto {
|
|
|
907
942
|
export interface WorkerResponseDto {
|
|
908
943
|
id: string;
|
|
909
944
|
oauthClientId: string;
|
|
945
|
+
workerVersion: string | null;
|
|
910
946
|
lastSeenAt: string;
|
|
911
947
|
harnesses: ('claude' | 'codex' | 'opencode' | 'adk' | 'githubcopilot' | 'other')[];
|
|
912
948
|
createdAt: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BaseClient, ClientConfig } from './base-client.js';
|
|
2
|
-
import type { ChangePasswordRequestDto, LoginRequestDto, LoginResponseDto, OnboardingRequestDto, OnboardingStatusResponseDto, UserResponseDto } from './types.js';
|
|
2
|
+
import type { AccountSetupStatusRequestDto, AccountSetupStatusResponseDto, ChangePasswordRequestDto, CreateManagedUserRequestDto, LoginRequestDto, LoginResponseDto, ManagedUserResponseDto, OnboardingRequestDto, OnboardingStatusResponseDto, SetupManagedUserRequestDto, UserResponseDto } from './types.js';
|
|
3
3
|
export declare class WebAuthenticationResource extends BaseClient {
|
|
4
4
|
constructor(config: ClientConfig);
|
|
5
5
|
/** Login with email and password */
|
|
@@ -7,6 +7,35 @@ export declare class WebAuthenticationResource extends BaseClient {
|
|
|
7
7
|
body: LoginRequestDto;
|
|
8
8
|
signal?: AbortSignal;
|
|
9
9
|
}): Promise<LoginResponseDto>;
|
|
10
|
+
/** List human users for admin user management */
|
|
11
|
+
WebAuthController_listUsers(params?: {
|
|
12
|
+
signal?: AbortSignal;
|
|
13
|
+
}): Promise<ManagedUserResponseDto[]>;
|
|
14
|
+
/** Create an invited human user */
|
|
15
|
+
WebAuthController_createUser(params: {
|
|
16
|
+
body: CreateManagedUserRequestDto;
|
|
17
|
+
signal?: AbortSignal;
|
|
18
|
+
}): Promise<ManagedUserResponseDto>;
|
|
19
|
+
/** Reset a managed user password so they can set a new one */
|
|
20
|
+
WebAuthController_resetUserPassword(params: {
|
|
21
|
+
userId: string;
|
|
22
|
+
signal?: AbortSignal;
|
|
23
|
+
}): Promise<ManagedUserResponseDto>;
|
|
24
|
+
/** Deactivate a managed user */
|
|
25
|
+
WebAuthController_deleteUser(params: {
|
|
26
|
+
userId: string;
|
|
27
|
+
signal?: AbortSignal;
|
|
28
|
+
}): Promise<ManagedUserResponseDto>;
|
|
29
|
+
/** Check whether an invited or reset account can be set up */
|
|
30
|
+
WebAuthController_getAccountSetupStatus(params: {
|
|
31
|
+
body: AccountSetupStatusRequestDto;
|
|
32
|
+
signal?: AbortSignal;
|
|
33
|
+
}): Promise<AccountSetupStatusResponseDto>;
|
|
34
|
+
/** Set up an invited or reset account and log in */
|
|
35
|
+
WebAuthController_setupAccount(params: {
|
|
36
|
+
body: SetupManagedUserRequestDto;
|
|
37
|
+
signal?: AbortSignal;
|
|
38
|
+
}): Promise<LoginResponseDto>;
|
|
10
39
|
/** Refresh access token using refresh token */
|
|
11
40
|
WebAuthController_refresh(params?: {
|
|
12
41
|
signal?: AbortSignal;
|
|
@@ -7,6 +7,30 @@ export class WebAuthenticationResource extends BaseClient {
|
|
|
7
7
|
async WebAuthController_login(params) {
|
|
8
8
|
return this.request('POST', '/api/v1/auth/login', { body: params.body, signal: params?.signal });
|
|
9
9
|
}
|
|
10
|
+
/** List human users for admin user management */
|
|
11
|
+
async WebAuthController_listUsers(params) {
|
|
12
|
+
return this.request('GET', '/api/v1/auth/users', { signal: params?.signal });
|
|
13
|
+
}
|
|
14
|
+
/** Create an invited human user */
|
|
15
|
+
async WebAuthController_createUser(params) {
|
|
16
|
+
return this.request('POST', '/api/v1/auth/users', { body: params.body, signal: params?.signal });
|
|
17
|
+
}
|
|
18
|
+
/** Reset a managed user password so they can set a new one */
|
|
19
|
+
async WebAuthController_resetUserPassword(params) {
|
|
20
|
+
return this.request('POST', `/api/v1/auth/users/${params.userId}/reset-password`, { signal: params?.signal });
|
|
21
|
+
}
|
|
22
|
+
/** Deactivate a managed user */
|
|
23
|
+
async WebAuthController_deleteUser(params) {
|
|
24
|
+
return this.request('DELETE', `/api/v1/auth/users/${params.userId}`, { signal: params?.signal });
|
|
25
|
+
}
|
|
26
|
+
/** Check whether an invited or reset account can be set up */
|
|
27
|
+
async WebAuthController_getAccountSetupStatus(params) {
|
|
28
|
+
return this.request('POST', '/api/v1/auth/account-setup-status', { body: params.body, signal: params?.signal });
|
|
29
|
+
}
|
|
30
|
+
/** Set up an invited or reset account and log in */
|
|
31
|
+
async WebAuthController_setupAccount(params) {
|
|
32
|
+
return this.request('POST', '/api/v1/auth/setup-account', { body: params.body, signal: params?.signal });
|
|
33
|
+
}
|
|
10
34
|
/** Refresh access token using refresh token */
|
|
11
35
|
async WebAuthController_refresh(params) {
|
|
12
36
|
return this.request('POST', '/api/v1/auth/refresh', { signal: params?.signal });
|