@mobilerun/sdk 6.0.1 → 6.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/client.d.mts +3 -0
- package/client.d.mts.map +1 -1
- package/client.d.ts +3 -0
- package/client.d.ts.map +1 -1
- package/client.js +3 -0
- package/client.js.map +1 -1
- package/client.mjs +3 -0
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/agents/agents.d.mts +307 -0
- package/resources/agents/agents.d.mts.map +1 -0
- package/resources/agents/agents.d.ts +307 -0
- package/resources/agents/agents.d.ts.map +1 -0
- package/resources/agents/agents.js +56 -0
- package/resources/agents/agents.js.map +1 -0
- package/resources/agents/agents.mjs +51 -0
- package/resources/agents/agents.mjs.map +1 -0
- package/resources/agents/conversations.d.mts +110 -0
- package/resources/agents/conversations.d.mts.map +1 -0
- package/resources/agents/conversations.d.ts +110 -0
- package/resources/agents/conversations.d.ts.map +1 -0
- package/resources/agents/conversations.js +24 -0
- package/resources/agents/conversations.js.map +1 -0
- package/resources/agents/conversations.mjs +20 -0
- package/resources/agents/conversations.mjs.map +1 -0
- package/resources/agents/files.d.mts +64 -0
- package/resources/agents/files.d.mts.map +1 -0
- package/resources/agents/files.d.ts +64 -0
- package/resources/agents/files.d.ts.map +1 -0
- package/resources/agents/files.js +16 -0
- package/resources/agents/files.js.map +1 -0
- package/resources/agents/files.mjs +12 -0
- package/resources/agents/files.mjs.map +1 -0
- package/resources/agents/index.d.mts +7 -0
- package/resources/agents/index.d.mts.map +1 -0
- package/resources/agents/index.d.ts +7 -0
- package/resources/agents/index.d.ts.map +1 -0
- package/resources/agents/index.js +17 -0
- package/resources/agents/index.js.map +1 -0
- package/resources/agents/index.mjs +8 -0
- package/resources/agents/index.mjs.map +1 -0
- package/resources/agents/profile.d.mts +156 -0
- package/resources/agents/profile.d.mts.map +1 -0
- package/resources/agents/profile.d.ts +156 -0
- package/resources/agents/profile.d.ts.map +1 -0
- package/resources/agents/profile.js +19 -0
- package/resources/agents/profile.js.map +1 -0
- package/resources/agents/profile.mjs +15 -0
- package/resources/agents/profile.mjs.map +1 -0
- package/resources/agents/requests.d.mts +295 -0
- package/resources/agents/requests.d.mts.map +1 -0
- package/resources/agents/requests.d.ts +295 -0
- package/resources/agents/requests.d.ts.map +1 -0
- package/resources/agents/requests.js +42 -0
- package/resources/agents/requests.js.map +1 -0
- package/resources/agents/requests.mjs +38 -0
- package/resources/agents/requests.mjs.map +1 -0
- package/resources/agents/routines.d.mts +95 -0
- package/resources/agents/routines.d.mts.map +1 -0
- package/resources/agents/routines.d.ts +95 -0
- package/resources/agents/routines.d.ts.map +1 -0
- package/resources/agents/routines.js +26 -0
- package/resources/agents/routines.js.map +1 -0
- package/resources/agents/routines.mjs +22 -0
- package/resources/agents/routines.mjs.map +1 -0
- package/resources/agents.d.mts +2 -0
- package/resources/agents.d.mts.map +1 -0
- package/resources/agents.d.ts +2 -0
- package/resources/agents.d.ts.map +1 -0
- package/resources/agents.js +6 -0
- package/resources/agents.js.map +1 -0
- package/resources/agents.mjs +3 -0
- package/resources/agents.mjs.map +1 -0
- package/resources/assistant/conversations.d.mts +115 -38
- package/resources/assistant/conversations.d.mts.map +1 -1
- package/resources/assistant/conversations.d.ts +115 -38
- package/resources/assistant/conversations.d.ts.map +1 -1
- package/resources/assistant/conversations.js +20 -19
- package/resources/assistant/conversations.js.map +1 -1
- package/resources/assistant/conversations.mjs +20 -19
- package/resources/assistant/conversations.mjs.map +1 -1
- package/resources/connect/connect.d.mts +2 -2
- package/resources/connect/connect.d.mts.map +1 -1
- package/resources/connect/connect.d.ts +2 -2
- package/resources/connect/connect.d.ts.map +1 -1
- package/resources/connect/connect.js.map +1 -1
- package/resources/connect/connect.mjs.map +1 -1
- package/resources/connect/index.d.mts +1 -1
- package/resources/connect/index.d.mts.map +1 -1
- package/resources/connect/index.d.ts +1 -1
- package/resources/connect/index.d.ts.map +1 -1
- package/resources/connect/index.js.map +1 -1
- package/resources/connect/index.mjs.map +1 -1
- package/resources/connect/proxies.d.mts +22 -1
- package/resources/connect/proxies.d.mts.map +1 -1
- package/resources/connect/proxies.d.ts +22 -1
- package/resources/connect/proxies.d.ts.map +1 -1
- package/resources/connect/proxies.js +8 -0
- package/resources/connect/proxies.js.map +1 -1
- package/resources/connect/proxies.mjs +8 -0
- package/resources/connect/proxies.mjs.map +1 -1
- package/resources/credentials/credentials.d.mts +20 -0
- package/resources/credentials/credentials.d.mts.map +1 -1
- package/resources/credentials/credentials.d.ts +20 -0
- package/resources/credentials/credentials.d.ts.map +1 -1
- package/resources/credentials/credentials.js +4 -0
- package/resources/credentials/credentials.js.map +1 -1
- package/resources/credentials/credentials.mjs +4 -0
- package/resources/credentials/credentials.mjs.map +1 -1
- package/resources/credentials/index.d.mts +1 -0
- package/resources/credentials/index.d.mts.map +1 -1
- package/resources/credentials/index.d.ts +1 -0
- package/resources/credentials/index.d.ts.map +1 -1
- package/resources/credentials/index.js +5 -3
- package/resources/credentials/index.js.map +1 -1
- package/resources/credentials/index.mjs +1 -0
- package/resources/credentials/index.mjs.map +1 -1
- package/resources/credentials/onepassword/index.d.mts +3 -0
- package/resources/credentials/onepassword/index.d.mts.map +1 -0
- package/resources/credentials/onepassword/index.d.ts +3 -0
- package/resources/credentials/onepassword/index.d.ts.map +1 -0
- package/resources/credentials/onepassword/index.js +9 -0
- package/resources/credentials/onepassword/index.js.map +1 -0
- package/resources/credentials/onepassword/index.mjs +4 -0
- package/resources/credentials/onepassword/index.mjs.map +1 -0
- package/resources/credentials/onepassword/onepassword.d.mts +65 -0
- package/resources/credentials/onepassword/onepassword.d.mts.map +1 -0
- package/resources/credentials/onepassword/onepassword.d.ts +65 -0
- package/resources/credentials/onepassword/onepassword.d.ts.map +1 -0
- package/resources/credentials/onepassword/onepassword.js +35 -0
- package/resources/credentials/onepassword/onepassword.js.map +1 -0
- package/resources/credentials/onepassword/onepassword.mjs +30 -0
- package/resources/credentials/onepassword/onepassword.mjs.map +1 -0
- package/resources/credentials/onepassword/vaults/index.d.mts +3 -0
- package/resources/credentials/onepassword/vaults/index.d.mts.map +1 -0
- package/resources/credentials/onepassword/vaults/index.d.ts +3 -0
- package/resources/credentials/onepassword/vaults/index.d.ts.map +1 -0
- package/resources/credentials/onepassword/vaults/index.js +9 -0
- package/resources/credentials/onepassword/vaults/index.js.map +1 -0
- package/resources/credentials/onepassword/vaults/index.mjs +4 -0
- package/resources/credentials/onepassword/vaults/index.mjs.map +1 -0
- package/resources/credentials/onepassword/vaults/items/fields.d.mts +27 -0
- package/resources/credentials/onepassword/vaults/items/fields.d.mts.map +1 -0
- package/resources/credentials/onepassword/vaults/items/fields.d.ts +27 -0
- package/resources/credentials/onepassword/vaults/items/fields.d.ts.map +1 -0
- package/resources/credentials/onepassword/vaults/items/fields.js +17 -0
- package/resources/credentials/onepassword/vaults/items/fields.js.map +1 -0
- package/resources/credentials/onepassword/vaults/items/fields.mjs +13 -0
- package/resources/credentials/onepassword/vaults/items/fields.mjs.map +1 -0
- package/resources/credentials/onepassword/vaults/items/index.d.mts +3 -0
- package/resources/credentials/onepassword/vaults/items/index.d.mts.map +1 -0
- package/resources/credentials/onepassword/vaults/items/index.d.ts +3 -0
- package/resources/credentials/onepassword/vaults/items/index.d.ts.map +1 -0
- package/resources/credentials/onepassword/vaults/items/index.js +9 -0
- package/resources/credentials/onepassword/vaults/items/index.js.map +1 -0
- package/resources/credentials/onepassword/vaults/items/index.mjs +4 -0
- package/resources/credentials/onepassword/vaults/items/index.mjs.map +1 -0
- package/resources/credentials/onepassword/vaults/items/items.d.mts +34 -0
- package/resources/credentials/onepassword/vaults/items/items.d.mts.map +1 -0
- package/resources/credentials/onepassword/vaults/items/items.d.ts +34 -0
- package/resources/credentials/onepassword/vaults/items/items.d.ts.map +1 -0
- package/resources/credentials/onepassword/vaults/items/items.js +24 -0
- package/resources/credentials/onepassword/vaults/items/items.js.map +1 -0
- package/resources/credentials/onepassword/vaults/items/items.mjs +19 -0
- package/resources/credentials/onepassword/vaults/items/items.mjs.map +1 -0
- package/resources/credentials/onepassword/vaults/items.d.mts +2 -0
- package/resources/credentials/onepassword/vaults/items.d.mts.map +1 -0
- package/resources/credentials/onepassword/vaults/items.d.ts +2 -0
- package/resources/credentials/onepassword/vaults/items.d.ts.map +1 -0
- package/resources/credentials/onepassword/vaults/items.js +6 -0
- package/resources/credentials/onepassword/vaults/items.js.map +1 -0
- package/resources/credentials/onepassword/vaults/items.mjs +3 -0
- package/resources/credentials/onepassword/vaults/items.mjs.map +1 -0
- package/resources/credentials/onepassword/vaults/vaults.d.mts +10 -0
- package/resources/credentials/onepassword/vaults/vaults.d.mts.map +1 -0
- package/resources/credentials/onepassword/vaults/vaults.d.ts +10 -0
- package/resources/credentials/onepassword/vaults/vaults.d.ts.map +1 -0
- package/resources/credentials/onepassword/vaults/vaults.js +17 -0
- package/resources/credentials/onepassword/vaults/vaults.js.map +1 -0
- package/resources/credentials/onepassword/vaults/vaults.mjs +12 -0
- package/resources/credentials/onepassword/vaults/vaults.mjs.map +1 -0
- package/resources/credentials/onepassword/vaults.d.mts +2 -0
- package/resources/credentials/onepassword/vaults.d.mts.map +1 -0
- package/resources/credentials/onepassword/vaults.d.ts +2 -0
- package/resources/credentials/onepassword/vaults.d.ts.map +1 -0
- package/resources/credentials/onepassword/vaults.js +6 -0
- package/resources/credentials/onepassword/vaults.js.map +1 -0
- package/resources/credentials/onepassword/vaults.mjs +3 -0
- package/resources/credentials/onepassword/vaults.mjs.map +1 -0
- package/resources/credentials/onepassword.d.mts +2 -0
- package/resources/credentials/onepassword.d.mts.map +1 -0
- package/resources/credentials/onepassword.d.ts +2 -0
- package/resources/credentials/onepassword.d.ts.map +1 -0
- package/resources/credentials/onepassword.js +6 -0
- package/resources/credentials/onepassword.js.map +1 -0
- package/resources/credentials/onepassword.mjs +3 -0
- package/resources/credentials/onepassword.mjs.map +1 -0
- package/resources/credentials/packages/credentials/credentials.d.mts +32 -32
- package/resources/credentials/packages/credentials/credentials.d.mts.map +1 -1
- package/resources/credentials/packages/credentials/credentials.d.ts +32 -32
- package/resources/credentials/packages/credentials/credentials.d.ts.map +1 -1
- package/resources/credentials/packages/credentials/credentials.js +0 -8
- package/resources/credentials/packages/credentials/credentials.js.map +1 -1
- package/resources/credentials/packages/credentials/credentials.mjs +0 -8
- package/resources/credentials/packages/credentials/credentials.mjs.map +1 -1
- package/resources/credentials/packages/credentials/fields.d.mts +48 -0
- package/resources/credentials/packages/credentials/fields.d.mts.map +1 -1
- package/resources/credentials/packages/credentials/fields.d.ts +48 -0
- package/resources/credentials/packages/credentials/fields.d.ts.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 -1
- package/resources/credentials/packages/index.d.mts.map +1 -1
- package/resources/credentials/packages/index.d.ts +2 -1
- package/resources/credentials/packages/index.d.ts.map +1 -1
- package/resources/credentials/packages/index.js +3 -1
- package/resources/credentials/packages/index.js.map +1 -1
- package/resources/credentials/packages/index.mjs +1 -0
- package/resources/credentials/packages/index.mjs.map +1 -1
- package/resources/credentials/packages/links.d.mts +65 -0
- package/resources/credentials/packages/links.d.mts.map +1 -0
- package/resources/credentials/packages/links.d.ts +65 -0
- package/resources/credentials/packages/links.d.ts.map +1 -0
- package/resources/credentials/packages/links.js +16 -0
- package/resources/credentials/packages/links.js.map +1 -0
- package/resources/credentials/packages/links.mjs +12 -0
- package/resources/credentials/packages/links.mjs.map +1 -0
- package/resources/credentials/packages/packages.d.mts +22 -2
- package/resources/credentials/packages/packages.d.mts.map +1 -1
- package/resources/credentials/packages/packages.d.ts +22 -2
- package/resources/credentials/packages/packages.d.ts.map +1 -1
- package/resources/credentials/packages/packages.js +4 -0
- package/resources/credentials/packages/packages.js.map +1 -1
- package/resources/credentials/packages/packages.mjs +4 -0
- package/resources/credentials/packages/packages.mjs.map +1 -1
- package/resources/devices/actions.d.mts +3 -4
- package/resources/devices/actions.d.mts.map +1 -1
- package/resources/devices/actions.d.ts +3 -4
- package/resources/devices/actions.d.ts.map +1 -1
- package/resources/devices/actions.js +3 -4
- package/resources/devices/actions.js.map +1 -1
- package/resources/devices/actions.mjs +3 -4
- package/resources/devices/actions.mjs.map +1 -1
- package/resources/devices/apps.d.mts +2 -2
- package/resources/devices/apps.d.ts +2 -2
- package/resources/devices/devices.d.mts +52 -28
- package/resources/devices/devices.d.mts.map +1 -1
- package/resources/devices/devices.d.ts +52 -28
- package/resources/devices/devices.d.ts.map +1 -1
- package/resources/devices/devices.js +31 -19
- package/resources/devices/devices.js.map +1 -1
- package/resources/devices/devices.mjs +31 -19
- package/resources/devices/devices.mjs.map +1 -1
- package/resources/devices/index.d.mts +2 -0
- package/resources/devices/index.d.mts.map +1 -1
- package/resources/devices/index.d.ts +2 -0
- package/resources/devices/index.d.ts.map +1 -1
- package/resources/devices/index.js +5 -1
- package/resources/devices/index.js.map +1 -1
- package/resources/devices/index.mjs +2 -0
- package/resources/devices/index.mjs.map +1 -1
- package/resources/devices/keyboard.d.mts +1 -1
- package/resources/devices/keyboard.d.ts +1 -1
- package/resources/devices/language.d.mts +6 -4
- package/resources/devices/language.d.mts.map +1 -1
- package/resources/devices/language.d.ts +6 -4
- package/resources/devices/language.d.ts.map +1 -1
- package/resources/devices/language.js +3 -2
- package/resources/devices/language.js.map +1 -1
- package/resources/devices/language.mjs +3 -2
- package/resources/devices/language.mjs.map +1 -1
- package/resources/devices/number-bindings.d.mts +40 -0
- package/resources/devices/number-bindings.d.mts.map +1 -0
- package/resources/devices/number-bindings.d.ts +40 -0
- package/resources/devices/number-bindings.d.ts.map +1 -0
- package/resources/devices/number-bindings.js +15 -0
- package/resources/devices/number-bindings.js.map +1 -0
- package/resources/devices/number-bindings.mjs +11 -0
- package/resources/devices/number-bindings.mjs.map +1 -0
- package/resources/devices/number.d.mts +141 -0
- package/resources/devices/number.d.mts.map +1 -0
- package/resources/devices/number.d.ts +141 -0
- package/resources/devices/number.d.ts.map +1 -0
- package/resources/devices/number.js +68 -0
- package/resources/devices/number.js.map +1 -0
- package/resources/devices/number.mjs +64 -0
- package/resources/devices/number.mjs.map +1 -0
- package/resources/devices/state.d.mts +1 -0
- package/resources/devices/state.d.mts.map +1 -1
- package/resources/devices/state.d.ts +1 -0
- package/resources/devices/state.d.ts.map +1 -1
- package/resources/files.d.mts +13 -7
- package/resources/files.d.mts.map +1 -1
- package/resources/files.d.ts +13 -7
- package/resources/files.d.ts.map +1 -1
- package/resources/files.js +9 -7
- package/resources/files.js.map +1 -1
- package/resources/files.mjs +9 -7
- package/resources/files.mjs.map +1 -1
- package/resources/index.d.mts +1 -0
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +1 -0
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +3 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -0
- package/resources/index.mjs.map +1 -1
- package/resources/mailboxes/messages.d.mts +13 -0
- package/resources/mailboxes/messages.d.mts.map +1 -1
- package/resources/mailboxes/messages.d.ts +13 -0
- package/resources/mailboxes/messages.d.ts.map +1 -1
- package/resources/mailboxes/messages.js +2 -2
- package/resources/mailboxes/messages.js.map +1 -1
- package/resources/mailboxes/messages.mjs +2 -2
- package/resources/mailboxes/messages.mjs.map +1 -1
- package/resources/messages/conversations.d.mts +6 -0
- package/resources/messages/conversations.d.mts.map +1 -1
- package/resources/messages/conversations.d.ts +6 -0
- package/resources/messages/conversations.d.ts.map +1 -1
- package/resources/messages/messages.d.mts +16 -0
- package/resources/messages/messages.d.mts.map +1 -1
- package/resources/messages/messages.d.ts +16 -0
- package/resources/messages/messages.d.ts.map +1 -1
- package/resources/messages/messages.js.map +1 -1
- package/resources/messages/messages.mjs.map +1 -1
- package/resources/numbers/messages.d.mts +17 -2
- package/resources/numbers/messages.d.mts.map +1 -1
- package/resources/numbers/messages.d.ts +17 -2
- package/resources/numbers/messages.d.ts.map +1 -1
- package/resources/numbers/messages.js +2 -1
- package/resources/numbers/messages.js.map +1 -1
- package/resources/numbers/messages.mjs +2 -1
- package/resources/numbers/messages.mjs.map +1 -1
- package/resources/numbers/numbers.d.mts +48 -0
- package/resources/numbers/numbers.d.mts.map +1 -1
- package/resources/numbers/numbers.d.ts +48 -0
- package/resources/numbers/numbers.d.ts.map +1 -1
- package/resources/numbers/numbers.js.map +1 -1
- package/resources/numbers/numbers.mjs.map +1 -1
- package/resources/tasks/tasks.d.mts +28 -7
- package/resources/tasks/tasks.d.mts.map +1 -1
- package/resources/tasks/tasks.d.ts +28 -7
- package/resources/tasks/tasks.d.ts.map +1 -1
- package/resources/tasks/tasks.js.map +1 -1
- package/resources/tasks/tasks.mjs.map +1 -1
- package/resources/workflows/action-catalog.d.mts +56 -8
- package/resources/workflows/action-catalog.d.mts.map +1 -1
- package/resources/workflows/action-catalog.d.ts +56 -8
- package/resources/workflows/action-catalog.d.ts.map +1 -1
- package/resources/workflows/action-catalog.js +7 -5
- package/resources/workflows/action-catalog.js.map +1 -1
- package/resources/workflows/action-catalog.mjs +7 -5
- package/resources/workflows/action-catalog.mjs.map +1 -1
- package/resources/workflows/actions/actions.d.mts +22 -10
- package/resources/workflows/actions/actions.d.mts.map +1 -1
- package/resources/workflows/actions/actions.d.ts +22 -10
- package/resources/workflows/actions/actions.d.ts.map +1 -1
- package/resources/workflows/actions/actions.js +7 -5
- package/resources/workflows/actions/actions.js.map +1 -1
- package/resources/workflows/actions/actions.mjs +7 -5
- 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/actions/services.d.mts +1 -1
- package/resources/workflows/actions/services.d.mts.map +1 -1
- package/resources/workflows/actions/services.d.ts +1 -1
- package/resources/workflows/actions/services.d.ts.map +1 -1
- package/resources/workflows/events.d.mts +25 -3
- package/resources/workflows/events.d.mts.map +1 -1
- package/resources/workflows/events.d.ts +25 -3
- package/resources/workflows/events.d.ts.map +1 -1
- package/resources/workflows/executions/executions.d.mts +16 -0
- package/resources/workflows/executions/executions.d.mts.map +1 -1
- package/resources/workflows/executions/executions.d.ts +16 -0
- package/resources/workflows/executions/executions.d.ts.map +1 -1
- package/resources/workflows/executions/executions.js.map +1 -1
- package/resources/workflows/executions/executions.mjs.map +1 -1
- package/resources/workflows/flows/flows.d.mts +547 -102
- package/resources/workflows/flows/flows.d.mts.map +1 -1
- package/resources/workflows/flows/flows.d.ts +547 -102
- package/resources/workflows/flows/flows.d.ts.map +1 -1
- package/resources/workflows/flows/flows.js +15 -2
- package/resources/workflows/flows/flows.js.map +1 -1
- package/resources/workflows/flows/flows.mjs +15 -2
- package/resources/workflows/flows/flows.mjs.map +1 -1
- package/resources/workflows/flows/index.d.mts +2 -1
- package/resources/workflows/flows/index.d.mts.map +1 -1
- package/resources/workflows/flows/index.d.ts +2 -1
- package/resources/workflows/flows/index.d.ts.map +1 -1
- package/resources/workflows/flows/index.js +3 -1
- package/resources/workflows/flows/index.js.map +1 -1
- package/resources/workflows/flows/index.mjs +1 -0
- package/resources/workflows/flows/index.mjs.map +1 -1
- package/resources/workflows/flows/state.d.mts +65 -0
- package/resources/workflows/flows/state.d.mts.map +1 -0
- package/resources/workflows/flows/state.d.ts +65 -0
- package/resources/workflows/flows/state.d.ts.map +1 -0
- package/resources/workflows/flows/state.js +33 -0
- package/resources/workflows/flows/state.js.map +1 -0
- package/resources/workflows/flows/state.mjs +29 -0
- package/resources/workflows/flows/state.mjs.map +1 -0
- package/resources/workflows/index.d.mts +3 -3
- package/resources/workflows/index.d.mts.map +1 -1
- package/resources/workflows/index.d.ts +3 -3
- package/resources/workflows/index.d.ts.map +1 -1
- package/resources/workflows/index.js.map +1 -1
- package/resources/workflows/index.mjs.map +1 -1
- package/resources/workflows/triggers.d.mts +40 -5
- package/resources/workflows/triggers.d.mts.map +1 -1
- package/resources/workflows/triggers.d.ts +40 -5
- package/resources/workflows/triggers.d.ts.map +1 -1
- package/resources/workflows/triggers.js +12 -3
- package/resources/workflows/triggers.js.map +1 -1
- package/resources/workflows/triggers.mjs +12 -3
- package/resources/workflows/triggers.mjs.map +1 -1
- package/resources/workflows/workflows.d.mts +6 -6
- package/resources/workflows/workflows.d.mts.map +1 -1
- package/resources/workflows/workflows.d.ts +6 -6
- 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 +17 -0
- package/src/resources/agents/agents.ts +475 -0
- package/src/resources/agents/conversations.ts +205 -0
- package/src/resources/agents/files.ts +105 -0
- package/src/resources/agents/index.ts +34 -0
- package/src/resources/agents/profile.ts +225 -0
- package/src/resources/agents/requests.ts +495 -0
- package/src/resources/agents/routines.ts +156 -0
- package/src/resources/agents.ts +3 -0
- package/src/resources/assistant/conversations.ts +148 -39
- package/src/resources/connect/connect.ts +2 -0
- package/src/resources/connect/index.ts +1 -0
- package/src/resources/connect/proxies.ts +27 -0
- package/src/resources/credentials/credentials.ts +51 -0
- package/src/resources/credentials/index.ts +7 -0
- package/src/resources/credentials/onepassword/index.ts +10 -0
- package/src/resources/credentials/onepassword/onepassword.ts +101 -0
- package/src/resources/credentials/onepassword/vaults/index.ts +4 -0
- package/src/resources/credentials/onepassword/vaults/items/fields.ts +40 -0
- package/src/resources/credentials/onepassword/vaults/items/index.ts +4 -0
- package/src/resources/credentials/onepassword/vaults/items/items.ts +55 -0
- package/src/resources/credentials/onepassword/vaults/items.ts +3 -0
- package/src/resources/credentials/onepassword/vaults/vaults.ts +15 -0
- package/src/resources/credentials/onepassword/vaults.ts +3 -0
- package/src/resources/credentials/onepassword.ts +3 -0
- package/src/resources/credentials/packages/credentials/credentials.ts +58 -55
- package/src/resources/credentials/packages/credentials/fields.ts +99 -0
- package/src/resources/credentials/packages/credentials/index.ts +0 -2
- package/src/resources/credentials/packages/index.ts +1 -2
- package/src/resources/credentials/packages/links.ts +122 -0
- package/src/resources/credentials/packages/packages.ts +43 -4
- package/src/resources/devices/actions.ts +3 -4
- package/src/resources/devices/apps.ts +2 -2
- package/src/resources/devices/devices.ts +86 -37
- package/src/resources/devices/index.ts +14 -0
- package/src/resources/devices/keyboard.ts +1 -1
- package/src/resources/devices/language.ts +6 -4
- package/src/resources/devices/number-bindings.ts +62 -0
- package/src/resources/devices/number.ts +261 -0
- package/src/resources/devices/state.ts +2 -0
- package/src/resources/files.ts +17 -7
- package/src/resources/index.ts +7 -0
- package/src/resources/mailboxes/messages.ts +17 -2
- package/src/resources/messages/conversations.ts +6 -0
- package/src/resources/messages/messages.ts +16 -0
- package/src/resources/numbers/messages.ts +17 -2
- package/src/resources/numbers/numbers.ts +64 -0
- package/src/resources/tasks/tasks.ts +30 -7
- package/src/resources/workflows/action-catalog.ts +69 -8
- package/src/resources/workflows/actions/actions.ts +29 -10
- package/src/resources/workflows/actions/index.ts +1 -0
- package/src/resources/workflows/actions/services.ts +1 -1
- package/src/resources/workflows/events.ts +32 -2
- package/src/resources/workflows/executions/executions.ts +26 -0
- package/src/resources/workflows/flows/flows.ts +707 -97
- package/src/resources/workflows/flows/index.ts +10 -0
- package/src/resources/workflows/flows/state.ts +103 -0
- package/src/resources/workflows/index.ts +4 -0
- package/src/resources/workflows/triggers.ts +34 -5
- package/src/resources/workflows/workflows.ts +8 -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,11 +1,14 @@
|
|
|
1
1
|
import { APIResource } from "../../core/resource.mjs";
|
|
2
2
|
import * as Shared from "../shared.mjs";
|
|
3
|
+
import * as OnepasswordAPI from "./onepassword/onepassword.mjs";
|
|
4
|
+
import { Onepassword, OnepasswordConnectParams, OnepasswordConnectResponse, OnepasswordDisconnectResponse, OnepasswordRetrieveResponse } from "./onepassword/onepassword.mjs";
|
|
3
5
|
import * as PackagesAPI from "./packages/packages.mjs";
|
|
4
6
|
import { PackageCreateParams, PackageCreateResponse, PackageListAllResponse, PackageListResponse, Packages } from "./packages/packages.mjs";
|
|
5
7
|
import { APIPromise } from "../../core/api-promise.mjs";
|
|
6
8
|
import { RequestOptions } from "../../internal/request-options.mjs";
|
|
7
9
|
export declare class Credentials extends APIResource {
|
|
8
10
|
packages: PackagesAPI.Packages;
|
|
11
|
+
onepassword: OnepasswordAPI.Onepassword;
|
|
9
12
|
/**
|
|
10
13
|
* Returns a paginated list of all credentials belonging to the authenticated user
|
|
11
14
|
* across every package. Accepts standard pagination query parameters and responds
|
|
@@ -30,12 +33,28 @@ export declare namespace CredentialListResponse {
|
|
|
30
33
|
* for credentials created before rollout.
|
|
31
34
|
*/
|
|
32
35
|
userId: string | null;
|
|
36
|
+
link?: Item.Link;
|
|
37
|
+
source?: 'mobilerun' | 'onepassword';
|
|
33
38
|
}
|
|
34
39
|
namespace Item {
|
|
35
40
|
interface Field {
|
|
36
41
|
fieldType: 'email' | 'username' | 'password' | 'api_token' | 'phone_number' | 'two_factor_secret' | 'backup_codes';
|
|
37
42
|
value: string;
|
|
38
43
|
}
|
|
44
|
+
interface Link {
|
|
45
|
+
fieldMap: Array<Link.FieldMap>;
|
|
46
|
+
itemId: string;
|
|
47
|
+
itemTitle: string;
|
|
48
|
+
provider: 'onepassword';
|
|
49
|
+
vaultId: string;
|
|
50
|
+
vaultName: string;
|
|
51
|
+
}
|
|
52
|
+
namespace Link {
|
|
53
|
+
interface FieldMap {
|
|
54
|
+
fieldId: string;
|
|
55
|
+
fieldType: 'email' | 'username' | 'password' | 'api_token' | 'phone_number' | 'two_factor_secret' | 'backup_codes';
|
|
56
|
+
}
|
|
57
|
+
}
|
|
39
58
|
}
|
|
40
59
|
}
|
|
41
60
|
export interface CredentialListParams {
|
|
@@ -45,5 +64,6 @@ export interface CredentialListParams {
|
|
|
45
64
|
export declare namespace Credentials {
|
|
46
65
|
export { type CredentialListResponse as CredentialListResponse, type CredentialListParams as CredentialListParams, };
|
|
47
66
|
export { Packages as Packages, type PackageCreateResponse as PackageCreateResponse, type PackageListResponse as PackageListResponse, type PackageListAllResponse as PackageListAllResponse, type PackageCreateParams as PackageCreateParams, };
|
|
67
|
+
export { Onepassword as Onepassword, type OnepasswordRetrieveResponse as OnepasswordRetrieveResponse, type OnepasswordConnectResponse as OnepasswordConnectResponse, type OnepasswordDisconnectResponse as OnepasswordDisconnectResponse, type OnepasswordConnectParams as OnepasswordConnectParams, };
|
|
48
68
|
}
|
|
49
69
|
//# 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,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;
|
|
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,cAAc,sCAAkC;AAC5D,OAAO,EACL,WAAW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
3
|
+
import * as OnepasswordAPI from "./onepassword/onepassword.js";
|
|
4
|
+
import { Onepassword, OnepasswordConnectParams, OnepasswordConnectResponse, OnepasswordDisconnectResponse, OnepasswordRetrieveResponse } from "./onepassword/onepassword.js";
|
|
3
5
|
import * as PackagesAPI from "./packages/packages.js";
|
|
4
6
|
import { PackageCreateParams, PackageCreateResponse, PackageListAllResponse, PackageListResponse, Packages } from "./packages/packages.js";
|
|
5
7
|
import { APIPromise } from "../../core/api-promise.js";
|
|
6
8
|
import { RequestOptions } from "../../internal/request-options.js";
|
|
7
9
|
export declare class Credentials extends APIResource {
|
|
8
10
|
packages: PackagesAPI.Packages;
|
|
11
|
+
onepassword: OnepasswordAPI.Onepassword;
|
|
9
12
|
/**
|
|
10
13
|
* Returns a paginated list of all credentials belonging to the authenticated user
|
|
11
14
|
* across every package. Accepts standard pagination query parameters and responds
|
|
@@ -30,12 +33,28 @@ export declare namespace CredentialListResponse {
|
|
|
30
33
|
* for credentials created before rollout.
|
|
31
34
|
*/
|
|
32
35
|
userId: string | null;
|
|
36
|
+
link?: Item.Link;
|
|
37
|
+
source?: 'mobilerun' | 'onepassword';
|
|
33
38
|
}
|
|
34
39
|
namespace Item {
|
|
35
40
|
interface Field {
|
|
36
41
|
fieldType: 'email' | 'username' | 'password' | 'api_token' | 'phone_number' | 'two_factor_secret' | 'backup_codes';
|
|
37
42
|
value: string;
|
|
38
43
|
}
|
|
44
|
+
interface Link {
|
|
45
|
+
fieldMap: Array<Link.FieldMap>;
|
|
46
|
+
itemId: string;
|
|
47
|
+
itemTitle: string;
|
|
48
|
+
provider: 'onepassword';
|
|
49
|
+
vaultId: string;
|
|
50
|
+
vaultName: string;
|
|
51
|
+
}
|
|
52
|
+
namespace Link {
|
|
53
|
+
interface FieldMap {
|
|
54
|
+
fieldId: string;
|
|
55
|
+
fieldType: 'email' | 'username' | 'password' | 'api_token' | 'phone_number' | 'two_factor_secret' | 'backup_codes';
|
|
56
|
+
}
|
|
57
|
+
}
|
|
39
58
|
}
|
|
40
59
|
}
|
|
41
60
|
export interface CredentialListParams {
|
|
@@ -45,5 +64,6 @@ export interface CredentialListParams {
|
|
|
45
64
|
export declare namespace Credentials {
|
|
46
65
|
export { type CredentialListResponse as CredentialListResponse, type CredentialListParams as CredentialListParams, };
|
|
47
66
|
export { Packages as Packages, type PackageCreateResponse as PackageCreateResponse, type PackageListResponse as PackageListResponse, type PackageListAllResponse as PackageListAllResponse, type PackageCreateParams as PackageCreateParams, };
|
|
67
|
+
export { Onepassword as Onepassword, type OnepasswordRetrieveResponse as OnepasswordRetrieveResponse, type OnepasswordConnectResponse as OnepasswordConnectResponse, type OnepasswordDisconnectResponse as OnepasswordDisconnectResponse, type OnepasswordConnectParams as OnepasswordConnectParams, };
|
|
48
68
|
}
|
|
49
69
|
//# 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,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;
|
|
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,cAAc,qCAAkC;AAC5D,OAAO,EACL,WAAW,EACX,wBAAwB,EACxB,0BAA0B,E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CAAC;YAEnB,KAAK,EAAE,MAAM,CAAC;SACf;QAED,UAAiB,IAAI;YACnB,QAAQ,EAAE,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;YAE/B,MAAM,EAAE,MAAM,CAAC;YAEf,SAAS,EAAE,MAAM,CAAC;YAElB,QAAQ,EAAE,aAAa,CAAC;YAExB,OAAO,EAAE,MAAM,CAAC;YAEhB,SAAS,EAAE,MAAM,CAAC;SACnB;QAED,UAAiB,IAAI,CAAC;YACpB,UAAiB,QAAQ;gBACvB,OAAO,EAAE,MAAM,CAAC;gBAEhB,SAAS,EACL,OAAO,GACP,UAAU,GACV,UAAU,GACV,WAAW,GACX,cAAc,GACd,mBAAmB,GACnB,cAAc,CAAC;aACpB;SACF;KACF;CACF;AAED,MAAM,WAAW,oBAAoB;IACnC,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAKD,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC;IACnC,OAAO,EACL,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;IAEF,OAAO,EACL,QAAQ,IAAI,QAAQ,EACpB,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;IAEF,OAAO,EACL,WAAW,IAAI,WAAW,EAC1B,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;CACH"}
|
|
@@ -4,12 +4,15 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
4
4
|
exports.Credentials = void 0;
|
|
5
5
|
const tslib_1 = require("../../internal/tslib.js");
|
|
6
6
|
const resource_1 = require("../../core/resource.js");
|
|
7
|
+
const OnepasswordAPI = tslib_1.__importStar(require("./onepassword/onepassword.js"));
|
|
8
|
+
const onepassword_1 = require("./onepassword/onepassword.js");
|
|
7
9
|
const PackagesAPI = tslib_1.__importStar(require("./packages/packages.js"));
|
|
8
10
|
const packages_1 = require("./packages/packages.js");
|
|
9
11
|
class Credentials extends resource_1.APIResource {
|
|
10
12
|
constructor() {
|
|
11
13
|
super(...arguments);
|
|
12
14
|
this.packages = new PackagesAPI.Packages(this._client);
|
|
15
|
+
this.onepassword = new OnepasswordAPI.Onepassword(this._client);
|
|
13
16
|
}
|
|
14
17
|
/**
|
|
15
18
|
* Returns a paginated list of all credentials belonging to the authenticated user
|
|
@@ -22,4 +25,5 @@ class Credentials extends resource_1.APIResource {
|
|
|
22
25
|
}
|
|
23
26
|
exports.Credentials = Credentials;
|
|
24
27
|
Credentials.Packages = packages_1.Packages;
|
|
28
|
+
Credentials.Onepassword = onepassword_1.Onepassword;
|
|
25
29
|
//# sourceMappingURL=credentials.js.map
|
|
@@ -1 +1 @@
|
|
|
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;
|
|
1
|
+
{"version":3,"file":"credentials.js","sourceRoot":"","sources":["../../src/resources/credentials/credentials.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAElD,qFAA4D;AAC5D,8DAMmC;AACnC,4EAAmD;AACnD,qDAM6B;AAI7B,MAAa,WAAY,SAAQ,sBAAW;IAA5C;;QACE,aAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxE,gBAAW,GAA+B,IAAI,cAAc,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAazF,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;AAfD,kCAeC;AAoFD,WAAW,CAAC,QAAQ,GAAG,mBAAQ,CAAC;AAChC,WAAW,CAAC,WAAW,GAAG,yBAAW,CAAC"}
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
import { APIResource } from "../../core/resource.mjs";
|
|
3
|
+
import * as OnepasswordAPI from "./onepassword/onepassword.mjs";
|
|
4
|
+
import { Onepassword, } from "./onepassword/onepassword.mjs";
|
|
3
5
|
import * as PackagesAPI from "./packages/packages.mjs";
|
|
4
6
|
import { Packages, } from "./packages/packages.mjs";
|
|
5
7
|
export class Credentials extends APIResource {
|
|
6
8
|
constructor() {
|
|
7
9
|
super(...arguments);
|
|
8
10
|
this.packages = new PackagesAPI.Packages(this._client);
|
|
11
|
+
this.onepassword = new OnepasswordAPI.Onepassword(this._client);
|
|
9
12
|
}
|
|
10
13
|
/**
|
|
11
14
|
* Returns a paginated list of all credentials belonging to the authenticated user
|
|
@@ -17,4 +20,5 @@ export class Credentials extends APIResource {
|
|
|
17
20
|
}
|
|
18
21
|
}
|
|
19
22
|
Credentials.Packages = Packages;
|
|
23
|
+
Credentials.Onepassword = Onepassword;
|
|
20
24
|
//# sourceMappingURL=credentials.mjs.map
|
|
@@ -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,EAKL,QAAQ,GACT,gCAA4B;AAI7B,MAAM,OAAO,WAAY,SAAQ,WAAW;IAA5C;;QACE,aAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;
|
|
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,cAAc,sCAAkC;AAC5D,OAAO,EACL,WAAW,GAKZ,sCAAkC;AACnC,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;QACxE,gBAAW,GAA+B,IAAI,cAAc,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAazF,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;AAoFD,WAAW,CAAC,QAAQ,GAAG,QAAQ,CAAC;AAChC,WAAW,CAAC,WAAW,GAAG,WAAW,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
export { Credentials, type CredentialListResponse, type CredentialListParams } from "./credentials.mjs";
|
|
2
|
+
export { Onepassword, type OnepasswordRetrieveResponse, type OnepasswordConnectResponse, type OnepasswordDisconnectResponse, type OnepasswordConnectParams, } from "./onepassword/index.mjs";
|
|
2
3
|
export { Packages, type PackageCreateResponse, type PackageListResponse, type PackageListAllResponse, type PackageCreateParams, } from "./packages/index.mjs";
|
|
3
4
|
//# 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,sBAAsB,EAC3B,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,WAAW,EACX,KAAK,2BAA2B,EAChC,KAAK,0BAA0B,EAC/B,KAAK,6BAA6B,EAClC,KAAK,wBAAwB,GAC9B,gCAA4B;AAC7B,OAAO,EACL,QAAQ,EACR,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,sBAAsB,EAC3B,KAAK,mBAAmB,GACzB,6BAAyB"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
export { Credentials, type CredentialListResponse, type CredentialListParams } from "./credentials.js";
|
|
2
|
+
export { Onepassword, type OnepasswordRetrieveResponse, type OnepasswordConnectResponse, type OnepasswordDisconnectResponse, type OnepasswordConnectParams, } from "./onepassword/index.js";
|
|
2
3
|
export { Packages, type PackageCreateResponse, type PackageListResponse, type PackageListAllResponse, type PackageCreateParams, } from "./packages/index.js";
|
|
3
4
|
//# 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,sBAAsB,EAC3B,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,WAAW,EACX,KAAK,2BAA2B,EAChC,KAAK,0BAA0B,EAC/B,KAAK,6BAA6B,EAClC,KAAK,wBAAwB,GAC9B,+BAA4B;AAC7B,OAAO,EACL,QAAQ,EACR,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,sBAAsB,EAC3B,KAAK,mBAAmB,GACzB,4BAAyB"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.Packages = exports.Credentials = void 0;
|
|
4
|
+
exports.Packages = exports.Onepassword = exports.Credentials = void 0;
|
|
5
5
|
var credentials_1 = require("./credentials.js");
|
|
6
6
|
Object.defineProperty(exports, "Credentials", { enumerable: true, get: function () { return credentials_1.Credentials; } });
|
|
7
|
-
var index_1 = require("./
|
|
8
|
-
Object.defineProperty(exports, "
|
|
7
|
+
var index_1 = require("./onepassword/index.js");
|
|
8
|
+
Object.defineProperty(exports, "Onepassword", { enumerable: true, get: function () { return index_1.Onepassword; } });
|
|
9
|
+
var index_2 = require("./packages/index.js");
|
|
10
|
+
Object.defineProperty(exports, "Packages", { enumerable: true, get: function () { return index_2.Packages; } });
|
|
9
11
|
//# sourceMappingURL=index.js.map
|
|
@@ -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,6CAM0B;AALxB,iGAAA,QAAQ,OAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/credentials/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gDAAoG;AAA3F,0GAAA,WAAW,OAAA;AACpB,gDAM6B;AAL3B,oGAAA,WAAW,OAAA;AAMb,6CAM0B;AALxB,iGAAA,QAAQ,OAAA"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
export { Credentials } from "./credentials.mjs";
|
|
3
|
+
export { Onepassword, } from "./onepassword/index.mjs";
|
|
3
4
|
export { Packages, } from "./packages/index.mjs";
|
|
4
5
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -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,GAKT,6BAAyB"}
|
|
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,WAAW,GAKZ,gCAA4B;AAC7B,OAAO,EACL,QAAQ,GAKT,6BAAyB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/credentials/onepassword/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,WAAW,EACX,KAAK,2BAA2B,EAChC,KAAK,0BAA0B,EAC/B,KAAK,6BAA6B,EAClC,KAAK,wBAAwB,GAC9B,0BAAsB;AACvB,OAAO,EAAE,MAAM,EAAE,2BAAuB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/credentials/onepassword/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,WAAW,EACX,KAAK,2BAA2B,EAChC,KAAK,0BAA0B,EAC/B,KAAK,6BAA6B,EAClC,KAAK,wBAAwB,GAC9B,yBAAsB;AACvB,OAAO,EAAE,MAAM,EAAE,0BAAuB"}
|
|
@@ -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.Vaults = exports.Onepassword = void 0;
|
|
5
|
+
var onepassword_1 = require("./onepassword.js");
|
|
6
|
+
Object.defineProperty(exports, "Onepassword", { enumerable: true, get: function () { return onepassword_1.Onepassword; } });
|
|
7
|
+
var index_1 = require("./vaults/index.js");
|
|
8
|
+
Object.defineProperty(exports, "Vaults", { enumerable: true, get: function () { return index_1.Vaults; } });
|
|
9
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/credentials/onepassword/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gDAMuB;AALrB,0GAAA,WAAW,OAAA;AAMb,2CAAwC;AAA/B,+FAAA,MAAM,OAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/credentials/onepassword/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EACL,WAAW,GAKZ,0BAAsB;AACvB,OAAO,EAAE,MAAM,EAAE,2BAAuB"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { APIResource } from "../../../core/resource.mjs";
|
|
2
|
+
import * as VaultsAPI from "./vaults/vaults.mjs";
|
|
3
|
+
import { Vaults } from "./vaults/vaults.mjs";
|
|
4
|
+
import { APIPromise } from "../../../core/api-promise.mjs";
|
|
5
|
+
import { RequestOptions } from "../../../internal/request-options.mjs";
|
|
6
|
+
export declare class Onepassword extends APIResource {
|
|
7
|
+
vaults: VaultsAPI.Vaults;
|
|
8
|
+
/**
|
|
9
|
+
* Get 1Password connection
|
|
10
|
+
*/
|
|
11
|
+
retrieve(options?: RequestOptions): APIPromise<OnepasswordRetrieveResponse>;
|
|
12
|
+
/**
|
|
13
|
+
* Connect a 1Password service account
|
|
14
|
+
*/
|
|
15
|
+
connect(body: OnepasswordConnectParams, options?: RequestOptions): APIPromise<OnepasswordConnectResponse>;
|
|
16
|
+
/**
|
|
17
|
+
* Disconnect 1Password
|
|
18
|
+
*/
|
|
19
|
+
disconnect(options?: RequestOptions): APIPromise<OnepasswordDisconnectResponse>;
|
|
20
|
+
}
|
|
21
|
+
export interface OnepasswordRetrieveResponse {
|
|
22
|
+
data: OnepasswordRetrieveResponse.Data;
|
|
23
|
+
}
|
|
24
|
+
export declare namespace OnepasswordRetrieveResponse {
|
|
25
|
+
interface Data {
|
|
26
|
+
connected: boolean;
|
|
27
|
+
connectedAt?: string;
|
|
28
|
+
connectedBy?: string;
|
|
29
|
+
vaults?: Array<Data.Vault>;
|
|
30
|
+
}
|
|
31
|
+
namespace Data {
|
|
32
|
+
interface Vault {
|
|
33
|
+
id: string;
|
|
34
|
+
title: string;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
export interface OnepasswordConnectResponse {
|
|
39
|
+
data: OnepasswordConnectResponse.Data;
|
|
40
|
+
}
|
|
41
|
+
export declare namespace OnepasswordConnectResponse {
|
|
42
|
+
interface Data {
|
|
43
|
+
connected: boolean;
|
|
44
|
+
connectedAt?: string;
|
|
45
|
+
connectedBy?: string;
|
|
46
|
+
vaults?: Array<Data.Vault>;
|
|
47
|
+
}
|
|
48
|
+
namespace Data {
|
|
49
|
+
interface Vault {
|
|
50
|
+
id: string;
|
|
51
|
+
title: string;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
export interface OnepasswordDisconnectResponse {
|
|
56
|
+
message: string;
|
|
57
|
+
}
|
|
58
|
+
export interface OnepasswordConnectParams {
|
|
59
|
+
serviceAccountToken: string;
|
|
60
|
+
}
|
|
61
|
+
export declare namespace Onepassword {
|
|
62
|
+
export { type OnepasswordRetrieveResponse as OnepasswordRetrieveResponse, type OnepasswordConnectResponse as OnepasswordConnectResponse, type OnepasswordDisconnectResponse as OnepasswordDisconnectResponse, type OnepasswordConnectParams as OnepasswordConnectParams, };
|
|
63
|
+
export { Vaults as Vaults };
|
|
64
|
+
}
|
|
65
|
+
//# sourceMappingURL=onepassword.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"onepassword.d.mts","sourceRoot":"","sources":["../../../src/resources/credentials/onepassword/onepassword.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,KAAK,SAAS,4BAAwB;AAC7C,OAAO,EAAE,MAAM,EAAE,4BAAwB;AACzC,OAAO,EAAE,UAAU,EAAE,sCAAkC;AACvD,OAAO,EAAE,cAAc,EAAE,8CAA0C;AAEnE,qBAAa,WAAY,SAAQ,WAAW;IAC1C,MAAM,EAAE,SAAS,CAAC,MAAM,CAAsC;IAE9D;;OAEG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,2BAA2B,CAAC;IAI3E;;OAEG;IACH,OAAO,CAAC,IAAI,EAAE,wBAAwB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,0BAA0B,CAAC;IAIzG;;OAEG;IACH,UAAU,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,6BAA6B,CAAC;CAGhF;AAED,M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 -0,0 +1,65 @@
|
|
|
1
|
+
import { APIResource } from "../../../core/resource.js";
|
|
2
|
+
import * as VaultsAPI from "./vaults/vaults.js";
|
|
3
|
+
import { Vaults } from "./vaults/vaults.js";
|
|
4
|
+
import { APIPromise } from "../../../core/api-promise.js";
|
|
5
|
+
import { RequestOptions } from "../../../internal/request-options.js";
|
|
6
|
+
export declare class Onepassword extends APIResource {
|
|
7
|
+
vaults: VaultsAPI.Vaults;
|
|
8
|
+
/**
|
|
9
|
+
* Get 1Password connection
|
|
10
|
+
*/
|
|
11
|
+
retrieve(options?: RequestOptions): APIPromise<OnepasswordRetrieveResponse>;
|
|
12
|
+
/**
|
|
13
|
+
* Connect a 1Password service account
|
|
14
|
+
*/
|
|
15
|
+
connect(body: OnepasswordConnectParams, options?: RequestOptions): APIPromise<OnepasswordConnectResponse>;
|
|
16
|
+
/**
|
|
17
|
+
* Disconnect 1Password
|
|
18
|
+
*/
|
|
19
|
+
disconnect(options?: RequestOptions): APIPromise<OnepasswordDisconnectResponse>;
|
|
20
|
+
}
|
|
21
|
+
export interface OnepasswordRetrieveResponse {
|
|
22
|
+
data: OnepasswordRetrieveResponse.Data;
|
|
23
|
+
}
|
|
24
|
+
export declare namespace OnepasswordRetrieveResponse {
|
|
25
|
+
interface Data {
|
|
26
|
+
connected: boolean;
|
|
27
|
+
connectedAt?: string;
|
|
28
|
+
connectedBy?: string;
|
|
29
|
+
vaults?: Array<Data.Vault>;
|
|
30
|
+
}
|
|
31
|
+
namespace Data {
|
|
32
|
+
interface Vault {
|
|
33
|
+
id: string;
|
|
34
|
+
title: string;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
export interface OnepasswordConnectResponse {
|
|
39
|
+
data: OnepasswordConnectResponse.Data;
|
|
40
|
+
}
|
|
41
|
+
export declare namespace OnepasswordConnectResponse {
|
|
42
|
+
interface Data {
|
|
43
|
+
connected: boolean;
|
|
44
|
+
connectedAt?: string;
|
|
45
|
+
connectedBy?: string;
|
|
46
|
+
vaults?: Array<Data.Vault>;
|
|
47
|
+
}
|
|
48
|
+
namespace Data {
|
|
49
|
+
interface Vault {
|
|
50
|
+
id: string;
|
|
51
|
+
title: string;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
export interface OnepasswordDisconnectResponse {
|
|
56
|
+
message: string;
|
|
57
|
+
}
|
|
58
|
+
export interface OnepasswordConnectParams {
|
|
59
|
+
serviceAccountToken: string;
|
|
60
|
+
}
|
|
61
|
+
export declare namespace Onepassword {
|
|
62
|
+
export { type OnepasswordRetrieveResponse as OnepasswordRetrieveResponse, type OnepasswordConnectResponse as OnepasswordConnectResponse, type OnepasswordDisconnectResponse as OnepasswordDisconnectResponse, type OnepasswordConnectParams as OnepasswordConnectParams, };
|
|
63
|
+
export { Vaults as Vaults };
|
|
64
|
+
}
|
|
65
|
+
//# sourceMappingURL=onepassword.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"onepassword.d.ts","sourceRoot":"","sources":["../../../src/resources/credentials/onepassword/onepassword.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kCAA+B;AACrD,OAAO,KAAK,SAAS,2BAAwB;AAC7C,OAAO,EAAE,MAAM,EAAE,2BAAwB;AACzC,OAAO,EAAE,UAAU,EAAE,qCAAkC;AACvD,OAAO,EAAE,cAAc,EAAE,6CAA0C;AAEnE,qBAAa,WAAY,SAAQ,WAAW;IAC1C,MAAM,EAAE,SAAS,CAAC,MAAM,CAAsC;IAE9D;;OAEG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,2BAA2B,CAAC;IAI3E;;OAEG;IACH,OAAO,CAAC,IAAI,EAAE,wBAAwB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,0BAA0B,CAAC;IAIzG;;OAEG;IACH,UAAU,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU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MAAM,EAAE,CAAC;CAC7B"}
|
|
@@ -0,0 +1,35 @@
|
|
|
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.Onepassword = void 0;
|
|
5
|
+
const tslib_1 = require("../../../internal/tslib.js");
|
|
6
|
+
const resource_1 = require("../../../core/resource.js");
|
|
7
|
+
const VaultsAPI = tslib_1.__importStar(require("./vaults/vaults.js"));
|
|
8
|
+
const vaults_1 = require("./vaults/vaults.js");
|
|
9
|
+
class Onepassword extends resource_1.APIResource {
|
|
10
|
+
constructor() {
|
|
11
|
+
super(...arguments);
|
|
12
|
+
this.vaults = new VaultsAPI.Vaults(this._client);
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Get 1Password connection
|
|
16
|
+
*/
|
|
17
|
+
retrieve(options) {
|
|
18
|
+
return this._client.get('/credentials/onepassword', options);
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Connect a 1Password service account
|
|
22
|
+
*/
|
|
23
|
+
connect(body, options) {
|
|
24
|
+
return this._client.put('/credentials/onepassword', { body, ...options });
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Disconnect 1Password
|
|
28
|
+
*/
|
|
29
|
+
disconnect(options) {
|
|
30
|
+
return this._client.delete('/credentials/onepassword', options);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
exports.Onepassword = Onepassword;
|
|
34
|
+
Onepassword.Vaults = vaults_1.Vaults;
|
|
35
|
+
//# sourceMappingURL=onepassword.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"onepassword.js","sourceRoot":"","sources":["../../../src/resources/credentials/onepassword/onepassword.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,wDAAqD;AACrD,sEAA6C;AAC7C,+CAAyC;AAIzC,MAAa,WAAY,SAAQ,sBAAW;IAA5C;;QACE,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAsBhE,CAAC;IApBC;;OAEG;IACH,QAAQ,CAAC,OAAwB;QAC/B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,0BAA0B,EAAE,OAAO,CAAC,CAAC;IAC/D,CAAC;IAED;;OAEG;IACH,OAAO,CAAC,IAA8B,EAAE,OAAwB;QAC9D,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,0BAA0B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5E,CAAC;IAED;;OAEG;IACH,UAAU,CAAC,OAAwB;QACjC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,0BAA0B,EAAE,OAAO,CAAC,CAAC;IAClE,CAAC;CACF;AAvBD,kCAuBC;AA0DD,WAAW,CAAC,MAAM,GAAG,eAAM,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../../../core/resource.mjs";
|
|
3
|
+
import * as VaultsAPI from "./vaults/vaults.mjs";
|
|
4
|
+
import { Vaults } from "./vaults/vaults.mjs";
|
|
5
|
+
export class Onepassword extends APIResource {
|
|
6
|
+
constructor() {
|
|
7
|
+
super(...arguments);
|
|
8
|
+
this.vaults = new VaultsAPI.Vaults(this._client);
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Get 1Password connection
|
|
12
|
+
*/
|
|
13
|
+
retrieve(options) {
|
|
14
|
+
return this._client.get('/credentials/onepassword', options);
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Connect a 1Password service account
|
|
18
|
+
*/
|
|
19
|
+
connect(body, options) {
|
|
20
|
+
return this._client.put('/credentials/onepassword', { body, ...options });
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Disconnect 1Password
|
|
24
|
+
*/
|
|
25
|
+
disconnect(options) {
|
|
26
|
+
return this._client.delete('/credentials/onepassword', options);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
Onepassword.Vaults = Vaults;
|
|
30
|
+
//# sourceMappingURL=onepassword.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"onepassword.mjs","sourceRoot":"","sources":["../../../src/resources/credentials/onepassword/onepassword.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,KAAK,SAAS,4BAAwB;AAC7C,OAAO,EAAE,MAAM,EAAE,4BAAwB;AAIzC,MAAM,OAAO,WAAY,SAAQ,WAAW;IAA5C;;QACE,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAsBhE,CAAC;IApBC;;OAEG;IACH,QAAQ,CAAC,OAAwB;QAC/B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,0BAA0B,EAAE,OAAO,CAAC,CAAC;IAC/D,CAAC;IAED;;OAEG;IACH,OAAO,CAAC,IAA8B,EAAE,OAAwB;QAC9D,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,0BAA0B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5E,CAAC;IAED;;OAEG;IACH,UAAU,CAAC,OAAwB;QACjC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,0BAA0B,EAAE,OAAO,CAAC,CAAC;IAClE,CAAC;CACF;AA0DD,WAAW,CAAC,MAAM,GAAG,MAAM,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../../src/resources/credentials/onepassword/vaults/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,KAAK,gBAAgB,EAAE,0BAAsB;AAC7D,OAAO,EAAE,MAAM,EAAE,qBAAiB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/resources/credentials/onepassword/vaults/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,KAAK,gBAAgB,EAAE,yBAAsB;AAC7D,OAAO,EAAE,MAAM,EAAE,oBAAiB"}
|
|
@@ -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.Vaults = exports.Items = void 0;
|
|
5
|
+
var index_1 = require("./items/index.js");
|
|
6
|
+
Object.defineProperty(exports, "Items", { enumerable: true, get: function () { return index_1.Items; } });
|
|
7
|
+
var vaults_1 = require("./vaults.js");
|
|
8
|
+
Object.defineProperty(exports, "Vaults", { enumerable: true, get: function () { return vaults_1.Vaults; } });
|
|
9
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/resources/credentials/onepassword/vaults/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,0CAA6D;AAApD,8FAAA,KAAK,OAAA;AACd,sCAAkC;AAAzB,gGAAA,MAAM,OAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../../src/resources/credentials/onepassword/vaults/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,KAAK,EAAyB,0BAAsB;AAC7D,OAAO,EAAE,MAAM,EAAE,qBAAiB"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { APIResource } from "../../../../../core/resource.mjs";
|
|
2
|
+
import { APIPromise } from "../../../../../core/api-promise.mjs";
|
|
3
|
+
import { RequestOptions } from "../../../../../internal/request-options.mjs";
|
|
4
|
+
export declare class Fields extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* List 1Password field metadata
|
|
7
|
+
*/
|
|
8
|
+
list(itemID: string, params: FieldListParams, options?: RequestOptions): APIPromise<FieldListResponse>;
|
|
9
|
+
}
|
|
10
|
+
export interface FieldListResponse {
|
|
11
|
+
data: Array<FieldListResponse.Data>;
|
|
12
|
+
}
|
|
13
|
+
export declare namespace FieldListResponse {
|
|
14
|
+
interface Data {
|
|
15
|
+
id: string;
|
|
16
|
+
fieldType: string;
|
|
17
|
+
title: string;
|
|
18
|
+
sectionId?: string;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
export interface FieldListParams {
|
|
22
|
+
vaultId: string;
|
|
23
|
+
}
|
|
24
|
+
export declare namespace Fields {
|
|
25
|
+
export { type FieldListResponse as FieldListResponse, type FieldListParams as FieldListParams };
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=fields.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fields.d.mts","sourceRoot":"","sources":["../../../../../src/resources/credentials/onepassword/vaults/items/fields.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,yCAAqC;AAC3D,OAAO,EAAE,UAAU,EAAE,4CAAwC;AAC7D,OAAO,EAAE,cAAc,EAAE,oDAAgD;AAGzE,qBAAa,MAAO,SAAQ,WAAW;IACrC;;OAEG;IACH,IAAI,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,eAAe,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,iBAAiB,CAAC;CAIvG;AAED,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,KAAK,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC;CACrC;AAED,yBAAiB,iBAAiB,CAAC;IACjC,UAAiB,IAAI;QACnB,EAAE,EAAE,MAAM,CAAC;QAEX,SAAS,EAAE,MAAM,CAAC;QAElB,KAAK,EAAE,MAAM,CAAC;QAEd,SAAS,CAAC,EAAE,MAAM,CAAC;KACpB;CACF;AAED,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC;IAC9B,OAAO,EAAE,KAAK,iBAAiB,IAAI,iBAAiB,EAAE,KAAK,eAAe,IAAI,eAAe,EAAE,CAAC;CACjG"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { APIResource } from "../../../../../core/resource.js";
|
|
2
|
+
import { APIPromise } from "../../../../../core/api-promise.js";
|
|
3
|
+
import { RequestOptions } from "../../../../../internal/request-options.js";
|
|
4
|
+
export declare class Fields extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* List 1Password field metadata
|
|
7
|
+
*/
|
|
8
|
+
list(itemID: string, params: FieldListParams, options?: RequestOptions): APIPromise<FieldListResponse>;
|
|
9
|
+
}
|
|
10
|
+
export interface FieldListResponse {
|
|
11
|
+
data: Array<FieldListResponse.Data>;
|
|
12
|
+
}
|
|
13
|
+
export declare namespace FieldListResponse {
|
|
14
|
+
interface Data {
|
|
15
|
+
id: string;
|
|
16
|
+
fieldType: string;
|
|
17
|
+
title: string;
|
|
18
|
+
sectionId?: string;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
export interface FieldListParams {
|
|
22
|
+
vaultId: string;
|
|
23
|
+
}
|
|
24
|
+
export declare namespace Fields {
|
|
25
|
+
export { type FieldListResponse as FieldListResponse, type FieldListParams as FieldListParams };
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=fields.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fields.d.ts","sourceRoot":"","sources":["../../../../../src/resources/credentials/onepassword/vaults/items/fields.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,wCAAqC;AAC3D,OAAO,EAAE,UAAU,EAAE,2CAAwC;AAC7D,OAAO,EAAE,cAAc,EAAE,mDAAgD;AAGzE,qBAAa,MAAO,SAAQ,WAAW;IACrC;;OAEG;IACH,IAAI,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,eAAe,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,iBAAiB,CAAC;CAIvG;AAED,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,KAAK,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC;CACrC;AAED,yBAAiB,iBAAiB,CAAC;IACjC,UAAiB,IAAI;QACnB,EAAE,EAAE,MAAM,CAAC;QAEX,SAAS,EAAE,MAAM,CAAC;QAElB,KAAK,EAAE,MAAM,CAAC;QAEd,SAAS,CAAC,EAAE,MAAM,CAAC;KACpB;CACF;AAED,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC;IAC9B,OAAO,EAAE,KAAK,iBAAiB,IAAI,iBAAiB,EAAE,KAAK,eAAe,IAAI,eAAe,EAAE,CAAC;CACjG"}
|