@airweave/sdk 0.2.53 → 0.3.41
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 +20 -6
- package/dist/cjs/Client.d.ts +48 -0
- package/dist/cjs/Client.js +76 -0
- package/dist/cjs/api/errors/UnprocessableEntityError.d.ts +9 -0
- package/dist/cjs/api/errors/UnprocessableEntityError.js +52 -0
- package/dist/cjs/api/errors/index.d.ts +1 -0
- package/dist/cjs/api/errors/index.js +17 -0
- package/dist/cjs/api/index.d.ts +3 -0
- package/dist/cjs/api/index.js +19 -0
- package/dist/cjs/api/resources/collections/client/Client.d.ts +158 -0
- package/dist/cjs/api/resources/collections/client/Client.js +537 -0
- package/dist/cjs/api/resources/collections/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/collections/client/index.js +17 -0
- package/dist/cjs/api/resources/collections/client/requests/CollectionCreate.d.ts +16 -0
- package/dist/cjs/api/resources/collections/client/requests/CollectionUpdate.d.ts +13 -0
- package/dist/cjs/api/resources/collections/client/requests/DeleteCollectionCollectionsReadableIdDeleteRequest.d.ts +13 -0
- package/dist/cjs/api/resources/collections/client/requests/ListCollectionsCollectionsGetRequest.d.ts +17 -0
- package/dist/cjs/api/resources/collections/client/requests/SearchCollectionCollectionsReadableIdSearchGetRequest.d.ts +20 -0
- package/dist/cjs/api/resources/collections/client/requests/index.d.ts +5 -0
- package/dist/cjs/api/resources/collections/index.d.ts +1 -0
- package/dist/cjs/api/resources/collections/index.js +17 -0
- package/dist/cjs/api/resources/index.d.ts +7 -0
- package/dist/cjs/api/resources/index.js +46 -0
- package/dist/cjs/api/resources/sourceConnections/client/Client.d.ts +208 -0
- package/dist/cjs/api/resources/sourceConnections/client/Client.js +689 -0
- package/dist/cjs/api/resources/sourceConnections/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/sourceConnections/client/index.js +17 -0
- package/dist/cjs/api/resources/sourceConnections/client/requests/BodyRunSourceConnectionSourceConnectionsSourceConnectionIdRunPost.d.ts +11 -0
- package/dist/cjs/api/resources/sourceConnections/client/requests/DeleteSourceConnectionSourceConnectionsSourceConnectionIdDeleteRequest.d.ts +13 -0
- package/dist/cjs/api/resources/sourceConnections/client/requests/GetSourceConnectionSourceConnectionsSourceConnectionIdGetRequest.d.ts +13 -0
- package/dist/cjs/api/resources/sourceConnections/client/requests/ListSourceConnectionsSourceConnectionsGetRequest.d.ts +21 -0
- package/dist/cjs/api/resources/sourceConnections/client/requests/SourceConnectionCreate.d.ts +29 -0
- package/dist/cjs/api/resources/sourceConnections/client/requests/SourceConnectionUpdate.d.ts +30 -0
- package/dist/cjs/api/resources/sourceConnections/client/requests/index.d.ts +6 -0
- package/dist/cjs/api/resources/sourceConnections/index.d.ts +1 -0
- package/dist/cjs/api/resources/sourceConnections/index.js +17 -0
- package/dist/cjs/api/resources/sources/client/Client.d.ts +65 -0
- package/dist/cjs/api/resources/sources/client/Client.js +181 -0
- package/dist/cjs/api/resources/sources/index.d.ts +1 -0
- package/dist/cjs/api/resources/sources/index.js +17 -0
- package/dist/cjs/api/resources/whiteLabels/client/Client.d.ts +190 -0
- package/dist/cjs/api/resources/whiteLabels/client/Client.js +600 -0
- package/dist/cjs/api/resources/whiteLabels/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/whiteLabels/client/index.js +17 -0
- package/dist/cjs/api/resources/whiteLabels/client/requests/BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions.d.ts +16 -0
- package/dist/cjs/api/resources/whiteLabels/client/requests/WhiteLabelCreate.d.ts +28 -0
- package/dist/cjs/api/resources/whiteLabels/client/requests/WhiteLabelUpdate.d.ts +23 -0
- package/dist/cjs/api/resources/whiteLabels/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/whiteLabels/index.d.ts +1 -0
- package/dist/cjs/api/resources/whiteLabels/index.js +17 -0
- package/dist/cjs/api/types/ApiKey.d.ts +17 -0
- package/dist/cjs/api/types/ApiKeyCreate.d.ts +10 -0
- package/dist/cjs/api/types/BodyCreateCredentialsFromAuthorizationCodeSourceConnectionsSourceShortNameCodeToTokenCredentialsPost.d.ts +13 -0
- package/dist/cjs/api/types/Collection.d.ts +30 -0
- package/dist/cjs/api/types/Connection.d.ts +18 -0
- package/dist/cjs/api/types/DagEdge.d.ts +15 -0
- package/dist/cjs/api/types/DagEdgeCreate.d.ts +10 -0
- package/dist/cjs/api/types/DagNode.d.ts +20 -0
- package/dist/cjs/api/types/DagNodeCreate.d.ts +17 -0
- package/dist/cjs/api/types/Destination.d.ts +22 -0
- package/dist/cjs/api/types/DestinationWithAuthenticationFields.d.ts +23 -0
- package/dist/cjs/api/types/EmbeddingModel.d.ts +20 -0
- package/dist/cjs/api/types/EmbeddingModelWithAuthenticationFields.d.ts +21 -0
- package/dist/cjs/api/types/EntityDefinition.d.ts +21 -0
- package/dist/cjs/api/types/EntityDefinitionCreate.d.ts +19 -0
- package/dist/cjs/api/types/EntityDefinitionUpdate.d.ts +19 -0
- package/dist/cjs/api/types/Fields.d.ts +10 -0
- package/dist/cjs/api/types/HttpValidationError.d.ts +7 -0
- package/dist/cjs/api/types/IntegrationCredentialInDb.d.ts +18 -0
- package/dist/cjs/api/types/IntegrationCredentialRawCreate.d.ts +19 -0
- package/dist/cjs/api/types/InvitationCreate.d.ts +10 -0
- package/dist/cjs/api/types/InvitationResponse.d.ts +13 -0
- package/dist/cjs/api/types/MemberResponse.d.ts +15 -0
- package/dist/cjs/api/types/Organization.d.ts +14 -0
- package/dist/cjs/api/types/OrganizationCreate.d.ts +14 -0
- package/dist/cjs/api/types/OrganizationWithRole.d.ts +16 -0
- package/dist/cjs/api/types/ResponseType.d.ts +11 -0
- package/dist/cjs/api/types/SearchResponse.d.ts +17 -0
- package/dist/cjs/api/types/SearchStatus.d.ts +12 -0
- package/dist/cjs/api/types/Source.d.ts +39 -0
- package/dist/cjs/api/types/SourceConnection.d.ts +61 -0
- package/dist/cjs/api/types/SourceConnectionCreateWithCredential.d.ts +25 -0
- package/dist/cjs/api/types/SourceConnectionCreateWithWhiteLabel.d.ts +29 -0
- package/dist/cjs/api/types/SourceConnectionJob.d.ts +45 -0
- package/dist/cjs/api/types/SourceConnectionListItem.d.ts +29 -0
- package/dist/cjs/api/types/Sync.d.ts +24 -0
- package/dist/cjs/api/types/SyncCreate.d.ts +19 -0
- package/dist/cjs/api/types/SyncDag.d.ts +29 -0
- package/dist/cjs/api/types/SyncDagCreate.d.ts +14 -0
- package/dist/cjs/api/types/SyncDagUpdate.d.ts +14 -0
- package/dist/cjs/api/types/SyncJob.d.ts +30 -0
- package/dist/cjs/api/types/SyncJobStatus.d.ts +15 -0
- package/dist/cjs/api/types/SyncJobStatus.js +14 -0
- package/dist/cjs/api/types/SyncUpdate.d.ts +14 -0
- package/dist/cjs/api/types/SyncWithSourceConnection.d.ts +25 -0
- package/dist/cjs/api/types/Transformer.d.ts +19 -0
- package/dist/cjs/api/types/TransformerCreate.d.ts +15 -0
- package/dist/cjs/api/types/TransformerUpdate.d.ts +15 -0
- package/dist/cjs/api/types/User.d.ts +15 -0
- package/dist/cjs/api/types/UserCreate.d.ts +11 -0
- package/dist/cjs/api/types/UserOrganization.d.ts +14 -0
- package/dist/cjs/api/types/ValidationError.d.ts +14 -0
- package/dist/cjs/api/types/WhiteLabel.d.ts +32 -0
- package/dist/cjs/api/types/index.d.ts +65 -0
- package/dist/cjs/api/types/index.js +81 -0
- package/dist/cjs/core/fetcher/APIResponse.d.ts +20 -0
- package/dist/cjs/core/fetcher/BinaryResponse.d.ts +17 -0
- package/dist/cjs/core/fetcher/BinaryResponse.js +14 -0
- package/dist/cjs/core/fetcher/Fetcher.d.ts +40 -0
- package/dist/cjs/core/fetcher/Fetcher.js +120 -0
- package/dist/cjs/core/fetcher/Headers.d.ts +2 -0
- package/dist/cjs/core/fetcher/Headers.js +84 -0
- package/dist/cjs/core/fetcher/HttpResponsePromise.d.ts +58 -0
- package/dist/cjs/core/fetcher/HttpResponsePromise.js +103 -0
- package/dist/cjs/core/fetcher/RawResponse.d.ts +29 -0
- package/dist/cjs/core/fetcher/RawResponse.js +44 -0
- package/dist/cjs/core/fetcher/ResponseWithBody.d.ts +4 -0
- package/dist/cjs/core/fetcher/ResponseWithBody.js +6 -0
- package/dist/cjs/core/fetcher/createRequestUrl.d.ts +1 -0
- package/dist/cjs/core/fetcher/createRequestUrl.js +8 -0
- package/dist/cjs/core/fetcher/getFetchFn.js +68 -0
- package/dist/cjs/core/fetcher/getRequestBody.js +23 -0
- package/dist/cjs/core/fetcher/getResponseBody.js +55 -0
- package/dist/cjs/core/fetcher/index.d.ts +9 -0
- package/dist/cjs/core/fetcher/index.js +15 -0
- package/dist/cjs/core/fetcher/makeRequest.js +42 -0
- package/dist/cjs/core/fetcher/requestWithRetries.js +40 -0
- package/dist/cjs/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +30 -0
- package/dist/cjs/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +21 -0
- package/dist/cjs/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +31 -0
- package/dist/cjs/core/fetcher/stream-wrappers/chooseStreamWrapper.js +59 -0
- package/dist/cjs/core/headers.d.ts +3 -0
- package/dist/cjs/core/headers.js +29 -0
- package/dist/cjs/core/index.d.ts +3 -0
- package/dist/cjs/core/index.js +42 -0
- package/dist/cjs/core/json.d.ts +15 -0
- package/dist/cjs/core/json.js +24 -0
- package/dist/cjs/core/runtime/index.d.ts +1 -0
- package/dist/cjs/core/runtime/index.js +5 -0
- package/dist/cjs/core/runtime/runtime.d.ts +9 -0
- package/dist/cjs/core/runtime/runtime.js +102 -0
- package/dist/cjs/core/url/index.d.ts +2 -0
- package/dist/cjs/core/url/index.js +7 -0
- package/dist/cjs/core/url/join.d.ts +1 -0
- package/dist/cjs/core/url/join.js +49 -0
- package/dist/cjs/core/url/qs.d.ts +6 -0
- package/dist/cjs/core/url/qs.js +64 -0
- package/dist/cjs/errors/AirweaveSDKError.d.ts +15 -0
- package/dist/cjs/errors/AirweaveSDKError.js +30 -0
- package/dist/cjs/errors/index.d.ts +2 -0
- package/dist/cjs/errors/index.js +7 -0
- package/dist/cjs/index.d.ts +4 -0
- package/dist/cjs/index.js +44 -0
- package/dist/cjs/version.d.ts +1 -0
- package/dist/cjs/version.js +4 -0
- package/dist/esm/Client.d.mts +48 -0
- package/dist/esm/Client.mjs +39 -0
- package/dist/esm/api/errors/UnprocessableEntityError.d.mts +9 -0
- package/dist/esm/api/errors/UnprocessableEntityError.mjs +15 -0
- package/dist/esm/api/errors/index.d.mts +1 -0
- package/dist/esm/api/errors/index.mjs +1 -0
- package/dist/esm/api/index.d.mts +3 -0
- package/dist/esm/api/index.mjs +3 -0
- package/dist/esm/api/resources/collections/client/Client.d.mts +158 -0
- package/dist/esm/api/resources/collections/client/Client.mjs +500 -0
- package/dist/esm/api/resources/collections/client/index.d.mts +2 -0
- package/dist/esm/api/resources/collections/client/index.mjs +1 -0
- package/dist/esm/api/resources/collections/client/requests/CollectionCreate.d.mts +16 -0
- package/dist/esm/api/resources/collections/client/requests/CollectionCreate.mjs +4 -0
- package/dist/esm/api/resources/collections/client/requests/CollectionUpdate.d.mts +13 -0
- package/dist/esm/api/resources/collections/client/requests/CollectionUpdate.mjs +4 -0
- package/dist/esm/api/resources/collections/client/requests/DeleteCollectionCollectionsReadableIdDeleteRequest.d.mts +13 -0
- package/dist/esm/api/resources/collections/client/requests/DeleteCollectionCollectionsReadableIdDeleteRequest.mjs +4 -0
- package/dist/esm/api/resources/collections/client/requests/ListCollectionsCollectionsGetRequest.d.mts +17 -0
- package/dist/esm/api/resources/collections/client/requests/ListCollectionsCollectionsGetRequest.mjs +4 -0
- package/dist/esm/api/resources/collections/client/requests/SearchCollectionCollectionsReadableIdSearchGetRequest.d.mts +20 -0
- package/dist/esm/api/resources/collections/client/requests/SearchCollectionCollectionsReadableIdSearchGetRequest.mjs +4 -0
- package/dist/esm/api/resources/collections/client/requests/index.d.mts +5 -0
- package/dist/esm/api/resources/collections/index.d.mts +1 -0
- package/dist/esm/api/resources/collections/index.mjs +1 -0
- package/dist/esm/api/resources/index.d.mts +7 -0
- package/dist/esm/api/resources/index.mjs +7 -0
- package/dist/esm/api/resources/sourceConnections/client/Client.d.mts +208 -0
- package/dist/esm/api/resources/sourceConnections/client/Client.mjs +652 -0
- package/dist/esm/api/resources/sourceConnections/client/index.d.mts +2 -0
- package/dist/esm/api/resources/sourceConnections/client/index.mjs +1 -0
- package/dist/esm/api/resources/sourceConnections/client/requests/BodyRunSourceConnectionSourceConnectionsSourceConnectionIdRunPost.d.mts +11 -0
- package/dist/esm/api/resources/sourceConnections/client/requests/BodyRunSourceConnectionSourceConnectionsSourceConnectionIdRunPost.mjs +4 -0
- package/dist/esm/api/resources/sourceConnections/client/requests/DeleteSourceConnectionSourceConnectionsSourceConnectionIdDeleteRequest.d.mts +13 -0
- package/dist/esm/api/resources/sourceConnections/client/requests/DeleteSourceConnectionSourceConnectionsSourceConnectionIdDeleteRequest.mjs +4 -0
- package/dist/esm/api/resources/sourceConnections/client/requests/GetSourceConnectionSourceConnectionsSourceConnectionIdGetRequest.d.mts +13 -0
- package/dist/esm/api/resources/sourceConnections/client/requests/GetSourceConnectionSourceConnectionsSourceConnectionIdGetRequest.mjs +4 -0
- package/dist/esm/api/resources/sourceConnections/client/requests/ListSourceConnectionsSourceConnectionsGetRequest.d.mts +21 -0
- package/dist/esm/api/resources/sourceConnections/client/requests/ListSourceConnectionsSourceConnectionsGetRequest.mjs +4 -0
- package/dist/esm/api/resources/sourceConnections/client/requests/SourceConnectionCreate.d.mts +29 -0
- package/dist/esm/api/resources/sourceConnections/client/requests/SourceConnectionCreate.mjs +4 -0
- package/dist/esm/api/resources/sourceConnections/client/requests/SourceConnectionUpdate.d.mts +30 -0
- package/dist/esm/api/resources/sourceConnections/client/requests/SourceConnectionUpdate.mjs +4 -0
- package/dist/esm/api/resources/sourceConnections/client/requests/index.d.mts +6 -0
- package/dist/esm/api/resources/sourceConnections/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/sourceConnections/index.d.mts +1 -0
- package/dist/esm/api/resources/sourceConnections/index.mjs +1 -0
- package/dist/esm/api/resources/sources/client/Client.d.mts +65 -0
- package/dist/esm/api/resources/sources/client/Client.mjs +144 -0
- package/dist/esm/api/resources/sources/client/index.d.mts +1 -0
- package/dist/esm/api/resources/sources/client/index.mjs +1 -0
- package/dist/esm/api/resources/sources/index.d.mts +1 -0
- package/dist/esm/api/resources/sources/index.mjs +1 -0
- package/dist/esm/api/resources/whiteLabels/client/Client.d.mts +190 -0
- package/dist/esm/api/resources/whiteLabels/client/Client.mjs +563 -0
- package/dist/esm/api/resources/whiteLabels/client/index.d.mts +2 -0
- package/dist/esm/api/resources/whiteLabels/client/index.mjs +1 -0
- package/dist/esm/api/resources/whiteLabels/client/requests/BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions.d.mts +16 -0
- package/dist/esm/api/resources/whiteLabels/client/requests/BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions.mjs +4 -0
- package/dist/esm/api/resources/whiteLabels/client/requests/WhiteLabelCreate.d.mts +28 -0
- package/dist/esm/api/resources/whiteLabels/client/requests/WhiteLabelCreate.mjs +4 -0
- package/dist/esm/api/resources/whiteLabels/client/requests/WhiteLabelUpdate.d.mts +23 -0
- package/dist/esm/api/resources/whiteLabels/client/requests/WhiteLabelUpdate.mjs +4 -0
- package/dist/esm/api/resources/whiteLabels/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/whiteLabels/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/whiteLabels/index.d.mts +1 -0
- package/dist/esm/api/resources/whiteLabels/index.mjs +1 -0
- package/dist/esm/api/types/ApiKey.d.mts +17 -0
- package/dist/esm/api/types/ApiKey.mjs +4 -0
- package/dist/esm/api/types/ApiKeyCreate.d.mts +10 -0
- package/dist/esm/api/types/ApiKeyCreate.mjs +4 -0
- package/dist/esm/api/types/AuthType.mjs +13 -0
- package/dist/esm/api/types/BodyConnectSlackWithTokenConnectionsDirectTokenSlackPost.mjs +4 -0
- package/dist/esm/api/types/BodyCreateCredentialsFromAuthorizationCodeSourceConnectionsSourceShortNameCodeToTokenCredentialsPost.d.mts +13 -0
- package/dist/esm/api/types/BodyCreateCredentialsFromAuthorizationCodeSourceConnectionsSourceShortNameCodeToTokenCredentialsPost.mjs +4 -0
- package/dist/esm/api/types/Collection.d.mts +30 -0
- package/dist/esm/api/types/Collection.mjs +4 -0
- package/dist/esm/api/types/CollectionStatus.mjs +9 -0
- package/dist/esm/api/types/ConfigField.mjs +4 -0
- package/dist/esm/api/types/ConfigValues.mjs +4 -0
- package/dist/esm/api/types/Connection.d.mts +18 -0
- package/dist/esm/api/types/Connection.mjs +4 -0
- package/dist/esm/api/types/ConnectionStatus.mjs +8 -0
- package/dist/esm/api/types/DagEdge.d.mts +15 -0
- package/dist/esm/api/types/DagEdge.mjs +4 -0
- package/dist/esm/api/types/DagEdgeCreate.d.mts +10 -0
- package/dist/esm/api/types/DagEdgeCreate.mjs +4 -0
- package/dist/esm/api/types/DagNode.d.mts +20 -0
- package/dist/esm/api/types/DagNode.mjs +4 -0
- package/dist/esm/api/types/DagNodeCreate.d.mts +17 -0
- package/dist/esm/api/types/DagNodeCreate.mjs +4 -0
- package/dist/esm/api/types/Destination.d.mts +22 -0
- package/dist/esm/api/types/Destination.mjs +4 -0
- package/dist/esm/api/types/DestinationWithAuthenticationFields.d.mts +23 -0
- package/dist/esm/api/types/DestinationWithAuthenticationFields.mjs +4 -0
- package/dist/esm/api/types/EmbeddingModel.d.mts +20 -0
- package/dist/esm/api/types/EmbeddingModel.mjs +4 -0
- package/dist/esm/api/types/EmbeddingModelWithAuthenticationFields.d.mts +21 -0
- package/dist/esm/api/types/EmbeddingModelWithAuthenticationFields.mjs +4 -0
- package/dist/esm/api/types/EntityCount.mjs +4 -0
- package/dist/esm/api/types/EntityDefinition.d.mts +21 -0
- package/dist/esm/api/types/EntityDefinition.mjs +4 -0
- package/dist/esm/api/types/EntityDefinitionCreate.d.mts +19 -0
- package/dist/esm/api/types/EntityDefinitionCreate.mjs +4 -0
- package/dist/esm/api/types/EntityDefinitionUpdate.d.mts +19 -0
- package/dist/esm/api/types/EntityDefinitionUpdate.mjs +4 -0
- package/dist/esm/api/types/EntityType.mjs +7 -0
- package/dist/esm/api/types/Fields.d.mts +10 -0
- package/dist/esm/api/types/Fields.mjs +4 -0
- package/dist/esm/api/types/HttpValidationError.d.mts +7 -0
- package/dist/esm/api/types/HttpValidationError.mjs +4 -0
- package/dist/esm/api/types/IntegrationCredentialInDb.d.mts +18 -0
- package/dist/esm/api/types/IntegrationCredentialInDb.mjs +4 -0
- package/dist/esm/api/types/IntegrationCredentialRawCreate.d.mts +19 -0
- package/dist/esm/api/types/IntegrationCredentialRawCreate.mjs +4 -0
- package/dist/esm/api/types/IntegrationType.mjs +8 -0
- package/dist/esm/api/types/InvitationCreate.d.mts +10 -0
- package/dist/esm/api/types/InvitationCreate.mjs +4 -0
- package/dist/esm/api/types/InvitationResponse.d.mts +13 -0
- package/dist/esm/api/types/InvitationResponse.mjs +4 -0
- package/dist/esm/api/types/MemberResponse.d.mts +15 -0
- package/dist/esm/api/types/MemberResponse.mjs +4 -0
- package/dist/esm/api/types/NodeType.mjs +9 -0
- package/dist/esm/api/types/OAuth2AuthUrl.mjs +4 -0
- package/dist/esm/api/types/Organization.d.mts +14 -0
- package/dist/esm/api/types/Organization.mjs +4 -0
- package/dist/esm/api/types/OrganizationCreate.d.mts +14 -0
- package/dist/esm/api/types/OrganizationCreate.mjs +4 -0
- package/dist/esm/api/types/OrganizationWithRole.d.mts +16 -0
- package/dist/esm/api/types/OrganizationWithRole.mjs +4 -0
- package/dist/esm/api/types/ResponseType.d.mts +11 -0
- package/dist/esm/api/types/ResponseType.mjs +7 -0
- package/dist/esm/api/types/SearchResponse.d.mts +17 -0
- package/dist/esm/api/types/SearchResponse.mjs +4 -0
- package/dist/esm/api/types/SearchStatus.d.mts +12 -0
- package/dist/esm/api/types/SearchStatus.mjs +8 -0
- package/dist/esm/api/types/Source.d.mts +39 -0
- package/dist/esm/api/types/Source.mjs +4 -0
- package/dist/esm/api/types/SourceConnection.d.mts +61 -0
- package/dist/esm/api/types/SourceConnection.mjs +4 -0
- package/dist/esm/api/types/SourceConnectionCreateWithCredential.d.mts +25 -0
- package/dist/esm/api/types/SourceConnectionCreateWithCredential.mjs +4 -0
- package/dist/esm/api/types/SourceConnectionCreateWithWhiteLabel.d.mts +29 -0
- package/dist/esm/api/types/SourceConnectionCreateWithWhiteLabel.mjs +4 -0
- package/dist/esm/api/types/SourceConnectionJob.d.mts +45 -0
- package/dist/esm/api/types/SourceConnectionJob.mjs +4 -0
- package/dist/esm/api/types/SourceConnectionListItem.d.mts +29 -0
- package/dist/esm/api/types/SourceConnectionListItem.mjs +4 -0
- package/dist/esm/api/types/SourceConnectionStatus.mjs +8 -0
- package/dist/esm/api/types/Sync.d.mts +24 -0
- package/dist/esm/api/types/Sync.mjs +4 -0
- package/dist/esm/api/types/SyncCreate.d.mts +19 -0
- package/dist/esm/api/types/SyncCreate.mjs +4 -0
- package/dist/esm/api/types/SyncDag.d.mts +29 -0
- package/dist/esm/api/types/SyncDag.mjs +4 -0
- package/dist/esm/api/types/SyncDagCreate.d.mts +14 -0
- package/dist/esm/api/types/SyncDagCreate.mjs +4 -0
- package/dist/esm/api/types/SyncDagUpdate.d.mts +14 -0
- package/dist/esm/api/types/SyncDagUpdate.mjs +4 -0
- package/dist/esm/api/types/SyncJob.d.mts +30 -0
- package/dist/esm/api/types/SyncJob.mjs +4 -0
- package/dist/esm/api/types/SyncJobStatus.d.mts +15 -0
- package/dist/esm/api/types/SyncJobStatus.mjs +11 -0
- package/dist/esm/api/types/SyncStatus.mjs +8 -0
- package/dist/esm/api/types/SyncUpdate.d.mts +14 -0
- package/dist/esm/api/types/SyncUpdate.mjs +4 -0
- package/dist/esm/api/types/SyncWithSourceConnection.d.mts +25 -0
- package/dist/esm/api/types/SyncWithSourceConnection.mjs +4 -0
- package/dist/esm/api/types/Transformer.d.mts +19 -0
- package/dist/esm/api/types/Transformer.mjs +4 -0
- package/dist/esm/api/types/TransformerCreate.d.mts +15 -0
- package/dist/esm/api/types/TransformerCreate.mjs +4 -0
- package/dist/esm/api/types/TransformerUpdate.d.mts +15 -0
- package/dist/esm/api/types/TransformerUpdate.mjs +4 -0
- package/dist/esm/api/types/User.d.mts +15 -0
- package/dist/esm/api/types/User.mjs +4 -0
- package/dist/esm/api/types/UserCreate.d.mts +11 -0
- package/dist/esm/api/types/UserCreate.mjs +4 -0
- package/dist/esm/api/types/UserOrganization.d.mts +14 -0
- package/dist/esm/api/types/UserOrganization.mjs +4 -0
- package/dist/esm/api/types/ValidationError.d.mts +14 -0
- package/dist/esm/api/types/ValidationError.mjs +4 -0
- package/dist/esm/api/types/WhiteLabel.d.mts +32 -0
- package/dist/esm/api/types/WhiteLabel.mjs +4 -0
- package/dist/esm/api/types/index.d.mts +65 -0
- package/dist/esm/api/types/index.mjs +65 -0
- package/dist/esm/core/fetcher/APIResponse.d.mts +20 -0
- package/dist/esm/core/fetcher/APIResponse.mjs +1 -0
- package/dist/esm/core/fetcher/BinaryResponse.d.mts +17 -0
- package/dist/esm/core/fetcher/BinaryResponse.mjs +11 -0
- package/dist/esm/core/fetcher/Fetcher.d.mts +40 -0
- package/dist/esm/core/fetcher/Fetcher.mjs +116 -0
- package/dist/esm/core/fetcher/Headers.d.mts +2 -0
- package/dist/esm/core/fetcher/Headers.mjs +82 -0
- package/dist/esm/core/fetcher/HttpResponsePromise.d.mts +58 -0
- package/dist/esm/core/fetcher/HttpResponsePromise.mjs +99 -0
- package/dist/esm/core/fetcher/RawResponse.d.mts +29 -0
- package/dist/esm/core/fetcher/RawResponse.mjs +40 -0
- package/dist/esm/core/fetcher/ResponseWithBody.d.mts +4 -0
- package/dist/esm/core/fetcher/ResponseWithBody.mjs +3 -0
- package/dist/esm/core/fetcher/Supplier.mjs +19 -0
- package/dist/esm/core/fetcher/createRequestUrl.d.mts +1 -0
- package/dist/esm/core/fetcher/createRequestUrl.mjs +5 -0
- package/dist/esm/core/fetcher/getFetchFn.mjs +32 -0
- package/dist/esm/core/fetcher/getHeader.mjs +8 -0
- package/dist/esm/core/fetcher/getRequestBody.mjs +20 -0
- package/dist/esm/core/fetcher/getResponseBody.mjs +52 -0
- package/dist/esm/core/fetcher/index.d.mts +9 -0
- package/dist/esm/core/fetcher/index.mjs +5 -0
- package/dist/esm/core/fetcher/makeRequest.mjs +38 -0
- package/dist/esm/core/fetcher/requestWithRetries.mjs +37 -0
- package/dist/esm/core/fetcher/signals.mjs +32 -0
- package/dist/esm/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.mts +30 -0
- package/dist/esm/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.mjs +243 -0
- package/dist/esm/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.mts +21 -0
- package/dist/esm/core/fetcher/stream-wrappers/NodePre18StreamWrapper.mjs +122 -0
- package/dist/esm/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.mts +31 -0
- package/dist/esm/core/fetcher/stream-wrappers/UndiciStreamWrapper.mjs +225 -0
- package/dist/esm/core/fetcher/stream-wrappers/chooseStreamWrapper.mjs +23 -0
- package/dist/esm/core/headers.d.mts +3 -0
- package/dist/esm/core/headers.mjs +25 -0
- package/dist/esm/core/index.d.mts +3 -0
- package/dist/esm/core/index.mjs +3 -0
- package/dist/esm/core/json.d.mts +15 -0
- package/dist/esm/core/json.mjs +19 -0
- package/dist/esm/core/runtime/index.d.mts +1 -0
- package/dist/esm/core/runtime/index.mjs +1 -0
- package/dist/esm/core/runtime/runtime.d.mts +9 -0
- package/dist/esm/core/runtime/runtime.mjs +99 -0
- package/dist/esm/core/url/index.d.mts +2 -0
- package/dist/esm/core/url/index.mjs +2 -0
- package/dist/esm/core/url/join.d.mts +1 -0
- package/dist/esm/core/url/join.mjs +46 -0
- package/dist/esm/core/url/qs.d.mts +6 -0
- package/dist/esm/core/url/qs.mjs +61 -0
- package/dist/esm/environments.mjs +7 -0
- package/dist/esm/errors/AirweaveSDKError.d.mts +15 -0
- package/dist/esm/errors/AirweaveSDKError.mjs +26 -0
- package/dist/esm/errors/AirweaveSDKTimeoutError.mjs +9 -0
- package/dist/esm/errors/index.d.mts +2 -0
- package/dist/esm/errors/index.mjs +2 -0
- package/dist/esm/index.d.mts +4 -0
- package/dist/esm/index.mjs +4 -0
- package/dist/esm/version.d.mts +1 -0
- package/dist/esm/version.mjs +1 -0
- package/package.json +39 -14
- package/reference.md +860 -127
- package/Client.d.ts +0 -37
- package/Client.js +0 -27
- package/api/errors/UnprocessableEntityError.d.ts +0 -8
- package/api/errors/UnprocessableEntityError.js +0 -51
- package/api/errors/index.d.ts +0 -1
- package/api/errors/index.js +0 -17
- package/api/index.d.ts +0 -3
- package/api/index.js +0 -19
- package/api/resources/collections/client/Client.d.ts +0 -135
- package/api/resources/collections/client/Client.js +0 -510
- package/api/resources/collections/client/index.d.ts +0 -1
- package/api/resources/collections/client/index.js +0 -17
- package/api/resources/collections/client/requests/CollectionCreate.d.ts +0 -15
- package/api/resources/collections/client/requests/DeleteCollectionCollectionsReadableIdDeleteRequest.d.ts +0 -10
- package/api/resources/collections/client/requests/ListCollectionsCollectionsGetRequest.d.ts +0 -11
- package/api/resources/collections/client/requests/SearchCollectionCollectionsReadableIdSearchGetRequest.d.ts +0 -20
- package/api/resources/collections/client/requests/index.d.ts +0 -4
- package/api/resources/collections/index.d.ts +0 -1
- package/api/resources/collections/index.js +0 -17
- package/api/resources/index.d.ts +0 -6
- package/api/resources/index.js +0 -45
- package/api/resources/sourceConnections/client/Client.d.ts +0 -191
- package/api/resources/sourceConnections/client/Client.js +0 -625
- package/api/resources/sourceConnections/client/index.d.ts +0 -1
- package/api/resources/sourceConnections/client/index.js +0 -17
- package/api/resources/sourceConnections/client/requests/BodyRunSourceConnectionSourceConnectionsSourceConnectionIdRunPost.d.ts +0 -10
- package/api/resources/sourceConnections/client/requests/DeleteSourceConnectionSourceConnectionsSourceConnectionIdDeleteRequest.d.ts +0 -10
- package/api/resources/sourceConnections/client/requests/GetSourceConnectionSourceConnectionsSourceConnectionIdGetRequest.d.ts +0 -10
- package/api/resources/sourceConnections/client/requests/ListSourceConnectionsSourceConnectionsGetRequest.d.ts +0 -15
- package/api/resources/sourceConnections/client/requests/SourceConnectionUpdate.d.ts +0 -18
- package/api/resources/sourceConnections/client/requests/index.d.ts +0 -5
- package/api/resources/sourceConnections/index.d.ts +0 -2
- package/api/resources/sourceConnections/index.js +0 -18
- package/api/resources/sourceConnections/types/SourceConnectionUpdateAuthFields.d.ts +0 -5
- package/api/resources/sourceConnections/types/index.d.ts +0 -1
- package/api/resources/sourceConnections/types/index.js +0 -17
- package/api/resources/sources/client/Client.d.ts +0 -68
- package/api/resources/sources/client/Client.js +0 -208
- package/api/resources/sources/index.d.ts +0 -1
- package/api/resources/sources/index.js +0 -17
- package/api/types/ApiKey.d.ts +0 -17
- package/api/types/ApiKeyCreate.d.ts +0 -10
- package/api/types/BodyCreateCredentialsFromAuthorizationCodeSourceConnectionsSourceShortNameCodeToTokenCredentialsPost.d.ts +0 -9
- package/api/types/BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePost.d.ts +0 -8
- package/api/types/Chat.d.ts +0 -22
- package/api/types/ChatCreate.d.ts +0 -14
- package/api/types/ChatMessage.d.ts +0 -18
- package/api/types/ChatMessageCreate.d.ts +0 -10
- package/api/types/ChatUpdate.d.ts +0 -12
- package/api/types/Collection.d.ts +0 -19
- package/api/types/CollectionUpdate.d.ts +0 -10
- package/api/types/Connection.d.ts +0 -18
- package/api/types/DagEdge.d.ts +0 -15
- package/api/types/DagEdgeCreate.d.ts +0 -10
- package/api/types/DagNode.d.ts +0 -20
- package/api/types/DagNodeCreate.d.ts +0 -17
- package/api/types/Destination.d.ts +0 -22
- package/api/types/DestinationWithAuthenticationFields.d.ts +0 -23
- package/api/types/EmbeddingModel.d.ts +0 -20
- package/api/types/EmbeddingModelWithAuthenticationFields.d.ts +0 -21
- package/api/types/EntityDefinition.d.ts +0 -18
- package/api/types/EntityDefinitionCreate.d.ts +0 -16
- package/api/types/EntityDefinitionCreateEntitySchema.d.ts +0 -4
- package/api/types/EntityDefinitionEntitySchema.d.ts +0 -4
- package/api/types/EntityDefinitionUpdate.d.ts +0 -16
- package/api/types/EntityDefinitionUpdateEntitySchema.d.ts +0 -4
- package/api/types/EntityDefinitionUpdateEntitySchema.js +0 -5
- package/api/types/EntityRelation.d.ts +0 -16
- package/api/types/EntityRelation.js +0 -5
- package/api/types/EntityRelationCreate.d.ts +0 -12
- package/api/types/EntityRelationCreate.js +0 -5
- package/api/types/EntityRelationUpdate.d.ts +0 -12
- package/api/types/EntityRelationUpdate.js +0 -5
- package/api/types/Fields.d.ts +0 -10
- package/api/types/HttpValidationError.d.ts +0 -7
- package/api/types/IntegrationCredentialInDb.d.ts +0 -18
- package/api/types/IntegrationCredentialRawCreate.d.ts +0 -19
- package/api/types/Organization.d.ts +0 -13
- package/api/types/ResponseType.d.ts +0 -11
- package/api/types/SearchResponse.d.ts +0 -13
- package/api/types/SearchStatus.d.ts +0 -12
- package/api/types/Source.d.ts +0 -25
- package/api/types/SourceConnection.d.ts +0 -33
- package/api/types/SourceConnectionAuthFields.d.ts +0 -5
- package/api/types/SourceConnectionAuthFields.js +0 -5
- package/api/types/SourceConnectionCreate.d.ts +0 -23
- package/api/types/SourceConnectionJob.d.ts +0 -30
- package/api/types/SourceConnectionListItem.d.ts +0 -22
- package/api/types/Sync.d.ts +0 -24
- package/api/types/SyncCreate.d.ts +0 -19
- package/api/types/SyncDag.d.ts +0 -29
- package/api/types/SyncDagCreate.d.ts +0 -14
- package/api/types/SyncDagUpdate.d.ts +0 -14
- package/api/types/SyncJob.d.ts +0 -30
- package/api/types/SyncJobStatus.d.ts +0 -13
- package/api/types/SyncJobStatus.js +0 -12
- package/api/types/SyncUpdate.d.ts +0 -14
- package/api/types/SyncWithSourceConnection.d.ts +0 -25
- package/api/types/Transformer.d.ts +0 -19
- package/api/types/TransformerCreate.d.ts +0 -15
- package/api/types/TransformerUpdate.d.ts +0 -15
- package/api/types/User.d.ts +0 -13
- package/api/types/UserCreate.d.ts +0 -11
- package/api/types/ValidationError.d.ts +0 -9
- package/api/types/ValidationErrorLocItem.d.ts +0 -4
- package/api/types/ValidationErrorLocItem.js +0 -5
- package/api/types/WhiteLabel.d.ts +0 -20
- package/api/types/WhiteLabelCreate.d.ts +0 -14
- package/api/types/WhiteLabelUpdate.d.ts +0 -13
- package/api/types/index.d.ts +0 -75
- package/api/types/index.js +0 -91
- package/core/fetcher/APIResponse.d.ts +0 -10
- package/core/fetcher/Fetcher.d.ts +0 -39
- package/core/fetcher/Fetcher.js +0 -99
- package/core/fetcher/createRequestUrl.d.ts +0 -1
- package/core/fetcher/createRequestUrl.js +0 -12
- package/core/fetcher/getFetchFn.js +0 -68
- package/core/fetcher/getRequestBody.js +0 -22
- package/core/fetcher/getResponseBody.js +0 -54
- package/core/fetcher/index.d.ts +0 -5
- package/core/fetcher/index.js +0 -9
- package/core/fetcher/makeRequest.js +0 -42
- package/core/fetcher/requestWithRetries.js +0 -40
- package/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +0 -30
- package/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +0 -21
- package/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +0 -31
- package/core/fetcher/stream-wrappers/chooseStreamWrapper.js +0 -59
- package/core/index.d.ts +0 -3
- package/core/index.js +0 -42
- package/core/runtime/index.d.ts +0 -1
- package/core/runtime/index.js +0 -5
- package/core/runtime/runtime.d.ts +0 -9
- package/core/runtime/runtime.js +0 -93
- package/core/schemas/Schema.d.ts +0 -85
- package/core/schemas/Schema.js +0 -22
- package/core/schemas/builders/bigint/bigint.d.ts +0 -2
- package/core/schemas/builders/bigint/bigint.js +0 -49
- package/core/schemas/builders/bigint/index.d.ts +0 -1
- package/core/schemas/builders/bigint/index.js +0 -5
- package/core/schemas/builders/date/date.d.ts +0 -2
- package/core/schemas/builders/date/date.js +0 -62
- package/core/schemas/builders/date/index.d.ts +0 -1
- package/core/schemas/builders/date/index.js +0 -5
- package/core/schemas/builders/enum/enum.d.ts +0 -2
- package/core/schemas/builders/enum/enum.js +0 -38
- package/core/schemas/builders/enum/index.d.ts +0 -1
- package/core/schemas/builders/enum/index.js +0 -5
- package/core/schemas/builders/index.d.ts +0 -14
- package/core/schemas/builders/index.js +0 -30
- package/core/schemas/builders/lazy/index.d.ts +0 -3
- package/core/schemas/builders/lazy/index.js +0 -7
- package/core/schemas/builders/lazy/lazy.d.ts +0 -5
- package/core/schemas/builders/lazy/lazy.js +0 -24
- package/core/schemas/builders/lazy/lazyObject.d.ts +0 -3
- package/core/schemas/builders/lazy/lazyObject.js +0 -11
- package/core/schemas/builders/list/index.d.ts +0 -1
- package/core/schemas/builders/list/index.js +0 -5
- package/core/schemas/builders/list/list.d.ts +0 -2
- package/core/schemas/builders/list/list.js +0 -54
- package/core/schemas/builders/literals/booleanLiteral.d.ts +0 -2
- package/core/schemas/builders/literals/booleanLiteral.js +0 -28
- package/core/schemas/builders/literals/index.d.ts +0 -2
- package/core/schemas/builders/literals/index.js +0 -7
- package/core/schemas/builders/literals/stringLiteral.d.ts +0 -2
- package/core/schemas/builders/literals/stringLiteral.js +0 -28
- package/core/schemas/builders/object/index.d.ts +0 -6
- package/core/schemas/builders/object/index.js +0 -11
- package/core/schemas/builders/object/object.d.ts +0 -3
- package/core/schemas/builders/object/object.js +0 -260
- package/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +0 -6
- package/core/schemas/builders/object/objectWithoutOptionalProperties.js +0 -7
- package/core/schemas/builders/object/property.d.ts +0 -8
- package/core/schemas/builders/object/property.js +0 -15
- package/core/schemas/builders/object/types.d.ts +0 -31
- package/core/schemas/builders/object/types.js +0 -2
- package/core/schemas/builders/object-like/getObjectLikeUtils.d.ts +0 -9
- package/core/schemas/builders/object-like/getObjectLikeUtils.js +0 -53
- package/core/schemas/builders/object-like/index.d.ts +0 -2
- package/core/schemas/builders/object-like/index.js +0 -6
- package/core/schemas/builders/object-like/types.d.ts +0 -7
- package/core/schemas/builders/object-like/types.js +0 -2
- package/core/schemas/builders/primitives/any.d.ts +0 -1
- package/core/schemas/builders/primitives/any.js +0 -6
- package/core/schemas/builders/primitives/boolean.d.ts +0 -1
- package/core/schemas/builders/primitives/boolean.js +0 -25
- package/core/schemas/builders/primitives/index.d.ts +0 -5
- package/core/schemas/builders/primitives/index.js +0 -13
- package/core/schemas/builders/primitives/number.d.ts +0 -1
- package/core/schemas/builders/primitives/number.js +0 -25
- package/core/schemas/builders/primitives/string.d.ts +0 -1
- package/core/schemas/builders/primitives/string.js +0 -25
- package/core/schemas/builders/primitives/unknown.d.ts +0 -1
- package/core/schemas/builders/primitives/unknown.js +0 -6
- package/core/schemas/builders/record/index.d.ts +0 -2
- package/core/schemas/builders/record/index.js +0 -5
- package/core/schemas/builders/record/record.d.ts +0 -3
- package/core/schemas/builders/record/record.js +0 -94
- package/core/schemas/builders/record/types.d.ts +0 -4
- package/core/schemas/builders/record/types.js +0 -2
- package/core/schemas/builders/schema-utils/JsonError.d.ts +0 -5
- package/core/schemas/builders/schema-utils/JsonError.js +0 -12
- package/core/schemas/builders/schema-utils/ParseError.d.ts +0 -5
- package/core/schemas/builders/schema-utils/ParseError.js +0 -12
- package/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +0 -17
- package/core/schemas/builders/schema-utils/getSchemaUtils.js +0 -81
- package/core/schemas/builders/schema-utils/index.d.ts +0 -4
- package/core/schemas/builders/schema-utils/index.js +0 -11
- package/core/schemas/builders/schema-utils/stringifyValidationErrors.d.ts +0 -2
- package/core/schemas/builders/schema-utils/stringifyValidationErrors.js +0 -9
- package/core/schemas/builders/set/index.d.ts +0 -1
- package/core/schemas/builders/set/index.js +0 -5
- package/core/schemas/builders/set/set.d.ts +0 -2
- package/core/schemas/builders/set/set.js +0 -43
- package/core/schemas/builders/undiscriminated-union/index.d.ts +0 -2
- package/core/schemas/builders/undiscriminated-union/index.js +0 -5
- package/core/schemas/builders/undiscriminated-union/types.d.ts +0 -4
- package/core/schemas/builders/undiscriminated-union/types.js +0 -2
- package/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.d.ts +0 -3
- package/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +0 -39
- package/core/schemas/builders/union/discriminant.d.ts +0 -5
- package/core/schemas/builders/union/discriminant.js +0 -9
- package/core/schemas/builders/union/index.d.ts +0 -4
- package/core/schemas/builders/union/index.js +0 -7
- package/core/schemas/builders/union/types.d.ts +0 -13
- package/core/schemas/builders/union/types.js +0 -2
- package/core/schemas/builders/union/union.d.ts +0 -4
- package/core/schemas/builders/union/union.js +0 -129
- package/core/schemas/index.d.ts +0 -2
- package/core/schemas/index.js +0 -17
- package/core/schemas/utils/MaybePromise.d.ts +0 -1
- package/core/schemas/utils/MaybePromise.js +0 -2
- package/core/schemas/utils/addQuestionMarksToNullableProperties.d.ts +0 -7
- package/core/schemas/utils/addQuestionMarksToNullableProperties.js +0 -2
- package/core/schemas/utils/createIdentitySchemaCreator.d.ts +0 -2
- package/core/schemas/utils/createIdentitySchemaCreator.js +0 -15
- package/core/schemas/utils/entries.d.ts +0 -1
- package/core/schemas/utils/entries.js +0 -6
- package/core/schemas/utils/filterObject.d.ts +0 -1
- package/core/schemas/utils/filterObject.js +0 -13
- package/core/schemas/utils/getErrorMessageForIncorrectType.d.ts +0 -1
- package/core/schemas/utils/getErrorMessageForIncorrectType.js +0 -27
- package/core/schemas/utils/isPlainObject.d.ts +0 -1
- package/core/schemas/utils/isPlainObject.js +0 -17
- package/core/schemas/utils/keys.d.ts +0 -1
- package/core/schemas/utils/keys.js +0 -6
- package/core/schemas/utils/maybeSkipValidation.d.ts +0 -2
- package/core/schemas/utils/maybeSkipValidation.js +0 -27
- package/core/schemas/utils/partition.d.ts +0 -1
- package/core/schemas/utils/partition.js +0 -15
- package/dist/Client.d.ts +0 -37
- package/dist/Client.js +0 -27
- package/dist/api/errors/UnprocessableEntityError.d.ts +0 -8
- package/dist/api/errors/UnprocessableEntityError.js +0 -51
- package/dist/api/errors/index.d.ts +0 -1
- package/dist/api/errors/index.js +0 -17
- package/dist/api/index.d.ts +0 -3
- package/dist/api/index.js +0 -19
- package/dist/api/resources/collections/client/Client.d.ts +0 -135
- package/dist/api/resources/collections/client/Client.js +0 -510
- package/dist/api/resources/collections/client/index.d.ts +0 -1
- package/dist/api/resources/collections/client/index.js +0 -17
- package/dist/api/resources/collections/client/requests/CollectionCreate.d.ts +0 -15
- package/dist/api/resources/collections/client/requests/CollectionCreate.js +0 -5
- package/dist/api/resources/collections/client/requests/DeleteCollectionCollectionsReadableIdDeleteRequest.d.ts +0 -10
- package/dist/api/resources/collections/client/requests/DeleteCollectionCollectionsReadableIdDeleteRequest.js +0 -5
- package/dist/api/resources/collections/client/requests/ListCollectionsCollectionsGetRequest.d.ts +0 -11
- package/dist/api/resources/collections/client/requests/ListCollectionsCollectionsGetRequest.js +0 -5
- package/dist/api/resources/collections/client/requests/SearchCollectionCollectionsReadableIdSearchGetRequest.d.ts +0 -20
- package/dist/api/resources/collections/client/requests/SearchCollectionCollectionsReadableIdSearchGetRequest.js +0 -5
- package/dist/api/resources/collections/client/requests/index.d.ts +0 -4
- package/dist/api/resources/collections/index.d.ts +0 -1
- package/dist/api/resources/collections/index.js +0 -17
- package/dist/api/resources/index.d.ts +0 -6
- package/dist/api/resources/index.js +0 -45
- package/dist/api/resources/sourceConnections/client/Client.d.ts +0 -191
- package/dist/api/resources/sourceConnections/client/Client.js +0 -625
- package/dist/api/resources/sourceConnections/client/index.d.ts +0 -1
- package/dist/api/resources/sourceConnections/client/index.js +0 -17
- package/dist/api/resources/sourceConnections/client/requests/BodyRunSourceConnectionSourceConnectionsSourceConnectionIdRunPost.d.ts +0 -10
- package/dist/api/resources/sourceConnections/client/requests/BodyRunSourceConnectionSourceConnectionsSourceConnectionIdRunPost.js +0 -5
- package/dist/api/resources/sourceConnections/client/requests/DeleteSourceConnectionSourceConnectionsSourceConnectionIdDeleteRequest.d.ts +0 -10
- package/dist/api/resources/sourceConnections/client/requests/DeleteSourceConnectionSourceConnectionsSourceConnectionIdDeleteRequest.js +0 -5
- package/dist/api/resources/sourceConnections/client/requests/GetSourceConnectionSourceConnectionsSourceConnectionIdGetRequest.d.ts +0 -10
- package/dist/api/resources/sourceConnections/client/requests/GetSourceConnectionSourceConnectionsSourceConnectionIdGetRequest.js +0 -5
- package/dist/api/resources/sourceConnections/client/requests/ListSourceConnectionsSourceConnectionsGetRequest.d.ts +0 -15
- package/dist/api/resources/sourceConnections/client/requests/ListSourceConnectionsSourceConnectionsGetRequest.js +0 -5
- package/dist/api/resources/sourceConnections/client/requests/SourceConnectionUpdate.d.ts +0 -18
- package/dist/api/resources/sourceConnections/client/requests/SourceConnectionUpdate.js +0 -5
- package/dist/api/resources/sourceConnections/client/requests/index.d.ts +0 -5
- package/dist/api/resources/sourceConnections/client/requests/index.js +0 -2
- package/dist/api/resources/sourceConnections/index.d.ts +0 -2
- package/dist/api/resources/sourceConnections/index.js +0 -18
- package/dist/api/resources/sourceConnections/types/SourceConnectionUpdateAuthFields.d.ts +0 -5
- package/dist/api/resources/sourceConnections/types/SourceConnectionUpdateAuthFields.js +0 -5
- package/dist/api/resources/sourceConnections/types/index.d.ts +0 -1
- package/dist/api/resources/sourceConnections/types/index.js +0 -17
- package/dist/api/resources/sources/client/Client.d.ts +0 -68
- package/dist/api/resources/sources/client/Client.js +0 -208
- package/dist/api/resources/sources/client/index.js +0 -2
- package/dist/api/resources/sources/index.d.ts +0 -1
- package/dist/api/resources/sources/index.js +0 -17
- package/dist/api/types/ApiKey.d.ts +0 -17
- package/dist/api/types/ApiKey.js +0 -5
- package/dist/api/types/ApiKeyCreate.d.ts +0 -10
- package/dist/api/types/ApiKeyCreate.js +0 -5
- package/dist/api/types/AuthType.js +0 -16
- package/dist/api/types/BodyConnectSlackWithTokenConnectionsDirectTokenSlackPost.js +0 -5
- package/dist/api/types/BodyCreateCredentialsFromAuthorizationCodeSourceConnectionsSourceShortNameCodeToTokenCredentialsPost.d.ts +0 -9
- package/dist/api/types/BodyCreateCredentialsFromAuthorizationCodeSourceConnectionsSourceShortNameCodeToTokenCredentialsPost.js +0 -5
- package/dist/api/types/BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePost.d.ts +0 -8
- package/dist/api/types/BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePost.js +0 -5
- package/dist/api/types/Chat.d.ts +0 -22
- package/dist/api/types/Chat.js +0 -5
- package/dist/api/types/ChatCreate.d.ts +0 -14
- package/dist/api/types/ChatCreate.js +0 -5
- package/dist/api/types/ChatMessage.d.ts +0 -18
- package/dist/api/types/ChatMessage.js +0 -5
- package/dist/api/types/ChatMessageCreate.d.ts +0 -10
- package/dist/api/types/ChatMessageCreate.js +0 -5
- package/dist/api/types/ChatUpdate.d.ts +0 -12
- package/dist/api/types/ChatUpdate.js +0 -5
- package/dist/api/types/Collection.d.ts +0 -19
- package/dist/api/types/Collection.js +0 -5
- package/dist/api/types/CollectionStatus.js +0 -12
- package/dist/api/types/CollectionUpdate.d.ts +0 -10
- package/dist/api/types/CollectionUpdate.js +0 -5
- package/dist/api/types/ConfigField.js +0 -5
- package/dist/api/types/ConfigValues.js +0 -5
- package/dist/api/types/Connection.d.ts +0 -18
- package/dist/api/types/Connection.js +0 -5
- package/dist/api/types/ConnectionStatus.js +0 -11
- package/dist/api/types/DagEdge.d.ts +0 -15
- package/dist/api/types/DagEdge.js +0 -5
- package/dist/api/types/DagEdgeCreate.d.ts +0 -10
- package/dist/api/types/DagEdgeCreate.js +0 -5
- package/dist/api/types/DagNode.d.ts +0 -20
- package/dist/api/types/DagNode.js +0 -5
- package/dist/api/types/DagNodeCreate.d.ts +0 -17
- package/dist/api/types/DagNodeCreate.js +0 -5
- package/dist/api/types/Destination.d.ts +0 -22
- package/dist/api/types/Destination.js +0 -5
- package/dist/api/types/DestinationWithAuthenticationFields.d.ts +0 -23
- package/dist/api/types/DestinationWithAuthenticationFields.js +0 -5
- package/dist/api/types/EmbeddingModel.d.ts +0 -20
- package/dist/api/types/EmbeddingModel.js +0 -5
- package/dist/api/types/EmbeddingModelWithAuthenticationFields.d.ts +0 -21
- package/dist/api/types/EmbeddingModelWithAuthenticationFields.js +0 -5
- package/dist/api/types/EntityCount.js +0 -5
- package/dist/api/types/EntityDefinition.d.ts +0 -18
- package/dist/api/types/EntityDefinition.js +0 -5
- package/dist/api/types/EntityDefinitionCreate.d.ts +0 -16
- package/dist/api/types/EntityDefinitionCreate.js +0 -5
- package/dist/api/types/EntityDefinitionCreateEntitySchema.d.ts +0 -4
- package/dist/api/types/EntityDefinitionCreateEntitySchema.js +0 -5
- package/dist/api/types/EntityDefinitionEntitySchema.d.ts +0 -4
- package/dist/api/types/EntityDefinitionEntitySchema.js +0 -5
- package/dist/api/types/EntityDefinitionUpdate.d.ts +0 -16
- package/dist/api/types/EntityDefinitionUpdate.js +0 -5
- package/dist/api/types/EntityDefinitionUpdateEntitySchema.d.ts +0 -4
- package/dist/api/types/EntityDefinitionUpdateEntitySchema.js +0 -5
- package/dist/api/types/EntityRelation.d.ts +0 -16
- package/dist/api/types/EntityRelation.js +0 -5
- package/dist/api/types/EntityRelationCreate.d.ts +0 -12
- package/dist/api/types/EntityRelationCreate.js +0 -5
- package/dist/api/types/EntityRelationUpdate.d.ts +0 -12
- package/dist/api/types/EntityRelationUpdate.js +0 -5
- package/dist/api/types/EntityType.js +0 -10
- package/dist/api/types/Fields.d.ts +0 -10
- package/dist/api/types/Fields.js +0 -5
- package/dist/api/types/HttpValidationError.d.ts +0 -7
- package/dist/api/types/HttpValidationError.js +0 -5
- package/dist/api/types/IntegrationCredentialInDb.d.ts +0 -18
- package/dist/api/types/IntegrationCredentialInDb.js +0 -5
- package/dist/api/types/IntegrationCredentialRawCreate.d.ts +0 -19
- package/dist/api/types/IntegrationCredentialRawCreate.js +0 -5
- package/dist/api/types/IntegrationType.js +0 -11
- package/dist/api/types/NodeType.js +0 -12
- package/dist/api/types/OAuth2AuthUrl.js +0 -5
- package/dist/api/types/Organization.d.ts +0 -13
- package/dist/api/types/Organization.js +0 -5
- package/dist/api/types/ResponseType.d.ts +0 -11
- package/dist/api/types/ResponseType.js +0 -10
- package/dist/api/types/SearchResponse.d.ts +0 -13
- package/dist/api/types/SearchResponse.js +0 -5
- package/dist/api/types/SearchStatus.d.ts +0 -12
- package/dist/api/types/SearchStatus.js +0 -11
- package/dist/api/types/Source.d.ts +0 -25
- package/dist/api/types/Source.js +0 -5
- package/dist/api/types/SourceConnection.d.ts +0 -33
- package/dist/api/types/SourceConnection.js +0 -5
- package/dist/api/types/SourceConnectionAuthFields.d.ts +0 -5
- package/dist/api/types/SourceConnectionAuthFields.js +0 -5
- package/dist/api/types/SourceConnectionCreate.d.ts +0 -23
- package/dist/api/types/SourceConnectionCreate.js +0 -5
- package/dist/api/types/SourceConnectionJob.d.ts +0 -30
- package/dist/api/types/SourceConnectionJob.js +0 -5
- package/dist/api/types/SourceConnectionListItem.d.ts +0 -22
- package/dist/api/types/SourceConnectionListItem.js +0 -5
- package/dist/api/types/SourceConnectionStatus.js +0 -11
- package/dist/api/types/Sync.d.ts +0 -24
- package/dist/api/types/Sync.js +0 -5
- package/dist/api/types/SyncCreate.d.ts +0 -19
- package/dist/api/types/SyncCreate.js +0 -5
- package/dist/api/types/SyncDag.d.ts +0 -29
- package/dist/api/types/SyncDag.js +0 -5
- package/dist/api/types/SyncDagCreate.d.ts +0 -14
- package/dist/api/types/SyncDagCreate.js +0 -5
- package/dist/api/types/SyncDagUpdate.d.ts +0 -14
- package/dist/api/types/SyncDagUpdate.js +0 -5
- package/dist/api/types/SyncJob.d.ts +0 -30
- package/dist/api/types/SyncJob.js +0 -5
- package/dist/api/types/SyncJobStatus.d.ts +0 -13
- package/dist/api/types/SyncJobStatus.js +0 -12
- package/dist/api/types/SyncStatus.js +0 -11
- package/dist/api/types/SyncUpdate.d.ts +0 -14
- package/dist/api/types/SyncUpdate.js +0 -5
- package/dist/api/types/SyncWithSourceConnection.d.ts +0 -25
- package/dist/api/types/SyncWithSourceConnection.js +0 -5
- package/dist/api/types/Transformer.d.ts +0 -19
- package/dist/api/types/Transformer.js +0 -5
- package/dist/api/types/TransformerCreate.d.ts +0 -15
- package/dist/api/types/TransformerCreate.js +0 -5
- package/dist/api/types/TransformerUpdate.d.ts +0 -15
- package/dist/api/types/TransformerUpdate.js +0 -5
- package/dist/api/types/User.d.ts +0 -13
- package/dist/api/types/User.js +0 -5
- package/dist/api/types/UserCreate.d.ts +0 -11
- package/dist/api/types/UserCreate.js +0 -5
- package/dist/api/types/ValidationError.d.ts +0 -9
- package/dist/api/types/ValidationError.js +0 -5
- package/dist/api/types/ValidationErrorLocItem.d.ts +0 -4
- package/dist/api/types/ValidationErrorLocItem.js +0 -5
- package/dist/api/types/WhiteLabel.d.ts +0 -20
- package/dist/api/types/WhiteLabel.js +0 -5
- package/dist/api/types/WhiteLabelCreate.d.ts +0 -14
- package/dist/api/types/WhiteLabelCreate.js +0 -5
- package/dist/api/types/WhiteLabelUpdate.d.ts +0 -13
- package/dist/api/types/WhiteLabelUpdate.js +0 -5
- package/dist/api/types/index.d.ts +0 -75
- package/dist/api/types/index.js +0 -91
- package/dist/core/fetcher/APIResponse.d.ts +0 -10
- package/dist/core/fetcher/APIResponse.js +0 -2
- package/dist/core/fetcher/Fetcher.d.ts +0 -39
- package/dist/core/fetcher/Fetcher.js +0 -99
- package/dist/core/fetcher/Supplier.js +0 -22
- package/dist/core/fetcher/createRequestUrl.d.ts +0 -1
- package/dist/core/fetcher/createRequestUrl.js +0 -12
- package/dist/core/fetcher/getFetchFn.js +0 -68
- package/dist/core/fetcher/getHeader.js +0 -11
- package/dist/core/fetcher/getRequestBody.js +0 -22
- package/dist/core/fetcher/getResponseBody.js +0 -54
- package/dist/core/fetcher/index.d.ts +0 -5
- package/dist/core/fetcher/index.js +0 -9
- package/dist/core/fetcher/makeRequest.js +0 -42
- package/dist/core/fetcher/requestWithRetries.js +0 -40
- package/dist/core/fetcher/signals.js +0 -36
- package/dist/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +0 -30
- package/dist/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.js +0 -247
- package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +0 -21
- package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +0 -126
- package/dist/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +0 -31
- package/dist/core/fetcher/stream-wrappers/UndiciStreamWrapper.js +0 -229
- package/dist/core/fetcher/stream-wrappers/chooseStreamWrapper.js +0 -59
- package/dist/core/index.d.ts +0 -3
- package/dist/core/index.js +0 -42
- package/dist/core/runtime/index.d.ts +0 -1
- package/dist/core/runtime/index.js +0 -5
- package/dist/core/runtime/runtime.d.ts +0 -9
- package/dist/core/runtime/runtime.js +0 -93
- package/dist/core/schemas/Schema.d.ts +0 -85
- package/dist/core/schemas/Schema.js +0 -22
- package/dist/core/schemas/builders/bigint/bigint.d.ts +0 -2
- package/dist/core/schemas/builders/bigint/bigint.js +0 -49
- package/dist/core/schemas/builders/bigint/index.d.ts +0 -1
- package/dist/core/schemas/builders/bigint/index.js +0 -5
- package/dist/core/schemas/builders/date/date.d.ts +0 -2
- package/dist/core/schemas/builders/date/date.js +0 -62
- package/dist/core/schemas/builders/date/index.d.ts +0 -1
- package/dist/core/schemas/builders/date/index.js +0 -5
- package/dist/core/schemas/builders/enum/enum.d.ts +0 -2
- package/dist/core/schemas/builders/enum/enum.js +0 -38
- package/dist/core/schemas/builders/enum/index.d.ts +0 -1
- package/dist/core/schemas/builders/enum/index.js +0 -5
- package/dist/core/schemas/builders/index.d.ts +0 -14
- package/dist/core/schemas/builders/index.js +0 -30
- package/dist/core/schemas/builders/lazy/index.d.ts +0 -3
- package/dist/core/schemas/builders/lazy/index.js +0 -7
- package/dist/core/schemas/builders/lazy/lazy.d.ts +0 -5
- package/dist/core/schemas/builders/lazy/lazy.js +0 -24
- package/dist/core/schemas/builders/lazy/lazyObject.d.ts +0 -3
- package/dist/core/schemas/builders/lazy/lazyObject.js +0 -11
- package/dist/core/schemas/builders/list/index.d.ts +0 -1
- package/dist/core/schemas/builders/list/index.js +0 -5
- package/dist/core/schemas/builders/list/list.d.ts +0 -2
- package/dist/core/schemas/builders/list/list.js +0 -54
- package/dist/core/schemas/builders/literals/booleanLiteral.d.ts +0 -2
- package/dist/core/schemas/builders/literals/booleanLiteral.js +0 -28
- package/dist/core/schemas/builders/literals/index.d.ts +0 -2
- package/dist/core/schemas/builders/literals/index.js +0 -7
- package/dist/core/schemas/builders/literals/stringLiteral.d.ts +0 -2
- package/dist/core/schemas/builders/literals/stringLiteral.js +0 -28
- package/dist/core/schemas/builders/object/index.d.ts +0 -6
- package/dist/core/schemas/builders/object/index.js +0 -11
- package/dist/core/schemas/builders/object/object.d.ts +0 -3
- package/dist/core/schemas/builders/object/object.js +0 -260
- package/dist/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +0 -6
- package/dist/core/schemas/builders/object/objectWithoutOptionalProperties.js +0 -7
- package/dist/core/schemas/builders/object/property.d.ts +0 -8
- package/dist/core/schemas/builders/object/property.js +0 -15
- package/dist/core/schemas/builders/object/types.d.ts +0 -31
- package/dist/core/schemas/builders/object/types.js +0 -2
- package/dist/core/schemas/builders/object-like/getObjectLikeUtils.d.ts +0 -9
- package/dist/core/schemas/builders/object-like/getObjectLikeUtils.js +0 -53
- package/dist/core/schemas/builders/object-like/index.d.ts +0 -2
- package/dist/core/schemas/builders/object-like/index.js +0 -6
- package/dist/core/schemas/builders/object-like/types.d.ts +0 -7
- package/dist/core/schemas/builders/object-like/types.js +0 -2
- package/dist/core/schemas/builders/primitives/any.d.ts +0 -1
- package/dist/core/schemas/builders/primitives/any.js +0 -6
- package/dist/core/schemas/builders/primitives/boolean.d.ts +0 -1
- package/dist/core/schemas/builders/primitives/boolean.js +0 -25
- package/dist/core/schemas/builders/primitives/index.d.ts +0 -5
- package/dist/core/schemas/builders/primitives/index.js +0 -13
- package/dist/core/schemas/builders/primitives/number.d.ts +0 -1
- package/dist/core/schemas/builders/primitives/number.js +0 -25
- package/dist/core/schemas/builders/primitives/string.d.ts +0 -1
- package/dist/core/schemas/builders/primitives/string.js +0 -25
- package/dist/core/schemas/builders/primitives/unknown.d.ts +0 -1
- package/dist/core/schemas/builders/primitives/unknown.js +0 -6
- package/dist/core/schemas/builders/record/index.d.ts +0 -2
- package/dist/core/schemas/builders/record/index.js +0 -5
- package/dist/core/schemas/builders/record/record.d.ts +0 -3
- package/dist/core/schemas/builders/record/record.js +0 -94
- package/dist/core/schemas/builders/record/types.d.ts +0 -4
- package/dist/core/schemas/builders/record/types.js +0 -2
- package/dist/core/schemas/builders/schema-utils/JsonError.d.ts +0 -5
- package/dist/core/schemas/builders/schema-utils/JsonError.js +0 -12
- package/dist/core/schemas/builders/schema-utils/ParseError.d.ts +0 -5
- package/dist/core/schemas/builders/schema-utils/ParseError.js +0 -12
- package/dist/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +0 -17
- package/dist/core/schemas/builders/schema-utils/getSchemaUtils.js +0 -81
- package/dist/core/schemas/builders/schema-utils/index.d.ts +0 -4
- package/dist/core/schemas/builders/schema-utils/index.js +0 -11
- package/dist/core/schemas/builders/schema-utils/stringifyValidationErrors.d.ts +0 -2
- package/dist/core/schemas/builders/schema-utils/stringifyValidationErrors.js +0 -9
- package/dist/core/schemas/builders/set/index.d.ts +0 -1
- package/dist/core/schemas/builders/set/index.js +0 -5
- package/dist/core/schemas/builders/set/set.d.ts +0 -2
- package/dist/core/schemas/builders/set/set.js +0 -43
- package/dist/core/schemas/builders/undiscriminated-union/index.d.ts +0 -2
- package/dist/core/schemas/builders/undiscriminated-union/index.js +0 -5
- package/dist/core/schemas/builders/undiscriminated-union/types.d.ts +0 -4
- package/dist/core/schemas/builders/undiscriminated-union/types.js +0 -2
- package/dist/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.d.ts +0 -3
- package/dist/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +0 -39
- package/dist/core/schemas/builders/union/discriminant.d.ts +0 -5
- package/dist/core/schemas/builders/union/discriminant.js +0 -9
- package/dist/core/schemas/builders/union/index.d.ts +0 -4
- package/dist/core/schemas/builders/union/index.js +0 -7
- package/dist/core/schemas/builders/union/types.d.ts +0 -13
- package/dist/core/schemas/builders/union/types.js +0 -2
- package/dist/core/schemas/builders/union/union.d.ts +0 -4
- package/dist/core/schemas/builders/union/union.js +0 -129
- package/dist/core/schemas/index.d.ts +0 -2
- package/dist/core/schemas/index.js +0 -17
- package/dist/core/schemas/utils/MaybePromise.d.ts +0 -1
- package/dist/core/schemas/utils/MaybePromise.js +0 -2
- package/dist/core/schemas/utils/addQuestionMarksToNullableProperties.d.ts +0 -7
- package/dist/core/schemas/utils/addQuestionMarksToNullableProperties.js +0 -2
- package/dist/core/schemas/utils/createIdentitySchemaCreator.d.ts +0 -2
- package/dist/core/schemas/utils/createIdentitySchemaCreator.js +0 -15
- package/dist/core/schemas/utils/entries.d.ts +0 -1
- package/dist/core/schemas/utils/entries.js +0 -6
- package/dist/core/schemas/utils/filterObject.d.ts +0 -1
- package/dist/core/schemas/utils/filterObject.js +0 -13
- package/dist/core/schemas/utils/getErrorMessageForIncorrectType.d.ts +0 -1
- package/dist/core/schemas/utils/getErrorMessageForIncorrectType.js +0 -27
- package/dist/core/schemas/utils/isPlainObject.d.ts +0 -1
- package/dist/core/schemas/utils/isPlainObject.js +0 -17
- package/dist/core/schemas/utils/keys.d.ts +0 -1
- package/dist/core/schemas/utils/keys.js +0 -6
- package/dist/core/schemas/utils/maybeSkipValidation.d.ts +0 -2
- package/dist/core/schemas/utils/maybeSkipValidation.js +0 -27
- package/dist/core/schemas/utils/partition.d.ts +0 -1
- package/dist/core/schemas/utils/partition.js +0 -15
- package/dist/errors/AirweaveSDKError.d.ts +0 -12
- package/dist/errors/AirweaveSDKError.js +0 -32
- package/dist/errors/index.d.ts +0 -2
- package/dist/errors/index.js +0 -7
- package/dist/index.d.ts +0 -4
- package/dist/index.js +0 -44
- package/dist/serialization/index.d.ts +0 -2
- package/dist/serialization/index.js +0 -18
- package/dist/serialization/resources/collections/client/index.d.ts +0 -3
- package/dist/serialization/resources/collections/client/index.js +0 -42
- package/dist/serialization/resources/collections/client/listCollections.d.ts +0 -11
- package/dist/serialization/resources/collections/client/listCollections.js +0 -42
- package/dist/serialization/resources/collections/client/refreshAllSourceConnections.d.ts +0 -11
- package/dist/serialization/resources/collections/client/refreshAllSourceConnections.js +0 -42
- package/dist/serialization/resources/collections/client/requests/CollectionCreate.d.ts +0 -13
- package/dist/serialization/resources/collections/client/requests/CollectionCreate.js +0 -44
- package/dist/serialization/resources/collections/client/requests/index.d.ts +0 -1
- package/dist/serialization/resources/collections/client/requests/index.js +0 -5
- package/dist/serialization/resources/collections/index.d.ts +0 -1
- package/dist/serialization/resources/collections/index.js +0 -17
- package/dist/serialization/resources/index.d.ts +0 -6
- package/dist/serialization/resources/index.js +0 -45
- package/dist/serialization/resources/sourceConnections/client/index.d.ts +0 -3
- package/dist/serialization/resources/sourceConnections/client/index.js +0 -42
- package/dist/serialization/resources/sourceConnections/client/listSourceConnectionJobs.d.ts +0 -11
- package/dist/serialization/resources/sourceConnections/client/listSourceConnectionJobs.js +0 -42
- package/dist/serialization/resources/sourceConnections/client/listSourceConnections.d.ts +0 -11
- package/dist/serialization/resources/sourceConnections/client/listSourceConnections.js +0 -42
- package/dist/serialization/resources/sourceConnections/client/requests/BodyRunSourceConnectionSourceConnectionsSourceConnectionIdRunPost.d.ts +0 -12
- package/dist/serialization/resources/sourceConnections/client/requests/BodyRunSourceConnectionSourceConnectionsSourceConnectionIdRunPost.js +0 -43
- package/dist/serialization/resources/sourceConnections/client/requests/SourceConnectionUpdate.d.ts +0 -20
- package/dist/serialization/resources/sourceConnections/client/requests/SourceConnectionUpdate.js +0 -51
- package/dist/serialization/resources/sourceConnections/client/requests/index.d.ts +0 -2
- package/dist/serialization/resources/sourceConnections/client/requests/index.js +0 -7
- package/dist/serialization/resources/sourceConnections/index.d.ts +0 -2
- package/dist/serialization/resources/sourceConnections/index.js +0 -18
- package/dist/serialization/resources/sourceConnections/types/SourceConnectionUpdateAuthFields.d.ts +0 -11
- package/dist/serialization/resources/sourceConnections/types/SourceConnectionUpdateAuthFields.js +0 -42
- package/dist/serialization/resources/sourceConnections/types/index.d.ts +0 -1
- package/dist/serialization/resources/sourceConnections/types/index.js +0 -17
- package/dist/serialization/resources/sources/client/index.d.ts +0 -1
- package/dist/serialization/resources/sources/client/index.js +0 -37
- package/dist/serialization/resources/sources/client/readSources.d.ts +0 -11
- package/dist/serialization/resources/sources/client/readSources.js +0 -42
- package/dist/serialization/resources/sources/index.d.ts +0 -1
- package/dist/serialization/resources/sources/index.js +0 -17
- package/dist/serialization/types/ApiKey.d.ts +0 -20
- package/dist/serialization/types/ApiKey.js +0 -51
- package/dist/serialization/types/ApiKeyCreate.d.ts +0 -12
- package/dist/serialization/types/ApiKeyCreate.js +0 -43
- package/dist/serialization/types/AuthType.d.ts +0 -10
- package/dist/serialization/types/AuthType.js +0 -50
- package/dist/serialization/types/BodyConnectSlackWithTokenConnectionsDirectTokenSlackPost.d.ts +0 -13
- package/dist/serialization/types/BodyConnectSlackWithTokenConnectionsDirectTokenSlackPost.js +0 -44
- package/dist/serialization/types/BodyCreateCredentialsFromAuthorizationCodeSourceConnectionsSourceShortNameCodeToTokenCredentialsPost.d.ts +0 -15
- package/dist/serialization/types/BodyCreateCredentialsFromAuthorizationCodeSourceConnectionsSourceShortNameCodeToTokenCredentialsPost.js +0 -46
- package/dist/serialization/types/BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePost.d.ts +0 -14
- package/dist/serialization/types/BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePost.js +0 -45
- package/dist/serialization/types/Chat.d.ts +0 -25
- package/dist/serialization/types/Chat.js +0 -56
- package/dist/serialization/types/ChatCreate.d.ts +0 -17
- package/dist/serialization/types/ChatCreate.js +0 -48
- package/dist/serialization/types/ChatMessage.d.ts +0 -21
- package/dist/serialization/types/ChatMessage.js +0 -52
- package/dist/serialization/types/ChatMessageCreate.d.ts +0 -13
- package/dist/serialization/types/ChatMessageCreate.js +0 -44
- package/dist/serialization/types/ChatUpdate.d.ts +0 -15
- package/dist/serialization/types/ChatUpdate.js +0 -46
- package/dist/serialization/types/Collection.d.ts +0 -21
- package/dist/serialization/types/Collection.js +0 -52
- package/dist/serialization/types/CollectionStatus.d.ts +0 -10
- package/dist/serialization/types/CollectionStatus.js +0 -41
- package/dist/serialization/types/CollectionUpdate.d.ts +0 -12
- package/dist/serialization/types/CollectionUpdate.js +0 -43
- package/dist/serialization/types/ConfigField.d.ts +0 -15
- package/dist/serialization/types/ConfigField.js +0 -46
- package/dist/serialization/types/ConfigValues.d.ts +0 -10
- package/dist/serialization/types/ConfigValues.js +0 -41
- package/dist/serialization/types/Connection.d.ts +0 -22
- package/dist/serialization/types/Connection.js +0 -53
- package/dist/serialization/types/ConnectionStatus.d.ts +0 -10
- package/dist/serialization/types/ConnectionStatus.js +0 -41
- package/dist/serialization/types/DagEdge.d.ts +0 -18
- package/dist/serialization/types/DagEdge.js +0 -49
- package/dist/serialization/types/DagEdgeCreate.d.ts +0 -13
- package/dist/serialization/types/DagEdgeCreate.js +0 -44
- package/dist/serialization/types/DagNode.d.ts +0 -23
- package/dist/serialization/types/DagNode.js +0 -54
- package/dist/serialization/types/DagNodeCreate.d.ts +0 -19
- package/dist/serialization/types/DagNodeCreate.js +0 -50
- package/dist/serialization/types/Destination.d.ts +0 -25
- package/dist/serialization/types/Destination.js +0 -56
- package/dist/serialization/types/DestinationWithAuthenticationFields.d.ts +0 -27
- package/dist/serialization/types/DestinationWithAuthenticationFields.js +0 -58
- package/dist/serialization/types/EmbeddingModel.d.ts +0 -23
- package/dist/serialization/types/EmbeddingModel.js +0 -54
- package/dist/serialization/types/EmbeddingModelWithAuthenticationFields.d.ts +0 -25
- package/dist/serialization/types/EmbeddingModelWithAuthenticationFields.js +0 -56
- package/dist/serialization/types/EntityCount.d.ts +0 -12
- package/dist/serialization/types/EntityCount.js +0 -43
- package/dist/serialization/types/EntityDefinition.d.ts +0 -22
- package/dist/serialization/types/EntityDefinition.js +0 -53
- package/dist/serialization/types/EntityDefinitionCreate.d.ts +0 -20
- package/dist/serialization/types/EntityDefinitionCreate.js +0 -51
- package/dist/serialization/types/EntityDefinitionCreateEntitySchema.d.ts +0 -10
- package/dist/serialization/types/EntityDefinitionCreateEntitySchema.js +0 -44
- package/dist/serialization/types/EntityDefinitionEntitySchema.d.ts +0 -10
- package/dist/serialization/types/EntityDefinitionEntitySchema.js +0 -44
- package/dist/serialization/types/EntityDefinitionUpdate.d.ts +0 -20
- package/dist/serialization/types/EntityDefinitionUpdate.js +0 -51
- package/dist/serialization/types/EntityDefinitionUpdateEntitySchema.d.ts +0 -10
- package/dist/serialization/types/EntityDefinitionUpdateEntitySchema.js +0 -44
- package/dist/serialization/types/EntityRelation.d.ts +0 -19
- package/dist/serialization/types/EntityRelation.js +0 -50
- package/dist/serialization/types/EntityRelationCreate.d.ts +0 -15
- package/dist/serialization/types/EntityRelationCreate.js +0 -46
- package/dist/serialization/types/EntityRelationUpdate.d.ts +0 -15
- package/dist/serialization/types/EntityRelationUpdate.js +0 -46
- package/dist/serialization/types/EntityType.d.ts +0 -10
- package/dist/serialization/types/EntityType.js +0 -41
- package/dist/serialization/types/Fields.d.ts +0 -13
- package/dist/serialization/types/Fields.js +0 -44
- package/dist/serialization/types/HttpValidationError.d.ts +0 -13
- package/dist/serialization/types/HttpValidationError.js +0 -44
- package/dist/serialization/types/IntegrationCredentialInDb.d.ts +0 -22
- package/dist/serialization/types/IntegrationCredentialInDb.js +0 -53
- package/dist/serialization/types/IntegrationCredentialRawCreate.d.ts +0 -20
- package/dist/serialization/types/IntegrationCredentialRawCreate.js +0 -51
- package/dist/serialization/types/IntegrationType.d.ts +0 -10
- package/dist/serialization/types/IntegrationType.js +0 -41
- package/dist/serialization/types/NodeType.d.ts +0 -10
- package/dist/serialization/types/NodeType.js +0 -41
- package/dist/serialization/types/OAuth2AuthUrl.d.ts +0 -12
- package/dist/serialization/types/OAuth2AuthUrl.js +0 -43
- package/dist/serialization/types/Organization.d.ts +0 -16
- package/dist/serialization/types/Organization.js +0 -47
- package/dist/serialization/types/ResponseType.d.ts +0 -10
- package/dist/serialization/types/ResponseType.js +0 -41
- package/dist/serialization/types/SearchResponse.d.ts +0 -17
- package/dist/serialization/types/SearchResponse.js +0 -48
- package/dist/serialization/types/SearchStatus.d.ts +0 -10
- package/dist/serialization/types/SearchStatus.js +0 -41
- package/dist/serialization/types/Source.d.ts +0 -29
- package/dist/serialization/types/Source.js +0 -60
- package/dist/serialization/types/SourceConnection.d.ts +0 -38
- package/dist/serialization/types/SourceConnection.js +0 -69
- package/dist/serialization/types/SourceConnectionAuthFields.d.ts +0 -11
- package/dist/serialization/types/SourceConnectionAuthFields.js +0 -42
- package/dist/serialization/types/SourceConnectionCreate.d.ts +0 -22
- package/dist/serialization/types/SourceConnectionCreate.js +0 -53
- package/dist/serialization/types/SourceConnectionJob.d.ts +0 -30
- package/dist/serialization/types/SourceConnectionJob.js +0 -61
- package/dist/serialization/types/SourceConnectionListItem.d.ts +0 -22
- package/dist/serialization/types/SourceConnectionListItem.js +0 -53
- package/dist/serialization/types/SourceConnectionStatus.d.ts +0 -10
- package/dist/serialization/types/SourceConnectionStatus.js +0 -41
- package/dist/serialization/types/Sync.d.ts +0 -27
- package/dist/serialization/types/Sync.js +0 -58
- package/dist/serialization/types/SyncCreate.d.ts +0 -22
- package/dist/serialization/types/SyncCreate.js +0 -53
- package/dist/serialization/types/SyncDag.d.ts +0 -22
- package/dist/serialization/types/SyncDag.js +0 -53
- package/dist/serialization/types/SyncDagCreate.d.ts +0 -18
- package/dist/serialization/types/SyncDagCreate.js +0 -49
- package/dist/serialization/types/SyncDagUpdate.d.ts +0 -18
- package/dist/serialization/types/SyncDagUpdate.js +0 -49
- package/dist/serialization/types/SyncJob.d.ts +0 -32
- package/dist/serialization/types/SyncJob.js +0 -63
- package/dist/serialization/types/SyncJobStatus.d.ts +0 -10
- package/dist/serialization/types/SyncJobStatus.js +0 -41
- package/dist/serialization/types/SyncStatus.d.ts +0 -10
- package/dist/serialization/types/SyncStatus.js +0 -41
- package/dist/serialization/types/SyncUpdate.d.ts +0 -17
- package/dist/serialization/types/SyncUpdate.js +0 -48
- package/dist/serialization/types/SyncWithSourceConnection.d.ts +0 -29
- package/dist/serialization/types/SyncWithSourceConnection.js +0 -60
- package/dist/serialization/types/Transformer.d.ts +0 -22
- package/dist/serialization/types/Transformer.js +0 -53
- package/dist/serialization/types/TransformerCreate.d.ts +0 -18
- package/dist/serialization/types/TransformerCreate.js +0 -49
- package/dist/serialization/types/TransformerUpdate.d.ts +0 -18
- package/dist/serialization/types/TransformerUpdate.js +0 -49
- package/dist/serialization/types/User.d.ts +0 -16
- package/dist/serialization/types/User.js +0 -47
- package/dist/serialization/types/UserCreate.d.ts +0 -14
- package/dist/serialization/types/UserCreate.js +0 -45
- package/dist/serialization/types/ValidationError.d.ts +0 -15
- package/dist/serialization/types/ValidationError.js +0 -46
- package/dist/serialization/types/ValidationErrorLocItem.d.ts +0 -10
- package/dist/serialization/types/ValidationErrorLocItem.js +0 -41
- package/dist/serialization/types/WhiteLabel.d.ts +0 -23
- package/dist/serialization/types/WhiteLabel.js +0 -54
- package/dist/serialization/types/WhiteLabelCreate.d.ts +0 -17
- package/dist/serialization/types/WhiteLabelCreate.js +0 -48
- package/dist/serialization/types/WhiteLabelUpdate.d.ts +0 -16
- package/dist/serialization/types/WhiteLabelUpdate.js +0 -47
- package/dist/serialization/types/index.d.ts +0 -75
- package/dist/serialization/types/index.js +0 -91
- package/dist/version.d.ts +0 -1
- package/dist/version.js +0 -4
- package/environments.js +0 -10
- package/errors/AirweaveSDKError.d.ts +0 -12
- package/errors/AirweaveSDKError.js +0 -32
- package/errors/AirweaveSDKTimeoutError.js +0 -13
- package/errors/index.d.ts +0 -2
- package/errors/index.js +0 -7
- package/index.d.ts +0 -4
- package/index.js +0 -44
- package/jest.config.js +0 -5
- package/serialization/index.d.ts +0 -2
- package/serialization/index.js +0 -18
- package/serialization/resources/collections/client/index.d.ts +0 -3
- package/serialization/resources/collections/client/index.js +0 -42
- package/serialization/resources/collections/client/listCollections.d.ts +0 -11
- package/serialization/resources/collections/client/listCollections.js +0 -42
- package/serialization/resources/collections/client/refreshAllSourceConnections.d.ts +0 -11
- package/serialization/resources/collections/client/refreshAllSourceConnections.js +0 -42
- package/serialization/resources/collections/client/requests/CollectionCreate.d.ts +0 -13
- package/serialization/resources/collections/client/requests/CollectionCreate.js +0 -44
- package/serialization/resources/collections/client/requests/index.d.ts +0 -1
- package/serialization/resources/collections/client/requests/index.js +0 -5
- package/serialization/resources/collections/index.d.ts +0 -1
- package/serialization/resources/collections/index.js +0 -17
- package/serialization/resources/index.d.ts +0 -6
- package/serialization/resources/index.js +0 -45
- package/serialization/resources/sourceConnections/client/index.d.ts +0 -3
- package/serialization/resources/sourceConnections/client/index.js +0 -42
- package/serialization/resources/sourceConnections/client/listSourceConnectionJobs.d.ts +0 -11
- package/serialization/resources/sourceConnections/client/listSourceConnectionJobs.js +0 -42
- package/serialization/resources/sourceConnections/client/listSourceConnections.d.ts +0 -11
- package/serialization/resources/sourceConnections/client/listSourceConnections.js +0 -42
- package/serialization/resources/sourceConnections/client/requests/BodyRunSourceConnectionSourceConnectionsSourceConnectionIdRunPost.d.ts +0 -12
- package/serialization/resources/sourceConnections/client/requests/BodyRunSourceConnectionSourceConnectionsSourceConnectionIdRunPost.js +0 -43
- package/serialization/resources/sourceConnections/client/requests/SourceConnectionUpdate.d.ts +0 -20
- package/serialization/resources/sourceConnections/client/requests/SourceConnectionUpdate.js +0 -51
- package/serialization/resources/sourceConnections/client/requests/index.d.ts +0 -2
- package/serialization/resources/sourceConnections/client/requests/index.js +0 -7
- package/serialization/resources/sourceConnections/index.d.ts +0 -2
- package/serialization/resources/sourceConnections/index.js +0 -18
- package/serialization/resources/sourceConnections/types/SourceConnectionUpdateAuthFields.d.ts +0 -11
- package/serialization/resources/sourceConnections/types/SourceConnectionUpdateAuthFields.js +0 -42
- package/serialization/resources/sourceConnections/types/index.d.ts +0 -1
- package/serialization/resources/sourceConnections/types/index.js +0 -17
- package/serialization/resources/sources/client/index.d.ts +0 -1
- package/serialization/resources/sources/client/index.js +0 -37
- package/serialization/resources/sources/client/readSources.d.ts +0 -11
- package/serialization/resources/sources/client/readSources.js +0 -42
- package/serialization/resources/sources/index.d.ts +0 -1
- package/serialization/resources/sources/index.js +0 -17
- package/serialization/types/ApiKey.d.ts +0 -20
- package/serialization/types/ApiKey.js +0 -51
- package/serialization/types/ApiKeyCreate.d.ts +0 -12
- package/serialization/types/ApiKeyCreate.js +0 -43
- package/serialization/types/AuthType.d.ts +0 -10
- package/serialization/types/AuthType.js +0 -50
- package/serialization/types/BodyConnectSlackWithTokenConnectionsDirectTokenSlackPost.d.ts +0 -13
- package/serialization/types/BodyConnectSlackWithTokenConnectionsDirectTokenSlackPost.js +0 -44
- package/serialization/types/BodyCreateCredentialsFromAuthorizationCodeSourceConnectionsSourceShortNameCodeToTokenCredentialsPost.d.ts +0 -15
- package/serialization/types/BodyCreateCredentialsFromAuthorizationCodeSourceConnectionsSourceShortNameCodeToTokenCredentialsPost.js +0 -46
- package/serialization/types/BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePost.d.ts +0 -14
- package/serialization/types/BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePost.js +0 -45
- package/serialization/types/Chat.d.ts +0 -25
- package/serialization/types/Chat.js +0 -56
- package/serialization/types/ChatCreate.d.ts +0 -17
- package/serialization/types/ChatCreate.js +0 -48
- package/serialization/types/ChatMessage.d.ts +0 -21
- package/serialization/types/ChatMessage.js +0 -52
- package/serialization/types/ChatMessageCreate.d.ts +0 -13
- package/serialization/types/ChatMessageCreate.js +0 -44
- package/serialization/types/ChatUpdate.d.ts +0 -15
- package/serialization/types/ChatUpdate.js +0 -46
- package/serialization/types/Collection.d.ts +0 -21
- package/serialization/types/Collection.js +0 -52
- package/serialization/types/CollectionStatus.d.ts +0 -10
- package/serialization/types/CollectionStatus.js +0 -41
- package/serialization/types/CollectionUpdate.d.ts +0 -12
- package/serialization/types/CollectionUpdate.js +0 -43
- package/serialization/types/ConfigField.d.ts +0 -15
- package/serialization/types/ConfigField.js +0 -46
- package/serialization/types/ConfigValues.d.ts +0 -10
- package/serialization/types/ConfigValues.js +0 -41
- package/serialization/types/Connection.d.ts +0 -22
- package/serialization/types/Connection.js +0 -53
- package/serialization/types/ConnectionStatus.d.ts +0 -10
- package/serialization/types/ConnectionStatus.js +0 -41
- package/serialization/types/DagEdge.d.ts +0 -18
- package/serialization/types/DagEdge.js +0 -49
- package/serialization/types/DagEdgeCreate.d.ts +0 -13
- package/serialization/types/DagEdgeCreate.js +0 -44
- package/serialization/types/DagNode.d.ts +0 -23
- package/serialization/types/DagNode.js +0 -54
- package/serialization/types/DagNodeCreate.d.ts +0 -19
- package/serialization/types/DagNodeCreate.js +0 -50
- package/serialization/types/Destination.d.ts +0 -25
- package/serialization/types/Destination.js +0 -56
- package/serialization/types/DestinationWithAuthenticationFields.d.ts +0 -27
- package/serialization/types/DestinationWithAuthenticationFields.js +0 -58
- package/serialization/types/EmbeddingModel.d.ts +0 -23
- package/serialization/types/EmbeddingModel.js +0 -54
- package/serialization/types/EmbeddingModelWithAuthenticationFields.d.ts +0 -25
- package/serialization/types/EmbeddingModelWithAuthenticationFields.js +0 -56
- package/serialization/types/EntityCount.d.ts +0 -12
- package/serialization/types/EntityCount.js +0 -43
- package/serialization/types/EntityDefinition.d.ts +0 -22
- package/serialization/types/EntityDefinition.js +0 -53
- package/serialization/types/EntityDefinitionCreate.d.ts +0 -20
- package/serialization/types/EntityDefinitionCreate.js +0 -51
- package/serialization/types/EntityDefinitionCreateEntitySchema.d.ts +0 -10
- package/serialization/types/EntityDefinitionCreateEntitySchema.js +0 -44
- package/serialization/types/EntityDefinitionEntitySchema.d.ts +0 -10
- package/serialization/types/EntityDefinitionEntitySchema.js +0 -44
- package/serialization/types/EntityDefinitionUpdate.d.ts +0 -20
- package/serialization/types/EntityDefinitionUpdate.js +0 -51
- package/serialization/types/EntityDefinitionUpdateEntitySchema.d.ts +0 -10
- package/serialization/types/EntityDefinitionUpdateEntitySchema.js +0 -44
- package/serialization/types/EntityRelation.d.ts +0 -19
- package/serialization/types/EntityRelation.js +0 -50
- package/serialization/types/EntityRelationCreate.d.ts +0 -15
- package/serialization/types/EntityRelationCreate.js +0 -46
- package/serialization/types/EntityRelationUpdate.d.ts +0 -15
- package/serialization/types/EntityRelationUpdate.js +0 -46
- package/serialization/types/EntityType.d.ts +0 -10
- package/serialization/types/EntityType.js +0 -41
- package/serialization/types/Fields.d.ts +0 -13
- package/serialization/types/Fields.js +0 -44
- package/serialization/types/HttpValidationError.d.ts +0 -13
- package/serialization/types/HttpValidationError.js +0 -44
- package/serialization/types/IntegrationCredentialInDb.d.ts +0 -22
- package/serialization/types/IntegrationCredentialInDb.js +0 -53
- package/serialization/types/IntegrationCredentialRawCreate.d.ts +0 -20
- package/serialization/types/IntegrationCredentialRawCreate.js +0 -51
- package/serialization/types/IntegrationType.d.ts +0 -10
- package/serialization/types/IntegrationType.js +0 -41
- package/serialization/types/NodeType.d.ts +0 -10
- package/serialization/types/NodeType.js +0 -41
- package/serialization/types/OAuth2AuthUrl.d.ts +0 -12
- package/serialization/types/OAuth2AuthUrl.js +0 -43
- package/serialization/types/Organization.d.ts +0 -16
- package/serialization/types/Organization.js +0 -47
- package/serialization/types/ResponseType.d.ts +0 -10
- package/serialization/types/ResponseType.js +0 -41
- package/serialization/types/SearchResponse.d.ts +0 -17
- package/serialization/types/SearchResponse.js +0 -48
- package/serialization/types/SearchStatus.d.ts +0 -10
- package/serialization/types/SearchStatus.js +0 -41
- package/serialization/types/Source.d.ts +0 -29
- package/serialization/types/Source.js +0 -60
- package/serialization/types/SourceConnection.d.ts +0 -38
- package/serialization/types/SourceConnection.js +0 -69
- package/serialization/types/SourceConnectionAuthFields.d.ts +0 -11
- package/serialization/types/SourceConnectionAuthFields.js +0 -42
- package/serialization/types/SourceConnectionCreate.d.ts +0 -22
- package/serialization/types/SourceConnectionCreate.js +0 -53
- package/serialization/types/SourceConnectionJob.d.ts +0 -30
- package/serialization/types/SourceConnectionJob.js +0 -61
- package/serialization/types/SourceConnectionListItem.d.ts +0 -22
- package/serialization/types/SourceConnectionListItem.js +0 -53
- package/serialization/types/SourceConnectionStatus.d.ts +0 -10
- package/serialization/types/SourceConnectionStatus.js +0 -41
- package/serialization/types/Sync.d.ts +0 -27
- package/serialization/types/Sync.js +0 -58
- package/serialization/types/SyncCreate.d.ts +0 -22
- package/serialization/types/SyncCreate.js +0 -53
- package/serialization/types/SyncDag.d.ts +0 -22
- package/serialization/types/SyncDag.js +0 -53
- package/serialization/types/SyncDagCreate.d.ts +0 -18
- package/serialization/types/SyncDagCreate.js +0 -49
- package/serialization/types/SyncDagUpdate.d.ts +0 -18
- package/serialization/types/SyncDagUpdate.js +0 -49
- package/serialization/types/SyncJob.d.ts +0 -32
- package/serialization/types/SyncJob.js +0 -63
- package/serialization/types/SyncJobStatus.d.ts +0 -10
- package/serialization/types/SyncJobStatus.js +0 -41
- package/serialization/types/SyncStatus.d.ts +0 -10
- package/serialization/types/SyncStatus.js +0 -41
- package/serialization/types/SyncUpdate.d.ts +0 -17
- package/serialization/types/SyncUpdate.js +0 -48
- package/serialization/types/SyncWithSourceConnection.d.ts +0 -29
- package/serialization/types/SyncWithSourceConnection.js +0 -60
- package/serialization/types/Transformer.d.ts +0 -22
- package/serialization/types/Transformer.js +0 -53
- package/serialization/types/TransformerCreate.d.ts +0 -18
- package/serialization/types/TransformerCreate.js +0 -49
- package/serialization/types/TransformerUpdate.d.ts +0 -18
- package/serialization/types/TransformerUpdate.js +0 -49
- package/serialization/types/User.d.ts +0 -16
- package/serialization/types/User.js +0 -47
- package/serialization/types/UserCreate.d.ts +0 -14
- package/serialization/types/UserCreate.js +0 -45
- package/serialization/types/ValidationError.d.ts +0 -15
- package/serialization/types/ValidationError.js +0 -46
- package/serialization/types/ValidationErrorLocItem.d.ts +0 -10
- package/serialization/types/ValidationErrorLocItem.js +0 -41
- package/serialization/types/WhiteLabel.d.ts +0 -23
- package/serialization/types/WhiteLabel.js +0 -54
- package/serialization/types/WhiteLabelCreate.d.ts +0 -17
- package/serialization/types/WhiteLabelCreate.js +0 -48
- package/serialization/types/WhiteLabelUpdate.d.ts +0 -16
- package/serialization/types/WhiteLabelUpdate.js +0 -47
- package/serialization/types/index.d.ts +0 -75
- package/serialization/types/index.js +0 -91
- package/version.d.ts +0 -1
- package/version.js +0 -4
- /package/{api → dist/cjs/api}/resources/collections/client/requests/CollectionCreate.js +0 -0
- /package/{api/types → dist/cjs/api/resources/collections/client/requests}/CollectionUpdate.js +0 -0
- /package/{api → dist/cjs/api}/resources/collections/client/requests/DeleteCollectionCollectionsReadableIdDeleteRequest.js +0 -0
- /package/{api → dist/cjs/api}/resources/collections/client/requests/ListCollectionsCollectionsGetRequest.js +0 -0
- /package/{api → dist/cjs/api}/resources/collections/client/requests/SearchCollectionCollectionsReadableIdSearchGetRequest.js +0 -0
- /package/{api → dist/cjs/api}/resources/collections/client/requests/index.js +0 -0
- /package/{api → dist/cjs/api}/resources/sourceConnections/client/requests/BodyRunSourceConnectionSourceConnectionsSourceConnectionIdRunPost.js +0 -0
- /package/{api → dist/cjs/api}/resources/sourceConnections/client/requests/DeleteSourceConnectionSourceConnectionsSourceConnectionIdDeleteRequest.js +0 -0
- /package/{api → dist/cjs/api}/resources/sourceConnections/client/requests/GetSourceConnectionSourceConnectionsSourceConnectionIdGetRequest.js +0 -0
- /package/{api → dist/cjs/api}/resources/sourceConnections/client/requests/ListSourceConnectionsSourceConnectionsGetRequest.js +0 -0
- /package/{api/types → dist/cjs/api/resources/sourceConnections/client/requests}/SourceConnectionCreate.js +0 -0
- /package/{api → dist/cjs/api}/resources/sourceConnections/client/requests/SourceConnectionUpdate.js +0 -0
- /package/{api → dist/cjs/api}/resources/sourceConnections/client/requests/index.js +0 -0
- /package/{api → dist/cjs/api}/resources/sources/client/index.d.ts +0 -0
- /package/{api → dist/cjs/api}/resources/sources/client/index.js +0 -0
- /package/{api/resources/sourceConnections/types/SourceConnectionUpdateAuthFields.js → dist/cjs/api/resources/whiteLabels/client/requests/BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions.js} +0 -0
- /package/{api/types → dist/cjs/api/resources/whiteLabels/client/requests}/WhiteLabelCreate.js +0 -0
- /package/{api/types → dist/cjs/api/resources/whiteLabels/client/requests}/WhiteLabelUpdate.js +0 -0
- /package/dist/{api/resources/collections → cjs/api/resources/whiteLabels}/client/requests/index.js +0 -0
- /package/{api → dist/cjs/api}/types/ApiKey.js +0 -0
- /package/{api → dist/cjs/api}/types/ApiKeyCreate.js +0 -0
- /package/{api → dist/cjs/api}/types/AuthType.d.ts +0 -0
- /package/{api → dist/cjs/api}/types/AuthType.js +0 -0
- /package/{api → dist/cjs/api}/types/BodyConnectSlackWithTokenConnectionsDirectTokenSlackPost.d.ts +0 -0
- /package/{api → dist/cjs/api}/types/BodyConnectSlackWithTokenConnectionsDirectTokenSlackPost.js +0 -0
- /package/{api → dist/cjs/api}/types/BodyCreateCredentialsFromAuthorizationCodeSourceConnectionsSourceShortNameCodeToTokenCredentialsPost.js +0 -0
- /package/{api → dist/cjs/api}/types/Collection.js +0 -0
- /package/{api → dist/cjs/api}/types/CollectionStatus.d.ts +0 -0
- /package/{api → dist/cjs/api}/types/CollectionStatus.js +0 -0
- /package/{api → dist/cjs/api}/types/ConfigField.d.ts +0 -0
- /package/{api → dist/cjs/api}/types/ConfigField.js +0 -0
- /package/{api → dist/cjs/api}/types/ConfigValues.d.ts +0 -0
- /package/{api → dist/cjs/api}/types/ConfigValues.js +0 -0
- /package/{api → dist/cjs/api}/types/Connection.js +0 -0
- /package/{api → dist/cjs/api}/types/ConnectionStatus.d.ts +0 -0
- /package/{api → dist/cjs/api}/types/ConnectionStatus.js +0 -0
- /package/{api → dist/cjs/api}/types/DagEdge.js +0 -0
- /package/{api → dist/cjs/api}/types/DagEdgeCreate.js +0 -0
- /package/{api → dist/cjs/api}/types/DagNode.js +0 -0
- /package/{api → dist/cjs/api}/types/DagNodeCreate.js +0 -0
- /package/{api → dist/cjs/api}/types/Destination.js +0 -0
- /package/{api → dist/cjs/api}/types/DestinationWithAuthenticationFields.js +0 -0
- /package/{api → dist/cjs/api}/types/EmbeddingModel.js +0 -0
- /package/{api → dist/cjs/api}/types/EmbeddingModelWithAuthenticationFields.js +0 -0
- /package/{api → dist/cjs/api}/types/EntityCount.d.ts +0 -0
- /package/{api → dist/cjs/api}/types/EntityCount.js +0 -0
- /package/{api → dist/cjs/api}/types/EntityDefinition.js +0 -0
- /package/{api → dist/cjs/api}/types/EntityDefinitionCreate.js +0 -0
- /package/{api → dist/cjs/api}/types/EntityDefinitionUpdate.js +0 -0
- /package/{api → dist/cjs/api}/types/EntityType.d.ts +0 -0
- /package/{api → dist/cjs/api}/types/EntityType.js +0 -0
- /package/{api → dist/cjs/api}/types/Fields.js +0 -0
- /package/{api → dist/cjs/api}/types/HttpValidationError.js +0 -0
- /package/{api → dist/cjs/api}/types/IntegrationCredentialInDb.js +0 -0
- /package/{api → dist/cjs/api}/types/IntegrationCredentialRawCreate.js +0 -0
- /package/{api → dist/cjs/api}/types/IntegrationType.d.ts +0 -0
- /package/{api → dist/cjs/api}/types/IntegrationType.js +0 -0
- /package/{api/types/BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePost.js → dist/cjs/api/types/InvitationCreate.js} +0 -0
- /package/{api/types/Chat.js → dist/cjs/api/types/InvitationResponse.js} +0 -0
- /package/{api/types/ChatCreate.js → dist/cjs/api/types/MemberResponse.js} +0 -0
- /package/{api → dist/cjs/api}/types/NodeType.d.ts +0 -0
- /package/{api → dist/cjs/api}/types/NodeType.js +0 -0
- /package/{api → dist/cjs/api}/types/OAuth2AuthUrl.d.ts +0 -0
- /package/{api → dist/cjs/api}/types/OAuth2AuthUrl.js +0 -0
- /package/{api → dist/cjs/api}/types/Organization.js +0 -0
- /package/{api/types/ChatMessage.js → dist/cjs/api/types/OrganizationCreate.js} +0 -0
- /package/{api/types/ChatMessageCreate.js → dist/cjs/api/types/OrganizationWithRole.js} +0 -0
- /package/{api → dist/cjs/api}/types/ResponseType.js +0 -0
- /package/{api → dist/cjs/api}/types/SearchResponse.js +0 -0
- /package/{api → dist/cjs/api}/types/SearchStatus.js +0 -0
- /package/{api → dist/cjs/api}/types/Source.js +0 -0
- /package/{api → dist/cjs/api}/types/SourceConnection.js +0 -0
- /package/{api/types/ChatUpdate.js → dist/cjs/api/types/SourceConnectionCreateWithCredential.js} +0 -0
- /package/{api/types/EntityDefinitionCreateEntitySchema.js → dist/cjs/api/types/SourceConnectionCreateWithWhiteLabel.js} +0 -0
- /package/{api → dist/cjs/api}/types/SourceConnectionJob.js +0 -0
- /package/{api → dist/cjs/api}/types/SourceConnectionListItem.js +0 -0
- /package/{api → dist/cjs/api}/types/SourceConnectionStatus.d.ts +0 -0
- /package/{api → dist/cjs/api}/types/SourceConnectionStatus.js +0 -0
- /package/{api → dist/cjs/api}/types/Sync.js +0 -0
- /package/{api → dist/cjs/api}/types/SyncCreate.js +0 -0
- /package/{api → dist/cjs/api}/types/SyncDag.js +0 -0
- /package/{api → dist/cjs/api}/types/SyncDagCreate.js +0 -0
- /package/{api → dist/cjs/api}/types/SyncDagUpdate.js +0 -0
- /package/{api → dist/cjs/api}/types/SyncJob.js +0 -0
- /package/{api → dist/cjs/api}/types/SyncStatus.d.ts +0 -0
- /package/{api → dist/cjs/api}/types/SyncStatus.js +0 -0
- /package/{api → dist/cjs/api}/types/SyncUpdate.js +0 -0
- /package/{api → dist/cjs/api}/types/SyncWithSourceConnection.js +0 -0
- /package/{api → dist/cjs/api}/types/Transformer.js +0 -0
- /package/{api → dist/cjs/api}/types/TransformerCreate.js +0 -0
- /package/{api → dist/cjs/api}/types/TransformerUpdate.js +0 -0
- /package/{api → dist/cjs/api}/types/User.js +0 -0
- /package/{api → dist/cjs/api}/types/UserCreate.js +0 -0
- /package/{api/types/EntityDefinitionEntitySchema.js → dist/cjs/api/types/UserOrganization.js} +0 -0
- /package/{api → dist/cjs/api}/types/ValidationError.js +0 -0
- /package/{api → dist/cjs/api}/types/WhiteLabel.js +0 -0
- /package/{core → dist/cjs/core}/fetcher/APIResponse.js +0 -0
- /package/{core → dist/cjs/core}/fetcher/Supplier.d.ts +0 -0
- /package/{core → dist/cjs/core}/fetcher/Supplier.js +0 -0
- /package/{core → dist/cjs/core}/fetcher/getFetchFn.d.ts +0 -0
- /package/{core → dist/cjs/core}/fetcher/getHeader.d.ts +0 -0
- /package/{core → dist/cjs/core}/fetcher/getHeader.js +0 -0
- /package/{core → dist/cjs/core}/fetcher/getRequestBody.d.ts +0 -0
- /package/{core → dist/cjs/core}/fetcher/getResponseBody.d.ts +0 -0
- /package/{core → dist/cjs/core}/fetcher/makeRequest.d.ts +0 -0
- /package/{core → dist/cjs/core}/fetcher/requestWithRetries.d.ts +0 -0
- /package/{core → dist/cjs/core}/fetcher/signals.d.ts +0 -0
- /package/{core → dist/cjs/core}/fetcher/signals.js +0 -0
- /package/{core → dist/cjs/core}/fetcher/stream-wrappers/Node18UniversalStreamWrapper.js +0 -0
- /package/{core → dist/cjs/core}/fetcher/stream-wrappers/NodePre18StreamWrapper.js +0 -0
- /package/{core → dist/cjs/core}/fetcher/stream-wrappers/UndiciStreamWrapper.js +0 -0
- /package/{core → dist/cjs/core}/fetcher/stream-wrappers/chooseStreamWrapper.d.ts +0 -0
- /package/dist/{environments.d.ts → cjs/environments.d.ts} +0 -0
- /package/dist/{environments.js → cjs/environments.js} +0 -0
- /package/dist/{errors → cjs/errors}/AirweaveSDKTimeoutError.d.ts +0 -0
- /package/dist/{errors → cjs/errors}/AirweaveSDKTimeoutError.js +0 -0
- /package/dist/{api/resources/sources/client/index.d.ts → esm/api/resources/collections/client/requests/index.mjs} +0 -0
- /package/dist/{api/types/AuthType.d.ts → esm/api/types/AuthType.d.mts} +0 -0
- /package/dist/{api/types/BodyConnectSlackWithTokenConnectionsDirectTokenSlackPost.d.ts → esm/api/types/BodyConnectSlackWithTokenConnectionsDirectTokenSlackPost.d.mts} +0 -0
- /package/dist/{api/types/CollectionStatus.d.ts → esm/api/types/CollectionStatus.d.mts} +0 -0
- /package/dist/{api/types/ConfigField.d.ts → esm/api/types/ConfigField.d.mts} +0 -0
- /package/dist/{api/types/ConfigValues.d.ts → esm/api/types/ConfigValues.d.mts} +0 -0
- /package/dist/{api/types/ConnectionStatus.d.ts → esm/api/types/ConnectionStatus.d.mts} +0 -0
- /package/dist/{api/types/EntityCount.d.ts → esm/api/types/EntityCount.d.mts} +0 -0
- /package/dist/{api/types/EntityType.d.ts → esm/api/types/EntityType.d.mts} +0 -0
- /package/dist/{api/types/IntegrationType.d.ts → esm/api/types/IntegrationType.d.mts} +0 -0
- /package/dist/{api/types/NodeType.d.ts → esm/api/types/NodeType.d.mts} +0 -0
- /package/dist/{api/types/OAuth2AuthUrl.d.ts → esm/api/types/OAuth2AuthUrl.d.mts} +0 -0
- /package/dist/{api/types/SourceConnectionStatus.d.ts → esm/api/types/SourceConnectionStatus.d.mts} +0 -0
- /package/dist/{api/types/SyncStatus.d.ts → esm/api/types/SyncStatus.d.mts} +0 -0
- /package/dist/{core/fetcher/Supplier.d.ts → esm/core/fetcher/Supplier.d.mts} +0 -0
- /package/dist/{core/fetcher/getFetchFn.d.ts → esm/core/fetcher/getFetchFn.d.mts} +0 -0
- /package/dist/{core/fetcher/getHeader.d.ts → esm/core/fetcher/getHeader.d.mts} +0 -0
- /package/dist/{core/fetcher/getRequestBody.d.ts → esm/core/fetcher/getRequestBody.d.mts} +0 -0
- /package/dist/{core/fetcher/getResponseBody.d.ts → esm/core/fetcher/getResponseBody.d.mts} +0 -0
- /package/dist/{core/fetcher/makeRequest.d.ts → esm/core/fetcher/makeRequest.d.mts} +0 -0
- /package/dist/{core/fetcher/requestWithRetries.d.ts → esm/core/fetcher/requestWithRetries.d.mts} +0 -0
- /package/dist/{core/fetcher/signals.d.ts → esm/core/fetcher/signals.d.mts} +0 -0
- /package/dist/{core/fetcher/stream-wrappers/chooseStreamWrapper.d.ts → esm/core/fetcher/stream-wrappers/chooseStreamWrapper.d.mts} +0 -0
- /package/{environments.d.ts → dist/esm/environments.d.mts} +0 -0
- /package/{errors/AirweaveSDKTimeoutError.d.ts → dist/esm/errors/AirweaveSDKTimeoutError.d.mts} +0 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./requests/index.js"), exports);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* @example
|
|
6
|
+
* {}
|
|
7
|
+
*/
|
|
8
|
+
export interface BodyRunSourceConnectionSourceConnectionsSourceConnectionIdRunPost {
|
|
9
|
+
/** This parameter gives you the ability to start a sync job with an access token for an OAuth2.0 source directly instead of using the credentials that Airweave has stored for you. Learn more about direct token injection [here](https://docs.airweave.ai/direct-token-injection). */
|
|
10
|
+
access_token?: string;
|
|
11
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* @example
|
|
6
|
+
* {}
|
|
7
|
+
*/
|
|
8
|
+
export interface DeleteSourceConnectionSourceConnectionsSourceConnectionIdDeleteRequest {
|
|
9
|
+
/**
|
|
10
|
+
* Whether to also delete all synced data from destination systems
|
|
11
|
+
*/
|
|
12
|
+
delete_data?: boolean;
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* @example
|
|
6
|
+
* {}
|
|
7
|
+
*/
|
|
8
|
+
export interface GetSourceConnectionSourceConnectionsSourceConnectionIdGetRequest {
|
|
9
|
+
/**
|
|
10
|
+
* Whether to reveal authentication credentials.
|
|
11
|
+
*/
|
|
12
|
+
show_auth_fields?: boolean;
|
|
13
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* @example
|
|
6
|
+
* {}
|
|
7
|
+
*/
|
|
8
|
+
export interface ListSourceConnectionsSourceConnectionsGetRequest {
|
|
9
|
+
/**
|
|
10
|
+
* Filter source connections by collection readable ID
|
|
11
|
+
*/
|
|
12
|
+
collection?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Number of source connections to skip for pagination
|
|
15
|
+
*/
|
|
16
|
+
skip?: number;
|
|
17
|
+
/**
|
|
18
|
+
* Maximum number of source connections to return (1-1000)
|
|
19
|
+
*/
|
|
20
|
+
limit?: number;
|
|
21
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as AirweaveSDK from "../../../../index.js";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {
|
|
8
|
+
* name: "Production Stripe Account",
|
|
9
|
+
* short_name: "stripe"
|
|
10
|
+
* }
|
|
11
|
+
*/
|
|
12
|
+
export interface SourceConnectionCreate {
|
|
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
|
+
/** Cron expression for automatic data synchronization schedule. If not provided, data will only sync when manually triggered. Use standard cron format: minute hour day month weekday. */
|
|
24
|
+
cron_schedule?: string;
|
|
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
|
+
/** Whether to start an initial data synchronization immediately after creating the connection. */
|
|
28
|
+
sync_immediately?: boolean;
|
|
29
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as AirweaveSDK from "../../../../index.js";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {}
|
|
8
|
+
*/
|
|
9
|
+
export interface SourceConnectionUpdate {
|
|
10
|
+
/** Updated name for the source connection. Must be between 4 and 42 characters. */
|
|
11
|
+
name?: string;
|
|
12
|
+
/** Updated description of what this source connection provides. */
|
|
13
|
+
description?: string;
|
|
14
|
+
/** Updated authentication credentials for the data source. Provide new credentials to refresh or update authentication. */
|
|
15
|
+
auth_fields?: SourceConnectionUpdate.AuthFields;
|
|
16
|
+
/** 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. */
|
|
17
|
+
config_fields?: AirweaveSDK.ConfigValues;
|
|
18
|
+
/** Updated cron expression for automatic synchronization schedule. Set to null to disable automatic syncing. */
|
|
19
|
+
cron_schedule?: string;
|
|
20
|
+
/** Internal connection identifier. This is typically managed automatically and should not be modified manually. */
|
|
21
|
+
connection_id?: string;
|
|
22
|
+
/** ID of the white label integration. Used for custom OAuth integrations with your own branding. */
|
|
23
|
+
white_label_id?: string;
|
|
24
|
+
}
|
|
25
|
+
export declare namespace SourceConnectionUpdate {
|
|
26
|
+
/**
|
|
27
|
+
* Updated authentication credentials for the data source. Provide new credentials to refresh or update authentication.
|
|
28
|
+
*/
|
|
29
|
+
type AuthFields = AirweaveSDK.ConfigValues | string;
|
|
30
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { type ListSourceConnectionsSourceConnectionsGetRequest } from "./ListSourceConnectionsSourceConnectionsGetRequest.js";
|
|
2
|
+
export { type SourceConnectionCreate } from "./SourceConnectionCreate.js";
|
|
3
|
+
export { type GetSourceConnectionSourceConnectionsSourceConnectionIdGetRequest } from "./GetSourceConnectionSourceConnectionsSourceConnectionIdGetRequest.js";
|
|
4
|
+
export { type SourceConnectionUpdate } from "./SourceConnectionUpdate.js";
|
|
5
|
+
export { type DeleteSourceConnectionSourceConnectionsSourceConnectionIdDeleteRequest } from "./DeleteSourceConnectionSourceConnectionsSourceConnectionIdDeleteRequest.js";
|
|
6
|
+
export { type BodyRunSourceConnectionSourceConnectionsSourceConnectionIdRunPost } from "./BodyRunSourceConnectionSourceConnectionsSourceConnectionIdRunPost.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client/index.js";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./client/index.js"), exports);
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as environments from "../../../../environments.js";
|
|
5
|
+
import * as core from "../../../../core/index.js";
|
|
6
|
+
import * as AirweaveSDK from "../../../index.js";
|
|
7
|
+
export declare namespace Sources {
|
|
8
|
+
interface Options {
|
|
9
|
+
environment?: core.Supplier<environments.AirweaveSDKEnvironment | string>;
|
|
10
|
+
/** Specify a custom URL to connect the client to. */
|
|
11
|
+
baseUrl?: core.Supplier<string>;
|
|
12
|
+
/** Override the X-API-Key header */
|
|
13
|
+
apiKey?: core.Supplier<string | undefined>;
|
|
14
|
+
/** Override the X-Organization-ID header */
|
|
15
|
+
organizationId?: core.Supplier<string | undefined>;
|
|
16
|
+
/** Additional headers to include in requests. */
|
|
17
|
+
headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
|
|
18
|
+
}
|
|
19
|
+
interface RequestOptions {
|
|
20
|
+
/** The maximum time to wait for a response in seconds. */
|
|
21
|
+
timeoutInSeconds?: number;
|
|
22
|
+
/** The number of times to retry the request. Defaults to 2. */
|
|
23
|
+
maxRetries?: number;
|
|
24
|
+
/** A hook to abort the request. */
|
|
25
|
+
abortSignal?: AbortSignal;
|
|
26
|
+
/** Override the X-API-Key header */
|
|
27
|
+
apiKey?: string | undefined;
|
|
28
|
+
/** Override the X-Organization-ID header */
|
|
29
|
+
organizationId?: string | undefined;
|
|
30
|
+
/** Additional headers to include in the request. */
|
|
31
|
+
headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
export declare class Sources {
|
|
35
|
+
protected readonly _options: Sources.Options;
|
|
36
|
+
constructor(_options?: Sources.Options);
|
|
37
|
+
/**
|
|
38
|
+
* Get detailed information about a specific data source connector.
|
|
39
|
+
*
|
|
40
|
+
* @param {string} shortName - Technical identifier of the source type (e.g., 'github', 'stripe', 'slack')
|
|
41
|
+
* @param {Sources.RequestOptions} requestOptions - Request-specific configuration.
|
|
42
|
+
*
|
|
43
|
+
* @throws {@link AirweaveSDK.UnprocessableEntityError}
|
|
44
|
+
*
|
|
45
|
+
* @example
|
|
46
|
+
* await client.sources.readSource("short_name")
|
|
47
|
+
*/
|
|
48
|
+
readSource(shortName: string, requestOptions?: Sources.RequestOptions): core.HttpResponsePromise<AirweaveSDK.Source>;
|
|
49
|
+
private __readSource;
|
|
50
|
+
/**
|
|
51
|
+
* List all available data source connectors.
|
|
52
|
+
*
|
|
53
|
+
* <br/><br/>
|
|
54
|
+
* Returns the complete catalog of source types that Airweave can connect to.
|
|
55
|
+
*
|
|
56
|
+
* @param {Sources.RequestOptions} requestOptions - Request-specific configuration.
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link AirweaveSDK.UnprocessableEntityError}
|
|
59
|
+
*
|
|
60
|
+
* @example
|
|
61
|
+
* await client.sources.readSources()
|
|
62
|
+
*/
|
|
63
|
+
readSources(requestOptions?: Sources.RequestOptions): core.HttpResponsePromise<AirweaveSDK.Source[]>;
|
|
64
|
+
private __readSources;
|
|
65
|
+
}
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
39
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
40
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
41
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
42
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
43
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
44
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
45
|
+
});
|
|
46
|
+
};
|
|
47
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
48
|
+
exports.Sources = void 0;
|
|
49
|
+
const environments = __importStar(require("../../../../environments.js"));
|
|
50
|
+
const core = __importStar(require("../../../../core/index.js"));
|
|
51
|
+
const AirweaveSDK = __importStar(require("../../../index.js"));
|
|
52
|
+
const headers_js_1 = require("../../../../core/headers.js");
|
|
53
|
+
const errors = __importStar(require("../../../../errors/index.js"));
|
|
54
|
+
class Sources {
|
|
55
|
+
constructor(_options = {}) {
|
|
56
|
+
this._options = _options;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Get detailed information about a specific data source connector.
|
|
60
|
+
*
|
|
61
|
+
* @param {string} shortName - Technical identifier of the source type (e.g., 'github', 'stripe', 'slack')
|
|
62
|
+
* @param {Sources.RequestOptions} requestOptions - Request-specific configuration.
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link AirweaveSDK.UnprocessableEntityError}
|
|
65
|
+
*
|
|
66
|
+
* @example
|
|
67
|
+
* await client.sources.readSource("short_name")
|
|
68
|
+
*/
|
|
69
|
+
readSource(shortName, requestOptions) {
|
|
70
|
+
return core.HttpResponsePromise.fromPromise(this.__readSource(shortName, requestOptions));
|
|
71
|
+
}
|
|
72
|
+
__readSource(shortName, requestOptions) {
|
|
73
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
74
|
+
var _a, _b, _c;
|
|
75
|
+
const _response = yield core.fetcher({
|
|
76
|
+
url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.AirweaveSDKEnvironment.Production, `sources/detail/${encodeURIComponent(shortName)}`),
|
|
77
|
+
method: "GET",
|
|
78
|
+
headers: (0, headers_js_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({
|
|
79
|
+
"X-API-Key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey,
|
|
80
|
+
"X-Organization-ID": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.organizationId,
|
|
81
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
82
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
83
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
84
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
85
|
+
});
|
|
86
|
+
if (_response.ok) {
|
|
87
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
88
|
+
}
|
|
89
|
+
if (_response.error.reason === "status-code") {
|
|
90
|
+
switch (_response.error.statusCode) {
|
|
91
|
+
case 422:
|
|
92
|
+
throw new AirweaveSDK.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
93
|
+
default:
|
|
94
|
+
throw new errors.AirweaveSDKError({
|
|
95
|
+
statusCode: _response.error.statusCode,
|
|
96
|
+
body: _response.error.body,
|
|
97
|
+
rawResponse: _response.rawResponse,
|
|
98
|
+
});
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
switch (_response.error.reason) {
|
|
102
|
+
case "non-json":
|
|
103
|
+
throw new errors.AirweaveSDKError({
|
|
104
|
+
statusCode: _response.error.statusCode,
|
|
105
|
+
body: _response.error.rawBody,
|
|
106
|
+
rawResponse: _response.rawResponse,
|
|
107
|
+
});
|
|
108
|
+
case "timeout":
|
|
109
|
+
throw new errors.AirweaveSDKTimeoutError("Timeout exceeded when calling GET /sources/detail/{short_name}.");
|
|
110
|
+
case "unknown":
|
|
111
|
+
throw new errors.AirweaveSDKError({
|
|
112
|
+
message: _response.error.errorMessage,
|
|
113
|
+
rawResponse: _response.rawResponse,
|
|
114
|
+
});
|
|
115
|
+
}
|
|
116
|
+
});
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* List all available data source connectors.
|
|
120
|
+
*
|
|
121
|
+
* <br/><br/>
|
|
122
|
+
* Returns the complete catalog of source types that Airweave can connect to.
|
|
123
|
+
*
|
|
124
|
+
* @param {Sources.RequestOptions} requestOptions - Request-specific configuration.
|
|
125
|
+
*
|
|
126
|
+
* @throws {@link AirweaveSDK.UnprocessableEntityError}
|
|
127
|
+
*
|
|
128
|
+
* @example
|
|
129
|
+
* await client.sources.readSources()
|
|
130
|
+
*/
|
|
131
|
+
readSources(requestOptions) {
|
|
132
|
+
return core.HttpResponsePromise.fromPromise(this.__readSources(requestOptions));
|
|
133
|
+
}
|
|
134
|
+
__readSources(requestOptions) {
|
|
135
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
136
|
+
var _a, _b, _c;
|
|
137
|
+
const _response = yield core.fetcher({
|
|
138
|
+
url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.AirweaveSDKEnvironment.Production, "sources/list"),
|
|
139
|
+
method: "GET",
|
|
140
|
+
headers: (0, headers_js_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({
|
|
141
|
+
"X-API-Key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey,
|
|
142
|
+
"X-Organization-ID": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.organizationId,
|
|
143
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
144
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
145
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
146
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
147
|
+
});
|
|
148
|
+
if (_response.ok) {
|
|
149
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
150
|
+
}
|
|
151
|
+
if (_response.error.reason === "status-code") {
|
|
152
|
+
switch (_response.error.statusCode) {
|
|
153
|
+
case 422:
|
|
154
|
+
throw new AirweaveSDK.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
155
|
+
default:
|
|
156
|
+
throw new errors.AirweaveSDKError({
|
|
157
|
+
statusCode: _response.error.statusCode,
|
|
158
|
+
body: _response.error.body,
|
|
159
|
+
rawResponse: _response.rawResponse,
|
|
160
|
+
});
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
switch (_response.error.reason) {
|
|
164
|
+
case "non-json":
|
|
165
|
+
throw new errors.AirweaveSDKError({
|
|
166
|
+
statusCode: _response.error.statusCode,
|
|
167
|
+
body: _response.error.rawBody,
|
|
168
|
+
rawResponse: _response.rawResponse,
|
|
169
|
+
});
|
|
170
|
+
case "timeout":
|
|
171
|
+
throw new errors.AirweaveSDKTimeoutError("Timeout exceeded when calling GET /sources/list.");
|
|
172
|
+
case "unknown":
|
|
173
|
+
throw new errors.AirweaveSDKError({
|
|
174
|
+
message: _response.error.errorMessage,
|
|
175
|
+
rawResponse: _response.rawResponse,
|
|
176
|
+
});
|
|
177
|
+
}
|
|
178
|
+
});
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
exports.Sources = Sources;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client/index.js";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./client/index.js"), exports);
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as environments from "../../../../environments.js";
|
|
5
|
+
import * as core from "../../../../core/index.js";
|
|
6
|
+
import * as AirweaveSDK from "../../../index.js";
|
|
7
|
+
export declare namespace WhiteLabels {
|
|
8
|
+
interface Options {
|
|
9
|
+
environment?: core.Supplier<environments.AirweaveSDKEnvironment | string>;
|
|
10
|
+
/** Specify a custom URL to connect the client to. */
|
|
11
|
+
baseUrl?: core.Supplier<string>;
|
|
12
|
+
/** Override the X-API-Key header */
|
|
13
|
+
apiKey?: core.Supplier<string | undefined>;
|
|
14
|
+
/** Override the X-Organization-ID header */
|
|
15
|
+
organizationId?: core.Supplier<string | undefined>;
|
|
16
|
+
/** Additional headers to include in requests. */
|
|
17
|
+
headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
|
|
18
|
+
}
|
|
19
|
+
interface RequestOptions {
|
|
20
|
+
/** The maximum time to wait for a response in seconds. */
|
|
21
|
+
timeoutInSeconds?: number;
|
|
22
|
+
/** The number of times to retry the request. Defaults to 2. */
|
|
23
|
+
maxRetries?: number;
|
|
24
|
+
/** A hook to abort the request. */
|
|
25
|
+
abortSignal?: AbortSignal;
|
|
26
|
+
/** Override the X-API-Key header */
|
|
27
|
+
apiKey?: string | undefined;
|
|
28
|
+
/** Override the X-Organization-ID header */
|
|
29
|
+
organizationId?: string | undefined;
|
|
30
|
+
/** Additional headers to include in the request. */
|
|
31
|
+
headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
export declare class WhiteLabels {
|
|
35
|
+
protected readonly _options: WhiteLabels.Options;
|
|
36
|
+
constructor(_options?: WhiteLabels.Options);
|
|
37
|
+
/**
|
|
38
|
+
* List all white label integrations for your organization.
|
|
39
|
+
*
|
|
40
|
+
* <br/><br/>
|
|
41
|
+
* Returns all custom OAuth integrations configured with your own branding and
|
|
42
|
+
* credentials. These integrations allow you to present OAuth consent screens with
|
|
43
|
+
* your company name instead of Airweave.<br/><br/>**White label integrations only
|
|
44
|
+
* work with OAuth2.0 sources** like Slack, Google Drive, or HubSpot that require
|
|
45
|
+
* OAuth consent flows.
|
|
46
|
+
*
|
|
47
|
+
* @param {WhiteLabels.RequestOptions} requestOptions - Request-specific configuration.
|
|
48
|
+
*
|
|
49
|
+
* @throws {@link AirweaveSDK.UnprocessableEntityError}
|
|
50
|
+
*
|
|
51
|
+
* @example
|
|
52
|
+
* await client.whiteLabels.listWhiteLabels()
|
|
53
|
+
*/
|
|
54
|
+
listWhiteLabels(requestOptions?: WhiteLabels.RequestOptions): core.HttpResponsePromise<AirweaveSDK.WhiteLabel[]>;
|
|
55
|
+
private __listWhiteLabels;
|
|
56
|
+
/**
|
|
57
|
+
* Create a new white label integration.
|
|
58
|
+
*
|
|
59
|
+
* <br/><br/>
|
|
60
|
+
* **This only works for sources that use OAuth2.0 authentication** like Slack,
|
|
61
|
+
* Google Drive, GitHub, or HubSpot.<br/><br/>Sets up a custom OAuth integration
|
|
62
|
+
* using your own OAuth application credentials and branding. Once created,
|
|
63
|
+
* customers will see your company name during OAuth consent flows instead of
|
|
64
|
+
* Airweave. This requires you to have already configured your own OAuth
|
|
65
|
+
* application with the target service provider.
|
|
66
|
+
*
|
|
67
|
+
* @param {AirweaveSDK.WhiteLabelCreate} request
|
|
68
|
+
* @param {WhiteLabels.RequestOptions} requestOptions - Request-specific configuration.
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link AirweaveSDK.UnprocessableEntityError}
|
|
71
|
+
*
|
|
72
|
+
* @example
|
|
73
|
+
* await client.whiteLabels.createWhiteLabel({
|
|
74
|
+
* name: "Customer Portal Slack Integration",
|
|
75
|
+
* source_short_name: "slack",
|
|
76
|
+
* redirect_url: "https://yourapp.com/auth/slack/callback",
|
|
77
|
+
* client_id: "1234567890.1234567890123",
|
|
78
|
+
* client_secret: "abcdefghijklmnopqrstuvwxyz123456",
|
|
79
|
+
* allowed_origins: "https://yourapp.com,https://app.yourapp.com"
|
|
80
|
+
* })
|
|
81
|
+
*/
|
|
82
|
+
createWhiteLabel(request: AirweaveSDK.WhiteLabelCreate, requestOptions?: WhiteLabels.RequestOptions): core.HttpResponsePromise<AirweaveSDK.WhiteLabel>;
|
|
83
|
+
private __createWhiteLabel;
|
|
84
|
+
/**
|
|
85
|
+
* Retrieve a specific white label integration by its ID.
|
|
86
|
+
*
|
|
87
|
+
* @param {string} whiteLabelId - The unique identifier of the white label integration
|
|
88
|
+
* @param {WhiteLabels.RequestOptions} requestOptions - Request-specific configuration.
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link AirweaveSDK.UnprocessableEntityError}
|
|
91
|
+
*
|
|
92
|
+
* @example
|
|
93
|
+
* await client.whiteLabels.getWhiteLabel("white_label_id")
|
|
94
|
+
*/
|
|
95
|
+
getWhiteLabel(whiteLabelId: string, requestOptions?: WhiteLabels.RequestOptions): core.HttpResponsePromise<AirweaveSDK.WhiteLabel>;
|
|
96
|
+
private __getWhiteLabel;
|
|
97
|
+
/**
|
|
98
|
+
* Update a white label integration's configuration.
|
|
99
|
+
*
|
|
100
|
+
* @param {string} whiteLabelId - The unique identifier of the white label integration to update
|
|
101
|
+
* @param {AirweaveSDK.WhiteLabelUpdate} request
|
|
102
|
+
* @param {WhiteLabels.RequestOptions} requestOptions - Request-specific configuration.
|
|
103
|
+
*
|
|
104
|
+
* @throws {@link AirweaveSDK.UnprocessableEntityError}
|
|
105
|
+
*
|
|
106
|
+
* @example
|
|
107
|
+
* await client.whiteLabels.updateWhiteLabel("white_label_id", {
|
|
108
|
+
* name: "Updated Customer Portal Integration",
|
|
109
|
+
* redirect_url: "https://v2.yourapp.com/auth/slack/callback",
|
|
110
|
+
* allowed_origins: "https://v2.yourapp.com,https://api.yourapp.com"
|
|
111
|
+
* })
|
|
112
|
+
*/
|
|
113
|
+
updateWhiteLabel(whiteLabelId: string, request?: AirweaveSDK.WhiteLabelUpdate, requestOptions?: WhiteLabels.RequestOptions): core.HttpResponsePromise<AirweaveSDK.WhiteLabel>;
|
|
114
|
+
private __updateWhiteLabel;
|
|
115
|
+
/**
|
|
116
|
+
* Delete a white label integration.
|
|
117
|
+
*
|
|
118
|
+
* <br/><br/>
|
|
119
|
+
* Permanently removes the white label configuration and OAuth credentials.
|
|
120
|
+
* Existing source connections created through this integration will continue to work,
|
|
121
|
+
* but no new OAuth flows can be initiated until a new white label integration is created.
|
|
122
|
+
*
|
|
123
|
+
* @param {string} whiteLabelId - The unique identifier of the white label integration to delete
|
|
124
|
+
* @param {WhiteLabels.RequestOptions} requestOptions - Request-specific configuration.
|
|
125
|
+
*
|
|
126
|
+
* @throws {@link AirweaveSDK.UnprocessableEntityError}
|
|
127
|
+
*
|
|
128
|
+
* @example
|
|
129
|
+
* await client.whiteLabels.deleteWhiteLabel("white_label_id")
|
|
130
|
+
*/
|
|
131
|
+
deleteWhiteLabel(whiteLabelId: string, requestOptions?: WhiteLabels.RequestOptions): core.HttpResponsePromise<AirweaveSDK.WhiteLabel>;
|
|
132
|
+
private __deleteWhiteLabel;
|
|
133
|
+
/**
|
|
134
|
+
* Generate a branded OAuth2 authorization URL for customer authentication.
|
|
135
|
+
*
|
|
136
|
+
* <br/><br/>
|
|
137
|
+
* Creates the OAuth consent URL that customers should be redirected to for
|
|
138
|
+
* authentication. The OAuth consent screen will display your company name and
|
|
139
|
+
* branding instead of Airweave.
|
|
140
|
+
*
|
|
141
|
+
* @param {string} whiteLabelId - The unique identifier of the white label integration
|
|
142
|
+
* @param {WhiteLabels.RequestOptions} requestOptions - Request-specific configuration.
|
|
143
|
+
*
|
|
144
|
+
* @throws {@link AirweaveSDK.UnprocessableEntityError}
|
|
145
|
+
*
|
|
146
|
+
* @example
|
|
147
|
+
* await client.whiteLabels.getWhiteLabelOauth2AuthUrl("white_label_id")
|
|
148
|
+
*/
|
|
149
|
+
getWhiteLabelOauth2AuthUrl(whiteLabelId: string, requestOptions?: WhiteLabels.RequestOptions): core.HttpResponsePromise<string>;
|
|
150
|
+
private __getWhiteLabelOauth2AuthUrl;
|
|
151
|
+
/**
|
|
152
|
+
* List all source connections created through a specific white label integration.
|
|
153
|
+
*
|
|
154
|
+
* <br/><br/>
|
|
155
|
+
* Returns source connections that were established using this white label's OAuth flow.
|
|
156
|
+
*
|
|
157
|
+
* @param {string} whiteLabelId - The unique identifier of the white label integration
|
|
158
|
+
* @param {WhiteLabels.RequestOptions} requestOptions - Request-specific configuration.
|
|
159
|
+
*
|
|
160
|
+
* @throws {@link AirweaveSDK.UnprocessableEntityError}
|
|
161
|
+
*
|
|
162
|
+
* @example
|
|
163
|
+
* await client.whiteLabels.listWhiteLabelSourceConnections("white_label_id")
|
|
164
|
+
*/
|
|
165
|
+
listWhiteLabelSourceConnections(whiteLabelId: string, requestOptions?: WhiteLabels.RequestOptions): core.HttpResponsePromise<AirweaveSDK.SourceConnectionListItem[]>;
|
|
166
|
+
private __listWhiteLabelSourceConnections;
|
|
167
|
+
/**
|
|
168
|
+
* Complete the OAuth flow and create a source connection.
|
|
169
|
+
*
|
|
170
|
+
* <br/><br/>
|
|
171
|
+
* **This is the core endpoint that converts OAuth authorization codes into working
|
|
172
|
+
* source connections.**<br/><br/>The OAuth credentials are obtained automatically
|
|
173
|
+
* from the authorization code - you do not need to provide auth_fields. The white
|
|
174
|
+
* label integration is automatically linked to the created source connection for
|
|
175
|
+
* tracking and branding purposes.
|
|
176
|
+
*
|
|
177
|
+
* @param {string} whiteLabelId - The unique identifier of the white label integration
|
|
178
|
+
* @param {AirweaveSDK.BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions} request
|
|
179
|
+
* @param {WhiteLabels.RequestOptions} requestOptions - Request-specific configuration.
|
|
180
|
+
*
|
|
181
|
+
* @throws {@link AirweaveSDK.UnprocessableEntityError}
|
|
182
|
+
*
|
|
183
|
+
* @example
|
|
184
|
+
* await client.whiteLabels.exchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions("white_label_id", {
|
|
185
|
+
* code: "4/P7q7W91a-oMsCeLvIaQm6bTrgtp7"
|
|
186
|
+
* })
|
|
187
|
+
*/
|
|
188
|
+
exchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions(whiteLabelId: string, request: AirweaveSDK.BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions, requestOptions?: WhiteLabels.RequestOptions): core.HttpResponsePromise<AirweaveSDK.SourceConnection>;
|
|
189
|
+
private __exchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions;
|
|
190
|
+
}
|