@nangohq/types 0.40.7 → 0.40.8
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/auth/api.d.ts +6 -4
- package/dist/auth/http.api.d.ts +7 -2
- package/dist/logs/messages.d.ts +2 -0
- package/package.json +1 -1
package/dist/auth/api.d.ts
CHANGED
|
@@ -97,10 +97,12 @@ export interface CredentialsRefresh<T = unknown> {
|
|
|
97
97
|
}
|
|
98
98
|
export interface TbaCredentials {
|
|
99
99
|
type: AuthModes['TBA'];
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
100
|
+
token_id: string;
|
|
101
|
+
token_secret: string;
|
|
102
|
+
config_override: {
|
|
103
|
+
client_id?: string;
|
|
104
|
+
client_secret?: string;
|
|
105
|
+
};
|
|
104
106
|
}
|
|
105
107
|
export type UnauthCredentials = Record<string, never>;
|
|
106
108
|
export type RefreshTokenResponse = AuthorizationTokenResponse;
|
package/dist/auth/http.api.d.ts
CHANGED
|
@@ -5,6 +5,8 @@ export type TbaAuthorization = Endpoint<{
|
|
|
5
5
|
Body: {
|
|
6
6
|
token_id: string;
|
|
7
7
|
token_secret: string;
|
|
8
|
+
oauth_client_id_override?: string;
|
|
9
|
+
oauth_client_secret_override?: string;
|
|
8
10
|
};
|
|
9
11
|
QueryParams: {
|
|
10
12
|
connectionId: string;
|
|
@@ -14,6 +16,9 @@ export type TbaAuthorization = Endpoint<{
|
|
|
14
16
|
providerConfigKey: string;
|
|
15
17
|
};
|
|
16
18
|
Path: '/auth/tba';
|
|
17
|
-
Error: ApiError<'invalid_body'> | ApiError<'invalid_query_params'> | ApiError<'unknown_provider_config'> | ApiError<'invalid_auth_mode'> | ApiError<'
|
|
18
|
-
Success:
|
|
19
|
+
Error: ApiError<'invalid_body'> | ApiError<'invalid_query_params'> | ApiError<'unknown_provider_config'> | ApiError<'invalid_auth_mode'> | ApiError<'invalid_credentials'>;
|
|
20
|
+
Success: {
|
|
21
|
+
providerConfigKey: string;
|
|
22
|
+
connectionId: string;
|
|
23
|
+
};
|
|
19
24
|
}>;
|
package/dist/logs/messages.d.ts
CHANGED