calmlens 0.25.0 → 0.27.1

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 (95) hide show
  1. package/README.md +15 -15
  2. package/bin/calmlens.js +2383 -677
  3. package/cjs/{BrowserUpload-AO2-2U5Z.js → BrowserUpload-CTqIjCV5.js} +1 -1
  4. package/{esm/BrowserUpload-D2lemMIU.d.ts → cjs/BrowserUpload-D4sEmd0X.d.ts} +2 -2
  5. package/{esm/CalmLensAppClient-Dt0t9Bk6.d.ts → cjs/CalmLensAppClient-CCeFnKX8.d.ts} +5 -11
  6. package/cjs/{CalmLensAppClient-nv6qwja0.js → CalmLensAppClient-CZm-9g22.js} +23 -16
  7. package/cjs/{CalmLensOptionKeys-BvCac9NO.js → CalmLensOptionKeys-C1w3SqmL.js} +165 -95
  8. package/cjs/CalmLensServerClient-B7PfocET.d.ts +346 -0
  9. package/cjs/{CalmLensServerClient-B60kCBCR.js → CalmLensServerClient-ucq3ITjd.js} +281 -315
  10. package/cjs/{CalmLensTypes-BhR7LFDu.d.ts → CalmLensTypes-HUERg5hI.d.ts} +142 -155
  11. package/cjs/{Classification-CxRedzgH-C9qlYW_J.d.ts → Classification-CMM2tZpJ-IdIh63n0.d.ts} +6 -7
  12. package/cjs/{Core-Cw4IxFUq.js → Core-D-1KCqT7.js} +39 -16
  13. package/cjs/{Core-DSMxC2GL.d.ts → Core-DXAs8mcx.d.ts} +10 -3
  14. package/{esm/ModerationContextLimits-Bqr0duav.js → cjs/ModerationContextLimits-BcYKgU2X.js} +859 -44
  15. package/cjs/ReactUpload-BTciTpwB.d.ts +27 -0
  16. package/cjs/{ReactUpload--oDFltw2.js → ReactUpload-BymgWiC8.js} +38 -2
  17. package/cjs/{TestTriggers-CiFcTHX3-BmfH4J3f.js → TestTriggers-Cvi7e2KA-DcT1pc_W.js} +91 -22
  18. package/{esm/TestTriggers-BJ4B-MXR-D1tGifPU.d.ts → cjs/TestTriggers-Dnukm-jm-DoEB7jJc.d.ts} +1 -1
  19. package/cjs/{UploadController-ObdgTaBl.js → UploadController-C8GPbDKI.js} +16 -3
  20. package/{esm/WebhookPayload-DLGGOGW6.d.ts → cjs/WebhookPayload-mUmOFH55.d.ts} +152 -9
  21. package/cjs/app.d.ts +6 -6
  22. package/cjs/app.js +20 -2
  23. package/cjs/elements.d.ts +5 -5
  24. package/cjs/elements.js +105 -68
  25. package/cjs/{index-AAWuerkU.d.ts → index-Ck7x1YjM.d.ts} +3 -3
  26. package/cjs/index.d.ts +5 -5
  27. package/cjs/index.js +19 -1
  28. package/cjs/react-native.d.ts +3 -3
  29. package/cjs/react-native.js +7 -5
  30. package/cjs/react.d.ts +5 -4
  31. package/cjs/react.js +11 -15
  32. package/cjs/server.d.ts +6 -6
  33. package/cjs/server.js +20 -2
  34. package/cjs/test-inputs.d.ts +1 -1
  35. package/cjs/test-inputs.js +13 -13
  36. package/cjs/testing.d.ts +18 -21
  37. package/cjs/testing.js +99 -147
  38. package/cjs/{ui-CcuGKTcL.d.ts → ui-BfJNO3c6.d.ts} +2 -2
  39. package/cjs/{ui-CA16jyfZ.js → ui-CW8BqtZk.js} +7 -5
  40. package/cjs/ui.d.ts +3 -3
  41. package/cjs/ui.js +4 -3
  42. package/cjs/vue.d.ts +15 -8
  43. package/cjs/vue.js +30 -17
  44. package/esm/{BrowserUpload-Co4T6uGk.js → BrowserUpload-C01iLeOs.js} +1 -1
  45. package/{cjs/BrowserUpload-D2lemMIU.d.ts → esm/BrowserUpload-D4sEmd0X.d.ts} +2 -2
  46. package/{cjs/CalmLensAppClient-Dt0t9Bk6.d.ts → esm/CalmLensAppClient-CCeFnKX8.d.ts} +5 -11
  47. package/esm/{CalmLensAppClient-BRzy4dwn.js → CalmLensAppClient-CgDogQQC.js} +23 -16
  48. package/esm/{CalmLensOptionKeys-bE3rb5PN.js → CalmLensOptionKeys-CEwNbpEz.js} +160 -96
  49. package/esm/CalmLensServerClient-B7PfocET.d.ts +346 -0
  50. package/esm/{CalmLensServerClient-_PRi90wI.js → CalmLensServerClient-TT6zrAG5.js} +281 -315
  51. package/esm/{CalmLensTypes-BhR7LFDu.d.ts → CalmLensTypes-HUERg5hI.d.ts} +142 -155
  52. package/esm/{Classification-CxRedzgH-C9qlYW_J.d.ts → Classification-CMM2tZpJ-IdIh63n0.d.ts} +6 -7
  53. package/esm/{Core-CtbYmeXG.js → Core-CP6NaqJz.js} +39 -16
  54. package/esm/{Core-DSMxC2GL.d.ts → Core-DXAs8mcx.d.ts} +10 -3
  55. package/{cjs/ModerationContextLimits-Cn9RvnZH.js → esm/ModerationContextLimits-BmV8QD32.js} +476 -301
  56. package/esm/{ReactUpload-B5itHBSF.js → ReactUpload-B72Oq3qE.js} +34 -4
  57. package/esm/ReactUpload-BTciTpwB.d.ts +27 -0
  58. package/esm/{TestTriggers-CiFcTHX3-BK2-sgOC.js → TestTriggers-Cvi7e2KA-BA83CRJb.js} +87 -23
  59. package/{cjs/TestTriggers-BJ4B-MXR-D1tGifPU.d.ts → esm/TestTriggers-Dnukm-jm-DoEB7jJc.d.ts} +1 -1
  60. package/esm/{UploadController-C7fL3Iz9.js → UploadController-Q7xTqh5w.js} +11 -4
  61. package/{cjs/WebhookPayload-DLGGOGW6.d.ts → esm/WebhookPayload-mUmOFH55.d.ts} +152 -9
  62. package/esm/app.d.ts +6 -6
  63. package/esm/app.js +3 -3
  64. package/esm/elements.d.ts +5 -5
  65. package/esm/elements.js +105 -69
  66. package/esm/{index-AAWuerkU.d.ts → index-Ck7x1YjM.d.ts} +3 -3
  67. package/esm/index.d.ts +5 -5
  68. package/esm/index.js +1 -1
  69. package/esm/react-native.d.ts +3 -3
  70. package/esm/react-native.js +6 -6
  71. package/esm/react.d.ts +5 -4
  72. package/esm/react.js +10 -16
  73. package/esm/server.d.ts +6 -6
  74. package/esm/server.js +3 -3
  75. package/esm/styles.css +37 -14
  76. package/esm/svelte/CalmLensAsset.svelte +1 -1
  77. package/esm/svelte/CalmLensUploader.svelte +17 -17
  78. package/esm/svelte/context.js +21 -0
  79. package/esm/svelte/index.d.ts +12 -0
  80. package/esm/svelte/index.js +1 -0
  81. package/esm/test-inputs.d.ts +1 -1
  82. package/esm/test-inputs.js +1 -1
  83. package/esm/testing.d.ts +18 -21
  84. package/esm/testing.js +93 -141
  85. package/esm/{ui-B98AucZA.js → ui-BBDJJkFL.js} +7 -5
  86. package/esm/{ui-CcuGKTcL.d.ts → ui-BfJNO3c6.d.ts} +2 -2
  87. package/esm/ui.d.ts +3 -3
  88. package/esm/ui.js +4 -4
  89. package/esm/vue.d.ts +15 -8
  90. package/esm/vue.js +30 -19
  91. package/package.json +16 -6
  92. package/cjs/CalmLensServerClient-7XjQaeKu.d.ts +0 -353
  93. package/cjs/ReactUpload-CW4NzAsh.d.ts +0 -17
  94. package/esm/CalmLensServerClient-7XjQaeKu.d.ts +0 -353
  95. package/esm/ReactUpload-CW4NzAsh.d.ts +0 -17
@@ -1,4 +1,4 @@
1
- import { d as HashListEntry, f as ModerationContext, t as AssetModerationDecision$1, u as HashList } from "./Classification-CxRedzgH-C9qlYW_J.js";
1
+ import { d as HashListEntry, f as ModerationContext, t as AssetModerationDecision$1, u as HashList } from "./Classification-CMM2tZpJ-IdIh63n0.js";
2
2
  import * as zod from "zod";
3
3
  /**
4
4
  * Where the asset is in the pipeline: waiting for its content or its turn (`queued`), being
@@ -206,14 +206,13 @@ declare const ASSET_UPLOAD_SCHEMA: zod.ZodObject<{
206
206
  type AssetUpload$1 = zod.infer<typeof ASSET_UPLOAD_SCHEMA>;
207
207
  /** Findings and the policy/reviewer decision for the moderation capability. */
208
208
  declare const ASSET_MODERATION_SCHEMA: zod.ZodObject<{
209
- status: zod.ZodEnum<{
209
+ decision: zod.ZodNullable<zod.ZodEnum<{
210
210
  "age-restricted": "age-restricted";
211
211
  allowed: "allowed";
212
212
  blocked: "blocked";
213
213
  limited: "limited";
214
- pending: "pending";
215
214
  purged: "purged";
216
- }>;
215
+ }>>;
217
216
  manualReviews: zod.ZodArray<zod.ZodObject<{
218
217
  id: zod.ZodString;
219
218
  decision: zod.ZodEnum<{
@@ -5031,14 +5030,13 @@ declare const ASSET_CLASSIFICATION_SCHEMA: zod.ZodObject<{
5031
5030
  }, zod.core.$strip>>;
5032
5031
  testInput: zod.ZodBoolean;
5033
5032
  moderation: zod.ZodObject<{
5034
- status: zod.ZodEnum<{
5033
+ decision: zod.ZodNullable<zod.ZodEnum<{
5035
5034
  "age-restricted": "age-restricted";
5036
5035
  allowed: "allowed";
5037
5036
  blocked: "blocked";
5038
5037
  limited: "limited";
5039
- pending: "pending";
5040
5038
  purged: "purged";
5041
- }>;
5039
+ }>>;
5042
5040
  manualReviews: zod.ZodArray<zod.ZodObject<{
5043
5041
  id: zod.ZodString;
5044
5042
  decision: zod.ZodEnum<{
@@ -10154,14 +10152,13 @@ declare const ASSET_SCHEMA: zod.ZodObject<{
10154
10152
  }, zod.core.$strip>>;
10155
10153
  testInput: zod.ZodBoolean;
10156
10154
  moderation: zod.ZodObject<{
10157
- status: zod.ZodEnum<{
10155
+ decision: zod.ZodNullable<zod.ZodEnum<{
10158
10156
  "age-restricted": "age-restricted";
10159
10157
  allowed: "allowed";
10160
10158
  blocked: "blocked";
10161
10159
  limited: "limited";
10162
- pending: "pending";
10163
10160
  purged: "purged";
10164
- }>;
10161
+ }>>;
10165
10162
  manualReviews: zod.ZodArray<zod.ZodObject<{
10166
10163
  id: zod.ZodString;
10167
10164
  decision: zod.ZodEnum<{
@@ -15313,7 +15310,7 @@ type AssetBinaryPayloadInput = {
15313
15310
  buffer?: never;
15314
15311
  };
15315
15312
  declare const ASSET_SEARCH_MATCH_FIELD_SCHEMA: zod.ZodEnum<{
15316
- "classification.moderation.status": "classification.moderation.status";
15313
+ "classification.moderation.decision": "classification.moderation.decision";
15317
15314
  "content.extension": "content.extension";
15318
15315
  "content.format": "content.format";
15319
15316
  description: "description";
@@ -15410,14 +15407,13 @@ declare const ASSET_SEARCH_RESULT_SCHEMA: zod.ZodObject<{
15410
15407
  }, zod.core.$strip>>;
15411
15408
  testInput: zod.ZodBoolean;
15412
15409
  moderation: zod.ZodObject<{
15413
- status: zod.ZodEnum<{
15410
+ decision: zod.ZodNullable<zod.ZodEnum<{
15414
15411
  "age-restricted": "age-restricted";
15415
15412
  allowed: "allowed";
15416
15413
  blocked: "blocked";
15417
15414
  limited: "limited";
15418
- pending: "pending";
15419
15415
  purged: "purged";
15420
- }>;
15416
+ }>>;
15421
15417
  manualReviews: zod.ZodArray<zod.ZodObject<{
15422
15418
  id: zod.ZodString;
15423
15419
  decision: zod.ZodEnum<{
@@ -20459,7 +20455,7 @@ declare const ASSET_SEARCH_RESULT_SCHEMA: zod.ZodObject<{
20459
20455
  }, zod.core.$strip>;
20460
20456
  score: zod.ZodNumber;
20461
20457
  matchedFields: zod.ZodArray<zod.ZodEnum<{
20462
- "classification.moderation.status": "classification.moderation.status";
20458
+ "classification.moderation.decision": "classification.moderation.decision";
20463
20459
  "content.extension": "content.extension";
20464
20460
  "content.format": "content.format";
20465
20461
  description: "description";
@@ -36717,87 +36713,6 @@ declare const EVENT_TYPE_INFO: {
36717
36713
  }>>>;
36718
36714
  }, zod.core.$strip>;
36719
36715
  };
36720
- readonly "asset.rerun-requested": {
36721
- id: "asset.rerun-requested";
36722
- name: string;
36723
- description: string;
36724
- category: EventCategory;
36725
- severity: EventSeverity;
36726
- /** Whether the in-app connector (notification bell) subscribes to the type by default. */
36727
- notify: boolean;
36728
- /**
36729
- * The project-wide permission needed to see events of this type (portal feed, public events
36730
- * feed) and to subscribe a connector to it.
36731
- */
36732
- permission: PermissionAction;
36733
- /** Types of unreleased features are left out of the published contract until enabled. */
36734
- enabled?: boolean;
36735
- fields: {
36736
- assetName: EventFieldDefinition<zod.ZodOptional<zod.ZodNullable<zod.ZodString>>>;
36737
- assetType: EventFieldDefinition<zod.ZodOptional<zod.ZodNullable<zod.ZodEnum<{
36738
- audio: "audio";
36739
- file: "file";
36740
- image: "image";
36741
- "multimedia-document": "multimedia-document";
36742
- "plaintext-document": "plaintext-document";
36743
- video: "video";
36744
- website: "website";
36745
- }>>>>;
36746
- moderationStatus: EventFieldDefinition<zod.ZodEnum<{
36747
- "age-restricted": "age-restricted";
36748
- allowed: "allowed";
36749
- blocked: "blocked";
36750
- limited: "limited";
36751
- purged: "purged";
36752
- }>>;
36753
- };
36754
- /** Example data, used for synthetic test sends (`createSampleEvent`). */
36755
- example: NoInfer<{
36756
- assetName?: string | null | undefined;
36757
- assetType?: "audio" | "file" | "image" | "multimedia-document" | "plaintext-document" | "video" | "website" | null | undefined;
36758
- moderationStatus: "age-restricted" | "allowed" | "blocked" | "limited" | "purged";
36759
- }>;
36760
- factInfo: {
36761
- label: string;
36762
- description: string;
36763
- display: EventFieldDisplay;
36764
- /** Kept in the data but left out of rendered messages (usually an ID shown by another field). */
36765
- hidden?: boolean;
36766
- /**
36767
- * Personal or account-level data that stays in the portal. Webhook, Slack and email deliveries,
36768
- * and the public events feed, leave the fact out and word the title and description without it.
36769
- */
36770
- inAppOnly?: boolean;
36771
- /**
36772
- * A person's name: `actor` names the event's `actor`, `member` the member in the `member-user-id`
36773
- * fact. Deleting their account removes it from the events that name them.
36774
- */
36775
- names?: "actor" | "member";
36776
- /** Display names for `enum` and `list` values that don't read well humanized. */
36777
- valueLabels?: Readonly<Record<string, string>>;
36778
- schema: zod.ZodType<unknown, unknown, zod.core.$ZodTypeInternals<unknown, unknown>>;
36779
- key: string;
36780
- }[];
36781
- values: zod.ZodObject<{
36782
- assetName: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
36783
- assetType: zod.ZodOptional<zod.ZodNullable<zod.ZodEnum<{
36784
- audio: "audio";
36785
- file: "file";
36786
- image: "image";
36787
- "multimedia-document": "multimedia-document";
36788
- "plaintext-document": "plaintext-document";
36789
- video: "video";
36790
- website: "website";
36791
- }>>>;
36792
- moderationStatus: zod.ZodEnum<{
36793
- "age-restricted": "age-restricted";
36794
- allowed: "allowed";
36795
- blocked: "blocked";
36796
- limited: "limited";
36797
- purged: "purged";
36798
- }>;
36799
- }, zod.core.$strip>;
36800
- };
36801
36716
  readonly "asset.review-requested": {
36802
36717
  id: "asset.review-requested";
36803
36718
  name: string;
@@ -37385,6 +37300,7 @@ declare const EVENT_TYPE_INFO: {
37385
37300
  configurator: "configurator";
37386
37301
  custom: "custom";
37387
37302
  editor: "editor";
37303
+ reviewer: "reviewer";
37388
37304
  viewer: "viewer";
37389
37305
  }>>;
37390
37306
  };
@@ -37392,7 +37308,7 @@ declare const EVENT_TYPE_INFO: {
37392
37308
  example: NoInfer<{
37393
37309
  memberUserId: string;
37394
37310
  memberName?: string | null | undefined;
37395
- role: "admin" | "configurator" | "custom" | "editor" | "viewer";
37311
+ role: "admin" | "configurator" | "custom" | "editor" | "reviewer" | "viewer";
37396
37312
  }>;
37397
37313
  factInfo: {
37398
37314
  label: string;
@@ -37423,6 +37339,7 @@ declare const EVENT_TYPE_INFO: {
37423
37339
  configurator: "configurator";
37424
37340
  custom: "custom";
37425
37341
  editor: "editor";
37342
+ reviewer: "reviewer";
37426
37343
  viewer: "viewer";
37427
37344
  }>;
37428
37345
  }, zod.core.$strip>;
@@ -37450,6 +37367,7 @@ declare const EVENT_TYPE_INFO: {
37450
37367
  configurator: "configurator";
37451
37368
  custom: "custom";
37452
37369
  editor: "editor";
37370
+ reviewer: "reviewer";
37453
37371
  viewer: "viewer";
37454
37372
  }>>;
37455
37373
  };
@@ -37457,7 +37375,7 @@ declare const EVENT_TYPE_INFO: {
37457
37375
  example: NoInfer<{
37458
37376
  memberUserId: string;
37459
37377
  memberName?: string | null | undefined;
37460
- role: "admin" | "configurator" | "custom" | "editor" | "viewer";
37378
+ role: "admin" | "configurator" | "custom" | "editor" | "reviewer" | "viewer";
37461
37379
  }>;
37462
37380
  factInfo: {
37463
37381
  label: string;
@@ -37488,6 +37406,7 @@ declare const EVENT_TYPE_INFO: {
37488
37406
  configurator: "configurator";
37489
37407
  custom: "custom";
37490
37408
  editor: "editor";
37409
+ reviewer: "reviewer";
37491
37410
  viewer: "viewer";
37492
37411
  }>;
37493
37412
  }, zod.core.$strip>;
@@ -37515,6 +37434,7 @@ declare const EVENT_TYPE_INFO: {
37515
37434
  configurator: "configurator";
37516
37435
  custom: "custom";
37517
37436
  editor: "editor";
37437
+ reviewer: "reviewer";
37518
37438
  viewer: "viewer";
37519
37439
  }>>;
37520
37440
  };
@@ -37522,7 +37442,7 @@ declare const EVENT_TYPE_INFO: {
37522
37442
  example: NoInfer<{
37523
37443
  memberUserId: string;
37524
37444
  memberName?: string | null | undefined;
37525
- role: "admin" | "configurator" | "custom" | "editor" | "viewer";
37445
+ role: "admin" | "configurator" | "custom" | "editor" | "reviewer" | "viewer";
37526
37446
  }>;
37527
37447
  factInfo: {
37528
37448
  label: string;
@@ -37553,6 +37473,7 @@ declare const EVENT_TYPE_INFO: {
37553
37473
  configurator: "configurator";
37554
37474
  custom: "custom";
37555
37475
  editor: "editor";
37476
+ reviewer: "reviewer";
37556
37477
  viewer: "viewer";
37557
37478
  }>;
37558
37479
  }, zod.core.$strip>;
@@ -37580,6 +37501,7 @@ declare const EVENT_TYPE_INFO: {
37580
37501
  configurator: "configurator";
37581
37502
  custom: "custom";
37582
37503
  editor: "editor";
37504
+ reviewer: "reviewer";
37583
37505
  viewer: "viewer";
37584
37506
  }>>;
37585
37507
  role: EventFieldDefinition<zod.ZodEnum<{
@@ -37587,6 +37509,7 @@ declare const EVENT_TYPE_INFO: {
37587
37509
  configurator: "configurator";
37588
37510
  custom: "custom";
37589
37511
  editor: "editor";
37512
+ reviewer: "reviewer";
37590
37513
  viewer: "viewer";
37591
37514
  }>>;
37592
37515
  };
@@ -37594,8 +37517,8 @@ declare const EVENT_TYPE_INFO: {
37594
37517
  example: NoInfer<{
37595
37518
  memberUserId: string;
37596
37519
  memberName?: string | null | undefined;
37597
- previousRole: "admin" | "configurator" | "custom" | "editor" | "viewer";
37598
- role: "admin" | "configurator" | "custom" | "editor" | "viewer";
37520
+ previousRole: "admin" | "configurator" | "custom" | "editor" | "reviewer" | "viewer";
37521
+ role: "admin" | "configurator" | "custom" | "editor" | "reviewer" | "viewer";
37599
37522
  }>;
37600
37523
  factInfo: {
37601
37524
  label: string;
@@ -37626,6 +37549,7 @@ declare const EVENT_TYPE_INFO: {
37626
37549
  configurator: "configurator";
37627
37550
  custom: "custom";
37628
37551
  editor: "editor";
37552
+ reviewer: "reviewer";
37629
37553
  viewer: "viewer";
37630
37554
  }>;
37631
37555
  role: zod.ZodEnum<{
@@ -37633,6 +37557,7 @@ declare const EVENT_TYPE_INFO: {
37633
37557
  configurator: "configurator";
37634
37558
  custom: "custom";
37635
37559
  editor: "editor";
37560
+ reviewer: "reviewer";
37636
37561
  viewer: "viewer";
37637
37562
  }>;
37638
37563
  }, zod.core.$strip>;
@@ -37659,13 +37584,14 @@ declare const EVENT_TYPE_INFO: {
37659
37584
  configurator: "configurator";
37660
37585
  custom: "custom";
37661
37586
  editor: "editor";
37587
+ reviewer: "reviewer";
37662
37588
  viewer: "viewer";
37663
37589
  }>>;
37664
37590
  };
37665
37591
  /** Example data, used for synthetic test sends (`createSampleEvent`). */
37666
37592
  example: NoInfer<{
37667
37593
  inviteeEmail: string;
37668
- role: "admin" | "configurator" | "custom" | "editor" | "viewer";
37594
+ role: "admin" | "configurator" | "custom" | "editor" | "reviewer" | "viewer";
37669
37595
  }>;
37670
37596
  factInfo: {
37671
37597
  label: string;
@@ -37695,6 +37621,7 @@ declare const EVENT_TYPE_INFO: {
37695
37621
  configurator: "configurator";
37696
37622
  custom: "custom";
37697
37623
  editor: "editor";
37624
+ reviewer: "reviewer";
37698
37625
  viewer: "viewer";
37699
37626
  }>;
37700
37627
  }, zod.core.$strip>;
@@ -38200,14 +38127,13 @@ declare const EVENT_ASSET_SCHEMA: zod.ZodObject<{
38200
38127
  }>;
38201
38128
  testInput: zod.ZodBoolean;
38202
38129
  moderation: zod.ZodObject<{
38203
- status: zod.ZodEnum<{
38130
+ decision: zod.ZodNullable<zod.ZodEnum<{
38204
38131
  "age-restricted": "age-restricted";
38205
38132
  allowed: "allowed";
38206
38133
  blocked: "blocked";
38207
38134
  limited: "limited";
38208
- pending: "pending";
38209
38135
  purged: "purged";
38210
- }>;
38136
+ }>>;
38211
38137
  }, zod.core.$strip>;
38212
38138
  }, zod.core.$strip>;
38213
38139
  content: zod.ZodObject<{
@@ -38251,7 +38177,6 @@ declare const PUBLIC_EVENT_SCHEMA: zod.ZodObject<{
38251
38177
  "asset.progress-updated": "asset.progress-updated";
38252
38178
  "asset.purged": "asset.purged";
38253
38179
  "asset.region-restricted": "asset.region-restricted";
38254
- "asset.rerun-requested": "asset.rerun-requested";
38255
38180
  "asset.retried": "asset.retried";
38256
38181
  "asset.review-completed": "asset.review-completed";
38257
38182
  "asset.review-requested": "asset.review-requested";
@@ -38294,14 +38219,13 @@ declare const PUBLIC_EVENT_SCHEMA: zod.ZodObject<{
38294
38219
  }>;
38295
38220
  testInput: zod.ZodBoolean;
38296
38221
  moderation: zod.ZodObject<{
38297
- status: zod.ZodEnum<{
38222
+ decision: zod.ZodNullable<zod.ZodEnum<{
38298
38223
  "age-restricted": "age-restricted";
38299
38224
  allowed: "allowed";
38300
38225
  blocked: "blocked";
38301
38226
  limited: "limited";
38302
- pending: "pending";
38303
38227
  purged: "purged";
38304
- }>;
38228
+ }>>;
38305
38229
  }, zod.core.$strip>;
38306
38230
  }, zod.core.$strip>;
38307
38231
  content: zod.ZodObject<{
@@ -42453,7 +42377,6 @@ declare const GET_EVENTS_QUERY_SCHEMA: zod.ZodObject<{
42453
42377
  "asset.progress-updated": "asset.progress-updated";
42454
42378
  "asset.purged": "asset.purged";
42455
42379
  "asset.region-restricted": "asset.region-restricted";
42456
- "asset.rerun-requested": "asset.rerun-requested";
42457
42380
  "asset.retried": "asset.retried";
42458
42381
  "asset.review-completed": "asset.review-completed";
42459
42382
  "asset.review-requested": "asset.review-requested";
@@ -42570,8 +42493,8 @@ type AssetClassification = Omit<AssetClassification$1, "status" | "failureReason
42570
42493
  moderation: AssetModeration;
42571
42494
  };
42572
42495
  /** An asset's moderation state. */
42573
- type AssetModeration = Omit<AssetModeration$1, "status" | "manualReviews"> & {
42574
- status: AssetModerationStatus;
42496
+ type AssetModeration = Omit<AssetModeration$1, "decision" | "manualReviews"> & {
42497
+ decision: AssetModerationDecision | null;
42575
42498
  manualReviews: Array<Omit<AssetModeration$1["manualReviews"][number], "decision"> & {
42576
42499
  decision: AssetModerationDecision;
42577
42500
  }>;
@@ -42586,7 +42509,7 @@ type AssetUploadStatus = AssetUpload$1["status"];
42586
42509
  /** An asset as the API returns it. Fields the API adds later are present at runtime too. */
42587
42510
  type Asset = Omit<Asset$1, "type" | "visibility" | "upload" | "classification" | "content"> & {
42588
42511
  type: AssetType;
42589
- visibility?: AssetVisibility | null;
42512
+ visibility: AssetVisibility;
42590
42513
  upload: AssetUpload;
42591
42514
  classification: AssetClassification;
42592
42515
  content: AssetContent;
@@ -42708,8 +42631,9 @@ type CdnTransform = string | ImageTransformOptions;
42708
42631
  type Lens = Omit<zod.infer<typeof PUBLIC_LENS_SCHEMA>, "transform"> & {
42709
42632
  transform?: ImageTransformOptions | null;
42710
42633
  };
42711
- interface RequestOptions {
42712
- /** Cancels every request made with these options. */
42634
+ /** How a client's requests are sent: its defaults for every call. */
42635
+ interface ClientRequestDefaults {
42636
+ /** Cancels every request the client makes. */
42713
42637
  signal?: AbortSignal;
42714
42638
  /**
42715
42639
  * Deadline in milliseconds for each API request attempt, including reading the response
@@ -42730,9 +42654,70 @@ interface RequestOptions {
42730
42654
  */
42731
42655
  maxRetries?: number;
42732
42656
  }
42657
+ /**
42658
+ * Options for one call, the optional last argument of every method that sends a request. They
42659
+ * override the client's for that call only, and apply to every request it sends: each page a
42660
+ * list's iteration fetches, each check `waitForDecision` makes, each part of an upload.
42661
+ */
42662
+ interface RequestOptions {
42663
+ /** Cancels this call, as well as the client's `signal`. */
42664
+ signal?: AbortSignal;
42665
+ /** Deadline in milliseconds for each attempt of this call's requests. */
42666
+ timeoutMs?: number;
42667
+ /** How many times to retry this call's requests; 0 turns retries off. */
42668
+ maxRetries?: number;
42669
+ /**
42670
+ * Sent as `Idempotency-Key`, which also makes a create, upload or other POST safe to retry.
42671
+ * Uploads generate one when you pass none.
42672
+ */
42673
+ idempotencyKey?: string;
42674
+ /** Extra headers. The SDK's own (`X-Api-Key`, `User-Agent`, `Idempotency-Key`) win. */
42675
+ headers?: Record<string, string>;
42676
+ /**
42677
+ * Query parameters to add, sent as they are without the SDK's option check, for API fields
42678
+ * this SDK version doesn't know yet.
42679
+ */
42680
+ extraQuery?: Record<string, unknown>;
42681
+ /**
42682
+ * Fields to add to a JSON body (or an upload's options), sent without the SDK's option check,
42683
+ * for API fields this SDK version doesn't know yet.
42684
+ */
42685
+ extraBody?: Record<string, unknown>;
42686
+ }
42687
+ /** The app a client is part of, which the SDK appends to its user agent as `name/version (url)`. */
42688
+ interface AppInfo {
42689
+ name: string;
42690
+ version?: string;
42691
+ url?: string;
42692
+ }
42693
+ /**
42694
+ * One attempt of a request, as the `onAttempt` hook receives it. It never holds the API key, an
42695
+ * upload token, the query (which can hold viewer claims) or a body.
42696
+ */
42697
+ interface RequestAttempt {
42698
+ /** The client method that sent it, such as `assets.retrieve`; `null` for `client.request`. */
42699
+ operation: string | null;
42700
+ method: string;
42701
+ /** The URL path, without the query. */
42702
+ path: string;
42703
+ /** 1 for the first attempt, 2 for the first retry, and so on. */
42704
+ attempt: number;
42705
+ /** How long the client waits before retrying, or `null` when this attempt is the last. */
42706
+ delayMs: number | null;
42707
+ /** The HTTP status, or `null` when no response arrived. */
42708
+ status: number | null;
42709
+ /** The `X-Request-Id` header, or `null`. */
42710
+ requestId: string | null;
42711
+ durationMs: number;
42712
+ /** The error's code when the attempt failed, such as `sdk/timeout` or `asset/not-found`. */
42713
+ errorCode: string | null;
42714
+ }
42733
42715
  /** Where a client sends requests and how. */
42734
- interface ConnectionOptions extends RequestOptions {
42735
- /** Defaults to `https://api.calmlens.com/v1`. */
42716
+ interface ConnectionOptions extends ClientRequestDefaults {
42717
+ /**
42718
+ * Defaults to `https://api.calmlens.com/v1`. The server client reads `CALMLENS_BASE_URL` from
42719
+ * the environment when you leave it out.
42720
+ */
42736
42721
  baseUrl?: string;
42737
42722
  /** The `fetch` used for every request. Defaults to the global `fetch`. */
42738
42723
  fetch?: typeof fetch;
@@ -42747,12 +42732,30 @@ interface ConnectionOptions extends RequestOptions {
42747
42732
  * defaults to 8 MiB.
42748
42733
  */
42749
42734
  partSizeBytes?: number;
42735
+ /** Your app, appended to the user agent as `name/version (url)`. Server runtimes only. */
42736
+ appInfo?: AppInfo;
42737
+ /**
42738
+ * `info` logs retries and failed requests, `debug` every attempt. The server client reads
42739
+ * `CALMLENS_LOG` from the environment when you leave it out; otherwise it is `off`.
42740
+ */
42741
+ logLevel?: "off" | "info" | "debug";
42742
+ /** Where the client logs. Defaults to `console`. */
42743
+ logger?: {
42744
+ debug(message: string): void;
42745
+ info(message: string): void;
42746
+ };
42747
+ /**
42748
+ * Called after every request attempt, with its operation, path, status, request ID, duration
42749
+ * and the delay before a retry. Errors it throws are ignored.
42750
+ */
42751
+ onAttempt?: (attempt: RequestAttempt) => void;
42750
42752
  }
42751
42753
  /** Options for `CalmLensServerClient`, which runs on your server with a project API key. */
42752
42754
  interface CalmLensServerClientOptions extends ConnectionOptions {
42753
- /** A project API key. Keep it on your server. */
42754
- apiKey: string;
42755
- projectId: string;
42755
+ /** A project API key. Keep it on your server. Defaults to `CALMLENS_API_KEY`. */
42756
+ apiKey?: string;
42757
+ /** Defaults to `CALMLENS_PROJECT_ID`. */
42758
+ projectId?: string;
42756
42759
  /** Defaults to `https://cdn.calmlens.com/v1`. */
42757
42760
  cdnBaseUrl?: string;
42758
42761
  /** Overrides `fetch` for `cdn.serve`. */
@@ -42798,10 +42801,11 @@ interface SignedUploadToken {
42798
42801
  }
42799
42802
  /** What an upload through a preset can set: everything else comes from the preset or token. */
42800
42803
  type UploadPresetSubmitAssetOptions = IdempotencyOptions & {
42801
- name: string;
42804
+ /** Required, except with a `File`, whose name it defaults to. */
42805
+ name?: string;
42802
42806
  description?: string;
42803
42807
  } & ({
42804
- content: AssetContentOptions;
42808
+ content: AssetContentInput;
42805
42809
  } | {
42806
42810
  part: CreateMultipartUploadPartOptions;
42807
42811
  /** The size of the whole file, when known. */
@@ -42824,7 +42828,7 @@ interface UploadedAsset {
42824
42828
  failureReason: AssetClassificationFailureReason | null;
42825
42829
  /** The moderation decision, present only when the preset shows decisions to uploaders. */
42826
42830
  moderation?: {
42827
- status: AssetModerationStatus;
42831
+ decision: AssetModerationDecision | null;
42828
42832
  };
42829
42833
  };
42830
42834
  }
@@ -42922,8 +42926,6 @@ interface EnsureLensesOptions {
42922
42926
  }
42923
42927
  /** `lenses.list` options: a page of the project's lenses, newest first unless `sort` says otherwise. */
42924
42928
  type ListLensesOptions = Partial<GetLensesQuery>;
42925
- /** `lenses.iterate` options: the sort and page size; pages are fetched as needed. */
42926
- type IterateLensesOptions = Omit<ListLensesOptions, "cursor">;
42927
42929
  type LensPage = CursorPage<Lens>;
42928
42930
  /** A new lens: its identifier must be new to the project. */
42929
42931
  type CreateLensOptions = EnsureLensOptions;
@@ -42937,8 +42939,6 @@ type UpdateLensOptions = PatchLensBody & LensIdOptions;
42937
42939
  * `folderId==fldr_…`.
42938
42940
  */
42939
42941
  type ListAssetsOptions = Partial<GetAssetsPageQuery>;
42940
- /** `assets.iterate` options: list filters and page size; pages are fetched as needed. */
42941
- type IterateAssetsOptions = Omit<ListAssetsOptions, "cursor">;
42942
42942
  type ListEventsOptions = GetEventsQuery;
42943
42943
  interface RetrieveAssetOptions {
42944
42944
  assetId: string;
@@ -42950,15 +42950,6 @@ interface RetryAssetOptions {
42950
42950
  type DecideAssetOptions = {
42951
42951
  assetId: string;
42952
42952
  } & PostAssetDecisionBody;
42953
- interface ExplainAssetOptions {
42954
- assetId: string;
42955
- /**
42956
- * Moderates the asset again with the project's current policy, answering every question,
42957
- * instead of explaining the decision as made. The asset returns to `processing` and gets a new
42958
- * decision, which can differ from the old one.
42959
- */
42960
- rerun?: boolean;
42961
- }
42962
42953
  interface WaitForAssetDecisionOptions {
42963
42954
  assetId: string;
42964
42955
  /** How long to wait for a decision, in milliseconds. Defaults to 60000. */
@@ -42994,8 +42985,6 @@ interface MoveFolderOptions extends FolderIdOptions {
42994
42985
  }
42995
42986
  /** `hashLists.list` options: a page of the project's hash lists, newest first unless `sort` says otherwise. */
42996
42987
  type ListHashListsOptions = Partial<GetHashListsQuery>;
42997
- /** `hashLists.iterate` options. */
42998
- type IterateHashListsOptions = Omit<ListHashListsOptions, "cursor">;
42999
42988
  type HashListPage = GetHashListsResponse;
43000
42989
  type CreateHashListOptions = PostHashListBody;
43001
42990
  type UpdateHashListOptions = PatchHashListBody & {
@@ -43005,8 +42994,6 @@ interface HashListIdOptions {
43005
42994
  hashListId: string;
43006
42995
  }
43007
42996
  type ListHashListEntriesOptions = Partial<GetHashListEntriesQuery> & HashListIdOptions;
43008
- /** `hashLists.iterateEntries` options. */
43009
- type IterateHashListEntriesOptions = Omit<ListHashListEntriesOptions, "cursor">;
43010
42997
  type HashListEntryPage = GetHashListEntriesResponse;
43011
42998
  /** Send `hash` (and `quality` when you know it) or `assetId`, an image asset in the project. */
43012
42999
  type AddHashListEntryOptions = PostHashListEntryBody & HashListIdOptions;
@@ -43015,8 +43002,6 @@ interface HashListEntryIdOptions {
43015
43002
  }
43016
43003
  /** `policies.list` options: a page of the organisation's policies, oldest first unless `sort` says otherwise. */
43017
43004
  type ListPoliciesOptions = Partial<GetPoliciesQuery>;
43018
- /** `policies.iterate` options. */
43019
- type IteratePoliciesOptions = Omit<ListPoliciesOptions, "cursor">;
43020
43005
  type PolicyPage = GetPoliciesResponse;
43021
43006
  /** Send `settings` and a `name`, or `presetId` to copy the latest release of a built-in preset. */
43022
43007
  type CreatePolicyOptions = PostPolicyBody;
@@ -43033,8 +43018,6 @@ type SetPolicyAutomaticUpdatesOptions = PutPolicyAutomaticUpdatesBody & PolicyId
43033
43018
  type AssignPolicyOptions = PutProjectPolicyBody;
43034
43019
  /** `uploadPresets.list` options: a page of the project's upload presets, oldest first unless `sort` says otherwise. */
43035
43020
  type ListUploadPresetsOptions = Partial<GetUploadPresetsQuery>;
43036
- /** `uploadPresets.iterate` options. */
43037
- type IterateUploadPresetsOptions = Omit<ListUploadPresetsOptions, "cursor">;
43038
43021
  type UploadPresetPage = GetUploadPresetsResponse;
43039
43022
  /**
43040
43023
  * One preset's whole definition, by `key`; fields left out take their defaults. Send the
@@ -43067,14 +43050,10 @@ interface MoveAssetOptions {
43067
43050
  type ListAssetChildrenOptions = Partial<GetAssetChildrenQuery> & {
43068
43051
  assetId: string;
43069
43052
  };
43070
- /** `assets.iterateChildren` options. */
43071
- type IterateAssetChildrenOptions = Omit<ListAssetChildrenOptions, "cursor">;
43072
43053
  /** `assets.listTimeline` options. */
43073
43054
  type ListAssetTimelineOptions = Partial<GetAssetTimelineQuery> & {
43074
43055
  assetId: string;
43075
43056
  };
43076
- /** `assets.iterateTimeline` options. */
43077
- type IterateAssetTimelineOptions = Omit<ListAssetTimelineOptions, "cursor">;
43078
43057
  type AssetContentOptions = AssetBinaryPayloadInput & {
43079
43058
  type: string;
43080
43059
  sizeInBytes?: number;
@@ -43111,14 +43090,14 @@ interface SubmitAssetCommonOptions extends IdempotencyOptions {
43111
43090
  * Your identifier for who wrote the content. CalmLens only compares it with the author IDs in
43112
43091
  * `context`, to tell which posts share a speaker.
43113
43092
  */
43114
- authorId?: string;
43093
+ authorId?: string | null;
43115
43094
  /**
43116
43095
  * Earlier posts in the conversation, oldest first. CalmLens moderates only the content and uses
43117
43096
  * these to read who it addresses, what it refers to and whether it quotes, reports, counters
43118
43097
  * or mocks something. The SDK sends only the posts CalmLens uses: the most recent 5 that fit
43119
43098
  * in 2,000 characters.
43120
43099
  */
43121
- context?: ModerationContext;
43100
+ context?: ModerationContext | null;
43122
43101
  externalId?: string;
43123
43102
  externalUrl?: string;
43124
43103
  folderId?: string | null;
@@ -43129,7 +43108,13 @@ interface SubmitAssetCommonOptions extends IdempotencyOptions {
43129
43108
  uploadPresetId?: string;
43130
43109
  isFinal?: never;
43131
43110
  }
43132
- type SubmitAssetOptions = (SubmitAssetCommonOptions & {
43111
+ /**
43112
+ * An asset's content: a `Blob` or `File`, whose own type is the content type (and a `File`'s
43113
+ * name the asset's name when you give none), or bytes, base64 or plain text with their `type`.
43114
+ */
43115
+ type AssetContentInput = AssetContentOptions | Blob;
43116
+ /** Options as the client sends them, once a `Blob` or `File` is read as `{ data, type }`. */
43117
+ type PreparedSubmitAssetOptions = (SubmitAssetCommonOptions & {
43133
43118
  content: AssetContentOptions;
43134
43119
  }) | (SubmitAssetCommonOptions & {
43135
43120
  url: string;
@@ -43143,6 +43128,10 @@ type SubmitAssetOptions = (SubmitAssetCommonOptions & {
43143
43128
  */
43144
43129
  totalSizeInBytes?: number;
43145
43130
  });
43131
+ /** What `assets.create` and `assets.classify` take: content, a URL or a multipart part. */
43132
+ type SubmitAssetOptions = PreparedSubmitAssetOptions | (SubmitAssetCommonOptions & {
43133
+ content: Blob;
43134
+ });
43146
43135
  interface MultipartUploadOptions extends SubmitAssetCommonOptions {
43147
43136
  part: CreateMultipartUploadPartOptions;
43148
43137
  totalSizeInBytes?: number;
@@ -43174,13 +43163,11 @@ interface VerifyWebhookSignatureOptions {
43174
43163
  /** The current time, as a `Date` or milliseconds since the epoch. Defaults to `Date.now()`. */
43175
43164
  now?: Date | number;
43176
43165
  }
43177
- interface ClassifyTextOptions extends Omit<SubmitAssetCommonOptions, "name" | "visibility" | "isFinal"> {
43166
+ interface ClassifyTextOptions extends Omit<SubmitAssetCommonOptions, "name" | "isFinal"> {
43178
43167
  text: string;
43179
43168
  name?: string;
43180
43169
  }
43181
43170
  /** `folders.list` options. `sort` is `name` (the default) or `createdAt`, descending when prefixed with `-`. */
43182
43171
  type ListFoldersOptions = GetFoldersQuery;
43183
- /** `folders.iterate` options. */
43184
- type IterateFoldersOptions = Omit<ListFoldersOptions, "cursor">;
43185
43172
  type FolderPage = GetFoldersResponse;
43186
- export { GetAssetInfoOptions as $, MetadataItem 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, AssetRenderedKind as Jn, UpdateFolderOptions as Jt, EnsureLensesOptions as K, AssetPreview 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, FileMetadata 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, AssetSafetyHoldReason as Xn, UpdateLensOptions as Xt, EnsureUploadPresetsResponse as Y, AssetSafetyHold as Yn, UpdateHashListOptions as Yt, FolderIdOptions as Z, ExtractedText 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, ProcessingOptions 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, AssetRendered 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, 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 };
43173
+ export { FolderPage as $, VerifyWebhookSignatureOptions as $t, CdnAssetLocation as A, Policy as An, RetrieveAssetOptions as At, CreateHashListOptions as B, AssetRendered as Bn, UpdateAssetOptions as Bt, AssetUploadStatus as C, BoundingBox as Cn, MultipartUploadPartOptions as Ct, BatchAssetsResponse as D, ProcessingFeatureResults as Dn, RequestAttempt as Dt, BatchAssetsOptions as E, ProcessingFeatureId as En, RemoveAssetContentOptions as Et, CdnTransform as F, AssetBinaryPayloadInput as Fn, SignUploadTokenOptions as Ft, DeleteAssetOptions as G, FileMetadata as Gn, UpdateProjectSettingsOptions as Gt, CreateMultipartUploadPartOptions as H, AssetSafetyHold as Hn, UpdateHashListOptions as Ht, ClassifyTextOptions as I, AssetInfo as In, SignedAssetUrl as It, EnsureLensesOptions as J, UploadPresetDefinition as Jt, DeleteMetadataFieldOptions as K, MetadataItem as Kn, UpgradePolicyOptions as Kt, ClientRequestDefaults as L, AssetHls as Ln, SignedUploadToken as Lt, CdnAssetUrlOptions as M, LensType as Mn, SearchAssetsOptions as Mt, CdnResource as N, AssetSearchMatchField as Nn, SetPolicyAutomaticUpdatesOptions as Nt, CalmLensAppClientOptions as O, ProcessingFeatureStage as On, RequestOptions as Ot, CdnServeOptions as P, AssetSearchQuery as Pn, SignAssetUrlOptions as Pt, FolderIdOptions as Q, UploadedAsset as Qt, ConnectionOptions as R, AssetHlsRendition as Rn, StreamingFeatureOptions as Rt, AssetUpload as S, AgeRange as Sn, MultipartUploadOptions as St, AssignPolicyOptions as T, DetectedPerson as Tn, PolicyPage as Tt, CreatePolicyOptions as U, AssetSafetyHoldReason as Un, UpdateLensOptions as Ut, CreateLensOptions as V, AssetRenderedKind as Vn, UpdateFolderOptions as Vt, DecideAssetOptions as W, ExtractedText as Wn, UpdatePolicyOptions as Wt, EnsureUploadPresetsOptions as X, UploadPresetPage as Xt, EnsureMetadataFieldsOptions as Y, UploadPresetIdOptions as Yt, EnsureUploadPresetsResponse as Z, UploadPresetSubmitAssetOptions as Zt, AssetPage as _, Folder as _n, ListLensesOptions as _t, AssetChecksums as a, AssetTimelineSegment as an, IdempotencyOptions as at, AssetTimelinePage as b, PublicProjectSettings as bn, MoveAssetOptions as bt, AssetClassificationFailureReason as c, EventAsset as cn, LensIdOptions as ct, AssetContentOptions as d, EventFact as dn, ListAssetTimelineOptions as dt, ViewerClaims as en, GetAssetInfoOptions as et, AssetContentRemovalReason as f, EventFactValues as fn, ListAssetsOptions as ft, AssetModerationStatus as g, PermissionGrant as gn, ListHashListsOptions as gt, AssetModerationDecision as h, EventType as hn, ListHashListEntriesOptions as ht, AssetAvailability as i, AssetBatchOperation as in, HashListPage as it, CdnAssetReference as j, CursorPage as jn, RetryAssetOptions as jt, CalmLensServerClientOptions as k, ProcessingFeatures as kn, ResetPolicyOptions as kt, AssetClassificationStatus as l, TypedEvent as ln, LensPage as lt, AssetModeration as m, EventSeverity as mn, ListFoldersOptions as mt, AppInfo as n, WebhookHeadersInput as nn, HashListEntryPage as nt, AssetChildrenPage as o, GetEventsResponse as on, ImageTransformOptions as ot, AssetContentStatus as p, EventFacts as pn, ListEventsOptions as pt, EnsureLensOptions as q, ProcessingOptions as qn, UploadAssetPartOptions as qt, Asset as r, WebhookPayloadInput as rn, HashListIdOptions as rt, AssetClassification as s, Actor as sn, Lens as st, AddHashListEntryOptions as t, WaitForAssetDecisionOptions as tn, HashListEntryIdOptions as tt, AssetContent as u, EventCategory as un, ListAssetChildrenOptions as ut, AssetSearchResponse as v, MetadataFieldsResource as vn, ListPoliciesOptions as vt, AssetVisibility as w, DetectedFace as wn, PolicyIdOptions as wt, AssetType as x, UploadPreset as xn, MoveFolderOptions as xt, AssetSearchResult as y, ProjectSettingsResource as yn, ListUploadPresetsOptions as yt, CreateFolderOptions as z, AssetPreview as zn, SubmitAssetOptions as zt };