@uug-ai/models 1.0.30 → 1.0.32

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 +101 -2
  2. package/package.json +1 -1
package/dist/types.d.ts CHANGED
@@ -3045,6 +3045,45 @@ export interface paths {
3045
3045
  patch?: never;
3046
3046
  trace?: never;
3047
3047
  };
3048
+ "/internal/redactionevent": {
3049
+ parameters: {
3050
+ query?: never;
3051
+ header?: never;
3052
+ path?: never;
3053
+ cookie?: never;
3054
+ };
3055
+ /**
3056
+ * Get RedactionEvent (schema generation only)
3057
+ * @description Internal endpoint used only to ensure RedactionEvent schema is generated in OpenAPI spec
3058
+ */
3059
+ get: {
3060
+ parameters: {
3061
+ query?: never;
3062
+ header?: never;
3063
+ path?: never;
3064
+ cookie?: never;
3065
+ };
3066
+ requestBody?: never;
3067
+ responses: {
3068
+ /** @description OK */
3069
+ 200: {
3070
+ headers: {
3071
+ [name: string]: unknown;
3072
+ };
3073
+ content: {
3074
+ "application/json": components["schemas"]["api.RedactionEvent"];
3075
+ };
3076
+ };
3077
+ };
3078
+ };
3079
+ put?: never;
3080
+ post?: never;
3081
+ delete?: never;
3082
+ options?: never;
3083
+ head?: never;
3084
+ patch?: never;
3085
+ trace?: never;
3086
+ };
3048
3087
  "/internal/region": {
3049
3088
  parameters: {
3050
3089
  query?: never;
@@ -4020,6 +4059,45 @@ export interface paths {
4020
4059
  patch?: never;
4021
4060
  trace?: never;
4022
4061
  };
4062
+ "/internal/trackbox": {
4063
+ parameters: {
4064
+ query?: never;
4065
+ header?: never;
4066
+ path?: never;
4067
+ cookie?: never;
4068
+ };
4069
+ /**
4070
+ * Get TrackBox (schema generation only)
4071
+ * @description Internal endpoint used only to ensure TrackBox schema is generated in OpenAPI spec
4072
+ */
4073
+ get: {
4074
+ parameters: {
4075
+ query?: never;
4076
+ header?: never;
4077
+ path?: never;
4078
+ cookie?: never;
4079
+ };
4080
+ requestBody?: never;
4081
+ responses: {
4082
+ /** @description OK */
4083
+ 200: {
4084
+ headers: {
4085
+ [name: string]: unknown;
4086
+ };
4087
+ content: {
4088
+ "application/json": components["schemas"]["models.TrackBox"];
4089
+ };
4090
+ };
4091
+ };
4092
+ };
4093
+ put?: never;
4094
+ post?: never;
4095
+ delete?: never;
4096
+ options?: never;
4097
+ head?: never;
4098
+ patch?: never;
4099
+ trace?: never;
4100
+ };
4023
4101
  "/internal/updateaccesstokenerrorresponse": {
4024
4102
  parameters: {
4025
4103
  query?: never;
@@ -4542,7 +4620,7 @@ export interface components {
4542
4620
  metaData?: components["schemas"]["api.Metadata"];
4543
4621
  };
4544
4622
  /** @enum {string} */
4545
- "api.AnalysisStatus": "analysis_face_redaction_binding_failed" | "analysis_save_redaction_success" | "analysis_save_redaction_failed" | "analysis_submit_redaction_success" | "analysis_submit_redaction_failed" | "analysis_signed_url_missing" | "analysis_not_found" | "analysis_found" | "analysisId_missing";
4623
+ "api.AnalysisStatus": "analysis_face_redaction_binding_failed" | "analysis_save_redaction_success" | "analysis_save_redaction_failed" | "analysis_submit_redaction_success" | "analysis_submit_redaction_failed" | "analysis_file_name_missing" | "analysis_signed_url_missing" | "analysis_all_frame_coordinates_missing" | "analysis_not_found" | "analysis_found" | "analysisId_missing";
4546
4624
  "api.DeleteAccessTokenErrorResponse": {
4547
4625
  /** @description Application-specific error code */
4548
4626
  applicationStatusCode?: string;
@@ -4763,6 +4841,11 @@ export interface components {
4763
4841
  /** @description User ID of the user making the request */
4764
4842
  userId?: string;
4765
4843
  };
4844
+ "api.RedactionEvent": {
4845
+ allFrameCoordinates?: {
4846
+ [key: string]: components["schemas"]["models.TrackBox"][];
4847
+ };
4848
+ };
4766
4849
  "api.SaveFaceRedactionErrorResponse": {
4767
4850
  /** @description Application-specific error code */
4768
4851
  applicationStatusCode?: string;
@@ -4809,8 +4892,12 @@ export interface components {
4809
4892
  metaData?: components["schemas"]["api.Metadata"];
4810
4893
  };
4811
4894
  "api.SubmitFaceRedactionRequest": {
4895
+ allFrameCoordinates?: {
4896
+ [key: string]: components["schemas"]["models.TrackBox"][];
4897
+ };
4812
4898
  analysisId?: string;
4813
4899
  faceRedaction?: components["schemas"]["models.FaceRedaction"];
4900
+ fileName?: string;
4814
4901
  signedUrl?: string;
4815
4902
  };
4816
4903
  "api.SubmitFaceRedactionResponse": {
@@ -5191,9 +5278,10 @@ export interface components {
5191
5278
  "models.FaceRedactionTrack": {
5192
5279
  classified?: string;
5193
5280
  colorStr?: string[];
5281
+ deletedFrames?: number[];
5194
5282
  /** @description frame -> [x1, y1, x2, y2] */
5195
5283
  frameCoordinates?: {
5196
- [key: string]: number[];
5284
+ [key: string]: components["schemas"]["models.TrackBox"];
5197
5285
  };
5198
5286
  frames?: number[];
5199
5287
  id?: string;
@@ -5619,6 +5707,15 @@ export interface components {
5619
5707
  running?: boolean;
5620
5708
  speed?: number;
5621
5709
  };
5710
+ "models.TrackBox": {
5711
+ edited?: boolean;
5712
+ smoothed?: boolean;
5713
+ trackId?: string;
5714
+ x1?: number;
5715
+ x2?: number;
5716
+ y1?: number;
5717
+ y2?: number;
5718
+ };
5622
5719
  "models.User": {
5623
5720
  activity?: {
5624
5721
  [key: string]: unknown;
@@ -5778,6 +5875,7 @@ export declare namespace models {
5778
5875
  type Thumby = components['schemas']['models.Thumby'];
5779
5876
  type TimeWindow = components['schemas']['models.TimeWindow'];
5780
5877
  type Tour = components['schemas']['models.Tour'];
5878
+ type TrackBox = components['schemas']['models.TrackBox'];
5781
5879
  type User = components['schemas']['models.User'];
5782
5880
  type VaultMedia = components['schemas']['models.VaultMedia'];
5783
5881
  type VaultMediaEvent = components['schemas']['models.VaultMediaEvent'];
@@ -5815,6 +5913,7 @@ export declare namespace api {
5815
5913
  type MediaFilter = components['schemas']['api.MediaFilter'];
5816
5914
  type MediaGroup = components['schemas']['api.MediaGroup'];
5817
5915
  type Metadata = components['schemas']['api.Metadata'];
5916
+ type RedactionEvent = components['schemas']['api.RedactionEvent'];
5818
5917
  type SaveFaceRedactionErrorResponse = components['schemas']['api.SaveFaceRedactionErrorResponse'];
5819
5918
  type SaveFaceRedactionRequest = components['schemas']['api.SaveFaceRedactionRequest'];
5820
5919
  type SaveFaceRedactionResponse = components['schemas']['api.SaveFaceRedactionResponse'];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uug-ai/models",
3
- "version": "1.0.30",
3
+ "version": "1.0.32",
4
4
  "description": "TypeScript type definitions for Go models",
5
5
  "main": "dist/types.js",
6
6
  "types": "dist/types.d.ts",