/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 */
import { scoreScalesCreate } from "../funcs/scoreScalesCreate.js";
import { scoreScalesDelete } from "../funcs/scoreScalesDelete.js";
import { scoreScalesGet } from "../funcs/scoreScalesGet.js";
import { scoreScalesList } from "../funcs/scoreScalesList.js";
import { scoreScalesUpdate } from "../funcs/scoreScalesUpdate.js";
import { ClientSDK } from "../lib/sdks.js";
import { unwrapAsync } from "../types/fp.js";
import { unwrapResultIterator } from "../types/operations.js";
export class ScoreScales extends ClientSDK {
    /**
     * Get all Score Scales
     *
     * @remarks
     * Get all of the ScoreScales on the service provider.
     */
    async list(request, options) {
        return unwrapResultIterator(scoreScalesList(this, request, options));
    }
    /**
     * Create a Score Scale
     *
     * @remarks
     * To create a new scoreScale. The responding system must return the set of sourcedIds that have been allocated to the newly created scoreScale records.
     */
    async create(request, options) {
        return unwrapAsync(scoreScalesCreate(this, request, options));
    }
    /**
     * Get a Score Scale
     *
     * @remarks
     * Get a specific scoreScale on the service provider.
     */
    async get(request, options) {
        return unwrapAsync(scoreScalesGet(this, request, options));
    }
    /**
     * Update a Score Scale
     *
     * @remarks
     * To update an existing scoreScale. The sourcedId for the record to be updated is supplied by the requesting system.
     */
    async update(request, options) {
        return unwrapAsync(scoreScalesUpdate(this, request, options));
    }
    /**
     * Delete a Score Scale
     *
     * @remarks
     * Perform a soft delete on a specific ScoreScale on the service provider. This operation changes the status of the ScoreScale to 'tobedeleted'.
     */
    async delete(request, options) {
        return unwrapAsync(scoreScalesDelete(this, request, options));
    }
}
//# sourceMappingURL=scorescales.js.map