@airweave/sdk 0.0.1 → 0.0.81
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/Client.d.ts +64 -0
- package/Client.js +72 -0
- package/README.md +155 -1
- package/api/errors/UnprocessableEntityError.d.ts +8 -0
- package/api/errors/UnprocessableEntityError.js +51 -0
- package/api/errors/index.d.ts +1 -0
- package/api/errors/index.js +17 -0
- package/api/index.d.ts +3 -0
- package/api/index.js +19 -0
- package/api/resources/connections/client/Client.d.ts +320 -0
- package/api/resources/connections/client/Client.js +1001 -0
- package/api/resources/connections/client/index.d.ts +1 -0
- package/api/resources/connections/client/index.js +17 -0
- package/api/resources/connections/client/requests/BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost.d.ts +15 -0
- package/api/resources/connections/client/requests/BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost.js +5 -0
- package/api/resources/connections/client/requests/BodySendOauth2CodeConnectionsOauth2SourceCodePost.d.ts +14 -0
- package/api/resources/connections/client/requests/BodySendOauth2CodeConnectionsOauth2SourceCodePost.js +5 -0
- package/api/resources/connections/client/requests/GetOauth2AuthUrlConnectionsOauth2SourceAuthUrlGetRequest.d.ts +12 -0
- package/api/resources/connections/client/requests/GetOauth2AuthUrlConnectionsOauth2SourceAuthUrlGetRequest.js +5 -0
- package/api/resources/connections/client/requests/index.d.ts +3 -0
- package/api/resources/connections/client/requests/index.js +2 -0
- package/api/resources/connections/index.d.ts +1 -0
- package/api/resources/connections/index.js +17 -0
- package/api/resources/cursorDevelopment/client/Client.d.ts +78 -0
- package/api/resources/cursorDevelopment/client/Client.js +218 -0
- package/api/resources/cursorDevelopment/client/index.d.ts +1 -0
- package/api/resources/cursorDevelopment/client/index.js +2 -0
- package/api/resources/cursorDevelopment/index.d.ts +1 -0
- package/api/resources/cursorDevelopment/index.js +17 -0
- package/api/resources/dag/client/Client.d.ts +95 -0
- package/api/resources/dag/client/Client.js +347 -0
- package/api/resources/dag/client/index.d.ts +1 -0
- package/api/resources/dag/client/index.js +17 -0
- package/api/resources/dag/client/requests/InitializeDagDagInitGetRequest.d.ts +12 -0
- package/api/resources/dag/client/requests/InitializeDagDagInitGetRequest.js +5 -0
- package/api/resources/dag/client/requests/SyncDagCreate.d.ts +26 -0
- package/api/resources/dag/client/requests/SyncDagCreate.js +5 -0
- package/api/resources/dag/client/requests/SyncDagUpdate.d.ts +18 -0
- package/api/resources/dag/client/requests/SyncDagUpdate.js +5 -0
- package/api/resources/dag/client/requests/index.d.ts +3 -0
- package/api/resources/dag/client/requests/index.js +2 -0
- package/api/resources/dag/index.d.ts +1 -0
- package/api/resources/dag/index.js +17 -0
- package/api/resources/destinations/client/Client.d.ts +71 -0
- package/api/resources/destinations/client/Client.js +211 -0
- package/api/resources/destinations/client/index.d.ts +1 -0
- package/api/resources/destinations/client/index.js +2 -0
- package/api/resources/destinations/index.d.ts +1 -0
- package/api/resources/destinations/index.js +17 -0
- package/api/resources/embeddingModels/client/Client.d.ts +71 -0
- package/api/resources/embeddingModels/client/Client.js +211 -0
- package/api/resources/embeddingModels/client/index.d.ts +1 -0
- package/api/resources/embeddingModels/client/index.js +2 -0
- package/api/resources/embeddingModels/index.d.ts +1 -0
- package/api/resources/embeddingModels/index.js +17 -0
- package/api/resources/entities/client/Client.d.ts +155 -0
- package/api/resources/entities/client/Client.js +624 -0
- package/api/resources/entities/client/index.d.ts +1 -0
- package/api/resources/entities/client/index.js +17 -0
- package/api/resources/entities/client/requests/EntityDefinitionCreate.d.ts +23 -0
- package/api/resources/entities/client/requests/EntityDefinitionCreate.js +5 -0
- package/api/resources/entities/client/requests/EntityDefinitionUpdate.d.ts +23 -0
- package/api/resources/entities/client/requests/EntityDefinitionUpdate.js +5 -0
- package/api/resources/entities/client/requests/EntityRelationCreate.d.ts +17 -0
- package/api/resources/entities/client/requests/EntityRelationCreate.js +5 -0
- package/api/resources/entities/client/requests/EntityRelationUpdate.d.ts +17 -0
- package/api/resources/entities/client/requests/EntityRelationUpdate.js +5 -0
- package/api/resources/entities/client/requests/GetEntityDefinitionsBySourceShortNameEntitiesDefinitionsBySourceGetRequest.d.ts +12 -0
- package/api/resources/entities/client/requests/GetEntityDefinitionsBySourceShortNameEntitiesDefinitionsBySourceGetRequest.js +5 -0
- package/api/resources/entities/client/requests/index.d.ts +5 -0
- package/api/resources/entities/client/requests/index.js +2 -0
- package/api/resources/entities/index.d.ts +2 -0
- package/api/resources/entities/index.js +18 -0
- package/api/resources/entities/types/EntityDefinitionCreateEntitySchema.d.ts +4 -0
- package/api/resources/entities/types/EntityDefinitionCreateEntitySchema.js +5 -0
- package/api/resources/entities/types/EntityDefinitionUpdateEntitySchema.d.ts +4 -0
- package/api/resources/entities/types/EntityDefinitionUpdateEntitySchema.js +5 -0
- package/api/resources/entities/types/index.d.ts +2 -0
- package/api/resources/entities/types/index.js +18 -0
- package/api/resources/index.d.ts +21 -0
- package/api/resources/index.js +60 -0
- package/api/resources/search/client/Client.d.ts +55 -0
- package/api/resources/search/client/Client.js +147 -0
- package/api/resources/search/client/index.d.ts +1 -0
- package/api/resources/search/client/index.js +17 -0
- package/api/resources/search/client/requests/SearchSearchGetRequest.d.ts +20 -0
- package/api/resources/search/client/requests/SearchSearchGetRequest.js +5 -0
- package/api/resources/search/client/requests/index.d.ts +1 -0
- package/api/resources/search/client/requests/index.js +2 -0
- package/api/resources/search/index.d.ts +1 -0
- package/api/resources/search/index.js +17 -0
- package/api/resources/sources/client/Client.d.ts +71 -0
- package/api/resources/sources/client/Client.js +211 -0
- package/api/resources/sources/client/index.d.ts +1 -0
- package/api/resources/sources/client/index.js +2 -0
- package/api/resources/sources/index.d.ts +1 -0
- package/api/resources/sources/index.js +17 -0
- package/api/resources/sync/client/Client.d.ts +275 -0
- package/api/resources/sync/client/Client.js +916 -0
- package/api/resources/sync/client/index.d.ts +1 -0
- package/api/resources/sync/client/index.js +17 -0
- package/api/resources/sync/client/requests/DeleteSyncSyncSyncIdDeleteRequest.d.ts +10 -0
- package/api/resources/sync/client/requests/DeleteSyncSyncSyncIdDeleteRequest.js +5 -0
- package/api/resources/sync/client/requests/ListAllJobsSyncJobsGetRequest.d.ts +11 -0
- package/api/resources/sync/client/requests/ListAllJobsSyncJobsGetRequest.js +5 -0
- package/api/resources/sync/client/requests/ListSyncsSyncGetRequest.d.ts +12 -0
- package/api/resources/sync/client/requests/ListSyncsSyncGetRequest.js +5 -0
- package/api/resources/sync/client/requests/SyncCreate.d.ts +26 -0
- package/api/resources/sync/client/requests/SyncCreate.js +5 -0
- package/api/resources/sync/client/requests/SyncUpdate.d.ts +17 -0
- package/api/resources/sync/client/requests/SyncUpdate.js +5 -0
- package/api/resources/sync/client/requests/index.d.ts +5 -0
- package/api/resources/sync/client/requests/index.js +2 -0
- package/api/resources/sync/index.d.ts +2 -0
- package/api/resources/sync/index.js +18 -0
- package/api/resources/sync/types/ListSyncsSyncGetResponse.d.ts +5 -0
- package/api/resources/sync/types/ListSyncsSyncGetResponse.js +5 -0
- package/api/resources/sync/types/index.d.ts +1 -0
- package/api/resources/sync/types/index.js +17 -0
- package/api/resources/transformers/client/Client.d.ts +77 -0
- package/api/resources/transformers/client/Client.js +272 -0
- package/api/resources/transformers/client/index.d.ts +1 -0
- package/api/resources/transformers/client/index.js +17 -0
- package/api/resources/transformers/client/requests/TransformerCreate.d.ts +22 -0
- package/api/resources/transformers/client/requests/TransformerCreate.js +5 -0
- package/api/resources/transformers/client/requests/TransformerUpdate.d.ts +22 -0
- package/api/resources/transformers/client/requests/TransformerUpdate.js +5 -0
- package/api/resources/transformers/client/requests/index.d.ts +2 -0
- package/api/resources/transformers/client/requests/index.js +2 -0
- package/api/resources/transformers/index.d.ts +1 -0
- package/api/resources/transformers/index.js +17 -0
- package/api/resources/users/client/Client.d.ts +48 -0
- package/api/resources/users/client/Client.js +135 -0
- package/api/resources/users/client/index.d.ts +1 -0
- package/api/resources/users/client/index.js +2 -0
- package/api/resources/users/index.d.ts +1 -0
- package/api/resources/users/index.js +17 -0
- package/api/resources/whiteLabels/client/Client.d.ts +213 -0
- package/api/resources/whiteLabels/client/Client.js +676 -0
- package/api/resources/whiteLabels/client/index.d.ts +1 -0
- package/api/resources/whiteLabels/client/index.js +17 -0
- package/api/resources/whiteLabels/client/requests/WhiteLabelCreate.d.ts +20 -0
- package/api/resources/whiteLabels/client/requests/WhiteLabelCreate.js +5 -0
- package/api/resources/whiteLabels/client/requests/WhiteLabelUpdate.d.ts +13 -0
- package/api/resources/whiteLabels/client/requests/WhiteLabelUpdate.js +5 -0
- package/api/resources/whiteLabels/client/requests/index.d.ts +2 -0
- package/api/resources/whiteLabels/client/requests/index.js +2 -0
- package/api/resources/whiteLabels/index.d.ts +1 -0
- package/api/resources/whiteLabels/index.js +17 -0
- package/api/types/ApiKey.d.ts +17 -0
- package/api/types/ApiKey.js +5 -0
- package/api/types/ApiKeyCreate.d.ts +9 -0
- package/api/types/ApiKeyCreate.js +5 -0
- package/api/types/ApiKeyWithPlainKey.d.ts +18 -0
- package/api/types/ApiKeyWithPlainKey.js +5 -0
- package/api/types/AuthType.d.ts +28 -0
- package/api/types/AuthType.js +16 -0
- package/api/types/Chat.d.ts +22 -0
- package/api/types/Chat.js +5 -0
- package/api/types/ChatCreate.d.ts +14 -0
- package/api/types/ChatCreate.js +5 -0
- package/api/types/ChatMessage.d.ts +18 -0
- package/api/types/ChatMessage.js +5 -0
- package/api/types/ChatMessageCreate.d.ts +10 -0
- package/api/types/ChatMessageCreate.js +5 -0
- package/api/types/ChatUpdate.d.ts +12 -0
- package/api/types/ChatUpdate.js +5 -0
- package/api/types/ConfigField.d.ts +12 -0
- package/api/types/ConfigField.js +5 -0
- package/api/types/Connection.d.ts +18 -0
- package/api/types/Connection.js +5 -0
- package/api/types/ConnectionStatus.d.ts +12 -0
- package/api/types/ConnectionStatus.js +11 -0
- package/api/types/DagEdge.d.ts +15 -0
- package/api/types/DagEdge.js +5 -0
- package/api/types/DagEdgeCreate.d.ts +10 -0
- package/api/types/DagEdgeCreate.js +5 -0
- package/api/types/DagNode.d.ts +20 -0
- package/api/types/DagNode.js +5 -0
- package/api/types/DagNodeCreate.d.ts +17 -0
- package/api/types/DagNodeCreate.js +5 -0
- package/api/types/Destination.d.ts +22 -0
- package/api/types/Destination.js +5 -0
- package/api/types/DestinationWithConfigFields.d.ts +23 -0
- package/api/types/DestinationWithConfigFields.js +5 -0
- package/api/types/EmbeddingModel.d.ts +20 -0
- package/api/types/EmbeddingModel.js +5 -0
- package/api/types/EmbeddingModelWithConfigFields.d.ts +21 -0
- package/api/types/EmbeddingModelWithConfigFields.js +5 -0
- package/api/types/EntityDefinition.d.ts +18 -0
- package/api/types/EntityDefinition.js +5 -0
- package/api/types/EntityDefinitionEntitySchema.d.ts +4 -0
- package/api/types/EntityDefinitionEntitySchema.js +5 -0
- package/api/types/EntityRelation.d.ts +16 -0
- package/api/types/EntityRelation.js +5 -0
- package/api/types/EntityType.d.ts +11 -0
- package/api/types/EntityType.js +10 -0
- package/api/types/Fields.d.ts +10 -0
- package/api/types/Fields.js +5 -0
- package/api/types/HttpValidationError.d.ts +7 -0
- package/api/types/HttpValidationError.js +5 -0
- package/api/types/IntegrationType.d.ts +12 -0
- package/api/types/IntegrationType.js +11 -0
- package/api/types/NodeType.d.ts +13 -0
- package/api/types/NodeType.js +12 -0
- package/api/types/Source.d.ts +22 -0
- package/api/types/Source.js +5 -0
- package/api/types/SourceWithConfigFields.d.ts +23 -0
- package/api/types/SourceWithConfigFields.js +5 -0
- package/api/types/Sync.d.ts +26 -0
- package/api/types/Sync.js +5 -0
- package/api/types/SyncDag.d.ts +29 -0
- package/api/types/SyncDag.js +5 -0
- package/api/types/SyncJob.d.ts +27 -0
- package/api/types/SyncJob.js +5 -0
- package/api/types/SyncJobStatus.d.ts +13 -0
- package/api/types/SyncJobStatus.js +12 -0
- package/api/types/SyncStatus.d.ts +12 -0
- package/api/types/SyncStatus.js +11 -0
- package/api/types/SyncWithSourceConnection.d.ts +27 -0
- package/api/types/SyncWithSourceConnection.js +5 -0
- package/api/types/Transformer.d.ts +19 -0
- package/api/types/Transformer.js +5 -0
- package/api/types/User.d.ts +13 -0
- package/api/types/User.js +5 -0
- package/api/types/ValidationError.d.ts +9 -0
- package/api/types/ValidationError.js +5 -0
- package/api/types/ValidationErrorLocItem.d.ts +4 -0
- package/api/types/ValidationErrorLocItem.js +5 -0
- package/api/types/WhiteLabel.d.ts +19 -0
- package/api/types/WhiteLabel.js +5 -0
- package/api/types/index.d.ts +41 -0
- package/api/types/index.js +57 -0
- package/core/fetcher/APIResponse.d.ts +10 -0
- package/core/fetcher/APIResponse.js +2 -0
- package/core/fetcher/Fetcher.d.ts +39 -0
- package/core/fetcher/Fetcher.js +99 -0
- package/core/fetcher/Supplier.d.ts +4 -0
- package/core/fetcher/Supplier.js +22 -0
- package/core/fetcher/createRequestUrl.d.ts +1 -0
- package/core/fetcher/createRequestUrl.js +12 -0
- package/core/fetcher/getFetchFn.d.ts +4 -0
- package/core/fetcher/getFetchFn.js +68 -0
- package/core/fetcher/getHeader.d.ts +1 -0
- package/core/fetcher/getHeader.js +11 -0
- package/core/fetcher/getRequestBody.d.ts +7 -0
- package/core/fetcher/getRequestBody.js +22 -0
- package/core/fetcher/getResponseBody.d.ts +1 -0
- package/core/fetcher/getResponseBody.js +54 -0
- package/core/fetcher/index.d.ts +5 -0
- package/core/fetcher/index.js +9 -0
- package/core/fetcher/makeRequest.d.ts +1 -0
- package/core/fetcher/makeRequest.js +42 -0
- package/core/fetcher/requestWithRetries.d.ts +1 -0
- package/core/fetcher/requestWithRetries.js +40 -0
- package/core/fetcher/signals.d.ts +11 -0
- package/core/fetcher/signals.js +36 -0
- package/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +30 -0
- package/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.js +247 -0
- package/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +21 -0
- package/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +126 -0
- package/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +31 -0
- package/core/fetcher/stream-wrappers/UndiciStreamWrapper.js +229 -0
- package/core/fetcher/stream-wrappers/chooseStreamWrapper.d.ts +18 -0
- package/core/fetcher/stream-wrappers/chooseStreamWrapper.js +59 -0
- package/core/index.d.ts +3 -0
- package/core/index.js +42 -0
- package/core/runtime/index.d.ts +1 -0
- package/core/runtime/index.js +5 -0
- package/core/runtime/runtime.d.ts +9 -0
- package/core/runtime/runtime.js +93 -0
- package/core/schemas/Schema.d.ts +85 -0
- package/core/schemas/Schema.js +22 -0
- package/core/schemas/builders/bigint/bigint.d.ts +2 -0
- package/core/schemas/builders/bigint/bigint.js +49 -0
- package/core/schemas/builders/bigint/index.d.ts +1 -0
- package/core/schemas/builders/bigint/index.js +5 -0
- package/core/schemas/builders/date/date.d.ts +2 -0
- package/core/schemas/builders/date/date.js +62 -0
- package/core/schemas/builders/date/index.d.ts +1 -0
- package/core/schemas/builders/date/index.js +5 -0
- package/core/schemas/builders/enum/enum.d.ts +2 -0
- package/core/schemas/builders/enum/enum.js +38 -0
- package/core/schemas/builders/enum/index.d.ts +1 -0
- package/core/schemas/builders/enum/index.js +5 -0
- package/core/schemas/builders/index.d.ts +14 -0
- package/core/schemas/builders/index.js +30 -0
- package/core/schemas/builders/lazy/index.d.ts +3 -0
- package/core/schemas/builders/lazy/index.js +7 -0
- package/core/schemas/builders/lazy/lazy.d.ts +5 -0
- package/core/schemas/builders/lazy/lazy.js +24 -0
- package/core/schemas/builders/lazy/lazyObject.d.ts +3 -0
- package/core/schemas/builders/lazy/lazyObject.js +11 -0
- package/core/schemas/builders/list/index.d.ts +1 -0
- package/core/schemas/builders/list/index.js +5 -0
- package/core/schemas/builders/list/list.d.ts +2 -0
- package/core/schemas/builders/list/list.js +54 -0
- package/core/schemas/builders/literals/booleanLiteral.d.ts +2 -0
- package/core/schemas/builders/literals/booleanLiteral.js +28 -0
- package/core/schemas/builders/literals/index.d.ts +2 -0
- package/core/schemas/builders/literals/index.js +7 -0
- package/core/schemas/builders/literals/stringLiteral.d.ts +2 -0
- package/core/schemas/builders/literals/stringLiteral.js +28 -0
- package/core/schemas/builders/object/index.d.ts +6 -0
- package/core/schemas/builders/object/index.js +11 -0
- package/core/schemas/builders/object/object.d.ts +3 -0
- package/core/schemas/builders/object/object.js +260 -0
- package/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +6 -0
- package/core/schemas/builders/object/objectWithoutOptionalProperties.js +7 -0
- package/core/schemas/builders/object/property.d.ts +8 -0
- package/core/schemas/builders/object/property.js +15 -0
- package/core/schemas/builders/object/types.d.ts +31 -0
- package/core/schemas/builders/object/types.js +2 -0
- package/core/schemas/builders/object-like/getObjectLikeUtils.d.ts +9 -0
- package/core/schemas/builders/object-like/getObjectLikeUtils.js +53 -0
- package/core/schemas/builders/object-like/index.d.ts +2 -0
- package/core/schemas/builders/object-like/index.js +6 -0
- package/core/schemas/builders/object-like/types.d.ts +7 -0
- package/core/schemas/builders/object-like/types.js +2 -0
- package/core/schemas/builders/primitives/any.d.ts +1 -0
- package/core/schemas/builders/primitives/any.js +6 -0
- package/core/schemas/builders/primitives/boolean.d.ts +1 -0
- package/core/schemas/builders/primitives/boolean.js +25 -0
- package/core/schemas/builders/primitives/index.d.ts +5 -0
- package/core/schemas/builders/primitives/index.js +13 -0
- package/core/schemas/builders/primitives/number.d.ts +1 -0
- package/core/schemas/builders/primitives/number.js +25 -0
- package/core/schemas/builders/primitives/string.d.ts +1 -0
- package/core/schemas/builders/primitives/string.js +25 -0
- package/core/schemas/builders/primitives/unknown.d.ts +1 -0
- package/core/schemas/builders/primitives/unknown.js +6 -0
- package/core/schemas/builders/record/index.d.ts +2 -0
- package/core/schemas/builders/record/index.js +5 -0
- package/core/schemas/builders/record/record.d.ts +3 -0
- package/core/schemas/builders/record/record.js +94 -0
- package/core/schemas/builders/record/types.d.ts +4 -0
- package/core/schemas/builders/record/types.js +2 -0
- package/core/schemas/builders/schema-utils/JsonError.d.ts +5 -0
- package/core/schemas/builders/schema-utils/JsonError.js +12 -0
- package/core/schemas/builders/schema-utils/ParseError.d.ts +5 -0
- package/core/schemas/builders/schema-utils/ParseError.js +12 -0
- package/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +17 -0
- package/core/schemas/builders/schema-utils/getSchemaUtils.js +81 -0
- package/core/schemas/builders/schema-utils/index.d.ts +4 -0
- package/core/schemas/builders/schema-utils/index.js +11 -0
- package/core/schemas/builders/schema-utils/stringifyValidationErrors.d.ts +2 -0
- package/core/schemas/builders/schema-utils/stringifyValidationErrors.js +9 -0
- package/core/schemas/builders/set/index.d.ts +1 -0
- package/core/schemas/builders/set/index.js +5 -0
- package/core/schemas/builders/set/set.d.ts +2 -0
- package/core/schemas/builders/set/set.js +43 -0
- package/core/schemas/builders/undiscriminated-union/index.d.ts +2 -0
- package/core/schemas/builders/undiscriminated-union/index.js +5 -0
- package/core/schemas/builders/undiscriminated-union/types.d.ts +4 -0
- package/core/schemas/builders/undiscriminated-union/types.js +2 -0
- package/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.d.ts +3 -0
- package/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +39 -0
- package/core/schemas/builders/union/discriminant.d.ts +5 -0
- package/core/schemas/builders/union/discriminant.js +9 -0
- package/core/schemas/builders/union/index.d.ts +4 -0
- package/core/schemas/builders/union/index.js +7 -0
- package/core/schemas/builders/union/types.d.ts +13 -0
- package/core/schemas/builders/union/types.js +2 -0
- package/core/schemas/builders/union/union.d.ts +4 -0
- package/core/schemas/builders/union/union.js +129 -0
- package/core/schemas/index.d.ts +2 -0
- package/core/schemas/index.js +17 -0
- package/core/schemas/utils/MaybePromise.d.ts +1 -0
- package/core/schemas/utils/MaybePromise.js +2 -0
- package/core/schemas/utils/addQuestionMarksToNullableProperties.d.ts +7 -0
- package/core/schemas/utils/addQuestionMarksToNullableProperties.js +2 -0
- package/core/schemas/utils/createIdentitySchemaCreator.d.ts +2 -0
- package/core/schemas/utils/createIdentitySchemaCreator.js +15 -0
- package/core/schemas/utils/entries.d.ts +1 -0
- package/core/schemas/utils/entries.js +6 -0
- package/core/schemas/utils/filterObject.d.ts +1 -0
- package/core/schemas/utils/filterObject.js +13 -0
- package/core/schemas/utils/getErrorMessageForIncorrectType.d.ts +1 -0
- package/core/schemas/utils/getErrorMessageForIncorrectType.js +27 -0
- package/core/schemas/utils/isPlainObject.d.ts +1 -0
- package/core/schemas/utils/isPlainObject.js +17 -0
- package/core/schemas/utils/keys.d.ts +1 -0
- package/core/schemas/utils/keys.js +6 -0
- package/core/schemas/utils/maybeSkipValidation.d.ts +2 -0
- package/core/schemas/utils/maybeSkipValidation.js +27 -0
- package/core/schemas/utils/partition.d.ts +1 -0
- package/core/schemas/utils/partition.js +15 -0
- package/dist/Client.d.ts +64 -0
- package/dist/Client.js +72 -0
- package/dist/api/errors/UnprocessableEntityError.d.ts +8 -0
- package/dist/api/errors/UnprocessableEntityError.js +51 -0
- package/dist/api/errors/index.d.ts +1 -0
- package/dist/api/errors/index.js +17 -0
- package/dist/api/index.d.ts +3 -0
- package/dist/api/index.js +19 -0
- package/dist/api/resources/connections/client/Client.d.ts +320 -0
- package/dist/api/resources/connections/client/Client.js +1001 -0
- package/dist/api/resources/connections/client/index.d.ts +1 -0
- package/dist/api/resources/connections/client/index.js +17 -0
- package/dist/api/resources/connections/client/requests/BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost.d.ts +15 -0
- package/dist/api/resources/connections/client/requests/BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost.js +5 -0
- package/dist/api/resources/connections/client/requests/BodySendOauth2CodeConnectionsOauth2SourceCodePost.d.ts +14 -0
- package/dist/api/resources/connections/client/requests/BodySendOauth2CodeConnectionsOauth2SourceCodePost.js +5 -0
- package/dist/api/resources/connections/client/requests/GetOauth2AuthUrlConnectionsOauth2SourceAuthUrlGetRequest.d.ts +12 -0
- package/dist/api/resources/connections/client/requests/GetOauth2AuthUrlConnectionsOauth2SourceAuthUrlGetRequest.js +5 -0
- package/dist/api/resources/connections/client/requests/index.d.ts +3 -0
- package/dist/api/resources/connections/client/requests/index.js +2 -0
- package/dist/api/resources/connections/index.d.ts +1 -0
- package/dist/api/resources/connections/index.js +17 -0
- package/dist/api/resources/cursorDevelopment/client/Client.d.ts +78 -0
- package/dist/api/resources/cursorDevelopment/client/Client.js +218 -0
- package/dist/api/resources/cursorDevelopment/client/index.d.ts +1 -0
- package/dist/api/resources/cursorDevelopment/client/index.js +2 -0
- package/dist/api/resources/cursorDevelopment/index.d.ts +1 -0
- package/dist/api/resources/cursorDevelopment/index.js +17 -0
- package/dist/api/resources/dag/client/Client.d.ts +95 -0
- package/dist/api/resources/dag/client/Client.js +347 -0
- package/dist/api/resources/dag/client/index.d.ts +1 -0
- package/dist/api/resources/dag/client/index.js +17 -0
- package/dist/api/resources/dag/client/requests/InitializeDagDagInitGetRequest.d.ts +12 -0
- package/dist/api/resources/dag/client/requests/InitializeDagDagInitGetRequest.js +5 -0
- package/dist/api/resources/dag/client/requests/SyncDagCreate.d.ts +26 -0
- package/dist/api/resources/dag/client/requests/SyncDagCreate.js +5 -0
- package/dist/api/resources/dag/client/requests/SyncDagUpdate.d.ts +18 -0
- package/dist/api/resources/dag/client/requests/SyncDagUpdate.js +5 -0
- package/dist/api/resources/dag/client/requests/index.d.ts +3 -0
- package/dist/api/resources/dag/client/requests/index.js +2 -0
- package/dist/api/resources/dag/index.d.ts +1 -0
- package/dist/api/resources/dag/index.js +17 -0
- package/dist/api/resources/destinations/client/Client.d.ts +71 -0
- package/dist/api/resources/destinations/client/Client.js +211 -0
- package/dist/api/resources/destinations/client/index.d.ts +1 -0
- package/dist/api/resources/destinations/client/index.js +2 -0
- package/dist/api/resources/destinations/index.d.ts +1 -0
- package/dist/api/resources/destinations/index.js +17 -0
- package/dist/api/resources/embeddingModels/client/Client.d.ts +71 -0
- package/dist/api/resources/embeddingModels/client/Client.js +211 -0
- package/dist/api/resources/embeddingModels/client/index.d.ts +1 -0
- package/dist/api/resources/embeddingModels/client/index.js +2 -0
- package/dist/api/resources/embeddingModels/index.d.ts +1 -0
- package/dist/api/resources/embeddingModels/index.js +17 -0
- package/dist/api/resources/entities/client/Client.d.ts +155 -0
- package/dist/api/resources/entities/client/Client.js +624 -0
- package/dist/api/resources/entities/client/index.d.ts +1 -0
- package/dist/api/resources/entities/client/index.js +17 -0
- package/dist/api/resources/entities/client/requests/EntityDefinitionCreate.d.ts +23 -0
- package/dist/api/resources/entities/client/requests/EntityDefinitionCreate.js +5 -0
- package/dist/api/resources/entities/client/requests/EntityDefinitionUpdate.d.ts +23 -0
- package/dist/api/resources/entities/client/requests/EntityDefinitionUpdate.js +5 -0
- package/dist/api/resources/entities/client/requests/EntityRelationCreate.d.ts +17 -0
- package/dist/api/resources/entities/client/requests/EntityRelationCreate.js +5 -0
- package/dist/api/resources/entities/client/requests/EntityRelationUpdate.d.ts +17 -0
- package/dist/api/resources/entities/client/requests/EntityRelationUpdate.js +5 -0
- package/dist/api/resources/entities/client/requests/GetEntityDefinitionsBySourceShortNameEntitiesDefinitionsBySourceGetRequest.d.ts +12 -0
- package/dist/api/resources/entities/client/requests/GetEntityDefinitionsBySourceShortNameEntitiesDefinitionsBySourceGetRequest.js +5 -0
- package/dist/api/resources/entities/client/requests/index.d.ts +5 -0
- package/dist/api/resources/entities/client/requests/index.js +2 -0
- package/dist/api/resources/entities/index.d.ts +2 -0
- package/dist/api/resources/entities/index.js +18 -0
- package/dist/api/resources/entities/types/EntityDefinitionCreateEntitySchema.d.ts +4 -0
- package/dist/api/resources/entities/types/EntityDefinitionCreateEntitySchema.js +5 -0
- package/dist/api/resources/entities/types/EntityDefinitionUpdateEntitySchema.d.ts +4 -0
- package/dist/api/resources/entities/types/EntityDefinitionUpdateEntitySchema.js +5 -0
- package/dist/api/resources/entities/types/index.d.ts +2 -0
- package/dist/api/resources/entities/types/index.js +18 -0
- package/dist/api/resources/index.d.ts +21 -0
- package/dist/api/resources/index.js +60 -0
- package/dist/api/resources/search/client/Client.d.ts +55 -0
- package/dist/api/resources/search/client/Client.js +147 -0
- package/dist/api/resources/search/client/index.d.ts +1 -0
- package/dist/api/resources/search/client/index.js +17 -0
- package/dist/api/resources/search/client/requests/SearchSearchGetRequest.d.ts +20 -0
- package/dist/api/resources/search/client/requests/SearchSearchGetRequest.js +5 -0
- package/dist/api/resources/search/client/requests/index.d.ts +1 -0
- package/dist/api/resources/search/client/requests/index.js +2 -0
- package/dist/api/resources/search/index.d.ts +1 -0
- package/dist/api/resources/search/index.js +17 -0
- package/dist/api/resources/sources/client/Client.d.ts +71 -0
- package/dist/api/resources/sources/client/Client.js +211 -0
- package/dist/api/resources/sources/client/index.d.ts +1 -0
- package/dist/api/resources/sources/client/index.js +2 -0
- package/dist/api/resources/sources/index.d.ts +1 -0
- package/dist/api/resources/sources/index.js +17 -0
- package/dist/api/resources/sync/client/Client.d.ts +275 -0
- package/dist/api/resources/sync/client/Client.js +916 -0
- package/dist/api/resources/sync/client/index.d.ts +1 -0
- package/dist/api/resources/sync/client/index.js +17 -0
- package/dist/api/resources/sync/client/requests/DeleteSyncSyncSyncIdDeleteRequest.d.ts +10 -0
- package/dist/api/resources/sync/client/requests/DeleteSyncSyncSyncIdDeleteRequest.js +5 -0
- package/dist/api/resources/sync/client/requests/ListAllJobsSyncJobsGetRequest.d.ts +11 -0
- package/dist/api/resources/sync/client/requests/ListAllJobsSyncJobsGetRequest.js +5 -0
- package/dist/api/resources/sync/client/requests/ListSyncsSyncGetRequest.d.ts +12 -0
- package/dist/api/resources/sync/client/requests/ListSyncsSyncGetRequest.js +5 -0
- package/dist/api/resources/sync/client/requests/SyncCreate.d.ts +26 -0
- package/dist/api/resources/sync/client/requests/SyncCreate.js +5 -0
- package/dist/api/resources/sync/client/requests/SyncUpdate.d.ts +17 -0
- package/dist/api/resources/sync/client/requests/SyncUpdate.js +5 -0
- package/dist/api/resources/sync/client/requests/index.d.ts +5 -0
- package/dist/api/resources/sync/client/requests/index.js +2 -0
- package/dist/api/resources/sync/index.d.ts +2 -0
- package/dist/api/resources/sync/index.js +18 -0
- package/dist/api/resources/sync/types/ListSyncsSyncGetResponse.d.ts +5 -0
- package/dist/api/resources/sync/types/ListSyncsSyncGetResponse.js +5 -0
- package/dist/api/resources/sync/types/index.d.ts +1 -0
- package/dist/api/resources/sync/types/index.js +17 -0
- package/dist/api/resources/transformers/client/Client.d.ts +77 -0
- package/dist/api/resources/transformers/client/Client.js +272 -0
- package/dist/api/resources/transformers/client/index.d.ts +1 -0
- package/dist/api/resources/transformers/client/index.js +17 -0
- package/dist/api/resources/transformers/client/requests/TransformerCreate.d.ts +22 -0
- package/dist/api/resources/transformers/client/requests/TransformerCreate.js +5 -0
- package/dist/api/resources/transformers/client/requests/TransformerUpdate.d.ts +22 -0
- package/dist/api/resources/transformers/client/requests/TransformerUpdate.js +5 -0
- package/dist/api/resources/transformers/client/requests/index.d.ts +2 -0
- package/dist/api/resources/transformers/client/requests/index.js +2 -0
- package/dist/api/resources/transformers/index.d.ts +1 -0
- package/dist/api/resources/transformers/index.js +17 -0
- package/dist/api/resources/users/client/Client.d.ts +48 -0
- package/dist/api/resources/users/client/Client.js +135 -0
- package/dist/api/resources/users/client/index.d.ts +1 -0
- package/dist/api/resources/users/client/index.js +2 -0
- package/dist/api/resources/users/index.d.ts +1 -0
- package/dist/api/resources/users/index.js +17 -0
- package/dist/api/resources/whiteLabels/client/Client.d.ts +213 -0
- package/dist/api/resources/whiteLabels/client/Client.js +676 -0
- package/dist/api/resources/whiteLabels/client/index.d.ts +1 -0
- package/dist/api/resources/whiteLabels/client/index.js +17 -0
- package/dist/api/resources/whiteLabels/client/requests/WhiteLabelCreate.d.ts +20 -0
- package/dist/api/resources/whiteLabels/client/requests/WhiteLabelCreate.js +5 -0
- package/dist/api/resources/whiteLabels/client/requests/WhiteLabelUpdate.d.ts +13 -0
- package/dist/api/resources/whiteLabels/client/requests/WhiteLabelUpdate.js +5 -0
- package/dist/api/resources/whiteLabels/client/requests/index.d.ts +2 -0
- package/dist/api/resources/whiteLabels/client/requests/index.js +2 -0
- package/dist/api/resources/whiteLabels/index.d.ts +1 -0
- package/dist/api/resources/whiteLabels/index.js +17 -0
- package/dist/api/types/ApiKey.d.ts +17 -0
- package/dist/api/types/ApiKey.js +5 -0
- package/dist/api/types/ApiKeyCreate.d.ts +9 -0
- package/dist/api/types/ApiKeyCreate.js +5 -0
- package/dist/api/types/ApiKeyWithPlainKey.d.ts +18 -0
- package/dist/api/types/ApiKeyWithPlainKey.js +5 -0
- package/dist/api/types/AuthType.d.ts +28 -0
- package/dist/api/types/AuthType.js +16 -0
- package/dist/api/types/Chat.d.ts +22 -0
- package/dist/api/types/Chat.js +5 -0
- package/dist/api/types/ChatCreate.d.ts +14 -0
- package/dist/api/types/ChatCreate.js +5 -0
- package/dist/api/types/ChatMessage.d.ts +18 -0
- package/dist/api/types/ChatMessage.js +5 -0
- package/dist/api/types/ChatMessageCreate.d.ts +10 -0
- package/dist/api/types/ChatMessageCreate.js +5 -0
- package/dist/api/types/ChatUpdate.d.ts +12 -0
- package/dist/api/types/ChatUpdate.js +5 -0
- package/dist/api/types/ConfigField.d.ts +12 -0
- package/dist/api/types/ConfigField.js +5 -0
- package/dist/api/types/Connection.d.ts +18 -0
- package/dist/api/types/Connection.js +5 -0
- package/dist/api/types/ConnectionStatus.d.ts +12 -0
- package/dist/api/types/ConnectionStatus.js +11 -0
- package/dist/api/types/DagEdge.d.ts +15 -0
- package/dist/api/types/DagEdge.js +5 -0
- package/dist/api/types/DagEdgeCreate.d.ts +10 -0
- package/dist/api/types/DagEdgeCreate.js +5 -0
- package/dist/api/types/DagNode.d.ts +20 -0
- package/dist/api/types/DagNode.js +5 -0
- package/dist/api/types/DagNodeCreate.d.ts +17 -0
- package/dist/api/types/DagNodeCreate.js +5 -0
- package/dist/api/types/Destination.d.ts +22 -0
- package/dist/api/types/Destination.js +5 -0
- package/dist/api/types/DestinationWithConfigFields.d.ts +23 -0
- package/dist/api/types/DestinationWithConfigFields.js +5 -0
- package/dist/api/types/EmbeddingModel.d.ts +20 -0
- package/dist/api/types/EmbeddingModel.js +5 -0
- package/dist/api/types/EmbeddingModelWithConfigFields.d.ts +21 -0
- package/dist/api/types/EmbeddingModelWithConfigFields.js +5 -0
- package/dist/api/types/EntityDefinition.d.ts +18 -0
- package/dist/api/types/EntityDefinition.js +5 -0
- package/dist/api/types/EntityDefinitionEntitySchema.d.ts +4 -0
- package/dist/api/types/EntityDefinitionEntitySchema.js +5 -0
- package/dist/api/types/EntityRelation.d.ts +16 -0
- package/dist/api/types/EntityRelation.js +5 -0
- package/dist/api/types/EntityType.d.ts +11 -0
- package/dist/api/types/EntityType.js +10 -0
- package/dist/api/types/Fields.d.ts +10 -0
- package/dist/api/types/Fields.js +5 -0
- package/dist/api/types/HttpValidationError.d.ts +7 -0
- package/dist/api/types/HttpValidationError.js +5 -0
- package/dist/api/types/IntegrationType.d.ts +12 -0
- package/dist/api/types/IntegrationType.js +11 -0
- package/dist/api/types/NodeType.d.ts +13 -0
- package/dist/api/types/NodeType.js +12 -0
- package/dist/api/types/Source.d.ts +22 -0
- package/dist/api/types/Source.js +5 -0
- package/dist/api/types/SourceWithConfigFields.d.ts +23 -0
- package/dist/api/types/SourceWithConfigFields.js +5 -0
- package/dist/api/types/Sync.d.ts +26 -0
- package/dist/api/types/Sync.js +5 -0
- package/dist/api/types/SyncDag.d.ts +29 -0
- package/dist/api/types/SyncDag.js +5 -0
- package/dist/api/types/SyncJob.d.ts +27 -0
- package/dist/api/types/SyncJob.js +5 -0
- package/dist/api/types/SyncJobStatus.d.ts +13 -0
- package/dist/api/types/SyncJobStatus.js +12 -0
- package/dist/api/types/SyncStatus.d.ts +12 -0
- package/dist/api/types/SyncStatus.js +11 -0
- package/dist/api/types/SyncWithSourceConnection.d.ts +27 -0
- package/dist/api/types/SyncWithSourceConnection.js +5 -0
- package/dist/api/types/Transformer.d.ts +19 -0
- package/dist/api/types/Transformer.js +5 -0
- package/dist/api/types/User.d.ts +13 -0
- package/dist/api/types/User.js +5 -0
- package/dist/api/types/ValidationError.d.ts +9 -0
- package/dist/api/types/ValidationError.js +5 -0
- package/dist/api/types/ValidationErrorLocItem.d.ts +4 -0
- package/dist/api/types/ValidationErrorLocItem.js +5 -0
- package/dist/api/types/WhiteLabel.d.ts +19 -0
- package/dist/api/types/WhiteLabel.js +5 -0
- package/dist/api/types/index.d.ts +41 -0
- package/dist/api/types/index.js +57 -0
- package/dist/core/fetcher/APIResponse.d.ts +10 -0
- package/dist/core/fetcher/APIResponse.js +2 -0
- package/dist/core/fetcher/Fetcher.d.ts +39 -0
- package/dist/core/fetcher/Fetcher.js +99 -0
- package/dist/core/fetcher/Supplier.d.ts +4 -0
- package/dist/core/fetcher/Supplier.js +22 -0
- package/dist/core/fetcher/createRequestUrl.d.ts +1 -0
- package/dist/core/fetcher/createRequestUrl.js +12 -0
- package/dist/core/fetcher/getFetchFn.d.ts +4 -0
- package/dist/core/fetcher/getFetchFn.js +68 -0
- package/dist/core/fetcher/getHeader.d.ts +1 -0
- package/dist/core/fetcher/getHeader.js +11 -0
- package/dist/core/fetcher/getRequestBody.d.ts +7 -0
- package/dist/core/fetcher/getRequestBody.js +22 -0
- package/dist/core/fetcher/getResponseBody.d.ts +1 -0
- package/dist/core/fetcher/getResponseBody.js +54 -0
- package/dist/core/fetcher/index.d.ts +5 -0
- package/dist/core/fetcher/index.js +9 -0
- package/dist/core/fetcher/makeRequest.d.ts +1 -0
- package/dist/core/fetcher/makeRequest.js +42 -0
- package/dist/core/fetcher/requestWithRetries.d.ts +1 -0
- package/dist/core/fetcher/requestWithRetries.js +40 -0
- package/dist/core/fetcher/signals.d.ts +11 -0
- package/dist/core/fetcher/signals.js +36 -0
- package/dist/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +30 -0
- package/dist/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.js +247 -0
- package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +21 -0
- package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +126 -0
- package/dist/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +31 -0
- package/dist/core/fetcher/stream-wrappers/UndiciStreamWrapper.js +229 -0
- package/dist/core/fetcher/stream-wrappers/chooseStreamWrapper.d.ts +18 -0
- package/dist/core/fetcher/stream-wrappers/chooseStreamWrapper.js +59 -0
- package/dist/core/index.d.ts +3 -0
- package/dist/core/index.js +42 -0
- package/dist/core/runtime/index.d.ts +1 -0
- package/dist/core/runtime/index.js +5 -0
- package/dist/core/runtime/runtime.d.ts +9 -0
- package/dist/core/runtime/runtime.js +93 -0
- package/dist/core/schemas/Schema.d.ts +85 -0
- package/dist/core/schemas/Schema.js +22 -0
- package/dist/core/schemas/builders/bigint/bigint.d.ts +2 -0
- package/dist/core/schemas/builders/bigint/bigint.js +49 -0
- package/dist/core/schemas/builders/bigint/index.d.ts +1 -0
- package/dist/core/schemas/builders/bigint/index.js +5 -0
- package/dist/core/schemas/builders/date/date.d.ts +2 -0
- package/dist/core/schemas/builders/date/date.js +62 -0
- package/dist/core/schemas/builders/date/index.d.ts +1 -0
- package/dist/core/schemas/builders/date/index.js +5 -0
- package/dist/core/schemas/builders/enum/enum.d.ts +2 -0
- package/dist/core/schemas/builders/enum/enum.js +38 -0
- package/dist/core/schemas/builders/enum/index.d.ts +1 -0
- package/dist/core/schemas/builders/enum/index.js +5 -0
- package/dist/core/schemas/builders/index.d.ts +14 -0
- package/dist/core/schemas/builders/index.js +30 -0
- package/dist/core/schemas/builders/lazy/index.d.ts +3 -0
- package/dist/core/schemas/builders/lazy/index.js +7 -0
- package/dist/core/schemas/builders/lazy/lazy.d.ts +5 -0
- package/dist/core/schemas/builders/lazy/lazy.js +24 -0
- package/dist/core/schemas/builders/lazy/lazyObject.d.ts +3 -0
- package/dist/core/schemas/builders/lazy/lazyObject.js +11 -0
- package/dist/core/schemas/builders/list/index.d.ts +1 -0
- package/dist/core/schemas/builders/list/index.js +5 -0
- package/dist/core/schemas/builders/list/list.d.ts +2 -0
- package/dist/core/schemas/builders/list/list.js +54 -0
- package/dist/core/schemas/builders/literals/booleanLiteral.d.ts +2 -0
- package/dist/core/schemas/builders/literals/booleanLiteral.js +28 -0
- package/dist/core/schemas/builders/literals/index.d.ts +2 -0
- package/dist/core/schemas/builders/literals/index.js +7 -0
- package/dist/core/schemas/builders/literals/stringLiteral.d.ts +2 -0
- package/dist/core/schemas/builders/literals/stringLiteral.js +28 -0
- package/dist/core/schemas/builders/object/index.d.ts +6 -0
- package/dist/core/schemas/builders/object/index.js +11 -0
- package/dist/core/schemas/builders/object/object.d.ts +3 -0
- package/dist/core/schemas/builders/object/object.js +260 -0
- package/dist/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +6 -0
- package/dist/core/schemas/builders/object/objectWithoutOptionalProperties.js +7 -0
- package/dist/core/schemas/builders/object/property.d.ts +8 -0
- package/dist/core/schemas/builders/object/property.js +15 -0
- package/dist/core/schemas/builders/object/types.d.ts +31 -0
- package/dist/core/schemas/builders/object/types.js +2 -0
- package/dist/core/schemas/builders/object-like/getObjectLikeUtils.d.ts +9 -0
- package/dist/core/schemas/builders/object-like/getObjectLikeUtils.js +53 -0
- package/dist/core/schemas/builders/object-like/index.d.ts +2 -0
- package/dist/core/schemas/builders/object-like/index.js +6 -0
- package/dist/core/schemas/builders/object-like/types.d.ts +7 -0
- package/dist/core/schemas/builders/object-like/types.js +2 -0
- package/dist/core/schemas/builders/primitives/any.d.ts +1 -0
- package/dist/core/schemas/builders/primitives/any.js +6 -0
- package/dist/core/schemas/builders/primitives/boolean.d.ts +1 -0
- package/dist/core/schemas/builders/primitives/boolean.js +25 -0
- package/dist/core/schemas/builders/primitives/index.d.ts +5 -0
- package/dist/core/schemas/builders/primitives/index.js +13 -0
- package/dist/core/schemas/builders/primitives/number.d.ts +1 -0
- package/dist/core/schemas/builders/primitives/number.js +25 -0
- package/dist/core/schemas/builders/primitives/string.d.ts +1 -0
- package/dist/core/schemas/builders/primitives/string.js +25 -0
- package/dist/core/schemas/builders/primitives/unknown.d.ts +1 -0
- package/dist/core/schemas/builders/primitives/unknown.js +6 -0
- package/dist/core/schemas/builders/record/index.d.ts +2 -0
- package/dist/core/schemas/builders/record/index.js +5 -0
- package/dist/core/schemas/builders/record/record.d.ts +3 -0
- package/dist/core/schemas/builders/record/record.js +94 -0
- package/dist/core/schemas/builders/record/types.d.ts +4 -0
- package/dist/core/schemas/builders/record/types.js +2 -0
- package/dist/core/schemas/builders/schema-utils/JsonError.d.ts +5 -0
- package/dist/core/schemas/builders/schema-utils/JsonError.js +12 -0
- package/dist/core/schemas/builders/schema-utils/ParseError.d.ts +5 -0
- package/dist/core/schemas/builders/schema-utils/ParseError.js +12 -0
- package/dist/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +17 -0
- package/dist/core/schemas/builders/schema-utils/getSchemaUtils.js +81 -0
- package/dist/core/schemas/builders/schema-utils/index.d.ts +4 -0
- package/dist/core/schemas/builders/schema-utils/index.js +11 -0
- package/dist/core/schemas/builders/schema-utils/stringifyValidationErrors.d.ts +2 -0
- package/dist/core/schemas/builders/schema-utils/stringifyValidationErrors.js +9 -0
- package/dist/core/schemas/builders/set/index.d.ts +1 -0
- package/dist/core/schemas/builders/set/index.js +5 -0
- package/dist/core/schemas/builders/set/set.d.ts +2 -0
- package/dist/core/schemas/builders/set/set.js +43 -0
- package/dist/core/schemas/builders/undiscriminated-union/index.d.ts +2 -0
- package/dist/core/schemas/builders/undiscriminated-union/index.js +5 -0
- package/dist/core/schemas/builders/undiscriminated-union/types.d.ts +4 -0
- package/dist/core/schemas/builders/undiscriminated-union/types.js +2 -0
- package/dist/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.d.ts +3 -0
- package/dist/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +39 -0
- package/dist/core/schemas/builders/union/discriminant.d.ts +5 -0
- package/dist/core/schemas/builders/union/discriminant.js +9 -0
- package/dist/core/schemas/builders/union/index.d.ts +4 -0
- package/dist/core/schemas/builders/union/index.js +7 -0
- package/dist/core/schemas/builders/union/types.d.ts +13 -0
- package/dist/core/schemas/builders/union/types.js +2 -0
- package/dist/core/schemas/builders/union/union.d.ts +4 -0
- package/dist/core/schemas/builders/union/union.js +129 -0
- package/dist/core/schemas/index.d.ts +2 -0
- package/dist/core/schemas/index.js +17 -0
- package/dist/core/schemas/utils/MaybePromise.d.ts +1 -0
- package/dist/core/schemas/utils/MaybePromise.js +2 -0
- package/dist/core/schemas/utils/addQuestionMarksToNullableProperties.d.ts +7 -0
- package/dist/core/schemas/utils/addQuestionMarksToNullableProperties.js +2 -0
- package/dist/core/schemas/utils/createIdentitySchemaCreator.d.ts +2 -0
- package/dist/core/schemas/utils/createIdentitySchemaCreator.js +15 -0
- package/dist/core/schemas/utils/entries.d.ts +1 -0
- package/dist/core/schemas/utils/entries.js +6 -0
- package/dist/core/schemas/utils/filterObject.d.ts +1 -0
- package/dist/core/schemas/utils/filterObject.js +13 -0
- package/dist/core/schemas/utils/getErrorMessageForIncorrectType.d.ts +1 -0
- package/dist/core/schemas/utils/getErrorMessageForIncorrectType.js +27 -0
- package/dist/core/schemas/utils/isPlainObject.d.ts +1 -0
- package/dist/core/schemas/utils/isPlainObject.js +17 -0
- package/dist/core/schemas/utils/keys.d.ts +1 -0
- package/dist/core/schemas/utils/keys.js +6 -0
- package/dist/core/schemas/utils/maybeSkipValidation.d.ts +2 -0
- package/dist/core/schemas/utils/maybeSkipValidation.js +27 -0
- package/dist/core/schemas/utils/partition.d.ts +1 -0
- package/dist/core/schemas/utils/partition.js +15 -0
- package/dist/environments.d.ts +8 -0
- package/dist/environments.js +10 -0
- package/dist/errors/AirweaveSDKError.d.ts +12 -0
- package/dist/errors/AirweaveSDKError.js +32 -0
- package/dist/errors/AirweaveSDKTimeoutError.d.ts +6 -0
- package/dist/errors/AirweaveSDKTimeoutError.js +13 -0
- package/dist/errors/index.d.ts +2 -0
- package/dist/errors/index.js +7 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +44 -0
- package/dist/serialization/index.d.ts +2 -0
- package/dist/serialization/index.js +18 -0
- package/dist/serialization/resources/connections/client/getConnectionCredentials.d.ts +9 -0
- package/dist/serialization/resources/connections/client/getConnectionCredentials.js +41 -0
- package/dist/serialization/resources/connections/client/getOauth2AuthUrl.d.ts +9 -0
- package/dist/serialization/resources/connections/client/getOauth2AuthUrl.js +41 -0
- package/dist/serialization/resources/connections/client/getOauth2WhiteLabelAuthUrl.d.ts +9 -0
- package/dist/serialization/resources/connections/client/getOauth2WhiteLabelAuthUrl.js +41 -0
- package/dist/serialization/resources/connections/client/index.d.ts +7 -0
- package/dist/serialization/resources/connections/client/index.js +46 -0
- package/dist/serialization/resources/connections/client/listAllConnectedIntegrations.d.ts +11 -0
- package/dist/serialization/resources/connections/client/listAllConnectedIntegrations.js +42 -0
- package/dist/serialization/resources/connections/client/listConnectedIntegrations.d.ts +11 -0
- package/dist/serialization/resources/connections/client/listConnectedIntegrations.js +42 -0
- package/dist/serialization/resources/connections/client/requests/BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost.d.ts +13 -0
- package/dist/serialization/resources/connections/client/requests/BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost.js +44 -0
- package/dist/serialization/resources/connections/client/requests/BodySendOauth2CodeConnectionsOauth2SourceCodePost.d.ts +13 -0
- package/dist/serialization/resources/connections/client/requests/BodySendOauth2CodeConnectionsOauth2SourceCodePost.js +44 -0
- package/dist/serialization/resources/connections/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/connections/client/requests/index.js +7 -0
- package/dist/serialization/resources/connections/client/sendOauth2WhiteLabelCode.d.ts +9 -0
- package/dist/serialization/resources/connections/client/sendOauth2WhiteLabelCode.js +41 -0
- package/dist/serialization/resources/connections/index.d.ts +1 -0
- package/dist/serialization/resources/connections/index.js +17 -0
- package/dist/serialization/resources/cursorDevelopment/client/checkConnectionStatus.d.ts +11 -0
- package/dist/serialization/resources/cursorDevelopment/client/checkConnectionStatus.js +42 -0
- package/dist/serialization/resources/cursorDevelopment/client/index.d.ts +1 -0
- package/dist/serialization/resources/cursorDevelopment/client/index.js +37 -0
- package/dist/serialization/resources/cursorDevelopment/index.d.ts +1 -0
- package/dist/serialization/resources/cursorDevelopment/index.js +17 -0
- package/dist/serialization/resources/dag/client/index.d.ts +1 -0
- package/dist/serialization/resources/dag/client/index.js +17 -0
- package/dist/serialization/resources/dag/client/requests/SyncDagCreate.d.ts +18 -0
- package/dist/serialization/resources/dag/client/requests/SyncDagCreate.js +49 -0
- package/dist/serialization/resources/dag/client/requests/SyncDagUpdate.d.ts +18 -0
- package/dist/serialization/resources/dag/client/requests/SyncDagUpdate.js +49 -0
- package/dist/serialization/resources/dag/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/dag/client/requests/index.js +7 -0
- package/dist/serialization/resources/dag/index.d.ts +1 -0
- package/dist/serialization/resources/dag/index.js +17 -0
- package/dist/serialization/resources/destinations/client/index.d.ts +1 -0
- package/dist/serialization/resources/destinations/client/index.js +37 -0
- package/dist/serialization/resources/destinations/client/listDestinations.d.ts +11 -0
- package/dist/serialization/resources/destinations/client/listDestinations.js +42 -0
- package/dist/serialization/resources/destinations/index.d.ts +1 -0
- package/dist/serialization/resources/destinations/index.js +17 -0
- package/dist/serialization/resources/embeddingModels/client/index.d.ts +1 -0
- package/dist/serialization/resources/embeddingModels/client/index.js +37 -0
- package/dist/serialization/resources/embeddingModels/client/readEmbeddingModels.d.ts +11 -0
- package/dist/serialization/resources/embeddingModels/client/readEmbeddingModels.js +42 -0
- package/dist/serialization/resources/embeddingModels/index.d.ts +1 -0
- package/dist/serialization/resources/embeddingModels/index.js +17 -0
- package/dist/serialization/resources/entities/client/getEntityDefinitionsByIds.d.ts +15 -0
- package/dist/serialization/resources/entities/client/getEntityDefinitionsByIds.js +43 -0
- package/dist/serialization/resources/entities/client/getEntityDefinitionsBySourceShortName.d.ts +11 -0
- package/dist/serialization/resources/entities/client/getEntityDefinitionsBySourceShortName.js +42 -0
- package/dist/serialization/resources/entities/client/index.d.ts +5 -0
- package/dist/serialization/resources/entities/client/index.js +44 -0
- package/dist/serialization/resources/entities/client/listEntityDefinitions.d.ts +11 -0
- package/dist/serialization/resources/entities/client/listEntityDefinitions.js +42 -0
- package/dist/serialization/resources/entities/client/listEntityRelations.d.ts +11 -0
- package/dist/serialization/resources/entities/client/listEntityRelations.js +42 -0
- package/dist/serialization/resources/entities/client/requests/EntityDefinitionCreate.d.ts +20 -0
- package/dist/serialization/resources/entities/client/requests/EntityDefinitionCreate.js +51 -0
- package/dist/serialization/resources/entities/client/requests/EntityDefinitionUpdate.d.ts +20 -0
- package/dist/serialization/resources/entities/client/requests/EntityDefinitionUpdate.js +51 -0
- package/dist/serialization/resources/entities/client/requests/EntityRelationCreate.d.ts +15 -0
- package/dist/serialization/resources/entities/client/requests/EntityRelationCreate.js +46 -0
- package/dist/serialization/resources/entities/client/requests/EntityRelationUpdate.d.ts +15 -0
- package/dist/serialization/resources/entities/client/requests/EntityRelationUpdate.js +46 -0
- package/dist/serialization/resources/entities/client/requests/index.d.ts +4 -0
- package/dist/serialization/resources/entities/client/requests/index.js +11 -0
- package/dist/serialization/resources/entities/index.d.ts +2 -0
- package/dist/serialization/resources/entities/index.js +18 -0
- package/dist/serialization/resources/entities/types/EntityDefinitionCreateEntitySchema.d.ts +10 -0
- package/dist/serialization/resources/entities/types/EntityDefinitionCreateEntitySchema.js +44 -0
- package/dist/serialization/resources/entities/types/EntityDefinitionUpdateEntitySchema.d.ts +10 -0
- package/dist/serialization/resources/entities/types/EntityDefinitionUpdateEntitySchema.js +44 -0
- package/dist/serialization/resources/entities/types/index.d.ts +2 -0
- package/dist/serialization/resources/entities/types/index.js +18 -0
- package/dist/serialization/resources/index.d.ts +19 -0
- package/dist/serialization/resources/index.js +58 -0
- package/dist/serialization/resources/search/client/index.d.ts +1 -0
- package/dist/serialization/resources/search/client/index.js +37 -0
- package/dist/serialization/resources/search/client/search.d.ts +9 -0
- package/dist/serialization/resources/search/client/search.js +41 -0
- package/dist/serialization/resources/search/index.d.ts +1 -0
- package/dist/serialization/resources/search/index.js +17 -0
- package/dist/serialization/resources/sources/client/index.d.ts +1 -0
- package/dist/serialization/resources/sources/client/index.js +37 -0
- package/dist/serialization/resources/sources/client/readSources.d.ts +11 -0
- package/dist/serialization/resources/sources/client/readSources.js +42 -0
- package/dist/serialization/resources/sources/index.d.ts +1 -0
- package/dist/serialization/resources/sources/index.js +17 -0
- package/dist/serialization/resources/sync/client/index.d.ts +3 -0
- package/dist/serialization/resources/sync/client/index.js +42 -0
- package/dist/serialization/resources/sync/client/listAllJobs.d.ts +11 -0
- package/dist/serialization/resources/sync/client/listAllJobs.js +42 -0
- package/dist/serialization/resources/sync/client/listSyncJobs.d.ts +11 -0
- package/dist/serialization/resources/sync/client/listSyncJobs.js +42 -0
- package/dist/serialization/resources/sync/client/requests/SyncCreate.d.ts +24 -0
- package/dist/serialization/resources/sync/client/requests/SyncCreate.js +55 -0
- package/dist/serialization/resources/sync/client/requests/SyncUpdate.d.ts +19 -0
- package/dist/serialization/resources/sync/client/requests/SyncUpdate.js +50 -0
- package/dist/serialization/resources/sync/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/sync/client/requests/index.js +7 -0
- package/dist/serialization/resources/sync/index.d.ts +2 -0
- package/dist/serialization/resources/sync/index.js +18 -0
- package/dist/serialization/resources/sync/types/ListSyncsSyncGetResponse.d.ts +12 -0
- package/dist/serialization/resources/sync/types/ListSyncsSyncGetResponse.js +46 -0
- package/dist/serialization/resources/sync/types/index.d.ts +1 -0
- package/dist/serialization/resources/sync/types/index.js +17 -0
- package/dist/serialization/resources/transformers/client/index.d.ts +2 -0
- package/dist/serialization/resources/transformers/client/index.js +41 -0
- package/dist/serialization/resources/transformers/client/listTransformers.d.ts +11 -0
- package/dist/serialization/resources/transformers/client/listTransformers.js +42 -0
- package/dist/serialization/resources/transformers/client/requests/TransformerCreate.d.ts +18 -0
- package/dist/serialization/resources/transformers/client/requests/TransformerCreate.js +49 -0
- package/dist/serialization/resources/transformers/client/requests/TransformerUpdate.d.ts +18 -0
- package/dist/serialization/resources/transformers/client/requests/TransformerUpdate.js +49 -0
- package/dist/serialization/resources/transformers/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/transformers/client/requests/index.js +7 -0
- package/dist/serialization/resources/transformers/index.d.ts +1 -0
- package/dist/serialization/resources/transformers/index.js +17 -0
- package/dist/serialization/resources/whiteLabels/client/exchangeWhiteLabelOauth2Code.d.ts +9 -0
- package/dist/serialization/resources/whiteLabels/client/exchangeWhiteLabelOauth2Code.js +41 -0
- package/dist/serialization/resources/whiteLabels/client/getWhiteLabelOauth2AuthUrl.d.ts +9 -0
- package/dist/serialization/resources/whiteLabels/client/getWhiteLabelOauth2AuthUrl.js +41 -0
- package/dist/serialization/resources/whiteLabels/client/index.d.ts +5 -0
- package/dist/serialization/resources/whiteLabels/client/index.js +44 -0
- package/dist/serialization/resources/whiteLabels/client/listWhiteLabelSyncs.d.ts +11 -0
- package/dist/serialization/resources/whiteLabels/client/listWhiteLabelSyncs.js +42 -0
- package/dist/serialization/resources/whiteLabels/client/listWhiteLabels.d.ts +11 -0
- package/dist/serialization/resources/whiteLabels/client/listWhiteLabels.js +42 -0
- package/dist/serialization/resources/whiteLabels/client/requests/WhiteLabelCreate.d.ts +16 -0
- package/dist/serialization/resources/whiteLabels/client/requests/WhiteLabelCreate.js +47 -0
- package/dist/serialization/resources/whiteLabels/client/requests/WhiteLabelUpdate.d.ts +15 -0
- package/dist/serialization/resources/whiteLabels/client/requests/WhiteLabelUpdate.js +46 -0
- package/dist/serialization/resources/whiteLabels/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/whiteLabels/client/requests/index.js +7 -0
- package/dist/serialization/resources/whiteLabels/index.d.ts +1 -0
- package/dist/serialization/resources/whiteLabels/index.js +17 -0
- package/dist/serialization/types/ApiKey.d.ts +20 -0
- package/dist/serialization/types/ApiKey.js +51 -0
- package/dist/serialization/types/ApiKeyCreate.d.ts +12 -0
- package/dist/serialization/types/ApiKeyCreate.js +43 -0
- package/dist/serialization/types/ApiKeyWithPlainKey.d.ts +21 -0
- package/dist/serialization/types/ApiKeyWithPlainKey.js +52 -0
- package/dist/serialization/types/AuthType.d.ts +10 -0
- package/dist/serialization/types/AuthType.js +50 -0
- package/dist/serialization/types/Chat.d.ts +25 -0
- package/dist/serialization/types/Chat.js +56 -0
- package/dist/serialization/types/ChatCreate.d.ts +17 -0
- package/dist/serialization/types/ChatCreate.js +48 -0
- package/dist/serialization/types/ChatMessage.d.ts +21 -0
- package/dist/serialization/types/ChatMessage.js +52 -0
- package/dist/serialization/types/ChatMessageCreate.d.ts +13 -0
- package/dist/serialization/types/ChatMessageCreate.js +44 -0
- package/dist/serialization/types/ChatUpdate.d.ts +15 -0
- package/dist/serialization/types/ChatUpdate.js +46 -0
- package/dist/serialization/types/ConfigField.d.ts +15 -0
- package/dist/serialization/types/ConfigField.js +46 -0
- package/dist/serialization/types/Connection.d.ts +22 -0
- package/dist/serialization/types/Connection.js +53 -0
- package/dist/serialization/types/ConnectionStatus.d.ts +10 -0
- package/dist/serialization/types/ConnectionStatus.js +41 -0
- package/dist/serialization/types/DagEdge.d.ts +18 -0
- package/dist/serialization/types/DagEdge.js +49 -0
- package/dist/serialization/types/DagEdgeCreate.d.ts +13 -0
- package/dist/serialization/types/DagEdgeCreate.js +44 -0
- package/dist/serialization/types/DagNode.d.ts +23 -0
- package/dist/serialization/types/DagNode.js +54 -0
- package/dist/serialization/types/DagNodeCreate.d.ts +19 -0
- package/dist/serialization/types/DagNodeCreate.js +50 -0
- package/dist/serialization/types/Destination.d.ts +25 -0
- package/dist/serialization/types/Destination.js +56 -0
- package/dist/serialization/types/DestinationWithConfigFields.d.ts +27 -0
- package/dist/serialization/types/DestinationWithConfigFields.js +58 -0
- package/dist/serialization/types/EmbeddingModel.d.ts +23 -0
- package/dist/serialization/types/EmbeddingModel.js +54 -0
- package/dist/serialization/types/EmbeddingModelWithConfigFields.d.ts +25 -0
- package/dist/serialization/types/EmbeddingModelWithConfigFields.js +56 -0
- package/dist/serialization/types/EntityDefinition.d.ts +22 -0
- package/dist/serialization/types/EntityDefinition.js +53 -0
- package/dist/serialization/types/EntityDefinitionEntitySchema.d.ts +10 -0
- package/dist/serialization/types/EntityDefinitionEntitySchema.js +44 -0
- package/dist/serialization/types/EntityRelation.d.ts +19 -0
- package/dist/serialization/types/EntityRelation.js +50 -0
- package/dist/serialization/types/EntityType.d.ts +10 -0
- package/dist/serialization/types/EntityType.js +41 -0
- package/dist/serialization/types/Fields.d.ts +13 -0
- package/dist/serialization/types/Fields.js +44 -0
- package/dist/serialization/types/HttpValidationError.d.ts +13 -0
- package/dist/serialization/types/HttpValidationError.js +44 -0
- package/dist/serialization/types/IntegrationType.d.ts +10 -0
- package/dist/serialization/types/IntegrationType.js +41 -0
- package/dist/serialization/types/NodeType.d.ts +10 -0
- package/dist/serialization/types/NodeType.js +41 -0
- package/dist/serialization/types/Source.d.ts +25 -0
- package/dist/serialization/types/Source.js +56 -0
- package/dist/serialization/types/SourceWithConfigFields.d.ts +27 -0
- package/dist/serialization/types/SourceWithConfigFields.js +58 -0
- package/dist/serialization/types/Sync.d.ts +29 -0
- package/dist/serialization/types/Sync.js +60 -0
- package/dist/serialization/types/SyncDag.d.ts +22 -0
- package/dist/serialization/types/SyncDag.js +53 -0
- package/dist/serialization/types/SyncJob.d.ts +29 -0
- package/dist/serialization/types/SyncJob.js +60 -0
- package/dist/serialization/types/SyncJobStatus.d.ts +10 -0
- package/dist/serialization/types/SyncJobStatus.js +41 -0
- package/dist/serialization/types/SyncStatus.d.ts +10 -0
- package/dist/serialization/types/SyncStatus.js +41 -0
- package/dist/serialization/types/SyncWithSourceConnection.d.ts +31 -0
- package/dist/serialization/types/SyncWithSourceConnection.js +62 -0
- package/dist/serialization/types/Transformer.d.ts +22 -0
- package/dist/serialization/types/Transformer.js +53 -0
- package/dist/serialization/types/User.d.ts +16 -0
- package/dist/serialization/types/User.js +47 -0
- package/dist/serialization/types/ValidationError.d.ts +15 -0
- package/dist/serialization/types/ValidationError.js +46 -0
- package/dist/serialization/types/ValidationErrorLocItem.d.ts +10 -0
- package/dist/serialization/types/ValidationErrorLocItem.js +41 -0
- package/dist/serialization/types/WhiteLabel.d.ts +22 -0
- package/dist/serialization/types/WhiteLabel.js +53 -0
- package/dist/serialization/types/index.d.ts +41 -0
- package/dist/serialization/types/index.js +57 -0
- package/dist/version.d.ts +1 -0
- package/dist/version.js +4 -0
- package/environments.d.ts +8 -0
- package/environments.js +10 -0
- package/errors/AirweaveSDKError.d.ts +12 -0
- package/errors/AirweaveSDKError.js +32 -0
- package/errors/AirweaveSDKTimeoutError.d.ts +6 -0
- package/errors/AirweaveSDKTimeoutError.js +13 -0
- package/errors/index.d.ts +2 -0
- package/errors/index.js +7 -0
- package/index.d.ts +4 -0
- package/index.js +44 -1
- package/jest.config.js +5 -0
- package/package.json +41 -14
- package/reference.md +4096 -0
- package/serialization/index.d.ts +2 -0
- package/serialization/index.js +18 -0
- package/serialization/resources/connections/client/getConnectionCredentials.d.ts +9 -0
- package/serialization/resources/connections/client/getConnectionCredentials.js +41 -0
- package/serialization/resources/connections/client/getOauth2AuthUrl.d.ts +9 -0
- package/serialization/resources/connections/client/getOauth2AuthUrl.js +41 -0
- package/serialization/resources/connections/client/getOauth2WhiteLabelAuthUrl.d.ts +9 -0
- package/serialization/resources/connections/client/getOauth2WhiteLabelAuthUrl.js +41 -0
- package/serialization/resources/connections/client/index.d.ts +7 -0
- package/serialization/resources/connections/client/index.js +46 -0
- package/serialization/resources/connections/client/listAllConnectedIntegrations.d.ts +11 -0
- package/serialization/resources/connections/client/listAllConnectedIntegrations.js +42 -0
- package/serialization/resources/connections/client/listConnectedIntegrations.d.ts +11 -0
- package/serialization/resources/connections/client/listConnectedIntegrations.js +42 -0
- package/serialization/resources/connections/client/requests/BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost.d.ts +13 -0
- package/serialization/resources/connections/client/requests/BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost.js +44 -0
- package/serialization/resources/connections/client/requests/BodySendOauth2CodeConnectionsOauth2SourceCodePost.d.ts +13 -0
- package/serialization/resources/connections/client/requests/BodySendOauth2CodeConnectionsOauth2SourceCodePost.js +44 -0
- package/serialization/resources/connections/client/requests/index.d.ts +2 -0
- package/serialization/resources/connections/client/requests/index.js +7 -0
- package/serialization/resources/connections/client/sendOauth2WhiteLabelCode.d.ts +9 -0
- package/serialization/resources/connections/client/sendOauth2WhiteLabelCode.js +41 -0
- package/serialization/resources/connections/index.d.ts +1 -0
- package/serialization/resources/connections/index.js +17 -0
- package/serialization/resources/cursorDevelopment/client/checkConnectionStatus.d.ts +11 -0
- package/serialization/resources/cursorDevelopment/client/checkConnectionStatus.js +42 -0
- package/serialization/resources/cursorDevelopment/client/index.d.ts +1 -0
- package/serialization/resources/cursorDevelopment/client/index.js +37 -0
- package/serialization/resources/cursorDevelopment/index.d.ts +1 -0
- package/serialization/resources/cursorDevelopment/index.js +17 -0
- package/serialization/resources/dag/client/index.d.ts +1 -0
- package/serialization/resources/dag/client/index.js +17 -0
- package/serialization/resources/dag/client/requests/SyncDagCreate.d.ts +18 -0
- package/serialization/resources/dag/client/requests/SyncDagCreate.js +49 -0
- package/serialization/resources/dag/client/requests/SyncDagUpdate.d.ts +18 -0
- package/serialization/resources/dag/client/requests/SyncDagUpdate.js +49 -0
- package/serialization/resources/dag/client/requests/index.d.ts +2 -0
- package/serialization/resources/dag/client/requests/index.js +7 -0
- package/serialization/resources/dag/index.d.ts +1 -0
- package/serialization/resources/dag/index.js +17 -0
- package/serialization/resources/destinations/client/index.d.ts +1 -0
- package/serialization/resources/destinations/client/index.js +37 -0
- package/serialization/resources/destinations/client/listDestinations.d.ts +11 -0
- package/serialization/resources/destinations/client/listDestinations.js +42 -0
- package/serialization/resources/destinations/index.d.ts +1 -0
- package/serialization/resources/destinations/index.js +17 -0
- package/serialization/resources/embeddingModels/client/index.d.ts +1 -0
- package/serialization/resources/embeddingModels/client/index.js +37 -0
- package/serialization/resources/embeddingModels/client/readEmbeddingModels.d.ts +11 -0
- package/serialization/resources/embeddingModels/client/readEmbeddingModels.js +42 -0
- package/serialization/resources/embeddingModels/index.d.ts +1 -0
- package/serialization/resources/embeddingModels/index.js +17 -0
- package/serialization/resources/entities/client/getEntityDefinitionsByIds.d.ts +15 -0
- package/serialization/resources/entities/client/getEntityDefinitionsByIds.js +43 -0
- package/serialization/resources/entities/client/getEntityDefinitionsBySourceShortName.d.ts +11 -0
- package/serialization/resources/entities/client/getEntityDefinitionsBySourceShortName.js +42 -0
- package/serialization/resources/entities/client/index.d.ts +5 -0
- package/serialization/resources/entities/client/index.js +44 -0
- package/serialization/resources/entities/client/listEntityDefinitions.d.ts +11 -0
- package/serialization/resources/entities/client/listEntityDefinitions.js +42 -0
- package/serialization/resources/entities/client/listEntityRelations.d.ts +11 -0
- package/serialization/resources/entities/client/listEntityRelations.js +42 -0
- package/serialization/resources/entities/client/requests/EntityDefinitionCreate.d.ts +20 -0
- package/serialization/resources/entities/client/requests/EntityDefinitionCreate.js +51 -0
- package/serialization/resources/entities/client/requests/EntityDefinitionUpdate.d.ts +20 -0
- package/serialization/resources/entities/client/requests/EntityDefinitionUpdate.js +51 -0
- package/serialization/resources/entities/client/requests/EntityRelationCreate.d.ts +15 -0
- package/serialization/resources/entities/client/requests/EntityRelationCreate.js +46 -0
- package/serialization/resources/entities/client/requests/EntityRelationUpdate.d.ts +15 -0
- package/serialization/resources/entities/client/requests/EntityRelationUpdate.js +46 -0
- package/serialization/resources/entities/client/requests/index.d.ts +4 -0
- package/serialization/resources/entities/client/requests/index.js +11 -0
- package/serialization/resources/entities/index.d.ts +2 -0
- package/serialization/resources/entities/index.js +18 -0
- package/serialization/resources/entities/types/EntityDefinitionCreateEntitySchema.d.ts +10 -0
- package/serialization/resources/entities/types/EntityDefinitionCreateEntitySchema.js +44 -0
- package/serialization/resources/entities/types/EntityDefinitionUpdateEntitySchema.d.ts +10 -0
- package/serialization/resources/entities/types/EntityDefinitionUpdateEntitySchema.js +44 -0
- package/serialization/resources/entities/types/index.d.ts +2 -0
- package/serialization/resources/entities/types/index.js +18 -0
- package/serialization/resources/index.d.ts +19 -0
- package/serialization/resources/index.js +58 -0
- package/serialization/resources/search/client/index.d.ts +1 -0
- package/serialization/resources/search/client/index.js +37 -0
- package/serialization/resources/search/client/search.d.ts +9 -0
- package/serialization/resources/search/client/search.js +41 -0
- package/serialization/resources/search/index.d.ts +1 -0
- package/serialization/resources/search/index.js +17 -0
- package/serialization/resources/sources/client/index.d.ts +1 -0
- package/serialization/resources/sources/client/index.js +37 -0
- package/serialization/resources/sources/client/readSources.d.ts +11 -0
- package/serialization/resources/sources/client/readSources.js +42 -0
- package/serialization/resources/sources/index.d.ts +1 -0
- package/serialization/resources/sources/index.js +17 -0
- package/serialization/resources/sync/client/index.d.ts +3 -0
- package/serialization/resources/sync/client/index.js +42 -0
- package/serialization/resources/sync/client/listAllJobs.d.ts +11 -0
- package/serialization/resources/sync/client/listAllJobs.js +42 -0
- package/serialization/resources/sync/client/listSyncJobs.d.ts +11 -0
- package/serialization/resources/sync/client/listSyncJobs.js +42 -0
- package/serialization/resources/sync/client/requests/SyncCreate.d.ts +24 -0
- package/serialization/resources/sync/client/requests/SyncCreate.js +55 -0
- package/serialization/resources/sync/client/requests/SyncUpdate.d.ts +19 -0
- package/serialization/resources/sync/client/requests/SyncUpdate.js +50 -0
- package/serialization/resources/sync/client/requests/index.d.ts +2 -0
- package/serialization/resources/sync/client/requests/index.js +7 -0
- package/serialization/resources/sync/index.d.ts +2 -0
- package/serialization/resources/sync/index.js +18 -0
- package/serialization/resources/sync/types/ListSyncsSyncGetResponse.d.ts +12 -0
- package/serialization/resources/sync/types/ListSyncsSyncGetResponse.js +46 -0
- package/serialization/resources/sync/types/index.d.ts +1 -0
- package/serialization/resources/sync/types/index.js +17 -0
- package/serialization/resources/transformers/client/index.d.ts +2 -0
- package/serialization/resources/transformers/client/index.js +41 -0
- package/serialization/resources/transformers/client/listTransformers.d.ts +11 -0
- package/serialization/resources/transformers/client/listTransformers.js +42 -0
- package/serialization/resources/transformers/client/requests/TransformerCreate.d.ts +18 -0
- package/serialization/resources/transformers/client/requests/TransformerCreate.js +49 -0
- package/serialization/resources/transformers/client/requests/TransformerUpdate.d.ts +18 -0
- package/serialization/resources/transformers/client/requests/TransformerUpdate.js +49 -0
- package/serialization/resources/transformers/client/requests/index.d.ts +2 -0
- package/serialization/resources/transformers/client/requests/index.js +7 -0
- package/serialization/resources/transformers/index.d.ts +1 -0
- package/serialization/resources/transformers/index.js +17 -0
- package/serialization/resources/whiteLabels/client/exchangeWhiteLabelOauth2Code.d.ts +9 -0
- package/serialization/resources/whiteLabels/client/exchangeWhiteLabelOauth2Code.js +41 -0
- package/serialization/resources/whiteLabels/client/getWhiteLabelOauth2AuthUrl.d.ts +9 -0
- package/serialization/resources/whiteLabels/client/getWhiteLabelOauth2AuthUrl.js +41 -0
- package/serialization/resources/whiteLabels/client/index.d.ts +5 -0
- package/serialization/resources/whiteLabels/client/index.js +44 -0
- package/serialization/resources/whiteLabels/client/listWhiteLabelSyncs.d.ts +11 -0
- package/serialization/resources/whiteLabels/client/listWhiteLabelSyncs.js +42 -0
- package/serialization/resources/whiteLabels/client/listWhiteLabels.d.ts +11 -0
- package/serialization/resources/whiteLabels/client/listWhiteLabels.js +42 -0
- package/serialization/resources/whiteLabels/client/requests/WhiteLabelCreate.d.ts +16 -0
- package/serialization/resources/whiteLabels/client/requests/WhiteLabelCreate.js +47 -0
- package/serialization/resources/whiteLabels/client/requests/WhiteLabelUpdate.d.ts +15 -0
- package/serialization/resources/whiteLabels/client/requests/WhiteLabelUpdate.js +46 -0
- package/serialization/resources/whiteLabels/client/requests/index.d.ts +2 -0
- package/serialization/resources/whiteLabels/client/requests/index.js +7 -0
- package/serialization/resources/whiteLabels/index.d.ts +1 -0
- package/serialization/resources/whiteLabels/index.js +17 -0
- package/serialization/types/ApiKey.d.ts +20 -0
- package/serialization/types/ApiKey.js +51 -0
- package/serialization/types/ApiKeyCreate.d.ts +12 -0
- package/serialization/types/ApiKeyCreate.js +43 -0
- package/serialization/types/ApiKeyWithPlainKey.d.ts +21 -0
- package/serialization/types/ApiKeyWithPlainKey.js +52 -0
- package/serialization/types/AuthType.d.ts +10 -0
- package/serialization/types/AuthType.js +50 -0
- package/serialization/types/Chat.d.ts +25 -0
- package/serialization/types/Chat.js +56 -0
- package/serialization/types/ChatCreate.d.ts +17 -0
- package/serialization/types/ChatCreate.js +48 -0
- package/serialization/types/ChatMessage.d.ts +21 -0
- package/serialization/types/ChatMessage.js +52 -0
- package/serialization/types/ChatMessageCreate.d.ts +13 -0
- package/serialization/types/ChatMessageCreate.js +44 -0
- package/serialization/types/ChatUpdate.d.ts +15 -0
- package/serialization/types/ChatUpdate.js +46 -0
- package/serialization/types/ConfigField.d.ts +15 -0
- package/serialization/types/ConfigField.js +46 -0
- package/serialization/types/Connection.d.ts +22 -0
- package/serialization/types/Connection.js +53 -0
- package/serialization/types/ConnectionStatus.d.ts +10 -0
- package/serialization/types/ConnectionStatus.js +41 -0
- package/serialization/types/DagEdge.d.ts +18 -0
- package/serialization/types/DagEdge.js +49 -0
- package/serialization/types/DagEdgeCreate.d.ts +13 -0
- package/serialization/types/DagEdgeCreate.js +44 -0
- package/serialization/types/DagNode.d.ts +23 -0
- package/serialization/types/DagNode.js +54 -0
- package/serialization/types/DagNodeCreate.d.ts +19 -0
- package/serialization/types/DagNodeCreate.js +50 -0
- package/serialization/types/Destination.d.ts +25 -0
- package/serialization/types/Destination.js +56 -0
- package/serialization/types/DestinationWithConfigFields.d.ts +27 -0
- package/serialization/types/DestinationWithConfigFields.js +58 -0
- package/serialization/types/EmbeddingModel.d.ts +23 -0
- package/serialization/types/EmbeddingModel.js +54 -0
- package/serialization/types/EmbeddingModelWithConfigFields.d.ts +25 -0
- package/serialization/types/EmbeddingModelWithConfigFields.js +56 -0
- package/serialization/types/EntityDefinition.d.ts +22 -0
- package/serialization/types/EntityDefinition.js +53 -0
- package/serialization/types/EntityDefinitionEntitySchema.d.ts +10 -0
- package/serialization/types/EntityDefinitionEntitySchema.js +44 -0
- package/serialization/types/EntityRelation.d.ts +19 -0
- package/serialization/types/EntityRelation.js +50 -0
- package/serialization/types/EntityType.d.ts +10 -0
- package/serialization/types/EntityType.js +41 -0
- package/serialization/types/Fields.d.ts +13 -0
- package/serialization/types/Fields.js +44 -0
- package/serialization/types/HttpValidationError.d.ts +13 -0
- package/serialization/types/HttpValidationError.js +44 -0
- package/serialization/types/IntegrationType.d.ts +10 -0
- package/serialization/types/IntegrationType.js +41 -0
- package/serialization/types/NodeType.d.ts +10 -0
- package/serialization/types/NodeType.js +41 -0
- package/serialization/types/Source.d.ts +25 -0
- package/serialization/types/Source.js +56 -0
- package/serialization/types/SourceWithConfigFields.d.ts +27 -0
- package/serialization/types/SourceWithConfigFields.js +58 -0
- package/serialization/types/Sync.d.ts +29 -0
- package/serialization/types/Sync.js +60 -0
- package/serialization/types/SyncDag.d.ts +22 -0
- package/serialization/types/SyncDag.js +53 -0
- package/serialization/types/SyncJob.d.ts +29 -0
- package/serialization/types/SyncJob.js +60 -0
- package/serialization/types/SyncJobStatus.d.ts +10 -0
- package/serialization/types/SyncJobStatus.js +41 -0
- package/serialization/types/SyncStatus.d.ts +10 -0
- package/serialization/types/SyncStatus.js +41 -0
- package/serialization/types/SyncWithSourceConnection.d.ts +31 -0
- package/serialization/types/SyncWithSourceConnection.js +62 -0
- package/serialization/types/Transformer.d.ts +22 -0
- package/serialization/types/Transformer.js +53 -0
- package/serialization/types/User.d.ts +16 -0
- package/serialization/types/User.js +47 -0
- package/serialization/types/ValidationError.d.ts +15 -0
- package/serialization/types/ValidationError.js +46 -0
- package/serialization/types/ValidationErrorLocItem.d.ts +10 -0
- package/serialization/types/ValidationErrorLocItem.js +41 -0
- package/serialization/types/WhiteLabel.d.ts +22 -0
- package/serialization/types/WhiteLabel.js +53 -0
- package/serialization/types/index.d.ts +41 -0
- package/serialization/types/index.js +57 -0
- package/version.d.ts +1 -0
- package/version.js +4 -0
|
@@ -0,0 +1,62 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.SyncWithSourceConnection = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
const SyncStatus_1 = require("./SyncStatus");
|
|
42
|
+
const Connection_1 = require("./Connection");
|
|
43
|
+
exports.SyncWithSourceConnection = core.serialization.object({
|
|
44
|
+
name: core.serialization.string(),
|
|
45
|
+
sourceConnectionId: core.serialization.property("source_connection_id", core.serialization.string()),
|
|
46
|
+
embeddingModelConnectionId: core.serialization.property("embedding_model_connection_id", core.serialization.string().optional()),
|
|
47
|
+
destinationConnectionIds: core.serialization.property("destination_connection_ids", core.serialization.list(core.serialization.string())),
|
|
48
|
+
description: core.serialization.string().optional(),
|
|
49
|
+
cronSchedule: core.serialization.property("cron_schedule", core.serialization.string().optional()),
|
|
50
|
+
nextScheduledRun: core.serialization.property("next_scheduled_run", core.serialization.date().optional()),
|
|
51
|
+
whiteLabelId: core.serialization.property("white_label_id", core.serialization.string().optional()),
|
|
52
|
+
whiteLabelUserIdentifier: core.serialization.property("white_label_user_identifier", core.serialization.string().optional()),
|
|
53
|
+
syncMetadata: core.serialization.property("sync_metadata", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
|
|
54
|
+
status: SyncStatus_1.SyncStatus,
|
|
55
|
+
id: core.serialization.string(),
|
|
56
|
+
organizationId: core.serialization.property("organization_id", core.serialization.string()),
|
|
57
|
+
createdAt: core.serialization.property("created_at", core.serialization.date()),
|
|
58
|
+
modifiedAt: core.serialization.property("modified_at", core.serialization.date()),
|
|
59
|
+
createdByEmail: core.serialization.property("created_by_email", core.serialization.string()),
|
|
60
|
+
modifiedByEmail: core.serialization.property("modified_by_email", core.serialization.string()),
|
|
61
|
+
sourceConnection: core.serialization.property("source_connection", Connection_1.Connection.optional()),
|
|
62
|
+
});
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as AirweaveSDK from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const Transformer: core.serialization.ObjectSchema<serializers.Transformer.Raw, AirweaveSDK.Transformer>;
|
|
8
|
+
export declare namespace Transformer {
|
|
9
|
+
interface Raw {
|
|
10
|
+
name: string;
|
|
11
|
+
description?: string | null;
|
|
12
|
+
method_name: string;
|
|
13
|
+
module_name: string;
|
|
14
|
+
input_entity_definition_ids: string[];
|
|
15
|
+
output_entity_definition_ids: string[];
|
|
16
|
+
config_schema?: Record<string, unknown> | null;
|
|
17
|
+
id: string;
|
|
18
|
+
organization_id: string;
|
|
19
|
+
created_by_email: string;
|
|
20
|
+
modified_by_email: string;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.Transformer = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.Transformer = core.serialization.object({
|
|
42
|
+
name: core.serialization.string(),
|
|
43
|
+
description: core.serialization.string().optional(),
|
|
44
|
+
methodName: core.serialization.property("method_name", core.serialization.string()),
|
|
45
|
+
moduleName: core.serialization.property("module_name", core.serialization.string()),
|
|
46
|
+
inputEntityDefinitionIds: core.serialization.property("input_entity_definition_ids", core.serialization.list(core.serialization.string())),
|
|
47
|
+
outputEntityDefinitionIds: core.serialization.property("output_entity_definition_ids", core.serialization.list(core.serialization.string())),
|
|
48
|
+
configSchema: core.serialization.property("config_schema", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
|
|
49
|
+
id: core.serialization.string(),
|
|
50
|
+
organizationId: core.serialization.property("organization_id", core.serialization.string()),
|
|
51
|
+
createdByEmail: core.serialization.property("created_by_email", core.serialization.string()),
|
|
52
|
+
modifiedByEmail: core.serialization.property("modified_by_email", core.serialization.string()),
|
|
53
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as AirweaveSDK from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const User: core.serialization.ObjectSchema<serializers.User.Raw, AirweaveSDK.User>;
|
|
8
|
+
export declare namespace User {
|
|
9
|
+
interface Raw {
|
|
10
|
+
email: string;
|
|
11
|
+
full_name?: string | null;
|
|
12
|
+
organization_id: string;
|
|
13
|
+
id: string;
|
|
14
|
+
permissions?: string[] | null;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.User = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.User = core.serialization.object({
|
|
42
|
+
email: core.serialization.string(),
|
|
43
|
+
fullName: core.serialization.property("full_name", core.serialization.string().optional()),
|
|
44
|
+
organizationId: core.serialization.property("organization_id", core.serialization.string()),
|
|
45
|
+
id: core.serialization.string(),
|
|
46
|
+
permissions: core.serialization.list(core.serialization.string()).optional(),
|
|
47
|
+
});
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as AirweaveSDK from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { ValidationErrorLocItem } from "./ValidationErrorLocItem";
|
|
8
|
+
export declare const ValidationError: core.serialization.ObjectSchema<serializers.ValidationError.Raw, AirweaveSDK.ValidationError>;
|
|
9
|
+
export declare namespace ValidationError {
|
|
10
|
+
interface Raw {
|
|
11
|
+
loc: ValidationErrorLocItem.Raw[];
|
|
12
|
+
msg: string;
|
|
13
|
+
type: string;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.ValidationError = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
const ValidationErrorLocItem_1 = require("./ValidationErrorLocItem");
|
|
42
|
+
exports.ValidationError = core.serialization.object({
|
|
43
|
+
loc: core.serialization.list(ValidationErrorLocItem_1.ValidationErrorLocItem),
|
|
44
|
+
msg: core.serialization.string(),
|
|
45
|
+
type: core.serialization.string(),
|
|
46
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as AirweaveSDK from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const ValidationErrorLocItem: core.serialization.Schema<serializers.ValidationErrorLocItem.Raw, AirweaveSDK.ValidationErrorLocItem>;
|
|
8
|
+
export declare namespace ValidationErrorLocItem {
|
|
9
|
+
type Raw = string | number;
|
|
10
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.ValidationErrorLocItem = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.ValidationErrorLocItem = core.serialization.undiscriminatedUnion([core.serialization.string(), core.serialization.number()]);
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as AirweaveSDK from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const WhiteLabel: core.serialization.ObjectSchema<serializers.WhiteLabel.Raw, AirweaveSDK.WhiteLabel>;
|
|
8
|
+
export declare namespace WhiteLabel {
|
|
9
|
+
interface Raw {
|
|
10
|
+
name: string;
|
|
11
|
+
source_short_name: string;
|
|
12
|
+
redirect_url: string;
|
|
13
|
+
client_id: string;
|
|
14
|
+
client_secret: string;
|
|
15
|
+
id: string;
|
|
16
|
+
organization_id: string;
|
|
17
|
+
created_at: string;
|
|
18
|
+
modified_at: string;
|
|
19
|
+
created_by_email: string;
|
|
20
|
+
modified_by_email: string;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.WhiteLabel = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.WhiteLabel = core.serialization.object({
|
|
42
|
+
name: core.serialization.string(),
|
|
43
|
+
sourceShortName: core.serialization.property("source_short_name", core.serialization.string()),
|
|
44
|
+
redirectUrl: core.serialization.property("redirect_url", core.serialization.string()),
|
|
45
|
+
clientId: core.serialization.property("client_id", core.serialization.string()),
|
|
46
|
+
clientSecret: core.serialization.property("client_secret", core.serialization.string()),
|
|
47
|
+
id: core.serialization.string(),
|
|
48
|
+
organizationId: core.serialization.property("organization_id", core.serialization.string()),
|
|
49
|
+
createdAt: core.serialization.property("created_at", core.serialization.date()),
|
|
50
|
+
modifiedAt: core.serialization.property("modified_at", core.serialization.date()),
|
|
51
|
+
createdByEmail: core.serialization.property("created_by_email", core.serialization.string()),
|
|
52
|
+
modifiedByEmail: core.serialization.property("modified_by_email", core.serialization.string()),
|
|
53
|
+
});
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export * from "./ApiKey";
|
|
2
|
+
export * from "./ApiKeyCreate";
|
|
3
|
+
export * from "./ApiKeyWithPlainKey";
|
|
4
|
+
export * from "./AuthType";
|
|
5
|
+
export * from "./Chat";
|
|
6
|
+
export * from "./ChatCreate";
|
|
7
|
+
export * from "./ChatMessage";
|
|
8
|
+
export * from "./ChatMessageCreate";
|
|
9
|
+
export * from "./ChatUpdate";
|
|
10
|
+
export * from "./ConfigField";
|
|
11
|
+
export * from "./Connection";
|
|
12
|
+
export * from "./ConnectionStatus";
|
|
13
|
+
export * from "./DagEdge";
|
|
14
|
+
export * from "./DagEdgeCreate";
|
|
15
|
+
export * from "./DagNode";
|
|
16
|
+
export * from "./DagNodeCreate";
|
|
17
|
+
export * from "./Destination";
|
|
18
|
+
export * from "./DestinationWithConfigFields";
|
|
19
|
+
export * from "./EmbeddingModel";
|
|
20
|
+
export * from "./EmbeddingModelWithConfigFields";
|
|
21
|
+
export * from "./EntityDefinitionEntitySchema";
|
|
22
|
+
export * from "./EntityDefinition";
|
|
23
|
+
export * from "./EntityRelation";
|
|
24
|
+
export * from "./EntityType";
|
|
25
|
+
export * from "./Fields";
|
|
26
|
+
export * from "./HttpValidationError";
|
|
27
|
+
export * from "./IntegrationType";
|
|
28
|
+
export * from "./NodeType";
|
|
29
|
+
export * from "./Source";
|
|
30
|
+
export * from "./SourceWithConfigFields";
|
|
31
|
+
export * from "./Sync";
|
|
32
|
+
export * from "./SyncDag";
|
|
33
|
+
export * from "./SyncJob";
|
|
34
|
+
export * from "./SyncJobStatus";
|
|
35
|
+
export * from "./SyncStatus";
|
|
36
|
+
export * from "./SyncWithSourceConnection";
|
|
37
|
+
export * from "./Transformer";
|
|
38
|
+
export * from "./User";
|
|
39
|
+
export * from "./ValidationErrorLocItem";
|
|
40
|
+
export * from "./ValidationError";
|
|
41
|
+
export * from "./WhiteLabel";
|
|
@@ -0,0 +1,57 @@
|
|
|
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("./ApiKey"), exports);
|
|
18
|
+
__exportStar(require("./ApiKeyCreate"), exports);
|
|
19
|
+
__exportStar(require("./ApiKeyWithPlainKey"), exports);
|
|
20
|
+
__exportStar(require("./AuthType"), exports);
|
|
21
|
+
__exportStar(require("./Chat"), exports);
|
|
22
|
+
__exportStar(require("./ChatCreate"), exports);
|
|
23
|
+
__exportStar(require("./ChatMessage"), exports);
|
|
24
|
+
__exportStar(require("./ChatMessageCreate"), exports);
|
|
25
|
+
__exportStar(require("./ChatUpdate"), exports);
|
|
26
|
+
__exportStar(require("./ConfigField"), exports);
|
|
27
|
+
__exportStar(require("./Connection"), exports);
|
|
28
|
+
__exportStar(require("./ConnectionStatus"), exports);
|
|
29
|
+
__exportStar(require("./DagEdge"), exports);
|
|
30
|
+
__exportStar(require("./DagEdgeCreate"), exports);
|
|
31
|
+
__exportStar(require("./DagNode"), exports);
|
|
32
|
+
__exportStar(require("./DagNodeCreate"), exports);
|
|
33
|
+
__exportStar(require("./Destination"), exports);
|
|
34
|
+
__exportStar(require("./DestinationWithConfigFields"), exports);
|
|
35
|
+
__exportStar(require("./EmbeddingModel"), exports);
|
|
36
|
+
__exportStar(require("./EmbeddingModelWithConfigFields"), exports);
|
|
37
|
+
__exportStar(require("./EntityDefinitionEntitySchema"), exports);
|
|
38
|
+
__exportStar(require("./EntityDefinition"), exports);
|
|
39
|
+
__exportStar(require("./EntityRelation"), exports);
|
|
40
|
+
__exportStar(require("./EntityType"), exports);
|
|
41
|
+
__exportStar(require("./Fields"), exports);
|
|
42
|
+
__exportStar(require("./HttpValidationError"), exports);
|
|
43
|
+
__exportStar(require("./IntegrationType"), exports);
|
|
44
|
+
__exportStar(require("./NodeType"), exports);
|
|
45
|
+
__exportStar(require("./Source"), exports);
|
|
46
|
+
__exportStar(require("./SourceWithConfigFields"), exports);
|
|
47
|
+
__exportStar(require("./Sync"), exports);
|
|
48
|
+
__exportStar(require("./SyncDag"), exports);
|
|
49
|
+
__exportStar(require("./SyncJob"), exports);
|
|
50
|
+
__exportStar(require("./SyncJobStatus"), exports);
|
|
51
|
+
__exportStar(require("./SyncStatus"), exports);
|
|
52
|
+
__exportStar(require("./SyncWithSourceConnection"), exports);
|
|
53
|
+
__exportStar(require("./Transformer"), exports);
|
|
54
|
+
__exportStar(require("./User"), exports);
|
|
55
|
+
__exportStar(require("./ValidationErrorLocItem"), exports);
|
|
56
|
+
__exportStar(require("./ValidationError"), exports);
|
|
57
|
+
__exportStar(require("./WhiteLabel"), exports);
|
package/version.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const SDK_VERSION = "0.0.81";
|
package/version.js
ADDED