@mobilerun/sdk 5.2.0 → 5.3.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 +29 -0
- package/README.md +15 -12
- package/client.d.mts +36 -15
- package/client.d.mts.map +1 -1
- package/client.d.ts +36 -15
- package/client.d.ts.map +1 -1
- package/client.js +24 -3
- package/client.js.map +1 -1
- package/client.mjs +24 -3
- package/client.mjs.map +1 -1
- package/core/streaming.d.mts +33 -0
- package/core/streaming.d.mts.map +1 -0
- package/core/streaming.d.ts +33 -0
- package/core/streaming.d.ts.map +1 -0
- package/core/streaming.js +263 -0
- package/core/streaming.js.map +1 -0
- package/core/streaming.mjs +258 -0
- package/core/streaming.mjs.map +1 -0
- package/internal/decoders/line.d.mts +17 -0
- package/internal/decoders/line.d.mts.map +1 -0
- package/internal/decoders/line.d.ts +17 -0
- package/internal/decoders/line.d.ts.map +1 -0
- package/internal/decoders/line.js +113 -0
- package/internal/decoders/line.js.map +1 -0
- package/internal/decoders/line.mjs +108 -0
- package/internal/decoders/line.mjs.map +1 -0
- package/internal/parse.d.mts.map +1 -1
- package/internal/parse.d.ts.map +1 -1
- package/internal/parse.js +10 -0
- package/internal/parse.js.map +1 -1
- package/internal/parse.mjs +10 -0
- package/internal/parse.mjs.map +1 -1
- package/internal/request-options.d.mts +2 -0
- package/internal/request-options.d.mts.map +1 -1
- package/internal/request-options.d.ts +2 -0
- package/internal/request-options.d.ts.map +1 -1
- package/internal/request-options.js.map +1 -1
- package/internal/request-options.mjs.map +1 -1
- package/internal/tslib.js +18 -18
- package/package.json +12 -2
- package/resources/app-events/app-events.d.mts +81 -0
- package/resources/app-events/app-events.d.mts.map +1 -0
- package/resources/app-events/app-events.d.ts +81 -0
- package/resources/app-events/app-events.d.ts.map +1 -0
- package/resources/app-events/app-events.js +33 -0
- package/resources/app-events/app-events.js.map +1 -0
- package/resources/app-events/app-events.mjs +28 -0
- package/resources/app-events/app-events.mjs.map +1 -0
- package/resources/app-events/catalog.d.mts +64 -0
- package/resources/app-events/catalog.d.mts.map +1 -0
- package/resources/app-events/catalog.d.ts +64 -0
- package/resources/app-events/catalog.d.ts.map +1 -0
- package/resources/app-events/catalog.js +25 -0
- package/resources/app-events/catalog.js.map +1 -0
- package/resources/app-events/catalog.mjs +21 -0
- package/resources/app-events/catalog.mjs.map +1 -0
- package/resources/app-events/index.d.mts +3 -0
- package/resources/app-events/index.d.mts.map +1 -0
- package/resources/app-events/index.d.ts +3 -0
- package/resources/app-events/index.d.ts.map +1 -0
- package/resources/{workflows/events → app-events}/index.js +3 -3
- package/resources/app-events/index.js.map +1 -0
- package/resources/{workflows/events → app-events}/index.mjs +1 -1
- package/resources/app-events/index.mjs.map +1 -0
- package/resources/app-events.d.mts +2 -0
- package/resources/app-events.d.mts.map +1 -0
- package/resources/app-events.d.ts +2 -0
- package/resources/app-events.d.ts.map +1 -0
- package/resources/app-events.js +6 -0
- package/resources/app-events.js.map +1 -0
- package/resources/app-events.mjs +3 -0
- package/resources/app-events.mjs.map +1 -0
- package/resources/apps.d.mts +34 -3
- package/resources/apps.d.mts.map +1 -1
- package/resources/apps.d.ts +34 -3
- package/resources/apps.d.ts.map +1 -1
- package/resources/apps.js +12 -0
- package/resources/apps.js.map +1 -1
- package/resources/apps.mjs +12 -0
- package/resources/apps.mjs.map +1 -1
- package/resources/assistant/assistant.d.mts +10 -0
- package/resources/assistant/assistant.d.mts.map +1 -0
- package/resources/assistant/assistant.d.ts +10 -0
- package/resources/assistant/assistant.d.ts.map +1 -0
- package/resources/assistant/assistant.js +17 -0
- package/resources/assistant/assistant.js.map +1 -0
- package/resources/assistant/assistant.mjs +12 -0
- package/resources/assistant/assistant.mjs.map +1 -0
- package/resources/assistant/conversations.d.mts +295 -0
- package/resources/assistant/conversations.d.mts.map +1 -0
- package/resources/assistant/conversations.d.ts +295 -0
- package/resources/assistant/conversations.d.ts.map +1 -0
- package/resources/assistant/conversations.js +109 -0
- package/resources/assistant/conversations.js.map +1 -0
- package/resources/assistant/conversations.mjs +105 -0
- package/resources/assistant/conversations.mjs.map +1 -0
- package/resources/assistant/index.d.mts +3 -0
- package/resources/assistant/index.d.mts.map +1 -0
- package/resources/assistant/index.d.ts +3 -0
- package/resources/assistant/index.d.ts.map +1 -0
- package/resources/assistant/index.js +9 -0
- package/resources/assistant/index.js.map +1 -0
- package/resources/assistant/index.mjs +4 -0
- package/resources/assistant/index.mjs.map +1 -0
- package/resources/assistant.d.mts +2 -0
- package/resources/assistant.d.mts.map +1 -0
- package/resources/assistant.d.ts +2 -0
- package/resources/assistant.d.ts.map +1 -0
- package/resources/assistant.js +6 -0
- package/resources/assistant.js.map +1 -0
- package/resources/assistant.mjs +3 -0
- package/resources/assistant.mjs.map +1 -0
- package/resources/credentials/credentials.d.mts +24 -4
- package/resources/credentials/credentials.d.mts.map +1 -1
- package/resources/credentials/credentials.d.ts +24 -4
- package/resources/credentials/credentials.d.ts.map +1 -1
- package/resources/credentials/credentials.js.map +1 -1
- package/resources/credentials/credentials.mjs.map +1 -1
- package/resources/credentials/index.d.mts +1 -1
- package/resources/credentials/index.d.mts.map +1 -1
- package/resources/credentials/index.d.ts +1 -1
- package/resources/credentials/index.d.ts.map +1 -1
- package/resources/credentials/index.js.map +1 -1
- package/resources/credentials/index.mjs.map +1 -1
- package/resources/credentials/packages/credentials/credentials.d.mts +67 -23
- package/resources/credentials/packages/credentials/credentials.d.mts.map +1 -1
- package/resources/credentials/packages/credentials/credentials.d.ts +67 -23
- package/resources/credentials/packages/credentials/credentials.d.ts.map +1 -1
- package/resources/credentials/packages/credentials/credentials.js.map +1 -1
- package/resources/credentials/packages/credentials/credentials.mjs.map +1 -1
- package/resources/credentials/packages/credentials/fields.d.mts +66 -4
- package/resources/credentials/packages/credentials/fields.d.mts.map +1 -1
- package/resources/credentials/packages/credentials/fields.d.ts +66 -4
- package/resources/credentials/packages/credentials/fields.d.ts.map +1 -1
- package/resources/credentials/packages/credentials/fields.js.map +1 -1
- package/resources/credentials/packages/credentials/fields.mjs.map +1 -1
- package/resources/credentials/packages/credentials/index.d.mts +1 -1
- package/resources/credentials/packages/credentials/index.d.mts.map +1 -1
- package/resources/credentials/packages/credentials/index.d.ts +1 -1
- package/resources/credentials/packages/credentials/index.d.ts.map +1 -1
- package/resources/credentials/packages/credentials/index.js.map +1 -1
- package/resources/credentials/packages/credentials/index.mjs.map +1 -1
- package/resources/credentials/packages/index.d.mts +2 -2
- package/resources/credentials/packages/index.d.mts.map +1 -1
- package/resources/credentials/packages/index.d.ts +2 -2
- package/resources/credentials/packages/index.d.ts.map +1 -1
- package/resources/credentials/packages/index.js.map +1 -1
- package/resources/credentials/packages/index.mjs.map +1 -1
- package/resources/credentials/packages/packages.d.mts +39 -4
- package/resources/credentials/packages/packages.d.mts.map +1 -1
- package/resources/credentials/packages/packages.d.ts +39 -4
- package/resources/credentials/packages/packages.d.ts.map +1 -1
- package/resources/credentials/packages/packages.js +8 -0
- package/resources/credentials/packages/packages.js.map +1 -1
- package/resources/credentials/packages/packages.mjs +8 -0
- package/resources/credentials/packages/packages.mjs.map +1 -1
- package/resources/devices/apps.d.mts +81 -1
- package/resources/devices/apps.d.mts.map +1 -1
- package/resources/devices/apps.d.ts +81 -1
- package/resources/devices/apps.d.ts.map +1 -1
- package/resources/devices/apps.js +59 -0
- package/resources/devices/apps.js.map +1 -1
- package/resources/devices/apps.mjs +59 -0
- package/resources/devices/apps.mjs.map +1 -1
- package/resources/devices/browser.d.mts +41 -0
- package/resources/devices/browser.d.mts.map +1 -0
- package/resources/devices/browser.d.ts +41 -0
- package/resources/devices/browser.d.ts.map +1 -0
- package/resources/devices/browser.js +31 -0
- package/resources/devices/browser.js.map +1 -0
- package/resources/devices/browser.mjs +27 -0
- package/resources/devices/browser.mjs.map +1 -0
- package/resources/devices/clipboard.d.mts +40 -0
- package/resources/devices/clipboard.d.mts.map +1 -0
- package/resources/devices/clipboard.d.ts +40 -0
- package/resources/devices/clipboard.d.ts.map +1 -0
- package/resources/devices/clipboard.js +50 -0
- package/resources/devices/clipboard.js.map +1 -0
- package/resources/devices/clipboard.mjs +46 -0
- package/resources/devices/clipboard.mjs.map +1 -0
- package/resources/devices/deep-link.d.mts +41 -0
- package/resources/devices/deep-link.d.mts.map +1 -0
- package/resources/devices/deep-link.d.ts +41 -0
- package/resources/devices/deep-link.d.ts.map +1 -0
- package/resources/devices/deep-link.js +33 -0
- package/resources/devices/deep-link.js.map +1 -0
- package/resources/devices/deep-link.mjs +29 -0
- package/resources/devices/deep-link.mjs.map +1 -0
- package/resources/devices/devices.d.mts +214 -19
- package/resources/devices/devices.d.mts.map +1 -1
- package/resources/devices/devices.d.ts +214 -19
- package/resources/devices/devices.d.ts.map +1 -1
- package/resources/devices/devices.js +59 -2
- package/resources/devices/devices.js.map +1 -1
- package/resources/devices/devices.mjs +59 -2
- package/resources/devices/devices.mjs.map +1 -1
- package/resources/devices/esim/apn.d.mts +95 -0
- package/resources/devices/esim/apn.d.mts.map +1 -0
- package/resources/devices/esim/apn.d.ts +95 -0
- package/resources/devices/esim/apn.d.ts.map +1 -0
- package/resources/devices/esim/apn.js +70 -0
- package/resources/devices/esim/apn.js.map +1 -0
- package/resources/devices/esim/apn.mjs +66 -0
- package/resources/devices/esim/apn.mjs.map +1 -0
- package/resources/devices/esim/esim.d.mts +144 -0
- package/resources/devices/esim/esim.d.mts.map +1 -0
- package/resources/devices/esim/esim.d.ts +144 -0
- package/resources/devices/esim/esim.d.ts.map +1 -0
- package/resources/devices/esim/esim.js +131 -0
- package/resources/devices/esim/esim.js.map +1 -0
- package/resources/devices/esim/esim.mjs +126 -0
- package/resources/devices/esim/esim.mjs.map +1 -0
- package/resources/devices/esim/index.d.mts +3 -0
- package/resources/devices/esim/index.d.mts.map +1 -0
- package/resources/devices/esim/index.d.ts +3 -0
- package/resources/devices/esim/index.d.ts.map +1 -0
- package/resources/devices/esim/index.js +9 -0
- package/resources/devices/esim/index.js.map +1 -0
- package/resources/devices/esim/index.mjs +4 -0
- package/resources/devices/esim/index.mjs.map +1 -0
- package/resources/devices/esim.d.mts +1 -102
- package/resources/devices/esim.d.mts.map +1 -1
- package/resources/devices/esim.d.ts +1 -102
- package/resources/devices/esim.d.ts.map +1 -1
- package/resources/devices/esim.js +2 -82
- package/resources/devices/esim.js.map +1 -1
- package/resources/devices/esim.mjs +1 -80
- package/resources/devices/esim.mjs.map +1 -1
- package/resources/devices/files.d.mts +31 -29
- package/resources/devices/files.d.mts.map +1 -1
- package/resources/devices/files.d.ts +31 -29
- package/resources/devices/files.d.ts.map +1 -1
- package/resources/devices/index.d.mts +12 -6
- package/resources/devices/index.d.mts.map +1 -1
- package/resources/devices/index.d.ts +12 -6
- package/resources/devices/index.d.ts.map +1 -1
- package/resources/devices/index.js +15 -3
- package/resources/devices/index.js.map +1 -1
- package/resources/devices/index.mjs +8 -2
- package/resources/devices/index.mjs.map +1 -1
- package/resources/devices/kiosk.d.mts +32 -0
- package/resources/devices/kiosk.d.mts.map +1 -0
- package/resources/devices/kiosk.d.ts +32 -0
- package/resources/devices/kiosk.d.ts.map +1 -0
- package/resources/devices/kiosk.js +50 -0
- package/resources/devices/kiosk.js.map +1 -0
- package/resources/devices/kiosk.mjs +46 -0
- package/resources/devices/kiosk.mjs.map +1 -0
- package/resources/devices/location.d.mts +9 -1
- package/resources/devices/location.d.mts.map +1 -1
- package/resources/devices/location.d.ts +9 -1
- package/resources/devices/location.d.ts.map +1 -1
- package/resources/devices/location.js +19 -0
- package/resources/devices/location.js.map +1 -1
- package/resources/devices/location.mjs +19 -0
- package/resources/devices/location.mjs.map +1 -1
- package/resources/devices/media-sessions.d.mts +96 -0
- package/resources/devices/media-sessions.d.mts.map +1 -0
- package/resources/devices/media-sessions.d.ts +96 -0
- package/resources/devices/media-sessions.d.ts.map +1 -0
- package/resources/devices/media-sessions.js +50 -0
- package/resources/devices/media-sessions.js.map +1 -0
- package/resources/devices/media-sessions.mjs +46 -0
- package/resources/devices/media-sessions.mjs.map +1 -0
- package/resources/devices/recordings.d.mts +192 -0
- package/resources/devices/recordings.d.mts.map +1 -0
- package/resources/devices/recordings.d.ts +192 -0
- package/resources/devices/recordings.d.ts.map +1 -0
- package/resources/devices/recordings.js +67 -0
- package/resources/devices/recordings.js.map +1 -0
- package/resources/devices/recordings.mjs +63 -0
- package/resources/devices/recordings.mjs.map +1 -0
- package/resources/devices/state.d.mts +6 -7
- package/resources/devices/state.d.mts.map +1 -1
- package/resources/devices/state.d.ts +6 -7
- package/resources/devices/state.d.ts.map +1 -1
- package/resources/devices/state.js.map +1 -1
- package/resources/devices/state.mjs.map +1 -1
- package/resources/devices/tasks.d.mts +8 -2
- package/resources/devices/tasks.d.mts.map +1 -1
- package/resources/devices/tasks.d.ts +8 -2
- package/resources/devices/tasks.d.ts.map +1 -1
- package/resources/devices/tasks.js.map +1 -1
- package/resources/devices/tasks.mjs.map +1 -1
- package/resources/esims/esims.d.mts +566 -0
- package/resources/esims/esims.d.mts.map +1 -0
- package/resources/esims/esims.d.ts +566 -0
- package/resources/esims/esims.d.ts.map +1 -0
- package/resources/esims/esims.js +205 -0
- package/resources/esims/esims.js.map +1 -0
- package/resources/esims/esims.mjs +200 -0
- package/resources/esims/esims.mjs.map +1 -0
- package/resources/esims/index.d.mts +3 -0
- package/resources/esims/index.d.mts.map +1 -0
- package/resources/esims/index.d.ts +3 -0
- package/resources/esims/index.d.ts.map +1 -0
- package/resources/esims/index.js +9 -0
- package/resources/esims/index.js.map +1 -0
- package/resources/esims/index.mjs +4 -0
- package/resources/esims/index.mjs.map +1 -0
- package/resources/esims/messages.d.mts +106 -0
- package/resources/esims/messages.d.mts.map +1 -0
- package/resources/esims/messages.d.ts +106 -0
- package/resources/esims/messages.d.ts.map +1 -0
- package/resources/esims/messages.js +37 -0
- package/resources/esims/messages.js.map +1 -0
- package/resources/esims/messages.mjs +33 -0
- package/resources/esims/messages.mjs.map +1 -0
- package/resources/esims.d.mts +2 -0
- package/resources/esims.d.mts.map +1 -0
- package/resources/esims.d.ts +2 -0
- package/resources/esims.d.ts.map +1 -0
- package/resources/esims.js +6 -0
- package/resources/esims.js.map +1 -0
- package/resources/esims.mjs +3 -0
- package/resources/esims.mjs.map +1 -0
- package/resources/files.d.mts +126 -0
- package/resources/files.d.mts.map +1 -0
- package/resources/files.d.ts +126 -0
- package/resources/files.d.ts.map +1 -0
- package/resources/files.js +68 -0
- package/resources/files.js.map +1 -0
- package/resources/files.mjs +64 -0
- package/resources/files.mjs.map +1 -0
- package/resources/index.d.mts +13 -6
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +13 -6
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +17 -3
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +8 -1
- package/resources/index.mjs.map +1 -1
- package/resources/messages/conversations.d.mts +82 -0
- package/resources/messages/conversations.d.mts.map +1 -0
- package/resources/messages/conversations.d.ts +82 -0
- package/resources/messages/conversations.d.ts.map +1 -0
- package/resources/messages/conversations.js +34 -0
- package/resources/messages/conversations.js.map +1 -0
- package/resources/messages/conversations.mjs +30 -0
- package/resources/messages/conversations.mjs.map +1 -0
- package/resources/messages/index.d.mts +3 -0
- package/resources/messages/index.d.mts.map +1 -0
- package/resources/messages/index.d.ts +3 -0
- package/resources/messages/index.d.ts.map +1 -0
- package/resources/messages/index.js +9 -0
- package/resources/messages/index.js.map +1 -0
- package/resources/messages/index.mjs +4 -0
- package/resources/messages/index.mjs.map +1 -0
- package/resources/messages/messages.d.mts +51 -0
- package/resources/messages/messages.d.mts.map +1 -0
- package/resources/messages/messages.d.ts +51 -0
- package/resources/messages/messages.d.ts.map +1 -0
- package/resources/messages/messages.js +26 -0
- package/resources/messages/messages.js.map +1 -0
- package/resources/messages/messages.mjs +21 -0
- package/resources/messages/messages.mjs.map +1 -0
- package/resources/messages.d.mts +2 -0
- package/resources/messages.d.mts.map +1 -0
- package/resources/messages.d.ts +2 -0
- package/resources/messages.d.ts.map +1 -0
- package/resources/messages.js +6 -0
- package/resources/messages.js.map +1 -0
- package/resources/messages.mjs +3 -0
- package/resources/messages.mjs.map +1 -0
- package/resources/models.d.mts +20 -5
- package/resources/models.d.mts.map +1 -1
- package/resources/models.d.ts +20 -5
- package/resources/models.d.ts.map +1 -1
- package/resources/models.js +1 -1
- package/resources/models.mjs +1 -1
- package/resources/notifications.d.mts +86 -0
- package/resources/notifications.d.mts.map +1 -0
- package/resources/notifications.d.ts +86 -0
- package/resources/notifications.d.ts.map +1 -0
- package/resources/notifications.js +55 -0
- package/resources/notifications.js.map +1 -0
- package/resources/notifications.mjs +51 -0
- package/resources/notifications.mjs.map +1 -0
- package/resources/numbers/index.d.mts +3 -0
- package/resources/numbers/index.d.mts.map +1 -0
- package/resources/numbers/index.d.ts +3 -0
- package/resources/numbers/index.d.ts.map +1 -0
- package/resources/numbers/index.js +9 -0
- package/resources/numbers/index.js.map +1 -0
- package/resources/numbers/index.mjs +4 -0
- package/resources/numbers/index.mjs.map +1 -0
- package/resources/numbers/messages.d.mts +48 -0
- package/resources/numbers/messages.d.mts.map +1 -0
- package/resources/numbers/messages.d.ts +48 -0
- package/resources/numbers/messages.d.ts.map +1 -0
- package/resources/numbers/messages.js +25 -0
- package/resources/numbers/messages.js.map +1 -0
- package/resources/numbers/messages.mjs +21 -0
- package/resources/numbers/messages.mjs.map +1 -0
- package/resources/numbers/numbers.d.mts +270 -0
- package/resources/numbers/numbers.d.mts.map +1 -0
- package/resources/numbers/numbers.d.ts +270 -0
- package/resources/numbers/numbers.d.ts.map +1 -0
- package/resources/numbers/numbers.js +134 -0
- package/resources/numbers/numbers.js.map +1 -0
- package/resources/numbers/numbers.mjs +129 -0
- package/resources/numbers/numbers.mjs.map +1 -0
- package/resources/numbers.d.mts +2 -0
- package/resources/numbers.d.mts.map +1 -0
- package/resources/numbers.d.ts +2 -0
- package/resources/numbers.d.ts.map +1 -0
- package/resources/numbers.js +6 -0
- package/resources/numbers.js.map +1 -0
- package/resources/numbers.mjs +3 -0
- package/resources/numbers.mjs.map +1 -0
- package/resources/proxies.d.mts +43 -20
- package/resources/proxies.d.mts.map +1 -1
- package/resources/proxies.d.ts +43 -20
- package/resources/proxies.d.ts.map +1 -1
- package/resources/proxies.js.map +1 -1
- package/resources/proxies.mjs.map +1 -1
- package/resources/shared.d.mts +11 -3
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +11 -3
- package/resources/shared.d.ts.map +1 -1
- package/resources/store/apps.d.mts +119 -0
- package/resources/store/apps.d.mts.map +1 -0
- package/resources/store/apps.d.ts +119 -0
- package/resources/store/apps.d.ts.map +1 -0
- package/resources/store/apps.js +31 -0
- package/resources/store/apps.js.map +1 -0
- package/resources/store/apps.mjs +27 -0
- package/resources/store/apps.mjs.map +1 -0
- package/resources/store/index.d.mts +3 -0
- package/resources/store/index.d.mts.map +1 -0
- package/resources/store/index.d.ts +3 -0
- package/resources/store/index.d.ts.map +1 -0
- package/resources/store/index.js +9 -0
- package/resources/store/index.js.map +1 -0
- package/resources/store/index.mjs +4 -0
- package/resources/store/index.mjs.map +1 -0
- package/resources/store/store.d.mts +20 -0
- package/resources/store/store.d.mts.map +1 -0
- package/resources/store/store.d.ts +20 -0
- package/resources/store/store.d.ts.map +1 -0
- package/resources/store/store.js +23 -0
- package/resources/store/store.js.map +1 -0
- package/resources/store/store.mjs +18 -0
- package/resources/store/store.mjs.map +1 -0
- package/resources/store.d.mts +2 -0
- package/resources/store.d.mts.map +1 -0
- package/resources/store.d.ts +2 -0
- package/resources/store.d.ts.map +1 -0
- package/resources/store.js +6 -0
- package/resources/store.js.map +1 -0
- package/resources/store.mjs +3 -0
- package/resources/store.mjs.map +1 -0
- package/resources/tasks/index.d.mts +3 -3
- package/resources/tasks/index.d.mts.map +1 -1
- package/resources/tasks/index.d.ts +3 -3
- package/resources/tasks/index.d.ts.map +1 -1
- package/resources/tasks/index.js.map +1 -1
- package/resources/tasks/index.mjs +1 -1
- package/resources/tasks/index.mjs.map +1 -1
- package/resources/tasks/screenshots.d.mts +3 -3
- package/resources/tasks/screenshots.d.mts.map +1 -1
- package/resources/tasks/screenshots.d.ts +3 -3
- package/resources/tasks/screenshots.d.ts.map +1 -1
- package/resources/tasks/tasks.d.mts +65 -34
- package/resources/tasks/tasks.d.mts.map +1 -1
- package/resources/tasks/tasks.d.ts +65 -34
- package/resources/tasks/tasks.d.ts.map +1 -1
- package/resources/tasks/tasks.js.map +1 -1
- package/resources/tasks/tasks.mjs +1 -1
- package/resources/tasks/tasks.mjs.map +1 -1
- package/resources/tasks/ui-states.d.mts +8 -3
- package/resources/tasks/ui-states.d.mts.map +1 -1
- package/resources/tasks/ui-states.d.ts +8 -3
- package/resources/tasks/ui-states.d.ts.map +1 -1
- package/resources/tasks/ui-states.js.map +1 -1
- package/resources/tasks/ui-states.mjs.map +1 -1
- package/resources/workflows/action-catalog.d.mts +27 -13
- package/resources/workflows/action-catalog.d.mts.map +1 -1
- package/resources/workflows/action-catalog.d.ts +27 -13
- package/resources/workflows/action-catalog.d.ts.map +1 -1
- package/resources/workflows/actions/actions.d.mts +85 -23
- package/resources/workflows/actions/actions.d.mts.map +1 -1
- package/resources/workflows/actions/actions.d.ts +85 -23
- package/resources/workflows/actions/actions.d.ts.map +1 -1
- package/resources/workflows/actions/actions.js.map +1 -1
- package/resources/workflows/actions/actions.mjs.map +1 -1
- package/resources/workflows/actions/index.d.mts +1 -1
- package/resources/workflows/actions/index.d.mts.map +1 -1
- package/resources/workflows/actions/index.d.ts +1 -1
- package/resources/workflows/actions/index.d.ts.map +1 -1
- package/resources/workflows/actions/index.js.map +1 -1
- package/resources/workflows/actions/index.mjs.map +1 -1
- package/resources/workflows/events.d.mts +145 -1
- package/resources/workflows/events.d.mts.map +1 -1
- package/resources/workflows/events.d.ts +145 -1
- package/resources/workflows/events.d.ts.map +1 -1
- package/resources/workflows/events.js +18 -2
- package/resources/workflows/events.js.map +1 -1
- package/resources/workflows/events.mjs +16 -1
- package/resources/workflows/events.mjs.map +1 -1
- package/resources/workflows/executions.d.mts +96 -26
- package/resources/workflows/executions.d.mts.map +1 -1
- package/resources/workflows/executions.d.ts +96 -26
- package/resources/workflows/executions.d.ts.map +1 -1
- package/resources/workflows/executions.js +7 -0
- package/resources/workflows/executions.js.map +1 -1
- package/resources/workflows/executions.mjs +7 -0
- package/resources/workflows/executions.mjs.map +1 -1
- package/resources/workflows/flows/actions.d.mts +109 -26
- package/resources/workflows/flows/actions.d.mts.map +1 -1
- package/resources/workflows/flows/actions.d.ts +109 -26
- package/resources/workflows/flows/actions.d.ts.map +1 -1
- package/resources/workflows/flows/actions.js.map +1 -1
- package/resources/workflows/flows/actions.mjs.map +1 -1
- package/resources/workflows/flows/flows.d.mts +381 -25
- package/resources/workflows/flows/flows.d.mts.map +1 -1
- package/resources/workflows/flows/flows.d.ts +381 -25
- package/resources/workflows/flows/flows.d.ts.map +1 -1
- package/resources/workflows/flows/flows.js +25 -0
- package/resources/workflows/flows/flows.js.map +1 -1
- package/resources/workflows/flows/flows.mjs +25 -0
- package/resources/workflows/flows/flows.mjs.map +1 -1
- package/resources/workflows/flows/index.d.mts +2 -2
- package/resources/workflows/flows/index.d.mts.map +1 -1
- package/resources/workflows/flows/index.d.ts +2 -2
- package/resources/workflows/flows/index.d.ts.map +1 -1
- package/resources/workflows/flows/index.js.map +1 -1
- package/resources/workflows/flows/index.mjs.map +1 -1
- package/resources/workflows/index.d.mts +6 -6
- package/resources/workflows/index.d.mts.map +1 -1
- package/resources/workflows/index.d.ts +6 -6
- package/resources/workflows/index.d.ts.map +1 -1
- package/resources/workflows/index.js +4 -4
- package/resources/workflows/index.js.map +1 -1
- package/resources/workflows/index.mjs +1 -1
- package/resources/workflows/index.mjs.map +1 -1
- package/resources/workflows/triggers.d.mts +6 -3
- package/resources/workflows/triggers.d.mts.map +1 -1
- package/resources/workflows/triggers.d.ts +6 -3
- package/resources/workflows/triggers.d.ts.map +1 -1
- package/resources/workflows/workflows.d.mts +10 -48
- package/resources/workflows/workflows.d.mts.map +1 -1
- package/resources/workflows/workflows.d.ts +10 -48
- package/resources/workflows/workflows.d.ts.map +1 -1
- package/resources/workflows/workflows.js +2 -2
- package/resources/workflows/workflows.js.map +1 -1
- package/resources/workflows/workflows.mjs +2 -2
- package/resources/workflows/workflows.mjs.map +1 -1
- package/src/client.ts +164 -21
- package/src/core/streaming.ts +315 -0
- package/src/internal/decoders/line.ts +135 -0
- package/src/internal/parse.ts +14 -0
- package/src/internal/request-options.ts +2 -0
- package/src/resources/app-events/app-events.ts +133 -0
- package/src/resources/app-events/catalog.ts +100 -0
- package/src/resources/app-events/index.ts +9 -0
- package/src/resources/app-events.ts +3 -0
- package/src/resources/apps.ts +41 -2
- package/src/resources/assistant/assistant.ts +59 -0
- package/src/resources/assistant/conversations.ts +524 -0
- package/src/resources/assistant/index.ts +26 -0
- package/src/resources/assistant.ts +3 -0
- package/src/resources/credentials/credentials.ts +40 -2
- package/src/resources/credentials/index.ts +1 -0
- package/src/resources/credentials/packages/credentials/credentials.ts +108 -33
- package/src/resources/credentials/packages/credentials/fields.ts +114 -4
- package/src/resources/credentials/packages/credentials/index.ts +0 -1
- package/src/resources/credentials/packages/index.ts +1 -1
- package/src/resources/credentials/packages/packages.ts +58 -3
- package/src/resources/devices/apps.ts +155 -0
- package/src/resources/devices/browser.ts +71 -0
- package/src/resources/devices/clipboard.ts +87 -0
- package/src/resources/devices/deep-link.ts +70 -0
- package/src/resources/devices/devices.ts +427 -23
- package/src/resources/devices/esim/apn.ts +178 -0
- package/src/resources/devices/esim/esim.ts +312 -0
- package/src/resources/devices/esim/index.ts +21 -0
- package/src/resources/devices/esim.ts +1 -208
- package/src/resources/devices/files.ts +36 -35
- package/src/resources/devices/index.ts +51 -5
- package/src/resources/devices/kiosk.ts +74 -0
- package/src/resources/devices/location.ts +33 -1
- package/src/resources/devices/media-sessions.ts +168 -0
- package/src/resources/devices/recordings.ts +358 -0
- package/src/resources/devices/state.ts +7 -9
- package/src/resources/devices/tasks.ts +11 -2
- package/src/resources/esims/esims.ts +1019 -0
- package/src/resources/esims/index.ts +28 -0
- package/src/resources/esims/messages.ts +187 -0
- package/src/resources/esims.ts +3 -0
- package/src/resources/files.ts +225 -0
- package/src/resources/index.ts +67 -8
- package/src/resources/messages/conversations.ts +132 -0
- package/src/resources/messages/index.ts +10 -0
- package/src/resources/messages/messages.ts +114 -0
- package/src/resources/messages.ts +3 -0
- package/src/resources/models.ts +22 -7
- package/src/resources/notifications.ts +118 -0
- package/src/resources/numbers/index.ts +16 -0
- package/src/resources/numbers/messages.ts +83 -0
- package/src/resources/numbers/numbers.ts +415 -0
- package/src/resources/numbers.ts +3 -0
- package/src/resources/proxies.ts +52 -22
- package/src/resources/shared.ts +18 -4
- package/src/resources/store/apps.ts +704 -0
- package/src/resources/store/index.ts +10 -0
- package/src/resources/store/store.ts +36 -0
- package/src/resources/store.ts +3 -0
- package/src/resources/tasks/index.ts +7 -6
- package/src/resources/tasks/screenshots.ts +3 -3
- package/src/resources/tasks/tasks.ts +89 -53
- package/src/resources/tasks/ui-states.ts +9 -2
- package/src/resources/workflows/action-catalog.ts +35 -14
- package/src/resources/workflows/actions/actions.ts +124 -24
- package/src/resources/workflows/actions/index.ts +0 -1
- package/src/resources/workflows/events.ts +228 -1
- package/src/resources/workflows/executions.ts +139 -35
- package/src/resources/workflows/flows/actions.ts +129 -25
- package/src/resources/workflows/flows/flows.ts +638 -24
- package/src/resources/workflows/flows/index.ts +3 -3
- package/src/resources/workflows/index.ts +6 -7
- package/src/resources/workflows/triggers.ts +6 -3
- package/src/resources/workflows/workflows.ts +16 -90
- package/src/streaming.ts +2 -0
- package/src/version.ts +1 -1
- package/streaming.d.mts +3 -0
- package/streaming.d.mts.map +1 -0
- package/streaming.d.ts +3 -0
- package/streaming.d.ts.map +1 -0
- package/streaming.js +6 -0
- package/streaming.js.map +1 -0
- package/streaming.mjs +3 -0
- package/streaming.mjs.map +1 -0
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
- package/resources/hooks.d.mts +0 -4
- package/resources/hooks.d.mts.map +0 -1
- package/resources/hooks.d.ts +0 -4
- package/resources/hooks.d.ts.map +0 -1
- package/resources/hooks.js +0 -9
- package/resources/hooks.js.map +0 -1
- package/resources/hooks.mjs +0 -5
- package/resources/hooks.mjs.map +0 -1
- package/resources/workflows/events/catalog.d.mts +0 -4
- package/resources/workflows/events/catalog.d.mts.map +0 -1
- package/resources/workflows/events/catalog.d.ts +0 -4
- package/resources/workflows/events/catalog.d.ts.map +0 -1
- package/resources/workflows/events/catalog.js +0 -9
- package/resources/workflows/events/catalog.js.map +0 -1
- package/resources/workflows/events/catalog.mjs +0 -5
- package/resources/workflows/events/catalog.mjs.map +0 -1
- package/resources/workflows/events/events.d.mts +0 -113
- package/resources/workflows/events/events.d.mts.map +0 -1
- package/resources/workflows/events/events.d.ts +0 -113
- package/resources/workflows/events/events.d.ts.map +0 -1
- package/resources/workflows/events/events.js +0 -30
- package/resources/workflows/events/events.js.map +0 -1
- package/resources/workflows/events/events.mjs +0 -25
- package/resources/workflows/events/events.mjs.map +0 -1
- package/resources/workflows/events/index.d.mts +0 -3
- package/resources/workflows/events/index.d.mts.map +0 -1
- package/resources/workflows/events/index.d.ts +0 -3
- package/resources/workflows/events/index.d.ts.map +0 -1
- package/resources/workflows/events/index.js.map +0 -1
- package/resources/workflows/events/index.mjs.map +0 -1
- package/src/resources/hooks.ts +0 -5
- package/src/resources/workflows/events/catalog.ts +0 -5
- package/src/resources/workflows/events/events.ts +0 -167
- package/src/resources/workflows/events/index.ts +0 -10
|
@@ -0,0 +1,109 @@
|
|
|
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.Conversations = void 0;
|
|
5
|
+
const resource_1 = require("../../core/resource.js");
|
|
6
|
+
const headers_1 = require("../../internal/headers.js");
|
|
7
|
+
const path_1 = require("../../internal/utils/path.js");
|
|
8
|
+
class Conversations extends resource_1.APIResource {
|
|
9
|
+
/**
|
|
10
|
+
* Creates a titled agent session. Setup may occur on the first prompt. Idempotent
|
|
11
|
+
* via the `Idempotency-Key` header — a duplicate submit by the same authenticated
|
|
12
|
+
* caller within the 24-hour idempotency window returns the already-created session
|
|
13
|
+
* instead of a second one.
|
|
14
|
+
*/
|
|
15
|
+
create(params, options) {
|
|
16
|
+
const { 'Idempotency-Key': idempotencyKey, ...body } = params;
|
|
17
|
+
return this._client.post('/assistant/chat/sessions', {
|
|
18
|
+
body,
|
|
19
|
+
...options,
|
|
20
|
+
headers: (0, headers_1.buildHeaders)([
|
|
21
|
+
{ ...(idempotencyKey != null ? { 'Idempotency-Key': idempotencyKey } : undefined) },
|
|
22
|
+
options?.headers,
|
|
23
|
+
]),
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Rename, change status, and/or pin. Title updates apply best-effort. Archiving
|
|
28
|
+
* always clears the pinned flag. `title` is rejected with 409
|
|
29
|
+
* `code: "session_title_managed_by_workflow"` when this chat is bound to a
|
|
30
|
+
* workflow — a bound chat's title is managed by the workflow. Other fields
|
|
31
|
+
* (description, status, pinned) remain updateable; archiving a bound chat stays
|
|
32
|
+
* allowed.
|
|
33
|
+
*/
|
|
34
|
+
update(id, body, options) {
|
|
35
|
+
return this._client.patch((0, path_1.path) `/assistant/chat/sessions/${id}`, { body, ...options });
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Default (`kind` absent or `chat`): active named chat sessions, pinned first then
|
|
39
|
+
* most recent activity — `workflowId` must be absent, or the request 400s.
|
|
40
|
+
* `mine=true` (only valid with `kind=chat`) narrows to sessions the caller
|
|
41
|
+
* created. `kind=agent_workflow`: workflow-linked sessions for one workflow
|
|
42
|
+
* (`workflowId` required, or the request 400s), no status filter, newest episode
|
|
43
|
+
* first.
|
|
44
|
+
*/
|
|
45
|
+
list(query = {}, options) {
|
|
46
|
+
return this._client.get('/assistant/chat/sessions', { query, ...options });
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Abort the in-flight chat turn owned by `sessionId`. Idempotent. A turn owned by
|
|
50
|
+
* a different session is left untouched (204).
|
|
51
|
+
*/
|
|
52
|
+
abort(body, options) {
|
|
53
|
+
return this._client.post('/assistant/chat/abort', { body, ...options });
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Deliver a HITL approval/rejection for an in-flight turn.
|
|
57
|
+
*/
|
|
58
|
+
answerPermission(body, options) {
|
|
59
|
+
return this._client.post('/assistant/chat/permission', { body, ...options });
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Deliver the user's answers to the agent's pending question for an in-flight
|
|
63
|
+
* turn. Idempotent via the `idempotency-key` header.
|
|
64
|
+
*/
|
|
65
|
+
answerQuestion(body, options) {
|
|
66
|
+
return this._client.post('/assistant/chat/question', { body, ...options });
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Return the user's chat history for the given session. History remains readable
|
|
70
|
+
* after the session is no longer active.
|
|
71
|
+
*/
|
|
72
|
+
history(query, options) {
|
|
73
|
+
return this._client.get('/assistant/chat/messages', { query, ...options });
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Dismiss the agent's pending question. Already-resolved questions return 200
|
|
77
|
+
* (no-op) so multi-tab dismiss stays idempotent.
|
|
78
|
+
*/
|
|
79
|
+
rejectQuestion(body, options) {
|
|
80
|
+
return this._client.post('/assistant/chat/question/reject', { body, ...options });
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Send a single user message. The response format follows the Accept header:
|
|
84
|
+
* `text/event-stream` for SSE, `application/json` for a buffered assistant reply.
|
|
85
|
+
* `sessionId` targets a concrete active chat. The resolved chat session ID is
|
|
86
|
+
* returned as `chatSessionId` in the JSON body and as the `X-Chat-Session-Id`
|
|
87
|
+
* response header on the SSE response.
|
|
88
|
+
*/
|
|
89
|
+
send(body, options) {
|
|
90
|
+
return this._client.post('/assistant/chat/message', { body, ...options });
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* Reconnect to the in-flight turn stream. Replays buffered events from the start
|
|
94
|
+
* of the active turn, then continues live until the turn finishes. Responds 204
|
|
95
|
+
* when no active turn exists for the requested session. Upstream streaming
|
|
96
|
+
* failures return a retryable 503 with `Retry-After`. Resume is best-effort. Does
|
|
97
|
+
* not start an inactive session.
|
|
98
|
+
*/
|
|
99
|
+
stream(query, options) {
|
|
100
|
+
return this._client.get('/assistant/chat/stream', {
|
|
101
|
+
query,
|
|
102
|
+
...options,
|
|
103
|
+
headers: (0, headers_1.buildHeaders)([{ Accept: 'text/event-stream' }, options?.headers]),
|
|
104
|
+
stream: true,
|
|
105
|
+
});
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
exports.Conversations = Conversations;
|
|
109
|
+
//# sourceMappingURL=conversations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"conversations.js","sourceRoot":"","sources":["../../src/resources/assistant/conversations.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAGlD,uDAAsD;AAEtD,uDAAiD;AAEjD,MAAa,aAAc,SAAQ,sBAAW;IAC5C;;;;;OAKG;IACH,MAAM,CAAC,MAAgC,EAAE,OAAwB;QAC/D,MAAM,EAAE,iBAAiB,EAAE,cAAc,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QAC9D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,0BAA0B,EAAE;YACnD,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC;gBACpB,EAAE,GAAG,CAAC,cAAc,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,iBAAiB,EAAE,cAAc,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,EAAE;gBACnF,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;O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EAAE,CAAC,CAAC;IACpF,CAAC;IAED;;;;;;OAMG;IACH,IAAI,CAAC,IAA4B,EAAE,OAAwB;QACzD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,yBAAyB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5E,CAAC;IAED;;;;;;OAMG;IACH,MAAM,CACJ,KAA+B,EAC/B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,wBAAwB,EAAE;YAChD,KAAK;YACL,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,mBAAmB,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;YAC1E,MAAM,EAAE,IAAI;SACb,CAAmD,CAAC;IACvD,CAAC;CACF;AAlID,sCAkIC"}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../../core/resource.mjs";
|
|
3
|
+
import { buildHeaders } from "../../internal/headers.mjs";
|
|
4
|
+
import { path } from "../../internal/utils/path.mjs";
|
|
5
|
+
export class Conversations extends APIResource {
|
|
6
|
+
/**
|
|
7
|
+
* Creates a titled agent session. Setup may occur on the first prompt. Idempotent
|
|
8
|
+
* via the `Idempotency-Key` header — a duplicate submit by the same authenticated
|
|
9
|
+
* caller within the 24-hour idempotency window returns the already-created session
|
|
10
|
+
* instead of a second one.
|
|
11
|
+
*/
|
|
12
|
+
create(params, options) {
|
|
13
|
+
const { 'Idempotency-Key': idempotencyKey, ...body } = params;
|
|
14
|
+
return this._client.post('/assistant/chat/sessions', {
|
|
15
|
+
body,
|
|
16
|
+
...options,
|
|
17
|
+
headers: buildHeaders([
|
|
18
|
+
{ ...(idempotencyKey != null ? { 'Idempotency-Key': idempotencyKey } : undefined) },
|
|
19
|
+
options?.headers,
|
|
20
|
+
]),
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Rename, change status, and/or pin. Title updates apply best-effort. Archiving
|
|
25
|
+
* always clears the pinned flag. `title` is rejected with 409
|
|
26
|
+
* `code: "session_title_managed_by_workflow"` when this chat is bound to a
|
|
27
|
+
* workflow — a bound chat's title is managed by the workflow. Other fields
|
|
28
|
+
* (description, status, pinned) remain updateable; archiving a bound chat stays
|
|
29
|
+
* allowed.
|
|
30
|
+
*/
|
|
31
|
+
update(id, body, options) {
|
|
32
|
+
return this._client.patch(path `/assistant/chat/sessions/${id}`, { body, ...options });
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Default (`kind` absent or `chat`): active named chat sessions, pinned first then
|
|
36
|
+
* most recent activity — `workflowId` must be absent, or the request 400s.
|
|
37
|
+
* `mine=true` (only valid with `kind=chat`) narrows to sessions the caller
|
|
38
|
+
* created. `kind=agent_workflow`: workflow-linked sessions for one workflow
|
|
39
|
+
* (`workflowId` required, or the request 400s), no status filter, newest episode
|
|
40
|
+
* first.
|
|
41
|
+
*/
|
|
42
|
+
list(query = {}, options) {
|
|
43
|
+
return this._client.get('/assistant/chat/sessions', { query, ...options });
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Abort the in-flight chat turn owned by `sessionId`. Idempotent. A turn owned by
|
|
47
|
+
* a different session is left untouched (204).
|
|
48
|
+
*/
|
|
49
|
+
abort(body, options) {
|
|
50
|
+
return this._client.post('/assistant/chat/abort', { body, ...options });
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Deliver a HITL approval/rejection for an in-flight turn.
|
|
54
|
+
*/
|
|
55
|
+
answerPermission(body, options) {
|
|
56
|
+
return this._client.post('/assistant/chat/permission', { body, ...options });
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Deliver the user's answers to the agent's pending question for an in-flight
|
|
60
|
+
* turn. Idempotent via the `idempotency-key` header.
|
|
61
|
+
*/
|
|
62
|
+
answerQuestion(body, options) {
|
|
63
|
+
return this._client.post('/assistant/chat/question', { body, ...options });
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Return the user's chat history for the given session. History remains readable
|
|
67
|
+
* after the session is no longer active.
|
|
68
|
+
*/
|
|
69
|
+
history(query, options) {
|
|
70
|
+
return this._client.get('/assistant/chat/messages', { query, ...options });
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Dismiss the agent's pending question. Already-resolved questions return 200
|
|
74
|
+
* (no-op) so multi-tab dismiss stays idempotent.
|
|
75
|
+
*/
|
|
76
|
+
rejectQuestion(body, options) {
|
|
77
|
+
return this._client.post('/assistant/chat/question/reject', { body, ...options });
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Send a single user message. The response format follows the Accept header:
|
|
81
|
+
* `text/event-stream` for SSE, `application/json` for a buffered assistant reply.
|
|
82
|
+
* `sessionId` targets a concrete active chat. The resolved chat session ID is
|
|
83
|
+
* returned as `chatSessionId` in the JSON body and as the `X-Chat-Session-Id`
|
|
84
|
+
* response header on the SSE response.
|
|
85
|
+
*/
|
|
86
|
+
send(body, options) {
|
|
87
|
+
return this._client.post('/assistant/chat/message', { body, ...options });
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* Reconnect to the in-flight turn stream. Replays buffered events from the start
|
|
91
|
+
* of the active turn, then continues live until the turn finishes. Responds 204
|
|
92
|
+
* when no active turn exists for the requested session. Upstream streaming
|
|
93
|
+
* failures return a retryable 503 with `Retry-After`. Resume is best-effort. Does
|
|
94
|
+
* not start an inactive session.
|
|
95
|
+
*/
|
|
96
|
+
stream(query, options) {
|
|
97
|
+
return this._client.get('/assistant/chat/stream', {
|
|
98
|
+
query,
|
|
99
|
+
...options,
|
|
100
|
+
headers: buildHeaders([{ Accept: 'text/event-stream' }, options?.headers]),
|
|
101
|
+
stream: true,
|
|
102
|
+
});
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
//# sourceMappingURL=conversations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AI;SACb,CAAmD,CAAC;IACvD,CAAC;CACF"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { Assistant } from "./assistant.mjs";
|
|
2
|
+
export { Conversations, type ConversationCreateResponse, type ConversationUpdateResponse, type ConversationListResponse, type ConversationAbortResponse, type ConversationAnswerPermissionResponse, type ConversationAnswerQuestionResponse, type ConversationHistoryResponse, type ConversationRejectQuestionResponse, type ConversationSendResponse, type ConversationStreamResponse, type ConversationCreateParams, type ConversationUpdateParams, type ConversationListParams, type ConversationAbortParams, type ConversationAnswerPermissionParams, type ConversationAnswerQuestionParams, type ConversationHistoryParams, type ConversationRejectQuestionParams, type ConversationSendParams, type ConversationStreamParams, } from "./conversations.mjs";
|
|
3
|
+
//# sourceMappingURL=index.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/assistant/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,wBAAoB;AACxC,OAAO,EACL,aAAa,EACb,KAAK,0BAA0B,EAC/B,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAC9B,KAAK,oCAAoC,EACzC,KAAK,kCAAkC,EACvC,KAAK,2BAA2B,EAChC,KAAK,kCAAkC,EACvC,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAC5B,KAAK,kCAAkC,EACvC,KAAK,gCAAgC,EACrC,KAAK,yBAAyB,EAC9B,KAAK,gCAAgC,EACrC,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,GAC9B,4BAAwB"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { Assistant } from "./assistant.js";
|
|
2
|
+
export { Conversations, type ConversationCreateResponse, type ConversationUpdateResponse, type ConversationListResponse, type ConversationAbortResponse, type ConversationAnswerPermissionResponse, type ConversationAnswerQuestionResponse, type ConversationHistoryResponse, type ConversationRejectQuestionResponse, type ConversationSendResponse, type ConversationStreamResponse, type ConversationCreateParams, type ConversationUpdateParams, type ConversationListParams, type ConversationAbortParams, type ConversationAnswerPermissionParams, type ConversationAnswerQuestionParams, type ConversationHistoryParams, type ConversationRejectQuestionParams, type ConversationSendParams, type ConversationStreamParams, } from "./conversations.js";
|
|
3
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/assistant/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,uBAAoB;AACxC,OAAO,EACL,aAAa,EACb,KAAK,0BAA0B,EAC/B,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAC9B,KAAK,oCAAoC,EACzC,KAAK,kCAAkC,EACvC,KAAK,2BAA2B,EAChC,KAAK,kCAAkC,EACvC,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAC5B,KAAK,kCAAkC,EACvC,KAAK,gCAAgC,EACrC,KAAK,yBAAyB,EAC9B,KAAK,gCAAgC,EACrC,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,GAC9B,2BAAwB"}
|
|
@@ -0,0 +1,9 @@
|
|
|
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.Conversations = exports.Assistant = void 0;
|
|
5
|
+
var assistant_1 = require("./assistant.js");
|
|
6
|
+
Object.defineProperty(exports, "Assistant", { enumerable: true, get: function () { return assistant_1.Assistant; } });
|
|
7
|
+
var conversations_1 = require("./conversations.js");
|
|
8
|
+
Object.defineProperty(exports, "Conversations", { enumerable: true, get: function () { return conversations_1.Conversations; } });
|
|
9
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/assistant/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,4CAAwC;AAA/B,sGAAA,SAAS,OAAA;AAClB,oDAsByB;AArBvB,8GAAA,aAAa,OAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/assistant/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,SAAS,EAAE,wBAAoB;AACxC,OAAO,EACL,aAAa,GAqBd,4BAAwB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"assistant.d.mts","sourceRoot":"","sources":["../src/resources/assistant.ts"],"names":[],"mappings":"AAEA,sCAAkC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"assistant.d.ts","sourceRoot":"","sources":["../src/resources/assistant.ts"],"names":[],"mappings":"AAEA,qCAAkC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
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("./assistant/index.js"), exports);
|
|
6
|
+
//# sourceMappingURL=assistant.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"assistant.js","sourceRoot":"","sources":["../src/resources/assistant.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,+DAAkC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"assistant.mjs","sourceRoot":"","sources":["../src/resources/assistant.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,sCAAkC"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { APIResource } from "../../core/resource.mjs";
|
|
2
2
|
import * as Shared from "../shared.mjs";
|
|
3
3
|
import * as PackagesAPI from "./packages/packages.mjs";
|
|
4
|
-
import { PackageCreateParams, PackageCreateResponse, PackageListResponse, Packages } from "./packages/packages.mjs";
|
|
5
|
-
import * as PackagesCredentialsAPI from "./packages/credentials/credentials.mjs";
|
|
4
|
+
import { PackageCreateParams, PackageCreateResponse, PackageListAllResponse, PackageListResponse, Packages } from "./packages/packages.mjs";
|
|
6
5
|
import { APIPromise } from "../../core/api-promise.mjs";
|
|
7
6
|
import { RequestOptions } from "../../internal/request-options.mjs";
|
|
8
7
|
export declare class Credentials extends APIResource {
|
|
@@ -15,15 +14,36 @@ export declare class Credentials extends APIResource {
|
|
|
15
14
|
list(query?: CredentialListParams | null | undefined, options?: RequestOptions): APIPromise<CredentialListResponse>;
|
|
16
15
|
}
|
|
17
16
|
export interface CredentialListResponse {
|
|
18
|
-
items: Array<
|
|
17
|
+
items: Array<CredentialListResponse.Item>;
|
|
19
18
|
pagination: Shared.Pagination;
|
|
20
19
|
}
|
|
20
|
+
export declare namespace CredentialListResponse {
|
|
21
|
+
interface Item {
|
|
22
|
+
createdBy: string | null;
|
|
23
|
+
credentialName: string;
|
|
24
|
+
fields: Array<Item.Field>;
|
|
25
|
+
ownerId: string;
|
|
26
|
+
packageName: string;
|
|
27
|
+
secretPath: string;
|
|
28
|
+
/**
|
|
29
|
+
* @deprecated Deprecated: use createdBy (same value — the creating actor). Null
|
|
30
|
+
* for credentials created before rollout.
|
|
31
|
+
*/
|
|
32
|
+
userId: string | null;
|
|
33
|
+
}
|
|
34
|
+
namespace Item {
|
|
35
|
+
interface Field {
|
|
36
|
+
fieldType: 'email' | 'username' | 'password' | 'api_token' | 'phone_number' | 'two_factor_secret' | 'backup_codes';
|
|
37
|
+
value: string;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
21
41
|
export interface CredentialListParams {
|
|
22
42
|
page?: number;
|
|
23
43
|
pageSize?: number;
|
|
24
44
|
}
|
|
25
45
|
export declare namespace Credentials {
|
|
26
46
|
export { type CredentialListResponse as CredentialListResponse, type CredentialListParams as CredentialListParams, };
|
|
27
|
-
export { Packages as Packages, type PackageCreateResponse as PackageCreateResponse, type PackageListResponse as PackageListResponse, type PackageCreateParams as PackageCreateParams, };
|
|
47
|
+
export { Packages as Packages, type PackageCreateResponse as PackageCreateResponse, type PackageListResponse as PackageListResponse, type PackageListAllResponse as PackageListAllResponse, type PackageCreateParams as PackageCreateParams, };
|
|
28
48
|
}
|
|
29
49
|
//# sourceMappingURL=credentials.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"credentials.d.mts","sourceRoot":"","sources":["../../src/resources/credentials/credentials.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,MAAM,sBAAkB;AACpC,OAAO,KAAK,WAAW,gCAA4B;AACnD,OAAO,EACL,mBAAmB,EACnB,qBAAqB,EACrB,mBAAmB,EACnB,QAAQ,EACT,gCAA4B;AAC7B,OAAO,
|
|
1
|
+
{"version":3,"file":"credentials.d.mts","sourceRoot":"","sources":["../../src/resources/credentials/credentials.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,MAAM,sBAAkB;AACpC,OAAO,KAAK,WAAW,gCAA4B;AACnD,OAAO,EACL,mBAAmB,EACnB,qBAAqB,EACrB,sBAAsB,EACtB,mBAAmB,EACnB,QAAQ,EACT,gCAA4B;AAC7B,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAEhE,qBAAa,WAAY,SAAQ,WAAW;IAC1C,QAAQ,EAAE,WAAW,CAAC,QAAQ,CAA0C;IAExE;;;;OAIG;IACH,IAAI,C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1,7 @@
|
|
|
1
1
|
import { APIResource } from "../../core/resource.js";
|
|
2
2
|
import * as Shared from "../shared.js";
|
|
3
3
|
import * as PackagesAPI from "./packages/packages.js";
|
|
4
|
-
import { PackageCreateParams, PackageCreateResponse, PackageListResponse, Packages } from "./packages/packages.js";
|
|
5
|
-
import * as PackagesCredentialsAPI from "./packages/credentials/credentials.js";
|
|
4
|
+
import { PackageCreateParams, PackageCreateResponse, PackageListAllResponse, PackageListResponse, Packages } from "./packages/packages.js";
|
|
6
5
|
import { APIPromise } from "../../core/api-promise.js";
|
|
7
6
|
import { RequestOptions } from "../../internal/request-options.js";
|
|
8
7
|
export declare class Credentials extends APIResource {
|
|
@@ -15,15 +14,36 @@ export declare class Credentials extends APIResource {
|
|
|
15
14
|
list(query?: CredentialListParams | null | undefined, options?: RequestOptions): APIPromise<CredentialListResponse>;
|
|
16
15
|
}
|
|
17
16
|
export interface CredentialListResponse {
|
|
18
|
-
items: Array<
|
|
17
|
+
items: Array<CredentialListResponse.Item>;
|
|
19
18
|
pagination: Shared.Pagination;
|
|
20
19
|
}
|
|
20
|
+
export declare namespace CredentialListResponse {
|
|
21
|
+
interface Item {
|
|
22
|
+
createdBy: string | null;
|
|
23
|
+
credentialName: string;
|
|
24
|
+
fields: Array<Item.Field>;
|
|
25
|
+
ownerId: string;
|
|
26
|
+
packageName: string;
|
|
27
|
+
secretPath: string;
|
|
28
|
+
/**
|
|
29
|
+
* @deprecated Deprecated: use createdBy (same value — the creating actor). Null
|
|
30
|
+
* for credentials created before rollout.
|
|
31
|
+
*/
|
|
32
|
+
userId: string | null;
|
|
33
|
+
}
|
|
34
|
+
namespace Item {
|
|
35
|
+
interface Field {
|
|
36
|
+
fieldType: 'email' | 'username' | 'password' | 'api_token' | 'phone_number' | 'two_factor_secret' | 'backup_codes';
|
|
37
|
+
value: string;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
21
41
|
export interface CredentialListParams {
|
|
22
42
|
page?: number;
|
|
23
43
|
pageSize?: number;
|
|
24
44
|
}
|
|
25
45
|
export declare namespace Credentials {
|
|
26
46
|
export { type CredentialListResponse as CredentialListResponse, type CredentialListParams as CredentialListParams, };
|
|
27
|
-
export { Packages as Packages, type PackageCreateResponse as PackageCreateResponse, type PackageListResponse as PackageListResponse, type PackageCreateParams as PackageCreateParams, };
|
|
47
|
+
export { Packages as Packages, type PackageCreateResponse as PackageCreateResponse, type PackageListResponse as PackageListResponse, type PackageListAllResponse as PackageListAllResponse, type PackageCreateParams as PackageCreateParams, };
|
|
28
48
|
}
|
|
29
49
|
//# sourceMappingURL=credentials.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"credentials.d.ts","sourceRoot":"","sources":["../../src/resources/credentials/credentials.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,KAAK,MAAM,qBAAkB;AACpC,OAAO,KAAK,WAAW,+BAA4B;AACnD,OAAO,EACL,mBAAmB,EACnB,qBAAqB,EACrB,mBAAmB,EACnB,QAAQ,EACT,+BAA4B;AAC7B,OAAO,
|
|
1
|
+
{"version":3,"file":"credentials.d.ts","sourceRoot":"","sources":["../../src/resources/credentials/credentials.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,KAAK,MAAM,qBAAkB;AACpC,OAAO,KAAK,WAAW,+BAA4B;AACnD,OAAO,EACL,mBAAmB,EACnB,qBAAqB,EACrB,sBAAsB,EACtB,mBAAmB,EACnB,QAAQ,EACT,+BAA4B;AAC7B,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAEhE,qBAAa,WAAY,SAAQ,WAAW;IAC1C,QAAQ,EAAE,WAAW,CAAC,QAAQ,CAA0C;IAExE;;;;OAIG;IACH,IAAI,CACF,KAAK,GAAE,oBAAoB,GAAG,IAAI,GAAG,SAAc,EACnD,OAAO,CAAC,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credentials.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAElD,4EAAmD;AACnD,
|
|
1
|
+
{"version":3,"file":"credentials.js","sourceRoot":"","sources":["../../src/resources/credentials/credentials.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAElD,4EAAmD;AACnD,qDAM6B;AAI7B,MAAa,WAAY,SAAQ,sBAAW;IAA5C;;QACE,aAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAa1E,CAAC;IAXC;;;;OAIG;IACH,IAAI,CACF,QAAiD,EAAE,EACnD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,cAAc,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjE,CAAC;CACF;AAdD,kCAcC;AAmDD,WAAW,CAAC,QAAQ,GAAG,mBAAQ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"credentials.mjs","sourceRoot":"","sources":["../../src/resources/credentials/credentials.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAElD,OAAO,KAAK,WAAW,gCAA4B;AACnD,OAAO,
|
|
1
|
+
{"version":3,"file":"credentials.mjs","sourceRoot":"","sources":["../../src/resources/credentials/credentials.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAElD,OAAO,KAAK,WAAW,gCAA4B;AACnD,OAAO,EAKL,QAAQ,GACT,gCAA4B;AAI7B,MAAM,OAAO,WAAY,SAAQ,WAAW;IAA5C;;QACE,aAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAa1E,CAAC;IAXC;;;;OAIG;IACH,IAAI,CACF,QAAiD,EAAE,EACnD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,cAAc,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjE,CAAC;CACF;AAmDD,WAAW,CAAC,QAAQ,GAAG,QAAQ,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { Credentials, type CredentialListResponse, type CredentialListParams } from "./credentials.mjs";
|
|
2
|
-
export { Packages, type PackageCreateResponse, type PackageListResponse, type PackageCreateParams, } from "./packages/index.mjs";
|
|
2
|
+
export { Packages, type PackageCreateResponse, type PackageListResponse, type PackageListAllResponse, type PackageCreateParams, } from "./packages/index.mjs";
|
|
3
3
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/credentials/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,KAAK,sBAAsB,EAAE,KAAK,oBAAoB,EAAE,0BAAsB;AACpG,OAAO,EACL,QAAQ,EACR,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,GACzB,6BAAyB"}
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/credentials/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,KAAK,sBAAsB,EAAE,KAAK,oBAAoB,EAAE,0BAAsB;AACpG,OAAO,EACL,QAAQ,EACR,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,sBAAsB,EAC3B,KAAK,mBAAmB,GACzB,6BAAyB"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { Credentials, type CredentialListResponse, type CredentialListParams } from "./credentials.js";
|
|
2
|
-
export { Packages, type PackageCreateResponse, type PackageListResponse, type PackageCreateParams, } from "./packages/index.js";
|
|
2
|
+
export { Packages, type PackageCreateResponse, type PackageListResponse, type PackageListAllResponse, type PackageCreateParams, } from "./packages/index.js";
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/credentials/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,KAAK,sBAAsB,EAAE,KAAK,oBAAoB,EAAE,yBAAsB;AACpG,OAAO,EACL,QAAQ,EACR,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,GACzB,4BAAyB"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/credentials/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,KAAK,sBAAsB,EAAE,KAAK,oBAAoB,EAAE,yBAAsB;AACpG,OAAO,EACL,QAAQ,EACR,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,sBAAsB,EAC3B,KAAK,mBAAmB,GACzB,4BAAyB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/credentials/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gDAAoG;AAA3F,0GAAA,WAAW,OAAA;AACpB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/credentials/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gDAAoG;AAA3F,0GAAA,WAAW,OAAA;AACpB,6CAM0B;AALxB,iGAAA,QAAQ,OAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/credentials/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAA0D,0BAAsB;AACpG,OAAO,EACL,QAAQ,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/credentials/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAA0D,0BAAsB;AACpG,OAAO,EACL,QAAQ,GAKT,6BAAyB"}
|
|
@@ -22,38 +22,82 @@ export declare class Credentials extends APIResource {
|
|
|
22
22
|
*/
|
|
23
23
|
delete(credentialName: string, params: CredentialDeleteParams, options?: RequestOptions): APIPromise<CredentialDeleteResponse>;
|
|
24
24
|
}
|
|
25
|
-
export interface Credential {
|
|
26
|
-
createdBy: string | null;
|
|
27
|
-
credentialName: string;
|
|
28
|
-
fields: Array<Credential.Field>;
|
|
29
|
-
ownerId: string;
|
|
30
|
-
packageName: string;
|
|
31
|
-
secretPath: string;
|
|
32
|
-
/**
|
|
33
|
-
* @deprecated Deprecated: use createdBy (same value — the creating actor). Null
|
|
34
|
-
* for credentials created before rollout.
|
|
35
|
-
*/
|
|
36
|
-
userId: string | null;
|
|
37
|
-
}
|
|
38
|
-
export declare namespace Credential {
|
|
39
|
-
interface Field {
|
|
40
|
-
fieldType: 'email' | 'username' | 'password' | 'api_token' | 'phone_number' | 'two_factor_secret' | 'backup_codes';
|
|
41
|
-
value: string;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
25
|
export interface CredentialCreateResponse {
|
|
45
|
-
data:
|
|
26
|
+
data: CredentialCreateResponse.Data;
|
|
46
27
|
message: string;
|
|
47
28
|
success: true;
|
|
48
29
|
}
|
|
30
|
+
export declare namespace CredentialCreateResponse {
|
|
31
|
+
interface Data {
|
|
32
|
+
createdBy: string | null;
|
|
33
|
+
credentialName: string;
|
|
34
|
+
fields: Array<Data.Field>;
|
|
35
|
+
ownerId: string;
|
|
36
|
+
packageName: string;
|
|
37
|
+
secretPath: string;
|
|
38
|
+
/**
|
|
39
|
+
* @deprecated Deprecated: use createdBy (same value — the creating actor). Null
|
|
40
|
+
* for credentials created before rollout.
|
|
41
|
+
*/
|
|
42
|
+
userId: string | null;
|
|
43
|
+
}
|
|
44
|
+
namespace Data {
|
|
45
|
+
interface Field {
|
|
46
|
+
fieldType: 'email' | 'username' | 'password' | 'api_token' | 'phone_number' | 'two_factor_secret' | 'backup_codes';
|
|
47
|
+
value: string;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
49
51
|
export interface CredentialRetrieveResponse {
|
|
50
|
-
data:
|
|
52
|
+
data: CredentialRetrieveResponse.Data;
|
|
53
|
+
}
|
|
54
|
+
export declare namespace CredentialRetrieveResponse {
|
|
55
|
+
interface Data {
|
|
56
|
+
createdBy: string | null;
|
|
57
|
+
credentialName: string;
|
|
58
|
+
fields: Array<Data.Field>;
|
|
59
|
+
ownerId: string;
|
|
60
|
+
packageName: string;
|
|
61
|
+
secretPath: string;
|
|
62
|
+
/**
|
|
63
|
+
* @deprecated Deprecated: use createdBy (same value — the creating actor). Null
|
|
64
|
+
* for credentials created before rollout.
|
|
65
|
+
*/
|
|
66
|
+
userId: string | null;
|
|
67
|
+
}
|
|
68
|
+
namespace Data {
|
|
69
|
+
interface Field {
|
|
70
|
+
fieldType: 'email' | 'username' | 'password' | 'api_token' | 'phone_number' | 'two_factor_secret' | 'backup_codes';
|
|
71
|
+
value: string;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
51
74
|
}
|
|
52
75
|
export interface CredentialDeleteResponse {
|
|
53
|
-
data:
|
|
76
|
+
data: CredentialDeleteResponse.Data;
|
|
54
77
|
message: string;
|
|
55
78
|
success: true;
|
|
56
79
|
}
|
|
80
|
+
export declare namespace CredentialDeleteResponse {
|
|
81
|
+
interface Data {
|
|
82
|
+
createdBy: string | null;
|
|
83
|
+
credentialName: string;
|
|
84
|
+
fields: Array<Data.Field>;
|
|
85
|
+
ownerId: string;
|
|
86
|
+
packageName: string;
|
|
87
|
+
secretPath: string;
|
|
88
|
+
/**
|
|
89
|
+
* @deprecated Deprecated: use createdBy (same value — the creating actor). Null
|
|
90
|
+
* for credentials created before rollout.
|
|
91
|
+
*/
|
|
92
|
+
userId: string | null;
|
|
93
|
+
}
|
|
94
|
+
namespace Data {
|
|
95
|
+
interface Field {
|
|
96
|
+
fieldType: 'email' | 'username' | 'password' | 'api_token' | 'phone_number' | 'two_factor_secret' | 'backup_codes';
|
|
97
|
+
value: string;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
57
101
|
export interface CredentialCreateParams {
|
|
58
102
|
credentialName: string;
|
|
59
103
|
fields: Array<CredentialCreateParams.Field>;
|
|
@@ -71,7 +115,7 @@ export interface CredentialDeleteParams {
|
|
|
71
115
|
packageName: string;
|
|
72
116
|
}
|
|
73
117
|
export declare namespace Credentials {
|
|
74
|
-
export { type
|
|
118
|
+
export { type CredentialCreateResponse as CredentialCreateResponse, type CredentialRetrieveResponse as CredentialRetrieveResponse, type CredentialDeleteResponse as CredentialDeleteResponse, type CredentialCreateParams as CredentialCreateParams, type CredentialRetrieveParams as CredentialRetrieveParams, type CredentialDeleteParams as CredentialDeleteParams, };
|
|
75
119
|
export { Fields as Fields, type FieldCreateResponse as FieldCreateResponse, type FieldUpdateResponse as FieldUpdateResponse, type FieldDeleteResponse as FieldDeleteResponse, type FieldCreateParams as FieldCreateParams, type FieldUpdateParams as FieldUpdateParams, type FieldDeleteParams as FieldDeleteParams, };
|
|
76
120
|
}
|
|
77
121
|
//# sourceMappingURL=credentials.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"credentials.d.mts","sourceRoot":"","sources":["../../../../src/resources/credentials/packages/credentials/credentials.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,sCAAkC;AACxD,OAAO,KAAK,SAAS,qBAAiB;AACtC,OAAO,EACL,iBAAiB,EACjB,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,EACP,qBAAiB;AAClB,OAAO,EAAE,UAAU,EAAE,yCAAqC;AAC1D,OAAO,EAAE,cAAc,EAAE,iDAA6C;AAGtE,qBAAa,WAAY,SAAQ,WAAW;IAC1C,MAAM,EAAE,SAAS,CAAC,MAAM,CAAsC;IAE9D;;;;OAIG;IACH,MAAM,CACJ,WAAW,EAAE,MAAM,EACnB,IAAI,EAAE,sBAAsB,EAC5B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,wBAAwB,CAAC;IAIvC;;;OAGG;IACH,QAAQ,CACN,cAAc,EAAE,MAAM,EACtB,MAAM,EAAE,wBAAwB,EAChC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,0BAA0B,CAAC;IAQzC;;;OAGG;IACH,MAAM,CACJ,cAAc,EAAE,MAAM,EACtB,MAAM,EAAE,sBAAsB,EAC9B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,wBAAwB,CAAC;CAOxC;AAED,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"credentials.d.mts","sourceRoot":"","sources":["../../../../src/resources/credentials/packages/credentials/credentials.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,sCAAkC;AACxD,OAAO,KAAK,SAAS,qBAAiB;AACtC,OAAO,EACL,iBAAiB,EACjB,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,EACP,qBAAiB;AAClB,OAAO,EAAE,UAAU,EAAE,yCAAqC;AAC1D,OAAO,EAAE,cAAc,EAAE,iDAA6C;AAGtE,qBAAa,WAAY,SAAQ,WAAW;IAC1C,MAAM,EAAE,SAAS,CAAC,MAAM,CAAsC;IAE9D;;;;OAIG;IACH,MAAM,CACJ,WAAW,EAAE,MAAM,EACnB,IAAI,EAAE,sBAAsB,EAC5B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,wBAAwB,CAAC;IAIvC;;;OAGG;IACH,QAAQ,CACN,cAAc,EAAE,MAAM,EACtB,MAAM,EAAE,wBAAwB,EAChC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,0BAA0B,CAAC;IAQzC;;;OAGG;IACH,MAAM,CACJ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