@uug-ai/models 1.2.11 → 1.2.13

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 +309 -0
  2. package/package.json +1 -1
package/dist/types.d.ts CHANGED
@@ -861,6 +861,45 @@ export interface paths {
861
861
  patch?: never;
862
862
  trace?: never;
863
863
  };
864
+ "/internal/callerinfo": {
865
+ parameters: {
866
+ query?: never;
867
+ header?: never;
868
+ path?: never;
869
+ cookie?: never;
870
+ };
871
+ /**
872
+ * Get CallerInfo (schema generation only)
873
+ * @description Internal endpoint used only to ensure CallerInfo schema is generated in OpenAPI spec
874
+ */
875
+ get: {
876
+ parameters: {
877
+ query?: never;
878
+ header?: never;
879
+ path?: never;
880
+ cookie?: never;
881
+ };
882
+ requestBody?: never;
883
+ responses: {
884
+ /** @description OK */
885
+ 200: {
886
+ headers: {
887
+ [name: string]: unknown;
888
+ };
889
+ content: {
890
+ "application/json": components["schemas"]["api.CallerInfo"];
891
+ };
892
+ };
893
+ };
894
+ };
895
+ put?: never;
896
+ post?: never;
897
+ delete?: never;
898
+ options?: never;
899
+ head?: never;
900
+ patch?: never;
901
+ trace?: never;
902
+ };
864
903
  "/internal/classify": {
865
904
  parameters: {
866
905
  query?: never;
@@ -1173,6 +1212,45 @@ export interface paths {
1173
1212
  patch?: never;
1174
1213
  trace?: never;
1175
1214
  };
1215
+ "/internal/debugresponse": {
1216
+ parameters: {
1217
+ query?: never;
1218
+ header?: never;
1219
+ path?: never;
1220
+ cookie?: never;
1221
+ };
1222
+ /**
1223
+ * Get DebugResponse (schema generation only)
1224
+ * @description Internal endpoint used only to ensure DebugResponse schema is generated in OpenAPI spec
1225
+ */
1226
+ get: {
1227
+ parameters: {
1228
+ query?: never;
1229
+ header?: never;
1230
+ path?: never;
1231
+ cookie?: never;
1232
+ };
1233
+ requestBody?: never;
1234
+ responses: {
1235
+ /** @description OK */
1236
+ 200: {
1237
+ headers: {
1238
+ [name: string]: unknown;
1239
+ };
1240
+ content: {
1241
+ "application/json": components["schemas"]["api.DebugResponse"];
1242
+ };
1243
+ };
1244
+ };
1245
+ };
1246
+ put?: never;
1247
+ post?: never;
1248
+ delete?: never;
1249
+ options?: never;
1250
+ head?: never;
1251
+ patch?: never;
1252
+ trace?: never;
1253
+ };
1176
1254
  "/internal/deleteaccesstokenerrorresponse": {
1177
1255
  parameters: {
1178
1256
  query?: never;
@@ -2070,6 +2148,45 @@ export interface paths {
2070
2148
  patch?: never;
2071
2149
  trace?: never;
2072
2150
  };
2151
+ "/internal/fatalresponse": {
2152
+ parameters: {
2153
+ query?: never;
2154
+ header?: never;
2155
+ path?: never;
2156
+ cookie?: never;
2157
+ };
2158
+ /**
2159
+ * Get FatalResponse (schema generation only)
2160
+ * @description Internal endpoint used only to ensure FatalResponse schema is generated in OpenAPI spec
2161
+ */
2162
+ get: {
2163
+ parameters: {
2164
+ query?: never;
2165
+ header?: never;
2166
+ path?: never;
2167
+ cookie?: never;
2168
+ };
2169
+ requestBody?: never;
2170
+ responses: {
2171
+ /** @description OK */
2172
+ 200: {
2173
+ headers: {
2174
+ [name: string]: unknown;
2175
+ };
2176
+ content: {
2177
+ "application/json": components["schemas"]["api.FatalResponse"];
2178
+ };
2179
+ };
2180
+ };
2181
+ };
2182
+ put?: never;
2183
+ post?: never;
2184
+ delete?: never;
2185
+ options?: never;
2186
+ head?: never;
2187
+ patch?: never;
2188
+ trace?: never;
2189
+ };
2073
2190
  "/internal/featurepermissions": {
2074
2191
  parameters: {
2075
2192
  query?: never;
@@ -6321,6 +6438,45 @@ export interface paths {
6321
6438
  patch?: never;
6322
6439
  trace?: never;
6323
6440
  };
6441
+ "/internal/panicresponse": {
6442
+ parameters: {
6443
+ query?: never;
6444
+ header?: never;
6445
+ path?: never;
6446
+ cookie?: never;
6447
+ };
6448
+ /**
6449
+ * Get PanicResponse (schema generation only)
6450
+ * @description Internal endpoint used only to ensure PanicResponse schema is generated in OpenAPI spec
6451
+ */
6452
+ get: {
6453
+ parameters: {
6454
+ query?: never;
6455
+ header?: never;
6456
+ path?: never;
6457
+ cookie?: never;
6458
+ };
6459
+ requestBody?: never;
6460
+ responses: {
6461
+ /** @description OK */
6462
+ 200: {
6463
+ headers: {
6464
+ [name: string]: unknown;
6465
+ };
6466
+ content: {
6467
+ "application/json": components["schemas"]["api.PanicResponse"];
6468
+ };
6469
+ };
6470
+ };
6471
+ };
6472
+ put?: never;
6473
+ post?: never;
6474
+ delete?: never;
6475
+ options?: never;
6476
+ head?: never;
6477
+ patch?: never;
6478
+ trace?: never;
6479
+ };
6324
6480
  "/internal/pipelineevent": {
6325
6481
  parameters: {
6326
6482
  query?: never;
@@ -7725,6 +7881,45 @@ export interface paths {
7725
7881
  patch?: never;
7726
7882
  trace?: never;
7727
7883
  };
7884
+ "/internal/traceresponse": {
7885
+ parameters: {
7886
+ query?: never;
7887
+ header?: never;
7888
+ path?: never;
7889
+ cookie?: never;
7890
+ };
7891
+ /**
7892
+ * Get TraceResponse (schema generation only)
7893
+ * @description Internal endpoint used only to ensure TraceResponse schema is generated in OpenAPI spec
7894
+ */
7895
+ get: {
7896
+ parameters: {
7897
+ query?: never;
7898
+ header?: never;
7899
+ path?: never;
7900
+ cookie?: never;
7901
+ };
7902
+ requestBody?: never;
7903
+ responses: {
7904
+ /** @description OK */
7905
+ 200: {
7906
+ headers: {
7907
+ [name: string]: unknown;
7908
+ };
7909
+ content: {
7910
+ "application/json": components["schemas"]["api.TraceResponse"];
7911
+ };
7912
+ };
7913
+ };
7914
+ };
7915
+ put?: never;
7916
+ post?: never;
7917
+ delete?: never;
7918
+ options?: never;
7919
+ head?: never;
7920
+ patch?: never;
7921
+ trace?: never;
7922
+ };
7728
7923
  "/internal/trackbox": {
7729
7924
  parameters: {
7730
7925
  query?: never;
@@ -8271,6 +8466,45 @@ export interface paths {
8271
8466
  patch?: never;
8272
8467
  trace?: never;
8273
8468
  };
8469
+ "/internal/warningresponse": {
8470
+ parameters: {
8471
+ query?: never;
8472
+ header?: never;
8473
+ path?: never;
8474
+ cookie?: never;
8475
+ };
8476
+ /**
8477
+ * Get WarningResponse (schema generation only)
8478
+ * @description Internal endpoint used only to ensure WarningResponse schema is generated in OpenAPI spec
8479
+ */
8480
+ get: {
8481
+ parameters: {
8482
+ query?: never;
8483
+ header?: never;
8484
+ path?: never;
8485
+ cookie?: never;
8486
+ };
8487
+ requestBody?: never;
8488
+ responses: {
8489
+ /** @description OK */
8490
+ 200: {
8491
+ headers: {
8492
+ [name: string]: unknown;
8493
+ };
8494
+ content: {
8495
+ "application/json": components["schemas"]["api.WarningResponse"];
8496
+ };
8497
+ };
8498
+ };
8499
+ };
8500
+ put?: never;
8501
+ post?: never;
8502
+ delete?: never;
8503
+ options?: never;
8504
+ head?: never;
8505
+ patch?: never;
8506
+ trace?: never;
8507
+ };
8274
8508
  "/media": {
8275
8509
  parameters: {
8276
8510
  query?: never;
@@ -8474,6 +8708,11 @@ export interface components {
8474
8708
  };
8475
8709
  /** @enum {string} */
8476
8710
  "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";
8711
+ "api.CallerInfo": {
8712
+ file?: string;
8713
+ function?: string;
8714
+ line?: number;
8715
+ };
8477
8716
  "api.CursorPagination": {
8478
8717
  /** @description Request fields (sent by client) */
8479
8718
  cursor?: string;
@@ -8487,6 +8726,18 @@ export interface components {
8487
8726
  prevCursor?: string;
8488
8727
  total?: number;
8489
8728
  };
8729
+ "api.DebugResponse": {
8730
+ /** @description Application-specific error code */
8731
+ applicationStatusCode?: string;
8732
+ /** @description Entity-specific error code */
8733
+ entityStatusCode?: string;
8734
+ /** @description HTTP status code for the error */
8735
+ httpStatusCode?: number;
8736
+ /** @description Error message describing the issue */
8737
+ message?: string;
8738
+ /** @description Additional metadata about the error, such as timestamps and request IDs */
8739
+ metadata?: components["schemas"]["api.Metadata"];
8740
+ };
8490
8741
  "api.DeleteAccessTokenErrorResponse": {
8491
8742
  /** @description Application-specific error code */
8492
8743
  applicationStatusCode?: string;
@@ -8567,6 +8818,18 @@ export interface components {
8567
8818
  events?: string[];
8568
8819
  user?: components["schemas"]["models.User"];
8569
8820
  };
8821
+ "api.FatalResponse": {
8822
+ /** @description Application-specific error code */
8823
+ applicationStatusCode?: string;
8824
+ /** @description Entity-specific error code */
8825
+ entityStatusCode?: string;
8826
+ /** @description HTTP status code for the error */
8827
+ httpStatusCode?: number;
8828
+ /** @description Error message describing the issue */
8829
+ message?: string;
8830
+ /** @description Additional metadata about the error, such as timestamps and request IDs */
8831
+ metadata?: components["schemas"]["api.Metadata"];
8832
+ };
8570
8833
  "api.GetAccessTokensErrorResponse": {
8571
8834
  /** @description Application-specific error code */
8572
8835
  applicationStatusCode?: string;
@@ -9174,6 +9437,10 @@ export interface components {
9174
9437
  function?: string;
9175
9438
  /** @description Language of the response, if applicable */
9176
9439
  language?: string;
9440
+ /** @description Line number in the code where the response was generated */
9441
+ line?: number;
9442
+ /** @description Name of the media file involved in the request */
9443
+ mediaFileName?: string;
9177
9444
  /** @description List of missing fields in the request */
9178
9445
  missingFields?: string[];
9179
9446
  /** @description Organisation ID for the request */
@@ -9189,6 +9456,18 @@ export interface components {
9189
9456
  /** @description User ID of the user making the request */
9190
9457
  userId?: string;
9191
9458
  };
9459
+ "api.PanicResponse": {
9460
+ /** @description Application-specific error code */
9461
+ applicationStatusCode?: string;
9462
+ /** @description Entity-specific error code */
9463
+ entityStatusCode?: string;
9464
+ /** @description HTTP status code for the error */
9465
+ httpStatusCode?: number;
9466
+ /** @description Error message describing the issue */
9467
+ message?: string;
9468
+ /** @description Additional metadata about the error, such as timestamps and request IDs */
9469
+ metadata?: components["schemas"]["api.Metadata"];
9470
+ };
9192
9471
  "api.RedactionEvent": {
9193
9472
  allFrameCoordinates?: {
9194
9473
  [key: string]: components["schemas"]["models.TrackBox"][];
@@ -9282,6 +9561,18 @@ export interface components {
9282
9561
  /** @description Additional metadata about the response, such as timestamps and request IDs */
9283
9562
  metadata?: components["schemas"]["api.Metadata"];
9284
9563
  };
9564
+ "api.TraceResponse": {
9565
+ /** @description Application-specific error code */
9566
+ applicationStatusCode?: string;
9567
+ /** @description Entity-specific error code */
9568
+ entityStatusCode?: string;
9569
+ /** @description HTTP status code for the error */
9570
+ httpStatusCode?: number;
9571
+ /** @description Error message describing the issue */
9572
+ message?: string;
9573
+ /** @description Additional metadata about the error, such as timestamps and request IDs */
9574
+ metadata?: components["schemas"]["api.Metadata"];
9575
+ };
9285
9576
  "api.UpdateAccessTokenErrorResponse": {
9286
9577
  /** @description Application-specific error code */
9287
9578
  applicationStatusCode?: string;
@@ -9344,6 +9635,18 @@ export interface components {
9344
9635
  /** @description Additional metadata about the response, such as timestamps and request IDs */
9345
9636
  metadata?: components["schemas"]["api.Metadata"];
9346
9637
  };
9638
+ "api.WarningResponse": {
9639
+ /** @description Application-specific error code */
9640
+ applicationStatusCode?: string;
9641
+ /** @description Entity-specific error code */
9642
+ entityStatusCode?: string;
9643
+ /** @description HTTP status code for the error */
9644
+ httpStatusCode?: number;
9645
+ /** @description Error message describing the issue */
9646
+ message?: string;
9647
+ /** @description Additional metadata about the error, such as timestamps and request IDs */
9648
+ metadata?: components["schemas"]["api.Metadata"];
9649
+ };
9347
9650
  "models.AccessToken": {
9348
9651
  /** @description Audit information */
9349
9652
  audit?: components["schemas"]["models.Audit"];
@@ -10689,7 +10992,9 @@ export declare namespace api {
10689
10992
  type AddStrategyRequest = components['schemas']['api.AddStrategyRequest'];
10690
10993
  type AddStrategyResponse = components['schemas']['api.AddStrategyResponse'];
10691
10994
  type AddStrategySuccessResponse = components['schemas']['api.AddStrategySuccessResponse'];
10995
+ type CallerInfo = components['schemas']['api.CallerInfo'];
10692
10996
  type CursorPagination = components['schemas']['api.CursorPagination'];
10997
+ type DebugResponse = components['schemas']['api.DebugResponse'];
10693
10998
  type DeleteAccessTokenErrorResponse = components['schemas']['api.DeleteAccessTokenErrorResponse'];
10694
10999
  type DeleteAccessTokenSuccessResponse = components['schemas']['api.DeleteAccessTokenSuccessResponse'];
10695
11000
  type DeleteStrategyErrorResponse = components['schemas']['api.DeleteStrategyErrorResponse'];
@@ -10697,6 +11002,7 @@ export declare namespace api {
10697
11002
  type DeviceFilter = components['schemas']['api.DeviceFilter'];
10698
11003
  type ErrorResponse = components['schemas']['api.ErrorResponse'];
10699
11004
  type FaceRedactionMessage = components['schemas']['api.FaceRedactionMessage'];
11005
+ type FatalResponse = components['schemas']['api.FatalResponse'];
10700
11006
  type GetAccessTokensErrorResponse = components['schemas']['api.GetAccessTokensErrorResponse'];
10701
11007
  type GetAccessTokensResponse = components['schemas']['api.GetAccessTokensResponse'];
10702
11008
  type GetAccessTokensSuccessResponse = components['schemas']['api.GetAccessTokensSuccessResponse'];
@@ -10770,6 +11076,7 @@ export declare namespace api {
10770
11076
  type MediaFilter = components['schemas']['api.MediaFilter'];
10771
11077
  type MediaGroup = components['schemas']['api.MediaGroup'];
10772
11078
  type Metadata = components['schemas']['api.Metadata'];
11079
+ type PanicResponse = components['schemas']['api.PanicResponse'];
10773
11080
  type RedactionEvent = components['schemas']['api.RedactionEvent'];
10774
11081
  type SaveFaceRedactionErrorResponse = components['schemas']['api.SaveFaceRedactionErrorResponse'];
10775
11082
  type SaveFaceRedactionRequest = components['schemas']['api.SaveFaceRedactionRequest'];
@@ -10781,6 +11088,7 @@ export declare namespace api {
10781
11088
  type SubmitFaceRedactionResponse = components['schemas']['api.SubmitFaceRedactionResponse'];
10782
11089
  type SubmitFaceRedactionSuccessResponse = components['schemas']['api.SubmitFaceRedactionSuccessResponse'];
10783
11090
  type SuccessResponse = components['schemas']['api.SuccessResponse'];
11091
+ type TraceResponse = components['schemas']['api.TraceResponse'];
10784
11092
  type UpdateAccessTokenErrorResponse = components['schemas']['api.UpdateAccessTokenErrorResponse'];
10785
11093
  type UpdateAccessTokenRequest = components['schemas']['api.UpdateAccessTokenRequest'];
10786
11094
  type UpdateAccessTokenResponse = components['schemas']['api.UpdateAccessTokenResponse'];
@@ -10789,4 +11097,5 @@ export declare namespace api {
10789
11097
  type UpdateStrategyRequest = components['schemas']['api.UpdateStrategyRequest'];
10790
11098
  type UpdateStrategyResponse = components['schemas']['api.UpdateStrategyResponse'];
10791
11099
  type UpdateStrategySuccessResponse = components['schemas']['api.UpdateStrategySuccessResponse'];
11100
+ type WarningResponse = components['schemas']['api.WarningResponse'];
10792
11101
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uug-ai/models",
3
- "version": "1.2.11",
3
+ "version": "1.2.13",
4
4
  "description": "TypeScript type definitions for Go models",
5
5
  "main": "dist/types.js",
6
6
  "types": "dist/types.d.ts",