picked 0.0.101 → 0.0.102-next.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 (36) hide show
  1. package/docs/reference/dashboard/workflow-test-runs.md +40 -17
  2. package/docs/reference/management-api/schema/action.md +67 -79
  3. package/docs/reference/management-api/schema/analytics-session.md +77 -94
  4. package/docs/reference/management-api/schema/analytics.md +16 -14
  5. package/docs/reference/management-api/schema/api-key.md +43 -51
  6. package/docs/reference/management-api/schema/auth.md +271 -404
  7. package/docs/reference/management-api/schema/cms-fields.md +348 -245
  8. package/docs/reference/management-api/schema/cms-models.md +369 -378
  9. package/docs/reference/management-api/schema/common.md +69 -130
  10. package/docs/reference/management-api/schema/condition.md +63 -74
  11. package/docs/reference/management-api/schema/design-system.md +59 -51
  12. package/docs/reference/management-api/schema/experience.md +388 -364
  13. package/docs/reference/management-api/schema/external-api.md +153 -171
  14. package/docs/reference/management-api/schema/feature.md +85 -103
  15. package/docs/reference/management-api/schema/feedback.md +27 -31
  16. package/docs/reference/management-api/schema/field.md +117 -135
  17. package/docs/reference/management-api/schema/index.md +184 -184
  18. package/docs/reference/management-api/schema/integration.md +72 -78
  19. package/docs/reference/management-api/schema/label.md +81 -137
  20. package/docs/reference/management-api/schema/lead.md +80 -119
  21. package/docs/reference/management-api/schema/mcp-server.md +73 -71
  22. package/docs/reference/management-api/schema/metric.md +6 -9
  23. package/docs/reference/management-api/schema/operation.md +17 -26
  24. package/docs/reference/management-api/schema/organization.md +198 -220
  25. package/docs/reference/management-api/schema/project.md +177 -186
  26. package/docs/reference/management-api/schema/report.md +69 -65
  27. package/docs/reference/management-api/schema/saved-view.md +71 -71
  28. package/docs/reference/management-api/schema/shopify.md +331 -204
  29. package/docs/reference/management-api/schema/step.md +72 -80
  30. package/docs/reference/management-api/schema/tenant-branding.md +48 -70
  31. package/docs/reference/management-api/schema/workbench.md +54 -66
  32. package/docs/reference/management-api/schema/workflow-run.md +66 -79
  33. package/docs/reference/management-api/schema/workflow.md +310 -353
  34. package/docs/reference/management-api/schema/workspace-version.md +212 -261
  35. package/docs/reference/management-api/schema/workspace.md +275 -328
  36. package/package.json +4 -4
@@ -6,13 +6,15 @@ generated: true
6
6
 
7
7
  # Integration schema
8
8
 
9
- The operations and types that `integration.graphql` adds to the Management API. See [Management API schema](/reference/management-api/schema) for every domain, the endpoint and authentication.
9
+ See [Management API schema](/reference/management-api/schema) for every domain, the endpoint and authentication.
10
10
 
11
11
  ## Mutations
12
12
 
13
13
  ### `integrationInstall`
14
14
 
15
- Install an integration for a project. Requires scope: `ORGANIZATION_INTEGRATIONS_CREATE`.
15
+ Installs an integration for a project. A project that already has an integration of that type
16
+ gets a `CONFLICT` error.
17
+ Scope: `ORGANIZATION_INTEGRATIONS_CREATE` and `ORGANIZATION_PROJECTS_READ`.
16
18
 
17
19
  ```graphql
18
20
  integrationInstall(input: IntegrationInstallInput!): IntegrationInstallPayload! @auth
@@ -20,7 +22,8 @@ integrationInstall(input: IntegrationInstallInput!): IntegrationInstallPayload!
20
22
 
21
23
  ### `integrationUninstall`
22
24
 
23
- Uninstall an integration (cascades to delete all configurations). Requires scope: `ORGANIZATION_INTEGRATIONS_DELETE`.
25
+ Uninstalls an integration and deletes its configuration.
26
+ Scope: `ORGANIZATION_INTEGRATIONS_DELETE`.
24
27
 
25
28
  ```graphql
26
29
  integrationUninstall(id: ID!): IntegrationUninstallPayload! @auth
@@ -28,7 +31,9 @@ integrationUninstall(id: ID!): IntegrationUninstallPayload! @auth
28
31
 
29
32
  ### `integrationConfigurationCreate`
30
33
 
31
- Create a configuration for an installed integration. Requires scope: `ORGANIZATION_INTEGRATIONS_CREATE`.
34
+ Creates the configuration of an installed integration. An integration has at most one
35
+ configuration; a second gets a `CONFLICT` error.
36
+ Scope: `ORGANIZATION_INTEGRATIONS_CREATE`.
32
37
 
33
38
  ```graphql
34
39
  integrationConfigurationCreate(input: IntegrationConfigurationCreateInput!): IntegrationConfigurationCreatePayload! @auth
@@ -36,7 +41,8 @@ integrationConfigurationCreate(input: IntegrationConfigurationCreateInput!): Int
36
41
 
37
42
  ### `integrationConfigurationUpdate`
38
43
 
39
- Update an integration's configuration. Requires scope: `ORGANIZATION_INTEGRATIONS_UPDATE`.
44
+ Updates an integration's configuration.
45
+ Scope: `ORGANIZATION_INTEGRATIONS_UPDATE`.
40
46
 
41
47
  ```graphql
42
48
  integrationConfigurationUpdate(id: ID!, input: IntegrationConfigurationUpdateInput!): IntegrationConfigurationUpdatePayload! @auth
@@ -44,10 +50,17 @@ integrationConfigurationUpdate(id: ID!, input: IntegrationConfigurationUpdateInp
44
50
 
45
51
  ### `integrationConfigurationDelete`
46
52
 
47
- Delete an integration's configuration. Requires scope: `ORGANIZATION_INTEGRATIONS_DELETE`.
53
+ Deletes an integration's configuration. The integration stays installed.
54
+ Scope: `ORGANIZATION_INTEGRATIONS_DELETE`.
48
55
 
49
56
  ```graphql
50
- integrationConfigurationDelete(id: ID!, type: IntegrationType!): IntegrationConfigurationDeletePayload! @auth
57
+ integrationConfigurationDelete(
58
+ id: ID!
59
+ """
60
+ The type of the integration. Not read: `id` alone identifies the configuration.
61
+ """
62
+ type: IntegrationType!
63
+ ): IntegrationConfigurationDeletePayload! @auth
51
64
  ```
52
65
 
53
66
  ## Types
@@ -55,11 +68,9 @@ integrationConfigurationDelete(id: ID!, type: IntegrationType!): IntegrationConf
55
68
  ### `IntegrationType`
56
69
 
57
70
  ```graphql
58
- """Integration types available for project configuration."""
71
+ """The service an integration connects a project to."""
59
72
  enum IntegrationType {
60
- """
61
- Vercel deployment integration — fires deploy hooks on workspace publish.
62
- """
73
+ """Vercel, through deploy hooks."""
63
74
  VERCEL
64
75
  }
65
76
  ```
@@ -68,27 +79,26 @@ enum IntegrationType {
68
79
 
69
80
  ```graphql
70
81
  """
71
- An integration installed for a project. Created via `integrationInstall`;
72
- removed via `integrationUninstall` (cascades to the configuration).
73
-
74
- `configuration` is null until `integrationConfigurationCreate` is
75
- invoked. The configuration union is resolved by `type`.
82
+ A connection between a project and another service. A project has at most one integration of
83
+ each type.
76
84
  """
77
85
  type Integration {
78
- """Unique integration identifier."""
86
+ """The ID of the integration."""
79
87
  id: ID!
80
- """ID of the project this integration belongs to."""
88
+ """The ID of the project the integration belongs to."""
81
89
  projectId: ID!
82
- """The type of integration."""
90
+ """The service the integration connects to."""
83
91
  type: IntegrationType!
84
- """When this integration was installed."""
92
+ """When the integration was installed."""
85
93
  installedAt: DateTime!
86
- """When this integration was last updated."""
94
+ """When the integration last changed."""
87
95
  updatedAt: DateTime!
88
- """The project this integration belongs to."""
96
+ """The project the integration belongs to."""
89
97
  project: Project!
90
98
  """
91
- Integration-specific configuration (resolved by `type`). Null until `integrationConfigurationCreate` is invoked.
99
+ The integration's settings, of the type that matches `type`. Null until
100
+ `integrationConfigurationCreate` creates them.
101
+ Scope: `ORGANIZATION_INTEGRATIONS_READ`.
92
102
  """
93
103
  configuration: IntegrationConfiguration @auth
94
104
  }
@@ -97,9 +107,7 @@ type Integration {
97
107
  ### `IntegrationConfiguration`
98
108
 
99
109
  ```graphql
100
- """
101
- Union of all integration-specific configuration types. New types extend this union.
102
- """
110
+ """The settings of an integration, one member per integration type."""
103
111
  union IntegrationConfiguration = VercelConfiguration
104
112
  ```
105
113
 
@@ -107,20 +115,18 @@ union IntegrationConfiguration = VercelConfiguration
107
115
 
108
116
  ```graphql
109
117
  """
110
- Configuration for a Vercel integration with deploy hooks. Fires the
111
- configured hooks on workspace publish so the downstream Vercel project
112
- re-deploys with the latest content.
118
+ The settings of a Vercel integration: the deploy hooks that redeploy the Vercel project.
113
119
  """
114
120
  type VercelConfiguration {
115
- """Unique configuration identifier."""
121
+ """The ID of the configuration."""
116
122
  id: ID!
117
- """ID of the parent integration."""
123
+ """The ID of the integration the configuration belongs to."""
118
124
  integrationId: ID!
119
- """List of deploy hooks configured for this integration."""
125
+ """The deploy hooks."""
120
126
  deployHooks: [VercelDeployHook!]!
121
- """When this configuration was created."""
127
+ """When the configuration was created."""
122
128
  createdAt: DateTime!
123
- """When this configuration was last updated."""
129
+ """When the configuration last changed."""
124
130
  updatedAt: DateTime!
125
131
  }
126
132
  ```
@@ -128,15 +134,11 @@ type VercelConfiguration {
128
134
  ### `VercelDeployHook`
129
135
 
130
136
  ```graphql
131
- """A Vercel deploy hook with environment name and URL."""
137
+ """A Vercel deploy hook for one environment."""
132
138
  type VercelDeployHook {
133
- """
134
- Environment name (e.g. `Production`, `Staging`). Shown in the dashboard.
135
- """
139
+ """The environment name, such as `Production`."""
136
140
  name: String!
137
- """
138
- Vercel deploy hook URL. Treat as sensitive — anyone with this URL can trigger the deploy.
139
- """
141
+ """The deploy hook URL. Anyone with the URL can trigger a deployment."""
140
142
  hookUrl: String!
141
143
  }
142
144
  ```
@@ -144,11 +146,11 @@ type VercelDeployHook {
144
146
  ### `IntegrationInstallInput`
145
147
 
146
148
  ```graphql
147
- """Input for `integrationInstall`."""
149
+ """The input of `integrationInstall`."""
148
150
  input IntegrationInstallInput {
149
- """ID of the project to install the integration for."""
151
+ """The ID of the project."""
150
152
  projectId: ID!
151
- """Type of integration to install."""
153
+ """The service to connect."""
152
154
  type: IntegrationType!
153
155
  }
154
156
  ```
@@ -156,11 +158,9 @@ input IntegrationInstallInput {
156
158
  ### `IntegrationInstallPayload`
157
159
 
158
160
  ```graphql
159
- """Payload returned by `integrationInstall`."""
161
+ """The result of `integrationInstall`."""
160
162
  type IntegrationInstallPayload {
161
- """
162
- The installed integration. Configuration is null until `integrationConfigurationCreate` is invoked.
163
- """
163
+ """The installed integration. Null when it cannot be read back."""
164
164
  integration: Integration
165
165
  }
166
166
  ```
@@ -168,11 +168,9 @@ type IntegrationInstallPayload {
168
168
  ### `IntegrationUninstallPayload`
169
169
 
170
170
  ```graphql
171
- """
172
- Payload returned by `integrationUninstall`. Removing an integration cascades to its configuration.
173
- """
171
+ """The result of `integrationUninstall`."""
174
172
  type IntegrationUninstallPayload {
175
- """Whether the uninstall was successful."""
173
+ """Whether the integration was uninstalled. Always `true`."""
176
174
  success: Boolean!
177
175
  }
178
176
  ```
@@ -180,11 +178,13 @@ type IntegrationUninstallPayload {
180
178
  ### `VercelDeployHookInput`
181
179
 
182
180
  ```graphql
183
- """Input for a Vercel deploy hook."""
181
+ """A Vercel deploy hook to save."""
184
182
  input VercelDeployHookInput {
185
- """Environment name (e.g. `Production`, `Staging`)."""
183
+ """The environment name, such as `Production`."""
186
184
  name: String!
187
- """Vercel deploy hook URL."""
185
+ """
186
+ The deploy hook URL. Must start with `https://api.vercel.com/v1/integrations/deploy/`.
187
+ """
188
188
  hookUrl: String!
189
189
  }
190
190
  ```
@@ -192,11 +192,9 @@ input VercelDeployHookInput {
192
192
  ### `VercelConfigurationInput`
193
193
 
194
194
  ```graphql
195
- """
196
- Vercel-specific configuration input for `integrationConfigurationCreate`.
197
- """
195
+ """The settings of a new Vercel configuration."""
198
196
  input VercelConfigurationInput {
199
- """Deploy hooks for this configuration."""
197
+ """The deploy hooks. At least one."""
200
198
  deployHooks: [VercelDeployHookInput!]!
201
199
  }
202
200
  ```
@@ -204,11 +202,9 @@ input VercelConfigurationInput {
204
202
  ### `VercelConfigurationUpdateFields`
205
203
 
206
204
  ```graphql
207
- """
208
- Vercel-specific fields for `integrationConfigurationUpdate`. Omit a field to leave it unchanged.
209
- """
205
+ """The Vercel settings to change. Omit a field to keep its value."""
210
206
  input VercelConfigurationUpdateFields {
211
- """Updated deploy hooks. Replaces the existing list when set."""
207
+ """The deploy hooks, which replace the current list. At least one."""
212
208
  deployHooks: [VercelDeployHookInput!]
213
209
  }
214
210
  ```
@@ -216,14 +212,12 @@ input VercelConfigurationUpdateFields {
216
212
  ### `IntegrationConfigurationCreateInput`
217
213
 
218
214
  ```graphql
219
- """
220
- Input for `integrationConfigurationCreate`. Set the sub-input that matches the integration's `type`.
221
- """
215
+ """The input of `integrationConfigurationCreate`."""
222
216
  input IntegrationConfigurationCreateInput {
223
- """ID of the integration to create the configuration for."""
217
+ """The ID of the integration."""
224
218
  integrationId: ID!
225
219
  """
226
- Vercel-specific configuration. Provide when the integration type is `VERCEL`.
220
+ The Vercel settings. Required: only `VERCEL` integrations take a configuration.
227
221
  """
228
222
  vercel: VercelConfigurationInput
229
223
  }
@@ -232,9 +226,9 @@ input IntegrationConfigurationCreateInput {
232
226
  ### `IntegrationConfigurationCreatePayload`
233
227
 
234
228
  ```graphql
235
- """Payload returned by `integrationConfigurationCreate`."""
229
+ """The result of `integrationConfigurationCreate`."""
236
230
  type IntegrationConfigurationCreatePayload {
237
- """The created configuration."""
231
+ """The created configuration. Null when it cannot be read back."""
238
232
  configuration: IntegrationConfiguration
239
233
  }
240
234
  ```
@@ -242,11 +236,11 @@ type IntegrationConfigurationCreatePayload {
242
236
  ### `IntegrationConfigurationUpdateInput`
243
237
 
244
238
  ```graphql
245
- """Input for `integrationConfigurationUpdate`."""
239
+ """
240
+ The input of `integrationConfigurationUpdate`. Omit a field to keep its value.
241
+ """
246
242
  input IntegrationConfigurationUpdateInput {
247
- """
248
- Vercel-specific configuration updates. Provide when the integration type is `VERCEL`.
249
- """
243
+ """The Vercel settings to change. Required."""
250
244
  vercel: VercelConfigurationUpdateFields
251
245
  }
252
246
  ```
@@ -254,9 +248,9 @@ input IntegrationConfigurationUpdateInput {
254
248
  ### `IntegrationConfigurationUpdatePayload`
255
249
 
256
250
  ```graphql
257
- """Payload returned by `integrationConfigurationUpdate`."""
251
+ """The result of `integrationConfigurationUpdate`."""
258
252
  type IntegrationConfigurationUpdatePayload {
259
- """The updated configuration."""
253
+ """The updated configuration. Null when it cannot be read back."""
260
254
  configuration: IntegrationConfiguration
261
255
  }
262
256
  ```
@@ -264,9 +258,9 @@ type IntegrationConfigurationUpdatePayload {
264
258
  ### `IntegrationConfigurationDeletePayload`
265
259
 
266
260
  ```graphql
267
- """Payload returned by `integrationConfigurationDelete`."""
261
+ """The result of `integrationConfigurationDelete`."""
268
262
  type IntegrationConfigurationDeletePayload {
269
- """Whether the deletion was successful."""
263
+ """Whether the configuration was deleted. Always `true`."""
270
264
  success: Boolean!
271
265
  }
272
266
  ```