@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,82 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AgentService = void 0;
|
|
4
|
+
exports.agentService = agentService;
|
|
5
|
+
const runOperation_1 = require("./runOperation");
|
|
6
|
+
const agent_1 = require("../generated/operations/agent");
|
|
7
|
+
const agentConversationCreate_1 = require("../generated/operations/agentConversationCreate");
|
|
8
|
+
const agentCreate_1 = require("../generated/operations/agentCreate");
|
|
9
|
+
const agentDelete_1 = require("../generated/operations/agentDelete");
|
|
10
|
+
const agentMessageCreate_1 = require("../generated/operations/agentMessageCreate");
|
|
11
|
+
const agentUpdate_1 = require("../generated/operations/agentUpdate");
|
|
12
|
+
const agents_1 = require("../generated/operations/agents");
|
|
13
|
+
/**
|
|
14
|
+
Service for Agent-related GraphQL operations
|
|
15
|
+
*/
|
|
16
|
+
function agentService(client) {
|
|
17
|
+
return {
|
|
18
|
+
/**
|
|
19
|
+
Retrieve a single agent by its unique identifier.
|
|
20
|
+
*/
|
|
21
|
+
async getAgent(variables) {
|
|
22
|
+
const result = await (0, runOperation_1.runOperation)(client, agent_1.document, 'agent', { ...variables });
|
|
23
|
+
return result.data.agent;
|
|
24
|
+
},
|
|
25
|
+
/**
|
|
26
|
+
Start a new conversation with an agent.
|
|
27
|
+
*/
|
|
28
|
+
async agentConversationCreate(variables) {
|
|
29
|
+
const result = await (0, runOperation_1.runOperation)(client, agentConversationCreate_1.document, 'agentConversationCreate', { ...variables });
|
|
30
|
+
return result.data.agentConversationCreate;
|
|
31
|
+
},
|
|
32
|
+
/**
|
|
33
|
+
Create a new agent with the specified configuration.
|
|
34
|
+
*/
|
|
35
|
+
async agentCreate(variables) {
|
|
36
|
+
const result = await (0, runOperation_1.runOperation)(client, agentCreate_1.document, 'agentCreate', { ...variables });
|
|
37
|
+
return result.data.agentCreate;
|
|
38
|
+
},
|
|
39
|
+
/**
|
|
40
|
+
Delete an agent by its unique identifier.
|
|
41
|
+
*/
|
|
42
|
+
async agentDelete(variables) {
|
|
43
|
+
const result = await (0, runOperation_1.runOperation)(client, agentDelete_1.document, 'agentDelete', { ...variables });
|
|
44
|
+
return result.data.agentDelete;
|
|
45
|
+
},
|
|
46
|
+
/**
|
|
47
|
+
Send a message to an agent.
|
|
48
|
+
*/
|
|
49
|
+
async agentMessageCreate(variables) {
|
|
50
|
+
const result = await (0, runOperation_1.runOperation)(client, agentMessageCreate_1.document, 'agentMessageCreate', { ...variables });
|
|
51
|
+
return result.data.agentMessageCreate;
|
|
52
|
+
},
|
|
53
|
+
/**
|
|
54
|
+
Update an existing agent's configuration.
|
|
55
|
+
*/
|
|
56
|
+
async agentUpdate(variables) {
|
|
57
|
+
const result = await (0, runOperation_1.runOperation)(client, agentUpdate_1.document, 'agentUpdate', { ...variables });
|
|
58
|
+
return result.data.agentUpdate;
|
|
59
|
+
},
|
|
60
|
+
/**
|
|
61
|
+
Search and retrieve agents with filtering and pagination.
|
|
62
|
+
*/
|
|
63
|
+
async getAgents(variables) {
|
|
64
|
+
const result = await (0, runOperation_1.runOperation)(client, agents_1.document, 'agents', { ...variables });
|
|
65
|
+
return result.data.agents;
|
|
66
|
+
},
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Backwards-compatible class form. New code should call `agentService(client)`.
|
|
71
|
+
*/
|
|
72
|
+
class AgentService {
|
|
73
|
+
constructor(client) { this._svc = agentService(client); }
|
|
74
|
+
getAgent(variables) { return this._svc.getAgent(variables); }
|
|
75
|
+
agentConversationCreate(variables) { return this._svc.agentConversationCreate(variables); }
|
|
76
|
+
agentCreate(variables) { return this._svc.agentCreate(variables); }
|
|
77
|
+
agentDelete(variables) { return this._svc.agentDelete(variables); }
|
|
78
|
+
agentMessageCreate(variables) { return this._svc.agentMessageCreate(variables); }
|
|
79
|
+
agentUpdate(variables) { return this._svc.agentUpdate(variables); }
|
|
80
|
+
getAgents(variables) { return this._svc.getAgents(variables); }
|
|
81
|
+
}
|
|
82
|
+
exports.AgentService = AgentService;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { GqlApiKey } from '../type/GqlApiKey';
|
|
2
|
+
import { GqlApiKeyResponse } from '../type/GqlApiKeyResponse';
|
|
3
|
+
import { RestApiKey } from '../type/RestApiKey';
|
|
4
|
+
import { RestApiKeyResponse } from '../type/RestApiKeyResponse';
|
|
5
|
+
import { GraphQLClient } from '../client/GraphQLClient';
|
|
6
|
+
import type { GqlApiKeyCreateVariables, GqlApiKeyDeleteVariables, GqlApiKeyUpdateVariables, GqlApiKeyVariables, GqlApiKeysVariables, RestApiKeyCreateVariables, RestApiKeyDeleteVariables, RestApiKeyUpdateVariables, RestApiKeyVariables, RestApiKeysVariables } from '../generated/operationVariables';
|
|
7
|
+
/**
|
|
8
|
+
Service for ApiKey-related GraphQL operations
|
|
9
|
+
*/
|
|
10
|
+
export declare function apiKeyService(client: GraphQLClient): {
|
|
11
|
+
/**
|
|
12
|
+
Retrieves a specific GraphQL API key by its unique identifier.
|
|
13
|
+
*/
|
|
14
|
+
getGqlApiKey(variables: GqlApiKeyVariables): Promise<GqlApiKey>;
|
|
15
|
+
/**
|
|
16
|
+
Creates a new GraphQL API key.
|
|
17
|
+
*/
|
|
18
|
+
gqlApiKeyCreate(variables: GqlApiKeyCreateVariables): Promise<GqlApiKey>;
|
|
19
|
+
/**
|
|
20
|
+
Permanently deletes a GraphQL API key from the system.
|
|
21
|
+
*/
|
|
22
|
+
gqlApiKeyDelete(variables: GqlApiKeyDeleteVariables): Promise<boolean>;
|
|
23
|
+
/**
|
|
24
|
+
Updates an existing GraphQL API key.
|
|
25
|
+
*/
|
|
26
|
+
gqlApiKeyUpdate(variables: GqlApiKeyUpdateVariables): Promise<GqlApiKey>;
|
|
27
|
+
/**
|
|
28
|
+
Searches and retrieves GraphQL API keys based on filter criteria.
|
|
29
|
+
*/
|
|
30
|
+
getGqlApiKeys(variables: GqlApiKeysVariables): Promise<GqlApiKeyResponse>;
|
|
31
|
+
/**
|
|
32
|
+
Retrieves a specific REST API key by its unique identifier.
|
|
33
|
+
*/
|
|
34
|
+
getRestApiKey(variables: RestApiKeyVariables): Promise<RestApiKey>;
|
|
35
|
+
/**
|
|
36
|
+
Creates a new REST API key.
|
|
37
|
+
*/
|
|
38
|
+
restApiKeyCreate(variables: RestApiKeyCreateVariables): Promise<RestApiKey>;
|
|
39
|
+
/**
|
|
40
|
+
Permanently deletes a REST API key from the system.
|
|
41
|
+
*/
|
|
42
|
+
restApiKeyDelete(variables: RestApiKeyDeleteVariables): Promise<boolean>;
|
|
43
|
+
/**
|
|
44
|
+
Updates an existing REST API key.
|
|
45
|
+
*/
|
|
46
|
+
restApiKeyUpdate(variables: RestApiKeyUpdateVariables): Promise<RestApiKey>;
|
|
47
|
+
/**
|
|
48
|
+
Searches and retrieves REST API keys based on filter criteria.
|
|
49
|
+
*/
|
|
50
|
+
getRestApiKeys(variables: RestApiKeysVariables): Promise<RestApiKeyResponse>;
|
|
51
|
+
};
|
|
52
|
+
/**
|
|
53
|
+
* Backwards-compatible class form. New code should call `apiKeyService(client)`.
|
|
54
|
+
*/
|
|
55
|
+
export declare class ApiKeyService {
|
|
56
|
+
private readonly _svc;
|
|
57
|
+
constructor(client: GraphQLClient);
|
|
58
|
+
getGqlApiKey(variables: GqlApiKeyVariables): Promise<GqlApiKey>;
|
|
59
|
+
gqlApiKeyCreate(variables: GqlApiKeyCreateVariables): Promise<GqlApiKey>;
|
|
60
|
+
gqlApiKeyDelete(variables: GqlApiKeyDeleteVariables): Promise<boolean>;
|
|
61
|
+
gqlApiKeyUpdate(variables: GqlApiKeyUpdateVariables): Promise<GqlApiKey>;
|
|
62
|
+
getGqlApiKeys(variables: GqlApiKeysVariables): Promise<GqlApiKeyResponse>;
|
|
63
|
+
getRestApiKey(variables: RestApiKeyVariables): Promise<RestApiKey>;
|
|
64
|
+
restApiKeyCreate(variables: RestApiKeyCreateVariables): Promise<RestApiKey>;
|
|
65
|
+
restApiKeyDelete(variables: RestApiKeyDeleteVariables): Promise<boolean>;
|
|
66
|
+
restApiKeyUpdate(variables: RestApiKeyUpdateVariables): Promise<RestApiKey>;
|
|
67
|
+
getRestApiKeys(variables: RestApiKeysVariables): Promise<RestApiKeyResponse>;
|
|
68
|
+
}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ApiKeyService = void 0;
|
|
4
|
+
exports.apiKeyService = apiKeyService;
|
|
5
|
+
const runOperation_1 = require("./runOperation");
|
|
6
|
+
const gqlApiKey_1 = require("../generated/operations/gqlApiKey");
|
|
7
|
+
const gqlApiKeyCreate_1 = require("../generated/operations/gqlApiKeyCreate");
|
|
8
|
+
const gqlApiKeyDelete_1 = require("../generated/operations/gqlApiKeyDelete");
|
|
9
|
+
const gqlApiKeyUpdate_1 = require("../generated/operations/gqlApiKeyUpdate");
|
|
10
|
+
const gqlApiKeys_1 = require("../generated/operations/gqlApiKeys");
|
|
11
|
+
const restApiKey_1 = require("../generated/operations/restApiKey");
|
|
12
|
+
const restApiKeyCreate_1 = require("../generated/operations/restApiKeyCreate");
|
|
13
|
+
const restApiKeyDelete_1 = require("../generated/operations/restApiKeyDelete");
|
|
14
|
+
const restApiKeyUpdate_1 = require("../generated/operations/restApiKeyUpdate");
|
|
15
|
+
const restApiKeys_1 = require("../generated/operations/restApiKeys");
|
|
16
|
+
/**
|
|
17
|
+
Service for ApiKey-related GraphQL operations
|
|
18
|
+
*/
|
|
19
|
+
function apiKeyService(client) {
|
|
20
|
+
return {
|
|
21
|
+
/**
|
|
22
|
+
Retrieves a specific GraphQL API key by its unique identifier.
|
|
23
|
+
*/
|
|
24
|
+
async getGqlApiKey(variables) {
|
|
25
|
+
const result = await (0, runOperation_1.runOperation)(client, gqlApiKey_1.document, 'gqlApiKey', { ...variables });
|
|
26
|
+
return result.data.gqlApiKey;
|
|
27
|
+
},
|
|
28
|
+
/**
|
|
29
|
+
Creates a new GraphQL API key.
|
|
30
|
+
*/
|
|
31
|
+
async gqlApiKeyCreate(variables) {
|
|
32
|
+
const result = await (0, runOperation_1.runOperation)(client, gqlApiKeyCreate_1.document, 'gqlApiKeyCreate', { ...variables });
|
|
33
|
+
return result.data.gqlApiKeyCreate;
|
|
34
|
+
},
|
|
35
|
+
/**
|
|
36
|
+
Permanently deletes a GraphQL API key from the system.
|
|
37
|
+
*/
|
|
38
|
+
async gqlApiKeyDelete(variables) {
|
|
39
|
+
const result = await (0, runOperation_1.runOperation)(client, gqlApiKeyDelete_1.document, 'gqlApiKeyDelete', { ...variables });
|
|
40
|
+
return result.data.gqlApiKeyDelete;
|
|
41
|
+
},
|
|
42
|
+
/**
|
|
43
|
+
Updates an existing GraphQL API key.
|
|
44
|
+
*/
|
|
45
|
+
async gqlApiKeyUpdate(variables) {
|
|
46
|
+
const result = await (0, runOperation_1.runOperation)(client, gqlApiKeyUpdate_1.document, 'gqlApiKeyUpdate', { ...variables });
|
|
47
|
+
return result.data.gqlApiKeyUpdate;
|
|
48
|
+
},
|
|
49
|
+
/**
|
|
50
|
+
Searches and retrieves GraphQL API keys based on filter criteria.
|
|
51
|
+
*/
|
|
52
|
+
async getGqlApiKeys(variables) {
|
|
53
|
+
const result = await (0, runOperation_1.runOperation)(client, gqlApiKeys_1.document, 'gqlApiKeys', { ...variables });
|
|
54
|
+
return result.data.gqlApiKeys;
|
|
55
|
+
},
|
|
56
|
+
/**
|
|
57
|
+
Retrieves a specific REST API key by its unique identifier.
|
|
58
|
+
*/
|
|
59
|
+
async getRestApiKey(variables) {
|
|
60
|
+
const result = await (0, runOperation_1.runOperation)(client, restApiKey_1.document, 'restApiKey', { ...variables });
|
|
61
|
+
return result.data.restApiKey;
|
|
62
|
+
},
|
|
63
|
+
/**
|
|
64
|
+
Creates a new REST API key.
|
|
65
|
+
*/
|
|
66
|
+
async restApiKeyCreate(variables) {
|
|
67
|
+
const result = await (0, runOperation_1.runOperation)(client, restApiKeyCreate_1.document, 'restApiKeyCreate', { ...variables });
|
|
68
|
+
return result.data.restApiKeyCreate;
|
|
69
|
+
},
|
|
70
|
+
/**
|
|
71
|
+
Permanently deletes a REST API key from the system.
|
|
72
|
+
*/
|
|
73
|
+
async restApiKeyDelete(variables) {
|
|
74
|
+
const result = await (0, runOperation_1.runOperation)(client, restApiKeyDelete_1.document, 'restApiKeyDelete', { ...variables });
|
|
75
|
+
return result.data.restApiKeyDelete;
|
|
76
|
+
},
|
|
77
|
+
/**
|
|
78
|
+
Updates an existing REST API key.
|
|
79
|
+
*/
|
|
80
|
+
async restApiKeyUpdate(variables) {
|
|
81
|
+
const result = await (0, runOperation_1.runOperation)(client, restApiKeyUpdate_1.document, 'restApiKeyUpdate', { ...variables });
|
|
82
|
+
return result.data.restApiKeyUpdate;
|
|
83
|
+
},
|
|
84
|
+
/**
|
|
85
|
+
Searches and retrieves REST API keys based on filter criteria.
|
|
86
|
+
*/
|
|
87
|
+
async getRestApiKeys(variables) {
|
|
88
|
+
const result = await (0, runOperation_1.runOperation)(client, restApiKeys_1.document, 'restApiKeys', { ...variables });
|
|
89
|
+
return result.data.restApiKeys;
|
|
90
|
+
},
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Backwards-compatible class form. New code should call `apiKeyService(client)`.
|
|
95
|
+
*/
|
|
96
|
+
class ApiKeyService {
|
|
97
|
+
constructor(client) { this._svc = apiKeyService(client); }
|
|
98
|
+
getGqlApiKey(variables) { return this._svc.getGqlApiKey(variables); }
|
|
99
|
+
gqlApiKeyCreate(variables) { return this._svc.gqlApiKeyCreate(variables); }
|
|
100
|
+
gqlApiKeyDelete(variables) { return this._svc.gqlApiKeyDelete(variables); }
|
|
101
|
+
gqlApiKeyUpdate(variables) { return this._svc.gqlApiKeyUpdate(variables); }
|
|
102
|
+
getGqlApiKeys(variables) { return this._svc.getGqlApiKeys(variables); }
|
|
103
|
+
getRestApiKey(variables) { return this._svc.getRestApiKey(variables); }
|
|
104
|
+
restApiKeyCreate(variables) { return this._svc.restApiKeyCreate(variables); }
|
|
105
|
+
restApiKeyDelete(variables) { return this._svc.restApiKeyDelete(variables); }
|
|
106
|
+
restApiKeyUpdate(variables) { return this._svc.restApiKeyUpdate(variables); }
|
|
107
|
+
getRestApiKeys(variables) { return this._svc.getRestApiKeys(variables); }
|
|
108
|
+
}
|
|
109
|
+
exports.ApiKeyService = ApiKeyService;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Category } from '../type/Category';
|
|
2
|
+
import type { CategoryBySlugVariables, CategoryBySourceVariables, CategoryChildrenVariables, CategoryHierarchyVariables, CategoryMoveAboveVariables, CategoryMoveBelowVariables } from '../generated/operationVariables';
|
|
2
3
|
import { CategoryResponse } from '../type/CategoryResponse';
|
|
3
4
|
import { CategoryAddProductsClustersResponse } from '../type/CategoryAddProductsClustersResponse';
|
|
4
5
|
import { CategoryRemoveProductsClustersResponse } from '../type/CategoryRemoveProductsClustersResponse';
|
|
@@ -20,8 +21,6 @@ export interface CategoryQueryVariables {
|
|
|
20
21
|
categoryId?: number;
|
|
21
22
|
/** Category slug to fetch */
|
|
22
23
|
slug?: string;
|
|
23
|
-
/** User ID for personalization */
|
|
24
|
-
userId?: number;
|
|
25
24
|
/** Whether to include hidden categories */
|
|
26
25
|
hidden?: boolean;
|
|
27
26
|
/** Language for localized content */
|
|
@@ -103,6 +102,30 @@ export declare function categoryService(client: GraphQLClient): {
|
|
|
103
102
|
* @returns Promise<AttributeResultResponse> The attribute result response
|
|
104
103
|
*/
|
|
105
104
|
getAttributeResultByCategoryId(categoryId: number, input: AttributeResultSearchInput): Promise<AttributeResultResponse>;
|
|
105
|
+
/**
|
|
106
|
+
Retrieve a single category by localized slug and language.
|
|
107
|
+
*/
|
|
108
|
+
getCategoryBySlug(variables: CategoryBySlugVariables): Promise<Category>;
|
|
109
|
+
/**
|
|
110
|
+
Retrieve a single category by its external source / source identifier pair.
|
|
111
|
+
*/
|
|
112
|
+
getCategoryBySource(variables: CategoryBySourceVariables): Promise<Category>;
|
|
113
|
+
/**
|
|
114
|
+
Retrieve the direct child categories of a category.
|
|
115
|
+
*/
|
|
116
|
+
getCategoryChildren(variables: CategoryChildrenVariables): Promise<Category[]>;
|
|
117
|
+
/**
|
|
118
|
+
Retrieve the ancestor chain of a category, ordered from the category itself up to the root.
|
|
119
|
+
*/
|
|
120
|
+
getCategoryHierarchy(variables: CategoryHierarchyVariables): Promise<Category[]>;
|
|
121
|
+
/**
|
|
122
|
+
Reorder a category so it appears immediately before another category within the same parent.
|
|
123
|
+
*/
|
|
124
|
+
categoryMoveAbove(variables: CategoryMoveAboveVariables): Promise<Category[]>;
|
|
125
|
+
/**
|
|
126
|
+
Reorder a category so it appears immediately after another category within the same parent.
|
|
127
|
+
*/
|
|
128
|
+
categoryMoveBelow(variables: CategoryMoveBelowVariables): Promise<Category[]>;
|
|
106
129
|
};
|
|
107
130
|
/**
|
|
108
131
|
* Backwards-compatible class form. New code should call `categoryService(client)`.
|
|
@@ -152,4 +175,10 @@ export declare class CategoryService {
|
|
|
152
175
|
* @param input Attribute result search input
|
|
153
176
|
*/
|
|
154
177
|
getAttributeResultByCategoryId(categoryId: number, input: AttributeResultSearchInput): Promise<AttributeResultResponse>;
|
|
178
|
+
getCategoryBySlug(variables: CategoryBySlugVariables): Promise<Category>;
|
|
179
|
+
getCategoryBySource(variables: CategoryBySourceVariables): Promise<Category>;
|
|
180
|
+
getCategoryChildren(variables: CategoryChildrenVariables): Promise<Category[]>;
|
|
181
|
+
getCategoryHierarchy(variables: CategoryHierarchyVariables): Promise<Category[]>;
|
|
182
|
+
categoryMoveAbove(variables: CategoryMoveAboveVariables): Promise<Category[]>;
|
|
183
|
+
categoryMoveBelow(variables: CategoryMoveBelowVariables): Promise<Category[]>;
|
|
155
184
|
}
|
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CategoryService = void 0;
|
|
4
4
|
exports.categoryService = categoryService;
|
|
5
|
+
const categoryBySlug_1 = require("../generated/operations/categoryBySlug");
|
|
6
|
+
const categoryBySource_1 = require("../generated/operations/categoryBySource");
|
|
7
|
+
const categoryChildren_1 = require("../generated/operations/categoryChildren");
|
|
8
|
+
const categoryHierarchy_1 = require("../generated/operations/categoryHierarchy");
|
|
9
|
+
const categoryMoveAbove_1 = require("../generated/operations/categoryMoveAbove");
|
|
10
|
+
const categoryMoveBelow_1 = require("../generated/operations/categoryMoveBelow");
|
|
5
11
|
const runOperation_1 = require("./runOperation");
|
|
6
12
|
const categories_1 = require("../generated/operations/categories");
|
|
7
13
|
const category_1 = require("../generated/operations/category");
|
|
@@ -101,6 +107,48 @@ function categoryService(client) {
|
|
|
101
107
|
const result = await (0, runOperation_1.runOperation)(client, attributeResultByCategoryId_1.document, 'attributeResultByCategoryId', { categoryId, input });
|
|
102
108
|
return result.data.attributeResultByCategoryId;
|
|
103
109
|
},
|
|
110
|
+
/**
|
|
111
|
+
Retrieve a single category by localized slug and language.
|
|
112
|
+
*/
|
|
113
|
+
async getCategoryBySlug(variables) {
|
|
114
|
+
const result = await (0, runOperation_1.runOperation)(client, categoryBySlug_1.document, 'categoryBySlug', { ...variables, language: variables.language ?? client.getDefaultLanguage() });
|
|
115
|
+
return result.data.categoryBySlug;
|
|
116
|
+
},
|
|
117
|
+
/**
|
|
118
|
+
Retrieve a single category by its external source / source identifier pair.
|
|
119
|
+
*/
|
|
120
|
+
async getCategoryBySource(variables) {
|
|
121
|
+
const result = await (0, runOperation_1.runOperation)(client, categoryBySource_1.document, 'categoryBySource', { ...variables, language: variables.language ?? client.getDefaultLanguage() });
|
|
122
|
+
return result.data.categoryBySource;
|
|
123
|
+
},
|
|
124
|
+
/**
|
|
125
|
+
Retrieve the direct child categories of a category.
|
|
126
|
+
*/
|
|
127
|
+
async getCategoryChildren(variables) {
|
|
128
|
+
const result = await (0, runOperation_1.runOperation)(client, categoryChildren_1.document, 'categoryChildren', { ...variables, language: variables.language ?? client.getDefaultLanguage() });
|
|
129
|
+
return result.data.categoryChildren;
|
|
130
|
+
},
|
|
131
|
+
/**
|
|
132
|
+
Retrieve the ancestor chain of a category, ordered from the category itself up to the root.
|
|
133
|
+
*/
|
|
134
|
+
async getCategoryHierarchy(variables) {
|
|
135
|
+
const result = await (0, runOperation_1.runOperation)(client, categoryHierarchy_1.document, 'categoryHierarchy', { ...variables, language: variables.language ?? client.getDefaultLanguage() });
|
|
136
|
+
return result.data.categoryHierarchy;
|
|
137
|
+
},
|
|
138
|
+
/**
|
|
139
|
+
Reorder a category so it appears immediately before another category within the same parent.
|
|
140
|
+
*/
|
|
141
|
+
async categoryMoveAbove(variables) {
|
|
142
|
+
const result = await (0, runOperation_1.runOperation)(client, categoryMoveAbove_1.document, 'categoryMoveAbove', { ...variables, language: variables.language ?? client.getDefaultLanguage() });
|
|
143
|
+
return result.data.categoryMoveAbove;
|
|
144
|
+
},
|
|
145
|
+
/**
|
|
146
|
+
Reorder a category so it appears immediately after another category within the same parent.
|
|
147
|
+
*/
|
|
148
|
+
async categoryMoveBelow(variables) {
|
|
149
|
+
const result = await (0, runOperation_1.runOperation)(client, categoryMoveBelow_1.document, 'categoryMoveBelow', { ...variables, language: variables.language ?? client.getDefaultLanguage() });
|
|
150
|
+
return result.data.categoryMoveBelow;
|
|
151
|
+
},
|
|
104
152
|
};
|
|
105
153
|
}
|
|
106
154
|
/**
|
|
@@ -150,5 +198,11 @@ class CategoryService {
|
|
|
150
198
|
* @param input Attribute result search input
|
|
151
199
|
*/
|
|
152
200
|
getAttributeResultByCategoryId(categoryId, input) { return this._svc.getAttributeResultByCategoryId(categoryId, input); }
|
|
201
|
+
getCategoryBySlug(variables) { return this._svc.getCategoryBySlug(variables); }
|
|
202
|
+
getCategoryBySource(variables) { return this._svc.getCategoryBySource(variables); }
|
|
203
|
+
getCategoryChildren(variables) { return this._svc.getCategoryChildren(variables); }
|
|
204
|
+
getCategoryHierarchy(variables) { return this._svc.getCategoryHierarchy(variables); }
|
|
205
|
+
categoryMoveAbove(variables) { return this._svc.categoryMoveAbove(variables); }
|
|
206
|
+
categoryMoveBelow(variables) { return this._svc.categoryMoveBelow(variables); }
|
|
153
207
|
}
|
|
154
208
|
exports.CategoryService = CategoryService;
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
import { ClusterConfig } from '../type/ClusterConfig';
|
|
2
|
+
import { ClusterConfigSetting } from '../type/ClusterConfigSetting';
|
|
3
|
+
import { ClusterConfigsResponse } from '../type/ClusterConfigsResponse';
|
|
4
|
+
import type { ClusterConfigSettingCreateVariables, ClusterConfigSettingDeleteVariables, ClusterConfigSettingUpdateVariables, ClusterConfigSettingVariables, ClusterConfigUpdateVariables, ClusterConfigsPaginatedVariables } from '../generated/operationVariables';
|
|
1
5
|
import { ClusterConfigResponse } from '../type/ClusterConfigResponse';
|
|
2
6
|
import { ClusterConfigCreateInput } from '../type/ClusterConfigCreateInput';
|
|
3
7
|
import { ClusterConfigSettingUpdateInput } from '../type/ClusterConfigSettingUpdateInput';
|
|
@@ -32,6 +36,30 @@ export declare function clusterConfigService(client: GraphQLClient): {
|
|
|
32
36
|
* @returns Promise<UpdateClusterConfigSettingResponse> The update response
|
|
33
37
|
*/
|
|
34
38
|
updateClusterConfigSetting(clusterConfigId: number, settingId: number, input: ClusterConfigSettingUpdateInput): Promise<UpdateClusterConfigSettingResponse>;
|
|
39
|
+
/**
|
|
40
|
+
Retrieve a single cluster configuration setting by global identifier.
|
|
41
|
+
*/
|
|
42
|
+
getClusterConfigSetting(variables: ClusterConfigSettingVariables): Promise<ClusterConfigSetting>;
|
|
43
|
+
/**
|
|
44
|
+
Create a new setting on the cluster configuration identified by the supplied global identifier.
|
|
45
|
+
*/
|
|
46
|
+
clusterConfigSettingCreate(variables: ClusterConfigSettingCreateVariables): Promise<ClusterConfigSetting>;
|
|
47
|
+
/**
|
|
48
|
+
Remove a cluster configuration setting identified by global identifier.
|
|
49
|
+
*/
|
|
50
|
+
clusterConfigSettingDelete(variables: ClusterConfigSettingDeleteVariables): Promise<boolean>;
|
|
51
|
+
/**
|
|
52
|
+
Apply a partial update to a cluster configuration setting identified by global identifier.
|
|
53
|
+
*/
|
|
54
|
+
clusterConfigSettingUpdate(variables: ClusterConfigSettingUpdateVariables): Promise<ClusterConfigSetting>;
|
|
55
|
+
/**
|
|
56
|
+
Apply a partial update to an existing cluster configuration.
|
|
57
|
+
*/
|
|
58
|
+
clusterConfigUpdate(variables: ClusterConfigUpdateVariables): Promise<ClusterConfig>;
|
|
59
|
+
/**
|
|
60
|
+
Search cluster configurations with filtering and pagination.
|
|
61
|
+
*/
|
|
62
|
+
getClusterConfigsPaginated(variables: ClusterConfigsPaginatedVariables): Promise<ClusterConfigsResponse>;
|
|
35
63
|
};
|
|
36
64
|
/**
|
|
37
65
|
* Backwards-compatible class form. New code should call `clusterConfigService(client)`.
|
|
@@ -60,4 +88,10 @@ export declare class ClusterConfigService {
|
|
|
60
88
|
* @param input Cluster config setting update input
|
|
61
89
|
*/
|
|
62
90
|
updateClusterConfigSetting(clusterConfigId: number, settingId: number, input: ClusterConfigSettingUpdateInput): Promise<UpdateClusterConfigSettingResponse>;
|
|
91
|
+
getClusterConfigSetting(variables: ClusterConfigSettingVariables): Promise<ClusterConfigSetting>;
|
|
92
|
+
clusterConfigSettingCreate(variables: ClusterConfigSettingCreateVariables): Promise<ClusterConfigSetting>;
|
|
93
|
+
clusterConfigSettingDelete(variables: ClusterConfigSettingDeleteVariables): Promise<boolean>;
|
|
94
|
+
clusterConfigSettingUpdate(variables: ClusterConfigSettingUpdateVariables): Promise<ClusterConfigSetting>;
|
|
95
|
+
clusterConfigUpdate(variables: ClusterConfigUpdateVariables): Promise<ClusterConfig>;
|
|
96
|
+
getClusterConfigsPaginated(variables: ClusterConfigsPaginatedVariables): Promise<ClusterConfigsResponse>;
|
|
63
97
|
}
|
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ClusterConfigService = void 0;
|
|
4
4
|
exports.clusterConfigService = clusterConfigService;
|
|
5
|
+
const clusterConfigSetting_1 = require("../generated/operations/clusterConfigSetting");
|
|
6
|
+
const clusterConfigSettingCreate_1 = require("../generated/operations/clusterConfigSettingCreate");
|
|
7
|
+
const clusterConfigSettingDelete_1 = require("../generated/operations/clusterConfigSettingDelete");
|
|
8
|
+
const clusterConfigSettingUpdate_1 = require("../generated/operations/clusterConfigSettingUpdate");
|
|
9
|
+
const clusterConfigUpdate_1 = require("../generated/operations/clusterConfigUpdate");
|
|
10
|
+
const clusterConfigsPaginated_1 = require("../generated/operations/clusterConfigsPaginated");
|
|
5
11
|
const runOperation_1 = require("./runOperation");
|
|
6
12
|
const clusterConfig_1 = require("../generated/operations/clusterConfig");
|
|
7
13
|
const clusterConfigs_1 = require("../generated/operations/clusterConfigs");
|
|
@@ -49,6 +55,48 @@ function clusterConfigService(client) {
|
|
|
49
55
|
const result = await (0, runOperation_1.runOperation)(client, clusterConfigUpdateSetting_1.document, 'clusterConfigUpdateSetting', { clusterConfigId, settingId, input });
|
|
50
56
|
return result.data.clusterConfigUpdateSetting;
|
|
51
57
|
},
|
|
58
|
+
/**
|
|
59
|
+
Retrieve a single cluster configuration setting by global identifier.
|
|
60
|
+
*/
|
|
61
|
+
async getClusterConfigSetting(variables) {
|
|
62
|
+
const result = await (0, runOperation_1.runOperation)(client, clusterConfigSetting_1.document, 'clusterConfigSetting', { ...variables });
|
|
63
|
+
return result.data.clusterConfigSetting;
|
|
64
|
+
},
|
|
65
|
+
/**
|
|
66
|
+
Create a new setting on the cluster configuration identified by the supplied global identifier.
|
|
67
|
+
*/
|
|
68
|
+
async clusterConfigSettingCreate(variables) {
|
|
69
|
+
const result = await (0, runOperation_1.runOperation)(client, clusterConfigSettingCreate_1.document, 'clusterConfigSettingCreate', { ...variables });
|
|
70
|
+
return result.data.clusterConfigSettingCreate;
|
|
71
|
+
},
|
|
72
|
+
/**
|
|
73
|
+
Remove a cluster configuration setting identified by global identifier.
|
|
74
|
+
*/
|
|
75
|
+
async clusterConfigSettingDelete(variables) {
|
|
76
|
+
const result = await (0, runOperation_1.runOperation)(client, clusterConfigSettingDelete_1.document, 'clusterConfigSettingDelete', { ...variables });
|
|
77
|
+
return result.data.clusterConfigSettingDelete;
|
|
78
|
+
},
|
|
79
|
+
/**
|
|
80
|
+
Apply a partial update to a cluster configuration setting identified by global identifier.
|
|
81
|
+
*/
|
|
82
|
+
async clusterConfigSettingUpdate(variables) {
|
|
83
|
+
const result = await (0, runOperation_1.runOperation)(client, clusterConfigSettingUpdate_1.document, 'clusterConfigSettingUpdate', { ...variables });
|
|
84
|
+
return result.data.clusterConfigSettingUpdate;
|
|
85
|
+
},
|
|
86
|
+
/**
|
|
87
|
+
Apply a partial update to an existing cluster configuration.
|
|
88
|
+
*/
|
|
89
|
+
async clusterConfigUpdate(variables) {
|
|
90
|
+
const result = await (0, runOperation_1.runOperation)(client, clusterConfigUpdate_1.document, 'clusterConfigUpdate', { ...variables });
|
|
91
|
+
return result.data.clusterConfigUpdate;
|
|
92
|
+
},
|
|
93
|
+
/**
|
|
94
|
+
Search cluster configurations with filtering and pagination.
|
|
95
|
+
*/
|
|
96
|
+
async getClusterConfigsPaginated(variables) {
|
|
97
|
+
const result = await (0, runOperation_1.runOperation)(client, clusterConfigsPaginated_1.document, 'clusterConfigsPaginated', { ...variables });
|
|
98
|
+
return result.data.clusterConfigsPaginated;
|
|
99
|
+
},
|
|
52
100
|
};
|
|
53
101
|
}
|
|
54
102
|
/**
|
|
@@ -77,5 +125,11 @@ class ClusterConfigService {
|
|
|
77
125
|
* @param input Cluster config setting update input
|
|
78
126
|
*/
|
|
79
127
|
updateClusterConfigSetting(clusterConfigId, settingId, input) { return this._svc.updateClusterConfigSetting(clusterConfigId, settingId, input); }
|
|
128
|
+
getClusterConfigSetting(variables) { return this._svc.getClusterConfigSetting(variables); }
|
|
129
|
+
clusterConfigSettingCreate(variables) { return this._svc.clusterConfigSettingCreate(variables); }
|
|
130
|
+
clusterConfigSettingDelete(variables) { return this._svc.clusterConfigSettingDelete(variables); }
|
|
131
|
+
clusterConfigSettingUpdate(variables) { return this._svc.clusterConfigSettingUpdate(variables); }
|
|
132
|
+
clusterConfigUpdate(variables) { return this._svc.clusterConfigUpdate(variables); }
|
|
133
|
+
getClusterConfigsPaginated(variables) { return this._svc.getClusterConfigsPaginated(variables); }
|
|
80
134
|
}
|
|
81
135
|
exports.ClusterConfigService = ClusterConfigService;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { ClusterOption } from '../type/ClusterOption';
|
|
2
|
+
import { ClusterOptionsResponse } from '../type/ClusterOptionsResponse';
|
|
3
|
+
import { Product } from '../type/Product';
|
|
4
|
+
import { GraphQLClient } from '../client/GraphQLClient';
|
|
5
|
+
import type { ClusterOptionAssignProductsVariables, ClusterOptionMoveAboveVariables, ClusterOptionMoveBelowVariables, ClusterOptionProductCreateVariables, ClusterOptionProductDeleteVariables, ClusterOptionProductUpdateVariables, ClusterOptionRemoveProductsVariables, ClusterOptionVariables, ClusterOptionsVariables } from '../generated/operationVariables';
|
|
6
|
+
/**
|
|
7
|
+
Service for ClusterOption-related GraphQL operations
|
|
8
|
+
*/
|
|
9
|
+
export declare function clusterOptionService(client: GraphQLClient): {
|
|
10
|
+
/**
|
|
11
|
+
Retrieve a single cluster option by global identifier.
|
|
12
|
+
*/
|
|
13
|
+
getClusterOption(variables: ClusterOptionVariables): Promise<ClusterOption>;
|
|
14
|
+
/**
|
|
15
|
+
Attach existing products to a cluster option so they become selectable for it.
|
|
16
|
+
*/
|
|
17
|
+
clusterOptionAssignProducts(variables: ClusterOptionAssignProductsVariables): Promise<ClusterOption>;
|
|
18
|
+
/**
|
|
19
|
+
Reorder a cluster option within its cluster so it appears immediately before another option.
|
|
20
|
+
*/
|
|
21
|
+
clusterOptionMoveAbove(variables: ClusterOptionMoveAboveVariables): Promise<ClusterOption[]>;
|
|
22
|
+
/**
|
|
23
|
+
Reorder a cluster option within its cluster so it appears immediately after another option.
|
|
24
|
+
*/
|
|
25
|
+
clusterOptionMoveBelow(variables: ClusterOptionMoveBelowVariables): Promise<ClusterOption[]>;
|
|
26
|
+
/**
|
|
27
|
+
Create a product directly within a cluster option.
|
|
28
|
+
*/
|
|
29
|
+
clusterOptionProductCreate(variables: ClusterOptionProductCreateVariables): Promise<Product>;
|
|
30
|
+
/**
|
|
31
|
+
Remove a product attached to a cluster option from the catalogue.
|
|
32
|
+
*/
|
|
33
|
+
clusterOptionProductDelete(variables: ClusterOptionProductDeleteVariables): Promise<boolean>;
|
|
34
|
+
/**
|
|
35
|
+
Apply a partial update to a product attached to a cluster option.
|
|
36
|
+
*/
|
|
37
|
+
clusterOptionProductUpdate(variables: ClusterOptionProductUpdateVariables): Promise<Product>;
|
|
38
|
+
/**
|
|
39
|
+
Detach products from a cluster option.
|
|
40
|
+
*/
|
|
41
|
+
clusterOptionRemoveProducts(variables: ClusterOptionRemoveProductsVariables): Promise<ClusterOption>;
|
|
42
|
+
/**
|
|
43
|
+
Search cluster options with filtering and pagination.
|
|
44
|
+
*/
|
|
45
|
+
getClusterOptions(variables: ClusterOptionsVariables): Promise<ClusterOptionsResponse>;
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* Backwards-compatible class form. New code should call `clusterOptionService(client)`.
|
|
49
|
+
*/
|
|
50
|
+
export declare class ClusterOptionService {
|
|
51
|
+
private readonly _svc;
|
|
52
|
+
constructor(client: GraphQLClient);
|
|
53
|
+
getClusterOption(variables: ClusterOptionVariables): Promise<ClusterOption>;
|
|
54
|
+
clusterOptionAssignProducts(variables: ClusterOptionAssignProductsVariables): Promise<ClusterOption>;
|
|
55
|
+
clusterOptionMoveAbove(variables: ClusterOptionMoveAboveVariables): Promise<ClusterOption[]>;
|
|
56
|
+
clusterOptionMoveBelow(variables: ClusterOptionMoveBelowVariables): Promise<ClusterOption[]>;
|
|
57
|
+
clusterOptionProductCreate(variables: ClusterOptionProductCreateVariables): Promise<Product>;
|
|
58
|
+
clusterOptionProductDelete(variables: ClusterOptionProductDeleteVariables): Promise<boolean>;
|
|
59
|
+
clusterOptionProductUpdate(variables: ClusterOptionProductUpdateVariables): Promise<Product>;
|
|
60
|
+
clusterOptionRemoveProducts(variables: ClusterOptionRemoveProductsVariables): Promise<ClusterOption>;
|
|
61
|
+
getClusterOptions(variables: ClusterOptionsVariables): Promise<ClusterOptionsResponse>;
|
|
62
|
+
}
|