@formbricks/js
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -11,2 +11,6 @@ import { Question } from "./questions"; | ||
} | ||
export interface VerifyEmail { | ||
name?: string; | ||
subheading?: string; | ||
} | ||
export interface Survey { | ||
@@ -33,2 +37,3 @@ id: string; | ||
surveyClosedMessage: SurveyClosedMessage | null; | ||
verifyEmail: VerifyEmail | null; | ||
closeOnDate: Date | null; | ||
@@ -35,0 +40,0 @@ _count: { |
import z from "zod"; | ||
export declare const ZActionClassNoCodeConfig: z.ZodObject<{ | ||
type: z.ZodUnion<[z.ZodLiteral<"innerHtml">, z.ZodLiteral<"pageUrl">, z.ZodLiteral<"cssSelector">]>; | ||
type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"innerHtml">, z.ZodLiteral<"pageUrl">, z.ZodLiteral<"cssSelector">]>>; | ||
pageUrl: z.ZodOptional<z.ZodObject<{ | ||
@@ -60,3 +60,3 @@ value: z.ZodString; | ||
noCodeConfig: z.ZodUnion<[z.ZodObject<{ | ||
type: z.ZodUnion<[z.ZodLiteral<"innerHtml">, z.ZodLiteral<"pageUrl">, z.ZodLiteral<"cssSelector">]>; | ||
type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"innerHtml">, z.ZodLiteral<"pageUrl">, z.ZodLiteral<"cssSelector">]>>; | ||
pageUrl: z.ZodOptional<z.ZodObject<{ | ||
@@ -162,3 +162,3 @@ value: z.ZodString; | ||
noCodeConfig: z.ZodUnion<[z.ZodObject<{ | ||
type: z.ZodUnion<[z.ZodLiteral<"innerHtml">, z.ZodLiteral<"pageUrl">, z.ZodLiteral<"cssSelector">]>; | ||
type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"innerHtml">, z.ZodLiteral<"pageUrl">, z.ZodLiteral<"cssSelector">]>>; | ||
pageUrl: z.ZodOptional<z.ZodObject<{ | ||
@@ -165,0 +165,0 @@ value: z.ZodString; |
@@ -8,2 +8,3 @@ import { z } from "zod"; | ||
plan: z.ZodEnum<["free", "pro"]>; | ||
stripeCustomerId: z.ZodNullable<z.ZodString>; | ||
}, "strip", z.ZodTypeAny, { | ||
@@ -15,2 +16,3 @@ id?: string; | ||
plan?: "free" | "pro"; | ||
stripeCustomerId?: string; | ||
}, { | ||
@@ -22,3 +24,4 @@ id?: string; | ||
plan?: "free" | "pro"; | ||
stripeCustomerId?: string; | ||
}>; | ||
export type TTeam = z.infer<typeof ZTeam>; |
import { z } from "zod"; | ||
export declare const ZWebhook: z.ZodObject<{ | ||
id: z.ZodString; | ||
name: z.ZodNullable<z.ZodString>; | ||
name: z.ZodOptional<z.ZodNullable<z.ZodString>>; | ||
createdAt: z.ZodDate; | ||
@@ -33,3 +33,3 @@ updatedAt: z.ZodDate; | ||
url: z.ZodString; | ||
name: z.ZodNullable<z.ZodString>; | ||
name: z.ZodOptional<z.ZodNullable<z.ZodString>>; | ||
triggers: z.ZodArray<z.ZodEnum<["responseFinished", "responseCreated", "responseUpdated"]>, "many">; | ||
@@ -36,0 +36,0 @@ surveyIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; |
{ | ||
"name": "@formbricks/js", | ||
"license": "MIT", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "Formbricks-js allows you to connect your app to Formbricks, display surveys and trigger events.", | ||
@@ -60,4 +60,4 @@ "keywords": [ | ||
"@formbricks/api": "0.1.0", | ||
"@formbricks/types": "0.0.0", | ||
"eslint-config-formbricks": "1.0.0" | ||
"eslint-config-formbricks": "1.0.0", | ||
"@formbricks/types": "0.0.0" | ||
}, | ||
@@ -64,0 +64,0 @@ "jest": { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
1804266
12515