@empathyco/x-adapter-platform 1.4.2 → 1.5.0

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.
@@ -10,7 +10,7 @@ const utils_1 = require("../facets/utils");
10
10
  */
11
11
  exports.facetSchema = (0, x_adapter_1.createMutableSchema)({
12
12
  id: 'facet',
13
- label: 'facet',
13
+ label: 'label',
14
14
  // eslint-disable-next-line ts/no-unsafe-return
15
15
  modelName: ({ type }) => (0, utils_1.getFacetConfig)(type).modelName,
16
16
  filters: {
@@ -1 +1 @@
1
- {"version":3,"file":"facet.schema.js","sourceRoot":"","sources":["../../../../src/schemas/models/facet.schema.ts"],"names":[],"mappings":";;;AAOA,oDAA0D;AAC1D,2CAAgD;AAEhD;;;;GAIG;AACU,QAAA,WAAW,GAAG,IAAA,+BAAmB,EAG5C;IACA,EAAE,EAAE,OAAO;IACX,KAAK,EAAE,OAAO;IACd,+CAA+C;IAC/C,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,IAAA,sBAAc,EAAC,IAAI,CAAC,CAAC,SAAgB;IAC9D,OAAO,EAAE;QACP,KAAK,EAAE,QAAQ;QACf,UAAU,EAAE,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,IAAA,sBAAc,EAAC,IAAI,CAAC,CAAC,MAAM;QACrD,QAAQ,EAAE;YACR,OAAO,EAAE,OAAO;SACjB;KACF;CACF,CAAC,CAAA","sourcesContent":["import type {\n EditableNumberRangeFacet,\n HierarchicalFacet,\n NumberRangeFacet,\n SimpleFacet,\n} from '@empathyco/x-types'\nimport type { PlatformFacet } from '../../types/models/facet.model'\nimport { createMutableSchema } from '@empathyco/x-adapter'\nimport { getFacetConfig } from '../facets/utils'\n\n/**\n * Default implementation for the FacetSchema.\n *\n * @public\n */\nexport const facetSchema = createMutableSchema<\n PlatformFacet,\n HierarchicalFacet | NumberRangeFacet | SimpleFacet | EditableNumberRangeFacet\n>({\n id: 'facet',\n label: 'facet',\n // eslint-disable-next-line ts/no-unsafe-return\n modelName: ({ type }) => getFacetConfig(type).modelName as any,\n filters: {\n $path: 'values',\n $subSchema: ({ type }) => getFacetConfig(type).schema,\n $context: {\n facetId: 'facet',\n },\n },\n})\n"]}
1
+ {"version":3,"file":"facet.schema.js","sourceRoot":"","sources":["../../../../src/schemas/models/facet.schema.ts"],"names":[],"mappings":";;;AAOA,oDAA0D;AAC1D,2CAAgD;AAEhD;;;;GAIG;AACU,QAAA,WAAW,GAAG,IAAA,+BAAmB,EAG5C;IACA,EAAE,EAAE,OAAO;IACX,KAAK,EAAE,OAAO;IACd,+CAA+C;IAC/C,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,IAAA,sBAAc,EAAC,IAAI,CAAC,CAAC,SAAgB;IAC9D,OAAO,EAAE;QACP,KAAK,EAAE,QAAQ;QACf,UAAU,EAAE,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,IAAA,sBAAc,EAAC,IAAI,CAAC,CAAC,MAAM;QACrD,QAAQ,EAAE;YACR,OAAO,EAAE,OAAO;SACjB;KACF;CACF,CAAC,CAAA","sourcesContent":["import type {\n EditableNumberRangeFacet,\n HierarchicalFacet,\n NumberRangeFacet,\n SimpleFacet,\n} from '@empathyco/x-types'\nimport type { PlatformFacet } from '../../types/models/facet.model'\nimport { createMutableSchema } from '@empathyco/x-adapter'\nimport { getFacetConfig } from '../facets/utils'\n\n/**\n * Default implementation for the FacetSchema.\n *\n * @public\n */\nexport const facetSchema = createMutableSchema<\n PlatformFacet,\n HierarchicalFacet | NumberRangeFacet | SimpleFacet | EditableNumberRangeFacet\n>({\n id: 'facet',\n label: 'label',\n // eslint-disable-next-line ts/no-unsafe-return\n modelName: ({ type }) => getFacetConfig(type).modelName as any,\n filters: {\n $path: 'values',\n $subSchema: ({ type }) => getFacetConfig(type).schema,\n $context: {\n facetId: 'facet',\n },\n },\n})\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"facet.model.js","sourceRoot":"","sources":["../../../../src/types/models/facet.model.ts"],"names":[],"mappings":"","sourcesContent":["import type { BooleanFilter, Facet, Filter } from '@empathyco/x-types'\n\n/**\n * Facet model for the `platform` API.\n *\n * @public\n */\nexport interface PlatformFacet {\n facet: string\n type: PlatformFacetType\n values: PlatformFilter[]\n}\n\n/**\n * Facet type for the `platform` API. It can be: value, hierarchical or range.\n *\n * @public\n */\nexport type PlatformFacetType = 'value' | 'hierarchical' | 'range' | 'editable-range'\n\n/**\n * Filter model for the `platform` API.\n *\n * @public\n */\nexport interface PlatformFilter {\n count: number\n filter: string\n id: string\n value: string\n}\n\n/**\n * HierarchicalFilter model for the `platform` API.\n *\n * @public\n */\nexport interface PlatformHierarchicalFilter extends PlatformFilter {\n children: PlatformFacet\n}\n\n/**\n * Hierarchical Facet model used when combining search response mappers.\n *\n * @internal\n */\nexport interface AdapterHierarchicalFacet extends Facet {\n /** Model name to indicate the facet type. */\n modelName: 'HierarchicalFacet'\n /** Filters available for the facet. */\n filters: AdapterHierarchicalFilter[]\n}\n\n/**\n * Hierarchical Filter model used when combining search response mappers.\n *\n * @internal\n */\nexport interface AdapterHierarchicalFilter extends BooleanFilter {\n /** Model name to indicate the filter type. */\n modelName: 'HierarchicalFilter'\n /** A unique id used to reference the parent filter or null if it hasn't. */\n parentId: Filter['id'] | null\n /** Descendants filters. */\n children?: AdapterHierarchicalFilter[]\n}\n"]}
1
+ {"version":3,"file":"facet.model.js","sourceRoot":"","sources":["../../../../src/types/models/facet.model.ts"],"names":[],"mappings":"","sourcesContent":["import type { BooleanFilter, Facet, Filter } from '@empathyco/x-types'\n\n/**\n * Facet model for the `platform` API.\n *\n * @public\n */\nexport interface PlatformFacet {\n label: string\n facet: string\n type: PlatformFacetType\n values: PlatformFilter[]\n}\n\n/**\n * Facet type for the `platform` API. It can be: value, hierarchical or range.\n *\n * @public\n */\nexport type PlatformFacetType = 'value' | 'hierarchical' | 'range' | 'editable-range'\n\n/**\n * Filter model for the `platform` API.\n *\n * @public\n */\nexport interface PlatformFilter {\n count: number\n filter: string\n id: string\n value: string\n}\n\n/**\n * HierarchicalFilter model for the `platform` API.\n *\n * @public\n */\nexport interface PlatformHierarchicalFilter extends PlatformFilter {\n children: PlatformFacet\n}\n\n/**\n * Hierarchical Facet model used when combining search response mappers.\n *\n * @internal\n */\nexport interface AdapterHierarchicalFacet extends Facet {\n /** Model name to indicate the facet type. */\n modelName: 'HierarchicalFacet'\n /** Filters available for the facet. */\n filters: AdapterHierarchicalFilter[]\n}\n\n/**\n * Hierarchical Filter model used when combining search response mappers.\n *\n * @internal\n */\nexport interface AdapterHierarchicalFilter extends BooleanFilter {\n /** Model name to indicate the filter type. */\n modelName: 'HierarchicalFilter'\n /** A unique id used to reference the parent filter or null if it hasn't. */\n parentId: Filter['id'] | null\n /** Descendants filters. */\n children?: AdapterHierarchicalFilter[]\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"next-query.model.js","sourceRoot":"","sources":["../../../../src/types/models/next-query.model.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * Next query model for the `platform` API.\n *\n * @public\n */\nexport interface PlatformNextQuery {\n query: string\n source: 'ORGANIC' | 'CURATED'\n position: number\n}\n"]}
1
+ {"version":3,"file":"next-query.model.js","sourceRoot":"","sources":["../../../../src/types/models/next-query.model.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * Next query model for the `platform` API.\n *\n * @public\n */\nexport interface PlatformNextQuery {\n query: string\n source: 'ORGANIC' | 'CURATED' | 'SYNTHETIC'\n position: number\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"related-tag.model.js","sourceRoot":"","sources":["../../../../src/types/models/related-tag.model.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * Related tag model for the `platform` API.\n *\n * @public\n */\nexport interface PlatformRelatedTag {\n query: string\n tag: string\n source: 'ORGANIC' | 'CURATED'\n position: number\n}\n"]}
1
+ {"version":3,"file":"related-tag.model.js","sourceRoot":"","sources":["../../../../src/types/models/related-tag.model.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * Related tag model for the `platform` API.\n *\n * @public\n */\nexport interface PlatformRelatedTag {\n query: string\n tag: string\n source: 'ORGANIC' | 'CURATED' | 'SYNTHETIC'\n position: number\n}\n"]}
@@ -7,7 +7,7 @@ import { getFacetConfig } from '../facets/utils';
7
7
  */
8
8
  export const facetSchema = createMutableSchema({
9
9
  id: 'facet',
10
- label: 'facet',
10
+ label: 'label',
11
11
  // eslint-disable-next-line ts/no-unsafe-return
12
12
  modelName: ({ type }) => getFacetConfig(type).modelName,
13
13
  filters: {
@@ -1 +1 @@
1
- {"version":3,"file":"facet.schema.js","sourceRoot":"","sources":["../../../../src/schemas/models/facet.schema.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAA;AAC1D,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAA;AAEhD;;;;GAIG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,mBAAmB,CAG5C;IACA,EAAE,EAAE,OAAO;IACX,KAAK,EAAE,OAAO;IACd,+CAA+C;IAC/C,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,SAAgB;IAC9D,OAAO,EAAE;QACP,KAAK,EAAE,QAAQ;QACf,UAAU,EAAE,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,MAAM;QACrD,QAAQ,EAAE;YACR,OAAO,EAAE,OAAO;SACjB;KACF;CACF,CAAC,CAAA","sourcesContent":["import type {\n EditableNumberRangeFacet,\n HierarchicalFacet,\n NumberRangeFacet,\n SimpleFacet,\n} from '@empathyco/x-types'\nimport type { PlatformFacet } from '../../types/models/facet.model'\nimport { createMutableSchema } from '@empathyco/x-adapter'\nimport { getFacetConfig } from '../facets/utils'\n\n/**\n * Default implementation for the FacetSchema.\n *\n * @public\n */\nexport const facetSchema = createMutableSchema<\n PlatformFacet,\n HierarchicalFacet | NumberRangeFacet | SimpleFacet | EditableNumberRangeFacet\n>({\n id: 'facet',\n label: 'facet',\n // eslint-disable-next-line ts/no-unsafe-return\n modelName: ({ type }) => getFacetConfig(type).modelName as any,\n filters: {\n $path: 'values',\n $subSchema: ({ type }) => getFacetConfig(type).schema,\n $context: {\n facetId: 'facet',\n },\n },\n})\n"]}
1
+ {"version":3,"file":"facet.schema.js","sourceRoot":"","sources":["../../../../src/schemas/models/facet.schema.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAA;AAC1D,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAA;AAEhD;;;;GAIG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,mBAAmB,CAG5C;IACA,EAAE,EAAE,OAAO;IACX,KAAK,EAAE,OAAO;IACd,+CAA+C;IAC/C,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,SAAgB;IAC9D,OAAO,EAAE;QACP,KAAK,EAAE,QAAQ;QACf,UAAU,EAAE,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,MAAM;QACrD,QAAQ,EAAE;YACR,OAAO,EAAE,OAAO;SACjB;KACF;CACF,CAAC,CAAA","sourcesContent":["import type {\n EditableNumberRangeFacet,\n HierarchicalFacet,\n NumberRangeFacet,\n SimpleFacet,\n} from '@empathyco/x-types'\nimport type { PlatformFacet } from '../../types/models/facet.model'\nimport { createMutableSchema } from '@empathyco/x-adapter'\nimport { getFacetConfig } from '../facets/utils'\n\n/**\n * Default implementation for the FacetSchema.\n *\n * @public\n */\nexport const facetSchema = createMutableSchema<\n PlatformFacet,\n HierarchicalFacet | NumberRangeFacet | SimpleFacet | EditableNumberRangeFacet\n>({\n id: 'facet',\n label: 'label',\n // eslint-disable-next-line ts/no-unsafe-return\n modelName: ({ type }) => getFacetConfig(type).modelName as any,\n filters: {\n $path: 'values',\n $subSchema: ({ type }) => getFacetConfig(type).schema,\n $context: {\n facetId: 'facet',\n },\n },\n})\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"facet.model.js","sourceRoot":"","sources":["../../../../src/types/models/facet.model.ts"],"names":[],"mappings":"","sourcesContent":["import type { BooleanFilter, Facet, Filter } from '@empathyco/x-types'\n\n/**\n * Facet model for the `platform` API.\n *\n * @public\n */\nexport interface PlatformFacet {\n facet: string\n type: PlatformFacetType\n values: PlatformFilter[]\n}\n\n/**\n * Facet type for the `platform` API. It can be: value, hierarchical or range.\n *\n * @public\n */\nexport type PlatformFacetType = 'value' | 'hierarchical' | 'range' | 'editable-range'\n\n/**\n * Filter model for the `platform` API.\n *\n * @public\n */\nexport interface PlatformFilter {\n count: number\n filter: string\n id: string\n value: string\n}\n\n/**\n * HierarchicalFilter model for the `platform` API.\n *\n * @public\n */\nexport interface PlatformHierarchicalFilter extends PlatformFilter {\n children: PlatformFacet\n}\n\n/**\n * Hierarchical Facet model used when combining search response mappers.\n *\n * @internal\n */\nexport interface AdapterHierarchicalFacet extends Facet {\n /** Model name to indicate the facet type. */\n modelName: 'HierarchicalFacet'\n /** Filters available for the facet. */\n filters: AdapterHierarchicalFilter[]\n}\n\n/**\n * Hierarchical Filter model used when combining search response mappers.\n *\n * @internal\n */\nexport interface AdapterHierarchicalFilter extends BooleanFilter {\n /** Model name to indicate the filter type. */\n modelName: 'HierarchicalFilter'\n /** A unique id used to reference the parent filter or null if it hasn't. */\n parentId: Filter['id'] | null\n /** Descendants filters. */\n children?: AdapterHierarchicalFilter[]\n}\n"]}
1
+ {"version":3,"file":"facet.model.js","sourceRoot":"","sources":["../../../../src/types/models/facet.model.ts"],"names":[],"mappings":"","sourcesContent":["import type { BooleanFilter, Facet, Filter } from '@empathyco/x-types'\n\n/**\n * Facet model for the `platform` API.\n *\n * @public\n */\nexport interface PlatformFacet {\n label: string\n facet: string\n type: PlatformFacetType\n values: PlatformFilter[]\n}\n\n/**\n * Facet type for the `platform` API. It can be: value, hierarchical or range.\n *\n * @public\n */\nexport type PlatformFacetType = 'value' | 'hierarchical' | 'range' | 'editable-range'\n\n/**\n * Filter model for the `platform` API.\n *\n * @public\n */\nexport interface PlatformFilter {\n count: number\n filter: string\n id: string\n value: string\n}\n\n/**\n * HierarchicalFilter model for the `platform` API.\n *\n * @public\n */\nexport interface PlatformHierarchicalFilter extends PlatformFilter {\n children: PlatformFacet\n}\n\n/**\n * Hierarchical Facet model used when combining search response mappers.\n *\n * @internal\n */\nexport interface AdapterHierarchicalFacet extends Facet {\n /** Model name to indicate the facet type. */\n modelName: 'HierarchicalFacet'\n /** Filters available for the facet. */\n filters: AdapterHierarchicalFilter[]\n}\n\n/**\n * Hierarchical Filter model used when combining search response mappers.\n *\n * @internal\n */\nexport interface AdapterHierarchicalFilter extends BooleanFilter {\n /** Model name to indicate the filter type. */\n modelName: 'HierarchicalFilter'\n /** A unique id used to reference the parent filter or null if it hasn't. */\n parentId: Filter['id'] | null\n /** Descendants filters. */\n children?: AdapterHierarchicalFilter[]\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"next-query.model.js","sourceRoot":"","sources":["../../../../src/types/models/next-query.model.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * Next query model for the `platform` API.\n *\n * @public\n */\nexport interface PlatformNextQuery {\n query: string\n source: 'ORGANIC' | 'CURATED'\n position: number\n}\n"]}
1
+ {"version":3,"file":"next-query.model.js","sourceRoot":"","sources":["../../../../src/types/models/next-query.model.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * Next query model for the `platform` API.\n *\n * @public\n */\nexport interface PlatformNextQuery {\n query: string\n source: 'ORGANIC' | 'CURATED' | 'SYNTHETIC'\n position: number\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"related-tag.model.js","sourceRoot":"","sources":["../../../../src/types/models/related-tag.model.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * Related tag model for the `platform` API.\n *\n * @public\n */\nexport interface PlatformRelatedTag {\n query: string\n tag: string\n source: 'ORGANIC' | 'CURATED'\n position: number\n}\n"]}
1
+ {"version":3,"file":"related-tag.model.js","sourceRoot":"","sources":["../../../../src/types/models/related-tag.model.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * Related tag model for the `platform` API.\n *\n * @public\n */\nexport interface PlatformRelatedTag {\n query: string\n tag: string\n source: 'ORGANIC' | 'CURATED' | 'SYNTHETIC'\n position: number\n}\n"]}
@@ -5,6 +5,7 @@ import type { BooleanFilter, Facet, Filter } from '@empathyco/x-types';
5
5
  * @public
6
6
  */
7
7
  export interface PlatformFacet {
8
+ label: string;
8
9
  facet: string;
9
10
  type: PlatformFacetType;
10
11
  values: PlatformFilter[];
@@ -5,6 +5,6 @@
5
5
  */
6
6
  export interface PlatformNextQuery {
7
7
  query: string;
8
- source: 'ORGANIC' | 'CURATED';
8
+ source: 'ORGANIC' | 'CURATED' | 'SYNTHETIC';
9
9
  position: number;
10
10
  }
@@ -6,6 +6,6 @@
6
6
  export interface PlatformRelatedTag {
7
7
  query: string;
8
8
  tag: string;
9
- source: 'ORGANIC' | 'CURATED';
9
+ source: 'ORGANIC' | 'CURATED' | 'SYNTHETIC';
10
10
  position: number;
11
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@empathyco/x-adapter-platform",
3
- "version": "1.4.2",
3
+ "version": "1.5.0",
4
4
  "description": "A search client for the Empathy Platform API",
5
5
  "author": "Empathy Systems Corporation S.L.",
6
6
  "license": "Apache-2.0",
@@ -62,5 +62,5 @@
62
62
  "publishConfig": {
63
63
  "access": "public"
64
64
  },
65
- "gitHead": "dd8e23bf7d7a0a96931c8244e0cb5843fe8c8f89"
65
+ "gitHead": "20dde8a5b68ef6e7855e96181ccf99b52922a619"
66
66
  }
@@ -3569,6 +3569,33 @@
3569
3569
  "endIndex": 2
3570
3570
  }
3571
3571
  },
3572
+ {
3573
+ "kind": "PropertySignature",
3574
+ "canonicalReference": "@empathyco/x-adapter-platform!PlatformFacet#label:member",
3575
+ "docComment": "",
3576
+ "excerptTokens": [
3577
+ {
3578
+ "kind": "Content",
3579
+ "text": "label: "
3580
+ },
3581
+ {
3582
+ "kind": "Content",
3583
+ "text": "string"
3584
+ },
3585
+ {
3586
+ "kind": "Content",
3587
+ "text": ";"
3588
+ }
3589
+ ],
3590
+ "isReadonly": false,
3591
+ "isOptional": false,
3592
+ "releaseTag": "Public",
3593
+ "name": "label",
3594
+ "propertyTypeTokenRange": {
3595
+ "startIndex": 1,
3596
+ "endIndex": 2
3597
+ }
3598
+ },
3572
3599
  {
3573
3600
  "kind": "PropertySignature",
3574
3601
  "canonicalReference": "@empathyco/x-adapter-platform!PlatformFacet#type:member",
@@ -4270,7 +4297,7 @@
4270
4297
  },
4271
4298
  {
4272
4299
  "kind": "Content",
4273
- "text": "'ORGANIC' | 'CURATED'"
4300
+ "text": "'ORGANIC' | 'CURATED' | 'SYNTHETIC'"
4274
4301
  },
4275
4302
  {
4276
4303
  "kind": "Content",
@@ -5563,7 +5590,7 @@
5563
5590
  },
5564
5591
  {
5565
5592
  "kind": "Content",
5566
- "text": "'ORGANIC' | 'CURATED'"
5593
+ "text": "'ORGANIC' | 'CURATED' | 'SYNTHETIC'"
5567
5594
  },
5568
5595
  {
5569
5596
  "kind": "Content",
@@ -338,6 +338,8 @@ export interface PlatformFacet {
338
338
  // (undocumented)
339
339
  facet: string;
340
340
  // (undocumented)
341
+ label: string;
342
+ // (undocumented)
341
343
  type: PlatformFacetType;
342
344
  // (undocumented)
343
345
  values: PlatformFilter[];
@@ -416,7 +418,7 @@ export interface PlatformNextQuery {
416
418
  // (undocumented)
417
419
  query: string;
418
420
  // (undocumented)
419
- source: 'ORGANIC' | 'CURATED';
421
+ source: 'ORGANIC' | 'CURATED' | 'SYNTHETIC';
420
422
  }
421
423
 
422
424
  // @public
@@ -551,7 +553,7 @@ export interface PlatformRelatedTag {
551
553
  // (undocumented)
552
554
  query: string;
553
555
  // (undocumented)
554
- source: 'ORGANIC' | 'CURATED';
556
+ source: 'ORGANIC' | 'CURATED' | 'SYNTHETIC';
555
557
  // (undocumented)
556
558
  tag: string;
557
559
  }