{"version":3,"sources":["jsdelivr-header.js","/npm/@scayle/admin-api@0.12.0/target/build/source/entry-point.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,OCLO,OAAQ,YACN,0BAA6B,qCAC7B,yBAA4B,+BAC5B,+BAAkC,uDAClC,kCAAqC,+DACrC,2BAA8B,+CAC9B,mCAAsC,+DACtC,4BAA+B,iDAC/B,6BAAgC,mDAChC,8BAAiC,qDACjC,0CAA6C,iFAC7C,qCAAwC,qEACxC,+BAAkC,uDAClC,qCAAwC,qEACxC,0CAA6C,wEAC7C,qCAAwC,qEACxC,iCAAoC,2DACpC,4BAA+B,iDAC/B,mCAAsC,0DACtC,8BAAiC,qDACjC,+BAAkC,uDAClC,4BAA+B,iDAC/B,uCAA0C,2EAC1C,gCAAmC,yDACnC,8BAAiC,qDACjC,+BAAkC,uDAClC,mCAAsC,iEACtC,0CAA6C,iFAC7C,8BAAiC,qDACjC,oCAAuC,mEAEzC,SAAS,2BAA2B,GACvC,MAAM,EAAkB,sBAAsB,CAAE,MAAI,YAC9C,EAAoB,wBAAwB,CAAE,oBAC9C,EAAyB,6BAA6B,CAAE,oBACxD,EAA6B,iCAAiC,CAAE,oBAChE,EAAoB,wBAAwB,CAAE,oBAC9C,EAA2B,+BAA+B,CAAE,oBAC5D,EAAuB,2BAA2B,CAAE,oBACpD,EAAsB,0BAA0B,CAAE,oBAClD,EAAuB,2BAA2B,CAAE,oBACpD,EAA6B,iCAAiC,CAAE,oBAChE,EAAoB,wBAAwB,CAAE,oBAC9C,EAAsB,0BAA0B,CAAE,oBAClD,EAA6B,iCAAiC,CAAE,oBAChE,EAAkC,sCAAsC,CAAE,oBAC1E,EAAkC,sCAAsC,CAAE,oBAC1E,EAAqB,yBAAyB,CAAE,oBAChD,EAAuB,2BAA2B,CAAE,oBACpD,EAA2B,+BAA+B,CAAE,oBAC5D,EAA0B,8BAA8B,CAAE,oBAC1D,EAAmB,uBAAuB,CAAE,oBAC5C,EAAuB,2BAA2B,CAAE,oBACpD,EAAsB,0BAA0B,CAAE,oBAClD,EAAwB,4BAA4B,CAAE,oBACtD,EAAkC,sCAAsC,CAAE,oBAChF,OAAO,qBAAqB,CACxB,oBACA,yBACA,6BACA,oBACA,2BACA,uBACA,sBACA,uBACA,6BACA,oBACA,sBACA,6BACA,kCACA,kCACA,qBACA,uBACA,2BACA,0BACA,mBACA,uBACA,sBACA,wBACA,kCACA,6BAA8B,mCAAmC,CAAE,oBACnE,oBAAqB,0BAA0B,CAAE,oBACjD,yBAA0B,+BAA+B,CAAE,oBAC3D,0BAA2B,gCAAgC,CAAE,qBAErE,aACe,sDACA,sDACA,+DACA,uEACA,0DACA,8DACA,0EACA,oFACA,gEACA,oEACA,4DACA,oEACA,mFACA,oEACA,oEACA,6DACA,uDACN,YAAe,qDACT,sDACA,2DACA,8EACA,6DACA,iFACA,gFACA,0DACA,sEACA,wEACA,8FACA,0EACA,0EACA,sFACA,sFACA,wDACA,+BACN,wBAA2B,kCACrB,0CACA,4DACA,oDACA,oEACA,qEACN,sCAAyC,2EACzC,kCAAmC,mCAAoC,kCAAmC,wCAA2C,sDAC/I","file":"/npm/@scayle/admin-api@0.12.0/target/build/source/entry-point.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/@scayle/admin-api@0.12.0/target/build/source/entry-point.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","/* eslint-disable import/max-dependencies -- we want our types to be easily imported. We could also set ignoreTypeImports to true, but that would affect all files and not just this one */\nimport ky from 'ky';\nimport { createAdminApiFetcher } from './http/admin-api-fetcher.js';\nimport { createAdminApiClient } from './admin-api-client.js';\nimport { createShipmentEntityClient } from './entities/shipment/shipment-entity-client.js';\nimport { createShopCountryEntityClient } from './entities/shop-country/shop-country-entity-client.js';\nimport { createShopEntityClient } from './entities/shop/shop-entity-client.js';\nimport { createCancellationEntityClient } from './entities/cancellation/cancellation-entity-client.js';\nimport { createOrderEntityClient } from './entities/order/order-entity-client.js';\nimport { createReturnEntityClient } from './entities/return/return-entity-client.js';\nimport { createProductEntityClient } from './entities/product/product-entity-client.js';\nimport { createProductVariantStockEntityClient } from './entities/product-variant-stock/product-variant-stock-entity-client.js';\nimport { createProductVariantEntityClient } from './entities/product-variant/product-variant-entity-client.js';\nimport { createMerchantEntityClient } from './entities/merchant/merchant-entity-client.js';\nimport { createMasterCategoryEntityClient } from './entities/master-category/master-category-entity-client.js';\nimport { createWebhookSubscriptionEntityClient } from './entities/webhook-subscription/webhook-subscription-client.js';\nimport { createAttributeGroupEntityClient } from './entities/attribute-group/attribute-group-entity-client.js';\nimport { createAssortmentEntityClient } from './entities/assortment/assortment-entity-client.js';\nimport { createAssetEntityClient } from './entities/asset/asset-entity-client.js';\nimport { createShopCategoryEntityClient } from './entities/shop-category/shop-category-client.js';\nimport { createCarrierEntityClient } from './entities/carrier/carrier-entity-client.js';\nimport { createCampaignEntityClient } from './entities/campaign/campaign-entity-client.js';\nimport { createBrandEntityClient } from './entities/brand/brand-entity-client.js';\nimport { createCustomDataConfigEntityClient } from './entities/custom-data-config/custom-data-config-entity-client.js';\nimport { createWarehouseEntityClient } from './entities/warehouse/warehouse-entity-client.js';\nimport { createCompanyEntityClient } from './entities/company/company-entity-client.js';\nimport { createCustomerEntityClient } from './entities/customer/customer-entity-client.js';\nimport { createProductImageEntityClient } from './entities/product-image/product-image-entity-client.js';\nimport { createProductVariantPriceEntityClient } from './entities/product-variant-price/product-variant-price-entity-client.js';\nimport { createVoucherEntityClient } from './entities/voucher/voucher-entity-client.js';\nimport { createProductMasterEntityClient } from './entities/product-master/product-master-entity-client.js';\n/* eslint-disable-next-line max-statements -- this method needs many client instances to be created, therefore we allow more than the usual number of statements */\nexport function createScayleAdminApiClient(options) {\n    const adminApiFetcher = createAdminApiFetcher({ ky, options });\n    const assetEntityClient = createAssetEntityClient({ adminApiFetcher });\n    const assortmentEntityClient = createAssortmentEntityClient({ adminApiFetcher });\n    const attributeGroupEntityClient = createAttributeGroupEntityClient({ adminApiFetcher });\n    const brandEntityClient = createBrandEntityClient({ adminApiFetcher });\n    const cancellationEntityClient = createCancellationEntityClient({ adminApiFetcher });\n    const campaignEntityClient = createCampaignEntityClient({ adminApiFetcher });\n    const carrierEntityClient = createCarrierEntityClient({ adminApiFetcher });\n    const customerEntityClient = createCustomerEntityClient({ adminApiFetcher });\n    const masterCategoryEntityClient = createMasterCategoryEntityClient({ adminApiFetcher });\n    const orderEntityClient = createOrderEntityClient({ adminApiFetcher });\n    const productEntityClient = createProductEntityClient({ adminApiFetcher });\n    const productVariantEntityClient = createProductVariantEntityClient({ adminApiFetcher });\n    const productVariantPriceEntityClient = createProductVariantPriceEntityClient({ adminApiFetcher });\n    const productVariantStockEntityClient = createProductVariantStockEntityClient({ adminApiFetcher });\n    const returnEntityClient = createReturnEntityClient({ adminApiFetcher });\n    const shipmentEntityClient = createShipmentEntityClient({ adminApiFetcher });\n    const shopCategoryEntityClient = createShopCategoryEntityClient({ adminApiFetcher });\n    const shopCountryEntityClient = createShopCountryEntityClient({ adminApiFetcher });\n    const shopEntityClient = createShopEntityClient({ adminApiFetcher });\n    const merchantEntityClient = createMerchantEntityClient({ adminApiFetcher });\n    const voucherEntityClient = createVoucherEntityClient({ adminApiFetcher });\n    const warehouseEntityClient = createWarehouseEntityClient({ adminApiFetcher });\n    const webhookSubscriptionEntityClient = createWebhookSubscriptionEntityClient({ adminApiFetcher });\n    return createAdminApiClient({\n        assetEntityClient,\n        assortmentEntityClient,\n        attributeGroupEntityClient,\n        brandEntityClient,\n        cancellationEntityClient,\n        campaignEntityClient,\n        carrierEntityClient,\n        customerEntityClient,\n        masterCategoryEntityClient,\n        orderEntityClient,\n        productEntityClient,\n        productVariantEntityClient,\n        productVariantPriceEntityClient,\n        productVariantStockEntityClient,\n        returnEntityClient,\n        shipmentEntityClient,\n        shopCategoryEntityClient,\n        shopCountryEntityClient,\n        shopEntityClient,\n        merchantEntityClient,\n        voucherEntityClient,\n        warehouseEntityClient,\n        webhookSubscriptionEntityClient,\n        customDataConfigEntityClient: createCustomDataConfigEntityClient({ adminApiFetcher }),\n        companyEntityClient: createCompanyEntityClient({ adminApiFetcher }),\n        productImageEntityClient: createProductImageEntityClient({ adminApiFetcher }),\n        productMasterEntityClient: createProductMasterEntityClient({ adminApiFetcher })\n    });\n}\nexport {} from './entities/asset/schema/asset-schema.js';\nexport {} from './entities/brand/schema/brand-schema.js';\nexport {} from './entities/shop-category/schema/shop-category.js';\nexport {} from './entities/shop-category/schema/shop-category-country.js';\nexport {} from './entities/carrier/schema/carrier-schema.js';\nexport {} from './entities/attribute/schema/attribute-schema.js';\nexport {} from './entities/attribute-group/schema/attribute-group-schema.js';\nexport {} from './entities/attribute/schema/attribute-shop-country-specific-schema.js';\nexport {} from './entities/assortment/schema/assortment-schema.js';\nexport {} from './entities/cancellation/schema/cancellation-schema.js';\nexport {} from './entities/customer/schema/customer-schema.js';\nexport {} from './entities/customer/schema/customer-address-schema.js';\nexport {} from './entities/webhook-events/schema/customer/customer-updated-schema.js';\nexport {} from './entities/iso/iso31661-alpha2-country-code-schema.js';\nexport {} from './entities/iso/iso31661-alpha3-country-code-schema.js';\nexport {} from './entities/iso/iso4217-currency-code-schema.js';\nexport {} from './entities/iso/iso639-language-code-schema.js';\nexport { locales } from './entities/iso/locale/locale-schema.js';\nexport {} from './entities/order/schema/order-schema.js';\nexport {} from './entities/order/schema/order-item-schema.js';\nexport {} from './entities/webhook-events/schema/order/order-invoiced-schema.js';\nexport {} from './entities/order/schema/order-status-schema.js';\nexport {} from './entities/webhook-events/schema/payment/payment-capture-schema.js';\nexport {} from './entities/webhook-events/schema/payment/payment-refund-schema.js';\nexport {} from './entities/product/schema/product-schema.js';\nexport {} from './entities/product-image/schema/product-image-schema.js';\nexport {} from './entities/product-master/schema/product-master-schema.js';\nexport {} from './entities/product-master-categories/schema/product-master-categories-schema.js';\nexport {} from './entities/product-sorting/schema/product-sorting-schema.js';\nexport {} from './entities/product-variant/schema/product-variant-schema.js';\nexport {} from './entities/product-variant-price/schema/product-variant-price-schema.js';\nexport {} from './entities/product-variant-stock/schema/product-variant-stock-schema.js';\nexport {} from './entities/return/schema/return-schema.js';\nexport {} from './admin-api-client.js';\nexport { ScayleAdminApiError } from './http/api-error.js';\nexport {} from './http/admin-api-fetcher.js';\nexport {} from './entities/shipment/schema/shipment-schema.js';\nexport {} from './entities/shop/schema/shop-schema.js';\nexport {} from './entities/shop-country/schema/shop-country-schema.js';\nexport {} from './entities/master-category/schema/master-category-schema.js';\nexport { availableCustomDataConfigEntities } from './entities/custom-data-config/custom-data-config-entity-client.js';\nexport { validateOrderInvoicedEventOrThrow, validatePaymentCaptureEventOrThrow, validatePaymentRefundEventOrThrow, validateCustomerUpdatedEventOrThrow } from './entities/webhook-events/validation.js';\nexport {} from './entities/webhook-subscription/schema/webhook-subscription-schema.js';\n"]}