@thryveai/theme-interfaces 2.7.193 → 2.7.194

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.
@@ -2138,6 +2138,9 @@ export declare const JSONSchemas: {
2138
2138
  ageVerification: {
2139
2139
  $ref: string;
2140
2140
  };
2141
+ loyalty: {
2142
+ $ref: string;
2143
+ };
2141
2144
  };
2142
2145
  additionalProperties: boolean;
2143
2146
  };
@@ -2162,7 +2165,7 @@ export declare const JSONSchemas: {
2162
2165
  };
2163
2166
  additionalProperties: boolean;
2164
2167
  };
2165
- "DeepPartial<structure-749943994-834-854-749943994-824-855-749943994-759-935-749943994-0-1809>": {
2168
+ "DeepPartial<structure-749943994-1096-1116-749943994-1086-1117-749943994-1021-1197-749943994-0-2139>": {
2166
2169
  type: string;
2167
2170
  properties: {
2168
2171
  enable: {
@@ -2351,6 +2354,19 @@ export declare const JSONSchemas: {
2351
2354
  };
2352
2355
  additionalProperties: boolean;
2353
2356
  };
2357
+ "DeepPartial<ILoyalty>": {
2358
+ type: string;
2359
+ properties: {
2360
+ barcodeFormat: {
2361
+ $ref: string;
2362
+ };
2363
+ };
2364
+ additionalProperties: boolean;
2365
+ };
2366
+ LoyaltyBarcodeFormat: {
2367
+ type: string;
2368
+ enum: string[];
2369
+ };
2354
2370
  "DeepPartial<ISharedCheckout>": {
2355
2371
  type: string;
2356
2372
  properties: {
@@ -2360,7 +2376,7 @@ export declare const JSONSchemas: {
2360
2376
  };
2361
2377
  additionalProperties: boolean;
2362
2378
  };
2363
- "DeepPartial<interface-749943994-705-759-749943994-0-1809>": {
2379
+ "DeepPartial<interface-749943994-967-1021-749943994-0-2139>": {
2364
2380
  type: string;
2365
2381
  properties: {
2366
2382
  enabled: {
@@ -3044,6 +3044,9 @@ exports.JSONSchemas = {
3044
3044
  },
3045
3045
  "ageVerification": {
3046
3046
  "$ref": "#/definitions/DeepPartial%3CIAgeVerification%3E"
3047
+ },
3048
+ "loyalty": {
3049
+ "$ref": "#/definitions/DeepPartial%3CILoyalty%3E"
3047
3050
  }
3048
3051
  },
3049
3052
  "additionalProperties": false
@@ -3055,7 +3058,7 @@ exports.JSONSchemas = {
3055
3058
  "type": "boolean"
3056
3059
  },
3057
3060
  "search": {
3058
- "$ref": "#/definitions/DeepPartial%3Cstructure-749943994-834-854-749943994-824-855-749943994-759-935-749943994-0-1809%3E"
3061
+ "$ref": "#/definitions/DeepPartial%3Cstructure-749943994-1096-1116-749943994-1086-1117-749943994-1021-1197-749943994-0-2139%3E"
3059
3062
  },
3060
3063
  "stores": {
3061
3064
  "$ref": "#/definitions/DeepPartial%3Cstring%5B%5D%3E"
@@ -3069,7 +3072,7 @@ exports.JSONSchemas = {
3069
3072
  },
3070
3073
  "additionalProperties": false
3071
3074
  },
3072
- "DeepPartial<structure-749943994-834-854-749943994-824-855-749943994-759-935-749943994-0-1809>": {
3075
+ "DeepPartial<structure-749943994-1096-1116-749943994-1086-1117-749943994-1021-1197-749943994-0-2139>": {
3073
3076
  "type": "object",
3074
3077
  "properties": {
3075
3078
  "enable": {
@@ -3303,16 +3306,51 @@ exports.JSONSchemas = {
3303
3306
  },
3304
3307
  "additionalProperties": false
3305
3308
  },
3309
+ "DeepPartial<ILoyalty>": {
3310
+ "type": "object",
3311
+ "properties": {
3312
+ "barcodeFormat": {
3313
+ "$ref": "#/definitions/LoyaltyBarcodeFormat"
3314
+ }
3315
+ },
3316
+ "additionalProperties": false
3317
+ },
3318
+ "LoyaltyBarcodeFormat": {
3319
+ "type": "string",
3320
+ "enum": [
3321
+ "UPC",
3322
+ "CODE128",
3323
+ "EAN13",
3324
+ "QR",
3325
+ "CODE39",
3326
+ "CODE128A",
3327
+ "CODE128B",
3328
+ "CODE128C",
3329
+ "EAN8",
3330
+ "EAN5",
3331
+ "EAN2",
3332
+ "UPCE",
3333
+ "ITF14",
3334
+ "ITF",
3335
+ "MSI",
3336
+ "MSI10",
3337
+ "MSI11",
3338
+ "MSI1010",
3339
+ "MSI1110",
3340
+ "pharmacode",
3341
+ "codabar"
3342
+ ]
3343
+ },
3306
3344
  "DeepPartial<ISharedCheckout>": {
3307
3345
  "type": "object",
3308
3346
  "properties": {
3309
3347
  "preserveOrderNote": {
3310
- "$ref": "#/definitions/DeepPartial%3Cinterface-749943994-705-759-749943994-0-1809%3E"
3348
+ "$ref": "#/definitions/DeepPartial%3Cinterface-749943994-967-1021-749943994-0-2139%3E"
3311
3349
  }
3312
3350
  },
3313
3351
  "additionalProperties": false
3314
3352
  },
3315
- "DeepPartial<interface-749943994-705-759-749943994-0-1809>": {
3353
+ "DeepPartial<interface-749943994-967-1021-749943994-0-2139>": {
3316
3354
  "type": "object",
3317
3355
  "properties": {
3318
3356
  "enabled": {
@@ -1,5 +1,6 @@
1
1
  import { IAdminOnlyV2, IFlippConfig, IFlippConfigV2, IFlyerProviders, IRedPepperConfig } from "./retailer-settings.interfaces";
2
2
  import { IDateFormat } from "./theme.interfaces";
3
+ export declare type LoyaltyBarcodeFormat = 'UPC' | 'CODE128' | 'EAN13' | 'QR' | 'CODE39' | 'CODE128A' | 'CODE128B' | 'CODE128C' | 'EAN8' | 'EAN5' | 'EAN2' | 'UPCE' | 'ITF14' | 'ITF' | 'MSI' | 'MSI10' | 'MSI11' | 'MSI1010' | 'MSI1110' | 'pharmacode' | 'codabar';
3
4
  export interface ISharedSettings {
4
5
  features: ISharedFeatures;
5
6
  checkout: ISharedCheckout;
@@ -13,6 +14,7 @@ export interface ISharedFeatures {
13
14
  couponGallery: ICouponGallery;
14
15
  flyerConfiguration: IFlyerConfiguration | null;
15
16
  ageVerification: IAgeVerification;
17
+ loyalty: ILoyalty;
16
18
  }
17
19
  export interface ISharedCheckout {
18
20
  preserveOrderNote: IOrderInstructions;
@@ -59,4 +61,7 @@ export interface IAgeVerification {
59
61
  ageVerificationPrefix: string;
60
62
  ageVerificationStatementName: string;
61
63
  }
64
+ export interface ILoyalty {
65
+ barcodeFormat: LoyaltyBarcodeFormat;
66
+ }
62
67
  export {};
@@ -133,6 +133,19 @@ exports.AdminSharedSettingsTemplateSFUI = {
133
133
  // },
134
134
  // },
135
135
  // },
136
+ loyalty: {
137
+ title: "Loyalty",
138
+ description: "",
139
+ type: exports.AdminSharedTemplateInputTypes.collapsableObject,
140
+ value: {
141
+ barcodeFormat: {
142
+ title: "Barcode Format",
143
+ description: "Select the barcode format to be used for loyalty cards",
144
+ type: exports.AdminSharedTemplateInputTypes.dropdown,
145
+ options: ["UPC", "CODE128", "EAN13", "QR", "CODE39", "CODE128A", "CODE128B", "CODE128C", "EAN8", "EAN5", "EAN2", "UPCE", "ITF14", "ITF", "MSI", "MSI10", "MSI11", "MSI1010", "MSI1110", "pharmacode", "codabar"],
146
+ },
147
+ },
148
+ },
136
149
  },
137
150
  },
138
151
  checkout: {
@@ -31,6 +31,9 @@ var CommonSharedSettingsConfig = {
31
31
  ageVerificationPrefix: "",
32
32
  ageVerificationStatementName: "",
33
33
  },
34
+ loyalty: {
35
+ barcodeFormat: "UPC",
36
+ }
34
37
  },
35
38
  checkout: {
36
39
  preserveOrderNote: {