OBJECT

Destination

An org-scoped publish channel: 1:1 to a vendor (Ayrshare) User Profile / social account.

link GraphQL Schema definition

1type Destination {
2
3id: ID!
4
5destinationTypeId: ID!
6
7destinationType: DestinationType
8
9label: String!
10
11# Must conform to destinationType.configSchema; validated server-side at every
12# write.
13details: JSONData
14
15# Ayrshare Profile-Key. OPAQUE bearer credential. Restricted: requires
16# admin.org.update (org admin). Not rendered in the UI for MVP.
17vendorProfileId: String!
18
19# Linked social-account label, e.g. "@channel-name" (set by verifyConnection).
20platformAccountLabel: String
21
22status: DestinationStatus!
23
24# If status == PENDING_OAUTH, a short-lived vendor-hosted OAuth URL.
25# Null once status flips to CONNECTED. FE opens this in a popup.
26oauthUrl: String
27
28oauthUrlExpiresAt: DateTime
29
30createdBy: User
31
32createdDateTime: DateTime!
33
34modifiedDateTime: DateTime
35
36}

link Required by

This element is not required by anyone