Skip to content

Commit f820166

Browse files
authored
[PLAT-5961] Include new flag to create stream key with search session (#153)
* Update client with search session flag * v0.24.0
1 parent 67ddf4c commit f820166

File tree

4 files changed

+69
-41
lines changed

4 files changed

+69
-41
lines changed

api.ts

+31-17
Original file line numberDiff line numberDiff line change
@@ -2030,11 +2030,29 @@ export interface CreateStreamKeyRequestDataAttributes {
20302030
*/
20312031
expiry?: number;
20322032
/**
2033-
* Whether to exclude non-visible items in the view
2033+
* Whether to exclude non-visible items in the view.
20342034
* @type {boolean}
20352035
* @memberof CreateStreamKeyRequestDataAttributes
20362036
*/
20372037
excludePrunedItems?: boolean;
2038+
/**
2039+
* An optional supplied ID specifying the `scene-view-state` to initialize `scene-view`s created using this `stream-key` to. Mutually exclusive with `sceneViewStateId`.
2040+
* @type {string}
2041+
* @memberof CreateStreamKeyRequestDataAttributes
2042+
*/
2043+
sceneViewStateSuppliedId?: string;
2044+
/**
2045+
* An optional ID specifying the `scene-view-state` to initialize `scene-view`s created using this `stream-key` to. Mutually exclusive with `sceneViewStateSuppliedId`.
2046+
* @type {string}
2047+
* @memberof CreateStreamKeyRequestDataAttributes
2048+
*/
2049+
sceneViewStateId?: string;
2050+
/**
2051+
* Optionally enables or disables the creation of a search session for the view.
2052+
* @type {boolean}
2053+
* @memberof CreateStreamKeyRequestDataAttributes
2054+
*/
2055+
withSearchSession?: boolean;
20382056
}
20392057
/**
20402058
*
@@ -4236,29 +4254,13 @@ export interface PropertyEntryList {
42364254
* @interface PropertyKeyType
42374255
*/
42384256
export interface PropertyKeyType {
4239-
/**
4240-
* The key category
4241-
* @type {string}
4242-
* @memberof PropertyKeyType
4243-
*/
4244-
category: PropertyKeyTypeCategoryEnum;
42454257
/**
42464258
*
42474259
* @type {string}
42484260
* @memberof PropertyKeyType
42494261
*/
42504262
name: string;
42514263
}
4252-
4253-
export const PropertyKeyTypeCategoryEnum = {
4254-
Vendor: 'vendor',
4255-
Vertex: 'vertex',
4256-
User: 'user',
4257-
} as const;
4258-
4259-
export type PropertyKeyTypeCategoryEnum =
4260-
(typeof PropertyKeyTypeCategoryEnum)[keyof typeof PropertyKeyTypeCategoryEnum];
4261-
42624264
/**
42634265
*
42644266
* @export
@@ -6341,6 +6343,18 @@ export interface StreamKeyDataAttributes {
63416343
* @memberof StreamKeyDataAttributes
63426344
*/
63436345
excludePrunedItems?: boolean;
6346+
/**
6347+
*
6348+
* @type {string}
6349+
* @memberof StreamKeyDataAttributes
6350+
*/
6351+
sceneViewStateSuppliedId?: string;
6352+
/**
6353+
* ID of the resource.
6354+
* @type {string}
6355+
* @memberof StreamKeyDataAttributes
6356+
*/
6357+
sceneViewStateId?: string;
63446358
}
63456359
/**
63466360
*

client/version.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const version = '0.23.4';
1+
export const version = '0.24.0';

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vertexvis/api-client-node",
3-
"version": "0.23.4",
3+
"version": "0.24.0",
44
"description": "The Vertex REST API client for Node.js.",
55
"license": "MIT",
66
"author": "Vertex Developers <support@vertexvis.com> (https://developer.vertexvis.com)",

spec.yml

+36-22
Original file line numberDiff line numberDiff line change
@@ -8311,20 +8311,6 @@ components:
83118311
maxLength: 36
83128312
type: string
83138313
style: form
8314-
PropertyEntriesCategoryFilter:
8315-
description: The key categories to filter by
8316-
explode: true
8317-
in: query
8318-
name: filter[key.category]
8319-
required: false
8320-
schema:
8321-
description: The key category
8322-
enum:
8323-
- vendor
8324-
- vertex
8325-
- user
8326-
type: string
8327-
style: form
83288314
SuppliedIdFilter:
83298315
description: Comma-separated list of supplied IDs to filter on.
83308316
explode: true
@@ -11314,13 +11300,6 @@ components:
1131411300
type: object
1131511301
PropertyKeyType:
1131611302
properties:
11317-
category:
11318-
description: The key category
11319-
enum:
11320-
- vendor
11321-
- vertex
11322-
- user
11323-
type: string
1132411303
name:
1132511304
example: some-string
1132611305
maxLength: 1024
@@ -12962,7 +12941,31 @@ components:
1296212941
minimum: 1
1296312942
type: integer
1296412943
excludePrunedItems:
12965-
description: Whether to exclude non-visible items in the view
12944+
description: Whether to exclude non-visible items in the view.
12945+
example: true
12946+
type: boolean
12947+
sceneViewStateSuppliedId:
12948+
description:
12949+
An optional supplied ID specifying the `scene-view-state` to
12950+
initialize `scene-view`s created using this `stream-key` to. Mutually
12951+
exclusive with `sceneViewStateId`.
12952+
example: some-string
12953+
maxLength: 1024
12954+
minLength: 1
12955+
type: string
12956+
sceneViewStateId:
12957+
description:
12958+
An optional ID specifying the `scene-view-state` to initialize
12959+
`scene-view`s created using this `stream-key` to. Mutually exclusive with
12960+
`sceneViewStateSuppliedId`.
12961+
example: f79d4760-0b71-44e4-ad0b-22743fdd4ca3
12962+
format: uuid
12963+
maxLength: 36
12964+
type: string
12965+
withSearchSession:
12966+
description:
12967+
Optionally enables or disables the creation of a search session
12968+
for the view.
1296612969
example: true
1296712970
type: boolean
1296812971
type: object
@@ -13971,6 +13974,17 @@ components:
1397113974
excludePrunedItems:
1397213975
example: true
1397313976
type: boolean
13977+
sceneViewStateSuppliedId:
13978+
example: some-string
13979+
maxLength: 1024
13980+
minLength: 1
13981+
type: string
13982+
sceneViewStateId:
13983+
description: ID of the resource.
13984+
example: f79d4760-0b71-44e4-ad0b-22743fdd4ca3
13985+
format: uuid
13986+
maxLength: 36
13987+
type: string
1397413988
required:
1397513989
- created
1397613990
- expiry

0 commit comments

Comments
 (0)