@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
|
@@ -11,11 +11,6 @@ export declare class Credentials extends APIResource {
|
|
|
11
11
|
* api_token, phone_number, two_factor_secret, or backup_codes) and a value.
|
|
12
12
|
*/
|
|
13
13
|
create(packageName: string, body: CredentialCreateParams, options?: RequestOptions): APIPromise<CredentialCreateResponse>;
|
|
14
|
-
/**
|
|
15
|
-
* Fetches a single credential by `packageName` and `credentialName`, including all
|
|
16
|
-
* of its stored fields. Returns not found if no matching credential exists.
|
|
17
|
-
*/
|
|
18
|
-
retrieve(credentialName: string, params: CredentialRetrieveParams, options?: RequestOptions): APIPromise<CredentialRetrieveResponse>;
|
|
19
14
|
/**
|
|
20
15
|
* Permanently deletes the credential identified by `packageName` and
|
|
21
16
|
* `credentialName`, removing all of its fields. Returns the deleted credential.
|
|
@@ -40,35 +35,27 @@ export declare namespace CredentialCreateResponse {
|
|
|
40
35
|
* for credentials created before rollout.
|
|
41
36
|
*/
|
|
42
37
|
userId: string | null;
|
|
38
|
+
link?: Data.Link;
|
|
39
|
+
source?: 'mobilerun' | 'onepassword';
|
|
43
40
|
}
|
|
44
41
|
namespace Data {
|
|
45
42
|
interface Field {
|
|
46
43
|
fieldType: 'email' | 'username' | 'password' | 'api_token' | 'phone_number' | 'two_factor_secret' | 'backup_codes';
|
|
47
44
|
value: string;
|
|
48
45
|
}
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
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;
|
|
46
|
+
interface Link {
|
|
47
|
+
fieldMap: Array<Link.FieldMap>;
|
|
48
|
+
itemId: string;
|
|
49
|
+
itemTitle: string;
|
|
50
|
+
provider: 'onepassword';
|
|
51
|
+
vaultId: string;
|
|
52
|
+
vaultName: string;
|
|
53
|
+
}
|
|
54
|
+
namespace Link {
|
|
55
|
+
interface FieldMap {
|
|
56
|
+
fieldId: string;
|
|
57
|
+
fieldType: 'email' | 'username' | 'password' | 'api_token' | 'phone_number' | 'two_factor_secret' | 'backup_codes';
|
|
58
|
+
}
|
|
72
59
|
}
|
|
73
60
|
}
|
|
74
61
|
}
|
|
@@ -90,12 +77,28 @@ export declare namespace CredentialDeleteResponse {
|
|
|
90
77
|
* for credentials created before rollout.
|
|
91
78
|
*/
|
|
92
79
|
userId: string | null;
|
|
80
|
+
link?: Data.Link;
|
|
81
|
+
source?: 'mobilerun' | 'onepassword';
|
|
93
82
|
}
|
|
94
83
|
namespace Data {
|
|
95
84
|
interface Field {
|
|
96
85
|
fieldType: 'email' | 'username' | 'password' | 'api_token' | 'phone_number' | 'two_factor_secret' | 'backup_codes';
|
|
97
86
|
value: string;
|
|
98
87
|
}
|
|
88
|
+
interface Link {
|
|
89
|
+
fieldMap: Array<Link.FieldMap>;
|
|
90
|
+
itemId: string;
|
|
91
|
+
itemTitle: string;
|
|
92
|
+
provider: 'onepassword';
|
|
93
|
+
vaultId: string;
|
|
94
|
+
vaultName: string;
|
|
95
|
+
}
|
|
96
|
+
namespace Link {
|
|
97
|
+
interface FieldMap {
|
|
98
|
+
fieldId: string;
|
|
99
|
+
fieldType: 'email' | 'username' | 'password' | 'api_token' | 'phone_number' | 'two_factor_secret' | 'backup_codes';
|
|
100
|
+
}
|
|
101
|
+
}
|
|
99
102
|
}
|
|
100
103
|
}
|
|
101
104
|
export interface CredentialCreateParams {
|
|
@@ -108,14 +111,11 @@ export declare namespace CredentialCreateParams {
|
|
|
108
111
|
value: string;
|
|
109
112
|
}
|
|
110
113
|
}
|
|
111
|
-
export interface CredentialRetrieveParams {
|
|
112
|
-
packageName: string;
|
|
113
|
-
}
|
|
114
114
|
export interface CredentialDeleteParams {
|
|
115
115
|
packageName: string;
|
|
116
116
|
}
|
|
117
117
|
export declare namespace Credentials {
|
|
118
|
-
export { type CredentialCreateResponse as CredentialCreateResponse, type
|
|
118
|
+
export { type CredentialCreateResponse as CredentialCreateResponse, type CredentialDeleteResponse as CredentialDeleteResponse, type CredentialCreateParams as CredentialCreateParams, type CredentialDeleteParams as CredentialDeleteParams, };
|
|
119
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, };
|
|
120
120
|
}
|
|
121
121
|
//# sourceMappingURL=credentials.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"credentials.d.ts","sourceRoot":"","sources":["../../../../src/resources/credentials/packages/credentials/credentials.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,qCAAkC;AACxD,OAAO,KAAK,SAAS,oBAAiB;AACtC,OAAO,EACL,iBAAiB,EACjB,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,EACP,oBAAiB;AAClB,OAAO,EAAE,UAAU,EAAE,wCAAqC;AAC1D,OAAO,EAAE,cAAc,EAAE,gDAA6C;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,
|
|
1
|
+
{"version":3,"file":"credentials.d.ts","sourceRoot":"","sources":["../../../../src/resources/credentials/packages/credentials/credentials.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE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AAmB,IAAI,mBAAmB,EAC/C,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,iBAAiB,IAAI,iBAAiB,GAC5C,CAAC;CACH"}
|
|
@@ -20,14 +20,6 @@ class Credentials extends resource_1.APIResource {
|
|
|
20
20
|
create(packageName, body, options) {
|
|
21
21
|
return this._client.post((0, path_1.path) `/credentials/packages/${packageName}`, { body, ...options });
|
|
22
22
|
}
|
|
23
|
-
/**
|
|
24
|
-
* Fetches a single credential by `packageName` and `credentialName`, including all
|
|
25
|
-
* of its stored fields. Returns not found if no matching credential exists.
|
|
26
|
-
*/
|
|
27
|
-
retrieve(credentialName, params, options) {
|
|
28
|
-
const { packageName } = params;
|
|
29
|
-
return this._client.get((0, path_1.path) `/credentials/packages/${packageName}/credentials/${credentialName}`, options);
|
|
30
|
-
}
|
|
31
23
|
/**
|
|
32
24
|
* Permanently deletes the credential identified by `packageName` and
|
|
33
25
|
* `credentialName`, removing all of its fields. Returns the deleted credential.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"credentials.js","sourceRoot":"","sources":["../../../../src/resources/credentials/packages/credentials/credentials.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,2DAAwD;AACxD,+DAAsC;AACtC,wCAQkB;AAGlB,6DAAuD;AAEvD,MAAa,WAAY,SAAQ,sBAAW;IAA5C;;QACE,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"credentials.js","sourceRoot":"","sources":["../../../../src/resources/credentials/packages/credentials/credentials.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,2DAAwD;AACxD,+DAAsC;AACtC,wCAQkB;AAGlB,6DAAuD;AAEvD,MAAa,WAAY,SAAQ,sBAAW;IAA5C;;QACE,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IA8BhE,CAAC;IA5BC;;;;OAIG;IACH,MAAM,CACJ,WAAmB,EACnB,IAA4B,EAC5B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,yBAAyB,WAAW,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7F,CAAC;IAED;;;OAGG;IACH,MAAM,CACJ,cAAsB,EACtB,MAA8B,EAC9B,OAAwB;QAExB,MAAM,EAAE,WAAW,EAAE,GAAG,MAAM,CAAC;QAC/B,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CACxB,IAAA,WAAI,EAAA,yBAAyB,WAAW,gBAAgB,cAAc,EAAE,EACxE,OAAO,CACR,CAAC;IACJ,CAAC;CACF;AA/BD,kCA+BC;AAuLD,WAAW,CAAC,MAAM,GAAG,eAAM,CAAC"}
|
|
@@ -16,14 +16,6 @@ export class Credentials extends APIResource {
|
|
|
16
16
|
create(packageName, body, options) {
|
|
17
17
|
return this._client.post(path `/credentials/packages/${packageName}`, { body, ...options });
|
|
18
18
|
}
|
|
19
|
-
/**
|
|
20
|
-
* Fetches a single credential by `packageName` and `credentialName`, including all
|
|
21
|
-
* of its stored fields. Returns not found if no matching credential exists.
|
|
22
|
-
*/
|
|
23
|
-
retrieve(credentialName, params, options) {
|
|
24
|
-
const { packageName } = params;
|
|
25
|
-
return this._client.get(path `/credentials/packages/${packageName}/credentials/${credentialName}`, options);
|
|
26
|
-
}
|
|
27
19
|
/**
|
|
28
20
|
* Permanently deletes the credential identified by `packageName` and
|
|
29
21
|
* `credentialName`, removing all of its fields. Returns the deleted credential.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"credentials.mjs","sourceRoot":"","sources":["../../../../src/resources/credentials/packages/credentials/credentials.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,sCAAkC;AACxD,OAAO,KAAK,SAAS,qBAAiB;AACtC,OAAO,EAOL,MAAM,GACP,qBAAiB;AAGlB,OAAO,EAAE,IAAI,EAAE,4CAAwC;AAEvD,MAAM,OAAO,WAAY,SAAQ,WAAW;IAA5C;;QACE,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"credentials.mjs","sourceRoot":"","sources":["../../../../src/resources/credentials/packages/credentials/credentials.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,sCAAkC;AACxD,OAAO,KAAK,SAAS,qBAAiB;AACtC,OAAO,EAOL,MAAM,GACP,qBAAiB;AAGlB,OAAO,EAAE,IAAI,EAAE,4CAAwC;AAEvD,MAAM,OAAO,WAAY,SAAQ,WAAW;IAA5C;;QACE,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IA8BhE,CAAC;IA5BC;;;;OAIG;IACH,MAAM,CACJ,WAAmB,EACnB,IAA4B,EAC5B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,yBAAyB,WAAW,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7F,CAAC;IAED;;;OAGG;IACH,MAAM,CACJ,cAAsB,EACtB,MAA8B,EAC9B,OAAwB;QAExB,MAAM,EAAE,WAAW,EAAE,GAAG,MAAM,CAAC;QAC/B,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CACxB,IAAI,CAAA,yBAAyB,WAAW,gBAAgB,cAAc,EAAE,EACxE,OAAO,CACR,CAAC;IACJ,CAAC;CACF;AAuLD,WAAW,CAAC,MAAM,GAAG,MAAM,CAAC"}
|
|
@@ -38,12 +38,28 @@ export declare namespace FieldCreateResponse {
|
|
|
38
38
|
* for credentials created before rollout.
|
|
39
39
|
*/
|
|
40
40
|
userId: string | null;
|
|
41
|
+
link?: Data.Link;
|
|
42
|
+
source?: 'mobilerun' | 'onepassword';
|
|
41
43
|
}
|
|
42
44
|
namespace Data {
|
|
43
45
|
interface Field {
|
|
44
46
|
fieldType: 'email' | 'username' | 'password' | 'api_token' | 'phone_number' | 'two_factor_secret' | 'backup_codes';
|
|
45
47
|
value: string;
|
|
46
48
|
}
|
|
49
|
+
interface Link {
|
|
50
|
+
fieldMap: Array<Link.FieldMap>;
|
|
51
|
+
itemId: string;
|
|
52
|
+
itemTitle: string;
|
|
53
|
+
provider: 'onepassword';
|
|
54
|
+
vaultId: string;
|
|
55
|
+
vaultName: string;
|
|
56
|
+
}
|
|
57
|
+
namespace Link {
|
|
58
|
+
interface FieldMap {
|
|
59
|
+
fieldId: string;
|
|
60
|
+
fieldType: 'email' | 'username' | 'password' | 'api_token' | 'phone_number' | 'two_factor_secret' | 'backup_codes';
|
|
61
|
+
}
|
|
62
|
+
}
|
|
47
63
|
}
|
|
48
64
|
}
|
|
49
65
|
export interface FieldUpdateResponse {
|
|
@@ -64,12 +80,28 @@ export declare namespace FieldUpdateResponse {
|
|
|
64
80
|
* for credentials created before rollout.
|
|
65
81
|
*/
|
|
66
82
|
userId: string | null;
|
|
83
|
+
link?: Data.Link;
|
|
84
|
+
source?: 'mobilerun' | 'onepassword';
|
|
67
85
|
}
|
|
68
86
|
namespace Data {
|
|
69
87
|
interface Field {
|
|
70
88
|
fieldType: 'email' | 'username' | 'password' | 'api_token' | 'phone_number' | 'two_factor_secret' | 'backup_codes';
|
|
71
89
|
value: string;
|
|
72
90
|
}
|
|
91
|
+
interface Link {
|
|
92
|
+
fieldMap: Array<Link.FieldMap>;
|
|
93
|
+
itemId: string;
|
|
94
|
+
itemTitle: string;
|
|
95
|
+
provider: 'onepassword';
|
|
96
|
+
vaultId: string;
|
|
97
|
+
vaultName: string;
|
|
98
|
+
}
|
|
99
|
+
namespace Link {
|
|
100
|
+
interface FieldMap {
|
|
101
|
+
fieldId: string;
|
|
102
|
+
fieldType: 'email' | 'username' | 'password' | 'api_token' | 'phone_number' | 'two_factor_secret' | 'backup_codes';
|
|
103
|
+
}
|
|
104
|
+
}
|
|
73
105
|
}
|
|
74
106
|
}
|
|
75
107
|
export interface FieldDeleteResponse {
|
|
@@ -90,12 +122,28 @@ export declare namespace FieldDeleteResponse {
|
|
|
90
122
|
* for credentials created before rollout.
|
|
91
123
|
*/
|
|
92
124
|
userId: string | null;
|
|
125
|
+
link?: Data.Link;
|
|
126
|
+
source?: 'mobilerun' | 'onepassword';
|
|
93
127
|
}
|
|
94
128
|
namespace Data {
|
|
95
129
|
interface Field {
|
|
96
130
|
fieldType: 'email' | 'username' | 'password' | 'api_token' | 'phone_number' | 'two_factor_secret' | 'backup_codes';
|
|
97
131
|
value: string;
|
|
98
132
|
}
|
|
133
|
+
interface Link {
|
|
134
|
+
fieldMap: Array<Link.FieldMap>;
|
|
135
|
+
itemId: string;
|
|
136
|
+
itemTitle: string;
|
|
137
|
+
provider: 'onepassword';
|
|
138
|
+
vaultId: string;
|
|
139
|
+
vaultName: string;
|
|
140
|
+
}
|
|
141
|
+
namespace Link {
|
|
142
|
+
interface FieldMap {
|
|
143
|
+
fieldId: string;
|
|
144
|
+
fieldType: 'email' | 'username' | 'password' | 'api_token' | 'phone_number' | 'two_factor_secret' | 'backup_codes';
|
|
145
|
+
}
|
|
146
|
+
}
|
|
99
147
|
}
|
|
100
148
|
}
|
|
101
149
|
export interface FieldCreateParams {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fields.d.mts","sourceRoot":"","sources":["../../../../src/resources/credentials/packages/credentials/fields.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,sCAAkC;AACxD,OAAO,EAAE,UAAU,EAAE,yCAAqC;AAC1D,OAAO,EAAE,cAAc,EAAE,iDAA6C;AAGtE,qBAAa,MAAO,SAAQ,WAAW;IACrC;;;;OAIG;IACH,MAAM,CACJ,cAAc,EAAE,MAAM,EACtB,MAAM,EAAE,iBAAiB,EACzB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,mBAAmB,CAAC;IAQlC;;;;OAIG;IACH,MAAM,CACJ,SAAS,EACL,OAAO,GACP,UAAU,GACV,UAAU,GACV,WAAW,GACX,cAAc,GACd,mBAAmB,GACnB,cAAc,EAClB,MAAM,EAAE,iBAAiB,EACzB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,mBAAmB,CAAC;IAQlC;;;OAGG;IACH,MAAM,CACJ,SAAS,EACL,OAAO,GACP,UAAU,GACV,UAAU,GACV,WAAW,GACX,cAAc,GACd,mBAAmB,GACnB,cAAc,EAClB,MAAM,EAAE,iBAAiB,EACzB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,mBAAmB,CAAC;CAOnC;AAED,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,mBAAmB,CAAC,IAAI,CAAC;IAE/B,OAAO,EAAE,MAAM,CAAC;IAEhB,OAAO,EAAE,IAAI,CAAC;CACf;AAED,yBAAiB,mBAAmB,CAAC;IACnC,UAAiB,IAAI;QACnB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;QAEzB,cAAc,EAAE,MAAM,CAAC;QAEvB,MAAM,EAAE,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAE1B,OAAO,EAAE,MAAM,CAAC;QAEhB,WAAW,EAAE,MAAM,CAAC;QAEpB,UAAU,EAAE,MAAM,CAAC;QAEnB;;;WAGG;QACH,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"fields.d.mts","sourceRoot":"","sources":["../../../../src/resources/credentials/packages/credentials/fields.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,sCAAkC;AACxD,OAAO,EAAE,UAAU,EAAE,yCAAqC;AAC1D,OAAO,EAAE,cAAc,EAAE,iDAA6C;AAGtE,qBAAa,MAAO,SAAQ,WAAW;IACr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se {
|
|
|
38
38
|
* for credentials created before rollout.
|
|
39
39
|
*/
|
|
40
40
|
userId: string | null;
|
|
41
|
+
link?: Data.Link;
|
|
42
|
+
source?: 'mobilerun' | 'onepassword';
|
|
41
43
|
}
|
|
42
44
|
namespace Data {
|
|
43
45
|
interface Field {
|
|
44
46
|
fieldType: 'email' | 'username' | 'password' | 'api_token' | 'phone_number' | 'two_factor_secret' | 'backup_codes';
|
|
45
47
|
value: string;
|
|
46
48
|
}
|
|
49
|
+
interface Link {
|
|
50
|
+
fieldMap: Array<Link.FieldMap>;
|
|
51
|
+
itemId: string;
|
|
52
|
+
itemTitle: string;
|
|
53
|
+
provider: 'onepassword';
|
|
54
|
+
vaultId: string;
|
|
55
|
+
vaultName: string;
|
|
56
|
+
}
|
|
57
|
+
namespace Link {
|
|
58
|
+
interface FieldMap {
|
|
59
|
+
fieldId: string;
|
|
60
|
+
fieldType: 'email' | 'username' | 'password' | 'api_token' | 'phone_number' | 'two_factor_secret' | 'backup_codes';
|
|
61
|
+
}
|
|
62
|
+
}
|
|
47
63
|
}
|
|
48
64
|
}
|
|
49
65
|
export interface FieldUpdateResponse {
|
|
@@ -64,12 +80,28 @@ export declare namespace FieldUpdateResponse {
|
|
|
64
80
|
* for credentials created before rollout.
|
|
65
81
|
*/
|
|
66
82
|
userId: string | null;
|
|
83
|
+
link?: Data.Link;
|
|
84
|
+
source?: 'mobilerun' | 'onepassword';
|
|
67
85
|
}
|
|
68
86
|
namespace Data {
|
|
69
87
|
interface Field {
|
|
70
88
|
fieldType: 'email' | 'username' | 'password' | 'api_token' | 'phone_number' | 'two_factor_secret' | 'backup_codes';
|
|
71
89
|
value: string;
|
|
72
90
|
}
|
|
91
|
+
interface Link {
|
|
92
|
+
fieldMap: Array<Link.FieldMap>;
|
|
93
|
+
itemId: string;
|
|
94
|
+
itemTitle: string;
|
|
95
|
+
provider: 'onepassword';
|
|
96
|
+
vaultId: string;
|
|
97
|
+
vaultName: string;
|
|
98
|
+
}
|
|
99
|
+
namespace Link {
|
|
100
|
+
interface FieldMap {
|
|
101
|
+
fieldId: string;
|
|
102
|
+
fieldType: 'email' | 'username' | 'password' | 'api_token' | 'phone_number' | 'two_factor_secret' | 'backup_codes';
|
|
103
|
+
}
|
|
104
|
+
}
|
|
73
105
|
}
|
|
74
106
|
}
|
|
75
107
|
export interface FieldDeleteResponse {
|
|
@@ -90,12 +122,28 @@ export declare namespace FieldDeleteResponse {
|
|
|
90
122
|
* for credentials created before rollout.
|
|
91
123
|
*/
|
|
92
124
|
userId: string | null;
|
|
125
|
+
link?: Data.Link;
|
|
126
|
+
source?: 'mobilerun' | 'onepassword';
|
|
93
127
|
}
|
|
94
128
|
namespace Data {
|
|
95
129
|
interface Field {
|
|
96
130
|
fieldType: 'email' | 'username' | 'password' | 'api_token' | 'phone_number' | 'two_factor_secret' | 'backup_codes';
|
|
97
131
|
value: string;
|
|
98
132
|
}
|
|
133
|
+
interface Link {
|
|
134
|
+
fieldMap: Array<Link.FieldMap>;
|
|
135
|
+
itemId: string;
|
|
136
|
+
itemTitle: string;
|
|
137
|
+
provider: 'onepassword';
|
|
138
|
+
vaultId: string;
|
|
139
|
+
vaultName: string;
|
|
140
|
+
}
|
|
141
|
+
namespace Link {
|
|
142
|
+
interface FieldMap {
|
|
143
|
+
fieldId: string;
|
|
144
|
+
fieldType: 'email' | 'username' | 'password' | 'api_token' | 'phone_number' | 'two_factor_secret' | 'backup_codes';
|
|
145
|
+
}
|
|
146
|
+
}
|
|
99
147
|
}
|
|
100
148
|
}
|
|
101
149
|
export interface FieldCreateParams {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fields.d.ts","sourceRoot":"","sources":["../../../../src/resources/credentials/packages/credentials/fields.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,qCAAkC;AACxD,OAAO,EAAE,UAAU,EAAE,wCAAqC;AAC1D,OAAO,EAAE,cAAc,EAAE,gDAA6C;AAGtE,qBAAa,MAAO,SAAQ,WAAW;IACrC;;;;OAIG;IACH,MAAM,CACJ,cAAc,EAAE,MAAM,EACtB,MAAM,EAAE,iBAAiB,EACzB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,mBAAmB,CAAC;IAQlC;;;;OAIG;IACH,MAAM,CACJ,SAAS,EACL,OAAO,GACP,UAAU,GACV,UAAU,GACV,WAAW,GACX,cAAc,GACd,mBAAmB,GACnB,cAAc,EAClB,MAAM,EAAE,iBAAiB,EACzB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,mBAAmB,CAAC;IAQlC;;;OAGG;IACH,MAAM,CACJ,SAAS,EACL,OAAO,GACP,UAAU,GACV,UAAU,GACV,WAAW,GACX,cAAc,GACd,mBAAmB,GACnB,cAAc,EAClB,MAAM,EAAE,iBAAiB,EACzB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,mBAAmB,CAAC;CAOnC;AAED,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,mBAAmB,CAAC,IAAI,CAAC;IAE/B,OAAO,EAAE,MAAM,CAAC;IAEhB,OAAO,EAAE,IAAI,CAAC;CACf;AAED,yBAAiB,mBAAmB,CAAC;IACnC,UAAiB,IAAI;QACnB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;QAEzB,cAAc,EAAE,MAAM,CAAC;QAEvB,MAAM,EAAE,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAE1B,OAAO,EAAE,MAAM,CAAC;QAEhB,WAAW,EAAE,MAAM,CAAC;QAEpB,UAAU,EAAE,MAAM,CAAC;QAEnB;;;WAGG;QACH,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"fields.d.ts","sourceRoot":"","sources":["../../../../src/resources/credentials/packages/credentials/fields.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,qCAAkC;AACxD,OAAO,EAAE,UAAU,EAAE,wCAAqC;AAC1D,OAAO,EAAE,c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C,CAAC;CACH"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { Credentials, type CredentialCreateResponse, type
|
|
1
|
+
export { Credentials, type CredentialCreateResponse, type CredentialDeleteResponse, type CredentialCreateParams, type CredentialDeleteParams, } from "./credentials.mjs";
|
|
2
2
|
export { Fields, type FieldCreateResponse, type FieldUpdateResponse, type FieldDeleteResponse, type FieldCreateParams, type FieldUpdateParams, type FieldDeleteParams, } from "./fields.mjs";
|
|
3
3
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../../src/resources/credentials/packages/credentials/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,WAAW,EACX,KAAK,wBAAwB,EAC7B,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../../src/resources/credentials/packages/credentials/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,WAAW,EACX,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,GAC5B,0BAAsB;AACvB,OAAO,EACL,MAAM,EACN,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,GACvB,qBAAiB"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { Credentials, type CredentialCreateResponse, type
|
|
1
|
+
export { Credentials, type CredentialCreateResponse, type CredentialDeleteResponse, type CredentialCreateParams, type CredentialDeleteParams, } from "./credentials.js";
|
|
2
2
|
export { Fields, type FieldCreateResponse, type FieldUpdateResponse, type FieldDeleteResponse, type FieldCreateParams, type FieldUpdateParams, type FieldDeleteParams, } from "./fields.js";
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/resources/credentials/packages/credentials/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,WAAW,EACX,KAAK,wBAAwB,EAC7B,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/resources/credentials/packages/credentials/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,WAAW,EACX,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,GAC5B,yBAAsB;AACvB,OAAO,EACL,MAAM,EACN,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,GACvB,oBAAiB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/resources/credentials/packages/credentials/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/resources/credentials/packages/credentials/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gDAMuB;AALrB,0GAAA,WAAW,OAAA;AAMb,sCAQkB;AAPhB,gGAAA,MAAM,OAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../../src/resources/credentials/packages/credentials/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EACL,WAAW,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../../src/resources/credentials/packages/credentials/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EACL,WAAW,GAKZ,0BAAsB;AACvB,OAAO,EACL,MAAM,GAOP,qBAAiB"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
export { Credentials, type CredentialCreateResponse, type
|
|
1
|
+
export { Credentials, type CredentialCreateResponse, type CredentialDeleteResponse, type CredentialCreateParams, type CredentialDeleteParams, } from "./credentials/index.mjs";
|
|
2
|
+
export { Links, type LinkCreateResponse, type LinkCreateParams } from "./links.mjs";
|
|
2
3
|
export { Packages, type PackageCreateResponse, type PackageListResponse, type PackageListAllResponse, type PackageCreateParams, } from "./packages.mjs";
|
|
3
4
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/credentials/packages/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,WAAW,EACX,KAAK,wBAAwB,EAC7B,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/credentials/packages/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,WAAW,EACX,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,GAC5B,gCAA4B;AAC7B,OAAO,EAAE,KAAK,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,oBAAgB;AAChF,OAAO,EACL,QAAQ,EACR,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,sBAAsB,EAC3B,KAAK,mBAAmB,GACzB,uBAAmB"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
export { Credentials, type CredentialCreateResponse, type
|
|
1
|
+
export { Credentials, type CredentialCreateResponse, type CredentialDeleteResponse, type CredentialCreateParams, type CredentialDeleteParams, } from "./credentials/index.js";
|
|
2
|
+
export { Links, type LinkCreateResponse, type LinkCreateParams } from "./links.js";
|
|
2
3
|
export { Packages, type PackageCreateResponse, type PackageListResponse, type PackageListAllResponse, type PackageCreateParams, } from "./packages.js";
|
|
3
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/credentials/packages/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,WAAW,EACX,KAAK,wBAAwB,EAC7B,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/credentials/packages/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,WAAW,EACX,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,GAC5B,+BAA4B;AAC7B,OAAO,EAAE,KAAK,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,mBAAgB;AAChF,OAAO,EACL,QAAQ,EACR,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,sBAAsB,EAC3B,KAAK,mBAAmB,GACzB,sBAAmB"}
|
|
@@ -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.Links = exports.Credentials = void 0;
|
|
5
5
|
var index_1 = require("./credentials/index.js");
|
|
6
6
|
Object.defineProperty(exports, "Credentials", { enumerable: true, get: function () { return index_1.Credentials; } });
|
|
7
|
+
var links_1 = require("./links.js");
|
|
8
|
+
Object.defineProperty(exports, "Links", { enumerable: true, get: function () { return links_1.Links; } });
|
|
7
9
|
var packages_1 = require("./packages.js");
|
|
8
10
|
Object.defineProperty(exports, "Packages", { enumerable: true, get: function () { return packages_1.Packages; } });
|
|
9
11
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/credentials/packages/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/credentials/packages/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gDAM6B;AAL3B,oGAAA,WAAW,OAAA;AAMb,oCAAgF;AAAvE,8FAAA,KAAK,OAAA;AACd,0CAMoB;AALlB,oGAAA,QAAQ,OAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/credentials/packages/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EACL,WAAW,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/credentials/packages/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EACL,WAAW,GAKZ,gCAA4B;AAC7B,OAAO,EAAE,KAAK,EAAkD,oBAAgB;AAChF,OAAO,EACL,QAAQ,GAKT,uBAAmB"}
|
|
@@ -0,0 +1,65 @@
|
|
|
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 Links extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Link a 1Password item to a credential
|
|
7
|
+
*/
|
|
8
|
+
create(packageName: string, body: LinkCreateParams, options?: RequestOptions): APIPromise<LinkCreateResponse>;
|
|
9
|
+
}
|
|
10
|
+
export interface LinkCreateResponse {
|
|
11
|
+
data: LinkCreateResponse.Data;
|
|
12
|
+
}
|
|
13
|
+
export declare namespace LinkCreateResponse {
|
|
14
|
+
interface Data {
|
|
15
|
+
createdBy: string | null;
|
|
16
|
+
credentialName: string;
|
|
17
|
+
fields: Array<Data.Field>;
|
|
18
|
+
ownerId: string;
|
|
19
|
+
packageName: string;
|
|
20
|
+
secretPath: string;
|
|
21
|
+
/**
|
|
22
|
+
* @deprecated Deprecated: use createdBy (same value — the creating actor). Null
|
|
23
|
+
* for credentials created before rollout.
|
|
24
|
+
*/
|
|
25
|
+
userId: string | null;
|
|
26
|
+
link?: Data.Link;
|
|
27
|
+
source?: 'mobilerun' | 'onepassword';
|
|
28
|
+
}
|
|
29
|
+
namespace Data {
|
|
30
|
+
interface Field {
|
|
31
|
+
fieldType: 'email' | 'username' | 'password' | 'api_token' | 'phone_number' | 'two_factor_secret' | 'backup_codes';
|
|
32
|
+
value: string;
|
|
33
|
+
}
|
|
34
|
+
interface Link {
|
|
35
|
+
fieldMap: Array<Link.FieldMap>;
|
|
36
|
+
itemId: string;
|
|
37
|
+
itemTitle: string;
|
|
38
|
+
provider: 'onepassword';
|
|
39
|
+
vaultId: string;
|
|
40
|
+
vaultName: string;
|
|
41
|
+
}
|
|
42
|
+
namespace Link {
|
|
43
|
+
interface FieldMap {
|
|
44
|
+
fieldId: string;
|
|
45
|
+
fieldType: 'email' | 'username' | 'password' | 'api_token' | 'phone_number' | 'two_factor_secret' | 'backup_codes';
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
export interface LinkCreateParams {
|
|
51
|
+
credentialName: string;
|
|
52
|
+
fieldMap: Array<LinkCreateParams.FieldMap>;
|
|
53
|
+
itemId: string;
|
|
54
|
+
vaultId: string;
|
|
55
|
+
}
|
|
56
|
+
export declare namespace LinkCreateParams {
|
|
57
|
+
interface FieldMap {
|
|
58
|
+
fieldId: string;
|
|
59
|
+
fieldType: 'email' | 'username' | 'password' | 'api_token' | 'phone_number' | 'two_factor_secret' | 'backup_codes';
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
export declare namespace Links {
|
|
63
|
+
export { type LinkCreateResponse as LinkCreateResponse, type LinkCreateParams as LinkCreateParams };
|
|
64
|
+
}
|
|
65
|
+
//# sourceMappingURL=links.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"links.d.mts","sourceRoot":"","sources":["../../../src/resources/credentials/packages/links.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,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AAiB,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,gBAAgB;IAC/B,cAAc,EAAE,MAAM,CAAC;IAEvB,QAAQ,EAAE,KAAK,CAAC,gBAAgB,CAAC,QAAQ,CAAC,CAAC;IAE3C,MAAM,EAAE,MAAM,CAAC;IAEf,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,yBAAiB,gBAAgB,CAAC;IAChC,UAAiB,QAAQ;QACvB,OAAO,EAAE,MAAM,CAAC;QAEhB,SAAS,EACL,OAAO,GACP,UAAU,GACV,UAAU,GACV,WAAW,GACX,cAAc,GACd,mBAAmB,GACnB,cAAc,CAAC;KACpB;CACF;AAED,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EAAE,KAAK,kBAAkB,IAAI,kBAAkB,EAAE,KAAK,gBAAgB,IAAI,gBAAgB,EAAE,CAAC;CACrG"}
|
|
@@ -0,0 +1,65 @@
|
|
|
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 Links extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Link a 1Password item to a credential
|
|
7
|
+
*/
|
|
8
|
+
create(packageName: string, body: LinkCreateParams, options?: RequestOptions): APIPromise<LinkCreateResponse>;
|
|
9
|
+
}
|
|
10
|
+
export interface LinkCreateResponse {
|
|
11
|
+
data: LinkCreateResponse.Data;
|
|
12
|
+
}
|
|
13
|
+
export declare namespace LinkCreateResponse {
|
|
14
|
+
interface Data {
|
|
15
|
+
createdBy: string | null;
|
|
16
|
+
credentialName: string;
|
|
17
|
+
fields: Array<Data.Field>;
|
|
18
|
+
ownerId: string;
|
|
19
|
+
packageName: string;
|
|
20
|
+
secretPath: string;
|
|
21
|
+
/**
|
|
22
|
+
* @deprecated Deprecated: use createdBy (same value — the creating actor). Null
|
|
23
|
+
* for credentials created before rollout.
|
|
24
|
+
*/
|
|
25
|
+
userId: string | null;
|
|
26
|
+
link?: Data.Link;
|
|
27
|
+
source?: 'mobilerun' | 'onepassword';
|
|
28
|
+
}
|
|
29
|
+
namespace Data {
|
|
30
|
+
interface Field {
|
|
31
|
+
fieldType: 'email' | 'username' | 'password' | 'api_token' | 'phone_number' | 'two_factor_secret' | 'backup_codes';
|
|
32
|
+
value: string;
|
|
33
|
+
}
|
|
34
|
+
interface Link {
|
|
35
|
+
fieldMap: Array<Link.FieldMap>;
|
|
36
|
+
itemId: string;
|
|
37
|
+
itemTitle: string;
|
|
38
|
+
provider: 'onepassword';
|
|
39
|
+
vaultId: string;
|
|
40
|
+
vaultName: string;
|
|
41
|
+
}
|
|
42
|
+
namespace Link {
|
|
43
|
+
interface FieldMap {
|
|
44
|
+
fieldId: string;
|
|
45
|
+
fieldType: 'email' | 'username' | 'password' | 'api_token' | 'phone_number' | 'two_factor_secret' | 'backup_codes';
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
export interface LinkCreateParams {
|
|
51
|
+
credentialName: string;
|
|
52
|
+
fieldMap: Array<LinkCreateParams.FieldMap>;
|
|
53
|
+
itemId: string;
|
|
54
|
+
vaultId: string;
|
|
55
|
+
}
|
|
56
|
+
export declare namespace LinkCreateParams {
|
|
57
|
+
interface FieldMap {
|
|
58
|
+
fieldId: string;
|
|
59
|
+
fieldType: 'email' | 'username' | 'password' | 'api_token' | 'phone_number' | 'two_factor_secret' | 'backup_codes';
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
export declare namespace Links {
|
|
63
|
+
export { type LinkCreateResponse as LinkCreateResponse, type LinkCreateParams as LinkCreateParams };
|
|
64
|
+
}
|
|
65
|
+
//# sourceMappingURL=links.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"links.d.ts","sourceRoot":"","sources":["../../../src/resources/credentials/packages/links.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kCAA+B;AACrD,OAAO,EAAE,UAAU,EAAE,qCAAkC;AACvD,OAAO,EAAE,cAAc,EAAE,6CAA0C;AAGnE,qBAAa,KAAM,SAAQ,WAAW;IACpC;;OAEG;IACH,MAAM,CACJ,WAAW,EAAE,MAAM,EACnB,IAAI,EAAE,gBAAgB,EACtB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,kBAAkB,CAAC;CAGlC;AAED,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,kBAAkB,CAAC,IAAI,CAAC;CAC/B;AAED,yBAAiB,kBAAkB,CAAC;IAClC,UAAiB,IAAI;QACnB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;QAEzB,cAAc,EAAE,MAAM,CAAC;QAEvB,MAAM,EAAE,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAE1B,OAAO,EAAE,MAAM,CAAC;QAEhB,WAAW,EAAE,MAAM,CAAC;QAEpB,UAAU,EAAE,MAAM,CAAC;QAEnB;;;WAGG;QACH,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;QAEtB,IAAI,CAAC,EAAE,IAAI,CAAC,IAAI,CAAC;QAEjB,MAAM,CAAC,EAAE,WAAW,GAAG,aAAa,CAAC;KACtC;IAED,UAAiB,IAAI,CAAC;QACpB,UAAiB,KAAK;YACpB,SAAS,EACL,OAAO,GACP,UAAU,GACV,UAAU,GACV,WAAW,GACX,cAAc,GACd,mBAAmB,GACnB,cAAc,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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