@airweave/sdk 0.2.27 → 0.2.52
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 +1 -8
- package/Client.js +3 -13
- package/README.md +1 -1
- package/api/index.d.ts +1 -1
- package/api/index.js +1 -1
- package/api/resources/collections/client/Client.d.ts +26 -3
- package/api/resources/collections/client/Client.js +96 -16
- package/api/resources/collections/client/requests/SearchCollectionCollectionsReadableIdSearchGetRequest.d.ts +20 -0
- package/api/resources/collections/client/requests/index.d.ts +1 -0
- package/api/resources/index.d.ts +2 -4
- package/api/resources/index.js +3 -5
- package/api/resources/sourceConnections/client/Client.d.ts +4 -4
- package/api/resources/sourceConnections/client/Client.js +22 -22
- package/api/resources/sourceConnections/client/requests/BodyRunSourceConnectionSourceConnectionsSourceConnectionIdRunPost.d.ts +10 -0
- package/api/resources/sourceConnections/client/requests/SourceConnectionUpdate.d.ts +2 -1
- package/api/resources/sourceConnections/client/requests/index.d.ts +1 -0
- package/api/resources/sourceConnections/index.d.ts +1 -0
- package/api/resources/sourceConnections/index.js +1 -0
- package/api/resources/sourceConnections/types/SourceConnectionUpdateAuthFields.d.ts +5 -0
- package/api/resources/sourceConnections/types/index.d.ts +1 -0
- package/api/resources/{connections → sourceConnections/types}/index.js +1 -1
- package/api/resources/sources/client/Client.d.ts +9 -14
- package/api/resources/sources/client/Client.js +13 -21
- package/api/types/AuthType.d.ts +2 -3
- package/api/types/AuthType.js +1 -1
- package/api/types/BodyCreateCredentialsFromAuthorizationCodeSourceConnectionsSourceShortNameCodeToTokenCredentialsPost.d.ts +9 -0
- package/api/types/BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions.d.ts +8 -0
- package/api/types/IntegrationCredentialInDb.d.ts +18 -0
- package/api/types/IntegrationCredentialRawCreate.d.ts +19 -0
- package/api/types/OAuth2AuthUrl.d.ts +13 -0
- package/api/types/Source.d.ts +4 -1
- package/api/types/SourceConnection.d.ts +2 -0
- package/api/types/SourceConnectionCreate.d.ts +2 -0
- package/api/types/SourceConnectionListItem.d.ts +1 -0
- package/api/types/Sync.d.ts +0 -2
- package/api/types/SyncCreate.d.ts +0 -2
- package/api/types/SyncJob.d.ts +1 -0
- package/api/types/SyncUpdate.d.ts +0 -2
- package/api/types/SyncWithSourceConnection.d.ts +0 -2
- package/api/types/WhiteLabel.d.ts +1 -0
- package/api/{resources/whiteLabels/client/requests → types}/WhiteLabelCreate.d.ts +2 -8
- package/api/{resources/whiteLabels/client/requests → types}/WhiteLabelUpdate.d.ts +2 -2
- package/api/types/index.d.ts +7 -4
- package/api/types/index.js +7 -4
- package/core/index.d.ts +0 -1
- package/core/index.js +0 -1
- package/dist/Client.d.ts +1 -8
- package/dist/Client.js +3 -13
- package/dist/api/index.d.ts +1 -1
- package/dist/api/index.js +1 -1
- package/dist/api/resources/collections/client/Client.d.ts +26 -3
- package/dist/api/resources/collections/client/Client.js +96 -16
- package/dist/api/resources/collections/client/requests/SearchCollectionCollectionsReadableIdSearchGetRequest.d.ts +20 -0
- package/dist/api/resources/collections/client/requests/index.d.ts +1 -0
- package/dist/api/resources/index.d.ts +2 -4
- package/dist/api/resources/index.js +3 -5
- package/dist/api/resources/sourceConnections/client/Client.d.ts +4 -4
- package/dist/api/resources/sourceConnections/client/Client.js +22 -22
- package/dist/api/resources/sourceConnections/client/requests/BodyRunSourceConnectionSourceConnectionsSourceConnectionIdRunPost.d.ts +10 -0
- package/dist/api/resources/sourceConnections/client/requests/SourceConnectionUpdate.d.ts +2 -1
- package/dist/api/resources/sourceConnections/client/requests/index.d.ts +1 -0
- package/dist/api/resources/sourceConnections/index.d.ts +1 -0
- package/dist/api/resources/sourceConnections/index.js +1 -0
- package/dist/api/resources/sourceConnections/types/SourceConnectionUpdateAuthFields.d.ts +5 -0
- package/dist/api/resources/sourceConnections/types/SourceConnectionUpdateAuthFields.js +5 -0
- package/dist/api/resources/sourceConnections/types/index.d.ts +1 -0
- package/{api/resources/whiteLabels/client → dist/api/resources/sourceConnections/types}/index.js +1 -1
- package/dist/api/resources/sources/client/Client.d.ts +9 -14
- package/dist/api/resources/sources/client/Client.js +13 -21
- package/dist/api/types/AuthType.d.ts +2 -3
- package/dist/api/types/AuthType.js +1 -1
- package/dist/api/types/BodyCreateCredentialsFromAuthorizationCodeSourceConnectionsSourceShortNameCodeToTokenCredentialsPost.d.ts +9 -0
- package/dist/api/types/BodyCreateCredentialsFromAuthorizationCodeSourceConnectionsSourceShortNameCodeToTokenCredentialsPost.js +5 -0
- package/dist/api/types/BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions.d.ts +8 -0
- package/dist/api/types/BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions.js +5 -0
- package/dist/api/types/IntegrationCredentialInDb.d.ts +18 -0
- package/dist/api/types/IntegrationCredentialInDb.js +5 -0
- package/dist/api/types/IntegrationCredentialRawCreate.d.ts +19 -0
- package/dist/api/types/IntegrationCredentialRawCreate.js +5 -0
- package/dist/api/types/OAuth2AuthUrl.d.ts +13 -0
- package/dist/api/types/OAuth2AuthUrl.js +5 -0
- package/dist/api/types/Source.d.ts +4 -1
- package/dist/api/types/SourceConnection.d.ts +2 -0
- package/dist/api/types/SourceConnectionCreate.d.ts +2 -0
- package/dist/api/types/SourceConnectionListItem.d.ts +1 -0
- package/dist/api/types/Sync.d.ts +0 -2
- package/dist/api/types/SyncCreate.d.ts +0 -2
- package/dist/api/types/SyncJob.d.ts +1 -0
- package/dist/api/types/SyncUpdate.d.ts +0 -2
- package/dist/api/types/SyncWithSourceConnection.d.ts +0 -2
- package/dist/api/types/WhiteLabel.d.ts +1 -0
- package/dist/api/{resources/whiteLabels/client/requests → types}/WhiteLabelCreate.d.ts +2 -8
- package/dist/api/types/WhiteLabelCreate.js +5 -0
- package/dist/api/{resources/whiteLabels/client/requests → types}/WhiteLabelUpdate.d.ts +2 -2
- package/dist/api/types/WhiteLabelUpdate.js +5 -0
- package/dist/api/types/index.d.ts +7 -4
- package/dist/api/types/index.js +7 -4
- package/dist/core/index.d.ts +0 -1
- package/dist/core/index.js +0 -1
- package/dist/serialization/index.d.ts +1 -1
- package/dist/serialization/index.js +1 -1
- package/dist/serialization/resources/index.d.ts +2 -4
- package/dist/serialization/resources/index.js +3 -5
- package/dist/serialization/resources/sourceConnections/client/requests/BodyRunSourceConnectionSourceConnectionsSourceConnectionIdRunPost.d.ts +12 -0
- package/dist/serialization/resources/{connections/client/listAllConnectedIntegrations.js → sourceConnections/client/requests/BodyRunSourceConnectionSourceConnectionsSourceConnectionIdRunPost.js} +5 -4
- package/dist/serialization/resources/sourceConnections/client/requests/SourceConnectionUpdate.d.ts +3 -1
- package/dist/serialization/resources/sourceConnections/client/requests/SourceConnectionUpdate.js +3 -1
- package/dist/serialization/resources/sourceConnections/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/sourceConnections/client/requests/index.js +3 -1
- package/dist/serialization/resources/sourceConnections/index.d.ts +1 -0
- package/dist/serialization/resources/sourceConnections/index.js +1 -0
- package/dist/serialization/resources/sourceConnections/types/SourceConnectionUpdateAuthFields.d.ts +11 -0
- package/dist/serialization/resources/{whiteLabels/client/listWhiteLabels.js → sourceConnections/types/SourceConnectionUpdateAuthFields.js} +3 -3
- package/dist/serialization/resources/sourceConnections/types/index.d.ts +1 -0
- package/{api/resources/whiteLabels → dist/serialization/resources/sourceConnections/types}/index.js +1 -1
- package/dist/serialization/types/AuthType.d.ts +1 -1
- package/dist/serialization/types/AuthType.js +1 -1
- package/dist/serialization/types/BodyCreateCredentialsFromAuthorizationCodeSourceConnectionsSourceShortNameCodeToTokenCredentialsPost.d.ts +15 -0
- package/dist/serialization/types/BodyCreateCredentialsFromAuthorizationCodeSourceConnectionsSourceShortNameCodeToTokenCredentialsPost.js +46 -0
- package/dist/serialization/types/BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions.d.ts +14 -0
- package/dist/serialization/types/{BodyCreateSourceConnectionFromOauthConnectionsCreateSourceConnectionFromOauthPost.js → BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions.js} +4 -4
- package/dist/serialization/types/IntegrationCredentialInDb.d.ts +22 -0
- package/{serialization/types/SourceWithAuthenticationFields.js → dist/serialization/types/IntegrationCredentialInDb.js} +8 -13
- package/dist/serialization/types/IntegrationCredentialRawCreate.d.ts +20 -0
- package/dist/serialization/types/{BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost.js → IntegrationCredentialRawCreate.js} +10 -3
- package/dist/serialization/types/OAuth2AuthUrl.d.ts +12 -0
- package/{serialization/resources/whiteLabels/client/listWhiteLabelSyncs.js → dist/serialization/types/OAuth2AuthUrl.js} +5 -4
- package/dist/serialization/types/Source.d.ts +5 -1
- package/dist/serialization/types/Source.js +5 -1
- package/dist/serialization/types/SourceConnection.d.ts +2 -0
- package/dist/serialization/types/SourceConnection.js +2 -0
- package/dist/serialization/types/SourceConnectionCreate.d.ts +2 -0
- package/dist/serialization/types/SourceConnectionCreate.js +2 -0
- package/dist/serialization/types/SourceConnectionListItem.d.ts +1 -0
- package/dist/serialization/types/SourceConnectionListItem.js +1 -0
- package/dist/serialization/types/Sync.d.ts +0 -2
- package/dist/serialization/types/Sync.js +0 -2
- package/dist/serialization/types/SyncCreate.d.ts +0 -2
- package/dist/serialization/types/SyncCreate.js +0 -2
- package/dist/serialization/types/SyncJob.d.ts +1 -0
- package/dist/serialization/types/SyncJob.js +1 -0
- package/dist/serialization/types/SyncUpdate.d.ts +0 -2
- package/dist/serialization/types/SyncUpdate.js +0 -2
- package/dist/serialization/types/SyncWithSourceConnection.d.ts +0 -2
- package/dist/serialization/types/SyncWithSourceConnection.js +0 -2
- package/dist/serialization/types/WhiteLabel.d.ts +1 -0
- package/dist/serialization/types/WhiteLabel.js +1 -0
- package/dist/serialization/types/WhiteLabelCreate.d.ts +17 -0
- package/dist/serialization/{resources/whiteLabels/client/requests → types}/WhiteLabelCreate.js +2 -1
- package/dist/serialization/types/WhiteLabelUpdate.d.ts +16 -0
- package/dist/serialization/{resources/whiteLabels/client/requests → types}/WhiteLabelUpdate.js +2 -1
- package/dist/serialization/types/index.d.ts +7 -4
- package/dist/serialization/types/index.js +7 -4
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -3
- package/reference.md +44 -543
- package/serialization/index.d.ts +1 -1
- package/serialization/index.js +1 -1
- package/serialization/resources/index.d.ts +2 -4
- package/serialization/resources/index.js +3 -5
- package/serialization/resources/sourceConnections/client/requests/BodyRunSourceConnectionSourceConnectionsSourceConnectionIdRunPost.d.ts +12 -0
- package/serialization/resources/sourceConnections/client/requests/BodyRunSourceConnectionSourceConnectionsSourceConnectionIdRunPost.js +43 -0
- package/serialization/resources/sourceConnections/client/requests/SourceConnectionUpdate.d.ts +3 -1
- package/serialization/resources/sourceConnections/client/requests/SourceConnectionUpdate.js +3 -1
- package/serialization/resources/sourceConnections/client/requests/index.d.ts +1 -0
- package/serialization/resources/sourceConnections/client/requests/index.js +3 -1
- package/serialization/resources/sourceConnections/index.d.ts +1 -0
- package/serialization/resources/sourceConnections/index.js +1 -0
- package/serialization/resources/sourceConnections/types/SourceConnectionUpdateAuthFields.d.ts +11 -0
- package/serialization/resources/{connections/client/listAllConnectedIntegrations.js → sourceConnections/types/SourceConnectionUpdateAuthFields.js} +3 -3
- package/serialization/resources/sourceConnections/types/index.d.ts +1 -0
- package/{dist/api/resources/connections → serialization/resources/sourceConnections/types}/index.js +1 -1
- package/serialization/types/AuthType.d.ts +1 -1
- package/serialization/types/AuthType.js +1 -1
- package/serialization/types/BodyCreateCredentialsFromAuthorizationCodeSourceConnectionsSourceShortNameCodeToTokenCredentialsPost.d.ts +15 -0
- package/serialization/types/BodyCreateCredentialsFromAuthorizationCodeSourceConnectionsSourceShortNameCodeToTokenCredentialsPost.js +46 -0
- package/serialization/types/BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions.d.ts +14 -0
- package/serialization/types/{BodyCreateSourceConnectionFromOauthConnectionsCreateSourceConnectionFromOauthPost.js → BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions.js} +4 -4
- package/serialization/types/IntegrationCredentialInDb.d.ts +22 -0
- package/{dist/serialization/types/SourceWithAuthenticationFields.js → serialization/types/IntegrationCredentialInDb.js} +8 -13
- package/serialization/types/IntegrationCredentialRawCreate.d.ts +20 -0
- package/serialization/types/{BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost.js → IntegrationCredentialRawCreate.js} +10 -3
- package/serialization/types/OAuth2AuthUrl.d.ts +12 -0
- package/{dist/serialization/resources/whiteLabels/client/listWhiteLabelSyncs.js → serialization/types/OAuth2AuthUrl.js} +5 -4
- package/serialization/types/Source.d.ts +5 -1
- package/serialization/types/Source.js +5 -1
- package/serialization/types/SourceConnection.d.ts +2 -0
- package/serialization/types/SourceConnection.js +2 -0
- package/serialization/types/SourceConnectionCreate.d.ts +2 -0
- package/serialization/types/SourceConnectionCreate.js +2 -0
- package/serialization/types/SourceConnectionListItem.d.ts +1 -0
- package/serialization/types/SourceConnectionListItem.js +1 -0
- package/serialization/types/Sync.d.ts +0 -2
- package/serialization/types/Sync.js +0 -2
- package/serialization/types/SyncCreate.d.ts +0 -2
- package/serialization/types/SyncCreate.js +0 -2
- package/serialization/types/SyncJob.d.ts +1 -0
- package/serialization/types/SyncJob.js +1 -0
- package/serialization/types/SyncUpdate.d.ts +0 -2
- package/serialization/types/SyncUpdate.js +0 -2
- package/serialization/types/SyncWithSourceConnection.d.ts +0 -2
- package/serialization/types/SyncWithSourceConnection.js +0 -2
- package/serialization/types/WhiteLabel.d.ts +1 -0
- package/serialization/types/WhiteLabel.js +1 -0
- package/serialization/types/WhiteLabelCreate.d.ts +17 -0
- package/serialization/{resources/whiteLabels/client/requests → types}/WhiteLabelCreate.js +2 -1
- package/serialization/types/WhiteLabelUpdate.d.ts +16 -0
- package/serialization/{resources/whiteLabels/client/requests → types}/WhiteLabelUpdate.js +2 -1
- package/serialization/types/index.d.ts +7 -4
- package/serialization/types/index.js +7 -4
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/connections/client/Client.d.ts +0 -73
- package/api/resources/connections/client/Client.js +0 -216
- package/api/resources/connections/client/index.d.ts +0 -1
- package/api/resources/connections/client/index.js +0 -2
- package/api/resources/connections/index.d.ts +0 -1
- package/api/resources/whiteLabels/client/Client.d.ts +0 -169
- package/api/resources/whiteLabels/client/Client.js +0 -526
- package/api/resources/whiteLabels/client/index.d.ts +0 -1
- package/api/resources/whiteLabels/client/requests/index.d.ts +0 -2
- package/api/resources/whiteLabels/client/requests/index.js +0 -2
- package/api/resources/whiteLabels/index.d.ts +0 -1
- package/api/types/BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost.d.ts +0 -7
- package/api/types/BodyCreateSourceConnectionFromOauthConnectionsCreateSourceConnectionFromOauthPost.d.ts +0 -8
- package/api/types/BodySendOauth2CodeConnectionsOauth2SourceCodePost.d.ts +0 -9
- package/api/types/SourceWithAuthenticationFields.d.ts +0 -23
- package/core/auth/BasicAuth.d.ts +0 -8
- package/core/auth/BasicAuth.js +0 -26
- package/core/auth/BearerToken.d.ts +0 -5
- package/core/auth/BearerToken.js +0 -15
- package/core/auth/index.d.ts +0 -2
- package/core/auth/index.js +0 -7
- package/dist/api/resources/connections/client/Client.d.ts +0 -73
- package/dist/api/resources/connections/client/Client.js +0 -216
- package/dist/api/resources/connections/client/index.d.ts +0 -1
- package/dist/api/resources/connections/client/index.js +0 -2
- package/dist/api/resources/connections/index.d.ts +0 -1
- package/dist/api/resources/whiteLabels/client/Client.d.ts +0 -169
- package/dist/api/resources/whiteLabels/client/Client.js +0 -526
- package/dist/api/resources/whiteLabels/client/index.d.ts +0 -1
- package/dist/api/resources/whiteLabels/client/index.js +0 -17
- package/dist/api/resources/whiteLabels/client/requests/index.d.ts +0 -2
- package/dist/api/resources/whiteLabels/client/requests/index.js +0 -2
- package/dist/api/resources/whiteLabels/index.d.ts +0 -1
- package/dist/api/resources/whiteLabels/index.js +0 -17
- package/dist/api/types/BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost.d.ts +0 -7
- package/dist/api/types/BodyCreateSourceConnectionFromOauthConnectionsCreateSourceConnectionFromOauthPost.d.ts +0 -8
- package/dist/api/types/BodySendOauth2CodeConnectionsOauth2SourceCodePost.d.ts +0 -9
- package/dist/api/types/SourceWithAuthenticationFields.d.ts +0 -23
- package/dist/core/auth/BasicAuth.d.ts +0 -8
- package/dist/core/auth/BasicAuth.js +0 -26
- package/dist/core/auth/BearerToken.d.ts +0 -5
- package/dist/core/auth/BearerToken.js +0 -15
- package/dist/core/auth/index.d.ts +0 -2
- package/dist/core/auth/index.js +0 -7
- package/dist/serialization/resources/connections/client/index.d.ts +0 -1
- package/dist/serialization/resources/connections/client/index.js +0 -37
- package/dist/serialization/resources/connections/client/listAllConnectedIntegrations.d.ts +0 -11
- package/dist/serialization/resources/connections/index.d.ts +0 -1
- package/dist/serialization/resources/connections/index.js +0 -17
- package/dist/serialization/resources/whiteLabels/client/index.d.ts +0 -3
- package/dist/serialization/resources/whiteLabels/client/index.js +0 -42
- package/dist/serialization/resources/whiteLabels/client/listWhiteLabelSyncs.d.ts +0 -11
- package/dist/serialization/resources/whiteLabels/client/listWhiteLabels.d.ts +0 -11
- package/dist/serialization/resources/whiteLabels/client/requests/WhiteLabelCreate.d.ts +0 -16
- package/dist/serialization/resources/whiteLabels/client/requests/WhiteLabelUpdate.d.ts +0 -15
- package/dist/serialization/resources/whiteLabels/client/requests/index.d.ts +0 -2
- package/dist/serialization/resources/whiteLabels/client/requests/index.js +0 -7
- package/dist/serialization/resources/whiteLabels/index.d.ts +0 -1
- package/dist/serialization/resources/whiteLabels/index.js +0 -17
- package/dist/serialization/types/BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost.d.ts +0 -13
- package/dist/serialization/types/BodyCreateSourceConnectionFromOauthConnectionsCreateSourceConnectionFromOauthPost.d.ts +0 -14
- package/dist/serialization/types/BodySendOauth2CodeConnectionsOauth2SourceCodePost.d.ts +0 -15
- package/dist/serialization/types/BodySendOauth2CodeConnectionsOauth2SourceCodePost.js +0 -46
- package/dist/serialization/types/SourceWithAuthenticationFields.d.ts +0 -27
- package/serialization/resources/connections/client/index.d.ts +0 -1
- package/serialization/resources/connections/client/index.js +0 -37
- package/serialization/resources/connections/client/listAllConnectedIntegrations.d.ts +0 -11
- package/serialization/resources/connections/index.d.ts +0 -1
- package/serialization/resources/connections/index.js +0 -17
- package/serialization/resources/whiteLabels/client/index.d.ts +0 -3
- package/serialization/resources/whiteLabels/client/index.js +0 -42
- package/serialization/resources/whiteLabels/client/listWhiteLabelSyncs.d.ts +0 -11
- package/serialization/resources/whiteLabels/client/listWhiteLabels.d.ts +0 -11
- package/serialization/resources/whiteLabels/client/listWhiteLabels.js +0 -42
- package/serialization/resources/whiteLabels/client/requests/WhiteLabelCreate.d.ts +0 -16
- package/serialization/resources/whiteLabels/client/requests/WhiteLabelUpdate.d.ts +0 -15
- package/serialization/resources/whiteLabels/client/requests/index.d.ts +0 -2
- package/serialization/resources/whiteLabels/client/requests/index.js +0 -7
- package/serialization/resources/whiteLabels/index.d.ts +0 -1
- package/serialization/resources/whiteLabels/index.js +0 -17
- package/serialization/types/BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost.d.ts +0 -13
- package/serialization/types/BodyCreateSourceConnectionFromOauthConnectionsCreateSourceConnectionFromOauthPost.d.ts +0 -14
- package/serialization/types/BodySendOauth2CodeConnectionsOauth2SourceCodePost.d.ts +0 -15
- package/serialization/types/BodySendOauth2CodeConnectionsOauth2SourceCodePost.js +0 -46
- package/serialization/types/SourceWithAuthenticationFields.d.ts +0 -27
- /package/api/resources/{whiteLabels/client/requests/WhiteLabelCreate.js → collections/client/requests/SearchCollectionCollectionsReadableIdSearchGetRequest.js} +0 -0
- /package/api/resources/{whiteLabels/client/requests/WhiteLabelUpdate.js → sourceConnections/client/requests/BodyRunSourceConnectionSourceConnectionsSourceConnectionIdRunPost.js} +0 -0
- /package/api/{types/BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost.js → resources/sourceConnections/types/SourceConnectionUpdateAuthFields.js} +0 -0
- /package/api/types/{BodyCreateSourceConnectionFromOauthConnectionsCreateSourceConnectionFromOauthPost.js → BodyCreateCredentialsFromAuthorizationCodeSourceConnectionsSourceShortNameCodeToTokenCredentialsPost.js} +0 -0
- /package/api/types/{BodySendOauth2CodeConnectionsOauth2SourceCodePost.js → BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions.js} +0 -0
- /package/api/types/{SourceWithAuthenticationFields.js → IntegrationCredentialInDb.js} +0 -0
- /package/{dist/api/resources/whiteLabels/client/requests/WhiteLabelCreate.js → api/types/IntegrationCredentialRawCreate.js} +0 -0
- /package/{dist/api/resources/whiteLabels/client/requests/WhiteLabelUpdate.js → api/types/OAuth2AuthUrl.js} +0 -0
- /package/{dist/api/types/BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost.js → api/types/WhiteLabelCreate.js} +0 -0
- /package/{dist/api/types/BodyCreateSourceConnectionFromOauthConnectionsCreateSourceConnectionFromOauthPost.js → api/types/WhiteLabelUpdate.js} +0 -0
- /package/dist/api/{types/BodySendOauth2CodeConnectionsOauth2SourceCodePost.js → resources/collections/client/requests/SearchCollectionCollectionsReadableIdSearchGetRequest.js} +0 -0
- /package/dist/api/{types/SourceWithAuthenticationFields.js → resources/sourceConnections/client/requests/BodyRunSourceConnectionSourceConnectionsSourceConnectionIdRunPost.js} +0 -0
package/reference.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
## Sources
|
|
4
4
|
|
|
5
|
-
<details><summary><code>client.sources.<a href="/src/api/resources/sources/client/Client.ts">readSource</a>(shortName) -> AirweaveSDK.
|
|
5
|
+
<details><summary><code>client.sources.<a href="/src/api/resources/sources/client/Client.ts">readSource</a>(shortName) -> AirweaveSDK.Source</code></summary>
|
|
6
6
|
<dl>
|
|
7
7
|
<dd>
|
|
8
8
|
|
|
@@ -26,6 +26,9 @@ Get source by id.
|
|
|
26
26
|
|
|
27
27
|
schemas.Source: The source object.
|
|
28
28
|
|
|
29
|
+
Raises:
|
|
30
|
+
HTTPException: - 404 if source not found - 400 if source missing required configuration classes - 500 if there's an error retrieving auth configuration
|
|
31
|
+
|
|
29
32
|
</dd>
|
|
30
33
|
</dl>
|
|
31
34
|
</dd>
|
|
@@ -87,16 +90,7 @@ await client.sources.readSource("short_name");
|
|
|
87
90
|
<dl>
|
|
88
91
|
<dd>
|
|
89
92
|
|
|
90
|
-
Get all sources
|
|
91
|
-
|
|
92
|
-
## Args:
|
|
93
|
-
|
|
94
|
-
db: The database session
|
|
95
|
-
user: The current user
|
|
96
|
-
|
|
97
|
-
## Returns:
|
|
98
|
-
|
|
99
|
-
list[schemas.Source]: The list of sources.
|
|
93
|
+
Get all sources with their authentication fields.
|
|
100
94
|
|
|
101
95
|
</dd>
|
|
102
96
|
</dl>
|
|
@@ -412,7 +406,7 @@ await client.collections.deleteCollection("readable_id");
|
|
|
412
406
|
</dl>
|
|
413
407
|
</details>
|
|
414
408
|
|
|
415
|
-
<details><summary><code>client.collections.<a href="/src/api/resources/collections/client/Client.ts">
|
|
409
|
+
<details><summary><code>client.collections.<a href="/src/api/resources/collections/client/Client.ts">searchCollection</a>(readableId, { ...params }) -> AirweaveSDK.SearchResponse</code></summary>
|
|
416
410
|
<dl>
|
|
417
411
|
<dd>
|
|
418
412
|
|
|
@@ -424,16 +418,17 @@ await client.collections.deleteCollection("readable_id");
|
|
|
424
418
|
<dl>
|
|
425
419
|
<dd>
|
|
426
420
|
|
|
427
|
-
|
|
421
|
+
Search within a collection identified by readable ID.
|
|
428
422
|
|
|
429
423
|
Args:
|
|
430
|
-
readable_id: The readable ID of the collection
|
|
424
|
+
readable_id: The readable ID of the collection to search
|
|
425
|
+
query: The search query
|
|
426
|
+
response_type: Type of response (raw results or AI completion)
|
|
431
427
|
db: The database session
|
|
432
428
|
current_user: The current user
|
|
433
|
-
background_tasks: Background tasks for async operations
|
|
434
429
|
|
|
435
430
|
Returns:
|
|
436
|
-
|
|
431
|
+
dict: Search results or AI completion response
|
|
437
432
|
|
|
438
433
|
</dd>
|
|
439
434
|
</dl>
|
|
@@ -449,7 +444,9 @@ A list of created sync jobs
|
|
|
449
444
|
<dd>
|
|
450
445
|
|
|
451
446
|
```typescript
|
|
452
|
-
await client.collections.
|
|
447
|
+
await client.collections.searchCollection("readable_id", {
|
|
448
|
+
query: "query",
|
|
449
|
+
});
|
|
453
450
|
```
|
|
454
451
|
|
|
455
452
|
</dd>
|
|
@@ -473,6 +470,14 @@ await client.collections.refreshAllSourceConnections("readable_id");
|
|
|
473
470
|
<dl>
|
|
474
471
|
<dd>
|
|
475
472
|
|
|
473
|
+
**request:** `AirweaveSDK.SearchCollectionCollectionsReadableIdSearchGetRequest`
|
|
474
|
+
|
|
475
|
+
</dd>
|
|
476
|
+
</dl>
|
|
477
|
+
|
|
478
|
+
<dl>
|
|
479
|
+
<dd>
|
|
480
|
+
|
|
476
481
|
**requestOptions:** `Collections.RequestOptions`
|
|
477
482
|
|
|
478
483
|
</dd>
|
|
@@ -484,9 +489,7 @@ await client.collections.refreshAllSourceConnections("readable_id");
|
|
|
484
489
|
</dl>
|
|
485
490
|
</details>
|
|
486
491
|
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
<details><summary><code>client.connections.<a href="/src/api/resources/connections/client/Client.ts">getConnection</a>(connectionId) -> AirweaveSDK.Connection</code></summary>
|
|
492
|
+
<details><summary><code>client.collections.<a href="/src/api/resources/collections/client/Client.ts">refreshAllSourceConnections</a>(readableId) -> AirweaveSDK.SourceConnectionJob[]</code></summary>
|
|
490
493
|
<dl>
|
|
491
494
|
<dd>
|
|
492
495
|
|
|
@@ -498,17 +501,16 @@ await client.collections.refreshAllSourceConnections("readable_id");
|
|
|
498
501
|
<dl>
|
|
499
502
|
<dd>
|
|
500
503
|
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
## Args:
|
|
504
|
-
|
|
505
|
-
connection_id: The ID of the connection to get.
|
|
506
|
-
db: The database session.
|
|
507
|
-
user: The current user.
|
|
504
|
+
Start sync jobs for all source connections in the collection.
|
|
508
505
|
|
|
509
|
-
|
|
506
|
+
Args:
|
|
507
|
+
readable_id: The readable ID of the collection
|
|
508
|
+
db: The database session
|
|
509
|
+
current_user: The current user
|
|
510
|
+
background_tasks: Background tasks for async operations
|
|
510
511
|
|
|
511
|
-
|
|
512
|
+
Returns:
|
|
513
|
+
A list of created sync jobs
|
|
512
514
|
|
|
513
515
|
</dd>
|
|
514
516
|
</dl>
|
|
@@ -524,7 +526,7 @@ Get a specific connection.
|
|
|
524
526
|
<dd>
|
|
525
527
|
|
|
526
528
|
```typescript
|
|
527
|
-
await client.
|
|
529
|
+
await client.collections.refreshAllSourceConnections("readable_id");
|
|
528
530
|
```
|
|
529
531
|
|
|
530
532
|
</dd>
|
|
@@ -540,79 +542,15 @@ await client.connections.getConnection("connection_id");
|
|
|
540
542
|
<dl>
|
|
541
543
|
<dd>
|
|
542
544
|
|
|
543
|
-
**
|
|
544
|
-
|
|
545
|
-
</dd>
|
|
546
|
-
</dl>
|
|
547
|
-
|
|
548
|
-
<dl>
|
|
549
|
-
<dd>
|
|
550
|
-
|
|
551
|
-
**requestOptions:** `Connections.RequestOptions`
|
|
552
|
-
|
|
553
|
-
</dd>
|
|
554
|
-
</dl>
|
|
555
|
-
</dd>
|
|
556
|
-
</dl>
|
|
557
|
-
|
|
558
|
-
</dd>
|
|
559
|
-
</dl>
|
|
560
|
-
</details>
|
|
561
|
-
|
|
562
|
-
<details><summary><code>client.connections.<a href="/src/api/resources/connections/client/Client.ts">listAllConnectedIntegrations</a>() -> AirweaveSDK.Connection[]</code></summary>
|
|
563
|
-
<dl>
|
|
564
|
-
<dd>
|
|
565
|
-
|
|
566
|
-
#### 📝 Description
|
|
567
|
-
|
|
568
|
-
<dl>
|
|
569
|
-
<dd>
|
|
570
|
-
|
|
571
|
-
<dl>
|
|
572
|
-
<dd>
|
|
573
|
-
|
|
574
|
-
Get all active connections for the current user across all integration types.
|
|
575
|
-
|
|
576
|
-
## Args:
|
|
577
|
-
|
|
578
|
-
db: The database session.
|
|
579
|
-
user: The current user.
|
|
580
|
-
|
|
581
|
-
## Returns:
|
|
582
|
-
|
|
583
|
-
list[schemas.Connection]: The list of connections.
|
|
584
|
-
|
|
585
|
-
</dd>
|
|
586
|
-
</dl>
|
|
587
|
-
</dd>
|
|
588
|
-
</dl>
|
|
589
|
-
|
|
590
|
-
#### 🔌 Usage
|
|
591
|
-
|
|
592
|
-
<dl>
|
|
593
|
-
<dd>
|
|
594
|
-
|
|
595
|
-
<dl>
|
|
596
|
-
<dd>
|
|
597
|
-
|
|
598
|
-
```typescript
|
|
599
|
-
await client.connections.listAllConnectedIntegrations();
|
|
600
|
-
```
|
|
545
|
+
**readableId:** `string`
|
|
601
546
|
|
|
602
|
-
</dd>
|
|
603
|
-
</dl>
|
|
604
547
|
</dd>
|
|
605
548
|
</dl>
|
|
606
549
|
|
|
607
|
-
#### ⚙️ Parameters
|
|
608
|
-
|
|
609
550
|
<dl>
|
|
610
551
|
<dd>
|
|
611
552
|
|
|
612
|
-
|
|
613
|
-
<dd>
|
|
614
|
-
|
|
615
|
-
**requestOptions:** `Connections.RequestOptions`
|
|
553
|
+
**requestOptions:** `Collections.RequestOptions`
|
|
616
554
|
|
|
617
555
|
</dd>
|
|
618
556
|
</dl>
|
|
@@ -1021,7 +959,7 @@ await client.sourceConnections.deleteSourceConnection("source_connection_id");
|
|
|
1021
959
|
</dl>
|
|
1022
960
|
</details>
|
|
1023
961
|
|
|
1024
|
-
<details><summary><code>client.sourceConnections.<a href="/src/api/resources/sourceConnections/client/Client.ts">runSourceConnection</a>(sourceConnectionId) -> AirweaveSDK.SourceConnectionJob</code></summary>
|
|
962
|
+
<details><summary><code>client.sourceConnections.<a href="/src/api/resources/sourceConnections/client/Client.ts">runSourceConnection</a>(sourceConnectionId, { ...params }) -> AirweaveSDK.SourceConnectionJob</code></summary>
|
|
1025
963
|
<dl>
|
|
1026
964
|
<dd>
|
|
1027
965
|
|
|
@@ -1038,6 +976,7 @@ Trigger a sync run for a source connection.
|
|
|
1038
976
|
Args:
|
|
1039
977
|
db: The database session
|
|
1040
978
|
source_connection_id: The ID of the source connection to run
|
|
979
|
+
access_token: Optional access token to use instead of stored credentials
|
|
1041
980
|
user: The current user
|
|
1042
981
|
background_tasks: Background tasks for async operations
|
|
1043
982
|
|
|
@@ -1082,6 +1021,14 @@ await client.sourceConnections.runSourceConnection("source_connection_id");
|
|
|
1082
1021
|
<dl>
|
|
1083
1022
|
<dd>
|
|
1084
1023
|
|
|
1024
|
+
**request:** `AirweaveSDK.BodyRunSourceConnectionSourceConnectionsSourceConnectionIdRunPost`
|
|
1025
|
+
|
|
1026
|
+
</dd>
|
|
1027
|
+
</dl>
|
|
1028
|
+
|
|
1029
|
+
<dl>
|
|
1030
|
+
<dd>
|
|
1031
|
+
|
|
1085
1032
|
**requestOptions:** `SourceConnections.RequestOptions`
|
|
1086
1033
|
|
|
1087
1034
|
</dd>
|
|
@@ -1163,449 +1110,3 @@ await client.sourceConnections.listSourceConnectionJobs("source_connection_id");
|
|
|
1163
1110
|
</dd>
|
|
1164
1111
|
</dl>
|
|
1165
1112
|
</details>
|
|
1166
|
-
|
|
1167
|
-
## WhiteLabels
|
|
1168
|
-
|
|
1169
|
-
<details><summary><code>client.whiteLabels.<a href="/src/api/resources/whiteLabels/client/Client.ts">listWhiteLabels</a>() -> AirweaveSDK.WhiteLabel[]</code></summary>
|
|
1170
|
-
<dl>
|
|
1171
|
-
<dd>
|
|
1172
|
-
|
|
1173
|
-
#### 📝 Description
|
|
1174
|
-
|
|
1175
|
-
<dl>
|
|
1176
|
-
<dd>
|
|
1177
|
-
|
|
1178
|
-
<dl>
|
|
1179
|
-
<dd>
|
|
1180
|
-
|
|
1181
|
-
List all white labels for the current user's organization.
|
|
1182
|
-
|
|
1183
|
-
## Args:
|
|
1184
|
-
|
|
1185
|
-
db: The database session
|
|
1186
|
-
current_user: The current user
|
|
1187
|
-
|
|
1188
|
-
## Returns:
|
|
1189
|
-
|
|
1190
|
-
list[schemas.WhiteLabel]: A list of white labels
|
|
1191
|
-
|
|
1192
|
-
</dd>
|
|
1193
|
-
</dl>
|
|
1194
|
-
</dd>
|
|
1195
|
-
</dl>
|
|
1196
|
-
|
|
1197
|
-
#### 🔌 Usage
|
|
1198
|
-
|
|
1199
|
-
<dl>
|
|
1200
|
-
<dd>
|
|
1201
|
-
|
|
1202
|
-
<dl>
|
|
1203
|
-
<dd>
|
|
1204
|
-
|
|
1205
|
-
```typescript
|
|
1206
|
-
await client.whiteLabels.listWhiteLabels();
|
|
1207
|
-
```
|
|
1208
|
-
|
|
1209
|
-
</dd>
|
|
1210
|
-
</dl>
|
|
1211
|
-
</dd>
|
|
1212
|
-
</dl>
|
|
1213
|
-
|
|
1214
|
-
#### ⚙️ Parameters
|
|
1215
|
-
|
|
1216
|
-
<dl>
|
|
1217
|
-
<dd>
|
|
1218
|
-
|
|
1219
|
-
<dl>
|
|
1220
|
-
<dd>
|
|
1221
|
-
|
|
1222
|
-
**requestOptions:** `WhiteLabels.RequestOptions`
|
|
1223
|
-
|
|
1224
|
-
</dd>
|
|
1225
|
-
</dl>
|
|
1226
|
-
</dd>
|
|
1227
|
-
</dl>
|
|
1228
|
-
|
|
1229
|
-
</dd>
|
|
1230
|
-
</dl>
|
|
1231
|
-
</details>
|
|
1232
|
-
|
|
1233
|
-
<details><summary><code>client.whiteLabels.<a href="/src/api/resources/whiteLabels/client/Client.ts">createWhiteLabel</a>({ ...params }) -> AirweaveSDK.WhiteLabel</code></summary>
|
|
1234
|
-
<dl>
|
|
1235
|
-
<dd>
|
|
1236
|
-
|
|
1237
|
-
#### 📝 Description
|
|
1238
|
-
|
|
1239
|
-
<dl>
|
|
1240
|
-
<dd>
|
|
1241
|
-
|
|
1242
|
-
<dl>
|
|
1243
|
-
<dd>
|
|
1244
|
-
|
|
1245
|
-
Create new white label integration.
|
|
1246
|
-
|
|
1247
|
-
## Args:
|
|
1248
|
-
|
|
1249
|
-
db: The database session
|
|
1250
|
-
current_user: The current user
|
|
1251
|
-
white_label_in: The white label to create
|
|
1252
|
-
|
|
1253
|
-
## Returns:
|
|
1254
|
-
|
|
1255
|
-
white_label (schemas.WhiteLabel): The created white label
|
|
1256
|
-
|
|
1257
|
-
</dd>
|
|
1258
|
-
</dl>
|
|
1259
|
-
</dd>
|
|
1260
|
-
</dl>
|
|
1261
|
-
|
|
1262
|
-
#### 🔌 Usage
|
|
1263
|
-
|
|
1264
|
-
<dl>
|
|
1265
|
-
<dd>
|
|
1266
|
-
|
|
1267
|
-
<dl>
|
|
1268
|
-
<dd>
|
|
1269
|
-
|
|
1270
|
-
```typescript
|
|
1271
|
-
await client.whiteLabels.createWhiteLabel({
|
|
1272
|
-
name: "name",
|
|
1273
|
-
sourceShortName: "source_short_name",
|
|
1274
|
-
redirectUrl: "redirect_url",
|
|
1275
|
-
clientId: "client_id",
|
|
1276
|
-
clientSecret: "client_secret",
|
|
1277
|
-
});
|
|
1278
|
-
```
|
|
1279
|
-
|
|
1280
|
-
</dd>
|
|
1281
|
-
</dl>
|
|
1282
|
-
</dd>
|
|
1283
|
-
</dl>
|
|
1284
|
-
|
|
1285
|
-
#### ⚙️ Parameters
|
|
1286
|
-
|
|
1287
|
-
<dl>
|
|
1288
|
-
<dd>
|
|
1289
|
-
|
|
1290
|
-
<dl>
|
|
1291
|
-
<dd>
|
|
1292
|
-
|
|
1293
|
-
**request:** `AirweaveSDK.WhiteLabelCreate`
|
|
1294
|
-
|
|
1295
|
-
</dd>
|
|
1296
|
-
</dl>
|
|
1297
|
-
|
|
1298
|
-
<dl>
|
|
1299
|
-
<dd>
|
|
1300
|
-
|
|
1301
|
-
**requestOptions:** `WhiteLabels.RequestOptions`
|
|
1302
|
-
|
|
1303
|
-
</dd>
|
|
1304
|
-
</dl>
|
|
1305
|
-
</dd>
|
|
1306
|
-
</dl>
|
|
1307
|
-
|
|
1308
|
-
</dd>
|
|
1309
|
-
</dl>
|
|
1310
|
-
</details>
|
|
1311
|
-
|
|
1312
|
-
<details><summary><code>client.whiteLabels.<a href="/src/api/resources/whiteLabels/client/Client.ts">getWhiteLabel</a>(whiteLabelId) -> AirweaveSDK.WhiteLabel</code></summary>
|
|
1313
|
-
<dl>
|
|
1314
|
-
<dd>
|
|
1315
|
-
|
|
1316
|
-
#### 📝 Description
|
|
1317
|
-
|
|
1318
|
-
<dl>
|
|
1319
|
-
<dd>
|
|
1320
|
-
|
|
1321
|
-
<dl>
|
|
1322
|
-
<dd>
|
|
1323
|
-
|
|
1324
|
-
Get a specific white label integration.
|
|
1325
|
-
|
|
1326
|
-
## Args:
|
|
1327
|
-
|
|
1328
|
-
db: The database session
|
|
1329
|
-
white_label_id: The ID of the white label to get
|
|
1330
|
-
current_user: The current user
|
|
1331
|
-
|
|
1332
|
-
## Returns:
|
|
1333
|
-
|
|
1334
|
-
white_label (schemas.WhiteLabel): The white label
|
|
1335
|
-
|
|
1336
|
-
</dd>
|
|
1337
|
-
</dl>
|
|
1338
|
-
</dd>
|
|
1339
|
-
</dl>
|
|
1340
|
-
|
|
1341
|
-
#### 🔌 Usage
|
|
1342
|
-
|
|
1343
|
-
<dl>
|
|
1344
|
-
<dd>
|
|
1345
|
-
|
|
1346
|
-
<dl>
|
|
1347
|
-
<dd>
|
|
1348
|
-
|
|
1349
|
-
```typescript
|
|
1350
|
-
await client.whiteLabels.getWhiteLabel("white_label_id");
|
|
1351
|
-
```
|
|
1352
|
-
|
|
1353
|
-
</dd>
|
|
1354
|
-
</dl>
|
|
1355
|
-
</dd>
|
|
1356
|
-
</dl>
|
|
1357
|
-
|
|
1358
|
-
#### ⚙️ Parameters
|
|
1359
|
-
|
|
1360
|
-
<dl>
|
|
1361
|
-
<dd>
|
|
1362
|
-
|
|
1363
|
-
<dl>
|
|
1364
|
-
<dd>
|
|
1365
|
-
|
|
1366
|
-
**whiteLabelId:** `string`
|
|
1367
|
-
|
|
1368
|
-
</dd>
|
|
1369
|
-
</dl>
|
|
1370
|
-
|
|
1371
|
-
<dl>
|
|
1372
|
-
<dd>
|
|
1373
|
-
|
|
1374
|
-
**requestOptions:** `WhiteLabels.RequestOptions`
|
|
1375
|
-
|
|
1376
|
-
</dd>
|
|
1377
|
-
</dl>
|
|
1378
|
-
</dd>
|
|
1379
|
-
</dl>
|
|
1380
|
-
|
|
1381
|
-
</dd>
|
|
1382
|
-
</dl>
|
|
1383
|
-
</details>
|
|
1384
|
-
|
|
1385
|
-
<details><summary><code>client.whiteLabels.<a href="/src/api/resources/whiteLabels/client/Client.ts">updateWhiteLabel</a>(whiteLabelId, { ...params }) -> AirweaveSDK.WhiteLabel</code></summary>
|
|
1386
|
-
<dl>
|
|
1387
|
-
<dd>
|
|
1388
|
-
|
|
1389
|
-
#### 📝 Description
|
|
1390
|
-
|
|
1391
|
-
<dl>
|
|
1392
|
-
<dd>
|
|
1393
|
-
|
|
1394
|
-
<dl>
|
|
1395
|
-
<dd>
|
|
1396
|
-
|
|
1397
|
-
Update a white label integration.
|
|
1398
|
-
|
|
1399
|
-
## Args:
|
|
1400
|
-
|
|
1401
|
-
db: The database session
|
|
1402
|
-
current_user: The current user
|
|
1403
|
-
white_label_id: The ID of the white label to update
|
|
1404
|
-
white_label_in: The white label to update
|
|
1405
|
-
|
|
1406
|
-
## Returns:
|
|
1407
|
-
|
|
1408
|
-
white_label (schemas.WhiteLabel): The updated white label
|
|
1409
|
-
|
|
1410
|
-
</dd>
|
|
1411
|
-
</dl>
|
|
1412
|
-
</dd>
|
|
1413
|
-
</dl>
|
|
1414
|
-
|
|
1415
|
-
#### 🔌 Usage
|
|
1416
|
-
|
|
1417
|
-
<dl>
|
|
1418
|
-
<dd>
|
|
1419
|
-
|
|
1420
|
-
<dl>
|
|
1421
|
-
<dd>
|
|
1422
|
-
|
|
1423
|
-
```typescript
|
|
1424
|
-
await client.whiteLabels.updateWhiteLabel("white_label_id");
|
|
1425
|
-
```
|
|
1426
|
-
|
|
1427
|
-
</dd>
|
|
1428
|
-
</dl>
|
|
1429
|
-
</dd>
|
|
1430
|
-
</dl>
|
|
1431
|
-
|
|
1432
|
-
#### ⚙️ Parameters
|
|
1433
|
-
|
|
1434
|
-
<dl>
|
|
1435
|
-
<dd>
|
|
1436
|
-
|
|
1437
|
-
<dl>
|
|
1438
|
-
<dd>
|
|
1439
|
-
|
|
1440
|
-
**whiteLabelId:** `string`
|
|
1441
|
-
|
|
1442
|
-
</dd>
|
|
1443
|
-
</dl>
|
|
1444
|
-
|
|
1445
|
-
<dl>
|
|
1446
|
-
<dd>
|
|
1447
|
-
|
|
1448
|
-
**request:** `AirweaveSDK.WhiteLabelUpdate`
|
|
1449
|
-
|
|
1450
|
-
</dd>
|
|
1451
|
-
</dl>
|
|
1452
|
-
|
|
1453
|
-
<dl>
|
|
1454
|
-
<dd>
|
|
1455
|
-
|
|
1456
|
-
**requestOptions:** `WhiteLabels.RequestOptions`
|
|
1457
|
-
|
|
1458
|
-
</dd>
|
|
1459
|
-
</dl>
|
|
1460
|
-
</dd>
|
|
1461
|
-
</dl>
|
|
1462
|
-
|
|
1463
|
-
</dd>
|
|
1464
|
-
</dl>
|
|
1465
|
-
</details>
|
|
1466
|
-
|
|
1467
|
-
<details><summary><code>client.whiteLabels.<a href="/src/api/resources/whiteLabels/client/Client.ts">deleteWhiteLabel</a>(whiteLabelId) -> AirweaveSDK.WhiteLabel</code></summary>
|
|
1468
|
-
<dl>
|
|
1469
|
-
<dd>
|
|
1470
|
-
|
|
1471
|
-
#### 📝 Description
|
|
1472
|
-
|
|
1473
|
-
<dl>
|
|
1474
|
-
<dd>
|
|
1475
|
-
|
|
1476
|
-
<dl>
|
|
1477
|
-
<dd>
|
|
1478
|
-
|
|
1479
|
-
Delete a white label integration.
|
|
1480
|
-
|
|
1481
|
-
## Args:
|
|
1482
|
-
|
|
1483
|
-
db: The database session
|
|
1484
|
-
current_user: The current user
|
|
1485
|
-
white_label_id: The ID of the white label to delete
|
|
1486
|
-
|
|
1487
|
-
## Returns:
|
|
1488
|
-
|
|
1489
|
-
white_label (schemas.WhiteLabel): The deleted white label
|
|
1490
|
-
|
|
1491
|
-
</dd>
|
|
1492
|
-
</dl>
|
|
1493
|
-
</dd>
|
|
1494
|
-
</dl>
|
|
1495
|
-
|
|
1496
|
-
#### 🔌 Usage
|
|
1497
|
-
|
|
1498
|
-
<dl>
|
|
1499
|
-
<dd>
|
|
1500
|
-
|
|
1501
|
-
<dl>
|
|
1502
|
-
<dd>
|
|
1503
|
-
|
|
1504
|
-
```typescript
|
|
1505
|
-
await client.whiteLabels.deleteWhiteLabel("white_label_id");
|
|
1506
|
-
```
|
|
1507
|
-
|
|
1508
|
-
</dd>
|
|
1509
|
-
</dl>
|
|
1510
|
-
</dd>
|
|
1511
|
-
</dl>
|
|
1512
|
-
|
|
1513
|
-
#### ⚙️ Parameters
|
|
1514
|
-
|
|
1515
|
-
<dl>
|
|
1516
|
-
<dd>
|
|
1517
|
-
|
|
1518
|
-
<dl>
|
|
1519
|
-
<dd>
|
|
1520
|
-
|
|
1521
|
-
**whiteLabelId:** `string`
|
|
1522
|
-
|
|
1523
|
-
</dd>
|
|
1524
|
-
</dl>
|
|
1525
|
-
|
|
1526
|
-
<dl>
|
|
1527
|
-
<dd>
|
|
1528
|
-
|
|
1529
|
-
**requestOptions:** `WhiteLabels.RequestOptions`
|
|
1530
|
-
|
|
1531
|
-
</dd>
|
|
1532
|
-
</dl>
|
|
1533
|
-
</dd>
|
|
1534
|
-
</dl>
|
|
1535
|
-
|
|
1536
|
-
</dd>
|
|
1537
|
-
</dl>
|
|
1538
|
-
</details>
|
|
1539
|
-
|
|
1540
|
-
<details><summary><code>client.whiteLabels.<a href="/src/api/resources/whiteLabels/client/Client.ts">listWhiteLabelSyncs</a>(whiteLabelId) -> AirweaveSDK.Sync[]</code></summary>
|
|
1541
|
-
<dl>
|
|
1542
|
-
<dd>
|
|
1543
|
-
|
|
1544
|
-
#### 📝 Description
|
|
1545
|
-
|
|
1546
|
-
<dl>
|
|
1547
|
-
<dd>
|
|
1548
|
-
|
|
1549
|
-
<dl>
|
|
1550
|
-
<dd>
|
|
1551
|
-
|
|
1552
|
-
List all syncs for a specific white label.
|
|
1553
|
-
|
|
1554
|
-
## Args:
|
|
1555
|
-
|
|
1556
|
-
white_label_id: The ID of the white label to list syncs for
|
|
1557
|
-
db: The database session
|
|
1558
|
-
current_user: The current user
|
|
1559
|
-
|
|
1560
|
-
## Returns:
|
|
1561
|
-
|
|
1562
|
-
list[schemas.Sync]: A list of syncs
|
|
1563
|
-
|
|
1564
|
-
</dd>
|
|
1565
|
-
</dl>
|
|
1566
|
-
</dd>
|
|
1567
|
-
</dl>
|
|
1568
|
-
|
|
1569
|
-
#### 🔌 Usage
|
|
1570
|
-
|
|
1571
|
-
<dl>
|
|
1572
|
-
<dd>
|
|
1573
|
-
|
|
1574
|
-
<dl>
|
|
1575
|
-
<dd>
|
|
1576
|
-
|
|
1577
|
-
```typescript
|
|
1578
|
-
await client.whiteLabels.listWhiteLabelSyncs("white_label_id");
|
|
1579
|
-
```
|
|
1580
|
-
|
|
1581
|
-
</dd>
|
|
1582
|
-
</dl>
|
|
1583
|
-
</dd>
|
|
1584
|
-
</dl>
|
|
1585
|
-
|
|
1586
|
-
#### ⚙️ Parameters
|
|
1587
|
-
|
|
1588
|
-
<dl>
|
|
1589
|
-
<dd>
|
|
1590
|
-
|
|
1591
|
-
<dl>
|
|
1592
|
-
<dd>
|
|
1593
|
-
|
|
1594
|
-
**whiteLabelId:** `string`
|
|
1595
|
-
|
|
1596
|
-
</dd>
|
|
1597
|
-
</dl>
|
|
1598
|
-
|
|
1599
|
-
<dl>
|
|
1600
|
-
<dd>
|
|
1601
|
-
|
|
1602
|
-
**requestOptions:** `WhiteLabels.RequestOptions`
|
|
1603
|
-
|
|
1604
|
-
</dd>
|
|
1605
|
-
</dl>
|
|
1606
|
-
</dd>
|
|
1607
|
-
</dl>
|
|
1608
|
-
|
|
1609
|
-
</dd>
|
|
1610
|
-
</dl>
|
|
1611
|
-
</details>
|
package/serialization/index.d.ts
CHANGED
package/serialization/index.js
CHANGED
|
@@ -14,5 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./types"), exports);
|
|
18
17
|
__exportStar(require("./resources"), exports);
|
|
18
|
+
__exportStar(require("./types"), exports);
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
+
export * as sourceConnections from "./sourceConnections";
|
|
2
|
+
export * from "./sourceConnections/types";
|
|
1
3
|
export * as sources from "./sources";
|
|
2
4
|
export * as collections from "./collections";
|
|
3
|
-
export * as connections from "./connections";
|
|
4
|
-
export * as sourceConnections from "./sourceConnections";
|
|
5
|
-
export * as whiteLabels from "./whiteLabels";
|
|
6
5
|
export * from "./collections/client/requests";
|
|
7
6
|
export * from "./sourceConnections/client/requests";
|
|
8
|
-
export * from "./whiteLabels/client/requests";
|