@vercel/sdk 1.6.0 → 1.6.2

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 (130) hide show
  1. package/README.md +4 -2
  2. package/bin/mcp-server.js +965 -707
  3. package/bin/mcp-server.js.map +29 -26
  4. package/docs/sdks/marketplace/README.md +0 -81
  5. package/docs/sdks/projects/README.md +162 -0
  6. package/docs/sdks/security/README.md +8 -2
  7. package/esm/__tests__/marketplace.test.js +3 -13
  8. package/esm/__tests__/marketplace.test.js.map +1 -1
  9. package/esm/__tests__/projects.test.js +26 -0
  10. package/esm/__tests__/projects.test.js.map +1 -1
  11. package/esm/__tests__/security.test.js +14 -1
  12. package/esm/__tests__/security.test.js.map +1 -1
  13. package/esm/funcs/deploymentsUploadFile.js +2 -1
  14. package/esm/funcs/deploymentsUploadFile.js.map +1 -1
  15. package/esm/funcs/projectsPauseProject.d.ts +18 -0
  16. package/esm/funcs/projectsPauseProject.d.ts.map +1 -0
  17. package/esm/funcs/{marketplaceQueryExperimentationItems.js → projectsPauseProject.js} +21 -13
  18. package/esm/funcs/projectsPauseProject.js.map +1 -0
  19. package/esm/funcs/projectsUnpauseProject.d.ts +18 -0
  20. package/esm/funcs/projectsUnpauseProject.d.ts.map +1 -0
  21. package/esm/funcs/projectsUnpauseProject.js +92 -0
  22. package/esm/funcs/projectsUnpauseProject.js.map +1 -0
  23. package/esm/lib/config.d.ts +3 -3
  24. package/esm/lib/config.js +3 -3
  25. package/esm/mcp-server/mcp-server.js +1 -1
  26. package/esm/mcp-server/prompts.d.ts.map +1 -1
  27. package/esm/mcp-server/prompts.js +5 -1
  28. package/esm/mcp-server/prompts.js.map +1 -1
  29. package/esm/mcp-server/resources.d.ts.map +1 -1
  30. package/esm/mcp-server/resources.js +10 -2
  31. package/esm/mcp-server/resources.js.map +1 -1
  32. package/esm/mcp-server/server.d.ts.map +1 -1
  33. package/esm/mcp-server/server.js +6 -5
  34. package/esm/mcp-server/server.js.map +1 -1
  35. package/esm/mcp-server/tools/projectsPauseProject.d.ts +7 -0
  36. package/esm/mcp-server/tools/projectsPauseProject.d.ts.map +1 -0
  37. package/esm/mcp-server/tools/projectsPauseProject.js +27 -0
  38. package/esm/mcp-server/tools/projectsPauseProject.js.map +1 -0
  39. package/esm/mcp-server/tools/projectsUnpauseProject.d.ts +7 -0
  40. package/esm/mcp-server/tools/projectsUnpauseProject.d.ts.map +1 -0
  41. package/esm/mcp-server/tools/projectsUnpauseProject.js +27 -0
  42. package/esm/mcp-server/tools/projectsUnpauseProject.js.map +1 -0
  43. package/esm/mcp-server/tools.d.ts.map +1 -1
  44. package/esm/mcp-server/tools.js +4 -3
  45. package/esm/mcp-server/tools.js.map +1 -1
  46. package/esm/models/authuser.d.ts +17 -66
  47. package/esm/models/authuser.d.ts.map +1 -1
  48. package/esm/models/authuser.js +10 -74
  49. package/esm/models/authuser.js.map +1 -1
  50. package/esm/models/createprojectop.d.ts +1 -1
  51. package/esm/models/createprojectop.d.ts.map +1 -1
  52. package/esm/models/createprojectop.js +4 -4
  53. package/esm/models/createprojectop.js.map +1 -1
  54. package/esm/models/getconfigurationop.d.ts +306 -0
  55. package/esm/models/getconfigurationop.d.ts.map +1 -1
  56. package/esm/models/getconfigurationop.js +296 -0
  57. package/esm/models/getconfigurationop.js.map +1 -1
  58. package/esm/models/importresourceop.d.ts +64 -0
  59. package/esm/models/importresourceop.d.ts.map +1 -1
  60. package/esm/models/importresourceop.js +64 -0
  61. package/esm/models/importresourceop.js.map +1 -1
  62. package/esm/models/pauseprojectop.d.ts +42 -0
  63. package/esm/models/pauseprojectop.d.ts.map +1 -0
  64. package/esm/models/pauseprojectop.js +35 -0
  65. package/esm/models/pauseprojectop.js.map +1 -0
  66. package/esm/models/unpauseprojectop.d.ts +42 -0
  67. package/esm/models/unpauseprojectop.d.ts.map +1 -0
  68. package/esm/models/unpauseprojectop.js +35 -0
  69. package/esm/models/unpauseprojectop.js.map +1 -0
  70. package/esm/models/updateprojectop.d.ts +1 -1
  71. package/esm/models/updateprojectop.d.ts.map +1 -1
  72. package/esm/models/updateprojectop.js +4 -4
  73. package/esm/models/updateprojectop.js.map +1 -1
  74. package/esm/models/uploadfileop.d.ts +2 -0
  75. package/esm/models/uploadfileop.d.ts.map +1 -1
  76. package/esm/models/uploadfileop.js +14 -0
  77. package/esm/models/uploadfileop.js.map +1 -1
  78. package/esm/models/userevent.d.ts +11 -63
  79. package/esm/models/userevent.d.ts.map +1 -1
  80. package/esm/models/userevent.js +10 -74
  81. package/esm/models/userevent.js.map +1 -1
  82. package/esm/sdk/marketplace.d.ts +0 -8
  83. package/esm/sdk/marketplace.d.ts.map +1 -1
  84. package/esm/sdk/marketplace.js +0 -10
  85. package/esm/sdk/marketplace.js.map +1 -1
  86. package/esm/sdk/projects.d.ts +16 -0
  87. package/esm/sdk/projects.d.ts.map +1 -1
  88. package/esm/sdk/projects.js +20 -0
  89. package/esm/sdk/projects.js.map +1 -1
  90. package/jsr.json +1 -1
  91. package/package.json +1 -1
  92. package/src/__tests__/marketplace.test.ts +5 -15
  93. package/src/__tests__/projects.test.ts +32 -0
  94. package/src/__tests__/security.test.ts +14 -1
  95. package/src/funcs/deploymentsUploadFile.ts +2 -1
  96. package/src/funcs/projectsPauseProject.ts +190 -0
  97. package/src/funcs/{marketplaceQueryExperimentationItems.ts → projectsUnpauseProject.ts} +30 -23
  98. package/src/lib/config.ts +3 -3
  99. package/src/mcp-server/mcp-server.ts +1 -1
  100. package/src/mcp-server/prompts.ts +8 -1
  101. package/src/mcp-server/resources.ts +16 -2
  102. package/src/mcp-server/server.ts +7 -5
  103. package/src/mcp-server/tools/projectsPauseProject.ts +35 -0
  104. package/src/mcp-server/tools/projectsUnpauseProject.ts +35 -0
  105. package/src/mcp-server/tools.ts +6 -3
  106. package/src/models/authuser.ts +29 -166
  107. package/src/models/createprojectop.ts +5 -5
  108. package/src/models/getconfigurationop.ts +579 -0
  109. package/src/models/importresourceop.ts +141 -0
  110. package/src/models/pauseprojectop.ts +83 -0
  111. package/src/models/unpauseprojectop.ts +83 -0
  112. package/src/models/updateprojectop.ts +5 -5
  113. package/src/models/uploadfileop.ts +26 -0
  114. package/src/models/userevent.ts +23 -174
  115. package/src/sdk/marketplace.ts +0 -22
  116. package/src/sdk/projects.ts +38 -0
  117. package/vercel-spec.json +426 -229
  118. package/esm/funcs/marketplaceQueryExperimentationItems.d.ts +0 -18
  119. package/esm/funcs/marketplaceQueryExperimentationItems.d.ts.map +0 -1
  120. package/esm/funcs/marketplaceQueryExperimentationItems.js.map +0 -1
  121. package/esm/mcp-server/tools/marketplaceQueryExperimentationItems.d.ts +0 -7
  122. package/esm/mcp-server/tools/marketplaceQueryExperimentationItems.d.ts.map +0 -1
  123. package/esm/mcp-server/tools/marketplaceQueryExperimentationItems.js +0 -28
  124. package/esm/mcp-server/tools/marketplaceQueryExperimentationItems.js.map +0 -1
  125. package/esm/models/queryexperimentationitemsop.d.ts +0 -148
  126. package/esm/models/queryexperimentationitemsop.d.ts.map +0 -1
  127. package/esm/models/queryexperimentationitemsop.js +0 -125
  128. package/esm/models/queryexperimentationitemsop.js.map +0 -1
  129. package/src/mcp-server/tools/marketplaceQueryExperimentationItems.ts +0 -39
  130. package/src/models/queryexperimentationitemsop.ts +0 -287
package/vercel-spec.json CHANGED
@@ -23072,8 +23072,53 @@
23072
23072
  "name": {
23073
23073
  "type": "string"
23074
23074
  },
23075
+ "description": {
23076
+ "type": "string"
23077
+ },
23075
23078
  "paymentMethodRequired": {
23076
23079
  "type": "boolean"
23080
+ },
23081
+ "cost": {
23082
+ "type": "string"
23083
+ },
23084
+ "details": {
23085
+ "type": "array",
23086
+ "items": {
23087
+ "type": "object",
23088
+ "properties": {
23089
+ "label": {
23090
+ "type": "string"
23091
+ },
23092
+ "value": {
23093
+ "type": "string"
23094
+ }
23095
+ },
23096
+ "required": [
23097
+ "label"
23098
+ ],
23099
+ "additionalProperties": false
23100
+ }
23101
+ },
23102
+ "heightlightedDetails": {
23103
+ "type": "array",
23104
+ "items": {
23105
+ "type": "object",
23106
+ "properties": {
23107
+ "label": {
23108
+ "type": "string"
23109
+ },
23110
+ "value": {
23111
+ "type": "string"
23112
+ }
23113
+ },
23114
+ "required": [
23115
+ "label"
23116
+ ],
23117
+ "additionalProperties": false
23118
+ }
23119
+ },
23120
+ "effectiveDate": {
23121
+ "type": "string"
23077
23122
  }
23078
23123
  },
23079
23124
  "additionalProperties": true
@@ -23735,6 +23780,174 @@
23735
23780
  "description": "A string representing the permission for projects. Possible values are `all` or `selected`.",
23736
23781
  "example": "all"
23737
23782
  },
23783
+ "transferRequest": {
23784
+ "oneOf": [
23785
+ {
23786
+ "properties": {
23787
+ "kind": {
23788
+ "type": "string",
23789
+ "enum": [
23790
+ "transfer-to-marketplace"
23791
+ ]
23792
+ },
23793
+ "metadata": {
23794
+ "additionalProperties": true,
23795
+ "type": "object"
23796
+ },
23797
+ "billingPlan": {
23798
+ "properties": {
23799
+ "id": {
23800
+ "type": "string"
23801
+ },
23802
+ "type": {
23803
+ "type": "string",
23804
+ "enum": [
23805
+ "subscription",
23806
+ "prepayment"
23807
+ ]
23808
+ },
23809
+ "scope": {
23810
+ "type": "string",
23811
+ "enum": [
23812
+ "installation",
23813
+ "resource"
23814
+ ]
23815
+ },
23816
+ "name": {
23817
+ "type": "string"
23818
+ },
23819
+ "description": {
23820
+ "type": "string"
23821
+ },
23822
+ "paymentMethodRequired": {
23823
+ "type": "boolean"
23824
+ },
23825
+ "preauthorizationAmount": {
23826
+ "type": "number"
23827
+ }
23828
+ },
23829
+ "required": [
23830
+ "id",
23831
+ "type",
23832
+ "name",
23833
+ "description"
23834
+ ],
23835
+ "type": "object"
23836
+ },
23837
+ "requestId": {
23838
+ "type": "string"
23839
+ },
23840
+ "transferId": {
23841
+ "type": "string"
23842
+ },
23843
+ "requester": {
23844
+ "properties": {
23845
+ "name": {
23846
+ "type": "string"
23847
+ },
23848
+ "email": {
23849
+ "type": "string"
23850
+ }
23851
+ },
23852
+ "required": [
23853
+ "name"
23854
+ ],
23855
+ "type": "object"
23856
+ },
23857
+ "createdAt": {
23858
+ "type": "number"
23859
+ },
23860
+ "expiresAt": {
23861
+ "type": "number"
23862
+ },
23863
+ "discardedAt": {
23864
+ "type": "number"
23865
+ },
23866
+ "discardedBy": {
23867
+ "type": "string"
23868
+ },
23869
+ "approvedAt": {
23870
+ "type": "number"
23871
+ },
23872
+ "approvedBy": {
23873
+ "type": "string"
23874
+ },
23875
+ "authorizationId": {
23876
+ "type": "string"
23877
+ }
23878
+ },
23879
+ "required": [
23880
+ "kind",
23881
+ "requestId",
23882
+ "transferId",
23883
+ "requester",
23884
+ "createdAt",
23885
+ "expiresAt"
23886
+ ],
23887
+ "type": "object"
23888
+ },
23889
+ {
23890
+ "properties": {
23891
+ "kind": {
23892
+ "type": "string",
23893
+ "enum": [
23894
+ "transfer-from-marketplace"
23895
+ ]
23896
+ },
23897
+ "requestId": {
23898
+ "type": "string"
23899
+ },
23900
+ "transferId": {
23901
+ "type": "string"
23902
+ },
23903
+ "requester": {
23904
+ "properties": {
23905
+ "name": {
23906
+ "type": "string"
23907
+ },
23908
+ "email": {
23909
+ "type": "string"
23910
+ }
23911
+ },
23912
+ "required": [
23913
+ "name"
23914
+ ],
23915
+ "type": "object"
23916
+ },
23917
+ "createdAt": {
23918
+ "type": "number"
23919
+ },
23920
+ "expiresAt": {
23921
+ "type": "number"
23922
+ },
23923
+ "discardedAt": {
23924
+ "type": "number"
23925
+ },
23926
+ "discardedBy": {
23927
+ "type": "string"
23928
+ },
23929
+ "approvedAt": {
23930
+ "type": "number"
23931
+ },
23932
+ "approvedBy": {
23933
+ "type": "string"
23934
+ },
23935
+ "authorizationId": {
23936
+ "type": "string"
23937
+ }
23938
+ },
23939
+ "required": [
23940
+ "kind",
23941
+ "requestId",
23942
+ "transferId",
23943
+ "requester",
23944
+ "createdAt",
23945
+ "expiresAt"
23946
+ ],
23947
+ "type": "object"
23948
+ }
23949
+ ]
23950
+ },
23738
23951
  "projects": {
23739
23952
  "items": {
23740
23953
  "type": "string"
@@ -23861,6 +24074,7 @@
23861
24074
  },
23862
24075
  "required": [
23863
24076
  "projectSelection",
24077
+ "transferRequest",
23864
24078
  "createdAt",
23865
24079
  "id",
23866
24080
  "integrationId",
@@ -25074,131 +25288,6 @@
25074
25288
  ]
25075
25289
  }
25076
25290
  },
25077
- "/v1/experimentation/items": {
25078
- "get": {
25079
- "description": "Queries flags, experiments under a Marketplace resource.",
25080
- "operationId": "queryExperimentationItems",
25081
- "security": [
25082
- {
25083
- "bearerToken": []
25084
- }
25085
- ],
25086
- "summary": "Query experimentation items",
25087
- "tags": [
25088
- "marketplace"
25089
- ],
25090
- "responses": {
25091
- "200": {
25092
- "description": "",
25093
- "content": {
25094
- "application/json": {
25095
- "schema": {
25096
- "properties": {
25097
- "items": {
25098
- "items": {
25099
- "properties": {
25100
- "id": {
25101
- "type": "string",
25102
- "description": "The Vercel generated ID for this item Integrations should not receive this in API responses"
25103
- },
25104
- "slug": {
25105
- "type": "string"
25106
- },
25107
- "origin": {
25108
- "type": "string"
25109
- },
25110
- "externalId": {
25111
- "type": "string",
25112
- "description": "The ID the partner has for this item. Integrations should receive this as `id` in API responses"
25113
- },
25114
- "integrationConfigurationId": {
25115
- "type": "string",
25116
- "description": "The id of the integration installation on a team"
25117
- },
25118
- "resourceId": {
25119
- "type": "string",
25120
- "description": "The flags collection ID"
25121
- },
25122
- "category": {
25123
- "type": "string",
25124
- "enum": [
25125
- "experiment",
25126
- "flag"
25127
- ],
25128
- "description": "An optional functional category for the item. Categorization semantics are: - flag (can resolve variants, can freely update variant resolution, usually does not perform analysis) - experiment (has variants, constrains changes to variant allocations, performs analysis) Using statsig as an example: - FeatureGate -\u003e flag - Experiment -\u003e experiment - Autotune -\u003e experiment Forwards compatibility for other primitives can be considered, ex. `DynamicConfig`, `Holdouts`, `Layers`"
25129
- },
25130
- "name": {
25131
- "type": "string"
25132
- },
25133
- "description": {
25134
- "type": "string"
25135
- },
25136
- "isArchived": {
25137
- "type": "boolean"
25138
- },
25139
- "createdAt": {
25140
- "type": "number"
25141
- },
25142
- "updatedAt": {
25143
- "type": "number"
25144
- }
25145
- },
25146
- "required": [
25147
- "id",
25148
- "slug",
25149
- "origin",
25150
- "externalId",
25151
- "integrationConfigurationId",
25152
- "resourceId"
25153
- ],
25154
- "type": "object"
25155
- },
25156
- "type": "array"
25157
- }
25158
- },
25159
- "required": [
25160
- "items"
25161
- ],
25162
- "type": "object"
25163
- }
25164
- }
25165
- }
25166
- },
25167
- "400": {
25168
- "description": "One of the provided values in the request query is invalid.",
25169
- "content": {
25170
- "application/json": {
25171
- "schema": {
25172
- "$ref": "#/components/schemas/VercelBadRequestError"
25173
- }
25174
- }
25175
- }
25176
- },
25177
- "401": {
25178
- "description": "",
25179
- "content": {
25180
- "application/json": {
25181
- "schema": {
25182
- "$ref": "#/components/schemas/VercelForbiddenError"
25183
- }
25184
- }
25185
- }
25186
- },
25187
- "403": {
25188
- "description": "You do not have permission to access this resource."
25189
- }
25190
- },
25191
- "parameters": [
25192
- {
25193
- "name": "resourceId",
25194
- "in": "query",
25195
- "schema": {
25196
- "type": "string"
25197
- }
25198
- }
25199
- ]
25200
- }
25201
- },
25202
25291
  "/v1/installations/{integrationConfigurationId}/resources/{resourceId}/experimentation/items": {
25203
25292
  "post": {
25204
25293
  "description": "Create one or multiple experimentation items",
@@ -33847,7 +33936,8 @@
33847
33936
  "properties": {
33848
33937
  "enabled": {
33849
33938
  "description": "Whether or not to generate OpenID Connect JSON Web Tokens.",
33850
- "type": "boolean"
33939
+ "type": "boolean",
33940
+ "default": true
33851
33941
  },
33852
33942
  "issuerMode": {
33853
33943
  "description": "team: `https://oidc.vercel.com/[team_slug]` global: `https://oidc.vercel.com`",
@@ -33856,12 +33946,9 @@
33856
33946
  "team",
33857
33947
  "global"
33858
33948
  ],
33859
- "default": "global"
33949
+ "default": "team"
33860
33950
  }
33861
- },
33862
- "required": [
33863
- "enabled"
33864
- ]
33951
+ }
33865
33952
  },
33866
33953
  "enableAffectedProjectsDeployments": {
33867
33954
  "description": "Opt-in to skip deployments when there are no changes to the root directory and its dependencies",
@@ -41361,7 +41448,8 @@
41361
41448
  "properties": {
41362
41449
  "enabled": {
41363
41450
  "description": "Whether or not to generate OpenID Connect JSON Web Tokens.",
41364
- "type": "boolean"
41451
+ "type": "boolean",
41452
+ "default": true
41365
41453
  },
41366
41454
  "issuerMode": {
41367
41455
  "description": "team: `https://oidc.vercel.com/[team_slug]` global: `https://oidc.vercel.com`",
@@ -41370,12 +41458,9 @@
41370
41458
  "team",
41371
41459
  "global"
41372
41460
  ],
41373
- "default": "global"
41461
+ "default": "team"
41374
41462
  }
41375
- },
41376
- "required": [
41377
- "enabled"
41378
- ]
41463
+ }
41379
41464
  },
41380
41465
  "passwordProtection": {
41381
41466
  "additionalProperties": false,
@@ -49774,6 +49859,161 @@
49774
49859
  ]
49775
49860
  }
49776
49861
  },
49862
+ "/v1/projects/{projectId}/pause": {
49863
+ "post": {
49864
+ "description": "Pause a project by passing its project `id` in the URL. If the project does not exist given the id then the request will fail with 400 status code. If the project disables auto assigning custom production domains and blocks the active Production Deployment then the request will return with 200 status code.",
49865
+ "operationId": "pauseProject",
49866
+ "security": [
49867
+ {
49868
+ "bearerToken": []
49869
+ }
49870
+ ],
49871
+ "summary": "Pause a project",
49872
+ "tags": [
49873
+ "projects"
49874
+ ],
49875
+ "responses": {
49876
+ "200": {
49877
+ "description": ""
49878
+ },
49879
+ "400": {
49880
+ "description": "One of the provided values in the request query is invalid.",
49881
+ "content": {
49882
+ "application/json": {
49883
+ "schema": {
49884
+ "$ref": "#/components/schemas/VercelBadRequestError"
49885
+ }
49886
+ }
49887
+ }
49888
+ },
49889
+ "401": {
49890
+ "description": "",
49891
+ "content": {
49892
+ "application/json": {
49893
+ "schema": {
49894
+ "$ref": "#/components/schemas/VercelForbiddenError"
49895
+ }
49896
+ }
49897
+ }
49898
+ },
49899
+ "402": {
49900
+ "description": "The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated"
49901
+ },
49902
+ "403": {
49903
+ "description": "You do not have permission to access this resource."
49904
+ },
49905
+ "500": {
49906
+ "description": ""
49907
+ }
49908
+ },
49909
+ "parameters": [
49910
+ {
49911
+ "name": "projectId",
49912
+ "description": "The unique project identifier",
49913
+ "in": "path",
49914
+ "required": true,
49915
+ "schema": {
49916
+ "type": "string",
49917
+ "description": "The unique project identifier"
49918
+ }
49919
+ },
49920
+ {
49921
+ "description": "The Team identifier to perform the request on behalf of.",
49922
+ "in": "query",
49923
+ "name": "teamId",
49924
+ "schema": {
49925
+ "type": "string",
49926
+ "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l"
49927
+ }
49928
+ },
49929
+ {
49930
+ "description": "The Team slug to perform the request on behalf of.",
49931
+ "in": "query",
49932
+ "name": "slug",
49933
+ "schema": {
49934
+ "type": "string",
49935
+ "example": "my-team-url-slug"
49936
+ }
49937
+ }
49938
+ ]
49939
+ }
49940
+ },
49941
+ "/v1/projects/{projectId}/unpause": {
49942
+ "post": {
49943
+ "description": "Unpause a project by passing its project `id` in the URL. If the project does not exist given the id then the request will fail with 400 status code. If the project enables auto assigning custom production domains and unblocks the active Production Deployment then the request will return with 200 status code.",
49944
+ "operationId": "unpauseProject",
49945
+ "security": [
49946
+ {
49947
+ "bearerToken": []
49948
+ }
49949
+ ],
49950
+ "summary": "Unpause a project",
49951
+ "tags": [
49952
+ "projects"
49953
+ ],
49954
+ "responses": {
49955
+ "200": {
49956
+ "description": ""
49957
+ },
49958
+ "400": {
49959
+ "description": "One of the provided values in the request query is invalid.",
49960
+ "content": {
49961
+ "application/json": {
49962
+ "schema": {
49963
+ "$ref": "#/components/schemas/VercelBadRequestError"
49964
+ }
49965
+ }
49966
+ }
49967
+ },
49968
+ "401": {
49969
+ "description": "",
49970
+ "content": {
49971
+ "application/json": {
49972
+ "schema": {
49973
+ "$ref": "#/components/schemas/VercelForbiddenError"
49974
+ }
49975
+ }
49976
+ }
49977
+ },
49978
+ "403": {
49979
+ "description": "You do not have permission to access this resource."
49980
+ },
49981
+ "500": {
49982
+ "description": ""
49983
+ }
49984
+ },
49985
+ "parameters": [
49986
+ {
49987
+ "name": "projectId",
49988
+ "description": "The unique project identifier",
49989
+ "in": "path",
49990
+ "required": true,
49991
+ "schema": {
49992
+ "type": "string",
49993
+ "description": "The unique project identifier"
49994
+ }
49995
+ },
49996
+ {
49997
+ "description": "The Team identifier to perform the request on behalf of.",
49998
+ "in": "query",
49999
+ "name": "teamId",
50000
+ "schema": {
50001
+ "type": "string",
50002
+ "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l"
50003
+ }
50004
+ },
50005
+ {
50006
+ "description": "The Team slug to perform the request on behalf of.",
50007
+ "in": "query",
50008
+ "name": "slug",
50009
+ "schema": {
50010
+ "type": "string",
50011
+ "example": "my-team-url-slug"
50012
+ }
50013
+ }
50014
+ ]
50015
+ }
50016
+ },
49777
50017
  "/v1/security/attack-mode": {
49778
50018
  "post": {
49779
50019
  "description": "Update the setting for determining if the project has Attack Challenge mode enabled.",
@@ -55122,7 +55362,7 @@
55122
55362
  }
55123
55363
  },
55124
55364
  "400": {
55125
- "description": "One of the provided values in the request query is invalid.\nCannot leave the team as the only owner.",
55365
+ "description": "One of the provided values in the request query is invalid.",
55126
55366
  "content": {
55127
55367
  "application/json": {
55128
55368
  "schema": {
@@ -56105,7 +56345,17 @@
56105
56345
  "example": "my-team-url-slug"
56106
56346
  }
56107
56347
  }
56108
- ]
56348
+ ],
56349
+ "requestBody": {
56350
+ "content": {
56351
+ "application/octet-stream": {
56352
+ "schema": {
56353
+ "type": "string",
56354
+ "format": "binary"
56355
+ }
56356
+ }
56357
+ }
56358
+ }
56109
56359
  }
56110
56360
  },
56111
56361
  "/v5/user/tokens": {
@@ -63048,52 +63298,19 @@
63048
63298
  },
63049
63299
  "favoriteProjectsAndSpaces": {
63050
63300
  "items": {
63051
- "oneOf": [
63052
- {
63053
- "properties": {
63054
- "projectId": {
63055
- "type": "string"
63056
- },
63057
- "scopeSlug": {
63058
- "type": "string"
63059
- },
63060
- "scopeId": {
63061
- "type": "string"
63062
- },
63063
- "teamId": {
63064
- "type": "string"
63065
- }
63066
- },
63067
- "required": [
63068
- "projectId",
63069
- "scopeSlug",
63070
- "scopeId"
63071
- ],
63072
- "type": "object"
63301
+ "properties": {
63302
+ "teamId": {
63303
+ "type": "string"
63073
63304
  },
63074
- {
63075
- "properties": {
63076
- "spaceId": {
63077
- "type": "string"
63078
- },
63079
- "scopeSlug": {
63080
- "type": "string"
63081
- },
63082
- "scopeId": {
63083
- "type": "string"
63084
- },
63085
- "teamId": {
63086
- "type": "string"
63087
- }
63088
- },
63089
- "required": [
63090
- "spaceId",
63091
- "scopeSlug",
63092
- "scopeId"
63093
- ],
63094
- "type": "object"
63305
+ "projectId": {
63306
+ "type": "string"
63095
63307
  }
63096
- ]
63308
+ },
63309
+ "required": [
63310
+ "teamId",
63311
+ "projectId"
63312
+ ],
63313
+ "type": "object"
63097
63314
  },
63098
63315
  "type": "array"
63099
63316
  },
@@ -63304,6 +63521,12 @@
63304
63521
  },
63305
63522
  "microfrontendProjectsPerGroup": {
63306
63523
  "type": "number"
63524
+ },
63525
+ "flagsExplorerOverridesThreshold": {
63526
+ "type": "number"
63527
+ },
63528
+ "flagsExplorerUnlimitedOverrides": {
63529
+ "type": "boolean"
63307
63530
  }
63308
63531
  },
63309
63532
  "type": "object"
@@ -68746,6 +68969,14 @@
68746
68969
  "microfrontendProjectsPerGroup": {
68747
68970
  "type": "number",
68748
68971
  "description": "An object containing infomation related to the amount of platform resources may be allocated to the User account."
68972
+ },
68973
+ "flagsExplorerOverridesThreshold": {
68974
+ "type": "number",
68975
+ "description": "An object containing infomation related to the amount of platform resources may be allocated to the User account."
68976
+ },
68977
+ "flagsExplorerUnlimitedOverrides": {
68978
+ "type": "boolean",
68979
+ "description": "An object containing infomation related to the amount of platform resources may be allocated to the User account."
68749
68980
  }
68750
68981
  },
68751
68982
  "type": "object",
@@ -68889,54 +69120,20 @@
68889
69120
  },
68890
69121
  "favoriteProjectsAndSpaces": {
68891
69122
  "items": {
68892
- "oneOf": [
68893
- {
68894
- "properties": {
68895
- "projectId": {
68896
- "type": "string"
68897
- },
68898
- "scopeSlug": {
68899
- "type": "string"
68900
- },
68901
- "scopeId": {
68902
- "type": "string"
68903
- },
68904
- "teamId": {
68905
- "type": "string"
68906
- }
68907
- },
68908
- "required": [
68909
- "projectId",
68910
- "scopeSlug",
68911
- "scopeId"
68912
- ],
68913
- "type": "object",
68914
- "description": "A list of projects and spaces across teams that a user has marked as a favorite."
69123
+ "properties": {
69124
+ "teamId": {
69125
+ "type": "string"
68915
69126
  },
68916
- {
68917
- "properties": {
68918
- "spaceId": {
68919
- "type": "string"
68920
- },
68921
- "scopeSlug": {
68922
- "type": "string"
68923
- },
68924
- "scopeId": {
68925
- "type": "string"
68926
- },
68927
- "teamId": {
68928
- "type": "string"
68929
- }
68930
- },
68931
- "required": [
68932
- "spaceId",
68933
- "scopeSlug",
68934
- "scopeId"
68935
- ],
68936
- "type": "object",
68937
- "description": "A list of projects and spaces across teams that a user has marked as a favorite."
69127
+ "projectId": {
69128
+ "type": "string"
68938
69129
  }
68939
- ]
69130
+ },
69131
+ "required": [
69132
+ "teamId",
69133
+ "projectId"
69134
+ ],
69135
+ "type": "object",
69136
+ "description": "A list of projects and spaces across teams that a user has marked as a favorite."
68940
69137
  },
68941
69138
  "type": "array",
68942
69139
  "description": "A list of projects and spaces across teams that a user has marked as a favorite."