@mobilerun/sdk 5.6.0 → 6.0.0
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/CHANGELOG.md +21 -0
- package/README.md +0 -9
- package/client.d.mts +6 -24
- package/client.d.mts.map +1 -1
- package/client.d.ts +6 -24
- package/client.d.ts.map +1 -1
- package/client.js +0 -18
- package/client.js.map +1 -1
- package/client.mjs +0 -18
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/apps.d.mts +30 -20
- package/resources/apps.d.mts.map +1 -1
- package/resources/apps.d.ts +30 -20
- package/resources/apps.d.ts.map +1 -1
- package/resources/apps.js +20 -10
- package/resources/apps.js.map +1 -1
- package/resources/apps.mjs +20 -10
- package/resources/apps.mjs.map +1 -1
- package/resources/connect/proxies.d.mts +8 -6
- package/resources/connect/proxies.d.mts.map +1 -1
- package/resources/connect/proxies.d.ts +8 -6
- package/resources/connect/proxies.d.ts.map +1 -1
- package/resources/connect/proxies.js +6 -4
- package/resources/connect/proxies.js.map +1 -1
- package/resources/connect/proxies.mjs +6 -4
- package/resources/connect/proxies.mjs.map +1 -1
- package/resources/connect/users.d.mts +4 -4
- package/resources/connect/users.d.ts +4 -4
- package/resources/connect/users.js +2 -2
- package/resources/connect/users.mjs +2 -2
- package/resources/devices/actions.d.mts +25 -5
- package/resources/devices/actions.d.mts.map +1 -1
- package/resources/devices/actions.d.ts +25 -5
- package/resources/devices/actions.d.ts.map +1 -1
- package/resources/devices/actions.js +5 -3
- package/resources/devices/actions.js.map +1 -1
- package/resources/devices/actions.mjs +5 -3
- package/resources/devices/actions.mjs.map +1 -1
- package/resources/devices/apps.d.mts +13 -0
- package/resources/devices/apps.d.mts.map +1 -1
- package/resources/devices/apps.d.ts +13 -0
- package/resources/devices/apps.d.ts.map +1 -1
- package/resources/devices/devices.d.mts +36 -13
- package/resources/devices/devices.d.mts.map +1 -1
- package/resources/devices/devices.d.ts +36 -13
- package/resources/devices/devices.d.ts.map +1 -1
- package/resources/devices/devices.js +13 -8
- package/resources/devices/devices.js.map +1 -1
- package/resources/devices/devices.mjs +13 -8
- package/resources/devices/devices.mjs.map +1 -1
- package/resources/devices/index.d.mts +2 -1
- package/resources/devices/index.d.mts.map +1 -1
- package/resources/devices/index.d.ts +2 -1
- package/resources/devices/index.d.ts.map +1 -1
- package/resources/devices/index.js +3 -1
- package/resources/devices/index.js.map +1 -1
- package/resources/devices/index.mjs +1 -0
- package/resources/devices/index.mjs.map +1 -1
- package/resources/devices/keyboard.d.mts +8 -2
- package/resources/devices/keyboard.d.mts.map +1 -1
- package/resources/devices/keyboard.d.ts +8 -2
- package/resources/devices/keyboard.d.ts.map +1 -1
- package/resources/devices/recordings.d.mts +28 -7
- package/resources/devices/recordings.d.mts.map +1 -1
- package/resources/devices/recordings.d.ts +28 -7
- package/resources/devices/recordings.d.ts.map +1 -1
- package/resources/devices/recordings.js +9 -0
- package/resources/devices/recordings.js.map +1 -1
- package/resources/devices/recordings.mjs +9 -0
- package/resources/devices/recordings.mjs.map +1 -1
- package/resources/devices/screenshots.d.mts +72 -0
- package/resources/devices/screenshots.d.mts.map +1 -0
- package/resources/devices/screenshots.d.ts +72 -0
- package/resources/devices/screenshots.d.ts.map +1 -0
- package/resources/devices/screenshots.js +57 -0
- package/resources/devices/screenshots.js.map +1 -0
- package/resources/devices/screenshots.mjs +53 -0
- package/resources/devices/screenshots.mjs.map +1 -0
- package/resources/devices/state.d.mts +11 -2
- package/resources/devices/state.d.mts.map +1 -1
- package/resources/devices/state.d.ts +11 -2
- package/resources/devices/state.d.ts.map +1 -1
- package/resources/devices/state.js +5 -2
- package/resources/devices/state.js.map +1 -1
- package/resources/devices/state.mjs +5 -2
- package/resources/devices/state.mjs.map +1 -1
- package/resources/files.d.mts +3 -3
- package/resources/files.d.ts +3 -3
- package/resources/files.js +3 -3
- package/resources/files.mjs +3 -3
- package/resources/index.d.mts +3 -8
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +3 -8
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +1 -11
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +0 -5
- package/resources/index.mjs.map +1 -1
- package/resources/mailboxes/connections.d.mts +4 -10
- package/resources/mailboxes/connections.d.mts.map +1 -1
- package/resources/mailboxes/connections.d.ts +4 -10
- package/resources/mailboxes/connections.d.ts.map +1 -1
- package/resources/mailboxes/connections.js +3 -4
- package/resources/mailboxes/connections.js.map +1 -1
- package/resources/mailboxes/connections.mjs +3 -4
- package/resources/mailboxes/connections.mjs.map +1 -1
- package/resources/mailboxes/mailboxes.d.mts +5 -4
- package/resources/mailboxes/mailboxes.d.mts.map +1 -1
- package/resources/mailboxes/mailboxes.d.ts +5 -4
- package/resources/mailboxes/mailboxes.d.ts.map +1 -1
- package/resources/mailboxes/mailboxes.js +5 -4
- package/resources/mailboxes/mailboxes.js.map +1 -1
- package/resources/mailboxes/mailboxes.mjs +5 -4
- package/resources/mailboxes/mailboxes.mjs.map +1 -1
- package/resources/models.d.mts +12 -23
- package/resources/models.d.mts.map +1 -1
- package/resources/models.d.ts +12 -23
- package/resources/models.d.ts.map +1 -1
- package/resources/models.js +3 -4
- package/resources/models.js.map +1 -1
- package/resources/models.mjs +3 -4
- package/resources/models.mjs.map +1 -1
- package/resources/numbers/index.d.mts +1 -1
- package/resources/numbers/index.d.mts.map +1 -1
- package/resources/numbers/index.d.ts +1 -1
- package/resources/numbers/index.d.ts.map +1 -1
- package/resources/numbers/index.js.map +1 -1
- package/resources/numbers/index.mjs.map +1 -1
- package/resources/numbers/messages.d.mts +11 -14
- package/resources/numbers/messages.d.mts.map +1 -1
- package/resources/numbers/messages.d.ts +11 -14
- package/resources/numbers/messages.d.ts.map +1 -1
- package/resources/numbers/messages.js +9 -7
- package/resources/numbers/messages.js.map +1 -1
- package/resources/numbers/messages.mjs +9 -7
- package/resources/numbers/messages.mjs.map +1 -1
- package/resources/numbers/numbers.d.mts +28 -32
- package/resources/numbers/numbers.d.mts.map +1 -1
- package/resources/numbers/numbers.d.ts +28 -32
- package/resources/numbers/numbers.d.ts.map +1 -1
- package/resources/numbers/numbers.js +1 -12
- package/resources/numbers/numbers.js.map +1 -1
- package/resources/numbers/numbers.mjs +1 -12
- package/resources/numbers/numbers.mjs.map +1 -1
- package/resources/proxies.d.mts +1 -87
- package/resources/proxies.d.mts.map +1 -1
- package/resources/proxies.d.ts +1 -87
- package/resources/proxies.d.ts.map +1 -1
- package/resources/proxies.js +0 -6
- package/resources/proxies.js.map +1 -1
- package/resources/proxies.mjs +0 -6
- package/resources/proxies.mjs.map +1 -1
- package/resources/tasks/tasks.d.mts +38 -136
- package/resources/tasks/tasks.d.mts.map +1 -1
- package/resources/tasks/tasks.d.ts +38 -136
- package/resources/tasks/tasks.d.ts.map +1 -1
- package/resources/tasks/tasks.js.map +1 -1
- package/resources/tasks/tasks.mjs.map +1 -1
- package/resources/webhooks/index.d.mts +1 -1
- package/resources/webhooks/index.d.mts.map +1 -1
- package/resources/webhooks/index.d.ts +1 -1
- package/resources/webhooks/index.d.ts.map +1 -1
- package/resources/webhooks/index.js.map +1 -1
- package/resources/webhooks/index.mjs.map +1 -1
- package/resources/webhooks/webhooks.d.mts +7 -43
- package/resources/webhooks/webhooks.d.mts.map +1 -1
- package/resources/webhooks/webhooks.d.ts +7 -43
- package/resources/webhooks/webhooks.d.ts.map +1 -1
- package/resources/webhooks/webhooks.js +6 -9
- package/resources/webhooks/webhooks.js.map +1 -1
- package/resources/webhooks/webhooks.mjs +6 -9
- package/resources/webhooks/webhooks.mjs.map +1 -1
- package/resources/workflows/events.d.mts +5 -2
- package/resources/workflows/events.d.mts.map +1 -1
- package/resources/workflows/events.d.ts +5 -2
- package/resources/workflows/events.d.ts.map +1 -1
- package/resources/workflows/executions/executions.d.mts +27 -31
- package/resources/workflows/executions/executions.d.mts.map +1 -1
- package/resources/workflows/executions/executions.d.ts +27 -31
- package/resources/workflows/executions/executions.d.ts.map +1 -1
- package/resources/workflows/executions/executions.js +2 -2
- package/resources/workflows/executions/executions.js.map +1 -1
- package/resources/workflows/executions/executions.mjs +2 -2
- package/resources/workflows/executions/executions.mjs.map +1 -1
- package/resources/workflows/flows/flows.d.mts +62 -26
- package/resources/workflows/flows/flows.d.mts.map +1 -1
- package/resources/workflows/flows/flows.d.ts +62 -26
- package/resources/workflows/flows/flows.d.ts.map +1 -1
- package/resources/workflows/flows/flows.js +7 -7
- package/resources/workflows/flows/flows.js.map +1 -1
- package/resources/workflows/flows/flows.mjs +7 -7
- package/resources/workflows/flows/flows.mjs.map +1 -1
- package/resources/workflows/triggers.d.mts +10 -13
- package/resources/workflows/triggers.d.mts.map +1 -1
- package/resources/workflows/triggers.d.ts +10 -13
- package/resources/workflows/triggers.d.ts.map +1 -1
- package/resources/workflows/triggers.js +6 -8
- package/resources/workflows/triggers.js.map +1 -1
- package/resources/workflows/triggers.mjs +6 -8
- package/resources/workflows/triggers.mjs.map +1 -1
- package/src/client.ts +0 -106
- package/src/resources/apps.ts +30 -20
- package/src/resources/connect/proxies.ts +8 -6
- package/src/resources/connect/users.ts +4 -4
- package/src/resources/devices/actions.ts +28 -5
- package/src/resources/devices/apps.ts +18 -0
- package/src/resources/devices/devices.ts +59 -11
- package/src/resources/devices/index.ts +11 -0
- package/src/resources/devices/keyboard.ts +9 -2
- package/src/resources/devices/recordings.ts +44 -6
- package/src/resources/devices/screenshots.ts +140 -0
- package/src/resources/devices/state.ts +12 -2
- package/src/resources/files.ts +3 -3
- package/src/resources/index.ts +0 -44
- package/src/resources/mailboxes/connections.ts +4 -11
- package/src/resources/mailboxes/mailboxes.ts +5 -4
- package/src/resources/models.ts +16 -23
- package/src/resources/numbers/index.ts +0 -1
- package/src/resources/numbers/messages.ts +11 -15
- package/src/resources/numbers/numbers.ts +31 -40
- package/src/resources/proxies.ts +0 -110
- package/src/resources/tasks/tasks.ts +42 -136
- package/src/resources/webhooks/index.ts +0 -1
- package/src/resources/webhooks/webhooks.ts +6 -60
- package/src/resources/workflows/events.ts +5 -2
- package/src/resources/workflows/executions/executions.ts +27 -31
- package/src/resources/workflows/flows/flows.ts +63 -26
- package/src/resources/workflows/triggers.ts +10 -13
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
- package/resources/app-events/app-events.d.mts +0 -81
- package/resources/app-events/app-events.d.mts.map +0 -1
- package/resources/app-events/app-events.d.ts +0 -81
- package/resources/app-events/app-events.d.ts.map +0 -1
- package/resources/app-events/app-events.js +0 -33
- package/resources/app-events/app-events.js.map +0 -1
- package/resources/app-events/app-events.mjs +0 -28
- package/resources/app-events/app-events.mjs.map +0 -1
- package/resources/app-events/catalog.d.mts +0 -64
- package/resources/app-events/catalog.d.mts.map +0 -1
- package/resources/app-events/catalog.d.ts +0 -64
- package/resources/app-events/catalog.d.ts.map +0 -1
- package/resources/app-events/catalog.js +0 -25
- package/resources/app-events/catalog.js.map +0 -1
- package/resources/app-events/catalog.mjs +0 -21
- package/resources/app-events/catalog.mjs.map +0 -1
- package/resources/app-events/index.d.mts +0 -3
- package/resources/app-events/index.d.mts.map +0 -1
- package/resources/app-events/index.d.ts +0 -3
- package/resources/app-events/index.d.ts.map +0 -1
- package/resources/app-events/index.js +0 -9
- package/resources/app-events/index.js.map +0 -1
- package/resources/app-events/index.mjs +0 -4
- package/resources/app-events/index.mjs.map +0 -1
- package/resources/app-events.d.mts +0 -2
- package/resources/app-events.d.mts.map +0 -1
- package/resources/app-events.d.ts +0 -2
- package/resources/app-events.d.ts.map +0 -1
- package/resources/app-events.js +0 -6
- package/resources/app-events.js.map +0 -1
- package/resources/app-events.mjs +0 -3
- package/resources/app-events.mjs.map +0 -1
- package/resources/carriers.d.mts +0 -331
- package/resources/carriers.d.mts.map +0 -1
- package/resources/carriers.d.ts +0 -331
- package/resources/carriers.d.ts.map +0 -1
- package/resources/carriers.js +0 -46
- package/resources/carriers.js.map +0 -1
- package/resources/carriers.mjs +0 -42
- package/resources/carriers.mjs.map +0 -1
- package/resources/notifications.d.mts +0 -112
- package/resources/notifications.d.mts.map +0 -1
- package/resources/notifications.d.ts +0 -112
- package/resources/notifications.d.ts.map +0 -1
- package/resources/notifications.js +0 -72
- package/resources/notifications.js.map +0 -1
- package/resources/notifications.mjs +0 -68
- package/resources/notifications.mjs.map +0 -1
- package/resources/profiles.d.mts +0 -147
- package/resources/profiles.d.mts.map +0 -1
- package/resources/profiles.d.ts +0 -147
- package/resources/profiles.d.ts.map +0 -1
- package/resources/profiles.js +0 -40
- package/resources/profiles.js.map +0 -1
- package/resources/profiles.mjs +0 -36
- package/resources/profiles.mjs.map +0 -1
- package/resources/store/apps.d.mts +0 -140
- package/resources/store/apps.d.mts.map +0 -1
- package/resources/store/apps.d.ts +0 -140
- package/resources/store/apps.d.ts.map +0 -1
- package/resources/store/apps.js +0 -31
- package/resources/store/apps.js.map +0 -1
- package/resources/store/apps.mjs +0 -27
- package/resources/store/apps.mjs.map +0 -1
- package/resources/store/index.d.mts +0 -3
- package/resources/store/index.d.mts.map +0 -1
- package/resources/store/index.d.ts +0 -3
- package/resources/store/index.d.ts.map +0 -1
- package/resources/store/index.js +0 -9
- package/resources/store/index.js.map +0 -1
- package/resources/store/index.mjs +0 -4
- package/resources/store/index.mjs.map +0 -1
- package/resources/store/store.d.mts +0 -20
- package/resources/store/store.d.mts.map +0 -1
- package/resources/store/store.d.ts +0 -20
- package/resources/store/store.d.ts.map +0 -1
- package/resources/store/store.js +0 -23
- package/resources/store/store.js.map +0 -1
- package/resources/store/store.mjs +0 -18
- package/resources/store/store.mjs.map +0 -1
- package/resources/store.d.mts +0 -2
- package/resources/store.d.mts.map +0 -1
- package/resources/store.d.ts +0 -2
- package/resources/store.d.ts.map +0 -1
- package/resources/store.js +0 -6
- package/resources/store.js.map +0 -1
- package/resources/store.mjs +0 -3
- package/resources/store.mjs.map +0 -1
- package/src/resources/app-events/app-events.ts +0 -133
- package/src/resources/app-events/catalog.ts +0 -100
- package/src/resources/app-events/index.ts +0 -9
- package/src/resources/app-events.ts +0 -3
- package/src/resources/carriers.ts +0 -508
- package/src/resources/notifications.ts +0 -155
- package/src/resources/profiles.ts +0 -232
- package/src/resources/store/apps.ts +0 -993
- package/src/resources/store/index.ts +0 -10
- package/src/resources/store/store.ts +0 -36
- package/src/resources/store.ts +0 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"triggers.d.ts","sourceRoot":"","sources":["../../src/resources/workflows/triggers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,KAAK,MAAM,qBAAkB;AACpC,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAGhE,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;;;;;;;OASG;IACH,MAAM,CAAC,IAAI,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,qBAAqB,CAAC;IAI9F;;;OAGG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,uBAAuB,CAAC;IAI1F;;;;OAIG;IACH,MAAM,CACJ,SAAS,EAAE,MAAM,EACjB,IAAI,GAAE,mBAAmB,GAAG,IAAI,GAAG,SAAc,EACjD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,qBAAqB,CAAC;IAIpC;;;OAGG;IACH,IAAI,CACF,KAAK,GAAE,iBAAiB,GAAG,IAAI,GAAG,SAAc,EAChD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,mBAAmB,CAAC;IAIlC;;OAEG;IACH,MAAM,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,qBAAqB,CAAC;IAItF
|
|
1
|
+
{"version":3,"file":"triggers.d.ts","sourceRoot":"","sources":["../../src/resources/workflows/triggers.ts"],"names":[],"mappings":"AA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AAE,MAAM,GAAG,WAAW,GAAG,WAAW,CAAC;IAE7C,gBAAgB,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;IAElC,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,iBAAiB;IAChC;;;;OAIG;IACH,OAAO,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAC;CACrC;AAED,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,iBAAiB,IAAI,iBAAiB,GAC5C,CAAC;CACH"}
|
|
@@ -58,7 +58,7 @@ class Triggers extends resource_1.APIResource {
|
|
|
58
58
|
* Payload validation:
|
|
59
59
|
*
|
|
60
60
|
* - If the trigger has a `customPayloadSchema`, the payload is validated against
|
|
61
|
-
* it (JSON Schema
|
|
61
|
+
* it (JSON Schema).
|
|
62
62
|
* - If no schema is configured, the payload only needs to be a JSON object — any
|
|
63
63
|
* keys and values are accepted.
|
|
64
64
|
*
|
|
@@ -67,13 +67,11 @@ class Triggers extends resource_1.APIResource {
|
|
|
67
67
|
*
|
|
68
68
|
* Supports an optional `Idempotency-Key` header (1-255 printable ASCII
|
|
69
69
|
* characters), which maps to the derived `invocationId` used for fan-out
|
|
70
|
-
* deduplication
|
|
71
|
-
*
|
|
72
|
-
*
|
|
73
|
-
*
|
|
74
|
-
*
|
|
75
|
-
* executions enqueued by that call); a changed payload under the same key returns
|
|
76
|
-
* 422 `idempotency_key_reused`.
|
|
70
|
+
* deduplication. The payload is bound to the key on the first accepted fire,
|
|
71
|
+
* before fan-out. A repeat with the same key and an identical payload returns 202
|
|
72
|
+
* with `Idempotent-Replayed: true` (`deduplicated: true` when flows were skipped;
|
|
73
|
+
* `enqueuedCount` counts only executions enqueued by that call); a changed payload
|
|
74
|
+
* under the same key returns 422 `idempotency_key_reused`.
|
|
77
75
|
*/
|
|
78
76
|
fire(triggerID, body, options) {
|
|
79
77
|
return this._client.post((0, path_1.path) `/triggers/${triggerID}/fire`, { body, ...options });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"triggers.js","sourceRoot":"","sources":["../../src/resources/workflows/triggers.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAIlD,uDAAiD;AAEjD,MAAa,QAAS,SAAQ,sBAAW;IACvC;;;;;;;;;OASG;IACH,MAAM,CAAC,IAAyB,EAAE,OAAwB;QACxD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,WAAW,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9D,CAAC;IAED;;;OAGG;IACH,QAAQ,CAAC,SAAiB,EAAE,OAAwB;QAClD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,aAAa,SAAS,EAAE,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;IAED;;;;OAIG;IACH,MAAM,CACJ,SAAiB,EACjB,OAA+C,EAAE,EACjD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAA,WAAI,EAAA,aAAa,SAAS,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChF,CAAC;IAED;;;OAGG;IACH,IAAI,CACF,QAA8C,EAAE,EAChD,OA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MAAM,CAAC,SAAiB,EAAE,OAAwB;QAChD,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,aAAa,SAAS,EAAE,EAAE,OAAO,CAAC,CAAC;IACpE,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;OA0BG;IACH,IAAI,CACF,SAAiB,EACjB,IAAuB,EACvB,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,aAAa,SAAS,OAAO,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpF,CAAC;CACF;AAxFD,4BAwFC"}
|
|
@@ -55,7 +55,7 @@ export class Triggers extends APIResource {
|
|
|
55
55
|
* Payload validation:
|
|
56
56
|
*
|
|
57
57
|
* - If the trigger has a `customPayloadSchema`, the payload is validated against
|
|
58
|
-
* it (JSON Schema
|
|
58
|
+
* it (JSON Schema).
|
|
59
59
|
* - If no schema is configured, the payload only needs to be a JSON object — any
|
|
60
60
|
* keys and values are accepted.
|
|
61
61
|
*
|
|
@@ -64,13 +64,11 @@ export class Triggers extends APIResource {
|
|
|
64
64
|
*
|
|
65
65
|
* Supports an optional `Idempotency-Key` header (1-255 printable ASCII
|
|
66
66
|
* characters), which maps to the derived `invocationId` used for fan-out
|
|
67
|
-
* deduplication
|
|
68
|
-
*
|
|
69
|
-
*
|
|
70
|
-
*
|
|
71
|
-
*
|
|
72
|
-
* executions enqueued by that call); a changed payload under the same key returns
|
|
73
|
-
* 422 `idempotency_key_reused`.
|
|
67
|
+
* deduplication. The payload is bound to the key on the first accepted fire,
|
|
68
|
+
* before fan-out. A repeat with the same key and an identical payload returns 202
|
|
69
|
+
* with `Idempotent-Replayed: true` (`deduplicated: true` when flows were skipped;
|
|
70
|
+
* `enqueuedCount` counts only executions enqueued by that call); a changed payload
|
|
71
|
+
* under the same key returns 422 `idempotency_key_reused`.
|
|
74
72
|
*/
|
|
75
73
|
fire(triggerID, body, options) {
|
|
76
74
|
return this._client.post(path `/triggers/${triggerID}/fire`, { body, ...options });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"triggers.mjs","sourceRoot":"","sources":["../../src/resources/workflows/triggers.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAIlD,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD,MAAM,OAAO,QAAS,SAAQ,WAAW;IACvC;;;;;;;;;OASG;IACH,MAAM,CAAC,IAAyB,EAAE,OAAwB;QACxD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,WAAW,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9D,CAAC;IAED;;;OAGG;IACH,QAAQ,CAAC,SAAiB,EAAE,OAAwB;QAClD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,aAAa,SAAS,EAAE,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;IAED;;;;OAIG;IACH,MAAM,CACJ,SAAiB,EACjB,OAA+C,EAAE,EACjD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAA,aAAa,SAAS,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChF,CAAC;IAED;;;OAGG;IACH,IAAI,CACF,QAA8C,EAAE,EAChD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,WAAW,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9D,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,SAAiB,EAAE,OAAwB;QAChD,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,aAAa,SAAS,EAAE,EAAE,OAAO,CAAC,CAAC;IACpE,CAAC;IAED
|
|
1
|
+
{"version":3,"file":"tri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,IAAI,CAAA,aAAa,SAAS,OAAO,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpF,CAAC;CACF"}
|
package/src/client.ts
CHANGED
|
@@ -30,19 +30,6 @@ import {
|
|
|
30
30
|
AppStorageUsageResponse,
|
|
31
31
|
Apps,
|
|
32
32
|
} from './resources/apps';
|
|
33
|
-
import {
|
|
34
|
-
CarrierCreateParams,
|
|
35
|
-
CarrierCreateResponse,
|
|
36
|
-
CarrierDeleteResponse,
|
|
37
|
-
CarrierListParams,
|
|
38
|
-
CarrierListResponse,
|
|
39
|
-
CarrierLookupParams,
|
|
40
|
-
CarrierLookupResponse,
|
|
41
|
-
CarrierRetrieveResponse,
|
|
42
|
-
CarrierUpdateParams,
|
|
43
|
-
CarrierUpdateResponse,
|
|
44
|
-
Carriers,
|
|
45
|
-
} from './resources/carriers';
|
|
46
33
|
import {
|
|
47
34
|
FileCancelPendingResponse,
|
|
48
35
|
FileConfirmResponse,
|
|
@@ -56,26 +43,6 @@ import {
|
|
|
56
43
|
Files,
|
|
57
44
|
} from './resources/files';
|
|
58
45
|
import { ModelListResponse, Models } from './resources/models';
|
|
59
|
-
import {
|
|
60
|
-
NotificationApplyPreferencesPresetParams,
|
|
61
|
-
NotificationApplyPreferencesPresetResponse,
|
|
62
|
-
NotificationCatalogResponse,
|
|
63
|
-
NotificationGetPreferencesResponse,
|
|
64
|
-
NotificationUpdatePreferencesParams,
|
|
65
|
-
NotificationUpdatePreferencesResponse,
|
|
66
|
-
Notifications,
|
|
67
|
-
} from './resources/notifications';
|
|
68
|
-
import {
|
|
69
|
-
ProfileCreateParams,
|
|
70
|
-
ProfileCreateResponse,
|
|
71
|
-
ProfileDeleteResponse,
|
|
72
|
-
ProfileListParams,
|
|
73
|
-
ProfileListResponse,
|
|
74
|
-
ProfileRetrieveResponse,
|
|
75
|
-
ProfileUpdateParams,
|
|
76
|
-
ProfileUpdateResponse,
|
|
77
|
-
Profiles,
|
|
78
|
-
} from './resources/profiles';
|
|
79
46
|
import {
|
|
80
47
|
Proxies,
|
|
81
48
|
ProxyCreateParams,
|
|
@@ -83,18 +50,10 @@ import {
|
|
|
83
50
|
ProxyDeleteResponse,
|
|
84
51
|
ProxyListParams,
|
|
85
52
|
ProxyListResponse,
|
|
86
|
-
ProxyLookupParams,
|
|
87
|
-
ProxyLookupResponse,
|
|
88
53
|
ProxyRetrieveResponse,
|
|
89
54
|
ProxyUpdateParams,
|
|
90
55
|
ProxyUpdateResponse,
|
|
91
56
|
} from './resources/proxies';
|
|
92
|
-
import {
|
|
93
|
-
AppEventListParams,
|
|
94
|
-
AppEventListResponse,
|
|
95
|
-
AppEventRetrieveResponse,
|
|
96
|
-
AppEvents,
|
|
97
|
-
} from './resources/app-events/app-events';
|
|
98
57
|
import { Assistant } from './resources/assistant/assistant';
|
|
99
58
|
import { Connect } from './resources/connect/connect';
|
|
100
59
|
import {
|
|
@@ -153,13 +112,11 @@ import {
|
|
|
153
112
|
NumberDeleteResponse,
|
|
154
113
|
NumberListParams,
|
|
155
114
|
NumberListResponse,
|
|
156
|
-
NumberPurposesResponse,
|
|
157
115
|
NumberRetrieveResponse,
|
|
158
116
|
NumberUpdateParams,
|
|
159
117
|
NumberUpdateResponse,
|
|
160
118
|
Numbers,
|
|
161
119
|
} from './resources/numbers/numbers';
|
|
162
|
-
import { Store, StoreCategoriesResponse } from './resources/store/store';
|
|
163
120
|
import {
|
|
164
121
|
TaskGetStatusResponse,
|
|
165
122
|
TaskGetTrajectoryResponse,
|
|
@@ -178,7 +135,6 @@ import {
|
|
|
178
135
|
import {
|
|
179
136
|
WebhookCreateParams,
|
|
180
137
|
WebhookCreateResponse,
|
|
181
|
-
WebhookEventTypesResponse,
|
|
182
138
|
WebhookListParams,
|
|
183
139
|
WebhookListResponse,
|
|
184
140
|
WebhookRetrieveResponse,
|
|
@@ -914,14 +870,9 @@ export class Mobilerun {
|
|
|
914
870
|
static toFile = Uploads.toFile;
|
|
915
871
|
|
|
916
872
|
apps: API.Apps = new API.Apps(this);
|
|
917
|
-
carriers: API.Carriers = new API.Carriers(this);
|
|
918
873
|
credentials: API.Credentials = new API.Credentials(this);
|
|
919
874
|
devices: API.Devices = new API.Devices(this);
|
|
920
|
-
/**
|
|
921
|
-
* LLM Models
|
|
922
|
-
*/
|
|
923
875
|
models: API.Models = new API.Models(this);
|
|
924
|
-
profiles: API.Profiles = new API.Profiles(this);
|
|
925
876
|
proxies: API.Proxies = new API.Proxies(this);
|
|
926
877
|
connect: API.Connect = new API.Connect(this);
|
|
927
878
|
/**
|
|
@@ -933,19 +884,14 @@ export class Mobilerun {
|
|
|
933
884
|
mailboxes: API.Mailboxes = new API.Mailboxes(this);
|
|
934
885
|
files: API.Files = new API.Files(this);
|
|
935
886
|
assistant: API.Assistant = new API.Assistant(this);
|
|
936
|
-
appEvents: API.AppEvents = new API.AppEvents(this);
|
|
937
|
-
notifications: API.Notifications = new API.Notifications(this);
|
|
938
887
|
messages: API.Messages = new API.Messages(this);
|
|
939
888
|
numbers: API.Numbers = new API.Numbers(this);
|
|
940
|
-
store: API.Store = new API.Store(this);
|
|
941
889
|
}
|
|
942
890
|
|
|
943
891
|
Mobilerun.Apps = Apps;
|
|
944
|
-
Mobilerun.Carriers = Carriers;
|
|
945
892
|
Mobilerun.Credentials = Credentials;
|
|
946
893
|
Mobilerun.Devices = Devices;
|
|
947
894
|
Mobilerun.Models = Models;
|
|
948
|
-
Mobilerun.Profiles = Profiles;
|
|
949
895
|
Mobilerun.Proxies = Proxies;
|
|
950
896
|
Mobilerun.Connect = Connect;
|
|
951
897
|
Mobilerun.Tasks = Tasks;
|
|
@@ -954,11 +900,8 @@ Mobilerun.Webhooks = Webhooks;
|
|
|
954
900
|
Mobilerun.Mailboxes = Mailboxes;
|
|
955
901
|
Mobilerun.Files = Files;
|
|
956
902
|
Mobilerun.Assistant = Assistant;
|
|
957
|
-
Mobilerun.AppEvents = AppEvents;
|
|
958
|
-
Mobilerun.Notifications = Notifications;
|
|
959
903
|
Mobilerun.Messages = Messages;
|
|
960
904
|
Mobilerun.Numbers = Numbers;
|
|
961
|
-
Mobilerun.Store = Store;
|
|
962
905
|
|
|
963
906
|
export declare namespace Mobilerun {
|
|
964
907
|
export type RequestOptions = Opts.RequestOptions;
|
|
@@ -977,20 +920,6 @@ export declare namespace Mobilerun {
|
|
|
977
920
|
type AppCreateSignedUploadURLParams as AppCreateSignedUploadURLParams,
|
|
978
921
|
};
|
|
979
922
|
|
|
980
|
-
export {
|
|
981
|
-
Carriers as Carriers,
|
|
982
|
-
type CarrierCreateResponse as CarrierCreateResponse,
|
|
983
|
-
type CarrierRetrieveResponse as CarrierRetrieveResponse,
|
|
984
|
-
type CarrierUpdateResponse as CarrierUpdateResponse,
|
|
985
|
-
type CarrierListResponse as CarrierListResponse,
|
|
986
|
-
type CarrierDeleteResponse as CarrierDeleteResponse,
|
|
987
|
-
type CarrierLookupResponse as CarrierLookupResponse,
|
|
988
|
-
type CarrierCreateParams as CarrierCreateParams,
|
|
989
|
-
type CarrierUpdateParams as CarrierUpdateParams,
|
|
990
|
-
type CarrierListParams as CarrierListParams,
|
|
991
|
-
type CarrierLookupParams as CarrierLookupParams,
|
|
992
|
-
};
|
|
993
|
-
|
|
994
923
|
export {
|
|
995
924
|
Credentials as Credentials,
|
|
996
925
|
type CredentialListResponse as CredentialListResponse,
|
|
@@ -1018,18 +947,6 @@ export declare namespace Mobilerun {
|
|
|
1018
947
|
|
|
1019
948
|
export { Models as Models, type ModelListResponse as ModelListResponse };
|
|
1020
949
|
|
|
1021
|
-
export {
|
|
1022
|
-
Profiles as Profiles,
|
|
1023
|
-
type ProfileCreateResponse as ProfileCreateResponse,
|
|
1024
|
-
type ProfileRetrieveResponse as ProfileRetrieveResponse,
|
|
1025
|
-
type ProfileUpdateResponse as ProfileUpdateResponse,
|
|
1026
|
-
type ProfileListResponse as ProfileListResponse,
|
|
1027
|
-
type ProfileDeleteResponse as ProfileDeleteResponse,
|
|
1028
|
-
type ProfileCreateParams as ProfileCreateParams,
|
|
1029
|
-
type ProfileUpdateParams as ProfileUpdateParams,
|
|
1030
|
-
type ProfileListParams as ProfileListParams,
|
|
1031
|
-
};
|
|
1032
|
-
|
|
1033
950
|
export {
|
|
1034
951
|
Proxies as Proxies,
|
|
1035
952
|
type ProxyCreateResponse as ProxyCreateResponse,
|
|
@@ -1037,11 +954,9 @@ export declare namespace Mobilerun {
|
|
|
1037
954
|
type ProxyUpdateResponse as ProxyUpdateResponse,
|
|
1038
955
|
type ProxyListResponse as ProxyListResponse,
|
|
1039
956
|
type ProxyDeleteResponse as ProxyDeleteResponse,
|
|
1040
|
-
type ProxyLookupResponse as ProxyLookupResponse,
|
|
1041
957
|
type ProxyCreateParams as ProxyCreateParams,
|
|
1042
958
|
type ProxyUpdateParams as ProxyUpdateParams,
|
|
1043
959
|
type ProxyListParams as ProxyListParams,
|
|
1044
|
-
type ProxyLookupParams as ProxyLookupParams,
|
|
1045
960
|
};
|
|
1046
961
|
|
|
1047
962
|
export { Connect as Connect };
|
|
@@ -1070,7 +985,6 @@ export declare namespace Mobilerun {
|
|
|
1070
985
|
type WebhookRetrieveResponse as WebhookRetrieveResponse,
|
|
1071
986
|
type WebhookUpdateResponse as WebhookUpdateResponse,
|
|
1072
987
|
type WebhookListResponse as WebhookListResponse,
|
|
1073
|
-
type WebhookEventTypesResponse as WebhookEventTypesResponse,
|
|
1074
988
|
type WebhookRotateSecretResponse as WebhookRotateSecretResponse,
|
|
1075
989
|
type WebhookTestDeliveryResponse as WebhookTestDeliveryResponse,
|
|
1076
990
|
type WebhookCreateParams as WebhookCreateParams,
|
|
@@ -1112,23 +1026,6 @@ export declare namespace Mobilerun {
|
|
|
1112
1026
|
|
|
1113
1027
|
export { Assistant as Assistant };
|
|
1114
1028
|
|
|
1115
|
-
export {
|
|
1116
|
-
AppEvents as AppEvents,
|
|
1117
|
-
type AppEventRetrieveResponse as AppEventRetrieveResponse,
|
|
1118
|
-
type AppEventListResponse as AppEventListResponse,
|
|
1119
|
-
type AppEventListParams as AppEventListParams,
|
|
1120
|
-
};
|
|
1121
|
-
|
|
1122
|
-
export {
|
|
1123
|
-
Notifications as Notifications,
|
|
1124
|
-
type NotificationApplyPreferencesPresetResponse as NotificationApplyPreferencesPresetResponse,
|
|
1125
|
-
type NotificationCatalogResponse as NotificationCatalogResponse,
|
|
1126
|
-
type NotificationGetPreferencesResponse as NotificationGetPreferencesResponse,
|
|
1127
|
-
type NotificationUpdatePreferencesResponse as NotificationUpdatePreferencesResponse,
|
|
1128
|
-
type NotificationApplyPreferencesPresetParams as NotificationApplyPreferencesPresetParams,
|
|
1129
|
-
type NotificationUpdatePreferencesParams as NotificationUpdatePreferencesParams,
|
|
1130
|
-
};
|
|
1131
|
-
|
|
1132
1029
|
export {
|
|
1133
1030
|
Messages as Messages,
|
|
1134
1031
|
type MessageRetrieveResponse as MessageRetrieveResponse,
|
|
@@ -1145,15 +1042,12 @@ export declare namespace Mobilerun {
|
|
|
1145
1042
|
type NumberDeleteResponse as NumberDeleteResponse,
|
|
1146
1043
|
type NumberCapacityResponse as NumberCapacityResponse,
|
|
1147
1044
|
type NumberCountriesResponse as NumberCountriesResponse,
|
|
1148
|
-
type NumberPurposesResponse as NumberPurposesResponse,
|
|
1149
1045
|
type NumberCreateParams as NumberCreateParams,
|
|
1150
1046
|
type NumberUpdateParams as NumberUpdateParams,
|
|
1151
1047
|
type NumberListParams as NumberListParams,
|
|
1152
1048
|
type NumberCapacityParams as NumberCapacityParams,
|
|
1153
1049
|
};
|
|
1154
1050
|
|
|
1155
|
-
export { Store as Store, type StoreCategoriesResponse as StoreCategoriesResponse };
|
|
1156
|
-
|
|
1157
1051
|
export type DeviceCarrier = API.DeviceCarrier;
|
|
1158
1052
|
export type DeviceIdentifiers = API.DeviceIdentifiers;
|
|
1159
1053
|
export type DeviceSpec = API.DeviceSpec;
|
package/src/resources/apps.ts
CHANGED
|
@@ -34,8 +34,7 @@ export class Apps extends APIResource {
|
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
/**
|
|
37
|
-
* Deletes an uploaded app by ID. Removes files
|
|
38
|
-
* entry.
|
|
37
|
+
* Deletes an uploaded app by ID. Removes its files and metadata.
|
|
39
38
|
*
|
|
40
39
|
* @example
|
|
41
40
|
* ```ts
|
|
@@ -49,7 +48,7 @@ export class Apps extends APIResource {
|
|
|
49
48
|
}
|
|
50
49
|
|
|
51
50
|
/**
|
|
52
|
-
* Verifies the uploaded files
|
|
51
|
+
* Verifies the uploaded files and sets the app version status to available.
|
|
53
52
|
* Idempotent: replaying confirmation for an already-available version returns the
|
|
54
53
|
* same successful response without re-verifying the files.
|
|
55
54
|
*
|
|
@@ -65,8 +64,20 @@ export class Apps extends APIResource {
|
|
|
65
64
|
}
|
|
66
65
|
|
|
67
66
|
/**
|
|
68
|
-
* Creates or updates an app and returns pre-signed
|
|
69
|
-
*
|
|
67
|
+
* Creates or updates an app and returns pre-signed upload URLs for each file.
|
|
68
|
+
* Honours an optional `Idempotency-Key` header: a retry with the same key and body
|
|
69
|
+
* returns the same app and version with freshly signed URLs and
|
|
70
|
+
* `Idempotent-Replayed: true`, and never creates a second version. An
|
|
71
|
+
* Idempotency-Key is honoured for 7 days; after that it behaves like a fresh
|
|
72
|
+
* request. A replay whose version was deleted is a 404; a replay whose version
|
|
73
|
+
* already left the queued state is a 409 `idempotency_key_consumed`; a replay that
|
|
74
|
+
* cannot get the version lock within 5 s is a 409
|
|
75
|
+
* `idempotency_request_in_progress`. Every response produced by a replay,
|
|
76
|
+
* including those 404/409 errors, carries `Idempotent-Replayed: true`. A same-key
|
|
77
|
+
* request still in flight after a 5 s wait is a 409
|
|
78
|
+
* `idempotency_request_in_progress` (retry after `Retry-After`). If signing fails,
|
|
79
|
+
* nothing is persisted (with or without a key) and the same request, key included,
|
|
80
|
+
* can be retried.
|
|
70
81
|
*
|
|
71
82
|
* @example
|
|
72
83
|
* ```ts
|
|
@@ -123,11 +134,10 @@ export class Apps extends APIResource {
|
|
|
123
134
|
}
|
|
124
135
|
|
|
125
136
|
/**
|
|
126
|
-
* Returns the user’s storage allowance
|
|
127
|
-
*
|
|
128
|
-
*
|
|
129
|
-
*
|
|
130
|
-
* usedBytes is set.
|
|
137
|
+
* Returns the user’s storage allowance in bytes: bytes used, bytes included in the
|
|
138
|
+
* plan, the hard maximum (included + max purchasable overage; null = unlimited)
|
|
139
|
+
* and whether usage above the included amount is billed as overage. With storage
|
|
140
|
+
* billing off there is no limit: only usedBytes is set.
|
|
131
141
|
*
|
|
132
142
|
* @example
|
|
133
143
|
* ```ts
|
|
@@ -478,7 +488,7 @@ export namespace AppListResponse {
|
|
|
478
488
|
|
|
479
489
|
source: 'user' | 'system' | 'portal' | 'store';
|
|
480
490
|
|
|
481
|
-
status: 'queued' | 'available' | 'failed';
|
|
491
|
+
status: 'queued' | 'available' | 'failed' | 'pruned';
|
|
482
492
|
|
|
483
493
|
targetSdk: number | null;
|
|
484
494
|
|
|
@@ -510,17 +520,17 @@ export interface AppConfirmUploadResponse {
|
|
|
510
520
|
|
|
511
521
|
export interface AppCreateSignedUploadURLResponse {
|
|
512
522
|
/**
|
|
513
|
-
* App ID
|
|
523
|
+
* App ID
|
|
514
524
|
*/
|
|
515
525
|
appId: string;
|
|
516
526
|
|
|
517
527
|
/**
|
|
518
|
-
* Pre-signed
|
|
528
|
+
* Pre-signed upload URLs for uploading app files
|
|
519
529
|
*/
|
|
520
530
|
r2UploadUrls: Array<AppCreateSignedUploadURLResponse.R2UploadURL>;
|
|
521
531
|
|
|
522
532
|
/**
|
|
523
|
-
* App version ID
|
|
533
|
+
* App version ID
|
|
524
534
|
*/
|
|
525
535
|
versionId: string;
|
|
526
536
|
}
|
|
@@ -809,7 +819,7 @@ export namespace AppListVersionsResponse {
|
|
|
809
819
|
|
|
810
820
|
source: 'user' | 'system' | 'portal' | 'store';
|
|
811
821
|
|
|
812
|
-
status: 'queued' | 'available' | 'failed';
|
|
822
|
+
status: 'queued' | 'available' | 'failed' | 'pruned';
|
|
813
823
|
|
|
814
824
|
targetSdk: number | null;
|
|
815
825
|
|
|
@@ -839,8 +849,8 @@ export interface AppStorageUsageResponse {
|
|
|
839
849
|
export namespace AppStorageUsageResponse {
|
|
840
850
|
export interface Data {
|
|
841
851
|
/**
|
|
842
|
-
* Bytes included in the plan
|
|
843
|
-
*
|
|
852
|
+
* Bytes included in the plan. Null when unlimited, unknown, or storage billing is
|
|
853
|
+
* off.
|
|
844
854
|
*/
|
|
845
855
|
includedBytes: number | null;
|
|
846
856
|
|
|
@@ -857,8 +867,8 @@ export namespace AppStorageUsageResponse {
|
|
|
857
867
|
overageAllowed: boolean;
|
|
858
868
|
|
|
859
869
|
/**
|
|
860
|
-
* Bytes currently used (
|
|
861
|
-
*
|
|
870
|
+
* Bytes currently used (the sum of the user’s app versions when storage billing is
|
|
871
|
+
* off)
|
|
862
872
|
*/
|
|
863
873
|
usedBytes: number;
|
|
864
874
|
}
|
|
@@ -877,7 +887,7 @@ export interface AppListParams {
|
|
|
877
887
|
|
|
878
888
|
sortBy?: 'createdAt' | 'name';
|
|
879
889
|
|
|
880
|
-
status?: 'all' | 'queued' | 'available' | 'failed';
|
|
890
|
+
status?: 'all' | 'queued' | 'available' | 'failed' | 'pruned';
|
|
881
891
|
}
|
|
882
892
|
|
|
883
893
|
export interface AppCreateSignedUploadURLParams {
|
|
@@ -6,6 +6,9 @@ import { buildHeaders } from '../../internal/headers';
|
|
|
6
6
|
import { RequestOptions } from '../../internal/request-options';
|
|
7
7
|
import { path } from '../../internal/utils/path';
|
|
8
8
|
|
|
9
|
+
/**
|
|
10
|
+
* Manage your Mobilerun Connect Proxies
|
|
11
|
+
*/
|
|
9
12
|
export class Proxies extends APIResource {
|
|
10
13
|
/**
|
|
11
14
|
* Returns the proxy identified by the path ID. The response includes the proxy's
|
|
@@ -23,8 +26,7 @@ export class Proxies extends APIResource {
|
|
|
23
26
|
}
|
|
24
27
|
|
|
25
28
|
/**
|
|
26
|
-
* Returns proxies owned by the
|
|
27
|
-
* to X-User-ID). Credentials are omitted from the list.
|
|
29
|
+
* Returns proxies owned by the caller. Credentials are omitted from the list.
|
|
28
30
|
*/
|
|
29
31
|
list(
|
|
30
32
|
query: ProxyListParams | null | undefined = {},
|
|
@@ -68,8 +70,8 @@ export class Proxies extends APIResource {
|
|
|
68
70
|
/**
|
|
69
71
|
* Returns the connection history recorded for this proxy, one item per connection
|
|
70
72
|
* (aggregated across the connection's lifetime). Supports filtering on every
|
|
71
|
-
* property plus ordering and pagination. Returns 503 when
|
|
72
|
-
*
|
|
73
|
+
* property plus ordering and pagination. Returns 503 when connection history is
|
|
74
|
+
* temporarily unavailable.
|
|
73
75
|
*/
|
|
74
76
|
listConnections(
|
|
75
77
|
id: string,
|
|
@@ -394,7 +396,7 @@ export namespace ProxyListConnectionsResponse {
|
|
|
394
396
|
protocol: 'tcp' | 'udp' | 'unknown';
|
|
395
397
|
|
|
396
398
|
/**
|
|
397
|
-
*
|
|
399
|
+
* Identifier of the upstream provider that served the connection.
|
|
398
400
|
*/
|
|
399
401
|
provider: string;
|
|
400
402
|
|
|
@@ -679,7 +681,7 @@ export interface ProxyListConnectionsParams {
|
|
|
679
681
|
protocol?: 'tcp' | 'udp' | 'unknown';
|
|
680
682
|
|
|
681
683
|
/**
|
|
682
|
-
* Filter to connections served by this upstream provider.
|
|
684
|
+
* Filter to connections served by this upstream provider identifier.
|
|
683
685
|
*/
|
|
684
686
|
provider?: string;
|
|
685
687
|
|
|
@@ -57,8 +57,8 @@ export class Users extends APIResource {
|
|
|
57
57
|
/**
|
|
58
58
|
* Returns the connection history recorded for this user, one item per connection
|
|
59
59
|
* (aggregated across the connection's lifetime). Supports filtering on every
|
|
60
|
-
* property plus ordering and pagination. Returns 503 when
|
|
61
|
-
*
|
|
60
|
+
* property plus ordering and pagination. Returns 503 when connection history is
|
|
61
|
+
* temporarily unavailable.
|
|
62
62
|
*/
|
|
63
63
|
listConnections(
|
|
64
64
|
id: string,
|
|
@@ -247,7 +247,7 @@ export namespace UserListConnectionsResponse {
|
|
|
247
247
|
protocol: 'tcp' | 'udp' | 'unknown';
|
|
248
248
|
|
|
249
249
|
/**
|
|
250
|
-
*
|
|
250
|
+
* Identifier of the upstream provider that served the connection.
|
|
251
251
|
*/
|
|
252
252
|
provider: string;
|
|
253
253
|
|
|
@@ -472,7 +472,7 @@ export interface UserListConnectionsParams {
|
|
|
472
472
|
protocol?: 'tcp' | 'udp' | 'unknown';
|
|
473
473
|
|
|
474
474
|
/**
|
|
475
|
-
* Filter to connections served by this upstream provider.
|
|
475
|
+
* Filter to connections served by this upstream provider identifier.
|
|
476
476
|
*/
|
|
477
477
|
provider?: string;
|
|
478
478
|
|
|
@@ -77,8 +77,10 @@ export class Actions extends APIResource {
|
|
|
77
77
|
|
|
78
78
|
/**
|
|
79
79
|
* Swipes from a start coordinate to an end coordinate over the given duration in
|
|
80
|
-
* milliseconds. An optional
|
|
81
|
-
* paths on devices that support it.
|
|
80
|
+
* milliseconds. An optional humanize flag applies human-like jitter and curved
|
|
81
|
+
* paths on devices that support it. With holdMs > 0 the request returns 422 when
|
|
82
|
+
* combined with humanize, when duration + holdMs exceeds 9000 ms, or on devices
|
|
83
|
+
* that do not support it.
|
|
82
84
|
*/
|
|
83
85
|
swipe(deviceID: string, params: ActionSwipeParams, options?: RequestOptions): APIPromise<void> {
|
|
84
86
|
const { 'X-Device-Display-ID': xDeviceDisplayID, ...body } = params;
|
|
@@ -98,7 +100,7 @@ export class Actions extends APIResource {
|
|
|
98
100
|
}
|
|
99
101
|
|
|
100
102
|
/**
|
|
101
|
-
* Taps the device screen at the given x/y coordinates. An optional
|
|
103
|
+
* Taps the device screen at the given x/y coordinates. An optional humanize flag
|
|
102
104
|
* routes the tap through human-like input on devices that support it.
|
|
103
105
|
*/
|
|
104
106
|
tap(deviceID: string, params: ActionTapParams, options?: RequestOptions): APIPromise<void> {
|
|
@@ -183,7 +185,21 @@ export interface ActionSwipeParams {
|
|
|
183
185
|
startY: number;
|
|
184
186
|
|
|
185
187
|
/**
|
|
186
|
-
* Body param
|
|
188
|
+
* Body param: Keep the finger at the end point for holdMs and suppress fling
|
|
189
|
+
* before lifting, so content moves by about the finger travel. Supported on
|
|
190
|
+
* Android cloud phones.
|
|
191
|
+
*/
|
|
192
|
+
holdMs?: number;
|
|
193
|
+
|
|
194
|
+
/**
|
|
195
|
+
* Body param: Request human-like input where supported by the device. Defaults to
|
|
196
|
+
* false.
|
|
197
|
+
*/
|
|
198
|
+
humanize?: boolean;
|
|
199
|
+
|
|
200
|
+
/**
|
|
201
|
+
* @deprecated Body param: Deprecated: use humanize. Both names must agree when
|
|
202
|
+
* supplied together.
|
|
187
203
|
*/
|
|
188
204
|
stealth?: boolean;
|
|
189
205
|
|
|
@@ -205,7 +221,14 @@ export interface ActionTapParams {
|
|
|
205
221
|
y: number;
|
|
206
222
|
|
|
207
223
|
/**
|
|
208
|
-
* Body param
|
|
224
|
+
* Body param: Request human-like input where supported by the device. Defaults to
|
|
225
|
+
* false.
|
|
226
|
+
*/
|
|
227
|
+
humanize?: boolean;
|
|
228
|
+
|
|
229
|
+
/**
|
|
230
|
+
* @deprecated Body param: Deprecated: use humanize. Both names must agree when
|
|
231
|
+
* supplied together.
|
|
209
232
|
*/
|
|
210
233
|
stealth?: boolean;
|
|
211
234
|
|
|
@@ -215,6 +215,18 @@ export namespace AppListResponse {
|
|
|
215
215
|
versionCode: number;
|
|
216
216
|
|
|
217
217
|
versionName: string;
|
|
218
|
+
|
|
219
|
+
availableUpdate?: AppListResponseItem.AvailableUpdate;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
export namespace AppListResponseItem {
|
|
223
|
+
export interface AvailableUpdate {
|
|
224
|
+
country: string;
|
|
225
|
+
|
|
226
|
+
versionCode: number;
|
|
227
|
+
|
|
228
|
+
versionName: string;
|
|
229
|
+
}
|
|
218
230
|
}
|
|
219
231
|
}
|
|
220
232
|
|
|
@@ -267,6 +279,12 @@ export interface AppListParams {
|
|
|
267
279
|
*/
|
|
268
280
|
includeSystemApps?: boolean;
|
|
269
281
|
|
|
282
|
+
/**
|
|
283
|
+
* Query param: Resolve availableUpdate for Android user apps (one library lookup
|
|
284
|
+
* per app). Off by default.
|
|
285
|
+
*/
|
|
286
|
+
includeUpdates?: boolean;
|
|
287
|
+
|
|
270
288
|
/**
|
|
271
289
|
* Header param
|
|
272
290
|
*/
|