Skip to content

Commit 52af2fa

Browse files
committed
Fixed metadata
1 parent 02b65ff commit 52af2fa

File tree

3 files changed

+477
-89
lines changed

3 files changed

+477
-89
lines changed

packages/twenty-sdk/src/clients/generated/metadata/schema.graphql

Lines changed: 91 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1548,7 +1548,6 @@ enum FeatureFlagKey {
15481548
IS_NAVIGATION_MENU_ITEM_EDITING_ENABLED
15491549
IS_DRAFT_EMAIL_ENABLED
15501550
IS_RICH_TEXT_V1_MIGRATED
1551-
IS_DIRECT_GRAPHQL_EXECUTION_ENABLED
15521551
IS_RECORD_PAGE_LAYOUT_GLOBAL_EDITION_ENABLED
15531552
IS_CONNECTED_ACCOUNT_MIGRATED
15541553
}
@@ -2215,6 +2214,7 @@ type CalendarChannel {
22152214
isContactAutoCreationEnabled: Boolean!
22162215
contactAutoCreationPolicy: CalendarChannelContactAutoCreationPolicy!
22172216
isSyncEnabled: Boolean!
2217+
syncCursor: String
22182218
syncedAt: DateTime
22192219
syncStageStartedAt: DateTime
22202220
throttleFailureCount: Float!
@@ -2258,11 +2258,15 @@ type ConnectedAccountDTO {
22582258
id: UUID!
22592259
handle: String!
22602260
provider: String!
2261+
accessToken: String
2262+
refreshToken: String
22612263
lastCredentialsRefreshedAt: DateTime
22622264
authFailedAt: DateTime
22632265
handleAliases: [String!]
22642266
scopes: [String!]
2267+
connectionParameters: JSON
22652268
lastSignedInAt: DateTime
2269+
oidcTokenClaims: JSON
22662270
userWorkspaceId: UUID!
22672271
createdAt: DateTime!
22682272
updatedAt: DateTime!
@@ -2280,6 +2284,7 @@ type MessageChannel {
22802284
excludeGroupEmails: Boolean!
22812285
pendingGroupEmailsAction: MessageChannelPendingGroupEmailsAction!
22822286
isSyncEnabled: Boolean!
2287+
syncCursor: String
22832288
syncedAt: DateTime
22842289
syncStatus: MessageChannelSyncStatus!
22852290
syncStage: MessageChannelSyncStage!
@@ -2341,6 +2346,7 @@ enum MessageChannelSyncStage {
23412346
type MessageFolder {
23422347
id: UUID!
23432348
name: String
2349+
syncCursor: String
23442350
isSentFolder: Boolean!
23452351
isSynced: Boolean!
23462352
parentFolderId: UUID
@@ -3162,11 +3168,14 @@ type Query {
31623168
findWorkspaceFromInviteHash(inviteHash: String!): Workspace!
31633169
validatePasswordResetToken(passwordResetToken: String!): ValidatePasswordResetToken!
31643170
getSSOIdentityProviders: [FindAvailableSSOIDP!]!
3165-
myMessageFolders(messageChannelId: UUID): [MessageFolder!]!
3166-
myMessageChannels(connectedAccountId: UUID): [MessageChannel!]!
3167-
myConnectedAccounts: [ConnectedAccountDTO!]!
3171+
messageFolders(messageChannelId: UUID): [MessageFolder!]!
3172+
messageFolder(id: UUID!): MessageFolder
3173+
calendarChannels(connectedAccountId: UUID): [CalendarChannel!]!
3174+
calendarChannel(id: UUID!): CalendarChannel
3175+
messageChannels(connectedAccountId: UUID): [MessageChannel!]!
3176+
messageChannel(id: UUID!): MessageChannel
31683177
connectedAccounts: [ConnectedAccountDTO!]!
3169-
myCalendarChannels(connectedAccountId: UUID): [CalendarChannel!]!
3178+
connectedAccount(id: UUID!): ConnectedAccountDTO
31703179
webhooks: [Webhook!]!
31713180
webhook(id: UUID!): Webhook
31723181
minimalMetadata: MinimalMetadata!
@@ -3464,11 +3473,18 @@ type Mutation {
34643473
createSAMLIdentityProvider(input: SetupSAMLSsoInput!): SetupSso!
34653474
deleteSSOIdentityProvider(input: DeleteSsoInput!): DeleteSso!
34663475
editSSOIdentityProvider(input: EditSsoInput!): EditSso!
3476+
createMessageFolder(input: CreateMessageFolderInput!): MessageFolder!
34673477
updateMessageFolder(input: UpdateMessageFolderInput!): MessageFolder!
3468-
updateMessageFolders(input: UpdateMessageFoldersInput!): [MessageFolder!]!
3478+
deleteMessageFolder(id: UUID!): MessageFolder!
3479+
createCalendarChannel(input: CreateCalendarChannelInput!): CalendarChannel!
3480+
updateCalendarChannel(input: UpdateCalendarChannelInput!): CalendarChannel!
3481+
deleteCalendarChannel(id: UUID!): CalendarChannel!
3482+
createMessageChannel(input: CreateMessageChannelInput!): MessageChannel!
34693483
updateMessageChannel(input: UpdateMessageChannelInput!): MessageChannel!
3484+
deleteMessageChannel(id: UUID!): MessageChannel!
3485+
createConnectedAccount(input: CreateConnectedAccountInput!): ConnectedAccountDTO!
3486+
updateConnectedAccount(input: UpdateConnectedAccountInput!): ConnectedAccountDTO!
34703487
deleteConnectedAccount(id: UUID!): ConnectedAccountDTO!
3471-
updateCalendarChannel(input: UpdateCalendarChannelInput!): CalendarChannel!
34723488
createWebhook(input: CreateWebhookInput!): Webhook!
34733489
updateWebhook(input: UpdateWebhookInput!): Webhook!
34743490
deleteWebhook(id: UUID!): Webhook!
@@ -4365,18 +4381,66 @@ input EditSsoInput {
43654381
status: SSOIdentityProviderStatus!
43664382
}
43674383

4384+
input CreateMessageFolderInput {
4385+
id: UUID
4386+
name: String
4387+
isSentFolder: Boolean!
4388+
isSynced: Boolean!
4389+
externalId: String
4390+
pendingSyncAction: MessageFolderPendingSyncAction!
4391+
messageChannelId: UUID!
4392+
parentFolderId: UUID
4393+
}
4394+
43684395
input UpdateMessageFolderInput {
43694396
id: UUID!
43704397
update: UpdateMessageFolderInputUpdates!
43714398
}
43724399

43734400
input UpdateMessageFolderInputUpdates {
4401+
name: String
4402+
syncCursor: String
43744403
isSynced: Boolean
4404+
pendingSyncAction: MessageFolderPendingSyncAction
43754405
}
43764406

4377-
input UpdateMessageFoldersInput {
4378-
ids: [UUID!]!
4379-
update: UpdateMessageFolderInputUpdates!
4407+
input CreateCalendarChannelInput {
4408+
id: UUID
4409+
handle: String!
4410+
visibility: CalendarChannelVisibility!
4411+
syncStage: CalendarChannelSyncStage!
4412+
connectedAccountId: UUID!
4413+
isContactAutoCreationEnabled: Boolean!
4414+
contactAutoCreationPolicy: CalendarChannelContactAutoCreationPolicy!
4415+
isSyncEnabled: Boolean!
4416+
}
4417+
4418+
input UpdateCalendarChannelInput {
4419+
id: UUID!
4420+
update: UpdateCalendarChannelInputUpdates!
4421+
}
4422+
4423+
input UpdateCalendarChannelInputUpdates {
4424+
visibility: CalendarChannelVisibility
4425+
isContactAutoCreationEnabled: Boolean
4426+
contactAutoCreationPolicy: CalendarChannelContactAutoCreationPolicy
4427+
isSyncEnabled: Boolean
4428+
}
4429+
4430+
input CreateMessageChannelInput {
4431+
id: UUID
4432+
handle: String!
4433+
visibility: MessageChannelVisibility!
4434+
type: MessageChannelType!
4435+
syncStage: MessageChannelSyncStage!
4436+
connectedAccountId: UUID!
4437+
isContactAutoCreationEnabled: Boolean!
4438+
contactAutoCreationPolicy: MessageChannelContactAutoCreationPolicy!
4439+
messageFolderImportPolicy: MessageFolderImportPolicy!
4440+
excludeNonProfessionalEmails: Boolean!
4441+
excludeGroupEmails: Boolean!
4442+
pendingGroupEmailsAction: MessageChannelPendingGroupEmailsAction!
4443+
isSyncEnabled: Boolean!
43804444
}
43814445

43824446
input UpdateMessageChannelInput {
@@ -4394,16 +4458,26 @@ input UpdateMessageChannelInputUpdates {
43944458
excludeGroupEmails: Boolean
43954459
}
43964460

4397-
input UpdateCalendarChannelInput {
4461+
input CreateConnectedAccountInput {
4462+
id: UUID
4463+
handle: String!
4464+
provider: String!
4465+
accessToken: String
4466+
refreshToken: String
4467+
scopes: [String!]
4468+
userWorkspaceId: UUID!
4469+
}
4470+
4471+
input UpdateConnectedAccountInput {
43984472
id: UUID!
4399-
update: UpdateCalendarChannelInputUpdates!
4473+
update: UpdateConnectedAccountInputUpdates!
44004474
}
44014475

4402-
input UpdateCalendarChannelInputUpdates {
4403-
visibility: CalendarChannelVisibility
4404-
isContactAutoCreationEnabled: Boolean
4405-
contactAutoCreationPolicy: CalendarChannelContactAutoCreationPolicy
4406-
isSyncEnabled: Boolean
4476+
input UpdateConnectedAccountInputUpdates {
4477+
accessToken: String
4478+
refreshToken: String
4479+
handleAliases: [String!]
4480+
scopes: [String!]
44074481
}
44084482

44094483
input CreateWebhookInput {

0 commit comments

Comments
 (0)