@lana-commerce/core 13.1.0-alpha.16 → 13.1.0-alpha.17
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/package.json
CHANGED
|
@@ -8324,8 +8324,10 @@ export interface User {
|
|
|
8324
8324
|
logged_in_at: string;
|
|
8325
8325
|
/** Name of the user */
|
|
8326
8326
|
name: string;
|
|
8327
|
-
/** OAuth2 provider used for registering this account */
|
|
8327
|
+
/** OAuth2 provider used for registering this account (deprecated, use oauth_providers instead) */
|
|
8328
8328
|
oauth_provider?: OAuth2Provider;
|
|
8329
|
+
/** OAuth2 providers enabled for this account if any */
|
|
8330
|
+
oauth_providers: Array<OAuth2Provider>;
|
|
8329
8331
|
/** Whether user has password defined */
|
|
8330
8332
|
password_defined: boolean;
|
|
8331
8333
|
/** A set of permission bits in context of a given shop */
|
|
@@ -8369,7 +8371,7 @@ export interface UserCreate {
|
|
|
8369
8371
|
name?: string | null;
|
|
8370
8372
|
/** OAuth2 authorization code provided by the provider */
|
|
8371
8373
|
oauth_code?: string | null;
|
|
8372
|
-
/** OAuth2 provider used for registering this account */
|
|
8374
|
+
/** OAuth2 provider used for registering this account (deprecated, use oauth_providers instead) */
|
|
8373
8375
|
oauth_provider?: OAuth2Provider | null;
|
|
8374
8376
|
/** The user's password */
|
|
8375
8377
|
password?: string | null;
|
|
@@ -8433,9 +8435,11 @@ export interface UserLogin {
|
|
|
8433
8435
|
email?: string | null;
|
|
8434
8436
|
/** Your device fingerprint (internal, temporary, used for debug purposes) */
|
|
8435
8437
|
fingerprint?: string | null;
|
|
8438
|
+
/** Force login if unregistered oauth provider is used (also connects the provider) */
|
|
8439
|
+
force?: boolean | null;
|
|
8436
8440
|
/** OAuth2 authorization code provided by the provider */
|
|
8437
8441
|
oauth_code?: string | null;
|
|
8438
|
-
/** OAuth2 provider used for registering this account */
|
|
8442
|
+
/** OAuth2 provider used for registering this account (deprecated, use oauth_providers instead) */
|
|
8439
8443
|
oauth_provider?: OAuth2Provider | null;
|
|
8440
8444
|
/** The user's password */
|
|
8441
8445
|
password?: string | null;
|
|
@@ -14639,11 +14643,13 @@ export interface EndpointUsersInitWebauthn extends Endpoint<EndpointUsersInitWeb
|
|
|
14639
14643
|
extract(v: Extractor<WebauthnResponse>): EndpointUsersInitWebauthn;
|
|
14640
14644
|
}
|
|
14641
14645
|
export interface EndpointUsersOauthDelete extends Endpoint<EndpointUsersOauthDelete, void> {
|
|
14646
|
+
/** OAuth2 provider used for registering this account (deprecated, use oauth_providers instead) */
|
|
14647
|
+
provider(v: OAuth2Provider): EndpointUsersOauthDelete;
|
|
14642
14648
|
}
|
|
14643
14649
|
export interface EndpointUsersOauth extends Endpoint<EndpointUsersOauth, void> {
|
|
14644
14650
|
/** OAuth2 authorization code provided by the provider */
|
|
14645
14651
|
code(v: string): EndpointUsersOauth;
|
|
14646
|
-
/** OAuth2 provider used for registering this account */
|
|
14652
|
+
/** OAuth2 provider used for registering this account (deprecated, use oauth_providers instead) */
|
|
14647
14653
|
provider(v: OAuth2Provider): EndpointUsersOauth;
|
|
14648
14654
|
}
|
|
14649
14655
|
export interface EndpointUsersTwoFactorDelete extends Endpoint<EndpointUsersTwoFactorDelete, void> {
|