@shophost/rest-api 0.1.16 → 0.1.17
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 +9 -6
- package/src/contracts/cart.contract.d.ts +6 -140
- package/src/contracts/customers.contract.d.ts +3 -3
- package/src/contracts/index.d.ts +100 -515
- package/src/contracts/manufacturers.contract.d.ts +15 -15
- package/src/contracts/orders.contract.d.ts +13 -13
- package/src/contracts/organizations.contract.d.ts +3 -3
- package/src/contracts/product-categories.contract.d.ts +18 -18
- package/src/contracts/products.contract.d.ts +24 -292
- package/src/contracts/shipping-methods.contract.d.ts +6 -6
- package/src/contracts/shipping.contract.d.ts +15 -28
- package/src/db/__generated__/client/internal/class.js +3 -3
- package/src/db/__generated__/client/internal/class.js.map +1 -1
- package/src/db/__generated__/client/internal/prismaNamespace.d.ts +11 -11
- package/src/db/__generated__/client/internal/prismaNamespace.js +4 -4
- package/src/db/__generated__/client/libquery_engine-darwin-arm64.dylib.node +0 -0
- package/src/db/__generated__/client/libquery_engine-debian-openssl-3.0.x.so.node +0 -0
- package/src/db/__generated__/client/libquery_engine-rhel-openssl-3.0.x.so.node +0 -0
- package/src/lib/better-auth.lib.d.ts +1 -10202
- package/src/lib/better-auth.lib.js +0 -1
- package/src/lib/better-auth.lib.js.map +1 -1
- package/src/routers/cart.router.d.ts +6 -140
- package/src/routers/manufacturer.router.d.ts +15 -15
- package/src/routers/order.router.d.ts +13 -13
- package/src/routers/organization.router.d.ts +3 -3
- package/src/routers/product-category.router.d.ts +18 -18
- package/src/routers/product.router.d.ts +24 -292
- package/src/routers/shipping-method.router.d.ts +6 -6
- package/src/routers/shipping.router.d.ts +15 -28
- package/src/schemas/address.schema.d.ts +9 -16
- package/src/schemas/cart.schema.d.ts +6 -140
- package/src/schemas/manufacturer.schema.d.ts +3 -3
- package/src/schemas/order.schema.d.ts +3 -3
- package/src/schemas/organization.schema.d.ts +3 -3
- package/src/schemas/params.schema.d.ts +3 -3
- package/src/schemas/product-category.schema.d.ts +6 -6
- package/src/schemas/product-modifier.schema.d.ts +3 -3
- package/src/schemas/product.schema.d.ts +9 -143
- package/src/schemas/recipient.schema.d.ts +3 -3
- package/src/schemas/shipping-method.schema.d.ts +3 -3
package/src/contracts/index.d.ts
CHANGED
|
@@ -952,7 +952,7 @@ export declare const contract: {
|
|
|
952
952
|
description: "Creates a new organization";
|
|
953
953
|
method: "POST";
|
|
954
954
|
summary: "Create Organization";
|
|
955
|
-
body: import("zod").ZodObject<
|
|
955
|
+
body: import("zod").ZodObject<Pick<{
|
|
956
956
|
id: import("zod").ZodString;
|
|
957
957
|
name: import("zod").ZodString;
|
|
958
958
|
phone: import("zod").ZodString;
|
|
@@ -1154,7 +1154,7 @@ export declare const contract: {
|
|
|
1154
1154
|
filename: string;
|
|
1155
1155
|
url: string;
|
|
1156
1156
|
}>>>;
|
|
1157
|
-
}, "email" | "name" | "phone" | "logoFile"
|
|
1157
|
+
}, "email" | "name" | "phone" | "logoFile"> & {
|
|
1158
1158
|
logoId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
1159
1159
|
address: import("zod").ZodObject<Pick<{
|
|
1160
1160
|
id: import("zod").ZodString;
|
|
@@ -1186,7 +1186,7 @@ export declare const contract: {
|
|
|
1186
1186
|
addressLineTwo?: string | null | undefined;
|
|
1187
1187
|
zipCode?: string | undefined;
|
|
1188
1188
|
}>;
|
|
1189
|
-
}
|
|
1189
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1190
1190
|
name: string;
|
|
1191
1191
|
phone: string;
|
|
1192
1192
|
address: {
|
|
@@ -2401,7 +2401,7 @@ export declare const contract: {
|
|
|
2401
2401
|
filename: string;
|
|
2402
2402
|
url: string;
|
|
2403
2403
|
} | null | undefined;
|
|
2404
|
-
}>, import("zod").ZodObject<
|
|
2404
|
+
}>, import("zod").ZodObject<Omit<{
|
|
2405
2405
|
id: import("zod").ZodString;
|
|
2406
2406
|
name: import("zod").ZodString;
|
|
2407
2407
|
logo: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
|
|
@@ -2434,9 +2434,9 @@ export declare const contract: {
|
|
|
2434
2434
|
locale: string;
|
|
2435
2435
|
about?: string | null | undefined;
|
|
2436
2436
|
}>, "many">>;
|
|
2437
|
-
}, "translations"
|
|
2437
|
+
}, "translations"> & {
|
|
2438
2438
|
about: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>>;
|
|
2439
|
-
}
|
|
2439
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
2440
2440
|
id: string;
|
|
2441
2441
|
createdAt: Date;
|
|
2442
2442
|
name: string;
|
|
@@ -2775,11 +2775,11 @@ export declare const contract: {
|
|
|
2775
2775
|
};
|
|
2776
2776
|
getManufacturer: {
|
|
2777
2777
|
method: "GET";
|
|
2778
|
-
pathParams: import("zod").ZodObject<
|
|
2778
|
+
pathParams: import("zod").ZodObject<{
|
|
2779
2779
|
organizationId: import("zod").ZodString;
|
|
2780
|
-
}
|
|
2780
|
+
} & {
|
|
2781
2781
|
id: import("zod").ZodString;
|
|
2782
|
-
}
|
|
2782
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
2783
2783
|
id: string;
|
|
2784
2784
|
organizationId: string;
|
|
2785
2785
|
}, {
|
|
@@ -2869,7 +2869,7 @@ export declare const contract: {
|
|
|
2869
2869
|
filename: string;
|
|
2870
2870
|
url: string;
|
|
2871
2871
|
} | null | undefined;
|
|
2872
|
-
}>, import("zod").ZodObject<
|
|
2872
|
+
}>, import("zod").ZodObject<Omit<{
|
|
2873
2873
|
id: import("zod").ZodString;
|
|
2874
2874
|
name: import("zod").ZodString;
|
|
2875
2875
|
logo: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
|
|
@@ -2902,9 +2902,9 @@ export declare const contract: {
|
|
|
2902
2902
|
locale: string;
|
|
2903
2903
|
about?: string | null | undefined;
|
|
2904
2904
|
}>, "many">>;
|
|
2905
|
-
}, "translations"
|
|
2905
|
+
}, "translations"> & {
|
|
2906
2906
|
about: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>>;
|
|
2907
|
-
}
|
|
2907
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
2908
2908
|
id: string;
|
|
2909
2909
|
createdAt: Date;
|
|
2910
2910
|
name: string;
|
|
@@ -2954,11 +2954,11 @@ export declare const contract: {
|
|
|
2954
2954
|
updateManufacturer: {
|
|
2955
2955
|
description: "Updates an existing manufacturer";
|
|
2956
2956
|
method: "PUT";
|
|
2957
|
-
pathParams: import("zod").ZodObject<
|
|
2957
|
+
pathParams: import("zod").ZodObject<{
|
|
2958
2958
|
organizationId: import("zod").ZodString;
|
|
2959
|
-
}
|
|
2959
|
+
} & {
|
|
2960
2960
|
id: import("zod").ZodString;
|
|
2961
|
-
}
|
|
2961
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
2962
2962
|
id: string;
|
|
2963
2963
|
organizationId: string;
|
|
2964
2964
|
}, {
|
|
@@ -3141,11 +3141,11 @@ export declare const contract: {
|
|
|
3141
3141
|
deleteManufacturer: {
|
|
3142
3142
|
description: "Soft deletes a manufacturer";
|
|
3143
3143
|
method: "DELETE";
|
|
3144
|
-
pathParams: import("zod").ZodObject<
|
|
3144
|
+
pathParams: import("zod").ZodObject<{
|
|
3145
3145
|
organizationId: import("zod").ZodString;
|
|
3146
|
-
}
|
|
3146
|
+
} & {
|
|
3147
3147
|
id: import("zod").ZodString;
|
|
3148
|
-
}
|
|
3148
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
3149
3149
|
id: string;
|
|
3150
3150
|
organizationId: string;
|
|
3151
3151
|
}, {
|
|
@@ -3491,7 +3491,7 @@ export declare const contract: {
|
|
|
3491
3491
|
url: string;
|
|
3492
3492
|
} | null | undefined;
|
|
3493
3493
|
publishedAt?: Date | null | undefined;
|
|
3494
|
-
}>, import("zod").ZodObject<
|
|
3494
|
+
}>, import("zod").ZodObject<Omit<{
|
|
3495
3495
|
id: import("zod").ZodString;
|
|
3496
3496
|
slug: import("zod").ZodString;
|
|
3497
3497
|
image: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
|
|
@@ -3528,10 +3528,10 @@ export declare const contract: {
|
|
|
3528
3528
|
title?: string | undefined;
|
|
3529
3529
|
description?: string | null | undefined;
|
|
3530
3530
|
}>, "many">;
|
|
3531
|
-
}, "translations"
|
|
3531
|
+
}, "translations"> & {
|
|
3532
3532
|
title: import("zod").ZodDefault<import("zod").ZodString>;
|
|
3533
3533
|
description: import("zod").ZodDefault<import("zod").ZodString>;
|
|
3534
|
-
}
|
|
3534
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
3535
3535
|
id: string;
|
|
3536
3536
|
slug: string;
|
|
3537
3537
|
createdAt: Date;
|
|
@@ -3678,7 +3678,7 @@ export declare const contract: {
|
|
|
3678
3678
|
organizationId: string;
|
|
3679
3679
|
}>;
|
|
3680
3680
|
summary: "Create Product Category";
|
|
3681
|
-
body: import("zod").ZodEffects<import("zod").ZodObject<
|
|
3681
|
+
body: import("zod").ZodEffects<import("zod").ZodObject<Pick<{
|
|
3682
3682
|
id: import("zod").ZodString;
|
|
3683
3683
|
slug: import("zod").ZodString;
|
|
3684
3684
|
image: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
|
|
@@ -3715,10 +3715,10 @@ export declare const contract: {
|
|
|
3715
3715
|
title?: string | undefined;
|
|
3716
3716
|
description?: string | null | undefined;
|
|
3717
3717
|
}>, "many">;
|
|
3718
|
-
}, "translations" | "slug" | "image"
|
|
3718
|
+
}, "translations" | "slug" | "image"> & {
|
|
3719
3719
|
defaultLocale: import("zod").ZodString;
|
|
3720
3720
|
imageId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3721
|
-
}
|
|
3721
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
3722
3722
|
translations: {
|
|
3723
3723
|
locale: string;
|
|
3724
3724
|
title: string;
|
|
@@ -3902,11 +3902,11 @@ export declare const contract: {
|
|
|
3902
3902
|
getProductCategory: {
|
|
3903
3903
|
description: "Fetches a specific product category by ID";
|
|
3904
3904
|
method: "GET";
|
|
3905
|
-
pathParams: import("zod").ZodObject<
|
|
3905
|
+
pathParams: import("zod").ZodObject<{
|
|
3906
3906
|
organizationId: import("zod").ZodString;
|
|
3907
|
-
}
|
|
3907
|
+
} & {
|
|
3908
3908
|
id: import("zod").ZodString;
|
|
3909
|
-
}
|
|
3909
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
3910
3910
|
id: string;
|
|
3911
3911
|
organizationId: string;
|
|
3912
3912
|
}, {
|
|
@@ -4004,7 +4004,7 @@ export declare const contract: {
|
|
|
4004
4004
|
url: string;
|
|
4005
4005
|
} | null | undefined;
|
|
4006
4006
|
publishedAt?: Date | null | undefined;
|
|
4007
|
-
}>, import("zod").ZodObject<
|
|
4007
|
+
}>, import("zod").ZodObject<Omit<{
|
|
4008
4008
|
id: import("zod").ZodString;
|
|
4009
4009
|
slug: import("zod").ZodString;
|
|
4010
4010
|
image: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
|
|
@@ -4041,10 +4041,10 @@ export declare const contract: {
|
|
|
4041
4041
|
title?: string | undefined;
|
|
4042
4042
|
description?: string | null | undefined;
|
|
4043
4043
|
}>, "many">;
|
|
4044
|
-
}, "translations"
|
|
4044
|
+
}, "translations"> & {
|
|
4045
4045
|
title: import("zod").ZodDefault<import("zod").ZodString>;
|
|
4046
4046
|
description: import("zod").ZodDefault<import("zod").ZodString>;
|
|
4047
|
-
}
|
|
4047
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
4048
4048
|
id: string;
|
|
4049
4049
|
slug: string;
|
|
4050
4050
|
createdAt: Date;
|
|
@@ -4098,11 +4098,11 @@ export declare const contract: {
|
|
|
4098
4098
|
updateProductCategory: {
|
|
4099
4099
|
description: "Updates a specific product category by ID";
|
|
4100
4100
|
method: "PATCH";
|
|
4101
|
-
pathParams: import("zod").ZodObject<
|
|
4101
|
+
pathParams: import("zod").ZodObject<{
|
|
4102
4102
|
organizationId: import("zod").ZodString;
|
|
4103
|
-
}
|
|
4103
|
+
} & {
|
|
4104
4104
|
id: import("zod").ZodString;
|
|
4105
|
-
}
|
|
4105
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
4106
4106
|
id: string;
|
|
4107
4107
|
organizationId: string;
|
|
4108
4108
|
}, {
|
|
@@ -4464,11 +4464,11 @@ export declare const contract: {
|
|
|
4464
4464
|
deleteProductCategory: {
|
|
4465
4465
|
description: "Deletes a specific product category by ID";
|
|
4466
4466
|
method: "DELETE";
|
|
4467
|
-
pathParams: import("zod").ZodObject<
|
|
4467
|
+
pathParams: import("zod").ZodObject<{
|
|
4468
4468
|
organizationId: import("zod").ZodString;
|
|
4469
|
-
}
|
|
4469
|
+
} & {
|
|
4470
4470
|
id: import("zod").ZodString;
|
|
4471
|
-
}
|
|
4471
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
4472
4472
|
id: string;
|
|
4473
4473
|
organizationId: string;
|
|
4474
4474
|
}, {
|
|
@@ -4879,7 +4879,7 @@ export declare const contract: {
|
|
|
4879
4879
|
}[] | undefined;
|
|
4880
4880
|
}[] | undefined;
|
|
4881
4881
|
manufacturerId?: string | null | undefined;
|
|
4882
|
-
}>, import("zod").ZodObject<Omit<
|
|
4882
|
+
}>, import("zod").ZodObject<Omit<{
|
|
4883
4883
|
id: import("zod").ZodString;
|
|
4884
4884
|
slug: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4885
4885
|
sku: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -4905,140 +4905,6 @@ export declare const contract: {
|
|
|
4905
4905
|
filename: string;
|
|
4906
4906
|
url: string;
|
|
4907
4907
|
}>, "many">>;
|
|
4908
|
-
modifierGroups: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
4909
|
-
id: import("zod").ZodString;
|
|
4910
|
-
selectMin: import("zod").ZodNumber;
|
|
4911
|
-
selectMax: import("zod").ZodNumber;
|
|
4912
|
-
defaultLocale: import("zod").ZodOptional<import("zod").ZodEnum<["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", "id", "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"]>>;
|
|
4913
|
-
modifiers: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
4914
|
-
id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4915
|
-
title: import("zod").ZodString;
|
|
4916
|
-
sku: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4917
|
-
price: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
|
|
4918
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
4919
|
-
title: string;
|
|
4920
|
-
price: number;
|
|
4921
|
-
id?: string | undefined;
|
|
4922
|
-
sku?: string | undefined;
|
|
4923
|
-
}, {
|
|
4924
|
-
title: string;
|
|
4925
|
-
id?: string | undefined;
|
|
4926
|
-
sku?: string | undefined;
|
|
4927
|
-
price?: number | undefined;
|
|
4928
|
-
}>, "many">>;
|
|
4929
|
-
translations: import("zod").ZodArray<import("zod").ZodObject<{
|
|
4930
|
-
locale: import("zod").ZodEnum<["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", "id", "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"]>;
|
|
4931
|
-
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4932
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
4933
|
-
locale: "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";
|
|
4934
|
-
title?: string | undefined;
|
|
4935
|
-
}, {
|
|
4936
|
-
locale: "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";
|
|
4937
|
-
title?: string | undefined;
|
|
4938
|
-
}>, "many">;
|
|
4939
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
4940
|
-
translations: {
|
|
4941
|
-
locale: "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";
|
|
4942
|
-
title?: string | undefined;
|
|
4943
|
-
}[];
|
|
4944
|
-
id: string;
|
|
4945
|
-
selectMin: number;
|
|
4946
|
-
selectMax: number;
|
|
4947
|
-
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;
|
|
4948
|
-
modifiers?: {
|
|
4949
|
-
title: string;
|
|
4950
|
-
price: number;
|
|
4951
|
-
id?: string | undefined;
|
|
4952
|
-
sku?: string | undefined;
|
|
4953
|
-
}[] | undefined;
|
|
4954
|
-
}, {
|
|
4955
|
-
translations: {
|
|
4956
|
-
locale: "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";
|
|
4957
|
-
title?: string | undefined;
|
|
4958
|
-
}[];
|
|
4959
|
-
id: string;
|
|
4960
|
-
selectMin: number;
|
|
4961
|
-
selectMax: number;
|
|
4962
|
-
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;
|
|
4963
|
-
modifiers?: {
|
|
4964
|
-
title: string;
|
|
4965
|
-
id?: string | undefined;
|
|
4966
|
-
sku?: string | undefined;
|
|
4967
|
-
price?: number | undefined;
|
|
4968
|
-
}[] | undefined;
|
|
4969
|
-
}>, "many">>;
|
|
4970
|
-
categories: import("zod").ZodArray<import("zod").ZodObject<{
|
|
4971
|
-
id: import("zod").ZodString;
|
|
4972
|
-
slug: import("zod").ZodString;
|
|
4973
|
-
image: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
|
|
4974
|
-
id: import("zod").ZodString;
|
|
4975
|
-
url: import("zod").ZodString;
|
|
4976
|
-
mimeType: import("zod").ZodString;
|
|
4977
|
-
size: import("zod").ZodNumber;
|
|
4978
|
-
filename: import("zod").ZodString;
|
|
4979
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
4980
|
-
id: string;
|
|
4981
|
-
mimeType: string;
|
|
4982
|
-
size: number;
|
|
4983
|
-
filename: string;
|
|
4984
|
-
url: string;
|
|
4985
|
-
}, {
|
|
4986
|
-
id: string;
|
|
4987
|
-
mimeType: string;
|
|
4988
|
-
size: number;
|
|
4989
|
-
filename: string;
|
|
4990
|
-
url: string;
|
|
4991
|
-
}>>>;
|
|
4992
|
-
createdAt: import("zod").ZodDate;
|
|
4993
|
-
publishedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
|
|
4994
|
-
translations: import("zod").ZodArray<import("zod").ZodObject<{
|
|
4995
|
-
locale: import("zod").ZodString;
|
|
4996
|
-
title: import("zod").ZodDefault<import("zod").ZodString>;
|
|
4997
|
-
description: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodString>>>;
|
|
4998
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
4999
|
-
locale: string;
|
|
5000
|
-
title: string;
|
|
5001
|
-
description?: string | null | undefined;
|
|
5002
|
-
}, {
|
|
5003
|
-
locale: string;
|
|
5004
|
-
title?: string | undefined;
|
|
5005
|
-
description?: string | null | undefined;
|
|
5006
|
-
}>, "many">;
|
|
5007
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
5008
|
-
translations: {
|
|
5009
|
-
locale: string;
|
|
5010
|
-
title: string;
|
|
5011
|
-
description?: string | null | undefined;
|
|
5012
|
-
}[];
|
|
5013
|
-
id: string;
|
|
5014
|
-
slug: string;
|
|
5015
|
-
createdAt: Date;
|
|
5016
|
-
image?: {
|
|
5017
|
-
id: string;
|
|
5018
|
-
mimeType: string;
|
|
5019
|
-
size: number;
|
|
5020
|
-
filename: string;
|
|
5021
|
-
url: string;
|
|
5022
|
-
} | null | undefined;
|
|
5023
|
-
publishedAt?: Date | null | undefined;
|
|
5024
|
-
}, {
|
|
5025
|
-
translations: {
|
|
5026
|
-
locale: string;
|
|
5027
|
-
title?: string | undefined;
|
|
5028
|
-
description?: string | null | undefined;
|
|
5029
|
-
}[];
|
|
5030
|
-
id: string;
|
|
5031
|
-
slug: string;
|
|
5032
|
-
createdAt: Date;
|
|
5033
|
-
image?: {
|
|
5034
|
-
id: string;
|
|
5035
|
-
mimeType: string;
|
|
5036
|
-
size: number;
|
|
5037
|
-
filename: string;
|
|
5038
|
-
url: string;
|
|
5039
|
-
} | null | undefined;
|
|
5040
|
-
publishedAt?: Date | null | undefined;
|
|
5041
|
-
}>, "many">;
|
|
5042
4908
|
manufacturerId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
5043
4909
|
createdAt: import("zod").ZodDate;
|
|
5044
4910
|
publishedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
|
|
@@ -5055,10 +4921,10 @@ export declare const contract: {
|
|
|
5055
4921
|
title?: string | undefined;
|
|
5056
4922
|
description?: string | null | undefined;
|
|
5057
4923
|
}>, "many">>;
|
|
5058
|
-
}
|
|
4924
|
+
} & {
|
|
5059
4925
|
title: import("zod").ZodDefault<import("zod").ZodString>;
|
|
5060
4926
|
description: import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
5061
|
-
modifierGroups: import("zod").ZodArray<import("zod").ZodObject<Omit<
|
|
4927
|
+
modifierGroups: import("zod").ZodArray<import("zod").ZodObject<Omit<{
|
|
5062
4928
|
id: import("zod").ZodString;
|
|
5063
4929
|
selectMin: import("zod").ZodNumber;
|
|
5064
4930
|
selectMax: import("zod").ZodNumber;
|
|
@@ -5089,9 +4955,9 @@ export declare const contract: {
|
|
|
5089
4955
|
locale: "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";
|
|
5090
4956
|
title?: string | undefined;
|
|
5091
4957
|
}>, "many">;
|
|
5092
|
-
}
|
|
4958
|
+
} & {
|
|
5093
4959
|
title: import("zod").ZodNullable<import("zod").ZodDefault<import("zod").ZodString>>;
|
|
5094
|
-
}
|
|
4960
|
+
}, "translations">, "strip", import("zod").ZodTypeAny, {
|
|
5095
4961
|
id: string;
|
|
5096
4962
|
title: string | null;
|
|
5097
4963
|
selectMin: number;
|
|
@@ -5123,7 +4989,7 @@ export declare const contract: {
|
|
|
5123
4989
|
}, {
|
|
5124
4990
|
id: string;
|
|
5125
4991
|
}>, "many">>;
|
|
5126
|
-
}
|
|
4992
|
+
}, "translations">, "strip", import("zod").ZodTypeAny, {
|
|
5127
4993
|
id: string;
|
|
5128
4994
|
createdAt: Date;
|
|
5129
4995
|
title: string;
|
|
@@ -5424,11 +5290,11 @@ export declare const contract: {
|
|
|
5424
5290
|
getProduct: {
|
|
5425
5291
|
description: "Fetches a specific product by ID";
|
|
5426
5292
|
method: "GET";
|
|
5427
|
-
pathParams: import("zod").ZodObject<
|
|
5293
|
+
pathParams: import("zod").ZodObject<{
|
|
5428
5294
|
organizationId: import("zod").ZodString;
|
|
5429
|
-
}
|
|
5295
|
+
} & {
|
|
5430
5296
|
id: import("zod").ZodString;
|
|
5431
|
-
}
|
|
5297
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
5432
5298
|
id: string;
|
|
5433
5299
|
organizationId: string;
|
|
5434
5300
|
}, {
|
|
@@ -5743,7 +5609,7 @@ export declare const contract: {
|
|
|
5743
5609
|
}[] | undefined;
|
|
5744
5610
|
}[] | undefined;
|
|
5745
5611
|
manufacturerId?: string | null | undefined;
|
|
5746
|
-
}>, import("zod").ZodObject<Omit<
|
|
5612
|
+
}>, import("zod").ZodObject<Omit<{
|
|
5747
5613
|
id: import("zod").ZodString;
|
|
5748
5614
|
slug: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5749
5615
|
sku: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -5769,140 +5635,6 @@ export declare const contract: {
|
|
|
5769
5635
|
filename: string;
|
|
5770
5636
|
url: string;
|
|
5771
5637
|
}>, "many">>;
|
|
5772
|
-
modifierGroups: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
5773
|
-
id: import("zod").ZodString;
|
|
5774
|
-
selectMin: import("zod").ZodNumber;
|
|
5775
|
-
selectMax: import("zod").ZodNumber;
|
|
5776
|
-
defaultLocale: import("zod").ZodOptional<import("zod").ZodEnum<["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", "id", "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"]>>;
|
|
5777
|
-
modifiers: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
5778
|
-
id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5779
|
-
title: import("zod").ZodString;
|
|
5780
|
-
sku: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5781
|
-
price: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
|
|
5782
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
5783
|
-
title: string;
|
|
5784
|
-
price: number;
|
|
5785
|
-
id?: string | undefined;
|
|
5786
|
-
sku?: string | undefined;
|
|
5787
|
-
}, {
|
|
5788
|
-
title: string;
|
|
5789
|
-
id?: string | undefined;
|
|
5790
|
-
sku?: string | undefined;
|
|
5791
|
-
price?: number | undefined;
|
|
5792
|
-
}>, "many">>;
|
|
5793
|
-
translations: import("zod").ZodArray<import("zod").ZodObject<{
|
|
5794
|
-
locale: import("zod").ZodEnum<["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", "id", "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"]>;
|
|
5795
|
-
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5796
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
5797
|
-
locale: "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";
|
|
5798
|
-
title?: string | undefined;
|
|
5799
|
-
}, {
|
|
5800
|
-
locale: "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";
|
|
5801
|
-
title?: string | undefined;
|
|
5802
|
-
}>, "many">;
|
|
5803
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
5804
|
-
translations: {
|
|
5805
|
-
locale: "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";
|
|
5806
|
-
title?: string | undefined;
|
|
5807
|
-
}[];
|
|
5808
|
-
id: string;
|
|
5809
|
-
selectMin: number;
|
|
5810
|
-
selectMax: number;
|
|
5811
|
-
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;
|
|
5812
|
-
modifiers?: {
|
|
5813
|
-
title: string;
|
|
5814
|
-
price: number;
|
|
5815
|
-
id?: string | undefined;
|
|
5816
|
-
sku?: string | undefined;
|
|
5817
|
-
}[] | undefined;
|
|
5818
|
-
}, {
|
|
5819
|
-
translations: {
|
|
5820
|
-
locale: "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";
|
|
5821
|
-
title?: string | undefined;
|
|
5822
|
-
}[];
|
|
5823
|
-
id: string;
|
|
5824
|
-
selectMin: number;
|
|
5825
|
-
selectMax: number;
|
|
5826
|
-
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;
|
|
5827
|
-
modifiers?: {
|
|
5828
|
-
title: string;
|
|
5829
|
-
id?: string | undefined;
|
|
5830
|
-
sku?: string | undefined;
|
|
5831
|
-
price?: number | undefined;
|
|
5832
|
-
}[] | undefined;
|
|
5833
|
-
}>, "many">>;
|
|
5834
|
-
categories: import("zod").ZodArray<import("zod").ZodObject<{
|
|
5835
|
-
id: import("zod").ZodString;
|
|
5836
|
-
slug: import("zod").ZodString;
|
|
5837
|
-
image: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
|
|
5838
|
-
id: import("zod").ZodString;
|
|
5839
|
-
url: import("zod").ZodString;
|
|
5840
|
-
mimeType: import("zod").ZodString;
|
|
5841
|
-
size: import("zod").ZodNumber;
|
|
5842
|
-
filename: import("zod").ZodString;
|
|
5843
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
5844
|
-
id: string;
|
|
5845
|
-
mimeType: string;
|
|
5846
|
-
size: number;
|
|
5847
|
-
filename: string;
|
|
5848
|
-
url: string;
|
|
5849
|
-
}, {
|
|
5850
|
-
id: string;
|
|
5851
|
-
mimeType: string;
|
|
5852
|
-
size: number;
|
|
5853
|
-
filename: string;
|
|
5854
|
-
url: string;
|
|
5855
|
-
}>>>;
|
|
5856
|
-
createdAt: import("zod").ZodDate;
|
|
5857
|
-
publishedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
|
|
5858
|
-
translations: import("zod").ZodArray<import("zod").ZodObject<{
|
|
5859
|
-
locale: import("zod").ZodString;
|
|
5860
|
-
title: import("zod").ZodDefault<import("zod").ZodString>;
|
|
5861
|
-
description: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodString>>>;
|
|
5862
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
5863
|
-
locale: string;
|
|
5864
|
-
title: string;
|
|
5865
|
-
description?: string | null | undefined;
|
|
5866
|
-
}, {
|
|
5867
|
-
locale: string;
|
|
5868
|
-
title?: string | undefined;
|
|
5869
|
-
description?: string | null | undefined;
|
|
5870
|
-
}>, "many">;
|
|
5871
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
5872
|
-
translations: {
|
|
5873
|
-
locale: string;
|
|
5874
|
-
title: string;
|
|
5875
|
-
description?: string | null | undefined;
|
|
5876
|
-
}[];
|
|
5877
|
-
id: string;
|
|
5878
|
-
slug: string;
|
|
5879
|
-
createdAt: Date;
|
|
5880
|
-
image?: {
|
|
5881
|
-
id: string;
|
|
5882
|
-
mimeType: string;
|
|
5883
|
-
size: number;
|
|
5884
|
-
filename: string;
|
|
5885
|
-
url: string;
|
|
5886
|
-
} | null | undefined;
|
|
5887
|
-
publishedAt?: Date | null | undefined;
|
|
5888
|
-
}, {
|
|
5889
|
-
translations: {
|
|
5890
|
-
locale: string;
|
|
5891
|
-
title?: string | undefined;
|
|
5892
|
-
description?: string | null | undefined;
|
|
5893
|
-
}[];
|
|
5894
|
-
id: string;
|
|
5895
|
-
slug: string;
|
|
5896
|
-
createdAt: Date;
|
|
5897
|
-
image?: {
|
|
5898
|
-
id: string;
|
|
5899
|
-
mimeType: string;
|
|
5900
|
-
size: number;
|
|
5901
|
-
filename: string;
|
|
5902
|
-
url: string;
|
|
5903
|
-
} | null | undefined;
|
|
5904
|
-
publishedAt?: Date | null | undefined;
|
|
5905
|
-
}>, "many">;
|
|
5906
5638
|
manufacturerId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
5907
5639
|
createdAt: import("zod").ZodDate;
|
|
5908
5640
|
publishedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
|
|
@@ -5919,10 +5651,10 @@ export declare const contract: {
|
|
|
5919
5651
|
title?: string | undefined;
|
|
5920
5652
|
description?: string | null | undefined;
|
|
5921
5653
|
}>, "many">>;
|
|
5922
|
-
}
|
|
5654
|
+
} & {
|
|
5923
5655
|
title: import("zod").ZodDefault<import("zod").ZodString>;
|
|
5924
5656
|
description: import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
5925
|
-
modifierGroups: import("zod").ZodArray<import("zod").ZodObject<Omit<
|
|
5657
|
+
modifierGroups: import("zod").ZodArray<import("zod").ZodObject<Omit<{
|
|
5926
5658
|
id: import("zod").ZodString;
|
|
5927
5659
|
selectMin: import("zod").ZodNumber;
|
|
5928
5660
|
selectMax: import("zod").ZodNumber;
|
|
@@ -5953,9 +5685,9 @@ export declare const contract: {
|
|
|
5953
5685
|
locale: "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";
|
|
5954
5686
|
title?: string | undefined;
|
|
5955
5687
|
}>, "many">;
|
|
5956
|
-
}
|
|
5688
|
+
} & {
|
|
5957
5689
|
title: import("zod").ZodNullable<import("zod").ZodDefault<import("zod").ZodString>>;
|
|
5958
|
-
}
|
|
5690
|
+
}, "translations">, "strip", import("zod").ZodTypeAny, {
|
|
5959
5691
|
id: string;
|
|
5960
5692
|
title: string | null;
|
|
5961
5693
|
selectMin: number;
|
|
@@ -5987,7 +5719,7 @@ export declare const contract: {
|
|
|
5987
5719
|
}, {
|
|
5988
5720
|
id: string;
|
|
5989
5721
|
}>, "many">>;
|
|
5990
|
-
}
|
|
5722
|
+
}, "translations">, "strip", import("zod").ZodTypeAny, {
|
|
5991
5723
|
id: string;
|
|
5992
5724
|
createdAt: Date;
|
|
5993
5725
|
title: string;
|
|
@@ -6083,11 +5815,11 @@ export declare const contract: {
|
|
|
6083
5815
|
updateProduct: {
|
|
6084
5816
|
description: "Updates a specific product by ID";
|
|
6085
5817
|
method: "PATCH";
|
|
6086
|
-
pathParams: import("zod").ZodObject<
|
|
5818
|
+
pathParams: import("zod").ZodObject<{
|
|
6087
5819
|
organizationId: import("zod").ZodString;
|
|
6088
|
-
}
|
|
5820
|
+
} & {
|
|
6089
5821
|
id: import("zod").ZodString;
|
|
6090
|
-
}
|
|
5822
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
6091
5823
|
id: string;
|
|
6092
5824
|
organizationId: string;
|
|
6093
5825
|
}, {
|
|
@@ -6768,7 +6500,7 @@ export declare const contract: {
|
|
|
6768
6500
|
organizationId: string;
|
|
6769
6501
|
}>;
|
|
6770
6502
|
summary: "Create Product";
|
|
6771
|
-
body: import("zod").ZodEffects<import("zod").ZodObject<
|
|
6503
|
+
body: import("zod").ZodEffects<import("zod").ZodObject<Pick<{
|
|
6772
6504
|
id: import("zod").ZodString;
|
|
6773
6505
|
slug: import("zod").ZodOptional<import("zod").ZodString>;
|
|
6774
6506
|
sku: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -6944,7 +6676,7 @@ export declare const contract: {
|
|
|
6944
6676
|
title?: string | undefined;
|
|
6945
6677
|
description?: string | null | undefined;
|
|
6946
6678
|
}>, "many">>;
|
|
6947
|
-
}, "translations" | "slug" | "sku" | "basePrice" | "discountedBasePrice" | "currency" | "images" | "manufacturerId"
|
|
6679
|
+
}, "translations" | "slug" | "sku" | "basePrice" | "discountedBasePrice" | "currency" | "images" | "manufacturerId"> & {
|
|
6948
6680
|
defaultLocale: import("zod").ZodString;
|
|
6949
6681
|
modifierGroups: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodObject<{
|
|
6950
6682
|
selectMin: import("zod").ZodNumber;
|
|
@@ -7090,7 +6822,7 @@ export declare const contract: {
|
|
|
7090
6822
|
}[] | undefined;
|
|
7091
6823
|
}>, "many">>;
|
|
7092
6824
|
categories: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
7093
|
-
}
|
|
6825
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
7094
6826
|
defaultLocale: string;
|
|
7095
6827
|
basePrice: number;
|
|
7096
6828
|
discountedBasePrice: number | null;
|
|
@@ -7922,11 +7654,11 @@ export declare const contract: {
|
|
|
7922
7654
|
deleteProduct: {
|
|
7923
7655
|
description: "Deletes a specific product by ID";
|
|
7924
7656
|
method: "DELETE";
|
|
7925
|
-
pathParams: import("zod").ZodObject<
|
|
7657
|
+
pathParams: import("zod").ZodObject<{
|
|
7926
7658
|
organizationId: import("zod").ZodString;
|
|
7927
|
-
}
|
|
7659
|
+
} & {
|
|
7928
7660
|
id: import("zod").ZodString;
|
|
7929
|
-
}
|
|
7661
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
7930
7662
|
id: string;
|
|
7931
7663
|
organizationId: string;
|
|
7932
7664
|
}, {
|
|
@@ -8500,11 +8232,11 @@ export declare const contract: {
|
|
|
8500
8232
|
shippingMethod: {
|
|
8501
8233
|
getShippingMethod: {
|
|
8502
8234
|
method: "GET";
|
|
8503
|
-
pathParams: import("zod").ZodObject<
|
|
8235
|
+
pathParams: import("zod").ZodObject<{
|
|
8504
8236
|
organizationId: import("zod").ZodString;
|
|
8505
|
-
}
|
|
8237
|
+
} & {
|
|
8506
8238
|
id: import("zod").ZodString;
|
|
8507
|
-
}
|
|
8239
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
8508
8240
|
id: string;
|
|
8509
8241
|
organizationId: string;
|
|
8510
8242
|
}, {
|
|
@@ -9148,7 +8880,7 @@ export declare const contract: {
|
|
|
9148
8880
|
organizationId: string;
|
|
9149
8881
|
}>;
|
|
9150
8882
|
summary: "Create Shipping Method";
|
|
9151
|
-
body: import("zod").ZodObject<
|
|
8883
|
+
body: import("zod").ZodObject<Pick<{
|
|
9152
8884
|
id: import("zod").ZodString;
|
|
9153
8885
|
title: import("zod").ZodString;
|
|
9154
8886
|
providerName: import("zod").ZodString;
|
|
@@ -9218,9 +8950,9 @@ export declare const contract: {
|
|
|
9218
8950
|
}>>;
|
|
9219
8951
|
createdAt: import("zod").ZodDate;
|
|
9220
8952
|
updatedAt: import("zod").ZodDate;
|
|
9221
|
-
}, "title" | "providerName" | "providerLogo" | "requireDateOfDelivery" | "shippingZones"
|
|
8953
|
+
}, "title" | "providerName" | "providerLogo" | "requireDateOfDelivery" | "shippingZones"> & {
|
|
9222
8954
|
providerLogoId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
9223
|
-
}
|
|
8955
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
9224
8956
|
title: string;
|
|
9225
8957
|
providerName: string;
|
|
9226
8958
|
shippingZones: {
|
|
@@ -10851,7 +10583,7 @@ export declare const contract: {
|
|
|
10851
10583
|
organizationId: string;
|
|
10852
10584
|
}>;
|
|
10853
10585
|
summary: "Create Order";
|
|
10854
|
-
body: import("zod").ZodEffects<import("zod").ZodObject<
|
|
10586
|
+
body: import("zod").ZodEffects<import("zod").ZodObject<{
|
|
10855
10587
|
items: import("zod").ZodArray<import("zod").ZodObject<{
|
|
10856
10588
|
productId: import("zod").ZodString;
|
|
10857
10589
|
quantity: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
|
|
@@ -10902,7 +10634,7 @@ export declare const contract: {
|
|
|
10902
10634
|
quantity?: number | undefined;
|
|
10903
10635
|
}>, "many">;
|
|
10904
10636
|
shippingMethodId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
10905
|
-
}
|
|
10637
|
+
} & {
|
|
10906
10638
|
fulfilmentMethod: import("zod").ZodDefault<import("zod").ZodEnum<["delivery", "pickup"]>>;
|
|
10907
10639
|
payment: import("zod").ZodObject<{
|
|
10908
10640
|
provider: import("zod").ZodEnum<["stripe", "revolut", "payu", "not_applicable"]>;
|
|
@@ -10915,7 +10647,7 @@ export declare const contract: {
|
|
|
10915
10647
|
method: "card" | "blik" | "cash_on_delivery" | "paypal";
|
|
10916
10648
|
}>;
|
|
10917
10649
|
checkoutBaseUrl: import("zod").ZodString;
|
|
10918
|
-
}
|
|
10650
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
10919
10651
|
items: {
|
|
10920
10652
|
modifierGroups: {
|
|
10921
10653
|
id: string;
|
|
@@ -11998,11 +11730,11 @@ export declare const contract: {
|
|
|
11998
11730
|
};
|
|
11999
11731
|
getOrder: {
|
|
12000
11732
|
method: "GET";
|
|
12001
|
-
pathParams: import("zod").ZodObject<
|
|
11733
|
+
pathParams: import("zod").ZodObject<{
|
|
12002
11734
|
organizationId: import("zod").ZodString;
|
|
12003
|
-
}
|
|
11735
|
+
} & {
|
|
12004
11736
|
id: import("zod").ZodString;
|
|
12005
|
-
}
|
|
11737
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
12006
11738
|
id: string;
|
|
12007
11739
|
organizationId: string;
|
|
12008
11740
|
}, {
|
|
@@ -12803,13 +12535,13 @@ export declare const contract: {
|
|
|
12803
12535
|
updateStatus: {
|
|
12804
12536
|
description: "Changes the status of an existing order based on the operation";
|
|
12805
12537
|
method: "POST";
|
|
12806
|
-
pathParams: import("zod").ZodObject<
|
|
12538
|
+
pathParams: import("zod").ZodObject<{
|
|
12807
12539
|
organizationId: import("zod").ZodString;
|
|
12808
|
-
}
|
|
12540
|
+
} & {
|
|
12809
12541
|
id: import("zod").ZodString;
|
|
12810
|
-
}
|
|
12542
|
+
} & {
|
|
12811
12543
|
operation: import("zod").ZodEnum<["draft", "pending", "accepted", "ready-for-dispatch", "dispatched", "completed", "cancelled"]>;
|
|
12812
|
-
}
|
|
12544
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
12813
12545
|
id: string;
|
|
12814
12546
|
organizationId: string;
|
|
12815
12547
|
operation: "pending" | "draft" | "accepted" | "ready-for-dispatch" | "dispatched" | "completed" | "cancelled";
|
|
@@ -13623,11 +13355,11 @@ export declare const contract: {
|
|
|
13623
13355
|
deleteOrder: {
|
|
13624
13356
|
description: "Soft deletes order";
|
|
13625
13357
|
method: "DELETE";
|
|
13626
|
-
pathParams: import("zod").ZodObject<
|
|
13358
|
+
pathParams: import("zod").ZodObject<{
|
|
13627
13359
|
organizationId: import("zod").ZodString;
|
|
13628
|
-
}
|
|
13360
|
+
} & {
|
|
13629
13361
|
id: import("zod").ZodString;
|
|
13630
|
-
}
|
|
13362
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
13631
13363
|
id: string;
|
|
13632
13364
|
organizationId: string;
|
|
13633
13365
|
}, {
|
|
@@ -13791,7 +13523,7 @@ export declare const contract: {
|
|
|
13791
13523
|
}>>;
|
|
13792
13524
|
responses: {
|
|
13793
13525
|
200: import("zod").ZodObject<{
|
|
13794
|
-
products: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<Omit<
|
|
13526
|
+
products: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<Omit<{
|
|
13795
13527
|
id: import("zod").ZodString;
|
|
13796
13528
|
slug: import("zod").ZodOptional<import("zod").ZodString>;
|
|
13797
13529
|
sku: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -13817,140 +13549,6 @@ export declare const contract: {
|
|
|
13817
13549
|
filename: string;
|
|
13818
13550
|
url: string;
|
|
13819
13551
|
}>, "many">>;
|
|
13820
|
-
modifierGroups: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
13821
|
-
id: import("zod").ZodString;
|
|
13822
|
-
selectMin: import("zod").ZodNumber;
|
|
13823
|
-
selectMax: import("zod").ZodNumber;
|
|
13824
|
-
defaultLocale: import("zod").ZodOptional<import("zod").ZodEnum<["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", "id", "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"]>>;
|
|
13825
|
-
modifiers: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
13826
|
-
id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
13827
|
-
title: import("zod").ZodString;
|
|
13828
|
-
sku: import("zod").ZodOptional<import("zod").ZodString>;
|
|
13829
|
-
price: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
|
|
13830
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
13831
|
-
title: string;
|
|
13832
|
-
price: number;
|
|
13833
|
-
id?: string | undefined;
|
|
13834
|
-
sku?: string | undefined;
|
|
13835
|
-
}, {
|
|
13836
|
-
title: string;
|
|
13837
|
-
id?: string | undefined;
|
|
13838
|
-
sku?: string | undefined;
|
|
13839
|
-
price?: number | undefined;
|
|
13840
|
-
}>, "many">>;
|
|
13841
|
-
translations: import("zod").ZodArray<import("zod").ZodObject<{
|
|
13842
|
-
locale: import("zod").ZodEnum<["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", "id", "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"]>;
|
|
13843
|
-
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
13844
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
13845
|
-
locale: "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";
|
|
13846
|
-
title?: string | undefined;
|
|
13847
|
-
}, {
|
|
13848
|
-
locale: "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";
|
|
13849
|
-
title?: string | undefined;
|
|
13850
|
-
}>, "many">;
|
|
13851
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
13852
|
-
translations: {
|
|
13853
|
-
locale: "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";
|
|
13854
|
-
title?: string | undefined;
|
|
13855
|
-
}[];
|
|
13856
|
-
id: string;
|
|
13857
|
-
selectMin: number;
|
|
13858
|
-
selectMax: number;
|
|
13859
|
-
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;
|
|
13860
|
-
modifiers?: {
|
|
13861
|
-
title: string;
|
|
13862
|
-
price: number;
|
|
13863
|
-
id?: string | undefined;
|
|
13864
|
-
sku?: string | undefined;
|
|
13865
|
-
}[] | undefined;
|
|
13866
|
-
}, {
|
|
13867
|
-
translations: {
|
|
13868
|
-
locale: "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";
|
|
13869
|
-
title?: string | undefined;
|
|
13870
|
-
}[];
|
|
13871
|
-
id: string;
|
|
13872
|
-
selectMin: number;
|
|
13873
|
-
selectMax: number;
|
|
13874
|
-
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;
|
|
13875
|
-
modifiers?: {
|
|
13876
|
-
title: string;
|
|
13877
|
-
id?: string | undefined;
|
|
13878
|
-
sku?: string | undefined;
|
|
13879
|
-
price?: number | undefined;
|
|
13880
|
-
}[] | undefined;
|
|
13881
|
-
}>, "many">>;
|
|
13882
|
-
categories: import("zod").ZodArray<import("zod").ZodObject<{
|
|
13883
|
-
id: import("zod").ZodString;
|
|
13884
|
-
slug: import("zod").ZodString;
|
|
13885
|
-
image: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
|
|
13886
|
-
id: import("zod").ZodString;
|
|
13887
|
-
url: import("zod").ZodString;
|
|
13888
|
-
mimeType: import("zod").ZodString;
|
|
13889
|
-
size: import("zod").ZodNumber;
|
|
13890
|
-
filename: import("zod").ZodString;
|
|
13891
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
13892
|
-
id: string;
|
|
13893
|
-
mimeType: string;
|
|
13894
|
-
size: number;
|
|
13895
|
-
filename: string;
|
|
13896
|
-
url: string;
|
|
13897
|
-
}, {
|
|
13898
|
-
id: string;
|
|
13899
|
-
mimeType: string;
|
|
13900
|
-
size: number;
|
|
13901
|
-
filename: string;
|
|
13902
|
-
url: string;
|
|
13903
|
-
}>>>;
|
|
13904
|
-
createdAt: import("zod").ZodDate;
|
|
13905
|
-
publishedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
|
|
13906
|
-
translations: import("zod").ZodArray<import("zod").ZodObject<{
|
|
13907
|
-
locale: import("zod").ZodString;
|
|
13908
|
-
title: import("zod").ZodDefault<import("zod").ZodString>;
|
|
13909
|
-
description: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodString>>>;
|
|
13910
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
13911
|
-
locale: string;
|
|
13912
|
-
title: string;
|
|
13913
|
-
description?: string | null | undefined;
|
|
13914
|
-
}, {
|
|
13915
|
-
locale: string;
|
|
13916
|
-
title?: string | undefined;
|
|
13917
|
-
description?: string | null | undefined;
|
|
13918
|
-
}>, "many">;
|
|
13919
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
13920
|
-
translations: {
|
|
13921
|
-
locale: string;
|
|
13922
|
-
title: string;
|
|
13923
|
-
description?: string | null | undefined;
|
|
13924
|
-
}[];
|
|
13925
|
-
id: string;
|
|
13926
|
-
slug: string;
|
|
13927
|
-
createdAt: Date;
|
|
13928
|
-
image?: {
|
|
13929
|
-
id: string;
|
|
13930
|
-
mimeType: string;
|
|
13931
|
-
size: number;
|
|
13932
|
-
filename: string;
|
|
13933
|
-
url: string;
|
|
13934
|
-
} | null | undefined;
|
|
13935
|
-
publishedAt?: Date | null | undefined;
|
|
13936
|
-
}, {
|
|
13937
|
-
translations: {
|
|
13938
|
-
locale: string;
|
|
13939
|
-
title?: string | undefined;
|
|
13940
|
-
description?: string | null | undefined;
|
|
13941
|
-
}[];
|
|
13942
|
-
id: string;
|
|
13943
|
-
slug: string;
|
|
13944
|
-
createdAt: Date;
|
|
13945
|
-
image?: {
|
|
13946
|
-
id: string;
|
|
13947
|
-
mimeType: string;
|
|
13948
|
-
size: number;
|
|
13949
|
-
filename: string;
|
|
13950
|
-
url: string;
|
|
13951
|
-
} | null | undefined;
|
|
13952
|
-
publishedAt?: Date | null | undefined;
|
|
13953
|
-
}>, "many">;
|
|
13954
13552
|
manufacturerId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
13955
13553
|
createdAt: import("zod").ZodDate;
|
|
13956
13554
|
publishedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
|
|
@@ -13967,10 +13565,10 @@ export declare const contract: {
|
|
|
13967
13565
|
title?: string | undefined;
|
|
13968
13566
|
description?: string | null | undefined;
|
|
13969
13567
|
}>, "many">>;
|
|
13970
|
-
}
|
|
13568
|
+
} & {
|
|
13971
13569
|
title: import("zod").ZodDefault<import("zod").ZodString>;
|
|
13972
13570
|
description: import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
13973
|
-
modifierGroups: import("zod").ZodArray<import("zod").ZodObject<Omit<
|
|
13571
|
+
modifierGroups: import("zod").ZodArray<import("zod").ZodObject<Omit<{
|
|
13974
13572
|
id: import("zod").ZodString;
|
|
13975
13573
|
selectMin: import("zod").ZodNumber;
|
|
13976
13574
|
selectMax: import("zod").ZodNumber;
|
|
@@ -14001,9 +13599,9 @@ export declare const contract: {
|
|
|
14001
13599
|
locale: "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";
|
|
14002
13600
|
title?: string | undefined;
|
|
14003
13601
|
}>, "many">;
|
|
14004
|
-
}
|
|
13602
|
+
} & {
|
|
14005
13603
|
title: import("zod").ZodNullable<import("zod").ZodDefault<import("zod").ZodString>>;
|
|
14006
|
-
}
|
|
13604
|
+
}, "translations">, "strip", import("zod").ZodTypeAny, {
|
|
14007
13605
|
id: string;
|
|
14008
13606
|
title: string | null;
|
|
14009
13607
|
selectMin: number;
|
|
@@ -14035,7 +13633,7 @@ export declare const contract: {
|
|
|
14035
13633
|
}, {
|
|
14036
13634
|
id: string;
|
|
14037
13635
|
}>, "many">>;
|
|
14038
|
-
}
|
|
13636
|
+
}, "translations">, "strip", import("zod").ZodTypeAny, {
|
|
14039
13637
|
id: string;
|
|
14040
13638
|
createdAt: Date;
|
|
14041
13639
|
title: string;
|
|
@@ -14359,11 +13957,8 @@ export declare const contract: {
|
|
|
14359
13957
|
cookie?: string | undefined;
|
|
14360
13958
|
}>>;
|
|
14361
13959
|
responses: {
|
|
14362
|
-
200: import("zod").ZodNullable<import("zod").ZodObject<
|
|
13960
|
+
200: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
14363
13961
|
id: import("zod").ZodString;
|
|
14364
|
-
firstname: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
14365
|
-
lastname: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
14366
|
-
phone: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
14367
13962
|
addressLineOne: import("zod").ZodString;
|
|
14368
13963
|
doorNumber: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
14369
13964
|
addressLineTwo: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
@@ -14372,11 +13967,11 @@ export declare const contract: {
|
|
|
14372
13967
|
country: import("zod").ZodString;
|
|
14373
13968
|
placeId: import("zod").ZodString;
|
|
14374
13969
|
deliveryInstructions: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
14375
|
-
}
|
|
13970
|
+
} & {
|
|
14376
13971
|
firstname: import("zod").ZodString;
|
|
14377
13972
|
lastname: import("zod").ZodString;
|
|
14378
13973
|
phone: import("zod").ZodString;
|
|
14379
|
-
}
|
|
13974
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
14380
13975
|
id: string;
|
|
14381
13976
|
firstname: string;
|
|
14382
13977
|
lastname: string;
|
|
@@ -14419,11 +14014,8 @@ export declare const contract: {
|
|
|
14419
14014
|
description: "Creates a new shipping address for the user";
|
|
14420
14015
|
method: "POST";
|
|
14421
14016
|
summary: "Create Shipping Address";
|
|
14422
|
-
body: import("zod").ZodObject<Pick<
|
|
14017
|
+
body: import("zod").ZodObject<Pick<{
|
|
14423
14018
|
id: import("zod").ZodString;
|
|
14424
|
-
firstname: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
14425
|
-
lastname: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
14426
|
-
phone: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
14427
14019
|
addressLineOne: import("zod").ZodString;
|
|
14428
14020
|
doorNumber: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
14429
14021
|
addressLineTwo: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
@@ -14432,11 +14024,11 @@ export declare const contract: {
|
|
|
14432
14024
|
country: import("zod").ZodString;
|
|
14433
14025
|
placeId: import("zod").ZodString;
|
|
14434
14026
|
deliveryInstructions: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
14435
|
-
}
|
|
14027
|
+
} & {
|
|
14436
14028
|
firstname: import("zod").ZodString;
|
|
14437
14029
|
lastname: import("zod").ZodString;
|
|
14438
14030
|
phone: import("zod").ZodString;
|
|
14439
|
-
}
|
|
14031
|
+
}, "firstname" | "lastname" | "phone" | "addressLineOne" | "doorNumber" | "addressLineTwo" | "zipCode" | "city" | "country" | "placeId" | "deliveryInstructions">, "strip", import("zod").ZodTypeAny, {
|
|
14440
14032
|
firstname: string;
|
|
14441
14033
|
lastname: string;
|
|
14442
14034
|
phone: string;
|
|
@@ -14473,11 +14065,8 @@ export declare const contract: {
|
|
|
14473
14065
|
cookie?: string | undefined;
|
|
14474
14066
|
}>>;
|
|
14475
14067
|
responses: {
|
|
14476
|
-
201: import("zod").ZodObject<
|
|
14068
|
+
201: import("zod").ZodObject<{
|
|
14477
14069
|
id: import("zod").ZodString;
|
|
14478
|
-
firstname: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
14479
|
-
lastname: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
14480
|
-
phone: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
14481
14070
|
addressLineOne: import("zod").ZodString;
|
|
14482
14071
|
doorNumber: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
14483
14072
|
addressLineTwo: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
@@ -14486,11 +14075,11 @@ export declare const contract: {
|
|
|
14486
14075
|
country: import("zod").ZodString;
|
|
14487
14076
|
placeId: import("zod").ZodString;
|
|
14488
14077
|
deliveryInstructions: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
14489
|
-
}
|
|
14078
|
+
} & {
|
|
14490
14079
|
firstname: import("zod").ZodString;
|
|
14491
14080
|
lastname: import("zod").ZodString;
|
|
14492
14081
|
phone: import("zod").ZodString;
|
|
14493
|
-
}
|
|
14082
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
14494
14083
|
id: string;
|
|
14495
14084
|
firstname: string;
|
|
14496
14085
|
lastname: string;
|
|
@@ -14543,7 +14132,7 @@ export declare const contract: {
|
|
|
14543
14132
|
description: "Updates the shipping address for the user";
|
|
14544
14133
|
method: "PUT";
|
|
14545
14134
|
summary: "Update Shipping Address";
|
|
14546
|
-
body: import("zod").ZodObject<
|
|
14135
|
+
body: import("zod").ZodObject<{
|
|
14547
14136
|
firstname: import("zod").ZodOptional<import("zod").ZodString>;
|
|
14548
14137
|
lastname: import("zod").ZodOptional<import("zod").ZodString>;
|
|
14549
14138
|
phone: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -14553,11 +14142,10 @@ export declare const contract: {
|
|
|
14553
14142
|
zipCode: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
14554
14143
|
city: import("zod").ZodOptional<import("zod").ZodString>;
|
|
14555
14144
|
country: import("zod").ZodOptional<import("zod").ZodString>;
|
|
14556
|
-
placeId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
14557
14145
|
deliveryInstructions: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>>;
|
|
14558
|
-
}
|
|
14146
|
+
} & {
|
|
14559
14147
|
placeId: import("zod").ZodString;
|
|
14560
|
-
}
|
|
14148
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
14561
14149
|
placeId: string;
|
|
14562
14150
|
firstname?: string | undefined;
|
|
14563
14151
|
lastname?: string | undefined;
|
|
@@ -14594,11 +14182,8 @@ export declare const contract: {
|
|
|
14594
14182
|
cookie?: string | undefined;
|
|
14595
14183
|
}>>;
|
|
14596
14184
|
responses: {
|
|
14597
|
-
200: import("zod").ZodObject<
|
|
14185
|
+
200: import("zod").ZodObject<{
|
|
14598
14186
|
id: import("zod").ZodString;
|
|
14599
|
-
firstname: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
14600
|
-
lastname: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
14601
|
-
phone: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
14602
14187
|
addressLineOne: import("zod").ZodString;
|
|
14603
14188
|
doorNumber: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
14604
14189
|
addressLineTwo: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
@@ -14607,11 +14192,11 @@ export declare const contract: {
|
|
|
14607
14192
|
country: import("zod").ZodString;
|
|
14608
14193
|
placeId: import("zod").ZodString;
|
|
14609
14194
|
deliveryInstructions: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
14610
|
-
}
|
|
14195
|
+
} & {
|
|
14611
14196
|
firstname: import("zod").ZodString;
|
|
14612
14197
|
lastname: import("zod").ZodString;
|
|
14613
14198
|
phone: import("zod").ZodString;
|
|
14614
|
-
}
|
|
14199
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
14615
14200
|
id: string;
|
|
14616
14201
|
firstname: string;
|
|
14617
14202
|
lastname: string;
|