@commercelayer/sdk 7.0.0-beta.16 → 7.0.0-beta.18
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-Cxxi3g4i.d.cts → api-CRmSToGa.d.cts} +1 -1
- package/lib/{api-CsxHP9zh.d.ts → api-CUXmETkx.d.ts} +1 -1
- package/lib/api.cjs +7460 -792
- package/lib/api.d.cts +1 -1
- package/lib/api.d.ts +1 -1
- package/lib/api.js +7331 -132
- package/lib/client.cjs +253 -78
- package/lib/client.js +252 -72
- package/lib/commercelayer.cjs +778 -34
- package/lib/commercelayer.d.cts +1 -2
- package/lib/commercelayer.d.ts +1 -2
- package/lib/commercelayer.js +777 -29
- package/lib/common.cjs +143 -7
- package/lib/common.d.cts +1 -1
- package/lib/common.d.ts +1 -1
- package/lib/common.js +141 -5
- package/lib/config.cjs +2 -3
- package/lib/config.js +2 -3
- package/lib/debug.cjs +12 -6
- package/lib/debug.js +12 -6
- package/lib/enum.cjs +9 -10
- package/lib/enum.d.cts +1 -1
- package/lib/enum.d.ts +1 -1
- package/lib/enum.js +9 -10
- package/lib/error.cjs +75 -26
- package/lib/error.js +74 -25
- package/lib/fetch.cjs +85 -33
- package/lib/fetch.js +87 -31
- package/lib/index.cjs +8104 -23
- package/lib/index.d.cts +2 -2
- package/lib/index.d.ts +2 -2
- package/lib/index.js +7977 -4
- package/lib/jsonapi.cjs +188 -21
- package/lib/jsonapi.d.cts +1 -1
- package/lib/jsonapi.d.ts +1 -1
- package/lib/jsonapi.js +186 -14
- package/lib/model.d.cts +1 -1
- package/lib/model.d.ts +1 -1
- package/lib/query.cjs +75 -17
- package/lib/query.d.cts +1 -1
- package/lib/query.d.ts +1 -1
- package/lib/query.js +77 -15
- package/lib/resource.cjs +660 -71
- package/lib/resource.d.cts +1 -1
- package/lib/resource.d.ts +1 -1
- package/lib/resource.js +646 -51
- package/lib/resources/addresses.cjs +794 -6
- package/lib/resources/addresses.d.cts +1 -1
- package/lib/resources/addresses.d.ts +1 -1
- package/lib/resources/addresses.js +794 -6
- package/lib/resources/adjustments.cjs +794 -6
- package/lib/resources/adjustments.d.cts +1 -1
- package/lib/resources/adjustments.d.ts +1 -1
- package/lib/resources/adjustments.js +794 -6
- package/lib/resources/adyen_gateways.cjs +794 -6
- package/lib/resources/adyen_gateways.d.cts +1 -1
- package/lib/resources/adyen_gateways.d.ts +1 -1
- package/lib/resources/adyen_gateways.js +794 -6
- package/lib/resources/adyen_payments.cjs +794 -6
- package/lib/resources/adyen_payments.d.cts +1 -1
- package/lib/resources/adyen_payments.d.ts +1 -1
- package/lib/resources/adyen_payments.js +794 -6
- package/lib/resources/applications.cjs +786 -6
- package/lib/resources/applications.d.cts +1 -1
- package/lib/resources/applications.d.ts +1 -1
- package/lib/resources/applications.js +786 -6
- package/lib/resources/attachments.cjs +794 -6
- package/lib/resources/attachments.d.cts +1 -1
- package/lib/resources/attachments.d.ts +1 -1
- package/lib/resources/attachments.js +794 -6
- package/lib/resources/authorizations.cjs +794 -6
- package/lib/resources/authorizations.d.cts +1 -1
- package/lib/resources/authorizations.d.ts +1 -1
- package/lib/resources/authorizations.js +794 -6
- package/lib/resources/avalara_accounts.cjs +794 -6
- package/lib/resources/avalara_accounts.d.cts +1 -1
- package/lib/resources/avalara_accounts.d.ts +1 -1
- package/lib/resources/avalara_accounts.js +794 -6
- package/lib/resources/axerve_gateways.cjs +794 -6
- package/lib/resources/axerve_gateways.d.cts +1 -1
- package/lib/resources/axerve_gateways.d.ts +1 -1
- package/lib/resources/axerve_gateways.js +794 -6
- package/lib/resources/axerve_payments.cjs +794 -6
- package/lib/resources/axerve_payments.d.cts +1 -1
- package/lib/resources/axerve_payments.d.ts +1 -1
- package/lib/resources/axerve_payments.js +794 -6
- package/lib/resources/bing_geocoders.cjs +794 -6
- package/lib/resources/bing_geocoders.d.cts +1 -1
- package/lib/resources/bing_geocoders.d.ts +1 -1
- package/lib/resources/bing_geocoders.js +794 -6
- package/lib/resources/braintree_gateways.cjs +794 -6
- package/lib/resources/braintree_gateways.d.cts +1 -1
- package/lib/resources/braintree_gateways.d.ts +1 -1
- package/lib/resources/braintree_gateways.js +794 -6
- package/lib/resources/braintree_payments.cjs +794 -6
- package/lib/resources/braintree_payments.d.cts +1 -1
- package/lib/resources/braintree_payments.d.ts +1 -1
- package/lib/resources/braintree_payments.js +794 -6
- package/lib/resources/bundles.cjs +794 -6
- package/lib/resources/bundles.d.cts +1 -1
- package/lib/resources/bundles.d.ts +1 -1
- package/lib/resources/bundles.js +794 -6
- package/lib/resources/buy_x_pay_y_promotions.cjs +794 -6
- package/lib/resources/buy_x_pay_y_promotions.d.cts +1 -1
- package/lib/resources/buy_x_pay_y_promotions.d.ts +1 -1
- package/lib/resources/buy_x_pay_y_promotions.js +794 -6
- package/lib/resources/captures.cjs +794 -6
- package/lib/resources/captures.d.cts +1 -1
- package/lib/resources/captures.d.ts +1 -1
- package/lib/resources/captures.js +794 -6
- package/lib/resources/carrier_accounts.cjs +794 -6
- package/lib/resources/carrier_accounts.d.cts +1 -1
- package/lib/resources/carrier_accounts.d.ts +1 -1
- package/lib/resources/carrier_accounts.js +794 -6
- package/lib/resources/checkout_com_gateways.cjs +794 -6
- package/lib/resources/checkout_com_gateways.d.cts +1 -1
- package/lib/resources/checkout_com_gateways.d.ts +1 -1
- package/lib/resources/checkout_com_gateways.js +794 -6
- package/lib/resources/checkout_com_payments.cjs +794 -6
- package/lib/resources/checkout_com_payments.d.cts +1 -1
- package/lib/resources/checkout_com_payments.d.ts +1 -1
- package/lib/resources/checkout_com_payments.js +794 -6
- package/lib/resources/cleanups.cjs +794 -6
- package/lib/resources/cleanups.d.cts +1 -1
- package/lib/resources/cleanups.d.ts +1 -1
- package/lib/resources/cleanups.js +794 -6
- package/lib/resources/coupon_codes_promotion_rules.cjs +794 -6
- package/lib/resources/coupon_codes_promotion_rules.d.cts +1 -1
- package/lib/resources/coupon_codes_promotion_rules.d.ts +1 -1
- package/lib/resources/coupon_codes_promotion_rules.js +794 -6
- package/lib/resources/coupon_recipients.cjs +794 -6
- package/lib/resources/coupon_recipients.d.cts +1 -1
- package/lib/resources/coupon_recipients.d.ts +1 -1
- package/lib/resources/coupon_recipients.js +794 -6
- package/lib/resources/coupons.cjs +794 -6
- package/lib/resources/coupons.d.cts +1 -1
- package/lib/resources/coupons.d.ts +1 -1
- package/lib/resources/coupons.js +794 -6
- package/lib/resources/custom_promotion_rules.cjs +794 -6
- package/lib/resources/custom_promotion_rules.d.cts +1 -1
- package/lib/resources/custom_promotion_rules.d.ts +1 -1
- package/lib/resources/custom_promotion_rules.js +794 -6
- package/lib/resources/customer_addresses.cjs +794 -6
- package/lib/resources/customer_addresses.d.cts +1 -1
- package/lib/resources/customer_addresses.d.ts +1 -1
- package/lib/resources/customer_addresses.js +794 -6
- package/lib/resources/customer_groups.cjs +794 -6
- package/lib/resources/customer_groups.d.cts +1 -1
- package/lib/resources/customer_groups.d.ts +1 -1
- package/lib/resources/customer_groups.js +794 -6
- package/lib/resources/customer_password_resets.cjs +794 -6
- package/lib/resources/customer_password_resets.d.cts +1 -1
- package/lib/resources/customer_password_resets.d.ts +1 -1
- package/lib/resources/customer_password_resets.js +794 -6
- package/lib/resources/customer_payment_sources.cjs +794 -6
- package/lib/resources/customer_payment_sources.d.cts +1 -1
- package/lib/resources/customer_payment_sources.d.ts +1 -1
- package/lib/resources/customer_payment_sources.js +794 -6
- package/lib/resources/customer_subscriptions.cjs +794 -6
- package/lib/resources/customer_subscriptions.d.cts +1 -1
- package/lib/resources/customer_subscriptions.d.ts +1 -1
- package/lib/resources/customer_subscriptions.js +794 -6
- package/lib/resources/customers.cjs +794 -6
- package/lib/resources/customers.d.cts +1 -1
- package/lib/resources/customers.d.ts +1 -1
- package/lib/resources/customers.js +794 -6
- package/lib/resources/delivery_lead_times.cjs +794 -6
- package/lib/resources/delivery_lead_times.d.cts +1 -1
- package/lib/resources/delivery_lead_times.d.ts +1 -1
- package/lib/resources/delivery_lead_times.js +794 -6
- package/lib/resources/discount_engine_items.cjs +794 -6
- package/lib/resources/discount_engine_items.d.cts +1 -1
- package/lib/resources/discount_engine_items.d.ts +1 -1
- package/lib/resources/discount_engine_items.js +794 -6
- package/lib/resources/discount_engines.cjs +794 -6
- package/lib/resources/discount_engines.d.cts +1 -1
- package/lib/resources/discount_engines.d.ts +1 -1
- package/lib/resources/discount_engines.js +794 -6
- package/lib/resources/easypost_pickups.cjs +794 -6
- package/lib/resources/easypost_pickups.d.cts +1 -1
- package/lib/resources/easypost_pickups.d.ts +1 -1
- package/lib/resources/easypost_pickups.js +794 -6
- package/lib/resources/event_callbacks.cjs +794 -6
- package/lib/resources/event_callbacks.d.cts +1 -1
- package/lib/resources/event_callbacks.d.ts +1 -1
- package/lib/resources/event_callbacks.js +794 -6
- package/lib/resources/events.cjs +794 -6
- package/lib/resources/events.d.cts +1 -1
- package/lib/resources/events.d.ts +1 -1
- package/lib/resources/events.js +794 -6
- package/lib/resources/exports.cjs +794 -6
- package/lib/resources/exports.d.cts +1 -1
- package/lib/resources/exports.d.ts +1 -1
- package/lib/resources/exports.js +794 -6
- package/lib/resources/external_gateways.cjs +794 -6
- package/lib/resources/external_gateways.d.cts +1 -1
- package/lib/resources/external_gateways.d.ts +1 -1
- package/lib/resources/external_gateways.js +794 -6
- package/lib/resources/external_payments.cjs +794 -6
- package/lib/resources/external_payments.d.cts +1 -1
- package/lib/resources/external_payments.d.ts +1 -1
- package/lib/resources/external_payments.js +794 -6
- package/lib/resources/external_promotions.cjs +794 -6
- package/lib/resources/external_promotions.d.cts +1 -1
- package/lib/resources/external_promotions.d.ts +1 -1
- package/lib/resources/external_promotions.js +794 -6
- package/lib/resources/external_tax_calculators.cjs +794 -6
- package/lib/resources/external_tax_calculators.d.cts +1 -1
- package/lib/resources/external_tax_calculators.d.ts +1 -1
- package/lib/resources/external_tax_calculators.js +794 -6
- package/lib/resources/fixed_amount_promotions.cjs +794 -6
- package/lib/resources/fixed_amount_promotions.d.cts +1 -1
- package/lib/resources/fixed_amount_promotions.d.ts +1 -1
- package/lib/resources/fixed_amount_promotions.js +794 -6
- package/lib/resources/fixed_price_promotions.cjs +794 -6
- package/lib/resources/fixed_price_promotions.d.cts +1 -1
- package/lib/resources/fixed_price_promotions.d.ts +1 -1
- package/lib/resources/fixed_price_promotions.js +794 -6
- package/lib/resources/flex_promotions.cjs +794 -6
- package/lib/resources/flex_promotions.d.cts +1 -1
- package/lib/resources/flex_promotions.d.ts +1 -1
- package/lib/resources/flex_promotions.js +794 -6
- package/lib/resources/free_gift_promotions.cjs +794 -6
- package/lib/resources/free_gift_promotions.d.cts +1 -1
- package/lib/resources/free_gift_promotions.d.ts +1 -1
- package/lib/resources/free_gift_promotions.js +794 -6
- package/lib/resources/free_shipping_promotions.cjs +794 -6
- package/lib/resources/free_shipping_promotions.d.cts +1 -1
- package/lib/resources/free_shipping_promotions.d.ts +1 -1
- package/lib/resources/free_shipping_promotions.js +794 -6
- package/lib/resources/geocoders.cjs +794 -6
- package/lib/resources/geocoders.d.cts +1 -1
- package/lib/resources/geocoders.d.ts +1 -1
- package/lib/resources/geocoders.js +794 -6
- package/lib/resources/gift_card_recipients.cjs +794 -6
- package/lib/resources/gift_card_recipients.d.cts +1 -1
- package/lib/resources/gift_card_recipients.d.ts +1 -1
- package/lib/resources/gift_card_recipients.js +794 -6
- package/lib/resources/gift_cards.cjs +794 -6
- package/lib/resources/gift_cards.d.cts +1 -1
- package/lib/resources/gift_cards.d.ts +1 -1
- package/lib/resources/gift_cards.js +794 -6
- package/lib/resources/google_geocoders.cjs +794 -6
- package/lib/resources/google_geocoders.d.cts +1 -1
- package/lib/resources/google_geocoders.d.ts +1 -1
- package/lib/resources/google_geocoders.js +794 -6
- package/lib/resources/imports.cjs +794 -6
- package/lib/resources/imports.d.cts +1 -1
- package/lib/resources/imports.d.ts +1 -1
- package/lib/resources/imports.js +794 -6
- package/lib/resources/in_stock_subscriptions.cjs +794 -6
- package/lib/resources/in_stock_subscriptions.d.cts +1 -1
- package/lib/resources/in_stock_subscriptions.d.ts +1 -1
- package/lib/resources/in_stock_subscriptions.js +794 -6
- package/lib/resources/inventory_models.cjs +794 -6
- package/lib/resources/inventory_models.d.cts +1 -1
- package/lib/resources/inventory_models.d.ts +1 -1
- package/lib/resources/inventory_models.js +794 -6
- package/lib/resources/inventory_return_locations.cjs +794 -6
- package/lib/resources/inventory_return_locations.d.cts +1 -1
- package/lib/resources/inventory_return_locations.d.ts +1 -1
- package/lib/resources/inventory_return_locations.js +794 -6
- package/lib/resources/inventory_stock_locations.cjs +794 -6
- package/lib/resources/inventory_stock_locations.d.cts +1 -1
- package/lib/resources/inventory_stock_locations.d.ts +1 -1
- package/lib/resources/inventory_stock_locations.js +794 -6
- package/lib/resources/klarna_gateways.cjs +794 -6
- package/lib/resources/klarna_gateways.d.cts +1 -1
- package/lib/resources/klarna_gateways.d.ts +1 -1
- package/lib/resources/klarna_gateways.js +794 -6
- package/lib/resources/klarna_payments.cjs +794 -6
- package/lib/resources/klarna_payments.d.cts +1 -1
- package/lib/resources/klarna_payments.d.ts +1 -1
- package/lib/resources/klarna_payments.js +794 -6
- package/lib/resources/line_item_options.cjs +794 -6
- package/lib/resources/line_item_options.d.cts +1 -1
- package/lib/resources/line_item_options.d.ts +1 -1
- package/lib/resources/line_item_options.js +794 -6
- package/lib/resources/line_items.cjs +794 -6
- package/lib/resources/line_items.d.cts +1 -1
- package/lib/resources/line_items.d.ts +1 -1
- package/lib/resources/line_items.js +794 -6
- package/lib/resources/links.cjs +794 -6
- package/lib/resources/links.d.cts +1 -1
- package/lib/resources/links.d.ts +1 -1
- package/lib/resources/links.js +794 -6
- package/lib/resources/manual_gateways.cjs +794 -6
- package/lib/resources/manual_gateways.d.cts +1 -1
- package/lib/resources/manual_gateways.d.ts +1 -1
- package/lib/resources/manual_gateways.js +794 -6
- package/lib/resources/manual_tax_calculators.cjs +794 -6
- package/lib/resources/manual_tax_calculators.d.cts +1 -1
- package/lib/resources/manual_tax_calculators.d.ts +1 -1
- package/lib/resources/manual_tax_calculators.js +794 -6
- package/lib/resources/markets.cjs +794 -6
- package/lib/resources/markets.d.cts +1 -1
- package/lib/resources/markets.d.ts +1 -1
- package/lib/resources/markets.js +794 -6
- package/lib/resources/merchants.cjs +794 -6
- package/lib/resources/merchants.d.cts +1 -1
- package/lib/resources/merchants.d.ts +1 -1
- package/lib/resources/merchants.js +794 -6
- package/lib/resources/notifications.cjs +794 -6
- package/lib/resources/notifications.d.cts +1 -1
- package/lib/resources/notifications.d.ts +1 -1
- package/lib/resources/notifications.js +794 -6
- package/lib/resources/order_amount_promotion_rules.cjs +794 -6
- package/lib/resources/order_amount_promotion_rules.d.cts +1 -1
- package/lib/resources/order_amount_promotion_rules.d.ts +1 -1
- package/lib/resources/order_amount_promotion_rules.js +794 -6
- package/lib/resources/order_copies.cjs +794 -6
- package/lib/resources/order_copies.d.cts +1 -1
- package/lib/resources/order_copies.d.ts +1 -1
- package/lib/resources/order_copies.js +794 -6
- package/lib/resources/order_factories.cjs +794 -6
- package/lib/resources/order_factories.d.cts +1 -1
- package/lib/resources/order_factories.d.ts +1 -1
- package/lib/resources/order_factories.js +794 -6
- package/lib/resources/order_subscription_items.cjs +794 -6
- package/lib/resources/order_subscription_items.d.cts +1 -1
- package/lib/resources/order_subscription_items.d.ts +1 -1
- package/lib/resources/order_subscription_items.js +794 -6
- package/lib/resources/order_subscriptions.cjs +794 -6
- package/lib/resources/order_subscriptions.d.cts +1 -1
- package/lib/resources/order_subscriptions.d.ts +1 -1
- package/lib/resources/order_subscriptions.js +794 -6
- package/lib/resources/orders.cjs +794 -6
- package/lib/resources/orders.d.cts +1 -1
- package/lib/resources/orders.d.ts +1 -1
- package/lib/resources/orders.js +794 -6
- package/lib/resources/organizations.cjs +786 -6
- package/lib/resources/organizations.d.cts +1 -1
- package/lib/resources/organizations.d.ts +1 -1
- package/lib/resources/organizations.js +786 -6
- package/lib/resources/packages.cjs +794 -6
- package/lib/resources/packages.d.cts +1 -1
- package/lib/resources/packages.d.ts +1 -1
- package/lib/resources/packages.js +794 -6
- package/lib/resources/parcel_line_items.cjs +794 -6
- package/lib/resources/parcel_line_items.d.cts +1 -1
- package/lib/resources/parcel_line_items.d.ts +1 -1
- package/lib/resources/parcel_line_items.js +794 -6
- package/lib/resources/parcels.cjs +794 -6
- package/lib/resources/parcels.d.cts +1 -1
- package/lib/resources/parcels.d.ts +1 -1
- package/lib/resources/parcels.js +794 -6
- package/lib/resources/payment_gateways.cjs +794 -6
- package/lib/resources/payment_gateways.d.cts +1 -1
- package/lib/resources/payment_gateways.d.ts +1 -1
- package/lib/resources/payment_gateways.js +794 -6
- package/lib/resources/payment_methods.cjs +794 -6
- package/lib/resources/payment_methods.d.cts +1 -1
- package/lib/resources/payment_methods.d.ts +1 -1
- package/lib/resources/payment_methods.js +794 -6
- package/lib/resources/payment_options.cjs +794 -6
- package/lib/resources/payment_options.d.cts +1 -1
- package/lib/resources/payment_options.d.ts +1 -1
- package/lib/resources/payment_options.js +794 -6
- package/lib/resources/paypal_gateways.cjs +794 -6
- package/lib/resources/paypal_gateways.d.cts +1 -1
- package/lib/resources/paypal_gateways.d.ts +1 -1
- package/lib/resources/paypal_gateways.js +794 -6
- package/lib/resources/paypal_payments.cjs +794 -6
- package/lib/resources/paypal_payments.d.cts +1 -1
- package/lib/resources/paypal_payments.d.ts +1 -1
- package/lib/resources/paypal_payments.js +794 -6
- package/lib/resources/percentage_discount_promotions.cjs +794 -6
- package/lib/resources/percentage_discount_promotions.d.cts +1 -1
- package/lib/resources/percentage_discount_promotions.d.ts +1 -1
- package/lib/resources/percentage_discount_promotions.js +794 -6
- package/lib/resources/pickups.cjs +794 -6
- package/lib/resources/pickups.d.cts +1 -1
- package/lib/resources/pickups.d.ts +1 -1
- package/lib/resources/pickups.js +794 -6
- package/lib/resources/price_frequency_tiers.cjs +794 -6
- package/lib/resources/price_frequency_tiers.d.cts +1 -1
- package/lib/resources/price_frequency_tiers.d.ts +1 -1
- package/lib/resources/price_frequency_tiers.js +794 -6
- package/lib/resources/price_list_schedulers.cjs +794 -6
- package/lib/resources/price_list_schedulers.d.cts +1 -1
- package/lib/resources/price_list_schedulers.d.ts +1 -1
- package/lib/resources/price_list_schedulers.js +794 -6
- package/lib/resources/price_lists.cjs +794 -6
- package/lib/resources/price_lists.d.cts +1 -1
- package/lib/resources/price_lists.d.ts +1 -1
- package/lib/resources/price_lists.js +794 -6
- package/lib/resources/price_tiers.cjs +794 -6
- package/lib/resources/price_tiers.d.cts +1 -1
- package/lib/resources/price_tiers.d.ts +1 -1
- package/lib/resources/price_tiers.js +794 -6
- package/lib/resources/price_volume_tiers.cjs +794 -6
- package/lib/resources/price_volume_tiers.d.cts +1 -1
- package/lib/resources/price_volume_tiers.d.ts +1 -1
- package/lib/resources/price_volume_tiers.js +794 -6
- package/lib/resources/prices.cjs +794 -6
- package/lib/resources/prices.d.cts +1 -1
- package/lib/resources/prices.d.ts +1 -1
- package/lib/resources/prices.js +794 -6
- package/lib/resources/promotion_rules.cjs +794 -6
- package/lib/resources/promotion_rules.d.cts +1 -1
- package/lib/resources/promotion_rules.d.ts +1 -1
- package/lib/resources/promotion_rules.js +794 -6
- package/lib/resources/promotions.cjs +794 -6
- package/lib/resources/promotions.d.cts +1 -1
- package/lib/resources/promotions.d.ts +1 -1
- package/lib/resources/promotions.js +794 -6
- package/lib/resources/recurring_order_copies.cjs +794 -6
- package/lib/resources/recurring_order_copies.d.cts +1 -1
- package/lib/resources/recurring_order_copies.d.ts +1 -1
- package/lib/resources/recurring_order_copies.js +794 -6
- package/lib/resources/refunds.cjs +794 -6
- package/lib/resources/refunds.d.cts +1 -1
- package/lib/resources/refunds.d.ts +1 -1
- package/lib/resources/refunds.js +794 -6
- package/lib/resources/reserved_stocks.cjs +794 -6
- package/lib/resources/reserved_stocks.d.cts +1 -1
- package/lib/resources/reserved_stocks.d.ts +1 -1
- package/lib/resources/reserved_stocks.js +794 -6
- package/lib/resources/resource_errors.cjs +794 -6
- package/lib/resources/resource_errors.d.cts +1 -1
- package/lib/resources/resource_errors.d.ts +1 -1
- package/lib/resources/resource_errors.js +794 -6
- package/lib/resources/return_line_items.cjs +794 -6
- package/lib/resources/return_line_items.d.cts +1 -1
- package/lib/resources/return_line_items.d.ts +1 -1
- package/lib/resources/return_line_items.js +794 -6
- package/lib/resources/returns.cjs +794 -6
- package/lib/resources/returns.d.cts +1 -1
- package/lib/resources/returns.d.ts +1 -1
- package/lib/resources/returns.js +794 -6
- package/lib/resources/satispay_gateways.cjs +794 -6
- package/lib/resources/satispay_gateways.d.cts +1 -1
- package/lib/resources/satispay_gateways.d.ts +1 -1
- package/lib/resources/satispay_gateways.js +794 -6
- package/lib/resources/satispay_payments.cjs +794 -6
- package/lib/resources/satispay_payments.d.cts +1 -1
- package/lib/resources/satispay_payments.d.ts +1 -1
- package/lib/resources/satispay_payments.js +794 -6
- package/lib/resources/shipments.cjs +794 -6
- package/lib/resources/shipments.d.cts +1 -1
- package/lib/resources/shipments.d.ts +1 -1
- package/lib/resources/shipments.js +794 -6
- package/lib/resources/shipping_categories.cjs +794 -6
- package/lib/resources/shipping_categories.d.cts +1 -1
- package/lib/resources/shipping_categories.d.ts +1 -1
- package/lib/resources/shipping_categories.js +794 -6
- package/lib/resources/shipping_method_tiers.cjs +794 -6
- package/lib/resources/shipping_method_tiers.d.cts +1 -1
- package/lib/resources/shipping_method_tiers.d.ts +1 -1
- package/lib/resources/shipping_method_tiers.js +794 -6
- package/lib/resources/shipping_methods.cjs +794 -6
- package/lib/resources/shipping_methods.d.cts +1 -1
- package/lib/resources/shipping_methods.d.ts +1 -1
- package/lib/resources/shipping_methods.js +794 -6
- package/lib/resources/shipping_weight_tiers.cjs +794 -6
- package/lib/resources/shipping_weight_tiers.d.cts +1 -1
- package/lib/resources/shipping_weight_tiers.d.ts +1 -1
- package/lib/resources/shipping_weight_tiers.js +794 -6
- package/lib/resources/shipping_zones.cjs +794 -6
- package/lib/resources/shipping_zones.d.cts +1 -1
- package/lib/resources/shipping_zones.d.ts +1 -1
- package/lib/resources/shipping_zones.js +794 -6
- package/lib/resources/sku_list_items.cjs +794 -6
- package/lib/resources/sku_list_items.d.cts +1 -1
- package/lib/resources/sku_list_items.d.ts +1 -1
- package/lib/resources/sku_list_items.js +794 -6
- package/lib/resources/sku_list_promotion_rules.cjs +794 -6
- package/lib/resources/sku_list_promotion_rules.d.cts +1 -1
- package/lib/resources/sku_list_promotion_rules.d.ts +1 -1
- package/lib/resources/sku_list_promotion_rules.js +794 -6
- package/lib/resources/sku_lists.cjs +794 -6
- package/lib/resources/sku_lists.d.cts +1 -1
- package/lib/resources/sku_lists.d.ts +1 -1
- package/lib/resources/sku_lists.js +794 -6
- package/lib/resources/sku_options.cjs +794 -6
- package/lib/resources/sku_options.d.cts +1 -1
- package/lib/resources/sku_options.d.ts +1 -1
- package/lib/resources/sku_options.js +794 -6
- package/lib/resources/skus.cjs +794 -6
- package/lib/resources/skus.d.cts +1 -1
- package/lib/resources/skus.d.ts +1 -1
- package/lib/resources/skus.js +794 -6
- package/lib/resources/stock_items.cjs +794 -6
- package/lib/resources/stock_items.d.cts +1 -1
- package/lib/resources/stock_items.d.ts +1 -1
- package/lib/resources/stock_items.js +794 -6
- package/lib/resources/stock_line_items.cjs +794 -6
- package/lib/resources/stock_line_items.d.cts +1 -1
- package/lib/resources/stock_line_items.d.ts +1 -1
- package/lib/resources/stock_line_items.js +794 -6
- package/lib/resources/stock_locations.cjs +794 -6
- package/lib/resources/stock_locations.d.cts +1 -1
- package/lib/resources/stock_locations.d.ts +1 -1
- package/lib/resources/stock_locations.js +794 -6
- package/lib/resources/stock_reservations.cjs +794 -6
- package/lib/resources/stock_reservations.d.cts +1 -1
- package/lib/resources/stock_reservations.d.ts +1 -1
- package/lib/resources/stock_reservations.js +794 -6
- package/lib/resources/stock_transfers.cjs +794 -6
- package/lib/resources/stock_transfers.d.cts +1 -1
- package/lib/resources/stock_transfers.d.ts +1 -1
- package/lib/resources/stock_transfers.js +794 -6
- package/lib/resources/stores.cjs +794 -6
- package/lib/resources/stores.d.cts +1 -1
- package/lib/resources/stores.d.ts +1 -1
- package/lib/resources/stores.js +794 -6
- package/lib/resources/stripe_gateways.cjs +794 -6
- package/lib/resources/stripe_gateways.d.cts +1 -1
- package/lib/resources/stripe_gateways.d.ts +1 -1
- package/lib/resources/stripe_gateways.js +794 -6
- package/lib/resources/stripe_payments.cjs +794 -6
- package/lib/resources/stripe_payments.d.cts +1 -1
- package/lib/resources/stripe_payments.d.ts +1 -1
- package/lib/resources/stripe_payments.js +794 -6
- package/lib/resources/stripe_tax_accounts.cjs +794 -6
- package/lib/resources/stripe_tax_accounts.d.cts +1 -1
- package/lib/resources/stripe_tax_accounts.d.ts +1 -1
- package/lib/resources/stripe_tax_accounts.js +794 -6
- package/lib/resources/subscription_models.cjs +794 -6
- package/lib/resources/subscription_models.d.cts +1 -1
- package/lib/resources/subscription_models.d.ts +1 -1
- package/lib/resources/subscription_models.js +794 -6
- package/lib/resources/tags.cjs +794 -6
- package/lib/resources/tags.d.cts +1 -1
- package/lib/resources/tags.d.ts +1 -1
- package/lib/resources/tags.js +794 -6
- package/lib/resources/talon_one_accounts.cjs +794 -6
- package/lib/resources/talon_one_accounts.d.cts +1 -1
- package/lib/resources/talon_one_accounts.d.ts +1 -1
- package/lib/resources/talon_one_accounts.js +794 -6
- package/lib/resources/tax_calculators.cjs +794 -6
- package/lib/resources/tax_calculators.d.cts +1 -1
- package/lib/resources/tax_calculators.d.ts +1 -1
- package/lib/resources/tax_calculators.js +794 -6
- package/lib/resources/tax_categories.cjs +794 -6
- package/lib/resources/tax_categories.d.cts +1 -1
- package/lib/resources/tax_categories.d.ts +1 -1
- package/lib/resources/tax_categories.js +794 -6
- package/lib/resources/tax_rules.cjs +794 -6
- package/lib/resources/tax_rules.d.cts +1 -1
- package/lib/resources/tax_rules.d.ts +1 -1
- package/lib/resources/tax_rules.js +794 -6
- package/lib/resources/taxjar_accounts.cjs +794 -6
- package/lib/resources/taxjar_accounts.d.cts +1 -1
- package/lib/resources/taxjar_accounts.d.ts +1 -1
- package/lib/resources/taxjar_accounts.js +794 -6
- package/lib/resources/transactions.cjs +794 -6
- package/lib/resources/transactions.d.cts +1 -1
- package/lib/resources/transactions.d.ts +1 -1
- package/lib/resources/transactions.js +794 -6
- package/lib/resources/versions.cjs +794 -6
- package/lib/resources/versions.d.cts +1 -1
- package/lib/resources/versions.d.ts +1 -1
- package/lib/resources/versions.js +794 -6
- package/lib/resources/vertex_accounts.cjs +794 -6
- package/lib/resources/vertex_accounts.d.cts +1 -1
- package/lib/resources/vertex_accounts.d.ts +1 -1
- package/lib/resources/vertex_accounts.js +794 -6
- package/lib/resources/voids.cjs +794 -6
- package/lib/resources/voids.d.cts +1 -1
- package/lib/resources/voids.d.ts +1 -1
- package/lib/resources/voids.js +794 -6
- package/lib/resources/webhooks.cjs +794 -6
- package/lib/resources/webhooks.d.cts +1 -1
- package/lib/resources/webhooks.d.ts +1 -1
- package/lib/resources/webhooks.js +794 -6
- package/lib/resources/wire_transfers.cjs +794 -6
- package/lib/resources/wire_transfers.d.cts +1 -1
- package/lib/resources/wire_transfers.d.ts +1 -1
- package/lib/resources/wire_transfers.js +794 -6
- package/lib/static.cjs +753 -20
- package/lib/static.d.cts +1 -1
- package/lib/static.d.ts +1 -1
- package/lib/static.js +739 -6
- package/lib/util.cjs +5 -6
- package/lib/util.js +5 -6
- package/package.json +1 -1
- package/lib/chunk-AQ5VUG5P.js +0 -12
- package/lib/chunk-JE77HYXB.cjs +0 -17
package/lib/common.cjs
CHANGED
@@ -1,15 +1,151 @@
|
|
1
1
|
'use strict';
|
2
2
|
|
3
|
-
|
4
|
-
var
|
3
|
+
// src/enum.ts
|
4
|
+
var apiResources = [
|
5
|
+
// ##__API_RESOURCE_LIST_START__##
|
6
|
+
"addresses",
|
7
|
+
"adjustments",
|
8
|
+
"adyen_gateways",
|
9
|
+
"adyen_payments",
|
10
|
+
"applications",
|
11
|
+
"attachments",
|
12
|
+
"authorizations",
|
13
|
+
"avalara_accounts",
|
14
|
+
"axerve_gateways",
|
15
|
+
"axerve_payments",
|
16
|
+
"bing_geocoders",
|
17
|
+
"braintree_gateways",
|
18
|
+
"braintree_payments",
|
19
|
+
"bundles",
|
20
|
+
"buy_x_pay_y_promotions",
|
21
|
+
"captures",
|
22
|
+
"carrier_accounts",
|
23
|
+
"checkout_com_gateways",
|
24
|
+
"checkout_com_payments",
|
25
|
+
"cleanups",
|
26
|
+
"coupon_codes_promotion_rules",
|
27
|
+
"coupon_recipients",
|
28
|
+
"coupons",
|
29
|
+
"custom_promotion_rules",
|
30
|
+
"customer_addresses",
|
31
|
+
"customer_groups",
|
32
|
+
"customer_password_resets",
|
33
|
+
"customer_payment_sources",
|
34
|
+
"customer_subscriptions",
|
35
|
+
"customers",
|
36
|
+
"delivery_lead_times",
|
37
|
+
"discount_engine_items",
|
38
|
+
"discount_engines",
|
39
|
+
"easypost_pickups",
|
40
|
+
"event_callbacks",
|
41
|
+
"events",
|
42
|
+
"exports",
|
43
|
+
"external_gateways",
|
44
|
+
"external_payments",
|
45
|
+
"external_promotions",
|
46
|
+
"external_tax_calculators",
|
47
|
+
"fixed_amount_promotions",
|
48
|
+
"fixed_price_promotions",
|
49
|
+
"flex_promotions",
|
50
|
+
"free_gift_promotions",
|
51
|
+
"free_shipping_promotions",
|
52
|
+
"geocoders",
|
53
|
+
"gift_card_recipients",
|
54
|
+
"gift_cards",
|
55
|
+
"google_geocoders",
|
56
|
+
"imports",
|
57
|
+
"in_stock_subscriptions",
|
58
|
+
"inventory_models",
|
59
|
+
"inventory_return_locations",
|
60
|
+
"inventory_stock_locations",
|
61
|
+
"klarna_gateways",
|
62
|
+
"klarna_payments",
|
63
|
+
"line_item_options",
|
64
|
+
"line_items",
|
65
|
+
"links",
|
66
|
+
"manual_gateways",
|
67
|
+
"manual_tax_calculators",
|
68
|
+
"markets",
|
69
|
+
"merchants",
|
70
|
+
"notifications",
|
71
|
+
"order_amount_promotion_rules",
|
72
|
+
"order_copies",
|
73
|
+
"order_factories",
|
74
|
+
"order_subscription_items",
|
75
|
+
"order_subscriptions",
|
76
|
+
"orders",
|
77
|
+
"organizations",
|
78
|
+
"packages",
|
79
|
+
"parcel_line_items",
|
80
|
+
"parcels",
|
81
|
+
"payment_gateways",
|
82
|
+
"payment_methods",
|
83
|
+
"payment_options",
|
84
|
+
"paypal_gateways",
|
85
|
+
"paypal_payments",
|
86
|
+
"percentage_discount_promotions",
|
87
|
+
"pickups",
|
88
|
+
"price_frequency_tiers",
|
89
|
+
"price_list_schedulers",
|
90
|
+
"price_lists",
|
91
|
+
"price_tiers",
|
92
|
+
"price_volume_tiers",
|
93
|
+
"prices",
|
94
|
+
"promotion_rules",
|
95
|
+
"promotions",
|
96
|
+
"recurring_order_copies",
|
97
|
+
"refunds",
|
98
|
+
"reserved_stocks",
|
99
|
+
"resource_errors",
|
100
|
+
"return_line_items",
|
101
|
+
"returns",
|
102
|
+
"satispay_gateways",
|
103
|
+
"satispay_payments",
|
104
|
+
"shipments",
|
105
|
+
"shipping_categories",
|
106
|
+
"shipping_method_tiers",
|
107
|
+
"shipping_methods",
|
108
|
+
"shipping_weight_tiers",
|
109
|
+
"shipping_zones",
|
110
|
+
"sku_list_items",
|
111
|
+
"sku_list_promotion_rules",
|
112
|
+
"sku_lists",
|
113
|
+
"sku_options",
|
114
|
+
"skus",
|
115
|
+
"stock_items",
|
116
|
+
"stock_line_items",
|
117
|
+
"stock_locations",
|
118
|
+
"stock_reservations",
|
119
|
+
"stock_transfers",
|
120
|
+
"stores",
|
121
|
+
"stripe_gateways",
|
122
|
+
"stripe_payments",
|
123
|
+
"stripe_tax_accounts",
|
124
|
+
"subscription_models",
|
125
|
+
"tags",
|
126
|
+
"talon_one_accounts",
|
127
|
+
"tax_calculators",
|
128
|
+
"tax_categories",
|
129
|
+
"tax_rules",
|
130
|
+
"taxjar_accounts",
|
131
|
+
"transactions",
|
132
|
+
"versions",
|
133
|
+
"vertex_accounts",
|
134
|
+
"voids",
|
135
|
+
"webhooks",
|
136
|
+
"wire_transfers"
|
137
|
+
// ##__API_RESOURCE_LIST_STOP__##
|
138
|
+
];
|
139
|
+
var resourceList = apiResources;
|
5
140
|
|
6
|
-
|
7
|
-
|
141
|
+
// src/common.ts
|
142
|
+
var isResourceId = (resource) => {
|
143
|
+
return resource?.type && resource.id && resourceList.includes(resource.type);
|
8
144
|
};
|
9
|
-
|
10
|
-
return resource && typeof resource.type !== "undefined" && resource.type &&
|
145
|
+
var isResourceType = (resource) => {
|
146
|
+
return resource && typeof resource.type !== "undefined" && resource.type && resourceList.includes(resource.type);
|
11
147
|
};
|
12
|
-
|
148
|
+
var DBG = {
|
13
149
|
verbose: false
|
14
150
|
};
|
15
151
|
|
package/lib/common.d.cts
CHANGED
package/lib/common.d.ts
CHANGED
package/lib/common.js
CHANGED
@@ -1,13 +1,149 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
// src/enum.ts
|
2
|
+
var apiResources = [
|
3
|
+
// ##__API_RESOURCE_LIST_START__##
|
4
|
+
"addresses",
|
5
|
+
"adjustments",
|
6
|
+
"adyen_gateways",
|
7
|
+
"adyen_payments",
|
8
|
+
"applications",
|
9
|
+
"attachments",
|
10
|
+
"authorizations",
|
11
|
+
"avalara_accounts",
|
12
|
+
"axerve_gateways",
|
13
|
+
"axerve_payments",
|
14
|
+
"bing_geocoders",
|
15
|
+
"braintree_gateways",
|
16
|
+
"braintree_payments",
|
17
|
+
"bundles",
|
18
|
+
"buy_x_pay_y_promotions",
|
19
|
+
"captures",
|
20
|
+
"carrier_accounts",
|
21
|
+
"checkout_com_gateways",
|
22
|
+
"checkout_com_payments",
|
23
|
+
"cleanups",
|
24
|
+
"coupon_codes_promotion_rules",
|
25
|
+
"coupon_recipients",
|
26
|
+
"coupons",
|
27
|
+
"custom_promotion_rules",
|
28
|
+
"customer_addresses",
|
29
|
+
"customer_groups",
|
30
|
+
"customer_password_resets",
|
31
|
+
"customer_payment_sources",
|
32
|
+
"customer_subscriptions",
|
33
|
+
"customers",
|
34
|
+
"delivery_lead_times",
|
35
|
+
"discount_engine_items",
|
36
|
+
"discount_engines",
|
37
|
+
"easypost_pickups",
|
38
|
+
"event_callbacks",
|
39
|
+
"events",
|
40
|
+
"exports",
|
41
|
+
"external_gateways",
|
42
|
+
"external_payments",
|
43
|
+
"external_promotions",
|
44
|
+
"external_tax_calculators",
|
45
|
+
"fixed_amount_promotions",
|
46
|
+
"fixed_price_promotions",
|
47
|
+
"flex_promotions",
|
48
|
+
"free_gift_promotions",
|
49
|
+
"free_shipping_promotions",
|
50
|
+
"geocoders",
|
51
|
+
"gift_card_recipients",
|
52
|
+
"gift_cards",
|
53
|
+
"google_geocoders",
|
54
|
+
"imports",
|
55
|
+
"in_stock_subscriptions",
|
56
|
+
"inventory_models",
|
57
|
+
"inventory_return_locations",
|
58
|
+
"inventory_stock_locations",
|
59
|
+
"klarna_gateways",
|
60
|
+
"klarna_payments",
|
61
|
+
"line_item_options",
|
62
|
+
"line_items",
|
63
|
+
"links",
|
64
|
+
"manual_gateways",
|
65
|
+
"manual_tax_calculators",
|
66
|
+
"markets",
|
67
|
+
"merchants",
|
68
|
+
"notifications",
|
69
|
+
"order_amount_promotion_rules",
|
70
|
+
"order_copies",
|
71
|
+
"order_factories",
|
72
|
+
"order_subscription_items",
|
73
|
+
"order_subscriptions",
|
74
|
+
"orders",
|
75
|
+
"organizations",
|
76
|
+
"packages",
|
77
|
+
"parcel_line_items",
|
78
|
+
"parcels",
|
79
|
+
"payment_gateways",
|
80
|
+
"payment_methods",
|
81
|
+
"payment_options",
|
82
|
+
"paypal_gateways",
|
83
|
+
"paypal_payments",
|
84
|
+
"percentage_discount_promotions",
|
85
|
+
"pickups",
|
86
|
+
"price_frequency_tiers",
|
87
|
+
"price_list_schedulers",
|
88
|
+
"price_lists",
|
89
|
+
"price_tiers",
|
90
|
+
"price_volume_tiers",
|
91
|
+
"prices",
|
92
|
+
"promotion_rules",
|
93
|
+
"promotions",
|
94
|
+
"recurring_order_copies",
|
95
|
+
"refunds",
|
96
|
+
"reserved_stocks",
|
97
|
+
"resource_errors",
|
98
|
+
"return_line_items",
|
99
|
+
"returns",
|
100
|
+
"satispay_gateways",
|
101
|
+
"satispay_payments",
|
102
|
+
"shipments",
|
103
|
+
"shipping_categories",
|
104
|
+
"shipping_method_tiers",
|
105
|
+
"shipping_methods",
|
106
|
+
"shipping_weight_tiers",
|
107
|
+
"shipping_zones",
|
108
|
+
"sku_list_items",
|
109
|
+
"sku_list_promotion_rules",
|
110
|
+
"sku_lists",
|
111
|
+
"sku_options",
|
112
|
+
"skus",
|
113
|
+
"stock_items",
|
114
|
+
"stock_line_items",
|
115
|
+
"stock_locations",
|
116
|
+
"stock_reservations",
|
117
|
+
"stock_transfers",
|
118
|
+
"stores",
|
119
|
+
"stripe_gateways",
|
120
|
+
"stripe_payments",
|
121
|
+
"stripe_tax_accounts",
|
122
|
+
"subscription_models",
|
123
|
+
"tags",
|
124
|
+
"talon_one_accounts",
|
125
|
+
"tax_calculators",
|
126
|
+
"tax_categories",
|
127
|
+
"tax_rules",
|
128
|
+
"taxjar_accounts",
|
129
|
+
"transactions",
|
130
|
+
"versions",
|
131
|
+
"vertex_accounts",
|
132
|
+
"voids",
|
133
|
+
"webhooks",
|
134
|
+
"wire_transfers"
|
135
|
+
// ##__API_RESOURCE_LIST_STOP__##
|
136
|
+
];
|
137
|
+
var resourceList = apiResources;
|
3
138
|
|
4
|
-
|
139
|
+
// src/common.ts
|
140
|
+
var isResourceId = (resource) => {
|
5
141
|
return resource?.type && resource.id && resourceList.includes(resource.type);
|
6
142
|
};
|
7
|
-
|
143
|
+
var isResourceType = (resource) => {
|
8
144
|
return resource && typeof resource.type !== "undefined" && resource.type && resourceList.includes(resource.type);
|
9
145
|
};
|
10
|
-
|
146
|
+
var DBG = {
|
11
147
|
verbose: false
|
12
148
|
};
|
13
149
|
|
package/lib/config.cjs
CHANGED
package/lib/config.js
CHANGED
package/lib/debug.cjs
CHANGED
@@ -1,17 +1,23 @@
|
|
1
1
|
'use strict';
|
2
2
|
|
3
|
-
require(
|
3
|
+
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
4
|
+
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
5
|
+
}) : x)(function(x) {
|
6
|
+
if (typeof require !== "undefined") return require.apply(this, arguments);
|
7
|
+
throw Error('Dynamic require of "' + x + '" is not supported');
|
8
|
+
});
|
4
9
|
|
5
|
-
|
10
|
+
// src/debug.ts
|
11
|
+
var debuggerFunction = (_pattern, ..._args) => {
|
6
12
|
};
|
7
|
-
|
13
|
+
var debuggerFactory = (_namespace) => debuggerFunction;
|
8
14
|
try {
|
9
|
-
const debugModule =
|
15
|
+
const debugModule = __require("debug");
|
10
16
|
if (debugModule && typeof debugModule === "function") debuggerFactory = debugModule;
|
11
17
|
} catch (error) {
|
12
18
|
}
|
13
|
-
|
14
|
-
|
19
|
+
var debugPrefix = "clsdk";
|
20
|
+
var debug = (namespace) => {
|
15
21
|
return debuggerFactory(`${debugPrefix}:${namespace}`);
|
16
22
|
};
|
17
23
|
var debug_default = debug;
|
package/lib/debug.js
CHANGED
@@ -1,15 +1,21 @@
|
|
1
|
-
|
1
|
+
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
2
|
+
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
3
|
+
}) : x)(function(x) {
|
4
|
+
if (typeof require !== "undefined") return require.apply(this, arguments);
|
5
|
+
throw Error('Dynamic require of "' + x + '" is not supported');
|
6
|
+
});
|
2
7
|
|
3
|
-
|
8
|
+
// src/debug.ts
|
9
|
+
var debuggerFunction = (_pattern, ..._args) => {
|
4
10
|
};
|
5
|
-
|
11
|
+
var debuggerFactory = (_namespace) => debuggerFunction;
|
6
12
|
try {
|
7
|
-
const debugModule =
|
13
|
+
const debugModule = __require("debug");
|
8
14
|
if (debugModule && typeof debugModule === "function") debuggerFactory = debugModule;
|
9
15
|
} catch (error) {
|
10
16
|
}
|
11
|
-
|
12
|
-
|
17
|
+
var debugPrefix = "clsdk";
|
18
|
+
var debug = (namespace) => {
|
13
19
|
return debuggerFactory(`${debugPrefix}:${namespace}`);
|
14
20
|
};
|
15
21
|
var debug_default = debug;
|
package/lib/enum.cjs
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
'use strict';
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
const apiResources = [
|
3
|
+
// src/enum.ts
|
4
|
+
var apiResources = [
|
6
5
|
// ##__API_RESOURCE_LIST_START__##
|
7
6
|
"addresses",
|
8
7
|
"adjustments",
|
@@ -137,14 +136,14 @@ const apiResources = [
|
|
137
136
|
"wire_transfers"
|
138
137
|
// ##__API_RESOURCE_LIST_STOP__##
|
139
138
|
];
|
140
|
-
|
141
|
-
|
139
|
+
var resourceList = apiResources;
|
140
|
+
var singletonList = [
|
142
141
|
// ##__API_RESOURCE_SINGLETON_START__##
|
143
142
|
"applications",
|
144
143
|
"organizations"
|
145
144
|
// ##__API_RESOURCE_SINGLETON_STOP__##
|
146
145
|
];
|
147
|
-
|
146
|
+
var creatableResources = [
|
148
147
|
// ##__API_RESOURCE_CREATABLE_START__##
|
149
148
|
"addresses",
|
150
149
|
"adjustments",
|
@@ -256,7 +255,7 @@ const creatableResources = [
|
|
256
255
|
"wire_transfers"
|
257
256
|
// ##__API_RESOURCE_CREATABLE_STOP__##
|
258
257
|
];
|
259
|
-
|
258
|
+
var updatableResources = [
|
260
259
|
// ##__API_RESOURCE_UPDATABLE_START__##
|
261
260
|
"addresses",
|
262
261
|
"adjustments",
|
@@ -373,7 +372,7 @@ const updatableResources = [
|
|
373
372
|
"wire_transfers"
|
374
373
|
// ##__API_RESOURCE_UPDATABLE_STOP__##
|
375
374
|
];
|
376
|
-
|
375
|
+
var deletableResources = [
|
377
376
|
// ##__API_RESOURCE_DELETABLE_START__##
|
378
377
|
"addresses",
|
379
378
|
"adjustments",
|
@@ -485,7 +484,7 @@ const deletableResources = [
|
|
485
484
|
"wire_transfers"
|
486
485
|
// ##__API_RESOURCE_DELETABLE_STOP__##
|
487
486
|
];
|
488
|
-
|
487
|
+
var taggableResources = [
|
489
488
|
// ##__API_RESOURCE_TAGGABLE_START__##
|
490
489
|
"addresses",
|
491
490
|
"bundles",
|
@@ -511,7 +510,7 @@ const taggableResources = [
|
|
511
510
|
"skus"
|
512
511
|
// ##__API_RESOURCE_TAGGABLE_STOP__##
|
513
512
|
];
|
514
|
-
|
513
|
+
var versionableResources = [
|
515
514
|
// ##__API_RESOURCE_VERSIONABLE_START__##
|
516
515
|
"addresses",
|
517
516
|
"adjustments",
|
package/lib/enum.d.cts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export {
|
1
|
+
export { x as CreatableResource, C as CreatableResourceType, z as DeletableResource, D as DeletableResourceType, w as ListableResource, v as ListableResourceType, lF as ResourceFields, lG as ResourceSortFields, s as ResourceTypeLock, u as RetrievableResource, t as RetrievableResourceType, A as TaggableResource, T as TaggableResourceType, y as UpdatableResource, U as UpdatableResourceType, B as VersionableResource, V as VersionableResourceType, ls as creatableResources, lu as deletableResources, lx as getResources, ly as getSingletons, lA as isCreatable, lC as isDeletable, lz as isSingleton, lD as isTaggable, lB as isUpdatable, lE as isVersionable, lq as resourceList, lr as singletonList, lv as taggableResources, lt as updatableResources, lw as versionableResources } from './api-CRmSToGa.cjs';
|
2
2
|
import './client.cjs';
|
3
3
|
import './interceptor-5MISI1yn.cjs';
|
4
4
|
import './types.cjs';
|
package/lib/enum.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export {
|
1
|
+
export { x as CreatableResource, C as CreatableResourceType, z as DeletableResource, D as DeletableResourceType, w as ListableResource, v as ListableResourceType, lF as ResourceFields, lG as ResourceSortFields, s as ResourceTypeLock, u as RetrievableResource, t as RetrievableResourceType, A as TaggableResource, T as TaggableResourceType, y as UpdatableResource, U as UpdatableResourceType, B as VersionableResource, V as VersionableResourceType, ls as creatableResources, lu as deletableResources, lx as getResources, ly as getSingletons, lA as isCreatable, lC as isDeletable, lz as isSingleton, lD as isTaggable, lB as isUpdatable, lE as isVersionable, lq as resourceList, lr as singletonList, lv as taggableResources, lt as updatableResources, lw as versionableResources } from './api-CUXmETkx.js';
|
2
2
|
import './client.js';
|
3
3
|
import './interceptor-5MISI1yn.js';
|
4
4
|
import './types.js';
|
package/lib/enum.js
CHANGED
@@ -1,6 +1,5 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
const apiResources = [
|
1
|
+
// src/enum.ts
|
2
|
+
var apiResources = [
|
4
3
|
// ##__API_RESOURCE_LIST_START__##
|
5
4
|
"addresses",
|
6
5
|
"adjustments",
|
@@ -135,14 +134,14 @@ const apiResources = [
|
|
135
134
|
"wire_transfers"
|
136
135
|
// ##__API_RESOURCE_LIST_STOP__##
|
137
136
|
];
|
138
|
-
|
139
|
-
|
137
|
+
var resourceList = apiResources;
|
138
|
+
var singletonList = [
|
140
139
|
// ##__API_RESOURCE_SINGLETON_START__##
|
141
140
|
"applications",
|
142
141
|
"organizations"
|
143
142
|
// ##__API_RESOURCE_SINGLETON_STOP__##
|
144
143
|
];
|
145
|
-
|
144
|
+
var creatableResources = [
|
146
145
|
// ##__API_RESOURCE_CREATABLE_START__##
|
147
146
|
"addresses",
|
148
147
|
"adjustments",
|
@@ -254,7 +253,7 @@ const creatableResources = [
|
|
254
253
|
"wire_transfers"
|
255
254
|
// ##__API_RESOURCE_CREATABLE_STOP__##
|
256
255
|
];
|
257
|
-
|
256
|
+
var updatableResources = [
|
258
257
|
// ##__API_RESOURCE_UPDATABLE_START__##
|
259
258
|
"addresses",
|
260
259
|
"adjustments",
|
@@ -371,7 +370,7 @@ const updatableResources = [
|
|
371
370
|
"wire_transfers"
|
372
371
|
// ##__API_RESOURCE_UPDATABLE_STOP__##
|
373
372
|
];
|
374
|
-
|
373
|
+
var deletableResources = [
|
375
374
|
// ##__API_RESOURCE_DELETABLE_START__##
|
376
375
|
"addresses",
|
377
376
|
"adjustments",
|
@@ -483,7 +482,7 @@ const deletableResources = [
|
|
483
482
|
"wire_transfers"
|
484
483
|
// ##__API_RESOURCE_DELETABLE_STOP__##
|
485
484
|
];
|
486
|
-
|
485
|
+
var taggableResources = [
|
487
486
|
// ##__API_RESOURCE_TAGGABLE_START__##
|
488
487
|
"addresses",
|
489
488
|
"bundles",
|
@@ -509,7 +508,7 @@ const taggableResources = [
|
|
509
508
|
"skus"
|
510
509
|
// ##__API_RESOURCE_TAGGABLE_STOP__##
|
511
510
|
];
|
512
|
-
|
511
|
+
var versionableResources = [
|
513
512
|
// ##__API_RESOURCE_VERSIONABLE_START__##
|
514
513
|
"addresses",
|
515
514
|
"adjustments",
|