@faable/auth-sdk 2.4.23 → 2.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1348,6 +1348,13 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
1348
1348
  lastCheck?: string | undefined;
1349
1349
  errorLog?: string | undefined;
1350
1350
  verifiedAt?: string | undefined;
1351
+ records?: {
1352
+ type: string;
1353
+ host: string;
1354
+ expected: string;
1355
+ observed: string[];
1356
+ ok: boolean;
1357
+ }[] | undefined;
1351
1358
  account: string;
1352
1359
  metadata: {
1353
1360
  [key: string]: unknown;
@@ -1370,6 +1377,13 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
1370
1377
  lastCheck?: string | undefined;
1371
1378
  errorLog?: string | undefined;
1372
1379
  verifiedAt?: string | undefined;
1380
+ records?: {
1381
+ type: string;
1382
+ host: string;
1383
+ expected: string;
1384
+ observed: string[];
1385
+ ok: boolean;
1386
+ }[] | undefined;
1373
1387
  account: string;
1374
1388
  metadata: {
1375
1389
  [key: string]: unknown;
@@ -1392,6 +1406,13 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
1392
1406
  lastCheck?: string | undefined;
1393
1407
  errorLog?: string | undefined;
1394
1408
  verifiedAt?: string | undefined;
1409
+ records?: {
1410
+ type: string;
1411
+ host: string;
1412
+ expected: string;
1413
+ observed: string[];
1414
+ ok: boolean;
1415
+ }[] | undefined;
1395
1416
  account: string;
1396
1417
  metadata: {
1397
1418
  [key: string]: unknown;
@@ -1415,6 +1436,13 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
1415
1436
  lastCheck?: string | undefined;
1416
1437
  errorLog?: string | undefined;
1417
1438
  verifiedAt?: string | undefined;
1439
+ records?: {
1440
+ type: string;
1441
+ host: string;
1442
+ expected: string;
1443
+ observed: string[];
1444
+ ok: boolean;
1445
+ }[] | undefined;
1418
1446
  account: string;
1419
1447
  metadata: {
1420
1448
  [key: string]: unknown;
@@ -1432,6 +1460,13 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
1432
1460
  lastCheck?: string | undefined;
1433
1461
  errorLog?: string | undefined;
1434
1462
  verifiedAt?: string | undefined;
1463
+ records?: {
1464
+ type: string;
1465
+ host: string;
1466
+ expected: string;
1467
+ observed: string[];
1468
+ ok: boolean;
1469
+ }[] | undefined;
1435
1470
  account: string;
1436
1471
  metadata: {
1437
1472
  [key: string]: unknown;
@@ -1452,6 +1487,13 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
1452
1487
  lastCheck?: string | undefined;
1453
1488
  errorLog?: string | undefined;
1454
1489
  verifiedAt?: string | undefined;
1490
+ records?: {
1491
+ type: string;
1492
+ host: string;
1493
+ expected: string;
1494
+ observed: string[];
1495
+ ok: boolean;
1496
+ }[] | undefined;
1455
1497
  account: string;
1456
1498
  metadata: {
1457
1499
  [key: string]: unknown;
@@ -1463,7 +1505,7 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
1463
1505
  /**
1464
1506
  * `POST /customdomain/{customdomain_id}/retry` — operationId: `customdomain/retry`
1465
1507
  *
1466
- * Retry manual domain verification
1508
+ * Trigger a domain verification check now
1467
1509
  */
1468
1510
  customdomainRetry(customdomain_id: string): Promise<void>;
1469
1511
  /**
@@ -346,7 +346,7 @@ export class GeneratedFaableAuthApi extends FaableApi {
346
346
  /**
347
347
  * `POST /customdomain/{customdomain_id}/retry` — operationId: `customdomain/retry`
348
348
  *
349
- * Retry manual domain verification
349
+ * Trigger a domain verification check now
350
350
  */
351
351
  customdomainRetry(customdomain_id) {
352
352
  requireId("customdomain_id", customdomain_id);
@@ -1102,8 +1102,8 @@ export interface paths {
1102
1102
  get?: never;
1103
1103
  put?: never;
1104
1104
  /**
1105
- * Retry manual domain verification
1106
- * @description Forces a re-verification of a Custom Domain that is in FAILED, DEGRADED or VERIFYING state. Rate-limited to one retry per minute.
1105
+ * Trigger a domain verification check now
1106
+ * @description Forces an immediate DNS re-check of a Custom Domain in any state. Rate-limited to one check per minute. A verified (ACTIVE) domain stays ACTIVE while it is re-checked; any other state moves to VERIFYING.
1107
1107
  */
1108
1108
  post: operations["customdomain/retry"];
1109
1109
  delete?: never;
@@ -3055,6 +3055,14 @@ export interface components {
3055
3055
  errorLog?: string;
3056
3056
  /** Format: date-time */
3057
3057
  verifiedAt?: string;
3058
+ /** @description Per-record DNS status from the last check: what each record points to now vs. expected */
3059
+ records?: {
3060
+ type: string;
3061
+ host: string;
3062
+ expected: string;
3063
+ observed: string[];
3064
+ ok: boolean;
3065
+ }[];
3058
3066
  /** @description Object is related with this account */
3059
3067
  account: string;
3060
3068
  /**
@@ -8420,6 +8428,14 @@ export interface operations {
8420
8428
  errorLog?: string;
8421
8429
  /** Format: date-time */
8422
8430
  verifiedAt?: string;
8431
+ /** @description Per-record DNS status from the last check: what each record points to now vs. expected */
8432
+ records?: {
8433
+ type: string;
8434
+ host: string;
8435
+ expected: string;
8436
+ observed: string[];
8437
+ ok: boolean;
8438
+ }[];
8423
8439
  /** @description Object is related with this account */
8424
8440
  account: string;
8425
8441
  /**
@@ -8471,6 +8487,14 @@ export interface operations {
8471
8487
  errorLog?: string;
8472
8488
  /** Format: date-time */
8473
8489
  verifiedAt?: string;
8490
+ /** @description Per-record DNS status from the last check: what each record points to now vs. expected */
8491
+ records?: {
8492
+ type: string;
8493
+ host: string;
8494
+ expected: string;
8495
+ observed: string[];
8496
+ ok: boolean;
8497
+ }[];
8474
8498
  /** @description Object is related with this account */
8475
8499
  account: string;
8476
8500
  /**
@@ -8522,6 +8546,14 @@ export interface operations {
8522
8546
  errorLog?: string;
8523
8547
  /** Format: date-time */
8524
8548
  verifiedAt?: string;
8549
+ /** @description Per-record DNS status from the last check: what each record points to now vs. expected */
8550
+ records?: {
8551
+ type: string;
8552
+ host: string;
8553
+ expected: string;
8554
+ observed: string[];
8555
+ ok: boolean;
8556
+ }[];
8525
8557
  /** @description Object is related with this account */
8526
8558
  account: string;
8527
8559
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@faable/auth-sdk",
3
- "version": "2.4.23",
3
+ "version": "2.5.0",
4
4
  "author": "Marc Pomar <marc@faable.com>",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/spec/openapi.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "info": {
4
4
  "title": "@faablecloud/auth",
5
5
  "description": "Auth Platform made by Faable. Manage Users and Roles",
6
- "version": "1.28.0",
6
+ "version": "0.0.0-dev",
7
7
  "license": {
8
8
  "name": "private",
9
9
  "url": "https://faable.com/docs/platform/privacy-policy"
@@ -3684,6 +3684,40 @@
3684
3684
  "type": "string",
3685
3685
  "format": "date-time"
3686
3686
  },
3687
+ "records": {
3688
+ "type": "array",
3689
+ "items": {
3690
+ "type": "object",
3691
+ "required": [
3692
+ "type",
3693
+ "host",
3694
+ "expected",
3695
+ "observed",
3696
+ "ok"
3697
+ ],
3698
+ "properties": {
3699
+ "type": {
3700
+ "type": "string"
3701
+ },
3702
+ "host": {
3703
+ "type": "string"
3704
+ },
3705
+ "expected": {
3706
+ "type": "string"
3707
+ },
3708
+ "observed": {
3709
+ "type": "array",
3710
+ "items": {
3711
+ "type": "string"
3712
+ }
3713
+ },
3714
+ "ok": {
3715
+ "type": "boolean"
3716
+ }
3717
+ }
3718
+ },
3719
+ "description": "Per-record DNS status from the last check: what each record points to now vs. expected"
3720
+ },
3687
3721
  "account": {
3688
3722
  "type": "string",
3689
3723
  "description": "Object is related with this account"
@@ -16929,11 +16963,11 @@
16929
16963
  "/customdomain/{customdomain_id}/retry": {
16930
16964
  "post": {
16931
16965
  "operationId": "customdomain/retry",
16932
- "summary": "Retry manual domain verification",
16966
+ "summary": "Trigger a domain verification check now",
16933
16967
  "tags": [
16934
16968
  "customdomain"
16935
16969
  ],
16936
- "description": "Forces a re-verification of a Custom Domain that is in FAILED, DEGRADED or VERIFYING state. Rate-limited to one retry per minute.",
16970
+ "description": "Forces an immediate DNS re-check of a Custom Domain in any state. Rate-limited to one check per minute. A verified (ACTIVE) domain stays ACTIVE while it is re-checked; any other state moves to VERIFYING.",
16937
16971
  "security": [
16938
16972
  {
16939
16973
  "bearerAuth": []
@@ -17150,6 +17184,40 @@
17150
17184
  "type": "string",
17151
17185
  "format": "date-time"
17152
17186
  },
17187
+ "records": {
17188
+ "type": "array",
17189
+ "items": {
17190
+ "type": "object",
17191
+ "required": [
17192
+ "type",
17193
+ "host",
17194
+ "expected",
17195
+ "observed",
17196
+ "ok"
17197
+ ],
17198
+ "properties": {
17199
+ "type": {
17200
+ "type": "string"
17201
+ },
17202
+ "host": {
17203
+ "type": "string"
17204
+ },
17205
+ "expected": {
17206
+ "type": "string"
17207
+ },
17208
+ "observed": {
17209
+ "type": "array",
17210
+ "items": {
17211
+ "type": "string"
17212
+ }
17213
+ },
17214
+ "ok": {
17215
+ "type": "boolean"
17216
+ }
17217
+ }
17218
+ },
17219
+ "description": "Per-record DNS status from the last check: what each record points to now vs. expected"
17220
+ },
17153
17221
  "account": {
17154
17222
  "type": "string",
17155
17223
  "description": "Object is related with this account"
@@ -17256,6 +17324,40 @@
17256
17324
  "type": "string",
17257
17325
  "format": "date-time"
17258
17326
  },
17327
+ "records": {
17328
+ "type": "array",
17329
+ "items": {
17330
+ "type": "object",
17331
+ "required": [
17332
+ "type",
17333
+ "host",
17334
+ "expected",
17335
+ "observed",
17336
+ "ok"
17337
+ ],
17338
+ "properties": {
17339
+ "type": {
17340
+ "type": "string"
17341
+ },
17342
+ "host": {
17343
+ "type": "string"
17344
+ },
17345
+ "expected": {
17346
+ "type": "string"
17347
+ },
17348
+ "observed": {
17349
+ "type": "array",
17350
+ "items": {
17351
+ "type": "string"
17352
+ }
17353
+ },
17354
+ "ok": {
17355
+ "type": "boolean"
17356
+ }
17357
+ }
17358
+ },
17359
+ "description": "Per-record DNS status from the last check: what each record points to now vs. expected"
17360
+ },
17259
17361
  "account": {
17260
17362
  "type": "string",
17261
17363
  "description": "Object is related with this account"
@@ -17360,6 +17462,40 @@
17360
17462
  "type": "string",
17361
17463
  "format": "date-time"
17362
17464
  },
17465
+ "records": {
17466
+ "type": "array",
17467
+ "items": {
17468
+ "type": "object",
17469
+ "required": [
17470
+ "type",
17471
+ "host",
17472
+ "expected",
17473
+ "observed",
17474
+ "ok"
17475
+ ],
17476
+ "properties": {
17477
+ "type": {
17478
+ "type": "string"
17479
+ },
17480
+ "host": {
17481
+ "type": "string"
17482
+ },
17483
+ "expected": {
17484
+ "type": "string"
17485
+ },
17486
+ "observed": {
17487
+ "type": "array",
17488
+ "items": {
17489
+ "type": "string"
17490
+ }
17491
+ },
17492
+ "ok": {
17493
+ "type": "boolean"
17494
+ }
17495
+ }
17496
+ },
17497
+ "description": "Per-record DNS status from the last check: what each record points to now vs. expected"
17498
+ },
17363
17499
  "account": {
17364
17500
  "type": "string",
17365
17501
  "description": "Object is related with this account"