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;