@algolia/ingestion 1.0.0-alpha.9 → 1.0.0-beta.10
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/LICENSE +21 -0
- package/dist/builds/browser.d.ts +60 -5
- package/dist/builds/browser.d.ts.map +1 -1
- package/dist/builds/node.d.ts +60 -5
- package/dist/builds/node.d.ts.map +1 -1
- package/dist/ingestion.cjs +1565 -0
- package/dist/ingestion.esm.browser.js +1724 -979
- package/dist/ingestion.esm.node.js +1552 -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 +509 -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/dockerStreamsInput.d.ts +4 -0
- package/dist/model/dockerStreamsInput.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 +134 -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/listTransformationsResponse.d.ts +10 -0
- package/dist/model/listTransformationsResponse.d.ts.map +1 -0
- 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/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/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/sortKeys.d.ts +5 -0
- package/dist/model/sortKeys.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/sourceWatchResponse.d.ts +20 -0
- package/dist/model/sourceWatchResponse.d.ts.map +1 -0
- package/dist/model/streamingInput.d.ts +8 -0
- package/dist/model/streamingInput.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/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 +40 -18
- package/dist/model/task.d.ts.map +1 -1
- package/dist/model/taskCreate.d.ts +31 -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 +8 -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/transformation.d.ts +27 -0
- package/dist/model/transformation.d.ts.map +1 -0
- package/dist/model/transformationCreate.d.ts +18 -0
- package/dist/model/transformationCreate.d.ts.map +1 -0
- package/dist/model/transformationCreateResponse.d.ts +14 -0
- package/dist/model/transformationCreateResponse.d.ts.map +1 -0
- package/dist/model/transformationSearch.d.ts +4 -0
- package/dist/model/transformationSearch.d.ts.map +1 -0
- package/dist/model/transformationTry.d.ts +11 -0
- package/dist/model/transformationTry.d.ts.map +1 -0
- package/dist/model/transformationTryResponse.d.ts +9 -0
- package/dist/model/transformationTryResponse.d.ts.map +1 -0
- package/dist/model/transformationTryResponseError.d.ts +14 -0
- package/dist/model/transformationTryResponseError.d.ts.map +1 -0
- package/dist/model/transformationUpdateResponse.d.ts +14 -0
- package/dist/model/transformationUpdateResponse.d.ts.map +1 -0
- 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 +669 -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 +284 -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/dockerStreamsInput.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 +77 -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/listTransformationsResponse.ts +13 -0
- 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/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/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/sortKeys.ts +6 -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/sourceWatchResponse.ts +25 -0
- package/model/streamingInput.ts +10 -0
- package/model/streamingTrigger.ts +10 -0
- package/model/streamingTriggerType.ts +6 -0
- package/model/subscriptionTrigger.ts +10 -0
- package/model/subscriptionTriggerType.ts +6 -0
- package/model/task.ts +29 -4
- package/model/taskCreate.ts +28 -3
- package/model/taskCreateResponse.ts +8 -2
- package/model/taskCreateTrigger.ts +12 -0
- package/model/taskInput.ts +10 -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/transformation.ts +33 -0
- package/model/transformationCreate.ts +21 -0
- package/model/transformationCreateResponse.ts +16 -0
- package/model/transformationSearch.ts +5 -0
- package/model/transformationTry.ts +13 -0
- package/model/transformationTryResponse.ts +12 -0
- package/model/transformationTryResponseError.ts +16 -0
- package/model/transformationUpdateResponse.ts +16 -0
- 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 +14 -10
- 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
package/model/run.ts
CHANGED
|
@@ -1,15 +1,22 @@
|
|
|
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 { RunOutcome } from './runOutcome';
|
|
4
4
|
import type { RunProgress } from './runProgress';
|
|
5
|
+
import type { RunReasonCode } from './runReasonCode';
|
|
5
6
|
import type { RunStatus } from './runStatus';
|
|
6
7
|
import type { RunType } from './runType';
|
|
7
8
|
|
|
8
9
|
export type Run = {
|
|
10
|
+
/**
|
|
11
|
+
* Universally unique identifier (UUID) of a task run.
|
|
12
|
+
*/
|
|
9
13
|
runID: string;
|
|
10
14
|
|
|
11
15
|
appID: string;
|
|
12
16
|
|
|
17
|
+
/**
|
|
18
|
+
* Universally unique identifier (UUID) of a task.
|
|
19
|
+
*/
|
|
13
20
|
taskID: string;
|
|
14
21
|
|
|
15
22
|
status: RunStatus;
|
|
@@ -18,25 +25,32 @@ export type Run = {
|
|
|
18
25
|
|
|
19
26
|
outcome?: RunOutcome;
|
|
20
27
|
|
|
21
|
-
|
|
28
|
+
/**
|
|
29
|
+
* Maximum accepted percentage of failures for a task run to finish successfully.
|
|
30
|
+
*/
|
|
31
|
+
failureThreshold?: number;
|
|
22
32
|
|
|
23
33
|
/**
|
|
24
|
-
*
|
|
34
|
+
* More information about the task run\'s outcome.
|
|
25
35
|
*/
|
|
26
|
-
|
|
36
|
+
reason?: string;
|
|
37
|
+
|
|
38
|
+
reasonCode?: RunReasonCode;
|
|
39
|
+
|
|
40
|
+
type: RunType;
|
|
27
41
|
|
|
28
42
|
/**
|
|
29
|
-
* Date of
|
|
43
|
+
* Date of creation in RFC 3339 format.
|
|
30
44
|
*/
|
|
31
|
-
|
|
45
|
+
createdAt: string;
|
|
32
46
|
|
|
33
47
|
/**
|
|
34
|
-
* Date of start
|
|
48
|
+
* Date of start in RFC 3339 format.
|
|
35
49
|
*/
|
|
36
50
|
startedAt?: string;
|
|
37
51
|
|
|
38
52
|
/**
|
|
39
|
-
* Date of finish
|
|
53
|
+
* Date of finish in RFC 3339 format.
|
|
40
54
|
*/
|
|
41
55
|
finishedAt?: string;
|
|
42
56
|
};
|
package/model/runListResponse.ts
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
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 { Pagination } from './pagination';
|
|
4
4
|
import type { Run } from './run';
|
|
5
|
+
import type { Window } from './window';
|
|
5
6
|
|
|
6
7
|
export type RunListResponse = {
|
|
7
8
|
runs: Run[];
|
|
8
9
|
|
|
9
10
|
pagination: Pagination;
|
|
11
|
+
|
|
12
|
+
window: Window;
|
|
10
13
|
};
|
package/model/runOutcome.ts
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
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 run outcome.
|
|
5
|
+
*/
|
|
6
|
+
export type RunOutcome = 'failure' | 'processing' | 'success';
|
package/model/runProgress.ts
CHANGED
|
@@ -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
|
export type RunProgress = {
|
|
4
4
|
expectedNbOfEvents?: number;
|
|
@@ -0,0 +1,13 @@
|
|
|
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
|
+
* A code for the task run\'s outcome. A readable description of the code is included in the `reason` response property.
|
|
5
|
+
*/
|
|
6
|
+
export type RunReasonCode =
|
|
7
|
+
| 'blocking'
|
|
8
|
+
| 'critical'
|
|
9
|
+
| 'discarded'
|
|
10
|
+
| 'internal'
|
|
11
|
+
| 'no_events'
|
|
12
|
+
| 'ok'
|
|
13
|
+
| 'too_many_errors';
|
package/model/runResponse.ts
CHANGED
|
@@ -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 running a task.
|
|
5
|
+
*/
|
|
3
6
|
export type RunResponse = {
|
|
7
|
+
/**
|
|
8
|
+
* Universally unique identifier (UUID) of a task run.
|
|
9
|
+
*/
|
|
4
10
|
runID: string;
|
|
5
11
|
|
|
6
12
|
/**
|
|
7
|
-
* Date of creation
|
|
13
|
+
* Date of creation in RFC 3339 format.
|
|
8
14
|
*/
|
|
9
15
|
createdAt: string;
|
|
10
16
|
};
|
|
@@ -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 list of task runs.
|
|
5
|
+
*/
|
|
6
|
+
export type RunSortKeys = 'createdAt' | 'status' | 'updatedAt';
|
package/model/runStatus.ts
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
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 run status.
|
|
5
|
+
*/
|
|
6
|
+
export type RunStatus =
|
|
7
|
+
| 'created'
|
|
8
|
+
| 'finished'
|
|
9
|
+
| 'idled'
|
|
10
|
+
| 'skipped'
|
|
11
|
+
| 'started';
|
package/model/runType.ts
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
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 run type.
|
|
5
|
+
*/
|
|
6
|
+
export type RunType = 'discover' | 'reindex' | 'update';
|
|
@@ -0,0 +1,25 @@
|
|
|
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 { ScheduleTriggerType } from './scheduleTriggerType';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Trigger information for scheduled tasks.
|
|
7
|
+
*/
|
|
8
|
+
export type ScheduleTrigger = {
|
|
9
|
+
type: ScheduleTriggerType;
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Cron expression for the task\'s schedule.
|
|
13
|
+
*/
|
|
14
|
+
cron: string;
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* The last time the scheduled task ran in RFC 3339 format.
|
|
18
|
+
*/
|
|
19
|
+
lastRun?: string;
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* The next scheduled run of the task in RFC 3339 format.
|
|
23
|
+
*/
|
|
24
|
+
nextRun: string;
|
|
25
|
+
};
|
|
@@ -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 { ScheduleTriggerType } from './scheduleTriggerType';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Trigger input for scheduled tasks.
|
|
7
|
+
*/
|
|
8
|
+
export type ScheduleTriggerInput = {
|
|
9
|
+
type: ScheduleTriggerType;
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Cron expression for the task\'s schedule.
|
|
13
|
+
*/
|
|
14
|
+
cron: string;
|
|
15
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
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 { ShopifyMarket } from './shopifyMarket';
|
|
4
|
+
import type { ShopifyMetafield } from './shopifyMetafield';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Represents the required elements of the task input when using a `shopify` source.
|
|
8
|
+
*/
|
|
9
|
+
export type ShopifyInput = {
|
|
10
|
+
metafields: ShopifyMetafield[];
|
|
11
|
+
|
|
12
|
+
market: ShopifyMarket;
|
|
13
|
+
};
|
|
@@ -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
|
+
/**
|
|
4
|
+
* Represents a market in Shopify.
|
|
5
|
+
*/
|
|
6
|
+
export type ShopifyMarket = {
|
|
7
|
+
countries: string[];
|
|
8
|
+
|
|
9
|
+
currencies: string[];
|
|
10
|
+
|
|
11
|
+
locales: string[];
|
|
12
|
+
};
|
|
@@ -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
|
+
/**
|
|
4
|
+
* Represents a metafield in Shopify.
|
|
5
|
+
*/
|
|
6
|
+
export type ShopifyMetafield = {
|
|
7
|
+
namespace: string;
|
|
8
|
+
|
|
9
|
+
key: string;
|
|
10
|
+
|
|
11
|
+
value: string;
|
|
12
|
+
};
|
|
@@ -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 list.
|
|
5
|
+
*/
|
|
6
|
+
export type SortKeys = 'createdAt' | 'name' | 'type' | 'updatedAt';
|
package/model/source.ts
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
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 { SourceInput } from './sourceInput';
|
|
4
4
|
import type { SourceType } from './sourceType';
|
|
5
5
|
|
|
6
6
|
export type Source = {
|
|
7
|
+
/**
|
|
8
|
+
* Universally uniqud identifier (UUID) of a source.
|
|
9
|
+
*/
|
|
7
10
|
sourceID: string;
|
|
8
11
|
|
|
9
12
|
type: SourceType;
|
|
@@ -12,15 +15,18 @@ export type Source = {
|
|
|
12
15
|
|
|
13
16
|
input: SourceInput;
|
|
14
17
|
|
|
18
|
+
/**
|
|
19
|
+
* Universally unique identifier (UUID) of an authentication resource.
|
|
20
|
+
*/
|
|
15
21
|
authenticationID?: string;
|
|
16
22
|
|
|
17
23
|
/**
|
|
18
|
-
* Date of creation
|
|
24
|
+
* Date of creation in RFC 3339 format.
|
|
19
25
|
*/
|
|
20
26
|
createdAt: string;
|
|
21
27
|
|
|
22
28
|
/**
|
|
23
|
-
* Date of last update
|
|
29
|
+
* Date of last update in RFC 3339 format.
|
|
24
30
|
*/
|
|
25
31
|
updatedAt?: string;
|
|
26
32
|
};
|
|
@@ -1,5 +1,19 @@
|
|
|
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 { BigCommerceChannel } from './bigCommerceChannel';
|
|
4
|
+
import type { BigCommerceMetafield } from './bigCommerceMetafield';
|
|
2
5
|
|
|
3
6
|
export type SourceBigCommerce = {
|
|
4
|
-
|
|
7
|
+
/**
|
|
8
|
+
* Store hash identifying your BigCommerce store.
|
|
9
|
+
*/
|
|
10
|
+
storeHash: string;
|
|
11
|
+
|
|
12
|
+
channel?: BigCommerceChannel;
|
|
13
|
+
|
|
14
|
+
customFields?: string[];
|
|
15
|
+
|
|
16
|
+
productMetafields?: BigCommerceMetafield[];
|
|
17
|
+
|
|
18
|
+
variantMetafields?: BigCommerceMetafield[];
|
|
5
19
|
};
|
|
@@ -0,0 +1,37 @@
|
|
|
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 { BigQueryDataType } from './bigQueryDataType';
|
|
4
|
+
|
|
5
|
+
export type SourceBigQuery = {
|
|
6
|
+
/**
|
|
7
|
+
* Project ID of the BigQuery source.
|
|
8
|
+
*/
|
|
9
|
+
projectID: string;
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Dataset ID of the BigQuery source.
|
|
13
|
+
*/
|
|
14
|
+
datasetID: string;
|
|
15
|
+
|
|
16
|
+
dataType?: BigQueryDataType;
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Table name for the BigQuery export.
|
|
20
|
+
*/
|
|
21
|
+
table?: string;
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Table prefix for a Google Analytics 4 data export to BigQuery.
|
|
25
|
+
*/
|
|
26
|
+
tablePrefix?: string;
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Custom SQL request to extract data from the BigQuery table.
|
|
30
|
+
*/
|
|
31
|
+
customSQLRequest?: string;
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Name of a column that contains a unique ID which will be used as `objectID` in Algolia.
|
|
35
|
+
*/
|
|
36
|
+
uniqueIDColumn?: string;
|
|
37
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
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 { MappingTypeCSV } from './mappingTypeCSV';
|
|
4
|
+
import type { MethodType } from './methodType';
|
|
5
|
+
|
|
6
|
+
export type SourceCSV = {
|
|
7
|
+
/**
|
|
8
|
+
* URL of the file.
|
|
9
|
+
*/
|
|
10
|
+
url: string;
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Name of a column that contains a unique ID which will be used as `objectID` in Algolia.
|
|
14
|
+
*/
|
|
15
|
+
uniqueIDColumn?: string;
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Key-value pairs of column names and their expected types.
|
|
19
|
+
*/
|
|
20
|
+
mapping?: Record<string, MappingTypeCSV>;
|
|
21
|
+
|
|
22
|
+
method?: MethodType;
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* The character used to split the value on each line, default to a comma (\\r, \\n, 0xFFFD, and space are forbidden).
|
|
26
|
+
*/
|
|
27
|
+
delimiter?: string;
|
|
28
|
+
};
|
|
@@ -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
|
+
|
|
3
|
+
import type { CommercetoolsCustomFields } from './commercetoolsCustomFields';
|
|
2
4
|
|
|
3
5
|
export type SourceCommercetools = {
|
|
4
6
|
storeKeys?: string[];
|
|
5
7
|
|
|
6
8
|
/**
|
|
7
|
-
*
|
|
9
|
+
* Locales for your commercetools stores.
|
|
8
10
|
*/
|
|
9
11
|
locales?: string[];
|
|
10
12
|
|
|
11
13
|
url: string;
|
|
12
14
|
|
|
13
15
|
projectKey: string;
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Whether a fallback value is stored in the Algolia record if there\'s no inventory information about the product.
|
|
19
|
+
*/
|
|
20
|
+
fallbackIsInStockValue?: boolean;
|
|
21
|
+
|
|
22
|
+
customFields?: CommercetoolsCustomFields;
|
|
14
23
|
};
|
package/model/sourceCreate.ts
CHANGED
|
@@ -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 { SourceInput } from './sourceInput';
|
|
4
4
|
import type { SourceType } from './sourceType';
|
|
@@ -6,9 +6,15 @@ import type { SourceType } from './sourceType';
|
|
|
6
6
|
export type SourceCreate = {
|
|
7
7
|
type: SourceType;
|
|
8
8
|
|
|
9
|
+
/**
|
|
10
|
+
* Descriptive name of the source.
|
|
11
|
+
*/
|
|
9
12
|
name: string;
|
|
10
13
|
|
|
11
14
|
input: SourceInput;
|
|
12
15
|
|
|
13
|
-
|
|
16
|
+
/**
|
|
17
|
+
* Universally unique identifier (UUID) of an authentication resource.
|
|
18
|
+
*/
|
|
19
|
+
authenticationID?: string;
|
|
14
20
|
};
|
|
@@ -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 SourceCreateResponse = {
|
|
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 creation
|
|
15
|
+
* Date of creation in RFC 3339 format.
|
|
10
16
|
*/
|
|
11
17
|
createdAt: string;
|
|
12
18
|
};
|
|
@@ -0,0 +1,25 @@
|
|
|
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 { DockerImageType } from './dockerImageType';
|
|
4
|
+
import type { DockerRegistry } from './dockerRegistry';
|
|
5
|
+
|
|
6
|
+
export type SourceDocker = {
|
|
7
|
+
imageType: DockerImageType;
|
|
8
|
+
|
|
9
|
+
registry: DockerRegistry;
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Docker image name.
|
|
13
|
+
*/
|
|
14
|
+
image: string;
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Docker image version.
|
|
18
|
+
*/
|
|
19
|
+
version?: string;
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Configuration of the spec.
|
|
23
|
+
*/
|
|
24
|
+
configuration: Record<string, any>;
|
|
25
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
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 SourceGA4BigQueryExport = {
|
|
4
|
+
/**
|
|
5
|
+
* GCP project ID that the BigQuery export writes to.
|
|
6
|
+
*/
|
|
7
|
+
projectID: string;
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* BigQuery dataset ID that the BigQuery export writes to.
|
|
11
|
+
*/
|
|
12
|
+
datasetID: string;
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Prefix of the tables that the BigQuery Export writes to.
|
|
16
|
+
*/
|
|
17
|
+
tablePrefix: string;
|
|
18
|
+
};
|
package/model/sourceInput.ts
CHANGED
|
@@ -1,7 +1,20 @@
|
|
|
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 { SourceBigCommerce } from './sourceBigCommerce';
|
|
4
|
+
import type { SourceBigQuery } from './sourceBigQuery';
|
|
5
|
+
import type { SourceCSV } from './sourceCSV';
|
|
4
6
|
import type { SourceCommercetools } from './sourceCommercetools';
|
|
5
|
-
import type {
|
|
7
|
+
import type { SourceDocker } from './sourceDocker';
|
|
8
|
+
import type { SourceGA4BigQueryExport } from './sourceGA4BigQueryExport';
|
|
9
|
+
import type { SourceJSON } from './sourceJSON';
|
|
10
|
+
import type { SourceShopify } from './sourceShopify';
|
|
6
11
|
|
|
7
|
-
export type SourceInput =
|
|
12
|
+
export type SourceInput =
|
|
13
|
+
| SourceBigCommerce
|
|
14
|
+
| SourceBigQuery
|
|
15
|
+
| SourceCommercetools
|
|
16
|
+
| SourceCSV
|
|
17
|
+
| SourceDocker
|
|
18
|
+
| SourceGA4BigQueryExport
|
|
19
|
+
| SourceJSON
|
|
20
|
+
| SourceShopify;
|
|
@@ -0,0 +1,17 @@
|
|
|
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 { MethodType } from './methodType';
|
|
4
|
+
|
|
5
|
+
export type SourceJSON = {
|
|
6
|
+
/**
|
|
7
|
+
* URL of the file.
|
|
8
|
+
*/
|
|
9
|
+
url: string;
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Name of a column that contains a unique ID which will be used as `objectID` in Algolia.
|
|
13
|
+
*/
|
|
14
|
+
uniqueIDColumn?: string;
|
|
15
|
+
|
|
16
|
+
method?: MethodType;
|
|
17
|
+
};
|
|
@@ -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
|
+
import type { SourceShopifyBase } from './sourceShopifyBase';
|
|
4
|
+
import type { SourceUpdateShopify } from './sourceUpdateShopify';
|
|
5
|
+
|
|
6
|
+
export type SourceShopify = SourceShopifyBase & SourceUpdateShopify;
|
|
@@ -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
|
+
export type SourceShopifyBase = {
|
|
4
|
+
/**
|
|
5
|
+
* URL of the Shopify store.
|
|
6
|
+
*/
|
|
7
|
+
shopURL: 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 list of sources.
|
|
5
|
+
*/
|
|
6
|
+
export type SourceSortKeys = 'createdAt' | 'name' | 'type' | 'updatedAt';
|
package/model/sourceType.ts
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
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
|
-
export type SourceType =
|
|
3
|
+
export type SourceType =
|
|
4
|
+
| 'bigcommerce'
|
|
5
|
+
| 'bigquery'
|
|
6
|
+
| 'commercetools'
|
|
7
|
+
| 'csv'
|
|
8
|
+
| 'docker'
|
|
9
|
+
| 'ga4BigqueryExport'
|
|
10
|
+
| 'json'
|
|
11
|
+
| 'sfcc'
|
|
12
|
+
| 'shopify';
|
package/model/sourceUpdate.ts
CHANGED
|
@@ -1,14 +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
2
|
|
|
3
|
-
import type {
|
|
4
|
-
import type { SourceType } from './sourceType';
|
|
3
|
+
import type { SourceUpdateInput } from './sourceUpdateInput';
|
|
5
4
|
|
|
6
5
|
export type SourceUpdate = {
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
/**
|
|
7
|
+
* Descriptive name of the source.
|
|
8
|
+
*/
|
|
9
9
|
name?: string;
|
|
10
10
|
|
|
11
|
-
input?:
|
|
11
|
+
input?: SourceUpdateInput;
|
|
12
12
|
|
|
13
|
+
/**
|
|
14
|
+
* Universally unique identifier (UUID) of an authentication resource.
|
|
15
|
+
*/
|
|
13
16
|
authenticationID?: string;
|
|
14
17
|
};
|
|
@@ -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
|
+
import type { CommercetoolsCustomFields } from './commercetoolsCustomFields';
|
|
4
|
+
|
|
5
|
+
export type SourceUpdateCommercetools = {
|
|
6
|
+
storeKeys?: string[];
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Locales for your commercetools stores.
|
|
10
|
+
*/
|
|
11
|
+
locales?: string[];
|
|
12
|
+
|
|
13
|
+
url?: string;
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Whether a fallback value is stored in the Algolia record if there\'s no inventory information about the product.
|
|
17
|
+
*/
|
|
18
|
+
fallbackIsInStockValue?: boolean;
|
|
19
|
+
|
|
20
|
+
customFields?: CommercetoolsCustomFields;
|
|
21
|
+
};
|