@uniformdev/redirect 19.195.0 → 19.195.1-alpha.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -37,45 +37,54 @@ declare class TrieData<T> {
37
37
  [key: string]: TrieData<T> | T;
38
38
  }
39
39
 
40
- /**
41
- * This file was auto-generated by openapi-typescript.
42
- * Do not make direct changes to the file.
43
- */
44
40
  interface paths {
45
41
  "/api/v1/redirect": {
46
- /** Called to retrieve a list of redirects related to a project */
42
+ parameters: {
43
+ query?: never;
44
+ header?: never;
45
+ path?: never;
46
+ cookie?: never;
47
+ };
48
+ /** @description Called to retrieve a list of redirects related to a project */
47
49
  get: {
48
50
  parameters: {
49
51
  query: {
50
- /** The project to fetch redirects for */
52
+ /** @description The project to fetch redirects for */
51
53
  projectId: string;
52
- /** Id of the redirect to retrieve */
54
+ /** @description Id of the redirect to retrieve */
53
55
  id?: string;
54
- /** Ids of the redirects to retrieve */
56
+ /** @description Ids of the redirects to retrieve */
55
57
  ids?: string[];
56
- /** Source url to attempt to find redirects for */
58
+ /** @description Source url to attempt to find redirects for */
57
59
  sourceUrl?: string;
58
- /** Find redirects that could redirect to this url */
60
+ /** @description Find redirects that could redirect to this url */
59
61
  targetUrl?: string;
60
- /** Id of the project map the source or target belongs to */
62
+ /** @description Id of the project map the source or target belongs to */
61
63
  projectMapId?: string;
62
- /** Id of the project map node to find redirects for */
64
+ /** @description Id of the project map node to find redirects for */
63
65
  sourceProjectMapNodeId?: string;
64
- /** Id of the project map node to find redirects for */
66
+ /** @description Id of the project map node to find redirects for */
65
67
  targetProjectMapNodeId?: string;
66
- /** Column to order results by, only applicable if trie is not active */
68
+ /** @description Column to order results by, only applicable if trie is not active */
67
69
  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";
68
- /** Limit the results to this number of results, ignored if using trie parameter */
70
+ /** @description Limit the results to this number of results, ignored if using trie parameter */
69
71
  limit?: number;
70
- /** Offset the results a certain amount, useful for pagination */
72
+ /** @description Offset the results a certain amount, useful for pagination */
71
73
  offset?: number;
72
- /** Search text to filter redirects by, filtering on the source and target urls */
74
+ /** @description Search text to filter redirects by, filtering on the source and target urls */
73
75
  search?: string;
74
76
  };
77
+ header?: never;
78
+ path?: never;
79
+ cookie?: never;
75
80
  };
81
+ requestBody?: never;
76
82
  responses: {
77
- /** OK */
83
+ /** @description OK */
78
84
  200: {
85
+ headers: {
86
+ [name: string]: unknown;
87
+ };
79
88
  content: {
80
89
  "application/json": {
81
90
  redirects: components["schemas"]["RedirectGetResponse"];
@@ -83,34 +92,19 @@ interface paths {
83
92
  };
84
93
  };
85
94
  };
86
- 400: external["swagger.yml"]["components"]["responses"]["BadRequestError"];
87
- 401: external["swagger.yml"]["components"]["responses"]["UnauthorizedError"];
88
- 403: external["swagger.yml"]["components"]["responses"]["ForbiddenError"];
89
- 429: external["swagger.yml"]["components"]["responses"]["RateLimitError"];
90
- 500: external["swagger.yml"]["components"]["responses"]["InternalServerError"];
95
+ 400: components["responses"]["BadRequestError"];
96
+ 401: components["responses"]["UnauthorizedError"];
97
+ 403: components["responses"]["ForbiddenError"];
98
+ 429: components["responses"]["RateLimitError"];
99
+ 500: components["responses"]["InternalServerError"];
91
100
  };
92
101
  };
93
102
  put: {
94
- responses: {
95
- /** OK */
96
- 200: {
97
- content: {
98
- "application/json": {
99
- /**
100
- * Format: uuid
101
- * @description Id of the redirect
102
- */
103
- id: string;
104
- };
105
- };
106
- };
107
- /** OK */
108
- 204: never;
109
- 400: external["swagger.yml"]["components"]["responses"]["BadRequestError"];
110
- 401: external["swagger.yml"]["components"]["responses"]["UnauthorizedError"];
111
- 403: external["swagger.yml"]["components"]["responses"]["ForbiddenError"];
112
- 429: external["swagger.yml"]["components"]["responses"]["RateLimitError"];
113
- 500: external["swagger.yml"]["components"]["responses"]["InternalServerError"];
103
+ parameters: {
104
+ query?: never;
105
+ header?: never;
106
+ path?: never;
107
+ cookie?: never;
114
108
  };
115
109
  requestBody: {
116
110
  content: {
@@ -125,12 +119,12 @@ interface paths {
125
119
  };
126
120
  };
127
121
  };
128
- };
129
- /** Called to delete a redirect */
130
- delete: {
131
122
  responses: {
132
- /** OK */
123
+ /** @description OK */
133
124
  200: {
125
+ headers: {
126
+ [name: string]: unknown;
127
+ };
134
128
  content: {
135
129
  "application/json": {
136
130
  /**
@@ -141,13 +135,28 @@ interface paths {
141
135
  };
142
136
  };
143
137
  };
144
- /** OK */
145
- 204: never;
146
- 400: external["swagger.yml"]["components"]["responses"]["BadRequestError"];
147
- 401: external["swagger.yml"]["components"]["responses"]["UnauthorizedError"];
148
- 403: external["swagger.yml"]["components"]["responses"]["ForbiddenError"];
149
- 429: external["swagger.yml"]["components"]["responses"]["RateLimitError"];
150
- 500: external["swagger.yml"]["components"]["responses"]["InternalServerError"];
138
+ /** @description OK */
139
+ 204: {
140
+ headers: {
141
+ [name: string]: unknown;
142
+ };
143
+ content?: never;
144
+ };
145
+ 400: components["responses"]["BadRequestError"];
146
+ 401: components["responses"]["UnauthorizedError"];
147
+ 403: components["responses"]["ForbiddenError"];
148
+ 429: components["responses"]["RateLimitError"];
149
+ 500: components["responses"]["InternalServerError"];
150
+ };
151
+ };
152
+ post?: never;
153
+ /** @description Called to delete a redirect */
154
+ delete: {
155
+ parameters: {
156
+ query?: never;
157
+ header?: never;
158
+ path?: never;
159
+ cookie?: never;
151
160
  };
152
161
  requestBody: {
153
162
  content: {
@@ -165,14 +174,58 @@ interface paths {
165
174
  };
166
175
  };
167
176
  };
177
+ responses: {
178
+ /** @description OK */
179
+ 200: {
180
+ headers: {
181
+ [name: string]: unknown;
182
+ };
183
+ content: {
184
+ "application/json": {
185
+ /**
186
+ * Format: uuid
187
+ * @description Id of the redirect
188
+ */
189
+ id: string;
190
+ };
191
+ };
192
+ };
193
+ /** @description OK */
194
+ 204: {
195
+ headers: {
196
+ [name: string]: unknown;
197
+ };
198
+ content?: never;
199
+ };
200
+ 400: components["responses"]["BadRequestError"];
201
+ 401: components["responses"]["UnauthorizedError"];
202
+ 403: components["responses"]["ForbiddenError"];
203
+ 429: components["responses"]["RateLimitError"];
204
+ 500: components["responses"]["InternalServerError"];
205
+ };
168
206
  };
169
- /** Handles preflight requests. This endpoint allows CORS */
207
+ /** @description Handles preflight requests. This endpoint allows CORS */
170
208
  options: {
209
+ parameters: {
210
+ query?: never;
211
+ header?: never;
212
+ path?: never;
213
+ cookie?: never;
214
+ };
215
+ requestBody?: never;
171
216
  responses: {
172
- /** OK */
173
- 204: never;
217
+ /** @description OK */
218
+ 204: {
219
+ headers: {
220
+ [name: string]: unknown;
221
+ };
222
+ content?: never;
223
+ };
174
224
  };
175
225
  };
226
+ head?: never;
227
+ patch?: never;
228
+ trace?: never;
176
229
  };
177
230
  }
178
231
  interface components {
@@ -233,51 +286,58 @@ interface components {
233
286
  /** @description Label as system generated or user generated */
234
287
  labelAsSystem?: boolean;
235
288
  };
289
+ Error: {
290
+ /** @description Error message(s) that occurred while processing the request */
291
+ errorMessage?: string[] | string;
292
+ };
236
293
  };
237
- }
238
- interface external {
239
- "swagger.yml": {
240
- paths: {};
241
- components: {
242
- schemas: {
243
- Error: {
244
- /** @description Error message(s) that occurred while processing the request */
245
- errorMessage?: string[] | string;
246
- };
294
+ responses: {
295
+ /** @description Request input validation failed */
296
+ BadRequestError: {
297
+ headers: {
298
+ [name: string]: unknown;
247
299
  };
248
- responses: {
249
- /** Request input validation failed */
250
- BadRequestError: {
251
- content: {
252
- "application/json": external["swagger.yml"]["components"]["schemas"]["Error"];
253
- };
254
- };
255
- /** API key or token was not valid */
256
- UnauthorizedError: {
257
- content: {
258
- "application/json": external["swagger.yml"]["components"]["schemas"]["Error"];
259
- };
260
- };
261
- /** Permission was denied */
262
- ForbiddenError: {
263
- content: {
264
- "application/json": external["swagger.yml"]["components"]["schemas"]["Error"];
265
- };
266
- };
267
- /** Resource not found */
268
- NotFoundError: {
269
- content: {
270
- "application/json": external["swagger.yml"]["components"]["schemas"]["Error"];
271
- };
272
- };
273
- /** Too many requests in allowed time period */
274
- RateLimitError: unknown;
275
- /** Execution error occurred */
276
- InternalServerError: unknown;
300
+ content: {
301
+ "application/json": components["schemas"]["Error"];
302
+ };
303
+ };
304
+ /** @description API key or token was not valid */
305
+ UnauthorizedError: {
306
+ headers: {
307
+ [name: string]: unknown;
308
+ };
309
+ content: {
310
+ "application/json": components["schemas"]["Error"];
311
+ };
312
+ };
313
+ /** @description Permission was denied */
314
+ ForbiddenError: {
315
+ headers: {
316
+ [name: string]: unknown;
317
+ };
318
+ content: {
319
+ "application/json": components["schemas"]["Error"];
320
+ };
321
+ };
322
+ /** @description Too many requests in allowed time period */
323
+ RateLimitError: {
324
+ headers: {
325
+ [name: string]: unknown;
326
+ };
327
+ content?: never;
328
+ };
329
+ /** @description Execution error occurred */
330
+ InternalServerError: {
331
+ headers: {
332
+ [name: string]: unknown;
277
333
  };
334
+ content?: never;
278
335
  };
279
- operations: {};
280
336
  };
337
+ parameters: never;
338
+ requestBodies: never;
339
+ headers: never;
340
+ pathItems: never;
281
341
  }
282
342
 
283
343
  type RedirectClientCacheOptions = {
package/dist/index.d.ts CHANGED
@@ -37,45 +37,54 @@ declare class TrieData<T> {
37
37
  [key: string]: TrieData<T> | T;
38
38
  }
39
39
 
40
- /**
41
- * This file was auto-generated by openapi-typescript.
42
- * Do not make direct changes to the file.
43
- */
44
40
  interface paths {
45
41
  "/api/v1/redirect": {
46
- /** Called to retrieve a list of redirects related to a project */
42
+ parameters: {
43
+ query?: never;
44
+ header?: never;
45
+ path?: never;
46
+ cookie?: never;
47
+ };
48
+ /** @description Called to retrieve a list of redirects related to a project */
47
49
  get: {
48
50
  parameters: {
49
51
  query: {
50
- /** The project to fetch redirects for */
52
+ /** @description The project to fetch redirects for */
51
53
  projectId: string;
52
- /** Id of the redirect to retrieve */
54
+ /** @description Id of the redirect to retrieve */
53
55
  id?: string;
54
- /** Ids of the redirects to retrieve */
56
+ /** @description Ids of the redirects to retrieve */
55
57
  ids?: string[];
56
- /** Source url to attempt to find redirects for */
58
+ /** @description Source url to attempt to find redirects for */
57
59
  sourceUrl?: string;
58
- /** Find redirects that could redirect to this url */
60
+ /** @description Find redirects that could redirect to this url */
59
61
  targetUrl?: string;
60
- /** Id of the project map the source or target belongs to */
62
+ /** @description Id of the project map the source or target belongs to */
61
63
  projectMapId?: string;
62
- /** Id of the project map node to find redirects for */
64
+ /** @description Id of the project map node to find redirects for */
63
65
  sourceProjectMapNodeId?: string;
64
- /** Id of the project map node to find redirects for */
66
+ /** @description Id of the project map node to find redirects for */
65
67
  targetProjectMapNodeId?: string;
66
- /** Column to order results by, only applicable if trie is not active */
68
+ /** @description Column to order results by, only applicable if trie is not active */
67
69
  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";
68
- /** Limit the results to this number of results, ignored if using trie parameter */
70
+ /** @description Limit the results to this number of results, ignored if using trie parameter */
69
71
  limit?: number;
70
- /** Offset the results a certain amount, useful for pagination */
72
+ /** @description Offset the results a certain amount, useful for pagination */
71
73
  offset?: number;
72
- /** Search text to filter redirects by, filtering on the source and target urls */
74
+ /** @description Search text to filter redirects by, filtering on the source and target urls */
73
75
  search?: string;
74
76
  };
77
+ header?: never;
78
+ path?: never;
79
+ cookie?: never;
75
80
  };
81
+ requestBody?: never;
76
82
  responses: {
77
- /** OK */
83
+ /** @description OK */
78
84
  200: {
85
+ headers: {
86
+ [name: string]: unknown;
87
+ };
79
88
  content: {
80
89
  "application/json": {
81
90
  redirects: components["schemas"]["RedirectGetResponse"];
@@ -83,34 +92,19 @@ interface paths {
83
92
  };
84
93
  };
85
94
  };
86
- 400: external["swagger.yml"]["components"]["responses"]["BadRequestError"];
87
- 401: external["swagger.yml"]["components"]["responses"]["UnauthorizedError"];
88
- 403: external["swagger.yml"]["components"]["responses"]["ForbiddenError"];
89
- 429: external["swagger.yml"]["components"]["responses"]["RateLimitError"];
90
- 500: external["swagger.yml"]["components"]["responses"]["InternalServerError"];
95
+ 400: components["responses"]["BadRequestError"];
96
+ 401: components["responses"]["UnauthorizedError"];
97
+ 403: components["responses"]["ForbiddenError"];
98
+ 429: components["responses"]["RateLimitError"];
99
+ 500: components["responses"]["InternalServerError"];
91
100
  };
92
101
  };
93
102
  put: {
94
- responses: {
95
- /** OK */
96
- 200: {
97
- content: {
98
- "application/json": {
99
- /**
100
- * Format: uuid
101
- * @description Id of the redirect
102
- */
103
- id: string;
104
- };
105
- };
106
- };
107
- /** OK */
108
- 204: never;
109
- 400: external["swagger.yml"]["components"]["responses"]["BadRequestError"];
110
- 401: external["swagger.yml"]["components"]["responses"]["UnauthorizedError"];
111
- 403: external["swagger.yml"]["components"]["responses"]["ForbiddenError"];
112
- 429: external["swagger.yml"]["components"]["responses"]["RateLimitError"];
113
- 500: external["swagger.yml"]["components"]["responses"]["InternalServerError"];
103
+ parameters: {
104
+ query?: never;
105
+ header?: never;
106
+ path?: never;
107
+ cookie?: never;
114
108
  };
115
109
  requestBody: {
116
110
  content: {
@@ -125,12 +119,12 @@ interface paths {
125
119
  };
126
120
  };
127
121
  };
128
- };
129
- /** Called to delete a redirect */
130
- delete: {
131
122
  responses: {
132
- /** OK */
123
+ /** @description OK */
133
124
  200: {
125
+ headers: {
126
+ [name: string]: unknown;
127
+ };
134
128
  content: {
135
129
  "application/json": {
136
130
  /**
@@ -141,13 +135,28 @@ interface paths {
141
135
  };
142
136
  };
143
137
  };
144
- /** OK */
145
- 204: never;
146
- 400: external["swagger.yml"]["components"]["responses"]["BadRequestError"];
147
- 401: external["swagger.yml"]["components"]["responses"]["UnauthorizedError"];
148
- 403: external["swagger.yml"]["components"]["responses"]["ForbiddenError"];
149
- 429: external["swagger.yml"]["components"]["responses"]["RateLimitError"];
150
- 500: external["swagger.yml"]["components"]["responses"]["InternalServerError"];
138
+ /** @description OK */
139
+ 204: {
140
+ headers: {
141
+ [name: string]: unknown;
142
+ };
143
+ content?: never;
144
+ };
145
+ 400: components["responses"]["BadRequestError"];
146
+ 401: components["responses"]["UnauthorizedError"];
147
+ 403: components["responses"]["ForbiddenError"];
148
+ 429: components["responses"]["RateLimitError"];
149
+ 500: components["responses"]["InternalServerError"];
150
+ };
151
+ };
152
+ post?: never;
153
+ /** @description Called to delete a redirect */
154
+ delete: {
155
+ parameters: {
156
+ query?: never;
157
+ header?: never;
158
+ path?: never;
159
+ cookie?: never;
151
160
  };
152
161
  requestBody: {
153
162
  content: {
@@ -165,14 +174,58 @@ interface paths {
165
174
  };
166
175
  };
167
176
  };
177
+ responses: {
178
+ /** @description OK */
179
+ 200: {
180
+ headers: {
181
+ [name: string]: unknown;
182
+ };
183
+ content: {
184
+ "application/json": {
185
+ /**
186
+ * Format: uuid
187
+ * @description Id of the redirect
188
+ */
189
+ id: string;
190
+ };
191
+ };
192
+ };
193
+ /** @description OK */
194
+ 204: {
195
+ headers: {
196
+ [name: string]: unknown;
197
+ };
198
+ content?: never;
199
+ };
200
+ 400: components["responses"]["BadRequestError"];
201
+ 401: components["responses"]["UnauthorizedError"];
202
+ 403: components["responses"]["ForbiddenError"];
203
+ 429: components["responses"]["RateLimitError"];
204
+ 500: components["responses"]["InternalServerError"];
205
+ };
168
206
  };
169
- /** Handles preflight requests. This endpoint allows CORS */
207
+ /** @description Handles preflight requests. This endpoint allows CORS */
170
208
  options: {
209
+ parameters: {
210
+ query?: never;
211
+ header?: never;
212
+ path?: never;
213
+ cookie?: never;
214
+ };
215
+ requestBody?: never;
171
216
  responses: {
172
- /** OK */
173
- 204: never;
217
+ /** @description OK */
218
+ 204: {
219
+ headers: {
220
+ [name: string]: unknown;
221
+ };
222
+ content?: never;
223
+ };
174
224
  };
175
225
  };
226
+ head?: never;
227
+ patch?: never;
228
+ trace?: never;
176
229
  };
177
230
  }
178
231
  interface components {
@@ -233,51 +286,58 @@ interface components {
233
286
  /** @description Label as system generated or user generated */
234
287
  labelAsSystem?: boolean;
235
288
  };
289
+ Error: {
290
+ /** @description Error message(s) that occurred while processing the request */
291
+ errorMessage?: string[] | string;
292
+ };
236
293
  };
237
- }
238
- interface external {
239
- "swagger.yml": {
240
- paths: {};
241
- components: {
242
- schemas: {
243
- Error: {
244
- /** @description Error message(s) that occurred while processing the request */
245
- errorMessage?: string[] | string;
246
- };
294
+ responses: {
295
+ /** @description Request input validation failed */
296
+ BadRequestError: {
297
+ headers: {
298
+ [name: string]: unknown;
247
299
  };
248
- responses: {
249
- /** Request input validation failed */
250
- BadRequestError: {
251
- content: {
252
- "application/json": external["swagger.yml"]["components"]["schemas"]["Error"];
253
- };
254
- };
255
- /** API key or token was not valid */
256
- UnauthorizedError: {
257
- content: {
258
- "application/json": external["swagger.yml"]["components"]["schemas"]["Error"];
259
- };
260
- };
261
- /** Permission was denied */
262
- ForbiddenError: {
263
- content: {
264
- "application/json": external["swagger.yml"]["components"]["schemas"]["Error"];
265
- };
266
- };
267
- /** Resource not found */
268
- NotFoundError: {
269
- content: {
270
- "application/json": external["swagger.yml"]["components"]["schemas"]["Error"];
271
- };
272
- };
273
- /** Too many requests in allowed time period */
274
- RateLimitError: unknown;
275
- /** Execution error occurred */
276
- InternalServerError: unknown;
300
+ content: {
301
+ "application/json": components["schemas"]["Error"];
302
+ };
303
+ };
304
+ /** @description API key or token was not valid */
305
+ UnauthorizedError: {
306
+ headers: {
307
+ [name: string]: unknown;
308
+ };
309
+ content: {
310
+ "application/json": components["schemas"]["Error"];
311
+ };
312
+ };
313
+ /** @description Permission was denied */
314
+ ForbiddenError: {
315
+ headers: {
316
+ [name: string]: unknown;
317
+ };
318
+ content: {
319
+ "application/json": components["schemas"]["Error"];
320
+ };
321
+ };
322
+ /** @description Too many requests in allowed time period */
323
+ RateLimitError: {
324
+ headers: {
325
+ [name: string]: unknown;
326
+ };
327
+ content?: never;
328
+ };
329
+ /** @description Execution error occurred */
330
+ InternalServerError: {
331
+ headers: {
332
+ [name: string]: unknown;
277
333
  };
334
+ content?: never;
278
335
  };
279
- operations: {};
280
336
  };
337
+ parameters: never;
338
+ requestBodies: never;
339
+ headers: never;
340
+ pathItems: never;
281
341
  }
282
342
 
283
343
  type RedirectClientCacheOptions = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/redirect",
3
- "version": "19.195.0",
3
+ "version": "19.195.1-alpha.3+0a17ec705c",
4
4
  "description": "Uniform redirect client",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -33,12 +33,12 @@
33
33
  "/dist"
34
34
  ],
35
35
  "dependencies": {
36
- "@uniformdev/context": "19.195.0",
36
+ "@uniformdev/context": "19.195.1-alpha.3+0a17ec705c",
37
37
  "p-limit": "^3.1.0",
38
38
  "rfdc": "^1.3.0"
39
39
  },
40
40
  "publishConfig": {
41
41
  "access": "public"
42
42
  },
43
- "gitHead": "aba354b131330cc171914ce87aa48d4b10df7192"
43
+ "gitHead": "0a17ec705cf1f0ecd6a944fd1606a857c491579b"
44
44
  }