@middlewr/contracts 0.0.34 → 0.0.36
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/cjs/index.d.ts +681 -103
- package/dist/cjs/index.d.ts.map +1 -1
- package/dist/cjs/index.js +4 -1
- package/dist/cjs/links.schema.d.ts +2 -0
- package/dist/cjs/links.schema.d.ts.map +1 -1
- package/dist/esm/index.d.ts +681 -103
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +4 -1
- package/dist/esm/links.schema.d.ts +2 -0
- package/dist/esm/links.schema.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +15 -5
- package/src/links.schema.ts +1 -0
package/dist/esm/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAsDxB,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAE9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AAGpC,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAU7B,CAAC;AAGF,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAYzB,CAAC;AAGF,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAWpB,CAAC;AAEF,MAAM,MAAM,QAAQ,GAAG,OAAO,QAAQ,CAAC;AACvC,MAAM,MAAM,MAAM,GAAG,oBAAoB,CAAC,QAAQ,CAAC,CAAC"}
|
package/dist/esm/index.js
CHANGED
|
@@ -335,6 +335,7 @@ var LinkSchema = z8.object({
|
|
|
335
335
|
created_at: z8.coerce.date(),
|
|
336
336
|
updated_at: z8.coerce.date().nullable(),
|
|
337
337
|
qr_code_settings: QrCodeSettingsSchema.nullable(),
|
|
338
|
+
qr_logo_key: z8.string().nullable(),
|
|
338
339
|
link_type: z8.enum(["redirect", "rules"]).default("redirect"),
|
|
339
340
|
rule_graph: RuleGraphSchema.optional(),
|
|
340
341
|
tags: z8.array(TagSchema)
|
|
@@ -562,12 +563,14 @@ var invitationsContract = {
|
|
|
562
563
|
var linksContract = {
|
|
563
564
|
create: oc.route({ method: "POST", path: "/api/workspaces/{workspace_id}/links" }).input(WorkspaceIdParamSchema.merge(CreateLinkInputSchema)).output(LinkSchema),
|
|
564
565
|
list: oc.route({ method: "GET", path: "/api/workspaces/{workspace_id}/links" }).input(WorkspaceIdParamSchema.merge(LinkFiltersSchema)).output(PaginatedLinksSchema),
|
|
566
|
+
exportCsv: oc.route({ method: "GET", path: "/api/workspaces/{workspace_id}/links/export" }).input(WorkspaceIdParamSchema.merge(ExportLinksFiltersSchema)).output(z11.instanceof(File)),
|
|
565
567
|
get: oc.route({ method: "GET", path: "/api/workspaces/{workspace_id}/links/{link_id}" }).input(LinkIdParamSchema).output(LinkSchema),
|
|
566
568
|
update: oc.route({ method: "PATCH", path: "/api/workspaces/{workspace_id}/links/{link_id}" }).input(LinkIdParamSchema.merge(UpdateLinkInputSchema)).output(LinkSchema),
|
|
567
569
|
delete: oc.route({ method: "DELETE", path: "/api/workspaces/{workspace_id}/links/{link_id}" }).input(LinkIdParamSchema).output(z11.void()),
|
|
568
|
-
exportCsv: oc.route({ method: "GET", path: "/api/workspaces/{workspace_id}/links/export" }).input(WorkspaceIdParamSchema.merge(ExportLinksFiltersSchema)).output(z11.instanceof(File)),
|
|
569
570
|
edgeSync: oc.route({ method: "POST", path: "/api/workspaces/{workspace_id}/links/{link_id}/edge/sync" }).input(LinkIdParamSchema).output(z11.void()),
|
|
570
571
|
edgeStatus: oc.route({ method: "GET", path: "/api/workspaces/{workspace_id}/links/{link_id}/edge/status" }).input(LinkIdParamSchema).output(z11.object({ synced: z11.boolean() })),
|
|
572
|
+
uploadLogo: oc.route({ method: "POST", path: "/api/workspaces/{workspace_id}/links/{link_id}/logo" }).input(LinkIdParamSchema.merge(z11.object({ file: z11.file().mime(["image/png", "image/jpeg", "image/svg+xml", "image/webp"]) }))).output(LinkSchema),
|
|
573
|
+
deleteLogo: oc.route({ method: "DELETE", path: "/api/workspaces/{workspace_id}/links/{link_id}/logo" }).input(LinkIdParamSchema).output(LinkSchema),
|
|
571
574
|
getJob: oc.route({ method: "GET", path: "/api/workspaces/{workspace_id}/jobs/{job_id}" }).input(LinkJobIdParamSchema).output(LinkJobSchema),
|
|
572
575
|
jobResults: oc.route({ method: "GET", path: "/api/workspaces/{workspace_id}/jobs/{job_id}/results" }).input(LinkJobIdParamSchema).output(z11.object({ url: z11.string() }))
|
|
573
576
|
};
|
|
@@ -73,6 +73,7 @@ export declare const LinkSchema: z.ZodObject<{
|
|
|
73
73
|
frame_color: z.ZodString;
|
|
74
74
|
frame_text_color: z.ZodString;
|
|
75
75
|
}, z.core.$strip>>;
|
|
76
|
+
qr_logo_key: z.ZodNullable<z.ZodString>;
|
|
76
77
|
link_type: z.ZodDefault<z.ZodEnum<{
|
|
77
78
|
redirect: "redirect";
|
|
78
79
|
rules: "rules";
|
|
@@ -523,6 +524,7 @@ export declare const PaginatedLinksSchema: z.ZodObject<{
|
|
|
523
524
|
frame_color: z.ZodString;
|
|
524
525
|
frame_text_color: z.ZodString;
|
|
525
526
|
}, z.core.$strip>>;
|
|
527
|
+
qr_logo_key: z.ZodNullable<z.ZodString>;
|
|
526
528
|
link_type: z.ZodDefault<z.ZodEnum<{
|
|
527
529
|
redirect: "redirect";
|
|
528
530
|
rules: "rules";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"links.schema.d.ts","sourceRoot":"","sources":["../../src/links.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASxB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;iBAU/B,CAAC;AAEH,eAAO,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"links.schema.d.ts","sourceRoot":"","sources":["../../src/links.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASxB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;iBAU/B,CAAC;AAEH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA6BrB,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAiC5B,CAAC;AAEP,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAkC5B,CAAC;AAMP,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAe5B,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAyD,CAAC;AAE/F,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAM/B,CAAC;AAEH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;iBAYxB,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;iBAG/B,CAAC"}
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -199,6 +199,11 @@ export const linksContract = {
|
|
|
199
199
|
.input(WorkspaceIdParamSchema.merge(LinkFiltersSchema))
|
|
200
200
|
.output(PaginatedLinksSchema),
|
|
201
201
|
|
|
202
|
+
exportCsv: oc
|
|
203
|
+
.route({ method: 'GET', path: '/api/workspaces/{workspace_id}/links/export' })
|
|
204
|
+
.input(WorkspaceIdParamSchema.merge(ExportLinksFiltersSchema))
|
|
205
|
+
.output(z.instanceof(File)),
|
|
206
|
+
|
|
202
207
|
get: oc.route({ method: 'GET', path: '/api/workspaces/{workspace_id}/links/{link_id}' }).input(LinkIdParamSchema).output(LinkSchema),
|
|
203
208
|
|
|
204
209
|
update: oc
|
|
@@ -211,11 +216,6 @@ export const linksContract = {
|
|
|
211
216
|
.input(LinkIdParamSchema)
|
|
212
217
|
.output(z.void()),
|
|
213
218
|
|
|
214
|
-
exportCsv: oc
|
|
215
|
-
.route({ method: 'GET', path: '/api/workspaces/{workspace_id}/links/export' })
|
|
216
|
-
.input(WorkspaceIdParamSchema.merge(ExportLinksFiltersSchema))
|
|
217
|
-
.output(z.instanceof(File)),
|
|
218
|
-
|
|
219
219
|
edgeSync: oc
|
|
220
220
|
.route({ method: 'POST', path: '/api/workspaces/{workspace_id}/links/{link_id}/edge/sync' })
|
|
221
221
|
.input(LinkIdParamSchema)
|
|
@@ -226,6 +226,16 @@ export const linksContract = {
|
|
|
226
226
|
.input(LinkIdParamSchema)
|
|
227
227
|
.output(z.object({ synced: z.boolean() })),
|
|
228
228
|
|
|
229
|
+
uploadLogo: oc
|
|
230
|
+
.route({ method: 'POST', path: '/api/workspaces/{workspace_id}/links/{link_id}/logo' })
|
|
231
|
+
.input(LinkIdParamSchema.merge(z.object({ file: z.file().mime(['image/png', 'image/jpeg', 'image/svg+xml', 'image/webp']) })))
|
|
232
|
+
.output(LinkSchema),
|
|
233
|
+
|
|
234
|
+
deleteLogo: oc
|
|
235
|
+
.route({ method: 'DELETE', path: '/api/workspaces/{workspace_id}/links/{link_id}/logo' })
|
|
236
|
+
.input(LinkIdParamSchema)
|
|
237
|
+
.output(LinkSchema),
|
|
238
|
+
|
|
229
239
|
getJob: oc
|
|
230
240
|
.route({ method: 'GET', path: '/api/workspaces/{workspace_id}/jobs/{job_id}' })
|
|
231
241
|
.input(LinkJobIdParamSchema)
|
package/src/links.schema.ts
CHANGED
|
@@ -44,6 +44,7 @@ export const LinkSchema = z.object({
|
|
|
44
44
|
created_at: z.coerce.date(),
|
|
45
45
|
updated_at: z.coerce.date().nullable(),
|
|
46
46
|
qr_code_settings: QrCodeSettingsSchema.nullable(),
|
|
47
|
+
qr_logo_key: z.string().nullable(),
|
|
47
48
|
link_type: z.enum(['redirect', 'rules']).default('redirect'),
|
|
48
49
|
rule_graph: RuleGraphSchema.optional(),
|
|
49
50
|
tags: z.array(TagSchema),
|