@softeria/ms-365-mcp-server 0.13.3 → 0.14.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.
@@ -2827,6 +2827,7 @@ const microsoft_graph_plannerPlan = z.object({
2827
2827
  details: microsoft_graph_plannerPlanDetails.optional(),
2828
2828
  tasks: z.array(microsoft_graph_plannerTask).describe("Read-only. Nullable. Collection of tasks in the plan.").optional()
2829
2829
  }).strict();
2830
+ const search_query_Body = z.object({ requests: z.array(z.object({}).partial().strict()) }).partial().strict();
2830
2831
  const microsoft_graph_root = z.object({}).strict();
2831
2832
  const microsoft_graph_siteArchiveStatus = z.enum([
2832
2833
  "recentlyArchived",
@@ -3207,6 +3208,7 @@ const schemas = {
3207
3208
  microsoft_graph_plannerUserIds,
3208
3209
  microsoft_graph_plannerPlanDetails,
3209
3210
  microsoft_graph_plannerPlan,
3211
+ search_query_Body,
3210
3212
  microsoft_graph_root,
3211
3213
  microsoft_graph_siteArchiveStatus,
3212
3214
  microsoft_graph_siteArchivalDetails,
@@ -3265,6 +3267,31 @@ const endpoints = makeApi([
3265
3267
  description: `Retrieve the list of messages in a chat. This method supports federation. To list chat messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel).`,
3266
3268
  requestFormat: "json",
3267
3269
  parameters: [
3270
+ {
3271
+ name: "$top",
3272
+ type: "Query",
3273
+ schema: z.number().int().gte(0).describe("Show only the first n items").optional()
3274
+ },
3275
+ {
3276
+ name: "$skip",
3277
+ type: "Query",
3278
+ schema: z.number().int().gte(0).describe("Skip the first n items").optional()
3279
+ },
3280
+ {
3281
+ name: "$search",
3282
+ type: "Query",
3283
+ schema: z.string().describe("Search items by search phrases").optional()
3284
+ },
3285
+ {
3286
+ name: "$filter",
3287
+ type: "Query",
3288
+ schema: z.string().describe("Filter items by property values").optional()
3289
+ },
3290
+ {
3291
+ name: "$count",
3292
+ type: "Query",
3293
+ schema: z.boolean().describe("Include count of items").optional()
3294
+ },
3268
3295
  {
3269
3296
  name: "$orderby",
3270
3297
  type: "Query",
@@ -3377,6 +3404,31 @@ const endpoints = makeApi([
3377
3404
  description: `Replies for a specified message. Supports $expand for channel messages.`,
3378
3405
  requestFormat: "json",
3379
3406
  parameters: [
3407
+ {
3408
+ name: "$top",
3409
+ type: "Query",
3410
+ schema: z.number().int().gte(0).describe("Show only the first n items").optional()
3411
+ },
3412
+ {
3413
+ name: "$skip",
3414
+ type: "Query",
3415
+ schema: z.number().int().gte(0).describe("Skip the first n items").optional()
3416
+ },
3417
+ {
3418
+ name: "$search",
3419
+ type: "Query",
3420
+ schema: z.string().describe("Search items by search phrases").optional()
3421
+ },
3422
+ {
3423
+ name: "$filter",
3424
+ type: "Query",
3425
+ schema: z.string().describe("Filter items by property values").optional()
3426
+ },
3427
+ {
3428
+ name: "$count",
3429
+ type: "Query",
3430
+ schema: z.boolean().describe("Include count of items").optional()
3431
+ },
3380
3432
  {
3381
3433
  name: "$orderby",
3382
3434
  type: "Query",
@@ -3479,6 +3531,31 @@ const endpoints = makeApi([
3479
3531
  description: `Return a collection of DriveItems in the children relationship of a DriveItem. DriveItems with a non-null folder or package facet can have one or more child DriveItems.`,
3480
3532
  requestFormat: "json",
3481
3533
  parameters: [
3534
+ {
3535
+ name: "$top",
3536
+ type: "Query",
3537
+ schema: z.number().int().gte(0).describe("Show only the first n items").optional()
3538
+ },
3539
+ {
3540
+ name: "$skip",
3541
+ type: "Query",
3542
+ schema: z.number().int().gte(0).describe("Skip the first n items").optional()
3543
+ },
3544
+ {
3545
+ name: "$search",
3546
+ type: "Query",
3547
+ schema: z.string().describe("Search items by search phrases").optional()
3548
+ },
3549
+ {
3550
+ name: "$filter",
3551
+ type: "Query",
3552
+ schema: z.string().describe("Filter items by property values").optional()
3553
+ },
3554
+ {
3555
+ name: "$count",
3556
+ type: "Query",
3557
+ schema: z.boolean().describe("Include count of items").optional()
3558
+ },
3482
3559
  {
3483
3560
  name: "$orderby",
3484
3561
  type: "Query",
@@ -3620,6 +3697,31 @@ const endpoints = makeApi([
3620
3697
  description: `Represents a collection of worksheets associated with the workbook. Read-only.`,
3621
3698
  requestFormat: "json",
3622
3699
  parameters: [
3700
+ {
3701
+ name: "$top",
3702
+ type: "Query",
3703
+ schema: z.number().int().gte(0).describe("Show only the first n items").optional()
3704
+ },
3705
+ {
3706
+ name: "$skip",
3707
+ type: "Query",
3708
+ schema: z.number().int().gte(0).describe("Skip the first n items").optional()
3709
+ },
3710
+ {
3711
+ name: "$search",
3712
+ type: "Query",
3713
+ schema: z.string().describe("Search items by search phrases").optional()
3714
+ },
3715
+ {
3716
+ name: "$filter",
3717
+ type: "Query",
3718
+ schema: z.string().describe("Filter items by property values").optional()
3719
+ },
3720
+ {
3721
+ name: "$count",
3722
+ type: "Query",
3723
+ schema: z.boolean().describe("Include count of items").optional()
3724
+ },
3623
3725
  {
3624
3726
  name: "$orderby",
3625
3727
  type: "Query",
@@ -3985,6 +4087,31 @@ const endpoints = makeApi([
3985
4087
  description: `Get all the user's calendars (/calendars navigation property), get the calendars from the default calendar group or from a specific calendar group.`,
3986
4088
  requestFormat: "json",
3987
4089
  parameters: [
4090
+ {
4091
+ name: "$top",
4092
+ type: "Query",
4093
+ schema: z.number().int().gte(0).describe("Show only the first n items").optional()
4094
+ },
4095
+ {
4096
+ name: "$skip",
4097
+ type: "Query",
4098
+ schema: z.number().int().gte(0).describe("Skip the first n items").optional()
4099
+ },
4100
+ {
4101
+ name: "$search",
4102
+ type: "Query",
4103
+ schema: z.string().describe("Search items by search phrases").optional()
4104
+ },
4105
+ {
4106
+ name: "$filter",
4107
+ type: "Query",
4108
+ schema: z.string().describe("Filter items by property values").optional()
4109
+ },
4110
+ {
4111
+ name: "$count",
4112
+ type: "Query",
4113
+ schema: z.boolean().describe("Include count of items").optional()
4114
+ },
3988
4115
  {
3989
4116
  name: "$orderby",
3990
4117
  type: "Query",
@@ -4042,6 +4169,31 @@ or from some other calendar of the user.`,
4042
4169
  "The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00"
4043
4170
  )
4044
4171
  },
4172
+ {
4173
+ name: "$top",
4174
+ type: "Query",
4175
+ schema: z.number().int().gte(0).describe("Show only the first n items").optional()
4176
+ },
4177
+ {
4178
+ name: "$skip",
4179
+ type: "Query",
4180
+ schema: z.number().int().gte(0).describe("Skip the first n items").optional()
4181
+ },
4182
+ {
4183
+ name: "$search",
4184
+ type: "Query",
4185
+ schema: z.string().describe("Search items by search phrases").optional()
4186
+ },
4187
+ {
4188
+ name: "$filter",
4189
+ type: "Query",
4190
+ schema: z.string().describe("Filter items by property values").optional()
4191
+ },
4192
+ {
4193
+ name: "$count",
4194
+ type: "Query",
4195
+ schema: z.boolean().describe("Include count of items").optional()
4196
+ },
4045
4197
  {
4046
4198
  name: "$orderby",
4047
4199
  type: "Query",
@@ -4084,6 +4236,31 @@ or from some other calendar of the user.`,
4084
4236
  description: `Get chats from me`,
4085
4237
  requestFormat: "json",
4086
4238
  parameters: [
4239
+ {
4240
+ name: "$top",
4241
+ type: "Query",
4242
+ schema: z.number().int().gte(0).describe("Show only the first n items").optional()
4243
+ },
4244
+ {
4245
+ name: "$skip",
4246
+ type: "Query",
4247
+ schema: z.number().int().gte(0).describe("Skip the first n items").optional()
4248
+ },
4249
+ {
4250
+ name: "$search",
4251
+ type: "Query",
4252
+ schema: z.string().describe("Search items by search phrases").optional()
4253
+ },
4254
+ {
4255
+ name: "$filter",
4256
+ type: "Query",
4257
+ schema: z.string().describe("Filter items by property values").optional()
4258
+ },
4259
+ {
4260
+ name: "$count",
4261
+ type: "Query",
4262
+ schema: z.boolean().describe("Include count of items").optional()
4263
+ },
4087
4264
  {
4088
4265
  name: "$orderby",
4089
4266
  type: "Query",
@@ -4126,6 +4303,31 @@ or from some other calendar of the user.`,
4126
4303
  description: `Get a contact collection from the default contacts folder of the signed-in user. There are two scenarios where an app can get contacts in another user's contact folder:`,
4127
4304
  requestFormat: "json",
4128
4305
  parameters: [
4306
+ {
4307
+ name: "$top",
4308
+ type: "Query",
4309
+ schema: z.number().int().gte(0).describe("Show only the first n items").optional()
4310
+ },
4311
+ {
4312
+ name: "$skip",
4313
+ type: "Query",
4314
+ schema: z.number().int().gte(0).describe("Skip the first n items").optional()
4315
+ },
4316
+ {
4317
+ name: "$search",
4318
+ type: "Query",
4319
+ schema: z.string().describe("Search items by search phrases").optional()
4320
+ },
4321
+ {
4322
+ name: "$filter",
4323
+ type: "Query",
4324
+ schema: z.string().describe("Filter items by property values").optional()
4325
+ },
4326
+ {
4327
+ name: "$count",
4328
+ type: "Query",
4329
+ schema: z.boolean().describe("Include count of items").optional()
4330
+ },
4129
4331
  {
4130
4332
  name: "$orderby",
4131
4333
  type: "Query",
@@ -4458,6 +4660,31 @@ or from some other calendar of the user.`,
4458
4660
  description: `Retrieve the list of Drive resources available for a target User, Group, or Site.`,
4459
4661
  requestFormat: "json",
4460
4662
  parameters: [
4663
+ {
4664
+ name: "$top",
4665
+ type: "Query",
4666
+ schema: z.number().int().gte(0).describe("Show only the first n items").optional()
4667
+ },
4668
+ {
4669
+ name: "$skip",
4670
+ type: "Query",
4671
+ schema: z.number().int().gte(0).describe("Skip the first n items").optional()
4672
+ },
4673
+ {
4674
+ name: "$search",
4675
+ type: "Query",
4676
+ schema: z.string().describe("Search items by search phrases").optional()
4677
+ },
4678
+ {
4679
+ name: "$filter",
4680
+ type: "Query",
4681
+ schema: z.string().describe("Filter items by property values").optional()
4682
+ },
4683
+ {
4684
+ name: "$count",
4685
+ type: "Query",
4686
+ schema: z.boolean().describe("Include count of items").optional()
4687
+ },
4461
4688
  {
4462
4689
  name: "$orderby",
4463
4690
  type: "Query",
@@ -4502,6 +4729,31 @@ instance meetings and series masters. To get expanded event instances, you can g
4502
4729
  get the instances of an event. Currently, this operation returns event bodies in only HTML format. There are two scenarios where an app can get events in another user's calendar:`,
4503
4730
  requestFormat: "json",
4504
4731
  parameters: [
4732
+ {
4733
+ name: "$top",
4734
+ type: "Query",
4735
+ schema: z.number().int().gte(0).describe("Show only the first n items").optional()
4736
+ },
4737
+ {
4738
+ name: "$skip",
4739
+ type: "Query",
4740
+ schema: z.number().int().gte(0).describe("Skip the first n items").optional()
4741
+ },
4742
+ {
4743
+ name: "$search",
4744
+ type: "Query",
4745
+ schema: z.string().describe("Search items by search phrases").optional()
4746
+ },
4747
+ {
4748
+ name: "$filter",
4749
+ type: "Query",
4750
+ schema: z.string().describe("Filter items by property values").optional()
4751
+ },
4752
+ {
4753
+ name: "$count",
4754
+ type: "Query",
4755
+ schema: z.boolean().describe("Include count of items").optional()
4756
+ },
4505
4757
  {
4506
4758
  name: "$orderby",
4507
4759
  type: "Query",
@@ -4925,6 +5177,31 @@ open extensions or extended properties, and how to specify extended properties.`
4925
5177
  description: `Get the teams in Microsoft Teams that the user is a direct member of.`,
4926
5178
  requestFormat: "json",
4927
5179
  parameters: [
5180
+ {
5181
+ name: "$top",
5182
+ type: "Query",
5183
+ schema: z.number().int().gte(0).describe("Show only the first n items").optional()
5184
+ },
5185
+ {
5186
+ name: "$skip",
5187
+ type: "Query",
5188
+ schema: z.number().int().gte(0).describe("Skip the first n items").optional()
5189
+ },
5190
+ {
5191
+ name: "$search",
5192
+ type: "Query",
5193
+ schema: z.string().describe("Search items by search phrases").optional()
5194
+ },
5195
+ {
5196
+ name: "$filter",
5197
+ type: "Query",
5198
+ schema: z.string().describe("Filter items by property values").optional()
5199
+ },
5200
+ {
5201
+ name: "$count",
5202
+ type: "Query",
5203
+ schema: z.boolean().describe("Include count of items").optional()
5204
+ },
4928
5205
  {
4929
5206
  name: "$orderby",
4930
5207
  type: "Query",
@@ -4972,6 +5249,31 @@ open extensions or extended properties, and how to specify extended properties.`
4972
5249
  type: "Query",
4973
5250
  schema: z.string().describe("Include Hidden Folders").optional()
4974
5251
  },
5252
+ {
5253
+ name: "$top",
5254
+ type: "Query",
5255
+ schema: z.number().int().gte(0).describe("Show only the first n items").optional()
5256
+ },
5257
+ {
5258
+ name: "$skip",
5259
+ type: "Query",
5260
+ schema: z.number().int().gte(0).describe("Skip the first n items").optional()
5261
+ },
5262
+ {
5263
+ name: "$search",
5264
+ type: "Query",
5265
+ schema: z.string().describe("Search items by search phrases").optional()
5266
+ },
5267
+ {
5268
+ name: "$filter",
5269
+ type: "Query",
5270
+ schema: z.string().describe("Filter items by property values").optional()
5271
+ },
5272
+ {
5273
+ name: "$count",
5274
+ type: "Query",
5275
+ schema: z.boolean().describe("Include count of items").optional()
5276
+ },
4975
5277
  {
4976
5278
  name: "$orderby",
4977
5279
  type: "Query",
@@ -5014,6 +5316,31 @@ open extensions or extended properties, and how to specify extended properties.`
5014
5316
  description: `Get all the messages in the specified user's mailbox, or those messages in a specified folder in the mailbox.`,
5015
5317
  requestFormat: "json",
5016
5318
  parameters: [
5319
+ {
5320
+ name: "$top",
5321
+ type: "Query",
5322
+ schema: z.number().int().gte(0).describe("Show only the first n items").optional()
5323
+ },
5324
+ {
5325
+ name: "$skip",
5326
+ type: "Query",
5327
+ schema: z.number().int().gte(0).describe("Skip the first n items").optional()
5328
+ },
5329
+ {
5330
+ name: "$search",
5331
+ type: "Query",
5332
+ schema: z.string().describe("Search items by search phrases").optional()
5333
+ },
5334
+ {
5335
+ name: "$filter",
5336
+ type: "Query",
5337
+ schema: z.string().describe("Filter items by property values").optional()
5338
+ },
5339
+ {
5340
+ name: "$count",
5341
+ type: "Query",
5342
+ schema: z.boolean().describe("Include count of items").optional()
5343
+ },
5017
5344
  {
5018
5345
  name: "$orderby",
5019
5346
  type: "Query",
@@ -5061,6 +5388,31 @@ open extensions or extended properties, and how to specify extended properties.`
5061
5388
  type: "Query",
5062
5389
  schema: z.string().describe("Include Hidden Messages").optional()
5063
5390
  },
5391
+ {
5392
+ name: "$top",
5393
+ type: "Query",
5394
+ schema: z.number().int().gte(0).describe("Show only the first n items").optional()
5395
+ },
5396
+ {
5397
+ name: "$skip",
5398
+ type: "Query",
5399
+ schema: z.number().int().gte(0).describe("Skip the first n items").optional()
5400
+ },
5401
+ {
5402
+ name: "$search",
5403
+ type: "Query",
5404
+ schema: z.string().describe("Search items by search phrases").optional()
5405
+ },
5406
+ {
5407
+ name: "$filter",
5408
+ type: "Query",
5409
+ schema: z.string().describe("Filter items by property values").optional()
5410
+ },
5411
+ {
5412
+ name: "$count",
5413
+ type: "Query",
5414
+ schema: z.boolean().describe("Include count of items").optional()
5415
+ },
5064
5416
  {
5065
5417
  name: "$orderby",
5066
5418
  type: "Query",
@@ -5403,6 +5755,31 @@ open extensions or extended properties, and how to specify extended properties.`
5403
5755
  description: `Retrieve a list of notebook objects.`,
5404
5756
  requestFormat: "json",
5405
5757
  parameters: [
5758
+ {
5759
+ name: "$top",
5760
+ type: "Query",
5761
+ schema: z.number().int().gte(0).describe("Show only the first n items").optional()
5762
+ },
5763
+ {
5764
+ name: "$skip",
5765
+ type: "Query",
5766
+ schema: z.number().int().gte(0).describe("Skip the first n items").optional()
5767
+ },
5768
+ {
5769
+ name: "$search",
5770
+ type: "Query",
5771
+ schema: z.string().describe("Search items by search phrases").optional()
5772
+ },
5773
+ {
5774
+ name: "$filter",
5775
+ type: "Query",
5776
+ schema: z.string().describe("Filter items by property values").optional()
5777
+ },
5778
+ {
5779
+ name: "$count",
5780
+ type: "Query",
5781
+ schema: z.boolean().describe("Include count of items").optional()
5782
+ },
5406
5783
  {
5407
5784
  name: "$orderby",
5408
5785
  type: "Query",
@@ -5445,6 +5822,31 @@ open extensions or extended properties, and how to specify extended properties.`
5445
5822
  description: `Retrieve a list of onenoteSection objects from the specified notebook.`,
5446
5823
  requestFormat: "json",
5447
5824
  parameters: [
5825
+ {
5826
+ name: "$top",
5827
+ type: "Query",
5828
+ schema: z.number().int().gte(0).describe("Show only the first n items").optional()
5829
+ },
5830
+ {
5831
+ name: "$skip",
5832
+ type: "Query",
5833
+ schema: z.number().int().gte(0).describe("Skip the first n items").optional()
5834
+ },
5835
+ {
5836
+ name: "$search",
5837
+ type: "Query",
5838
+ schema: z.string().describe("Search items by search phrases").optional()
5839
+ },
5840
+ {
5841
+ name: "$filter",
5842
+ type: "Query",
5843
+ schema: z.string().describe("Filter items by property values").optional()
5844
+ },
5845
+ {
5846
+ name: "$count",
5847
+ type: "Query",
5848
+ schema: z.boolean().describe("Include count of items").optional()
5849
+ },
5448
5850
  {
5449
5851
  name: "$orderby",
5450
5852
  type: "Query",
@@ -5545,6 +5947,31 @@ open extensions or extended properties, and how to specify extended properties.`
5545
5947
  description: `Retrieve a list of page objects from the specified section.`,
5546
5948
  requestFormat: "json",
5547
5949
  parameters: [
5950
+ {
5951
+ name: "$top",
5952
+ type: "Query",
5953
+ schema: z.number().int().gte(0).describe("Show only the first n items").optional()
5954
+ },
5955
+ {
5956
+ name: "$skip",
5957
+ type: "Query",
5958
+ schema: z.number().int().gte(0).describe("Skip the first n items").optional()
5959
+ },
5960
+ {
5961
+ name: "$search",
5962
+ type: "Query",
5963
+ schema: z.string().describe("Search items by search phrases").optional()
5964
+ },
5965
+ {
5966
+ name: "$filter",
5967
+ type: "Query",
5968
+ schema: z.string().describe("Filter items by property values").optional()
5969
+ },
5970
+ {
5971
+ name: "$count",
5972
+ type: "Query",
5973
+ schema: z.boolean().describe("Include count of items").optional()
5974
+ },
5548
5975
  {
5549
5976
  name: "$orderby",
5550
5977
  type: "Query",
@@ -5587,6 +6014,31 @@ open extensions or extended properties, and how to specify extended properties.`
5587
6014
  description: `Retrieve a list of plannertask objects assigned to a User.`,
5588
6015
  requestFormat: "json",
5589
6016
  parameters: [
6017
+ {
6018
+ name: "$top",
6019
+ type: "Query",
6020
+ schema: z.number().int().gte(0).describe("Show only the first n items").optional()
6021
+ },
6022
+ {
6023
+ name: "$skip",
6024
+ type: "Query",
6025
+ schema: z.number().int().gte(0).describe("Skip the first n items").optional()
6026
+ },
6027
+ {
6028
+ name: "$search",
6029
+ type: "Query",
6030
+ schema: z.string().describe("Search items by search phrases").optional()
6031
+ },
6032
+ {
6033
+ name: "$filter",
6034
+ type: "Query",
6035
+ schema: z.string().describe("Filter items by property values").optional()
6036
+ },
6037
+ {
6038
+ name: "$count",
6039
+ type: "Query",
6040
+ schema: z.boolean().describe("Include count of items").optional()
6041
+ },
5590
6042
  {
5591
6043
  name: "$orderby",
5592
6044
  type: "Query",
@@ -5657,6 +6109,31 @@ open extensions or extended properties, and how to specify extended properties.`
5657
6109
  description: `Get a list of the todoTaskList objects and their properties.`,
5658
6110
  requestFormat: "json",
5659
6111
  parameters: [
6112
+ {
6113
+ name: "$top",
6114
+ type: "Query",
6115
+ schema: z.number().int().gte(0).describe("Show only the first n items").optional()
6116
+ },
6117
+ {
6118
+ name: "$skip",
6119
+ type: "Query",
6120
+ schema: z.number().int().gte(0).describe("Skip the first n items").optional()
6121
+ },
6122
+ {
6123
+ name: "$search",
6124
+ type: "Query",
6125
+ schema: z.string().describe("Search items by search phrases").optional()
6126
+ },
6127
+ {
6128
+ name: "$filter",
6129
+ type: "Query",
6130
+ schema: z.string().describe("Filter items by property values").optional()
6131
+ },
6132
+ {
6133
+ name: "$count",
6134
+ type: "Query",
6135
+ schema: z.boolean().describe("Include count of items").optional()
6136
+ },
5660
6137
  {
5661
6138
  name: "$orderby",
5662
6139
  type: "Query",
@@ -5699,6 +6176,31 @@ open extensions or extended properties, and how to specify extended properties.`
5699
6176
  description: `Get the todoTask resources from the tasks navigation property of a specified todoTaskList.`,
5700
6177
  requestFormat: "json",
5701
6178
  parameters: [
6179
+ {
6180
+ name: "$top",
6181
+ type: "Query",
6182
+ schema: z.number().int().gte(0).describe("Show only the first n items").optional()
6183
+ },
6184
+ {
6185
+ name: "$skip",
6186
+ type: "Query",
6187
+ schema: z.number().int().gte(0).describe("Skip the first n items").optional()
6188
+ },
6189
+ {
6190
+ name: "$search",
6191
+ type: "Query",
6192
+ schema: z.string().describe("Search items by search phrases").optional()
6193
+ },
6194
+ {
6195
+ name: "$filter",
6196
+ type: "Query",
6197
+ schema: z.string().describe("Filter items by property values").optional()
6198
+ },
6199
+ {
6200
+ name: "$count",
6201
+ type: "Query",
6202
+ schema: z.boolean().describe("Include count of items").optional()
6203
+ },
5702
6204
  {
5703
6205
  name: "$orderby",
5704
6206
  type: "Query",
@@ -5908,6 +6410,31 @@ open extensions or extended properties, and how to specify extended properties.`
5908
6410
  description: `Retrieve a list of plannerTask objects associated with a plannerPlan object.`,
5909
6411
  requestFormat: "json",
5910
6412
  parameters: [
6413
+ {
6414
+ name: "$top",
6415
+ type: "Query",
6416
+ schema: z.number().int().gte(0).describe("Show only the first n items").optional()
6417
+ },
6418
+ {
6419
+ name: "$skip",
6420
+ type: "Query",
6421
+ schema: z.number().int().gte(0).describe("Skip the first n items").optional()
6422
+ },
6423
+ {
6424
+ name: "$search",
6425
+ type: "Query",
6426
+ schema: z.string().describe("Search items by search phrases").optional()
6427
+ },
6428
+ {
6429
+ name: "$filter",
6430
+ type: "Query",
6431
+ schema: z.string().describe("Filter items by property values").optional()
6432
+ },
6433
+ {
6434
+ name: "$count",
6435
+ type: "Query",
6436
+ schema: z.boolean().describe("Include count of items").optional()
6437
+ },
5911
6438
  {
5912
6439
  name: "$orderby",
5913
6440
  type: "Query",
@@ -6379,6 +6906,39 @@ open extensions or extended properties, and how to specify extended properties.`
6379
6906
  }
6380
6907
  ]
6381
6908
  },
6909
+ {
6910
+ method: "post",
6911
+ path: "/search/query",
6912
+ alias: "search-query",
6913
+ description: `Runs the query specified in the request body. Search results are provided in the response.`,
6914
+ requestFormat: "json",
6915
+ parameters: [
6916
+ {
6917
+ name: "body",
6918
+ description: `Action parameters`,
6919
+ type: "Body",
6920
+ schema: search_query_Body
6921
+ }
6922
+ ],
6923
+ response: z.void(),
6924
+ errors: [
6925
+ {
6926
+ status: NaN,
6927
+ description: `Success`,
6928
+ schema: z.object({ value: z.array(z.object({}).partial().strict()) }).partial().strict()
6929
+ },
6930
+ {
6931
+ status: NaN,
6932
+ description: `error`,
6933
+ schema: microsoft_graph_ODataErrors_ODataError
6934
+ },
6935
+ {
6936
+ status: NaN,
6937
+ description: `error`,
6938
+ schema: microsoft_graph_ODataErrors_ODataError
6939
+ }
6940
+ ]
6941
+ },
6382
6942
  {
6383
6943
  method: "get",
6384
6944
  path: "/sites",
@@ -6387,6 +6947,31 @@ open extensions or extended properties, and how to specify extended properties.`
6387
6947
  If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale.`,
6388
6948
  requestFormat: "json",
6389
6949
  parameters: [
6950
+ {
6951
+ name: "$top",
6952
+ type: "Query",
6953
+ schema: z.number().int().gte(0).describe("Show only the first n items").optional()
6954
+ },
6955
+ {
6956
+ name: "$skip",
6957
+ type: "Query",
6958
+ schema: z.number().int().gte(0).describe("Skip the first n items").optional()
6959
+ },
6960
+ {
6961
+ name: "$search",
6962
+ type: "Query",
6963
+ schema: z.string().describe("Search items by search phrases").optional()
6964
+ },
6965
+ {
6966
+ name: "$filter",
6967
+ type: "Query",
6968
+ schema: z.string().describe("Filter items by property values").optional()
6969
+ },
6970
+ {
6971
+ name: "$count",
6972
+ type: "Query",
6973
+ schema: z.boolean().describe("Include count of items").optional()
6974
+ },
6390
6975
  {
6391
6976
  name: "$orderby",
6392
6977
  type: "Query",
@@ -6503,6 +7088,31 @@ A site resource represents a team site in SharePoint.`,
6503
7088
  description: `The collection of drives (document libraries) under this site.`,
6504
7089
  requestFormat: "json",
6505
7090
  parameters: [
7091
+ {
7092
+ name: "$top",
7093
+ type: "Query",
7094
+ schema: z.number().int().gte(0).describe("Show only the first n items").optional()
7095
+ },
7096
+ {
7097
+ name: "$skip",
7098
+ type: "Query",
7099
+ schema: z.number().int().gte(0).describe("Skip the first n items").optional()
7100
+ },
7101
+ {
7102
+ name: "$search",
7103
+ type: "Query",
7104
+ schema: z.string().describe("Search items by search phrases").optional()
7105
+ },
7106
+ {
7107
+ name: "$filter",
7108
+ type: "Query",
7109
+ schema: z.string().describe("Filter items by property values").optional()
7110
+ },
7111
+ {
7112
+ name: "$count",
7113
+ type: "Query",
7114
+ schema: z.boolean().describe("Include count of items").optional()
7115
+ },
6506
7116
  {
6507
7117
  name: "$orderby",
6508
7118
  type: "Query",
@@ -6643,6 +7253,31 @@ A site resource represents a team site in SharePoint.`,
6643
7253
  description: `Used to address any item contained in this site. This collection can't be enumerated.`,
6644
7254
  requestFormat: "json",
6645
7255
  parameters: [
7256
+ {
7257
+ name: "$top",
7258
+ type: "Query",
7259
+ schema: z.number().int().gte(0).describe("Show only the first n items").optional()
7260
+ },
7261
+ {
7262
+ name: "$skip",
7263
+ type: "Query",
7264
+ schema: z.number().int().gte(0).describe("Skip the first n items").optional()
7265
+ },
7266
+ {
7267
+ name: "$search",
7268
+ type: "Query",
7269
+ schema: z.string().describe("Search items by search phrases").optional()
7270
+ },
7271
+ {
7272
+ name: "$filter",
7273
+ type: "Query",
7274
+ schema: z.string().describe("Filter items by property values").optional()
7275
+ },
7276
+ {
7277
+ name: "$count",
7278
+ type: "Query",
7279
+ schema: z.boolean().describe("Include count of items").optional()
7280
+ },
6646
7281
  {
6647
7282
  name: "$orderby",
6648
7283
  type: "Query",
@@ -6723,6 +7358,31 @@ A site resource represents a team site in SharePoint.`,
6723
7358
  To list them, include system in your $select statement.`,
6724
7359
  requestFormat: "json",
6725
7360
  parameters: [
7361
+ {
7362
+ name: "$top",
7363
+ type: "Query",
7364
+ schema: z.number().int().gte(0).describe("Show only the first n items").optional()
7365
+ },
7366
+ {
7367
+ name: "$skip",
7368
+ type: "Query",
7369
+ schema: z.number().int().gte(0).describe("Skip the first n items").optional()
7370
+ },
7371
+ {
7372
+ name: "$search",
7373
+ type: "Query",
7374
+ schema: z.string().describe("Search items by search phrases").optional()
7375
+ },
7376
+ {
7377
+ name: "$filter",
7378
+ type: "Query",
7379
+ schema: z.string().describe("Filter items by property values").optional()
7380
+ },
7381
+ {
7382
+ name: "$count",
7383
+ type: "Query",
7384
+ schema: z.boolean().describe("Include count of items").optional()
7385
+ },
6726
7386
  {
6727
7387
  name: "$orderby",
6728
7388
  type: "Query",
@@ -6802,6 +7462,31 @@ To list them, include system in your $select statement.`,
6802
7462
  description: `Get the collection of items in a list.`,
6803
7463
  requestFormat: "json",
6804
7464
  parameters: [
7465
+ {
7466
+ name: "$top",
7467
+ type: "Query",
7468
+ schema: z.number().int().gte(0).describe("Show only the first n items").optional()
7469
+ },
7470
+ {
7471
+ name: "$skip",
7472
+ type: "Query",
7473
+ schema: z.number().int().gte(0).describe("Skip the first n items").optional()
7474
+ },
7475
+ {
7476
+ name: "$search",
7477
+ type: "Query",
7478
+ schema: z.string().describe("Search items by search phrases").optional()
7479
+ },
7480
+ {
7481
+ name: "$filter",
7482
+ type: "Query",
7483
+ schema: z.string().describe("Filter items by property values").optional()
7484
+ },
7485
+ {
7486
+ name: "$count",
7487
+ type: "Query",
7488
+ schema: z.boolean().describe("Include count of items").optional()
7489
+ },
6805
7490
  {
6806
7491
  name: "$orderby",
6807
7492
  type: "Query",
@@ -6886,6 +7571,31 @@ Your application should continue making calls using the @odata.nextLink until th
6886
7571
  To monitor future changes, call the delta API by using the @odata.deltaLink in the previous response. Any resources marked as deleted should be removed from your local state.`,
6887
7572
  requestFormat: "json",
6888
7573
  parameters: [
7574
+ {
7575
+ name: "$top",
7576
+ type: "Query",
7577
+ schema: z.number().int().gte(0).describe("Show only the first n items").optional()
7578
+ },
7579
+ {
7580
+ name: "$skip",
7581
+ type: "Query",
7582
+ schema: z.number().int().gte(0).describe("Skip the first n items").optional()
7583
+ },
7584
+ {
7585
+ name: "$search",
7586
+ type: "Query",
7587
+ schema: z.string().describe("Search items by search phrases").optional()
7588
+ },
7589
+ {
7590
+ name: "$filter",
7591
+ type: "Query",
7592
+ schema: z.string().describe("Filter items by property values").optional()
7593
+ },
7594
+ {
7595
+ name: "$count",
7596
+ type: "Query",
7597
+ schema: z.boolean().describe("Include count of items").optional()
7598
+ },
6889
7599
  {
6890
7600
  name: "$select",
6891
7601
  type: "Query",
@@ -7003,6 +7713,31 @@ To monitor future changes, call the delta API by using the @odata.deltaLink in t
7003
7713
  description: `Retrieve the list of channels in this team.`,
7004
7714
  requestFormat: "json",
7005
7715
  parameters: [
7716
+ {
7717
+ name: "$top",
7718
+ type: "Query",
7719
+ schema: z.number().int().gte(0).describe("Show only the first n items").optional()
7720
+ },
7721
+ {
7722
+ name: "$skip",
7723
+ type: "Query",
7724
+ schema: z.number().int().gte(0).describe("Skip the first n items").optional()
7725
+ },
7726
+ {
7727
+ name: "$search",
7728
+ type: "Query",
7729
+ schema: z.string().describe("Search items by search phrases").optional()
7730
+ },
7731
+ {
7732
+ name: "$filter",
7733
+ type: "Query",
7734
+ schema: z.string().describe("Filter items by property values").optional()
7735
+ },
7736
+ {
7737
+ name: "$count",
7738
+ type: "Query",
7739
+ schema: z.boolean().describe("Include count of items").optional()
7740
+ },
7006
7741
  {
7007
7742
  name: "$orderby",
7008
7743
  type: "Query",
@@ -7082,6 +7817,31 @@ To monitor future changes, call the delta API by using the @odata.deltaLink in t
7082
7817
  description: `Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel).`,
7083
7818
  requestFormat: "json",
7084
7819
  parameters: [
7820
+ {
7821
+ name: "$top",
7822
+ type: "Query",
7823
+ schema: z.number().int().gte(0).describe("Show only the first n items").optional()
7824
+ },
7825
+ {
7826
+ name: "$skip",
7827
+ type: "Query",
7828
+ schema: z.number().int().gte(0).describe("Skip the first n items").optional()
7829
+ },
7830
+ {
7831
+ name: "$search",
7832
+ type: "Query",
7833
+ schema: z.string().describe("Search items by search phrases").optional()
7834
+ },
7835
+ {
7836
+ name: "$filter",
7837
+ type: "Query",
7838
+ schema: z.string().describe("Filter items by property values").optional()
7839
+ },
7840
+ {
7841
+ name: "$count",
7842
+ type: "Query",
7843
+ schema: z.boolean().describe("Include count of items").optional()
7844
+ },
7085
7845
  {
7086
7846
  name: "$orderby",
7087
7847
  type: "Query",
@@ -7194,6 +7954,31 @@ To monitor future changes, call the delta API by using the @odata.deltaLink in t
7194
7954
  description: `Get the conversationMember collection of a team. The membership IDs returned by the server must be treated as opaque strings. The client shouldn't try to parse or make assumptions about these resource IDs. In the future, membership results can include users from various tenants, as indicated in the response. Clients should avoid assuming that all members exclusively belong to the current tenant.`,
7195
7955
  requestFormat: "json",
7196
7956
  parameters: [
7957
+ {
7958
+ name: "$top",
7959
+ type: "Query",
7960
+ schema: z.number().int().gte(0).describe("Show only the first n items").optional()
7961
+ },
7962
+ {
7963
+ name: "$skip",
7964
+ type: "Query",
7965
+ schema: z.number().int().gte(0).describe("Skip the first n items").optional()
7966
+ },
7967
+ {
7968
+ name: "$search",
7969
+ type: "Query",
7970
+ schema: z.string().describe("Search items by search phrases").optional()
7971
+ },
7972
+ {
7973
+ name: "$filter",
7974
+ type: "Query",
7975
+ schema: z.string().describe("Filter items by property values").optional()
7976
+ },
7977
+ {
7978
+ name: "$count",
7979
+ type: "Query",
7980
+ schema: z.boolean().describe("Include count of items").optional()
7981
+ },
7197
7982
  {
7198
7983
  name: "$orderby",
7199
7984
  type: "Query",