@distilled.cloud/typesense 0.27.0 → 0.28.1
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/lib/operations/clearCache.d.ts +8 -9
- package/lib/operations/clearCache.d.ts.map +1 -1
- package/lib/operations/clearCache.js +0 -2
- package/lib/operations/clearCache.js.map +1 -1
- package/lib/operations/compactDb.d.ts +8 -9
- package/lib/operations/compactDb.d.ts.map +1 -1
- package/lib/operations/compactDb.js +0 -2
- package/lib/operations/compactDb.js.map +1 -1
- package/lib/operations/createAnalyticsEvent.d.ts +17 -29
- package/lib/operations/createAnalyticsEvent.d.ts.map +1 -1
- package/lib/operations/createAnalyticsEvent.js +0 -2
- package/lib/operations/createAnalyticsEvent.js.map +1 -1
- package/lib/operations/createAnalyticsRule.d.ts +38 -5
- package/lib/operations/createAnalyticsRule.d.ts.map +1 -1
- package/lib/operations/createAnalyticsRule.js +49 -3
- package/lib/operations/createAnalyticsRule.js.map +1 -1
- package/lib/operations/createCollection.d.ts +102 -197
- package/lib/operations/createCollection.d.ts.map +1 -1
- package/lib/operations/createCollection.js +6 -7
- package/lib/operations/createCollection.js.map +1 -1
- package/lib/operations/createConversationModel.d.ts +18 -29
- package/lib/operations/createConversationModel.d.ts.map +1 -1
- package/lib/operations/createConversationModel.js +1 -2
- package/lib/operations/createConversationModel.js.map +1 -1
- package/lib/operations/createKey.d.ts +19 -33
- package/lib/operations/createKey.d.ts.map +1 -1
- package/lib/operations/createKey.js +0 -2
- package/lib/operations/createKey.js.map +1 -1
- package/lib/operations/createNLSearchModel.d.ts +28 -49
- package/lib/operations/createNLSearchModel.d.ts.map +1 -1
- package/lib/operations/createNLSearchModel.js +1 -2
- package/lib/operations/createNLSearchModel.js.map +1 -1
- package/lib/operations/debug.d.ts +8 -9
- package/lib/operations/debug.d.ts.map +1 -1
- package/lib/operations/debug.js +0 -2
- package/lib/operations/debug.js.map +1 -1
- package/lib/operations/deleteAlias.d.ts +10 -15
- package/lib/operations/deleteAlias.d.ts.map +1 -1
- package/lib/operations/deleteAlias.js +0 -2
- package/lib/operations/deleteAlias.js.map +1 -1
- package/lib/operations/deleteAnalyticsRule.d.ts +22 -39
- package/lib/operations/deleteAnalyticsRule.d.ts.map +1 -1
- package/lib/operations/deleteAnalyticsRule.js +0 -2
- package/lib/operations/deleteAnalyticsRule.js.map +1 -1
- package/lib/operations/deleteCollection.d.ts +57 -107
- package/lib/operations/deleteCollection.d.ts.map +1 -1
- package/lib/operations/deleteCollection.js +6 -7
- package/lib/operations/deleteCollection.js.map +1 -1
- package/lib/operations/deleteConversationModel.d.ts +9 -13
- package/lib/operations/deleteConversationModel.d.ts.map +1 -1
- package/lib/operations/deleteConversationModel.js +0 -2
- package/lib/operations/deleteConversationModel.js.map +1 -1
- package/lib/operations/deleteCurationSet.d.ts +9 -13
- package/lib/operations/deleteCurationSet.d.ts.map +1 -1
- package/lib/operations/deleteCurationSet.js +0 -2
- package/lib/operations/deleteCurationSet.js.map +1 -1
- package/lib/operations/deleteCurationSetItem.d.ts +10 -15
- package/lib/operations/deleteCurationSetItem.d.ts.map +1 -1
- package/lib/operations/deleteCurationSetItem.js +0 -2
- package/lib/operations/deleteCurationSetItem.js.map +1 -1
- package/lib/operations/deleteDocument.d.ts +8 -11
- package/lib/operations/deleteDocument.d.ts.map +1 -1
- package/lib/operations/deleteDocument.js +2 -3
- package/lib/operations/deleteDocument.js.map +1 -1
- package/lib/operations/deleteDocuments.d.ts +10 -15
- package/lib/operations/deleteDocuments.d.ts.map +1 -1
- package/lib/operations/deleteDocuments.js +0 -2
- package/lib/operations/deleteDocuments.js.map +1 -1
- package/lib/operations/deleteKey.d.ts +9 -13
- package/lib/operations/deleteKey.d.ts.map +1 -1
- package/lib/operations/deleteKey.js +0 -2
- package/lib/operations/deleteKey.js.map +1 -1
- package/lib/operations/deleteNLSearchModel.d.ts +9 -13
- package/lib/operations/deleteNLSearchModel.d.ts.map +1 -1
- package/lib/operations/deleteNLSearchModel.js +0 -2
- package/lib/operations/deleteNLSearchModel.js.map +1 -1
- package/lib/operations/deletePreset.d.ts +9 -13
- package/lib/operations/deletePreset.d.ts.map +1 -1
- package/lib/operations/deletePreset.js +0 -2
- package/lib/operations/deletePreset.js.map +1 -1
- package/lib/operations/deleteStopwordsSet.d.ts +9 -13
- package/lib/operations/deleteStopwordsSet.d.ts.map +1 -1
- package/lib/operations/deleteStopwordsSet.js +0 -2
- package/lib/operations/deleteStopwordsSet.js.map +1 -1
- package/lib/operations/deleteSynonymSet.d.ts +9 -13
- package/lib/operations/deleteSynonymSet.d.ts.map +1 -1
- package/lib/operations/deleteSynonymSet.js +0 -2
- package/lib/operations/deleteSynonymSet.js.map +1 -1
- package/lib/operations/deleteSynonymSetItem.d.ts +10 -15
- package/lib/operations/deleteSynonymSetItem.d.ts.map +1 -1
- package/lib/operations/deleteSynonymSetItem.js +0 -2
- package/lib/operations/deleteSynonymSetItem.js.map +1 -1
- package/lib/operations/exportDocuments.d.ts +8 -11
- package/lib/operations/exportDocuments.d.ts.map +1 -1
- package/lib/operations/exportDocuments.js +2 -3
- package/lib/operations/exportDocuments.js.map +1 -1
- package/lib/operations/flushAnalytics.d.ts +8 -9
- package/lib/operations/flushAnalytics.d.ts.map +1 -1
- package/lib/operations/flushAnalytics.js +0 -2
- package/lib/operations/flushAnalytics.js.map +1 -1
- package/lib/operations/getAlias.d.ts +10 -15
- package/lib/operations/getAlias.d.ts.map +1 -1
- package/lib/operations/getAlias.js +0 -2
- package/lib/operations/getAlias.js.map +1 -1
- package/lib/operations/getAliases.d.ts +11 -15
- package/lib/operations/getAliases.d.ts.map +1 -1
- package/lib/operations/getAliases.js +0 -2
- package/lib/operations/getAliases.js.map +1 -1
- package/lib/operations/getAnalyticsEvents.d.ts +20 -35
- package/lib/operations/getAnalyticsEvents.d.ts.map +1 -1
- package/lib/operations/getAnalyticsEvents.js +0 -2
- package/lib/operations/getAnalyticsEvents.js.map +1 -1
- package/lib/operations/getAnalyticsStatus.d.ts +14 -21
- package/lib/operations/getAnalyticsStatus.d.ts.map +1 -1
- package/lib/operations/getAnalyticsStatus.js +0 -2
- package/lib/operations/getAnalyticsStatus.js.map +1 -1
- package/lib/operations/getCollection.d.ts +57 -107
- package/lib/operations/getCollection.d.ts.map +1 -1
- package/lib/operations/getCollection.js +6 -7
- package/lib/operations/getCollection.js.map +1 -1
- package/lib/operations/getCollections.d.ts +57 -107
- package/lib/operations/getCollections.d.ts.map +1 -1
- package/lib/operations/getCollections.js +6 -7
- package/lib/operations/getCollections.js.map +1 -1
- package/lib/operations/getDocument.d.ts +8 -11
- package/lib/operations/getDocument.d.ts.map +1 -1
- package/lib/operations/getDocument.js +2 -3
- package/lib/operations/getDocument.js.map +1 -1
- package/lib/operations/getKey.d.ts +15 -25
- package/lib/operations/getKey.d.ts.map +1 -1
- package/lib/operations/getKey.js +0 -2
- package/lib/operations/getKey.js.map +1 -1
- package/lib/operations/getKeys.d.ts +16 -25
- package/lib/operations/getKeys.d.ts.map +1 -1
- package/lib/operations/getKeys.js +0 -2
- package/lib/operations/getKeys.js.map +1 -1
- package/lib/operations/getSchemaChanges.d.ts +10 -13
- package/lib/operations/getSchemaChanges.d.ts.map +1 -1
- package/lib/operations/getSchemaChanges.js +0 -2
- package/lib/operations/getSchemaChanges.js.map +1 -1
- package/lib/operations/getStemmingDictionary.d.ts +13 -21
- package/lib/operations/getStemmingDictionary.d.ts.map +1 -1
- package/lib/operations/getStemmingDictionary.js +0 -2
- package/lib/operations/getStemmingDictionary.js.map +1 -1
- package/lib/operations/health.d.ts +8 -9
- package/lib/operations/health.d.ts.map +1 -1
- package/lib/operations/health.js +0 -2
- package/lib/operations/health.js.map +1 -1
- package/lib/operations/importDocuments.d.ts +8 -11
- package/lib/operations/importDocuments.d.ts.map +1 -1
- package/lib/operations/importDocuments.js +2 -3
- package/lib/operations/importDocuments.js.map +1 -1
- package/lib/operations/importStemmingDictionary.d.ts +7 -9
- package/lib/operations/importStemmingDictionary.d.ts.map +1 -1
- package/lib/operations/importStemmingDictionary.js +0 -2
- package/lib/operations/importStemmingDictionary.js.map +1 -1
- package/lib/operations/indexDocument.d.ts +9 -13
- package/lib/operations/indexDocument.d.ts.map +1 -1
- package/lib/operations/indexDocument.js +2 -3
- package/lib/operations/indexDocument.js.map +1 -1
- package/lib/operations/listStemmingDictionaries.d.ts +8 -9
- package/lib/operations/listStemmingDictionaries.d.ts.map +1 -1
- package/lib/operations/listStemmingDictionaries.js +0 -2
- package/lib/operations/listStemmingDictionaries.js.map +1 -1
- package/lib/operations/multiSearch.d.ts +199 -407
- package/lib/operations/multiSearch.d.ts.map +1 -1
- package/lib/operations/multiSearch.js +0 -2
- package/lib/operations/multiSearch.js.map +1 -1
- package/lib/operations/retrieveAPIStats.d.ts +20 -33
- package/lib/operations/retrieveAPIStats.d.ts.map +1 -1
- package/lib/operations/retrieveAPIStats.js +0 -2
- package/lib/operations/retrieveAPIStats.js.map +1 -1
- package/lib/operations/retrieveAllConversationModels.d.ts +8 -9
- package/lib/operations/retrieveAllConversationModels.d.ts.map +1 -1
- package/lib/operations/retrieveAllConversationModels.js +0 -2
- package/lib/operations/retrieveAllConversationModels.js.map +1 -1
- package/lib/operations/retrieveAllNLSearchModels.d.ts +8 -9
- package/lib/operations/retrieveAllNLSearchModels.d.ts.map +1 -1
- package/lib/operations/retrieveAllNLSearchModels.js +0 -2
- package/lib/operations/retrieveAllNLSearchModels.js.map +1 -1
- package/lib/operations/retrieveAllPresets.d.ts +156 -15
- package/lib/operations/retrieveAllPresets.d.ts.map +1 -1
- package/lib/operations/retrieveAllPresets.js +0 -2
- package/lib/operations/retrieveAllPresets.js.map +1 -1
- package/lib/operations/retrieveAnalyticsRule.d.ts +22 -39
- package/lib/operations/retrieveAnalyticsRule.d.ts.map +1 -1
- package/lib/operations/retrieveAnalyticsRule.js +0 -2
- package/lib/operations/retrieveAnalyticsRule.js.map +1 -1
- package/lib/operations/retrieveAnalyticsRules.d.ts +22 -39
- package/lib/operations/retrieveAnalyticsRules.d.ts.map +1 -1
- package/lib/operations/retrieveAnalyticsRules.js +0 -2
- package/lib/operations/retrieveAnalyticsRules.js.map +1 -1
- package/lib/operations/retrieveConversationModel.d.ts +9 -13
- package/lib/operations/retrieveConversationModel.d.ts.map +1 -1
- package/lib/operations/retrieveConversationModel.js +0 -2
- package/lib/operations/retrieveConversationModel.js.map +1 -1
- package/lib/operations/retrieveCurationSet.d.ts +35 -65
- package/lib/operations/retrieveCurationSet.d.ts.map +1 -1
- package/lib/operations/retrieveCurationSet.js +0 -2
- package/lib/operations/retrieveCurationSet.js.map +1 -1
- package/lib/operations/retrieveCurationSetItem.d.ts +32 -59
- package/lib/operations/retrieveCurationSetItem.d.ts.map +1 -1
- package/lib/operations/retrieveCurationSetItem.js +0 -2
- package/lib/operations/retrieveCurationSetItem.js.map +1 -1
- package/lib/operations/retrieveCurationSetItems.d.ts +31 -57
- package/lib/operations/retrieveCurationSetItems.d.ts.map +1 -1
- package/lib/operations/retrieveCurationSetItems.js +0 -2
- package/lib/operations/retrieveCurationSetItems.js.map +1 -1
- package/lib/operations/retrieveCurationSets.d.ts +34 -61
- package/lib/operations/retrieveCurationSets.d.ts.map +1 -1
- package/lib/operations/retrieveCurationSets.js +0 -2
- package/lib/operations/retrieveCurationSets.js.map +1 -1
- package/lib/operations/retrieveMetrics.d.ts +6 -5
- package/lib/operations/retrieveMetrics.d.ts.map +1 -1
- package/lib/operations/retrieveMetrics.js +2 -3
- package/lib/operations/retrieveMetrics.js.map +1 -1
- package/lib/operations/retrieveNLSearchModel.d.ts +9 -13
- package/lib/operations/retrieveNLSearchModel.d.ts.map +1 -1
- package/lib/operations/retrieveNLSearchModel.js +0 -2
- package/lib/operations/retrieveNLSearchModel.js.map +1 -1
- package/lib/operations/retrievePreset.d.ts +155 -15
- package/lib/operations/retrievePreset.d.ts.map +1 -1
- package/lib/operations/retrievePreset.js +0 -2
- package/lib/operations/retrievePreset.js.map +1 -1
- package/lib/operations/retrieveStopwordsSet.d.ts +13 -21
- package/lib/operations/retrieveStopwordsSet.d.ts.map +1 -1
- package/lib/operations/retrieveStopwordsSet.js +0 -2
- package/lib/operations/retrieveStopwordsSet.js.map +1 -1
- package/lib/operations/retrieveStopwordsSets.d.ts +12 -17
- package/lib/operations/retrieveStopwordsSets.d.ts.map +1 -1
- package/lib/operations/retrieveStopwordsSets.js +0 -2
- package/lib/operations/retrieveStopwordsSets.js.map +1 -1
- package/lib/operations/retrieveSynonymSet.d.ts +16 -27
- package/lib/operations/retrieveSynonymSet.d.ts.map +1 -1
- package/lib/operations/retrieveSynonymSet.js +0 -2
- package/lib/operations/retrieveSynonymSet.js.map +1 -1
- package/lib/operations/retrieveSynonymSetItem.d.ts +14 -23
- package/lib/operations/retrieveSynonymSetItem.d.ts.map +1 -1
- package/lib/operations/retrieveSynonymSetItem.js +0 -2
- package/lib/operations/retrieveSynonymSetItem.js.map +1 -1
- package/lib/operations/retrieveSynonymSetItems.d.ts +13 -21
- package/lib/operations/retrieveSynonymSetItems.d.ts.map +1 -1
- package/lib/operations/retrieveSynonymSetItems.js +0 -2
- package/lib/operations/retrieveSynonymSetItems.js.map +1 -1
- package/lib/operations/retrieveSynonymSets.d.ts +15 -23
- package/lib/operations/retrieveSynonymSets.d.ts.map +1 -1
- package/lib/operations/retrieveSynonymSets.js +0 -2
- package/lib/operations/retrieveSynonymSets.js.map +1 -1
- package/lib/operations/searchCollection.d.ts +119 -247
- package/lib/operations/searchCollection.d.ts.map +1 -1
- package/lib/operations/searchCollection.js +0 -2
- package/lib/operations/searchCollection.js.map +1 -1
- package/lib/operations/takeSnapshot.d.ts +9 -13
- package/lib/operations/takeSnapshot.d.ts.map +1 -1
- package/lib/operations/takeSnapshot.js +0 -2
- package/lib/operations/takeSnapshot.js.map +1 -1
- package/lib/operations/toggleSlowRequestLog.d.ts +9 -13
- package/lib/operations/toggleSlowRequestLog.d.ts.map +1 -1
- package/lib/operations/toggleSlowRequestLog.js +0 -2
- package/lib/operations/toggleSlowRequestLog.js.map +1 -1
- package/lib/operations/updateCollection.d.ts +85 -163
- package/lib/operations/updateCollection.d.ts.map +1 -1
- package/lib/operations/updateCollection.js +10 -11
- package/lib/operations/updateCollection.js.map +1 -1
- package/lib/operations/updateConversationModel.d.ts +19 -31
- package/lib/operations/updateConversationModel.d.ts.map +1 -1
- package/lib/operations/updateConversationModel.js +1 -2
- package/lib/operations/updateConversationModel.js.map +1 -1
- package/lib/operations/updateDocument.d.ts +9 -13
- package/lib/operations/updateDocument.d.ts.map +1 -1
- package/lib/operations/updateDocument.js +2 -3
- package/lib/operations/updateDocument.js.map +1 -1
- package/lib/operations/updateDocuments.d.ts +10 -15
- package/lib/operations/updateDocuments.d.ts.map +1 -1
- package/lib/operations/updateDocuments.js +0 -2
- package/lib/operations/updateDocuments.js.map +1 -1
- package/lib/operations/updateNLSearchModel.d.ts +9 -13
- package/lib/operations/updateNLSearchModel.d.ts.map +1 -1
- package/lib/operations/updateNLSearchModel.js +0 -2
- package/lib/operations/updateNLSearchModel.js.map +1 -1
- package/lib/operations/upsertAlias.d.ts +11 -17
- package/lib/operations/upsertAlias.d.ts.map +1 -1
- package/lib/operations/upsertAlias.js +0 -2
- package/lib/operations/upsertAlias.js.map +1 -1
- package/lib/operations/upsertAnalyticsRule.d.ts +33 -61
- package/lib/operations/upsertAnalyticsRule.d.ts.map +1 -1
- package/lib/operations/upsertAnalyticsRule.js +0 -2
- package/lib/operations/upsertAnalyticsRule.js.map +1 -1
- package/lib/operations/upsertCurationSet.d.ts +61 -117
- package/lib/operations/upsertCurationSet.d.ts.map +1 -1
- package/lib/operations/upsertCurationSet.js +0 -2
- package/lib/operations/upsertCurationSet.js.map +1 -1
- package/lib/operations/upsertCurationSetItem.d.ts +55 -105
- package/lib/operations/upsertCurationSetItem.d.ts.map +1 -1
- package/lib/operations/upsertCurationSetItem.js +0 -2
- package/lib/operations/upsertCurationSetItem.js.map +1 -1
- package/lib/operations/upsertPreset.d.ts +301 -17
- package/lib/operations/upsertPreset.d.ts.map +1 -1
- package/lib/operations/upsertPreset.js +0 -2
- package/lib/operations/upsertPreset.js.map +1 -1
- package/lib/operations/upsertStopwordsSet.d.ts +13 -21
- package/lib/operations/upsertStopwordsSet.d.ts.map +1 -1
- package/lib/operations/upsertStopwordsSet.js +0 -2
- package/lib/operations/upsertStopwordsSet.js.map +1 -1
- package/lib/operations/upsertSynonymSet.d.ts +23 -41
- package/lib/operations/upsertSynonymSet.d.ts.map +1 -1
- package/lib/operations/upsertSynonymSet.js +0 -2
- package/lib/operations/upsertSynonymSet.js.map +1 -1
- package/lib/operations/upsertSynonymSetItem.d.ts +18 -31
- package/lib/operations/upsertSynonymSetItem.d.ts.map +1 -1
- package/lib/operations/upsertSynonymSetItem.js +0 -2
- package/lib/operations/upsertSynonymSetItem.js.map +1 -1
- package/lib/operations/vote.d.ts +8 -9
- package/lib/operations/vote.d.ts.map +1 -1
- package/lib/operations/vote.js +0 -2
- package/lib/operations/vote.js.map +1 -1
- package/package.json +2 -2
- package/src/operations/clearCache.ts +8 -4
- package/src/operations/compactDb.ts +8 -4
- package/src/operations/createAnalyticsEvent.ts +18 -4
- package/src/operations/createAnalyticsRule.ts +93 -4
- package/src/operations/createCollection.ts +104 -9
- package/src/operations/createConversationModel.ts +19 -6
- package/src/operations/createKey.ts +20 -4
- package/src/operations/createNLSearchModel.ts +29 -4
- package/src/operations/debug.ts +6 -4
- package/src/operations/deleteAlias.ts +11 -4
- package/src/operations/deleteAnalyticsRule.ts +23 -4
- package/src/operations/deleteCollection.ts +61 -9
- package/src/operations/deleteConversationModel.ts +8 -6
- package/src/operations/deleteCurationSet.ts +10 -4
- package/src/operations/deleteCurationSetItem.ts +9 -5
- package/src/operations/deleteDocument.ts +8 -4
- package/src/operations/deleteDocuments.ts +9 -4
- package/src/operations/deleteKey.ts +10 -4
- package/src/operations/deleteNLSearchModel.ts +10 -4
- package/src/operations/deletePreset.ts +10 -4
- package/src/operations/deleteStopwordsSet.ts +10 -4
- package/src/operations/deleteSynonymSet.ts +10 -4
- package/src/operations/deleteSynonymSetItem.ts +9 -4
- package/src/operations/exportDocuments.ts +8 -4
- package/src/operations/flushAnalytics.ts +8 -4
- package/src/operations/getAlias.ts +11 -4
- package/src/operations/getAliases.ts +8 -4
- package/src/operations/getAnalyticsEvents.ts +21 -4
- package/src/operations/getAnalyticsStatus.ts +12 -4
- package/src/operations/getCollection.ts +61 -9
- package/src/operations/getCollections.ts +61 -9
- package/src/operations/getDocument.ts +8 -4
- package/src/operations/getKey.ts +16 -4
- package/src/operations/getKeys.ts +14 -4
- package/src/operations/getSchemaChanges.ts +10 -4
- package/src/operations/getStemmingDictionary.ts +9 -5
- package/src/operations/health.ts +6 -4
- package/src/operations/importDocuments.ts +8 -4
- package/src/operations/importStemmingDictionary.ts +8 -6
- package/src/operations/indexDocument.ts +9 -4
- package/src/operations/listStemmingDictionaries.ts +6 -6
- package/src/operations/multiSearch.ts +192 -4
- package/src/operations/retrieveAPIStats.ts +20 -4
- package/src/operations/retrieveAllConversationModels.ts +4 -6
- package/src/operations/retrieveAllNLSearchModels.ts +4 -6
- package/src/operations/retrieveAllPresets.ts +159 -4
- package/src/operations/retrieveAnalyticsRule.ts +23 -5
- package/src/operations/retrieveAnalyticsRules.ts +23 -6
- package/src/operations/retrieveConversationModel.ts +10 -6
- package/src/operations/retrieveCurationSet.ts +31 -4
- package/src/operations/retrieveCurationSetItem.ts +26 -6
- package/src/operations/retrieveCurationSetItems.ts +25 -6
- package/src/operations/retrieveCurationSets.ts +27 -4
- package/src/operations/retrieveMetrics.ts +7 -4
- package/src/operations/retrieveNLSearchModel.ts +10 -5
- package/src/operations/retrievePreset.ts +158 -4
- package/src/operations/retrieveStopwordsSet.ts +10 -4
- package/src/operations/retrieveStopwordsSets.ts +6 -5
- package/src/operations/retrieveSynonymSet.ts +17 -4
- package/src/operations/retrieveSynonymSetItem.ts +13 -6
- package/src/operations/retrieveSynonymSetItems.ts +12 -6
- package/src/operations/retrieveSynonymSets.ts +13 -4
- package/src/operations/searchCollection.ts +110 -4
- package/src/operations/takeSnapshot.ts +10 -4
- package/src/operations/toggleSlowRequestLog.ts +10 -4
- package/src/operations/updateCollection.ts +138 -52
- package/src/operations/updateConversationModel.ts +20 -6
- package/src/operations/updateDocument.ts +9 -4
- package/src/operations/updateDocuments.ts +9 -4
- package/src/operations/updateNLSearchModel.ts +10 -4
- package/src/operations/upsertAlias.ts +12 -4
- package/src/operations/upsertAnalyticsRule.ts +34 -4
- package/src/operations/upsertCurationSet.ts +52 -4
- package/src/operations/upsertCurationSetItem.ts +44 -5
- package/src/operations/upsertPreset.ts +306 -4
- package/src/operations/upsertStopwordsSet.ts +14 -4
- package/src/operations/upsertSynonymSet.ts +24 -4
- package/src/operations/upsertSynonymSetItem.ts +17 -4
- package/src/operations/vote.ts +6 -4
|
@@ -1,57 +1,36 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
2
|
import { BadRequest } from "../errors.ts";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
export declare const
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
3
|
+
import * as Redacted from "effect/Redacted";
|
|
4
|
+
export interface CreateNLSearchModelInput {
|
|
5
|
+
model_name?: string;
|
|
6
|
+
api_key?: string | Redacted.Redacted<string>;
|
|
7
|
+
api_url?: string;
|
|
8
|
+
max_bytes?: number;
|
|
9
|
+
temperature?: number;
|
|
10
|
+
system_prompt?: string;
|
|
11
|
+
top_p?: number;
|
|
12
|
+
top_k?: number;
|
|
13
|
+
stop_sequences?: string[];
|
|
14
|
+
api_version?: string;
|
|
15
|
+
project_id?: string;
|
|
16
|
+
access_token?: string | Redacted.Redacted<string>;
|
|
17
|
+
refresh_token?: string | Redacted.Redacted<string>;
|
|
18
|
+
client_id?: string;
|
|
19
|
+
client_secret?: string | Redacted.Redacted<string>;
|
|
20
|
+
region?: string;
|
|
21
|
+
max_output_tokens?: number;
|
|
22
|
+
account_id?: string;
|
|
23
|
+
id?: string;
|
|
24
|
+
}
|
|
25
|
+
export declare const CreateNLSearchModelInput: Schema.Codec<CreateNLSearchModelInput>;
|
|
26
|
+
export interface CreateNLSearchModelOutput {
|
|
27
|
+
id: string;
|
|
28
|
+
}
|
|
29
|
+
export declare const CreateNLSearchModelOutput: Schema.Codec<CreateNLSearchModelOutput>;
|
|
29
30
|
/**
|
|
30
31
|
* Create a NL search model
|
|
31
32
|
*
|
|
32
33
|
* Create a new NL search model.
|
|
33
34
|
*/
|
|
34
|
-
export declare const createNLSearchModel: import("@distilled.cloud/core/client").OperationMethod<
|
|
35
|
-
readonly model_name?: string | undefined;
|
|
36
|
-
readonly api_key?: string | import("effect/Redacted").Redacted<string> | undefined;
|
|
37
|
-
readonly api_url?: string | undefined;
|
|
38
|
-
readonly max_bytes?: number | undefined;
|
|
39
|
-
readonly temperature?: number | undefined;
|
|
40
|
-
readonly system_prompt?: string | undefined;
|
|
41
|
-
readonly top_p?: number | undefined;
|
|
42
|
-
readonly top_k?: number | undefined;
|
|
43
|
-
readonly stop_sequences?: readonly string[] | undefined;
|
|
44
|
-
readonly api_version?: string | undefined;
|
|
45
|
-
readonly project_id?: string | undefined;
|
|
46
|
-
readonly access_token?: string | import("effect/Redacted").Redacted<string> | undefined;
|
|
47
|
-
readonly refresh_token?: string | import("effect/Redacted").Redacted<string> | undefined;
|
|
48
|
-
readonly client_id?: string | undefined;
|
|
49
|
-
readonly client_secret?: string | import("effect/Redacted").Redacted<string> | undefined;
|
|
50
|
-
readonly region?: string | undefined;
|
|
51
|
-
readonly max_output_tokens?: number | undefined;
|
|
52
|
-
readonly account_id?: string | undefined;
|
|
53
|
-
readonly id?: string | undefined;
|
|
54
|
-
}, {
|
|
55
|
-
readonly id: string;
|
|
56
|
-
}, BadRequest, import("~/credentials.ts").Credentials, never>;
|
|
35
|
+
export declare const createNLSearchModel: import("@distilled.cloud/core/client").OperationMethod<CreateNLSearchModelInput, CreateNLSearchModelOutput, BadRequest, import("../credentials.ts").Credentials, never>;
|
|
57
36
|
//# sourceMappingURL=createNLSearchModel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createNLSearchModel.d.ts","sourceRoot":"","sources":["../../src/operations/createNLSearchModel.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"createNLSearchModel.d.ts","sourceRoot":"","sources":["../../src/operations/createNLSearchModel.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,OAAO,KAAK,QAAQ,MAAM,iBAAiB,CAAC;AAG5C,MAAM,WAAW,wBAAwB;IACvC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;IAC7C,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;IAClD,aAAa,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;IACnD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;IACnD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AACD,eAAO,MAAM,wBAAwB,EAuBnB,MAAM,CAAC,KAAK,CAAC,wBAAwB,CAAC,CAAC;AAGzD,MAAM,WAAW,yBAAyB;IACxC,EAAE,EAAE,MAAM,CAAC;CACZ;AACD,eAAO,MAAM,yBAAyB,EAGnB,MAAM,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAAC;AAG3D;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,yKAI7B,CAAC"}
|
|
@@ -3,7 +3,7 @@ import { API } from "../client.js";
|
|
|
3
3
|
import * as T from "../traits.js";
|
|
4
4
|
import { BadRequest } from "../errors.js";
|
|
5
5
|
import { SensitiveString } from "../sensitive.js";
|
|
6
|
-
|
|
6
|
+
import * as Redacted from "effect/Redacted";
|
|
7
7
|
export const CreateNLSearchModelInput =
|
|
8
8
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
9
9
|
model_name: Schema.optional(Schema.String),
|
|
@@ -26,7 +26,6 @@ export const CreateNLSearchModelInput =
|
|
|
26
26
|
account_id: Schema.optional(Schema.String),
|
|
27
27
|
id: Schema.optional(Schema.String),
|
|
28
28
|
}).pipe(T.Http({ method: "POST", path: "/nl_search_models" }));
|
|
29
|
-
// Output Schema
|
|
30
29
|
export const CreateNLSearchModelOutput =
|
|
31
30
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
32
31
|
id: Schema.String,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createNLSearchModel.js","sourceRoot":"","sources":["../../src/operations/createNLSearchModel.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"createNLSearchModel.js","sourceRoot":"","sources":["../../src/operations/createNLSearchModel.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,KAAK,QAAQ,MAAM,iBAAiB,CAAC;AAwB5C,MAAM,CAAC,MAAM,wBAAwB;AACnC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,UAAU,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IAC1C,OAAO,EAAE,MAAM,CAAC,QAAQ,CAAC,eAAe,CAAC;IACzC,OAAO,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACvC,SAAS,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACzC,WAAW,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IAC3C,aAAa,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IAC7C,KAAK,EAAE,MAA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,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAC7E,WAAW,EAAE,wBAAwB;IACrC,YAAY,EAAE,yBAAyB;IACvC,MAAM,EAAE,CAAC,UAAU,CAAU;CAC9B,CAAC,CAAC,CAAC"}
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
|
-
export
|
|
3
|
-
|
|
4
|
-
export declare const
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
2
|
+
export interface DebugInput {
|
|
3
|
+
}
|
|
4
|
+
export declare const DebugInput: Schema.Codec<DebugInput>;
|
|
5
|
+
export interface DebugOutput {
|
|
6
|
+
version?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare const DebugOutput: Schema.Codec<DebugOutput>;
|
|
8
9
|
/**
|
|
9
10
|
* Print debugging information
|
|
10
11
|
*/
|
|
11
|
-
export declare const debug: import("@distilled.cloud/core/client").OperationMethod<
|
|
12
|
-
readonly version?: string | undefined;
|
|
13
|
-
}, never, import("~/credentials.ts").Credentials, never>;
|
|
12
|
+
export declare const debug: import("@distilled.cloud/core/client").OperationMethod<DebugInput, DebugOutput, never, import("../credentials.ts").Credentials, never>;
|
|
14
13
|
//# sourceMappingURL=debug.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"debug.d.ts","sourceRoot":"","sources":["../../src/operations/debug.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"debug.d.ts","sourceRoot":"","sources":["../../src/operations/debug.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,MAAM,WAAW,UAAU;CAAG;AAC9B,eAAO,MAAM,UAAU,EAEP,MAAM,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC;AAGzC,MAAM,WAAW,WAAW;IAC1B,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AACD,eAAO,MAAM,WAAW,EAEP,MAAM,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC;AAG3C;;GAEG;AACH,eAAO,MAAM,KAAK,wIAGf,CAAC"}
|
package/lib/operations/debug.js
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
2
|
import { API } from "../client.js";
|
|
3
3
|
import * as T from "../traits.js";
|
|
4
|
-
// Input Schema
|
|
5
4
|
export const DebugInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(T.Http({ method: "GET", path: "/debug" }));
|
|
6
|
-
// Output Schema
|
|
7
5
|
export const DebugOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
6
|
version: Schema.optional(Schema.String),
|
|
9
7
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"debug.js","sourceRoot":"","sources":["../../src/operations/debug.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"debug.js","sourceRoot":"","sources":["../../src/operations/debug.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAIlC,MAAM,CAAC,MAAM,UAAU,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,IAAI,CAC1E,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,CACH,CAAC;AAMzC,MAAM,CAAC,MAAM,WAAW,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACnE,OAAO,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;CACxC,CAAyC,CAAC;AAE3C,gBAAgB;AAChB;;GAEG;AACH,MAAM,CAAC,MAAM,KAAK,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAC/D,WAAW,EAAE,UAAU;IACvB,YAAY,EAAE,WAAW;CAC1B,CAAC,CAAC,CAAC"}
|
|
@@ -1,23 +1,18 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
2
|
import { NotFound } from "../errors.ts";
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
}
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
export
|
|
3
|
+
export interface DeleteAliasInput {
|
|
4
|
+
aliasName: string;
|
|
5
|
+
}
|
|
6
|
+
export declare const DeleteAliasInput: Schema.Codec<DeleteAliasInput>;
|
|
7
|
+
export interface DeleteAliasOutput {
|
|
8
|
+
name: string;
|
|
9
|
+
collection_name: string;
|
|
10
|
+
}
|
|
11
|
+
export declare const DeleteAliasOutput: Schema.Codec<DeleteAliasOutput>;
|
|
12
12
|
/**
|
|
13
13
|
* Delete an alias
|
|
14
14
|
*
|
|
15
15
|
* @param aliasName - The name of the alias to delete
|
|
16
16
|
*/
|
|
17
|
-
export declare const deleteAlias: import("@distilled.cloud/core/client").OperationMethod<
|
|
18
|
-
readonly aliasName: string;
|
|
19
|
-
}, {
|
|
20
|
-
readonly name: string;
|
|
21
|
-
readonly collection_name: string;
|
|
22
|
-
}, NotFound, import("~/credentials.ts").Credentials, never>;
|
|
17
|
+
export declare const deleteAlias: import("@distilled.cloud/core/client").OperationMethod<DeleteAliasInput, DeleteAliasOutput, NotFound, import("../credentials.ts").Credentials, never>;
|
|
23
18
|
//# sourceMappingURL=deleteAlias.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deleteAlias.d.ts","sourceRoot":"","sources":["../../src/operations/deleteAlias.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGxC,
|
|
1
|
+
{"version":3,"file":"deleteAlias.d.ts","sourceRoot":"","sources":["../../src/operations/deleteAlias.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGxC,MAAM,WAAW,gBAAgB;IAC/B,SAAS,EAAE,MAAM,CAAC;CACnB;AACD,eAAO,MAAM,gBAAgB,EAIb,MAAM,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC;AAG/C,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,eAAe,EAAE,MAAM,CAAC;CACzB;AACD,eAAO,MAAM,iBAAiB,EAGb,MAAM,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC;AAGjD;;;;GAIG;AACH,eAAO,MAAM,WAAW,uJAIrB,CAAC"}
|
|
@@ -2,11 +2,9 @@ import * as Schema from "effect/Schema";
|
|
|
2
2
|
import { API } from "../client.js";
|
|
3
3
|
import * as T from "../traits.js";
|
|
4
4
|
import { NotFound } from "../errors.js";
|
|
5
|
-
// Input Schema
|
|
6
5
|
export const DeleteAliasInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7
6
|
aliasName: Schema.String.pipe(T.PathParam()),
|
|
8
7
|
}).pipe(T.Http({ method: "DELETE", path: "/aliases/{aliasName}" }));
|
|
9
|
-
// Output Schema
|
|
10
8
|
export const DeleteAliasOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
11
9
|
name: Schema.String,
|
|
12
10
|
collection_name: Schema.String,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deleteAlias.js","sourceRoot":"","sources":["../../src/operations/deleteAlias.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"deleteAlias.js","sourceRoot":"","sources":["../../src/operations/deleteAlias.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAMxC,MAAM,CAAC,MAAM,gBAAgB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxE,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;CAC7C,CAAC,CAAC,IAAI,CACL,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,sBAAsB,EAAE,CAAC,CACd,CAAC;AAO/C,MAAM,CAAC,MAAM,iBAAiB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACzE,IAAI,EAAE,MAAM,CAAC,MAAM;IACnB,eAAe,EAAE,MAAM,CAAC,MAAM;CAC/B,CAA+C,CAAC;AAEjD,gBAAgB;AAChB;;;;GAIG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IACrE,WAAW,EAAE,gBAAgB;IAC7B,YAAY,EAAE,iBAAiB;IAC/B,MAAM,EAAE,CAAC,QAAQ,CAAU;CAC5B,CAAC,CAAC,CAAC"}
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
2
|
import { NotFound } from "../errors.ts";
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
}
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
export
|
|
3
|
+
export interface DeleteAnalyticsRuleInput {
|
|
4
|
+
ruleName: string;
|
|
5
|
+
}
|
|
6
|
+
export declare const DeleteAnalyticsRuleInput: Schema.Codec<DeleteAnalyticsRuleInput>;
|
|
7
|
+
export interface DeleteAnalyticsRuleOutput {
|
|
8
|
+
name: string;
|
|
9
|
+
type: "popular_queries" | "nohits_queries" | "counter" | "log";
|
|
10
|
+
collection: string;
|
|
11
|
+
event_type: string;
|
|
12
|
+
rule_tag?: string;
|
|
13
|
+
params?: {
|
|
14
|
+
destination_collection?: string;
|
|
15
|
+
limit?: number;
|
|
16
|
+
capture_search_requests?: boolean;
|
|
17
|
+
meta_fields?: string[];
|
|
18
|
+
expand_query?: boolean;
|
|
19
|
+
counter_field?: string;
|
|
20
|
+
weight?: number;
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
export declare const DeleteAnalyticsRuleOutput: Schema.Codec<DeleteAnalyticsRuleOutput>;
|
|
24
24
|
/**
|
|
25
25
|
* Delete an analytics rule
|
|
26
26
|
*
|
|
@@ -28,22 +28,5 @@ export type DeleteAnalyticsRuleOutput = typeof DeleteAnalyticsRuleOutput.Type;
|
|
|
28
28
|
*
|
|
29
29
|
* @param ruleName - The name of the analytics rule to delete
|
|
30
30
|
*/
|
|
31
|
-
export declare const deleteAnalyticsRule: import("@distilled.cloud/core/client").OperationMethod<
|
|
32
|
-
readonly ruleName: string;
|
|
33
|
-
}, {
|
|
34
|
-
readonly name: string;
|
|
35
|
-
readonly type: "counter" | "log" | "nohits_queries" | "popular_queries";
|
|
36
|
-
readonly collection: string;
|
|
37
|
-
readonly event_type: string;
|
|
38
|
-
readonly rule_tag?: string | undefined;
|
|
39
|
-
readonly params?: {
|
|
40
|
-
readonly destination_collection?: string | undefined;
|
|
41
|
-
readonly limit?: number | undefined;
|
|
42
|
-
readonly capture_search_requests?: boolean | undefined;
|
|
43
|
-
readonly meta_fields?: readonly string[] | undefined;
|
|
44
|
-
readonly expand_query?: boolean | undefined;
|
|
45
|
-
readonly counter_field?: string | undefined;
|
|
46
|
-
readonly weight?: number | undefined;
|
|
47
|
-
} | undefined;
|
|
48
|
-
}, NotFound, import("~/credentials.ts").Credentials, never>;
|
|
31
|
+
export declare const deleteAnalyticsRule: import("@distilled.cloud/core/client").OperationMethod<DeleteAnalyticsRuleInput, DeleteAnalyticsRuleOutput, NotFound, import("../credentials.ts").Credentials, never>;
|
|
49
32
|
//# sourceMappingURL=deleteAnalyticsRule.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deleteAnalyticsRule.d.ts","sourceRoot":"","sources":["../../src/operations/deleteAnalyticsRule.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGxC,eAAO,MAAM,wBAAwB
|
|
1
|
+
{"version":3,"file":"deleteAnalyticsRule.d.ts","sourceRoot":"","sources":["../../src/operations/deleteAnalyticsRule.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGxC,MAAM,WAAW,wBAAwB;IACvC,QAAQ,EAAE,MAAM,CAAC;CAClB;AACD,eAAO,MAAM,wBAAwB,EAKnB,MAAM,CAAC,KAAK,CAAC,wBAAwB,CAAC,CAAC;AAGzD,MAAM,WAAW,yBAAyB;IACxC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,iBAAiB,GAAG,gBAAgB,GAAG,SAAS,GAAG,KAAK,CAAC;IAC/D,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE;QACP,sBAAsB,CAAC,EAAE,MAAM,CAAC;QAChC,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,uBAAuB,CAAC,EAAE,OAAO,CAAC;QAClC,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;QACvB,YAAY,CAAC,EAAE,OAAO,CAAC;QACvB,aAAa,CAAC,EAAE,MAAM,CAAC;QACvB,MAAM,CAAC,EAAE,MAAM,CAAC;KACjB,CAAC;CACH;AACD,eAAO,MAAM,yBAAyB,EAuBnB,MAAM,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAAC;AAG3D;;;;;;GAMG;AACH,eAAO,MAAM,mBAAmB,uKAI7B,CAAC"}
|
|
@@ -2,12 +2,10 @@ import * as Schema from "effect/Schema";
|
|
|
2
2
|
import { API } from "../client.js";
|
|
3
3
|
import * as T from "../traits.js";
|
|
4
4
|
import { NotFound } from "../errors.js";
|
|
5
|
-
// Input Schema
|
|
6
5
|
export const DeleteAnalyticsRuleInput =
|
|
7
6
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
7
|
ruleName: Schema.String.pipe(T.PathParam()),
|
|
9
8
|
}).pipe(T.Http({ method: "DELETE", path: "/analytics/rules/{ruleName}" }));
|
|
10
|
-
// Output Schema
|
|
11
9
|
export const DeleteAnalyticsRuleOutput =
|
|
12
10
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
13
11
|
name: Schema.String,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deleteAnalyticsRule.js","sourceRoot":"","sources":["../../src/operations/deleteAnalyticsRule.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"deleteAnalyticsRule.js","sourceRoot":"","sources":["../../src/operations/deleteAnalyticsRule.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAMxC,MAAM,CAAC,MAAM,wBAAwB;AACnC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;CAC5C,CAAC,CAAC,IAAI,CACL,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,6BAA6B,EAAE,CAAC,CACb,CAAC;AAmBzD,MAAM,CAAC,MAAM,yBAAyB;AACpC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,IAAI,EAAE,MAAM,CAAC,MAAM;IACnB,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC;QACpB,iBAAiB;QACjB,gBAAgB;QAChB,SAAS;QACT,KAAK;KACN,CAAC;IACF,UAAU,EAAE,MAAM,CAAC,MAAM;IACzB,UAAU,EAAE,MAAM,CAAC,MAAM;IACzB,QAAQ,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,MAAM,EAAE,MAAM,CAAC,QAAQ,CACrB,M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
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
3
|
+
import * as Redacted from "effect/Redacted";
|
|
4
|
+
export interface DeleteCollectionInput {
|
|
5
|
+
collectionName: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const DeleteCollectionInput: Schema.Codec<DeleteCollectionInput>;
|
|
8
|
+
export interface DeleteCollectionOutput {
|
|
9
|
+
name: string;
|
|
10
|
+
fields: {
|
|
11
|
+
name: string;
|
|
12
|
+
type: string;
|
|
13
|
+
optional?: boolean;
|
|
14
|
+
facet?: boolean;
|
|
15
|
+
index?: boolean;
|
|
16
|
+
locale?: string;
|
|
17
|
+
sort?: boolean;
|
|
18
|
+
infix?: boolean;
|
|
19
|
+
reference?: string;
|
|
20
|
+
async_reference?: boolean;
|
|
21
|
+
num_dim?: number;
|
|
22
|
+
drop?: boolean;
|
|
23
|
+
store?: boolean;
|
|
24
|
+
vec_dist?: string;
|
|
25
|
+
range_index?: boolean;
|
|
26
|
+
stem?: boolean;
|
|
27
|
+
stem_dictionary?: string;
|
|
28
|
+
token_separators?: string[];
|
|
29
|
+
symbols_to_index?: string[];
|
|
30
|
+
embed?: {
|
|
31
|
+
from: string[];
|
|
32
|
+
model_config: {
|
|
33
|
+
model_name: string;
|
|
34
|
+
api_key?: Redacted.Redacted<string>;
|
|
35
|
+
url?: string;
|
|
36
|
+
access_token?: Redacted.Redacted<string>;
|
|
37
|
+
refresh_token?: Redacted.Redacted<string>;
|
|
38
|
+
client_id?: string;
|
|
39
|
+
client_secret?: Redacted.Redacted<string>;
|
|
40
|
+
project_id?: string;
|
|
41
|
+
indexing_prefix?: string;
|
|
42
|
+
query_prefix?: string;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
}[];
|
|
46
|
+
default_sorting_field?: string;
|
|
47
|
+
token_separators?: string[];
|
|
48
|
+
synonym_sets?: string[];
|
|
49
|
+
enable_nested_fields?: boolean;
|
|
50
|
+
symbols_to_index?: string[];
|
|
51
|
+
voice_query_model?: {
|
|
52
|
+
model_name?: string;
|
|
53
|
+
};
|
|
54
|
+
metadata?: unknown;
|
|
55
|
+
num_documents: number;
|
|
56
|
+
created_at: number;
|
|
57
|
+
}
|
|
58
|
+
export declare const DeleteCollectionOutput: Schema.Codec<DeleteCollectionOutput>;
|
|
58
59
|
/**
|
|
59
60
|
* Delete a collection
|
|
60
61
|
*
|
|
@@ -62,56 +63,5 @@ export type DeleteCollectionOutput = typeof DeleteCollectionOutput.Type;
|
|
|
62
63
|
*
|
|
63
64
|
* @param collectionName - The name of the collection to delete
|
|
64
65
|
*/
|
|
65
|
-
export declare const deleteCollection: import("@distilled.cloud/core/client").OperationMethod<
|
|
66
|
-
readonly collectionName: string;
|
|
67
|
-
}, {
|
|
68
|
-
readonly name: string;
|
|
69
|
-
readonly fields: readonly {
|
|
70
|
-
readonly name: string;
|
|
71
|
-
readonly type: string;
|
|
72
|
-
readonly optional?: boolean | undefined;
|
|
73
|
-
readonly facet?: boolean | undefined;
|
|
74
|
-
readonly index?: boolean | undefined;
|
|
75
|
-
readonly locale?: string | undefined;
|
|
76
|
-
readonly sort?: boolean | undefined;
|
|
77
|
-
readonly infix?: boolean | undefined;
|
|
78
|
-
readonly reference?: string | undefined;
|
|
79
|
-
readonly async_reference?: boolean | undefined;
|
|
80
|
-
readonly num_dim?: number | undefined;
|
|
81
|
-
readonly drop?: boolean | undefined;
|
|
82
|
-
readonly store?: boolean | undefined;
|
|
83
|
-
readonly vec_dist?: string | undefined;
|
|
84
|
-
readonly range_index?: boolean | undefined;
|
|
85
|
-
readonly stem?: boolean | undefined;
|
|
86
|
-
readonly stem_dictionary?: string | undefined;
|
|
87
|
-
readonly token_separators?: readonly string[] | undefined;
|
|
88
|
-
readonly symbols_to_index?: readonly string[] | undefined;
|
|
89
|
-
readonly embed?: {
|
|
90
|
-
readonly from: readonly string[];
|
|
91
|
-
readonly model_config: {
|
|
92
|
-
readonly model_name: string;
|
|
93
|
-
readonly api_key?: string | import("effect/Redacted").Redacted<string> | undefined;
|
|
94
|
-
readonly url?: string | undefined;
|
|
95
|
-
readonly access_token?: string | import("effect/Redacted").Redacted<string> | undefined;
|
|
96
|
-
readonly refresh_token?: string | import("effect/Redacted").Redacted<string> | undefined;
|
|
97
|
-
readonly client_id?: string | undefined;
|
|
98
|
-
readonly client_secret?: string | import("effect/Redacted").Redacted<string> | undefined;
|
|
99
|
-
readonly project_id?: string | undefined;
|
|
100
|
-
readonly indexing_prefix?: string | undefined;
|
|
101
|
-
readonly query_prefix?: string | undefined;
|
|
102
|
-
};
|
|
103
|
-
} | undefined;
|
|
104
|
-
}[];
|
|
105
|
-
readonly default_sorting_field?: string | undefined;
|
|
106
|
-
readonly token_separators?: readonly string[] | undefined;
|
|
107
|
-
readonly synonym_sets?: readonly string[] | undefined;
|
|
108
|
-
readonly enable_nested_fields?: boolean | undefined;
|
|
109
|
-
readonly symbols_to_index?: readonly string[] | undefined;
|
|
110
|
-
readonly voice_query_model?: {
|
|
111
|
-
readonly model_name?: string | undefined;
|
|
112
|
-
} | undefined;
|
|
113
|
-
readonly metadata?: unknown;
|
|
114
|
-
readonly num_documents: number;
|
|
115
|
-
readonly created_at: number;
|
|
116
|
-
}, NotFound, import("~/credentials.ts").Credentials, never>;
|
|
66
|
+
export declare const deleteCollection: import("@distilled.cloud/core/client").OperationMethod<DeleteCollectionInput, DeleteCollectionOutput, NotFound, import("../credentials.ts").Credentials, never>;
|
|
117
67
|
//# sourceMappingURL=deleteCollection.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deleteCollection.d.ts","sourceRoot":"","sources":["../../src/operations/deleteCollection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"deleteCollection.d.ts","sourceRoot":"","sources":["../../src/operations/deleteCollection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,KAAK,QAAQ,MAAM,iBAAiB,CAAC;AAG5C,MAAM,WAAW,qBAAqB;IACpC,cAAc,EAAE,MAAM,CAAC;CACxB;AACD,eAAO,MAAM,qBAAqB,EAIlB,MAAM,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAAC;AAGpD,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE;QACN,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;QACb,QAAQ,CAAC,EAAE,OAAO,CAAC;QACnB,KAAK,CAAC,EAAE,OAAO,CAAC;QAChB,KAAK,CAAC,EAAE,OAAO,CAAC;QAChB,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,IAAI,CAAC,EAAE,OAAO,CAAC;QACf,KAAK,CAAC,EAAE,OAAO,CAAC;QAChB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,eAAe,CAAC,EAAE,OAAO,CAAC;QAC1B,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,IAAI,CAAC,EAAE,OAAO,CAAC;QACf,KAAK,CAAC,EAAE,OAAO,CAAC;QAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,WAAW,CAAC,EAAE,OAAO,CAAC;QACtB,IAAI,CAAC,EAAE,OAAO,CAAC;QACf,eAAe,CAAC,EAAE,M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KAI1B,CAAC"}
|
|
@@ -2,12 +2,11 @@ import * as Schema from "effect/Schema";
|
|
|
2
2
|
import { API } from "../client.js";
|
|
3
3
|
import * as T from "../traits.js";
|
|
4
4
|
import { NotFound } from "../errors.js";
|
|
5
|
-
import {
|
|
6
|
-
|
|
5
|
+
import { SensitiveOutputString } from "../sensitive.js";
|
|
6
|
+
import * as Redacted from "effect/Redacted";
|
|
7
7
|
export const DeleteCollectionInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
8
|
collectionName: Schema.String.pipe(T.PathParam()),
|
|
9
9
|
}).pipe(T.Http({ method: "DELETE", path: "/collections/{collectionName}" }));
|
|
10
|
-
// Output Schema
|
|
11
10
|
export const DeleteCollectionOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
12
11
|
name: Schema.String,
|
|
13
12
|
fields: Schema.Array(Schema.Struct({
|
|
@@ -34,12 +33,12 @@ export const DeleteCollectionOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
|
34
33
|
from: Schema.Array(Schema.String),
|
|
35
34
|
model_config: Schema.Struct({
|
|
36
35
|
model_name: Schema.String,
|
|
37
|
-
api_key: Schema.optional(
|
|
36
|
+
api_key: Schema.optional(SensitiveOutputString),
|
|
38
37
|
url: Schema.optional(Schema.String),
|
|
39
|
-
access_token: Schema.optional(
|
|
40
|
-
refresh_token: Schema.optional(
|
|
38
|
+
access_token: Schema.optional(SensitiveOutputString),
|
|
39
|
+
refresh_token: Schema.optional(SensitiveOutputString),
|
|
41
40
|
client_id: Schema.optional(Schema.String),
|
|
42
|
-
client_secret: Schema.optional(
|
|
41
|
+
client_secret: Schema.optional(SensitiveOutputString),
|
|
43
42
|
project_id: Schema.optional(Schema.String),
|
|
44
43
|
indexing_prefix: Schema.optional(Schema.String),
|
|
45
44
|
query_prefix: Schema.optional(Schema.String),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deleteCollection.js","sourceRoot":"","sources":["../../src/operations/deleteCollection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"deleteCollection.js","sourceRoot":"","sources":["../../src/operations/deleteCollection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AACxD,OAAO,KAAK,QAAQ,MAAM,iBAAiB,CAAC;AAM5C,MAAM,CAAC,MAAM,qBAAqB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IAC7E,cAAc,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;CAClD,CAAC,CAAC,IAAI,CACL,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,+BAA+B,EAAE,CAAC,CAClB,CAAC;AAmDpD,MAAM,CAAC,MAAM,sBAAsB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAC7E;IACE,IAAI,EAAE,MAAM,CAAC,MAAM;IACnB,MAAM,EAAE,MAAM,CAAC,KAAK,CAClB,MAAM,CAAC,MAAM,CAAC;QACZ,IAAI,EAAE,MAAM,CAAC,MAAM;QACnB,IAAI,EAAE,MAAM,CAAC,MAAM;QACnB,QAAQ,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,OAAO,CA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,QAAQ,CAChC,MAAM,CAAC,MAAM,CAAC;QACZ,UAAU,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;KAC3C,CAAC,CACH;IACD,QAAQ,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC;IACzC,aAAa,EAAE,MAAM,CAAC,MAAM;IAC5B,UAAU,EAAE,MAAM,CAAC,MAAM;CAC1B,CACiD,CAAC;AAErD,gBAAgB;AAChB;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAC1E,WAAW,EAAE,qBAAqB;IAClC,YAAY,EAAE,sBAAsB;IACpC,MAAM,EAAE,CAAC,QAAQ,CAAU;CAC5B,CAAC,CAAC,CAAC"}
|
|
@@ -1,21 +1,17 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
2
|
import { NotFound } from "../errors.ts";
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
}
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
|
|
9
|
-
}
|
|
10
|
-
export
|
|
3
|
+
export interface DeleteConversationModelInput {
|
|
4
|
+
modelId: string;
|
|
5
|
+
}
|
|
6
|
+
export declare const DeleteConversationModelInput: Schema.Codec<DeleteConversationModelInput>;
|
|
7
|
+
export interface DeleteConversationModelOutput {
|
|
8
|
+
id: string;
|
|
9
|
+
}
|
|
10
|
+
export declare const DeleteConversationModelOutput: Schema.Codec<DeleteConversationModelOutput>;
|
|
11
11
|
/**
|
|
12
12
|
* Delete a conversation model
|
|
13
13
|
*
|
|
14
14
|
* @param modelId - The id of the conversation model to delete
|
|
15
15
|
*/
|
|
16
|
-
export declare const deleteConversationModel: import("@distilled.cloud/core/client").OperationMethod<
|
|
17
|
-
readonly modelId: string;
|
|
18
|
-
}, {
|
|
19
|
-
readonly id: string;
|
|
20
|
-
}, NotFound, import("~/credentials.ts").Credentials, never>;
|
|
16
|
+
export declare const deleteConversationModel: import("@distilled.cloud/core/client").OperationMethod<DeleteConversationModelInput, DeleteConversationModelOutput, NotFound, import("../credentials.ts").Credentials, never>;
|
|
21
17
|
//# sourceMappingURL=deleteConversationModel.d.ts.map
|