/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import { taggingsPostTaggingsBulkCreate } from "../funcs/taggingsPostTaggingsBulkCreate.js"; import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as operations from "../models/operations/index.js"; import { unwrapAsync } from "../types/fp.js"; export class Taggings extends ClientSDK { /** * Bulk Tag Media * * @remarks * This method accepts a list of medias to tag. It processes requests asynchronously and will return a background_job_status object rather than the typical Media response object. * * The tags will be added to the existing tags on each media file, not replaced. * * ## Requires api token with one of the following permissions * ``` * Read, update & delete anything * ``` */ async postTaggingsBulkCreate( request: operations.PostTaggingsBulkCreateRequest, options?: RequestOptions, ): Promise { return unwrapAsync(taggingsPostTaggingsBulkCreate( this, request, options, )); } }