@deepraxis/sdk 0.1.0 → 0.1.1
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/METHODS.md +20 -1
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +105 -73
- package/dist/generated/sdk.gen.js +105 -26
- package/dist/generated/types.gen.d.ts +3266 -598
- package/dist/operations.generated.d.ts +623 -59
- package/dist/operations.generated.js +1077 -498
- package/dist/resources.generated.d.ts +70 -15
- package/dist/resources.generated.js +14 -0
- package/package.json +1 -1
|
@@ -11,7 +11,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
11
11
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
12
12
|
metadata: Types.AgentManaged37;
|
|
13
13
|
model: {
|
|
14
|
-
id:
|
|
14
|
+
id: string;
|
|
15
15
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
16
16
|
inference_geo?: string;
|
|
17
17
|
speed?: "standard" | "fast";
|
|
@@ -153,6 +153,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
153
153
|
allowed: Array<string>;
|
|
154
154
|
};
|
|
155
155
|
avatar: string | null;
|
|
156
|
+
creation_source: string | null;
|
|
157
|
+
identity_number: string | null;
|
|
156
158
|
environment_id?: string | null;
|
|
157
159
|
vault_ids?: Array<string>;
|
|
158
160
|
status: "active" | "archived";
|
|
@@ -165,7 +167,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
165
167
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
166
168
|
metadata: Types.AgentManaged37;
|
|
167
169
|
model: {
|
|
168
|
-
id:
|
|
170
|
+
id: string;
|
|
169
171
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
170
172
|
inference_geo?: string;
|
|
171
173
|
speed?: "standard" | "fast";
|
|
@@ -307,10 +309,50 @@ export declare function createAgent(transport: Transport): {
|
|
|
307
309
|
allowed: Array<string>;
|
|
308
310
|
};
|
|
309
311
|
avatar: string | null;
|
|
312
|
+
creation_source: string | null;
|
|
313
|
+
identity_number: string | null;
|
|
310
314
|
environment_id?: string | null;
|
|
311
315
|
vault_ids?: Array<string>;
|
|
312
316
|
status: "active" | "archived";
|
|
313
317
|
}>;
|
|
318
|
+
customers: {
|
|
319
|
+
auth: {
|
|
320
|
+
accessTokens: {
|
|
321
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateCustomerAccessTokenData>) => Promise<{
|
|
322
|
+
type: "customer_access_token";
|
|
323
|
+
access_token: string;
|
|
324
|
+
expires_at: string;
|
|
325
|
+
session_expires_at: string;
|
|
326
|
+
customer: {
|
|
327
|
+
id: string;
|
|
328
|
+
type: "identified" | "anonymous";
|
|
329
|
+
};
|
|
330
|
+
}>;
|
|
331
|
+
deleteCurrent: (options: import("./core/transport.js").CallOptions<Types.DeleteCurrentCustomerAccessTokenData>) => Promise<void>;
|
|
332
|
+
renew: {
|
|
333
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RenewCustomerAccessTokenData>) => Promise<{
|
|
334
|
+
type: "customer_access_token";
|
|
335
|
+
access_token: string;
|
|
336
|
+
expires_at: string;
|
|
337
|
+
session_expires_at: string;
|
|
338
|
+
customer: {
|
|
339
|
+
id: string;
|
|
340
|
+
type: "identified" | "anonymous";
|
|
341
|
+
};
|
|
342
|
+
}>;
|
|
343
|
+
};
|
|
344
|
+
};
|
|
345
|
+
grantCodes: {
|
|
346
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateCustomerGrantCodeData>) => Promise<{
|
|
347
|
+
type: "customer_grant_code";
|
|
348
|
+
code: string;
|
|
349
|
+
customer_id: string;
|
|
350
|
+
expires_at: string;
|
|
351
|
+
hosted_url?: string;
|
|
352
|
+
}>;
|
|
353
|
+
};
|
|
354
|
+
};
|
|
355
|
+
};
|
|
314
356
|
endUsers: {
|
|
315
357
|
block: {
|
|
316
358
|
create: (options: import("./core/transport.js").CallOptions<Types.BlockEndUserData>) => Promise<{
|
|
@@ -392,7 +434,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
392
434
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
393
435
|
metadata: Types.AgentManaged37;
|
|
394
436
|
model: {
|
|
395
|
-
id:
|
|
437
|
+
id: string;
|
|
396
438
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
397
439
|
inference_geo?: string;
|
|
398
440
|
speed?: "standard" | "fast";
|
|
@@ -534,6 +576,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
534
576
|
allowed: Array<string>;
|
|
535
577
|
};
|
|
536
578
|
avatar: string | null;
|
|
579
|
+
creation_source: string | null;
|
|
580
|
+
identity_number: string | null;
|
|
537
581
|
environment_id?: string | null;
|
|
538
582
|
vault_ids?: Array<string>;
|
|
539
583
|
status: "active" | "archived";
|
|
@@ -548,7 +592,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
548
592
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
549
593
|
metadata: Types.AgentManaged37;
|
|
550
594
|
model: {
|
|
551
|
-
id:
|
|
595
|
+
id: string;
|
|
552
596
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
553
597
|
inference_geo?: string;
|
|
554
598
|
speed?: "standard" | "fast";
|
|
@@ -690,6 +734,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
690
734
|
allowed: Array<string>;
|
|
691
735
|
};
|
|
692
736
|
avatar: string | null;
|
|
737
|
+
creation_source: string | null;
|
|
738
|
+
identity_number: string | null;
|
|
693
739
|
environment_id?: string | null;
|
|
694
740
|
vault_ids?: Array<string>;
|
|
695
741
|
status: "active" | "archived";
|
|
@@ -730,7 +776,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
730
776
|
[key: string]: string;
|
|
731
777
|
};
|
|
732
778
|
model: {
|
|
733
|
-
id:
|
|
779
|
+
id: string;
|
|
734
780
|
effort?: {
|
|
735
781
|
type: "low";
|
|
736
782
|
} | {
|
|
@@ -1047,6 +1093,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
1047
1093
|
allowed: Array<string>;
|
|
1048
1094
|
};
|
|
1049
1095
|
avatar: string | null;
|
|
1096
|
+
creation_source: string | null;
|
|
1097
|
+
identity_number: string | null;
|
|
1050
1098
|
environment_id?: string | null;
|
|
1051
1099
|
vault_ids?: Array<string>;
|
|
1052
1100
|
status: "active" | "archived";
|
|
@@ -1060,7 +1108,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1060
1108
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
1061
1109
|
metadata: Types.AgentManaged37;
|
|
1062
1110
|
model: {
|
|
1063
|
-
id:
|
|
1111
|
+
id: string;
|
|
1064
1112
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
1065
1113
|
inference_geo?: string;
|
|
1066
1114
|
speed?: "standard" | "fast";
|
|
@@ -1202,6 +1250,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
1202
1250
|
allowed: Array<string>;
|
|
1203
1251
|
};
|
|
1204
1252
|
avatar: string | null;
|
|
1253
|
+
creation_source: string | null;
|
|
1254
|
+
identity_number: string | null;
|
|
1205
1255
|
environment_id?: string | null;
|
|
1206
1256
|
vault_ids?: Array<string>;
|
|
1207
1257
|
status: "active" | "archived";
|
|
@@ -1242,7 +1292,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1242
1292
|
[key: string]: string;
|
|
1243
1293
|
};
|
|
1244
1294
|
model: {
|
|
1245
|
-
id:
|
|
1295
|
+
id: string;
|
|
1246
1296
|
effort?: {
|
|
1247
1297
|
type: "low";
|
|
1248
1298
|
} | {
|
|
@@ -1559,6 +1609,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
1559
1609
|
allowed: Array<string>;
|
|
1560
1610
|
};
|
|
1561
1611
|
avatar: string | null;
|
|
1612
|
+
creation_source: string | null;
|
|
1613
|
+
identity_number: string | null;
|
|
1562
1614
|
environment_id?: string | null;
|
|
1563
1615
|
vault_ids?: Array<string>;
|
|
1564
1616
|
status: "active" | "archived";
|
|
@@ -1572,7 +1624,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1572
1624
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
1573
1625
|
metadata: Types.AgentManaged37;
|
|
1574
1626
|
model: {
|
|
1575
|
-
id:
|
|
1627
|
+
id: string;
|
|
1576
1628
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
1577
1629
|
inference_geo?: string;
|
|
1578
1630
|
speed?: "standard" | "fast";
|
|
@@ -1589,6 +1641,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1589
1641
|
updated_at: string;
|
|
1590
1642
|
version: number;
|
|
1591
1643
|
active_version: number;
|
|
1644
|
+
active: boolean;
|
|
1592
1645
|
created_by: {
|
|
1593
1646
|
type: "user";
|
|
1594
1647
|
id: string;
|
|
@@ -1714,6 +1767,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
1714
1767
|
allowed: Array<string>;
|
|
1715
1768
|
};
|
|
1716
1769
|
avatar: string | null;
|
|
1770
|
+
creation_source: string | null;
|
|
1771
|
+
identity_number: string | null;
|
|
1717
1772
|
environment_id?: string | null;
|
|
1718
1773
|
vault_ids?: Array<string>;
|
|
1719
1774
|
status: "active" | "archived";
|
|
@@ -2255,7 +2310,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2255
2310
|
description: null | string;
|
|
2256
2311
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
2257
2312
|
model: {
|
|
2258
|
-
id:
|
|
2313
|
+
id: string;
|
|
2259
2314
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
2260
2315
|
inference_geo?: string;
|
|
2261
2316
|
speed?: "standard" | "fast";
|
|
@@ -2376,7 +2431,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2376
2431
|
description: null | string;
|
|
2377
2432
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
2378
2433
|
model: {
|
|
2379
|
-
id:
|
|
2434
|
+
id: string;
|
|
2380
2435
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
2381
2436
|
inference_geo?: string;
|
|
2382
2437
|
speed?: "standard" | "fast";
|
|
@@ -2688,7 +2743,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2688
2743
|
timeout_ms?: number;
|
|
2689
2744
|
}>;
|
|
2690
2745
|
model: {
|
|
2691
|
-
id:
|
|
2746
|
+
id: string;
|
|
2692
2747
|
effort?: {
|
|
2693
2748
|
type: "low";
|
|
2694
2749
|
} | {
|
|
@@ -2740,7 +2795,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2740
2795
|
timeout_ms?: number;
|
|
2741
2796
|
}>;
|
|
2742
2797
|
model: {
|
|
2743
|
-
id:
|
|
2798
|
+
id: string;
|
|
2744
2799
|
effort?: {
|
|
2745
2800
|
type: "low";
|
|
2746
2801
|
} | {
|
|
@@ -3189,7 +3244,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
3189
3244
|
description: null | string;
|
|
3190
3245
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
3191
3246
|
model: {
|
|
3192
|
-
id:
|
|
3247
|
+
id: string;
|
|
3193
3248
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
3194
3249
|
inference_geo?: string;
|
|
3195
3250
|
speed?: "standard" | "fast";
|
|
@@ -3266,7 +3321,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
3266
3321
|
description: null | string;
|
|
3267
3322
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
3268
3323
|
model: {
|
|
3269
|
-
id:
|
|
3324
|
+
id: string;
|
|
3270
3325
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
3271
3326
|
inference_geo?: string;
|
|
3272
3327
|
speed?: "standard" | "fast";
|
|
@@ -3604,7 +3659,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
3604
3659
|
description: null | string;
|
|
3605
3660
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
3606
3661
|
model: {
|
|
3607
|
-
id:
|
|
3662
|
+
id: string;
|
|
3608
3663
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
3609
3664
|
inference_geo?: string;
|
|
3610
3665
|
speed?: "standard" | "fast";
|
|
@@ -7,6 +7,20 @@ export function createAgent(transport) {
|
|
|
7
7
|
agents: {
|
|
8
8
|
archive: bind(transport, sdk.agentsArchive),
|
|
9
9
|
create: bind(transport, sdk.agentsCreate),
|
|
10
|
+
customers: {
|
|
11
|
+
auth: {
|
|
12
|
+
accessTokens: {
|
|
13
|
+
create: bind(transport, sdk.createCustomerAccessToken),
|
|
14
|
+
deleteCurrent: bind(transport, sdk.deleteCurrentCustomerAccessToken),
|
|
15
|
+
renew: {
|
|
16
|
+
create: bind(transport, sdk.renewCustomerAccessToken),
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
grantCodes: {
|
|
20
|
+
create: bind(transport, sdk.createCustomerGrantCode),
|
|
21
|
+
},
|
|
22
|
+
},
|
|
23
|
+
},
|
|
10
24
|
endUsers: {
|
|
11
25
|
block: {
|
|
12
26
|
create: bind(transport, sdk.blockEndUser),
|