picked 0.0.111-next.3 → 0.0.111

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 (75) hide show
  1. package/dist/.tsbuildinfo +1 -1
  2. package/docs/explanation/app-authentication.md +178 -0
  3. package/docs/explanation/apps.md +169 -0
  4. package/docs/explanation/conditions-and-the-logic-engine.md +12 -2
  5. package/docs/explanation/feature-flag-allocation.md +5 -3
  6. package/docs/how-to/apps/add-a-page-to-the-dashboard.md +257 -0
  7. package/docs/how-to/apps/add-a-workflow-tool.md +199 -0
  8. package/docs/how-to/apps/add-an-mcp-server-to-an-app.md +210 -0
  9. package/docs/how-to/apps/connect-a-third-party-service-with-oauth.md +307 -0
  10. package/docs/how-to/apps/create-an-app-in-the-dashboard.md +162 -0
  11. package/docs/how-to/apps/deploy-an-app.md +201 -0
  12. package/docs/how-to/apps/develop-an-app-locally.md +152 -0
  13. package/docs/how-to/apps/host-an-app-on-vercel.md +226 -0
  14. package/docs/how-to/apps/install-an-app.md +116 -0
  15. package/docs/how-to/apps/link-to-an-installation-from-your-site.md +134 -0
  16. package/docs/how-to/apps/read-project-data-from-an-app.md +225 -0
  17. package/docs/how-to/apps/rotate-an-app-key.md +130 -0
  18. package/docs/how-to/apps/run-code-when-a-workspace-publishes.md +148 -0
  19. package/docs/how-to/apps/store-data-for-an-installation.md +230 -0
  20. package/docs/how-to/apps/test-an-app.md +359 -0
  21. package/docs/how-to/apps/upgrade-or-uninstall-an-app.md +97 -0
  22. package/docs/how-to/apps/use-an-app-tool-in-a-workflow.md +112 -0
  23. package/docs/index.md +6 -3
  24. package/docs/reference/apps/app-kit.md +811 -0
  25. package/docs/reference/apps/environment.md +116 -0
  26. package/docs/reference/apps/manifest.md +311 -0
  27. package/docs/reference/apps/protocol.md +497 -0
  28. package/docs/reference/dashboard/apps.md +504 -0
  29. package/docs/reference/dashboard/external-apis.md +5 -0
  30. package/docs/reference/dashboard/features.mdx +5 -5
  31. package/docs/reference/dashboard/labels.md +25 -8
  32. package/docs/reference/dashboard/lead-search.md +6 -6
  33. package/docs/reference/dashboard/reports.mdx +13 -5
  34. package/docs/reference/dashboard/workflow-tools.md +14 -0
  35. package/docs/reference/glossary.md +153 -140
  36. package/docs/reference/management-api/authentication.md +36 -27
  37. package/docs/reference/management-api/authorization-and-scopes.md +73 -21
  38. package/docs/reference/management-api/schema/api-key.md +10 -10
  39. package/docs/reference/management-api/schema/app.md +726 -0
  40. package/docs/reference/management-api/schema/auth.md +7 -7
  41. package/docs/reference/management-api/schema/common.md +54 -35
  42. package/docs/reference/management-api/schema/feature.md +1 -1
  43. package/docs/reference/management-api/schema/feedback.md +1 -1
  44. package/docs/reference/management-api/schema/index.md +35 -20
  45. package/docs/reference/management-api/schema/label.md +31 -8
  46. package/docs/reference/management-api/schema/organization.md +66 -66
  47. package/docs/reference/management-api/schema/project.md +5 -5
  48. package/docs/reference/management-api/schema/report.md +1 -1
  49. package/docs/reference/management-api/schema/shopify.md +19 -19
  50. package/docs/reference/management-api/schema/workflow.md +6 -1
  51. package/docs/reference/management-api/schema/workspace.md +2 -2
  52. package/docs/reference/sdk/analytics-events.md +42 -36
  53. package/docs/reference/sdk/conditions.md +3 -3
  54. package/docs/reference/sdk/fields.md +5 -4
  55. package/docs/reference/sdk/index.md +4 -4
  56. package/docs/reference/sdk/plugins/create-experience.md +11 -9
  57. package/docs/reference/sdk/plugins/hotjar.md +2 -2
  58. package/docs/reference/sdk/plugins/sentry.md +2 -2
  59. package/docs/reference/sdk/plugins/shopify.md +2 -2
  60. package/docs/reference/sdk/predicates.md +5 -5
  61. package/docs/reference/sdk/type-generation.md +24 -19
  62. package/docs/reference/tools/admin-api-client.md +15 -0
  63. package/docs/reference/tools/cli.md +192 -41
  64. package/docs/reference/tools/mcp.md +30 -9
  65. package/docs/tutorials/first-app.md +308 -0
  66. package/package.json +4 -4
  67. package/docs/explanation/how-pickedql-works.md +0 -76
  68. package/docs/how-to/analytics/index.md +0 -324
  69. package/docs/reference/management-api/schema/analytics.md +0 -75
  70. package/docs/reference/pickedql/data-sources.md +0 -174
  71. package/docs/reference/pickedql/dimensions.md +0 -103
  72. package/docs/reference/pickedql/filtering.md +0 -64
  73. package/docs/reference/pickedql/index.md +0 -18
  74. package/docs/reference/pickedql/schema.md +0 -172
  75. package/docs/reference/pickedql/virtual-functions.md +0 -248
@@ -12,7 +12,7 @@ See [Management API schema](/reference/management-api/schema) for every domain,
12
12
 
13
13
  ### `organization`
14
14
 
15
- Reads an organisation by ID or slug. Null when no organisation matches.
15
+ Reads an organization by ID or slug. Null when no organization matches.
16
16
  Scope: `ORGANIZATION_READ`.
17
17
 
18
18
  ```graphql
@@ -21,7 +21,7 @@ organization(input: OrganizationInput!): Organization @auth
21
21
 
22
22
  ### `organizations`
23
23
 
24
- Lists the organisations the user belongs to. `search` matches a case-insensitive substring of
24
+ Lists the organizations the user belongs to. `search` matches a case-insensitive substring of
25
25
  the name. Empty for an API key.
26
26
 
27
27
  ```graphql
@@ -32,7 +32,7 @@ organizations(first: Int, after: String, search: String, sortKey: OrganizationSo
32
32
 
33
33
  ### `organizationCreate`
34
34
 
35
- Creates an organisation owned by the calling user.
35
+ Creates an organization owned by the calling user.
36
36
  Scope: `ORGANIZATION_CREATE`.
37
37
 
38
38
  ```graphql
@@ -41,7 +41,7 @@ organizationCreate(input: OrganizationCreateInput!): OrganizationCreatePayload!
41
41
 
42
42
  ### `organizationUpdate`
43
43
 
44
- Updates an organisation.
44
+ Updates an organization.
45
45
  Scope: `ORGANIZATION_UPDATE`.
46
46
 
47
47
  ```graphql
@@ -50,7 +50,7 @@ organizationUpdate(input: OrganizationUpdateInput!): OrganizationUpdatePayload!
50
50
 
51
51
  ### `organizationDelete`
52
52
 
53
- Deletes an organisation.
53
+ Deletes an organization.
54
54
  Scope: `ORGANIZATION_DELETE`.
55
55
 
56
56
  ```graphql
@@ -59,7 +59,7 @@ organizationDelete(input: OrganizationDeleteInput!): OrganizationDeletePayload!
59
59
 
60
60
  ### `organizationMemberInvite`
61
61
 
62
- Invites an email address to an organisation and emails the invitee. `delivery` says which
62
+ Invites an email address to an organization and emails the invitee. `delivery` says which
63
63
  email went out.
64
64
  Scope: `ORGANIZATION_INVITATIONS_CREATE`.
65
65
 
@@ -95,7 +95,7 @@ organizationInvitationRevoke(input: OrganizationInvitationRevokeInput!): Organiz
95
95
 
96
96
  ### `organizationMemberRemove`
97
97
 
98
- Removes a member from an organisation, with every scope they held there. The primary owner
98
+ Removes a member from an organization, with every scope they held there. The primary owner
99
99
  cannot be removed.
100
100
  Scope: `ORGANIZATION_MEMBERS_DELETE`.
101
101
 
@@ -105,7 +105,7 @@ organizationMemberRemove(input: OrganizationMemberRemoveInput!): OrganizationMem
105
105
 
106
106
  ### `organizationMemberScopesUpdate`
107
107
 
108
- Sets the scopes a member holds in an organisation. The caller cannot edit their own scopes,
108
+ Sets the scopes a member holds in an organization. The caller cannot edit their own scopes,
109
109
  grant a scope they do not hold, or take `ORGANIZATION_MEMBERS_MANAGE_SCOPES` from the primary
110
110
  owner.
111
111
  Scope: `ORGANIZATION_MEMBERS_MANAGE_SCOPES`.
@@ -116,7 +116,7 @@ organizationMemberScopesUpdate(input: OrganizationMemberScopesUpdateInput!): Org
116
116
 
117
117
  ### `organizationClientManagerScopesUpdate`
118
118
 
119
- Sets the scopes a client manager holds in one organisation. The caller cannot edit their own
119
+ Sets the scopes a client manager holds in one organization. The caller cannot edit their own
120
120
  scopes, and a client manager can add or remove only scopes they hold there themselves.
121
121
  Scope: `STAFF_INVITE_CLIENT_MANAGER`.
122
122
 
@@ -130,7 +130,7 @@ organizationClientManagerScopesUpdate(input: OrganizationClientManagerScopesUpda
130
130
 
131
131
  ```graphql
132
132
  """
133
- The orders an organisation list can take. `reverse: true` flips the order.
133
+ The orders an organization list can take. `reverse: true` flips the order.
134
134
  """
135
135
  enum OrganizationSortKeys {
136
136
  """By name, A to Z."""
@@ -164,47 +164,47 @@ enum InvitationType {
164
164
  The top level of Picked. It holds your projects, members, API keys and integrations.
165
165
  """
166
166
  type Organization {
167
- """The ID of the organisation."""
167
+ """The ID of the organization."""
168
168
  id: ID!
169
- """The name of the organisation."""
169
+ """The name of the organization."""
170
170
  name: String!
171
171
  """
172
- The unique handle of the organisation in dashboard URLs. Null when it has none.
172
+ The unique handle of the organization in dashboard URLs. Null when it has none.
173
173
  """
174
174
  slug: String
175
- """When the organisation was created."""
175
+ """When the organization was created."""
176
176
  createdAt: DateTime!
177
- """When the organisation last changed."""
177
+ """When the organization last changed."""
178
178
  updatedAt: DateTime!
179
179
  """
180
- Whether every member must hold an `AAL2` session. A member of such an organisation is held to
181
- it on every request, whichever organisation the request names.
180
+ Whether every member must hold an `AAL2` session. A member of such an organization is held to
181
+ it on every request, whichever organization the request names.
182
182
  """
183
183
  requireMfa: Boolean!
184
184
  """
185
- The members of the organisation. Picked staff are not listed.
185
+ The members of the organization. Picked staff are not listed.
186
186
  Scope: `ORGANIZATION_MEMBERS_READ`.
187
187
  """
188
188
  members(first: Int, after: String): OrganizationMemberConnection!
189
189
  """
190
- The unexpired invitations of the organisation, newest first.
190
+ The unexpired invitations of the organization, newest first.
191
191
  Scope: `ORGANIZATION_INVITATIONS_READ`.
192
192
  """
193
193
  invitations(first: Int, after: String): OrganizationInvitationConnection!
194
194
  """
195
- The projects in the organisation. `search` matches a case-insensitive substring of the name.
195
+ The projects in the organization. `search` matches a case-insensitive substring of the name.
196
196
  Scope: `ORGANIZATION_PROJECTS_READ`.
197
197
  """
198
198
  projects(first: Int, after: String, search: String, sortKey: ProjectSortKeys = NAME, reverse: Boolean = false): ProjectConnection!
199
199
  """
200
- The API keys of the organisation.
200
+ The API keys of the organization.
201
201
  Scope: `ORGANIZATION_API_KEYS_READ`.
202
202
  """
203
203
  apiKeys(first: Int, after: String): ApiKeyConnection!
204
- """The scopes the viewer holds in the organisation."""
204
+ """The scopes the viewer holds in the organization."""
205
205
  viewerScopes: [Scope!]!
206
206
  """
207
- Every client manager, with the scopes they hold in the organisation. Empty unless the viewer
207
+ Every client manager, with the scopes they hold in the organization. Empty unless the viewer
208
208
  holds `STAFF_READ`.
209
209
  """
210
210
  clientManagerAccess: [OrganizationClientManagerAccess!]!
@@ -214,7 +214,7 @@ type Organization {
214
214
  ### `OrganizationMember`
215
215
 
216
216
  ```graphql
217
- """A person in an organisation."""
217
+ """A person in an organization."""
218
218
  type OrganizationMember {
219
219
  """The ID of the member's user."""
220
220
  id: ID!
@@ -229,8 +229,8 @@ type OrganizationMember {
229
229
  """Whether the member has a verified MFA factor."""
230
230
  mfaState: MfaState!
231
231
  """
232
- The scopes the member holds in the organisation, one entry per location. Empty unless the
233
- viewer holds `ORGANIZATION_MEMBERS_MANAGE_SCOPES` in the organisation.
232
+ The scopes the member holds in the organization, one entry per location. Empty unless the
233
+ viewer holds `ORGANIZATION_MEMBERS_MANAGE_SCOPES` in the organization.
234
234
  """
235
235
  scopeGrants: [MemberScopeGrant!]!
236
236
  }
@@ -239,10 +239,10 @@ type OrganizationMember {
239
239
  ### `MemberScopeGrant`
240
240
 
241
241
  ```graphql
242
- """The scopes a member holds at one location in an organisation."""
242
+ """The scopes a member holds at one location in an organization."""
243
243
  type MemberScopeGrant {
244
244
  """
245
- The ID of the project the scopes apply to. Null for the organisation itself.
245
+ The ID of the project the scopes apply to. Null for the organization itself.
246
246
  """
247
247
  projectId: ID
248
248
  """The scopes held at the location."""
@@ -254,14 +254,14 @@ type MemberScopeGrant {
254
254
 
255
255
  ```graphql
256
256
  """
257
- A client manager and the scopes they hold in one organisation, on top of the root grant that
258
- reaches every organisation.
257
+ A client manager and the scopes they hold in one organization, on top of the root grant that
258
+ reaches every organization.
259
259
  """
260
260
  type OrganizationClientManagerAccess {
261
261
  """The client manager."""
262
262
  user: AdminUser!
263
263
  """
264
- The scopes the client manager holds in the organisation. Empty when they hold none.
264
+ The scopes the client manager holds in the organization. Empty when they hold none.
265
265
  """
266
266
  scopes: [Scope!]!
267
267
  }
@@ -282,7 +282,7 @@ type OrganizationMemberEdge {
282
282
  ### `OrganizationMemberConnection`
283
283
 
284
284
  ```graphql
285
- """A page of organisation members."""
285
+ """A page of organization members."""
286
286
  type OrganizationMemberConnection {
287
287
  """The edges in this page."""
288
288
  edges: [OrganizationMemberEdge!]!
@@ -297,7 +297,7 @@ type OrganizationMemberConnection {
297
297
 
298
298
  ```graphql
299
299
  """
300
- An offer to join an organisation, sent to an email address. It is single-use, expires 30 days
300
+ An offer to join an organization, sent to an email address. It is single-use, expires 30 days
301
301
  after it is created, and is removed once accepted, declined or revoked.
302
302
  """
303
303
  type OrganizationInvitation {
@@ -329,7 +329,7 @@ type OrganizationInvitationEdge {
329
329
  ### `OrganizationInvitationConnection`
330
330
 
331
331
  ```graphql
332
- """A page of organisation invitations."""
332
+ """A page of organization invitations."""
333
333
  type OrganizationInvitationConnection {
334
334
  """The edges in this page."""
335
335
  edges: [OrganizationInvitationEdge!]!
@@ -345,14 +345,14 @@ type OrganizationInvitationConnection {
345
345
  ```graphql
346
346
  """
347
347
  An invitation addressed to the viewer's email address. Its `token` lets the bearer join the
348
- organisation, so treat it as a secret.
348
+ organization, so treat it as a secret.
349
349
  """
350
350
  type ViewerInvitation {
351
351
  """The ID of the invitation."""
352
352
  id: ID!
353
353
  """The token that accepts or declines the invitation."""
354
354
  token: String!
355
- """The name of the inviting organisation."""
355
+ """The name of the inviting organization."""
356
356
  organizationName: String!
357
357
  """When the invitation was created."""
358
358
  createdAt: DateTime!
@@ -390,11 +390,11 @@ type ViewerInvitationConnection {
390
390
  ### `OrganizationEdge`
391
391
 
392
392
  ```graphql
393
- """An organisation in a page of results."""
393
+ """An organization in a page of results."""
394
394
  type OrganizationEdge {
395
395
  """The cursor of this edge."""
396
396
  cursor: String!
397
- """The organisation."""
397
+ """The organization."""
398
398
  node: Organization!
399
399
  }
400
400
  ```
@@ -402,13 +402,13 @@ type OrganizationEdge {
402
402
  ### `OrganizationConnection`
403
403
 
404
404
  ```graphql
405
- """A page of organisations."""
405
+ """A page of organizations."""
406
406
  type OrganizationConnection {
407
407
  """The edges in this page."""
408
408
  edges: [OrganizationEdge!]!
409
409
  """Where this page sits in the list."""
410
410
  pageInfo: PageInfo!
411
- """The total number of organisations."""
411
+ """The total number of organizations."""
412
412
  totalCount: Int!
413
413
  }
414
414
  ```
@@ -420,9 +420,9 @@ type OrganizationConnection {
420
420
  The input of `organization`. Give `id` or `slug`; `id` wins when both are given.
421
421
  """
422
422
  input OrganizationInput {
423
- """The ID of the organisation."""
423
+ """The ID of the organization."""
424
424
  id: ID
425
- """The slug of the organisation."""
425
+ """The slug of the organization."""
426
426
  slug: String
427
427
  }
428
428
  ```
@@ -432,10 +432,10 @@ input OrganizationInput {
432
432
  ```graphql
433
433
  """The input of `organizationCreate`."""
434
434
  input OrganizationCreateInput {
435
- """The name of the organisation."""
435
+ """The name of the organization."""
436
436
  name: String!
437
437
  """
438
- The slug of the organisation: lowercase letters, numbers and hyphens, unique across Picked. A
438
+ The slug of the organization: lowercase letters, numbers and hyphens, unique across Picked. A
439
439
  few words that name dashboard pages, such as `account` and `login`, are reserved.
440
440
  """
441
441
  slug: String!
@@ -447,7 +447,7 @@ input OrganizationCreateInput {
447
447
  ```graphql
448
448
  """The result of `organizationCreate`."""
449
449
  type OrganizationCreatePayload {
450
- """The created organisation."""
450
+ """The created organization."""
451
451
  organization: Organization
452
452
  }
453
453
  ```
@@ -457,11 +457,11 @@ type OrganizationCreatePayload {
457
457
  ```graphql
458
458
  """The input of `organizationUpdate`. Omit a field to keep its value."""
459
459
  input OrganizationUpdateInput {
460
- """The ID of the organisation."""
460
+ """The ID of the organization."""
461
461
  id: ID!
462
- """The name of the organisation."""
462
+ """The name of the organization."""
463
463
  name: String
464
- """The slug of the organisation, under the same rules as on create."""
464
+ """The slug of the organization, under the same rules as on create."""
465
465
  slug: String
466
466
  """
467
467
  Whether every member must hold an `AAL2` session. Turning it on needs the caller's own session
@@ -476,7 +476,7 @@ input OrganizationUpdateInput {
476
476
  ```graphql
477
477
  """The result of `organizationUpdate`."""
478
478
  type OrganizationUpdatePayload {
479
- """The updated organisation."""
479
+ """The updated organization."""
480
480
  organization: Organization
481
481
  }
482
482
  ```
@@ -486,7 +486,7 @@ type OrganizationUpdatePayload {
486
486
  ```graphql
487
487
  """The input of `organizationDelete`."""
488
488
  input OrganizationDeleteInput {
489
- """The ID of the organisation."""
489
+ """The ID of the organization."""
490
490
  id: ID!
491
491
  }
492
492
  ```
@@ -496,7 +496,7 @@ input OrganizationDeleteInput {
496
496
  ```graphql
497
497
  """The result of `organizationDelete`."""
498
498
  type OrganizationDeletePayload {
499
- """The ID of the deleted organisation."""
499
+ """The ID of the deleted organization."""
500
500
  deletedOrganizationId: ID
501
501
  }
502
502
  ```
@@ -506,7 +506,7 @@ type OrganizationDeletePayload {
506
506
  ```graphql
507
507
  """The input of `organizationMemberInvite`."""
508
508
  input OrganizationMemberInviteInput {
509
- """The ID of the organisation."""
509
+ """The ID of the organization."""
510
510
  organizationId: ID!
511
511
  """The email address to invite."""
512
512
  email: String!
@@ -568,11 +568,11 @@ input OrganizationInvitationAcceptInput {
568
568
  ### `AcceptedMembership`
569
569
 
570
570
  ```graphql
571
- """The organisation a user joined by accepting an invitation."""
571
+ """The organization a user joined by accepting an invitation."""
572
572
  type AcceptedMembership {
573
- """The ID of the organisation."""
573
+ """The ID of the organization."""
574
574
  organizationId: ID!
575
- """The name of the organisation."""
575
+ """The name of the organization."""
576
576
  organizationName: String!
577
577
  }
578
578
  ```
@@ -582,7 +582,7 @@ type AcceptedMembership {
582
582
  ```graphql
583
583
  """The result of `organizationInvitationAccept`."""
584
584
  type OrganizationInvitationAcceptPayload {
585
- """The organisation joined."""
585
+ """The organization joined."""
586
586
  membership: AcceptedMembership
587
587
  }
588
588
  ```
@@ -614,7 +614,7 @@ type OrganizationInvitationDeclinePayload {
614
614
  input OrganizationInvitationRevokeInput {
615
615
  """The ID of the invitation."""
616
616
  invitationId: ID!
617
- """Ignored. The invitation's own organisation applies."""
617
+ """Ignored. The invitation's own organization applies."""
618
618
  organizationId: ID!
619
619
  }
620
620
  ```
@@ -634,7 +634,7 @@ type OrganizationInvitationRevokePayload {
634
634
  ```graphql
635
635
  """The input of `organizationMemberRemove`."""
636
636
  input OrganizationMemberRemoveInput {
637
- """The ID of the organisation."""
637
+ """The ID of the organization."""
638
638
  organizationId: ID!
639
639
  """The ID of the member's user."""
640
640
  userId: ID!
@@ -655,12 +655,12 @@ type OrganizationMemberRemovePayload {
655
655
 
656
656
  ```graphql
657
657
  """
658
- The scopes to grant at one location in an organisation. A grant on the organisation itself
658
+ The scopes to grant at one location in an organization. A grant on the organization itself
659
659
  always includes `ORGANIZATION_READ`.
660
660
  """
661
661
  input MemberScopeGrantInput {
662
662
  """
663
- The ID of the project the scopes apply to. Null for the organisation itself.
663
+ The ID of the project the scopes apply to. Null for the organization itself.
664
664
  """
665
665
  projectId: ID
666
666
  """The scopes to hold at the location."""
@@ -675,13 +675,13 @@ input MemberScopeGrantInput {
675
675
  The input of `organizationMemberScopesUpdate`. Every field is required.
676
676
  """
677
677
  input OrganizationMemberScopesUpdateInput {
678
- """The ID of the organisation."""
678
+ """The ID of the organization."""
679
679
  organizationId: ID!
680
680
  """The ID of the member's user."""
681
681
  userId: ID!
682
682
  """
683
- Every grant the member keeps in the organisation, at most one per location. A location left
684
- out loses its grant. `ORGANIZATION_MEMBERS_MANAGE_SCOPES` applies to the organisation only.
683
+ Every grant the member keeps in the organization, at most one per location. A location left
684
+ out loses its grant. `ORGANIZATION_MEMBERS_MANAGE_SCOPES` applies to the organization only.
685
685
  """
686
686
  grants: [MemberScopeGrantInput!]!
687
687
  }
@@ -704,13 +704,13 @@ type OrganizationMemberScopesUpdatePayload {
704
704
  The input of `organizationClientManagerScopesUpdate`. Every field is required.
705
705
  """
706
706
  input OrganizationClientManagerScopesUpdateInput {
707
- """The ID of the organisation."""
707
+ """The ID of the organization."""
708
708
  organizationId: ID!
709
709
  """The ID of the client manager's user."""
710
710
  userId: ID!
711
711
  """
712
- The scopes to hold in the organisation, replacing the current ones. An empty list clears them,
713
- leaving the root grant. A scope that applies to every organisation fails validation.
712
+ The scopes to hold in the organization, replacing the current ones. An empty list clears them,
713
+ leaving the root grant. A scope that applies to every organization fails validation.
714
714
  """
715
715
  scopes: [Scope!]!
716
716
  }
@@ -21,7 +21,7 @@ project(input: ProjectInput!): Project @auth
21
21
 
22
22
  ### `projects`
23
23
 
24
- Lists the projects the user can reach, across every organisation they belong to. `search`
24
+ Lists the projects the user can reach, across every organization they belong to. `search`
25
25
  matches a case-insensitive substring of the name. Empty for an API key.
26
26
 
27
27
  ```graphql
@@ -119,14 +119,14 @@ enum WorkspaceSortKeys {
119
119
  ```graphql
120
120
  """
121
121
  One site or one application. Each project has its own experiences, content and configuration,
122
- and belongs to one organisation.
122
+ and belongs to one organization.
123
123
  """
124
124
  type Project {
125
125
  """The ID of the project."""
126
126
  id: ID!
127
127
  """The name of the project."""
128
128
  name: String!
129
- """The ID of the organisation the project belongs to."""
129
+ """The ID of the organization the project belongs to."""
130
130
  organizationId: ID!
131
131
  """When the project was created."""
132
132
  createdAt: DateTime!
@@ -147,7 +147,7 @@ type Project {
147
147
  Picked's AI agents read it when they query or explain analytics. Null until set.
148
148
  """
149
149
  analyticsContext: String
150
- """The organisation the project belongs to."""
150
+ """The organization the project belongs to."""
151
151
  organization: Organization!
152
152
  """
153
153
  The settings of the project, as key/value pairs.
@@ -582,7 +582,7 @@ enum AnalyticsDataResidency {
582
582
  input ProjectCreateInput {
583
583
  """The name of the project. Must not be blank."""
584
584
  name: String!
585
- """The ID of the organisation to create the project in."""
585
+ """The ID of the organization to create the project in."""
586
586
  organizationId: ID!
587
587
  """
588
588
  The IANA time zone that analytics days follow, such as `America/New_York`. Fixed after.
@@ -164,7 +164,7 @@ type ProjectReportConnection {
164
164
  input ReportCreateInput {
165
165
  """The ID of the project to add the report to."""
166
166
  projectId: ID!
167
- """Ignored. The project's organisation applies."""
167
+ """Ignored. The project's organization applies."""
168
168
  organizationId: ID!
169
169
  """The name of the report. Must not be blank."""
170
170
  name: String!
@@ -28,7 +28,7 @@ shopifyProducts(input: ShopifyProductsInput!): ShopifyProductsResponse! @auth @d
28
28
 
29
29
  ### `shopifyWebhooks`
30
30
 
31
- Lists an organisation's Shopify webhooks.
31
+ Lists an organization's Shopify webhooks.
32
32
  Scope: `ORGANIZATION_INTEGRATIONS_READ`.
33
33
 
34
34
  ```graphql
@@ -46,7 +46,7 @@ shopifyMetafieldConfigs(input: ShopifyMetafieldConfigsInput!): [ShopifyMetafield
46
46
 
47
47
  ### `organizationShopifyWebhooks`
48
48
 
49
- Lists an organisation's Shopify webhooks.
49
+ Lists an organization's Shopify webhooks.
50
50
  Scope: `ORGANIZATION_INTEGRATIONS_READ`.
51
51
 
52
52
  ```graphql
@@ -95,7 +95,7 @@ shopifyWebhookDelete(input: ShopifyWebhookDeleteInput!): Boolean! @auth
95
95
  ### `shopifyProductContentUpdate`
96
96
 
97
97
  Updates the content at `key` of a Shopify product, stored in its app metafield `content.<key>`.
98
- Keeps up to nine earlier values. The shop must belong to the calling API key's organisation.
98
+ Keeps up to nine earlier values. The shop must belong to the calling API key's organization.
99
99
  Scope: `ORGANIZATION_INTEGRATIONS_UPDATE`.
100
100
 
101
101
  ```graphql
@@ -105,7 +105,7 @@ shopifyProductContentUpdate(input: ShopifyProductContentUpdateInput!): Boolean!
105
105
  ### `shopifyCollectionContentUpdate`
106
106
 
107
107
  Updates the content at `key` of a Shopify collection, stored in its app metafield `content.<key>`.
108
- Keeps up to nine earlier values. The shop must belong to the calling API key's organisation.
108
+ Keeps up to nine earlier values. The shop must belong to the calling API key's organization.
109
109
  Scope: `ORGANIZATION_INTEGRATIONS_UPDATE`.
110
110
 
111
111
  ```graphql
@@ -170,7 +170,7 @@ deleteShopifyWebhook(input: DeleteShopifyWebhookInput!): Boolean! @auth @depreca
170
170
  ### `updateShopifyProductContent`
171
171
 
172
172
  Updates the content at `key` of a Shopify product, stored in its app metafield `content.<key>`.
173
- Keeps up to nine earlier values. The shop must belong to the calling API key's organisation.
173
+ Keeps up to nine earlier values. The shop must belong to the calling API key's organization.
174
174
  Scope: `ORGANIZATION_INTEGRATIONS_UPDATE`.
175
175
 
176
176
  ```graphql
@@ -180,7 +180,7 @@ updateShopifyProductContent(input: UpdateShopifyProductContentInput!): Boolean!
180
180
  ### `updateShopifyCollectionContent`
181
181
 
182
182
  Updates the content at `key` of a Shopify collection, stored in its app metafield `content.<key>`.
183
- Keeps up to nine earlier values. The shop must belong to the calling API key's organisation.
183
+ Keeps up to nine earlier values. The shop must belong to the calling API key's organization.
184
184
  Scope: `ORGANIZATION_INTEGRATIONS_UPDATE`.
185
185
 
186
186
  ```graphql
@@ -470,7 +470,7 @@ settings it uses.
470
470
  type ShopifyWebhook {
471
471
  """The ID of the webhook."""
472
472
  id: ID!
473
- """The ID of the organisation the webhook belongs to."""
473
+ """The ID of the organization the webhook belongs to."""
474
474
  organizationId: ID!
475
475
  """The ID of the project the webhook belongs to."""
476
476
  projectId: ID!
@@ -520,7 +520,7 @@ type ShopifyWebhookCreatePayload {
520
520
  ```graphql
521
521
  """The input of `shopifyWebhooks`."""
522
522
  input ShopifyWebhooksInput {
523
- """The ID of the organisation."""
523
+ """The ID of the organization."""
524
524
  organizationId: ID!
525
525
  }
526
526
  ```
@@ -530,11 +530,11 @@ input ShopifyWebhooksInput {
530
530
  ```graphql
531
531
  """The input of `shopifyWebhookCreate`."""
532
532
  input ShopifyWebhookCreateInput {
533
- """The ID of the project's organisation."""
533
+ """The ID of the project's organization."""
534
534
  organizationId: ID!
535
535
  """The ID of the project."""
536
536
  projectId: ID!
537
- """The ID of an API key of the organisation for the webhook to use."""
537
+ """The ID of an API key of the organization for the webhook to use."""
538
538
  apiKeyId: ID!
539
539
  """The webhook's name. Not blank."""
540
540
  name: String!
@@ -563,7 +563,7 @@ input ShopifyWebhookUpdateInput {
563
563
  """The ID of the webhook."""
564
564
  webhookId: ID!
565
565
  """
566
- The ID of the webhook's organisation. Not read: the webhook's own organisation applies.
566
+ The ID of the webhook's organization. Not read: the webhook's own organization applies.
567
567
  """
568
568
  organizationId: ID!
569
569
  """The webhook's name."""
@@ -576,7 +576,7 @@ input ShopifyWebhookUpdateInput {
576
576
  endpointUrl: String
577
577
  """Whether the webhook is active."""
578
578
  isActive: Boolean
579
- """The ID of an API key of the organisation for the webhook to use."""
579
+ """The ID of an API key of the organization for the webhook to use."""
580
580
  apiKeyId: ID
581
581
  """The request timeout in milliseconds, from 1000 to 60000."""
582
582
  timeoutMs: Int
@@ -593,7 +593,7 @@ input ShopifyWebhookDeleteInput {
593
593
  """The ID of the webhook."""
594
594
  webhookId: ID!
595
595
  """
596
- The ID of the webhook's organisation. Not read: the webhook's own organisation applies.
596
+ The ID of the webhook's organization. Not read: the webhook's own organization applies.
597
597
  """
598
598
  organizationId: ID!
599
599
  }
@@ -622,11 +622,11 @@ type CreateShopifyWebhookResponse {
622
622
  The input of `createShopifyWebhook`. Superseded by `ShopifyWebhookCreateInput`.
623
623
  """
624
624
  input CreateShopifyWebhookInput {
625
- """The ID of the project's organisation."""
625
+ """The ID of the project's organization."""
626
626
  organizationId: ID!
627
627
  """The ID of the project."""
628
628
  projectId: ID!
629
- """The ID of an API key of the organisation for the webhook to use."""
629
+ """The ID of an API key of the organization for the webhook to use."""
630
630
  apiKeyId: ID!
631
631
  """The webhook's name. Not blank."""
632
632
  name: String!
@@ -658,7 +658,7 @@ input UpdateShopifyWebhookInput {
658
658
  """The ID of the webhook."""
659
659
  webhookId: ID!
660
660
  """
661
- The ID of the webhook's organisation. Not read: the webhook's own organisation applies.
661
+ The ID of the webhook's organization. Not read: the webhook's own organization applies.
662
662
  """
663
663
  organizationId: ID!
664
664
  """The webhook's name."""
@@ -671,7 +671,7 @@ input UpdateShopifyWebhookInput {
671
671
  endpointUrl: String
672
672
  """Whether the webhook is active."""
673
673
  isActive: Boolean
674
- """The ID of an API key of the organisation for the webhook to use."""
674
+ """The ID of an API key of the organization for the webhook to use."""
675
675
  apiKeyId: ID
676
676
  """The request timeout in milliseconds, from 1000 to 60000."""
677
677
  timeoutMs: Int
@@ -690,7 +690,7 @@ input DeleteShopifyWebhookInput {
690
690
  """The ID of the webhook."""
691
691
  webhookId: ID!
692
692
  """
693
- The ID of the webhook's organisation. Not read: the webhook's own organisation applies.
693
+ The ID of the webhook's organization. Not read: the webhook's own organization applies.
694
694
  """
695
695
  organizationId: ID!
696
696
  }
@@ -703,7 +703,7 @@ input DeleteShopifyWebhookInput {
703
703
  The input of `organizationShopifyWebhooks`. Superseded by `ShopifyWebhooksInput`.
704
704
  """
705
705
  input OrganizationShopifyWebhooksInput {
706
- """The ID of the organisation."""
706
+ """The ID of the organization."""
707
707
  organizationId: ID!
708
708
  }
709
709
  ```
@@ -24,7 +24,12 @@ workflow(id: ID!): Workflow @auth
24
24
  Lists every tool a workflow node can run, with the arguments each takes.
25
25
 
26
26
  ```graphql
27
- workflowTools: [WorkflowToolDefinition!]! @auth
27
+ workflowTools(
28
+ """
29
+ The project whose installed apps' tools to include, as `app.<slug>.<tool>`.
30
+ """
31
+ projectId: ID
32
+ ): [WorkflowToolDefinition!]! @auth
28
33
  ```
29
34
 
30
35
  ### `workflows`