@airweave/sdk 0.2.19 → 0.2.23
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 +3 -12
- package/Client.js +13 -28
- package/README.md +7 -12
- package/api/resources/apiKeys/client/Client.d.ts +131 -0
- package/{dist/api/resources/transformers → api/resources/apiKeys}/client/Client.js +161 -74
- package/api/{types → resources/apiKeys/client/requests}/ApiKeyCreate.d.ts +2 -1
- package/{dist/api/resources/users/client/requests/ReadUserUsersGetRequest.d.ts → api/resources/apiKeys/client/requests/DeleteApiKeyApiKeysDeleteRequest.d.ts} +3 -3
- package/api/resources/apiKeys/client/requests/ReadApiKeysApiKeysGetRequest.d.ts +11 -0
- package/api/resources/apiKeys/client/requests/index.d.ts +3 -0
- package/api/resources/connections/client/Client.d.ts +18 -78
- package/api/resources/connections/client/Client.js +28 -197
- package/api/resources/connections/client/requests/BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost.d.ts +1 -6
- package/api/resources/connections/client/requests/index.d.ts +0 -9
- package/api/resources/embeddingModels/client/Client.d.ts +4 -10
- package/api/resources/embeddingModels/client/Client.js +6 -20
- package/api/resources/embeddingModels/client/index.d.ts +1 -1
- package/api/resources/embeddingModels/client/index.js +0 -15
- package/api/resources/index.d.ts +2 -11
- package/api/resources/index.js +3 -12
- package/api/resources/search/client/Client.d.ts +3 -5
- package/api/resources/search/client/Client.js +4 -10
- package/api/resources/search/client/requests/SearchSearchGetRequest.d.ts +1 -8
- package/api/resources/sources/client/Client.d.ts +4 -10
- package/api/resources/sources/client/Client.js +6 -20
- package/api/resources/sources/client/index.d.ts +1 -1
- package/api/resources/sources/client/index.js +0 -15
- package/api/resources/sync/client/Client.d.ts +20 -61
- package/api/resources/sync/client/Client.js +40 -123
- package/api/resources/sync/client/requests/DeleteSyncSyncSyncIdDeleteRequest.d.ts +1 -4
- package/api/resources/sync/client/requests/ListAllJobsSyncJobsGetRequest.d.ts +1 -4
- package/api/resources/sync/client/requests/ListSyncsSyncGetRequest.d.ts +1 -4
- package/api/resources/sync/client/requests/SyncCreate.d.ts +1 -12
- package/api/resources/sync/client/requests/SyncUpdate.d.ts +1 -11
- package/api/resources/sync/client/requests/index.d.ts +0 -5
- package/api/resources/whiteLabels/client/Client.d.ts +15 -40
- package/api/resources/whiteLabels/client/Client.js +26 -94
- package/api/resources/whiteLabels/client/requests/WhiteLabelCreate.d.ts +0 -2
- package/api/resources/whiteLabels/client/requests/WhiteLabelUpdate.d.ts +1 -8
- package/api/resources/whiteLabels/client/requests/index.d.ts +0 -6
- package/api/{resources/connections/client/requests → types}/BodySendOauth2CodeConnectionsOauth2SourceCodePost.d.ts +0 -9
- package/api/types/EntityDefinitionCreate.d.ts +16 -0
- package/api/types/EntityDefinitionUpdate.d.ts +16 -0
- package/api/{resources/entities/client/requests → types}/EntityRelationCreate.d.ts +1 -9
- package/api/{resources/entities/client/requests → types}/EntityRelationUpdate.d.ts +1 -9
- package/api/types/TransformerCreate.d.ts +15 -0
- package/api/types/TransformerUpdate.d.ts +15 -0
- package/api/types/User.d.ts +1 -1
- package/api/types/index.d.ts +9 -2
- package/api/types/index.js +9 -2
- package/dist/Client.d.ts +3 -12
- package/dist/Client.js +13 -28
- package/dist/api/resources/apiKeys/client/Client.d.ts +131 -0
- package/{api/resources/transformers → dist/api/resources/apiKeys}/client/Client.js +161 -74
- package/dist/api/{types → resources/apiKeys/client/requests}/ApiKeyCreate.d.ts +2 -1
- package/{api/resources/users/client/requests/ReadUserUsersGetRequest.d.ts → dist/api/resources/apiKeys/client/requests/DeleteApiKeyApiKeysDeleteRequest.d.ts} +3 -3
- package/dist/api/resources/apiKeys/client/requests/ReadApiKeysApiKeysGetRequest.d.ts +11 -0
- package/dist/api/resources/apiKeys/client/requests/index.d.ts +3 -0
- package/dist/api/resources/connections/client/Client.d.ts +18 -78
- package/dist/api/resources/connections/client/Client.js +28 -197
- package/dist/api/resources/connections/client/requests/BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost.d.ts +1 -6
- package/dist/api/resources/connections/client/requests/index.d.ts +0 -9
- package/dist/api/resources/embeddingModels/client/Client.d.ts +4 -10
- package/dist/api/resources/embeddingModels/client/Client.js +6 -20
- package/dist/api/resources/embeddingModels/client/index.d.ts +1 -1
- package/dist/api/resources/embeddingModels/client/index.js +0 -15
- package/dist/api/resources/index.d.ts +2 -11
- package/dist/api/resources/index.js +3 -12
- package/dist/api/resources/search/client/Client.d.ts +3 -5
- package/dist/api/resources/search/client/Client.js +4 -10
- package/dist/api/resources/search/client/requests/SearchSearchGetRequest.d.ts +1 -8
- package/dist/api/resources/sources/client/Client.d.ts +4 -10
- package/dist/api/resources/sources/client/Client.js +6 -20
- package/dist/api/resources/sources/client/index.d.ts +1 -1
- package/dist/api/resources/sources/client/index.js +0 -15
- package/dist/api/resources/sync/client/Client.d.ts +20 -61
- package/dist/api/resources/sync/client/Client.js +40 -123
- package/dist/api/resources/sync/client/requests/DeleteSyncSyncSyncIdDeleteRequest.d.ts +1 -4
- package/dist/api/resources/sync/client/requests/ListAllJobsSyncJobsGetRequest.d.ts +1 -4
- package/dist/api/resources/sync/client/requests/ListSyncsSyncGetRequest.d.ts +1 -4
- package/dist/api/resources/sync/client/requests/SyncCreate.d.ts +1 -12
- package/dist/api/resources/sync/client/requests/SyncUpdate.d.ts +1 -11
- package/dist/api/resources/sync/client/requests/index.d.ts +0 -5
- package/dist/api/resources/whiteLabels/client/Client.d.ts +15 -40
- package/dist/api/resources/whiteLabels/client/Client.js +26 -94
- package/dist/api/resources/whiteLabels/client/requests/WhiteLabelCreate.d.ts +0 -2
- package/dist/api/resources/whiteLabels/client/requests/WhiteLabelUpdate.d.ts +1 -8
- package/dist/api/resources/whiteLabels/client/requests/index.d.ts +0 -6
- package/dist/api/{resources/connections/client/requests → types}/BodySendOauth2CodeConnectionsOauth2SourceCodePost.d.ts +0 -9
- package/dist/api/types/EntityDefinitionCreate.d.ts +16 -0
- package/dist/api/types/EntityDefinitionUpdate.d.ts +16 -0
- package/dist/api/{resources/entities/client/requests → types}/EntityRelationCreate.d.ts +1 -9
- package/dist/api/{resources/entities/client/requests → types}/EntityRelationUpdate.d.ts +1 -9
- package/dist/api/types/TransformerCreate.d.ts +15 -0
- package/dist/api/types/TransformerUpdate.d.ts +15 -0
- package/dist/api/types/User.d.ts +1 -1
- package/dist/api/types/index.d.ts +9 -2
- package/dist/api/types/index.js +9 -2
- package/dist/serialization/resources/apiKeys/client/index.d.ts +2 -0
- package/dist/serialization/resources/{transformers → apiKeys}/client/index.js +2 -2
- package/dist/serialization/resources/{destinations/client/listDestinations.d.ts → apiKeys/client/readApiKeys.d.ts} +3 -3
- package/dist/serialization/resources/{transformers/client/listTransformers.js → apiKeys/client/readApiKeys.js} +2 -2
- package/dist/serialization/resources/apiKeys/client/requests/ApiKeyCreate.d.ts +12 -0
- package/dist/serialization/{types → resources/apiKeys/client/requests}/ApiKeyCreate.js +1 -1
- 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/connections/client/requests/BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost.d.ts +1 -1
- package/dist/serialization/resources/connections/client/requests/index.d.ts +0 -1
- package/dist/serialization/resources/connections/client/requests/index.js +1 -3
- package/dist/serialization/resources/index.d.ts +2 -8
- package/dist/serialization/resources/index.js +3 -9
- package/dist/serialization/resources/search/client/search.d.ts +2 -2
- package/dist/serialization/resources/search/client/search.js +1 -1
- package/dist/serialization/resources/sync/client/requests/SyncCreate.d.ts +1 -1
- package/dist/serialization/resources/sync/client/requests/SyncUpdate.d.ts +1 -1
- package/dist/serialization/resources/whiteLabels/client/requests/WhiteLabelCreate.d.ts +1 -1
- package/dist/serialization/resources/whiteLabels/client/requests/WhiteLabelUpdate.d.ts +1 -1
- package/dist/serialization/types/BodySendOauth2CodeConnectionsOauth2SourceCodePost.d.ts +13 -0
- package/dist/serialization/{resources/connections/client/requests → types}/BodySendOauth2CodeConnectionsOauth2SourceCodePost.js +1 -1
- package/dist/serialization/{resources/entities/client/requests → types}/EntityDefinitionCreate.d.ts +6 -6
- package/dist/serialization/{resources/entities/client/requests → types}/EntityDefinitionCreate.js +3 -3
- package/dist/serialization/{resources/entities/types → types}/EntityDefinitionCreateEntitySchema.d.ts +3 -3
- package/dist/serialization/{resources/entities/types → types}/EntityDefinitionCreateEntitySchema.js +1 -1
- package/dist/serialization/{resources/entities/client/requests → types}/EntityDefinitionUpdate.d.ts +6 -6
- package/dist/serialization/{resources/entities/client/requests → types}/EntityDefinitionUpdate.js +3 -3
- package/{serialization/resources/entities → dist/serialization}/types/EntityDefinitionUpdateEntitySchema.d.ts +3 -3
- package/dist/serialization/{resources/entities/types → types}/EntityDefinitionUpdateEntitySchema.js +1 -1
- package/dist/serialization/types/EntityRelationCreate.d.ts +15 -0
- package/dist/serialization/{resources/entities/client/requests → types}/EntityRelationCreate.js +1 -1
- package/dist/serialization/types/EntityRelationUpdate.d.ts +15 -0
- package/dist/serialization/{resources/entities/client/requests → types}/EntityRelationUpdate.js +1 -1
- package/dist/serialization/{resources/transformers/client/requests → types}/TransformerCreate.d.ts +4 -4
- package/{serialization/resources/transformers/client/requests → dist/serialization/types}/TransformerCreate.js +1 -1
- package/{serialization/resources/transformers/client/requests → dist/serialization/types}/TransformerUpdate.d.ts +4 -4
- package/{serialization/resources/transformers/client/requests → dist/serialization/types}/TransformerUpdate.js +1 -1
- package/dist/serialization/types/User.d.ts +1 -1
- package/dist/serialization/types/User.js +1 -1
- package/dist/serialization/types/index.d.ts +9 -2
- package/dist/serialization/types/index.js +9 -2
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +117 -1252
- package/serialization/resources/apiKeys/client/index.d.ts +2 -0
- package/serialization/resources/{transformers → apiKeys}/client/index.js +2 -2
- package/serialization/resources/{transformers/client/listTransformers.d.ts → apiKeys/client/readApiKeys.d.ts} +3 -3
- package/{dist/serialization/resources/destinations/client/listDestinations.js → serialization/resources/apiKeys/client/readApiKeys.js} +2 -2
- package/serialization/resources/apiKeys/client/requests/ApiKeyCreate.d.ts +12 -0
- package/serialization/{types → resources/apiKeys/client/requests}/ApiKeyCreate.js +1 -1
- package/serialization/resources/apiKeys/client/requests/index.d.ts +1 -0
- package/serialization/resources/apiKeys/client/requests/index.js +5 -0
- package/serialization/resources/connections/client/requests/BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost.d.ts +1 -1
- package/serialization/resources/connections/client/requests/index.d.ts +0 -1
- package/serialization/resources/connections/client/requests/index.js +1 -3
- package/serialization/resources/index.d.ts +2 -8
- package/serialization/resources/index.js +3 -9
- package/serialization/resources/search/client/search.d.ts +2 -2
- package/serialization/resources/search/client/search.js +1 -1
- package/serialization/resources/sync/client/requests/SyncCreate.d.ts +1 -1
- package/serialization/resources/sync/client/requests/SyncUpdate.d.ts +1 -1
- package/serialization/resources/whiteLabels/client/requests/WhiteLabelCreate.d.ts +1 -1
- package/serialization/resources/whiteLabels/client/requests/WhiteLabelUpdate.d.ts +1 -1
- package/serialization/types/BodySendOauth2CodeConnectionsOauth2SourceCodePost.d.ts +13 -0
- package/serialization/{resources/connections/client/requests → types}/BodySendOauth2CodeConnectionsOauth2SourceCodePost.js +1 -1
- package/serialization/{resources/entities/client/requests → types}/EntityDefinitionCreate.d.ts +6 -6
- package/serialization/{resources/entities/client/requests → types}/EntityDefinitionCreate.js +3 -3
- package/serialization/{resources/entities/types → types}/EntityDefinitionCreateEntitySchema.d.ts +3 -3
- package/serialization/{resources/entities/types → types}/EntityDefinitionCreateEntitySchema.js +1 -1
- package/serialization/{resources/entities/client/requests → types}/EntityDefinitionUpdate.d.ts +6 -6
- package/serialization/{resources/entities/client/requests → types}/EntityDefinitionUpdate.js +3 -3
- package/{dist/serialization/resources/entities → serialization}/types/EntityDefinitionUpdateEntitySchema.d.ts +3 -3
- package/serialization/{resources/entities/types → types}/EntityDefinitionUpdateEntitySchema.js +1 -1
- package/serialization/types/EntityRelationCreate.d.ts +15 -0
- package/serialization/{resources/entities/client/requests → types}/EntityRelationCreate.js +1 -1
- package/serialization/types/EntityRelationUpdate.d.ts +15 -0
- package/serialization/{resources/entities/client/requests → types}/EntityRelationUpdate.js +1 -1
- package/serialization/{resources/transformers/client/requests → types}/TransformerCreate.d.ts +4 -4
- package/{dist/serialization/resources/transformers/client/requests → serialization/types}/TransformerCreate.js +1 -1
- package/{dist/serialization/resources/transformers/client/requests → serialization/types}/TransformerUpdate.d.ts +4 -4
- package/{dist/serialization/resources/transformers/client/requests → serialization/types}/TransformerUpdate.js +1 -1
- package/serialization/types/User.d.ts +1 -1
- package/serialization/types/User.js +1 -1
- package/serialization/types/index.d.ts +9 -2
- package/serialization/types/index.js +9 -2
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/connections/client/requests/DeleteConnectionConnectionsDeleteSourceConnectionIdDeleteRequest.d.ts +0 -12
- package/api/resources/connections/client/requests/DisconnectSourceConnectionConnectionsDisconnectSourceConnectionIdPutRequest.d.ts +0 -12
- package/api/resources/connections/client/requests/GetConnectionConnectionsDetailConnectionIdGetRequest.d.ts +0 -12
- package/api/resources/connections/client/requests/GetConnectionCredentialsConnectionsCredentialsConnectionIdGetRequest.d.ts +0 -12
- package/api/resources/connections/client/requests/GetOauth2WhiteLabelAuthUrlConnectionsOauth2WhiteLabelWhiteLabelIdAuthUrlGetRequest.d.ts +0 -12
- package/api/resources/connections/client/requests/GetOauth2WhiteLabelAuthUrlConnectionsOauth2WhiteLabelWhiteLabelIdAuthUrlGetRequest.js +0 -5
- package/api/resources/connections/client/requests/ListAllConnectedIntegrationsConnectionsListGetRequest.d.ts +0 -12
- package/api/resources/connections/client/requests/ListAllConnectedIntegrationsConnectionsListGetRequest.js +0 -5
- package/api/resources/connections/client/requests/ListConnectedIntegrationsConnectionsListIntegrationTypeGetRequest.d.ts +0 -12
- package/api/resources/connections/client/requests/ListConnectedIntegrationsConnectionsListIntegrationTypeGetRequest.js +0 -5
- package/api/resources/connections/client/requests/SendOauth2WhiteLabelCodeConnectionsOauth2WhiteLabelWhiteLabelIdCodePostRequest.d.ts +0 -14
- package/api/resources/connections/client/requests/SendOauth2WhiteLabelCodeConnectionsOauth2WhiteLabelWhiteLabelIdCodePostRequest.js +0 -5
- package/api/resources/destinations/client/Client.d.ts +0 -77
- package/api/resources/destinations/client/Client.js +0 -225
- package/api/resources/destinations/client/requests/ListDestinationsDestinationsListGetRequest.d.ts +0 -12
- package/api/resources/destinations/client/requests/ListDestinationsDestinationsListGetRequest.js +0 -5
- package/api/resources/destinations/client/requests/ReadDestinationDestinationsDetailShortNameGetRequest.d.ts +0 -12
- package/api/resources/destinations/client/requests/ReadDestinationDestinationsDetailShortNameGetRequest.js +0 -5
- package/api/resources/destinations/client/requests/index.d.ts +0 -2
- package/api/resources/embeddingModels/client/requests/ReadEmbeddingModelEmbeddingModelsDetailShortNameGetRequest.d.ts +0 -12
- package/api/resources/embeddingModels/client/requests/ReadEmbeddingModelEmbeddingModelsDetailShortNameGetRequest.js +0 -5
- package/api/resources/embeddingModels/client/requests/ReadEmbeddingModelsEmbeddingModelsListGetRequest.d.ts +0 -12
- package/api/resources/embeddingModels/client/requests/ReadEmbeddingModelsEmbeddingModelsListGetRequest.js +0 -5
- package/api/resources/embeddingModels/client/requests/index.d.ts +0 -2
- package/api/resources/entities/client/Client.d.ts +0 -175
- package/api/resources/entities/client/Client.js +0 -684
- package/api/resources/entities/client/requests/EntityDefinitionCreate.d.ts +0 -27
- package/api/resources/entities/client/requests/EntityDefinitionUpdate.d.ts +0 -27
- package/api/resources/entities/client/requests/GetEntityDefinitionsByIdsEntitiesDefinitionsByIdsPostRequest.d.ts +0 -14
- package/api/resources/entities/client/requests/GetEntityDefinitionsByIdsEntitiesDefinitionsByIdsPostRequest.js +0 -5
- package/api/resources/entities/client/requests/GetEntityDefinitionsBySourceShortNameEntitiesDefinitionsBySourceGetRequest.d.ts +0 -14
- package/api/resources/entities/client/requests/GetEntityDefinitionsBySourceShortNameEntitiesDefinitionsBySourceGetRequest.js +0 -5
- package/api/resources/entities/client/requests/ListEntityDefinitionsEntitiesDefinitionsGetRequest.d.ts +0 -12
- package/api/resources/entities/client/requests/ListEntityDefinitionsEntitiesDefinitionsGetRequest.js +0 -5
- package/api/resources/entities/client/requests/ListEntityRelationsEntitiesRelationsGetRequest.d.ts +0 -12
- package/api/resources/entities/client/requests/ListEntityRelationsEntitiesRelationsGetRequest.js +0 -5
- package/api/resources/entities/client/requests/index.d.ts +0 -8
- package/api/resources/entities/client/requests/index.js +0 -2
- package/api/resources/entities/index.d.ts +0 -2
- package/api/resources/entities/index.js +0 -18
- package/api/resources/entities/types/index.d.ts +0 -2
- package/api/resources/entities/types/index.js +0 -18
- package/api/resources/sources/client/requests/ReadSourceSourcesDetailShortNameGetRequest.d.ts +0 -12
- package/api/resources/sources/client/requests/ReadSourceSourcesDetailShortNameGetRequest.js +0 -5
- package/api/resources/sources/client/requests/ReadSourcesSourcesListGetRequest.d.ts +0 -12
- package/api/resources/sources/client/requests/ReadSourcesSourcesListGetRequest.js +0 -5
- package/api/resources/sources/client/requests/index.d.ts +0 -2
- package/api/resources/sources/client/requests/index.js +0 -2
- package/api/resources/sync/client/requests/GetSyncDagSyncSyncIdDagGetRequest.d.ts +0 -12
- package/api/resources/sync/client/requests/GetSyncDagSyncSyncIdDagGetRequest.js +0 -5
- package/api/resources/sync/client/requests/GetSyncJobSyncSyncIdJobJobIdGetRequest.d.ts +0 -12
- package/api/resources/sync/client/requests/GetSyncJobSyncSyncIdJobJobIdGetRequest.js +0 -5
- package/api/resources/sync/client/requests/GetSyncSyncSyncIdGetRequest.d.ts +0 -12
- package/api/resources/sync/client/requests/GetSyncSyncSyncIdGetRequest.js +0 -5
- package/api/resources/sync/client/requests/ListSyncJobsSyncSyncIdJobsGetRequest.d.ts +0 -12
- package/api/resources/sync/client/requests/ListSyncJobsSyncSyncIdJobsGetRequest.js +0 -5
- package/api/resources/sync/client/requests/RunSyncSyncSyncIdRunPostRequest.d.ts +0 -12
- package/api/resources/sync/client/requests/RunSyncSyncSyncIdRunPostRequest.js +0 -5
- package/api/resources/transformers/client/Client.d.ts +0 -86
- package/api/resources/transformers/client/index.d.ts +0 -1
- package/api/resources/transformers/client/index.js +0 -17
- package/api/resources/transformers/client/requests/ListTransformersTransformersGetRequest.d.ts +0 -12
- package/api/resources/transformers/client/requests/ListTransformersTransformersGetRequest.js +0 -5
- package/api/resources/transformers/client/requests/TransformerCreate.d.ts +0 -26
- package/api/resources/transformers/client/requests/TransformerUpdate.d.ts +0 -26
- package/api/resources/transformers/client/requests/index.d.ts +0 -3
- package/api/resources/transformers/client/requests/index.js +0 -2
- package/api/resources/users/client/Client.d.ts +0 -81
- package/api/resources/users/client/Client.js +0 -241
- package/api/resources/users/client/index.d.ts +0 -1
- package/api/resources/users/client/index.js +0 -17
- package/api/resources/users/client/requests/ReadUserUsersGetRequest.js +0 -5
- package/api/resources/users/client/requests/UserCreate.d.ts +0 -18
- package/api/resources/users/client/requests/UserCreate.js +0 -5
- package/api/resources/users/client/requests/index.d.ts +0 -2
- package/api/resources/users/client/requests/index.js +0 -2
- package/api/resources/whiteLabels/client/requests/DeleteWhiteLabelWhiteLabelsWhiteLabelIdDeleteRequest.d.ts +0 -12
- package/api/resources/whiteLabels/client/requests/DeleteWhiteLabelWhiteLabelsWhiteLabelIdDeleteRequest.js +0 -5
- package/api/resources/whiteLabels/client/requests/ExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePostRequest.d.ts +0 -14
- package/api/resources/whiteLabels/client/requests/ExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePostRequest.js +0 -5
- package/api/resources/whiteLabels/client/requests/GetWhiteLabelOauth2AuthUrlWhiteLabelsWhiteLabelIdOauth2AuthUrlGetRequest.d.ts +0 -12
- package/api/resources/whiteLabels/client/requests/GetWhiteLabelOauth2AuthUrlWhiteLabelsWhiteLabelIdOauth2AuthUrlGetRequest.js +0 -5
- package/api/resources/whiteLabels/client/requests/GetWhiteLabelWhiteLabelsWhiteLabelIdGetRequest.d.ts +0 -12
- package/api/resources/whiteLabels/client/requests/GetWhiteLabelWhiteLabelsWhiteLabelIdGetRequest.js +0 -5
- package/api/resources/whiteLabels/client/requests/ListWhiteLabelSyncsWhiteLabelsWhiteLabelIdSyncsGetRequest.d.ts +0 -12
- package/api/resources/whiteLabels/client/requests/ListWhiteLabelSyncsWhiteLabelsWhiteLabelIdSyncsGetRequest.js +0 -5
- package/api/resources/whiteLabels/client/requests/ListWhiteLabelsWhiteLabelsListGetRequest.d.ts +0 -12
- package/api/resources/whiteLabels/client/requests/ListWhiteLabelsWhiteLabelsListGetRequest.js +0 -5
- package/api/types/ResponseType.d.ts +0 -11
- package/api/types/ResponseType.js +0 -10
- package/dist/api/resources/connections/client/requests/DeleteConnectionConnectionsDeleteSourceConnectionIdDeleteRequest.d.ts +0 -12
- package/dist/api/resources/connections/client/requests/DeleteConnectionConnectionsDeleteSourceConnectionIdDeleteRequest.js +0 -5
- package/dist/api/resources/connections/client/requests/DisconnectSourceConnectionConnectionsDisconnectSourceConnectionIdPutRequest.d.ts +0 -12
- package/dist/api/resources/connections/client/requests/DisconnectSourceConnectionConnectionsDisconnectSourceConnectionIdPutRequest.js +0 -5
- package/dist/api/resources/connections/client/requests/GetConnectionConnectionsDetailConnectionIdGetRequest.d.ts +0 -12
- package/dist/api/resources/connections/client/requests/GetConnectionConnectionsDetailConnectionIdGetRequest.js +0 -5
- package/dist/api/resources/connections/client/requests/GetConnectionCredentialsConnectionsCredentialsConnectionIdGetRequest.d.ts +0 -12
- package/dist/api/resources/connections/client/requests/GetConnectionCredentialsConnectionsCredentialsConnectionIdGetRequest.js +0 -5
- package/dist/api/resources/connections/client/requests/GetOauth2WhiteLabelAuthUrlConnectionsOauth2WhiteLabelWhiteLabelIdAuthUrlGetRequest.d.ts +0 -12
- package/dist/api/resources/connections/client/requests/GetOauth2WhiteLabelAuthUrlConnectionsOauth2WhiteLabelWhiteLabelIdAuthUrlGetRequest.js +0 -5
- package/dist/api/resources/connections/client/requests/ListAllConnectedIntegrationsConnectionsListGetRequest.d.ts +0 -12
- package/dist/api/resources/connections/client/requests/ListAllConnectedIntegrationsConnectionsListGetRequest.js +0 -5
- package/dist/api/resources/connections/client/requests/ListConnectedIntegrationsConnectionsListIntegrationTypeGetRequest.d.ts +0 -12
- package/dist/api/resources/connections/client/requests/ListConnectedIntegrationsConnectionsListIntegrationTypeGetRequest.js +0 -5
- package/dist/api/resources/connections/client/requests/SendOauth2WhiteLabelCodeConnectionsOauth2WhiteLabelWhiteLabelIdCodePostRequest.d.ts +0 -14
- package/dist/api/resources/connections/client/requests/SendOauth2WhiteLabelCodeConnectionsOauth2WhiteLabelWhiteLabelIdCodePostRequest.js +0 -5
- package/dist/api/resources/destinations/client/Client.d.ts +0 -77
- package/dist/api/resources/destinations/client/Client.js +0 -225
- package/dist/api/resources/destinations/client/index.d.ts +0 -1
- package/dist/api/resources/destinations/client/index.js +0 -17
- package/dist/api/resources/destinations/client/requests/ListDestinationsDestinationsListGetRequest.d.ts +0 -12
- package/dist/api/resources/destinations/client/requests/ListDestinationsDestinationsListGetRequest.js +0 -5
- package/dist/api/resources/destinations/client/requests/ReadDestinationDestinationsDetailShortNameGetRequest.d.ts +0 -12
- package/dist/api/resources/destinations/client/requests/ReadDestinationDestinationsDetailShortNameGetRequest.js +0 -5
- package/dist/api/resources/destinations/client/requests/index.d.ts +0 -2
- package/dist/api/resources/destinations/client/requests/index.js +0 -2
- package/dist/api/resources/embeddingModels/client/requests/ReadEmbeddingModelEmbeddingModelsDetailShortNameGetRequest.d.ts +0 -12
- package/dist/api/resources/embeddingModels/client/requests/ReadEmbeddingModelEmbeddingModelsDetailShortNameGetRequest.js +0 -5
- package/dist/api/resources/embeddingModels/client/requests/ReadEmbeddingModelsEmbeddingModelsListGetRequest.d.ts +0 -12
- package/dist/api/resources/embeddingModels/client/requests/ReadEmbeddingModelsEmbeddingModelsListGetRequest.js +0 -5
- package/dist/api/resources/embeddingModels/client/requests/index.d.ts +0 -2
- package/dist/api/resources/embeddingModels/client/requests/index.js +0 -2
- package/dist/api/resources/entities/client/Client.d.ts +0 -175
- package/dist/api/resources/entities/client/Client.js +0 -684
- package/dist/api/resources/entities/client/index.d.ts +0 -1
- package/dist/api/resources/entities/client/index.js +0 -17
- package/dist/api/resources/entities/client/requests/EntityDefinitionCreate.d.ts +0 -27
- package/dist/api/resources/entities/client/requests/EntityDefinitionUpdate.d.ts +0 -27
- package/dist/api/resources/entities/client/requests/GetEntityDefinitionsByIdsEntitiesDefinitionsByIdsPostRequest.d.ts +0 -14
- package/dist/api/resources/entities/client/requests/GetEntityDefinitionsByIdsEntitiesDefinitionsByIdsPostRequest.js +0 -5
- package/dist/api/resources/entities/client/requests/GetEntityDefinitionsBySourceShortNameEntitiesDefinitionsBySourceGetRequest.d.ts +0 -14
- package/dist/api/resources/entities/client/requests/GetEntityDefinitionsBySourceShortNameEntitiesDefinitionsBySourceGetRequest.js +0 -5
- package/dist/api/resources/entities/client/requests/ListEntityDefinitionsEntitiesDefinitionsGetRequest.d.ts +0 -12
- package/dist/api/resources/entities/client/requests/ListEntityDefinitionsEntitiesDefinitionsGetRequest.js +0 -5
- package/dist/api/resources/entities/client/requests/ListEntityRelationsEntitiesRelationsGetRequest.d.ts +0 -12
- package/dist/api/resources/entities/client/requests/ListEntityRelationsEntitiesRelationsGetRequest.js +0 -5
- package/dist/api/resources/entities/client/requests/index.d.ts +0 -8
- package/dist/api/resources/entities/client/requests/index.js +0 -2
- package/dist/api/resources/entities/index.d.ts +0 -2
- package/dist/api/resources/entities/index.js +0 -18
- package/dist/api/resources/entities/types/index.d.ts +0 -2
- package/dist/api/resources/entities/types/index.js +0 -18
- package/dist/api/resources/sources/client/requests/ReadSourceSourcesDetailShortNameGetRequest.d.ts +0 -12
- package/dist/api/resources/sources/client/requests/ReadSourceSourcesDetailShortNameGetRequest.js +0 -5
- package/dist/api/resources/sources/client/requests/ReadSourcesSourcesListGetRequest.d.ts +0 -12
- package/dist/api/resources/sources/client/requests/ReadSourcesSourcesListGetRequest.js +0 -5
- package/dist/api/resources/sources/client/requests/index.d.ts +0 -2
- package/dist/api/resources/sources/client/requests/index.js +0 -2
- package/dist/api/resources/sync/client/requests/GetSyncDagSyncSyncIdDagGetRequest.d.ts +0 -12
- package/dist/api/resources/sync/client/requests/GetSyncDagSyncSyncIdDagGetRequest.js +0 -5
- package/dist/api/resources/sync/client/requests/GetSyncJobSyncSyncIdJobJobIdGetRequest.d.ts +0 -12
- package/dist/api/resources/sync/client/requests/GetSyncJobSyncSyncIdJobJobIdGetRequest.js +0 -5
- package/dist/api/resources/sync/client/requests/GetSyncSyncSyncIdGetRequest.d.ts +0 -12
- package/dist/api/resources/sync/client/requests/GetSyncSyncSyncIdGetRequest.js +0 -5
- package/dist/api/resources/sync/client/requests/ListSyncJobsSyncSyncIdJobsGetRequest.d.ts +0 -12
- package/dist/api/resources/sync/client/requests/ListSyncJobsSyncSyncIdJobsGetRequest.js +0 -5
- package/dist/api/resources/sync/client/requests/RunSyncSyncSyncIdRunPostRequest.d.ts +0 -12
- package/dist/api/resources/sync/client/requests/RunSyncSyncSyncIdRunPostRequest.js +0 -5
- package/dist/api/resources/transformers/client/Client.d.ts +0 -86
- package/dist/api/resources/transformers/client/index.d.ts +0 -1
- package/dist/api/resources/transformers/client/index.js +0 -17
- package/dist/api/resources/transformers/client/requests/ListTransformersTransformersGetRequest.d.ts +0 -12
- package/dist/api/resources/transformers/client/requests/ListTransformersTransformersGetRequest.js +0 -5
- package/dist/api/resources/transformers/client/requests/TransformerCreate.d.ts +0 -26
- package/dist/api/resources/transformers/client/requests/TransformerUpdate.d.ts +0 -26
- package/dist/api/resources/transformers/client/requests/index.d.ts +0 -3
- package/dist/api/resources/transformers/client/requests/index.js +0 -2
- package/dist/api/resources/transformers/index.d.ts +0 -1
- package/dist/api/resources/transformers/index.js +0 -17
- package/dist/api/resources/users/client/Client.d.ts +0 -81
- package/dist/api/resources/users/client/Client.js +0 -241
- package/dist/api/resources/users/client/index.d.ts +0 -1
- package/dist/api/resources/users/client/index.js +0 -17
- package/dist/api/resources/users/client/requests/ReadUserUsersGetRequest.js +0 -5
- package/dist/api/resources/users/client/requests/UserCreate.d.ts +0 -18
- package/dist/api/resources/users/client/requests/UserCreate.js +0 -5
- package/dist/api/resources/users/client/requests/index.d.ts +0 -2
- package/dist/api/resources/users/client/requests/index.js +0 -2
- package/dist/api/resources/users/index.d.ts +0 -1
- package/dist/api/resources/users/index.js +0 -17
- package/dist/api/resources/whiteLabels/client/requests/DeleteWhiteLabelWhiteLabelsWhiteLabelIdDeleteRequest.d.ts +0 -12
- package/dist/api/resources/whiteLabels/client/requests/DeleteWhiteLabelWhiteLabelsWhiteLabelIdDeleteRequest.js +0 -5
- package/dist/api/resources/whiteLabels/client/requests/ExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePostRequest.d.ts +0 -14
- package/dist/api/resources/whiteLabels/client/requests/ExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePostRequest.js +0 -5
- package/dist/api/resources/whiteLabels/client/requests/GetWhiteLabelOauth2AuthUrlWhiteLabelsWhiteLabelIdOauth2AuthUrlGetRequest.d.ts +0 -12
- package/dist/api/resources/whiteLabels/client/requests/GetWhiteLabelOauth2AuthUrlWhiteLabelsWhiteLabelIdOauth2AuthUrlGetRequest.js +0 -5
- package/dist/api/resources/whiteLabels/client/requests/GetWhiteLabelWhiteLabelsWhiteLabelIdGetRequest.d.ts +0 -12
- package/dist/api/resources/whiteLabels/client/requests/GetWhiteLabelWhiteLabelsWhiteLabelIdGetRequest.js +0 -5
- package/dist/api/resources/whiteLabels/client/requests/ListWhiteLabelSyncsWhiteLabelsWhiteLabelIdSyncsGetRequest.d.ts +0 -12
- package/dist/api/resources/whiteLabels/client/requests/ListWhiteLabelSyncsWhiteLabelsWhiteLabelIdSyncsGetRequest.js +0 -5
- package/dist/api/resources/whiteLabels/client/requests/ListWhiteLabelsWhiteLabelsListGetRequest.d.ts +0 -12
- package/dist/api/resources/whiteLabels/client/requests/ListWhiteLabelsWhiteLabelsListGetRequest.js +0 -5
- package/dist/api/types/ResponseType.d.ts +0 -11
- package/dist/api/types/ResponseType.js +0 -10
- package/dist/serialization/resources/connections/client/requests/BodySendOauth2CodeConnectionsOauth2SourceCodePost.d.ts +0 -13
- package/dist/serialization/resources/destinations/client/index.d.ts +0 -1
- package/dist/serialization/resources/destinations/client/index.js +0 -37
- package/dist/serialization/resources/destinations/index.d.ts +0 -1
- package/dist/serialization/resources/destinations/index.js +0 -17
- package/dist/serialization/resources/entities/client/getEntityDefinitionsByIds.d.ts +0 -15
- package/dist/serialization/resources/entities/client/getEntityDefinitionsByIds.js +0 -43
- package/dist/serialization/resources/entities/client/getEntityDefinitionsBySourceShortName.d.ts +0 -11
- package/dist/serialization/resources/entities/client/getEntityDefinitionsBySourceShortName.js +0 -42
- package/dist/serialization/resources/entities/client/index.d.ts +0 -5
- package/dist/serialization/resources/entities/client/index.js +0 -44
- package/dist/serialization/resources/entities/client/listEntityDefinitions.d.ts +0 -11
- package/dist/serialization/resources/entities/client/listEntityDefinitions.js +0 -42
- package/dist/serialization/resources/entities/client/listEntityRelations.d.ts +0 -11
- package/dist/serialization/resources/entities/client/listEntityRelations.js +0 -42
- package/dist/serialization/resources/entities/client/requests/EntityRelationCreate.d.ts +0 -15
- package/dist/serialization/resources/entities/client/requests/EntityRelationUpdate.d.ts +0 -15
- package/dist/serialization/resources/entities/client/requests/index.d.ts +0 -4
- package/dist/serialization/resources/entities/client/requests/index.js +0 -11
- package/dist/serialization/resources/entities/index.d.ts +0 -2
- package/dist/serialization/resources/entities/index.js +0 -18
- package/dist/serialization/resources/entities/types/index.d.ts +0 -2
- package/dist/serialization/resources/entities/types/index.js +0 -18
- package/dist/serialization/resources/transformers/client/index.d.ts +0 -2
- package/dist/serialization/resources/transformers/client/listTransformers.d.ts +0 -11
- package/dist/serialization/resources/transformers/client/requests/index.d.ts +0 -2
- package/dist/serialization/resources/transformers/client/requests/index.js +0 -7
- package/dist/serialization/resources/transformers/index.d.ts +0 -1
- package/dist/serialization/resources/transformers/index.js +0 -17
- package/dist/serialization/resources/users/client/index.d.ts +0 -1
- package/dist/serialization/resources/users/client/index.js +0 -17
- package/dist/serialization/resources/users/client/requests/UserCreate.d.ts +0 -14
- package/dist/serialization/resources/users/client/requests/UserCreate.js +0 -45
- package/dist/serialization/resources/users/client/requests/index.d.ts +0 -1
- package/dist/serialization/resources/users/client/requests/index.js +0 -5
- package/dist/serialization/resources/users/index.d.ts +0 -1
- package/dist/serialization/resources/users/index.js +0 -17
- package/dist/serialization/types/ApiKeyCreate.d.ts +0 -12
- package/dist/serialization/types/ResponseType.d.ts +0 -10
- package/dist/serialization/types/ResponseType.js +0 -41
- package/serialization/resources/connections/client/requests/BodySendOauth2CodeConnectionsOauth2SourceCodePost.d.ts +0 -13
- package/serialization/resources/destinations/client/index.d.ts +0 -1
- package/serialization/resources/destinations/client/index.js +0 -37
- package/serialization/resources/destinations/client/listDestinations.d.ts +0 -11
- package/serialization/resources/destinations/client/listDestinations.js +0 -42
- package/serialization/resources/destinations/index.d.ts +0 -1
- package/serialization/resources/destinations/index.js +0 -17
- package/serialization/resources/entities/client/getEntityDefinitionsByIds.d.ts +0 -15
- package/serialization/resources/entities/client/getEntityDefinitionsByIds.js +0 -43
- package/serialization/resources/entities/client/getEntityDefinitionsBySourceShortName.d.ts +0 -11
- package/serialization/resources/entities/client/getEntityDefinitionsBySourceShortName.js +0 -42
- package/serialization/resources/entities/client/index.d.ts +0 -5
- package/serialization/resources/entities/client/index.js +0 -44
- package/serialization/resources/entities/client/listEntityDefinitions.d.ts +0 -11
- package/serialization/resources/entities/client/listEntityDefinitions.js +0 -42
- package/serialization/resources/entities/client/listEntityRelations.d.ts +0 -11
- package/serialization/resources/entities/client/listEntityRelations.js +0 -42
- package/serialization/resources/entities/client/requests/EntityRelationCreate.d.ts +0 -15
- package/serialization/resources/entities/client/requests/EntityRelationUpdate.d.ts +0 -15
- package/serialization/resources/entities/client/requests/index.d.ts +0 -4
- package/serialization/resources/entities/client/requests/index.js +0 -11
- package/serialization/resources/entities/index.d.ts +0 -2
- package/serialization/resources/entities/index.js +0 -18
- package/serialization/resources/entities/types/index.d.ts +0 -2
- package/serialization/resources/entities/types/index.js +0 -18
- package/serialization/resources/transformers/client/index.d.ts +0 -2
- package/serialization/resources/transformers/client/listTransformers.js +0 -42
- package/serialization/resources/transformers/client/requests/index.d.ts +0 -2
- package/serialization/resources/transformers/client/requests/index.js +0 -7
- package/serialization/resources/transformers/index.d.ts +0 -1
- package/serialization/resources/transformers/index.js +0 -17
- package/serialization/resources/users/client/index.d.ts +0 -1
- package/serialization/resources/users/client/index.js +0 -17
- package/serialization/resources/users/client/requests/UserCreate.d.ts +0 -14
- package/serialization/resources/users/client/requests/UserCreate.js +0 -45
- package/serialization/resources/users/client/requests/index.d.ts +0 -1
- package/serialization/resources/users/client/requests/index.js +0 -5
- package/serialization/resources/users/index.d.ts +0 -1
- package/serialization/resources/users/index.js +0 -17
- package/serialization/types/ApiKeyCreate.d.ts +0 -12
- package/serialization/types/ResponseType.d.ts +0 -10
- package/serialization/types/ResponseType.js +0 -41
- /package/api/resources/{destinations → apiKeys}/client/index.d.ts +0 -0
- /package/api/resources/{destinations → apiKeys}/client/index.js +0 -0
- /package/api/{types → resources/apiKeys/client/requests}/ApiKeyCreate.js +0 -0
- /package/api/resources/{connections/client/requests/BodySendOauth2CodeConnectionsOauth2SourceCodePost.js → apiKeys/client/requests/DeleteApiKeyApiKeysDeleteRequest.js} +0 -0
- /package/api/resources/{connections/client/requests/DeleteConnectionConnectionsDeleteSourceConnectionIdDeleteRequest.js → apiKeys/client/requests/ReadApiKeysApiKeysGetRequest.js} +0 -0
- /package/api/resources/{destinations → apiKeys}/client/requests/index.js +0 -0
- /package/api/resources/{destinations → apiKeys}/index.d.ts +0 -0
- /package/api/resources/{destinations → apiKeys}/index.js +0 -0
- /package/{dist/api/resources/connections/client/requests → api/types}/BodySendOauth2CodeConnectionsOauth2SourceCodePost.js +0 -0
- /package/api/{resources/entities/client/requests → types}/EntityDefinitionCreate.js +0 -0
- /package/api/{resources/entities/types → types}/EntityDefinitionCreateEntitySchema.d.ts +0 -0
- /package/api/{resources/entities/types → types}/EntityDefinitionCreateEntitySchema.js +0 -0
- /package/api/{resources/entities/client/requests → types}/EntityDefinitionUpdate.js +0 -0
- /package/api/{resources/entities/types → types}/EntityDefinitionUpdateEntitySchema.d.ts +0 -0
- /package/api/{resources/entities/types → types}/EntityDefinitionUpdateEntitySchema.js +0 -0
- /package/api/{resources/entities/client/requests → types}/EntityRelationCreate.js +0 -0
- /package/api/{resources/entities/client/requests → types}/EntityRelationUpdate.js +0 -0
- /package/api/{resources/transformers/client/requests → types}/TransformerCreate.js +0 -0
- /package/api/{resources/transformers/client/requests → types}/TransformerUpdate.js +0 -0
- /package/{api/resources/entities → dist/api/resources/apiKeys}/client/index.d.ts +0 -0
- /package/{api/resources/entities → dist/api/resources/apiKeys}/client/index.js +0 -0
- /package/dist/api/{types → resources/apiKeys/client/requests}/ApiKeyCreate.js +0 -0
- /package/{api/resources/connections/client/requests/DisconnectSourceConnectionConnectionsDisconnectSourceConnectionIdPutRequest.js → dist/api/resources/apiKeys/client/requests/DeleteApiKeyApiKeysDeleteRequest.js} +0 -0
- /package/{api/resources/connections/client/requests/GetConnectionConnectionsDetailConnectionIdGetRequest.js → dist/api/resources/apiKeys/client/requests/ReadApiKeysApiKeysGetRequest.js} +0 -0
- /package/{api/resources/embeddingModels → dist/api/resources/apiKeys}/client/requests/index.js +0 -0
- /package/{api/resources/transformers → dist/api/resources/apiKeys}/index.d.ts +0 -0
- /package/{api/resources/transformers → dist/api/resources/apiKeys}/index.js +0 -0
- /package/{api/resources/connections/client/requests/GetConnectionCredentialsConnectionsCredentialsConnectionIdGetRequest.js → dist/api/types/BodySendOauth2CodeConnectionsOauth2SourceCodePost.js} +0 -0
- /package/dist/api/{resources/entities/client/requests → types}/EntityDefinitionCreate.js +0 -0
- /package/dist/api/{resources/entities/types → types}/EntityDefinitionCreateEntitySchema.d.ts +0 -0
- /package/dist/api/{resources/entities/types → types}/EntityDefinitionCreateEntitySchema.js +0 -0
- /package/dist/api/{resources/entities/client/requests → types}/EntityDefinitionUpdate.js +0 -0
- /package/dist/api/{resources/entities/types → types}/EntityDefinitionUpdateEntitySchema.d.ts +0 -0
- /package/dist/api/{resources/entities/types → types}/EntityDefinitionUpdateEntitySchema.js +0 -0
- /package/dist/api/{resources/entities/client/requests → types}/EntityRelationCreate.js +0 -0
- /package/dist/api/{resources/entities/client/requests → types}/EntityRelationUpdate.js +0 -0
- /package/dist/api/{resources/transformers/client/requests → types}/TransformerCreate.js +0 -0
- /package/dist/api/{resources/transformers/client/requests → types}/TransformerUpdate.js +0 -0
- /package/{api/resources/users → dist/serialization/resources/apiKeys}/index.d.ts +0 -0
- /package/{api/resources/users → dist/serialization/resources/apiKeys}/index.js +0 -0
- /package/{dist/api/resources/destinations → serialization/resources/apiKeys}/index.d.ts +0 -0
- /package/{dist/api/resources/destinations → serialization/resources/apiKeys}/index.js +0 -0
|
@@ -44,17 +44,6 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
44
44
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
45
45
|
});
|
|
46
46
|
};
|
|
47
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
48
|
-
var t = {};
|
|
49
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
50
|
-
t[p] = s[p];
|
|
51
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
52
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
53
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
54
|
-
t[p[i]] = s[p[i]];
|
|
55
|
-
}
|
|
56
|
-
return t;
|
|
57
|
-
};
|
|
58
47
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
59
48
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
60
49
|
};
|
|
@@ -91,14 +80,12 @@ class Sync {
|
|
|
91
80
|
* @throws {@link AirweaveSDK.UnprocessableEntityError}
|
|
92
81
|
*
|
|
93
82
|
* @example
|
|
94
|
-
* await client.sync.listSyncs(
|
|
95
|
-
* creds: "creds"
|
|
96
|
-
* })
|
|
83
|
+
* await client.sync.listSyncs()
|
|
97
84
|
*/
|
|
98
|
-
listSyncs(
|
|
99
|
-
return __awaiter(this,
|
|
85
|
+
listSyncs() {
|
|
86
|
+
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
100
87
|
var _a;
|
|
101
|
-
const { skip, limit, withSourceConnection
|
|
88
|
+
const { skip, limit, withSourceConnection } = request;
|
|
102
89
|
const _queryParams = {};
|
|
103
90
|
if (skip != null) {
|
|
104
91
|
_queryParams["skip"] = skip.toString();
|
|
@@ -109,13 +96,12 @@ class Sync {
|
|
|
109
96
|
if (withSourceConnection != null) {
|
|
110
97
|
_queryParams["with_source_connection"] = withSourceConnection.toString();
|
|
111
98
|
}
|
|
112
|
-
_queryParams["creds"] = creds;
|
|
113
99
|
const _response = yield core.fetcher({
|
|
114
100
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.AirweaveSDKEnvironment.Production, "sync/"),
|
|
115
101
|
method: "GET",
|
|
116
102
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
117
103
|
? yield core.Supplier.get(this._options.apiKey)
|
|
118
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "
|
|
104
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.2.23", "User-Agent": "@airweave/sdk/0.2.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
119
105
|
contentType: "application/json",
|
|
120
106
|
queryParameters: _queryParams,
|
|
121
107
|
requestType: "json",
|
|
@@ -183,37 +169,23 @@ class Sync {
|
|
|
183
169
|
*
|
|
184
170
|
* @example
|
|
185
171
|
* await client.sync.createSync({
|
|
186
|
-
* creds: "creds",
|
|
187
172
|
* name: "name",
|
|
188
173
|
* sourceConnectionId: "source_connection_id",
|
|
189
|
-
*
|
|
190
|
-
* destinationConnectionIds: ["destination_connection_ids", "destination_connection_ids"],
|
|
191
|
-
* description: undefined,
|
|
192
|
-
* cronSchedule: undefined,
|
|
193
|
-
* nextScheduledRun: undefined,
|
|
194
|
-
* whiteLabelId: undefined,
|
|
195
|
-
* whiteLabelUserIdentifier: undefined,
|
|
196
|
-
* syncMetadata: undefined,
|
|
197
|
-
* status: undefined,
|
|
198
|
-
* runImmediately: undefined
|
|
174
|
+
* destinationConnectionIds: ["destination_connection_ids"]
|
|
199
175
|
* })
|
|
200
176
|
*/
|
|
201
177
|
createSync(request, requestOptions) {
|
|
202
178
|
return __awaiter(this, void 0, void 0, function* () {
|
|
203
179
|
var _a;
|
|
204
|
-
const { creds } = request, _body = __rest(request, ["creds"]);
|
|
205
|
-
const _queryParams = {};
|
|
206
|
-
_queryParams["creds"] = creds;
|
|
207
180
|
const _response = yield core.fetcher({
|
|
208
181
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.AirweaveSDKEnvironment.Production, "sync/"),
|
|
209
182
|
method: "POST",
|
|
210
183
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
211
184
|
? yield core.Supplier.get(this._options.apiKey)
|
|
212
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "
|
|
185
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.2.23", "User-Agent": "@airweave/sdk/0.2.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
213
186
|
contentType: "application/json",
|
|
214
|
-
queryParameters: _queryParams,
|
|
215
187
|
requestType: "json",
|
|
216
|
-
body: serializers.SyncCreate.jsonOrThrow(
|
|
188
|
+
body: serializers.SyncCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
217
189
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
218
190
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
219
191
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -277,14 +249,12 @@ class Sync {
|
|
|
277
249
|
* @throws {@link AirweaveSDK.UnprocessableEntityError}
|
|
278
250
|
*
|
|
279
251
|
* @example
|
|
280
|
-
* await client.sync.listAllJobs(
|
|
281
|
-
* creds: "creds"
|
|
282
|
-
* })
|
|
252
|
+
* await client.sync.listAllJobs()
|
|
283
253
|
*/
|
|
284
|
-
listAllJobs(
|
|
285
|
-
return __awaiter(this,
|
|
254
|
+
listAllJobs() {
|
|
255
|
+
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
286
256
|
var _a;
|
|
287
|
-
const { skip, limit
|
|
257
|
+
const { skip, limit } = request;
|
|
288
258
|
const _queryParams = {};
|
|
289
259
|
if (skip != null) {
|
|
290
260
|
_queryParams["skip"] = skip.toString();
|
|
@@ -292,13 +262,12 @@ class Sync {
|
|
|
292
262
|
if (limit != null) {
|
|
293
263
|
_queryParams["limit"] = limit.toString();
|
|
294
264
|
}
|
|
295
|
-
_queryParams["creds"] = creds;
|
|
296
265
|
const _response = yield core.fetcher({
|
|
297
266
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.AirweaveSDKEnvironment.Production, "sync/jobs"),
|
|
298
267
|
method: "GET",
|
|
299
268
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
300
269
|
? yield core.Supplier.get(this._options.apiKey)
|
|
301
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "
|
|
270
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.2.23", "User-Agent": "@airweave/sdk/0.2.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
302
271
|
contentType: "application/json",
|
|
303
272
|
queryParameters: _queryParams,
|
|
304
273
|
requestType: "json",
|
|
@@ -359,30 +328,23 @@ class Sync {
|
|
|
359
328
|
* sync (schemas.Sync): The sync
|
|
360
329
|
*
|
|
361
330
|
* @param {string} syncId
|
|
362
|
-
* @param {AirweaveSDK.GetSyncSyncSyncIdGetRequest} request
|
|
363
331
|
* @param {Sync.RequestOptions} requestOptions - Request-specific configuration.
|
|
364
332
|
*
|
|
365
333
|
* @throws {@link AirweaveSDK.UnprocessableEntityError}
|
|
366
334
|
*
|
|
367
335
|
* @example
|
|
368
|
-
* await client.sync.getSync("sync_id"
|
|
369
|
-
* creds: "creds"
|
|
370
|
-
* })
|
|
336
|
+
* await client.sync.getSync("sync_id")
|
|
371
337
|
*/
|
|
372
|
-
getSync(syncId,
|
|
338
|
+
getSync(syncId, requestOptions) {
|
|
373
339
|
return __awaiter(this, void 0, void 0, function* () {
|
|
374
340
|
var _a;
|
|
375
|
-
const { creds } = request;
|
|
376
|
-
const _queryParams = {};
|
|
377
|
-
_queryParams["creds"] = creds;
|
|
378
341
|
const _response = yield core.fetcher({
|
|
379
342
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.AirweaveSDKEnvironment.Production, `sync/${encodeURIComponent(syncId)}`),
|
|
380
343
|
method: "GET",
|
|
381
344
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
382
345
|
? yield core.Supplier.get(this._options.apiKey)
|
|
383
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "
|
|
346
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.2.23", "User-Agent": "@airweave/sdk/0.2.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
384
347
|
contentType: "application/json",
|
|
385
|
-
queryParameters: _queryParams,
|
|
386
348
|
requestType: "json",
|
|
387
349
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
388
350
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
@@ -448,25 +410,22 @@ class Sync {
|
|
|
448
410
|
* @throws {@link AirweaveSDK.UnprocessableEntityError}
|
|
449
411
|
*
|
|
450
412
|
* @example
|
|
451
|
-
* await client.sync.deleteSync("sync_id"
|
|
452
|
-
* creds: "creds"
|
|
453
|
-
* })
|
|
413
|
+
* await client.sync.deleteSync("sync_id")
|
|
454
414
|
*/
|
|
455
|
-
deleteSync(
|
|
456
|
-
return __awaiter(this,
|
|
415
|
+
deleteSync(syncId_1) {
|
|
416
|
+
return __awaiter(this, arguments, void 0, function* (syncId, request = {}, requestOptions) {
|
|
457
417
|
var _a;
|
|
458
|
-
const { deleteData
|
|
418
|
+
const { deleteData } = request;
|
|
459
419
|
const _queryParams = {};
|
|
460
420
|
if (deleteData != null) {
|
|
461
421
|
_queryParams["delete_data"] = deleteData.toString();
|
|
462
422
|
}
|
|
463
|
-
_queryParams["creds"] = creds;
|
|
464
423
|
const _response = yield core.fetcher({
|
|
465
424
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.AirweaveSDKEnvironment.Production, `sync/${encodeURIComponent(syncId)}`),
|
|
466
425
|
method: "DELETE",
|
|
467
426
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
468
427
|
? yield core.Supplier.get(this._options.apiKey)
|
|
469
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "
|
|
428
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.2.23", "User-Agent": "@airweave/sdk/0.2.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
470
429
|
contentType: "application/json",
|
|
471
430
|
queryParameters: _queryParams,
|
|
472
431
|
requestType: "json",
|
|
@@ -534,33 +493,20 @@ class Sync {
|
|
|
534
493
|
* @throws {@link AirweaveSDK.UnprocessableEntityError}
|
|
535
494
|
*
|
|
536
495
|
* @example
|
|
537
|
-
* await client.sync.updateSync("sync_id"
|
|
538
|
-
* creds: "creds",
|
|
539
|
-
* name: undefined,
|
|
540
|
-
* cronSchedule: undefined,
|
|
541
|
-
* nextScheduledRun: undefined,
|
|
542
|
-
* whiteLabelId: undefined,
|
|
543
|
-
* whiteLabelUserIdentifier: undefined,
|
|
544
|
-
* syncMetadata: undefined,
|
|
545
|
-
* status: undefined
|
|
546
|
-
* })
|
|
496
|
+
* await client.sync.updateSync("sync_id")
|
|
547
497
|
*/
|
|
548
|
-
updateSync(
|
|
549
|
-
return __awaiter(this,
|
|
498
|
+
updateSync(syncId_1) {
|
|
499
|
+
return __awaiter(this, arguments, void 0, function* (syncId, request = {}, requestOptions) {
|
|
550
500
|
var _a;
|
|
551
|
-
const { creds } = request, _body = __rest(request, ["creds"]);
|
|
552
|
-
const _queryParams = {};
|
|
553
|
-
_queryParams["creds"] = creds;
|
|
554
501
|
const _response = yield core.fetcher({
|
|
555
502
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.AirweaveSDKEnvironment.Production, `sync/${encodeURIComponent(syncId)}`),
|
|
556
503
|
method: "PATCH",
|
|
557
504
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
558
505
|
? yield core.Supplier.get(this._options.apiKey)
|
|
559
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "
|
|
506
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.2.23", "User-Agent": "@airweave/sdk/0.2.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
560
507
|
contentType: "application/json",
|
|
561
|
-
queryParameters: _queryParams,
|
|
562
508
|
requestType: "json",
|
|
563
|
-
body: serializers.SyncUpdate.jsonOrThrow(
|
|
509
|
+
body: serializers.SyncUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
564
510
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
565
511
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
566
512
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -619,30 +565,23 @@ class Sync {
|
|
|
619
565
|
* sync_job (schemas.SyncJob): The sync job
|
|
620
566
|
*
|
|
621
567
|
* @param {string} syncId
|
|
622
|
-
* @param {AirweaveSDK.RunSyncSyncSyncIdRunPostRequest} request
|
|
623
568
|
* @param {Sync.RequestOptions} requestOptions - Request-specific configuration.
|
|
624
569
|
*
|
|
625
570
|
* @throws {@link AirweaveSDK.UnprocessableEntityError}
|
|
626
571
|
*
|
|
627
572
|
* @example
|
|
628
|
-
* await client.sync.runSync("sync_id"
|
|
629
|
-
* creds: "creds"
|
|
630
|
-
* })
|
|
573
|
+
* await client.sync.runSync("sync_id")
|
|
631
574
|
*/
|
|
632
|
-
runSync(syncId,
|
|
575
|
+
runSync(syncId, requestOptions) {
|
|
633
576
|
return __awaiter(this, void 0, void 0, function* () {
|
|
634
577
|
var _a;
|
|
635
|
-
const { creds } = request;
|
|
636
|
-
const _queryParams = {};
|
|
637
|
-
_queryParams["creds"] = creds;
|
|
638
578
|
const _response = yield core.fetcher({
|
|
639
579
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.AirweaveSDKEnvironment.Production, `sync/${encodeURIComponent(syncId)}/run`),
|
|
640
580
|
method: "POST",
|
|
641
581
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
642
582
|
? yield core.Supplier.get(this._options.apiKey)
|
|
643
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "
|
|
583
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.2.23", "User-Agent": "@airweave/sdk/0.2.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
644
584
|
contentType: "application/json",
|
|
645
|
-
queryParameters: _queryParams,
|
|
646
585
|
requestType: "json",
|
|
647
586
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
648
587
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
@@ -701,30 +640,23 @@ class Sync {
|
|
|
701
640
|
* list[schemas.SyncJob]: A list of sync jobs
|
|
702
641
|
*
|
|
703
642
|
* @param {string} syncId
|
|
704
|
-
* @param {AirweaveSDK.ListSyncJobsSyncSyncIdJobsGetRequest} request
|
|
705
643
|
* @param {Sync.RequestOptions} requestOptions - Request-specific configuration.
|
|
706
644
|
*
|
|
707
645
|
* @throws {@link AirweaveSDK.UnprocessableEntityError}
|
|
708
646
|
*
|
|
709
647
|
* @example
|
|
710
|
-
* await client.sync.listSyncJobs("sync_id"
|
|
711
|
-
* creds: "creds"
|
|
712
|
-
* })
|
|
648
|
+
* await client.sync.listSyncJobs("sync_id")
|
|
713
649
|
*/
|
|
714
|
-
listSyncJobs(syncId,
|
|
650
|
+
listSyncJobs(syncId, requestOptions) {
|
|
715
651
|
return __awaiter(this, void 0, void 0, function* () {
|
|
716
652
|
var _a;
|
|
717
|
-
const { creds } = request;
|
|
718
|
-
const _queryParams = {};
|
|
719
|
-
_queryParams["creds"] = creds;
|
|
720
653
|
const _response = yield core.fetcher({
|
|
721
654
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.AirweaveSDKEnvironment.Production, `sync/${encodeURIComponent(syncId)}/jobs`),
|
|
722
655
|
method: "GET",
|
|
723
656
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
724
657
|
? yield core.Supplier.get(this._options.apiKey)
|
|
725
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "
|
|
658
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.2.23", "User-Agent": "@airweave/sdk/0.2.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
726
659
|
contentType: "application/json",
|
|
727
|
-
queryParameters: _queryParams,
|
|
728
660
|
requestType: "json",
|
|
729
661
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
730
662
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
@@ -785,30 +717,23 @@ class Sync {
|
|
|
785
717
|
*
|
|
786
718
|
* @param {string} syncId
|
|
787
719
|
* @param {string} jobId
|
|
788
|
-
* @param {AirweaveSDK.GetSyncJobSyncSyncIdJobJobIdGetRequest} request
|
|
789
720
|
* @param {Sync.RequestOptions} requestOptions - Request-specific configuration.
|
|
790
721
|
*
|
|
791
722
|
* @throws {@link AirweaveSDK.UnprocessableEntityError}
|
|
792
723
|
*
|
|
793
724
|
* @example
|
|
794
|
-
* await client.sync.getSyncJob("sync_id", "job_id"
|
|
795
|
-
* creds: "creds"
|
|
796
|
-
* })
|
|
725
|
+
* await client.sync.getSyncJob("sync_id", "job_id")
|
|
797
726
|
*/
|
|
798
|
-
getSyncJob(syncId, jobId,
|
|
727
|
+
getSyncJob(syncId, jobId, requestOptions) {
|
|
799
728
|
return __awaiter(this, void 0, void 0, function* () {
|
|
800
729
|
var _a;
|
|
801
|
-
const { creds } = request;
|
|
802
|
-
const _queryParams = {};
|
|
803
|
-
_queryParams["creds"] = creds;
|
|
804
730
|
const _response = yield core.fetcher({
|
|
805
731
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.AirweaveSDKEnvironment.Production, `sync/${encodeURIComponent(syncId)}/job/${encodeURIComponent(jobId)}`),
|
|
806
732
|
method: "GET",
|
|
807
733
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
808
734
|
? yield core.Supplier.get(this._options.apiKey)
|
|
809
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "
|
|
735
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.2.23", "User-Agent": "@airweave/sdk/0.2.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
810
736
|
contentType: "application/json",
|
|
811
|
-
queryParameters: _queryParams,
|
|
812
737
|
requestType: "json",
|
|
813
738
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
814
739
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
@@ -859,8 +784,7 @@ class Sync {
|
|
|
859
784
|
* Args:
|
|
860
785
|
* -----
|
|
861
786
|
* job_id: The ID of the job to subscribe to
|
|
862
|
-
*
|
|
863
|
-
* db: The database session
|
|
787
|
+
* user: The current user
|
|
864
788
|
*
|
|
865
789
|
* Returns:
|
|
866
790
|
* --------
|
|
@@ -882,7 +806,7 @@ class Sync {
|
|
|
882
806
|
method: "GET",
|
|
883
807
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
884
808
|
? yield core.Supplier.get(this._options.apiKey)
|
|
885
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "
|
|
809
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.2.23", "User-Agent": "@airweave/sdk/0.2.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
886
810
|
contentType: "application/json",
|
|
887
811
|
requestType: "json",
|
|
888
812
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -927,30 +851,23 @@ class Sync {
|
|
|
927
851
|
* Get the DAG for a specific sync.
|
|
928
852
|
*
|
|
929
853
|
* @param {string} syncId
|
|
930
|
-
* @param {AirweaveSDK.GetSyncDagSyncSyncIdDagGetRequest} request
|
|
931
854
|
* @param {Sync.RequestOptions} requestOptions - Request-specific configuration.
|
|
932
855
|
*
|
|
933
856
|
* @throws {@link AirweaveSDK.UnprocessableEntityError}
|
|
934
857
|
*
|
|
935
858
|
* @example
|
|
936
|
-
* await client.sync.getSyncDag("sync_id"
|
|
937
|
-
* creds: "creds"
|
|
938
|
-
* })
|
|
859
|
+
* await client.sync.getSyncDag("sync_id")
|
|
939
860
|
*/
|
|
940
|
-
getSyncDag(syncId,
|
|
861
|
+
getSyncDag(syncId, requestOptions) {
|
|
941
862
|
return __awaiter(this, void 0, void 0, function* () {
|
|
942
863
|
var _a;
|
|
943
|
-
const { creds } = request;
|
|
944
|
-
const _queryParams = {};
|
|
945
|
-
_queryParams["creds"] = creds;
|
|
946
864
|
const _response = yield core.fetcher({
|
|
947
865
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.AirweaveSDKEnvironment.Production, `sync/${encodeURIComponent(syncId)}/dag`),
|
|
948
866
|
method: "GET",
|
|
949
867
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
950
868
|
? yield core.Supplier.get(this._options.apiKey)
|
|
951
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "
|
|
869
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.2.23", "User-Agent": "@airweave/sdk/0.2.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
952
870
|
contentType: "application/json",
|
|
953
|
-
queryParameters: _queryParams,
|
|
954
871
|
requestType: "json",
|
|
955
872
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
956
873
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
@@ -5,23 +5,12 @@ import * as AirweaveSDK from "../../../../index";
|
|
|
5
5
|
/**
|
|
6
6
|
* @example
|
|
7
7
|
* {
|
|
8
|
-
* creds: "creds",
|
|
9
8
|
* name: "name",
|
|
10
9
|
* sourceConnectionId: "source_connection_id",
|
|
11
|
-
*
|
|
12
|
-
* destinationConnectionIds: ["destination_connection_ids", "destination_connection_ids"],
|
|
13
|
-
* description: undefined,
|
|
14
|
-
* cronSchedule: undefined,
|
|
15
|
-
* nextScheduledRun: undefined,
|
|
16
|
-
* whiteLabelId: undefined,
|
|
17
|
-
* whiteLabelUserIdentifier: undefined,
|
|
18
|
-
* syncMetadata: undefined,
|
|
19
|
-
* status: undefined,
|
|
20
|
-
* runImmediately: undefined
|
|
10
|
+
* destinationConnectionIds: ["destination_connection_ids"]
|
|
21
11
|
* }
|
|
22
12
|
*/
|
|
23
13
|
export interface SyncCreate {
|
|
24
|
-
creds: string;
|
|
25
14
|
name: string;
|
|
26
15
|
sourceConnectionId: string;
|
|
27
16
|
embeddingModelConnectionId?: string;
|
|
@@ -4,19 +4,9 @@
|
|
|
4
4
|
import * as AirweaveSDK from "../../../../index";
|
|
5
5
|
/**
|
|
6
6
|
* @example
|
|
7
|
-
* {
|
|
8
|
-
* creds: "creds",
|
|
9
|
-
* name: undefined,
|
|
10
|
-
* cronSchedule: undefined,
|
|
11
|
-
* nextScheduledRun: undefined,
|
|
12
|
-
* whiteLabelId: undefined,
|
|
13
|
-
* whiteLabelUserIdentifier: undefined,
|
|
14
|
-
* syncMetadata: undefined,
|
|
15
|
-
* status: undefined
|
|
16
|
-
* }
|
|
7
|
+
* {}
|
|
17
8
|
*/
|
|
18
9
|
export interface SyncUpdate {
|
|
19
|
-
creds: string;
|
|
20
10
|
name?: string;
|
|
21
11
|
cronSchedule?: string;
|
|
22
12
|
nextScheduledRun?: Date;
|
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
export { type ListSyncsSyncGetRequest } from "./ListSyncsSyncGetRequest";
|
|
2
2
|
export { type SyncCreate } from "./SyncCreate";
|
|
3
3
|
export { type ListAllJobsSyncJobsGetRequest } from "./ListAllJobsSyncJobsGetRequest";
|
|
4
|
-
export { type GetSyncSyncSyncIdGetRequest } from "./GetSyncSyncSyncIdGetRequest";
|
|
5
4
|
export { type DeleteSyncSyncSyncIdDeleteRequest } from "./DeleteSyncSyncSyncIdDeleteRequest";
|
|
6
5
|
export { type SyncUpdate } from "./SyncUpdate";
|
|
7
|
-
export { type RunSyncSyncSyncIdRunPostRequest } from "./RunSyncSyncSyncIdRunPostRequest";
|
|
8
|
-
export { type ListSyncJobsSyncSyncIdJobsGetRequest } from "./ListSyncJobsSyncSyncIdJobsGetRequest";
|
|
9
|
-
export { type GetSyncJobSyncSyncIdJobJobIdGetRequest } from "./GetSyncJobSyncSyncIdJobJobIdGetRequest";
|
|
10
|
-
export { type GetSyncDagSyncSyncIdDagGetRequest } from "./GetSyncDagSyncSyncIdDagGetRequest";
|
|
@@ -38,17 +38,14 @@ export declare class WhiteLabels {
|
|
|
38
38
|
* --------
|
|
39
39
|
* list[schemas.WhiteLabel]: A list of white labels
|
|
40
40
|
*
|
|
41
|
-
* @param {AirweaveSDK.ListWhiteLabelsWhiteLabelsListGetRequest} request
|
|
42
41
|
* @param {WhiteLabels.RequestOptions} requestOptions - Request-specific configuration.
|
|
43
42
|
*
|
|
44
43
|
* @throws {@link AirweaveSDK.UnprocessableEntityError}
|
|
45
44
|
*
|
|
46
45
|
* @example
|
|
47
|
-
* await client.whiteLabels.listWhiteLabels(
|
|
48
|
-
* creds: "creds"
|
|
49
|
-
* })
|
|
46
|
+
* await client.whiteLabels.listWhiteLabels()
|
|
50
47
|
*/
|
|
51
|
-
listWhiteLabels(
|
|
48
|
+
listWhiteLabels(requestOptions?: WhiteLabels.RequestOptions): Promise<AirweaveSDK.WhiteLabel[]>;
|
|
52
49
|
/**
|
|
53
50
|
* Create new white label integration.
|
|
54
51
|
*
|
|
@@ -69,7 +66,6 @@ export declare class WhiteLabels {
|
|
|
69
66
|
*
|
|
70
67
|
* @example
|
|
71
68
|
* await client.whiteLabels.createWhiteLabel({
|
|
72
|
-
* creds: "creds",
|
|
73
69
|
* name: "name",
|
|
74
70
|
* sourceShortName: "source_short_name",
|
|
75
71
|
* redirectUrl: "redirect_url",
|
|
@@ -92,17 +88,14 @@ export declare class WhiteLabels {
|
|
|
92
88
|
* white_label (schemas.WhiteLabel): The white label
|
|
93
89
|
*
|
|
94
90
|
* @param {string} whiteLabelId
|
|
95
|
-
* @param {AirweaveSDK.GetWhiteLabelWhiteLabelsWhiteLabelIdGetRequest} request
|
|
96
91
|
* @param {WhiteLabels.RequestOptions} requestOptions - Request-specific configuration.
|
|
97
92
|
*
|
|
98
93
|
* @throws {@link AirweaveSDK.UnprocessableEntityError}
|
|
99
94
|
*
|
|
100
95
|
* @example
|
|
101
|
-
* await client.whiteLabels.getWhiteLabel("white_label_id"
|
|
102
|
-
* creds: "creds"
|
|
103
|
-
* })
|
|
96
|
+
* await client.whiteLabels.getWhiteLabel("white_label_id")
|
|
104
97
|
*/
|
|
105
|
-
getWhiteLabel(whiteLabelId: string,
|
|
98
|
+
getWhiteLabel(whiteLabelId: string, requestOptions?: WhiteLabels.RequestOptions): Promise<AirweaveSDK.WhiteLabel>;
|
|
106
99
|
/**
|
|
107
100
|
* Update a white label integration.
|
|
108
101
|
*
|
|
@@ -124,15 +117,9 @@ export declare class WhiteLabels {
|
|
|
124
117
|
* @throws {@link AirweaveSDK.UnprocessableEntityError}
|
|
125
118
|
*
|
|
126
119
|
* @example
|
|
127
|
-
* await client.whiteLabels.updateWhiteLabel("white_label_id"
|
|
128
|
-
* creds: "creds",
|
|
129
|
-
* name: undefined,
|
|
130
|
-
* redirectUrl: undefined,
|
|
131
|
-
* clientId: undefined,
|
|
132
|
-
* clientSecret: undefined
|
|
133
|
-
* })
|
|
120
|
+
* await client.whiteLabels.updateWhiteLabel("white_label_id")
|
|
134
121
|
*/
|
|
135
|
-
updateWhiteLabel(whiteLabelId: string, request
|
|
122
|
+
updateWhiteLabel(whiteLabelId: string, request?: AirweaveSDK.WhiteLabelUpdate, requestOptions?: WhiteLabels.RequestOptions): Promise<AirweaveSDK.WhiteLabel>;
|
|
136
123
|
/**
|
|
137
124
|
* Delete a white label integration.
|
|
138
125
|
*
|
|
@@ -147,17 +134,14 @@ export declare class WhiteLabels {
|
|
|
147
134
|
* white_label (schemas.WhiteLabel): The deleted white label
|
|
148
135
|
*
|
|
149
136
|
* @param {string} whiteLabelId
|
|
150
|
-
* @param {AirweaveSDK.DeleteWhiteLabelWhiteLabelsWhiteLabelIdDeleteRequest} request
|
|
151
137
|
* @param {WhiteLabels.RequestOptions} requestOptions - Request-specific configuration.
|
|
152
138
|
*
|
|
153
139
|
* @throws {@link AirweaveSDK.UnprocessableEntityError}
|
|
154
140
|
*
|
|
155
141
|
* @example
|
|
156
|
-
* await client.whiteLabels.deleteWhiteLabel("white_label_id"
|
|
157
|
-
* creds: "creds"
|
|
158
|
-
* })
|
|
142
|
+
* await client.whiteLabels.deleteWhiteLabel("white_label_id")
|
|
159
143
|
*/
|
|
160
|
-
deleteWhiteLabel(whiteLabelId: string,
|
|
144
|
+
deleteWhiteLabel(whiteLabelId: string, requestOptions?: WhiteLabels.RequestOptions): Promise<AirweaveSDK.WhiteLabel>;
|
|
161
145
|
/**
|
|
162
146
|
* Generate the OAuth2 authorization URL by delegating to oauth2_service.
|
|
163
147
|
*
|
|
@@ -172,17 +156,14 @@ export declare class WhiteLabels {
|
|
|
172
156
|
* str: The OAuth2 authorization URL
|
|
173
157
|
*
|
|
174
158
|
* @param {string} whiteLabelId
|
|
175
|
-
* @param {AirweaveSDK.GetWhiteLabelOauth2AuthUrlWhiteLabelsWhiteLabelIdOauth2AuthUrlGetRequest} request
|
|
176
159
|
* @param {WhiteLabels.RequestOptions} requestOptions - Request-specific configuration.
|
|
177
160
|
*
|
|
178
161
|
* @throws {@link AirweaveSDK.UnprocessableEntityError}
|
|
179
162
|
*
|
|
180
163
|
* @example
|
|
181
|
-
* await client.whiteLabels.getWhiteLabelOauth2AuthUrl("white_label_id"
|
|
182
|
-
* creds: "creds"
|
|
183
|
-
* })
|
|
164
|
+
* await client.whiteLabels.getWhiteLabelOauth2AuthUrl("white_label_id")
|
|
184
165
|
*/
|
|
185
|
-
getWhiteLabelOauth2AuthUrl(whiteLabelId: string,
|
|
166
|
+
getWhiteLabelOauth2AuthUrl(whiteLabelId: string, requestOptions?: WhiteLabels.RequestOptions): Promise<string>;
|
|
186
167
|
/**
|
|
187
168
|
* Exchange OAuth2 code for tokens and create connection.
|
|
188
169
|
*
|
|
@@ -198,18 +179,15 @@ export declare class WhiteLabels {
|
|
|
198
179
|
* connection (schemas.Connection): The created connection
|
|
199
180
|
*
|
|
200
181
|
* @param {string} whiteLabelId
|
|
201
|
-
* @param {
|
|
182
|
+
* @param {string} request
|
|
202
183
|
* @param {WhiteLabels.RequestOptions} requestOptions - Request-specific configuration.
|
|
203
184
|
*
|
|
204
185
|
* @throws {@link AirweaveSDK.UnprocessableEntityError}
|
|
205
186
|
*
|
|
206
187
|
* @example
|
|
207
|
-
* await client.whiteLabels.exchangeWhiteLabelOauth2Code("white_label_id",
|
|
208
|
-
* creds: "creds",
|
|
209
|
-
* body: "string"
|
|
210
|
-
* })
|
|
188
|
+
* await client.whiteLabels.exchangeWhiteLabelOauth2Code("white_label_id", "string")
|
|
211
189
|
*/
|
|
212
|
-
exchangeWhiteLabelOauth2Code(whiteLabelId: string, request:
|
|
190
|
+
exchangeWhiteLabelOauth2Code(whiteLabelId: string, request: string, requestOptions?: WhiteLabels.RequestOptions): Promise<AirweaveSDK.Connection>;
|
|
213
191
|
/**
|
|
214
192
|
* List all syncs for a specific white label.
|
|
215
193
|
*
|
|
@@ -224,15 +202,12 @@ export declare class WhiteLabels {
|
|
|
224
202
|
* list[schemas.Sync]: A list of syncs
|
|
225
203
|
*
|
|
226
204
|
* @param {string} whiteLabelId
|
|
227
|
-
* @param {AirweaveSDK.ListWhiteLabelSyncsWhiteLabelsWhiteLabelIdSyncsGetRequest} request
|
|
228
205
|
* @param {WhiteLabels.RequestOptions} requestOptions - Request-specific configuration.
|
|
229
206
|
*
|
|
230
207
|
* @throws {@link AirweaveSDK.UnprocessableEntityError}
|
|
231
208
|
*
|
|
232
209
|
* @example
|
|
233
|
-
* await client.whiteLabels.listWhiteLabelSyncs("white_label_id"
|
|
234
|
-
* creds: "creds"
|
|
235
|
-
* })
|
|
210
|
+
* await client.whiteLabels.listWhiteLabelSyncs("white_label_id")
|
|
236
211
|
*/
|
|
237
|
-
listWhiteLabelSyncs(whiteLabelId: string,
|
|
212
|
+
listWhiteLabelSyncs(whiteLabelId: string, requestOptions?: WhiteLabels.RequestOptions): Promise<AirweaveSDK.Sync[]>;
|
|
238
213
|
}
|