@airweave/sdk 0.5.14 → 0.6.3
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/cjs/Client.d.ts +0 -3
- package/dist/cjs/Client.js +2 -7
- package/dist/cjs/api/resources/index.d.ts +0 -2
- package/dist/cjs/api/resources/index.js +1 -3
- package/dist/cjs/api/resources/sourceConnections/client/Client.d.ts +31 -82
- package/dist/cjs/api/resources/sourceConnections/client/Client.js +45 -190
- package/dist/cjs/api/resources/sourceConnections/client/requests/GetSourceConnectionJobsSourceConnectionsSourceConnectionIdJobsGetRequest.d.ts +10 -0
- package/dist/cjs/api/resources/sourceConnections/client/requests/ListSourceConnectionsGetRequest.d.ts +1 -7
- package/dist/cjs/api/resources/sourceConnections/client/requests/SourceConnectionCreate.d.ts +21 -20
- package/dist/cjs/api/resources/sourceConnections/client/requests/index.d.ts +1 -3
- package/dist/cjs/api/types/ActionCheckRequest.d.ts +10 -0
- package/dist/cjs/api/types/ActionCheckResponse.d.ts +4 -16
- package/dist/cjs/api/types/ActionCheckResponse.js +0 -8
- package/dist/cjs/api/types/AuthProvider.d.ts +0 -2
- package/dist/cjs/api/types/AuthProviderAuthentication.d.ts +12 -0
- package/dist/cjs/api/types/AuthenticationDetails.d.ts +19 -0
- package/dist/cjs/api/types/AuthenticationMethod.d.ts +14 -0
- package/dist/cjs/api/types/AuthenticationMethod.js +13 -0
- package/dist/cjs/api/types/Destination.d.ts +0 -2
- package/dist/cjs/api/types/DestinationWithAuthenticationFields.d.ts +0 -1
- package/dist/cjs/api/types/DirectAuthentication.d.ts +10 -0
- package/dist/cjs/api/types/EmbeddingModel.d.ts +0 -2
- package/dist/cjs/api/types/EmbeddingModelWithAuthenticationFields.d.ts +0 -1
- package/dist/cjs/api/types/EntityCountWithDefinition.d.ts +1 -0
- package/dist/cjs/api/types/EntitySummary.d.ts +12 -0
- package/dist/cjs/api/types/EntityTypeStats.d.ts +10 -0
- package/dist/cjs/api/types/IntegrationCredentialInDb.d.ts +2 -1
- package/dist/cjs/api/types/IntegrationCredentialRawCreate.d.ts +2 -1
- package/dist/cjs/api/types/OAuthBrowserAuthentication.d.ts +14 -0
- package/dist/cjs/api/types/OAuthTokenAuthentication.d.ts +14 -0
- package/dist/cjs/api/types/OAuthType.d.ts +12 -0
- package/dist/cjs/api/types/OAuthType.js +11 -0
- package/dist/cjs/api/types/ScheduleConfig.d.ts +14 -0
- package/dist/cjs/api/types/ScheduleDetails.d.ts +13 -0
- package/dist/cjs/api/types/SingleActionCheckResponse.d.ts +23 -0
- package/dist/cjs/api/types/SingleActionCheckResponse.js +13 -0
- package/dist/cjs/api/types/Source.d.ts +11 -7
- package/dist/cjs/api/types/SourceConnection.d.ts +9 -52
- package/dist/cjs/api/types/SourceConnectionJob.d.ts +9 -34
- package/dist/cjs/api/types/SourceConnectionListItem.d.ts +13 -16
- package/dist/cjs/api/types/SourceConnectionStatus.d.ts +7 -4
- package/dist/cjs/api/types/SourceConnectionStatus.js +5 -2
- package/dist/cjs/api/types/SourceConnectionUpdate.d.ts +16 -0
- package/dist/cjs/api/types/SyncDetails.d.ts +13 -0
- package/dist/cjs/api/types/SyncJobDetails.d.ts +20 -0
- package/dist/cjs/api/types/SyncJobStatus.d.ts +2 -2
- package/dist/cjs/api/types/SyncJobStatus.js +1 -1
- package/dist/cjs/api/types/SyncSummary.d.ts +11 -0
- package/dist/cjs/api/types/SyncSummary.js +5 -0
- package/dist/cjs/api/types/index.d.ts +17 -9
- package/dist/cjs/api/types/index.js +17 -9
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/Client.d.mts +0 -3
- package/dist/esm/Client.mjs +2 -7
- package/dist/esm/api/resources/index.d.mts +0 -2
- package/dist/esm/api/resources/index.mjs +0 -2
- package/dist/esm/api/resources/sourceConnections/client/Client.d.mts +31 -82
- package/dist/esm/api/resources/sourceConnections/client/Client.mjs +45 -190
- package/dist/esm/api/resources/sourceConnections/client/requests/GetSourceConnectionJobsSourceConnectionsSourceConnectionIdJobsGetRequest.d.mts +10 -0
- package/dist/esm/api/resources/sourceConnections/client/requests/ListSourceConnectionsGetRequest.d.mts +1 -7
- package/dist/esm/api/resources/sourceConnections/client/requests/SourceConnectionCreate.d.mts +21 -20
- package/dist/esm/api/resources/sourceConnections/client/requests/index.d.mts +1 -3
- package/dist/esm/api/types/ActionCheckRequest.d.mts +10 -0
- package/dist/esm/api/types/ActionCheckResponse.d.mts +4 -16
- package/dist/esm/api/types/ActionCheckResponse.mjs +1 -7
- package/dist/esm/api/types/AuthProvider.d.mts +0 -2
- package/dist/esm/api/types/AuthProviderAuthentication.d.mts +12 -0
- package/dist/esm/api/types/AuthenticationDetails.d.mts +19 -0
- package/dist/esm/api/types/AuthenticationMethod.d.mts +14 -0
- package/dist/esm/api/types/AuthenticationMethod.mjs +10 -0
- package/dist/esm/api/types/Destination.d.mts +0 -2
- package/dist/esm/api/types/DestinationWithAuthenticationFields.d.mts +0 -1
- package/dist/esm/api/types/DirectAuthentication.d.mts +10 -0
- package/dist/esm/api/types/EmbeddingModel.d.mts +0 -2
- package/dist/esm/api/types/EmbeddingModelWithAuthenticationFields.d.mts +0 -1
- package/dist/esm/api/types/EntityCountWithDefinition.d.mts +1 -0
- package/dist/esm/api/types/EntitySummary.d.mts +12 -0
- package/dist/esm/api/types/EntityTypeStats.d.mts +10 -0
- package/dist/esm/api/types/IntegrationCredentialInDb.d.mts +2 -1
- package/dist/esm/api/types/IntegrationCredentialRawCreate.d.mts +2 -1
- package/dist/esm/api/types/OAuthBrowserAuthentication.d.mts +14 -0
- package/dist/esm/api/types/OAuthTokenAuthentication.d.mts +14 -0
- package/dist/esm/api/types/OAuthType.d.mts +12 -0
- package/dist/esm/api/types/OAuthType.mjs +8 -0
- package/dist/esm/api/types/ScheduleConfig.d.mts +14 -0
- package/dist/esm/api/types/ScheduleDetails.d.mts +13 -0
- package/dist/esm/api/types/SingleActionCheckResponse.d.mts +23 -0
- package/dist/esm/api/types/SingleActionCheckResponse.mjs +10 -0
- package/dist/esm/api/types/Source.d.mts +11 -7
- package/dist/esm/api/types/SourceConnection.d.mts +9 -52
- package/dist/esm/api/types/SourceConnectionJob.d.mts +9 -34
- package/dist/esm/api/types/SourceConnectionListItem.d.mts +13 -16
- package/dist/esm/api/types/SourceConnectionStatus.d.mts +7 -4
- package/dist/esm/api/types/SourceConnectionStatus.mjs +5 -2
- package/dist/esm/api/types/SourceConnectionUpdate.d.mts +16 -0
- package/dist/esm/api/types/SyncDetails.d.mts +13 -0
- package/dist/esm/api/types/SyncJobDetails.d.mts +20 -0
- package/dist/esm/api/types/SyncJobStatus.d.mts +2 -2
- package/dist/esm/api/types/SyncJobStatus.mjs +1 -1
- package/dist/esm/api/types/SyncSummary.d.mts +11 -0
- package/dist/esm/api/types/SyncSummary.mjs +4 -0
- package/dist/esm/api/types/index.d.mts +17 -9
- package/dist/esm/api/types/index.mjs +17 -9
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +30 -763
- package/dist/cjs/api/resources/sourceConnections/client/requests/BodyRunSourceConnectionsSourceConnectionIdRunPost.d.ts +0 -11
- package/dist/cjs/api/resources/sourceConnections/client/requests/GetSourceConnectionsSourceConnectionIdGetRequest.d.ts +0 -13
- package/dist/cjs/api/resources/sourceConnections/client/requests/SourceConnectionUpdate.d.ts +0 -34
- package/dist/cjs/api/resources/whiteLabels/client/Client.d.ts +0 -189
- package/dist/cjs/api/resources/whiteLabels/client/Client.js +0 -585
- package/dist/cjs/api/resources/whiteLabels/client/index.d.ts +0 -2
- package/dist/cjs/api/resources/whiteLabels/client/index.js +0 -17
- package/dist/cjs/api/resources/whiteLabels/client/requests/BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePost.d.ts +0 -16
- package/dist/cjs/api/resources/whiteLabels/client/requests/WhiteLabelCreate.d.ts +0 -28
- package/dist/cjs/api/resources/whiteLabels/client/requests/WhiteLabelUpdate.d.ts +0 -23
- package/dist/cjs/api/resources/whiteLabels/client/requests/index.d.ts +0 -3
- package/dist/cjs/api/resources/whiteLabels/client/requests/index.js +0 -2
- package/dist/cjs/api/resources/whiteLabels/index.d.ts +0 -1
- package/dist/cjs/api/resources/whiteLabels/index.js +0 -17
- package/dist/cjs/api/types/AuthType.d.ts +0 -27
- package/dist/cjs/api/types/AuthType.js +0 -16
- package/dist/cjs/api/types/BodyCreateCredentialsFromAuthorizationCodeSourceConnectionsSourceShortNameCodeToTokenCredentialsPost.d.ts +0 -13
- package/dist/cjs/api/types/OAuth2AuthUrl.d.ts +0 -13
- package/dist/cjs/api/types/SourceConnectionContinuousResponse.d.ts +0 -67
- package/dist/cjs/api/types/SourceConnectionCreateContinuous.d.ts +0 -33
- package/dist/cjs/api/types/SourceConnectionCreateWithCredential.d.ts +0 -25
- package/dist/cjs/api/types/SourceConnectionCreateWithWhiteLabel.d.ts +0 -29
- package/dist/cjs/api/types/SourceConnectionMakeContinuous.d.ts +0 -14
- package/dist/cjs/api/types/WhiteLabel.d.ts +0 -32
- package/dist/esm/api/resources/sourceConnections/client/requests/BodyRunSourceConnectionsSourceConnectionIdRunPost.d.mts +0 -11
- package/dist/esm/api/resources/sourceConnections/client/requests/GetSourceConnectionsSourceConnectionIdGetRequest.d.mts +0 -13
- package/dist/esm/api/resources/sourceConnections/client/requests/SourceConnectionUpdate.d.mts +0 -34
- package/dist/esm/api/resources/whiteLabels/client/Client.d.mts +0 -189
- package/dist/esm/api/resources/whiteLabels/client/Client.mjs +0 -548
- package/dist/esm/api/resources/whiteLabels/client/index.d.mts +0 -2
- package/dist/esm/api/resources/whiteLabels/client/index.mjs +0 -1
- package/dist/esm/api/resources/whiteLabels/client/requests/BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePost.d.mts +0 -16
- package/dist/esm/api/resources/whiteLabels/client/requests/WhiteLabelCreate.d.mts +0 -28
- package/dist/esm/api/resources/whiteLabels/client/requests/WhiteLabelUpdate.d.mts +0 -23
- package/dist/esm/api/resources/whiteLabels/client/requests/index.d.mts +0 -3
- package/dist/esm/api/resources/whiteLabels/client/requests/index.mjs +0 -1
- package/dist/esm/api/resources/whiteLabels/index.d.mts +0 -1
- package/dist/esm/api/resources/whiteLabels/index.mjs +0 -1
- package/dist/esm/api/types/AuthType.d.mts +0 -27
- package/dist/esm/api/types/AuthType.mjs +0 -13
- package/dist/esm/api/types/BodyCreateCredentialsFromAuthorizationCodeSourceConnectionsSourceShortNameCodeToTokenCredentialsPost.d.mts +0 -13
- package/dist/esm/api/types/OAuth2AuthUrl.d.mts +0 -13
- package/dist/esm/api/types/SourceConnectionContinuousResponse.d.mts +0 -67
- package/dist/esm/api/types/SourceConnectionCreateContinuous.d.mts +0 -33
- package/dist/esm/api/types/SourceConnectionCreateWithCredential.d.mts +0 -25
- package/dist/esm/api/types/SourceConnectionCreateWithWhiteLabel.d.mts +0 -29
- package/dist/esm/api/types/SourceConnectionMakeContinuous.d.mts +0 -14
- package/dist/esm/api/types/WhiteLabel.d.mts +0 -32
- /package/dist/cjs/api/resources/sourceConnections/client/requests/{BodyRunSourceConnectionsSourceConnectionIdRunPost.js → GetSourceConnectionJobsSourceConnectionsSourceConnectionIdJobsGetRequest.js} +0 -0
- /package/dist/cjs/api/{resources/sourceConnections/client/requests/GetSourceConnectionsSourceConnectionIdGetRequest.js → types/ActionCheckRequest.js} +0 -0
- /package/dist/cjs/api/{resources/sourceConnections/client/requests/SourceConnectionUpdate.js → types/AuthProviderAuthentication.js} +0 -0
- /package/dist/cjs/api/{resources/whiteLabels/client/requests/BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePost.js → types/AuthenticationDetails.js} +0 -0
- /package/dist/cjs/api/{resources/whiteLabels/client/requests/WhiteLabelCreate.js → types/DirectAuthentication.js} +0 -0
- /package/dist/cjs/api/{resources/whiteLabels/client/requests/WhiteLabelUpdate.js → types/EntitySummary.js} +0 -0
- /package/dist/cjs/api/types/{BodyCreateCredentialsFromAuthorizationCodeSourceConnectionsSourceShortNameCodeToTokenCredentialsPost.js → EntityTypeStats.js} +0 -0
- /package/dist/cjs/api/types/{OAuth2AuthUrl.js → OAuthBrowserAuthentication.js} +0 -0
- /package/dist/cjs/api/types/{SourceConnectionContinuousResponse.js → OAuthTokenAuthentication.js} +0 -0
- /package/dist/cjs/api/types/{SourceConnectionCreateContinuous.js → ScheduleConfig.js} +0 -0
- /package/dist/cjs/api/types/{SourceConnectionCreateWithCredential.js → ScheduleDetails.js} +0 -0
- /package/dist/cjs/api/types/{SourceConnectionCreateWithWhiteLabel.js → SourceConnectionUpdate.js} +0 -0
- /package/dist/cjs/api/types/{SourceConnectionMakeContinuous.js → SyncDetails.js} +0 -0
- /package/dist/cjs/api/types/{WhiteLabel.js → SyncJobDetails.js} +0 -0
- /package/dist/esm/api/resources/sourceConnections/client/requests/{BodyRunSourceConnectionsSourceConnectionIdRunPost.mjs → GetSourceConnectionJobsSourceConnectionsSourceConnectionIdJobsGetRequest.mjs} +0 -0
- /package/dist/esm/api/{resources/sourceConnections/client/requests/GetSourceConnectionsSourceConnectionIdGetRequest.mjs → types/ActionCheckRequest.mjs} +0 -0
- /package/dist/esm/api/{resources/sourceConnections/client/requests/SourceConnectionUpdate.mjs → types/AuthProviderAuthentication.mjs} +0 -0
- /package/dist/esm/api/{resources/whiteLabels/client/requests/BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePost.mjs → types/AuthenticationDetails.mjs} +0 -0
- /package/dist/esm/api/{resources/whiteLabels/client/requests/WhiteLabelCreate.mjs → types/DirectAuthentication.mjs} +0 -0
- /package/dist/esm/api/{resources/whiteLabels/client/requests/WhiteLabelUpdate.mjs → types/EntitySummary.mjs} +0 -0
- /package/dist/esm/api/types/{BodyCreateCredentialsFromAuthorizationCodeSourceConnectionsSourceShortNameCodeToTokenCredentialsPost.mjs → EntityTypeStats.mjs} +0 -0
- /package/dist/esm/api/types/{OAuth2AuthUrl.mjs → OAuthBrowserAuthentication.mjs} +0 -0
- /package/dist/esm/api/types/{SourceConnectionContinuousResponse.mjs → OAuthTokenAuthentication.mjs} +0 -0
- /package/dist/esm/api/types/{SourceConnectionCreateContinuous.mjs → ScheduleConfig.mjs} +0 -0
- /package/dist/esm/api/types/{SourceConnectionCreateWithCredential.mjs → ScheduleDetails.mjs} +0 -0
- /package/dist/esm/api/types/{SourceConnectionCreateWithWhiteLabel.mjs → SourceConnectionUpdate.mjs} +0 -0
- /package/dist/esm/api/types/{SourceConnectionMakeContinuous.mjs → SyncDetails.mjs} +0 -0
- /package/dist/esm/api/types/{WhiteLabel.mjs → SyncJobDetails.mjs} +0 -0
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* Enumeration of supported authentication types.
|
|
6
|
-
*
|
|
7
|
-
* Attributes:
|
|
8
|
-
* ----------
|
|
9
|
-
* oauth2: OAuth2 authentication.
|
|
10
|
-
* oauth2_with_refresh: OAuth2 authentication with refresh token.
|
|
11
|
-
* oauth2_with_refresh_rotating: OAuth2 authentication with rotating refresh token.
|
|
12
|
-
* api_key: API key authentication.
|
|
13
|
-
* native_functionality: Native functionality.
|
|
14
|
-
* url_and_api_key: URL and API key authentication.
|
|
15
|
-
* none: No authentication.
|
|
16
|
-
*/
|
|
17
|
-
export type AuthType = "oauth2" | "oauth2_with_refresh" | "oauth2_with_refresh_rotating" | "api_key" | "native_functionality" | "config_class" | "trello_auth" | "none";
|
|
18
|
-
export declare const AuthType: {
|
|
19
|
-
readonly Oauth2: "oauth2";
|
|
20
|
-
readonly Oauth2WithRefresh: "oauth2_with_refresh";
|
|
21
|
-
readonly Oauth2WithRefreshRotating: "oauth2_with_refresh_rotating";
|
|
22
|
-
readonly ApiKey: "api_key";
|
|
23
|
-
readonly NativeFunctionality: "native_functionality";
|
|
24
|
-
readonly ConfigClass: "config_class";
|
|
25
|
-
readonly TrelloAuth: "trello_auth";
|
|
26
|
-
readonly None: "none";
|
|
27
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
export const AuthType = {
|
|
5
|
-
Oauth2: "oauth2",
|
|
6
|
-
Oauth2WithRefresh: "oauth2_with_refresh",
|
|
7
|
-
Oauth2WithRefreshRotating: "oauth2_with_refresh_rotating",
|
|
8
|
-
ApiKey: "api_key",
|
|
9
|
-
NativeFunctionality: "native_functionality",
|
|
10
|
-
ConfigClass: "config_class",
|
|
11
|
-
TrelloAuth: "trello_auth",
|
|
12
|
-
None: "none",
|
|
13
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
export interface BodyCreateCredentialsFromAuthorizationCodeSourceConnectionsSourceShortNameCodeToTokenCredentialsPost {
|
|
5
|
-
/** Custom name for the stored credential */
|
|
6
|
-
credential_name?: string;
|
|
7
|
-
/** Description to help identify this credential */
|
|
8
|
-
credential_description?: string;
|
|
9
|
-
/** OAuth client ID (required for bring-your-own-credentials) */
|
|
10
|
-
client_id?: string;
|
|
11
|
-
/** OAuth client secret (required for bring-your-own-credentials) */
|
|
12
|
-
client_secret?: string;
|
|
13
|
-
}
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as AirweaveSDK from "../index.mjs";
|
|
5
|
-
/**
|
|
6
|
-
* Response schema for continuous source connection creation.
|
|
7
|
-
*/
|
|
8
|
-
export interface SourceConnectionContinuousResponse {
|
|
9
|
-
/** Human-readable display name for the source connection. This helps you identify the connection in the UI and should clearly describe what data it connects to (e.g., 'Production Stripe Account', 'Customer Support Database'). */
|
|
10
|
-
name: string;
|
|
11
|
-
/** Optional additional context about the data this connection provides. Use this to document the purpose, data types, or any special considerations for this connection. */
|
|
12
|
-
description?: string;
|
|
13
|
-
/** Source-specific configuration options that control data retrieval behavior. These vary by source type and control how data is retrieved (e.g., database queries, API filters, file paths). Check the documentation of a specific source (for example [Github](https://docs.airweave.ai/docs/connectors/github)) to see what is required. */
|
|
14
|
-
config_fields?: AirweaveSDK.ConfigValues;
|
|
15
|
-
/** Technical identifier of the source type (e.g., 'github', 'stripe', 'postgresql', 'slack'). This determines which connector Airweave uses to sync data. */
|
|
16
|
-
short_name: string;
|
|
17
|
-
/** Identifier for custom OAuth integrations. Only present for connections created through white label OAuth flows. */
|
|
18
|
-
white_label_id?: string;
|
|
19
|
-
/** Readable ID of the auth provider used to create this connection. Present only if the connection was created through an auth provider. */
|
|
20
|
-
auth_provider?: string;
|
|
21
|
-
/** Configuration used with the auth provider to create this connection. Present only if the connection was created through an auth provider. */
|
|
22
|
-
auth_provider_config?: Record<string, unknown>;
|
|
23
|
-
/** Unique system identifier for this source connection. This UUID is generated automatically and used for API operations. */
|
|
24
|
-
id: string;
|
|
25
|
-
/** Internal identifier for the sync configuration associated with this source connection. Managed automatically by the system. */
|
|
26
|
-
sync_id?: string;
|
|
27
|
-
/** Identifier of the organization that owns this source connection. Source connections are isolated per organization. */
|
|
28
|
-
organization_id: string;
|
|
29
|
-
/** Timestamp when the source connection was created (ISO 8601 format). */
|
|
30
|
-
created_at: string;
|
|
31
|
-
/** Timestamp when the source connection was last modified (ISO 8601 format). */
|
|
32
|
-
modified_at: string;
|
|
33
|
-
/** Internal identifier for the underlying connection object that manages authentication and configuration. */
|
|
34
|
-
connection_id?: string;
|
|
35
|
-
/** Readable ID of the collection where this source connection syncs its data. This creates the link between your data source and searchable content. */
|
|
36
|
-
collection: string;
|
|
37
|
-
/** Email address of the user who created this source connection. */
|
|
38
|
-
created_by_email?: string;
|
|
39
|
-
/** Email address of the user who last modified this source connection. */
|
|
40
|
-
modified_by_email?: string;
|
|
41
|
-
/** Authentication credentials for the data source. Returns '********' by default for security. */
|
|
42
|
-
auth_fields?: SourceConnectionContinuousResponse.AuthFields;
|
|
43
|
-
/** Current operational status of the source connection:<br/>• **active**: Connection is healthy and ready for data synchronization<br/>• **in_progress**: Currently syncing data from the source<br/>• **failing**: Recent sync attempts have failed and require attention */
|
|
44
|
-
status?: AirweaveSDK.SourceConnectionStatus;
|
|
45
|
-
/** Status of the most recent data synchronization job:<br/>• **completed**: Last sync finished successfully<br/>• **failed**: Last sync encountered errors<br/>• **in_progress**: Currently running a sync job<br/>• **pending**: Sync job is queued and waiting to start */
|
|
46
|
-
latest_sync_job_status?: AirweaveSDK.SyncJobStatus;
|
|
47
|
-
/** Unique identifier of the most recent sync job. Use this to track sync progress or retrieve detailed job information. */
|
|
48
|
-
latest_sync_job_id?: string;
|
|
49
|
-
/** Timestamp when the most recent sync job started (ISO 8601 format). */
|
|
50
|
-
latest_sync_job_started_at?: string;
|
|
51
|
-
/** Timestamp when the most recent sync job completed (ISO 8601 format). Null if the job is still running or failed. */
|
|
52
|
-
latest_sync_job_completed_at?: string;
|
|
53
|
-
/** Error message from the most recent sync job if it failed. Use this to diagnose and resolve sync issues. */
|
|
54
|
-
latest_sync_job_error?: string;
|
|
55
|
-
/** Cron expression defining when automatic data synchronization occurs. Null if automatic syncing is disabled and syncs must be triggered manually. */
|
|
56
|
-
cron_schedule?: string;
|
|
57
|
-
/** Timestamp when the next automatic sync is scheduled to run (ISO 8601 format). Null if no automatic schedule is configured. */
|
|
58
|
-
next_scheduled_run?: string;
|
|
59
|
-
/** Information about the created minute-level schedule including schedule ID, cron expression, and current status. */
|
|
60
|
-
minute_level_schedule?: Record<string, unknown>;
|
|
61
|
-
}
|
|
62
|
-
export declare namespace SourceConnectionContinuousResponse {
|
|
63
|
-
/**
|
|
64
|
-
* Authentication credentials for the data source. Returns '********' by default for security.
|
|
65
|
-
*/
|
|
66
|
-
type AuthFields = AirweaveSDK.ConfigValues | string;
|
|
67
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as AirweaveSDK from "../index.mjs";
|
|
5
|
-
/**
|
|
6
|
-
* Schema for creating a continuously syncing source connection (BETA).
|
|
7
|
-
*
|
|
8
|
-
* This endpoint creates a source connection that stays continuously in sync with your
|
|
9
|
-
* data source. Your data will be automatically synchronized every minute, ensuring it's
|
|
10
|
-
* always up-to-date without any manual intervention or sync management.
|
|
11
|
-
*/
|
|
12
|
-
export interface SourceConnectionCreateContinuous {
|
|
13
|
-
/** Human-readable name for the source connection. This helps you identify the connection in the UI and should clearly describe what data it connects to. */
|
|
14
|
-
name: string;
|
|
15
|
-
/** Optional detailed description of what this source connection provides. Use this to document the purpose, data types, or any special considerations for this connection. */
|
|
16
|
-
description?: string;
|
|
17
|
-
/** Source-specific configuration parameters required for data extraction. These vary by source type and control how data is retrieved (e.g., database queries, API filters, file paths). Check the documentation of a specific source (for example [Github](https://docs.airweave.ai/docs/connectors/github)) to see what is required. */
|
|
18
|
-
config_fields?: AirweaveSDK.ConfigValues;
|
|
19
|
-
/** Technical identifier of the source type that determines which connector to use for data synchronization. */
|
|
20
|
-
short_name: string;
|
|
21
|
-
/** Readable ID of the collection where synced data will be stored. If not provided, a new collection will be automatically created. */
|
|
22
|
-
collection?: string;
|
|
23
|
-
/** Whether to create a daily forced full sync with entity cleanup. Defaults to true for resilience; set to false to rely solely on incremental changes. */
|
|
24
|
-
enable_daily_cleanup?: boolean;
|
|
25
|
-
/** Authentication credentials required to access the data source. The required fields vary by source type. Check the documentation of a specific source (for example [Github](https://docs.airweave.ai/docs/connectors/github)) to see what is required. */
|
|
26
|
-
auth_fields?: AirweaveSDK.ConfigValues;
|
|
27
|
-
/** Unique readable ID of a connected auth provider to use for authentication instead of providing auth_fields directly. */
|
|
28
|
-
auth_provider?: string;
|
|
29
|
-
/** Configuration for the auth provider when using auth_provider field. */
|
|
30
|
-
auth_provider_config?: AirweaveSDK.ConfigValues;
|
|
31
|
-
/** Specify which field in the entity should be used as the cursor for incremental syncs. This field must contain a timestamp or incrementing value that indicates when records were last modified. Required for sources without predefined entities (e.g., databases). If not specified, the source's default cursor field will be used if available. */
|
|
32
|
-
cursor_field?: string;
|
|
33
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as AirweaveSDK from "../index.mjs";
|
|
5
|
-
/**
|
|
6
|
-
* Schema for creating a source connection with pre-existing credentials (internal use).
|
|
7
|
-
*/
|
|
8
|
-
export interface SourceConnectionCreateWithCredential {
|
|
9
|
-
/** Human-readable name for the source connection. This helps you identify the connection in the UI and should clearly describe what data it connects to. */
|
|
10
|
-
name: string;
|
|
11
|
-
/** Optional detailed description of what this source connection provides. Use this to document the purpose, data types, or any special considerations for this connection. */
|
|
12
|
-
description?: string;
|
|
13
|
-
/** Source-specific configuration parameters required for data extraction. These vary by source type and control how data is retrieved (e.g., database queries, API filters, file paths). Check the documentation of a specific source (for example [Github](https://docs.airweave.ai/docs/connectors/github)) to see what is required. */
|
|
14
|
-
config_fields?: AirweaveSDK.ConfigValues;
|
|
15
|
-
/** Technical identifier of the source type that determines which connector to use for data synchronization. */
|
|
16
|
-
short_name: string;
|
|
17
|
-
/** Readable ID of the collection where synced data will be stored. */
|
|
18
|
-
collection?: string;
|
|
19
|
-
/** Cron expression for automatic data synchronization schedule. */
|
|
20
|
-
cron_schedule?: string;
|
|
21
|
-
/** ID of the existing integration credential to use for authentication. This credential must already exist and be associated with the same source type. */
|
|
22
|
-
credential_id: string;
|
|
23
|
-
/** Whether to start an initial data synchronization immediately after creating the connection. */
|
|
24
|
-
sync_immediately?: boolean;
|
|
25
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as AirweaveSDK from "../index.mjs";
|
|
5
|
-
/**
|
|
6
|
-
* Schema for creating a source connection through white label OAuth integrations.
|
|
7
|
-
*/
|
|
8
|
-
export interface SourceConnectionCreateWithWhiteLabel {
|
|
9
|
-
/** Human-readable name for the source connection. This helps you identify the connection in the UI and should clearly describe what data it connects to. */
|
|
10
|
-
name: string;
|
|
11
|
-
/** Optional detailed description of what this source connection provides. Use this to document the purpose, data types, or any special considerations for this connection. */
|
|
12
|
-
description?: string;
|
|
13
|
-
/** Source-specific configuration parameters required for data extraction. These vary by source type and control how data is retrieved (e.g., database queries, API filters, file paths). Check the documentation of a specific source (for example [Github](https://docs.airweave.ai/docs/connectors/github)) to see what is required. */
|
|
14
|
-
config_fields?: AirweaveSDK.ConfigValues;
|
|
15
|
-
/** Technical identifier of the source type that determines which connector to use for data synchronization. */
|
|
16
|
-
short_name: string;
|
|
17
|
-
/** Readable ID of the collection where synced data will be stored. If not provided, a new collection will be automatically created. */
|
|
18
|
-
collection?: string;
|
|
19
|
-
/** Cron expression for automatic data synchronization schedule. Uses standard cron format: minute hour day month weekday. */
|
|
20
|
-
cron_schedule?: string;
|
|
21
|
-
/** Authentication credentials for the data source. For white label OAuth flows, these are typically obtained automatically during the OAuth consent process. */
|
|
22
|
-
auth_fields?: AirweaveSDK.ConfigValues;
|
|
23
|
-
/** ID of an existing integration credential to use instead of creating a new one. Useful when credentials have already been established through OAuth flows. */
|
|
24
|
-
credential_id?: string;
|
|
25
|
-
/** Whether to start an initial data synchronization immediately after creating the connection. */
|
|
26
|
-
sync_immediately?: boolean;
|
|
27
|
-
/** ID of the white label integration configuration. This is automatically set by the white label OAuth endpoint and links the connection to your custom OAuth application. */
|
|
28
|
-
white_label_id?: string;
|
|
29
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* Schema for converting an existing source connection to continuous (BETA).
|
|
6
|
-
*/
|
|
7
|
-
export interface SourceConnectionMakeContinuous {
|
|
8
|
-
/** Specify which field in the entity should be used as the cursor for incremental syncs. If omitted, the source's default cursor field will be used if available. Required for sources without a default (e.g., PostgreSQL). */
|
|
9
|
-
cursor_field?: string;
|
|
10
|
-
/** Whether to create a daily forced full sync with entity cleanup. This helps remove orphaned entities that incremental syncs cannot detect. */
|
|
11
|
-
enable_daily_cleanup?: boolean;
|
|
12
|
-
/** Whether to immediately trigger a sync job after enabling continuous mode. If no cursor data exists yet, this initial run will perform a full sync. */
|
|
13
|
-
run_initial_sync?: boolean;
|
|
14
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* Complete white label integration representation returned by the API.
|
|
6
|
-
*/
|
|
7
|
-
export interface WhiteLabel {
|
|
8
|
-
/** Human-readable name for the white label integration. This helps you identify the integration in the UI and should clearly describe its purpose (e.g., 'Customer Portal Slack Integration', 'Enterprise Google Drive Access'). */
|
|
9
|
-
name: string;
|
|
10
|
-
/** Technical identifier of the source type that this integration supports (e.g., 'slack', 'google_drive', 'github'). This determines which service provider the OAuth integration connects to. */
|
|
11
|
-
source_short_name: string;
|
|
12
|
-
/** OAuth2 callback URL where users are redirected after completing authentication. This must be a valid HTTPS URL that your application can handle to receive the authorization code. */
|
|
13
|
-
redirect_url: string;
|
|
14
|
-
/** OAuth2 client identifier provided by the service provider. This identifies your application during the OAuth consent flow and must match the client ID configured in the service provider's developer console. */
|
|
15
|
-
client_id: string;
|
|
16
|
-
/** OAuth2 client secret from your registered application. This is used to securely authenticate your application when exchanging authorization codes for access tokens. Keep this value secure and never expose it in client-side code. */
|
|
17
|
-
client_secret: string;
|
|
18
|
-
/** Comma-separated list of allowed domains for OAuth flows and CORS. This prevents unauthorized websites from using your OAuth credentials and should include all domains where your application is hosted. */
|
|
19
|
-
allowed_origins: string;
|
|
20
|
-
/** Unique system identifier for the white label integration. This UUID is generated automatically and used for API operations and OAuth flow tracking. */
|
|
21
|
-
id: string;
|
|
22
|
-
/** Identifier of the organization that owns this white label integration. White label integrations are isolated per organization for security and multi-tenancy. */
|
|
23
|
-
organization_id: string;
|
|
24
|
-
/** Timestamp when the white label integration was created (ISO 8601 format). */
|
|
25
|
-
created_at: string;
|
|
26
|
-
/** Timestamp when the white label integration was last modified (ISO 8601 format). */
|
|
27
|
-
modified_at: string;
|
|
28
|
-
/** Email address of the user who created this white label integration. */
|
|
29
|
-
created_by_email?: string;
|
|
30
|
-
/** Email address of the user who last modified this white label integration. */
|
|
31
|
-
modified_by_email?: string;
|
|
32
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/cjs/api/types/{SourceConnectionContinuousResponse.js → OAuthTokenAuthentication.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/cjs/api/types/{SourceConnectionCreateWithWhiteLabel.js → SourceConnectionUpdate.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/esm/api/types/{SourceConnectionContinuousResponse.mjs → OAuthTokenAuthentication.mjs}
RENAMED
|
File without changes
|
|
File without changes
|
/package/dist/esm/api/types/{SourceConnectionCreateWithCredential.mjs → ScheduleDetails.mjs}
RENAMED
|
File without changes
|
/package/dist/esm/api/types/{SourceConnectionCreateWithWhiteLabel.mjs → SourceConnectionUpdate.mjs}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|