@faable/auth-sdk 2.5.31 → 2.5.33

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.
@@ -65,6 +65,7 @@ export declare class FaableAuthApi extends GeneratedFaableAuthApi {
65
65
  email_verified_at?: string | null | undefined;
66
66
  email_change_locked_at?: string | null | undefined;
67
67
  email_bounced_at?: string | null | undefined;
68
+ welcome_sent_at?: string | null | undefined;
68
69
  phone?: string | null | undefined;
69
70
  phone_verified: boolean;
70
71
  phone_verified_method?: "manual" | "verification_flow" | "passwordless_otp" | "team_invite" | "email_change" | "federated" | null | undefined;
@@ -119,6 +120,7 @@ export declare class FaableAuthApi extends GeneratedFaableAuthApi {
119
120
  email_verified_at?: string | null | undefined;
120
121
  email_change_locked_at?: string | null | undefined;
121
122
  email_bounced_at?: string | null | undefined;
123
+ welcome_sent_at?: string | null | undefined;
122
124
  phone?: string | null | undefined;
123
125
  phone_verified: boolean;
124
126
  phone_verified_method?: "manual" | "verification_flow" | "passwordless_otp" | "team_invite" | "email_change" | "federated" | null | undefined;
@@ -176,6 +178,7 @@ export declare class FaableAuthApi extends GeneratedFaableAuthApi {
176
178
  email_verified_at?: string | null | undefined;
177
179
  email_change_locked_at?: string | null | undefined;
178
180
  email_bounced_at?: string | null | undefined;
181
+ welcome_sent_at?: string | null | undefined;
179
182
  phone?: string | null | undefined;
180
183
  phone_verified: boolean;
181
184
  phone_verified_method?: "manual" | "verification_flow" | "passwordless_otp" | "team_invite" | "email_change" | "federated" | null | undefined;
@@ -232,6 +235,7 @@ export declare class FaableAuthApi extends GeneratedFaableAuthApi {
232
235
  email_verified_at?: string | null | undefined;
233
236
  email_change_locked_at?: string | null | undefined;
234
237
  email_bounced_at?: string | null | undefined;
238
+ welcome_sent_at?: string | null | undefined;
235
239
  phone?: string | null | undefined;
236
240
  phone_verified: boolean;
237
241
  phone_verified_method?: "manual" | "verification_flow" | "passwordless_otp" | "team_invite" | "email_change" | "federated" | null | undefined;
@@ -287,6 +291,7 @@ export declare class FaableAuthApi extends GeneratedFaableAuthApi {
287
291
  email_verified_at?: string | null | undefined;
288
292
  email_change_locked_at?: string | null | undefined;
289
293
  email_bounced_at?: string | null | undefined;
294
+ welcome_sent_at?: string | null | undefined;
290
295
  phone?: string | null | undefined;
291
296
  phone_verified: boolean;
292
297
  phone_verified_method?: "manual" | "verification_flow" | "passwordless_otp" | "team_invite" | "email_change" | "federated" | null | undefined;
@@ -342,6 +347,7 @@ export declare class FaableAuthApi extends GeneratedFaableAuthApi {
342
347
  email_verified_at?: string | null | undefined;
343
348
  email_change_locked_at?: string | null | undefined;
344
349
  email_bounced_at?: string | null | undefined;
350
+ welcome_sent_at?: string | null | undefined;
345
351
  phone?: string | null | undefined;
346
352
  phone_verified: boolean;
347
353
  phone_verified_method?: "manual" | "verification_flow" | "passwordless_otp" | "team_invite" | "email_change" | "federated" | null | undefined;
@@ -2604,6 +2604,7 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
2604
2604
  email_verified_at?: string | null | undefined;
2605
2605
  email_change_locked_at?: string | null | undefined;
2606
2606
  email_bounced_at?: string | null | undefined;
2607
+ welcome_sent_at?: string | null | undefined;
2607
2608
  phone?: string | null | undefined;
2608
2609
  phone_verified: boolean;
2609
2610
  phone_verified_method?: "manual" | "verification_flow" | "passwordless_otp" | "team_invite" | "email_change" | "federated" | null | undefined;
@@ -2663,6 +2664,7 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
2663
2664
  email_verified_at?: string | null | undefined;
2664
2665
  email_change_locked_at?: string | null | undefined;
2665
2666
  email_bounced_at?: string | null | undefined;
2667
+ welcome_sent_at?: string | null | undefined;
2666
2668
  phone?: string | null | undefined;
2667
2669
  phone_verified: boolean;
2668
2670
  phone_verified_method?: "manual" | "verification_flow" | "passwordless_otp" | "team_invite" | "email_change" | "federated" | null | undefined;
@@ -2722,6 +2724,7 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
2722
2724
  email_verified_at?: string | null | undefined;
2723
2725
  email_change_locked_at?: string | null | undefined;
2724
2726
  email_bounced_at?: string | null | undefined;
2727
+ welcome_sent_at?: string | null | undefined;
2725
2728
  phone?: string | null | undefined;
2726
2729
  phone_verified: boolean;
2727
2730
  phone_verified_method?: "manual" | "verification_flow" | "passwordless_otp" | "team_invite" | "email_change" | "federated" | null | undefined;
@@ -2782,6 +2785,7 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
2782
2785
  email_verified_at?: string | null | undefined;
2783
2786
  email_change_locked_at?: string | null | undefined;
2784
2787
  email_bounced_at?: string | null | undefined;
2788
+ welcome_sent_at?: string | null | undefined;
2785
2789
  phone?: string | null | undefined;
2786
2790
  phone_verified: boolean;
2787
2791
  phone_verified_method?: "manual" | "verification_flow" | "passwordless_otp" | "team_invite" | "email_change" | "federated" | null | undefined;
@@ -2836,6 +2840,7 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
2836
2840
  email_verified_at?: string | null | undefined;
2837
2841
  email_change_locked_at?: string | null | undefined;
2838
2842
  email_bounced_at?: string | null | undefined;
2843
+ welcome_sent_at?: string | null | undefined;
2839
2844
  phone?: string | null | undefined;
2840
2845
  phone_verified: boolean;
2841
2846
  phone_verified_method?: "manual" | "verification_flow" | "passwordless_otp" | "team_invite" | "email_change" | "federated" | null | undefined;
@@ -2893,6 +2898,7 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
2893
2898
  email_verified_at?: string | null | undefined;
2894
2899
  email_change_locked_at?: string | null | undefined;
2895
2900
  email_bounced_at?: string | null | undefined;
2901
+ welcome_sent_at?: string | null | undefined;
2896
2902
  phone?: string | null | undefined;
2897
2903
  phone_verified: boolean;
2898
2904
  phone_verified_method?: "manual" | "verification_flow" | "passwordless_otp" | "team_invite" | "email_change" | "federated" | null | undefined;
@@ -2963,6 +2969,7 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
2963
2969
  email_verified_at?: string | null | undefined;
2964
2970
  email_change_locked_at?: string | null | undefined;
2965
2971
  email_bounced_at?: string | null | undefined;
2972
+ welcome_sent_at?: string | null | undefined;
2966
2973
  phone?: string | null | undefined;
2967
2974
  phone_verified: boolean;
2968
2975
  phone_verified_method?: "manual" | "verification_flow" | "passwordless_otp" | "team_invite" | "email_change" | "federated" | null | undefined;
@@ -2058,6 +2058,8 @@ export interface components {
2058
2058
  email_change_locked_at?: string | null;
2059
2059
  /** @description ISO 8601 timestamp of the last Postmark hard bounce / spam complaint for this address. When set, the email is treated as undeliverable and no further emails are sent to the user until the address changes. */
2060
2060
  email_bounced_at?: string | null;
2061
+ /** @description ISO 8601 timestamp of the built-in welcome email send. Set once by the platform; guarantees at most one welcome per user. */
2062
+ welcome_sent_at?: string | null;
2061
2063
  /** @description contact phone number */
2062
2064
  phone?: string | null;
2063
2065
  /** @description phone is verified */
@@ -4759,6 +4761,8 @@ export interface operations {
4759
4761
  email_change_locked_at?: string | null;
4760
4762
  /** @description ISO 8601 timestamp of the last Postmark hard bounce / spam complaint for this address. When set, the email is treated as undeliverable and no further emails are sent to the user until the address changes. */
4761
4763
  email_bounced_at?: string | null;
4764
+ /** @description ISO 8601 timestamp of the built-in welcome email send. Set once by the platform; guarantees at most one welcome per user. */
4765
+ welcome_sent_at?: string | null;
4762
4766
  /** @description contact phone number */
4763
4767
  phone?: string | null;
4764
4768
  /** @description phone is verified */
@@ -4891,6 +4895,8 @@ export interface operations {
4891
4895
  email_change_locked_at?: string | null;
4892
4896
  /** @description ISO 8601 timestamp of the last Postmark hard bounce / spam complaint for this address. When set, the email is treated as undeliverable and no further emails are sent to the user until the address changes. */
4893
4897
  email_bounced_at?: string | null;
4898
+ /** @description ISO 8601 timestamp of the built-in welcome email send. Set once by the platform; guarantees at most one welcome per user. */
4899
+ welcome_sent_at?: string | null;
4894
4900
  /** @description contact phone number */
4895
4901
  phone?: string | null;
4896
4902
  /** @description phone is verified */
@@ -5063,6 +5069,8 @@ export interface operations {
5063
5069
  email_change_locked_at?: string | null;
5064
5070
  /** @description ISO 8601 timestamp of the last Postmark hard bounce / spam complaint for this address. When set, the email is treated as undeliverable and no further emails are sent to the user until the address changes. */
5065
5071
  email_bounced_at?: string | null;
5072
+ /** @description ISO 8601 timestamp of the built-in welcome email send. Set once by the platform; guarantees at most one welcome per user. */
5073
+ welcome_sent_at?: string | null;
5066
5074
  /** @description contact phone number */
5067
5075
  phone?: string | null;
5068
5076
  /** @description phone is verified */
@@ -5195,6 +5203,8 @@ export interface operations {
5195
5203
  email_change_locked_at?: string | null;
5196
5204
  /** @description ISO 8601 timestamp of the last Postmark hard bounce / spam complaint for this address. When set, the email is treated as undeliverable and no further emails are sent to the user until the address changes. */
5197
5205
  email_bounced_at?: string | null;
5206
+ /** @description ISO 8601 timestamp of the built-in welcome email send. Set once by the platform; guarantees at most one welcome per user. */
5207
+ welcome_sent_at?: string | null;
5198
5208
  /** @description contact phone number */
5199
5209
  phone?: string | null;
5200
5210
  /** @description phone is verified */
@@ -8818,6 +8828,8 @@ export interface operations {
8818
8828
  email_change_locked_at?: string | null;
8819
8829
  /** @description ISO 8601 timestamp of the last Postmark hard bounce / spam complaint for this address. When set, the email is treated as undeliverable and no further emails are sent to the user until the address changes. */
8820
8830
  email_bounced_at?: string | null;
8831
+ /** @description ISO 8601 timestamp of the built-in welcome email send. Set once by the platform; guarantees at most one welcome per user. */
8832
+ welcome_sent_at?: string | null;
8821
8833
  /** @description contact phone number */
8822
8834
  phone?: string | null;
8823
8835
  /** @description phone is verified */
@@ -8946,6 +8958,8 @@ export interface operations {
8946
8958
  code_challenge?: string;
8947
8959
  /** @description Same-origin path to return the user to after authentication, instead of the OAuth client redirect. Used by first-party interactive flows (e.g. device-code confirm). Non same-origin values are ignored. */
8948
8960
  redirect_to?: string;
8961
+ /** @description Link mode: attach the resulting provider identity to the ACTIVE session user instead of signing in or up. Requires a session; incompatible with prompt=login/consent. */
8962
+ link?: boolean;
8949
8963
  client_id: string;
8950
8964
  /** @description Deprecated. Use connection_id */
8951
8965
  connection?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@faable/auth-sdk",
3
- "version": "2.5.31",
3
+ "version": "2.5.33",
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.42.3",
6
+ "version": "1.43.1",
7
7
  "license": {
8
8
  "name": "private",
9
9
  "url": "https://faable.com/docs/platform/privacy-policy"
@@ -1278,6 +1278,11 @@
1278
1278
  "description": "ISO 8601 timestamp of the last Postmark hard bounce / spam complaint for this address. When set, the email is treated as undeliverable and no further emails are sent to the user until the address changes.",
1279
1279
  "nullable": true
1280
1280
  },
1281
+ "welcome_sent_at": {
1282
+ "type": "string",
1283
+ "description": "ISO 8601 timestamp of the built-in welcome email send. Set once by the platform; guarantees at most one welcome per user.",
1284
+ "nullable": true
1285
+ },
1281
1286
  "phone": {
1282
1287
  "type": "string",
1283
1288
  "description": "contact phone number",
@@ -8465,6 +8470,11 @@
8465
8470
  "description": "ISO 8601 timestamp of the last Postmark hard bounce / spam complaint for this address. When set, the email is treated as undeliverable and no further emails are sent to the user until the address changes.",
8466
8471
  "nullable": true
8467
8472
  },
8473
+ "welcome_sent_at": {
8474
+ "type": "string",
8475
+ "description": "ISO 8601 timestamp of the built-in welcome email send. Set once by the platform; guarantees at most one welcome per user.",
8476
+ "nullable": true
8477
+ },
8468
8478
  "phone": {
8469
8479
  "type": "string",
8470
8480
  "description": "contact phone number",
@@ -8818,6 +8828,11 @@
8818
8828
  "description": "ISO 8601 timestamp of the last Postmark hard bounce / spam complaint for this address. When set, the email is treated as undeliverable and no further emails are sent to the user until the address changes.",
8819
8829
  "nullable": true
8820
8830
  },
8831
+ "welcome_sent_at": {
8832
+ "type": "string",
8833
+ "description": "ISO 8601 timestamp of the built-in welcome email send. Set once by the platform; guarantees at most one welcome per user.",
8834
+ "nullable": true
8835
+ },
8821
8836
  "phone": {
8822
8837
  "type": "string",
8823
8838
  "description": "contact phone number",
@@ -9250,6 +9265,11 @@
9250
9265
  "description": "ISO 8601 timestamp of the last Postmark hard bounce / spam complaint for this address. When set, the email is treated as undeliverable and no further emails are sent to the user until the address changes.",
9251
9266
  "nullable": true
9252
9267
  },
9268
+ "welcome_sent_at": {
9269
+ "type": "string",
9270
+ "description": "ISO 8601 timestamp of the built-in welcome email send. Set once by the platform; guarantees at most one welcome per user.",
9271
+ "nullable": true
9272
+ },
9253
9273
  "phone": {
9254
9274
  "type": "string",
9255
9275
  "description": "contact phone number",
@@ -9601,6 +9621,11 @@
9601
9621
  "description": "ISO 8601 timestamp of the last Postmark hard bounce / spam complaint for this address. When set, the email is treated as undeliverable and no further emails are sent to the user until the address changes.",
9602
9622
  "nullable": true
9603
9623
  },
9624
+ "welcome_sent_at": {
9625
+ "type": "string",
9626
+ "description": "ISO 8601 timestamp of the built-in welcome email send. Set once by the platform; guarantees at most one welcome per user.",
9627
+ "nullable": true
9628
+ },
9604
9629
  "phone": {
9605
9630
  "type": "string",
9606
9631
  "description": "contact phone number",
@@ -17945,6 +17970,11 @@
17945
17970
  "description": "ISO 8601 timestamp of the last Postmark hard bounce / spam complaint for this address. When set, the email is treated as undeliverable and no further emails are sent to the user until the address changes.",
17946
17971
  "nullable": true
17947
17972
  },
17973
+ "welcome_sent_at": {
17974
+ "type": "string",
17975
+ "description": "ISO 8601 timestamp of the built-in welcome email send. Set once by the platform; guarantees at most one welcome per user.",
17976
+ "nullable": true
17977
+ },
17948
17978
  "phone": {
17949
17979
  "type": "string",
17950
17980
  "description": "contact phone number",
@@ -18278,6 +18308,15 @@
18278
18308
  "required": false,
18279
18309
  "description": "Same-origin path to return the user to after authentication, instead of the OAuth client redirect. Used by first-party interactive flows (e.g. device-code confirm). Non same-origin values are ignored."
18280
18310
  },
18311
+ {
18312
+ "schema": {
18313
+ "type": "boolean"
18314
+ },
18315
+ "in": "query",
18316
+ "name": "link",
18317
+ "required": false,
18318
+ "description": "Link mode: attach the resulting provider identity to the ACTIVE session user instead of signing in or up. Requires a session; incompatible with prompt=login/consent."
18319
+ },
18281
18320
  {
18282
18321
  "schema": {
18283
18322
  "type": "string"