@uug-ai/models 1.4.51 → 1.4.54

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 +76 -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,15 @@ 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
+ redactionFile?: string;
20933
+ redactionProvider?: string;
20934
+ status?: components["schemas"]["models.FaceRedactionStatus"];
20935
+ statusError?: string;
20936
+ };
20889
20937
  "api.FatalResponse": {
20890
20938
  /** @description Application-specific error code */
20891
20939
  applicationStatusCode?: string;
@@ -22371,6 +22419,17 @@ export interface components {
22371
22419
  camera_id?: string;
22372
22420
  key?: string;
22373
22421
  provider?: string;
22422
+ /**
22423
+ * @description Redaction variant: persisted onto the task document by
22424
+ * hub-pipeline-analysis when the corresponding redaction job completes.
22425
+ * RedactionFile / RedactionProvider mirror the matching fields on the
22426
+ * Media doc so downstream consumers (export, frontend) can resolve the
22427
+ * redacted artefact without a join. RedactionUrl is signed by the API at
22428
+ * fetch time and is therefore not persisted.
22429
+ */
22430
+ redaction_file?: string;
22431
+ redaction_provider?: string;
22432
+ redaction_url?: string;
22374
22433
  source?: string;
22375
22434
  sprite_url?: string;
22376
22435
  spriteFile?: string;
@@ -23537,6 +23596,17 @@ export interface components {
23537
23596
  camera_id?: string;
23538
23597
  key?: string;
23539
23598
  provider?: string;
23599
+ /**
23600
+ * @description Redaction variant: persisted onto the task document by
23601
+ * hub-pipeline-analysis when the corresponding redaction job completes.
23602
+ * RedactionFile / RedactionProvider mirror the matching fields on the
23603
+ * Media doc so downstream consumers (export, frontend) can resolve the
23604
+ * redacted artefact without a join. RedactionUrl is signed by the API at
23605
+ * fetch time and is therefore not persisted.
23606
+ */
23607
+ redaction_file?: string;
23608
+ redaction_provider?: string;
23609
+ redaction_url?: string;
23540
23610
  source?: string;
23541
23611
  sprite_url?: string;
23542
23612
  spriteFile?: string;
@@ -23552,16 +23622,18 @@ export interface components {
23552
23622
  id?: string;
23553
23623
  /**
23554
23624
  * @description Status reflects the lifecycle of the redaction job driven by the
23555
- * hub-pipeline-redaction worker: "" (unsubmitted), "queued",
23556
- * "processing", "completed", "failed".
23625
+ * hub-pipeline-redaction worker. See FaceRedactionStatus for the
23626
+ * allowed values.
23557
23627
  */
23558
- status?: string;
23628
+ status?: components["schemas"]["models.FaceRedactionStatus"];
23559
23629
  /** @description StatusError carries the failure reason when Status == "failed". */
23560
23630
  statusError?: string;
23561
23631
  tracks?: components["schemas"]["models.FaceRedactionTrack"][];
23562
23632
  /** @description UpdatedAt is the unix timestamp of the last status transition. */
23563
23633
  updatedAt?: number;
23564
23634
  };
23635
+ /** @enum {string} */
23636
+ "models.FaceRedactionStatus": "" | "queued" | "processing" | "completed" | "failed";
23565
23637
  "models.FaceRedactionTrack": {
23566
23638
  classified?: string;
23567
23639
  colorStr?: string[];
@@ -25630,6 +25702,7 @@ export declare namespace api {
25630
25702
  type EditTaskSuccessResponse = components['schemas']['api.EditTaskSuccessResponse'];
25631
25703
  type ErrorResponse = components['schemas']['api.ErrorResponse'];
25632
25704
  type FaceRedactionMessage = components['schemas']['api.FaceRedactionMessage'];
25705
+ type FaceRedactionStatusEvent = components['schemas']['api.FaceRedactionStatusEvent'];
25633
25706
  type FatalResponse = components['schemas']['api.FatalResponse'];
25634
25707
  type GetAccessTokensErrorResponse = components['schemas']['api.GetAccessTokensErrorResponse'];
25635
25708
  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.54",
4
4
  "description": "TypeScript type definitions for Go models",
5
5
  "main": "dist/types.js",
6
6
  "types": "dist/types.d.ts",