@deepraxis/sdk 0.2.0-dev.2fd72e1 → 0.2.0-dev.4128f2c
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 +61 -1
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +136 -16
- package/dist/generated/sdk.gen.js +334 -15
- package/dist/generated/types.gen.d.ts +3284 -618
- package/dist/helpers/browser-actions.d.ts +2 -0
- package/dist/helpers/browser-actions.js +5 -1
- package/dist/helpers/browser-connect-error.d.ts +7 -1
- package/dist/helpers/browser-connect-error.js +12 -1
- package/dist/helpers/browser-connect.d.ts +1 -1
- package/dist/helpers/browser-connect.js +16 -5
- package/dist/helpers/browser-decisions.d.ts +3 -0
- package/dist/helpers/browser-decisions.js +5 -0
- package/dist/helpers/browser-documentation.d.ts +1 -1
- package/dist/helpers/browser-documentation.js +3 -0
- package/dist/operations.generated.js +726 -29
- package/dist/resources.generated.d.ts +120 -0
- package/dist/resources.generated.js +40 -0
- package/package.json +1 -1
|
@@ -248,6 +248,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
248
248
|
name: string;
|
|
249
249
|
}>;
|
|
250
250
|
};
|
|
251
|
+
browser?: {
|
|
252
|
+
byob: string;
|
|
253
|
+
} | null;
|
|
251
254
|
computer_id?: string;
|
|
252
255
|
subagent_model?: string | null;
|
|
253
256
|
subagents?: Array<{
|
|
@@ -460,6 +463,16 @@ export declare function createAgent(transport: Transport): {
|
|
|
460
463
|
}>;
|
|
461
464
|
};
|
|
462
465
|
};
|
|
466
|
+
devices: {
|
|
467
|
+
localSessions: {
|
|
468
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ListAgentDeviceLocalSessionsData>) => Promise<import("./automation.js").Page<{
|
|
469
|
+
id: string;
|
|
470
|
+
title: string;
|
|
471
|
+
updated_at: string | null;
|
|
472
|
+
cwd: string | null;
|
|
473
|
+
}>>;
|
|
474
|
+
};
|
|
475
|
+
};
|
|
463
476
|
events: {
|
|
464
477
|
list: (options: import("./core/transport.js").CallOptions<Types.ListAgentEventsData>) => Promise<{
|
|
465
478
|
data: Array<{
|
|
@@ -938,6 +951,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
938
951
|
name: string;
|
|
939
952
|
}>;
|
|
940
953
|
};
|
|
954
|
+
browser?: {
|
|
955
|
+
byob: string;
|
|
956
|
+
} | null;
|
|
941
957
|
computer_id?: string;
|
|
942
958
|
subagent_model?: string | null;
|
|
943
959
|
subagents?: Array<{
|
|
@@ -1146,6 +1162,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
1146
1162
|
name: string;
|
|
1147
1163
|
}>;
|
|
1148
1164
|
};
|
|
1165
|
+
browser?: {
|
|
1166
|
+
byob: string;
|
|
1167
|
+
} | null;
|
|
1149
1168
|
computer_id?: string;
|
|
1150
1169
|
subagent_model?: string | null;
|
|
1151
1170
|
subagents?: Array<{
|
|
@@ -1605,6 +1624,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
1605
1624
|
name: string;
|
|
1606
1625
|
}>;
|
|
1607
1626
|
};
|
|
1627
|
+
browser?: {
|
|
1628
|
+
byob: string;
|
|
1629
|
+
} | null;
|
|
1608
1630
|
computer_id?: string;
|
|
1609
1631
|
subagent_model?: string | null;
|
|
1610
1632
|
subagents?: Array<{
|
|
@@ -1784,6 +1806,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
1784
1806
|
name: string;
|
|
1785
1807
|
}>;
|
|
1786
1808
|
};
|
|
1809
|
+
browser?: {
|
|
1810
|
+
byob: string;
|
|
1811
|
+
} | null;
|
|
1787
1812
|
computer_id?: string;
|
|
1788
1813
|
subagent_model?: string | null;
|
|
1789
1814
|
subagents?: Array<{
|
|
@@ -2180,6 +2205,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
2180
2205
|
name: string;
|
|
2181
2206
|
}>;
|
|
2182
2207
|
};
|
|
2208
|
+
browser?: {
|
|
2209
|
+
byob: string;
|
|
2210
|
+
} | null;
|
|
2183
2211
|
computer_id?: string;
|
|
2184
2212
|
subagent_model?: string | null;
|
|
2185
2213
|
subagents?: Array<{
|
|
@@ -2358,6 +2386,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
2358
2386
|
name: string;
|
|
2359
2387
|
}>;
|
|
2360
2388
|
};
|
|
2389
|
+
browser?: {
|
|
2390
|
+
byob: string;
|
|
2391
|
+
} | null;
|
|
2361
2392
|
computer_id?: string;
|
|
2362
2393
|
subagent_model?: string | null;
|
|
2363
2394
|
subagents?: Array<{
|
|
@@ -6252,6 +6283,26 @@ export declare function createBilling(transport: Transport): {
|
|
|
6252
6283
|
};
|
|
6253
6284
|
};
|
|
6254
6285
|
export declare function createBrowser(transport: Transport): {
|
|
6286
|
+
byob: {
|
|
6287
|
+
browsers: {
|
|
6288
|
+
disconnect: {
|
|
6289
|
+
create: (options: import("./core/transport.js").CallOptions<Types.BrowserDisconnectByobBrowserData>) => Promise<Types.BrowserByobBrowser>;
|
|
6290
|
+
};
|
|
6291
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.BrowserListByobBrowsersData> | undefined) => Promise<{
|
|
6292
|
+
data: Array<Types.BrowserByobBrowser>;
|
|
6293
|
+
nextCursor: string | null;
|
|
6294
|
+
}>;
|
|
6295
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.BrowserGetByobBrowserData>) => Promise<Types.BrowserByobBrowser>;
|
|
6296
|
+
update: (options: import("./core/transport.js").CallOptions<Types.BrowserUpdateByobBrowserData>) => Promise<Types.BrowserByobBrowser>;
|
|
6297
|
+
};
|
|
6298
|
+
pairings: {
|
|
6299
|
+
claim: {
|
|
6300
|
+
create: (options: import("./core/transport.js").CallOptions<Types.BrowserClaimByobPairingData>) => Promise<Types.BrowserByobClaimResult>;
|
|
6301
|
+
};
|
|
6302
|
+
create: (options?: import("./core/transport.js").CallOptions<Types.BrowserCreateByobPairingData> | undefined) => Promise<Types.BrowserByobPairing>;
|
|
6303
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.BrowserReadByobPairingData>) => Promise<Types.BrowserByobPairingView>;
|
|
6304
|
+
};
|
|
6305
|
+
};
|
|
6255
6306
|
connect: {
|
|
6256
6307
|
retrieve: (options?: import("./core/transport.js").CallOptions<Types.BrowserConnectData> | undefined) => Promise<unknown>;
|
|
6257
6308
|
};
|
|
@@ -7010,6 +7061,9 @@ export declare function createMedia(transport: Transport): {
|
|
|
7010
7061
|
versions: {
|
|
7011
7062
|
restore: (options: import("./core/transport.js").CallOptions<Types.MediaRestoreAssetVersionData>) => Promise<Types.MediaAsset>;
|
|
7012
7063
|
};
|
|
7064
|
+
works: {
|
|
7065
|
+
list: (options: import("./core/transport.js").CallOptions<Types.MediaListAssetWorksData>) => Promise<import("./automation.js").Page<Types.MediaWorkSummary>>;
|
|
7066
|
+
};
|
|
7013
7067
|
};
|
|
7014
7068
|
batches: {
|
|
7015
7069
|
create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateBatchData>) => Promise<Types.MediaJob>;
|
|
@@ -7067,6 +7121,13 @@ export declare function createMedia(transport: Transport): {
|
|
|
7067
7121
|
create: (options: import("./core/transport.js").CallOptions<Types.MediaDesignVoiceData>) => Promise<Types.MediaJob>;
|
|
7068
7122
|
};
|
|
7069
7123
|
};
|
|
7124
|
+
works: {
|
|
7125
|
+
create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateWorkData>) => Promise<Types.MediaWork>;
|
|
7126
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.MediaDeleteWorkData>) => Promise<Types.MediaDeletedWork>;
|
|
7127
|
+
list: (options: import("./core/transport.js").CallOptions<Types.MediaListWorksData>) => Promise<import("./automation.js").Page<Types.MediaWorkSummary>>;
|
|
7128
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.MediaGetWorkData>) => Promise<Types.MediaWork>;
|
|
7129
|
+
update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateWorkData>) => Promise<Types.MediaWork>;
|
|
7130
|
+
};
|
|
7070
7131
|
};
|
|
7071
7132
|
pipelines: {
|
|
7072
7133
|
create: (options: import("./core/transport.js").CallOptions<Types.CreateMediaPipelineData>) => Promise<Types.MediaPipeline>;
|
|
@@ -7994,6 +8055,12 @@ export declare function createOrganization(transport: Transport): {
|
|
|
7994
8055
|
archive: (options: import("./core/transport.js").CallOptions<Types.ArchiveOrganizationNotificationLetterData>) => Promise<{
|
|
7995
8056
|
unread: number;
|
|
7996
8057
|
}>;
|
|
8058
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateOrganizationNotificationLetterData>) => Promise<{
|
|
8059
|
+
letter: {
|
|
8060
|
+
id: string;
|
|
8061
|
+
deliverAt: string;
|
|
8062
|
+
};
|
|
8063
|
+
}>;
|
|
7997
8064
|
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationNotificationLettersData> | undefined) => Promise<{
|
|
7998
8065
|
letters: Array<{
|
|
7999
8066
|
id: string;
|
|
@@ -8047,6 +8114,56 @@ export declare function createOrganization(transport: Transport): {
|
|
|
8047
8114
|
};
|
|
8048
8115
|
}>;
|
|
8049
8116
|
};
|
|
8117
|
+
messages: {
|
|
8118
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DeleteOrganizationNotificationMessageData>) => Promise<{
|
|
8119
|
+
deleted: boolean;
|
|
8120
|
+
}>;
|
|
8121
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationNotificationMessagesData> | undefined) => Promise<{
|
|
8122
|
+
items: Array<{
|
|
8123
|
+
name: string;
|
|
8124
|
+
organizationId: string;
|
|
8125
|
+
group: "members" | "usage" | "alerts" | "agent" | "nonConfigurable";
|
|
8126
|
+
workflow: string;
|
|
8127
|
+
title: string;
|
|
8128
|
+
body: string;
|
|
8129
|
+
actionUrl?: string;
|
|
8130
|
+
seen: boolean;
|
|
8131
|
+
read: boolean;
|
|
8132
|
+
archived: boolean;
|
|
8133
|
+
createTime: string;
|
|
8134
|
+
}>;
|
|
8135
|
+
nextPageToken?: string;
|
|
8136
|
+
}>;
|
|
8137
|
+
readAll: (options?: import("./core/transport.js").CallOptions<Types.ReadAllOrganizationNotificationMessagesData> | undefined) => Promise<{
|
|
8138
|
+
updated: number;
|
|
8139
|
+
}>;
|
|
8140
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationNotificationMessageData>) => Promise<{
|
|
8141
|
+
name: string;
|
|
8142
|
+
organizationId: string;
|
|
8143
|
+
group: "members" | "usage" | "alerts" | "agent" | "nonConfigurable";
|
|
8144
|
+
workflow: string;
|
|
8145
|
+
title: string;
|
|
8146
|
+
body: string;
|
|
8147
|
+
actionUrl?: string;
|
|
8148
|
+
seen: boolean;
|
|
8149
|
+
read: boolean;
|
|
8150
|
+
archived: boolean;
|
|
8151
|
+
createTime: string;
|
|
8152
|
+
}>;
|
|
8153
|
+
update: (options: import("./core/transport.js").CallOptions<Types.UpdateOrganizationNotificationMessageData>) => Promise<{
|
|
8154
|
+
name: string;
|
|
8155
|
+
organizationId: string;
|
|
8156
|
+
group: "members" | "usage" | "alerts" | "agent" | "nonConfigurable";
|
|
8157
|
+
workflow: string;
|
|
8158
|
+
title: string;
|
|
8159
|
+
body: string;
|
|
8160
|
+
actionUrl?: string;
|
|
8161
|
+
seen: boolean;
|
|
8162
|
+
read: boolean;
|
|
8163
|
+
archived: boolean;
|
|
8164
|
+
createTime: string;
|
|
8165
|
+
}>;
|
|
8166
|
+
};
|
|
8050
8167
|
organizationDefault: {
|
|
8051
8168
|
create: (options: import("./core/transport.js").CallOptions<Types.UpdateOrganizationNotificationDefaultsData>) => Promise<{
|
|
8052
8169
|
[key: string]: unknown;
|
|
@@ -8195,6 +8312,7 @@ export declare function createSandbox(transport: Transport): {
|
|
|
8195
8312
|
dir: string;
|
|
8196
8313
|
agent: string;
|
|
8197
8314
|
}>;
|
|
8315
|
+
envd_version: string | null;
|
|
8198
8316
|
allow_bypass: boolean;
|
|
8199
8317
|
}>;
|
|
8200
8318
|
}>;
|
|
@@ -8214,6 +8332,7 @@ export declare function createSandbox(transport: Transport): {
|
|
|
8214
8332
|
dir: string;
|
|
8215
8333
|
agent: string;
|
|
8216
8334
|
}>;
|
|
8335
|
+
envd_version: string | null;
|
|
8217
8336
|
allow_bypass: boolean;
|
|
8218
8337
|
}>;
|
|
8219
8338
|
update: (options: import("./core/transport.js").CallOptions<Types.UpdateByodDeviceData>) => Promise<{
|
|
@@ -8232,6 +8351,7 @@ export declare function createSandbox(transport: Transport): {
|
|
|
8232
8351
|
dir: string;
|
|
8233
8352
|
agent: string;
|
|
8234
8353
|
}>;
|
|
8354
|
+
envd_version: string | null;
|
|
8235
8355
|
allow_bypass: boolean;
|
|
8236
8356
|
}>;
|
|
8237
8357
|
};
|
|
@@ -141,6 +141,11 @@ export function createAgent(transport) {
|
|
|
141
141
|
create: bind(transport, sdk.unblockCustomer),
|
|
142
142
|
},
|
|
143
143
|
},
|
|
144
|
+
devices: {
|
|
145
|
+
localSessions: {
|
|
146
|
+
list: bindPage(transport, sdk.listAgentDeviceLocalSessions),
|
|
147
|
+
},
|
|
148
|
+
},
|
|
144
149
|
events: {
|
|
145
150
|
list: bind(transport, sdk.listAgentEvents),
|
|
146
151
|
send: bind(transport, sdk.sendAgentEvents),
|
|
@@ -509,6 +514,23 @@ export function createBilling(transport) {
|
|
|
509
514
|
}
|
|
510
515
|
export function createBrowser(transport) {
|
|
511
516
|
return {
|
|
517
|
+
byob: {
|
|
518
|
+
browsers: {
|
|
519
|
+
disconnect: {
|
|
520
|
+
create: bind(transport, sdk.browserDisconnectByobBrowser),
|
|
521
|
+
},
|
|
522
|
+
list: bind(transport, sdk.browserListByobBrowsers),
|
|
523
|
+
retrieve: bind(transport, sdk.browserGetByobBrowser),
|
|
524
|
+
update: bind(transport, sdk.browserUpdateByobBrowser),
|
|
525
|
+
},
|
|
526
|
+
pairings: {
|
|
527
|
+
claim: {
|
|
528
|
+
create: bind(transport, sdk.browserClaimByobPairing),
|
|
529
|
+
},
|
|
530
|
+
create: bind(transport, sdk.browserCreateByobPairing),
|
|
531
|
+
retrieve: bind(transport, sdk.browserReadByobPairing),
|
|
532
|
+
},
|
|
533
|
+
},
|
|
512
534
|
connect: {
|
|
513
535
|
retrieve: bind(transport, sdk.browserConnect),
|
|
514
536
|
},
|
|
@@ -1193,6 +1215,9 @@ export function createMedia(transport) {
|
|
|
1193
1215
|
versions: {
|
|
1194
1216
|
restore: bind(transport, sdk.mediaRestoreAssetVersion),
|
|
1195
1217
|
},
|
|
1218
|
+
works: {
|
|
1219
|
+
list: bindPage(transport, sdk.mediaListAssetWorks),
|
|
1220
|
+
},
|
|
1196
1221
|
},
|
|
1197
1222
|
batches: {
|
|
1198
1223
|
create: bind(transport, sdk.mediaCreateBatch),
|
|
@@ -1250,6 +1275,13 @@ export function createMedia(transport) {
|
|
|
1250
1275
|
create: bind(transport, sdk.mediaDesignVoice),
|
|
1251
1276
|
},
|
|
1252
1277
|
},
|
|
1278
|
+
works: {
|
|
1279
|
+
create: bind(transport, sdk.mediaCreateWork),
|
|
1280
|
+
delete: bind(transport, sdk.mediaDeleteWork),
|
|
1281
|
+
list: bindPage(transport, sdk.mediaListWorks),
|
|
1282
|
+
retrieve: bind(transport, sdk.mediaGetWork),
|
|
1283
|
+
update: bind(transport, sdk.mediaUpdateWork),
|
|
1284
|
+
},
|
|
1253
1285
|
},
|
|
1254
1286
|
pipelines: {
|
|
1255
1287
|
create: bind(transport, sdk.createMediaPipeline),
|
|
@@ -1468,11 +1500,19 @@ export function createOrganization(transport) {
|
|
|
1468
1500
|
},
|
|
1469
1501
|
letters: {
|
|
1470
1502
|
archive: bind(transport, sdk.archiveOrganizationNotificationLetter),
|
|
1503
|
+
create: bind(transport, sdk.createOrganizationNotificationLetter),
|
|
1471
1504
|
list: bind(transport, sdk.listOrganizationNotificationLetters),
|
|
1472
1505
|
read: bind(transport, sdk.readOrganizationNotificationLetter),
|
|
1473
1506
|
readAll: bind(transport, sdk.readAllOrganizationNotificationLetters),
|
|
1474
1507
|
retrieve: bind(transport, sdk.getOrganizationNotificationLetter),
|
|
1475
1508
|
},
|
|
1509
|
+
messages: {
|
|
1510
|
+
delete: bind(transport, sdk.deleteOrganizationNotificationMessage),
|
|
1511
|
+
list: bind(transport, sdk.listOrganizationNotificationMessages),
|
|
1512
|
+
readAll: bind(transport, sdk.readAllOrganizationNotificationMessages),
|
|
1513
|
+
retrieve: bind(transport, sdk.getOrganizationNotificationMessage),
|
|
1514
|
+
update: bind(transport, sdk.updateOrganizationNotificationMessage),
|
|
1515
|
+
},
|
|
1476
1516
|
organizationDefault: {
|
|
1477
1517
|
create: bind(transport, sdk.updateOrganizationNotificationDefaults),
|
|
1478
1518
|
},
|