@algolia/ingestion 1.0.0-alpha.9 → 1.0.0-beta.2
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/dist/builds/browser.d.ts +52 -5
- package/dist/builds/browser.d.ts.map +1 -1
- package/dist/builds/node.d.ts +52 -5
- package/dist/builds/node.d.ts.map +1 -1
- package/dist/ingestion.cjs +1332 -0
- package/dist/ingestion.esm.browser.js +1488 -969
- package/dist/ingestion.esm.node.js +1319 -819
- package/dist/ingestion.umd.js +2 -2
- package/dist/model/actionType.d.ts +4 -1
- package/dist/model/actionType.d.ts.map +1 -1
- package/dist/model/authAPIKey.d.ts +9 -3
- package/dist/model/authAPIKey.d.ts.map +1 -1
- package/dist/model/authAPIKeyPartial.d.ts +10 -0
- package/dist/model/authAPIKeyPartial.d.ts.map +1 -0
- package/dist/model/authAlgolia.d.ts +13 -4
- package/dist/model/authAlgolia.d.ts.map +1 -1
- package/dist/model/authAlgoliaInsights.d.ts +14 -0
- package/dist/model/authAlgoliaInsights.d.ts.map +1 -0
- package/dist/model/authAlgoliaInsightsPartial.d.ts +14 -0
- package/dist/model/authAlgoliaInsightsPartial.d.ts.map +1 -0
- package/dist/model/authAlgoliaPartial.d.ts +14 -0
- package/dist/model/authAlgoliaPartial.d.ts.map +1 -0
- package/dist/model/authBasic.d.ts +13 -4
- package/dist/model/authBasic.d.ts.map +1 -1
- package/dist/model/authBasicPartial.d.ts +14 -0
- package/dist/model/authBasicPartial.d.ts.map +1 -0
- package/dist/model/authGoogleServiceAccount.d.ts +13 -4
- package/dist/model/authGoogleServiceAccount.d.ts.map +1 -1
- package/dist/model/authGoogleServiceAccountPartial.d.ts +14 -0
- package/dist/model/authGoogleServiceAccountPartial.d.ts.map +1 -0
- package/dist/model/authInput.d.ts +7 -6
- package/dist/model/authInput.d.ts.map +1 -1
- package/dist/model/authInputPartial.d.ts +8 -0
- package/dist/model/authInputPartial.d.ts.map +1 -0
- package/dist/model/authOAuth.d.ts +21 -6
- package/dist/model/authOAuth.d.ts.map +1 -1
- package/dist/model/authOAuthPartial.d.ts +22 -0
- package/dist/model/authOAuthPartial.d.ts.map +1 -0
- package/dist/model/authentication.d.ts +27 -16
- package/dist/model/authentication.d.ts.map +1 -1
- package/dist/model/authenticationCreate.d.ts +15 -9
- package/dist/model/authenticationCreate.d.ts.map +1 -1
- package/dist/model/authenticationCreateResponse.d.ts +17 -8
- package/dist/model/authenticationCreateResponse.d.ts.map +1 -1
- package/dist/model/authenticationSearch.d.ts +7 -0
- package/dist/model/authenticationSearch.d.ts.map +1 -0
- package/dist/model/authenticationSortKeys.d.ts +5 -0
- package/dist/model/authenticationSortKeys.d.ts.map +1 -0
- package/dist/model/authenticationType.d.ts +4 -1
- package/dist/model/authenticationType.d.ts.map +1 -1
- package/dist/model/authenticationUpdate.d.ts +15 -9
- package/dist/model/authenticationUpdate.d.ts.map +1 -1
- package/dist/model/authenticationUpdateResponse.d.ts +17 -8
- package/dist/model/authenticationUpdateResponse.d.ts.map +1 -1
- package/dist/model/bigCommerceChannel.d.ts +11 -0
- package/dist/model/bigCommerceChannel.d.ts.map +1 -0
- package/dist/model/bigCommerceMetafield.d.ts +11 -0
- package/dist/model/bigCommerceMetafield.d.ts.map +1 -0
- package/dist/model/bigQueryDataType.d.ts +2 -0
- package/dist/model/bigQueryDataType.d.ts.map +1 -0
- package/dist/model/clientMethodProps.d.ts +465 -282
- package/dist/model/clientMethodProps.d.ts.map +1 -1
- package/dist/model/commercetoolsCustomFields.d.ts +18 -0
- package/dist/model/commercetoolsCustomFields.d.ts.map +1 -0
- package/dist/model/deleteResponse.d.ts +6 -6
- package/dist/model/deleteResponse.d.ts.map +1 -1
- package/dist/model/destination.d.ts +29 -17
- package/dist/model/destination.d.ts.map +1 -1
- package/dist/model/destinationCreate.d.ts +17 -8
- package/dist/model/destinationCreate.d.ts.map +1 -1
- package/dist/model/destinationCreateResponse.d.ts +17 -8
- package/dist/model/destinationCreateResponse.d.ts.map +1 -1
- package/dist/model/destinationIndexName.d.ts +12 -3
- package/dist/model/destinationIndexName.d.ts.map +1 -1
- package/dist/model/destinationIndexPrefix.d.ts +6 -3
- package/dist/model/destinationIndexPrefix.d.ts.map +1 -1
- package/dist/model/destinationInput.d.ts +3 -3
- package/dist/model/destinationInput.d.ts.map +1 -1
- package/dist/model/destinationSearch.d.ts +7 -0
- package/dist/model/destinationSearch.d.ts.map +1 -0
- package/dist/model/destinationSortKeys.d.ts +5 -0
- package/dist/model/destinationSortKeys.d.ts.map +1 -0
- package/dist/model/destinationType.d.ts +4 -1
- package/dist/model/destinationType.d.ts.map +1 -1
- package/dist/model/destinationUpdate.d.ts +17 -8
- package/dist/model/destinationUpdate.d.ts.map +1 -1
- package/dist/model/destinationUpdateResponse.d.ts +17 -8
- package/dist/model/destinationUpdateResponse.d.ts.map +1 -1
- package/dist/model/dockerImageType.d.ts +5 -0
- package/dist/model/dockerImageType.d.ts.map +1 -0
- package/dist/model/dockerRegistry.d.ts +5 -0
- package/dist/model/dockerRegistry.d.ts.map +1 -0
- package/dist/model/dockerSourceDiscover.d.ts +11 -0
- package/dist/model/dockerSourceDiscover.d.ts.map +1 -0
- package/dist/model/dockerSourceStreams.d.ts +4 -0
- package/dist/model/dockerSourceStreams.d.ts.map +1 -0
- package/dist/model/errorBase.d.ts +6 -6
- package/dist/model/errorBase.d.ts.map +1 -1
- package/dist/model/event.d.ts +30 -14
- package/dist/model/event.d.ts.map +1 -1
- package/dist/model/eventSortKeys.d.ts +5 -0
- package/dist/model/eventSortKeys.d.ts.map +1 -0
- package/dist/model/eventStatus.d.ts +1 -1
- package/dist/model/eventStatus.d.ts.map +1 -1
- package/dist/model/eventType.d.ts +1 -1
- package/dist/model/eventType.d.ts.map +1 -1
- package/dist/model/index.d.ts +126 -63
- package/dist/model/index.d.ts.map +1 -1
- package/dist/model/listAuthenticationsResponse.d.ts +6 -6
- package/dist/model/listAuthenticationsResponse.d.ts.map +1 -1
- package/dist/model/listDestinationsResponse.d.ts +6 -6
- package/dist/model/listDestinationsResponse.d.ts.map +1 -1
- package/dist/model/listEventsResponse.d.ts +8 -6
- package/dist/model/listEventsResponse.d.ts.map +1 -1
- package/dist/model/listSourcesResponse.d.ts +6 -6
- package/dist/model/listSourcesResponse.d.ts.map +1 -1
- package/dist/model/listTasksResponse.d.ts +9 -6
- package/dist/model/listTasksResponse.d.ts.map +1 -1
- package/dist/model/mappingFieldDirective.d.ts +14 -0
- package/dist/model/mappingFieldDirective.d.ts.map +1 -0
- package/dist/model/mappingFormatSchema.d.ts +5 -0
- package/dist/model/mappingFormatSchema.d.ts.map +1 -0
- package/dist/model/mappingInput.d.ts +10 -0
- package/dist/model/mappingInput.d.ts.map +1 -0
- package/dist/model/mappingKitAction.d.ts +20 -0
- package/dist/model/mappingKitAction.d.ts.map +1 -0
- package/dist/model/mappingTypeCSV.d.ts +2 -0
- package/dist/model/mappingTypeCSV.d.ts.map +1 -0
- package/dist/model/methodType.d.ts +4 -1
- package/dist/model/methodType.d.ts.map +1 -1
- package/dist/model/onDemandDateUtilsInput.d.ts +16 -0
- package/dist/model/onDemandDateUtilsInput.d.ts.map +1 -0
- package/dist/model/onDemandTrigger.d.ts +12 -0
- package/dist/model/onDemandTrigger.d.ts.map +1 -0
- package/dist/model/onDemandTriggerInput.d.ts +8 -0
- package/dist/model/onDemandTriggerInput.d.ts.map +1 -0
- package/dist/model/onDemandTriggerType.d.ts +5 -0
- package/dist/model/onDemandTriggerType.d.ts.map +1 -0
- package/dist/model/orderKeys.d.ts +5 -0
- package/dist/model/orderKeys.d.ts.map +1 -0
- package/dist/model/pagination.d.ts +21 -6
- package/dist/model/pagination.d.ts.map +1 -1
- package/dist/model/platform.d.ts +5 -0
- package/dist/model/platform.d.ts.map +1 -0
- package/dist/model/platformNone.d.ts +5 -0
- package/dist/model/platformNone.d.ts.map +1 -0
- package/dist/model/platformWithNone.d.ts +4 -0
- package/dist/model/platformWithNone.d.ts.map +1 -0
- package/dist/model/recordType.d.ts +5 -0
- package/dist/model/recordType.d.ts.map +1 -0
- package/dist/model/run.d.ts +41 -29
- package/dist/model/run.d.ts.map +1 -1
- package/dist/model/runListResponse.d.ts +8 -6
- package/dist/model/runListResponse.d.ts.map +1 -1
- package/dist/model/runOutcome.d.ts +4 -1
- package/dist/model/runOutcome.d.ts.map +1 -1
- package/dist/model/runProgress.d.ts +4 -4
- package/dist/model/runProgress.d.ts.map +1 -1
- package/dist/model/runReasonCode.d.ts +5 -0
- package/dist/model/runReasonCode.d.ts.map +1 -0
- package/dist/model/runResponse.d.ts +13 -7
- package/dist/model/runResponse.d.ts.map +1 -1
- package/dist/model/runSortKeys.d.ts +5 -0
- package/dist/model/runSortKeys.d.ts.map +1 -0
- package/dist/model/runStatus.d.ts +4 -1
- package/dist/model/runStatus.d.ts.map +1 -1
- package/dist/model/runType.d.ts +4 -1
- package/dist/model/runType.d.ts.map +1 -1
- package/dist/model/scheduleDateUtilsInput.d.ts +12 -0
- package/dist/model/scheduleDateUtilsInput.d.ts.map +1 -0
- package/dist/model/scheduleTrigger.d.ts +20 -0
- package/dist/model/scheduleTrigger.d.ts.map +1 -0
- package/dist/model/scheduleTriggerInput.d.ts +12 -0
- package/dist/model/scheduleTriggerInput.d.ts.map +1 -0
- package/dist/model/scheduleTriggerType.d.ts +5 -0
- package/dist/model/scheduleTriggerType.d.ts.map +1 -0
- package/dist/model/shopifyInput.d.ts +10 -0
- package/dist/model/shopifyInput.d.ts.map +1 -0
- package/dist/model/shopifyMarket.d.ts +9 -0
- package/dist/model/shopifyMarket.d.ts.map +1 -0
- package/dist/model/shopifyMetafield.d.ts +9 -0
- package/dist/model/shopifyMetafield.d.ts.map +1 -0
- package/dist/model/source.d.ts +23 -17
- package/dist/model/source.d.ts.map +1 -1
- package/dist/model/sourceBigCommerce.d.ts +12 -3
- package/dist/model/sourceBigCommerce.d.ts.map +1 -1
- package/dist/model/sourceBigQuery.d.ts +29 -0
- package/dist/model/sourceBigQuery.d.ts.map +1 -0
- package/dist/model/sourceCSV.d.ts +22 -0
- package/dist/model/sourceCSV.d.ts.map +1 -0
- package/dist/model/sourceCommercetools.d.ts +15 -9
- package/dist/model/sourceCommercetools.d.ts.map +1 -1
- package/dist/model/sourceCreate.d.ts +14 -8
- package/dist/model/sourceCreate.d.ts.map +1 -1
- package/dist/model/sourceCreateResponse.d.ts +14 -8
- package/dist/model/sourceCreateResponse.d.ts.map +1 -1
- package/dist/model/sourceDocker.d.ts +19 -0
- package/dist/model/sourceDocker.d.ts.map +1 -0
- package/dist/model/sourceGA4BigQueryExport.d.ts +15 -0
- package/dist/model/sourceGA4BigQueryExport.d.ts.map +1 -0
- package/dist/model/sourceInput.d.ts +9 -4
- package/dist/model/sourceInput.d.ts.map +1 -1
- package/dist/model/sourceJSON.d.ts +13 -0
- package/dist/model/sourceJSON.d.ts.map +1 -0
- package/dist/model/sourceSearch.d.ts +4 -0
- package/dist/model/sourceSearch.d.ts.map +1 -0
- package/dist/model/sourceShopify.d.ts +4 -0
- package/dist/model/sourceShopify.d.ts.map +1 -0
- package/dist/model/sourceShopifyBase.d.ts +7 -0
- package/dist/model/sourceShopifyBase.d.ts.map +1 -0
- package/dist/model/sourceSortKeys.d.ts +5 -0
- package/dist/model/sourceSortKeys.d.ts.map +1 -0
- package/dist/model/sourceType.d.ts +1 -1
- package/dist/model/sourceType.d.ts.map +1 -1
- package/dist/model/sourceUpdate.d.ts +12 -8
- package/dist/model/sourceUpdate.d.ts.map +1 -1
- package/dist/model/sourceUpdateCommercetools.d.ts +15 -0
- package/dist/model/sourceUpdateCommercetools.d.ts.map +1 -0
- package/dist/model/sourceUpdateDocker.d.ts +17 -0
- package/dist/model/sourceUpdateDocker.d.ts.map +1 -0
- package/dist/model/sourceUpdateInput.d.ts +9 -0
- package/dist/model/sourceUpdateInput.d.ts.map +1 -0
- package/dist/model/sourceUpdateResponse.d.ts +14 -8
- package/dist/model/sourceUpdateResponse.d.ts.map +1 -1
- package/dist/model/sourceUpdateShopify.d.ts +31 -0
- package/dist/model/sourceUpdateShopify.d.ts.map +1 -0
- package/dist/model/streamingTrigger.d.ts +8 -0
- package/dist/model/streamingTrigger.d.ts.map +1 -0
- package/dist/model/streamingTriggerType.d.ts +5 -0
- package/dist/model/streamingTriggerType.d.ts.map +1 -0
- package/dist/model/streamingUtilsInput.d.ts +8 -0
- package/dist/model/streamingUtilsInput.d.ts.map +1 -0
- package/dist/model/subscriptionTrigger.d.ts +8 -0
- package/dist/model/subscriptionTrigger.d.ts.map +1 -0
- package/dist/model/subscriptionTriggerType.d.ts +5 -0
- package/dist/model/subscriptionTriggerType.d.ts.map +1 -0
- package/dist/model/task.d.ts +36 -18
- package/dist/model/task.d.ts.map +1 -1
- package/dist/model/taskCreate.d.ts +27 -9
- package/dist/model/taskCreate.d.ts.map +1 -1
- package/dist/model/taskCreateResponse.d.ts +13 -7
- package/dist/model/taskCreateResponse.d.ts.map +1 -1
- package/dist/model/taskCreateTrigger.d.ts +6 -0
- package/dist/model/taskCreateTrigger.d.ts.map +1 -0
- package/dist/model/taskInput.d.ts +9 -0
- package/dist/model/taskInput.d.ts.map +1 -0
- package/dist/model/taskSearch.d.ts +4 -0
- package/dist/model/taskSearch.d.ts.map +1 -0
- package/dist/model/taskSortKeys.d.ts +5 -0
- package/dist/model/taskSortKeys.d.ts.map +1 -0
- package/dist/model/taskUpdate.d.ts +21 -6
- package/dist/model/taskUpdate.d.ts.map +1 -1
- package/dist/model/taskUpdateResponse.d.ts +13 -7
- package/dist/model/taskUpdateResponse.d.ts.map +1 -1
- package/dist/model/trigger.d.ts +8 -13
- package/dist/model/trigger.d.ts.map +1 -1
- package/dist/model/triggerType.d.ts +4 -1
- package/dist/model/triggerType.d.ts.map +1 -1
- package/dist/model/triggerUpdateInput.d.ts +10 -0
- package/dist/model/triggerUpdateInput.d.ts.map +1 -0
- package/dist/model/window.d.ts +14 -0
- package/dist/model/window.d.ts.map +1 -0
- package/dist/src/ingestionClient.d.ts +574 -325
- package/dist/src/ingestionClient.d.ts.map +1 -1
- package/index.js +1 -1
- package/model/actionType.ts +5 -2
- package/model/authAPIKey.ts +7 -1
- package/model/authAPIKeyPartial.ts +11 -0
- package/model/authAlgolia.ts +10 -1
- package/model/authAlgoliaInsights.ts +16 -0
- package/model/authAlgoliaInsightsPartial.ts +16 -0
- package/model/authAlgoliaPartial.ts +16 -0
- package/model/authBasic.ts +10 -1
- package/model/authBasicPartial.ts +16 -0
- package/model/authGoogleServiceAccount.ts +10 -1
- package/model/authGoogleServiceAccountPartial.ts +16 -0
- package/model/authInput.ts +3 -1
- package/model/authInputPartial.ts +16 -0
- package/model/authOAuth.ts +16 -1
- package/model/authOAuthPartial.ts +26 -0
- package/model/authentication.ts +17 -5
- package/model/authenticationCreate.ts +9 -3
- package/model/authenticationCreateResponse.ts +11 -2
- package/model/authenticationSearch.ts +8 -0
- package/model/authenticationSortKeys.ts +11 -0
- package/model/authenticationType.ts +5 -1
- package/model/authenticationUpdate.ts +11 -5
- package/model/authenticationUpdateResponse.ts +11 -2
- package/model/bigCommerceChannel.ts +13 -0
- package/model/bigCommerceMetafield.ts +13 -0
- package/model/bigQueryDataType.ts +3 -0
- package/model/clientMethodProps.ts +236 -48
- package/model/commercetoolsCustomFields.ts +21 -0
- package/model/deleteResponse.ts +2 -2
- package/model/destination.ts +15 -3
- package/model/destinationCreate.ts +11 -2
- package/model/destinationCreateResponse.ts +11 -2
- package/model/destinationIndexName.ts +13 -1
- package/model/destinationIndexPrefix.ts +4 -1
- package/model/destinationInput.ts +1 -1
- package/model/destinationSearch.ts +8 -0
- package/model/destinationSortKeys.ts +6 -0
- package/model/destinationType.ts +5 -2
- package/model/destinationUpdate.ts +10 -1
- package/model/destinationUpdateResponse.ts +11 -2
- package/model/dockerImageType.ts +6 -0
- package/model/dockerRegistry.ts +6 -0
- package/model/dockerSourceDiscover.ts +13 -0
- package/model/dockerSourceStreams.ts +5 -0
- package/model/errorBase.ts +1 -1
- package/model/event.ts +19 -2
- package/model/eventSortKeys.ts +6 -0
- package/model/eventStatus.ts +2 -1
- package/model/eventType.ts +2 -2
- package/model/index.ts +69 -6
- package/model/listAuthenticationsResponse.ts +1 -1
- package/model/listDestinationsResponse.ts +1 -1
- package/model/listEventsResponse.ts +4 -1
- package/model/listSourcesResponse.ts +1 -1
- package/model/listTasksResponse.ts +4 -1
- package/model/mappingFieldDirective.ts +16 -0
- package/model/mappingFormatSchema.ts +6 -0
- package/model/mappingInput.ts +13 -0
- package/model/mappingKitAction.ts +25 -0
- package/model/mappingTypeCSV.ts +8 -0
- package/model/methodType.ts +4 -1
- package/model/onDemandDateUtilsInput.ts +20 -0
- package/model/onDemandTrigger.ts +15 -0
- package/model/onDemandTriggerInput.ts +10 -0
- package/model/onDemandTriggerType.ts +6 -0
- package/model/orderKeys.ts +6 -0
- package/model/pagination.ts +16 -1
- package/model/platform.ts +6 -0
- package/model/platformNone.ts +6 -0
- package/model/platformWithNone.ts +6 -0
- package/model/recordType.ts +6 -0
- package/model/run.ts +22 -8
- package/model/runListResponse.ts +4 -1
- package/model/runOutcome.ts +5 -2
- package/model/runProgress.ts +1 -1
- package/model/runReasonCode.ts +13 -0
- package/model/runResponse.ts +8 -2
- package/model/runSortKeys.ts +6 -0
- package/model/runStatus.ts +10 -2
- package/model/runType.ts +5 -2
- package/model/scheduleDateUtilsInput.ts +15 -0
- package/model/scheduleTrigger.ts +25 -0
- package/model/scheduleTriggerInput.ts +15 -0
- package/model/scheduleTriggerType.ts +6 -0
- package/model/shopifyInput.ts +13 -0
- package/model/shopifyMarket.ts +12 -0
- package/model/shopifyMetafield.ts +12 -0
- package/model/source.ts +9 -3
- package/model/sourceBigCommerce.ts +16 -2
- package/model/sourceBigQuery.ts +37 -0
- package/model/sourceCSV.ts +28 -0
- package/model/sourceCommercetools.ts +11 -2
- package/model/sourceCreate.ts +8 -2
- package/model/sourceCreateResponse.ts +8 -2
- package/model/sourceDocker.ts +25 -0
- package/model/sourceGA4BigQueryExport.ts +18 -0
- package/model/sourceInput.ts +16 -3
- package/model/sourceJSON.ts +17 -0
- package/model/sourceSearch.ts +5 -0
- package/model/sourceShopify.ts +6 -0
- package/model/sourceShopifyBase.ts +8 -0
- package/model/sourceSortKeys.ts +6 -0
- package/model/sourceType.ts +11 -2
- package/model/sourceUpdate.ts +9 -6
- package/model/sourceUpdateCommercetools.ts +21 -0
- package/model/sourceUpdateDocker.ts +22 -0
- package/model/sourceUpdateInput.ts +18 -0
- package/model/sourceUpdateResponse.ts +8 -2
- package/model/sourceUpdateShopify.ts +38 -0
- package/model/streamingTrigger.ts +10 -0
- package/model/streamingTriggerType.ts +6 -0
- package/model/streamingUtilsInput.ts +10 -0
- package/model/subscriptionTrigger.ts +10 -0
- package/model/subscriptionTriggerType.ts +6 -0
- package/model/task.ts +24 -4
- package/model/taskCreate.ts +23 -3
- package/model/taskCreateResponse.ts +8 -2
- package/model/taskCreateTrigger.ts +12 -0
- package/model/taskInput.ts +15 -0
- package/model/taskSearch.ts +5 -0
- package/model/taskSortKeys.ts +11 -0
- package/model/taskUpdate.ts +20 -3
- package/model/taskUpdateResponse.ts +8 -2
- package/model/trigger.ts +15 -19
- package/model/triggerType.ts +9 -2
- package/model/triggerUpdateInput.ts +11 -0
- package/model/window.ts +16 -0
- package/package.json +10 -9
- package/dist/ingestion.cjs.js +0 -831
- package/dist/model/authenticationInput.d.ts +0 -5
- package/dist/model/authenticationInput.d.ts.map +0 -1
- package/dist/model/authenticationWithInput.d.ts +0 -4
- package/dist/model/authenticationWithInput.d.ts.map +0 -1
- package/dist/model/platformType.d.ts +0 -2
- package/dist/model/platformType.d.ts.map +0 -1
- package/dist/model/sourceJson.d.ts +0 -6
- package/dist/model/sourceJson.d.ts.map +0 -1
- package/dist/model/triggerInput.d.ts +0 -6
- package/dist/model/triggerInput.d.ts.map +0 -1
- package/model/authenticationInput.ts +0 -7
- package/model/authenticationWithInput.ts +0 -6
- package/model/platformType.ts +0 -3
- package/model/sourceJson.ts +0 -9
- package/model/triggerInput.ts +0 -9
|
@@ -1,18 +1,96 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
import type { ActionType } from './actionType';
|
|
4
|
+
import type { AuthenticationSortKeys } from './authenticationSortKeys';
|
|
5
|
+
import type { AuthenticationType } from './authenticationType';
|
|
4
6
|
import type { AuthenticationUpdate } from './authenticationUpdate';
|
|
7
|
+
import type { DestinationSortKeys } from './destinationSortKeys';
|
|
8
|
+
import type { DestinationType } from './destinationType';
|
|
5
9
|
import type { DestinationUpdate } from './destinationUpdate';
|
|
10
|
+
import type { EventSortKeys } from './eventSortKeys';
|
|
11
|
+
import type { EventStatus } from './eventStatus';
|
|
12
|
+
import type { EventType } from './eventType';
|
|
13
|
+
import type { OrderKeys } from './orderKeys';
|
|
14
|
+
import type { PlatformWithNone } from './platformWithNone';
|
|
15
|
+
import type { RunSortKeys } from './runSortKeys';
|
|
16
|
+
import type { RunStatus } from './runStatus';
|
|
17
|
+
import type { SourceSortKeys } from './sourceSortKeys';
|
|
18
|
+
import type { SourceType } from './sourceType';
|
|
6
19
|
import type { SourceUpdate } from './sourceUpdate';
|
|
20
|
+
import type { TaskSortKeys } from './taskSortKeys';
|
|
7
21
|
import type { TaskUpdate } from './taskUpdate';
|
|
8
22
|
import type { TriggerType } from './triggerType';
|
|
9
23
|
|
|
24
|
+
/**
|
|
25
|
+
* Properties for the `customDelete` method.
|
|
26
|
+
*/
|
|
27
|
+
export type CustomDeleteProps = {
|
|
28
|
+
/**
|
|
29
|
+
* Path of the endpoint, anything after \"/1\" must be specified.
|
|
30
|
+
*/
|
|
31
|
+
path: string;
|
|
32
|
+
/**
|
|
33
|
+
* Query parameters to apply to the current query.
|
|
34
|
+
*/
|
|
35
|
+
parameters?: Record<string, any>;
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Properties for the `customGet` method.
|
|
40
|
+
*/
|
|
41
|
+
export type CustomGetProps = {
|
|
42
|
+
/**
|
|
43
|
+
* Path of the endpoint, anything after \"/1\" must be specified.
|
|
44
|
+
*/
|
|
45
|
+
path: string;
|
|
46
|
+
/**
|
|
47
|
+
* Query parameters to apply to the current query.
|
|
48
|
+
*/
|
|
49
|
+
parameters?: Record<string, any>;
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Properties for the `customPost` method.
|
|
54
|
+
*/
|
|
55
|
+
export type CustomPostProps = {
|
|
56
|
+
/**
|
|
57
|
+
* Path of the endpoint, anything after \"/1\" must be specified.
|
|
58
|
+
*/
|
|
59
|
+
path: string;
|
|
60
|
+
/**
|
|
61
|
+
* Query parameters to apply to the current query.
|
|
62
|
+
*/
|
|
63
|
+
parameters?: Record<string, any>;
|
|
64
|
+
/**
|
|
65
|
+
* Parameters to send with the custom request.
|
|
66
|
+
*/
|
|
67
|
+
body?: Record<string, any>;
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Properties for the `customPut` method.
|
|
72
|
+
*/
|
|
73
|
+
export type CustomPutProps = {
|
|
74
|
+
/**
|
|
75
|
+
* Path of the endpoint, anything after \"/1\" must be specified.
|
|
76
|
+
*/
|
|
77
|
+
path: string;
|
|
78
|
+
/**
|
|
79
|
+
* Query parameters to apply to the current query.
|
|
80
|
+
*/
|
|
81
|
+
parameters?: Record<string, any>;
|
|
82
|
+
/**
|
|
83
|
+
* Parameters to send with the custom request.
|
|
84
|
+
*/
|
|
85
|
+
body?: Record<string, any>;
|
|
86
|
+
};
|
|
87
|
+
|
|
10
88
|
/**
|
|
11
89
|
* Properties for the `deleteAuthentication` method.
|
|
12
90
|
*/
|
|
13
91
|
export type DeleteAuthenticationProps = {
|
|
14
92
|
/**
|
|
15
|
-
*
|
|
93
|
+
* Unique identifier of an authentication resource.
|
|
16
94
|
*/
|
|
17
95
|
authenticationID: string;
|
|
18
96
|
};
|
|
@@ -22,7 +100,7 @@ export type DeleteAuthenticationProps = {
|
|
|
22
100
|
*/
|
|
23
101
|
export type DeleteDestinationProps = {
|
|
24
102
|
/**
|
|
25
|
-
*
|
|
103
|
+
* Unique identifier of a destination.
|
|
26
104
|
*/
|
|
27
105
|
destinationID: string;
|
|
28
106
|
};
|
|
@@ -32,7 +110,7 @@ export type DeleteDestinationProps = {
|
|
|
32
110
|
*/
|
|
33
111
|
export type DeleteSourceProps = {
|
|
34
112
|
/**
|
|
35
|
-
*
|
|
113
|
+
* Unique identifier of a source.
|
|
36
114
|
*/
|
|
37
115
|
sourceID: string;
|
|
38
116
|
};
|
|
@@ -42,7 +120,7 @@ export type DeleteSourceProps = {
|
|
|
42
120
|
*/
|
|
43
121
|
export type DeleteTaskProps = {
|
|
44
122
|
/**
|
|
45
|
-
*
|
|
123
|
+
* Unique identifier of a task.
|
|
46
124
|
*/
|
|
47
125
|
taskID: string;
|
|
48
126
|
};
|
|
@@ -52,7 +130,7 @@ export type DeleteTaskProps = {
|
|
|
52
130
|
*/
|
|
53
131
|
export type DisableTaskProps = {
|
|
54
132
|
/**
|
|
55
|
-
*
|
|
133
|
+
* Unique identifier of a task.
|
|
56
134
|
*/
|
|
57
135
|
taskID: string;
|
|
58
136
|
};
|
|
@@ -62,7 +140,7 @@ export type DisableTaskProps = {
|
|
|
62
140
|
*/
|
|
63
141
|
export type EnableTaskProps = {
|
|
64
142
|
/**
|
|
65
|
-
*
|
|
143
|
+
* Unique identifier of a task.
|
|
66
144
|
*/
|
|
67
145
|
taskID: string;
|
|
68
146
|
};
|
|
@@ -72,7 +150,7 @@ export type EnableTaskProps = {
|
|
|
72
150
|
*/
|
|
73
151
|
export type GetAuthenticationProps = {
|
|
74
152
|
/**
|
|
75
|
-
*
|
|
153
|
+
* Unique identifier of an authentication resource.
|
|
76
154
|
*/
|
|
77
155
|
authenticationID: string;
|
|
78
156
|
};
|
|
@@ -82,13 +160,29 @@ export type GetAuthenticationProps = {
|
|
|
82
160
|
*/
|
|
83
161
|
export type GetAuthenticationsProps = {
|
|
84
162
|
/**
|
|
85
|
-
*
|
|
163
|
+
* Number of items per page.
|
|
86
164
|
*/
|
|
87
165
|
itemsPerPage?: number;
|
|
88
166
|
/**
|
|
89
|
-
*
|
|
167
|
+
* Page number of the paginated API response.
|
|
90
168
|
*/
|
|
91
169
|
page?: number;
|
|
170
|
+
/**
|
|
171
|
+
* Type of authentication resource to retrieve.
|
|
172
|
+
*/
|
|
173
|
+
type?: AuthenticationType[];
|
|
174
|
+
/**
|
|
175
|
+
* Ecommerce platform for which to retrieve authentication resources.
|
|
176
|
+
*/
|
|
177
|
+
platform?: PlatformWithNone[];
|
|
178
|
+
/**
|
|
179
|
+
* Property by which to sort the list of authentication resources.
|
|
180
|
+
*/
|
|
181
|
+
sort?: AuthenticationSortKeys;
|
|
182
|
+
/**
|
|
183
|
+
* Sort order of the response, ascending or descending.
|
|
184
|
+
*/
|
|
185
|
+
order?: OrderKeys;
|
|
92
186
|
};
|
|
93
187
|
|
|
94
188
|
/**
|
|
@@ -96,7 +190,7 @@ export type GetAuthenticationsProps = {
|
|
|
96
190
|
*/
|
|
97
191
|
export type GetDestinationProps = {
|
|
98
192
|
/**
|
|
99
|
-
*
|
|
193
|
+
* Unique identifier of a destination.
|
|
100
194
|
*/
|
|
101
195
|
destinationID: string;
|
|
102
196
|
};
|
|
@@ -106,13 +200,39 @@ export type GetDestinationProps = {
|
|
|
106
200
|
*/
|
|
107
201
|
export type GetDestinationsProps = {
|
|
108
202
|
/**
|
|
109
|
-
*
|
|
203
|
+
* Number of items per page.
|
|
110
204
|
*/
|
|
111
205
|
itemsPerPage?: number;
|
|
112
206
|
/**
|
|
113
|
-
*
|
|
207
|
+
* Page number of the paginated API response.
|
|
114
208
|
*/
|
|
115
209
|
page?: number;
|
|
210
|
+
/**
|
|
211
|
+
* Destination type.
|
|
212
|
+
*/
|
|
213
|
+
type?: DestinationType[];
|
|
214
|
+
/**
|
|
215
|
+
* Authentication ID used by destinations.
|
|
216
|
+
*/
|
|
217
|
+
authenticationID?: string[];
|
|
218
|
+
/**
|
|
219
|
+
* Property by which to sort the destinations.
|
|
220
|
+
*/
|
|
221
|
+
sort?: DestinationSortKeys;
|
|
222
|
+
/**
|
|
223
|
+
* Sort order of the response, ascending or descending.
|
|
224
|
+
*/
|
|
225
|
+
order?: OrderKeys;
|
|
226
|
+
};
|
|
227
|
+
|
|
228
|
+
/**
|
|
229
|
+
* Properties for the `getDockerSourceStreams` method.
|
|
230
|
+
*/
|
|
231
|
+
export type GetDockerSourceStreamsProps = {
|
|
232
|
+
/**
|
|
233
|
+
* Unique identifier of a source.
|
|
234
|
+
*/
|
|
235
|
+
sourceID: string;
|
|
116
236
|
};
|
|
117
237
|
|
|
118
238
|
/**
|
|
@@ -120,11 +240,11 @@ export type GetDestinationsProps = {
|
|
|
120
240
|
*/
|
|
121
241
|
export type GetEventProps = {
|
|
122
242
|
/**
|
|
123
|
-
*
|
|
243
|
+
* Unique identifier of a task run.
|
|
124
244
|
*/
|
|
125
245
|
runID: string;
|
|
126
246
|
/**
|
|
127
|
-
*
|
|
247
|
+
* Unique identifier of an event.
|
|
128
248
|
*/
|
|
129
249
|
eventID: string;
|
|
130
250
|
};
|
|
@@ -134,17 +254,41 @@ export type GetEventProps = {
|
|
|
134
254
|
*/
|
|
135
255
|
export type GetEventsProps = {
|
|
136
256
|
/**
|
|
137
|
-
*
|
|
257
|
+
* Unique identifier of a task run.
|
|
138
258
|
*/
|
|
139
259
|
runID: string;
|
|
140
260
|
/**
|
|
141
|
-
*
|
|
261
|
+
* Number of items per page.
|
|
142
262
|
*/
|
|
143
263
|
itemsPerPage?: number;
|
|
144
264
|
/**
|
|
145
|
-
*
|
|
265
|
+
* Page number of the paginated API response.
|
|
146
266
|
*/
|
|
147
267
|
page?: number;
|
|
268
|
+
/**
|
|
269
|
+
* Event status for filtering the list of task runs.
|
|
270
|
+
*/
|
|
271
|
+
status?: EventStatus[];
|
|
272
|
+
/**
|
|
273
|
+
* Event type for filtering the list of task runs.
|
|
274
|
+
*/
|
|
275
|
+
type?: EventType[];
|
|
276
|
+
/**
|
|
277
|
+
* Property by which to sort the list of task run events.
|
|
278
|
+
*/
|
|
279
|
+
sort?: EventSortKeys;
|
|
280
|
+
/**
|
|
281
|
+
* Sort order of the response, ascending or descending.
|
|
282
|
+
*/
|
|
283
|
+
order?: OrderKeys;
|
|
284
|
+
/**
|
|
285
|
+
* Date and time in RFC3339 format for the earliest events to retrieve. By default, the current time minus three hours is used.
|
|
286
|
+
*/
|
|
287
|
+
startDate?: string;
|
|
288
|
+
/**
|
|
289
|
+
* Date and time in RFC3339 format for the latest events to retrieve. By default, the current time is used.
|
|
290
|
+
*/
|
|
291
|
+
endDate?: string;
|
|
148
292
|
};
|
|
149
293
|
|
|
150
294
|
/**
|
|
@@ -152,7 +296,7 @@ export type GetEventsProps = {
|
|
|
152
296
|
*/
|
|
153
297
|
export type GetRunProps = {
|
|
154
298
|
/**
|
|
155
|
-
*
|
|
299
|
+
* Unique identifier of a task run.
|
|
156
300
|
*/
|
|
157
301
|
runID: string;
|
|
158
302
|
};
|
|
@@ -162,31 +306,37 @@ export type GetRunProps = {
|
|
|
162
306
|
*/
|
|
163
307
|
export type GetRunsProps = {
|
|
164
308
|
/**
|
|
165
|
-
*
|
|
309
|
+
* Number of items per page.
|
|
166
310
|
*/
|
|
167
311
|
itemsPerPage?: number;
|
|
168
312
|
/**
|
|
169
|
-
*
|
|
313
|
+
* Page number of the paginated API response.
|
|
170
314
|
*/
|
|
171
315
|
page?: number;
|
|
172
|
-
};
|
|
173
|
-
|
|
174
|
-
/**
|
|
175
|
-
* Properties for the `getRunsByTaskID` method.
|
|
176
|
-
*/
|
|
177
|
-
export type GetRunsByTaskIDProps = {
|
|
178
316
|
/**
|
|
179
|
-
*
|
|
317
|
+
* Run status for filtering the list of task runs.
|
|
180
318
|
*/
|
|
181
|
-
|
|
319
|
+
status?: RunStatus[];
|
|
182
320
|
/**
|
|
183
|
-
*
|
|
321
|
+
* Task ID for filtering the list of task runs.
|
|
184
322
|
*/
|
|
185
|
-
|
|
323
|
+
taskID?: string;
|
|
186
324
|
/**
|
|
187
|
-
*
|
|
325
|
+
* Property by which to sort the list of task runs.
|
|
188
326
|
*/
|
|
189
|
-
|
|
327
|
+
sort?: RunSortKeys;
|
|
328
|
+
/**
|
|
329
|
+
* Sort order of the response, ascending or descending.
|
|
330
|
+
*/
|
|
331
|
+
order?: OrderKeys;
|
|
332
|
+
/**
|
|
333
|
+
* Date in RFC3339 format for the earliest run to retrieve. By default, the current day minus seven days is used.
|
|
334
|
+
*/
|
|
335
|
+
startDate?: string;
|
|
336
|
+
/**
|
|
337
|
+
* Date in RFC3339 format for the latest run to retrieve. By default, the current day is used.
|
|
338
|
+
*/
|
|
339
|
+
endDate?: string;
|
|
190
340
|
};
|
|
191
341
|
|
|
192
342
|
/**
|
|
@@ -194,7 +344,7 @@ export type GetRunsByTaskIDProps = {
|
|
|
194
344
|
*/
|
|
195
345
|
export type GetSourceProps = {
|
|
196
346
|
/**
|
|
197
|
-
*
|
|
347
|
+
* Unique identifier of a source.
|
|
198
348
|
*/
|
|
199
349
|
sourceID: string;
|
|
200
350
|
};
|
|
@@ -204,13 +354,29 @@ export type GetSourceProps = {
|
|
|
204
354
|
*/
|
|
205
355
|
export type GetSourcesProps = {
|
|
206
356
|
/**
|
|
207
|
-
*
|
|
357
|
+
* Number of items per page.
|
|
208
358
|
*/
|
|
209
359
|
itemsPerPage?: number;
|
|
210
360
|
/**
|
|
211
|
-
*
|
|
361
|
+
* Page number of the paginated API response.
|
|
212
362
|
*/
|
|
213
363
|
page?: number;
|
|
364
|
+
/**
|
|
365
|
+
* Source type. Some sources require authentication.
|
|
366
|
+
*/
|
|
367
|
+
type?: SourceType[];
|
|
368
|
+
/**
|
|
369
|
+
* Authentication IDs of the sources to retrieve. \'none\' returns sources that doesn\'t have an authentication resource.
|
|
370
|
+
*/
|
|
371
|
+
authenticationID?: string[];
|
|
372
|
+
/**
|
|
373
|
+
* Property by which to sort the list of sources.
|
|
374
|
+
*/
|
|
375
|
+
sort?: SourceSortKeys;
|
|
376
|
+
/**
|
|
377
|
+
* Sort order of the response, ascending or descending.
|
|
378
|
+
*/
|
|
379
|
+
order?: OrderKeys;
|
|
214
380
|
};
|
|
215
381
|
|
|
216
382
|
/**
|
|
@@ -218,7 +384,7 @@ export type GetSourcesProps = {
|
|
|
218
384
|
*/
|
|
219
385
|
export type GetTaskProps = {
|
|
220
386
|
/**
|
|
221
|
-
*
|
|
387
|
+
* Unique identifier of a task.
|
|
222
388
|
*/
|
|
223
389
|
taskID: string;
|
|
224
390
|
};
|
|
@@ -228,29 +394,41 @@ export type GetTaskProps = {
|
|
|
228
394
|
*/
|
|
229
395
|
export type GetTasksProps = {
|
|
230
396
|
/**
|
|
231
|
-
*
|
|
397
|
+
* Number of items per page.
|
|
232
398
|
*/
|
|
233
399
|
itemsPerPage?: number;
|
|
234
400
|
/**
|
|
235
|
-
*
|
|
401
|
+
* Page number of the paginated API response.
|
|
236
402
|
*/
|
|
237
403
|
page?: number;
|
|
238
404
|
/**
|
|
239
|
-
*
|
|
405
|
+
* Actions for filtering the list of tasks.
|
|
240
406
|
*/
|
|
241
407
|
action?: ActionType[];
|
|
242
408
|
/**
|
|
243
|
-
*
|
|
409
|
+
* Whether to filter the list of tasks by the `enabled` status.
|
|
244
410
|
*/
|
|
245
411
|
enabled?: boolean;
|
|
246
412
|
/**
|
|
247
|
-
*
|
|
413
|
+
* Source IDs for filtering the list of tasks.
|
|
414
|
+
*/
|
|
415
|
+
sourceID?: string[];
|
|
416
|
+
/**
|
|
417
|
+
* Destination IDs for filtering the list of tasks.
|
|
248
418
|
*/
|
|
249
419
|
destinationID?: string[];
|
|
250
420
|
/**
|
|
251
|
-
*
|
|
421
|
+
* Type of task trigger for filtering the list of tasks.
|
|
252
422
|
*/
|
|
253
423
|
triggerType?: TriggerType[];
|
|
424
|
+
/**
|
|
425
|
+
* Property by which to sort the list of tasks.
|
|
426
|
+
*/
|
|
427
|
+
sort?: TaskSortKeys;
|
|
428
|
+
/**
|
|
429
|
+
* Sort order of the response, ascending or descending.
|
|
430
|
+
*/
|
|
431
|
+
order?: OrderKeys;
|
|
254
432
|
};
|
|
255
433
|
|
|
256
434
|
/**
|
|
@@ -258,17 +436,27 @@ export type GetTasksProps = {
|
|
|
258
436
|
*/
|
|
259
437
|
export type RunTaskProps = {
|
|
260
438
|
/**
|
|
261
|
-
*
|
|
439
|
+
* Unique identifier of a task.
|
|
262
440
|
*/
|
|
263
441
|
taskID: string;
|
|
264
442
|
};
|
|
265
443
|
|
|
444
|
+
/**
|
|
445
|
+
* Properties for the `triggerDockerSourceDiscover` method.
|
|
446
|
+
*/
|
|
447
|
+
export type TriggerDockerSourceDiscoverProps = {
|
|
448
|
+
/**
|
|
449
|
+
* Unique identifier of a source.
|
|
450
|
+
*/
|
|
451
|
+
sourceID: string;
|
|
452
|
+
};
|
|
453
|
+
|
|
266
454
|
/**
|
|
267
455
|
* Properties for the `updateAuthentication` method.
|
|
268
456
|
*/
|
|
269
457
|
export type UpdateAuthenticationProps = {
|
|
270
458
|
/**
|
|
271
|
-
*
|
|
459
|
+
* Unique identifier of an authentication resource.
|
|
272
460
|
*/
|
|
273
461
|
authenticationID: string;
|
|
274
462
|
authenticationUpdate: AuthenticationUpdate;
|
|
@@ -279,7 +467,7 @@ export type UpdateAuthenticationProps = {
|
|
|
279
467
|
*/
|
|
280
468
|
export type UpdateDestinationProps = {
|
|
281
469
|
/**
|
|
282
|
-
*
|
|
470
|
+
* Unique identifier of a destination.
|
|
283
471
|
*/
|
|
284
472
|
destinationID: string;
|
|
285
473
|
destinationUpdate: DestinationUpdate;
|
|
@@ -290,7 +478,7 @@ export type UpdateDestinationProps = {
|
|
|
290
478
|
*/
|
|
291
479
|
export type UpdateSourceProps = {
|
|
292
480
|
/**
|
|
293
|
-
*
|
|
481
|
+
* Unique identifier of a source.
|
|
294
482
|
*/
|
|
295
483
|
sourceID: string;
|
|
296
484
|
sourceUpdate: SourceUpdate;
|
|
@@ -301,7 +489,7 @@ export type UpdateSourceProps = {
|
|
|
301
489
|
*/
|
|
302
490
|
export type UpdateTaskProps = {
|
|
303
491
|
/**
|
|
304
|
-
*
|
|
492
|
+
* Unique identifier of a task.
|
|
305
493
|
*/
|
|
306
494
|
taskID: string;
|
|
307
495
|
taskUpdate: TaskUpdate;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Custom fields from commercetools to add to the records. For more information, see [Using Custom Types and Custom Fields](https://docs.commercetools.com/tutorials/custom-types).
|
|
5
|
+
*/
|
|
6
|
+
export type CommercetoolsCustomFields = {
|
|
7
|
+
/**
|
|
8
|
+
* Inventory custom fields.
|
|
9
|
+
*/
|
|
10
|
+
inventory?: string[] | null;
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Price custom fields.
|
|
14
|
+
*/
|
|
15
|
+
price?: string[] | null;
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Category custom fields.
|
|
19
|
+
*/
|
|
20
|
+
category?: string[] | null;
|
|
21
|
+
};
|
package/model/deleteResponse.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
export type DeleteResponse = {
|
|
4
4
|
/**
|
|
5
|
-
* Date of deletion
|
|
5
|
+
* Date of deletion in RFC3339 format.
|
|
6
6
|
*/
|
|
7
7
|
deletedAt: string;
|
|
8
8
|
};
|
package/model/destination.ts
CHANGED
|
@@ -1,26 +1,38 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
import type { DestinationInput } from './destinationInput';
|
|
4
4
|
import type { DestinationType } from './destinationType';
|
|
5
5
|
|
|
6
|
+
/**
|
|
7
|
+
* Destinations are Algolia resources like indices or event streams.
|
|
8
|
+
*/
|
|
6
9
|
export type Destination = {
|
|
10
|
+
/**
|
|
11
|
+
* Universally unique identifier (UUID) of a destination resource.
|
|
12
|
+
*/
|
|
7
13
|
destinationID: string;
|
|
8
14
|
|
|
9
15
|
type: DestinationType;
|
|
10
16
|
|
|
17
|
+
/**
|
|
18
|
+
* Descriptive name for the resource.
|
|
19
|
+
*/
|
|
11
20
|
name: string;
|
|
12
21
|
|
|
13
22
|
input: DestinationInput;
|
|
14
23
|
|
|
15
24
|
/**
|
|
16
|
-
* Date of creation
|
|
25
|
+
* Date of creation in RFC3339 format.
|
|
17
26
|
*/
|
|
18
27
|
createdAt: string;
|
|
19
28
|
|
|
20
29
|
/**
|
|
21
|
-
* Date of last update
|
|
30
|
+
* Date of last update in RFC3339 format.
|
|
22
31
|
*/
|
|
23
32
|
updatedAt?: string;
|
|
24
33
|
|
|
34
|
+
/**
|
|
35
|
+
* Universally unique identifier (UUID) of an authentication resource.
|
|
36
|
+
*/
|
|
25
37
|
authenticationID?: string;
|
|
26
38
|
};
|
|
@@ -1,14 +1,23 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
import type { DestinationInput } from './destinationInput';
|
|
4
4
|
import type { DestinationType } from './destinationType';
|
|
5
5
|
|
|
6
|
+
/**
|
|
7
|
+
* API request body for creating a new destination.
|
|
8
|
+
*/
|
|
6
9
|
export type DestinationCreate = {
|
|
7
10
|
type: DestinationType;
|
|
8
11
|
|
|
12
|
+
/**
|
|
13
|
+
* Descriptive name for the resource.
|
|
14
|
+
*/
|
|
9
15
|
name: string;
|
|
10
16
|
|
|
11
17
|
input: DestinationInput;
|
|
12
18
|
|
|
13
|
-
|
|
19
|
+
/**
|
|
20
|
+
* Universally unique identifier (UUID) of an authentication resource.
|
|
21
|
+
*/
|
|
22
|
+
authenticationID?: string;
|
|
14
23
|
};
|
|
@@ -1,12 +1,21 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
|
+
/**
|
|
4
|
+
* API response for creating a new destination.
|
|
5
|
+
*/
|
|
3
6
|
export type DestinationCreateResponse = {
|
|
7
|
+
/**
|
|
8
|
+
* Universally unique identifier (UUID) of a destination resource.
|
|
9
|
+
*/
|
|
4
10
|
destinationID: string;
|
|
5
11
|
|
|
12
|
+
/**
|
|
13
|
+
* Descriptive name for the resource.
|
|
14
|
+
*/
|
|
6
15
|
name: string;
|
|
7
16
|
|
|
8
17
|
/**
|
|
9
|
-
* Date of creation
|
|
18
|
+
* Date of creation in RFC3339 format.
|
|
10
19
|
*/
|
|
11
20
|
createdAt: string;
|
|
12
21
|
};
|
|
@@ -1,5 +1,17 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
import type { RecordType } from './recordType';
|
|
2
4
|
|
|
3
5
|
export type DestinationIndexName = {
|
|
6
|
+
/**
|
|
7
|
+
* Algolia index name (case-sensitive).
|
|
8
|
+
*/
|
|
4
9
|
indexName: string;
|
|
10
|
+
|
|
11
|
+
recordType?: RecordType;
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Attributes from your source to exclude from Algolia records. Not all your data attributes will be useful for searching. Keeping your Algolia records small increases indexing and search performance. - Exclude nested attributes with `.` notation. For example, `foo.bar` indexes the `foo` attribute and all its children **except** the `bar` attribute. - Exclude attributes from arrays with `[i]`, where `i` is the index of the array element. For example, `foo.[0].bar` only excludes the `bar` attribute from the first element of the `foo` array, but indexes the complete `foo` attribute for all other elements. Use `*` as wildcard: `foo.[*].bar` excludes `bar` from all elements of the `foo` array.
|
|
15
|
+
*/
|
|
16
|
+
attributesToExclude?: string[];
|
|
5
17
|
};
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
export type DestinationIndexPrefix = {
|
|
4
|
+
/**
|
|
5
|
+
* String added to the beginning of all indices created by this destination.
|
|
6
|
+
*/
|
|
4
7
|
indexPrefix: string;
|
|
5
8
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
import type { DestinationIndexName } from './destinationIndexName';
|
|
4
4
|
import type { DestinationIndexPrefix } from './destinationIndexPrefix';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* API request body for searching destinations.
|
|
5
|
+
*/
|
|
6
|
+
export type DestinationSearch = {
|
|
7
|
+
destinationIDs: string[];
|
|
8
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Property by which to sort the destinations.
|
|
5
|
+
*/
|
|
6
|
+
export type DestinationSortKeys = 'createdAt' | 'name' | 'type' | 'updatedAt';
|