@airweave/sdk 0.2.8 → 0.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -10
- package/api/resources/connections/client/Client.d.ts +47 -18
- package/api/resources/connections/client/Client.js +112 -30
- package/api/resources/connections/client/requests/BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost.d.ts +6 -1
- package/api/resources/connections/client/requests/BodySendOauth2CodeConnectionsOauth2SourceCodePost.d.ts +2 -0
- package/api/resources/connections/client/requests/DeleteConnectionConnectionsDeleteSourceConnectionIdDeleteRequest.d.ts +12 -0
- package/api/resources/connections/client/requests/DeleteConnectionConnectionsDeleteSourceConnectionIdDeleteRequest.js +5 -0
- package/api/resources/connections/client/requests/DisconnectSourceConnectionConnectionsDisconnectSourceConnectionIdPutRequest.d.ts +12 -0
- package/api/resources/connections/client/requests/DisconnectSourceConnectionConnectionsDisconnectSourceConnectionIdPutRequest.js +5 -0
- package/api/resources/connections/client/requests/GetConnectionConnectionsDetailConnectionIdGetRequest.d.ts +12 -0
- package/api/resources/connections/client/requests/GetConnectionConnectionsDetailConnectionIdGetRequest.js +5 -0
- package/api/resources/connections/client/requests/GetConnectionCredentialsConnectionsCredentialsConnectionIdGetRequest.d.ts +12 -0
- package/api/resources/connections/client/requests/GetConnectionCredentialsConnectionsCredentialsConnectionIdGetRequest.js +5 -0
- package/api/resources/connections/client/requests/GetOauth2WhiteLabelAuthUrlConnectionsOauth2WhiteLabelWhiteLabelIdAuthUrlGetRequest.d.ts +12 -0
- package/api/resources/connections/client/requests/GetOauth2WhiteLabelAuthUrlConnectionsOauth2WhiteLabelWhiteLabelIdAuthUrlGetRequest.js +5 -0
- package/api/resources/connections/client/requests/ListAllConnectedIntegrationsConnectionsListGetRequest.d.ts +12 -0
- package/api/resources/connections/client/requests/ListAllConnectedIntegrationsConnectionsListGetRequest.js +5 -0
- package/api/resources/connections/client/requests/ListConnectedIntegrationsConnectionsListIntegrationTypeGetRequest.d.ts +12 -0
- package/api/resources/connections/client/requests/ListConnectedIntegrationsConnectionsListIntegrationTypeGetRequest.js +5 -0
- package/api/resources/connections/client/requests/SendOauth2WhiteLabelCodeConnectionsOauth2WhiteLabelWhiteLabelIdCodePostRequest.d.ts +14 -0
- package/api/resources/connections/client/requests/SendOauth2WhiteLabelCodeConnectionsOauth2WhiteLabelWhiteLabelIdCodePostRequest.js +5 -0
- package/api/resources/connections/client/requests/index.d.ts +8 -0
- package/api/resources/destinations/client/Client.d.ts +10 -4
- package/api/resources/destinations/client/Client.js +20 -6
- package/api/resources/destinations/client/index.d.ts +1 -1
- package/api/resources/destinations/client/index.js +15 -0
- package/api/resources/destinations/client/requests/ListDestinationsDestinationsListGetRequest.d.ts +12 -0
- package/api/resources/destinations/client/requests/ListDestinationsDestinationsListGetRequest.js +5 -0
- package/api/resources/destinations/client/requests/ReadDestinationDestinationsDetailShortNameGetRequest.d.ts +12 -0
- package/api/resources/destinations/client/requests/ReadDestinationDestinationsDetailShortNameGetRequest.js +5 -0
- package/api/resources/destinations/client/requests/index.d.ts +2 -0
- package/api/resources/destinations/client/requests/index.js +2 -0
- package/api/resources/embeddingModels/client/Client.d.ts +10 -4
- package/api/resources/embeddingModels/client/Client.js +20 -6
- package/api/resources/embeddingModels/client/index.d.ts +1 -1
- package/api/resources/embeddingModels/client/index.js +15 -0
- package/api/resources/embeddingModels/client/requests/ReadEmbeddingModelEmbeddingModelsDetailShortNameGetRequest.d.ts +12 -0
- package/api/resources/embeddingModels/client/requests/ReadEmbeddingModelEmbeddingModelsDetailShortNameGetRequest.js +5 -0
- package/api/resources/embeddingModels/client/requests/ReadEmbeddingModelsEmbeddingModelsListGetRequest.d.ts +12 -0
- package/api/resources/embeddingModels/client/requests/ReadEmbeddingModelsEmbeddingModelsListGetRequest.js +5 -0
- package/api/resources/embeddingModels/client/requests/index.d.ts +2 -0
- package/api/resources/embeddingModels/client/requests/index.js +2 -0
- package/api/resources/entities/client/Client.d.ts +30 -10
- package/api/resources/entities/client/Client.js +83 -23
- package/api/resources/entities/client/requests/EntityDefinitionCreate.d.ts +5 -1
- package/api/resources/entities/client/requests/EntityDefinitionUpdate.d.ts +5 -1
- package/api/resources/entities/client/requests/EntityRelationCreate.d.ts +3 -0
- package/api/resources/entities/client/requests/EntityRelationUpdate.d.ts +3 -0
- package/api/resources/entities/client/requests/GetEntityDefinitionsByIdsEntitiesDefinitionsByIdsPostRequest.d.ts +14 -0
- package/api/resources/entities/client/requests/GetEntityDefinitionsByIdsEntitiesDefinitionsByIdsPostRequest.js +5 -0
- package/api/resources/entities/client/requests/GetEntityDefinitionsBySourceShortNameEntitiesDefinitionsBySourceGetRequest.d.ts +3 -1
- package/api/resources/entities/client/requests/ListEntityDefinitionsEntitiesDefinitionsGetRequest.d.ts +12 -0
- package/api/resources/entities/client/requests/ListEntityDefinitionsEntitiesDefinitionsGetRequest.js +5 -0
- package/api/resources/entities/client/requests/ListEntityRelationsEntitiesRelationsGetRequest.d.ts +12 -0
- package/api/resources/entities/client/requests/ListEntityRelationsEntitiesRelationsGetRequest.js +5 -0
- package/api/resources/entities/client/requests/index.d.ts +3 -0
- package/api/resources/index.d.ts +4 -0
- package/api/resources/index.js +4 -0
- package/api/resources/search/client/Client.d.ts +2 -1
- package/api/resources/search/client/Client.js +5 -3
- package/api/resources/search/client/requests/SearchSearchGetRequest.d.ts +3 -1
- package/api/resources/sources/client/Client.d.ts +10 -4
- package/api/resources/sources/client/Client.js +20 -6
- package/api/resources/sources/client/index.d.ts +1 -1
- package/api/resources/sources/client/index.js +15 -0
- package/api/resources/sources/client/requests/ReadSourceSourcesDetailShortNameGetRequest.d.ts +12 -0
- package/api/resources/sources/client/requests/ReadSourceSourcesDetailShortNameGetRequest.js +5 -0
- package/api/resources/sources/client/requests/ReadSourcesSourcesListGetRequest.d.ts +12 -0
- package/api/resources/sources/client/requests/ReadSourcesSourcesListGetRequest.js +5 -0
- package/api/resources/sources/client/requests/index.d.ts +2 -0
- package/api/resources/sources/client/requests/index.js +2 -0
- package/api/resources/sync/client/Client.d.ts +61 -20
- package/api/resources/sync/client/Client.js +123 -40
- package/api/resources/sync/client/requests/DeleteSyncSyncSyncIdDeleteRequest.d.ts +4 -1
- package/api/resources/sync/client/requests/GetSyncDagSyncSyncIdDagGetRequest.d.ts +12 -0
- package/api/resources/sync/client/requests/GetSyncDagSyncSyncIdDagGetRequest.js +5 -0
- package/api/resources/sync/client/requests/GetSyncJobSyncSyncIdJobJobIdGetRequest.d.ts +12 -0
- package/api/resources/sync/client/requests/GetSyncJobSyncSyncIdJobJobIdGetRequest.js +5 -0
- package/api/resources/sync/client/requests/GetSyncSyncSyncIdGetRequest.d.ts +12 -0
- package/api/resources/sync/client/requests/GetSyncSyncSyncIdGetRequest.js +5 -0
- package/api/resources/sync/client/requests/ListAllJobsSyncJobsGetRequest.d.ts +4 -1
- package/api/resources/sync/client/requests/ListSyncJobsSyncSyncIdJobsGetRequest.d.ts +12 -0
- package/api/resources/sync/client/requests/ListSyncJobsSyncSyncIdJobsGetRequest.js +5 -0
- package/api/resources/sync/client/requests/ListSyncsSyncGetRequest.d.ts +4 -1
- package/api/resources/sync/client/requests/RunSyncSyncSyncIdRunPostRequest.d.ts +12 -0
- package/api/resources/sync/client/requests/RunSyncSyncSyncIdRunPostRequest.js +5 -0
- package/api/resources/sync/client/requests/SyncCreate.d.ts +12 -1
- package/api/resources/sync/client/requests/SyncUpdate.d.ts +11 -1
- package/api/resources/sync/client/requests/index.d.ts +5 -0
- package/api/resources/transformers/client/Client.d.ts +15 -6
- package/api/resources/transformers/client/Client.js +43 -11
- package/api/resources/transformers/client/requests/ListTransformersTransformersGetRequest.d.ts +12 -0
- package/api/resources/transformers/client/requests/ListTransformersTransformersGetRequest.js +5 -0
- package/api/resources/transformers/client/requests/TransformerCreate.d.ts +6 -2
- package/api/resources/transformers/client/requests/TransformerUpdate.d.ts +6 -2
- package/api/resources/transformers/client/requests/index.d.ts +1 -0
- package/api/resources/users/client/Client.d.ts +35 -2
- package/api/resources/users/client/Client.js +109 -3
- package/api/resources/users/client/index.d.ts +1 -1
- package/api/resources/users/client/index.js +15 -0
- package/api/resources/users/client/requests/ReadUserUsersGetRequest.d.ts +12 -0
- package/api/resources/users/client/requests/ReadUserUsersGetRequest.js +5 -0
- package/api/resources/users/client/requests/UserCreate.d.ts +18 -0
- package/api/resources/users/client/requests/UserCreate.js +5 -0
- package/api/resources/users/client/requests/index.d.ts +2 -0
- package/api/resources/users/client/requests/index.js +2 -0
- package/api/resources/whiteLabels/client/Client.d.ts +40 -15
- package/api/resources/whiteLabels/client/Client.js +94 -26
- package/api/resources/whiteLabels/client/requests/DeleteWhiteLabelWhiteLabelsWhiteLabelIdDeleteRequest.d.ts +12 -0
- package/api/resources/whiteLabels/client/requests/DeleteWhiteLabelWhiteLabelsWhiteLabelIdDeleteRequest.js +5 -0
- package/api/resources/whiteLabels/client/requests/ExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePostRequest.d.ts +14 -0
- package/api/resources/whiteLabels/client/requests/ExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePostRequest.js +5 -0
- package/api/resources/whiteLabels/client/requests/GetWhiteLabelOauth2AuthUrlWhiteLabelsWhiteLabelIdOauth2AuthUrlGetRequest.d.ts +12 -0
- package/api/resources/whiteLabels/client/requests/GetWhiteLabelOauth2AuthUrlWhiteLabelsWhiteLabelIdOauth2AuthUrlGetRequest.js +5 -0
- package/api/resources/whiteLabels/client/requests/GetWhiteLabelWhiteLabelsWhiteLabelIdGetRequest.d.ts +12 -0
- package/api/resources/whiteLabels/client/requests/GetWhiteLabelWhiteLabelsWhiteLabelIdGetRequest.js +5 -0
- package/api/resources/whiteLabels/client/requests/ListWhiteLabelSyncsWhiteLabelsWhiteLabelIdSyncsGetRequest.d.ts +12 -0
- package/api/resources/whiteLabels/client/requests/ListWhiteLabelSyncsWhiteLabelsWhiteLabelIdSyncsGetRequest.js +5 -0
- package/api/resources/whiteLabels/client/requests/ListWhiteLabelsWhiteLabelsListGetRequest.d.ts +12 -0
- package/api/resources/whiteLabels/client/requests/ListWhiteLabelsWhiteLabelsListGetRequest.js +5 -0
- package/api/resources/whiteLabels/client/requests/WhiteLabelCreate.d.ts +2 -0
- package/api/resources/whiteLabels/client/requests/WhiteLabelUpdate.d.ts +8 -1
- package/api/resources/whiteLabels/client/requests/index.d.ts +6 -0
- package/api/types/User.d.ts +1 -1
- package/dist/api/resources/connections/client/Client.d.ts +47 -18
- package/dist/api/resources/connections/client/Client.js +112 -30
- package/dist/api/resources/connections/client/requests/BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost.d.ts +6 -1
- package/dist/api/resources/connections/client/requests/BodySendOauth2CodeConnectionsOauth2SourceCodePost.d.ts +2 -0
- package/dist/api/resources/connections/client/requests/DeleteConnectionConnectionsDeleteSourceConnectionIdDeleteRequest.d.ts +12 -0
- package/dist/api/resources/connections/client/requests/DeleteConnectionConnectionsDeleteSourceConnectionIdDeleteRequest.js +5 -0
- package/dist/api/resources/connections/client/requests/DisconnectSourceConnectionConnectionsDisconnectSourceConnectionIdPutRequest.d.ts +12 -0
- package/dist/api/resources/connections/client/requests/DisconnectSourceConnectionConnectionsDisconnectSourceConnectionIdPutRequest.js +5 -0
- package/dist/api/resources/connections/client/requests/GetConnectionConnectionsDetailConnectionIdGetRequest.d.ts +12 -0
- package/dist/api/resources/connections/client/requests/GetConnectionConnectionsDetailConnectionIdGetRequest.js +5 -0
- package/dist/api/resources/connections/client/requests/GetConnectionCredentialsConnectionsCredentialsConnectionIdGetRequest.d.ts +12 -0
- package/dist/api/resources/connections/client/requests/GetConnectionCredentialsConnectionsCredentialsConnectionIdGetRequest.js +5 -0
- package/dist/api/resources/connections/client/requests/GetOauth2WhiteLabelAuthUrlConnectionsOauth2WhiteLabelWhiteLabelIdAuthUrlGetRequest.d.ts +12 -0
- package/dist/api/resources/connections/client/requests/GetOauth2WhiteLabelAuthUrlConnectionsOauth2WhiteLabelWhiteLabelIdAuthUrlGetRequest.js +5 -0
- package/dist/api/resources/connections/client/requests/ListAllConnectedIntegrationsConnectionsListGetRequest.d.ts +12 -0
- package/dist/api/resources/connections/client/requests/ListAllConnectedIntegrationsConnectionsListGetRequest.js +5 -0
- package/dist/api/resources/connections/client/requests/ListConnectedIntegrationsConnectionsListIntegrationTypeGetRequest.d.ts +12 -0
- package/dist/api/resources/connections/client/requests/ListConnectedIntegrationsConnectionsListIntegrationTypeGetRequest.js +5 -0
- package/dist/api/resources/connections/client/requests/SendOauth2WhiteLabelCodeConnectionsOauth2WhiteLabelWhiteLabelIdCodePostRequest.d.ts +14 -0
- package/dist/api/resources/connections/client/requests/SendOauth2WhiteLabelCodeConnectionsOauth2WhiteLabelWhiteLabelIdCodePostRequest.js +5 -0
- package/dist/api/resources/connections/client/requests/index.d.ts +8 -0
- package/dist/api/resources/destinations/client/Client.d.ts +10 -4
- package/dist/api/resources/destinations/client/Client.js +20 -6
- package/dist/api/resources/destinations/client/index.d.ts +1 -1
- package/dist/api/resources/destinations/client/index.js +15 -0
- package/dist/api/resources/destinations/client/requests/ListDestinationsDestinationsListGetRequest.d.ts +12 -0
- package/dist/api/resources/destinations/client/requests/ListDestinationsDestinationsListGetRequest.js +5 -0
- package/dist/api/resources/destinations/client/requests/ReadDestinationDestinationsDetailShortNameGetRequest.d.ts +12 -0
- package/dist/api/resources/destinations/client/requests/ReadDestinationDestinationsDetailShortNameGetRequest.js +5 -0
- package/dist/api/resources/destinations/client/requests/index.d.ts +2 -0
- package/dist/api/resources/destinations/client/requests/index.js +2 -0
- package/dist/api/resources/embeddingModels/client/Client.d.ts +10 -4
- package/dist/api/resources/embeddingModels/client/Client.js +20 -6
- package/dist/api/resources/embeddingModels/client/index.d.ts +1 -1
- package/dist/api/resources/embeddingModels/client/index.js +15 -0
- package/dist/api/resources/embeddingModels/client/requests/ReadEmbeddingModelEmbeddingModelsDetailShortNameGetRequest.d.ts +12 -0
- package/dist/api/resources/embeddingModels/client/requests/ReadEmbeddingModelEmbeddingModelsDetailShortNameGetRequest.js +5 -0
- package/dist/api/resources/embeddingModels/client/requests/ReadEmbeddingModelsEmbeddingModelsListGetRequest.d.ts +12 -0
- package/dist/api/resources/embeddingModels/client/requests/ReadEmbeddingModelsEmbeddingModelsListGetRequest.js +5 -0
- package/dist/api/resources/embeddingModels/client/requests/index.d.ts +2 -0
- package/dist/api/resources/embeddingModels/client/requests/index.js +2 -0
- package/dist/api/resources/entities/client/Client.d.ts +30 -10
- package/dist/api/resources/entities/client/Client.js +83 -23
- package/dist/api/resources/entities/client/requests/EntityDefinitionCreate.d.ts +5 -1
- package/dist/api/resources/entities/client/requests/EntityDefinitionUpdate.d.ts +5 -1
- package/dist/api/resources/entities/client/requests/EntityRelationCreate.d.ts +3 -0
- package/dist/api/resources/entities/client/requests/EntityRelationUpdate.d.ts +3 -0
- package/dist/api/resources/entities/client/requests/GetEntityDefinitionsByIdsEntitiesDefinitionsByIdsPostRequest.d.ts +14 -0
- package/dist/api/resources/entities/client/requests/GetEntityDefinitionsByIdsEntitiesDefinitionsByIdsPostRequest.js +5 -0
- package/dist/api/resources/entities/client/requests/GetEntityDefinitionsBySourceShortNameEntitiesDefinitionsBySourceGetRequest.d.ts +3 -1
- package/dist/api/resources/entities/client/requests/ListEntityDefinitionsEntitiesDefinitionsGetRequest.d.ts +12 -0
- package/dist/api/resources/entities/client/requests/ListEntityDefinitionsEntitiesDefinitionsGetRequest.js +5 -0
- package/dist/api/resources/entities/client/requests/ListEntityRelationsEntitiesRelationsGetRequest.d.ts +12 -0
- package/dist/api/resources/entities/client/requests/ListEntityRelationsEntitiesRelationsGetRequest.js +5 -0
- package/dist/api/resources/entities/client/requests/index.d.ts +3 -0
- package/dist/api/resources/index.d.ts +4 -0
- package/dist/api/resources/index.js +4 -0
- package/dist/api/resources/search/client/Client.d.ts +2 -1
- package/dist/api/resources/search/client/Client.js +5 -3
- package/dist/api/resources/search/client/requests/SearchSearchGetRequest.d.ts +3 -1
- package/dist/api/resources/sources/client/Client.d.ts +10 -4
- package/dist/api/resources/sources/client/Client.js +20 -6
- package/dist/api/resources/sources/client/index.d.ts +1 -1
- package/dist/api/resources/sources/client/index.js +15 -0
- package/dist/api/resources/sources/client/requests/ReadSourceSourcesDetailShortNameGetRequest.d.ts +12 -0
- package/dist/api/resources/sources/client/requests/ReadSourceSourcesDetailShortNameGetRequest.js +5 -0
- package/dist/api/resources/sources/client/requests/ReadSourcesSourcesListGetRequest.d.ts +12 -0
- package/dist/api/resources/sources/client/requests/ReadSourcesSourcesListGetRequest.js +5 -0
- package/dist/api/resources/sources/client/requests/index.d.ts +2 -0
- package/dist/api/resources/sources/client/requests/index.js +2 -0
- package/dist/api/resources/sync/client/Client.d.ts +61 -20
- package/dist/api/resources/sync/client/Client.js +123 -40
- package/dist/api/resources/sync/client/requests/DeleteSyncSyncSyncIdDeleteRequest.d.ts +4 -1
- package/dist/api/resources/sync/client/requests/GetSyncDagSyncSyncIdDagGetRequest.d.ts +12 -0
- package/dist/api/resources/sync/client/requests/GetSyncDagSyncSyncIdDagGetRequest.js +5 -0
- package/dist/api/resources/sync/client/requests/GetSyncJobSyncSyncIdJobJobIdGetRequest.d.ts +12 -0
- package/dist/api/resources/sync/client/requests/GetSyncJobSyncSyncIdJobJobIdGetRequest.js +5 -0
- package/dist/api/resources/sync/client/requests/GetSyncSyncSyncIdGetRequest.d.ts +12 -0
- package/dist/api/resources/sync/client/requests/GetSyncSyncSyncIdGetRequest.js +5 -0
- package/dist/api/resources/sync/client/requests/ListAllJobsSyncJobsGetRequest.d.ts +4 -1
- package/dist/api/resources/sync/client/requests/ListSyncJobsSyncSyncIdJobsGetRequest.d.ts +12 -0
- package/dist/api/resources/sync/client/requests/ListSyncJobsSyncSyncIdJobsGetRequest.js +5 -0
- package/dist/api/resources/sync/client/requests/ListSyncsSyncGetRequest.d.ts +4 -1
- package/dist/api/resources/sync/client/requests/RunSyncSyncSyncIdRunPostRequest.d.ts +12 -0
- package/dist/api/resources/sync/client/requests/RunSyncSyncSyncIdRunPostRequest.js +5 -0
- package/dist/api/resources/sync/client/requests/SyncCreate.d.ts +12 -1
- package/dist/api/resources/sync/client/requests/SyncUpdate.d.ts +11 -1
- package/dist/api/resources/sync/client/requests/index.d.ts +5 -0
- package/dist/api/resources/transformers/client/Client.d.ts +15 -6
- package/dist/api/resources/transformers/client/Client.js +43 -11
- package/dist/api/resources/transformers/client/requests/ListTransformersTransformersGetRequest.d.ts +12 -0
- package/dist/api/resources/transformers/client/requests/ListTransformersTransformersGetRequest.js +5 -0
- package/dist/api/resources/transformers/client/requests/TransformerCreate.d.ts +6 -2
- package/dist/api/resources/transformers/client/requests/TransformerUpdate.d.ts +6 -2
- package/dist/api/resources/transformers/client/requests/index.d.ts +1 -0
- package/dist/api/resources/users/client/Client.d.ts +35 -2
- package/dist/api/resources/users/client/Client.js +109 -3
- package/dist/api/resources/users/client/index.d.ts +1 -1
- package/dist/api/resources/users/client/index.js +15 -0
- package/dist/api/resources/users/client/requests/ReadUserUsersGetRequest.d.ts +12 -0
- package/dist/api/resources/users/client/requests/ReadUserUsersGetRequest.js +5 -0
- package/dist/api/resources/users/client/requests/UserCreate.d.ts +18 -0
- package/dist/api/resources/users/client/requests/UserCreate.js +5 -0
- package/dist/api/resources/users/client/requests/index.d.ts +2 -0
- package/dist/api/resources/users/client/requests/index.js +2 -0
- package/dist/api/resources/whiteLabels/client/Client.d.ts +40 -15
- package/dist/api/resources/whiteLabels/client/Client.js +94 -26
- package/dist/api/resources/whiteLabels/client/requests/DeleteWhiteLabelWhiteLabelsWhiteLabelIdDeleteRequest.d.ts +12 -0
- package/dist/api/resources/whiteLabels/client/requests/DeleteWhiteLabelWhiteLabelsWhiteLabelIdDeleteRequest.js +5 -0
- package/dist/api/resources/whiteLabels/client/requests/ExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePostRequest.d.ts +14 -0
- package/dist/api/resources/whiteLabels/client/requests/ExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePostRequest.js +5 -0
- package/dist/api/resources/whiteLabels/client/requests/GetWhiteLabelOauth2AuthUrlWhiteLabelsWhiteLabelIdOauth2AuthUrlGetRequest.d.ts +12 -0
- package/dist/api/resources/whiteLabels/client/requests/GetWhiteLabelOauth2AuthUrlWhiteLabelsWhiteLabelIdOauth2AuthUrlGetRequest.js +5 -0
- package/dist/api/resources/whiteLabels/client/requests/GetWhiteLabelWhiteLabelsWhiteLabelIdGetRequest.d.ts +12 -0
- package/dist/api/resources/whiteLabels/client/requests/GetWhiteLabelWhiteLabelsWhiteLabelIdGetRequest.js +5 -0
- package/dist/api/resources/whiteLabels/client/requests/ListWhiteLabelSyncsWhiteLabelsWhiteLabelIdSyncsGetRequest.d.ts +12 -0
- package/dist/api/resources/whiteLabels/client/requests/ListWhiteLabelSyncsWhiteLabelsWhiteLabelIdSyncsGetRequest.js +5 -0
- package/dist/api/resources/whiteLabels/client/requests/ListWhiteLabelsWhiteLabelsListGetRequest.d.ts +12 -0
- package/dist/api/resources/whiteLabels/client/requests/ListWhiteLabelsWhiteLabelsListGetRequest.js +5 -0
- package/dist/api/resources/whiteLabels/client/requests/WhiteLabelCreate.d.ts +2 -0
- package/dist/api/resources/whiteLabels/client/requests/WhiteLabelUpdate.d.ts +8 -1
- package/dist/api/resources/whiteLabels/client/requests/index.d.ts +6 -0
- package/dist/api/types/User.d.ts +1 -1
- package/dist/serialization/resources/connections/client/requests/BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost.d.ts +1 -1
- package/dist/serialization/resources/connections/client/requests/BodySendOauth2CodeConnectionsOauth2SourceCodePost.d.ts +1 -1
- package/dist/serialization/resources/entities/client/requests/EntityDefinitionCreate.d.ts +1 -1
- package/dist/serialization/resources/entities/client/requests/EntityDefinitionUpdate.d.ts +1 -1
- package/dist/serialization/resources/entities/client/requests/EntityRelationCreate.d.ts +1 -1
- package/dist/serialization/resources/entities/client/requests/EntityRelationUpdate.d.ts +1 -1
- package/dist/serialization/resources/index.d.ts +2 -0
- package/dist/serialization/resources/index.js +3 -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/transformers/client/requests/TransformerCreate.d.ts +1 -1
- package/dist/serialization/resources/transformers/client/requests/TransformerUpdate.d.ts +1 -1
- package/dist/serialization/resources/users/client/index.d.ts +1 -0
- package/dist/serialization/resources/users/client/index.js +17 -0
- package/dist/serialization/resources/users/client/requests/UserCreate.d.ts +14 -0
- package/dist/serialization/resources/users/client/requests/UserCreate.js +45 -0
- package/dist/serialization/resources/users/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/users/client/requests/index.js +5 -0
- package/dist/serialization/resources/users/index.d.ts +1 -0
- package/dist/serialization/resources/users/index.js +17 -0
- 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/User.d.ts +1 -1
- package/dist/serialization/types/User.js +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +490 -74
- package/serialization/resources/connections/client/requests/BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost.d.ts +1 -1
- package/serialization/resources/connections/client/requests/BodySendOauth2CodeConnectionsOauth2SourceCodePost.d.ts +1 -1
- package/serialization/resources/entities/client/requests/EntityDefinitionCreate.d.ts +1 -1
- package/serialization/resources/entities/client/requests/EntityDefinitionUpdate.d.ts +1 -1
- package/serialization/resources/entities/client/requests/EntityRelationCreate.d.ts +1 -1
- package/serialization/resources/entities/client/requests/EntityRelationUpdate.d.ts +1 -1
- package/serialization/resources/index.d.ts +2 -0
- package/serialization/resources/index.js +3 -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/transformers/client/requests/TransformerCreate.d.ts +1 -1
- package/serialization/resources/transformers/client/requests/TransformerUpdate.d.ts +1 -1
- package/serialization/resources/users/client/index.d.ts +1 -0
- package/serialization/resources/users/client/index.js +17 -0
- package/serialization/resources/users/client/requests/UserCreate.d.ts +14 -0
- package/serialization/resources/users/client/requests/UserCreate.js +45 -0
- package/serialization/resources/users/client/requests/index.d.ts +1 -0
- package/serialization/resources/users/client/requests/index.js +5 -0
- package/serialization/resources/users/index.d.ts +1 -0
- package/serialization/resources/users/index.js +17 -0
- 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/User.d.ts +1 -1
- package/serialization/types/User.js +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -5,7 +5,8 @@
|
|
|
5
5
|
* @example
|
|
6
6
|
* {
|
|
7
7
|
* syncId: "sync_id",
|
|
8
|
-
* query: "query"
|
|
8
|
+
* query: "query",
|
|
9
|
+
* creds: "creds"
|
|
9
10
|
* }
|
|
10
11
|
*/
|
|
11
12
|
export interface SearchSearchGetRequest {
|
|
@@ -17,4 +18,5 @@ export interface SearchSearchGetRequest {
|
|
|
17
18
|
* Search query text
|
|
18
19
|
*/
|
|
19
20
|
query: string;
|
|
21
|
+
creds: string;
|
|
20
22
|
}
|
|
@@ -40,14 +40,17 @@ export declare class Sources {
|
|
|
40
40
|
* schemas.Source: The source object.
|
|
41
41
|
*
|
|
42
42
|
* @param {string} shortName
|
|
43
|
+
* @param {AirweaveSDK.ReadSourceSourcesDetailShortNameGetRequest} request
|
|
43
44
|
* @param {Sources.RequestOptions} requestOptions - Request-specific configuration.
|
|
44
45
|
*
|
|
45
46
|
* @throws {@link AirweaveSDK.UnprocessableEntityError}
|
|
46
47
|
*
|
|
47
48
|
* @example
|
|
48
|
-
* await client.sources.readSource("short_name"
|
|
49
|
+
* await client.sources.readSource("short_name", {
|
|
50
|
+
* creds: "creds"
|
|
51
|
+
* })
|
|
49
52
|
*/
|
|
50
|
-
readSource(shortName: string, requestOptions?: Sources.RequestOptions): Promise<AirweaveSDK.SourceWithConfigFields>;
|
|
53
|
+
readSource(shortName: string, request: AirweaveSDK.ReadSourceSourcesDetailShortNameGetRequest, requestOptions?: Sources.RequestOptions): Promise<AirweaveSDK.SourceWithConfigFields>;
|
|
51
54
|
/**
|
|
52
55
|
* Get all sources for the current user.
|
|
53
56
|
*
|
|
@@ -60,12 +63,15 @@ export declare class Sources {
|
|
|
60
63
|
* --------
|
|
61
64
|
* list[schemas.Source]: The list of sources.
|
|
62
65
|
*
|
|
66
|
+
* @param {AirweaveSDK.ReadSourcesSourcesListGetRequest} request
|
|
63
67
|
* @param {Sources.RequestOptions} requestOptions - Request-specific configuration.
|
|
64
68
|
*
|
|
65
69
|
* @throws {@link AirweaveSDK.UnprocessableEntityError}
|
|
66
70
|
*
|
|
67
71
|
* @example
|
|
68
|
-
* await client.sources.readSources(
|
|
72
|
+
* await client.sources.readSources({
|
|
73
|
+
* creds: "creds"
|
|
74
|
+
* })
|
|
69
75
|
*/
|
|
70
|
-
readSources(requestOptions?: Sources.RequestOptions): Promise<AirweaveSDK.Source[]>;
|
|
76
|
+
readSources(request: AirweaveSDK.ReadSourcesSourcesListGetRequest, requestOptions?: Sources.RequestOptions): Promise<AirweaveSDK.Source[]>;
|
|
71
77
|
}
|
|
@@ -73,23 +73,30 @@ class Sources {
|
|
|
73
73
|
* schemas.Source: The source object.
|
|
74
74
|
*
|
|
75
75
|
* @param {string} shortName
|
|
76
|
+
* @param {AirweaveSDK.ReadSourceSourcesDetailShortNameGetRequest} request
|
|
76
77
|
* @param {Sources.RequestOptions} requestOptions - Request-specific configuration.
|
|
77
78
|
*
|
|
78
79
|
* @throws {@link AirweaveSDK.UnprocessableEntityError}
|
|
79
80
|
*
|
|
80
81
|
* @example
|
|
81
|
-
* await client.sources.readSource("short_name"
|
|
82
|
+
* await client.sources.readSource("short_name", {
|
|
83
|
+
* creds: "creds"
|
|
84
|
+
* })
|
|
82
85
|
*/
|
|
83
|
-
readSource(shortName, requestOptions) {
|
|
86
|
+
readSource(shortName, request, requestOptions) {
|
|
84
87
|
return __awaiter(this, void 0, void 0, function* () {
|
|
85
88
|
var _a;
|
|
89
|
+
const { creds } = request;
|
|
90
|
+
const _queryParams = {};
|
|
91
|
+
_queryParams["creds"] = creds;
|
|
86
92
|
const _response = yield core.fetcher({
|
|
87
93
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.AirweaveSDKEnvironment.Production, `sources/detail/${encodeURIComponent(shortName)}`),
|
|
88
94
|
method: "GET",
|
|
89
95
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
90
96
|
? yield core.Supplier.get(this._options.apiKey)
|
|
91
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.
|
|
97
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.9", "User-Agent": "@airweave/sdk/v0.2.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
92
98
|
contentType: "application/json",
|
|
99
|
+
queryParameters: _queryParams,
|
|
93
100
|
requestType: "json",
|
|
94
101
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
95
102
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
@@ -146,23 +153,30 @@ class Sources {
|
|
|
146
153
|
* --------
|
|
147
154
|
* list[schemas.Source]: The list of sources.
|
|
148
155
|
*
|
|
156
|
+
* @param {AirweaveSDK.ReadSourcesSourcesListGetRequest} request
|
|
149
157
|
* @param {Sources.RequestOptions} requestOptions - Request-specific configuration.
|
|
150
158
|
*
|
|
151
159
|
* @throws {@link AirweaveSDK.UnprocessableEntityError}
|
|
152
160
|
*
|
|
153
161
|
* @example
|
|
154
|
-
* await client.sources.readSources(
|
|
162
|
+
* await client.sources.readSources({
|
|
163
|
+
* creds: "creds"
|
|
164
|
+
* })
|
|
155
165
|
*/
|
|
156
|
-
readSources(requestOptions) {
|
|
166
|
+
readSources(request, requestOptions) {
|
|
157
167
|
return __awaiter(this, void 0, void 0, function* () {
|
|
158
168
|
var _a;
|
|
169
|
+
const { creds } = request;
|
|
170
|
+
const _queryParams = {};
|
|
171
|
+
_queryParams["creds"] = creds;
|
|
159
172
|
const _response = yield core.fetcher({
|
|
160
173
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.AirweaveSDKEnvironment.Production, "sources/list"),
|
|
161
174
|
method: "GET",
|
|
162
175
|
headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
|
|
163
176
|
? yield core.Supplier.get(this._options.apiKey)
|
|
164
|
-
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.
|
|
177
|
+
: undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.9", "User-Agent": "@airweave/sdk/v0.2.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
165
178
|
contentType: "application/json",
|
|
179
|
+
queryParameters: _queryParams,
|
|
166
180
|
requestType: "json",
|
|
167
181
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
168
182
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export * from "./requests";
|
|
@@ -1,2 +1,17 @@
|
|
|
1
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
|
+
};
|
|
2
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./requests"), exports);
|
|
@@ -47,9 +47,11 @@ export declare class Sync {
|
|
|
47
47
|
* @throws {@link AirweaveSDK.UnprocessableEntityError}
|
|
48
48
|
*
|
|
49
49
|
* @example
|
|
50
|
-
* await client.sync.listSyncs(
|
|
50
|
+
* await client.sync.listSyncs({
|
|
51
|
+
* creds: "creds"
|
|
52
|
+
* })
|
|
51
53
|
*/
|
|
52
|
-
listSyncs(request
|
|
54
|
+
listSyncs(request: AirweaveSDK.ListSyncsSyncGetRequest, requestOptions?: Sync.RequestOptions): Promise<AirweaveSDK.ListSyncsSyncGetResponse>;
|
|
53
55
|
/**
|
|
54
56
|
* Create a new sync configuration.
|
|
55
57
|
*
|
|
@@ -71,9 +73,19 @@ export declare class Sync {
|
|
|
71
73
|
*
|
|
72
74
|
* @example
|
|
73
75
|
* await client.sync.createSync({
|
|
76
|
+
* creds: "creds",
|
|
74
77
|
* name: "name",
|
|
75
78
|
* sourceConnectionId: "source_connection_id",
|
|
76
|
-
*
|
|
79
|
+
* embeddingModelConnectionId: undefined,
|
|
80
|
+
* destinationConnectionIds: ["destination_connection_ids", "destination_connection_ids"],
|
|
81
|
+
* description: undefined,
|
|
82
|
+
* cronSchedule: undefined,
|
|
83
|
+
* nextScheduledRun: undefined,
|
|
84
|
+
* whiteLabelId: undefined,
|
|
85
|
+
* whiteLabelUserIdentifier: undefined,
|
|
86
|
+
* syncMetadata: undefined,
|
|
87
|
+
* status: undefined,
|
|
88
|
+
* runImmediately: undefined
|
|
77
89
|
* })
|
|
78
90
|
*/
|
|
79
91
|
createSync(request: AirweaveSDK.SyncCreate, requestOptions?: Sync.RequestOptions): Promise<AirweaveSDK.Sync>;
|
|
@@ -97,9 +109,11 @@ export declare class Sync {
|
|
|
97
109
|
* @throws {@link AirweaveSDK.UnprocessableEntityError}
|
|
98
110
|
*
|
|
99
111
|
* @example
|
|
100
|
-
* await client.sync.listAllJobs(
|
|
112
|
+
* await client.sync.listAllJobs({
|
|
113
|
+
* creds: "creds"
|
|
114
|
+
* })
|
|
101
115
|
*/
|
|
102
|
-
listAllJobs(request
|
|
116
|
+
listAllJobs(request: AirweaveSDK.ListAllJobsSyncJobsGetRequest, requestOptions?: Sync.RequestOptions): Promise<AirweaveSDK.SyncJob[]>;
|
|
103
117
|
/**
|
|
104
118
|
* Get a specific sync by ID.
|
|
105
119
|
*
|
|
@@ -114,14 +128,17 @@ export declare class Sync {
|
|
|
114
128
|
* sync (schemas.Sync): The sync
|
|
115
129
|
*
|
|
116
130
|
* @param {string} syncId
|
|
131
|
+
* @param {AirweaveSDK.GetSyncSyncSyncIdGetRequest} request
|
|
117
132
|
* @param {Sync.RequestOptions} requestOptions - Request-specific configuration.
|
|
118
133
|
*
|
|
119
134
|
* @throws {@link AirweaveSDK.UnprocessableEntityError}
|
|
120
135
|
*
|
|
121
136
|
* @example
|
|
122
|
-
* await client.sync.getSync("sync_id"
|
|
137
|
+
* await client.sync.getSync("sync_id", {
|
|
138
|
+
* creds: "creds"
|
|
139
|
+
* })
|
|
123
140
|
*/
|
|
124
|
-
getSync(syncId: string, requestOptions?: Sync.RequestOptions): Promise<AirweaveSDK.Sync>;
|
|
141
|
+
getSync(syncId: string, request: AirweaveSDK.GetSyncSyncSyncIdGetRequest, requestOptions?: Sync.RequestOptions): Promise<AirweaveSDK.Sync>;
|
|
125
142
|
/**
|
|
126
143
|
* Delete a sync configuration and optionally its associated data.
|
|
127
144
|
*
|
|
@@ -143,9 +160,11 @@ export declare class Sync {
|
|
|
143
160
|
* @throws {@link AirweaveSDK.UnprocessableEntityError}
|
|
144
161
|
*
|
|
145
162
|
* @example
|
|
146
|
-
* await client.sync.deleteSync("sync_id"
|
|
163
|
+
* await client.sync.deleteSync("sync_id", {
|
|
164
|
+
* creds: "creds"
|
|
165
|
+
* })
|
|
147
166
|
*/
|
|
148
|
-
deleteSync(syncId: string, request
|
|
167
|
+
deleteSync(syncId: string, request: AirweaveSDK.DeleteSyncSyncSyncIdDeleteRequest, requestOptions?: Sync.RequestOptions): Promise<AirweaveSDK.Sync>;
|
|
149
168
|
/**
|
|
150
169
|
* Update a sync configuration.
|
|
151
170
|
*
|
|
@@ -167,9 +186,18 @@ export declare class Sync {
|
|
|
167
186
|
* @throws {@link AirweaveSDK.UnprocessableEntityError}
|
|
168
187
|
*
|
|
169
188
|
* @example
|
|
170
|
-
* await client.sync.updateSync("sync_id"
|
|
189
|
+
* await client.sync.updateSync("sync_id", {
|
|
190
|
+
* creds: "creds",
|
|
191
|
+
* name: undefined,
|
|
192
|
+
* cronSchedule: undefined,
|
|
193
|
+
* nextScheduledRun: undefined,
|
|
194
|
+
* whiteLabelId: undefined,
|
|
195
|
+
* whiteLabelUserIdentifier: undefined,
|
|
196
|
+
* syncMetadata: undefined,
|
|
197
|
+
* status: undefined
|
|
198
|
+
* })
|
|
171
199
|
*/
|
|
172
|
-
updateSync(syncId: string, request
|
|
200
|
+
updateSync(syncId: string, request: AirweaveSDK.SyncUpdate, requestOptions?: Sync.RequestOptions): Promise<AirweaveSDK.Sync>;
|
|
173
201
|
/**
|
|
174
202
|
* Trigger a sync run.
|
|
175
203
|
*
|
|
@@ -185,14 +213,17 @@ export declare class Sync {
|
|
|
185
213
|
* sync_job (schemas.SyncJob): The sync job
|
|
186
214
|
*
|
|
187
215
|
* @param {string} syncId
|
|
216
|
+
* @param {AirweaveSDK.RunSyncSyncSyncIdRunPostRequest} request
|
|
188
217
|
* @param {Sync.RequestOptions} requestOptions - Request-specific configuration.
|
|
189
218
|
*
|
|
190
219
|
* @throws {@link AirweaveSDK.UnprocessableEntityError}
|
|
191
220
|
*
|
|
192
221
|
* @example
|
|
193
|
-
* await client.sync.runSync("sync_id"
|
|
222
|
+
* await client.sync.runSync("sync_id", {
|
|
223
|
+
* creds: "creds"
|
|
224
|
+
* })
|
|
194
225
|
*/
|
|
195
|
-
runSync(syncId: string, requestOptions?: Sync.RequestOptions): Promise<AirweaveSDK.SyncJob>;
|
|
226
|
+
runSync(syncId: string, request: AirweaveSDK.RunSyncSyncSyncIdRunPostRequest, requestOptions?: Sync.RequestOptions): Promise<AirweaveSDK.SyncJob>;
|
|
196
227
|
/**
|
|
197
228
|
* List all jobs for a specific sync.
|
|
198
229
|
*
|
|
@@ -207,14 +238,17 @@ export declare class Sync {
|
|
|
207
238
|
* list[schemas.SyncJob]: A list of sync jobs
|
|
208
239
|
*
|
|
209
240
|
* @param {string} syncId
|
|
241
|
+
* @param {AirweaveSDK.ListSyncJobsSyncSyncIdJobsGetRequest} request
|
|
210
242
|
* @param {Sync.RequestOptions} requestOptions - Request-specific configuration.
|
|
211
243
|
*
|
|
212
244
|
* @throws {@link AirweaveSDK.UnprocessableEntityError}
|
|
213
245
|
*
|
|
214
246
|
* @example
|
|
215
|
-
* await client.sync.listSyncJobs("sync_id"
|
|
247
|
+
* await client.sync.listSyncJobs("sync_id", {
|
|
248
|
+
* creds: "creds"
|
|
249
|
+
* })
|
|
216
250
|
*/
|
|
217
|
-
listSyncJobs(syncId: string, requestOptions?: Sync.RequestOptions): Promise<AirweaveSDK.SyncJob[]>;
|
|
251
|
+
listSyncJobs(syncId: string, request: AirweaveSDK.ListSyncJobsSyncSyncIdJobsGetRequest, requestOptions?: Sync.RequestOptions): Promise<AirweaveSDK.SyncJob[]>;
|
|
218
252
|
/**
|
|
219
253
|
* Get details of a specific sync job.
|
|
220
254
|
*
|
|
@@ -231,21 +265,25 @@ export declare class Sync {
|
|
|
231
265
|
*
|
|
232
266
|
* @param {string} syncId
|
|
233
267
|
* @param {string} jobId
|
|
268
|
+
* @param {AirweaveSDK.GetSyncJobSyncSyncIdJobJobIdGetRequest} request
|
|
234
269
|
* @param {Sync.RequestOptions} requestOptions - Request-specific configuration.
|
|
235
270
|
*
|
|
236
271
|
* @throws {@link AirweaveSDK.UnprocessableEntityError}
|
|
237
272
|
*
|
|
238
273
|
* @example
|
|
239
|
-
* await client.sync.getSyncJob("sync_id", "job_id"
|
|
274
|
+
* await client.sync.getSyncJob("sync_id", "job_id", {
|
|
275
|
+
* creds: "creds"
|
|
276
|
+
* })
|
|
240
277
|
*/
|
|
241
|
-
getSyncJob(syncId: string, jobId: string, requestOptions?: Sync.RequestOptions): Promise<AirweaveSDK.SyncJob>;
|
|
278
|
+
getSyncJob(syncId: string, jobId: string, request: AirweaveSDK.GetSyncJobSyncSyncIdJobJobIdGetRequest, requestOptions?: Sync.RequestOptions): Promise<AirweaveSDK.SyncJob>;
|
|
242
279
|
/**
|
|
243
280
|
* Server-Sent Events (SSE) endpoint to subscribe to a sync job's progress.
|
|
244
281
|
*
|
|
245
282
|
* Args:
|
|
246
283
|
* -----
|
|
247
284
|
* job_id: The ID of the job to subscribe to
|
|
248
|
-
*
|
|
285
|
+
* request: The request object
|
|
286
|
+
* db: The database session
|
|
249
287
|
*
|
|
250
288
|
* Returns:
|
|
251
289
|
* --------
|
|
@@ -264,12 +302,15 @@ export declare class Sync {
|
|
|
264
302
|
* Get the DAG for a specific sync.
|
|
265
303
|
*
|
|
266
304
|
* @param {string} syncId
|
|
305
|
+
* @param {AirweaveSDK.GetSyncDagSyncSyncIdDagGetRequest} request
|
|
267
306
|
* @param {Sync.RequestOptions} requestOptions - Request-specific configuration.
|
|
268
307
|
*
|
|
269
308
|
* @throws {@link AirweaveSDK.UnprocessableEntityError}
|
|
270
309
|
*
|
|
271
310
|
* @example
|
|
272
|
-
* await client.sync.getSyncDag("sync_id"
|
|
311
|
+
* await client.sync.getSyncDag("sync_id", {
|
|
312
|
+
* creds: "creds"
|
|
313
|
+
* })
|
|
273
314
|
*/
|
|
274
|
-
getSyncDag(syncId: string, requestOptions?: Sync.RequestOptions): Promise<AirweaveSDK.SyncDag>;
|
|
315
|
+
getSyncDag(syncId: string, request: AirweaveSDK.GetSyncDagSyncSyncIdDagGetRequest, requestOptions?: Sync.RequestOptions): Promise<AirweaveSDK.SyncDag>;
|
|
275
316
|
}
|