@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
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { MethodType } from './methodType';
|
|
2
|
+
export type SourceJSON = {
|
|
3
|
+
/**
|
|
4
|
+
* URL of the file.
|
|
5
|
+
*/
|
|
6
|
+
url: string;
|
|
7
|
+
/**
|
|
8
|
+
* Name of a column that contains a unique ID which will be used as `objectID` in Algolia.
|
|
9
|
+
*/
|
|
10
|
+
uniqueIDColumn?: string;
|
|
11
|
+
method?: MethodType;
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=sourceJSON.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sourceJSON.d.ts","sourceRoot":"","sources":["../../model/sourceJSON.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,MAAM,MAAM,UAAU,GAAG;IACvB;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB,MAAM,CAAC,EAAE,UAAU,CAAC;CACrB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sourceSearch.d.ts","sourceRoot":"","sources":["../../model/sourceSearch.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,YAAY,GAAG;IACzB,SAAS,EAAE,MAAM,EAAE,CAAC;CACrB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sourceShopify.d.ts","sourceRoot":"","sources":["../../model/sourceShopify.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAEjE,MAAM,MAAM,aAAa,GAAG,iBAAiB,GAAG,mBAAmB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sourceShopifyBase.d.ts","sourceRoot":"","sources":["../../model/sourceShopifyBase.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sourceSortKeys.d.ts","sourceRoot":"","sources":["../../model/sourceSortKeys.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,WAAW,GAAG,MAAM,GAAG,MAAM,GAAG,WAAW,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type SourceType = 'bigcommerce' | 'bigquery' | 'commercetools' | 'csv' | 'docker' | 'ga4BigqueryExport' | 'json' | 'sfcc' | 'shopify';
|
|
2
2
|
//# sourceMappingURL=sourceType.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sourceType.d.ts","sourceRoot":"","sources":["../../model/sourceType.ts"],"names":[],"mappings":"AAEA,
|
|
1
|
+
{"version":3,"file":"sourceType.d.ts","sourceRoot":"","sources":["../../model/sourceType.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,UAAU,GAClB,aAAa,GACb,UAAU,GACV,eAAe,GACf,KAAK,GACL,QAAQ,GACR,mBAAmB,GACnB,MAAM,GACN,MAAM,GACN,SAAS,CAAC"}
|
|
@@ -1,9 +1,13 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import type { SourceUpdateInput } from './sourceUpdateInput';
|
|
2
|
+
export type SourceUpdate = {
|
|
3
|
+
/**
|
|
4
|
+
* Descriptive name of the source.
|
|
5
|
+
*/
|
|
6
|
+
name?: string;
|
|
7
|
+
input?: SourceUpdateInput;
|
|
8
|
+
/**
|
|
9
|
+
* Universally unique identifier (UUID) of an authentication resource.
|
|
10
|
+
*/
|
|
11
|
+
authenticationID?: string;
|
|
12
|
+
};
|
|
9
13
|
//# sourceMappingURL=sourceUpdate.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sourceUpdate.d.ts","sourceRoot":"","sources":["../../model/sourceUpdate.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"sourceUpdate.d.ts","sourceRoot":"","sources":["../../model/sourceUpdate.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAE7D,MAAM,MAAM,YAAY,GAAG;IACzB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,KAAK,CAAC,EAAE,iBAAiB,CAAC;IAE1B;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { CommercetoolsCustomFields } from './commercetoolsCustomFields';
|
|
2
|
+
export type SourceUpdateCommercetools = {
|
|
3
|
+
storeKeys?: string[];
|
|
4
|
+
/**
|
|
5
|
+
* Locales for your commercetools stores.
|
|
6
|
+
*/
|
|
7
|
+
locales?: string[];
|
|
8
|
+
url?: string;
|
|
9
|
+
/**
|
|
10
|
+
* Whether a fallback value is stored in the Algolia record if there\'s no inventory information about the product.
|
|
11
|
+
*/
|
|
12
|
+
fallbackIsInStockValue?: boolean;
|
|
13
|
+
customFields?: CommercetoolsCustomFields;
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=sourceUpdateCommercetools.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sourceUpdateCommercetools.d.ts","sourceRoot":"","sources":["../../model/sourceUpdateCommercetools.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAE7E,MAAM,MAAM,yBAAyB,GAAG;IACtC,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IAErB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IAEnB,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,sBAAsB,CAAC,EAAE,OAAO,CAAC;IAEjC,YAAY,CAAC,EAAE,yBAAyB,CAAC;CAC1C,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { DockerRegistry } from './dockerRegistry';
|
|
2
|
+
export type SourceUpdateDocker = {
|
|
3
|
+
registry?: DockerRegistry;
|
|
4
|
+
/**
|
|
5
|
+
* Docker image name.
|
|
6
|
+
*/
|
|
7
|
+
image?: string;
|
|
8
|
+
/**
|
|
9
|
+
* Docker image version.
|
|
10
|
+
*/
|
|
11
|
+
version?: string;
|
|
12
|
+
/**
|
|
13
|
+
* Configuration of the spec.
|
|
14
|
+
*/
|
|
15
|
+
configuration: Record<string, any>;
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=sourceUpdateDocker.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sourceUpdateDocker.d.ts","sourceRoot":"","sources":["../../model/sourceUpdateDocker.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAEvD,MAAM,MAAM,kBAAkB,GAAG;IAC/B,QAAQ,CAAC,EAAE,cAAc,CAAC;IAE1B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CACpC,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { SourceBigQuery } from './sourceBigQuery';
|
|
2
|
+
import type { SourceCSV } from './sourceCSV';
|
|
3
|
+
import type { SourceGA4BigQueryExport } from './sourceGA4BigQueryExport';
|
|
4
|
+
import type { SourceJSON } from './sourceJSON';
|
|
5
|
+
import type { SourceUpdateCommercetools } from './sourceUpdateCommercetools';
|
|
6
|
+
import type { SourceUpdateDocker } from './sourceUpdateDocker';
|
|
7
|
+
import type { SourceUpdateShopify } from './sourceUpdateShopify';
|
|
8
|
+
export type SourceUpdateInput = SourceBigQuery | SourceCSV | SourceGA4BigQueryExport | SourceJSON | SourceUpdateCommercetools | SourceUpdateDocker | SourceUpdateShopify;
|
|
9
|
+
//# sourceMappingURL=sourceUpdateInput.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sourceUpdateInput.d.ts","sourceRoot":"","sources":["../../model/sourceUpdateInput.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACzE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAC7E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAEjE,MAAM,MAAM,iBAAiB,GACzB,cAAc,GACd,SAAS,GACT,uBAAuB,GACvB,UAAU,GACV,yBAAyB,GACzB,kBAAkB,GAClB,mBAAmB,CAAC"}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
|
-
export
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
export type SourceUpdateResponse = {
|
|
2
|
+
/**
|
|
3
|
+
* Universally uniqud identifier (UUID) of a source.
|
|
4
|
+
*/
|
|
5
|
+
sourceID: string;
|
|
6
|
+
/**
|
|
7
|
+
* Descriptive name of the source.
|
|
8
|
+
*/
|
|
9
|
+
name: string;
|
|
10
|
+
/**
|
|
11
|
+
* Date of last update in RFC 3339 format.
|
|
12
|
+
*/
|
|
13
|
+
updatedAt: string;
|
|
14
|
+
};
|
|
9
15
|
//# sourceMappingURL=sourceUpdateResponse.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sourceUpdateResponse.d.ts","sourceRoot":"","sources":["../../model/sourceUpdateResponse.ts"],"names":[],"mappings":"AAEA,
|
|
1
|
+
{"version":3,"file":"sourceUpdateResponse.d.ts","sourceRoot":"","sources":["../../model/sourceUpdateResponse.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,oBAAoB,GAAG;IACjC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export type SourceUpdateShopify = {
|
|
2
|
+
/**
|
|
3
|
+
* 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.
|
|
4
|
+
*/
|
|
5
|
+
collectionIDIndexing?: boolean;
|
|
6
|
+
/**
|
|
7
|
+
* 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.
|
|
8
|
+
*/
|
|
9
|
+
increaseProductCollectionLimit?: boolean;
|
|
10
|
+
/**
|
|
11
|
+
* 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.
|
|
12
|
+
*/
|
|
13
|
+
defaultPriceRatioAsOne?: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* Whether to exclude out-of-stock variants when determining the `max_variant_price` and `min_variant_price` attributes.
|
|
16
|
+
*/
|
|
17
|
+
excludeOOSVariantsForPriceAtTRS?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Whether to include an inventory with every variant for every product record.
|
|
20
|
+
*/
|
|
21
|
+
includeVariantsInventory?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Whether to include collection IDs and handles in the product records.
|
|
24
|
+
*/
|
|
25
|
+
hasCollectionSearchPage?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* 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).
|
|
28
|
+
*/
|
|
29
|
+
productNamedTags?: boolean;
|
|
30
|
+
};
|
|
31
|
+
//# sourceMappingURL=sourceUpdateShopify.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sourceUpdateShopify.d.ts","sourceRoot":"","sources":["../../model/sourceUpdateShopify.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,mBAAmB,GAAG;IAChC;;OAEG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAE/B;;OAEG;IACH,8BAA8B,CAAC,EAAE,OAAO,CAAC;IAEzC;;OAEG;IACH,sBAAsB,CAAC,EAAE,OAAO,CAAC;IAEjC;;OAEG;IACH,+BAA+B,CAAC,EAAE,OAAO,CAAC;IAE1C;;OAEG;IACH,wBAAwB,CAAC,EAAE,OAAO,CAAC;IAEnC;;OAEG;IACH,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAElC;;OAEG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { Event } from './event';
|
|
2
|
+
export type SourceWatchResponse = {
|
|
3
|
+
/**
|
|
4
|
+
* Universally unique identifier (UUID) of a task run.
|
|
5
|
+
*/
|
|
6
|
+
runID?: string;
|
|
7
|
+
/**
|
|
8
|
+
* Depending on the source type, the validation returns sampling data of your source (JSON, CSV, BigQuery).
|
|
9
|
+
*/
|
|
10
|
+
data?: Array<Record<string, any>>;
|
|
11
|
+
/**
|
|
12
|
+
* In case of error, observability events will be added to the response, if any.
|
|
13
|
+
*/
|
|
14
|
+
events?: Event[];
|
|
15
|
+
/**
|
|
16
|
+
* A message describing the outcome of a validate run.
|
|
17
|
+
*/
|
|
18
|
+
message: string;
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=sourceWatchResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sourceWatchResponse.d.ts","sourceRoot":"","sources":["../../model/sourceWatchResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,MAAM,MAAM,mBAAmB,GAAG;IAChC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,CAAC;IAElC;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,EAAE,CAAC;IAEjB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { MappingInput } from './mappingInput';
|
|
2
|
+
/**
|
|
3
|
+
* Input for a `streaming` task whose source is of type `ga4BigqueryExport` and for which extracted data is continuously streamed.
|
|
4
|
+
*/
|
|
5
|
+
export type StreamingInput = {
|
|
6
|
+
mapping: MappingInput;
|
|
7
|
+
};
|
|
8
|
+
//# sourceMappingURL=streamingInput.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"streamingInput.d.ts","sourceRoot":"","sources":["../../model/streamingInput.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG;IAC3B,OAAO,EAAE,YAAY,CAAC;CACvB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"streamingTrigger.d.ts","sourceRoot":"","sources":["../../model/streamingTrigger.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAEnE;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B,IAAI,EAAE,oBAAoB,CAAC;CAC5B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"streamingTriggerType.d.ts","sourceRoot":"","sources":["../../model/streamingTriggerType.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG,WAAW,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subscriptionTrigger.d.ts","sourceRoot":"","sources":["../../model/subscriptionTrigger.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAEzE;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAChC,IAAI,EAAE,uBAAuB,CAAC;CAC/B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subscriptionTriggerType.d.ts","sourceRoot":"","sources":["../../model/subscriptionTriggerType.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG,cAAc,CAAC"}
|
package/dist/model/task.d.ts
CHANGED
|
@@ -1,19 +1,41 @@
|
|
|
1
|
-
import type { ActionType } from './actionType';
|
|
2
|
-
import type {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
1
|
+
import type { ActionType } from './actionType';
|
|
2
|
+
import type { TaskInput } from './taskInput';
|
|
3
|
+
import type { Trigger } from './trigger';
|
|
4
|
+
export type Task = {
|
|
5
|
+
/**
|
|
6
|
+
* Universally unique identifier (UUID) of a task.
|
|
7
|
+
*/
|
|
8
|
+
taskID: string;
|
|
9
|
+
/**
|
|
10
|
+
* Universally uniqud identifier (UUID) of a source.
|
|
11
|
+
*/
|
|
12
|
+
sourceID: string;
|
|
13
|
+
/**
|
|
14
|
+
* Universally unique identifier (UUID) of a destination resource.
|
|
15
|
+
*/
|
|
16
|
+
destinationID: string;
|
|
17
|
+
trigger: Trigger;
|
|
18
|
+
input?: TaskInput;
|
|
19
|
+
/**
|
|
20
|
+
* Whether the task is enabled.
|
|
21
|
+
*/
|
|
22
|
+
enabled: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Maximum accepted percentage of failures for a task run to finish successfully.
|
|
25
|
+
*/
|
|
26
|
+
failureThreshold?: number;
|
|
27
|
+
action: ActionType;
|
|
28
|
+
/**
|
|
29
|
+
* Date of the last cursor in RFC 3339 format.
|
|
30
|
+
*/
|
|
31
|
+
cursor?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Date of creation in RFC 3339 format.
|
|
34
|
+
*/
|
|
35
|
+
createdAt: string;
|
|
36
|
+
/**
|
|
37
|
+
* Date of last update in RFC 3339 format.
|
|
38
|
+
*/
|
|
39
|
+
updatedAt?: string;
|
|
40
|
+
};
|
|
19
41
|
//# sourceMappingURL=task.d.ts.map
|
package/dist/model/task.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"task.d.ts","sourceRoot":"","sources":["../../model/task.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEzC,
|
|
1
|
+
{"version":3,"file":"task.d.ts","sourceRoot":"","sources":["../../model/task.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEzC,MAAM,MAAM,IAAI,GAAG;IACjB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB,OAAO,EAAE,OAAO,CAAC;IAEjB,KAAK,CAAC,EAAE,SAAS,CAAC;IAElB;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IAEjB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B,MAAM,EAAE,UAAU,CAAC;IAEnB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC"}
|
|
@@ -1,10 +1,32 @@
|
|
|
1
|
-
import type { ActionType } from './actionType';
|
|
2
|
-
import type {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import type { ActionType } from './actionType';
|
|
2
|
+
import type { TaskCreateTrigger } from './taskCreateTrigger';
|
|
3
|
+
import type { TaskInput } from './taskInput';
|
|
4
|
+
/**
|
|
5
|
+
* API request body for creating a task.
|
|
6
|
+
*/
|
|
7
|
+
export type TaskCreate = {
|
|
8
|
+
/**
|
|
9
|
+
* Universally uniqud identifier (UUID) of a source.
|
|
10
|
+
*/
|
|
11
|
+
sourceID: string;
|
|
12
|
+
/**
|
|
13
|
+
* Universally unique identifier (UUID) of a destination resource.
|
|
14
|
+
*/
|
|
15
|
+
destinationID: string;
|
|
16
|
+
trigger: TaskCreateTrigger;
|
|
17
|
+
action: ActionType;
|
|
18
|
+
/**
|
|
19
|
+
* Whether the task is enabled.
|
|
20
|
+
*/
|
|
21
|
+
enabled?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Maximum accepted percentage of failures for a task run to finish successfully.
|
|
24
|
+
*/
|
|
25
|
+
failureThreshold?: number;
|
|
26
|
+
input?: TaskInput;
|
|
27
|
+
/**
|
|
28
|
+
* Date of the last cursor in RFC 3339 format.
|
|
29
|
+
*/
|
|
30
|
+
cursor?: string;
|
|
31
|
+
};
|
|
10
32
|
//# sourceMappingURL=taskCreate.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taskCreate.d.ts","sourceRoot":"","sources":["../../model/taskCreate.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"taskCreate.d.ts","sourceRoot":"","sources":["../../model/taskCreate.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAE7C;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG;IACvB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB,OAAO,EAAE,iBAAiB,CAAC;IAE3B,MAAM,EAAE,UAAU,CAAC;IAEnB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B,KAAK,CAAC,EAAE,SAAS,CAAC;IAElB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC"}
|
|
@@ -1,8 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
/**
|
|
2
|
+
* API response for creating a task.
|
|
3
|
+
*/
|
|
4
|
+
export type TaskCreateResponse = {
|
|
5
|
+
/**
|
|
6
|
+
* Universally unique identifier (UUID) of a task.
|
|
7
|
+
*/
|
|
8
|
+
taskID: string;
|
|
9
|
+
/**
|
|
10
|
+
* Date of creation in RFC 3339 format.
|
|
11
|
+
*/
|
|
12
|
+
createdAt: string;
|
|
13
|
+
};
|
|
8
14
|
//# sourceMappingURL=taskCreateResponse.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taskCreateResponse.d.ts","sourceRoot":"","sources":["../../model/taskCreateResponse.ts"],"names":[],"mappings":"AAEA,
|
|
1
|
+
{"version":3,"file":"taskCreateResponse.d.ts","sourceRoot":"","sources":["../../model/taskCreateResponse.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { OnDemandTriggerInput } from './onDemandTriggerInput';
|
|
2
|
+
import type { ScheduleTriggerInput } from './scheduleTriggerInput';
|
|
3
|
+
import type { StreamingTrigger } from './streamingTrigger';
|
|
4
|
+
import type { SubscriptionTrigger } from './subscriptionTrigger';
|
|
5
|
+
export type TaskCreateTrigger = OnDemandTriggerInput | ScheduleTriggerInput | StreamingTrigger | SubscriptionTrigger;
|
|
6
|
+
//# sourceMappingURL=taskCreateTrigger.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"taskCreateTrigger.d.ts","sourceRoot":"","sources":["../../model/taskCreateTrigger.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AACnE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AACnE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAEjE,MAAM,MAAM,iBAAiB,GACzB,oBAAoB,GACpB,oBAAoB,GACpB,gBAAgB,GAChB,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { DockerStreamsInput } from './dockerStreamsInput';
|
|
2
|
+
import type { ShopifyInput } from './shopifyInput';
|
|
3
|
+
import type { StreamingInput } from './streamingInput';
|
|
4
|
+
/**
|
|
5
|
+
* Configuration of the task, depending on its type.
|
|
6
|
+
*/
|
|
7
|
+
export type TaskInput = DockerStreamsInput | ShopifyInput | StreamingInput;
|
|
8
|
+
//# sourceMappingURL=taskInput.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"taskInput.d.ts","sourceRoot":"","sources":["../../model/taskInput.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAEvD;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG,kBAAkB,GAAG,YAAY,GAAG,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"taskSearch.d.ts","sourceRoot":"","sources":["../../model/taskSearch.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,UAAU,GAAG;IACvB,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"taskSortKeys.d.ts","sourceRoot":"","sources":["../../model/taskSortKeys.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,YAAY,GACpB,QAAQ,GACR,WAAW,GACX,SAAS,GACT,aAAa,GACb,WAAW,CAAC"}
|
|
@@ -1,7 +1,22 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import type { TaskInput } from './taskInput';
|
|
2
|
+
import type { TriggerUpdateInput } from './triggerUpdateInput';
|
|
3
|
+
/**
|
|
4
|
+
* API request body for updating a task.
|
|
5
|
+
*/
|
|
6
|
+
export type TaskUpdate = {
|
|
7
|
+
/**
|
|
8
|
+
* Universally unique identifier (UUID) of a destination resource.
|
|
9
|
+
*/
|
|
10
|
+
destinationID?: string;
|
|
11
|
+
trigger?: TriggerUpdateInput;
|
|
12
|
+
input?: TaskInput;
|
|
13
|
+
/**
|
|
14
|
+
* Whether the task is enabled.
|
|
15
|
+
*/
|
|
16
|
+
enabled?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Maximum accepted percentage of failures for a task run to finish successfully.
|
|
19
|
+
*/
|
|
20
|
+
failureThreshold?: number;
|
|
21
|
+
};
|
|
7
22
|
//# sourceMappingURL=taskUpdate.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taskUpdate.d.ts","sourceRoot":"","sources":["../../model/taskUpdate.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"taskUpdate.d.ts","sourceRoot":"","sources":["../../model/taskUpdate.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE/D;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG;IACvB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB,OAAO,CAAC,EAAE,kBAAkB,CAAC;IAE7B,KAAK,CAAC,EAAE,SAAS,CAAC;IAElB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B,CAAC"}
|
|
@@ -1,8 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
/**
|
|
2
|
+
* API response for updating a task.
|
|
3
|
+
*/
|
|
4
|
+
export type TaskUpdateResponse = {
|
|
5
|
+
/**
|
|
6
|
+
* Universally unique identifier (UUID) of a task.
|
|
7
|
+
*/
|
|
8
|
+
taskID: string;
|
|
9
|
+
/**
|
|
10
|
+
* Date of last update in RFC 3339 format.
|
|
11
|
+
*/
|
|
12
|
+
updatedAt: string;
|
|
13
|
+
};
|
|
8
14
|
//# sourceMappingURL=taskUpdateResponse.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taskUpdateResponse.d.ts","sourceRoot":"","sources":["../../model/taskUpdateResponse.ts"],"names":[],"mappings":"AAEA,
|
|
1
|
+
{"version":3,"file":"taskUpdateResponse.d.ts","sourceRoot":"","sources":["../../model/taskUpdateResponse.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export type Transformation = {
|
|
2
|
+
/**
|
|
3
|
+
* Universally unique identifier (UUID) of a transformation.
|
|
4
|
+
*/
|
|
5
|
+
transformationID: string;
|
|
6
|
+
/**
|
|
7
|
+
* The source code of the transformation.
|
|
8
|
+
*/
|
|
9
|
+
code: string;
|
|
10
|
+
/**
|
|
11
|
+
* The uniquely identified name of your transformation.
|
|
12
|
+
*/
|
|
13
|
+
name: string;
|
|
14
|
+
/**
|
|
15
|
+
* A descriptive name for your transformation of what it does.
|
|
16
|
+
*/
|
|
17
|
+
description?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Date of creation in RFC 3339 format.
|
|
20
|
+
*/
|
|
21
|
+
createdAt: string;
|
|
22
|
+
/**
|
|
23
|
+
* Date of last update in RFC 3339 format.
|
|
24
|
+
*/
|
|
25
|
+
updatedAt?: string;
|
|
26
|
+
};
|
|
27
|
+
//# sourceMappingURL=transformation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transformation.d.ts","sourceRoot":"","sources":["../../model/transformation.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,cAAc,GAAG;IAC3B;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAC;IAEzB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* API request body for creating a transformation.
|
|
3
|
+
*/
|
|
4
|
+
export type TransformationCreate = {
|
|
5
|
+
/**
|
|
6
|
+
* The source code of the transformation.
|
|
7
|
+
*/
|
|
8
|
+
code: string;
|
|
9
|
+
/**
|
|
10
|
+
* The uniquely identified name of your transformation.
|
|
11
|
+
*/
|
|
12
|
+
name: string;
|
|
13
|
+
/**
|
|
14
|
+
* A descriptive name for your transformation of what it does.
|
|
15
|
+
*/
|
|
16
|
+
description?: string;
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=transformationCreate.d.ts.map
|