calmlens 0.21.0 → 0.22.0

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 (79) hide show
  1. package/README.md +3 -2
  2. package/bin/calmlens.js +571 -67
  3. package/{esm/BrowserUpload-D-NnAN7g.d.ts → cjs/BrowserUpload-BWjZ9ntu.d.ts} +2 -2
  4. package/cjs/{BrowserUpload-CeSwiMo5.js → BrowserUpload-Bwlib4Zc.js} +1 -1
  5. package/{esm/CalmLensAppClient-gG16T2py.d.ts → cjs/CalmLensAppClient-BaW3ddUR.d.ts} +1 -1
  6. package/cjs/{CalmLensAppClient-0UVCuNqW.js → CalmLensAppClient-DUYMo9PZ.js} +3 -3
  7. package/cjs/{CalmLensOptionKeys-CYY6elxg.js → CalmLensOptionKeys-YvgV995V.js} +139 -31
  8. package/cjs/{CalmLensServerClient-nfu6_YEW.js → CalmLensServerClient-3N-gdsxC.js} +61 -4
  9. package/cjs/{CalmLensServerClient-BHx3x_nZ.d.ts → CalmLensServerClient-BKzn8zmp.d.ts} +38 -2
  10. package/cjs/{CalmLensTypes-CUB0YYVz.d.ts → CalmLensTypes-BDKwThbO.d.ts} +612 -53
  11. package/{esm/Core-C82YmjjX.d.ts → cjs/Core-C33pkBmf.d.ts} +7 -4
  12. package/cjs/{Core-Dc3cteU7.js → Core-Cm5Z1oJ9.js} +9 -6
  13. package/cjs/{ModerationContextLimits-BxOmeSqq.js → ModerationContextLimits-ud1xpZRK.js} +61 -2
  14. package/cjs/{ReactUpload-BK2O3dnK.js → ReactUpload-DQ0BYISX.js} +1 -1
  15. package/cjs/{ReactUpload-DiiXfKvj.d.ts → ReactUpload-DhF8mm51.d.ts} +1 -1
  16. package/cjs/{TestTriggers-BTyXtX0Q-ATuFDhLX.js → TestTriggers-D29T_R0M-D6Bu-Mln.js} +16 -16
  17. package/cjs/{UploadController-DLyiLDTB.js → UploadController-l8fZM2qT.js} +2 -2
  18. package/cjs/{WebhookPayload-BLT2y_Jy.d.ts → WebhookPayload-Dt6DttS0.d.ts} +28 -1
  19. package/cjs/app.d.ts +5 -5
  20. package/cjs/app.js +2 -2
  21. package/cjs/elements.d.ts +4 -4
  22. package/cjs/elements.js +4 -4
  23. package/{esm/index-CKRgjV16.d.ts → cjs/index-Bde1wjiw.d.ts} +2 -2
  24. package/cjs/index.d.ts +4 -4
  25. package/cjs/index.js +1 -1
  26. package/cjs/react-native.d.ts +2 -2
  27. package/cjs/react-native.js +4 -4
  28. package/cjs/react.d.ts +3 -3
  29. package/cjs/react.js +5 -5
  30. package/cjs/server.d.ts +5 -5
  31. package/cjs/server.js +2 -2
  32. package/cjs/test-inputs.js +13 -13
  33. package/cjs/testing.d.ts +10 -6
  34. package/cjs/testing.js +332 -54
  35. package/cjs/{ui-CZ8exACq.js → ui-BRA4HQ8r.js} +3 -3
  36. package/cjs/{ui-CTBUxnVp.d.ts → ui-YQuvbidU.d.ts} +2 -2
  37. package/cjs/ui.d.ts +2 -2
  38. package/cjs/ui.js +3 -3
  39. package/cjs/vue.d.ts +5 -5
  40. package/cjs/vue.js +4 -4
  41. package/{cjs/BrowserUpload-D-NnAN7g.d.ts → esm/BrowserUpload-BWjZ9ntu.d.ts} +2 -2
  42. package/esm/{BrowserUpload-i9OhCzMJ.js → BrowserUpload-GRZVB0G_.js} +1 -1
  43. package/esm/{CalmLensAppClient-CK4_Py0c.js → CalmLensAppClient-B5QIJ6KS.js} +3 -3
  44. package/{cjs/CalmLensAppClient-gG16T2py.d.ts → esm/CalmLensAppClient-BaW3ddUR.d.ts} +1 -1
  45. package/esm/{CalmLensOptionKeys-BGZlIsT2.js → CalmLensOptionKeys-BG7Qrh8-.js} +139 -31
  46. package/esm/{CalmLensServerClient-BHx3x_nZ.d.ts → CalmLensServerClient-BKzn8zmp.d.ts} +38 -2
  47. package/esm/{CalmLensServerClient-dAQUcDWb.js → CalmLensServerClient-bRUAebi-.js} +61 -4
  48. package/esm/{CalmLensTypes-CUB0YYVz.d.ts → CalmLensTypes-BDKwThbO.d.ts} +612 -53
  49. package/esm/{Core-BxeIud_S.js → Core-BvQe4moS.js} +9 -6
  50. package/{cjs/Core-C82YmjjX.d.ts → esm/Core-C33pkBmf.d.ts} +7 -4
  51. package/esm/{ModerationContextLimits-B6_RalCQ.js → ModerationContextLimits-CrxSnVZ3.js} +61 -2
  52. package/esm/{ReactUpload-DxwVqfX1.js → ReactUpload-BMO8saxT.js} +1 -1
  53. package/esm/{ReactUpload-DiiXfKvj.d.ts → ReactUpload-DhF8mm51.d.ts} +1 -1
  54. package/esm/{TestTriggers-BTyXtX0Q-GRB9jQwo.js → TestTriggers-D29T_R0M-Ztc74ucs.js} +16 -16
  55. package/esm/{UploadController-D9Z-h00Q.js → UploadController-DnJrWiE4.js} +2 -2
  56. package/esm/{WebhookPayload-BLT2y_Jy.d.ts → WebhookPayload-Dt6DttS0.d.ts} +28 -1
  57. package/esm/app.d.ts +5 -5
  58. package/esm/app.js +2 -2
  59. package/esm/elements.d.ts +4 -4
  60. package/esm/elements.js +4 -4
  61. package/{cjs/index-CKRgjV16.d.ts → esm/index-Bde1wjiw.d.ts} +2 -2
  62. package/esm/index.d.ts +4 -4
  63. package/esm/index.js +1 -1
  64. package/esm/react-native.d.ts +2 -2
  65. package/esm/react-native.js +4 -4
  66. package/esm/react.d.ts +3 -3
  67. package/esm/react.js +5 -5
  68. package/esm/server.d.ts +5 -5
  69. package/esm/server.js +2 -2
  70. package/esm/test-inputs.js +1 -1
  71. package/esm/testing.d.ts +10 -6
  72. package/esm/testing.js +326 -48
  73. package/esm/{ui-CTBUxnVp.d.ts → ui-YQuvbidU.d.ts} +2 -2
  74. package/esm/{ui-Cr7s6JHm.js → ui-heryDd6g.js} +3 -3
  75. package/esm/ui.d.ts +2 -2
  76. package/esm/ui.js +3 -3
  77. package/esm/vue.d.ts +5 -5
  78. package/esm/vue.js +4 -4
  79. package/package.json +2 -2
@@ -120,6 +120,22 @@ declare const ASSET_HLS_SCHEMA: zod.ZodObject<{
120
120
  }, zod.core.$strip>>;
121
121
  }, zod.core.$strip>;
122
122
  type AssetHls = zod.infer<typeof ASSET_HLS_SCHEMA>;
123
+ /** Whether the stream asked for is ready, or why it isn't. */
124
+ declare const ASSET_HLS_STATUS_SCHEMA: zod.ZodObject<{
125
+ status: zod.ZodEnum<{
126
+ preparing: "preparing";
127
+ ready: "ready";
128
+ unavailable: "unavailable";
129
+ }>;
130
+ reason: zod.ZodNullable<zod.ZodEnum<{
131
+ "allowance-used": "allowance-used";
132
+ "billing-required": "billing-required";
133
+ "content-not-kept": "content-not-kept";
134
+ "processing-failed": "processing-failed";
135
+ "spend-limit": "spend-limit";
136
+ }>>;
137
+ }, zod.core.$strip>;
138
+ type AssetHlsStatus = zod.infer<typeof ASSET_HLS_STATUS_SCHEMA>;
123
139
  declare const ASSET_RENDERED_KIND_SCHEMA: zod.ZodEnum<{
124
140
  audio: "audio";
125
141
  image: "image";
@@ -233,6 +249,36 @@ declare const ASSET_MODERATION_SCHEMA: zod.ZodObject<{
233
249
  "mandatory-rule": "mandatory-rule";
234
250
  policy: "policy";
235
251
  }>>;
252
+ policy: zod.ZodNullable<zod.ZodObject<{
253
+ id: zod.ZodString;
254
+ revision: zod.ZodNumber;
255
+ preset: zod.ZodNullable<zod.ZodObject<{
256
+ id: zod.ZodEnum<{
257
+ "children-platform": "children-platform";
258
+ "education-support": "education-support";
259
+ "general-community": "general-community";
260
+ "wholesome-community": "wholesome-community";
261
+ }>;
262
+ version: zod.ZodNumber;
263
+ }, zod.core.$strict>>;
264
+ }, zod.core.$strict>>;
265
+ pendingReview: zod.ZodNullable<zod.ZodObject<{
266
+ requestedAt: zod.ZodNumber;
267
+ reason: zod.ZodEnum<{
268
+ sampled: "sampled";
269
+ uncertain: "uncertain";
270
+ }>;
271
+ uncertainCategories: zod.ZodArray<zod.ZodEnum<{
272
+ "criminal-activity": "criminal-activity";
273
+ harassment: "harassment";
274
+ hate: "hate";
275
+ "personal-information": "personal-information";
276
+ profanity: "profanity";
277
+ "self-harm": "self-harm";
278
+ sexual: "sexual";
279
+ violence: "violence";
280
+ }>>;
281
+ }, zod.core.$strict>>;
236
282
  rule: zod.ZodNullable<zod.ZodString>;
237
283
  explanationComplete: zod.ZodNullable<zod.ZodBoolean>;
238
284
  categories: zod.ZodNullable<zod.ZodRecord<zod.ZodEnum<{
@@ -253,17 +299,6 @@ declare const ASSET_MODERATION_SCHEMA: zod.ZodObject<{
253
299
  limit: "limit";
254
300
  purge: "purge";
255
301
  }>;
256
- source: zod.ZodOptional<zod.ZodDiscriminatedUnion<[zod.ZodObject<{
257
- kind: zod.ZodLiteral<"default">;
258
- }, zod.core.$strict>, zod.ZodObject<{
259
- kind: zod.ZodLiteral<"below-threshold">;
260
- }, zod.core.$strict>, zod.ZodObject<{
261
- kind: zod.ZodLiteral<"allowance">;
262
- indexes: zod.ZodArray<zod.ZodNumber>;
263
- }, zod.core.$strict>, zod.ZodObject<{
264
- kind: zod.ZodLiteral<"restriction">;
265
- indexes: zod.ZodArray<zod.ZodNumber>;
266
- }, zod.core.$strict>], "kind">>;
267
302
  settings: zod.ZodOptional<zod.ZodObject<{
268
303
  action: zod.ZodEnum<{
269
304
  "age-restrict": "age-restrict";
@@ -849,6 +884,19 @@ declare const ASSET_MODERATION_SCHEMA: zod.ZodObject<{
849
884
  }>;
850
885
  }, zod.core.$strict>>;
851
886
  }, zod.core.$strict>>;
887
+ source: zod.ZodOptional<zod.ZodDiscriminatedUnion<[zod.ZodObject<{
888
+ kind: zod.ZodLiteral<"default">;
889
+ }, zod.core.$strict>, zod.ZodObject<{
890
+ kind: zod.ZodLiteral<"below-threshold">;
891
+ }, zod.core.$strict>, zod.ZodObject<{
892
+ kind: zod.ZodLiteral<"allowance">;
893
+ indexes: zod.ZodArray<zod.ZodNumber>;
894
+ conditionScore: zod.ZodNumber;
895
+ }, zod.core.$strict>, zod.ZodObject<{
896
+ kind: zod.ZodLiteral<"restriction">;
897
+ indexes: zod.ZodArray<zod.ZodNumber>;
898
+ conditionScore: zod.ZodNumber;
899
+ }, zod.core.$strict>], "kind">>;
852
900
  }, zod.core.$strict>>>;
853
901
  flaggedCategories: zod.ZodArray<zod.ZodEnum<{
854
902
  "criminal-activity": "criminal-activity";
@@ -4998,6 +5046,36 @@ declare const ASSET_CLASSIFICATION_SCHEMA: zod.ZodObject<{
4998
5046
  "mandatory-rule": "mandatory-rule";
4999
5047
  policy: "policy";
5000
5048
  }>>;
5049
+ policy: zod.ZodNullable<zod.ZodObject<{
5050
+ id: zod.ZodString;
5051
+ revision: zod.ZodNumber;
5052
+ preset: zod.ZodNullable<zod.ZodObject<{
5053
+ id: zod.ZodEnum<{
5054
+ "children-platform": "children-platform";
5055
+ "education-support": "education-support";
5056
+ "general-community": "general-community";
5057
+ "wholesome-community": "wholesome-community";
5058
+ }>;
5059
+ version: zod.ZodNumber;
5060
+ }, zod.core.$strict>>;
5061
+ }, zod.core.$strict>>;
5062
+ pendingReview: zod.ZodNullable<zod.ZodObject<{
5063
+ requestedAt: zod.ZodNumber;
5064
+ reason: zod.ZodEnum<{
5065
+ sampled: "sampled";
5066
+ uncertain: "uncertain";
5067
+ }>;
5068
+ uncertainCategories: zod.ZodArray<zod.ZodEnum<{
5069
+ "criminal-activity": "criminal-activity";
5070
+ harassment: "harassment";
5071
+ hate: "hate";
5072
+ "personal-information": "personal-information";
5073
+ profanity: "profanity";
5074
+ "self-harm": "self-harm";
5075
+ sexual: "sexual";
5076
+ violence: "violence";
5077
+ }>>;
5078
+ }, zod.core.$strict>>;
5001
5079
  rule: zod.ZodNullable<zod.ZodString>;
5002
5080
  explanationComplete: zod.ZodNullable<zod.ZodBoolean>;
5003
5081
  categories: zod.ZodNullable<zod.ZodRecord<zod.ZodEnum<{
@@ -5018,17 +5096,6 @@ declare const ASSET_CLASSIFICATION_SCHEMA: zod.ZodObject<{
5018
5096
  limit: "limit";
5019
5097
  purge: "purge";
5020
5098
  }>;
5021
- source: zod.ZodOptional<zod.ZodDiscriminatedUnion<[zod.ZodObject<{
5022
- kind: zod.ZodLiteral<"default">;
5023
- }, zod.core.$strict>, zod.ZodObject<{
5024
- kind: zod.ZodLiteral<"below-threshold">;
5025
- }, zod.core.$strict>, zod.ZodObject<{
5026
- kind: zod.ZodLiteral<"allowance">;
5027
- indexes: zod.ZodArray<zod.ZodNumber>;
5028
- }, zod.core.$strict>, zod.ZodObject<{
5029
- kind: zod.ZodLiteral<"restriction">;
5030
- indexes: zod.ZodArray<zod.ZodNumber>;
5031
- }, zod.core.$strict>], "kind">>;
5032
5099
  settings: zod.ZodOptional<zod.ZodObject<{
5033
5100
  action: zod.ZodEnum<{
5034
5101
  "age-restrict": "age-restrict";
@@ -5614,6 +5681,19 @@ declare const ASSET_CLASSIFICATION_SCHEMA: zod.ZodObject<{
5614
5681
  }>;
5615
5682
  }, zod.core.$strict>>;
5616
5683
  }, zod.core.$strict>>;
5684
+ source: zod.ZodOptional<zod.ZodDiscriminatedUnion<[zod.ZodObject<{
5685
+ kind: zod.ZodLiteral<"default">;
5686
+ }, zod.core.$strict>, zod.ZodObject<{
5687
+ kind: zod.ZodLiteral<"below-threshold">;
5688
+ }, zod.core.$strict>, zod.ZodObject<{
5689
+ kind: zod.ZodLiteral<"allowance">;
5690
+ indexes: zod.ZodArray<zod.ZodNumber>;
5691
+ conditionScore: zod.ZodNumber;
5692
+ }, zod.core.$strict>, zod.ZodObject<{
5693
+ kind: zod.ZodLiteral<"restriction">;
5694
+ indexes: zod.ZodArray<zod.ZodNumber>;
5695
+ conditionScore: zod.ZodNumber;
5696
+ }, zod.core.$strict>], "kind">>;
5617
5697
  }, zod.core.$strict>>>;
5618
5698
  flaggedCategories: zod.ZodArray<zod.ZodEnum<{
5619
5699
  "criminal-activity": "criminal-activity";
@@ -9705,6 +9785,7 @@ declare const ASSET_CLASSIFICATION_SCHEMA: zod.ZodObject<{
9705
9785
  }, zod.core.$strict>, zod.ZodObject<{
9706
9786
  status: zod.ZodLiteral<"not-evaluated">;
9707
9787
  reason: zod.ZodEnum<{
9788
+ "in-children": "in-children";
9708
9789
  "not-supported": "not-supported";
9709
9790
  unavailable: "unavailable";
9710
9791
  }>;
@@ -9723,6 +9804,7 @@ declare const ASSET_CLASSIFICATION_SCHEMA: zod.ZodObject<{
9723
9804
  }, zod.core.$strict>, zod.ZodObject<{
9724
9805
  status: zod.ZodLiteral<"not-evaluated">;
9725
9806
  reason: zod.ZodEnum<{
9807
+ "in-children": "in-children";
9726
9808
  "not-supported": "not-supported";
9727
9809
  unavailable: "unavailable";
9728
9810
  }>;
@@ -9745,6 +9827,7 @@ declare const ASSET_CLASSIFICATION_SCHEMA: zod.ZodObject<{
9745
9827
  }, zod.core.$strict>, zod.ZodObject<{
9746
9828
  status: zod.ZodLiteral<"not-evaluated">;
9747
9829
  reason: zod.ZodEnum<{
9830
+ "in-children": "in-children";
9748
9831
  "not-supported": "not-supported";
9749
9832
  unavailable: "unavailable";
9750
9833
  }>;
@@ -9770,6 +9853,7 @@ declare const ASSET_CLASSIFICATION_SCHEMA: zod.ZodObject<{
9770
9853
  }, zod.core.$strict>, zod.ZodObject<{
9771
9854
  status: zod.ZodLiteral<"not-evaluated">;
9772
9855
  reason: zod.ZodEnum<{
9856
+ "in-children": "in-children";
9773
9857
  "not-supported": "not-supported";
9774
9858
  unavailable: "unavailable";
9775
9859
  }>;
@@ -9807,6 +9891,7 @@ declare const ASSET_CLASSIFICATION_SCHEMA: zod.ZodObject<{
9807
9891
  }, zod.core.$strict>, zod.ZodObject<{
9808
9892
  status: zod.ZodLiteral<"not-evaluated">;
9809
9893
  reason: zod.ZodEnum<{
9894
+ "in-children": "in-children";
9810
9895
  "not-supported": "not-supported";
9811
9896
  unavailable: "unavailable";
9812
9897
  }>;
@@ -9829,6 +9914,7 @@ declare const ASSET_CLASSIFICATION_SCHEMA: zod.ZodObject<{
9829
9914
  }, zod.core.$strict>, zod.ZodObject<{
9830
9915
  status: zod.ZodLiteral<"not-evaluated">;
9831
9916
  reason: zod.ZodEnum<{
9917
+ "in-children": "in-children";
9832
9918
  "not-supported": "not-supported";
9833
9919
  unavailable: "unavailable";
9834
9920
  }>;
@@ -9918,6 +10004,20 @@ declare const ASSET_CONTENT_SCHEMA: zod.ZodObject<{
9918
10004
  codecs: zod.ZodString;
9919
10005
  }, zod.core.$strip>>;
9920
10006
  }, zod.core.$strip>>;
10007
+ hlsStatus: zod.ZodNullable<zod.ZodObject<{
10008
+ status: zod.ZodEnum<{
10009
+ preparing: "preparing";
10010
+ ready: "ready";
10011
+ unavailable: "unavailable";
10012
+ }>;
10013
+ reason: zod.ZodNullable<zod.ZodEnum<{
10014
+ "allowance-used": "allowance-used";
10015
+ "billing-required": "billing-required";
10016
+ "content-not-kept": "content-not-kept";
10017
+ "processing-failed": "processing-failed";
10018
+ "spend-limit": "spend-limit";
10019
+ }>>;
10020
+ }, zod.core.$strip>>;
9921
10021
  preview: zod.ZodNullable<zod.ZodObject<{
9922
10022
  width: zod.ZodNullable<zod.ZodNumber>;
9923
10023
  height: zod.ZodNullable<zod.ZodNumber>;
@@ -9954,6 +10054,7 @@ declare const ASSET_SCHEMA: zod.ZodObject<{
9954
10054
  video: "video";
9955
10055
  website: "website";
9956
10056
  }>;
10057
+ parentPages: zod.ZodArray<zod.ZodNumber>;
9957
10058
  metadata: zod.ZodArray<zod.ZodObject<{
9958
10059
  id: zod.ZodPipe<zod.ZodString, zod.ZodTransform<string, string>>;
9959
10060
  value: zod.ZodJSONSchema;
@@ -10042,6 +10143,36 @@ declare const ASSET_SCHEMA: zod.ZodObject<{
10042
10143
  "mandatory-rule": "mandatory-rule";
10043
10144
  policy: "policy";
10044
10145
  }>>;
10146
+ policy: zod.ZodNullable<zod.ZodObject<{
10147
+ id: zod.ZodString;
10148
+ revision: zod.ZodNumber;
10149
+ preset: zod.ZodNullable<zod.ZodObject<{
10150
+ id: zod.ZodEnum<{
10151
+ "children-platform": "children-platform";
10152
+ "education-support": "education-support";
10153
+ "general-community": "general-community";
10154
+ "wholesome-community": "wholesome-community";
10155
+ }>;
10156
+ version: zod.ZodNumber;
10157
+ }, zod.core.$strict>>;
10158
+ }, zod.core.$strict>>;
10159
+ pendingReview: zod.ZodNullable<zod.ZodObject<{
10160
+ requestedAt: zod.ZodNumber;
10161
+ reason: zod.ZodEnum<{
10162
+ sampled: "sampled";
10163
+ uncertain: "uncertain";
10164
+ }>;
10165
+ uncertainCategories: zod.ZodArray<zod.ZodEnum<{
10166
+ "criminal-activity": "criminal-activity";
10167
+ harassment: "harassment";
10168
+ hate: "hate";
10169
+ "personal-information": "personal-information";
10170
+ profanity: "profanity";
10171
+ "self-harm": "self-harm";
10172
+ sexual: "sexual";
10173
+ violence: "violence";
10174
+ }>>;
10175
+ }, zod.core.$strict>>;
10045
10176
  rule: zod.ZodNullable<zod.ZodString>;
10046
10177
  explanationComplete: zod.ZodNullable<zod.ZodBoolean>;
10047
10178
  categories: zod.ZodNullable<zod.ZodRecord<zod.ZodEnum<{
@@ -10062,17 +10193,6 @@ declare const ASSET_SCHEMA: zod.ZodObject<{
10062
10193
  limit: "limit";
10063
10194
  purge: "purge";
10064
10195
  }>;
10065
- source: zod.ZodOptional<zod.ZodDiscriminatedUnion<[zod.ZodObject<{
10066
- kind: zod.ZodLiteral<"default">;
10067
- }, zod.core.$strict>, zod.ZodObject<{
10068
- kind: zod.ZodLiteral<"below-threshold">;
10069
- }, zod.core.$strict>, zod.ZodObject<{
10070
- kind: zod.ZodLiteral<"allowance">;
10071
- indexes: zod.ZodArray<zod.ZodNumber>;
10072
- }, zod.core.$strict>, zod.ZodObject<{
10073
- kind: zod.ZodLiteral<"restriction">;
10074
- indexes: zod.ZodArray<zod.ZodNumber>;
10075
- }, zod.core.$strict>], "kind">>;
10076
10196
  settings: zod.ZodOptional<zod.ZodObject<{
10077
10197
  action: zod.ZodEnum<{
10078
10198
  "age-restrict": "age-restrict";
@@ -10658,6 +10778,19 @@ declare const ASSET_SCHEMA: zod.ZodObject<{
10658
10778
  }>;
10659
10779
  }, zod.core.$strict>>;
10660
10780
  }, zod.core.$strict>>;
10781
+ source: zod.ZodOptional<zod.ZodDiscriminatedUnion<[zod.ZodObject<{
10782
+ kind: zod.ZodLiteral<"default">;
10783
+ }, zod.core.$strict>, zod.ZodObject<{
10784
+ kind: zod.ZodLiteral<"below-threshold">;
10785
+ }, zod.core.$strict>, zod.ZodObject<{
10786
+ kind: zod.ZodLiteral<"allowance">;
10787
+ indexes: zod.ZodArray<zod.ZodNumber>;
10788
+ conditionScore: zod.ZodNumber;
10789
+ }, zod.core.$strict>, zod.ZodObject<{
10790
+ kind: zod.ZodLiteral<"restriction">;
10791
+ indexes: zod.ZodArray<zod.ZodNumber>;
10792
+ conditionScore: zod.ZodNumber;
10793
+ }, zod.core.$strict>], "kind">>;
10661
10794
  }, zod.core.$strict>>>;
10662
10795
  flaggedCategories: zod.ZodArray<zod.ZodEnum<{
10663
10796
  "criminal-activity": "criminal-activity";
@@ -14749,6 +14882,7 @@ declare const ASSET_SCHEMA: zod.ZodObject<{
14749
14882
  }, zod.core.$strict>, zod.ZodObject<{
14750
14883
  status: zod.ZodLiteral<"not-evaluated">;
14751
14884
  reason: zod.ZodEnum<{
14885
+ "in-children": "in-children";
14752
14886
  "not-supported": "not-supported";
14753
14887
  unavailable: "unavailable";
14754
14888
  }>;
@@ -14767,6 +14901,7 @@ declare const ASSET_SCHEMA: zod.ZodObject<{
14767
14901
  }, zod.core.$strict>, zod.ZodObject<{
14768
14902
  status: zod.ZodLiteral<"not-evaluated">;
14769
14903
  reason: zod.ZodEnum<{
14904
+ "in-children": "in-children";
14770
14905
  "not-supported": "not-supported";
14771
14906
  unavailable: "unavailable";
14772
14907
  }>;
@@ -14789,6 +14924,7 @@ declare const ASSET_SCHEMA: zod.ZodObject<{
14789
14924
  }, zod.core.$strict>, zod.ZodObject<{
14790
14925
  status: zod.ZodLiteral<"not-evaluated">;
14791
14926
  reason: zod.ZodEnum<{
14927
+ "in-children": "in-children";
14792
14928
  "not-supported": "not-supported";
14793
14929
  unavailable: "unavailable";
14794
14930
  }>;
@@ -14814,6 +14950,7 @@ declare const ASSET_SCHEMA: zod.ZodObject<{
14814
14950
  }, zod.core.$strict>, zod.ZodObject<{
14815
14951
  status: zod.ZodLiteral<"not-evaluated">;
14816
14952
  reason: zod.ZodEnum<{
14953
+ "in-children": "in-children";
14817
14954
  "not-supported": "not-supported";
14818
14955
  unavailable: "unavailable";
14819
14956
  }>;
@@ -14851,6 +14988,7 @@ declare const ASSET_SCHEMA: zod.ZodObject<{
14851
14988
  }, zod.core.$strict>, zod.ZodObject<{
14852
14989
  status: zod.ZodLiteral<"not-evaluated">;
14853
14990
  reason: zod.ZodEnum<{
14991
+ "in-children": "in-children";
14854
14992
  "not-supported": "not-supported";
14855
14993
  unavailable: "unavailable";
14856
14994
  }>;
@@ -14873,6 +15011,7 @@ declare const ASSET_SCHEMA: zod.ZodObject<{
14873
15011
  }, zod.core.$strict>, zod.ZodObject<{
14874
15012
  status: zod.ZodLiteral<"not-evaluated">;
14875
15013
  reason: zod.ZodEnum<{
15014
+ "in-children": "in-children";
14876
15015
  "not-supported": "not-supported";
14877
15016
  unavailable: "unavailable";
14878
15017
  }>;
@@ -14961,6 +15100,20 @@ declare const ASSET_SCHEMA: zod.ZodObject<{
14961
15100
  codecs: zod.ZodString;
14962
15101
  }, zod.core.$strip>>;
14963
15102
  }, zod.core.$strip>>;
15103
+ hlsStatus: zod.ZodNullable<zod.ZodObject<{
15104
+ status: zod.ZodEnum<{
15105
+ preparing: "preparing";
15106
+ ready: "ready";
15107
+ unavailable: "unavailable";
15108
+ }>;
15109
+ reason: zod.ZodNullable<zod.ZodEnum<{
15110
+ "allowance-used": "allowance-used";
15111
+ "billing-required": "billing-required";
15112
+ "content-not-kept": "content-not-kept";
15113
+ "processing-failed": "processing-failed";
15114
+ "spend-limit": "spend-limit";
15115
+ }>>;
15116
+ }, zod.core.$strip>>;
14964
15117
  preview: zod.ZodNullable<zod.ZodObject<{
14965
15118
  width: zod.ZodNullable<zod.ZodNumber>;
14966
15119
  height: zod.ZodNullable<zod.ZodNumber>;
@@ -15119,6 +15272,7 @@ declare const ASSET_SEARCH_RESULT_SCHEMA: zod.ZodObject<{
15119
15272
  video: "video";
15120
15273
  website: "website";
15121
15274
  }>;
15275
+ parentPages: zod.ZodArray<zod.ZodNumber>;
15122
15276
  metadata: zod.ZodArray<zod.ZodObject<{
15123
15277
  id: zod.ZodPipe<zod.ZodString, zod.ZodTransform<string, string>>;
15124
15278
  value: zod.ZodJSONSchema;
@@ -15207,6 +15361,36 @@ declare const ASSET_SEARCH_RESULT_SCHEMA: zod.ZodObject<{
15207
15361
  "mandatory-rule": "mandatory-rule";
15208
15362
  policy: "policy";
15209
15363
  }>>;
15364
+ policy: zod.ZodNullable<zod.ZodObject<{
15365
+ id: zod.ZodString;
15366
+ revision: zod.ZodNumber;
15367
+ preset: zod.ZodNullable<zod.ZodObject<{
15368
+ id: zod.ZodEnum<{
15369
+ "children-platform": "children-platform";
15370
+ "education-support": "education-support";
15371
+ "general-community": "general-community";
15372
+ "wholesome-community": "wholesome-community";
15373
+ }>;
15374
+ version: zod.ZodNumber;
15375
+ }, zod.core.$strict>>;
15376
+ }, zod.core.$strict>>;
15377
+ pendingReview: zod.ZodNullable<zod.ZodObject<{
15378
+ requestedAt: zod.ZodNumber;
15379
+ reason: zod.ZodEnum<{
15380
+ sampled: "sampled";
15381
+ uncertain: "uncertain";
15382
+ }>;
15383
+ uncertainCategories: zod.ZodArray<zod.ZodEnum<{
15384
+ "criminal-activity": "criminal-activity";
15385
+ harassment: "harassment";
15386
+ hate: "hate";
15387
+ "personal-information": "personal-information";
15388
+ profanity: "profanity";
15389
+ "self-harm": "self-harm";
15390
+ sexual: "sexual";
15391
+ violence: "violence";
15392
+ }>>;
15393
+ }, zod.core.$strict>>;
15210
15394
  rule: zod.ZodNullable<zod.ZodString>;
15211
15395
  explanationComplete: zod.ZodNullable<zod.ZodBoolean>;
15212
15396
  categories: zod.ZodNullable<zod.ZodRecord<zod.ZodEnum<{
@@ -15227,17 +15411,6 @@ declare const ASSET_SEARCH_RESULT_SCHEMA: zod.ZodObject<{
15227
15411
  limit: "limit";
15228
15412
  purge: "purge";
15229
15413
  }>;
15230
- source: zod.ZodOptional<zod.ZodDiscriminatedUnion<[zod.ZodObject<{
15231
- kind: zod.ZodLiteral<"default">;
15232
- }, zod.core.$strict>, zod.ZodObject<{
15233
- kind: zod.ZodLiteral<"below-threshold">;
15234
- }, zod.core.$strict>, zod.ZodObject<{
15235
- kind: zod.ZodLiteral<"allowance">;
15236
- indexes: zod.ZodArray<zod.ZodNumber>;
15237
- }, zod.core.$strict>, zod.ZodObject<{
15238
- kind: zod.ZodLiteral<"restriction">;
15239
- indexes: zod.ZodArray<zod.ZodNumber>;
15240
- }, zod.core.$strict>], "kind">>;
15241
15414
  settings: zod.ZodOptional<zod.ZodObject<{
15242
15415
  action: zod.ZodEnum<{
15243
15416
  "age-restrict": "age-restrict";
@@ -15823,6 +15996,19 @@ declare const ASSET_SEARCH_RESULT_SCHEMA: zod.ZodObject<{
15823
15996
  }>;
15824
15997
  }, zod.core.$strict>>;
15825
15998
  }, zod.core.$strict>>;
15999
+ source: zod.ZodOptional<zod.ZodDiscriminatedUnion<[zod.ZodObject<{
16000
+ kind: zod.ZodLiteral<"default">;
16001
+ }, zod.core.$strict>, zod.ZodObject<{
16002
+ kind: zod.ZodLiteral<"below-threshold">;
16003
+ }, zod.core.$strict>, zod.ZodObject<{
16004
+ kind: zod.ZodLiteral<"allowance">;
16005
+ indexes: zod.ZodArray<zod.ZodNumber>;
16006
+ conditionScore: zod.ZodNumber;
16007
+ }, zod.core.$strict>, zod.ZodObject<{
16008
+ kind: zod.ZodLiteral<"restriction">;
16009
+ indexes: zod.ZodArray<zod.ZodNumber>;
16010
+ conditionScore: zod.ZodNumber;
16011
+ }, zod.core.$strict>], "kind">>;
15826
16012
  }, zod.core.$strict>>>;
15827
16013
  flaggedCategories: zod.ZodArray<zod.ZodEnum<{
15828
16014
  "criminal-activity": "criminal-activity";
@@ -19914,6 +20100,7 @@ declare const ASSET_SEARCH_RESULT_SCHEMA: zod.ZodObject<{
19914
20100
  }, zod.core.$strict>, zod.ZodObject<{
19915
20101
  status: zod.ZodLiteral<"not-evaluated">;
19916
20102
  reason: zod.ZodEnum<{
20103
+ "in-children": "in-children";
19917
20104
  "not-supported": "not-supported";
19918
20105
  unavailable: "unavailable";
19919
20106
  }>;
@@ -19932,6 +20119,7 @@ declare const ASSET_SEARCH_RESULT_SCHEMA: zod.ZodObject<{
19932
20119
  }, zod.core.$strict>, zod.ZodObject<{
19933
20120
  status: zod.ZodLiteral<"not-evaluated">;
19934
20121
  reason: zod.ZodEnum<{
20122
+ "in-children": "in-children";
19935
20123
  "not-supported": "not-supported";
19936
20124
  unavailable: "unavailable";
19937
20125
  }>;
@@ -19954,6 +20142,7 @@ declare const ASSET_SEARCH_RESULT_SCHEMA: zod.ZodObject<{
19954
20142
  }, zod.core.$strict>, zod.ZodObject<{
19955
20143
  status: zod.ZodLiteral<"not-evaluated">;
19956
20144
  reason: zod.ZodEnum<{
20145
+ "in-children": "in-children";
19957
20146
  "not-supported": "not-supported";
19958
20147
  unavailable: "unavailable";
19959
20148
  }>;
@@ -19979,6 +20168,7 @@ declare const ASSET_SEARCH_RESULT_SCHEMA: zod.ZodObject<{
19979
20168
  }, zod.core.$strict>, zod.ZodObject<{
19980
20169
  status: zod.ZodLiteral<"not-evaluated">;
19981
20170
  reason: zod.ZodEnum<{
20171
+ "in-children": "in-children";
19982
20172
  "not-supported": "not-supported";
19983
20173
  unavailable: "unavailable";
19984
20174
  }>;
@@ -20016,6 +20206,7 @@ declare const ASSET_SEARCH_RESULT_SCHEMA: zod.ZodObject<{
20016
20206
  }, zod.core.$strict>, zod.ZodObject<{
20017
20207
  status: zod.ZodLiteral<"not-evaluated">;
20018
20208
  reason: zod.ZodEnum<{
20209
+ "in-children": "in-children";
20019
20210
  "not-supported": "not-supported";
20020
20211
  unavailable: "unavailable";
20021
20212
  }>;
@@ -20038,6 +20229,7 @@ declare const ASSET_SEARCH_RESULT_SCHEMA: zod.ZodObject<{
20038
20229
  }, zod.core.$strict>, zod.ZodObject<{
20039
20230
  status: zod.ZodLiteral<"not-evaluated">;
20040
20231
  reason: zod.ZodEnum<{
20232
+ "in-children": "in-children";
20041
20233
  "not-supported": "not-supported";
20042
20234
  unavailable: "unavailable";
20043
20235
  }>;
@@ -20126,6 +20318,20 @@ declare const ASSET_SEARCH_RESULT_SCHEMA: zod.ZodObject<{
20126
20318
  codecs: zod.ZodString;
20127
20319
  }, zod.core.$strip>>;
20128
20320
  }, zod.core.$strip>>;
20321
+ hlsStatus: zod.ZodNullable<zod.ZodObject<{
20322
+ status: zod.ZodEnum<{
20323
+ preparing: "preparing";
20324
+ ready: "ready";
20325
+ unavailable: "unavailable";
20326
+ }>;
20327
+ reason: zod.ZodNullable<zod.ZodEnum<{
20328
+ "allowance-used": "allowance-used";
20329
+ "billing-required": "billing-required";
20330
+ "content-not-kept": "content-not-kept";
20331
+ "processing-failed": "processing-failed";
20332
+ "spend-limit": "spend-limit";
20333
+ }>>;
20334
+ }, zod.core.$strip>>;
20129
20335
  preview: zod.ZodNullable<zod.ZodObject<{
20130
20336
  width: zod.ZodNullable<zod.ZodNumber>;
20131
20337
  height: zod.ZodNullable<zod.ZodNumber>;
@@ -34476,6 +34682,7 @@ declare const PROCESSING_FEATURE_RESULTS_SCHEMA: zod.ZodObject<{
34476
34682
  }, zod.core.$strict>, zod.ZodObject<{
34477
34683
  status: zod.ZodLiteral<"not-evaluated">;
34478
34684
  reason: zod.ZodEnum<{
34685
+ "in-children": "in-children";
34479
34686
  "not-supported": "not-supported";
34480
34687
  unavailable: "unavailable";
34481
34688
  }>;
@@ -34494,6 +34701,7 @@ declare const PROCESSING_FEATURE_RESULTS_SCHEMA: zod.ZodObject<{
34494
34701
  }, zod.core.$strict>, zod.ZodObject<{
34495
34702
  status: zod.ZodLiteral<"not-evaluated">;
34496
34703
  reason: zod.ZodEnum<{
34704
+ "in-children": "in-children";
34497
34705
  "not-supported": "not-supported";
34498
34706
  unavailable: "unavailable";
34499
34707
  }>;
@@ -34516,6 +34724,7 @@ declare const PROCESSING_FEATURE_RESULTS_SCHEMA: zod.ZodObject<{
34516
34724
  }, zod.core.$strict>, zod.ZodObject<{
34517
34725
  status: zod.ZodLiteral<"not-evaluated">;
34518
34726
  reason: zod.ZodEnum<{
34727
+ "in-children": "in-children";
34519
34728
  "not-supported": "not-supported";
34520
34729
  unavailable: "unavailable";
34521
34730
  }>;
@@ -34541,6 +34750,7 @@ declare const PROCESSING_FEATURE_RESULTS_SCHEMA: zod.ZodObject<{
34541
34750
  }, zod.core.$strict>, zod.ZodObject<{
34542
34751
  status: zod.ZodLiteral<"not-evaluated">;
34543
34752
  reason: zod.ZodEnum<{
34753
+ "in-children": "in-children";
34544
34754
  "not-supported": "not-supported";
34545
34755
  unavailable: "unavailable";
34546
34756
  }>;
@@ -34578,6 +34788,7 @@ declare const PROCESSING_FEATURE_RESULTS_SCHEMA: zod.ZodObject<{
34578
34788
  }, zod.core.$strict>, zod.ZodObject<{
34579
34789
  status: zod.ZodLiteral<"not-evaluated">;
34580
34790
  reason: zod.ZodEnum<{
34791
+ "in-children": "in-children";
34581
34792
  "not-supported": "not-supported";
34582
34793
  unavailable: "unavailable";
34583
34794
  }>;
@@ -34600,12 +34811,304 @@ declare const PROCESSING_FEATURE_RESULTS_SCHEMA: zod.ZodObject<{
34600
34811
  }, zod.core.$strict>, zod.ZodObject<{
34601
34812
  status: zod.ZodLiteral<"not-evaluated">;
34602
34813
  reason: zod.ZodEnum<{
34814
+ "in-children": "in-children";
34603
34815
  "not-supported": "not-supported";
34604
34816
  unavailable: "unavailable";
34605
34817
  }>;
34606
34818
  }, zod.core.$strict>], "status">>;
34607
34819
  }, zod.core.$strict>;
34608
34820
  type ProcessingFeatureResults = zod.infer<typeof PROCESSING_FEATURE_RESULTS_SCHEMA>;
34821
+ declare const UPLOAD_PRESET_SCHEMA: zod.ZodObject<{
34822
+ id: zod.ZodString;
34823
+ projectId: zod.ZodString;
34824
+ createdByUserId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
34825
+ key: zod.ZodString;
34826
+ revision: zod.ZodNumber;
34827
+ name: zod.ZodPipe<zod.ZodString, zod.ZodTransform<string, string>>;
34828
+ access: zod.ZodEnum<{
34829
+ anyone: "anyone";
34830
+ token: "token";
34831
+ }>;
34832
+ enabled: zod.ZodBoolean;
34833
+ allowedContentTypes: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodString>>>;
34834
+ maxSizeInBytes: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
34835
+ folderId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
34836
+ policyId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
34837
+ visibility: zod.ZodEnum<{
34838
+ private: "private";
34839
+ public: "public";
34840
+ }>;
34841
+ processingOptions: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
34842
+ keepContentAfterProcessing: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
34843
+ storeSensitiveMetadata: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
34844
+ features: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
34845
+ ocr: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
34846
+ enabled: zod.ZodBoolean;
34847
+ }, zod.core.$strict>>>;
34848
+ personDetection: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
34849
+ enabled: zod.ZodBoolean;
34850
+ }, zod.core.$strict>>>;
34851
+ faceDetection: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
34852
+ enabled: zod.ZodBoolean;
34853
+ ageEstimation: zod.ZodOptional<zod.ZodBoolean>;
34854
+ }, zod.core.$strict>>>;
34855
+ linkDetection: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
34856
+ enabled: zod.ZodBoolean;
34857
+ }, zod.core.$strict>>>;
34858
+ aiGeneratedDetection: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
34859
+ enabled: zod.ZodBoolean;
34860
+ }, zod.core.$strict>>>;
34861
+ streaming: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
34862
+ enabled: zod.ZodBoolean;
34863
+ }, zod.core.$strict>>>;
34864
+ }, zod.core.$strict>>>;
34865
+ }, zod.core.$strict>>>;
34866
+ revealDecision: zod.ZodBoolean;
34867
+ dailyUploadLimit: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
34868
+ allowedOrigins: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodString>>>;
34869
+ createdAt: zod.ZodNumber;
34870
+ updatedAt: zod.ZodOptional<zod.ZodNumber>;
34871
+ }, zod.core.$strip>;
34872
+ type UploadPreset = zod.infer<typeof UPLOAD_PRESET_SCHEMA>;
34873
+ declare const PUBLIC_UPLOAD_PRESET_SCHEMA: zod.ZodObject<{
34874
+ id: zod.ZodString;
34875
+ projectId: zod.ZodString;
34876
+ createdByUserId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
34877
+ key: zod.ZodString;
34878
+ revision: zod.ZodNumber;
34879
+ name: zod.ZodPipe<zod.ZodString, zod.ZodTransform<string, string>>;
34880
+ access: zod.ZodEnum<{
34881
+ anyone: "anyone";
34882
+ token: "token";
34883
+ }>;
34884
+ enabled: zod.ZodBoolean;
34885
+ allowedContentTypes: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodString>>>;
34886
+ maxSizeInBytes: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
34887
+ folderId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
34888
+ policyId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
34889
+ visibility: zod.ZodEnum<{
34890
+ private: "private";
34891
+ public: "public";
34892
+ }>;
34893
+ processingOptions: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
34894
+ keepContentAfterProcessing: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
34895
+ storeSensitiveMetadata: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
34896
+ features: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
34897
+ ocr: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
34898
+ enabled: zod.ZodBoolean;
34899
+ }, zod.core.$strict>>>;
34900
+ personDetection: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
34901
+ enabled: zod.ZodBoolean;
34902
+ }, zod.core.$strict>>>;
34903
+ faceDetection: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
34904
+ enabled: zod.ZodBoolean;
34905
+ ageEstimation: zod.ZodOptional<zod.ZodBoolean>;
34906
+ }, zod.core.$strict>>>;
34907
+ linkDetection: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
34908
+ enabled: zod.ZodBoolean;
34909
+ }, zod.core.$strict>>>;
34910
+ aiGeneratedDetection: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
34911
+ enabled: zod.ZodBoolean;
34912
+ }, zod.core.$strict>>>;
34913
+ streaming: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
34914
+ enabled: zod.ZodBoolean;
34915
+ }, zod.core.$strict>>>;
34916
+ }, zod.core.$strict>>>;
34917
+ }, zod.core.$strict>>>;
34918
+ revealDecision: zod.ZodBoolean;
34919
+ dailyUploadLimit: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
34920
+ allowedOrigins: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodString>>>;
34921
+ createdAt: zod.ZodNumber;
34922
+ updatedAt: zod.ZodOptional<zod.ZodNumber>;
34923
+ }, zod.core.$strip>;
34924
+ /**
34925
+ * One preset in an ensure-upload-presets request: its whole definition, addressed by key. Fields
34926
+ * left out take their defaults, so a preset matches what was sent.
34927
+ */
34928
+ declare const ENSURE_UPLOAD_PRESET_SCHEMA: zod.ZodObject<{
34929
+ key: zod.ZodString;
34930
+ revision: zod.ZodOptional<zod.ZodNumber>;
34931
+ name: zod.ZodPipe<zod.ZodString, zod.ZodTransform<string, string>>;
34932
+ access: zod.ZodDefault<zod.ZodEnum<{
34933
+ anyone: "anyone";
34934
+ token: "token";
34935
+ }>>;
34936
+ enabled: zod.ZodDefault<zod.ZodBoolean>;
34937
+ allowedContentTypes: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodString>>>;
34938
+ maxSizeInBytes: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
34939
+ folderId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
34940
+ policyId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
34941
+ visibility: zod.ZodDefault<zod.ZodEnum<{
34942
+ private: "private";
34943
+ public: "public";
34944
+ }>>;
34945
+ processingOptions: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
34946
+ keepContentAfterProcessing: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
34947
+ storeSensitiveMetadata: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
34948
+ features: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
34949
+ ocr: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
34950
+ enabled: zod.ZodBoolean;
34951
+ }, zod.core.$strict>>>;
34952
+ personDetection: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
34953
+ enabled: zod.ZodBoolean;
34954
+ }, zod.core.$strict>>>;
34955
+ faceDetection: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
34956
+ enabled: zod.ZodBoolean;
34957
+ ageEstimation: zod.ZodOptional<zod.ZodBoolean>;
34958
+ }, zod.core.$strict>>>;
34959
+ linkDetection: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
34960
+ enabled: zod.ZodBoolean;
34961
+ }, zod.core.$strict>>>;
34962
+ aiGeneratedDetection: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
34963
+ enabled: zod.ZodBoolean;
34964
+ }, zod.core.$strict>>>;
34965
+ streaming: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
34966
+ enabled: zod.ZodBoolean;
34967
+ }, zod.core.$strict>>>;
34968
+ }, zod.core.$strict>>>;
34969
+ }, zod.core.$strict>>>;
34970
+ revealDecision: zod.ZodDefault<zod.ZodBoolean>;
34971
+ dailyUploadLimit: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
34972
+ allowedOrigins: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodString>>>;
34973
+ }, zod.core.$strict>;
34974
+ type EnsureUploadPresetInput = zod.input<typeof ENSURE_UPLOAD_PRESET_SCHEMA>;
34975
+ /**
34976
+ * The settings the project settings endpoints read and replace. Its policy and metadata fields have
34977
+ * their own endpoints, so they aren't listed here.
34978
+ */
34979
+ declare const PUBLIC_PROJECT_SETTINGS_SCHEMA: zod.ZodObject<{
34980
+ optOutJurisdictions: zod.ZodDefault<zod.ZodArray<zod.ZodEnum<{
34981
+ EU: "EU";
34982
+ }>>>;
34983
+ blockUnmoderatedAssets: zod.ZodDefault<zod.ZodBoolean>;
34984
+ storeSensitiveMetadata: zod.ZodDefault<zod.ZodBoolean>;
34985
+ streamingEnabled: zod.ZodDefault<zod.ZodBoolean>;
34986
+ aiMediaSearchEnabled: zod.ZodDefault<zod.ZodBoolean>;
34987
+ remoteUrlRule: zod.ZodDefault<zod.ZodNullable<zod.ZodObject<{
34988
+ mode: zod.ZodEnum<{
34989
+ allow: "allow";
34990
+ deny: "deny";
34991
+ }>;
34992
+ domains: zod.ZodArray<zod.ZodString>;
34993
+ }, zod.core.$strip>>>;
34994
+ websiteSubmissionsPerMinute: zod.ZodDefault<zod.ZodNullable<zod.ZodNumber>>;
34995
+ humanReview: zod.ZodDefault<zod.ZodObject<{
34996
+ allowedSamplePercent: zod.ZodDefault<zod.ZodNumber>;
34997
+ restrictedSamplePercent: zod.ZodDefault<zod.ZodNumber>;
34998
+ uncertaintyMarginPercent: zod.ZodDefault<zod.ZodNumber>;
34999
+ reviewMissingEvidence: zod.ZodDefault<zod.ZodBoolean>;
35000
+ }, zod.core.$strict>>;
35001
+ }, zod.core.$strict>;
35002
+ type PublicProjectSettings = zod.infer<typeof PUBLIC_PROJECT_SETTINGS_SCHEMA>;
35003
+ declare const PROJECT_SETTINGS_RESOURCE_SCHEMA: zod.ZodObject<{
35004
+ projectId: zod.ZodString;
35005
+ revision: zod.ZodNumber;
35006
+ settings: zod.ZodObject<{
35007
+ optOutJurisdictions: zod.ZodDefault<zod.ZodArray<zod.ZodEnum<{
35008
+ EU: "EU";
35009
+ }>>>;
35010
+ blockUnmoderatedAssets: zod.ZodDefault<zod.ZodBoolean>;
35011
+ storeSensitiveMetadata: zod.ZodDefault<zod.ZodBoolean>;
35012
+ streamingEnabled: zod.ZodDefault<zod.ZodBoolean>;
35013
+ aiMediaSearchEnabled: zod.ZodDefault<zod.ZodBoolean>;
35014
+ remoteUrlRule: zod.ZodDefault<zod.ZodNullable<zod.ZodObject<{
35015
+ mode: zod.ZodEnum<{
35016
+ allow: "allow";
35017
+ deny: "deny";
35018
+ }>;
35019
+ domains: zod.ZodArray<zod.ZodString>;
35020
+ }, zod.core.$strip>>>;
35021
+ websiteSubmissionsPerMinute: zod.ZodDefault<zod.ZodNullable<zod.ZodNumber>>;
35022
+ humanReview: zod.ZodDefault<zod.ZodObject<{
35023
+ allowedSamplePercent: zod.ZodDefault<zod.ZodNumber>;
35024
+ restrictedSamplePercent: zod.ZodDefault<zod.ZodNumber>;
35025
+ uncertaintyMarginPercent: zod.ZodDefault<zod.ZodNumber>;
35026
+ reviewMissingEvidence: zod.ZodDefault<zod.ZodBoolean>;
35027
+ }, zod.core.$strict>>;
35028
+ }, zod.core.$strict>;
35029
+ }, zod.core.$strip>;
35030
+ type ProjectSettingsResource = zod.infer<typeof PROJECT_SETTINGS_RESOURCE_SCHEMA>;
35031
+ declare const PUT_PROJECT_SETTINGS_BODY_SCHEMA: zod.ZodObject<{
35032
+ revision: zod.ZodOptional<zod.ZodNumber>;
35033
+ settings: zod.ZodObject<{
35034
+ optOutJurisdictions: zod.ZodDefault<zod.ZodArray<zod.ZodEnum<{
35035
+ EU: "EU";
35036
+ }>>>;
35037
+ blockUnmoderatedAssets: zod.ZodDefault<zod.ZodBoolean>;
35038
+ storeSensitiveMetadata: zod.ZodDefault<zod.ZodBoolean>;
35039
+ streamingEnabled: zod.ZodDefault<zod.ZodBoolean>;
35040
+ aiMediaSearchEnabled: zod.ZodDefault<zod.ZodBoolean>;
35041
+ remoteUrlRule: zod.ZodDefault<zod.ZodNullable<zod.ZodObject<{
35042
+ mode: zod.ZodEnum<{
35043
+ allow: "allow";
35044
+ deny: "deny";
35045
+ }>;
35046
+ domains: zod.ZodArray<zod.ZodString>;
35047
+ }, zod.core.$strip>>>;
35048
+ websiteSubmissionsPerMinute: zod.ZodDefault<zod.ZodNullable<zod.ZodNumber>>;
35049
+ humanReview: zod.ZodDefault<zod.ZodObject<{
35050
+ allowedSamplePercent: zod.ZodDefault<zod.ZodNumber>;
35051
+ restrictedSamplePercent: zod.ZodDefault<zod.ZodNumber>;
35052
+ uncertaintyMarginPercent: zod.ZodDefault<zod.ZodNumber>;
35053
+ reviewMissingEvidence: zod.ZodDefault<zod.ZodBoolean>;
35054
+ }, zod.core.$strict>>;
35055
+ }, zod.core.$strict>;
35056
+ searchIndexingBudgetUnits: zod.ZodOptional<zod.ZodNumber>;
35057
+ }, zod.core.$strict>;
35058
+ type PutProjectSettingsBody = zod.input<typeof PUT_PROJECT_SETTINGS_BODY_SCHEMA>;
35059
+ declare const METADATA_FIELDS_RESOURCE_SCHEMA: zod.ZodObject<{
35060
+ projectId: zod.ZodString;
35061
+ revision: zod.ZodNumber;
35062
+ fields: zod.ZodArray<zod.ZodObject<{
35063
+ id: zod.ZodString;
35064
+ title: zod.ZodString;
35065
+ description: zod.ZodOptional<zod.ZodString>;
35066
+ type: zod.ZodEnum<{
35067
+ boolean: "boolean";
35068
+ date: "date";
35069
+ number: "number";
35070
+ string: "string";
35071
+ url: "url";
35072
+ }>;
35073
+ icon: zod.ZodEnum<{
35074
+ folder: "folder";
35075
+ hash: "hash";
35076
+ layers: "layers";
35077
+ link: "link";
35078
+ photo: "photo";
35079
+ tag: "tag";
35080
+ user: "user";
35081
+ }>;
35082
+ color: zod.ZodString;
35083
+ }, zod.core.$strip>>;
35084
+ }, zod.core.$strip>;
35085
+ type MetadataFieldsResource = zod.infer<typeof METADATA_FIELDS_RESOURCE_SCHEMA>;
35086
+ declare const ENSURE_METADATA_FIELDS_BODY_SCHEMA: zod.ZodObject<{
35087
+ revision: zod.ZodOptional<zod.ZodNumber>;
35088
+ fields: zod.ZodArray<zod.ZodObject<{
35089
+ id: zod.ZodString;
35090
+ title: zod.ZodString;
35091
+ description: zod.ZodOptional<zod.ZodString>;
35092
+ type: zod.ZodEnum<{
35093
+ boolean: "boolean";
35094
+ date: "date";
35095
+ number: "number";
35096
+ string: "string";
35097
+ url: "url";
35098
+ }>;
35099
+ icon: zod.ZodEnum<{
35100
+ folder: "folder";
35101
+ hash: "hash";
35102
+ layers: "layers";
35103
+ link: "link";
35104
+ photo: "photo";
35105
+ tag: "tag";
35106
+ user: "user";
35107
+ }>;
35108
+ color: zod.ZodString;
35109
+ }, zod.core.$strip>>;
35110
+ }, zod.core.$strict>;
35111
+ type EnsureMetadataFieldsBody = zod.input<typeof ENSURE_METADATA_FIELDS_BODY_SCHEMA>;
34609
35112
  declare const FOLDER_SCHEMA: zod.ZodObject<{
34610
35113
  id: zod.ZodString;
34611
35114
  projectId: zod.ZodString;
@@ -36564,6 +37067,7 @@ declare const EVENT_TYPE_INFO: {
36564
37067
  memberName: EventFieldDefinition<zod.ZodOptional<zod.ZodNullable<zod.ZodString>>>;
36565
37068
  role: EventFieldDefinition<zod.ZodEnum<{
36566
37069
  admin: "admin";
37070
+ configurator: "configurator";
36567
37071
  custom: "custom";
36568
37072
  editor: "editor";
36569
37073
  viewer: "viewer";
@@ -36573,7 +37077,7 @@ declare const EVENT_TYPE_INFO: {
36573
37077
  example: NoInfer<{
36574
37078
  memberUserId: string;
36575
37079
  memberName?: string | null | undefined;
36576
- role: "admin" | "custom" | "editor" | "viewer";
37080
+ role: "admin" | "configurator" | "custom" | "editor" | "viewer";
36577
37081
  }>;
36578
37082
  factInfo: {
36579
37083
  label: string;
@@ -36601,6 +37105,7 @@ declare const EVENT_TYPE_INFO: {
36601
37105
  memberName: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
36602
37106
  role: zod.ZodEnum<{
36603
37107
  admin: "admin";
37108
+ configurator: "configurator";
36604
37109
  custom: "custom";
36605
37110
  editor: "editor";
36606
37111
  viewer: "viewer";
@@ -36627,6 +37132,7 @@ declare const EVENT_TYPE_INFO: {
36627
37132
  memberName: EventFieldDefinition<zod.ZodOptional<zod.ZodNullable<zod.ZodString>>>;
36628
37133
  role: EventFieldDefinition<zod.ZodEnum<{
36629
37134
  admin: "admin";
37135
+ configurator: "configurator";
36630
37136
  custom: "custom";
36631
37137
  editor: "editor";
36632
37138
  viewer: "viewer";
@@ -36636,7 +37142,7 @@ declare const EVENT_TYPE_INFO: {
36636
37142
  example: NoInfer<{
36637
37143
  memberUserId: string;
36638
37144
  memberName?: string | null | undefined;
36639
- role: "admin" | "custom" | "editor" | "viewer";
37145
+ role: "admin" | "configurator" | "custom" | "editor" | "viewer";
36640
37146
  }>;
36641
37147
  factInfo: {
36642
37148
  label: string;
@@ -36664,6 +37170,7 @@ declare const EVENT_TYPE_INFO: {
36664
37170
  memberName: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
36665
37171
  role: zod.ZodEnum<{
36666
37172
  admin: "admin";
37173
+ configurator: "configurator";
36667
37174
  custom: "custom";
36668
37175
  editor: "editor";
36669
37176
  viewer: "viewer";
@@ -36690,6 +37197,7 @@ declare const EVENT_TYPE_INFO: {
36690
37197
  memberName: EventFieldDefinition<zod.ZodOptional<zod.ZodNullable<zod.ZodString>>>;
36691
37198
  role: EventFieldDefinition<zod.ZodEnum<{
36692
37199
  admin: "admin";
37200
+ configurator: "configurator";
36693
37201
  custom: "custom";
36694
37202
  editor: "editor";
36695
37203
  viewer: "viewer";
@@ -36699,7 +37207,7 @@ declare const EVENT_TYPE_INFO: {
36699
37207
  example: NoInfer<{
36700
37208
  memberUserId: string;
36701
37209
  memberName?: string | null | undefined;
36702
- role: "admin" | "custom" | "editor" | "viewer";
37210
+ role: "admin" | "configurator" | "custom" | "editor" | "viewer";
36703
37211
  }>;
36704
37212
  factInfo: {
36705
37213
  label: string;
@@ -36727,6 +37235,7 @@ declare const EVENT_TYPE_INFO: {
36727
37235
  memberName: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
36728
37236
  role: zod.ZodEnum<{
36729
37237
  admin: "admin";
37238
+ configurator: "configurator";
36730
37239
  custom: "custom";
36731
37240
  editor: "editor";
36732
37241
  viewer: "viewer";
@@ -36753,12 +37262,14 @@ declare const EVENT_TYPE_INFO: {
36753
37262
  memberName: EventFieldDefinition<zod.ZodOptional<zod.ZodNullable<zod.ZodString>>>;
36754
37263
  previousRole: EventFieldDefinition<zod.ZodEnum<{
36755
37264
  admin: "admin";
37265
+ configurator: "configurator";
36756
37266
  custom: "custom";
36757
37267
  editor: "editor";
36758
37268
  viewer: "viewer";
36759
37269
  }>>;
36760
37270
  role: EventFieldDefinition<zod.ZodEnum<{
36761
37271
  admin: "admin";
37272
+ configurator: "configurator";
36762
37273
  custom: "custom";
36763
37274
  editor: "editor";
36764
37275
  viewer: "viewer";
@@ -36768,8 +37279,8 @@ declare const EVENT_TYPE_INFO: {
36768
37279
  example: NoInfer<{
36769
37280
  memberUserId: string;
36770
37281
  memberName?: string | null | undefined;
36771
- previousRole: "admin" | "custom" | "editor" | "viewer";
36772
- role: "admin" | "custom" | "editor" | "viewer";
37282
+ previousRole: "admin" | "configurator" | "custom" | "editor" | "viewer";
37283
+ role: "admin" | "configurator" | "custom" | "editor" | "viewer";
36773
37284
  }>;
36774
37285
  factInfo: {
36775
37286
  label: string;
@@ -36797,12 +37308,14 @@ declare const EVENT_TYPE_INFO: {
36797
37308
  memberName: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
36798
37309
  previousRole: zod.ZodEnum<{
36799
37310
  admin: "admin";
37311
+ configurator: "configurator";
36800
37312
  custom: "custom";
36801
37313
  editor: "editor";
36802
37314
  viewer: "viewer";
36803
37315
  }>;
36804
37316
  role: zod.ZodEnum<{
36805
37317
  admin: "admin";
37318
+ configurator: "configurator";
36806
37319
  custom: "custom";
36807
37320
  editor: "editor";
36808
37321
  viewer: "viewer";
@@ -36828,6 +37341,7 @@ declare const EVENT_TYPE_INFO: {
36828
37341
  inviteeEmail: EventFieldDefinition<zod.ZodString>;
36829
37342
  role: EventFieldDefinition<zod.ZodEnum<{
36830
37343
  admin: "admin";
37344
+ configurator: "configurator";
36831
37345
  custom: "custom";
36832
37346
  editor: "editor";
36833
37347
  viewer: "viewer";
@@ -36836,7 +37350,7 @@ declare const EVENT_TYPE_INFO: {
36836
37350
  /** Example data, used for synthetic test sends (`createSampleEvent`). */
36837
37351
  example: NoInfer<{
36838
37352
  inviteeEmail: string;
36839
- role: "admin" | "custom" | "editor" | "viewer";
37353
+ role: "admin" | "configurator" | "custom" | "editor" | "viewer";
36840
37354
  }>;
36841
37355
  factInfo: {
36842
37356
  label: string;
@@ -36863,6 +37377,7 @@ declare const EVENT_TYPE_INFO: {
36863
37377
  inviteeEmail: zod.ZodString;
36864
37378
  role: zod.ZodEnum<{
36865
37379
  admin: "admin";
37380
+ configurator: "configurator";
36866
37381
  custom: "custom";
36867
37382
  editor: "editor";
36868
37383
  viewer: "viewer";
@@ -36960,6 +37475,7 @@ declare const EVENT_TYPE_INFO: {
36960
37475
  keyName: EventFieldDefinition<zod.ZodOptional<zod.ZodNullable<zod.ZodString>>>;
36961
37476
  role: EventFieldDefinition<zod.ZodEnum<{
36962
37477
  admin: "admin";
37478
+ configurator: "configurator";
36963
37479
  custom: "custom";
36964
37480
  editor: "editor";
36965
37481
  viewer: "viewer";
@@ -36970,7 +37486,7 @@ declare const EVENT_TYPE_INFO: {
36970
37486
  example: NoInfer<{
36971
37487
  keyId: string;
36972
37488
  keyName?: string | null | undefined;
36973
- role: "admin" | "custom" | "editor" | "viewer";
37489
+ role: "admin" | "configurator" | "custom" | "editor" | "viewer";
36974
37490
  createdByName?: string | null | undefined;
36975
37491
  }>;
36976
37492
  factInfo: {
@@ -36999,6 +37515,7 @@ declare const EVENT_TYPE_INFO: {
36999
37515
  keyName: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
37000
37516
  role: zod.ZodEnum<{
37001
37517
  admin: "admin";
37518
+ configurator: "configurator";
37002
37519
  custom: "custom";
37003
37520
  editor: "editor";
37004
37521
  viewer: "viewer";
@@ -41665,6 +42182,16 @@ declare const POST_HASH_LIST_ENTRY_BODY_SCHEMA: zod.ZodObject<{
41665
42182
  label: zod.ZodOptional<zod.ZodNullable<zod.ZodPipe<zod.ZodString, zod.ZodTransform<string, string>>>>;
41666
42183
  }, zod.core.$strip>;
41667
42184
  type PostHashListEntryBody = zod.infer<typeof POST_HASH_LIST_ENTRY_BODY_SCHEMA>;
42185
+ declare const GET_UPLOAD_PRESETS_QUERY_SCHEMA: zod.ZodObject<{
42186
+ cursor: zod.ZodOptional<zod.ZodString>;
42187
+ pageSize: zod.ZodOptional<zod.ZodNumber>;
42188
+ sort: zod.ZodOptional<zod.ZodPipe<zod.ZodString, zod.ZodTransform<{
42189
+ field: string;
42190
+ direction: "asc" | "desc";
42191
+ }[], string>>>;
42192
+ }, zod.core.$strict>;
42193
+ type GetUploadPresetsQuery = zod.input<typeof GET_UPLOAD_PRESETS_QUERY_SCHEMA>;
42194
+ type GetUploadPresetsResponse = CursorPage<zod.infer<typeof PUBLIC_UPLOAD_PRESET_SCHEMA>>;
41668
42195
  /**
41669
42196
  * Where the asset is in the pipeline: `queued` while it waits for its content (a multipart upload
41670
42197
  * still receiving parts) or its turn, `processing`, then `completed` or `failed`. The asset is
@@ -42171,6 +42698,35 @@ type ResetPolicyOptions = ResetPolicyBody & PolicyIdOptions;
42171
42698
  type UpgradePolicyOptions = UpgradePolicyBody & PolicyIdOptions;
42172
42699
  type SetPolicyAutomaticUpdatesOptions = PutPolicyAutomaticUpdatesBody & PolicyIdOptions;
42173
42700
  type AssignPolicyOptions = PutProjectPolicyBody;
42701
+ /** `uploadPresets.list` options: a page of the project's upload presets, oldest first unless `sort` says otherwise. */
42702
+ type ListUploadPresetsOptions = Partial<GetUploadPresetsQuery>;
42703
+ /** `uploadPresets.iterate` options. */
42704
+ type IterateUploadPresetsOptions = Omit<ListUploadPresetsOptions, "cursor">;
42705
+ type UploadPresetPage = GetUploadPresetsResponse;
42706
+ /**
42707
+ * One preset's whole definition, by `key`; fields left out take their defaults. Send the
42708
+ * `revision` you read (0 for a preset that must not exist yet) to refuse a change made since.
42709
+ */
42710
+ type UploadPresetDefinition = EnsureUploadPresetInput;
42711
+ interface EnsureUploadPresetsOptions {
42712
+ uploadPresets: UploadPresetDefinition[];
42713
+ }
42714
+ /** The stored presets, in the order they were sent. */
42715
+ interface EnsureUploadPresetsResponse {
42716
+ uploadPresets: UploadPreset[];
42717
+ }
42718
+ interface UploadPresetIdOptions {
42719
+ uploadPresetId: string;
42720
+ }
42721
+ /** Send the `revision` you read to refuse settings changed since. Settings left out return to their defaults. */
42722
+ type UpdateProjectSettingsOptions = PutProjectSettingsBody;
42723
+ /** Fields to create or replace by ID; other fields are kept. */
42724
+ type EnsureMetadataFieldsOptions = EnsureMetadataFieldsBody;
42725
+ interface DeleteMetadataFieldOptions {
42726
+ fieldId: string;
42727
+ /** The `revision` you read; fields changed since are refused. */
42728
+ revision?: number;
42729
+ }
42174
42730
  interface MoveAssetOptions {
42175
42731
  assetId: string;
42176
42732
  folderId: string | null;
@@ -42233,7 +42789,10 @@ interface SubmitAssetCommonOptions extends IdempotencyOptions {
42233
42789
  externalId?: string;
42234
42790
  externalUrl?: string;
42235
42791
  folderId?: string | null;
42236
- /** An upload preset whose folder, visibility, file types and size limit apply. */
42792
+ /**
42793
+ * An upload preset whose folder, visibility, file types, size limit, moderation policy and
42794
+ * processing options apply. `processingOptions`, when set, replace the preset's.
42795
+ */
42237
42796
  uploadPresetId?: string;
42238
42797
  isFinal?: never;
42239
42798
  }
@@ -42291,4 +42850,4 @@ type ListFoldersOptions = GetFoldersQuery;
42291
42850
  /** `folders.iterate` options. */
42292
42851
  type IterateFoldersOptions = Omit<ListFoldersOptions, "cursor">;
42293
42852
  type FolderPage = GetFoldersResponse;
42294
- export { HashListPage as $, WebhookHeadersInput as $t, CdnAssetReference as A, AssetHls as An, ResetPolicyOptions as At, CreateMultipartUploadPartOptions as B, ProcessingOptions as Bn, SubmitAssetOptions as Bt, AssetVisibility as C, Policy as Cn, MoveFolderOptions as Ct, CalmLensAppClientOptions as D, AssetSearchQuery as Dn, PolicyPage as Dt, BatchAssetsResponse as E, AssetSearchMatchField as En, PolicyIdOptions as Et, ClassifyTextOptions as F, AssetSafetyHold as Fn, SignAssetUrlOptions as Ft, EnsureLensesOptions as G, UpdatePolicyOptions as Gt, DecideAssetOptions as H, UpdateFolderOptions as Ht, ConnectionOptions as I, AssetSafetyHoldReason as In, SignUploadTokenOptions as It, FolderPage as J, UploadPresetSubmitAssetOptions as Jt, ExplainAssetOptions as K, UpgradePolicyOptions as Kt, CreateFolderOptions as L, ExtractedText as Ln, SignedAssetUrl as Lt, CdnResource as M, AssetPreview as Mn, RetryAssetOptions as Mt, CdnServeOptions as N, AssetRendered as Nn, SearchAssetsOptions as Nt, CalmLensServerClientOptions as O, AssetBinaryPayloadInput as On, RemoveAssetContentOptions as Ot, CdnTransform as P, AssetRenderedKind as Pn, SetPolicyAutomaticUpdatesOptions as Pt, HashListIdOptions as Q, WaitForAssetDecisionOptions as Qt, CreateHashListOptions as R, FileMetadata as Rn, SignedUploadToken as Rt, AssetUploadStatus as S, ProcessingFeatures as Sn, MoveAssetOptions as St, BatchAssetsOptions as T, LensType as Tn, MultipartUploadPartOptions as Tt, DeleteAssetOptions as U, UpdateHashListOptions as Ut, CreatePolicyOptions as V, UpdateAssetOptions as Vt, EnsureLensOptions as W, UpdateLensOptions as Wt, HashListEntryIdOptions as X, VerifyWebhookSignatureOptions as Xt, GetAssetInfoOptions as Y, UploadedAsset as Yt, HashListEntryPage as Z, ViewerClaims as Zt, AssetSearchResponse as _, DetectedFace as _n, ListFoldersOptions as _t, AssetChildrenPage as a, EventAsset as an, IterateFoldersOptions as at, AssetType as b, ProcessingFeatureResults as bn, ListLensesOptions as bt, AssetClassificationStatus as c, EventFact as cn, IterateLensesOptions as ct, AssetContentRemovalReason as d, EventSeverity as dn, LensIdOptions as dt, WebhookPayloadInput as en, IdempotencyOptions as et, AssetContentStatus as f, EventType as fn, LensPage as ft, AssetPage as g, BoundingBox as gn, ListEventsOptions as gt, AssetModerationStatus as h, AgeRange as hn, ListAssetsOptions as ht, AssetChecksums as i, Actor as in, IterateAssetsOptions as it, CdnAssetUrlOptions as j, AssetHlsRendition as jn, RetrieveAssetOptions as jt, CdnAssetLocation as k, AssetInfo as kn, RequestOptions as kt, AssetContent as l, EventFactValues as ln, IteratePoliciesOptions as lt, AssetModerationDecision as m, Folder as mn, ListAssetTimelineOptions as mt, Asset as n, AssetTimelineSegment as nn, IterateAssetChildrenOptions as nt, AssetClassification as o, TypedEvent as on, IterateHashListEntriesOptions as ot, AssetModeration as p, PermissionGrant as pn, ListAssetChildrenOptions as pt, FolderIdOptions as q, UploadAssetPartOptions as qt, AssetAvailability as r, GetEventsResponse as rn, IterateAssetTimelineOptions as rt, AssetClassificationFailureReason as s, EventCategory as sn, IterateHashListsOptions as st, AddHashListEntryOptions as t, AssetBatchOperation as tn, ImageTransformOptions as tt, AssetContentOptions as u, EventFacts as un, Lens as ut, AssetSearchResult as v, DetectedPerson as vn, ListHashListEntriesOptions as vt, AssignPolicyOptions as w, CursorPage as wn, MultipartUploadOptions as wt, AssetUpload as x, ProcessingFeatureStage as xn, ListPoliciesOptions as xt, AssetTimelinePage as y, ProcessingFeatureId as yn, ListHashListsOptions as yt, CreateLensOptions as z, MetadataItem as zn, StreamingFeatureOptions as zt };
42853
+ export { GetAssetInfoOptions as $, FileMetadata as $n, UpgradePolicyOptions as $t, CdnAssetReference as A, BoundingBox as An, MultipartUploadOptions as At, CreateMultipartUploadPartOptions as B, AssetSearchMatchField as Bn, SetPolicyAutomaticUpdatesOptions as Bt, AssetVisibility as C, PermissionGrant as Cn, ListHashListEntriesOptions as Ct, CalmLensAppClientOptions as D, PublicProjectSettings as Dn, ListUploadPresetsOptions as Dt, BatchAssetsResponse as E, ProjectSettingsResource as En, ListPoliciesOptions as Et, ClassifyTextOptions as F, ProcessingFeatureStage as Fn, RequestOptions as Ft, EnsureLensOptions as G, AssetHlsRendition as Gn, StreamingFeatureOptions as Gt, DecideAssetOptions as H, AssetBinaryPayloadInput as Hn, SignUploadTokenOptions as Ht, ConnectionOptions as I, ProcessingFeatures as In, ResetPolicyOptions as It, EnsureUploadPresetsOptions as J, AssetRendered as Jn, UpdateFolderOptions as Jt, EnsureLensesOptions as K, AssetHlsStatus as Kn, SubmitAssetOptions as Kt, CreateFolderOptions as L, Policy as Ln, RetrieveAssetOptions as Lt, CdnResource as M, DetectedPerson as Mn, PolicyIdOptions as Mt, CdnServeOptions as N, ProcessingFeatureId as Nn, PolicyPage as Nt, CalmLensServerClientOptions as O, UploadPreset as On, MoveAssetOptions as Ot, CdnTransform as P, ProcessingFeatureResults as Pn, RemoveAssetContentOptions as Pt, FolderPage as Q, ExtractedText as Qn, UpdateProjectSettingsOptions as Qt, CreateHashListOptions as R, CursorPage as Rn, RetryAssetOptions as Rt, AssetUploadStatus as S, EventType as Sn, ListFoldersOptions as St, BatchAssetsOptions as T, MetadataFieldsResource as Tn, ListLensesOptions as Tt, DeleteAssetOptions as U, AssetInfo as Un, SignedAssetUrl as Ut, CreatePolicyOptions as V, AssetSearchQuery as Vn, SignAssetUrlOptions as Vt, DeleteMetadataFieldOptions as W, AssetHls as Wn, SignedUploadToken as Wt, ExplainAssetOptions as X, AssetSafetyHold as Xn, UpdateLensOptions as Xt, EnsureUploadPresetsResponse as Y, AssetRenderedKind as Yn, UpdateHashListOptions as Yt, FolderIdOptions as Z, AssetSafetyHoldReason as Zn, UpdatePolicyOptions as Zt, AssetSearchResponse as _, EventCategory as _n, LensPage as _t, AssetChildrenPage as a, UploadedAsset as an, ImageTransformOptions as at, AssetType as b, EventFacts as bn, ListAssetsOptions as bt, AssetClassificationStatus as c, WaitForAssetDecisionOptions as cn, IterateAssetsOptions as ct, AssetContentRemovalReason as d, AssetBatchOperation as dn, IterateHashListsOptions as dt, UploadAssetPartOptions as en, MetadataItem as er, HashListEntryIdOptions as et, AssetContentStatus as f, AssetTimelineSegment as fn, IterateLensesOptions as ft, AssetPage as g, TypedEvent as gn, LensIdOptions as gt, AssetModerationStatus as h, EventAsset as hn, Lens as ht, AssetChecksums as i, UploadPresetSubmitAssetOptions as in, IdempotencyOptions as it, CdnAssetUrlOptions as j, DetectedFace as jn, MultipartUploadPartOptions as jt, CdnAssetLocation as k, AgeRange as kn, MoveFolderOptions as kt, AssetContent as l, WebhookHeadersInput as ln, IterateFoldersOptions as lt, AssetModerationDecision as m, Actor as mn, IterateUploadPresetsOptions as mt, Asset as n, UploadPresetIdOptions as nn, HashListIdOptions as nt, AssetClassification as o, VerifyWebhookSignatureOptions as on, IterateAssetChildrenOptions as ot, AssetModeration as p, GetEventsResponse as pn, IteratePoliciesOptions as pt, EnsureMetadataFieldsOptions as q, AssetPreview as qn, UpdateAssetOptions as qt, AssetAvailability as r, UploadPresetPage as rn, HashListPage as rt, AssetClassificationFailureReason as s, ViewerClaims as sn, IterateAssetTimelineOptions as st, AddHashListEntryOptions as t, UploadPresetDefinition as tn, ProcessingOptions as tr, HashListEntryPage as tt, AssetContentOptions as u, WebhookPayloadInput as un, IterateHashListEntriesOptions as ut, AssetSearchResult as v, EventFact as vn, ListAssetChildrenOptions as vt, AssignPolicyOptions as w, Folder as wn, ListHashListsOptions as wt, AssetUpload as x, EventSeverity as xn, ListEventsOptions as xt, AssetTimelinePage as y, EventFactValues as yn, ListAssetTimelineOptions as yt, CreateLensOptions as z, LensType as zn, SearchAssetsOptions as zt };