@flagpole/api-types 1.0.22 → 1.0.24

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/README.md CHANGED
@@ -1,2 +1,2 @@
1
- # @flagpole/api-types v1.0.21
1
+ # @flagpole/api-types v1.0.23
2
2
  TypeScript types for FlagPole API generated from OpenAPI specification.
@@ -39,8 +39,25 @@ export interface AuthResponseDto {
39
39
  * @example "30d"
40
40
  */
41
41
  expires_in?: string;
42
- /** @example {"id":"5f9d4a3b2c1d0a3b4c5d6e7f","email":"user@example.com","roles":["user"],"firstName":"John","lastName":"Doe","currentOrganization":"128391831"} */
43
- user: object;
42
+ /**
43
+ * User information
44
+ * @example {"id":"5f9d4a3b2c1d0a3b4c5d6e7f","email":"user@example.com","roles":["user"],"firstName":"John","lastName":"Doe","currentOrganization":"128391831"}
45
+ */
46
+ user: AuthResponseUserDto;
47
+ }
48
+ export interface AuthResponseUserDto {
49
+ /** @example "128391831" */
50
+ currentOrganization?: string;
51
+ /** @example "user@example.com" */
52
+ email: string;
53
+ /** @example "John" */
54
+ firstName?: string;
55
+ /** @example "5f9d4a3b2c1d0a3b4c5d6e7f" */
56
+ id: string;
57
+ /** @example "Doe" */
58
+ lastName?: string;
59
+ /** @example ["user"] */
60
+ roles?: any[][];
44
61
  }
45
62
  export interface CheckoutSessionResponseDto {
46
63
  /** @example "cs_test_1234567890" */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flagpole/api-types",
3
- "version": "1.0.22",
3
+ "version": "1.0.24",
4
4
  "description": "TypeScript types for FlagPole API",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",