@deepraxis/sdk 0.1.1-dev.a9f73d6 → 0.1.1-dev.aa440c9

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.
@@ -904,6 +904,34 @@ export declare function createAgent(transport: Transport): {
904
904
  }>;
905
905
  next_page: string | null;
906
906
  }>;
907
+ phone: {
908
+ release: (options: import("./core/transport.js").CallOptions<Types.AgentsPhoneReleaseData>) => Promise<{
909
+ object: "agent_phone";
910
+ agent_id: string;
911
+ configured: boolean;
912
+ state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing" | "online" | "offline";
913
+ sku: string | null;
914
+ byod_device: string | null;
915
+ name: string | null;
916
+ sandbox_id: string | null;
917
+ lease_ends_at: string | null;
918
+ archived_at: string | null;
919
+ archive_error: string | null;
920
+ }>;
921
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.AgentsPhoneRetrieveData>) => Promise<{
922
+ object: "agent_phone";
923
+ agent_id: string;
924
+ configured: boolean;
925
+ state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing" | "online" | "offline";
926
+ sku: string | null;
927
+ byod_device: string | null;
928
+ name: string | null;
929
+ sandbox_id: string | null;
930
+ lease_ends_at: string | null;
931
+ archived_at: string | null;
932
+ archive_error: string | null;
933
+ }>;
934
+ };
907
935
  retrieve: (options: import("./core/transport.js").CallOptions<Types.AgentsRetrieveData>) => Promise<{
908
936
  id: string;
909
937
  archived_at: null | string;
@@ -3234,6 +3262,11 @@ export declare function createAgent(transport: Transport): {
3234
3262
  vault_ids: Array<string>;
3235
3263
  deployment_id?: null | string;
3236
3264
  cwd: string;
3265
+ workspace?: {
3266
+ kind: "shared" | "isolated";
3267
+ path?: string;
3268
+ branch?: string;
3269
+ };
3237
3270
  computer_id?: string;
3238
3271
  model?: {
3239
3272
  id: string;
@@ -3294,6 +3327,11 @@ export declare function createAgent(transport: Transport): {
3294
3327
  vault_ids: Array<string>;
3295
3328
  deployment_id?: null | string;
3296
3329
  cwd: string;
3330
+ workspace?: {
3331
+ kind: "shared" | "isolated";
3332
+ path?: string;
3333
+ branch?: string;
3334
+ };
3297
3335
  computer_id?: string;
3298
3336
  model?: {
3299
3337
  id: string;
@@ -3456,6 +3494,11 @@ export declare function createAgent(transport: Transport): {
3456
3494
  vault_ids: Array<string>;
3457
3495
  deployment_id?: null | string;
3458
3496
  cwd: string;
3497
+ workspace?: {
3498
+ kind: "shared" | "isolated";
3499
+ path?: string;
3500
+ branch?: string;
3501
+ };
3459
3502
  computer_id?: string;
3460
3503
  model?: {
3461
3504
  id: string;
@@ -4242,6 +4285,11 @@ export declare function createAgent(transport: Transport): {
4242
4285
  vault_ids: Array<string>;
4243
4286
  deployment_id?: null | string;
4244
4287
  cwd: string;
4288
+ workspace?: {
4289
+ kind: "shared" | "isolated";
4290
+ path?: string;
4291
+ branch?: string;
4292
+ };
4245
4293
  computer_id?: string;
4246
4294
  model?: {
4247
4295
  id: string;
@@ -4302,6 +4350,11 @@ export declare function createAgent(transport: Transport): {
4302
4350
  vault_ids: Array<string>;
4303
4351
  deployment_id?: null | string;
4304
4352
  cwd: string;
4353
+ workspace?: {
4354
+ kind: "shared" | "isolated";
4355
+ path?: string;
4356
+ branch?: string;
4357
+ };
4305
4358
  computer_id?: string;
4306
4359
  model?: {
4307
4360
  id: string;
@@ -4835,6 +4888,11 @@ export declare function createAgent(transport: Transport): {
4835
4888
  vault_ids: Array<string>;
4836
4889
  deployment_id?: null | string;
4837
4890
  cwd: string;
4891
+ workspace?: {
4892
+ kind: "shared" | "isolated";
4893
+ path?: string;
4894
+ branch?: string;
4895
+ };
4838
4896
  computer_id?: string;
4839
4897
  model?: {
4840
4898
  id: string;
@@ -4926,6 +4984,11 @@ export declare function createAgent(transport: Transport): {
4926
4984
  vault_ids: Array<string>;
4927
4985
  deployment_id?: null | string;
4928
4986
  cwd: string;
4987
+ workspace?: {
4988
+ kind: "shared" | "isolated";
4989
+ path?: string;
4990
+ branch?: string;
4991
+ };
4929
4992
  computer_id?: string;
4930
4993
  model?: {
4931
4994
  id: string;
@@ -5292,6 +5355,11 @@ export declare function createAgent(transport: Transport): {
5292
5355
  vault_ids: Array<string>;
5293
5356
  deployment_id?: null | string;
5294
5357
  cwd: string;
5358
+ workspace?: {
5359
+ kind: "shared" | "isolated";
5360
+ path?: string;
5361
+ branch?: string;
5362
+ };
5295
5363
  computer_id?: string;
5296
5364
  model?: {
5297
5365
  id: string;
@@ -5643,6 +5711,11 @@ export declare function createAutomation(transport: Transport): {
5643
5711
  };
5644
5712
  };
5645
5713
  };
5714
+ export declare function createBilling(transport: Transport): {
5715
+ prices: {
5716
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListPublicPricesData> | undefined) => Promise<Types.BillingPriceList>;
5717
+ };
5718
+ };
5646
5719
  export declare function createBrowser(transport: Transport): {
5647
5720
  connect: {
5648
5721
  retrieve: (options?: import("./core/transport.js").CallOptions<Types.BrowserConnectData> | undefined) => Promise<unknown>;
@@ -6089,6 +6162,7 @@ export declare function createDevops(transport: Transport): {
6089
6162
  };
6090
6163
  };
6091
6164
  pullRequests: {
6165
+ close: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsCloseData>) => Promise<Types.DevopsPullRequest>;
6092
6166
  merge: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsMergeData>) => Promise<Types.DevopsPullRequest>;
6093
6167
  recordVerdict: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRecordVerdictData>) => Promise<Types.DevopsPullRequest>;
6094
6168
  rerunGate: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRerunGateData>) => Promise<Types.DevopsPullRequest>;
@@ -7363,6 +7437,26 @@ export declare function createSandbox(transport: Transport): {
7363
7437
  };
7364
7438
  };
7365
7439
  sandboxes: {
7440
+ act: (options: import("./core/transport.js").CallOptions<Types.ActOnSandboxDisplayData>) => Promise<{
7441
+ type: "snapshot";
7442
+ snapshot: string;
7443
+ refs: number;
7444
+ truncated: boolean;
7445
+ package: string;
7446
+ } | {
7447
+ type: "screenshot";
7448
+ mediaType: string;
7449
+ data: string;
7450
+ width: number;
7451
+ height: number;
7452
+ bytes: number;
7453
+ } | {
7454
+ type: "ok";
7455
+ ms?: number;
7456
+ } | {
7457
+ type: "wait";
7458
+ ms: number;
7459
+ }>;
7366
7460
  commands: {
7367
7461
  run: (options: import("./core/transport.js").CallOptions<Types.RunSandboxCommandData>) => Promise<{
7368
7462
  stdout: string;
@@ -7891,6 +7985,7 @@ export declare const resourceFactories: {
7891
7985
  agent: typeof createAgent;
7892
7986
  application: typeof createApplication;
7893
7987
  automation: typeof createAutomation;
7988
+ billing: typeof createBilling;
7894
7989
  browser: typeof createBrowser;
7895
7990
  canvas: typeof createCanvas;
7896
7991
  content: typeof createContent;
@@ -37,6 +37,10 @@ export function createAgent(transport) {
37
37
  },
38
38
  },
39
39
  list: bind(transport, sdk.agentsList),
40
+ phone: {
41
+ release: bind(transport, sdk.agentsPhoneRelease),
42
+ retrieve: bind(transport, sdk.agentsPhoneRetrieve),
43
+ },
40
44
  retrieve: bind(transport, sdk.agentsRetrieve),
41
45
  retrieveAppearance: bind(transport, sdk.getAgentAppearance),
42
46
  retrieveEmbedPolicy: bind(transport, sdk.getAgentEmbedPolicy),
@@ -373,6 +377,13 @@ export function createAutomation(transport) {
373
377
  },
374
378
  };
375
379
  }
380
+ export function createBilling(transport) {
381
+ return {
382
+ prices: {
383
+ list: bind(transport, sdk.listPublicPrices),
384
+ },
385
+ };
386
+ }
376
387
  export function createBrowser(transport) {
377
388
  return {
378
389
  connect: {
@@ -769,6 +780,7 @@ export function createDevops(transport) {
769
780
  },
770
781
  },
771
782
  pullRequests: {
783
+ close: bind(transport, sdk.devopsPullRequestsClose),
772
784
  merge: bind(transport, sdk.devopsPullRequestsMerge),
773
785
  recordVerdict: bind(transport, sdk.devopsPullRequestsRecordVerdict),
774
786
  rerunGate: bind(transport, sdk.devopsPullRequestsRerunGate),
@@ -1324,6 +1336,7 @@ export function createSandbox(transport) {
1324
1336
  },
1325
1337
  },
1326
1338
  sandboxes: {
1339
+ act: bind(transport, sdk.actOnSandboxDisplay),
1327
1340
  commands: {
1328
1341
  run: bind(transport, sdk.runSandboxCommand),
1329
1342
  },
@@ -1679,6 +1692,7 @@ export const resourceFactories = {
1679
1692
  agent: createAgent,
1680
1693
  application: createApplication,
1681
1694
  automation: createAutomation,
1695
+ billing: createBilling,
1682
1696
  browser: createBrowser,
1683
1697
  canvas: createCanvas,
1684
1698
  content: createContent,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deepraxis/sdk",
3
- "version": "0.1.1-dev.a9f73d6",
3
+ "version": "0.1.1-dev.aa440c9",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "exports": {