@sortsys/v2-client 0.1.24 → 0.1.25
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.ts +36 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2955,6 +2955,42 @@ declare const appRouter: BuiltRouter<{
|
|
|
2955
2955
|
meta: object;
|
|
2956
2956
|
}>;
|
|
2957
2957
|
}>>;
|
|
2958
|
+
customers: BuiltRouter<{
|
|
2959
|
+
ctx: TrpcContext;
|
|
2960
|
+
meta: object;
|
|
2961
|
+
errorShape: DefaultErrorShape | {
|
|
2962
|
+
message: string;
|
|
2963
|
+
data: {
|
|
2964
|
+
httpCode: error.http.StatusCodeCode;
|
|
2965
|
+
code: TRPC_ERROR_CODE_KEY;
|
|
2966
|
+
httpStatus: number;
|
|
2967
|
+
path?: string;
|
|
2968
|
+
stack?: string;
|
|
2969
|
+
};
|
|
2970
|
+
code: TRPC_ERROR_CODE_NUMBER;
|
|
2971
|
+
};
|
|
2972
|
+
transformer: true;
|
|
2973
|
+
}, DecorateCreateRouterOptions<{
|
|
2974
|
+
list: QueryProcedure<{
|
|
2975
|
+
input: {
|
|
2976
|
+
contactId: string;
|
|
2977
|
+
};
|
|
2978
|
+
output: {
|
|
2979
|
+
id: string;
|
|
2980
|
+
salutation: string | null;
|
|
2981
|
+
name: string;
|
|
2982
|
+
address: {
|
|
2983
|
+
city: string;
|
|
2984
|
+
streetAddress: string;
|
|
2985
|
+
country?: string | null | undefined;
|
|
2986
|
+
zip?: string | null | undefined;
|
|
2987
|
+
} | null;
|
|
2988
|
+
createdAt: Date;
|
|
2989
|
+
modifiedAt: Date;
|
|
2990
|
+
}[];
|
|
2991
|
+
meta: object;
|
|
2992
|
+
}>;
|
|
2993
|
+
}>>;
|
|
2958
2994
|
}>>;
|
|
2959
2995
|
products: BuiltRouter<{
|
|
2960
2996
|
ctx: TrpcContext;
|