@airweave/sdk 0.1.0 → 0.1.4
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 +57 -0
- package/Client.js +62 -0
- package/README.md +151 -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/apiKeys/client/Client.d.ts +130 -0
- package/api/resources/apiKeys/client/Client.js +386 -0
- package/api/resources/apiKeys/client/index.d.ts +1 -0
- package/api/resources/apiKeys/client/index.js +17 -0
- package/api/resources/apiKeys/client/requests/ApiKeyCreate.d.ts +10 -0
- package/api/resources/apiKeys/client/requests/ApiKeyCreate.js +5 -0
- package/api/resources/apiKeys/client/requests/DeleteApiKeyApiKeysDeleteRequest.d.ts +12 -0
- package/api/resources/apiKeys/client/requests/DeleteApiKeyApiKeysDeleteRequest.js +5 -0
- package/api/resources/apiKeys/client/requests/ReadApiKeysApiKeysGetRequest.d.ts +11 -0
- package/api/resources/apiKeys/client/requests/ReadApiKeysApiKeysGetRequest.js +5 -0
- package/api/resources/apiKeys/client/requests/index.d.ts +3 -0
- package/api/resources/apiKeys/client/requests/index.js +2 -0
- package/api/resources/apiKeys/index.d.ts +1 -0
- package/api/resources/apiKeys/index.js +17 -0
- package/api/resources/chat/client/Client.d.ts +119 -0
- package/api/resources/chat/client/Client.js +519 -0
- package/api/resources/chat/client/index.d.ts +1 -0
- package/api/resources/chat/client/index.js +17 -0
- package/api/resources/chat/client/requests/ChatCreate.d.ts +18 -0
- package/api/resources/chat/client/requests/ChatCreate.js +5 -0
- package/api/resources/chat/client/requests/ChatMessageCreate.d.ts +13 -0
- package/api/resources/chat/client/requests/ChatMessageCreate.js +5 -0
- package/api/resources/chat/client/requests/ChatUpdate.d.ts +13 -0
- package/api/resources/chat/client/requests/ChatUpdate.js +5 -0
- package/api/resources/chat/client/requests/ListChatsChatGetRequest.d.ts +11 -0
- package/api/resources/chat/client/requests/ListChatsChatGetRequest.js +5 -0
- package/api/resources/chat/client/requests/index.d.ts +4 -0
- package/api/resources/chat/client/requests/index.js +2 -0
- package/api/resources/chat/index.d.ts +1 -0
- package/api/resources/chat/index.js +17 -0
- package/api/resources/connections/client/Client.d.ts +238 -0
- package/api/resources/connections/client/Client.js +907 -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/destinations/client/Client.d.ts +51 -0
- package/api/resources/destinations/client/Client.js +189 -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 +70 -0
- package/api/resources/embeddingModels/client/Client.js +208 -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/health/client/Client.d.ts +39 -0
- package/api/resources/health/client/Client.js +115 -0
- package/api/resources/health/client/index.d.ts +1 -0
- package/api/resources/health/client/index.js +2 -0
- package/api/resources/health/index.d.ts +1 -0
- package/api/resources/health/index.js +17 -0
- package/api/resources/index.d.ts +16 -0
- package/api/resources/index.js +55 -0
- package/api/resources/sources/client/Client.d.ts +65 -0
- package/api/resources/sources/client/Client.js +203 -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 +131 -0
- package/api/resources/sync/client/Client.js +599 -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/GetSyncJobSyncJobJobIdGetRequest.d.ts +12 -0
- package/api/resources/sync/client/requests/GetSyncJobSyncJobJobIdGetRequest.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 +22 -0
- package/api/resources/sync/client/requests/SyncCreate.js +5 -0
- package/api/resources/sync/client/requests/index.d.ts +4 -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/users/client/Client.d.ts +47 -0
- package/api/resources/users/client/Client.js +133 -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 +131 -0
- package/api/resources/whiteLabels/client/Client.js +586 -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/ApiKeyWithPlainKey.d.ts +18 -0
- package/api/types/ApiKeyWithPlainKey.js +5 -0
- package/api/types/AuthType.d.ts +26 -0
- package/api/types/AuthType.js +15 -0
- package/api/types/Chat.d.ts +22 -0
- package/api/types/Chat.js +5 -0
- package/api/types/ChatMessage.d.ts +18 -0
- package/api/types/ChatMessage.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/Destination.d.ts +18 -0
- package/api/types/Destination.js +5 -0
- package/api/types/DestinationWithConfigFields.d.ts +19 -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/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/Source.d.ts +18 -0
- package/api/types/Source.js +5 -0
- package/api/types/Sync.d.ts +25 -0
- package/api/types/Sync.js +5 -0
- package/api/types/SyncJob.d.ts +25 -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 +26 -0
- package/api/types/SyncWithSourceConnection.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 +25 -0
- package/api/types/index.js +41 -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 +57 -0
- package/dist/Client.js +62 -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/apiKeys/client/Client.d.ts +130 -0
- package/dist/api/resources/apiKeys/client/Client.js +386 -0
- package/dist/api/resources/apiKeys/client/index.d.ts +1 -0
- package/dist/api/resources/apiKeys/client/index.js +17 -0
- package/dist/api/resources/apiKeys/client/requests/ApiKeyCreate.d.ts +10 -0
- package/dist/api/resources/apiKeys/client/requests/ApiKeyCreate.js +5 -0
- package/dist/api/resources/apiKeys/client/requests/DeleteApiKeyApiKeysDeleteRequest.d.ts +12 -0
- package/dist/api/resources/apiKeys/client/requests/DeleteApiKeyApiKeysDeleteRequest.js +5 -0
- package/dist/api/resources/apiKeys/client/requests/ReadApiKeysApiKeysGetRequest.d.ts +11 -0
- package/dist/api/resources/apiKeys/client/requests/ReadApiKeysApiKeysGetRequest.js +5 -0
- package/dist/api/resources/apiKeys/client/requests/index.d.ts +3 -0
- package/dist/api/resources/apiKeys/client/requests/index.js +2 -0
- package/dist/api/resources/apiKeys/index.d.ts +1 -0
- package/dist/api/resources/apiKeys/index.js +17 -0
- package/dist/api/resources/chat/client/Client.d.ts +119 -0
- package/dist/api/resources/chat/client/Client.js +519 -0
- package/dist/api/resources/chat/client/index.d.ts +1 -0
- package/dist/api/resources/chat/client/index.js +17 -0
- package/dist/api/resources/chat/client/requests/ChatCreate.d.ts +18 -0
- package/dist/api/resources/chat/client/requests/ChatCreate.js +5 -0
- package/dist/api/resources/chat/client/requests/ChatMessageCreate.d.ts +13 -0
- package/dist/api/resources/chat/client/requests/ChatMessageCreate.js +5 -0
- package/dist/api/resources/chat/client/requests/ChatUpdate.d.ts +13 -0
- package/dist/api/resources/chat/client/requests/ChatUpdate.js +5 -0
- package/dist/api/resources/chat/client/requests/ListChatsChatGetRequest.d.ts +11 -0
- package/dist/api/resources/chat/client/requests/ListChatsChatGetRequest.js +5 -0
- package/dist/api/resources/chat/client/requests/index.d.ts +4 -0
- package/dist/api/resources/chat/client/requests/index.js +2 -0
- package/dist/api/resources/chat/index.d.ts +1 -0
- package/dist/api/resources/chat/index.js +17 -0
- package/dist/api/resources/connections/client/Client.d.ts +238 -0
- package/dist/api/resources/connections/client/Client.js +907 -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/destinations/client/Client.d.ts +51 -0
- package/dist/api/resources/destinations/client/Client.js +189 -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 +70 -0
- package/dist/api/resources/embeddingModels/client/Client.js +208 -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/health/client/Client.d.ts +39 -0
- package/dist/api/resources/health/client/Client.js +115 -0
- package/dist/api/resources/health/client/index.d.ts +1 -0
- package/dist/api/resources/health/client/index.js +2 -0
- package/dist/api/resources/health/index.d.ts +1 -0
- package/dist/api/resources/health/index.js +17 -0
- package/dist/api/resources/index.d.ts +16 -0
- package/dist/api/resources/index.js +55 -0
- package/dist/api/resources/sources/client/Client.d.ts +65 -0
- package/dist/api/resources/sources/client/Client.js +203 -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 +131 -0
- package/dist/api/resources/sync/client/Client.js +599 -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/GetSyncJobSyncJobJobIdGetRequest.d.ts +12 -0
- package/dist/api/resources/sync/client/requests/GetSyncJobSyncJobJobIdGetRequest.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 +22 -0
- package/dist/api/resources/sync/client/requests/SyncCreate.js +5 -0
- package/dist/api/resources/sync/client/requests/index.d.ts +4 -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/users/client/Client.d.ts +47 -0
- package/dist/api/resources/users/client/Client.js +133 -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 +131 -0
- package/dist/api/resources/whiteLabels/client/Client.js +586 -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/ApiKeyWithPlainKey.d.ts +18 -0
- package/dist/api/types/ApiKeyWithPlainKey.js +5 -0
- package/dist/api/types/AuthType.d.ts +26 -0
- package/dist/api/types/AuthType.js +15 -0
- package/dist/api/types/Chat.d.ts +22 -0
- package/dist/api/types/Chat.js +5 -0
- package/dist/api/types/ChatMessage.d.ts +18 -0
- package/dist/api/types/ChatMessage.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/Destination.d.ts +18 -0
- package/dist/api/types/Destination.js +5 -0
- package/dist/api/types/DestinationWithConfigFields.d.ts +19 -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/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/Source.d.ts +18 -0
- package/dist/api/types/Source.js +5 -0
- package/dist/api/types/Sync.d.ts +25 -0
- package/dist/api/types/Sync.js +5 -0
- package/dist/api/types/SyncJob.d.ts +25 -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 +26 -0
- package/dist/api/types/SyncWithSourceConnection.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 +25 -0
- package/dist/api/types/index.js +41 -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/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 +3 -0
- package/dist/index.js +42 -0
- package/dist/serialization/index.d.ts +2 -0
- package/dist/serialization/index.js +18 -0
- package/dist/serialization/resources/apiKeys/client/index.d.ts +2 -0
- package/dist/serialization/resources/apiKeys/client/index.js +41 -0
- package/dist/serialization/resources/apiKeys/client/readApiKeys.d.ts +11 -0
- package/dist/serialization/resources/apiKeys/client/readApiKeys.js +42 -0
- package/dist/serialization/resources/apiKeys/client/requests/ApiKeyCreate.d.ts +12 -0
- package/dist/serialization/resources/apiKeys/client/requests/ApiKeyCreate.js +43 -0
- package/dist/serialization/resources/apiKeys/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/apiKeys/client/requests/index.js +5 -0
- package/dist/serialization/resources/apiKeys/index.d.ts +1 -0
- package/dist/serialization/resources/apiKeys/index.js +17 -0
- package/dist/serialization/resources/chat/client/index.d.ts +2 -0
- package/dist/serialization/resources/chat/client/index.js +41 -0
- package/dist/serialization/resources/chat/client/listChats.d.ts +11 -0
- package/dist/serialization/resources/chat/client/listChats.js +42 -0
- package/dist/serialization/resources/chat/client/requests/ChatCreate.d.ts +17 -0
- package/dist/serialization/resources/chat/client/requests/ChatCreate.js +48 -0
- package/dist/serialization/resources/chat/client/requests/ChatMessageCreate.d.ts +13 -0
- package/dist/serialization/resources/chat/client/requests/ChatMessageCreate.js +44 -0
- package/dist/serialization/resources/chat/client/requests/ChatUpdate.d.ts +15 -0
- package/dist/serialization/resources/chat/client/requests/ChatUpdate.js +46 -0
- package/dist/serialization/resources/chat/client/requests/index.d.ts +3 -0
- package/dist/serialization/resources/chat/client/requests/index.js +9 -0
- package/dist/serialization/resources/chat/index.d.ts +1 -0
- package/dist/serialization/resources/chat/index.js +17 -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/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/health/client/healthCheck.d.ts +9 -0
- package/dist/serialization/resources/health/client/healthCheck.js +41 -0
- package/dist/serialization/resources/health/client/index.d.ts +1 -0
- package/dist/serialization/resources/health/client/index.js +37 -0
- package/dist/serialization/resources/health/index.d.ts +1 -0
- package/dist/serialization/resources/health/index.js +17 -0
- package/dist/serialization/resources/index.d.ts +15 -0
- package/dist/serialization/resources/index.js +54 -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 +2 -0
- package/dist/serialization/resources/sync/client/index.js +41 -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 +21 -0
- package/dist/serialization/resources/sync/client/requests/SyncCreate.js +52 -0
- package/dist/serialization/resources/sync/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/sync/client/requests/index.js +5 -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/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/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 +49 -0
- package/dist/serialization/types/Chat.d.ts +25 -0
- package/dist/serialization/types/Chat.js +56 -0
- package/dist/serialization/types/ChatMessage.d.ts +21 -0
- package/dist/serialization/types/ChatMessage.js +52 -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/Destination.d.ts +21 -0
- package/dist/serialization/types/Destination.js +52 -0
- package/dist/serialization/types/DestinationWithConfigFields.d.ts +23 -0
- package/dist/serialization/types/DestinationWithConfigFields.js +54 -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/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/Source.d.ts +21 -0
- package/dist/serialization/types/Source.js +52 -0
- package/dist/serialization/types/Sync.d.ts +28 -0
- package/dist/serialization/types/Sync.js +59 -0
- package/dist/serialization/types/SyncJob.d.ts +28 -0
- package/dist/serialization/types/SyncJob.js +59 -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 +30 -0
- package/dist/serialization/types/SyncWithSourceConnection.js +61 -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 +25 -0
- package/dist/serialization/types/index.js +41 -0
- package/dist/version.d.ts +1 -0
- package/dist/version.js +4 -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 +3 -0
- package/index.js +42 -1
- package/jest.config.js +5 -0
- package/package.json +41 -14
- package/reference.md +3177 -0
- package/serialization/index.d.ts +2 -0
- package/serialization/index.js +18 -0
- package/serialization/resources/apiKeys/client/index.d.ts +2 -0
- package/serialization/resources/apiKeys/client/index.js +41 -0
- package/serialization/resources/apiKeys/client/readApiKeys.d.ts +11 -0
- package/serialization/resources/apiKeys/client/readApiKeys.js +42 -0
- package/serialization/resources/apiKeys/client/requests/ApiKeyCreate.d.ts +12 -0
- package/serialization/resources/apiKeys/client/requests/ApiKeyCreate.js +43 -0
- package/serialization/resources/apiKeys/client/requests/index.d.ts +1 -0
- package/serialization/resources/apiKeys/client/requests/index.js +5 -0
- package/serialization/resources/apiKeys/index.d.ts +1 -0
- package/serialization/resources/apiKeys/index.js +17 -0
- package/serialization/resources/chat/client/index.d.ts +2 -0
- package/serialization/resources/chat/client/index.js +41 -0
- package/serialization/resources/chat/client/listChats.d.ts +11 -0
- package/serialization/resources/chat/client/listChats.js +42 -0
- package/serialization/resources/chat/client/requests/ChatCreate.d.ts +17 -0
- package/serialization/resources/chat/client/requests/ChatCreate.js +48 -0
- package/serialization/resources/chat/client/requests/ChatMessageCreate.d.ts +13 -0
- package/serialization/resources/chat/client/requests/ChatMessageCreate.js +44 -0
- package/serialization/resources/chat/client/requests/ChatUpdate.d.ts +15 -0
- package/serialization/resources/chat/client/requests/ChatUpdate.js +46 -0
- package/serialization/resources/chat/client/requests/index.d.ts +3 -0
- package/serialization/resources/chat/client/requests/index.js +9 -0
- package/serialization/resources/chat/index.d.ts +1 -0
- package/serialization/resources/chat/index.js +17 -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/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/health/client/healthCheck.d.ts +9 -0
- package/serialization/resources/health/client/healthCheck.js +41 -0
- package/serialization/resources/health/client/index.d.ts +1 -0
- package/serialization/resources/health/client/index.js +37 -0
- package/serialization/resources/health/index.d.ts +1 -0
- package/serialization/resources/health/index.js +17 -0
- package/serialization/resources/index.d.ts +15 -0
- package/serialization/resources/index.js +54 -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 +2 -0
- package/serialization/resources/sync/client/index.js +41 -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 +21 -0
- package/serialization/resources/sync/client/requests/SyncCreate.js +52 -0
- package/serialization/resources/sync/client/requests/index.d.ts +1 -0
- package/serialization/resources/sync/client/requests/index.js +5 -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/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/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 +49 -0
- package/serialization/types/Chat.d.ts +25 -0
- package/serialization/types/Chat.js +56 -0
- package/serialization/types/ChatMessage.d.ts +21 -0
- package/serialization/types/ChatMessage.js +52 -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/Destination.d.ts +21 -0
- package/serialization/types/Destination.js +52 -0
- package/serialization/types/DestinationWithConfigFields.d.ts +23 -0
- package/serialization/types/DestinationWithConfigFields.js +54 -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/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/Source.d.ts +21 -0
- package/serialization/types/Source.js +52 -0
- package/serialization/types/Sync.d.ts +28 -0
- package/serialization/types/Sync.js +59 -0
- package/serialization/types/SyncJob.d.ts +28 -0
- package/serialization/types/SyncJob.js +59 -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 +30 -0
- package/serialization/types/SyncWithSourceConnection.js +61 -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 +25 -0
- package/serialization/types/index.js +41 -0
- package/version.d.ts +1 -0
- package/version.js +4 -0
|
@@ -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.Request = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
exports.Request = core.serialization.string();
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as core from "../../../../core";
|
|
6
|
+
export declare const Response: core.serialization.Schema<serializers.whiteLabels.getWhiteLabelOauth2AuthUrl.Response.Raw, string>;
|
|
7
|
+
export declare namespace Response {
|
|
8
|
+
type Raw = string;
|
|
9
|
+
}
|
|
@@ -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.Response = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
exports.Response = core.serialization.string();
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export * as listWhiteLabels from "./listWhiteLabels";
|
|
2
|
+
export * as getWhiteLabelOauth2AuthUrl from "./getWhiteLabelOauth2AuthUrl";
|
|
3
|
+
export * as exchangeWhiteLabelOauth2Code from "./exchangeWhiteLabelOauth2Code";
|
|
4
|
+
export * as listWhiteLabelSyncs from "./listWhiteLabelSyncs";
|
|
5
|
+
export * from "./requests";
|
|
@@ -0,0 +1,44 @@
|
|
|
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
36
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
|
+
};
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.listWhiteLabelSyncs = exports.exchangeWhiteLabelOauth2Code = exports.getWhiteLabelOauth2AuthUrl = exports.listWhiteLabels = void 0;
|
|
40
|
+
exports.listWhiteLabels = __importStar(require("./listWhiteLabels"));
|
|
41
|
+
exports.getWhiteLabelOauth2AuthUrl = __importStar(require("./getWhiteLabelOauth2AuthUrl"));
|
|
42
|
+
exports.exchangeWhiteLabelOauth2Code = __importStar(require("./exchangeWhiteLabelOauth2Code"));
|
|
43
|
+
exports.listWhiteLabelSyncs = __importStar(require("./listWhiteLabelSyncs"));
|
|
44
|
+
__exportStar(require("./requests"), exports);
|
|
@@ -0,0 +1,11 @@
|
|
|
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 { Sync } from "../../../types/Sync";
|
|
8
|
+
export declare const Response: core.serialization.Schema<serializers.whiteLabels.listWhiteLabelSyncs.Response.Raw, AirweaveSDK.Sync[]>;
|
|
9
|
+
export declare namespace Response {
|
|
10
|
+
type Raw = Sync.Raw[];
|
|
11
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
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.Response = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
const Sync_1 = require("../../../types/Sync");
|
|
42
|
+
exports.Response = core.serialization.list(Sync_1.Sync);
|
|
@@ -0,0 +1,11 @@
|
|
|
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 { WhiteLabel } from "../../../types/WhiteLabel";
|
|
8
|
+
export declare const Response: core.serialization.Schema<serializers.whiteLabels.listWhiteLabels.Response.Raw, AirweaveSDK.WhiteLabel[]>;
|
|
9
|
+
export declare namespace Response {
|
|
10
|
+
type Raw = WhiteLabel.Raw[];
|
|
11
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
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.Response = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
const WhiteLabel_1 = require("../../../types/WhiteLabel");
|
|
42
|
+
exports.Response = core.serialization.list(WhiteLabel_1.WhiteLabel);
|
|
@@ -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 WhiteLabelCreate: core.serialization.Schema<serializers.WhiteLabelCreate.Raw, AirweaveSDK.WhiteLabelCreate>;
|
|
8
|
+
export declare namespace WhiteLabelCreate {
|
|
9
|
+
interface Raw {
|
|
10
|
+
name: string;
|
|
11
|
+
source_id: string;
|
|
12
|
+
redirect_url: string;
|
|
13
|
+
client_id: string;
|
|
14
|
+
client_secret: string;
|
|
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.WhiteLabelCreate = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../core"));
|
|
41
|
+
exports.WhiteLabelCreate = core.serialization.object({
|
|
42
|
+
name: core.serialization.string(),
|
|
43
|
+
sourceId: core.serialization.property("source_id", 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
|
+
});
|
|
@@ -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
|
+
export declare const WhiteLabelUpdate: core.serialization.Schema<serializers.WhiteLabelUpdate.Raw, AirweaveSDK.WhiteLabelUpdate>;
|
|
8
|
+
export declare namespace WhiteLabelUpdate {
|
|
9
|
+
interface Raw {
|
|
10
|
+
name?: string | null;
|
|
11
|
+
redirect_url?: string | null;
|
|
12
|
+
client_id?: string | null;
|
|
13
|
+
client_secret?: string | null;
|
|
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.WhiteLabelUpdate = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../core"));
|
|
41
|
+
exports.WhiteLabelUpdate = core.serialization.object({
|
|
42
|
+
name: core.serialization.string().optional(),
|
|
43
|
+
redirectUrl: core.serialization.property("redirect_url", core.serialization.string().optional()),
|
|
44
|
+
clientId: core.serialization.property("client_id", core.serialization.string().optional()),
|
|
45
|
+
clientSecret: core.serialization.property("client_secret", core.serialization.string().optional()),
|
|
46
|
+
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WhiteLabelUpdate = exports.WhiteLabelCreate = void 0;
|
|
4
|
+
var WhiteLabelCreate_1 = require("./WhiteLabelCreate");
|
|
5
|
+
Object.defineProperty(exports, "WhiteLabelCreate", { enumerable: true, get: function () { return WhiteLabelCreate_1.WhiteLabelCreate; } });
|
|
6
|
+
var WhiteLabelUpdate_1 = require("./WhiteLabelUpdate");
|
|
7
|
+
Object.defineProperty(exports, "WhiteLabelUpdate", { enumerable: true, get: function () { return WhiteLabelUpdate_1.WhiteLabelUpdate; } });
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./client"), exports);
|
|
@@ -0,0 +1,20 @@
|
|
|
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 ApiKey: core.serialization.ObjectSchema<serializers.ApiKey.Raw, AirweaveSDK.ApiKey>;
|
|
8
|
+
export declare namespace ApiKey {
|
|
9
|
+
interface Raw {
|
|
10
|
+
id: string;
|
|
11
|
+
key_prefix: string;
|
|
12
|
+
organization?: string | null;
|
|
13
|
+
created_at: string;
|
|
14
|
+
modified_at: string;
|
|
15
|
+
last_used_date?: string | null;
|
|
16
|
+
expiration_date: string;
|
|
17
|
+
created_by_email: string;
|
|
18
|
+
modified_by_email: string;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
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.ApiKey = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.ApiKey = core.serialization.object({
|
|
42
|
+
id: core.serialization.string(),
|
|
43
|
+
keyPrefix: core.serialization.property("key_prefix", core.serialization.string()),
|
|
44
|
+
organization: core.serialization.string().optional(),
|
|
45
|
+
createdAt: core.serialization.property("created_at", core.serialization.date()),
|
|
46
|
+
modifiedAt: core.serialization.property("modified_at", core.serialization.date()),
|
|
47
|
+
lastUsedDate: core.serialization.property("last_used_date", core.serialization.date().optional()),
|
|
48
|
+
expirationDate: core.serialization.property("expiration_date", core.serialization.date()),
|
|
49
|
+
createdByEmail: core.serialization.property("created_by_email", core.serialization.string()),
|
|
50
|
+
modifiedByEmail: core.serialization.property("modified_by_email", core.serialization.string()),
|
|
51
|
+
});
|
|
@@ -0,0 +1,21 @@
|
|
|
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 ApiKeyWithPlainKey: core.serialization.ObjectSchema<serializers.ApiKeyWithPlainKey.Raw, AirweaveSDK.ApiKeyWithPlainKey>;
|
|
8
|
+
export declare namespace ApiKeyWithPlainKey {
|
|
9
|
+
interface Raw {
|
|
10
|
+
id: string;
|
|
11
|
+
key_prefix: string;
|
|
12
|
+
organization?: string | null;
|
|
13
|
+
created_at: string;
|
|
14
|
+
modified_at: string;
|
|
15
|
+
last_used_date?: string | null;
|
|
16
|
+
expiration_date: string;
|
|
17
|
+
created_by_email: string;
|
|
18
|
+
modified_by_email: string;
|
|
19
|
+
plain_key: string;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
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.ApiKeyWithPlainKey = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.ApiKeyWithPlainKey = core.serialization.object({
|
|
42
|
+
id: core.serialization.string(),
|
|
43
|
+
keyPrefix: core.serialization.property("key_prefix", core.serialization.string()),
|
|
44
|
+
organization: core.serialization.string().optional(),
|
|
45
|
+
createdAt: core.serialization.property("created_at", core.serialization.date()),
|
|
46
|
+
modifiedAt: core.serialization.property("modified_at", core.serialization.date()),
|
|
47
|
+
lastUsedDate: core.serialization.property("last_used_date", core.serialization.date().optional()),
|
|
48
|
+
expirationDate: core.serialization.property("expiration_date", core.serialization.date()),
|
|
49
|
+
createdByEmail: core.serialization.property("created_by_email", core.serialization.string()),
|
|
50
|
+
modifiedByEmail: core.serialization.property("modified_by_email", core.serialization.string()),
|
|
51
|
+
plainKey: core.serialization.property("plain_key", core.serialization.string()),
|
|
52
|
+
});
|
|
@@ -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 AuthType: core.serialization.Schema<serializers.AuthType.Raw, AirweaveSDK.AuthType>;
|
|
8
|
+
export declare namespace AuthType {
|
|
9
|
+
type Raw = "oauth2" | "oauth2_with_refresh" | "oauth2_with_refresh_rotating" | "trello_auth" | "api_key" | "native_functionality" | "config_class";
|
|
10
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
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.AuthType = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.AuthType = core.serialization.enum_([
|
|
42
|
+
"oauth2",
|
|
43
|
+
"oauth2_with_refresh",
|
|
44
|
+
"oauth2_with_refresh_rotating",
|
|
45
|
+
"trello_auth",
|
|
46
|
+
"api_key",
|
|
47
|
+
"native_functionality",
|
|
48
|
+
"config_class",
|
|
49
|
+
]);
|
|
@@ -0,0 +1,25 @@
|
|
|
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 { ChatMessage } from "./ChatMessage";
|
|
8
|
+
export declare const Chat: core.serialization.ObjectSchema<serializers.Chat.Raw, AirweaveSDK.Chat>;
|
|
9
|
+
export declare namespace Chat {
|
|
10
|
+
interface Raw {
|
|
11
|
+
name: string;
|
|
12
|
+
sync_id: string;
|
|
13
|
+
description?: string | null;
|
|
14
|
+
model_name?: string | null;
|
|
15
|
+
model_settings?: Record<string, unknown> | null;
|
|
16
|
+
search_settings?: Record<string, unknown> | null;
|
|
17
|
+
id: string;
|
|
18
|
+
messages?: ChatMessage.Raw[] | null;
|
|
19
|
+
created_at: string;
|
|
20
|
+
modified_at: string;
|
|
21
|
+
created_by_email: string;
|
|
22
|
+
modified_by_email: string;
|
|
23
|
+
organization_id: string;
|
|
24
|
+
}
|
|
25
|
+
}
|