@secrecy/trpc-api-types 1.19.0-dev.8 → 1.19.0-dev.9
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.cts +54 -0
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -10484,6 +10484,60 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
10484
10484
|
serverTime: number;
|
|
10485
10485
|
};
|
|
10486
10486
|
}, unknown>;
|
|
10487
|
+
bookADemo: _trpc_server.BuildProcedure<"mutation", {
|
|
10488
|
+
_config: _trpc_server.RootConfig<{
|
|
10489
|
+
ctx: {};
|
|
10490
|
+
meta: object;
|
|
10491
|
+
errorShape: {
|
|
10492
|
+
message: string;
|
|
10493
|
+
code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
10494
|
+
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
10495
|
+
} | {
|
|
10496
|
+
data: {
|
|
10497
|
+
zodError: zod.typeToFlattenedError<any, string> | null;
|
|
10498
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "UNAUTHORIZED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
10499
|
+
httpStatus: number;
|
|
10500
|
+
path?: string | undefined;
|
|
10501
|
+
stack?: string | undefined;
|
|
10502
|
+
};
|
|
10503
|
+
message: string;
|
|
10504
|
+
code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
10505
|
+
};
|
|
10506
|
+
transformer: typeof superjson.default;
|
|
10507
|
+
}>;
|
|
10508
|
+
_meta: object;
|
|
10509
|
+
_ctx_out: {};
|
|
10510
|
+
_input_in: {
|
|
10511
|
+
email: string;
|
|
10512
|
+
lastname: string;
|
|
10513
|
+
firstname: string;
|
|
10514
|
+
company: string;
|
|
10515
|
+
};
|
|
10516
|
+
_input_out: {
|
|
10517
|
+
email: string;
|
|
10518
|
+
lastname: string;
|
|
10519
|
+
firstname: string;
|
|
10520
|
+
company: string;
|
|
10521
|
+
};
|
|
10522
|
+
_output_in: {
|
|
10523
|
+
email: string;
|
|
10524
|
+
id: string;
|
|
10525
|
+
createdAt: Date;
|
|
10526
|
+
lastname: string;
|
|
10527
|
+
firstname: string;
|
|
10528
|
+
company: string;
|
|
10529
|
+
coveredAt: Date | null;
|
|
10530
|
+
};
|
|
10531
|
+
_output_out: {
|
|
10532
|
+
email: string;
|
|
10533
|
+
id: string;
|
|
10534
|
+
createdAt: Date;
|
|
10535
|
+
lastname: string;
|
|
10536
|
+
firstname: string;
|
|
10537
|
+
company: string;
|
|
10538
|
+
coveredAt: Date | null;
|
|
10539
|
+
};
|
|
10540
|
+
}, unknown>;
|
|
10487
10541
|
}>;
|
|
10488
10542
|
plan: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<{
|
|
10489
10543
|
ctx: {};
|