@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,12 +1,18 @@
|
|
|
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 SourceUpdateResponse = {
|
|
4
|
+
/**
|
|
5
|
+
* Universally uniqud identifier (UUID) of a source.
|
|
6
|
+
*/
|
|
4
7
|
sourceID: string;
|
|
5
8
|
|
|
9
|
+
/**
|
|
10
|
+
* Descriptive name of the source.
|
|
11
|
+
*/
|
|
6
12
|
name: string;
|
|
7
13
|
|
|
8
14
|
/**
|
|
9
|
-
* Date of last update
|
|
15
|
+
* Date of last update in RFC3339 format.
|
|
10
16
|
*/
|
|
11
17
|
updatedAt: string;
|
|
12
18
|
};
|
|
@@ -0,0 +1,38 @@
|
|
|
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
|
+
export type SourceUpdateShopify = {
|
|
4
|
+
/**
|
|
5
|
+
* Whether to index collection IDs. If your store has `has_collection_search_page` set to true, collection IDs will be indexed even if `collectionIDIndexing` is false.
|
|
6
|
+
*/
|
|
7
|
+
collectionIDIndexing?: boolean;
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Whether to increase the number of indexed collections per product. If true, Algolia indexes 200 collections per product. If false, 100 collections per product are indexed.
|
|
11
|
+
*/
|
|
12
|
+
increaseProductCollectionLimit?: boolean;
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Whether to set the default price ratio to 1 if no sale price is present. The price ratio is determined by the ratio: `sale_price` / `regular_price`. If no sale price is present, the price ratio would be 0. If `defaultPriceRatioAsOne` is true, the price ratio is indexed as 1 instead.
|
|
16
|
+
*/
|
|
17
|
+
defaultPriceRatioAsOne?: boolean;
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Whether to exclude out-of-stock variants when determining the `max_variant_price` and `min_variant_price` attributes.
|
|
21
|
+
*/
|
|
22
|
+
excludeOOSVariantsForPriceAtTRS?: boolean;
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Whether to include an inventory with every variant for every product record.
|
|
26
|
+
*/
|
|
27
|
+
includeVariantsInventory?: boolean;
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Whether to include collection IDs and handles in the product records.
|
|
31
|
+
*/
|
|
32
|
+
hasCollectionSearchPage?: boolean;
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Whether to convert tags on products to named tags. To learn more, see [Named tags](https://www.algolia.com/doc/integration/shopify/sending-and-managing-data/named-tags).
|
|
36
|
+
*/
|
|
37
|
+
productNamedTags?: boolean;
|
|
38
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
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 { StreamingTriggerType } from './streamingTriggerType';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Trigger input for continuously running tasks.
|
|
7
|
+
*/
|
|
8
|
+
export type StreamingTrigger = {
|
|
9
|
+
type: StreamingTriggerType;
|
|
10
|
+
};
|
|
@@ -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
|
+
* Task runs continuously.
|
|
5
|
+
*/
|
|
6
|
+
export type StreamingTriggerType = 'streaming';
|
|
@@ -0,0 +1,10 @@
|
|
|
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 { MappingInput } from './mappingInput';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Input for a `streaming` task whose source is of type `ga4BigqueryExport` and for which extracted data is continuously streamed.
|
|
7
|
+
*/
|
|
8
|
+
export type StreamingUtilsInput = {
|
|
9
|
+
mapping: MappingInput;
|
|
10
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
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 { SubscriptionTriggerType } from './subscriptionTriggerType';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Trigger input for subscription tasks.
|
|
7
|
+
*/
|
|
8
|
+
export type SubscriptionTrigger = {
|
|
9
|
+
type: SubscriptionTriggerType;
|
|
10
|
+
};
|
|
@@ -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
|
+
* Task runs after receiving subscribed event.
|
|
5
|
+
*/
|
|
6
|
+
export type SubscriptionTriggerType = 'subscription';
|
package/model/task.ts
CHANGED
|
@@ -1,28 +1,48 @@
|
|
|
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 { TaskInput } from './taskInput';
|
|
4
5
|
import type { Trigger } from './trigger';
|
|
5
6
|
|
|
6
7
|
export type Task = {
|
|
8
|
+
/**
|
|
9
|
+
* Universally unique identifier (UUID) of a task.
|
|
10
|
+
*/
|
|
7
11
|
taskID: string;
|
|
8
12
|
|
|
13
|
+
/**
|
|
14
|
+
* Universally uniqud identifier (UUID) of a source.
|
|
15
|
+
*/
|
|
9
16
|
sourceID: string;
|
|
10
17
|
|
|
18
|
+
/**
|
|
19
|
+
* Universally unique identifier (UUID) of a destination resource.
|
|
20
|
+
*/
|
|
11
21
|
destinationID: string;
|
|
12
22
|
|
|
13
|
-
trigger
|
|
23
|
+
trigger: Trigger;
|
|
14
24
|
|
|
25
|
+
input?: TaskInput;
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Whether the task is enabled.
|
|
29
|
+
*/
|
|
15
30
|
enabled: boolean;
|
|
16
31
|
|
|
32
|
+
/**
|
|
33
|
+
* Maximum accepted percentage of failures for a task run to finish successfully.
|
|
34
|
+
*/
|
|
35
|
+
failureThreshold?: number;
|
|
36
|
+
|
|
17
37
|
action: ActionType;
|
|
18
38
|
|
|
19
39
|
/**
|
|
20
|
-
* Date of creation
|
|
40
|
+
* Date of creation in RFC3339 format.
|
|
21
41
|
*/
|
|
22
42
|
createdAt: string;
|
|
23
43
|
|
|
24
44
|
/**
|
|
25
|
-
* Date of last update
|
|
45
|
+
* Date of last update in RFC3339 format.
|
|
26
46
|
*/
|
|
27
47
|
updatedAt?: string;
|
|
28
48
|
};
|
package/model/taskCreate.ts
CHANGED
|
@@ -1,16 +1,36 @@
|
|
|
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 {
|
|
4
|
+
import type { TaskCreateTrigger } from './taskCreateTrigger';
|
|
5
|
+
import type { TaskInput } from './taskInput';
|
|
5
6
|
|
|
7
|
+
/**
|
|
8
|
+
* API request body for creating a task.
|
|
9
|
+
*/
|
|
6
10
|
export type TaskCreate = {
|
|
11
|
+
/**
|
|
12
|
+
* Universally uniqud identifier (UUID) of a source.
|
|
13
|
+
*/
|
|
7
14
|
sourceID: string;
|
|
8
15
|
|
|
16
|
+
/**
|
|
17
|
+
* Universally unique identifier (UUID) of a destination resource.
|
|
18
|
+
*/
|
|
9
19
|
destinationID: string;
|
|
10
20
|
|
|
11
|
-
trigger:
|
|
21
|
+
trigger: TaskCreateTrigger;
|
|
12
22
|
|
|
13
23
|
action: ActionType;
|
|
14
24
|
|
|
25
|
+
/**
|
|
26
|
+
* Whether the task is enabled.
|
|
27
|
+
*/
|
|
15
28
|
enabled?: boolean;
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Maximum accepted percentage of failures for a task run to finish successfully.
|
|
32
|
+
*/
|
|
33
|
+
failureThreshold?: number;
|
|
34
|
+
|
|
35
|
+
input?: TaskInput;
|
|
16
36
|
};
|
|
@@ -1,10 +1,16 @@
|
|
|
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 task.
|
|
5
|
+
*/
|
|
3
6
|
export type TaskCreateResponse = {
|
|
7
|
+
/**
|
|
8
|
+
* Universally unique identifier (UUID) of a task.
|
|
9
|
+
*/
|
|
4
10
|
taskID: string;
|
|
5
11
|
|
|
6
12
|
/**
|
|
7
|
-
* Date of creation
|
|
13
|
+
* Date of creation in RFC3339 format.
|
|
8
14
|
*/
|
|
9
15
|
createdAt: string;
|
|
10
16
|
};
|
|
@@ -0,0 +1,12 @@
|
|
|
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 { OnDemandTriggerInput } from './onDemandTriggerInput';
|
|
4
|
+
import type { ScheduleTriggerInput } from './scheduleTriggerInput';
|
|
5
|
+
import type { StreamingTrigger } from './streamingTrigger';
|
|
6
|
+
import type { SubscriptionTrigger } from './subscriptionTrigger';
|
|
7
|
+
|
|
8
|
+
export type TaskCreateTrigger =
|
|
9
|
+
| OnDemandTriggerInput
|
|
10
|
+
| ScheduleTriggerInput
|
|
11
|
+
| StreamingTrigger
|
|
12
|
+
| SubscriptionTrigger;
|
|
@@ -0,0 +1,15 @@
|
|
|
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 { OnDemandDateUtilsInput } from './onDemandDateUtilsInput';
|
|
4
|
+
import type { ScheduleDateUtilsInput } from './scheduleDateUtilsInput';
|
|
5
|
+
import type { ShopifyInput } from './shopifyInput';
|
|
6
|
+
import type { StreamingUtilsInput } from './streamingUtilsInput';
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Configuration of the task, depending on its type.
|
|
10
|
+
*/
|
|
11
|
+
export type TaskInput =
|
|
12
|
+
| OnDemandDateUtilsInput
|
|
13
|
+
| ScheduleDateUtilsInput
|
|
14
|
+
| ShopifyInput
|
|
15
|
+
| StreamingUtilsInput;
|
|
@@ -0,0 +1,11 @@
|
|
|
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 list of tasks.
|
|
5
|
+
*/
|
|
6
|
+
export type TaskSortKeys =
|
|
7
|
+
| 'action'
|
|
8
|
+
| 'createdAt'
|
|
9
|
+
| 'enabled'
|
|
10
|
+
| 'triggerType'
|
|
11
|
+
| 'updatedAt';
|
package/model/taskUpdate.ts
CHANGED
|
@@ -1,11 +1,28 @@
|
|
|
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
|
-
import type {
|
|
3
|
+
import type { TaskInput } from './taskInput';
|
|
4
|
+
import type { TriggerUpdateInput } from './triggerUpdateInput';
|
|
4
5
|
|
|
6
|
+
/**
|
|
7
|
+
* API request body for updating a task.
|
|
8
|
+
*/
|
|
5
9
|
export type TaskUpdate = {
|
|
10
|
+
/**
|
|
11
|
+
* Universally unique identifier (UUID) of a destination resource.
|
|
12
|
+
*/
|
|
6
13
|
destinationID?: string;
|
|
7
14
|
|
|
8
|
-
trigger?:
|
|
15
|
+
trigger?: TriggerUpdateInput;
|
|
9
16
|
|
|
17
|
+
input?: TaskInput;
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Whether the task is enabled.
|
|
21
|
+
*/
|
|
10
22
|
enabled?: boolean;
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Maximum accepted percentage of failures for a task run to finish successfully.
|
|
26
|
+
*/
|
|
27
|
+
failureThreshold?: number;
|
|
11
28
|
};
|
|
@@ -1,10 +1,16 @@
|
|
|
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 updating a task.
|
|
5
|
+
*/
|
|
3
6
|
export type TaskUpdateResponse = {
|
|
7
|
+
/**
|
|
8
|
+
* Universally unique identifier (UUID) of a task.
|
|
9
|
+
*/
|
|
4
10
|
taskID: string;
|
|
5
11
|
|
|
6
12
|
/**
|
|
7
|
-
* Date of last update
|
|
13
|
+
* Date of last update in RFC3339 format.
|
|
8
14
|
*/
|
|
9
15
|
updatedAt: string;
|
|
10
16
|
};
|
package/model/trigger.ts
CHANGED
|
@@ -1,19 +1,15 @@
|
|
|
1
|
-
//
|
|
2
|
-
|
|
3
|
-
import type {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
* The next scheduled run for the task (`scheduled`).
|
|
17
|
-
*/
|
|
18
|
-
nextRun?: string;
|
|
19
|
-
};
|
|
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 { OnDemandTrigger } from './onDemandTrigger';
|
|
4
|
+
import type { ScheduleTrigger } from './scheduleTrigger';
|
|
5
|
+
import type { StreamingTrigger } from './streamingTrigger';
|
|
6
|
+
import type { SubscriptionTrigger } from './subscriptionTrigger';
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Trigger that runs the task.
|
|
10
|
+
*/
|
|
11
|
+
export type Trigger =
|
|
12
|
+
| OnDemandTrigger
|
|
13
|
+
| ScheduleTrigger
|
|
14
|
+
| StreamingTrigger
|
|
15
|
+
| SubscriptionTrigger;
|
package/model/triggerType.ts
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
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
|
+
/**
|
|
4
|
+
* Task trigger, describing when a task should run. - `onDemand`. Manually trigger the task with the `/run` endpoint. - `schedule`. Regularly trigger the task on a `cron` schedule. - `subscription`. Trigger the task after an event is received, such as, a webhook. - `streaming`. Run the task continuously.
|
|
5
|
+
*/
|
|
6
|
+
export type TriggerType =
|
|
7
|
+
| 'onDemand'
|
|
8
|
+
| 'schedule'
|
|
9
|
+
| 'streaming'
|
|
10
|
+
| 'subscription';
|
|
@@ -0,0 +1,11 @@
|
|
|
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
|
+
* Trigger for a task update.
|
|
5
|
+
*/
|
|
6
|
+
export type TriggerUpdateInput = {
|
|
7
|
+
/**
|
|
8
|
+
* Cron expression for the task\'s schedule.
|
|
9
|
+
*/
|
|
10
|
+
cron: string;
|
|
11
|
+
};
|
package/model/window.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
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
|
+
* Time window by which to filter the observability data.
|
|
5
|
+
*/
|
|
6
|
+
export type Window = {
|
|
7
|
+
/**
|
|
8
|
+
* Date in RFC3339 format representing the oldest data in the time window.
|
|
9
|
+
*/
|
|
10
|
+
startDate: string;
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Date in RFC3339 format representing the newest data in the time window.
|
|
14
|
+
*/
|
|
15
|
+
endDate: string;
|
|
16
|
+
};
|
package/package.json
CHANGED
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@algolia/ingestion",
|
|
3
|
-
"version": "1.0.0-
|
|
3
|
+
"version": "1.0.0-beta.2",
|
|
4
4
|
"description": "JavaScript client for ingestion",
|
|
5
5
|
"repository": "algolia/algoliasearch-client-javascript",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": "Algolia",
|
|
8
|
+
"type": "module",
|
|
8
9
|
"exports": {
|
|
9
10
|
".": {
|
|
10
11
|
"node": {
|
|
11
12
|
"import": "./dist/ingestion.esm.node.js",
|
|
12
13
|
"module": "./dist/ingestion.esm.node.js",
|
|
13
|
-
"require": "./dist/ingestion.cjs
|
|
14
|
-
"default": "./dist/ingestion.cjs
|
|
14
|
+
"require": "./dist/ingestion.cjs",
|
|
15
|
+
"default": "./dist/ingestion.cjs"
|
|
15
16
|
},
|
|
16
17
|
"default": {
|
|
17
18
|
"umd": "./dist/ingestion.umd.js",
|
|
@@ -38,14 +39,14 @@
|
|
|
38
39
|
"clean": "rm -rf ./dist || true"
|
|
39
40
|
},
|
|
40
41
|
"dependencies": {
|
|
41
|
-
"@algolia/client-common": "5.0.0-
|
|
42
|
-
"@algolia/requester-browser-xhr": "5.0.0-
|
|
43
|
-
"@algolia/requester-node-http": "5.0.0-
|
|
42
|
+
"@algolia/client-common": "5.0.0-beta.2",
|
|
43
|
+
"@algolia/requester-browser-xhr": "5.0.0-beta.2",
|
|
44
|
+
"@algolia/requester-node-http": "5.0.0-beta.2"
|
|
44
45
|
},
|
|
45
46
|
"devDependencies": {
|
|
46
|
-
"@types/node": "
|
|
47
|
-
"rollup": "
|
|
48
|
-
"typescript": "4.
|
|
47
|
+
"@types/node": "20.12.11",
|
|
48
|
+
"rollup": "4.17.2",
|
|
49
|
+
"typescript": "5.4.5"
|
|
49
50
|
},
|
|
50
51
|
"engines": {
|
|
51
52
|
"node": ">= 14.0.0"
|