Socket
Socket
Sign inDemoInstall

moos-api

Package Overview
Dependencies
0
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.7.1 to 0.7.2

2

package.json
{
"name": "moos-api",
"version": "0.7.1",
"version": "0.7.2",
"description": "Moos API type definitions",

@@ -5,0 +5,0 @@ "repository": {

@@ -79,14 +79,2 @@ /**

};
"/profile/friend/{friendId}/collections": {
/**
* List all Collections of a friend
* @description Get a list of the collections of a friend, which you are allowed to see.
*/
post: operations["post-profile-friend-collections"];
parameters: {
path: {
friendId: string;
};
};
};
"/profile/friend/{friendId}/friends": {

@@ -133,49 +121,2 @@ /**

};
"/profile/collections": {
/**
* List all Collections
* @description Get a list of your own files.
*/
post: operations["post-profile-collections"];
};
"/profile/collection": {
/** Create Collection */
put: operations["put-profile-collection"];
/** Get Collection */
post: operations["post-profile-collection"];
/** Delete Collection */
delete: operations["delete-profile-collection"];
/** Patch Collection */
patch: operations["patch-profile-collection"];
};
"/profile/season": {
/** Create Season */
put: operations["put-profile-season"];
/** Get Season */
post: operations["post-profile-season"];
/** Delete Season */
delete: operations["delete-profile-season"];
/** Patch Season */
patch: operations["patch-profile-season"];
};
"/profile/episode": {
/** Create Episode */
put: operations["put-profile-episode"];
/** Get Episode */
post: operations["post-profile-episode"];
/** Delete Episode */
delete: operations["delete-profile-episode"];
/** Patch Episode */
patch: operations["patch-profile-episode"];
};
"/profile/source": {
/** Create Source */
put: operations["put-profile-source"];
/** Get Source */
post: operations["post-profile-source"];
/** Delete Source */
delete: operations["delete-profile-source"];
/** Patch Source */
patch: operations["patch-profile-source"];
};
"/csrf-token": {

@@ -284,81 +225,2 @@ /**

};
/** episode */
Episode: {
/** Format: uuid */
seasonId: string;
/** Format: uuid */
id: string;
index: number;
name: string;
sources: components["schemas"]["Source"][];
/** Format: int64 */
creationDate: number;
};
/** source */
Source: {
/** Format: uuid */
seasonId: string;
/** Format: uuid */
episodeId: string;
/** Format: uuid */
id: string;
language: components["schemas"]["Language"];
name?: string;
/** Format: uri */
url?: string;
/** Format: uuid */
key?: string;
subtitles?: components["schemas"]["Language"];
/** Format: int64 */
creationDate: number;
};
/**
* language
* @default en_EN
* @example de_DE
* @enum {string}
*/
Language: "en_EN" | "de_DE" | "ja_JP" | "zh_CN";
/** season */
Season: {
/** Format: uuid */
collectionId: string;
/** Format: uuid */
id: string;
index: number;
episodes: components["schemas"]["Episode"][];
languages: components["schemas"]["Language"][];
subtitles: components["schemas"]["Language"][];
};
/** collection */
Collection: {
/** Format: uuid */
id: string;
name: string;
/**
* @default private
* @enum {string}
*/
visibility: "private" | "public" | "unlisted";
seasons: components["schemas"]["Season"][];
owner: string;
/** Format: int64 */
creationDate: number;
};
/** collection-preview */
CollectionPreview: {
/** Format: uuid */
id: string;
name: string;
/**
* @default private
* @enum {string}
*/
visibility: "private" | "public" | "unlisted";
/** Format: uri */
thumbnail?: string;
owner: string;
/** Format: int64 */
creationDate: number;
};
};

@@ -548,26 +410,2 @@ responses: never;

};
"post-profile-friend-collections": {
/**
* List all Collections of a friend
* @description Get a list of the collections of a friend, which you are allowed to see.
*/
responses: {
/** @description OK */
200: {
content: {
"application/json": components["schemas"]["CollectionPreview"][];
};
};
/** @description Bad Request */
400: never;
/** @description Unauthorized */
401: never;
/** @description Forbidden */
403: never;
/** @description Not Found */
404: never;
/** @description Internal Server Error */
500: never;
};
};
"post-profile-friend-friends": {

@@ -757,501 +595,2 @@ /**

};
"post-profile-collections": {
/**
* List all Collections
* @description Get a list of your own files.
*/
responses: {
/** @description OK */
200: {
content: {
"application/json": components["schemas"]["CollectionPreview"][];
};
};
/** @description Unauthorized */
401: never;
/** @description Forbidden */
403: never;
/** @description Internal Server Error */
500: never;
};
};
"put-profile-collection": {
/** Create Collection */
requestBody?: {
content: {
"application/json": {
name: string;
/**
* @default private
* @enum {string}
*/
visibility?: "private" | "public" | "unlisted";
/** Format: uuid */
thumbnail?: string;
};
};
};
responses: {
/** @description OK */
200: {
content: {
"application/json": components["schemas"]["Collection"];
};
};
/** @description Bad Request */
400: never;
/** @description Unauthorized */
401: never;
/** @description Forbidden */
403: never;
/** @description Internal Server Error */
500: never;
};
};
"post-profile-collection": {
/** Get Collection */
requestBody?: {
content: {
"application/json": {
/** Format: uuid */
id: string;
};
};
};
responses: {
/** @description OK */
200: {
content: {
"application/json": components["schemas"]["Collection"];
};
};
/** @description Bad Request */
400: never;
/** @description Unauthorized */
401: never;
/** @description Forbidden */
403: never;
/** @description Not Found */
404: never;
/** @description Internal Server Error */
500: never;
};
};
"delete-profile-collection": {
/** Delete Collection */
requestBody?: {
content: {
"application/json": {
/** Format: uuid */
id: string;
};
};
};
responses: {
/** @description No Content */
204: never;
/** @description Bad Request */
400: never;
/** @description Unauthorized */
401: never;
/** @description Forbidden */
403: never;
/** @description Not Found */
404: never;
/** @description Internal Server Error */
500: never;
};
};
"patch-profile-collection": {
/** Patch Collection */
requestBody?: {
content: {
"application/json": {
/** Format: uuid */
id: string;
name?: string;
/** @enum {string} */
visibility?: "public" | "private" | "unlisted";
/** Format: uuid */
thumbnail?: string;
};
};
};
responses: {
/** @description No Content */
204: never;
/** @description Bad Request */
400: never;
/** @description Unauthorized */
401: never;
/** @description Forbidden */
403: never;
/** @description Not Found */
404: never;
/** @description Internal Server Error */
500: never;
};
};
"put-profile-season": {
/** Create Season */
requestBody?: {
content: {
"application/json": {
/** Format: uuid */
collectionId: string;
index: number;
};
};
};
responses: {
/** @description OK */
200: {
content: {
"application/json": components["schemas"]["Season"];
};
};
/** @description Bad Request */
400: never;
/** @description Unauthorized */
401: never;
/** @description Forbidden */
403: never;
/** @description Not Found */
404: never;
/** @description Internal Server Error */
500: never;
};
};
"post-profile-season": {
/** Get Season */
requestBody?: {
content: {
"application/json": {
/** Format: uuid */
id: string;
};
};
};
responses: {
/** @description OK */
200: {
content: {
"application/json": components["schemas"]["Season"];
};
};
/** @description Bad Request */
400: never;
/** @description Unauthorized */
401: never;
/** @description Forbidden */
403: never;
/** @description Not Found */
404: never;
/** @description Internal Server Error */
500: never;
};
};
"delete-profile-season": {
/** Delete Season */
requestBody?: {
content: {
"application/json": {
/** Format: uuid */
id: string;
};
};
};
responses: {
/** @description No Content */
204: never;
/** @description Bad Request */
400: never;
/** @description Unauthorized */
401: never;
/** @description Forbidden */
403: never;
/** @description Not Found */
404: never;
/** @description Internal Server Error */
500: never;
};
};
"patch-profile-season": {
/** Patch Season */
requestBody?: {
content: {
"application/json": {
/** Format: uuid */
id: string;
index?: number;
};
};
};
responses: {
/** @description No Content */
204: never;
/** @description Bad Request */
400: never;
/** @description Unauthorized */
401: never;
/** @description Forbidden */
403: never;
/** @description Not Found */
404: never;
/** @description Internal Server Error */
500: never;
};
};
"put-profile-episode": {
/** Create Episode */
requestBody?: {
content: {
"application/json": {
/** Format: uuid */
seasonId: string;
index: number;
name: string;
};
};
};
responses: {
/** @description OK */
200: {
content: {
"application/json": components["schemas"]["Episode"];
};
};
/** @description Bad Request */
400: never;
/** @description Unauthorized */
401: never;
/** @description Forbidden */
403: never;
/** @description Not Found */
404: never;
/** @description Internal Server Error */
500: never;
};
};
"post-profile-episode": {
/** Get Episode */
requestBody?: {
content: {
"application/json": {
/** Format: uuid */
seasonId: string;
/** Format: uuid */
id: string;
};
};
};
responses: {
/** @description OK */
200: {
content: {
"application/json": components["schemas"]["Episode"];
};
};
/** @description Bad Request */
400: never;
/** @description Unauthorized */
401: never;
/** @description Forbidden */
403: never;
/** @description Not Found */
404: never;
/** @description Internal Server Error */
500: never;
};
};
"delete-profile-episode": {
/** Delete Episode */
requestBody?: {
content: {
"application/json": {
seasonId: string;
/** Format: uuid */
id: string;
};
};
};
responses: {
/** @description No Content */
204: never;
/** @description Bad Request */
400: never;
/** @description Unauthorized */
401: never;
/** @description Forbidden */
403: never;
/** @description Not Found */
404: never;
/** @description Internal Server Error */
500: never;
};
};
"patch-profile-episode": {
/** Patch Episode */
requestBody?: {
content: {
"application/json": {
/** Format: uuid */
seasonId: string;
/** Format: uuid */
id: string;
index?: number;
name?: string;
};
};
};
responses: {
/** @description No Content */
204: never;
/** @description Bad Request */
400: never;
/** @description Unauthorized */
401: never;
/** @description Forbidden */
403: never;
/** @description Not Found */
404: never;
/** @description Internal Server Error */
500: never;
};
};
"put-profile-source": {
/** Create Source */
requestBody?: {
content: {
"application/json": {
/** Format: uuid */
seasonId: string;
/** Format: uuid */
episodeId: string;
language: components["schemas"]["Language"];
name?: string;
/** Format: uri */
url?: string;
/** Format: uuid */
key?: string;
subtitles?: components["schemas"]["Language"];
};
};
};
responses: {
/** @description OK */
200: {
content: {
"application/json": components["schemas"]["Source"];
};
};
/** @description Bad Request */
400: never;
/** @description Unauthorized */
401: never;
/** @description Forbidden */
403: never;
/** @description Not Found */
404: never;
/** @description Internal Server Error */
500: never;
};
};
"post-profile-source": {
/** Get Source */
requestBody?: {
content: {
"application/json": {
/** Format: uuid */
id: string;
};
};
};
responses: {
/** @description OK */
200: {
content: {
"application/json": {
/** Format: uri */
url: string;
};
};
};
/** @description Bad Request */
400: never;
/** @description Unauthorized */
401: never;
/** @description Forbidden */
403: never;
/** @description Not Found */
404: never;
/** @description Internal Server Error */
500: never;
};
};
"delete-profile-source": {
/** Delete Source */
requestBody?: {
content: {
"application/json": {
/** Format: uuid */
seasonId: string;
/** Format: uuid */
episodeId: string;
/** Format: uuid */
id: string;
};
};
};
responses: {
/** @description No Content */
204: never;
/** @description Bad Request */
400: never;
/** @description Unauthorized */
401: never;
/** @description Forbidden */
403: never;
/** @description Not Found */
404: never;
/** @description Internal Server Error */
500: never;
};
};
"patch-profile-source": {
/** Patch Source */
requestBody?: {
content: {
"application/json": {
/** Format: uuid */
seasonId: string;
/** Format: uuid */
episodeId: string;
/** Format: uuid */
id: string;
language?: components["schemas"]["Language"];
name?: string;
/** Format: uri */
url?: string;
/** Format: uuid */
key?: string;
subtitles?: components["schemas"]["Language"];
};
};
};
responses: {
/** @description No Content */
204: never;
/** @description Bad Request */
400: never;
/** @description Unauthorized */
401: never;
/** @description Forbidden */
403: never;
/** @description Not Found */
404: never;
/** @description Internal Server Error */
500: never;
};
};
"get-csrf-token": {

@@ -1258,0 +597,0 @@ /**

@@ -19,10 +19,4 @@ import type { components as _components, external as _external, operations as _operations, paths as _paths } from "../reference/moos-api-v1";

export type File = _components["schemas"]["File"];
export type CollectionPreview = _components["schemas"]["CollectionPreview"];
export type Collection = _components["schemas"]["Collection"];
export type Season = _components["schemas"]["Season"];
export type Language = _components["schemas"]["Language"];
export type Episode = _components["schemas"]["Episode"];
export type Source = _components["schemas"]["Source"];
}
export type { moos_api_v1 };

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc