@uug-ai/models 1.4.51 → 1.4.53

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 +74 -3
  2. package/package.json +1 -1
package/dist/types.d.ts CHANGED
@@ -6048,6 +6048,45 @@ export interface paths {
6048
6048
  patch?: never;
6049
6049
  trace?: never;
6050
6050
  };
6051
+ "/internal/faceredactionstatusevent": {
6052
+ parameters: {
6053
+ query?: never;
6054
+ header?: never;
6055
+ path?: never;
6056
+ cookie?: never;
6057
+ };
6058
+ /**
6059
+ * Get FaceRedactionStatusEvent (schema generation only)
6060
+ * @description Internal endpoint used only to ensure FaceRedactionStatusEvent schema is generated in OpenAPI spec
6061
+ */
6062
+ get: {
6063
+ parameters: {
6064
+ query?: never;
6065
+ header?: never;
6066
+ path?: never;
6067
+ cookie?: never;
6068
+ };
6069
+ requestBody?: never;
6070
+ responses: {
6071
+ /** @description OK */
6072
+ 200: {
6073
+ headers: {
6074
+ [name: string]: unknown;
6075
+ };
6076
+ content: {
6077
+ "application/json": components["schemas"]["api.FaceRedactionStatusEvent"];
6078
+ };
6079
+ };
6080
+ };
6081
+ };
6082
+ put?: never;
6083
+ post?: never;
6084
+ delete?: never;
6085
+ options?: never;
6086
+ head?: never;
6087
+ patch?: never;
6088
+ trace?: never;
6089
+ };
6051
6090
  "/internal/faceredactiontrack": {
6052
6091
  parameters: {
6053
6092
  query?: never;
@@ -20886,6 +20925,13 @@ export interface components {
20886
20925
  events?: string[];
20887
20926
  user?: components["schemas"]["models.User"];
20888
20927
  };
20928
+ "api.FaceRedactionStatusEvent": {
20929
+ analysisId?: string;
20930
+ fileName?: string;
20931
+ organisationId?: string;
20932
+ status?: components["schemas"]["models.FaceRedactionStatus"];
20933
+ statusError?: string;
20934
+ };
20889
20935
  "api.FatalResponse": {
20890
20936
  /** @description Application-specific error code */
20891
20937
  applicationStatusCode?: string;
@@ -22371,6 +22417,17 @@ export interface components {
22371
22417
  camera_id?: string;
22372
22418
  key?: string;
22373
22419
  provider?: string;
22420
+ /**
22421
+ * @description Redaction variant: when present, the API has discovered a redacted
22422
+ * version of this media in the media collection. RedactionFile /
22423
+ * RedactionProvider mirror the corresponding fields on the Media doc,
22424
+ * and RedactionUrl carries the signed URL for client playback. These
22425
+ * are populated by the API at fetch time and are not persisted on the
22426
+ * task document.
22427
+ */
22428
+ redaction_file?: string;
22429
+ redaction_provider?: string;
22430
+ redaction_url?: string;
22374
22431
  source?: string;
22375
22432
  sprite_url?: string;
22376
22433
  spriteFile?: string;
@@ -23537,6 +23594,17 @@ export interface components {
23537
23594
  camera_id?: string;
23538
23595
  key?: string;
23539
23596
  provider?: string;
23597
+ /**
23598
+ * @description Redaction variant: when present, the API has discovered a redacted
23599
+ * version of this media in the media collection. RedactionFile /
23600
+ * RedactionProvider mirror the corresponding fields on the Media doc,
23601
+ * and RedactionUrl carries the signed URL for client playback. These
23602
+ * are populated by the API at fetch time and are not persisted on the
23603
+ * task document.
23604
+ */
23605
+ redaction_file?: string;
23606
+ redaction_provider?: string;
23607
+ redaction_url?: string;
23540
23608
  source?: string;
23541
23609
  sprite_url?: string;
23542
23610
  spriteFile?: string;
@@ -23552,16 +23620,18 @@ export interface components {
23552
23620
  id?: string;
23553
23621
  /**
23554
23622
  * @description Status reflects the lifecycle of the redaction job driven by the
23555
- * hub-pipeline-redaction worker: "" (unsubmitted), "queued",
23556
- * "processing", "completed", "failed".
23623
+ * hub-pipeline-redaction worker. See FaceRedactionStatus for the
23624
+ * allowed values.
23557
23625
  */
23558
- status?: string;
23626
+ status?: components["schemas"]["models.FaceRedactionStatus"];
23559
23627
  /** @description StatusError carries the failure reason when Status == "failed". */
23560
23628
  statusError?: string;
23561
23629
  tracks?: components["schemas"]["models.FaceRedactionTrack"][];
23562
23630
  /** @description UpdatedAt is the unix timestamp of the last status transition. */
23563
23631
  updatedAt?: number;
23564
23632
  };
23633
+ /** @enum {string} */
23634
+ "models.FaceRedactionStatus": "" | "queued" | "processing" | "completed" | "failed";
23565
23635
  "models.FaceRedactionTrack": {
23566
23636
  classified?: string;
23567
23637
  colorStr?: string[];
@@ -25630,6 +25700,7 @@ export declare namespace api {
25630
25700
  type EditTaskSuccessResponse = components['schemas']['api.EditTaskSuccessResponse'];
25631
25701
  type ErrorResponse = components['schemas']['api.ErrorResponse'];
25632
25702
  type FaceRedactionMessage = components['schemas']['api.FaceRedactionMessage'];
25703
+ type FaceRedactionStatusEvent = components['schemas']['api.FaceRedactionStatusEvent'];
25633
25704
  type FatalResponse = components['schemas']['api.FatalResponse'];
25634
25705
  type GetAccessTokensErrorResponse = components['schemas']['api.GetAccessTokensErrorResponse'];
25635
25706
  type GetAccessTokensResponse = components['schemas']['api.GetAccessTokensResponse'];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uug-ai/models",
3
- "version": "1.4.51",
3
+ "version": "1.4.53",
4
4
  "description": "TypeScript type definitions for Go models",
5
5
  "main": "dist/types.js",
6
6
  "types": "dist/types.d.ts",