@uug-ai/models 1.0.29 → 1.0.31
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.
- package/dist/types.d.ts +105 -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;
|
|
@@ -4740,6 +4818,10 @@ export interface components {
|
|
|
4740
4818
|
startTimestamp?: number;
|
|
4741
4819
|
};
|
|
4742
4820
|
"api.Metadata": {
|
|
4821
|
+
/** @description Additional data relevant to the request or response, this can be free-format */
|
|
4822
|
+
data?: {
|
|
4823
|
+
[key: string]: unknown;
|
|
4824
|
+
};
|
|
4743
4825
|
/** @description Error message if any */
|
|
4744
4826
|
error?: string;
|
|
4745
4827
|
/** @description Function name where the response was generated */
|
|
@@ -4759,6 +4841,11 @@ export interface components {
|
|
|
4759
4841
|
/** @description User ID of the user making the request */
|
|
4760
4842
|
userId?: string;
|
|
4761
4843
|
};
|
|
4844
|
+
"api.RedactionEvent": {
|
|
4845
|
+
allFrameCoordinates?: {
|
|
4846
|
+
[key: string]: components["schemas"]["models.TrackBox"][];
|
|
4847
|
+
};
|
|
4848
|
+
};
|
|
4762
4849
|
"api.SaveFaceRedactionErrorResponse": {
|
|
4763
4850
|
/** @description Application-specific error code */
|
|
4764
4851
|
applicationStatusCode?: string;
|
|
@@ -4805,8 +4892,12 @@ export interface components {
|
|
|
4805
4892
|
metaData?: components["schemas"]["api.Metadata"];
|
|
4806
4893
|
};
|
|
4807
4894
|
"api.SubmitFaceRedactionRequest": {
|
|
4895
|
+
allFrameCoordinates?: {
|
|
4896
|
+
[key: string]: components["schemas"]["models.TrackBox"][];
|
|
4897
|
+
};
|
|
4808
4898
|
analysisId?: string;
|
|
4809
4899
|
faceRedaction?: components["schemas"]["models.FaceRedaction"];
|
|
4900
|
+
fileName?: string;
|
|
4810
4901
|
signedUrl?: string;
|
|
4811
4902
|
};
|
|
4812
4903
|
"api.SubmitFaceRedactionResponse": {
|
|
@@ -5187,9 +5278,10 @@ export interface components {
|
|
|
5187
5278
|
"models.FaceRedactionTrack": {
|
|
5188
5279
|
classified?: string;
|
|
5189
5280
|
colorStr?: string[];
|
|
5281
|
+
deletedFrames?: number[];
|
|
5190
5282
|
/** @description frame -> [x1, y1, x2, y2] */
|
|
5191
5283
|
frameCoordinates?: {
|
|
5192
|
-
[key: string]:
|
|
5284
|
+
[key: string]: components["schemas"]["models.TrackBox"];
|
|
5193
5285
|
};
|
|
5194
5286
|
frames?: number[];
|
|
5195
5287
|
id?: string;
|
|
@@ -5615,6 +5707,15 @@ export interface components {
|
|
|
5615
5707
|
running?: boolean;
|
|
5616
5708
|
speed?: number;
|
|
5617
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
|
+
};
|
|
5618
5719
|
"models.User": {
|
|
5619
5720
|
activity?: {
|
|
5620
5721
|
[key: string]: unknown;
|
|
@@ -5774,6 +5875,7 @@ export declare namespace models {
|
|
|
5774
5875
|
type Thumby = components['schemas']['models.Thumby'];
|
|
5775
5876
|
type TimeWindow = components['schemas']['models.TimeWindow'];
|
|
5776
5877
|
type Tour = components['schemas']['models.Tour'];
|
|
5878
|
+
type TrackBox = components['schemas']['models.TrackBox'];
|
|
5777
5879
|
type User = components['schemas']['models.User'];
|
|
5778
5880
|
type VaultMedia = components['schemas']['models.VaultMedia'];
|
|
5779
5881
|
type VaultMediaEvent = components['schemas']['models.VaultMediaEvent'];
|
|
@@ -5811,6 +5913,7 @@ export declare namespace api {
|
|
|
5811
5913
|
type MediaFilter = components['schemas']['api.MediaFilter'];
|
|
5812
5914
|
type MediaGroup = components['schemas']['api.MediaGroup'];
|
|
5813
5915
|
type Metadata = components['schemas']['api.Metadata'];
|
|
5916
|
+
type RedactionEvent = components['schemas']['api.RedactionEvent'];
|
|
5814
5917
|
type SaveFaceRedactionErrorResponse = components['schemas']['api.SaveFaceRedactionErrorResponse'];
|
|
5815
5918
|
type SaveFaceRedactionRequest = components['schemas']['api.SaveFaceRedactionRequest'];
|
|
5816
5919
|
type SaveFaceRedactionResponse = components['schemas']['api.SaveFaceRedactionResponse'];
|