@task-shepherd/agent 1.0.5 → 1.0.7
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/dist/cli/index.js +1 -1
- package/dist/index.js +1 -1
- package/dist/meta.json +5 -5
- package/package.json +3 -2
- package/shared/dist/index.d.ts +15 -0
- package/shared/dist/index.js +12 -0
- package/shared/dist/mcp-client/client.d.ts +18 -0
- package/shared/dist/mcp-client/client.js +49 -0
- package/shared/dist/mcp-client/index.d.ts +7 -0
- package/shared/dist/mcp-client/index.js +7 -0
- package/shared/dist/mcp-client/types.d.ts +822 -0
- package/shared/dist/mcp-client/types.js +193 -0
- package/shared/dist/schema/index.d.ts +189 -0
- package/shared/dist/schema/index.js +142 -0
- package/shared/dist/schema/mcp-mappings.d.ts +50 -0
- package/shared/dist/schema/mcp-mappings.js +563 -0
- package/shared/dist/schema/validation.d.ts +91 -0
- package/shared/dist/schema/validation.js +282 -0
- package/shared/dist/work-queue/index.d.ts +7 -0
- package/shared/dist/work-queue/index.js +7 -0
- package/shared/dist/work-queue/types.d.ts +147 -0
- package/shared/dist/work-queue/types.js +4 -0
- package/shared/dist/work-queue/validation.d.ts +24 -0
- package/shared/dist/work-queue/validation.js +160 -0
- package/shared/dist/workspace/constants.d.ts +148 -0
- package/shared/dist/workspace/constants.js +432 -0
- package/shared/dist/workspace/index.d.ts +10 -0
- package/shared/dist/workspace/index.js +10 -0
- package/shared/dist/workspace/types.d.ts +477 -0
- package/shared/dist/workspace/types.js +9 -0
- package/shared/dist/workspace/utils.d.ts +79 -0
- package/shared/dist/workspace/utils.js +334 -0
- package/shared/dist/workspace/validation.d.ts +1312 -0
- package/shared/dist/workspace/validation.js +467 -0
- package/shared/graphql/generated-internal.ts +3629 -0
- package/shared/graphql/generated-public.ts +773 -0
- package/shared/graphql/generated.d.ts +7456 -0
- package/shared/graphql/generated.js +11799 -0
- package/shared/graphql/generated.ts +27569 -0
- package/shared/graphql/generated.ts.backup +16531 -0
- package/shared/graphql/generated.ts.working +4828 -0
- package/shared/graphql/introspection-internal.json +15845 -0
- package/shared/graphql/introspection-public.json +9658 -0
- package/shared/graphql/introspection.json +44263 -0
- package/shared/graphql/operations/ai-service.graphql +131 -0
- package/shared/graphql/operations/ai-work-queue.graphql +31 -0
- package/shared/graphql/operations/analytics.graphql +283 -0
- package/shared/graphql/operations/analytics.ts +3 -0
- package/shared/graphql/operations/api-keys.graphql +126 -0
- package/shared/graphql/operations/attachments.graphql +53 -0
- package/shared/graphql/operations/attachments.ts +39 -0
- package/shared/graphql/operations/audit.graphql +46 -0
- package/shared/graphql/operations/auth.graphql +83 -0
- package/shared/graphql/operations/claude-usage.graphql +178 -0
- package/shared/graphql/operations/comments.graphql +4 -0
- package/shared/graphql/operations/dashboard.graphql +29 -0
- package/shared/graphql/operations/development-plans.graphql +408 -0
- package/shared/graphql/operations/early-access.graphql.disabled +21 -0
- package/shared/graphql/operations/errors.graphql.disabled +83 -0
- package/shared/graphql/operations/internal-api.graphql +931 -0
- package/shared/graphql/operations/notifications.graphql +4 -0
- package/shared/graphql/operations/organization-invites.graphql.disabled +32 -0
- package/shared/graphql/operations/performance.graphql +4 -0
- package/shared/graphql/operations/project-reviews.graphql +610 -0
- package/shared/graphql/operations/projects.graphql +98 -0
- package/shared/graphql/operations/settings.graphql +4 -0
- package/shared/graphql/operations/stories.graphql +113 -0
- package/shared/graphql/operations/subscriptions.graphql +235 -0
- package/shared/graphql/operations/subscriptions.graphql.disabled +96 -0
- package/shared/graphql/operations/tasks.graphql +257 -0
- package/shared/graphql/operations/team.graphql +111 -0
- package/shared/graphql/operations/team.ts +226 -0
- package/shared/graphql/operations/time-tracking.graphql.disabled +96 -0
- package/shared/graphql/operations/work-queue.graphql +210 -0
- package/shared/graphql/operations/work-queue.graphql.disabled +474 -0
- package/shared/graphql/operations/workspace.graphql +146 -0
- package/shared/graphql/schema-internal.graphql +1085 -0
- package/shared/graphql/schema-public.graphql +709 -0
- package/shared/graphql/schema.graphql +3473 -0
- package/shared/package.json +23 -0
- package/web/README.md +68 -0
|
@@ -0,0 +1,3629 @@
|
|
|
1
|
+
import { DocumentNode } from 'graphql';
|
|
2
|
+
import * as Apollo from '@apollo/client';
|
|
3
|
+
export type Maybe<T> = T | null;
|
|
4
|
+
export type InputMaybe<T> = Maybe<T>;
|
|
5
|
+
export type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] };
|
|
6
|
+
export type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> };
|
|
7
|
+
export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> };
|
|
8
|
+
export type MakeEmpty<T extends { [key: string]: unknown }, K extends keyof T> = { [_ in K]?: never };
|
|
9
|
+
export type Incremental<T> = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never };
|
|
10
|
+
const defaultOptions = {} as const;
|
|
11
|
+
/** All built-in and custom scalars, mapped to their actual values */
|
|
12
|
+
export type Scalars = {
|
|
13
|
+
ID: { input: string; output: string; }
|
|
14
|
+
String: { input: string; output: string; }
|
|
15
|
+
Boolean: { input: boolean; output: boolean; }
|
|
16
|
+
Int: { input: number; output: number; }
|
|
17
|
+
Float: { input: number; output: number; }
|
|
18
|
+
/** A date-time string at UTC, such as 2007-12-03T10:15:30Z, compliant with the `date-time` format outlined in section 5.6 of the RFC 3339 profile of the ISO 8601 standard for representation of dates and times using the Gregorian calendar.This scalar is serialized to a string in ISO 8601 format and parsed from a string in ISO 8601 format. */
|
|
19
|
+
DateTimeISO: { input: string; output: string; }
|
|
20
|
+
/** The `JSONObject` scalar type represents JSON objects as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf). */
|
|
21
|
+
JSONObject: { input: any; output: any; }
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
export enum AiWorkType {
|
|
25
|
+
CODE_REVIEW = 'CODE_REVIEW',
|
|
26
|
+
IMPLEMENTATION_PLAN = 'IMPLEMENTATION_PLAN',
|
|
27
|
+
PROJECT_REVIEW = 'PROJECT_REVIEW',
|
|
28
|
+
REVIEW_APPLICATION = 'REVIEW_APPLICATION',
|
|
29
|
+
STORY_IMPLEMENTATION = 'STORY_IMPLEMENTATION',
|
|
30
|
+
TASK_COMPLETION = 'TASK_COMPLETION'
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export type AiWorker = {
|
|
34
|
+
__typename: 'AIWorker';
|
|
35
|
+
accessibleServices: Array<Scalars['String']['output']>;
|
|
36
|
+
accessibleWorkspaces: Array<Scalars['String']['output']>;
|
|
37
|
+
canAcceptWork: Scalars['Boolean']['output'];
|
|
38
|
+
capabilities: Array<AiWorkType>;
|
|
39
|
+
createdAt: Scalars['DateTimeISO']['output'];
|
|
40
|
+
createdBy: Maybe<Scalars['String']['output']>;
|
|
41
|
+
currentTaskCount: Scalars['Int']['output'];
|
|
42
|
+
healthMetrics: Maybe<Scalars['JSONObject']['output']>;
|
|
43
|
+
id: Scalars['ID']['output'];
|
|
44
|
+
isAvailable: Scalars['Boolean']['output'];
|
|
45
|
+
isHealthy: Scalars['Boolean']['output'];
|
|
46
|
+
lastActivity: Maybe<Scalars['DateTimeISO']['output']>;
|
|
47
|
+
lastHeartbeat: Maybe<Scalars['DateTimeISO']['output']>;
|
|
48
|
+
maxConcurrentTasks: Scalars['Int']['output'];
|
|
49
|
+
metadata: Maybe<Scalars['JSONObject']['output']>;
|
|
50
|
+
project: Maybe<Project>;
|
|
51
|
+
resourceLimits: Maybe<Scalars['JSONObject']['output']>;
|
|
52
|
+
scope: WorkerScope;
|
|
53
|
+
scopeId: Scalars['String']['output'];
|
|
54
|
+
status: AiWorkerStatus;
|
|
55
|
+
team: Maybe<Team>;
|
|
56
|
+
updatedAt: Scalars['DateTimeISO']['output'];
|
|
57
|
+
updatedBy: Maybe<Scalars['String']['output']>;
|
|
58
|
+
uptimeSeconds: Scalars['Int']['output'];
|
|
59
|
+
user: Maybe<User>;
|
|
60
|
+
utilizationPercentage: Scalars['Float']['output'];
|
|
61
|
+
workerId: Scalars['String']['output'];
|
|
62
|
+
workerName: Scalars['String']['output'];
|
|
63
|
+
};
|
|
64
|
+
|
|
65
|
+
export enum AiWorkerStatus {
|
|
66
|
+
ACTIVE = 'ACTIVE',
|
|
67
|
+
BUSY = 'BUSY',
|
|
68
|
+
DEGRADED = 'DEGRADED',
|
|
69
|
+
DISCONNECTED = 'DISCONNECTED',
|
|
70
|
+
ERROR = 'ERROR',
|
|
71
|
+
IDLE = 'IDLE',
|
|
72
|
+
REGISTERING = 'REGISTERING'
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export type Attachment = {
|
|
76
|
+
__typename: 'Attachment';
|
|
77
|
+
createdAt: Scalars['DateTimeISO']['output'];
|
|
78
|
+
createdBy: Maybe<Scalars['String']['output']>;
|
|
79
|
+
duration: Maybe<Scalars['Int']['output']>;
|
|
80
|
+
fileExtension: Scalars['String']['output'];
|
|
81
|
+
fileSize: Scalars['Int']['output'];
|
|
82
|
+
fileSizeFormatted: Scalars['String']['output'];
|
|
83
|
+
filename: Scalars['String']['output'];
|
|
84
|
+
height: Maybe<Scalars['Int']['output']>;
|
|
85
|
+
id: Scalars['ID']['output'];
|
|
86
|
+
isAudio: Scalars['Boolean']['output'];
|
|
87
|
+
isDocument: Scalars['Boolean']['output'];
|
|
88
|
+
isImage: Scalars['Boolean']['output'];
|
|
89
|
+
isPublic: Scalars['Boolean']['output'];
|
|
90
|
+
isVideo: Scalars['Boolean']['output'];
|
|
91
|
+
mimeType: Scalars['String']['output'];
|
|
92
|
+
originalFilename: Scalars['String']['output'];
|
|
93
|
+
storageProvider: Scalars['String']['output'];
|
|
94
|
+
story: Maybe<Story>;
|
|
95
|
+
task: Maybe<Task>;
|
|
96
|
+
updatedAt: Scalars['DateTimeISO']['output'];
|
|
97
|
+
updatedBy: Maybe<Scalars['String']['output']>;
|
|
98
|
+
width: Maybe<Scalars['Int']['output']>;
|
|
99
|
+
};
|
|
100
|
+
|
|
101
|
+
export type AuditLogChangeType = {
|
|
102
|
+
__typename: 'AuditLogChangeType';
|
|
103
|
+
from: Scalars['String']['output'];
|
|
104
|
+
to: Scalars['String']['output'];
|
|
105
|
+
};
|
|
106
|
+
|
|
107
|
+
export type AuditLogChangesType = {
|
|
108
|
+
__typename: 'AuditLogChangesType';
|
|
109
|
+
affectedProjects: Maybe<Array<Scalars['String']['output']>>;
|
|
110
|
+
deletedCount: Maybe<Scalars['Int']['output']>;
|
|
111
|
+
description: Maybe<AuditLogChangeType>;
|
|
112
|
+
name: Maybe<AuditLogChangeType>;
|
|
113
|
+
status: Maybe<AuditLogChangeType>;
|
|
114
|
+
};
|
|
115
|
+
|
|
116
|
+
export type AuditLogEntry = {
|
|
117
|
+
__typename: 'AuditLogEntry';
|
|
118
|
+
action: Scalars['String']['output'];
|
|
119
|
+
changes: Maybe<AuditLogChangesType>;
|
|
120
|
+
id: Scalars['String']['output'];
|
|
121
|
+
ipAddress: Scalars['String']['output'];
|
|
122
|
+
organizationId: Scalars['String']['output'];
|
|
123
|
+
organizationName: Scalars['String']['output'];
|
|
124
|
+
resource: Scalars['String']['output'];
|
|
125
|
+
resourceId: Scalars['String']['output'];
|
|
126
|
+
riskScore: Maybe<Scalars['Int']['output']>;
|
|
127
|
+
timestamp: Scalars['DateTimeISO']['output'];
|
|
128
|
+
userAgent: Scalars['String']['output'];
|
|
129
|
+
userEmail: Scalars['String']['output'];
|
|
130
|
+
userId: Scalars['String']['output'];
|
|
131
|
+
};
|
|
132
|
+
|
|
133
|
+
export type AuditLogFilter = {
|
|
134
|
+
action?: InputMaybe<Scalars['String']['input']>;
|
|
135
|
+
endDate?: InputMaybe<Scalars['DateTimeISO']['input']>;
|
|
136
|
+
ipAddress?: InputMaybe<Scalars['String']['input']>;
|
|
137
|
+
minRiskScore?: InputMaybe<Scalars['Int']['input']>;
|
|
138
|
+
organizationId?: InputMaybe<Scalars['String']['input']>;
|
|
139
|
+
resource?: InputMaybe<Scalars['String']['input']>;
|
|
140
|
+
startDate?: InputMaybe<Scalars['DateTimeISO']['input']>;
|
|
141
|
+
userId?: InputMaybe<Scalars['String']['input']>;
|
|
142
|
+
};
|
|
143
|
+
|
|
144
|
+
export type BillingPlan = {
|
|
145
|
+
__typename: 'BillingPlan';
|
|
146
|
+
description: Scalars['String']['output'];
|
|
147
|
+
features: Array<Scalars['String']['output']>;
|
|
148
|
+
id: Scalars['String']['output'];
|
|
149
|
+
isActive: Scalars['Boolean']['output'];
|
|
150
|
+
maxProjects: Scalars['Int']['output'];
|
|
151
|
+
maxStorageGB: Scalars['Int']['output'];
|
|
152
|
+
maxUsers: Scalars['Int']['output'];
|
|
153
|
+
monthlyPrice: Scalars['Float']['output'];
|
|
154
|
+
name: Scalars['String']['output'];
|
|
155
|
+
};
|
|
156
|
+
|
|
157
|
+
export type BillingSubscription = {
|
|
158
|
+
__typename: 'BillingSubscription';
|
|
159
|
+
cancelAtPeriodEnd: Maybe<Scalars['Boolean']['output']>;
|
|
160
|
+
createdAt: Scalars['DateTimeISO']['output'];
|
|
161
|
+
currency: Scalars['String']['output'];
|
|
162
|
+
currentPeriodEnd: Scalars['DateTimeISO']['output'];
|
|
163
|
+
currentPeriodStart: Scalars['DateTimeISO']['output'];
|
|
164
|
+
id: Scalars['String']['output'];
|
|
165
|
+
monthlyAmount: Scalars['Float']['output'];
|
|
166
|
+
organizationId: Scalars['String']['output'];
|
|
167
|
+
planId: Scalars['String']['output'];
|
|
168
|
+
status: Scalars['String']['output'];
|
|
169
|
+
trialEnd: Maybe<Scalars['DateTimeISO']['output']>;
|
|
170
|
+
updatedAt: Scalars['DateTimeISO']['output'];
|
|
171
|
+
};
|
|
172
|
+
|
|
173
|
+
export type BillingUsage = {
|
|
174
|
+
__typename: 'BillingUsage';
|
|
175
|
+
aiAnalysisCount: Scalars['Int']['output'];
|
|
176
|
+
apiRequestCount: Scalars['Int']['output'];
|
|
177
|
+
billingPeriod: Scalars['String']['output'];
|
|
178
|
+
organizationId: Scalars['String']['output'];
|
|
179
|
+
overage: Scalars['Float']['output'];
|
|
180
|
+
projectCount: Scalars['Int']['output'];
|
|
181
|
+
storageUsageGB: Scalars['Float']['output'];
|
|
182
|
+
userCount: Scalars['Int']['output'];
|
|
183
|
+
};
|
|
184
|
+
|
|
185
|
+
export type Comment = {
|
|
186
|
+
__typename: 'Comment';
|
|
187
|
+
content: Scalars['String']['output'];
|
|
188
|
+
contentHtml: Maybe<Scalars['String']['output']>;
|
|
189
|
+
createdAt: Scalars['DateTimeISO']['output'];
|
|
190
|
+
createdBy: Maybe<Scalars['String']['output']>;
|
|
191
|
+
editedAt: Maybe<Scalars['DateTimeISO']['output']>;
|
|
192
|
+
hasReplies: Scalars['Boolean']['output'];
|
|
193
|
+
id: Scalars['ID']['output'];
|
|
194
|
+
isEdited: Scalars['Boolean']['output'];
|
|
195
|
+
isReply: Scalars['Boolean']['output'];
|
|
196
|
+
isTopLevel: Scalars['Boolean']['output'];
|
|
197
|
+
parentComment: Maybe<Comment>;
|
|
198
|
+
replies: Array<Comment>;
|
|
199
|
+
replyCount: Scalars['Int']['output'];
|
|
200
|
+
story: Maybe<Story>;
|
|
201
|
+
task: Maybe<Task>;
|
|
202
|
+
threadDepth: Scalars['Int']['output'];
|
|
203
|
+
updatedAt: Scalars['DateTimeISO']['output'];
|
|
204
|
+
updatedBy: Maybe<Scalars['String']['output']>;
|
|
205
|
+
};
|
|
206
|
+
|
|
207
|
+
export type CreateBillingPlanInput = {
|
|
208
|
+
description: Scalars['String']['input'];
|
|
209
|
+
features: Array<Scalars['String']['input']>;
|
|
210
|
+
maxProjects: Scalars['Int']['input'];
|
|
211
|
+
maxStorageGB: Scalars['Int']['input'];
|
|
212
|
+
maxUsers: Scalars['Int']['input'];
|
|
213
|
+
monthlyPrice: Scalars['Float']['input'];
|
|
214
|
+
name: Scalars['String']['input'];
|
|
215
|
+
};
|
|
216
|
+
|
|
217
|
+
export type CreateInviteFromEarlyAccessInput = {
|
|
218
|
+
earlyAccessId: Scalars['String']['input'];
|
|
219
|
+
expiresInDays?: InputMaybe<Scalars['Int']['input']>;
|
|
220
|
+
message?: InputMaybe<Scalars['String']['input']>;
|
|
221
|
+
suggestedOrgName?: InputMaybe<Scalars['String']['input']>;
|
|
222
|
+
suggestedSubdomain?: InputMaybe<Scalars['String']['input']>;
|
|
223
|
+
};
|
|
224
|
+
|
|
225
|
+
export type CreateOrganizationInput = {
|
|
226
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
227
|
+
name: Scalars['String']['input'];
|
|
228
|
+
ownerEmail: Scalars['String']['input'];
|
|
229
|
+
settings?: InputMaybe<Scalars['JSONObject']['input']>;
|
|
230
|
+
subdomain: Scalars['String']['input'];
|
|
231
|
+
};
|
|
232
|
+
|
|
233
|
+
export type DatabaseColumn = {
|
|
234
|
+
__typename: 'DatabaseColumn';
|
|
235
|
+
characterMaximumLength: Maybe<Scalars['Int']['output']>;
|
|
236
|
+
columnDefault: Maybe<Scalars['String']['output']>;
|
|
237
|
+
columnName: Scalars['String']['output'];
|
|
238
|
+
dataType: Scalars['String']['output'];
|
|
239
|
+
isNullable: Scalars['Boolean']['output'];
|
|
240
|
+
numericPrecision: Maybe<Scalars['Int']['output']>;
|
|
241
|
+
numericScale: Maybe<Scalars['Int']['output']>;
|
|
242
|
+
ordinalPosition: Scalars['Int']['output'];
|
|
243
|
+
};
|
|
244
|
+
|
|
245
|
+
export type DatabaseSchema = {
|
|
246
|
+
__typename: 'DatabaseSchema';
|
|
247
|
+
databaseName: Scalars['String']['output'];
|
|
248
|
+
exportedAt: Scalars['DateTimeISO']['output'];
|
|
249
|
+
schemaVersion: Scalars['String']['output'];
|
|
250
|
+
tables: Array<DatabaseTable>;
|
|
251
|
+
totalColumns: Scalars['Int']['output'];
|
|
252
|
+
totalTables: Scalars['Int']['output'];
|
|
253
|
+
};
|
|
254
|
+
|
|
255
|
+
export type DatabaseTable = {
|
|
256
|
+
__typename: 'DatabaseTable';
|
|
257
|
+
columns: Array<DatabaseColumn>;
|
|
258
|
+
foreignKeys: Array<Scalars['String']['output']>;
|
|
259
|
+
indexSize: Scalars['String']['output'];
|
|
260
|
+
indexes: Array<Scalars['String']['output']>;
|
|
261
|
+
primaryKeys: Array<Scalars['String']['output']>;
|
|
262
|
+
rowCount: Scalars['Int']['output'];
|
|
263
|
+
tableName: Scalars['String']['output'];
|
|
264
|
+
tableSchema: Scalars['String']['output'];
|
|
265
|
+
tableSize: Scalars['String']['output'];
|
|
266
|
+
totalSize: Scalars['String']['output'];
|
|
267
|
+
};
|
|
268
|
+
|
|
269
|
+
export type EarlyAccessRegistration = {
|
|
270
|
+
__typename: 'EarlyAccessRegistration';
|
|
271
|
+
acceptedTerms: Scalars['Boolean']['output'];
|
|
272
|
+
ageVerified: Scalars['Boolean']['output'];
|
|
273
|
+
aiTools: Array<Scalars['String']['output']>;
|
|
274
|
+
comments: Maybe<Scalars['String']['output']>;
|
|
275
|
+
companyName: Maybe<Scalars['String']['output']>;
|
|
276
|
+
contactName: Maybe<Scalars['String']['output']>;
|
|
277
|
+
createdAt: Scalars['DateTimeISO']['output'];
|
|
278
|
+
createdBy: Maybe<Scalars['String']['output']>;
|
|
279
|
+
currentTools: Array<Scalars['String']['output']>;
|
|
280
|
+
email: Scalars['String']['output'];
|
|
281
|
+
id: Scalars['ID']['output'];
|
|
282
|
+
inviteSentAt: Maybe<Scalars['DateTimeISO']['output']>;
|
|
283
|
+
inviteToken: Maybe<Scalars['String']['output']>;
|
|
284
|
+
notes: Maybe<Scalars['String']['output']>;
|
|
285
|
+
organizationInviteId: Maybe<Scalars['String']['output']>;
|
|
286
|
+
painPoints: Array<Scalars['String']['output']>;
|
|
287
|
+
primaryLanguages: Array<Scalars['String']['output']>;
|
|
288
|
+
projectTypes: Array<Scalars['String']['output']>;
|
|
289
|
+
repoStructure: Maybe<Scalars['String']['output']>;
|
|
290
|
+
role: Maybe<Scalars['String']['output']>;
|
|
291
|
+
serviceCount: Maybe<Scalars['String']['output']>;
|
|
292
|
+
status: Scalars['String']['output'];
|
|
293
|
+
subscribeToNewsletter: Maybe<Scalars['Boolean']['output']>;
|
|
294
|
+
teamSize: Maybe<Scalars['String']['output']>;
|
|
295
|
+
updatedAt: Scalars['DateTimeISO']['output'];
|
|
296
|
+
updatedBy: Maybe<Scalars['String']['output']>;
|
|
297
|
+
};
|
|
298
|
+
|
|
299
|
+
export type EarlyAccessRegistrationInput = {
|
|
300
|
+
aiTools: Array<Scalars['String']['input']>;
|
|
301
|
+
comments?: InputMaybe<Scalars['String']['input']>;
|
|
302
|
+
companyName?: InputMaybe<Scalars['String']['input']>;
|
|
303
|
+
contactName?: InputMaybe<Scalars['String']['input']>;
|
|
304
|
+
currentTools: Array<Scalars['String']['input']>;
|
|
305
|
+
email: Scalars['String']['input'];
|
|
306
|
+
painPoints: Array<Scalars['String']['input']>;
|
|
307
|
+
primaryLanguages: Array<Scalars['String']['input']>;
|
|
308
|
+
projectTypes: Array<Scalars['String']['input']>;
|
|
309
|
+
repoStructure?: InputMaybe<Scalars['String']['input']>;
|
|
310
|
+
role?: InputMaybe<Scalars['String']['input']>;
|
|
311
|
+
serviceCount?: InputMaybe<Scalars['String']['input']>;
|
|
312
|
+
teamSize?: InputMaybe<Scalars['String']['input']>;
|
|
313
|
+
};
|
|
314
|
+
|
|
315
|
+
export type FeatureFlag = {
|
|
316
|
+
__typename: 'FeatureFlag';
|
|
317
|
+
createdAt: Scalars['DateTimeISO']['output'];
|
|
318
|
+
description: Scalars['String']['output'];
|
|
319
|
+
enabled: Scalars['Boolean']['output'];
|
|
320
|
+
enabledOrganizations: Array<Scalars['String']['output']>;
|
|
321
|
+
name: Scalars['String']['output'];
|
|
322
|
+
rolloutPercentage: Scalars['Int']['output'];
|
|
323
|
+
updatedAt: Scalars['DateTimeISO']['output'];
|
|
324
|
+
};
|
|
325
|
+
|
|
326
|
+
export type InviteResponse = {
|
|
327
|
+
__typename: 'InviteResponse';
|
|
328
|
+
error: Maybe<Scalars['String']['output']>;
|
|
329
|
+
inviteToken: Maybe<Scalars['String']['output']>;
|
|
330
|
+
inviteUrl: Maybe<Scalars['String']['output']>;
|
|
331
|
+
success: Scalars['Boolean']['output'];
|
|
332
|
+
};
|
|
333
|
+
|
|
334
|
+
export type Invoice = {
|
|
335
|
+
__typename: 'Invoice';
|
|
336
|
+
amount: Scalars['Float']['output'];
|
|
337
|
+
createdAt: Scalars['DateTimeISO']['output'];
|
|
338
|
+
currency: Scalars['String']['output'];
|
|
339
|
+
dueDate: Scalars['DateTimeISO']['output'];
|
|
340
|
+
id: Scalars['String']['output'];
|
|
341
|
+
invoiceNumber: Scalars['String']['output'];
|
|
342
|
+
lineItems: Array<InvoiceLineItem>;
|
|
343
|
+
organizationId: Scalars['String']['output'];
|
|
344
|
+
paidAt: Maybe<Scalars['DateTimeISO']['output']>;
|
|
345
|
+
status: Scalars['String']['output'];
|
|
346
|
+
subscriptionId: Scalars['String']['output'];
|
|
347
|
+
};
|
|
348
|
+
|
|
349
|
+
export type InvoiceLineItem = {
|
|
350
|
+
__typename: 'InvoiceLineItem';
|
|
351
|
+
amount: Scalars['Float']['output'];
|
|
352
|
+
description: Scalars['String']['output'];
|
|
353
|
+
quantity: Scalars['Int']['output'];
|
|
354
|
+
unitPrice: Scalars['Float']['output'];
|
|
355
|
+
};
|
|
356
|
+
|
|
357
|
+
export type LoginInput = {
|
|
358
|
+
email: Scalars['String']['input'];
|
|
359
|
+
password: Scalars['String']['input'];
|
|
360
|
+
};
|
|
361
|
+
|
|
362
|
+
export type LoginPayload = {
|
|
363
|
+
__typename: 'LoginPayload';
|
|
364
|
+
expiresIn: Scalars['String']['output'];
|
|
365
|
+
refreshToken: Maybe<Scalars['String']['output']>;
|
|
366
|
+
token: Scalars['String']['output'];
|
|
367
|
+
tokenType: Scalars['String']['output'];
|
|
368
|
+
user: User;
|
|
369
|
+
};
|
|
370
|
+
|
|
371
|
+
export type MaintenanceWindow = {
|
|
372
|
+
__typename: 'MaintenanceWindow';
|
|
373
|
+
affectedServices: Scalars['String']['output'];
|
|
374
|
+
createdBy: Scalars['String']['output'];
|
|
375
|
+
description: Scalars['String']['output'];
|
|
376
|
+
id: Scalars['String']['output'];
|
|
377
|
+
notifyUsers: Scalars['Boolean']['output'];
|
|
378
|
+
scheduledEnd: Scalars['DateTimeISO']['output'];
|
|
379
|
+
scheduledStart: Scalars['DateTimeISO']['output'];
|
|
380
|
+
status: Scalars['String']['output'];
|
|
381
|
+
title: Scalars['String']['output'];
|
|
382
|
+
};
|
|
383
|
+
|
|
384
|
+
export type Mutation = {
|
|
385
|
+
__typename: 'Mutation';
|
|
386
|
+
activateOrganization: Scalars['Boolean']['output'];
|
|
387
|
+
addUserToOrganization: UserOrganization;
|
|
388
|
+
cancelSubscription: Scalars['Boolean']['output'];
|
|
389
|
+
clearAllCaches: Scalars['Boolean']['output'];
|
|
390
|
+
createBillingPlan: BillingPlan;
|
|
391
|
+
createEarlyAccessRegistration: EarlyAccessRegistration;
|
|
392
|
+
createInviteFromEarlyAccess: InviteResponse;
|
|
393
|
+
createOrganization: Organization;
|
|
394
|
+
deleteOrganization: Scalars['Boolean']['output'];
|
|
395
|
+
disableUser: Scalars['Boolean']['output'];
|
|
396
|
+
executeDatabaseMaintenance: Scalars['Boolean']['output'];
|
|
397
|
+
forceGarbageCollection: Scalars['Boolean']['output'];
|
|
398
|
+
generateInviteToken: InviteResponse;
|
|
399
|
+
platformLogin: LoginPayload;
|
|
400
|
+
removeUserFromOrganization: Scalars['Boolean']['output'];
|
|
401
|
+
scheduleMaintenanceWindow: MaintenanceWindow;
|
|
402
|
+
suspendOrganization: Scalars['Boolean']['output'];
|
|
403
|
+
updateEarlyAccessRegistration: Maybe<EarlyAccessRegistration>;
|
|
404
|
+
updateFeatureFlag: FeatureFlag;
|
|
405
|
+
updateOrganization: Organization;
|
|
406
|
+
updateSubscription: BillingSubscription;
|
|
407
|
+
updateUser: User;
|
|
408
|
+
updateUserOrganizationRole: UserOrganization;
|
|
409
|
+
};
|
|
410
|
+
|
|
411
|
+
|
|
412
|
+
export type MutationActivateOrganizationArgs = {
|
|
413
|
+
id: Scalars['String']['input'];
|
|
414
|
+
};
|
|
415
|
+
|
|
416
|
+
|
|
417
|
+
export type MutationAddUserToOrganizationArgs = {
|
|
418
|
+
input: UserOrganizationMembershipInput;
|
|
419
|
+
};
|
|
420
|
+
|
|
421
|
+
|
|
422
|
+
export type MutationCancelSubscriptionArgs = {
|
|
423
|
+
cancelAtPeriodEnd?: Scalars['Boolean']['input'];
|
|
424
|
+
organizationId: Scalars['String']['input'];
|
|
425
|
+
};
|
|
426
|
+
|
|
427
|
+
|
|
428
|
+
export type MutationCreateBillingPlanArgs = {
|
|
429
|
+
input: CreateBillingPlanInput;
|
|
430
|
+
};
|
|
431
|
+
|
|
432
|
+
|
|
433
|
+
export type MutationCreateEarlyAccessRegistrationArgs = {
|
|
434
|
+
input: EarlyAccessRegistrationInput;
|
|
435
|
+
};
|
|
436
|
+
|
|
437
|
+
|
|
438
|
+
export type MutationCreateInviteFromEarlyAccessArgs = {
|
|
439
|
+
input: CreateInviteFromEarlyAccessInput;
|
|
440
|
+
};
|
|
441
|
+
|
|
442
|
+
|
|
443
|
+
export type MutationCreateOrganizationArgs = {
|
|
444
|
+
input: CreateOrganizationInput;
|
|
445
|
+
};
|
|
446
|
+
|
|
447
|
+
|
|
448
|
+
export type MutationDeleteOrganizationArgs = {
|
|
449
|
+
confirmPhrase: Scalars['String']['input'];
|
|
450
|
+
id: Scalars['String']['input'];
|
|
451
|
+
};
|
|
452
|
+
|
|
453
|
+
|
|
454
|
+
export type MutationDisableUserArgs = {
|
|
455
|
+
id: Scalars['String']['input'];
|
|
456
|
+
reason?: InputMaybe<Scalars['String']['input']>;
|
|
457
|
+
};
|
|
458
|
+
|
|
459
|
+
|
|
460
|
+
export type MutationExecuteDatabaseMaintenanceArgs = {
|
|
461
|
+
operation: Scalars['String']['input'];
|
|
462
|
+
};
|
|
463
|
+
|
|
464
|
+
|
|
465
|
+
export type MutationGenerateInviteTokenArgs = {
|
|
466
|
+
earlyAccessId: Scalars['String']['input'];
|
|
467
|
+
};
|
|
468
|
+
|
|
469
|
+
|
|
470
|
+
export type MutationPlatformLoginArgs = {
|
|
471
|
+
input: LoginInput;
|
|
472
|
+
};
|
|
473
|
+
|
|
474
|
+
|
|
475
|
+
export type MutationRemoveUserFromOrganizationArgs = {
|
|
476
|
+
organizationId: Scalars['String']['input'];
|
|
477
|
+
userId: Scalars['String']['input'];
|
|
478
|
+
};
|
|
479
|
+
|
|
480
|
+
|
|
481
|
+
export type MutationScheduleMaintenanceWindowArgs = {
|
|
482
|
+
affectedServices: Scalars['String']['input'];
|
|
483
|
+
description: Scalars['String']['input'];
|
|
484
|
+
notifyUsers?: Scalars['Boolean']['input'];
|
|
485
|
+
scheduledEnd: Scalars['DateTimeISO']['input'];
|
|
486
|
+
scheduledStart: Scalars['DateTimeISO']['input'];
|
|
487
|
+
title: Scalars['String']['input'];
|
|
488
|
+
};
|
|
489
|
+
|
|
490
|
+
|
|
491
|
+
export type MutationSuspendOrganizationArgs = {
|
|
492
|
+
id: Scalars['String']['input'];
|
|
493
|
+
reason?: InputMaybe<Scalars['String']['input']>;
|
|
494
|
+
};
|
|
495
|
+
|
|
496
|
+
|
|
497
|
+
export type MutationUpdateEarlyAccessRegistrationArgs = {
|
|
498
|
+
id: Scalars['String']['input'];
|
|
499
|
+
input: UpdateEarlyAccessRegistrationInput;
|
|
500
|
+
};
|
|
501
|
+
|
|
502
|
+
|
|
503
|
+
export type MutationUpdateFeatureFlagArgs = {
|
|
504
|
+
enabled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
505
|
+
enabledOrganizations?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
506
|
+
name: Scalars['String']['input'];
|
|
507
|
+
rolloutPercentage?: InputMaybe<Scalars['Int']['input']>;
|
|
508
|
+
};
|
|
509
|
+
|
|
510
|
+
|
|
511
|
+
export type MutationUpdateOrganizationArgs = {
|
|
512
|
+
id: Scalars['String']['input'];
|
|
513
|
+
input: UpdateOrganizationInput;
|
|
514
|
+
};
|
|
515
|
+
|
|
516
|
+
|
|
517
|
+
export type MutationUpdateSubscriptionArgs = {
|
|
518
|
+
input: UpdateSubscriptionInput;
|
|
519
|
+
organizationId: Scalars['String']['input'];
|
|
520
|
+
};
|
|
521
|
+
|
|
522
|
+
|
|
523
|
+
export type MutationUpdateUserArgs = {
|
|
524
|
+
id: Scalars['String']['input'];
|
|
525
|
+
input: UpdateUserInput;
|
|
526
|
+
};
|
|
527
|
+
|
|
528
|
+
|
|
529
|
+
export type MutationUpdateUserOrganizationRoleArgs = {
|
|
530
|
+
organizationId: Scalars['String']['input'];
|
|
531
|
+
role: OrganizationRole;
|
|
532
|
+
userId: Scalars['String']['input'];
|
|
533
|
+
};
|
|
534
|
+
|
|
535
|
+
export type Organization = {
|
|
536
|
+
__typename: 'Organization';
|
|
537
|
+
createdAt: Scalars['DateTimeISO']['output'];
|
|
538
|
+
createdBy: Maybe<Scalars['String']['output']>;
|
|
539
|
+
deletedAt: Maybe<Scalars['DateTimeISO']['output']>;
|
|
540
|
+
description: Maybe<Scalars['String']['output']>;
|
|
541
|
+
fullDomain: Scalars['String']['output'];
|
|
542
|
+
id: Scalars['ID']['output'];
|
|
543
|
+
isActive: Scalars['Boolean']['output'];
|
|
544
|
+
name: Scalars['String']['output'];
|
|
545
|
+
settings: Maybe<Scalars['JSONObject']['output']>;
|
|
546
|
+
status: OrganizationStatus;
|
|
547
|
+
subdomain: Scalars['String']['output'];
|
|
548
|
+
updatedAt: Scalars['DateTimeISO']['output'];
|
|
549
|
+
updatedBy: Maybe<Scalars['String']['output']>;
|
|
550
|
+
};
|
|
551
|
+
|
|
552
|
+
export type OrganizationGrowthData = {
|
|
553
|
+
__typename: 'OrganizationGrowthData';
|
|
554
|
+
activeOrganizations: Scalars['Int']['output'];
|
|
555
|
+
date: Scalars['String']['output'];
|
|
556
|
+
newOrganizations: Scalars['Int']['output'];
|
|
557
|
+
suspendedOrganizations: Scalars['Int']['output'];
|
|
558
|
+
};
|
|
559
|
+
|
|
560
|
+
export type OrganizationRanking = {
|
|
561
|
+
__typename: 'OrganizationRanking';
|
|
562
|
+
activityScore: Scalars['Float']['output'];
|
|
563
|
+
organization: Organization;
|
|
564
|
+
projectCount: Scalars['Int']['output'];
|
|
565
|
+
userCount: Scalars['Int']['output'];
|
|
566
|
+
};
|
|
567
|
+
|
|
568
|
+
export enum OrganizationRole {
|
|
569
|
+
ADMIN = 'ADMIN',
|
|
570
|
+
MEMBER = 'MEMBER',
|
|
571
|
+
OWNER = 'OWNER',
|
|
572
|
+
VIEWER = 'VIEWER'
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
export type OrganizationStats = {
|
|
576
|
+
__typename: 'OrganizationStats';
|
|
577
|
+
monthlyApiCalls: Maybe<Scalars['Int']['output']>;
|
|
578
|
+
projectCount: Scalars['Int']['output'];
|
|
579
|
+
storageUsageGB: Maybe<Scalars['Int']['output']>;
|
|
580
|
+
storyCount: Maybe<Scalars['Int']['output']>;
|
|
581
|
+
taskCount: Maybe<Scalars['Int']['output']>;
|
|
582
|
+
userCount: Scalars['Int']['output'];
|
|
583
|
+
};
|
|
584
|
+
|
|
585
|
+
export enum OrganizationStatus {
|
|
586
|
+
ACTIVE = 'ACTIVE',
|
|
587
|
+
ARCHIVED = 'ARCHIVED',
|
|
588
|
+
DELETED = 'DELETED',
|
|
589
|
+
SUSPENDED = 'SUSPENDED'
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
export type OrganizationSubscription = {
|
|
593
|
+
__typename: 'OrganizationSubscription';
|
|
594
|
+
currency: Maybe<Scalars['String']['output']>;
|
|
595
|
+
currentPeriodEnd: Scalars['DateTimeISO']['output'];
|
|
596
|
+
currentPeriodStart: Scalars['DateTimeISO']['output'];
|
|
597
|
+
id: Scalars['String']['output'];
|
|
598
|
+
monthlyAmount: Scalars['Int']['output'];
|
|
599
|
+
planId: Scalars['String']['output'];
|
|
600
|
+
status: Scalars['String']['output'];
|
|
601
|
+
trialEnd: Maybe<Scalars['DateTimeISO']['output']>;
|
|
602
|
+
};
|
|
603
|
+
|
|
604
|
+
export type OrganizationWithDetails = {
|
|
605
|
+
__typename: 'OrganizationWithDetails';
|
|
606
|
+
createdAt: Scalars['DateTimeISO']['output'];
|
|
607
|
+
createdBy: Maybe<Scalars['String']['output']>;
|
|
608
|
+
deletedAt: Maybe<Scalars['DateTimeISO']['output']>;
|
|
609
|
+
description: Maybe<Scalars['String']['output']>;
|
|
610
|
+
fullDomain: Scalars['String']['output'];
|
|
611
|
+
id: Scalars['ID']['output'];
|
|
612
|
+
isActive: Scalars['Boolean']['output'];
|
|
613
|
+
name: Scalars['String']['output'];
|
|
614
|
+
owner: Maybe<User>;
|
|
615
|
+
recentProjects: Array<Project>;
|
|
616
|
+
settings: Maybe<Scalars['JSONObject']['output']>;
|
|
617
|
+
stats: OrganizationStats;
|
|
618
|
+
status: OrganizationStatus;
|
|
619
|
+
subdomain: Scalars['String']['output'];
|
|
620
|
+
subscription: Maybe<OrganizationSubscription>;
|
|
621
|
+
updatedAt: Scalars['DateTimeISO']['output'];
|
|
622
|
+
updatedBy: Maybe<Scalars['String']['output']>;
|
|
623
|
+
users: Array<User>;
|
|
624
|
+
};
|
|
625
|
+
|
|
626
|
+
export type Phase = {
|
|
627
|
+
__typename: 'Phase';
|
|
628
|
+
allStoriesComplete: Scalars['Boolean']['output'];
|
|
629
|
+
completedAt: Maybe<Scalars['DateTimeISO']['output']>;
|
|
630
|
+
completedStories: Scalars['Int']['output'];
|
|
631
|
+
createdAt: Scalars['DateTimeISO']['output'];
|
|
632
|
+
createdBy: Maybe<Scalars['String']['output']>;
|
|
633
|
+
description: Maybe<Scalars['String']['output']>;
|
|
634
|
+
id: Scalars['ID']['output'];
|
|
635
|
+
isCompleted: Scalars['Boolean']['output'];
|
|
636
|
+
name: Scalars['String']['output'];
|
|
637
|
+
orderIndex: Scalars['Int']['output'];
|
|
638
|
+
progressPercentage: Scalars['Int']['output'];
|
|
639
|
+
project: Project;
|
|
640
|
+
stories: Array<Story>;
|
|
641
|
+
totalStories: Scalars['Int']['output'];
|
|
642
|
+
updatedAt: Scalars['DateTimeISO']['output'];
|
|
643
|
+
updatedBy: Maybe<Scalars['String']['output']>;
|
|
644
|
+
};
|
|
645
|
+
|
|
646
|
+
export enum PlatformRole {
|
|
647
|
+
AGENT_ADMIN = 'AGENT_ADMIN',
|
|
648
|
+
AGENT_REVIEWER = 'AGENT_REVIEWER',
|
|
649
|
+
AUDIT_VIEWER = 'AUDIT_VIEWER',
|
|
650
|
+
BILLING_ADMIN = 'BILLING_ADMIN',
|
|
651
|
+
SUPER_ADMIN = 'SUPER_ADMIN',
|
|
652
|
+
SUPPORT = 'SUPPORT'
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
export type PlatformRoleInfo = {
|
|
656
|
+
__typename: 'PlatformRoleInfo';
|
|
657
|
+
assignedAt: Scalars['DateTimeISO']['output'];
|
|
658
|
+
id: Scalars['String']['output'];
|
|
659
|
+
isActive: Scalars['Boolean']['output'];
|
|
660
|
+
role: PlatformRole;
|
|
661
|
+
};
|
|
662
|
+
|
|
663
|
+
export type PlatformStats = {
|
|
664
|
+
__typename: 'PlatformStats';
|
|
665
|
+
activeOrganizations: Scalars['Int']['output'];
|
|
666
|
+
activeUsers: Scalars['Int']['output'];
|
|
667
|
+
avgProjectsPerOrganization: Scalars['Float']['output'];
|
|
668
|
+
avgUsersPerOrganization: Scalars['Float']['output'];
|
|
669
|
+
completedTasks: Scalars['Int']['output'];
|
|
670
|
+
totalOrganizations: Scalars['Int']['output'];
|
|
671
|
+
totalProjects: Scalars['Int']['output'];
|
|
672
|
+
totalStories: Scalars['Int']['output'];
|
|
673
|
+
totalTasks: Scalars['Int']['output'];
|
|
674
|
+
totalUsers: Scalars['Int']['output'];
|
|
675
|
+
};
|
|
676
|
+
|
|
677
|
+
export type PlatformUserInfo = {
|
|
678
|
+
__typename: 'PlatformUserInfo';
|
|
679
|
+
canAccessAudits: Scalars['Boolean']['output'];
|
|
680
|
+
canAccessInternal: Scalars['Boolean']['output'];
|
|
681
|
+
canManageBilling: Scalars['Boolean']['output'];
|
|
682
|
+
canSupportOrganizations: Scalars['Boolean']['output'];
|
|
683
|
+
displayName: Scalars['String']['output'];
|
|
684
|
+
email: Scalars['String']['output'];
|
|
685
|
+
firstName: Maybe<Scalars['String']['output']>;
|
|
686
|
+
fullName: Maybe<Scalars['String']['output']>;
|
|
687
|
+
id: Scalars['String']['output'];
|
|
688
|
+
lastName: Maybe<Scalars['String']['output']>;
|
|
689
|
+
permissions: Array<Scalars['String']['output']>;
|
|
690
|
+
platformRoles: Array<PlatformRoleInfo>;
|
|
691
|
+
};
|
|
692
|
+
|
|
693
|
+
export enum PriorityLevel {
|
|
694
|
+
CRITICAL = 'CRITICAL',
|
|
695
|
+
HIGH = 'HIGH',
|
|
696
|
+
LOW = 'LOW',
|
|
697
|
+
MEDIUM = 'MEDIUM'
|
|
698
|
+
}
|
|
699
|
+
|
|
700
|
+
export type Project = {
|
|
701
|
+
__typename: 'Project';
|
|
702
|
+
affectedServices: Array<WorkspaceService>;
|
|
703
|
+
createdAt: Scalars['DateTimeISO']['output'];
|
|
704
|
+
createdBy: Maybe<Scalars['String']['output']>;
|
|
705
|
+
description: Maybe<Scalars['String']['output']>;
|
|
706
|
+
documentationUrl: Maybe<Scalars['String']['output']>;
|
|
707
|
+
healthScore: Maybe<Scalars['Int']['output']>;
|
|
708
|
+
id: Scalars['ID']['output'];
|
|
709
|
+
isActive: Scalars['Boolean']['output'];
|
|
710
|
+
isArchived: Scalars['Boolean']['output'];
|
|
711
|
+
isComplete: Scalars['Boolean']['output'];
|
|
712
|
+
isPublic: Scalars['Boolean']['output'];
|
|
713
|
+
links: Maybe<Scalars['JSONObject']['output']>;
|
|
714
|
+
name: Scalars['String']['output'];
|
|
715
|
+
notes: Array<ProjectNote>;
|
|
716
|
+
organization: Organization;
|
|
717
|
+
phases: Array<Phase>;
|
|
718
|
+
qualityMetrics: Maybe<Scalars['JSONObject']['output']>;
|
|
719
|
+
repositoryUrl: Maybe<Scalars['String']['output']>;
|
|
720
|
+
requirements: Array<ProjectRequirement>;
|
|
721
|
+
reviewHistory: Maybe<Scalars['JSONObject']['output']>;
|
|
722
|
+
riskProfile: Maybe<Scalars['JSONObject']['output']>;
|
|
723
|
+
sprints: Array<Sprint>;
|
|
724
|
+
stage: ProjectStage;
|
|
725
|
+
startDate: Maybe<Scalars['DateTimeISO']['output']>;
|
|
726
|
+
stories: Array<Story>;
|
|
727
|
+
targetCompletionDate: Maybe<Scalars['DateTimeISO']['output']>;
|
|
728
|
+
team: Maybe<Team>;
|
|
729
|
+
updatedAt: Scalars['DateTimeISO']['output'];
|
|
730
|
+
updatedBy: Maybe<Scalars['String']['output']>;
|
|
731
|
+
workspaceConfig: Maybe<Scalars['JSONObject']['output']>;
|
|
732
|
+
workspaces: Array<Workspace>;
|
|
733
|
+
};
|
|
734
|
+
|
|
735
|
+
export type ProjectActivityData = {
|
|
736
|
+
__typename: 'ProjectActivityData';
|
|
737
|
+
date: Scalars['String']['output'];
|
|
738
|
+
projectsCreated: Scalars['Int']['output'];
|
|
739
|
+
storiesCreated: Scalars['Int']['output'];
|
|
740
|
+
tasksCompleted: Scalars['Int']['output'];
|
|
741
|
+
tasksCreated: Scalars['Int']['output'];
|
|
742
|
+
};
|
|
743
|
+
|
|
744
|
+
export type ProjectNote = {
|
|
745
|
+
__typename: 'ProjectNote';
|
|
746
|
+
content: Scalars['String']['output'];
|
|
747
|
+
createdAt: Scalars['DateTimeISO']['output'];
|
|
748
|
+
createdBy: Maybe<Scalars['String']['output']>;
|
|
749
|
+
id: Scalars['ID']['output'];
|
|
750
|
+
isPinned: Scalars['Boolean']['output'];
|
|
751
|
+
project: Project;
|
|
752
|
+
title: Maybe<Scalars['String']['output']>;
|
|
753
|
+
updatedAt: Scalars['DateTimeISO']['output'];
|
|
754
|
+
updatedBy: Maybe<Scalars['String']['output']>;
|
|
755
|
+
};
|
|
756
|
+
|
|
757
|
+
export type ProjectRequirement = {
|
|
758
|
+
__typename: 'ProjectRequirement';
|
|
759
|
+
acceptanceCriteria: Array<Scalars['String']['output']>;
|
|
760
|
+
applicationArea: Maybe<Scalars['String']['output']>;
|
|
761
|
+
createdAt: Scalars['DateTimeISO']['output'];
|
|
762
|
+
createdBy: Maybe<Scalars['String']['output']>;
|
|
763
|
+
description: Scalars['String']['output'];
|
|
764
|
+
id: Scalars['ID']['output'];
|
|
765
|
+
isCompleted: Scalars['Boolean']['output'];
|
|
766
|
+
priority: PriorityLevel;
|
|
767
|
+
project: Project;
|
|
768
|
+
title: Scalars['String']['output'];
|
|
769
|
+
updatedAt: Scalars['DateTimeISO']['output'];
|
|
770
|
+
updatedBy: Maybe<Scalars['String']['output']>;
|
|
771
|
+
};
|
|
772
|
+
|
|
773
|
+
export enum ProjectStage {
|
|
774
|
+
ARCHIVED = 'ARCHIVED',
|
|
775
|
+
COMPLETE = 'COMPLETE',
|
|
776
|
+
DESIGN = 'DESIGN',
|
|
777
|
+
DEVELOPMENT = 'DEVELOPMENT',
|
|
778
|
+
IMPLEMENTATION = 'IMPLEMENTATION',
|
|
779
|
+
REQUIREMENTS = 'REQUIREMENTS'
|
|
780
|
+
}
|
|
781
|
+
|
|
782
|
+
export type Query = {
|
|
783
|
+
__typename: 'Query';
|
|
784
|
+
allOrganizations: Array<Organization>;
|
|
785
|
+
allSubscriptions: Array<BillingSubscription>;
|
|
786
|
+
applicationLogs: Array<Scalars['String']['output']>;
|
|
787
|
+
auditLogs: Array<AuditLogEntry>;
|
|
788
|
+
billingPlans: Array<BillingPlan>;
|
|
789
|
+
complianceReport: Scalars['String']['output'];
|
|
790
|
+
databaseSchema: DatabaseSchema;
|
|
791
|
+
earlyAccessRegistration: Maybe<EarlyAccessRegistration>;
|
|
792
|
+
earlyAccessRegistrationCount: Scalars['Float']['output'];
|
|
793
|
+
earlyAccessRegistrations: Array<EarlyAccessRegistration>;
|
|
794
|
+
featureFlags: Array<FeatureFlag>;
|
|
795
|
+
featureUsageStats: Scalars['String']['output'];
|
|
796
|
+
getUserActivity: Scalars['String']['output'];
|
|
797
|
+
highRiskActivities: Array<AuditLogEntry>;
|
|
798
|
+
maintenanceWindows: Array<MaintenanceWindow>;
|
|
799
|
+
organization: Maybe<OrganizationWithDetails>;
|
|
800
|
+
organizationActivityAudit: Array<AuditLogEntry>;
|
|
801
|
+
organizationGrowthData: Array<OrganizationGrowthData>;
|
|
802
|
+
organizationInvoices: Array<Invoice>;
|
|
803
|
+
organizationSubscription: Maybe<BillingSubscription>;
|
|
804
|
+
organizationUsage: BillingUsage;
|
|
805
|
+
platformMe: Maybe<PlatformUserInfo>;
|
|
806
|
+
platformStats: PlatformStats;
|
|
807
|
+
projectActivityData: Array<ProjectActivityData>;
|
|
808
|
+
revenueAnalytics: Scalars['String']['output'];
|
|
809
|
+
revenueMetrics: Scalars['String']['output'];
|
|
810
|
+
searchUsers: Array<UserWithOrganizations>;
|
|
811
|
+
securityEvents: Array<SecurityEvent>;
|
|
812
|
+
systemHealth: SystemHealthMetrics;
|
|
813
|
+
systemInfo: SystemInfo;
|
|
814
|
+
topOrganizationsByActivity: Array<OrganizationRanking>;
|
|
815
|
+
userActivityAudit: Array<AuditLogEntry>;
|
|
816
|
+
userActivityData: Array<UserActivityData>;
|
|
817
|
+
userDetails: Maybe<UserWithOrganizations>;
|
|
818
|
+
};
|
|
819
|
+
|
|
820
|
+
|
|
821
|
+
export type QueryAllOrganizationsArgs = {
|
|
822
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
823
|
+
offset?: InputMaybe<Scalars['Int']['input']>;
|
|
824
|
+
search?: InputMaybe<Scalars['String']['input']>;
|
|
825
|
+
status?: InputMaybe<OrganizationStatus>;
|
|
826
|
+
};
|
|
827
|
+
|
|
828
|
+
|
|
829
|
+
export type QueryAllSubscriptionsArgs = {
|
|
830
|
+
limit?: Scalars['Int']['input'];
|
|
831
|
+
offset?: Scalars['Int']['input'];
|
|
832
|
+
status?: InputMaybe<Scalars['String']['input']>;
|
|
833
|
+
};
|
|
834
|
+
|
|
835
|
+
|
|
836
|
+
export type QueryApplicationLogsArgs = {
|
|
837
|
+
level?: Scalars['String']['input'];
|
|
838
|
+
limit?: Scalars['Int']['input'];
|
|
839
|
+
since?: InputMaybe<Scalars['DateTimeISO']['input']>;
|
|
840
|
+
};
|
|
841
|
+
|
|
842
|
+
|
|
843
|
+
export type QueryAuditLogsArgs = {
|
|
844
|
+
filter?: InputMaybe<AuditLogFilter>;
|
|
845
|
+
limit?: Scalars['Int']['input'];
|
|
846
|
+
offset?: Scalars['Int']['input'];
|
|
847
|
+
};
|
|
848
|
+
|
|
849
|
+
|
|
850
|
+
export type QueryComplianceReportArgs = {
|
|
851
|
+
endDate: Scalars['DateTimeISO']['input'];
|
|
852
|
+
organizationId?: InputMaybe<Scalars['String']['input']>;
|
|
853
|
+
startDate: Scalars['DateTimeISO']['input'];
|
|
854
|
+
};
|
|
855
|
+
|
|
856
|
+
|
|
857
|
+
export type QueryDatabaseSchemaArgs = {
|
|
858
|
+
includeSystemTables?: Scalars['Boolean']['input'];
|
|
859
|
+
};
|
|
860
|
+
|
|
861
|
+
|
|
862
|
+
export type QueryEarlyAccessRegistrationArgs = {
|
|
863
|
+
id: Scalars['String']['input'];
|
|
864
|
+
};
|
|
865
|
+
|
|
866
|
+
|
|
867
|
+
export type QueryEarlyAccessRegistrationCountArgs = {
|
|
868
|
+
status?: InputMaybe<Scalars['String']['input']>;
|
|
869
|
+
};
|
|
870
|
+
|
|
871
|
+
|
|
872
|
+
export type QueryEarlyAccessRegistrationsArgs = {
|
|
873
|
+
status?: InputMaybe<Scalars['String']['input']>;
|
|
874
|
+
};
|
|
875
|
+
|
|
876
|
+
|
|
877
|
+
export type QueryGetUserActivityArgs = {
|
|
878
|
+
days?: Scalars['Int']['input'];
|
|
879
|
+
userId: Scalars['String']['input'];
|
|
880
|
+
};
|
|
881
|
+
|
|
882
|
+
|
|
883
|
+
export type QueryHighRiskActivitiesArgs = {
|
|
884
|
+
days?: Scalars['Int']['input'];
|
|
885
|
+
limit?: Scalars['Int']['input'];
|
|
886
|
+
minRiskScore?: Scalars['Int']['input'];
|
|
887
|
+
};
|
|
888
|
+
|
|
889
|
+
|
|
890
|
+
export type QueryMaintenanceWindowsArgs = {
|
|
891
|
+
upcoming?: Scalars['Boolean']['input'];
|
|
892
|
+
};
|
|
893
|
+
|
|
894
|
+
|
|
895
|
+
export type QueryOrganizationArgs = {
|
|
896
|
+
id: Scalars['String']['input'];
|
|
897
|
+
};
|
|
898
|
+
|
|
899
|
+
|
|
900
|
+
export type QueryOrganizationActivityAuditArgs = {
|
|
901
|
+
days?: Scalars['Int']['input'];
|
|
902
|
+
limit?: Scalars['Int']['input'];
|
|
903
|
+
organizationId: Scalars['String']['input'];
|
|
904
|
+
};
|
|
905
|
+
|
|
906
|
+
|
|
907
|
+
export type QueryOrganizationGrowthDataArgs = {
|
|
908
|
+
days?: Scalars['Int']['input'];
|
|
909
|
+
};
|
|
910
|
+
|
|
911
|
+
|
|
912
|
+
export type QueryOrganizationInvoicesArgs = {
|
|
913
|
+
limit?: Scalars['Int']['input'];
|
|
914
|
+
organizationId: Scalars['String']['input'];
|
|
915
|
+
};
|
|
916
|
+
|
|
917
|
+
|
|
918
|
+
export type QueryOrganizationSubscriptionArgs = {
|
|
919
|
+
organizationId: Scalars['String']['input'];
|
|
920
|
+
};
|
|
921
|
+
|
|
922
|
+
|
|
923
|
+
export type QueryOrganizationUsageArgs = {
|
|
924
|
+
billingPeriod?: InputMaybe<Scalars['String']['input']>;
|
|
925
|
+
organizationId: Scalars['String']['input'];
|
|
926
|
+
};
|
|
927
|
+
|
|
928
|
+
|
|
929
|
+
export type QueryProjectActivityDataArgs = {
|
|
930
|
+
days?: Scalars['Int']['input'];
|
|
931
|
+
};
|
|
932
|
+
|
|
933
|
+
|
|
934
|
+
export type QueryRevenueAnalyticsArgs = {
|
|
935
|
+
months?: Scalars['Int']['input'];
|
|
936
|
+
};
|
|
937
|
+
|
|
938
|
+
|
|
939
|
+
export type QueryRevenueMetricsArgs = {
|
|
940
|
+
months?: Scalars['Int']['input'];
|
|
941
|
+
};
|
|
942
|
+
|
|
943
|
+
|
|
944
|
+
export type QuerySearchUsersArgs = {
|
|
945
|
+
limit?: Scalars['Int']['input'];
|
|
946
|
+
offset?: Scalars['Int']['input'];
|
|
947
|
+
search?: InputMaybe<UserSearchInput>;
|
|
948
|
+
};
|
|
949
|
+
|
|
950
|
+
|
|
951
|
+
export type QuerySecurityEventsArgs = {
|
|
952
|
+
limit?: Scalars['Int']['input'];
|
|
953
|
+
resolved?: InputMaybe<Scalars['Boolean']['input']>;
|
|
954
|
+
severity?: InputMaybe<Scalars['String']['input']>;
|
|
955
|
+
};
|
|
956
|
+
|
|
957
|
+
|
|
958
|
+
export type QueryTopOrganizationsByActivityArgs = {
|
|
959
|
+
limit?: Scalars['Int']['input'];
|
|
960
|
+
};
|
|
961
|
+
|
|
962
|
+
|
|
963
|
+
export type QueryUserActivityAuditArgs = {
|
|
964
|
+
days?: Scalars['Int']['input'];
|
|
965
|
+
limit?: Scalars['Int']['input'];
|
|
966
|
+
userId: Scalars['String']['input'];
|
|
967
|
+
};
|
|
968
|
+
|
|
969
|
+
|
|
970
|
+
export type QueryUserActivityDataArgs = {
|
|
971
|
+
days?: Scalars['Int']['input'];
|
|
972
|
+
};
|
|
973
|
+
|
|
974
|
+
|
|
975
|
+
export type QueryUserDetailsArgs = {
|
|
976
|
+
id: Scalars['String']['input'];
|
|
977
|
+
};
|
|
978
|
+
|
|
979
|
+
export type Role = {
|
|
980
|
+
__typename: 'Role';
|
|
981
|
+
createdAt: Scalars['DateTimeISO']['output'];
|
|
982
|
+
createdBy: Maybe<Scalars['String']['output']>;
|
|
983
|
+
description: Maybe<Scalars['String']['output']>;
|
|
984
|
+
id: Scalars['ID']['output'];
|
|
985
|
+
isSystemRole: Scalars['Boolean']['output'];
|
|
986
|
+
name: Scalars['String']['output'];
|
|
987
|
+
permissions: Scalars['JSONObject']['output'];
|
|
988
|
+
updatedAt: Scalars['DateTimeISO']['output'];
|
|
989
|
+
updatedBy: Maybe<Scalars['String']['output']>;
|
|
990
|
+
};
|
|
991
|
+
|
|
992
|
+
export type SecurityEvent = {
|
|
993
|
+
__typename: 'SecurityEvent';
|
|
994
|
+
description: Scalars['String']['output'];
|
|
995
|
+
id: Scalars['String']['output'];
|
|
996
|
+
ipAddress: Scalars['String']['output'];
|
|
997
|
+
metadata: SecurityEventMetadataType;
|
|
998
|
+
organizationId: Scalars['String']['output'];
|
|
999
|
+
resolved: Scalars['Boolean']['output'];
|
|
1000
|
+
severity: Scalars['String']['output'];
|
|
1001
|
+
timestamp: Scalars['DateTimeISO']['output'];
|
|
1002
|
+
type: Scalars['String']['output'];
|
|
1003
|
+
userId: Scalars['String']['output'];
|
|
1004
|
+
};
|
|
1005
|
+
|
|
1006
|
+
export type SecurityEventMetadataType = {
|
|
1007
|
+
__typename: 'SecurityEventMetadataType';
|
|
1008
|
+
accountAge: Maybe<Scalars['String']['output']>;
|
|
1009
|
+
attemptCount: Maybe<Scalars['Int']['output']>;
|
|
1010
|
+
newLocation: Maybe<Scalars['String']['output']>;
|
|
1011
|
+
previousLocation: Maybe<Scalars['String']['output']>;
|
|
1012
|
+
timeWindow: Maybe<Scalars['String']['output']>;
|
|
1013
|
+
userAgent: Maybe<Scalars['String']['output']>;
|
|
1014
|
+
};
|
|
1015
|
+
|
|
1016
|
+
/** Available service technologies */
|
|
1017
|
+
export enum ServiceTechnology {
|
|
1018
|
+
DATABASE = 'DATABASE',
|
|
1019
|
+
DOCKER = 'DOCKER',
|
|
1020
|
+
GO = 'GO',
|
|
1021
|
+
JAVA = 'JAVA',
|
|
1022
|
+
NGINX = 'NGINX',
|
|
1023
|
+
NODEJS = 'NODEJS',
|
|
1024
|
+
OTHER = 'OTHER',
|
|
1025
|
+
PYTHON = 'PYTHON',
|
|
1026
|
+
REACT = 'REACT',
|
|
1027
|
+
REDIS = 'REDIS',
|
|
1028
|
+
RUST = 'RUST'
|
|
1029
|
+
}
|
|
1030
|
+
|
|
1031
|
+
export type Sprint = {
|
|
1032
|
+
__typename: 'Sprint';
|
|
1033
|
+
completedStories: Scalars['Int']['output'];
|
|
1034
|
+
createdAt: Scalars['DateTimeISO']['output'];
|
|
1035
|
+
createdBy: Maybe<Scalars['String']['output']>;
|
|
1036
|
+
duration: Scalars['Int']['output'];
|
|
1037
|
+
endDate: Scalars['DateTimeISO']['output'];
|
|
1038
|
+
goal: Maybe<Scalars['String']['output']>;
|
|
1039
|
+
id: Scalars['ID']['output'];
|
|
1040
|
+
isActive: Scalars['Boolean']['output'];
|
|
1041
|
+
isEnded: Scalars['Boolean']['output'];
|
|
1042
|
+
isInProgress: Scalars['Boolean']['output'];
|
|
1043
|
+
isStarted: Scalars['Boolean']['output'];
|
|
1044
|
+
name: Scalars['String']['output'];
|
|
1045
|
+
progressPercentage: Scalars['Int']['output'];
|
|
1046
|
+
project: Project;
|
|
1047
|
+
startDate: Scalars['DateTimeISO']['output'];
|
|
1048
|
+
stories: Array<Story>;
|
|
1049
|
+
totalStories: Scalars['Int']['output'];
|
|
1050
|
+
updatedAt: Scalars['DateTimeISO']['output'];
|
|
1051
|
+
updatedBy: Maybe<Scalars['String']['output']>;
|
|
1052
|
+
};
|
|
1053
|
+
|
|
1054
|
+
export type Story = {
|
|
1055
|
+
__typename: 'Story';
|
|
1056
|
+
acceptanceCriteria: Array<Scalars['String']['output']>;
|
|
1057
|
+
affectedServices: Array<Scalars['String']['output']>;
|
|
1058
|
+
assignedTo: Maybe<Scalars['String']['output']>;
|
|
1059
|
+
assignedToUser: Maybe<User>;
|
|
1060
|
+
attachments: Array<Attachment>;
|
|
1061
|
+
canBeClaimed: Scalars['Boolean']['output'];
|
|
1062
|
+
claimedAt: Maybe<Scalars['DateTimeISO']['output']>;
|
|
1063
|
+
comments: Array<Comment>;
|
|
1064
|
+
completedAt: Maybe<Scalars['DateTimeISO']['output']>;
|
|
1065
|
+
completedTasks: Scalars['Int']['output'];
|
|
1066
|
+
createdAt: Scalars['DateTimeISO']['output'];
|
|
1067
|
+
createdBy: Maybe<Scalars['String']['output']>;
|
|
1068
|
+
crossWorkspaceCoordination: Maybe<Scalars['String']['output']>;
|
|
1069
|
+
dependencies: Maybe<Array<Story>>;
|
|
1070
|
+
dependsOn: Maybe<Array<Story>>;
|
|
1071
|
+
description: Maybe<Scalars['String']['output']>;
|
|
1072
|
+
estimate: Maybe<Scalars['Int']['output']>;
|
|
1073
|
+
hasBlockingDependencies: Scalars['Boolean']['output'];
|
|
1074
|
+
id: Scalars['ID']['output'];
|
|
1075
|
+
implementationDuration: Maybe<Scalars['Int']['output']>;
|
|
1076
|
+
isAssigned: Scalars['Boolean']['output'];
|
|
1077
|
+
isBlocked: Scalars['Boolean']['output'];
|
|
1078
|
+
isComplete: Scalars['Boolean']['output'];
|
|
1079
|
+
isInProgress: Scalars['Boolean']['output'];
|
|
1080
|
+
isInReview: Scalars['Boolean']['output'];
|
|
1081
|
+
isPending: Scalars['Boolean']['output'];
|
|
1082
|
+
orderIndex: Maybe<Scalars['Int']['output']>;
|
|
1083
|
+
organization: Organization;
|
|
1084
|
+
phase: Maybe<Phase>;
|
|
1085
|
+
priority: PriorityLevel;
|
|
1086
|
+
project: Project;
|
|
1087
|
+
pullRequestLink: Maybe<Scalars['String']['output']>;
|
|
1088
|
+
relatedWorkspaces: Array<Scalars['String']['output']>;
|
|
1089
|
+
reviewNotes: Maybe<Scalars['String']['output']>;
|
|
1090
|
+
reviewedAt: Maybe<Scalars['DateTimeISO']['output']>;
|
|
1091
|
+
reviewedBy: Maybe<User>;
|
|
1092
|
+
sprint: Maybe<Sprint>;
|
|
1093
|
+
startedAt: Maybe<Scalars['DateTimeISO']['output']>;
|
|
1094
|
+
status: StoryState;
|
|
1095
|
+
storyLink: Maybe<Scalars['String']['output']>;
|
|
1096
|
+
tags: Array<Scalars['String']['output']>;
|
|
1097
|
+
taskProgressPercentage: Scalars['Int']['output'];
|
|
1098
|
+
tasks: Array<Task>;
|
|
1099
|
+
title: Scalars['String']['output'];
|
|
1100
|
+
totalTasks: Scalars['Int']['output'];
|
|
1101
|
+
updatedAt: Scalars['DateTimeISO']['output'];
|
|
1102
|
+
updatedBy: Maybe<Scalars['String']['output']>;
|
|
1103
|
+
workspaceId: Maybe<Scalars['String']['output']>;
|
|
1104
|
+
};
|
|
1105
|
+
|
|
1106
|
+
export enum StoryState {
|
|
1107
|
+
BLOCKED = 'BLOCKED',
|
|
1108
|
+
COMPLETE = 'COMPLETE',
|
|
1109
|
+
IMPLEMENTATION = 'IMPLEMENTATION',
|
|
1110
|
+
PENDING = 'PENDING',
|
|
1111
|
+
REVIEW = 'REVIEW'
|
|
1112
|
+
}
|
|
1113
|
+
|
|
1114
|
+
export type SystemHealthMetrics = {
|
|
1115
|
+
__typename: 'SystemHealthMetrics';
|
|
1116
|
+
avgResponseTime: Scalars['Float']['output'];
|
|
1117
|
+
cpuUsage: Scalars['Float']['output'];
|
|
1118
|
+
dbConnectionPoolUsage: Scalars['Float']['output'];
|
|
1119
|
+
errorRate: Scalars['Float']['output'];
|
|
1120
|
+
memoryUsageMB: Scalars['Int']['output'];
|
|
1121
|
+
requestsPerMinute: Scalars['Int']['output'];
|
|
1122
|
+
};
|
|
1123
|
+
|
|
1124
|
+
export type SystemInfo = {
|
|
1125
|
+
__typename: 'SystemInfo';
|
|
1126
|
+
buildNumber: Scalars['String']['output'];
|
|
1127
|
+
databaseSize: Scalars['String']['output'];
|
|
1128
|
+
databaseVersion: Scalars['String']['output'];
|
|
1129
|
+
environment: Scalars['String']['output'];
|
|
1130
|
+
lastDeployment: Scalars['DateTimeISO']['output'];
|
|
1131
|
+
nodeVersion: Scalars['String']['output'];
|
|
1132
|
+
redisKeyCount: Scalars['Int']['output'];
|
|
1133
|
+
redisMemoryUsage: Scalars['String']['output'];
|
|
1134
|
+
redisVersion: Scalars['String']['output'];
|
|
1135
|
+
uptime: Scalars['Int']['output'];
|
|
1136
|
+
version: Scalars['String']['output'];
|
|
1137
|
+
};
|
|
1138
|
+
|
|
1139
|
+
export type Task = {
|
|
1140
|
+
__typename: 'Task';
|
|
1141
|
+
actualHours: Maybe<Scalars['Int']['output']>;
|
|
1142
|
+
actualTime: Maybe<Scalars['Int']['output']>;
|
|
1143
|
+
affectedWorkspaces: Array<Scalars['String']['output']>;
|
|
1144
|
+
areas: Array<Scalars['String']['output']>;
|
|
1145
|
+
assignedTo: Maybe<Scalars['String']['output']>;
|
|
1146
|
+
assignedToUser: Maybe<User>;
|
|
1147
|
+
attachments: Array<Attachment>;
|
|
1148
|
+
canBeClaimed: Scalars['Boolean']['output'];
|
|
1149
|
+
claimedAt: Maybe<Scalars['DateTimeISO']['output']>;
|
|
1150
|
+
comments: Array<Comment>;
|
|
1151
|
+
completedAt: Maybe<Scalars['DateTimeISO']['output']>;
|
|
1152
|
+
createdAt: Scalars['DateTimeISO']['output'];
|
|
1153
|
+
createdBy: Maybe<Scalars['String']['output']>;
|
|
1154
|
+
currentSessionDuration: Scalars['Int']['output'];
|
|
1155
|
+
currentSessionStart: Maybe<Scalars['DateTimeISO']['output']>;
|
|
1156
|
+
deadline: Maybe<Scalars['DateTimeISO']['output']>;
|
|
1157
|
+
dependencies: Maybe<Array<Task>>;
|
|
1158
|
+
dependsOn: Maybe<Array<Task>>;
|
|
1159
|
+
description: Maybe<Scalars['String']['output']>;
|
|
1160
|
+
dueDate: Maybe<Scalars['DateTimeISO']['output']>;
|
|
1161
|
+
estimate: Maybe<Scalars['Int']['output']>;
|
|
1162
|
+
estimatedHours: Maybe<Scalars['Int']['output']>;
|
|
1163
|
+
estimatedTime: Maybe<Scalars['Int']['output']>;
|
|
1164
|
+
hasBlockingDependencies: Scalars['Boolean']['output'];
|
|
1165
|
+
id: Scalars['ID']['output'];
|
|
1166
|
+
implementationDuration: Maybe<Scalars['Int']['output']>;
|
|
1167
|
+
implementationSummary: Maybe<Scalars['String']['output']>;
|
|
1168
|
+
isAsk: Scalars['Boolean']['output'];
|
|
1169
|
+
isAssigned: Scalars['Boolean']['output'];
|
|
1170
|
+
isBlocked: Scalars['Boolean']['output'];
|
|
1171
|
+
isComplete: Scalars['Boolean']['output'];
|
|
1172
|
+
isFollowup: Scalars['Boolean']['output'];
|
|
1173
|
+
isInProgress: Scalars['Boolean']['output'];
|
|
1174
|
+
isPending: Scalars['Boolean']['output'];
|
|
1175
|
+
isPlanned: Scalars['Boolean']['output'];
|
|
1176
|
+
isTimerRunning: Scalars['Boolean']['output'];
|
|
1177
|
+
keyFiles: Maybe<Array<Scalars['String']['output']>>;
|
|
1178
|
+
orderIndex: Maybe<Scalars['Int']['output']>;
|
|
1179
|
+
organization: Organization;
|
|
1180
|
+
priority: PriorityLevel;
|
|
1181
|
+
startedAt: Maybe<Scalars['DateTimeISO']['output']>;
|
|
1182
|
+
state: TaskState;
|
|
1183
|
+
status: TaskState;
|
|
1184
|
+
story: Story;
|
|
1185
|
+
targetFilePaths: Array<Scalars['String']['output']>;
|
|
1186
|
+
targetService: Maybe<Scalars['String']['output']>;
|
|
1187
|
+
title: Scalars['String']['output'];
|
|
1188
|
+
totalTimeIncludingCurrent: Scalars['Int']['output'];
|
|
1189
|
+
totalTrackedTime: Scalars['Int']['output'];
|
|
1190
|
+
type: TaskType;
|
|
1191
|
+
updatedAt: Scalars['DateTimeISO']['output'];
|
|
1192
|
+
updatedBy: Maybe<Scalars['String']['output']>;
|
|
1193
|
+
workspaceId: Maybe<Scalars['String']['output']>;
|
|
1194
|
+
};
|
|
1195
|
+
|
|
1196
|
+
export enum TaskState {
|
|
1197
|
+
BLOCKED = 'BLOCKED',
|
|
1198
|
+
COMPLETE = 'COMPLETE',
|
|
1199
|
+
IMPLEMENTATION = 'IMPLEMENTATION',
|
|
1200
|
+
PENDING = 'PENDING'
|
|
1201
|
+
}
|
|
1202
|
+
|
|
1203
|
+
export enum TaskType {
|
|
1204
|
+
ASK = 'ASK',
|
|
1205
|
+
FOLLOWUP = 'FOLLOWUP',
|
|
1206
|
+
PLANNED = 'PLANNED'
|
|
1207
|
+
}
|
|
1208
|
+
|
|
1209
|
+
export type Team = {
|
|
1210
|
+
__typename: 'Team';
|
|
1211
|
+
createdAt: Scalars['DateTimeISO']['output'];
|
|
1212
|
+
createdBy: Maybe<Scalars['String']['output']>;
|
|
1213
|
+
description: Maybe<Scalars['String']['output']>;
|
|
1214
|
+
id: Scalars['ID']['output'];
|
|
1215
|
+
isActive: Scalars['Boolean']['output'];
|
|
1216
|
+
members: Array<TeamMember>;
|
|
1217
|
+
name: Scalars['String']['output'];
|
|
1218
|
+
settings: Maybe<Scalars['JSONObject']['output']>;
|
|
1219
|
+
updatedAt: Scalars['DateTimeISO']['output'];
|
|
1220
|
+
updatedBy: Maybe<Scalars['String']['output']>;
|
|
1221
|
+
};
|
|
1222
|
+
|
|
1223
|
+
export type TeamMember = {
|
|
1224
|
+
__typename: 'TeamMember';
|
|
1225
|
+
createdAt: Scalars['DateTimeISO']['output'];
|
|
1226
|
+
createdBy: Maybe<Scalars['String']['output']>;
|
|
1227
|
+
id: Scalars['ID']['output'];
|
|
1228
|
+
joinedAt: Scalars['DateTimeISO']['output'];
|
|
1229
|
+
role: Role;
|
|
1230
|
+
status: Scalars['String']['output'];
|
|
1231
|
+
team: Team;
|
|
1232
|
+
updatedAt: Scalars['DateTimeISO']['output'];
|
|
1233
|
+
updatedBy: Maybe<Scalars['String']['output']>;
|
|
1234
|
+
user: User;
|
|
1235
|
+
};
|
|
1236
|
+
|
|
1237
|
+
export type UpdateEarlyAccessRegistrationInput = {
|
|
1238
|
+
companyName?: InputMaybe<Scalars['String']['input']>;
|
|
1239
|
+
contactName?: InputMaybe<Scalars['String']['input']>;
|
|
1240
|
+
notes?: InputMaybe<Scalars['String']['input']>;
|
|
1241
|
+
status?: InputMaybe<Scalars['String']['input']>;
|
|
1242
|
+
};
|
|
1243
|
+
|
|
1244
|
+
export type UpdateOrganizationInput = {
|
|
1245
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
1246
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
1247
|
+
settings?: InputMaybe<Scalars['JSONObject']['input']>;
|
|
1248
|
+
};
|
|
1249
|
+
|
|
1250
|
+
export type UpdateSubscriptionInput = {
|
|
1251
|
+
cancelAtPeriodEnd?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1252
|
+
planId?: InputMaybe<Scalars['String']['input']>;
|
|
1253
|
+
trialEnd?: InputMaybe<Scalars['DateTimeISO']['input']>;
|
|
1254
|
+
};
|
|
1255
|
+
|
|
1256
|
+
export type UpdateUserInput = {
|
|
1257
|
+
email?: InputMaybe<Scalars['String']['input']>;
|
|
1258
|
+
firstName?: InputMaybe<Scalars['String']['input']>;
|
|
1259
|
+
lastName?: InputMaybe<Scalars['String']['input']>;
|
|
1260
|
+
role?: InputMaybe<UserRole>;
|
|
1261
|
+
status?: InputMaybe<UserStatus>;
|
|
1262
|
+
};
|
|
1263
|
+
|
|
1264
|
+
export type User = {
|
|
1265
|
+
__typename: 'User';
|
|
1266
|
+
aiWorkers: Array<AiWorker>;
|
|
1267
|
+
avatarUrl: Maybe<Scalars['String']['output']>;
|
|
1268
|
+
canAccessAudits: Scalars['Boolean']['output'];
|
|
1269
|
+
canAccessInternal: Scalars['Boolean']['output'];
|
|
1270
|
+
canManageBilling: Scalars['Boolean']['output'];
|
|
1271
|
+
canSupportOrganizations: Scalars['Boolean']['output'];
|
|
1272
|
+
createdAt: Scalars['DateTimeISO']['output'];
|
|
1273
|
+
createdBy: Maybe<Scalars['String']['output']>;
|
|
1274
|
+
displayName: Scalars['String']['output'];
|
|
1275
|
+
email: Scalars['String']['output'];
|
|
1276
|
+
firstName: Maybe<Scalars['String']['output']>;
|
|
1277
|
+
fullName: Scalars['String']['output'];
|
|
1278
|
+
id: Scalars['ID']['output'];
|
|
1279
|
+
isActive: Scalars['Boolean']['output'];
|
|
1280
|
+
isAdmin: Scalars['Boolean']['output'];
|
|
1281
|
+
lastLoginAt: Maybe<Scalars['DateTimeISO']['output']>;
|
|
1282
|
+
lastName: Maybe<Scalars['String']['output']>;
|
|
1283
|
+
organizationMemberships: Array<UserOrganization>;
|
|
1284
|
+
platformRoles: Array<UserPlatformRole>;
|
|
1285
|
+
role: UserRole;
|
|
1286
|
+
status: UserStatus;
|
|
1287
|
+
timezone: Maybe<Scalars['String']['output']>;
|
|
1288
|
+
updatedAt: Scalars['DateTimeISO']['output'];
|
|
1289
|
+
updatedBy: Maybe<Scalars['String']['output']>;
|
|
1290
|
+
};
|
|
1291
|
+
|
|
1292
|
+
export type UserActivityData = {
|
|
1293
|
+
__typename: 'UserActivityData';
|
|
1294
|
+
dailyActiveUsers: Scalars['Int']['output'];
|
|
1295
|
+
date: Scalars['String']['output'];
|
|
1296
|
+
loginCount: Scalars['Int']['output'];
|
|
1297
|
+
newUsers: Scalars['Int']['output'];
|
|
1298
|
+
};
|
|
1299
|
+
|
|
1300
|
+
export type UserOrganization = {
|
|
1301
|
+
__typename: 'UserOrganization';
|
|
1302
|
+
createdAt: Scalars['DateTimeISO']['output'];
|
|
1303
|
+
createdBy: Maybe<Scalars['String']['output']>;
|
|
1304
|
+
id: Scalars['ID']['output'];
|
|
1305
|
+
invitationToken: Maybe<Scalars['String']['output']>;
|
|
1306
|
+
invitedAt: Maybe<Scalars['DateTimeISO']['output']>;
|
|
1307
|
+
invitedBy: Maybe<Scalars['String']['output']>;
|
|
1308
|
+
joinedAt: Maybe<Scalars['DateTimeISO']['output']>;
|
|
1309
|
+
lastAccessedAt: Maybe<Scalars['DateTimeISO']['output']>;
|
|
1310
|
+
organization: Organization;
|
|
1311
|
+
role: OrganizationRole;
|
|
1312
|
+
status: UserOrganizationStatus;
|
|
1313
|
+
updatedAt: Scalars['DateTimeISO']['output'];
|
|
1314
|
+
updatedBy: Maybe<Scalars['String']['output']>;
|
|
1315
|
+
user: User;
|
|
1316
|
+
};
|
|
1317
|
+
|
|
1318
|
+
export type UserOrganizationMembershipInput = {
|
|
1319
|
+
organizationId: Scalars['String']['input'];
|
|
1320
|
+
role: OrganizationRole;
|
|
1321
|
+
userId: Scalars['String']['input'];
|
|
1322
|
+
};
|
|
1323
|
+
|
|
1324
|
+
/** Status of user membership in an organization */
|
|
1325
|
+
export enum UserOrganizationStatus {
|
|
1326
|
+
ACTIVE = 'ACTIVE',
|
|
1327
|
+
INVITED = 'INVITED',
|
|
1328
|
+
LEFT = 'LEFT',
|
|
1329
|
+
SUSPENDED = 'SUSPENDED'
|
|
1330
|
+
}
|
|
1331
|
+
|
|
1332
|
+
export type UserPlatformRole = {
|
|
1333
|
+
__typename: 'UserPlatformRole';
|
|
1334
|
+
createdAt: Scalars['DateTimeISO']['output'];
|
|
1335
|
+
createdBy: Maybe<Scalars['String']['output']>;
|
|
1336
|
+
expiresAt: Maybe<Scalars['DateTimeISO']['output']>;
|
|
1337
|
+
grantedAt: Maybe<Scalars['DateTimeISO']['output']>;
|
|
1338
|
+
grantedBy: Maybe<User>;
|
|
1339
|
+
id: Scalars['ID']['output'];
|
|
1340
|
+
reason: Maybe<Scalars['String']['output']>;
|
|
1341
|
+
role: PlatformRole;
|
|
1342
|
+
updatedAt: Scalars['DateTimeISO']['output'];
|
|
1343
|
+
updatedBy: Maybe<Scalars['String']['output']>;
|
|
1344
|
+
user: User;
|
|
1345
|
+
};
|
|
1346
|
+
|
|
1347
|
+
export enum UserRole {
|
|
1348
|
+
ADMIN = 'ADMIN',
|
|
1349
|
+
PRODUCT = 'PRODUCT',
|
|
1350
|
+
VIEW = 'VIEW',
|
|
1351
|
+
WORKER = 'WORKER'
|
|
1352
|
+
}
|
|
1353
|
+
|
|
1354
|
+
export type UserSearchInput = {
|
|
1355
|
+
email?: InputMaybe<Scalars['String']['input']>;
|
|
1356
|
+
organizationId?: InputMaybe<Scalars['String']['input']>;
|
|
1357
|
+
query?: InputMaybe<Scalars['String']['input']>;
|
|
1358
|
+
role?: InputMaybe<UserRole>;
|
|
1359
|
+
status?: InputMaybe<UserStatus>;
|
|
1360
|
+
};
|
|
1361
|
+
|
|
1362
|
+
export enum UserStatus {
|
|
1363
|
+
ACTIVE = 'ACTIVE',
|
|
1364
|
+
DISABLED = 'DISABLED'
|
|
1365
|
+
}
|
|
1366
|
+
|
|
1367
|
+
export type UserWithOrganizations = {
|
|
1368
|
+
__typename: 'UserWithOrganizations';
|
|
1369
|
+
canAccessAudits: Scalars['Boolean']['output'];
|
|
1370
|
+
canAccessInternal: Scalars['Boolean']['output'];
|
|
1371
|
+
canManageBilling: Scalars['Boolean']['output'];
|
|
1372
|
+
canSupportOrganizations: Scalars['Boolean']['output'];
|
|
1373
|
+
createdAt: Scalars['DateTimeISO']['output'];
|
|
1374
|
+
displayName: Scalars['String']['output'];
|
|
1375
|
+
email: Scalars['String']['output'];
|
|
1376
|
+
firstName: Maybe<Scalars['String']['output']>;
|
|
1377
|
+
fullName: Scalars['String']['output'];
|
|
1378
|
+
id: Scalars['String']['output'];
|
|
1379
|
+
lastLoginAt: Maybe<Scalars['DateTimeISO']['output']>;
|
|
1380
|
+
lastName: Maybe<Scalars['String']['output']>;
|
|
1381
|
+
organizationMemberships: Array<UserOrganization>;
|
|
1382
|
+
platformRoles: Array<UserPlatformRole>;
|
|
1383
|
+
projectCount: Scalars['Int']['output'];
|
|
1384
|
+
role: UserRole;
|
|
1385
|
+
status: UserStatus;
|
|
1386
|
+
storyCount: Scalars['Int']['output'];
|
|
1387
|
+
taskCount: Scalars['Int']['output'];
|
|
1388
|
+
updatedAt: Scalars['DateTimeISO']['output'];
|
|
1389
|
+
};
|
|
1390
|
+
|
|
1391
|
+
export enum WorkerScope {
|
|
1392
|
+
ORGANIZATION = 'ORGANIZATION',
|
|
1393
|
+
PROJECT = 'PROJECT',
|
|
1394
|
+
TEAM = 'TEAM',
|
|
1395
|
+
USER = 'USER'
|
|
1396
|
+
}
|
|
1397
|
+
|
|
1398
|
+
export type Workspace = {
|
|
1399
|
+
__typename: 'Workspace';
|
|
1400
|
+
config: Maybe<Scalars['JSONObject']['output']>;
|
|
1401
|
+
createdAt: Scalars['DateTimeISO']['output'];
|
|
1402
|
+
createdBy: Maybe<Scalars['String']['output']>;
|
|
1403
|
+
description: Maybe<Scalars['String']['output']>;
|
|
1404
|
+
errors: Array<Scalars['String']['output']>;
|
|
1405
|
+
id: Scalars['ID']['output'];
|
|
1406
|
+
isActive: Scalars['Boolean']['output'];
|
|
1407
|
+
name: Scalars['String']['output'];
|
|
1408
|
+
path: Scalars['String']['output'];
|
|
1409
|
+
pattern: Scalars['String']['output'];
|
|
1410
|
+
projects: Array<Project>;
|
|
1411
|
+
services: Array<WorkspaceService>;
|
|
1412
|
+
updatedAt: Scalars['DateTimeISO']['output'];
|
|
1413
|
+
updatedBy: Maybe<Scalars['String']['output']>;
|
|
1414
|
+
workspaceId: Scalars['String']['output'];
|
|
1415
|
+
};
|
|
1416
|
+
|
|
1417
|
+
export type WorkspaceService = {
|
|
1418
|
+
__typename: 'WorkspaceService';
|
|
1419
|
+
createdAt: Scalars['DateTimeISO']['output'];
|
|
1420
|
+
createdBy: Maybe<Scalars['String']['output']>;
|
|
1421
|
+
description: Maybe<Scalars['String']['output']>;
|
|
1422
|
+
healthCheckUrl: Maybe<Scalars['String']['output']>;
|
|
1423
|
+
id: Scalars['ID']['output'];
|
|
1424
|
+
isActive: Scalars['Boolean']['output'];
|
|
1425
|
+
name: Scalars['String']['output'];
|
|
1426
|
+
path: Maybe<Scalars['String']['output']>;
|
|
1427
|
+
port: Maybe<Scalars['Int']['output']>;
|
|
1428
|
+
repositoryUrl: Maybe<Scalars['String']['output']>;
|
|
1429
|
+
serviceId: Scalars['String']['output'];
|
|
1430
|
+
technology: ServiceTechnology;
|
|
1431
|
+
updatedAt: Scalars['DateTimeISO']['output'];
|
|
1432
|
+
updatedBy: Maybe<Scalars['String']['output']>;
|
|
1433
|
+
};
|
|
1434
|
+
|
|
1435
|
+
export type PlatformLoginMutationVariables = Exact<{
|
|
1436
|
+
input: LoginInput;
|
|
1437
|
+
}>;
|
|
1438
|
+
|
|
1439
|
+
|
|
1440
|
+
export type PlatformLoginMutation = { __typename: 'Mutation', platformLogin: { __typename: 'LoginPayload', token: string, refreshToken: string | null, expiresIn: string, tokenType: string, user: { __typename: 'User', id: string, email: string, firstName: string | null, lastName: string | null, fullName: string, displayName: string, canAccessInternal: boolean, canSupportOrganizations: boolean, canManageBilling: boolean, canAccessAudits: boolean, platformRoles: Array<{ __typename: 'UserPlatformRole', id: string, role: PlatformRole, grantedAt: string | null, expiresAt: string | null, reason: string | null, grantedBy: { __typename: 'User', id: string, fullName: string } | null }> } } };
|
|
1441
|
+
|
|
1442
|
+
export type PlatformMeQueryVariables = Exact<{ [key: string]: never; }>;
|
|
1443
|
+
|
|
1444
|
+
|
|
1445
|
+
export type PlatformMeQuery = { __typename: 'Query', platformMe: { __typename: 'PlatformUserInfo', id: string, email: string, firstName: string | null, lastName: string | null, fullName: string | null, displayName: string, permissions: Array<string>, canAccessInternal: boolean, canSupportOrganizations: boolean, canManageBilling: boolean, canAccessAudits: boolean, platformRoles: Array<{ __typename: 'PlatformRoleInfo', id: string, role: PlatformRole, assignedAt: string, isActive: boolean }> } | null };
|
|
1446
|
+
|
|
1447
|
+
export type PlatformStatsQueryVariables = Exact<{ [key: string]: never; }>;
|
|
1448
|
+
|
|
1449
|
+
|
|
1450
|
+
export type PlatformStatsQuery = { __typename: 'Query', platformStats: { __typename: 'PlatformStats', totalUsers: number, activeUsers: number, totalOrganizations: number, activeOrganizations: number, totalProjects: number, totalStories: number, totalTasks: number, completedTasks: number, avgUsersPerOrganization: number, avgProjectsPerOrganization: number } };
|
|
1451
|
+
|
|
1452
|
+
export type SystemHealthQueryVariables = Exact<{ [key: string]: never; }>;
|
|
1453
|
+
|
|
1454
|
+
|
|
1455
|
+
export type SystemHealthQuery = { __typename: 'Query', systemHealth: { __typename: 'SystemHealthMetrics', dbConnectionPoolUsage: number, avgResponseTime: number, errorRate: number, requestsPerMinute: number, memoryUsageMB: number, cpuUsage: number } };
|
|
1456
|
+
|
|
1457
|
+
export type SystemInfoQueryVariables = Exact<{ [key: string]: never; }>;
|
|
1458
|
+
|
|
1459
|
+
|
|
1460
|
+
export type SystemInfoQuery = { __typename: 'Query', systemInfo: { __typename: 'SystemInfo', version: string, buildNumber: string, environment: string, nodeVersion: string, databaseVersion: string, redisVersion: string, uptime: number, lastDeployment: string, redisKeyCount: number, redisMemoryUsage: string, databaseSize: string } };
|
|
1461
|
+
|
|
1462
|
+
export type SearchUsersQueryVariables = Exact<{
|
|
1463
|
+
search?: InputMaybe<UserSearchInput>;
|
|
1464
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
1465
|
+
offset?: InputMaybe<Scalars['Int']['input']>;
|
|
1466
|
+
}>;
|
|
1467
|
+
|
|
1468
|
+
|
|
1469
|
+
export type SearchUsersQuery = { __typename: 'Query', searchUsers: Array<{ __typename: 'UserWithOrganizations', id: string, email: string, firstName: string | null, lastName: string | null, fullName: string, displayName: string, role: UserRole, status: UserStatus, lastLoginAt: string | null, createdAt: string, updatedAt: string, projectCount: number, storyCount: number, taskCount: number, canAccessInternal: boolean, canSupportOrganizations: boolean, canManageBilling: boolean, canAccessAudits: boolean, organizationMemberships: Array<{ __typename: 'UserOrganization', id: string, role: OrganizationRole, status: UserOrganizationStatus, joinedAt: string | null, lastAccessedAt: string | null, organization: { __typename: 'Organization', id: string, name: string, subdomain: string, status: OrganizationStatus } }>, platformRoles: Array<{ __typename: 'UserPlatformRole', id: string, role: PlatformRole, grantedAt: string | null, expiresAt: string | null, grantedBy: { __typename: 'User', id: string, fullName: string } | null }> }> };
|
|
1470
|
+
|
|
1471
|
+
export type UserDetailsQueryVariables = Exact<{
|
|
1472
|
+
id: Scalars['String']['input'];
|
|
1473
|
+
}>;
|
|
1474
|
+
|
|
1475
|
+
|
|
1476
|
+
export type UserDetailsQuery = { __typename: 'Query', userDetails: { __typename: 'UserWithOrganizations', id: string, email: string, firstName: string | null, lastName: string | null, fullName: string, displayName: string, role: UserRole, status: UserStatus, lastLoginAt: string | null, createdAt: string, updatedAt: string, projectCount: number, storyCount: number, taskCount: number, canAccessInternal: boolean, canSupportOrganizations: boolean, canManageBilling: boolean, canAccessAudits: boolean, organizationMemberships: Array<{ __typename: 'UserOrganization', id: string, role: OrganizationRole, status: UserOrganizationStatus, joinedAt: string | null, lastAccessedAt: string | null, invitedAt: string | null, invitedBy: string | null, invitationToken: string | null, organization: { __typename: 'Organization', id: string, name: string, subdomain: string, fullDomain: string, status: OrganizationStatus, description: string | null, isActive: boolean, createdAt: string } }>, platformRoles: Array<{ __typename: 'UserPlatformRole', id: string, role: PlatformRole, grantedAt: string | null, expiresAt: string | null, reason: string | null, grantedBy: { __typename: 'User', id: string, fullName: string, email: string } | null }> } | null };
|
|
1477
|
+
|
|
1478
|
+
export type UpdateUserMutationVariables = Exact<{
|
|
1479
|
+
id: Scalars['String']['input'];
|
|
1480
|
+
input: UpdateUserInput;
|
|
1481
|
+
}>;
|
|
1482
|
+
|
|
1483
|
+
|
|
1484
|
+
export type UpdateUserMutation = { __typename: 'Mutation', updateUser: { __typename: 'User', id: string, email: string, firstName: string | null, lastName: string | null, fullName: string, displayName: string, role: UserRole, status: UserStatus, updatedAt: string } };
|
|
1485
|
+
|
|
1486
|
+
export type DisableUserMutationVariables = Exact<{
|
|
1487
|
+
id: Scalars['String']['input'];
|
|
1488
|
+
reason?: InputMaybe<Scalars['String']['input']>;
|
|
1489
|
+
}>;
|
|
1490
|
+
|
|
1491
|
+
|
|
1492
|
+
export type DisableUserMutation = { __typename: 'Mutation', disableUser: boolean };
|
|
1493
|
+
|
|
1494
|
+
export type AllOrganizationsQueryVariables = Exact<{
|
|
1495
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
1496
|
+
offset?: InputMaybe<Scalars['Int']['input']>;
|
|
1497
|
+
search?: InputMaybe<Scalars['String']['input']>;
|
|
1498
|
+
status?: InputMaybe<OrganizationStatus>;
|
|
1499
|
+
}>;
|
|
1500
|
+
|
|
1501
|
+
|
|
1502
|
+
export type AllOrganizationsQuery = { __typename: 'Query', allOrganizations: Array<{ __typename: 'Organization', id: string, name: string, subdomain: string, fullDomain: string, description: string | null, status: OrganizationStatus, isActive: boolean, createdAt: string, updatedAt: string, settings: any | null }> };
|
|
1503
|
+
|
|
1504
|
+
export type OrganizationByIdQueryVariables = Exact<{
|
|
1505
|
+
id: Scalars['String']['input'];
|
|
1506
|
+
}>;
|
|
1507
|
+
|
|
1508
|
+
|
|
1509
|
+
export type OrganizationByIdQuery = { __typename: 'Query', organization: { __typename: 'OrganizationWithDetails', id: string, name: string, subdomain: string, fullDomain: string, description: string | null, status: OrganizationStatus, isActive: boolean, createdAt: string, updatedAt: string, settings: any | null, users: Array<{ __typename: 'User', id: string, firstName: string | null, lastName: string | null, fullName: string, displayName: string, email: string, role: UserRole, status: UserStatus, lastLoginAt: string | null }>, recentProjects: Array<{ __typename: 'Project', id: string, name: string, description: string | null, isActive: boolean, isArchived: boolean, createdAt: string }>, stats: { __typename: 'OrganizationStats', userCount: number, projectCount: number, storageUsageGB: number | null, monthlyApiCalls: number | null, taskCount: number | null, storyCount: number | null }, owner: { __typename: 'User', id: string, fullName: string, email: string } | null, subscription: { __typename: 'OrganizationSubscription', id: string, planId: string, status: string, monthlyAmount: number, currency: string | null, currentPeriodStart: string, currentPeriodEnd: string, trialEnd: string | null } | null } | null };
|
|
1510
|
+
|
|
1511
|
+
export type CreateOrganizationMutationVariables = Exact<{
|
|
1512
|
+
input: CreateOrganizationInput;
|
|
1513
|
+
}>;
|
|
1514
|
+
|
|
1515
|
+
|
|
1516
|
+
export type CreateOrganizationMutation = { __typename: 'Mutation', createOrganization: { __typename: 'Organization', id: string, name: string, subdomain: string, fullDomain: string, description: string | null, status: OrganizationStatus, createdAt: string } };
|
|
1517
|
+
|
|
1518
|
+
export type UpdateOrganizationMutationVariables = Exact<{
|
|
1519
|
+
id: Scalars['String']['input'];
|
|
1520
|
+
input: UpdateOrganizationInput;
|
|
1521
|
+
}>;
|
|
1522
|
+
|
|
1523
|
+
|
|
1524
|
+
export type UpdateOrganizationMutation = { __typename: 'Mutation', updateOrganization: { __typename: 'Organization', id: string, name: string, subdomain: string, fullDomain: string, description: string | null, status: OrganizationStatus, updatedAt: string, settings: any | null } };
|
|
1525
|
+
|
|
1526
|
+
export type SuspendOrganizationMutationVariables = Exact<{
|
|
1527
|
+
id: Scalars['String']['input'];
|
|
1528
|
+
reason?: InputMaybe<Scalars['String']['input']>;
|
|
1529
|
+
}>;
|
|
1530
|
+
|
|
1531
|
+
|
|
1532
|
+
export type SuspendOrganizationMutation = { __typename: 'Mutation', suspendOrganization: boolean };
|
|
1533
|
+
|
|
1534
|
+
export type ActivateOrganizationMutationVariables = Exact<{
|
|
1535
|
+
id: Scalars['String']['input'];
|
|
1536
|
+
}>;
|
|
1537
|
+
|
|
1538
|
+
|
|
1539
|
+
export type ActivateOrganizationMutation = { __typename: 'Mutation', activateOrganization: boolean };
|
|
1540
|
+
|
|
1541
|
+
export type DeleteOrganizationMutationVariables = Exact<{
|
|
1542
|
+
id: Scalars['String']['input'];
|
|
1543
|
+
confirmPhrase: Scalars['String']['input'];
|
|
1544
|
+
}>;
|
|
1545
|
+
|
|
1546
|
+
|
|
1547
|
+
export type DeleteOrganizationMutation = { __typename: 'Mutation', deleteOrganization: boolean };
|
|
1548
|
+
|
|
1549
|
+
export type AddUserToOrganizationMutationVariables = Exact<{
|
|
1550
|
+
input: UserOrganizationMembershipInput;
|
|
1551
|
+
}>;
|
|
1552
|
+
|
|
1553
|
+
|
|
1554
|
+
export type AddUserToOrganizationMutation = { __typename: 'Mutation', addUserToOrganization: { __typename: 'UserOrganization', id: string, role: OrganizationRole, status: UserOrganizationStatus, joinedAt: string | null, user: { __typename: 'User', id: string, fullName: string, email: string }, organization: { __typename: 'Organization', id: string, name: string, subdomain: string } } };
|
|
1555
|
+
|
|
1556
|
+
export type RemoveUserFromOrganizationMutationVariables = Exact<{
|
|
1557
|
+
userId: Scalars['String']['input'];
|
|
1558
|
+
organizationId: Scalars['String']['input'];
|
|
1559
|
+
}>;
|
|
1560
|
+
|
|
1561
|
+
|
|
1562
|
+
export type RemoveUserFromOrganizationMutation = { __typename: 'Mutation', removeUserFromOrganization: boolean };
|
|
1563
|
+
|
|
1564
|
+
export type UpdateUserOrganizationRoleMutationVariables = Exact<{
|
|
1565
|
+
userId: Scalars['String']['input'];
|
|
1566
|
+
organizationId: Scalars['String']['input'];
|
|
1567
|
+
role: OrganizationRole;
|
|
1568
|
+
}>;
|
|
1569
|
+
|
|
1570
|
+
|
|
1571
|
+
export type UpdateUserOrganizationRoleMutation = { __typename: 'Mutation', updateUserOrganizationRole: { __typename: 'UserOrganization', id: string, role: OrganizationRole, status: UserOrganizationStatus, updatedAt: string, user: { __typename: 'User', id: string, fullName: string }, organization: { __typename: 'Organization', id: string, name: string } } };
|
|
1572
|
+
|
|
1573
|
+
export type OrganizationGrowthDataQueryVariables = Exact<{
|
|
1574
|
+
days?: InputMaybe<Scalars['Int']['input']>;
|
|
1575
|
+
}>;
|
|
1576
|
+
|
|
1577
|
+
|
|
1578
|
+
export type OrganizationGrowthDataQuery = { __typename: 'Query', organizationGrowthData: Array<{ __typename: 'OrganizationGrowthData', date: string, newOrganizations: number, activeOrganizations: number, suspendedOrganizations: number }> };
|
|
1579
|
+
|
|
1580
|
+
export type UserActivityDataQueryVariables = Exact<{
|
|
1581
|
+
days?: InputMaybe<Scalars['Int']['input']>;
|
|
1582
|
+
}>;
|
|
1583
|
+
|
|
1584
|
+
|
|
1585
|
+
export type UserActivityDataQuery = { __typename: 'Query', userActivityData: Array<{ __typename: 'UserActivityData', date: string, newUsers: number, dailyActiveUsers: number, loginCount: number }> };
|
|
1586
|
+
|
|
1587
|
+
export type ProjectActivityDataQueryVariables = Exact<{
|
|
1588
|
+
days?: InputMaybe<Scalars['Int']['input']>;
|
|
1589
|
+
}>;
|
|
1590
|
+
|
|
1591
|
+
|
|
1592
|
+
export type ProjectActivityDataQuery = { __typename: 'Query', projectActivityData: Array<{ __typename: 'ProjectActivityData', date: string, projectsCreated: number, storiesCreated: number, tasksCreated: number, tasksCompleted: number }> };
|
|
1593
|
+
|
|
1594
|
+
export type TopOrganizationsByActivityQueryVariables = Exact<{
|
|
1595
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
1596
|
+
}>;
|
|
1597
|
+
|
|
1598
|
+
|
|
1599
|
+
export type TopOrganizationsByActivityQuery = { __typename: 'Query', topOrganizationsByActivity: Array<{ __typename: 'OrganizationRanking', userCount: number, projectCount: number, activityScore: number, organization: { __typename: 'Organization', id: string, name: string, subdomain: string, status: OrganizationStatus, createdAt: string } }> };
|
|
1600
|
+
|
|
1601
|
+
export type AuditLogsQueryVariables = Exact<{
|
|
1602
|
+
filter?: InputMaybe<AuditLogFilter>;
|
|
1603
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
1604
|
+
offset?: InputMaybe<Scalars['Int']['input']>;
|
|
1605
|
+
}>;
|
|
1606
|
+
|
|
1607
|
+
|
|
1608
|
+
export type AuditLogsQuery = { __typename: 'Query', auditLogs: Array<{ __typename: 'AuditLogEntry', id: string, timestamp: string, action: string, resource: string, resourceId: string, userId: string, userEmail: string, organizationId: string, organizationName: string, ipAddress: string, userAgent: string, riskScore: number | null, changes: { __typename: 'AuditLogChangesType', affectedProjects: Array<string> | null, deletedCount: number | null, name: { __typename: 'AuditLogChangeType', from: string, to: string } | null, description: { __typename: 'AuditLogChangeType', from: string, to: string } | null, status: { __typename: 'AuditLogChangeType', from: string, to: string } | null } | null }> };
|
|
1609
|
+
|
|
1610
|
+
export type UserActivityAuditQueryVariables = Exact<{
|
|
1611
|
+
userId: Scalars['String']['input'];
|
|
1612
|
+
days?: InputMaybe<Scalars['Int']['input']>;
|
|
1613
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
1614
|
+
}>;
|
|
1615
|
+
|
|
1616
|
+
|
|
1617
|
+
export type UserActivityAuditQuery = { __typename: 'Query', userActivityAudit: Array<{ __typename: 'AuditLogEntry', id: string, timestamp: string, action: string, resource: string, resourceId: string, organizationId: string, organizationName: string, ipAddress: string, riskScore: number | null, changes: { __typename: 'AuditLogChangesType', affectedProjects: Array<string> | null, deletedCount: number | null, name: { __typename: 'AuditLogChangeType', from: string, to: string } | null, description: { __typename: 'AuditLogChangeType', from: string, to: string } | null, status: { __typename: 'AuditLogChangeType', from: string, to: string } | null } | null }> };
|
|
1618
|
+
|
|
1619
|
+
export type OrganizationActivityAuditQueryVariables = Exact<{
|
|
1620
|
+
organizationId: Scalars['String']['input'];
|
|
1621
|
+
days?: InputMaybe<Scalars['Int']['input']>;
|
|
1622
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
1623
|
+
}>;
|
|
1624
|
+
|
|
1625
|
+
|
|
1626
|
+
export type OrganizationActivityAuditQuery = { __typename: 'Query', organizationActivityAudit: Array<{ __typename: 'AuditLogEntry', id: string, timestamp: string, action: string, resource: string, resourceId: string, userId: string, userEmail: string, ipAddress: string, riskScore: number | null, changes: { __typename: 'AuditLogChangesType', affectedProjects: Array<string> | null, deletedCount: number | null, name: { __typename: 'AuditLogChangeType', from: string, to: string } | null, description: { __typename: 'AuditLogChangeType', from: string, to: string } | null, status: { __typename: 'AuditLogChangeType', from: string, to: string } | null } | null }> };
|
|
1627
|
+
|
|
1628
|
+
export type HighRiskActivitiesQueryVariables = Exact<{
|
|
1629
|
+
days?: InputMaybe<Scalars['Int']['input']>;
|
|
1630
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
1631
|
+
minRiskScore?: InputMaybe<Scalars['Int']['input']>;
|
|
1632
|
+
}>;
|
|
1633
|
+
|
|
1634
|
+
|
|
1635
|
+
export type HighRiskActivitiesQuery = { __typename: 'Query', highRiskActivities: Array<{ __typename: 'AuditLogEntry', id: string, timestamp: string, action: string, resource: string, resourceId: string, userId: string, userEmail: string, organizationId: string, organizationName: string, ipAddress: string, userAgent: string, riskScore: number | null, changes: { __typename: 'AuditLogChangesType', affectedProjects: Array<string> | null, deletedCount: number | null, name: { __typename: 'AuditLogChangeType', from: string, to: string } | null, description: { __typename: 'AuditLogChangeType', from: string, to: string } | null, status: { __typename: 'AuditLogChangeType', from: string, to: string } | null } | null }> };
|
|
1636
|
+
|
|
1637
|
+
export type SecurityEventsQueryVariables = Exact<{
|
|
1638
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
1639
|
+
resolved?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1640
|
+
severity?: InputMaybe<Scalars['String']['input']>;
|
|
1641
|
+
}>;
|
|
1642
|
+
|
|
1643
|
+
|
|
1644
|
+
export type SecurityEventsQuery = { __typename: 'Query', securityEvents: Array<{ __typename: 'SecurityEvent', id: string, type: string, severity: string, description: string, timestamp: string, userId: string, organizationId: string, ipAddress: string, resolved: boolean, metadata: { __typename: 'SecurityEventMetadataType', attemptCount: number | null, timeWindow: string | null, userAgent: string | null, newLocation: string | null, previousLocation: string | null, accountAge: string | null } }> };
|
|
1645
|
+
|
|
1646
|
+
export type EarlyAccessRegistrationsQueryVariables = Exact<{
|
|
1647
|
+
status?: InputMaybe<Scalars['String']['input']>;
|
|
1648
|
+
}>;
|
|
1649
|
+
|
|
1650
|
+
|
|
1651
|
+
export type EarlyAccessRegistrationsQuery = { __typename: 'Query', earlyAccessRegistrations: Array<{ __typename: 'EarlyAccessRegistration', id: string, email: string, contactName: string | null, companyName: string | null, role: string | null, teamSize: string | null, serviceCount: string | null, repoStructure: string | null, primaryLanguages: Array<string>, currentTools: Array<string>, aiTools: Array<string>, projectTypes: Array<string>, painPoints: Array<string>, comments: string | null, status: string, createdAt: string, inviteSentAt: string | null, inviteToken: string | null, organizationInviteId: string | null, notes: string | null, acceptedTerms: boolean, ageVerified: boolean, subscribeToNewsletter: boolean | null }> };
|
|
1652
|
+
|
|
1653
|
+
export type EarlyAccessRegistrationQueryVariables = Exact<{
|
|
1654
|
+
id: Scalars['String']['input'];
|
|
1655
|
+
}>;
|
|
1656
|
+
|
|
1657
|
+
|
|
1658
|
+
export type EarlyAccessRegistrationQuery = { __typename: 'Query', earlyAccessRegistration: { __typename: 'EarlyAccessRegistration', id: string, email: string, contactName: string | null, companyName: string | null, role: string | null, teamSize: string | null, serviceCount: string | null, repoStructure: string | null, primaryLanguages: Array<string>, currentTools: Array<string>, aiTools: Array<string>, projectTypes: Array<string>, painPoints: Array<string>, comments: string | null, status: string, createdAt: string, updatedAt: string, inviteSentAt: string | null, inviteToken: string | null, organizationInviteId: string | null, notes: string | null, acceptedTerms: boolean, ageVerified: boolean, subscribeToNewsletter: boolean | null, createdBy: string | null, updatedBy: string | null } | null };
|
|
1659
|
+
|
|
1660
|
+
export type EarlyAccessRegistrationCountQueryVariables = Exact<{
|
|
1661
|
+
status?: InputMaybe<Scalars['String']['input']>;
|
|
1662
|
+
}>;
|
|
1663
|
+
|
|
1664
|
+
|
|
1665
|
+
export type EarlyAccessRegistrationCountQuery = { __typename: 'Query', earlyAccessRegistrationCount: number };
|
|
1666
|
+
|
|
1667
|
+
export type CreateEarlyAccessRegistrationMutationVariables = Exact<{
|
|
1668
|
+
input: EarlyAccessRegistrationInput;
|
|
1669
|
+
}>;
|
|
1670
|
+
|
|
1671
|
+
|
|
1672
|
+
export type CreateEarlyAccessRegistrationMutation = { __typename: 'Mutation', createEarlyAccessRegistration: { __typename: 'EarlyAccessRegistration', id: string, email: string, contactName: string | null, companyName: string | null, status: string, createdAt: string } };
|
|
1673
|
+
|
|
1674
|
+
export type UpdateEarlyAccessRegistrationMutationVariables = Exact<{
|
|
1675
|
+
id: Scalars['String']['input'];
|
|
1676
|
+
input: UpdateEarlyAccessRegistrationInput;
|
|
1677
|
+
}>;
|
|
1678
|
+
|
|
1679
|
+
|
|
1680
|
+
export type UpdateEarlyAccessRegistrationMutation = { __typename: 'Mutation', updateEarlyAccessRegistration: { __typename: 'EarlyAccessRegistration', id: string, email: string, contactName: string | null, companyName: string | null, status: string, notes: string | null, updatedAt: string } | null };
|
|
1681
|
+
|
|
1682
|
+
export type GenerateInviteTokenMutationVariables = Exact<{
|
|
1683
|
+
earlyAccessId: Scalars['String']['input'];
|
|
1684
|
+
}>;
|
|
1685
|
+
|
|
1686
|
+
|
|
1687
|
+
export type GenerateInviteTokenMutation = { __typename: 'Mutation', generateInviteToken: { __typename: 'InviteResponse', success: boolean, inviteToken: string | null, inviteUrl: string | null, error: string | null } };
|
|
1688
|
+
|
|
1689
|
+
export type CreateInviteFromEarlyAccessMutationVariables = Exact<{
|
|
1690
|
+
input: CreateInviteFromEarlyAccessInput;
|
|
1691
|
+
}>;
|
|
1692
|
+
|
|
1693
|
+
|
|
1694
|
+
export type CreateInviteFromEarlyAccessMutation = { __typename: 'Mutation', createInviteFromEarlyAccess: { __typename: 'InviteResponse', success: boolean, inviteToken: string | null, inviteUrl: string | null, error: string | null } };
|
|
1695
|
+
|
|
1696
|
+
export type BillingPlansQueryVariables = Exact<{ [key: string]: never; }>;
|
|
1697
|
+
|
|
1698
|
+
|
|
1699
|
+
export type BillingPlansQuery = { __typename: 'Query', billingPlans: Array<{ __typename: 'BillingPlan', id: string, name: string, description: string, monthlyPrice: number, maxUsers: number, maxProjects: number, maxStorageGB: number, features: Array<string>, isActive: boolean }> };
|
|
1700
|
+
|
|
1701
|
+
export type CreateBillingPlanMutationVariables = Exact<{
|
|
1702
|
+
input: CreateBillingPlanInput;
|
|
1703
|
+
}>;
|
|
1704
|
+
|
|
1705
|
+
|
|
1706
|
+
export type CreateBillingPlanMutation = { __typename: 'Mutation', createBillingPlan: { __typename: 'BillingPlan', id: string, name: string, description: string, monthlyPrice: number, maxUsers: number, maxProjects: number, maxStorageGB: number, features: Array<string>, isActive: boolean } };
|
|
1707
|
+
|
|
1708
|
+
export type AllSubscriptionsQueryVariables = Exact<{
|
|
1709
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
1710
|
+
offset?: InputMaybe<Scalars['Int']['input']>;
|
|
1711
|
+
status?: InputMaybe<Scalars['String']['input']>;
|
|
1712
|
+
}>;
|
|
1713
|
+
|
|
1714
|
+
|
|
1715
|
+
export type AllSubscriptionsQuery = { __typename: 'Query', allSubscriptions: Array<{ __typename: 'BillingSubscription', id: string, organizationId: string, planId: string, status: string, monthlyAmount: number, currency: string, currentPeriodStart: string, currentPeriodEnd: string, trialEnd: string | null, cancelAtPeriodEnd: boolean | null, createdAt: string, updatedAt: string }> };
|
|
1716
|
+
|
|
1717
|
+
export type OrganizationSubscriptionQueryVariables = Exact<{
|
|
1718
|
+
organizationId: Scalars['String']['input'];
|
|
1719
|
+
}>;
|
|
1720
|
+
|
|
1721
|
+
|
|
1722
|
+
export type OrganizationSubscriptionQuery = { __typename: 'Query', organizationSubscription: { __typename: 'BillingSubscription', id: string, organizationId: string, planId: string, status: string, monthlyAmount: number, currency: string, currentPeriodStart: string, currentPeriodEnd: string, trialEnd: string | null, cancelAtPeriodEnd: boolean | null, createdAt: string, updatedAt: string } | null };
|
|
1723
|
+
|
|
1724
|
+
export type OrganizationUsageQueryVariables = Exact<{
|
|
1725
|
+
organizationId: Scalars['String']['input'];
|
|
1726
|
+
billingPeriod?: InputMaybe<Scalars['String']['input']>;
|
|
1727
|
+
}>;
|
|
1728
|
+
|
|
1729
|
+
|
|
1730
|
+
export type OrganizationUsageQuery = { __typename: 'Query', organizationUsage: { __typename: 'BillingUsage', organizationId: string, billingPeriod: string, userCount: number, projectCount: number, storageUsageGB: number, apiRequestCount: number, aiAnalysisCount: number, overage: number } };
|
|
1731
|
+
|
|
1732
|
+
export type OrganizationInvoicesQueryVariables = Exact<{
|
|
1733
|
+
organizationId: Scalars['String']['input'];
|
|
1734
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
1735
|
+
}>;
|
|
1736
|
+
|
|
1737
|
+
|
|
1738
|
+
export type OrganizationInvoicesQuery = { __typename: 'Query', organizationInvoices: Array<{ __typename: 'Invoice', id: string, organizationId: string, subscriptionId: string, invoiceNumber: string, amount: number, currency: string, status: string, createdAt: string, dueDate: string, paidAt: string | null, lineItems: Array<{ __typename: 'InvoiceLineItem', description: string, quantity: number, unitPrice: number, amount: number }> }> };
|
|
1739
|
+
|
|
1740
|
+
export type UpdateSubscriptionMutationVariables = Exact<{
|
|
1741
|
+
organizationId: Scalars['String']['input'];
|
|
1742
|
+
input: UpdateSubscriptionInput;
|
|
1743
|
+
}>;
|
|
1744
|
+
|
|
1745
|
+
|
|
1746
|
+
export type UpdateSubscriptionMutation = { __typename: 'Mutation', updateSubscription: { __typename: 'BillingSubscription', id: string, organizationId: string, planId: string, status: string, monthlyAmount: number, currentPeriodStart: string, currentPeriodEnd: string, trialEnd: string | null, cancelAtPeriodEnd: boolean | null, updatedAt: string } };
|
|
1747
|
+
|
|
1748
|
+
export type CancelSubscriptionMutationVariables = Exact<{
|
|
1749
|
+
organizationId: Scalars['String']['input'];
|
|
1750
|
+
cancelAtPeriodEnd?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1751
|
+
}>;
|
|
1752
|
+
|
|
1753
|
+
|
|
1754
|
+
export type CancelSubscriptionMutation = { __typename: 'Mutation', cancelSubscription: boolean };
|
|
1755
|
+
|
|
1756
|
+
export type FeatureFlagsQueryVariables = Exact<{ [key: string]: never; }>;
|
|
1757
|
+
|
|
1758
|
+
|
|
1759
|
+
export type FeatureFlagsQuery = { __typename: 'Query', featureFlags: Array<{ __typename: 'FeatureFlag', name: string, description: string, enabled: boolean, rolloutPercentage: number, enabledOrganizations: Array<string>, createdAt: string, updatedAt: string }> };
|
|
1760
|
+
|
|
1761
|
+
export type UpdateFeatureFlagMutationVariables = Exact<{
|
|
1762
|
+
name: Scalars['String']['input'];
|
|
1763
|
+
enabled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1764
|
+
rolloutPercentage?: InputMaybe<Scalars['Int']['input']>;
|
|
1765
|
+
enabledOrganizations?: InputMaybe<Array<Scalars['String']['input']> | Scalars['String']['input']>;
|
|
1766
|
+
}>;
|
|
1767
|
+
|
|
1768
|
+
|
|
1769
|
+
export type UpdateFeatureFlagMutation = { __typename: 'Mutation', updateFeatureFlag: { __typename: 'FeatureFlag', name: string, description: string, enabled: boolean, rolloutPercentage: number, enabledOrganizations: Array<string>, updatedAt: string } };
|
|
1770
|
+
|
|
1771
|
+
export type MaintenanceWindowsQueryVariables = Exact<{
|
|
1772
|
+
upcoming?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1773
|
+
}>;
|
|
1774
|
+
|
|
1775
|
+
|
|
1776
|
+
export type MaintenanceWindowsQuery = { __typename: 'Query', maintenanceWindows: Array<{ __typename: 'MaintenanceWindow', id: string, title: string, description: string, scheduledStart: string, scheduledEnd: string, status: string, affectedServices: string, notifyUsers: boolean, createdBy: string }> };
|
|
1777
|
+
|
|
1778
|
+
export type ScheduleMaintenanceWindowMutationVariables = Exact<{
|
|
1779
|
+
title: Scalars['String']['input'];
|
|
1780
|
+
description: Scalars['String']['input'];
|
|
1781
|
+
scheduledStart: Scalars['DateTimeISO']['input'];
|
|
1782
|
+
scheduledEnd: Scalars['DateTimeISO']['input'];
|
|
1783
|
+
affectedServices: Scalars['String']['input'];
|
|
1784
|
+
notifyUsers?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1785
|
+
}>;
|
|
1786
|
+
|
|
1787
|
+
|
|
1788
|
+
export type ScheduleMaintenanceWindowMutation = { __typename: 'Mutation', scheduleMaintenanceWindow: { __typename: 'MaintenanceWindow', id: string, title: string, description: string, scheduledStart: string, scheduledEnd: string, status: string, affectedServices: string, notifyUsers: boolean, createdBy: string } };
|
|
1789
|
+
|
|
1790
|
+
export type ApplicationLogsQueryVariables = Exact<{
|
|
1791
|
+
level?: InputMaybe<Scalars['String']['input']>;
|
|
1792
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
1793
|
+
since?: InputMaybe<Scalars['DateTimeISO']['input']>;
|
|
1794
|
+
}>;
|
|
1795
|
+
|
|
1796
|
+
|
|
1797
|
+
export type ApplicationLogsQuery = { __typename: 'Query', applicationLogs: Array<string> };
|
|
1798
|
+
|
|
1799
|
+
export type ClearAllCachesMutationVariables = Exact<{ [key: string]: never; }>;
|
|
1800
|
+
|
|
1801
|
+
|
|
1802
|
+
export type ClearAllCachesMutation = { __typename: 'Mutation', clearAllCaches: boolean };
|
|
1803
|
+
|
|
1804
|
+
export type ForceGarbageCollectionMutationVariables = Exact<{ [key: string]: never; }>;
|
|
1805
|
+
|
|
1806
|
+
|
|
1807
|
+
export type ForceGarbageCollectionMutation = { __typename: 'Mutation', forceGarbageCollection: boolean };
|
|
1808
|
+
|
|
1809
|
+
export type ExecuteDatabaseMaintenanceMutationVariables = Exact<{
|
|
1810
|
+
operation: Scalars['String']['input'];
|
|
1811
|
+
}>;
|
|
1812
|
+
|
|
1813
|
+
|
|
1814
|
+
export type ExecuteDatabaseMaintenanceMutation = { __typename: 'Mutation', executeDatabaseMaintenance: boolean };
|
|
1815
|
+
|
|
1816
|
+
export type ComplianceReportQueryVariables = Exact<{
|
|
1817
|
+
organizationId?: InputMaybe<Scalars['String']['input']>;
|
|
1818
|
+
startDate: Scalars['DateTimeISO']['input'];
|
|
1819
|
+
endDate: Scalars['DateTimeISO']['input'];
|
|
1820
|
+
}>;
|
|
1821
|
+
|
|
1822
|
+
|
|
1823
|
+
export type ComplianceReportQuery = { __typename: 'Query', complianceReport: string };
|
|
1824
|
+
|
|
1825
|
+
export type FeatureUsageStatsQueryVariables = Exact<{ [key: string]: never; }>;
|
|
1826
|
+
|
|
1827
|
+
|
|
1828
|
+
export type FeatureUsageStatsQuery = { __typename: 'Query', featureUsageStats: string };
|
|
1829
|
+
|
|
1830
|
+
export type RevenueMetricsQueryVariables = Exact<{
|
|
1831
|
+
months?: InputMaybe<Scalars['Int']['input']>;
|
|
1832
|
+
}>;
|
|
1833
|
+
|
|
1834
|
+
|
|
1835
|
+
export type RevenueMetricsQuery = { __typename: 'Query', revenueMetrics: string };
|
|
1836
|
+
|
|
1837
|
+
export type RevenueAnalyticsQueryVariables = Exact<{
|
|
1838
|
+
months?: InputMaybe<Scalars['Int']['input']>;
|
|
1839
|
+
}>;
|
|
1840
|
+
|
|
1841
|
+
|
|
1842
|
+
export type RevenueAnalyticsQuery = { __typename: 'Query', revenueAnalytics: string };
|
|
1843
|
+
|
|
1844
|
+
export type GetUserActivityQueryVariables = Exact<{
|
|
1845
|
+
userId: Scalars['String']['input'];
|
|
1846
|
+
days?: InputMaybe<Scalars['Int']['input']>;
|
|
1847
|
+
}>;
|
|
1848
|
+
|
|
1849
|
+
|
|
1850
|
+
export type GetUserActivityQuery = { __typename: 'Query', getUserActivity: string };
|
|
1851
|
+
|
|
1852
|
+
|
|
1853
|
+
export const PlatformLoginDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"PlatformLogin"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"LoginInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"platformLogin"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"token"}},{"kind":"Field","name":{"kind":"Name","value":"refreshToken"}},{"kind":"Field","name":{"kind":"Name","value":"expiresIn"}},{"kind":"Field","name":{"kind":"Name","value":"tokenType"}},{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"email"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}},{"kind":"Field","name":{"kind":"Name","value":"fullName"}},{"kind":"Field","name":{"kind":"Name","value":"displayName"}},{"kind":"Field","name":{"kind":"Name","value":"platformRoles"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"role"}},{"kind":"Field","name":{"kind":"Name","value":"grantedAt"}},{"kind":"Field","name":{"kind":"Name","value":"expiresAt"}},{"kind":"Field","name":{"kind":"Name","value":"reason"}},{"kind":"Field","name":{"kind":"Name","value":"grantedBy"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"fullName"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"canAccessInternal"}},{"kind":"Field","name":{"kind":"Name","value":"canSupportOrganizations"}},{"kind":"Field","name":{"kind":"Name","value":"canManageBilling"}},{"kind":"Field","name":{"kind":"Name","value":"canAccessAudits"}}]}}]}}]}}]} as unknown as DocumentNode;
|
|
1854
|
+
export type PlatformLoginMutationFn = Apollo.MutationFunction<PlatformLoginMutation, PlatformLoginMutationVariables>;
|
|
1855
|
+
|
|
1856
|
+
/**
|
|
1857
|
+
* __usePlatformLoginMutation__
|
|
1858
|
+
*
|
|
1859
|
+
* To run a mutation, you first call `usePlatformLoginMutation` within a React component and pass it any options that fit your needs.
|
|
1860
|
+
* When your component renders, `usePlatformLoginMutation` returns a tuple that includes:
|
|
1861
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1862
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1863
|
+
*
|
|
1864
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
1865
|
+
*
|
|
1866
|
+
* @example
|
|
1867
|
+
* const [platformLoginMutation, { data, loading, error }] = usePlatformLoginMutation({
|
|
1868
|
+
* variables: {
|
|
1869
|
+
* input: // value for 'input'
|
|
1870
|
+
* },
|
|
1871
|
+
* });
|
|
1872
|
+
*/
|
|
1873
|
+
export function usePlatformLoginMutation(baseOptions?: Apollo.MutationHookOptions<PlatformLoginMutation, PlatformLoginMutationVariables>) {
|
|
1874
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
1875
|
+
return Apollo.useMutation<PlatformLoginMutation, PlatformLoginMutationVariables>(PlatformLoginDocument, options);
|
|
1876
|
+
}
|
|
1877
|
+
export type PlatformLoginMutationHookResult = ReturnType<typeof usePlatformLoginMutation>;
|
|
1878
|
+
export type PlatformLoginMutationResult = Apollo.MutationResult<PlatformLoginMutation>;
|
|
1879
|
+
export type PlatformLoginMutationOptions = Apollo.BaseMutationOptions<PlatformLoginMutation, PlatformLoginMutationVariables>;
|
|
1880
|
+
export const PlatformMeDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"PlatformMe"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"platformMe"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"email"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}},{"kind":"Field","name":{"kind":"Name","value":"fullName"}},{"kind":"Field","name":{"kind":"Name","value":"displayName"}},{"kind":"Field","name":{"kind":"Name","value":"permissions"}},{"kind":"Field","name":{"kind":"Name","value":"platformRoles"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"role"}},{"kind":"Field","name":{"kind":"Name","value":"assignedAt"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}}]}},{"kind":"Field","name":{"kind":"Name","value":"canAccessInternal"}},{"kind":"Field","name":{"kind":"Name","value":"canSupportOrganizations"}},{"kind":"Field","name":{"kind":"Name","value":"canManageBilling"}},{"kind":"Field","name":{"kind":"Name","value":"canAccessAudits"}}]}}]}}]} as unknown as DocumentNode;
|
|
1881
|
+
|
|
1882
|
+
/**
|
|
1883
|
+
* __usePlatformMeQuery__
|
|
1884
|
+
*
|
|
1885
|
+
* To run a query within a React component, call `usePlatformMeQuery` and pass it any options that fit your needs.
|
|
1886
|
+
* When your component renders, `usePlatformMeQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1887
|
+
* you can use to render your UI.
|
|
1888
|
+
*
|
|
1889
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
1890
|
+
*
|
|
1891
|
+
* @example
|
|
1892
|
+
* const { data, loading, error } = usePlatformMeQuery({
|
|
1893
|
+
* variables: {
|
|
1894
|
+
* },
|
|
1895
|
+
* });
|
|
1896
|
+
*/
|
|
1897
|
+
export function usePlatformMeQuery(baseOptions?: Apollo.QueryHookOptions<PlatformMeQuery, PlatformMeQueryVariables>) {
|
|
1898
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
1899
|
+
return Apollo.useQuery<PlatformMeQuery, PlatformMeQueryVariables>(PlatformMeDocument, options);
|
|
1900
|
+
}
|
|
1901
|
+
export function usePlatformMeLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<PlatformMeQuery, PlatformMeQueryVariables>) {
|
|
1902
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
1903
|
+
return Apollo.useLazyQuery<PlatformMeQuery, PlatformMeQueryVariables>(PlatformMeDocument, options);
|
|
1904
|
+
}
|
|
1905
|
+
export function usePlatformMeSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<PlatformMeQuery, PlatformMeQueryVariables>) {
|
|
1906
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
|
|
1907
|
+
return Apollo.useSuspenseQuery<PlatformMeQuery, PlatformMeQueryVariables>(PlatformMeDocument, options);
|
|
1908
|
+
}
|
|
1909
|
+
export type PlatformMeQueryHookResult = ReturnType<typeof usePlatformMeQuery>;
|
|
1910
|
+
export type PlatformMeLazyQueryHookResult = ReturnType<typeof usePlatformMeLazyQuery>;
|
|
1911
|
+
export type PlatformMeSuspenseQueryHookResult = ReturnType<typeof usePlatformMeSuspenseQuery>;
|
|
1912
|
+
export type PlatformMeQueryResult = Apollo.QueryResult<PlatformMeQuery, PlatformMeQueryVariables>;
|
|
1913
|
+
export const PlatformStatsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"PlatformStats"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"platformStats"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalUsers"}},{"kind":"Field","name":{"kind":"Name","value":"activeUsers"}},{"kind":"Field","name":{"kind":"Name","value":"totalOrganizations"}},{"kind":"Field","name":{"kind":"Name","value":"activeOrganizations"}},{"kind":"Field","name":{"kind":"Name","value":"totalProjects"}},{"kind":"Field","name":{"kind":"Name","value":"totalStories"}},{"kind":"Field","name":{"kind":"Name","value":"totalTasks"}},{"kind":"Field","name":{"kind":"Name","value":"completedTasks"}},{"kind":"Field","name":{"kind":"Name","value":"avgUsersPerOrganization"}},{"kind":"Field","name":{"kind":"Name","value":"avgProjectsPerOrganization"}}]}}]}}]} as unknown as DocumentNode;
|
|
1914
|
+
|
|
1915
|
+
/**
|
|
1916
|
+
* __usePlatformStatsQuery__
|
|
1917
|
+
*
|
|
1918
|
+
* To run a query within a React component, call `usePlatformStatsQuery` and pass it any options that fit your needs.
|
|
1919
|
+
* When your component renders, `usePlatformStatsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1920
|
+
* you can use to render your UI.
|
|
1921
|
+
*
|
|
1922
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
1923
|
+
*
|
|
1924
|
+
* @example
|
|
1925
|
+
* const { data, loading, error } = usePlatformStatsQuery({
|
|
1926
|
+
* variables: {
|
|
1927
|
+
* },
|
|
1928
|
+
* });
|
|
1929
|
+
*/
|
|
1930
|
+
export function usePlatformStatsQuery(baseOptions?: Apollo.QueryHookOptions<PlatformStatsQuery, PlatformStatsQueryVariables>) {
|
|
1931
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
1932
|
+
return Apollo.useQuery<PlatformStatsQuery, PlatformStatsQueryVariables>(PlatformStatsDocument, options);
|
|
1933
|
+
}
|
|
1934
|
+
export function usePlatformStatsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<PlatformStatsQuery, PlatformStatsQueryVariables>) {
|
|
1935
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
1936
|
+
return Apollo.useLazyQuery<PlatformStatsQuery, PlatformStatsQueryVariables>(PlatformStatsDocument, options);
|
|
1937
|
+
}
|
|
1938
|
+
export function usePlatformStatsSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<PlatformStatsQuery, PlatformStatsQueryVariables>) {
|
|
1939
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
|
|
1940
|
+
return Apollo.useSuspenseQuery<PlatformStatsQuery, PlatformStatsQueryVariables>(PlatformStatsDocument, options);
|
|
1941
|
+
}
|
|
1942
|
+
export type PlatformStatsQueryHookResult = ReturnType<typeof usePlatformStatsQuery>;
|
|
1943
|
+
export type PlatformStatsLazyQueryHookResult = ReturnType<typeof usePlatformStatsLazyQuery>;
|
|
1944
|
+
export type PlatformStatsSuspenseQueryHookResult = ReturnType<typeof usePlatformStatsSuspenseQuery>;
|
|
1945
|
+
export type PlatformStatsQueryResult = Apollo.QueryResult<PlatformStatsQuery, PlatformStatsQueryVariables>;
|
|
1946
|
+
export const SystemHealthDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"SystemHealth"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"systemHealth"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"dbConnectionPoolUsage"}},{"kind":"Field","name":{"kind":"Name","value":"avgResponseTime"}},{"kind":"Field","name":{"kind":"Name","value":"errorRate"}},{"kind":"Field","name":{"kind":"Name","value":"requestsPerMinute"}},{"kind":"Field","name":{"kind":"Name","value":"memoryUsageMB"}},{"kind":"Field","name":{"kind":"Name","value":"cpuUsage"}}]}}]}}]} as unknown as DocumentNode;
|
|
1947
|
+
|
|
1948
|
+
/**
|
|
1949
|
+
* __useSystemHealthQuery__
|
|
1950
|
+
*
|
|
1951
|
+
* To run a query within a React component, call `useSystemHealthQuery` and pass it any options that fit your needs.
|
|
1952
|
+
* When your component renders, `useSystemHealthQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1953
|
+
* you can use to render your UI.
|
|
1954
|
+
*
|
|
1955
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
1956
|
+
*
|
|
1957
|
+
* @example
|
|
1958
|
+
* const { data, loading, error } = useSystemHealthQuery({
|
|
1959
|
+
* variables: {
|
|
1960
|
+
* },
|
|
1961
|
+
* });
|
|
1962
|
+
*/
|
|
1963
|
+
export function useSystemHealthQuery(baseOptions?: Apollo.QueryHookOptions<SystemHealthQuery, SystemHealthQueryVariables>) {
|
|
1964
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
1965
|
+
return Apollo.useQuery<SystemHealthQuery, SystemHealthQueryVariables>(SystemHealthDocument, options);
|
|
1966
|
+
}
|
|
1967
|
+
export function useSystemHealthLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<SystemHealthQuery, SystemHealthQueryVariables>) {
|
|
1968
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
1969
|
+
return Apollo.useLazyQuery<SystemHealthQuery, SystemHealthQueryVariables>(SystemHealthDocument, options);
|
|
1970
|
+
}
|
|
1971
|
+
export function useSystemHealthSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<SystemHealthQuery, SystemHealthQueryVariables>) {
|
|
1972
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
|
|
1973
|
+
return Apollo.useSuspenseQuery<SystemHealthQuery, SystemHealthQueryVariables>(SystemHealthDocument, options);
|
|
1974
|
+
}
|
|
1975
|
+
export type SystemHealthQueryHookResult = ReturnType<typeof useSystemHealthQuery>;
|
|
1976
|
+
export type SystemHealthLazyQueryHookResult = ReturnType<typeof useSystemHealthLazyQuery>;
|
|
1977
|
+
export type SystemHealthSuspenseQueryHookResult = ReturnType<typeof useSystemHealthSuspenseQuery>;
|
|
1978
|
+
export type SystemHealthQueryResult = Apollo.QueryResult<SystemHealthQuery, SystemHealthQueryVariables>;
|
|
1979
|
+
export const SystemInfoDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"SystemInfo"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"systemInfo"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"version"}},{"kind":"Field","name":{"kind":"Name","value":"buildNumber"}},{"kind":"Field","name":{"kind":"Name","value":"environment"}},{"kind":"Field","name":{"kind":"Name","value":"nodeVersion"}},{"kind":"Field","name":{"kind":"Name","value":"databaseVersion"}},{"kind":"Field","name":{"kind":"Name","value":"redisVersion"}},{"kind":"Field","name":{"kind":"Name","value":"uptime"}},{"kind":"Field","name":{"kind":"Name","value":"lastDeployment"}},{"kind":"Field","name":{"kind":"Name","value":"redisKeyCount"}},{"kind":"Field","name":{"kind":"Name","value":"redisMemoryUsage"}},{"kind":"Field","name":{"kind":"Name","value":"databaseSize"}}]}}]}}]} as unknown as DocumentNode;
|
|
1980
|
+
|
|
1981
|
+
/**
|
|
1982
|
+
* __useSystemInfoQuery__
|
|
1983
|
+
*
|
|
1984
|
+
* To run a query within a React component, call `useSystemInfoQuery` and pass it any options that fit your needs.
|
|
1985
|
+
* When your component renders, `useSystemInfoQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1986
|
+
* you can use to render your UI.
|
|
1987
|
+
*
|
|
1988
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
1989
|
+
*
|
|
1990
|
+
* @example
|
|
1991
|
+
* const { data, loading, error } = useSystemInfoQuery({
|
|
1992
|
+
* variables: {
|
|
1993
|
+
* },
|
|
1994
|
+
* });
|
|
1995
|
+
*/
|
|
1996
|
+
export function useSystemInfoQuery(baseOptions?: Apollo.QueryHookOptions<SystemInfoQuery, SystemInfoQueryVariables>) {
|
|
1997
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
1998
|
+
return Apollo.useQuery<SystemInfoQuery, SystemInfoQueryVariables>(SystemInfoDocument, options);
|
|
1999
|
+
}
|
|
2000
|
+
export function useSystemInfoLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<SystemInfoQuery, SystemInfoQueryVariables>) {
|
|
2001
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2002
|
+
return Apollo.useLazyQuery<SystemInfoQuery, SystemInfoQueryVariables>(SystemInfoDocument, options);
|
|
2003
|
+
}
|
|
2004
|
+
export function useSystemInfoSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<SystemInfoQuery, SystemInfoQueryVariables>) {
|
|
2005
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
|
|
2006
|
+
return Apollo.useSuspenseQuery<SystemInfoQuery, SystemInfoQueryVariables>(SystemInfoDocument, options);
|
|
2007
|
+
}
|
|
2008
|
+
export type SystemInfoQueryHookResult = ReturnType<typeof useSystemInfoQuery>;
|
|
2009
|
+
export type SystemInfoLazyQueryHookResult = ReturnType<typeof useSystemInfoLazyQuery>;
|
|
2010
|
+
export type SystemInfoSuspenseQueryHookResult = ReturnType<typeof useSystemInfoSuspenseQuery>;
|
|
2011
|
+
export type SystemInfoQueryResult = Apollo.QueryResult<SystemInfoQuery, SystemInfoQueryVariables>;
|
|
2012
|
+
export const SearchUsersDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"SearchUsers"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"search"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"UserSearchInput"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"limit"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"offset"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"searchUsers"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"search"},"value":{"kind":"Variable","name":{"kind":"Name","value":"search"}}},{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"Variable","name":{"kind":"Name","value":"limit"}}},{"kind":"Argument","name":{"kind":"Name","value":"offset"},"value":{"kind":"Variable","name":{"kind":"Name","value":"offset"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"email"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}},{"kind":"Field","name":{"kind":"Name","value":"fullName"}},{"kind":"Field","name":{"kind":"Name","value":"displayName"}},{"kind":"Field","name":{"kind":"Name","value":"role"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"lastLoginAt"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"projectCount"}},{"kind":"Field","name":{"kind":"Name","value":"storyCount"}},{"kind":"Field","name":{"kind":"Name","value":"taskCount"}},{"kind":"Field","name":{"kind":"Name","value":"organizationMemberships"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"role"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"joinedAt"}},{"kind":"Field","name":{"kind":"Name","value":"lastAccessedAt"}},{"kind":"Field","name":{"kind":"Name","value":"organization"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"subdomain"}},{"kind":"Field","name":{"kind":"Name","value":"status"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"platformRoles"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"role"}},{"kind":"Field","name":{"kind":"Name","value":"grantedAt"}},{"kind":"Field","name":{"kind":"Name","value":"expiresAt"}},{"kind":"Field","name":{"kind":"Name","value":"grantedBy"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"fullName"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"canAccessInternal"}},{"kind":"Field","name":{"kind":"Name","value":"canSupportOrganizations"}},{"kind":"Field","name":{"kind":"Name","value":"canManageBilling"}},{"kind":"Field","name":{"kind":"Name","value":"canAccessAudits"}}]}}]}}]} as unknown as DocumentNode;
|
|
2013
|
+
|
|
2014
|
+
/**
|
|
2015
|
+
* __useSearchUsersQuery__
|
|
2016
|
+
*
|
|
2017
|
+
* To run a query within a React component, call `useSearchUsersQuery` and pass it any options that fit your needs.
|
|
2018
|
+
* When your component renders, `useSearchUsersQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2019
|
+
* you can use to render your UI.
|
|
2020
|
+
*
|
|
2021
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
2022
|
+
*
|
|
2023
|
+
* @example
|
|
2024
|
+
* const { data, loading, error } = useSearchUsersQuery({
|
|
2025
|
+
* variables: {
|
|
2026
|
+
* search: // value for 'search'
|
|
2027
|
+
* limit: // value for 'limit'
|
|
2028
|
+
* offset: // value for 'offset'
|
|
2029
|
+
* },
|
|
2030
|
+
* });
|
|
2031
|
+
*/
|
|
2032
|
+
export function useSearchUsersQuery(baseOptions?: Apollo.QueryHookOptions<SearchUsersQuery, SearchUsersQueryVariables>) {
|
|
2033
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2034
|
+
return Apollo.useQuery<SearchUsersQuery, SearchUsersQueryVariables>(SearchUsersDocument, options);
|
|
2035
|
+
}
|
|
2036
|
+
export function useSearchUsersLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<SearchUsersQuery, SearchUsersQueryVariables>) {
|
|
2037
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2038
|
+
return Apollo.useLazyQuery<SearchUsersQuery, SearchUsersQueryVariables>(SearchUsersDocument, options);
|
|
2039
|
+
}
|
|
2040
|
+
export function useSearchUsersSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<SearchUsersQuery, SearchUsersQueryVariables>) {
|
|
2041
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
|
|
2042
|
+
return Apollo.useSuspenseQuery<SearchUsersQuery, SearchUsersQueryVariables>(SearchUsersDocument, options);
|
|
2043
|
+
}
|
|
2044
|
+
export type SearchUsersQueryHookResult = ReturnType<typeof useSearchUsersQuery>;
|
|
2045
|
+
export type SearchUsersLazyQueryHookResult = ReturnType<typeof useSearchUsersLazyQuery>;
|
|
2046
|
+
export type SearchUsersSuspenseQueryHookResult = ReturnType<typeof useSearchUsersSuspenseQuery>;
|
|
2047
|
+
export type SearchUsersQueryResult = Apollo.QueryResult<SearchUsersQuery, SearchUsersQueryVariables>;
|
|
2048
|
+
export const UserDetailsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"UserDetails"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"userDetails"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"email"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}},{"kind":"Field","name":{"kind":"Name","value":"fullName"}},{"kind":"Field","name":{"kind":"Name","value":"displayName"}},{"kind":"Field","name":{"kind":"Name","value":"role"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"lastLoginAt"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"projectCount"}},{"kind":"Field","name":{"kind":"Name","value":"storyCount"}},{"kind":"Field","name":{"kind":"Name","value":"taskCount"}},{"kind":"Field","name":{"kind":"Name","value":"organizationMemberships"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"role"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"joinedAt"}},{"kind":"Field","name":{"kind":"Name","value":"lastAccessedAt"}},{"kind":"Field","name":{"kind":"Name","value":"invitedAt"}},{"kind":"Field","name":{"kind":"Name","value":"invitedBy"}},{"kind":"Field","name":{"kind":"Name","value":"invitationToken"}},{"kind":"Field","name":{"kind":"Name","value":"organization"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"subdomain"}},{"kind":"Field","name":{"kind":"Name","value":"fullDomain"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"platformRoles"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"role"}},{"kind":"Field","name":{"kind":"Name","value":"grantedAt"}},{"kind":"Field","name":{"kind":"Name","value":"expiresAt"}},{"kind":"Field","name":{"kind":"Name","value":"reason"}},{"kind":"Field","name":{"kind":"Name","value":"grantedBy"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"fullName"}},{"kind":"Field","name":{"kind":"Name","value":"email"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"canAccessInternal"}},{"kind":"Field","name":{"kind":"Name","value":"canSupportOrganizations"}},{"kind":"Field","name":{"kind":"Name","value":"canManageBilling"}},{"kind":"Field","name":{"kind":"Name","value":"canAccessAudits"}}]}}]}}]} as unknown as DocumentNode;
|
|
2049
|
+
|
|
2050
|
+
/**
|
|
2051
|
+
* __useUserDetailsQuery__
|
|
2052
|
+
*
|
|
2053
|
+
* To run a query within a React component, call `useUserDetailsQuery` and pass it any options that fit your needs.
|
|
2054
|
+
* When your component renders, `useUserDetailsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2055
|
+
* you can use to render your UI.
|
|
2056
|
+
*
|
|
2057
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
2058
|
+
*
|
|
2059
|
+
* @example
|
|
2060
|
+
* const { data, loading, error } = useUserDetailsQuery({
|
|
2061
|
+
* variables: {
|
|
2062
|
+
* id: // value for 'id'
|
|
2063
|
+
* },
|
|
2064
|
+
* });
|
|
2065
|
+
*/
|
|
2066
|
+
export function useUserDetailsQuery(baseOptions: Apollo.QueryHookOptions<UserDetailsQuery, UserDetailsQueryVariables> & ({ variables: UserDetailsQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {
|
|
2067
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2068
|
+
return Apollo.useQuery<UserDetailsQuery, UserDetailsQueryVariables>(UserDetailsDocument, options);
|
|
2069
|
+
}
|
|
2070
|
+
export function useUserDetailsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<UserDetailsQuery, UserDetailsQueryVariables>) {
|
|
2071
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2072
|
+
return Apollo.useLazyQuery<UserDetailsQuery, UserDetailsQueryVariables>(UserDetailsDocument, options);
|
|
2073
|
+
}
|
|
2074
|
+
export function useUserDetailsSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<UserDetailsQuery, UserDetailsQueryVariables>) {
|
|
2075
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
|
|
2076
|
+
return Apollo.useSuspenseQuery<UserDetailsQuery, UserDetailsQueryVariables>(UserDetailsDocument, options);
|
|
2077
|
+
}
|
|
2078
|
+
export type UserDetailsQueryHookResult = ReturnType<typeof useUserDetailsQuery>;
|
|
2079
|
+
export type UserDetailsLazyQueryHookResult = ReturnType<typeof useUserDetailsLazyQuery>;
|
|
2080
|
+
export type UserDetailsSuspenseQueryHookResult = ReturnType<typeof useUserDetailsSuspenseQuery>;
|
|
2081
|
+
export type UserDetailsQueryResult = Apollo.QueryResult<UserDetailsQuery, UserDetailsQueryVariables>;
|
|
2082
|
+
export const UpdateUserDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateUser"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateUserInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateUser"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}},{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"email"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}},{"kind":"Field","name":{"kind":"Name","value":"fullName"}},{"kind":"Field","name":{"kind":"Name","value":"displayName"}},{"kind":"Field","name":{"kind":"Name","value":"role"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]}}]} as unknown as DocumentNode;
|
|
2083
|
+
export type UpdateUserMutationFn = Apollo.MutationFunction<UpdateUserMutation, UpdateUserMutationVariables>;
|
|
2084
|
+
|
|
2085
|
+
/**
|
|
2086
|
+
* __useUpdateUserMutation__
|
|
2087
|
+
*
|
|
2088
|
+
* To run a mutation, you first call `useUpdateUserMutation` within a React component and pass it any options that fit your needs.
|
|
2089
|
+
* When your component renders, `useUpdateUserMutation` returns a tuple that includes:
|
|
2090
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
2091
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
2092
|
+
*
|
|
2093
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
2094
|
+
*
|
|
2095
|
+
* @example
|
|
2096
|
+
* const [updateUserMutation, { data, loading, error }] = useUpdateUserMutation({
|
|
2097
|
+
* variables: {
|
|
2098
|
+
* id: // value for 'id'
|
|
2099
|
+
* input: // value for 'input'
|
|
2100
|
+
* },
|
|
2101
|
+
* });
|
|
2102
|
+
*/
|
|
2103
|
+
export function useUpdateUserMutation(baseOptions?: Apollo.MutationHookOptions<UpdateUserMutation, UpdateUserMutationVariables>) {
|
|
2104
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2105
|
+
return Apollo.useMutation<UpdateUserMutation, UpdateUserMutationVariables>(UpdateUserDocument, options);
|
|
2106
|
+
}
|
|
2107
|
+
export type UpdateUserMutationHookResult = ReturnType<typeof useUpdateUserMutation>;
|
|
2108
|
+
export type UpdateUserMutationResult = Apollo.MutationResult<UpdateUserMutation>;
|
|
2109
|
+
export type UpdateUserMutationOptions = Apollo.BaseMutationOptions<UpdateUserMutation, UpdateUserMutationVariables>;
|
|
2110
|
+
export const DisableUserDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DisableUser"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"reason"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"disableUser"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}},{"kind":"Argument","name":{"kind":"Name","value":"reason"},"value":{"kind":"Variable","name":{"kind":"Name","value":"reason"}}}]}]}}]} as unknown as DocumentNode;
|
|
2111
|
+
export type DisableUserMutationFn = Apollo.MutationFunction<DisableUserMutation, DisableUserMutationVariables>;
|
|
2112
|
+
|
|
2113
|
+
/**
|
|
2114
|
+
* __useDisableUserMutation__
|
|
2115
|
+
*
|
|
2116
|
+
* To run a mutation, you first call `useDisableUserMutation` within a React component and pass it any options that fit your needs.
|
|
2117
|
+
* When your component renders, `useDisableUserMutation` returns a tuple that includes:
|
|
2118
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
2119
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
2120
|
+
*
|
|
2121
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
2122
|
+
*
|
|
2123
|
+
* @example
|
|
2124
|
+
* const [disableUserMutation, { data, loading, error }] = useDisableUserMutation({
|
|
2125
|
+
* variables: {
|
|
2126
|
+
* id: // value for 'id'
|
|
2127
|
+
* reason: // value for 'reason'
|
|
2128
|
+
* },
|
|
2129
|
+
* });
|
|
2130
|
+
*/
|
|
2131
|
+
export function useDisableUserMutation(baseOptions?: Apollo.MutationHookOptions<DisableUserMutation, DisableUserMutationVariables>) {
|
|
2132
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2133
|
+
return Apollo.useMutation<DisableUserMutation, DisableUserMutationVariables>(DisableUserDocument, options);
|
|
2134
|
+
}
|
|
2135
|
+
export type DisableUserMutationHookResult = ReturnType<typeof useDisableUserMutation>;
|
|
2136
|
+
export type DisableUserMutationResult = Apollo.MutationResult<DisableUserMutation>;
|
|
2137
|
+
export type DisableUserMutationOptions = Apollo.BaseMutationOptions<DisableUserMutation, DisableUserMutationVariables>;
|
|
2138
|
+
export const AllOrganizationsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"AllOrganizations"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"limit"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"offset"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"search"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"status"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"OrganizationStatus"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"allOrganizations"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"Variable","name":{"kind":"Name","value":"limit"}}},{"kind":"Argument","name":{"kind":"Name","value":"offset"},"value":{"kind":"Variable","name":{"kind":"Name","value":"offset"}}},{"kind":"Argument","name":{"kind":"Name","value":"search"},"value":{"kind":"Variable","name":{"kind":"Name","value":"search"}}},{"kind":"Argument","name":{"kind":"Name","value":"status"},"value":{"kind":"Variable","name":{"kind":"Name","value":"status"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"subdomain"}},{"kind":"Field","name":{"kind":"Name","value":"fullDomain"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"settings"}}]}}]}}]} as unknown as DocumentNode;
|
|
2139
|
+
|
|
2140
|
+
/**
|
|
2141
|
+
* __useAllOrganizationsQuery__
|
|
2142
|
+
*
|
|
2143
|
+
* To run a query within a React component, call `useAllOrganizationsQuery` and pass it any options that fit your needs.
|
|
2144
|
+
* When your component renders, `useAllOrganizationsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2145
|
+
* you can use to render your UI.
|
|
2146
|
+
*
|
|
2147
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
2148
|
+
*
|
|
2149
|
+
* @example
|
|
2150
|
+
* const { data, loading, error } = useAllOrganizationsQuery({
|
|
2151
|
+
* variables: {
|
|
2152
|
+
* limit: // value for 'limit'
|
|
2153
|
+
* offset: // value for 'offset'
|
|
2154
|
+
* search: // value for 'search'
|
|
2155
|
+
* status: // value for 'status'
|
|
2156
|
+
* },
|
|
2157
|
+
* });
|
|
2158
|
+
*/
|
|
2159
|
+
export function useAllOrganizationsQuery(baseOptions?: Apollo.QueryHookOptions<AllOrganizationsQuery, AllOrganizationsQueryVariables>) {
|
|
2160
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2161
|
+
return Apollo.useQuery<AllOrganizationsQuery, AllOrganizationsQueryVariables>(AllOrganizationsDocument, options);
|
|
2162
|
+
}
|
|
2163
|
+
export function useAllOrganizationsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<AllOrganizationsQuery, AllOrganizationsQueryVariables>) {
|
|
2164
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2165
|
+
return Apollo.useLazyQuery<AllOrganizationsQuery, AllOrganizationsQueryVariables>(AllOrganizationsDocument, options);
|
|
2166
|
+
}
|
|
2167
|
+
export function useAllOrganizationsSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<AllOrganizationsQuery, AllOrganizationsQueryVariables>) {
|
|
2168
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
|
|
2169
|
+
return Apollo.useSuspenseQuery<AllOrganizationsQuery, AllOrganizationsQueryVariables>(AllOrganizationsDocument, options);
|
|
2170
|
+
}
|
|
2171
|
+
export type AllOrganizationsQueryHookResult = ReturnType<typeof useAllOrganizationsQuery>;
|
|
2172
|
+
export type AllOrganizationsLazyQueryHookResult = ReturnType<typeof useAllOrganizationsLazyQuery>;
|
|
2173
|
+
export type AllOrganizationsSuspenseQueryHookResult = ReturnType<typeof useAllOrganizationsSuspenseQuery>;
|
|
2174
|
+
export type AllOrganizationsQueryResult = Apollo.QueryResult<AllOrganizationsQuery, AllOrganizationsQueryVariables>;
|
|
2175
|
+
export const OrganizationByIdDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"OrganizationById"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"organization"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"subdomain"}},{"kind":"Field","name":{"kind":"Name","value":"fullDomain"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"users"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}},{"kind":"Field","name":{"kind":"Name","value":"fullName"}},{"kind":"Field","name":{"kind":"Name","value":"displayName"}},{"kind":"Field","name":{"kind":"Name","value":"email"}},{"kind":"Field","name":{"kind":"Name","value":"role"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"lastLoginAt"}}]}},{"kind":"Field","name":{"kind":"Name","value":"recentProjects"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"isArchived"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}}]}},{"kind":"Field","name":{"kind":"Name","value":"stats"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"userCount"}},{"kind":"Field","name":{"kind":"Name","value":"projectCount"}},{"kind":"Field","name":{"kind":"Name","value":"storageUsageGB"}},{"kind":"Field","name":{"kind":"Name","value":"monthlyApiCalls"}},{"kind":"Field","name":{"kind":"Name","value":"taskCount"}},{"kind":"Field","name":{"kind":"Name","value":"storyCount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"settings"}},{"kind":"Field","name":{"kind":"Name","value":"owner"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"fullName"}},{"kind":"Field","name":{"kind":"Name","value":"email"}}]}},{"kind":"Field","name":{"kind":"Name","value":"subscription"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"planId"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"monthlyAmount"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"currentPeriodStart"}},{"kind":"Field","name":{"kind":"Name","value":"currentPeriodEnd"}},{"kind":"Field","name":{"kind":"Name","value":"trialEnd"}}]}}]}}]}}]} as unknown as DocumentNode;
|
|
2176
|
+
|
|
2177
|
+
/**
|
|
2178
|
+
* __useOrganizationByIdQuery__
|
|
2179
|
+
*
|
|
2180
|
+
* To run a query within a React component, call `useOrganizationByIdQuery` and pass it any options that fit your needs.
|
|
2181
|
+
* When your component renders, `useOrganizationByIdQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2182
|
+
* you can use to render your UI.
|
|
2183
|
+
*
|
|
2184
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
2185
|
+
*
|
|
2186
|
+
* @example
|
|
2187
|
+
* const { data, loading, error } = useOrganizationByIdQuery({
|
|
2188
|
+
* variables: {
|
|
2189
|
+
* id: // value for 'id'
|
|
2190
|
+
* },
|
|
2191
|
+
* });
|
|
2192
|
+
*/
|
|
2193
|
+
export function useOrganizationByIdQuery(baseOptions: Apollo.QueryHookOptions<OrganizationByIdQuery, OrganizationByIdQueryVariables> & ({ variables: OrganizationByIdQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {
|
|
2194
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2195
|
+
return Apollo.useQuery<OrganizationByIdQuery, OrganizationByIdQueryVariables>(OrganizationByIdDocument, options);
|
|
2196
|
+
}
|
|
2197
|
+
export function useOrganizationByIdLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<OrganizationByIdQuery, OrganizationByIdQueryVariables>) {
|
|
2198
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2199
|
+
return Apollo.useLazyQuery<OrganizationByIdQuery, OrganizationByIdQueryVariables>(OrganizationByIdDocument, options);
|
|
2200
|
+
}
|
|
2201
|
+
export function useOrganizationByIdSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<OrganizationByIdQuery, OrganizationByIdQueryVariables>) {
|
|
2202
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
|
|
2203
|
+
return Apollo.useSuspenseQuery<OrganizationByIdQuery, OrganizationByIdQueryVariables>(OrganizationByIdDocument, options);
|
|
2204
|
+
}
|
|
2205
|
+
export type OrganizationByIdQueryHookResult = ReturnType<typeof useOrganizationByIdQuery>;
|
|
2206
|
+
export type OrganizationByIdLazyQueryHookResult = ReturnType<typeof useOrganizationByIdLazyQuery>;
|
|
2207
|
+
export type OrganizationByIdSuspenseQueryHookResult = ReturnType<typeof useOrganizationByIdSuspenseQuery>;
|
|
2208
|
+
export type OrganizationByIdQueryResult = Apollo.QueryResult<OrganizationByIdQuery, OrganizationByIdQueryVariables>;
|
|
2209
|
+
export const CreateOrganizationDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateOrganization"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CreateOrganizationInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createOrganization"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"subdomain"}},{"kind":"Field","name":{"kind":"Name","value":"fullDomain"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}}]}}]}}]} as unknown as DocumentNode;
|
|
2210
|
+
export type CreateOrganizationMutationFn = Apollo.MutationFunction<CreateOrganizationMutation, CreateOrganizationMutationVariables>;
|
|
2211
|
+
|
|
2212
|
+
/**
|
|
2213
|
+
* __useCreateOrganizationMutation__
|
|
2214
|
+
*
|
|
2215
|
+
* To run a mutation, you first call `useCreateOrganizationMutation` within a React component and pass it any options that fit your needs.
|
|
2216
|
+
* When your component renders, `useCreateOrganizationMutation` returns a tuple that includes:
|
|
2217
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
2218
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
2219
|
+
*
|
|
2220
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
2221
|
+
*
|
|
2222
|
+
* @example
|
|
2223
|
+
* const [createOrganizationMutation, { data, loading, error }] = useCreateOrganizationMutation({
|
|
2224
|
+
* variables: {
|
|
2225
|
+
* input: // value for 'input'
|
|
2226
|
+
* },
|
|
2227
|
+
* });
|
|
2228
|
+
*/
|
|
2229
|
+
export function useCreateOrganizationMutation(baseOptions?: Apollo.MutationHookOptions<CreateOrganizationMutation, CreateOrganizationMutationVariables>) {
|
|
2230
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2231
|
+
return Apollo.useMutation<CreateOrganizationMutation, CreateOrganizationMutationVariables>(CreateOrganizationDocument, options);
|
|
2232
|
+
}
|
|
2233
|
+
export type CreateOrganizationMutationHookResult = ReturnType<typeof useCreateOrganizationMutation>;
|
|
2234
|
+
export type CreateOrganizationMutationResult = Apollo.MutationResult<CreateOrganizationMutation>;
|
|
2235
|
+
export type CreateOrganizationMutationOptions = Apollo.BaseMutationOptions<CreateOrganizationMutation, CreateOrganizationMutationVariables>;
|
|
2236
|
+
export const UpdateOrganizationDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateOrganization"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateOrganizationInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateOrganization"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}},{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"subdomain"}},{"kind":"Field","name":{"kind":"Name","value":"fullDomain"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"settings"}}]}}]}}]} as unknown as DocumentNode;
|
|
2237
|
+
export type UpdateOrganizationMutationFn = Apollo.MutationFunction<UpdateOrganizationMutation, UpdateOrganizationMutationVariables>;
|
|
2238
|
+
|
|
2239
|
+
/**
|
|
2240
|
+
* __useUpdateOrganizationMutation__
|
|
2241
|
+
*
|
|
2242
|
+
* To run a mutation, you first call `useUpdateOrganizationMutation` within a React component and pass it any options that fit your needs.
|
|
2243
|
+
* When your component renders, `useUpdateOrganizationMutation` returns a tuple that includes:
|
|
2244
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
2245
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
2246
|
+
*
|
|
2247
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
2248
|
+
*
|
|
2249
|
+
* @example
|
|
2250
|
+
* const [updateOrganizationMutation, { data, loading, error }] = useUpdateOrganizationMutation({
|
|
2251
|
+
* variables: {
|
|
2252
|
+
* id: // value for 'id'
|
|
2253
|
+
* input: // value for 'input'
|
|
2254
|
+
* },
|
|
2255
|
+
* });
|
|
2256
|
+
*/
|
|
2257
|
+
export function useUpdateOrganizationMutation(baseOptions?: Apollo.MutationHookOptions<UpdateOrganizationMutation, UpdateOrganizationMutationVariables>) {
|
|
2258
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2259
|
+
return Apollo.useMutation<UpdateOrganizationMutation, UpdateOrganizationMutationVariables>(UpdateOrganizationDocument, options);
|
|
2260
|
+
}
|
|
2261
|
+
export type UpdateOrganizationMutationHookResult = ReturnType<typeof useUpdateOrganizationMutation>;
|
|
2262
|
+
export type UpdateOrganizationMutationResult = Apollo.MutationResult<UpdateOrganizationMutation>;
|
|
2263
|
+
export type UpdateOrganizationMutationOptions = Apollo.BaseMutationOptions<UpdateOrganizationMutation, UpdateOrganizationMutationVariables>;
|
|
2264
|
+
export const SuspendOrganizationDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"SuspendOrganization"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"reason"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"suspendOrganization"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}},{"kind":"Argument","name":{"kind":"Name","value":"reason"},"value":{"kind":"Variable","name":{"kind":"Name","value":"reason"}}}]}]}}]} as unknown as DocumentNode;
|
|
2265
|
+
export type SuspendOrganizationMutationFn = Apollo.MutationFunction<SuspendOrganizationMutation, SuspendOrganizationMutationVariables>;
|
|
2266
|
+
|
|
2267
|
+
/**
|
|
2268
|
+
* __useSuspendOrganizationMutation__
|
|
2269
|
+
*
|
|
2270
|
+
* To run a mutation, you first call `useSuspendOrganizationMutation` within a React component and pass it any options that fit your needs.
|
|
2271
|
+
* When your component renders, `useSuspendOrganizationMutation` returns a tuple that includes:
|
|
2272
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
2273
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
2274
|
+
*
|
|
2275
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
2276
|
+
*
|
|
2277
|
+
* @example
|
|
2278
|
+
* const [suspendOrganizationMutation, { data, loading, error }] = useSuspendOrganizationMutation({
|
|
2279
|
+
* variables: {
|
|
2280
|
+
* id: // value for 'id'
|
|
2281
|
+
* reason: // value for 'reason'
|
|
2282
|
+
* },
|
|
2283
|
+
* });
|
|
2284
|
+
*/
|
|
2285
|
+
export function useSuspendOrganizationMutation(baseOptions?: Apollo.MutationHookOptions<SuspendOrganizationMutation, SuspendOrganizationMutationVariables>) {
|
|
2286
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2287
|
+
return Apollo.useMutation<SuspendOrganizationMutation, SuspendOrganizationMutationVariables>(SuspendOrganizationDocument, options);
|
|
2288
|
+
}
|
|
2289
|
+
export type SuspendOrganizationMutationHookResult = ReturnType<typeof useSuspendOrganizationMutation>;
|
|
2290
|
+
export type SuspendOrganizationMutationResult = Apollo.MutationResult<SuspendOrganizationMutation>;
|
|
2291
|
+
export type SuspendOrganizationMutationOptions = Apollo.BaseMutationOptions<SuspendOrganizationMutation, SuspendOrganizationMutationVariables>;
|
|
2292
|
+
export const ActivateOrganizationDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"ActivateOrganization"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"activateOrganization"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}]}]}}]} as unknown as DocumentNode;
|
|
2293
|
+
export type ActivateOrganizationMutationFn = Apollo.MutationFunction<ActivateOrganizationMutation, ActivateOrganizationMutationVariables>;
|
|
2294
|
+
|
|
2295
|
+
/**
|
|
2296
|
+
* __useActivateOrganizationMutation__
|
|
2297
|
+
*
|
|
2298
|
+
* To run a mutation, you first call `useActivateOrganizationMutation` within a React component and pass it any options that fit your needs.
|
|
2299
|
+
* When your component renders, `useActivateOrganizationMutation` returns a tuple that includes:
|
|
2300
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
2301
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
2302
|
+
*
|
|
2303
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
2304
|
+
*
|
|
2305
|
+
* @example
|
|
2306
|
+
* const [activateOrganizationMutation, { data, loading, error }] = useActivateOrganizationMutation({
|
|
2307
|
+
* variables: {
|
|
2308
|
+
* id: // value for 'id'
|
|
2309
|
+
* },
|
|
2310
|
+
* });
|
|
2311
|
+
*/
|
|
2312
|
+
export function useActivateOrganizationMutation(baseOptions?: Apollo.MutationHookOptions<ActivateOrganizationMutation, ActivateOrganizationMutationVariables>) {
|
|
2313
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2314
|
+
return Apollo.useMutation<ActivateOrganizationMutation, ActivateOrganizationMutationVariables>(ActivateOrganizationDocument, options);
|
|
2315
|
+
}
|
|
2316
|
+
export type ActivateOrganizationMutationHookResult = ReturnType<typeof useActivateOrganizationMutation>;
|
|
2317
|
+
export type ActivateOrganizationMutationResult = Apollo.MutationResult<ActivateOrganizationMutation>;
|
|
2318
|
+
export type ActivateOrganizationMutationOptions = Apollo.BaseMutationOptions<ActivateOrganizationMutation, ActivateOrganizationMutationVariables>;
|
|
2319
|
+
export const DeleteOrganizationDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteOrganization"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"confirmPhrase"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteOrganization"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}},{"kind":"Argument","name":{"kind":"Name","value":"confirmPhrase"},"value":{"kind":"Variable","name":{"kind":"Name","value":"confirmPhrase"}}}]}]}}]} as unknown as DocumentNode;
|
|
2320
|
+
export type DeleteOrganizationMutationFn = Apollo.MutationFunction<DeleteOrganizationMutation, DeleteOrganizationMutationVariables>;
|
|
2321
|
+
|
|
2322
|
+
/**
|
|
2323
|
+
* __useDeleteOrganizationMutation__
|
|
2324
|
+
*
|
|
2325
|
+
* To run a mutation, you first call `useDeleteOrganizationMutation` within a React component and pass it any options that fit your needs.
|
|
2326
|
+
* When your component renders, `useDeleteOrganizationMutation` returns a tuple that includes:
|
|
2327
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
2328
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
2329
|
+
*
|
|
2330
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
2331
|
+
*
|
|
2332
|
+
* @example
|
|
2333
|
+
* const [deleteOrganizationMutation, { data, loading, error }] = useDeleteOrganizationMutation({
|
|
2334
|
+
* variables: {
|
|
2335
|
+
* id: // value for 'id'
|
|
2336
|
+
* confirmPhrase: // value for 'confirmPhrase'
|
|
2337
|
+
* },
|
|
2338
|
+
* });
|
|
2339
|
+
*/
|
|
2340
|
+
export function useDeleteOrganizationMutation(baseOptions?: Apollo.MutationHookOptions<DeleteOrganizationMutation, DeleteOrganizationMutationVariables>) {
|
|
2341
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2342
|
+
return Apollo.useMutation<DeleteOrganizationMutation, DeleteOrganizationMutationVariables>(DeleteOrganizationDocument, options);
|
|
2343
|
+
}
|
|
2344
|
+
export type DeleteOrganizationMutationHookResult = ReturnType<typeof useDeleteOrganizationMutation>;
|
|
2345
|
+
export type DeleteOrganizationMutationResult = Apollo.MutationResult<DeleteOrganizationMutation>;
|
|
2346
|
+
export type DeleteOrganizationMutationOptions = Apollo.BaseMutationOptions<DeleteOrganizationMutation, DeleteOrganizationMutationVariables>;
|
|
2347
|
+
export const AddUserToOrganizationDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"AddUserToOrganization"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UserOrganizationMembershipInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"addUserToOrganization"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"role"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"joinedAt"}},{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"fullName"}},{"kind":"Field","name":{"kind":"Name","value":"email"}}]}},{"kind":"Field","name":{"kind":"Name","value":"organization"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"subdomain"}}]}}]}}]}}]} as unknown as DocumentNode;
|
|
2348
|
+
export type AddUserToOrganizationMutationFn = Apollo.MutationFunction<AddUserToOrganizationMutation, AddUserToOrganizationMutationVariables>;
|
|
2349
|
+
|
|
2350
|
+
/**
|
|
2351
|
+
* __useAddUserToOrganizationMutation__
|
|
2352
|
+
*
|
|
2353
|
+
* To run a mutation, you first call `useAddUserToOrganizationMutation` within a React component and pass it any options that fit your needs.
|
|
2354
|
+
* When your component renders, `useAddUserToOrganizationMutation` returns a tuple that includes:
|
|
2355
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
2356
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
2357
|
+
*
|
|
2358
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
2359
|
+
*
|
|
2360
|
+
* @example
|
|
2361
|
+
* const [addUserToOrganizationMutation, { data, loading, error }] = useAddUserToOrganizationMutation({
|
|
2362
|
+
* variables: {
|
|
2363
|
+
* input: // value for 'input'
|
|
2364
|
+
* },
|
|
2365
|
+
* });
|
|
2366
|
+
*/
|
|
2367
|
+
export function useAddUserToOrganizationMutation(baseOptions?: Apollo.MutationHookOptions<AddUserToOrganizationMutation, AddUserToOrganizationMutationVariables>) {
|
|
2368
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2369
|
+
return Apollo.useMutation<AddUserToOrganizationMutation, AddUserToOrganizationMutationVariables>(AddUserToOrganizationDocument, options);
|
|
2370
|
+
}
|
|
2371
|
+
export type AddUserToOrganizationMutationHookResult = ReturnType<typeof useAddUserToOrganizationMutation>;
|
|
2372
|
+
export type AddUserToOrganizationMutationResult = Apollo.MutationResult<AddUserToOrganizationMutation>;
|
|
2373
|
+
export type AddUserToOrganizationMutationOptions = Apollo.BaseMutationOptions<AddUserToOrganizationMutation, AddUserToOrganizationMutationVariables>;
|
|
2374
|
+
export const RemoveUserFromOrganizationDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"RemoveUserFromOrganization"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"userId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"organizationId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"removeUserFromOrganization"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"userId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"userId"}}},{"kind":"Argument","name":{"kind":"Name","value":"organizationId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"organizationId"}}}]}]}}]} as unknown as DocumentNode;
|
|
2375
|
+
export type RemoveUserFromOrganizationMutationFn = Apollo.MutationFunction<RemoveUserFromOrganizationMutation, RemoveUserFromOrganizationMutationVariables>;
|
|
2376
|
+
|
|
2377
|
+
/**
|
|
2378
|
+
* __useRemoveUserFromOrganizationMutation__
|
|
2379
|
+
*
|
|
2380
|
+
* To run a mutation, you first call `useRemoveUserFromOrganizationMutation` within a React component and pass it any options that fit your needs.
|
|
2381
|
+
* When your component renders, `useRemoveUserFromOrganizationMutation` returns a tuple that includes:
|
|
2382
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
2383
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
2384
|
+
*
|
|
2385
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
2386
|
+
*
|
|
2387
|
+
* @example
|
|
2388
|
+
* const [removeUserFromOrganizationMutation, { data, loading, error }] = useRemoveUserFromOrganizationMutation({
|
|
2389
|
+
* variables: {
|
|
2390
|
+
* userId: // value for 'userId'
|
|
2391
|
+
* organizationId: // value for 'organizationId'
|
|
2392
|
+
* },
|
|
2393
|
+
* });
|
|
2394
|
+
*/
|
|
2395
|
+
export function useRemoveUserFromOrganizationMutation(baseOptions?: Apollo.MutationHookOptions<RemoveUserFromOrganizationMutation, RemoveUserFromOrganizationMutationVariables>) {
|
|
2396
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2397
|
+
return Apollo.useMutation<RemoveUserFromOrganizationMutation, RemoveUserFromOrganizationMutationVariables>(RemoveUserFromOrganizationDocument, options);
|
|
2398
|
+
}
|
|
2399
|
+
export type RemoveUserFromOrganizationMutationHookResult = ReturnType<typeof useRemoveUserFromOrganizationMutation>;
|
|
2400
|
+
export type RemoveUserFromOrganizationMutationResult = Apollo.MutationResult<RemoveUserFromOrganizationMutation>;
|
|
2401
|
+
export type RemoveUserFromOrganizationMutationOptions = Apollo.BaseMutationOptions<RemoveUserFromOrganizationMutation, RemoveUserFromOrganizationMutationVariables>;
|
|
2402
|
+
export const UpdateUserOrganizationRoleDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateUserOrganizationRole"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"userId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"organizationId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"role"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"OrganizationRole"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateUserOrganizationRole"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"userId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"userId"}}},{"kind":"Argument","name":{"kind":"Name","value":"organizationId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"organizationId"}}},{"kind":"Argument","name":{"kind":"Name","value":"role"},"value":{"kind":"Variable","name":{"kind":"Name","value":"role"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"role"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"fullName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"organization"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]} as unknown as DocumentNode;
|
|
2403
|
+
export type UpdateUserOrganizationRoleMutationFn = Apollo.MutationFunction<UpdateUserOrganizationRoleMutation, UpdateUserOrganizationRoleMutationVariables>;
|
|
2404
|
+
|
|
2405
|
+
/**
|
|
2406
|
+
* __useUpdateUserOrganizationRoleMutation__
|
|
2407
|
+
*
|
|
2408
|
+
* To run a mutation, you first call `useUpdateUserOrganizationRoleMutation` within a React component and pass it any options that fit your needs.
|
|
2409
|
+
* When your component renders, `useUpdateUserOrganizationRoleMutation` returns a tuple that includes:
|
|
2410
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
2411
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
2412
|
+
*
|
|
2413
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
2414
|
+
*
|
|
2415
|
+
* @example
|
|
2416
|
+
* const [updateUserOrganizationRoleMutation, { data, loading, error }] = useUpdateUserOrganizationRoleMutation({
|
|
2417
|
+
* variables: {
|
|
2418
|
+
* userId: // value for 'userId'
|
|
2419
|
+
* organizationId: // value for 'organizationId'
|
|
2420
|
+
* role: // value for 'role'
|
|
2421
|
+
* },
|
|
2422
|
+
* });
|
|
2423
|
+
*/
|
|
2424
|
+
export function useUpdateUserOrganizationRoleMutation(baseOptions?: Apollo.MutationHookOptions<UpdateUserOrganizationRoleMutation, UpdateUserOrganizationRoleMutationVariables>) {
|
|
2425
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2426
|
+
return Apollo.useMutation<UpdateUserOrganizationRoleMutation, UpdateUserOrganizationRoleMutationVariables>(UpdateUserOrganizationRoleDocument, options);
|
|
2427
|
+
}
|
|
2428
|
+
export type UpdateUserOrganizationRoleMutationHookResult = ReturnType<typeof useUpdateUserOrganizationRoleMutation>;
|
|
2429
|
+
export type UpdateUserOrganizationRoleMutationResult = Apollo.MutationResult<UpdateUserOrganizationRoleMutation>;
|
|
2430
|
+
export type UpdateUserOrganizationRoleMutationOptions = Apollo.BaseMutationOptions<UpdateUserOrganizationRoleMutation, UpdateUserOrganizationRoleMutationVariables>;
|
|
2431
|
+
export const OrganizationGrowthDataDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"OrganizationGrowthData"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"days"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"organizationGrowthData"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"days"},"value":{"kind":"Variable","name":{"kind":"Name","value":"days"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"newOrganizations"}},{"kind":"Field","name":{"kind":"Name","value":"activeOrganizations"}},{"kind":"Field","name":{"kind":"Name","value":"suspendedOrganizations"}}]}}]}}]} as unknown as DocumentNode;
|
|
2432
|
+
|
|
2433
|
+
/**
|
|
2434
|
+
* __useOrganizationGrowthDataQuery__
|
|
2435
|
+
*
|
|
2436
|
+
* To run a query within a React component, call `useOrganizationGrowthDataQuery` and pass it any options that fit your needs.
|
|
2437
|
+
* When your component renders, `useOrganizationGrowthDataQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2438
|
+
* you can use to render your UI.
|
|
2439
|
+
*
|
|
2440
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
2441
|
+
*
|
|
2442
|
+
* @example
|
|
2443
|
+
* const { data, loading, error } = useOrganizationGrowthDataQuery({
|
|
2444
|
+
* variables: {
|
|
2445
|
+
* days: // value for 'days'
|
|
2446
|
+
* },
|
|
2447
|
+
* });
|
|
2448
|
+
*/
|
|
2449
|
+
export function useOrganizationGrowthDataQuery(baseOptions?: Apollo.QueryHookOptions<OrganizationGrowthDataQuery, OrganizationGrowthDataQueryVariables>) {
|
|
2450
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2451
|
+
return Apollo.useQuery<OrganizationGrowthDataQuery, OrganizationGrowthDataQueryVariables>(OrganizationGrowthDataDocument, options);
|
|
2452
|
+
}
|
|
2453
|
+
export function useOrganizationGrowthDataLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<OrganizationGrowthDataQuery, OrganizationGrowthDataQueryVariables>) {
|
|
2454
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2455
|
+
return Apollo.useLazyQuery<OrganizationGrowthDataQuery, OrganizationGrowthDataQueryVariables>(OrganizationGrowthDataDocument, options);
|
|
2456
|
+
}
|
|
2457
|
+
export function useOrganizationGrowthDataSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<OrganizationGrowthDataQuery, OrganizationGrowthDataQueryVariables>) {
|
|
2458
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
|
|
2459
|
+
return Apollo.useSuspenseQuery<OrganizationGrowthDataQuery, OrganizationGrowthDataQueryVariables>(OrganizationGrowthDataDocument, options);
|
|
2460
|
+
}
|
|
2461
|
+
export type OrganizationGrowthDataQueryHookResult = ReturnType<typeof useOrganizationGrowthDataQuery>;
|
|
2462
|
+
export type OrganizationGrowthDataLazyQueryHookResult = ReturnType<typeof useOrganizationGrowthDataLazyQuery>;
|
|
2463
|
+
export type OrganizationGrowthDataSuspenseQueryHookResult = ReturnType<typeof useOrganizationGrowthDataSuspenseQuery>;
|
|
2464
|
+
export type OrganizationGrowthDataQueryResult = Apollo.QueryResult<OrganizationGrowthDataQuery, OrganizationGrowthDataQueryVariables>;
|
|
2465
|
+
export const UserActivityDataDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"UserActivityData"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"days"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"userActivityData"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"days"},"value":{"kind":"Variable","name":{"kind":"Name","value":"days"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"newUsers"}},{"kind":"Field","name":{"kind":"Name","value":"dailyActiveUsers"}},{"kind":"Field","name":{"kind":"Name","value":"loginCount"}}]}}]}}]} as unknown as DocumentNode;
|
|
2466
|
+
|
|
2467
|
+
/**
|
|
2468
|
+
* __useUserActivityDataQuery__
|
|
2469
|
+
*
|
|
2470
|
+
* To run a query within a React component, call `useUserActivityDataQuery` and pass it any options that fit your needs.
|
|
2471
|
+
* When your component renders, `useUserActivityDataQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2472
|
+
* you can use to render your UI.
|
|
2473
|
+
*
|
|
2474
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
2475
|
+
*
|
|
2476
|
+
* @example
|
|
2477
|
+
* const { data, loading, error } = useUserActivityDataQuery({
|
|
2478
|
+
* variables: {
|
|
2479
|
+
* days: // value for 'days'
|
|
2480
|
+
* },
|
|
2481
|
+
* });
|
|
2482
|
+
*/
|
|
2483
|
+
export function useUserActivityDataQuery(baseOptions?: Apollo.QueryHookOptions<UserActivityDataQuery, UserActivityDataQueryVariables>) {
|
|
2484
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2485
|
+
return Apollo.useQuery<UserActivityDataQuery, UserActivityDataQueryVariables>(UserActivityDataDocument, options);
|
|
2486
|
+
}
|
|
2487
|
+
export function useUserActivityDataLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<UserActivityDataQuery, UserActivityDataQueryVariables>) {
|
|
2488
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2489
|
+
return Apollo.useLazyQuery<UserActivityDataQuery, UserActivityDataQueryVariables>(UserActivityDataDocument, options);
|
|
2490
|
+
}
|
|
2491
|
+
export function useUserActivityDataSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<UserActivityDataQuery, UserActivityDataQueryVariables>) {
|
|
2492
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
|
|
2493
|
+
return Apollo.useSuspenseQuery<UserActivityDataQuery, UserActivityDataQueryVariables>(UserActivityDataDocument, options);
|
|
2494
|
+
}
|
|
2495
|
+
export type UserActivityDataQueryHookResult = ReturnType<typeof useUserActivityDataQuery>;
|
|
2496
|
+
export type UserActivityDataLazyQueryHookResult = ReturnType<typeof useUserActivityDataLazyQuery>;
|
|
2497
|
+
export type UserActivityDataSuspenseQueryHookResult = ReturnType<typeof useUserActivityDataSuspenseQuery>;
|
|
2498
|
+
export type UserActivityDataQueryResult = Apollo.QueryResult<UserActivityDataQuery, UserActivityDataQueryVariables>;
|
|
2499
|
+
export const ProjectActivityDataDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ProjectActivityData"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"days"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"projectActivityData"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"days"},"value":{"kind":"Variable","name":{"kind":"Name","value":"days"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"projectsCreated"}},{"kind":"Field","name":{"kind":"Name","value":"storiesCreated"}},{"kind":"Field","name":{"kind":"Name","value":"tasksCreated"}},{"kind":"Field","name":{"kind":"Name","value":"tasksCompleted"}}]}}]}}]} as unknown as DocumentNode;
|
|
2500
|
+
|
|
2501
|
+
/**
|
|
2502
|
+
* __useProjectActivityDataQuery__
|
|
2503
|
+
*
|
|
2504
|
+
* To run a query within a React component, call `useProjectActivityDataQuery` and pass it any options that fit your needs.
|
|
2505
|
+
* When your component renders, `useProjectActivityDataQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2506
|
+
* you can use to render your UI.
|
|
2507
|
+
*
|
|
2508
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
2509
|
+
*
|
|
2510
|
+
* @example
|
|
2511
|
+
* const { data, loading, error } = useProjectActivityDataQuery({
|
|
2512
|
+
* variables: {
|
|
2513
|
+
* days: // value for 'days'
|
|
2514
|
+
* },
|
|
2515
|
+
* });
|
|
2516
|
+
*/
|
|
2517
|
+
export function useProjectActivityDataQuery(baseOptions?: Apollo.QueryHookOptions<ProjectActivityDataQuery, ProjectActivityDataQueryVariables>) {
|
|
2518
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2519
|
+
return Apollo.useQuery<ProjectActivityDataQuery, ProjectActivityDataQueryVariables>(ProjectActivityDataDocument, options);
|
|
2520
|
+
}
|
|
2521
|
+
export function useProjectActivityDataLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<ProjectActivityDataQuery, ProjectActivityDataQueryVariables>) {
|
|
2522
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2523
|
+
return Apollo.useLazyQuery<ProjectActivityDataQuery, ProjectActivityDataQueryVariables>(ProjectActivityDataDocument, options);
|
|
2524
|
+
}
|
|
2525
|
+
export function useProjectActivityDataSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<ProjectActivityDataQuery, ProjectActivityDataQueryVariables>) {
|
|
2526
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
|
|
2527
|
+
return Apollo.useSuspenseQuery<ProjectActivityDataQuery, ProjectActivityDataQueryVariables>(ProjectActivityDataDocument, options);
|
|
2528
|
+
}
|
|
2529
|
+
export type ProjectActivityDataQueryHookResult = ReturnType<typeof useProjectActivityDataQuery>;
|
|
2530
|
+
export type ProjectActivityDataLazyQueryHookResult = ReturnType<typeof useProjectActivityDataLazyQuery>;
|
|
2531
|
+
export type ProjectActivityDataSuspenseQueryHookResult = ReturnType<typeof useProjectActivityDataSuspenseQuery>;
|
|
2532
|
+
export type ProjectActivityDataQueryResult = Apollo.QueryResult<ProjectActivityDataQuery, ProjectActivityDataQueryVariables>;
|
|
2533
|
+
export const TopOrganizationsByActivityDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"TopOrganizationsByActivity"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"limit"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"topOrganizationsByActivity"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"Variable","name":{"kind":"Name","value":"limit"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"organization"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"subdomain"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}}]}},{"kind":"Field","name":{"kind":"Name","value":"userCount"}},{"kind":"Field","name":{"kind":"Name","value":"projectCount"}},{"kind":"Field","name":{"kind":"Name","value":"activityScore"}}]}}]}}]} as unknown as DocumentNode;
|
|
2534
|
+
|
|
2535
|
+
/**
|
|
2536
|
+
* __useTopOrganizationsByActivityQuery__
|
|
2537
|
+
*
|
|
2538
|
+
* To run a query within a React component, call `useTopOrganizationsByActivityQuery` and pass it any options that fit your needs.
|
|
2539
|
+
* When your component renders, `useTopOrganizationsByActivityQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2540
|
+
* you can use to render your UI.
|
|
2541
|
+
*
|
|
2542
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
2543
|
+
*
|
|
2544
|
+
* @example
|
|
2545
|
+
* const { data, loading, error } = useTopOrganizationsByActivityQuery({
|
|
2546
|
+
* variables: {
|
|
2547
|
+
* limit: // value for 'limit'
|
|
2548
|
+
* },
|
|
2549
|
+
* });
|
|
2550
|
+
*/
|
|
2551
|
+
export function useTopOrganizationsByActivityQuery(baseOptions?: Apollo.QueryHookOptions<TopOrganizationsByActivityQuery, TopOrganizationsByActivityQueryVariables>) {
|
|
2552
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2553
|
+
return Apollo.useQuery<TopOrganizationsByActivityQuery, TopOrganizationsByActivityQueryVariables>(TopOrganizationsByActivityDocument, options);
|
|
2554
|
+
}
|
|
2555
|
+
export function useTopOrganizationsByActivityLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<TopOrganizationsByActivityQuery, TopOrganizationsByActivityQueryVariables>) {
|
|
2556
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2557
|
+
return Apollo.useLazyQuery<TopOrganizationsByActivityQuery, TopOrganizationsByActivityQueryVariables>(TopOrganizationsByActivityDocument, options);
|
|
2558
|
+
}
|
|
2559
|
+
export function useTopOrganizationsByActivitySuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<TopOrganizationsByActivityQuery, TopOrganizationsByActivityQueryVariables>) {
|
|
2560
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
|
|
2561
|
+
return Apollo.useSuspenseQuery<TopOrganizationsByActivityQuery, TopOrganizationsByActivityQueryVariables>(TopOrganizationsByActivityDocument, options);
|
|
2562
|
+
}
|
|
2563
|
+
export type TopOrganizationsByActivityQueryHookResult = ReturnType<typeof useTopOrganizationsByActivityQuery>;
|
|
2564
|
+
export type TopOrganizationsByActivityLazyQueryHookResult = ReturnType<typeof useTopOrganizationsByActivityLazyQuery>;
|
|
2565
|
+
export type TopOrganizationsByActivitySuspenseQueryHookResult = ReturnType<typeof useTopOrganizationsByActivitySuspenseQuery>;
|
|
2566
|
+
export type TopOrganizationsByActivityQueryResult = Apollo.QueryResult<TopOrganizationsByActivityQuery, TopOrganizationsByActivityQueryVariables>;
|
|
2567
|
+
export const AuditLogsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"AuditLogs"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filter"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"AuditLogFilter"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"limit"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"offset"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"auditLogs"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filter"}}},{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"Variable","name":{"kind":"Name","value":"limit"}}},{"kind":"Argument","name":{"kind":"Name","value":"offset"},"value":{"kind":"Variable","name":{"kind":"Name","value":"offset"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"timestamp"}},{"kind":"Field","name":{"kind":"Name","value":"action"}},{"kind":"Field","name":{"kind":"Name","value":"resource"}},{"kind":"Field","name":{"kind":"Name","value":"resourceId"}},{"kind":"Field","name":{"kind":"Name","value":"userId"}},{"kind":"Field","name":{"kind":"Name","value":"userEmail"}},{"kind":"Field","name":{"kind":"Name","value":"organizationId"}},{"kind":"Field","name":{"kind":"Name","value":"organizationName"}},{"kind":"Field","name":{"kind":"Name","value":"ipAddress"}},{"kind":"Field","name":{"kind":"Name","value":"userAgent"}},{"kind":"Field","name":{"kind":"Name","value":"riskScore"}},{"kind":"Field","name":{"kind":"Name","value":"changes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"from"}},{"kind":"Field","name":{"kind":"Name","value":"to"}}]}},{"kind":"Field","name":{"kind":"Name","value":"description"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"from"}},{"kind":"Field","name":{"kind":"Name","value":"to"}}]}},{"kind":"Field","name":{"kind":"Name","value":"status"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"from"}},{"kind":"Field","name":{"kind":"Name","value":"to"}}]}},{"kind":"Field","name":{"kind":"Name","value":"affectedProjects"}},{"kind":"Field","name":{"kind":"Name","value":"deletedCount"}}]}}]}}]}}]} as unknown as DocumentNode;
|
|
2568
|
+
|
|
2569
|
+
/**
|
|
2570
|
+
* __useAuditLogsQuery__
|
|
2571
|
+
*
|
|
2572
|
+
* To run a query within a React component, call `useAuditLogsQuery` and pass it any options that fit your needs.
|
|
2573
|
+
* When your component renders, `useAuditLogsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2574
|
+
* you can use to render your UI.
|
|
2575
|
+
*
|
|
2576
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
2577
|
+
*
|
|
2578
|
+
* @example
|
|
2579
|
+
* const { data, loading, error } = useAuditLogsQuery({
|
|
2580
|
+
* variables: {
|
|
2581
|
+
* filter: // value for 'filter'
|
|
2582
|
+
* limit: // value for 'limit'
|
|
2583
|
+
* offset: // value for 'offset'
|
|
2584
|
+
* },
|
|
2585
|
+
* });
|
|
2586
|
+
*/
|
|
2587
|
+
export function useAuditLogsQuery(baseOptions?: Apollo.QueryHookOptions<AuditLogsQuery, AuditLogsQueryVariables>) {
|
|
2588
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2589
|
+
return Apollo.useQuery<AuditLogsQuery, AuditLogsQueryVariables>(AuditLogsDocument, options);
|
|
2590
|
+
}
|
|
2591
|
+
export function useAuditLogsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<AuditLogsQuery, AuditLogsQueryVariables>) {
|
|
2592
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2593
|
+
return Apollo.useLazyQuery<AuditLogsQuery, AuditLogsQueryVariables>(AuditLogsDocument, options);
|
|
2594
|
+
}
|
|
2595
|
+
export function useAuditLogsSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<AuditLogsQuery, AuditLogsQueryVariables>) {
|
|
2596
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
|
|
2597
|
+
return Apollo.useSuspenseQuery<AuditLogsQuery, AuditLogsQueryVariables>(AuditLogsDocument, options);
|
|
2598
|
+
}
|
|
2599
|
+
export type AuditLogsQueryHookResult = ReturnType<typeof useAuditLogsQuery>;
|
|
2600
|
+
export type AuditLogsLazyQueryHookResult = ReturnType<typeof useAuditLogsLazyQuery>;
|
|
2601
|
+
export type AuditLogsSuspenseQueryHookResult = ReturnType<typeof useAuditLogsSuspenseQuery>;
|
|
2602
|
+
export type AuditLogsQueryResult = Apollo.QueryResult<AuditLogsQuery, AuditLogsQueryVariables>;
|
|
2603
|
+
export const UserActivityAuditDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"UserActivityAudit"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"userId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"days"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"limit"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"userActivityAudit"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"userId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"userId"}}},{"kind":"Argument","name":{"kind":"Name","value":"days"},"value":{"kind":"Variable","name":{"kind":"Name","value":"days"}}},{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"Variable","name":{"kind":"Name","value":"limit"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"timestamp"}},{"kind":"Field","name":{"kind":"Name","value":"action"}},{"kind":"Field","name":{"kind":"Name","value":"resource"}},{"kind":"Field","name":{"kind":"Name","value":"resourceId"}},{"kind":"Field","name":{"kind":"Name","value":"organizationId"}},{"kind":"Field","name":{"kind":"Name","value":"organizationName"}},{"kind":"Field","name":{"kind":"Name","value":"ipAddress"}},{"kind":"Field","name":{"kind":"Name","value":"riskScore"}},{"kind":"Field","name":{"kind":"Name","value":"changes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"from"}},{"kind":"Field","name":{"kind":"Name","value":"to"}}]}},{"kind":"Field","name":{"kind":"Name","value":"description"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"from"}},{"kind":"Field","name":{"kind":"Name","value":"to"}}]}},{"kind":"Field","name":{"kind":"Name","value":"status"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"from"}},{"kind":"Field","name":{"kind":"Name","value":"to"}}]}},{"kind":"Field","name":{"kind":"Name","value":"affectedProjects"}},{"kind":"Field","name":{"kind":"Name","value":"deletedCount"}}]}}]}}]}}]} as unknown as DocumentNode;
|
|
2604
|
+
|
|
2605
|
+
/**
|
|
2606
|
+
* __useUserActivityAuditQuery__
|
|
2607
|
+
*
|
|
2608
|
+
* To run a query within a React component, call `useUserActivityAuditQuery` and pass it any options that fit your needs.
|
|
2609
|
+
* When your component renders, `useUserActivityAuditQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2610
|
+
* you can use to render your UI.
|
|
2611
|
+
*
|
|
2612
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
2613
|
+
*
|
|
2614
|
+
* @example
|
|
2615
|
+
* const { data, loading, error } = useUserActivityAuditQuery({
|
|
2616
|
+
* variables: {
|
|
2617
|
+
* userId: // value for 'userId'
|
|
2618
|
+
* days: // value for 'days'
|
|
2619
|
+
* limit: // value for 'limit'
|
|
2620
|
+
* },
|
|
2621
|
+
* });
|
|
2622
|
+
*/
|
|
2623
|
+
export function useUserActivityAuditQuery(baseOptions: Apollo.QueryHookOptions<UserActivityAuditQuery, UserActivityAuditQueryVariables> & ({ variables: UserActivityAuditQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {
|
|
2624
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2625
|
+
return Apollo.useQuery<UserActivityAuditQuery, UserActivityAuditQueryVariables>(UserActivityAuditDocument, options);
|
|
2626
|
+
}
|
|
2627
|
+
export function useUserActivityAuditLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<UserActivityAuditQuery, UserActivityAuditQueryVariables>) {
|
|
2628
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2629
|
+
return Apollo.useLazyQuery<UserActivityAuditQuery, UserActivityAuditQueryVariables>(UserActivityAuditDocument, options);
|
|
2630
|
+
}
|
|
2631
|
+
export function useUserActivityAuditSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<UserActivityAuditQuery, UserActivityAuditQueryVariables>) {
|
|
2632
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
|
|
2633
|
+
return Apollo.useSuspenseQuery<UserActivityAuditQuery, UserActivityAuditQueryVariables>(UserActivityAuditDocument, options);
|
|
2634
|
+
}
|
|
2635
|
+
export type UserActivityAuditQueryHookResult = ReturnType<typeof useUserActivityAuditQuery>;
|
|
2636
|
+
export type UserActivityAuditLazyQueryHookResult = ReturnType<typeof useUserActivityAuditLazyQuery>;
|
|
2637
|
+
export type UserActivityAuditSuspenseQueryHookResult = ReturnType<typeof useUserActivityAuditSuspenseQuery>;
|
|
2638
|
+
export type UserActivityAuditQueryResult = Apollo.QueryResult<UserActivityAuditQuery, UserActivityAuditQueryVariables>;
|
|
2639
|
+
export const OrganizationActivityAuditDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"OrganizationActivityAudit"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"organizationId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"days"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"limit"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"organizationActivityAudit"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"organizationId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"organizationId"}}},{"kind":"Argument","name":{"kind":"Name","value":"days"},"value":{"kind":"Variable","name":{"kind":"Name","value":"days"}}},{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"Variable","name":{"kind":"Name","value":"limit"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"timestamp"}},{"kind":"Field","name":{"kind":"Name","value":"action"}},{"kind":"Field","name":{"kind":"Name","value":"resource"}},{"kind":"Field","name":{"kind":"Name","value":"resourceId"}},{"kind":"Field","name":{"kind":"Name","value":"userId"}},{"kind":"Field","name":{"kind":"Name","value":"userEmail"}},{"kind":"Field","name":{"kind":"Name","value":"ipAddress"}},{"kind":"Field","name":{"kind":"Name","value":"riskScore"}},{"kind":"Field","name":{"kind":"Name","value":"changes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"from"}},{"kind":"Field","name":{"kind":"Name","value":"to"}}]}},{"kind":"Field","name":{"kind":"Name","value":"description"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"from"}},{"kind":"Field","name":{"kind":"Name","value":"to"}}]}},{"kind":"Field","name":{"kind":"Name","value":"status"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"from"}},{"kind":"Field","name":{"kind":"Name","value":"to"}}]}},{"kind":"Field","name":{"kind":"Name","value":"affectedProjects"}},{"kind":"Field","name":{"kind":"Name","value":"deletedCount"}}]}}]}}]}}]} as unknown as DocumentNode;
|
|
2640
|
+
|
|
2641
|
+
/**
|
|
2642
|
+
* __useOrganizationActivityAuditQuery__
|
|
2643
|
+
*
|
|
2644
|
+
* To run a query within a React component, call `useOrganizationActivityAuditQuery` and pass it any options that fit your needs.
|
|
2645
|
+
* When your component renders, `useOrganizationActivityAuditQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2646
|
+
* you can use to render your UI.
|
|
2647
|
+
*
|
|
2648
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
2649
|
+
*
|
|
2650
|
+
* @example
|
|
2651
|
+
* const { data, loading, error } = useOrganizationActivityAuditQuery({
|
|
2652
|
+
* variables: {
|
|
2653
|
+
* organizationId: // value for 'organizationId'
|
|
2654
|
+
* days: // value for 'days'
|
|
2655
|
+
* limit: // value for 'limit'
|
|
2656
|
+
* },
|
|
2657
|
+
* });
|
|
2658
|
+
*/
|
|
2659
|
+
export function useOrganizationActivityAuditQuery(baseOptions: Apollo.QueryHookOptions<OrganizationActivityAuditQuery, OrganizationActivityAuditQueryVariables> & ({ variables: OrganizationActivityAuditQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {
|
|
2660
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2661
|
+
return Apollo.useQuery<OrganizationActivityAuditQuery, OrganizationActivityAuditQueryVariables>(OrganizationActivityAuditDocument, options);
|
|
2662
|
+
}
|
|
2663
|
+
export function useOrganizationActivityAuditLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<OrganizationActivityAuditQuery, OrganizationActivityAuditQueryVariables>) {
|
|
2664
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2665
|
+
return Apollo.useLazyQuery<OrganizationActivityAuditQuery, OrganizationActivityAuditQueryVariables>(OrganizationActivityAuditDocument, options);
|
|
2666
|
+
}
|
|
2667
|
+
export function useOrganizationActivityAuditSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<OrganizationActivityAuditQuery, OrganizationActivityAuditQueryVariables>) {
|
|
2668
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
|
|
2669
|
+
return Apollo.useSuspenseQuery<OrganizationActivityAuditQuery, OrganizationActivityAuditQueryVariables>(OrganizationActivityAuditDocument, options);
|
|
2670
|
+
}
|
|
2671
|
+
export type OrganizationActivityAuditQueryHookResult = ReturnType<typeof useOrganizationActivityAuditQuery>;
|
|
2672
|
+
export type OrganizationActivityAuditLazyQueryHookResult = ReturnType<typeof useOrganizationActivityAuditLazyQuery>;
|
|
2673
|
+
export type OrganizationActivityAuditSuspenseQueryHookResult = ReturnType<typeof useOrganizationActivityAuditSuspenseQuery>;
|
|
2674
|
+
export type OrganizationActivityAuditQueryResult = Apollo.QueryResult<OrganizationActivityAuditQuery, OrganizationActivityAuditQueryVariables>;
|
|
2675
|
+
export const HighRiskActivitiesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"HighRiskActivities"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"days"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"limit"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"minRiskScore"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"highRiskActivities"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"days"},"value":{"kind":"Variable","name":{"kind":"Name","value":"days"}}},{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"Variable","name":{"kind":"Name","value":"limit"}}},{"kind":"Argument","name":{"kind":"Name","value":"minRiskScore"},"value":{"kind":"Variable","name":{"kind":"Name","value":"minRiskScore"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"timestamp"}},{"kind":"Field","name":{"kind":"Name","value":"action"}},{"kind":"Field","name":{"kind":"Name","value":"resource"}},{"kind":"Field","name":{"kind":"Name","value":"resourceId"}},{"kind":"Field","name":{"kind":"Name","value":"userId"}},{"kind":"Field","name":{"kind":"Name","value":"userEmail"}},{"kind":"Field","name":{"kind":"Name","value":"organizationId"}},{"kind":"Field","name":{"kind":"Name","value":"organizationName"}},{"kind":"Field","name":{"kind":"Name","value":"ipAddress"}},{"kind":"Field","name":{"kind":"Name","value":"userAgent"}},{"kind":"Field","name":{"kind":"Name","value":"riskScore"}},{"kind":"Field","name":{"kind":"Name","value":"changes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"from"}},{"kind":"Field","name":{"kind":"Name","value":"to"}}]}},{"kind":"Field","name":{"kind":"Name","value":"description"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"from"}},{"kind":"Field","name":{"kind":"Name","value":"to"}}]}},{"kind":"Field","name":{"kind":"Name","value":"status"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"from"}},{"kind":"Field","name":{"kind":"Name","value":"to"}}]}},{"kind":"Field","name":{"kind":"Name","value":"affectedProjects"}},{"kind":"Field","name":{"kind":"Name","value":"deletedCount"}}]}}]}}]}}]} as unknown as DocumentNode;
|
|
2676
|
+
|
|
2677
|
+
/**
|
|
2678
|
+
* __useHighRiskActivitiesQuery__
|
|
2679
|
+
*
|
|
2680
|
+
* To run a query within a React component, call `useHighRiskActivitiesQuery` and pass it any options that fit your needs.
|
|
2681
|
+
* When your component renders, `useHighRiskActivitiesQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2682
|
+
* you can use to render your UI.
|
|
2683
|
+
*
|
|
2684
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
2685
|
+
*
|
|
2686
|
+
* @example
|
|
2687
|
+
* const { data, loading, error } = useHighRiskActivitiesQuery({
|
|
2688
|
+
* variables: {
|
|
2689
|
+
* days: // value for 'days'
|
|
2690
|
+
* limit: // value for 'limit'
|
|
2691
|
+
* minRiskScore: // value for 'minRiskScore'
|
|
2692
|
+
* },
|
|
2693
|
+
* });
|
|
2694
|
+
*/
|
|
2695
|
+
export function useHighRiskActivitiesQuery(baseOptions?: Apollo.QueryHookOptions<HighRiskActivitiesQuery, HighRiskActivitiesQueryVariables>) {
|
|
2696
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2697
|
+
return Apollo.useQuery<HighRiskActivitiesQuery, HighRiskActivitiesQueryVariables>(HighRiskActivitiesDocument, options);
|
|
2698
|
+
}
|
|
2699
|
+
export function useHighRiskActivitiesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<HighRiskActivitiesQuery, HighRiskActivitiesQueryVariables>) {
|
|
2700
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2701
|
+
return Apollo.useLazyQuery<HighRiskActivitiesQuery, HighRiskActivitiesQueryVariables>(HighRiskActivitiesDocument, options);
|
|
2702
|
+
}
|
|
2703
|
+
export function useHighRiskActivitiesSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<HighRiskActivitiesQuery, HighRiskActivitiesQueryVariables>) {
|
|
2704
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
|
|
2705
|
+
return Apollo.useSuspenseQuery<HighRiskActivitiesQuery, HighRiskActivitiesQueryVariables>(HighRiskActivitiesDocument, options);
|
|
2706
|
+
}
|
|
2707
|
+
export type HighRiskActivitiesQueryHookResult = ReturnType<typeof useHighRiskActivitiesQuery>;
|
|
2708
|
+
export type HighRiskActivitiesLazyQueryHookResult = ReturnType<typeof useHighRiskActivitiesLazyQuery>;
|
|
2709
|
+
export type HighRiskActivitiesSuspenseQueryHookResult = ReturnType<typeof useHighRiskActivitiesSuspenseQuery>;
|
|
2710
|
+
export type HighRiskActivitiesQueryResult = Apollo.QueryResult<HighRiskActivitiesQuery, HighRiskActivitiesQueryVariables>;
|
|
2711
|
+
export const SecurityEventsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"SecurityEvents"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"limit"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"resolved"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Boolean"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"severity"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"securityEvents"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"Variable","name":{"kind":"Name","value":"limit"}}},{"kind":"Argument","name":{"kind":"Name","value":"resolved"},"value":{"kind":"Variable","name":{"kind":"Name","value":"resolved"}}},{"kind":"Argument","name":{"kind":"Name","value":"severity"},"value":{"kind":"Variable","name":{"kind":"Name","value":"severity"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"severity"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"timestamp"}},{"kind":"Field","name":{"kind":"Name","value":"userId"}},{"kind":"Field","name":{"kind":"Name","value":"organizationId"}},{"kind":"Field","name":{"kind":"Name","value":"ipAddress"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attemptCount"}},{"kind":"Field","name":{"kind":"Name","value":"timeWindow"}},{"kind":"Field","name":{"kind":"Name","value":"userAgent"}},{"kind":"Field","name":{"kind":"Name","value":"newLocation"}},{"kind":"Field","name":{"kind":"Name","value":"previousLocation"}},{"kind":"Field","name":{"kind":"Name","value":"accountAge"}}]}},{"kind":"Field","name":{"kind":"Name","value":"resolved"}}]}}]}}]} as unknown as DocumentNode;
|
|
2712
|
+
|
|
2713
|
+
/**
|
|
2714
|
+
* __useSecurityEventsQuery__
|
|
2715
|
+
*
|
|
2716
|
+
* To run a query within a React component, call `useSecurityEventsQuery` and pass it any options that fit your needs.
|
|
2717
|
+
* When your component renders, `useSecurityEventsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2718
|
+
* you can use to render your UI.
|
|
2719
|
+
*
|
|
2720
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
2721
|
+
*
|
|
2722
|
+
* @example
|
|
2723
|
+
* const { data, loading, error } = useSecurityEventsQuery({
|
|
2724
|
+
* variables: {
|
|
2725
|
+
* limit: // value for 'limit'
|
|
2726
|
+
* resolved: // value for 'resolved'
|
|
2727
|
+
* severity: // value for 'severity'
|
|
2728
|
+
* },
|
|
2729
|
+
* });
|
|
2730
|
+
*/
|
|
2731
|
+
export function useSecurityEventsQuery(baseOptions?: Apollo.QueryHookOptions<SecurityEventsQuery, SecurityEventsQueryVariables>) {
|
|
2732
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2733
|
+
return Apollo.useQuery<SecurityEventsQuery, SecurityEventsQueryVariables>(SecurityEventsDocument, options);
|
|
2734
|
+
}
|
|
2735
|
+
export function useSecurityEventsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<SecurityEventsQuery, SecurityEventsQueryVariables>) {
|
|
2736
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2737
|
+
return Apollo.useLazyQuery<SecurityEventsQuery, SecurityEventsQueryVariables>(SecurityEventsDocument, options);
|
|
2738
|
+
}
|
|
2739
|
+
export function useSecurityEventsSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<SecurityEventsQuery, SecurityEventsQueryVariables>) {
|
|
2740
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
|
|
2741
|
+
return Apollo.useSuspenseQuery<SecurityEventsQuery, SecurityEventsQueryVariables>(SecurityEventsDocument, options);
|
|
2742
|
+
}
|
|
2743
|
+
export type SecurityEventsQueryHookResult = ReturnType<typeof useSecurityEventsQuery>;
|
|
2744
|
+
export type SecurityEventsLazyQueryHookResult = ReturnType<typeof useSecurityEventsLazyQuery>;
|
|
2745
|
+
export type SecurityEventsSuspenseQueryHookResult = ReturnType<typeof useSecurityEventsSuspenseQuery>;
|
|
2746
|
+
export type SecurityEventsQueryResult = Apollo.QueryResult<SecurityEventsQuery, SecurityEventsQueryVariables>;
|
|
2747
|
+
export const EarlyAccessRegistrationsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"EarlyAccessRegistrations"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"status"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"earlyAccessRegistrations"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"status"},"value":{"kind":"Variable","name":{"kind":"Name","value":"status"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"email"}},{"kind":"Field","name":{"kind":"Name","value":"contactName"}},{"kind":"Field","name":{"kind":"Name","value":"companyName"}},{"kind":"Field","name":{"kind":"Name","value":"role"}},{"kind":"Field","name":{"kind":"Name","value":"teamSize"}},{"kind":"Field","name":{"kind":"Name","value":"serviceCount"}},{"kind":"Field","name":{"kind":"Name","value":"repoStructure"}},{"kind":"Field","name":{"kind":"Name","value":"primaryLanguages"}},{"kind":"Field","name":{"kind":"Name","value":"currentTools"}},{"kind":"Field","name":{"kind":"Name","value":"aiTools"}},{"kind":"Field","name":{"kind":"Name","value":"projectTypes"}},{"kind":"Field","name":{"kind":"Name","value":"painPoints"}},{"kind":"Field","name":{"kind":"Name","value":"comments"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"inviteSentAt"}},{"kind":"Field","name":{"kind":"Name","value":"inviteToken"}},{"kind":"Field","name":{"kind":"Name","value":"organizationInviteId"}},{"kind":"Field","name":{"kind":"Name","value":"notes"}},{"kind":"Field","name":{"kind":"Name","value":"acceptedTerms"}},{"kind":"Field","name":{"kind":"Name","value":"ageVerified"}},{"kind":"Field","name":{"kind":"Name","value":"subscribeToNewsletter"}}]}}]}}]} as unknown as DocumentNode;
|
|
2748
|
+
|
|
2749
|
+
/**
|
|
2750
|
+
* __useEarlyAccessRegistrationsQuery__
|
|
2751
|
+
*
|
|
2752
|
+
* To run a query within a React component, call `useEarlyAccessRegistrationsQuery` and pass it any options that fit your needs.
|
|
2753
|
+
* When your component renders, `useEarlyAccessRegistrationsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2754
|
+
* you can use to render your UI.
|
|
2755
|
+
*
|
|
2756
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
2757
|
+
*
|
|
2758
|
+
* @example
|
|
2759
|
+
* const { data, loading, error } = useEarlyAccessRegistrationsQuery({
|
|
2760
|
+
* variables: {
|
|
2761
|
+
* status: // value for 'status'
|
|
2762
|
+
* },
|
|
2763
|
+
* });
|
|
2764
|
+
*/
|
|
2765
|
+
export function useEarlyAccessRegistrationsQuery(baseOptions?: Apollo.QueryHookOptions<EarlyAccessRegistrationsQuery, EarlyAccessRegistrationsQueryVariables>) {
|
|
2766
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2767
|
+
return Apollo.useQuery<EarlyAccessRegistrationsQuery, EarlyAccessRegistrationsQueryVariables>(EarlyAccessRegistrationsDocument, options);
|
|
2768
|
+
}
|
|
2769
|
+
export function useEarlyAccessRegistrationsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<EarlyAccessRegistrationsQuery, EarlyAccessRegistrationsQueryVariables>) {
|
|
2770
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2771
|
+
return Apollo.useLazyQuery<EarlyAccessRegistrationsQuery, EarlyAccessRegistrationsQueryVariables>(EarlyAccessRegistrationsDocument, options);
|
|
2772
|
+
}
|
|
2773
|
+
export function useEarlyAccessRegistrationsSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<EarlyAccessRegistrationsQuery, EarlyAccessRegistrationsQueryVariables>) {
|
|
2774
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
|
|
2775
|
+
return Apollo.useSuspenseQuery<EarlyAccessRegistrationsQuery, EarlyAccessRegistrationsQueryVariables>(EarlyAccessRegistrationsDocument, options);
|
|
2776
|
+
}
|
|
2777
|
+
export type EarlyAccessRegistrationsQueryHookResult = ReturnType<typeof useEarlyAccessRegistrationsQuery>;
|
|
2778
|
+
export type EarlyAccessRegistrationsLazyQueryHookResult = ReturnType<typeof useEarlyAccessRegistrationsLazyQuery>;
|
|
2779
|
+
export type EarlyAccessRegistrationsSuspenseQueryHookResult = ReturnType<typeof useEarlyAccessRegistrationsSuspenseQuery>;
|
|
2780
|
+
export type EarlyAccessRegistrationsQueryResult = Apollo.QueryResult<EarlyAccessRegistrationsQuery, EarlyAccessRegistrationsQueryVariables>;
|
|
2781
|
+
export const EarlyAccessRegistrationDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"EarlyAccessRegistration"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"earlyAccessRegistration"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"email"}},{"kind":"Field","name":{"kind":"Name","value":"contactName"}},{"kind":"Field","name":{"kind":"Name","value":"companyName"}},{"kind":"Field","name":{"kind":"Name","value":"role"}},{"kind":"Field","name":{"kind":"Name","value":"teamSize"}},{"kind":"Field","name":{"kind":"Name","value":"serviceCount"}},{"kind":"Field","name":{"kind":"Name","value":"repoStructure"}},{"kind":"Field","name":{"kind":"Name","value":"primaryLanguages"}},{"kind":"Field","name":{"kind":"Name","value":"currentTools"}},{"kind":"Field","name":{"kind":"Name","value":"aiTools"}},{"kind":"Field","name":{"kind":"Name","value":"projectTypes"}},{"kind":"Field","name":{"kind":"Name","value":"painPoints"}},{"kind":"Field","name":{"kind":"Name","value":"comments"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"inviteSentAt"}},{"kind":"Field","name":{"kind":"Name","value":"inviteToken"}},{"kind":"Field","name":{"kind":"Name","value":"organizationInviteId"}},{"kind":"Field","name":{"kind":"Name","value":"notes"}},{"kind":"Field","name":{"kind":"Name","value":"acceptedTerms"}},{"kind":"Field","name":{"kind":"Name","value":"ageVerified"}},{"kind":"Field","name":{"kind":"Name","value":"subscribeToNewsletter"}},{"kind":"Field","name":{"kind":"Name","value":"createdBy"}},{"kind":"Field","name":{"kind":"Name","value":"updatedBy"}}]}}]}}]} as unknown as DocumentNode;
|
|
2782
|
+
|
|
2783
|
+
/**
|
|
2784
|
+
* __useEarlyAccessRegistrationQuery__
|
|
2785
|
+
*
|
|
2786
|
+
* To run a query within a React component, call `useEarlyAccessRegistrationQuery` and pass it any options that fit your needs.
|
|
2787
|
+
* When your component renders, `useEarlyAccessRegistrationQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2788
|
+
* you can use to render your UI.
|
|
2789
|
+
*
|
|
2790
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
2791
|
+
*
|
|
2792
|
+
* @example
|
|
2793
|
+
* const { data, loading, error } = useEarlyAccessRegistrationQuery({
|
|
2794
|
+
* variables: {
|
|
2795
|
+
* id: // value for 'id'
|
|
2796
|
+
* },
|
|
2797
|
+
* });
|
|
2798
|
+
*/
|
|
2799
|
+
export function useEarlyAccessRegistrationQuery(baseOptions: Apollo.QueryHookOptions<EarlyAccessRegistrationQuery, EarlyAccessRegistrationQueryVariables> & ({ variables: EarlyAccessRegistrationQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {
|
|
2800
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2801
|
+
return Apollo.useQuery<EarlyAccessRegistrationQuery, EarlyAccessRegistrationQueryVariables>(EarlyAccessRegistrationDocument, options);
|
|
2802
|
+
}
|
|
2803
|
+
export function useEarlyAccessRegistrationLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<EarlyAccessRegistrationQuery, EarlyAccessRegistrationQueryVariables>) {
|
|
2804
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2805
|
+
return Apollo.useLazyQuery<EarlyAccessRegistrationQuery, EarlyAccessRegistrationQueryVariables>(EarlyAccessRegistrationDocument, options);
|
|
2806
|
+
}
|
|
2807
|
+
export function useEarlyAccessRegistrationSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<EarlyAccessRegistrationQuery, EarlyAccessRegistrationQueryVariables>) {
|
|
2808
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
|
|
2809
|
+
return Apollo.useSuspenseQuery<EarlyAccessRegistrationQuery, EarlyAccessRegistrationQueryVariables>(EarlyAccessRegistrationDocument, options);
|
|
2810
|
+
}
|
|
2811
|
+
export type EarlyAccessRegistrationQueryHookResult = ReturnType<typeof useEarlyAccessRegistrationQuery>;
|
|
2812
|
+
export type EarlyAccessRegistrationLazyQueryHookResult = ReturnType<typeof useEarlyAccessRegistrationLazyQuery>;
|
|
2813
|
+
export type EarlyAccessRegistrationSuspenseQueryHookResult = ReturnType<typeof useEarlyAccessRegistrationSuspenseQuery>;
|
|
2814
|
+
export type EarlyAccessRegistrationQueryResult = Apollo.QueryResult<EarlyAccessRegistrationQuery, EarlyAccessRegistrationQueryVariables>;
|
|
2815
|
+
export const EarlyAccessRegistrationCountDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"EarlyAccessRegistrationCount"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"status"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"earlyAccessRegistrationCount"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"status"},"value":{"kind":"Variable","name":{"kind":"Name","value":"status"}}}]}]}}]} as unknown as DocumentNode;
|
|
2816
|
+
|
|
2817
|
+
/**
|
|
2818
|
+
* __useEarlyAccessRegistrationCountQuery__
|
|
2819
|
+
*
|
|
2820
|
+
* To run a query within a React component, call `useEarlyAccessRegistrationCountQuery` and pass it any options that fit your needs.
|
|
2821
|
+
* When your component renders, `useEarlyAccessRegistrationCountQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2822
|
+
* you can use to render your UI.
|
|
2823
|
+
*
|
|
2824
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
2825
|
+
*
|
|
2826
|
+
* @example
|
|
2827
|
+
* const { data, loading, error } = useEarlyAccessRegistrationCountQuery({
|
|
2828
|
+
* variables: {
|
|
2829
|
+
* status: // value for 'status'
|
|
2830
|
+
* },
|
|
2831
|
+
* });
|
|
2832
|
+
*/
|
|
2833
|
+
export function useEarlyAccessRegistrationCountQuery(baseOptions?: Apollo.QueryHookOptions<EarlyAccessRegistrationCountQuery, EarlyAccessRegistrationCountQueryVariables>) {
|
|
2834
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2835
|
+
return Apollo.useQuery<EarlyAccessRegistrationCountQuery, EarlyAccessRegistrationCountQueryVariables>(EarlyAccessRegistrationCountDocument, options);
|
|
2836
|
+
}
|
|
2837
|
+
export function useEarlyAccessRegistrationCountLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<EarlyAccessRegistrationCountQuery, EarlyAccessRegistrationCountQueryVariables>) {
|
|
2838
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2839
|
+
return Apollo.useLazyQuery<EarlyAccessRegistrationCountQuery, EarlyAccessRegistrationCountQueryVariables>(EarlyAccessRegistrationCountDocument, options);
|
|
2840
|
+
}
|
|
2841
|
+
export function useEarlyAccessRegistrationCountSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<EarlyAccessRegistrationCountQuery, EarlyAccessRegistrationCountQueryVariables>) {
|
|
2842
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
|
|
2843
|
+
return Apollo.useSuspenseQuery<EarlyAccessRegistrationCountQuery, EarlyAccessRegistrationCountQueryVariables>(EarlyAccessRegistrationCountDocument, options);
|
|
2844
|
+
}
|
|
2845
|
+
export type EarlyAccessRegistrationCountQueryHookResult = ReturnType<typeof useEarlyAccessRegistrationCountQuery>;
|
|
2846
|
+
export type EarlyAccessRegistrationCountLazyQueryHookResult = ReturnType<typeof useEarlyAccessRegistrationCountLazyQuery>;
|
|
2847
|
+
export type EarlyAccessRegistrationCountSuspenseQueryHookResult = ReturnType<typeof useEarlyAccessRegistrationCountSuspenseQuery>;
|
|
2848
|
+
export type EarlyAccessRegistrationCountQueryResult = Apollo.QueryResult<EarlyAccessRegistrationCountQuery, EarlyAccessRegistrationCountQueryVariables>;
|
|
2849
|
+
export const CreateEarlyAccessRegistrationDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateEarlyAccessRegistration"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"EarlyAccessRegistrationInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createEarlyAccessRegistration"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"email"}},{"kind":"Field","name":{"kind":"Name","value":"contactName"}},{"kind":"Field","name":{"kind":"Name","value":"companyName"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}}]}}]}}]} as unknown as DocumentNode;
|
|
2850
|
+
export type CreateEarlyAccessRegistrationMutationFn = Apollo.MutationFunction<CreateEarlyAccessRegistrationMutation, CreateEarlyAccessRegistrationMutationVariables>;
|
|
2851
|
+
|
|
2852
|
+
/**
|
|
2853
|
+
* __useCreateEarlyAccessRegistrationMutation__
|
|
2854
|
+
*
|
|
2855
|
+
* To run a mutation, you first call `useCreateEarlyAccessRegistrationMutation` within a React component and pass it any options that fit your needs.
|
|
2856
|
+
* When your component renders, `useCreateEarlyAccessRegistrationMutation` returns a tuple that includes:
|
|
2857
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
2858
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
2859
|
+
*
|
|
2860
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
2861
|
+
*
|
|
2862
|
+
* @example
|
|
2863
|
+
* const [createEarlyAccessRegistrationMutation, { data, loading, error }] = useCreateEarlyAccessRegistrationMutation({
|
|
2864
|
+
* variables: {
|
|
2865
|
+
* input: // value for 'input'
|
|
2866
|
+
* },
|
|
2867
|
+
* });
|
|
2868
|
+
*/
|
|
2869
|
+
export function useCreateEarlyAccessRegistrationMutation(baseOptions?: Apollo.MutationHookOptions<CreateEarlyAccessRegistrationMutation, CreateEarlyAccessRegistrationMutationVariables>) {
|
|
2870
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2871
|
+
return Apollo.useMutation<CreateEarlyAccessRegistrationMutation, CreateEarlyAccessRegistrationMutationVariables>(CreateEarlyAccessRegistrationDocument, options);
|
|
2872
|
+
}
|
|
2873
|
+
export type CreateEarlyAccessRegistrationMutationHookResult = ReturnType<typeof useCreateEarlyAccessRegistrationMutation>;
|
|
2874
|
+
export type CreateEarlyAccessRegistrationMutationResult = Apollo.MutationResult<CreateEarlyAccessRegistrationMutation>;
|
|
2875
|
+
export type CreateEarlyAccessRegistrationMutationOptions = Apollo.BaseMutationOptions<CreateEarlyAccessRegistrationMutation, CreateEarlyAccessRegistrationMutationVariables>;
|
|
2876
|
+
export const UpdateEarlyAccessRegistrationDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateEarlyAccessRegistration"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateEarlyAccessRegistrationInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateEarlyAccessRegistration"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}},{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"email"}},{"kind":"Field","name":{"kind":"Name","value":"contactName"}},{"kind":"Field","name":{"kind":"Name","value":"companyName"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"notes"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]}}]} as unknown as DocumentNode;
|
|
2877
|
+
export type UpdateEarlyAccessRegistrationMutationFn = Apollo.MutationFunction<UpdateEarlyAccessRegistrationMutation, UpdateEarlyAccessRegistrationMutationVariables>;
|
|
2878
|
+
|
|
2879
|
+
/**
|
|
2880
|
+
* __useUpdateEarlyAccessRegistrationMutation__
|
|
2881
|
+
*
|
|
2882
|
+
* To run a mutation, you first call `useUpdateEarlyAccessRegistrationMutation` within a React component and pass it any options that fit your needs.
|
|
2883
|
+
* When your component renders, `useUpdateEarlyAccessRegistrationMutation` returns a tuple that includes:
|
|
2884
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
2885
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
2886
|
+
*
|
|
2887
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
2888
|
+
*
|
|
2889
|
+
* @example
|
|
2890
|
+
* const [updateEarlyAccessRegistrationMutation, { data, loading, error }] = useUpdateEarlyAccessRegistrationMutation({
|
|
2891
|
+
* variables: {
|
|
2892
|
+
* id: // value for 'id'
|
|
2893
|
+
* input: // value for 'input'
|
|
2894
|
+
* },
|
|
2895
|
+
* });
|
|
2896
|
+
*/
|
|
2897
|
+
export function useUpdateEarlyAccessRegistrationMutation(baseOptions?: Apollo.MutationHookOptions<UpdateEarlyAccessRegistrationMutation, UpdateEarlyAccessRegistrationMutationVariables>) {
|
|
2898
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2899
|
+
return Apollo.useMutation<UpdateEarlyAccessRegistrationMutation, UpdateEarlyAccessRegistrationMutationVariables>(UpdateEarlyAccessRegistrationDocument, options);
|
|
2900
|
+
}
|
|
2901
|
+
export type UpdateEarlyAccessRegistrationMutationHookResult = ReturnType<typeof useUpdateEarlyAccessRegistrationMutation>;
|
|
2902
|
+
export type UpdateEarlyAccessRegistrationMutationResult = Apollo.MutationResult<UpdateEarlyAccessRegistrationMutation>;
|
|
2903
|
+
export type UpdateEarlyAccessRegistrationMutationOptions = Apollo.BaseMutationOptions<UpdateEarlyAccessRegistrationMutation, UpdateEarlyAccessRegistrationMutationVariables>;
|
|
2904
|
+
export const GenerateInviteTokenDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"GenerateInviteToken"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"earlyAccessId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"generateInviteToken"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"earlyAccessId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"earlyAccessId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"success"}},{"kind":"Field","name":{"kind":"Name","value":"inviteToken"}},{"kind":"Field","name":{"kind":"Name","value":"inviteUrl"}},{"kind":"Field","name":{"kind":"Name","value":"error"}}]}}]}}]} as unknown as DocumentNode;
|
|
2905
|
+
export type GenerateInviteTokenMutationFn = Apollo.MutationFunction<GenerateInviteTokenMutation, GenerateInviteTokenMutationVariables>;
|
|
2906
|
+
|
|
2907
|
+
/**
|
|
2908
|
+
* __useGenerateInviteTokenMutation__
|
|
2909
|
+
*
|
|
2910
|
+
* To run a mutation, you first call `useGenerateInviteTokenMutation` within a React component and pass it any options that fit your needs.
|
|
2911
|
+
* When your component renders, `useGenerateInviteTokenMutation` returns a tuple that includes:
|
|
2912
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
2913
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
2914
|
+
*
|
|
2915
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
2916
|
+
*
|
|
2917
|
+
* @example
|
|
2918
|
+
* const [generateInviteTokenMutation, { data, loading, error }] = useGenerateInviteTokenMutation({
|
|
2919
|
+
* variables: {
|
|
2920
|
+
* earlyAccessId: // value for 'earlyAccessId'
|
|
2921
|
+
* },
|
|
2922
|
+
* });
|
|
2923
|
+
*/
|
|
2924
|
+
export function useGenerateInviteTokenMutation(baseOptions?: Apollo.MutationHookOptions<GenerateInviteTokenMutation, GenerateInviteTokenMutationVariables>) {
|
|
2925
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2926
|
+
return Apollo.useMutation<GenerateInviteTokenMutation, GenerateInviteTokenMutationVariables>(GenerateInviteTokenDocument, options);
|
|
2927
|
+
}
|
|
2928
|
+
export type GenerateInviteTokenMutationHookResult = ReturnType<typeof useGenerateInviteTokenMutation>;
|
|
2929
|
+
export type GenerateInviteTokenMutationResult = Apollo.MutationResult<GenerateInviteTokenMutation>;
|
|
2930
|
+
export type GenerateInviteTokenMutationOptions = Apollo.BaseMutationOptions<GenerateInviteTokenMutation, GenerateInviteTokenMutationVariables>;
|
|
2931
|
+
export const CreateInviteFromEarlyAccessDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateInviteFromEarlyAccess"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CreateInviteFromEarlyAccessInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createInviteFromEarlyAccess"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"success"}},{"kind":"Field","name":{"kind":"Name","value":"inviteToken"}},{"kind":"Field","name":{"kind":"Name","value":"inviteUrl"}},{"kind":"Field","name":{"kind":"Name","value":"error"}}]}}]}}]} as unknown as DocumentNode;
|
|
2932
|
+
export type CreateInviteFromEarlyAccessMutationFn = Apollo.MutationFunction<CreateInviteFromEarlyAccessMutation, CreateInviteFromEarlyAccessMutationVariables>;
|
|
2933
|
+
|
|
2934
|
+
/**
|
|
2935
|
+
* __useCreateInviteFromEarlyAccessMutation__
|
|
2936
|
+
*
|
|
2937
|
+
* To run a mutation, you first call `useCreateInviteFromEarlyAccessMutation` within a React component and pass it any options that fit your needs.
|
|
2938
|
+
* When your component renders, `useCreateInviteFromEarlyAccessMutation` returns a tuple that includes:
|
|
2939
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
2940
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
2941
|
+
*
|
|
2942
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
2943
|
+
*
|
|
2944
|
+
* @example
|
|
2945
|
+
* const [createInviteFromEarlyAccessMutation, { data, loading, error }] = useCreateInviteFromEarlyAccessMutation({
|
|
2946
|
+
* variables: {
|
|
2947
|
+
* input: // value for 'input'
|
|
2948
|
+
* },
|
|
2949
|
+
* });
|
|
2950
|
+
*/
|
|
2951
|
+
export function useCreateInviteFromEarlyAccessMutation(baseOptions?: Apollo.MutationHookOptions<CreateInviteFromEarlyAccessMutation, CreateInviteFromEarlyAccessMutationVariables>) {
|
|
2952
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2953
|
+
return Apollo.useMutation<CreateInviteFromEarlyAccessMutation, CreateInviteFromEarlyAccessMutationVariables>(CreateInviteFromEarlyAccessDocument, options);
|
|
2954
|
+
}
|
|
2955
|
+
export type CreateInviteFromEarlyAccessMutationHookResult = ReturnType<typeof useCreateInviteFromEarlyAccessMutation>;
|
|
2956
|
+
export type CreateInviteFromEarlyAccessMutationResult = Apollo.MutationResult<CreateInviteFromEarlyAccessMutation>;
|
|
2957
|
+
export type CreateInviteFromEarlyAccessMutationOptions = Apollo.BaseMutationOptions<CreateInviteFromEarlyAccessMutation, CreateInviteFromEarlyAccessMutationVariables>;
|
|
2958
|
+
export const BillingPlansDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"BillingPlans"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"billingPlans"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"monthlyPrice"}},{"kind":"Field","name":{"kind":"Name","value":"maxUsers"}},{"kind":"Field","name":{"kind":"Name","value":"maxProjects"}},{"kind":"Field","name":{"kind":"Name","value":"maxStorageGB"}},{"kind":"Field","name":{"kind":"Name","value":"features"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}}]}}]}}]} as unknown as DocumentNode;
|
|
2959
|
+
|
|
2960
|
+
/**
|
|
2961
|
+
* __useBillingPlansQuery__
|
|
2962
|
+
*
|
|
2963
|
+
* To run a query within a React component, call `useBillingPlansQuery` and pass it any options that fit your needs.
|
|
2964
|
+
* When your component renders, `useBillingPlansQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2965
|
+
* you can use to render your UI.
|
|
2966
|
+
*
|
|
2967
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
2968
|
+
*
|
|
2969
|
+
* @example
|
|
2970
|
+
* const { data, loading, error } = useBillingPlansQuery({
|
|
2971
|
+
* variables: {
|
|
2972
|
+
* },
|
|
2973
|
+
* });
|
|
2974
|
+
*/
|
|
2975
|
+
export function useBillingPlansQuery(baseOptions?: Apollo.QueryHookOptions<BillingPlansQuery, BillingPlansQueryVariables>) {
|
|
2976
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2977
|
+
return Apollo.useQuery<BillingPlansQuery, BillingPlansQueryVariables>(BillingPlansDocument, options);
|
|
2978
|
+
}
|
|
2979
|
+
export function useBillingPlansLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<BillingPlansQuery, BillingPlansQueryVariables>) {
|
|
2980
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
2981
|
+
return Apollo.useLazyQuery<BillingPlansQuery, BillingPlansQueryVariables>(BillingPlansDocument, options);
|
|
2982
|
+
}
|
|
2983
|
+
export function useBillingPlansSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<BillingPlansQuery, BillingPlansQueryVariables>) {
|
|
2984
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
|
|
2985
|
+
return Apollo.useSuspenseQuery<BillingPlansQuery, BillingPlansQueryVariables>(BillingPlansDocument, options);
|
|
2986
|
+
}
|
|
2987
|
+
export type BillingPlansQueryHookResult = ReturnType<typeof useBillingPlansQuery>;
|
|
2988
|
+
export type BillingPlansLazyQueryHookResult = ReturnType<typeof useBillingPlansLazyQuery>;
|
|
2989
|
+
export type BillingPlansSuspenseQueryHookResult = ReturnType<typeof useBillingPlansSuspenseQuery>;
|
|
2990
|
+
export type BillingPlansQueryResult = Apollo.QueryResult<BillingPlansQuery, BillingPlansQueryVariables>;
|
|
2991
|
+
export const CreateBillingPlanDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateBillingPlan"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CreateBillingPlanInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createBillingPlan"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"monthlyPrice"}},{"kind":"Field","name":{"kind":"Name","value":"maxUsers"}},{"kind":"Field","name":{"kind":"Name","value":"maxProjects"}},{"kind":"Field","name":{"kind":"Name","value":"maxStorageGB"}},{"kind":"Field","name":{"kind":"Name","value":"features"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}}]}}]}}]} as unknown as DocumentNode;
|
|
2992
|
+
export type CreateBillingPlanMutationFn = Apollo.MutationFunction<CreateBillingPlanMutation, CreateBillingPlanMutationVariables>;
|
|
2993
|
+
|
|
2994
|
+
/**
|
|
2995
|
+
* __useCreateBillingPlanMutation__
|
|
2996
|
+
*
|
|
2997
|
+
* To run a mutation, you first call `useCreateBillingPlanMutation` within a React component and pass it any options that fit your needs.
|
|
2998
|
+
* When your component renders, `useCreateBillingPlanMutation` returns a tuple that includes:
|
|
2999
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
3000
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
3001
|
+
*
|
|
3002
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
3003
|
+
*
|
|
3004
|
+
* @example
|
|
3005
|
+
* const [createBillingPlanMutation, { data, loading, error }] = useCreateBillingPlanMutation({
|
|
3006
|
+
* variables: {
|
|
3007
|
+
* input: // value for 'input'
|
|
3008
|
+
* },
|
|
3009
|
+
* });
|
|
3010
|
+
*/
|
|
3011
|
+
export function useCreateBillingPlanMutation(baseOptions?: Apollo.MutationHookOptions<CreateBillingPlanMutation, CreateBillingPlanMutationVariables>) {
|
|
3012
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
3013
|
+
return Apollo.useMutation<CreateBillingPlanMutation, CreateBillingPlanMutationVariables>(CreateBillingPlanDocument, options);
|
|
3014
|
+
}
|
|
3015
|
+
export type CreateBillingPlanMutationHookResult = ReturnType<typeof useCreateBillingPlanMutation>;
|
|
3016
|
+
export type CreateBillingPlanMutationResult = Apollo.MutationResult<CreateBillingPlanMutation>;
|
|
3017
|
+
export type CreateBillingPlanMutationOptions = Apollo.BaseMutationOptions<CreateBillingPlanMutation, CreateBillingPlanMutationVariables>;
|
|
3018
|
+
export const AllSubscriptionsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"AllSubscriptions"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"limit"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"offset"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"status"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"allSubscriptions"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"Variable","name":{"kind":"Name","value":"limit"}}},{"kind":"Argument","name":{"kind":"Name","value":"offset"},"value":{"kind":"Variable","name":{"kind":"Name","value":"offset"}}},{"kind":"Argument","name":{"kind":"Name","value":"status"},"value":{"kind":"Variable","name":{"kind":"Name","value":"status"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"organizationId"}},{"kind":"Field","name":{"kind":"Name","value":"planId"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"monthlyAmount"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"currentPeriodStart"}},{"kind":"Field","name":{"kind":"Name","value":"currentPeriodEnd"}},{"kind":"Field","name":{"kind":"Name","value":"trialEnd"}},{"kind":"Field","name":{"kind":"Name","value":"cancelAtPeriodEnd"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]}}]} as unknown as DocumentNode;
|
|
3019
|
+
|
|
3020
|
+
/**
|
|
3021
|
+
* __useAllSubscriptionsQuery__
|
|
3022
|
+
*
|
|
3023
|
+
* To run a query within a React component, call `useAllSubscriptionsQuery` and pass it any options that fit your needs.
|
|
3024
|
+
* When your component renders, `useAllSubscriptionsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
3025
|
+
* you can use to render your UI.
|
|
3026
|
+
*
|
|
3027
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
3028
|
+
*
|
|
3029
|
+
* @example
|
|
3030
|
+
* const { data, loading, error } = useAllSubscriptionsQuery({
|
|
3031
|
+
* variables: {
|
|
3032
|
+
* limit: // value for 'limit'
|
|
3033
|
+
* offset: // value for 'offset'
|
|
3034
|
+
* status: // value for 'status'
|
|
3035
|
+
* },
|
|
3036
|
+
* });
|
|
3037
|
+
*/
|
|
3038
|
+
export function useAllSubscriptionsQuery(baseOptions?: Apollo.QueryHookOptions<AllSubscriptionsQuery, AllSubscriptionsQueryVariables>) {
|
|
3039
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
3040
|
+
return Apollo.useQuery<AllSubscriptionsQuery, AllSubscriptionsQueryVariables>(AllSubscriptionsDocument, options);
|
|
3041
|
+
}
|
|
3042
|
+
export function useAllSubscriptionsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<AllSubscriptionsQuery, AllSubscriptionsQueryVariables>) {
|
|
3043
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
3044
|
+
return Apollo.useLazyQuery<AllSubscriptionsQuery, AllSubscriptionsQueryVariables>(AllSubscriptionsDocument, options);
|
|
3045
|
+
}
|
|
3046
|
+
export function useAllSubscriptionsSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<AllSubscriptionsQuery, AllSubscriptionsQueryVariables>) {
|
|
3047
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
|
|
3048
|
+
return Apollo.useSuspenseQuery<AllSubscriptionsQuery, AllSubscriptionsQueryVariables>(AllSubscriptionsDocument, options);
|
|
3049
|
+
}
|
|
3050
|
+
export type AllSubscriptionsQueryHookResult = ReturnType<typeof useAllSubscriptionsQuery>;
|
|
3051
|
+
export type AllSubscriptionsLazyQueryHookResult = ReturnType<typeof useAllSubscriptionsLazyQuery>;
|
|
3052
|
+
export type AllSubscriptionsSuspenseQueryHookResult = ReturnType<typeof useAllSubscriptionsSuspenseQuery>;
|
|
3053
|
+
export type AllSubscriptionsQueryResult = Apollo.QueryResult<AllSubscriptionsQuery, AllSubscriptionsQueryVariables>;
|
|
3054
|
+
export const OrganizationSubscriptionDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"OrganizationSubscription"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"organizationId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"organizationSubscription"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"organizationId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"organizationId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"organizationId"}},{"kind":"Field","name":{"kind":"Name","value":"planId"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"monthlyAmount"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"currentPeriodStart"}},{"kind":"Field","name":{"kind":"Name","value":"currentPeriodEnd"}},{"kind":"Field","name":{"kind":"Name","value":"trialEnd"}},{"kind":"Field","name":{"kind":"Name","value":"cancelAtPeriodEnd"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]}}]} as unknown as DocumentNode;
|
|
3055
|
+
|
|
3056
|
+
/**
|
|
3057
|
+
* __useOrganizationSubscriptionQuery__
|
|
3058
|
+
*
|
|
3059
|
+
* To run a query within a React component, call `useOrganizationSubscriptionQuery` and pass it any options that fit your needs.
|
|
3060
|
+
* When your component renders, `useOrganizationSubscriptionQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
3061
|
+
* you can use to render your UI.
|
|
3062
|
+
*
|
|
3063
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
3064
|
+
*
|
|
3065
|
+
* @example
|
|
3066
|
+
* const { data, loading, error } = useOrganizationSubscriptionQuery({
|
|
3067
|
+
* variables: {
|
|
3068
|
+
* organizationId: // value for 'organizationId'
|
|
3069
|
+
* },
|
|
3070
|
+
* });
|
|
3071
|
+
*/
|
|
3072
|
+
export function useOrganizationSubscriptionQuery(baseOptions: Apollo.QueryHookOptions<OrganizationSubscriptionQuery, OrganizationSubscriptionQueryVariables> & ({ variables: OrganizationSubscriptionQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {
|
|
3073
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
3074
|
+
return Apollo.useQuery<OrganizationSubscriptionQuery, OrganizationSubscriptionQueryVariables>(OrganizationSubscriptionDocument, options);
|
|
3075
|
+
}
|
|
3076
|
+
export function useOrganizationSubscriptionLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<OrganizationSubscriptionQuery, OrganizationSubscriptionQueryVariables>) {
|
|
3077
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
3078
|
+
return Apollo.useLazyQuery<OrganizationSubscriptionQuery, OrganizationSubscriptionQueryVariables>(OrganizationSubscriptionDocument, options);
|
|
3079
|
+
}
|
|
3080
|
+
export function useOrganizationSubscriptionSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<OrganizationSubscriptionQuery, OrganizationSubscriptionQueryVariables>) {
|
|
3081
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
|
|
3082
|
+
return Apollo.useSuspenseQuery<OrganizationSubscriptionQuery, OrganizationSubscriptionQueryVariables>(OrganizationSubscriptionDocument, options);
|
|
3083
|
+
}
|
|
3084
|
+
export type OrganizationSubscriptionQueryHookResult = ReturnType<typeof useOrganizationSubscriptionQuery>;
|
|
3085
|
+
export type OrganizationSubscriptionLazyQueryHookResult = ReturnType<typeof useOrganizationSubscriptionLazyQuery>;
|
|
3086
|
+
export type OrganizationSubscriptionSuspenseQueryHookResult = ReturnType<typeof useOrganizationSubscriptionSuspenseQuery>;
|
|
3087
|
+
export type OrganizationSubscriptionQueryResult = Apollo.QueryResult<OrganizationSubscriptionQuery, OrganizationSubscriptionQueryVariables>;
|
|
3088
|
+
export const OrganizationUsageDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"OrganizationUsage"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"organizationId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"billingPeriod"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"organizationUsage"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"organizationId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"organizationId"}}},{"kind":"Argument","name":{"kind":"Name","value":"billingPeriod"},"value":{"kind":"Variable","name":{"kind":"Name","value":"billingPeriod"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"organizationId"}},{"kind":"Field","name":{"kind":"Name","value":"billingPeriod"}},{"kind":"Field","name":{"kind":"Name","value":"userCount"}},{"kind":"Field","name":{"kind":"Name","value":"projectCount"}},{"kind":"Field","name":{"kind":"Name","value":"storageUsageGB"}},{"kind":"Field","name":{"kind":"Name","value":"apiRequestCount"}},{"kind":"Field","name":{"kind":"Name","value":"aiAnalysisCount"}},{"kind":"Field","name":{"kind":"Name","value":"overage"}}]}}]}}]} as unknown as DocumentNode;
|
|
3089
|
+
|
|
3090
|
+
/**
|
|
3091
|
+
* __useOrganizationUsageQuery__
|
|
3092
|
+
*
|
|
3093
|
+
* To run a query within a React component, call `useOrganizationUsageQuery` and pass it any options that fit your needs.
|
|
3094
|
+
* When your component renders, `useOrganizationUsageQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
3095
|
+
* you can use to render your UI.
|
|
3096
|
+
*
|
|
3097
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
3098
|
+
*
|
|
3099
|
+
* @example
|
|
3100
|
+
* const { data, loading, error } = useOrganizationUsageQuery({
|
|
3101
|
+
* variables: {
|
|
3102
|
+
* organizationId: // value for 'organizationId'
|
|
3103
|
+
* billingPeriod: // value for 'billingPeriod'
|
|
3104
|
+
* },
|
|
3105
|
+
* });
|
|
3106
|
+
*/
|
|
3107
|
+
export function useOrganizationUsageQuery(baseOptions: Apollo.QueryHookOptions<OrganizationUsageQuery, OrganizationUsageQueryVariables> & ({ variables: OrganizationUsageQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {
|
|
3108
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
3109
|
+
return Apollo.useQuery<OrganizationUsageQuery, OrganizationUsageQueryVariables>(OrganizationUsageDocument, options);
|
|
3110
|
+
}
|
|
3111
|
+
export function useOrganizationUsageLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<OrganizationUsageQuery, OrganizationUsageQueryVariables>) {
|
|
3112
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
3113
|
+
return Apollo.useLazyQuery<OrganizationUsageQuery, OrganizationUsageQueryVariables>(OrganizationUsageDocument, options);
|
|
3114
|
+
}
|
|
3115
|
+
export function useOrganizationUsageSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<OrganizationUsageQuery, OrganizationUsageQueryVariables>) {
|
|
3116
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
|
|
3117
|
+
return Apollo.useSuspenseQuery<OrganizationUsageQuery, OrganizationUsageQueryVariables>(OrganizationUsageDocument, options);
|
|
3118
|
+
}
|
|
3119
|
+
export type OrganizationUsageQueryHookResult = ReturnType<typeof useOrganizationUsageQuery>;
|
|
3120
|
+
export type OrganizationUsageLazyQueryHookResult = ReturnType<typeof useOrganizationUsageLazyQuery>;
|
|
3121
|
+
export type OrganizationUsageSuspenseQueryHookResult = ReturnType<typeof useOrganizationUsageSuspenseQuery>;
|
|
3122
|
+
export type OrganizationUsageQueryResult = Apollo.QueryResult<OrganizationUsageQuery, OrganizationUsageQueryVariables>;
|
|
3123
|
+
export const OrganizationInvoicesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"OrganizationInvoices"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"organizationId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"limit"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"organizationInvoices"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"organizationId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"organizationId"}}},{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"Variable","name":{"kind":"Name","value":"limit"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"organizationId"}},{"kind":"Field","name":{"kind":"Name","value":"subscriptionId"}},{"kind":"Field","name":{"kind":"Name","value":"invoiceNumber"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"dueDate"}},{"kind":"Field","name":{"kind":"Name","value":"paidAt"}},{"kind":"Field","name":{"kind":"Name","value":"lineItems"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}},{"kind":"Field","name":{"kind":"Name","value":"unitPrice"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}}]}}]}}]}}]} as unknown as DocumentNode;
|
|
3124
|
+
|
|
3125
|
+
/**
|
|
3126
|
+
* __useOrganizationInvoicesQuery__
|
|
3127
|
+
*
|
|
3128
|
+
* To run a query within a React component, call `useOrganizationInvoicesQuery` and pass it any options that fit your needs.
|
|
3129
|
+
* When your component renders, `useOrganizationInvoicesQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
3130
|
+
* you can use to render your UI.
|
|
3131
|
+
*
|
|
3132
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
3133
|
+
*
|
|
3134
|
+
* @example
|
|
3135
|
+
* const { data, loading, error } = useOrganizationInvoicesQuery({
|
|
3136
|
+
* variables: {
|
|
3137
|
+
* organizationId: // value for 'organizationId'
|
|
3138
|
+
* limit: // value for 'limit'
|
|
3139
|
+
* },
|
|
3140
|
+
* });
|
|
3141
|
+
*/
|
|
3142
|
+
export function useOrganizationInvoicesQuery(baseOptions: Apollo.QueryHookOptions<OrganizationInvoicesQuery, OrganizationInvoicesQueryVariables> & ({ variables: OrganizationInvoicesQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {
|
|
3143
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
3144
|
+
return Apollo.useQuery<OrganizationInvoicesQuery, OrganizationInvoicesQueryVariables>(OrganizationInvoicesDocument, options);
|
|
3145
|
+
}
|
|
3146
|
+
export function useOrganizationInvoicesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<OrganizationInvoicesQuery, OrganizationInvoicesQueryVariables>) {
|
|
3147
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
3148
|
+
return Apollo.useLazyQuery<OrganizationInvoicesQuery, OrganizationInvoicesQueryVariables>(OrganizationInvoicesDocument, options);
|
|
3149
|
+
}
|
|
3150
|
+
export function useOrganizationInvoicesSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<OrganizationInvoicesQuery, OrganizationInvoicesQueryVariables>) {
|
|
3151
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
|
|
3152
|
+
return Apollo.useSuspenseQuery<OrganizationInvoicesQuery, OrganizationInvoicesQueryVariables>(OrganizationInvoicesDocument, options);
|
|
3153
|
+
}
|
|
3154
|
+
export type OrganizationInvoicesQueryHookResult = ReturnType<typeof useOrganizationInvoicesQuery>;
|
|
3155
|
+
export type OrganizationInvoicesLazyQueryHookResult = ReturnType<typeof useOrganizationInvoicesLazyQuery>;
|
|
3156
|
+
export type OrganizationInvoicesSuspenseQueryHookResult = ReturnType<typeof useOrganizationInvoicesSuspenseQuery>;
|
|
3157
|
+
export type OrganizationInvoicesQueryResult = Apollo.QueryResult<OrganizationInvoicesQuery, OrganizationInvoicesQueryVariables>;
|
|
3158
|
+
export const UpdateSubscriptionDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateSubscription"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"organizationId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateSubscriptionInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateSubscription"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"organizationId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"organizationId"}}},{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"organizationId"}},{"kind":"Field","name":{"kind":"Name","value":"planId"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"monthlyAmount"}},{"kind":"Field","name":{"kind":"Name","value":"currentPeriodStart"}},{"kind":"Field","name":{"kind":"Name","value":"currentPeriodEnd"}},{"kind":"Field","name":{"kind":"Name","value":"trialEnd"}},{"kind":"Field","name":{"kind":"Name","value":"cancelAtPeriodEnd"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]}}]} as unknown as DocumentNode;
|
|
3159
|
+
export type UpdateSubscriptionMutationFn = Apollo.MutationFunction<UpdateSubscriptionMutation, UpdateSubscriptionMutationVariables>;
|
|
3160
|
+
|
|
3161
|
+
/**
|
|
3162
|
+
* __useUpdateSubscriptionMutation__
|
|
3163
|
+
*
|
|
3164
|
+
* To run a mutation, you first call `useUpdateSubscriptionMutation` within a React component and pass it any options that fit your needs.
|
|
3165
|
+
* When your component renders, `useUpdateSubscriptionMutation` returns a tuple that includes:
|
|
3166
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
3167
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
3168
|
+
*
|
|
3169
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
3170
|
+
*
|
|
3171
|
+
* @example
|
|
3172
|
+
* const [updateSubscriptionMutation, { data, loading, error }] = useUpdateSubscriptionMutation({
|
|
3173
|
+
* variables: {
|
|
3174
|
+
* organizationId: // value for 'organizationId'
|
|
3175
|
+
* input: // value for 'input'
|
|
3176
|
+
* },
|
|
3177
|
+
* });
|
|
3178
|
+
*/
|
|
3179
|
+
export function useUpdateSubscriptionMutation(baseOptions?: Apollo.MutationHookOptions<UpdateSubscriptionMutation, UpdateSubscriptionMutationVariables>) {
|
|
3180
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
3181
|
+
return Apollo.useMutation<UpdateSubscriptionMutation, UpdateSubscriptionMutationVariables>(UpdateSubscriptionDocument, options);
|
|
3182
|
+
}
|
|
3183
|
+
export type UpdateSubscriptionMutationHookResult = ReturnType<typeof useUpdateSubscriptionMutation>;
|
|
3184
|
+
export type UpdateSubscriptionMutationResult = Apollo.MutationResult<UpdateSubscriptionMutation>;
|
|
3185
|
+
export type UpdateSubscriptionMutationOptions = Apollo.BaseMutationOptions<UpdateSubscriptionMutation, UpdateSubscriptionMutationVariables>;
|
|
3186
|
+
export const CancelSubscriptionDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CancelSubscription"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"organizationId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"cancelAtPeriodEnd"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Boolean"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"cancelSubscription"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"organizationId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"organizationId"}}},{"kind":"Argument","name":{"kind":"Name","value":"cancelAtPeriodEnd"},"value":{"kind":"Variable","name":{"kind":"Name","value":"cancelAtPeriodEnd"}}}]}]}}]} as unknown as DocumentNode;
|
|
3187
|
+
export type CancelSubscriptionMutationFn = Apollo.MutationFunction<CancelSubscriptionMutation, CancelSubscriptionMutationVariables>;
|
|
3188
|
+
|
|
3189
|
+
/**
|
|
3190
|
+
* __useCancelSubscriptionMutation__
|
|
3191
|
+
*
|
|
3192
|
+
* To run a mutation, you first call `useCancelSubscriptionMutation` within a React component and pass it any options that fit your needs.
|
|
3193
|
+
* When your component renders, `useCancelSubscriptionMutation` returns a tuple that includes:
|
|
3194
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
3195
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
3196
|
+
*
|
|
3197
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
3198
|
+
*
|
|
3199
|
+
* @example
|
|
3200
|
+
* const [cancelSubscriptionMutation, { data, loading, error }] = useCancelSubscriptionMutation({
|
|
3201
|
+
* variables: {
|
|
3202
|
+
* organizationId: // value for 'organizationId'
|
|
3203
|
+
* cancelAtPeriodEnd: // value for 'cancelAtPeriodEnd'
|
|
3204
|
+
* },
|
|
3205
|
+
* });
|
|
3206
|
+
*/
|
|
3207
|
+
export function useCancelSubscriptionMutation(baseOptions?: Apollo.MutationHookOptions<CancelSubscriptionMutation, CancelSubscriptionMutationVariables>) {
|
|
3208
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
3209
|
+
return Apollo.useMutation<CancelSubscriptionMutation, CancelSubscriptionMutationVariables>(CancelSubscriptionDocument, options);
|
|
3210
|
+
}
|
|
3211
|
+
export type CancelSubscriptionMutationHookResult = ReturnType<typeof useCancelSubscriptionMutation>;
|
|
3212
|
+
export type CancelSubscriptionMutationResult = Apollo.MutationResult<CancelSubscriptionMutation>;
|
|
3213
|
+
export type CancelSubscriptionMutationOptions = Apollo.BaseMutationOptions<CancelSubscriptionMutation, CancelSubscriptionMutationVariables>;
|
|
3214
|
+
export const FeatureFlagsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FeatureFlags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"featureFlags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"enabled"}},{"kind":"Field","name":{"kind":"Name","value":"rolloutPercentage"}},{"kind":"Field","name":{"kind":"Name","value":"enabledOrganizations"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]}}]} as unknown as DocumentNode;
|
|
3215
|
+
|
|
3216
|
+
/**
|
|
3217
|
+
* __useFeatureFlagsQuery__
|
|
3218
|
+
*
|
|
3219
|
+
* To run a query within a React component, call `useFeatureFlagsQuery` and pass it any options that fit your needs.
|
|
3220
|
+
* When your component renders, `useFeatureFlagsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
3221
|
+
* you can use to render your UI.
|
|
3222
|
+
*
|
|
3223
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
3224
|
+
*
|
|
3225
|
+
* @example
|
|
3226
|
+
* const { data, loading, error } = useFeatureFlagsQuery({
|
|
3227
|
+
* variables: {
|
|
3228
|
+
* },
|
|
3229
|
+
* });
|
|
3230
|
+
*/
|
|
3231
|
+
export function useFeatureFlagsQuery(baseOptions?: Apollo.QueryHookOptions<FeatureFlagsQuery, FeatureFlagsQueryVariables>) {
|
|
3232
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
3233
|
+
return Apollo.useQuery<FeatureFlagsQuery, FeatureFlagsQueryVariables>(FeatureFlagsDocument, options);
|
|
3234
|
+
}
|
|
3235
|
+
export function useFeatureFlagsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<FeatureFlagsQuery, FeatureFlagsQueryVariables>) {
|
|
3236
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
3237
|
+
return Apollo.useLazyQuery<FeatureFlagsQuery, FeatureFlagsQueryVariables>(FeatureFlagsDocument, options);
|
|
3238
|
+
}
|
|
3239
|
+
export function useFeatureFlagsSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<FeatureFlagsQuery, FeatureFlagsQueryVariables>) {
|
|
3240
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
|
|
3241
|
+
return Apollo.useSuspenseQuery<FeatureFlagsQuery, FeatureFlagsQueryVariables>(FeatureFlagsDocument, options);
|
|
3242
|
+
}
|
|
3243
|
+
export type FeatureFlagsQueryHookResult = ReturnType<typeof useFeatureFlagsQuery>;
|
|
3244
|
+
export type FeatureFlagsLazyQueryHookResult = ReturnType<typeof useFeatureFlagsLazyQuery>;
|
|
3245
|
+
export type FeatureFlagsSuspenseQueryHookResult = ReturnType<typeof useFeatureFlagsSuspenseQuery>;
|
|
3246
|
+
export type FeatureFlagsQueryResult = Apollo.QueryResult<FeatureFlagsQuery, FeatureFlagsQueryVariables>;
|
|
3247
|
+
export const UpdateFeatureFlagDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateFeatureFlag"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"name"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"enabled"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Boolean"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"rolloutPercentage"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"enabledOrganizations"}},"type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateFeatureFlag"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"name"},"value":{"kind":"Variable","name":{"kind":"Name","value":"name"}}},{"kind":"Argument","name":{"kind":"Name","value":"enabled"},"value":{"kind":"Variable","name":{"kind":"Name","value":"enabled"}}},{"kind":"Argument","name":{"kind":"Name","value":"rolloutPercentage"},"value":{"kind":"Variable","name":{"kind":"Name","value":"rolloutPercentage"}}},{"kind":"Argument","name":{"kind":"Name","value":"enabledOrganizations"},"value":{"kind":"Variable","name":{"kind":"Name","value":"enabledOrganizations"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"enabled"}},{"kind":"Field","name":{"kind":"Name","value":"rolloutPercentage"}},{"kind":"Field","name":{"kind":"Name","value":"enabledOrganizations"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]}}]} as unknown as DocumentNode;
|
|
3248
|
+
export type UpdateFeatureFlagMutationFn = Apollo.MutationFunction<UpdateFeatureFlagMutation, UpdateFeatureFlagMutationVariables>;
|
|
3249
|
+
|
|
3250
|
+
/**
|
|
3251
|
+
* __useUpdateFeatureFlagMutation__
|
|
3252
|
+
*
|
|
3253
|
+
* To run a mutation, you first call `useUpdateFeatureFlagMutation` within a React component and pass it any options that fit your needs.
|
|
3254
|
+
* When your component renders, `useUpdateFeatureFlagMutation` returns a tuple that includes:
|
|
3255
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
3256
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
3257
|
+
*
|
|
3258
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
3259
|
+
*
|
|
3260
|
+
* @example
|
|
3261
|
+
* const [updateFeatureFlagMutation, { data, loading, error }] = useUpdateFeatureFlagMutation({
|
|
3262
|
+
* variables: {
|
|
3263
|
+
* name: // value for 'name'
|
|
3264
|
+
* enabled: // value for 'enabled'
|
|
3265
|
+
* rolloutPercentage: // value for 'rolloutPercentage'
|
|
3266
|
+
* enabledOrganizations: // value for 'enabledOrganizations'
|
|
3267
|
+
* },
|
|
3268
|
+
* });
|
|
3269
|
+
*/
|
|
3270
|
+
export function useUpdateFeatureFlagMutation(baseOptions?: Apollo.MutationHookOptions<UpdateFeatureFlagMutation, UpdateFeatureFlagMutationVariables>) {
|
|
3271
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
3272
|
+
return Apollo.useMutation<UpdateFeatureFlagMutation, UpdateFeatureFlagMutationVariables>(UpdateFeatureFlagDocument, options);
|
|
3273
|
+
}
|
|
3274
|
+
export type UpdateFeatureFlagMutationHookResult = ReturnType<typeof useUpdateFeatureFlagMutation>;
|
|
3275
|
+
export type UpdateFeatureFlagMutationResult = Apollo.MutationResult<UpdateFeatureFlagMutation>;
|
|
3276
|
+
export type UpdateFeatureFlagMutationOptions = Apollo.BaseMutationOptions<UpdateFeatureFlagMutation, UpdateFeatureFlagMutationVariables>;
|
|
3277
|
+
export const MaintenanceWindowsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"MaintenanceWindows"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"upcoming"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Boolean"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"maintenanceWindows"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"upcoming"},"value":{"kind":"Variable","name":{"kind":"Name","value":"upcoming"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"scheduledStart"}},{"kind":"Field","name":{"kind":"Name","value":"scheduledEnd"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"affectedServices"}},{"kind":"Field","name":{"kind":"Name","value":"notifyUsers"}},{"kind":"Field","name":{"kind":"Name","value":"createdBy"}}]}}]}}]} as unknown as DocumentNode;
|
|
3278
|
+
|
|
3279
|
+
/**
|
|
3280
|
+
* __useMaintenanceWindowsQuery__
|
|
3281
|
+
*
|
|
3282
|
+
* To run a query within a React component, call `useMaintenanceWindowsQuery` and pass it any options that fit your needs.
|
|
3283
|
+
* When your component renders, `useMaintenanceWindowsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
3284
|
+
* you can use to render your UI.
|
|
3285
|
+
*
|
|
3286
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
3287
|
+
*
|
|
3288
|
+
* @example
|
|
3289
|
+
* const { data, loading, error } = useMaintenanceWindowsQuery({
|
|
3290
|
+
* variables: {
|
|
3291
|
+
* upcoming: // value for 'upcoming'
|
|
3292
|
+
* },
|
|
3293
|
+
* });
|
|
3294
|
+
*/
|
|
3295
|
+
export function useMaintenanceWindowsQuery(baseOptions?: Apollo.QueryHookOptions<MaintenanceWindowsQuery, MaintenanceWindowsQueryVariables>) {
|
|
3296
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
3297
|
+
return Apollo.useQuery<MaintenanceWindowsQuery, MaintenanceWindowsQueryVariables>(MaintenanceWindowsDocument, options);
|
|
3298
|
+
}
|
|
3299
|
+
export function useMaintenanceWindowsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<MaintenanceWindowsQuery, MaintenanceWindowsQueryVariables>) {
|
|
3300
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
3301
|
+
return Apollo.useLazyQuery<MaintenanceWindowsQuery, MaintenanceWindowsQueryVariables>(MaintenanceWindowsDocument, options);
|
|
3302
|
+
}
|
|
3303
|
+
export function useMaintenanceWindowsSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<MaintenanceWindowsQuery, MaintenanceWindowsQueryVariables>) {
|
|
3304
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
|
|
3305
|
+
return Apollo.useSuspenseQuery<MaintenanceWindowsQuery, MaintenanceWindowsQueryVariables>(MaintenanceWindowsDocument, options);
|
|
3306
|
+
}
|
|
3307
|
+
export type MaintenanceWindowsQueryHookResult = ReturnType<typeof useMaintenanceWindowsQuery>;
|
|
3308
|
+
export type MaintenanceWindowsLazyQueryHookResult = ReturnType<typeof useMaintenanceWindowsLazyQuery>;
|
|
3309
|
+
export type MaintenanceWindowsSuspenseQueryHookResult = ReturnType<typeof useMaintenanceWindowsSuspenseQuery>;
|
|
3310
|
+
export type MaintenanceWindowsQueryResult = Apollo.QueryResult<MaintenanceWindowsQuery, MaintenanceWindowsQueryVariables>;
|
|
3311
|
+
export const ScheduleMaintenanceWindowDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"ScheduleMaintenanceWindow"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"title"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"description"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"scheduledStart"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"DateTimeISO"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"scheduledEnd"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"DateTimeISO"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"affectedServices"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"notifyUsers"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Boolean"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"scheduleMaintenanceWindow"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"title"},"value":{"kind":"Variable","name":{"kind":"Name","value":"title"}}},{"kind":"Argument","name":{"kind":"Name","value":"description"},"value":{"kind":"Variable","name":{"kind":"Name","value":"description"}}},{"kind":"Argument","name":{"kind":"Name","value":"scheduledStart"},"value":{"kind":"Variable","name":{"kind":"Name","value":"scheduledStart"}}},{"kind":"Argument","name":{"kind":"Name","value":"scheduledEnd"},"value":{"kind":"Variable","name":{"kind":"Name","value":"scheduledEnd"}}},{"kind":"Argument","name":{"kind":"Name","value":"affectedServices"},"value":{"kind":"Variable","name":{"kind":"Name","value":"affectedServices"}}},{"kind":"Argument","name":{"kind":"Name","value":"notifyUsers"},"value":{"kind":"Variable","name":{"kind":"Name","value":"notifyUsers"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"scheduledStart"}},{"kind":"Field","name":{"kind":"Name","value":"scheduledEnd"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"affectedServices"}},{"kind":"Field","name":{"kind":"Name","value":"notifyUsers"}},{"kind":"Field","name":{"kind":"Name","value":"createdBy"}}]}}]}}]} as unknown as DocumentNode;
|
|
3312
|
+
export type ScheduleMaintenanceWindowMutationFn = Apollo.MutationFunction<ScheduleMaintenanceWindowMutation, ScheduleMaintenanceWindowMutationVariables>;
|
|
3313
|
+
|
|
3314
|
+
/**
|
|
3315
|
+
* __useScheduleMaintenanceWindowMutation__
|
|
3316
|
+
*
|
|
3317
|
+
* To run a mutation, you first call `useScheduleMaintenanceWindowMutation` within a React component and pass it any options that fit your needs.
|
|
3318
|
+
* When your component renders, `useScheduleMaintenanceWindowMutation` returns a tuple that includes:
|
|
3319
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
3320
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
3321
|
+
*
|
|
3322
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
3323
|
+
*
|
|
3324
|
+
* @example
|
|
3325
|
+
* const [scheduleMaintenanceWindowMutation, { data, loading, error }] = useScheduleMaintenanceWindowMutation({
|
|
3326
|
+
* variables: {
|
|
3327
|
+
* title: // value for 'title'
|
|
3328
|
+
* description: // value for 'description'
|
|
3329
|
+
* scheduledStart: // value for 'scheduledStart'
|
|
3330
|
+
* scheduledEnd: // value for 'scheduledEnd'
|
|
3331
|
+
* affectedServices: // value for 'affectedServices'
|
|
3332
|
+
* notifyUsers: // value for 'notifyUsers'
|
|
3333
|
+
* },
|
|
3334
|
+
* });
|
|
3335
|
+
*/
|
|
3336
|
+
export function useScheduleMaintenanceWindowMutation(baseOptions?: Apollo.MutationHookOptions<ScheduleMaintenanceWindowMutation, ScheduleMaintenanceWindowMutationVariables>) {
|
|
3337
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
3338
|
+
return Apollo.useMutation<ScheduleMaintenanceWindowMutation, ScheduleMaintenanceWindowMutationVariables>(ScheduleMaintenanceWindowDocument, options);
|
|
3339
|
+
}
|
|
3340
|
+
export type ScheduleMaintenanceWindowMutationHookResult = ReturnType<typeof useScheduleMaintenanceWindowMutation>;
|
|
3341
|
+
export type ScheduleMaintenanceWindowMutationResult = Apollo.MutationResult<ScheduleMaintenanceWindowMutation>;
|
|
3342
|
+
export type ScheduleMaintenanceWindowMutationOptions = Apollo.BaseMutationOptions<ScheduleMaintenanceWindowMutation, ScheduleMaintenanceWindowMutationVariables>;
|
|
3343
|
+
export const ApplicationLogsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ApplicationLogs"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"level"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"limit"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"since"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"DateTimeISO"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"applicationLogs"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"level"},"value":{"kind":"Variable","name":{"kind":"Name","value":"level"}}},{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"Variable","name":{"kind":"Name","value":"limit"}}},{"kind":"Argument","name":{"kind":"Name","value":"since"},"value":{"kind":"Variable","name":{"kind":"Name","value":"since"}}}]}]}}]} as unknown as DocumentNode;
|
|
3344
|
+
|
|
3345
|
+
/**
|
|
3346
|
+
* __useApplicationLogsQuery__
|
|
3347
|
+
*
|
|
3348
|
+
* To run a query within a React component, call `useApplicationLogsQuery` and pass it any options that fit your needs.
|
|
3349
|
+
* When your component renders, `useApplicationLogsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
3350
|
+
* you can use to render your UI.
|
|
3351
|
+
*
|
|
3352
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
3353
|
+
*
|
|
3354
|
+
* @example
|
|
3355
|
+
* const { data, loading, error } = useApplicationLogsQuery({
|
|
3356
|
+
* variables: {
|
|
3357
|
+
* level: // value for 'level'
|
|
3358
|
+
* limit: // value for 'limit'
|
|
3359
|
+
* since: // value for 'since'
|
|
3360
|
+
* },
|
|
3361
|
+
* });
|
|
3362
|
+
*/
|
|
3363
|
+
export function useApplicationLogsQuery(baseOptions?: Apollo.QueryHookOptions<ApplicationLogsQuery, ApplicationLogsQueryVariables>) {
|
|
3364
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
3365
|
+
return Apollo.useQuery<ApplicationLogsQuery, ApplicationLogsQueryVariables>(ApplicationLogsDocument, options);
|
|
3366
|
+
}
|
|
3367
|
+
export function useApplicationLogsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<ApplicationLogsQuery, ApplicationLogsQueryVariables>) {
|
|
3368
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
3369
|
+
return Apollo.useLazyQuery<ApplicationLogsQuery, ApplicationLogsQueryVariables>(ApplicationLogsDocument, options);
|
|
3370
|
+
}
|
|
3371
|
+
export function useApplicationLogsSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<ApplicationLogsQuery, ApplicationLogsQueryVariables>) {
|
|
3372
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
|
|
3373
|
+
return Apollo.useSuspenseQuery<ApplicationLogsQuery, ApplicationLogsQueryVariables>(ApplicationLogsDocument, options);
|
|
3374
|
+
}
|
|
3375
|
+
export type ApplicationLogsQueryHookResult = ReturnType<typeof useApplicationLogsQuery>;
|
|
3376
|
+
export type ApplicationLogsLazyQueryHookResult = ReturnType<typeof useApplicationLogsLazyQuery>;
|
|
3377
|
+
export type ApplicationLogsSuspenseQueryHookResult = ReturnType<typeof useApplicationLogsSuspenseQuery>;
|
|
3378
|
+
export type ApplicationLogsQueryResult = Apollo.QueryResult<ApplicationLogsQuery, ApplicationLogsQueryVariables>;
|
|
3379
|
+
export const ClearAllCachesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"ClearAllCaches"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"clearAllCaches"}}]}}]} as unknown as DocumentNode;
|
|
3380
|
+
export type ClearAllCachesMutationFn = Apollo.MutationFunction<ClearAllCachesMutation, ClearAllCachesMutationVariables>;
|
|
3381
|
+
|
|
3382
|
+
/**
|
|
3383
|
+
* __useClearAllCachesMutation__
|
|
3384
|
+
*
|
|
3385
|
+
* To run a mutation, you first call `useClearAllCachesMutation` within a React component and pass it any options that fit your needs.
|
|
3386
|
+
* When your component renders, `useClearAllCachesMutation` returns a tuple that includes:
|
|
3387
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
3388
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
3389
|
+
*
|
|
3390
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
3391
|
+
*
|
|
3392
|
+
* @example
|
|
3393
|
+
* const [clearAllCachesMutation, { data, loading, error }] = useClearAllCachesMutation({
|
|
3394
|
+
* variables: {
|
|
3395
|
+
* },
|
|
3396
|
+
* });
|
|
3397
|
+
*/
|
|
3398
|
+
export function useClearAllCachesMutation(baseOptions?: Apollo.MutationHookOptions<ClearAllCachesMutation, ClearAllCachesMutationVariables>) {
|
|
3399
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
3400
|
+
return Apollo.useMutation<ClearAllCachesMutation, ClearAllCachesMutationVariables>(ClearAllCachesDocument, options);
|
|
3401
|
+
}
|
|
3402
|
+
export type ClearAllCachesMutationHookResult = ReturnType<typeof useClearAllCachesMutation>;
|
|
3403
|
+
export type ClearAllCachesMutationResult = Apollo.MutationResult<ClearAllCachesMutation>;
|
|
3404
|
+
export type ClearAllCachesMutationOptions = Apollo.BaseMutationOptions<ClearAllCachesMutation, ClearAllCachesMutationVariables>;
|
|
3405
|
+
export const ForceGarbageCollectionDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"ForceGarbageCollection"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"forceGarbageCollection"}}]}}]} as unknown as DocumentNode;
|
|
3406
|
+
export type ForceGarbageCollectionMutationFn = Apollo.MutationFunction<ForceGarbageCollectionMutation, ForceGarbageCollectionMutationVariables>;
|
|
3407
|
+
|
|
3408
|
+
/**
|
|
3409
|
+
* __useForceGarbageCollectionMutation__
|
|
3410
|
+
*
|
|
3411
|
+
* To run a mutation, you first call `useForceGarbageCollectionMutation` within a React component and pass it any options that fit your needs.
|
|
3412
|
+
* When your component renders, `useForceGarbageCollectionMutation` returns a tuple that includes:
|
|
3413
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
3414
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
3415
|
+
*
|
|
3416
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
3417
|
+
*
|
|
3418
|
+
* @example
|
|
3419
|
+
* const [forceGarbageCollectionMutation, { data, loading, error }] = useForceGarbageCollectionMutation({
|
|
3420
|
+
* variables: {
|
|
3421
|
+
* },
|
|
3422
|
+
* });
|
|
3423
|
+
*/
|
|
3424
|
+
export function useForceGarbageCollectionMutation(baseOptions?: Apollo.MutationHookOptions<ForceGarbageCollectionMutation, ForceGarbageCollectionMutationVariables>) {
|
|
3425
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
3426
|
+
return Apollo.useMutation<ForceGarbageCollectionMutation, ForceGarbageCollectionMutationVariables>(ForceGarbageCollectionDocument, options);
|
|
3427
|
+
}
|
|
3428
|
+
export type ForceGarbageCollectionMutationHookResult = ReturnType<typeof useForceGarbageCollectionMutation>;
|
|
3429
|
+
export type ForceGarbageCollectionMutationResult = Apollo.MutationResult<ForceGarbageCollectionMutation>;
|
|
3430
|
+
export type ForceGarbageCollectionMutationOptions = Apollo.BaseMutationOptions<ForceGarbageCollectionMutation, ForceGarbageCollectionMutationVariables>;
|
|
3431
|
+
export const ExecuteDatabaseMaintenanceDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"ExecuteDatabaseMaintenance"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"operation"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"executeDatabaseMaintenance"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"operation"},"value":{"kind":"Variable","name":{"kind":"Name","value":"operation"}}}]}]}}]} as unknown as DocumentNode;
|
|
3432
|
+
export type ExecuteDatabaseMaintenanceMutationFn = Apollo.MutationFunction<ExecuteDatabaseMaintenanceMutation, ExecuteDatabaseMaintenanceMutationVariables>;
|
|
3433
|
+
|
|
3434
|
+
/**
|
|
3435
|
+
* __useExecuteDatabaseMaintenanceMutation__
|
|
3436
|
+
*
|
|
3437
|
+
* To run a mutation, you first call `useExecuteDatabaseMaintenanceMutation` within a React component and pass it any options that fit your needs.
|
|
3438
|
+
* When your component renders, `useExecuteDatabaseMaintenanceMutation` returns a tuple that includes:
|
|
3439
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
3440
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
3441
|
+
*
|
|
3442
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
3443
|
+
*
|
|
3444
|
+
* @example
|
|
3445
|
+
* const [executeDatabaseMaintenanceMutation, { data, loading, error }] = useExecuteDatabaseMaintenanceMutation({
|
|
3446
|
+
* variables: {
|
|
3447
|
+
* operation: // value for 'operation'
|
|
3448
|
+
* },
|
|
3449
|
+
* });
|
|
3450
|
+
*/
|
|
3451
|
+
export function useExecuteDatabaseMaintenanceMutation(baseOptions?: Apollo.MutationHookOptions<ExecuteDatabaseMaintenanceMutation, ExecuteDatabaseMaintenanceMutationVariables>) {
|
|
3452
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
3453
|
+
return Apollo.useMutation<ExecuteDatabaseMaintenanceMutation, ExecuteDatabaseMaintenanceMutationVariables>(ExecuteDatabaseMaintenanceDocument, options);
|
|
3454
|
+
}
|
|
3455
|
+
export type ExecuteDatabaseMaintenanceMutationHookResult = ReturnType<typeof useExecuteDatabaseMaintenanceMutation>;
|
|
3456
|
+
export type ExecuteDatabaseMaintenanceMutationResult = Apollo.MutationResult<ExecuteDatabaseMaintenanceMutation>;
|
|
3457
|
+
export type ExecuteDatabaseMaintenanceMutationOptions = Apollo.BaseMutationOptions<ExecuteDatabaseMaintenanceMutation, ExecuteDatabaseMaintenanceMutationVariables>;
|
|
3458
|
+
export const ComplianceReportDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ComplianceReport"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"organizationId"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"startDate"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"DateTimeISO"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"endDate"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"DateTimeISO"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"complianceReport"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"organizationId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"organizationId"}}},{"kind":"Argument","name":{"kind":"Name","value":"startDate"},"value":{"kind":"Variable","name":{"kind":"Name","value":"startDate"}}},{"kind":"Argument","name":{"kind":"Name","value":"endDate"},"value":{"kind":"Variable","name":{"kind":"Name","value":"endDate"}}}]}]}}]} as unknown as DocumentNode;
|
|
3459
|
+
|
|
3460
|
+
/**
|
|
3461
|
+
* __useComplianceReportQuery__
|
|
3462
|
+
*
|
|
3463
|
+
* To run a query within a React component, call `useComplianceReportQuery` and pass it any options that fit your needs.
|
|
3464
|
+
* When your component renders, `useComplianceReportQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
3465
|
+
* you can use to render your UI.
|
|
3466
|
+
*
|
|
3467
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
3468
|
+
*
|
|
3469
|
+
* @example
|
|
3470
|
+
* const { data, loading, error } = useComplianceReportQuery({
|
|
3471
|
+
* variables: {
|
|
3472
|
+
* organizationId: // value for 'organizationId'
|
|
3473
|
+
* startDate: // value for 'startDate'
|
|
3474
|
+
* endDate: // value for 'endDate'
|
|
3475
|
+
* },
|
|
3476
|
+
* });
|
|
3477
|
+
*/
|
|
3478
|
+
export function useComplianceReportQuery(baseOptions: Apollo.QueryHookOptions<ComplianceReportQuery, ComplianceReportQueryVariables> & ({ variables: ComplianceReportQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {
|
|
3479
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
3480
|
+
return Apollo.useQuery<ComplianceReportQuery, ComplianceReportQueryVariables>(ComplianceReportDocument, options);
|
|
3481
|
+
}
|
|
3482
|
+
export function useComplianceReportLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<ComplianceReportQuery, ComplianceReportQueryVariables>) {
|
|
3483
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
3484
|
+
return Apollo.useLazyQuery<ComplianceReportQuery, ComplianceReportQueryVariables>(ComplianceReportDocument, options);
|
|
3485
|
+
}
|
|
3486
|
+
export function useComplianceReportSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<ComplianceReportQuery, ComplianceReportQueryVariables>) {
|
|
3487
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
|
|
3488
|
+
return Apollo.useSuspenseQuery<ComplianceReportQuery, ComplianceReportQueryVariables>(ComplianceReportDocument, options);
|
|
3489
|
+
}
|
|
3490
|
+
export type ComplianceReportQueryHookResult = ReturnType<typeof useComplianceReportQuery>;
|
|
3491
|
+
export type ComplianceReportLazyQueryHookResult = ReturnType<typeof useComplianceReportLazyQuery>;
|
|
3492
|
+
export type ComplianceReportSuspenseQueryHookResult = ReturnType<typeof useComplianceReportSuspenseQuery>;
|
|
3493
|
+
export type ComplianceReportQueryResult = Apollo.QueryResult<ComplianceReportQuery, ComplianceReportQueryVariables>;
|
|
3494
|
+
export const FeatureUsageStatsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FeatureUsageStats"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"featureUsageStats"}}]}}]} as unknown as DocumentNode;
|
|
3495
|
+
|
|
3496
|
+
/**
|
|
3497
|
+
* __useFeatureUsageStatsQuery__
|
|
3498
|
+
*
|
|
3499
|
+
* To run a query within a React component, call `useFeatureUsageStatsQuery` and pass it any options that fit your needs.
|
|
3500
|
+
* When your component renders, `useFeatureUsageStatsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
3501
|
+
* you can use to render your UI.
|
|
3502
|
+
*
|
|
3503
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
3504
|
+
*
|
|
3505
|
+
* @example
|
|
3506
|
+
* const { data, loading, error } = useFeatureUsageStatsQuery({
|
|
3507
|
+
* variables: {
|
|
3508
|
+
* },
|
|
3509
|
+
* });
|
|
3510
|
+
*/
|
|
3511
|
+
export function useFeatureUsageStatsQuery(baseOptions?: Apollo.QueryHookOptions<FeatureUsageStatsQuery, FeatureUsageStatsQueryVariables>) {
|
|
3512
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
3513
|
+
return Apollo.useQuery<FeatureUsageStatsQuery, FeatureUsageStatsQueryVariables>(FeatureUsageStatsDocument, options);
|
|
3514
|
+
}
|
|
3515
|
+
export function useFeatureUsageStatsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<FeatureUsageStatsQuery, FeatureUsageStatsQueryVariables>) {
|
|
3516
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
3517
|
+
return Apollo.useLazyQuery<FeatureUsageStatsQuery, FeatureUsageStatsQueryVariables>(FeatureUsageStatsDocument, options);
|
|
3518
|
+
}
|
|
3519
|
+
export function useFeatureUsageStatsSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<FeatureUsageStatsQuery, FeatureUsageStatsQueryVariables>) {
|
|
3520
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
|
|
3521
|
+
return Apollo.useSuspenseQuery<FeatureUsageStatsQuery, FeatureUsageStatsQueryVariables>(FeatureUsageStatsDocument, options);
|
|
3522
|
+
}
|
|
3523
|
+
export type FeatureUsageStatsQueryHookResult = ReturnType<typeof useFeatureUsageStatsQuery>;
|
|
3524
|
+
export type FeatureUsageStatsLazyQueryHookResult = ReturnType<typeof useFeatureUsageStatsLazyQuery>;
|
|
3525
|
+
export type FeatureUsageStatsSuspenseQueryHookResult = ReturnType<typeof useFeatureUsageStatsSuspenseQuery>;
|
|
3526
|
+
export type FeatureUsageStatsQueryResult = Apollo.QueryResult<FeatureUsageStatsQuery, FeatureUsageStatsQueryVariables>;
|
|
3527
|
+
export const RevenueMetricsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"RevenueMetrics"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"months"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"revenueMetrics"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"months"},"value":{"kind":"Variable","name":{"kind":"Name","value":"months"}}}]}]}}]} as unknown as DocumentNode;
|
|
3528
|
+
|
|
3529
|
+
/**
|
|
3530
|
+
* __useRevenueMetricsQuery__
|
|
3531
|
+
*
|
|
3532
|
+
* To run a query within a React component, call `useRevenueMetricsQuery` and pass it any options that fit your needs.
|
|
3533
|
+
* When your component renders, `useRevenueMetricsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
3534
|
+
* you can use to render your UI.
|
|
3535
|
+
*
|
|
3536
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
3537
|
+
*
|
|
3538
|
+
* @example
|
|
3539
|
+
* const { data, loading, error } = useRevenueMetricsQuery({
|
|
3540
|
+
* variables: {
|
|
3541
|
+
* months: // value for 'months'
|
|
3542
|
+
* },
|
|
3543
|
+
* });
|
|
3544
|
+
*/
|
|
3545
|
+
export function useRevenueMetricsQuery(baseOptions?: Apollo.QueryHookOptions<RevenueMetricsQuery, RevenueMetricsQueryVariables>) {
|
|
3546
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
3547
|
+
return Apollo.useQuery<RevenueMetricsQuery, RevenueMetricsQueryVariables>(RevenueMetricsDocument, options);
|
|
3548
|
+
}
|
|
3549
|
+
export function useRevenueMetricsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<RevenueMetricsQuery, RevenueMetricsQueryVariables>) {
|
|
3550
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
3551
|
+
return Apollo.useLazyQuery<RevenueMetricsQuery, RevenueMetricsQueryVariables>(RevenueMetricsDocument, options);
|
|
3552
|
+
}
|
|
3553
|
+
export function useRevenueMetricsSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<RevenueMetricsQuery, RevenueMetricsQueryVariables>) {
|
|
3554
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
|
|
3555
|
+
return Apollo.useSuspenseQuery<RevenueMetricsQuery, RevenueMetricsQueryVariables>(RevenueMetricsDocument, options);
|
|
3556
|
+
}
|
|
3557
|
+
export type RevenueMetricsQueryHookResult = ReturnType<typeof useRevenueMetricsQuery>;
|
|
3558
|
+
export type RevenueMetricsLazyQueryHookResult = ReturnType<typeof useRevenueMetricsLazyQuery>;
|
|
3559
|
+
export type RevenueMetricsSuspenseQueryHookResult = ReturnType<typeof useRevenueMetricsSuspenseQuery>;
|
|
3560
|
+
export type RevenueMetricsQueryResult = Apollo.QueryResult<RevenueMetricsQuery, RevenueMetricsQueryVariables>;
|
|
3561
|
+
export const RevenueAnalyticsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"RevenueAnalytics"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"months"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"revenueAnalytics"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"months"},"value":{"kind":"Variable","name":{"kind":"Name","value":"months"}}}]}]}}]} as unknown as DocumentNode;
|
|
3562
|
+
|
|
3563
|
+
/**
|
|
3564
|
+
* __useRevenueAnalyticsQuery__
|
|
3565
|
+
*
|
|
3566
|
+
* To run a query within a React component, call `useRevenueAnalyticsQuery` and pass it any options that fit your needs.
|
|
3567
|
+
* When your component renders, `useRevenueAnalyticsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
3568
|
+
* you can use to render your UI.
|
|
3569
|
+
*
|
|
3570
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
3571
|
+
*
|
|
3572
|
+
* @example
|
|
3573
|
+
* const { data, loading, error } = useRevenueAnalyticsQuery({
|
|
3574
|
+
* variables: {
|
|
3575
|
+
* months: // value for 'months'
|
|
3576
|
+
* },
|
|
3577
|
+
* });
|
|
3578
|
+
*/
|
|
3579
|
+
export function useRevenueAnalyticsQuery(baseOptions?: Apollo.QueryHookOptions<RevenueAnalyticsQuery, RevenueAnalyticsQueryVariables>) {
|
|
3580
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
3581
|
+
return Apollo.useQuery<RevenueAnalyticsQuery, RevenueAnalyticsQueryVariables>(RevenueAnalyticsDocument, options);
|
|
3582
|
+
}
|
|
3583
|
+
export function useRevenueAnalyticsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<RevenueAnalyticsQuery, RevenueAnalyticsQueryVariables>) {
|
|
3584
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
3585
|
+
return Apollo.useLazyQuery<RevenueAnalyticsQuery, RevenueAnalyticsQueryVariables>(RevenueAnalyticsDocument, options);
|
|
3586
|
+
}
|
|
3587
|
+
export function useRevenueAnalyticsSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<RevenueAnalyticsQuery, RevenueAnalyticsQueryVariables>) {
|
|
3588
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
|
|
3589
|
+
return Apollo.useSuspenseQuery<RevenueAnalyticsQuery, RevenueAnalyticsQueryVariables>(RevenueAnalyticsDocument, options);
|
|
3590
|
+
}
|
|
3591
|
+
export type RevenueAnalyticsQueryHookResult = ReturnType<typeof useRevenueAnalyticsQuery>;
|
|
3592
|
+
export type RevenueAnalyticsLazyQueryHookResult = ReturnType<typeof useRevenueAnalyticsLazyQuery>;
|
|
3593
|
+
export type RevenueAnalyticsSuspenseQueryHookResult = ReturnType<typeof useRevenueAnalyticsSuspenseQuery>;
|
|
3594
|
+
export type RevenueAnalyticsQueryResult = Apollo.QueryResult<RevenueAnalyticsQuery, RevenueAnalyticsQueryVariables>;
|
|
3595
|
+
export const GetUserActivityDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetUserActivity"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"userId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"days"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"getUserActivity"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"userId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"userId"}}},{"kind":"Argument","name":{"kind":"Name","value":"days"},"value":{"kind":"Variable","name":{"kind":"Name","value":"days"}}}]}]}}]} as unknown as DocumentNode;
|
|
3596
|
+
|
|
3597
|
+
/**
|
|
3598
|
+
* __useGetUserActivityQuery__
|
|
3599
|
+
*
|
|
3600
|
+
* To run a query within a React component, call `useGetUserActivityQuery` and pass it any options that fit your needs.
|
|
3601
|
+
* When your component renders, `useGetUserActivityQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
3602
|
+
* you can use to render your UI.
|
|
3603
|
+
*
|
|
3604
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
3605
|
+
*
|
|
3606
|
+
* @example
|
|
3607
|
+
* const { data, loading, error } = useGetUserActivityQuery({
|
|
3608
|
+
* variables: {
|
|
3609
|
+
* userId: // value for 'userId'
|
|
3610
|
+
* days: // value for 'days'
|
|
3611
|
+
* },
|
|
3612
|
+
* });
|
|
3613
|
+
*/
|
|
3614
|
+
export function useGetUserActivityQuery(baseOptions: Apollo.QueryHookOptions<GetUserActivityQuery, GetUserActivityQueryVariables> & ({ variables: GetUserActivityQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {
|
|
3615
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
3616
|
+
return Apollo.useQuery<GetUserActivityQuery, GetUserActivityQueryVariables>(GetUserActivityDocument, options);
|
|
3617
|
+
}
|
|
3618
|
+
export function useGetUserActivityLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<GetUserActivityQuery, GetUserActivityQueryVariables>) {
|
|
3619
|
+
const options = {...defaultOptions, ...baseOptions}
|
|
3620
|
+
return Apollo.useLazyQuery<GetUserActivityQuery, GetUserActivityQueryVariables>(GetUserActivityDocument, options);
|
|
3621
|
+
}
|
|
3622
|
+
export function useGetUserActivitySuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<GetUserActivityQuery, GetUserActivityQueryVariables>) {
|
|
3623
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}
|
|
3624
|
+
return Apollo.useSuspenseQuery<GetUserActivityQuery, GetUserActivityQueryVariables>(GetUserActivityDocument, options);
|
|
3625
|
+
}
|
|
3626
|
+
export type GetUserActivityQueryHookResult = ReturnType<typeof useGetUserActivityQuery>;
|
|
3627
|
+
export type GetUserActivityLazyQueryHookResult = ReturnType<typeof useGetUserActivityLazyQuery>;
|
|
3628
|
+
export type GetUserActivitySuspenseQueryHookResult = ReturnType<typeof useGetUserActivitySuspenseQuery>;
|
|
3629
|
+
export type GetUserActivityQueryResult = Apollo.QueryResult<GetUserActivityQuery, GetUserActivityQueryVariables>;
|