wuying-agentbay-sdk 0.12.0 → 0.13.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.
Files changed (52) hide show
  1. package/dist/{chunk-BVWUCG4J.mjs → chunk-P2CXYF4T.mjs} +400 -163
  2. package/dist/chunk-P2CXYF4T.mjs.map +1 -0
  3. package/dist/{chunk-SL5GCAQE.cjs → chunk-WVWGLZDT.cjs} +337 -100
  4. package/dist/chunk-WVWGLZDT.cjs.map +1 -0
  5. package/dist/index.cjs +6854 -782
  6. package/dist/index.cjs.map +1 -1
  7. package/dist/index.d.mts +644 -166
  8. package/dist/index.d.ts +644 -166
  9. package/dist/index.mjs +6723 -651
  10. package/dist/index.mjs.map +1 -1
  11. package/dist/{model-LGWQJWKQ.mjs → model-BRLR6F3P.mjs} +16 -2
  12. package/dist/model-KJHN3WYY.cjs +214 -0
  13. package/dist/{model-CNCGFWJH.cjs.map → model-KJHN3WYY.cjs.map} +1 -1
  14. package/docs/api/README.md +6 -0
  15. package/docs/api/browser-use/browser-agent.md +188 -0
  16. package/docs/api/browser-use/browser.md +1 -1
  17. package/docs/api/browser-use/fingerprint.md +154 -0
  18. package/docs/api/codespace/code.md +3 -0
  19. package/docs/api/common-features/advanced/agent.md +7 -63
  20. package/docs/api/common-features/advanced/browser-use-agent.md +118 -0
  21. package/docs/api/common-features/advanced/computer-use-agent.md +85 -0
  22. package/docs/api/common-features/basics/agentbay.md +3 -2
  23. package/docs/api/common-features/basics/command.md +35 -18
  24. package/docs/api/common-features/basics/filesystem.md +36 -0
  25. package/docs/api/common-features/basics/session-params.md +382 -0
  26. package/docs/api/common-features/basics/session.md +0 -2
  27. package/docs/api/computer-use/computer.md +25 -25
  28. package/docs/api/mobile-use/mobile-simulate.md +135 -0
  29. package/docs/examples/browser-use/browser/basic-usage.ts +31 -24
  30. package/docs/examples/browser-use/browser/browser-type-example.ts +3 -4
  31. package/docs/examples/browser-use/browser/captcha_tongcheng.ts +60 -28
  32. package/docs/examples/browser-use/browser/run-2048.ts +47 -37
  33. package/docs/examples/browser-use/browser/run-sudoku.ts +55 -36
  34. package/docs/examples/browser-use/browser/screenshot-example.ts +6 -6
  35. package/docs/examples/browser-use/extension-example/extension-example.ts +1 -2
  36. package/docs/examples/codespace/enhanced_code/index.ts +86 -0
  37. package/docs/examples/common-features/advanced/agent-module-example.ts +1 -1
  38. package/docs/examples/common-features/advanced/archive-upload-mode-example/README.md +1 -1
  39. package/docs/examples/common-features/advanced/archive-upload-mode-example/archive-upload-mode-example.ts +5 -6
  40. package/docs/examples/common-features/basics/archive-upload-mode-example/README.md +1 -1
  41. package/docs/examples/common-features/basics/archive-upload-mode-example/main.ts +1 -1
  42. package/docs/examples/common-features/basics/filesystem-example/filesystem-example.ts +13 -0
  43. package/docs/examples/common-features/basics/filesystem-example/filesystem-filetransfer-example.ts +6 -7
  44. package/docs/examples/common-features/basics/filesystem-example/watch-directory-example.ts +1 -1
  45. package/docs/examples/mobile-use/mobile-get-adb-url/index.ts +1 -1
  46. package/package.json +4 -4
  47. package/dist/chunk-BVWUCG4J.mjs.map +0 -1
  48. package/dist/chunk-SL5GCAQE.cjs.map +0 -1
  49. package/dist/model-CNCGFWJH.cjs +0 -200
  50. package/docs/examples/mobile-use/mobile-get-adb-url/package-lock.json +0 -279
  51. package/docs/examples/mobile-use/mobile-get-adb-url/package.json +0 -18
  52. /package/dist/{model-LGWQJWKQ.mjs.map → model-BRLR6F3P.mjs.map} +0 -0
@@ -0,0 +1,382 @@
1
+ # Class: CreateSessionParams
2
+
3
+ CreateSessionParams provides a way to configure the parameters for creating a new session
4
+ in the AgentBay cloud environment.
5
+
6
+ ## Implements
7
+
8
+ - ``CreateSessionParamsConfig``
9
+
10
+ ## Table of contents
11
+
12
+
13
+ ### Properties
14
+
15
+ - [browserContext](#browsercontext)
16
+ - [enableBrowserReplay](#enablebrowserreplay)
17
+ - [extraConfigs](#extraconfigs)
18
+ - [framework](#framework)
19
+ - [imageId](#imageid)
20
+ - [policyId](#policyid)
21
+
22
+ ### Methods
23
+
24
+ - [addContextSync](#addcontextsync)
25
+ - [addContextSyncConfig](#addcontextsyncconfig)
26
+ - [fromJSON](#fromjson)
27
+ - [toJSON](#tojson)
28
+ - [withBrowserContext](#withbrowsercontext)
29
+ - [withContextSync](#withcontextsync)
30
+ - [withEnableBrowserReplay](#withenablebrowserreplay)
31
+ - [withEnableRecord](#withenablerecord)
32
+ - [withExtraConfigs](#withextraconfigs)
33
+ - [withFramework](#withframework)
34
+ - [withImageId](#withimageid)
35
+ - [withIsVpc](#withisvpc)
36
+ - [withLabels](#withlabels)
37
+ - [withPolicyId](#withpolicyid)
38
+
39
+ ## Properties
40
+
41
+ ```typescript
42
+ contextSync: [`ContextSync`](context-sync.md)[]
43
+ isVpc: `boolean`
44
+ labels: `Record`<`string`, `string`>
45
+ ```
46
+
47
+
48
+ ### browserContext
49
+
50
+ • `Optional` **browserContext**: ``BrowserContext``
51
+
52
+ Optional configuration for browser data synchronization.
53
+
54
+ #### Implementation of
55
+
56
+ `CreateSessionParamsConfig`.`browserContext`
57
+
58
+ ___
59
+
60
+ #### Implementation of
61
+
62
+ `CreateSessionParamsConfig`.`contextSync`
63
+
64
+ ___
65
+
66
+ ### enableBrowserReplay
67
+
68
+ • `Optional` **enableBrowserReplay**: `boolean`
69
+
70
+ Whether to enable browser recording for the session. Defaults to undefined (use default behavior, enabled by default).
71
+
72
+ #### Implementation of
73
+
74
+ `CreateSessionParamsConfig`.`enableBrowserReplay`
75
+
76
+ ___
77
+
78
+ ### extraConfigs
79
+
80
+ • `Optional` **extraConfigs**: ``ExtraConfigs``
81
+
82
+ Extra configuration settings for different session types (e.g., mobile)
83
+
84
+ #### Implementation of
85
+
86
+ `CreateSessionParamsConfig`.`extraConfigs`
87
+
88
+ ___
89
+
90
+ ### framework
91
+
92
+ • `Optional` **framework**: `string`
93
+
94
+ Framework name for SDK statistics tracking
95
+
96
+ #### Implementation of
97
+
98
+ `CreateSessionParamsConfig`.`framework`
99
+
100
+ ___
101
+
102
+ ### imageId
103
+
104
+ • `Optional` **imageId**: `string`
105
+
106
+ Image ID to use for the session.
107
+
108
+ #### Implementation of
109
+
110
+ `CreateSessionParamsConfig`.`imageId`
111
+
112
+ ___
113
+
114
+ #### Implementation of
115
+
116
+ `CreateSessionParamsConfig`.`isVpc`
117
+
118
+ ___
119
+
120
+ #### Implementation of
121
+
122
+ `CreateSessionParamsConfig`.`labels`
123
+
124
+ ___
125
+
126
+ ### policyId
127
+
128
+ • `Optional` **policyId**: `string`
129
+
130
+ Policy id to apply when creating the session.
131
+
132
+ #### Implementation of
133
+
134
+ `CreateSessionParamsConfig`.`policyId`
135
+
136
+ ## Methods
137
+
138
+ ### addContextSync
139
+
140
+ ▸ **addContextSync**(`contextId`, `path`, `policy?`): [`CreateSessionParams`](session-params.md)
141
+
142
+ AddContextSync adds a context sync configuration to the session parameters.
143
+
144
+ #### Parameters
145
+
146
+ | Name | Type |
147
+ | :------ | :------ |
148
+ | `contextId` | `string` |
149
+ | `path` | `string` |
150
+ | `policy?` | ``SyncPolicy`` |
151
+
152
+ #### Returns
153
+
154
+ [`CreateSessionParams`](session-params.md)
155
+
156
+ ___
157
+
158
+ ### addContextSyncConfig
159
+
160
+ ▸ **addContextSyncConfig**(`contextSync`): [`CreateSessionParams`](session-params.md)
161
+
162
+ AddContextSyncConfig adds a pre-configured context sync to the session parameters.
163
+
164
+ #### Parameters
165
+
166
+ | Name | Type |
167
+ | :------ | :------ |
168
+ | `contextSync` | [`ContextSync`](context-sync.md) |
169
+
170
+ #### Returns
171
+
172
+ [`CreateSessionParams`](session-params.md)
173
+
174
+ ___
175
+
176
+ ### fromJSON
177
+
178
+ ▸ **fromJSON**(`config`): [`CreateSessionParams`](session-params.md)
179
+
180
+ Create from plain object
181
+
182
+ #### Parameters
183
+
184
+ | Name | Type |
185
+ | :------ | :------ |
186
+ | `config` | ``CreateSessionParamsConfig`` |
187
+
188
+ #### Returns
189
+
190
+ [`CreateSessionParams`](session-params.md)
191
+
192
+ ___
193
+
194
+ ### toJSON
195
+
196
+ ▸ **toJSON**(): ``CreateSessionParamsConfig``
197
+
198
+ Convert to plain object for JSON serialization
199
+
200
+ #### Returns
201
+
202
+ ``CreateSessionParamsConfig``
203
+
204
+ ___
205
+
206
+ ### withBrowserContext
207
+
208
+ ▸ **withBrowserContext**(`browserContext`): [`CreateSessionParams`](session-params.md)
209
+
210
+ WithBrowserContext sets the browser context for the session parameters and returns the updated parameters.
211
+
212
+ #### Parameters
213
+
214
+ | Name | Type |
215
+ | :------ | :------ |
216
+ | `browserContext` | ``BrowserContext`` |
217
+
218
+ #### Returns
219
+
220
+ [`CreateSessionParams`](session-params.md)
221
+
222
+ ___
223
+
224
+ ### withContextSync
225
+
226
+ ▸ **withContextSync**(`contextSyncs`): [`CreateSessionParams`](session-params.md)
227
+
228
+ WithContextSync sets the context sync configurations for the session parameters.
229
+
230
+ #### Parameters
231
+
232
+ | Name | Type |
233
+ | :------ | :------ |
234
+ | `contextSyncs` | [`ContextSync`](context-sync.md)[] |
235
+
236
+ #### Returns
237
+
238
+ [`CreateSessionParams`](session-params.md)
239
+
240
+ ___
241
+
242
+ ### withEnableBrowserReplay
243
+
244
+ ▸ **withEnableBrowserReplay**(`enableBrowserReplay`): [`CreateSessionParams`](session-params.md)
245
+
246
+ WithenableBrowserReplay sets the browser recording flag for the session parameters and returns the updated parameters.
247
+
248
+ #### Parameters
249
+
250
+ | Name | Type |
251
+ | :------ | :------ |
252
+ | `enableBrowserReplay` | `boolean` |
253
+
254
+ #### Returns
255
+
256
+ [`CreateSessionParams`](session-params.md)
257
+
258
+ ___
259
+
260
+ ### withEnableRecord
261
+
262
+ ▸ **withEnableRecord**(`enableRecord`): [`CreateSessionParams`](session-params.md)
263
+
264
+ Alias for withEnableBrowserReplay for backward compatibility.
265
+
266
+ #### Parameters
267
+
268
+ | Name | Type |
269
+ | :------ | :------ |
270
+ | `enableRecord` | `boolean` |
271
+
272
+ #### Returns
273
+
274
+ [`CreateSessionParams`](session-params.md)
275
+
276
+ ___
277
+
278
+ ### withExtraConfigs
279
+
280
+ ▸ **withExtraConfigs**(`extraConfigs`): [`CreateSessionParams`](session-params.md)
281
+
282
+ WithExtraConfigs sets the extra configurations for the session parameters and returns the updated parameters.
283
+
284
+ #### Parameters
285
+
286
+ | Name | Type |
287
+ | :------ | :------ |
288
+ | `extraConfigs` | ``ExtraConfigs`` |
289
+
290
+ #### Returns
291
+
292
+ [`CreateSessionParams`](session-params.md)
293
+
294
+ ___
295
+
296
+ ### withFramework
297
+
298
+ ▸ **withFramework**(`framework`): [`CreateSessionParams`](session-params.md)
299
+
300
+ WithFramework sets the framework name for the session parameters and returns the updated parameters.
301
+
302
+ #### Parameters
303
+
304
+ | Name | Type |
305
+ | :------ | :------ |
306
+ | `framework` | `string` |
307
+
308
+ #### Returns
309
+
310
+ [`CreateSessionParams`](session-params.md)
311
+
312
+ ___
313
+
314
+ ### withImageId
315
+
316
+ ▸ **withImageId**(`imageId`): [`CreateSessionParams`](session-params.md)
317
+
318
+ WithImageId sets the image ID for the session parameters and returns the updated parameters.
319
+
320
+ #### Parameters
321
+
322
+ | Name | Type |
323
+ | :------ | :------ |
324
+ | `imageId` | `string` |
325
+
326
+ #### Returns
327
+
328
+ [`CreateSessionParams`](session-params.md)
329
+
330
+ ___
331
+
332
+ ### withIsVpc
333
+
334
+ ▸ **withIsVpc**(`isVpc`): [`CreateSessionParams`](session-params.md)
335
+
336
+ WithIsVpc sets the VPC flag for the session parameters and returns the updated parameters.
337
+
338
+ #### Parameters
339
+
340
+ | Name | Type |
341
+ | :------ | :------ |
342
+ | `isVpc` | `boolean` |
343
+
344
+ #### Returns
345
+
346
+ [`CreateSessionParams`](session-params.md)
347
+
348
+ ___
349
+
350
+ ### withLabels
351
+
352
+ ▸ **withLabels**(`labels`): [`CreateSessionParams`](session-params.md)
353
+
354
+ WithLabels sets the labels for the session parameters and returns the updated parameters.
355
+
356
+ #### Parameters
357
+
358
+ | Name | Type |
359
+ | :------ | :------ |
360
+ | `labels` | `Record`\<`string`, `string`\> |
361
+
362
+ #### Returns
363
+
364
+ [`CreateSessionParams`](session-params.md)
365
+
366
+ ___
367
+
368
+ ### withPolicyId
369
+
370
+ ▸ **withPolicyId**(`policyId`): [`CreateSessionParams`](session-params.md)
371
+
372
+ WithPolicyId sets the policy id for the session parameters and returns the updated parameters.
373
+
374
+ #### Parameters
375
+
376
+ | Name | Type |
377
+ | :------ | :------ |
378
+ | `policyId` | `string` |
379
+
380
+ #### Returns
381
+
382
+ [`CreateSessionParams`](session-params.md)
@@ -36,14 +36,12 @@ computer: [`Computer`](../../computer-use/computer.md)
36
36
  context: [`ContextManager`](context-manager.md)
37
37
  enableBrowserReplay: `boolean` = `false`
38
38
  fileSystem: [`FileSystem`](filesystem.md)
39
- fileTransferContextId: ``null`` | `string` = `null`
40
39
  httpPort: `string` = `""`
41
40
  isVpc: `boolean` = `false`
42
41
  mcpTools: `McpTool`[] = `[]`
43
42
  mobile: [`Mobile`](../../mobile-use/mobile.md)
44
43
  networkInterfaceIp: `string` = `""`
45
44
  oss: [`Oss`](../advanced/oss.md)
46
- recordContextId: ``null`` | `string` = `null`
47
45
  resourceUrl: `string` = `""`
48
46
  sessionId: `string`
49
47
  token: `string` = `""`
@@ -18,7 +18,7 @@ keyboard input, screen capture, and window management. It enables automated UI t
18
18
 
19
19
  ### MouseButton
20
20
 
21
- Mouse button constants: Left, Right, Middle
21
+ Mouse button constants: Left, Right, Middle, DoubleLeft
22
22
 
23
23
  ### ScrollDirection
24
24
 
@@ -99,7 +99,7 @@ ___
99
99
 
100
100
  ### clickMouse
101
101
 
102
- ▸ **clickMouse**(`x`, `y`, `button?`): `Promise`\<`BoolResult`\>
102
+ ▸ **clickMouse**(`x`, `y`, `button?`): `Promise`\<`OperationResult`\>
103
103
 
104
104
  Click mouse at specified coordinates.
105
105
 
@@ -113,7 +113,7 @@ Click mouse at specified coordinates.
113
113
 
114
114
  #### Returns
115
115
 
116
- `Promise`\<`BoolResult`\>
116
+ `Promise`\<`OperationResult`\>
117
117
 
118
118
  Promise resolving to result with success status
119
119
 
@@ -166,7 +166,7 @@ ___
166
166
 
167
167
  ### dragMouse
168
168
 
169
- ▸ **dragMouse**(`fromX`, `fromY`, `toX`, `toY`, `button?`): `Promise`\<`BoolResult`\>
169
+ ▸ **dragMouse**(`fromX`, `fromY`, `toX`, `toY`, `button?`): `Promise`\<`OperationResult`\>
170
170
 
171
171
  Drag mouse from one position to another.
172
172
 
@@ -182,7 +182,7 @@ Drag mouse from one position to another.
182
182
 
183
183
  #### Returns
184
184
 
185
- `Promise`\<`BoolResult`\>
185
+ `Promise`\<`OperationResult`\>
186
186
 
187
187
  Promise resolving to result with success status
188
188
 
@@ -265,7 +265,7 @@ if (result.success) {
265
265
 
266
266
  ### inputText
267
267
 
268
- ▸ **inputText**(`text`): `Promise`\<`BoolResult`\>
268
+ ▸ **inputText**(`text`): `Promise`\<`OperationResult`\>
269
269
 
270
270
  Input text at the current cursor position.
271
271
 
@@ -277,7 +277,7 @@ Input text at the current cursor position.
277
277
 
278
278
  #### Returns
279
279
 
280
- `Promise`\<`BoolResult`\>
280
+ `Promise`\<`OperationResult`\>
281
281
 
282
282
  Promise resolving to result with success status
283
283
 
@@ -328,13 +328,13 @@ ___
328
328
 
329
329
  ### listVisibleApps
330
330
 
331
- ▸ **listVisibleApps**(): `Promise`\<`any`\>
331
+ ▸ **listVisibleApps**(): `Promise`\<`ProcessListResult`\>
332
332
 
333
333
  Lists all visible applications.
334
334
 
335
335
  #### Returns
336
336
 
337
- `Promise`\<`any`\>
337
+ `Promise`\<`ProcessListResult`\>
338
338
 
339
339
  Promise resolving to result containing array of visible application processes
340
340
 
@@ -420,7 +420,7 @@ ___
420
420
 
421
421
  ### moveMouse
422
422
 
423
- ▸ **moveMouse**(`x`, `y`): `Promise`\<`BoolResult`\>
423
+ ▸ **moveMouse**(`x`, `y`): `Promise`\<`OperationResult`\>
424
424
 
425
425
  Move mouse to specified coordinates.
426
426
 
@@ -433,7 +433,7 @@ Move mouse to specified coordinates.
433
433
 
434
434
  #### Returns
435
435
 
436
- `Promise`\<`BoolResult`\>
436
+ `Promise`\<`OperationResult`\>
437
437
 
438
438
  Promise resolving to result with success status
439
439
 
@@ -454,7 +454,7 @@ ___
454
454
 
455
455
  ### pressKeys
456
456
 
457
- ▸ **pressKeys**(`keys`, `hold?`): `Promise`\<`BoolResult`\>
457
+ ▸ **pressKeys**(`keys`, `hold?`): `Promise`\<`OperationResult`\>
458
458
 
459
459
  Press one or more keys.
460
460
 
@@ -467,7 +467,7 @@ Press one or more keys.
467
467
 
468
468
  #### Returns
469
469
 
470
- `Promise`\<`BoolResult`\>
470
+ `Promise`\<`OperationResult`\>
471
471
 
472
472
  Promise resolving to result with success status
473
473
 
@@ -487,7 +487,7 @@ ___
487
487
 
488
488
  ### releaseKeys
489
489
 
490
- ▸ **releaseKeys**(`keys`): `Promise`\<`BoolResult`\>
490
+ ▸ **releaseKeys**(`keys`): `Promise`\<`OperationResult`\>
491
491
 
492
492
  Release previously pressed keys.
493
493
 
@@ -499,7 +499,7 @@ Release previously pressed keys.
499
499
 
500
500
  #### Returns
501
501
 
502
- `Promise`\<`BoolResult`\>
502
+ `Promise`\<`OperationResult`\>
503
503
 
504
504
  Promise resolving to result with success status
505
505
 
@@ -614,7 +614,7 @@ ___
614
614
 
615
615
  ### scroll
616
616
 
617
- ▸ **scroll**(`x`, `y`, `direction?`, `amount?`): `Promise`\<`BoolResult`\>
617
+ ▸ **scroll**(`x`, `y`, `direction?`, `amount?`): `Promise`\<`OperationResult`\>
618
618
 
619
619
  Scroll at specified coordinates.
620
620
 
@@ -629,7 +629,7 @@ Scroll at specified coordinates.
629
629
 
630
630
  #### Returns
631
631
 
632
- `Promise`\<`BoolResult`\>
632
+ `Promise`\<`OperationResult`\>
633
633
 
634
634
  Promise resolving to result with success status
635
635
 
@@ -648,7 +648,7 @@ ___
648
648
 
649
649
  ### startApp
650
650
 
651
- ▸ **startApp**(`startCmd`, `workDirectory?`, `activity?`): `Promise`\<`any`\>
651
+ ▸ **startApp**(`startCmd`, `workDirectory?`, `activity?`): `Promise`\<`ProcessListResult`\>
652
652
 
653
653
  Starts the specified application.
654
654
 
@@ -662,7 +662,7 @@ Starts the specified application.
662
662
 
663
663
  #### Returns
664
664
 
665
- `Promise`\<`any`\>
665
+ `Promise`\<`ProcessListResult`\>
666
666
 
667
667
  Promise resolving to result containing array of started processes
668
668
 
@@ -682,7 +682,7 @@ ___
682
682
 
683
683
  ### stopAppByCmd
684
684
 
685
- ▸ **stopAppByCmd**(`cmd`): `Promise`\<`any`\>
685
+ ▸ **stopAppByCmd**(`cmd`): `Promise`\<`BoolResult`\>
686
686
 
687
687
  Stops an application by stop command.
688
688
 
@@ -694,7 +694,7 @@ Stops an application by stop command.
694
694
 
695
695
  #### Returns
696
696
 
697
- `Promise`\<`any`\>
697
+ `Promise`\<`BoolResult`\>
698
698
 
699
699
  Promise resolving to result with success status
700
700
 
@@ -714,7 +714,7 @@ ___
714
714
 
715
715
  ### stopAppByPID
716
716
 
717
- ▸ **stopAppByPID**(`pid`): `Promise`\<`any`\>
717
+ ▸ **stopAppByPID**(`pid`): `Promise`\<`BoolResult`\>
718
718
 
719
719
  Stops an application by process ID.
720
720
 
@@ -726,7 +726,7 @@ Stops an application by process ID.
726
726
 
727
727
  #### Returns
728
728
 
729
- `Promise`\<`any`\>
729
+ `Promise`\<`BoolResult`\>
730
730
 
731
731
  Promise resolving to result with success status
732
732
 
@@ -747,7 +747,7 @@ ___
747
747
 
748
748
  ### stopAppByPName
749
749
 
750
- ▸ **stopAppByPName**(`pname`): `Promise`\<`any`\>
750
+ ▸ **stopAppByPName**(`pname`): `Promise`\<`BoolResult`\>
751
751
 
752
752
  Stops an application by process name.
753
753
 
@@ -759,7 +759,7 @@ Stops an application by process name.
759
759
 
760
760
  #### Returns
761
761
 
762
- `Promise`\<`any`\>
762
+ `Promise`\<`BoolResult`\>
763
763
 
764
764
  Promise resolving to result with success status
765
765