@commercelayer/sdk 8.0.0-beta.5 → 8.0.0-beta.6
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-Cn4znEVC.d.ts → api-DB1n06hG.d.ts} +12 -7
- package/lib/{api-1MadbJ5r.d.cts → api-DFBhmbb1.d.cts} +12 -7
- package/lib/api.cjs +8 -8
- package/lib/api.d.cts +1 -1
- package/lib/api.d.ts +1 -1
- package/lib/api.js +4 -4
- package/lib/bundle.cjs +10 -10
- package/lib/bundle.d.cts +1 -1
- package/lib/bundle.d.ts +1 -1
- package/lib/bundle.js +5 -5
- package/lib/{chunk-FAX5NCHT.cjs → chunk-47OW2LZH.cjs} +4 -4
- package/lib/{chunk-FAX5NCHT.cjs.map → chunk-47OW2LZH.cjs.map} +1 -1
- package/lib/{chunk-HWCQ4G5Z.js → chunk-7GP6774Q.js} +3 -3
- package/lib/{chunk-HWCQ4G5Z.js.map → chunk-7GP6774Q.js.map} +1 -1
- package/lib/{chunk-DHGTIF6A.cjs → chunk-BRWPB33S.cjs} +2 -2
- package/lib/chunk-BRWPB33S.cjs.map +1 -0
- package/lib/{chunk-I4EPVSJX.js → chunk-IUGXRDL5.js} +3 -3
- package/lib/{chunk-I4EPVSJX.js.map → chunk-IUGXRDL5.js.map} +1 -1
- package/lib/{chunk-7LKA7FXN.js → chunk-NV364EJH.js} +2 -2
- package/lib/chunk-NV364EJH.js.map +1 -0
- package/lib/{chunk-A77RAUIU.cjs → chunk-O3UJT5JJ.cjs} +2 -2
- package/lib/chunk-O3UJT5JJ.cjs.map +1 -0
- package/lib/{chunk-QIN5DNKJ.cjs → chunk-OF4M6NEX.cjs} +2 -2
- package/lib/chunk-OF4M6NEX.cjs.map +1 -0
- package/lib/{chunk-WKIAJGJO.js → chunk-RDXEF27B.js} +2 -2
- package/lib/chunk-RDXEF27B.js.map +1 -0
- package/lib/{chunk-CSCAHLQ3.cjs → chunk-TGINKJDS.cjs} +2 -2
- package/lib/chunk-TGINKJDS.cjs.map +1 -0
- package/lib/{chunk-FWBO3MH4.js → chunk-UFW7KJWK.js} +2 -2
- package/lib/chunk-UFW7KJWK.js.map +1 -0
- package/lib/{chunk-KUJFQHAN.js → chunk-Y35I6KPP.js} +2 -2
- package/lib/chunk-Y35I6KPP.js.map +1 -0
- package/lib/{chunk-I7LHMPOY.cjs → chunk-YEMLHMYR.cjs} +3 -3
- package/lib/{chunk-I7LHMPOY.cjs.map → chunk-YEMLHMYR.cjs.map} +1 -1
- 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 +13 -13
- package/lib/index.d.cts +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +6 -6
- 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.cjs +2 -2
- package/lib/resources/adyen_payments.d.cts +2 -2
- package/lib/resources/adyen_payments.d.ts +1 -1
- package/lib/resources/adyen_payments.js +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.cjs +2 -2
- package/lib/resources/exports.d.cts +2 -2
- package/lib/resources/exports.d.ts +1 -1
- package/lib/resources/exports.js +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.d.cts +2 -2
- package/lib/resources/flex_promotions.d.ts +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.cjs +2 -2
- package/lib/resources/imports.d.cts +2 -2
- package/lib/resources/imports.d.ts +1 -1
- package/lib/resources/imports.js +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.d.cts +2 -2
- package/lib/resources/orders.d.ts +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.d.cts +2 -2
- package/lib/resources/price_lists.d.ts +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.d.cts +2 -2
- package/lib/resources/prices.d.ts +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.d.cts +2 -2
- package/lib/resources/shipments.d.ts +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.d.cts +2 -2
- package/lib/resources/skus.d.ts +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/vertex_accounts.cjs +2 -2
- package/lib/resources/vertex_accounts.d.cts +2 -2
- package/lib/resources/vertex_accounts.d.ts +1 -1
- package/lib/resources/vertex_accounts.js +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 +2 -2
- package/lib/chunk-7LKA7FXN.js.map +0 -1
- package/lib/chunk-A77RAUIU.cjs.map +0 -1
- package/lib/chunk-CSCAHLQ3.cjs.map +0 -1
- package/lib/chunk-DHGTIF6A.cjs.map +0 -1
- package/lib/chunk-FWBO3MH4.js.map +0 -1
- package/lib/chunk-KUJFQHAN.js.map +0 -1
- package/lib/chunk-QIN5DNKJ.cjs.map +0 -1
- package/lib/chunk-WKIAJGJO.js.map +0 -1
|
@@ -12083,7 +12083,7 @@ interface VertexAccount extends Resource {
|
|
|
12083
12083
|
*/
|
|
12084
12084
|
name: string;
|
|
12085
12085
|
/**
|
|
12086
|
-
* The Vertex account kind. One of 'cloud', 'on_demand', or 'on_premise'.
|
|
12086
|
+
* The Vertex account kind. One of 'cloud' (default), 'on_demand', or 'on_premise'.
|
|
12087
12087
|
* @example ```"cloud"```
|
|
12088
12088
|
*/
|
|
12089
12089
|
kind?: 'cloud' | 'on_demand' | 'on_premise' | null;
|
|
@@ -12119,7 +12119,7 @@ interface VertexAccountCreate extends ResourceCreate {
|
|
|
12119
12119
|
*/
|
|
12120
12120
|
name: string;
|
|
12121
12121
|
/**
|
|
12122
|
-
* The Vertex account kind. One of 'cloud', 'on_demand', or 'on_premise'.
|
|
12122
|
+
* The Vertex account kind. One of 'cloud' (default), 'on_demand', or 'on_premise'.
|
|
12123
12123
|
* @example ```"cloud"```
|
|
12124
12124
|
*/
|
|
12125
12125
|
kind?: 'cloud' | 'on_demand' | 'on_premise' | null;
|
|
@@ -12151,7 +12151,7 @@ interface VertexAccountUpdate extends ResourceUpdate {
|
|
|
12151
12151
|
*/
|
|
12152
12152
|
name?: string | null;
|
|
12153
12153
|
/**
|
|
12154
|
-
* The Vertex account kind. One of 'cloud', 'on_demand', or 'on_premise'.
|
|
12154
|
+
* The Vertex account kind. One of 'cloud' (default), 'on_demand', or 'on_premise'.
|
|
12155
12155
|
* @example ```"cloud"```
|
|
12156
12156
|
*/
|
|
12157
12157
|
kind?: 'cloud' | 'on_demand' | 'on_premise' | null;
|
|
@@ -14720,6 +14720,11 @@ interface AdyenPayment extends Resource {
|
|
|
14720
14720
|
* @example ```"2018-01-02T12:00:00.000Z"```
|
|
14721
14721
|
*/
|
|
14722
14722
|
expires_at?: string | null;
|
|
14723
|
+
/**
|
|
14724
|
+
* The date/time when the Adyen order was closed, meaning all partial payments have been completed (valid for partial payments only).
|
|
14725
|
+
* @example ```"2018-01-02T12:00:00.000Z"```
|
|
14726
|
+
*/
|
|
14727
|
+
closed_at?: string | null;
|
|
14723
14728
|
/**
|
|
14724
14729
|
* Information about the payment instrument used in the transaction.
|
|
14725
14730
|
* @example ```{"issuer":"cl bank","card_type":"visa"}```
|
|
@@ -15867,7 +15872,7 @@ interface Export extends Resource {
|
|
|
15867
15872
|
*/
|
|
15868
15873
|
resource_type: 'applications' | 'event_stores' | 'organizations' | 'addresses' | 'geocoders' | 'events' | 'tags' | 'adjustments' | 'price_lists' | 'payment_gateways' | 'payment_methods' | 'markets' | 'customer_groups' | 'line_items' | 'discount_engine_items' | 'promotions' | 'adyen_payments' | 'orders' | 'transactions' | 'order_factories' | 'attachments' | 'tax_calculators' | 'tax_categories' | 'skus' | 'shipping_categories' | 'axerve_payments' | 'order_validation_rules' | 'braintree_payments' | 'bundles' | 'sku_lists' | 'sku_list_items' | 'stock_items' | 'stock_locations' | 'promotion_rules' | 'coupons' | 'returns' | 'carrier_accounts' | 'checkout_com_payments' | 'customers' | 'customer_addresses' | 'customer_payment_sources' | 'customer_subscriptions' | 'order_subscriptions' | 'customer_password_resets' | 'delivery_lead_times' | 'shipping_methods' | 'shipments' | 'discount_engines' | 'pickups' | 'parcels' | 'webhooks' | 'event_callbacks' | 'external_payments' | 'gift_cards' | 'in_stock_subscriptions' | 'inventory_models' | 'inventory_stock_locations' | 'inventory_return_locations' | 'klarna_payments' | 'line_item_options' | 'return_line_items' | 'stock_line_items' | 'stock_reservations' | 'stock_transfers' | 'notifications' | 'sku_options' | 'links' | 'tax_rules' | 'merchants' | 'subscription_models' | 'stores' | 'price_list_schedulers' | 'order_subscription_items' | 'payment_options' | 'resource_errors' | 'paypal_payments' | 'packages' | 'parcel_line_items' | 'prices' | 'price_tiers' | 'reserved_stocks' | 'satispay_payments' | 'shipping_method_tiers' | 'shipping_zones' | 'stripe_payments' | 'wire_transfers';
|
|
15869
15874
|
/**
|
|
15870
|
-
* The format of the export
|
|
15875
|
+
* The format of the export. One of 'csv', or 'json' (default).
|
|
15871
15876
|
* @example ```"json"```
|
|
15872
15877
|
*/
|
|
15873
15878
|
format?: 'csv' | 'json' | null;
|
|
@@ -15955,7 +15960,7 @@ interface ExportCreate extends ResourceCreate {
|
|
|
15955
15960
|
*/
|
|
15956
15961
|
resource_type: 'applications' | 'event_stores' | 'organizations' | 'addresses' | 'geocoders' | 'events' | 'tags' | 'adjustments' | 'price_lists' | 'payment_gateways' | 'payment_methods' | 'markets' | 'customer_groups' | 'line_items' | 'discount_engine_items' | 'promotions' | 'adyen_payments' | 'orders' | 'transactions' | 'order_factories' | 'attachments' | 'tax_calculators' | 'tax_categories' | 'skus' | 'shipping_categories' | 'axerve_payments' | 'order_validation_rules' | 'braintree_payments' | 'bundles' | 'sku_lists' | 'sku_list_items' | 'stock_items' | 'stock_locations' | 'promotion_rules' | 'coupons' | 'returns' | 'carrier_accounts' | 'checkout_com_payments' | 'customers' | 'customer_addresses' | 'customer_payment_sources' | 'customer_subscriptions' | 'order_subscriptions' | 'customer_password_resets' | 'delivery_lead_times' | 'shipping_methods' | 'shipments' | 'discount_engines' | 'pickups' | 'parcels' | 'webhooks' | 'event_callbacks' | 'external_payments' | 'gift_cards' | 'in_stock_subscriptions' | 'inventory_models' | 'inventory_stock_locations' | 'inventory_return_locations' | 'klarna_payments' | 'line_item_options' | 'return_line_items' | 'stock_line_items' | 'stock_reservations' | 'stock_transfers' | 'notifications' | 'sku_options' | 'links' | 'tax_rules' | 'merchants' | 'subscription_models' | 'stores' | 'price_list_schedulers' | 'order_subscription_items' | 'payment_options' | 'resource_errors' | 'paypal_payments' | 'packages' | 'parcel_line_items' | 'prices' | 'price_tiers' | 'reserved_stocks' | 'satispay_payments' | 'shipping_method_tiers' | 'shipping_zones' | 'stripe_payments' | 'wire_transfers';
|
|
15957
15962
|
/**
|
|
15958
|
-
* The format of the export
|
|
15963
|
+
* The format of the export. One of 'csv', or 'json' (default).
|
|
15959
15964
|
* @example ```"json"```
|
|
15960
15965
|
*/
|
|
15961
15966
|
format?: 'csv' | 'json' | null;
|
|
@@ -16285,7 +16290,7 @@ interface Import extends Resource {
|
|
|
16285
16290
|
*/
|
|
16286
16291
|
resource_type: 'addresses' | 'tags' | 'price_lists' | 'line_items' | 'orders' | 'tax_categories' | 'skus' | 'shipping_categories' | 'bundles' | 'sku_lists' | 'sku_list_items' | 'stock_items' | 'stock_locations' | 'coupons' | 'customers' | 'customer_addresses' | 'customer_payment_sources' | 'customer_subscriptions' | 'gift_cards' | 'line_item_options' | 'stock_transfers' | 'sku_options' | 'prices' | 'price_tiers';
|
|
16287
16292
|
/**
|
|
16288
|
-
* The format of the import
|
|
16293
|
+
* The format of the import. One of 'csv', or 'json' (default).
|
|
16289
16294
|
* @example ```"json"```
|
|
16290
16295
|
*/
|
|
16291
16296
|
format?: 'csv' | 'json' | null;
|
|
@@ -16369,7 +16374,7 @@ interface ImportCreate extends ResourceCreate {
|
|
|
16369
16374
|
*/
|
|
16370
16375
|
resource_type: 'addresses' | 'tags' | 'price_lists' | 'line_items' | 'orders' | 'tax_categories' | 'skus' | 'shipping_categories' | 'bundles' | 'sku_lists' | 'sku_list_items' | 'stock_items' | 'stock_locations' | 'coupons' | 'customers' | 'customer_addresses' | 'customer_payment_sources' | 'customer_subscriptions' | 'gift_cards' | 'line_item_options' | 'stock_transfers' | 'sku_options' | 'prices' | 'price_tiers';
|
|
16371
16376
|
/**
|
|
16372
|
-
* The format of the import
|
|
16377
|
+
* The format of the import. One of 'csv', or 'json' (default).
|
|
16373
16378
|
* @example ```"json"```
|
|
16374
16379
|
*/
|
|
16375
16380
|
format?: 'csv' | 'json' | null;
|
|
@@ -12083,7 +12083,7 @@ interface VertexAccount extends Resource {
|
|
|
12083
12083
|
*/
|
|
12084
12084
|
name: string;
|
|
12085
12085
|
/**
|
|
12086
|
-
* The Vertex account kind. One of 'cloud', 'on_demand', or 'on_premise'.
|
|
12086
|
+
* The Vertex account kind. One of 'cloud' (default), 'on_demand', or 'on_premise'.
|
|
12087
12087
|
* @example ```"cloud"```
|
|
12088
12088
|
*/
|
|
12089
12089
|
kind?: 'cloud' | 'on_demand' | 'on_premise' | null;
|
|
@@ -12119,7 +12119,7 @@ interface VertexAccountCreate extends ResourceCreate {
|
|
|
12119
12119
|
*/
|
|
12120
12120
|
name: string;
|
|
12121
12121
|
/**
|
|
12122
|
-
* The Vertex account kind. One of 'cloud', 'on_demand', or 'on_premise'.
|
|
12122
|
+
* The Vertex account kind. One of 'cloud' (default), 'on_demand', or 'on_premise'.
|
|
12123
12123
|
* @example ```"cloud"```
|
|
12124
12124
|
*/
|
|
12125
12125
|
kind?: 'cloud' | 'on_demand' | 'on_premise' | null;
|
|
@@ -12151,7 +12151,7 @@ interface VertexAccountUpdate extends ResourceUpdate {
|
|
|
12151
12151
|
*/
|
|
12152
12152
|
name?: string | null;
|
|
12153
12153
|
/**
|
|
12154
|
-
* The Vertex account kind. One of 'cloud', 'on_demand', or 'on_premise'.
|
|
12154
|
+
* The Vertex account kind. One of 'cloud' (default), 'on_demand', or 'on_premise'.
|
|
12155
12155
|
* @example ```"cloud"```
|
|
12156
12156
|
*/
|
|
12157
12157
|
kind?: 'cloud' | 'on_demand' | 'on_premise' | null;
|
|
@@ -14720,6 +14720,11 @@ interface AdyenPayment extends Resource {
|
|
|
14720
14720
|
* @example ```"2018-01-02T12:00:00.000Z"```
|
|
14721
14721
|
*/
|
|
14722
14722
|
expires_at?: string | null;
|
|
14723
|
+
/**
|
|
14724
|
+
* The date/time when the Adyen order was closed, meaning all partial payments have been completed (valid for partial payments only).
|
|
14725
|
+
* @example ```"2018-01-02T12:00:00.000Z"```
|
|
14726
|
+
*/
|
|
14727
|
+
closed_at?: string | null;
|
|
14723
14728
|
/**
|
|
14724
14729
|
* Information about the payment instrument used in the transaction.
|
|
14725
14730
|
* @example ```{"issuer":"cl bank","card_type":"visa"}```
|
|
@@ -15867,7 +15872,7 @@ interface Export extends Resource {
|
|
|
15867
15872
|
*/
|
|
15868
15873
|
resource_type: 'applications' | 'event_stores' | 'organizations' | 'addresses' | 'geocoders' | 'events' | 'tags' | 'adjustments' | 'price_lists' | 'payment_gateways' | 'payment_methods' | 'markets' | 'customer_groups' | 'line_items' | 'discount_engine_items' | 'promotions' | 'adyen_payments' | 'orders' | 'transactions' | 'order_factories' | 'attachments' | 'tax_calculators' | 'tax_categories' | 'skus' | 'shipping_categories' | 'axerve_payments' | 'order_validation_rules' | 'braintree_payments' | 'bundles' | 'sku_lists' | 'sku_list_items' | 'stock_items' | 'stock_locations' | 'promotion_rules' | 'coupons' | 'returns' | 'carrier_accounts' | 'checkout_com_payments' | 'customers' | 'customer_addresses' | 'customer_payment_sources' | 'customer_subscriptions' | 'order_subscriptions' | 'customer_password_resets' | 'delivery_lead_times' | 'shipping_methods' | 'shipments' | 'discount_engines' | 'pickups' | 'parcels' | 'webhooks' | 'event_callbacks' | 'external_payments' | 'gift_cards' | 'in_stock_subscriptions' | 'inventory_models' | 'inventory_stock_locations' | 'inventory_return_locations' | 'klarna_payments' | 'line_item_options' | 'return_line_items' | 'stock_line_items' | 'stock_reservations' | 'stock_transfers' | 'notifications' | 'sku_options' | 'links' | 'tax_rules' | 'merchants' | 'subscription_models' | 'stores' | 'price_list_schedulers' | 'order_subscription_items' | 'payment_options' | 'resource_errors' | 'paypal_payments' | 'packages' | 'parcel_line_items' | 'prices' | 'price_tiers' | 'reserved_stocks' | 'satispay_payments' | 'shipping_method_tiers' | 'shipping_zones' | 'stripe_payments' | 'wire_transfers';
|
|
15869
15874
|
/**
|
|
15870
|
-
* The format of the export
|
|
15875
|
+
* The format of the export. One of 'csv', or 'json' (default).
|
|
15871
15876
|
* @example ```"json"```
|
|
15872
15877
|
*/
|
|
15873
15878
|
format?: 'csv' | 'json' | null;
|
|
@@ -15955,7 +15960,7 @@ interface ExportCreate extends ResourceCreate {
|
|
|
15955
15960
|
*/
|
|
15956
15961
|
resource_type: 'applications' | 'event_stores' | 'organizations' | 'addresses' | 'geocoders' | 'events' | 'tags' | 'adjustments' | 'price_lists' | 'payment_gateways' | 'payment_methods' | 'markets' | 'customer_groups' | 'line_items' | 'discount_engine_items' | 'promotions' | 'adyen_payments' | 'orders' | 'transactions' | 'order_factories' | 'attachments' | 'tax_calculators' | 'tax_categories' | 'skus' | 'shipping_categories' | 'axerve_payments' | 'order_validation_rules' | 'braintree_payments' | 'bundles' | 'sku_lists' | 'sku_list_items' | 'stock_items' | 'stock_locations' | 'promotion_rules' | 'coupons' | 'returns' | 'carrier_accounts' | 'checkout_com_payments' | 'customers' | 'customer_addresses' | 'customer_payment_sources' | 'customer_subscriptions' | 'order_subscriptions' | 'customer_password_resets' | 'delivery_lead_times' | 'shipping_methods' | 'shipments' | 'discount_engines' | 'pickups' | 'parcels' | 'webhooks' | 'event_callbacks' | 'external_payments' | 'gift_cards' | 'in_stock_subscriptions' | 'inventory_models' | 'inventory_stock_locations' | 'inventory_return_locations' | 'klarna_payments' | 'line_item_options' | 'return_line_items' | 'stock_line_items' | 'stock_reservations' | 'stock_transfers' | 'notifications' | 'sku_options' | 'links' | 'tax_rules' | 'merchants' | 'subscription_models' | 'stores' | 'price_list_schedulers' | 'order_subscription_items' | 'payment_options' | 'resource_errors' | 'paypal_payments' | 'packages' | 'parcel_line_items' | 'prices' | 'price_tiers' | 'reserved_stocks' | 'satispay_payments' | 'shipping_method_tiers' | 'shipping_zones' | 'stripe_payments' | 'wire_transfers';
|
|
15957
15962
|
/**
|
|
15958
|
-
* The format of the export
|
|
15963
|
+
* The format of the export. One of 'csv', or 'json' (default).
|
|
15959
15964
|
* @example ```"json"```
|
|
15960
15965
|
*/
|
|
15961
15966
|
format?: 'csv' | 'json' | null;
|
|
@@ -16285,7 +16290,7 @@ interface Import extends Resource {
|
|
|
16285
16290
|
*/
|
|
16286
16291
|
resource_type: 'addresses' | 'tags' | 'price_lists' | 'line_items' | 'orders' | 'tax_categories' | 'skus' | 'shipping_categories' | 'bundles' | 'sku_lists' | 'sku_list_items' | 'stock_items' | 'stock_locations' | 'coupons' | 'customers' | 'customer_addresses' | 'customer_payment_sources' | 'customer_subscriptions' | 'gift_cards' | 'line_item_options' | 'stock_transfers' | 'sku_options' | 'prices' | 'price_tiers';
|
|
16287
16292
|
/**
|
|
16288
|
-
* The format of the import
|
|
16293
|
+
* The format of the import. One of 'csv', or 'json' (default).
|
|
16289
16294
|
* @example ```"json"```
|
|
16290
16295
|
*/
|
|
16291
16296
|
format?: 'csv' | 'json' | null;
|
|
@@ -16369,7 +16374,7 @@ interface ImportCreate extends ResourceCreate {
|
|
|
16369
16374
|
*/
|
|
16370
16375
|
resource_type: 'addresses' | 'tags' | 'price_lists' | 'line_items' | 'orders' | 'tax_categories' | 'skus' | 'shipping_categories' | 'bundles' | 'sku_lists' | 'sku_list_items' | 'stock_items' | 'stock_locations' | 'coupons' | 'customers' | 'customer_addresses' | 'customer_payment_sources' | 'customer_subscriptions' | 'gift_cards' | 'line_item_options' | 'stock_transfers' | 'sku_options' | 'prices' | 'price_tiers';
|
|
16371
16376
|
/**
|
|
16372
|
-
* The format of the import
|
|
16377
|
+
* The format of the import. One of 'csv', or 'json' (default).
|
|
16373
16378
|
* @example ```"json"```
|
|
16374
16379
|
*/
|
|
16375
16380
|
format?: 'csv' | 'json' | null;
|
package/lib/api.cjs
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
require('./chunk-5YMHXTJG.cjs');
|
|
4
4
|
var chunkUL4JQZUD_cjs = require('./chunk-UL4JQZUD.cjs');
|
|
5
|
-
var
|
|
5
|
+
var chunkO3UJT5JJ_cjs = require('./chunk-O3UJT5JJ.cjs');
|
|
6
6
|
var chunkTUKV2ZIA_cjs = require('./chunk-TUKV2ZIA.cjs');
|
|
7
7
|
var chunk5TLVMKOO_cjs = require('./chunk-5TLVMKOO.cjs');
|
|
8
8
|
var chunkATK6TFVA_cjs = require('./chunk-ATK6TFVA.cjs');
|
|
@@ -83,7 +83,7 @@ var chunkMHNJALUB_cjs = require('./chunk-MHNJALUB.cjs');
|
|
|
83
83
|
var chunkH6K62JGC_cjs = require('./chunk-H6K62JGC.cjs');
|
|
84
84
|
var chunkP5EEPVZA_cjs = require('./chunk-P5EEPVZA.cjs');
|
|
85
85
|
var chunkM7SVKQ7R_cjs = require('./chunk-M7SVKQ7R.cjs');
|
|
86
|
-
var
|
|
86
|
+
var chunkOF4M6NEX_cjs = require('./chunk-OF4M6NEX.cjs');
|
|
87
87
|
var chunk4E5BE47D_cjs = require('./chunk-4E5BE47D.cjs');
|
|
88
88
|
var chunkRKD7U6QH_cjs = require('./chunk-RKD7U6QH.cjs');
|
|
89
89
|
var chunkCQXW23HJ_cjs = require('./chunk-CQXW23HJ.cjs');
|
|
@@ -101,7 +101,7 @@ var chunk3PAID2YG_cjs = require('./chunk-3PAID2YG.cjs');
|
|
|
101
101
|
var chunkCJPAOOG5_cjs = require('./chunk-CJPAOOG5.cjs');
|
|
102
102
|
var chunkYNWHCH2N_cjs = require('./chunk-YNWHCH2N.cjs');
|
|
103
103
|
var chunkINBIEH6H_cjs = require('./chunk-INBIEH6H.cjs');
|
|
104
|
-
var
|
|
104
|
+
var chunkTGINKJDS_cjs = require('./chunk-TGINKJDS.cjs');
|
|
105
105
|
var chunk2VI6OWLV_cjs = require('./chunk-2VI6OWLV.cjs');
|
|
106
106
|
var chunkZJE7A6E6_cjs = require('./chunk-ZJE7A6E6.cjs');
|
|
107
107
|
var chunkYYAEAKBO_cjs = require('./chunk-YYAEAKBO.cjs');
|
|
@@ -129,7 +129,7 @@ var chunk7ZBEKCA5_cjs = require('./chunk-7ZBEKCA5.cjs');
|
|
|
129
129
|
var chunkT2DEYIX6_cjs = require('./chunk-T2DEYIX6.cjs');
|
|
130
130
|
var chunkIYQFTOVG_cjs = require('./chunk-IYQFTOVG.cjs');
|
|
131
131
|
var chunkJE3P5NJP_cjs = require('./chunk-JE3P5NJP.cjs');
|
|
132
|
-
var
|
|
132
|
+
var chunkBRWPB33S_cjs = require('./chunk-BRWPB33S.cjs');
|
|
133
133
|
var chunkSGXMH2JP_cjs = require('./chunk-SGXMH2JP.cjs');
|
|
134
134
|
var chunkLHESCZ5L_cjs = require('./chunk-LHESCZ5L.cjs');
|
|
135
135
|
require('./chunk-L7FT6NDZ.cjs');
|
|
@@ -150,7 +150,7 @@ Object.defineProperty(exports, "transactions", {
|
|
|
150
150
|
});
|
|
151
151
|
Object.defineProperty(exports, "vertex_accounts", {
|
|
152
152
|
enumerable: true,
|
|
153
|
-
get: function () { return
|
|
153
|
+
get: function () { return chunkO3UJT5JJ_cjs.vertex_accounts_default; }
|
|
154
154
|
});
|
|
155
155
|
Object.defineProperty(exports, "voids", {
|
|
156
156
|
enumerable: true,
|
|
@@ -474,7 +474,7 @@ Object.defineProperty(exports, "google_geocoders", {
|
|
|
474
474
|
});
|
|
475
475
|
Object.defineProperty(exports, "imports", {
|
|
476
476
|
enumerable: true,
|
|
477
|
-
get: function () { return
|
|
477
|
+
get: function () { return chunkOF4M6NEX_cjs.imports_default; }
|
|
478
478
|
});
|
|
479
479
|
Object.defineProperty(exports, "in_stock_subscriptions", {
|
|
480
480
|
enumerable: true,
|
|
@@ -546,7 +546,7 @@ Object.defineProperty(exports, "events", {
|
|
|
546
546
|
});
|
|
547
547
|
Object.defineProperty(exports, "exports", {
|
|
548
548
|
enumerable: true,
|
|
549
|
-
get: function () { return
|
|
549
|
+
get: function () { return chunkTGINKJDS_cjs.exports_default; }
|
|
550
550
|
});
|
|
551
551
|
Object.defineProperty(exports, "coupons", {
|
|
552
552
|
enumerable: true,
|
|
@@ -658,7 +658,7 @@ Object.defineProperty(exports, "adyen_gateways", {
|
|
|
658
658
|
});
|
|
659
659
|
Object.defineProperty(exports, "adyen_payments", {
|
|
660
660
|
enumerable: true,
|
|
661
|
-
get: function () { return
|
|
661
|
+
get: function () { return chunkBRWPB33S_cjs.adyen_payments_default; }
|
|
662
662
|
});
|
|
663
663
|
Object.defineProperty(exports, "application", {
|
|
664
664
|
enumerable: true,
|
package/lib/api.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { e as Addresses, k as Adjustments, q as AdyenGateways, w as AdyenPayments, E as Applications, K as Attachments, P as Authorizations, V as AvalaraAccounts, $ as AxerveGateways, a5 as AxervePayments, ab as BingGeocoders, ah as BraintreeGateways, an as BraintreePayments, at as Bundles, az as BuyXPayYPromotions, aE as Captures, aK as CarrierAccounts, aQ as CheckoutComGateways, aW as CheckoutComPayments, b0 as Cleanups, b7 as CouponCodesPromotionRules, be as CouponRecipients, bi as Coupons, bq as CustomPromotionRules, bx as CustomerAddresses, bE as CustomerGroups, bK as CustomerPasswordResets, bQ as CustomerPaymentSources, bX as CustomerSubscriptions, b_ as Customers, c6 as DeliveryLeadTimes, cb as DiscountEngineItems, ce as DiscountEngines, ck as EasypostPickups, cp as EventCallbacks, cu as EventStores, cx as Events, cD as Exports, cJ as ExternalGateways, cP as ExternalPayments, cV as ExternalPromotions, c$ as ExternalTaxCalculators, d5 as FixedAmountPromotions, db as FixedPricePromotions, dh as FlexPromotions, dn as FreeGiftPromotions, du as FreeShippingPromotions, dy as Geocoders, dG as GiftCardRecipients, dK as GiftCards, dQ as GoogleGeocoders, dW as Imports, e0 as InStockSubscriptions, e6 as InventoryModels, ec as InventoryReturnLocations, ei as InventoryStockLocations, eo as KlarnaGateways, eu as KlarnaPayments, eC as LineItemOptions, eG as LineItems, eM as Links, eW as ManualGateways, f0 as ManualTaxCalculators, f6 as Markets, fc as Merchants, fj as Notifications, fq as OrderAmountPromotionRules, fr as OrderCopies, fy as OrderFactories, fK as OrderSubscriptionItems, fO as OrderSubscriptions, fR as Orders, fV as Organizations, f$ as Packages, g7 as ParcelLineItems, gb as Parcels, gf as PaymentGateways, gl as PaymentMethods, gr as PaymentOptions, gx as PaypalGateways, gD as PaypalPayments, gJ as PercentageDiscountPromotions, gN as Pickups, gV as PriceFrequencyTiers, h1 as PriceListSchedulers, h5 as PriceLists, ha as PriceTiers, hi as PriceVolumeTiers, hj as Prices, ho as PromotionRules, hr as Promotions, hB as RecurringOrderCopies, hL as Refunds, hP as ReservedStocks, hW as ResourceErrors, ig as ReturnLineItems, ik as Returns, ir as SatispayGateways, ix as SatispayPayments, iD as Shipments, iE as ShippingCategories, iQ as ShippingMethodTiers, iT as ShippingMethods, iZ as ShippingWeightTiers, j3 as ShippingZones, jd as SkuListItems, jj as SkuListPromotionRules, jn as SkuLists, jt as SkuOptions, jx as Skus, jD as StockItems, jJ as StockLineItems, jP as StockLocations, jV as StockReservations, j$ as StockTransfers, k5 as Stores, kb as StripeGateways, kh as StripePayments, kn as StripeTaxAccounts, kt as SubscriptionModels, kB as Tags, kH as TalonOneAccounts, kL as TaxCalculators, kM as TaxCategories, kX as TaxRules, l1 as TaxjarAccounts, l5 as Transactions, ld as VertexAccounts, li as Voids, lo as Webhooks, lu as WireTransfers, lB as addresses, lC as adjustments, lD as adyen_gateways, lE as adyen_payments, lF as application, lG as attachments, lH as authorizations, lI as avalara_accounts, lJ as axerve_gateways, lK as axerve_payments, lL as bing_geocoders, lM as braintree_gateways, lN as braintree_payments, lO as bundles, lP as buy_x_pay_y_promotions, lQ as captures, lR as carrier_accounts, lS as checkout_com_gateways, lT as checkout_com_payments, lU as cleanups, lV as coupon_codes_promotion_rules, lW as coupon_recipients, lX as coupons, lY as custom_promotion_rules, lZ as customer_addresses, l_ as customer_groups, l$ as customer_password_resets, m0 as customer_payment_sources, m1 as customer_subscriptions, m2 as customers, m3 as delivery_lead_times, m4 as discount_engine_items, m5 as discount_engines, m6 as easypost_pickups, m7 as event_callbacks, m8 as event_stores, m9 as events, ma as exports, mb as external_gateways, mc as external_payments, md as external_promotions, me as external_tax_calculators, mf as fixed_amount_promotions, mg as fixed_price_promotions, mh as flex_promotions, mi as free_gift_promotions, mj as free_shipping_promotions, mk as geocoders, ml as gift_card_recipients, mm as gift_cards, mn as google_geocoders, mo as imports, mp as in_stock_subscriptions, mq as inventory_models, mr as inventory_return_locations, ms as inventory_stock_locations, mt as klarna_gateways, mu as klarna_payments, mv as line_item_options, mw as line_items, mx as links, my as manual_gateways, mz as manual_tax_calculators, mA as markets, mB as merchants, mC as notifications, mD as order_amount_promotion_rules, mE as order_copies, mF as order_factories, mG as order_subscription_items, mH as order_subscriptions, mI as orders, mJ as organization, mK as packages, mL as parcel_line_items, mM as parcels, mN as payment_gateways, mO as payment_methods, mP as payment_options, mQ as paypal_gateways, mR as paypal_payments, mS as percentage_discount_promotions, mT as pickups, mU as price_frequency_tiers, mV as price_list_schedulers, mW as price_lists, mX as price_tiers, mY as price_volume_tiers, mZ as prices, m_ as promotion_rules, m$ as promotions, n0 as recurring_order_copies, n1 as refunds, n2 as reserved_stocks, n3 as resource_errors, n4 as return_line_items, n5 as returns, n6 as satispay_gateways, n7 as satispay_payments, n8 as shipments, n9 as shipping_categories, na as shipping_method_tiers, nb as shipping_methods, nc as shipping_weight_tiers, nd as shipping_zones, ne as sku_list_items, nf as sku_list_promotion_rules, ng as sku_lists, nh as sku_options, ni as skus, nj as stock_items, nk as stock_line_items, nl as stock_locations, nm as stock_reservations, nn as stock_transfers, no as stores, np as stripe_gateways, nq as stripe_payments, nr as stripe_tax_accounts, ns as subscription_models, nt as tags, nu as talon_one_accounts, nv as tax_calculators, nw as tax_categories, nx as tax_rules, ny as taxjar_accounts, nz as transactions, nA as vertex_accounts, nB as voids, nC as webhooks, nD as wire_transfers } from './api-
|
|
1
|
+
export { e as Addresses, k as Adjustments, q as AdyenGateways, w as AdyenPayments, E as Applications, K as Attachments, P as Authorizations, V as AvalaraAccounts, $ as AxerveGateways, a5 as AxervePayments, ab as BingGeocoders, ah as BraintreeGateways, an as BraintreePayments, at as Bundles, az as BuyXPayYPromotions, aE as Captures, aK as CarrierAccounts, aQ as CheckoutComGateways, aW as CheckoutComPayments, b0 as Cleanups, b7 as CouponCodesPromotionRules, be as CouponRecipients, bi as Coupons, bq as CustomPromotionRules, bx as CustomerAddresses, bE as CustomerGroups, bK as CustomerPasswordResets, bQ as CustomerPaymentSources, bX as CustomerSubscriptions, b_ as Customers, c6 as DeliveryLeadTimes, cb as DiscountEngineItems, ce as DiscountEngines, ck as EasypostPickups, cp as EventCallbacks, cu as EventStores, cx as Events, cD as Exports, cJ as ExternalGateways, cP as ExternalPayments, cV as ExternalPromotions, c$ as ExternalTaxCalculators, d5 as FixedAmountPromotions, db as FixedPricePromotions, dh as FlexPromotions, dn as FreeGiftPromotions, du as FreeShippingPromotions, dy as Geocoders, dG as GiftCardRecipients, dK as GiftCards, dQ as GoogleGeocoders, dW as Imports, e0 as InStockSubscriptions, e6 as InventoryModels, ec as InventoryReturnLocations, ei as InventoryStockLocations, eo as KlarnaGateways, eu as KlarnaPayments, eC as LineItemOptions, eG as LineItems, eM as Links, eW as ManualGateways, f0 as ManualTaxCalculators, f6 as Markets, fc as Merchants, fj as Notifications, fq as OrderAmountPromotionRules, fr as OrderCopies, fy as OrderFactories, fK as OrderSubscriptionItems, fO as OrderSubscriptions, fR as Orders, fV as Organizations, f$ as Packages, g7 as ParcelLineItems, gb as Parcels, gf as PaymentGateways, gl as PaymentMethods, gr as PaymentOptions, gx as PaypalGateways, gD as PaypalPayments, gJ as PercentageDiscountPromotions, gN as Pickups, gV as PriceFrequencyTiers, h1 as PriceListSchedulers, h5 as PriceLists, ha as PriceTiers, hi as PriceVolumeTiers, hj as Prices, ho as PromotionRules, hr as Promotions, hB as RecurringOrderCopies, hL as Refunds, hP as ReservedStocks, hW as ResourceErrors, ig as ReturnLineItems, ik as Returns, ir as SatispayGateways, ix as SatispayPayments, iD as Shipments, iE as ShippingCategories, iQ as ShippingMethodTiers, iT as ShippingMethods, iZ as ShippingWeightTiers, j3 as ShippingZones, jd as SkuListItems, jj as SkuListPromotionRules, jn as SkuLists, jt as SkuOptions, jx as Skus, jD as StockItems, jJ as StockLineItems, jP as StockLocations, jV as StockReservations, j$ as StockTransfers, k5 as Stores, kb as StripeGateways, kh as StripePayments, kn as StripeTaxAccounts, kt as SubscriptionModels, kB as Tags, kH as TalonOneAccounts, kL as TaxCalculators, kM as TaxCategories, kX as TaxRules, l1 as TaxjarAccounts, l5 as Transactions, ld as VertexAccounts, li as Voids, lo as Webhooks, lu as WireTransfers, lB as addresses, lC as adjustments, lD as adyen_gateways, lE as adyen_payments, lF as application, lG as attachments, lH as authorizations, lI as avalara_accounts, lJ as axerve_gateways, lK as axerve_payments, lL as bing_geocoders, lM as braintree_gateways, lN as braintree_payments, lO as bundles, lP as buy_x_pay_y_promotions, lQ as captures, lR as carrier_accounts, lS as checkout_com_gateways, lT as checkout_com_payments, lU as cleanups, lV as coupon_codes_promotion_rules, lW as coupon_recipients, lX as coupons, lY as custom_promotion_rules, lZ as customer_addresses, l_ as customer_groups, l$ as customer_password_resets, m0 as customer_payment_sources, m1 as customer_subscriptions, m2 as customers, m3 as delivery_lead_times, m4 as discount_engine_items, m5 as discount_engines, m6 as easypost_pickups, m7 as event_callbacks, m8 as event_stores, m9 as events, ma as exports, mb as external_gateways, mc as external_payments, md as external_promotions, me as external_tax_calculators, mf as fixed_amount_promotions, mg as fixed_price_promotions, mh as flex_promotions, mi as free_gift_promotions, mj as free_shipping_promotions, mk as geocoders, ml as gift_card_recipients, mm as gift_cards, mn as google_geocoders, mo as imports, mp as in_stock_subscriptions, mq as inventory_models, mr as inventory_return_locations, ms as inventory_stock_locations, mt as klarna_gateways, mu as klarna_payments, mv as line_item_options, mw as line_items, mx as links, my as manual_gateways, mz as manual_tax_calculators, mA as markets, mB as merchants, mC as notifications, mD as order_amount_promotion_rules, mE as order_copies, mF as order_factories, mG as order_subscription_items, mH as order_subscriptions, mI as orders, mJ as organization, mK as packages, mL as parcel_line_items, mM as parcels, mN as payment_gateways, mO as payment_methods, mP as payment_options, mQ as paypal_gateways, mR as paypal_payments, mS as percentage_discount_promotions, mT as pickups, mU as price_frequency_tiers, mV as price_list_schedulers, mW as price_lists, mX as price_tiers, mY as price_volume_tiers, mZ as prices, m_ as promotion_rules, m$ as promotions, n0 as recurring_order_copies, n1 as refunds, n2 as reserved_stocks, n3 as resource_errors, n4 as return_line_items, n5 as returns, n6 as satispay_gateways, n7 as satispay_payments, n8 as shipments, n9 as shipping_categories, na as shipping_method_tiers, nb as shipping_methods, nc as shipping_weight_tiers, nd as shipping_zones, ne as sku_list_items, nf as sku_list_promotion_rules, ng as sku_lists, nh as sku_options, ni as skus, nj as stock_items, nk as stock_line_items, nl as stock_locations, nm as stock_reservations, nn as stock_transfers, no as stores, np as stripe_gateways, nq as stripe_payments, nr as stripe_tax_accounts, ns as subscription_models, nt as tags, nu as talon_one_accounts, nv as tax_calculators, nw as tax_categories, nx as tax_rules, ny as taxjar_accounts, nz as transactions, nA as vertex_accounts, nB as voids, nC as webhooks, nD as wire_transfers } from './api-DFBhmbb1.cjs';
|
|
2
2
|
import './client.cjs';
|
|
3
3
|
import './fetch-DQyRNxTg.cjs';
|
|
4
4
|
import './types.cjs';
|
package/lib/api.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { e as Addresses, k as Adjustments, q as AdyenGateways, w as AdyenPayments, E as Applications, K as Attachments, P as Authorizations, V as AvalaraAccounts, $ as AxerveGateways, a5 as AxervePayments, ab as BingGeocoders, ah as BraintreeGateways, an as BraintreePayments, at as Bundles, az as BuyXPayYPromotions, aE as Captures, aK as CarrierAccounts, aQ as CheckoutComGateways, aW as CheckoutComPayments, b0 as Cleanups, b7 as CouponCodesPromotionRules, be as CouponRecipients, bi as Coupons, bq as CustomPromotionRules, bx as CustomerAddresses, bE as CustomerGroups, bK as CustomerPasswordResets, bQ as CustomerPaymentSources, bX as CustomerSubscriptions, b_ as Customers, c6 as DeliveryLeadTimes, cb as DiscountEngineItems, ce as DiscountEngines, ck as EasypostPickups, cp as EventCallbacks, cu as EventStores, cx as Events, cD as Exports, cJ as ExternalGateways, cP as ExternalPayments, cV as ExternalPromotions, c$ as ExternalTaxCalculators, d5 as FixedAmountPromotions, db as FixedPricePromotions, dh as FlexPromotions, dn as FreeGiftPromotions, du as FreeShippingPromotions, dy as Geocoders, dG as GiftCardRecipients, dK as GiftCards, dQ as GoogleGeocoders, dW as Imports, e0 as InStockSubscriptions, e6 as InventoryModels, ec as InventoryReturnLocations, ei as InventoryStockLocations, eo as KlarnaGateways, eu as KlarnaPayments, eC as LineItemOptions, eG as LineItems, eM as Links, eW as ManualGateways, f0 as ManualTaxCalculators, f6 as Markets, fc as Merchants, fj as Notifications, fq as OrderAmountPromotionRules, fr as OrderCopies, fy as OrderFactories, fK as OrderSubscriptionItems, fO as OrderSubscriptions, fR as Orders, fV as Organizations, f$ as Packages, g7 as ParcelLineItems, gb as Parcels, gf as PaymentGateways, gl as PaymentMethods, gr as PaymentOptions, gx as PaypalGateways, gD as PaypalPayments, gJ as PercentageDiscountPromotions, gN as Pickups, gV as PriceFrequencyTiers, h1 as PriceListSchedulers, h5 as PriceLists, ha as PriceTiers, hi as PriceVolumeTiers, hj as Prices, ho as PromotionRules, hr as Promotions, hB as RecurringOrderCopies, hL as Refunds, hP as ReservedStocks, hW as ResourceErrors, ig as ReturnLineItems, ik as Returns, ir as SatispayGateways, ix as SatispayPayments, iD as Shipments, iE as ShippingCategories, iQ as ShippingMethodTiers, iT as ShippingMethods, iZ as ShippingWeightTiers, j3 as ShippingZones, jd as SkuListItems, jj as SkuListPromotionRules, jn as SkuLists, jt as SkuOptions, jx as Skus, jD as StockItems, jJ as StockLineItems, jP as StockLocations, jV as StockReservations, j$ as StockTransfers, k5 as Stores, kb as StripeGateways, kh as StripePayments, kn as StripeTaxAccounts, kt as SubscriptionModels, kB as Tags, kH as TalonOneAccounts, kL as TaxCalculators, kM as TaxCategories, kX as TaxRules, l1 as TaxjarAccounts, l5 as Transactions, ld as VertexAccounts, li as Voids, lo as Webhooks, lu as WireTransfers, lB as addresses, lC as adjustments, lD as adyen_gateways, lE as adyen_payments, lF as application, lG as attachments, lH as authorizations, lI as avalara_accounts, lJ as axerve_gateways, lK as axerve_payments, lL as bing_geocoders, lM as braintree_gateways, lN as braintree_payments, lO as bundles, lP as buy_x_pay_y_promotions, lQ as captures, lR as carrier_accounts, lS as checkout_com_gateways, lT as checkout_com_payments, lU as cleanups, lV as coupon_codes_promotion_rules, lW as coupon_recipients, lX as coupons, lY as custom_promotion_rules, lZ as customer_addresses, l_ as customer_groups, l$ as customer_password_resets, m0 as customer_payment_sources, m1 as customer_subscriptions, m2 as customers, m3 as delivery_lead_times, m4 as discount_engine_items, m5 as discount_engines, m6 as easypost_pickups, m7 as event_callbacks, m8 as event_stores, m9 as events, ma as exports, mb as external_gateways, mc as external_payments, md as external_promotions, me as external_tax_calculators, mf as fixed_amount_promotions, mg as fixed_price_promotions, mh as flex_promotions, mi as free_gift_promotions, mj as free_shipping_promotions, mk as geocoders, ml as gift_card_recipients, mm as gift_cards, mn as google_geocoders, mo as imports, mp as in_stock_subscriptions, mq as inventory_models, mr as inventory_return_locations, ms as inventory_stock_locations, mt as klarna_gateways, mu as klarna_payments, mv as line_item_options, mw as line_items, mx as links, my as manual_gateways, mz as manual_tax_calculators, mA as markets, mB as merchants, mC as notifications, mD as order_amount_promotion_rules, mE as order_copies, mF as order_factories, mG as order_subscription_items, mH as order_subscriptions, mI as orders, mJ as organization, mK as packages, mL as parcel_line_items, mM as parcels, mN as payment_gateways, mO as payment_methods, mP as payment_options, mQ as paypal_gateways, mR as paypal_payments, mS as percentage_discount_promotions, mT as pickups, mU as price_frequency_tiers, mV as price_list_schedulers, mW as price_lists, mX as price_tiers, mY as price_volume_tiers, mZ as prices, m_ as promotion_rules, m$ as promotions, n0 as recurring_order_copies, n1 as refunds, n2 as reserved_stocks, n3 as resource_errors, n4 as return_line_items, n5 as returns, n6 as satispay_gateways, n7 as satispay_payments, n8 as shipments, n9 as shipping_categories, na as shipping_method_tiers, nb as shipping_methods, nc as shipping_weight_tiers, nd as shipping_zones, ne as sku_list_items, nf as sku_list_promotion_rules, ng as sku_lists, nh as sku_options, ni as skus, nj as stock_items, nk as stock_line_items, nl as stock_locations, nm as stock_reservations, nn as stock_transfers, no as stores, np as stripe_gateways, nq as stripe_payments, nr as stripe_tax_accounts, ns as subscription_models, nt as tags, nu as talon_one_accounts, nv as tax_calculators, nw as tax_categories, nx as tax_rules, ny as taxjar_accounts, nz as transactions, nA as vertex_accounts, nB as voids, nC as webhooks, nD as wire_transfers } from './api-
|
|
1
|
+
export { e as Addresses, k as Adjustments, q as AdyenGateways, w as AdyenPayments, E as Applications, K as Attachments, P as Authorizations, V as AvalaraAccounts, $ as AxerveGateways, a5 as AxervePayments, ab as BingGeocoders, ah as BraintreeGateways, an as BraintreePayments, at as Bundles, az as BuyXPayYPromotions, aE as Captures, aK as CarrierAccounts, aQ as CheckoutComGateways, aW as CheckoutComPayments, b0 as Cleanups, b7 as CouponCodesPromotionRules, be as CouponRecipients, bi as Coupons, bq as CustomPromotionRules, bx as CustomerAddresses, bE as CustomerGroups, bK as CustomerPasswordResets, bQ as CustomerPaymentSources, bX as CustomerSubscriptions, b_ as Customers, c6 as DeliveryLeadTimes, cb as DiscountEngineItems, ce as DiscountEngines, ck as EasypostPickups, cp as EventCallbacks, cu as EventStores, cx as Events, cD as Exports, cJ as ExternalGateways, cP as ExternalPayments, cV as ExternalPromotions, c$ as ExternalTaxCalculators, d5 as FixedAmountPromotions, db as FixedPricePromotions, dh as FlexPromotions, dn as FreeGiftPromotions, du as FreeShippingPromotions, dy as Geocoders, dG as GiftCardRecipients, dK as GiftCards, dQ as GoogleGeocoders, dW as Imports, e0 as InStockSubscriptions, e6 as InventoryModels, ec as InventoryReturnLocations, ei as InventoryStockLocations, eo as KlarnaGateways, eu as KlarnaPayments, eC as LineItemOptions, eG as LineItems, eM as Links, eW as ManualGateways, f0 as ManualTaxCalculators, f6 as Markets, fc as Merchants, fj as Notifications, fq as OrderAmountPromotionRules, fr as OrderCopies, fy as OrderFactories, fK as OrderSubscriptionItems, fO as OrderSubscriptions, fR as Orders, fV as Organizations, f$ as Packages, g7 as ParcelLineItems, gb as Parcels, gf as PaymentGateways, gl as PaymentMethods, gr as PaymentOptions, gx as PaypalGateways, gD as PaypalPayments, gJ as PercentageDiscountPromotions, gN as Pickups, gV as PriceFrequencyTiers, h1 as PriceListSchedulers, h5 as PriceLists, ha as PriceTiers, hi as PriceVolumeTiers, hj as Prices, ho as PromotionRules, hr as Promotions, hB as RecurringOrderCopies, hL as Refunds, hP as ReservedStocks, hW as ResourceErrors, ig as ReturnLineItems, ik as Returns, ir as SatispayGateways, ix as SatispayPayments, iD as Shipments, iE as ShippingCategories, iQ as ShippingMethodTiers, iT as ShippingMethods, iZ as ShippingWeightTiers, j3 as ShippingZones, jd as SkuListItems, jj as SkuListPromotionRules, jn as SkuLists, jt as SkuOptions, jx as Skus, jD as StockItems, jJ as StockLineItems, jP as StockLocations, jV as StockReservations, j$ as StockTransfers, k5 as Stores, kb as StripeGateways, kh as StripePayments, kn as StripeTaxAccounts, kt as SubscriptionModels, kB as Tags, kH as TalonOneAccounts, kL as TaxCalculators, kM as TaxCategories, kX as TaxRules, l1 as TaxjarAccounts, l5 as Transactions, ld as VertexAccounts, li as Voids, lo as Webhooks, lu as WireTransfers, lB as addresses, lC as adjustments, lD as adyen_gateways, lE as adyen_payments, lF as application, lG as attachments, lH as authorizations, lI as avalara_accounts, lJ as axerve_gateways, lK as axerve_payments, lL as bing_geocoders, lM as braintree_gateways, lN as braintree_payments, lO as bundles, lP as buy_x_pay_y_promotions, lQ as captures, lR as carrier_accounts, lS as checkout_com_gateways, lT as checkout_com_payments, lU as cleanups, lV as coupon_codes_promotion_rules, lW as coupon_recipients, lX as coupons, lY as custom_promotion_rules, lZ as customer_addresses, l_ as customer_groups, l$ as customer_password_resets, m0 as customer_payment_sources, m1 as customer_subscriptions, m2 as customers, m3 as delivery_lead_times, m4 as discount_engine_items, m5 as discount_engines, m6 as easypost_pickups, m7 as event_callbacks, m8 as event_stores, m9 as events, ma as exports, mb as external_gateways, mc as external_payments, md as external_promotions, me as external_tax_calculators, mf as fixed_amount_promotions, mg as fixed_price_promotions, mh as flex_promotions, mi as free_gift_promotions, mj as free_shipping_promotions, mk as geocoders, ml as gift_card_recipients, mm as gift_cards, mn as google_geocoders, mo as imports, mp as in_stock_subscriptions, mq as inventory_models, mr as inventory_return_locations, ms as inventory_stock_locations, mt as klarna_gateways, mu as klarna_payments, mv as line_item_options, mw as line_items, mx as links, my as manual_gateways, mz as manual_tax_calculators, mA as markets, mB as merchants, mC as notifications, mD as order_amount_promotion_rules, mE as order_copies, mF as order_factories, mG as order_subscription_items, mH as order_subscriptions, mI as orders, mJ as organization, mK as packages, mL as parcel_line_items, mM as parcels, mN as payment_gateways, mO as payment_methods, mP as payment_options, mQ as paypal_gateways, mR as paypal_payments, mS as percentage_discount_promotions, mT as pickups, mU as price_frequency_tiers, mV as price_list_schedulers, mW as price_lists, mX as price_tiers, mY as price_volume_tiers, mZ as prices, m_ as promotion_rules, m$ as promotions, n0 as recurring_order_copies, n1 as refunds, n2 as reserved_stocks, n3 as resource_errors, n4 as return_line_items, n5 as returns, n6 as satispay_gateways, n7 as satispay_payments, n8 as shipments, n9 as shipping_categories, na as shipping_method_tiers, nb as shipping_methods, nc as shipping_weight_tiers, nd as shipping_zones, ne as sku_list_items, nf as sku_list_promotion_rules, ng as sku_lists, nh as sku_options, ni as skus, nj as stock_items, nk as stock_line_items, nl as stock_locations, nm as stock_reservations, nn as stock_transfers, no as stores, np as stripe_gateways, nq as stripe_payments, nr as stripe_tax_accounts, ns as subscription_models, nt as tags, nu as talon_one_accounts, nv as tax_calculators, nw as tax_categories, nx as tax_rules, ny as taxjar_accounts, nz as transactions, nA as vertex_accounts, nB as voids, nC as webhooks, nD as wire_transfers } from './api-DB1n06hG.js';
|
|
2
2
|
import './client.js';
|
|
3
3
|
import './fetch-DQyRNxTg.js';
|
|
4
4
|
import './types.js';
|
package/lib/api.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './chunk-3EX76AZW.js';
|
|
2
2
|
export { transactions_default as transactions } from './chunk-APTNONWZ.js';
|
|
3
|
-
export { vertex_accounts_default as vertex_accounts } from './chunk-
|
|
3
|
+
export { vertex_accounts_default as vertex_accounts } from './chunk-Y35I6KPP.js';
|
|
4
4
|
export { voids_default as voids } from './chunk-MOYV2F4C.js';
|
|
5
5
|
export { webhooks_default as webhooks } from './chunk-NWPF43O7.js';
|
|
6
6
|
export { wire_transfers_default as wire_transfers } from './chunk-2NWYRIJZ.js';
|
|
@@ -81,7 +81,7 @@ export { geocoders_default as geocoders } from './chunk-D3VJO4HP.js';
|
|
|
81
81
|
export { gift_card_recipients_default as gift_card_recipients } from './chunk-DBJEPEBT.js';
|
|
82
82
|
export { gift_cards_default as gift_cards } from './chunk-35Q3ZTZC.js';
|
|
83
83
|
export { google_geocoders_default as google_geocoders } from './chunk-VI2NCCWC.js';
|
|
84
|
-
export { imports_default as imports } from './chunk-
|
|
84
|
+
export { imports_default as imports } from './chunk-RDXEF27B.js';
|
|
85
85
|
export { in_stock_subscriptions_default as in_stock_subscriptions } from './chunk-IYGFGGZR.js';
|
|
86
86
|
export { inventory_models_default as inventory_models } from './chunk-GZPZZ262.js';
|
|
87
87
|
export { external_gateways_default as external_gateways } from './chunk-KJWEQIEM.js';
|
|
@@ -99,7 +99,7 @@ export { easypost_pickups_default as easypost_pickups } from './chunk-ESI7A34I.j
|
|
|
99
99
|
export { event_callbacks_default as event_callbacks } from './chunk-JRVZ4JQI.js';
|
|
100
100
|
export { event_stores_default as event_stores } from './chunk-WMM5EI62.js';
|
|
101
101
|
export { events_default as events } from './chunk-QF6DOS2C.js';
|
|
102
|
-
export { exports_default as exports } from './chunk-
|
|
102
|
+
export { exports_default as exports } from './chunk-NV364EJH.js';
|
|
103
103
|
export { coupons_default as coupons } from './chunk-QI4UFW5A.js';
|
|
104
104
|
export { custom_promotion_rules_default as custom_promotion_rules } from './chunk-M22WZEWB.js';
|
|
105
105
|
export { customer_addresses_default as customer_addresses } from './chunk-VXXJ3CIC.js';
|
|
@@ -127,7 +127,7 @@ export { bundles_default as bundles } from './chunk-GIZE32ZY.js';
|
|
|
127
127
|
export { addresses_default as addresses } from './chunk-EQZMPSGR.js';
|
|
128
128
|
export { adjustments_default as adjustments } from './chunk-Q3WUCLM5.js';
|
|
129
129
|
export { adyen_gateways_default as adyen_gateways } from './chunk-UTQEHWH2.js';
|
|
130
|
-
export { adyen_payments_default as adyen_payments } from './chunk-
|
|
130
|
+
export { adyen_payments_default as adyen_payments } from './chunk-UFW7KJWK.js';
|
|
131
131
|
export { applications_default as application } from './chunk-EOV3GRPM.js';
|
|
132
132
|
export { attachments_default as attachments } from './chunk-6BXCQFTI.js';
|
|
133
133
|
import './chunk-YRCCY6RV.js';
|
package/lib/bundle.cjs
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
require('./chunk-5YMHXTJG.cjs');
|
|
4
4
|
var chunkUL4JQZUD_cjs = require('./chunk-UL4JQZUD.cjs');
|
|
5
|
-
var
|
|
5
|
+
var chunkO3UJT5JJ_cjs = require('./chunk-O3UJT5JJ.cjs');
|
|
6
6
|
var chunkTUKV2ZIA_cjs = require('./chunk-TUKV2ZIA.cjs');
|
|
7
7
|
var chunk5TLVMKOO_cjs = require('./chunk-5TLVMKOO.cjs');
|
|
8
8
|
var chunkATK6TFVA_cjs = require('./chunk-ATK6TFVA.cjs');
|
|
@@ -83,7 +83,7 @@ var chunkMHNJALUB_cjs = require('./chunk-MHNJALUB.cjs');
|
|
|
83
83
|
var chunkH6K62JGC_cjs = require('./chunk-H6K62JGC.cjs');
|
|
84
84
|
var chunkP5EEPVZA_cjs = require('./chunk-P5EEPVZA.cjs');
|
|
85
85
|
var chunkM7SVKQ7R_cjs = require('./chunk-M7SVKQ7R.cjs');
|
|
86
|
-
var
|
|
86
|
+
var chunkOF4M6NEX_cjs = require('./chunk-OF4M6NEX.cjs');
|
|
87
87
|
var chunk4E5BE47D_cjs = require('./chunk-4E5BE47D.cjs');
|
|
88
88
|
var chunkRKD7U6QH_cjs = require('./chunk-RKD7U6QH.cjs');
|
|
89
89
|
var chunkCQXW23HJ_cjs = require('./chunk-CQXW23HJ.cjs');
|
|
@@ -101,7 +101,7 @@ var chunk3PAID2YG_cjs = require('./chunk-3PAID2YG.cjs');
|
|
|
101
101
|
var chunkCJPAOOG5_cjs = require('./chunk-CJPAOOG5.cjs');
|
|
102
102
|
var chunkYNWHCH2N_cjs = require('./chunk-YNWHCH2N.cjs');
|
|
103
103
|
var chunkINBIEH6H_cjs = require('./chunk-INBIEH6H.cjs');
|
|
104
|
-
var
|
|
104
|
+
var chunkTGINKJDS_cjs = require('./chunk-TGINKJDS.cjs');
|
|
105
105
|
var chunk2VI6OWLV_cjs = require('./chunk-2VI6OWLV.cjs');
|
|
106
106
|
var chunkZJE7A6E6_cjs = require('./chunk-ZJE7A6E6.cjs');
|
|
107
107
|
var chunkYYAEAKBO_cjs = require('./chunk-YYAEAKBO.cjs');
|
|
@@ -129,10 +129,10 @@ var chunk7ZBEKCA5_cjs = require('./chunk-7ZBEKCA5.cjs');
|
|
|
129
129
|
var chunkT2DEYIX6_cjs = require('./chunk-T2DEYIX6.cjs');
|
|
130
130
|
var chunkIYQFTOVG_cjs = require('./chunk-IYQFTOVG.cjs');
|
|
131
131
|
var chunkJE3P5NJP_cjs = require('./chunk-JE3P5NJP.cjs');
|
|
132
|
-
var
|
|
132
|
+
var chunkBRWPB33S_cjs = require('./chunk-BRWPB33S.cjs');
|
|
133
133
|
var chunkSGXMH2JP_cjs = require('./chunk-SGXMH2JP.cjs');
|
|
134
134
|
var chunkLHESCZ5L_cjs = require('./chunk-LHESCZ5L.cjs');
|
|
135
|
-
var
|
|
135
|
+
var chunkYEMLHMYR_cjs = require('./chunk-YEMLHMYR.cjs');
|
|
136
136
|
require('./chunk-L7FT6NDZ.cjs');
|
|
137
137
|
require('./chunk-3GOADUES.cjs');
|
|
138
138
|
require('./chunk-UQQTNQX3.cjs');
|
|
@@ -145,7 +145,7 @@ require('./chunk-JEQ2X3Z6.cjs');
|
|
|
145
145
|
|
|
146
146
|
// src/bundle.ts
|
|
147
147
|
var debug = chunk7RZTCBDR_cjs.debug_default("bundle");
|
|
148
|
-
var CommerceLayerBundle = class _CommerceLayerBundle extends
|
|
148
|
+
var CommerceLayerBundle = class _CommerceLayerBundle extends chunkYEMLHMYR_cjs.CommerceLayerClient {
|
|
149
149
|
// ##__CL_RESOURCES_DEF_START__##
|
|
150
150
|
// ##__CL_RESOURCES_DEF_TEMPLATE:: ##__TAB__#####__RESOURCE_TYPE__##?: api.##__RESOURCE_CLASS__##
|
|
151
151
|
// ##__CL_RESOURCES_DEF_STOP__##
|
|
@@ -174,7 +174,7 @@ var CommerceLayerBundle = class _CommerceLayerBundle extends chunkI7LHMPOY_cjs.C
|
|
|
174
174
|
return chunkJE3P5NJP_cjs.adyen_gateways_default;
|
|
175
175
|
}
|
|
176
176
|
get adyen_payments() {
|
|
177
|
-
return
|
|
177
|
+
return chunkBRWPB33S_cjs.adyen_payments_default;
|
|
178
178
|
}
|
|
179
179
|
get application() {
|
|
180
180
|
return chunkSGXMH2JP_cjs.applications_default;
|
|
@@ -276,7 +276,7 @@ var CommerceLayerBundle = class _CommerceLayerBundle extends chunkI7LHMPOY_cjs.C
|
|
|
276
276
|
return chunkINBIEH6H_cjs.events_default;
|
|
277
277
|
}
|
|
278
278
|
get exports() {
|
|
279
|
-
return
|
|
279
|
+
return chunkTGINKJDS_cjs.exports_default;
|
|
280
280
|
}
|
|
281
281
|
get external_gateways() {
|
|
282
282
|
return chunkCQXW23HJ_cjs.external_gateways_default;
|
|
@@ -318,7 +318,7 @@ var CommerceLayerBundle = class _CommerceLayerBundle extends chunkI7LHMPOY_cjs.C
|
|
|
318
318
|
return chunkM7SVKQ7R_cjs.google_geocoders_default;
|
|
319
319
|
}
|
|
320
320
|
get imports() {
|
|
321
|
-
return
|
|
321
|
+
return chunkOF4M6NEX_cjs.imports_default;
|
|
322
322
|
}
|
|
323
323
|
get in_stock_subscriptions() {
|
|
324
324
|
return chunk4E5BE47D_cjs.in_stock_subscriptions_default;
|
|
@@ -546,7 +546,7 @@ var CommerceLayerBundle = class _CommerceLayerBundle extends chunkI7LHMPOY_cjs.C
|
|
|
546
546
|
return chunkUL4JQZUD_cjs.transactions_default;
|
|
547
547
|
}
|
|
548
548
|
get vertex_accounts() {
|
|
549
|
-
return
|
|
549
|
+
return chunkO3UJT5JJ_cjs.vertex_accounts_default;
|
|
550
550
|
}
|
|
551
551
|
get voids() {
|
|
552
552
|
return chunkTUKV2ZIA_cjs.voids_default;
|
package/lib/bundle.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { e as Addresses, k as Adjustments, q as AdyenGateways, w as AdyenPayments, E as Applications, K as Attachments, P as Authorizations, V as AvalaraAccounts, $ as AxerveGateways, a5 as AxervePayments, ab as BingGeocoders, ah as BraintreeGateways, an as BraintreePayments, at as Bundles, az as BuyXPayYPromotions, aE as Captures, aK as CarrierAccounts, aQ as CheckoutComGateways, aW as CheckoutComPayments, b0 as Cleanups, b7 as CouponCodesPromotionRules, be as CouponRecipients, bi as Coupons, bq as CustomPromotionRules, bx as CustomerAddresses, bE as CustomerGroups, bK as CustomerPasswordResets, bQ as CustomerPaymentSources, bX as CustomerSubscriptions, b_ as Customers, c6 as DeliveryLeadTimes, cb as DiscountEngineItems, ce as DiscountEngines, ck as EasypostPickups, cp as EventCallbacks, cu as EventStores, cx as Events, cD as Exports, cJ as ExternalGateways, cP as ExternalPayments, cV as ExternalPromotions, c$ as ExternalTaxCalculators, d5 as FixedAmountPromotions, db as FixedPricePromotions, dh as FlexPromotions, dn as FreeGiftPromotions, du as FreeShippingPromotions, dy as Geocoders, dG as GiftCardRecipients, dK as GiftCards, dQ as GoogleGeocoders, dW as Imports, e0 as InStockSubscriptions, e6 as InventoryModels, ec as InventoryReturnLocations, ei as InventoryStockLocations, eo as KlarnaGateways, eu as KlarnaPayments, eC as LineItemOptions, eG as LineItems, eM as Links, eW as ManualGateways, f0 as ManualTaxCalculators, f6 as Markets, fc as Merchants, fj as Notifications, fq as OrderAmountPromotionRules, fr as OrderCopies, fy as OrderFactories, fK as OrderSubscriptionItems, fO as OrderSubscriptions, fR as Orders, fV as Organizations, f$ as Packages, g7 as ParcelLineItems, gb as Parcels, gf as PaymentGateways, gl as PaymentMethods, gr as PaymentOptions, gx as PaypalGateways, gD as PaypalPayments, gJ as PercentageDiscountPromotions, gN as Pickups, gV as PriceFrequencyTiers, h1 as PriceListSchedulers, h5 as PriceLists, ha as PriceTiers, hi as PriceVolumeTiers, hj as Prices, ho as PromotionRules, hr as Promotions, hB as RecurringOrderCopies, hL as Refunds, hP as ReservedStocks, hW as ResourceErrors, ig as ReturnLineItems, ik as Returns, ir as SatispayGateways, ix as SatispayPayments, iD as Shipments, iE as ShippingCategories, iQ as ShippingMethodTiers, iT as ShippingMethods, iZ as ShippingWeightTiers, j3 as ShippingZones, jd as SkuListItems, jj as SkuListPromotionRules, jn as SkuLists, jt as SkuOptions, jx as Skus, jD as StockItems, jJ as StockLineItems, jP as StockLocations, jV as StockReservations, j$ as StockTransfers, k5 as Stores, kb as StripeGateways, kh as StripePayments, kn as StripeTaxAccounts, kt as SubscriptionModels, kB as Tags, kH as TalonOneAccounts, kL as TaxCalculators, kM as TaxCategories, kX as TaxRules, l1 as TaxjarAccounts, l5 as Transactions, ld as VertexAccounts, li as Voids, lo as Webhooks, lu as WireTransfers } from './api-
|
|
1
|
+
import { e as Addresses, k as Adjustments, q as AdyenGateways, w as AdyenPayments, E as Applications, K as Attachments, P as Authorizations, V as AvalaraAccounts, $ as AxerveGateways, a5 as AxervePayments, ab as BingGeocoders, ah as BraintreeGateways, an as BraintreePayments, at as Bundles, az as BuyXPayYPromotions, aE as Captures, aK as CarrierAccounts, aQ as CheckoutComGateways, aW as CheckoutComPayments, b0 as Cleanups, b7 as CouponCodesPromotionRules, be as CouponRecipients, bi as Coupons, bq as CustomPromotionRules, bx as CustomerAddresses, bE as CustomerGroups, bK as CustomerPasswordResets, bQ as CustomerPaymentSources, bX as CustomerSubscriptions, b_ as Customers, c6 as DeliveryLeadTimes, cb as DiscountEngineItems, ce as DiscountEngines, ck as EasypostPickups, cp as EventCallbacks, cu as EventStores, cx as Events, cD as Exports, cJ as ExternalGateways, cP as ExternalPayments, cV as ExternalPromotions, c$ as ExternalTaxCalculators, d5 as FixedAmountPromotions, db as FixedPricePromotions, dh as FlexPromotions, dn as FreeGiftPromotions, du as FreeShippingPromotions, dy as Geocoders, dG as GiftCardRecipients, dK as GiftCards, dQ as GoogleGeocoders, dW as Imports, e0 as InStockSubscriptions, e6 as InventoryModels, ec as InventoryReturnLocations, ei as InventoryStockLocations, eo as KlarnaGateways, eu as KlarnaPayments, eC as LineItemOptions, eG as LineItems, eM as Links, eW as ManualGateways, f0 as ManualTaxCalculators, f6 as Markets, fc as Merchants, fj as Notifications, fq as OrderAmountPromotionRules, fr as OrderCopies, fy as OrderFactories, fK as OrderSubscriptionItems, fO as OrderSubscriptions, fR as Orders, fV as Organizations, f$ as Packages, g7 as ParcelLineItems, gb as Parcels, gf as PaymentGateways, gl as PaymentMethods, gr as PaymentOptions, gx as PaypalGateways, gD as PaypalPayments, gJ as PercentageDiscountPromotions, gN as Pickups, gV as PriceFrequencyTiers, h1 as PriceListSchedulers, h5 as PriceLists, ha as PriceTiers, hi as PriceVolumeTiers, hj as Prices, ho as PromotionRules, hr as Promotions, hB as RecurringOrderCopies, hL as Refunds, hP as ReservedStocks, hW as ResourceErrors, ig as ReturnLineItems, ik as Returns, ir as SatispayGateways, ix as SatispayPayments, iD as Shipments, iE as ShippingCategories, iQ as ShippingMethodTiers, iT as ShippingMethods, iZ as ShippingWeightTiers, j3 as ShippingZones, jd as SkuListItems, jj as SkuListPromotionRules, jn as SkuLists, jt as SkuOptions, jx as Skus, jD as StockItems, jJ as StockLineItems, jP as StockLocations, jV as StockReservations, j$ as StockTransfers, k5 as Stores, kb as StripeGateways, kh as StripePayments, kn as StripeTaxAccounts, kt as SubscriptionModels, kB as Tags, kH as TalonOneAccounts, kL as TaxCalculators, kM as TaxCategories, kX as TaxRules, l1 as TaxjarAccounts, l5 as Transactions, ld as VertexAccounts, li as Voids, lo as Webhooks, lu as WireTransfers } from './api-DFBhmbb1.cjs';
|
|
2
2
|
import { CommerceLayerInitConfig, CommerceLayerClient } from './commercelayer.cjs';
|
|
3
3
|
import './client.cjs';
|
|
4
4
|
import './fetch-DQyRNxTg.cjs';
|
package/lib/bundle.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { e as Addresses, k as Adjustments, q as AdyenGateways, w as AdyenPayments, E as Applications, K as Attachments, P as Authorizations, V as AvalaraAccounts, $ as AxerveGateways, a5 as AxervePayments, ab as BingGeocoders, ah as BraintreeGateways, an as BraintreePayments, at as Bundles, az as BuyXPayYPromotions, aE as Captures, aK as CarrierAccounts, aQ as CheckoutComGateways, aW as CheckoutComPayments, b0 as Cleanups, b7 as CouponCodesPromotionRules, be as CouponRecipients, bi as Coupons, bq as CustomPromotionRules, bx as CustomerAddresses, bE as CustomerGroups, bK as CustomerPasswordResets, bQ as CustomerPaymentSources, bX as CustomerSubscriptions, b_ as Customers, c6 as DeliveryLeadTimes, cb as DiscountEngineItems, ce as DiscountEngines, ck as EasypostPickups, cp as EventCallbacks, cu as EventStores, cx as Events, cD as Exports, cJ as ExternalGateways, cP as ExternalPayments, cV as ExternalPromotions, c$ as ExternalTaxCalculators, d5 as FixedAmountPromotions, db as FixedPricePromotions, dh as FlexPromotions, dn as FreeGiftPromotions, du as FreeShippingPromotions, dy as Geocoders, dG as GiftCardRecipients, dK as GiftCards, dQ as GoogleGeocoders, dW as Imports, e0 as InStockSubscriptions, e6 as InventoryModels, ec as InventoryReturnLocations, ei as InventoryStockLocations, eo as KlarnaGateways, eu as KlarnaPayments, eC as LineItemOptions, eG as LineItems, eM as Links, eW as ManualGateways, f0 as ManualTaxCalculators, f6 as Markets, fc as Merchants, fj as Notifications, fq as OrderAmountPromotionRules, fr as OrderCopies, fy as OrderFactories, fK as OrderSubscriptionItems, fO as OrderSubscriptions, fR as Orders, fV as Organizations, f$ as Packages, g7 as ParcelLineItems, gb as Parcels, gf as PaymentGateways, gl as PaymentMethods, gr as PaymentOptions, gx as PaypalGateways, gD as PaypalPayments, gJ as PercentageDiscountPromotions, gN as Pickups, gV as PriceFrequencyTiers, h1 as PriceListSchedulers, h5 as PriceLists, ha as PriceTiers, hi as PriceVolumeTiers, hj as Prices, ho as PromotionRules, hr as Promotions, hB as RecurringOrderCopies, hL as Refunds, hP as ReservedStocks, hW as ResourceErrors, ig as ReturnLineItems, ik as Returns, ir as SatispayGateways, ix as SatispayPayments, iD as Shipments, iE as ShippingCategories, iQ as ShippingMethodTiers, iT as ShippingMethods, iZ as ShippingWeightTiers, j3 as ShippingZones, jd as SkuListItems, jj as SkuListPromotionRules, jn as SkuLists, jt as SkuOptions, jx as Skus, jD as StockItems, jJ as StockLineItems, jP as StockLocations, jV as StockReservations, j$ as StockTransfers, k5 as Stores, kb as StripeGateways, kh as StripePayments, kn as StripeTaxAccounts, kt as SubscriptionModels, kB as Tags, kH as TalonOneAccounts, kL as TaxCalculators, kM as TaxCategories, kX as TaxRules, l1 as TaxjarAccounts, l5 as Transactions, ld as VertexAccounts, li as Voids, lo as Webhooks, lu as WireTransfers } from './api-
|
|
1
|
+
import { e as Addresses, k as Adjustments, q as AdyenGateways, w as AdyenPayments, E as Applications, K as Attachments, P as Authorizations, V as AvalaraAccounts, $ as AxerveGateways, a5 as AxervePayments, ab as BingGeocoders, ah as BraintreeGateways, an as BraintreePayments, at as Bundles, az as BuyXPayYPromotions, aE as Captures, aK as CarrierAccounts, aQ as CheckoutComGateways, aW as CheckoutComPayments, b0 as Cleanups, b7 as CouponCodesPromotionRules, be as CouponRecipients, bi as Coupons, bq as CustomPromotionRules, bx as CustomerAddresses, bE as CustomerGroups, bK as CustomerPasswordResets, bQ as CustomerPaymentSources, bX as CustomerSubscriptions, b_ as Customers, c6 as DeliveryLeadTimes, cb as DiscountEngineItems, ce as DiscountEngines, ck as EasypostPickups, cp as EventCallbacks, cu as EventStores, cx as Events, cD as Exports, cJ as ExternalGateways, cP as ExternalPayments, cV as ExternalPromotions, c$ as ExternalTaxCalculators, d5 as FixedAmountPromotions, db as FixedPricePromotions, dh as FlexPromotions, dn as FreeGiftPromotions, du as FreeShippingPromotions, dy as Geocoders, dG as GiftCardRecipients, dK as GiftCards, dQ as GoogleGeocoders, dW as Imports, e0 as InStockSubscriptions, e6 as InventoryModels, ec as InventoryReturnLocations, ei as InventoryStockLocations, eo as KlarnaGateways, eu as KlarnaPayments, eC as LineItemOptions, eG as LineItems, eM as Links, eW as ManualGateways, f0 as ManualTaxCalculators, f6 as Markets, fc as Merchants, fj as Notifications, fq as OrderAmountPromotionRules, fr as OrderCopies, fy as OrderFactories, fK as OrderSubscriptionItems, fO as OrderSubscriptions, fR as Orders, fV as Organizations, f$ as Packages, g7 as ParcelLineItems, gb as Parcels, gf as PaymentGateways, gl as PaymentMethods, gr as PaymentOptions, gx as PaypalGateways, gD as PaypalPayments, gJ as PercentageDiscountPromotions, gN as Pickups, gV as PriceFrequencyTiers, h1 as PriceListSchedulers, h5 as PriceLists, ha as PriceTiers, hi as PriceVolumeTiers, hj as Prices, ho as PromotionRules, hr as Promotions, hB as RecurringOrderCopies, hL as Refunds, hP as ReservedStocks, hW as ResourceErrors, ig as ReturnLineItems, ik as Returns, ir as SatispayGateways, ix as SatispayPayments, iD as Shipments, iE as ShippingCategories, iQ as ShippingMethodTiers, iT as ShippingMethods, iZ as ShippingWeightTiers, j3 as ShippingZones, jd as SkuListItems, jj as SkuListPromotionRules, jn as SkuLists, jt as SkuOptions, jx as Skus, jD as StockItems, jJ as StockLineItems, jP as StockLocations, jV as StockReservations, j$ as StockTransfers, k5 as Stores, kb as StripeGateways, kh as StripePayments, kn as StripeTaxAccounts, kt as SubscriptionModels, kB as Tags, kH as TalonOneAccounts, kL as TaxCalculators, kM as TaxCategories, kX as TaxRules, l1 as TaxjarAccounts, l5 as Transactions, ld as VertexAccounts, li as Voids, lo as Webhooks, lu as WireTransfers } from './api-DB1n06hG.js';
|
|
2
2
|
import { CommerceLayerInitConfig, CommerceLayerClient } from './commercelayer.js';
|
|
3
3
|
import './client.js';
|
|
4
4
|
import './fetch-DQyRNxTg.js';
|
package/lib/bundle.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './chunk-3EX76AZW.js';
|
|
2
2
|
import { transactions_default } from './chunk-APTNONWZ.js';
|
|
3
|
-
import { vertex_accounts_default } from './chunk-
|
|
3
|
+
import { vertex_accounts_default } from './chunk-Y35I6KPP.js';
|
|
4
4
|
import { voids_default } from './chunk-MOYV2F4C.js';
|
|
5
5
|
import { webhooks_default } from './chunk-NWPF43O7.js';
|
|
6
6
|
import { wire_transfers_default } from './chunk-2NWYRIJZ.js';
|
|
@@ -81,7 +81,7 @@ import { geocoders_default } from './chunk-D3VJO4HP.js';
|
|
|
81
81
|
import { gift_card_recipients_default } from './chunk-DBJEPEBT.js';
|
|
82
82
|
import { gift_cards_default } from './chunk-35Q3ZTZC.js';
|
|
83
83
|
import { google_geocoders_default } from './chunk-VI2NCCWC.js';
|
|
84
|
-
import { imports_default } from './chunk-
|
|
84
|
+
import { imports_default } from './chunk-RDXEF27B.js';
|
|
85
85
|
import { in_stock_subscriptions_default } from './chunk-IYGFGGZR.js';
|
|
86
86
|
import { inventory_models_default } from './chunk-GZPZZ262.js';
|
|
87
87
|
import { external_gateways_default } from './chunk-KJWEQIEM.js';
|
|
@@ -99,7 +99,7 @@ import { easypost_pickups_default } from './chunk-ESI7A34I.js';
|
|
|
99
99
|
import { event_callbacks_default } from './chunk-JRVZ4JQI.js';
|
|
100
100
|
import { event_stores_default } from './chunk-WMM5EI62.js';
|
|
101
101
|
import { events_default } from './chunk-QF6DOS2C.js';
|
|
102
|
-
import { exports_default } from './chunk-
|
|
102
|
+
import { exports_default } from './chunk-NV364EJH.js';
|
|
103
103
|
import { coupons_default } from './chunk-QI4UFW5A.js';
|
|
104
104
|
import { custom_promotion_rules_default } from './chunk-M22WZEWB.js';
|
|
105
105
|
import { customer_addresses_default } from './chunk-VXXJ3CIC.js';
|
|
@@ -127,10 +127,10 @@ import { bundles_default } from './chunk-GIZE32ZY.js';
|
|
|
127
127
|
import { addresses_default } from './chunk-EQZMPSGR.js';
|
|
128
128
|
import { adjustments_default } from './chunk-Q3WUCLM5.js';
|
|
129
129
|
import { adyen_gateways_default } from './chunk-UTQEHWH2.js';
|
|
130
|
-
import { adyen_payments_default } from './chunk-
|
|
130
|
+
import { adyen_payments_default } from './chunk-UFW7KJWK.js';
|
|
131
131
|
import { applications_default } from './chunk-EOV3GRPM.js';
|
|
132
132
|
import { attachments_default } from './chunk-6BXCQFTI.js';
|
|
133
|
-
import { CommerceLayerClient } from './chunk-
|
|
133
|
+
import { CommerceLayerClient } from './chunk-IUGXRDL5.js';
|
|
134
134
|
import './chunk-YRCCY6RV.js';
|
|
135
135
|
import './chunk-2D7XHAVQ.js';
|
|
136
136
|
import './chunk-IKCYKGYL.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkYEMLHMYR_cjs = require('./chunk-YEMLHMYR.cjs');
|
|
4
4
|
var chunkK277GYCD_cjs = require('./chunk-K277GYCD.cjs');
|
|
5
5
|
var chunkYETXFXFO_cjs = require('./chunk-YETXFXFO.cjs');
|
|
6
6
|
var chunkLQ5GKVLT_cjs = require('./chunk-LQ5GKVLT.cjs');
|
|
@@ -38,10 +38,10 @@ var CommerceLayerStatic = {
|
|
|
38
38
|
return chunkK277GYCD_cjs.isTokenExpired(token);
|
|
39
39
|
},
|
|
40
40
|
get schemaVersion() {
|
|
41
|
-
return
|
|
41
|
+
return chunkYEMLHMYR_cjs.OPEN_API_SCHEMA_VERSION;
|
|
42
42
|
}
|
|
43
43
|
};
|
|
44
44
|
|
|
45
45
|
exports.CommerceLayerStatic = CommerceLayerStatic;
|
|
46
|
-
//# sourceMappingURL=chunk-
|
|
47
|
-
//# sourceMappingURL=chunk-
|
|
46
|
+
//# sourceMappingURL=chunk-47OW2LZH.cjs.map
|
|
47
|
+
//# sourceMappingURL=chunk-47OW2LZH.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/static.ts"],"names":["getResources","getSingletons","isSingleton","isCreatable","isUpdatable","isDeletable","isTaggable","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,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","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,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-47OW2LZH.cjs","sourcesContent":["\nimport { OPEN_API_SCHEMA_VERSION } from './commercelayer'\nimport type { ResourceTypeLock } from './enum'\nimport { getResources, getSingletons, isCreatable, isDeletable, isSingleton, isTaggable, isUpdatable } from './enum'\nimport { type ApiError, isApiError, isSdkError, type SdkError } 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\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"]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OPEN_API_SCHEMA_VERSION } from './chunk-
|
|
1
|
+
import { OPEN_API_SCHEMA_VERSION } from './chunk-IUGXRDL5.js';
|
|
2
2
|
import { isTokenExpired } from './chunk-4MV6VICV.js';
|
|
3
3
|
import { isTaggable, isDeletable, isUpdatable, isCreatable, isSingleton, getSingletons, getResources } from './chunk-MFDKS22G.js';
|
|
4
4
|
import { isApiError, isSdkError } from './chunk-PIHQS6OG.js';
|
|
@@ -41,5 +41,5 @@ var CommerceLayerStatic = {
|
|
|
41
41
|
};
|
|
42
42
|
|
|
43
43
|
export { CommerceLayerStatic };
|
|
44
|
-
//# sourceMappingURL=chunk-
|
|
45
|
-
//# sourceMappingURL=chunk-
|
|
44
|
+
//# sourceMappingURL=chunk-7GP6774Q.js.map
|
|
45
|
+
//# sourceMappingURL=chunk-7GP6774Q.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/static.ts"],"names":[],"mappings":";;;;;;AASO,IAAM,mBAAA,GAAsB;AAAA,EAElC,SAAA,EAAW,CAAC,IAAA,KAAsC;AACjD,IAAA,OAAO,aAAa,IAAI,CAAA;AAAA,EACzB,CAAA;AAAA,EAEA,UAAA,EAAY,CAAC,IAAA,KAAsC;AAClD,IAAA,OAAO,cAAc,IAAI,CAAA;AAAA,EAC1B,CAAA;AAAA,EAEA,WAAA,EAAa,CAAC,QAAA,KAAwC;AACrD,IAAA,OAAO,YAAY,QAAQ,CAAA;AAAA,EAC5B,CAAA;AAAA,EAEA,WAAA,EAAa,CAAC,QAAA,KAAwC;AACrD,IAAA,OAAO,YAAY,QAAQ,CAAA;AAAA,EAC5B,CAAA;AAAA,EAEA,WAAA,EAAa,CAAC,QAAA,KAAwC;AACrD,IAAA,OAAO,YAAY,QAAQ,CAAA;AAAA,EAC5B,CAAA;AAAA,EAEA,WAAA,EAAa,CAAC,QAAA,KAAwC;AACrD,IAAA,OAAO,YAAY,QAAQ,CAAA;AAAA,EAC5B,CAAA;AAAA,EAEA,UAAA,EAAY,CAAC,QAAA,KAAwC;AACpD,IAAA,OAAO,WAAW,QAAQ,CAAA;AAAA,EAC3B,CAAA;AAAA,EAEA,UAAA,EAAY,CAAC,KAAA,KAAsC;AAClD,IAAA,OAAO,WAAW,KAAK,CAAA;AAAA,EACxB,CAAA;AAAA,EAEA,UAAA,EAAY,CAAC,KAAA,KAAsC;AAClD,IAAA,OAAO,WAAW,KAAK,CAAA;AAAA,EACxB,CAAA;AAAA,EAEA,cAAA,EAAgB,CAAC,KAAA,KAA2B;AAC3C,IAAA,OAAO,eAAe,KAAK,CAAA;AAAA,EAC5B,CAAA;AAAA,EAEA,IAAI,aAAA,GAAwB;AAAE,IAAA,OAAO,uBAAA;AAAA,EAAwB;AAE9D","file":"chunk-
|
|
1
|
+
{"version":3,"sources":["../src/static.ts"],"names":[],"mappings":";;;;;;AASO,IAAM,mBAAA,GAAsB;AAAA,EAElC,SAAA,EAAW,CAAC,IAAA,KAAsC;AACjD,IAAA,OAAO,aAAa,IAAI,CAAA;AAAA,EACzB,CAAA;AAAA,EAEA,UAAA,EAAY,CAAC,IAAA,KAAsC;AAClD,IAAA,OAAO,cAAc,IAAI,CAAA;AAAA,EAC1B,CAAA;AAAA,EAEA,WAAA,EAAa,CAAC,QAAA,KAAwC;AACrD,IAAA,OAAO,YAAY,QAAQ,CAAA;AAAA,EAC5B,CAAA;AAAA,EAEA,WAAA,EAAa,CAAC,QAAA,KAAwC;AACrD,IAAA,OAAO,YAAY,QAAQ,CAAA;AAAA,EAC5B,CAAA;AAAA,EAEA,WAAA,EAAa,CAAC,QAAA,KAAwC;AACrD,IAAA,OAAO,YAAY,QAAQ,CAAA;AAAA,EAC5B,CAAA;AAAA,EAEA,WAAA,EAAa,CAAC,QAAA,KAAwC;AACrD,IAAA,OAAO,YAAY,QAAQ,CAAA;AAAA,EAC5B,CAAA;AAAA,EAEA,UAAA,EAAY,CAAC,QAAA,KAAwC;AACpD,IAAA,OAAO,WAAW,QAAQ,CAAA;AAAA,EAC3B,CAAA;AAAA,EAEA,UAAA,EAAY,CAAC,KAAA,KAAsC;AAClD,IAAA,OAAO,WAAW,KAAK,CAAA;AAAA,EACxB,CAAA;AAAA,EAEA,UAAA,EAAY,CAAC,KAAA,KAAsC;AAClD,IAAA,OAAO,WAAW,KAAK,CAAA;AAAA,EACxB,CAAA;AAAA,EAEA,cAAA,EAAgB,CAAC,KAAA,KAA2B;AAC3C,IAAA,OAAO,eAAe,KAAK,CAAA;AAAA,EAC5B,CAAA;AAAA,EAEA,IAAI,aAAA,GAAwB;AAAE,IAAA,OAAO,uBAAA;AAAA,EAAwB;AAE9D","file":"chunk-7GP6774Q.js","sourcesContent":["\nimport { OPEN_API_SCHEMA_VERSION } from './commercelayer'\nimport type { ResourceTypeLock } from './enum'\nimport { getResources, getSingletons, isCreatable, isDeletable, isSingleton, isTaggable, isUpdatable } from './enum'\nimport { type ApiError, isApiError, isSdkError, type SdkError } 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\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"]}
|
|
@@ -52,5 +52,5 @@ var instance = new AdyenPayments();
|
|
|
52
52
|
var adyen_payments_default = instance;
|
|
53
53
|
|
|
54
54
|
exports.adyen_payments_default = adyen_payments_default;
|
|
55
|
-
//# sourceMappingURL=chunk-
|
|
56
|
-
//# sourceMappingURL=chunk-
|
|
55
|
+
//# sourceMappingURL=chunk-BRWPB33S.cjs.map
|
|
56
|
+
//# sourceMappingURL=chunk-BRWPB33S.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/resources/adyen_payments.ts"],"names":["ApiResource"],"mappings":";;;;;AAsHA,IAAM,aAAA,GAAN,MAAM,cAAA,SAAsBA,6BAAA,CAA0B;AAAA,EAErD,OAAgB,IAAA,GAAyB,gBAAA;AAAA,EAEzC,MAAM,MAAA,CAAO,QAAA,EAA8B,MAAA,EAA4C,OAAA,EAAkD;AACxI,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAAyC,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,cAAA,CAAc,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EAC1H;AAAA,EAEA,MAAM,MAAA,CAAO,QAAA,EAA8B,MAAA,EAA4C,OAAA,EAAkD;AACxI,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAAyC,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,cAAA,CAAc,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EAC1H;AAAA,EAEA,MAAM,MAAA,CAAO,EAAA,EAAyB,OAAA,EAA0C;AAC/E,IAAA,MAAM,IAAA,CAAK,SAAA,CAAU,MAAA,CAAQ,OAAO,EAAA,KAAO,QAAA,GAAW,EAAE,EAAA,EAAI,IAAA,EAAM,cAAA,CAAc,IAAA,EAAK,GAAI,IAAI,OAAO,CAAA;AAAA,EACrG;AAAA,EAEA,MAAM,KAAA,CAAM,cAAA,EAAuC,MAAA,EAAqC,OAAA,EAA2C;AAClI,IAAA,MAAM,eAAA,GAAmB,eAAgC,EAAA,IAAM,cAAA;AAC/D,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,KAAA,CAAa,EAAE,IAAA,EAAM,QAAA,EAAS,EAAG,CAAA,eAAA,EAAkB,eAAe,CAAA,MAAA,CAAA,EAAU,MAAA,EAAQ,OAAO,CAAA;AAAA,EAClH;AAAA,EAEA,MAAM,eAAA,CAAgB,cAAA,EAAuC,MAAA,EAA8C,OAAA,EAAoD;AAC9J,IAAA,MAAM,eAAA,GAAmB,eAAgC,EAAA,IAAM,cAAA;AAC/D,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,KAAA,CAAsB,EAAE,IAAA,EAAM,kBAAA,EAAmB,EAAG,CAAA,eAAA,EAAkB,eAAe,CAAA,gBAAA,CAAA,EAAoB,MAAA,EAAQ,OAAO,CAAA;AAAA,EAC/I;AAAA,EAEA,MAAM,YAAA,CAAa,cAAA,EAAuC,MAAA,EAAsC,OAAA,EAA8D;AAC7J,IAAA,MAAM,eAAA,GAAmB,eAAgC,EAAA,IAAM,cAAA;AAC/D,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,KAAA,CAAkB,EAAE,IAAA,EAAM,cAAA,EAAe,EAAG,CAAA,eAAA,EAAkB,eAAe,CAAA,aAAA,CAAA,EAAiB,MAAA,EAAQ,OAAO,CAAA;AAAA,EACpI;AAAA,EAEA,MAAM,UAAA,CAAW,EAAA,EAA2B,MAAA,EAA4C,OAAA,EAAkD;AACzI,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA,CAAyC,EAAE,EAAA,EAAK,OAAO,OAAO,QAAA,GAAW,EAAA,GAAI,EAAA,CAAG,EAAA,EAAI,MAAM,cAAA,CAAc,IAAA,EAAM,YAAY,IAAA,EAAK,EAAG,QAAQ,OAAO,CAAA;AAAA,EACxK;AAAA,EAEA,MAAM,QAAA,CAAS,EAAA,EAA2B,MAAA,EAA4C,OAAA,EAAkD;AACvI,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA,CAAyC,EAAE,EAAA,EAAK,OAAO,OAAO,QAAA,GAAW,EAAA,GAAI,EAAA,CAAG,EAAA,EAAI,MAAM,cAAA,CAAc,IAAA,EAAM,UAAU,IAAA,EAAK,EAAG,QAAQ,OAAO,CAAA;AAAA,EACtK;AAAA,EAEA,MAAM,QAAA,CAAS,EAAA,EAA2B,MAAA,EAA4C,OAAA,EAAkD;AACvI,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA,CAAyC,EAAE,EAAA,EAAK,OAAO,OAAO,QAAA,GAAW,EAAA,GAAI,EAAA,CAAG,EAAA,EAAI,MAAM,cAAA,CAAc,IAAA,EAAM,UAAU,IAAA,EAAK,EAAG,QAAQ,OAAO,CAAA;AAAA,EACtK;AAAA,EAGA,eAAe,QAAA,EAAyC;AACvD,IAAA,OAAO,QAAA,CAAS,IAAA,IAAS,QAAA,CAAS,IAAA,KAAS,cAAA,CAAc,IAAA;AAAA,EAC1D;AAAA,EAGA,aAAa,EAAA,EAAiD;AAC7D,IAAA,OAAO,KAAA,CAAM,qBAAsC,EAAE,CAAA;AAAA,EACtD;AAAA,EAEA,sBAAsB,GAAA,EAAkC;AACvD,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAuC,GAAG,GAAG,CAAA;AAAA,EAC3D;AAAA,EAGA,IAAA,GAAyB;AACxB,IAAA,OAAO,cAAA,CAAc,IAAA;AAAA,EACtB;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,aAAA,EAAc;AACnC,IAAO,sBAAA,GAAQ","file":"chunk-BRWPB33S.cjs","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '../query'\nimport type { ListResponse, Resource, ResourceCreate, ResourceId, ResourceRel, ResourceSort, /* ResourceFilter */ ResourcesConfig, ResourceUpdate, } from '../resource'\nimport { ApiResource } from '../resource'\nimport type { EventStore } from './event_stores'\nimport type { Order, OrderType } from './orders'\nimport type { PaymentGateway } from './payment_gateways'\n\n\ntype AdyenPaymentType = 'adyen_payments'\ntype AdyenPaymentRel = ResourceRel & { type: AdyenPaymentType }\ntype OrderRel = ResourceRel & { type: OrderType }\n\n\nexport type AdyenPaymentSort = Pick<AdyenPayment, 'id'> & ResourceSort\n// export type AdyenPaymentFilter = Pick<AdyenPayment, 'id'> & ResourceFilter\n\n\ninterface AdyenPayment extends Resource {\n\t\n\treadonly type: AdyenPaymentType\n\n\t/** \n\t * The public key linked to your API credential.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\tpublic_key?: string | null\n\t/** \n\t * The merchant available payment methods for the assoiated order (i.e. country and amount). Required by the Adyen JS SDK.\n\t * @example ```{\"foo\":\"bar\"}```\n\t */\n\tpayment_methods: Record<string, any>\n\t/** \n\t * The Adyen payment request data, collected by client.\n\t * @example ```{\"foo\":\"bar\"}```\n\t */\n\tpayment_request_data?: Record<string, any> | null\n\t/** \n\t * The Adyen additional details request data, collected by client.\n\t * @example ```{\"foo\":\"bar\"}```\n\t */\n\tpayment_request_details?: Record<string, any> | null\n\t/** \n\t * The Adyen payment response, used by client (includes 'resultCode' and 'action').\n\t * @example ```{\"foo\":\"bar\"}```\n\t */\n\tpayment_response?: Record<string, any> | null\n\t/** \n\t * Indicates if the order current amount differs form the one of the associated authorization.\n\t */\n\tmismatched_amounts?: boolean | null\n\t/** \n\t * The balance remaining on a shopper's gift card, must be computed by using its related trigger attribute.\n\t * @example ```1000```\n\t */\n\tbalance?: number | null\n\t/** \n\t * The expiration date/time of this Adyen payment (valid for partial payments only).\n\t * @example ```\"2018-01-02T12:00:00.000Z\"```\n\t */\n\texpires_at?: string | null\n\t/** \n\t * The date/time when the Adyen order was closed, meaning all partial payments have been completed (valid for partial payments only).\n\t * @example ```\"2018-01-02T12:00:00.000Z\"```\n\t */\n\tclosed_at?: string | null\n\t/** \n\t * Information about the payment instrument used in the transaction.\n\t * @example ```{\"issuer\":\"cl bank\",\"card_type\":\"visa\"}```\n\t */\n\tpayment_instrument?: Record<string, any> | null\n\n\torder?: Order | null\n\tpayment_gateway?: PaymentGateway | null\n\tevent_stores?: EventStore[] | null\n\n}\n\n\ninterface AdyenPaymentCreate extends ResourceCreate {\n\t\n\torder: OrderRel\n\n}\n\n\ninterface AdyenPaymentUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The Adyen payment request data, collected by client.\n\t * @example ```{\"foo\":\"bar\"}```\n\t */\n\tpayment_request_data?: Record<string, any> | null\n\t/** \n\t * The Adyen additional details request data, collected by client.\n\t * @example ```{\"foo\":\"bar\"}```\n\t */\n\tpayment_request_details?: Record<string, any> | null\n\t/** \n\t * Send this attribute if you want to authorize the payment.\n\t * @example ```true```\n\t */\n\t_authorize?: boolean | null\n\t/** \n\t * Send this attribute if you want to send additional details the payment request.\n\t * @example ```true```\n\t */\n\t_details?: boolean | null\n\t/** \n\t * Send this attribute if you want retrieve the balance remaining on a shopper's gift card.\n\t * @example ```true```\n\t */\n\t_balance?: boolean | null\n\n\torder?: OrderRel | null\n\n}\n\n\nclass AdyenPayments extends ApiResource<AdyenPayment> {\n\n\tstatic readonly TYPE: AdyenPaymentType = 'adyen_payments' as const\n\n\tasync create(resource: AdyenPaymentCreate, params?: QueryParamsRetrieve<AdyenPayment>, options?: ResourcesConfig): Promise<AdyenPayment> {\n\t\treturn this.resources.create<AdyenPaymentCreate, AdyenPayment>({ ...resource, type: AdyenPayments.TYPE }, params, options)\n\t}\n\n\tasync update(resource: AdyenPaymentUpdate, params?: QueryParamsRetrieve<AdyenPayment>, options?: ResourcesConfig): Promise<AdyenPayment> {\n\t\treturn this.resources.update<AdyenPaymentUpdate, AdyenPayment>({ ...resource, type: AdyenPayments.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: AdyenPayments.TYPE } : id, options)\n\t}\n\n\tasync order(adyenPaymentId: string | AdyenPayment, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order> {\n\t\tconst _adyenPaymentId = (adyenPaymentId as AdyenPayment).id || adyenPaymentId as string\n\t\treturn this.resources.fetch<Order>({ type: 'orders' }, `adyen_payments/${_adyenPaymentId}/order`, params, options) as unknown as Order\n\t}\n\n\tasync payment_gateway(adyenPaymentId: string | AdyenPayment, params?: QueryParamsRetrieve<PaymentGateway>, options?: ResourcesConfig): Promise<PaymentGateway> {\n\t\tconst _adyenPaymentId = (adyenPaymentId as AdyenPayment).id || adyenPaymentId as string\n\t\treturn this.resources.fetch<PaymentGateway>({ type: 'payment_gateways' }, `adyen_payments/${_adyenPaymentId}/payment_gateway`, params, options) as unknown as PaymentGateway\n\t}\n\n\tasync event_stores(adyenPaymentId: string | AdyenPayment, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _adyenPaymentId = (adyenPaymentId as AdyenPayment).id || adyenPaymentId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `adyen_payments/${_adyenPaymentId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\tasync _authorize(id: string | AdyenPayment, params?: QueryParamsRetrieve<AdyenPayment>, options?: ResourcesConfig): Promise<AdyenPayment> {\n\t\treturn this.resources.update<AdyenPaymentUpdate, AdyenPayment>({ id: (typeof id === 'string')? id: id.id, type: AdyenPayments.TYPE, _authorize: true }, params, options)\n\t}\n\n\tasync _details(id: string | AdyenPayment, params?: QueryParamsRetrieve<AdyenPayment>, options?: ResourcesConfig): Promise<AdyenPayment> {\n\t\treturn this.resources.update<AdyenPaymentUpdate, AdyenPayment>({ id: (typeof id === 'string')? id: id.id, type: AdyenPayments.TYPE, _details: true }, params, options)\n\t}\n\n\tasync _balance(id: string | AdyenPayment, params?: QueryParamsRetrieve<AdyenPayment>, options?: ResourcesConfig): Promise<AdyenPayment> {\n\t\treturn this.resources.update<AdyenPaymentUpdate, AdyenPayment>({ id: (typeof id === 'string')? id: id.id, type: AdyenPayments.TYPE, _balance: true }, params, options)\n\t}\n\n\n\tisAdyenPayment(resource: any): resource is AdyenPayment {\n\t\treturn resource.type && (resource.type === AdyenPayments.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): AdyenPaymentRel {\n\t\treturn super.relationshipOneToOne<AdyenPaymentRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): AdyenPaymentRel[] {\n\t\treturn super.relationshipOneToMany<AdyenPaymentRel>(...ids)\n\t}\n\n\n\ttype(): AdyenPaymentType {\n\t\treturn AdyenPayments.TYPE\n\t}\n\n}\n\n\nconst instance = new AdyenPayments()\nexport default instance\n\nexport type { AdyenPayment, AdyenPaymentCreate, AdyenPayments, AdyenPaymentType, AdyenPaymentUpdate }\n"]}
|