@uug-ai/models 1.4.53 → 1.4.55

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 +789 -128
  2. package/package.json +1 -1
package/dist/types.d.ts CHANGED
@@ -1953,6 +1953,123 @@ export interface paths {
1953
1953
  patch?: never;
1954
1954
  trace?: never;
1955
1955
  };
1956
+ "/internal/caseattachment": {
1957
+ parameters: {
1958
+ query?: never;
1959
+ header?: never;
1960
+ path?: never;
1961
+ cookie?: never;
1962
+ };
1963
+ /**
1964
+ * Get CaseAttachment (schema generation only)
1965
+ * @description Internal endpoint used only to ensure CaseAttachment schema is generated in OpenAPI spec
1966
+ */
1967
+ get: {
1968
+ parameters: {
1969
+ query?: never;
1970
+ header?: never;
1971
+ path?: never;
1972
+ cookie?: never;
1973
+ };
1974
+ requestBody?: never;
1975
+ responses: {
1976
+ /** @description OK */
1977
+ 200: {
1978
+ headers: {
1979
+ [name: string]: unknown;
1980
+ };
1981
+ content: {
1982
+ "application/json": components["schemas"]["models.CaseAttachment"];
1983
+ };
1984
+ };
1985
+ };
1986
+ };
1987
+ put?: never;
1988
+ post?: never;
1989
+ delete?: never;
1990
+ options?: never;
1991
+ head?: never;
1992
+ patch?: never;
1993
+ trace?: never;
1994
+ };
1995
+ "/internal/casemedia": {
1996
+ parameters: {
1997
+ query?: never;
1998
+ header?: never;
1999
+ path?: never;
2000
+ cookie?: never;
2001
+ };
2002
+ /**
2003
+ * Get CaseMedia (schema generation only)
2004
+ * @description Internal endpoint used only to ensure CaseMedia schema is generated in OpenAPI spec
2005
+ */
2006
+ get: {
2007
+ parameters: {
2008
+ query?: never;
2009
+ header?: never;
2010
+ path?: never;
2011
+ cookie?: never;
2012
+ };
2013
+ requestBody?: never;
2014
+ responses: {
2015
+ /** @description OK */
2016
+ 200: {
2017
+ headers: {
2018
+ [name: string]: unknown;
2019
+ };
2020
+ content: {
2021
+ "application/json": components["schemas"]["models.CaseMedia"];
2022
+ };
2023
+ };
2024
+ };
2025
+ };
2026
+ put?: never;
2027
+ post?: never;
2028
+ delete?: never;
2029
+ options?: never;
2030
+ head?: never;
2031
+ patch?: never;
2032
+ trace?: never;
2033
+ };
2034
+ "/internal/casemediastatusevent": {
2035
+ parameters: {
2036
+ query?: never;
2037
+ header?: never;
2038
+ path?: never;
2039
+ cookie?: never;
2040
+ };
2041
+ /**
2042
+ * Get CaseMediaStatusEvent (schema generation only)
2043
+ * @description Internal endpoint used only to ensure CaseMediaStatusEvent schema is generated in OpenAPI spec
2044
+ */
2045
+ get: {
2046
+ parameters: {
2047
+ query?: never;
2048
+ header?: never;
2049
+ path?: never;
2050
+ cookie?: never;
2051
+ };
2052
+ requestBody?: never;
2053
+ responses: {
2054
+ /** @description OK */
2055
+ 200: {
2056
+ headers: {
2057
+ [name: string]: unknown;
2058
+ };
2059
+ content: {
2060
+ "application/json": components["schemas"]["api.CaseMediaStatusEvent"];
2061
+ };
2062
+ };
2063
+ };
2064
+ };
2065
+ put?: never;
2066
+ post?: never;
2067
+ delete?: never;
2068
+ options?: never;
2069
+ head?: never;
2070
+ patch?: never;
2071
+ trace?: never;
2072
+ };
1956
2073
  "/internal/caseshare": {
1957
2074
  parameters: {
1958
2075
  query?: never;
@@ -3006,6 +3123,162 @@ export interface paths {
3006
3123
  patch?: never;
3007
3124
  trace?: never;
3008
3125
  };
3126
+ "/internal/createmediaediterrorresponse": {
3127
+ parameters: {
3128
+ query?: never;
3129
+ header?: never;
3130
+ path?: never;
3131
+ cookie?: never;
3132
+ };
3133
+ /**
3134
+ * Get CreateMediaEditErrorResponse (schema generation only)
3135
+ * @description Internal endpoint used only to ensure CreateMediaEditErrorResponse schema is generated in OpenAPI spec
3136
+ */
3137
+ get: {
3138
+ parameters: {
3139
+ query?: never;
3140
+ header?: never;
3141
+ path?: never;
3142
+ cookie?: never;
3143
+ };
3144
+ requestBody?: never;
3145
+ responses: {
3146
+ /** @description OK */
3147
+ 200: {
3148
+ headers: {
3149
+ [name: string]: unknown;
3150
+ };
3151
+ content: {
3152
+ "application/json": components["schemas"]["api.CreateMediaEditErrorResponse"];
3153
+ };
3154
+ };
3155
+ };
3156
+ };
3157
+ put?: never;
3158
+ post?: never;
3159
+ delete?: never;
3160
+ options?: never;
3161
+ head?: never;
3162
+ patch?: never;
3163
+ trace?: never;
3164
+ };
3165
+ "/internal/createmediaeditrequest": {
3166
+ parameters: {
3167
+ query?: never;
3168
+ header?: never;
3169
+ path?: never;
3170
+ cookie?: never;
3171
+ };
3172
+ /**
3173
+ * Get CreateMediaEditRequest (schema generation only)
3174
+ * @description Internal endpoint used only to ensure CreateMediaEditRequest schema is generated in OpenAPI spec
3175
+ */
3176
+ get: {
3177
+ parameters: {
3178
+ query?: never;
3179
+ header?: never;
3180
+ path?: never;
3181
+ cookie?: never;
3182
+ };
3183
+ requestBody?: never;
3184
+ responses: {
3185
+ /** @description OK */
3186
+ 200: {
3187
+ headers: {
3188
+ [name: string]: unknown;
3189
+ };
3190
+ content: {
3191
+ "application/json": components["schemas"]["api.CreateMediaEditRequest"];
3192
+ };
3193
+ };
3194
+ };
3195
+ };
3196
+ put?: never;
3197
+ post?: never;
3198
+ delete?: never;
3199
+ options?: never;
3200
+ head?: never;
3201
+ patch?: never;
3202
+ trace?: never;
3203
+ };
3204
+ "/internal/createmediaeditresponse": {
3205
+ parameters: {
3206
+ query?: never;
3207
+ header?: never;
3208
+ path?: never;
3209
+ cookie?: never;
3210
+ };
3211
+ /**
3212
+ * Get CreateMediaEditResponse (schema generation only)
3213
+ * @description Internal endpoint used only to ensure CreateMediaEditResponse schema is generated in OpenAPI spec
3214
+ */
3215
+ get: {
3216
+ parameters: {
3217
+ query?: never;
3218
+ header?: never;
3219
+ path?: never;
3220
+ cookie?: never;
3221
+ };
3222
+ requestBody?: never;
3223
+ responses: {
3224
+ /** @description OK */
3225
+ 200: {
3226
+ headers: {
3227
+ [name: string]: unknown;
3228
+ };
3229
+ content: {
3230
+ "application/json": components["schemas"]["api.CreateMediaEditResponse"];
3231
+ };
3232
+ };
3233
+ };
3234
+ };
3235
+ put?: never;
3236
+ post?: never;
3237
+ delete?: never;
3238
+ options?: never;
3239
+ head?: never;
3240
+ patch?: never;
3241
+ trace?: never;
3242
+ };
3243
+ "/internal/createmediaeditsuccessresponse": {
3244
+ parameters: {
3245
+ query?: never;
3246
+ header?: never;
3247
+ path?: never;
3248
+ cookie?: never;
3249
+ };
3250
+ /**
3251
+ * Get CreateMediaEditSuccessResponse (schema generation only)
3252
+ * @description Internal endpoint used only to ensure CreateMediaEditSuccessResponse schema is generated in OpenAPI spec
3253
+ */
3254
+ get: {
3255
+ parameters: {
3256
+ query?: never;
3257
+ header?: never;
3258
+ path?: never;
3259
+ cookie?: never;
3260
+ };
3261
+ requestBody?: never;
3262
+ responses: {
3263
+ /** @description OK */
3264
+ 200: {
3265
+ headers: {
3266
+ [name: string]: unknown;
3267
+ };
3268
+ content: {
3269
+ "application/json": components["schemas"]["api.CreateMediaEditSuccessResponse"];
3270
+ };
3271
+ };
3272
+ };
3273
+ };
3274
+ put?: never;
3275
+ post?: never;
3276
+ delete?: never;
3277
+ options?: never;
3278
+ head?: never;
3279
+ patch?: never;
3280
+ trace?: never;
3281
+ };
3009
3282
  "/internal/createvideowallerrorresponse": {
3010
3283
  parameters: {
3011
3284
  query?: never;
@@ -6048,45 +6321,6 @@ export interface paths {
6048
6321
  patch?: never;
6049
6322
  trace?: never;
6050
6323
  };
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
- };
6090
6324
  "/internal/faceredactiontrack": {
6091
6325
  parameters: {
6092
6326
  query?: never;
@@ -12587,7 +12821,124 @@ export interface paths {
12587
12821
  [name: string]: unknown;
12588
12822
  };
12589
12823
  content: {
12590
- "application/json": components["schemas"]["models.GroupOption"];
12824
+ "application/json": components["schemas"]["models.GroupOption"];
12825
+ };
12826
+ };
12827
+ };
12828
+ };
12829
+ put?: never;
12830
+ post?: never;
12831
+ delete?: never;
12832
+ options?: never;
12833
+ head?: never;
12834
+ patch?: never;
12835
+ trace?: never;
12836
+ };
12837
+ "/internal/health": {
12838
+ parameters: {
12839
+ query?: never;
12840
+ header?: never;
12841
+ path?: never;
12842
+ cookie?: never;
12843
+ };
12844
+ /**
12845
+ * Get Health (schema generation only)
12846
+ * @description Internal endpoint used only to ensure Health schema is generated in OpenAPI spec
12847
+ */
12848
+ get: {
12849
+ parameters: {
12850
+ query?: never;
12851
+ header?: never;
12852
+ path?: never;
12853
+ cookie?: never;
12854
+ };
12855
+ requestBody?: never;
12856
+ responses: {
12857
+ /** @description OK */
12858
+ 200: {
12859
+ headers: {
12860
+ [name: string]: unknown;
12861
+ };
12862
+ content: {
12863
+ "application/json": components["schemas"]["models.Health"];
12864
+ };
12865
+ };
12866
+ };
12867
+ };
12868
+ put?: never;
12869
+ post?: never;
12870
+ delete?: never;
12871
+ options?: never;
12872
+ head?: never;
12873
+ patch?: never;
12874
+ trace?: never;
12875
+ };
12876
+ "/internal/healthatruntimemetadata": {
12877
+ parameters: {
12878
+ query?: never;
12879
+ header?: never;
12880
+ path?: never;
12881
+ cookie?: never;
12882
+ };
12883
+ /**
12884
+ * Get HealthAtRuntimeMetadata (schema generation only)
12885
+ * @description Internal endpoint used only to ensure HealthAtRuntimeMetadata schema is generated in OpenAPI spec
12886
+ */
12887
+ get: {
12888
+ parameters: {
12889
+ query?: never;
12890
+ header?: never;
12891
+ path?: never;
12892
+ cookie?: never;
12893
+ };
12894
+ requestBody?: never;
12895
+ responses: {
12896
+ /** @description OK */
12897
+ 200: {
12898
+ headers: {
12899
+ [name: string]: unknown;
12900
+ };
12901
+ content: {
12902
+ "application/json": components["schemas"]["models.HealthAtRuntimeMetadata"];
12903
+ };
12904
+ };
12905
+ };
12906
+ };
12907
+ put?: never;
12908
+ post?: never;
12909
+ delete?: never;
12910
+ options?: never;
12911
+ head?: never;
12912
+ patch?: never;
12913
+ trace?: never;
12914
+ };
12915
+ "/internal/healthmetadata": {
12916
+ parameters: {
12917
+ query?: never;
12918
+ header?: never;
12919
+ path?: never;
12920
+ cookie?: never;
12921
+ };
12922
+ /**
12923
+ * Get HealthMetadata (schema generation only)
12924
+ * @description Internal endpoint used only to ensure HealthMetadata schema is generated in OpenAPI spec
12925
+ */
12926
+ get: {
12927
+ parameters: {
12928
+ query?: never;
12929
+ header?: never;
12930
+ path?: never;
12931
+ cookie?: never;
12932
+ };
12933
+ requestBody?: never;
12934
+ responses: {
12935
+ /** @description OK */
12936
+ 200: {
12937
+ headers: {
12938
+ [name: string]: unknown;
12939
+ };
12940
+ content: {
12941
+ "application/json": components["schemas"]["models.HealthMetadata"];
12591
12942
  };
12592
12943
  };
12593
12944
  };
@@ -12600,7 +12951,7 @@ export interface paths {
12600
12951
  patch?: never;
12601
12952
  trace?: never;
12602
12953
  };
12603
- "/internal/health": {
12954
+ "/internal/highupload": {
12604
12955
  parameters: {
12605
12956
  query?: never;
12606
12957
  header?: never;
@@ -12608,8 +12959,8 @@ export interface paths {
12608
12959
  cookie?: never;
12609
12960
  };
12610
12961
  /**
12611
- * Get Health (schema generation only)
12612
- * @description Internal endpoint used only to ensure Health schema is generated in OpenAPI spec
12962
+ * Get Highupload (schema generation only)
12963
+ * @description Internal endpoint used only to ensure Highupload schema is generated in OpenAPI spec
12613
12964
  */
12614
12965
  get: {
12615
12966
  parameters: {
@@ -12626,7 +12977,7 @@ export interface paths {
12626
12977
  [name: string]: unknown;
12627
12978
  };
12628
12979
  content: {
12629
- "application/json": components["schemas"]["models.Health"];
12980
+ "application/json": components["schemas"]["models.Highupload"];
12630
12981
  };
12631
12982
  };
12632
12983
  };
@@ -12639,7 +12990,7 @@ export interface paths {
12639
12990
  patch?: never;
12640
12991
  trace?: never;
12641
12992
  };
12642
- "/internal/healthatruntimemetadata": {
12993
+ "/internal/hourrange": {
12643
12994
  parameters: {
12644
12995
  query?: never;
12645
12996
  header?: never;
@@ -12647,8 +12998,8 @@ export interface paths {
12647
12998
  cookie?: never;
12648
12999
  };
12649
13000
  /**
12650
- * Get HealthAtRuntimeMetadata (schema generation only)
12651
- * @description Internal endpoint used only to ensure HealthAtRuntimeMetadata schema is generated in OpenAPI spec
13001
+ * Get HourRange (schema generation only)
13002
+ * @description Internal endpoint used only to ensure HourRange schema is generated in OpenAPI spec
12652
13003
  */
12653
13004
  get: {
12654
13005
  parameters: {
@@ -12665,7 +13016,7 @@ export interface paths {
12665
13016
  [name: string]: unknown;
12666
13017
  };
12667
13018
  content: {
12668
- "application/json": components["schemas"]["models.HealthAtRuntimeMetadata"];
13019
+ "application/json": components["schemas"]["models.HourRange"];
12669
13020
  };
12670
13021
  };
12671
13022
  };
@@ -12678,7 +13029,7 @@ export interface paths {
12678
13029
  patch?: never;
12679
13030
  trace?: never;
12680
13031
  };
12681
- "/internal/healthmetadata": {
13032
+ "/internal/hubcredentials": {
12682
13033
  parameters: {
12683
13034
  query?: never;
12684
13035
  header?: never;
@@ -12686,8 +13037,8 @@ export interface paths {
12686
13037
  cookie?: never;
12687
13038
  };
12688
13039
  /**
12689
- * Get HealthMetadata (schema generation only)
12690
- * @description Internal endpoint used only to ensure HealthMetadata schema is generated in OpenAPI spec
13040
+ * Get HubCredentials (schema generation only)
13041
+ * @description Internal endpoint used only to ensure HubCredentials schema is generated in OpenAPI spec
12691
13042
  */
12692
13043
  get: {
12693
13044
  parameters: {
@@ -12704,7 +13055,7 @@ export interface paths {
12704
13055
  [name: string]: unknown;
12705
13056
  };
12706
13057
  content: {
12707
- "application/json": components["schemas"]["models.HealthMetadata"];
13058
+ "application/json": components["schemas"]["models.HubCredentials"];
12708
13059
  };
12709
13060
  };
12710
13061
  };
@@ -12717,7 +13068,7 @@ export interface paths {
12717
13068
  patch?: never;
12718
13069
  trace?: never;
12719
13070
  };
12720
- "/internal/highupload": {
13071
+ "/internal/humiditysensormetadata": {
12721
13072
  parameters: {
12722
13073
  query?: never;
12723
13074
  header?: never;
@@ -12725,8 +13076,8 @@ export interface paths {
12725
13076
  cookie?: never;
12726
13077
  };
12727
13078
  /**
12728
- * Get Highupload (schema generation only)
12729
- * @description Internal endpoint used only to ensure Highupload schema is generated in OpenAPI spec
13079
+ * Get HumiditySensorMetadata (schema generation only)
13080
+ * @description Internal endpoint used only to ensure HumiditySensorMetadata schema is generated in OpenAPI spec
12730
13081
  */
12731
13082
  get: {
12732
13083
  parameters: {
@@ -12743,7 +13094,7 @@ export interface paths {
12743
13094
  [name: string]: unknown;
12744
13095
  };
12745
13096
  content: {
12746
- "application/json": components["schemas"]["models.Highupload"];
13097
+ "application/json": components["schemas"]["models.HumiditySensorMetadata"];
12747
13098
  };
12748
13099
  };
12749
13100
  };
@@ -12756,7 +13107,7 @@ export interface paths {
12756
13107
  patch?: never;
12757
13108
  trace?: never;
12758
13109
  };
12759
- "/internal/hourrange": {
13110
+ "/internal/ifttt": {
12760
13111
  parameters: {
12761
13112
  query?: never;
12762
13113
  header?: never;
@@ -12764,8 +13115,8 @@ export interface paths {
12764
13115
  cookie?: never;
12765
13116
  };
12766
13117
  /**
12767
- * Get HourRange (schema generation only)
12768
- * @description Internal endpoint used only to ensure HourRange schema is generated in OpenAPI spec
13118
+ * Get Ifttt (schema generation only)
13119
+ * @description Internal endpoint used only to ensure Ifttt schema is generated in OpenAPI spec
12769
13120
  */
12770
13121
  get: {
12771
13122
  parameters: {
@@ -12782,7 +13133,7 @@ export interface paths {
12782
13133
  [name: string]: unknown;
12783
13134
  };
12784
13135
  content: {
12785
- "application/json": components["schemas"]["models.HourRange"];
13136
+ "application/json": components["schemas"]["models.Ifttt"];
12786
13137
  };
12787
13138
  };
12788
13139
  };
@@ -12795,7 +13146,7 @@ export interface paths {
12795
13146
  patch?: never;
12796
13147
  trace?: never;
12797
13148
  };
12798
- "/internal/hubcredentials": {
13149
+ "/internal/io": {
12799
13150
  parameters: {
12800
13151
  query?: never;
12801
13152
  header?: never;
@@ -12803,8 +13154,8 @@ export interface paths {
12803
13154
  cookie?: never;
12804
13155
  };
12805
13156
  /**
12806
- * Get HubCredentials (schema generation only)
12807
- * @description Internal endpoint used only to ensure HubCredentials schema is generated in OpenAPI spec
13157
+ * Get IO (schema generation only)
13158
+ * @description Internal endpoint used only to ensure IO schema is generated in OpenAPI spec
12808
13159
  */
12809
13160
  get: {
12810
13161
  parameters: {
@@ -12821,7 +13172,7 @@ export interface paths {
12821
13172
  [name: string]: unknown;
12822
13173
  };
12823
13174
  content: {
12824
- "application/json": components["schemas"]["models.HubCredentials"];
13175
+ "application/json": components["schemas"]["models.IO"];
12825
13176
  };
12826
13177
  };
12827
13178
  };
@@ -12834,7 +13185,7 @@ export interface paths {
12834
13185
  patch?: never;
12835
13186
  trace?: never;
12836
13187
  };
12837
- "/internal/humiditysensormetadata": {
13188
+ "/internal/keypair": {
12838
13189
  parameters: {
12839
13190
  query?: never;
12840
13191
  header?: never;
@@ -12842,8 +13193,8 @@ export interface paths {
12842
13193
  cookie?: never;
12843
13194
  };
12844
13195
  /**
12845
- * Get HumiditySensorMetadata (schema generation only)
12846
- * @description Internal endpoint used only to ensure HumiditySensorMetadata schema is generated in OpenAPI spec
13196
+ * Get KeyPair (schema generation only)
13197
+ * @description Internal endpoint used only to ensure KeyPair schema is generated in OpenAPI spec
12847
13198
  */
12848
13199
  get: {
12849
13200
  parameters: {
@@ -12860,7 +13211,7 @@ export interface paths {
12860
13211
  [name: string]: unknown;
12861
13212
  };
12862
13213
  content: {
12863
- "application/json": components["schemas"]["models.HumiditySensorMetadata"];
13214
+ "application/json": components["schemas"]["models.KeyPair"];
12864
13215
  };
12865
13216
  };
12866
13217
  };
@@ -12873,7 +13224,7 @@ export interface paths {
12873
13224
  patch?: never;
12874
13225
  trace?: never;
12875
13226
  };
12876
- "/internal/ifttt": {
13227
+ "/internal/lightsensormetadata": {
12877
13228
  parameters: {
12878
13229
  query?: never;
12879
13230
  header?: never;
@@ -12881,8 +13232,8 @@ export interface paths {
12881
13232
  cookie?: never;
12882
13233
  };
12883
13234
  /**
12884
- * Get Ifttt (schema generation only)
12885
- * @description Internal endpoint used only to ensure Ifttt schema is generated in OpenAPI spec
13235
+ * Get LightSensorMetadata (schema generation only)
13236
+ * @description Internal endpoint used only to ensure LightSensorMetadata schema is generated in OpenAPI spec
12886
13237
  */
12887
13238
  get: {
12888
13239
  parameters: {
@@ -12899,7 +13250,7 @@ export interface paths {
12899
13250
  [name: string]: unknown;
12900
13251
  };
12901
13252
  content: {
12902
- "application/json": components["schemas"]["models.Ifttt"];
13253
+ "application/json": components["schemas"]["models.LightSensorMetadata"];
12903
13254
  };
12904
13255
  };
12905
13256
  };
@@ -12912,7 +13263,7 @@ export interface paths {
12912
13263
  patch?: never;
12913
13264
  trace?: never;
12914
13265
  };
12915
- "/internal/io": {
13266
+ "/internal/listcasemediaerrorresponse": {
12916
13267
  parameters: {
12917
13268
  query?: never;
12918
13269
  header?: never;
@@ -12920,8 +13271,8 @@ export interface paths {
12920
13271
  cookie?: never;
12921
13272
  };
12922
13273
  /**
12923
- * Get IO (schema generation only)
12924
- * @description Internal endpoint used only to ensure IO schema is generated in OpenAPI spec
13274
+ * Get ListCaseMediaErrorResponse (schema generation only)
13275
+ * @description Internal endpoint used only to ensure ListCaseMediaErrorResponse schema is generated in OpenAPI spec
12925
13276
  */
12926
13277
  get: {
12927
13278
  parameters: {
@@ -12938,7 +13289,7 @@ export interface paths {
12938
13289
  [name: string]: unknown;
12939
13290
  };
12940
13291
  content: {
12941
- "application/json": components["schemas"]["models.IO"];
13292
+ "application/json": components["schemas"]["api.ListCaseMediaErrorResponse"];
12942
13293
  };
12943
13294
  };
12944
13295
  };
@@ -12951,7 +13302,7 @@ export interface paths {
12951
13302
  patch?: never;
12952
13303
  trace?: never;
12953
13304
  };
12954
- "/internal/keypair": {
13305
+ "/internal/listcasemediaresponse": {
12955
13306
  parameters: {
12956
13307
  query?: never;
12957
13308
  header?: never;
@@ -12959,8 +13310,8 @@ export interface paths {
12959
13310
  cookie?: never;
12960
13311
  };
12961
13312
  /**
12962
- * Get KeyPair (schema generation only)
12963
- * @description Internal endpoint used only to ensure KeyPair schema is generated in OpenAPI spec
13313
+ * Get ListCaseMediaResponse (schema generation only)
13314
+ * @description Internal endpoint used only to ensure ListCaseMediaResponse schema is generated in OpenAPI spec
12964
13315
  */
12965
13316
  get: {
12966
13317
  parameters: {
@@ -12977,7 +13328,7 @@ export interface paths {
12977
13328
  [name: string]: unknown;
12978
13329
  };
12979
13330
  content: {
12980
- "application/json": components["schemas"]["models.KeyPair"];
13331
+ "application/json": components["schemas"]["api.ListCaseMediaResponse"];
12981
13332
  };
12982
13333
  };
12983
13334
  };
@@ -12990,7 +13341,7 @@ export interface paths {
12990
13341
  patch?: never;
12991
13342
  trace?: never;
12992
13343
  };
12993
- "/internal/lightsensormetadata": {
13344
+ "/internal/listcasemediasuccessresponse": {
12994
13345
  parameters: {
12995
13346
  query?: never;
12996
13347
  header?: never;
@@ -12998,8 +13349,8 @@ export interface paths {
12998
13349
  cookie?: never;
12999
13350
  };
13000
13351
  /**
13001
- * Get LightSensorMetadata (schema generation only)
13002
- * @description Internal endpoint used only to ensure LightSensorMetadata schema is generated in OpenAPI spec
13352
+ * Get ListCaseMediaSuccessResponse (schema generation only)
13353
+ * @description Internal endpoint used only to ensure ListCaseMediaSuccessResponse schema is generated in OpenAPI spec
13003
13354
  */
13004
13355
  get: {
13005
13356
  parameters: {
@@ -13016,7 +13367,7 @@ export interface paths {
13016
13367
  [name: string]: unknown;
13017
13368
  };
13018
13369
  content: {
13019
- "application/json": components["schemas"]["models.LightSensorMetadata"];
13370
+ "application/json": components["schemas"]["api.ListCaseMediaSuccessResponse"];
13020
13371
  };
13021
13372
  };
13022
13373
  };
@@ -20456,6 +20807,15 @@ export interface components {
20456
20807
  assignees?: string[];
20457
20808
  assignees_profile?: string[];
20458
20809
  assignees_sent_to?: string[];
20810
+ /**
20811
+ * @description Attachments are auxiliary, non-pipeline files attached to the
20812
+ * case (PDFs, hi-res images, scanned documents, audio notes, …).
20813
+ * They are embedded directly here under the assumption that the
20814
+ * per-case cardinality stays bounded (soft cap ~100). Only
20815
+ * metadata is stored; bytes live in Vault. List-cases endpoints
20816
+ * SHOULD project this field out to keep the list view light.
20817
+ */
20818
+ attachments?: components["schemas"]["models.CaseAttachment"][];
20459
20819
  /** @description A task can be assigned to a single camera or multiple cameras (depending of the export) */
20460
20820
  camera?: string;
20461
20821
  /** @description this is for the camera names (is computed on demand) */
@@ -20471,6 +20831,7 @@ export interface components {
20471
20831
  creation_datetime?: string;
20472
20832
  date?: number;
20473
20833
  downloaded_files?: string[];
20834
+ /** @description legacy: read by v20130101 only */
20474
20835
  export_files?: components["schemas"]["models.ExportFile"][];
20475
20836
  export_files_count?: number;
20476
20837
  export_in_progress?: boolean;
@@ -20478,11 +20839,28 @@ export interface components {
20478
20839
  export_progress?: number;
20479
20840
  export_requested?: boolean;
20480
20841
  export_revision?: number;
20842
+ /**
20843
+ * @description Per-purpose case_media selections. Each slice is an ordered list
20844
+ * of case_media ids picked for that purpose. The full inventory
20845
+ * lives in the case_media collection (queryable by task_id); these
20846
+ * fields only record which subset participates in the export /
20847
+ * share bundle and in what order.
20848
+ *
20849
+ * An empty selection means "default rule": consumers fall back to
20850
+ * every source's latest completed edit (or the source itself when
20851
+ * no completed edit exists).
20852
+ */
20853
+ export_selection?: string[];
20481
20854
  /** @description An export task, is containing multiple video in a compressed file format (.zip) */
20482
20855
  export_status?: string;
20483
20856
  id?: string;
20484
20857
  is_private?: boolean;
20485
20858
  labels?: string[];
20859
+ /**
20860
+ * @description Number of source case_media rows attached to this task. Mirrors
20861
+ * case_media documents where role == "source" and task_id matches.
20862
+ */
20863
+ media_count?: number;
20486
20864
  media_date?: string;
20487
20865
  media_datetime?: string;
20488
20866
  media_end_datetime?: string;
@@ -20496,6 +20874,7 @@ export interface components {
20496
20874
  reporter_id?: string;
20497
20875
  reporter_profile?: string;
20498
20876
  sequenceId?: string;
20877
+ share_selection?: string[];
20499
20878
  sprite_url?: string;
20500
20879
  spriteFile?: string;
20501
20880
  spriteInterval?: number;
@@ -20545,6 +20924,15 @@ export interface components {
20545
20924
  function?: string;
20546
20925
  line?: number;
20547
20926
  };
20927
+ "api.CaseMediaStatusEvent": {
20928
+ caseMediaId?: string;
20929
+ file?: string;
20930
+ organisationId?: string;
20931
+ provider?: string;
20932
+ status?: components["schemas"]["models.CaseMediaStatus"];
20933
+ statusError?: string;
20934
+ taskId?: string;
20935
+ };
20548
20936
  "api.CreateCustomAlertErrorResponse": {
20549
20937
  /** @description Application-specific error code */
20550
20938
  applicationStatusCode?: string;
@@ -20576,6 +20964,53 @@ export interface components {
20576
20964
  /** @description Additional metadata about the response, such as timestamps and request IDs */
20577
20965
  metadata?: components["schemas"]["api.Metadata"];
20578
20966
  };
20967
+ "api.CreateMediaEditErrorResponse": {
20968
+ /** @description Application-specific error code */
20969
+ applicationStatusCode?: string;
20970
+ /** @description Entity-specific error code */
20971
+ entityStatusCode?: string;
20972
+ /** @description HTTP status code for the error */
20973
+ httpStatusCode?: number;
20974
+ /** @description Error message describing the issue */
20975
+ message?: string;
20976
+ /** @description Additional metadata about the error, such as timestamps and request IDs */
20977
+ metadata?: components["schemas"]["api.Metadata"];
20978
+ };
20979
+ "api.CreateMediaEditRequest": {
20980
+ action?: components["schemas"]["models.CaseMediaAction"];
20981
+ editType?: components["schemas"]["models.CaseMediaEditType"];
20982
+ params?: {
20983
+ [key: string]: unknown;
20984
+ };
20985
+ sourceCaseMediaId?: string;
20986
+ /**
20987
+ * @description SourceVideoFile points at a legacy task.export_files entry by its
20988
+ * storage key. When SourceCaseMediaId is empty the API resolves
20989
+ * this key against the task's ExportFiles, lazily creates a
20990
+ * Role=source CaseMedia row for it (idempotent — reuses an
20991
+ * existing row with the same video_file when present), and then
20992
+ * applies the edit to that row. Lets pre-migration cases be
20993
+ * redacted without requiring a workspace-wide backfill.
20994
+ */
20995
+ sourceVideoFile?: string;
20996
+ supersedesId?: string;
20997
+ };
20998
+ "api.CreateMediaEditResponse": {
20999
+ caseMedia?: components["schemas"]["models.CaseMedia"];
21000
+ };
21001
+ "api.CreateMediaEditSuccessResponse": {
21002
+ /** @description Application-specific status code */
21003
+ applicationStatusCode?: string;
21004
+ data?: components["schemas"]["api.CreateMediaEditResponse"];
21005
+ /** @description Entity-specific status code */
21006
+ entityStatusCode?: string;
21007
+ /** @description HTTP status code for the response */
21008
+ httpStatusCode?: number;
21009
+ /** @description Success message describing the operation */
21010
+ message?: string;
21011
+ /** @description Additional metadata about the response, such as timestamps and request IDs */
21012
+ metadata?: components["schemas"]["api.Metadata"];
21013
+ };
20579
21014
  "api.CreateVideowallErrorResponse": {
20580
21015
  /** @description Application-specific error code */
20581
21016
  applicationStatusCode?: string;
@@ -20925,13 +21360,6 @@ export interface components {
20925
21360
  events?: string[];
20926
21361
  user?: components["schemas"]["models.User"];
20927
21362
  };
20928
- "api.FaceRedactionStatusEvent": {
20929
- analysisId?: string;
20930
- fileName?: string;
20931
- organisationId?: string;
20932
- status?: components["schemas"]["models.FaceRedactionStatus"];
20933
- statusError?: string;
20934
- };
20935
21363
  "api.FatalResponse": {
20936
21364
  /** @description Application-specific error code */
20937
21365
  applicationStatusCode?: string;
@@ -22118,6 +22546,34 @@ export interface components {
22118
22546
  name?: string;
22119
22547
  sort?: string;
22120
22548
  };
22549
+ "api.ListCaseMediaErrorResponse": {
22550
+ /** @description Application-specific error code */
22551
+ applicationStatusCode?: string;
22552
+ /** @description Entity-specific error code */
22553
+ entityStatusCode?: string;
22554
+ /** @description HTTP status code for the error */
22555
+ httpStatusCode?: number;
22556
+ /** @description Error message describing the issue */
22557
+ message?: string;
22558
+ /** @description Additional metadata about the error, such as timestamps and request IDs */
22559
+ metadata?: components["schemas"]["api.Metadata"];
22560
+ };
22561
+ "api.ListCaseMediaResponse": {
22562
+ caseMedia?: components["schemas"]["models.CaseMedia"][];
22563
+ };
22564
+ "api.ListCaseMediaSuccessResponse": {
22565
+ /** @description Application-specific status code */
22566
+ applicationStatusCode?: string;
22567
+ data?: components["schemas"]["api.ListCaseMediaResponse"];
22568
+ /** @description Entity-specific status code */
22569
+ entityStatusCode?: string;
22570
+ /** @description HTTP status code for the response */
22571
+ httpStatusCode?: number;
22572
+ /** @description Success message describing the operation */
22573
+ message?: string;
22574
+ /** @description Additional metadata about the response, such as timestamps and request IDs */
22575
+ metadata?: components["schemas"]["api.Metadata"];
22576
+ };
22121
22577
  "api.MarkerCategoryFilter": {
22122
22578
  name?: string;
22123
22579
  names?: string[];
@@ -22349,9 +22805,15 @@ export interface components {
22349
22805
  [key: string]: components["schemas"]["models.TrackBox"][];
22350
22806
  };
22351
22807
  analysisId?: string;
22808
+ caseMediaId?: string;
22809
+ destinationKey?: string;
22810
+ destinationProvider?: string;
22811
+ editType?: components["schemas"]["models.CaseMediaEditType"];
22352
22812
  faceRedaction?: components["schemas"]["models.FaceRedaction"];
22353
22813
  fileName?: string;
22814
+ mode?: components["schemas"]["models.RedactionMode"];
22354
22815
  signedUrl?: string;
22816
+ taskId?: string;
22355
22817
  };
22356
22818
  "api.SubmitFaceRedactionResponse": {
22357
22819
  analysisId?: string;
@@ -22417,17 +22879,6 @@ export interface components {
22417
22879
  camera_id?: string;
22418
22880
  key?: string;
22419
22881
  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;
22431
22882
  source?: string;
22432
22883
  sprite_url?: string;
22433
22884
  spriteFile?: string;
@@ -23031,6 +23482,195 @@ export interface components {
23031
23482
  card_status_message?: string;
23032
23483
  stripe_id?: string;
23033
23484
  };
23485
+ "models.CaseAttachment": {
23486
+ createdAt?: number;
23487
+ createdBy?: string;
23488
+ /**
23489
+ * @description Storage pointer into Vault (same abstraction as CaseMedia.File /
23490
+ * CaseMedia.Provider). Provider identifies the storage solution;
23491
+ * File is the object key inside it.
23492
+ */
23493
+ file?: string;
23494
+ id?: string;
23495
+ /**
23496
+ * @description Kind is a coarse classification of the attachment used by the UI
23497
+ * to pick an icon / viewer. MimeType is the source of truth for
23498
+ * content negotiation; Kind is derived from it at upload time.
23499
+ */
23500
+ kind?: components["schemas"]["models.CaseAttachmentKind"];
23501
+ mimeType?: string;
23502
+ /**
23503
+ * @description Name is the original filename at upload time. Users may rename
23504
+ * the attachment afterwards without renaming the underlying object
23505
+ * in Vault.
23506
+ */
23507
+ name?: string;
23508
+ provider?: string;
23509
+ /**
23510
+ * @description RelatedCaseMediaId optionally links the attachment to a specific
23511
+ * case_media entry it documents or annotates (for example, an
23512
+ * annotated screenshot of a redacted clip). Nil for free-standing
23513
+ * case-level attachments.
23514
+ */
23515
+ relatedCaseMediaId?: string;
23516
+ /**
23517
+ * @description Sha256 is the hex-encoded SHA-256 of the uploaded bytes,
23518
+ * computed by hub-api while streaming the upload to Vault. Used
23519
+ * for de-duplication detection and integrity checks on large
23520
+ * files. Optional — older entries may not have it.
23521
+ */
23522
+ sha256?: string;
23523
+ /**
23524
+ * @description Size in bytes of the stored object. Useful for UI display and
23525
+ * for sanity-checking that the Vault object still matches what we
23526
+ * recorded.
23527
+ */
23528
+ size?: number;
23529
+ /**
23530
+ * @description Optional derived preview generated by hub-api on upload (a
23531
+ * downscaled JPEG for images, the first page rendered to an image
23532
+ * for PDFs, etc.). Absence is fine — the UI falls back to a
23533
+ * kind-based icon.
23534
+ */
23535
+ thumbnailFile?: string;
23536
+ thumbnailProvider?: string;
23537
+ thumbnailUrl?: string;
23538
+ updatedAt?: number;
23539
+ /**
23540
+ * @description Url / ThumbnailUrl are signed by hub-api at fetch time and never
23541
+ * persisted. They should be excluded from list-cases projections
23542
+ * to keep that endpoint light.
23543
+ */
23544
+ url?: string;
23545
+ };
23546
+ /** @enum {string} */
23547
+ "models.CaseAttachmentKind": "pdf" | "image" | "document" | "audio" | "video" | "other";
23548
+ "models.CaseMedia": {
23549
+ /**
23550
+ * @description Action describes what the edit does. Only meaningful when
23551
+ * Role = "edit". See CaseMediaAction.
23552
+ */
23553
+ action?: components["schemas"]["models.CaseMediaAction"];
23554
+ /**
23555
+ * @description Analysis is a snapshot of the AnalysisWrapper associated with
23556
+ * the source media at attach time, including the per-operation
23557
+ * lifecycle fields (AsyncOperations / RequiredOperations /
23558
+ * ResolvedOperations) plus the analysis data (classify, counting,
23559
+ * faceRedaction, …) so the detail page and the face-redaction
23560
+ * edit modal can render without an extra lookup against the
23561
+ * `analysis` collection. Only populated on Role = "source".
23562
+ */
23563
+ analysis?: components["schemas"]["models.AnalysisWrapper"];
23564
+ /**
23565
+ * @description Optional job linkage — back-pointers to the analysis / face
23566
+ * redaction documents that drove the edit, when applicable.
23567
+ */
23568
+ analysisId?: string;
23569
+ cameraId?: string;
23570
+ createdAt?: number;
23571
+ createdBy?: string;
23572
+ /**
23573
+ * @description EditType is a sub-variant of Action (for example "face_blur",
23574
+ * "face_pixelate", "face_mask" when Action = "redaction"). Display
23575
+ * labels are derived from this in the UI. Canonical values are
23576
+ * declared as CaseMediaEditType constants below.
23577
+ */
23578
+ editType?: components["schemas"]["models.CaseMediaEditType"];
23579
+ endTimestamp?: number;
23580
+ faceRedactionId?: string;
23581
+ /**
23582
+ * @description Produced artefact (populated on Role = "edit" once the worker
23583
+ * completes; for Role = "source" these mirror VideoFile/VideoProvider).
23584
+ */
23585
+ file?: string;
23586
+ id?: string;
23587
+ /**
23588
+ * @description Media is a full snapshot of the source Media document captured at
23589
+ * attach time. It is only populated on Role = "source" and is what
23590
+ * the media-detail page and edit modal consume — the flat fields
23591
+ * above stay in place because they are queried directly by the
23592
+ * export pipeline and the case-level summarisers. The snapshot
23593
+ * makes the case self-contained: edits to or deletions of the
23594
+ * original media row do not affect what the case shows.
23595
+ */
23596
+ media?: components["schemas"]["models.Media"];
23597
+ organisationId?: string;
23598
+ /**
23599
+ * @description Params carries kind-specific parameters used to produce the edit.
23600
+ * For Action = "composite" it is expected to contain an
23601
+ * "operations" array whose elements have an "op" discriminator
23602
+ * matching one of the single-op CaseMediaAction values.
23603
+ */
23604
+ params?: {
23605
+ [key: string]: unknown;
23606
+ };
23607
+ /**
23608
+ * @description ParentId links an edit (Role = "edit") to the case_media entry it
23609
+ * was produced from. For composite edits the parent is still a single
23610
+ * source — the individual operations are described in Params.
23611
+ */
23612
+ parentId?: string;
23613
+ provider?: string;
23614
+ /**
23615
+ * @description Role describes whether this entry represents a source attached to
23616
+ * the case or an edit derived from another entry. See CaseMediaRole.
23617
+ */
23618
+ role?: components["schemas"]["models.CaseMediaRole"];
23619
+ /**
23620
+ * @description Source snapshot fields (populated on Role = "source"; mirrored from
23621
+ * Media at attach time so the case stays self-contained even after
23622
+ * the original media document is cleaned up).
23623
+ */
23624
+ sourceMediaId?: string;
23625
+ spriteFile?: string;
23626
+ spriteInterval?: number;
23627
+ spriteProvider?: string;
23628
+ /**
23629
+ * @description SpriteUrl is a signed playback URL for SpriteFile and is populated
23630
+ * by the API at fetch time. Not persisted.
23631
+ */
23632
+ spriteUrl?: string;
23633
+ /**
23634
+ * @description Lifecycle (only meaningful on Role = "edit"). For sources this is
23635
+ * implicitly Completed at creation time.
23636
+ */
23637
+ status?: components["schemas"]["models.CaseMediaStatus"];
23638
+ statusError?: string;
23639
+ storageSolution?: string;
23640
+ /**
23641
+ * @description SupersedesId points at the previous version this entry replaces,
23642
+ * preserving the full edit chain for auditing / rollback.
23643
+ */
23644
+ supersedesId?: string;
23645
+ taskId?: string;
23646
+ thumbnailFile?: string;
23647
+ thumbnailProvider?: string;
23648
+ /**
23649
+ * @description ThumbnailUrl is a signed playback URL for ThumbnailFile and is
23650
+ * populated by the API at fetch time. Not persisted.
23651
+ */
23652
+ thumbnailUrl?: string;
23653
+ timestamp?: number;
23654
+ updatedAt?: number;
23655
+ /** @description Url is signed by the API at fetch time and not persisted. */
23656
+ url?: string;
23657
+ /**
23658
+ * @description Version is monotonically increasing within
23659
+ * (TaskId, ParentId, Action, EditType). The most recent completed
23660
+ * version is the one the export pipeline picks up.
23661
+ */
23662
+ version?: number;
23663
+ videoFile?: string;
23664
+ videoProvider?: string;
23665
+ };
23666
+ /** @enum {string} */
23667
+ "models.CaseMediaAction": "redaction" | "trim" | "composite";
23668
+ /** @enum {string} */
23669
+ "models.CaseMediaEditType": "face_blur" | "face_pixelate" | "face_mask";
23670
+ /** @enum {string} */
23671
+ "models.CaseMediaRole": "source" | "edit";
23672
+ /** @enum {string} */
23673
+ "models.CaseMediaStatus": "queued" | "processing" | "completed" | "failed";
23034
23674
  "models.CaseShare": {
23035
23675
  created_at?: number;
23036
23676
  email?: string;
@@ -23594,17 +24234,6 @@ export interface components {
23594
24234
  camera_id?: string;
23595
24235
  key?: string;
23596
24236
  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;
23608
24237
  source?: string;
23609
24238
  sprite_url?: string;
23610
24239
  spriteFile?: string;
@@ -23617,21 +24246,17 @@ export interface components {
23617
24246
  video_url?: string;
23618
24247
  };
23619
24248
  "models.FaceRedaction": {
23620
- id?: string;
23621
24249
  /**
23622
- * @description Status reflects the lifecycle of the redaction job driven by the
23623
- * hub-pipeline-redaction worker. See FaceRedactionStatus for the
23624
- * allowed values.
24250
+ * @description CaseMediaId back-references the case_media entry (role=edit,
24251
+ * action=redaction) created when the redaction is submitted. The
24252
+ * lifecycle (queued/processing/completed/failed) is owned by that
24253
+ * case_media document; this struct only carries the tracks/inputs
24254
+ * the user has defined.
23625
24255
  */
23626
- status?: components["schemas"]["models.FaceRedactionStatus"];
23627
- /** @description StatusError carries the failure reason when Status == "failed". */
23628
- statusError?: string;
24256
+ caseMediaId?: string;
24257
+ id?: string;
23629
24258
  tracks?: components["schemas"]["models.FaceRedactionTrack"][];
23630
- /** @description UpdatedAt is the unix timestamp of the last status transition. */
23631
- updatedAt?: number;
23632
24259
  };
23633
- /** @enum {string} */
23634
- "models.FaceRedactionStatus": "" | "queued" | "processing" | "completed" | "failed";
23635
24260
  "models.FaceRedactionTrack": {
23636
24261
  classified?: string;
23637
24262
  colorStr?: string[];
@@ -24194,8 +24819,6 @@ export interface components {
24194
24819
  /** @description Metadata */
24195
24820
  metadata?: components["schemas"]["models.MediaMetadata"];
24196
24821
  organisationId?: string;
24197
- redactionFile?: string;
24198
- redactionProvider?: string;
24199
24822
  siteId?: string;
24200
24823
  spriteFile?: string;
24201
24824
  spriteProvider?: string;
@@ -24222,7 +24845,6 @@ export interface components {
24222
24845
  dateTime?: string;
24223
24846
  device?: components["schemas"]["models.Device"];
24224
24847
  durationFormatted?: string;
24225
- redactionUrl?: string;
24226
24848
  spriteUrl?: string;
24227
24849
  thumbnailUrl?: string;
24228
24850
  videoUrl?: string;
@@ -24597,6 +25219,8 @@ export interface components {
24597
25219
  sendto?: string;
24598
25220
  valid?: boolean;
24599
25221
  };
25222
+ /** @enum {string} */
25223
+ "models.RedactionMode": "blur" | "pixelate" | "black";
24600
25224
  "models.Region": {
24601
25225
  device?: string;
24602
25226
  direction?: string;
@@ -24867,6 +25491,15 @@ export interface components {
24867
25491
  assignees?: string[];
24868
25492
  assignees_profile?: string[];
24869
25493
  assignees_sent_to?: string[];
25494
+ /**
25495
+ * @description Attachments are auxiliary, non-pipeline files attached to the
25496
+ * case (PDFs, hi-res images, scanned documents, audio notes, …).
25497
+ * They are embedded directly here under the assumption that the
25498
+ * per-case cardinality stays bounded (soft cap ~100). Only
25499
+ * metadata is stored; bytes live in Vault. List-cases endpoints
25500
+ * SHOULD project this field out to keep the list view light.
25501
+ */
25502
+ attachments?: components["schemas"]["models.CaseAttachment"][];
24870
25503
  /** @description A task can be assigned to a single camera or multiple cameras (depending of the export) */
24871
25504
  camera?: string;
24872
25505
  /** @description this is for the camera names (is computed on demand) */
@@ -24882,6 +25515,7 @@ export interface components {
24882
25515
  creation_datetime?: string;
24883
25516
  date?: number;
24884
25517
  downloaded_files?: string[];
25518
+ /** @description legacy: read by v20130101 only */
24885
25519
  export_files?: components["schemas"]["models.ExportFile"][];
24886
25520
  export_files_count?: number;
24887
25521
  export_in_progress?: boolean;
@@ -24889,11 +25523,28 @@ export interface components {
24889
25523
  export_progress?: number;
24890
25524
  export_requested?: boolean;
24891
25525
  export_revision?: number;
25526
+ /**
25527
+ * @description Per-purpose case_media selections. Each slice is an ordered list
25528
+ * of case_media ids picked for that purpose. The full inventory
25529
+ * lives in the case_media collection (queryable by task_id); these
25530
+ * fields only record which subset participates in the export /
25531
+ * share bundle and in what order.
25532
+ *
25533
+ * An empty selection means "default rule": consumers fall back to
25534
+ * every source's latest completed edit (or the source itself when
25535
+ * no completed edit exists).
25536
+ */
25537
+ export_selection?: string[];
24892
25538
  /** @description An export task, is containing multiple video in a compressed file format (.zip) */
24893
25539
  export_status?: string;
24894
25540
  id?: string;
24895
25541
  is_private?: boolean;
24896
25542
  labels?: string[];
25543
+ /**
25544
+ * @description Number of source case_media rows attached to this task. Mirrors
25545
+ * case_media documents where role == "source" and task_id matches.
25546
+ */
25547
+ media_count?: number;
24897
25548
  media_date?: string;
24898
25549
  media_datetime?: string;
24899
25550
  media_end_datetime?: string;
@@ -24906,6 +25557,7 @@ export interface components {
24906
25557
  reporter_id?: string;
24907
25558
  reporter_profile?: string;
24908
25559
  sequenceId?: string;
25560
+ share_selection?: string[];
24909
25561
  sprite_url?: string;
24910
25562
  spriteFile?: string;
24911
25563
  spriteInterval?: number;
@@ -25437,6 +26089,8 @@ export declare namespace models {
25437
26089
  type CameraPreset = components['schemas']['models.CameraPreset'];
25438
26090
  type CameraTour = components['schemas']['models.CameraTour'];
25439
26091
  type Card = components['schemas']['models.Card'];
26092
+ type CaseAttachment = components['schemas']['models.CaseAttachment'];
26093
+ type CaseMedia = components['schemas']['models.CaseMedia'];
25440
26094
  type CaseShare = components['schemas']['models.CaseShare'];
25441
26095
  type ChannelTest = components['schemas']['models.ChannelTest'];
25442
26096
  type ChannelTestData = components['schemas']['models.ChannelTestData'];
@@ -25661,10 +26315,15 @@ export declare namespace api {
25661
26315
  type AddTaskResponse = components['schemas']['api.AddTaskResponse'];
25662
26316
  type AddTaskSuccessResponse = components['schemas']['api.AddTaskSuccessResponse'];
25663
26317
  type CallerInfo = components['schemas']['api.CallerInfo'];
26318
+ type CaseMediaStatusEvent = components['schemas']['api.CaseMediaStatusEvent'];
25664
26319
  type CreateCustomAlertErrorResponse = components['schemas']['api.CreateCustomAlertErrorResponse'];
25665
26320
  type CreateCustomAlertRequest = components['schemas']['api.CreateCustomAlertRequest'];
25666
26321
  type CreateCustomAlertResponse = components['schemas']['api.CreateCustomAlertResponse'];
25667
26322
  type CreateCustomAlertSuccessResponse = components['schemas']['api.CreateCustomAlertSuccessResponse'];
26323
+ type CreateMediaEditErrorResponse = components['schemas']['api.CreateMediaEditErrorResponse'];
26324
+ type CreateMediaEditRequest = components['schemas']['api.CreateMediaEditRequest'];
26325
+ type CreateMediaEditResponse = components['schemas']['api.CreateMediaEditResponse'];
26326
+ type CreateMediaEditSuccessResponse = components['schemas']['api.CreateMediaEditSuccessResponse'];
25668
26327
  type CreateVideowallErrorResponse = components['schemas']['api.CreateVideowallErrorResponse'];
25669
26328
  type CreateVideowallRequest = components['schemas']['api.CreateVideowallRequest'];
25670
26329
  type CreateVideowallResponse = components['schemas']['api.CreateVideowallResponse'];
@@ -25700,7 +26359,6 @@ export declare namespace api {
25700
26359
  type EditTaskSuccessResponse = components['schemas']['api.EditTaskSuccessResponse'];
25701
26360
  type ErrorResponse = components['schemas']['api.ErrorResponse'];
25702
26361
  type FaceRedactionMessage = components['schemas']['api.FaceRedactionMessage'];
25703
- type FaceRedactionStatusEvent = components['schemas']['api.FaceRedactionStatusEvent'];
25704
26362
  type FatalResponse = components['schemas']['api.FatalResponse'];
25705
26363
  type GetAccessTokensErrorResponse = components['schemas']['api.GetAccessTokensErrorResponse'];
25706
26364
  type GetAccessTokensResponse = components['schemas']['api.GetAccessTokensResponse'];
@@ -25837,6 +26495,9 @@ export declare namespace api {
25837
26495
  type GetWorkflowsResponse = components['schemas']['api.GetWorkflowsResponse'];
25838
26496
  type GetWorkflowsSuccessResponse = components['schemas']['api.GetWorkflowsSuccessResponse'];
25839
26497
  type GroupFilter = components['schemas']['api.GroupFilter'];
26498
+ type ListCaseMediaErrorResponse = components['schemas']['api.ListCaseMediaErrorResponse'];
26499
+ type ListCaseMediaResponse = components['schemas']['api.ListCaseMediaResponse'];
26500
+ type ListCaseMediaSuccessResponse = components['schemas']['api.ListCaseMediaSuccessResponse'];
25840
26501
  type MarkerCategoryFilter = components['schemas']['api.MarkerCategoryFilter'];
25841
26502
  type MarkerEventFilter = components['schemas']['api.MarkerEventFilter'];
25842
26503
  type MarkerFilter = components['schemas']['api.MarkerFilter'];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uug-ai/models",
3
- "version": "1.4.53",
3
+ "version": "1.4.55",
4
4
  "description": "TypeScript type definitions for Go models",
5
5
  "main": "dist/types.js",
6
6
  "types": "dist/types.d.ts",