@propeller-commerce/propeller-sdk-v2 0.11.3 → 0.12.0
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/CHANGELOG.md +70 -0
- package/dist/cjs/enum/AgentInteractionMode.d.ts +8 -0
- package/dist/cjs/enum/AgentInteractionMode.js +12 -0
- package/dist/cjs/enum/AgentSortField.d.ts +14 -0
- package/dist/cjs/enum/AgentSortField.js +18 -0
- package/dist/cjs/enum/AgentTrigger.d.ts +8 -0
- package/dist/cjs/enum/AgentTrigger.js +12 -0
- package/dist/cjs/enum/BaseProductSortField.d.ts +10 -0
- package/dist/cjs/enum/BaseProductSortField.js +14 -0
- package/dist/cjs/enum/CategoryFieldName.d.ts +2 -1
- package/dist/cjs/enum/CategoryFieldName.js +1 -0
- package/dist/cjs/enum/CategorySortableFields.d.ts +4 -1
- package/dist/cjs/enum/CategorySortableFields.js +3 -0
- package/dist/cjs/enum/CompanyTermField.d.ts +31 -0
- package/dist/cjs/enum/CompanyTermField.js +35 -0
- package/dist/cjs/enum/ContactTermField.d.ts +13 -0
- package/dist/cjs/enum/ContactTermField.js +17 -0
- package/dist/cjs/enum/CostPriceSortField.d.ts +3 -1
- package/dist/cjs/enum/CostPriceSortField.js +2 -0
- package/dist/cjs/enum/CustomerSortableField.d.ts +3 -1
- package/dist/cjs/enum/CustomerSortableField.js +2 -0
- package/dist/cjs/enum/CustomerTermField.d.ts +25 -0
- package/dist/cjs/enum/CustomerTermField.js +29 -0
- package/dist/cjs/enum/GqlApiKeySortField.d.ts +12 -0
- package/dist/cjs/enum/GqlApiKeySortField.js +16 -0
- package/dist/cjs/enum/RestApiKeySortField.d.ts +11 -0
- package/dist/cjs/enum/RestApiKeySortField.js +15 -0
- package/dist/cjs/enum/ValuesetItemTermField.d.ts +8 -0
- package/dist/cjs/enum/ValuesetItemTermField.js +12 -0
- package/dist/cjs/enum/ValuesetTermField.d.ts +8 -0
- package/dist/cjs/enum/ValuesetTermField.js +12 -0
- package/dist/cjs/enum/index.d.ts +11 -0
- package/dist/cjs/enum/index.js +11 -0
- package/dist/cjs/generated/operationVariables.d.ts +906 -21
- package/dist/cjs/generated/operationVariablesPublic.d.ts +1 -1
- package/dist/cjs/generated/operations/adminUserTenant.js +2 -0
- package/dist/cjs/generated/operations/adminUserTenantCreate.js +2 -0
- package/dist/cjs/generated/operations/adminUserTenantDelete.js +2 -0
- package/dist/cjs/generated/operations/agent.d.ts +1 -0
- package/dist/cjs/generated/operations/agent.js +17 -0
- package/dist/cjs/generated/operations/agentConversationCreate.d.ts +1 -0
- package/dist/cjs/generated/operations/agentConversationCreate.js +10 -0
- package/dist/cjs/generated/operations/agentCreate.d.ts +1 -0
- package/dist/cjs/generated/operations/agentCreate.js +17 -0
- package/dist/cjs/generated/operations/agentDelete.d.ts +1 -0
- package/dist/cjs/generated/operations/agentDelete.js +8 -0
- package/dist/cjs/generated/operations/agentMessageCreate.d.ts +1 -0
- package/dist/cjs/generated/operations/agentMessageCreate.js +12 -0
- package/dist/cjs/generated/operations/agentUpdate.d.ts +1 -0
- package/dist/cjs/generated/operations/agentUpdate.js +17 -0
- package/dist/cjs/generated/operations/agents.d.ts +1 -0
- package/dist/cjs/generated/operations/agents.js +15 -0
- package/dist/cjs/generated/operations/baseProductCategoryMoveAbove.d.ts +1 -0
- package/dist/cjs/generated/operations/baseProductCategoryMoveAbove.js +17 -0
- package/dist/cjs/generated/operations/baseProductCategoryMoveAboveByUuids.d.ts +1 -0
- package/dist/cjs/generated/operations/baseProductCategoryMoveAboveByUuids.js +17 -0
- package/dist/cjs/generated/operations/baseProductCategoryMoveBelow.d.ts +1 -0
- package/dist/cjs/generated/operations/baseProductCategoryMoveBelow.js +17 -0
- package/dist/cjs/generated/operations/baseProductCategoryMoveBelowByUuids.d.ts +1 -0
- package/dist/cjs/generated/operations/baseProductCategoryMoveBelowByUuids.js +17 -0
- package/dist/cjs/generated/operations/baseProductCategoryMoveToBottom.d.ts +1 -0
- package/dist/cjs/generated/operations/baseProductCategoryMoveToBottom.js +17 -0
- package/dist/cjs/generated/operations/baseProductCategoryMoveToBottomByUuids.d.ts +1 -0
- package/dist/cjs/generated/operations/baseProductCategoryMoveToBottomByUuids.js +17 -0
- package/dist/cjs/generated/operations/baseProductCategoryMoveToTop.d.ts +1 -0
- package/dist/cjs/generated/operations/baseProductCategoryMoveToTop.js +17 -0
- package/dist/cjs/generated/operations/baseProductCategoryMoveToTopByUuids.d.ts +1 -0
- package/dist/cjs/generated/operations/baseProductCategoryMoveToTopByUuids.js +17 -0
- package/dist/cjs/generated/operations/baseProducts.d.ts +1 -0
- package/dist/cjs/generated/operations/baseProducts.js +15 -0
- package/dist/cjs/generated/operations/categories.js +18 -2
- package/dist/cjs/generated/operations/category.js +35 -2
- package/dist/cjs/generated/operations/categoryAddProductsClusters.js +33 -0
- package/dist/cjs/generated/operations/categoryBySlug.d.ts +1 -0
- package/dist/cjs/generated/operations/categoryBySlug.js +648 -0
- package/dist/cjs/generated/operations/categoryBySource.d.ts +1 -0
- package/dist/cjs/generated/operations/categoryBySource.js +648 -0
- package/dist/cjs/generated/operations/categoryChildren.d.ts +1 -0
- package/dist/cjs/generated/operations/categoryChildren.js +648 -0
- package/dist/cjs/generated/operations/categoryCreate.js +33 -0
- package/dist/cjs/generated/operations/categoryHierarchy.d.ts +1 -0
- package/dist/cjs/generated/operations/categoryHierarchy.js +648 -0
- package/dist/cjs/generated/operations/categoryMoveAbove.d.ts +1 -0
- package/dist/cjs/generated/operations/categoryMoveAbove.js +651 -0
- package/dist/cjs/generated/operations/categoryMoveBelow.d.ts +1 -0
- package/dist/cjs/generated/operations/categoryMoveBelow.js +651 -0
- package/dist/cjs/generated/operations/categoryRemoveProductsClusters.js +33 -0
- package/dist/cjs/generated/operations/categoryUpdate.js +33 -0
- package/dist/cjs/generated/operations/cluster.js +100 -0
- package/dist/cjs/generated/operations/clusterAddToCategory.d.ts +1 -0
- package/dist/cjs/generated/operations/clusterAddToCategory.js +17 -0
- package/dist/cjs/generated/operations/clusterAssignProduct.d.ts +1 -0
- package/dist/cjs/generated/operations/clusterAssignProduct.js +880 -0
- package/dist/cjs/generated/operations/clusterAssignProducts.js +100 -0
- package/dist/cjs/generated/operations/clusterCategoryMoveAbove.d.ts +1 -0
- package/dist/cjs/generated/operations/clusterCategoryMoveAbove.js +17 -0
- package/dist/cjs/generated/operations/clusterCategoryMoveBelow.d.ts +1 -0
- package/dist/cjs/generated/operations/clusterCategoryMoveBelow.js +17 -0
- package/dist/cjs/generated/operations/clusterConfig.js +6 -0
- package/dist/cjs/generated/operations/clusterConfigSetting.d.ts +1 -0
- package/dist/cjs/generated/operations/clusterConfigSetting.js +23 -0
- package/dist/cjs/generated/operations/clusterConfigSettingCreate.d.ts +1 -0
- package/dist/cjs/generated/operations/clusterConfigSettingCreate.js +23 -0
- package/dist/cjs/generated/operations/clusterConfigSettingDelete.d.ts +1 -0
- package/dist/cjs/generated/operations/clusterConfigSettingDelete.js +8 -0
- package/dist/cjs/generated/operations/clusterConfigSettingUpdate.d.ts +1 -0
- package/dist/cjs/generated/operations/clusterConfigSettingUpdate.js +23 -0
- package/dist/cjs/generated/operations/clusterConfigUpdate.d.ts +1 -0
- package/dist/cjs/generated/operations/clusterConfigUpdate.js +31 -0
- package/dist/cjs/generated/operations/clusterConfigsPaginated.d.ts +1 -0
- package/dist/cjs/generated/operations/clusterConfigsPaginated.js +15 -0
- package/dist/cjs/generated/operations/clusterCreate.js +100 -0
- package/dist/cjs/generated/operations/clusterOption.d.ts +1 -0
- package/dist/cjs/generated/operations/clusterOption.js +184 -0
- package/dist/cjs/generated/operations/clusterOptionAssignProducts.d.ts +1 -0
- package/dist/cjs/generated/operations/clusterOptionAssignProducts.js +184 -0
- package/dist/cjs/generated/operations/clusterOptionMoveAbove.d.ts +1 -0
- package/dist/cjs/generated/operations/clusterOptionMoveAbove.js +187 -0
- package/dist/cjs/generated/operations/clusterOptionMoveBelow.d.ts +1 -0
- package/dist/cjs/generated/operations/clusterOptionMoveBelow.js +187 -0
- package/dist/cjs/generated/operations/clusterOptionProductCreate.d.ts +1 -0
- package/dist/cjs/generated/operations/clusterOptionProductCreate.js +746 -0
- package/dist/cjs/generated/operations/clusterOptionProductDelete.d.ts +1 -0
- package/dist/cjs/generated/operations/clusterOptionProductDelete.js +8 -0
- package/dist/cjs/generated/operations/clusterOptionProductUpdate.d.ts +1 -0
- package/dist/cjs/generated/operations/clusterOptionProductUpdate.js +746 -0
- package/dist/cjs/generated/operations/clusterOptionRemoveProducts.d.ts +1 -0
- package/dist/cjs/generated/operations/clusterOptionRemoveProducts.js +184 -0
- package/dist/cjs/generated/operations/clusterOptions.d.ts +1 -0
- package/dist/cjs/generated/operations/clusterOptions.js +15 -0
- package/dist/cjs/generated/operations/clusterProductCreate.js +93 -0
- package/dist/cjs/generated/operations/clusterProductUpdate.js +93 -0
- package/dist/cjs/generated/operations/clusterRemoveFromCategory.d.ts +1 -0
- package/dist/cjs/generated/operations/clusterRemoveFromCategory.js +8 -0
- package/dist/cjs/generated/operations/clusterSetDefaultCategory.d.ts +1 -0
- package/dist/cjs/generated/operations/clusterSetDefaultCategory.js +880 -0
- package/dist/cjs/generated/operations/clusterUnassignProduct.d.ts +1 -0
- package/dist/cjs/generated/operations/clusterUnassignProduct.js +880 -0
- package/dist/cjs/generated/operations/clusterUnassignProducts.js +100 -0
- package/dist/cjs/generated/operations/clusterUpdate.js +100 -0
- package/dist/cjs/generated/operations/clusters.d.ts +1 -0
- package/dist/cjs/generated/operations/clusters.js +15 -0
- package/dist/cjs/generated/operations/clustersBulkAddToCategory.d.ts +1 -0
- package/dist/cjs/generated/operations/clustersBulkAddToCategory.js +17 -0
- package/dist/cjs/generated/operations/clustersBulkRemoveFromCategory.d.ts +1 -0
- package/dist/cjs/generated/operations/clustersBulkRemoveFromCategory.js +8 -0
- package/dist/cjs/generated/operations/crossupsell.js +17 -0
- package/dist/cjs/generated/operations/crossupsellCreate.js +17 -0
- package/dist/cjs/generated/operations/crossupsellUpdate.js +17 -0
- package/dist/cjs/generated/operations/crossupsells.js +17 -0
- package/dist/cjs/generated/operations/favoriteList.js +17 -0
- package/dist/cjs/generated/operations/gqlApiKey.d.ts +1 -0
- package/dist/cjs/generated/operations/gqlApiKey.js +16 -0
- package/dist/cjs/generated/operations/gqlApiKeyCreate.d.ts +1 -0
- package/dist/cjs/generated/operations/gqlApiKeyCreate.js +16 -0
- package/dist/cjs/generated/operations/gqlApiKeyDelete.d.ts +1 -0
- package/dist/cjs/generated/operations/gqlApiKeyDelete.js +8 -0
- package/dist/cjs/generated/operations/gqlApiKeyUpdate.d.ts +1 -0
- package/dist/cjs/generated/operations/gqlApiKeyUpdate.js +16 -0
- package/dist/cjs/generated/operations/gqlApiKeys.d.ts +1 -0
- package/dist/cjs/generated/operations/gqlApiKeys.js +15 -0
- package/dist/cjs/generated/operations/index.d.ts +87 -0
- package/dist/cjs/generated/operations/index.js +185 -10
- package/dist/cjs/generated/operations/machine.js +17 -0
- package/dist/cjs/generated/operations/machineCreate.js +17 -0
- package/dist/cjs/generated/operations/machineUpsert.js +17 -0
- package/dist/cjs/generated/operations/machines.js +17 -0
- package/dist/cjs/generated/operations/order.js +8 -5
- package/dist/cjs/generated/operations/orderCreate.js +8 -5
- package/dist/cjs/generated/operations/orderRevision.js +8 -5
- package/dist/cjs/generated/operations/orderRevisionRestore.js +8 -5
- package/dist/cjs/generated/operations/orderRevisions.js +8 -5
- package/dist/cjs/generated/operations/orderUpdate.js +8 -5
- package/dist/cjs/generated/operations/product.js +93 -0
- package/dist/cjs/generated/operations/productAddToCategory.d.ts +1 -0
- package/dist/cjs/generated/operations/productAddToCategory.js +16 -0
- package/dist/cjs/generated/operations/productAssignToCluster.d.ts +1 -0
- package/dist/cjs/generated/operations/productAssignToCluster.js +746 -0
- package/dist/cjs/generated/operations/productCategoryMoveAbove.d.ts +1 -0
- package/dist/cjs/generated/operations/productCategoryMoveAbove.js +16 -0
- package/dist/cjs/generated/operations/productCategoryMoveBelow.d.ts +1 -0
- package/dist/cjs/generated/operations/productCategoryMoveBelow.js +16 -0
- package/dist/cjs/generated/operations/productCategoryMoveToBottom.d.ts +1 -0
- package/dist/cjs/generated/operations/productCategoryMoveToBottom.js +16 -0
- package/dist/cjs/generated/operations/productCategoryMoveToTop.d.ts +1 -0
- package/dist/cjs/generated/operations/productCategoryMoveToTop.js +16 -0
- package/dist/cjs/generated/operations/productClusterMoveAbove.d.ts +1 -0
- package/dist/cjs/generated/operations/productClusterMoveAbove.js +16 -0
- package/dist/cjs/generated/operations/productClusterMoveBelow.d.ts +1 -0
- package/dist/cjs/generated/operations/productClusterMoveBelow.js +16 -0
- package/dist/cjs/generated/operations/productClusterOptionMoveAbove.d.ts +1 -0
- package/dist/cjs/generated/operations/productClusterOptionMoveAbove.js +16 -0
- package/dist/cjs/generated/operations/productClusterOptionMoveBelow.d.ts +1 -0
- package/dist/cjs/generated/operations/productClusterOptionMoveBelow.js +16 -0
- package/dist/cjs/generated/operations/productRemoveFromCategory.d.ts +1 -0
- package/dist/cjs/generated/operations/productRemoveFromCategory.js +8 -0
- package/dist/cjs/generated/operations/productSearchBatchMetrics.d.ts +1 -0
- package/dist/cjs/generated/operations/productSearchBatchMetrics.js +16 -0
- package/dist/cjs/generated/operations/productSearchBatchMetricsFailedJobs.d.ts +1 -0
- package/dist/cjs/generated/operations/productSearchBatchMetricsFailedJobs.js +10 -0
- package/dist/cjs/generated/operations/productSearchBatchMetricsHourly.d.ts +1 -0
- package/dist/cjs/generated/operations/productSearchBatchMetricsHourly.js +11 -0
- package/dist/cjs/generated/operations/productSearchBatchMetricsQueueStatus.d.ts +1 -0
- package/dist/cjs/generated/operations/productSearchBatchMetricsQueueStatus.js +32 -0
- package/dist/cjs/generated/operations/productSearchByCategory.d.ts +1 -0
- package/dist/cjs/generated/operations/productSearchByCategory.js +65 -0
- package/dist/cjs/generated/operations/productSearchCategoriesIndex.d.ts +1 -0
- package/dist/cjs/generated/operations/productSearchCategoriesIndex.js +11 -0
- package/dist/cjs/generated/operations/productSearchClustersIndex.d.ts +1 -0
- package/dist/cjs/generated/operations/productSearchClustersIndex.js +11 -0
- package/dist/cjs/generated/operations/productSearchFullReindexCancel.d.ts +1 -0
- package/dist/cjs/generated/operations/productSearchFullReindexCancel.js +11 -0
- package/dist/cjs/generated/operations/productSearchFullReindexStart.d.ts +1 -0
- package/dist/cjs/generated/operations/productSearchFullReindexStart.js +12 -0
- package/dist/cjs/generated/operations/productSearchProductsIndex.d.ts +1 -0
- package/dist/cjs/generated/operations/productSearchProductsIndex.js +11 -0
- package/dist/cjs/generated/operations/productSearchReindexLock.d.ts +1 -0
- package/dist/cjs/generated/operations/productSearchReindexLock.js +12 -0
- package/dist/cjs/generated/operations/productSearchReindexLockForceRelease.d.ts +1 -0
- package/dist/cjs/generated/operations/productSearchReindexLockForceRelease.js +11 -0
- package/dist/cjs/generated/operations/productSearchReindexStatus.d.ts +1 -0
- package/dist/cjs/generated/operations/productSearchReindexStatus.js +10 -0
- package/dist/cjs/generated/operations/productSearchSolr.d.ts +1 -0
- package/dist/cjs/generated/operations/productSearchSolr.js +17 -0
- package/dist/cjs/generated/operations/productSetDefaultCategory.d.ts +1 -0
- package/dist/cjs/generated/operations/productSetDefaultCategory.js +746 -0
- package/dist/cjs/generated/operations/productUnassignFromCluster.d.ts +1 -0
- package/dist/cjs/generated/operations/productUnassignFromCluster.js +746 -0
- package/dist/cjs/generated/operations/products.js +17 -0
- package/dist/cjs/generated/operations/productsBulkAddToCategory.d.ts +1 -0
- package/dist/cjs/generated/operations/productsBulkAddToCategory.js +16 -0
- package/dist/cjs/generated/operations/productsBulkRemoveFromCategory.d.ts +1 -0
- package/dist/cjs/generated/operations/productsBulkRemoveFromCategory.js +8 -0
- package/dist/cjs/generated/operations/productsRaw.d.ts +1 -0
- package/dist/cjs/generated/operations/productsRaw.js +15 -0
- package/dist/cjs/generated/operations/restApiKey.d.ts +1 -0
- package/dist/cjs/generated/operations/restApiKey.js +16 -0
- package/dist/cjs/generated/operations/restApiKeyCreate.d.ts +1 -0
- package/dist/cjs/generated/operations/restApiKeyCreate.js +16 -0
- package/dist/cjs/generated/operations/restApiKeyDelete.d.ts +1 -0
- package/dist/cjs/generated/operations/restApiKeyDelete.js +8 -0
- package/dist/cjs/generated/operations/restApiKeyUpdate.d.ts +1 -0
- package/dist/cjs/generated/operations/restApiKeyUpdate.js +16 -0
- package/dist/cjs/generated/operations/restApiKeys.d.ts +1 -0
- package/dist/cjs/generated/operations/restApiKeys.js +15 -0
- package/dist/cjs/generated/operations/shipment.js +8 -0
- package/dist/cjs/generated/operations/shipmentCreate.js +8 -0
- package/dist/cjs/generated/operations/shipmentUpdate.js +8 -0
- package/dist/cjs/generated/operations/shipments.js +8 -0
- package/dist/cjs/generated/operations/tenant.js +2 -0
- package/dist/cjs/generated/operations/tenantCreate.js +2 -0
- package/dist/cjs/generated/operations/tenantUpdate.js +2 -0
- package/dist/cjs/generated/operations/tender.js +93 -0
- package/dist/cjs/generated/operations/tenderAddItems.js +93 -0
- package/dist/cjs/generated/operations/tenderApplyIncentives.js +93 -0
- package/dist/cjs/generated/operations/tenderDeleteBonusItem.js +93 -0
- package/dist/cjs/generated/operations/tenderDeleteItem.js +93 -0
- package/dist/cjs/generated/operations/tenderStart.js +93 -0
- package/dist/cjs/generated/operations/tenderUpdate.js +93 -0
- package/dist/cjs/generated/operations/tenderUpdateAddress.js +93 -0
- package/dist/cjs/generated/operations/tenderUpdateDiscount.js +93 -0
- package/dist/cjs/generated/operations/tenderUpdateInvoiceUser.js +93 -0
- package/dist/cjs/generated/operations/tenderUpdateItem.js +93 -0
- package/dist/cjs/generated/operations/tenderUpdatePayment.js +93 -0
- package/dist/cjs/generated/operations/tenderUpdatePostage.js +93 -0
- package/dist/cjs/service/AgentService.d.ts +53 -0
- package/dist/cjs/service/AgentService.js +82 -0
- package/dist/cjs/service/ApiKeyService.d.ts +68 -0
- package/dist/cjs/service/ApiKeyService.js +109 -0
- package/dist/cjs/service/CategoryService.d.ts +31 -2
- package/dist/cjs/service/CategoryService.js +54 -0
- package/dist/cjs/service/ClusterConfigService.d.ts +34 -0
- package/dist/cjs/service/ClusterConfigService.js +54 -0
- package/dist/cjs/service/ClusterOptionService.d.ts +62 -0
- package/dist/cjs/service/ClusterOptionService.js +100 -0
- package/dist/cjs/service/ClusterService.d.ts +53 -0
- package/dist/cjs/service/ClusterService.js +90 -0
- package/dist/cjs/service/ProductService.d.ts +215 -1
- package/dist/cjs/service/ProductService.js +351 -0
- package/dist/cjs/service/index.d.ts +3 -0
- package/dist/cjs/service/index.js +3 -0
- package/dist/cjs/type/Agent.d.ts +38 -0
- package/dist/cjs/type/Agent.js +2 -0
- package/dist/cjs/type/AgentConversation.d.ts +10 -0
- package/dist/cjs/type/AgentConversation.js +2 -0
- package/dist/cjs/type/AgentConversationCreateInput.d.ts +8 -0
- package/dist/cjs/type/AgentConversationCreateInput.js +2 -0
- package/dist/cjs/type/AgentConversationCreateMessageInput.d.ts +13 -0
- package/dist/cjs/type/AgentConversationCreateMessageInput.js +2 -0
- package/dist/cjs/type/AgentCreateInput.d.ts +60 -0
- package/dist/cjs/type/AgentCreateInput.js +2 -0
- package/dist/cjs/type/AgentMessage.d.ts +11 -0
- package/dist/cjs/type/AgentMessage.js +2 -0
- package/dist/cjs/type/AgentMessageCreateInput.d.ts +15 -0
- package/dist/cjs/type/AgentMessageCreateInput.js +2 -0
- package/dist/cjs/type/AgentResponse.d.ts +20 -0
- package/dist/cjs/type/AgentResponse.js +2 -0
- package/dist/cjs/type/AgentSearchInput.d.ts +35 -0
- package/dist/cjs/type/AgentSearchInput.js +2 -0
- package/dist/cjs/type/AgentSortInput.d.ts +11 -0
- package/dist/cjs/type/AgentSortInput.js +2 -0
- package/dist/cjs/type/AgentUpdateInput.d.ts +60 -0
- package/dist/cjs/type/AgentUpdateInput.js +2 -0
- package/dist/cjs/type/AttributeDescription.d.ts +1 -0
- package/dist/cjs/type/BaseProduct.d.ts +6 -0
- package/dist/cjs/type/BaseProduct.js +2 -0
- package/dist/cjs/type/BaseProductCategoryRelationship.d.ts +27 -0
- package/dist/cjs/type/BaseProductCategoryRelationship.js +2 -0
- package/dist/cjs/type/BaseProductClusterRelationship.d.ts +25 -0
- package/dist/cjs/type/BaseProductClusterRelationship.js +2 -0
- package/dist/cjs/type/BaseProductSearchInput.d.ts +71 -0
- package/dist/cjs/type/BaseProductSearchInput.js +2 -0
- package/dist/cjs/type/BaseProductsResponse.d.ts +20 -0
- package/dist/cjs/type/BaseProductsResponse.js +2 -0
- package/dist/cjs/type/BatchMetricsFailedJob.d.ts +37 -0
- package/dist/cjs/type/BatchMetricsFailedJob.js +2 -0
- package/dist/cjs/type/BatchMetricsFailedJobsByQueue.d.ts +10 -0
- package/dist/cjs/type/BatchMetricsFailedJobsByQueue.js +2 -0
- package/dist/cjs/type/BatchMetricsFailedJobsResponse.d.ts +10 -0
- package/dist/cjs/type/BatchMetricsFailedJobsResponse.js +2 -0
- package/dist/cjs/type/BatchMetricsHourlyBucket.d.ts +11 -0
- package/dist/cjs/type/BatchMetricsHourlyBucket.js +2 -0
- package/dist/cjs/type/BatchMetricsQueueStatusResponse.d.ts +14 -0
- package/dist/cjs/type/BatchMetricsQueueStatusResponse.js +2 -0
- package/dist/cjs/type/BatchMetricsQueueSummary.d.ts +15 -0
- package/dist/cjs/type/BatchMetricsQueueSummary.js +2 -0
- package/dist/cjs/type/BatchMetricsTenantHourlyResponse.d.ts +12 -0
- package/dist/cjs/type/BatchMetricsTenantHourlyResponse.js +2 -0
- package/dist/cjs/type/BatchMetricsTenantResponse.d.ts +24 -0
- package/dist/cjs/type/BatchMetricsTenantResponse.js +2 -0
- package/dist/cjs/type/BusinessRuleCreateInput.d.ts +1 -0
- package/dist/cjs/type/BusinessRuleSearchInput.d.ts +1 -0
- package/dist/cjs/type/CancelReindexResponse.d.ts +9 -0
- package/dist/cjs/type/CancelReindexResponse.js +2 -0
- package/dist/cjs/type/CarrierCreateInput.d.ts +1 -0
- package/dist/cjs/type/Category.d.ts +28 -0
- package/dist/cjs/type/CategoryBaseProductsSearchInput.d.ts +46 -0
- package/dist/cjs/type/CategoryBaseProductsSearchInput.js +2 -0
- package/dist/cjs/type/CategoryProductSearchInput.d.ts +2 -0
- package/dist/cjs/type/CategoryProductSearchResult.d.ts +10 -0
- package/dist/cjs/type/CategoryProductSearchResult.js +2 -0
- package/dist/cjs/type/CategorySearchInput.d.ts +23 -0
- package/dist/cjs/type/CategorySearchResponse.d.ts +23 -0
- package/dist/cjs/type/CategorySearchResponse.js +2 -0
- package/dist/cjs/type/Cluster.d.ts +17 -0
- package/dist/cjs/type/ClusterCategorySearchInput.d.ts +28 -0
- package/dist/cjs/type/ClusterConfig.d.ts +10 -0
- package/dist/cjs/type/ClusterConfigSearchInput.d.ts +13 -0
- package/dist/cjs/type/ClusterConfigSearchInput.js +2 -0
- package/dist/cjs/type/ClusterConfigSetting.d.ts +20 -0
- package/dist/cjs/type/ClusterConfigSettingCreateInput.d.ts +12 -0
- package/dist/cjs/type/ClusterConfigSettingCreateInput.js +2 -0
- package/dist/cjs/type/ClusterConfigSettingUpdateInput.d.ts +2 -0
- package/dist/cjs/type/ClusterConfigUpdateInput.d.ts +9 -0
- package/dist/cjs/type/ClusterConfigUpdateInput.js +2 -0
- package/dist/cjs/type/ClusterConfigsResponse.d.ts +20 -0
- package/dist/cjs/type/ClusterConfigsResponse.js +2 -0
- package/dist/cjs/type/ClusterCreateInput.d.ts +10 -0
- package/dist/cjs/type/ClusterOption.d.ts +21 -0
- package/dist/cjs/type/ClusterOptionCreateInput.d.ts +8 -0
- package/dist/cjs/type/ClusterOptionPaginatedSearchInput.d.ts +19 -0
- package/dist/cjs/type/ClusterOptionPaginatedSearchInput.js +2 -0
- package/dist/cjs/type/ClusterOptionUpdateInput.d.ts +6 -0
- package/dist/cjs/type/ClusterOptionsResponse.d.ts +20 -0
- package/dist/cjs/type/ClusterOptionsResponse.js +2 -0
- package/dist/cjs/type/ClusterSearchInput.d.ts +33 -0
- package/dist/cjs/type/ClusterSearchInput.js +2 -0
- package/dist/cjs/type/ClusterUpdateInput.d.ts +9 -0
- package/dist/cjs/type/ClustersResponse.d.ts +20 -0
- package/dist/cjs/type/ClustersResponse.js +2 -0
- package/dist/cjs/type/CompanySearchArguments.d.ts +5 -0
- package/dist/cjs/type/ContactSearchArguments.d.ts +5 -0
- package/dist/cjs/type/CostPrice.d.ts +4 -0
- package/dist/cjs/type/CostPriceCreateInput.d.ts +4 -0
- package/dist/cjs/type/CostPriceUpdateInput.d.ts +4 -0
- package/dist/cjs/type/CreateCategoryInput.d.ts +21 -0
- package/dist/cjs/type/CreateOrderStatusInput.d.ts +3 -0
- package/dist/cjs/type/CreateProductInput.d.ts +19 -0
- package/dist/cjs/type/CreateWarehouseInput.d.ts +1 -0
- package/dist/cjs/type/Crossupsell.d.ts +16 -0
- package/dist/cjs/type/CrossupsellCreateInput.d.ts +4 -0
- package/dist/cjs/type/CrossupsellSearchInput.d.ts +16 -0
- package/dist/cjs/type/CrossupsellUpdateInput.d.ts +15 -0
- package/dist/cjs/type/CustomerSearchArguments.d.ts +5 -0
- package/dist/cjs/type/ForceReleaseLockResponse.d.ts +9 -0
- package/dist/cjs/type/ForceReleaseLockResponse.js +2 -0
- package/dist/cjs/type/GqlApiKey.d.ts +22 -0
- package/dist/cjs/type/GqlApiKey.js +2 -0
- package/dist/cjs/type/GqlApiKeyCreateInput.d.ts +14 -0
- package/dist/cjs/type/GqlApiKeyCreateInput.js +2 -0
- package/dist/cjs/type/GqlApiKeyResponse.d.ts +20 -0
- package/dist/cjs/type/GqlApiKeyResponse.js +2 -0
- package/dist/cjs/type/GqlApiKeyRole.d.ts +10 -0
- package/dist/cjs/type/GqlApiKeyRole.js +2 -0
- package/dist/cjs/type/GqlApiKeyRoleInput.d.ts +10 -0
- package/dist/cjs/type/GqlApiKeyRoleInput.js +2 -0
- package/dist/cjs/type/GqlApiKeySearchInput.d.ts +23 -0
- package/dist/cjs/type/GqlApiKeySearchInput.js +2 -0
- package/dist/cjs/type/GqlApiKeySortInput.d.ts +11 -0
- package/dist/cjs/type/GqlApiKeySortInput.js +2 -0
- package/dist/cjs/type/GqlApiKeyUpdateInput.d.ts +14 -0
- package/dist/cjs/type/GqlApiKeyUpdateInput.js +2 -0
- package/dist/cjs/type/IBaseProduct.d.ts +12 -0
- package/dist/cjs/type/IBaseProductSearch.d.ts +25 -0
- package/dist/cjs/type/IBaseProductSearch.js +2 -0
- package/dist/cjs/type/ICartBaseItem.d.ts +7 -0
- package/dist/cjs/type/ICluster.d.ts +7 -0
- package/dist/cjs/type/IProduct.d.ts +7 -0
- package/dist/cjs/type/IProductSearchAttributeDecimalRangeFilter.d.ts +13 -0
- package/dist/cjs/type/IProductSearchAttributeDecimalRangeFilter.js +2 -0
- package/dist/cjs/type/IProductSearchAttributeFilter.d.ts +29 -0
- package/dist/cjs/type/IProductSearchAttributeFilter.js +2 -0
- package/dist/cjs/type/IProductSearchAttributeIntegerRangeFilter.d.ts +13 -0
- package/dist/cjs/type/IProductSearchAttributeIntegerRangeFilter.js +2 -0
- package/dist/cjs/type/IProductSearchAttributeTextFilter.d.ts +25 -0
- package/dist/cjs/type/IProductSearchAttributeTextFilter.js +2 -0
- package/dist/cjs/type/IndexCategoriesInput.d.ts +7 -0
- package/dist/cjs/type/IndexCategoriesInput.js +2 -0
- package/dist/cjs/type/IndexClustersInput.d.ts +7 -0
- package/dist/cjs/type/IndexClustersInput.js +2 -0
- package/dist/cjs/type/IndexEntitiesResponse.d.ts +9 -0
- package/dist/cjs/type/IndexEntitiesResponse.js +2 -0
- package/dist/cjs/type/IndexProductsInput.d.ts +7 -0
- package/dist/cjs/type/IndexProductsInput.js +2 -0
- package/dist/cjs/type/Order.d.ts +3 -0
- package/dist/cjs/type/OrderItemUpdateInput.d.ts +2 -0
- package/dist/cjs/type/OrderStatusesSearchInput.d.ts +3 -0
- package/dist/cjs/type/OrderlistCompanySearchInput.d.ts +5 -0
- package/dist/cjs/type/Product.d.ts +25 -0
- package/dist/cjs/type/ProductCategoryRelationship.d.ts +25 -0
- package/dist/cjs/type/ProductCategoryRelationship.js +2 -0
- package/dist/cjs/type/ProductCategorySearchInput.d.ts +28 -0
- package/dist/cjs/type/ProductClusterOptionRelationship.d.ts +19 -0
- package/dist/cjs/type/ProductClusterOptionRelationship.js +2 -0
- package/dist/cjs/type/ProductSearchAttributeDecimalRangeFilter.d.ts +13 -0
- package/dist/cjs/type/ProductSearchAttributeDecimalRangeFilter.js +2 -0
- package/dist/cjs/type/ProductSearchAttributeFilter.d.ts +29 -0
- package/dist/cjs/type/ProductSearchAttributeFilter.js +2 -0
- package/dist/cjs/type/ProductSearchAttributeIntegerRangeFilter.d.ts +13 -0
- package/dist/cjs/type/ProductSearchAttributeIntegerRangeFilter.js +2 -0
- package/dist/cjs/type/ProductSearchAttributeTextFilter.d.ts +25 -0
- package/dist/cjs/type/ProductSearchAttributeTextFilter.js +2 -0
- package/dist/cjs/type/ProductSearchByCategoryInput.d.ts +85 -0
- package/dist/cjs/type/ProductSearchByCategoryInput.js +2 -0
- package/dist/cjs/type/ProductSearchByCategoryResponse.d.ts +8 -0
- package/dist/cjs/type/ProductSearchByCategoryResponse.js +2 -0
- package/dist/cjs/type/ProductSearchCluster.d.ts +27 -0
- package/dist/cjs/type/ProductSearchCluster.js +2 -0
- package/dist/cjs/type/ProductSearchFacetInput.d.ts +10 -0
- package/dist/cjs/type/ProductSearchFacetInput.js +2 -0
- package/dist/cjs/type/ProductSearchFieldsInput.d.ts +12 -0
- package/dist/cjs/type/ProductSearchFieldsInput.js +2 -0
- package/dist/cjs/type/ProductSearchInput.d.ts +2 -0
- package/dist/cjs/type/ProductSearchPriceFilterInput.d.ts +9 -0
- package/dist/cjs/type/ProductSearchPriceFilterInput.js +2 -0
- package/dist/cjs/type/ProductSearchProduct.d.ts +29 -0
- package/dist/cjs/type/ProductSearchProduct.js +2 -0
- package/dist/cjs/type/ProductSearchRangeFilterInput.d.ts +16 -0
- package/dist/cjs/type/ProductSearchRangeFilterInput.js +2 -0
- package/dist/cjs/type/ProductSearchResponse.d.ts +27 -0
- package/dist/cjs/type/ProductSearchResponse.js +2 -0
- package/dist/cjs/type/ProductSearchSearchInput.d.ts +87 -0
- package/dist/cjs/type/ProductSearchSearchInput.js +2 -0
- package/dist/cjs/type/ProductSearchSortInput.d.ts +11 -0
- package/dist/cjs/type/ProductSearchSortInput.js +2 -0
- package/dist/cjs/type/ProductSearchTextFilterInput.d.ts +14 -0
- package/dist/cjs/type/ProductSearchTextFilterInput.js +2 -0
- package/dist/cjs/type/ProductsRawResponse.d.ts +20 -0
- package/dist/cjs/type/ProductsRawResponse.js +2 -0
- package/dist/cjs/type/RawProductSearchInput.d.ts +38 -0
- package/dist/cjs/type/RawProductSearchInput.js +2 -0
- package/dist/cjs/type/ReindexJobDetail.d.ts +13 -0
- package/dist/cjs/type/ReindexJobDetail.js +2 -0
- package/dist/cjs/type/ReindexLockResponse.d.ts +11 -0
- package/dist/cjs/type/ReindexLockResponse.js +2 -0
- package/dist/cjs/type/ReindexProgress.d.ts +45 -0
- package/dist/cjs/type/ReindexProgress.js +2 -0
- package/dist/cjs/type/ReindexStatusResponse.d.ts +13 -0
- package/dist/cjs/type/ReindexStatusResponse.js +2 -0
- package/dist/cjs/type/RestApiKey.d.ts +19 -0
- package/dist/cjs/type/RestApiKey.js +2 -0
- package/dist/cjs/type/RestApiKeyCreateInput.d.ts +9 -0
- package/dist/cjs/type/RestApiKeyCreateInput.js +2 -0
- package/dist/cjs/type/RestApiKeyResponse.d.ts +20 -0
- package/dist/cjs/type/RestApiKeyResponse.js +2 -0
- package/dist/cjs/type/RestApiKeySearchInput.d.ts +21 -0
- package/dist/cjs/type/RestApiKeySearchInput.js +2 -0
- package/dist/cjs/type/RestApiKeySortInput.d.ts +11 -0
- package/dist/cjs/type/RestApiKeySortInput.js +2 -0
- package/dist/cjs/type/RestApiKeyUpdateInput.d.ts +9 -0
- package/dist/cjs/type/RestApiKeyUpdateInput.js +2 -0
- package/dist/cjs/type/SearchFieldsInput.d.ts +2 -0
- package/dist/cjs/type/Shipment.d.ts +5 -0
- package/dist/cjs/type/ShipmentCreateInput.d.ts +5 -0
- package/dist/cjs/type/ShipmentUpdateInput.d.ts +5 -0
- package/dist/cjs/type/SparePartsMachineProductSearchInput.d.ts +2 -0
- package/dist/cjs/type/StartReindexResponse.d.ts +11 -0
- package/dist/cjs/type/StartReindexResponse.js +2 -0
- package/dist/cjs/type/SurchargeProduct.d.ts +5 -0
- package/dist/cjs/type/Tenant.d.ts +6 -0
- package/dist/cjs/type/TenantCreateInput.d.ts +6 -0
- package/dist/cjs/type/TenantUpdateInput.d.ts +6 -0
- package/dist/cjs/type/UpdateCategoryInput.d.ts +32 -0
- package/dist/cjs/type/UpdateOrderStatusInput.d.ts +3 -0
- package/dist/cjs/type/UpdateProductInput.d.ts +18 -0
- package/dist/cjs/type/ValuesetItemSearchInput.d.ts +13 -0
- package/dist/cjs/type/ValuesetSearchInput.d.ts +13 -0
- package/dist/cjs/type/index.d.ts +85 -0
- package/dist/cjs/type/index.js +85 -0
- package/dist/esm/enum/AgentInteractionMode.js +9 -0
- package/dist/esm/enum/AgentSortField.js +15 -0
- package/dist/esm/enum/AgentTrigger.js +9 -0
- package/dist/esm/enum/BaseProductSortField.js +11 -0
- package/dist/esm/enum/CategoryFieldName.js +1 -0
- package/dist/esm/enum/CategorySortableFields.js +3 -0
- package/dist/esm/enum/CompanyTermField.js +32 -0
- package/dist/esm/enum/ContactTermField.js +14 -0
- package/dist/esm/enum/CostPriceSortField.js +2 -0
- package/dist/esm/enum/CustomerSortableField.js +2 -0
- package/dist/esm/enum/CustomerTermField.js +26 -0
- package/dist/esm/enum/GqlApiKeySortField.js +13 -0
- package/dist/esm/enum/RestApiKeySortField.js +12 -0
- package/dist/esm/enum/ValuesetItemTermField.js +9 -0
- package/dist/esm/enum/ValuesetTermField.js +9 -0
- package/dist/esm/enum/index.js +11 -0
- package/dist/esm/generated/operations/adminUserTenant.js +2 -0
- package/dist/esm/generated/operations/adminUserTenantCreate.js +2 -0
- package/dist/esm/generated/operations/adminUserTenantDelete.js +2 -0
- package/dist/esm/generated/operations/agent.js +14 -0
- package/dist/esm/generated/operations/agentConversationCreate.js +7 -0
- package/dist/esm/generated/operations/agentCreate.js +14 -0
- package/dist/esm/generated/operations/agentDelete.js +5 -0
- package/dist/esm/generated/operations/agentMessageCreate.js +9 -0
- package/dist/esm/generated/operations/agentUpdate.js +14 -0
- package/dist/esm/generated/operations/agents.js +12 -0
- package/dist/esm/generated/operations/baseProductCategoryMoveAbove.js +14 -0
- package/dist/esm/generated/operations/baseProductCategoryMoveAboveByUuids.js +14 -0
- package/dist/esm/generated/operations/baseProductCategoryMoveBelow.js +14 -0
- package/dist/esm/generated/operations/baseProductCategoryMoveBelowByUuids.js +14 -0
- package/dist/esm/generated/operations/baseProductCategoryMoveToBottom.js +14 -0
- package/dist/esm/generated/operations/baseProductCategoryMoveToBottomByUuids.js +14 -0
- package/dist/esm/generated/operations/baseProductCategoryMoveToTop.js +14 -0
- package/dist/esm/generated/operations/baseProductCategoryMoveToTopByUuids.js +14 -0
- package/dist/esm/generated/operations/baseProducts.js +12 -0
- package/dist/esm/generated/operations/categories.js +18 -2
- package/dist/esm/generated/operations/category.js +35 -2
- package/dist/esm/generated/operations/categoryAddProductsClusters.js +33 -0
- package/dist/esm/generated/operations/categoryBySlug.js +645 -0
- package/dist/esm/generated/operations/categoryBySource.js +645 -0
- package/dist/esm/generated/operations/categoryChildren.js +645 -0
- package/dist/esm/generated/operations/categoryCreate.js +33 -0
- package/dist/esm/generated/operations/categoryHierarchy.js +645 -0
- package/dist/esm/generated/operations/categoryMoveAbove.js +648 -0
- package/dist/esm/generated/operations/categoryMoveBelow.js +648 -0
- package/dist/esm/generated/operations/categoryRemoveProductsClusters.js +33 -0
- package/dist/esm/generated/operations/categoryUpdate.js +33 -0
- package/dist/esm/generated/operations/cluster.js +100 -0
- package/dist/esm/generated/operations/clusterAddToCategory.js +14 -0
- package/dist/esm/generated/operations/clusterAssignProduct.js +877 -0
- package/dist/esm/generated/operations/clusterAssignProducts.js +100 -0
- package/dist/esm/generated/operations/clusterCategoryMoveAbove.js +14 -0
- package/dist/esm/generated/operations/clusterCategoryMoveBelow.js +14 -0
- package/dist/esm/generated/operations/clusterConfig.js +6 -0
- package/dist/esm/generated/operations/clusterConfigSetting.js +20 -0
- package/dist/esm/generated/operations/clusterConfigSettingCreate.js +20 -0
- package/dist/esm/generated/operations/clusterConfigSettingDelete.js +5 -0
- package/dist/esm/generated/operations/clusterConfigSettingUpdate.js +20 -0
- package/dist/esm/generated/operations/clusterConfigUpdate.js +28 -0
- package/dist/esm/generated/operations/clusterConfigsPaginated.js +12 -0
- package/dist/esm/generated/operations/clusterCreate.js +100 -0
- package/dist/esm/generated/operations/clusterOption.js +181 -0
- package/dist/esm/generated/operations/clusterOptionAssignProducts.js +181 -0
- package/dist/esm/generated/operations/clusterOptionMoveAbove.js +184 -0
- package/dist/esm/generated/operations/clusterOptionMoveBelow.js +184 -0
- package/dist/esm/generated/operations/clusterOptionProductCreate.js +743 -0
- package/dist/esm/generated/operations/clusterOptionProductDelete.js +5 -0
- package/dist/esm/generated/operations/clusterOptionProductUpdate.js +743 -0
- package/dist/esm/generated/operations/clusterOptionRemoveProducts.js +181 -0
- package/dist/esm/generated/operations/clusterOptions.js +12 -0
- package/dist/esm/generated/operations/clusterProductCreate.js +93 -0
- package/dist/esm/generated/operations/clusterProductUpdate.js +93 -0
- package/dist/esm/generated/operations/clusterRemoveFromCategory.js +5 -0
- package/dist/esm/generated/operations/clusterSetDefaultCategory.js +877 -0
- package/dist/esm/generated/operations/clusterUnassignProduct.js +877 -0
- package/dist/esm/generated/operations/clusterUnassignProducts.js +100 -0
- package/dist/esm/generated/operations/clusterUpdate.js +100 -0
- package/dist/esm/generated/operations/clusters.js +12 -0
- package/dist/esm/generated/operations/clustersBulkAddToCategory.js +14 -0
- package/dist/esm/generated/operations/clustersBulkRemoveFromCategory.js +5 -0
- package/dist/esm/generated/operations/crossupsell.js +17 -0
- package/dist/esm/generated/operations/crossupsellCreate.js +17 -0
- package/dist/esm/generated/operations/crossupsellUpdate.js +17 -0
- package/dist/esm/generated/operations/crossupsells.js +17 -0
- package/dist/esm/generated/operations/favoriteList.js +17 -0
- package/dist/esm/generated/operations/gqlApiKey.js +13 -0
- package/dist/esm/generated/operations/gqlApiKeyCreate.js +13 -0
- package/dist/esm/generated/operations/gqlApiKeyDelete.js +5 -0
- package/dist/esm/generated/operations/gqlApiKeyUpdate.js +13 -0
- package/dist/esm/generated/operations/gqlApiKeys.js +12 -0
- package/dist/esm/generated/operations/index.js +87 -0
- package/dist/esm/generated/operations/machine.js +17 -0
- package/dist/esm/generated/operations/machineCreate.js +17 -0
- package/dist/esm/generated/operations/machineUpsert.js +17 -0
- package/dist/esm/generated/operations/machines.js +17 -0
- package/dist/esm/generated/operations/order.js +8 -5
- package/dist/esm/generated/operations/orderCreate.js +8 -5
- package/dist/esm/generated/operations/orderRevision.js +8 -5
- package/dist/esm/generated/operations/orderRevisionRestore.js +8 -5
- package/dist/esm/generated/operations/orderRevisions.js +8 -5
- package/dist/esm/generated/operations/orderUpdate.js +8 -5
- package/dist/esm/generated/operations/product.js +93 -0
- package/dist/esm/generated/operations/productAddToCategory.js +13 -0
- package/dist/esm/generated/operations/productAssignToCluster.js +743 -0
- package/dist/esm/generated/operations/productCategoryMoveAbove.js +13 -0
- package/dist/esm/generated/operations/productCategoryMoveBelow.js +13 -0
- package/dist/esm/generated/operations/productCategoryMoveToBottom.js +13 -0
- package/dist/esm/generated/operations/productCategoryMoveToTop.js +13 -0
- package/dist/esm/generated/operations/productClusterMoveAbove.js +13 -0
- package/dist/esm/generated/operations/productClusterMoveBelow.js +13 -0
- package/dist/esm/generated/operations/productClusterOptionMoveAbove.js +13 -0
- package/dist/esm/generated/operations/productClusterOptionMoveBelow.js +13 -0
- package/dist/esm/generated/operations/productRemoveFromCategory.js +5 -0
- package/dist/esm/generated/operations/productSearchBatchMetrics.js +13 -0
- package/dist/esm/generated/operations/productSearchBatchMetricsFailedJobs.js +7 -0
- package/dist/esm/generated/operations/productSearchBatchMetricsHourly.js +8 -0
- package/dist/esm/generated/operations/productSearchBatchMetricsQueueStatus.js +29 -0
- package/dist/esm/generated/operations/productSearchByCategory.js +62 -0
- package/dist/esm/generated/operations/productSearchCategoriesIndex.js +8 -0
- package/dist/esm/generated/operations/productSearchClustersIndex.js +8 -0
- package/dist/esm/generated/operations/productSearchFullReindexCancel.js +8 -0
- package/dist/esm/generated/operations/productSearchFullReindexStart.js +9 -0
- package/dist/esm/generated/operations/productSearchProductsIndex.js +8 -0
- package/dist/esm/generated/operations/productSearchReindexLock.js +9 -0
- package/dist/esm/generated/operations/productSearchReindexLockForceRelease.js +8 -0
- package/dist/esm/generated/operations/productSearchReindexStatus.js +7 -0
- package/dist/esm/generated/operations/productSearchSolr.js +14 -0
- package/dist/esm/generated/operations/productSetDefaultCategory.js +743 -0
- package/dist/esm/generated/operations/productUnassignFromCluster.js +743 -0
- package/dist/esm/generated/operations/products.js +17 -0
- package/dist/esm/generated/operations/productsBulkAddToCategory.js +13 -0
- package/dist/esm/generated/operations/productsBulkRemoveFromCategory.js +5 -0
- package/dist/esm/generated/operations/productsRaw.js +12 -0
- package/dist/esm/generated/operations/restApiKey.js +13 -0
- package/dist/esm/generated/operations/restApiKeyCreate.js +13 -0
- package/dist/esm/generated/operations/restApiKeyDelete.js +5 -0
- package/dist/esm/generated/operations/restApiKeyUpdate.js +13 -0
- package/dist/esm/generated/operations/restApiKeys.js +12 -0
- package/dist/esm/generated/operations/shipment.js +8 -0
- package/dist/esm/generated/operations/shipmentCreate.js +8 -0
- package/dist/esm/generated/operations/shipmentUpdate.js +8 -0
- package/dist/esm/generated/operations/shipments.js +8 -0
- package/dist/esm/generated/operations/tenant.js +2 -0
- package/dist/esm/generated/operations/tenantCreate.js +2 -0
- package/dist/esm/generated/operations/tenantUpdate.js +2 -0
- package/dist/esm/generated/operations/tender.js +93 -0
- package/dist/esm/generated/operations/tenderAddItems.js +93 -0
- package/dist/esm/generated/operations/tenderApplyIncentives.js +93 -0
- package/dist/esm/generated/operations/tenderDeleteBonusItem.js +93 -0
- package/dist/esm/generated/operations/tenderDeleteItem.js +93 -0
- package/dist/esm/generated/operations/tenderStart.js +93 -0
- package/dist/esm/generated/operations/tenderUpdate.js +93 -0
- package/dist/esm/generated/operations/tenderUpdateAddress.js +93 -0
- package/dist/esm/generated/operations/tenderUpdateDiscount.js +93 -0
- package/dist/esm/generated/operations/tenderUpdateInvoiceUser.js +93 -0
- package/dist/esm/generated/operations/tenderUpdateItem.js +93 -0
- package/dist/esm/generated/operations/tenderUpdatePayment.js +93 -0
- package/dist/esm/generated/operations/tenderUpdatePostage.js +93 -0
- package/dist/esm/service/AgentService.js +77 -0
- package/dist/esm/service/ApiKeyService.js +104 -0
- package/dist/esm/service/CategoryService.js +54 -0
- package/dist/esm/service/ClusterConfigService.js +54 -0
- package/dist/esm/service/ClusterOptionService.js +95 -0
- package/dist/esm/service/ClusterService.js +90 -0
- package/dist/esm/service/ProductService.js +351 -0
- package/dist/esm/service/index.js +3 -0
- package/dist/esm/type/Agent.js +1 -0
- package/dist/esm/type/AgentConversation.js +1 -0
- package/dist/esm/type/AgentConversationCreateInput.js +1 -0
- package/dist/esm/type/AgentConversationCreateMessageInput.js +1 -0
- package/dist/esm/type/AgentCreateInput.js +1 -0
- package/dist/esm/type/AgentMessage.js +1 -0
- package/dist/esm/type/AgentMessageCreateInput.js +1 -0
- package/dist/esm/type/AgentResponse.js +1 -0
- package/dist/esm/type/AgentSearchInput.js +1 -0
- package/dist/esm/type/AgentSortInput.js +1 -0
- package/dist/esm/type/AgentUpdateInput.js +1 -0
- package/dist/esm/type/BaseProduct.js +1 -0
- package/dist/esm/type/BaseProductCategoryRelationship.js +1 -0
- package/dist/esm/type/BaseProductClusterRelationship.js +1 -0
- package/dist/esm/type/BaseProductSearchInput.js +1 -0
- package/dist/esm/type/BaseProductsResponse.js +1 -0
- package/dist/esm/type/BatchMetricsFailedJob.js +1 -0
- package/dist/esm/type/BatchMetricsFailedJobsByQueue.js +1 -0
- package/dist/esm/type/BatchMetricsFailedJobsResponse.js +1 -0
- package/dist/esm/type/BatchMetricsHourlyBucket.js +1 -0
- package/dist/esm/type/BatchMetricsQueueStatusResponse.js +1 -0
- package/dist/esm/type/BatchMetricsQueueSummary.js +1 -0
- package/dist/esm/type/BatchMetricsTenantHourlyResponse.js +1 -0
- package/dist/esm/type/BatchMetricsTenantResponse.js +1 -0
- package/dist/esm/type/CancelReindexResponse.js +1 -0
- package/dist/esm/type/CategoryBaseProductsSearchInput.js +1 -0
- package/dist/esm/type/CategoryProductSearchResult.js +1 -0
- package/dist/esm/type/CategorySearchResponse.js +1 -0
- package/dist/esm/type/ClusterConfigSearchInput.js +1 -0
- package/dist/esm/type/ClusterConfigSettingCreateInput.js +1 -0
- package/dist/esm/type/ClusterConfigUpdateInput.js +1 -0
- package/dist/esm/type/ClusterConfigsResponse.js +1 -0
- package/dist/esm/type/ClusterOptionPaginatedSearchInput.js +1 -0
- package/dist/esm/type/ClusterOptionsResponse.js +1 -0
- package/dist/esm/type/ClusterSearchInput.js +1 -0
- package/dist/esm/type/ClustersResponse.js +1 -0
- package/dist/esm/type/ForceReleaseLockResponse.js +1 -0
- package/dist/esm/type/GqlApiKey.js +1 -0
- package/dist/esm/type/GqlApiKeyCreateInput.js +1 -0
- package/dist/esm/type/GqlApiKeyResponse.js +1 -0
- package/dist/esm/type/GqlApiKeyRole.js +1 -0
- package/dist/esm/type/GqlApiKeyRoleInput.js +1 -0
- package/dist/esm/type/GqlApiKeySearchInput.js +1 -0
- package/dist/esm/type/GqlApiKeySortInput.js +1 -0
- package/dist/esm/type/GqlApiKeyUpdateInput.js +1 -0
- package/dist/esm/type/IBaseProductSearch.js +1 -0
- package/dist/esm/type/IProductSearchAttributeDecimalRangeFilter.js +1 -0
- package/dist/esm/type/IProductSearchAttributeFilter.js +1 -0
- package/dist/esm/type/IProductSearchAttributeIntegerRangeFilter.js +1 -0
- package/dist/esm/type/IProductSearchAttributeTextFilter.js +1 -0
- package/dist/esm/type/IndexCategoriesInput.js +1 -0
- package/dist/esm/type/IndexClustersInput.js +1 -0
- package/dist/esm/type/IndexEntitiesResponse.js +1 -0
- package/dist/esm/type/IndexProductsInput.js +1 -0
- package/dist/esm/type/ProductCategoryRelationship.js +1 -0
- package/dist/esm/type/ProductClusterOptionRelationship.js +1 -0
- package/dist/esm/type/ProductSearchAttributeDecimalRangeFilter.js +1 -0
- package/dist/esm/type/ProductSearchAttributeFilter.js +1 -0
- package/dist/esm/type/ProductSearchAttributeIntegerRangeFilter.js +1 -0
- package/dist/esm/type/ProductSearchAttributeTextFilter.js +1 -0
- package/dist/esm/type/ProductSearchByCategoryInput.js +1 -0
- package/dist/esm/type/ProductSearchByCategoryResponse.js +1 -0
- package/dist/esm/type/ProductSearchCluster.js +1 -0
- package/dist/esm/type/ProductSearchFacetInput.js +1 -0
- package/dist/esm/type/ProductSearchFieldsInput.js +1 -0
- package/dist/esm/type/ProductSearchPriceFilterInput.js +1 -0
- package/dist/esm/type/ProductSearchProduct.js +1 -0
- package/dist/esm/type/ProductSearchRangeFilterInput.js +1 -0
- package/dist/esm/type/ProductSearchResponse.js +1 -0
- package/dist/esm/type/ProductSearchSearchInput.js +1 -0
- package/dist/esm/type/ProductSearchSortInput.js +1 -0
- package/dist/esm/type/ProductSearchTextFilterInput.js +1 -0
- package/dist/esm/type/ProductsRawResponse.js +1 -0
- package/dist/esm/type/RawProductSearchInput.js +1 -0
- package/dist/esm/type/ReindexJobDetail.js +1 -0
- package/dist/esm/type/ReindexLockResponse.js +1 -0
- package/dist/esm/type/ReindexProgress.js +1 -0
- package/dist/esm/type/ReindexStatusResponse.js +1 -0
- package/dist/esm/type/RestApiKey.js +1 -0
- package/dist/esm/type/RestApiKeyCreateInput.js +1 -0
- package/dist/esm/type/RestApiKeyResponse.js +1 -0
- package/dist/esm/type/RestApiKeySearchInput.js +1 -0
- package/dist/esm/type/RestApiKeySortInput.js +1 -0
- package/dist/esm/type/RestApiKeyUpdateInput.js +1 -0
- package/dist/esm/type/StartReindexResponse.js +1 -0
- package/dist/esm/type/index.js +85 -0
- package/package.json +1 -1
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { runOperation } from './runOperation.js';
|
|
2
|
+
import { document as agentDoc } from '../generated/operations/agent.js';
|
|
3
|
+
import { document as agentConversationCreateDoc } from '../generated/operations/agentConversationCreate.js';
|
|
4
|
+
import { document as agentCreateDoc } from '../generated/operations/agentCreate.js';
|
|
5
|
+
import { document as agentDeleteDoc } from '../generated/operations/agentDelete.js';
|
|
6
|
+
import { document as agentMessageCreateDoc } from '../generated/operations/agentMessageCreate.js';
|
|
7
|
+
import { document as agentUpdateDoc } from '../generated/operations/agentUpdate.js';
|
|
8
|
+
import { document as agentsDoc } from '../generated/operations/agents.js';
|
|
9
|
+
/**
|
|
10
|
+
Service for Agent-related GraphQL operations
|
|
11
|
+
*/
|
|
12
|
+
export function agentService(client) {
|
|
13
|
+
return {
|
|
14
|
+
/**
|
|
15
|
+
Retrieve a single agent by its unique identifier.
|
|
16
|
+
*/
|
|
17
|
+
async getAgent(variables) {
|
|
18
|
+
const result = await runOperation(client, agentDoc, 'agent', { ...variables });
|
|
19
|
+
return result.data.agent;
|
|
20
|
+
},
|
|
21
|
+
/**
|
|
22
|
+
Start a new conversation with an agent.
|
|
23
|
+
*/
|
|
24
|
+
async agentConversationCreate(variables) {
|
|
25
|
+
const result = await runOperation(client, agentConversationCreateDoc, 'agentConversationCreate', { ...variables });
|
|
26
|
+
return result.data.agentConversationCreate;
|
|
27
|
+
},
|
|
28
|
+
/**
|
|
29
|
+
Create a new agent with the specified configuration.
|
|
30
|
+
*/
|
|
31
|
+
async agentCreate(variables) {
|
|
32
|
+
const result = await runOperation(client, agentCreateDoc, 'agentCreate', { ...variables });
|
|
33
|
+
return result.data.agentCreate;
|
|
34
|
+
},
|
|
35
|
+
/**
|
|
36
|
+
Delete an agent by its unique identifier.
|
|
37
|
+
*/
|
|
38
|
+
async agentDelete(variables) {
|
|
39
|
+
const result = await runOperation(client, agentDeleteDoc, 'agentDelete', { ...variables });
|
|
40
|
+
return result.data.agentDelete;
|
|
41
|
+
},
|
|
42
|
+
/**
|
|
43
|
+
Send a message to an agent.
|
|
44
|
+
*/
|
|
45
|
+
async agentMessageCreate(variables) {
|
|
46
|
+
const result = await runOperation(client, agentMessageCreateDoc, 'agentMessageCreate', { ...variables });
|
|
47
|
+
return result.data.agentMessageCreate;
|
|
48
|
+
},
|
|
49
|
+
/**
|
|
50
|
+
Update an existing agent's configuration.
|
|
51
|
+
*/
|
|
52
|
+
async agentUpdate(variables) {
|
|
53
|
+
const result = await runOperation(client, agentUpdateDoc, 'agentUpdate', { ...variables });
|
|
54
|
+
return result.data.agentUpdate;
|
|
55
|
+
},
|
|
56
|
+
/**
|
|
57
|
+
Search and retrieve agents with filtering and pagination.
|
|
58
|
+
*/
|
|
59
|
+
async getAgents(variables) {
|
|
60
|
+
const result = await runOperation(client, agentsDoc, 'agents', { ...variables });
|
|
61
|
+
return result.data.agents;
|
|
62
|
+
},
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Backwards-compatible class form. New code should call `agentService(client)`.
|
|
67
|
+
*/
|
|
68
|
+
export class AgentService {
|
|
69
|
+
constructor(client) { this._svc = agentService(client); }
|
|
70
|
+
getAgent(variables) { return this._svc.getAgent(variables); }
|
|
71
|
+
agentConversationCreate(variables) { return this._svc.agentConversationCreate(variables); }
|
|
72
|
+
agentCreate(variables) { return this._svc.agentCreate(variables); }
|
|
73
|
+
agentDelete(variables) { return this._svc.agentDelete(variables); }
|
|
74
|
+
agentMessageCreate(variables) { return this._svc.agentMessageCreate(variables); }
|
|
75
|
+
agentUpdate(variables) { return this._svc.agentUpdate(variables); }
|
|
76
|
+
getAgents(variables) { return this._svc.getAgents(variables); }
|
|
77
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { runOperation } from './runOperation.js';
|
|
2
|
+
import { document as gqlApiKeyDoc } from '../generated/operations/gqlApiKey.js';
|
|
3
|
+
import { document as gqlApiKeyCreateDoc } from '../generated/operations/gqlApiKeyCreate.js';
|
|
4
|
+
import { document as gqlApiKeyDeleteDoc } from '../generated/operations/gqlApiKeyDelete.js';
|
|
5
|
+
import { document as gqlApiKeyUpdateDoc } from '../generated/operations/gqlApiKeyUpdate.js';
|
|
6
|
+
import { document as gqlApiKeysDoc } from '../generated/operations/gqlApiKeys.js';
|
|
7
|
+
import { document as restApiKeyDoc } from '../generated/operations/restApiKey.js';
|
|
8
|
+
import { document as restApiKeyCreateDoc } from '../generated/operations/restApiKeyCreate.js';
|
|
9
|
+
import { document as restApiKeyDeleteDoc } from '../generated/operations/restApiKeyDelete.js';
|
|
10
|
+
import { document as restApiKeyUpdateDoc } from '../generated/operations/restApiKeyUpdate.js';
|
|
11
|
+
import { document as restApiKeysDoc } from '../generated/operations/restApiKeys.js';
|
|
12
|
+
/**
|
|
13
|
+
Service for ApiKey-related GraphQL operations
|
|
14
|
+
*/
|
|
15
|
+
export function apiKeyService(client) {
|
|
16
|
+
return {
|
|
17
|
+
/**
|
|
18
|
+
Retrieves a specific GraphQL API key by its unique identifier.
|
|
19
|
+
*/
|
|
20
|
+
async getGqlApiKey(variables) {
|
|
21
|
+
const result = await runOperation(client, gqlApiKeyDoc, 'gqlApiKey', { ...variables });
|
|
22
|
+
return result.data.gqlApiKey;
|
|
23
|
+
},
|
|
24
|
+
/**
|
|
25
|
+
Creates a new GraphQL API key.
|
|
26
|
+
*/
|
|
27
|
+
async gqlApiKeyCreate(variables) {
|
|
28
|
+
const result = await runOperation(client, gqlApiKeyCreateDoc, 'gqlApiKeyCreate', { ...variables });
|
|
29
|
+
return result.data.gqlApiKeyCreate;
|
|
30
|
+
},
|
|
31
|
+
/**
|
|
32
|
+
Permanently deletes a GraphQL API key from the system.
|
|
33
|
+
*/
|
|
34
|
+
async gqlApiKeyDelete(variables) {
|
|
35
|
+
const result = await runOperation(client, gqlApiKeyDeleteDoc, 'gqlApiKeyDelete', { ...variables });
|
|
36
|
+
return result.data.gqlApiKeyDelete;
|
|
37
|
+
},
|
|
38
|
+
/**
|
|
39
|
+
Updates an existing GraphQL API key.
|
|
40
|
+
*/
|
|
41
|
+
async gqlApiKeyUpdate(variables) {
|
|
42
|
+
const result = await runOperation(client, gqlApiKeyUpdateDoc, 'gqlApiKeyUpdate', { ...variables });
|
|
43
|
+
return result.data.gqlApiKeyUpdate;
|
|
44
|
+
},
|
|
45
|
+
/**
|
|
46
|
+
Searches and retrieves GraphQL API keys based on filter criteria.
|
|
47
|
+
*/
|
|
48
|
+
async getGqlApiKeys(variables) {
|
|
49
|
+
const result = await runOperation(client, gqlApiKeysDoc, 'gqlApiKeys', { ...variables });
|
|
50
|
+
return result.data.gqlApiKeys;
|
|
51
|
+
},
|
|
52
|
+
/**
|
|
53
|
+
Retrieves a specific REST API key by its unique identifier.
|
|
54
|
+
*/
|
|
55
|
+
async getRestApiKey(variables) {
|
|
56
|
+
const result = await runOperation(client, restApiKeyDoc, 'restApiKey', { ...variables });
|
|
57
|
+
return result.data.restApiKey;
|
|
58
|
+
},
|
|
59
|
+
/**
|
|
60
|
+
Creates a new REST API key.
|
|
61
|
+
*/
|
|
62
|
+
async restApiKeyCreate(variables) {
|
|
63
|
+
const result = await runOperation(client, restApiKeyCreateDoc, 'restApiKeyCreate', { ...variables });
|
|
64
|
+
return result.data.restApiKeyCreate;
|
|
65
|
+
},
|
|
66
|
+
/**
|
|
67
|
+
Permanently deletes a REST API key from the system.
|
|
68
|
+
*/
|
|
69
|
+
async restApiKeyDelete(variables) {
|
|
70
|
+
const result = await runOperation(client, restApiKeyDeleteDoc, 'restApiKeyDelete', { ...variables });
|
|
71
|
+
return result.data.restApiKeyDelete;
|
|
72
|
+
},
|
|
73
|
+
/**
|
|
74
|
+
Updates an existing REST API key.
|
|
75
|
+
*/
|
|
76
|
+
async restApiKeyUpdate(variables) {
|
|
77
|
+
const result = await runOperation(client, restApiKeyUpdateDoc, 'restApiKeyUpdate', { ...variables });
|
|
78
|
+
return result.data.restApiKeyUpdate;
|
|
79
|
+
},
|
|
80
|
+
/**
|
|
81
|
+
Searches and retrieves REST API keys based on filter criteria.
|
|
82
|
+
*/
|
|
83
|
+
async getRestApiKeys(variables) {
|
|
84
|
+
const result = await runOperation(client, restApiKeysDoc, 'restApiKeys', { ...variables });
|
|
85
|
+
return result.data.restApiKeys;
|
|
86
|
+
},
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* Backwards-compatible class form. New code should call `apiKeyService(client)`.
|
|
91
|
+
*/
|
|
92
|
+
export class ApiKeyService {
|
|
93
|
+
constructor(client) { this._svc = apiKeyService(client); }
|
|
94
|
+
getGqlApiKey(variables) { return this._svc.getGqlApiKey(variables); }
|
|
95
|
+
gqlApiKeyCreate(variables) { return this._svc.gqlApiKeyCreate(variables); }
|
|
96
|
+
gqlApiKeyDelete(variables) { return this._svc.gqlApiKeyDelete(variables); }
|
|
97
|
+
gqlApiKeyUpdate(variables) { return this._svc.gqlApiKeyUpdate(variables); }
|
|
98
|
+
getGqlApiKeys(variables) { return this._svc.getGqlApiKeys(variables); }
|
|
99
|
+
getRestApiKey(variables) { return this._svc.getRestApiKey(variables); }
|
|
100
|
+
restApiKeyCreate(variables) { return this._svc.restApiKeyCreate(variables); }
|
|
101
|
+
restApiKeyDelete(variables) { return this._svc.restApiKeyDelete(variables); }
|
|
102
|
+
restApiKeyUpdate(variables) { return this._svc.restApiKeyUpdate(variables); }
|
|
103
|
+
getRestApiKeys(variables) { return this._svc.getRestApiKeys(variables); }
|
|
104
|
+
}
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
import { document as categoryBySlugDoc } from '../generated/operations/categoryBySlug.js';
|
|
2
|
+
import { document as categoryBySourceDoc } from '../generated/operations/categoryBySource.js';
|
|
3
|
+
import { document as categoryChildrenDoc } from '../generated/operations/categoryChildren.js';
|
|
4
|
+
import { document as categoryHierarchyDoc } from '../generated/operations/categoryHierarchy.js';
|
|
5
|
+
import { document as categoryMoveAboveDoc } from '../generated/operations/categoryMoveAbove.js';
|
|
6
|
+
import { document as categoryMoveBelowDoc } from '../generated/operations/categoryMoveBelow.js';
|
|
1
7
|
import { runOperation } from './runOperation.js';
|
|
2
8
|
import { document as categoriesDoc } from '../generated/operations/categories.js';
|
|
3
9
|
import { document as categoryDoc } from '../generated/operations/category.js';
|
|
@@ -97,6 +103,48 @@ export function categoryService(client) {
|
|
|
97
103
|
const result = await runOperation(client, attributeResultByCategoryIdDoc, 'attributeResultByCategoryId', { categoryId, input });
|
|
98
104
|
return result.data.attributeResultByCategoryId;
|
|
99
105
|
},
|
|
106
|
+
/**
|
|
107
|
+
Retrieve a single category by localized slug and language.
|
|
108
|
+
*/
|
|
109
|
+
async getCategoryBySlug(variables) {
|
|
110
|
+
const result = await runOperation(client, categoryBySlugDoc, 'categoryBySlug', { ...variables, language: variables.language ?? client.getDefaultLanguage() });
|
|
111
|
+
return result.data.categoryBySlug;
|
|
112
|
+
},
|
|
113
|
+
/**
|
|
114
|
+
Retrieve a single category by its external source / source identifier pair.
|
|
115
|
+
*/
|
|
116
|
+
async getCategoryBySource(variables) {
|
|
117
|
+
const result = await runOperation(client, categoryBySourceDoc, 'categoryBySource', { ...variables, language: variables.language ?? client.getDefaultLanguage() });
|
|
118
|
+
return result.data.categoryBySource;
|
|
119
|
+
},
|
|
120
|
+
/**
|
|
121
|
+
Retrieve the direct child categories of a category.
|
|
122
|
+
*/
|
|
123
|
+
async getCategoryChildren(variables) {
|
|
124
|
+
const result = await runOperation(client, categoryChildrenDoc, 'categoryChildren', { ...variables, language: variables.language ?? client.getDefaultLanguage() });
|
|
125
|
+
return result.data.categoryChildren;
|
|
126
|
+
},
|
|
127
|
+
/**
|
|
128
|
+
Retrieve the ancestor chain of a category, ordered from the category itself up to the root.
|
|
129
|
+
*/
|
|
130
|
+
async getCategoryHierarchy(variables) {
|
|
131
|
+
const result = await runOperation(client, categoryHierarchyDoc, 'categoryHierarchy', { ...variables, language: variables.language ?? client.getDefaultLanguage() });
|
|
132
|
+
return result.data.categoryHierarchy;
|
|
133
|
+
},
|
|
134
|
+
/**
|
|
135
|
+
Reorder a category so it appears immediately before another category within the same parent.
|
|
136
|
+
*/
|
|
137
|
+
async categoryMoveAbove(variables) {
|
|
138
|
+
const result = await runOperation(client, categoryMoveAboveDoc, 'categoryMoveAbove', { ...variables, language: variables.language ?? client.getDefaultLanguage() });
|
|
139
|
+
return result.data.categoryMoveAbove;
|
|
140
|
+
},
|
|
141
|
+
/**
|
|
142
|
+
Reorder a category so it appears immediately after another category within the same parent.
|
|
143
|
+
*/
|
|
144
|
+
async categoryMoveBelow(variables) {
|
|
145
|
+
const result = await runOperation(client, categoryMoveBelowDoc, 'categoryMoveBelow', { ...variables, language: variables.language ?? client.getDefaultLanguage() });
|
|
146
|
+
return result.data.categoryMoveBelow;
|
|
147
|
+
},
|
|
100
148
|
};
|
|
101
149
|
}
|
|
102
150
|
/**
|
|
@@ -146,4 +194,10 @@ export class CategoryService {
|
|
|
146
194
|
* @param input Attribute result search input
|
|
147
195
|
*/
|
|
148
196
|
getAttributeResultByCategoryId(categoryId, input) { return this._svc.getAttributeResultByCategoryId(categoryId, input); }
|
|
197
|
+
getCategoryBySlug(variables) { return this._svc.getCategoryBySlug(variables); }
|
|
198
|
+
getCategoryBySource(variables) { return this._svc.getCategoryBySource(variables); }
|
|
199
|
+
getCategoryChildren(variables) { return this._svc.getCategoryChildren(variables); }
|
|
200
|
+
getCategoryHierarchy(variables) { return this._svc.getCategoryHierarchy(variables); }
|
|
201
|
+
categoryMoveAbove(variables) { return this._svc.categoryMoveAbove(variables); }
|
|
202
|
+
categoryMoveBelow(variables) { return this._svc.categoryMoveBelow(variables); }
|
|
149
203
|
}
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
import { document as clusterConfigSettingDoc } from '../generated/operations/clusterConfigSetting.js';
|
|
2
|
+
import { document as clusterConfigSettingCreateDoc } from '../generated/operations/clusterConfigSettingCreate.js';
|
|
3
|
+
import { document as clusterConfigSettingDeleteDoc } from '../generated/operations/clusterConfigSettingDelete.js';
|
|
4
|
+
import { document as clusterConfigSettingUpdateDoc } from '../generated/operations/clusterConfigSettingUpdate.js';
|
|
5
|
+
import { document as clusterConfigUpdateDoc } from '../generated/operations/clusterConfigUpdate.js';
|
|
6
|
+
import { document as clusterConfigsPaginatedDoc } from '../generated/operations/clusterConfigsPaginated.js';
|
|
1
7
|
import { runOperation } from './runOperation.js';
|
|
2
8
|
import { document as clusterConfigDoc } from '../generated/operations/clusterConfig.js';
|
|
3
9
|
import { document as clusterConfigsDoc } from '../generated/operations/clusterConfigs.js';
|
|
@@ -45,6 +51,48 @@ export function clusterConfigService(client) {
|
|
|
45
51
|
const result = await runOperation(client, clusterConfigUpdateSettingDoc, 'clusterConfigUpdateSetting', { clusterConfigId, settingId, input });
|
|
46
52
|
return result.data.clusterConfigUpdateSetting;
|
|
47
53
|
},
|
|
54
|
+
/**
|
|
55
|
+
Retrieve a single cluster configuration setting by global identifier.
|
|
56
|
+
*/
|
|
57
|
+
async getClusterConfigSetting(variables) {
|
|
58
|
+
const result = await runOperation(client, clusterConfigSettingDoc, 'clusterConfigSetting', { ...variables });
|
|
59
|
+
return result.data.clusterConfigSetting;
|
|
60
|
+
},
|
|
61
|
+
/**
|
|
62
|
+
Create a new setting on the cluster configuration identified by the supplied global identifier.
|
|
63
|
+
*/
|
|
64
|
+
async clusterConfigSettingCreate(variables) {
|
|
65
|
+
const result = await runOperation(client, clusterConfigSettingCreateDoc, 'clusterConfigSettingCreate', { ...variables });
|
|
66
|
+
return result.data.clusterConfigSettingCreate;
|
|
67
|
+
},
|
|
68
|
+
/**
|
|
69
|
+
Remove a cluster configuration setting identified by global identifier.
|
|
70
|
+
*/
|
|
71
|
+
async clusterConfigSettingDelete(variables) {
|
|
72
|
+
const result = await runOperation(client, clusterConfigSettingDeleteDoc, 'clusterConfigSettingDelete', { ...variables });
|
|
73
|
+
return result.data.clusterConfigSettingDelete;
|
|
74
|
+
},
|
|
75
|
+
/**
|
|
76
|
+
Apply a partial update to a cluster configuration setting identified by global identifier.
|
|
77
|
+
*/
|
|
78
|
+
async clusterConfigSettingUpdate(variables) {
|
|
79
|
+
const result = await runOperation(client, clusterConfigSettingUpdateDoc, 'clusterConfigSettingUpdate', { ...variables });
|
|
80
|
+
return result.data.clusterConfigSettingUpdate;
|
|
81
|
+
},
|
|
82
|
+
/**
|
|
83
|
+
Apply a partial update to an existing cluster configuration.
|
|
84
|
+
*/
|
|
85
|
+
async clusterConfigUpdate(variables) {
|
|
86
|
+
const result = await runOperation(client, clusterConfigUpdateDoc, 'clusterConfigUpdate', { ...variables });
|
|
87
|
+
return result.data.clusterConfigUpdate;
|
|
88
|
+
},
|
|
89
|
+
/**
|
|
90
|
+
Search cluster configurations with filtering and pagination.
|
|
91
|
+
*/
|
|
92
|
+
async getClusterConfigsPaginated(variables) {
|
|
93
|
+
const result = await runOperation(client, clusterConfigsPaginatedDoc, 'clusterConfigsPaginated', { ...variables });
|
|
94
|
+
return result.data.clusterConfigsPaginated;
|
|
95
|
+
},
|
|
48
96
|
};
|
|
49
97
|
}
|
|
50
98
|
/**
|
|
@@ -73,4 +121,10 @@ export class ClusterConfigService {
|
|
|
73
121
|
* @param input Cluster config setting update input
|
|
74
122
|
*/
|
|
75
123
|
updateClusterConfigSetting(clusterConfigId, settingId, input) { return this._svc.updateClusterConfigSetting(clusterConfigId, settingId, input); }
|
|
124
|
+
getClusterConfigSetting(variables) { return this._svc.getClusterConfigSetting(variables); }
|
|
125
|
+
clusterConfigSettingCreate(variables) { return this._svc.clusterConfigSettingCreate(variables); }
|
|
126
|
+
clusterConfigSettingDelete(variables) { return this._svc.clusterConfigSettingDelete(variables); }
|
|
127
|
+
clusterConfigSettingUpdate(variables) { return this._svc.clusterConfigSettingUpdate(variables); }
|
|
128
|
+
clusterConfigUpdate(variables) { return this._svc.clusterConfigUpdate(variables); }
|
|
129
|
+
getClusterConfigsPaginated(variables) { return this._svc.getClusterConfigsPaginated(variables); }
|
|
76
130
|
}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { runOperation } from './runOperation.js';
|
|
2
|
+
import { document as clusterOptionDoc } from '../generated/operations/clusterOption.js';
|
|
3
|
+
import { document as clusterOptionAssignProductsDoc } from '../generated/operations/clusterOptionAssignProducts.js';
|
|
4
|
+
import { document as clusterOptionMoveAboveDoc } from '../generated/operations/clusterOptionMoveAbove.js';
|
|
5
|
+
import { document as clusterOptionMoveBelowDoc } from '../generated/operations/clusterOptionMoveBelow.js';
|
|
6
|
+
import { document as clusterOptionProductCreateDoc } from '../generated/operations/clusterOptionProductCreate.js';
|
|
7
|
+
import { document as clusterOptionProductDeleteDoc } from '../generated/operations/clusterOptionProductDelete.js';
|
|
8
|
+
import { document as clusterOptionProductUpdateDoc } from '../generated/operations/clusterOptionProductUpdate.js';
|
|
9
|
+
import { document as clusterOptionRemoveProductsDoc } from '../generated/operations/clusterOptionRemoveProducts.js';
|
|
10
|
+
import { document as clusterOptionsDoc } from '../generated/operations/clusterOptions.js';
|
|
11
|
+
/**
|
|
12
|
+
Service for ClusterOption-related GraphQL operations
|
|
13
|
+
*/
|
|
14
|
+
export function clusterOptionService(client) {
|
|
15
|
+
return {
|
|
16
|
+
/**
|
|
17
|
+
Retrieve a single cluster option by global identifier.
|
|
18
|
+
*/
|
|
19
|
+
async getClusterOption(variables) {
|
|
20
|
+
const result = await runOperation(client, clusterOptionDoc, 'clusterOption', { ...variables, language: variables.language ?? client.getDefaultLanguage() });
|
|
21
|
+
return result.data.clusterOption;
|
|
22
|
+
},
|
|
23
|
+
/**
|
|
24
|
+
Attach existing products to a cluster option so they become selectable for it.
|
|
25
|
+
*/
|
|
26
|
+
async clusterOptionAssignProducts(variables) {
|
|
27
|
+
const result = await runOperation(client, clusterOptionAssignProductsDoc, 'clusterOptionAssignProducts', { ...variables, language: variables.language ?? client.getDefaultLanguage() });
|
|
28
|
+
return result.data.clusterOptionAssignProducts;
|
|
29
|
+
},
|
|
30
|
+
/**
|
|
31
|
+
Reorder a cluster option within its cluster so it appears immediately before another option.
|
|
32
|
+
*/
|
|
33
|
+
async clusterOptionMoveAbove(variables) {
|
|
34
|
+
const result = await runOperation(client, clusterOptionMoveAboveDoc, 'clusterOptionMoveAbove', { ...variables, language: variables.language ?? client.getDefaultLanguage() });
|
|
35
|
+
return result.data.clusterOptionMoveAbove;
|
|
36
|
+
},
|
|
37
|
+
/**
|
|
38
|
+
Reorder a cluster option within its cluster so it appears immediately after another option.
|
|
39
|
+
*/
|
|
40
|
+
async clusterOptionMoveBelow(variables) {
|
|
41
|
+
const result = await runOperation(client, clusterOptionMoveBelowDoc, 'clusterOptionMoveBelow', { ...variables, language: variables.language ?? client.getDefaultLanguage() });
|
|
42
|
+
return result.data.clusterOptionMoveBelow;
|
|
43
|
+
},
|
|
44
|
+
/**
|
|
45
|
+
Create a product directly within a cluster option.
|
|
46
|
+
*/
|
|
47
|
+
async clusterOptionProductCreate(variables) {
|
|
48
|
+
const result = await runOperation(client, clusterOptionProductCreateDoc, 'clusterOptionProductCreate', { ...variables, language: variables.language ?? client.getDefaultLanguage() });
|
|
49
|
+
return result.data.clusterOptionProductCreate;
|
|
50
|
+
},
|
|
51
|
+
/**
|
|
52
|
+
Remove a product attached to a cluster option from the catalogue.
|
|
53
|
+
*/
|
|
54
|
+
async clusterOptionProductDelete(variables) {
|
|
55
|
+
const result = await runOperation(client, clusterOptionProductDeleteDoc, 'clusterOptionProductDelete', { ...variables });
|
|
56
|
+
return result.data.clusterOptionProductDelete;
|
|
57
|
+
},
|
|
58
|
+
/**
|
|
59
|
+
Apply a partial update to a product attached to a cluster option.
|
|
60
|
+
*/
|
|
61
|
+
async clusterOptionProductUpdate(variables) {
|
|
62
|
+
const result = await runOperation(client, clusterOptionProductUpdateDoc, 'clusterOptionProductUpdate', { ...variables, language: variables.language ?? client.getDefaultLanguage() });
|
|
63
|
+
return result.data.clusterOptionProductUpdate;
|
|
64
|
+
},
|
|
65
|
+
/**
|
|
66
|
+
Detach products from a cluster option.
|
|
67
|
+
*/
|
|
68
|
+
async clusterOptionRemoveProducts(variables) {
|
|
69
|
+
const result = await runOperation(client, clusterOptionRemoveProductsDoc, 'clusterOptionRemoveProducts', { ...variables, language: variables.language ?? client.getDefaultLanguage() });
|
|
70
|
+
return result.data.clusterOptionRemoveProducts;
|
|
71
|
+
},
|
|
72
|
+
/**
|
|
73
|
+
Search cluster options with filtering and pagination.
|
|
74
|
+
*/
|
|
75
|
+
async getClusterOptions(variables) {
|
|
76
|
+
const result = await runOperation(client, clusterOptionsDoc, 'clusterOptions', { ...variables });
|
|
77
|
+
return result.data.clusterOptions;
|
|
78
|
+
},
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Backwards-compatible class form. New code should call `clusterOptionService(client)`.
|
|
83
|
+
*/
|
|
84
|
+
export class ClusterOptionService {
|
|
85
|
+
constructor(client) { this._svc = clusterOptionService(client); }
|
|
86
|
+
getClusterOption(variables) { return this._svc.getClusterOption(variables); }
|
|
87
|
+
clusterOptionAssignProducts(variables) { return this._svc.clusterOptionAssignProducts(variables); }
|
|
88
|
+
clusterOptionMoveAbove(variables) { return this._svc.clusterOptionMoveAbove(variables); }
|
|
89
|
+
clusterOptionMoveBelow(variables) { return this._svc.clusterOptionMoveBelow(variables); }
|
|
90
|
+
clusterOptionProductCreate(variables) { return this._svc.clusterOptionProductCreate(variables); }
|
|
91
|
+
clusterOptionProductDelete(variables) { return this._svc.clusterOptionProductDelete(variables); }
|
|
92
|
+
clusterOptionProductUpdate(variables) { return this._svc.clusterOptionProductUpdate(variables); }
|
|
93
|
+
clusterOptionRemoveProducts(variables) { return this._svc.clusterOptionRemoveProducts(variables); }
|
|
94
|
+
getClusterOptions(variables) { return this._svc.getClusterOptions(variables); }
|
|
95
|
+
}
|
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
import { document as clusterAddToCategoryDoc } from '../generated/operations/clusterAddToCategory.js';
|
|
2
|
+
import { document as clusterAssignProductDoc } from '../generated/operations/clusterAssignProduct.js';
|
|
3
|
+
import { document as clusterCategoryMoveAboveDoc } from '../generated/operations/clusterCategoryMoveAbove.js';
|
|
4
|
+
import { document as clusterCategoryMoveBelowDoc } from '../generated/operations/clusterCategoryMoveBelow.js';
|
|
5
|
+
import { document as clusterRemoveFromCategoryDoc } from '../generated/operations/clusterRemoveFromCategory.js';
|
|
6
|
+
import { document as clusterSetDefaultCategoryDoc } from '../generated/operations/clusterSetDefaultCategory.js';
|
|
7
|
+
import { document as clusterUnassignProductDoc } from '../generated/operations/clusterUnassignProduct.js';
|
|
8
|
+
import { document as clustersDoc } from '../generated/operations/clusters.js';
|
|
9
|
+
import { document as clustersBulkAddToCategoryDoc } from '../generated/operations/clustersBulkAddToCategory.js';
|
|
10
|
+
import { document as clustersBulkRemoveFromCategoryDoc } from '../generated/operations/clustersBulkRemoveFromCategory.js';
|
|
1
11
|
import { runOperation } from './runOperation.js';
|
|
2
12
|
import { document as clusterConfigDoc } from '../generated/operations/clusterConfig.js';
|
|
3
13
|
import { document as clusterDoc } from '../generated/operations/cluster.js';
|
|
@@ -64,6 +74,76 @@ export function clusterService(client) {
|
|
|
64
74
|
const result = await runOperation(client, clusterDeleteDoc, 'clusterDelete', variables);
|
|
65
75
|
return result.data.clusterDelete;
|
|
66
76
|
},
|
|
77
|
+
/**
|
|
78
|
+
clusterAddToCategory operation
|
|
79
|
+
*/
|
|
80
|
+
async clusterAddToCategory(variables) {
|
|
81
|
+
const result = await runOperation(client, clusterAddToCategoryDoc, 'clusterAddToCategory', { ...variables });
|
|
82
|
+
return result.data.clusterAddToCategory;
|
|
83
|
+
},
|
|
84
|
+
/**
|
|
85
|
+
Attach a single existing product to a cluster. The product will be detached from a category or another cluster.
|
|
86
|
+
*/
|
|
87
|
+
async clusterAssignProduct(variables) {
|
|
88
|
+
const result = await runOperation(client, clusterAssignProductDoc, 'clusterAssignProduct', { ...variables, language: variables.language ?? client.getDefaultLanguage() });
|
|
89
|
+
return result.data.clusterAssignProduct;
|
|
90
|
+
},
|
|
91
|
+
/**
|
|
92
|
+
Reorder a cluster within its category so it appears immediately before another cluster.
|
|
93
|
+
*/
|
|
94
|
+
async clusterCategoryMoveAbove(variables) {
|
|
95
|
+
const result = await runOperation(client, clusterCategoryMoveAboveDoc, 'clusterCategoryMoveAbove', { ...variables });
|
|
96
|
+
return result.data.clusterCategoryMoveAbove;
|
|
97
|
+
},
|
|
98
|
+
/**
|
|
99
|
+
Reorder a cluster within its category so it appears immediately after another cluster.
|
|
100
|
+
*/
|
|
101
|
+
async clusterCategoryMoveBelow(variables) {
|
|
102
|
+
const result = await runOperation(client, clusterCategoryMoveBelowDoc, 'clusterCategoryMoveBelow', { ...variables });
|
|
103
|
+
return result.data.clusterCategoryMoveBelow;
|
|
104
|
+
},
|
|
105
|
+
/**
|
|
106
|
+
clusterRemoveFromCategory operation
|
|
107
|
+
*/
|
|
108
|
+
async clusterRemoveFromCategory(variables) {
|
|
109
|
+
const result = await runOperation(client, clusterRemoveFromCategoryDoc, 'clusterRemoveFromCategory', { ...variables });
|
|
110
|
+
return result.data.clusterRemoveFromCategory;
|
|
111
|
+
},
|
|
112
|
+
/**
|
|
113
|
+
clusterSetDefaultCategory operation
|
|
114
|
+
*/
|
|
115
|
+
async clusterSetDefaultCategory(variables) {
|
|
116
|
+
const result = await runOperation(client, clusterSetDefaultCategoryDoc, 'clusterSetDefaultCategory', { ...variables, language: variables.language ?? client.getDefaultLanguage() });
|
|
117
|
+
return result.data.clusterSetDefaultCategory;
|
|
118
|
+
},
|
|
119
|
+
/**
|
|
120
|
+
Detach a single product from its current cluster.
|
|
121
|
+
*/
|
|
122
|
+
async clusterUnassignProduct(variables) {
|
|
123
|
+
const result = await runOperation(client, clusterUnassignProductDoc, 'clusterUnassignProduct', { ...variables, language: variables.language ?? client.getDefaultLanguage() });
|
|
124
|
+
return result.data.clusterUnassignProduct;
|
|
125
|
+
},
|
|
126
|
+
/**
|
|
127
|
+
Search the catalogue for clusters matching the supplied criteria.
|
|
128
|
+
*/
|
|
129
|
+
async getClusters(variables) {
|
|
130
|
+
const result = await runOperation(client, clustersDoc, 'clusters', { ...variables });
|
|
131
|
+
return result.data.clusters;
|
|
132
|
+
},
|
|
133
|
+
/**
|
|
134
|
+
clustersBulkAddToCategory operation
|
|
135
|
+
*/
|
|
136
|
+
async clustersBulkAddToCategory(variables) {
|
|
137
|
+
const result = await runOperation(client, clustersBulkAddToCategoryDoc, 'clustersBulkAddToCategory', { ...variables });
|
|
138
|
+
return result.data.clustersBulkAddToCategory;
|
|
139
|
+
},
|
|
140
|
+
/**
|
|
141
|
+
clustersBulkRemoveFromCategory operation
|
|
142
|
+
*/
|
|
143
|
+
async clustersBulkRemoveFromCategory(variables) {
|
|
144
|
+
const result = await runOperation(client, clustersBulkRemoveFromCategoryDoc, 'clustersBulkRemoveFromCategory', { ...variables });
|
|
145
|
+
return result.data.clustersBulkRemoveFromCategory;
|
|
146
|
+
},
|
|
67
147
|
};
|
|
68
148
|
}
|
|
69
149
|
/**
|
|
@@ -96,4 +176,14 @@ export class ClusterService {
|
|
|
96
176
|
* @param variables Cluster delete variables
|
|
97
177
|
*/
|
|
98
178
|
deleteCluster(variables) { return this._svc.deleteCluster(variables); }
|
|
179
|
+
clusterAddToCategory(variables) { return this._svc.clusterAddToCategory(variables); }
|
|
180
|
+
clusterAssignProduct(variables) { return this._svc.clusterAssignProduct(variables); }
|
|
181
|
+
clusterCategoryMoveAbove(variables) { return this._svc.clusterCategoryMoveAbove(variables); }
|
|
182
|
+
clusterCategoryMoveBelow(variables) { return this._svc.clusterCategoryMoveBelow(variables); }
|
|
183
|
+
clusterRemoveFromCategory(variables) { return this._svc.clusterRemoveFromCategory(variables); }
|
|
184
|
+
clusterSetDefaultCategory(variables) { return this._svc.clusterSetDefaultCategory(variables); }
|
|
185
|
+
clusterUnassignProduct(variables) { return this._svc.clusterUnassignProduct(variables); }
|
|
186
|
+
getClusters(variables) { return this._svc.getClusters(variables); }
|
|
187
|
+
clustersBulkAddToCategory(variables) { return this._svc.clustersBulkAddToCategory(variables); }
|
|
188
|
+
clustersBulkRemoveFromCategory(variables) { return this._svc.clustersBulkRemoveFromCategory(variables); }
|
|
99
189
|
}
|