@inneropen/marvin-sdk 1.10.3 → 1.10.5
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.cjs +1 -0
- package/dist/index.d.cts +9 -5
- package/dist/index.d.ts +9 -5
- package/dist/index.js +1 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
package/dist/index.d.cts
CHANGED
|
@@ -517,8 +517,14 @@ declare class MarvinClient {
|
|
|
517
517
|
interface UserRegistration {
|
|
518
518
|
username: string;
|
|
519
519
|
email: string;
|
|
520
|
+
full_name: string;
|
|
520
521
|
password: string;
|
|
521
|
-
|
|
522
|
+
password_confirm: string;
|
|
523
|
+
group_token?: string | null;
|
|
524
|
+
group?: string | null;
|
|
525
|
+
advanced?: boolean;
|
|
526
|
+
private?: boolean;
|
|
527
|
+
seed_data?: boolean;
|
|
522
528
|
}
|
|
523
529
|
interface ForgotPasswordRequest {
|
|
524
530
|
email: string;
|
|
@@ -539,11 +545,9 @@ declare class AuthClient extends HttpClient {
|
|
|
539
545
|
constructor(apiUrl: string);
|
|
540
546
|
/**
|
|
541
547
|
* Register a new user
|
|
548
|
+
* Returns the created user object
|
|
542
549
|
*/
|
|
543
|
-
register(data: UserRegistration): Promise<
|
|
544
|
-
message: string;
|
|
545
|
-
userId: string;
|
|
546
|
-
}>;
|
|
550
|
+
register(data: UserRegistration): Promise<any>;
|
|
547
551
|
/**
|
|
548
552
|
* Request password reset (sends email with token)
|
|
549
553
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -517,8 +517,14 @@ declare class MarvinClient {
|
|
|
517
517
|
interface UserRegistration {
|
|
518
518
|
username: string;
|
|
519
519
|
email: string;
|
|
520
|
+
full_name: string;
|
|
520
521
|
password: string;
|
|
521
|
-
|
|
522
|
+
password_confirm: string;
|
|
523
|
+
group_token?: string | null;
|
|
524
|
+
group?: string | null;
|
|
525
|
+
advanced?: boolean;
|
|
526
|
+
private?: boolean;
|
|
527
|
+
seed_data?: boolean;
|
|
522
528
|
}
|
|
523
529
|
interface ForgotPasswordRequest {
|
|
524
530
|
email: string;
|
|
@@ -539,11 +545,9 @@ declare class AuthClient extends HttpClient {
|
|
|
539
545
|
constructor(apiUrl: string);
|
|
540
546
|
/**
|
|
541
547
|
* Register a new user
|
|
548
|
+
* Returns the created user object
|
|
542
549
|
*/
|
|
543
|
-
register(data: UserRegistration): Promise<
|
|
544
|
-
message: string;
|
|
545
|
-
userId: string;
|
|
546
|
-
}>;
|
|
550
|
+
register(data: UserRegistration): Promise<any>;
|
|
547
551
|
/**
|
|
548
552
|
* Request password reset (sends email with token)
|
|
549
553
|
*/
|
package/dist/index.js
CHANGED