@contember/engine-tenant-api 1.4.0-alpha.1 → 1.4.0-alpha.3
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/src/model/service/PersonManager.js +1 -1
- package/dist/src/model/service/PersonManager.js.map +1 -1
- package/dist/src/schema/index.d.ts +292 -256
- package/dist/src/schema/index.d.ts.map +1 -1
- package/dist/src/tsconfig.tsbuildinfo +1 -1
- package/dist/tests/tsconfig.tsbuildinfo +1 -1
- package/package.json +27 -27
- package/src/model/service/PersonManager.ts +1 -1
- package/src/schema/index.ts +267 -256
|
@@ -12,29 +12,58 @@ export type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
|
|
|
12
12
|
export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {
|
|
13
13
|
[SubKey in K]: Maybe<T[SubKey]>;
|
|
14
14
|
};
|
|
15
|
+
export type MakeEmpty<T extends {
|
|
16
|
+
[key: string]: unknown;
|
|
17
|
+
}, K extends keyof T> = {
|
|
18
|
+
[_ in K]?: never;
|
|
19
|
+
};
|
|
20
|
+
export type Incremental<T> = T | {
|
|
21
|
+
[P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never;
|
|
22
|
+
};
|
|
15
23
|
export type RequireFields<T, K extends keyof T> = Omit<T, K> & {
|
|
16
24
|
[P in K]-?: NonNullable<T[P]>;
|
|
17
25
|
};
|
|
18
26
|
/** All built-in and custom scalars, mapped to their actual values */
|
|
19
27
|
export type Scalars = {
|
|
20
|
-
ID:
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
28
|
+
ID: {
|
|
29
|
+
input: string;
|
|
30
|
+
output: string;
|
|
31
|
+
};
|
|
32
|
+
String: {
|
|
33
|
+
input: string;
|
|
34
|
+
output: string;
|
|
35
|
+
};
|
|
36
|
+
Boolean: {
|
|
37
|
+
input: boolean;
|
|
38
|
+
output: boolean;
|
|
39
|
+
};
|
|
40
|
+
Int: {
|
|
41
|
+
input: number;
|
|
42
|
+
output: number;
|
|
43
|
+
};
|
|
44
|
+
Float: {
|
|
45
|
+
input: number;
|
|
46
|
+
output: number;
|
|
47
|
+
};
|
|
48
|
+
DateTime: {
|
|
49
|
+
input: any;
|
|
50
|
+
output: any;
|
|
51
|
+
};
|
|
52
|
+
Json: {
|
|
53
|
+
input: any;
|
|
54
|
+
output: any;
|
|
55
|
+
};
|
|
27
56
|
};
|
|
28
57
|
export type AddGlobalIdentityRolesError = {
|
|
29
58
|
readonly __typename?: 'AddGlobalIdentityRolesError';
|
|
30
59
|
readonly code: AddGlobalIdentityRolesErrorCode;
|
|
31
|
-
readonly developerMessage: Scalars['String'];
|
|
60
|
+
readonly developerMessage: Scalars['String']['output'];
|
|
32
61
|
};
|
|
33
62
|
export type AddGlobalIdentityRolesErrorCode = 'IDENTITY_NOT_FOUND' | 'INVALID_ROLE';
|
|
34
63
|
export type AddGlobalIdentityRolesResponse = {
|
|
35
64
|
readonly __typename?: 'AddGlobalIdentityRolesResponse';
|
|
36
65
|
readonly error?: Maybe<AddGlobalIdentityRolesError>;
|
|
37
|
-
readonly ok: Scalars['Boolean'];
|
|
66
|
+
readonly ok: Scalars['Boolean']['output'];
|
|
38
67
|
readonly result?: Maybe<AddGlobalIdentityRolesResult>;
|
|
39
68
|
};
|
|
40
69
|
export type AddGlobalIdentityRolesResult = {
|
|
@@ -44,20 +73,20 @@ export type AddGlobalIdentityRolesResult = {
|
|
|
44
73
|
export type AddIdpError = {
|
|
45
74
|
readonly __typename?: 'AddIDPError';
|
|
46
75
|
readonly code: AddIdpErrorCode;
|
|
47
|
-
readonly developerMessage: Scalars['String'];
|
|
76
|
+
readonly developerMessage: Scalars['String']['output'];
|
|
48
77
|
};
|
|
49
78
|
export type AddIdpErrorCode = 'ALREADY_EXISTS' | 'INVALID_CONFIGURATION' | 'UNKNOWN_TYPE';
|
|
50
79
|
export type AddIdpResponse = {
|
|
51
80
|
readonly __typename?: 'AddIDPResponse';
|
|
52
81
|
readonly error?: Maybe<AddIdpError>;
|
|
53
|
-
readonly ok: Scalars['Boolean'];
|
|
82
|
+
readonly ok: Scalars['Boolean']['output'];
|
|
54
83
|
};
|
|
55
84
|
export type AddMailTemplateError = {
|
|
56
85
|
readonly __typename?: 'AddMailTemplateError';
|
|
57
86
|
readonly code: AddMailTemplateErrorCode;
|
|
58
|
-
readonly developerMessage: Scalars['String'];
|
|
87
|
+
readonly developerMessage: Scalars['String']['output'];
|
|
59
88
|
/** @deprecated Field no longer supported */
|
|
60
|
-
readonly endUserMessage?: Maybe<Scalars['String']>;
|
|
89
|
+
readonly endUserMessage?: Maybe<Scalars['String']['output']>;
|
|
61
90
|
};
|
|
62
91
|
export type AddMailTemplateErrorCode = 'MISSING_VARIABLE' | 'PROJECT_NOT_FOUND';
|
|
63
92
|
export type AddMailTemplateResponse = {
|
|
@@ -65,14 +94,14 @@ export type AddMailTemplateResponse = {
|
|
|
65
94
|
readonly error?: Maybe<AddMailTemplateError>;
|
|
66
95
|
/** @deprecated Field no longer supported */
|
|
67
96
|
readonly errors: ReadonlyArray<AddMailTemplateError>;
|
|
68
|
-
readonly ok: Scalars['Boolean'];
|
|
97
|
+
readonly ok: Scalars['Boolean']['output'];
|
|
69
98
|
};
|
|
70
99
|
export type AddProjectMemberError = {
|
|
71
100
|
readonly __typename?: 'AddProjectMemberError';
|
|
72
101
|
readonly code: AddProjectMemberErrorCode;
|
|
73
|
-
readonly developerMessage: Scalars['String'];
|
|
102
|
+
readonly developerMessage: Scalars['String']['output'];
|
|
74
103
|
/** @deprecated Field no longer supported */
|
|
75
|
-
readonly endUserMessage?: Maybe<Scalars['String']>;
|
|
104
|
+
readonly endUserMessage?: Maybe<Scalars['String']['output']>;
|
|
76
105
|
readonly membershipValidation?: Maybe<ReadonlyArray<MembershipValidationError>>;
|
|
77
106
|
};
|
|
78
107
|
export type AddProjectMemberErrorCode = 'ALREADY_MEMBER' | 'IDENTITY_NOT_FOUND' | 'INVALID_MEMBERSHIP' | 'PROJECT_NOT_FOUND' | 'ROLE_NOT_FOUND' | 'VARIABLE_EMPTY' | 'VARIABLE_NOT_FOUND';
|
|
@@ -80,47 +109,47 @@ export type AddProjectMemberResponse = {
|
|
|
80
109
|
readonly __typename?: 'AddProjectMemberResponse';
|
|
81
110
|
readonly error?: Maybe<AddProjectMemberError>;
|
|
82
111
|
readonly errors: ReadonlyArray<AddProjectMemberError>;
|
|
83
|
-
readonly ok: Scalars['Boolean'];
|
|
112
|
+
readonly ok: Scalars['Boolean']['output'];
|
|
84
113
|
};
|
|
85
114
|
export type ApiKey = {
|
|
86
115
|
readonly __typename?: 'ApiKey';
|
|
87
|
-
readonly id: Scalars['String'];
|
|
116
|
+
readonly id: Scalars['String']['output'];
|
|
88
117
|
readonly identity: Identity;
|
|
89
118
|
};
|
|
90
119
|
export type ApiKeyWithToken = {
|
|
91
120
|
readonly __typename?: 'ApiKeyWithToken';
|
|
92
|
-
readonly id: Scalars['String'];
|
|
121
|
+
readonly id: Scalars['String']['output'];
|
|
93
122
|
readonly identity: Identity;
|
|
94
|
-
readonly token?: Maybe<Scalars['String']>;
|
|
123
|
+
readonly token?: Maybe<Scalars['String']['output']>;
|
|
95
124
|
};
|
|
96
125
|
export type ChangeMyPasswordError = {
|
|
97
126
|
readonly __typename?: 'ChangeMyPasswordError';
|
|
98
127
|
readonly code: ChangeMyPasswordErrorCode;
|
|
99
|
-
readonly developerMessage: Scalars['String'];
|
|
128
|
+
readonly developerMessage: Scalars['String']['output'];
|
|
100
129
|
};
|
|
101
130
|
export type ChangeMyPasswordErrorCode = 'INVALID_PASSWORD' | 'NOT_A_PERSON' | 'NO_PASSWORD_SET' | 'TOO_WEAK';
|
|
102
131
|
export type ChangeMyPasswordResponse = {
|
|
103
132
|
readonly __typename?: 'ChangeMyPasswordResponse';
|
|
104
133
|
readonly error?: Maybe<ChangeMyPasswordError>;
|
|
105
|
-
readonly ok: Scalars['Boolean'];
|
|
134
|
+
readonly ok: Scalars['Boolean']['output'];
|
|
106
135
|
};
|
|
107
136
|
export type ChangeMyProfileError = {
|
|
108
137
|
readonly __typename?: 'ChangeMyProfileError';
|
|
109
138
|
readonly code: ChangeMyProfileErrorCode;
|
|
110
|
-
readonly developerMessage: Scalars['String'];
|
|
139
|
+
readonly developerMessage: Scalars['String']['output'];
|
|
111
140
|
};
|
|
112
141
|
export type ChangeMyProfileErrorCode = 'EMAIL_ALREADY_EXISTS' | 'INVALID_EMAIL_FORMAT' | 'NOT_A_PERSON';
|
|
113
142
|
export type ChangeMyProfileResponse = {
|
|
114
143
|
readonly __typename?: 'ChangeMyProfileResponse';
|
|
115
144
|
readonly error?: Maybe<ChangeMyProfileError>;
|
|
116
|
-
readonly ok: Scalars['Boolean'];
|
|
145
|
+
readonly ok: Scalars['Boolean']['output'];
|
|
117
146
|
};
|
|
118
147
|
export type ChangePasswordError = {
|
|
119
148
|
readonly __typename?: 'ChangePasswordError';
|
|
120
149
|
readonly code: ChangePasswordErrorCode;
|
|
121
|
-
readonly developerMessage: Scalars['String'];
|
|
150
|
+
readonly developerMessage: Scalars['String']['output'];
|
|
122
151
|
/** @deprecated Field no longer supported */
|
|
123
|
-
readonly endUserMessage?: Maybe<Scalars['String']>;
|
|
152
|
+
readonly endUserMessage?: Maybe<Scalars['String']['output']>;
|
|
124
153
|
};
|
|
125
154
|
export type ChangePasswordErrorCode = 'PERSON_NOT_FOUND' | 'TOO_WEAK';
|
|
126
155
|
export type ChangePasswordResponse = {
|
|
@@ -128,7 +157,7 @@ export type ChangePasswordResponse = {
|
|
|
128
157
|
readonly error?: Maybe<ChangePasswordError>;
|
|
129
158
|
/** @deprecated Field no longer supported */
|
|
130
159
|
readonly errors: ReadonlyArray<ChangePasswordError>;
|
|
131
|
-
readonly ok: Scalars['Boolean'];
|
|
160
|
+
readonly ok: Scalars['Boolean']['output'];
|
|
132
161
|
};
|
|
133
162
|
export type CheckResetPasswordTokenCode = 'REQUEST_NOT_FOUND' | 'TOKEN_EXPIRED' | 'TOKEN_NOT_FOUND' | 'TOKEN_USED';
|
|
134
163
|
export type CheckResetPasswordTokenResult = {
|
|
@@ -137,14 +166,14 @@ export type CheckResetPasswordTokenResult = {
|
|
|
137
166
|
};
|
|
138
167
|
export type CommonSignInResult = {
|
|
139
168
|
readonly person: Person;
|
|
140
|
-
readonly token: Scalars['String'];
|
|
169
|
+
readonly token: Scalars['String']['output'];
|
|
141
170
|
};
|
|
142
171
|
export type ConfirmOtpError = {
|
|
143
172
|
readonly __typename?: 'ConfirmOtpError';
|
|
144
173
|
readonly code: ConfirmOtpErrorCode;
|
|
145
|
-
readonly developerMessage: Scalars['String'];
|
|
174
|
+
readonly developerMessage: Scalars['String']['output'];
|
|
146
175
|
/** @deprecated Field no longer supported */
|
|
147
|
-
readonly endUserMessage?: Maybe<Scalars['String']>;
|
|
176
|
+
readonly endUserMessage?: Maybe<Scalars['String']['output']>;
|
|
148
177
|
};
|
|
149
178
|
export type ConfirmOtpErrorCode = 'INVALID_OTP_TOKEN' | 'NOT_PREPARED';
|
|
150
179
|
export type ConfirmOtpResponse = {
|
|
@@ -152,14 +181,14 @@ export type ConfirmOtpResponse = {
|
|
|
152
181
|
readonly error?: Maybe<ConfirmOtpError>;
|
|
153
182
|
/** @deprecated Field no longer supported */
|
|
154
183
|
readonly errors: ReadonlyArray<ConfirmOtpError>;
|
|
155
|
-
readonly ok: Scalars['Boolean'];
|
|
184
|
+
readonly ok: Scalars['Boolean']['output'];
|
|
156
185
|
};
|
|
157
186
|
export type CreateApiKeyError = {
|
|
158
187
|
readonly __typename?: 'CreateApiKeyError';
|
|
159
188
|
readonly code: CreateApiKeyErrorCode;
|
|
160
|
-
readonly developerMessage: Scalars['String'];
|
|
189
|
+
readonly developerMessage: Scalars['String']['output'];
|
|
161
190
|
/** @deprecated Field no longer supported */
|
|
162
|
-
readonly endUserMessage?: Maybe<Scalars['String']>;
|
|
191
|
+
readonly endUserMessage?: Maybe<Scalars['String']['output']>;
|
|
163
192
|
readonly membershipValidation?: Maybe<ReadonlyArray<MembershipValidationError>>;
|
|
164
193
|
};
|
|
165
194
|
export type CreateApiKeyErrorCode = 'INVALID_MEMBERSHIP' | 'PROJECT_NOT_FOUND' | 'ROLE_NOT_FOUND' | 'VARIABLE_EMPTY' | 'VARIABLE_NOT_FOUND';
|
|
@@ -168,7 +197,7 @@ export type CreateApiKeyResponse = {
|
|
|
168
197
|
readonly error?: Maybe<CreateApiKeyError>;
|
|
169
198
|
/** @deprecated Field no longer supported */
|
|
170
199
|
readonly errors: ReadonlyArray<CreateApiKeyError>;
|
|
171
|
-
readonly ok: Scalars['Boolean'];
|
|
200
|
+
readonly ok: Scalars['Boolean']['output'];
|
|
172
201
|
readonly result?: Maybe<CreateApiKeyResult>;
|
|
173
202
|
};
|
|
174
203
|
export type CreateApiKeyResult = {
|
|
@@ -178,9 +207,9 @@ export type CreateApiKeyResult = {
|
|
|
178
207
|
export type CreatePasswordResetRequestError = {
|
|
179
208
|
readonly __typename?: 'CreatePasswordResetRequestError';
|
|
180
209
|
readonly code: CreatePasswordResetRequestErrorCode;
|
|
181
|
-
readonly developerMessage: Scalars['String'];
|
|
210
|
+
readonly developerMessage: Scalars['String']['output'];
|
|
182
211
|
/** @deprecated Field no longer supported */
|
|
183
|
-
readonly endUserMessage?: Maybe<Scalars['String']>;
|
|
212
|
+
readonly endUserMessage?: Maybe<Scalars['String']['output']>;
|
|
184
213
|
};
|
|
185
214
|
export type CreatePasswordResetRequestErrorCode = 'PERSON_NOT_FOUND';
|
|
186
215
|
export type CreatePasswordResetRequestResponse = {
|
|
@@ -188,22 +217,22 @@ export type CreatePasswordResetRequestResponse = {
|
|
|
188
217
|
readonly error?: Maybe<CreatePasswordResetRequestError>;
|
|
189
218
|
/** @deprecated Field no longer supported */
|
|
190
219
|
readonly errors: ReadonlyArray<CreatePasswordResetRequestError>;
|
|
191
|
-
readonly ok: Scalars['Boolean'];
|
|
220
|
+
readonly ok: Scalars['Boolean']['output'];
|
|
192
221
|
};
|
|
193
222
|
export type CreateProjectOptions = {
|
|
194
|
-
readonly deployTokenHash?: InputMaybe<Scalars['String']>;
|
|
195
|
-
readonly noDeployToken?: InputMaybe<Scalars['Boolean']>;
|
|
223
|
+
readonly deployTokenHash?: InputMaybe<Scalars['String']['input']>;
|
|
224
|
+
readonly noDeployToken?: InputMaybe<Scalars['Boolean']['input']>;
|
|
196
225
|
};
|
|
197
226
|
export type CreateProjectResponse = {
|
|
198
227
|
readonly __typename?: 'CreateProjectResponse';
|
|
199
228
|
readonly error?: Maybe<CreateProjectResponseError>;
|
|
200
|
-
readonly ok: Scalars['Boolean'];
|
|
229
|
+
readonly ok: Scalars['Boolean']['output'];
|
|
201
230
|
readonly result?: Maybe<CreateProjectResult>;
|
|
202
231
|
};
|
|
203
232
|
export type CreateProjectResponseError = {
|
|
204
233
|
readonly __typename?: 'CreateProjectResponseError';
|
|
205
234
|
readonly code: CreateProjectResponseErrorCode;
|
|
206
|
-
readonly developerMessage: Scalars['String'];
|
|
235
|
+
readonly developerMessage: Scalars['String']['output'];
|
|
207
236
|
};
|
|
208
237
|
export type CreateProjectResponseErrorCode = 'ALREADY_EXISTS' | 'INIT_ERROR';
|
|
209
238
|
export type CreateProjectResult = {
|
|
@@ -211,32 +240,32 @@ export type CreateProjectResult = {
|
|
|
211
240
|
readonly deployerApiKey?: Maybe<ApiKeyWithToken>;
|
|
212
241
|
};
|
|
213
242
|
export type CreateResetPasswordRequestOptions = {
|
|
214
|
-
readonly mailProject?: InputMaybe<Scalars['String']>;
|
|
215
|
-
readonly mailVariant?: InputMaybe<Scalars['String']>;
|
|
243
|
+
readonly mailProject?: InputMaybe<Scalars['String']['input']>;
|
|
244
|
+
readonly mailVariant?: InputMaybe<Scalars['String']['input']>;
|
|
216
245
|
};
|
|
217
246
|
export type CreateSessionTokenError = {
|
|
218
247
|
readonly __typename?: 'CreateSessionTokenError';
|
|
219
248
|
readonly code: CreateSessionTokenErrorCode;
|
|
220
|
-
readonly developerMessage: Scalars['String'];
|
|
249
|
+
readonly developerMessage: Scalars['String']['output'];
|
|
221
250
|
};
|
|
222
251
|
export type CreateSessionTokenErrorCode = 'PERSON_DISABLED' | 'UNKNOWN_EMAIL' | 'UNKNOWN_PERSON_ID';
|
|
223
252
|
export type CreateSessionTokenResponse = {
|
|
224
253
|
readonly __typename?: 'CreateSessionTokenResponse';
|
|
225
254
|
readonly error?: Maybe<CreateSessionTokenError>;
|
|
226
|
-
readonly ok: Scalars['Boolean'];
|
|
255
|
+
readonly ok: Scalars['Boolean']['output'];
|
|
227
256
|
readonly result?: Maybe<CreateSessionTokenResult>;
|
|
228
257
|
};
|
|
229
258
|
export type CreateSessionTokenResult = CommonSignInResult & {
|
|
230
259
|
readonly __typename?: 'CreateSessionTokenResult';
|
|
231
260
|
readonly person: Person;
|
|
232
|
-
readonly token: Scalars['String'];
|
|
261
|
+
readonly token: Scalars['String']['output'];
|
|
233
262
|
};
|
|
234
263
|
export type DisableApiKeyError = {
|
|
235
264
|
readonly __typename?: 'DisableApiKeyError';
|
|
236
265
|
readonly code: DisableApiKeyErrorCode;
|
|
237
|
-
readonly developerMessage: Scalars['String'];
|
|
266
|
+
readonly developerMessage: Scalars['String']['output'];
|
|
238
267
|
/** @deprecated Field no longer supported */
|
|
239
|
-
readonly endUserMessage?: Maybe<Scalars['String']>;
|
|
268
|
+
readonly endUserMessage?: Maybe<Scalars['String']['output']>;
|
|
240
269
|
};
|
|
241
270
|
export type DisableApiKeyErrorCode = 'KEY_NOT_FOUND';
|
|
242
271
|
export type DisableApiKeyResponse = {
|
|
@@ -244,25 +273,25 @@ export type DisableApiKeyResponse = {
|
|
|
244
273
|
readonly error?: Maybe<DisableApiKeyError>;
|
|
245
274
|
/** @deprecated Field no longer supported */
|
|
246
275
|
readonly errors: ReadonlyArray<DisableApiKeyError>;
|
|
247
|
-
readonly ok: Scalars['Boolean'];
|
|
276
|
+
readonly ok: Scalars['Boolean']['output'];
|
|
248
277
|
};
|
|
249
278
|
export type DisableIdpError = {
|
|
250
279
|
readonly __typename?: 'DisableIDPError';
|
|
251
280
|
readonly code: DisableIdpErrorCode;
|
|
252
|
-
readonly developerMessage: Scalars['String'];
|
|
281
|
+
readonly developerMessage: Scalars['String']['output'];
|
|
253
282
|
};
|
|
254
283
|
export type DisableIdpErrorCode = 'NOT_FOUND';
|
|
255
284
|
export type DisableIdpResponse = {
|
|
256
285
|
readonly __typename?: 'DisableIDPResponse';
|
|
257
286
|
readonly error?: Maybe<DisableIdpError>;
|
|
258
|
-
readonly ok: Scalars['Boolean'];
|
|
287
|
+
readonly ok: Scalars['Boolean']['output'];
|
|
259
288
|
};
|
|
260
289
|
export type DisableOtpError = {
|
|
261
290
|
readonly __typename?: 'DisableOtpError';
|
|
262
291
|
readonly code: DisableOtpErrorCode;
|
|
263
|
-
readonly developerMessage: Scalars['String'];
|
|
292
|
+
readonly developerMessage: Scalars['String']['output'];
|
|
264
293
|
/** @deprecated Field no longer supported */
|
|
265
|
-
readonly endUserMessage?: Maybe<Scalars['String']>;
|
|
294
|
+
readonly endUserMessage?: Maybe<Scalars['String']['output']>;
|
|
266
295
|
};
|
|
267
296
|
export type DisableOtpErrorCode = 'OTP_NOT_ACTIVE';
|
|
268
297
|
export type DisableOtpResponse = {
|
|
@@ -270,57 +299,58 @@ export type DisableOtpResponse = {
|
|
|
270
299
|
readonly error?: Maybe<DisableOtpError>;
|
|
271
300
|
/** @deprecated Field no longer supported */
|
|
272
301
|
readonly errors: ReadonlyArray<DisableOtpError>;
|
|
273
|
-
readonly ok: Scalars['Boolean'];
|
|
302
|
+
readonly ok: Scalars['Boolean']['output'];
|
|
274
303
|
};
|
|
275
304
|
export type DisablePersonError = {
|
|
276
305
|
readonly __typename?: 'DisablePersonError';
|
|
277
306
|
readonly code: DisablePersonErrorCode;
|
|
278
|
-
readonly developerMessage: Scalars['String'];
|
|
307
|
+
readonly developerMessage: Scalars['String']['output'];
|
|
279
308
|
};
|
|
280
309
|
export type DisablePersonErrorCode = 'PERSON_ALREADY_DISABLED' | 'PERSON_NOT_FOUND';
|
|
281
310
|
export type DisablePersonResponse = {
|
|
282
311
|
readonly __typename?: 'DisablePersonResponse';
|
|
283
312
|
readonly error?: Maybe<DisablePersonError>;
|
|
284
|
-
readonly ok: Scalars['Boolean'];
|
|
313
|
+
readonly ok: Scalars['Boolean']['output'];
|
|
285
314
|
};
|
|
286
315
|
export type EnableIdpError = {
|
|
287
316
|
readonly __typename?: 'EnableIDPError';
|
|
288
317
|
readonly code: EnableIdpErrorCode;
|
|
289
|
-
readonly developerMessage: Scalars['String'];
|
|
318
|
+
readonly developerMessage: Scalars['String']['output'];
|
|
290
319
|
};
|
|
291
320
|
export type EnableIdpErrorCode = 'NOT_FOUND';
|
|
292
321
|
export type EnableIdpResponse = {
|
|
293
322
|
readonly __typename?: 'EnableIDPResponse';
|
|
294
323
|
readonly error?: Maybe<EnableIdpError>;
|
|
295
|
-
readonly ok: Scalars['Boolean'];
|
|
324
|
+
readonly ok: Scalars['Boolean']['output'];
|
|
296
325
|
};
|
|
297
326
|
export type IdpOptions = {
|
|
298
|
-
readonly autoSignUp?: InputMaybe<Scalars['Boolean']>;
|
|
299
|
-
readonly exclusive?: InputMaybe<Scalars['Boolean']>;
|
|
300
|
-
readonly initReturnsConfig?: InputMaybe<Scalars['Boolean']>;
|
|
327
|
+
readonly autoSignUp?: InputMaybe<Scalars['Boolean']['input']>;
|
|
328
|
+
readonly exclusive?: InputMaybe<Scalars['Boolean']['input']>;
|
|
329
|
+
readonly initReturnsConfig?: InputMaybe<Scalars['Boolean']['input']>;
|
|
301
330
|
};
|
|
302
331
|
export type IdpOptionsOutput = {
|
|
303
332
|
readonly __typename?: 'IDPOptionsOutput';
|
|
304
|
-
readonly autoSignUp: Scalars['Boolean'];
|
|
305
|
-
readonly exclusive: Scalars['Boolean'];
|
|
333
|
+
readonly autoSignUp: Scalars['Boolean']['output'];
|
|
334
|
+
readonly exclusive: Scalars['Boolean']['output'];
|
|
335
|
+
readonly initReturnsConfig: Scalars['Boolean']['output'];
|
|
306
336
|
};
|
|
307
337
|
export type IdpResponseInput = {
|
|
308
|
-
readonly url: Scalars['String'];
|
|
338
|
+
readonly url: Scalars['String']['input'];
|
|
309
339
|
};
|
|
310
340
|
export type Identity = {
|
|
311
341
|
readonly __typename?: 'Identity';
|
|
312
342
|
readonly apiKey?: Maybe<ApiKey>;
|
|
313
|
-
readonly description?: Maybe<Scalars['String']>;
|
|
314
|
-
readonly id: Scalars['String'];
|
|
343
|
+
readonly description?: Maybe<Scalars['String']['output']>;
|
|
344
|
+
readonly id: Scalars['String']['output'];
|
|
315
345
|
readonly permissions?: Maybe<IdentityGlobalPermissions>;
|
|
316
346
|
readonly person?: Maybe<Person>;
|
|
317
347
|
readonly projects: ReadonlyArray<IdentityProjectRelation>;
|
|
318
|
-
readonly roles?: Maybe<ReadonlyArray<Scalars['String']>>;
|
|
348
|
+
readonly roles?: Maybe<ReadonlyArray<Scalars['String']['output']>>;
|
|
319
349
|
};
|
|
320
350
|
export type IdentityGlobalPermissions = {
|
|
321
351
|
readonly __typename?: 'IdentityGlobalPermissions';
|
|
322
|
-
readonly canCreateProject: Scalars['Boolean'];
|
|
323
|
-
readonly canDeployEntrypoint: Scalars['Boolean'];
|
|
352
|
+
readonly canCreateProject: Scalars['Boolean']['output'];
|
|
353
|
+
readonly canDeployEntrypoint: Scalars['Boolean']['output'];
|
|
324
354
|
};
|
|
325
355
|
export type IdentityProjectRelation = {
|
|
326
356
|
readonly __typename?: 'IdentityProjectRelation';
|
|
@@ -329,18 +359,18 @@ export type IdentityProjectRelation = {
|
|
|
329
359
|
};
|
|
330
360
|
export type IdentityProvider = {
|
|
331
361
|
readonly __typename?: 'IdentityProvider';
|
|
332
|
-
readonly configuration: Scalars['Json'];
|
|
333
|
-
readonly disabledAt?: Maybe<Scalars['DateTime']>;
|
|
362
|
+
readonly configuration: Scalars['Json']['output'];
|
|
363
|
+
readonly disabledAt?: Maybe<Scalars['DateTime']['output']>;
|
|
334
364
|
readonly options: IdpOptionsOutput;
|
|
335
|
-
readonly slug: Scalars['String'];
|
|
336
|
-
readonly type: Scalars['String'];
|
|
365
|
+
readonly slug: Scalars['String']['output'];
|
|
366
|
+
readonly type: Scalars['String']['output'];
|
|
337
367
|
};
|
|
338
368
|
export type InitSignInIdpError = {
|
|
339
369
|
readonly __typename?: 'InitSignInIDPError';
|
|
340
370
|
readonly code: InitSignInIdpErrorCode;
|
|
341
|
-
readonly developerMessage: Scalars['String'];
|
|
371
|
+
readonly developerMessage: Scalars['String']['output'];
|
|
342
372
|
/** @deprecated Field no longer supported */
|
|
343
|
-
readonly endUserMessage?: Maybe<Scalars['String']>;
|
|
373
|
+
readonly endUserMessage?: Maybe<Scalars['String']['output']>;
|
|
344
374
|
};
|
|
345
375
|
export type InitSignInIdpErrorCode = 'IDP_VALIDATION_FAILED' | 'PROVIDER_NOT_FOUND';
|
|
346
376
|
export type InitSignInIdpResponse = {
|
|
@@ -348,27 +378,27 @@ export type InitSignInIdpResponse = {
|
|
|
348
378
|
readonly error?: Maybe<InitSignInIdpError>;
|
|
349
379
|
/** @deprecated Field no longer supported */
|
|
350
380
|
readonly errors: ReadonlyArray<InitSignInIdpError>;
|
|
351
|
-
readonly ok: Scalars['Boolean'];
|
|
381
|
+
readonly ok: Scalars['Boolean']['output'];
|
|
352
382
|
readonly result?: Maybe<InitSignInIdpResult>;
|
|
353
383
|
};
|
|
354
384
|
export type InitSignInIdpResult = {
|
|
355
385
|
readonly __typename?: 'InitSignInIDPResult';
|
|
356
|
-
readonly authUrl: Scalars['String'];
|
|
357
|
-
readonly idpConfiguration?: Maybe<Scalars['Json']>;
|
|
358
|
-
readonly sessionData: Scalars['Json'];
|
|
386
|
+
readonly authUrl: Scalars['String']['output'];
|
|
387
|
+
readonly idpConfiguration?: Maybe<Scalars['Json']['output']>;
|
|
388
|
+
readonly sessionData: Scalars['Json']['output'];
|
|
359
389
|
};
|
|
360
390
|
export type InviteError = {
|
|
361
391
|
readonly __typename?: 'InviteError';
|
|
362
392
|
readonly code: InviteErrorCode;
|
|
363
|
-
readonly developerMessage: Scalars['String'];
|
|
393
|
+
readonly developerMessage: Scalars['String']['output'];
|
|
364
394
|
/** @deprecated Field no longer supported */
|
|
365
|
-
readonly endUserMessage?: Maybe<Scalars['String']>;
|
|
395
|
+
readonly endUserMessage?: Maybe<Scalars['String']['output']>;
|
|
366
396
|
readonly membershipValidation?: Maybe<ReadonlyArray<MembershipValidationError>>;
|
|
367
397
|
};
|
|
368
398
|
export type InviteErrorCode = 'ALREADY_MEMBER' | 'INVALID_EMAIL_FORMAT' | 'INVALID_MEMBERSHIP' | 'PROJECT_NOT_FOUND' | 'ROLE_NOT_FOUND' | 'VARIABLE_EMPTY' | 'VARIABLE_NOT_FOUND';
|
|
369
399
|
export type InviteMethod = 'CREATE_PASSWORD' | 'RESET_PASSWORD';
|
|
370
400
|
export type InviteOptions = {
|
|
371
|
-
readonly mailVariant?: InputMaybe<Scalars['String']>;
|
|
401
|
+
readonly mailVariant?: InputMaybe<Scalars['String']['input']>;
|
|
372
402
|
readonly method?: InputMaybe<InviteMethod>;
|
|
373
403
|
};
|
|
374
404
|
export type InviteResponse = {
|
|
@@ -376,44 +406,44 @@ export type InviteResponse = {
|
|
|
376
406
|
readonly error?: Maybe<InviteError>;
|
|
377
407
|
/** @deprecated Field no longer supported */
|
|
378
408
|
readonly errors: ReadonlyArray<InviteError>;
|
|
379
|
-
readonly ok: Scalars['Boolean'];
|
|
409
|
+
readonly ok: Scalars['Boolean']['output'];
|
|
380
410
|
readonly result?: Maybe<InviteResult>;
|
|
381
411
|
};
|
|
382
412
|
export type InviteResult = {
|
|
383
413
|
readonly __typename?: 'InviteResult';
|
|
384
|
-
readonly isNew: Scalars['Boolean'];
|
|
414
|
+
readonly isNew: Scalars['Boolean']['output'];
|
|
385
415
|
readonly person: Person;
|
|
386
416
|
};
|
|
387
417
|
export type MailTemplate = {
|
|
388
|
-
readonly content: Scalars['String'];
|
|
389
|
-
readonly projectSlug?: InputMaybe<Scalars['String']>;
|
|
390
|
-
readonly subject: Scalars['String'];
|
|
418
|
+
readonly content: Scalars['String']['input'];
|
|
419
|
+
readonly projectSlug?: InputMaybe<Scalars['String']['input']>;
|
|
420
|
+
readonly subject: Scalars['String']['input'];
|
|
391
421
|
readonly type: MailType;
|
|
392
|
-
readonly useLayout?: InputMaybe<Scalars['Boolean']>;
|
|
422
|
+
readonly useLayout?: InputMaybe<Scalars['Boolean']['input']>;
|
|
393
423
|
/** Custom mail variant identifier, e.g. a locale. */
|
|
394
|
-
readonly variant?: InputMaybe<Scalars['String']>;
|
|
424
|
+
readonly variant?: InputMaybe<Scalars['String']['input']>;
|
|
395
425
|
};
|
|
396
426
|
export type MailTemplateIdentifier = {
|
|
397
|
-
readonly projectSlug?: InputMaybe<Scalars['String']>;
|
|
427
|
+
readonly projectSlug?: InputMaybe<Scalars['String']['input']>;
|
|
398
428
|
readonly type: MailType;
|
|
399
|
-
readonly variant?: InputMaybe<Scalars['String']>;
|
|
429
|
+
readonly variant?: InputMaybe<Scalars['String']['input']>;
|
|
400
430
|
};
|
|
401
431
|
export type MailType = 'EXISTING_USER_INVITED' | 'NEW_USER_INVITED' | 'RESET_PASSWORD_REQUEST';
|
|
402
432
|
export type MemberType = 'API_KEY' | 'PERSON';
|
|
403
433
|
export type Membership = {
|
|
404
434
|
readonly __typename?: 'Membership';
|
|
405
|
-
readonly role: Scalars['String'];
|
|
435
|
+
readonly role: Scalars['String']['output'];
|
|
406
436
|
readonly variables: ReadonlyArray<VariableEntry>;
|
|
407
437
|
};
|
|
408
438
|
export type MembershipInput = {
|
|
409
|
-
readonly role: Scalars['String'];
|
|
439
|
+
readonly role: Scalars['String']['input'];
|
|
410
440
|
readonly variables: ReadonlyArray<VariableEntryInput>;
|
|
411
441
|
};
|
|
412
442
|
export type MembershipValidationError = {
|
|
413
443
|
readonly __typename?: 'MembershipValidationError';
|
|
414
444
|
readonly code: MembershipValidationErrorCode;
|
|
415
|
-
readonly role: Scalars['String'];
|
|
416
|
-
readonly variable?: Maybe<Scalars['String']>;
|
|
445
|
+
readonly role: Scalars['String']['output'];
|
|
446
|
+
readonly variable?: Maybe<Scalars['String']['output']>;
|
|
417
447
|
};
|
|
418
448
|
export type MembershipValidationErrorCode = 'ROLE_NOT_FOUND' | 'VARIABLE_EMPTY' | 'VARIABLE_INVALID' | 'VARIABLE_NOT_FOUND';
|
|
419
449
|
export type Mutation = {
|
|
@@ -458,14 +488,14 @@ export type Mutation = {
|
|
|
458
488
|
readonly updateProjectMember?: Maybe<UpdateProjectMemberResponse>;
|
|
459
489
|
};
|
|
460
490
|
export type MutationAddGlobalIdentityRolesArgs = {
|
|
461
|
-
identityId: Scalars['String'];
|
|
462
|
-
roles: ReadonlyArray<Scalars['String']>;
|
|
491
|
+
identityId: Scalars['String']['input'];
|
|
492
|
+
roles: ReadonlyArray<Scalars['String']['input']>;
|
|
463
493
|
};
|
|
464
494
|
export type MutationAddIdpArgs = {
|
|
465
|
-
configuration: Scalars['Json'];
|
|
466
|
-
identityProvider: Scalars['String'];
|
|
495
|
+
configuration: Scalars['Json']['input'];
|
|
496
|
+
identityProvider: Scalars['String']['input'];
|
|
467
497
|
options?: InputMaybe<IdpOptions>;
|
|
468
|
-
type: Scalars['String'];
|
|
498
|
+
type: Scalars['String']['input'];
|
|
469
499
|
};
|
|
470
500
|
export type MutationAddMailTemplateArgs = {
|
|
471
501
|
template: MailTemplate;
|
|
@@ -474,83 +504,83 @@ export type MutationAddProjectMailTemplateArgs = {
|
|
|
474
504
|
template: MailTemplate;
|
|
475
505
|
};
|
|
476
506
|
export type MutationAddProjectMemberArgs = {
|
|
477
|
-
identityId: Scalars['String'];
|
|
507
|
+
identityId: Scalars['String']['input'];
|
|
478
508
|
memberships: ReadonlyArray<MembershipInput>;
|
|
479
|
-
projectSlug: Scalars['String'];
|
|
509
|
+
projectSlug: Scalars['String']['input'];
|
|
480
510
|
};
|
|
481
511
|
export type MutationChangeMyPasswordArgs = {
|
|
482
|
-
currentPassword: Scalars['String'];
|
|
483
|
-
newPassword: Scalars['String'];
|
|
512
|
+
currentPassword: Scalars['String']['input'];
|
|
513
|
+
newPassword: Scalars['String']['input'];
|
|
484
514
|
};
|
|
485
515
|
export type MutationChangeMyProfileArgs = {
|
|
486
|
-
email?: InputMaybe<Scalars['String']>;
|
|
487
|
-
name?: InputMaybe<Scalars['String']>;
|
|
516
|
+
email?: InputMaybe<Scalars['String']['input']>;
|
|
517
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
488
518
|
};
|
|
489
519
|
export type MutationChangePasswordArgs = {
|
|
490
|
-
password: Scalars['String'];
|
|
491
|
-
personId: Scalars['String'];
|
|
520
|
+
password: Scalars['String']['input'];
|
|
521
|
+
personId: Scalars['String']['input'];
|
|
492
522
|
};
|
|
493
523
|
export type MutationConfirmOtpArgs = {
|
|
494
|
-
otpToken: Scalars['String'];
|
|
524
|
+
otpToken: Scalars['String']['input'];
|
|
495
525
|
};
|
|
496
526
|
export type MutationCreateApiKeyArgs = {
|
|
497
|
-
description: Scalars['String'];
|
|
527
|
+
description: Scalars['String']['input'];
|
|
498
528
|
memberships: ReadonlyArray<MembershipInput>;
|
|
499
|
-
projectSlug: Scalars['String'];
|
|
500
|
-
tokenHash?: InputMaybe<Scalars['String']>;
|
|
529
|
+
projectSlug: Scalars['String']['input'];
|
|
530
|
+
tokenHash?: InputMaybe<Scalars['String']['input']>;
|
|
501
531
|
};
|
|
502
532
|
export type MutationCreateGlobalApiKeyArgs = {
|
|
503
|
-
description: Scalars['String'];
|
|
504
|
-
roles?: InputMaybe<ReadonlyArray<Scalars['String']>>;
|
|
505
|
-
tokenHash?: InputMaybe<Scalars['String']>;
|
|
533
|
+
description: Scalars['String']['input'];
|
|
534
|
+
roles?: InputMaybe<ReadonlyArray<Scalars['String']['input']>>;
|
|
535
|
+
tokenHash?: InputMaybe<Scalars['String']['input']>;
|
|
506
536
|
};
|
|
507
537
|
export type MutationCreateProjectArgs = {
|
|
508
|
-
config?: InputMaybe<Scalars['Json']>;
|
|
509
|
-
deployTokenHash?: InputMaybe<Scalars['String']>;
|
|
510
|
-
name?: InputMaybe<Scalars['String']>;
|
|
538
|
+
config?: InputMaybe<Scalars['Json']['input']>;
|
|
539
|
+
deployTokenHash?: InputMaybe<Scalars['String']['input']>;
|
|
540
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
511
541
|
options?: InputMaybe<CreateProjectOptions>;
|
|
512
|
-
projectSlug: Scalars['String'];
|
|
542
|
+
projectSlug: Scalars['String']['input'];
|
|
513
543
|
secrets?: InputMaybe<ReadonlyArray<ProjectSecret>>;
|
|
514
544
|
};
|
|
515
545
|
export type MutationCreateResetPasswordRequestArgs = {
|
|
516
|
-
email: Scalars['String'];
|
|
546
|
+
email: Scalars['String']['input'];
|
|
517
547
|
options?: InputMaybe<CreateResetPasswordRequestOptions>;
|
|
518
548
|
};
|
|
519
549
|
export type MutationCreateSessionTokenArgs = {
|
|
520
|
-
email?: InputMaybe<Scalars['String']>;
|
|
521
|
-
expiration?: InputMaybe<Scalars['Int']>;
|
|
522
|
-
personId?: InputMaybe<Scalars['String']>;
|
|
550
|
+
email?: InputMaybe<Scalars['String']['input']>;
|
|
551
|
+
expiration?: InputMaybe<Scalars['Int']['input']>;
|
|
552
|
+
personId?: InputMaybe<Scalars['String']['input']>;
|
|
523
553
|
};
|
|
524
554
|
export type MutationDisableApiKeyArgs = {
|
|
525
|
-
id: Scalars['String'];
|
|
555
|
+
id: Scalars['String']['input'];
|
|
526
556
|
};
|
|
527
557
|
export type MutationDisableIdpArgs = {
|
|
528
|
-
identityProvider: Scalars['String'];
|
|
558
|
+
identityProvider: Scalars['String']['input'];
|
|
529
559
|
};
|
|
530
560
|
export type MutationDisablePersonArgs = {
|
|
531
|
-
personId: Scalars['String'];
|
|
561
|
+
personId: Scalars['String']['input'];
|
|
532
562
|
};
|
|
533
563
|
export type MutationEnableIdpArgs = {
|
|
534
|
-
identityProvider: Scalars['String'];
|
|
564
|
+
identityProvider: Scalars['String']['input'];
|
|
535
565
|
};
|
|
536
566
|
export type MutationInitSignInIdpArgs = {
|
|
537
|
-
data?: InputMaybe<Scalars['Json']>;
|
|
538
|
-
identityProvider: Scalars['String'];
|
|
539
|
-
redirectUrl?: InputMaybe<Scalars['String']>;
|
|
567
|
+
data?: InputMaybe<Scalars['Json']['input']>;
|
|
568
|
+
identityProvider: Scalars['String']['input'];
|
|
569
|
+
redirectUrl?: InputMaybe<Scalars['String']['input']>;
|
|
540
570
|
};
|
|
541
571
|
export type MutationInviteArgs = {
|
|
542
|
-
email: Scalars['String'];
|
|
572
|
+
email: Scalars['String']['input'];
|
|
543
573
|
memberships: ReadonlyArray<MembershipInput>;
|
|
544
|
-
name?: InputMaybe<Scalars['String']>;
|
|
574
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
545
575
|
options?: InputMaybe<InviteOptions>;
|
|
546
|
-
projectSlug: Scalars['String'];
|
|
576
|
+
projectSlug: Scalars['String']['input'];
|
|
547
577
|
};
|
|
548
578
|
export type MutationPrepareOtpArgs = {
|
|
549
|
-
label?: InputMaybe<Scalars['String']>;
|
|
579
|
+
label?: InputMaybe<Scalars['String']['input']>;
|
|
550
580
|
};
|
|
551
581
|
export type MutationRemoveGlobalIdentityRolesArgs = {
|
|
552
|
-
identityId: Scalars['String'];
|
|
553
|
-
roles: ReadonlyArray<Scalars['String']>;
|
|
582
|
+
identityId: Scalars['String']['input'];
|
|
583
|
+
roles: ReadonlyArray<Scalars['String']['input']>;
|
|
554
584
|
};
|
|
555
585
|
export type MutationRemoveMailTemplateArgs = {
|
|
556
586
|
templateIdentifier: MailTemplateIdentifier;
|
|
@@ -559,94 +589,94 @@ export type MutationRemoveProjectMailTemplateArgs = {
|
|
|
559
589
|
templateIdentifier: MailTemplateIdentifier;
|
|
560
590
|
};
|
|
561
591
|
export type MutationRemoveProjectMemberArgs = {
|
|
562
|
-
identityId: Scalars['String'];
|
|
563
|
-
projectSlug: Scalars['String'];
|
|
592
|
+
identityId: Scalars['String']['input'];
|
|
593
|
+
projectSlug: Scalars['String']['input'];
|
|
564
594
|
};
|
|
565
595
|
export type MutationResetPasswordArgs = {
|
|
566
|
-
password: Scalars['String'];
|
|
567
|
-
token: Scalars['String'];
|
|
596
|
+
password: Scalars['String']['input'];
|
|
597
|
+
token: Scalars['String']['input'];
|
|
568
598
|
};
|
|
569
599
|
export type MutationSetProjectSecretArgs = {
|
|
570
|
-
key: Scalars['String'];
|
|
571
|
-
projectSlug: Scalars['String'];
|
|
572
|
-
value: Scalars['String'];
|
|
600
|
+
key: Scalars['String']['input'];
|
|
601
|
+
projectSlug: Scalars['String']['input'];
|
|
602
|
+
value: Scalars['String']['input'];
|
|
573
603
|
};
|
|
574
604
|
export type MutationSignInArgs = {
|
|
575
|
-
email: Scalars['String'];
|
|
576
|
-
expiration?: InputMaybe<Scalars['Int']>;
|
|
577
|
-
otpToken?: InputMaybe<Scalars['String']>;
|
|
578
|
-
password: Scalars['String'];
|
|
605
|
+
email: Scalars['String']['input'];
|
|
606
|
+
expiration?: InputMaybe<Scalars['Int']['input']>;
|
|
607
|
+
otpToken?: InputMaybe<Scalars['String']['input']>;
|
|
608
|
+
password: Scalars['String']['input'];
|
|
579
609
|
};
|
|
580
610
|
export type MutationSignInIdpArgs = {
|
|
581
|
-
data?: InputMaybe<Scalars['Json']>;
|
|
582
|
-
expiration?: InputMaybe<Scalars['Int']>;
|
|
583
|
-
identityProvider: Scalars['String'];
|
|
611
|
+
data?: InputMaybe<Scalars['Json']['input']>;
|
|
612
|
+
expiration?: InputMaybe<Scalars['Int']['input']>;
|
|
613
|
+
identityProvider: Scalars['String']['input'];
|
|
584
614
|
idpResponse?: InputMaybe<IdpResponseInput>;
|
|
585
|
-
redirectUrl?: InputMaybe<Scalars['String']>;
|
|
586
|
-
sessionData?: InputMaybe<Scalars['Json']>;
|
|
615
|
+
redirectUrl?: InputMaybe<Scalars['String']['input']>;
|
|
616
|
+
sessionData?: InputMaybe<Scalars['Json']['input']>;
|
|
587
617
|
};
|
|
588
618
|
export type MutationSignOutArgs = {
|
|
589
|
-
all?: InputMaybe<Scalars['Boolean']>;
|
|
619
|
+
all?: InputMaybe<Scalars['Boolean']['input']>;
|
|
590
620
|
};
|
|
591
621
|
export type MutationSignUpArgs = {
|
|
592
|
-
email: Scalars['String'];
|
|
593
|
-
name?: InputMaybe<Scalars['String']>;
|
|
594
|
-
password?: InputMaybe<Scalars['String']>;
|
|
595
|
-
passwordHash?: InputMaybe<Scalars['String']>;
|
|
596
|
-
roles?: InputMaybe<ReadonlyArray<Scalars['String']>>;
|
|
622
|
+
email: Scalars['String']['input'];
|
|
623
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
624
|
+
password?: InputMaybe<Scalars['String']['input']>;
|
|
625
|
+
passwordHash?: InputMaybe<Scalars['String']['input']>;
|
|
626
|
+
roles?: InputMaybe<ReadonlyArray<Scalars['String']['input']>>;
|
|
597
627
|
};
|
|
598
628
|
export type MutationUnmanagedInviteArgs = {
|
|
599
|
-
email: Scalars['String'];
|
|
629
|
+
email: Scalars['String']['input'];
|
|
600
630
|
memberships: ReadonlyArray<MembershipInput>;
|
|
601
|
-
name?: InputMaybe<Scalars['String']>;
|
|
631
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
602
632
|
options?: InputMaybe<UnmanagedInviteOptions>;
|
|
603
|
-
password?: InputMaybe<Scalars['String']>;
|
|
604
|
-
projectSlug: Scalars['String'];
|
|
633
|
+
password?: InputMaybe<Scalars['String']['input']>;
|
|
634
|
+
projectSlug: Scalars['String']['input'];
|
|
605
635
|
};
|
|
606
636
|
export type MutationUpdateIdpArgs = {
|
|
607
|
-
configuration?: InputMaybe<Scalars['Json']>;
|
|
608
|
-
identityProvider: Scalars['String'];
|
|
609
|
-
mergeConfiguration?: InputMaybe<Scalars['Boolean']>;
|
|
637
|
+
configuration?: InputMaybe<Scalars['Json']['input']>;
|
|
638
|
+
identityProvider: Scalars['String']['input'];
|
|
639
|
+
mergeConfiguration?: InputMaybe<Scalars['Boolean']['input']>;
|
|
610
640
|
options?: InputMaybe<IdpOptions>;
|
|
611
|
-
type?: InputMaybe<Scalars['String']>;
|
|
641
|
+
type?: InputMaybe<Scalars['String']['input']>;
|
|
612
642
|
};
|
|
613
643
|
export type MutationUpdateProjectArgs = {
|
|
614
|
-
config?: InputMaybe<Scalars['Json']>;
|
|
615
|
-
mergeConfig?: InputMaybe<Scalars['Boolean']>;
|
|
616
|
-
name?: InputMaybe<Scalars['String']>;
|
|
617
|
-
projectSlug: Scalars['String'];
|
|
644
|
+
config?: InputMaybe<Scalars['Json']['input']>;
|
|
645
|
+
mergeConfig?: InputMaybe<Scalars['Boolean']['input']>;
|
|
646
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
647
|
+
projectSlug: Scalars['String']['input'];
|
|
618
648
|
};
|
|
619
649
|
export type MutationUpdateProjectMemberArgs = {
|
|
620
|
-
identityId: Scalars['String'];
|
|
650
|
+
identityId: Scalars['String']['input'];
|
|
621
651
|
memberships: ReadonlyArray<MembershipInput>;
|
|
622
|
-
projectSlug: Scalars['String'];
|
|
652
|
+
projectSlug: Scalars['String']['input'];
|
|
623
653
|
};
|
|
624
654
|
export type Person = {
|
|
625
655
|
readonly __typename?: 'Person';
|
|
626
|
-
readonly email?: Maybe<Scalars['String']>;
|
|
627
|
-
readonly id: Scalars['String'];
|
|
656
|
+
readonly email?: Maybe<Scalars['String']['output']>;
|
|
657
|
+
readonly id: Scalars['String']['output'];
|
|
628
658
|
readonly identity: Identity;
|
|
629
|
-
readonly name?: Maybe<Scalars['String']>;
|
|
630
|
-
readonly otpEnabled: Scalars['Boolean'];
|
|
659
|
+
readonly name?: Maybe<Scalars['String']['output']>;
|
|
660
|
+
readonly otpEnabled: Scalars['Boolean']['output'];
|
|
631
661
|
};
|
|
632
662
|
export type PrepareOtpResponse = {
|
|
633
663
|
readonly __typename?: 'PrepareOtpResponse';
|
|
634
|
-
readonly ok: Scalars['Boolean'];
|
|
664
|
+
readonly ok: Scalars['Boolean']['output'];
|
|
635
665
|
readonly result?: Maybe<PrepareOtpResult>;
|
|
636
666
|
};
|
|
637
667
|
export type PrepareOtpResult = {
|
|
638
668
|
readonly __typename?: 'PrepareOtpResult';
|
|
639
|
-
readonly otpSecret: Scalars['String'];
|
|
640
|
-
readonly otpUri: Scalars['String'];
|
|
669
|
+
readonly otpSecret: Scalars['String']['output'];
|
|
670
|
+
readonly otpUri: Scalars['String']['output'];
|
|
641
671
|
};
|
|
642
672
|
export type Project = {
|
|
643
673
|
readonly __typename?: 'Project';
|
|
644
|
-
readonly config: Scalars['Json'];
|
|
645
|
-
readonly id: Scalars['String'];
|
|
674
|
+
readonly config: Scalars['Json']['output'];
|
|
675
|
+
readonly id: Scalars['String']['output'];
|
|
646
676
|
readonly members: ReadonlyArray<ProjectIdentityRelation>;
|
|
647
|
-
readonly name: Scalars['String'];
|
|
677
|
+
readonly name: Scalars['String']['output'];
|
|
648
678
|
readonly roles: ReadonlyArray<RoleDefinition>;
|
|
649
|
-
readonly slug: Scalars['String'];
|
|
679
|
+
readonly slug: Scalars['String']['output'];
|
|
650
680
|
};
|
|
651
681
|
export type ProjectMembersArgs = {
|
|
652
682
|
input?: InputMaybe<ProjectMembersInput>;
|
|
@@ -658,19 +688,19 @@ export type ProjectIdentityRelation = {
|
|
|
658
688
|
readonly memberships: ReadonlyArray<Membership>;
|
|
659
689
|
};
|
|
660
690
|
export type ProjectMembersFilter = {
|
|
661
|
-
readonly email?: InputMaybe<ReadonlyArray<Scalars['String']>>;
|
|
662
|
-
readonly identityId?: InputMaybe<ReadonlyArray<Scalars['String']>>;
|
|
691
|
+
readonly email?: InputMaybe<ReadonlyArray<Scalars['String']['input']>>;
|
|
692
|
+
readonly identityId?: InputMaybe<ReadonlyArray<Scalars['String']['input']>>;
|
|
663
693
|
readonly memberType?: InputMaybe<MemberType>;
|
|
664
|
-
readonly personId?: InputMaybe<ReadonlyArray<Scalars['String']>>;
|
|
694
|
+
readonly personId?: InputMaybe<ReadonlyArray<Scalars['String']['input']>>;
|
|
665
695
|
};
|
|
666
696
|
export type ProjectMembersInput = {
|
|
667
697
|
readonly filter?: InputMaybe<ProjectMembersFilter>;
|
|
668
|
-
readonly limit?: InputMaybe<Scalars['Int']>;
|
|
669
|
-
readonly offset?: InputMaybe<Scalars['Int']>;
|
|
698
|
+
readonly limit?: InputMaybe<Scalars['Int']['input']>;
|
|
699
|
+
readonly offset?: InputMaybe<Scalars['Int']['input']>;
|
|
670
700
|
};
|
|
671
701
|
export type ProjectSecret = {
|
|
672
|
-
readonly key: Scalars['String'];
|
|
673
|
-
readonly value: Scalars['String'];
|
|
702
|
+
readonly key: Scalars['String']['input'];
|
|
703
|
+
readonly value: Scalars['String']['input'];
|
|
674
704
|
};
|
|
675
705
|
export type Query = {
|
|
676
706
|
readonly __typename?: 'Query';
|
|
@@ -682,26 +712,26 @@ export type Query = {
|
|
|
682
712
|
readonly projects: ReadonlyArray<Project>;
|
|
683
713
|
};
|
|
684
714
|
export type QueryCheckResetPasswordTokenArgs = {
|
|
685
|
-
requestId: Scalars['String'];
|
|
686
|
-
token: Scalars['String'];
|
|
715
|
+
requestId: Scalars['String']['input'];
|
|
716
|
+
token: Scalars['String']['input'];
|
|
687
717
|
};
|
|
688
718
|
export type QueryProjectBySlugArgs = {
|
|
689
|
-
slug: Scalars['String'];
|
|
719
|
+
slug: Scalars['String']['input'];
|
|
690
720
|
};
|
|
691
721
|
export type QueryProjectMembershipsArgs = {
|
|
692
|
-
identityId: Scalars['String'];
|
|
693
|
-
projectSlug: Scalars['String'];
|
|
722
|
+
identityId: Scalars['String']['input'];
|
|
723
|
+
projectSlug: Scalars['String']['input'];
|
|
694
724
|
};
|
|
695
725
|
export type RemoveGlobalIdentityRolesError = {
|
|
696
726
|
readonly __typename?: 'RemoveGlobalIdentityRolesError';
|
|
697
727
|
readonly code: RemoveGlobalIdentityRolesErrorCode;
|
|
698
|
-
readonly developerMessage: Scalars['String'];
|
|
728
|
+
readonly developerMessage: Scalars['String']['output'];
|
|
699
729
|
};
|
|
700
730
|
export type RemoveGlobalIdentityRolesErrorCode = 'IDENTITY_NOT_FOUND' | 'INVALID_ROLE';
|
|
701
731
|
export type RemoveGlobalIdentityRolesResponse = {
|
|
702
732
|
readonly __typename?: 'RemoveGlobalIdentityRolesResponse';
|
|
703
733
|
readonly error?: Maybe<RemoveGlobalIdentityRolesError>;
|
|
704
|
-
readonly ok: Scalars['Boolean'];
|
|
734
|
+
readonly ok: Scalars['Boolean']['output'];
|
|
705
735
|
readonly result?: Maybe<RemoveGlobalIdentityRolesResult>;
|
|
706
736
|
};
|
|
707
737
|
export type RemoveGlobalIdentityRolesResult = {
|
|
@@ -711,37 +741,37 @@ export type RemoveGlobalIdentityRolesResult = {
|
|
|
711
741
|
export type RemoveMailTemplateError = {
|
|
712
742
|
readonly __typename?: 'RemoveMailTemplateError';
|
|
713
743
|
readonly code: RemoveMailTemplateErrorCode;
|
|
714
|
-
readonly developerMessage: Scalars['String'];
|
|
744
|
+
readonly developerMessage: Scalars['String']['output'];
|
|
715
745
|
/** @deprecated Field no longer supported */
|
|
716
|
-
readonly endUserMessage?: Maybe<Scalars['String']>;
|
|
746
|
+
readonly endUserMessage?: Maybe<Scalars['String']['output']>;
|
|
717
747
|
};
|
|
718
748
|
export type RemoveMailTemplateErrorCode = 'PROJECT_NOT_FOUND' | 'TEMPLATE_NOT_FOUND';
|
|
719
749
|
export type RemoveMailTemplateResponse = {
|
|
720
750
|
readonly __typename?: 'RemoveMailTemplateResponse';
|
|
721
751
|
readonly error?: Maybe<RemoveMailTemplateError>;
|
|
722
752
|
readonly errors: ReadonlyArray<RemoveMailTemplateError>;
|
|
723
|
-
readonly ok: Scalars['Boolean'];
|
|
753
|
+
readonly ok: Scalars['Boolean']['output'];
|
|
724
754
|
};
|
|
725
755
|
export type RemoveProjectMemberError = {
|
|
726
756
|
readonly __typename?: 'RemoveProjectMemberError';
|
|
727
757
|
readonly code: RemoveProjectMemberErrorCode;
|
|
728
|
-
readonly developerMessage: Scalars['String'];
|
|
758
|
+
readonly developerMessage: Scalars['String']['output'];
|
|
729
759
|
/** @deprecated Field no longer supported */
|
|
730
|
-
readonly endUserMessage?: Maybe<Scalars['String']>;
|
|
760
|
+
readonly endUserMessage?: Maybe<Scalars['String']['output']>;
|
|
731
761
|
};
|
|
732
762
|
export type RemoveProjectMemberErrorCode = 'NOT_MEMBER' | 'PROJECT_NOT_FOUND';
|
|
733
763
|
export type RemoveProjectMemberResponse = {
|
|
734
764
|
readonly __typename?: 'RemoveProjectMemberResponse';
|
|
735
765
|
readonly error?: Maybe<RemoveProjectMemberError>;
|
|
736
766
|
readonly errors: ReadonlyArray<RemoveProjectMemberError>;
|
|
737
|
-
readonly ok: Scalars['Boolean'];
|
|
767
|
+
readonly ok: Scalars['Boolean']['output'];
|
|
738
768
|
};
|
|
739
769
|
export type ResetPasswordError = {
|
|
740
770
|
readonly __typename?: 'ResetPasswordError';
|
|
741
771
|
readonly code: ResetPasswordErrorCode;
|
|
742
|
-
readonly developerMessage: Scalars['String'];
|
|
772
|
+
readonly developerMessage: Scalars['String']['output'];
|
|
743
773
|
/** @deprecated Field no longer supported */
|
|
744
|
-
readonly endUserMessage?: Maybe<Scalars['String']>;
|
|
774
|
+
readonly endUserMessage?: Maybe<Scalars['String']['output']>;
|
|
745
775
|
};
|
|
746
776
|
export type ResetPasswordErrorCode = 'PASSWORD_TOO_WEAK' | 'TOKEN_EXPIRED' | 'TOKEN_NOT_FOUND' | 'TOKEN_USED';
|
|
747
777
|
export type ResetPasswordResponse = {
|
|
@@ -749,55 +779,55 @@ export type ResetPasswordResponse = {
|
|
|
749
779
|
readonly error?: Maybe<ResetPasswordError>;
|
|
750
780
|
/** @deprecated Field no longer supported */
|
|
751
781
|
readonly errors: ReadonlyArray<ResetPasswordError>;
|
|
752
|
-
readonly ok: Scalars['Boolean'];
|
|
782
|
+
readonly ok: Scalars['Boolean']['output'];
|
|
753
783
|
};
|
|
754
784
|
export type RoleConditionVariableDefinition = RoleVariableDefinition & {
|
|
755
785
|
readonly __typename?: 'RoleConditionVariableDefinition';
|
|
756
|
-
readonly name: Scalars['String'];
|
|
786
|
+
readonly name: Scalars['String']['output'];
|
|
757
787
|
};
|
|
758
788
|
export type RoleDefinition = {
|
|
759
789
|
readonly __typename?: 'RoleDefinition';
|
|
760
|
-
readonly name: Scalars['String'];
|
|
790
|
+
readonly name: Scalars['String']['output'];
|
|
761
791
|
readonly variables: ReadonlyArray<RoleVariableDefinition>;
|
|
762
792
|
};
|
|
763
793
|
export type RoleEntityVariableDefinition = RoleVariableDefinition & {
|
|
764
794
|
readonly __typename?: 'RoleEntityVariableDefinition';
|
|
765
|
-
readonly entityName: Scalars['String'];
|
|
766
|
-
readonly name: Scalars['String'];
|
|
795
|
+
readonly entityName: Scalars['String']['output'];
|
|
796
|
+
readonly name: Scalars['String']['output'];
|
|
767
797
|
};
|
|
768
798
|
export type RolePredefinedVariableDefinition = RoleVariableDefinition & {
|
|
769
799
|
readonly __typename?: 'RolePredefinedVariableDefinition';
|
|
770
|
-
readonly name: Scalars['String'];
|
|
771
|
-
readonly value: Scalars['String'];
|
|
800
|
+
readonly name: Scalars['String']['output'];
|
|
801
|
+
readonly value: Scalars['String']['output'];
|
|
772
802
|
};
|
|
773
803
|
export type RoleVariableDefinition = {
|
|
774
|
-
readonly name: Scalars['String'];
|
|
804
|
+
readonly name: Scalars['String']['output'];
|
|
775
805
|
};
|
|
776
806
|
export type SetProjectSecretError = {
|
|
777
807
|
readonly __typename?: 'SetProjectSecretError';
|
|
778
808
|
readonly code: SetProjectSecretErrorCode;
|
|
779
|
-
readonly developerMessage: Scalars['String'];
|
|
809
|
+
readonly developerMessage: Scalars['String']['output'];
|
|
780
810
|
};
|
|
781
811
|
export type SetProjectSecretErrorCode = 'PROJECT_NOT_FOUND';
|
|
782
812
|
export type SetProjectSecretResponse = {
|
|
783
813
|
readonly __typename?: 'SetProjectSecretResponse';
|
|
784
814
|
readonly error?: Maybe<SetProjectSecretError>;
|
|
785
|
-
readonly ok: Scalars['Boolean'];
|
|
815
|
+
readonly ok: Scalars['Boolean']['output'];
|
|
786
816
|
};
|
|
787
817
|
export type SignInError = {
|
|
788
818
|
readonly __typename?: 'SignInError';
|
|
789
819
|
readonly code: SignInErrorCode;
|
|
790
|
-
readonly developerMessage: Scalars['String'];
|
|
820
|
+
readonly developerMessage: Scalars['String']['output'];
|
|
791
821
|
/** @deprecated Field no longer supported */
|
|
792
|
-
readonly endUserMessage?: Maybe<Scalars['String']>;
|
|
822
|
+
readonly endUserMessage?: Maybe<Scalars['String']['output']>;
|
|
793
823
|
};
|
|
794
824
|
export type SignInErrorCode = 'INVALID_OTP_TOKEN' | 'INVALID_PASSWORD' | 'NO_PASSWORD_SET' | 'OTP_REQUIRED' | 'PERSON_DISABLED' | 'UNKNOWN_EMAIL';
|
|
795
825
|
export type SignInIdpError = {
|
|
796
826
|
readonly __typename?: 'SignInIDPError';
|
|
797
827
|
readonly code: SignInIdpErrorCode;
|
|
798
|
-
readonly developerMessage: Scalars['String'];
|
|
828
|
+
readonly developerMessage: Scalars['String']['output'];
|
|
799
829
|
/** @deprecated Field no longer supported */
|
|
800
|
-
readonly endUserMessage?: Maybe<Scalars['String']>;
|
|
830
|
+
readonly endUserMessage?: Maybe<Scalars['String']['output']>;
|
|
801
831
|
};
|
|
802
832
|
export type SignInIdpErrorCode = 'IDP_VALIDATION_FAILED' | 'INVALID_IDP_RESPONSE' | 'PERSON_ALREADY_EXISTS' | 'PERSON_DISABLED' | 'PERSON_NOT_FOUND';
|
|
803
833
|
export type SignInIdpResponse = {
|
|
@@ -805,33 +835,33 @@ export type SignInIdpResponse = {
|
|
|
805
835
|
readonly error?: Maybe<SignInIdpError>;
|
|
806
836
|
/** @deprecated Field no longer supported */
|
|
807
837
|
readonly errors: ReadonlyArray<SignInIdpError>;
|
|
808
|
-
readonly ok: Scalars['Boolean'];
|
|
838
|
+
readonly ok: Scalars['Boolean']['output'];
|
|
809
839
|
readonly result?: Maybe<SignInIdpResult>;
|
|
810
840
|
};
|
|
811
841
|
export type SignInIdpResult = CommonSignInResult & {
|
|
812
842
|
readonly __typename?: 'SignInIDPResult';
|
|
813
843
|
readonly person: Person;
|
|
814
|
-
readonly token: Scalars['String'];
|
|
844
|
+
readonly token: Scalars['String']['output'];
|
|
815
845
|
};
|
|
816
846
|
export type SignInResponse = {
|
|
817
847
|
readonly __typename?: 'SignInResponse';
|
|
818
848
|
readonly error?: Maybe<SignInError>;
|
|
819
849
|
/** @deprecated Field no longer supported */
|
|
820
850
|
readonly errors: ReadonlyArray<SignInError>;
|
|
821
|
-
readonly ok: Scalars['Boolean'];
|
|
851
|
+
readonly ok: Scalars['Boolean']['output'];
|
|
822
852
|
readonly result?: Maybe<SignInResult>;
|
|
823
853
|
};
|
|
824
854
|
export type SignInResult = CommonSignInResult & {
|
|
825
855
|
readonly __typename?: 'SignInResult';
|
|
826
856
|
readonly person: Person;
|
|
827
|
-
readonly token: Scalars['String'];
|
|
857
|
+
readonly token: Scalars['String']['output'];
|
|
828
858
|
};
|
|
829
859
|
export type SignOutError = {
|
|
830
860
|
readonly __typename?: 'SignOutError';
|
|
831
861
|
readonly code: SignOutErrorCode;
|
|
832
|
-
readonly developerMessage: Scalars['String'];
|
|
862
|
+
readonly developerMessage: Scalars['String']['output'];
|
|
833
863
|
/** @deprecated Field no longer supported */
|
|
834
|
-
readonly endUserMessage?: Maybe<Scalars['String']>;
|
|
864
|
+
readonly endUserMessage?: Maybe<Scalars['String']['output']>;
|
|
835
865
|
};
|
|
836
866
|
export type SignOutErrorCode = 'NOT_A_PERSON' | 'NOT_POSSIBLE_SIGN_OUT_WITH_PERMANENT_API_KEY';
|
|
837
867
|
export type SignOutResponse = {
|
|
@@ -839,14 +869,14 @@ export type SignOutResponse = {
|
|
|
839
869
|
readonly error?: Maybe<SignOutError>;
|
|
840
870
|
/** @deprecated Field no longer supported */
|
|
841
871
|
readonly errors: ReadonlyArray<SignOutError>;
|
|
842
|
-
readonly ok: Scalars['Boolean'];
|
|
872
|
+
readonly ok: Scalars['Boolean']['output'];
|
|
843
873
|
};
|
|
844
874
|
export type SignUpError = {
|
|
845
875
|
readonly __typename?: 'SignUpError';
|
|
846
876
|
readonly code: SignUpErrorCode;
|
|
847
|
-
readonly developerMessage: Scalars['String'];
|
|
877
|
+
readonly developerMessage: Scalars['String']['output'];
|
|
848
878
|
/** @deprecated Field no longer supported */
|
|
849
|
-
readonly endPersonMessage?: Maybe<Scalars['String']>;
|
|
879
|
+
readonly endPersonMessage?: Maybe<Scalars['String']['output']>;
|
|
850
880
|
};
|
|
851
881
|
export type SignUpErrorCode = 'EMAIL_ALREADY_EXISTS' | 'INVALID_EMAIL_FORMAT' | 'TOO_WEAK';
|
|
852
882
|
export type SignUpResponse = {
|
|
@@ -854,7 +884,7 @@ export type SignUpResponse = {
|
|
|
854
884
|
readonly error?: Maybe<SignUpError>;
|
|
855
885
|
/** @deprecated Field no longer supported */
|
|
856
886
|
readonly errors: ReadonlyArray<SignUpError>;
|
|
857
|
-
readonly ok: Scalars['Boolean'];
|
|
887
|
+
readonly ok: Scalars['Boolean']['output'];
|
|
858
888
|
readonly result?: Maybe<SignUpResult>;
|
|
859
889
|
};
|
|
860
890
|
export type SignUpResult = {
|
|
@@ -862,32 +892,32 @@ export type SignUpResult = {
|
|
|
862
892
|
readonly person: Person;
|
|
863
893
|
};
|
|
864
894
|
export type UnmanagedInviteOptions = {
|
|
865
|
-
readonly password?: InputMaybe<Scalars['String']>;
|
|
866
|
-
readonly resetTokenHash?: InputMaybe<Scalars['String']>;
|
|
895
|
+
readonly password?: InputMaybe<Scalars['String']['input']>;
|
|
896
|
+
readonly resetTokenHash?: InputMaybe<Scalars['String']['input']>;
|
|
867
897
|
};
|
|
868
898
|
export type UpdateIdpError = {
|
|
869
899
|
readonly __typename?: 'UpdateIDPError';
|
|
870
900
|
readonly code: UpdateIdpErrorCode;
|
|
871
|
-
readonly developerMessage: Scalars['String'];
|
|
901
|
+
readonly developerMessage: Scalars['String']['output'];
|
|
872
902
|
};
|
|
873
903
|
export type UpdateIdpErrorCode = 'INVALID_CONFIGURATION' | 'NOT_FOUND';
|
|
874
904
|
export type UpdateIdpResponse = {
|
|
875
905
|
readonly __typename?: 'UpdateIDPResponse';
|
|
876
906
|
readonly error?: Maybe<UpdateIdpError>;
|
|
877
|
-
readonly ok: Scalars['Boolean'];
|
|
907
|
+
readonly ok: Scalars['Boolean']['output'];
|
|
878
908
|
};
|
|
879
909
|
export type UpdateProjectError = {
|
|
880
910
|
readonly __typename?: 'UpdateProjectError';
|
|
881
911
|
readonly code: UpdateProjectErrorCode;
|
|
882
|
-
readonly developerMessage: Scalars['String'];
|
|
912
|
+
readonly developerMessage: Scalars['String']['output'];
|
|
883
913
|
};
|
|
884
914
|
export type UpdateProjectErrorCode = 'PROJECT_NOT_FOUND';
|
|
885
915
|
export type UpdateProjectMemberError = {
|
|
886
916
|
readonly __typename?: 'UpdateProjectMemberError';
|
|
887
917
|
readonly code: UpdateProjectMemberErrorCode;
|
|
888
|
-
readonly developerMessage: Scalars['String'];
|
|
918
|
+
readonly developerMessage: Scalars['String']['output'];
|
|
889
919
|
/** @deprecated Field no longer supported */
|
|
890
|
-
readonly endUserMessage?: Maybe<Scalars['String']>;
|
|
920
|
+
readonly endUserMessage?: Maybe<Scalars['String']['output']>;
|
|
891
921
|
readonly membershipValidation?: Maybe<ReadonlyArray<MembershipValidationError>>;
|
|
892
922
|
};
|
|
893
923
|
export type UpdateProjectMemberErrorCode = 'INVALID_MEMBERSHIP' | 'NOT_MEMBER' | 'PROJECT_NOT_FOUND' | 'ROLE_NOT_FOUND' | 'VARIABLE_EMPTY' | 'VARIABLE_NOT_FOUND';
|
|
@@ -896,21 +926,21 @@ export type UpdateProjectMemberResponse = {
|
|
|
896
926
|
readonly error?: Maybe<UpdateProjectMemberError>;
|
|
897
927
|
/** @deprecated Field no longer supported */
|
|
898
928
|
readonly errors: ReadonlyArray<UpdateProjectMemberError>;
|
|
899
|
-
readonly ok: Scalars['Boolean'];
|
|
929
|
+
readonly ok: Scalars['Boolean']['output'];
|
|
900
930
|
};
|
|
901
931
|
export type UpdateProjectResponse = {
|
|
902
932
|
readonly __typename?: 'UpdateProjectResponse';
|
|
903
933
|
readonly error?: Maybe<UpdateProjectError>;
|
|
904
|
-
readonly ok: Scalars['Boolean'];
|
|
934
|
+
readonly ok: Scalars['Boolean']['output'];
|
|
905
935
|
};
|
|
906
936
|
export type VariableEntry = {
|
|
907
937
|
readonly __typename?: 'VariableEntry';
|
|
908
|
-
readonly name: Scalars['String'];
|
|
909
|
-
readonly values: ReadonlyArray<Scalars['String']>;
|
|
938
|
+
readonly name: Scalars['String']['output'];
|
|
939
|
+
readonly values: ReadonlyArray<Scalars['String']['output']>;
|
|
910
940
|
};
|
|
911
941
|
export type VariableEntryInput = {
|
|
912
|
-
readonly name: Scalars['String'];
|
|
913
|
-
readonly values: ReadonlyArray<Scalars['String']>;
|
|
942
|
+
readonly name: Scalars['String']['input'];
|
|
943
|
+
readonly values: ReadonlyArray<Scalars['String']['input']>;
|
|
914
944
|
};
|
|
915
945
|
export type ResolverTypeWrapper<T> = Promise<T> | T;
|
|
916
946
|
export type ResolverWithResolve<TResult, TParent, TContext, TArgs> = {
|
|
@@ -938,6 +968,11 @@ export type TypeResolveFn<TTypes, TParent = {}, TContext = {}> = (parent: TParen
|
|
|
938
968
|
export type IsTypeOfResolverFn<T = {}, TContext = {}> = (obj: T, context: TContext, info: GraphQLResolveInfo) => boolean | Promise<boolean>;
|
|
939
969
|
export type NextResolverFn<T> = () => Promise<T>;
|
|
940
970
|
export type DirectiveResolverFn<TResult = {}, TParent = {}, TContext = {}, TArgs = {}> = (next: NextResolverFn<TResult>, parent: TParent, args: TArgs, context: TContext, info: GraphQLResolveInfo) => TResult | Promise<TResult>;
|
|
971
|
+
/** Mapping of interface types */
|
|
972
|
+
export type ResolversInterfaceTypes<RefType extends Record<string, unknown>> = {
|
|
973
|
+
CommonSignInResult: (CreateSessionTokenResult) | (SignInIdpResult) | (SignInResult);
|
|
974
|
+
RoleVariableDefinition: (RoleConditionVariableDefinition) | (RoleEntityVariableDefinition) | (RolePredefinedVariableDefinition);
|
|
975
|
+
};
|
|
941
976
|
/** Mapping between all available schema types and the resolvers types */
|
|
942
977
|
export type ResolversTypes = {
|
|
943
978
|
AddGlobalIdentityRolesError: ResolverTypeWrapper<AddGlobalIdentityRolesError>;
|
|
@@ -955,7 +990,7 @@ export type ResolversTypes = {
|
|
|
955
990
|
AddProjectMemberResponse: ResolverTypeWrapper<AddProjectMemberResponse>;
|
|
956
991
|
ApiKey: ResolverTypeWrapper<ApiKey>;
|
|
957
992
|
ApiKeyWithToken: ResolverTypeWrapper<ApiKeyWithToken>;
|
|
958
|
-
Boolean: ResolverTypeWrapper<Scalars['Boolean']>;
|
|
993
|
+
Boolean: ResolverTypeWrapper<Scalars['Boolean']['output']>;
|
|
959
994
|
ChangeMyPasswordError: ResolverTypeWrapper<ChangeMyPasswordError>;
|
|
960
995
|
ChangeMyPasswordErrorCode: ChangeMyPasswordErrorCode;
|
|
961
996
|
ChangeMyPasswordResponse: ResolverTypeWrapper<ChangeMyPasswordResponse>;
|
|
@@ -967,7 +1002,7 @@ export type ResolversTypes = {
|
|
|
967
1002
|
ChangePasswordResponse: ResolverTypeWrapper<ChangePasswordResponse>;
|
|
968
1003
|
CheckResetPasswordTokenCode: CheckResetPasswordTokenCode;
|
|
969
1004
|
CheckResetPasswordTokenResult: ResolverTypeWrapper<CheckResetPasswordTokenResult>;
|
|
970
|
-
CommonSignInResult: ResolversTypes['
|
|
1005
|
+
CommonSignInResult: ResolverTypeWrapper<ResolversInterfaceTypes<ResolversTypes>['CommonSignInResult']>;
|
|
971
1006
|
ConfirmOtpError: ResolverTypeWrapper<ConfirmOtpError>;
|
|
972
1007
|
ConfirmOtpErrorCode: ConfirmOtpErrorCode;
|
|
973
1008
|
ConfirmOtpResponse: ResolverTypeWrapper<ConfirmOtpResponse>;
|
|
@@ -988,7 +1023,7 @@ export type ResolversTypes = {
|
|
|
988
1023
|
CreateSessionTokenErrorCode: CreateSessionTokenErrorCode;
|
|
989
1024
|
CreateSessionTokenResponse: ResolverTypeWrapper<CreateSessionTokenResponse>;
|
|
990
1025
|
CreateSessionTokenResult: ResolverTypeWrapper<CreateSessionTokenResult>;
|
|
991
|
-
DateTime: ResolverTypeWrapper<Scalars['DateTime']>;
|
|
1026
|
+
DateTime: ResolverTypeWrapper<Scalars['DateTime']['output']>;
|
|
992
1027
|
DisableApiKeyError: ResolverTypeWrapper<DisableApiKeyError>;
|
|
993
1028
|
DisableApiKeyErrorCode: DisableApiKeyErrorCode;
|
|
994
1029
|
DisableApiKeyResponse: ResolverTypeWrapper<DisableApiKeyResponse>;
|
|
@@ -1015,14 +1050,14 @@ export type ResolversTypes = {
|
|
|
1015
1050
|
InitSignInIDPErrorCode: InitSignInIdpErrorCode;
|
|
1016
1051
|
InitSignInIDPResponse: ResolverTypeWrapper<InitSignInIdpResponse>;
|
|
1017
1052
|
InitSignInIDPResult: ResolverTypeWrapper<InitSignInIdpResult>;
|
|
1018
|
-
Int: ResolverTypeWrapper<Scalars['Int']>;
|
|
1053
|
+
Int: ResolverTypeWrapper<Scalars['Int']['output']>;
|
|
1019
1054
|
InviteError: ResolverTypeWrapper<InviteError>;
|
|
1020
1055
|
InviteErrorCode: InviteErrorCode;
|
|
1021
1056
|
InviteMethod: InviteMethod;
|
|
1022
1057
|
InviteOptions: InviteOptions;
|
|
1023
1058
|
InviteResponse: ResolverTypeWrapper<InviteResponse>;
|
|
1024
1059
|
InviteResult: ResolverTypeWrapper<InviteResult>;
|
|
1025
|
-
Json: ResolverTypeWrapper<Scalars['Json']>;
|
|
1060
|
+
Json: ResolverTypeWrapper<Scalars['Json']['output']>;
|
|
1026
1061
|
MailTemplate: MailTemplate;
|
|
1027
1062
|
MailTemplateIdentifier: MailTemplateIdentifier;
|
|
1028
1063
|
MailType: MailType;
|
|
@@ -1058,7 +1093,7 @@ export type ResolversTypes = {
|
|
|
1058
1093
|
RoleDefinition: ResolverTypeWrapper<RoleDefinition>;
|
|
1059
1094
|
RoleEntityVariableDefinition: ResolverTypeWrapper<RoleEntityVariableDefinition>;
|
|
1060
1095
|
RolePredefinedVariableDefinition: ResolverTypeWrapper<RolePredefinedVariableDefinition>;
|
|
1061
|
-
RoleVariableDefinition: ResolversTypes['
|
|
1096
|
+
RoleVariableDefinition: ResolverTypeWrapper<ResolversInterfaceTypes<ResolversTypes>['RoleVariableDefinition']>;
|
|
1062
1097
|
SetProjectSecretError: ResolverTypeWrapper<SetProjectSecretError>;
|
|
1063
1098
|
SetProjectSecretErrorCode: SetProjectSecretErrorCode;
|
|
1064
1099
|
SetProjectSecretResponse: ResolverTypeWrapper<SetProjectSecretResponse>;
|
|
@@ -1077,7 +1112,7 @@ export type ResolversTypes = {
|
|
|
1077
1112
|
SignUpErrorCode: SignUpErrorCode;
|
|
1078
1113
|
SignUpResponse: ResolverTypeWrapper<SignUpResponse>;
|
|
1079
1114
|
SignUpResult: ResolverTypeWrapper<SignUpResult>;
|
|
1080
|
-
String: ResolverTypeWrapper<Scalars['String']>;
|
|
1115
|
+
String: ResolverTypeWrapper<Scalars['String']['output']>;
|
|
1081
1116
|
UnmanagedInviteOptions: UnmanagedInviteOptions;
|
|
1082
1117
|
UpdateIDPError: ResolverTypeWrapper<UpdateIdpError>;
|
|
1083
1118
|
UpdateIDPErrorCode: UpdateIdpErrorCode;
|
|
@@ -1104,7 +1139,7 @@ export type ResolversParentTypes = {
|
|
|
1104
1139
|
AddProjectMemberResponse: AddProjectMemberResponse;
|
|
1105
1140
|
ApiKey: ApiKey;
|
|
1106
1141
|
ApiKeyWithToken: ApiKeyWithToken;
|
|
1107
|
-
Boolean: Scalars['Boolean'];
|
|
1142
|
+
Boolean: Scalars['Boolean']['output'];
|
|
1108
1143
|
ChangeMyPasswordError: ChangeMyPasswordError;
|
|
1109
1144
|
ChangeMyPasswordResponse: ChangeMyPasswordResponse;
|
|
1110
1145
|
ChangeMyProfileError: ChangeMyProfileError;
|
|
@@ -1112,7 +1147,7 @@ export type ResolversParentTypes = {
|
|
|
1112
1147
|
ChangePasswordError: ChangePasswordError;
|
|
1113
1148
|
ChangePasswordResponse: ChangePasswordResponse;
|
|
1114
1149
|
CheckResetPasswordTokenResult: CheckResetPasswordTokenResult;
|
|
1115
|
-
CommonSignInResult: ResolversParentTypes['
|
|
1150
|
+
CommonSignInResult: ResolversInterfaceTypes<ResolversParentTypes>['CommonSignInResult'];
|
|
1116
1151
|
ConfirmOtpError: ConfirmOtpError;
|
|
1117
1152
|
ConfirmOtpResponse: ConfirmOtpResponse;
|
|
1118
1153
|
CreateApiKeyError: CreateApiKeyError;
|
|
@@ -1128,7 +1163,7 @@ export type ResolversParentTypes = {
|
|
|
1128
1163
|
CreateSessionTokenError: CreateSessionTokenError;
|
|
1129
1164
|
CreateSessionTokenResponse: CreateSessionTokenResponse;
|
|
1130
1165
|
CreateSessionTokenResult: CreateSessionTokenResult;
|
|
1131
|
-
DateTime: Scalars['DateTime'];
|
|
1166
|
+
DateTime: Scalars['DateTime']['output'];
|
|
1132
1167
|
DisableApiKeyError: DisableApiKeyError;
|
|
1133
1168
|
DisableApiKeyResponse: DisableApiKeyResponse;
|
|
1134
1169
|
DisableIDPError: DisableIdpError;
|
|
@@ -1149,12 +1184,12 @@ export type ResolversParentTypes = {
|
|
|
1149
1184
|
InitSignInIDPError: InitSignInIdpError;
|
|
1150
1185
|
InitSignInIDPResponse: InitSignInIdpResponse;
|
|
1151
1186
|
InitSignInIDPResult: InitSignInIdpResult;
|
|
1152
|
-
Int: Scalars['Int'];
|
|
1187
|
+
Int: Scalars['Int']['output'];
|
|
1153
1188
|
InviteError: InviteError;
|
|
1154
1189
|
InviteOptions: InviteOptions;
|
|
1155
1190
|
InviteResponse: InviteResponse;
|
|
1156
1191
|
InviteResult: InviteResult;
|
|
1157
|
-
Json: Scalars['Json'];
|
|
1192
|
+
Json: Scalars['Json']['output'];
|
|
1158
1193
|
MailTemplate: MailTemplate;
|
|
1159
1194
|
MailTemplateIdentifier: MailTemplateIdentifier;
|
|
1160
1195
|
Membership: Membership;
|
|
@@ -1183,7 +1218,7 @@ export type ResolversParentTypes = {
|
|
|
1183
1218
|
RoleDefinition: RoleDefinition;
|
|
1184
1219
|
RoleEntityVariableDefinition: RoleEntityVariableDefinition;
|
|
1185
1220
|
RolePredefinedVariableDefinition: RolePredefinedVariableDefinition;
|
|
1186
|
-
RoleVariableDefinition: ResolversParentTypes['
|
|
1221
|
+
RoleVariableDefinition: ResolversInterfaceTypes<ResolversParentTypes>['RoleVariableDefinition'];
|
|
1187
1222
|
SetProjectSecretError: SetProjectSecretError;
|
|
1188
1223
|
SetProjectSecretResponse: SetProjectSecretResponse;
|
|
1189
1224
|
SignInError: SignInError;
|
|
@@ -1197,7 +1232,7 @@ export type ResolversParentTypes = {
|
|
|
1197
1232
|
SignUpError: SignUpError;
|
|
1198
1233
|
SignUpResponse: SignUpResponse;
|
|
1199
1234
|
SignUpResult: SignUpResult;
|
|
1200
|
-
String: Scalars['String'];
|
|
1235
|
+
String: Scalars['String']['output'];
|
|
1201
1236
|
UnmanagedInviteOptions: UnmanagedInviteOptions;
|
|
1202
1237
|
UpdateIDPError: UpdateIdpError;
|
|
1203
1238
|
UpdateIDPResponse: UpdateIdpResponse;
|
|
@@ -1443,6 +1478,7 @@ export type EnableIdpResponseResolvers<ContextType = any, ParentType extends Res
|
|
|
1443
1478
|
export type IdpOptionsOutputResolvers<ContextType = any, ParentType extends ResolversParentTypes['IDPOptionsOutput'] = ResolversParentTypes['IDPOptionsOutput']> = {
|
|
1444
1479
|
autoSignUp?: Resolver<ResolversTypes['Boolean'], ParentType, ContextType>;
|
|
1445
1480
|
exclusive?: Resolver<ResolversTypes['Boolean'], ParentType, ContextType>;
|
|
1481
|
+
initReturnsConfig?: Resolver<ResolversTypes['Boolean'], ParentType, ContextType>;
|
|
1446
1482
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1447
1483
|
};
|
|
1448
1484
|
export type IdentityResolvers<ContextType = any, ParentType extends ResolversParentTypes['Identity'] = ResolversParentTypes['Identity']> = {
|