@coveo/quantic 3.14.1 → 3.14.3

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 (33) hide show
  1. package/force-app/main/default/staticresources/coveobueno/definitions/index.d.ts +7 -7
  2. package/force-app/main/default/staticresources/coveobueno/definitions/values/boolean-value.d.ts +2 -2
  3. package/force-app/main/default/staticresources/coveobueno/definitions/values/complex-value.d.ts +5 -5
  4. package/force-app/main/default/staticresources/coveobueno/definitions/values/enum-value.d.ts +2 -2
  5. package/force-app/main/default/staticresources/coveobueno/definitions/values/number-value.d.ts +2 -2
  6. package/force-app/main/default/staticresources/coveobueno/definitions/values/string-value.d.ts +2 -2
  7. package/force-app/main/default/staticresources/coveobueno/definitions/values/value.d.ts +1 -1
  8. package/force-app/main/default/staticresources/coveoheadless/case-assist/headless.js +9 -7
  9. package/force-app/main/default/staticresources/coveoheadless/definitions/api/commerce/common/product.d.ts +6 -0
  10. package/force-app/main/default/staticresources/coveoheadless/definitions/api/knowledge/stream-answer-api.d.ts +1 -1
  11. package/force-app/main/default/staticresources/coveoheadless/definitions/app/commerce-ssr-engine/types/core-engine.d.ts +9 -0
  12. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/facets/category-facet/headless-core-category-facet-options.d.ts +3 -1
  13. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/facets/facet/headless-core-facet-options.d.ts +3 -1
  14. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/facets/range-facet/date-facet/headless-core-date-filter.d.ts +3 -1
  15. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/facets/range-facet/date-facet/headless-date-facet-options.d.ts +3 -1
  16. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/facets/range-facet/numeric-facet/headless-core-numeric-filter.d.ts +3 -1
  17. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/facets/range-facet/numeric-facet/headless-numeric-facet-options.d.ts +3 -1
  18. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/facets/facet/headless-facet-options.d.ts +3 -1
  19. package/force-app/main/default/staticresources/coveoheadless/definitions/features/facets/category-facet-set/category-facet-set-actions.d.ts +3 -1
  20. package/force-app/main/default/staticresources/coveoheadless/definitions/features/facets/facet-api/request.d.ts +4 -1
  21. package/force-app/main/default/staticresources/coveoheadless/definitions/features/facets/facet-set/facet-set-actions.d.ts +3 -1
  22. package/force-app/main/default/staticresources/coveoheadless/definitions/features/facets/range-facets/date-facet-set/date-facet-actions.d.ts +3 -1
  23. package/force-app/main/default/staticresources/coveoheadless/definitions/features/facets/range-facets/numeric-facet-set/numeric-facet-actions.d.ts +3 -1
  24. package/force-app/main/default/staticresources/coveoheadless/definitions/features/generated-answer/generated-answer-actions.d.ts +1 -0
  25. package/force-app/main/default/staticresources/coveoheadless/definitions/features/generated-answer/generated-answer-state.d.ts +4 -0
  26. package/force-app/main/default/staticresources/coveoheadless/definitions/utils/fetch-event-source/fetch.d.ts +44 -0
  27. package/force-app/main/default/staticresources/coveoheadless/definitions/utils/fetch-event-source/index.d.ts +2 -0
  28. package/force-app/main/default/staticresources/coveoheadless/definitions/utils/fetch-event-source/parse.d.ts +36 -0
  29. package/force-app/main/default/staticresources/coveoheadless/headless.js +11 -9
  30. package/force-app/main/default/staticresources/coveoheadless/insight/headless.js +10 -8
  31. package/force-app/main/default/staticresources/coveoheadless/recommendation/headless.js +9 -7
  32. package/package.json +6 -6
  33. package/force-app/main/default/staticresources/coveoheadless/definitions/tsdoc-metadata.json +0 -11
@@ -1,7 +1,7 @@
1
- export * from './schema';
2
- export * from './values/value';
3
- export * from './values/number-value';
4
- export * from './values/boolean-value';
5
- export * from './values/string-value';
6
- export * from './values/complex-value';
7
- export * from './values/enum-value';
1
+ export * from './schema.js';
2
+ export * from './values/value.js';
3
+ export * from './values/number-value.js';
4
+ export * from './values/boolean-value.js';
5
+ export * from './values/string-value.js';
6
+ export * from './values/complex-value.js';
7
+ export * from './values/enum-value.js';
@@ -1,5 +1,5 @@
1
- import { SchemaValue } from '../schema';
2
- import { ValueConfig } from './value';
1
+ import { SchemaValue } from '../schema.js';
2
+ import { ValueConfig } from './value.js';
3
3
  type BooleanValueConfig = ValueConfig<boolean>;
4
4
  export declare class BooleanValue implements SchemaValue<boolean> {
5
5
  private value;
@@ -1,8 +1,8 @@
1
- import { SchemaDefinition, SchemaValue } from '../schema';
2
- import { BooleanValue } from './boolean-value';
3
- import { NumberValue } from './number-value';
4
- import { StringValue } from './string-value';
5
- import { PrimitivesValues, ValueConfig } from './value';
1
+ import { SchemaDefinition, SchemaValue } from '../schema.js';
2
+ import { BooleanValue } from './boolean-value.js';
3
+ import { NumberValue } from './number-value.js';
4
+ import { StringValue } from './string-value.js';
5
+ import { PrimitivesValues, ValueConfig } from './value.js';
6
6
  type RecordWithPrimitiveValues = Record<string, PrimitivesValues>;
7
7
  type ComplexRecord = Record<string, PrimitivesValues | RecordWithPrimitiveValues | ArrayValue>;
8
8
  type RecordValueConfig = {
@@ -1,5 +1,5 @@
1
- import { SchemaValue } from '../schema';
2
- import { ValueConfig } from './value';
1
+ import { SchemaValue } from '../schema.js';
2
+ import { ValueConfig } from './value.js';
3
3
  export interface EnumValueConfig<T> extends ValueConfig<T> {
4
4
  enum: Record<string | number, string | number>;
5
5
  }
@@ -1,5 +1,5 @@
1
- import { SchemaValue } from '../schema';
2
- import { ValueConfig } from './value';
1
+ import { SchemaValue } from '../schema.js';
2
+ import { ValueConfig } from './value.js';
3
3
  interface NumberValueConfig extends ValueConfig<number> {
4
4
  min?: number;
5
5
  max?: number;
@@ -1,5 +1,5 @@
1
- import { SchemaValue } from '../schema';
2
- import { ValueConfig } from './value';
1
+ import { SchemaValue } from '../schema.js';
2
+ import { ValueConfig } from './value.js';
3
3
  interface StringValueConfig<T extends string> extends ValueConfig<T> {
4
4
  emptyAllowed?: boolean;
5
5
  url?: boolean;
@@ -1,4 +1,4 @@
1
- import { SchemaValue } from '../schema';
1
+ import { SchemaValue } from '../schema.js';
2
2
  export type PrimitivesValues = boolean | number | string | object | undefined | null;
3
3
  export interface ValueConfig<T> {
4
4
  default?: (() => T) | T;