@mobilerun/sdk 5.1.0 → 5.2.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 +41 -0
- package/client.d.mts +4 -16
- package/client.d.mts.map +1 -1
- package/client.d.ts +4 -16
- package/client.d.ts.map +1 -1
- package/client.js +0 -12
- package/client.js.map +1 -1
- package/client.mjs +1 -13
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/apps.d.mts +12 -7
- package/resources/apps.d.mts.map +1 -1
- package/resources/apps.d.ts +12 -7
- package/resources/apps.d.ts.map +1 -1
- package/resources/apps.js +0 -4
- package/resources/apps.js.map +1 -1
- package/resources/apps.mjs +0 -4
- package/resources/apps.mjs.map +1 -1
- package/resources/carriers.d.mts +0 -3
- package/resources/carriers.d.mts.map +1 -1
- package/resources/carriers.d.ts +0 -3
- package/resources/carriers.d.ts.map +1 -1
- package/resources/carriers.js +0 -3
- package/resources/carriers.js.map +1 -1
- package/resources/carriers.mjs +0 -3
- package/resources/carriers.mjs.map +1 -1
- package/resources/connect/countries.d.mts +8 -3
- package/resources/connect/countries.d.mts.map +1 -1
- package/resources/connect/countries.d.ts +8 -3
- package/resources/connect/countries.d.ts.map +1 -1
- package/resources/connect/countries.js +6 -1
- package/resources/connect/countries.js.map +1 -1
- package/resources/connect/countries.mjs +6 -1
- package/resources/connect/countries.mjs.map +1 -1
- package/resources/connect/proxies.d.mts +11 -9
- package/resources/connect/proxies.d.mts.map +1 -1
- package/resources/connect/proxies.d.ts +11 -9
- package/resources/connect/proxies.d.ts.map +1 -1
- package/resources/connect/proxies.js +7 -5
- package/resources/connect/proxies.js.map +1 -1
- package/resources/connect/proxies.mjs +7 -5
- package/resources/connect/proxies.mjs.map +1 -1
- package/resources/connect/users.d.mts +7 -2
- package/resources/connect/users.d.mts.map +1 -1
- package/resources/connect/users.d.ts +7 -2
- package/resources/connect/users.d.ts.map +1 -1
- package/resources/connect/users.js +7 -2
- package/resources/connect/users.js.map +1 -1
- package/resources/connect/users.mjs +7 -2
- package/resources/connect/users.mjs.map +1 -1
- package/resources/credentials/credentials.d.mts +3 -4
- package/resources/credentials/credentials.d.mts.map +1 -1
- package/resources/credentials/credentials.d.ts +3 -4
- package/resources/credentials/credentials.d.ts.map +1 -1
- package/resources/credentials/credentials.js +3 -4
- package/resources/credentials/credentials.js.map +1 -1
- package/resources/credentials/credentials.mjs +3 -4
- package/resources/credentials/credentials.mjs.map +1 -1
- package/resources/credentials/packages/credentials/credentials.d.mts +14 -7
- package/resources/credentials/packages/credentials/credentials.d.mts.map +1 -1
- package/resources/credentials/packages/credentials/credentials.d.ts +14 -7
- package/resources/credentials/packages/credentials/credentials.d.ts.map +1 -1
- package/resources/credentials/packages/credentials/credentials.js +7 -6
- package/resources/credentials/packages/credentials/credentials.js.map +1 -1
- package/resources/credentials/packages/credentials/credentials.mjs +7 -6
- package/resources/credentials/packages/credentials/credentials.mjs.map +1 -1
- package/resources/credentials/packages/credentials/fields.d.mts +8 -6
- package/resources/credentials/packages/credentials/fields.d.mts.map +1 -1
- package/resources/credentials/packages/credentials/fields.d.ts +8 -6
- package/resources/credentials/packages/credentials/fields.d.ts.map +1 -1
- package/resources/credentials/packages/credentials/fields.js +8 -6
- package/resources/credentials/packages/credentials/fields.js.map +1 -1
- package/resources/credentials/packages/credentials/fields.mjs +8 -6
- package/resources/credentials/packages/credentials/fields.mjs.map +1 -1
- package/resources/credentials/packages/packages.d.mts +5 -5
- package/resources/credentials/packages/packages.d.mts.map +1 -1
- package/resources/credentials/packages/packages.d.ts +5 -5
- package/resources/credentials/packages/packages.d.ts.map +1 -1
- package/resources/credentials/packages/packages.js +5 -5
- package/resources/credentials/packages/packages.js.map +1 -1
- package/resources/credentials/packages/packages.mjs +5 -5
- package/resources/credentials/packages/packages.mjs.map +1 -1
- package/resources/devices/actions.d.mts +10 -5
- package/resources/devices/actions.d.mts.map +1 -1
- package/resources/devices/actions.d.ts +10 -5
- package/resources/devices/actions.d.ts.map +1 -1
- package/resources/devices/actions.js +10 -5
- package/resources/devices/actions.js.map +1 -1
- package/resources/devices/actions.mjs +10 -5
- package/resources/devices/actions.mjs.map +1 -1
- package/resources/devices/apps.d.mts +38 -5
- package/resources/devices/apps.d.mts.map +1 -1
- package/resources/devices/apps.d.ts +38 -5
- package/resources/devices/apps.d.ts.map +1 -1
- package/resources/devices/apps.js +21 -5
- package/resources/devices/apps.js.map +1 -1
- package/resources/devices/apps.mjs +21 -5
- package/resources/devices/apps.mjs.map +1 -1
- package/resources/devices/devices.d.mts +76 -14
- package/resources/devices/devices.d.mts.map +1 -1
- package/resources/devices/devices.d.ts +76 -14
- package/resources/devices/devices.d.ts.map +1 -1
- package/resources/devices/devices.js +28 -12
- package/resources/devices/devices.js.map +1 -1
- package/resources/devices/devices.mjs +28 -12
- package/resources/devices/devices.mjs.map +1 -1
- package/resources/devices/esim.d.mts +6 -4
- package/resources/devices/esim.d.mts.map +1 -1
- package/resources/devices/esim.d.ts +6 -4
- package/resources/devices/esim.d.ts.map +1 -1
- package/resources/devices/esim.js +6 -4
- package/resources/devices/esim.js.map +1 -1
- package/resources/devices/esim.mjs +6 -4
- package/resources/devices/esim.mjs.map +1 -1
- package/resources/devices/files.d.mts +7 -4
- package/resources/devices/files.d.mts.map +1 -1
- package/resources/devices/files.d.ts +7 -4
- package/resources/devices/files.d.ts.map +1 -1
- package/resources/devices/files.js +7 -4
- package/resources/devices/files.js.map +1 -1
- package/resources/devices/files.mjs +7 -4
- package/resources/devices/files.mjs.map +1 -1
- package/resources/devices/keyboard.d.mts +5 -3
- package/resources/devices/keyboard.d.mts.map +1 -1
- package/resources/devices/keyboard.d.ts +5 -3
- package/resources/devices/keyboard.d.ts.map +1 -1
- package/resources/devices/keyboard.js +5 -3
- package/resources/devices/keyboard.js.map +1 -1
- package/resources/devices/keyboard.mjs +5 -3
- package/resources/devices/keyboard.mjs.map +1 -1
- package/resources/devices/language.d.mts +4 -2
- package/resources/devices/language.d.mts.map +1 -1
- package/resources/devices/language.d.ts +4 -2
- package/resources/devices/language.d.ts.map +1 -1
- package/resources/devices/language.js +4 -2
- package/resources/devices/language.js.map +1 -1
- package/resources/devices/language.mjs +4 -2
- package/resources/devices/language.mjs.map +1 -1
- package/resources/devices/location.d.mts +4 -2
- package/resources/devices/location.d.mts.map +1 -1
- package/resources/devices/location.d.ts +4 -2
- package/resources/devices/location.d.ts.map +1 -1
- package/resources/devices/location.js +4 -2
- package/resources/devices/location.js.map +1 -1
- package/resources/devices/location.mjs +4 -2
- package/resources/devices/location.mjs.map +1 -1
- package/resources/devices/packages.d.mts +2 -1
- package/resources/devices/packages.d.mts.map +1 -1
- package/resources/devices/packages.d.ts +2 -1
- package/resources/devices/packages.d.ts.map +1 -1
- package/resources/devices/packages.js +2 -1
- package/resources/devices/packages.js.map +1 -1
- package/resources/devices/packages.mjs +2 -1
- package/resources/devices/packages.mjs.map +1 -1
- package/resources/devices/proxy.d.mts +29 -3
- package/resources/devices/proxy.d.mts.map +1 -1
- package/resources/devices/proxy.d.ts +29 -3
- package/resources/devices/proxy.d.ts.map +1 -1
- package/resources/devices/proxy.js +7 -3
- package/resources/devices/proxy.js.map +1 -1
- package/resources/devices/proxy.mjs +7 -3
- package/resources/devices/proxy.mjs.map +1 -1
- package/resources/devices/state.d.mts +7 -3
- package/resources/devices/state.d.mts.map +1 -1
- package/resources/devices/state.d.ts +7 -3
- package/resources/devices/state.d.ts.map +1 -1
- package/resources/devices/state.js +6 -3
- package/resources/devices/state.js.map +1 -1
- package/resources/devices/state.mjs +6 -3
- package/resources/devices/state.mjs.map +1 -1
- package/resources/devices/tasks.d.mts +4 -12
- package/resources/devices/tasks.d.mts.map +1 -1
- package/resources/devices/tasks.d.ts +4 -12
- package/resources/devices/tasks.d.ts.map +1 -1
- package/resources/devices/tasks.js +2 -4
- package/resources/devices/tasks.js.map +1 -1
- package/resources/devices/tasks.mjs +2 -4
- package/resources/devices/tasks.mjs.map +1 -1
- package/resources/devices/timezone.d.mts +4 -2
- package/resources/devices/timezone.d.mts.map +1 -1
- package/resources/devices/timezone.d.ts +4 -2
- package/resources/devices/timezone.d.ts.map +1 -1
- package/resources/devices/timezone.js +4 -2
- package/resources/devices/timezone.js.map +1 -1
- package/resources/devices/timezone.mjs +4 -2
- package/resources/devices/timezone.mjs.map +1 -1
- package/resources/hooks.d.mts +0 -239
- package/resources/hooks.d.mts.map +1 -1
- package/resources/hooks.d.ts +0 -239
- package/resources/hooks.d.ts.map +1 -1
- package/resources/hooks.js +0 -57
- package/resources/hooks.js.map +1 -1
- package/resources/hooks.mjs +0 -57
- package/resources/hooks.mjs.map +1 -1
- package/resources/index.d.mts +2 -2
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +2 -2
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/profiles.d.mts +69 -6
- package/resources/profiles.d.mts.map +1 -1
- package/resources/profiles.d.ts +69 -6
- package/resources/profiles.d.ts.map +1 -1
- package/resources/profiles.js.map +1 -1
- package/resources/profiles.mjs.map +1 -1
- package/resources/proxies.d.mts +14 -8
- package/resources/proxies.d.mts.map +1 -1
- package/resources/proxies.d.ts +14 -8
- package/resources/proxies.d.ts.map +1 -1
- package/resources/proxies.js +14 -8
- package/resources/proxies.js.map +1 -1
- package/resources/proxies.mjs +14 -8
- package/resources/proxies.mjs.map +1 -1
- package/resources/shared.d.mts +14 -0
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +14 -0
- package/resources/shared.d.ts.map +1 -1
- package/resources/tasks/tasks.d.mts +159 -64
- package/resources/tasks/tasks.d.mts.map +1 -1
- package/resources/tasks/tasks.d.ts +159 -64
- package/resources/tasks/tasks.d.ts.map +1 -1
- package/resources/tasks/tasks.js +10 -2
- package/resources/tasks/tasks.js.map +1 -1
- package/resources/tasks/tasks.mjs +10 -2
- package/resources/tasks/tasks.mjs.map +1 -1
- package/resources/webhooks/deliveries.d.mts +38 -4
- package/resources/webhooks/deliveries.d.mts.map +1 -1
- package/resources/webhooks/deliveries.d.ts +38 -4
- package/resources/webhooks/deliveries.d.ts.map +1 -1
- package/resources/webhooks/deliveries.js +15 -4
- package/resources/webhooks/deliveries.js.map +1 -1
- package/resources/webhooks/deliveries.mjs +15 -4
- package/resources/webhooks/deliveries.mjs.map +1 -1
- package/resources/webhooks/webhooks.d.mts +67 -9
- package/resources/webhooks/webhooks.d.mts.map +1 -1
- package/resources/webhooks/webhooks.d.ts +67 -9
- package/resources/webhooks/webhooks.d.ts.map +1 -1
- package/resources/webhooks/webhooks.js +26 -8
- package/resources/webhooks/webhooks.js.map +1 -1
- package/resources/webhooks/webhooks.mjs +26 -8
- package/resources/webhooks/webhooks.mjs.map +1 -1
- package/resources/workflows/action-catalog.d.mts +5 -2
- package/resources/workflows/action-catalog.d.mts.map +1 -1
- package/resources/workflows/action-catalog.d.ts +5 -2
- package/resources/workflows/action-catalog.d.ts.map +1 -1
- package/resources/workflows/action-catalog.js +5 -2
- package/resources/workflows/action-catalog.js.map +1 -1
- package/resources/workflows/action-catalog.mjs +5 -2
- package/resources/workflows/action-catalog.mjs.map +1 -1
- package/resources/workflows/actions/actions.d.mts +15 -5
- package/resources/workflows/actions/actions.d.mts.map +1 -1
- package/resources/workflows/actions/actions.d.ts +15 -5
- package/resources/workflows/actions/actions.d.ts.map +1 -1
- package/resources/workflows/actions/actions.js +10 -5
- package/resources/workflows/actions/actions.js.map +1 -1
- package/resources/workflows/actions/actions.mjs +10 -5
- package/resources/workflows/actions/actions.mjs.map +1 -1
- package/resources/workflows/actions/services.d.mts +5 -2
- package/resources/workflows/actions/services.d.mts.map +1 -1
- package/resources/workflows/actions/services.d.ts +5 -2
- package/resources/workflows/actions/services.d.ts.map +1 -1
- package/resources/workflows/actions/services.js +5 -2
- package/resources/workflows/actions/services.js.map +1 -1
- package/resources/workflows/actions/services.mjs +5 -2
- package/resources/workflows/actions/services.mjs.map +1 -1
- package/resources/workflows/events/catalog.d.mts +0 -51
- package/resources/workflows/events/catalog.d.mts.map +1 -1
- package/resources/workflows/events/catalog.d.ts +0 -51
- package/resources/workflows/events/catalog.d.ts.map +1 -1
- package/resources/workflows/events/catalog.js +0 -12
- package/resources/workflows/events/catalog.js.map +1 -1
- package/resources/workflows/events/catalog.mjs +0 -12
- package/resources/workflows/events/catalog.mjs.map +1 -1
- package/resources/workflows/events/events.d.mts +10 -20
- package/resources/workflows/events/events.d.mts.map +1 -1
- package/resources/workflows/events/events.d.ts +10 -20
- package/resources/workflows/events/events.d.ts.map +1 -1
- package/resources/workflows/events/events.js.map +1 -1
- package/resources/workflows/events/events.mjs +1 -1
- package/resources/workflows/events/events.mjs.map +1 -1
- package/resources/workflows/events/index.d.mts +1 -1
- package/resources/workflows/events/index.d.mts.map +1 -1
- package/resources/workflows/events/index.d.ts +1 -1
- package/resources/workflows/events/index.d.ts.map +1 -1
- package/resources/workflows/events/index.js.map +1 -1
- package/resources/workflows/events/index.mjs +1 -1
- package/resources/workflows/events/index.mjs.map +1 -1
- package/resources/workflows/executions.d.mts +43 -5
- package/resources/workflows/executions.d.mts.map +1 -1
- package/resources/workflows/executions.d.ts +43 -5
- package/resources/workflows/executions.d.ts.map +1 -1
- package/resources/workflows/executions.js +8 -3
- package/resources/workflows/executions.js.map +1 -1
- package/resources/workflows/executions.mjs +8 -3
- package/resources/workflows/executions.mjs.map +1 -1
- package/resources/workflows/flows/actions.d.mts +12 -4
- package/resources/workflows/flows/actions.d.mts.map +1 -1
- package/resources/workflows/flows/actions.d.ts +12 -4
- package/resources/workflows/flows/actions.d.ts.map +1 -1
- package/resources/workflows/flows/actions.js +12 -4
- package/resources/workflows/flows/actions.js.map +1 -1
- package/resources/workflows/flows/actions.mjs +12 -4
- package/resources/workflows/flows/actions.mjs.map +1 -1
- package/resources/workflows/flows/flows.d.mts +33 -7
- package/resources/workflows/flows/flows.d.mts.map +1 -1
- package/resources/workflows/flows/flows.d.ts +33 -7
- package/resources/workflows/flows/flows.d.ts.map +1 -1
- package/resources/workflows/flows/flows.js +18 -6
- package/resources/workflows/flows/flows.js.map +1 -1
- package/resources/workflows/flows/flows.mjs +18 -6
- package/resources/workflows/flows/flows.mjs.map +1 -1
- package/resources/workflows/triggers.d.mts +75 -63
- package/resources/workflows/triggers.d.mts.map +1 -1
- package/resources/workflows/triggers.d.ts +75 -63
- package/resources/workflows/triggers.d.ts.map +1 -1
- package/resources/workflows/triggers.js +12 -5
- package/resources/workflows/triggers.js.map +1 -1
- package/resources/workflows/triggers.mjs +12 -5
- package/resources/workflows/triggers.mjs.map +1 -1
- package/resources/workflows/workflows.d.mts +15 -0
- package/resources/workflows/workflows.d.mts.map +1 -1
- package/resources/workflows/workflows.d.ts +15 -0
- package/resources/workflows/workflows.d.ts.map +1 -1
- package/resources/workflows/workflows.js.map +1 -1
- package/resources/workflows/workflows.mjs.map +1 -1
- package/src/client.ts +8 -46
- package/src/resources/apps.ts +16 -8
- package/src/resources/carriers.ts +0 -3
- package/src/resources/connect/countries.ts +8 -3
- package/src/resources/connect/proxies.ts +11 -9
- package/src/resources/connect/users.ts +7 -2
- package/src/resources/credentials/credentials.ts +3 -4
- package/src/resources/credentials/packages/credentials/credentials.ts +16 -7
- package/src/resources/credentials/packages/credentials/fields.ts +8 -6
- package/src/resources/credentials/packages/packages.ts +5 -5
- package/src/resources/devices/actions.ts +10 -5
- package/src/resources/devices/apps.ts +41 -5
- package/src/resources/devices/devices.ts +97 -15
- package/src/resources/devices/esim.ts +6 -4
- package/src/resources/devices/files.ts +7 -4
- package/src/resources/devices/keyboard.ts +5 -3
- package/src/resources/devices/language.ts +4 -2
- package/src/resources/devices/location.ts +4 -2
- package/src/resources/devices/packages.ts +2 -1
- package/src/resources/devices/proxy.ts +32 -3
- package/src/resources/devices/state.ts +8 -3
- package/src/resources/devices/tasks.ts +4 -15
- package/src/resources/devices/timezone.ts +4 -2
- package/src/resources/hooks.ts +1 -333
- package/src/resources/index.ts +4 -17
- package/src/resources/profiles.ts +105 -6
- package/src/resources/proxies.ts +14 -8
- package/src/resources/shared.ts +17 -0
- package/src/resources/tasks/tasks.ts +198 -78
- package/src/resources/webhooks/deliveries.ts +43 -4
- package/src/resources/webhooks/webhooks.ts +79 -9
- package/src/resources/workflows/action-catalog.ts +5 -2
- package/src/resources/workflows/actions/actions.ts +17 -5
- package/src/resources/workflows/actions/services.ts +5 -2
- package/src/resources/workflows/events/catalog.ts +1 -84
- package/src/resources/workflows/events/events.ts +14 -36
- package/src/resources/workflows/events/index.ts +1 -7
- package/src/resources/workflows/executions.ts +50 -5
- package/src/resources/workflows/flows/actions.ts +12 -4
- package/src/resources/workflows/flows/flows.ts +41 -7
- package/src/resources/workflows/triggers.ts +92 -75
- package/src/resources/workflows/workflows.ts +21 -0
- 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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"services.d.ts","sourceRoot":"","sources":["../../../src/resources/workflows/actions/services.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kCAA+B;AACrD,OAAO,EAAE,UAAU,EAAE,qCAAkC;AACvD,OAAO,EAAE,cAAc,EAAE,6CAA0C;AAGnE,qBAAa,QAAS,SAAQ,WAAW;IACvC
|
|
1
|
+
{"version":3,"file":"services.d.ts","sourceRoot":"","sources":["../../../src/resources/workflows/actions/services.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kCAA+B;AACrD,OAAO,EAAE,UAAU,EAAE,qCAAkC;AACvD,OAAO,EAAE,cAAc,EAAE,6CAA0C;AAGnE,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;OAGG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,mBAAmB,CAAC;IAI/D;;;;OAIG;IACH,WAAW,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,0BAA0B,CAAC;CAG/F;AAED,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACrB;AAED,MAAM,WAAW,0BAA0B;IACzC,IAAI,EAAE,KAAK,CAAC,0BAA0B,CAAC,IAAI,CAAC,CAAC;CAC9C;AAED,yBAAiB,0BAA0B,CAAC;IAC1C,UAAiB,IAAI;QACnB,MAAM,EAAE,MAAM,CAAC;QAEf,MAAM,EAAE,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;KAC3B;IAED,UAAiB,IAAI,CAAC;QACpB,UAAiB,KAAK;YACpB,WAAW,EAAE,MAAM,CAAC;YAEpB,IAAI,EAAE,MAAM,CAAC;YAEb,QAAQ,EAAE,OAAO,CAAC;YAElB,IAAI,EAAE,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,QAAQ,GAAG,OAAO,CAAC;YAE3D,OAAO,CAAC,EAAE,OAAO,CAAC;YAElB,OAAO,CAAC,EAAE,OAAO,CAAC;SACnB;KACF;CACF;AAED,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,0BAA0B,IAAI,0BAA0B,GAC9D,CAAC;CACH"}
|
|
@@ -6,13 +6,16 @@ const resource_1 = require("../../../core/resource.js");
|
|
|
6
6
|
const path_1 = require("../../../internal/utils/path.js");
|
|
7
7
|
class Services extends resource_1.APIResource {
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* Return the names of the services that actions can be built against. Use these
|
|
10
|
+
* values to look up each service's allowed methods.
|
|
10
11
|
*/
|
|
11
12
|
list(options) {
|
|
12
13
|
return this._client.get('/actions/services', options);
|
|
13
14
|
}
|
|
14
15
|
/**
|
|
15
|
-
*
|
|
16
|
+
* Return the methods allowed for the given service, each with its parameter
|
|
17
|
+
* definitions (name, type, whether required, description, and optional
|
|
18
|
+
* default/example). Returns 404 if the service is unknown.
|
|
16
19
|
*/
|
|
17
20
|
listMethods(service, options) {
|
|
18
21
|
return this._client.get((0, path_1.path) `/actions/services/${service}/methods`, options);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"services.js","sourceRoot":"","sources":["../../../src/resources/workflows/actions/services.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAGrD,0DAAoD;AAEpD,MAAa,QAAS,SAAQ,sBAAW;IACvC
|
|
1
|
+
{"version":3,"file":"services.js","sourceRoot":"","sources":["../../../src/resources/workflows/actions/services.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAGrD,0DAAoD;AAEpD,MAAa,QAAS,SAAQ,sBAAW;IACvC;;;OAGG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,mBAAmB,EAAE,OAAO,CAAC,CAAC;IACxD,CAAC;IAED;;;;OAIG;IACH,WAAW,CAAC,OAAe,EAAE,OAAwB;QACnD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,qBAAqB,OAAO,UAAU,EAAE,OAAO,CAAC,CAAC;IAC/E,CAAC;CACF;AAjBD,4BAiBC"}
|
|
@@ -3,13 +3,16 @@ import { APIResource } from "../../../core/resource.mjs";
|
|
|
3
3
|
import { path } from "../../../internal/utils/path.mjs";
|
|
4
4
|
export class Services extends APIResource {
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Return the names of the services that actions can be built against. Use these
|
|
7
|
+
* values to look up each service's allowed methods.
|
|
7
8
|
*/
|
|
8
9
|
list(options) {
|
|
9
10
|
return this._client.get('/actions/services', options);
|
|
10
11
|
}
|
|
11
12
|
/**
|
|
12
|
-
*
|
|
13
|
+
* Return the methods allowed for the given service, each with its parameter
|
|
14
|
+
* definitions (name, type, whether required, description, and optional
|
|
15
|
+
* default/example). Returns 404 if the service is unknown.
|
|
13
16
|
*/
|
|
14
17
|
listMethods(service, options) {
|
|
15
18
|
return this._client.get(path `/actions/services/${service}/methods`, options);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"services.mjs","sourceRoot":"","sources":["../../../src/resources/workflows/actions/services.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,mCAA+B;AAGrD,OAAO,EAAE,IAAI,EAAE,yCAAqC;AAEpD,MAAM,OAAO,QAAS,SAAQ,WAAW;IACvC
|
|
1
|
+
{"version":3,"file":"services.mjs","sourceRoot":"","sources":["../../../src/resources/workflows/actions/services.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,mCAA+B;AAGrD,OAAO,EAAE,IAAI,EAAE,yCAAqC;AAEpD,MAAM,OAAO,QAAS,SAAQ,WAAW;IACvC;;;OAGG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,mBAAmB,EAAE,OAAO,CAAC,CAAC;IACxD,CAAC;IAED;;;;OAIG;IACH,WAAW,CAAC,OAAe,EAAE,OAAwB;QACnD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,qBAAqB,OAAO,UAAU,EAAE,OAAO,CAAC,CAAC;IAC/E,CAAC;CACF"}
|
|
@@ -1,55 +1,4 @@
|
|
|
1
1
|
import { APIResource } from "../../../core/resource.mjs";
|
|
2
|
-
import * as Shared from "../../shared.mjs";
|
|
3
|
-
import { APIPromise } from "../../../core/api-promise.mjs";
|
|
4
|
-
import { RequestOptions } from "../../../internal/request-options.mjs";
|
|
5
2
|
export declare class Catalog extends APIResource {
|
|
6
|
-
/**
|
|
7
|
-
* List event catalog
|
|
8
|
-
*/
|
|
9
|
-
list(query?: CatalogListParams | null | undefined, options?: RequestOptions): APIPromise<CatalogListResponse>;
|
|
10
|
-
/**
|
|
11
|
-
* Register event types in the catalog
|
|
12
|
-
*/
|
|
13
|
-
register(body: CatalogRegisterParams, options?: RequestOptions): APIPromise<CatalogRegisterResponse>;
|
|
14
|
-
}
|
|
15
|
-
export interface CatalogListResponse {
|
|
16
|
-
items: Array<CatalogListResponse.Item>;
|
|
17
|
-
pagination: Shared.Pagination;
|
|
18
|
-
}
|
|
19
|
-
export declare namespace CatalogListResponse {
|
|
20
|
-
interface Item {
|
|
21
|
-
createdAt: string | null;
|
|
22
|
-
description: string | null;
|
|
23
|
-
eventType: string;
|
|
24
|
-
label: string;
|
|
25
|
-
source: string | null;
|
|
26
|
-
updatedAt: string | null;
|
|
27
|
-
payloadSchema?: unknown;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
export interface CatalogRegisterResponse {
|
|
31
|
-
message: string;
|
|
32
|
-
}
|
|
33
|
-
export interface CatalogListParams {
|
|
34
|
-
page?: number;
|
|
35
|
-
pageSize?: number;
|
|
36
|
-
source?: 'device' | 'system' | 'webhook';
|
|
37
|
-
}
|
|
38
|
-
export interface CatalogRegisterParams {
|
|
39
|
-
events: Array<CatalogRegisterParams.Event>;
|
|
40
|
-
}
|
|
41
|
-
export declare namespace CatalogRegisterParams {
|
|
42
|
-
interface Event {
|
|
43
|
-
eventType: string;
|
|
44
|
-
label: string;
|
|
45
|
-
description?: string;
|
|
46
|
-
payloadSchema?: {
|
|
47
|
-
[key: string]: unknown;
|
|
48
|
-
};
|
|
49
|
-
source?: 'device' | 'system' | 'webhook';
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
export declare namespace Catalog {
|
|
53
|
-
export { type CatalogListResponse as CatalogListResponse, type CatalogRegisterResponse as CatalogRegisterResponse, type CatalogListParams as CatalogListParams, type CatalogRegisterParams as CatalogRegisterParams, };
|
|
54
3
|
}
|
|
55
4
|
//# sourceMappingURL=catalog.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.d.mts","sourceRoot":"","sources":["../../../src/resources/workflows/events/catalog.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+B;
|
|
1
|
+
{"version":3,"file":"catalog.d.mts","sourceRoot":"","sources":["../../../src/resources/workflows/events/catalog.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+B;AAErD,qBAAa,OAAQ,SAAQ,WAAW;CAAG"}
|
|
@@ -1,55 +1,4 @@
|
|
|
1
1
|
import { APIResource } from "../../../core/resource.js";
|
|
2
|
-
import * as Shared from "../../shared.js";
|
|
3
|
-
import { APIPromise } from "../../../core/api-promise.js";
|
|
4
|
-
import { RequestOptions } from "../../../internal/request-options.js";
|
|
5
2
|
export declare class Catalog extends APIResource {
|
|
6
|
-
/**
|
|
7
|
-
* List event catalog
|
|
8
|
-
*/
|
|
9
|
-
list(query?: CatalogListParams | null | undefined, options?: RequestOptions): APIPromise<CatalogListResponse>;
|
|
10
|
-
/**
|
|
11
|
-
* Register event types in the catalog
|
|
12
|
-
*/
|
|
13
|
-
register(body: CatalogRegisterParams, options?: RequestOptions): APIPromise<CatalogRegisterResponse>;
|
|
14
|
-
}
|
|
15
|
-
export interface CatalogListResponse {
|
|
16
|
-
items: Array<CatalogListResponse.Item>;
|
|
17
|
-
pagination: Shared.Pagination;
|
|
18
|
-
}
|
|
19
|
-
export declare namespace CatalogListResponse {
|
|
20
|
-
interface Item {
|
|
21
|
-
createdAt: string | null;
|
|
22
|
-
description: string | null;
|
|
23
|
-
eventType: string;
|
|
24
|
-
label: string;
|
|
25
|
-
source: string | null;
|
|
26
|
-
updatedAt: string | null;
|
|
27
|
-
payloadSchema?: unknown;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
export interface CatalogRegisterResponse {
|
|
31
|
-
message: string;
|
|
32
|
-
}
|
|
33
|
-
export interface CatalogListParams {
|
|
34
|
-
page?: number;
|
|
35
|
-
pageSize?: number;
|
|
36
|
-
source?: 'device' | 'system' | 'webhook';
|
|
37
|
-
}
|
|
38
|
-
export interface CatalogRegisterParams {
|
|
39
|
-
events: Array<CatalogRegisterParams.Event>;
|
|
40
|
-
}
|
|
41
|
-
export declare namespace CatalogRegisterParams {
|
|
42
|
-
interface Event {
|
|
43
|
-
eventType: string;
|
|
44
|
-
label: string;
|
|
45
|
-
description?: string;
|
|
46
|
-
payloadSchema?: {
|
|
47
|
-
[key: string]: unknown;
|
|
48
|
-
};
|
|
49
|
-
source?: 'device' | 'system' | 'webhook';
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
export declare namespace Catalog {
|
|
53
|
-
export { type CatalogListResponse as CatalogListResponse, type CatalogRegisterResponse as CatalogRegisterResponse, type CatalogListParams as CatalogListParams, type CatalogRegisterParams as CatalogRegisterParams, };
|
|
54
3
|
}
|
|
55
4
|
//# sourceMappingURL=catalog.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.d.ts","sourceRoot":"","sources":["../../../src/resources/workflows/events/catalog.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kCAA+B;
|
|
1
|
+
{"version":3,"file":"catalog.d.ts","sourceRoot":"","sources":["../../../src/resources/workflows/events/catalog.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kCAA+B;AAErD,qBAAa,OAAQ,SAAQ,WAAW;CAAG"}
|
|
@@ -4,18 +4,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
4
4
|
exports.Catalog = void 0;
|
|
5
5
|
const resource_1 = require("../../../core/resource.js");
|
|
6
6
|
class Catalog extends resource_1.APIResource {
|
|
7
|
-
/**
|
|
8
|
-
* List event catalog
|
|
9
|
-
*/
|
|
10
|
-
list(query = {}, options) {
|
|
11
|
-
return this._client.get('/events/catalog', { query, ...options });
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* Register event types in the catalog
|
|
15
|
-
*/
|
|
16
|
-
register(body, options) {
|
|
17
|
-
return this._client.post('/events/catalog/register', { body, ...options });
|
|
18
|
-
}
|
|
19
7
|
}
|
|
20
8
|
exports.Catalog = Catalog;
|
|
21
9
|
//# sourceMappingURL=catalog.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.js","sourceRoot":"","sources":["../../../src/resources/workflows/events/catalog.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;
|
|
1
|
+
{"version":3,"file":"catalog.js","sourceRoot":"","sources":["../../../src/resources/workflows/events/catalog.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAErD,MAAa,OAAQ,SAAQ,sBAAW;CAAG;AAA3C,0BAA2C"}
|
|
@@ -1,17 +1,5 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
import { APIResource } from "../../../core/resource.mjs";
|
|
3
3
|
export class Catalog extends APIResource {
|
|
4
|
-
/**
|
|
5
|
-
* List event catalog
|
|
6
|
-
*/
|
|
7
|
-
list(query = {}, options) {
|
|
8
|
-
return this._client.get('/events/catalog', { query, ...options });
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* Register event types in the catalog
|
|
12
|
-
*/
|
|
13
|
-
register(body, options) {
|
|
14
|
-
return this._client.post('/events/catalog/register', { body, ...options });
|
|
15
|
-
}
|
|
16
4
|
}
|
|
17
5
|
//# sourceMappingURL=catalog.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.mjs","sourceRoot":"","sources":["../../../src/resources/workflows/events/catalog.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,mCAA+B;
|
|
1
|
+
{"version":3,"file":"catalog.mjs","sourceRoot":"","sources":["../../../src/resources/workflows/events/catalog.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,mCAA+B;AAErD,MAAM,OAAO,OAAQ,SAAQ,WAAW;CAAG"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { APIResource } from "../../../core/resource.mjs";
|
|
2
2
|
import * as WorkflowsAPI from "../workflows.mjs";
|
|
3
3
|
import * as CatalogAPI from "./catalog.mjs";
|
|
4
|
-
import { Catalog
|
|
4
|
+
import { Catalog } from "./catalog.mjs";
|
|
5
5
|
import { APIPromise } from "../../../core/api-promise.mjs";
|
|
6
6
|
import { RequestOptions } from "../../../internal/request-options.mjs";
|
|
7
7
|
export declare class Events extends APIResource {
|
|
@@ -58,36 +58,24 @@ export declare namespace EventDryRunResponse {
|
|
|
58
58
|
id: string;
|
|
59
59
|
activation: 'event' | 'schedule' | 'custom';
|
|
60
60
|
createdAt: string | null;
|
|
61
|
+
createdBy: string | null;
|
|
61
62
|
customPayloadSchema: {
|
|
62
63
|
[key: string]: unknown;
|
|
63
64
|
} | null;
|
|
64
65
|
description: string | null;
|
|
65
66
|
eventType: string | null;
|
|
66
67
|
name: string;
|
|
67
|
-
|
|
68
|
+
ownerId: string;
|
|
69
|
+
scheduleRule: unknown;
|
|
68
70
|
timezone: string | null;
|
|
69
71
|
updatedAt: string | null;
|
|
72
|
+
/**
|
|
73
|
+
* @deprecated Deprecated: use ownerId (tenancy) / createdBy (actor).
|
|
74
|
+
*/
|
|
70
75
|
userId: string;
|
|
71
76
|
conditions?: unknown;
|
|
72
77
|
nextFireTime?: string | null;
|
|
73
78
|
}
|
|
74
|
-
namespace Trigger {
|
|
75
|
-
interface ScheduleRule {
|
|
76
|
-
type: 'once' | 'cron' | 'recurring';
|
|
77
|
-
/**
|
|
78
|
-
* ISO 8601 datetime (for type=once)
|
|
79
|
-
*/
|
|
80
|
-
dateTime?: string;
|
|
81
|
-
/**
|
|
82
|
-
* Cron expression (for type=cron)
|
|
83
|
-
*/
|
|
84
|
-
expression?: string;
|
|
85
|
-
/**
|
|
86
|
-
* RRULE string (for type=recurring)
|
|
87
|
-
*/
|
|
88
|
-
rrule?: string;
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
79
|
}
|
|
92
80
|
interface Validation {
|
|
93
81
|
valid: boolean;
|
|
@@ -106,18 +94,20 @@ export interface EventIngestResponse {
|
|
|
106
94
|
}
|
|
107
95
|
export interface EventDryRunParams {
|
|
108
96
|
eventType: string;
|
|
97
|
+
deviceId?: string;
|
|
109
98
|
payload?: {
|
|
110
99
|
[key: string]: unknown;
|
|
111
100
|
};
|
|
112
101
|
}
|
|
113
102
|
export interface EventIngestParams {
|
|
114
103
|
eventType: string;
|
|
104
|
+
deviceId?: string;
|
|
115
105
|
payload?: {
|
|
116
106
|
[key: string]: unknown;
|
|
117
107
|
};
|
|
118
108
|
}
|
|
119
109
|
export declare namespace Events {
|
|
120
110
|
export { type EventDryRunResponse as EventDryRunResponse, type EventIngestResponse as EventIngestResponse, type EventDryRunParams as EventDryRunParams, type EventIngestParams as EventIngestParams, };
|
|
121
|
-
export { Catalog as Catalog
|
|
111
|
+
export { Catalog as Catalog };
|
|
122
112
|
}
|
|
123
113
|
//# sourceMappingURL=events.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events.d.mts","sourceRoot":"","sources":["../../../src/resources/workflows/events/events.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,KAAK,YAAY,yBAAqB;AAC7C,OAAO,KAAK,UAAU,sBAAkB;AACxC,OAAO,
|
|
1
|
+
{"version":3,"file":"events.d.mts","sourceRoot":"","sources":["../../../src/resources/workflows/events/events.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,KAAK,YAAY,yBAAqB;AAC7C,OAAO,KAAK,UAAU,sBAAkB;AACxC,OAAO,EAAE,OAAO,EAAE,sBAAkB;AACpC,OAAO,EAAE,UAAU,EAAE,sCAAkC;AACvD,OAAO,EAAE,cAAc,EAAE,8CAA0C;AAEnE,qBAAa,MAAO,SAAQ,WAAW;IACrC,OAAO,EAAE,UAAU,CA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ElB,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAC;CACtC;AAED,MAAM,WAAW,iBAAiB;IAChC,SAAS,EAAE,MAAM,CAAC;IAElB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAC;CACtC;AAID,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC;IAC9B,OAAO,EACL,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,iBAAiB,IAAI,iBAAiB,GAC5C,CAAC;IAEF,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,CAAC;CAC/B"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { APIResource } from "../../../core/resource.js";
|
|
2
2
|
import * as WorkflowsAPI from "../workflows.js";
|
|
3
3
|
import * as CatalogAPI from "./catalog.js";
|
|
4
|
-
import { Catalog
|
|
4
|
+
import { Catalog } from "./catalog.js";
|
|
5
5
|
import { APIPromise } from "../../../core/api-promise.js";
|
|
6
6
|
import { RequestOptions } from "../../../internal/request-options.js";
|
|
7
7
|
export declare class Events extends APIResource {
|
|
@@ -58,36 +58,24 @@ export declare namespace EventDryRunResponse {
|
|
|
58
58
|
id: string;
|
|
59
59
|
activation: 'event' | 'schedule' | 'custom';
|
|
60
60
|
createdAt: string | null;
|
|
61
|
+
createdBy: string | null;
|
|
61
62
|
customPayloadSchema: {
|
|
62
63
|
[key: string]: unknown;
|
|
63
64
|
} | null;
|
|
64
65
|
description: string | null;
|
|
65
66
|
eventType: string | null;
|
|
66
67
|
name: string;
|
|
67
|
-
|
|
68
|
+
ownerId: string;
|
|
69
|
+
scheduleRule: unknown;
|
|
68
70
|
timezone: string | null;
|
|
69
71
|
updatedAt: string | null;
|
|
72
|
+
/**
|
|
73
|
+
* @deprecated Deprecated: use ownerId (tenancy) / createdBy (actor).
|
|
74
|
+
*/
|
|
70
75
|
userId: string;
|
|
71
76
|
conditions?: unknown;
|
|
72
77
|
nextFireTime?: string | null;
|
|
73
78
|
}
|
|
74
|
-
namespace Trigger {
|
|
75
|
-
interface ScheduleRule {
|
|
76
|
-
type: 'once' | 'cron' | 'recurring';
|
|
77
|
-
/**
|
|
78
|
-
* ISO 8601 datetime (for type=once)
|
|
79
|
-
*/
|
|
80
|
-
dateTime?: string;
|
|
81
|
-
/**
|
|
82
|
-
* Cron expression (for type=cron)
|
|
83
|
-
*/
|
|
84
|
-
expression?: string;
|
|
85
|
-
/**
|
|
86
|
-
* RRULE string (for type=recurring)
|
|
87
|
-
*/
|
|
88
|
-
rrule?: string;
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
79
|
}
|
|
92
80
|
interface Validation {
|
|
93
81
|
valid: boolean;
|
|
@@ -106,18 +94,20 @@ export interface EventIngestResponse {
|
|
|
106
94
|
}
|
|
107
95
|
export interface EventDryRunParams {
|
|
108
96
|
eventType: string;
|
|
97
|
+
deviceId?: string;
|
|
109
98
|
payload?: {
|
|
110
99
|
[key: string]: unknown;
|
|
111
100
|
};
|
|
112
101
|
}
|
|
113
102
|
export interface EventIngestParams {
|
|
114
103
|
eventType: string;
|
|
104
|
+
deviceId?: string;
|
|
115
105
|
payload?: {
|
|
116
106
|
[key: string]: unknown;
|
|
117
107
|
};
|
|
118
108
|
}
|
|
119
109
|
export declare namespace Events {
|
|
120
110
|
export { type EventDryRunResponse as EventDryRunResponse, type EventIngestResponse as EventIngestResponse, type EventDryRunParams as EventDryRunParams, type EventIngestParams as EventIngestParams, };
|
|
121
|
-
export { Catalog as Catalog
|
|
111
|
+
export { Catalog as Catalog };
|
|
122
112
|
}
|
|
123
113
|
//# sourceMappingURL=events.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../../src/resources/workflows/events/events.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kCAA+B;AACrD,OAAO,KAAK,YAAY,wBAAqB;AAC7C,OAAO,KAAK,UAAU,qBAAkB;AACxC,OAAO,
|
|
1
|
+
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../../src/resources/workflows/events/events.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kCAA+B;AACrD,OAAO,KAAK,YAAY,wBAAqB;AAC7C,OAAO,KAAK,UAAU,qBAAkB;AACxC,OAAO,EAAE,OAAO,EAAE,qBAAkB;AACpC,OAAO,EAAE,UAAU,EAAE,qCAAkC;AACvD,OAAO,EAAE,cAAc,EAAE,6CAA0C;AAEnE,qBAAa,MAAO,SAAQ,WAAW;IACrC,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;IAEnE;;;OAGG;IACH,MAAM,CAAC,IAAI,EAAE,iBAAiB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,mBAAmB,CAAC;IAI1F;;OAEG;IACH,MAAM,CAAC,IAAI,EAAE,iBAAiB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,mBAAmB,CAAC;CAG3F;AAED,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,mBAAmB,CAAC,IAAI,CAAC;CAChC;AAED,yBAAiB,mBAAmB,CAAC;IACnC,UAAiB,IAAI;QACnB,YAAY,EAAE,KAAK,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QAEtC,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC;KAC7B;IAED,UAAiB,IAAI,CAAC;QACpB,UAAiB,WAAW;YAC1B,OAAO,EAAE,KAAK,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;YAEnC,IAAI,EAAE,YAAY,CAAC,IAAI,CAAC;YAExB,KAAK,EAAE,WAAW,CAAC,KAAK,CAAC;YAEzB,OAAO,EAAE,WAAW,CAAC,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M,EAAE,MAAM,CAAC;gBAEf,UAAU,CAAC,EAAE,OAAO,CAAC;gBAErB,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;aAC9B;SACF;QAED,UAAiB,UAAU;YACzB,KAAK,EAAE,OAAO,CAAC;YAEf,MAAM,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;SAClC;QAED,UAAiB,UAAU,CAAC;YAC1B,UAAiB,KAAK;gBACpB,KAAK,EAAE,MAAM,CAAC;gBAEd,OAAO,EAAE,MAAM,CAAC;aACjB;SACF;KACF;CACF;AAED,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,iBAAiB;IAChC,SAAS,EAAE,MAAM,CAAC;IAElB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAC;CACtC;AAED,MAAM,WAAW,iBAAiB;IAChC,SAAS,EAAE,MAAM,CAAC;IAElB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAC;CACtC;AAID,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC;IAC9B,OAAO,EACL,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,iBAAiB,IAAI,iBAAiB,GAC5C,CAAC;IAEF,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,CAAC;CAC/B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events.js","sourceRoot":"","sources":["../../../src/resources/workflows/events/events.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,wDAAqD;AAErD,iEAAwC;AACxC,
|
|
1
|
+
{"version":3,"file":"events.js","sourceRoot":"","sources":["../../../src/resources/workflows/events/events.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,wDAAqD;AAErD,iEAAwC;AACxC,0CAAoC;AAIpC,MAAa,MAAO,SAAQ,sBAAW;IAAvC;;QACE,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAgBrE,CAAC;IAdC;;;OAGG;IACH,MAAM,CAAC,IAAuB,EAAE,OAAwB;QACtD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,iBAAiB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpE,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,IAAuB,EAAE,OAAwB;QACtD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,gBAAgB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnE,CAAC;CACF;AAjBD,wBAiBC;AAiID,MAAM,CAAC,OAAO,GAAG,iBAAO,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
import { APIResource } from "../../../core/resource.mjs";
|
|
3
3
|
import * as CatalogAPI from "./catalog.mjs";
|
|
4
|
-
import { Catalog
|
|
4
|
+
import { Catalog } from "./catalog.mjs";
|
|
5
5
|
export class Events extends APIResource {
|
|
6
6
|
constructor() {
|
|
7
7
|
super(...arguments);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events.mjs","sourceRoot":"","sources":["../../../src/resources/workflows/events/events.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,mCAA+B;AAErD,OAAO,KAAK,UAAU,sBAAkB;AACxC,OAAO,
|
|
1
|
+
{"version":3,"file":"events.mjs","sourceRoot":"","sources":["../../../src/resources/workflows/events/events.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,mCAA+B;AAErD,OAAO,KAAK,UAAU,sBAAkB;AACxC,OAAO,EAAE,OAAO,EAAE,sBAAkB;AAIpC,MAAM,OAAO,MAAO,SAAQ,WAAW;IAAvC;;QACE,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAgBrE,CAAC;IAdC;;;OAGG;IACH,MAAM,CAAC,IAAuB,EAAE,OAAwB;QACtD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,iBAAiB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpE,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,IAAuB,EAAE,OAAwB;QACtD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,gBAAgB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnE,CAAC;CACF;AAiID,MAAM,CAAC,OAAO,GAAG,OAAO,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { Catalog
|
|
1
|
+
export { Catalog } from "./catalog.mjs";
|
|
2
2
|
export { Events, type EventDryRunResponse, type EventIngestResponse, type EventDryRunParams, type EventIngestParams, } from "./events.mjs";
|
|
3
3
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/workflows/events/index.ts"],"names":[],"mappings":"AAEA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/workflows/events/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,sBAAkB;AACpC,OAAO,EACL,MAAM,EACN,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,GACvB,qBAAiB"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { Catalog
|
|
1
|
+
export { Catalog } from "./catalog.js";
|
|
2
2
|
export { Events, type EventDryRunResponse, type EventIngestResponse, type EventDryRunParams, type EventIngestParams, } from "./events.js";
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/workflows/events/index.ts"],"names":[],"mappings":"AAEA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/workflows/events/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,qBAAkB;AACpC,OAAO,EACL,MAAM,EACN,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,GACvB,oBAAiB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/workflows/events/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/workflows/events/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wCAAoC;AAA3B,kGAAA,OAAO,OAAA;AAChB,sCAMkB;AALhB,gGAAA,MAAM,OAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/workflows/events/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/workflows/events/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,OAAO,EAAE,sBAAkB;AACpC,OAAO,EACL,MAAM,GAKP,qBAAiB"}
|
|
@@ -1,18 +1,24 @@
|
|
|
1
1
|
import { APIResource } from "../../core/resource.mjs";
|
|
2
|
+
import * as ExecutionsAPI from "./executions.mjs";
|
|
2
3
|
import * as Shared from "../shared.mjs";
|
|
3
4
|
import { APIPromise } from "../../core/api-promise.mjs";
|
|
4
5
|
import { RequestOptions } from "../../internal/request-options.mjs";
|
|
5
6
|
export declare class Executions extends APIResource {
|
|
6
7
|
/**
|
|
7
|
-
*
|
|
8
|
+
* Fetch a single flow execution by its ID, including its status, kind, result or
|
|
9
|
+
* error, and start/finish timestamps. Returns 404 if no execution matches.
|
|
8
10
|
*/
|
|
9
11
|
retrieve(executionID: string, options?: RequestOptions): APIPromise<ExecutionRetrieveResponse>;
|
|
10
12
|
/**
|
|
11
|
-
*
|
|
13
|
+
* Return a paginated history of flow executions. Supports filtering by `flowId`,
|
|
14
|
+
* `triggerId`, `status`, and a `from`/`to` time range, plus free-text `search` and
|
|
15
|
+
* ordering by startedAt, finishedAt, or status.
|
|
12
16
|
*/
|
|
13
17
|
list(query?: ExecutionListParams | null | undefined, options?: RequestOptions): APIPromise<ExecutionListResponse>;
|
|
14
18
|
/**
|
|
15
|
-
*
|
|
19
|
+
* Return aggregate execution metrics — total count, counts by status, average
|
|
20
|
+
* duration, and the last execution time. Can be scoped by `flowId`, `triggerId`,
|
|
21
|
+
* and a `from`/`to` time range.
|
|
16
22
|
*/
|
|
17
23
|
getMetrics(query?: ExecutionGetMetricsParams | null | undefined, options?: RequestOptions): APIPromise<ExecutionGetMetricsResponse>;
|
|
18
24
|
}
|
|
@@ -28,15 +34,47 @@ export interface FlowExecution {
|
|
|
28
34
|
status: 'pending' | 'running' | 'success' | 'failed' | 'cancelled' | 'skipped' | 'invalid' | null;
|
|
29
35
|
triggerId: string;
|
|
30
36
|
triggerName: string | null;
|
|
37
|
+
/**
|
|
38
|
+
* Opaque per-step result blob ({ steps: [...] }). Each step additionally carries a
|
|
39
|
+
* `verdict` field ({ outcome, summary, reason? } | null) when it is an agent.run
|
|
40
|
+
* step that opted into a verdict — null otherwise. Table-backed steps (current
|
|
41
|
+
* executions) also carry a `status` string (e.g. success/failed/stopped, see
|
|
42
|
+
* deriveStepStatus); it is optional and absent on legacy blob-only executions, so
|
|
43
|
+
* clients must not assume its presence.
|
|
44
|
+
*/
|
|
31
45
|
result?: unknown;
|
|
32
46
|
}
|
|
33
47
|
export interface ExecutionRetrieveResponse {
|
|
34
|
-
data:
|
|
48
|
+
data: ExecutionRetrieveResponse.Data;
|
|
49
|
+
}
|
|
50
|
+
export declare namespace ExecutionRetrieveResponse {
|
|
51
|
+
interface Data extends ExecutionsAPI.FlowExecution {
|
|
52
|
+
createdBy: string | null;
|
|
53
|
+
/**
|
|
54
|
+
* Files produced by files.upload steps, plus files an agent.run step reported on
|
|
55
|
+
* its terminal response (agent-created output or a workflow upload minted during
|
|
56
|
+
* the turn); derived server-side at read time.
|
|
57
|
+
*/
|
|
58
|
+
files: Array<Data.File>;
|
|
59
|
+
}
|
|
60
|
+
namespace Data {
|
|
61
|
+
interface File {
|
|
62
|
+
fileId: string;
|
|
63
|
+
filename: string;
|
|
64
|
+
mimeType: string;
|
|
65
|
+
sizeBytes: number;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
35
68
|
}
|
|
36
69
|
export interface ExecutionListResponse {
|
|
37
|
-
items: Array<
|
|
70
|
+
items: Array<ExecutionListResponse.Item>;
|
|
38
71
|
pagination: Shared.Pagination;
|
|
39
72
|
}
|
|
73
|
+
export declare namespace ExecutionListResponse {
|
|
74
|
+
interface Item extends ExecutionsAPI.FlowExecution {
|
|
75
|
+
createdBy: string | null;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
40
78
|
export interface ExecutionGetMetricsResponse {
|
|
41
79
|
data: ExecutionGetMetricsResponse.Data;
|
|
42
80
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"executions.d.mts","sourceRoot":"","sources":["../../src/resources/workflows/executions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,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