fusio-sdk 3.1.1 → 3.1.2

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.
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Identity automatically generated by SDKgen please do not edit this file manually
3
+ * {@link https://sdkgen.app}
4
+ */
5
+ export interface Identity {
6
+ id?: number;
7
+ name?: string;
8
+ icon?: string;
9
+ redirect?: string;
10
+ }
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Identity automatically generated by SDKgen please do not edit this file manually
3
+ * {@link https://sdkgen.app}
4
+ */
5
+ export {};
@@ -0,0 +1,7 @@
1
+ /**
2
+ * IdentityCollection automatically generated by SDKgen please do not edit this file manually
3
+ * {@link https://sdkgen.app}
4
+ */
5
+ import { Collection } from "./Collection";
6
+ import { Identity } from "./Identity";
7
+ export declare type IdentityCollection = Collection<Identity>;
@@ -0,0 +1,5 @@
1
+ /**
2
+ * IdentityCollection automatically generated by SDKgen please do not edit this file manually
3
+ * {@link https://sdkgen.app}
4
+ */
5
+ export {};
@@ -3,24 +3,25 @@
3
3
  * {@link https://sdkgen.app}
4
4
  */
5
5
  import { TagAbstract } from "sdkgen-client";
6
- import { UserJWT } from "./UserJWT";
6
+ import { IdentityCollection } from "./IdentityCollection";
7
+ import { Passthru } from "./Passthru";
7
8
  export declare class IdentityTag extends TagAbstract {
8
9
  /**
9
- * @returns {Promise<UserJWT>}
10
+ * @returns {Promise<Passthru>}
10
11
  * @throws {MessageException}
11
12
  * @throws {ClientException}
12
13
  */
13
- redirect(identity: string): Promise<UserJWT>;
14
+ redirect(identity: string): Promise<Passthru>;
14
15
  /**
15
- * @returns {Promise<UserJWT>}
16
+ * @returns {Promise<Passthru>}
16
17
  * @throws {MessageException}
17
18
  * @throws {ClientException}
18
19
  */
19
- exchange(identity: string): Promise<UserJWT>;
20
+ exchange(identity: string): Promise<Passthru>;
20
21
  /**
21
- * @returns {Promise<UserJWT>}
22
+ * @returns {Promise<IdentityCollection>}
22
23
  * @throws {MessageException}
23
24
  * @throws {ClientException}
24
25
  */
25
- getAll(appId?: number): Promise<UserJWT>;
26
+ getAll(appId?: number): Promise<IdentityCollection>;
26
27
  }
@@ -8,7 +8,7 @@ import { ClientException, UnknownStatusCodeException } from "sdkgen-client";
8
8
  import { MessageException } from "./MessageException";
9
9
  export class IdentityTag extends TagAbstract {
10
10
  /**
11
- * @returns {Promise<UserJWT>}
11
+ * @returns {Promise<Passthru>}
12
12
  * @throws {MessageException}
13
13
  * @throws {ClientException}
14
14
  */
@@ -45,7 +45,7 @@ export class IdentityTag extends TagAbstract {
45
45
  }
46
46
  }
47
47
  /**
48
- * @returns {Promise<UserJWT>}
48
+ * @returns {Promise<Passthru>}
49
49
  * @throws {MessageException}
50
50
  * @throws {ClientException}
51
51
  */
@@ -82,7 +82,7 @@ export class IdentityTag extends TagAbstract {
82
82
  }
83
83
  }
84
84
  /**
85
- * @returns {Promise<UserJWT>}
85
+ * @returns {Promise<IdentityCollection>}
86
86
  * @throws {MessageException}
87
87
  * @throws {ClientException}
88
88
  */
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Passthru automatically generated by SDKgen please do not edit this file manually
3
+ * {@link https://sdkgen.app}
4
+ */
5
+ /**
6
+ * No schema information available
7
+ */
8
+ export declare type Passthru = Record<string, any>;
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Passthru automatically generated by SDKgen please do not edit this file manually
3
+ * {@link https://sdkgen.app}
4
+ */
5
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fusio-sdk",
3
- "version": "3.1.1",
3
+ "version": "3.1.2",
4
4
  "description": "SDK to talk to the Fusio API",
5
5
  "keywords": [
6
6
  "API",