@faable/auth-sdk 1.3.9 → 1.3.10

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.
@@ -342,7 +342,7 @@ export declare class FaableAuthApi extends FaableApi {
342
342
  all: () => Promise<{
343
343
  id: string;
344
344
  connection_name: string;
345
- connection_type: string;
345
+ connection_type: "custom" | "database" | "github" | "figma" | "google_oauth2" | "oidc";
346
346
  authorize_url: string;
347
347
  token_url: string;
348
348
  userinfo_url: string;
@@ -367,7 +367,7 @@ export declare class FaableAuthApi extends FaableApi {
367
367
  first: () => Promise<import("@faable/sdk-base/dist/helpers/paginator.js").Page<{
368
368
  id: string;
369
369
  connection_name: string;
370
- connection_type: string;
370
+ connection_type: "custom" | "database" | "github" | "figma" | "google_oauth2" | "oidc";
371
371
  authorize_url: string;
372
372
  token_url: string;
373
373
  userinfo_url: string;
@@ -395,7 +395,7 @@ export declare class FaableAuthApi extends FaableApi {
395
395
  } | undefined) => Promise<import("@faable/sdk-base/dist/helpers/paginator.js").Page<{
396
396
  id: string;
397
397
  connection_name: string;
398
- connection_type: string;
398
+ connection_type: "custom" | "database" | "github" | "figma" | "google_oauth2" | "oidc";
399
399
  authorize_url: string;
400
400
  token_url: string;
401
401
  userinfo_url: string;
@@ -421,7 +421,7 @@ export declare class FaableAuthApi extends FaableApi {
421
421
  getConection(connection_id: string): Promise<{
422
422
  id: string;
423
423
  connection_name: string;
424
- connection_type: string;
424
+ connection_type: "custom" | "database" | "github" | "figma" | "google_oauth2" | "oidc";
425
425
  authorize_url: string;
426
426
  token_url: string;
427
427
  userinfo_url: string;
@@ -513,7 +513,7 @@ export declare class FaableAuthApi extends FaableApi {
513
513
  getClient(client_id: string): Promise<{
514
514
  id: string;
515
515
  connection_name: string;
516
- connection_type: string;
516
+ connection_type: "custom" | "database" | "github" | "figma" | "google_oauth2" | "oidc";
517
517
  authorize_url: string;
518
518
  token_url: string;
519
519
  userinfo_url: string;
@@ -1819,7 +1819,7 @@ export interface components {
1819
1819
  /** @description Connection ID */
1820
1820
  id: string;
1821
1821
  connection_name: string;
1822
- connection_type: string;
1822
+ connection_type: "database" | "custom" | "github" | "figma" | "google_oauth2" | "oidc";
1823
1823
  /** @default null */
1824
1824
  authorize_url: string;
1825
1825
  /** @default null */
@@ -2679,12 +2679,13 @@ export interface components {
2679
2679
  id: string;
2680
2680
  domain: string;
2681
2681
  token: string;
2682
- status: string;
2682
+ status: "PENDING" | "VERIFYING" | "ACTIVE" | "FAILED" | "DEGRADED";
2683
2683
  attempts: number;
2684
2684
  /** Format: date-time */
2685
2685
  nextCheck?: string;
2686
2686
  /** Format: date-time */
2687
2687
  lastCheck?: string;
2688
+ /** @description User feedback error from last check */
2688
2689
  errorLog?: string;
2689
2690
  /** Format: date-time */
2690
2691
  verifiedAt?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@faable/auth-sdk",
3
- "version": "1.3.9",
3
+ "version": "1.3.10",
4
4
  "author": "Marc Pomar <marc@faable.com>",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",