@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 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"apps.js","sourceRoot":"","sources":["../../src/resources/store/apps.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAIlD,uDAAiD;AAEjD,MAAa,IAAK,SAAQ,sBAAW;IACnC;;;OAGG;IACH,QAAQ,CAAC,KAAa,EAAE,OAAwB;QAC9C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,eAAe,KAAK,EAAE,EAAE,OAAO,CAAC,CAAC;IAC/D,CAAC;IAED;;;OAGG;IACH,IAAI,CAAC,QAA0C,EAAE,EAAE,OAAwB;QACzE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,aAAa,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChE,CAAC;IAED;;;OAGG;IACH,cAAc,CAAC,KAAa,EAAE,OAAwB;QACpD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,eAAe,KAAK,MAAM,EAAE,OAAO,CAAC,CAAC;IACpE,CAAC;CACF;AAxBD,oBAwBC"}
|
package/resources/store/apps.mjs
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
import { APIResource } from "../../core/resource.mjs";
|
|
3
|
-
import { path } from "../../internal/utils/path.mjs";
|
|
4
|
-
export class Apps extends APIResource {
|
|
5
|
-
/**
|
|
6
|
-
* Retrieves a single published store listing, including freshly-resolved
|
|
7
|
-
* screenshotUrls. 404 for a draft or absent listing.
|
|
8
|
-
*/
|
|
9
|
-
retrieve(appID, options) {
|
|
10
|
-
return this._client.get(path `/store/apps/${appID}`, options);
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* Paginated list of published store listings, ordered featured desc, sortOrder
|
|
14
|
-
* asc, displayName asc.
|
|
15
|
-
*/
|
|
16
|
-
list(query = {}, options) {
|
|
17
|
-
return this._client.get('/store/apps', { query, ...options });
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* Installs a published store app into the caller's workspace — the existing
|
|
21
|
-
* device-install path takes over from there. 404 if no published listing exists.
|
|
22
|
-
*/
|
|
23
|
-
addToWorkspace(appID, options) {
|
|
24
|
-
return this._client.post(path `/store/apps/${appID}/add`, options);
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
//# sourceMappingURL=apps.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"apps.mjs","sourceRoot":"","sources":["../../src/resources/store/apps.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAIlD,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD,MAAM,OAAO,IAAK,SAAQ,WAAW;IACnC;;;OAGG;IACH,QAAQ,CAAC,KAAa,EAAE,OAAwB;QAC9C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,eAAe,KAAK,EAAE,EAAE,OAAO,CAAC,CAAC;IAC/D,CAAC;IAED;;;OAGG;IACH,IAAI,CAAC,QAA0C,EAAE,EAAE,OAAwB;QACzE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,aAAa,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChE,CAAC;IAED;;;OAGG;IACH,cAAc,CAAC,KAAa,EAAE,OAAwB;QACpD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,eAAe,KAAK,MAAM,EAAE,OAAO,CAAC,CAAC;IACpE,CAAC;CACF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/store/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,IAAI,EACJ,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,yBAAyB,EAC9B,KAAK,aAAa,GACnB,mBAAe;AAChB,OAAO,EAAE,KAAK,EAAE,KAAK,uBAAuB,EAAE,oBAAgB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/store/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,IAAI,EACJ,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,yBAAyB,EAC9B,KAAK,aAAa,GACnB,kBAAe;AAChB,OAAO,EAAE,KAAK,EAAE,KAAK,uBAAuB,EAAE,mBAAgB"}
|
package/resources/store/index.js
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.Store = exports.Apps = void 0;
|
|
5
|
-
var apps_1 = require("./apps.js");
|
|
6
|
-
Object.defineProperty(exports, "Apps", { enumerable: true, get: function () { return apps_1.Apps; } });
|
|
7
|
-
var store_1 = require("./store.js");
|
|
8
|
-
Object.defineProperty(exports, "Store", { enumerable: true, get: function () { return store_1.Store; } });
|
|
9
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/store/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kCAMgB;AALd,4FAAA,IAAI,OAAA;AAMN,oCAA8D;AAArD,8FAAA,KAAK,OAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/store/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EACL,IAAI,GAKL,mBAAe;AAChB,OAAO,EAAE,KAAK,EAAgC,oBAAgB"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { APIResource } from "../../core/resource.mjs";
|
|
2
|
-
import * as AppsAPI from "./apps.mjs";
|
|
3
|
-
import { AppAddToWorkspaceResponse, AppListParams, AppListResponse, AppRetrieveResponse, Apps } from "./apps.mjs";
|
|
4
|
-
import { APIPromise } from "../../core/api-promise.mjs";
|
|
5
|
-
import { RequestOptions } from "../../internal/request-options.mjs";
|
|
6
|
-
export declare class Store extends APIResource {
|
|
7
|
-
apps: AppsAPI.Apps;
|
|
8
|
-
/**
|
|
9
|
-
* Distinct, sorted categories among PUBLISHED store listings. No pagination.
|
|
10
|
-
*/
|
|
11
|
-
categories(options?: RequestOptions): APIPromise<StoreCategoriesResponse>;
|
|
12
|
-
}
|
|
13
|
-
export interface StoreCategoriesResponse {
|
|
14
|
-
categories: Array<string>;
|
|
15
|
-
}
|
|
16
|
-
export declare namespace Store {
|
|
17
|
-
export { type StoreCategoriesResponse as StoreCategoriesResponse };
|
|
18
|
-
export { Apps as Apps, type AppRetrieveResponse as AppRetrieveResponse, type AppListResponse as AppListResponse, type AppAddToWorkspaceResponse as AppAddToWorkspaceResponse, type AppListParams as AppListParams, };
|
|
19
|
-
}
|
|
20
|
-
//# sourceMappingURL=store.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"store.d.mts","sourceRoot":"","sources":["../../src/resources/store/store.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,OAAO,mBAAe;AAClC,OAAO,EAAE,yBAAyB,EAAE,aAAa,EAAE,eAAe,EAAE,mBAAmB,EAAE,IAAI,EAAE,mBAAe;AAC9G,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAEhE,qBAAa,KAAM,SAAQ,WAAW;IACpC,IAAI,EAAE,OAAO,CAAC,IAAI,CAAkC;IAEpD;;OAEG;IACH,UAAU,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,uBAAuB,CAAC;CAG1E;AAED,MAAM,WAAW,uBAAuB;IACtC,UAAU,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAC3B;AAID,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EAAE,KAAK,uBAAuB,IAAI,uBAAuB,EAAE,CAAC;IAEnE,OAAO,EACL,IAAI,IAAI,IAAI,EACZ,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,aAAa,IAAI,aAAa,GACpC,CAAC;CACH"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { APIResource } from "../../core/resource.js";
|
|
2
|
-
import * as AppsAPI from "./apps.js";
|
|
3
|
-
import { AppAddToWorkspaceResponse, AppListParams, AppListResponse, AppRetrieveResponse, Apps } from "./apps.js";
|
|
4
|
-
import { APIPromise } from "../../core/api-promise.js";
|
|
5
|
-
import { RequestOptions } from "../../internal/request-options.js";
|
|
6
|
-
export declare class Store extends APIResource {
|
|
7
|
-
apps: AppsAPI.Apps;
|
|
8
|
-
/**
|
|
9
|
-
* Distinct, sorted categories among PUBLISHED store listings. No pagination.
|
|
10
|
-
*/
|
|
11
|
-
categories(options?: RequestOptions): APIPromise<StoreCategoriesResponse>;
|
|
12
|
-
}
|
|
13
|
-
export interface StoreCategoriesResponse {
|
|
14
|
-
categories: Array<string>;
|
|
15
|
-
}
|
|
16
|
-
export declare namespace Store {
|
|
17
|
-
export { type StoreCategoriesResponse as StoreCategoriesResponse };
|
|
18
|
-
export { Apps as Apps, type AppRetrieveResponse as AppRetrieveResponse, type AppListResponse as AppListResponse, type AppAddToWorkspaceResponse as AppAddToWorkspaceResponse, type AppListParams as AppListParams, };
|
|
19
|
-
}
|
|
20
|
-
//# sourceMappingURL=store.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../src/resources/store/store.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,KAAK,OAAO,kBAAe;AAClC,OAAO,EAAE,yBAAyB,EAAE,aAAa,EAAE,eAAe,EAAE,mBAAmB,EAAE,IAAI,EAAE,kBAAe;AAC9G,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAEhE,qBAAa,KAAM,SAAQ,WAAW;IACpC,IAAI,EAAE,OAAO,CAAC,IAAI,CAAkC;IAEpD;;OAEG;IACH,UAAU,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,uBAAuB,CAAC;CAG1E;AAED,MAAM,WAAW,uBAAuB;IACtC,UAAU,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAC3B;AAID,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EAAE,KAAK,uBAAuB,IAAI,uBAAuB,EAAE,CAAC;IAEnE,OAAO,EACL,IAAI,IAAI,IAAI,EACZ,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,aAAa,IAAI,aAAa,GACpC,CAAC;CACH"}
|
package/resources/store/store.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.Store = void 0;
|
|
5
|
-
const tslib_1 = require("../../internal/tslib.js");
|
|
6
|
-
const resource_1 = require("../../core/resource.js");
|
|
7
|
-
const AppsAPI = tslib_1.__importStar(require("./apps.js"));
|
|
8
|
-
const apps_1 = require("./apps.js");
|
|
9
|
-
class Store extends resource_1.APIResource {
|
|
10
|
-
constructor() {
|
|
11
|
-
super(...arguments);
|
|
12
|
-
this.apps = new AppsAPI.Apps(this._client);
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* Distinct, sorted categories among PUBLISHED store listings. No pagination.
|
|
16
|
-
*/
|
|
17
|
-
categories(options) {
|
|
18
|
-
return this._client.get('/store/categories', options);
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
exports.Store = Store;
|
|
22
|
-
Store.Apps = apps_1.Apps;
|
|
23
|
-
//# sourceMappingURL=store.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"store.js","sourceRoot":"","sources":["../../src/resources/store/store.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,2DAAkC;AAClC,oCAA8G;AAI9G,MAAa,KAAM,SAAQ,sBAAW;IAAtC;;QACE,SAAI,GAAiB,IAAI,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAQtD,CAAC;IANC;;OAEG;IACH,UAAU,CAAC,OAAwB;QACjC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,mBAAmB,EAAE,OAAO,CAAC,CAAC;IACxD,CAAC;CACF;AATD,sBASC;AAMD,KAAK,CAAC,IAAI,GAAG,WAAI,CAAC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
import { APIResource } from "../../core/resource.mjs";
|
|
3
|
-
import * as AppsAPI from "./apps.mjs";
|
|
4
|
-
import { Apps } from "./apps.mjs";
|
|
5
|
-
export class Store extends APIResource {
|
|
6
|
-
constructor() {
|
|
7
|
-
super(...arguments);
|
|
8
|
-
this.apps = new AppsAPI.Apps(this._client);
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* Distinct, sorted categories among PUBLISHED store listings. No pagination.
|
|
12
|
-
*/
|
|
13
|
-
categories(options) {
|
|
14
|
-
return this._client.get('/store/categories', options);
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
Store.Apps = Apps;
|
|
18
|
-
//# sourceMappingURL=store.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"store.mjs","sourceRoot":"","sources":["../../src/resources/store/store.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,OAAO,mBAAe;AAClC,OAAO,EAAkF,IAAI,EAAE,mBAAe;AAI9G,MAAM,OAAO,KAAM,SAAQ,WAAW;IAAtC;;QACE,SAAI,GAAiB,IAAI,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAQtD,CAAC;IANC;;OAEG;IACH,UAAU,CAAC,OAAwB;QACjC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,mBAAmB,EAAE,OAAO,CAAC,CAAC;IACxD,CAAC;CACF;AAMD,KAAK,CAAC,IAAI,GAAG,IAAI,CAAC"}
|
package/resources/store.d.mts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"store.d.mts","sourceRoot":"","sources":["../src/resources/store.ts"],"names":[],"mappings":"AAEA,kCAA8B"}
|
package/resources/store.d.ts
DELETED
package/resources/store.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../src/resources/store.ts"],"names":[],"mappings":"AAEA,iCAA8B"}
|
package/resources/store.js
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
const tslib_1 = require("../internal/tslib.js");
|
|
5
|
-
tslib_1.__exportStar(require("./store/index.js"), exports);
|
|
6
|
-
//# sourceMappingURL=store.js.map
|
package/resources/store.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"store.js","sourceRoot":"","sources":["../src/resources/store.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,2DAA8B"}
|
package/resources/store.mjs
DELETED
package/resources/store.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"store.mjs","sourceRoot":"","sources":["../src/resources/store.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,kCAA8B"}
|
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
import { APIResource } from '../../core/resource';
|
|
4
|
-
import * as Shared from '../shared';
|
|
5
|
-
import * as CatalogAPI from './catalog';
|
|
6
|
-
import { Catalog, CatalogListResponse, CatalogRetrieveResponse } from './catalog';
|
|
7
|
-
import { APIPromise } from '../../core/api-promise';
|
|
8
|
-
import { RequestOptions } from '../../internal/request-options';
|
|
9
|
-
import { path } from '../../internal/utils/path';
|
|
10
|
-
|
|
11
|
-
export class AppEvents extends APIResource {
|
|
12
|
-
catalog: CatalogAPI.Catalog = new CatalogAPI.Catalog(this._client);
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* Fetch a single structured app event by its ID, including its typed payload,
|
|
16
|
-
* source, and originating device. Returns 404 if no event matches.
|
|
17
|
-
*/
|
|
18
|
-
retrieve(id: string, options?: RequestOptions): APIPromise<AppEventRetrieveResponse> {
|
|
19
|
-
return this._client.get(path`/app-events/${id}`, options);
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* Structured, app-scoped events (e.g. app.whatsapp.message_received) derived from
|
|
24
|
-
* raw device notifications. Typed columns — not raw payloads (those stay in the
|
|
25
|
-
* event log).
|
|
26
|
-
*/
|
|
27
|
-
list(
|
|
28
|
-
query: AppEventListParams | null | undefined = {},
|
|
29
|
-
options?: RequestOptions,
|
|
30
|
-
): APIPromise<AppEventListResponse> {
|
|
31
|
-
return this._client.get('/app-events', { query, ...options });
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
export interface AppEventRetrieveResponse {
|
|
36
|
-
data: AppEventRetrieveResponse.Data;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
export namespace AppEventRetrieveResponse {
|
|
40
|
-
export interface Data {
|
|
41
|
-
id: string;
|
|
42
|
-
|
|
43
|
-
createdAt: string | null;
|
|
44
|
-
|
|
45
|
-
createdBy: string | null;
|
|
46
|
-
|
|
47
|
-
deviceId: string | null;
|
|
48
|
-
|
|
49
|
-
eventType: string;
|
|
50
|
-
|
|
51
|
-
occurredAt: string | null;
|
|
52
|
-
|
|
53
|
-
ownerId: string;
|
|
54
|
-
|
|
55
|
-
payload: { [key: string]: unknown };
|
|
56
|
-
|
|
57
|
-
rawEventId: string | null;
|
|
58
|
-
|
|
59
|
-
source: 'app' | 'system' | 'device' | 'webhook';
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* @deprecated Deprecated: use ownerId (tenancy) / createdBy (actor).
|
|
63
|
-
*/
|
|
64
|
-
userId: string;
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
export interface AppEventListResponse {
|
|
69
|
-
items: Array<AppEventListResponse.Item>;
|
|
70
|
-
|
|
71
|
-
pagination: Shared.Pagination;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
export namespace AppEventListResponse {
|
|
75
|
-
export interface Item {
|
|
76
|
-
id: string;
|
|
77
|
-
|
|
78
|
-
createdAt: string | null;
|
|
79
|
-
|
|
80
|
-
createdBy: string | null;
|
|
81
|
-
|
|
82
|
-
deviceId: string | null;
|
|
83
|
-
|
|
84
|
-
eventType: string;
|
|
85
|
-
|
|
86
|
-
occurredAt: string | null;
|
|
87
|
-
|
|
88
|
-
ownerId: string;
|
|
89
|
-
|
|
90
|
-
payload: { [key: string]: unknown };
|
|
91
|
-
|
|
92
|
-
rawEventId: string | null;
|
|
93
|
-
|
|
94
|
-
source: 'app' | 'system' | 'device' | 'webhook';
|
|
95
|
-
|
|
96
|
-
/**
|
|
97
|
-
* @deprecated Deprecated: use ownerId (tenancy) / createdBy (actor).
|
|
98
|
-
*/
|
|
99
|
-
userId: string;
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
export interface AppEventListParams {
|
|
104
|
-
deviceId?: string;
|
|
105
|
-
|
|
106
|
-
eventType?: string;
|
|
107
|
-
|
|
108
|
-
from?: string | null;
|
|
109
|
-
|
|
110
|
-
page?: number;
|
|
111
|
-
|
|
112
|
-
pageSize?: number;
|
|
113
|
-
|
|
114
|
-
source?: 'app' | 'system' | 'device' | 'webhook';
|
|
115
|
-
|
|
116
|
-
to?: string | null;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
AppEvents.Catalog = Catalog;
|
|
120
|
-
|
|
121
|
-
export declare namespace AppEvents {
|
|
122
|
-
export {
|
|
123
|
-
type AppEventRetrieveResponse as AppEventRetrieveResponse,
|
|
124
|
-
type AppEventListResponse as AppEventListResponse,
|
|
125
|
-
type AppEventListParams as AppEventListParams,
|
|
126
|
-
};
|
|
127
|
-
|
|
128
|
-
export {
|
|
129
|
-
Catalog as Catalog,
|
|
130
|
-
type CatalogRetrieveResponse as CatalogRetrieveResponse,
|
|
131
|
-
type CatalogListResponse as CatalogListResponse,
|
|
132
|
-
};
|
|
133
|
-
}
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
import { APIResource } from '../../core/resource';
|
|
4
|
-
import { APIPromise } from '../../core/api-promise';
|
|
5
|
-
import { RequestOptions } from '../../internal/request-options';
|
|
6
|
-
import { path } from '../../internal/utils/path';
|
|
7
|
-
|
|
8
|
-
export class Catalog extends APIResource {
|
|
9
|
-
/**
|
|
10
|
-
* Fetch a single selectable app event by its appEventType (e.g.
|
|
11
|
-
* app.whatsapp.message_received).
|
|
12
|
-
*/
|
|
13
|
-
retrieve(appEventType: string, options?: RequestOptions): APIPromise<CatalogRetrieveResponse> {
|
|
14
|
-
return this._client.get(path`/app-events/catalog/${appEventType}`, options);
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* Selectable app-based trigger events (e.g. app.whatsapp.message_received) with
|
|
19
|
-
* their predefined payload — served from the JSON definition registry (always in
|
|
20
|
-
* sync, no DB).
|
|
21
|
-
*/
|
|
22
|
-
list(options?: RequestOptions): APIPromise<CatalogListResponse> {
|
|
23
|
-
return this._client.get('/app-events/catalog', options);
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export interface CatalogRetrieveResponse {
|
|
28
|
-
data: CatalogRetrieveResponse.Data;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
export namespace CatalogRetrieveResponse {
|
|
32
|
-
export interface Data {
|
|
33
|
-
appEventType: string;
|
|
34
|
-
|
|
35
|
-
appName: string;
|
|
36
|
-
|
|
37
|
-
category: 'app' | 'system' | 'device' | 'webhook';
|
|
38
|
-
|
|
39
|
-
label: string;
|
|
40
|
-
|
|
41
|
-
packageName: string | null;
|
|
42
|
-
|
|
43
|
-
payloadSchema: Array<Data.PayloadSchema>;
|
|
44
|
-
|
|
45
|
-
sourceEventType: string;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
export namespace Data {
|
|
49
|
-
export interface PayloadSchema {
|
|
50
|
-
description: string;
|
|
51
|
-
|
|
52
|
-
name: string;
|
|
53
|
-
|
|
54
|
-
type: 'string' | 'number' | 'boolean' | 'object' | 'array';
|
|
55
|
-
|
|
56
|
-
example?: unknown;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
export interface CatalogListResponse {
|
|
62
|
-
data: Array<CatalogListResponse.Data>;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
export namespace CatalogListResponse {
|
|
66
|
-
export interface Data {
|
|
67
|
-
appEventType: string;
|
|
68
|
-
|
|
69
|
-
appName: string;
|
|
70
|
-
|
|
71
|
-
category: 'app' | 'system' | 'device' | 'webhook';
|
|
72
|
-
|
|
73
|
-
label: string;
|
|
74
|
-
|
|
75
|
-
packageName: string | null;
|
|
76
|
-
|
|
77
|
-
payloadSchema: Array<Data.PayloadSchema>;
|
|
78
|
-
|
|
79
|
-
sourceEventType: string;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
export namespace Data {
|
|
83
|
-
export interface PayloadSchema {
|
|
84
|
-
description: string;
|
|
85
|
-
|
|
86
|
-
name: string;
|
|
87
|
-
|
|
88
|
-
type: 'string' | 'number' | 'boolean' | 'object' | 'array';
|
|
89
|
-
|
|
90
|
-
example?: unknown;
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
export declare namespace Catalog {
|
|
96
|
-
export {
|
|
97
|
-
type CatalogRetrieveResponse as CatalogRetrieveResponse,
|
|
98
|
-
type CatalogListResponse as CatalogListResponse,
|
|
99
|
-
};
|
|
100
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
export {
|
|
4
|
-
AppEvents,
|
|
5
|
-
type AppEventRetrieveResponse,
|
|
6
|
-
type AppEventListResponse,
|
|
7
|
-
type AppEventListParams,
|
|
8
|
-
} from './app-events';
|
|
9
|
-
export { Catalog, type CatalogRetrieveResponse, type CatalogListResponse } from './catalog';
|