@bridgeline-digital/hawk-app-bridge 0.1.1 → 0.1.2-dev.20261027173717

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/README.md CHANGED
@@ -357,7 +357,7 @@ only, `LandingPage` has no list), with HawkSearch's models: a misspelled field o
357
357
  `get(name)` of such a resource is typed too, and `HawkSearchModel<'Synonym'>` (or `'RedirectModel'`, `'LandingPage'`,
358
358
  …) names a model in your own code. The resources, as HawkSearch spells them: `banner`, `bannerzone`, `boostbury`,
359
359
  `campaign`, `Facet`, `Field`, `FieldInfo`, `LandingPage`, `landingPageLayout`, `paginationset`,
360
- `recommendationvisibility`, `redirect`, `sortingset`, `spellcheck`, `Synonym`, `visibility`, `visitortarget` (paths
360
+ `recommendationvisibility`, `recommendationwidget`, `redirect`, `sortingset`, `spellcheck`, `Synonym`, `visibility`, `visitortarget` (paths
361
361
  ignore case). Other paths (`LandingPage/urls`, `reports/…`) stay on `get<T>(path)`. The types come from HawkSearch's dev
362
362
  API and are refreshed with each bridge release. To change data, see [Writing to HawkSearch](#writing-to-hawksearch-hawksearchwrite). For reporting, use
363
363
  analytics. Your assistant can look up any operation's fields, its bridge call and scope with the `hawk-apps` MCP
@@ -188,6 +188,18 @@ export interface HawkSearchDashboardModels {
188
188
  CreateDate?: string;
189
189
  ModifyDate?: string;
190
190
  };
191
+ CarouselData: {
192
+ ShowNextPrevButtons?: boolean;
193
+ AutoRotate?: boolean;
194
+ AutoRotateSpeed?: number;
195
+ AnimationSpeed?: number;
196
+ NofVisible?: number;
197
+ IsCircular?: boolean;
198
+ ScrollNumber?: number;
199
+ ShowDots?: boolean;
200
+ EnableResponsive?: boolean;
201
+ ResponseiveConfig?: string;
202
+ };
191
203
  ConversionListParams: {
192
204
  OrderNo?: string;
193
205
  Keyword?: string;
@@ -508,6 +520,30 @@ export interface HawkSearchDashboardModels {
508
520
  ImpressionsCount?: number;
509
521
  WidgetGuid?: string;
510
522
  };
523
+ RecommendationStrategyModel: {
524
+ Type?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17;
525
+ Name?: string;
526
+ ModelGuid?: string;
527
+ StartDate?: string;
528
+ EndDate?: string;
529
+ Weight?: number;
530
+ MaxNofItems?: number;
531
+ TriggerXml?: string;
532
+ ViewContext?: 0 | 1 | 2 | 3;
533
+ IncludeDuplicates?: boolean;
534
+ RuleXml?: string;
535
+ CustomFieldValues?: Record<string, string>;
536
+ SortFieldId?: number;
537
+ SortDirection?: string;
538
+ DateRangeId?: number;
539
+ LBoundDate?: string;
540
+ UBoundDate?: string;
541
+ RecentTimePeriod?: number;
542
+ OlderTimePeriod?: number;
543
+ MoreLikeThisFields?: number[];
544
+ NofItems?: number;
545
+ NofSearches?: number;
546
+ };
511
547
  RecommendationVisibilityModel: {
512
548
  RuleId?: number;
513
549
  Name: string;
@@ -523,6 +559,30 @@ export interface HawkSearchDashboardModels {
523
559
  CreateDate?: string;
524
560
  ModifyDate?: string;
525
561
  };
562
+ RecommendationWidgetDetailsModel: {
563
+ WidgetId?: number;
564
+ WidgetGuid?: string;
565
+ Name: string;
566
+ Title?: string;
567
+ Context?: 1 | 2 | 3 | 4 | 5;
568
+ LayoutId?: number;
569
+ Template?: string;
570
+ NofItems?: number;
571
+ IsCarousel?: boolean;
572
+ LayoutType?: 1 | 2;
573
+ CarouselData?: HawkSearchDashboardModels['CarouselData'];
574
+ StrategyType?: 1 | 2;
575
+ Models?: HawkSearchDashboardModels['RecommendationStrategyModel'][];
576
+ StartDate?: string;
577
+ EndDate?: string;
578
+ Comments?: string;
579
+ ContainerCssClass?: string;
580
+ EnableModelAutoOrdering?: boolean;
581
+ UniqueFacetFieldId?: number;
582
+ MinimumItemsCount?: number;
583
+ CreateDate?: string;
584
+ ModifyDate?: string;
585
+ };
526
586
  RedirectModel: {
527
587
  RedirectId?: number;
528
588
  Name: string;
@@ -826,6 +886,16 @@ export interface DashboardResources {
826
886
  deleted: HawkSearchDashboardModels['RecommendationVisibilityModel'];
827
887
  methods: 'list' | 'get' | 'create' | 'update' | 'delete';
828
888
  };
889
+ recommendationwidget: {
890
+ item: HawkSearchDashboardModels['RecommendationWidgetDetailsModel'];
891
+ list: never;
892
+ create: HawkSearchDashboardModels['RecommendationWidgetDetailsModel'];
893
+ created: HawkSearchDashboardModels['RecommendationWidgetDetailsModel'];
894
+ update: HawkSearchDashboardModels['RecommendationWidgetDetailsModel'];
895
+ updated: HawkSearchDashboardModels['RecommendationWidgetDetailsModel'];
896
+ deleted: HawkSearchDashboardModels['RecommendationWidgetDetailsModel'];
897
+ methods: 'get' | 'create' | 'update' | 'delete';
898
+ };
829
899
  /** Get redirects */
830
900
  redirect: {
831
901
  item: HawkSearchDashboardModels['RedirectModel'];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bridgeline-digital/hawk-app-bridge",
3
- "version": "0.1.1",
3
+ "version": "0.1.2-dev.20261027173717",
4
4
  "description": "For Bridgeline developers: the host/app bridge for Hawk Apps (Services-built tools embedded in HawkSearch and Spark), plus the runtime for app functions. Requires the Hawk Apps platform.",
5
5
  "author": "Bridgeline Digital",
6
6
  "license": "UNLICENSED",