@arbidocs/client 0.3.123 → 0.3.124

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.
package/dist/index.d.cts CHANGED
@@ -2879,6 +2879,53 @@ interface paths {
2879
2879
  patch?: never;
2880
2880
  trace?: never;
2881
2881
  };
2882
+ '/v1/connectors/{vendor}/drive-folder-doc-count': {
2883
+ parameters: {
2884
+ query?: never;
2885
+ header?: never;
2886
+ path?: never;
2887
+ cookie?: never;
2888
+ };
2889
+ /**
2890
+ * Count the documents that syncing a OneDrive folder would import (recursive)
2891
+ * @description Return how many documents selecting ``item_id`` would import (files, recursive).
2892
+ *
2893
+ * Powers the "(N)" next to each folder in the picker: unlike Graph's ``childCount``
2894
+ * (immediate files + subfolders), this is the full recursive count of importable
2895
+ * files — what actually lands in the workspace when the folder is synced.
2896
+ */
2897
+ get: operations['drive_folder_doc_count'];
2898
+ put?: never;
2899
+ post?: never;
2900
+ delete?: never;
2901
+ options?: never;
2902
+ head?: never;
2903
+ patch?: never;
2904
+ trace?: never;
2905
+ };
2906
+ '/v1/connectors/{vendor}/drive-folder-children': {
2907
+ parameters: {
2908
+ query?: never;
2909
+ header?: never;
2910
+ path?: never;
2911
+ cookie?: never;
2912
+ };
2913
+ /**
2914
+ * List the immediate subfolders of a OneDrive folder (lazy tree browsing)
2915
+ * @description Return the immediate subfolders of ``item_id`` ("root" or a folder item id).
2916
+ *
2917
+ * Backs the expandable folder-tree picker: the UI fetches one level at a time as
2918
+ * the user drills in, so a large drive never enumerates the whole tree up front.
2919
+ */
2920
+ get: operations['drive_folder_children'];
2921
+ put?: never;
2922
+ post?: never;
2923
+ delete?: never;
2924
+ options?: never;
2925
+ head?: never;
2926
+ patch?: never;
2927
+ trace?: never;
2928
+ };
2882
2929
  '/v1/connectors/{vendor}/enable-drive-sync': {
2883
2930
  parameters: {
2884
2931
  query?: never;
@@ -2922,6 +2969,74 @@ interface paths {
2922
2969
  patch?: never;
2923
2970
  trace?: never;
2924
2971
  };
2972
+ '/v1/connectors/{vendor}/drive-sync-estimate': {
2973
+ parameters: {
2974
+ query?: never;
2975
+ header?: never;
2976
+ path?: never;
2977
+ cookie?: never;
2978
+ };
2979
+ /**
2980
+ * Preview how many documents the next OneDrive sync would import
2981
+ * @description Best-effort count of new/changed OneDrive files the next Sync now would pull.
2982
+ *
2983
+ * Advisory only: any failure (not connected, token not bridged, provider error)
2984
+ * returns ``estimated_count=None`` with a 200 so the UI degrades quietly instead
2985
+ * of surfacing an error. 404 only when drive sync was never enabled.
2986
+ */
2987
+ get: operations['drive_sync_estimate'];
2988
+ put?: never;
2989
+ post?: never;
2990
+ delete?: never;
2991
+ options?: never;
2992
+ head?: never;
2993
+ patch?: never;
2994
+ trace?: never;
2995
+ };
2996
+ '/v1/connectors/{vendor}/drive-sync-progress': {
2997
+ parameters: {
2998
+ query?: never;
2999
+ header?: never;
3000
+ path?: never;
3001
+ cookie?: never;
3002
+ };
3003
+ /**
3004
+ * Live progress of a running OneDrive sync
3005
+ * @description Current progress for this vendor's drive sync.
3006
+ *
3007
+ * ``running`` is False when nothing is in flight (no progress marker in Redis).
3008
+ */
3009
+ get: operations['drive_sync_progress'];
3010
+ put?: never;
3011
+ post?: never;
3012
+ delete?: never;
3013
+ options?: never;
3014
+ head?: never;
3015
+ patch?: never;
3016
+ trace?: never;
3017
+ };
3018
+ '/v1/connectors/{vendor}/drive-sync/cancel': {
3019
+ parameters: {
3020
+ query?: never;
3021
+ header?: never;
3022
+ path?: never;
3023
+ cookie?: never;
3024
+ };
3025
+ get?: never;
3026
+ put?: never;
3027
+ /**
3028
+ * Request cancellation of a running OneDrive sync
3029
+ * @description Ask a running drive sync to stop at the next document boundary. Idempotent.
3030
+ *
3031
+ * Already-imported documents are kept; the run simply stops fetching more.
3032
+ */
3033
+ post: operations['cancel_drive_sync'];
3034
+ delete?: never;
3035
+ options?: never;
3036
+ head?: never;
3037
+ patch?: never;
3038
+ trace?: never;
3039
+ };
2925
3040
  '/v1/responses': {
2926
3041
  parameters: {
2927
3042
  query?: never;
@@ -4761,6 +4876,8 @@ interface components {
4761
4876
  last_sync_at?: string | null;
4762
4877
  /** Backfill Window */
4763
4878
  backfill_window?: number | null;
4879
+ /** Backfill Since */
4880
+ backfill_since?: string | null;
4764
4881
  /**
4765
4882
  * Folders
4766
4883
  * @default []
@@ -5614,6 +5731,40 @@ interface components {
5614
5731
  */
5615
5732
  DEFAULT_METADATA_TAGS?: components['schemas']['TagTemplate'][];
5616
5733
  };
5734
+ /**
5735
+ * DriveFolderDocCountResponse
5736
+ * @description Recursive count of importable documents under a single OneDrive folder.
5737
+ */
5738
+ DriveFolderDocCountResponse: {
5739
+ /** Count */
5740
+ count: number;
5741
+ };
5742
+ /** DriveSyncEstimateResponse */
5743
+ DriveSyncEstimateResponse: {
5744
+ /** Estimated Count */
5745
+ estimated_count?: number | null;
5746
+ };
5747
+ /**
5748
+ * DriveSyncProgressResponse
5749
+ * @description Live progress of a running OneDrive sync for this vendor.
5750
+ */
5751
+ DriveSyncProgressResponse: {
5752
+ /**
5753
+ * Running
5754
+ * @default false
5755
+ */
5756
+ running: boolean;
5757
+ /** Phase */
5758
+ phase?: string | null;
5759
+ /**
5760
+ * Processed
5761
+ * @default 0
5762
+ */
5763
+ processed: number;
5764
+ /** Total */
5765
+ total?: number | null;
5766
+ summary?: components['schemas']['DriveSyncSummary'] | null;
5767
+ };
5617
5768
  /**
5618
5769
  * DriveSyncRead
5619
5770
  * @description Public shape for a DriveSync row returned by the enable-drive-sync endpoint.
@@ -5639,12 +5790,55 @@ interface components {
5639
5790
  folders: string[];
5640
5791
  /**
5641
5792
  * Skip Duplicates
5642
- * @default true
5793
+ * @default false
5643
5794
  */
5644
5795
  skip_duplicates: boolean;
5796
+ /**
5797
+ * Auto Rename
5798
+ * @default false
5799
+ */
5800
+ auto_rename: boolean;
5801
+ /**
5802
+ * Shared
5803
+ * @default false
5804
+ */
5805
+ shared: boolean;
5645
5806
  /** Last Sync At */
5646
5807
  last_sync_at?: string | null;
5647
5808
  };
5809
+ /**
5810
+ * DriveSyncSkippedFile
5811
+ * @description A file a finished run tried but couldn't import, with the reason why.
5812
+ */
5813
+ DriveSyncSkippedFile: {
5814
+ /** Name */
5815
+ name: string;
5816
+ /** Reason */
5817
+ reason: string;
5818
+ };
5819
+ /**
5820
+ * DriveSyncSummary
5821
+ * @description Outcome of the most recently finished run, for a one-shot completion toast.
5822
+ */
5823
+ DriveSyncSummary: {
5824
+ /** Finished At */
5825
+ finished_at: string;
5826
+ /**
5827
+ * Ingested
5828
+ * @default 0
5829
+ */
5830
+ ingested: number;
5831
+ /**
5832
+ * Attempted
5833
+ * @default 0
5834
+ */
5835
+ attempted: number;
5836
+ /**
5837
+ * Skipped
5838
+ * @default []
5839
+ */
5840
+ skipped: components['schemas']['DriveSyncSkippedFile'][];
5841
+ };
5648
5842
  /**
5649
5843
  * EmailNotificationSettings
5650
5844
  * @description Per-category email notification preferences. All default on; a master
@@ -5749,9 +5943,19 @@ interface components {
5749
5943
  folders: string[];
5750
5944
  /**
5751
5945
  * Skip Duplicates
5752
- * @default true
5946
+ * @default false
5753
5947
  */
5754
5948
  skip_duplicates: boolean;
5949
+ /**
5950
+ * Auto Rename
5951
+ * @default false
5952
+ */
5953
+ auto_rename: boolean;
5954
+ /**
5955
+ * Shared
5956
+ * @default false
5957
+ */
5958
+ shared: boolean;
5755
5959
  };
5756
5960
  /** EnableSyncRequest */
5757
5961
  EnableSyncRequest: {
@@ -5762,6 +5966,8 @@ interface components {
5762
5966
  * @default 90
5763
5967
  */
5764
5968
  backfill_window: number;
5969
+ /** Backfill Since */
5970
+ backfill_since?: string | null;
5765
5971
  /** Folders */
5766
5972
  folders: string[];
5767
5973
  /**
@@ -6371,6 +6577,8 @@ interface components {
6371
6577
  target_workspace_id: number;
6372
6578
  /** Backfill Window */
6373
6579
  backfill_window: number;
6580
+ /** Backfill Since */
6581
+ backfill_since?: string | null;
6374
6582
  /** Backfill State */
6375
6583
  backfill_state: string;
6376
6584
  /** Enabled */
@@ -10014,6 +10222,8 @@ interface components {
10014
10222
  last_sync_at?: string | null;
10015
10223
  /** Backfill Window */
10016
10224
  backfill_window?: number | null;
10225
+ /** Backfill Since */
10226
+ backfill_since?: string | null;
10017
10227
  /** Sync Workspace Ext Id */
10018
10228
  sync_workspace_ext_id?: string | null;
10019
10229
  /** Sync Folders */
@@ -10030,6 +10240,12 @@ interface components {
10030
10240
  drive_sync_workspace_ext_id?: string | null;
10031
10241
  /** Drive Sync Folders */
10032
10242
  drive_sync_folders?: string[] | null;
10243
+ /** Drive Skip Duplicates */
10244
+ drive_skip_duplicates?: boolean | null;
10245
+ /** Drive Auto Rename */
10246
+ drive_auto_rename?: boolean | null;
10247
+ /** Drive Shared */
10248
+ drive_shared?: boolean | null;
10033
10249
  /** Drive Needs Reconsent */
10034
10250
  drive_needs_reconsent?: boolean | null;
10035
10251
  };
@@ -10267,9 +10483,24 @@ interface components {
10267
10483
  show_agent_sessions: boolean;
10268
10484
  /**
10269
10485
  * Show Mcp Connectors
10270
- * @default false
10486
+ * @default true
10271
10487
  */
10272
10488
  show_mcp_connectors: boolean;
10489
+ /**
10490
+ * Show Connector Microsoft
10491
+ * @default true
10492
+ */
10493
+ show_connector_microsoft: boolean;
10494
+ /**
10495
+ * Show Connector Google
10496
+ * @default false
10497
+ */
10498
+ show_connector_google: boolean;
10499
+ /**
10500
+ * Show Connector Imanage
10501
+ * @default false
10502
+ */
10503
+ show_connector_imanage: boolean;
10273
10504
  /**
10274
10505
  * Show File Explorer
10275
10506
  * @default false
@@ -10358,6 +10589,12 @@ interface components {
10358
10589
  show_agent_sessions?: boolean | null;
10359
10590
  /** Show Mcp Connectors */
10360
10591
  show_mcp_connectors?: boolean | null;
10592
+ /** Show Connector Microsoft */
10593
+ show_connector_microsoft?: boolean | null;
10594
+ /** Show Connector Google */
10595
+ show_connector_google?: boolean | null;
10596
+ /** Show Connector Imanage */
10597
+ show_connector_imanage?: boolean | null;
10361
10598
  /** Show File Explorer */
10362
10599
  show_file_explorer?: boolean | null;
10363
10600
  /** Show Hints */
@@ -14978,6 +15215,74 @@ interface operations {
14978
15215
  };
14979
15216
  };
14980
15217
  };
15218
+ mailbox_sync_progress: {
15219
+ parameters: {
15220
+ query?: {
15221
+ workspace_ext_id?: string | null;
15222
+ };
15223
+ header?: never;
15224
+ path: {
15225
+ vendor: components['schemas']['VendorKey'];
15226
+ };
15227
+ cookie?: never;
15228
+ };
15229
+ requestBody?: never;
15230
+ responses: {
15231
+ /** @description Successful Response */
15232
+ 200: {
15233
+ headers: {
15234
+ [name: string]: unknown;
15235
+ };
15236
+ content: {
15237
+ 'application/json': components['schemas']['SyncProgressResponse'];
15238
+ };
15239
+ };
15240
+ /** @description Validation Error */
15241
+ 422: {
15242
+ headers: {
15243
+ [name: string]: unknown;
15244
+ };
15245
+ content: {
15246
+ 'application/json': components['schemas']['HTTPValidationError'];
15247
+ };
15248
+ };
15249
+ };
15250
+ };
15251
+ cancel_mailbox_sync: {
15252
+ parameters: {
15253
+ query?: {
15254
+ workspace_ext_id?: string | null;
15255
+ };
15256
+ header?: never;
15257
+ path: {
15258
+ vendor: components['schemas']['VendorKey'];
15259
+ };
15260
+ cookie?: never;
15261
+ };
15262
+ requestBody?: never;
15263
+ responses: {
15264
+ /** @description Successful Response */
15265
+ 202: {
15266
+ headers: {
15267
+ [name: string]: unknown;
15268
+ };
15269
+ content: {
15270
+ 'application/json': {
15271
+ [key: string]: string;
15272
+ };
15273
+ };
15274
+ };
15275
+ /** @description Validation Error */
15276
+ 422: {
15277
+ headers: {
15278
+ [name: string]: unknown;
15279
+ };
15280
+ content: {
15281
+ 'application/json': components['schemas']['HTTPValidationError'];
15282
+ };
15283
+ };
15284
+ };
15285
+ };
14981
15286
  list_drive_folders: {
14982
15287
  parameters: {
14983
15288
  query?: never;
@@ -15009,6 +15314,72 @@ interface operations {
15009
15314
  };
15010
15315
  };
15011
15316
  };
15317
+ drive_folder_doc_count: {
15318
+ parameters: {
15319
+ query: {
15320
+ item_id: string;
15321
+ };
15322
+ header?: never;
15323
+ path: {
15324
+ vendor: components['schemas']['VendorKey'];
15325
+ };
15326
+ cookie?: never;
15327
+ };
15328
+ requestBody?: never;
15329
+ responses: {
15330
+ /** @description Successful Response */
15331
+ 200: {
15332
+ headers: {
15333
+ [name: string]: unknown;
15334
+ };
15335
+ content: {
15336
+ 'application/json': components['schemas']['DriveFolderDocCountResponse'];
15337
+ };
15338
+ };
15339
+ /** @description Validation Error */
15340
+ 422: {
15341
+ headers: {
15342
+ [name: string]: unknown;
15343
+ };
15344
+ content: {
15345
+ 'application/json': components['schemas']['HTTPValidationError'];
15346
+ };
15347
+ };
15348
+ };
15349
+ };
15350
+ drive_folder_children: {
15351
+ parameters: {
15352
+ query?: {
15353
+ item_id?: string;
15354
+ };
15355
+ header?: never;
15356
+ path: {
15357
+ vendor: components['schemas']['VendorKey'];
15358
+ };
15359
+ cookie?: never;
15360
+ };
15361
+ requestBody?: never;
15362
+ responses: {
15363
+ /** @description Successful Response */
15364
+ 200: {
15365
+ headers: {
15366
+ [name: string]: unknown;
15367
+ };
15368
+ content: {
15369
+ 'application/json': components['schemas']['FolderRead'][];
15370
+ };
15371
+ };
15372
+ /** @description Validation Error */
15373
+ 422: {
15374
+ headers: {
15375
+ [name: string]: unknown;
15376
+ };
15377
+ content: {
15378
+ 'application/json': components['schemas']['HTTPValidationError'];
15379
+ };
15380
+ };
15381
+ };
15382
+ };
15012
15383
  enable_drive_sync: {
15013
15384
  parameters: {
15014
15385
  query?: never;
@@ -15075,11 +15446,9 @@ interface operations {
15075
15446
  };
15076
15447
  };
15077
15448
  };
15078
- mailbox_sync_progress: {
15449
+ drive_sync_estimate: {
15079
15450
  parameters: {
15080
- query?: {
15081
- workspace_ext_id?: string | null;
15082
- };
15451
+ query?: never;
15083
15452
  header?: never;
15084
15453
  path: {
15085
15454
  vendor: components['schemas']['VendorKey'];
@@ -15094,7 +15463,7 @@ interface operations {
15094
15463
  [name: string]: unknown;
15095
15464
  };
15096
15465
  content: {
15097
- 'application/json': components['schemas']['SyncProgressResponse'];
15466
+ 'application/json': components['schemas']['DriveSyncEstimateResponse'];
15098
15467
  };
15099
15468
  };
15100
15469
  /** @description Validation Error */
@@ -15108,11 +15477,40 @@ interface operations {
15108
15477
  };
15109
15478
  };
15110
15479
  };
15111
- cancel_mailbox_sync: {
15480
+ drive_sync_progress: {
15112
15481
  parameters: {
15113
- query?: {
15114
- workspace_ext_id?: string | null;
15482
+ query?: never;
15483
+ header?: never;
15484
+ path: {
15485
+ vendor: components['schemas']['VendorKey'];
15115
15486
  };
15487
+ cookie?: never;
15488
+ };
15489
+ requestBody?: never;
15490
+ responses: {
15491
+ /** @description Successful Response */
15492
+ 200: {
15493
+ headers: {
15494
+ [name: string]: unknown;
15495
+ };
15496
+ content: {
15497
+ 'application/json': components['schemas']['DriveSyncProgressResponse'];
15498
+ };
15499
+ };
15500
+ /** @description Validation Error */
15501
+ 422: {
15502
+ headers: {
15503
+ [name: string]: unknown;
15504
+ };
15505
+ content: {
15506
+ 'application/json': components['schemas']['HTTPValidationError'];
15507
+ };
15508
+ };
15509
+ };
15510
+ };
15511
+ cancel_drive_sync: {
15512
+ parameters: {
15513
+ query?: never;
15116
15514
  header?: never;
15117
15515
  path: {
15118
15516
  vendor: components['schemas']['VendorKey'];
package/dist/index.d.ts CHANGED
@@ -2879,6 +2879,53 @@ interface paths {
2879
2879
  patch?: never;
2880
2880
  trace?: never;
2881
2881
  };
2882
+ '/v1/connectors/{vendor}/drive-folder-doc-count': {
2883
+ parameters: {
2884
+ query?: never;
2885
+ header?: never;
2886
+ path?: never;
2887
+ cookie?: never;
2888
+ };
2889
+ /**
2890
+ * Count the documents that syncing a OneDrive folder would import (recursive)
2891
+ * @description Return how many documents selecting ``item_id`` would import (files, recursive).
2892
+ *
2893
+ * Powers the "(N)" next to each folder in the picker: unlike Graph's ``childCount``
2894
+ * (immediate files + subfolders), this is the full recursive count of importable
2895
+ * files — what actually lands in the workspace when the folder is synced.
2896
+ */
2897
+ get: operations['drive_folder_doc_count'];
2898
+ put?: never;
2899
+ post?: never;
2900
+ delete?: never;
2901
+ options?: never;
2902
+ head?: never;
2903
+ patch?: never;
2904
+ trace?: never;
2905
+ };
2906
+ '/v1/connectors/{vendor}/drive-folder-children': {
2907
+ parameters: {
2908
+ query?: never;
2909
+ header?: never;
2910
+ path?: never;
2911
+ cookie?: never;
2912
+ };
2913
+ /**
2914
+ * List the immediate subfolders of a OneDrive folder (lazy tree browsing)
2915
+ * @description Return the immediate subfolders of ``item_id`` ("root" or a folder item id).
2916
+ *
2917
+ * Backs the expandable folder-tree picker: the UI fetches one level at a time as
2918
+ * the user drills in, so a large drive never enumerates the whole tree up front.
2919
+ */
2920
+ get: operations['drive_folder_children'];
2921
+ put?: never;
2922
+ post?: never;
2923
+ delete?: never;
2924
+ options?: never;
2925
+ head?: never;
2926
+ patch?: never;
2927
+ trace?: never;
2928
+ };
2882
2929
  '/v1/connectors/{vendor}/enable-drive-sync': {
2883
2930
  parameters: {
2884
2931
  query?: never;
@@ -2922,6 +2969,74 @@ interface paths {
2922
2969
  patch?: never;
2923
2970
  trace?: never;
2924
2971
  };
2972
+ '/v1/connectors/{vendor}/drive-sync-estimate': {
2973
+ parameters: {
2974
+ query?: never;
2975
+ header?: never;
2976
+ path?: never;
2977
+ cookie?: never;
2978
+ };
2979
+ /**
2980
+ * Preview how many documents the next OneDrive sync would import
2981
+ * @description Best-effort count of new/changed OneDrive files the next Sync now would pull.
2982
+ *
2983
+ * Advisory only: any failure (not connected, token not bridged, provider error)
2984
+ * returns ``estimated_count=None`` with a 200 so the UI degrades quietly instead
2985
+ * of surfacing an error. 404 only when drive sync was never enabled.
2986
+ */
2987
+ get: operations['drive_sync_estimate'];
2988
+ put?: never;
2989
+ post?: never;
2990
+ delete?: never;
2991
+ options?: never;
2992
+ head?: never;
2993
+ patch?: never;
2994
+ trace?: never;
2995
+ };
2996
+ '/v1/connectors/{vendor}/drive-sync-progress': {
2997
+ parameters: {
2998
+ query?: never;
2999
+ header?: never;
3000
+ path?: never;
3001
+ cookie?: never;
3002
+ };
3003
+ /**
3004
+ * Live progress of a running OneDrive sync
3005
+ * @description Current progress for this vendor's drive sync.
3006
+ *
3007
+ * ``running`` is False when nothing is in flight (no progress marker in Redis).
3008
+ */
3009
+ get: operations['drive_sync_progress'];
3010
+ put?: never;
3011
+ post?: never;
3012
+ delete?: never;
3013
+ options?: never;
3014
+ head?: never;
3015
+ patch?: never;
3016
+ trace?: never;
3017
+ };
3018
+ '/v1/connectors/{vendor}/drive-sync/cancel': {
3019
+ parameters: {
3020
+ query?: never;
3021
+ header?: never;
3022
+ path?: never;
3023
+ cookie?: never;
3024
+ };
3025
+ get?: never;
3026
+ put?: never;
3027
+ /**
3028
+ * Request cancellation of a running OneDrive sync
3029
+ * @description Ask a running drive sync to stop at the next document boundary. Idempotent.
3030
+ *
3031
+ * Already-imported documents are kept; the run simply stops fetching more.
3032
+ */
3033
+ post: operations['cancel_drive_sync'];
3034
+ delete?: never;
3035
+ options?: never;
3036
+ head?: never;
3037
+ patch?: never;
3038
+ trace?: never;
3039
+ };
2925
3040
  '/v1/responses': {
2926
3041
  parameters: {
2927
3042
  query?: never;
@@ -4761,6 +4876,8 @@ interface components {
4761
4876
  last_sync_at?: string | null;
4762
4877
  /** Backfill Window */
4763
4878
  backfill_window?: number | null;
4879
+ /** Backfill Since */
4880
+ backfill_since?: string | null;
4764
4881
  /**
4765
4882
  * Folders
4766
4883
  * @default []
@@ -5614,6 +5731,40 @@ interface components {
5614
5731
  */
5615
5732
  DEFAULT_METADATA_TAGS?: components['schemas']['TagTemplate'][];
5616
5733
  };
5734
+ /**
5735
+ * DriveFolderDocCountResponse
5736
+ * @description Recursive count of importable documents under a single OneDrive folder.
5737
+ */
5738
+ DriveFolderDocCountResponse: {
5739
+ /** Count */
5740
+ count: number;
5741
+ };
5742
+ /** DriveSyncEstimateResponse */
5743
+ DriveSyncEstimateResponse: {
5744
+ /** Estimated Count */
5745
+ estimated_count?: number | null;
5746
+ };
5747
+ /**
5748
+ * DriveSyncProgressResponse
5749
+ * @description Live progress of a running OneDrive sync for this vendor.
5750
+ */
5751
+ DriveSyncProgressResponse: {
5752
+ /**
5753
+ * Running
5754
+ * @default false
5755
+ */
5756
+ running: boolean;
5757
+ /** Phase */
5758
+ phase?: string | null;
5759
+ /**
5760
+ * Processed
5761
+ * @default 0
5762
+ */
5763
+ processed: number;
5764
+ /** Total */
5765
+ total?: number | null;
5766
+ summary?: components['schemas']['DriveSyncSummary'] | null;
5767
+ };
5617
5768
  /**
5618
5769
  * DriveSyncRead
5619
5770
  * @description Public shape for a DriveSync row returned by the enable-drive-sync endpoint.
@@ -5639,12 +5790,55 @@ interface components {
5639
5790
  folders: string[];
5640
5791
  /**
5641
5792
  * Skip Duplicates
5642
- * @default true
5793
+ * @default false
5643
5794
  */
5644
5795
  skip_duplicates: boolean;
5796
+ /**
5797
+ * Auto Rename
5798
+ * @default false
5799
+ */
5800
+ auto_rename: boolean;
5801
+ /**
5802
+ * Shared
5803
+ * @default false
5804
+ */
5805
+ shared: boolean;
5645
5806
  /** Last Sync At */
5646
5807
  last_sync_at?: string | null;
5647
5808
  };
5809
+ /**
5810
+ * DriveSyncSkippedFile
5811
+ * @description A file a finished run tried but couldn't import, with the reason why.
5812
+ */
5813
+ DriveSyncSkippedFile: {
5814
+ /** Name */
5815
+ name: string;
5816
+ /** Reason */
5817
+ reason: string;
5818
+ };
5819
+ /**
5820
+ * DriveSyncSummary
5821
+ * @description Outcome of the most recently finished run, for a one-shot completion toast.
5822
+ */
5823
+ DriveSyncSummary: {
5824
+ /** Finished At */
5825
+ finished_at: string;
5826
+ /**
5827
+ * Ingested
5828
+ * @default 0
5829
+ */
5830
+ ingested: number;
5831
+ /**
5832
+ * Attempted
5833
+ * @default 0
5834
+ */
5835
+ attempted: number;
5836
+ /**
5837
+ * Skipped
5838
+ * @default []
5839
+ */
5840
+ skipped: components['schemas']['DriveSyncSkippedFile'][];
5841
+ };
5648
5842
  /**
5649
5843
  * EmailNotificationSettings
5650
5844
  * @description Per-category email notification preferences. All default on; a master
@@ -5749,9 +5943,19 @@ interface components {
5749
5943
  folders: string[];
5750
5944
  /**
5751
5945
  * Skip Duplicates
5752
- * @default true
5946
+ * @default false
5753
5947
  */
5754
5948
  skip_duplicates: boolean;
5949
+ /**
5950
+ * Auto Rename
5951
+ * @default false
5952
+ */
5953
+ auto_rename: boolean;
5954
+ /**
5955
+ * Shared
5956
+ * @default false
5957
+ */
5958
+ shared: boolean;
5755
5959
  };
5756
5960
  /** EnableSyncRequest */
5757
5961
  EnableSyncRequest: {
@@ -5762,6 +5966,8 @@ interface components {
5762
5966
  * @default 90
5763
5967
  */
5764
5968
  backfill_window: number;
5969
+ /** Backfill Since */
5970
+ backfill_since?: string | null;
5765
5971
  /** Folders */
5766
5972
  folders: string[];
5767
5973
  /**
@@ -6371,6 +6577,8 @@ interface components {
6371
6577
  target_workspace_id: number;
6372
6578
  /** Backfill Window */
6373
6579
  backfill_window: number;
6580
+ /** Backfill Since */
6581
+ backfill_since?: string | null;
6374
6582
  /** Backfill State */
6375
6583
  backfill_state: string;
6376
6584
  /** Enabled */
@@ -10014,6 +10222,8 @@ interface components {
10014
10222
  last_sync_at?: string | null;
10015
10223
  /** Backfill Window */
10016
10224
  backfill_window?: number | null;
10225
+ /** Backfill Since */
10226
+ backfill_since?: string | null;
10017
10227
  /** Sync Workspace Ext Id */
10018
10228
  sync_workspace_ext_id?: string | null;
10019
10229
  /** Sync Folders */
@@ -10030,6 +10240,12 @@ interface components {
10030
10240
  drive_sync_workspace_ext_id?: string | null;
10031
10241
  /** Drive Sync Folders */
10032
10242
  drive_sync_folders?: string[] | null;
10243
+ /** Drive Skip Duplicates */
10244
+ drive_skip_duplicates?: boolean | null;
10245
+ /** Drive Auto Rename */
10246
+ drive_auto_rename?: boolean | null;
10247
+ /** Drive Shared */
10248
+ drive_shared?: boolean | null;
10033
10249
  /** Drive Needs Reconsent */
10034
10250
  drive_needs_reconsent?: boolean | null;
10035
10251
  };
@@ -10267,9 +10483,24 @@ interface components {
10267
10483
  show_agent_sessions: boolean;
10268
10484
  /**
10269
10485
  * Show Mcp Connectors
10270
- * @default false
10486
+ * @default true
10271
10487
  */
10272
10488
  show_mcp_connectors: boolean;
10489
+ /**
10490
+ * Show Connector Microsoft
10491
+ * @default true
10492
+ */
10493
+ show_connector_microsoft: boolean;
10494
+ /**
10495
+ * Show Connector Google
10496
+ * @default false
10497
+ */
10498
+ show_connector_google: boolean;
10499
+ /**
10500
+ * Show Connector Imanage
10501
+ * @default false
10502
+ */
10503
+ show_connector_imanage: boolean;
10273
10504
  /**
10274
10505
  * Show File Explorer
10275
10506
  * @default false
@@ -10358,6 +10589,12 @@ interface components {
10358
10589
  show_agent_sessions?: boolean | null;
10359
10590
  /** Show Mcp Connectors */
10360
10591
  show_mcp_connectors?: boolean | null;
10592
+ /** Show Connector Microsoft */
10593
+ show_connector_microsoft?: boolean | null;
10594
+ /** Show Connector Google */
10595
+ show_connector_google?: boolean | null;
10596
+ /** Show Connector Imanage */
10597
+ show_connector_imanage?: boolean | null;
10361
10598
  /** Show File Explorer */
10362
10599
  show_file_explorer?: boolean | null;
10363
10600
  /** Show Hints */
@@ -14978,6 +15215,74 @@ interface operations {
14978
15215
  };
14979
15216
  };
14980
15217
  };
15218
+ mailbox_sync_progress: {
15219
+ parameters: {
15220
+ query?: {
15221
+ workspace_ext_id?: string | null;
15222
+ };
15223
+ header?: never;
15224
+ path: {
15225
+ vendor: components['schemas']['VendorKey'];
15226
+ };
15227
+ cookie?: never;
15228
+ };
15229
+ requestBody?: never;
15230
+ responses: {
15231
+ /** @description Successful Response */
15232
+ 200: {
15233
+ headers: {
15234
+ [name: string]: unknown;
15235
+ };
15236
+ content: {
15237
+ 'application/json': components['schemas']['SyncProgressResponse'];
15238
+ };
15239
+ };
15240
+ /** @description Validation Error */
15241
+ 422: {
15242
+ headers: {
15243
+ [name: string]: unknown;
15244
+ };
15245
+ content: {
15246
+ 'application/json': components['schemas']['HTTPValidationError'];
15247
+ };
15248
+ };
15249
+ };
15250
+ };
15251
+ cancel_mailbox_sync: {
15252
+ parameters: {
15253
+ query?: {
15254
+ workspace_ext_id?: string | null;
15255
+ };
15256
+ header?: never;
15257
+ path: {
15258
+ vendor: components['schemas']['VendorKey'];
15259
+ };
15260
+ cookie?: never;
15261
+ };
15262
+ requestBody?: never;
15263
+ responses: {
15264
+ /** @description Successful Response */
15265
+ 202: {
15266
+ headers: {
15267
+ [name: string]: unknown;
15268
+ };
15269
+ content: {
15270
+ 'application/json': {
15271
+ [key: string]: string;
15272
+ };
15273
+ };
15274
+ };
15275
+ /** @description Validation Error */
15276
+ 422: {
15277
+ headers: {
15278
+ [name: string]: unknown;
15279
+ };
15280
+ content: {
15281
+ 'application/json': components['schemas']['HTTPValidationError'];
15282
+ };
15283
+ };
15284
+ };
15285
+ };
14981
15286
  list_drive_folders: {
14982
15287
  parameters: {
14983
15288
  query?: never;
@@ -15009,6 +15314,72 @@ interface operations {
15009
15314
  };
15010
15315
  };
15011
15316
  };
15317
+ drive_folder_doc_count: {
15318
+ parameters: {
15319
+ query: {
15320
+ item_id: string;
15321
+ };
15322
+ header?: never;
15323
+ path: {
15324
+ vendor: components['schemas']['VendorKey'];
15325
+ };
15326
+ cookie?: never;
15327
+ };
15328
+ requestBody?: never;
15329
+ responses: {
15330
+ /** @description Successful Response */
15331
+ 200: {
15332
+ headers: {
15333
+ [name: string]: unknown;
15334
+ };
15335
+ content: {
15336
+ 'application/json': components['schemas']['DriveFolderDocCountResponse'];
15337
+ };
15338
+ };
15339
+ /** @description Validation Error */
15340
+ 422: {
15341
+ headers: {
15342
+ [name: string]: unknown;
15343
+ };
15344
+ content: {
15345
+ 'application/json': components['schemas']['HTTPValidationError'];
15346
+ };
15347
+ };
15348
+ };
15349
+ };
15350
+ drive_folder_children: {
15351
+ parameters: {
15352
+ query?: {
15353
+ item_id?: string;
15354
+ };
15355
+ header?: never;
15356
+ path: {
15357
+ vendor: components['schemas']['VendorKey'];
15358
+ };
15359
+ cookie?: never;
15360
+ };
15361
+ requestBody?: never;
15362
+ responses: {
15363
+ /** @description Successful Response */
15364
+ 200: {
15365
+ headers: {
15366
+ [name: string]: unknown;
15367
+ };
15368
+ content: {
15369
+ 'application/json': components['schemas']['FolderRead'][];
15370
+ };
15371
+ };
15372
+ /** @description Validation Error */
15373
+ 422: {
15374
+ headers: {
15375
+ [name: string]: unknown;
15376
+ };
15377
+ content: {
15378
+ 'application/json': components['schemas']['HTTPValidationError'];
15379
+ };
15380
+ };
15381
+ };
15382
+ };
15012
15383
  enable_drive_sync: {
15013
15384
  parameters: {
15014
15385
  query?: never;
@@ -15075,11 +15446,9 @@ interface operations {
15075
15446
  };
15076
15447
  };
15077
15448
  };
15078
- mailbox_sync_progress: {
15449
+ drive_sync_estimate: {
15079
15450
  parameters: {
15080
- query?: {
15081
- workspace_ext_id?: string | null;
15082
- };
15451
+ query?: never;
15083
15452
  header?: never;
15084
15453
  path: {
15085
15454
  vendor: components['schemas']['VendorKey'];
@@ -15094,7 +15463,7 @@ interface operations {
15094
15463
  [name: string]: unknown;
15095
15464
  };
15096
15465
  content: {
15097
- 'application/json': components['schemas']['SyncProgressResponse'];
15466
+ 'application/json': components['schemas']['DriveSyncEstimateResponse'];
15098
15467
  };
15099
15468
  };
15100
15469
  /** @description Validation Error */
@@ -15108,11 +15477,40 @@ interface operations {
15108
15477
  };
15109
15478
  };
15110
15479
  };
15111
- cancel_mailbox_sync: {
15480
+ drive_sync_progress: {
15112
15481
  parameters: {
15113
- query?: {
15114
- workspace_ext_id?: string | null;
15482
+ query?: never;
15483
+ header?: never;
15484
+ path: {
15485
+ vendor: components['schemas']['VendorKey'];
15115
15486
  };
15487
+ cookie?: never;
15488
+ };
15489
+ requestBody?: never;
15490
+ responses: {
15491
+ /** @description Successful Response */
15492
+ 200: {
15493
+ headers: {
15494
+ [name: string]: unknown;
15495
+ };
15496
+ content: {
15497
+ 'application/json': components['schemas']['DriveSyncProgressResponse'];
15498
+ };
15499
+ };
15500
+ /** @description Validation Error */
15501
+ 422: {
15502
+ headers: {
15503
+ [name: string]: unknown;
15504
+ };
15505
+ content: {
15506
+ 'application/json': components['schemas']['HTTPValidationError'];
15507
+ };
15508
+ };
15509
+ };
15510
+ };
15511
+ cancel_drive_sync: {
15512
+ parameters: {
15513
+ query?: never;
15116
15514
  header?: never;
15117
15515
  path: {
15118
15516
  vendor: components['schemas']['VendorKey'];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arbidocs/client",
3
- "version": "0.3.123",
3
+ "version": "0.3.124",
4
4
  "description": "TypeScript SDK for the ARBI API — zero-knowledge auth, E2E encryption, and type-safe REST client",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",