@uug-ai/models 1.5.6 → 1.5.8

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 (2) hide show
  1. package/dist/types.d.ts +224 -0
  2. package/package.json +1 -1
package/dist/types.d.ts CHANGED
@@ -15798,6 +15798,162 @@ export interface paths {
15798
15798
  patch?: never;
15799
15799
  trace?: never;
15800
15800
  };
15801
+ "/internal/ingesterrorresponse": {
15802
+ parameters: {
15803
+ query?: never;
15804
+ header?: never;
15805
+ path?: never;
15806
+ cookie?: never;
15807
+ };
15808
+ /**
15809
+ * Get IngestErrorResponse (schema generation only)
15810
+ * @description Internal endpoint used only to ensure IngestErrorResponse schema is generated in OpenAPI spec
15811
+ */
15812
+ get: {
15813
+ parameters: {
15814
+ query?: never;
15815
+ header?: never;
15816
+ path?: never;
15817
+ cookie?: never;
15818
+ };
15819
+ requestBody?: never;
15820
+ responses: {
15821
+ /** @description OK */
15822
+ 200: {
15823
+ headers: {
15824
+ [name: string]: unknown;
15825
+ };
15826
+ content: {
15827
+ "application/json": components["schemas"]["api.IngestErrorResponse"];
15828
+ };
15829
+ };
15830
+ };
15831
+ };
15832
+ put?: never;
15833
+ post?: never;
15834
+ delete?: never;
15835
+ options?: never;
15836
+ head?: never;
15837
+ patch?: never;
15838
+ trace?: never;
15839
+ };
15840
+ "/internal/ingestrequest": {
15841
+ parameters: {
15842
+ query?: never;
15843
+ header?: never;
15844
+ path?: never;
15845
+ cookie?: never;
15846
+ };
15847
+ /**
15848
+ * Get IngestRequest (schema generation only)
15849
+ * @description Internal endpoint used only to ensure IngestRequest schema is generated in OpenAPI spec
15850
+ */
15851
+ get: {
15852
+ parameters: {
15853
+ query?: never;
15854
+ header?: never;
15855
+ path?: never;
15856
+ cookie?: never;
15857
+ };
15858
+ requestBody?: never;
15859
+ responses: {
15860
+ /** @description OK */
15861
+ 200: {
15862
+ headers: {
15863
+ [name: string]: unknown;
15864
+ };
15865
+ content: {
15866
+ "application/json": components["schemas"]["api.IngestRequest"];
15867
+ };
15868
+ };
15869
+ };
15870
+ };
15871
+ put?: never;
15872
+ post?: never;
15873
+ delete?: never;
15874
+ options?: never;
15875
+ head?: never;
15876
+ patch?: never;
15877
+ trace?: never;
15878
+ };
15879
+ "/internal/ingestresponse": {
15880
+ parameters: {
15881
+ query?: never;
15882
+ header?: never;
15883
+ path?: never;
15884
+ cookie?: never;
15885
+ };
15886
+ /**
15887
+ * Get IngestResponse (schema generation only)
15888
+ * @description Internal endpoint used only to ensure IngestResponse schema is generated in OpenAPI spec
15889
+ */
15890
+ get: {
15891
+ parameters: {
15892
+ query?: never;
15893
+ header?: never;
15894
+ path?: never;
15895
+ cookie?: never;
15896
+ };
15897
+ requestBody?: never;
15898
+ responses: {
15899
+ /** @description OK */
15900
+ 200: {
15901
+ headers: {
15902
+ [name: string]: unknown;
15903
+ };
15904
+ content: {
15905
+ "application/json": components["schemas"]["api.IngestResponse"];
15906
+ };
15907
+ };
15908
+ };
15909
+ };
15910
+ put?: never;
15911
+ post?: never;
15912
+ delete?: never;
15913
+ options?: never;
15914
+ head?: never;
15915
+ patch?: never;
15916
+ trace?: never;
15917
+ };
15918
+ "/internal/ingestsuccessresponse": {
15919
+ parameters: {
15920
+ query?: never;
15921
+ header?: never;
15922
+ path?: never;
15923
+ cookie?: never;
15924
+ };
15925
+ /**
15926
+ * Get IngestSuccessResponse (schema generation only)
15927
+ * @description Internal endpoint used only to ensure IngestSuccessResponse schema is generated in OpenAPI spec
15928
+ */
15929
+ get: {
15930
+ parameters: {
15931
+ query?: never;
15932
+ header?: never;
15933
+ path?: never;
15934
+ cookie?: never;
15935
+ };
15936
+ requestBody?: never;
15937
+ responses: {
15938
+ /** @description OK */
15939
+ 200: {
15940
+ headers: {
15941
+ [name: string]: unknown;
15942
+ };
15943
+ content: {
15944
+ "application/json": components["schemas"]["api.IngestSuccessResponse"];
15945
+ };
15946
+ };
15947
+ };
15948
+ };
15949
+ put?: never;
15950
+ post?: never;
15951
+ delete?: never;
15952
+ options?: never;
15953
+ head?: never;
15954
+ patch?: never;
15955
+ trace?: never;
15956
+ };
15801
15957
  "/internal/io": {
15802
15958
  parameters: {
15803
15959
  query?: never;
@@ -27384,6 +27540,61 @@ export interface components {
27384
27540
  name?: string;
27385
27541
  sort?: string;
27386
27542
  };
27543
+ "api.IngestErrorResponse": {
27544
+ /** @description Application-specific error code */
27545
+ applicationStatusCode?: string;
27546
+ /** @description Entity-specific error code */
27547
+ entityStatusCode?: string;
27548
+ /** @description HTTP status code for the error */
27549
+ httpStatusCode?: number;
27550
+ /** @description Error message describing the issue */
27551
+ message?: string;
27552
+ /** @description Additional metadata about the error, such as timestamps and request IDs */
27553
+ metadata?: components["schemas"]["api.Metadata"];
27554
+ };
27555
+ "api.IngestRequest": {
27556
+ /**
27557
+ * @description AnalysisId targets the recording via its analysis document _id (an
27558
+ * ObjectID hex), as an alternative to MediaKey.
27559
+ */
27560
+ analysisId?: string;
27561
+ /**
27562
+ * @description MediaKey is the recording KEY the result belongs to — the stable string
27563
+ * stored as media.videoFile / analysis.key (NOT the media document _id).
27564
+ * Provide this or AnalysisId (MediaKey wins when both are present).
27565
+ */
27566
+ mediaKey?: string;
27567
+ /**
27568
+ * @description Operation is the kind selector — the registry key the ingest dispatcher
27569
+ * routes on (e.g. "detection").
27570
+ */
27571
+ operation?: string;
27572
+ /**
27573
+ * @description Payload is the kind's typed result body, validated and normalised by the
27574
+ * kind's handler (for "detection" this is a PostDetectionsRequest).
27575
+ */
27576
+ payload?: number[];
27577
+ };
27578
+ "api.IngestResponse": {
27579
+ boxesStored?: number;
27580
+ rejected?: components["schemas"]["api.DetectionRejection"][];
27581
+ runId?: string;
27582
+ tracksStored?: number;
27583
+ warnings?: string[];
27584
+ };
27585
+ "api.IngestSuccessResponse": {
27586
+ /** @description Application-specific status code */
27587
+ applicationStatusCode?: string;
27588
+ data?: components["schemas"]["api.IngestResponse"];
27589
+ /** @description Entity-specific status code */
27590
+ entityStatusCode?: string;
27591
+ /** @description HTTP status code for the response */
27592
+ httpStatusCode?: number;
27593
+ /** @description Success message describing the operation */
27594
+ message?: string;
27595
+ /** @description Additional metadata about the response, such as timestamps and request IDs */
27596
+ metadata?: components["schemas"]["api.Metadata"];
27597
+ };
27387
27598
  "api.ListCaseAttachmentsErrorResponse": {
27388
27599
  /** @description Application-specific error code */
27389
27600
  applicationStatusCode?: string;
@@ -30534,6 +30745,7 @@ export interface components {
30534
30745
  "event-numberofchanges"?: string;
30535
30746
  "event-regioncoordinates"?: string;
30536
30747
  "event-timestamp"?: string;
30748
+ fps?: string;
30537
30749
  productid?: string;
30538
30750
  uploadtime?: string;
30539
30751
  };
@@ -30554,6 +30766,14 @@ export interface components {
30554
30766
  metadata?: components["schemas"]["models.PipelineMetadata"];
30555
30767
  /** @description RBAC */
30556
30768
  organisationId?: string;
30769
+ /**
30770
+ * @description Result is the typed result a producer stage hands back for a delegated
30771
+ * ingest handler (e.g. a DetectionRun-shaped body). It is the result
30772
+ * channel the ingest core reads from — distinct from the deprecated
30773
+ * PipelineEvent.Data bag, which only carries storage credentials on
30774
+ * dispatch and must not be used to carry results.
30775
+ */
30776
+ result?: number[];
30557
30777
  /** @description Signed URL */
30558
30778
  signedUrl?: string;
30559
30779
  timestamp?: number;
@@ -32002,6 +32222,10 @@ export declare namespace api {
32002
32222
  type GetWorkflowsResponse = components['schemas']['api.GetWorkflowsResponse'];
32003
32223
  type GetWorkflowsSuccessResponse = components['schemas']['api.GetWorkflowsSuccessResponse'];
32004
32224
  type GroupFilter = components['schemas']['api.GroupFilter'];
32225
+ type IngestErrorResponse = components['schemas']['api.IngestErrorResponse'];
32226
+ type IngestRequest = components['schemas']['api.IngestRequest'];
32227
+ type IngestResponse = components['schemas']['api.IngestResponse'];
32228
+ type IngestSuccessResponse = components['schemas']['api.IngestSuccessResponse'];
32005
32229
  type ListCaseAttachmentsErrorResponse = components['schemas']['api.ListCaseAttachmentsErrorResponse'];
32006
32230
  type ListCaseAttachmentsResponse = components['schemas']['api.ListCaseAttachmentsResponse'];
32007
32231
  type ListCaseAttachmentsSuccessResponse = components['schemas']['api.ListCaseAttachmentsSuccessResponse'];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uug-ai/models",
3
- "version": "1.5.6",
3
+ "version": "1.5.8",
4
4
  "description": "TypeScript type definitions for Go models",
5
5
  "main": "dist/types.js",
6
6
  "types": "dist/types.d.ts",