@nangohq/types 0.69.47 → 0.69.48
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/connection/api/get.d.ts +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/integration/api.d.ts +5 -1
- package/dist/lambda/index.d.ts +4 -0
- package/dist/providers/provider.d.ts +4 -0
- package/dist/proxy/api.d.ts +1 -0
- package/dist/proxy/http.api.d.ts +1 -0
- package/dist/web/env.d.ts +0 -1
- package/package.json +1 -1
- package/dist/apiStatus/api.d.ts +0 -15
package/dist/index.d.ts
CHANGED
|
@@ -38,7 +38,6 @@ export type * from './scripts/on-events/db.js';
|
|
|
38
38
|
export type * from './scripts/on-events/api.js';
|
|
39
39
|
export type * from './scripts/syncs/api.js';
|
|
40
40
|
export type * from './scripts/http.api.js';
|
|
41
|
-
export type * from './apiStatus/api.js';
|
|
42
41
|
export type * from './slackNotifications/db.js';
|
|
43
42
|
export type * from './notification/active-logs/db.js';
|
|
44
43
|
export type * from './connection/api/get.js';
|
|
@@ -85,4 +84,5 @@ export type * from './jobs/api.js';
|
|
|
85
84
|
export type * from './checkpoint/types.js';
|
|
86
85
|
export type * from './checkpoint/db.js';
|
|
87
86
|
export type * from './mcp/api.js';
|
|
87
|
+
export type * from './lambda/index.js';
|
|
88
88
|
export type * from './authz/types.js';
|
|
@@ -115,6 +115,10 @@ export interface OAuthAuthBody {
|
|
|
115
115
|
clientSecret?: string | undefined;
|
|
116
116
|
scopes?: string | undefined;
|
|
117
117
|
}
|
|
118
|
+
export interface OAuth2CCAuthBody {
|
|
119
|
+
authType: Extract<AuthModeType, 'OAUTH2_CC'>;
|
|
120
|
+
scopes?: string | undefined;
|
|
121
|
+
}
|
|
118
122
|
export interface AppAuthBody {
|
|
119
123
|
authType: Extract<AuthModeType, 'APP'>;
|
|
120
124
|
appId?: string | undefined;
|
|
@@ -147,7 +151,7 @@ export interface InstallPluginAuthBody {
|
|
|
147
151
|
username?: string | undefined;
|
|
148
152
|
password?: string | undefined;
|
|
149
153
|
}
|
|
150
|
-
export type IntegrationAuthBody = OAuthAuthBody | AppAuthBody | CustomAuthBody | MCPOAuth2AuthBody | MCPOAuth2GenericAuthBody | InstallPluginAuthBody;
|
|
154
|
+
export type IntegrationAuthBody = OAuthAuthBody | OAuth2CCAuthBody | AppAuthBody | CustomAuthBody | MCPOAuth2AuthBody | MCPOAuth2GenericAuthBody | InstallPluginAuthBody;
|
|
151
155
|
export type PostIntegration = Endpoint<{
|
|
152
156
|
Method: 'POST';
|
|
153
157
|
Path: '/api/v1/integrations';
|
|
@@ -46,6 +46,7 @@ export interface BaseProvider {
|
|
|
46
46
|
query?: Record<string, string>;
|
|
47
47
|
retry?: RetryHeaderConfig;
|
|
48
48
|
decompress?: boolean;
|
|
49
|
+
forward_headers_on_redirect?: boolean;
|
|
49
50
|
paginate?: LinkPagination | CursorPagination | OffsetPagination;
|
|
50
51
|
verification?: {
|
|
51
52
|
method: EndpointMethod;
|
|
@@ -197,6 +198,7 @@ export interface ProviderTwoStep extends Omit<BaseProvider, 'body_format'> {
|
|
|
197
198
|
token_request_method?: 'GET';
|
|
198
199
|
}[];
|
|
199
200
|
assertion?: {
|
|
201
|
+
type?: 'saml' | 'jwt';
|
|
200
202
|
key?: string;
|
|
201
203
|
issuer?: string;
|
|
202
204
|
lifetimeInSeconds?: number;
|
|
@@ -204,6 +206,8 @@ export interface ProviderTwoStep extends Omit<BaseProvider, 'body_format'> {
|
|
|
204
206
|
attributes?: Record<string, string | number | boolean | (string | number | boolean)[]>;
|
|
205
207
|
sessionIndex?: string;
|
|
206
208
|
recipient?: string;
|
|
209
|
+
header?: Record<string, string>;
|
|
210
|
+
payload?: Record<string, string>;
|
|
207
211
|
};
|
|
208
212
|
assertion_option?: Record<string, SimplifiedJSONSchema>;
|
|
209
213
|
token_expires_in_ms?: number;
|
package/dist/proxy/api.d.ts
CHANGED
|
@@ -26,6 +26,7 @@ export interface BaseProxyConfiguration {
|
|
|
26
26
|
responseType?: ResponseType | undefined;
|
|
27
27
|
retryHeader?: RetryHeaderConfig;
|
|
28
28
|
retryOn?: number[] | null;
|
|
29
|
+
forwardHeadersOnRedirect?: boolean;
|
|
29
30
|
}
|
|
30
31
|
export interface UserProvidedProxyConfiguration extends BaseProxyConfiguration {
|
|
31
32
|
decompress?: boolean | string;
|
package/dist/proxy/http.api.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ export type AllPublicProxy = Endpoint<{
|
|
|
12
12
|
'base-url-override'?: string | undefined;
|
|
13
13
|
decompress?: string | undefined;
|
|
14
14
|
'retry-on'?: string | undefined;
|
|
15
|
+
'forward-headers-on-redirect'?: string | undefined;
|
|
15
16
|
'nango-activity-log-id'?: string | undefined;
|
|
16
17
|
'nango-is-sync'?: string | undefined;
|
|
17
18
|
'nango-is-dry-run'?: string | undefined;
|
package/dist/web/env.d.ts
CHANGED
package/package.json
CHANGED
package/dist/apiStatus/api.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { Endpoint } from '../api.js';
|
|
2
|
-
export type GetApiStatus = Endpoint<{
|
|
3
|
-
Method: 'GET';
|
|
4
|
-
Path: '/api/v1/api-status/:service';
|
|
5
|
-
Params: {
|
|
6
|
-
service: string;
|
|
7
|
-
};
|
|
8
|
-
Success: {
|
|
9
|
-
data: ApiStatusResponse;
|
|
10
|
-
};
|
|
11
|
-
}>;
|
|
12
|
-
export type ApiStatus = 'operational' | 'degraded_performance' | 'major_outage' | 'unknown';
|
|
13
|
-
export interface ApiStatusResponse {
|
|
14
|
-
status: ApiStatus;
|
|
15
|
-
}
|