@thryveai/theme-interfaces 2.7.155-2.zod → 2.7.155-4.schemas

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.
Files changed (55) hide show
  1. package/dist/JSONSchemas/index.d.ts +5550 -0
  2. package/dist/JSONSchemas/index.js +7516 -0
  3. package/dist/index.d.ts +4 -3
  4. package/dist/index.js +18 -20
  5. package/dist/interfaces/default-settings.interfaces.d.ts +2 -0
  6. package/dist/interfaces/default-theme.interface.d.ts +3 -0
  7. package/dist/interfaces/icons.interfaces.d.ts +2 -0
  8. package/dist/interfaces/retailer-settings.interfaces.d.ts +1 -2
  9. package/dist/interfaces/shared-settings-interfaces.d.ts +2 -0
  10. package/dist/storefront/SFUIImagesTemplate.AdminUi.js +1 -1
  11. package/dist/storefront/SFUIThemesTemplate.AdminUi.js +47 -36
  12. package/dist/storefront/defaultIconsStorefront.js +1 -1
  13. package/dist/storefront/defaultImagesStorefront.js +32 -32
  14. package/dist/storefront/defaultSettingsStorefront.js +1 -1
  15. package/dist/storefront/defaultSharedSettings.js +1 -1
  16. package/dist/storefront/defaultThemeStorefront.js +981 -978
  17. package/dist/sts/STSImagesTemplate.AdminUi.js +1 -1
  18. package/dist/sts/STSSettingsTemplate.AdminUi.js +1 -1
  19. package/dist/sts/defaultSettingsSts.js +1 -1
  20. package/dist/theme-templates/index.js +2 -2
  21. package/package.json +3 -5
  22. package/dist/core/interfaces/default-settings.interfaces.d.ts +0 -3
  23. package/dist/core/interfaces/default-settings.interfaces.js +0 -2
  24. package/dist/core/storefront-zod/retailer-settings/accountPage.d.ts +0 -687
  25. package/dist/core/storefront-zod/retailer-settings/accountPage.js +0 -54
  26. package/dist/core/storefront-zod/retailer-settings/addressSettings.d.ts +0 -828
  27. package/dist/core/storefront-zod/retailer-settings/addressSettings.js +0 -23
  28. package/dist/core/storefront-zod/retailer-settings/adminPanelOnly.d.ts +0 -11
  29. package/dist/core/storefront-zod/retailer-settings/adminPanelOnly.js +0 -8
  30. package/dist/core/storefront-zod/retailer-settings/cartSummary.d.ts +0 -14
  31. package/dist/core/storefront-zod/retailer-settings/cartSummary.js +0 -9
  32. package/dist/core/storefront-zod/retailer-settings/checkout.d.ts +0 -238
  33. package/dist/core/storefront-zod/retailer-settings/checkout.js +0 -15
  34. package/dist/core/storefront-zod/retailer-settings/features.d.ts +0 -890
  35. package/dist/core/storefront-zod/retailer-settings/features.js +0 -63
  36. package/dist/core/storefront-zod/retailer-settings/index.d.ts +0 -9917
  37. package/dist/core/storefront-zod/retailer-settings/index.js +0 -31
  38. package/dist/core/storefront-zod/retailer-settings/integration.d.ts +0 -28
  39. package/dist/core/storefront-zod/retailer-settings/integration.js +0 -12
  40. package/dist/core/storefront-zod/retailer-settings/pdpSettings.d.ts +0 -157
  41. package/dist/core/storefront-zod/retailer-settings/pdpSettings.js +0 -59
  42. package/dist/core/storefront-zod/retailer-settings/performance.d.ts +0 -8
  43. package/dist/core/storefront-zod/retailer-settings/performance.js +0 -7
  44. package/dist/core/storefront-zod/retailer-settings/productCard.d.ts +0 -307
  45. package/dist/core/storefront-zod/retailer-settings/productCard.js +0 -10
  46. package/dist/core/storefront-zod/retailer-settings/sharedSchemas.d.ts +0 -1675
  47. package/dist/core/storefront-zod/retailer-settings/sharedSchemas.js +0 -590
  48. package/dist/core/storefront-zod/retailer-settings/siteSettings.d.ts +0 -594
  49. package/dist/core/storefront-zod/retailer-settings/siteSettings.js +0 -79
  50. package/dist/core/storefront-zod/retailer-settings/welcomeModal.d.ts +0 -17
  51. package/dist/core/storefront-zod/retailer-settings/welcomeModal.js +0 -11
  52. package/dist/zodSchemas/generator.d.ts +0 -6
  53. package/dist/zodSchemas/generator.js +0 -12
  54. package/dist/zodSchemas/retailer-settings-zod.d.ts +0 -1
  55. package/dist/zodSchemas/retailer-settings-zod.js +0 -315
@@ -1,23 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.iAddressesSettingsV2Schema = void 0;
4
- const zod_1 = require("zod");
5
- const sharedSchemas_1 = require("./sharedSchemas");
6
- exports.iAddressesSettingsV2Schema = zod_1.z.object({
7
- addressValidationTypes: sharedSchemas_1.iAddressValidationTypesSchema,
8
- eircode: zod_1.z.object({
9
- enabled: zod_1.z.boolean(),
10
- url: zod_1.z.string(),
11
- }),
12
- integration: zod_1.z.object({
13
- enabled: zod_1.z.boolean(),
14
- addressFinderType: sharedSchemas_1.iAddressFinderTypeSchema,
15
- useForNewAddresses: zod_1.z.boolean(),
16
- addNewAddressUrl: zod_1.z.string(),
17
- editAddressUrl: zod_1.z.string(),
18
- deleteAddressUrl: zod_1.z.string(),
19
- addressProfileName: zod_1.z.string().nullable(),
20
- }),
21
- useAddressValidation: zod_1.z.boolean(),
22
- fixOldAddresses: zod_1.z.boolean(),
23
- });
@@ -1,11 +0,0 @@
1
- import { z } from "zod";
2
- export declare const iAdminOnlyV2Schema: z.ZodObject<{
3
- bannerName: z.ZodString;
4
- logoUrl: z.ZodString;
5
- }, "strip", z.ZodTypeAny, {
6
- bannerName?: string;
7
- logoUrl?: string;
8
- }, {
9
- bannerName?: string;
10
- logoUrl?: string;
11
- }>;
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.iAdminOnlyV2Schema = void 0;
4
- const zod_1 = require("zod");
5
- exports.iAdminOnlyV2Schema = zod_1.z.object({
6
- bannerName: zod_1.z.string(),
7
- logoUrl: zod_1.z.string(),
8
- });
@@ -1,14 +0,0 @@
1
- import { z } from "zod";
2
- export declare const iCartSummaryV2Schema: z.ZodObject<{
3
- showTaxTotal: z.ZodBoolean;
4
- showTaxGroups: z.ZodBoolean;
5
- hideTaxOnSummary: z.ZodBoolean;
6
- }, "strip", z.ZodTypeAny, {
7
- showTaxTotal?: boolean;
8
- showTaxGroups?: boolean;
9
- hideTaxOnSummary?: boolean;
10
- }, {
11
- showTaxTotal?: boolean;
12
- showTaxGroups?: boolean;
13
- hideTaxOnSummary?: boolean;
14
- }>;
@@ -1,9 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.iCartSummaryV2Schema = void 0;
4
- const zod_1 = require("zod");
5
- exports.iCartSummaryV2Schema = zod_1.z.object({
6
- showTaxTotal: zod_1.z.boolean(),
7
- showTaxGroups: zod_1.z.boolean(),
8
- hideTaxOnSummary: zod_1.z.boolean(),
9
- });
@@ -1,238 +0,0 @@
1
- import { z } from "zod";
2
- export declare const iCheckoutSettingsV2Schema: z.ZodObject<{
3
- numericPhonePayload: z.ZodBoolean;
4
- houseAccountRegExValidation: z.ZodString;
5
- minimumCreditCardAmount: z.ZodNumber;
6
- paymentCards: z.ZodRecord<z.ZodEnum<["AmExpCard", "ApplePay", "DiscoverCard", "EBT", "PayPal", "GooglePay", "MasterCard", "MasterCardDebit", "VisaCard", "Paze"]>, z.ZodBoolean>;
7
- checkoutValidation: z.ZodObject<{
8
- instructions: z.ZodArray<z.ZodUnion<[z.ZodObject<{
9
- _type: z.ZodLiteral<"overYears">;
10
- overYears: z.ZodNumber;
11
- }, "strip", z.ZodTypeAny, {
12
- _type?: "overYears";
13
- overYears?: number;
14
- }, {
15
- _type?: "overYears";
16
- overYears?: number;
17
- }>, z.ZodObject<{
18
- _type: z.ZodUnion<[z.ZodLiteral<"less">, z.ZodLiteral<"more">, z.ZodLiteral<"exact">]>;
19
- length: z.ZodNumber;
20
- }, "strip", z.ZodTypeAny, {
21
- length?: number;
22
- _type?: "exact" | "less" | "more";
23
- }, {
24
- length?: number;
25
- _type?: "exact" | "less" | "more";
26
- }>, z.ZodObject<{
27
- _type: z.ZodLiteral<"multi">;
28
- multiLength: z.ZodArray<z.ZodNumber, "many">;
29
- }, "strip", z.ZodTypeAny, {
30
- _type?: "multi";
31
- multiLength?: number[];
32
- }, {
33
- _type?: "multi";
34
- multiLength?: number[];
35
- }>, z.ZodLiteral<"alphaNumeric">, z.ZodLiteral<"alphaOnly">, z.ZodLiteral<"alphaOnlyNoDots">, z.ZodLiteral<"anyPhone">, z.ZodLiteral<"auPhone">, z.ZodLiteral<"auPostCode">, z.ZodLiteral<"auState">, z.ZodLiteral<"caPhone">, z.ZodLiteral<"caPostCode">, z.ZodLiteral<"caProvince">, z.ZodLiteral<"correctDate">, z.ZodLiteral<"email">, z.ZodLiteral<"ieCounty">, z.ZodLiteral<"iePhone">, z.ZodLiteral<"iePostCode">, z.ZodLiteral<"luhnValidation">, z.ZodLiteral<"noSpecialChar">, z.ZodLiteral<"numericOnly">, z.ZodLiteral<"password">, z.ZodLiteral<"required">, z.ZodLiteral<"usMobileNumber">, z.ZodLiteral<"usPhone">, z.ZodLiteral<"usPhone10Digits">, z.ZodLiteral<"usPostCode">, z.ZodLiteral<"usState">, z.ZodLiteral<"notWhiteSpacesOnly">, z.ZodLiteral<"NAPhone">]>, "many">;
36
- phoneNumber: z.ZodArray<z.ZodUnion<[z.ZodObject<{
37
- _type: z.ZodLiteral<"overYears">;
38
- overYears: z.ZodNumber;
39
- }, "strip", z.ZodTypeAny, {
40
- _type?: "overYears";
41
- overYears?: number;
42
- }, {
43
- _type?: "overYears";
44
- overYears?: number;
45
- }>, z.ZodObject<{
46
- _type: z.ZodUnion<[z.ZodLiteral<"less">, z.ZodLiteral<"more">, z.ZodLiteral<"exact">]>;
47
- length: z.ZodNumber;
48
- }, "strip", z.ZodTypeAny, {
49
- length?: number;
50
- _type?: "exact" | "less" | "more";
51
- }, {
52
- length?: number;
53
- _type?: "exact" | "less" | "more";
54
- }>, z.ZodObject<{
55
- _type: z.ZodLiteral<"multi">;
56
- multiLength: z.ZodArray<z.ZodNumber, "many">;
57
- }, "strip", z.ZodTypeAny, {
58
- _type?: "multi";
59
- multiLength?: number[];
60
- }, {
61
- _type?: "multi";
62
- multiLength?: number[];
63
- }>, z.ZodLiteral<"alphaNumeric">, z.ZodLiteral<"alphaOnly">, z.ZodLiteral<"alphaOnlyNoDots">, z.ZodLiteral<"anyPhone">, z.ZodLiteral<"auPhone">, z.ZodLiteral<"auPostCode">, z.ZodLiteral<"auState">, z.ZodLiteral<"caPhone">, z.ZodLiteral<"caPostCode">, z.ZodLiteral<"caProvince">, z.ZodLiteral<"correctDate">, z.ZodLiteral<"email">, z.ZodLiteral<"ieCounty">, z.ZodLiteral<"iePhone">, z.ZodLiteral<"iePostCode">, z.ZodLiteral<"luhnValidation">, z.ZodLiteral<"noSpecialChar">, z.ZodLiteral<"numericOnly">, z.ZodLiteral<"password">, z.ZodLiteral<"required">, z.ZodLiteral<"usMobileNumber">, z.ZodLiteral<"usPhone">, z.ZodLiteral<"usPhone10Digits">, z.ZodLiteral<"usPostCode">, z.ZodLiteral<"usState">, z.ZodLiteral<"notWhiteSpacesOnly">, z.ZodLiteral<"NAPhone">]>, "many">;
64
- smsNumber: z.ZodArray<z.ZodUnion<[z.ZodObject<{
65
- _type: z.ZodLiteral<"overYears">;
66
- overYears: z.ZodNumber;
67
- }, "strip", z.ZodTypeAny, {
68
- _type?: "overYears";
69
- overYears?: number;
70
- }, {
71
- _type?: "overYears";
72
- overYears?: number;
73
- }>, z.ZodObject<{
74
- _type: z.ZodUnion<[z.ZodLiteral<"less">, z.ZodLiteral<"more">, z.ZodLiteral<"exact">]>;
75
- length: z.ZodNumber;
76
- }, "strip", z.ZodTypeAny, {
77
- length?: number;
78
- _type?: "exact" | "less" | "more";
79
- }, {
80
- length?: number;
81
- _type?: "exact" | "less" | "more";
82
- }>, z.ZodObject<{
83
- _type: z.ZodLiteral<"multi">;
84
- multiLength: z.ZodArray<z.ZodNumber, "many">;
85
- }, "strip", z.ZodTypeAny, {
86
- _type?: "multi";
87
- multiLength?: number[];
88
- }, {
89
- _type?: "multi";
90
- multiLength?: number[];
91
- }>, z.ZodLiteral<"alphaNumeric">, z.ZodLiteral<"alphaOnly">, z.ZodLiteral<"alphaOnlyNoDots">, z.ZodLiteral<"anyPhone">, z.ZodLiteral<"auPhone">, z.ZodLiteral<"auPostCode">, z.ZodLiteral<"auState">, z.ZodLiteral<"caPhone">, z.ZodLiteral<"caPostCode">, z.ZodLiteral<"caProvince">, z.ZodLiteral<"correctDate">, z.ZodLiteral<"email">, z.ZodLiteral<"ieCounty">, z.ZodLiteral<"iePhone">, z.ZodLiteral<"iePostCode">, z.ZodLiteral<"luhnValidation">, z.ZodLiteral<"noSpecialChar">, z.ZodLiteral<"numericOnly">, z.ZodLiteral<"password">, z.ZodLiteral<"required">, z.ZodLiteral<"usMobileNumber">, z.ZodLiteral<"usPhone">, z.ZodLiteral<"usPhone10Digits">, z.ZodLiteral<"usPostCode">, z.ZodLiteral<"usState">, z.ZodLiteral<"notWhiteSpacesOnly">, z.ZodLiteral<"NAPhone">]>, "many">;
92
- }, "strip", z.ZodTypeAny, {
93
- instructions?: ("required" | "password" | "email" | {
94
- _type?: "overYears";
95
- overYears?: number;
96
- } | {
97
- length?: number;
98
- _type?: "exact" | "less" | "more";
99
- } | {
100
- _type?: "multi";
101
- multiLength?: number[];
102
- } | "alphaNumeric" | "alphaOnly" | "alphaOnlyNoDots" | "anyPhone" | "auPhone" | "auPostCode" | "auState" | "caPhone" | "caPostCode" | "caProvince" | "correctDate" | "ieCounty" | "iePhone" | "iePostCode" | "luhnValidation" | "noSpecialChar" | "numericOnly" | "usMobileNumber" | "usPhone" | "usPhone10Digits" | "usPostCode" | "usState" | "notWhiteSpacesOnly" | "NAPhone")[];
103
- phoneNumber?: ("required" | "password" | "email" | {
104
- _type?: "overYears";
105
- overYears?: number;
106
- } | {
107
- length?: number;
108
- _type?: "exact" | "less" | "more";
109
- } | {
110
- _type?: "multi";
111
- multiLength?: number[];
112
- } | "alphaNumeric" | "alphaOnly" | "alphaOnlyNoDots" | "anyPhone" | "auPhone" | "auPostCode" | "auState" | "caPhone" | "caPostCode" | "caProvince" | "correctDate" | "ieCounty" | "iePhone" | "iePostCode" | "luhnValidation" | "noSpecialChar" | "numericOnly" | "usMobileNumber" | "usPhone" | "usPhone10Digits" | "usPostCode" | "usState" | "notWhiteSpacesOnly" | "NAPhone")[];
113
- smsNumber?: ("required" | "password" | "email" | {
114
- _type?: "overYears";
115
- overYears?: number;
116
- } | {
117
- length?: number;
118
- _type?: "exact" | "less" | "more";
119
- } | {
120
- _type?: "multi";
121
- multiLength?: number[];
122
- } | "alphaNumeric" | "alphaOnly" | "alphaOnlyNoDots" | "anyPhone" | "auPhone" | "auPostCode" | "auState" | "caPhone" | "caPostCode" | "caProvince" | "correctDate" | "ieCounty" | "iePhone" | "iePostCode" | "luhnValidation" | "noSpecialChar" | "numericOnly" | "usMobileNumber" | "usPhone" | "usPhone10Digits" | "usPostCode" | "usState" | "notWhiteSpacesOnly" | "NAPhone")[];
123
- }, {
124
- instructions?: ("required" | "password" | "email" | {
125
- _type?: "overYears";
126
- overYears?: number;
127
- } | {
128
- length?: number;
129
- _type?: "exact" | "less" | "more";
130
- } | {
131
- _type?: "multi";
132
- multiLength?: number[];
133
- } | "alphaNumeric" | "alphaOnly" | "alphaOnlyNoDots" | "anyPhone" | "auPhone" | "auPostCode" | "auState" | "caPhone" | "caPostCode" | "caProvince" | "correctDate" | "ieCounty" | "iePhone" | "iePostCode" | "luhnValidation" | "noSpecialChar" | "numericOnly" | "usMobileNumber" | "usPhone" | "usPhone10Digits" | "usPostCode" | "usState" | "notWhiteSpacesOnly" | "NAPhone")[];
134
- phoneNumber?: ("required" | "password" | "email" | {
135
- _type?: "overYears";
136
- overYears?: number;
137
- } | {
138
- length?: number;
139
- _type?: "exact" | "less" | "more";
140
- } | {
141
- _type?: "multi";
142
- multiLength?: number[];
143
- } | "alphaNumeric" | "alphaOnly" | "alphaOnlyNoDots" | "anyPhone" | "auPhone" | "auPostCode" | "auState" | "caPhone" | "caPostCode" | "caProvince" | "correctDate" | "ieCounty" | "iePhone" | "iePostCode" | "luhnValidation" | "noSpecialChar" | "numericOnly" | "usMobileNumber" | "usPhone" | "usPhone10Digits" | "usPostCode" | "usState" | "notWhiteSpacesOnly" | "NAPhone")[];
144
- smsNumber?: ("required" | "password" | "email" | {
145
- _type?: "overYears";
146
- overYears?: number;
147
- } | {
148
- length?: number;
149
- _type?: "exact" | "less" | "more";
150
- } | {
151
- _type?: "multi";
152
- multiLength?: number[];
153
- } | "alphaNumeric" | "alphaOnly" | "alphaOnlyNoDots" | "anyPhone" | "auPhone" | "auPostCode" | "auState" | "caPhone" | "caPostCode" | "caProvince" | "correctDate" | "ieCounty" | "iePhone" | "iePostCode" | "luhnValidation" | "noSpecialChar" | "numericOnly" | "usMobileNumber" | "usPhone" | "usPhone10Digits" | "usPostCode" | "usState" | "notWhiteSpacesOnly" | "NAPhone")[];
154
- }>;
155
- forceDeliverySection: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
156
- enableInterimModal: z.ZodBoolean;
157
- smsOptIn: z.ZodBoolean;
158
- }, "strip", z.ZodTypeAny, {
159
- numericPhonePayload?: boolean;
160
- houseAccountRegExValidation?: string;
161
- minimumCreditCardAmount?: number;
162
- paymentCards?: Partial<Record<"AmExpCard" | "ApplePay" | "DiscoverCard" | "EBT" | "PayPal" | "GooglePay" | "MasterCard" | "MasterCardDebit" | "VisaCard" | "Paze", boolean>>;
163
- checkoutValidation?: {
164
- instructions?: ("required" | "password" | "email" | {
165
- _type?: "overYears";
166
- overYears?: number;
167
- } | {
168
- length?: number;
169
- _type?: "exact" | "less" | "more";
170
- } | {
171
- _type?: "multi";
172
- multiLength?: number[];
173
- } | "alphaNumeric" | "alphaOnly" | "alphaOnlyNoDots" | "anyPhone" | "auPhone" | "auPostCode" | "auState" | "caPhone" | "caPostCode" | "caProvince" | "correctDate" | "ieCounty" | "iePhone" | "iePostCode" | "luhnValidation" | "noSpecialChar" | "numericOnly" | "usMobileNumber" | "usPhone" | "usPhone10Digits" | "usPostCode" | "usState" | "notWhiteSpacesOnly" | "NAPhone")[];
174
- phoneNumber?: ("required" | "password" | "email" | {
175
- _type?: "overYears";
176
- overYears?: number;
177
- } | {
178
- length?: number;
179
- _type?: "exact" | "less" | "more";
180
- } | {
181
- _type?: "multi";
182
- multiLength?: number[];
183
- } | "alphaNumeric" | "alphaOnly" | "alphaOnlyNoDots" | "anyPhone" | "auPhone" | "auPostCode" | "auState" | "caPhone" | "caPostCode" | "caProvince" | "correctDate" | "ieCounty" | "iePhone" | "iePostCode" | "luhnValidation" | "noSpecialChar" | "numericOnly" | "usMobileNumber" | "usPhone" | "usPhone10Digits" | "usPostCode" | "usState" | "notWhiteSpacesOnly" | "NAPhone")[];
184
- smsNumber?: ("required" | "password" | "email" | {
185
- _type?: "overYears";
186
- overYears?: number;
187
- } | {
188
- length?: number;
189
- _type?: "exact" | "less" | "more";
190
- } | {
191
- _type?: "multi";
192
- multiLength?: number[];
193
- } | "alphaNumeric" | "alphaOnly" | "alphaOnlyNoDots" | "anyPhone" | "auPhone" | "auPostCode" | "auState" | "caPhone" | "caPostCode" | "caProvince" | "correctDate" | "ieCounty" | "iePhone" | "iePostCode" | "luhnValidation" | "noSpecialChar" | "numericOnly" | "usMobileNumber" | "usPhone" | "usPhone10Digits" | "usPostCode" | "usState" | "notWhiteSpacesOnly" | "NAPhone")[];
194
- };
195
- forceDeliverySection?: boolean;
196
- enableInterimModal?: boolean;
197
- smsOptIn?: boolean;
198
- }, {
199
- numericPhonePayload?: boolean;
200
- houseAccountRegExValidation?: string;
201
- minimumCreditCardAmount?: number;
202
- paymentCards?: Partial<Record<"AmExpCard" | "ApplePay" | "DiscoverCard" | "EBT" | "PayPal" | "GooglePay" | "MasterCard" | "MasterCardDebit" | "VisaCard" | "Paze", boolean>>;
203
- checkoutValidation?: {
204
- instructions?: ("required" | "password" | "email" | {
205
- _type?: "overYears";
206
- overYears?: number;
207
- } | {
208
- length?: number;
209
- _type?: "exact" | "less" | "more";
210
- } | {
211
- _type?: "multi";
212
- multiLength?: number[];
213
- } | "alphaNumeric" | "alphaOnly" | "alphaOnlyNoDots" | "anyPhone" | "auPhone" | "auPostCode" | "auState" | "caPhone" | "caPostCode" | "caProvince" | "correctDate" | "ieCounty" | "iePhone" | "iePostCode" | "luhnValidation" | "noSpecialChar" | "numericOnly" | "usMobileNumber" | "usPhone" | "usPhone10Digits" | "usPostCode" | "usState" | "notWhiteSpacesOnly" | "NAPhone")[];
214
- phoneNumber?: ("required" | "password" | "email" | {
215
- _type?: "overYears";
216
- overYears?: number;
217
- } | {
218
- length?: number;
219
- _type?: "exact" | "less" | "more";
220
- } | {
221
- _type?: "multi";
222
- multiLength?: number[];
223
- } | "alphaNumeric" | "alphaOnly" | "alphaOnlyNoDots" | "anyPhone" | "auPhone" | "auPostCode" | "auState" | "caPhone" | "caPostCode" | "caProvince" | "correctDate" | "ieCounty" | "iePhone" | "iePostCode" | "luhnValidation" | "noSpecialChar" | "numericOnly" | "usMobileNumber" | "usPhone" | "usPhone10Digits" | "usPostCode" | "usState" | "notWhiteSpacesOnly" | "NAPhone")[];
224
- smsNumber?: ("required" | "password" | "email" | {
225
- _type?: "overYears";
226
- overYears?: number;
227
- } | {
228
- length?: number;
229
- _type?: "exact" | "less" | "more";
230
- } | {
231
- _type?: "multi";
232
- multiLength?: number[];
233
- } | "alphaNumeric" | "alphaOnly" | "alphaOnlyNoDots" | "anyPhone" | "auPhone" | "auPostCode" | "auState" | "caPhone" | "caPostCode" | "caProvince" | "correctDate" | "ieCounty" | "iePhone" | "iePostCode" | "luhnValidation" | "noSpecialChar" | "numericOnly" | "usMobileNumber" | "usPhone" | "usPhone10Digits" | "usPostCode" | "usState" | "notWhiteSpacesOnly" | "NAPhone")[];
234
- };
235
- forceDeliverySection?: boolean;
236
- enableInterimModal?: boolean;
237
- smsOptIn?: boolean;
238
- }>;
@@ -1,15 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.iCheckoutSettingsV2Schema = void 0;
4
- const zod_1 = require("zod");
5
- const sharedSchemas_1 = require("./sharedSchemas");
6
- exports.iCheckoutSettingsV2Schema = zod_1.z.object({
7
- numericPhonePayload: zod_1.z.boolean(),
8
- houseAccountRegExValidation: zod_1.z.string(),
9
- minimumCreditCardAmount: zod_1.z.number(),
10
- paymentCards: sharedSchemas_1.iPaymentCardsSchema,
11
- checkoutValidation: sharedSchemas_1.iCheckoutValidationSchema,
12
- forceDeliverySection: zod_1.z.boolean().nullish(),
13
- enableInterimModal: zod_1.z.boolean(),
14
- smsOptIn: zod_1.z.boolean(),
15
- });