//#region ../../api-clients/portal-tenant-content/src/namespaces/portal_tenant_content.ts
/**
* List media (own uploads and company share media)
* Returns a paginated list of the member's own uploads and company share media. Training and update media are excluded.
*
* @param client - Fetch client instance
* @param [params] - params
*/
async function media_list(client, params) {
	return client.get(`/api/content/media`, params);
}
/**
* Create a new media item
* Creates a new media item record.
*
* @param client - Fetch client instance
* @param body - body
*/
async function media_create(client, body) {
	return client.post(`/api/content/media`, body);
}
/**
* Get a specific media item
* Returns a single media item by ID.
*
* @param client - Fetch client instance
* @param id - id
*/
async function media_show(client, id) {
	return client.get(`/api/content/media/${id}`);
}
/**
* Update a media item (own uploads only)
* Updates a media item's title, description, status, url, content_format, thumbnail, CTA, and SEO.
*
* @param client - Fetch client instance
* @param id - id
* @param body - body
*/
async function media_update(client, id, body) {
	return client.patch(`/api/content/media/${id}`, body);
}
/**
* Delete a media item (own uploads only)
* Removes a media item.
*
* @param client - Fetch client instance
* @param id - id
*/
async function media_destroy(client, id) {
	return client.delete(`/api/content/media/${id}`);
}
/**
* List products associated with a media item
* Returns a paginated list of products associated with a media item.
*
* @param client - Fetch client instance
* @param medium_id - medium_id
* @param [params] - params
*/
async function media_products_list(client, medium_id, params) {
	return client.get(`/api/content/media/${medium_id}/products`, params);
}
/**
* Associate a product with a media item
* Creates a product association for a media item.
*
* @param client - Fetch client instance
* @param medium_id - medium_id
* @param body - body
*/
async function media_products_add(client, medium_id, body) {
	return client.post(`/api/content/media/${medium_id}/products`, body);
}
/**
* Remove a product association from a media item
* Removes a single product association from a media item.
*
* @param client - Fetch client instance
* @param medium_id - medium_id
* @param id - id
*/
async function media_products_remove(client, medium_id, id) {
	return client.delete(`/api/content/media/${medium_id}/products/${id}`);
}
/**
* List playlists with cursor pagination
* Returns a paginated list of playlists.
*
* @param client - Fetch client instance
* @param [params] - params
*/
async function playlists_list(client, params) {
	return client.get(`/api/content/playlists`, params);
}
/**
* Create a new playlist
* Creates a new playlist.
*
* @param client - Fetch client instance
* @param body - body
*/
async function playlists_create(client, body) {
	return client.post(`/api/content/playlists`, body);
}
/**
* Get a specific playlist
* Returns a single playlist by ID.
*
* @param client - Fetch client instance
* @param id - id
*/
async function playlists_show(client, id) {
	return client.get(`/api/content/playlists/${id}`);
}
/**
* Update a playlist
* Updates a playlist's title or metadata.
*
* @param client - Fetch client instance
* @param id - id
* @param body - body
*/
async function playlists_update(client, id, body) {
	return client.patch(`/api/content/playlists/${id}`, body);
}
/**
* Delete a playlist
* Removes a playlist.
*
* @param client - Fetch client instance
* @param id - id
*/
async function playlists_destroy(client, id) {
	return client.delete(`/api/content/playlists/${id}`);
}
/**
* List items in a playlist
* Returns a paginated list of items in a playlist.
*
* @param client - Fetch client instance
* @param playlist_id - playlist_id
* @param [params] - params
*/
async function playlists_items_list(client, playlist_id, params) {
	return client.get(`/api/content/playlists/${playlist_id}/items`, params);
}
/**
* Add an item to a playlist
* Adds a content item (media, page, product, or enrollment_pack) to a playlist.
*
* @param client - Fetch client instance
* @param playlist_id - playlist_id
* @param body - body
*/
async function playlists_items_add(client, playlist_id, body) {
	return client.post(`/api/content/playlists/${playlist_id}/items`, body);
}
/**
* Reorder items in a playlist
* Sets the order of items in a playlist. Items not included in the payload are not moved. Flips the playlist to manual ordering.
*
* @param client - Fetch client instance
* @param playlist_id - playlist_id
* @param body - body
*/
async function playlists_items_reorder(client, playlist_id, body) {
	return client.patch(`/api/content/playlists/${playlist_id}/items/reorder`, body);
}
/**
* Remove an item from a playlist
* Removes a single item from a playlist.
*
* @param client - Fetch client instance
* @param playlist_id - playlist_id
* @param id - id
*/
async function playlists_items_remove(client, playlist_id, id) {
	return client.delete(`/api/content/playlists/${playlist_id}/items/${id}`);
}
/**
* List pages for the company
* Returns a paginated list of published pages for the authenticated rep's company. Members have read-only access — there is no create, update, or destroy action for pages in the portal BFF. Response shape matches pages_show (PortalTenant::Api::PageBlueprinter).
*
* @param client - Fetch client instance
* @param [params] - params
*/
async function pages_list(client, params) {
	return client.get(`/api/content/pages`, params);
}
/**
* Get a specific page
* Returns a single page by ID, scoped to the authenticated rep's company. Response is a lean portal-BFF shape rendered by PortalTenant::Api::PageBlueprinter — not the legacy admin shape. Admin-only fields (html_code, application_theme_template, search_engine_optimizer, open_graph, prompts, etc.) are intentionally omitted.
*
* @param client - Fetch client instance
* @param id - id
*/
async function pages_show(client, id) {
	return client.get(`/api/content/pages/${id}`);
}
/**
* List share links for the current user
* Returns a paginated list of share links.
*
* @param client - Fetch client instance
* @param [params] - params
*/
async function shares_list(client, params) {
	return client.get(`/api/shares`, params);
}
/**
* Create a share link
* Creates a new share link for content.
*
* @param client - Fetch client instance
* @param body - body
*/
async function shares_create(client, body) {
	return client.post(`/api/shares`, body);
}
/**
* List DAM assets
* Returns a paginated list of DAM assets for the company.
*
* @param client - Fetch client instance
* @param [params] - params
*/
async function dam_assets_list(client, params) {
	return client.get(`/api/content/dam/assets`, params);
}
/**
* Create a DAM asset
* Creates a new DAM asset. Supports two modes:
1. **JSON placeholder** — send `application/json` with `asset[name]` to
create a placeholder record for later file upload.

2. **File upload** — send `multipart/form-data` with `asset[file]`,
`asset[name]`, and optionally `asset[description]` and `asset[tags]`
to upload a file and create the full asset with variants.
*
* @param client - Fetch client instance
* @param body - body
*/
async function dam_assets_create(client, body) {
	return client.post(`/api/content/dam/assets`, body);
}
/**
* List paths for a DAM asset
* Returns a paginated list of path aliases for a DAM asset.
*
* @param client - Fetch client instance
* @param asset_code - asset_code
* @param [params] - params
*/
async function dam_asset_paths_list(client, asset_code, params) {
	return client.get(`/api/content/dam/assets/${asset_code}/paths`, params);
}
/**
* Create a path alias for a DAM asset
* Creates a new path alias for an existing DAM asset.
*
* @param client - Fetch client instance
* @param asset_code - asset_code
* @param body - body
*/
async function dam_asset_paths_create(client, asset_code, body) {
	return client.post(`/api/content/dam/assets/${asset_code}/paths`, body);
}
/**
* Query DAM assets using tree paths and tags
* Searches and retrieves DAM assets using tree path pattern matching, tag-based variant filtering, wildcard name matching, and partial search. Supports cursor pagination for large result sets.
*
* @param client - Fetch client instance
* @param body - body
*/
async function dam_query(client, body) {
	return client.post(`/api/content/dam/query`, body);
}
/**
* Delete a DAM asset
* Permanently destroys a DAM asset, including its ImageKit storage, variants, and database records.
*
* @param client - Fetch client instance
* @param code - code
*/
async function dam_assets_destroy(client, code) {
	return client.delete(`/api/content/dam/assets/${code}`);
}
/**
* Discard (soft-delete) a DAM asset
* Soft-deletes a DAM asset. Used to discard an in-progress upload without permanently removing the record.
*
* @param client - Fetch client instance
* @param code - code
*/
async function dam_assets_discard(client, code) {
	return client.patch(`/api/content/dam/assets/${code}/discard`);
}
/**
* Top media by direct visits
* Ranked list of the company's media by total visits (aggregates metrics_media_visits across all visit sources).
*
* @param client - Fetch client instance
* @param [params] - params
*/
async function content_media_by_visits(client, params) {
	return client.get(`/api/content/media/by-visits`, params);
}
/**
* Top media by share-link visits
* Ranked list of the company's media by click-throughs on rep share links (aggregates metrics_share_shareable_visits where shareable_type='Medium').
*
* @param client - Fetch client instance
* @param [params] - params
*/
async function content_media_by_shares(client, params) {
	return client.get(`/api/content/media/by-shares`, params);
}
/**
* Top playlists by direct visits
* Ranked list of the company's playlists by total visits (aggregates metrics_library_visits since playlists are stored in the libraries table).
*
* @param client - Fetch client instance
* @param [params] - params
*/
async function content_playlists_by_visits(client, params) {
	return client.get(`/api/content/playlists/by-visits`, params);
}
/**
* Top playlists by share-link visits
* Ranked list of the company's playlists by click-throughs on rep share links (aggregates metrics_share_shareable_visits where shareable_type='Library').
*
* @param client - Fetch client instance
* @param [params] - params
*/
async function content_playlists_by_shares(client, params) {
	return client.get(`/api/content/playlists/by-shares`, params);
}
/**
* Top pages by direct visits
* Ranked list of the company's pages by total visits (aggregates metrics_page_visits across all visit sources).
*
* @param client - Fetch client instance
* @param [params] - params
*/
async function content_pages_by_visits(client, params) {
	return client.get(`/api/content/pages/by-visits`, params);
}
/**
* Top pages by share-link visits
* Ranked list of the company's pages by click-throughs on rep share links (aggregates metrics_share_shareable_visits where shareable_type='Page').
*
* @param client - Fetch client instance
* @param [params] - params
*/
async function content_pages_by_shares(client, params) {
	return client.get(`/api/content/pages/by-shares`, params);
}
//#endregion
Object.defineProperty(exports, "content_media_by_shares", {
	enumerable: true,
	get: function() {
		return content_media_by_shares;
	}
});
Object.defineProperty(exports, "content_media_by_visits", {
	enumerable: true,
	get: function() {
		return content_media_by_visits;
	}
});
Object.defineProperty(exports, "content_pages_by_shares", {
	enumerable: true,
	get: function() {
		return content_pages_by_shares;
	}
});
Object.defineProperty(exports, "content_pages_by_visits", {
	enumerable: true,
	get: function() {
		return content_pages_by_visits;
	}
});
Object.defineProperty(exports, "content_playlists_by_shares", {
	enumerable: true,
	get: function() {
		return content_playlists_by_shares;
	}
});
Object.defineProperty(exports, "content_playlists_by_visits", {
	enumerable: true,
	get: function() {
		return content_playlists_by_visits;
	}
});
Object.defineProperty(exports, "dam_asset_paths_create", {
	enumerable: true,
	get: function() {
		return dam_asset_paths_create;
	}
});
Object.defineProperty(exports, "dam_asset_paths_list", {
	enumerable: true,
	get: function() {
		return dam_asset_paths_list;
	}
});
Object.defineProperty(exports, "dam_assets_create", {
	enumerable: true,
	get: function() {
		return dam_assets_create;
	}
});
Object.defineProperty(exports, "dam_assets_destroy", {
	enumerable: true,
	get: function() {
		return dam_assets_destroy;
	}
});
Object.defineProperty(exports, "dam_assets_discard", {
	enumerable: true,
	get: function() {
		return dam_assets_discard;
	}
});
Object.defineProperty(exports, "dam_assets_list", {
	enumerable: true,
	get: function() {
		return dam_assets_list;
	}
});
Object.defineProperty(exports, "dam_query", {
	enumerable: true,
	get: function() {
		return dam_query;
	}
});
Object.defineProperty(exports, "media_create", {
	enumerable: true,
	get: function() {
		return media_create;
	}
});
Object.defineProperty(exports, "media_destroy", {
	enumerable: true,
	get: function() {
		return media_destroy;
	}
});
Object.defineProperty(exports, "media_list", {
	enumerable: true,
	get: function() {
		return media_list;
	}
});
Object.defineProperty(exports, "media_products_add", {
	enumerable: true,
	get: function() {
		return media_products_add;
	}
});
Object.defineProperty(exports, "media_products_list", {
	enumerable: true,
	get: function() {
		return media_products_list;
	}
});
Object.defineProperty(exports, "media_products_remove", {
	enumerable: true,
	get: function() {
		return media_products_remove;
	}
});
Object.defineProperty(exports, "media_show", {
	enumerable: true,
	get: function() {
		return media_show;
	}
});
Object.defineProperty(exports, "media_update", {
	enumerable: true,
	get: function() {
		return media_update;
	}
});
Object.defineProperty(exports, "pages_list", {
	enumerable: true,
	get: function() {
		return pages_list;
	}
});
Object.defineProperty(exports, "pages_show", {
	enumerable: true,
	get: function() {
		return pages_show;
	}
});
Object.defineProperty(exports, "playlists_create", {
	enumerable: true,
	get: function() {
		return playlists_create;
	}
});
Object.defineProperty(exports, "playlists_destroy", {
	enumerable: true,
	get: function() {
		return playlists_destroy;
	}
});
Object.defineProperty(exports, "playlists_items_add", {
	enumerable: true,
	get: function() {
		return playlists_items_add;
	}
});
Object.defineProperty(exports, "playlists_items_list", {
	enumerable: true,
	get: function() {
		return playlists_items_list;
	}
});
Object.defineProperty(exports, "playlists_items_remove", {
	enumerable: true,
	get: function() {
		return playlists_items_remove;
	}
});
Object.defineProperty(exports, "playlists_items_reorder", {
	enumerable: true,
	get: function() {
		return playlists_items_reorder;
	}
});
Object.defineProperty(exports, "playlists_list", {
	enumerable: true,
	get: function() {
		return playlists_list;
	}
});
Object.defineProperty(exports, "playlists_show", {
	enumerable: true,
	get: function() {
		return playlists_show;
	}
});
Object.defineProperty(exports, "playlists_update", {
	enumerable: true,
	get: function() {
		return playlists_update;
	}
});
Object.defineProperty(exports, "shares_create", {
	enumerable: true,
	get: function() {
		return shares_create;
	}
});
Object.defineProperty(exports, "shares_list", {
	enumerable: true,
	get: function() {
		return shares_list;
	}
});

//# sourceMappingURL=portal_tenant_content-C1R1xxDP.cjs.map