@axinom/mosaic-user-auth 0.6.4-rc.2 → 0.6.4-rc.21

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/index.js CHANGED
@@ -1255,6 +1255,8 @@ var ApplicationsOrderBy;
1255
1255
  (function (ApplicationsOrderBy) {
1256
1256
  ApplicationsOrderBy["ACCESS_TOKEN_ENRICHMENT_WEBHOOK_ASC"] = "ACCESS_TOKEN_ENRICHMENT_WEBHOOK_ASC";
1257
1257
  ApplicationsOrderBy["ACCESS_TOKEN_ENRICHMENT_WEBHOOK_DESC"] = "ACCESS_TOKEN_ENRICHMENT_WEBHOOK_DESC";
1258
+ ApplicationsOrderBy["ACCESS_TOKEN_ENRICHMENT_WEBHOOK_SECRET_IS_SET_ASC"] = "ACCESS_TOKEN_ENRICHMENT_WEBHOOK_SECRET_IS_SET_ASC";
1259
+ ApplicationsOrderBy["ACCESS_TOKEN_ENRICHMENT_WEBHOOK_SECRET_IS_SET_DESC"] = "ACCESS_TOKEN_ENRICHMENT_WEBHOOK_SECRET_IS_SET_DESC";
1258
1260
  ApplicationsOrderBy["ACCESS_TOKEN_LIFETIME_ASC"] = "ACCESS_TOKEN_LIFETIME_ASC";
1259
1261
  ApplicationsOrderBy["ACCESS_TOKEN_LIFETIME_DESC"] = "ACCESS_TOKEN_LIFETIME_DESC";
1260
1262
  ApplicationsOrderBy["ALLOWED_ORIGINS_ASC"] = "ALLOWED_ORIGINS_ASC";
@@ -1354,6 +1356,8 @@ var ErrorCodesEnum$1;
1354
1356
  ErrorCodesEnum["ERROR_WRAPPER"] = "ERROR_WRAPPER";
1355
1357
  /** A GraphQL validation error has occurred. Please make sure that the GraphQL request is made with correct syntax or parameters. */
1356
1358
  ErrorCodesEnum["GRAPHQL_VALIDATION_FAILED"] = "GRAPHQL_VALIDATION_FAILED";
1359
+ /** The Hosting service is not accessible. Please contact Axinom support. */
1360
+ ErrorCodesEnum["HOSTING_SERVICE_NOT_ACCESSIBLE"] = "HOSTING_SERVICE_NOT_ACCESSIBLE";
1357
1361
  /** The Identity service is not accessible. Please contact Axinom support. */
1358
1362
  ErrorCodesEnum["IDENTITY_SERVICE_NOT_ACCESSIBLE"] = "IDENTITY_SERVICE_NOT_ACCESSIBLE";
1359
1363
  /** IDP Connection [%s] does not exist. */
@@ -1370,6 +1374,8 @@ var ErrorCodesEnum$1;
1370
1374
  ErrorCodesEnum["INVALID_CONSTRUCTOR_ARGS"] = "INVALID_CONSTRUCTOR_ARGS";
1371
1375
  /** Custom provider name cannot begin with 'Ax'. */
1372
1376
  ErrorCodesEnum["INVALID_CUSTOM_PROVIDER_NAME"] = "INVALID_CUSTOM_PROVIDER_NAME";
1377
+ /** Invalid email format. Please provide a valid email address. */
1378
+ ErrorCodesEnum["INVALID_EMAIL_FORMAT"] = "INVALID_EMAIL_FORMAT";
1373
1379
  /** Invalid URL format in [%s]. */
1374
1380
  ErrorCodesEnum["INVALID_URL_FORMAT"] = "INVALID_URL_FORMAT";
1375
1381
  /** User store category of the referenced user store ID must be 'END_USER'. */
@@ -1396,6 +1402,8 @@ var ErrorCodesEnum$1;
1396
1402
  ErrorCodesEnum["NOT_GENERIC_AUTHENTICATED_SUBJECT"] = "NOT_GENERIC_AUTHENTICATED_SUBJECT";
1397
1403
  /** The object is not a ManagementAuthenticationContext */
1398
1404
  ErrorCodesEnum["NOT_MANAGEMENT_AUTHENTICATION_CONTEXT"] = "NOT_MANAGEMENT_AUTHENTICATION_CONTEXT";
1405
+ /** The %s is missing required properties: %s. */
1406
+ ErrorCodesEnum["OBJECT_IS_MISSING_PROPERTIES"] = "OBJECT_IS_MISSING_PROPERTIES";
1399
1407
  /** The provider name is already in use. Please use a different name or use the existing provider. */
1400
1408
  ErrorCodesEnum["PROVIDER_NAME_IN_USE"] = "PROVIDER_NAME_IN_USE";
1401
1409
  /** The Reference User Store ID does not exist in the AxAuth Service. */
@@ -1406,14 +1414,22 @@ var ErrorCodesEnum$1;
1406
1414
  ErrorCodesEnum["SIGNING_KEY_NOT_FOUND"] = "SIGNING_KEY_NOT_FOUND";
1407
1415
  /** An application startup error has occurred. The actual message will have more information. */
1408
1416
  ErrorCodesEnum["STARTUP_ERROR"] = "STARTUP_ERROR";
1417
+ /** User is authenticated, but subject information was not found. Please contact Axinom Support. */
1418
+ ErrorCodesEnum["SUBJECT_INFORMATION_NOT_FOUND"] = "SUBJECT_INFORMATION_NOT_FOUND";
1409
1419
  /** User Token enrichment content cannot exceed 10240 characters. */
1410
1420
  ErrorCodesEnum["TOKEN_ENRICHMENT_EXCEEDS_LIMIT"] = "TOKEN_ENRICHMENT_EXCEEDS_LIMIT";
1411
1421
  /** Retrieving user information from Access Token Enrichment Webhook failed. */
1412
1422
  ErrorCodesEnum["TOKEN_ENRICHMENT_WEBHOOK_FAILURE"] = "TOKEN_ENRICHMENT_WEBHOOK_FAILURE";
1423
+ /** Unable to get the %s secret. Please contact Axinom Support. */
1424
+ ErrorCodesEnum["UNABLE_TO_GET_SECRET"] = "UNABLE_TO_GET_SECRET";
1425
+ /** Unable to set the %s secret. Please contact Axinom Support. */
1426
+ ErrorCodesEnum["UNABLE_TO_SET_SECRET"] = "UNABLE_TO_SET_SECRET";
1413
1427
  /** An unhandled database-related error has occurred. Please contact the service support. */
1414
1428
  ErrorCodesEnum["UNHANDLED_DATABASE_ERROR"] = "UNHANDLED_DATABASE_ERROR";
1415
1429
  /** An unhandled error has occurred. Please contact the service support. */
1416
1430
  ErrorCodesEnum["UNHANDLED_ERROR"] = "UNHANDLED_ERROR";
1431
+ /** No payload was found in User Info Retrieval webhook response. */
1432
+ ErrorCodesEnum["USER_INFO_WEBHOOK_RESPONSE_PAYLOAD_NOT_FOUND"] = "USER_INFO_WEBHOOK_RESPONSE_PAYLOAD_NOT_FOUND";
1417
1433
  /** User is not authorized to access the operation. */
1418
1434
  ErrorCodesEnum["USER_NOT_AUTHORIZED"] = "USER_NOT_AUTHORIZED";
1419
1435
  /** User does not exist or you have provided an invalid user ID. */
@@ -1424,6 +1440,18 @@ var ErrorCodesEnum$1;
1424
1440
  ErrorCodesEnum["USER_STORE_SHOULD_BE_EMPTY"] = "USER_STORE_SHOULD_BE_EMPTY";
1425
1441
  /** A User Store is required when creating an IDP Connection for the "AxAuth" provider. */
1426
1442
  ErrorCodesEnum["USER_STORE_SHOULD_NOT_BE_EMPTY"] = "USER_STORE_SHOULD_NOT_BE_EMPTY";
1443
+ /** The %s is not an object. */
1444
+ ErrorCodesEnum["VALUE_IS_NOT_OBJECT"] = "VALUE_IS_NOT_OBJECT";
1445
+ /** Unable to make a request to the webhook URL '%s'. Please make sure that the endpoint is reachable. */
1446
+ ErrorCodesEnum["WEBHOOK_ENDPOINT_NOT_REACHABLE"] = "WEBHOOK_ENDPOINT_NOT_REACHABLE";
1447
+ /** A webhook request has failed. A more concrete error message will be returned with this code. */
1448
+ ErrorCodesEnum["WEBHOOK_REQUEST_FAILURE"] = "WEBHOOK_REQUEST_FAILURE";
1449
+ /** The webhook for the URL '%s' responded with error(s). Please check the details for more information. */
1450
+ ErrorCodesEnum["WEBHOOK_RESPONDED_WITH_ERRORS"] = "WEBHOOK_RESPONDED_WITH_ERRORS";
1451
+ /** The request to get the %s secret succeeded, but the secret was not found. Please contact Axinom Support. */
1452
+ ErrorCodesEnum["WEBHOOK_SECRET_NOT_FOUND"] = "WEBHOOK_SECRET_NOT_FOUND";
1453
+ /** The %s secret is not set. Please call an appropriate mutation to generate it. */
1454
+ ErrorCodesEnum["WEBHOOK_SECRET_NOT_SET"] = "WEBHOOK_SECRET_NOT_SET";
1427
1455
  /** Websocket not found in ExtendedGraphQLContext. This is a development time issue. A reference to the websocket must be included in Postgraphile build options. */
1428
1456
  ErrorCodesEnum["WEBSOCKET_NOT_FOUND"] = "WEBSOCKET_NOT_FOUND";
1429
1457
  })(ErrorCodesEnum$1 || (ErrorCodesEnum$1 = {}));
@@ -1481,6 +1509,8 @@ var IdpConnectionsOrderBy;
1481
1509
  IdpConnectionsOrderBy["USER_INFO_ENDPOINT_URL_DESC"] = "USER_INFO_ENDPOINT_URL_DESC";
1482
1510
  IdpConnectionsOrderBy["USER_INFO_RETRIEVAL_WEBHOOK_ASC"] = "USER_INFO_RETRIEVAL_WEBHOOK_ASC";
1483
1511
  IdpConnectionsOrderBy["USER_INFO_RETRIEVAL_WEBHOOK_DESC"] = "USER_INFO_RETRIEVAL_WEBHOOK_DESC";
1512
+ IdpConnectionsOrderBy["USER_INFO_RETRIEVAL_WEBHOOK_SECRET_IS_SET_ASC"] = "USER_INFO_RETRIEVAL_WEBHOOK_SECRET_IS_SET_ASC";
1513
+ IdpConnectionsOrderBy["USER_INFO_RETRIEVAL_WEBHOOK_SECRET_IS_SET_DESC"] = "USER_INFO_RETRIEVAL_WEBHOOK_SECRET_IS_SET_DESC";
1484
1514
  })(IdpConnectionsOrderBy || (IdpConnectionsOrderBy = {}));
1485
1515
  var IdpProtocol;
1486
1516
  (function (IdpProtocol) {
@@ -1530,6 +1560,10 @@ var ServiceConfigurationsOrderBy;
1530
1560
  ServiceConfigurationsOrderBy["UPDATED_DATE_DESC"] = "UPDATED_DATE_DESC";
1531
1561
  ServiceConfigurationsOrderBy["UPDATED_USER_ASC"] = "UPDATED_USER_ASC";
1532
1562
  ServiceConfigurationsOrderBy["UPDATED_USER_DESC"] = "UPDATED_USER_DESC";
1563
+ ServiceConfigurationsOrderBy["USER_CREATED_WEBHOOK_SECRET_IS_SET_ASC"] = "USER_CREATED_WEBHOOK_SECRET_IS_SET_ASC";
1564
+ ServiceConfigurationsOrderBy["USER_CREATED_WEBHOOK_SECRET_IS_SET_DESC"] = "USER_CREATED_WEBHOOK_SECRET_IS_SET_DESC";
1565
+ ServiceConfigurationsOrderBy["USER_CREATED_WEBHOOK_URL_ASC"] = "USER_CREATED_WEBHOOK_URL_ASC";
1566
+ ServiceConfigurationsOrderBy["USER_CREATED_WEBHOOK_URL_DESC"] = "USER_CREATED_WEBHOOK_URL_DESC";
1533
1567
  ServiceConfigurationsOrderBy["WEBHOOK_TIMEOUT_ASC"] = "WEBHOOK_TIMEOUT_ASC";
1534
1568
  ServiceConfigurationsOrderBy["WEBHOOK_TIMEOUT_DESC"] = "WEBHOOK_TIMEOUT_DESC";
1535
1569
  })(ServiceConfigurationsOrderBy || (ServiceConfigurationsOrderBy = {}));
@@ -1738,6 +1772,8 @@ var IdpUserStoresOrderBy;
1738
1772
  IdpUserStoresOrderBy["NATURAL"] = "NATURAL";
1739
1773
  IdpUserStoresOrderBy["PRIMARY_KEY_ASC"] = "PRIMARY_KEY_ASC";
1740
1774
  IdpUserStoresOrderBy["PRIMARY_KEY_DESC"] = "PRIMARY_KEY_DESC";
1775
+ IdpUserStoresOrderBy["RESET_PASSWORD_WEBHOOK_SECRET_IS_SET_ASC"] = "RESET_PASSWORD_WEBHOOK_SECRET_IS_SET_ASC";
1776
+ IdpUserStoresOrderBy["RESET_PASSWORD_WEBHOOK_SECRET_IS_SET_DESC"] = "RESET_PASSWORD_WEBHOOK_SECRET_IS_SET_DESC";
1741
1777
  IdpUserStoresOrderBy["TENANT_ID_ASC"] = "TENANT_ID_ASC";
1742
1778
  IdpUserStoresOrderBy["TENANT_ID_DESC"] = "TENANT_ID_DESC";
1743
1779
  IdpUserStoresOrderBy["UPDATED_AT_ASC"] = "UPDATED_AT_ASC";
@@ -1746,6 +1782,8 @@ var IdpUserStoresOrderBy;
1746
1782
  IdpUserStoresOrderBy["UPDATED_BY_DESC"] = "UPDATED_BY_DESC";
1747
1783
  IdpUserStoresOrderBy["USER_SIGN_UP_WEBHOOK_ASC"] = "USER_SIGN_UP_WEBHOOK_ASC";
1748
1784
  IdpUserStoresOrderBy["USER_SIGN_UP_WEBHOOK_DESC"] = "USER_SIGN_UP_WEBHOOK_DESC";
1785
+ IdpUserStoresOrderBy["USER_SIGN_UP_WEBHOOK_SECRET_IS_SET_ASC"] = "USER_SIGN_UP_WEBHOOK_SECRET_IS_SET_ASC";
1786
+ IdpUserStoresOrderBy["USER_SIGN_UP_WEBHOOK_SECRET_IS_SET_DESC"] = "USER_SIGN_UP_WEBHOOK_SECRET_IS_SET_DESC";
1749
1787
  })(IdpUserStoresOrderBy || (IdpUserStoresOrderBy = {}));
1750
1788
  /** Methods to use when ordering `OAuthClient`. */
1751
1789
  var OAuthClientsOrderBy;
@@ -2202,6 +2240,8 @@ var ErrorCodesEnum;
2202
2240
  ErrorCodesEnum["ERROR_WRAPPER"] = "ERROR_WRAPPER";
2203
2241
  /** A GraphQL validation error has occurred. Please make sure that the GraphQL request is made with correct syntax or parameters. */
2204
2242
  ErrorCodesEnum["GRAPHQL_VALIDATION_FAILED"] = "GRAPHQL_VALIDATION_FAILED";
2243
+ /** The Hosting service is not accessible. Please contact Axinom support. */
2244
+ ErrorCodesEnum["HOSTING_SERVICE_NOT_ACCESSIBLE"] = "HOSTING_SERVICE_NOT_ACCESSIBLE";
2205
2245
  /** The Identity service is not accessible. Please contact Axinom support. */
2206
2246
  ErrorCodesEnum["IDENTITY_SERVICE_NOT_ACCESSIBLE"] = "IDENTITY_SERVICE_NOT_ACCESSIBLE";
2207
2247
  /** An unhandled and unexpected error has occurred. Please contact the service support. */
@@ -2232,6 +2272,8 @@ var ErrorCodesEnum;
2232
2272
  ErrorCodesEnum["NOT_GENERIC_AUTHENTICATED_SUBJECT"] = "NOT_GENERIC_AUTHENTICATED_SUBJECT";
2233
2273
  /** The object is not a ManagementAuthenticationContext */
2234
2274
  ErrorCodesEnum["NOT_MANAGEMENT_AUTHENTICATION_CONTEXT"] = "NOT_MANAGEMENT_AUTHENTICATION_CONTEXT";
2275
+ /** The %s is missing required properties: %s. */
2276
+ ErrorCodesEnum["OBJECT_IS_MISSING_PROPERTIES"] = "OBJECT_IS_MISSING_PROPERTIES";
2235
2277
  /** Service Configuration does not exist for the environment. */
2236
2278
  ErrorCodesEnum["SERVICE_CONFIG_ERROR"] = "SERVICE_CONFIG_ERROR";
2237
2279
  /** Session ID not found. Cannot set an Active Profile. */
@@ -2240,16 +2282,36 @@ var ErrorCodesEnum;
2240
2282
  ErrorCodesEnum["SIGNING_KEY_NOT_FOUND"] = "SIGNING_KEY_NOT_FOUND";
2241
2283
  /** An application startup error has occurred. The actual message will have more information. */
2242
2284
  ErrorCodesEnum["STARTUP_ERROR"] = "STARTUP_ERROR";
2285
+ /** User is authenticated, but subject information was not found. Please contact Axinom Support. */
2286
+ ErrorCodesEnum["SUBJECT_INFORMATION_NOT_FOUND"] = "SUBJECT_INFORMATION_NOT_FOUND";
2287
+ /** Unable to get the %s secret. Please contact Axinom Support. */
2288
+ ErrorCodesEnum["UNABLE_TO_GET_SECRET"] = "UNABLE_TO_GET_SECRET";
2289
+ /** Unable to set the %s secret. Please contact Axinom Support. */
2290
+ ErrorCodesEnum["UNABLE_TO_SET_SECRET"] = "UNABLE_TO_SET_SECRET";
2243
2291
  /** An unhandled database-related error has occurred. Please contact the service support. */
2244
2292
  ErrorCodesEnum["UNHANDLED_DATABASE_ERROR"] = "UNHANDLED_DATABASE_ERROR";
2245
2293
  /** An unhandled error has occurred. Please contact the service support. */
2246
2294
  ErrorCodesEnum["UNHANDLED_ERROR"] = "UNHANDLED_ERROR";
2247
2295
  /** Cannot delete the user account without signing in. */
2248
2296
  ErrorCodesEnum["USER_ACCOUNT_DELETE_NOT_ALLOWED"] = "USER_ACCOUNT_DELETE_NOT_ALLOWED";
2297
+ /** No payload was found in User Info Retrieval webhook response. */
2298
+ ErrorCodesEnum["USER_INFO_WEBHOOK_RESPONSE_PAYLOAD_NOT_FOUND"] = "USER_INFO_WEBHOOK_RESPONSE_PAYLOAD_NOT_FOUND";
2249
2299
  /** User is not authorized to access the operation. */
2250
2300
  ErrorCodesEnum["USER_NOT_AUTHORIZED"] = "USER_NOT_AUTHORIZED";
2251
2301
  /** The User service is not accessible. Please contact Axinom support. */
2252
2302
  ErrorCodesEnum["USER_SERVICE_NOT_ACCESSIBLE"] = "USER_SERVICE_NOT_ACCESSIBLE";
2303
+ /** The %s is not an object. */
2304
+ ErrorCodesEnum["VALUE_IS_NOT_OBJECT"] = "VALUE_IS_NOT_OBJECT";
2305
+ /** Unable to make a request to the webhook URL '%s'. Please make sure that the endpoint is reachable. */
2306
+ ErrorCodesEnum["WEBHOOK_ENDPOINT_NOT_REACHABLE"] = "WEBHOOK_ENDPOINT_NOT_REACHABLE";
2307
+ /** A webhook request has failed. A more concrete error message will be returned with this code. */
2308
+ ErrorCodesEnum["WEBHOOK_REQUEST_FAILURE"] = "WEBHOOK_REQUEST_FAILURE";
2309
+ /** The webhook for the URL '%s' responded with error(s). Please check the details for more information. */
2310
+ ErrorCodesEnum["WEBHOOK_RESPONDED_WITH_ERRORS"] = "WEBHOOK_RESPONDED_WITH_ERRORS";
2311
+ /** The request to get the %s secret succeeded, but the secret was not found. Please contact Axinom Support. */
2312
+ ErrorCodesEnum["WEBHOOK_SECRET_NOT_FOUND"] = "WEBHOOK_SECRET_NOT_FOUND";
2313
+ /** The %s secret is not set. Please call an appropriate mutation to generate it. */
2314
+ ErrorCodesEnum["WEBHOOK_SECRET_NOT_SET"] = "WEBHOOK_SECRET_NOT_SET";
2253
2315
  /** Websocket not found in ExtendedGraphQLContext. This is a development time issue. A reference to the websocket must be included in Postgraphile build options. */
2254
2316
  ErrorCodesEnum["WEBSOCKET_NOT_FOUND"] = "WEBSOCKET_NOT_FOUND";
2255
2317
  })(ErrorCodesEnum || (ErrorCodesEnum = {}));