Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@uniformdev/redirect

Package Overview
Dependencies
Maintainers
0
Versions
464
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uniformdev/redirect - npm Package Compare versions

Comparing version 19.195.0 to 19.195.1-alpha.2

254

dist/index.d.ts

@@ -40,41 +40,50 @@ import { ClientOptions, ApiClient } from '@uniformdev/context/api';

/**
* This file was auto-generated by openapi-typescript.
* Do not make direct changes to the file.
*/
interface paths {
"/api/v1/redirect": {
/** Called to retrieve a list of redirects related to a project */
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/** @description Called to retrieve a list of redirects related to a project */
get: {
parameters: {
query: {
/** The project to fetch redirects for */
/** @description The project to fetch redirects for */
projectId: string;
/** Id of the redirect to retrieve */
/** @description Id of the redirect to retrieve */
id?: string;
/** Ids of the redirects to retrieve */
/** @description Ids of the redirects to retrieve */
ids?: string[];
/** Source url to attempt to find redirects for */
/** @description Source url to attempt to find redirects for */
sourceUrl?: string;
/** Find redirects that could redirect to this url */
/** @description Find redirects that could redirect to this url */
targetUrl?: string;
/** Id of the project map the source or target belongs to */
/** @description Id of the project map the source or target belongs to */
projectMapId?: string;
/** Id of the project map node to find redirects for */
/** @description Id of the project map node to find redirects for */
sourceProjectMapNodeId?: string;
/** Id of the project map node to find redirects for */
/** @description Id of the project map node to find redirects for */
targetProjectMapNodeId?: string;
/** Column to order results by, only applicable if trie is not active */
/** @description Column to order results by, only applicable if trie is not active */
orderBy?: "updated_at asc" | "updated_at desc" | "source_url asc" | "source_url desc" | "target_url asc" | "target_url desc" | "created_by asc" | "created_by desc";
/** Limit the results to this number of results, ignored if using trie parameter */
/** @description Limit the results to this number of results, ignored if using trie parameter */
limit?: number;
/** Offset the results a certain amount, useful for pagination */
/** @description Offset the results a certain amount, useful for pagination */
offset?: number;
/** Search text to filter redirects by, filtering on the source and target urls */
/** @description Search text to filter redirects by, filtering on the source and target urls */
search?: string;
};
header?: never;
path?: never;
cookie?: never;
};
requestBody?: never;
responses: {
/** OK */
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {

@@ -87,30 +96,15 @@ "application/json": {

};
400: external["swagger.yml"]["components"]["responses"]["BadRequestError"];
401: external["swagger.yml"]["components"]["responses"]["UnauthorizedError"];
403: external["swagger.yml"]["components"]["responses"]["ForbiddenError"];
429: external["swagger.yml"]["components"]["responses"]["RateLimitError"];
500: external["swagger.yml"]["components"]["responses"]["InternalServerError"];
400: components["responses"]["BadRequestError"];
401: components["responses"]["UnauthorizedError"];
403: components["responses"]["ForbiddenError"];
429: components["responses"]["RateLimitError"];
500: components["responses"]["InternalServerError"];
};
};
put: {
responses: {
/** OK */
200: {
content: {
"application/json": {
/**
* Format: uuid
* @description Id of the redirect
*/
id: string;
};
};
};
/** OK */
204: never;
400: external["swagger.yml"]["components"]["responses"]["BadRequestError"];
401: external["swagger.yml"]["components"]["responses"]["UnauthorizedError"];
403: external["swagger.yml"]["components"]["responses"]["ForbiddenError"];
429: external["swagger.yml"]["components"]["responses"]["RateLimitError"];
500: external["swagger.yml"]["components"]["responses"]["InternalServerError"];
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};

@@ -130,8 +124,8 @@ requestBody: {

};
};
/** Called to delete a redirect */
delete: {
responses: {
/** OK */
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {

@@ -147,10 +141,25 @@ "application/json": {

};
/** OK */
204: never;
400: external["swagger.yml"]["components"]["responses"]["BadRequestError"];
401: external["swagger.yml"]["components"]["responses"]["UnauthorizedError"];
403: external["swagger.yml"]["components"]["responses"]["ForbiddenError"];
429: external["swagger.yml"]["components"]["responses"]["RateLimitError"];
500: external["swagger.yml"]["components"]["responses"]["InternalServerError"];
/** @description OK */
204: {
headers: {
[name: string]: unknown;
};
content?: never;
};
400: components["responses"]["BadRequestError"];
401: components["responses"]["UnauthorizedError"];
403: components["responses"]["ForbiddenError"];
429: components["responses"]["RateLimitError"];
500: components["responses"]["InternalServerError"];
};
};
post?: never;
/** @description Called to delete a redirect */
delete: {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
requestBody: {

@@ -172,10 +181,54 @@ content: {

};
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
/**
* Format: uuid
* @description Id of the redirect
*/
id: string;
};
};
};
/** @description OK */
204: {
headers: {
[name: string]: unknown;
};
content?: never;
};
400: components["responses"]["BadRequestError"];
401: components["responses"]["UnauthorizedError"];
403: components["responses"]["ForbiddenError"];
429: components["responses"]["RateLimitError"];
500: components["responses"]["InternalServerError"];
};
};
/** Handles preflight requests. This endpoint allows CORS */
/** @description Handles preflight requests. This endpoint allows CORS */
options: {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
requestBody?: never;
responses: {
/** OK */
204: never;
/** @description OK */
204: {
headers: {
[name: string]: unknown;
};
content?: never;
};
};
};
head?: never;
patch?: never;
trace?: never;
};

@@ -241,47 +294,54 @@ }

};
Error: {
/** @description Error message(s) that occurred while processing the request */
errorMessage?: string[] | string;
};
};
}
interface external {
"swagger.yml": {
paths: {};
components: {
schemas: {
Error: {
/** @description Error message(s) that occurred while processing the request */
errorMessage?: string[] | string;
};
responses: {
/** @description Request input validation failed */
BadRequestError: {
headers: {
[name: string]: unknown;
};
responses: {
/** Request input validation failed */
BadRequestError: {
content: {
"application/json": external["swagger.yml"]["components"]["schemas"]["Error"];
};
};
/** API key or token was not valid */
UnauthorizedError: {
content: {
"application/json": external["swagger.yml"]["components"]["schemas"]["Error"];
};
};
/** Permission was denied */
ForbiddenError: {
content: {
"application/json": external["swagger.yml"]["components"]["schemas"]["Error"];
};
};
/** Resource not found */
NotFoundError: {
content: {
"application/json": external["swagger.yml"]["components"]["schemas"]["Error"];
};
};
/** Too many requests in allowed time period */
RateLimitError: unknown;
/** Execution error occurred */
InternalServerError: unknown;
content: {
"application/json": components["schemas"]["Error"];
};
};
operations: {};
/** @description API key or token was not valid */
UnauthorizedError: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Permission was denied */
ForbiddenError: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["Error"];
};
};
/** @description Too many requests in allowed time period */
RateLimitError: {
headers: {
[name: string]: unknown;
};
content?: never;
};
/** @description Execution error occurred */
InternalServerError: {
headers: {
[name: string]: unknown;
};
content?: never;
};
};
parameters: never;
requestBodies: never;
headers: never;
pathItems: never;
}

@@ -288,0 +348,0 @@

{
"name": "@uniformdev/redirect",
"version": "19.195.0",
"version": "19.195.1-alpha.2+f70c499178",
"description": "Uniform redirect client",

@@ -36,3 +36,3 @@ "license": "SEE LICENSE IN LICENSE.txt",

"dependencies": {
"@uniformdev/context": "19.195.0",
"@uniformdev/context": "19.195.1-alpha.2+f70c499178",
"p-limit": "^3.1.0",

@@ -44,3 +44,3 @@ "rfdc": "^1.3.0"

},
"gitHead": "aba354b131330cc171914ce87aa48d4b10df7192"
"gitHead": "f70c49917880b1aba91884760926f6ea66700a97"
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc