From a29d009e5c57aa59298efbe3ecace7d971fe6c69 Mon Sep 17 00:00:00 2001 From: Koushik Dutta Date: Fri, 24 Mar 2023 20:19:48 -0700 Subject: [PATCH] sdk: update --- sdk/types/scrypted_python/scrypted_sdk/types.py | 2 ++ sdk/types/src/types.input.ts | 1 + 2 files changed, 3 insertions(+) diff --git a/sdk/types/scrypted_python/scrypted_sdk/types.py b/sdk/types/scrypted_python/scrypted_sdk/types.py index 9fb05a78cb..58c2b6a83f 100644 --- a/sdk/types/scrypted_python/scrypted_sdk/types.py +++ b/sdk/types/scrypted_python/scrypted_sdk/types.py @@ -485,6 +485,7 @@ class ObjectDetectionGeneratorResult(TypedDict): class ObjectDetectionGeneratorSession(TypedDict): settings: Any + sourceId: str pass class ObjectDetectionModel(TypedDict): @@ -500,6 +501,7 @@ class ObjectDetectionSession(TypedDict): detectionId: str duration: float settings: Any + sourceId: str pass class ObjectDetectionTypes(TypedDict): diff --git a/sdk/types/src/types.input.ts b/sdk/types/src/types.input.ts index 5db5ae774b..af50060540 100644 --- a/sdk/types/src/types.input.ts +++ b/sdk/types/src/types.input.ts @@ -1291,6 +1291,7 @@ export interface ObjectDetector { } export interface ObjectDetectionGeneratorSession { settings?: { [key: string]: any }; + sourceId?: string; } export interface ObjectDetectionSession extends ObjectDetectionGeneratorSession { detectionId?: string;