@airweave/sdk 0.2.27 → 0.2.53
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/BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePost.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/BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePost.d.ts +8 -0
- package/dist/api/types/BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePost.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/BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePost.d.ts +14 -0
- package/dist/serialization/types/{BodyCreateSourceConnectionFromOauthConnectionsCreateSourceConnectionFromOauthPost.js → BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePost.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/BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePost.d.ts +14 -0
- package/serialization/types/{BodyCreateSourceConnectionFromOauthConnectionsCreateSourceConnectionFromOauthPost.js → BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePost.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 → BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePost.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
|
@@ -1,169 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as environments from "../../../../environments";
|
|
5
|
-
import * as core from "../../../../core";
|
|
6
|
-
import * as AirweaveSDK from "../../../index";
|
|
7
|
-
export declare namespace WhiteLabels {
|
|
8
|
-
interface Options {
|
|
9
|
-
environment?: core.Supplier<environments.AirweaveSDKEnvironment | string>;
|
|
10
|
-
token: core.Supplier<core.BearerToken>;
|
|
11
|
-
/** Override the x-api-key header */
|
|
12
|
-
apiKey?: core.Supplier<string | undefined>;
|
|
13
|
-
}
|
|
14
|
-
interface RequestOptions {
|
|
15
|
-
/** The maximum time to wait for a response in seconds. */
|
|
16
|
-
timeoutInSeconds?: number;
|
|
17
|
-
/** The number of times to retry the request. Defaults to 2. */
|
|
18
|
-
maxRetries?: number;
|
|
19
|
-
/** A hook to abort the request. */
|
|
20
|
-
abortSignal?: AbortSignal;
|
|
21
|
-
/** Override the x-api-key header */
|
|
22
|
-
apiKey?: string | undefined;
|
|
23
|
-
/** Additional headers to include in the request. */
|
|
24
|
-
headers?: Record<string, string>;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
export declare class WhiteLabels {
|
|
28
|
-
protected readonly _options: WhiteLabels.Options;
|
|
29
|
-
constructor(_options: WhiteLabels.Options);
|
|
30
|
-
/**
|
|
31
|
-
* List all white labels for the current user's organization.
|
|
32
|
-
*
|
|
33
|
-
* Args:
|
|
34
|
-
* -----
|
|
35
|
-
* db: The database session
|
|
36
|
-
* current_user: The current user
|
|
37
|
-
*
|
|
38
|
-
* Returns:
|
|
39
|
-
* --------
|
|
40
|
-
* list[schemas.WhiteLabel]: A list of white labels
|
|
41
|
-
*
|
|
42
|
-
* @param {WhiteLabels.RequestOptions} requestOptions - Request-specific configuration.
|
|
43
|
-
*
|
|
44
|
-
* @throws {@link AirweaveSDK.UnprocessableEntityError}
|
|
45
|
-
*
|
|
46
|
-
* @example
|
|
47
|
-
* await client.whiteLabels.listWhiteLabels()
|
|
48
|
-
*/
|
|
49
|
-
listWhiteLabels(requestOptions?: WhiteLabels.RequestOptions): Promise<AirweaveSDK.WhiteLabel[]>;
|
|
50
|
-
/**
|
|
51
|
-
* Create new white label integration.
|
|
52
|
-
*
|
|
53
|
-
* Args:
|
|
54
|
-
* -----
|
|
55
|
-
* db: The database session
|
|
56
|
-
* current_user: The current user
|
|
57
|
-
* white_label_in: The white label to create
|
|
58
|
-
*
|
|
59
|
-
* Returns:
|
|
60
|
-
* --------
|
|
61
|
-
* white_label (schemas.WhiteLabel): The created white label
|
|
62
|
-
*
|
|
63
|
-
* @param {AirweaveSDK.WhiteLabelCreate} request
|
|
64
|
-
* @param {WhiteLabels.RequestOptions} requestOptions - Request-specific configuration.
|
|
65
|
-
*
|
|
66
|
-
* @throws {@link AirweaveSDK.UnprocessableEntityError}
|
|
67
|
-
*
|
|
68
|
-
* @example
|
|
69
|
-
* await client.whiteLabels.createWhiteLabel({
|
|
70
|
-
* name: "name",
|
|
71
|
-
* sourceShortName: "source_short_name",
|
|
72
|
-
* redirectUrl: "redirect_url",
|
|
73
|
-
* clientId: "client_id",
|
|
74
|
-
* clientSecret: "client_secret"
|
|
75
|
-
* })
|
|
76
|
-
*/
|
|
77
|
-
createWhiteLabel(request: AirweaveSDK.WhiteLabelCreate, requestOptions?: WhiteLabels.RequestOptions): Promise<AirweaveSDK.WhiteLabel>;
|
|
78
|
-
/**
|
|
79
|
-
* Get a specific white label integration.
|
|
80
|
-
*
|
|
81
|
-
* Args:
|
|
82
|
-
* -----
|
|
83
|
-
* db: The database session
|
|
84
|
-
* white_label_id: The ID of the white label to get
|
|
85
|
-
* current_user: The current user
|
|
86
|
-
*
|
|
87
|
-
* Returns:
|
|
88
|
-
* --------
|
|
89
|
-
* white_label (schemas.WhiteLabel): The white label
|
|
90
|
-
*
|
|
91
|
-
* @param {string} whiteLabelId
|
|
92
|
-
* @param {WhiteLabels.RequestOptions} requestOptions - Request-specific configuration.
|
|
93
|
-
*
|
|
94
|
-
* @throws {@link AirweaveSDK.UnprocessableEntityError}
|
|
95
|
-
*
|
|
96
|
-
* @example
|
|
97
|
-
* await client.whiteLabels.getWhiteLabel("white_label_id")
|
|
98
|
-
*/
|
|
99
|
-
getWhiteLabel(whiteLabelId: string, requestOptions?: WhiteLabels.RequestOptions): Promise<AirweaveSDK.WhiteLabel>;
|
|
100
|
-
/**
|
|
101
|
-
* Update a white label integration.
|
|
102
|
-
*
|
|
103
|
-
* Args:
|
|
104
|
-
* -----
|
|
105
|
-
* db: The database session
|
|
106
|
-
* current_user: The current user
|
|
107
|
-
* white_label_id: The ID of the white label to update
|
|
108
|
-
* white_label_in: The white label to update
|
|
109
|
-
*
|
|
110
|
-
* Returns:
|
|
111
|
-
* --------
|
|
112
|
-
* white_label (schemas.WhiteLabel): The updated white label
|
|
113
|
-
*
|
|
114
|
-
* @param {string} whiteLabelId
|
|
115
|
-
* @param {AirweaveSDK.WhiteLabelUpdate} request
|
|
116
|
-
* @param {WhiteLabels.RequestOptions} requestOptions - Request-specific configuration.
|
|
117
|
-
*
|
|
118
|
-
* @throws {@link AirweaveSDK.UnprocessableEntityError}
|
|
119
|
-
*
|
|
120
|
-
* @example
|
|
121
|
-
* await client.whiteLabels.updateWhiteLabel("white_label_id")
|
|
122
|
-
*/
|
|
123
|
-
updateWhiteLabel(whiteLabelId: string, request?: AirweaveSDK.WhiteLabelUpdate, requestOptions?: WhiteLabels.RequestOptions): Promise<AirweaveSDK.WhiteLabel>;
|
|
124
|
-
/**
|
|
125
|
-
* Delete a white label integration.
|
|
126
|
-
*
|
|
127
|
-
* Args:
|
|
128
|
-
* -----
|
|
129
|
-
* db: The database session
|
|
130
|
-
* current_user: The current user
|
|
131
|
-
* white_label_id: The ID of the white label to delete
|
|
132
|
-
*
|
|
133
|
-
* Returns:
|
|
134
|
-
* --------
|
|
135
|
-
* white_label (schemas.WhiteLabel): The deleted white label
|
|
136
|
-
*
|
|
137
|
-
* @param {string} whiteLabelId
|
|
138
|
-
* @param {WhiteLabels.RequestOptions} requestOptions - Request-specific configuration.
|
|
139
|
-
*
|
|
140
|
-
* @throws {@link AirweaveSDK.UnprocessableEntityError}
|
|
141
|
-
*
|
|
142
|
-
* @example
|
|
143
|
-
* await client.whiteLabels.deleteWhiteLabel("white_label_id")
|
|
144
|
-
*/
|
|
145
|
-
deleteWhiteLabel(whiteLabelId: string, requestOptions?: WhiteLabels.RequestOptions): Promise<AirweaveSDK.WhiteLabel>;
|
|
146
|
-
/**
|
|
147
|
-
* List all syncs for a specific white label.
|
|
148
|
-
*
|
|
149
|
-
* Args:
|
|
150
|
-
* -----
|
|
151
|
-
* white_label_id: The ID of the white label to list syncs for
|
|
152
|
-
* db: The database session
|
|
153
|
-
* current_user: The current user
|
|
154
|
-
*
|
|
155
|
-
* Returns:
|
|
156
|
-
* --------
|
|
157
|
-
* list[schemas.Sync]: A list of syncs
|
|
158
|
-
*
|
|
159
|
-
* @param {string} whiteLabelId
|
|
160
|
-
* @param {WhiteLabels.RequestOptions} requestOptions - Request-specific configuration.
|
|
161
|
-
*
|
|
162
|
-
* @throws {@link AirweaveSDK.UnprocessableEntityError}
|
|
163
|
-
*
|
|
164
|
-
* @example
|
|
165
|
-
* await client.whiteLabels.listWhiteLabelSyncs("white_label_id")
|
|
166
|
-
*/
|
|
167
|
-
listWhiteLabelSyncs(whiteLabelId: string, requestOptions?: WhiteLabels.RequestOptions): Promise<AirweaveSDK.Sync[]>;
|
|
168
|
-
protected _getAuthorizationHeader(): Promise<string>;
|
|
169
|
-
}
|