import * as Schema from "effect/Schema";
import { API } from "../client.js";
import * as T from "../traits.js";
// Input Schema
export const DeleteV2CoreAccountsAccountIdPersonsIdInput = 
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
    account_id: Schema.String.pipe(T.PathParam()),
    id: Schema.String.pipe(T.PathParam()),
}).pipe(T.Http({
    method: "DELETE",
    path: "/v2/core/accounts/{account_id}/persons/{id}",
}));
// Output Schema
export const DeleteV2CoreAccountsAccountIdPersonsIdOutput = 
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
    id: Schema.String,
    object: Schema.optional(Schema.String),
});
// The operation
/**
 * Delete a person
 *
 * Delete a Person associated with an Account.
 *
 * @param account_id - The Account the Person is associated with.
 * @param id - The ID of the Person to delete.
 */
export const DeleteV2CoreAccountsAccountIdPersonsId = 
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
    inputSchema: DeleteV2CoreAccountsAccountIdPersonsIdInput,
    outputSchema: DeleteV2CoreAccountsAccountIdPersonsIdOutput,
}));
//# sourceMappingURL=DeleteV2CoreAccountsAccountIdPersonsId.js.map