@grantjs/schema 1.4.2 → 1.5.0
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.
- package/package.json +9 -9
- package/src/events/event-catalog.ts +214 -0
- package/src/events/event-envelope.ts +73 -0
- package/src/events/index.ts +2 -0
- package/src/generated/graphql.ts +1318 -111
- package/src/generated/resolvers.ts +628 -0
- package/src/generated/schema-types.ts +312 -0
- package/src/index.ts +3 -0
- package/src/notifications/notification.types.ts +21 -0
- package/src/operations/api-keys/rotate-api-key.graphql +11 -0
- package/src/operations/groups/getGroups.graphql +1 -8
- package/src/operations/groups/getGroupsList.graphql +6 -0
- package/src/operations/me/mark-all-my-notifications-read.graphql +5 -0
- package/src/operations/me/mark-my-notification-read.graphql +3 -0
- package/src/operations/me/my-notification-preferences.graphql +11 -0
- package/src/operations/me/my-notifications.graphql +26 -0
- package/src/operations/me/my-project-membership.graphql +14 -0
- package/src/operations/me/my-project-memberships.graphql +14 -0
- package/src/operations/me/my-unread-notification-count.graphql +5 -0
- package/src/operations/me/set-my-notification-preference.graphql +11 -0
- package/src/operations/me/update-my-project-membership.graphql +14 -0
- package/src/operations/me/upload-my-project-membership-picture.graphql +6 -0
- package/src/operations/roles/getRoles.graphql +1 -14
- package/src/operations/webhooks/create-webhook-subscription.graphql +13 -0
- package/src/operations/webhooks/delete-webhook-subscription.graphql +3 -0
- package/src/operations/webhooks/replay-webhook-delivery.graphql +11 -0
- package/src/operations/webhooks/rotate-webhook-subscription-secret.graphql +7 -0
- package/src/operations/webhooks/update-webhook-subscription.graphql +10 -0
- package/src/operations/webhooks/webhook-deliveries.graphql +31 -0
- package/src/operations/webhooks/webhook-subscription.graphql +13 -0
- package/src/operations/webhooks/webhook-subscriptions.graphql +13 -0
- package/src/schema/api-keys/inputs/rotate-api-key.graphql +4 -0
- package/src/schema/api-keys/mutations/rotate-api-key.graphql +7 -0
- package/src/schema/me/input/notification.graphql +16 -0
- package/src/schema/me/input/update-my-project-membership.graphql +5 -0
- package/src/schema/me/input/upload-my-project-membership-picture.graphql +6 -0
- package/src/schema/me/mutations/my-notifications.graphql +5 -0
- package/src/schema/me/mutations/update-my-project-membership.graphql +6 -0
- package/src/schema/me/mutations/upload-my-project-membership-picture.graphql +5 -0
- package/src/schema/me/queries/my-notifications.graphql +5 -0
- package/src/schema/me/queries/my-project-membership.graphql +6 -0
- package/src/schema/me/queries/my-project-memberships.graphql +6 -0
- package/src/schema/me/types/my-project-membership.graphql +12 -0
- package/src/schema/me/types/notification.graphql +63 -0
- package/src/schema/webhooks/inputs/webhook-subscription.graphql +33 -0
- package/src/schema/webhooks/mutations/webhook-subscriptions.graphql +33 -0
- package/src/schema/webhooks/queries/webhook-subscriptions.graphql +22 -0
- package/src/schema/webhooks/types/webhook-subscription.graphql +58 -0
- package/src/webhooks/webhook.types.ts +25 -0
package/src/generated/graphql.ts
CHANGED
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] };
|
|
3
3
|
/** Internal type. DO NOT USE DIRECTLY. */
|
|
4
4
|
export type Incremental<T> =
|
|
5
|
-
| T
|
|
6
|
-
| { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never };
|
|
5
|
+
T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never };
|
|
7
6
|
import type * as Types from './schema-types';
|
|
8
7
|
|
|
9
8
|
import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';
|
|
@@ -107,6 +106,22 @@ export type RevokeApiKeyMutation = {
|
|
|
107
106
|
};
|
|
108
107
|
};
|
|
109
108
|
|
|
109
|
+
export type RotateApiKeyMutationVariables = Exact<{
|
|
110
|
+
input: Types.RotateApiKeyInput;
|
|
111
|
+
}>;
|
|
112
|
+
|
|
113
|
+
export type RotateApiKeyMutation = {
|
|
114
|
+
rotateApiKey: {
|
|
115
|
+
id: string;
|
|
116
|
+
clientId: string;
|
|
117
|
+
clientSecret: string;
|
|
118
|
+
name: string | null;
|
|
119
|
+
description: string | null;
|
|
120
|
+
expiresAt: Date | null;
|
|
121
|
+
createdAt: Date;
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
|
|
110
125
|
export type LoginMutationVariables = Exact<{
|
|
111
126
|
input: Types.LoginInput;
|
|
112
127
|
}>;
|
|
@@ -256,12 +271,7 @@ export type GetGroupsQuery = {
|
|
|
256
271
|
metadata: Record<string, unknown>;
|
|
257
272
|
createdAt: Date;
|
|
258
273
|
updatedAt: Date;
|
|
259
|
-
permissions: Array<{
|
|
260
|
-
id: string;
|
|
261
|
-
name: string;
|
|
262
|
-
action: string;
|
|
263
|
-
tags: Array<{ id: string; name: string; color: string; isPrimary: boolean | null }> | null;
|
|
264
|
-
}> | null;
|
|
274
|
+
permissions: Array<{ id: string }> | null;
|
|
265
275
|
tags: Array<{ id: string; name: string; color: string; isPrimary: boolean | null }> | null;
|
|
266
276
|
}>;
|
|
267
277
|
};
|
|
@@ -291,6 +301,7 @@ export type GetGroupsListQuery = {
|
|
|
291
301
|
permissionCount: number;
|
|
292
302
|
tagCount: number;
|
|
293
303
|
primaryTag: { id: string; name: string; color: string; isPrimary: boolean | null } | null;
|
|
304
|
+
tags: Array<{ id: string; name: string; color: string; isPrimary: boolean | null }> | null;
|
|
294
305
|
}>;
|
|
295
306
|
};
|
|
296
307
|
};
|
|
@@ -407,6 +418,18 @@ export type LogoutMyUserMutationVariables = Exact<{ [key: string]: never }>;
|
|
|
407
418
|
|
|
408
419
|
export type LogoutMyUserMutation = { logoutMyUser: { message: string } };
|
|
409
420
|
|
|
421
|
+
export type MarkAllMyNotificationsReadMutationVariables = Exact<{ [key: string]: never }>;
|
|
422
|
+
|
|
423
|
+
export type MarkAllMyNotificationsReadMutation = {
|
|
424
|
+
markAllMyNotificationsRead: { updated: number };
|
|
425
|
+
};
|
|
426
|
+
|
|
427
|
+
export type MarkMyNotificationReadMutationVariables = Exact<{
|
|
428
|
+
id: string | number;
|
|
429
|
+
}>;
|
|
430
|
+
|
|
431
|
+
export type MarkMyNotificationReadMutation = { markMyNotificationRead: boolean };
|
|
432
|
+
|
|
410
433
|
export type MeQueryVariables = Exact<{ [key: string]: never }>;
|
|
411
434
|
|
|
412
435
|
export type MeQuery = {
|
|
@@ -437,6 +460,90 @@ export type MeQuery = {
|
|
|
437
460
|
};
|
|
438
461
|
};
|
|
439
462
|
|
|
463
|
+
export type MyNotificationPreferencesQueryVariables = Exact<{
|
|
464
|
+
scopeTenant: string;
|
|
465
|
+
}>;
|
|
466
|
+
|
|
467
|
+
export type MyNotificationPreferencesQuery = {
|
|
468
|
+
myNotificationPreferences: Array<{
|
|
469
|
+
id: string;
|
|
470
|
+
scopeTenant: string;
|
|
471
|
+
scopeId: string;
|
|
472
|
+
category: string;
|
|
473
|
+
channel: Types.NotificationChannel;
|
|
474
|
+
enabled: boolean;
|
|
475
|
+
source: Types.NotificationPreferenceSource;
|
|
476
|
+
}>;
|
|
477
|
+
};
|
|
478
|
+
|
|
479
|
+
export type MyNotificationsQueryVariables = Exact<{
|
|
480
|
+
input?: Types.MyNotificationsInput | null | undefined;
|
|
481
|
+
}>;
|
|
482
|
+
|
|
483
|
+
export type MyNotificationsQuery = {
|
|
484
|
+
myNotifications: {
|
|
485
|
+
totalCount: number;
|
|
486
|
+
unreadCount: number;
|
|
487
|
+
hasNextPage: boolean;
|
|
488
|
+
notifications: Array<{
|
|
489
|
+
id: string;
|
|
490
|
+
eventId: string;
|
|
491
|
+
category: string;
|
|
492
|
+
type: string;
|
|
493
|
+
channel: Types.NotificationChannel;
|
|
494
|
+
title: string;
|
|
495
|
+
body: string | null;
|
|
496
|
+
refEntity: string | null;
|
|
497
|
+
refId: string | null;
|
|
498
|
+
status: Types.NotificationStatus;
|
|
499
|
+
seenAt: Date | null;
|
|
500
|
+
readAt: Date | null;
|
|
501
|
+
createdAt: Date;
|
|
502
|
+
scope: { tenant: string; id: string } | null;
|
|
503
|
+
}>;
|
|
504
|
+
};
|
|
505
|
+
};
|
|
506
|
+
|
|
507
|
+
export type MyProjectMembershipQueryVariables = Exact<{
|
|
508
|
+
projectId: string | number;
|
|
509
|
+
}>;
|
|
510
|
+
|
|
511
|
+
export type MyProjectMembershipQuery = {
|
|
512
|
+
myProjectMembership: {
|
|
513
|
+
projectId: string;
|
|
514
|
+
projectName: string;
|
|
515
|
+
displayName: string | null;
|
|
516
|
+
pictureUrl: string | null;
|
|
517
|
+
metadata: Record<string, unknown>;
|
|
518
|
+
role: string | null;
|
|
519
|
+
joinedAt: Date;
|
|
520
|
+
organizationId: string | null;
|
|
521
|
+
organizationName: string | null;
|
|
522
|
+
accountId: string | null;
|
|
523
|
+
} | null;
|
|
524
|
+
};
|
|
525
|
+
|
|
526
|
+
export type MyProjectMembershipsQueryVariables = Exact<{ [key: string]: never }>;
|
|
527
|
+
|
|
528
|
+
export type MyProjectMembershipsQuery = {
|
|
529
|
+
myProjectMemberships: Array<{
|
|
530
|
+
projectId: string;
|
|
531
|
+
projectName: string;
|
|
532
|
+
displayName: string | null;
|
|
533
|
+
pictureUrl: string | null;
|
|
534
|
+
metadata: Record<string, unknown>;
|
|
535
|
+
role: string | null;
|
|
536
|
+
joinedAt: Date;
|
|
537
|
+
organizationId: string | null;
|
|
538
|
+
organizationName: string | null;
|
|
539
|
+
accountId: string | null;
|
|
540
|
+
}>;
|
|
541
|
+
};
|
|
542
|
+
|
|
543
|
+
export type MyUnreadNotificationCountQueryVariables = Exact<{ [key: string]: never }>;
|
|
544
|
+
|
|
545
|
+
export type MyUnreadNotificationCountQuery = { myUnreadNotificationCount: { unreadCount: number } };
|
|
546
|
+
|
|
440
547
|
export type MyUserAuthenticationMethodsQueryVariables = Exact<{ [key: string]: never }>;
|
|
441
548
|
|
|
442
549
|
export type MyUserAuthenticationMethodsQuery = {
|
|
@@ -549,6 +656,22 @@ export type RevokeMyUserSessionMutation = {
|
|
|
549
656
|
revokeMyUserSession: { success: boolean; message: string };
|
|
550
657
|
};
|
|
551
658
|
|
|
659
|
+
export type SetMyNotificationPreferenceMutationVariables = Exact<{
|
|
660
|
+
input: Types.SetMyNotificationPreferenceInput;
|
|
661
|
+
}>;
|
|
662
|
+
|
|
663
|
+
export type SetMyNotificationPreferenceMutation = {
|
|
664
|
+
setMyNotificationPreference: {
|
|
665
|
+
id: string;
|
|
666
|
+
scopeTenant: string;
|
|
667
|
+
scopeId: string;
|
|
668
|
+
category: string;
|
|
669
|
+
channel: Types.NotificationChannel;
|
|
670
|
+
enabled: boolean;
|
|
671
|
+
source: Types.NotificationPreferenceSource;
|
|
672
|
+
};
|
|
673
|
+
};
|
|
674
|
+
|
|
552
675
|
export type SetMyPrimaryAuthenticationMethodMutationVariables = Exact<{
|
|
553
676
|
id: string | number;
|
|
554
677
|
}>;
|
|
@@ -575,6 +698,25 @@ export type SetMyPrimaryMfaDeviceMutation = {
|
|
|
575
698
|
setMyPrimaryMfaDevice: { id: string; isPrimary: boolean };
|
|
576
699
|
};
|
|
577
700
|
|
|
701
|
+
export type UpdateMyProjectMembershipMutationVariables = Exact<{
|
|
702
|
+
input: Types.UpdateMyProjectMembershipInput;
|
|
703
|
+
}>;
|
|
704
|
+
|
|
705
|
+
export type UpdateMyProjectMembershipMutation = {
|
|
706
|
+
updateMyProjectMembership: {
|
|
707
|
+
projectId: string;
|
|
708
|
+
projectName: string;
|
|
709
|
+
displayName: string | null;
|
|
710
|
+
pictureUrl: string | null;
|
|
711
|
+
metadata: Record<string, unknown>;
|
|
712
|
+
role: string | null;
|
|
713
|
+
joinedAt: Date;
|
|
714
|
+
organizationId: string | null;
|
|
715
|
+
organizationName: string | null;
|
|
716
|
+
accountId: string | null;
|
|
717
|
+
};
|
|
718
|
+
};
|
|
719
|
+
|
|
578
720
|
export type UpdateMyUserMutationVariables = Exact<{
|
|
579
721
|
input: Types.UpdateMyUserInput;
|
|
580
722
|
}>;
|
|
@@ -589,6 +731,14 @@ export type UpdateMyUserMutation = {
|
|
|
589
731
|
};
|
|
590
732
|
};
|
|
591
733
|
|
|
734
|
+
export type UploadMyProjectMembershipPictureMutationVariables = Exact<{
|
|
735
|
+
input: Types.UploadMyProjectMembershipPictureInput;
|
|
736
|
+
}>;
|
|
737
|
+
|
|
738
|
+
export type UploadMyProjectMembershipPictureMutation = {
|
|
739
|
+
uploadMyProjectMembershipPicture: { url: string; path: string };
|
|
740
|
+
};
|
|
741
|
+
|
|
592
742
|
export type UploadMyUserPictureMutationVariables = Exact<{
|
|
593
743
|
input: Types.UploadMyUserPictureInput;
|
|
594
744
|
}>;
|
|
@@ -1520,21 +1670,8 @@ export type GetRolesQuery = {
|
|
|
1520
1670
|
metadata: Record<string, unknown>;
|
|
1521
1671
|
createdAt: Date;
|
|
1522
1672
|
updatedAt: Date;
|
|
1523
|
-
groups: Array<{
|
|
1524
|
-
|
|
1525
|
-
name: string;
|
|
1526
|
-
tags: Array<{ id: string; name: string; color: string; isPrimary: boolean | null }> | null;
|
|
1527
|
-
}> | null;
|
|
1528
|
-
rolePermissions: Array<{
|
|
1529
|
-
id: string;
|
|
1530
|
-
permissionId: string;
|
|
1531
|
-
permission: {
|
|
1532
|
-
id: string;
|
|
1533
|
-
name: string;
|
|
1534
|
-
action: string;
|
|
1535
|
-
resource: { slug: string } | null;
|
|
1536
|
-
} | null;
|
|
1537
|
-
}> | null;
|
|
1673
|
+
groups: Array<{ id: string; name: string }> | null;
|
|
1674
|
+
rolePermissions: Array<{ id: string; permissionId: string }> | null;
|
|
1538
1675
|
tags: Array<{ id: string; name: string; color: string; isPrimary: boolean | null }> | null;
|
|
1539
1676
|
}>;
|
|
1540
1677
|
};
|
|
@@ -1847,6 +1984,135 @@ export type UploadUserPictureMutationVariables = Exact<{
|
|
|
1847
1984
|
|
|
1848
1985
|
export type UploadUserPictureMutation = { uploadUserPicture: { url: string; path: string } };
|
|
1849
1986
|
|
|
1987
|
+
export type CreateWebhookSubscriptionMutationVariables = Exact<{
|
|
1988
|
+
input: Types.CreateWebhookSubscriptionMutationInput;
|
|
1989
|
+
}>;
|
|
1990
|
+
|
|
1991
|
+
export type CreateWebhookSubscriptionMutation = {
|
|
1992
|
+
createWebhookSubscription: {
|
|
1993
|
+
id: string;
|
|
1994
|
+
projectId: string;
|
|
1995
|
+
url: string;
|
|
1996
|
+
eventTypes: Array<string>;
|
|
1997
|
+
active: boolean;
|
|
1998
|
+
description: string | null;
|
|
1999
|
+
secret: string;
|
|
2000
|
+
createdAt: Date;
|
|
2001
|
+
updatedAt: Date;
|
|
2002
|
+
};
|
|
2003
|
+
};
|
|
2004
|
+
|
|
2005
|
+
export type DeleteWebhookSubscriptionMutationVariables = Exact<{
|
|
2006
|
+
input: Types.DeleteWebhookSubscriptionInput;
|
|
2007
|
+
}>;
|
|
2008
|
+
|
|
2009
|
+
export type DeleteWebhookSubscriptionMutation = { deleteWebhookSubscription: boolean };
|
|
2010
|
+
|
|
2011
|
+
export type ReplayWebhookDeliveryMutationVariables = Exact<{
|
|
2012
|
+
input: Types.ReplayWebhookDeliveryInput;
|
|
2013
|
+
}>;
|
|
2014
|
+
|
|
2015
|
+
export type ReplayWebhookDeliveryMutation = {
|
|
2016
|
+
replayWebhookDelivery: {
|
|
2017
|
+
id: string;
|
|
2018
|
+
eventId: string;
|
|
2019
|
+
subscriptionId: string;
|
|
2020
|
+
status: Types.WebhookDeliveryStatus;
|
|
2021
|
+
attemptCount: number;
|
|
2022
|
+
nextRetryAt: Date | null;
|
|
2023
|
+
updatedAt: Date;
|
|
2024
|
+
};
|
|
2025
|
+
};
|
|
2026
|
+
|
|
2027
|
+
export type RotateWebhookSubscriptionSecretMutationVariables = Exact<{
|
|
2028
|
+
input: Types.RotateWebhookSubscriptionSecretInput;
|
|
2029
|
+
}>;
|
|
2030
|
+
|
|
2031
|
+
export type RotateWebhookSubscriptionSecretMutation = {
|
|
2032
|
+
rotateWebhookSubscriptionSecret: { id: string; secret: string; updatedAt: Date };
|
|
2033
|
+
};
|
|
2034
|
+
|
|
2035
|
+
export type UpdateWebhookSubscriptionMutationVariables = Exact<{
|
|
2036
|
+
id: string | number;
|
|
2037
|
+
input: Types.UpdateWebhookSubscriptionMutationInput;
|
|
2038
|
+
}>;
|
|
2039
|
+
|
|
2040
|
+
export type UpdateWebhookSubscriptionMutation = {
|
|
2041
|
+
updateWebhookSubscription: {
|
|
2042
|
+
id: string;
|
|
2043
|
+
url: string;
|
|
2044
|
+
eventTypes: Array<string>;
|
|
2045
|
+
active: boolean;
|
|
2046
|
+
description: string | null;
|
|
2047
|
+
updatedAt: Date;
|
|
2048
|
+
};
|
|
2049
|
+
};
|
|
2050
|
+
|
|
2051
|
+
export type WebhookDeliveriesQueryVariables = Exact<{
|
|
2052
|
+
scope: Types.Scope;
|
|
2053
|
+
subscriptionId?: string | number | null | undefined;
|
|
2054
|
+
status?: Types.WebhookDeliveryStatus | null | undefined;
|
|
2055
|
+
page?: number | null | undefined;
|
|
2056
|
+
limit?: number | null | undefined;
|
|
2057
|
+
}>;
|
|
2058
|
+
|
|
2059
|
+
export type WebhookDeliveriesQuery = {
|
|
2060
|
+
webhookDeliveries: {
|
|
2061
|
+
totalCount: number;
|
|
2062
|
+
hasNextPage: boolean;
|
|
2063
|
+
items: Array<{
|
|
2064
|
+
id: string;
|
|
2065
|
+
eventId: string;
|
|
2066
|
+
subscriptionId: string;
|
|
2067
|
+
status: Types.WebhookDeliveryStatus;
|
|
2068
|
+
attemptCount: number;
|
|
2069
|
+
nextRetryAt: Date | null;
|
|
2070
|
+
lastResponseStatus: number | null;
|
|
2071
|
+
errorDetails: Record<string, unknown> | null;
|
|
2072
|
+
deliveredAt: Date | null;
|
|
2073
|
+
createdAt: Date;
|
|
2074
|
+
updatedAt: Date;
|
|
2075
|
+
}>;
|
|
2076
|
+
};
|
|
2077
|
+
};
|
|
2078
|
+
|
|
2079
|
+
export type WebhookSubscriptionQueryVariables = Exact<{
|
|
2080
|
+
scope: Types.Scope;
|
|
2081
|
+
id: string | number;
|
|
2082
|
+
}>;
|
|
2083
|
+
|
|
2084
|
+
export type WebhookSubscriptionQuery = {
|
|
2085
|
+
webhookSubscription: {
|
|
2086
|
+
id: string;
|
|
2087
|
+
projectId: string;
|
|
2088
|
+
url: string;
|
|
2089
|
+
eventTypes: Array<string>;
|
|
2090
|
+
active: boolean;
|
|
2091
|
+
description: string | null;
|
|
2092
|
+
createdById: string | null;
|
|
2093
|
+
createdAt: Date;
|
|
2094
|
+
updatedAt: Date;
|
|
2095
|
+
};
|
|
2096
|
+
};
|
|
2097
|
+
|
|
2098
|
+
export type WebhookSubscriptionsQueryVariables = Exact<{
|
|
2099
|
+
scope: Types.Scope;
|
|
2100
|
+
}>;
|
|
2101
|
+
|
|
2102
|
+
export type WebhookSubscriptionsQuery = {
|
|
2103
|
+
webhookSubscriptions: Array<{
|
|
2104
|
+
id: string;
|
|
2105
|
+
projectId: string;
|
|
2106
|
+
url: string;
|
|
2107
|
+
eventTypes: Array<string>;
|
|
2108
|
+
active: boolean;
|
|
2109
|
+
description: string | null;
|
|
2110
|
+
createdById: string | null;
|
|
2111
|
+
createdAt: Date;
|
|
2112
|
+
updatedAt: Date;
|
|
2113
|
+
}>;
|
|
2114
|
+
};
|
|
2115
|
+
|
|
1850
2116
|
export const CreateApiKeyDocument = {
|
|
1851
2117
|
kind: 'Document',
|
|
1852
2118
|
definitions: [
|
|
@@ -2202,6 +2468,54 @@ export const RevokeApiKeyDocument = {
|
|
|
2202
2468
|
},
|
|
2203
2469
|
],
|
|
2204
2470
|
} as unknown as DocumentNode<RevokeApiKeyMutation, RevokeApiKeyMutationVariables>;
|
|
2471
|
+
export const RotateApiKeyDocument = {
|
|
2472
|
+
kind: 'Document',
|
|
2473
|
+
definitions: [
|
|
2474
|
+
{
|
|
2475
|
+
kind: 'OperationDefinition',
|
|
2476
|
+
operation: 'mutation',
|
|
2477
|
+
name: { kind: 'Name', value: 'RotateApiKey' },
|
|
2478
|
+
variableDefinitions: [
|
|
2479
|
+
{
|
|
2480
|
+
kind: 'VariableDefinition',
|
|
2481
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } },
|
|
2482
|
+
type: {
|
|
2483
|
+
kind: 'NonNullType',
|
|
2484
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'RotateApiKeyInput' } },
|
|
2485
|
+
},
|
|
2486
|
+
},
|
|
2487
|
+
],
|
|
2488
|
+
selectionSet: {
|
|
2489
|
+
kind: 'SelectionSet',
|
|
2490
|
+
selections: [
|
|
2491
|
+
{
|
|
2492
|
+
kind: 'Field',
|
|
2493
|
+
name: { kind: 'Name', value: 'rotateApiKey' },
|
|
2494
|
+
arguments: [
|
|
2495
|
+
{
|
|
2496
|
+
kind: 'Argument',
|
|
2497
|
+
name: { kind: 'Name', value: 'input' },
|
|
2498
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } },
|
|
2499
|
+
},
|
|
2500
|
+
],
|
|
2501
|
+
selectionSet: {
|
|
2502
|
+
kind: 'SelectionSet',
|
|
2503
|
+
selections: [
|
|
2504
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'id' } },
|
|
2505
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'clientId' } },
|
|
2506
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'clientSecret' } },
|
|
2507
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'name' } },
|
|
2508
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'description' } },
|
|
2509
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'expiresAt' } },
|
|
2510
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'createdAt' } },
|
|
2511
|
+
],
|
|
2512
|
+
},
|
|
2513
|
+
},
|
|
2514
|
+
],
|
|
2515
|
+
},
|
|
2516
|
+
},
|
|
2517
|
+
],
|
|
2518
|
+
} as unknown as DocumentNode<RotateApiKeyMutation, RotateApiKeyMutationVariables>;
|
|
2205
2519
|
export const LoginDocument = {
|
|
2206
2520
|
kind: 'Document',
|
|
2207
2521
|
definitions: [
|
|
@@ -2890,24 +3204,7 @@ export const GetGroupsDocument = {
|
|
|
2890
3204
|
name: { kind: 'Name', value: 'permissions' },
|
|
2891
3205
|
selectionSet: {
|
|
2892
3206
|
kind: 'SelectionSet',
|
|
2893
|
-
selections: [
|
|
2894
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'id' } },
|
|
2895
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'name' } },
|
|
2896
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'action' } },
|
|
2897
|
-
{
|
|
2898
|
-
kind: 'Field',
|
|
2899
|
-
name: { kind: 'Name', value: 'tags' },
|
|
2900
|
-
selectionSet: {
|
|
2901
|
-
kind: 'SelectionSet',
|
|
2902
|
-
selections: [
|
|
2903
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'id' } },
|
|
2904
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'name' } },
|
|
2905
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'color' } },
|
|
2906
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'isPrimary' } },
|
|
2907
|
-
],
|
|
2908
|
-
},
|
|
2909
|
-
},
|
|
2910
|
-
],
|
|
3207
|
+
selections: [{ kind: 'Field', name: { kind: 'Name', value: 'id' } }],
|
|
2911
3208
|
},
|
|
2912
3209
|
},
|
|
2913
3210
|
{
|
|
@@ -3066,6 +3363,19 @@ export const GetGroupsListDocument = {
|
|
|
3066
3363
|
],
|
|
3067
3364
|
},
|
|
3068
3365
|
},
|
|
3366
|
+
{
|
|
3367
|
+
kind: 'Field',
|
|
3368
|
+
name: { kind: 'Name', value: 'tags' },
|
|
3369
|
+
selectionSet: {
|
|
3370
|
+
kind: 'SelectionSet',
|
|
3371
|
+
selections: [
|
|
3372
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'id' } },
|
|
3373
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'name' } },
|
|
3374
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'color' } },
|
|
3375
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'isPrimary' } },
|
|
3376
|
+
],
|
|
3377
|
+
},
|
|
3378
|
+
},
|
|
3069
3379
|
{ kind: 'Field', name: { kind: 'Name', value: 'permissionCount' } },
|
|
3070
3380
|
{ kind: 'Field', name: { kind: 'Name', value: 'tagCount' } },
|
|
3071
3381
|
],
|
|
@@ -3522,35 +3832,100 @@ export const LogoutMyUserDocument = {
|
|
|
3522
3832
|
},
|
|
3523
3833
|
],
|
|
3524
3834
|
} as unknown as DocumentNode<LogoutMyUserMutation, LogoutMyUserMutationVariables>;
|
|
3525
|
-
export const
|
|
3835
|
+
export const MarkAllMyNotificationsReadDocument = {
|
|
3526
3836
|
kind: 'Document',
|
|
3527
3837
|
definitions: [
|
|
3528
3838
|
{
|
|
3529
3839
|
kind: 'OperationDefinition',
|
|
3530
|
-
operation: '
|
|
3531
|
-
name: { kind: 'Name', value: '
|
|
3840
|
+
operation: 'mutation',
|
|
3841
|
+
name: { kind: 'Name', value: 'MarkAllMyNotificationsRead' },
|
|
3532
3842
|
selectionSet: {
|
|
3533
3843
|
kind: 'SelectionSet',
|
|
3534
3844
|
selections: [
|
|
3535
3845
|
{
|
|
3536
3846
|
kind: 'Field',
|
|
3537
|
-
name: { kind: 'Name', value: '
|
|
3847
|
+
name: { kind: 'Name', value: 'markAllMyNotificationsRead' },
|
|
3538
3848
|
selectionSet: {
|
|
3539
3849
|
kind: 'SelectionSet',
|
|
3540
|
-
selections: [
|
|
3541
|
-
|
|
3542
|
-
|
|
3543
|
-
|
|
3544
|
-
|
|
3545
|
-
|
|
3546
|
-
|
|
3547
|
-
|
|
3548
|
-
|
|
3549
|
-
|
|
3550
|
-
|
|
3551
|
-
|
|
3552
|
-
|
|
3553
|
-
|
|
3850
|
+
selections: [{ kind: 'Field', name: { kind: 'Name', value: 'updated' } }],
|
|
3851
|
+
},
|
|
3852
|
+
},
|
|
3853
|
+
],
|
|
3854
|
+
},
|
|
3855
|
+
},
|
|
3856
|
+
],
|
|
3857
|
+
} as unknown as DocumentNode<
|
|
3858
|
+
MarkAllMyNotificationsReadMutation,
|
|
3859
|
+
MarkAllMyNotificationsReadMutationVariables
|
|
3860
|
+
>;
|
|
3861
|
+
export const MarkMyNotificationReadDocument = {
|
|
3862
|
+
kind: 'Document',
|
|
3863
|
+
definitions: [
|
|
3864
|
+
{
|
|
3865
|
+
kind: 'OperationDefinition',
|
|
3866
|
+
operation: 'mutation',
|
|
3867
|
+
name: { kind: 'Name', value: 'MarkMyNotificationRead' },
|
|
3868
|
+
variableDefinitions: [
|
|
3869
|
+
{
|
|
3870
|
+
kind: 'VariableDefinition',
|
|
3871
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } },
|
|
3872
|
+
type: {
|
|
3873
|
+
kind: 'NonNullType',
|
|
3874
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } },
|
|
3875
|
+
},
|
|
3876
|
+
},
|
|
3877
|
+
],
|
|
3878
|
+
selectionSet: {
|
|
3879
|
+
kind: 'SelectionSet',
|
|
3880
|
+
selections: [
|
|
3881
|
+
{
|
|
3882
|
+
kind: 'Field',
|
|
3883
|
+
name: { kind: 'Name', value: 'markMyNotificationRead' },
|
|
3884
|
+
arguments: [
|
|
3885
|
+
{
|
|
3886
|
+
kind: 'Argument',
|
|
3887
|
+
name: { kind: 'Name', value: 'id' },
|
|
3888
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } },
|
|
3889
|
+
},
|
|
3890
|
+
],
|
|
3891
|
+
},
|
|
3892
|
+
],
|
|
3893
|
+
},
|
|
3894
|
+
},
|
|
3895
|
+
],
|
|
3896
|
+
} as unknown as DocumentNode<
|
|
3897
|
+
MarkMyNotificationReadMutation,
|
|
3898
|
+
MarkMyNotificationReadMutationVariables
|
|
3899
|
+
>;
|
|
3900
|
+
export const MeDocument = {
|
|
3901
|
+
kind: 'Document',
|
|
3902
|
+
definitions: [
|
|
3903
|
+
{
|
|
3904
|
+
kind: 'OperationDefinition',
|
|
3905
|
+
operation: 'query',
|
|
3906
|
+
name: { kind: 'Name', value: 'Me' },
|
|
3907
|
+
selectionSet: {
|
|
3908
|
+
kind: 'SelectionSet',
|
|
3909
|
+
selections: [
|
|
3910
|
+
{
|
|
3911
|
+
kind: 'Field',
|
|
3912
|
+
name: { kind: 'Name', value: 'me' },
|
|
3913
|
+
selectionSet: {
|
|
3914
|
+
kind: 'SelectionSet',
|
|
3915
|
+
selections: [
|
|
3916
|
+
{
|
|
3917
|
+
kind: 'Field',
|
|
3918
|
+
name: { kind: 'Name', value: 'accounts' },
|
|
3919
|
+
selectionSet: {
|
|
3920
|
+
kind: 'SelectionSet',
|
|
3921
|
+
selections: [
|
|
3922
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'id' } },
|
|
3923
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'type' } },
|
|
3924
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'ownerId' } },
|
|
3925
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'createdAt' } },
|
|
3926
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } },
|
|
3927
|
+
{
|
|
3928
|
+
kind: 'Field',
|
|
3554
3929
|
name: { kind: 'Name', value: 'owner' },
|
|
3555
3930
|
selectionSet: {
|
|
3556
3931
|
kind: 'SelectionSet',
|
|
@@ -3586,6 +3961,242 @@ export const MeDocument = {
|
|
|
3586
3961
|
},
|
|
3587
3962
|
],
|
|
3588
3963
|
} as unknown as DocumentNode<MeQuery, MeQueryVariables>;
|
|
3964
|
+
export const MyNotificationPreferencesDocument = {
|
|
3965
|
+
kind: 'Document',
|
|
3966
|
+
definitions: [
|
|
3967
|
+
{
|
|
3968
|
+
kind: 'OperationDefinition',
|
|
3969
|
+
operation: 'query',
|
|
3970
|
+
name: { kind: 'Name', value: 'MyNotificationPreferences' },
|
|
3971
|
+
variableDefinitions: [
|
|
3972
|
+
{
|
|
3973
|
+
kind: 'VariableDefinition',
|
|
3974
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'scopeTenant' } },
|
|
3975
|
+
type: {
|
|
3976
|
+
kind: 'NonNullType',
|
|
3977
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
3978
|
+
},
|
|
3979
|
+
},
|
|
3980
|
+
],
|
|
3981
|
+
selectionSet: {
|
|
3982
|
+
kind: 'SelectionSet',
|
|
3983
|
+
selections: [
|
|
3984
|
+
{
|
|
3985
|
+
kind: 'Field',
|
|
3986
|
+
name: { kind: 'Name', value: 'myNotificationPreferences' },
|
|
3987
|
+
arguments: [
|
|
3988
|
+
{
|
|
3989
|
+
kind: 'Argument',
|
|
3990
|
+
name: { kind: 'Name', value: 'scopeTenant' },
|
|
3991
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'scopeTenant' } },
|
|
3992
|
+
},
|
|
3993
|
+
],
|
|
3994
|
+
selectionSet: {
|
|
3995
|
+
kind: 'SelectionSet',
|
|
3996
|
+
selections: [
|
|
3997
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'id' } },
|
|
3998
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'scopeTenant' } },
|
|
3999
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'scopeId' } },
|
|
4000
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'category' } },
|
|
4001
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'channel' } },
|
|
4002
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'enabled' } },
|
|
4003
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'source' } },
|
|
4004
|
+
],
|
|
4005
|
+
},
|
|
4006
|
+
},
|
|
4007
|
+
],
|
|
4008
|
+
},
|
|
4009
|
+
},
|
|
4010
|
+
],
|
|
4011
|
+
} as unknown as DocumentNode<
|
|
4012
|
+
MyNotificationPreferencesQuery,
|
|
4013
|
+
MyNotificationPreferencesQueryVariables
|
|
4014
|
+
>;
|
|
4015
|
+
export const MyNotificationsDocument = {
|
|
4016
|
+
kind: 'Document',
|
|
4017
|
+
definitions: [
|
|
4018
|
+
{
|
|
4019
|
+
kind: 'OperationDefinition',
|
|
4020
|
+
operation: 'query',
|
|
4021
|
+
name: { kind: 'Name', value: 'MyNotifications' },
|
|
4022
|
+
variableDefinitions: [
|
|
4023
|
+
{
|
|
4024
|
+
kind: 'VariableDefinition',
|
|
4025
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } },
|
|
4026
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'MyNotificationsInput' } },
|
|
4027
|
+
},
|
|
4028
|
+
],
|
|
4029
|
+
selectionSet: {
|
|
4030
|
+
kind: 'SelectionSet',
|
|
4031
|
+
selections: [
|
|
4032
|
+
{
|
|
4033
|
+
kind: 'Field',
|
|
4034
|
+
name: { kind: 'Name', value: 'myNotifications' },
|
|
4035
|
+
arguments: [
|
|
4036
|
+
{
|
|
4037
|
+
kind: 'Argument',
|
|
4038
|
+
name: { kind: 'Name', value: 'input' },
|
|
4039
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } },
|
|
4040
|
+
},
|
|
4041
|
+
],
|
|
4042
|
+
selectionSet: {
|
|
4043
|
+
kind: 'SelectionSet',
|
|
4044
|
+
selections: [
|
|
4045
|
+
{
|
|
4046
|
+
kind: 'Field',
|
|
4047
|
+
name: { kind: 'Name', value: 'notifications' },
|
|
4048
|
+
selectionSet: {
|
|
4049
|
+
kind: 'SelectionSet',
|
|
4050
|
+
selections: [
|
|
4051
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'id' } },
|
|
4052
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'eventId' } },
|
|
4053
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'category' } },
|
|
4054
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'type' } },
|
|
4055
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'channel' } },
|
|
4056
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'title' } },
|
|
4057
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'body' } },
|
|
4058
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'refEntity' } },
|
|
4059
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'refId' } },
|
|
4060
|
+
{
|
|
4061
|
+
kind: 'Field',
|
|
4062
|
+
name: { kind: 'Name', value: 'scope' },
|
|
4063
|
+
selectionSet: {
|
|
4064
|
+
kind: 'SelectionSet',
|
|
4065
|
+
selections: [
|
|
4066
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'tenant' } },
|
|
4067
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'id' } },
|
|
4068
|
+
],
|
|
4069
|
+
},
|
|
4070
|
+
},
|
|
4071
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'status' } },
|
|
4072
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'seenAt' } },
|
|
4073
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'readAt' } },
|
|
4074
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'createdAt' } },
|
|
4075
|
+
],
|
|
4076
|
+
},
|
|
4077
|
+
},
|
|
4078
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'totalCount' } },
|
|
4079
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'unreadCount' } },
|
|
4080
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'hasNextPage' } },
|
|
4081
|
+
],
|
|
4082
|
+
},
|
|
4083
|
+
},
|
|
4084
|
+
],
|
|
4085
|
+
},
|
|
4086
|
+
},
|
|
4087
|
+
],
|
|
4088
|
+
} as unknown as DocumentNode<MyNotificationsQuery, MyNotificationsQueryVariables>;
|
|
4089
|
+
export const MyProjectMembershipDocument = {
|
|
4090
|
+
kind: 'Document',
|
|
4091
|
+
definitions: [
|
|
4092
|
+
{
|
|
4093
|
+
kind: 'OperationDefinition',
|
|
4094
|
+
operation: 'query',
|
|
4095
|
+
name: { kind: 'Name', value: 'MyProjectMembership' },
|
|
4096
|
+
variableDefinitions: [
|
|
4097
|
+
{
|
|
4098
|
+
kind: 'VariableDefinition',
|
|
4099
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'projectId' } },
|
|
4100
|
+
type: {
|
|
4101
|
+
kind: 'NonNullType',
|
|
4102
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } },
|
|
4103
|
+
},
|
|
4104
|
+
},
|
|
4105
|
+
],
|
|
4106
|
+
selectionSet: {
|
|
4107
|
+
kind: 'SelectionSet',
|
|
4108
|
+
selections: [
|
|
4109
|
+
{
|
|
4110
|
+
kind: 'Field',
|
|
4111
|
+
name: { kind: 'Name', value: 'myProjectMembership' },
|
|
4112
|
+
arguments: [
|
|
4113
|
+
{
|
|
4114
|
+
kind: 'Argument',
|
|
4115
|
+
name: { kind: 'Name', value: 'projectId' },
|
|
4116
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'projectId' } },
|
|
4117
|
+
},
|
|
4118
|
+
],
|
|
4119
|
+
selectionSet: {
|
|
4120
|
+
kind: 'SelectionSet',
|
|
4121
|
+
selections: [
|
|
4122
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'projectId' } },
|
|
4123
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'projectName' } },
|
|
4124
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'displayName' } },
|
|
4125
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'pictureUrl' } },
|
|
4126
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'metadata' } },
|
|
4127
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'role' } },
|
|
4128
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'joinedAt' } },
|
|
4129
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'organizationId' } },
|
|
4130
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'organizationName' } },
|
|
4131
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'accountId' } },
|
|
4132
|
+
],
|
|
4133
|
+
},
|
|
4134
|
+
},
|
|
4135
|
+
],
|
|
4136
|
+
},
|
|
4137
|
+
},
|
|
4138
|
+
],
|
|
4139
|
+
} as unknown as DocumentNode<MyProjectMembershipQuery, MyProjectMembershipQueryVariables>;
|
|
4140
|
+
export const MyProjectMembershipsDocument = {
|
|
4141
|
+
kind: 'Document',
|
|
4142
|
+
definitions: [
|
|
4143
|
+
{
|
|
4144
|
+
kind: 'OperationDefinition',
|
|
4145
|
+
operation: 'query',
|
|
4146
|
+
name: { kind: 'Name', value: 'MyProjectMemberships' },
|
|
4147
|
+
selectionSet: {
|
|
4148
|
+
kind: 'SelectionSet',
|
|
4149
|
+
selections: [
|
|
4150
|
+
{
|
|
4151
|
+
kind: 'Field',
|
|
4152
|
+
name: { kind: 'Name', value: 'myProjectMemberships' },
|
|
4153
|
+
selectionSet: {
|
|
4154
|
+
kind: 'SelectionSet',
|
|
4155
|
+
selections: [
|
|
4156
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'projectId' } },
|
|
4157
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'projectName' } },
|
|
4158
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'displayName' } },
|
|
4159
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'pictureUrl' } },
|
|
4160
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'metadata' } },
|
|
4161
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'role' } },
|
|
4162
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'joinedAt' } },
|
|
4163
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'organizationId' } },
|
|
4164
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'organizationName' } },
|
|
4165
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'accountId' } },
|
|
4166
|
+
],
|
|
4167
|
+
},
|
|
4168
|
+
},
|
|
4169
|
+
],
|
|
4170
|
+
},
|
|
4171
|
+
},
|
|
4172
|
+
],
|
|
4173
|
+
} as unknown as DocumentNode<MyProjectMembershipsQuery, MyProjectMembershipsQueryVariables>;
|
|
4174
|
+
export const MyUnreadNotificationCountDocument = {
|
|
4175
|
+
kind: 'Document',
|
|
4176
|
+
definitions: [
|
|
4177
|
+
{
|
|
4178
|
+
kind: 'OperationDefinition',
|
|
4179
|
+
operation: 'query',
|
|
4180
|
+
name: { kind: 'Name', value: 'MyUnreadNotificationCount' },
|
|
4181
|
+
selectionSet: {
|
|
4182
|
+
kind: 'SelectionSet',
|
|
4183
|
+
selections: [
|
|
4184
|
+
{
|
|
4185
|
+
kind: 'Field',
|
|
4186
|
+
name: { kind: 'Name', value: 'myUnreadNotificationCount' },
|
|
4187
|
+
selectionSet: {
|
|
4188
|
+
kind: 'SelectionSet',
|
|
4189
|
+
selections: [{ kind: 'Field', name: { kind: 'Name', value: 'unreadCount' } }],
|
|
4190
|
+
},
|
|
4191
|
+
},
|
|
4192
|
+
],
|
|
4193
|
+
},
|
|
4194
|
+
},
|
|
4195
|
+
],
|
|
4196
|
+
} as unknown as DocumentNode<
|
|
4197
|
+
MyUnreadNotificationCountQuery,
|
|
4198
|
+
MyUnreadNotificationCountQueryVariables
|
|
4199
|
+
>;
|
|
3589
4200
|
export const MyUserAuthenticationMethodsDocument = {
|
|
3590
4201
|
kind: 'Document',
|
|
3591
4202
|
definitions: [
|
|
@@ -3943,20 +4554,23 @@ export const RevokeMyUserSessionDocument = {
|
|
|
3943
4554
|
},
|
|
3944
4555
|
],
|
|
3945
4556
|
} as unknown as DocumentNode<RevokeMyUserSessionMutation, RevokeMyUserSessionMutationVariables>;
|
|
3946
|
-
export const
|
|
4557
|
+
export const SetMyNotificationPreferenceDocument = {
|
|
3947
4558
|
kind: 'Document',
|
|
3948
4559
|
definitions: [
|
|
3949
4560
|
{
|
|
3950
4561
|
kind: 'OperationDefinition',
|
|
3951
4562
|
operation: 'mutation',
|
|
3952
|
-
name: { kind: 'Name', value: '
|
|
4563
|
+
name: { kind: 'Name', value: 'SetMyNotificationPreference' },
|
|
3953
4564
|
variableDefinitions: [
|
|
3954
4565
|
{
|
|
3955
4566
|
kind: 'VariableDefinition',
|
|
3956
|
-
variable: { kind: 'Variable', name: { kind: 'Name', value: '
|
|
4567
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } },
|
|
3957
4568
|
type: {
|
|
3958
4569
|
kind: 'NonNullType',
|
|
3959
|
-
type: {
|
|
4570
|
+
type: {
|
|
4571
|
+
kind: 'NamedType',
|
|
4572
|
+
name: { kind: 'Name', value: 'SetMyNotificationPreferenceInput' },
|
|
4573
|
+
},
|
|
3960
4574
|
},
|
|
3961
4575
|
},
|
|
3962
4576
|
],
|
|
@@ -3965,12 +4579,63 @@ export const SetMyPrimaryAuthenticationMethodDocument = {
|
|
|
3965
4579
|
selections: [
|
|
3966
4580
|
{
|
|
3967
4581
|
kind: 'Field',
|
|
3968
|
-
name: { kind: 'Name', value: '
|
|
4582
|
+
name: { kind: 'Name', value: 'setMyNotificationPreference' },
|
|
3969
4583
|
arguments: [
|
|
3970
4584
|
{
|
|
3971
4585
|
kind: 'Argument',
|
|
3972
|
-
name: { kind: 'Name', value: '
|
|
3973
|
-
value: { kind: 'Variable', name: { kind: 'Name', value: '
|
|
4586
|
+
name: { kind: 'Name', value: 'input' },
|
|
4587
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } },
|
|
4588
|
+
},
|
|
4589
|
+
],
|
|
4590
|
+
selectionSet: {
|
|
4591
|
+
kind: 'SelectionSet',
|
|
4592
|
+
selections: [
|
|
4593
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'id' } },
|
|
4594
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'scopeTenant' } },
|
|
4595
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'scopeId' } },
|
|
4596
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'category' } },
|
|
4597
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'channel' } },
|
|
4598
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'enabled' } },
|
|
4599
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'source' } },
|
|
4600
|
+
],
|
|
4601
|
+
},
|
|
4602
|
+
},
|
|
4603
|
+
],
|
|
4604
|
+
},
|
|
4605
|
+
},
|
|
4606
|
+
],
|
|
4607
|
+
} as unknown as DocumentNode<
|
|
4608
|
+
SetMyNotificationPreferenceMutation,
|
|
4609
|
+
SetMyNotificationPreferenceMutationVariables
|
|
4610
|
+
>;
|
|
4611
|
+
export const SetMyPrimaryAuthenticationMethodDocument = {
|
|
4612
|
+
kind: 'Document',
|
|
4613
|
+
definitions: [
|
|
4614
|
+
{
|
|
4615
|
+
kind: 'OperationDefinition',
|
|
4616
|
+
operation: 'mutation',
|
|
4617
|
+
name: { kind: 'Name', value: 'SetMyPrimaryAuthenticationMethod' },
|
|
4618
|
+
variableDefinitions: [
|
|
4619
|
+
{
|
|
4620
|
+
kind: 'VariableDefinition',
|
|
4621
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } },
|
|
4622
|
+
type: {
|
|
4623
|
+
kind: 'NonNullType',
|
|
4624
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } },
|
|
4625
|
+
},
|
|
4626
|
+
},
|
|
4627
|
+
],
|
|
4628
|
+
selectionSet: {
|
|
4629
|
+
kind: 'SelectionSet',
|
|
4630
|
+
selections: [
|
|
4631
|
+
{
|
|
4632
|
+
kind: 'Field',
|
|
4633
|
+
name: { kind: 'Name', value: 'setMyPrimaryAuthenticationMethod' },
|
|
4634
|
+
arguments: [
|
|
4635
|
+
{
|
|
4636
|
+
kind: 'Argument',
|
|
4637
|
+
name: { kind: 'Name', value: 'id' },
|
|
4638
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } },
|
|
3974
4639
|
},
|
|
3975
4640
|
],
|
|
3976
4641
|
selectionSet: {
|
|
@@ -4042,6 +4707,63 @@ export const SetMyPrimaryMfaDeviceDocument = {
|
|
|
4042
4707
|
},
|
|
4043
4708
|
],
|
|
4044
4709
|
} as unknown as DocumentNode<SetMyPrimaryMfaDeviceMutation, SetMyPrimaryMfaDeviceMutationVariables>;
|
|
4710
|
+
export const UpdateMyProjectMembershipDocument = {
|
|
4711
|
+
kind: 'Document',
|
|
4712
|
+
definitions: [
|
|
4713
|
+
{
|
|
4714
|
+
kind: 'OperationDefinition',
|
|
4715
|
+
operation: 'mutation',
|
|
4716
|
+
name: { kind: 'Name', value: 'UpdateMyProjectMembership' },
|
|
4717
|
+
variableDefinitions: [
|
|
4718
|
+
{
|
|
4719
|
+
kind: 'VariableDefinition',
|
|
4720
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } },
|
|
4721
|
+
type: {
|
|
4722
|
+
kind: 'NonNullType',
|
|
4723
|
+
type: {
|
|
4724
|
+
kind: 'NamedType',
|
|
4725
|
+
name: { kind: 'Name', value: 'UpdateMyProjectMembershipInput' },
|
|
4726
|
+
},
|
|
4727
|
+
},
|
|
4728
|
+
},
|
|
4729
|
+
],
|
|
4730
|
+
selectionSet: {
|
|
4731
|
+
kind: 'SelectionSet',
|
|
4732
|
+
selections: [
|
|
4733
|
+
{
|
|
4734
|
+
kind: 'Field',
|
|
4735
|
+
name: { kind: 'Name', value: 'updateMyProjectMembership' },
|
|
4736
|
+
arguments: [
|
|
4737
|
+
{
|
|
4738
|
+
kind: 'Argument',
|
|
4739
|
+
name: { kind: 'Name', value: 'input' },
|
|
4740
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } },
|
|
4741
|
+
},
|
|
4742
|
+
],
|
|
4743
|
+
selectionSet: {
|
|
4744
|
+
kind: 'SelectionSet',
|
|
4745
|
+
selections: [
|
|
4746
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'projectId' } },
|
|
4747
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'projectName' } },
|
|
4748
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'displayName' } },
|
|
4749
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'pictureUrl' } },
|
|
4750
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'metadata' } },
|
|
4751
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'role' } },
|
|
4752
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'joinedAt' } },
|
|
4753
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'organizationId' } },
|
|
4754
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'organizationName' } },
|
|
4755
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'accountId' } },
|
|
4756
|
+
],
|
|
4757
|
+
},
|
|
4758
|
+
},
|
|
4759
|
+
],
|
|
4760
|
+
},
|
|
4761
|
+
},
|
|
4762
|
+
],
|
|
4763
|
+
} as unknown as DocumentNode<
|
|
4764
|
+
UpdateMyProjectMembershipMutation,
|
|
4765
|
+
UpdateMyProjectMembershipMutationVariables
|
|
4766
|
+
>;
|
|
4045
4767
|
export const UpdateMyUserDocument = {
|
|
4046
4768
|
kind: 'Document',
|
|
4047
4769
|
definitions: [
|
|
@@ -4088,6 +4810,55 @@ export const UpdateMyUserDocument = {
|
|
|
4088
4810
|
},
|
|
4089
4811
|
],
|
|
4090
4812
|
} as unknown as DocumentNode<UpdateMyUserMutation, UpdateMyUserMutationVariables>;
|
|
4813
|
+
export const UploadMyProjectMembershipPictureDocument = {
|
|
4814
|
+
kind: 'Document',
|
|
4815
|
+
definitions: [
|
|
4816
|
+
{
|
|
4817
|
+
kind: 'OperationDefinition',
|
|
4818
|
+
operation: 'mutation',
|
|
4819
|
+
name: { kind: 'Name', value: 'UploadMyProjectMembershipPicture' },
|
|
4820
|
+
variableDefinitions: [
|
|
4821
|
+
{
|
|
4822
|
+
kind: 'VariableDefinition',
|
|
4823
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } },
|
|
4824
|
+
type: {
|
|
4825
|
+
kind: 'NonNullType',
|
|
4826
|
+
type: {
|
|
4827
|
+
kind: 'NamedType',
|
|
4828
|
+
name: { kind: 'Name', value: 'UploadMyProjectMembershipPictureInput' },
|
|
4829
|
+
},
|
|
4830
|
+
},
|
|
4831
|
+
},
|
|
4832
|
+
],
|
|
4833
|
+
selectionSet: {
|
|
4834
|
+
kind: 'SelectionSet',
|
|
4835
|
+
selections: [
|
|
4836
|
+
{
|
|
4837
|
+
kind: 'Field',
|
|
4838
|
+
name: { kind: 'Name', value: 'uploadMyProjectMembershipPicture' },
|
|
4839
|
+
arguments: [
|
|
4840
|
+
{
|
|
4841
|
+
kind: 'Argument',
|
|
4842
|
+
name: { kind: 'Name', value: 'input' },
|
|
4843
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } },
|
|
4844
|
+
},
|
|
4845
|
+
],
|
|
4846
|
+
selectionSet: {
|
|
4847
|
+
kind: 'SelectionSet',
|
|
4848
|
+
selections: [
|
|
4849
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'url' } },
|
|
4850
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'path' } },
|
|
4851
|
+
],
|
|
4852
|
+
},
|
|
4853
|
+
},
|
|
4854
|
+
],
|
|
4855
|
+
},
|
|
4856
|
+
},
|
|
4857
|
+
],
|
|
4858
|
+
} as unknown as DocumentNode<
|
|
4859
|
+
UploadMyProjectMembershipPictureMutation,
|
|
4860
|
+
UploadMyProjectMembershipPictureMutationVariables
|
|
4861
|
+
>;
|
|
4091
4862
|
export const UploadMyUserPictureDocument = {
|
|
4092
4863
|
kind: 'Document',
|
|
4093
4864
|
definitions: [
|
|
@@ -7907,19 +8678,6 @@ export const GetRolesDocument = {
|
|
|
7907
8678
|
selections: [
|
|
7908
8679
|
{ kind: 'Field', name: { kind: 'Name', value: 'id' } },
|
|
7909
8680
|
{ kind: 'Field', name: { kind: 'Name', value: 'name' } },
|
|
7910
|
-
{
|
|
7911
|
-
kind: 'Field',
|
|
7912
|
-
name: { kind: 'Name', value: 'tags' },
|
|
7913
|
-
selectionSet: {
|
|
7914
|
-
kind: 'SelectionSet',
|
|
7915
|
-
selections: [
|
|
7916
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'id' } },
|
|
7917
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'name' } },
|
|
7918
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'color' } },
|
|
7919
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'isPrimary' } },
|
|
7920
|
-
],
|
|
7921
|
-
},
|
|
7922
|
-
},
|
|
7923
8681
|
],
|
|
7924
8682
|
},
|
|
7925
8683
|
},
|
|
@@ -7931,38 +8689,6 @@ export const GetRolesDocument = {
|
|
|
7931
8689
|
selections: [
|
|
7932
8690
|
{ kind: 'Field', name: { kind: 'Name', value: 'id' } },
|
|
7933
8691
|
{ kind: 'Field', name: { kind: 'Name', value: 'permissionId' } },
|
|
7934
|
-
{
|
|
7935
|
-
kind: 'Field',
|
|
7936
|
-
name: { kind: 'Name', value: 'permission' },
|
|
7937
|
-
arguments: [
|
|
7938
|
-
{
|
|
7939
|
-
kind: 'Argument',
|
|
7940
|
-
name: { kind: 'Name', value: 'scope' },
|
|
7941
|
-
value: {
|
|
7942
|
-
kind: 'Variable',
|
|
7943
|
-
name: { kind: 'Name', value: 'scope' },
|
|
7944
|
-
},
|
|
7945
|
-
},
|
|
7946
|
-
],
|
|
7947
|
-
selectionSet: {
|
|
7948
|
-
kind: 'SelectionSet',
|
|
7949
|
-
selections: [
|
|
7950
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'id' } },
|
|
7951
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'name' } },
|
|
7952
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'action' } },
|
|
7953
|
-
{
|
|
7954
|
-
kind: 'Field',
|
|
7955
|
-
name: { kind: 'Name', value: 'resource' },
|
|
7956
|
-
selectionSet: {
|
|
7957
|
-
kind: 'SelectionSet',
|
|
7958
|
-
selections: [
|
|
7959
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'slug' } },
|
|
7960
|
-
],
|
|
7961
|
-
},
|
|
7962
|
-
},
|
|
7963
|
-
],
|
|
7964
|
-
},
|
|
7965
|
-
},
|
|
7966
8692
|
],
|
|
7967
8693
|
},
|
|
7968
8694
|
},
|
|
@@ -9434,3 +10160,484 @@ export const UploadUserPictureDocument = {
|
|
|
9434
10160
|
},
|
|
9435
10161
|
],
|
|
9436
10162
|
} as unknown as DocumentNode<UploadUserPictureMutation, UploadUserPictureMutationVariables>;
|
|
10163
|
+
export const CreateWebhookSubscriptionDocument = {
|
|
10164
|
+
kind: 'Document',
|
|
10165
|
+
definitions: [
|
|
10166
|
+
{
|
|
10167
|
+
kind: 'OperationDefinition',
|
|
10168
|
+
operation: 'mutation',
|
|
10169
|
+
name: { kind: 'Name', value: 'CreateWebhookSubscription' },
|
|
10170
|
+
variableDefinitions: [
|
|
10171
|
+
{
|
|
10172
|
+
kind: 'VariableDefinition',
|
|
10173
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } },
|
|
10174
|
+
type: {
|
|
10175
|
+
kind: 'NonNullType',
|
|
10176
|
+
type: {
|
|
10177
|
+
kind: 'NamedType',
|
|
10178
|
+
name: { kind: 'Name', value: 'CreateWebhookSubscriptionMutationInput' },
|
|
10179
|
+
},
|
|
10180
|
+
},
|
|
10181
|
+
},
|
|
10182
|
+
],
|
|
10183
|
+
selectionSet: {
|
|
10184
|
+
kind: 'SelectionSet',
|
|
10185
|
+
selections: [
|
|
10186
|
+
{
|
|
10187
|
+
kind: 'Field',
|
|
10188
|
+
name: { kind: 'Name', value: 'createWebhookSubscription' },
|
|
10189
|
+
arguments: [
|
|
10190
|
+
{
|
|
10191
|
+
kind: 'Argument',
|
|
10192
|
+
name: { kind: 'Name', value: 'input' },
|
|
10193
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } },
|
|
10194
|
+
},
|
|
10195
|
+
],
|
|
10196
|
+
selectionSet: {
|
|
10197
|
+
kind: 'SelectionSet',
|
|
10198
|
+
selections: [
|
|
10199
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'id' } },
|
|
10200
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'projectId' } },
|
|
10201
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'url' } },
|
|
10202
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'eventTypes' } },
|
|
10203
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'active' } },
|
|
10204
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'description' } },
|
|
10205
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'secret' } },
|
|
10206
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'createdAt' } },
|
|
10207
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } },
|
|
10208
|
+
],
|
|
10209
|
+
},
|
|
10210
|
+
},
|
|
10211
|
+
],
|
|
10212
|
+
},
|
|
10213
|
+
},
|
|
10214
|
+
],
|
|
10215
|
+
} as unknown as DocumentNode<
|
|
10216
|
+
CreateWebhookSubscriptionMutation,
|
|
10217
|
+
CreateWebhookSubscriptionMutationVariables
|
|
10218
|
+
>;
|
|
10219
|
+
export const DeleteWebhookSubscriptionDocument = {
|
|
10220
|
+
kind: 'Document',
|
|
10221
|
+
definitions: [
|
|
10222
|
+
{
|
|
10223
|
+
kind: 'OperationDefinition',
|
|
10224
|
+
operation: 'mutation',
|
|
10225
|
+
name: { kind: 'Name', value: 'DeleteWebhookSubscription' },
|
|
10226
|
+
variableDefinitions: [
|
|
10227
|
+
{
|
|
10228
|
+
kind: 'VariableDefinition',
|
|
10229
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } },
|
|
10230
|
+
type: {
|
|
10231
|
+
kind: 'NonNullType',
|
|
10232
|
+
type: {
|
|
10233
|
+
kind: 'NamedType',
|
|
10234
|
+
name: { kind: 'Name', value: 'DeleteWebhookSubscriptionInput' },
|
|
10235
|
+
},
|
|
10236
|
+
},
|
|
10237
|
+
},
|
|
10238
|
+
],
|
|
10239
|
+
selectionSet: {
|
|
10240
|
+
kind: 'SelectionSet',
|
|
10241
|
+
selections: [
|
|
10242
|
+
{
|
|
10243
|
+
kind: 'Field',
|
|
10244
|
+
name: { kind: 'Name', value: 'deleteWebhookSubscription' },
|
|
10245
|
+
arguments: [
|
|
10246
|
+
{
|
|
10247
|
+
kind: 'Argument',
|
|
10248
|
+
name: { kind: 'Name', value: 'input' },
|
|
10249
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } },
|
|
10250
|
+
},
|
|
10251
|
+
],
|
|
10252
|
+
},
|
|
10253
|
+
],
|
|
10254
|
+
},
|
|
10255
|
+
},
|
|
10256
|
+
],
|
|
10257
|
+
} as unknown as DocumentNode<
|
|
10258
|
+
DeleteWebhookSubscriptionMutation,
|
|
10259
|
+
DeleteWebhookSubscriptionMutationVariables
|
|
10260
|
+
>;
|
|
10261
|
+
export const ReplayWebhookDeliveryDocument = {
|
|
10262
|
+
kind: 'Document',
|
|
10263
|
+
definitions: [
|
|
10264
|
+
{
|
|
10265
|
+
kind: 'OperationDefinition',
|
|
10266
|
+
operation: 'mutation',
|
|
10267
|
+
name: { kind: 'Name', value: 'ReplayWebhookDelivery' },
|
|
10268
|
+
variableDefinitions: [
|
|
10269
|
+
{
|
|
10270
|
+
kind: 'VariableDefinition',
|
|
10271
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } },
|
|
10272
|
+
type: {
|
|
10273
|
+
kind: 'NonNullType',
|
|
10274
|
+
type: {
|
|
10275
|
+
kind: 'NamedType',
|
|
10276
|
+
name: { kind: 'Name', value: 'ReplayWebhookDeliveryInput' },
|
|
10277
|
+
},
|
|
10278
|
+
},
|
|
10279
|
+
},
|
|
10280
|
+
],
|
|
10281
|
+
selectionSet: {
|
|
10282
|
+
kind: 'SelectionSet',
|
|
10283
|
+
selections: [
|
|
10284
|
+
{
|
|
10285
|
+
kind: 'Field',
|
|
10286
|
+
name: { kind: 'Name', value: 'replayWebhookDelivery' },
|
|
10287
|
+
arguments: [
|
|
10288
|
+
{
|
|
10289
|
+
kind: 'Argument',
|
|
10290
|
+
name: { kind: 'Name', value: 'input' },
|
|
10291
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } },
|
|
10292
|
+
},
|
|
10293
|
+
],
|
|
10294
|
+
selectionSet: {
|
|
10295
|
+
kind: 'SelectionSet',
|
|
10296
|
+
selections: [
|
|
10297
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'id' } },
|
|
10298
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'eventId' } },
|
|
10299
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'subscriptionId' } },
|
|
10300
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'status' } },
|
|
10301
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'attemptCount' } },
|
|
10302
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'nextRetryAt' } },
|
|
10303
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } },
|
|
10304
|
+
],
|
|
10305
|
+
},
|
|
10306
|
+
},
|
|
10307
|
+
],
|
|
10308
|
+
},
|
|
10309
|
+
},
|
|
10310
|
+
],
|
|
10311
|
+
} as unknown as DocumentNode<ReplayWebhookDeliveryMutation, ReplayWebhookDeliveryMutationVariables>;
|
|
10312
|
+
export const RotateWebhookSubscriptionSecretDocument = {
|
|
10313
|
+
kind: 'Document',
|
|
10314
|
+
definitions: [
|
|
10315
|
+
{
|
|
10316
|
+
kind: 'OperationDefinition',
|
|
10317
|
+
operation: 'mutation',
|
|
10318
|
+
name: { kind: 'Name', value: 'RotateWebhookSubscriptionSecret' },
|
|
10319
|
+
variableDefinitions: [
|
|
10320
|
+
{
|
|
10321
|
+
kind: 'VariableDefinition',
|
|
10322
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } },
|
|
10323
|
+
type: {
|
|
10324
|
+
kind: 'NonNullType',
|
|
10325
|
+
type: {
|
|
10326
|
+
kind: 'NamedType',
|
|
10327
|
+
name: { kind: 'Name', value: 'RotateWebhookSubscriptionSecretInput' },
|
|
10328
|
+
},
|
|
10329
|
+
},
|
|
10330
|
+
},
|
|
10331
|
+
],
|
|
10332
|
+
selectionSet: {
|
|
10333
|
+
kind: 'SelectionSet',
|
|
10334
|
+
selections: [
|
|
10335
|
+
{
|
|
10336
|
+
kind: 'Field',
|
|
10337
|
+
name: { kind: 'Name', value: 'rotateWebhookSubscriptionSecret' },
|
|
10338
|
+
arguments: [
|
|
10339
|
+
{
|
|
10340
|
+
kind: 'Argument',
|
|
10341
|
+
name: { kind: 'Name', value: 'input' },
|
|
10342
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } },
|
|
10343
|
+
},
|
|
10344
|
+
],
|
|
10345
|
+
selectionSet: {
|
|
10346
|
+
kind: 'SelectionSet',
|
|
10347
|
+
selections: [
|
|
10348
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'id' } },
|
|
10349
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'secret' } },
|
|
10350
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } },
|
|
10351
|
+
],
|
|
10352
|
+
},
|
|
10353
|
+
},
|
|
10354
|
+
],
|
|
10355
|
+
},
|
|
10356
|
+
},
|
|
10357
|
+
],
|
|
10358
|
+
} as unknown as DocumentNode<
|
|
10359
|
+
RotateWebhookSubscriptionSecretMutation,
|
|
10360
|
+
RotateWebhookSubscriptionSecretMutationVariables
|
|
10361
|
+
>;
|
|
10362
|
+
export const UpdateWebhookSubscriptionDocument = {
|
|
10363
|
+
kind: 'Document',
|
|
10364
|
+
definitions: [
|
|
10365
|
+
{
|
|
10366
|
+
kind: 'OperationDefinition',
|
|
10367
|
+
operation: 'mutation',
|
|
10368
|
+
name: { kind: 'Name', value: 'UpdateWebhookSubscription' },
|
|
10369
|
+
variableDefinitions: [
|
|
10370
|
+
{
|
|
10371
|
+
kind: 'VariableDefinition',
|
|
10372
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } },
|
|
10373
|
+
type: {
|
|
10374
|
+
kind: 'NonNullType',
|
|
10375
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } },
|
|
10376
|
+
},
|
|
10377
|
+
},
|
|
10378
|
+
{
|
|
10379
|
+
kind: 'VariableDefinition',
|
|
10380
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } },
|
|
10381
|
+
type: {
|
|
10382
|
+
kind: 'NonNullType',
|
|
10383
|
+
type: {
|
|
10384
|
+
kind: 'NamedType',
|
|
10385
|
+
name: { kind: 'Name', value: 'UpdateWebhookSubscriptionMutationInput' },
|
|
10386
|
+
},
|
|
10387
|
+
},
|
|
10388
|
+
},
|
|
10389
|
+
],
|
|
10390
|
+
selectionSet: {
|
|
10391
|
+
kind: 'SelectionSet',
|
|
10392
|
+
selections: [
|
|
10393
|
+
{
|
|
10394
|
+
kind: 'Field',
|
|
10395
|
+
name: { kind: 'Name', value: 'updateWebhookSubscription' },
|
|
10396
|
+
arguments: [
|
|
10397
|
+
{
|
|
10398
|
+
kind: 'Argument',
|
|
10399
|
+
name: { kind: 'Name', value: 'id' },
|
|
10400
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } },
|
|
10401
|
+
},
|
|
10402
|
+
{
|
|
10403
|
+
kind: 'Argument',
|
|
10404
|
+
name: { kind: 'Name', value: 'input' },
|
|
10405
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } },
|
|
10406
|
+
},
|
|
10407
|
+
],
|
|
10408
|
+
selectionSet: {
|
|
10409
|
+
kind: 'SelectionSet',
|
|
10410
|
+
selections: [
|
|
10411
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'id' } },
|
|
10412
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'url' } },
|
|
10413
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'eventTypes' } },
|
|
10414
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'active' } },
|
|
10415
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'description' } },
|
|
10416
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } },
|
|
10417
|
+
],
|
|
10418
|
+
},
|
|
10419
|
+
},
|
|
10420
|
+
],
|
|
10421
|
+
},
|
|
10422
|
+
},
|
|
10423
|
+
],
|
|
10424
|
+
} as unknown as DocumentNode<
|
|
10425
|
+
UpdateWebhookSubscriptionMutation,
|
|
10426
|
+
UpdateWebhookSubscriptionMutationVariables
|
|
10427
|
+
>;
|
|
10428
|
+
export const WebhookDeliveriesDocument = {
|
|
10429
|
+
kind: 'Document',
|
|
10430
|
+
definitions: [
|
|
10431
|
+
{
|
|
10432
|
+
kind: 'OperationDefinition',
|
|
10433
|
+
operation: 'query',
|
|
10434
|
+
name: { kind: 'Name', value: 'WebhookDeliveries' },
|
|
10435
|
+
variableDefinitions: [
|
|
10436
|
+
{
|
|
10437
|
+
kind: 'VariableDefinition',
|
|
10438
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'scope' } },
|
|
10439
|
+
type: {
|
|
10440
|
+
kind: 'NonNullType',
|
|
10441
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'Scope' } },
|
|
10442
|
+
},
|
|
10443
|
+
},
|
|
10444
|
+
{
|
|
10445
|
+
kind: 'VariableDefinition',
|
|
10446
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'subscriptionId' } },
|
|
10447
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } },
|
|
10448
|
+
},
|
|
10449
|
+
{
|
|
10450
|
+
kind: 'VariableDefinition',
|
|
10451
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'status' } },
|
|
10452
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'WebhookDeliveryStatus' } },
|
|
10453
|
+
},
|
|
10454
|
+
{
|
|
10455
|
+
kind: 'VariableDefinition',
|
|
10456
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'page' } },
|
|
10457
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } },
|
|
10458
|
+
},
|
|
10459
|
+
{
|
|
10460
|
+
kind: 'VariableDefinition',
|
|
10461
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'limit' } },
|
|
10462
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } },
|
|
10463
|
+
},
|
|
10464
|
+
],
|
|
10465
|
+
selectionSet: {
|
|
10466
|
+
kind: 'SelectionSet',
|
|
10467
|
+
selections: [
|
|
10468
|
+
{
|
|
10469
|
+
kind: 'Field',
|
|
10470
|
+
name: { kind: 'Name', value: 'webhookDeliveries' },
|
|
10471
|
+
arguments: [
|
|
10472
|
+
{
|
|
10473
|
+
kind: 'Argument',
|
|
10474
|
+
name: { kind: 'Name', value: 'scope' },
|
|
10475
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'scope' } },
|
|
10476
|
+
},
|
|
10477
|
+
{
|
|
10478
|
+
kind: 'Argument',
|
|
10479
|
+
name: { kind: 'Name', value: 'subscriptionId' },
|
|
10480
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'subscriptionId' } },
|
|
10481
|
+
},
|
|
10482
|
+
{
|
|
10483
|
+
kind: 'Argument',
|
|
10484
|
+
name: { kind: 'Name', value: 'status' },
|
|
10485
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'status' } },
|
|
10486
|
+
},
|
|
10487
|
+
{
|
|
10488
|
+
kind: 'Argument',
|
|
10489
|
+
name: { kind: 'Name', value: 'page' },
|
|
10490
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'page' } },
|
|
10491
|
+
},
|
|
10492
|
+
{
|
|
10493
|
+
kind: 'Argument',
|
|
10494
|
+
name: { kind: 'Name', value: 'limit' },
|
|
10495
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'limit' } },
|
|
10496
|
+
},
|
|
10497
|
+
],
|
|
10498
|
+
selectionSet: {
|
|
10499
|
+
kind: 'SelectionSet',
|
|
10500
|
+
selections: [
|
|
10501
|
+
{
|
|
10502
|
+
kind: 'Field',
|
|
10503
|
+
name: { kind: 'Name', value: 'items' },
|
|
10504
|
+
selectionSet: {
|
|
10505
|
+
kind: 'SelectionSet',
|
|
10506
|
+
selections: [
|
|
10507
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'id' } },
|
|
10508
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'eventId' } },
|
|
10509
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'subscriptionId' } },
|
|
10510
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'status' } },
|
|
10511
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'attemptCount' } },
|
|
10512
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'nextRetryAt' } },
|
|
10513
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'lastResponseStatus' } },
|
|
10514
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'errorDetails' } },
|
|
10515
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'deliveredAt' } },
|
|
10516
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'createdAt' } },
|
|
10517
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } },
|
|
10518
|
+
],
|
|
10519
|
+
},
|
|
10520
|
+
},
|
|
10521
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'totalCount' } },
|
|
10522
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'hasNextPage' } },
|
|
10523
|
+
],
|
|
10524
|
+
},
|
|
10525
|
+
},
|
|
10526
|
+
],
|
|
10527
|
+
},
|
|
10528
|
+
},
|
|
10529
|
+
],
|
|
10530
|
+
} as unknown as DocumentNode<WebhookDeliveriesQuery, WebhookDeliveriesQueryVariables>;
|
|
10531
|
+
export const WebhookSubscriptionDocument = {
|
|
10532
|
+
kind: 'Document',
|
|
10533
|
+
definitions: [
|
|
10534
|
+
{
|
|
10535
|
+
kind: 'OperationDefinition',
|
|
10536
|
+
operation: 'query',
|
|
10537
|
+
name: { kind: 'Name', value: 'WebhookSubscription' },
|
|
10538
|
+
variableDefinitions: [
|
|
10539
|
+
{
|
|
10540
|
+
kind: 'VariableDefinition',
|
|
10541
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'scope' } },
|
|
10542
|
+
type: {
|
|
10543
|
+
kind: 'NonNullType',
|
|
10544
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'Scope' } },
|
|
10545
|
+
},
|
|
10546
|
+
},
|
|
10547
|
+
{
|
|
10548
|
+
kind: 'VariableDefinition',
|
|
10549
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } },
|
|
10550
|
+
type: {
|
|
10551
|
+
kind: 'NonNullType',
|
|
10552
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } },
|
|
10553
|
+
},
|
|
10554
|
+
},
|
|
10555
|
+
],
|
|
10556
|
+
selectionSet: {
|
|
10557
|
+
kind: 'SelectionSet',
|
|
10558
|
+
selections: [
|
|
10559
|
+
{
|
|
10560
|
+
kind: 'Field',
|
|
10561
|
+
name: { kind: 'Name', value: 'webhookSubscription' },
|
|
10562
|
+
arguments: [
|
|
10563
|
+
{
|
|
10564
|
+
kind: 'Argument',
|
|
10565
|
+
name: { kind: 'Name', value: 'scope' },
|
|
10566
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'scope' } },
|
|
10567
|
+
},
|
|
10568
|
+
{
|
|
10569
|
+
kind: 'Argument',
|
|
10570
|
+
name: { kind: 'Name', value: 'id' },
|
|
10571
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } },
|
|
10572
|
+
},
|
|
10573
|
+
],
|
|
10574
|
+
selectionSet: {
|
|
10575
|
+
kind: 'SelectionSet',
|
|
10576
|
+
selections: [
|
|
10577
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'id' } },
|
|
10578
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'projectId' } },
|
|
10579
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'url' } },
|
|
10580
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'eventTypes' } },
|
|
10581
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'active' } },
|
|
10582
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'description' } },
|
|
10583
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'createdById' } },
|
|
10584
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'createdAt' } },
|
|
10585
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } },
|
|
10586
|
+
],
|
|
10587
|
+
},
|
|
10588
|
+
},
|
|
10589
|
+
],
|
|
10590
|
+
},
|
|
10591
|
+
},
|
|
10592
|
+
],
|
|
10593
|
+
} as unknown as DocumentNode<WebhookSubscriptionQuery, WebhookSubscriptionQueryVariables>;
|
|
10594
|
+
export const WebhookSubscriptionsDocument = {
|
|
10595
|
+
kind: 'Document',
|
|
10596
|
+
definitions: [
|
|
10597
|
+
{
|
|
10598
|
+
kind: 'OperationDefinition',
|
|
10599
|
+
operation: 'query',
|
|
10600
|
+
name: { kind: 'Name', value: 'WebhookSubscriptions' },
|
|
10601
|
+
variableDefinitions: [
|
|
10602
|
+
{
|
|
10603
|
+
kind: 'VariableDefinition',
|
|
10604
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'scope' } },
|
|
10605
|
+
type: {
|
|
10606
|
+
kind: 'NonNullType',
|
|
10607
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'Scope' } },
|
|
10608
|
+
},
|
|
10609
|
+
},
|
|
10610
|
+
],
|
|
10611
|
+
selectionSet: {
|
|
10612
|
+
kind: 'SelectionSet',
|
|
10613
|
+
selections: [
|
|
10614
|
+
{
|
|
10615
|
+
kind: 'Field',
|
|
10616
|
+
name: { kind: 'Name', value: 'webhookSubscriptions' },
|
|
10617
|
+
arguments: [
|
|
10618
|
+
{
|
|
10619
|
+
kind: 'Argument',
|
|
10620
|
+
name: { kind: 'Name', value: 'scope' },
|
|
10621
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'scope' } },
|
|
10622
|
+
},
|
|
10623
|
+
],
|
|
10624
|
+
selectionSet: {
|
|
10625
|
+
kind: 'SelectionSet',
|
|
10626
|
+
selections: [
|
|
10627
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'id' } },
|
|
10628
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'projectId' } },
|
|
10629
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'url' } },
|
|
10630
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'eventTypes' } },
|
|
10631
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'active' } },
|
|
10632
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'description' } },
|
|
10633
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'createdById' } },
|
|
10634
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'createdAt' } },
|
|
10635
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } },
|
|
10636
|
+
],
|
|
10637
|
+
},
|
|
10638
|
+
},
|
|
10639
|
+
],
|
|
10640
|
+
},
|
|
10641
|
+
},
|
|
10642
|
+
],
|
|
10643
|
+
} as unknown as DocumentNode<WebhookSubscriptionsQuery, WebhookSubscriptionsQueryVariables>;
|