endpoint to get and update onepassword token (#3089)

This commit is contained in:
Shuchang Zheng
2025-08-05 07:34:26 -07:00
committed by GitHub
parent 02576e5be3
commit 00c9446023
9 changed files with 420 additions and 186 deletions

View File

@@ -175,6 +175,24 @@ export type ApiKeyApiResponse = {
valid: boolean;
};
export type OnePasswordTokenApiResponse = {
id: string;
organization_id: string;
token: string;
created_at: string;
modified_at: string;
token_type: string;
valid: boolean;
};
export type CreateOnePasswordTokenRequest = {
token: string;
};
export type CreateOnePasswordTokenResponse = {
token: OnePasswordTokenApiResponse;
};
// TODO complete this
export const ActionTypes = {
InputText: "input_text",