@orderingstack/ordering-types 1.32.0 → 1.32.1

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.
@@ -728,8 +728,11 @@ export interface ISteeringCommand {
728
728
  }
729
729
  export declare const modules: readonly ["POS_INTEGRATOR", "KIOSK", "BI_CONNECTOR", "AGGREGATOR", "KDS", "STATUS_SCREEN", "LOYALTY_INTEGRATOR", "LOYALTY", "MOBILE_APP_LOYALTY", "ORDERING_WEB", "DELIVERY_PANEL"];
730
730
  export type TModuleType = (typeof modules)[number];
731
- interface IModuleConfig extends Partial<Record<`variantRatio_${TestVariant}`, number>> {
731
+ type VariantsConfig = (Partial<Record<`variantRatio_${TestVariant}`, number>> & Partial<Record<`KIOSK_MEDIA_3_cmsId_variant_${TestVariant}`, 'string'>>);
732
+ interface IModuleConfig extends VariantsConfig {
732
733
  abTestingEnabled?: boolean;
734
+ KIOSK_MEDIA_2_cmsId?: string;
735
+ KIOSK_MEDIA_3_cmsId?: string;
733
736
  [key: string]: any;
734
737
  }
735
738
  export interface IModule {
@@ -728,8 +728,11 @@ export interface ISteeringCommand {
728
728
  }
729
729
  export declare const modules: readonly ["POS_INTEGRATOR", "KIOSK", "BI_CONNECTOR", "AGGREGATOR", "KDS", "STATUS_SCREEN", "LOYALTY_INTEGRATOR", "LOYALTY", "MOBILE_APP_LOYALTY", "ORDERING_WEB", "DELIVERY_PANEL"];
730
730
  export type TModuleType = (typeof modules)[number];
731
- interface IModuleConfig extends Partial<Record<`variantRatio_${TestVariant}`, number>> {
731
+ type VariantsConfig = (Partial<Record<`variantRatio_${TestVariant}`, number>> & Partial<Record<`KIOSK_MEDIA_3_cmsId_variant_${TestVariant}`, 'string'>>);
732
+ interface IModuleConfig extends VariantsConfig {
732
733
  abTestingEnabled?: boolean;
734
+ KIOSK_MEDIA_2_cmsId?: string;
735
+ KIOSK_MEDIA_3_cmsId?: string;
733
736
  [key: string]: any;
734
737
  }
735
738
  export interface IModule {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orderingstack/ordering-types",
3
- "version": "1.32.0",
3
+ "version": "1.32.1",
4
4
  "description": "Typescript types for @orderingstack",
5
5
  "types": "dist/esm/index.d.ts",
6
6
  "main": "dist/cjs/index.js",