@fonoster/types 0.9.19 → 0.9.20

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.
@@ -24,6 +24,9 @@ type CreateUserRequest = {
24
24
  password: string;
25
25
  avatar: string;
26
26
  };
27
+ type CreateUserWithOauth2CodeRequest = {
28
+ code: string;
29
+ };
27
30
  type CreateApiKeyResponse = {
28
31
  ref: string;
29
32
  accessKeyId: string;
@@ -60,8 +63,13 @@ type ResetPasswordRequest = {
60
63
  password: string;
61
64
  verificationCode: string;
62
65
  };
66
+ type ExchangeCredentialsResponse = {
67
+ accessToken: string;
68
+ refreshToken: string;
69
+ idToken: string;
70
+ };
63
71
  type ListApiKeysRequest = ListRequest;
64
72
  type ListApiKeysResponse = ListResponse<ApiKey>;
65
73
  type ListWorkspaceMembersRequest = ListRequest;
66
74
  type ListWorkspaceMembersResponse = ListResponse<Member>;
67
- export { CreateApiKeyRequest, CreateApiKeyResponse, CreateUserRequest, ListApiKeysRequest, ListApiKeysResponse, RegenerateApiKeyResponse, ListWorkspaceMembersRequest, ListWorkspaceMembersResponse, UpdateUserRequest, SendResetPasswordCodeRequest, ResetPasswordRequest, User };
75
+ export { CreateApiKeyRequest, CreateApiKeyResponse, CreateUserWithOauth2CodeRequest, CreateUserRequest, ListApiKeysRequest, ListApiKeysResponse, RegenerateApiKeyResponse, ListWorkspaceMembersRequest, ListWorkspaceMembersResponse, UpdateUserRequest, SendResetPasswordCodeRequest, ResetPasswordRequest, User, ExchangeCredentialsResponse };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fonoster/types",
3
- "version": "0.9.19",
3
+ "version": "0.9.20",
4
4
  "description": "Common types for Fonoster projects",
5
5
  "author": "Pedro Sanders <psanders@fonoster.com>",
6
6
  "homepage": "https://github.com/fonoster/fonoster#readme",
@@ -29,5 +29,5 @@
29
29
  "bugs": {
30
30
  "url": "https://github.com/fonoster/fonoster/issues"
31
31
  },
32
- "gitHead": "b1798a2fdd50288ae37024fc6bf341d66d0f7d12"
32
+ "gitHead": "d48ba5f00cf72b81a1ed6d9fcc34036a99e3cc8e"
33
33
  }