@deepraxis/sdk 0.1.1-dev.1048c59 → 0.1.1-dev.10da273
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 +69 -1
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +121 -13
- package/dist/generated/sdk.gen.js +361 -12
- package/dist/generated/types.gen.d.ts +1382 -306
- package/dist/operations.generated.js +530 -16
- package/dist/resources.generated.d.ts +100 -62
- package/dist/resources.generated.js +40 -0
- package/package.json +1 -1
|
@@ -657,21 +657,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
657
657
|
type: "user.steer";
|
|
658
658
|
event_id: string;
|
|
659
659
|
processed_at: string;
|
|
660
|
-
} | {
|
|
661
|
-
id: string;
|
|
662
|
-
type: "user.tool_confirmation";
|
|
663
|
-
processed_at: string;
|
|
664
|
-
tool_use_id: string;
|
|
665
|
-
result: "allow";
|
|
666
|
-
answers: {
|
|
667
|
-
[key: string]: string;
|
|
668
|
-
};
|
|
669
|
-
annotations?: {
|
|
670
|
-
[key: string]: {
|
|
671
|
-
preview?: string;
|
|
672
|
-
notes?: string;
|
|
673
|
-
};
|
|
674
|
-
};
|
|
675
660
|
}>;
|
|
676
661
|
next_page: string | null;
|
|
677
662
|
}>;
|
|
@@ -692,21 +677,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
692
677
|
type: "user.steer";
|
|
693
678
|
event_id: string;
|
|
694
679
|
processed_at: string;
|
|
695
|
-
} | {
|
|
696
|
-
id: string;
|
|
697
|
-
type: "user.tool_confirmation";
|
|
698
|
-
processed_at: string;
|
|
699
|
-
tool_use_id: string;
|
|
700
|
-
result: "allow";
|
|
701
|
-
answers: {
|
|
702
|
-
[key: string]: string;
|
|
703
|
-
};
|
|
704
|
-
annotations?: {
|
|
705
|
-
[key: string]: {
|
|
706
|
-
preview?: string;
|
|
707
|
-
notes?: string;
|
|
708
|
-
};
|
|
709
|
-
};
|
|
710
680
|
}>;
|
|
711
681
|
}>;
|
|
712
682
|
stream: (options: import("./core/transport.js").StreamOptions<Types.StreamAgentEventsData>) => AsyncIterable<Types.AgentSseEvent>;
|
|
@@ -909,8 +879,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
909
879
|
object: "agent_phone";
|
|
910
880
|
agent_id: string;
|
|
911
881
|
configured: boolean;
|
|
912
|
-
state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing";
|
|
882
|
+
state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing" | "online" | "offline";
|
|
913
883
|
sku: string | null;
|
|
884
|
+
byod_device: string | null;
|
|
914
885
|
name: string | null;
|
|
915
886
|
sandbox_id: string | null;
|
|
916
887
|
lease_ends_at: string | null;
|
|
@@ -921,8 +892,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
921
892
|
object: "agent_phone";
|
|
922
893
|
agent_id: string;
|
|
923
894
|
configured: boolean;
|
|
924
|
-
state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing";
|
|
895
|
+
state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing" | "online" | "offline";
|
|
925
896
|
sku: string | null;
|
|
897
|
+
byod_device: string | null;
|
|
926
898
|
name: string | null;
|
|
927
899
|
sandbox_id: string | null;
|
|
928
900
|
lease_ends_at: string | null;
|
|
@@ -3718,21 +3690,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
3718
3690
|
type: "user.steer";
|
|
3719
3691
|
event_id: string;
|
|
3720
3692
|
processed_at: string;
|
|
3721
|
-
} | {
|
|
3722
|
-
id: string;
|
|
3723
|
-
type: "user.tool_confirmation";
|
|
3724
|
-
processed_at: string;
|
|
3725
|
-
tool_use_id: string;
|
|
3726
|
-
result: "allow";
|
|
3727
|
-
answers: {
|
|
3728
|
-
[key: string]: string;
|
|
3729
|
-
};
|
|
3730
|
-
annotations?: {
|
|
3731
|
-
[key: string]: {
|
|
3732
|
-
preview?: string;
|
|
3733
|
-
notes?: string;
|
|
3734
|
-
};
|
|
3735
|
-
};
|
|
3736
3693
|
}>;
|
|
3737
3694
|
next_page: string | null;
|
|
3738
3695
|
}>;
|
|
@@ -3753,21 +3710,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
3753
3710
|
type: "user.steer";
|
|
3754
3711
|
event_id: string;
|
|
3755
3712
|
processed_at: string;
|
|
3756
|
-
} | {
|
|
3757
|
-
id: string;
|
|
3758
|
-
type: "user.tool_confirmation";
|
|
3759
|
-
processed_at: string;
|
|
3760
|
-
tool_use_id: string;
|
|
3761
|
-
result: "allow";
|
|
3762
|
-
answers: {
|
|
3763
|
-
[key: string]: string;
|
|
3764
|
-
};
|
|
3765
|
-
annotations?: {
|
|
3766
|
-
[key: string]: {
|
|
3767
|
-
preview?: string;
|
|
3768
|
-
notes?: string;
|
|
3769
|
-
};
|
|
3770
|
-
};
|
|
3771
3713
|
}>;
|
|
3772
3714
|
}>;
|
|
3773
3715
|
stream: (options: import("./core/transport.js").StreamOptions<Types.SessionsEventsStreamData>) => AsyncIterable<Types.AgentSseEvent>;
|
|
@@ -7075,6 +7017,9 @@ export declare function createOrganization(transport: Transport): {
|
|
|
7075
7017
|
update: (options: import("./core/transport.js").CallOptions<Types.ReorganizeOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
|
|
7076
7018
|
updateCharter: (options: import("./core/transport.js").CallOptions<Types.AmendOrganizationDepartmentCharterData>) => Promise<Types.OrganizationDepartment>;
|
|
7077
7019
|
};
|
|
7020
|
+
effectiveSpec: {
|
|
7021
|
+
retrieve: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationEffectiveSpecData> | undefined) => Promise<Types.OrganizationEffectiveSpec>;
|
|
7022
|
+
};
|
|
7078
7023
|
events: {
|
|
7079
7024
|
list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationEventsData>) => Promise<{
|
|
7080
7025
|
object: "page";
|
|
@@ -7357,6 +7302,26 @@ export declare function createOrganization(transport: Transport): {
|
|
|
7357
7302
|
updateLevel: (options: import("./core/transport.js").CallOptions<Types.RegradeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
|
|
7358
7303
|
updateManager: (options: import("./core/transport.js").CallOptions<Types.ReassignOrganizationPositionManagerData>) => Promise<Types.OrganizationPosition>;
|
|
7359
7304
|
};
|
|
7305
|
+
reconcile: {
|
|
7306
|
+
pause: (options: import("./core/transport.js").CallOptions<Types.PauseOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
|
|
7307
|
+
resume: (options: import("./core/transport.js").CallOptions<Types.ResumeOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
|
|
7308
|
+
retrievePlan: (options: import("./core/transport.js").CallOptions<Types.PlanOrganizationReconcileData>) => Promise<Types.OrganizationReconcilePlan>;
|
|
7309
|
+
run: {
|
|
7310
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RunOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
|
|
7311
|
+
};
|
|
7312
|
+
status: {
|
|
7313
|
+
list: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationReconcileStatusData>) => Promise<Types.OrganizationReconcileStatus>;
|
|
7314
|
+
};
|
|
7315
|
+
};
|
|
7316
|
+
specs: {
|
|
7317
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationSpecsData> | undefined) => Promise<Types.OrganizationSpecList>;
|
|
7318
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationSpecData>) => Promise<Types.OrganizationSpec>;
|
|
7319
|
+
retrieveDiff: (options: import("./core/transport.js").CallOptions<Types.DiffOrganizationSpecData>) => Promise<Types.OrganizationSpecDiff>;
|
|
7320
|
+
revisions: {
|
|
7321
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationSpecRevisionsData>) => Promise<Types.OrganizationSpecRevisionList>;
|
|
7322
|
+
};
|
|
7323
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationSpecData>) => Promise<Types.OrganizationSpec>;
|
|
7324
|
+
};
|
|
7360
7325
|
usage: {
|
|
7361
7326
|
list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationUsageData>) => Promise<{
|
|
7362
7327
|
object: "page";
|
|
@@ -7429,6 +7394,79 @@ export declare function createRegistry(transport: Transport): {
|
|
|
7429
7394
|
};
|
|
7430
7395
|
};
|
|
7431
7396
|
export declare function createSandbox(transport: Transport): {
|
|
7397
|
+
byod: {
|
|
7398
|
+
devices: {
|
|
7399
|
+
disconnect: {
|
|
7400
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DisconnectByodDeviceData>) => Promise<{
|
|
7401
|
+
id: string;
|
|
7402
|
+
object: "byod_device";
|
|
7403
|
+
disconnected: true;
|
|
7404
|
+
}>;
|
|
7405
|
+
};
|
|
7406
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListByodDevicesData> | undefined) => Promise<{
|
|
7407
|
+
data: Array<{
|
|
7408
|
+
object: "byod_device";
|
|
7409
|
+
id: string;
|
|
7410
|
+
platform: "android" | "macos" | "linux";
|
|
7411
|
+
name: string;
|
|
7412
|
+
model: string;
|
|
7413
|
+
os_version: string;
|
|
7414
|
+
online: boolean;
|
|
7415
|
+
last_seen_at: string | null;
|
|
7416
|
+
created_at: string;
|
|
7417
|
+
capabilities: Array<"display" | "agent">;
|
|
7418
|
+
agent_dirs: Array<string>;
|
|
7419
|
+
allow_bypass: boolean;
|
|
7420
|
+
}>;
|
|
7421
|
+
}>;
|
|
7422
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodDeviceData>) => Promise<{
|
|
7423
|
+
object: "byod_device";
|
|
7424
|
+
id: string;
|
|
7425
|
+
platform: "android" | "macos" | "linux";
|
|
7426
|
+
name: string;
|
|
7427
|
+
model: string;
|
|
7428
|
+
os_version: string;
|
|
7429
|
+
online: boolean;
|
|
7430
|
+
last_seen_at: string | null;
|
|
7431
|
+
created_at: string;
|
|
7432
|
+
capabilities: Array<"display" | "agent">;
|
|
7433
|
+
agent_dirs: Array<string>;
|
|
7434
|
+
allow_bypass: boolean;
|
|
7435
|
+
}>;
|
|
7436
|
+
update: (options: import("./core/transport.js").CallOptions<Types.UpdateByodDeviceData>) => Promise<{
|
|
7437
|
+
object: "byod_device";
|
|
7438
|
+
id: string;
|
|
7439
|
+
platform: "android" | "macos" | "linux";
|
|
7440
|
+
name: string;
|
|
7441
|
+
model: string;
|
|
7442
|
+
os_version: string;
|
|
7443
|
+
online: boolean;
|
|
7444
|
+
last_seen_at: string | null;
|
|
7445
|
+
created_at: string;
|
|
7446
|
+
capabilities: Array<"display" | "agent">;
|
|
7447
|
+
agent_dirs: Array<string>;
|
|
7448
|
+
allow_bypass: boolean;
|
|
7449
|
+
}>;
|
|
7450
|
+
};
|
|
7451
|
+
pairings: {
|
|
7452
|
+
claim: {
|
|
7453
|
+
create: (options: import("./core/transport.js").CallOptions<Types.ClaimByodPairingData>) => Promise<{
|
|
7454
|
+
device_id: string;
|
|
7455
|
+
credential: string;
|
|
7456
|
+
socket_url: string;
|
|
7457
|
+
}>;
|
|
7458
|
+
};
|
|
7459
|
+
create: (options?: import("./core/transport.js").CallOptions<Types.CreateByodPairingData> | undefined) => Promise<{
|
|
7460
|
+
code: string;
|
|
7461
|
+
expires_at: string;
|
|
7462
|
+
qr: string;
|
|
7463
|
+
}>;
|
|
7464
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodPairingData>) => Promise<{
|
|
7465
|
+
organization_name: string;
|
|
7466
|
+
expires_at: string;
|
|
7467
|
+
}>;
|
|
7468
|
+
};
|
|
7469
|
+
};
|
|
7432
7470
|
events: {
|
|
7433
7471
|
sandboxes: {
|
|
7434
7472
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetSandboxEventsData>) => Promise<Types.SandboxSandboxEvent[]>;
|
|
@@ -1187,6 +1187,9 @@ export function createOrganization(transport) {
|
|
|
1187
1187
|
update: bind(transport, sdk.reorganizeOrganizationDepartment),
|
|
1188
1188
|
updateCharter: bind(transport, sdk.amendOrganizationDepartmentCharter),
|
|
1189
1189
|
},
|
|
1190
|
+
effectiveSpec: {
|
|
1191
|
+
retrieve: bind(transport, sdk.getOrganizationEffectiveSpec),
|
|
1192
|
+
},
|
|
1190
1193
|
events: {
|
|
1191
1194
|
list: bind(transport, sdk.listOrganizationEvents),
|
|
1192
1195
|
retrieve: bind(transport, sdk.getOrganizationEvent),
|
|
@@ -1273,6 +1276,26 @@ export function createOrganization(transport) {
|
|
|
1273
1276
|
updateLevel: bind(transport, sdk.regradeOrganizationPosition),
|
|
1274
1277
|
updateManager: bind(transport, sdk.reassignOrganizationPositionManager),
|
|
1275
1278
|
},
|
|
1279
|
+
reconcile: {
|
|
1280
|
+
pause: bind(transport, sdk.pauseOrganizationReconcile),
|
|
1281
|
+
resume: bind(transport, sdk.resumeOrganizationReconcile),
|
|
1282
|
+
retrievePlan: bind(transport, sdk.planOrganizationReconcile),
|
|
1283
|
+
run: {
|
|
1284
|
+
create: bind(transport, sdk.runOrganizationReconcile),
|
|
1285
|
+
},
|
|
1286
|
+
status: {
|
|
1287
|
+
list: bind(transport, sdk.getOrganizationReconcileStatus),
|
|
1288
|
+
},
|
|
1289
|
+
},
|
|
1290
|
+
specs: {
|
|
1291
|
+
list: bind(transport, sdk.listOrganizationSpecs),
|
|
1292
|
+
retrieve: bind(transport, sdk.getOrganizationSpec),
|
|
1293
|
+
retrieveDiff: bind(transport, sdk.diffOrganizationSpec),
|
|
1294
|
+
revisions: {
|
|
1295
|
+
list: bind(transport, sdk.listOrganizationSpecRevisions),
|
|
1296
|
+
},
|
|
1297
|
+
update: bind(transport, sdk.reviseOrganizationSpec),
|
|
1298
|
+
},
|
|
1276
1299
|
usage: {
|
|
1277
1300
|
list: bind(transport, sdk.listOrganizationUsage),
|
|
1278
1301
|
},
|
|
@@ -1330,6 +1353,23 @@ export function createRegistry(transport) {
|
|
|
1330
1353
|
}
|
|
1331
1354
|
export function createSandbox(transport) {
|
|
1332
1355
|
return {
|
|
1356
|
+
byod: {
|
|
1357
|
+
devices: {
|
|
1358
|
+
disconnect: {
|
|
1359
|
+
create: bind(transport, sdk.disconnectByodDevice),
|
|
1360
|
+
},
|
|
1361
|
+
list: bind(transport, sdk.listByodDevices),
|
|
1362
|
+
retrieve: bind(transport, sdk.getByodDevice),
|
|
1363
|
+
update: bind(transport, sdk.updateByodDevice),
|
|
1364
|
+
},
|
|
1365
|
+
pairings: {
|
|
1366
|
+
claim: {
|
|
1367
|
+
create: bind(transport, sdk.claimByodPairing),
|
|
1368
|
+
},
|
|
1369
|
+
create: bind(transport, sdk.createByodPairing),
|
|
1370
|
+
retrieve: bind(transport, sdk.getByodPairing),
|
|
1371
|
+
},
|
|
1372
|
+
},
|
|
1333
1373
|
events: {
|
|
1334
1374
|
sandboxes: {
|
|
1335
1375
|
retrieve: bind(transport, sdk.getSandboxEvents),
|