@shophost/rest-api 2.0.27 → 2.0.28
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/package.json +1 -1
- package/src/app.js +2 -1
- package/src/app.js.map +1 -1
- package/src/core/lib/prisma.d.ts +26 -26
- package/src/features/access/access.handler.d.ts +2 -0
- package/src/features/access/access.handler.js +83 -0
- package/src/features/access/access.handler.js.map +1 -0
- package/src/features/access/access.route.d.ts +11 -0
- package/src/features/access/access.route.js +203 -0
- package/src/features/access/access.route.js.map +1 -0
- package/src/features/access/access.schema.d.ts +47 -0
- package/src/features/access/access.schema.js +108 -0
- package/src/features/access/access.schema.js.map +1 -0
- package/src/features/access/access.service.d.ts +111 -0
- package/src/features/access/access.service.js +273 -0
- package/src/features/access/access.service.js.map +1 -0
- package/src/features/cart/cart.schema.d.ts +3 -3
- package/src/features/cart/cart.service.d.ts +2 -2
- package/src/features/index.d.ts +1 -0
- package/src/features/index.js +1 -0
- package/src/features/index.js.map +1 -1
- package/src/features/order/recipient.schema.d.ts +2 -2
- package/src/features/organization/organization.schema.d.ts +2 -2
- package/src/features/product/product-modifier.schema.d.ts +1 -1
- package/src/features/product/product.schema.d.ts +3 -3
- package/src/features/product/product.service.d.ts +4 -4
- package/src/features/product-category/product-category.schema.d.ts +14 -14
- package/src/features/product-category/product-category.service.d.ts +2 -2
- package/src/schemas/index.d.ts +1 -0
- package/src/schemas/index.js +1 -0
- package/src/schemas/index.js.map +1 -1
- package/src/test/integration/test-helpers.d.ts +41 -41
|
@@ -327,8 +327,8 @@ export declare const OrganizationSchema: z.ZodObject<{
|
|
|
327
327
|
}, z.core.$strip>>>;
|
|
328
328
|
}, z.core.$strip>;
|
|
329
329
|
export declare const CreateOrganizationSchema: z.ZodObject<{
|
|
330
|
-
name: z.ZodString;
|
|
331
330
|
email: z.ZodOptional<z.ZodString>;
|
|
331
|
+
name: z.ZodString;
|
|
332
332
|
phone: z.ZodString;
|
|
333
333
|
logoFile: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
334
334
|
id: z.ZodString;
|
|
@@ -349,8 +349,8 @@ export declare const CreateOrganizationSchema: z.ZodObject<{
|
|
|
349
349
|
}, z.core.$strip>;
|
|
350
350
|
}, z.core.$strip>;
|
|
351
351
|
export declare const UpdateOrganizationSchema: z.ZodObject<{
|
|
352
|
-
name: z.ZodOptional<z.ZodString>;
|
|
353
352
|
email: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
353
|
+
name: z.ZodOptional<z.ZodString>;
|
|
354
354
|
phone: z.ZodOptional<z.ZodString>;
|
|
355
355
|
logoFile: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
356
356
|
id: z.ZodString;
|
|
@@ -250,6 +250,7 @@ export declare const ModifierGroupSchema: z.ZodObject<{
|
|
|
250
250
|
}, z.core.$strip>>;
|
|
251
251
|
}, z.core.$strip>;
|
|
252
252
|
export declare const LocalizedModifierGroupSchema: z.ZodObject<{
|
|
253
|
+
title: z.ZodNullable<z.ZodDefault<z.ZodString>>;
|
|
253
254
|
id: z.ZodString;
|
|
254
255
|
defaultLocale: z.ZodOptional<z.ZodEnum<{
|
|
255
256
|
id: "id";
|
|
@@ -366,7 +367,6 @@ export declare const LocalizedModifierGroupSchema: z.ZodObject<{
|
|
|
366
367
|
ji: "ji";
|
|
367
368
|
zu: "zu";
|
|
368
369
|
}>>;
|
|
369
|
-
title: z.ZodNullable<z.ZodDefault<z.ZodString>>;
|
|
370
370
|
selectMin: z.ZodCoercedNumber<unknown>;
|
|
371
371
|
selectMax: z.ZodCoercedNumber<unknown>;
|
|
372
372
|
modifiers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -400,11 +400,11 @@ export declare const ProductSchema: z.ZodObject<{
|
|
|
400
400
|
metadata: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
401
401
|
}, z.core.$strip>;
|
|
402
402
|
export declare const LocalizedProductSchema: z.ZodObject<{
|
|
403
|
-
id: z.ZodString;
|
|
404
403
|
description: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
405
404
|
title: z.ZodDefault<z.ZodString>;
|
|
406
|
-
|
|
405
|
+
id: z.ZodString;
|
|
407
406
|
createdAt: z.ZodDate;
|
|
407
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
408
408
|
publishedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
409
409
|
sku: z.ZodOptional<z.ZodString>;
|
|
410
410
|
basePrice: z.ZodCoercedNumber<unknown>;
|
|
@@ -418,6 +418,7 @@ export declare const LocalizedProductSchema: z.ZodObject<{
|
|
|
418
418
|
filename: z.ZodString;
|
|
419
419
|
}, z.core.$strip>>>;
|
|
420
420
|
modifierGroups: z.ZodArray<z.ZodObject<{
|
|
421
|
+
title: z.ZodNullable<z.ZodDefault<z.ZodString>>;
|
|
421
422
|
id: z.ZodString;
|
|
422
423
|
defaultLocale: z.ZodOptional<z.ZodEnum<{
|
|
423
424
|
id: "id";
|
|
@@ -534,7 +535,6 @@ export declare const LocalizedProductSchema: z.ZodObject<{
|
|
|
534
535
|
ji: "ji";
|
|
535
536
|
zu: "zu";
|
|
536
537
|
}>>;
|
|
537
|
-
title: z.ZodNullable<z.ZodDefault<z.ZodString>>;
|
|
538
538
|
selectMin: z.ZodCoercedNumber<unknown>;
|
|
539
539
|
selectMax: z.ZodCoercedNumber<unknown>;
|
|
540
540
|
modifiers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -77,16 +77,16 @@ declare class ProductService {
|
|
|
77
77
|
locale?: string | null;
|
|
78
78
|
published?: boolean;
|
|
79
79
|
}): Promise<{
|
|
80
|
-
id: string;
|
|
81
80
|
description: string | null;
|
|
82
81
|
title: string;
|
|
82
|
+
id: string;
|
|
83
83
|
createdAt: Date;
|
|
84
84
|
basePrice: number;
|
|
85
85
|
discountedBasePrice: number | null;
|
|
86
86
|
currency: string;
|
|
87
87
|
modifierGroups: {
|
|
88
|
-
id: string;
|
|
89
88
|
title: string | null;
|
|
89
|
+
id: string;
|
|
90
90
|
selectMin: number;
|
|
91
91
|
selectMax: number;
|
|
92
92
|
defaultLocale?: "id" | "af" | "sq" | "ar_dz" | "ar_bh" | "ar_eg" | "ar_iq" | "ar_jo" | "ar_kw" | "ar_lb" | "ar_ly" | "ar_ma" | "ar_om" | "ar_qa" | "ar_sa" | "ar_sy" | "ar_tn" | "ar_ae" | "ar_ye" | "eu" | "be" | "bg" | "ca" | "zh_hk" | "zh_cn" | "zh_sg" | "zh_tw" | "hr" | "cs" | "da" | "nl_be" | "nl" | "en" | "en_au" | "en_bz" | "en_ca" | "en_ie" | "en_jm" | "en_nz" | "en_za" | "en_tt" | "en_gb" | "en_us" | "et" | "fo" | "fa" | "fi" | "fr_be" | "fr_ca" | "fr_lu" | "fr" | "fr_ch" | "gd" | "de_at" | "de_li" | "de_lu" | "de" | "de_ch" | "el" | "he" | "hi" | "hu" | "is" | "ga" | "it" | "it_ch" | "ja" | "ko" | "ku" | "lv" | "lt" | "mk" | "ml" | "ms" | "mt" | "no" | "nb" | "nn" | "pl" | "pt_br" | "pt" | "pa" | "rm" | "ro" | "ro_md" | "ru" | "ru_md" | "sr" | "sk" | "sl" | "sb" | "es_ar" | "es_bo" | "es_cl" | "es_co" | "es_cr" | "es_do" | "es_ec" | "es_sv" | "es_gt" | "es_hn" | "es_mx" | "es" | "sv" | "sv_fi" | "th" | "tr" | "uk" | "ur" | "vi" | "cy" | "ji" | "zu" | undefined;
|
|
@@ -258,16 +258,16 @@ declare class ProductService {
|
|
|
258
258
|
totalCount: number;
|
|
259
259
|
};
|
|
260
260
|
list: {
|
|
261
|
-
id: string;
|
|
262
261
|
description: string | null;
|
|
263
262
|
title: string;
|
|
263
|
+
id: string;
|
|
264
264
|
createdAt: Date;
|
|
265
265
|
basePrice: number;
|
|
266
266
|
discountedBasePrice: number | null;
|
|
267
267
|
currency: string;
|
|
268
268
|
modifierGroups: {
|
|
269
|
-
id: string;
|
|
270
269
|
title: string | null;
|
|
270
|
+
id: string;
|
|
271
271
|
selectMin: number;
|
|
272
272
|
selectMax: number;
|
|
273
273
|
defaultLocale?: "id" | "af" | "sq" | "ar_dz" | "ar_bh" | "ar_eg" | "ar_iq" | "ar_jo" | "ar_kw" | "ar_lb" | "ar_ly" | "ar_ma" | "ar_om" | "ar_qa" | "ar_sa" | "ar_sy" | "ar_tn" | "ar_ae" | "ar_ye" | "eu" | "be" | "bg" | "ca" | "zh_hk" | "zh_cn" | "zh_sg" | "zh_tw" | "hr" | "cs" | "da" | "nl_be" | "nl" | "en" | "en_au" | "en_bz" | "en_ca" | "en_ie" | "en_jm" | "en_nz" | "en_za" | "en_tt" | "en_gb" | "en_us" | "et" | "fo" | "fa" | "fi" | "fr_be" | "fr_ca" | "fr_lu" | "fr" | "fr_ch" | "gd" | "de_at" | "de_li" | "de_lu" | "de" | "de_ch" | "el" | "he" | "hi" | "hu" | "is" | "ga" | "it" | "it_ch" | "ja" | "ko" | "ku" | "lv" | "lt" | "mk" | "ml" | "ms" | "mt" | "no" | "nb" | "nn" | "pl" | "pt_br" | "pt" | "pa" | "rm" | "ro" | "ro_md" | "ru" | "ru_md" | "sr" | "sk" | "sl" | "sb" | "es_ar" | "es_bo" | "es_cl" | "es_co" | "es_cr" | "es_do" | "es_ec" | "es_sv" | "es_gt" | "es_hn" | "es_mx" | "es" | "sv" | "sv_fi" | "th" | "tr" | "uk" | "ur" | "vi" | "cy" | "ji" | "zu" | undefined;
|
|
@@ -19,7 +19,7 @@ export declare const ProductCategorySchema: z.ZodObject<{
|
|
|
19
19
|
}, z.core.$strip>;
|
|
20
20
|
export declare const LocalizedProductCategorySchema: z.ZodObject<{
|
|
21
21
|
id: z.ZodString;
|
|
22
|
-
|
|
22
|
+
createdAt: z.ZodDate;
|
|
23
23
|
image: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
24
24
|
id: z.ZodString;
|
|
25
25
|
url: z.ZodString;
|
|
@@ -27,18 +27,12 @@ export declare const LocalizedProductCategorySchema: z.ZodObject<{
|
|
|
27
27
|
size: z.ZodNumber;
|
|
28
28
|
filename: z.ZodString;
|
|
29
29
|
}, z.core.$strip>>>;
|
|
30
|
-
|
|
30
|
+
slug: z.ZodString;
|
|
31
31
|
publishedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
32
32
|
title: z.ZodDefault<z.ZodString>;
|
|
33
33
|
description: z.ZodDefault<z.ZodString>;
|
|
34
34
|
}, z.core.$strip>;
|
|
35
35
|
export declare const CreateProductCategorySchema: z.ZodObject<{
|
|
36
|
-
translations: z.ZodArray<z.ZodObject<{
|
|
37
|
-
locale: z.ZodString;
|
|
38
|
-
title: z.ZodDefault<z.ZodString>;
|
|
39
|
-
description: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
|
|
40
|
-
}, z.core.$strip>>;
|
|
41
|
-
slug: z.ZodString;
|
|
42
36
|
image: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
43
37
|
id: z.ZodString;
|
|
44
38
|
url: z.ZodString;
|
|
@@ -46,16 +40,16 @@ export declare const CreateProductCategorySchema: z.ZodObject<{
|
|
|
46
40
|
size: z.ZodNumber;
|
|
47
41
|
filename: z.ZodString;
|
|
48
42
|
}, z.core.$strip>>>;
|
|
43
|
+
translations: z.ZodArray<z.ZodObject<{
|
|
44
|
+
locale: z.ZodString;
|
|
45
|
+
title: z.ZodDefault<z.ZodString>;
|
|
46
|
+
description: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
|
|
47
|
+
}, z.core.$strip>>;
|
|
48
|
+
slug: z.ZodString;
|
|
49
49
|
defaultLocale: z.ZodString;
|
|
50
50
|
imageId: z.ZodOptional<z.ZodString>;
|
|
51
51
|
}, z.core.$strip>;
|
|
52
52
|
export declare const UpdateProductCategorySchema: z.ZodObject<{
|
|
53
|
-
translations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
54
|
-
locale: z.ZodString;
|
|
55
|
-
title: z.ZodDefault<z.ZodString>;
|
|
56
|
-
description: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
|
|
57
|
-
}, z.core.$strip>>>;
|
|
58
|
-
slug: z.ZodOptional<z.ZodString>;
|
|
59
53
|
image: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
60
54
|
id: z.ZodString;
|
|
61
55
|
url: z.ZodString;
|
|
@@ -63,6 +57,12 @@ export declare const UpdateProductCategorySchema: z.ZodObject<{
|
|
|
63
57
|
size: z.ZodNumber;
|
|
64
58
|
filename: z.ZodString;
|
|
65
59
|
}, z.core.$strip>>>>;
|
|
60
|
+
translations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
61
|
+
locale: z.ZodString;
|
|
62
|
+
title: z.ZodDefault<z.ZodString>;
|
|
63
|
+
description: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
|
|
64
|
+
}, z.core.$strip>>>;
|
|
65
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
66
66
|
defaultLocale: z.ZodOptional<z.ZodString>;
|
|
67
67
|
imageId: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
68
68
|
}, z.core.$strip>;
|
|
@@ -54,8 +54,8 @@ declare class ProductCategoryService {
|
|
|
54
54
|
publishedAt?: Date | null | undefined;
|
|
55
55
|
} | {
|
|
56
56
|
id: string;
|
|
57
|
-
slug: string;
|
|
58
57
|
createdAt: Date;
|
|
58
|
+
slug: string;
|
|
59
59
|
title: string;
|
|
60
60
|
description: string;
|
|
61
61
|
image?: {
|
|
@@ -116,8 +116,8 @@ declare class ProductCategoryService {
|
|
|
116
116
|
};
|
|
117
117
|
list: {
|
|
118
118
|
id: string;
|
|
119
|
-
slug: string;
|
|
120
119
|
createdAt: Date;
|
|
120
|
+
slug: string;
|
|
121
121
|
title: string;
|
|
122
122
|
description: string;
|
|
123
123
|
image?: {
|
package/src/schemas/index.d.ts
CHANGED
package/src/schemas/index.js
CHANGED
package/src/schemas/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../packages/rest-api/src/schemas/index.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAC;AAC7C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,6BAA6B,CAAC;AAC5C,cAAc,oCAAoC,CAAC;AACnD,cAAc,0BAA0B,CAAC;AACzC,cAAc,qBAAqB,CAAC;AACpC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,8CAA8C,CAAC;AAC7D,cAAc,oDAAoD,CAAC;AACnE,cAAc,sDAAsD,CAAC;AACrE,cAAc,kDAAkD,CAAC;AACjE,cAAc,6CAA6C,CAAC;AAC5D,cAAc,4DAA4D,CAAC;AAC3E,cAAc,iBAAiB,CAAC;AAChC,cAAc,8CAA8C,CAAC;AAC7D,cAAc,kBAAkB,CAAC;AACjC,cAAc,8CAA8C,CAAC;AAC7D,cAAc,qCAAqC,CAAC;AACpD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oCAAoC,CAAC;AACnD,cAAc,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC;AACzC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,sCAAsC,CAAC;AACrD,cAAc,oCAAoC,CAAC;AACnD,cAAc,4CAA4C,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../packages/rest-api/src/schemas/index.ts"],"names":[],"mappings":"AAAA,cAAc,kCAAkC,CAAC;AACjD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,6BAA6B,CAAC;AAC5C,cAAc,oCAAoC,CAAC;AACnD,cAAc,0BAA0B,CAAC;AACzC,cAAc,qBAAqB,CAAC;AACpC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,8CAA8C,CAAC;AAC7D,cAAc,oDAAoD,CAAC;AACnE,cAAc,sDAAsD,CAAC;AACrE,cAAc,kDAAkD,CAAC;AACjE,cAAc,6CAA6C,CAAC;AAC5D,cAAc,4DAA4D,CAAC;AAC3E,cAAc,iBAAiB,CAAC;AAChC,cAAc,8CAA8C,CAAC;AAC7D,cAAc,kBAAkB,CAAC;AACjC,cAAc,8CAA8C,CAAC;AAC7D,cAAc,qCAAqC,CAAC;AACpD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oCAAoC,CAAC;AACnD,cAAc,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC;AACzC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,sCAAsC,CAAC;AACrD,cAAc,oCAAoC,CAAC;AACnD,cAAc,4CAA4C,CAAC"}
|
|
@@ -55,7 +55,7 @@ export declare const createIntegrationPrismaClient: () => import("@prisma/client
|
|
|
55
55
|
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
56
56
|
};
|
|
57
57
|
};
|
|
58
|
-
|
|
58
|
+
user: {
|
|
59
59
|
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
60
60
|
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
61
61
|
limit?: P["limit"] | undefined;
|
|
@@ -67,7 +67,7 @@ export declare const createIntegrationPrismaClient: () => import("@prisma/client
|
|
|
67
67
|
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
68
68
|
};
|
|
69
69
|
};
|
|
70
|
-
|
|
70
|
+
member: {
|
|
71
71
|
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
72
72
|
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
73
73
|
limit?: P["limit"] | undefined;
|
|
@@ -79,7 +79,7 @@ export declare const createIntegrationPrismaClient: () => import("@prisma/client
|
|
|
79
79
|
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
80
80
|
};
|
|
81
81
|
};
|
|
82
|
-
|
|
82
|
+
organization: {
|
|
83
83
|
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
84
84
|
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
85
85
|
limit?: P["limit"] | undefined;
|
|
@@ -91,7 +91,7 @@ export declare const createIntegrationPrismaClient: () => import("@prisma/client
|
|
|
91
91
|
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
92
92
|
};
|
|
93
93
|
};
|
|
94
|
-
|
|
94
|
+
file: {
|
|
95
95
|
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
96
96
|
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
97
97
|
limit?: P["limit"] | undefined;
|
|
@@ -103,7 +103,7 @@ export declare const createIntegrationPrismaClient: () => import("@prisma/client
|
|
|
103
103
|
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
104
104
|
};
|
|
105
105
|
};
|
|
106
|
-
|
|
106
|
+
payment: {
|
|
107
107
|
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
108
108
|
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
109
109
|
limit?: P["limit"] | undefined;
|
|
@@ -115,7 +115,7 @@ export declare const createIntegrationPrismaClient: () => import("@prisma/client
|
|
|
115
115
|
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
116
116
|
};
|
|
117
117
|
};
|
|
118
|
-
|
|
118
|
+
shippingMethod: {
|
|
119
119
|
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
120
120
|
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
121
121
|
limit?: P["limit"] | undefined;
|
|
@@ -127,7 +127,7 @@ export declare const createIntegrationPrismaClient: () => import("@prisma/client
|
|
|
127
127
|
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
128
128
|
};
|
|
129
129
|
};
|
|
130
|
-
|
|
130
|
+
openingTimes: {
|
|
131
131
|
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
132
132
|
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
133
133
|
limit?: P["limit"] | undefined;
|
|
@@ -139,7 +139,7 @@ export declare const createIntegrationPrismaClient: () => import("@prisma/client
|
|
|
139
139
|
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
140
140
|
};
|
|
141
141
|
};
|
|
142
|
-
|
|
142
|
+
closingTimes: {
|
|
143
143
|
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
144
144
|
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
145
145
|
limit?: P["limit"] | undefined;
|
|
@@ -151,7 +151,7 @@ export declare const createIntegrationPrismaClient: () => import("@prisma/client
|
|
|
151
151
|
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
152
152
|
};
|
|
153
153
|
};
|
|
154
|
-
|
|
154
|
+
address: {
|
|
155
155
|
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
156
156
|
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
157
157
|
limit?: P["limit"] | undefined;
|
|
@@ -163,7 +163,7 @@ export declare const createIntegrationPrismaClient: () => import("@prisma/client
|
|
|
163
163
|
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
164
164
|
};
|
|
165
165
|
};
|
|
166
|
-
|
|
166
|
+
session: {
|
|
167
167
|
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
168
168
|
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
169
169
|
limit?: P["limit"] | undefined;
|
|
@@ -175,7 +175,7 @@ export declare const createIntegrationPrismaClient: () => import("@prisma/client
|
|
|
175
175
|
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
176
176
|
};
|
|
177
177
|
};
|
|
178
|
-
|
|
178
|
+
account: {
|
|
179
179
|
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
180
180
|
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
181
181
|
limit?: P["limit"] | undefined;
|
|
@@ -187,7 +187,7 @@ export declare const createIntegrationPrismaClient: () => import("@prisma/client
|
|
|
187
187
|
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
188
188
|
};
|
|
189
189
|
};
|
|
190
|
-
|
|
190
|
+
verification: {
|
|
191
191
|
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
192
192
|
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
193
193
|
limit?: P["limit"] | undefined;
|
|
@@ -199,7 +199,7 @@ export declare const createIntegrationPrismaClient: () => import("@prisma/client
|
|
|
199
199
|
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
200
200
|
};
|
|
201
201
|
};
|
|
202
|
-
|
|
202
|
+
invitation: {
|
|
203
203
|
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
204
204
|
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
205
205
|
limit?: P["limit"] | undefined;
|
|
@@ -457,7 +457,7 @@ export declare const createIntegrationPrismaClient: () => import("@prisma/client
|
|
|
457
457
|
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
458
458
|
};
|
|
459
459
|
};
|
|
460
|
-
|
|
460
|
+
user: {
|
|
461
461
|
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
462
462
|
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
463
463
|
limit?: P["limit"] | undefined;
|
|
@@ -469,7 +469,7 @@ export declare const createIntegrationPrismaClient: () => import("@prisma/client
|
|
|
469
469
|
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
470
470
|
};
|
|
471
471
|
};
|
|
472
|
-
|
|
472
|
+
member: {
|
|
473
473
|
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
474
474
|
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
475
475
|
limit?: P["limit"] | undefined;
|
|
@@ -481,7 +481,7 @@ export declare const createIntegrationPrismaClient: () => import("@prisma/client
|
|
|
481
481
|
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
482
482
|
};
|
|
483
483
|
};
|
|
484
|
-
|
|
484
|
+
organization: {
|
|
485
485
|
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
486
486
|
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
487
487
|
limit?: P["limit"] | undefined;
|
|
@@ -493,7 +493,7 @@ export declare const createIntegrationPrismaClient: () => import("@prisma/client
|
|
|
493
493
|
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
494
494
|
};
|
|
495
495
|
};
|
|
496
|
-
|
|
496
|
+
file: {
|
|
497
497
|
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
498
498
|
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
499
499
|
limit?: P["limit"] | undefined;
|
|
@@ -505,7 +505,7 @@ export declare const createIntegrationPrismaClient: () => import("@prisma/client
|
|
|
505
505
|
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
506
506
|
};
|
|
507
507
|
};
|
|
508
|
-
|
|
508
|
+
payment: {
|
|
509
509
|
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
510
510
|
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
511
511
|
limit?: P["limit"] | undefined;
|
|
@@ -517,7 +517,7 @@ export declare const createIntegrationPrismaClient: () => import("@prisma/client
|
|
|
517
517
|
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
518
518
|
};
|
|
519
519
|
};
|
|
520
|
-
|
|
520
|
+
shippingMethod: {
|
|
521
521
|
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
522
522
|
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
523
523
|
limit?: P["limit"] | undefined;
|
|
@@ -529,7 +529,7 @@ export declare const createIntegrationPrismaClient: () => import("@prisma/client
|
|
|
529
529
|
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
530
530
|
};
|
|
531
531
|
};
|
|
532
|
-
|
|
532
|
+
openingTimes: {
|
|
533
533
|
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
534
534
|
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
535
535
|
limit?: P["limit"] | undefined;
|
|
@@ -541,7 +541,7 @@ export declare const createIntegrationPrismaClient: () => import("@prisma/client
|
|
|
541
541
|
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
542
542
|
};
|
|
543
543
|
};
|
|
544
|
-
|
|
544
|
+
closingTimes: {
|
|
545
545
|
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
546
546
|
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
547
547
|
limit?: P["limit"] | undefined;
|
|
@@ -553,7 +553,7 @@ export declare const createIntegrationPrismaClient: () => import("@prisma/client
|
|
|
553
553
|
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
554
554
|
};
|
|
555
555
|
};
|
|
556
|
-
|
|
556
|
+
address: {
|
|
557
557
|
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
558
558
|
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
559
559
|
limit?: P["limit"] | undefined;
|
|
@@ -565,7 +565,7 @@ export declare const createIntegrationPrismaClient: () => import("@prisma/client
|
|
|
565
565
|
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
566
566
|
};
|
|
567
567
|
};
|
|
568
|
-
|
|
568
|
+
session: {
|
|
569
569
|
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
570
570
|
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
571
571
|
limit?: P["limit"] | undefined;
|
|
@@ -577,7 +577,7 @@ export declare const createIntegrationPrismaClient: () => import("@prisma/client
|
|
|
577
577
|
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
578
578
|
};
|
|
579
579
|
};
|
|
580
|
-
|
|
580
|
+
account: {
|
|
581
581
|
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
582
582
|
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
583
583
|
limit?: P["limit"] | undefined;
|
|
@@ -589,7 +589,7 @@ export declare const createIntegrationPrismaClient: () => import("@prisma/client
|
|
|
589
589
|
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
590
590
|
};
|
|
591
591
|
};
|
|
592
|
-
|
|
592
|
+
verification: {
|
|
593
593
|
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
594
594
|
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
595
595
|
limit?: P["limit"] | undefined;
|
|
@@ -601,7 +601,7 @@ export declare const createIntegrationPrismaClient: () => import("@prisma/client
|
|
|
601
601
|
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
602
602
|
};
|
|
603
603
|
};
|
|
604
|
-
|
|
604
|
+
invitation: {
|
|
605
605
|
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
606
606
|
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
607
607
|
limit?: P["limit"] | undefined;
|
|
@@ -852,23 +852,23 @@ export declare const createTestUser: (prisma: PrismaClientType, overrides?: Part
|
|
|
852
852
|
name: string;
|
|
853
853
|
}>) => Promise<{
|
|
854
854
|
id: string;
|
|
855
|
-
image: string | null;
|
|
856
855
|
createdAt: Date;
|
|
857
|
-
name: string;
|
|
858
|
-
email: string;
|
|
859
856
|
firstname: string;
|
|
860
857
|
lastname: string;
|
|
858
|
+
email: string;
|
|
859
|
+
image: string | null;
|
|
860
|
+
name: string;
|
|
861
861
|
updatedAt: Date;
|
|
862
862
|
emailVerified: boolean;
|
|
863
863
|
}>;
|
|
864
864
|
declare const ensureSeededUser: (prisma: PrismaClientType, fixtureKey: string) => Promise<{
|
|
865
865
|
id: string;
|
|
866
|
-
image: string | null;
|
|
867
866
|
createdAt: Date;
|
|
868
|
-
name: string;
|
|
869
|
-
email: string;
|
|
870
867
|
firstname: string;
|
|
871
868
|
lastname: string;
|
|
869
|
+
email: string;
|
|
870
|
+
image: string | null;
|
|
871
|
+
name: string;
|
|
872
872
|
updatedAt: Date;
|
|
873
873
|
emailVerified: boolean;
|
|
874
874
|
}>;
|
|
@@ -895,12 +895,12 @@ export declare const createSeededApiContext: (prisma: PrismaClientType, context:
|
|
|
895
895
|
};
|
|
896
896
|
dbUser: {
|
|
897
897
|
id: string;
|
|
898
|
-
image: string | null;
|
|
899
898
|
createdAt: Date;
|
|
900
|
-
name: string;
|
|
901
|
-
email: string;
|
|
902
899
|
firstname: string;
|
|
903
900
|
lastname: string;
|
|
901
|
+
email: string;
|
|
902
|
+
image: string | null;
|
|
903
|
+
name: string;
|
|
904
904
|
updatedAt: Date;
|
|
905
905
|
emailVerified: boolean;
|
|
906
906
|
};
|
|
@@ -922,12 +922,12 @@ export declare const createSeededTestContext: (prisma: PrismaClientType, fixture
|
|
|
922
922
|
};
|
|
923
923
|
dbUser: {
|
|
924
924
|
id: string;
|
|
925
|
-
image: string | null;
|
|
926
925
|
createdAt: Date;
|
|
927
|
-
name: string;
|
|
928
|
-
email: string;
|
|
929
926
|
firstname: string;
|
|
930
927
|
lastname: string;
|
|
928
|
+
email: string;
|
|
929
|
+
image: string | null;
|
|
930
|
+
name: string;
|
|
931
931
|
updatedAt: Date;
|
|
932
932
|
emailVerified: boolean;
|
|
933
933
|
};
|
|
@@ -947,12 +947,12 @@ export declare const createAuthenticatedTestContext: (prisma: PrismaClientType,
|
|
|
947
947
|
};
|
|
948
948
|
dbUser: {
|
|
949
949
|
id: string;
|
|
950
|
-
image: string | null;
|
|
951
950
|
createdAt: Date;
|
|
952
|
-
name: string;
|
|
953
|
-
email: string;
|
|
954
951
|
firstname: string;
|
|
955
952
|
lastname: string;
|
|
953
|
+
email: string;
|
|
954
|
+
image: string | null;
|
|
955
|
+
name: string;
|
|
956
956
|
updatedAt: Date;
|
|
957
957
|
emailVerified: boolean;
|
|
958
958
|
};
|