@commercelayer/sdk 7.0.1 → 7.1.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/lib/{api-BsKF9Q-K.d.cts → api-BljuENr-.d.cts} +61 -1
- package/lib/{api-hqUAWxVp.d.ts → api-DIJqRuGh.d.ts} +61 -1
- package/lib/api.cjs +12 -12
- package/lib/api.d.cts +1 -1
- package/lib/api.d.ts +1 -1
- package/lib/api.js +6 -6
- package/lib/bundle.cjs +14 -14
- package/lib/bundle.d.cts +1 -1
- package/lib/bundle.d.ts +1 -1
- package/lib/bundle.js +7 -7
- package/lib/{chunk-I66TFFKG.cjs → chunk-2H2ODZUY.cjs} +2 -2
- package/lib/chunk-2H2ODZUY.cjs.map +1 -0
- package/lib/{chunk-54UOEWTE.cjs → chunk-3CBCQQBN.cjs} +2 -2
- package/lib/chunk-3CBCQQBN.cjs.map +1 -0
- package/lib/{chunk-G2Y67WFX.js → chunk-BNWM637R.js} +2 -2
- package/lib/chunk-BNWM637R.js.map +1 -0
- package/lib/{chunk-N54ON7TD.js → chunk-D7A27LT5.js} +3 -3
- package/lib/{chunk-N54ON7TD.js.map → chunk-D7A27LT5.js.map} +1 -1
- package/lib/{chunk-ATVNGAQC.cjs → chunk-F46RW7IU.cjs} +2 -2
- package/lib/chunk-F46RW7IU.cjs.map +1 -0
- package/lib/{chunk-TRPV3CFO.cjs → chunk-HOJUXLZD.cjs} +2 -2
- package/lib/chunk-HOJUXLZD.cjs.map +1 -0
- package/lib/{chunk-ZZ5BND4W.js → chunk-JPX4RLBV.js} +2 -2
- package/lib/chunk-JPX4RLBV.js.map +1 -0
- package/lib/{chunk-AT27CIRM.js → chunk-KMWKIU65.js} +2 -2
- package/lib/chunk-KMWKIU65.js.map +1 -0
- package/lib/{chunk-VR3ZMKF5.js → chunk-L2QR7VHD.js} +3 -3
- package/lib/{chunk-VR3ZMKF5.js.map → chunk-L2QR7VHD.js.map} +1 -1
- package/lib/{chunk-FLFTXWLQ.cjs → chunk-LIIFLHEH.cjs} +2 -2
- package/lib/chunk-LIIFLHEH.cjs.map +1 -0
- package/lib/{chunk-HZQRIP3G.js → chunk-LUS6TTEC.js} +2 -2
- package/lib/chunk-LUS6TTEC.js.map +1 -0
- package/lib/{chunk-D4RA67CM.cjs → chunk-MT3V3H5R.cjs} +4 -4
- package/lib/{chunk-D4RA67CM.cjs.map → chunk-MT3V3H5R.cjs.map} +1 -1
- package/lib/{chunk-QD2VBPJU.js → chunk-OPPZLGKC.js} +2 -2
- package/lib/chunk-OPPZLGKC.js.map +1 -0
- package/lib/{chunk-Z4QZRC4T.cjs → chunk-RVECNXMX.cjs} +3 -3
- package/lib/{chunk-Z4QZRC4T.cjs.map → chunk-RVECNXMX.cjs.map} +1 -1
- package/lib/{chunk-E6MQFGEF.js → chunk-WFBWZVOK.js} +2 -2
- package/lib/chunk-WFBWZVOK.js.map +1 -0
- package/lib/{chunk-K3BSXSHS.cjs → chunk-ZPEK2ZCL.cjs} +2 -2
- package/lib/chunk-ZPEK2ZCL.cjs.map +1 -0
- package/lib/commercelayer.cjs +5 -5
- package/lib/commercelayer.d.cts +3 -3
- package/lib/commercelayer.d.ts +3 -3
- package/lib/commercelayer.js +1 -1
- package/lib/enum.d.cts +1 -1
- package/lib/enum.d.ts +1 -1
- package/lib/index.cjs +17 -17
- package/lib/index.d.cts +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +8 -8
- package/lib/jsonapi.d.cts +1 -1
- package/lib/jsonapi.d.ts +1 -1
- package/lib/model.d.cts +1 -1
- package/lib/model.d.ts +1 -1
- package/lib/query.d.cts +1 -1
- package/lib/query.d.ts +1 -1
- package/lib/resource.d.cts +1 -1
- package/lib/resource.d.ts +1 -1
- package/lib/resources/addresses.d.cts +2 -2
- package/lib/resources/addresses.d.ts +1 -1
- package/lib/resources/adjustments.d.cts +2 -2
- package/lib/resources/adjustments.d.ts +1 -1
- package/lib/resources/adyen_gateways.d.cts +2 -2
- package/lib/resources/adyen_gateways.d.ts +1 -1
- package/lib/resources/adyen_payments.d.cts +2 -2
- package/lib/resources/adyen_payments.d.ts +1 -1
- package/lib/resources/applications.d.cts +2 -2
- package/lib/resources/applications.d.ts +1 -1
- package/lib/resources/attachments.d.cts +2 -2
- package/lib/resources/attachments.d.ts +1 -1
- package/lib/resources/authorizations.d.cts +2 -2
- package/lib/resources/authorizations.d.ts +1 -1
- package/lib/resources/avalara_accounts.d.cts +2 -2
- package/lib/resources/avalara_accounts.d.ts +1 -1
- package/lib/resources/axerve_gateways.d.cts +2 -2
- package/lib/resources/axerve_gateways.d.ts +1 -1
- package/lib/resources/axerve_payments.d.cts +2 -2
- package/lib/resources/axerve_payments.d.ts +1 -1
- package/lib/resources/bing_geocoders.d.cts +2 -2
- package/lib/resources/bing_geocoders.d.ts +1 -1
- package/lib/resources/braintree_gateways.d.cts +2 -2
- package/lib/resources/braintree_gateways.d.ts +1 -1
- package/lib/resources/braintree_payments.d.cts +2 -2
- package/lib/resources/braintree_payments.d.ts +1 -1
- package/lib/resources/bundles.d.cts +2 -2
- package/lib/resources/bundles.d.ts +1 -1
- package/lib/resources/buy_x_pay_y_promotions.d.cts +2 -2
- package/lib/resources/buy_x_pay_y_promotions.d.ts +1 -1
- package/lib/resources/captures.d.cts +2 -2
- package/lib/resources/captures.d.ts +1 -1
- package/lib/resources/carrier_accounts.d.cts +2 -2
- package/lib/resources/carrier_accounts.d.ts +1 -1
- package/lib/resources/checkout_com_gateways.d.cts +2 -2
- package/lib/resources/checkout_com_gateways.d.ts +1 -1
- package/lib/resources/checkout_com_payments.d.cts +2 -2
- package/lib/resources/checkout_com_payments.d.ts +1 -1
- package/lib/resources/cleanups.d.cts +2 -2
- package/lib/resources/cleanups.d.ts +1 -1
- package/lib/resources/coupon_codes_promotion_rules.d.cts +2 -2
- package/lib/resources/coupon_codes_promotion_rules.d.ts +1 -1
- package/lib/resources/coupon_recipients.d.cts +2 -2
- package/lib/resources/coupon_recipients.d.ts +1 -1
- package/lib/resources/coupons.d.cts +2 -2
- package/lib/resources/coupons.d.ts +1 -1
- package/lib/resources/custom_promotion_rules.d.cts +2 -2
- package/lib/resources/custom_promotion_rules.d.ts +1 -1
- package/lib/resources/customer_addresses.d.cts +2 -2
- package/lib/resources/customer_addresses.d.ts +1 -1
- package/lib/resources/customer_groups.d.cts +2 -2
- package/lib/resources/customer_groups.d.ts +1 -1
- package/lib/resources/customer_password_resets.d.cts +2 -2
- package/lib/resources/customer_password_resets.d.ts +1 -1
- package/lib/resources/customer_payment_sources.d.cts +2 -2
- package/lib/resources/customer_payment_sources.d.ts +1 -1
- package/lib/resources/customer_subscriptions.d.cts +2 -2
- package/lib/resources/customer_subscriptions.d.ts +1 -1
- package/lib/resources/customers.d.cts +2 -2
- package/lib/resources/customers.d.ts +1 -1
- package/lib/resources/delivery_lead_times.d.cts +2 -2
- package/lib/resources/delivery_lead_times.d.ts +1 -1
- package/lib/resources/discount_engine_items.d.cts +2 -2
- package/lib/resources/discount_engine_items.d.ts +1 -1
- package/lib/resources/discount_engines.d.cts +2 -2
- package/lib/resources/discount_engines.d.ts +1 -1
- package/lib/resources/easypost_pickups.d.cts +2 -2
- package/lib/resources/easypost_pickups.d.ts +1 -1
- package/lib/resources/event_callbacks.d.cts +2 -2
- package/lib/resources/event_callbacks.d.ts +1 -1
- package/lib/resources/event_stores.d.cts +2 -2
- package/lib/resources/event_stores.d.ts +1 -1
- package/lib/resources/events.d.cts +2 -2
- package/lib/resources/events.d.ts +1 -1
- package/lib/resources/exports.d.cts +2 -2
- package/lib/resources/exports.d.ts +1 -1
- package/lib/resources/external_gateways.d.cts +2 -2
- package/lib/resources/external_gateways.d.ts +1 -1
- package/lib/resources/external_payments.d.cts +2 -2
- package/lib/resources/external_payments.d.ts +1 -1
- package/lib/resources/external_promotions.d.cts +2 -2
- package/lib/resources/external_promotions.d.ts +1 -1
- package/lib/resources/external_tax_calculators.d.cts +2 -2
- package/lib/resources/external_tax_calculators.d.ts +1 -1
- package/lib/resources/fixed_amount_promotions.d.cts +2 -2
- package/lib/resources/fixed_amount_promotions.d.ts +1 -1
- package/lib/resources/fixed_price_promotions.d.cts +2 -2
- package/lib/resources/fixed_price_promotions.d.ts +1 -1
- package/lib/resources/flex_promotions.cjs +2 -2
- package/lib/resources/flex_promotions.d.cts +2 -2
- package/lib/resources/flex_promotions.d.ts +1 -1
- package/lib/resources/flex_promotions.js +1 -1
- package/lib/resources/free_gift_promotions.d.cts +2 -2
- package/lib/resources/free_gift_promotions.d.ts +1 -1
- package/lib/resources/free_shipping_promotions.d.cts +2 -2
- package/lib/resources/free_shipping_promotions.d.ts +1 -1
- package/lib/resources/geocoders.d.cts +2 -2
- package/lib/resources/geocoders.d.ts +1 -1
- package/lib/resources/gift_card_recipients.d.cts +2 -2
- package/lib/resources/gift_card_recipients.d.ts +1 -1
- package/lib/resources/gift_cards.d.cts +2 -2
- package/lib/resources/gift_cards.d.ts +1 -1
- package/lib/resources/google_geocoders.d.cts +2 -2
- package/lib/resources/google_geocoders.d.ts +1 -1
- package/lib/resources/imports.d.cts +2 -2
- package/lib/resources/imports.d.ts +1 -1
- package/lib/resources/in_stock_subscriptions.d.cts +2 -2
- package/lib/resources/in_stock_subscriptions.d.ts +1 -1
- package/lib/resources/inventory_models.d.cts +2 -2
- package/lib/resources/inventory_models.d.ts +1 -1
- package/lib/resources/inventory_return_locations.d.cts +2 -2
- package/lib/resources/inventory_return_locations.d.ts +1 -1
- package/lib/resources/inventory_stock_locations.d.cts +2 -2
- package/lib/resources/inventory_stock_locations.d.ts +1 -1
- package/lib/resources/klarna_gateways.d.cts +2 -2
- package/lib/resources/klarna_gateways.d.ts +1 -1
- package/lib/resources/klarna_payments.d.cts +2 -2
- package/lib/resources/klarna_payments.d.ts +1 -1
- package/lib/resources/line_item_options.d.cts +2 -2
- package/lib/resources/line_item_options.d.ts +1 -1
- package/lib/resources/line_items.d.cts +2 -2
- package/lib/resources/line_items.d.ts +1 -1
- package/lib/resources/links.d.cts +2 -2
- package/lib/resources/links.d.ts +1 -1
- package/lib/resources/manual_gateways.d.cts +2 -2
- package/lib/resources/manual_gateways.d.ts +1 -1
- package/lib/resources/manual_tax_calculators.d.cts +2 -2
- package/lib/resources/manual_tax_calculators.d.ts +1 -1
- package/lib/resources/markets.d.cts +2 -2
- package/lib/resources/markets.d.ts +1 -1
- package/lib/resources/merchants.d.cts +2 -2
- package/lib/resources/merchants.d.ts +1 -1
- package/lib/resources/notifications.d.cts +2 -2
- package/lib/resources/notifications.d.ts +1 -1
- package/lib/resources/order_amount_promotion_rules.d.cts +2 -2
- package/lib/resources/order_amount_promotion_rules.d.ts +1 -1
- package/lib/resources/order_copies.d.cts +2 -2
- package/lib/resources/order_copies.d.ts +1 -1
- package/lib/resources/order_factories.d.cts +2 -2
- package/lib/resources/order_factories.d.ts +1 -1
- package/lib/resources/order_subscription_items.d.cts +2 -2
- package/lib/resources/order_subscription_items.d.ts +1 -1
- package/lib/resources/order_subscriptions.d.cts +2 -2
- package/lib/resources/order_subscriptions.d.ts +1 -1
- package/lib/resources/orders.cjs +2 -2
- package/lib/resources/orders.d.cts +2 -2
- package/lib/resources/orders.d.ts +1 -1
- package/lib/resources/orders.js +1 -1
- package/lib/resources/organizations.d.cts +2 -2
- package/lib/resources/organizations.d.ts +1 -1
- package/lib/resources/packages.d.cts +2 -2
- package/lib/resources/packages.d.ts +1 -1
- package/lib/resources/parcel_line_items.d.cts +2 -2
- package/lib/resources/parcel_line_items.d.ts +1 -1
- package/lib/resources/parcels.d.cts +2 -2
- package/lib/resources/parcels.d.ts +1 -1
- package/lib/resources/payment_gateways.d.cts +2 -2
- package/lib/resources/payment_gateways.d.ts +1 -1
- package/lib/resources/payment_methods.d.cts +2 -2
- package/lib/resources/payment_methods.d.ts +1 -1
- package/lib/resources/payment_options.d.cts +2 -2
- package/lib/resources/payment_options.d.ts +1 -1
- package/lib/resources/paypal_gateways.d.cts +2 -2
- package/lib/resources/paypal_gateways.d.ts +1 -1
- package/lib/resources/paypal_payments.d.cts +2 -2
- package/lib/resources/paypal_payments.d.ts +1 -1
- package/lib/resources/percentage_discount_promotions.d.cts +2 -2
- package/lib/resources/percentage_discount_promotions.d.ts +1 -1
- package/lib/resources/pickups.d.cts +2 -2
- package/lib/resources/pickups.d.ts +1 -1
- package/lib/resources/price_frequency_tiers.d.cts +2 -2
- package/lib/resources/price_frequency_tiers.d.ts +1 -1
- package/lib/resources/price_list_schedulers.d.cts +2 -2
- package/lib/resources/price_list_schedulers.d.ts +1 -1
- package/lib/resources/price_lists.cjs +2 -2
- package/lib/resources/price_lists.d.cts +2 -2
- package/lib/resources/price_lists.d.ts +1 -1
- package/lib/resources/price_lists.js +1 -1
- package/lib/resources/price_tiers.d.cts +2 -2
- package/lib/resources/price_tiers.d.ts +1 -1
- package/lib/resources/price_volume_tiers.d.cts +2 -2
- package/lib/resources/price_volume_tiers.d.ts +1 -1
- package/lib/resources/prices.cjs +2 -2
- package/lib/resources/prices.d.cts +2 -2
- package/lib/resources/prices.d.ts +1 -1
- package/lib/resources/prices.js +1 -1
- package/lib/resources/promotion_rules.d.cts +2 -2
- package/lib/resources/promotion_rules.d.ts +1 -1
- package/lib/resources/promotions.d.cts +2 -2
- package/lib/resources/promotions.d.ts +1 -1
- package/lib/resources/recurring_order_copies.d.cts +2 -2
- package/lib/resources/recurring_order_copies.d.ts +1 -1
- package/lib/resources/refunds.d.cts +2 -2
- package/lib/resources/refunds.d.ts +1 -1
- package/lib/resources/reserved_stocks.d.cts +2 -2
- package/lib/resources/reserved_stocks.d.ts +1 -1
- package/lib/resources/resource_errors.d.cts +2 -2
- package/lib/resources/resource_errors.d.ts +1 -1
- package/lib/resources/return_line_items.d.cts +2 -2
- package/lib/resources/return_line_items.d.ts +1 -1
- package/lib/resources/returns.d.cts +2 -2
- package/lib/resources/returns.d.ts +1 -1
- package/lib/resources/satispay_gateways.d.cts +2 -2
- package/lib/resources/satispay_gateways.d.ts +1 -1
- package/lib/resources/satispay_payments.d.cts +2 -2
- package/lib/resources/satispay_payments.d.ts +1 -1
- package/lib/resources/shipments.cjs +2 -2
- package/lib/resources/shipments.d.cts +2 -2
- package/lib/resources/shipments.d.ts +1 -1
- package/lib/resources/shipments.js +1 -1
- package/lib/resources/shipping_categories.d.cts +2 -2
- package/lib/resources/shipping_categories.d.ts +1 -1
- package/lib/resources/shipping_method_tiers.d.cts +2 -2
- package/lib/resources/shipping_method_tiers.d.ts +1 -1
- package/lib/resources/shipping_methods.d.cts +2 -2
- package/lib/resources/shipping_methods.d.ts +1 -1
- package/lib/resources/shipping_weight_tiers.d.cts +2 -2
- package/lib/resources/shipping_weight_tiers.d.ts +1 -1
- package/lib/resources/shipping_zones.d.cts +2 -2
- package/lib/resources/shipping_zones.d.ts +1 -1
- package/lib/resources/sku_list_items.d.cts +2 -2
- package/lib/resources/sku_list_items.d.ts +1 -1
- package/lib/resources/sku_list_promotion_rules.d.cts +2 -2
- package/lib/resources/sku_list_promotion_rules.d.ts +1 -1
- package/lib/resources/sku_lists.d.cts +2 -2
- package/lib/resources/sku_lists.d.ts +1 -1
- package/lib/resources/sku_options.d.cts +2 -2
- package/lib/resources/sku_options.d.ts +1 -1
- package/lib/resources/skus.cjs +2 -2
- package/lib/resources/skus.d.cts +2 -2
- package/lib/resources/skus.d.ts +1 -1
- package/lib/resources/skus.js +1 -1
- package/lib/resources/stock_items.d.cts +2 -2
- package/lib/resources/stock_items.d.ts +1 -1
- package/lib/resources/stock_line_items.d.cts +2 -2
- package/lib/resources/stock_line_items.d.ts +1 -1
- package/lib/resources/stock_locations.d.cts +2 -2
- package/lib/resources/stock_locations.d.ts +1 -1
- package/lib/resources/stock_reservations.d.cts +2 -2
- package/lib/resources/stock_reservations.d.ts +1 -1
- package/lib/resources/stock_transfers.d.cts +2 -2
- package/lib/resources/stock_transfers.d.ts +1 -1
- package/lib/resources/stores.d.cts +2 -2
- package/lib/resources/stores.d.ts +1 -1
- package/lib/resources/stripe_gateways.d.cts +2 -2
- package/lib/resources/stripe_gateways.d.ts +1 -1
- package/lib/resources/stripe_payments.d.cts +2 -2
- package/lib/resources/stripe_payments.d.ts +1 -1
- package/lib/resources/stripe_tax_accounts.d.cts +2 -2
- package/lib/resources/stripe_tax_accounts.d.ts +1 -1
- package/lib/resources/subscription_models.d.cts +2 -2
- package/lib/resources/subscription_models.d.ts +1 -1
- package/lib/resources/tags.d.cts +2 -2
- package/lib/resources/tags.d.ts +1 -1
- package/lib/resources/talon_one_accounts.d.cts +2 -2
- package/lib/resources/talon_one_accounts.d.ts +1 -1
- package/lib/resources/tax_calculators.d.cts +2 -2
- package/lib/resources/tax_calculators.d.ts +1 -1
- package/lib/resources/tax_categories.d.cts +2 -2
- package/lib/resources/tax_categories.d.ts +1 -1
- package/lib/resources/tax_rules.d.cts +2 -2
- package/lib/resources/tax_rules.d.ts +1 -1
- package/lib/resources/taxjar_accounts.d.cts +2 -2
- package/lib/resources/taxjar_accounts.d.ts +1 -1
- package/lib/resources/transactions.d.cts +2 -2
- package/lib/resources/transactions.d.ts +1 -1
- package/lib/resources/versions.d.cts +2 -2
- package/lib/resources/versions.d.ts +1 -1
- package/lib/resources/vertex_accounts.d.cts +2 -2
- package/lib/resources/vertex_accounts.d.ts +1 -1
- package/lib/resources/voids.d.cts +2 -2
- package/lib/resources/voids.d.ts +1 -1
- package/lib/resources/webhooks.d.cts +2 -2
- package/lib/resources/webhooks.d.ts +1 -1
- package/lib/resources/wire_transfers.d.cts +2 -2
- package/lib/resources/wire_transfers.d.ts +1 -1
- package/lib/static.cjs +3 -3
- package/lib/static.d.cts +1 -1
- package/lib/static.d.ts +1 -1
- package/lib/static.js +2 -2
- package/package.json +1 -1
- package/lib/chunk-54UOEWTE.cjs.map +0 -1
- package/lib/chunk-AT27CIRM.js.map +0 -1
- package/lib/chunk-ATVNGAQC.cjs.map +0 -1
- package/lib/chunk-E6MQFGEF.js.map +0 -1
- package/lib/chunk-FLFTXWLQ.cjs.map +0 -1
- package/lib/chunk-G2Y67WFX.js.map +0 -1
- package/lib/chunk-HZQRIP3G.js.map +0 -1
- package/lib/chunk-I66TFFKG.cjs.map +0 -1
- package/lib/chunk-K3BSXSHS.cjs.map +0 -1
- package/lib/chunk-QD2VBPJU.js.map +0 -1
- package/lib/chunk-TRPV3CFO.cjs.map +0 -1
- package/lib/chunk-ZZ5BND4W.js.map +0 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../src/static.ts"],"names":["getResources","getSingletons","isSingleton","isCreatable","isUpdatable","isDeletable","isTaggable","isVersionable","isSdkError","isApiError","isTokenExpired","OPEN_API_SCHEMA_VERSION"],"mappings":";;;;;;;;AASO,IAAM,mBAAA,GAAsB;AAAA,EAElC,SAAA,EAAW,CAAC,IAAA,KAAsC;AACjD,IAAA,OAAOA,+BAAa,IAAI,CAAA;AAAA,EACzB,CAAA;AAAA,EAEA,UAAA,EAAY,CAAC,IAAA,KAAsC;AAClD,IAAA,OAAOC,gCAAc,IAAI,CAAA;AAAA,EAC1B,CAAA;AAAA,EAEA,WAAA,EAAa,CAAC,QAAA,KAAwC;AACrD,IAAA,OAAOC,8BAAY,QAAQ,CAAA;AAAA,EAC5B,CAAA;AAAA,EAEA,WAAA,EAAa,CAAC,QAAA,KAAwC;AACrD,IAAA,OAAOC,8BAAY,QAAQ,CAAA;AAAA,EAC5B,CAAA;AAAA,EAEA,WAAA,EAAa,CAAC,QAAA,KAAwC;AACrD,IAAA,OAAOC,8BAAY,QAAQ,CAAA;AAAA,EAC5B,CAAA;AAAA,EAEA,WAAA,EAAa,CAAC,QAAA,KAAwC;AACrD,IAAA,OAAOC,8BAAY,QAAQ,CAAA;AAAA,EAC5B,CAAA;AAAA,EAEA,UAAA,EAAY,CAAC,QAAA,KAAwC;AACpD,IAAA,OAAOC,6BAAW,QAAQ,CAAA;AAAA,EAC3B,CAAA;AAAA,EAEA,aAAA,EAAe,CAAC,QAAA,KAAwC;AACvD,IAAA,OAAOC,gCAAc,QAAQ,CAAA;AAAA,EAC9B,CAAA;AAAA,EAEA,UAAA,EAAY,CAAC,KAAA,KAAsC;AAClD,IAAA,OAAOC,6BAAW,KAAK,CAAA;AAAA,EACxB,CAAA;AAAA,EAEA,UAAA,EAAY,CAAC,KAAA,KAAsC;AAClD,IAAA,OAAOC,6BAAW,KAAK,CAAA;AAAA,EACxB,CAAA;AAAA,EAEA,cAAA,EAAgB,CAAC,KAAA,KAA2B;AAC3C,IAAA,OAAOC,iCAAe,KAAK,CAAA;AAAA,EAC5B,CAAA;AAAA,EAEA,IAAI,aAAA,GAAwB;AAAE,IAAA,OAAOC,yCAAA;AAAA,EAAwB;AAE9D","file":"chunk-
|
1
|
+
{"version":3,"sources":["../src/static.ts"],"names":["getResources","getSingletons","isSingleton","isCreatable","isUpdatable","isDeletable","isTaggable","isVersionable","isSdkError","isApiError","isTokenExpired","OPEN_API_SCHEMA_VERSION"],"mappings":";;;;;;;;AASO,IAAM,mBAAA,GAAsB;AAAA,EAElC,SAAA,EAAW,CAAC,IAAA,KAAsC;AACjD,IAAA,OAAOA,+BAAa,IAAI,CAAA;AAAA,EACzB,CAAA;AAAA,EAEA,UAAA,EAAY,CAAC,IAAA,KAAsC;AAClD,IAAA,OAAOC,gCAAc,IAAI,CAAA;AAAA,EAC1B,CAAA;AAAA,EAEA,WAAA,EAAa,CAAC,QAAA,KAAwC;AACrD,IAAA,OAAOC,8BAAY,QAAQ,CAAA;AAAA,EAC5B,CAAA;AAAA,EAEA,WAAA,EAAa,CAAC,QAAA,KAAwC;AACrD,IAAA,OAAOC,8BAAY,QAAQ,CAAA;AAAA,EAC5B,CAAA;AAAA,EAEA,WAAA,EAAa,CAAC,QAAA,KAAwC;AACrD,IAAA,OAAOC,8BAAY,QAAQ,CAAA;AAAA,EAC5B,CAAA;AAAA,EAEA,WAAA,EAAa,CAAC,QAAA,KAAwC;AACrD,IAAA,OAAOC,8BAAY,QAAQ,CAAA;AAAA,EAC5B,CAAA;AAAA,EAEA,UAAA,EAAY,CAAC,QAAA,KAAwC;AACpD,IAAA,OAAOC,6BAAW,QAAQ,CAAA;AAAA,EAC3B,CAAA;AAAA,EAEA,aAAA,EAAe,CAAC,QAAA,KAAwC;AACvD,IAAA,OAAOC,gCAAc,QAAQ,CAAA;AAAA,EAC9B,CAAA;AAAA,EAEA,UAAA,EAAY,CAAC,KAAA,KAAsC;AAClD,IAAA,OAAOC,6BAAW,KAAK,CAAA;AAAA,EACxB,CAAA;AAAA,EAEA,UAAA,EAAY,CAAC,KAAA,KAAsC;AAClD,IAAA,OAAOC,6BAAW,KAAK,CAAA;AAAA,EACxB,CAAA;AAAA,EAEA,cAAA,EAAgB,CAAC,KAAA,KAA2B;AAC3C,IAAA,OAAOC,iCAAe,KAAK,CAAA;AAAA,EAC5B,CAAA;AAAA,EAEA,IAAI,aAAA,GAAwB;AAAE,IAAA,OAAOC,yCAAA;AAAA,EAAwB;AAE9D","file":"chunk-MT3V3H5R.cjs","sourcesContent":["\nimport type { ResourceTypeLock } from './enum'\nimport { getResources, getSingletons, isCreatable, isDeletable, isSingleton, isTaggable, isUpdatable, isVersionable } from './enum'\nimport { OPEN_API_SCHEMA_VERSION } from './commercelayer'\nimport { type SdkError, type ApiError, isSdkError, isApiError} from './error'\nimport { isTokenExpired } from './util'\n\n\n/* Static functions */\nexport const CommerceLayerStatic = {\n\n\tresources: (sort?: boolean): readonly string[] => {\n\t\treturn getResources(sort)\n\t},\n\n\tsingletons: (sort?: boolean): readonly string[] => {\n\t\treturn getSingletons(sort)\n\t},\n\n\tisSingleton: (resource: ResourceTypeLock): boolean => {\n\t\treturn isSingleton(resource)\n\t},\n\n\tisCreatable: (resource: ResourceTypeLock): boolean => {\n\t\treturn isCreatable(resource)\n\t},\n\n\tisUpdatable: (resource: ResourceTypeLock): boolean => {\n\t\treturn isUpdatable(resource)\n\t},\n\n\tisDeletable: (resource: ResourceTypeLock): boolean => {\n\t\treturn isDeletable(resource)\n\t},\n\n\tisTaggable: (resource: ResourceTypeLock): boolean => {\n\t\treturn isTaggable(resource)\n\t},\n\n\tisVersionable: (resource: ResourceTypeLock): boolean => {\n\t\treturn isVersionable(resource)\n\t},\n\n\tisSdkError: (error: unknown): error is SdkError => {\n\t\treturn isSdkError(error)\n\t},\n\n\tisApiError: (error: unknown): error is ApiError => {\n\t\treturn isApiError(error)\n\t},\n\n\tisTokenExpired: (token: string): boolean => {\n\t\treturn isTokenExpired(token)\n\t},\n\n\tget schemaVersion(): string { return OPEN_API_SCHEMA_VERSION }\n\n}\n"]}
|
@@ -49,5 +49,5 @@ var instance = new PriceLists();
|
|
49
49
|
var price_lists_default = instance;
|
50
50
|
|
51
51
|
export { price_lists_default };
|
52
|
-
//# sourceMappingURL=chunk-
|
53
|
-
//# sourceMappingURL=chunk-
|
52
|
+
//# sourceMappingURL=chunk-OPPZLGKC.js.map
|
53
|
+
//# sourceMappingURL=chunk-OPPZLGKC.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../src/resources/price_lists.ts"],"names":[],"mappings":";;;AAkIA,IAAM,UAAA,GAAN,MAAM,WAAA,SAAmB,WAAA,CAAuB;AAAA,EAE/C,OAAgB,IAAA,GAAsB,aAAA;AAAA,EAEtC,MAAM,MAAA,CAAO,QAAA,EAA2B,MAAA,EAAyC,OAAA,EAA+C;AAC/H,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAAmC,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,WAAA,CAAW,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EACjH;AAAA,EAEA,MAAM,MAAA,CAAO,QAAA,EAA2B,MAAA,EAAyC,OAAA,EAA+C;AAC/H,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAAmC,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,WAAA,CAAW,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EACjH;AAAA,EAEA,MAAM,MAAA,CAAO,EAAA,EAAyB,OAAA,EAA0C;AAC/E,IAAA,MA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A,CAAK,SAAA,CAAU,KAAA,CAAe,EAAE,IAAA,EAAM,UAAA,EAAW,EAAG,CAAA,YAAA,EAAe,YAAY,CAAA,SAAA,CAAA,EAAa,MAAA,EAAQ,OAAO,CAAA;AAAA,EACnH;AAAA,EAEA,MAAM,YAAA,CAAa,WAAA,EAAiC,MAAA,EAAsC,OAAA,EAA8D;AACvJ,IAAA,MAAM,YAAA,GAAgB,YAA0B,EAAA,IAAM,WAAA;AACtD,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,KAAA,CAAkB,EAAE,IAAA,EAAM,cAAA,EAAe,EAAG,CAAA,YAAA,EAAe,YAAY,CAAA,aAAA,CAAA,EAAiB,MAAA,EAAQ,OAAO,CAAA;AAAA,EAC9H;AAAA,EAGA,YAAY,QAAA,EAAsC;AACjD,IAAA,OAAO,QAAA,CAAS,IAAA,IAAS,QAAA,CAAS,IAAA,KAAS,WAAA,CAAW,IAAA;AAAA,EACvD;AAAA,EAGA,aAAa,EAAA,EAA8C;AAC1D,IAAA,OAAO,KAAA,CAAM,qBAAmC,EAAE,CAAA;AAAA,EACnD;AAAA,EAEA,sBAAsB,GAAA,EAA+B;AACpD,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAoC,GAAG,GAAG,CAAA;AAAA,EACxD;AAAA,EAGA,IAAA,GAAsB;AACrB,IAAA,OAAO,WAAA,CAAW,IAAA;AAAA,EACnB;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,UAAA,EAAW;AAChC,IAAO,mBAAA,GAAQ","file":"chunk-OPPZLGKC.js","sourcesContent":["import { ApiResource } from '../resource'\nimport type { Resource, ResourceCreate, ResourceUpdate, ResourceId, ResourcesConfig, ResourceRel, ListResponse, ResourceSort, /* ResourceFilter */ } from '../resource'\nimport type { QueryParamsRetrieve, QueryParamsList } from '../query'\n\nimport type { Price } from './prices'\nimport type { PriceListScheduler } from './price_list_schedulers'\nimport type { Attachment } from './attachments'\nimport type { Version } from './versions'\nimport type { EventStore } from './event_stores'\n\n\ntype PriceListType = 'price_lists'\ntype PriceListRel = ResourceRel & { type: PriceListType }\n\n\nexport type PriceListSort = Pick<PriceList, 'id' | 'name' | 'code' | 'currency_code' | 'tax_included'> & ResourceSort\n// export type PriceListFilter = Pick<PriceList, 'id' | 'name' | 'code' | 'currency_code' | 'tax_included' | 'rules'> & ResourceFilter\n\n\ninterface PriceList extends Resource {\n\t\n\treadonly type: PriceListType\n\n\t/** \n\t * The price list's internal name.\n\t * @example ```\"EU Price list\"```\n\t */\n\tname: string\n\t/** \n\t * A string that you can use to identify the price list (must be unique within the environment).\n\t * @example ```\"europe1\"```\n\t */\n\tcode?: string | null\n\t/** \n\t * The international 3-letter currency code as defined by the ISO 4217 standard.\n\t * @example ```\"EUR\"```\n\t */\n\tcurrency_code: string\n\t/** \n\t * Indicates if the associated prices include taxes.\n\t * @example ```true```\n\t */\n\ttax_included?: boolean | null\n\t/** \n\t * The rule outcomes.\n\t * @example ```[]```\n\t */\n\trule_outcomes?: Record<string, any> | null\n\t/** \n\t * The rules (using Rules Engine) to be applied.\n\t * @example ```{}```\n\t */\n\trules?: Record<string, any> | null\n\t/** \n\t * The payload used to evaluate the rules.\n\t * @example ```{}```\n\t */\n\tresource_payload?: Record<string, any> | null\n\n\tprices?: Price[] | null\n\tprice_list_schedulers?: PriceListScheduler[] | null\n\tattachments?: Attachment[] | null\n\tversions?: Version[] | null\n\tevent_stores?: EventStore[] | null\n\n}\n\n\ninterface PriceListCreate extends ResourceCreate {\n\t\n\t/** \n\t * The price list's internal name.\n\t * @example ```\"EU Price list\"```\n\t */\n\tname: string\n\t/** \n\t * A string that you can use to identify the price list (must be unique within the environment).\n\t * @example ```\"europe1\"```\n\t */\n\tcode?: string | null\n\t/** \n\t * The international 3-letter currency code as defined by the ISO 4217 standard.\n\t * @example ```\"EUR\"```\n\t */\n\tcurrency_code: string\n\t/** \n\t * Indicates if the associated prices include taxes.\n\t * @example ```true```\n\t */\n\ttax_included?: boolean | null\n\t/** \n\t * The rules (using Rules Engine) to be applied.\n\t * @example ```{}```\n\t */\n\trules?: Record<string, any> | null\n\t\n}\n\n\ninterface PriceListUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The price list's internal name.\n\t * @example ```\"EU Price list\"```\n\t */\n\tname?: string | null\n\t/** \n\t * A string that you can use to identify the price list (must be unique within the environment).\n\t * @example ```\"europe1\"```\n\t */\n\tcode?: string | null\n\t/** \n\t * The international 3-letter currency code as defined by the ISO 4217 standard.\n\t * @example ```\"EUR\"```\n\t */\n\tcurrency_code?: string | null\n\t/** \n\t * Indicates if the associated prices include taxes.\n\t * @example ```true```\n\t */\n\ttax_included?: boolean | null\n\t/** \n\t * The rules (using Rules Engine) to be applied.\n\t * @example ```{}```\n\t */\n\trules?: Record<string, any> | null\n\t\n}\n\n\nclass PriceLists extends ApiResource<PriceList> {\n\n\tstatic readonly TYPE: PriceListType = 'price_lists' as const\n\n\tasync create(resource: PriceListCreate, params?: QueryParamsRetrieve<PriceList>, options?: ResourcesConfig): Promise<PriceList> {\n\t\treturn this.resources.create<PriceListCreate, PriceList>({ ...resource, type: PriceLists.TYPE }, params, options)\n\t}\n\n\tasync update(resource: PriceListUpdate, params?: QueryParamsRetrieve<PriceList>, options?: ResourcesConfig): Promise<PriceList> {\n\t\treturn this.resources.update<PriceListUpdate, PriceList>({ ...resource, type: PriceLists.TYPE }, params, options)\n\t}\n\n\tasync delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n\t\tawait this.resources.delete((typeof id === 'string')? { id, type: PriceLists.TYPE } : id, options)\n\t}\n\n\tasync prices(priceListId: string | PriceList, params?: QueryParamsList<Price>, options?: ResourcesConfig): Promise<ListResponse<Price>> {\n\t\tconst _priceListId = (priceListId as PriceList).id || priceListId as string\n\t\treturn this.resources.fetch<Price>({ type: 'prices' }, `price_lists/${_priceListId}/prices`, params, options) as unknown as ListResponse<Price>\n\t}\n\n\tasync price_list_schedulers(priceListId: string | PriceList, params?: QueryParamsList<PriceListScheduler>, options?: ResourcesConfig): Promise<ListResponse<PriceListScheduler>> {\n\t\tconst _priceListId = (priceListId as PriceList).id || priceListId as string\n\t\treturn this.resources.fetch<PriceListScheduler>({ type: 'price_list_schedulers' }, `price_lists/${_priceListId}/price_list_schedulers`, params, options) as unknown as ListResponse<PriceListScheduler>\n\t}\n\n\tasync attachments(priceListId: string | PriceList, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>> {\n\t\tconst _priceListId = (priceListId as PriceList).id || priceListId as string\n\t\treturn this.resources.fetch<Attachment>({ type: 'attachments' }, `price_lists/${_priceListId}/attachments`, params, options) as unknown as ListResponse<Attachment>\n\t}\n\n\tasync versions(priceListId: string | PriceList, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>> {\n\t\tconst _priceListId = (priceListId as PriceList).id || priceListId as string\n\t\treturn this.resources.fetch<Version>({ type: 'versions' }, `price_lists/${_priceListId}/versions`, params, options) as unknown as ListResponse<Version>\n\t}\n\n\tasync event_stores(priceListId: string | PriceList, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _priceListId = (priceListId as PriceList).id || priceListId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `price_lists/${_priceListId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\n\tisPriceList(resource: any): resource is PriceList {\n\t\treturn resource.type && (resource.type === PriceLists.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): PriceListRel {\n\t\treturn super.relationshipOneToOne<PriceListRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): PriceListRel[] {\n\t\treturn super.relationshipOneToMany<PriceListRel>(...ids)\n\t}\n\n\n\ttype(): PriceListType {\n\t\treturn PriceLists.TYPE\n\t}\n\n}\n\n\nconst instance = new PriceLists()\nexport default instance\n\nexport type { PriceLists, PriceList, PriceListCreate, PriceListUpdate, PriceListType }\n"]}
|
@@ -7,7 +7,7 @@ var chunkJVF5KY2J_cjs = require('./chunk-JVF5KY2J.cjs');
|
|
7
7
|
|
8
8
|
// src/commercelayer.ts
|
9
9
|
var debug = chunkJVF5KY2J_cjs.debug_default("commercelayer");
|
10
|
-
var OPEN_API_SCHEMA_VERSION = "7.9.
|
10
|
+
var OPEN_API_SCHEMA_VERSION = "7.9.6";
|
11
11
|
var CommerceLayerClient = class _CommerceLayerClient {
|
12
12
|
openApiSchemaVersion = OPEN_API_SCHEMA_VERSION;
|
13
13
|
static cl;
|
@@ -103,5 +103,5 @@ exports.CommerceLayer = CommerceLayer;
|
|
103
103
|
exports.CommerceLayerClient = CommerceLayerClient;
|
104
104
|
exports.OPEN_API_SCHEMA_VERSION = OPEN_API_SCHEMA_VERSION;
|
105
105
|
exports.commercelayer_default = commercelayer_default;
|
106
|
-
//# sourceMappingURL=chunk-
|
107
|
-
//# sourceMappingURL=chunk-
|
106
|
+
//# sourceMappingURL=chunk-RVECNXMX.cjs.map
|
107
|
+
//# sourceMappingURL=chunk-RVECNXMX.cjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../src/commercelayer.ts"],"names":["debug_default","ApiResourceAdapter","getResources","isApiError"],"mappings":";;;;;;;;AASA,IAAM,KAAA,GAAQA,gCAAM,eAAe,CAAA;AAI5B,IAAM,uBAAA,GAA0B;AAavC,IAAM,mBAAA,GAAN,MAAM,oBAAA,CAAoB;AAAA,EAEhB,oBAAA,GAAuB,uBAAA;AAAA,EAEhC,OAAiB,EAAA;AAAA;AAAA;AAAA;AAAA,EAQjB,OAAO,IAAK,MAAA,EAAuD;AAClE,IAAA,IAAI,QAAQ,OAAQ,oBAAA,CAAoB,EAAA,GAAK,IAAI,qBAAoB,MAAM,CAAA;AAAA,SAAA,IAEvE,CAAC,oBAAA,CAAoB,EAAA,EAAI,MAAM,IAAI,MAAM,sCAAsC,CAAA;AACnF,IAAA,OAAO,oBAAA,CAAoB,EAAA;AAAA,EAC5B;AAAA,EAGU,YAAY,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;AAAA,KACL;AAEA,IAAA,eAAe,uBAAuB,QAAA,EAA6C;AAClF,MAAA,MAAA,CAAO,WAAA,GAAc,MAAM,QAAA,EAAU,KAAA,GAAQ,IAAA,EAAK,CAAE,MAAM,MAAM;AAAA,MAAC,CAAC,CAAA;AAClE,MAAA,MAAA,CAAO,KAAK,QAAA,CAAS,EAAA;AACrB,MAAA,IAAI,SAAS,OAAA,EAAS;AACrB,QAAA,MAAM,KAAiB,EAAC;AACxB,QAAA,QAAA,CAAS,OAAA,CAAQ,OAAA,CAAQ,CAAC,KAAA,EAAO,GAAA,KAAQ;AAAE,UAAA,EAAA,CAAG,GAAG,CAAA,GAAI,KAAA;AAAA,QAAM,CAAC,CAAA;AAC5D,QAAA,MAAA,CAAO,OAAA,GAAU,EAAA;AAAA,MAClB;AACA,MAAA,OAAO,QAAA;AAAA,IACR;AAEyB,IAAA,IAAA,CAAK,aAAa,SAAA,GAAY,EAAE,SAAA,EAAW,sBAAA,EAAwB,WAAW,sBAAA,EAAuB;AAC9H,IAAA,MAAA,CAAO,EAAA,GAAK,CAAA;AAEZ,IAAA,OAAO,MAAA;AAAA,EAER;AAAA,EAEA,uBAAA,GAAwE;AAKvE,IAAA,IAAA,CAAK,aAAa,SAAA,GAAY,MAAA;AAAA,EAC/B;AAED;AAIA,IAAM,aAAA,GAAgB,CAAC,MAAA,KAAyD;AAC/E,EAAA,OAAO,mBAAA,CAAoB,IAAI,MAAM,CAAA;AACtC;AAGA,IAAO,qBAAA,GAAQ","file":"chunk-RVECNXMX.cjs","sourcesContent":["\n// import * as api from './api'\nimport { getResources } from './enum'\nimport { isApiError, type ApiError } from './error'\nimport type { ErrorInterceptor, InterceptorType, RawResponseReader, RequestInterceptor, ResponseInterceptor, ResponseObj, HeadersObj, InterceptorManager } from './interceptor'\nimport { ApiResourceAdapter, type ResourcesInitConfig } from './resource'\n\n\nimport Debug from './debug'\nconst debug = Debug('commercelayer')\n\n\n// Autogenerated version number, do not remove this line\nexport const OPEN_API_SCHEMA_VERSION = '7.9.6'\n\n\n// SDK local configuration\ntype SdkConfig = {\n\t// abc?: string\n}\n\ntype CommerceLayerInitConfig = SdkConfig & ResourcesInitConfig\ntype CommerceLayerConfig = Partial<CommerceLayerInitConfig>\n\n\n\nclass CommerceLayerClient {\n\n\treadonly openApiSchemaVersion = OPEN_API_SCHEMA_VERSION\n\n\tprotected static cl: CommerceLayerClient\n\n\t// ##__CL_RESOURCES_DEF_START__##\n\t// ##__CL_RESOURCES_DEF_TEMPLATE:: ##__TAB__#####__RESOURCE_TYPE__##?: api.##__RESOURCE_CLASS__##\n\n\t// ##__CL_RESOURCES_DEF_STOP__##\n\n\n\tstatic get (config?: CommerceLayerInitConfig): CommerceLayerClient {\n\t\tif (config) return (CommerceLayerClient.cl = new CommerceLayerClient(config))\n\t\telse\n\t\tif (!CommerceLayerClient.cl) throw new Error('CommerceLayer client not initialized')\n\t\treturn CommerceLayerClient.cl\n\t}\n\n\n\tprotected constructor(config: CommerceLayerInitConfig) {\n\n\t\tdebug('new commercelayer instance %O', config)\n\n\t\tApiResourceAdapter.init(config)\n\n\t\t// ##__CL_RESOURCES_INIT_START__##\n\t\t// ##__CL_RESOURCES_INIT_TEMPLATE:: ##__TAB__####__TAB__##this.##__RESOURCE_TYPE__## = new api.##__RESOURCE_CLASS__##(this.#adapter)\n\t\t// ##__CL_RESOURCES_INIT_STOP__##\n\n\t}\n\n\t// ##__CL_RESOURCES_LEAZY_LOADING_START__##\n\t// ##__CL_RESOURCES_LEAZY_LOADING_TEMPLATE:: ##__TAB__##get ##__RESOURCE_TYPE__##(): api.##__RESOURCE_CLASS__## { return this.###__RESOURCE_TYPE__## || (this.###__RESOURCE_TYPE__## = new api.##__RESOURCE_CLASS__##(this.#adapter)) }\n\n\t// ##__CL_RESOURCES_LEAZY_LOADING_STOP__##\n\n\t// private get adapter(): ResourceAdapter { return ApiResourceAdapter.get() }\n\tget currentOrganization(): string { return ApiResourceAdapter.get().client?.currentOrganization }\n\tget currentAccessToken(): string { return ApiResourceAdapter.get().client?.currentAccessToken }\n\tprivate get interceptors(): InterceptorManager { return ApiResourceAdapter.get().client?.interceptors }\n\n\n\tprivate localConfig(config: Partial<SdkConfig>): void {\n\t\t// if (config.abc) this.abc = config.abc\n\t}\n\n\n\tconfig(config: CommerceLayerConfig): this {\n\n\t\tdebug('config %o', config)\n\n\t\t// CommerceLayer config\n\t\tthis.localConfig(config)\n\t\t// ResourceAdapter config\n\t\tApiResourceAdapter.config(config)\n\n\t\treturn this\n\n\t}\n\n\t\n\tresources(sort?: boolean): readonly string[] {\n\t\treturn getResources(sort)\n\t}\n\n\tisApiError(error: any): error is ApiError {\n\t\treturn isApiError(error)\n\t}\n\n\n\taddRequestInterceptor(onSuccess?: RequestInterceptor, onFailure?: ErrorInterceptor): number {\n\t\tthis.interceptors.request = { onSuccess, onFailure }\n\t\treturn 1\n\t}\n\n\taddResponseInterceptor(onSuccess?: ResponseInterceptor, onFailure?: ErrorInterceptor): number {\n\t\tthis.interceptors.response = { onSuccess, onFailure }\n\t\treturn 1\n\t}\n\n\tremoveInterceptor(type: InterceptorType, id: number = 1): void {\n\t\tthis.interceptors[type] = undefined\n\t}\n\n\tremoveInterceptors(): void {\n\t\tthis.removeInterceptor('request')\n\t\tthis.removeInterceptor('response')\n\t\tthis.removeRawResponseReader()\n\t}\n\n\taddRawResponseReader(options?: { headers: boolean }): RawResponseReader {\n\n\t\tconst reader: RawResponseReader = {\n\t\t\tid: 0,\n\t\t\trawResponse: undefined,\n\t\t\theaders: undefined,\n\t\t\tok: true\n\t\t}\n\n\t\tasync function rawResponseInterceptor(response: ResponseObj): Promise<ResponseObj> {\n\t\t\treader.rawResponse = await response?.clone().json().catch(() => {})\n\t\t\treader.ok = response.ok\n\t\t\tif (options?.headers) {\n\t\t\t\tconst ho: HeadersObj = {}\n\t\t\t\tresponse.headers.forEach((value, key) => { ho[key] = value })\n\t\t\t\treader.headers = ho\n\t\t\t}\n\t\t\treturn response\n\t\t}\n\t\t\n\t\t/* const interceptor = */this.interceptors.rawReader = { onSuccess: rawResponseInterceptor, onFailure: rawResponseInterceptor }\n\t\treader.id = 1 // interceptor\n\n\t\treturn reader\n\n\t}\n\n\tremoveRawResponseReader(/* reader: number | RawResponseReader */): void {\n\t\t/*\n\t\tconst id = (typeof reader === 'number') ? reader : reader?.id\n\t\tif (id && (id >= 0)) this.removeInterceptor('response', id)\n\t\t*/\n\t\tthis.interceptors.rawReader = undefined\n\t}\n\n}\n\n\n\nconst CommerceLayer = (config: CommerceLayerInitConfig): CommerceLayerClient => {\n\treturn CommerceLayerClient.get(config)\n}\n\n\nexport default CommerceLayer\nexport { CommerceLayer }\n\nexport { CommerceLayerClient }\nexport type { CommerceLayerConfig, CommerceLayerInitConfig }\n"]}
|
@@ -73,5 +73,5 @@ var instance = new Prices();
|
|
73
73
|
var prices_default = instance;
|
74
74
|
|
75
75
|
export { prices_default };
|
76
|
-
//# sourceMappingURL=chunk-
|
77
|
-
//# sourceMappingURL=chunk-
|
76
|
+
//# sourceMappingURL=chunk-WFBWZVOK.js.map
|
77
|
+
//# sourceMappingURL=chunk-WFBWZVOK.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../src/resources/prices.ts"],"names":[],"mappings":";;;AA4LA,IAAM,MAAA,GAAN,MAAM,OAAA,SAAe,WAAA,CAAmB;AAAA,EAEvC,OAAgB,IAAA,GAAkB,QAAA;AAAA,EAElC,MAAM,MAAA,CAAO,QAAA,EAAuB,MAAA,EAAqC,OAAA,EAA2C;AACnH,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAA2B,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,OAAA,CAAO,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EACrG;AAAA,EAEA,MAAM,MAAA,CAAO,QAAA,EAAuB,MAAA,EAAqC,OAAA,EAA2C;AACnH,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAA2B,EA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,OAAO,CAAA;AAAA,EACrH;AAAA,EAGA,QAAQ,QAAA,EAAkC;AACzC,IAAA,OAAO,QAAA,CAAS,IAAA,IAAS,QAAA,CAAS,IAAA,KAAS,OAAA,CAAO,IAAA;AAAA,EACnD;AAAA,EAGA,aAAa,EAAA,EAA0C;AACtD,IAAA,OAAO,KAAA,CAAM,qBAA+B,EAAE,CAAA;AAAA,EAC/C;AAAA,EAEA,sBAAsB,GAAA,EAA2B;AAChD,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAgC,GAAG,GAAG,CAAA;AAAA,EACpD;AAAA,EAGA,IAAA,GAAkB;AACjB,IAAA,OAAO,OAAA,CAAO,IAAA;AAAA,EACf;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,MAAA,EAAO;AAC5B,IAAO,cAAA,GAAQ","file":"chunk-WFBWZVOK.js","sourcesContent":["import { ApiResource } from '../resource'\nimport type { Resource, ResourceCreate, ResourceUpdate, ResourceId, ResourcesConfig, ResourceRel, ListResponse, ResourceSort, /* ResourceFilter */ } from '../resource'\nimport type { QueryParamsRetrieve, QueryParamsList } from '../query'\n\nimport type { PriceList, PriceListType } from './price_lists'\nimport type { Sku, SkuType } from './skus'\nimport type { PriceTier, PriceTierType } from './price_tiers'\nimport type { PriceVolumeTier } from './price_volume_tiers'\nimport type { PriceFrequencyTier } from './price_frequency_tiers'\nimport type { Attachment } from './attachments'\nimport type { Version } from './versions'\nimport type { Customer } from './customers'\nimport type { Market } from './markets'\nimport type { StockLocation } from './stock_locations'\nimport type { EventStore } from './event_stores'\n\n\ntype PriceType = 'prices'\ntype PriceRel = ResourceRel & { type: PriceType }\ntype PriceListRel = ResourceRel & { type: PriceListType }\ntype SkuRel = ResourceRel & { type: SkuType }\ntype PriceTierRel = ResourceRel & { type: PriceTierType }\n\n\nexport type PriceSort = Pick<Price, 'id' | 'amount_cents' | 'compare_at_amount_cents'> & ResourceSort\n// export type PriceFilter = Pick<Price, 'id' | 'amount_cents' | 'compare_at_amount_cents' | 'rules'> & ResourceFilter\n\n\ninterface Price extends Resource {\n\t\n\treadonly type: PriceType\n\n\t/** \n\t * The international 3-letter currency code as defined by the ISO 4217 standard, inherited from the associated price list.\n\t * @example ```\"EUR\"```\n\t */\n\tcurrency_code?: string | null\n\t/** \n\t * The code of the associated SKU. When creating a price, either a valid sku_code or a SKU relationship must be present.\n\t * @example ```\"TSHIRTMM000000FFFFFFXLXX\"```\n\t */\n\tsku_code?: string | null\n\t/** \n\t * The SKU price amount for the associated price list, in cents.\n\t * @example ```10000```\n\t */\n\tamount_cents: number\n\t/** \n\t * The SKU price amount for the associated price list, float.\n\t * @example ```100```\n\t */\n\tamount_float?: number | null\n\t/** \n\t * The SKU price amount for the associated price list, formatted.\n\t * @example ```\"€100,00\"```\n\t */\n\tformatted_amount?: string | null\n\t/** \n\t * The SKU price amount for the associated price list, in cents before any applied rule.\n\t * @example ```10000```\n\t */\n\toriginal_amount_cents?: number | null\n\t/** \n\t * The SKU price amount for the associated price list, in cents before any applied rule, formatted.\n\t * @example ```\"€100,00\"```\n\t */\n\tformatted_original_amount?: string | null\n\t/** \n\t * The compared price amount, in cents. Useful to display a percentage discount.\n\t * @example ```13000```\n\t */\n\tcompare_at_amount_cents?: number | null\n\t/** \n\t * The compared price amount, float.\n\t * @example ```130```\n\t */\n\tcompare_at_amount_float?: number | null\n\t/** \n\t * The compared price amount, formatted.\n\t * @example ```\"€130,00\"```\n\t */\n\tformatted_compare_at_amount?: string | null\n\t/** \n\t * The rule outcomes.\n\t * @example ```[]```\n\t */\n\trule_outcomes?: Record<string, any> | null\n\t/** \n\t * Time at which the resource was processed by API.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tprocessed_at?: string | null\n\t/** \n\t * The rules (using Rules Engine) to be applied.\n\t * @example ```{}```\n\t */\n\trules?: Record<string, any> | null\n\t/** \n\t * The payload used to evaluate the rules.\n\t * @example ```{}```\n\t */\n\tresource_payload?: Record<string, any> | null\n\t/** \n\t * The custom_claim attached to the current JWT (if any).\n\t * @example ```{}```\n\t */\n\tjwt_custom_claim?: Record<string, any> | null\n\n\tprice_list?: PriceList | null\n\tsku?: Sku | null\n\tprice_tiers?: PriceTier[] | null\n\tprice_volume_tiers?: PriceVolumeTier[] | null\n\tprice_frequency_tiers?: PriceFrequencyTier[] | null\n\tattachments?: Attachment[] | null\n\tversions?: Version[] | null\n\tjwt_customer?: Customer | null\n\tjwt_markets?: Market[] | null\n\tjwt_stock_locations?: StockLocation[] | null\n\tevent_stores?: EventStore[] | null\n\n}\n\n\ninterface PriceCreate extends ResourceCreate {\n\t\n\t/** \n\t * The code of the associated SKU. When creating a price, either a valid sku_code or a SKU relationship must be present.\n\t * @example ```\"TSHIRTMM000000FFFFFFXLXX\"```\n\t */\n\tsku_code?: string | null\n\t/** \n\t * The SKU price amount for the associated price list, in cents.\n\t * @example ```10000```\n\t */\n\tamount_cents: number\n\t/** \n\t * The compared price amount, in cents. Useful to display a percentage discount.\n\t * @example ```13000```\n\t */\n\tcompare_at_amount_cents?: number | null\n\t/** \n\t * The rules (using Rules Engine) to be applied.\n\t * @example ```{}```\n\t */\n\trules?: Record<string, any> | null\n\n\tprice_list: PriceListRel\n\tsku: SkuRel\n\tprice_tiers?: PriceTierRel[] | null\n\n}\n\n\ninterface PriceUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The code of the associated SKU. When creating a price, either a valid sku_code or a SKU relationship must be present.\n\t * @example ```\"TSHIRTMM000000FFFFFFXLXX\"```\n\t */\n\tsku_code?: string | null\n\t/** \n\t * The SKU price amount for the associated price list, in cents.\n\t * @example ```10000```\n\t */\n\tamount_cents?: number | null\n\t/** \n\t * The compared price amount, in cents. Useful to display a percentage discount.\n\t * @example ```13000```\n\t */\n\tcompare_at_amount_cents?: number | null\n\t/** \n\t * Time at which the resource was processed by API.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tprocessed_at?: string | null\n\t/** \n\t * The rules (using Rules Engine) to be applied.\n\t * @example ```{}```\n\t */\n\trules?: Record<string, any> | null\n\n\tprice_list?: PriceListRel | null\n\tsku?: SkuRel | null\n\tprice_tiers?: PriceTierRel[] | null\n\n}\n\n\nclass Prices extends ApiResource<Price> {\n\n\tstatic readonly TYPE: PriceType = 'prices' as const\n\n\tasync create(resource: PriceCreate, params?: QueryParamsRetrieve<Price>, options?: ResourcesConfig): Promise<Price> {\n\t\treturn this.resources.create<PriceCreate, Price>({ ...resource, type: Prices.TYPE }, params, options)\n\t}\n\n\tasync update(resource: PriceUpdate, params?: QueryParamsRetrieve<Price>, options?: ResourcesConfig): Promise<Price> {\n\t\treturn this.resources.update<PriceUpdate, Price>({ ...resource, type: Prices.TYPE }, params, options)\n\t}\n\n\tasync delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n\t\tawait this.resources.delete((typeof id === 'string')? { id, type: Prices.TYPE } : id, options)\n\t}\n\n\tasync price_list(priceId: string | Price, params?: QueryParamsRetrieve<PriceList>, options?: ResourcesConfig): Promise<PriceList> {\n\t\tconst _priceId = (priceId as Price).id || priceId as string\n\t\treturn this.resources.fetch<PriceList>({ type: 'price_lists' }, `prices/${_priceId}/price_list`, params, options) as unknown as PriceList\n\t}\n\n\tasync sku(priceId: string | Price, params?: QueryParamsRetrieve<Sku>, options?: ResourcesConfig): Promise<Sku> {\n\t\tconst _priceId = (priceId as Price).id || priceId as string\n\t\treturn this.resources.fetch<Sku>({ type: 'skus' }, `prices/${_priceId}/sku`, params, options) as unknown as Sku\n\t}\n\n\tasync price_tiers(priceId: string | Price, params?: QueryParamsList<PriceTier>, options?: ResourcesConfig): Promise<ListResponse<PriceTier>> {\n\t\tconst _priceId = (priceId as Price).id || priceId as string\n\t\treturn this.resources.fetch<PriceTier>({ type: 'price_tiers' }, `prices/${_priceId}/price_tiers`, params, options) as unknown as ListResponse<PriceTier>\n\t}\n\n\tasync price_volume_tiers(priceId: string | Price, params?: QueryParamsList<PriceVolumeTier>, options?: ResourcesConfig): Promise<ListResponse<PriceVolumeTier>> {\n\t\tconst _priceId = (priceId as Price).id || priceId as string\n\t\treturn this.resources.fetch<PriceVolumeTier>({ type: 'price_volume_tiers' }, `prices/${_priceId}/price_volume_tiers`, params, options) as unknown as ListResponse<PriceVolumeTier>\n\t}\n\n\tasync price_frequency_tiers(priceId: string | Price, params?: QueryParamsList<PriceFrequencyTier>, options?: ResourcesConfig): Promise<ListResponse<PriceFrequencyTier>> {\n\t\tconst _priceId = (priceId as Price).id || priceId as string\n\t\treturn this.resources.fetch<PriceFrequencyTier>({ type: 'price_frequency_tiers' }, `prices/${_priceId}/price_frequency_tiers`, params, options) as unknown as ListResponse<PriceFrequencyTier>\n\t}\n\n\tasync attachments(priceId: string | Price, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>> {\n\t\tconst _priceId = (priceId as Price).id || priceId as string\n\t\treturn this.resources.fetch<Attachment>({ type: 'attachments' }, `prices/${_priceId}/attachments`, params, options) as unknown as ListResponse<Attachment>\n\t}\n\n\tasync versions(priceId: string | Price, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>> {\n\t\tconst _priceId = (priceId as Price).id || priceId as string\n\t\treturn this.resources.fetch<Version>({ type: 'versions' }, `prices/${_priceId}/versions`, params, options) as unknown as ListResponse<Version>\n\t}\n\n\tasync jwt_customer(priceId: string | Price, params?: QueryParamsRetrieve<Customer>, options?: ResourcesConfig): Promise<Customer> {\n\t\tconst _priceId = (priceId as Price).id || priceId as string\n\t\treturn this.resources.fetch<Customer>({ type: 'customers' }, `prices/${_priceId}/jwt_customer`, params, options) as unknown as Customer\n\t}\n\n\tasync jwt_markets(priceId: string | Price, params?: QueryParamsList<Market>, options?: ResourcesConfig): Promise<ListResponse<Market>> {\n\t\tconst _priceId = (priceId as Price).id || priceId as string\n\t\treturn this.resources.fetch<Market>({ type: 'markets' }, `prices/${_priceId}/jwt_markets`, params, options) as unknown as ListResponse<Market>\n\t}\n\n\tasync jwt_stock_locations(priceId: string | Price, params?: QueryParamsList<StockLocation>, options?: ResourcesConfig): Promise<ListResponse<StockLocation>> {\n\t\tconst _priceId = (priceId as Price).id || priceId as string\n\t\treturn this.resources.fetch<StockLocation>({ type: 'stock_locations' }, `prices/${_priceId}/jwt_stock_locations`, params, options) as unknown as ListResponse<StockLocation>\n\t}\n\n\tasync event_stores(priceId: string | Price, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _priceId = (priceId as Price).id || priceId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `prices/${_priceId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\n\tisPrice(resource: any): resource is Price {\n\t\treturn resource.type && (resource.type === Prices.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): PriceRel {\n\t\treturn super.relationshipOneToOne<PriceRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): PriceRel[] {\n\t\treturn super.relationshipOneToMany<PriceRel>(...ids)\n\t}\n\n\n\ttype(): PriceType {\n\t\treturn Prices.TYPE\n\t}\n\n}\n\n\nconst instance = new Prices()\nexport default instance\n\nexport type { Prices, Price, PriceCreate, PriceUpdate, PriceType }\n"]}
|
@@ -51,5 +51,5 @@ var instance = new PriceLists();
|
|
51
51
|
var price_lists_default = instance;
|
52
52
|
|
53
53
|
exports.price_lists_default = price_lists_default;
|
54
|
-
//# sourceMappingURL=chunk-
|
55
|
-
//# sourceMappingURL=chunk-
|
54
|
+
//# sourceMappingURL=chunk-ZPEK2ZCL.cjs.map
|
55
|
+
//# sourceMappingURL=chunk-ZPEK2ZCL.cjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../src/resources/price_lists.ts"],"names":["ApiResource"],"mappings":";;;;;AAkIA,IAAM,UAAA,GAAN,MAAM,WAAA,SAAmBA,6BAAA,CAAuB;AAAA,EAE/C,OAAgB,IAAA,GAAsB,aAAA;AAAA,EAEtC,MAAM,MAAA,C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AA,OAAO,KAAA,CAAM,qBAAA,CAAoC,GAAG,GAAG,CAAA;AAAA,EACxD;AAAA,EAGA,IAAA,GAAsB;AACrB,IAAA,OAAO,WAAA,CAAW,IAAA;AAAA,EACnB;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,UAAA,EAAW;AAChC,IAAO,mBAAA,GAAQ","file":"chunk-ZPEK2ZCL.cjs","sourcesContent":["import { ApiResource } from '../resource'\nimport type { Resource, ResourceCreate, ResourceUpdate, ResourceId, ResourcesConfig, ResourceRel, ListResponse, ResourceSort, /* ResourceFilter */ } from '../resource'\nimport type { QueryParamsRetrieve, QueryParamsList } from '../query'\n\nimport type { Price } from './prices'\nimport type { PriceListScheduler } from './price_list_schedulers'\nimport type { Attachment } from './attachments'\nimport type { Version } from './versions'\nimport type { EventStore } from './event_stores'\n\n\ntype PriceListType = 'price_lists'\ntype PriceListRel = ResourceRel & { type: PriceListType }\n\n\nexport type PriceListSort = Pick<PriceList, 'id' | 'name' | 'code' | 'currency_code' | 'tax_included'> & ResourceSort\n// export type PriceListFilter = Pick<PriceList, 'id' | 'name' | 'code' | 'currency_code' | 'tax_included' | 'rules'> & ResourceFilter\n\n\ninterface PriceList extends Resource {\n\t\n\treadonly type: PriceListType\n\n\t/** \n\t * The price list's internal name.\n\t * @example ```\"EU Price list\"```\n\t */\n\tname: string\n\t/** \n\t * A string that you can use to identify the price list (must be unique within the environment).\n\t * @example ```\"europe1\"```\n\t */\n\tcode?: string | null\n\t/** \n\t * The international 3-letter currency code as defined by the ISO 4217 standard.\n\t * @example ```\"EUR\"```\n\t */\n\tcurrency_code: string\n\t/** \n\t * Indicates if the associated prices include taxes.\n\t * @example ```true```\n\t */\n\ttax_included?: boolean | null\n\t/** \n\t * The rule outcomes.\n\t * @example ```[]```\n\t */\n\trule_outcomes?: Record<string, any> | null\n\t/** \n\t * The rules (using Rules Engine) to be applied.\n\t * @example ```{}```\n\t */\n\trules?: Record<string, any> | null\n\t/** \n\t * The payload used to evaluate the rules.\n\t * @example ```{}```\n\t */\n\tresource_payload?: Record<string, any> | null\n\n\tprices?: Price[] | null\n\tprice_list_schedulers?: PriceListScheduler[] | null\n\tattachments?: Attachment[] | null\n\tversions?: Version[] | null\n\tevent_stores?: EventStore[] | null\n\n}\n\n\ninterface PriceListCreate extends ResourceCreate {\n\t\n\t/** \n\t * The price list's internal name.\n\t * @example ```\"EU Price list\"```\n\t */\n\tname: string\n\t/** \n\t * A string that you can use to identify the price list (must be unique within the environment).\n\t * @example ```\"europe1\"```\n\t */\n\tcode?: string | null\n\t/** \n\t * The international 3-letter currency code as defined by the ISO 4217 standard.\n\t * @example ```\"EUR\"```\n\t */\n\tcurrency_code: string\n\t/** \n\t * Indicates if the associated prices include taxes.\n\t * @example ```true```\n\t */\n\ttax_included?: boolean | null\n\t/** \n\t * The rules (using Rules Engine) to be applied.\n\t * @example ```{}```\n\t */\n\trules?: Record<string, any> | null\n\t\n}\n\n\ninterface PriceListUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The price list's internal name.\n\t * @example ```\"EU Price list\"```\n\t */\n\tname?: string | null\n\t/** \n\t * A string that you can use to identify the price list (must be unique within the environment).\n\t * @example ```\"europe1\"```\n\t */\n\tcode?: string | null\n\t/** \n\t * The international 3-letter currency code as defined by the ISO 4217 standard.\n\t * @example ```\"EUR\"```\n\t */\n\tcurrency_code?: string | null\n\t/** \n\t * Indicates if the associated prices include taxes.\n\t * @example ```true```\n\t */\n\ttax_included?: boolean | null\n\t/** \n\t * The rules (using Rules Engine) to be applied.\n\t * @example ```{}```\n\t */\n\trules?: Record<string, any> | null\n\t\n}\n\n\nclass PriceLists extends ApiResource<PriceList> {\n\n\tstatic readonly TYPE: PriceListType = 'price_lists' as const\n\n\tasync create(resource: PriceListCreate, params?: QueryParamsRetrieve<PriceList>, options?: ResourcesConfig): Promise<PriceList> {\n\t\treturn this.resources.create<PriceListCreate, PriceList>({ ...resource, type: PriceLists.TYPE }, params, options)\n\t}\n\n\tasync update(resource: PriceListUpdate, params?: QueryParamsRetrieve<PriceList>, options?: ResourcesConfig): Promise<PriceList> {\n\t\treturn this.resources.update<PriceListUpdate, PriceList>({ ...resource, type: PriceLists.TYPE }, params, options)\n\t}\n\n\tasync delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n\t\tawait this.resources.delete((typeof id === 'string')? { id, type: PriceLists.TYPE } : id, options)\n\t}\n\n\tasync prices(priceListId: string | PriceList, params?: QueryParamsList<Price>, options?: ResourcesConfig): Promise<ListResponse<Price>> {\n\t\tconst _priceListId = (priceListId as PriceList).id || priceListId as string\n\t\treturn this.resources.fetch<Price>({ type: 'prices' }, `price_lists/${_priceListId}/prices`, params, options) as unknown as ListResponse<Price>\n\t}\n\n\tasync price_list_schedulers(priceListId: string | PriceList, params?: QueryParamsList<PriceListScheduler>, options?: ResourcesConfig): Promise<ListResponse<PriceListScheduler>> {\n\t\tconst _priceListId = (priceListId as PriceList).id || priceListId as string\n\t\treturn this.resources.fetch<PriceListScheduler>({ type: 'price_list_schedulers' }, `price_lists/${_priceListId}/price_list_schedulers`, params, options) as unknown as ListResponse<PriceListScheduler>\n\t}\n\n\tasync attachments(priceListId: string | PriceList, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>> {\n\t\tconst _priceListId = (priceListId as PriceList).id || priceListId as string\n\t\treturn this.resources.fetch<Attachment>({ type: 'attachments' }, `price_lists/${_priceListId}/attachments`, params, options) as unknown as ListResponse<Attachment>\n\t}\n\n\tasync versions(priceListId: string | PriceList, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>> {\n\t\tconst _priceListId = (priceListId as PriceList).id || priceListId as string\n\t\treturn this.resources.fetch<Version>({ type: 'versions' }, `price_lists/${_priceListId}/versions`, params, options) as unknown as ListResponse<Version>\n\t}\n\n\tasync event_stores(priceListId: string | PriceList, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _priceListId = (priceListId as PriceList).id || priceListId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `price_lists/${_priceListId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\n\tisPriceList(resource: any): resource is PriceList {\n\t\treturn resource.type && (resource.type === PriceLists.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): PriceListRel {\n\t\treturn super.relationshipOneToOne<PriceListRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): PriceListRel[] {\n\t\treturn super.relationshipOneToMany<PriceListRel>(...ids)\n\t}\n\n\n\ttype(): PriceListType {\n\t\treturn PriceLists.TYPE\n\t}\n\n}\n\n\nconst instance = new PriceLists()\nexport default instance\n\nexport type { PriceLists, PriceList, PriceListCreate, PriceListUpdate, PriceListType }\n"]}
|
package/lib/commercelayer.cjs
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
|
-
var
|
5
|
+
var chunkRVECNXMX_cjs = require('./chunk-RVECNXMX.cjs');
|
6
6
|
require('./chunk-U22VLCMN.cjs');
|
7
7
|
require('./chunk-YY5ENJSH.cjs');
|
8
8
|
require('./chunk-ZWVME7CU.cjs');
|
@@ -17,19 +17,19 @@ require('./chunk-JEQ2X3Z6.cjs');
|
|
17
17
|
|
18
18
|
Object.defineProperty(exports, "CommerceLayer", {
|
19
19
|
enumerable: true,
|
20
|
-
get: function () { return
|
20
|
+
get: function () { return chunkRVECNXMX_cjs.CommerceLayer; }
|
21
21
|
});
|
22
22
|
Object.defineProperty(exports, "CommerceLayerClient", {
|
23
23
|
enumerable: true,
|
24
|
-
get: function () { return
|
24
|
+
get: function () { return chunkRVECNXMX_cjs.CommerceLayerClient; }
|
25
25
|
});
|
26
26
|
Object.defineProperty(exports, "OPEN_API_SCHEMA_VERSION", {
|
27
27
|
enumerable: true,
|
28
|
-
get: function () { return
|
28
|
+
get: function () { return chunkRVECNXMX_cjs.OPEN_API_SCHEMA_VERSION; }
|
29
29
|
});
|
30
30
|
Object.defineProperty(exports, "default", {
|
31
31
|
enumerable: true,
|
32
|
-
get: function () { return
|
32
|
+
get: function () { return chunkRVECNXMX_cjs.commercelayer_default; }
|
33
33
|
});
|
34
34
|
//# sourceMappingURL=commercelayer.cjs.map
|
35
35
|
//# sourceMappingURL=commercelayer.cjs.map
|
package/lib/commercelayer.d.cts
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
import { ApiError } from './error.cjs';
|
2
2
|
import { b as RequestInterceptor, c as ErrorInterceptor, d as ResponseInterceptor, I as InterceptorType, e as RawResponseReader } from './interceptor-k15jXzf0.cjs';
|
3
|
-
import { s as ResourcesInitConfig } from './api-
|
3
|
+
import { s as ResourcesInitConfig } from './api-BljuENr-.cjs';
|
4
4
|
import './client.cjs';
|
5
5
|
import './types.cjs';
|
6
6
|
|
7
|
-
declare const OPEN_API_SCHEMA_VERSION = "7.9.
|
7
|
+
declare const OPEN_API_SCHEMA_VERSION = "7.9.6";
|
8
8
|
type SdkConfig = {};
|
9
9
|
type CommerceLayerInitConfig = SdkConfig & ResourcesInitConfig;
|
10
10
|
type CommerceLayerConfig = Partial<CommerceLayerInitConfig>;
|
11
11
|
declare class CommerceLayerClient {
|
12
|
-
readonly openApiSchemaVersion = "7.9.
|
12
|
+
readonly openApiSchemaVersion = "7.9.6";
|
13
13
|
protected static cl: CommerceLayerClient;
|
14
14
|
static get(config?: CommerceLayerInitConfig): CommerceLayerClient;
|
15
15
|
protected constructor(config: CommerceLayerInitConfig);
|
package/lib/commercelayer.d.ts
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
import { ApiError } from './error.js';
|
2
2
|
import { b as RequestInterceptor, c as ErrorInterceptor, d as ResponseInterceptor, I as InterceptorType, e as RawResponseReader } from './interceptor-k15jXzf0.js';
|
3
|
-
import { s as ResourcesInitConfig } from './api-
|
3
|
+
import { s as ResourcesInitConfig } from './api-DIJqRuGh.js';
|
4
4
|
import './client.js';
|
5
5
|
import './types.js';
|
6
6
|
|
7
|
-
declare const OPEN_API_SCHEMA_VERSION = "7.9.
|
7
|
+
declare const OPEN_API_SCHEMA_VERSION = "7.9.6";
|
8
8
|
type SdkConfig = {};
|
9
9
|
type CommerceLayerInitConfig = SdkConfig & ResourcesInitConfig;
|
10
10
|
type CommerceLayerConfig = Partial<CommerceLayerInitConfig>;
|
11
11
|
declare class CommerceLayerClient {
|
12
|
-
readonly openApiSchemaVersion = "7.9.
|
12
|
+
readonly openApiSchemaVersion = "7.9.6";
|
13
13
|
protected static cl: CommerceLayerClient;
|
14
14
|
static get(config?: CommerceLayerInitConfig): CommerceLayerClient;
|
15
15
|
protected constructor(config: CommerceLayerInitConfig);
|
package/lib/commercelayer.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export { CommerceLayer, CommerceLayerClient, OPEN_API_SCHEMA_VERSION, commercelayer_default as default } from './chunk-
|
1
|
+
export { CommerceLayer, CommerceLayerClient, OPEN_API_SCHEMA_VERSION, commercelayer_default as default } from './chunk-D7A27LT5.js';
|
2
2
|
import './chunk-XKERR6OR.js';
|
3
3
|
import './chunk-CHYP5F26.js';
|
4
4
|
import './chunk-UUY77JM3.js';
|
package/lib/enum.d.cts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export { y as CreatableResource, C as CreatableResourceType, B as DeletableResource, D as DeletableResourceType, x as ListableResource, w as ListableResourceType, nP as ResourceFields, nQ as ResourceSortFields, t as ResourceTypeLock, v as RetrievableResource, u as RetrievableResourceType, E as TaggableResource, T as TaggableResourceType, z as UpdatableResource, U as UpdatableResourceType, F as VersionableResource, V as VersionableResourceType, nC as creatableResources, nE as deletableResources, nH as getResources, nI as getSingletons, nK as isCreatable, nM as isDeletable, nJ as isSingleton, nN as isTaggable, nL as isUpdatable, nO as isVersionable, nA as resourceList, nB as singletonList, nF as taggableResources, nD as updatableResources, nG as versionableResources } from './api-
|
1
|
+
export { y as CreatableResource, C as CreatableResourceType, B as DeletableResource, D as DeletableResourceType, x as ListableResource, w as ListableResourceType, nP as ResourceFields, nQ as ResourceSortFields, t as ResourceTypeLock, v as RetrievableResource, u as RetrievableResourceType, E as TaggableResource, T as TaggableResourceType, z as UpdatableResource, U as UpdatableResourceType, F as VersionableResource, V as VersionableResourceType, nC as creatableResources, nE as deletableResources, nH as getResources, nI as getSingletons, nK as isCreatable, nM as isDeletable, nJ as isSingleton, nN as isTaggable, nL as isUpdatable, nO as isVersionable, nA as resourceList, nB as singletonList, nF as taggableResources, nD as updatableResources, nG as versionableResources } from './api-BljuENr-.cjs';
|
2
2
|
import './client.cjs';
|
3
3
|
import './interceptor-k15jXzf0.cjs';
|
4
4
|
import './types.cjs';
|
package/lib/enum.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export { y as CreatableResource, C as CreatableResourceType, B as DeletableResource, D as DeletableResourceType, x as ListableResource, w as ListableResourceType, nP as ResourceFields, nQ as ResourceSortFields, t as ResourceTypeLock, v as RetrievableResource, u as RetrievableResourceType, E as TaggableResource, T as TaggableResourceType, z as UpdatableResource, U as UpdatableResourceType, F as VersionableResource, V as VersionableResourceType, nC as creatableResources, nE as deletableResources, nH as getResources, nI as getSingletons, nK as isCreatable, nM as isDeletable, nJ as isSingleton, nN as isTaggable, nL as isUpdatable, nO as isVersionable, nA as resourceList, nB as singletonList, nF as taggableResources, nD as updatableResources, nG as versionableResources } from './api-
|
1
|
+
export { y as CreatableResource, C as CreatableResourceType, B as DeletableResource, D as DeletableResourceType, x as ListableResource, w as ListableResourceType, nP as ResourceFields, nQ as ResourceSortFields, t as ResourceTypeLock, v as RetrievableResource, u as RetrievableResourceType, E as TaggableResource, T as TaggableResourceType, z as UpdatableResource, U as UpdatableResourceType, F as VersionableResource, V as VersionableResourceType, nC as creatableResources, nE as deletableResources, nH as getResources, nI as getSingletons, nK as isCreatable, nM as isDeletable, nJ as isSingleton, nN as isTaggable, nL as isUpdatable, nO as isVersionable, nA as resourceList, nB as singletonList, nF as taggableResources, nD as updatableResources, nG as versionableResources } from './api-DIJqRuGh.js';
|
2
2
|
import './client.js';
|
3
3
|
import './interceptor-k15jXzf0.js';
|
4
4
|
import './types.js';
|
package/lib/index.cjs
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
|
-
var
|
5
|
+
var chunkMT3V3H5R_cjs = require('./chunk-MT3V3H5R.cjs');
|
6
6
|
require('./chunk-SRYEFARJ.cjs');
|
7
7
|
var chunkWEWTTMPS_cjs = require('./chunk-WEWTTMPS.cjs');
|
8
8
|
var chunkXYBXDS3Z_cjs = require('./chunk-XYBXDS3Z.cjs');
|
@@ -33,18 +33,18 @@ var chunkDQWWKXLR_cjs = require('./chunk-DQWWKXLR.cjs');
|
|
33
33
|
var chunkZ66CWIH5_cjs = require('./chunk-Z66CWIH5.cjs');
|
34
34
|
var chunkYX4ZQEON_cjs = require('./chunk-YX4ZQEON.cjs');
|
35
35
|
var chunk2AIPAXOH_cjs = require('./chunk-2AIPAXOH.cjs');
|
36
|
-
var
|
36
|
+
var chunkF46RW7IU_cjs = require('./chunk-F46RW7IU.cjs');
|
37
37
|
var chunkKDDMRBB6_cjs = require('./chunk-KDDMRBB6.cjs');
|
38
38
|
var chunkA2SZPZSG_cjs = require('./chunk-A2SZPZSG.cjs');
|
39
39
|
var chunkBHXCVURA_cjs = require('./chunk-BHXCVURA.cjs');
|
40
40
|
var chunk6QOS6B5F_cjs = require('./chunk-6QOS6B5F.cjs');
|
41
41
|
var chunk7SJAVPZH_cjs = require('./chunk-7SJAVPZH.cjs');
|
42
|
-
var
|
42
|
+
var chunk2H2ODZUY_cjs = require('./chunk-2H2ODZUY.cjs');
|
43
43
|
var chunkU7OGOZ5B_cjs = require('./chunk-U7OGOZ5B.cjs');
|
44
44
|
var chunkDPE4FTTS_cjs = require('./chunk-DPE4FTTS.cjs');
|
45
45
|
var chunkFIM76CMU_cjs = require('./chunk-FIM76CMU.cjs');
|
46
46
|
var chunkOH5533KN_cjs = require('./chunk-OH5533KN.cjs');
|
47
|
-
var
|
47
|
+
var chunk3CBCQQBN_cjs = require('./chunk-3CBCQQBN.cjs');
|
48
48
|
var chunkZLFWYCCG_cjs = require('./chunk-ZLFWYCCG.cjs');
|
49
49
|
var chunkEW5ZFLK6_cjs = require('./chunk-EW5ZFLK6.cjs');
|
50
50
|
var chunk7P3ZTIQX_cjs = require('./chunk-7P3ZTIQX.cjs');
|
@@ -57,9 +57,9 @@ var chunkCMUUBOZK_cjs = require('./chunk-CMUUBOZK.cjs');
|
|
57
57
|
var chunkU4ELOYK7_cjs = require('./chunk-U4ELOYK7.cjs');
|
58
58
|
var chunk2M5MIMZG_cjs = require('./chunk-2M5MIMZG.cjs');
|
59
59
|
var chunkRK3E3UJ2_cjs = require('./chunk-RK3E3UJ2.cjs');
|
60
|
-
var
|
60
|
+
var chunkZPEK2ZCL_cjs = require('./chunk-ZPEK2ZCL.cjs');
|
61
61
|
var chunkF6WABN7F_cjs = require('./chunk-F6WABN7F.cjs');
|
62
|
-
var
|
62
|
+
var chunkLIIFLHEH_cjs = require('./chunk-LIIFLHEH.cjs');
|
63
63
|
var chunkAB7QWMMM_cjs = require('./chunk-AB7QWMMM.cjs');
|
64
64
|
var chunkO3NWYOPV_cjs = require('./chunk-O3NWYOPV.cjs');
|
65
65
|
var chunkFMGDNZQ6_cjs = require('./chunk-FMGDNZQ6.cjs');
|
@@ -96,7 +96,7 @@ var chunk7AOVIJPK_cjs = require('./chunk-7AOVIJPK.cjs');
|
|
96
96
|
var chunkLGO42DAS_cjs = require('./chunk-LGO42DAS.cjs');
|
97
97
|
var chunkW6KL6Q4Z_cjs = require('./chunk-W6KL6Q4Z.cjs');
|
98
98
|
var chunkRLZV6AKT_cjs = require('./chunk-RLZV6AKT.cjs');
|
99
|
-
var
|
99
|
+
var chunkHOJUXLZD_cjs = require('./chunk-HOJUXLZD.cjs');
|
100
100
|
var chunkJRMM5QTS_cjs = require('./chunk-JRMM5QTS.cjs');
|
101
101
|
var chunkGLL264QG_cjs = require('./chunk-GLL264QG.cjs');
|
102
102
|
var chunkI56ZABWO_cjs = require('./chunk-I56ZABWO.cjs');
|
@@ -136,7 +136,7 @@ var chunkFCGKL7AI_cjs = require('./chunk-FCGKL7AI.cjs');
|
|
136
136
|
var chunkFNTJOIQB_cjs = require('./chunk-FNTJOIQB.cjs');
|
137
137
|
var chunkD7SALAS2_cjs = require('./chunk-D7SALAS2.cjs');
|
138
138
|
var chunkUTFSZHUD_cjs = require('./chunk-UTFSZHUD.cjs');
|
139
|
-
var
|
139
|
+
var chunkRVECNXMX_cjs = require('./chunk-RVECNXMX.cjs');
|
140
140
|
require('./chunk-U22VLCMN.cjs');
|
141
141
|
require('./chunk-YY5ENJSH.cjs');
|
142
142
|
require('./chunk-ZWVME7CU.cjs');
|
@@ -151,7 +151,7 @@ require('./chunk-JEQ2X3Z6.cjs');
|
|
151
151
|
|
152
152
|
Object.defineProperty(exports, "CommerceLayerStatic", {
|
153
153
|
enumerable: true,
|
154
|
-
get: function () { return
|
154
|
+
get: function () { return chunkMT3V3H5R_cjs.CommerceLayerStatic; }
|
155
155
|
});
|
156
156
|
Object.defineProperty(exports, "transactions", {
|
157
157
|
enumerable: true,
|
@@ -271,7 +271,7 @@ Object.defineProperty(exports, "sku_options", {
|
|
271
271
|
});
|
272
272
|
Object.defineProperty(exports, "skus", {
|
273
273
|
enumerable: true,
|
274
|
-
get: function () { return
|
274
|
+
get: function () { return chunkF46RW7IU_cjs.skus_default; }
|
275
275
|
});
|
276
276
|
Object.defineProperty(exports, "resource_errors", {
|
277
277
|
enumerable: true,
|
@@ -295,7 +295,7 @@ Object.defineProperty(exports, "satispay_payments", {
|
|
295
295
|
});
|
296
296
|
Object.defineProperty(exports, "shipments", {
|
297
297
|
enumerable: true,
|
298
|
-
get: function () { return
|
298
|
+
get: function () { return chunk2H2ODZUY_cjs.shipments_default; }
|
299
299
|
});
|
300
300
|
Object.defineProperty(exports, "shipping_categories", {
|
301
301
|
enumerable: true,
|
@@ -315,7 +315,7 @@ Object.defineProperty(exports, "price_volume_tiers", {
|
|
315
315
|
});
|
316
316
|
Object.defineProperty(exports, "prices", {
|
317
317
|
enumerable: true,
|
318
|
-
get: function () { return
|
318
|
+
get: function () { return chunk3CBCQQBN_cjs.prices_default; }
|
319
319
|
});
|
320
320
|
Object.defineProperty(exports, "promotion_rules", {
|
321
321
|
enumerable: true,
|
@@ -367,7 +367,7 @@ Object.defineProperty(exports, "price_list_schedulers", {
|
|
367
367
|
});
|
368
368
|
Object.defineProperty(exports, "price_lists", {
|
369
369
|
enumerable: true,
|
370
|
-
get: function () { return
|
370
|
+
get: function () { return chunkZPEK2ZCL_cjs.price_lists_default; }
|
371
371
|
});
|
372
372
|
Object.defineProperty(exports, "order_subscriptions", {
|
373
373
|
enumerable: true,
|
@@ -375,7 +375,7 @@ Object.defineProperty(exports, "order_subscriptions", {
|
|
375
375
|
});
|
376
376
|
Object.defineProperty(exports, "orders", {
|
377
377
|
enumerable: true,
|
378
|
-
get: function () { return
|
378
|
+
get: function () { return chunkLIIFLHEH_cjs.orders_default; }
|
379
379
|
});
|
380
380
|
Object.defineProperty(exports, "organization", {
|
381
381
|
enumerable: true,
|
@@ -523,7 +523,7 @@ Object.defineProperty(exports, "fixed_price_promotions", {
|
|
523
523
|
});
|
524
524
|
Object.defineProperty(exports, "flex_promotions", {
|
525
525
|
enumerable: true,
|
526
|
-
get: function () { return
|
526
|
+
get: function () { return chunkHOJUXLZD_cjs.flex_promotions_default; }
|
527
527
|
});
|
528
528
|
Object.defineProperty(exports, "free_gift_promotions", {
|
529
529
|
enumerable: true,
|
@@ -683,11 +683,11 @@ Object.defineProperty(exports, "attachments", {
|
|
683
683
|
});
|
684
684
|
Object.defineProperty(exports, "CommerceLayer", {
|
685
685
|
enumerable: true,
|
686
|
-
get: function () { return
|
686
|
+
get: function () { return chunkRVECNXMX_cjs.CommerceLayer; }
|
687
687
|
});
|
688
688
|
Object.defineProperty(exports, "default", {
|
689
689
|
enumerable: true,
|
690
|
-
get: function () { return
|
690
|
+
get: function () { return chunkRVECNXMX_cjs.commercelayer_default; }
|
691
691
|
});
|
692
692
|
//# sourceMappingURL=index.cjs.map
|
693
693
|
//# sourceMappingURL=index.cjs.map
|
package/lib/index.d.cts
CHANGED
@@ -2,7 +2,7 @@ import _default from './commercelayer.cjs';
|
|
2
2
|
// @ts-ignore
|
3
3
|
export = _default;
|
4
4
|
export { default as CommerceLayer, CommerceLayerClient, CommerceLayerConfig, CommerceLayerInitConfig } from './commercelayer.cjs';
|
5
|
-
export { dW as Address, dX as AddressCreate, dZ as AddressSort, dY as AddressUpdate, H as Addresses, d_ as Adjustment, d$ as AdjustmentCreate, e1 as AdjustmentSort, e0 as AdjustmentUpdate, J as Adjustments, e2 as AdyenGateway, e3 as AdyenGatewayCreate, e5 as AdyenGatewaySort, e4 as AdyenGatewayUpdate, N as AdyenGateways, e6 as AdyenPayment, e7 as AdyenPaymentCreate, e9 as AdyenPaymentSort, e8 as AdyenPaymentUpdate, P as AdyenPayments, A as ApiResource, i as ApiSingleton, ea as Application, eb as ApplicationSort, W as Applications, ec as Attachment, ed as AttachmentCreate, ef as AttachmentSort, ee as AttachmentUpdate, Y as Attachments, eg as Authorization, ei as AuthorizationSort, eh as AuthorizationUpdate, _ as Authorizations, ej as AvalaraAccount, ek as AvalaraAccountCreate, em as AvalaraAccountSort, el as AvalaraAccountUpdate, a0 as AvalaraAccounts, en as AxerveGateway, eo as AxerveGatewayCreate, eq as AxerveGatewaySort, ep as AxerveGatewayUpdate, a2 as AxerveGateways, er as AxervePayment, es as AxervePaymentCreate, eu as AxervePaymentSort, et as AxervePaymentUpdate, a4 as AxervePayments, ev as BingGeocoder, ew as BingGeocoderCreate, ey as BingGeocoderSort, ex as BingGeocoderUpdate, a6 as BingGeocoders, ez as BraintreeGateway, eA as BraintreeGatewayCreate, eC as BraintreeGatewaySort, eB as BraintreeGatewayUpdate, a8 as BraintreeGateways, eD as BraintreePayment, eE as BraintreePaymentCreate, eG as BraintreePaymentSort, eF as BraintreePaymentUpdate, aa as BraintreePayments, eH as Bundle, eI as BundleCreate, eK as BundleSort, eJ as BundleUpdate, ac as Bundles, eL as BuyXPayYPromotion, eM as BuyXPayYPromotionCreate, eO as BuyXPayYPromotionSort, eN as BuyXPayYPromotionUpdate, ae as BuyXPayYPromotions, eP as Capture, eR as CaptureSort, eQ as CaptureUpdate, ag as Captures, eS as CarrierAccount, eT as CarrierAccountCreate, eV as CarrierAccountSort, eU as CarrierAccountUpdate, ai as CarrierAccounts, eW as CheckoutComGateway, eX as CheckoutComGatewayCreate, eZ as CheckoutComGatewaySort, eY as CheckoutComGatewayUpdate, ak as CheckoutComGateways, e_ as CheckoutComPayment, e$ as CheckoutComPaymentCreate, f1 as CheckoutComPaymentSort, f0 as CheckoutComPaymentUpdate, am as CheckoutComPayments, f2 as Cleanup, f3 as CleanupCreate, f5 as CleanupSort, f4 as CleanupUpdate, ao as Cleanups, fe as Coupon, f6 as CouponCodesPromotionRule, f7 as CouponCodesPromotionRuleCreate, f9 as CouponCodesPromotionRuleSort, f8 as CouponCodesPromotionRuleUpdate, aq as CouponCodesPromotionRules, ff as CouponCreate, fa as CouponRecipient, fb as CouponRecipientCreate, fd as CouponRecipientSort, fc as CouponRecipientUpdate, as as CouponRecipients, fh as CouponSort, fg as CouponUpdate, au as Coupons, y as CreatableResource, C as CreatableResourceType, fi as CustomPromotionRule, fj as CustomPromotionRuleCreate, fl as CustomPromotionRuleSort, fk as CustomPromotionRuleUpdate, aw as CustomPromotionRules, fG as Customer, fm as CustomerAddress, fn as CustomerAddressCreate, fp as CustomerAddressSort, fo as CustomerAddressUpdate, ay as CustomerAddresses, fH as CustomerCreate, fq as CustomerGroup, fr as CustomerGroupCreate, ft as CustomerGroupSort, fs as CustomerGroupUpdate, aA as CustomerGroups, fu as CustomerPasswordReset, fv as CustomerPasswordResetCreate, fx as CustomerPasswordResetSort, fw as CustomerPasswordResetUpdate, aC as CustomerPasswordResets, fy as CustomerPaymentSource, fz as CustomerPaymentSourceCreate, fB as CustomerPaymentSourceSort, fA as CustomerPaymentSourceUpdate, aE as CustomerPaymentSources, fJ as CustomerSort, fC as CustomerSubscription, fD as CustomerSubscriptionCreate, fF as CustomerSubscriptionSort, fE as CustomerSubscriptionUpdate, aG as CustomerSubscriptions, fI as CustomerUpdate, aI as Customers, B as DeletableResource, D as DeletableResourceType, fK as DeliveryLeadTime, fL as DeliveryLeadTimeCreate, fN as DeliveryLeadTimeSort, fM as DeliveryLeadTimeUpdate, aK as DeliveryLeadTimes, fQ as DiscountEngine, fO as DiscountEngineItem, fP as DiscountEngineItemSort, aM as DiscountEngineItems, fR as DiscountEngineSort, aO as DiscountEngines, fS as EasypostPickup, fT as EasypostPickupCreate, fV as EasypostPickupSort, fU as EasypostPickupUpdate, aQ as EasypostPickups, f_ as Event, fW as EventCallback, fX as EventCallbackSort, aS as EventCallbacks, g0 as EventSort, fY as EventStore, fZ as EventStoreSort, aU as EventStores, f$ as EventUpdate, aW as Events, g1 as Export, g2 as ExportCreate, g4 as ExportSort, g3 as ExportUpdate, aY as Exports, g5 as ExternalGateway, g6 as ExternalGatewayCreate, g8 as ExternalGatewaySort, g7 as ExternalGatewayUpdate, a_ as ExternalGateways, g9 as ExternalPayment, ga as ExternalPaymentCreate, gc as ExternalPaymentSort, gb as ExternalPaymentUpdate, b0 as ExternalPayments, gd as ExternalPromotion, ge as ExternalPromotionCreate, gg as ExternalPromotionSort, gf as ExternalPromotionUpdate, b2 as ExternalPromotions, gh as ExternalTaxCalculator, gi as ExternalTaxCalculatorCreate, gk as ExternalTaxCalculatorSort, gj as ExternalTaxCalculatorUpdate, b4 as ExternalTaxCalculators, gl as FixedAmountPromotion, gm as FixedAmountPromotionCreate, go as FixedAmountPromotionSort, gn as FixedAmountPromotionUpdate, b6 as FixedAmountPromotions, gp as FixedPricePromotion, gq as FixedPricePromotionCreate, gs as FixedPricePromotionSort, gr as FixedPricePromotionUpdate, b8 as FixedPricePromotions, gt as FlexPromotion, gu as FlexPromotionCreate, gw as FlexPromotionSort, gv as FlexPromotionUpdate, ba as FlexPromotions, gx as FreeGiftPromotion, gy as FreeGiftPromotionCreate, gA as FreeGiftPromotionSort, gz as FreeGiftPromotionUpdate, bc as FreeGiftPromotions, gB as FreeShippingPromotion, gC as FreeShippingPromotionCreate, gE as FreeShippingPromotionSort, gD as FreeShippingPromotionUpdate, be as FreeShippingPromotions, gF as Geocoder, gG as GeocoderSort, bg as Geocoders, gL as GiftCard, gM as GiftCardCreate, gH as GiftCardRecipient, gI as GiftCardRecipientCreate, gK as GiftCardRecipientSort, gJ as GiftCardRecipientUpdate, bi as GiftCardRecipients, gO as GiftCardSort, gN as GiftCardUpdate, bk as GiftCards, gP as GoogleGeocoder, gQ as GoogleGeocoderCreate, gS as GoogleGeocoderSort, gR as GoogleGeocoderUpdate, bm as GoogleGeocoders, gT as Import, gU as ImportCreate, gW as ImportSort, gV as ImportUpdate, bo as Imports, gX as InStockSubscription, gY as InStockSubscriptionCreate, g_ as InStockSubscriptionSort, gZ as InStockSubscriptionUpdate, bq as InStockSubscriptions, g$ as InventoryModel, h0 as InventoryModelCreate, h2 as InventoryModelSort, h1 as InventoryModelUpdate, bs as InventoryModels, h3 as InventoryReturnLocation, h4 as InventoryReturnLocationCreate, h6 as InventoryReturnLocationSort, h5 as InventoryReturnLocationUpdate, bu as InventoryReturnLocations, h7 as InventoryStockLocation, h8 as InventoryStockLocationCreate, ha as InventoryStockLocationSort, h9 as InventoryStockLocationUpdate, bw as InventoryStockLocations, hb as KlarnaGateway, hc as KlarnaGatewayCreate, he as KlarnaGatewaySort, hd as KlarnaGatewayUpdate, by as KlarnaGateways, hf as KlarnaPayment, hg as KlarnaPaymentCreate, hi as KlarnaPaymentSort, hh as KlarnaPaymentUpdate, bA as KlarnaPayments, hn as LineItem, ho as LineItemCreate, hj as LineItemOption, hk as LineItemOptionCreate, hm as LineItemOptionSort, hl as LineItemOptionUpdate, bC as LineItemOptions, hq as LineItemSort, hp as LineItemUpdate, bE as LineItems, hr as Link, hs as LinkCreate, hu as LinkSort, ht as LinkUpdate, bG as Links, n as ListMeta, L as ListResponse, x as ListableResource, w as ListableResourceType, hv as ManualGateway, hw as ManualGatewayCreate, hy as ManualGatewaySort, hx as ManualGatewayUpdate, bI as ManualGateways, hz as ManualTaxCalculator, hA as ManualTaxCalculatorCreate, hC as ManualTaxCalculatorSort, hB as ManualTaxCalculatorUpdate, bK as ManualTaxCalculators, hD as Market, hE as MarketCreate, hG as MarketSort, hF as MarketUpdate, bM as Markets, hH as Merchant, hI as MerchantCreate, hK as MerchantSort, hJ as MerchantUpdate, bO as Merchants, M as Metadata, hL as Notification, hM as NotificationCreate, hO as NotificationSort, hN as NotificationUpdate, bQ as Notifications, i5 as Order, hP as OrderAmountPromotionRule, hQ as OrderAmountPromotionRuleCreate, hS as OrderAmountPromotionRuleSort, hR as OrderAmountPromotionRuleUpdate, bS as OrderAmountPromotionRules, bU as OrderCopies, hT as OrderCopy, hU as OrderCopyCreate, hW as OrderCopySort, hV as OrderCopyUpdate, i6 as OrderCreate, bW as OrderFactories, hX as OrderFactory, hY as OrderFactorySort, i8 as OrderSort, i1 as OrderSubscription, i2 as OrderSubscriptionCreate, hZ as OrderSubscriptionItem, h_ as OrderSubscriptionItemCreate, i0 as OrderSubscriptionItemSort, h$ as OrderSubscriptionItemUpdate, bY as OrderSubscriptionItems, i4 as OrderSubscriptionSort, i3 as OrderSubscriptionUpdate, b_ as OrderSubscriptions, i7 as OrderUpdate, c0 as Orders, i9 as Organization, ia as OrganizationSort, c2 as Organizations, ib as Package, ic as PackageCreate, ie as PackageSort, id as PackageUpdate, c4 as Packages, ik as Parcel, il as ParcelCreate, ig as ParcelLineItem, ih as ParcelLineItemCreate, ij as ParcelLineItemSort, ii as ParcelLineItemUpdate, c6 as ParcelLineItems, io as ParcelSort, im as ParcelUpdate, c8 as Parcels, ip as PaymentGateway, iq as PaymentGatewaySort, ca as PaymentGateways, ir as PaymentMethod, is as PaymentMethodCreate, iu as PaymentMethodSort, it as PaymentMethodUpdate, cc as PaymentMethods, iv as PaymentOption, iw as PaymentOptionCreate, iy as PaymentOptionSort, ix as PaymentOptionUpdate, ce as PaymentOptions, iz as PaypalGateway, iA as PaypalGatewayCreate, iC as PaypalGatewaySort, iB as PaypalGatewayUpdate, cg as PaypalGateways, iD as PaypalPayment, iE as PaypalPaymentCreate, iG as PaypalPaymentSort, iF as PaypalPaymentUpdate, ci as PaypalPayments, iH as PercentageDiscountPromotion, iI as PercentageDiscountPromotionCreate, iK as PercentageDiscountPromotionSort, iJ as PercentageDiscountPromotionUpdate, ck as PercentageDiscountPromotions, iL as Pickup, iM as PickupSort, cm as Pickups, j3 as Price, j4 as PriceCreate, iN as PriceFrequencyTier, iO as PriceFrequencyTierCreate, iQ as PriceFrequencyTierSort, iP as PriceFrequencyTierUpdate, co as PriceFrequencyTiers, iV as PriceList, iW as PriceListCreate, iR as PriceListScheduler, iS as PriceListSchedulerCreate, iU as PriceListSchedulerSort, iT as PriceListSchedulerUpdate, cq as PriceListSchedulers, iY as PriceListSort, iX as PriceListUpdate, cs as PriceLists, j6 as PriceSort, iZ as PriceTier, i_ as PriceTierSort, cu as PriceTiers, j5 as PriceUpdate, i$ as PriceVolumeTier, j0 as PriceVolumeTierCreate, j2 as PriceVolumeTierSort, j1 as PriceVolumeTierUpdate, cw as PriceVolumeTiers, cy as Prices, j9 as Promotion, j7 as PromotionRule, j8 as PromotionRuleSort, cA as PromotionRules, ja as PromotionSort, cC as Promotions, a as QueryFields, h as QueryFilter, Q as QueryInclude, e as QueryPageNumber, f as QueryPageSize, d as QueryParams, c as QueryParamsList, b as QueryParamsRetrieve, g as QuerySort, cE as RecurringOrderCopies, jb as RecurringOrderCopy, jc as RecurringOrderCopyCreate, je as RecurringOrderCopySort, jd as RecurringOrderCopyUpdate, jf as Refund, jh as RefundSort, jg as RefundUpdate, cG as Refunds, ji as ReservedStock, jj as ReservedStockSort, cI as ReservedStocks, k as Resource, l as ResourceCreate, jk as ResourceError, jl as ResourceErrorSort, cK as ResourceErrors, q as ResourceFilter, j as ResourceId, o as ResourceRel, p as ResourceSort, R as ResourceType, t as ResourceTypeLock, m as ResourceUpdate, r as ResourcesConfig, s as ResourcesInitConfig, v as RetrievableResource, u as RetrievableResourceType, jq as Return, jr as ReturnCreate, jm as ReturnLineItem, jn as ReturnLineItemCreate, jp as ReturnLineItemSort, jo as ReturnLineItemUpdate, cM as ReturnLineItems, jt as ReturnSort, js as ReturnUpdate, cO as Returns, ju as SatispayGateway, jv as SatispayGatewayCreate, jx as SatispayGatewaySort, jw as SatispayGatewayUpdate, cQ as SatispayGateways, jy as SatispayPayment, jz as SatispayPaymentCreate, jB as SatispayPaymentSort, jA as SatispayPaymentUpdate, cS as SatispayPayments, jC as Shipment, jD as ShipmentCreate, jF as ShipmentSort, jE as ShipmentUpdate, cU as Shipments, cW as ShippingCategories, jG as ShippingCategory, jH as ShippingCategoryCreate, jJ as ShippingCategorySort, jI as ShippingCategoryUpdate, jM as ShippingMethod, jN as ShippingMethodCreate, jP as ShippingMethodSort, jK as ShippingMethodTier, jL as ShippingMethodTierSort, cY as ShippingMethodTiers, jO as ShippingMethodUpdate, c_ as ShippingMethods, jQ as ShippingWeightTier, jR as ShippingWeightTierCreate, jT as ShippingWeightTierSort, jS as ShippingWeightTierUpdate, d0 as ShippingWeightTiers, jU as ShippingZone, jV as ShippingZoneCreate, jX as ShippingZoneSort, jW as ShippingZoneUpdate, d2 as ShippingZones, kc as Sku, kd as SkuCreate, k4 as SkuList, k5 as SkuListCreate, jY as SkuListItem, jZ as SkuListItemCreate, j$ as SkuListItemSort, j_ as SkuListItemUpdate, d4 as SkuListItems, k0 as SkuListPromotionRule, k1 as SkuListPromotionRuleCreate, k3 as SkuListPromotionRuleSort, k2 as SkuListPromotionRuleUpdate, d6 as SkuListPromotionRules, k7 as SkuListSort, k6 as SkuListUpdate, d8 as SkuLists, k8 as SkuOption, k9 as SkuOptionCreate, kb as SkuOptionSort, ka as SkuOptionUpdate, da as SkuOptions, kf as SkuSort, ke as SkuUpdate, dc as Skus, kg as StockItem, kh as StockItemCreate, kj as StockItemSort, ki as StockItemUpdate, de as StockItems, kk as StockLineItem, kl as StockLineItemCreate, kn as StockLineItemSort, km as StockLineItemUpdate, dg as StockLineItems, ko as StockLocation, kp as StockLocationCreate, kr as StockLocationSort, kq as StockLocationUpdate, di as StockLocations, ks as StockReservation, kt as StockReservationCreate, kv as StockReservationSort, ku as StockReservationUpdate, dk as StockReservations, kw as StockTransfer, kx as StockTransferCreate, kz as StockTransferSort, ky as StockTransferUpdate, dm as StockTransfers, kA as Store, kB as StoreCreate, kD as StoreSort, kC as StoreUpdate, dp as Stores, kE as StripeGateway, kF as StripeGatewayCreate, kH as StripeGatewaySort, kG as StripeGatewayUpdate, dr as StripeGateways, kI as StripePayment, kJ as StripePaymentCreate, kL as StripePaymentSort, kK as StripePaymentUpdate, dt as StripePayments, kM as StripeTaxAccount, kN as StripeTaxAccountCreate, kP as StripeTaxAccountSort, kO as StripeTaxAccountUpdate, dv as StripeTaxAccounts, kQ as SubscriptionModel, kR as SubscriptionModelCreate, kT as SubscriptionModelSort, kS as SubscriptionModelUpdate, dx as SubscriptionModels, kU as Tag, kV as TagCreate, kX as TagSort, kW as TagUpdate, E as TaggableResource, T as TaggableResourceType, dz as Tags, kY as TalonOneAccount, kZ as TalonOneAccountCreate, k$ as TalonOneAccountSort, k_ as TalonOneAccountUpdate, dB as TalonOneAccounts, l0 as TaxCalculator, l1 as TaxCalculatorSort, dD as TaxCalculators, dF as TaxCategories, l2 as TaxCategory, l3 as TaxCategoryCreate, l5 as TaxCategorySort, l4 as TaxCategoryUpdate, l6 as TaxRule, l7 as TaxRuleCreate, l9 as TaxRuleSort, l8 as TaxRuleUpdate, dH as TaxRules, la as TaxjarAccount, lb as TaxjarAccountCreate, ld as TaxjarAccountSort, lc as TaxjarAccountUpdate, dJ as TaxjarAccounts, le as Transaction, lf as TransactionSort, dL as Transactions, z as UpdatableResource, U as UpdatableResourceType, lg as Version, lh as VersionSort, F as VersionableResource, V as VersionableResourceType, dN as Versions, li as VertexAccount, lj as VertexAccountCreate, ll as VertexAccountSort, lk as VertexAccountUpdate, dP as VertexAccounts, lm as Void, lo as VoidSort, ln as VoidUpdate, dR as Voids, lp as Webhook, lq as WebhookCreate, ls as WebhookSort, lr as WebhookUpdate, dT as Webhooks, lt as WireTransfer, lu as WireTransferCreate, lw as WireTransferSort, lv as WireTransferUpdate, dV as WireTransfers, G as addresses, I as adjustments, K as adyen_gateways, O as adyen_payments, S as application, X as attachments, Z as authorizations, $ as avalara_accounts, a1 as axerve_gateways, a3 as axerve_payments, a5 as bing_geocoders, a7 as braintree_gateways, a9 as braintree_payments, ab as bundles, ad as buy_x_pay_y_promotions, af as captures, ah as carrier_accounts, aj as checkout_com_gateways, al as checkout_com_payments, an as cleanups, ap as coupon_codes_promotion_rules, ar as coupon_recipients, at as coupons, av as custom_promotion_rules, ax as customer_addresses, az as customer_groups, aB as customer_password_resets, aD as customer_payment_sources, aF as customer_subscriptions, aH as customers, aJ as delivery_lead_times, aL as discount_engine_items, aN as discount_engines, aP as easypost_pickups, aR as event_callbacks, aT as event_stores, aV as events, aX as exports, aZ as external_gateways, a$ as external_payments, b1 as external_promotions, b3 as external_tax_calculators, b5 as fixed_amount_promotions, b7 as fixed_price_promotions, b9 as flex_promotions, bb as free_gift_promotions, bd as free_shipping_promotions, bf as geocoders, bh as gift_card_recipients, bj as gift_cards, bl as google_geocoders, bn as imports, bp as in_stock_subscriptions, br as inventory_models, bt as inventory_return_locations, bv as inventory_stock_locations, bx as klarna_gateways, bz as klarna_payments, bB as line_item_options, bD as line_items, bF as links, bH as manual_gateways, bJ as manual_tax_calculators, bL as markets, bN as merchants, bP as notifications, bR as order_amount_promotion_rules, bT as order_copies, bV as order_factories, bX as order_subscription_items, bZ as order_subscriptions, b$ as orders, c1 as organization, c3 as packages, c5 as parcel_line_items, c7 as parcels, c9 as payment_gateways, cb as payment_methods, cd as payment_options, cf as paypal_gateways, ch as paypal_payments, cj as percentage_discount_promotions, cl as pickups, cn as price_frequency_tiers, cp as price_list_schedulers, cr as price_lists, ct as price_tiers, cv as price_volume_tiers, cx as prices, cz as promotion_rules, cB as promotions, cD as recurring_order_copies, cF as refunds, cH as reserved_stocks, cJ as resource_errors, cL as return_line_items, cN as returns, cP as satispay_gateways, cR as satispay_payments, cT as shipments, cV as shipping_categories, cX as shipping_method_tiers, cZ as shipping_methods, c$ as shipping_weight_tiers, d1 as shipping_zones, d3 as sku_list_items, d5 as sku_list_promotion_rules, d7 as sku_lists, d9 as sku_options, db as skus, dd as stock_items, df as stock_line_items, dh as stock_locations, dj as stock_reservations, dl as stock_transfers, dn as stores, dq as stripe_gateways, ds as stripe_payments, du as stripe_tax_accounts, dw as subscription_models, dy as tags, dA as talon_one_accounts, dC as tax_calculators, dE as tax_categories, dG as tax_rules, dI as taxjar_accounts, dK as transactions, dM as versions, dO as vertex_accounts, dQ as voids, dS as webhooks, dU as wire_transfers } from './api-BsKF9Q-K.cjs';
|
5
|
+
export { dW as Address, dX as AddressCreate, dZ as AddressSort, dY as AddressUpdate, H as Addresses, d_ as Adjustment, d$ as AdjustmentCreate, e1 as AdjustmentSort, e0 as AdjustmentUpdate, J as Adjustments, e2 as AdyenGateway, e3 as AdyenGatewayCreate, e5 as AdyenGatewaySort, e4 as AdyenGatewayUpdate, N as AdyenGateways, e6 as AdyenPayment, e7 as AdyenPaymentCreate, e9 as AdyenPaymentSort, e8 as AdyenPaymentUpdate, P as AdyenPayments, A as ApiResource, i as ApiSingleton, ea as Application, eb as ApplicationSort, W as Applications, ec as Attachment, ed as AttachmentCreate, ef as AttachmentSort, ee as AttachmentUpdate, Y as Attachments, eg as Authorization, ei as AuthorizationSort, eh as AuthorizationUpdate, _ as Authorizations, ej as AvalaraAccount, ek as AvalaraAccountCreate, em as AvalaraAccountSort, el as AvalaraAccountUpdate, a0 as AvalaraAccounts, en as AxerveGateway, eo as AxerveGatewayCreate, eq as AxerveGatewaySort, ep as AxerveGatewayUpdate, a2 as AxerveGateways, er as AxervePayment, es as AxervePaymentCreate, eu as AxervePaymentSort, et as AxervePaymentUpdate, a4 as AxervePayments, ev as BingGeocoder, ew as BingGeocoderCreate, ey as BingGeocoderSort, ex as BingGeocoderUpdate, a6 as BingGeocoders, ez as BraintreeGateway, eA as BraintreeGatewayCreate, eC as BraintreeGatewaySort, eB as BraintreeGatewayUpdate, a8 as BraintreeGateways, eD as BraintreePayment, eE as BraintreePaymentCreate, eG as BraintreePaymentSort, eF as BraintreePaymentUpdate, aa as BraintreePayments, eH as Bundle, eI as BundleCreate, eK as BundleSort, eJ as BundleUpdate, ac as Bundles, eL as BuyXPayYPromotion, eM as BuyXPayYPromotionCreate, eO as BuyXPayYPromotionSort, eN as BuyXPayYPromotionUpdate, ae as BuyXPayYPromotions, eP as Capture, eR as CaptureSort, eQ as CaptureUpdate, ag as Captures, eS as CarrierAccount, eT as CarrierAccountCreate, eV as CarrierAccountSort, eU as CarrierAccountUpdate, ai as CarrierAccounts, eW as CheckoutComGateway, eX as CheckoutComGatewayCreate, eZ as CheckoutComGatewaySort, eY as CheckoutComGatewayUpdate, ak as CheckoutComGateways, e_ as CheckoutComPayment, e$ as CheckoutComPaymentCreate, f1 as CheckoutComPaymentSort, f0 as CheckoutComPaymentUpdate, am as CheckoutComPayments, f2 as Cleanup, f3 as CleanupCreate, f5 as CleanupSort, f4 as CleanupUpdate, ao as Cleanups, fe as Coupon, f6 as CouponCodesPromotionRule, f7 as CouponCodesPromotionRuleCreate, f9 as CouponCodesPromotionRuleSort, f8 as CouponCodesPromotionRuleUpdate, aq as CouponCodesPromotionRules, ff as CouponCreate, fa as CouponRecipient, fb as CouponRecipientCreate, fd as CouponRecipientSort, fc as CouponRecipientUpdate, as as CouponRecipients, fh as CouponSort, fg as CouponUpdate, au as Coupons, y as CreatableResource, C as CreatableResourceType, fi as CustomPromotionRule, fj as CustomPromotionRuleCreate, fl as CustomPromotionRuleSort, fk as CustomPromotionRuleUpdate, aw as CustomPromotionRules, fG as Customer, fm as CustomerAddress, fn as CustomerAddressCreate, fp as CustomerAddressSort, fo as CustomerAddressUpdate, ay as CustomerAddresses, fH as CustomerCreate, fq as CustomerGroup, fr as CustomerGroupCreate, ft as CustomerGroupSort, fs as CustomerGroupUpdate, aA as CustomerGroups, fu as CustomerPasswordReset, fv as CustomerPasswordResetCreate, fx as CustomerPasswordResetSort, fw as CustomerPasswordResetUpdate, aC as CustomerPasswordResets, fy as CustomerPaymentSource, fz as CustomerPaymentSourceCreate, fB as CustomerPaymentSourceSort, fA as CustomerPaymentSourceUpdate, aE as CustomerPaymentSources, fJ as CustomerSort, fC as CustomerSubscription, fD as CustomerSubscriptionCreate, fF as CustomerSubscriptionSort, fE as CustomerSubscriptionUpdate, aG as CustomerSubscriptions, fI as CustomerUpdate, aI as Customers, B as DeletableResource, D as DeletableResourceType, fK as DeliveryLeadTime, fL as DeliveryLeadTimeCreate, fN as DeliveryLeadTimeSort, fM as DeliveryLeadTimeUpdate, aK as DeliveryLeadTimes, fQ as DiscountEngine, fO as DiscountEngineItem, fP as DiscountEngineItemSort, aM as DiscountEngineItems, fR as DiscountEngineSort, aO as DiscountEngines, fS as EasypostPickup, fT as EasypostPickupCreate, fV as EasypostPickupSort, fU as EasypostPickupUpdate, aQ as EasypostPickups, f_ as Event, fW as EventCallback, fX as EventCallbackSort, aS as EventCallbacks, g0 as EventSort, fY as EventStore, fZ as EventStoreSort, aU as EventStores, f$ as EventUpdate, aW as Events, g1 as Export, g2 as ExportCreate, g4 as ExportSort, g3 as ExportUpdate, aY as Exports, g5 as ExternalGateway, g6 as ExternalGatewayCreate, g8 as ExternalGatewaySort, g7 as ExternalGatewayUpdate, a_ as ExternalGateways, g9 as ExternalPayment, ga as ExternalPaymentCreate, gc as ExternalPaymentSort, gb as ExternalPaymentUpdate, b0 as ExternalPayments, gd as ExternalPromotion, ge as ExternalPromotionCreate, gg as ExternalPromotionSort, gf as ExternalPromotionUpdate, b2 as ExternalPromotions, gh as ExternalTaxCalculator, gi as ExternalTaxCalculatorCreate, gk as ExternalTaxCalculatorSort, gj as ExternalTaxCalculatorUpdate, b4 as ExternalTaxCalculators, gl as FixedAmountPromotion, gm as FixedAmountPromotionCreate, go as FixedAmountPromotionSort, gn as FixedAmountPromotionUpdate, b6 as FixedAmountPromotions, gp as FixedPricePromotion, gq as FixedPricePromotionCreate, gs as FixedPricePromotionSort, gr as FixedPricePromotionUpdate, b8 as FixedPricePromotions, gt as FlexPromotion, gu as FlexPromotionCreate, gw as FlexPromotionSort, gv as FlexPromotionUpdate, ba as FlexPromotions, gx as FreeGiftPromotion, gy as FreeGiftPromotionCreate, gA as FreeGiftPromotionSort, gz as FreeGiftPromotionUpdate, bc as FreeGiftPromotions, gB as FreeShippingPromotion, gC as FreeShippingPromotionCreate, gE as FreeShippingPromotionSort, gD as FreeShippingPromotionUpdate, be as FreeShippingPromotions, gF as Geocoder, gG as GeocoderSort, bg as Geocoders, gL as GiftCard, gM as GiftCardCreate, gH as GiftCardRecipient, gI as GiftCardRecipientCreate, gK as GiftCardRecipientSort, gJ as GiftCardRecipientUpdate, bi as GiftCardRecipients, gO as GiftCardSort, gN as GiftCardUpdate, bk as GiftCards, gP as GoogleGeocoder, gQ as GoogleGeocoderCreate, gS as GoogleGeocoderSort, gR as GoogleGeocoderUpdate, bm as GoogleGeocoders, gT as Import, gU as ImportCreate, gW as ImportSort, gV as ImportUpdate, bo as Imports, gX as InStockSubscription, gY as InStockSubscriptionCreate, g_ as InStockSubscriptionSort, gZ as InStockSubscriptionUpdate, bq as InStockSubscriptions, g$ as InventoryModel, h0 as InventoryModelCreate, h2 as InventoryModelSort, h1 as InventoryModelUpdate, bs as InventoryModels, h3 as InventoryReturnLocation, h4 as InventoryReturnLocationCreate, h6 as InventoryReturnLocationSort, h5 as InventoryReturnLocationUpdate, bu as InventoryReturnLocations, h7 as InventoryStockLocation, h8 as InventoryStockLocationCreate, ha as InventoryStockLocationSort, h9 as InventoryStockLocationUpdate, bw as InventoryStockLocations, hb as KlarnaGateway, hc as KlarnaGatewayCreate, he as KlarnaGatewaySort, hd as KlarnaGatewayUpdate, by as KlarnaGateways, hf as KlarnaPayment, hg as KlarnaPaymentCreate, hi as KlarnaPaymentSort, hh as KlarnaPaymentUpdate, bA as KlarnaPayments, hn as LineItem, ho as LineItemCreate, hj as LineItemOption, hk as LineItemOptionCreate, hm as LineItemOptionSort, hl as LineItemOptionUpdate, bC as LineItemOptions, hq as LineItemSort, hp as LineItemUpdate, bE as LineItems, hr as Link, hs as LinkCreate, hu as LinkSort, ht as LinkUpdate, bG as Links, n as ListMeta, L as ListResponse, x as ListableResource, w as ListableResourceType, hv as ManualGateway, hw as ManualGatewayCreate, hy as ManualGatewaySort, hx as ManualGatewayUpdate, bI as ManualGateways, hz as ManualTaxCalculator, hA as ManualTaxCalculatorCreate, hC as ManualTaxCalculatorSort, hB as ManualTaxCalculatorUpdate, bK as ManualTaxCalculators, hD as Market, hE as MarketCreate, hG as MarketSort, hF as MarketUpdate, bM as Markets, hH as Merchant, hI as MerchantCreate, hK as MerchantSort, hJ as MerchantUpdate, bO as Merchants, M as Metadata, hL as Notification, hM as NotificationCreate, hO as NotificationSort, hN as NotificationUpdate, bQ as Notifications, i5 as Order, hP as OrderAmountPromotionRule, hQ as OrderAmountPromotionRuleCreate, hS as OrderAmountPromotionRuleSort, hR as OrderAmountPromotionRuleUpdate, bS as OrderAmountPromotionRules, bU as OrderCopies, hT as OrderCopy, hU as OrderCopyCreate, hW as OrderCopySort, hV as OrderCopyUpdate, i6 as OrderCreate, bW as OrderFactories, hX as OrderFactory, hY as OrderFactorySort, i8 as OrderSort, i1 as OrderSubscription, i2 as OrderSubscriptionCreate, hZ as OrderSubscriptionItem, h_ as OrderSubscriptionItemCreate, i0 as OrderSubscriptionItemSort, h$ as OrderSubscriptionItemUpdate, bY as OrderSubscriptionItems, i4 as OrderSubscriptionSort, i3 as OrderSubscriptionUpdate, b_ as OrderSubscriptions, i7 as OrderUpdate, c0 as Orders, i9 as Organization, ia as OrganizationSort, c2 as Organizations, ib as Package, ic as PackageCreate, ie as PackageSort, id as PackageUpdate, c4 as Packages, ik as Parcel, il as ParcelCreate, ig as ParcelLineItem, ih as ParcelLineItemCreate, ij as ParcelLineItemSort, ii as ParcelLineItemUpdate, c6 as ParcelLineItems, io as ParcelSort, im as ParcelUpdate, c8 as Parcels, ip as PaymentGateway, iq as PaymentGatewaySort, ca as PaymentGateways, ir as PaymentMethod, is as PaymentMethodCreate, iu as PaymentMethodSort, it as PaymentMethodUpdate, cc as PaymentMethods, iv as PaymentOption, iw as PaymentOptionCreate, iy as PaymentOptionSort, ix as PaymentOptionUpdate, ce as PaymentOptions, iz as PaypalGateway, iA as PaypalGatewayCreate, iC as PaypalGatewaySort, iB as PaypalGatewayUpdate, cg as PaypalGateways, iD as PaypalPayment, iE as PaypalPaymentCreate, iG as PaypalPaymentSort, iF as PaypalPaymentUpdate, ci as PaypalPayments, iH as PercentageDiscountPromotion, iI as PercentageDiscountPromotionCreate, iK as PercentageDiscountPromotionSort, iJ as PercentageDiscountPromotionUpdate, ck as PercentageDiscountPromotions, iL as Pickup, iM as PickupSort, cm as Pickups, j3 as Price, j4 as PriceCreate, iN as PriceFrequencyTier, iO as PriceFrequencyTierCreate, iQ as PriceFrequencyTierSort, iP as PriceFrequencyTierUpdate, co as PriceFrequencyTiers, iV as PriceList, iW as PriceListCreate, iR as PriceListScheduler, iS as PriceListSchedulerCreate, iU as PriceListSchedulerSort, iT as PriceListSchedulerUpdate, cq as PriceListSchedulers, iY as PriceListSort, iX as PriceListUpdate, cs as PriceLists, j6 as PriceSort, iZ as PriceTier, i_ as PriceTierSort, cu as PriceTiers, j5 as PriceUpdate, i$ as PriceVolumeTier, j0 as PriceVolumeTierCreate, j2 as PriceVolumeTierSort, j1 as PriceVolumeTierUpdate, cw as PriceVolumeTiers, cy as Prices, j9 as Promotion, j7 as PromotionRule, j8 as PromotionRuleSort, cA as PromotionRules, ja as PromotionSort, cC as Promotions, a as QueryFields, h as QueryFilter, Q as QueryInclude, e as QueryPageNumber, f as QueryPageSize, d as QueryParams, c as QueryParamsList, b as QueryParamsRetrieve, g as QuerySort, cE as RecurringOrderCopies, jb as RecurringOrderCopy, jc as RecurringOrderCopyCreate, je as RecurringOrderCopySort, jd as RecurringOrderCopyUpdate, jf as Refund, jh as RefundSort, jg as RefundUpdate, cG as Refunds, ji as ReservedStock, jj as ReservedStockSort, cI as ReservedStocks, k as Resource, l as ResourceCreate, jk as ResourceError, jl as ResourceErrorSort, cK as ResourceErrors, q as ResourceFilter, j as ResourceId, o as ResourceRel, p as ResourceSort, R as ResourceType, t as ResourceTypeLock, m as ResourceUpdate, r as ResourcesConfig, s as ResourcesInitConfig, v as RetrievableResource, u as RetrievableResourceType, jq as Return, jr as ReturnCreate, jm as ReturnLineItem, jn as ReturnLineItemCreate, jp as ReturnLineItemSort, jo as ReturnLineItemUpdate, cM as ReturnLineItems, jt as ReturnSort, js as ReturnUpdate, cO as Returns, ju as SatispayGateway, jv as SatispayGatewayCreate, jx as SatispayGatewaySort, jw as SatispayGatewayUpdate, cQ as SatispayGateways, jy as SatispayPayment, jz as SatispayPaymentCreate, jB as SatispayPaymentSort, jA as SatispayPaymentUpdate, cS as SatispayPayments, jC as Shipment, jD as ShipmentCreate, jF as ShipmentSort, jE as ShipmentUpdate, cU as Shipments, cW as ShippingCategories, jG as ShippingCategory, jH as ShippingCategoryCreate, jJ as ShippingCategorySort, jI as ShippingCategoryUpdate, jM as ShippingMethod, jN as ShippingMethodCreate, jP as ShippingMethodSort, jK as ShippingMethodTier, jL as ShippingMethodTierSort, cY as ShippingMethodTiers, jO as ShippingMethodUpdate, c_ as ShippingMethods, jQ as ShippingWeightTier, jR as ShippingWeightTierCreate, jT as ShippingWeightTierSort, jS as ShippingWeightTierUpdate, d0 as ShippingWeightTiers, jU as ShippingZone, jV as ShippingZoneCreate, jX as ShippingZoneSort, jW as ShippingZoneUpdate, d2 as ShippingZones, kc as Sku, kd as SkuCreate, k4 as SkuList, k5 as SkuListCreate, jY as SkuListItem, jZ as SkuListItemCreate, j$ as SkuListItemSort, j_ as SkuListItemUpdate, d4 as SkuListItems, k0 as SkuListPromotionRule, k1 as SkuListPromotionRuleCreate, k3 as SkuListPromotionRuleSort, k2 as SkuListPromotionRuleUpdate, d6 as SkuListPromotionRules, k7 as SkuListSort, k6 as SkuListUpdate, d8 as SkuLists, k8 as SkuOption, k9 as SkuOptionCreate, kb as SkuOptionSort, ka as SkuOptionUpdate, da as SkuOptions, kf as SkuSort, ke as SkuUpdate, dc as Skus, kg as StockItem, kh as StockItemCreate, kj as StockItemSort, ki as StockItemUpdate, de as StockItems, kk as StockLineItem, kl as StockLineItemCreate, kn as StockLineItemSort, km as StockLineItemUpdate, dg as StockLineItems, ko as StockLocation, kp as StockLocationCreate, kr as StockLocationSort, kq as StockLocationUpdate, di as StockLocations, ks as StockReservation, kt as StockReservationCreate, kv as StockReservationSort, ku as StockReservationUpdate, dk as StockReservations, kw as StockTransfer, kx as StockTransferCreate, kz as StockTransferSort, ky as StockTransferUpdate, dm as StockTransfers, kA as Store, kB as StoreCreate, kD as StoreSort, kC as StoreUpdate, dp as Stores, kE as StripeGateway, kF as StripeGatewayCreate, kH as StripeGatewaySort, kG as StripeGatewayUpdate, dr as StripeGateways, kI as StripePayment, kJ as StripePaymentCreate, kL as StripePaymentSort, kK as StripePaymentUpdate, dt as StripePayments, kM as StripeTaxAccount, kN as StripeTaxAccountCreate, kP as StripeTaxAccountSort, kO as StripeTaxAccountUpdate, dv as StripeTaxAccounts, kQ as SubscriptionModel, kR as SubscriptionModelCreate, kT as SubscriptionModelSort, kS as SubscriptionModelUpdate, dx as SubscriptionModels, kU as Tag, kV as TagCreate, kX as TagSort, kW as TagUpdate, E as TaggableResource, T as TaggableResourceType, dz as Tags, kY as TalonOneAccount, kZ as TalonOneAccountCreate, k$ as TalonOneAccountSort, k_ as TalonOneAccountUpdate, dB as TalonOneAccounts, l0 as TaxCalculator, l1 as TaxCalculatorSort, dD as TaxCalculators, dF as TaxCategories, l2 as TaxCategory, l3 as TaxCategoryCreate, l5 as TaxCategorySort, l4 as TaxCategoryUpdate, l6 as TaxRule, l7 as TaxRuleCreate, l9 as TaxRuleSort, l8 as TaxRuleUpdate, dH as TaxRules, la as TaxjarAccount, lb as TaxjarAccountCreate, ld as TaxjarAccountSort, lc as TaxjarAccountUpdate, dJ as TaxjarAccounts, le as Transaction, lf as TransactionSort, dL as Transactions, z as UpdatableResource, U as UpdatableResourceType, lg as Version, lh as VersionSort, F as VersionableResource, V as VersionableResourceType, dN as Versions, li as VertexAccount, lj as VertexAccountCreate, ll as VertexAccountSort, lk as VertexAccountUpdate, dP as VertexAccounts, lm as Void, lo as VoidSort, ln as VoidUpdate, dR as Voids, lp as Webhook, lq as WebhookCreate, ls as WebhookSort, lr as WebhookUpdate, dT as Webhooks, lt as WireTransfer, lu as WireTransferCreate, lw as WireTransferSort, lv as WireTransferUpdate, dV as WireTransfers, G as addresses, I as adjustments, K as adyen_gateways, O as adyen_payments, S as application, X as attachments, Z as authorizations, $ as avalara_accounts, a1 as axerve_gateways, a3 as axerve_payments, a5 as bing_geocoders, a7 as braintree_gateways, a9 as braintree_payments, ab as bundles, ad as buy_x_pay_y_promotions, af as captures, ah as carrier_accounts, aj as checkout_com_gateways, al as checkout_com_payments, an as cleanups, ap as coupon_codes_promotion_rules, ar as coupon_recipients, at as coupons, av as custom_promotion_rules, ax as customer_addresses, az as customer_groups, aB as customer_password_resets, aD as customer_payment_sources, aF as customer_subscriptions, aH as customers, aJ as delivery_lead_times, aL as discount_engine_items, aN as discount_engines, aP as easypost_pickups, aR as event_callbacks, aT as event_stores, aV as events, aX as exports, aZ as external_gateways, a$ as external_payments, b1 as external_promotions, b3 as external_tax_calculators, b5 as fixed_amount_promotions, b7 as fixed_price_promotions, b9 as flex_promotions, bb as free_gift_promotions, bd as free_shipping_promotions, bf as geocoders, bh as gift_card_recipients, bj as gift_cards, bl as google_geocoders, bn as imports, bp as in_stock_subscriptions, br as inventory_models, bt as inventory_return_locations, bv as inventory_stock_locations, bx as klarna_gateways, bz as klarna_payments, bB as line_item_options, bD as line_items, bF as links, bH as manual_gateways, bJ as manual_tax_calculators, bL as markets, bN as merchants, bP as notifications, bR as order_amount_promotion_rules, bT as order_copies, bV as order_factories, bX as order_subscription_items, bZ as order_subscriptions, b$ as orders, c1 as organization, c3 as packages, c5 as parcel_line_items, c7 as parcels, c9 as payment_gateways, cb as payment_methods, cd as payment_options, cf as paypal_gateways, ch as paypal_payments, cj as percentage_discount_promotions, cl as pickups, cn as price_frequency_tiers, cp as price_list_schedulers, cr as price_lists, ct as price_tiers, cv as price_volume_tiers, cx as prices, cz as promotion_rules, cB as promotions, cD as recurring_order_copies, cF as refunds, cH as reserved_stocks, cJ as resource_errors, cL as return_line_items, cN as returns, cP as satispay_gateways, cR as satispay_payments, cT as shipments, cV as shipping_categories, cX as shipping_method_tiers, cZ as shipping_methods, c$ as shipping_weight_tiers, d1 as shipping_zones, d3 as sku_list_items, d5 as sku_list_promotion_rules, d7 as sku_lists, d9 as sku_options, db as skus, dd as stock_items, df as stock_line_items, dh as stock_locations, dj as stock_reservations, dl as stock_transfers, dn as stores, dq as stripe_gateways, ds as stripe_payments, du as stripe_tax_accounts, dw as subscription_models, dy as tags, dA as talon_one_accounts, dC as tax_calculators, dE as tax_categories, dG as tax_rules, dI as taxjar_accounts, dK as transactions, dM as versions, dO as vertex_accounts, dQ as voids, dS as webhooks, dU as wire_transfers } from './api-BljuENr-.cjs';
|
6
6
|
export { CommerceLayerStatic } from './static.cjs';
|
7
7
|
export { E as ErrorObj, H as HeadersObj, R as RequestObj, a as ResponseObj } from './interceptor-k15jXzf0.cjs';
|
8
8
|
export { ApiError, SdkError } from './error.cjs';
|