@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
|
@@ -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';
|
package/model/destinationType.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
|
+
* Destination type. - `search`. Data is stored in an Algolia index. - `insights`. Data is recorded as user events in the Insights API.
|
|
5
|
+
*/
|
|
6
|
+
export type DestinationType = 'insights' | 'search';
|
|
@@ -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 updating a destination.
|
|
8
|
+
*/
|
|
6
9
|
export type DestinationUpdate = {
|
|
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
|
|
|
19
|
+
/**
|
|
20
|
+
* Universally unique identifier (UUID) of an authentication resource.
|
|
21
|
+
*/
|
|
13
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 updating a destination.
|
|
5
|
+
*/
|
|
3
6
|
export type DestinationUpdateResponse = {
|
|
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 last update
|
|
18
|
+
* Date of last update in RFC 3339 format.
|
|
10
19
|
*/
|
|
11
20
|
updatedAt: string;
|
|
12
21
|
};
|
|
@@ -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
|
+
* Image type.
|
|
5
|
+
*/
|
|
6
|
+
export type DockerImageType = 'airbyte' | 'custom' | 'singer';
|
|
@@ -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
|
+
* Container registry name from where to pull the image.
|
|
5
|
+
*/
|
|
6
|
+
export type DockerRegistry = 'dockerhub' | 'ghcr';
|
package/model/errorBase.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
|
/**
|
|
4
4
|
* Error.
|
package/model/event.ts
CHANGED
|
@@ -1,23 +1,40 @@
|
|
|
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 { EventStatus } from './eventStatus';
|
|
4
4
|
import type { EventType } from './eventType';
|
|
5
5
|
|
|
6
|
+
/**
|
|
7
|
+
* An event describe a step of the task execution flow..
|
|
8
|
+
*/
|
|
6
9
|
export type Event = {
|
|
10
|
+
/**
|
|
11
|
+
* Universally unique identifier (UUID) of an event.
|
|
12
|
+
*/
|
|
7
13
|
eventID: string;
|
|
8
14
|
|
|
15
|
+
/**
|
|
16
|
+
* Universally unique identifier (UUID) of a task run.
|
|
17
|
+
*/
|
|
9
18
|
runID: string;
|
|
10
19
|
|
|
20
|
+
/**
|
|
21
|
+
* The parent event, the cause of this event.
|
|
22
|
+
*/
|
|
11
23
|
parentID?: string;
|
|
12
24
|
|
|
13
25
|
status: EventStatus;
|
|
14
26
|
|
|
15
27
|
type: EventType;
|
|
16
28
|
|
|
29
|
+
/**
|
|
30
|
+
* The extracted record batch size.
|
|
31
|
+
*/
|
|
32
|
+
batchSize: number;
|
|
33
|
+
|
|
17
34
|
data?: Record<string, any>;
|
|
18
35
|
|
|
19
36
|
/**
|
|
20
|
-
* Date of publish
|
|
37
|
+
* Date of publish RFC 3339 format.
|
|
21
38
|
*/
|
|
22
39
|
publishedAt: string;
|
|
23
40
|
};
|
|
@@ -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 run events.
|
|
5
|
+
*/
|
|
6
|
+
export type EventSortKeys = 'publishedAt' | 'status' | 'type';
|
package/model/eventStatus.ts
CHANGED
|
@@ -1,7 +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 EventStatus =
|
|
4
4
|
| 'created'
|
|
5
|
+
| 'critical'
|
|
5
6
|
| 'failed'
|
|
6
7
|
| 'retried'
|
|
7
8
|
| 'started'
|
package/model/eventType.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
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 EventType = 'fetch' | '
|
|
3
|
+
export type EventType = 'fetch' | 'log' | 'record' | 'transform';
|
package/model/index.ts
CHANGED
|
@@ -1,20 +1,32 @@
|
|
|
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 * from './actionType';
|
|
4
4
|
export * from './authAPIKey';
|
|
5
|
+
export * from './authAPIKeyPartial';
|
|
5
6
|
export * from './authAlgolia';
|
|
7
|
+
export * from './authAlgoliaInsights';
|
|
8
|
+
export * from './authAlgoliaInsightsPartial';
|
|
9
|
+
export * from './authAlgoliaPartial';
|
|
6
10
|
export * from './authBasic';
|
|
11
|
+
export * from './authBasicPartial';
|
|
7
12
|
export * from './authGoogleServiceAccount';
|
|
13
|
+
export * from './authGoogleServiceAccountPartial';
|
|
8
14
|
export * from './authInput';
|
|
15
|
+
export * from './authInputPartial';
|
|
9
16
|
export * from './authOAuth';
|
|
17
|
+
export * from './authOAuthPartial';
|
|
10
18
|
export * from './authentication';
|
|
11
19
|
export * from './authenticationCreate';
|
|
12
20
|
export * from './authenticationCreateResponse';
|
|
13
|
-
export * from './
|
|
21
|
+
export * from './authenticationSearch';
|
|
22
|
+
export * from './authenticationSortKeys';
|
|
14
23
|
export * from './authenticationType';
|
|
15
24
|
export * from './authenticationUpdate';
|
|
16
25
|
export * from './authenticationUpdateResponse';
|
|
17
|
-
export * from './
|
|
26
|
+
export * from './bigCommerceChannel';
|
|
27
|
+
export * from './bigCommerceMetafield';
|
|
28
|
+
export * from './bigQueryDataType';
|
|
29
|
+
export * from './commercetoolsCustomFields';
|
|
18
30
|
export * from './deleteResponse';
|
|
19
31
|
export * from './destination';
|
|
20
32
|
export * from './destinationCreate';
|
|
@@ -22,11 +34,17 @@ export * from './destinationCreateResponse';
|
|
|
22
34
|
export * from './destinationIndexName';
|
|
23
35
|
export * from './destinationIndexPrefix';
|
|
24
36
|
export * from './destinationInput';
|
|
37
|
+
export * from './destinationSearch';
|
|
38
|
+
export * from './destinationSortKeys';
|
|
25
39
|
export * from './destinationType';
|
|
26
40
|
export * from './destinationUpdate';
|
|
27
41
|
export * from './destinationUpdateResponse';
|
|
42
|
+
export * from './dockerImageType';
|
|
43
|
+
export * from './dockerRegistry';
|
|
44
|
+
export * from './dockerStreamsInput';
|
|
28
45
|
export * from './errorBase';
|
|
29
46
|
export * from './event';
|
|
47
|
+
export * from './eventSortKeys';
|
|
30
48
|
export * from './eventStatus';
|
|
31
49
|
export * from './eventType';
|
|
32
50
|
export * from './listAuthenticationsResponse';
|
|
@@ -34,32 +52,85 @@ export * from './listDestinationsResponse';
|
|
|
34
52
|
export * from './listEventsResponse';
|
|
35
53
|
export * from './listSourcesResponse';
|
|
36
54
|
export * from './listTasksResponse';
|
|
55
|
+
export * from './listTransformationsResponse';
|
|
56
|
+
export * from './mappingFieldDirective';
|
|
57
|
+
export * from './mappingFormatSchema';
|
|
58
|
+
export * from './mappingInput';
|
|
59
|
+
export * from './mappingKitAction';
|
|
60
|
+
export * from './mappingTypeCSV';
|
|
37
61
|
export * from './methodType';
|
|
62
|
+
export * from './onDemandTrigger';
|
|
63
|
+
export * from './onDemandTriggerInput';
|
|
64
|
+
export * from './onDemandTriggerType';
|
|
65
|
+
export * from './orderKeys';
|
|
38
66
|
export * from './pagination';
|
|
39
|
-
export * from './
|
|
67
|
+
export * from './platform';
|
|
68
|
+
export * from './platformNone';
|
|
69
|
+
export * from './platformWithNone';
|
|
70
|
+
export * from './recordType';
|
|
40
71
|
export * from './run';
|
|
41
72
|
export * from './runListResponse';
|
|
42
73
|
export * from './runOutcome';
|
|
43
74
|
export * from './runProgress';
|
|
75
|
+
export * from './runReasonCode';
|
|
44
76
|
export * from './runResponse';
|
|
77
|
+
export * from './runSortKeys';
|
|
45
78
|
export * from './runStatus';
|
|
46
79
|
export * from './runType';
|
|
80
|
+
export * from './scheduleTrigger';
|
|
81
|
+
export * from './scheduleTriggerInput';
|
|
82
|
+
export * from './scheduleTriggerType';
|
|
83
|
+
export * from './shopifyInput';
|
|
84
|
+
export * from './shopifyMarket';
|
|
85
|
+
export * from './shopifyMetafield';
|
|
86
|
+
export * from './sortKeys';
|
|
47
87
|
export * from './source';
|
|
48
88
|
export * from './sourceBigCommerce';
|
|
89
|
+
export * from './sourceBigQuery';
|
|
90
|
+
export * from './sourceCSV';
|
|
49
91
|
export * from './sourceCommercetools';
|
|
50
92
|
export * from './sourceCreate';
|
|
51
93
|
export * from './sourceCreateResponse';
|
|
94
|
+
export * from './sourceDocker';
|
|
95
|
+
export * from './sourceGA4BigQueryExport';
|
|
52
96
|
export * from './sourceInput';
|
|
53
|
-
export * from './
|
|
97
|
+
export * from './sourceJSON';
|
|
98
|
+
export * from './sourceSearch';
|
|
99
|
+
export * from './sourceShopify';
|
|
100
|
+
export * from './sourceShopifyBase';
|
|
101
|
+
export * from './sourceSortKeys';
|
|
54
102
|
export * from './sourceType';
|
|
55
103
|
export * from './sourceUpdate';
|
|
104
|
+
export * from './sourceUpdateCommercetools';
|
|
105
|
+
export * from './sourceUpdateDocker';
|
|
106
|
+
export * from './sourceUpdateInput';
|
|
56
107
|
export * from './sourceUpdateResponse';
|
|
108
|
+
export * from './sourceUpdateShopify';
|
|
109
|
+
export * from './sourceWatchResponse';
|
|
110
|
+
export * from './streamingInput';
|
|
111
|
+
export * from './streamingTrigger';
|
|
112
|
+
export * from './streamingTriggerType';
|
|
113
|
+
export * from './subscriptionTrigger';
|
|
114
|
+
export * from './subscriptionTriggerType';
|
|
57
115
|
export * from './task';
|
|
58
116
|
export * from './taskCreate';
|
|
59
117
|
export * from './taskCreateResponse';
|
|
118
|
+
export * from './taskCreateTrigger';
|
|
119
|
+
export * from './taskInput';
|
|
120
|
+
export * from './taskSearch';
|
|
121
|
+
export * from './taskSortKeys';
|
|
60
122
|
export * from './taskUpdate';
|
|
61
123
|
export * from './taskUpdateResponse';
|
|
124
|
+
export * from './transformation';
|
|
125
|
+
export * from './transformationCreate';
|
|
126
|
+
export * from './transformationCreateResponse';
|
|
127
|
+
export * from './transformationSearch';
|
|
128
|
+
export * from './transformationTry';
|
|
129
|
+
export * from './transformationTryResponse';
|
|
130
|
+
export * from './transformationTryResponseError';
|
|
131
|
+
export * from './transformationUpdateResponse';
|
|
62
132
|
export * from './trigger';
|
|
63
|
-
export * from './triggerInput';
|
|
64
133
|
export * from './triggerType';
|
|
134
|
+
export * from './triggerUpdateInput';
|
|
135
|
+
export * from './window';
|
|
65
136
|
export * from './clientMethodProps';
|
|
@@ -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 { Authentication } from './authentication';
|
|
4
4
|
import type { Pagination } from './pagination';
|
|
@@ -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 { Destination } from './destination';
|
|
4
4
|
import type { Pagination } from './pagination';
|
|
@@ -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 { Event } from './event';
|
|
4
4
|
import type { Pagination } from './pagination';
|
|
5
|
+
import type { Window } from './window';
|
|
5
6
|
|
|
6
7
|
export type ListEventsResponse = {
|
|
7
8
|
events: Event[];
|
|
8
9
|
|
|
9
10
|
pagination: Pagination;
|
|
11
|
+
|
|
12
|
+
window: Window;
|
|
10
13
|
};
|
|
@@ -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 { Pagination } from './pagination';
|
|
4
4
|
import type { Source } from './source';
|
|
@@ -1,8 +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
|
import type { Pagination } from './pagination';
|
|
4
4
|
import type { Task } from './task';
|
|
5
5
|
|
|
6
|
+
/**
|
|
7
|
+
* Configured tasks and pagination information.
|
|
8
|
+
*/
|
|
6
9
|
export type ListTasksResponse = {
|
|
7
10
|
tasks: Task[];
|
|
8
11
|
|
|
@@ -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 { Pagination } from './pagination';
|
|
4
|
+
import type { Transformation } from './transformation';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Configured transformations and pagination information.
|
|
8
|
+
*/
|
|
9
|
+
export type ListTransformationsResponse = {
|
|
10
|
+
transformations: Transformation[];
|
|
11
|
+
|
|
12
|
+
pagination: Pagination;
|
|
13
|
+
};
|
|
@@ -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
|
+
* Describes how a field should be resolved by applying a set of directives.
|
|
5
|
+
*/
|
|
6
|
+
export type MappingFieldDirective = {
|
|
7
|
+
/**
|
|
8
|
+
* Destination field key.
|
|
9
|
+
*/
|
|
10
|
+
fieldKey: string;
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* How the destination field should be resolved from the source.
|
|
14
|
+
*/
|
|
15
|
+
value: Record<string, any>;
|
|
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
|
+
* Mapping format schema.
|
|
5
|
+
*/
|
|
6
|
+
export type MappingFormatSchema = 'mappingkit/v1';
|
|
@@ -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 { MappingFormatSchema } from './mappingFormatSchema';
|
|
4
|
+
import type { MappingKitAction } from './mappingKitAction';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Transformations to apply to the source, serialized as a JSON string.
|
|
8
|
+
*/
|
|
9
|
+
export type MappingInput = {
|
|
10
|
+
format: MappingFormatSchema;
|
|
11
|
+
|
|
12
|
+
actions: MappingKitAction[];
|
|
13
|
+
};
|
|
@@ -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 { MappingFieldDirective } from './mappingFieldDirective';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Describes how a destination object should be resolved by means of applying a set of directives.
|
|
7
|
+
*/
|
|
8
|
+
export type MappingKitAction = {
|
|
9
|
+
/**
|
|
10
|
+
* ID to uniquely identify this action.
|
|
11
|
+
*/
|
|
12
|
+
id?: string;
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Whether this action has any effect.
|
|
16
|
+
*/
|
|
17
|
+
enabled: boolean;
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Condition which must be satisfied to apply the action. If this evaluates to false, the action is not applied, and the process attempts to apply the next action, if any.
|
|
21
|
+
*/
|
|
22
|
+
trigger: string;
|
|
23
|
+
|
|
24
|
+
fieldDirectives: MappingFieldDirective[];
|
|
25
|
+
};
|
|
@@ -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 MappingTypeCSV =
|
|
4
|
+
| 'boolean'
|
|
5
|
+
| 'float'
|
|
6
|
+
| 'integer'
|
|
7
|
+
| 'json'
|
|
8
|
+
| 'string';
|
package/model/methodType.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
|
+
/**
|
|
4
|
+
* HTTP method to be used for retrieving your data.
|
|
5
|
+
*/
|
|
3
6
|
export type MethodType = 'GET' | 'POST';
|
|
@@ -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 { OnDemandTriggerType } from './onDemandTriggerType';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Trigger information for manually-triggered tasks.
|
|
7
|
+
*/
|
|
8
|
+
export type OnDemandTrigger = {
|
|
9
|
+
type: OnDemandTriggerType;
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* The last time the scheduled task ran in RFC 3339 format.
|
|
13
|
+
*/
|
|
14
|
+
lastRun?: string;
|
|
15
|
+
};
|
|
@@ -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 { OnDemandTriggerType } from './onDemandTriggerType';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Trigger information for manually-triggered tasks.
|
|
7
|
+
*/
|
|
8
|
+
export type OnDemandTriggerInput = {
|
|
9
|
+
type: OnDemandTriggerType;
|
|
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 is run manually, with the `/run` endpoint.
|
|
5
|
+
*/
|
|
6
|
+
export type OnDemandTriggerType = 'onDemand';
|
|
@@ -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
|
+
* Ascending or descending sort order.
|
|
5
|
+
*/
|
|
6
|
+
export type OrderKeys = 'asc' | 'desc';
|
package/model/pagination.ts
CHANGED
|
@@ -1,11 +1,26 @@
|
|
|
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
|
+
* Paginated API response.
|
|
5
|
+
*/
|
|
3
6
|
export type Pagination = {
|
|
7
|
+
/**
|
|
8
|
+
* Number of pages in the API response.
|
|
9
|
+
*/
|
|
4
10
|
nbPages: number;
|
|
5
11
|
|
|
12
|
+
/**
|
|
13
|
+
* Page of the API response to retrieve.
|
|
14
|
+
*/
|
|
6
15
|
page: number;
|
|
7
16
|
|
|
17
|
+
/**
|
|
18
|
+
* Number of items in the API response.
|
|
19
|
+
*/
|
|
8
20
|
nbItems: number;
|
|
9
21
|
|
|
22
|
+
/**
|
|
23
|
+
* Number of items per page.
|
|
24
|
+
*/
|
|
10
25
|
itemsPerPage: number;
|
|
11
26
|
};
|
|
@@ -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
|
+
* Name of an ecommerce platform with which to authenticate. This determines which authentication type you can select.
|
|
5
|
+
*/
|
|
6
|
+
export type Platform = 'bigcommerce' | 'commercetools' | 'shopify';
|
|
@@ -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
|
+
* Authentication resource not tied to any ecommerce platform, used for filtering.
|
|
5
|
+
*/
|
|
6
|
+
export type PlatformNone = 'none';
|
|
@@ -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 { Platform } from './platform';
|
|
4
|
+
import type { PlatformNone } from './platformNone';
|
|
5
|
+
|
|
6
|
+
export type PlatformWithNone = Platform | PlatformNone;
|
|
@@ -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
|
+
* Record type for ecommerce sources.
|
|
5
|
+
*/
|
|
6
|
+
export type RecordType = 'product' | 'variant';
|