@vercel/sdk 1.6.8 → 1.6.10

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 (85) hide show
  1. package/bin/mcp-server.js +310 -118
  2. package/bin/mcp-server.js.map +18 -18
  3. package/docs/sdks/user/README.md +2 -0
  4. package/esm/__tests__/environment.test.js +12 -12
  5. package/esm/__tests__/environment.test.js.map +1 -1
  6. package/esm/__tests__/projects.test.js +13 -15
  7. package/esm/__tests__/projects.test.js.map +1 -1
  8. package/esm/funcs/userListUserEvents.js +1 -0
  9. package/esm/funcs/userListUserEvents.js.map +1 -1
  10. package/esm/lib/config.d.ts +3 -3
  11. package/esm/lib/config.js +3 -3
  12. package/esm/lib/config.js.map +1 -1
  13. package/esm/mcp-server/mcp-server.js +1 -1
  14. package/esm/mcp-server/mcp-server.js.map +1 -1
  15. package/esm/mcp-server/server.js +1 -1
  16. package/esm/mcp-server/server.js.map +1 -1
  17. package/esm/models/authuser.d.ts +3 -3
  18. package/esm/models/authuser.d.ts.map +1 -1
  19. package/esm/models/authuser.js +1 -1
  20. package/esm/models/authuser.js.map +1 -1
  21. package/esm/models/createprojectop.d.ts +6 -0
  22. package/esm/models/createprojectop.d.ts.map +1 -1
  23. package/esm/models/createprojectop.js +2 -0
  24. package/esm/models/createprojectop.js.map +1 -1
  25. package/esm/models/createwebhookop.d.ts +24 -0
  26. package/esm/models/createwebhookop.d.ts.map +1 -1
  27. package/esm/models/createwebhookop.js +8 -0
  28. package/esm/models/createwebhookop.js.map +1 -1
  29. package/esm/models/getbypassipop.d.ts +28 -28
  30. package/esm/models/getbypassipop.d.ts.map +1 -1
  31. package/esm/models/getbypassipop.js +28 -28
  32. package/esm/models/getbypassipop.js.map +1 -1
  33. package/esm/models/getprojectsop.d.ts +6 -0
  34. package/esm/models/getprojectsop.d.ts.map +1 -1
  35. package/esm/models/getprojectsop.js +2 -0
  36. package/esm/models/getprojectsop.js.map +1 -1
  37. package/esm/models/getwebhookop.d.ts +12 -0
  38. package/esm/models/getwebhookop.d.ts.map +1 -1
  39. package/esm/models/getwebhookop.js +4 -0
  40. package/esm/models/getwebhookop.js.map +1 -1
  41. package/esm/models/getwebhooksop.d.ts +24 -0
  42. package/esm/models/getwebhooksop.d.ts.map +1 -1
  43. package/esm/models/getwebhooksop.js +8 -0
  44. package/esm/models/getwebhooksop.js.map +1 -1
  45. package/esm/models/listusereventsop.d.ts +6 -1
  46. package/esm/models/listusereventsop.d.ts.map +1 -1
  47. package/esm/models/listusereventsop.js +2 -0
  48. package/esm/models/listusereventsop.js.map +1 -1
  49. package/esm/models/teamlimited.d.ts +30 -1
  50. package/esm/models/teamlimited.d.ts.map +1 -1
  51. package/esm/models/teamlimited.js +24 -0
  52. package/esm/models/teamlimited.js.map +1 -1
  53. package/esm/models/updateprojectdatacacheop.d.ts +6 -0
  54. package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
  55. package/esm/models/updateprojectdatacacheop.js +2 -0
  56. package/esm/models/updateprojectdatacacheop.js.map +1 -1
  57. package/esm/models/updateprojectop.d.ts +75 -0
  58. package/esm/models/updateprojectop.d.ts.map +1 -1
  59. package/esm/models/updateprojectop.js +56 -0
  60. package/esm/models/updateprojectop.js.map +1 -1
  61. package/esm/models/userevent.d.ts +361 -114
  62. package/esm/models/userevent.d.ts.map +1 -1
  63. package/esm/models/userevent.js +338 -98
  64. package/esm/models/userevent.js.map +1 -1
  65. package/jsr.json +1 -1
  66. package/package.json +1 -1
  67. package/src/__tests__/environment.test.ts +12 -12
  68. package/src/__tests__/projects.test.ts +13 -15
  69. package/src/funcs/userListUserEvents.ts +1 -0
  70. package/src/lib/config.ts +3 -3
  71. package/src/mcp-server/mcp-server.ts +1 -1
  72. package/src/mcp-server/server.ts +1 -1
  73. package/src/models/authuser.ts +1 -1
  74. package/src/models/createprojectop.ts +2 -0
  75. package/src/models/createwebhookop.ts +8 -0
  76. package/src/models/getbypassipop.ts +56 -56
  77. package/src/models/getprojectsop.ts +2 -0
  78. package/src/models/getwebhookop.ts +4 -0
  79. package/src/models/getwebhooksop.ts +8 -0
  80. package/src/models/listusereventsop.ts +8 -1
  81. package/src/models/teamlimited.ts +34 -1
  82. package/src/models/updateprojectdatacacheop.ts +2 -0
  83. package/src/models/updateprojectop.ts +148 -0
  84. package/src/models/userevent.ts +620 -179
  85. package/vercel-spec.json +282 -87
package/vercel-spec.json CHANGED
@@ -5807,7 +5807,8 @@
5807
5807
  "buildMachineType": {
5808
5808
  "type": "string",
5809
5809
  "enum": [
5810
- "enhanced"
5810
+ "enhanced",
5811
+ "ultra"
5811
5812
  ]
5812
5813
  }
5813
5814
  },
@@ -5894,7 +5895,8 @@
5894
5895
  "buildMachineType": {
5895
5896
  "type": "string",
5896
5897
  "enum": [
5897
- "enhanced"
5898
+ "enhanced",
5899
+ "ultra"
5898
5900
  ]
5899
5901
  }
5900
5902
  },
@@ -13869,8 +13871,7 @@
13869
13871
  "repo",
13870
13872
  "host"
13871
13873
  ],
13872
- "type": "object",
13873
- "private": true
13874
+ "type": "object"
13874
13875
  },
13875
13876
  {
13876
13877
  "properties": {
@@ -21990,10 +21991,20 @@
21990
21991
  },
21991
21992
  {
21992
21993
  "name": "userId",
21993
- "description": "When retrieving events for a Team, the `userId` parameter may be specified to filter events generated by a specific member of the Team.",
21994
+ "description": "Deprecated. Use `principalId` instead. If `principalId` and `userId` both exist, `principalId` will be used.",
21995
+ "in": "query",
21996
+ "schema": {
21997
+ "description": "Deprecated. Use `principalId` instead. If `principalId` and `userId` both exist, `principalId` will be used.",
21998
+ "example": "aeIInYVk59zbFF2SxfyxxmuO",
21999
+ "type": "string"
22000
+ }
22001
+ },
22002
+ {
22003
+ "name": "principalId",
22004
+ "description": "When retrieving events for a Team, the `principalId` parameter may be specified to filter events generated by a specific principal.",
21994
22005
  "in": "query",
21995
22006
  "schema": {
21996
- "description": "When retrieving events for a Team, the `userId` parameter may be specified to filter events generated by a specific member of the Team.",
22007
+ "description": "When retrieving events for a Team, the `principalId` parameter may be specified to filter events generated by a specific principal.",
21997
22008
  "example": "aeIInYVk59zbFF2SxfyxxmuO",
21998
22009
  "type": "string"
21999
22010
  }
@@ -28309,7 +28320,8 @@
28309
28320
  "buildMachineType": {
28310
28321
  "type": "string",
28311
28322
  "enum": [
28312
- "enhanced"
28323
+ "enhanced",
28324
+ "ultra"
28313
28325
  ]
28314
28326
  }
28315
28327
  },
@@ -28396,7 +28408,8 @@
28396
28408
  "buildMachineType": {
28397
28409
  "type": "string",
28398
28410
  "enum": [
28399
- "enhanced"
28411
+ "enhanced",
28412
+ "ultra"
28400
28413
  ]
28401
28414
  }
28402
28415
  },
@@ -32339,7 +32352,8 @@
32339
32352
  "buildMachineType": {
32340
32353
  "type": "string",
32341
32354
  "enum": [
32342
- "enhanced"
32355
+ "enhanced",
32356
+ "ultra"
32343
32357
  ]
32344
32358
  }
32345
32359
  },
@@ -32426,7 +32440,8 @@
32426
32440
  "buildMachineType": {
32427
32441
  "type": "string",
32428
32442
  "enum": [
32429
- "enhanced"
32443
+ "enhanced",
32444
+ "ultra"
32430
32445
  ]
32431
32446
  }
32432
32447
  },
@@ -36506,7 +36521,8 @@
36506
36521
  "buildMachineType": {
36507
36522
  "type": "string",
36508
36523
  "enum": [
36509
- "enhanced"
36524
+ "enhanced",
36525
+ "ultra"
36510
36526
  ]
36511
36527
  }
36512
36528
  },
@@ -36593,7 +36609,8 @@
36593
36609
  "buildMachineType": {
36594
36610
  "type": "string",
36595
36611
  "enum": [
36596
- "enhanced"
36612
+ "enhanced",
36613
+ "ultra"
36597
36614
  ]
36598
36615
  }
36599
36616
  },
@@ -40426,7 +40443,8 @@
40426
40443
  "buildMachineType": {
40427
40444
  "type": "string",
40428
40445
  "enum": [
40429
- "enhanced"
40446
+ "enhanced",
40447
+ "ultra"
40430
40448
  ]
40431
40449
  }
40432
40450
  },
@@ -40513,7 +40531,8 @@
40513
40531
  "buildMachineType": {
40514
40532
  "type": "string",
40515
40533
  "enum": [
40516
- "enhanced"
40534
+ "enhanced",
40535
+ "ultra"
40517
40536
  ]
40518
40537
  }
40519
40538
  },
@@ -43080,6 +43099,44 @@
43080
43099
  ],
43081
43100
  "type": "object",
43082
43101
  "nullable": true
43102
+ },
43103
+ "connectConfigurations": {
43104
+ "type": "array",
43105
+ "description": "The list of connections from project environment to Secure Compute network",
43106
+ "items": {
43107
+ "additionalProperties": false,
43108
+ "properties": {
43109
+ "envId": {
43110
+ "type": "string",
43111
+ "description": "The ID of the environment"
43112
+ },
43113
+ "connectConfigurationId": {
43114
+ "type": "string",
43115
+ "description": "The ID of the Secure Compute network"
43116
+ },
43117
+ "passive": {
43118
+ "type": "boolean",
43119
+ "description": "Whether the configuration should be passive, meaning builds will not run there and only passive Serverless Functions will be deployed"
43120
+ },
43121
+ "buildsEnabled": {
43122
+ "type": "boolean",
43123
+ "description": "Flag saying if project builds should use Secure Compute"
43124
+ }
43125
+ },
43126
+ "required": [
43127
+ "envId",
43128
+ "connectConfigurationId",
43129
+ "passive",
43130
+ "buildsEnabled"
43131
+ ],
43132
+ "oneOf": [
43133
+ {
43134
+ "type": "object"
43135
+ }
43136
+ ]
43137
+ },
43138
+ "minItems": 1,
43139
+ "nullable": true
43083
43140
  }
43084
43141
  },
43085
43142
  "type": "object"
@@ -55796,15 +55853,6 @@
55796
55853
  "type": "number"
55797
55854
  }
55798
55855
  },
55799
- "required": [
55800
- "OwnerId",
55801
- "Id",
55802
- "Domain",
55803
- "Ip",
55804
- "CreatedAt",
55805
- "UpdatedAt",
55806
- "UpdatedAtHour"
55807
- ],
55808
55856
  "type": "object"
55809
55857
  },
55810
55858
  "type": "array"
@@ -55872,15 +55920,6 @@
55872
55920
  "type": "number"
55873
55921
  }
55874
55922
  },
55875
- "required": [
55876
- "OwnerId",
55877
- "Id",
55878
- "Domain",
55879
- "Ip",
55880
- "CreatedAt",
55881
- "UpdatedAt",
55882
- "UpdatedAtHour"
55883
- ],
55884
55923
  "type": "object"
55885
55924
  },
55886
55925
  "type": "array"
@@ -59504,6 +59543,10 @@
59504
59543
  "integration-resource.project-disconnected",
59505
59544
  "project.created",
59506
59545
  "project.removed",
59546
+ "project.rolling-release.started",
59547
+ "project.rolling-release.aborted",
59548
+ "project.rolling-release.completed",
59549
+ "project.rolling-release.approved",
59507
59550
  "deployment-checks-completed",
59508
59551
  "deployment-ready",
59509
59552
  "deployment-prepared",
@@ -59551,6 +59594,10 @@
59551
59594
  "integration-resource.project-disconnected",
59552
59595
  "project.created",
59553
59596
  "project.removed",
59597
+ "project.rolling-release.started",
59598
+ "project.rolling-release.aborted",
59599
+ "project.rolling-release.completed",
59600
+ "project.rolling-release.approved",
59554
59601
  "deployment-checks-completed-legacy",
59555
59602
  "deployment-ready-legacy",
59556
59603
  "deployment-prepared-legacy",
@@ -59716,6 +59763,10 @@
59716
59763
  "integration-resource.project-disconnected",
59717
59764
  "project.created",
59718
59765
  "project.removed",
59766
+ "project.rolling-release.started",
59767
+ "project.rolling-release.aborted",
59768
+ "project.rolling-release.completed",
59769
+ "project.rolling-release.approved",
59719
59770
  "deployment-checks-completed",
59720
59771
  "deployment-ready",
59721
59772
  "deployment-prepared",
@@ -59761,6 +59812,10 @@
59761
59812
  "integration-resource.project-disconnected",
59762
59813
  "project.created",
59763
59814
  "project.removed",
59815
+ "project.rolling-release.started",
59816
+ "project.rolling-release.aborted",
59817
+ "project.rolling-release.completed",
59818
+ "project.rolling-release.approved",
59764
59819
  "deployment-checks-completed-legacy",
59765
59820
  "deployment-ready-legacy",
59766
59821
  "deployment-prepared-legacy",
@@ -59923,6 +59978,10 @@
59923
59978
  "integration-resource.project-disconnected",
59924
59979
  "project.created",
59925
59980
  "project.removed",
59981
+ "project.rolling-release.started",
59982
+ "project.rolling-release.aborted",
59983
+ "project.rolling-release.completed",
59984
+ "project.rolling-release.approved",
59926
59985
  "deployment-checks-completed",
59927
59986
  "deployment-ready",
59928
59987
  "deployment-prepared",
@@ -59970,6 +60029,10 @@
59970
60029
  "integration-resource.project-disconnected",
59971
60030
  "project.created",
59972
60031
  "project.removed",
60032
+ "project.rolling-release.started",
60033
+ "project.rolling-release.aborted",
60034
+ "project.rolling-release.completed",
60035
+ "project.rolling-release.approved",
59973
60036
  "deployment-checks-completed-legacy",
59974
60037
  "deployment-ready-legacy",
59975
60038
  "deployment-prepared-legacy",
@@ -60075,6 +60138,10 @@
60075
60138
  "integration-resource.project-disconnected",
60076
60139
  "project.created",
60077
60140
  "project.removed",
60141
+ "project.rolling-release.started",
60142
+ "project.rolling-release.aborted",
60143
+ "project.rolling-release.completed",
60144
+ "project.rolling-release.approved",
60078
60145
  "deployment-checks-completed",
60079
60146
  "deployment-ready",
60080
60147
  "deployment-prepared",
@@ -60122,6 +60189,10 @@
60122
60189
  "integration-resource.project-disconnected",
60123
60190
  "project.created",
60124
60191
  "project.removed",
60192
+ "project.rolling-release.started",
60193
+ "project.rolling-release.aborted",
60194
+ "project.rolling-release.completed",
60195
+ "project.rolling-release.approved",
60125
60196
  "deployment-checks-completed-legacy",
60126
60197
  "deployment-ready-legacy",
60127
60198
  "deployment-prepared-legacy",
@@ -60302,6 +60373,10 @@
60302
60373
  "integration-resource.project-disconnected",
60303
60374
  "project.created",
60304
60375
  "project.removed",
60376
+ "project.rolling-release.started",
60377
+ "project.rolling-release.aborted",
60378
+ "project.rolling-release.completed",
60379
+ "project.rolling-release.approved",
60305
60380
  "deployment-checks-completed",
60306
60381
  "deployment-ready",
60307
60382
  "deployment-prepared",
@@ -60349,6 +60424,10 @@
60349
60424
  "integration-resource.project-disconnected",
60350
60425
  "project.created",
60351
60426
  "project.removed",
60427
+ "project.rolling-release.started",
60428
+ "project.rolling-release.aborted",
60429
+ "project.rolling-release.completed",
60430
+ "project.rolling-release.approved",
60352
60431
  "deployment-checks-completed-legacy",
60353
60432
  "deployment-ready-legacy",
60354
60433
  "deployment-prepared-legacy",
@@ -63676,9 +63755,6 @@
63676
63755
  "type": {
63677
63756
  "type": "string",
63678
63757
  "enum": [
63679
- "flag",
63680
- "flags-segment",
63681
- "flags-settings",
63682
63758
  "author",
63683
63759
  "bitbucket_login",
63684
63760
  "bold",
@@ -63690,6 +63766,9 @@
63690
63766
  "hook_name",
63691
63767
  "integration",
63692
63768
  "edge-config",
63769
+ "flag",
63770
+ "flags-segment",
63771
+ "flags-settings",
63693
63772
  "link",
63694
63773
  "project_name",
63695
63774
  "scaling_rules",
@@ -63736,30 +63815,165 @@
63736
63815
  "email": {
63737
63816
  "type": "string"
63738
63817
  },
63739
- "slug": {
63818
+ "username": {
63740
63819
  "type": "string"
63741
63820
  },
63742
- "uid": {
63821
+ "slug": {
63743
63822
  "type": "string"
63744
63823
  },
63745
- "username": {
63824
+ "uid": {
63746
63825
  "type": "string"
63747
63826
  }
63748
63827
  },
63749
63828
  "required": [
63750
63829
  "avatar",
63751
63830
  "email",
63752
- "uid",
63753
- "username"
63831
+ "username",
63832
+ "uid"
63754
63833
  ],
63755
63834
  "type": "object",
63756
- "description": "Metadata for the User who generated the event."
63835
+ "description": "Metadata for {@link userId}."
63836
+ },
63837
+ "principal": {
63838
+ "oneOf": [
63839
+ {
63840
+ "properties": {
63841
+ "type": {
63842
+ "type": "string",
63843
+ "enum": [
63844
+ "user"
63845
+ ]
63846
+ },
63847
+ "avatar": {
63848
+ "type": "string"
63849
+ },
63850
+ "email": {
63851
+ "type": "string"
63852
+ },
63853
+ "slug": {
63854
+ "type": "string"
63855
+ },
63856
+ "uid": {
63857
+ "type": "string"
63858
+ },
63859
+ "username": {
63860
+ "type": "string"
63861
+ }
63862
+ },
63863
+ "required": [
63864
+ "avatar",
63865
+ "email",
63866
+ "uid",
63867
+ "username"
63868
+ ],
63869
+ "type": "object",
63870
+ "description": "Metadata for {@link principalId}."
63871
+ },
63872
+ {
63873
+ "properties": {
63874
+ "type": {
63875
+ "type": "string",
63876
+ "enum": [
63877
+ "app"
63878
+ ]
63879
+ },
63880
+ "clientId": {
63881
+ "type": "string"
63882
+ },
63883
+ "name": {
63884
+ "type": "string"
63885
+ }
63886
+ },
63887
+ "required": [
63888
+ "type",
63889
+ "clientId",
63890
+ "name"
63891
+ ],
63892
+ "type": "object",
63893
+ "description": "Metadata for {@link principalId}."
63894
+ }
63895
+ ]
63896
+ },
63897
+ "via": {
63898
+ "items": {
63899
+ "oneOf": [
63900
+ {
63901
+ "properties": {
63902
+ "type": {
63903
+ "type": "string",
63904
+ "enum": [
63905
+ "user"
63906
+ ]
63907
+ },
63908
+ "avatar": {
63909
+ "type": "string"
63910
+ },
63911
+ "email": {
63912
+ "type": "string"
63913
+ },
63914
+ "slug": {
63915
+ "type": "string"
63916
+ },
63917
+ "uid": {
63918
+ "type": "string"
63919
+ },
63920
+ "username": {
63921
+ "type": "string"
63922
+ }
63923
+ },
63924
+ "required": [
63925
+ "avatar",
63926
+ "email",
63927
+ "uid",
63928
+ "username"
63929
+ ],
63930
+ "type": "object",
63931
+ "description": "Metadata for {@link viaIds}."
63932
+ },
63933
+ {
63934
+ "properties": {
63935
+ "type": {
63936
+ "type": "string",
63937
+ "enum": [
63938
+ "app"
63939
+ ]
63940
+ },
63941
+ "clientId": {
63942
+ "type": "string"
63943
+ },
63944
+ "name": {
63945
+ "type": "string"
63946
+ }
63947
+ },
63948
+ "required": [
63949
+ "type",
63950
+ "clientId",
63951
+ "name"
63952
+ ],
63953
+ "type": "object",
63954
+ "description": "Metadata for {@link viaIds}."
63955
+ }
63956
+ ]
63957
+ },
63958
+ "type": "array",
63959
+ "description": "Metadata for {@link viaIds}."
63757
63960
  },
63758
63961
  "userId": {
63759
63962
  "type": "string",
63760
- "description": "The unique identifier of the User who generated the event.",
63963
+ "description": "When the principal who generated the event is a user, this is their ID; otherwise, it is empty.",
63761
63964
  "example": "zTuNVUXEAvvnNN3IaqinkyMw"
63762
63965
  },
63966
+ "principalId": {
63967
+ "type": "string",
63968
+ "description": "The ID of the principal who generated the event. The principal is typically a user, but it could also be an app, an integration, etc. The principal may have delegated its authority to an acting party, and so {@link viaIds} should be checked as well."
63969
+ },
63970
+ "viaIds": {
63971
+ "items": {
63972
+ "type": "string"
63973
+ },
63974
+ "type": "array",
63975
+ "description": "If the principal delegated its authority (for example, a user delegating to an app), then this array contains the ID of the current actor. For example, if `principalId` is \"user123\" and `viaIds` is `[\"app456\"]`, we can say the event was triggered by - \"app456 on behalf of user123\", or - \"user123 via app4556\". Both are equivalent. Arbitrarily long chains of delegation can be represented. For example, if `principalId` is \"user123\" and `viaIds` is `[\"service1\", \"service2\"]`, we can say the event was triggered by \"user123 via service1 via service2\"."
63976
+ },
63763
63977
  "payload": {
63764
63978
  "oneOf": [
63765
63979
  {
@@ -65475,12 +65689,6 @@
65475
65689
  "description": "The last editor full name or username."
65476
65690
  }
65477
65691
  },
65478
- "required": [
65479
- "created",
65480
- "key",
65481
- "id",
65482
- "decrypted"
65483
- ],
65484
65692
  "type": "object"
65485
65693
  },
65486
65694
  "newEnvVar": {
@@ -65598,12 +65806,6 @@
65598
65806
  "description": "The last editor full name or username."
65599
65807
  }
65600
65808
  },
65601
- "required": [
65602
- "created",
65603
- "key",
65604
- "id",
65605
- "decrypted"
65606
- ],
65607
65809
  "type": "object"
65608
65810
  },
65609
65811
  "updateDiff": {
@@ -66287,7 +66489,8 @@
66287
66489
  "purchaseType": {
66288
66490
  "type": "string",
66289
66491
  "enum": [
66290
- "enhanced"
66492
+ "enhanced",
66493
+ "ultra"
66291
66494
  ]
66292
66495
  },
66293
66496
  "isDefaultBuildMachine": {
@@ -66472,7 +66675,6 @@
66472
66675
  "blockedDueToOverageType": {
66473
66676
  "type": "string",
66474
66677
  "enum": [
66475
- "aiCredits",
66476
66678
  "analyticsUsage",
66477
66679
  "artifacts",
66478
66680
  "bandwidth",
@@ -66598,11 +66800,11 @@
66598
66800
  "enum": [
66599
66801
  "teams",
66600
66802
  "saml",
66601
- "link",
66602
66803
  "github",
66603
66804
  "gitlab",
66604
66805
  "bitbucket",
66605
66806
  "mail",
66807
+ "link",
66606
66808
  "import",
66607
66809
  "dsync",
66608
66810
  "feedback",
@@ -66699,25 +66901,6 @@
66699
66901
  },
66700
66902
  "overageUsageAlerts": {
66701
66903
  "properties": {
66702
- "aiCredits": {
66703
- "properties": {
66704
- "currentThreshold": {
66705
- "type": "number"
66706
- },
66707
- "warningAt": {
66708
- "nullable": true,
66709
- "type": "number"
66710
- },
66711
- "blockedAt": {
66712
- "nullable": true,
66713
- "type": "number"
66714
- }
66715
- },
66716
- "required": [
66717
- "currentThreshold"
66718
- ],
66719
- "type": "object"
66720
- },
66721
66904
  "analyticsUsage": {
66722
66905
  "properties": {
66723
66906
  "currentThreshold": {
@@ -67736,7 +67919,6 @@
67736
67919
  "overageReason": {
67737
67920
  "type": "string",
67738
67921
  "enum": [
67739
- "aiCredits",
67740
67922
  "analyticsUsage",
67741
67923
  "artifacts",
67742
67924
  "bandwidth",
@@ -67808,7 +67990,6 @@
67808
67990
  "overageReason": {
67809
67991
  "type": "string",
67810
67992
  "enum": [
67811
- "aiCredits",
67812
67993
  "analyticsUsage",
67813
67994
  "artifacts",
67814
67995
  "bandwidth",
@@ -67880,7 +68061,6 @@
67880
68061
  "overageReason": {
67881
68062
  "type": "string",
67882
68063
  "enum": [
67883
- "aiCredits",
67884
68064
  "analyticsUsage",
67885
68065
  "artifacts",
67886
68066
  "bandwidth",
@@ -68508,11 +68688,11 @@
68508
68688
  "enum": [
68509
68689
  "teams",
68510
68690
  "saml",
68511
- "link",
68512
68691
  "github",
68513
68692
  "gitlab",
68514
68693
  "bitbucket",
68515
68694
  "mail",
68695
+ "link",
68516
68696
  "import",
68517
68697
  "dsync",
68518
68698
  "feedback",
@@ -69611,11 +69791,11 @@
69611
69791
  "type": {
69612
69792
  "type": "string",
69613
69793
  "enum": [
69614
- "integration",
69615
- "edge-config",
69616
69794
  "redis",
69617
69795
  "postgres",
69618
- "blob"
69796
+ "edge-config",
69797
+ "blob",
69798
+ "integration"
69619
69799
  ]
69620
69800
  }
69621
69801
  },
@@ -71226,7 +71406,8 @@
71226
71406
  "text",
71227
71407
  "entities",
71228
71408
  "createdAt",
71229
- "userId"
71409
+ "userId",
71410
+ "principalId"
71230
71411
  ],
71231
71412
  "type": "object",
71232
71413
  "description": "Array of events generated by the User."
@@ -71240,7 +71421,17 @@
71240
71421
  "properties": {
71241
71422
  "limited": {
71242
71423
  "type": "boolean",
71243
- "description": "Property indicating that this Team data contains only limited information, due to the authentication token missing privileges to read the full Team data. Re-login with the Team's configured SAML Single Sign-On provider in order to upgrade the authentication token with the necessary privileges."
71424
+ "description": "Property indicating that this Team data contains only limited information, due to the authentication token missing privileges to read the full Team data or due to team having MFA enforced and the user not having MFA enabled. Re-login with the Team's configured SAML Single Sign-On provider in order to upgrade the authentication token with the necessary privileges."
71425
+ },
71426
+ "limitedBy": {
71427
+ "items": {
71428
+ "type": "string",
71429
+ "enum": [
71430
+ "saml",
71431
+ "mfa"
71432
+ ]
71433
+ },
71434
+ "type": "array"
71244
71435
  },
71245
71436
  "saml": {
71246
71437
  "properties": {
@@ -71323,6 +71514,9 @@
71323
71514
  "type": "object",
71324
71515
  "description": "When \"Single Sign-On (SAML)\" is configured, this object contains information that allows the client-side to identify whether or not this Team has SAML enforced."
71325
71516
  },
71517
+ "mfaEnforced": {
71518
+ "type": "boolean"
71519
+ },
71326
71520
  "id": {
71327
71521
  "type": "string",
71328
71522
  "description": "The Team's unique identifier.",
@@ -71506,6 +71700,7 @@
71506
71700
  },
71507
71701
  "required": [
71508
71702
  "limited",
71703
+ "limitedBy",
71509
71704
  "id",
71510
71705
  "slug",
71511
71706
  "name",
@@ -71702,7 +71897,6 @@
71702
71897
  "blockedDueToOverageType": {
71703
71898
  "type": "string",
71704
71899
  "enum": [
71705
- "aiCredits",
71706
71900
  "analyticsUsage",
71707
71901
  "artifacts",
71708
71902
  "bandwidth",
@@ -71872,7 +72066,8 @@
71872
72066
  "purchaseType": {
71873
72067
  "type": "string",
71874
72068
  "enum": [
71875
- "enhanced"
72069
+ "enhanced",
72070
+ "ultra"
71876
72071
  ],
71877
72072
  "description": "An object containing infomation related to the amount of platform resources may be allocated to the User account."
71878
72073
  },