import * as Schema from "effect/Schema";
import { API } from "../client.js";
import * as T from "../traits.js";
// Input Schema
export const GetV2CoreAccountTokensIdInput = 
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
    id: Schema.String.pipe(T.PathParam()),
}).pipe(T.Http({ method: "GET", path: "/v2/core/account_tokens/{id}" }));
// Output Schema
export const GetV2CoreAccountTokensIdOutput = 
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
    created: Schema.String,
    expires_at: Schema.String,
    id: Schema.String,
    livemode: Schema.Boolean,
    object: Schema.Literals(["v2.core.account_token"]),
    used: Schema.Boolean,
});
// The operation
/**
 * Retrieve an account token
 *
 * Retrieves an Account Token.
 *
 * @param id - The ID of the Account Token to retrieve.
 */
export const GetV2CoreAccountTokensId = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
    inputSchema: GetV2CoreAccountTokensIdInput,
    outputSchema: GetV2CoreAccountTokensIdOutput,
}));
//# sourceMappingURL=GetV2CoreAccountTokensId.js.map