@propeller-commerce/propeller-sdk-v2 0.13.0 → 0.15.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 +132 -0
- package/README.md +20 -1
- package/dist/cjs/enum/CategorySortableFields.d.ts +0 -2
- package/dist/cjs/enum/CategorySortableFields.js +0 -2
- package/dist/cjs/enum/OrderItemClass.d.ts +1 -4
- package/dist/cjs/enum/OrderItemClass.js +0 -3
- package/dist/cjs/enum/PriceSortField.d.ts +1 -3
- package/dist/cjs/enum/PriceSortField.js +0 -2
- package/dist/cjs/enum/SortOrder.d.ts +0 -6
- package/dist/cjs/enum/SortOrder.js +0 -6
- package/dist/cjs/generated/operationVariables.d.ts +1 -183
- package/dist/cjs/generated/operationVariablesPublic.d.ts +1 -1
- package/dist/cjs/generated/operations/adminUserTenant.js +0 -1
- package/dist/cjs/generated/operations/adminUserTenantCreate.js +0 -1
- package/dist/cjs/generated/operations/adminUserTenantDelete.js +0 -1
- package/dist/cjs/generated/operations/bundle.js +0 -3
- package/dist/cjs/generated/operations/bundleAddItemsAndReturnBundle.js +0 -3
- package/dist/cjs/generated/operations/bundleCreate.js +0 -3
- package/dist/cjs/generated/operations/bundleRemoveItemAndReturnBundle.js +0 -3
- package/dist/cjs/generated/operations/bundleUpdate.js +0 -3
- package/dist/cjs/generated/operations/bundles.js +0 -3
- package/dist/cjs/generated/operations/businessRule.js +0 -1
- package/dist/cjs/generated/operations/businessRuleCreate.js +0 -1
- package/dist/cjs/generated/operations/businessRuleUpdate.js +0 -1
- package/dist/cjs/generated/operations/businessRules.js +0 -1
- package/dist/cjs/generated/operations/cart.js +0 -4
- package/dist/cjs/generated/operations/cartAcceptPurchaseAuthorizationRequest.js +0 -4
- package/dist/cjs/generated/operations/cartAddActionCode.js +0 -4
- package/dist/cjs/generated/operations/cartAddBundle.js +0 -4
- package/dist/cjs/generated/operations/cartAddItem.js +0 -4
- package/dist/cjs/generated/operations/cartDeleteItem.js +0 -4
- package/dist/cjs/generated/operations/cartRemoveActionCode.js +0 -4
- package/dist/cjs/generated/operations/cartSetContact.js +0 -4
- package/dist/cjs/generated/operations/cartSetCustomer.js +0 -4
- package/dist/cjs/generated/operations/cartStart.js +0 -4
- package/dist/cjs/generated/operations/cartUpdate.js +0 -4
- package/dist/cjs/generated/operations/cartUpdateAddress.js +0 -4
- package/dist/cjs/generated/operations/cartUpdateItem.js +0 -4
- package/dist/cjs/generated/operations/categories.js +4 -16
- package/dist/cjs/generated/operations/category.js +4 -22
- package/dist/cjs/generated/operations/categoryAddProductsClusters.js +4 -22
- package/dist/cjs/generated/operations/categoryBySlug.js +4 -22
- package/dist/cjs/generated/operations/categoryBySource.js +4 -22
- package/dist/cjs/generated/operations/categoryChildren.js +4 -22
- package/dist/cjs/generated/operations/categoryCreate.js +4 -22
- package/dist/cjs/generated/operations/categoryHierarchy.js +4 -22
- package/dist/cjs/generated/operations/categoryMoveAbove.js +4 -22
- package/dist/cjs/generated/operations/categoryMoveBelow.js +4 -22
- package/dist/cjs/generated/operations/categoryRemoveProductsClusters.js +4 -22
- package/dist/cjs/generated/operations/categoryUpdate.js +4 -22
- package/dist/cjs/generated/operations/channel.js +0 -22
- package/dist/cjs/generated/operations/channelCreate.js +0 -22
- package/dist/cjs/generated/operations/channelUpdate.js +0 -22
- package/dist/cjs/generated/operations/channels.js +0 -22
- package/dist/cjs/generated/operations/cluster.js +8 -41
- package/dist/cjs/generated/operations/clusterAssignProduct.js +8 -41
- package/dist/cjs/generated/operations/clusterAssignProducts.js +8 -41
- package/dist/cjs/generated/operations/clusterConfig.js +0 -2
- package/dist/cjs/generated/operations/clusterConfigSetting.js +0 -2
- package/dist/cjs/generated/operations/clusterConfigSettingCreate.js +0 -2
- package/dist/cjs/generated/operations/clusterConfigSettingUpdate.js +0 -2
- package/dist/cjs/generated/operations/clusterConfigUpdate.js +0 -2
- package/dist/cjs/generated/operations/clusterCreate.js +8 -41
- package/dist/cjs/generated/operations/clusterOption.js +0 -3
- package/dist/cjs/generated/operations/clusterOptionAssignProducts.js +0 -3
- package/dist/cjs/generated/operations/clusterOptionCreate.js +0 -3
- package/dist/cjs/generated/operations/clusterOptionMoveAbove.js +0 -3
- package/dist/cjs/generated/operations/clusterOptionMoveBelow.js +0 -3
- package/dist/cjs/generated/operations/clusterOptionProductCreate.js +8 -37
- package/dist/cjs/generated/operations/clusterOptionProductUpdate.js +8 -37
- package/dist/cjs/generated/operations/clusterOptionRemoveProducts.js +0 -3
- package/dist/cjs/generated/operations/clusterOptionUpdate.js +0 -3
- package/dist/cjs/generated/operations/clusterProductCreate.js +8 -37
- package/dist/cjs/generated/operations/clusterProductUpdate.js +8 -37
- package/dist/cjs/generated/operations/clusterSetDefaultCategory.js +8 -41
- package/dist/cjs/generated/operations/clusterUnassignProduct.js +8 -41
- package/dist/cjs/generated/operations/clusterUnassignProducts.js +8 -41
- package/dist/cjs/generated/operations/clusterUpdate.js +8 -41
- package/dist/cjs/generated/operations/crossupsell.js +0 -5
- package/dist/cjs/generated/operations/crossupsellCreate.js +0 -5
- package/dist/cjs/generated/operations/crossupsellUpdate.js +0 -5
- package/dist/cjs/generated/operations/crossupsells.js +0 -5
- package/dist/cjs/generated/operations/favoriteList.js +0 -5
- package/dist/cjs/generated/operations/incentiveRuleCreate.js +0 -1
- package/dist/cjs/generated/operations/incentiveRuleSetAction.js +0 -1
- package/dist/cjs/generated/operations/incentiveRuleSetOrderItemConditions.js +0 -1
- package/dist/cjs/generated/operations/index.d.ts +0 -23
- package/dist/cjs/generated/operations/index.js +11 -57
- package/dist/cjs/generated/operations/machine.js +0 -5
- package/dist/cjs/generated/operations/machineCreate.js +0 -5
- package/dist/cjs/generated/operations/machineUpsert.js +0 -5
- package/dist/cjs/generated/operations/machines.js +0 -5
- package/dist/cjs/generated/operations/order.js +0 -3
- package/dist/cjs/generated/operations/orderCreate.js +0 -3
- package/dist/cjs/generated/operations/orderItemCreate.js +0 -3
- package/dist/cjs/generated/operations/orderItemUpdate.js +0 -3
- package/dist/cjs/generated/operations/orderRevision.js +0 -3
- package/dist/cjs/generated/operations/orderRevisionRestore.js +0 -3
- package/dist/cjs/generated/operations/orderRevisions.js +0 -3
- package/dist/cjs/generated/operations/orderStatus.js +0 -3
- package/dist/cjs/generated/operations/orderStatusCreate.js +0 -3
- package/dist/cjs/generated/operations/orderStatusSet.js +0 -3
- package/dist/cjs/generated/operations/orderStatusSetAddOrderStatuses.js +0 -3
- package/dist/cjs/generated/operations/orderStatusSetCreate.js +0 -3
- package/dist/cjs/generated/operations/orderStatusSetRemoveOrderStatuses.js +0 -3
- package/dist/cjs/generated/operations/orderStatusSetUpdate.js +0 -3
- package/dist/cjs/generated/operations/orderStatusSets.js +0 -3
- package/dist/cjs/generated/operations/orderStatusUpdate.js +0 -3
- package/dist/cjs/generated/operations/orderStatuses.js +0 -3
- package/dist/cjs/generated/operations/orderUpdate.js +0 -3
- package/dist/cjs/generated/operations/product.js +8 -37
- package/dist/cjs/generated/operations/productAssignToCluster.js +8 -37
- package/dist/cjs/generated/operations/productSetDefaultCategory.js +8 -37
- package/dist/cjs/generated/operations/productUnassignFromCluster.js +8 -37
- package/dist/cjs/generated/operations/products.js +0 -5
- package/dist/cjs/generated/operations/tender.js +8 -71
- package/dist/cjs/generated/operations/tenderAddItems.js +8 -71
- package/dist/cjs/generated/operations/tenderApplyIncentives.js +8 -71
- package/dist/cjs/generated/operations/tenderDeleteBonusItem.js +8 -71
- package/dist/cjs/generated/operations/tenderDeleteItem.js +8 -71
- package/dist/cjs/generated/operations/tenderStart.js +8 -71
- package/dist/cjs/generated/operations/tenderUpdate.js +8 -71
- package/dist/cjs/generated/operations/tenderUpdateAddress.js +8 -71
- package/dist/cjs/generated/operations/tenderUpdateDiscount.js +8 -71
- package/dist/cjs/generated/operations/tenderUpdateInvoiceUser.js +8 -71
- package/dist/cjs/generated/operations/tenderUpdateItem.js +8 -71
- package/dist/cjs/generated/operations/tenderUpdatePayment.js +8 -71
- package/dist/cjs/generated/operations/tenderUpdatePostage.js +8 -71
- package/dist/cjs/service/AddressService.d.ts +0 -10
- package/dist/cjs/service/AddressService.js +0 -14
- package/dist/cjs/service/BundleService.d.ts +1 -12
- package/dist/cjs/service/BundleService.js +0 -14
- package/dist/cjs/service/CartService.d.ts +1 -11
- package/dist/cjs/service/CartService.js +0 -14
- package/dist/cjs/service/EventActionConfigService.d.ts +0 -13
- package/dist/cjs/service/EventActionConfigService.js +0 -16
- package/dist/cjs/service/MediaDocumentService.d.ts +1 -22
- package/dist/cjs/service/MediaDocumentService.js +0 -28
- package/dist/cjs/service/MediaImageService.d.ts +1 -22
- package/dist/cjs/service/MediaImageService.js +0 -28
- package/dist/cjs/service/MediaVideoService.d.ts +1 -22
- package/dist/cjs/service/MediaVideoService.js +0 -28
- package/dist/cjs/service/OrderService.d.ts +0 -11
- package/dist/cjs/service/OrderService.js +0 -14
- package/dist/cjs/service/UserService.d.ts +0 -13
- package/dist/cjs/service/UserService.js +0 -18
- package/dist/cjs/service/index.d.ts +0 -2
- package/dist/cjs/service/index.js +0 -2
- package/dist/cjs/type/AttributeDescription.d.ts +0 -4
- package/dist/cjs/type/BusinessRuleCreateInput.d.ts +0 -3
- package/dist/cjs/type/BusinessRuleSearchInput.d.ts +0 -3
- package/dist/cjs/type/CarrierCreateInput.d.ts +0 -3
- package/dist/cjs/type/Category.d.ts +0 -22
- package/dist/cjs/type/CategoryProductSearchInput.d.ts +6 -0
- package/dist/cjs/type/CategorySearchInput.d.ts +0 -9
- package/dist/cjs/type/Cluster.d.ts +0 -14
- package/dist/cjs/type/ClusterConfigSetting.d.ts +0 -6
- package/dist/cjs/type/ClusterCreateInput.d.ts +0 -3
- package/dist/cjs/type/ClusterOptionCreateInput.d.ts +0 -3
- package/dist/cjs/type/ClusterOptionUpdateInput.d.ts +0 -3
- package/dist/cjs/type/CreateCategoryInput.d.ts +0 -17
- package/dist/cjs/type/CreateOrderStatusInput.d.ts +0 -9
- package/dist/cjs/type/CreateProductInput.d.ts +0 -6
- package/dist/cjs/type/CreateWarehouseInput.d.ts +0 -3
- package/dist/cjs/type/IBaseProduct.d.ts +0 -6
- package/dist/cjs/type/ICartBaseItem.d.ts +0 -4
- package/dist/cjs/type/OrderStatusesSearchInput.d.ts +0 -9
- package/dist/cjs/type/PriceCreateInput.d.ts +0 -2
- package/dist/cjs/type/PriceSearchInput.d.ts +0 -2
- package/dist/cjs/type/PriceUpdateInput.d.ts +0 -2
- package/dist/cjs/type/Product.d.ts +0 -15
- package/dist/cjs/type/ProductSearchByCategoryInput.d.ts +6 -0
- package/dist/cjs/type/ProductSearchInput.d.ts +6 -6
- package/dist/cjs/type/ProductSearchInventoryFilterInput.d.ts +30 -0
- package/dist/cjs/type/ProductSearchInventoryFilterInput.js +2 -0
- package/dist/cjs/type/ProductSearchSearchInput.d.ts +6 -0
- package/dist/cjs/type/SparePartsMachineProductSearchInput.d.ts +6 -0
- package/dist/cjs/type/TaxCreateInput.d.ts +0 -2
- package/dist/cjs/type/TaxSearchInput.d.ts +0 -2
- package/dist/cjs/type/UpdateCategoryInput.d.ts +0 -14
- package/dist/cjs/type/UpdateOrderStatusInput.d.ts +0 -9
- package/dist/cjs/type/UpdateProductInput.d.ts +0 -3
- package/dist/cjs/type/index.d.ts +1 -0
- package/dist/cjs/type/index.js +1 -0
- package/dist/esm/enum/CategorySortableFields.js +0 -2
- package/dist/esm/enum/OrderItemClass.js +0 -3
- package/dist/esm/enum/PriceSortField.js +0 -2
- package/dist/esm/enum/SortOrder.js +0 -6
- package/dist/esm/generated/operations/adminUserTenant.js +0 -1
- package/dist/esm/generated/operations/adminUserTenantCreate.js +0 -1
- package/dist/esm/generated/operations/adminUserTenantDelete.js +0 -1
- package/dist/esm/generated/operations/bundle.js +0 -3
- package/dist/esm/generated/operations/bundleAddItemsAndReturnBundle.js +0 -3
- package/dist/esm/generated/operations/bundleCreate.js +0 -3
- package/dist/esm/generated/operations/bundleRemoveItemAndReturnBundle.js +0 -3
- package/dist/esm/generated/operations/bundleUpdate.js +0 -3
- package/dist/esm/generated/operations/bundles.js +0 -3
- package/dist/esm/generated/operations/businessRule.js +0 -1
- package/dist/esm/generated/operations/businessRuleCreate.js +0 -1
- package/dist/esm/generated/operations/businessRuleUpdate.js +0 -1
- package/dist/esm/generated/operations/businessRules.js +0 -1
- package/dist/esm/generated/operations/cart.js +0 -4
- package/dist/esm/generated/operations/cartAcceptPurchaseAuthorizationRequest.js +0 -4
- package/dist/esm/generated/operations/cartAddActionCode.js +0 -4
- package/dist/esm/generated/operations/cartAddBundle.js +0 -4
- package/dist/esm/generated/operations/cartAddItem.js +0 -4
- package/dist/esm/generated/operations/cartDeleteItem.js +0 -4
- package/dist/esm/generated/operations/cartRemoveActionCode.js +0 -4
- package/dist/esm/generated/operations/cartSetContact.js +0 -4
- package/dist/esm/generated/operations/cartSetCustomer.js +0 -4
- package/dist/esm/generated/operations/cartStart.js +0 -4
- package/dist/esm/generated/operations/cartUpdate.js +0 -4
- package/dist/esm/generated/operations/cartUpdateAddress.js +0 -4
- package/dist/esm/generated/operations/cartUpdateItem.js +0 -4
- package/dist/esm/generated/operations/categories.js +4 -16
- package/dist/esm/generated/operations/category.js +4 -22
- package/dist/esm/generated/operations/categoryAddProductsClusters.js +4 -22
- package/dist/esm/generated/operations/categoryBySlug.js +4 -22
- package/dist/esm/generated/operations/categoryBySource.js +4 -22
- package/dist/esm/generated/operations/categoryChildren.js +4 -22
- package/dist/esm/generated/operations/categoryCreate.js +4 -22
- package/dist/esm/generated/operations/categoryHierarchy.js +4 -22
- package/dist/esm/generated/operations/categoryMoveAbove.js +4 -22
- package/dist/esm/generated/operations/categoryMoveBelow.js +4 -22
- package/dist/esm/generated/operations/categoryRemoveProductsClusters.js +4 -22
- package/dist/esm/generated/operations/categoryUpdate.js +4 -22
- package/dist/esm/generated/operations/channel.js +0 -22
- package/dist/esm/generated/operations/channelCreate.js +0 -22
- package/dist/esm/generated/operations/channelUpdate.js +0 -22
- package/dist/esm/generated/operations/channels.js +0 -22
- package/dist/esm/generated/operations/cluster.js +8 -41
- package/dist/esm/generated/operations/clusterAssignProduct.js +8 -41
- package/dist/esm/generated/operations/clusterAssignProducts.js +8 -41
- package/dist/esm/generated/operations/clusterConfig.js +0 -2
- package/dist/esm/generated/operations/clusterConfigSetting.js +0 -2
- package/dist/esm/generated/operations/clusterConfigSettingCreate.js +0 -2
- package/dist/esm/generated/operations/clusterConfigSettingUpdate.js +0 -2
- package/dist/esm/generated/operations/clusterConfigUpdate.js +0 -2
- package/dist/esm/generated/operations/clusterCreate.js +8 -41
- package/dist/esm/generated/operations/clusterOption.js +0 -3
- package/dist/esm/generated/operations/clusterOptionAssignProducts.js +0 -3
- package/dist/esm/generated/operations/clusterOptionCreate.js +0 -3
- package/dist/esm/generated/operations/clusterOptionMoveAbove.js +0 -3
- package/dist/esm/generated/operations/clusterOptionMoveBelow.js +0 -3
- package/dist/esm/generated/operations/clusterOptionProductCreate.js +8 -37
- package/dist/esm/generated/operations/clusterOptionProductUpdate.js +8 -37
- package/dist/esm/generated/operations/clusterOptionRemoveProducts.js +0 -3
- package/dist/esm/generated/operations/clusterOptionUpdate.js +0 -3
- package/dist/esm/generated/operations/clusterProductCreate.js +8 -37
- package/dist/esm/generated/operations/clusterProductUpdate.js +8 -37
- package/dist/esm/generated/operations/clusterSetDefaultCategory.js +8 -41
- package/dist/esm/generated/operations/clusterUnassignProduct.js +8 -41
- package/dist/esm/generated/operations/clusterUnassignProducts.js +8 -41
- package/dist/esm/generated/operations/clusterUpdate.js +8 -41
- package/dist/esm/generated/operations/crossupsell.js +0 -5
- package/dist/esm/generated/operations/crossupsellCreate.js +0 -5
- package/dist/esm/generated/operations/crossupsellUpdate.js +0 -5
- package/dist/esm/generated/operations/crossupsells.js +0 -5
- package/dist/esm/generated/operations/favoriteList.js +0 -5
- package/dist/esm/generated/operations/incentiveRuleCreate.js +0 -1
- package/dist/esm/generated/operations/incentiveRuleSetAction.js +0 -1
- package/dist/esm/generated/operations/incentiveRuleSetOrderItemConditions.js +0 -1
- package/dist/esm/generated/operations/index.js +0 -23
- package/dist/esm/generated/operations/machine.js +0 -5
- package/dist/esm/generated/operations/machineCreate.js +0 -5
- package/dist/esm/generated/operations/machineUpsert.js +0 -5
- package/dist/esm/generated/operations/machines.js +0 -5
- package/dist/esm/generated/operations/order.js +0 -3
- package/dist/esm/generated/operations/orderCreate.js +0 -3
- package/dist/esm/generated/operations/orderItemCreate.js +0 -3
- package/dist/esm/generated/operations/orderItemUpdate.js +0 -3
- package/dist/esm/generated/operations/orderRevision.js +0 -3
- package/dist/esm/generated/operations/orderRevisionRestore.js +0 -3
- package/dist/esm/generated/operations/orderRevisions.js +0 -3
- package/dist/esm/generated/operations/orderStatus.js +0 -3
- package/dist/esm/generated/operations/orderStatusCreate.js +0 -3
- package/dist/esm/generated/operations/orderStatusSet.js +0 -3
- package/dist/esm/generated/operations/orderStatusSetAddOrderStatuses.js +0 -3
- package/dist/esm/generated/operations/orderStatusSetCreate.js +0 -3
- package/dist/esm/generated/operations/orderStatusSetRemoveOrderStatuses.js +0 -3
- package/dist/esm/generated/operations/orderStatusSetUpdate.js +0 -3
- package/dist/esm/generated/operations/orderStatusSets.js +0 -3
- package/dist/esm/generated/operations/orderStatusUpdate.js +0 -3
- package/dist/esm/generated/operations/orderStatuses.js +0 -3
- package/dist/esm/generated/operations/orderUpdate.js +0 -3
- package/dist/esm/generated/operations/product.js +8 -37
- package/dist/esm/generated/operations/productAssignToCluster.js +8 -37
- package/dist/esm/generated/operations/productSetDefaultCategory.js +8 -37
- package/dist/esm/generated/operations/productUnassignFromCluster.js +8 -37
- package/dist/esm/generated/operations/products.js +0 -5
- package/dist/esm/generated/operations/tender.js +8 -71
- package/dist/esm/generated/operations/tenderAddItems.js +8 -71
- package/dist/esm/generated/operations/tenderApplyIncentives.js +8 -71
- package/dist/esm/generated/operations/tenderDeleteBonusItem.js +8 -71
- package/dist/esm/generated/operations/tenderDeleteItem.js +8 -71
- package/dist/esm/generated/operations/tenderStart.js +8 -71
- package/dist/esm/generated/operations/tenderUpdate.js +8 -71
- package/dist/esm/generated/operations/tenderUpdateAddress.js +8 -71
- package/dist/esm/generated/operations/tenderUpdateDiscount.js +8 -71
- package/dist/esm/generated/operations/tenderUpdateInvoiceUser.js +8 -71
- package/dist/esm/generated/operations/tenderUpdateItem.js +8 -71
- package/dist/esm/generated/operations/tenderUpdatePayment.js +8 -71
- package/dist/esm/generated/operations/tenderUpdatePostage.js +8 -71
- package/dist/esm/service/AddressService.js +0 -14
- package/dist/esm/service/BundleService.js +0 -14
- package/dist/esm/service/CartService.js +0 -14
- package/dist/esm/service/EventActionConfigService.js +0 -16
- package/dist/esm/service/MediaDocumentService.js +0 -28
- package/dist/esm/service/MediaImageService.js +0 -28
- package/dist/esm/service/MediaVideoService.js +0 -28
- package/dist/esm/service/OrderService.js +0 -14
- package/dist/esm/service/UserService.js +0 -18
- package/dist/esm/service/index.js +0 -2
- package/dist/esm/type/ProductSearchInventoryFilterInput.js +1 -0
- package/dist/esm/type/index.js +1 -0
- package/package.json +1 -1
- package/dist/cjs/generated/operations/addressesByOrderId.d.ts +0 -1
- package/dist/cjs/generated/operations/addressesByOrderId.js +0 -37
- package/dist/cjs/generated/operations/bundleAddItems.d.ts +0 -1
- package/dist/cjs/generated/operations/bundleAddItems.js +0 -159
- package/dist/cjs/generated/operations/bundleRemoveItem.d.ts +0 -1
- package/dist/cjs/generated/operations/bundleRemoveItem.js +0 -8
- package/dist/cjs/generated/operations/carrierAssignWarehouse.d.ts +0 -1
- package/dist/cjs/generated/operations/carrierAssignWarehouse.js +0 -8
- package/dist/cjs/generated/operations/carrierUnassignWarehouse.d.ts +0 -1
- package/dist/cjs/generated/operations/carrierUnassignWarehouse.js +0 -8
- package/dist/cjs/generated/operations/cartSetUser.d.ts +0 -1
- package/dist/cjs/generated/operations/cartSetUser.js +0 -469
- package/dist/cjs/generated/operations/companySearch.d.ts +0 -1
- package/dist/cjs/generated/operations/companySearch.js +0 -103
- package/dist/cjs/generated/operations/companySearchCleanupOrphanedIndices.d.ts +0 -1
- package/dist/cjs/generated/operations/companySearchCleanupOrphanedIndices.js +0 -8
- package/dist/cjs/generated/operations/companySearchFixAliasWriteIndex.d.ts +0 -1
- package/dist/cjs/generated/operations/companySearchFixAliasWriteIndex.js +0 -8
- package/dist/cjs/generated/operations/companySearchIndexUpdateMapping.d.ts +0 -1
- package/dist/cjs/generated/operations/companySearchIndexUpdateMapping.js +0 -8
- package/dist/cjs/generated/operations/companySearchReindex.d.ts +0 -1
- package/dist/cjs/generated/operations/companySearchReindex.js +0 -8
- package/dist/cjs/generated/operations/logout.d.ts +0 -1
- package/dist/cjs/generated/operations/logout.js +0 -13
- package/dist/cjs/generated/operations/mediaDocument.d.ts +0 -1
- package/dist/cjs/generated/operations/mediaDocument.js +0 -45
- package/dist/cjs/generated/operations/mediaDocuments.d.ts +0 -1
- package/dist/cjs/generated/operations/mediaDocuments.js +0 -57
- package/dist/cjs/generated/operations/mediaImage.d.ts +0 -1
- package/dist/cjs/generated/operations/mediaImage.js +0 -51
- package/dist/cjs/generated/operations/mediaImages.d.ts +0 -1
- package/dist/cjs/generated/operations/mediaImages.js +0 -63
- package/dist/cjs/generated/operations/mediaVideo.d.ts +0 -1
- package/dist/cjs/generated/operations/mediaVideo.js +0 -45
- package/dist/cjs/generated/operations/mediaVideos.d.ts +0 -1
- package/dist/cjs/generated/operations/mediaVideos.js +0 -57
- package/dist/cjs/generated/operations/orderUpdateAddress.d.ts +0 -1
- package/dist/cjs/generated/operations/orderUpdateAddress.js +0 -8
- package/dist/cjs/generated/operations/publishPasswordResetEmailEvent.d.ts +0 -1
- package/dist/cjs/generated/operations/publishPasswordResetEmailEvent.js +0 -14
- package/dist/cjs/generated/operations/shop.d.ts +0 -1
- package/dist/cjs/generated/operations/shop.js +0 -26
- package/dist/cjs/generated/operations/shopInvalidateCache.d.ts +0 -1
- package/dist/cjs/generated/operations/shopInvalidateCache.js +0 -8
- package/dist/cjs/generated/operations/shops.d.ts +0 -1
- package/dist/cjs/generated/operations/shops.js +0 -26
- package/dist/cjs/service/LogoutService.d.ts +0 -24
- package/dist/cjs/service/LogoutService.js +0 -33
- package/dist/cjs/service/ShopService.d.ts +0 -37
- package/dist/cjs/service/ShopService.js +0 -49
- package/dist/esm/generated/operations/addressesByOrderId.js +0 -34
- package/dist/esm/generated/operations/bundleAddItems.js +0 -156
- package/dist/esm/generated/operations/bundleRemoveItem.js +0 -5
- package/dist/esm/generated/operations/carrierAssignWarehouse.js +0 -5
- package/dist/esm/generated/operations/carrierUnassignWarehouse.js +0 -5
- package/dist/esm/generated/operations/cartSetUser.js +0 -466
- package/dist/esm/generated/operations/companySearch.js +0 -100
- package/dist/esm/generated/operations/companySearchCleanupOrphanedIndices.js +0 -5
- package/dist/esm/generated/operations/companySearchFixAliasWriteIndex.js +0 -5
- package/dist/esm/generated/operations/companySearchIndexUpdateMapping.js +0 -5
- package/dist/esm/generated/operations/companySearchReindex.js +0 -5
- package/dist/esm/generated/operations/logout.js +0 -10
- package/dist/esm/generated/operations/mediaDocument.js +0 -42
- package/dist/esm/generated/operations/mediaDocuments.js +0 -54
- package/dist/esm/generated/operations/mediaImage.js +0 -48
- package/dist/esm/generated/operations/mediaImages.js +0 -60
- package/dist/esm/generated/operations/mediaVideo.js +0 -42
- package/dist/esm/generated/operations/mediaVideos.js +0 -54
- package/dist/esm/generated/operations/orderUpdateAddress.js +0 -5
- package/dist/esm/generated/operations/publishPasswordResetEmailEvent.js +0 -11
- package/dist/esm/generated/operations/shop.js +0 -23
- package/dist/esm/generated/operations/shopInvalidateCache.js +0 -5
- package/dist/esm/generated/operations/shops.js +0 -23
- package/dist/esm/service/LogoutService.js +0 -28
- package/dist/esm/service/ShopService.js +0 -44
|
@@ -7,7 +7,6 @@ const viewer_1 = require("../generated/operations/viewer");
|
|
|
7
7
|
const login_1 = require("../generated/operations/login");
|
|
8
8
|
const user_1 = require("../generated/operations/user");
|
|
9
9
|
const authentication_1 = require("../generated/operations/authentication");
|
|
10
|
-
const logout_1 = require("../generated/operations/logout");
|
|
11
10
|
const contactRegister_1 = require("../generated/operations/contactRegister");
|
|
12
11
|
const customerRegister_1 = require("../generated/operations/customerRegister");
|
|
13
12
|
const triggerPasswordSendResetEmailEvent_1 = require("../generated/operations/triggerPasswordSendResetEmailEvent");
|
|
@@ -47,15 +46,6 @@ function userService(client) {
|
|
|
47
46
|
const result = await (0, runOperation_1.runOperation)(client, authentication_1.document, 'authentication', { email });
|
|
48
47
|
return result.data.authentication;
|
|
49
48
|
},
|
|
50
|
-
/**
|
|
51
|
-
* Logout current user.
|
|
52
|
-
* @deprecated The upstream `logout` mutation is deprecated; a `signOut`
|
|
53
|
-
* mutation will be available in the future.
|
|
54
|
-
*/
|
|
55
|
-
async logout() {
|
|
56
|
-
const result = await (0, runOperation_1.runOperation)(client, logout_1.document, 'logout');
|
|
57
|
-
return result.data.logout;
|
|
58
|
-
},
|
|
59
49
|
/** Register a new contact. */
|
|
60
50
|
async registerContact(variables) {
|
|
61
51
|
const result = await (0, runOperation_1.runOperation)(client, contactRegister_1.document, 'contactRegister', variables);
|
|
@@ -122,14 +112,6 @@ class UserService {
|
|
|
122
112
|
authenticate(email) {
|
|
123
113
|
return this._svc.authenticate(email);
|
|
124
114
|
}
|
|
125
|
-
/**
|
|
126
|
-
* Logout current user.
|
|
127
|
-
* @deprecated The upstream `logout` mutation is deprecated; a `signOut`
|
|
128
|
-
* mutation will be available in the future.
|
|
129
|
-
*/
|
|
130
|
-
logout() {
|
|
131
|
-
return this._svc.logout();
|
|
132
|
-
}
|
|
133
115
|
/** Register a new contact. */
|
|
134
116
|
registerContact(variables) {
|
|
135
117
|
return this._svc.registerContact(variables);
|
|
@@ -15,7 +15,6 @@ export * from './FavoriteListService';
|
|
|
15
15
|
export * from './GCIPUserService';
|
|
16
16
|
export * from './InventoryService';
|
|
17
17
|
export * from './LoginService';
|
|
18
|
-
export * from './LogoutService';
|
|
19
18
|
export * from './MachineService';
|
|
20
19
|
export * from './MagicTokenService';
|
|
21
20
|
export * from './MediaAttachmentService';
|
|
@@ -34,7 +33,6 @@ export * from './RegisterContactResponseService';
|
|
|
34
33
|
export * from './RegisterCustomerResponseService';
|
|
35
34
|
export * from './RoleService';
|
|
36
35
|
export * from './ShipmentService';
|
|
37
|
-
export * from './ShopService';
|
|
38
36
|
export * from './SparePartsMachineService';
|
|
39
37
|
export * from './SurchargeService';
|
|
40
38
|
export * from './TaxService';
|
|
@@ -34,7 +34,6 @@ __exportStar(require("./FavoriteListService"), exports);
|
|
|
34
34
|
__exportStar(require("./GCIPUserService"), exports);
|
|
35
35
|
__exportStar(require("./InventoryService"), exports);
|
|
36
36
|
__exportStar(require("./LoginService"), exports);
|
|
37
|
-
__exportStar(require("./LogoutService"), exports);
|
|
38
37
|
__exportStar(require("./MachineService"), exports);
|
|
39
38
|
__exportStar(require("./MagicTokenService"), exports);
|
|
40
39
|
__exportStar(require("./MediaAttachmentService"), exports);
|
|
@@ -53,7 +52,6 @@ __exportStar(require("./RegisterContactResponseService"), exports);
|
|
|
53
52
|
__exportStar(require("./RegisterCustomerResponseService"), exports);
|
|
54
53
|
__exportStar(require("./RoleService"), exports);
|
|
55
54
|
__exportStar(require("./ShipmentService"), exports);
|
|
56
|
-
__exportStar(require("./ShopService"), exports);
|
|
57
55
|
__exportStar(require("./SparePartsMachineService"), exports);
|
|
58
56
|
__exportStar(require("./SurchargeService"), exports);
|
|
59
57
|
__exportStar(require("./TaxService"), exports);
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { AttributeDescriptionClass } from '../enum/AttributeDescriptionClass';
|
|
2
2
|
import { AttributeType } from '../enum/AttributeType';
|
|
3
3
|
import { LocalizedString } from './LocalizedString';
|
|
4
|
-
import { AttributeValue } from './AttributeValue';
|
|
5
4
|
/**
|
|
6
5
|
Object class for AttributeDescription
|
|
7
6
|
*/
|
|
@@ -42,7 +41,4 @@ export interface AttributeDescription {
|
|
|
42
41
|
createdBy?: number;
|
|
43
42
|
/** The ID of the user that last modified the attribute description */
|
|
44
43
|
lastModifiedBy?: number;
|
|
45
|
-
/** The default value for this attribute */
|
|
46
|
-
/** @deprecated Deprecated in the schema; kept for backward compatibility. Will be removed in a future major. */
|
|
47
|
-
defaultValue: AttributeValue;
|
|
48
44
|
}
|
|
@@ -6,9 +6,6 @@ import { LocalizedStringInput } from './LocalizedStringInput';
|
|
|
6
6
|
export interface BusinessRuleCreateInput {
|
|
7
7
|
/** name input field */
|
|
8
8
|
name: LocalizedStringInput[];
|
|
9
|
-
/** shopId input field */
|
|
10
|
-
/** @deprecated Deprecated in the schema; kept for backward compatibility. Will be removed in a future major. */
|
|
11
|
-
shopId: number;
|
|
12
9
|
/** type input field */
|
|
13
10
|
type: BusinessRuleType;
|
|
14
11
|
}
|
|
@@ -6,9 +6,6 @@ import { DateSearchInput } from './DateSearchInput';
|
|
|
6
6
|
export interface BusinessRuleSearchInput {
|
|
7
7
|
/** type input field */
|
|
8
8
|
type?: BusinessRuleType[];
|
|
9
|
-
/** shopId input field */
|
|
10
|
-
/** @deprecated Deprecated in the schema; kept for backward compatibility. Will be removed in a future major. */
|
|
11
|
-
shopId?: number;
|
|
12
9
|
/** page input field */
|
|
13
10
|
page?: number;
|
|
14
11
|
/** offset input field */
|
|
@@ -10,9 +10,6 @@ export interface CarrierCreateInput {
|
|
|
10
10
|
type: CarrierType;
|
|
11
11
|
/** Carrier descriptions per language */
|
|
12
12
|
descriptions: LocalizedStringInput[];
|
|
13
|
-
/** Carrier specific shipping cost */
|
|
14
|
-
/** @deprecated Deprecated in the schema; kept for backward compatibility. Will be removed in a future major. */
|
|
15
|
-
shippingCost: number;
|
|
16
13
|
/** Track and Trace redirect URL */
|
|
17
14
|
trackAndTraceURL?: string;
|
|
18
15
|
/** Logo url, must be public reachable url [maxLogoSize: 200kB, maxLogoDimensions: 200x200px ] */
|
|
@@ -12,28 +12,6 @@ export interface Category {
|
|
|
12
12
|
categoryId: number;
|
|
13
13
|
/** Lists attributes for this category based on the search input. */
|
|
14
14
|
attributes?: AttributeResultResponse;
|
|
15
|
-
/** Localized category name as it is available in
|
|
16
|
-
the supported language defaults to the category's default language. */
|
|
17
|
-
/** @deprecated Deprecated in the schema; kept for backward compatibility. Will be removed in a future major. */
|
|
18
|
-
name: LocalizedString[];
|
|
19
|
-
/** The long description for this category,
|
|
20
|
-
this field can contain html formatting,
|
|
21
|
-
this field can be translated is case of multilingual catalog */
|
|
22
|
-
/** @deprecated Deprecated in the schema; kept for backward compatibility. Will be removed in a future major. */
|
|
23
|
-
description: LocalizedString[];
|
|
24
|
-
/** The short description for this category,
|
|
25
|
-
this field can contain html formatting,
|
|
26
|
-
this field can be translated is case of multilingual catalog */
|
|
27
|
-
/** @deprecated Deprecated in the schema; kept for backward compatibility. Will be removed in a future major. */
|
|
28
|
-
shortDescription: LocalizedString[];
|
|
29
|
-
/** The slug for this category,
|
|
30
|
-
each available language contains a different slug */
|
|
31
|
-
/** @deprecated Deprecated in the schema; kept for backward compatibility. Will be removed in a future major. */
|
|
32
|
-
slug: LocalizedString[];
|
|
33
|
-
/** The path in id's to the root of the inheritance tree,
|
|
34
|
-
can be passed as parameter to the productsearch API */
|
|
35
|
-
/** @deprecated Deprecated in the schema; kept for backward compatibility. Will be removed in a future major. */
|
|
36
|
-
path: string;
|
|
37
15
|
/** categories field */
|
|
38
16
|
categories?: Category[];
|
|
39
17
|
/** The category's parent Category when available */
|
|
@@ -7,6 +7,7 @@ import { ProductPriceFilterInput } from './ProductPriceFilterInput';
|
|
|
7
7
|
import { ProductSortInput } from './ProductSortInput';
|
|
8
8
|
import { SearchFieldsInput } from './SearchFieldsInput';
|
|
9
9
|
import { DateSearchInput } from './DateSearchInput';
|
|
10
|
+
import { ProductSearchInventoryFilterInput } from './ProductSearchInventoryFilterInput';
|
|
10
11
|
/**
|
|
11
12
|
Input object for CategoryProductSearchInput
|
|
12
13
|
*/
|
|
@@ -76,4 +77,9 @@ export interface CategoryProductSearchInput {
|
|
|
76
77
|
skus?: string[];
|
|
77
78
|
/** [Deprecated] Category path for hierarchical navigation. */
|
|
78
79
|
path?: string;
|
|
80
|
+
/** Server-side stock filter. Operators are inclusive: `greaterThan: N` is
|
|
81
|
+
stock >= N and `lessThan: N` is stock <= N. Never-stocked products count
|
|
82
|
+
as 0. Filtering is applied upstream, so `itemsFound` / `pages` reflect
|
|
83
|
+
the filtered set. */
|
|
84
|
+
inventory?: ProductSearchInventoryFilterInput;
|
|
79
85
|
}
|
|
@@ -9,15 +9,6 @@ export interface CategorySearchInput {
|
|
|
9
9
|
name?: string;
|
|
10
10
|
/** The language to use when searching categories by name or slug. When omitted the categories default language is used */
|
|
11
11
|
language?: string;
|
|
12
|
-
/** Find categories by one or more slugs */
|
|
13
|
-
/** @deprecated Deprecated in the schema; kept for backward compatibility. Will be removed in a future major. */
|
|
14
|
-
slug?: string[];
|
|
15
|
-
/** Find categories by one or more categoryIds */
|
|
16
|
-
/** @deprecated Deprecated in the schema; kept for backward compatibility. Will be removed in a future major. */
|
|
17
|
-
categoryId?: number[];
|
|
18
|
-
/** Find categories by one or more parentCategoryIds */
|
|
19
|
-
/** @deprecated Deprecated in the schema; kept for backward compatibility. Will be removed in a future major. */
|
|
20
|
-
parentCategoryId?: number[];
|
|
21
12
|
/** Find categories by their hidden status */
|
|
22
13
|
hidden?: YesNo;
|
|
23
14
|
/** The page number to return */
|
|
@@ -59,12 +59,6 @@ export interface Cluster extends IBaseProduct {
|
|
|
59
59
|
shortDescriptions: LocalizedString[];
|
|
60
60
|
/** slugs field */
|
|
61
61
|
slugs: LocalizedString[];
|
|
62
|
-
/** The SKU (stock keeping unit) of this product */
|
|
63
|
-
/** @deprecated Deprecated in the schema; kept for backward compatibility. Will be removed in a future major. */
|
|
64
|
-
sku: string;
|
|
65
|
-
/** The default language for this product or cluster, this is the language to fall back too, when there is no translation available in a specific language. */
|
|
66
|
-
/** @deprecated Deprecated in the schema; kept for backward compatibility. Will be removed in a future major. */
|
|
67
|
-
defaultLanguage: string;
|
|
68
62
|
/** priority field */
|
|
69
63
|
priority?: number;
|
|
70
64
|
/** [SEO] Localized Metadata title available in multiple languages */
|
|
@@ -79,14 +73,6 @@ export interface Cluster extends IBaseProduct {
|
|
|
79
73
|
shortNames: LocalizedString[];
|
|
80
74
|
/** sources field */
|
|
81
75
|
sources: Source[];
|
|
82
|
-
/** The requested language for this this resource, default to the
|
|
83
|
-
products default language.
|
|
84
|
-
ISO 639-1 format. */
|
|
85
|
-
/** @deprecated Deprecated in the schema; kept for backward compatibility. Will be removed in a future major. */
|
|
86
|
-
language?: string;
|
|
87
|
-
/** The class of the request resource */
|
|
88
|
-
/** @deprecated Deprecated in the schema; kept for backward compatibility. Will be removed in a future major. */
|
|
89
|
-
class: ProductClass;
|
|
90
76
|
/** The hidden status of this resource. */
|
|
91
77
|
hidden: YesNo;
|
|
92
78
|
/** Globally unique identifier for the product or cluster. */
|
|
@@ -4,12 +4,6 @@ import { ClusterConfigSettingDisplayType } from '../enum/ClusterConfigSettingDis
|
|
|
4
4
|
Object class for ClusterConfigSetting
|
|
5
5
|
*/
|
|
6
6
|
export interface ClusterConfigSetting {
|
|
7
|
-
/** id field */
|
|
8
|
-
/** @deprecated Deprecated in the schema; kept for backward compatibility. Will be removed in a future major. */
|
|
9
|
-
id: number;
|
|
10
|
-
/** name field */
|
|
11
|
-
/** @deprecated Deprecated in the schema; kept for backward compatibility. Will be removed in a future major. */
|
|
12
|
-
name: string;
|
|
13
7
|
/** type field */
|
|
14
8
|
type: ClusterConfigSettingType;
|
|
15
9
|
/** displayType field */
|
|
@@ -11,9 +11,6 @@ export interface ClusterCreateInput {
|
|
|
11
11
|
descriptions?: LocalizedStringInput[];
|
|
12
12
|
/** shortDescriptions input field */
|
|
13
13
|
shortDescriptions?: LocalizedStringInput[];
|
|
14
|
-
/** defaultLanguage input field */
|
|
15
|
-
/** @deprecated Deprecated in the schema; kept for backward compatibility. Will be removed in a future major. */
|
|
16
|
-
defaultLanguage?: string;
|
|
17
14
|
/** parentId input field */
|
|
18
15
|
parentId?: number;
|
|
19
16
|
/** code input field */
|
|
@@ -11,9 +11,6 @@ export interface ClusterOptionCreateInput {
|
|
|
11
11
|
descriptions?: LocalizedStringInput[];
|
|
12
12
|
/** shortDescriptions input field */
|
|
13
13
|
shortDescriptions?: LocalizedStringInput[];
|
|
14
|
-
/** defaultLanguage input field */
|
|
15
|
-
/** @deprecated Deprecated in the schema; kept for backward compatibility. Will be removed in a future major. */
|
|
16
|
-
defaultLanguage?: string;
|
|
17
14
|
/** isRequired input field */
|
|
18
15
|
isRequired?: YesNo;
|
|
19
16
|
/** Cluster option hidden status, defaults to N */
|
|
@@ -11,9 +11,6 @@ export interface ClusterOptionUpdateInput {
|
|
|
11
11
|
descriptions?: LocalizedStringInput[];
|
|
12
12
|
/** shortDescriptions input field */
|
|
13
13
|
shortDescriptions?: LocalizedStringInput[];
|
|
14
|
-
/** defaultLanguage input field */
|
|
15
|
-
/** @deprecated Deprecated in the schema; kept for backward compatibility. Will be removed in a future major. */
|
|
16
|
-
defaultLanguage?: string;
|
|
17
14
|
/** isRequired input field */
|
|
18
15
|
isRequired?: YesNo;
|
|
19
16
|
/** defaultProductId input field */
|
|
@@ -5,25 +5,8 @@ import { LocalizedStringInput } from './LocalizedStringInput';
|
|
|
5
5
|
Input object for CreateCategoryInput
|
|
6
6
|
*/
|
|
7
7
|
export interface CreateCategoryInput {
|
|
8
|
-
/** Localized category name as it is available in
|
|
9
|
-
the supported language defaults to the category's default language. */
|
|
10
|
-
/** @deprecated Deprecated in the schema; kept for backward compatibility. Will be removed in a future major. */
|
|
11
|
-
name: LocalizedStringInput[];
|
|
12
|
-
/** The long description for this category,
|
|
13
|
-
this field can contain html formatting,
|
|
14
|
-
this field can be translated is case of multilingual catalog. */
|
|
15
|
-
/** @deprecated Deprecated in the schema; kept for backward compatibility. Will be removed in a future major. */
|
|
16
|
-
description: LocalizedStringInput[];
|
|
17
|
-
/** The short description for this category,
|
|
18
|
-
this field can contain html formatting,
|
|
19
|
-
this field can be translated is case of multilingual catalog. */
|
|
20
|
-
/** @deprecated Deprecated in the schema; kept for backward compatibility. Will be removed in a future major. */
|
|
21
|
-
shortDescription: LocalizedStringInput[];
|
|
22
8
|
/** The category's parent Category when available */
|
|
23
9
|
parent?: number;
|
|
24
|
-
/** The default language for the category */
|
|
25
|
-
/** @deprecated Deprecated in the schema; kept for backward compatibility. Will be removed in a future major. */
|
|
26
|
-
defaultLanguage: string;
|
|
27
10
|
/** [SEO] Metadata title in different languages. */
|
|
28
11
|
metadataTitles?: LocalizedStringInput[];
|
|
29
12
|
/** [SEO] Metadata description in different languages. */
|
|
@@ -23,15 +23,6 @@ export interface CreateOrderStatusInput {
|
|
|
23
23
|
isEditable?: boolean;
|
|
24
24
|
/** Marks if the order is deletable */
|
|
25
25
|
isDeletable?: boolean;
|
|
26
|
-
/** Marks if the order is exportable */
|
|
27
|
-
/** @deprecated Deprecated in the schema; kept for backward compatibility. Will be removed in a future major. */
|
|
28
|
-
isExportable?: boolean;
|
|
29
|
-
/** Marks if the order is confirmable */
|
|
30
|
-
/** @deprecated Deprecated in the schema; kept for backward compatibility. Will be removed in a future major. */
|
|
31
|
-
isConfirmable?: boolean;
|
|
32
|
-
/** Marks if the order status can be archived */
|
|
33
|
-
/** @deprecated Deprecated in the schema; kept for backward compatibility. Will be removed in a future major. */
|
|
34
|
-
isArchivable?: boolean;
|
|
35
26
|
/** The IDs of the next possible order statuses */
|
|
36
27
|
nextStatusesIds?: number[];
|
|
37
28
|
/** The order status set to add this order status to */
|
|
@@ -6,9 +6,6 @@ import { LocalizedStringInput } from './LocalizedStringInput';
|
|
|
6
6
|
Input object for CreateProductInput
|
|
7
7
|
*/
|
|
8
8
|
export interface CreateProductInput {
|
|
9
|
-
/** The language of the product */
|
|
10
|
-
/** @deprecated Deprecated in the schema; kept for backward compatibility. Will be removed in a future major. */
|
|
11
|
-
language: string;
|
|
12
9
|
/** The id of the category the product should be created in */
|
|
13
10
|
categoryId?: number;
|
|
14
11
|
/** The names of this product per language */
|
|
@@ -73,9 +70,6 @@ export interface CreateProductInput {
|
|
|
73
70
|
priceGroup?: string;
|
|
74
71
|
/** The taxonomy the product belongs to */
|
|
75
72
|
taxonomy?: string;
|
|
76
|
-
/** The short name for the product, used for abbreviated orderlines */
|
|
77
|
-
/** @deprecated Deprecated in the schema; kept for backward compatibility. Will be removed in a future major. */
|
|
78
|
-
shortName?: string;
|
|
79
73
|
/** The package description of this product per language */
|
|
80
74
|
packageDescriptions?: LocalizedStringInput[];
|
|
81
75
|
/** Notes on the product for internal use */
|
|
@@ -16,9 +16,6 @@ export interface CreateWarehouseInput {
|
|
|
16
16
|
isStore: boolean;
|
|
17
17
|
/** Warehouse isPickupLocation status */
|
|
18
18
|
isPickupLocation: boolean;
|
|
19
|
-
/** Optional warehouse shopId! Default value will be internally inferred from the appropriate channel */
|
|
20
|
-
/** @deprecated Deprecated in the schema; kept for backward compatibility. Will be removed in a future major. */
|
|
21
|
-
shopId?: number;
|
|
22
19
|
/** Warehouse business hours per week day
|
|
23
20
|
Example:
|
|
24
21
|
[{
|
|
@@ -8,12 +8,6 @@ import { Source } from './Source';
|
|
|
8
8
|
export interface IBaseProduct {
|
|
9
9
|
/** Resource primary identifier */
|
|
10
10
|
id: number;
|
|
11
|
-
/** The requested language for this resource, default to the products default language. ISO 639-1 format. */
|
|
12
|
-
/** @deprecated Deprecated in the schema; kept for backward compatibility. Will be removed in a future major. */
|
|
13
|
-
language?: string;
|
|
14
|
-
/** The class of the request resource */
|
|
15
|
-
/** @deprecated Deprecated in the schema; kept for backward compatibility. Will be removed in a future major. */
|
|
16
|
-
class: ProductClass;
|
|
17
11
|
/** The hidden status of this resource. */
|
|
18
12
|
hidden: YesNo;
|
|
19
13
|
/** The names of this product per language */
|
|
@@ -1,11 +1,7 @@
|
|
|
1
|
-
import { Product } from './Product';
|
|
2
1
|
/**
|
|
3
2
|
Interface for ICartBaseItem
|
|
4
3
|
*/
|
|
5
4
|
export interface ICartBaseItem {
|
|
6
|
-
/** product field */
|
|
7
|
-
/** @deprecated Deprecated in the schema; kept for backward compatibility. Will be removed in a future major. */
|
|
8
|
-
product?: Product;
|
|
9
5
|
/** itemId field */
|
|
10
6
|
itemId: string;
|
|
11
7
|
/** productId field */
|
|
@@ -32,15 +32,6 @@ export interface OrderStatusesSearchInput {
|
|
|
32
32
|
isEditable?: boolean;
|
|
33
33
|
/** Marks if the order is deletable */
|
|
34
34
|
isDeletable?: boolean;
|
|
35
|
-
/** Marks if the order is exportable */
|
|
36
|
-
/** @deprecated Deprecated in the schema; kept for backward compatibility. Will be removed in a future major. */
|
|
37
|
-
isExportable?: boolean;
|
|
38
|
-
/** Marks if the order is confirmable */
|
|
39
|
-
/** @deprecated Deprecated in the schema; kept for backward compatibility. Will be removed in a future major. */
|
|
40
|
-
isConfirmable?: boolean;
|
|
41
|
-
/** Marks if the order can be archived */
|
|
42
|
-
/** @deprecated Deprecated in the schema; kept for backward compatibility. Will be removed in a future major. */
|
|
43
|
-
isArchivable?: boolean;
|
|
44
35
|
/** Inputs to sort by */
|
|
45
36
|
sortInputs?: OrderStatusSortInput[];
|
|
46
37
|
}
|
|
@@ -15,8 +15,6 @@ export interface PriceCreateInput {
|
|
|
15
15
|
store?: number;
|
|
16
16
|
/** The manufacturer's or supplier's recommended retail price (RRP) for the product. */
|
|
17
17
|
suggested?: number;
|
|
18
|
-
/** The cost associated to acquire the product. */
|
|
19
|
-
cost?: number;
|
|
20
18
|
/** The method used to apply discounts for bulk prices / volume discounts. One of: [costpriceplus, listpricemin, netprice] */
|
|
21
19
|
bulkDiscountType?: PriceDiscountType;
|
|
22
20
|
/** Default tax code of this product. One of: [H, L, N] */
|
|
@@ -22,8 +22,6 @@ export interface PriceSearchInput {
|
|
|
22
22
|
per?: number;
|
|
23
23
|
/** Search for list price */
|
|
24
24
|
list?: DecimalSearchInput;
|
|
25
|
-
/** Search for cost price */
|
|
26
|
-
cost?: DecimalSearchInput;
|
|
27
25
|
/** Search for suggested price */
|
|
28
26
|
suggested?: DecimalSearchInput;
|
|
29
27
|
/** Search for store price */
|
|
@@ -13,8 +13,6 @@ export interface PriceUpdateInput {
|
|
|
13
13
|
store?: number;
|
|
14
14
|
/** The manufacturer's or supplier's recommended retail price (RRP) for the product. */
|
|
15
15
|
suggested?: number;
|
|
16
|
-
/** The cost associated to acquire the product. */
|
|
17
|
-
cost?: number;
|
|
18
16
|
/** The method used to apply discounts for bulk prices / volume discounts. One of: [costpriceplus, listpricemin, netprice] */
|
|
19
17
|
bulkDiscountType?: PriceDiscountType;
|
|
20
18
|
/** Default tax code of this product. One of: [H, L, N] */
|
|
@@ -17,7 +17,6 @@ import { ProductPrice } from './ProductPrice';
|
|
|
17
17
|
import { Price } from './Price';
|
|
18
18
|
import { LocalizedString } from './LocalizedString';
|
|
19
19
|
import { Source } from './Source';
|
|
20
|
-
import { ProductOffer } from './ProductOffer';
|
|
21
20
|
import { Cluster } from './Cluster';
|
|
22
21
|
import { Surcharge } from './Surcharge';
|
|
23
22
|
/**
|
|
@@ -58,14 +57,6 @@ export interface Product extends IBaseProduct {
|
|
|
58
57
|
priceData?: Price;
|
|
59
58
|
/** bulkPrices field */
|
|
60
59
|
bulkPrices?: ProductPrice[];
|
|
61
|
-
/** The requested language for this this resource, default to the
|
|
62
|
-
products default language.
|
|
63
|
-
ISO 639-1 format. */
|
|
64
|
-
/** @deprecated Deprecated in the schema; kept for backward compatibility. Will be removed in a future major. */
|
|
65
|
-
language?: string;
|
|
66
|
-
/** The class of the request resource */
|
|
67
|
-
/** @deprecated Deprecated in the schema; kept for backward compatibility. Will be removed in a future major. */
|
|
68
|
-
class: ProductClass;
|
|
69
60
|
/** The hidden status of this resource. */
|
|
70
61
|
hidden: YesNo;
|
|
71
62
|
/** names field */
|
|
@@ -78,9 +69,6 @@ export interface Product extends IBaseProduct {
|
|
|
78
69
|
slugs: LocalizedString[];
|
|
79
70
|
/** The SKU (stock keeping unit) of this product */
|
|
80
71
|
sku: string;
|
|
81
|
-
/** The default language for this product or cluster, this is the language to fall back too, when there is no translation available in a specific language. */
|
|
82
|
-
/** @deprecated Deprecated in the schema; kept for backward compatibility. Will be removed in a future major. */
|
|
83
|
-
defaultLanguage: string;
|
|
84
72
|
/** priority field */
|
|
85
73
|
priority?: number;
|
|
86
74
|
/** [SEO] Localized Metadata title available in multiple languages */
|
|
@@ -159,9 +147,6 @@ export interface Product extends IBaseProduct {
|
|
|
159
147
|
createdAt: string;
|
|
160
148
|
/** The last modified date of this product */
|
|
161
149
|
lastModifiedAt: string;
|
|
162
|
-
/** Available offers for this Product and Customer/Contact. First item in the array should be regarded as the active price */
|
|
163
|
-
/** @deprecated Deprecated in the schema; kept for backward compatibility. Will be removed in a future major. */
|
|
164
|
-
offers?: ProductOffer[];
|
|
165
150
|
/** The container class of this product. */
|
|
166
151
|
containerClass: ProductContainerClass;
|
|
167
152
|
/** The cluster ID of the product's container */
|
|
@@ -8,6 +8,7 @@ import { ProductSearchSortInput } from './ProductSearchSortInput';
|
|
|
8
8
|
import { ProductSearchTextFilterInput } from './ProductSearchTextFilterInput';
|
|
9
9
|
import { ProductStatus } from '../enum/ProductStatus';
|
|
10
10
|
import { YesNo } from '../enum/YesNo';
|
|
11
|
+
import { ProductSearchInventoryFilterInput } from './ProductSearchInventoryFilterInput';
|
|
11
12
|
/**
|
|
12
13
|
Input object for ProductSearchByCategoryInput
|
|
13
14
|
*/
|
|
@@ -82,4 +83,9 @@ export interface ProductSearchByCategoryInput {
|
|
|
82
83
|
applyOrderlists?: boolean;
|
|
83
84
|
/** Order list IDs to apply for filtering */
|
|
84
85
|
orderlistIds?: number[];
|
|
86
|
+
/** Server-side stock filter. Operators are inclusive: `greaterThan: N` is
|
|
87
|
+
stock >= N and `lessThan: N` is stock <= N. Never-stocked products count
|
|
88
|
+
as 0. Filtering is applied upstream, so `itemsFound` / `pages` reflect
|
|
89
|
+
the filtered set. */
|
|
90
|
+
inventory?: ProductSearchInventoryFilterInput;
|
|
85
91
|
}
|
|
@@ -7,6 +7,7 @@ import { ProductPriceFilterInput } from './ProductPriceFilterInput';
|
|
|
7
7
|
import { ProductSortInput } from './ProductSortInput';
|
|
8
8
|
import { SearchFieldsInput } from './SearchFieldsInput';
|
|
9
9
|
import { DateSearchInput } from './DateSearchInput';
|
|
10
|
+
import { ProductSearchInventoryFilterInput } from './ProductSearchInventoryFilterInput';
|
|
10
11
|
/**
|
|
11
12
|
Input object for ProductSearchInput
|
|
12
13
|
*/
|
|
@@ -60,9 +61,6 @@ export interface ProductSearchInput {
|
|
|
60
61
|
isBundleLeader?: YesNo;
|
|
61
62
|
/** Product container slug(s) */
|
|
62
63
|
containerSlugs?: string[];
|
|
63
|
-
/** Product path slug(s) */
|
|
64
|
-
/** @deprecated Deprecated in the schema; kept for backward compatibility. Will be removed in a future major. */
|
|
65
|
-
containerPathSlugs?: string[];
|
|
66
64
|
/** Browse catalog as a specific User. Permissions, orderlists, favorite will be merged with the logged in user. */
|
|
67
65
|
userId?: number;
|
|
68
66
|
/** Browse catalog as a specific Company. Permissions, orderlists, favorite will be merged with the logged in user. */
|
|
@@ -71,9 +69,6 @@ export interface ProductSearchInput {
|
|
|
71
69
|
createdAt?: DateSearchInput;
|
|
72
70
|
/** Search by date changed */
|
|
73
71
|
lastModifiedAt?: DateSearchInput;
|
|
74
|
-
/** Product path */
|
|
75
|
-
/** @deprecated Deprecated in the schema; kept for backward compatibility. Will be removed in a future major. */
|
|
76
|
-
path?: string;
|
|
77
72
|
/** Product unique category identifier */
|
|
78
73
|
categoryId?: number;
|
|
79
74
|
/** List of product SKUs */
|
|
@@ -84,4 +79,9 @@ export interface ProductSearchInput {
|
|
|
84
79
|
applyOrderlists?: boolean;
|
|
85
80
|
/** List orderlists to apply */
|
|
86
81
|
orderlistIds?: number[];
|
|
82
|
+
/** Server-side stock filter. Operators are inclusive: `greaterThan: N` is
|
|
83
|
+
stock >= N and `lessThan: N` is stock <= N. Never-stocked products count
|
|
84
|
+
as 0. Filtering is applied upstream, so `itemsFound` / `pages` reflect
|
|
85
|
+
the filtered set. */
|
|
86
|
+
inventory?: ProductSearchInventoryFilterInput;
|
|
87
87
|
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { NumberSearchInput } from './NumberSearchInput';
|
|
2
|
+
/**
|
|
3
|
+
Input object for ProductSearchInventoryFilterInput
|
|
4
|
+
|
|
5
|
+
Server-side stock filter for product search. Because the filtering happens
|
|
6
|
+
upstream, the pagination counts on the response (`itemsFound`, `pages`)
|
|
7
|
+
describe the *filtered* set, so they can be used directly for paging.
|
|
8
|
+
|
|
9
|
+
Products that were never stocked have no inventory record and count as **0**.
|
|
10
|
+
|
|
11
|
+
`NumberSearchInput` operators are inclusive despite their names —
|
|
12
|
+
`greaterThan: N` means stock **>= N** and `lessThan: N` means stock **<= N**:
|
|
13
|
+
|
|
14
|
+
- In stock — `{ totalQuantity: { greaterThan: 1 } }` (>= 1). This includes
|
|
15
|
+
products with exactly 1 in stock, which is correct.
|
|
16
|
+
- Out of stock — `{ totalQuantity: { equal: 0 } }` (exactly 0, including
|
|
17
|
+
never-stocked products), or `{ totalQuantity: { lessThan: 0 } }` (<= 0) to
|
|
18
|
+
also catch negative balances.
|
|
19
|
+
|
|
20
|
+
Do **not** use `lessThan: 1` for out-of-stock: it means <= 1 and therefore
|
|
21
|
+
includes in-stock products that have exactly 1 remaining.
|
|
22
|
+
*/
|
|
23
|
+
export interface ProductSearchInventoryFilterInput {
|
|
24
|
+
/** Filter on the total available quantity across all warehouses */
|
|
25
|
+
totalQuantity?: NumberSearchInput;
|
|
26
|
+
/** Filter on the local warehouse quantity */
|
|
27
|
+
localQuantity?: NumberSearchInput;
|
|
28
|
+
/** Filter on the supplier warehouse quantity */
|
|
29
|
+
supplierQuantity?: NumberSearchInput;
|
|
30
|
+
}
|
|
@@ -8,6 +8,7 @@ import { ProductSearchSortInput } from './ProductSearchSortInput';
|
|
|
8
8
|
import { ProductSearchTextFilterInput } from './ProductSearchTextFilterInput';
|
|
9
9
|
import { ProductStatus } from '../enum/ProductStatus';
|
|
10
10
|
import { YesNo } from '../enum/YesNo';
|
|
11
|
+
import { ProductSearchInventoryFilterInput } from './ProductSearchInventoryFilterInput';
|
|
11
12
|
/**
|
|
12
13
|
Input object for ProductSearchSearchInput
|
|
13
14
|
*/
|
|
@@ -84,4 +85,9 @@ export interface ProductSearchSearchInput {
|
|
|
84
85
|
applyOrderlists?: boolean;
|
|
85
86
|
/** Order list IDs to apply for filtering */
|
|
86
87
|
orderlistIds?: number[];
|
|
88
|
+
/** Server-side stock filter. Operators are inclusive: `greaterThan: N` is
|
|
89
|
+
stock >= N and `lessThan: N` is stock <= N. Never-stocked products count
|
|
90
|
+
as 0. Filtering is applied upstream, so `itemsFound` / `pages` reflect
|
|
91
|
+
the filtered set. */
|
|
92
|
+
inventory?: ProductSearchInventoryFilterInput;
|
|
87
93
|
}
|
|
@@ -7,6 +7,7 @@ import { ProductPriceFilterInput } from './ProductPriceFilterInput';
|
|
|
7
7
|
import { ProductSortInput } from './ProductSortInput';
|
|
8
8
|
import { SearchFieldsInput } from './SearchFieldsInput';
|
|
9
9
|
import { DateSearchInput } from './DateSearchInput';
|
|
10
|
+
import { ProductSearchInventoryFilterInput } from './ProductSearchInventoryFilterInput';
|
|
10
11
|
/**
|
|
11
12
|
Input object for SparePartsMachineProductSearchInput
|
|
12
13
|
*/
|
|
@@ -74,4 +75,9 @@ export interface SparePartsMachineProductSearchInput {
|
|
|
74
75
|
skus?: string[];
|
|
75
76
|
/** [Deprecated] Category path for hierarchical navigation. */
|
|
76
77
|
path?: string;
|
|
78
|
+
/** Server-side stock filter. Operators are inclusive: `greaterThan: N` is
|
|
79
|
+
stock >= N and `lessThan: N` is stock <= N. Never-stocked products count
|
|
80
|
+
as 0. Filtering is applied upstream, so `itemsFound` / `pages` reflect
|
|
81
|
+
the filtered set. */
|
|
82
|
+
inventory?: ProductSearchInventoryFilterInput;
|
|
77
83
|
}
|
|
@@ -3,8 +3,6 @@ import { TaxCode } from '../enum/TaxCode';
|
|
|
3
3
|
Input object for TaxCreateInput
|
|
4
4
|
*/
|
|
5
5
|
export interface TaxCreateInput {
|
|
6
|
-
/** Shop identifier for the tax to apply to... If not provided the default will be inferred from the channel */
|
|
7
|
-
shopId: number;
|
|
8
6
|
/** Tax code */
|
|
9
7
|
code?: TaxCode;
|
|
10
8
|
/** Tax zone */
|
|
@@ -5,20 +5,6 @@ import { LocalizedStringInput } from './LocalizedStringInput';
|
|
|
5
5
|
Input object for UpdateCategoryInput
|
|
6
6
|
*/
|
|
7
7
|
export interface UpdateCategoryInput {
|
|
8
|
-
/** Localized category name as it is available in
|
|
9
|
-
the supported language defaults to the category's default language. */
|
|
10
|
-
/** @deprecated Deprecated in the schema; kept for backward compatibility. Will be removed in a future major. */
|
|
11
|
-
name?: LocalizedStringInput[];
|
|
12
|
-
/** The long description for this category,
|
|
13
|
-
this field can contain html formatting,
|
|
14
|
-
this field can be translated is case of multilingual catalog. */
|
|
15
|
-
/** @deprecated Deprecated in the schema; kept for backward compatibility. Will be removed in a future major. */
|
|
16
|
-
description?: LocalizedStringInput[];
|
|
17
|
-
/** The short description for this category,
|
|
18
|
-
this field can contain html formatting,
|
|
19
|
-
this field can be translated is case of multilingual catalog. */
|
|
20
|
-
/** @deprecated Deprecated in the schema; kept for backward compatibility. Will be removed in a future major. */
|
|
21
|
-
shortDescription?: LocalizedStringInput[];
|
|
22
8
|
/** The category's parent Category when available */
|
|
23
9
|
parent?: number;
|
|
24
10
|
/** [SEO] Metadata title in different languages. */
|