@opencloud-eu/web-client 8.0.0 → 8.2.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 (34) hide show
  1. package/dist/{axios-ULsDSF3p.js → axios-DRPhbClr.js} +13 -49
  2. package/dist/{dist-WdVfmT0d.js → dist-CHy-DaIN.js} +1 -1
  3. package/dist/{generated-CkfYRFme.js → generated-4nR8KA38.js} +505 -311
  4. package/dist/{graph-D3q1149Y.js → graph-CwVan2Jp.js} +123 -98
  5. package/dist/{helpers-C_9em2wB.js → helpers-Bh5xR_vg.js} +46 -37
  6. package/dist/{ocs-CGD-4vGl.js → ocs-Dfdjrujs.js} +271 -296
  7. package/dist/{ox-D1FgExd1.js → schemas-rdabTCJb.js} +1366 -1250
  8. package/dist/src/errors.d.ts +2 -1
  9. package/dist/src/graph/generated/api.d.ts +639 -24
  10. package/dist/src/graph/guestLinks/guestLinks.d.ts +3 -0
  11. package/dist/src/graph/guestLinks/index.d.ts +2 -0
  12. package/dist/src/graph/guestLinks/types.d.ts +13 -0
  13. package/dist/src/graph/index.d.ts +3 -0
  14. package/dist/src/graph/types.d.ts +1 -0
  15. package/dist/src/helpers/resource/types.d.ts +3 -2
  16. package/dist/src/helpers/share/types.d.ts +3 -0
  17. package/dist/src/helpers/space/functions.d.ts +2 -2
  18. package/dist/src/ocs/capabilities.d.ts +1 -0
  19. package/dist/src/sse/index.d.ts +12 -0
  20. package/dist/src/webdav/client/dav.d.ts +3 -1
  21. package/dist/src/webdav/client/parsers.d.ts +1 -0
  22. package/dist/src/webdav/constants/dav.d.ts +5 -1
  23. package/dist/src/webdav/index.d.ts +1 -1
  24. package/dist/{toString-DfgrQ1mh.js → toString-uorCN9F3.js} +1 -1
  25. package/dist/web-client/graph/generated.js +1 -2
  26. package/dist/web-client/graph.js +1 -2
  27. package/dist/web-client/ocs.js +1 -2
  28. package/dist/web-client/ox.js +49 -2
  29. package/dist/web-client/sse.js +57 -48
  30. package/dist/web-client/webdav.js +2 -2
  31. package/dist/web-client.js +5 -5
  32. package/dist/webdav-DrQsSfxZ.js +6431 -0
  33. package/package.json +2 -4
  34. package/dist/webdav-BxsiETq0.js +0 -4538
@@ -67,6 +67,26 @@ export interface ActivityTopic {
67
67
  */
68
68
  'value': string;
69
69
  }
70
+ /**
71
+ * Specifies an aggregation that should be computed and returned alongside search results. Follows the [MS Graph aggregationOption](https://learn.microsoft.com/en-us/graph/api/resources/aggregationoption) resource type. For string fields, terms aggregations return the distinct values and their counts. For numeric and date fields, range aggregations can be defined using the `ranges` property of `bucketDefinition`. At most one of `bucketDefinition`, `@libre.graph.metricDefinition` and `@libre.graph.geohashDefinition` may be set; requests specifying more than one are rejected with `invalidRequest`.
72
+ */
73
+ export interface AggregationOption {
74
+ /**
75
+ * Specifies the field in the schema of the specified entity type that the aggregation should be computed on. Required. Examples: `audio.artist`, `audio.genre`, `audio.year`, `mimeType`.
76
+ */
77
+ 'field': string;
78
+ /**
79
+ * The number of `searchBucket` resources to be returned. This is optional and only applies to terms and geohash aggregations. For terms aggregations it combines with `bucketDefinition.sortBy` and `bucketDefinition.isDescending` to produce the top N results by count or key; for geohash aggregations it limits the buckets to the top N cells by count. When not specified, all buckets are returned.
80
+ */
81
+ 'size'?: number;
82
+ 'bucketDefinition'?: BucketDefinition;
83
+ /**
84
+ * Nested aggregations computed within each bucket of this aggregation. Libregraph extension not present in MS Graph. Backends that don\'t support native composite aggregations (e.g. bleve) emulate them by walking the matched result set; OpenSearch translates them to native composite aggregations.
85
+ */
86
+ '@libre.graph.subAggregations'?: Array<AggregationOption>;
87
+ '@libre.graph.metricDefinition'?: MetricDefinition;
88
+ '@libre.graph.geohashDefinition'?: GeohashDefinition;
89
+ }
70
90
  export interface AppRole {
71
91
  /**
72
92
  * Specifies whether this app role can be assigned to users and groups (by setting to [\'User\']), to other application\'s (by setting to [\'Application\'], or both (by setting to [\'User\', \'Application\']). App roles supporting assignment to other applications\' service principals are also known as application permissions. The \'Application\' value is only supported for app roles defined on application entities.
@@ -203,6 +223,46 @@ export interface Audio {
203
223
  */
204
224
  'year'?: number;
205
225
  }
226
+ /**
227
+ * Specifies the lower and upper bound to compute a range aggregation bucket. At least one of `from` or `to` must be provided.
228
+ */
229
+ export interface BucketAggregationRange {
230
+ /**
231
+ * Defines the lower bound from which to compute the aggregation. The value is always a string. Numeric bounds must be provided as their string representation (e.g. `\"1980\"`). Date bounds must use the `YYYY-MM-DDTHH:mm:ssZ` format. Optional if `to` is provided.
232
+ */
233
+ 'from'?: string;
234
+ /**
235
+ * Defines the upper bound up to which to compute the aggregation. The value is always a string. Numeric bounds must be provided as their string representation (e.g. `\"2000\"`). Date bounds must use the `YYYY-MM-DDTHH:mm:ssZ` format. Optional if `from` is provided.
236
+ */
237
+ 'to'?: string;
238
+ }
239
+ /**
240
+ * Provides the details of how to generate the aggregation buckets in the response. Follows the [MS Graph bucketAggregationDefinition](https://learn.microsoft.com/en-us/graph/api/resources/bucketaggregationdefinition) resource type.
241
+ */
242
+ export interface BucketDefinition {
243
+ /**
244
+ * The possible values are `count` to sort by the number of matches in the aggregation, `keyAsString` to sort alphabetically based on the key in the aggregation, and `keyAsNumber` to sort numerically based on the key in the aggregation. Required.
245
+ */
246
+ 'sortBy': BucketDefinitionSortByEnum;
247
+ /**
248
+ * Set to `true` to specify the sort order as descending. Optional, defaults to `false` (ascending).
249
+ */
250
+ 'isDescending'?: boolean;
251
+ /**
252
+ * The minimum number of items that should be present in the aggregation for the bucket to be returned in the response. Optional, default is 0.
253
+ */
254
+ 'minimumCount'?: number;
255
+ /**
256
+ * Specifies the manual ranges to compute the aggregation buckets. This is only valid for non-string facets of date or numeric type. Optional. Follows the [MS Graph bucketAggregationRange](https://learn.microsoft.com/en-us/graph/api/resources/bucketaggregationrange) resource type.
257
+ */
258
+ 'ranges'?: Array<BucketAggregationRange>;
259
+ }
260
+ export declare const BucketDefinitionSortByEnum: {
261
+ readonly Count: "count";
262
+ readonly KeyAsString: "keyAsString";
263
+ readonly KeyAsNumber: "keyAsNumber";
264
+ };
265
+ export type BucketDefinitionSortByEnum = typeof BucketDefinitionSortByEnum[keyof typeof BucketDefinitionSortByEnum];
206
266
  export interface ClassMemberReference {
207
267
  '@odata.id'?: string;
208
268
  }
@@ -437,6 +497,7 @@ export interface DriveItem {
437
497
  'video'?: Video;
438
498
  '@libre.graph.motionPhoto'?: MotionPhoto;
439
499
  '@libre.graph.livePhoto'?: LivePhoto;
500
+ 'lockInfo'?: LockInfo;
440
501
  /**
441
502
  * Indicates if the item is synchronized with the underlying storage provider. Read-only.
442
503
  */
@@ -461,7 +522,18 @@ export interface DriveItem {
461
522
  * A list of actions the caller is allowed to perform on this item. Only returned when explicitly requested via `$select` on endpoints that support it. Mirrors the annotation of the same name on the `/permissions` endpoint, allowing clients to learn a caller\'s effective actions on an item without a separate round-trip.
462
523
  */
463
524
  '@libre.graph.permissions.actions.allowedValues'?: Array<string>;
525
+ /**
526
+ * The types of shares existing on this item, aggregated over all of its grants. Absent or empty if the item is not shared. This is a summary of the item\'s `permissions` collection. For the full grants use the permissions endpoints, for the caller\'s own capabilities use `@libre.graph.permissions.actions.allowedValues`. Only returned when explicitly requested via `$select`.
527
+ */
528
+ '@libre.graph.shareTypes'?: Array<DriveItemAtLibreGraphShareTypesEnum>;
464
529
  }
530
+ export declare const DriveItemAtLibreGraphShareTypesEnum: {
531
+ readonly User: "user";
532
+ readonly Group: "group";
533
+ readonly Link: "link";
534
+ readonly Remote: "remote";
535
+ };
536
+ export type DriveItemAtLibreGraphShareTypesEnum = typeof DriveItemAtLibreGraphShareTypesEnum[keyof typeof DriveItemAtLibreGraphShareTypesEnum];
465
537
  export interface DriveItemCreateLink {
466
538
  'type'?: SharingLinkType;
467
539
  /**
@@ -503,6 +575,10 @@ export interface DriveItemInvite {
503
575
  * Represents a person, group, or other recipient to share a drive item with using the invite action. When using invite to add permissions, the `driveRecipient` object would specify the `email`, `alias`, or `objectId` of the recipient. Only one of these values is required; multiple values are not accepted.
504
576
  */
505
577
  export interface DriveRecipient {
578
+ /**
579
+ * The email address for the recipient, if the recipient has an associated email address.
580
+ */
581
+ 'email'?: string;
506
582
  /**
507
583
  * The unique identifier for the recipient in the directory.
508
584
  */
@@ -780,6 +856,15 @@ export interface GeoCoordinates {
780
856
  */
781
857
  'longitude'?: number;
782
858
  }
859
+ /**
860
+ * Provides the details of how to compute a geohash-grid aggregation over `field`, which must resolve to a geo-point field (e.g. `location`). When set on an `aggregationOption`, each `searchBucket` of the corresponding `searchAggregation` carries a geohash cell as its `key`, with `count` holding the number of matches in the cell, suitable for density/heatmap rendering. `size` limits the buckets to the top N cells by count. Libregraph extension not present in MS Graph.
861
+ */
862
+ export interface GeohashDefinition {
863
+ /**
864
+ * The geohash length of the returned cells (1-12); higher means finer cells. Required.
865
+ */
866
+ 'precision': number;
867
+ }
783
868
  export interface Group {
784
869
  /**
785
870
  * Read-only.
@@ -806,6 +891,89 @@ export interface Group {
806
891
  */
807
892
  'members@odata.bind'?: Set<string>;
808
893
  }
894
+ /**
895
+ * Error returned by a guest link endpoint.
896
+ */
897
+ export interface GuestLinkError {
898
+ /**
899
+ * Machine-readable error identifier.
900
+ */
901
+ 'errorType': GuestLinkErrorErrorTypeEnum;
902
+ /**
903
+ * Human-readable error message.
904
+ */
905
+ 'message': string;
906
+ /**
907
+ * Permission (share) identifier related to the error, when known.
908
+ */
909
+ 'permissionId': string;
910
+ /**
911
+ * Number of seconds the client should wait before retrying. Present on rate-limited (429) responses and mirrored in the Retry-After response header.
912
+ */
913
+ 'retryAfter'?: number;
914
+ }
915
+ export declare const GuestLinkErrorErrorTypeEnum: {
916
+ readonly TokenInvalid: "tokenInvalid";
917
+ readonly TokenNotFound: "tokenNotFound";
918
+ readonly TokenExpired: "tokenExpired";
919
+ readonly TokenAlreadyRedeemed: "tokenAlreadyRedeemed";
920
+ readonly ShareNotFound: "shareNotFound";
921
+ readonly ShareExpired: "shareExpired";
922
+ readonly PinInvalid: "pinInvalid";
923
+ readonly PinExpired: "pinExpired";
924
+ readonly NonceInvalid: "nonceInvalid";
925
+ readonly NonceExpired: "nonceExpired";
926
+ readonly Conflict: "conflict";
927
+ readonly TooManyRequests: "tooManyRequests";
928
+ readonly ServiceUnavailable: "serviceUnavailable";
929
+ readonly InvalidRequest: "invalidRequest";
930
+ readonly InternalError: "internalError";
931
+ };
932
+ export type GuestLinkErrorErrorTypeEnum = typeof GuestLinkErrorErrorTypeEnum[keyof typeof GuestLinkErrorErrorTypeEnum];
933
+ /**
934
+ * Request body for renewing a guest link. Only the share (permission) id is sent; the request is authorized by the guest session cookie when one is present.
935
+ */
936
+ export interface GuestLinkRenewRequest {
937
+ /**
938
+ * Identifier of the share (permission) the guest was invited to.
939
+ */
940
+ 'permissionId': string;
941
+ }
942
+ /**
943
+ * Response body for a successful guest link authentication: the share (permission) id the guest was invited to and the expiry of the guest session. A session cookie is set via the Set-Cookie header.
944
+ */
945
+ export interface GuestLinkSessionResponse {
946
+ /**
947
+ * Identifier of the share (permission) the guest was invited to.
948
+ */
949
+ 'permissionId': string;
950
+ /**
951
+ * The date and time when the guest session expires, in UTC. After that the guest has to renew the guest link.
952
+ */
953
+ 'expirationDateTime': string;
954
+ }
955
+ /**
956
+ * Request body for verifying a guest link PIN.
957
+ */
958
+ export interface GuestLinkVerifyPinRequest {
959
+ /**
960
+ * One-time PIN received from the renewed guest link.
961
+ */
962
+ 'pin': string;
963
+ /**
964
+ * Identifier of the share (permission) the guest was invited to.
965
+ */
966
+ 'permissionId': string;
967
+ }
968
+ /**
969
+ * Request body for verifying a guest link token.
970
+ */
971
+ export interface GuestLinkVerifyTokenRequest {
972
+ /**
973
+ * One-time guest link token received from the guest link.
974
+ */
975
+ 'token': string;
976
+ }
809
977
  /**
810
978
  * Hashes of the file\'s binary content, if available. Read-only.
811
979
  */
@@ -962,9 +1130,55 @@ export interface LivePhoto {
962
1130
  */
963
1131
  'vitalityScoringVersion'?: number;
964
1132
  }
1133
+ /**
1134
+ * Read-only lock metadata for a file, matching the MS Graph beta lockInfo resource. Indicates whether the file is locked, the kind of lock, when it was created, when it expires and who holds it.
1135
+ */
1136
+ export interface LockInfo {
1137
+ /**
1138
+ * The type of lock currently held on the file. OpenCloud currently only issues exclusive locks, same as MS Graph, even if it defines more. Read-only.
1139
+ */
1140
+ 'lockType'?: LockInfoLockTypeEnum;
1141
+ /**
1142
+ * The date and time when the lock was created, in UTC. Read-only.
1143
+ */
1144
+ 'createdDateTime'?: string;
1145
+ /**
1146
+ * The date and time when the lock expires, in UTC. Read-only.
1147
+ */
1148
+ 'expirationDateTime'?: string;
1149
+ /**
1150
+ * The collection of users that currently hold the lock on the file. Read-only.
1151
+ */
1152
+ 'owners'?: Array<Identity>;
1153
+ /**
1154
+ * Name of the application holding the lock, for example an office application. Not part of MS Graph. Read-only.
1155
+ */
1156
+ '@libre.graph.appName'?: string;
1157
+ }
1158
+ export declare const LockInfoLockTypeEnum: {
1159
+ readonly None: "none";
1160
+ readonly Exclusive: "exclusive";
1161
+ };
1162
+ export type LockInfoLockTypeEnum = typeof LockInfoLockTypeEnum[keyof typeof LockInfoLockTypeEnum];
965
1163
  export interface MemberReference {
966
1164
  '@odata.id'?: string;
967
1165
  }
1166
+ /**
1167
+ * Provides the details of how to compute a scalar metric over the aggregation `field`, the counterpart of `bucketDefinition` for metric aggregations. When set on an `aggregationOption`, `size` is ignored, and the corresponding `searchAggregation` in the response carries a `@libre.graph.metric` rather than `buckets`. Libregraph extension not present in MS Graph.
1168
+ */
1169
+ export interface MetricDefinition {
1170
+ /**
1171
+ * The reducer applied to the field values of all matches. Required. `avg` is not a simple reducer (averages of averages are not averages): the backend carries `(sum, count)` internally and emits only the final value on the outermost merge.
1172
+ */
1173
+ 'kind': MetricDefinitionKindEnum;
1174
+ }
1175
+ export declare const MetricDefinitionKindEnum: {
1176
+ readonly Sum: "sum";
1177
+ readonly Min: "min";
1178
+ readonly Max: "max";
1179
+ readonly Avg: "avg";
1180
+ };
1181
+ export type MetricDefinitionKindEnum = typeof MetricDefinitionKindEnum[keyof typeof MetricDefinitionKindEnum];
968
1182
  /**
969
1183
  * Motion Photo metadata. A Motion Photo is a still image with a short video clip appended to the end of the file. The presence of this facet on a driveItem indicates that the item is a Motion Photo; absence indicates it is not. Based on the Google Motion Photo format v1.0 specification: https://developer.android.com/media/platform/motion-photo-format
970
1184
  */
@@ -1227,6 +1441,168 @@ export interface RemoteItem {
1227
1441
  */
1228
1442
  'webUrl'?: string;
1229
1443
  }
1444
+ /**
1445
+ * Provides the details of a search aggregation in the search response. Follows the [MS Graph searchAggregation](https://learn.microsoft.com/en-us/graph/api/resources/searchaggregation) resource type.
1446
+ */
1447
+ export interface SearchAggregation {
1448
+ /**
1449
+ * Defines the field in the request on which the aggregation was computed.
1450
+ */
1451
+ 'field'?: string;
1452
+ /**
1453
+ * Defines the computed buckets for this aggregation. For bucket aggregations they are sorted according to the `sortBy` and `isDescending` specified in the `bucketDefinition` of the corresponding `aggregationOption`; for geohash aggregations they are ordered by `count`, descending.
1454
+ */
1455
+ 'buckets'?: Array<SearchBucket>;
1456
+ '@libre.graph.metric'?: SearchMetric;
1457
+ }
1458
+ /**
1459
+ * Represents a single bucket in a search aggregation result. Follows the [MS Graph searchBucket](https://learn.microsoft.com/en-us/graph/api/resources/searchbucket) resource type.
1460
+ */
1461
+ export interface SearchBucket {
1462
+ /**
1463
+ * The discrete value of the field that was used to compute the aggregation. For terms aggregations this is the field value. For range aggregations this is a string representation of the range. For geohash aggregations this is a geohash cell.
1464
+ */
1465
+ 'key'?: string;
1466
+ /**
1467
+ * The approximate number of search matches that share the same value specified in the `key` property.
1468
+ */
1469
+ 'count'?: number;
1470
+ /**
1471
+ * A token containing the encoded filter that narrows search matches to this bucket. To use it, pass it as part of the `aggregationFilters` property of a subsequent `searchRequest` in the format `{field}:{aggregationFilterToken}`. The filter matches the bucket `key` exactly and case-sensitively, so the narrowed result set is the set of matches counted in this bucket. For terms buckets the token is the key encoded as lowercase hex of its UTF-8 bytes, prefixed with `ǂǂ` (U+01C2 twice) and wrapped in double quotes, e.g. `\"ǂǂ5361786f6e\"` for the key `Saxon`. For range buckets the token is `range({from}, {to})` with the bounds of the matching `bucketAggregationRange`; an open lower bound is written as `min`, an open upper bound as `max` followed by `to=\"le\"`, e.g. `range(min, 1980)`, `range(1980, 1990)` and `range(2010, max, to=\"le\")`. This is the same encoding MS Graph uses. Geohash buckets carry no token; narrow by location through the search query instead.
1472
+ */
1473
+ 'aggregationFilterToken'?: string;
1474
+ /**
1475
+ * Nested aggregation results, one per sub-aggregation requested on the parent `aggregationOption`. Libregraph extension not present in MS Graph.
1476
+ */
1477
+ '@libre.graph.subAggregations'?: Array<SearchAggregation>;
1478
+ }
1479
+ /**
1480
+ * Represents an individual search result. Follows the [MS Graph searchHit](https://learn.microsoft.com/en-us/graph/api/resources/searchhit) resource type.
1481
+ */
1482
+ export interface SearchHit {
1483
+ /**
1484
+ * The internal identifier for the item.
1485
+ */
1486
+ 'hitId'?: string;
1487
+ /**
1488
+ * The rank or the order of the result.
1489
+ */
1490
+ 'rank'?: number;
1491
+ /**
1492
+ * A summary of the result, if a summary is available.
1493
+ */
1494
+ 'summary'?: string;
1495
+ 'resource'?: DriveItem;
1496
+ }
1497
+ /**
1498
+ * Contains a collection of search results. Follows the [MS Graph searchHitsContainer](https://learn.microsoft.com/en-us/graph/api/resources/searchhitscontainer) resource type.
1499
+ */
1500
+ export interface SearchHitsContainer {
1501
+ /**
1502
+ * A collection of the search results, ordered by relevance or, when the request specifies `sortProperties`, by those properties.
1503
+ */
1504
+ 'hits'?: Array<SearchHit>;
1505
+ /**
1506
+ * The total number of results. Note this is not the number of results on the page, but the total number of results satisfying the query.
1507
+ */
1508
+ 'total'?: number;
1509
+ /**
1510
+ * Provides information if more results are available. Based on this information, you can adjust the `from` and `size` properties of the `searchRequest` accordingly.
1511
+ */
1512
+ 'moreResultsAvailable'?: boolean;
1513
+ /**
1514
+ * Contains the collection of aggregations computed based on the provided `aggregationOption` definitions in the request.
1515
+ */
1516
+ 'aggregations'?: Array<SearchAggregation>;
1517
+ }
1518
+ /**
1519
+ * The result of a metric aggregation, the counterpart of `buckets` for aggregations requested with a `@libre.graph.metricDefinition`. Absent for terms, range and geohash aggregations. Libregraph extension not present in MS Graph.
1520
+ */
1521
+ export interface SearchMetric {
1522
+ /**
1523
+ * Echoes the `kind` of the corresponding `metricDefinition`, allowing consumers (and the search service\'s cross-space merge layer) to pick the right reducer when combining results.
1524
+ */
1525
+ 'kind'?: SearchMetricKindEnum;
1526
+ /**
1527
+ * The scalar result of the metric.
1528
+ */
1529
+ 'value'?: number;
1530
+ }
1531
+ export declare const SearchMetricKindEnum: {
1532
+ readonly Sum: "sum";
1533
+ readonly Min: "min";
1534
+ readonly Max: "max";
1535
+ readonly Avg: "avg";
1536
+ };
1537
+ export type SearchMetricKindEnum = typeof SearchMetricKindEnum[keyof typeof SearchMetricKindEnum];
1538
+ /**
1539
+ * Represents the search query. Follows the [MS Graph searchQuery](https://learn.microsoft.com/en-us/graph/api/resources/searchquery) resource type.
1540
+ */
1541
+ export interface SearchQuery {
1542
+ /**
1543
+ * The search query string in KQL (Keyword Query Language) format. The query string can contain free-text keywords and property filters. Examples: - `budget report`: free text search - `mediatype:audio`: filter by media type - `audio.artist:\"Saxon\"`: filter by audio metadata - `audio.genre:Rock AND audio.year:1979`: combined filters
1544
+ */
1545
+ 'queryString': string;
1546
+ }
1547
+ export interface SearchQuery200Response {
1548
+ /**
1549
+ * A collection of search response objects, one per request.
1550
+ */
1551
+ 'value'?: Array<SearchResponse>;
1552
+ }
1553
+ export interface SearchQueryRequest {
1554
+ /**
1555
+ * A collection of one or more search requests.
1556
+ */
1557
+ 'requests': Array<SearchRequest>;
1558
+ }
1559
+ /**
1560
+ * Represents an individual search request within a search query. Follows the [MS Graph searchRequest](https://learn.microsoft.com/en-us/graph/api/resources/searchrequest) resource type.
1561
+ */
1562
+ export interface SearchRequest {
1563
+ /**
1564
+ * One or more types of resources expected in the response. Currently only `driveItem` is supported.
1565
+ */
1566
+ 'entityTypes': Array<SearchRequestEntityTypesEnum>;
1567
+ 'query': SearchQuery;
1568
+ /**
1569
+ * Specifies the offset for the search results. Offset 0 returns the very first result. Used together with the `size` property for pagination.
1570
+ */
1571
+ 'from'?: number;
1572
+ /**
1573
+ * The size of the page to be retrieved. The maximum value is 500. Set to 0 to return only aggregations without any hits.
1574
+ */
1575
+ 'size'?: number;
1576
+ /**
1577
+ * Specifies aggregations (also known as refiners or facets) to be returned alongside the search results. Optional.
1578
+ */
1579
+ 'aggregations'?: Array<AggregationOption>;
1580
+ /**
1581
+ * Contains one or more filters to narrow search results to specific buckets of a prior aggregation. Build each filter from the response of a prior search that aggregated on the same field: take the `aggregationFilterToken` of the wanted `searchBucket` and combine it with the field as `{field}:{aggregationFilterToken}`, e.g. `audio.artist:\"ǂǂ5361786f6e\"` for a terms bucket or `audio.year:range(1980, 1990)` for a range bucket. Several buckets of the same field are combined with `{field}:or({aggregationFilterToken},{aggregationFilterToken})`. Whitespace after the commas of `range(...)` and `or(...)` is optional. Multiple filters can be provided as separate array items. This results in a logical AND between the filters. Filters that are not built from server-issued tokens are rejected with `invalidRequest`.
1582
+ */
1583
+ 'aggregationFilters'?: Array<string>;
1584
+ /**
1585
+ * Contains the ordered collection of fields to sort the results on, primary sort key first. At most 5 sort properties. If absent, the results are sorted by relevance. See `sortProperty.name` for the set of sortable fields. Ties are broken by relevance, and results missing the sort property are placed last. Optional.
1586
+ */
1587
+ 'sortProperties'?: Array<SortProperty>;
1588
+ }
1589
+ export declare const SearchRequestEntityTypesEnum: {
1590
+ readonly DriveItem: "driveItem";
1591
+ };
1592
+ export type SearchRequestEntityTypesEnum = typeof SearchRequestEntityTypesEnum[keyof typeof SearchRequestEntityTypesEnum];
1593
+ /**
1594
+ * Represents the response for an individual search request. Follows the [MS Graph searchResponse](https://learn.microsoft.com/en-us/graph/api/resources/searchresponse) resource type.
1595
+ */
1596
+ export interface SearchResponse {
1597
+ /**
1598
+ * Contains the search terms sent in the initial search query.
1599
+ */
1600
+ 'searchTerms'?: Array<string>;
1601
+ /**
1602
+ * A collection of search result sets. One for each entity type that was queried.
1603
+ */
1604
+ 'hitsContainers'?: Array<SearchHitsContainer>;
1605
+ }
1230
1606
  /**
1231
1607
  * This resource is used to represent a set of identities associated with various events for an item, such as created by or last modified by.
1232
1608
  */
@@ -1292,6 +1668,19 @@ export interface SignInActivity {
1292
1668
  */
1293
1669
  'lastSuccessfulSignInDateTime'?: string;
1294
1670
  }
1671
+ /**
1672
+ * Indicates the order to sort search results in. Follows the [MS Graph sortProperty](https://learn.microsoft.com/en-us/graph/api/resources/sortproperty) resource type.
1673
+ */
1674
+ export interface SortProperty {
1675
+ /**
1676
+ * The name of the property to sort the search results by. Required. Sortable are the scalar search fields of the search hit\'s resource: `name`, `size`, `lastModifiedDateTime`, `mimeType` and the scalar facet properties such as `photo.takenDateTime`, `photo.iso`, `audio.artist`, `audio.year` or `image.width`. Strings sort lexicographically, numbers and dates by value. Multivalued properties (e.g. `@libre.graph.tags`) and unknown properties are rejected with `invalidRequest`.
1677
+ */
1678
+ 'name': string;
1679
+ /**
1680
+ * Set to `true` to specify the sort order as descending. Optional, defaults to `false` (ascending).
1681
+ */
1682
+ 'isDescending'?: boolean;
1683
+ }
1295
1684
  /**
1296
1685
  * If the current item is also available as a special folder, this facet is returned. Read-only
1297
1686
  */
@@ -1333,6 +1722,10 @@ export interface Thumbnail {
1333
1722
  * The width of the thumbnail, in pixels.
1334
1723
  */
1335
1724
  'width'?: number;
1725
+ /**
1726
+ * The mime type the thumbnail is served in, e.g. `image/png`. It can differ from the mime type of the item the thumbnail belongs to, for example when the thumbnail is an image taken from inside the item, such as the cover art of an audio file.
1727
+ */
1728
+ '@libre.graph.mimeType'?: string;
1336
1729
  }
1337
1730
  /**
1338
1731
  * The ThumbnailSet resource is a keyed collection of thumbnail resources. It\'s used to represent a set of thumbnails associated with a DriveItem.
@@ -1718,15 +2111,16 @@ export declare const DriveItemApiAxiosParamCreator: (configuration?: Configurati
1718
2111
  */
1719
2112
  deleteDriveItem: (driveId: string, itemId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1720
2113
  /**
1721
- * Get a DriveItem by using its ID.
2114
+ * Get a DriveItem by using its ID. This endpoint also accepts the MS Graph colon-syntax URL forms: GET /v1beta1/drives/{drive-id}/root:/{path} GET /v1beta1/drives/{drive-id}/items/{item-id}:/{path} OpenAPI cannot express the colon-delimited path segment, so these URL forms are not represented as separate operations in this specification. The server still accepts them and resolves `:/{path}` as the item to return. A trailing `:` terminator is accepted as well.
1722
2115
  * @summary Get a DriveItem.
1723
2116
  * @param {string} driveId key: id of drive
1724
2117
  * @param {string} itemId key: id of item
1725
2118
  * @param {Set<GetDriveItemSelectEnum>} [$select] Select additional properties to be returned.
2119
+ * @param {Set<GetDriveItemExpandEnum>} [$expand] Expand related entities to be returned.
1726
2120
  * @param {*} [options] Override http request option.
1727
2121
  * @throws {RequiredError}
1728
2122
  */
1729
- getDriveItem: (driveId: string, itemId: string, $select?: Set<GetDriveItemSelectEnum>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2123
+ getDriveItem: (driveId: string, itemId: string, $select?: Set<GetDriveItemSelectEnum>, $expand?: Set<GetDriveItemExpandEnum>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1730
2124
  /**
1731
2125
  * List the children of the item identified by `item-id` in the drive identified by `drive-id`. The item must exist and be a folder. Modeled on the MS Graph list driveItem children endpoint (https://learn.microsoft.com/en-us/graph/api/driveitem-list-children). This endpoint also accepts the MS Graph colon-syntax URL forms: GET /v1.0/drives/{drive-id}/root:/{path}:/children GET /v1.0/drives/{drive-id}/items/{item-id}:/{path}:/children OpenAPI cannot express the colon-delimited path segment, so these URL forms are not represented as separate operations in this specification. The server still accepts them, resolves `:/{path}:` as the parent item, and lists its children.
1732
2126
  * @summary List children of a DriveItem
@@ -1747,15 +2141,16 @@ export declare const DriveItemApiAxiosParamCreator: (configuration?: Configurati
1747
2141
  */
1748
2142
  getDriveItemContent: (driveId: string, itemId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1749
2143
  /**
1750
- * Get a DriveItem by using its ID. Modeled on the MS Graph get driveItem endpoint (https://learn.microsoft.com/en-us/graph/api/driveitem-get).
2144
+ * Get a DriveItem by using its ID. Modeled on the MS Graph get driveItem endpoint (https://learn.microsoft.com/en-us/graph/api/driveitem-get). This endpoint also accepts the MS Graph colon-syntax URL forms: GET /v1.0/drives/{drive-id}/root:/{path} GET /v1.0/drives/{drive-id}/items/{item-id}:/{path} OpenAPI cannot express the colon-delimited path segment, so these URL forms are not represented as separate operations in this specification. The server still accepts them and resolves `:/{path}` as the item to return. A trailing `:` terminator is accepted as well.
1751
2145
  * @summary Get a DriveItem.
1752
2146
  * @param {string} driveId key: id of drive
1753
2147
  * @param {string} itemId key: id of item
1754
2148
  * @param {Set<GetDriveItemV1SelectEnum>} [$select] Select additional properties to be returned.
2149
+ * @param {Set<GetDriveItemV1ExpandEnum>} [$expand] Expand related entities to be returned.
1755
2150
  * @param {*} [options] Override http request option.
1756
2151
  * @throws {RequiredError}
1757
2152
  */
1758
- getDriveItemV1: (driveId: string, itemId: string, $select?: Set<GetDriveItemV1SelectEnum>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2153
+ getDriveItemV1: (driveId: string, itemId: string, $select?: Set<GetDriveItemV1SelectEnum>, $expand?: Set<GetDriveItemV1ExpandEnum>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1759
2154
  /**
1760
2155
  * Update a DriveItem. The request body must include a JSON object with the properties to update. Only the properties that are provided will be updated. Currently it supports updating the following properties: * `@UI.Hidden` - Hides the item from the UI.
1761
2156
  * @summary Update a DriveItem.
@@ -1793,15 +2188,16 @@ export declare const DriveItemApiFp: (configuration?: Configuration) => {
1793
2188
  */
1794
2189
  deleteDriveItem(driveId: string, itemId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
1795
2190
  /**
1796
- * Get a DriveItem by using its ID.
2191
+ * Get a DriveItem by using its ID. This endpoint also accepts the MS Graph colon-syntax URL forms: GET /v1beta1/drives/{drive-id}/root:/{path} GET /v1beta1/drives/{drive-id}/items/{item-id}:/{path} OpenAPI cannot express the colon-delimited path segment, so these URL forms are not represented as separate operations in this specification. The server still accepts them and resolves `:/{path}` as the item to return. A trailing `:` terminator is accepted as well.
1797
2192
  * @summary Get a DriveItem.
1798
2193
  * @param {string} driveId key: id of drive
1799
2194
  * @param {string} itemId key: id of item
1800
2195
  * @param {Set<GetDriveItemSelectEnum>} [$select] Select additional properties to be returned.
2196
+ * @param {Set<GetDriveItemExpandEnum>} [$expand] Expand related entities to be returned.
1801
2197
  * @param {*} [options] Override http request option.
1802
2198
  * @throws {RequiredError}
1803
2199
  */
1804
- getDriveItem(driveId: string, itemId: string, $select?: Set<GetDriveItemSelectEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DriveItem>>;
2200
+ getDriveItem(driveId: string, itemId: string, $select?: Set<GetDriveItemSelectEnum>, $expand?: Set<GetDriveItemExpandEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DriveItem>>;
1805
2201
  /**
1806
2202
  * List the children of the item identified by `item-id` in the drive identified by `drive-id`. The item must exist and be a folder. Modeled on the MS Graph list driveItem children endpoint (https://learn.microsoft.com/en-us/graph/api/driveitem-list-children). This endpoint also accepts the MS Graph colon-syntax URL forms: GET /v1.0/drives/{drive-id}/root:/{path}:/children GET /v1.0/drives/{drive-id}/items/{item-id}:/{path}:/children OpenAPI cannot express the colon-delimited path segment, so these URL forms are not represented as separate operations in this specification. The server still accepts them, resolves `:/{path}:` as the parent item, and lists its children.
1807
2203
  * @summary List children of a DriveItem
@@ -1822,15 +2218,16 @@ export declare const DriveItemApiFp: (configuration?: Configuration) => {
1822
2218
  */
1823
2219
  getDriveItemContent(driveId: string, itemId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OdataError>>;
1824
2220
  /**
1825
- * Get a DriveItem by using its ID. Modeled on the MS Graph get driveItem endpoint (https://learn.microsoft.com/en-us/graph/api/driveitem-get).
2221
+ * Get a DriveItem by using its ID. Modeled on the MS Graph get driveItem endpoint (https://learn.microsoft.com/en-us/graph/api/driveitem-get). This endpoint also accepts the MS Graph colon-syntax URL forms: GET /v1.0/drives/{drive-id}/root:/{path} GET /v1.0/drives/{drive-id}/items/{item-id}:/{path} OpenAPI cannot express the colon-delimited path segment, so these URL forms are not represented as separate operations in this specification. The server still accepts them and resolves `:/{path}` as the item to return. A trailing `:` terminator is accepted as well.
1826
2222
  * @summary Get a DriveItem.
1827
2223
  * @param {string} driveId key: id of drive
1828
2224
  * @param {string} itemId key: id of item
1829
2225
  * @param {Set<GetDriveItemV1SelectEnum>} [$select] Select additional properties to be returned.
2226
+ * @param {Set<GetDriveItemV1ExpandEnum>} [$expand] Expand related entities to be returned.
1830
2227
  * @param {*} [options] Override http request option.
1831
2228
  * @throws {RequiredError}
1832
2229
  */
1833
- getDriveItemV1(driveId: string, itemId: string, $select?: Set<GetDriveItemV1SelectEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DriveItem>>;
2230
+ getDriveItemV1(driveId: string, itemId: string, $select?: Set<GetDriveItemV1SelectEnum>, $expand?: Set<GetDriveItemV1ExpandEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DriveItem>>;
1834
2231
  /**
1835
2232
  * Update a DriveItem. The request body must include a JSON object with the properties to update. Only the properties that are provided will be updated. Currently it supports updating the following properties: * `@UI.Hidden` - Hides the item from the UI.
1836
2233
  * @summary Update a DriveItem.
@@ -1868,15 +2265,16 @@ export declare const DriveItemApiFactory: (configuration?: Configuration, basePa
1868
2265
  */
1869
2266
  deleteDriveItem(driveId: string, itemId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1870
2267
  /**
1871
- * Get a DriveItem by using its ID.
2268
+ * Get a DriveItem by using its ID. This endpoint also accepts the MS Graph colon-syntax URL forms: GET /v1beta1/drives/{drive-id}/root:/{path} GET /v1beta1/drives/{drive-id}/items/{item-id}:/{path} OpenAPI cannot express the colon-delimited path segment, so these URL forms are not represented as separate operations in this specification. The server still accepts them and resolves `:/{path}` as the item to return. A trailing `:` terminator is accepted as well.
1872
2269
  * @summary Get a DriveItem.
1873
2270
  * @param {string} driveId key: id of drive
1874
2271
  * @param {string} itemId key: id of item
1875
2272
  * @param {Set<GetDriveItemSelectEnum>} [$select] Select additional properties to be returned.
2273
+ * @param {Set<GetDriveItemExpandEnum>} [$expand] Expand related entities to be returned.
1876
2274
  * @param {*} [options] Override http request option.
1877
2275
  * @throws {RequiredError}
1878
2276
  */
1879
- getDriveItem(driveId: string, itemId: string, $select?: Set<GetDriveItemSelectEnum>, options?: RawAxiosRequestConfig): AxiosPromise<DriveItem>;
2277
+ getDriveItem(driveId: string, itemId: string, $select?: Set<GetDriveItemSelectEnum>, $expand?: Set<GetDriveItemExpandEnum>, options?: RawAxiosRequestConfig): AxiosPromise<DriveItem>;
1880
2278
  /**
1881
2279
  * List the children of the item identified by `item-id` in the drive identified by `drive-id`. The item must exist and be a folder. Modeled on the MS Graph list driveItem children endpoint (https://learn.microsoft.com/en-us/graph/api/driveitem-list-children). This endpoint also accepts the MS Graph colon-syntax URL forms: GET /v1.0/drives/{drive-id}/root:/{path}:/children GET /v1.0/drives/{drive-id}/items/{item-id}:/{path}:/children OpenAPI cannot express the colon-delimited path segment, so these URL forms are not represented as separate operations in this specification. The server still accepts them, resolves `:/{path}:` as the parent item, and lists its children.
1882
2280
  * @summary List children of a DriveItem
@@ -1897,15 +2295,16 @@ export declare const DriveItemApiFactory: (configuration?: Configuration, basePa
1897
2295
  */
1898
2296
  getDriveItemContent(driveId: string, itemId: string, options?: RawAxiosRequestConfig): AxiosPromise<OdataError>;
1899
2297
  /**
1900
- * Get a DriveItem by using its ID. Modeled on the MS Graph get driveItem endpoint (https://learn.microsoft.com/en-us/graph/api/driveitem-get).
2298
+ * Get a DriveItem by using its ID. Modeled on the MS Graph get driveItem endpoint (https://learn.microsoft.com/en-us/graph/api/driveitem-get). This endpoint also accepts the MS Graph colon-syntax URL forms: GET /v1.0/drives/{drive-id}/root:/{path} GET /v1.0/drives/{drive-id}/items/{item-id}:/{path} OpenAPI cannot express the colon-delimited path segment, so these URL forms are not represented as separate operations in this specification. The server still accepts them and resolves `:/{path}` as the item to return. A trailing `:` terminator is accepted as well.
1901
2299
  * @summary Get a DriveItem.
1902
2300
  * @param {string} driveId key: id of drive
1903
2301
  * @param {string} itemId key: id of item
1904
2302
  * @param {Set<GetDriveItemV1SelectEnum>} [$select] Select additional properties to be returned.
2303
+ * @param {Set<GetDriveItemV1ExpandEnum>} [$expand] Expand related entities to be returned.
1905
2304
  * @param {*} [options] Override http request option.
1906
2305
  * @throws {RequiredError}
1907
2306
  */
1908
- getDriveItemV1(driveId: string, itemId: string, $select?: Set<GetDriveItemV1SelectEnum>, options?: RawAxiosRequestConfig): AxiosPromise<DriveItem>;
2307
+ getDriveItemV1(driveId: string, itemId: string, $select?: Set<GetDriveItemV1SelectEnum>, $expand?: Set<GetDriveItemV1ExpandEnum>, options?: RawAxiosRequestConfig): AxiosPromise<DriveItem>;
1909
2308
  /**
1910
2309
  * Update a DriveItem. The request body must include a JSON object with the properties to update. Only the properties that are provided will be updated. Currently it supports updating the following properties: * `@UI.Hidden` - Hides the item from the UI.
1911
2310
  * @summary Update a DriveItem.
@@ -1943,15 +2342,16 @@ export declare class DriveItemApi extends BaseAPI {
1943
2342
  */
1944
2343
  deleteDriveItem(driveId: string, itemId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
1945
2344
  /**
1946
- * Get a DriveItem by using its ID.
2345
+ * Get a DriveItem by using its ID. This endpoint also accepts the MS Graph colon-syntax URL forms: GET /v1beta1/drives/{drive-id}/root:/{path} GET /v1beta1/drives/{drive-id}/items/{item-id}:/{path} OpenAPI cannot express the colon-delimited path segment, so these URL forms are not represented as separate operations in this specification. The server still accepts them and resolves `:/{path}` as the item to return. A trailing `:` terminator is accepted as well.
1947
2346
  * @summary Get a DriveItem.
1948
2347
  * @param {string} driveId key: id of drive
1949
2348
  * @param {string} itemId key: id of item
1950
2349
  * @param {Set<GetDriveItemSelectEnum>} [$select] Select additional properties to be returned.
2350
+ * @param {Set<GetDriveItemExpandEnum>} [$expand] Expand related entities to be returned.
1951
2351
  * @param {*} [options] Override http request option.
1952
2352
  * @throws {RequiredError}
1953
2353
  */
1954
- getDriveItem(driveId: string, itemId: string, $select?: Set<GetDriveItemSelectEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DriveItem, any, {}, any>>;
2354
+ getDriveItem(driveId: string, itemId: string, $select?: Set<GetDriveItemSelectEnum>, $expand?: Set<GetDriveItemExpandEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DriveItem, any, {}, any>>;
1955
2355
  /**
1956
2356
  * List the children of the item identified by `item-id` in the drive identified by `drive-id`. The item must exist and be a folder. Modeled on the MS Graph list driveItem children endpoint (https://learn.microsoft.com/en-us/graph/api/driveitem-list-children). This endpoint also accepts the MS Graph colon-syntax URL forms: GET /v1.0/drives/{drive-id}/root:/{path}:/children GET /v1.0/drives/{drive-id}/items/{item-id}:/{path}:/children OpenAPI cannot express the colon-delimited path segment, so these URL forms are not represented as separate operations in this specification. The server still accepts them, resolves `:/{path}:` as the parent item, and lists its children.
1957
2357
  * @summary List children of a DriveItem
@@ -1972,15 +2372,16 @@ export declare class DriveItemApi extends BaseAPI {
1972
2372
  */
1973
2373
  getDriveItemContent(driveId: string, itemId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OdataError, any, {}, any>>;
1974
2374
  /**
1975
- * Get a DriveItem by using its ID. Modeled on the MS Graph get driveItem endpoint (https://learn.microsoft.com/en-us/graph/api/driveitem-get).
2375
+ * Get a DriveItem by using its ID. Modeled on the MS Graph get driveItem endpoint (https://learn.microsoft.com/en-us/graph/api/driveitem-get). This endpoint also accepts the MS Graph colon-syntax URL forms: GET /v1.0/drives/{drive-id}/root:/{path} GET /v1.0/drives/{drive-id}/items/{item-id}:/{path} OpenAPI cannot express the colon-delimited path segment, so these URL forms are not represented as separate operations in this specification. The server still accepts them and resolves `:/{path}` as the item to return. A trailing `:` terminator is accepted as well.
1976
2376
  * @summary Get a DriveItem.
1977
2377
  * @param {string} driveId key: id of drive
1978
2378
  * @param {string} itemId key: id of item
1979
2379
  * @param {Set<GetDriveItemV1SelectEnum>} [$select] Select additional properties to be returned.
2380
+ * @param {Set<GetDriveItemV1ExpandEnum>} [$expand] Expand related entities to be returned.
1980
2381
  * @param {*} [options] Override http request option.
1981
2382
  * @throws {RequiredError}
1982
2383
  */
1983
- getDriveItemV1(driveId: string, itemId: string, $select?: Set<GetDriveItemV1SelectEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DriveItem, any, {}, any>>;
2384
+ getDriveItemV1(driveId: string, itemId: string, $select?: Set<GetDriveItemV1SelectEnum>, $expand?: Set<GetDriveItemV1ExpandEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DriveItem, any, {}, any>>;
1984
2385
  /**
1985
2386
  * Update a DriveItem. The request body must include a JSON object with the properties to update. Only the properties that are provided will be updated. Currently it supports updating the following properties: * `@UI.Hidden` - Hides the item from the UI.
1986
2387
  * @summary Update a DriveItem.
@@ -2005,18 +2406,31 @@ export type CreateChildDriveItemAtLibreGraphMissingParentsBehaviorEnum = typeof
2005
2406
  export declare const GetDriveItemSelectEnum: {
2006
2407
  readonly MicrosoftGraphDownloadUrl: "@microsoft.graph.downloadUrl";
2007
2408
  readonly LibreGraphPermissionsActionsAllowedValues: "@libre.graph.permissions.actions.allowedValues";
2409
+ readonly LibreGraphShareTypes: "@libre.graph.shareTypes";
2008
2410
  };
2009
2411
  export type GetDriveItemSelectEnum = typeof GetDriveItemSelectEnum[keyof typeof GetDriveItemSelectEnum];
2412
+ export declare const GetDriveItemExpandEnum: {
2413
+ readonly Children: "children";
2414
+ readonly Thumbnails: "thumbnails";
2415
+ };
2416
+ export type GetDriveItemExpandEnum = typeof GetDriveItemExpandEnum[keyof typeof GetDriveItemExpandEnum];
2010
2417
  export declare const GetDriveItemChildrenSelectEnum: {
2011
2418
  readonly MicrosoftGraphDownloadUrl: "@microsoft.graph.downloadUrl";
2012
2419
  readonly LibreGraphPermissionsActionsAllowedValues: "@libre.graph.permissions.actions.allowedValues";
2420
+ readonly LibreGraphShareTypes: "@libre.graph.shareTypes";
2013
2421
  };
2014
2422
  export type GetDriveItemChildrenSelectEnum = typeof GetDriveItemChildrenSelectEnum[keyof typeof GetDriveItemChildrenSelectEnum];
2015
2423
  export declare const GetDriveItemV1SelectEnum: {
2016
2424
  readonly MicrosoftGraphDownloadUrl: "@microsoft.graph.downloadUrl";
2017
2425
  readonly LibreGraphPermissionsActionsAllowedValues: "@libre.graph.permissions.actions.allowedValues";
2426
+ readonly LibreGraphShareTypes: "@libre.graph.shareTypes";
2018
2427
  };
2019
2428
  export type GetDriveItemV1SelectEnum = typeof GetDriveItemV1SelectEnum[keyof typeof GetDriveItemV1SelectEnum];
2429
+ export declare const GetDriveItemV1ExpandEnum: {
2430
+ readonly Children: "children";
2431
+ readonly Thumbnails: "thumbnails";
2432
+ };
2433
+ export type GetDriveItemV1ExpandEnum = typeof GetDriveItemV1ExpandEnum[keyof typeof GetDriveItemV1ExpandEnum];
2020
2434
  /**
2021
2435
  * DrivesApi - axios parameter creator
2022
2436
  */
@@ -2658,10 +3072,11 @@ export declare const DrivesRootApiAxiosParamCreator: (configuration?: Configurat
2658
3072
  * @summary Get root from arbitrary space
2659
3073
  * @param {string} driveId key: id of drive
2660
3074
  * @param {Set<GetRootSelectEnum>} [$select] Select additional properties to be returned.
3075
+ * @param {Set<GetRootExpandEnum>} [$expand] Expand related entities to be returned.
2661
3076
  * @param {*} [options] Override http request option.
2662
3077
  * @throws {RequiredError}
2663
3078
  */
2664
- getRoot: (driveId: string, $select?: Set<GetRootSelectEnum>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3079
+ getRoot: (driveId: string, $select?: Set<GetRootSelectEnum>, $expand?: Set<GetRootExpandEnum>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2665
3080
  /**
2666
3081
  * Sends a sharing invitation for the root of a `drive`. A sharing invitation provides permissions to the recipients and optionally sends them an email with a sharing link. The response will be a permission object with the grantedToV2 property containing the created grant details. ## Roles property values For now, roles are only identified by a uuid. There are no hardcoded aliases like `read` or `write` because role actions can be completely customized.
2667
3082
  * @summary Send a sharing invitation
@@ -2751,10 +3166,11 @@ export declare const DrivesRootApiFp: (configuration?: Configuration) => {
2751
3166
  * @summary Get root from arbitrary space
2752
3167
  * @param {string} driveId key: id of drive
2753
3168
  * @param {Set<GetRootSelectEnum>} [$select] Select additional properties to be returned.
3169
+ * @param {Set<GetRootExpandEnum>} [$expand] Expand related entities to be returned.
2754
3170
  * @param {*} [options] Override http request option.
2755
3171
  * @throws {RequiredError}
2756
3172
  */
2757
- getRoot(driveId: string, $select?: Set<GetRootSelectEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DriveItem>>;
3173
+ getRoot(driveId: string, $select?: Set<GetRootSelectEnum>, $expand?: Set<GetRootExpandEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DriveItem>>;
2758
3174
  /**
2759
3175
  * Sends a sharing invitation for the root of a `drive`. A sharing invitation provides permissions to the recipients and optionally sends them an email with a sharing link. The response will be a permission object with the grantedToV2 property containing the created grant details. ## Roles property values For now, roles are only identified by a uuid. There are no hardcoded aliases like `read` or `write` because role actions can be completely customized.
2760
3176
  * @summary Send a sharing invitation
@@ -2844,10 +3260,11 @@ export declare const DrivesRootApiFactory: (configuration?: Configuration, baseP
2844
3260
  * @summary Get root from arbitrary space
2845
3261
  * @param {string} driveId key: id of drive
2846
3262
  * @param {Set<GetRootSelectEnum>} [$select] Select additional properties to be returned.
3263
+ * @param {Set<GetRootExpandEnum>} [$expand] Expand related entities to be returned.
2847
3264
  * @param {*} [options] Override http request option.
2848
3265
  * @throws {RequiredError}
2849
3266
  */
2850
- getRoot(driveId: string, $select?: Set<GetRootSelectEnum>, options?: RawAxiosRequestConfig): AxiosPromise<DriveItem>;
3267
+ getRoot(driveId: string, $select?: Set<GetRootSelectEnum>, $expand?: Set<GetRootExpandEnum>, options?: RawAxiosRequestConfig): AxiosPromise<DriveItem>;
2851
3268
  /**
2852
3269
  * Sends a sharing invitation for the root of a `drive`. A sharing invitation provides permissions to the recipients and optionally sends them an email with a sharing link. The response will be a permission object with the grantedToV2 property containing the created grant details. ## Roles property values For now, roles are only identified by a uuid. There are no hardcoded aliases like `read` or `write` because role actions can be completely customized.
2853
3270
  * @summary Send a sharing invitation
@@ -2937,10 +3354,11 @@ export declare class DrivesRootApi extends BaseAPI {
2937
3354
  * @summary Get root from arbitrary space
2938
3355
  * @param {string} driveId key: id of drive
2939
3356
  * @param {Set<GetRootSelectEnum>} [$select] Select additional properties to be returned.
3357
+ * @param {Set<GetRootExpandEnum>} [$expand] Expand related entities to be returned.
2940
3358
  * @param {*} [options] Override http request option.
2941
3359
  * @throws {RequiredError}
2942
3360
  */
2943
- getRoot(driveId: string, $select?: Set<GetRootSelectEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DriveItem, any, {}, any>>;
3361
+ getRoot(driveId: string, $select?: Set<GetRootSelectEnum>, $expand?: Set<GetRootExpandEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DriveItem, any, {}, any>>;
2944
3362
  /**
2945
3363
  * Sends a sharing invitation for the root of a `drive`. A sharing invitation provides permissions to the recipients and optionally sends them an email with a sharing link. The response will be a permission object with the grantedToV2 property containing the created grant details. ## Roles property values For now, roles are only identified by a uuid. There are no hardcoded aliases like `read` or `write` because role actions can be completely customized.
2946
3364
  * @summary Send a sharing invitation
@@ -2996,8 +3414,14 @@ export type CreateDriveItemAtLibreGraphMissingParentsBehaviorEnum = typeof Creat
2996
3414
  export declare const GetRootSelectEnum: {
2997
3415
  readonly MicrosoftGraphDownloadUrl: "@microsoft.graph.downloadUrl";
2998
3416
  readonly LibreGraphPermissionsActionsAllowedValues: "@libre.graph.permissions.actions.allowedValues";
3417
+ readonly LibreGraphShareTypes: "@libre.graph.shareTypes";
2999
3418
  };
3000
3419
  export type GetRootSelectEnum = typeof GetRootSelectEnum[keyof typeof GetRootSelectEnum];
3420
+ export declare const GetRootExpandEnum: {
3421
+ readonly Children: "children";
3422
+ readonly Thumbnails: "thumbnails";
3423
+ };
3424
+ export type GetRootExpandEnum = typeof GetRootExpandEnum[keyof typeof GetRootExpandEnum];
3001
3425
  export declare const ListPermissionsSpaceRootSelectEnum: {
3002
3426
  readonly LibreGraphPermissionsActionsAllowedValues: "@libre.graph.permissions.actions.allowedValues";
3003
3427
  readonly LibreGraphPermissionsRolesAllowedValues: "@libre.graph.permissions.roles.allowedValues";
@@ -4381,6 +4805,126 @@ export declare const ListGroupsExpandEnum: {
4381
4805
  readonly Members: "members";
4382
4806
  };
4383
4807
  export type ListGroupsExpandEnum = typeof ListGroupsExpandEnum[keyof typeof ListGroupsExpandEnum];
4808
+ /**
4809
+ * GuestLinksApi - axios parameter creator
4810
+ */
4811
+ export declare const GuestLinksApiAxiosParamCreator: (configuration?: Configuration) => {
4812
+ /**
4813
+ * Renew a guest link. When the request carries a valid guest session cookie (possibly expired), a new link token and PIN are generated, the renewal event is published so the guest can be notified, and the nonce cookie that binds the PIN to the browser is set. Without a valid session the link token is rotated silently: no new PIN is generated, no nonce cookie is set, and the request is rate limited.
4814
+ * @summary Renew a guest link
4815
+ * @param {GuestLinkRenewRequest} guestLinkRenewRequest
4816
+ * @param {*} [options] Override http request option.
4817
+ * @throws {RequiredError}
4818
+ */
4819
+ renewGuestLink: (guestLinkRenewRequest: GuestLinkRenewRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
4820
+ /**
4821
+ * Exchange a PIN and a share id for a guest session.
4822
+ * @summary Verify a guest link PIN
4823
+ * @param {string} hostOcGuestNonce Per-share nonce cookie set by the renew endpoint (&#x60;__Host-oc_guest_nonce_&lt;share-hash&gt;&#x60;), binding the PIN to the browser that renewed the link.
4824
+ * @param {GuestLinkVerifyPinRequest} guestLinkVerifyPinRequest
4825
+ * @param {*} [options] Override http request option.
4826
+ * @throws {RequiredError}
4827
+ */
4828
+ verifyGuestLinkPin: (hostOcGuestNonce: string, guestLinkVerifyPinRequest: GuestLinkVerifyPinRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
4829
+ /**
4830
+ * Verify a guest link token to obtain a guest session.
4831
+ * @summary Verify a guest link token
4832
+ * @param {GuestLinkVerifyTokenRequest} guestLinkVerifyTokenRequest
4833
+ * @param {*} [options] Override http request option.
4834
+ * @throws {RequiredError}
4835
+ */
4836
+ verifyGuestLinkToken: (guestLinkVerifyTokenRequest: GuestLinkVerifyTokenRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
4837
+ };
4838
+ /**
4839
+ * GuestLinksApi - functional programming interface
4840
+ */
4841
+ export declare const GuestLinksApiFp: (configuration?: Configuration) => {
4842
+ /**
4843
+ * Renew a guest link. When the request carries a valid guest session cookie (possibly expired), a new link token and PIN are generated, the renewal event is published so the guest can be notified, and the nonce cookie that binds the PIN to the browser is set. Without a valid session the link token is rotated silently: no new PIN is generated, no nonce cookie is set, and the request is rate limited.
4844
+ * @summary Renew a guest link
4845
+ * @param {GuestLinkRenewRequest} guestLinkRenewRequest
4846
+ * @param {*} [options] Override http request option.
4847
+ * @throws {RequiredError}
4848
+ */
4849
+ renewGuestLink(guestLinkRenewRequest: GuestLinkRenewRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
4850
+ /**
4851
+ * Exchange a PIN and a share id for a guest session.
4852
+ * @summary Verify a guest link PIN
4853
+ * @param {string} hostOcGuestNonce Per-share nonce cookie set by the renew endpoint (&#x60;__Host-oc_guest_nonce_&lt;share-hash&gt;&#x60;), binding the PIN to the browser that renewed the link.
4854
+ * @param {GuestLinkVerifyPinRequest} guestLinkVerifyPinRequest
4855
+ * @param {*} [options] Override http request option.
4856
+ * @throws {RequiredError}
4857
+ */
4858
+ verifyGuestLinkPin(hostOcGuestNonce: string, guestLinkVerifyPinRequest: GuestLinkVerifyPinRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GuestLinkSessionResponse>>;
4859
+ /**
4860
+ * Verify a guest link token to obtain a guest session.
4861
+ * @summary Verify a guest link token
4862
+ * @param {GuestLinkVerifyTokenRequest} guestLinkVerifyTokenRequest
4863
+ * @param {*} [options] Override http request option.
4864
+ * @throws {RequiredError}
4865
+ */
4866
+ verifyGuestLinkToken(guestLinkVerifyTokenRequest: GuestLinkVerifyTokenRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GuestLinkSessionResponse>>;
4867
+ };
4868
+ /**
4869
+ * GuestLinksApi - factory interface
4870
+ */
4871
+ export declare const GuestLinksApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
4872
+ /**
4873
+ * Renew a guest link. When the request carries a valid guest session cookie (possibly expired), a new link token and PIN are generated, the renewal event is published so the guest can be notified, and the nonce cookie that binds the PIN to the browser is set. Without a valid session the link token is rotated silently: no new PIN is generated, no nonce cookie is set, and the request is rate limited.
4874
+ * @summary Renew a guest link
4875
+ * @param {GuestLinkRenewRequest} guestLinkRenewRequest
4876
+ * @param {*} [options] Override http request option.
4877
+ * @throws {RequiredError}
4878
+ */
4879
+ renewGuestLink(guestLinkRenewRequest: GuestLinkRenewRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
4880
+ /**
4881
+ * Exchange a PIN and a share id for a guest session.
4882
+ * @summary Verify a guest link PIN
4883
+ * @param {string} hostOcGuestNonce Per-share nonce cookie set by the renew endpoint (&#x60;__Host-oc_guest_nonce_&lt;share-hash&gt;&#x60;), binding the PIN to the browser that renewed the link.
4884
+ * @param {GuestLinkVerifyPinRequest} guestLinkVerifyPinRequest
4885
+ * @param {*} [options] Override http request option.
4886
+ * @throws {RequiredError}
4887
+ */
4888
+ verifyGuestLinkPin(hostOcGuestNonce: string, guestLinkVerifyPinRequest: GuestLinkVerifyPinRequest, options?: RawAxiosRequestConfig): AxiosPromise<GuestLinkSessionResponse>;
4889
+ /**
4890
+ * Verify a guest link token to obtain a guest session.
4891
+ * @summary Verify a guest link token
4892
+ * @param {GuestLinkVerifyTokenRequest} guestLinkVerifyTokenRequest
4893
+ * @param {*} [options] Override http request option.
4894
+ * @throws {RequiredError}
4895
+ */
4896
+ verifyGuestLinkToken(guestLinkVerifyTokenRequest: GuestLinkVerifyTokenRequest, options?: RawAxiosRequestConfig): AxiosPromise<GuestLinkSessionResponse>;
4897
+ };
4898
+ /**
4899
+ * GuestLinksApi - object-oriented interface
4900
+ */
4901
+ export declare class GuestLinksApi extends BaseAPI {
4902
+ /**
4903
+ * Renew a guest link. When the request carries a valid guest session cookie (possibly expired), a new link token and PIN are generated, the renewal event is published so the guest can be notified, and the nonce cookie that binds the PIN to the browser is set. Without a valid session the link token is rotated silently: no new PIN is generated, no nonce cookie is set, and the request is rate limited.
4904
+ * @summary Renew a guest link
4905
+ * @param {GuestLinkRenewRequest} guestLinkRenewRequest
4906
+ * @param {*} [options] Override http request option.
4907
+ * @throws {RequiredError}
4908
+ */
4909
+ renewGuestLink(guestLinkRenewRequest: GuestLinkRenewRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
4910
+ /**
4911
+ * Exchange a PIN and a share id for a guest session.
4912
+ * @summary Verify a guest link PIN
4913
+ * @param {string} hostOcGuestNonce Per-share nonce cookie set by the renew endpoint (&#x60;__Host-oc_guest_nonce_&lt;share-hash&gt;&#x60;), binding the PIN to the browser that renewed the link.
4914
+ * @param {GuestLinkVerifyPinRequest} guestLinkVerifyPinRequest
4915
+ * @param {*} [options] Override http request option.
4916
+ * @throws {RequiredError}
4917
+ */
4918
+ verifyGuestLinkPin(hostOcGuestNonce: string, guestLinkVerifyPinRequest: GuestLinkVerifyPinRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GuestLinkSessionResponse, any, {}, any>>;
4919
+ /**
4920
+ * Verify a guest link token to obtain a guest session.
4921
+ * @summary Verify a guest link token
4922
+ * @param {GuestLinkVerifyTokenRequest} guestLinkVerifyTokenRequest
4923
+ * @param {*} [options] Override http request option.
4924
+ * @throws {RequiredError}
4925
+ */
4926
+ verifyGuestLinkToken(guestLinkVerifyTokenRequest: GuestLinkVerifyTokenRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GuestLinkSessionResponse, any, {}, any>>;
4927
+ }
4384
4928
  /**
4385
4929
  * InvitationsApi - axios parameter creator
4386
4930
  */
@@ -4737,10 +5281,11 @@ export declare const MeDriveRootApiAxiosParamCreator: (configuration?: Configura
4737
5281
  *
4738
5282
  * @summary Get root from personal space
4739
5283
  * @param {Set<HomeGetRootSelectEnum>} [$select] Select additional properties to be returned.
5284
+ * @param {Set<HomeGetRootExpandEnum>} [$expand] Expand related entities to be returned.
4740
5285
  * @param {*} [options] Override http request option.
4741
5286
  * @throws {RequiredError}
4742
5287
  */
4743
- homeGetRoot: ($select?: Set<HomeGetRootSelectEnum>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5288
+ homeGetRoot: ($select?: Set<HomeGetRootSelectEnum>, $expand?: Set<HomeGetRootExpandEnum>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
4744
5289
  };
4745
5290
  /**
4746
5291
  * MeDriveRootApi - functional programming interface
@@ -4750,10 +5295,11 @@ export declare const MeDriveRootApiFp: (configuration?: Configuration) => {
4750
5295
  *
4751
5296
  * @summary Get root from personal space
4752
5297
  * @param {Set<HomeGetRootSelectEnum>} [$select] Select additional properties to be returned.
5298
+ * @param {Set<HomeGetRootExpandEnum>} [$expand] Expand related entities to be returned.
4753
5299
  * @param {*} [options] Override http request option.
4754
5300
  * @throws {RequiredError}
4755
5301
  */
4756
- homeGetRoot($select?: Set<HomeGetRootSelectEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DriveItem>>;
5302
+ homeGetRoot($select?: Set<HomeGetRootSelectEnum>, $expand?: Set<HomeGetRootExpandEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DriveItem>>;
4757
5303
  };
4758
5304
  /**
4759
5305
  * MeDriveRootApi - factory interface
@@ -4763,10 +5309,11 @@ export declare const MeDriveRootApiFactory: (configuration?: Configuration, base
4763
5309
  *
4764
5310
  * @summary Get root from personal space
4765
5311
  * @param {Set<HomeGetRootSelectEnum>} [$select] Select additional properties to be returned.
5312
+ * @param {Set<HomeGetRootExpandEnum>} [$expand] Expand related entities to be returned.
4766
5313
  * @param {*} [options] Override http request option.
4767
5314
  * @throws {RequiredError}
4768
5315
  */
4769
- homeGetRoot($select?: Set<HomeGetRootSelectEnum>, options?: RawAxiosRequestConfig): AxiosPromise<DriveItem>;
5316
+ homeGetRoot($select?: Set<HomeGetRootSelectEnum>, $expand?: Set<HomeGetRootExpandEnum>, options?: RawAxiosRequestConfig): AxiosPromise<DriveItem>;
4770
5317
  };
4771
5318
  /**
4772
5319
  * MeDriveRootApi - object-oriented interface
@@ -4776,16 +5323,23 @@ export declare class MeDriveRootApi extends BaseAPI {
4776
5323
  *
4777
5324
  * @summary Get root from personal space
4778
5325
  * @param {Set<HomeGetRootSelectEnum>} [$select] Select additional properties to be returned.
5326
+ * @param {Set<HomeGetRootExpandEnum>} [$expand] Expand related entities to be returned.
4779
5327
  * @param {*} [options] Override http request option.
4780
5328
  * @throws {RequiredError}
4781
5329
  */
4782
- homeGetRoot($select?: Set<HomeGetRootSelectEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DriveItem, any, {}, any>>;
5330
+ homeGetRoot($select?: Set<HomeGetRootSelectEnum>, $expand?: Set<HomeGetRootExpandEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DriveItem, any, {}, any>>;
4783
5331
  }
4784
5332
  export declare const HomeGetRootSelectEnum: {
4785
5333
  readonly MicrosoftGraphDownloadUrl: "@microsoft.graph.downloadUrl";
4786
5334
  readonly LibreGraphPermissionsActionsAllowedValues: "@libre.graph.permissions.actions.allowedValues";
5335
+ readonly LibreGraphShareTypes: "@libre.graph.shareTypes";
4787
5336
  };
4788
5337
  export type HomeGetRootSelectEnum = typeof HomeGetRootSelectEnum[keyof typeof HomeGetRootSelectEnum];
5338
+ export declare const HomeGetRootExpandEnum: {
5339
+ readonly Children: "children";
5340
+ readonly Thumbnails: "thumbnails";
5341
+ };
5342
+ export type HomeGetRootExpandEnum = typeof HomeGetRootExpandEnum[keyof typeof HomeGetRootExpandEnum];
4789
5343
  /**
4790
5344
  * MeDriveRootChildrenApi - axios parameter creator
4791
5345
  */
@@ -4841,6 +5395,7 @@ export declare class MeDriveRootChildrenApi extends BaseAPI {
4841
5395
  export declare const HomeGetChildrenSelectEnum: {
4842
5396
  readonly MicrosoftGraphDownloadUrl: "@microsoft.graph.downloadUrl";
4843
5397
  readonly LibreGraphPermissionsActionsAllowedValues: "@libre.graph.permissions.actions.allowedValues";
5398
+ readonly LibreGraphShareTypes: "@libre.graph.shareTypes";
4844
5399
  };
4845
5400
  export type HomeGetChildrenSelectEnum = typeof HomeGetChildrenSelectEnum[keyof typeof HomeGetChildrenSelectEnum];
4846
5401
  /**
@@ -5255,6 +5810,66 @@ export declare class RoleManagementApi extends BaseAPI {
5255
5810
  */
5256
5811
  listPermissionRoleDefinitions(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UnifiedRoleDefinition[], any, {}, any>>;
5257
5812
  }
5813
+ /**
5814
+ * SearchApi - axios parameter creator
5815
+ */
5816
+ export declare const SearchApiAxiosParamCreator: (configuration?: Configuration) => {
5817
+ /**
5818
+ * Run a specified search query. Search results are provided in the response. The search endpoint allows clients to search for resources across all accessible spaces and retrieve aggregated metadata (facets) about the result set. Aggregations can be used to group results by properties such as file type, author, or any indexed metadata field. This is useful for building faceted search UIs or computing statistics about the result set. The query string uses KQL (Keyword Query Language) syntax for filtering. Results are sorted by relevance unless the request specifies `sortProperties`. Modeled on the MS Graph search query endpoint (https://learn.microsoft.com/en-us/graph/api/search-query). Request and response follow the MS Graph resource types; Libregraph additions carry the `@libre.graph.` prefix.
5819
+ * @summary Search for resources
5820
+ * @param {SearchQueryRequest} searchQueryRequest
5821
+ * @param {Set<SearchQueryExpandEnum>} [$expand] Relationships to expand inline on each hit\&#39;s driveItem. Only &#x60;thumbnails&#x60; is supported, attaching a preview thumbnail set for thumbnailable mime types. Libregraph extension: MS Graph search has no $expand and returns no thumbnails on search hits.
5822
+ * @param {*} [options] Override http request option.
5823
+ * @throws {RequiredError}
5824
+ */
5825
+ searchQuery: (searchQueryRequest: SearchQueryRequest, $expand?: Set<SearchQueryExpandEnum>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5826
+ };
5827
+ /**
5828
+ * SearchApi - functional programming interface
5829
+ */
5830
+ export declare const SearchApiFp: (configuration?: Configuration) => {
5831
+ /**
5832
+ * Run a specified search query. Search results are provided in the response. The search endpoint allows clients to search for resources across all accessible spaces and retrieve aggregated metadata (facets) about the result set. Aggregations can be used to group results by properties such as file type, author, or any indexed metadata field. This is useful for building faceted search UIs or computing statistics about the result set. The query string uses KQL (Keyword Query Language) syntax for filtering. Results are sorted by relevance unless the request specifies `sortProperties`. Modeled on the MS Graph search query endpoint (https://learn.microsoft.com/en-us/graph/api/search-query). Request and response follow the MS Graph resource types; Libregraph additions carry the `@libre.graph.` prefix.
5833
+ * @summary Search for resources
5834
+ * @param {SearchQueryRequest} searchQueryRequest
5835
+ * @param {Set<SearchQueryExpandEnum>} [$expand] Relationships to expand inline on each hit\&#39;s driveItem. Only &#x60;thumbnails&#x60; is supported, attaching a preview thumbnail set for thumbnailable mime types. Libregraph extension: MS Graph search has no $expand and returns no thumbnails on search hits.
5836
+ * @param {*} [options] Override http request option.
5837
+ * @throws {RequiredError}
5838
+ */
5839
+ searchQuery(searchQueryRequest: SearchQueryRequest, $expand?: Set<SearchQueryExpandEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SearchQuery200Response>>;
5840
+ };
5841
+ /**
5842
+ * SearchApi - factory interface
5843
+ */
5844
+ export declare const SearchApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
5845
+ /**
5846
+ * Run a specified search query. Search results are provided in the response. The search endpoint allows clients to search for resources across all accessible spaces and retrieve aggregated metadata (facets) about the result set. Aggregations can be used to group results by properties such as file type, author, or any indexed metadata field. This is useful for building faceted search UIs or computing statistics about the result set. The query string uses KQL (Keyword Query Language) syntax for filtering. Results are sorted by relevance unless the request specifies `sortProperties`. Modeled on the MS Graph search query endpoint (https://learn.microsoft.com/en-us/graph/api/search-query). Request and response follow the MS Graph resource types; Libregraph additions carry the `@libre.graph.` prefix.
5847
+ * @summary Search for resources
5848
+ * @param {SearchQueryRequest} searchQueryRequest
5849
+ * @param {Set<SearchQueryExpandEnum>} [$expand] Relationships to expand inline on each hit\&#39;s driveItem. Only &#x60;thumbnails&#x60; is supported, attaching a preview thumbnail set for thumbnailable mime types. Libregraph extension: MS Graph search has no $expand and returns no thumbnails on search hits.
5850
+ * @param {*} [options] Override http request option.
5851
+ * @throws {RequiredError}
5852
+ */
5853
+ searchQuery(searchQueryRequest: SearchQueryRequest, $expand?: Set<SearchQueryExpandEnum>, options?: RawAxiosRequestConfig): AxiosPromise<SearchQuery200Response>;
5854
+ };
5855
+ /**
5856
+ * SearchApi - object-oriented interface
5857
+ */
5858
+ export declare class SearchApi extends BaseAPI {
5859
+ /**
5860
+ * Run a specified search query. Search results are provided in the response. The search endpoint allows clients to search for resources across all accessible spaces and retrieve aggregated metadata (facets) about the result set. Aggregations can be used to group results by properties such as file type, author, or any indexed metadata field. This is useful for building faceted search UIs or computing statistics about the result set. The query string uses KQL (Keyword Query Language) syntax for filtering. Results are sorted by relevance unless the request specifies `sortProperties`. Modeled on the MS Graph search query endpoint (https://learn.microsoft.com/en-us/graph/api/search-query). Request and response follow the MS Graph resource types; Libregraph additions carry the `@libre.graph.` prefix.
5861
+ * @summary Search for resources
5862
+ * @param {SearchQueryRequest} searchQueryRequest
5863
+ * @param {Set<SearchQueryExpandEnum>} [$expand] Relationships to expand inline on each hit\&#39;s driveItem. Only &#x60;thumbnails&#x60; is supported, attaching a preview thumbnail set for thumbnailable mime types. Libregraph extension: MS Graph search has no $expand and returns no thumbnails on search hits.
5864
+ * @param {*} [options] Override http request option.
5865
+ * @throws {RequiredError}
5866
+ */
5867
+ searchQuery(searchQueryRequest: SearchQueryRequest, $expand?: Set<SearchQueryExpandEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SearchQuery200Response, any, {}, any>>;
5868
+ }
5869
+ export declare const SearchQueryExpandEnum: {
5870
+ readonly Thumbnails: "thumbnails";
5871
+ };
5872
+ export type SearchQueryExpandEnum = typeof SearchQueryExpandEnum[keyof typeof SearchQueryExpandEnum];
5258
5873
  /**
5259
5874
  * TagsApi - axios parameter creator
5260
5875
  */