@axinom/mosaic-user-auth 0.28.0 → 0.29.0-rc.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/{UserServiceClient → cjs/UserServiceClient}/UserServiceClient.d.ts +5 -5
- package/dist/{UserServiceClient → cjs/UserServiceClient}/UserServiceClient.d.ts.map +1 -1
- package/dist/{UserServiceProvider → cjs/UserServiceProvider}/UserServiceProvider.d.ts +3 -3
- package/dist/cjs/UserServiceProvider/UserServiceProvider.d.ts.map +1 -0
- package/dist/cjs/common/ensure-error.d.ts.map +1 -0
- package/dist/cjs/common/enums.d.ts.map +1 -0
- package/dist/{common → cjs/common}/stringify-gql-query.d.ts +1 -1
- package/dist/cjs/common/stringify-gql-query.d.ts.map +1 -0
- package/dist/{common → cjs/common}/types.d.ts +1 -1
- package/dist/cjs/common/types.d.ts.map +1 -0
- package/dist/cjs/common/user-auth-error.d.ts.map +1 -0
- package/dist/{generated → cjs/generated}/ax-auth-management-graphql.types.d.ts +1 -1
- package/dist/cjs/generated/ax-auth-management-graphql.types.d.ts.map +1 -0
- package/dist/{generated → cjs/generated}/user-service-end-user-graphql.types.d.ts +1 -1
- package/dist/cjs/generated/user-service-end-user-graphql.types.d.ts.map +1 -0
- package/dist/{generated → cjs/generated}/user-service-management-graphql.types.d.ts +1 -1
- package/dist/cjs/generated/user-service-management-graphql.types.d.ts.map +1 -0
- package/dist/cjs/index.d.ts +5 -0
- package/dist/cjs/index.d.ts.map +1 -0
- package/dist/{index.js → cjs/index.js} +553 -626
- package/dist/cjs/index.js.map +1 -0
- package/dist/cjs/package.json +1 -0
- package/dist/{util → cjs/util}/endUserApplication.d.ts +2 -2
- package/dist/cjs/util/endUserApplication.d.ts.map +1 -0
- package/dist/{util → cjs/util}/userAuth.d.ts +3 -3
- package/dist/cjs/util/userAuth.d.ts.map +1 -0
- package/dist/{util → cjs/util}/userProfile.d.ts +1 -1
- package/dist/cjs/util/userProfile.d.ts.map +1 -0
- package/dist/esm/UserServiceClient/UserServiceClient.d.ts +207 -0
- package/dist/esm/UserServiceClient/UserServiceClient.d.ts.map +1 -0
- package/dist/esm/UserServiceProvider/UserServiceProvider.d.ts +28 -0
- package/dist/esm/UserServiceProvider/UserServiceProvider.d.ts.map +1 -0
- package/dist/esm/common/ensure-error.d.ts +16 -0
- package/dist/esm/common/ensure-error.d.ts.map +1 -0
- package/dist/esm/common/enums.d.ts +12 -0
- package/dist/esm/common/enums.d.ts.map +1 -0
- package/dist/esm/common/stringify-gql-query.d.ts +11 -0
- package/dist/esm/common/stringify-gql-query.d.ts.map +1 -0
- package/dist/esm/common/types.d.ts +146 -0
- package/dist/esm/common/types.d.ts.map +1 -0
- package/dist/esm/common/user-auth-error.d.ts +9 -0
- package/dist/esm/common/user-auth-error.d.ts.map +1 -0
- package/dist/esm/generated/ax-auth-management-graphql.types.d.ts +1400 -0
- package/dist/esm/generated/ax-auth-management-graphql.types.d.ts.map +1 -0
- package/dist/esm/generated/user-service-end-user-graphql.types.d.ts +854 -0
- package/dist/esm/generated/user-service-end-user-graphql.types.d.ts.map +1 -0
- package/dist/esm/generated/user-service-management-graphql.types.d.ts +2915 -0
- package/dist/esm/generated/user-service-management-graphql.types.d.ts.map +1 -0
- package/dist/esm/index.d.ts +5 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/{index.es.js → esm/index.js} +554 -627
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/package.json +1 -0
- package/dist/esm/util/endUserApplication.d.ts +11 -0
- package/dist/esm/util/endUserApplication.d.ts.map +1 -0
- package/dist/esm/util/userAuth.d.ts +111 -0
- package/dist/esm/util/userAuth.d.ts.map +1 -0
- package/dist/esm/util/userProfile.d.ts +13 -0
- package/dist/esm/util/userProfile.d.ts.map +1 -0
- package/package.json +20 -8
- package/src/UserServiceClient/UserServiceClient.ts +26 -26
- package/src/UserServiceProvider/UserServiceProvider.tsx +4 -4
- package/src/common/stringify-gql-query.ts +1 -1
- package/src/common/types.ts +1 -1
- package/src/generated/ax-auth-management-graphql.types.ts +1 -1
- package/src/generated/user-service-end-user-graphql.types.ts +1 -1
- package/src/generated/user-service-management-graphql.types.ts +1 -1
- package/src/index.ts +4 -4
- package/src/util/endUserApplication.spec.ts +7 -7
- package/src/util/endUserApplication.ts +5 -5
- package/src/util/userAuth.spec.ts +27 -27
- package/src/util/userAuth.ts +35 -31
- package/src/util/userProfile.spec.ts +2 -2
- package/src/util/userProfile.ts +9 -9
- package/dist/UserServiceProvider/UserServiceProvider.d.ts.map +0 -1
- package/dist/common/ensure-error.d.ts.map +0 -1
- package/dist/common/enums.d.ts.map +0 -1
- package/dist/common/stringify-gql-query.d.ts.map +0 -1
- package/dist/common/types.d.ts.map +0 -1
- package/dist/common/user-auth-error.d.ts.map +0 -1
- package/dist/generated/ax-auth-management-graphql.types.d.ts.map +0 -1
- package/dist/generated/user-service-end-user-graphql.types.d.ts.map +0 -1
- package/dist/generated/user-service-management-graphql.types.d.ts.map +0 -1
- package/dist/index.d.ts +0 -5
- package/dist/index.d.ts.map +0 -1
- package/dist/index.es.js.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/util/endUserApplication.d.ts.map +0 -1
- package/dist/util/endUserApplication.spec.d.ts +0 -2
- package/dist/util/endUserApplication.spec.d.ts.map +0 -1
- package/dist/util/userAuth.d.ts.map +0 -1
- package/dist/util/userAuth.spec.d.ts +0 -2
- package/dist/util/userAuth.spec.d.ts.map +0 -1
- package/dist/util/userProfile.d.ts.map +0 -1
- package/dist/util/userProfile.spec.d.ts +0 -2
- package/dist/util/userProfile.spec.d.ts.map +0 -1
- /package/dist/{common → cjs/common}/ensure-error.d.ts +0 -0
- /package/dist/{common → cjs/common}/enums.d.ts +0 -0
- /package/dist/{common → cjs/common}/user-auth-error.d.ts +0 -0
|
@@ -0,0 +1,854 @@
|
|
|
1
|
+
import type { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';
|
|
2
|
+
export type Maybe<T> = T | null;
|
|
3
|
+
export type Exact<T extends {
|
|
4
|
+
[key: string]: unknown;
|
|
5
|
+
}> = {
|
|
6
|
+
[K in keyof T]: T[K];
|
|
7
|
+
};
|
|
8
|
+
export type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
|
|
9
|
+
[SubKey in K]?: Maybe<T[SubKey]>;
|
|
10
|
+
};
|
|
11
|
+
export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {
|
|
12
|
+
[SubKey in K]: Maybe<T[SubKey]>;
|
|
13
|
+
};
|
|
14
|
+
/** All built-in and custom scalars, mapped to their actual values */
|
|
15
|
+
export type Scalars = {
|
|
16
|
+
ID: string;
|
|
17
|
+
String: string;
|
|
18
|
+
Boolean: boolean;
|
|
19
|
+
Int: number;
|
|
20
|
+
Float: number;
|
|
21
|
+
Cursor: any;
|
|
22
|
+
Datetime: any;
|
|
23
|
+
UUID: any;
|
|
24
|
+
};
|
|
25
|
+
/** A filter to be used against Boolean fields. All fields are combined with a logical ‘and.’ */
|
|
26
|
+
export type BooleanFilter = {
|
|
27
|
+
/** Not equal to the specified value, treating null like an ordinary value. */
|
|
28
|
+
distinctFrom?: Maybe<Scalars['Boolean']>;
|
|
29
|
+
/** Equal to the specified value. */
|
|
30
|
+
equalTo?: Maybe<Scalars['Boolean']>;
|
|
31
|
+
/** Greater than the specified value. */
|
|
32
|
+
greaterThan?: Maybe<Scalars['Boolean']>;
|
|
33
|
+
/** Greater than or equal to the specified value. */
|
|
34
|
+
greaterThanOrEqualTo?: Maybe<Scalars['Boolean']>;
|
|
35
|
+
/** Included in the specified list. */
|
|
36
|
+
in?: Maybe<Array<Scalars['Boolean']>>;
|
|
37
|
+
/** Is null (if `true` is specified) or is not null (if `false` is specified). */
|
|
38
|
+
isNull?: Maybe<Scalars['Boolean']>;
|
|
39
|
+
/** Less than the specified value. */
|
|
40
|
+
lessThan?: Maybe<Scalars['Boolean']>;
|
|
41
|
+
/** Less than or equal to the specified value. */
|
|
42
|
+
lessThanOrEqualTo?: Maybe<Scalars['Boolean']>;
|
|
43
|
+
/** Equal to the specified value, treating null like an ordinary value. */
|
|
44
|
+
notDistinctFrom?: Maybe<Scalars['Boolean']>;
|
|
45
|
+
/** Not equal to the specified value. */
|
|
46
|
+
notEqualTo?: Maybe<Scalars['Boolean']>;
|
|
47
|
+
/** Not included in the specified list. */
|
|
48
|
+
notIn?: Maybe<Array<Scalars['Boolean']>>;
|
|
49
|
+
};
|
|
50
|
+
/** All input for the create `UserProfile` mutation. */
|
|
51
|
+
export type CreateUserProfileInput = {
|
|
52
|
+
/**
|
|
53
|
+
* An arbitrary string value with no semantic meaning. Will be included in the
|
|
54
|
+
* payload verbatim. May be used to track mutations by the client.
|
|
55
|
+
*/
|
|
56
|
+
clientMutationId?: Maybe<Scalars['String']>;
|
|
57
|
+
/** The `UserProfile` to be created by this mutation. */
|
|
58
|
+
userProfile: UserProfileInput;
|
|
59
|
+
};
|
|
60
|
+
/** The output of our create `UserProfile` mutation. */
|
|
61
|
+
export type CreateUserProfilePayload = {
|
|
62
|
+
__typename?: 'CreateUserProfilePayload';
|
|
63
|
+
/**
|
|
64
|
+
* The exact same `clientMutationId` that was provided in the mutation input,
|
|
65
|
+
* unchanged and unused. May be used by a client to track mutations.
|
|
66
|
+
*/
|
|
67
|
+
clientMutationId?: Maybe<Scalars['String']>;
|
|
68
|
+
/** Our root query field type. Allows us to run any query from our mutation payload. */
|
|
69
|
+
query?: Maybe<Query>;
|
|
70
|
+
/** The `UserProfile` that was created by this mutation. */
|
|
71
|
+
userProfile?: Maybe<UserProfile>;
|
|
72
|
+
/** An edge for our `UserProfile`. May be used by Relay 1. */
|
|
73
|
+
userProfileEdge?: Maybe<UserProfilesEdge>;
|
|
74
|
+
};
|
|
75
|
+
/** The output of our create `UserProfile` mutation. */
|
|
76
|
+
export type CreateUserProfilePayloadUserProfileEdgeArgs = {
|
|
77
|
+
orderBy?: Maybe<Array<UserProfilesOrderBy>>;
|
|
78
|
+
};
|
|
79
|
+
/** A filter to be used against Datetime fields. All fields are combined with a logical ‘and.’ */
|
|
80
|
+
export type DatetimeFilter = {
|
|
81
|
+
/** Not equal to the specified value, treating null like an ordinary value. */
|
|
82
|
+
distinctFrom?: Maybe<Scalars['Datetime']>;
|
|
83
|
+
/** Equal to the specified value. */
|
|
84
|
+
equalTo?: Maybe<Scalars['Datetime']>;
|
|
85
|
+
/** Greater than the specified value. */
|
|
86
|
+
greaterThan?: Maybe<Scalars['Datetime']>;
|
|
87
|
+
/** Greater than or equal to the specified value. */
|
|
88
|
+
greaterThanOrEqualTo?: Maybe<Scalars['Datetime']>;
|
|
89
|
+
/** Included in the specified list. */
|
|
90
|
+
in?: Maybe<Array<Scalars['Datetime']>>;
|
|
91
|
+
/** Is null (if `true` is specified) or is not null (if `false` is specified). */
|
|
92
|
+
isNull?: Maybe<Scalars['Boolean']>;
|
|
93
|
+
/** Less than the specified value. */
|
|
94
|
+
lessThan?: Maybe<Scalars['Datetime']>;
|
|
95
|
+
/** Less than or equal to the specified value. */
|
|
96
|
+
lessThanOrEqualTo?: Maybe<Scalars['Datetime']>;
|
|
97
|
+
/** Equal to the specified value, treating null like an ordinary value. */
|
|
98
|
+
notDistinctFrom?: Maybe<Scalars['Datetime']>;
|
|
99
|
+
/** Not equal to the specified value. */
|
|
100
|
+
notEqualTo?: Maybe<Scalars['Datetime']>;
|
|
101
|
+
/** Not included in the specified list. */
|
|
102
|
+
notIn?: Maybe<Array<Scalars['Datetime']>>;
|
|
103
|
+
};
|
|
104
|
+
/** All input for the `deleteUserProfile` mutation. */
|
|
105
|
+
export type DeleteUserProfileInput = {
|
|
106
|
+
/**
|
|
107
|
+
* An arbitrary string value with no semantic meaning. Will be included in the
|
|
108
|
+
* payload verbatim. May be used to track mutations by the client.
|
|
109
|
+
*/
|
|
110
|
+
clientMutationId?: Maybe<Scalars['String']>;
|
|
111
|
+
id: Scalars['UUID'];
|
|
112
|
+
};
|
|
113
|
+
/** The output of our delete `UserProfile` mutation. */
|
|
114
|
+
export type DeleteUserProfilePayload = {
|
|
115
|
+
__typename?: 'DeleteUserProfilePayload';
|
|
116
|
+
/**
|
|
117
|
+
* The exact same `clientMutationId` that was provided in the mutation input,
|
|
118
|
+
* unchanged and unused. May be used by a client to track mutations.
|
|
119
|
+
*/
|
|
120
|
+
clientMutationId?: Maybe<Scalars['String']>;
|
|
121
|
+
/** Our root query field type. Allows us to run any query from our mutation payload. */
|
|
122
|
+
query?: Maybe<Query>;
|
|
123
|
+
/** The `UserProfile` that was deleted by this mutation. */
|
|
124
|
+
userProfile?: Maybe<UserProfile>;
|
|
125
|
+
/** An edge for our `UserProfile`. May be used by Relay 1. */
|
|
126
|
+
userProfileEdge?: Maybe<UserProfilesEdge>;
|
|
127
|
+
};
|
|
128
|
+
/** The output of our delete `UserProfile` mutation. */
|
|
129
|
+
export type DeleteUserProfilePayloadUserProfileEdgeArgs = {
|
|
130
|
+
orderBy?: Maybe<Array<UserProfilesOrderBy>>;
|
|
131
|
+
};
|
|
132
|
+
/** Exposes all error codes and messages for errors that a service requests can throw. In some cases, messages that are actually thrown can be different, since they can include more details or a single code can used for different errors of the same type. */
|
|
133
|
+
export declare enum ErrorCodesEnum {
|
|
134
|
+
/** Access Token has expired. */
|
|
135
|
+
ACCESS_TOKEN_EXPIRED = "ACCESS_TOKEN_EXPIRED",
|
|
136
|
+
/** Error while generating the Access Token. */
|
|
137
|
+
ACCESS_TOKEN_GENERATION_ERROR = "ACCESS_TOKEN_GENERATION_ERROR",
|
|
138
|
+
/** Access Token is invalid */
|
|
139
|
+
ACCESS_TOKEN_INVALID = "ACCESS_TOKEN_INVALID",
|
|
140
|
+
/** Access Token is not provided */
|
|
141
|
+
ACCESS_TOKEN_REQUIRED = "ACCESS_TOKEN_REQUIRED",
|
|
142
|
+
/** Access token verification failed */
|
|
143
|
+
ACCESS_TOKEN_VERIFICATION_FAILED = "ACCESS_TOKEN_VERIFICATION_FAILED",
|
|
144
|
+
/** Application "%s" does not exist. */
|
|
145
|
+
APPLICATION_DOES_NOT_EXIST = "APPLICATION_DOES_NOT_EXIST",
|
|
146
|
+
/** No active signing key found for application "%s". */
|
|
147
|
+
APPLICATION_SIGNING_KEY_NOT_FOUND = "APPLICATION_SIGNING_KEY_NOT_FOUND",
|
|
148
|
+
/** The assertion check for the identifier %s failed. */
|
|
149
|
+
ASSERTION_FAILED = "ASSERTION_FAILED",
|
|
150
|
+
/** Auth config is invalid. */
|
|
151
|
+
AUTH_CONFIG_INVALID = "AUTH_CONFIG_INVALID",
|
|
152
|
+
/** Authenticated End User not found. */
|
|
153
|
+
AUTHENTICATED_END_USER_NOT_FOUND = "AUTHENTICATED_END_USER_NOT_FOUND",
|
|
154
|
+
/** Authenticated Management Subject not found. */
|
|
155
|
+
AUTHENTICATED_MANAGEMENT_SUBJECT_NOT_FOUND = "AUTHENTICATED_MANAGEMENT_SUBJECT_NOT_FOUND",
|
|
156
|
+
/** A Permission Definition or an EndUserAuthorizationConfig was not found to be passed into Postgraphile build options. This is a development time issue. */
|
|
157
|
+
AUTHORIZATION_OPTIONS_MISCONFIGURED = "AUTHORIZATION_OPTIONS_MISCONFIGURED",
|
|
158
|
+
/** Bad request */
|
|
159
|
+
BAD_REQUEST = "BAD_REQUEST",
|
|
160
|
+
/** User must be signed in to query the Active Profile. */
|
|
161
|
+
CANNOT_QUERY_PROFILE = "CANNOT_QUERY_PROFILE",
|
|
162
|
+
/** Cannot set an Active Profile without signing in. */
|
|
163
|
+
CANNOT_SET_ACTIVE_PROFILE = "CANNOT_SET_ACTIVE_PROFILE",
|
|
164
|
+
/** Could not find the Client ID connected to the user. */
|
|
165
|
+
CLIENT_ID_NOT_FOUND = "CLIENT_ID_NOT_FOUND",
|
|
166
|
+
/** A database operation has failed because of a lock timeout. */
|
|
167
|
+
DATABASE_LOCK_TIMEOUT_ERROR = "DATABASE_LOCK_TIMEOUT_ERROR",
|
|
168
|
+
/** An authorization database error has occurred. The user might not have enough permissions. */
|
|
169
|
+
DATABASE_PERMISSIONS_CHECK_FAILED = "DATABASE_PERMISSIONS_CHECK_FAILED",
|
|
170
|
+
/** An expected and handled database constraint error has occurred. The actual message will have more information. */
|
|
171
|
+
DATABASE_VALIDATION_FAILED = "DATABASE_VALIDATION_FAILED",
|
|
172
|
+
/** Error while generating End-User Application Access Token. */
|
|
173
|
+
END_USER_ACCESS_TOKEN_GENERATION_ERROR = "END_USER_ACCESS_TOKEN_GENERATION_ERROR",
|
|
174
|
+
/** This is a wrapper error for the original unhandled error of unsupported type. */
|
|
175
|
+
ERROR_WRAPPER = "ERROR_WRAPPER",
|
|
176
|
+
/** A GraphQL validation error has occurred. Please make sure that the GraphQL request is made with correct syntax or parameters. */
|
|
177
|
+
GRAPHQL_VALIDATION_FAILED = "GRAPHQL_VALIDATION_FAILED",
|
|
178
|
+
/** The Hosting service is not accessible. Please contact Axinom support. */
|
|
179
|
+
HOSTING_SERVICE_NOT_ACCESSIBLE = "HOSTING_SERVICE_NOT_ACCESSIBLE",
|
|
180
|
+
/** The Identity service is not accessible. Please contact Axinom support. */
|
|
181
|
+
IDENTITY_SERVICE_NOT_ACCESSIBLE = "IDENTITY_SERVICE_NOT_ACCESSIBLE",
|
|
182
|
+
/** An unhandled and unexpected error has occurred. Please contact the service support. */
|
|
183
|
+
INTERNAL_SERVER_ERROR = "INTERNAL_SERVER_ERROR",
|
|
184
|
+
/** Error accessing database. */
|
|
185
|
+
INTERNAL_SERVER_OR_DB_ACCESS_ERROR = "INTERNAL_SERVER_OR_DB_ACCESS_ERROR",
|
|
186
|
+
/** Invalid constructor arguments for "%s". */
|
|
187
|
+
INVALID_CONSTRUCTOR_ARGS = "INVALID_CONSTRUCTOR_ARGS",
|
|
188
|
+
/** Error occurred while trying to fetch signing keys from the JWKS endpoint for the Tenant/Environment/Application. */
|
|
189
|
+
JWKS_ERROR = "JWKS_ERROR",
|
|
190
|
+
/** Passed JWT is not a Mosaic End-User Token. Cannot be verified. */
|
|
191
|
+
JWT_IS_NOT_MOSAIC_TOKEN = "JWT_IS_NOT_MOSAIC_TOKEN",
|
|
192
|
+
/** Malformed access token received */
|
|
193
|
+
MALFORMED_TOKEN = "MALFORMED_TOKEN",
|
|
194
|
+
/** Could not find a matching signing key using JWKS. */
|
|
195
|
+
MATCHING_SIGNING_KEY_NOT_FOUND = "MATCHING_SIGNING_KEY_NOT_FOUND",
|
|
196
|
+
/** The token is not an Authenticated End-User */
|
|
197
|
+
NOT_AUTHENTICATED_END_USER = "NOT_AUTHENTICATED_END_USER",
|
|
198
|
+
/** The object is not a AuthenticatedManagementSubject */
|
|
199
|
+
NOT_AUTHENTICATED_MANAGEMENT_SUBJECT = "NOT_AUTHENTICATED_MANAGEMENT_SUBJECT",
|
|
200
|
+
/** The object is not a AuthenticatedRequest */
|
|
201
|
+
NOT_AUTHENTICATED_REQUEST = "NOT_AUTHENTICATED_REQUEST",
|
|
202
|
+
/** The token is not an End-User Application */
|
|
203
|
+
NOT_END_USER_APPLICATION = "NOT_END_USER_APPLICATION",
|
|
204
|
+
/** The object is not an EndUserAuthenticationContext */
|
|
205
|
+
NOT_END_USER_AUTHENTICATION_CONTEXT = "NOT_END_USER_AUTHENTICATION_CONTEXT",
|
|
206
|
+
/** The object is not a GenericAuthenticatedSubject */
|
|
207
|
+
NOT_GENERIC_AUTHENTICATED_SUBJECT = "NOT_GENERIC_AUTHENTICATED_SUBJECT",
|
|
208
|
+
/** The object is not a ManagementAuthenticationContext */
|
|
209
|
+
NOT_MANAGEMENT_AUTHENTICATION_CONTEXT = "NOT_MANAGEMENT_AUTHENTICATION_CONTEXT",
|
|
210
|
+
/** The %s is missing required properties: %s. */
|
|
211
|
+
OBJECT_IS_MISSING_PROPERTIES = "OBJECT_IS_MISSING_PROPERTIES",
|
|
212
|
+
/** Service Configuration does not exist for the environment. */
|
|
213
|
+
SERVICE_CONFIG_ERROR = "SERVICE_CONFIG_ERROR",
|
|
214
|
+
/** Session ID not found. Cannot set an Active Profile. */
|
|
215
|
+
SESSION_ID_NOT_FOUND = "SESSION_ID_NOT_FOUND",
|
|
216
|
+
/** Could not find a matching signing key to verify the access token. The signing key used to create the token may have been revoked or the Tenant/Environment/Application configuration is erroneous. */
|
|
217
|
+
SIGNING_KEY_NOT_FOUND = "SIGNING_KEY_NOT_FOUND",
|
|
218
|
+
/** An application startup error has occurred. The actual message will have more information. */
|
|
219
|
+
STARTUP_ERROR = "STARTUP_ERROR",
|
|
220
|
+
/** User is authenticated, but subject information was not found. Please contact Axinom Support. */
|
|
221
|
+
SUBJECT_INFORMATION_NOT_FOUND = "SUBJECT_INFORMATION_NOT_FOUND",
|
|
222
|
+
/** User is authenticated, but subject information was not found. Please contact Axinom Support. */
|
|
223
|
+
SUBJECT_NOT_FOUND = "SUBJECT_NOT_FOUND",
|
|
224
|
+
/** Token validity duration cannot exceed %s. */
|
|
225
|
+
TOKEN_VALIDITY_DURATION_EXCEEDED = "TOKEN_VALIDITY_DURATION_EXCEEDED",
|
|
226
|
+
/** Unable to get the %s secret. Please contact Axinom Support. */
|
|
227
|
+
UNABLE_TO_GET_SECRET = "UNABLE_TO_GET_SECRET",
|
|
228
|
+
/** Unable to set the %s secret. Please contact Axinom Support. */
|
|
229
|
+
UNABLE_TO_SET_SECRET = "UNABLE_TO_SET_SECRET",
|
|
230
|
+
/** The subject has no permissions. */
|
|
231
|
+
UNAUTHORIZED = "UNAUTHORIZED",
|
|
232
|
+
/** Unexpected null or undefined value received. */
|
|
233
|
+
UNEXPECTED_NULL_UNDEFINED = "UNEXPECTED_NULL_UNDEFINED",
|
|
234
|
+
/** An unhandled error occurred while making requests through Axios. */
|
|
235
|
+
UNHANDLED_AXIOS_ERROR = "UNHANDLED_AXIOS_ERROR",
|
|
236
|
+
/** An unhandled database-related error has occurred. Please contact the service support. */
|
|
237
|
+
UNHANDLED_DATABASE_ERROR = "UNHANDLED_DATABASE_ERROR",
|
|
238
|
+
/** An unhandled error has occurred. Please contact the service support. */
|
|
239
|
+
UNHANDLED_ERROR = "UNHANDLED_ERROR",
|
|
240
|
+
/** Attempt to create or update an element failed, as it would have resulted in a duplicate element. */
|
|
241
|
+
UNIQUE_CONSTRAINT_ERROR = "UNIQUE_CONSTRAINT_ERROR",
|
|
242
|
+
/** An error occurred while generating long lived token. %s. */
|
|
243
|
+
UNKNOWN_ERROR_GENERATING_LONG_LIVED_TOKEN = "UNKNOWN_ERROR_GENERATING_LONG_LIVED_TOKEN",
|
|
244
|
+
/** Unsupported token type received to generateEndUserLongLivedToken. %s */
|
|
245
|
+
UNSUPPORTED_TOKEN_RECEIVED = "UNSUPPORTED_TOKEN_RECEIVED",
|
|
246
|
+
/** Cannot delete the user account without signing in. */
|
|
247
|
+
USER_ACCOUNT_DELETE_NOT_ALLOWED = "USER_ACCOUNT_DELETE_NOT_ALLOWED",
|
|
248
|
+
/** No payload was found in User Info Retrieval webhook response. */
|
|
249
|
+
USER_INFO_WEBHOOK_RESPONSE_PAYLOAD_NOT_FOUND = "USER_INFO_WEBHOOK_RESPONSE_PAYLOAD_NOT_FOUND",
|
|
250
|
+
/** User is not authorized to access the operation. */
|
|
251
|
+
USER_NOT_AUTHORIZED = "USER_NOT_AUTHORIZED",
|
|
252
|
+
/** The User service is not accessible. Please contact Axinom support. */
|
|
253
|
+
USER_SERVICE_NOT_ACCESSIBLE = "USER_SERVICE_NOT_ACCESSIBLE",
|
|
254
|
+
/** Could not decode the user token when trying to create a long-lived end-user token. */
|
|
255
|
+
USER_TOKEN_DECODE_FAILED = "USER_TOKEN_DECODE_FAILED",
|
|
256
|
+
/** User token is expired. */
|
|
257
|
+
USER_TOKEN_EXPIRED = "USER_TOKEN_EXPIRED",
|
|
258
|
+
/** The %s is not an object. */
|
|
259
|
+
VALUE_IS_NOT_OBJECT = "VALUE_IS_NOT_OBJECT",
|
|
260
|
+
/** Unable to make a request to the webhook URL "%s". Please make sure that the endpoint is reachable. */
|
|
261
|
+
WEBHOOK_ENDPOINT_NOT_REACHABLE = "WEBHOOK_ENDPOINT_NOT_REACHABLE",
|
|
262
|
+
/** A webhook request has failed. A more concrete error message will be returned with this code. */
|
|
263
|
+
WEBHOOK_REQUEST_FAILURE = "WEBHOOK_REQUEST_FAILURE",
|
|
264
|
+
/** The webhook for the URL "%s" responded with error(s). Please check the details for more information. */
|
|
265
|
+
WEBHOOK_RESPONDED_WITH_ERRORS = "WEBHOOK_RESPONDED_WITH_ERRORS",
|
|
266
|
+
/** The request to get the %s secret succeeded, but the secret was not found. Please contact Axinom Support. */
|
|
267
|
+
WEBHOOK_SECRET_NOT_FOUND = "WEBHOOK_SECRET_NOT_FOUND",
|
|
268
|
+
/** The %s secret is not set. Please call an appropriate mutation to generate it. */
|
|
269
|
+
WEBHOOK_SECRET_NOT_SET = "WEBHOOK_SECRET_NOT_SET",
|
|
270
|
+
/** Websocket not found in ExtendedGraphQLContext. This is a development time issue. A reference to the websocket must be included in Postgraphile build options. */
|
|
271
|
+
WEBSOCKET_NOT_FOUND = "WEBSOCKET_NOT_FOUND"
|
|
272
|
+
}
|
|
273
|
+
/** A filter to be used against Int fields. All fields are combined with a logical ‘and.’ */
|
|
274
|
+
export type IntFilter = {
|
|
275
|
+
/** Not equal to the specified value, treating null like an ordinary value. */
|
|
276
|
+
distinctFrom?: Maybe<Scalars['Int']>;
|
|
277
|
+
/** Equal to the specified value. */
|
|
278
|
+
equalTo?: Maybe<Scalars['Int']>;
|
|
279
|
+
/** Greater than the specified value. */
|
|
280
|
+
greaterThan?: Maybe<Scalars['Int']>;
|
|
281
|
+
/** Greater than or equal to the specified value. */
|
|
282
|
+
greaterThanOrEqualTo?: Maybe<Scalars['Int']>;
|
|
283
|
+
/** Included in the specified list. */
|
|
284
|
+
in?: Maybe<Array<Scalars['Int']>>;
|
|
285
|
+
/** Is null (if `true` is specified) or is not null (if `false` is specified). */
|
|
286
|
+
isNull?: Maybe<Scalars['Boolean']>;
|
|
287
|
+
/** Less than the specified value. */
|
|
288
|
+
lessThan?: Maybe<Scalars['Int']>;
|
|
289
|
+
/** Less than or equal to the specified value. */
|
|
290
|
+
lessThanOrEqualTo?: Maybe<Scalars['Int']>;
|
|
291
|
+
/** Equal to the specified value, treating null like an ordinary value. */
|
|
292
|
+
notDistinctFrom?: Maybe<Scalars['Int']>;
|
|
293
|
+
/** Not equal to the specified value. */
|
|
294
|
+
notEqualTo?: Maybe<Scalars['Int']>;
|
|
295
|
+
/** Not included in the specified list. */
|
|
296
|
+
notIn?: Maybe<Array<Scalars['Int']>>;
|
|
297
|
+
};
|
|
298
|
+
/** The root mutation type which contains root level fields which mutate data. */
|
|
299
|
+
export type Mutation = {
|
|
300
|
+
__typename?: 'Mutation';
|
|
301
|
+
/** Creates a single `UserProfile`. */
|
|
302
|
+
createUserProfile?: Maybe<CreateUserProfilePayload>;
|
|
303
|
+
/** Deletes a single `UserProfile` using a unique key. */
|
|
304
|
+
deleteUserProfile?: Maybe<DeleteUserProfilePayload>;
|
|
305
|
+
/** Adds a custom mutation to set the Active Profile for a signed in User. */
|
|
306
|
+
setActiveProfile?: Maybe<UserProfile>;
|
|
307
|
+
/** Updates a single `UserProfile` using a unique key and a patch. */
|
|
308
|
+
updateUserProfile?: Maybe<UpdateUserProfilePayload>;
|
|
309
|
+
};
|
|
310
|
+
/** The root mutation type which contains root level fields which mutate data. */
|
|
311
|
+
export type MutationCreateUserProfileArgs = {
|
|
312
|
+
input: CreateUserProfileInput;
|
|
313
|
+
};
|
|
314
|
+
/** The root mutation type which contains root level fields which mutate data. */
|
|
315
|
+
export type MutationDeleteUserProfileArgs = {
|
|
316
|
+
input: DeleteUserProfileInput;
|
|
317
|
+
};
|
|
318
|
+
/** The root mutation type which contains root level fields which mutate data. */
|
|
319
|
+
export type MutationSetActiveProfileArgs = {
|
|
320
|
+
profileId: Scalars['UUID'];
|
|
321
|
+
};
|
|
322
|
+
/** The root mutation type which contains root level fields which mutate data. */
|
|
323
|
+
export type MutationUpdateUserProfileArgs = {
|
|
324
|
+
input: UpdateUserProfileInput;
|
|
325
|
+
};
|
|
326
|
+
/** Information about pagination in a connection. */
|
|
327
|
+
export type PageInfo = {
|
|
328
|
+
__typename?: 'PageInfo';
|
|
329
|
+
/** When paginating forwards, the cursor to continue. */
|
|
330
|
+
endCursor?: Maybe<Scalars['Cursor']>;
|
|
331
|
+
/** When paginating forwards, are there more items? */
|
|
332
|
+
hasNextPage: Scalars['Boolean'];
|
|
333
|
+
/** When paginating backwards, are there more items? */
|
|
334
|
+
hasPreviousPage: Scalars['Boolean'];
|
|
335
|
+
/** When paginating backwards, the cursor to continue. */
|
|
336
|
+
startCursor?: Maybe<Scalars['Cursor']>;
|
|
337
|
+
};
|
|
338
|
+
/** The root query type which gives access points into the data universe. */
|
|
339
|
+
export type Query = {
|
|
340
|
+
__typename?: 'Query';
|
|
341
|
+
/**
|
|
342
|
+
* Exposes the root query type nested one level down. This is helpful for Relay 1
|
|
343
|
+
* which can only query top level fields if they are in a particular form.
|
|
344
|
+
*/
|
|
345
|
+
query: Query;
|
|
346
|
+
user?: Maybe<User>;
|
|
347
|
+
userProfile?: Maybe<UserProfile>;
|
|
348
|
+
/** Reads and enables pagination through a set of `UserProfile`. */
|
|
349
|
+
userProfiles?: Maybe<UserProfilesConnection>;
|
|
350
|
+
/** Reads and enables pagination through a set of `User`. */
|
|
351
|
+
users?: Maybe<UsersConnection>;
|
|
352
|
+
};
|
|
353
|
+
/** The root query type which gives access points into the data universe. */
|
|
354
|
+
export type QueryUserArgs = {
|
|
355
|
+
id: Scalars['UUID'];
|
|
356
|
+
};
|
|
357
|
+
/** The root query type which gives access points into the data universe. */
|
|
358
|
+
export type QueryUserProfileArgs = {
|
|
359
|
+
id: Scalars['UUID'];
|
|
360
|
+
};
|
|
361
|
+
/** The root query type which gives access points into the data universe. */
|
|
362
|
+
export type QueryUserProfilesArgs = {
|
|
363
|
+
after?: Maybe<Scalars['Cursor']>;
|
|
364
|
+
before?: Maybe<Scalars['Cursor']>;
|
|
365
|
+
condition?: Maybe<UserProfileCondition>;
|
|
366
|
+
filter?: Maybe<UserProfileFilter>;
|
|
367
|
+
first?: Maybe<Scalars['Int']>;
|
|
368
|
+
last?: Maybe<Scalars['Int']>;
|
|
369
|
+
offset?: Maybe<Scalars['Int']>;
|
|
370
|
+
orderBy?: Maybe<Array<UserProfilesOrderBy>>;
|
|
371
|
+
};
|
|
372
|
+
/** The root query type which gives access points into the data universe. */
|
|
373
|
+
export type QueryUsersArgs = {
|
|
374
|
+
after?: Maybe<Scalars['Cursor']>;
|
|
375
|
+
before?: Maybe<Scalars['Cursor']>;
|
|
376
|
+
condition?: Maybe<UserCondition>;
|
|
377
|
+
filter?: Maybe<UserFilter>;
|
|
378
|
+
first?: Maybe<Scalars['Int']>;
|
|
379
|
+
last?: Maybe<Scalars['Int']>;
|
|
380
|
+
offset?: Maybe<Scalars['Int']>;
|
|
381
|
+
orderBy?: Maybe<Array<UsersOrderBy>>;
|
|
382
|
+
};
|
|
383
|
+
/** A filter to be used against String fields. All fields are combined with a logical ‘and.’ */
|
|
384
|
+
export type StringFilter = {
|
|
385
|
+
/** Not equal to the specified value, treating null like an ordinary value. */
|
|
386
|
+
distinctFrom?: Maybe<Scalars['String']>;
|
|
387
|
+
/** Not equal to the specified value, treating null like an ordinary value (case-insensitive). */
|
|
388
|
+
distinctFromInsensitive?: Maybe<Scalars['String']>;
|
|
389
|
+
/** Ends with the specified string (case-sensitive). */
|
|
390
|
+
endsWith?: Maybe<Scalars['String']>;
|
|
391
|
+
/** Ends with the specified string (case-insensitive). */
|
|
392
|
+
endsWithInsensitive?: Maybe<Scalars['String']>;
|
|
393
|
+
/** Equal to the specified value. */
|
|
394
|
+
equalTo?: Maybe<Scalars['String']>;
|
|
395
|
+
/** Equal to the specified value (case-insensitive). */
|
|
396
|
+
equalToInsensitive?: Maybe<Scalars['String']>;
|
|
397
|
+
/** Greater than the specified value. */
|
|
398
|
+
greaterThan?: Maybe<Scalars['String']>;
|
|
399
|
+
/** Greater than the specified value (case-insensitive). */
|
|
400
|
+
greaterThanInsensitive?: Maybe<Scalars['String']>;
|
|
401
|
+
/** Greater than or equal to the specified value. */
|
|
402
|
+
greaterThanOrEqualTo?: Maybe<Scalars['String']>;
|
|
403
|
+
/** Greater than or equal to the specified value (case-insensitive). */
|
|
404
|
+
greaterThanOrEqualToInsensitive?: Maybe<Scalars['String']>;
|
|
405
|
+
/** Included in the specified list. */
|
|
406
|
+
in?: Maybe<Array<Scalars['String']>>;
|
|
407
|
+
/** Contains the specified string (case-sensitive). */
|
|
408
|
+
includes?: Maybe<Scalars['String']>;
|
|
409
|
+
/** Contains the specified string (case-insensitive). */
|
|
410
|
+
includesInsensitive?: Maybe<Scalars['String']>;
|
|
411
|
+
/** Included in the specified list (case-insensitive). */
|
|
412
|
+
inInsensitive?: Maybe<Array<Scalars['String']>>;
|
|
413
|
+
/** Is null (if `true` is specified) or is not null (if `false` is specified). */
|
|
414
|
+
isNull?: Maybe<Scalars['Boolean']>;
|
|
415
|
+
/** Less than the specified value. */
|
|
416
|
+
lessThan?: Maybe<Scalars['String']>;
|
|
417
|
+
/** Less than the specified value (case-insensitive). */
|
|
418
|
+
lessThanInsensitive?: Maybe<Scalars['String']>;
|
|
419
|
+
/** Less than or equal to the specified value. */
|
|
420
|
+
lessThanOrEqualTo?: Maybe<Scalars['String']>;
|
|
421
|
+
/** Less than or equal to the specified value (case-insensitive). */
|
|
422
|
+
lessThanOrEqualToInsensitive?: Maybe<Scalars['String']>;
|
|
423
|
+
/** Matches the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
|
|
424
|
+
like?: Maybe<Scalars['String']>;
|
|
425
|
+
/** Matches the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
|
|
426
|
+
likeInsensitive?: Maybe<Scalars['String']>;
|
|
427
|
+
/** Equal to the specified value, treating null like an ordinary value. */
|
|
428
|
+
notDistinctFrom?: Maybe<Scalars['String']>;
|
|
429
|
+
/** Equal to the specified value, treating null like an ordinary value (case-insensitive). */
|
|
430
|
+
notDistinctFromInsensitive?: Maybe<Scalars['String']>;
|
|
431
|
+
/** Does not end with the specified string (case-sensitive). */
|
|
432
|
+
notEndsWith?: Maybe<Scalars['String']>;
|
|
433
|
+
/** Does not end with the specified string (case-insensitive). */
|
|
434
|
+
notEndsWithInsensitive?: Maybe<Scalars['String']>;
|
|
435
|
+
/** Not equal to the specified value. */
|
|
436
|
+
notEqualTo?: Maybe<Scalars['String']>;
|
|
437
|
+
/** Not equal to the specified value (case-insensitive). */
|
|
438
|
+
notEqualToInsensitive?: Maybe<Scalars['String']>;
|
|
439
|
+
/** Not included in the specified list. */
|
|
440
|
+
notIn?: Maybe<Array<Scalars['String']>>;
|
|
441
|
+
/** Does not contain the specified string (case-sensitive). */
|
|
442
|
+
notIncludes?: Maybe<Scalars['String']>;
|
|
443
|
+
/** Does not contain the specified string (case-insensitive). */
|
|
444
|
+
notIncludesInsensitive?: Maybe<Scalars['String']>;
|
|
445
|
+
/** Not included in the specified list (case-insensitive). */
|
|
446
|
+
notInInsensitive?: Maybe<Array<Scalars['String']>>;
|
|
447
|
+
/** Does not match the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
|
|
448
|
+
notLike?: Maybe<Scalars['String']>;
|
|
449
|
+
/** Does not match the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
|
|
450
|
+
notLikeInsensitive?: Maybe<Scalars['String']>;
|
|
451
|
+
/** Does not start with the specified string (case-sensitive). */
|
|
452
|
+
notStartsWith?: Maybe<Scalars['String']>;
|
|
453
|
+
/** Does not start with the specified string (case-insensitive). */
|
|
454
|
+
notStartsWithInsensitive?: Maybe<Scalars['String']>;
|
|
455
|
+
/** Starts with the specified string (case-sensitive). */
|
|
456
|
+
startsWith?: Maybe<Scalars['String']>;
|
|
457
|
+
/** Starts with the specified string (case-insensitive). */
|
|
458
|
+
startsWithInsensitive?: Maybe<Scalars['String']>;
|
|
459
|
+
};
|
|
460
|
+
/** All input for the `updateUserProfile` mutation. */
|
|
461
|
+
export type UpdateUserProfileInput = {
|
|
462
|
+
/**
|
|
463
|
+
* An arbitrary string value with no semantic meaning. Will be included in the
|
|
464
|
+
* payload verbatim. May be used to track mutations by the client.
|
|
465
|
+
*/
|
|
466
|
+
clientMutationId?: Maybe<Scalars['String']>;
|
|
467
|
+
id: Scalars['UUID'];
|
|
468
|
+
/** An object where the defined keys will be set on the `UserProfile` being updated. */
|
|
469
|
+
patch: UserProfilePatch;
|
|
470
|
+
};
|
|
471
|
+
/** The output of our update `UserProfile` mutation. */
|
|
472
|
+
export type UpdateUserProfilePayload = {
|
|
473
|
+
__typename?: 'UpdateUserProfilePayload';
|
|
474
|
+
/**
|
|
475
|
+
* The exact same `clientMutationId` that was provided in the mutation input,
|
|
476
|
+
* unchanged and unused. May be used by a client to track mutations.
|
|
477
|
+
*/
|
|
478
|
+
clientMutationId?: Maybe<Scalars['String']>;
|
|
479
|
+
/** Our root query field type. Allows us to run any query from our mutation payload. */
|
|
480
|
+
query?: Maybe<Query>;
|
|
481
|
+
/** The `UserProfile` that was updated by this mutation. */
|
|
482
|
+
userProfile?: Maybe<UserProfile>;
|
|
483
|
+
/** An edge for our `UserProfile`. May be used by Relay 1. */
|
|
484
|
+
userProfileEdge?: Maybe<UserProfilesEdge>;
|
|
485
|
+
};
|
|
486
|
+
/** The output of our update `UserProfile` mutation. */
|
|
487
|
+
export type UpdateUserProfilePayloadUserProfileEdgeArgs = {
|
|
488
|
+
orderBy?: Maybe<Array<UserProfilesOrderBy>>;
|
|
489
|
+
};
|
|
490
|
+
export type User = {
|
|
491
|
+
__typename?: 'User';
|
|
492
|
+
createdDate: Scalars['Datetime'];
|
|
493
|
+
createdUser: Scalars['String'];
|
|
494
|
+
email?: Maybe<Scalars['String']>;
|
|
495
|
+
enabled: Scalars['Boolean'];
|
|
496
|
+
environmentId: Scalars['UUID'];
|
|
497
|
+
id: Scalars['UUID'];
|
|
498
|
+
lastActiveAt: Scalars['Datetime'];
|
|
499
|
+
loginCount: Scalars['Int'];
|
|
500
|
+
name?: Maybe<Scalars['String']>;
|
|
501
|
+
phone?: Maybe<Scalars['String']>;
|
|
502
|
+
tenantId: Scalars['UUID'];
|
|
503
|
+
updatedDate: Scalars['Datetime'];
|
|
504
|
+
updatedUser: Scalars['String'];
|
|
505
|
+
};
|
|
506
|
+
/** A condition to be used against `User` object types. All fields are tested for equality and combined with a logical ‘and.’ */
|
|
507
|
+
export type UserCondition = {
|
|
508
|
+
/** Checks for equality with the object’s `createdDate` field. */
|
|
509
|
+
createdDate?: Maybe<Scalars['Datetime']>;
|
|
510
|
+
/** Checks for equality with the object’s `createdUser` field. */
|
|
511
|
+
createdUser?: Maybe<Scalars['String']>;
|
|
512
|
+
/** Checks for equality with the object’s `email` field. */
|
|
513
|
+
email?: Maybe<Scalars['String']>;
|
|
514
|
+
/** Checks for equality with the object’s `enabled` field. */
|
|
515
|
+
enabled?: Maybe<Scalars['Boolean']>;
|
|
516
|
+
/** Checks for equality with the object’s `environmentId` field. */
|
|
517
|
+
environmentId?: Maybe<Scalars['UUID']>;
|
|
518
|
+
/** Checks for equality with the object’s `id` field. */
|
|
519
|
+
id?: Maybe<Scalars['UUID']>;
|
|
520
|
+
/** Checks for equality with the object’s `lastActiveAt` field. */
|
|
521
|
+
lastActiveAt?: Maybe<Scalars['Datetime']>;
|
|
522
|
+
/** Checks for equality with the object’s `loginCount` field. */
|
|
523
|
+
loginCount?: Maybe<Scalars['Int']>;
|
|
524
|
+
/** Checks for equality with the object’s `name` field. */
|
|
525
|
+
name?: Maybe<Scalars['String']>;
|
|
526
|
+
/** Checks for equality with the object’s `phone` field. */
|
|
527
|
+
phone?: Maybe<Scalars['String']>;
|
|
528
|
+
/** Checks for equality with the object’s `tenantId` field. */
|
|
529
|
+
tenantId?: Maybe<Scalars['UUID']>;
|
|
530
|
+
/** Checks for equality with the object’s `updatedDate` field. */
|
|
531
|
+
updatedDate?: Maybe<Scalars['Datetime']>;
|
|
532
|
+
/** Checks for equality with the object’s `updatedUser` field. */
|
|
533
|
+
updatedUser?: Maybe<Scalars['String']>;
|
|
534
|
+
};
|
|
535
|
+
/** A filter to be used against `User` object types. All fields are combined with a logical ‘and.’ */
|
|
536
|
+
export type UserFilter = {
|
|
537
|
+
/** Checks for all expressions in this list. */
|
|
538
|
+
and?: Maybe<Array<UserFilter>>;
|
|
539
|
+
/** Filter by the object’s `createdDate` field. */
|
|
540
|
+
createdDate?: Maybe<DatetimeFilter>;
|
|
541
|
+
/** Filter by the object’s `createdUser` field. */
|
|
542
|
+
createdUser?: Maybe<StringFilter>;
|
|
543
|
+
/** Filter by the object’s `email` field. */
|
|
544
|
+
email?: Maybe<StringFilter>;
|
|
545
|
+
/** Filter by the object’s `enabled` field. */
|
|
546
|
+
enabled?: Maybe<BooleanFilter>;
|
|
547
|
+
/** Filter by the object’s `environmentId` field. */
|
|
548
|
+
environmentId?: Maybe<UuidFilter>;
|
|
549
|
+
/** Filter by the object’s `id` field. */
|
|
550
|
+
id?: Maybe<UuidFilter>;
|
|
551
|
+
/** Filter by the object’s `lastActiveAt` field. */
|
|
552
|
+
lastActiveAt?: Maybe<DatetimeFilter>;
|
|
553
|
+
/** Filter by the object’s `loginCount` field. */
|
|
554
|
+
loginCount?: Maybe<IntFilter>;
|
|
555
|
+
/** Filter by the object’s `name` field. */
|
|
556
|
+
name?: Maybe<StringFilter>;
|
|
557
|
+
/** Negates the expression. */
|
|
558
|
+
not?: Maybe<UserFilter>;
|
|
559
|
+
/** Checks for any expressions in this list. */
|
|
560
|
+
or?: Maybe<Array<UserFilter>>;
|
|
561
|
+
/** Filter by the object’s `phone` field. */
|
|
562
|
+
phone?: Maybe<StringFilter>;
|
|
563
|
+
/** Filter by the object’s `tenantId` field. */
|
|
564
|
+
tenantId?: Maybe<UuidFilter>;
|
|
565
|
+
/** Filter by the object’s `updatedDate` field. */
|
|
566
|
+
updatedDate?: Maybe<DatetimeFilter>;
|
|
567
|
+
/** Filter by the object’s `updatedUser` field. */
|
|
568
|
+
updatedUser?: Maybe<StringFilter>;
|
|
569
|
+
};
|
|
570
|
+
export type UserProfile = {
|
|
571
|
+
__typename?: 'UserProfile';
|
|
572
|
+
activeProfile?: Maybe<Scalars['String']>;
|
|
573
|
+
createdDate: Scalars['Datetime'];
|
|
574
|
+
createdUser: Scalars['String'];
|
|
575
|
+
defaultProfile: Scalars['Boolean'];
|
|
576
|
+
displayName: Scalars['String'];
|
|
577
|
+
environmentId: Scalars['UUID'];
|
|
578
|
+
id: Scalars['UUID'];
|
|
579
|
+
profilePictureUrl?: Maybe<Scalars['String']>;
|
|
580
|
+
tenantId: Scalars['UUID'];
|
|
581
|
+
updatedDate: Scalars['Datetime'];
|
|
582
|
+
updatedUser: Scalars['String'];
|
|
583
|
+
};
|
|
584
|
+
/**
|
|
585
|
+
* A condition to be used against `UserProfile` object types. All fields are tested
|
|
586
|
+
* for equality and combined with a logical ‘and.’
|
|
587
|
+
*/
|
|
588
|
+
export type UserProfileCondition = {
|
|
589
|
+
/** Checks for equality with the object’s `createdDate` field. */
|
|
590
|
+
createdDate?: Maybe<Scalars['Datetime']>;
|
|
591
|
+
/** Checks for equality with the object’s `createdUser` field. */
|
|
592
|
+
createdUser?: Maybe<Scalars['String']>;
|
|
593
|
+
/** Checks for equality with the object’s `defaultProfile` field. */
|
|
594
|
+
defaultProfile?: Maybe<Scalars['Boolean']>;
|
|
595
|
+
/** Checks for equality with the object’s `displayName` field. */
|
|
596
|
+
displayName?: Maybe<Scalars['String']>;
|
|
597
|
+
/** Checks for equality with the object’s `environmentId` field. */
|
|
598
|
+
environmentId?: Maybe<Scalars['UUID']>;
|
|
599
|
+
/** Checks for equality with the object’s `id` field. */
|
|
600
|
+
id?: Maybe<Scalars['UUID']>;
|
|
601
|
+
/** Checks for equality with the object’s `profilePictureUrl` field. */
|
|
602
|
+
profilePictureUrl?: Maybe<Scalars['String']>;
|
|
603
|
+
/** Checks for equality with the object’s `tenantId` field. */
|
|
604
|
+
tenantId?: Maybe<Scalars['UUID']>;
|
|
605
|
+
/** Checks for equality with the object’s `updatedDate` field. */
|
|
606
|
+
updatedDate?: Maybe<Scalars['Datetime']>;
|
|
607
|
+
/** Checks for equality with the object’s `updatedUser` field. */
|
|
608
|
+
updatedUser?: Maybe<Scalars['String']>;
|
|
609
|
+
};
|
|
610
|
+
/** A filter to be used against `UserProfile` object types. All fields are combined with a logical ‘and.’ */
|
|
611
|
+
export type UserProfileFilter = {
|
|
612
|
+
/** Checks for all expressions in this list. */
|
|
613
|
+
and?: Maybe<Array<UserProfileFilter>>;
|
|
614
|
+
/** Filter by the object’s `createdDate` field. */
|
|
615
|
+
createdDate?: Maybe<DatetimeFilter>;
|
|
616
|
+
/** Filter by the object’s `createdUser` field. */
|
|
617
|
+
createdUser?: Maybe<StringFilter>;
|
|
618
|
+
/** Filter by the object’s `defaultProfile` field. */
|
|
619
|
+
defaultProfile?: Maybe<BooleanFilter>;
|
|
620
|
+
/** Filter by the object’s `displayName` field. */
|
|
621
|
+
displayName?: Maybe<StringFilter>;
|
|
622
|
+
/** Filter by the object’s `environmentId` field. */
|
|
623
|
+
environmentId?: Maybe<UuidFilter>;
|
|
624
|
+
/** Filter by the object’s `id` field. */
|
|
625
|
+
id?: Maybe<UuidFilter>;
|
|
626
|
+
/** Negates the expression. */
|
|
627
|
+
not?: Maybe<UserProfileFilter>;
|
|
628
|
+
/** Checks for any expressions in this list. */
|
|
629
|
+
or?: Maybe<Array<UserProfileFilter>>;
|
|
630
|
+
/** Filter by the object’s `profilePictureUrl` field. */
|
|
631
|
+
profilePictureUrl?: Maybe<StringFilter>;
|
|
632
|
+
/** Filter by the object’s `tenantId` field. */
|
|
633
|
+
tenantId?: Maybe<UuidFilter>;
|
|
634
|
+
/** Filter by the object’s `updatedDate` field. */
|
|
635
|
+
updatedDate?: Maybe<DatetimeFilter>;
|
|
636
|
+
/** Filter by the object’s `updatedUser` field. */
|
|
637
|
+
updatedUser?: Maybe<StringFilter>;
|
|
638
|
+
};
|
|
639
|
+
/** An input for mutations affecting `UserProfile` */
|
|
640
|
+
export type UserProfileInput = {
|
|
641
|
+
displayName: Scalars['String'];
|
|
642
|
+
profilePictureUrl?: Maybe<Scalars['String']>;
|
|
643
|
+
};
|
|
644
|
+
/** Represents an update to a `UserProfile`. Fields that are set will be updated. */
|
|
645
|
+
export type UserProfilePatch = {
|
|
646
|
+
displayName?: Maybe<Scalars['String']>;
|
|
647
|
+
profilePictureUrl?: Maybe<Scalars['String']>;
|
|
648
|
+
};
|
|
649
|
+
/** A connection to a list of `UserProfile` values. */
|
|
650
|
+
export type UserProfilesConnection = {
|
|
651
|
+
__typename?: 'UserProfilesConnection';
|
|
652
|
+
/** A list of edges which contains the `UserProfile` and cursor to aid in pagination. */
|
|
653
|
+
edges: Array<UserProfilesEdge>;
|
|
654
|
+
/** A list of `UserProfile` objects. */
|
|
655
|
+
nodes: Array<UserProfile>;
|
|
656
|
+
/** Information to aid in pagination. */
|
|
657
|
+
pageInfo: PageInfo;
|
|
658
|
+
/** The count of *all* `UserProfile` you could get from the connection. */
|
|
659
|
+
totalCount: Scalars['Int'];
|
|
660
|
+
};
|
|
661
|
+
/** A `UserProfile` edge in the connection. */
|
|
662
|
+
export type UserProfilesEdge = {
|
|
663
|
+
__typename?: 'UserProfilesEdge';
|
|
664
|
+
/** A cursor for use in pagination. */
|
|
665
|
+
cursor?: Maybe<Scalars['Cursor']>;
|
|
666
|
+
/** The `UserProfile` at the end of the edge. */
|
|
667
|
+
node: UserProfile;
|
|
668
|
+
};
|
|
669
|
+
/** Methods to use when ordering `UserProfile`. */
|
|
670
|
+
export declare enum UserProfilesOrderBy {
|
|
671
|
+
CREATED_DATE_ASC = "CREATED_DATE_ASC",
|
|
672
|
+
CREATED_DATE_DESC = "CREATED_DATE_DESC",
|
|
673
|
+
CREATED_USER_ASC = "CREATED_USER_ASC",
|
|
674
|
+
CREATED_USER_DESC = "CREATED_USER_DESC",
|
|
675
|
+
DEFAULT_PROFILE_ASC = "DEFAULT_PROFILE_ASC",
|
|
676
|
+
DEFAULT_PROFILE_DESC = "DEFAULT_PROFILE_DESC",
|
|
677
|
+
DISPLAY_NAME_ASC = "DISPLAY_NAME_ASC",
|
|
678
|
+
DISPLAY_NAME_DESC = "DISPLAY_NAME_DESC",
|
|
679
|
+
ENVIRONMENT_ID_ASC = "ENVIRONMENT_ID_ASC",
|
|
680
|
+
ENVIRONMENT_ID_DESC = "ENVIRONMENT_ID_DESC",
|
|
681
|
+
ID_ASC = "ID_ASC",
|
|
682
|
+
ID_DESC = "ID_DESC",
|
|
683
|
+
NATURAL = "NATURAL",
|
|
684
|
+
PRIMARY_KEY_ASC = "PRIMARY_KEY_ASC",
|
|
685
|
+
PRIMARY_KEY_DESC = "PRIMARY_KEY_DESC",
|
|
686
|
+
PROFILE_PICTURE_URL_ASC = "PROFILE_PICTURE_URL_ASC",
|
|
687
|
+
PROFILE_PICTURE_URL_DESC = "PROFILE_PICTURE_URL_DESC",
|
|
688
|
+
TENANT_ID_ASC = "TENANT_ID_ASC",
|
|
689
|
+
TENANT_ID_DESC = "TENANT_ID_DESC",
|
|
690
|
+
UPDATED_DATE_ASC = "UPDATED_DATE_ASC",
|
|
691
|
+
UPDATED_DATE_DESC = "UPDATED_DATE_DESC",
|
|
692
|
+
UPDATED_USER_ASC = "UPDATED_USER_ASC",
|
|
693
|
+
UPDATED_USER_DESC = "UPDATED_USER_DESC"
|
|
694
|
+
}
|
|
695
|
+
/** A connection to a list of `User` values. */
|
|
696
|
+
export type UsersConnection = {
|
|
697
|
+
__typename?: 'UsersConnection';
|
|
698
|
+
/** A list of edges which contains the `User` and cursor to aid in pagination. */
|
|
699
|
+
edges: Array<UsersEdge>;
|
|
700
|
+
/** A list of `User` objects. */
|
|
701
|
+
nodes: Array<User>;
|
|
702
|
+
/** Information to aid in pagination. */
|
|
703
|
+
pageInfo: PageInfo;
|
|
704
|
+
/** The count of *all* `User` you could get from the connection. */
|
|
705
|
+
totalCount: Scalars['Int'];
|
|
706
|
+
};
|
|
707
|
+
/** A `User` edge in the connection. */
|
|
708
|
+
export type UsersEdge = {
|
|
709
|
+
__typename?: 'UsersEdge';
|
|
710
|
+
/** A cursor for use in pagination. */
|
|
711
|
+
cursor?: Maybe<Scalars['Cursor']>;
|
|
712
|
+
/** The `User` at the end of the edge. */
|
|
713
|
+
node: User;
|
|
714
|
+
};
|
|
715
|
+
/** Methods to use when ordering `User`. */
|
|
716
|
+
export declare enum UsersOrderBy {
|
|
717
|
+
CREATED_DATE_ASC = "CREATED_DATE_ASC",
|
|
718
|
+
CREATED_DATE_DESC = "CREATED_DATE_DESC",
|
|
719
|
+
CREATED_USER_ASC = "CREATED_USER_ASC",
|
|
720
|
+
CREATED_USER_DESC = "CREATED_USER_DESC",
|
|
721
|
+
EMAIL_ASC = "EMAIL_ASC",
|
|
722
|
+
EMAIL_DESC = "EMAIL_DESC",
|
|
723
|
+
ENABLED_ASC = "ENABLED_ASC",
|
|
724
|
+
ENABLED_DESC = "ENABLED_DESC",
|
|
725
|
+
ENVIRONMENT_ID_ASC = "ENVIRONMENT_ID_ASC",
|
|
726
|
+
ENVIRONMENT_ID_DESC = "ENVIRONMENT_ID_DESC",
|
|
727
|
+
ID_ASC = "ID_ASC",
|
|
728
|
+
ID_DESC = "ID_DESC",
|
|
729
|
+
LAST_ACTIVE_AT_ASC = "LAST_ACTIVE_AT_ASC",
|
|
730
|
+
LAST_ACTIVE_AT_DESC = "LAST_ACTIVE_AT_DESC",
|
|
731
|
+
LOGIN_COUNT_ASC = "LOGIN_COUNT_ASC",
|
|
732
|
+
LOGIN_COUNT_DESC = "LOGIN_COUNT_DESC",
|
|
733
|
+
NAME_ASC = "NAME_ASC",
|
|
734
|
+
NAME_DESC = "NAME_DESC",
|
|
735
|
+
NATURAL = "NATURAL",
|
|
736
|
+
PHONE_ASC = "PHONE_ASC",
|
|
737
|
+
PHONE_DESC = "PHONE_DESC",
|
|
738
|
+
PRIMARY_KEY_ASC = "PRIMARY_KEY_ASC",
|
|
739
|
+
PRIMARY_KEY_DESC = "PRIMARY_KEY_DESC",
|
|
740
|
+
TENANT_ID_ASC = "TENANT_ID_ASC",
|
|
741
|
+
TENANT_ID_DESC = "TENANT_ID_DESC",
|
|
742
|
+
UPDATED_DATE_ASC = "UPDATED_DATE_ASC",
|
|
743
|
+
UPDATED_DATE_DESC = "UPDATED_DATE_DESC",
|
|
744
|
+
UPDATED_USER_ASC = "UPDATED_USER_ASC",
|
|
745
|
+
UPDATED_USER_DESC = "UPDATED_USER_DESC"
|
|
746
|
+
}
|
|
747
|
+
/** A filter to be used against UUID fields. All fields are combined with a logical ‘and.’ */
|
|
748
|
+
export type UuidFilter = {
|
|
749
|
+
/** Not equal to the specified value, treating null like an ordinary value. */
|
|
750
|
+
distinctFrom?: Maybe<Scalars['UUID']>;
|
|
751
|
+
/** Equal to the specified value. */
|
|
752
|
+
equalTo?: Maybe<Scalars['UUID']>;
|
|
753
|
+
/** Greater than the specified value. */
|
|
754
|
+
greaterThan?: Maybe<Scalars['UUID']>;
|
|
755
|
+
/** Greater than or equal to the specified value. */
|
|
756
|
+
greaterThanOrEqualTo?: Maybe<Scalars['UUID']>;
|
|
757
|
+
/** Included in the specified list. */
|
|
758
|
+
in?: Maybe<Array<Scalars['UUID']>>;
|
|
759
|
+
/** Is null (if `true` is specified) or is not null (if `false` is specified). */
|
|
760
|
+
isNull?: Maybe<Scalars['Boolean']>;
|
|
761
|
+
/** Less than the specified value. */
|
|
762
|
+
lessThan?: Maybe<Scalars['UUID']>;
|
|
763
|
+
/** Less than or equal to the specified value. */
|
|
764
|
+
lessThanOrEqualTo?: Maybe<Scalars['UUID']>;
|
|
765
|
+
/** Equal to the specified value, treating null like an ordinary value. */
|
|
766
|
+
notDistinctFrom?: Maybe<Scalars['UUID']>;
|
|
767
|
+
/** Not equal to the specified value. */
|
|
768
|
+
notEqualTo?: Maybe<Scalars['UUID']>;
|
|
769
|
+
/** Not included in the specified list. */
|
|
770
|
+
notIn?: Maybe<Array<Scalars['UUID']>>;
|
|
771
|
+
};
|
|
772
|
+
export type SetActiveProfileMutationVariables = Exact<{
|
|
773
|
+
profileId: Scalars['UUID'];
|
|
774
|
+
}>;
|
|
775
|
+
export type SetActiveProfileMutation = ({
|
|
776
|
+
__typename?: 'Mutation';
|
|
777
|
+
} & {
|
|
778
|
+
setActiveProfile?: Maybe<({
|
|
779
|
+
__typename?: 'UserProfile';
|
|
780
|
+
} & Pick<UserProfile, 'id' | 'displayName' | 'defaultProfile' | 'profilePictureUrl'>)>;
|
|
781
|
+
});
|
|
782
|
+
export type GetUserProfileQueryVariables = Exact<{
|
|
783
|
+
profileId: Scalars['UUID'];
|
|
784
|
+
}>;
|
|
785
|
+
export type GetUserProfileQuery = ({
|
|
786
|
+
__typename?: 'Query';
|
|
787
|
+
} & {
|
|
788
|
+
userProfile?: Maybe<({
|
|
789
|
+
__typename?: 'UserProfile';
|
|
790
|
+
} & Pick<UserProfile, 'id' | 'displayName' | 'defaultProfile' | 'profilePictureUrl'>)>;
|
|
791
|
+
});
|
|
792
|
+
export type GetUserProfilesQueryVariables = Exact<{
|
|
793
|
+
[key: string]: never;
|
|
794
|
+
}>;
|
|
795
|
+
export type GetUserProfilesQuery = ({
|
|
796
|
+
__typename?: 'Query';
|
|
797
|
+
} & {
|
|
798
|
+
userProfiles?: Maybe<({
|
|
799
|
+
__typename?: 'UserProfilesConnection';
|
|
800
|
+
} & {
|
|
801
|
+
nodes: Array<({
|
|
802
|
+
__typename?: 'UserProfile';
|
|
803
|
+
} & Pick<UserProfile, 'id' | 'displayName' | 'defaultProfile' | 'profilePictureUrl'>)>;
|
|
804
|
+
})>;
|
|
805
|
+
});
|
|
806
|
+
export type CreateUserProfileMutationVariables = Exact<{
|
|
807
|
+
input: CreateUserProfileInput;
|
|
808
|
+
}>;
|
|
809
|
+
export type CreateUserProfileMutation = ({
|
|
810
|
+
__typename?: 'Mutation';
|
|
811
|
+
} & {
|
|
812
|
+
createUserProfile?: Maybe<({
|
|
813
|
+
__typename?: 'CreateUserProfilePayload';
|
|
814
|
+
} & {
|
|
815
|
+
userProfile?: Maybe<({
|
|
816
|
+
__typename?: 'UserProfile';
|
|
817
|
+
} & Pick<UserProfile, 'id' | 'displayName' | 'defaultProfile' | 'profilePictureUrl'>)>;
|
|
818
|
+
})>;
|
|
819
|
+
});
|
|
820
|
+
export type UpdateUserProfileMutationVariables = Exact<{
|
|
821
|
+
input: UpdateUserProfileInput;
|
|
822
|
+
}>;
|
|
823
|
+
export type UpdateUserProfileMutation = ({
|
|
824
|
+
__typename?: 'Mutation';
|
|
825
|
+
} & {
|
|
826
|
+
updateUserProfile?: Maybe<({
|
|
827
|
+
__typename?: 'UpdateUserProfilePayload';
|
|
828
|
+
} & {
|
|
829
|
+
userProfile?: Maybe<({
|
|
830
|
+
__typename?: 'UserProfile';
|
|
831
|
+
} & Pick<UserProfile, 'id' | 'displayName' | 'defaultProfile' | 'profilePictureUrl'>)>;
|
|
832
|
+
})>;
|
|
833
|
+
});
|
|
834
|
+
export type DeleteUserProfileMutationVariables = Exact<{
|
|
835
|
+
input: DeleteUserProfileInput;
|
|
836
|
+
}>;
|
|
837
|
+
export type DeleteUserProfileMutation = ({
|
|
838
|
+
__typename?: 'Mutation';
|
|
839
|
+
} & {
|
|
840
|
+
deleteUserProfile?: Maybe<({
|
|
841
|
+
__typename?: 'DeleteUserProfilePayload';
|
|
842
|
+
} & {
|
|
843
|
+
userProfile?: Maybe<({
|
|
844
|
+
__typename?: 'UserProfile';
|
|
845
|
+
} & Pick<UserProfile, 'id' | 'displayName' | 'defaultProfile' | 'profilePictureUrl'>)>;
|
|
846
|
+
})>;
|
|
847
|
+
});
|
|
848
|
+
export declare const SetActiveProfileDocument: DocumentNode<SetActiveProfileMutation, SetActiveProfileMutationVariables>;
|
|
849
|
+
export declare const GetUserProfileDocument: DocumentNode<GetUserProfileQuery, GetUserProfileQueryVariables>;
|
|
850
|
+
export declare const GetUserProfilesDocument: DocumentNode<GetUserProfilesQuery, GetUserProfilesQueryVariables>;
|
|
851
|
+
export declare const CreateUserProfileDocument: DocumentNode<CreateUserProfileMutation, CreateUserProfileMutationVariables>;
|
|
852
|
+
export declare const UpdateUserProfileDocument: DocumentNode<UpdateUserProfileMutation, UpdateUserProfileMutationVariables>;
|
|
853
|
+
export declare const DeleteUserProfileDocument: DocumentNode<DeleteUserProfileMutation, DeleteUserProfileMutationVariables>;
|
|
854
|
+
//# sourceMappingURL=user-service-end-user-graphql.types.d.ts.map
|