@commercelayer/sdk 7.0.0-beta.14 → 7.0.0-beta.16
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-BvsFkjzY.d.ts → api-CsxHP9zh.d.ts} +1813 -1936
- package/lib/{api-BLNq5Jhc.d.cts → api-Cxxi3g4i.d.cts} +1813 -1936
- package/lib/api.cjs +1 -144
- package/lib/api.d.cts +2 -2
- package/lib/api.d.ts +2 -2
- package/lib/api.js +0 -145
- package/lib/client.d.cts +1 -1
- package/lib/client.d.ts +1 -1
- package/lib/commercelayer.cjs +7 -12
- package/lib/commercelayer.d.cts +5 -7
- package/lib/commercelayer.d.ts +5 -7
- package/lib/commercelayer.js +6 -11
- package/lib/common.cjs +3 -3
- package/lib/common.d.cts +2 -2
- package/lib/common.d.ts +2 -2
- package/lib/common.js +1 -1
- package/lib/config.d.cts +1 -1
- package/lib/config.d.ts +1 -1
- package/lib/enum.cjs +659 -0
- package/lib/enum.d.cts +4 -0
- package/lib/enum.d.ts +4 -0
- package/lib/enum.js +643 -0
- package/lib/error.cjs +8 -0
- package/lib/error.d.cts +4 -1
- package/lib/error.d.ts +4 -1
- package/lib/error.js +7 -1
- package/lib/fetch.d.cts +1 -1
- package/lib/fetch.d.ts +1 -1
- package/lib/index.d.cts +2 -2
- package/lib/index.d.ts +2 -2
- package/lib/{interceptor-D65i25Y7.d.cts → interceptor-5MISI1yn.d.cts} +1 -1
- package/lib/{interceptor-D65i25Y7.d.ts → interceptor-5MISI1yn.d.ts} +1 -1
- package/lib/interceptor.d.cts +1 -1
- package/lib/interceptor.d.ts +1 -1
- package/lib/jsonapi.d.cts +2 -2
- package/lib/jsonapi.d.ts +2 -2
- package/lib/model.d.cts +2 -2
- package/lib/model.d.ts +2 -2
- package/lib/query.d.cts +2 -2
- package/lib/query.d.ts +2 -2
- package/lib/resource.d.cts +2 -2
- package/lib/resource.d.ts +2 -2
- package/lib/resources/addresses.d.cts +2 -2
- package/lib/resources/addresses.d.ts +2 -2
- package/lib/resources/adjustments.d.cts +2 -2
- package/lib/resources/adjustments.d.ts +2 -2
- package/lib/resources/adyen_gateways.d.cts +2 -2
- package/lib/resources/adyen_gateways.d.ts +2 -2
- package/lib/resources/adyen_payments.d.cts +2 -2
- package/lib/resources/adyen_payments.d.ts +2 -2
- package/lib/resources/applications.d.cts +2 -2
- package/lib/resources/applications.d.ts +2 -2
- package/lib/resources/attachments.d.cts +2 -2
- package/lib/resources/attachments.d.ts +2 -2
- package/lib/resources/authorizations.d.cts +2 -2
- package/lib/resources/authorizations.d.ts +2 -2
- package/lib/resources/avalara_accounts.d.cts +2 -2
- package/lib/resources/avalara_accounts.d.ts +2 -2
- package/lib/resources/axerve_gateways.d.cts +2 -2
- package/lib/resources/axerve_gateways.d.ts +2 -2
- package/lib/resources/axerve_payments.d.cts +2 -2
- package/lib/resources/axerve_payments.d.ts +2 -2
- package/lib/resources/bing_geocoders.d.cts +2 -2
- package/lib/resources/bing_geocoders.d.ts +2 -2
- package/lib/resources/braintree_gateways.d.cts +2 -2
- package/lib/resources/braintree_gateways.d.ts +2 -2
- package/lib/resources/braintree_payments.d.cts +2 -2
- package/lib/resources/braintree_payments.d.ts +2 -2
- package/lib/resources/bundles.d.cts +2 -2
- package/lib/resources/bundles.d.ts +2 -2
- package/lib/resources/buy_x_pay_y_promotions.d.cts +2 -2
- package/lib/resources/buy_x_pay_y_promotions.d.ts +2 -2
- package/lib/resources/captures.d.cts +2 -2
- package/lib/resources/captures.d.ts +2 -2
- package/lib/resources/carrier_accounts.d.cts +2 -2
- package/lib/resources/carrier_accounts.d.ts +2 -2
- package/lib/resources/checkout_com_gateways.d.cts +2 -2
- package/lib/resources/checkout_com_gateways.d.ts +2 -2
- package/lib/resources/checkout_com_payments.d.cts +2 -2
- package/lib/resources/checkout_com_payments.d.ts +2 -2
- package/lib/resources/cleanups.d.cts +2 -2
- package/lib/resources/cleanups.d.ts +2 -2
- package/lib/resources/coupon_codes_promotion_rules.d.cts +2 -2
- package/lib/resources/coupon_codes_promotion_rules.d.ts +2 -2
- package/lib/resources/coupon_recipients.d.cts +2 -2
- package/lib/resources/coupon_recipients.d.ts +2 -2
- package/lib/resources/coupons.d.cts +2 -2
- package/lib/resources/coupons.d.ts +2 -2
- package/lib/resources/custom_promotion_rules.d.cts +2 -2
- package/lib/resources/custom_promotion_rules.d.ts +2 -2
- package/lib/resources/customer_addresses.d.cts +2 -2
- package/lib/resources/customer_addresses.d.ts +2 -2
- package/lib/resources/customer_groups.d.cts +2 -2
- package/lib/resources/customer_groups.d.ts +2 -2
- package/lib/resources/customer_password_resets.d.cts +2 -2
- package/lib/resources/customer_password_resets.d.ts +2 -2
- package/lib/resources/customer_payment_sources.d.cts +2 -2
- package/lib/resources/customer_payment_sources.d.ts +2 -2
- package/lib/resources/customer_subscriptions.d.cts +2 -2
- package/lib/resources/customer_subscriptions.d.ts +2 -2
- package/lib/resources/customers.d.cts +2 -2
- package/lib/resources/customers.d.ts +2 -2
- package/lib/resources/delivery_lead_times.d.cts +2 -2
- package/lib/resources/delivery_lead_times.d.ts +2 -2
- package/lib/resources/discount_engine_items.d.cts +2 -2
- package/lib/resources/discount_engine_items.d.ts +2 -2
- package/lib/resources/discount_engines.d.cts +2 -2
- package/lib/resources/discount_engines.d.ts +2 -2
- package/lib/resources/easypost_pickups.d.cts +2 -2
- package/lib/resources/easypost_pickups.d.ts +2 -2
- package/lib/resources/event_callbacks.d.cts +2 -2
- package/lib/resources/event_callbacks.d.ts +2 -2
- package/lib/resources/events.d.cts +2 -2
- package/lib/resources/events.d.ts +2 -2
- package/lib/resources/exports.d.cts +2 -2
- package/lib/resources/exports.d.ts +2 -2
- package/lib/resources/external_gateways.d.cts +2 -2
- package/lib/resources/external_gateways.d.ts +2 -2
- package/lib/resources/external_payments.d.cts +2 -2
- package/lib/resources/external_payments.d.ts +2 -2
- package/lib/resources/external_promotions.d.cts +2 -2
- package/lib/resources/external_promotions.d.ts +2 -2
- package/lib/resources/external_tax_calculators.d.cts +2 -2
- package/lib/resources/external_tax_calculators.d.ts +2 -2
- package/lib/resources/fixed_amount_promotions.d.cts +2 -2
- package/lib/resources/fixed_amount_promotions.d.ts +2 -2
- package/lib/resources/fixed_price_promotions.d.cts +2 -2
- package/lib/resources/fixed_price_promotions.d.ts +2 -2
- package/lib/resources/flex_promotions.d.cts +2 -2
- package/lib/resources/flex_promotions.d.ts +2 -2
- package/lib/resources/free_gift_promotions.d.cts +2 -2
- package/lib/resources/free_gift_promotions.d.ts +2 -2
- package/lib/resources/free_shipping_promotions.d.cts +2 -2
- package/lib/resources/free_shipping_promotions.d.ts +2 -2
- package/lib/resources/geocoders.d.cts +2 -2
- package/lib/resources/geocoders.d.ts +2 -2
- package/lib/resources/gift_card_recipients.d.cts +2 -2
- package/lib/resources/gift_card_recipients.d.ts +2 -2
- package/lib/resources/gift_cards.d.cts +2 -2
- package/lib/resources/gift_cards.d.ts +2 -2
- package/lib/resources/google_geocoders.d.cts +2 -2
- package/lib/resources/google_geocoders.d.ts +2 -2
- package/lib/resources/imports.d.cts +2 -2
- package/lib/resources/imports.d.ts +2 -2
- package/lib/resources/in_stock_subscriptions.d.cts +2 -2
- package/lib/resources/in_stock_subscriptions.d.ts +2 -2
- package/lib/resources/inventory_models.d.cts +2 -2
- package/lib/resources/inventory_models.d.ts +2 -2
- package/lib/resources/inventory_return_locations.d.cts +2 -2
- package/lib/resources/inventory_return_locations.d.ts +2 -2
- package/lib/resources/inventory_stock_locations.d.cts +2 -2
- package/lib/resources/inventory_stock_locations.d.ts +2 -2
- package/lib/resources/klarna_gateways.d.cts +2 -2
- package/lib/resources/klarna_gateways.d.ts +2 -2
- package/lib/resources/klarna_payments.d.cts +2 -2
- package/lib/resources/klarna_payments.d.ts +2 -2
- package/lib/resources/line_item_options.d.cts +2 -2
- package/lib/resources/line_item_options.d.ts +2 -2
- package/lib/resources/line_items.d.cts +2 -2
- package/lib/resources/line_items.d.ts +2 -2
- package/lib/resources/links.d.cts +2 -2
- package/lib/resources/links.d.ts +2 -2
- package/lib/resources/manual_gateways.d.cts +2 -2
- package/lib/resources/manual_gateways.d.ts +2 -2
- package/lib/resources/manual_tax_calculators.d.cts +2 -2
- package/lib/resources/manual_tax_calculators.d.ts +2 -2
- package/lib/resources/markets.d.cts +2 -2
- package/lib/resources/markets.d.ts +2 -2
- package/lib/resources/merchants.d.cts +2 -2
- package/lib/resources/merchants.d.ts +2 -2
- package/lib/resources/notifications.d.cts +2 -2
- package/lib/resources/notifications.d.ts +2 -2
- package/lib/resources/order_amount_promotion_rules.d.cts +2 -2
- package/lib/resources/order_amount_promotion_rules.d.ts +2 -2
- package/lib/resources/order_copies.d.cts +2 -2
- package/lib/resources/order_copies.d.ts +2 -2
- package/lib/resources/order_factories.d.cts +2 -2
- package/lib/resources/order_factories.d.ts +2 -2
- package/lib/resources/order_subscription_items.d.cts +2 -2
- package/lib/resources/order_subscription_items.d.ts +2 -2
- package/lib/resources/order_subscriptions.d.cts +2 -2
- package/lib/resources/order_subscriptions.d.ts +2 -2
- package/lib/resources/orders.d.cts +2 -2
- package/lib/resources/orders.d.ts +2 -2
- package/lib/resources/organizations.d.cts +2 -2
- package/lib/resources/organizations.d.ts +2 -2
- package/lib/resources/packages.d.cts +2 -2
- package/lib/resources/packages.d.ts +2 -2
- package/lib/resources/parcel_line_items.d.cts +2 -2
- package/lib/resources/parcel_line_items.d.ts +2 -2
- package/lib/resources/parcels.d.cts +2 -2
- package/lib/resources/parcels.d.ts +2 -2
- package/lib/resources/payment_gateways.d.cts +2 -2
- package/lib/resources/payment_gateways.d.ts +2 -2
- package/lib/resources/payment_methods.d.cts +2 -2
- package/lib/resources/payment_methods.d.ts +2 -2
- package/lib/resources/payment_options.d.cts +2 -2
- package/lib/resources/payment_options.d.ts +2 -2
- package/lib/resources/paypal_gateways.d.cts +2 -2
- package/lib/resources/paypal_gateways.d.ts +2 -2
- package/lib/resources/paypal_payments.d.cts +2 -2
- package/lib/resources/paypal_payments.d.ts +2 -2
- package/lib/resources/percentage_discount_promotions.d.cts +2 -2
- package/lib/resources/percentage_discount_promotions.d.ts +2 -2
- package/lib/resources/pickups.d.cts +2 -2
- package/lib/resources/pickups.d.ts +2 -2
- package/lib/resources/price_frequency_tiers.d.cts +2 -2
- package/lib/resources/price_frequency_tiers.d.ts +2 -2
- package/lib/resources/price_list_schedulers.d.cts +2 -2
- package/lib/resources/price_list_schedulers.d.ts +2 -2
- package/lib/resources/price_lists.d.cts +2 -2
- package/lib/resources/price_lists.d.ts +2 -2
- package/lib/resources/price_tiers.d.cts +2 -2
- package/lib/resources/price_tiers.d.ts +2 -2
- package/lib/resources/price_volume_tiers.d.cts +2 -2
- package/lib/resources/price_volume_tiers.d.ts +2 -2
- package/lib/resources/prices.d.cts +2 -2
- package/lib/resources/prices.d.ts +2 -2
- package/lib/resources/promotion_rules.d.cts +2 -2
- package/lib/resources/promotion_rules.d.ts +2 -2
- package/lib/resources/promotions.d.cts +2 -2
- package/lib/resources/promotions.d.ts +2 -2
- package/lib/resources/recurring_order_copies.d.cts +2 -2
- package/lib/resources/recurring_order_copies.d.ts +2 -2
- package/lib/resources/refunds.d.cts +2 -2
- package/lib/resources/refunds.d.ts +2 -2
- package/lib/resources/reserved_stocks.d.cts +2 -2
- package/lib/resources/reserved_stocks.d.ts +2 -2
- package/lib/resources/resource_errors.d.cts +2 -2
- package/lib/resources/resource_errors.d.ts +2 -2
- package/lib/resources/return_line_items.d.cts +2 -2
- package/lib/resources/return_line_items.d.ts +2 -2
- package/lib/resources/returns.d.cts +2 -2
- package/lib/resources/returns.d.ts +2 -2
- package/lib/resources/satispay_gateways.d.cts +2 -2
- package/lib/resources/satispay_gateways.d.ts +2 -2
- package/lib/resources/satispay_payments.d.cts +2 -2
- package/lib/resources/satispay_payments.d.ts +2 -2
- package/lib/resources/shipments.d.cts +2 -2
- package/lib/resources/shipments.d.ts +2 -2
- package/lib/resources/shipping_categories.d.cts +2 -2
- package/lib/resources/shipping_categories.d.ts +2 -2
- package/lib/resources/shipping_method_tiers.d.cts +2 -2
- package/lib/resources/shipping_method_tiers.d.ts +2 -2
- package/lib/resources/shipping_methods.d.cts +2 -2
- package/lib/resources/shipping_methods.d.ts +2 -2
- package/lib/resources/shipping_weight_tiers.d.cts +2 -2
- package/lib/resources/shipping_weight_tiers.d.ts +2 -2
- package/lib/resources/shipping_zones.d.cts +2 -2
- package/lib/resources/shipping_zones.d.ts +2 -2
- package/lib/resources/sku_list_items.d.cts +2 -2
- package/lib/resources/sku_list_items.d.ts +2 -2
- package/lib/resources/sku_list_promotion_rules.d.cts +2 -2
- package/lib/resources/sku_list_promotion_rules.d.ts +2 -2
- package/lib/resources/sku_lists.d.cts +2 -2
- package/lib/resources/sku_lists.d.ts +2 -2
- package/lib/resources/sku_options.d.cts +2 -2
- package/lib/resources/sku_options.d.ts +2 -2
- package/lib/resources/skus.d.cts +2 -2
- package/lib/resources/skus.d.ts +2 -2
- package/lib/resources/stock_items.d.cts +2 -2
- package/lib/resources/stock_items.d.ts +2 -2
- package/lib/resources/stock_line_items.d.cts +2 -2
- package/lib/resources/stock_line_items.d.ts +2 -2
- package/lib/resources/stock_locations.d.cts +2 -2
- package/lib/resources/stock_locations.d.ts +2 -2
- package/lib/resources/stock_reservations.d.cts +2 -2
- package/lib/resources/stock_reservations.d.ts +2 -2
- package/lib/resources/stock_transfers.d.cts +2 -2
- package/lib/resources/stock_transfers.d.ts +2 -2
- package/lib/resources/stores.d.cts +2 -2
- package/lib/resources/stores.d.ts +2 -2
- package/lib/resources/stripe_gateways.d.cts +2 -2
- package/lib/resources/stripe_gateways.d.ts +2 -2
- package/lib/resources/stripe_payments.d.cts +2 -2
- package/lib/resources/stripe_payments.d.ts +2 -2
- package/lib/resources/stripe_tax_accounts.d.cts +2 -2
- package/lib/resources/stripe_tax_accounts.d.ts +2 -2
- package/lib/resources/subscription_models.d.cts +2 -2
- package/lib/resources/subscription_models.d.ts +2 -2
- package/lib/resources/tags.d.cts +2 -2
- package/lib/resources/tags.d.ts +2 -2
- package/lib/resources/talon_one_accounts.d.cts +2 -2
- package/lib/resources/talon_one_accounts.d.ts +2 -2
- package/lib/resources/tax_calculators.d.cts +2 -2
- package/lib/resources/tax_calculators.d.ts +2 -2
- package/lib/resources/tax_categories.d.cts +2 -2
- package/lib/resources/tax_categories.d.ts +2 -2
- package/lib/resources/tax_rules.d.cts +2 -2
- package/lib/resources/tax_rules.d.ts +2 -2
- package/lib/resources/taxjar_accounts.d.cts +2 -2
- package/lib/resources/taxjar_accounts.d.ts +2 -2
- package/lib/resources/transactions.d.cts +2 -2
- package/lib/resources/transactions.d.ts +2 -2
- package/lib/resources/versions.d.cts +2 -2
- package/lib/resources/versions.d.ts +2 -2
- package/lib/resources/vertex_accounts.d.cts +2 -2
- package/lib/resources/vertex_accounts.d.ts +2 -2
- package/lib/resources/voids.d.cts +2 -2
- package/lib/resources/voids.d.ts +2 -2
- package/lib/resources/webhooks.d.cts +2 -2
- package/lib/resources/webhooks.d.ts +2 -2
- package/lib/resources/wire_transfers.d.cts +2 -2
- package/lib/resources/wire_transfers.d.ts +2 -2
- package/lib/static.cjs +23 -15
- package/lib/static.d.cts +7 -4
- package/lib/static.d.ts +7 -4
- package/lib/static.js +23 -11
- package/package.json +1 -1
package/lib/api.cjs
CHANGED
@@ -267,148 +267,7 @@ var voids__default = /*#__PURE__*/_interopDefault(voids);
|
|
267
267
|
var webhooks__default = /*#__PURE__*/_interopDefault(webhooks);
|
268
268
|
var wire_transfers__default = /*#__PURE__*/_interopDefault(wire_transfers);
|
269
269
|
|
270
|
-
|
271
|
-
// ##__API_RESOURCE_LIST_START__##
|
272
|
-
"addresses",
|
273
|
-
"adjustments",
|
274
|
-
"adyen_gateways",
|
275
|
-
"adyen_payments",
|
276
|
-
"applications",
|
277
|
-
"attachments",
|
278
|
-
"authorizations",
|
279
|
-
"avalara_accounts",
|
280
|
-
"axerve_gateways",
|
281
|
-
"axerve_payments",
|
282
|
-
"bing_geocoders",
|
283
|
-
"braintree_gateways",
|
284
|
-
"braintree_payments",
|
285
|
-
"bundles",
|
286
|
-
"buy_x_pay_y_promotions",
|
287
|
-
"captures",
|
288
|
-
"carrier_accounts",
|
289
|
-
"checkout_com_gateways",
|
290
|
-
"checkout_com_payments",
|
291
|
-
"cleanups",
|
292
|
-
"coupon_codes_promotion_rules",
|
293
|
-
"coupon_recipients",
|
294
|
-
"coupons",
|
295
|
-
"custom_promotion_rules",
|
296
|
-
"customer_addresses",
|
297
|
-
"customer_groups",
|
298
|
-
"customer_password_resets",
|
299
|
-
"customer_payment_sources",
|
300
|
-
"customer_subscriptions",
|
301
|
-
"customers",
|
302
|
-
"delivery_lead_times",
|
303
|
-
"discount_engine_items",
|
304
|
-
"discount_engines",
|
305
|
-
"easypost_pickups",
|
306
|
-
"event_callbacks",
|
307
|
-
"events",
|
308
|
-
"exports",
|
309
|
-
"external_gateways",
|
310
|
-
"external_payments",
|
311
|
-
"external_promotions",
|
312
|
-
"external_tax_calculators",
|
313
|
-
"fixed_amount_promotions",
|
314
|
-
"fixed_price_promotions",
|
315
|
-
"flex_promotions",
|
316
|
-
"free_gift_promotions",
|
317
|
-
"free_shipping_promotions",
|
318
|
-
"geocoders",
|
319
|
-
"gift_card_recipients",
|
320
|
-
"gift_cards",
|
321
|
-
"google_geocoders",
|
322
|
-
"imports",
|
323
|
-
"in_stock_subscriptions",
|
324
|
-
"inventory_models",
|
325
|
-
"inventory_return_locations",
|
326
|
-
"inventory_stock_locations",
|
327
|
-
"klarna_gateways",
|
328
|
-
"klarna_payments",
|
329
|
-
"line_item_options",
|
330
|
-
"line_items",
|
331
|
-
"links",
|
332
|
-
"manual_gateways",
|
333
|
-
"manual_tax_calculators",
|
334
|
-
"markets",
|
335
|
-
"merchants",
|
336
|
-
"notifications",
|
337
|
-
"order_amount_promotion_rules",
|
338
|
-
"order_copies",
|
339
|
-
"order_factories",
|
340
|
-
"order_subscription_items",
|
341
|
-
"order_subscriptions",
|
342
|
-
"orders",
|
343
|
-
"organizations",
|
344
|
-
"packages",
|
345
|
-
"parcel_line_items",
|
346
|
-
"parcels",
|
347
|
-
"payment_gateways",
|
348
|
-
"payment_methods",
|
349
|
-
"payment_options",
|
350
|
-
"paypal_gateways",
|
351
|
-
"paypal_payments",
|
352
|
-
"percentage_discount_promotions",
|
353
|
-
"pickups",
|
354
|
-
"price_frequency_tiers",
|
355
|
-
"price_list_schedulers",
|
356
|
-
"price_lists",
|
357
|
-
"price_tiers",
|
358
|
-
"price_volume_tiers",
|
359
|
-
"prices",
|
360
|
-
"promotion_rules",
|
361
|
-
"promotions",
|
362
|
-
"recurring_order_copies",
|
363
|
-
"refunds",
|
364
|
-
"reserved_stocks",
|
365
|
-
"resource_errors",
|
366
|
-
"return_line_items",
|
367
|
-
"returns",
|
368
|
-
"satispay_gateways",
|
369
|
-
"satispay_payments",
|
370
|
-
"shipments",
|
371
|
-
"shipping_categories",
|
372
|
-
"shipping_method_tiers",
|
373
|
-
"shipping_methods",
|
374
|
-
"shipping_weight_tiers",
|
375
|
-
"shipping_zones",
|
376
|
-
"sku_list_items",
|
377
|
-
"sku_list_promotion_rules",
|
378
|
-
"sku_lists",
|
379
|
-
"sku_options",
|
380
|
-
"skus",
|
381
|
-
"stock_items",
|
382
|
-
"stock_line_items",
|
383
|
-
"stock_locations",
|
384
|
-
"stock_reservations",
|
385
|
-
"stock_transfers",
|
386
|
-
"stores",
|
387
|
-
"stripe_gateways",
|
388
|
-
"stripe_payments",
|
389
|
-
"stripe_tax_accounts",
|
390
|
-
"subscription_models",
|
391
|
-
"tags",
|
392
|
-
"talon_one_accounts",
|
393
|
-
"tax_calculators",
|
394
|
-
"tax_categories",
|
395
|
-
"tax_rules",
|
396
|
-
"taxjar_accounts",
|
397
|
-
"transactions",
|
398
|
-
"versions",
|
399
|
-
"vertex_accounts",
|
400
|
-
"voids",
|
401
|
-
"webhooks",
|
402
|
-
"wire_transfers"
|
403
|
-
// ##__API_RESOURCE_LIST_STOP__##
|
404
|
-
];
|
405
|
-
const resourceList = apiResources;
|
406
|
-
const singletonList = [
|
407
|
-
// ##__API_RESOURCE_SINGLETON_START__##
|
408
|
-
"applications",
|
409
|
-
"organizations"
|
410
|
-
// ##__API_RESOURCE_SINGLETON_STOP__##
|
411
|
-
];
|
270
|
+
|
412
271
|
|
413
272
|
Object.defineProperty(exports, "addresses", {
|
414
273
|
enumerable: true,
|
@@ -934,5 +793,3 @@ Object.defineProperty(exports, "wire_transfers", {
|
|
934
793
|
enumerable: true,
|
935
794
|
get: function () { return wire_transfers__default.default; }
|
936
795
|
});
|
937
|
-
exports.resourceList = resourceList;
|
938
|
-
exports.singletonList = singletonList;
|
package/lib/api.d.cts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export {
|
1
|
+
export { i as addresses, j as adjustments, k as adyen_gateways, l as adyen_payments, m as application, n as attachments, o as authorizations, p as avalara_accounts, q as axerve_gateways, r as axerve_payments, s as bing_geocoders, t as braintree_gateways, u as braintree_payments, v as bundles, w as buy_x_pay_y_promotions, x as captures, y as carrier_accounts, z as checkout_com_gateways, A as checkout_com_payments, B as cleanups, E as coupon_codes_promotion_rules, F as coupon_recipients, G as coupons, H as custom_promotion_rules, I as customer_addresses, J as customer_groups, K as customer_password_resets, M as customer_payment_sources, N as customer_subscriptions, O as customers, P as delivery_lead_times, Q as discount_engine_items, S as discount_engines, W as easypost_pickups, X as event_callbacks, Y as events, Z as exports, _ as external_gateways, $ as external_payments, a0 as external_promotions, a1 as external_tax_calculators, a2 as fixed_amount_promotions, a3 as fixed_price_promotions, a4 as flex_promotions, a5 as free_gift_promotions, a6 as free_shipping_promotions, a7 as geocoders, a8 as gift_card_recipients, a9 as gift_cards, aa as google_geocoders, ab as imports, ac as in_stock_subscriptions, ad as inventory_models, ae as inventory_return_locations, af as inventory_stock_locations, ag as klarna_gateways, ah as klarna_payments, ai as line_item_options, aj as line_items, ak as links, al as manual_gateways, am as manual_tax_calculators, an as markets, ao as merchants, ap as notifications, aq as order_amount_promotion_rules, ar as order_copies, as as order_factories, at as order_subscription_items, au as order_subscriptions, av as orders, aw as organization, ax as packages, ay as parcel_line_items, az as parcels, aA as payment_gateways, aB as payment_methods, aC as payment_options, aD as paypal_gateways, aE as paypal_payments, aF as percentage_discount_promotions, aG as pickups, aH as price_frequency_tiers, aI as price_list_schedulers, aJ as price_lists, aK as price_tiers, aL as price_volume_tiers, aM as prices, aN as promotion_rules, aO as promotions, aP as recurring_order_copies, aQ as refunds, aR as reserved_stocks, aS as resource_errors, aT as return_line_items, aU as returns, aV as satispay_gateways, aW as satispay_payments, aX as shipments, aY as shipping_categories, aZ as shipping_method_tiers, a_ as shipping_methods, a$ as shipping_weight_tiers, b0 as shipping_zones, b1 as sku_list_items, b2 as sku_list_promotion_rules, b3 as sku_lists, b4 as sku_options, b5 as skus, b6 as stock_items, b7 as stock_line_items, b8 as stock_locations, b9 as stock_reservations, ba as stock_transfers, bb as stores, bc as stripe_gateways, bd as stripe_payments, be as stripe_tax_accounts, bf as subscription_models, bg as tags, bh as talon_one_accounts, bi as tax_calculators, bj as tax_categories, bk as tax_rules, bl as taxjar_accounts, bm as transactions, bn as versions, bo as vertex_accounts, bp as voids, bq as webhooks, br as wire_transfers } from './api-Cxxi3g4i.cjs';
|
2
2
|
import './client.cjs';
|
3
|
-
import './interceptor-
|
3
|
+
import './interceptor-5MISI1yn.cjs';
|
4
4
|
import './types.cjs';
|
package/lib/api.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export {
|
1
|
+
export { i as addresses, j as adjustments, k as adyen_gateways, l as adyen_payments, m as application, n as attachments, o as authorizations, p as avalara_accounts, q as axerve_gateways, r as axerve_payments, s as bing_geocoders, t as braintree_gateways, u as braintree_payments, v as bundles, w as buy_x_pay_y_promotions, x as captures, y as carrier_accounts, z as checkout_com_gateways, A as checkout_com_payments, B as cleanups, E as coupon_codes_promotion_rules, F as coupon_recipients, G as coupons, H as custom_promotion_rules, I as customer_addresses, J as customer_groups, K as customer_password_resets, M as customer_payment_sources, N as customer_subscriptions, O as customers, P as delivery_lead_times, Q as discount_engine_items, S as discount_engines, W as easypost_pickups, X as event_callbacks, Y as events, Z as exports, _ as external_gateways, $ as external_payments, a0 as external_promotions, a1 as external_tax_calculators, a2 as fixed_amount_promotions, a3 as fixed_price_promotions, a4 as flex_promotions, a5 as free_gift_promotions, a6 as free_shipping_promotions, a7 as geocoders, a8 as gift_card_recipients, a9 as gift_cards, aa as google_geocoders, ab as imports, ac as in_stock_subscriptions, ad as inventory_models, ae as inventory_return_locations, af as inventory_stock_locations, ag as klarna_gateways, ah as klarna_payments, ai as line_item_options, aj as line_items, ak as links, al as manual_gateways, am as manual_tax_calculators, an as markets, ao as merchants, ap as notifications, aq as order_amount_promotion_rules, ar as order_copies, as as order_factories, at as order_subscription_items, au as order_subscriptions, av as orders, aw as organization, ax as packages, ay as parcel_line_items, az as parcels, aA as payment_gateways, aB as payment_methods, aC as payment_options, aD as paypal_gateways, aE as paypal_payments, aF as percentage_discount_promotions, aG as pickups, aH as price_frequency_tiers, aI as price_list_schedulers, aJ as price_lists, aK as price_tiers, aL as price_volume_tiers, aM as prices, aN as promotion_rules, aO as promotions, aP as recurring_order_copies, aQ as refunds, aR as reserved_stocks, aS as resource_errors, aT as return_line_items, aU as returns, aV as satispay_gateways, aW as satispay_payments, aX as shipments, aY as shipping_categories, aZ as shipping_method_tiers, a_ as shipping_methods, a$ as shipping_weight_tiers, b0 as shipping_zones, b1 as sku_list_items, b2 as sku_list_promotion_rules, b3 as sku_lists, b4 as sku_options, b5 as skus, b6 as stock_items, b7 as stock_line_items, b8 as stock_locations, b9 as stock_reservations, ba as stock_transfers, bb as stores, bc as stripe_gateways, bd as stripe_payments, be as stripe_tax_accounts, bf as subscription_models, bg as tags, bh as talon_one_accounts, bi as tax_calculators, bj as tax_categories, bk as tax_rules, bl as taxjar_accounts, bm as transactions, bn as versions, bo as vertex_accounts, bp as voids, bq as webhooks, br as wire_transfers } from './api-CsxHP9zh.js';
|
2
2
|
import './client.js';
|
3
|
-
import './interceptor-
|
3
|
+
import './interceptor-5MISI1yn.js';
|
4
4
|
import './types.js';
|
package/lib/api.js
CHANGED
@@ -130,148 +130,3 @@ export { default as vertex_accounts } from './resources/vertex_accounts';
|
|
130
130
|
export { default as voids } from './resources/voids';
|
131
131
|
export { default as webhooks } from './resources/webhooks';
|
132
132
|
export { default as wire_transfers } from './resources/wire_transfers';
|
133
|
-
|
134
|
-
const apiResources = [
|
135
|
-
// ##__API_RESOURCE_LIST_START__##
|
136
|
-
"addresses",
|
137
|
-
"adjustments",
|
138
|
-
"adyen_gateways",
|
139
|
-
"adyen_payments",
|
140
|
-
"applications",
|
141
|
-
"attachments",
|
142
|
-
"authorizations",
|
143
|
-
"avalara_accounts",
|
144
|
-
"axerve_gateways",
|
145
|
-
"axerve_payments",
|
146
|
-
"bing_geocoders",
|
147
|
-
"braintree_gateways",
|
148
|
-
"braintree_payments",
|
149
|
-
"bundles",
|
150
|
-
"buy_x_pay_y_promotions",
|
151
|
-
"captures",
|
152
|
-
"carrier_accounts",
|
153
|
-
"checkout_com_gateways",
|
154
|
-
"checkout_com_payments",
|
155
|
-
"cleanups",
|
156
|
-
"coupon_codes_promotion_rules",
|
157
|
-
"coupon_recipients",
|
158
|
-
"coupons",
|
159
|
-
"custom_promotion_rules",
|
160
|
-
"customer_addresses",
|
161
|
-
"customer_groups",
|
162
|
-
"customer_password_resets",
|
163
|
-
"customer_payment_sources",
|
164
|
-
"customer_subscriptions",
|
165
|
-
"customers",
|
166
|
-
"delivery_lead_times",
|
167
|
-
"discount_engine_items",
|
168
|
-
"discount_engines",
|
169
|
-
"easypost_pickups",
|
170
|
-
"event_callbacks",
|
171
|
-
"events",
|
172
|
-
"exports",
|
173
|
-
"external_gateways",
|
174
|
-
"external_payments",
|
175
|
-
"external_promotions",
|
176
|
-
"external_tax_calculators",
|
177
|
-
"fixed_amount_promotions",
|
178
|
-
"fixed_price_promotions",
|
179
|
-
"flex_promotions",
|
180
|
-
"free_gift_promotions",
|
181
|
-
"free_shipping_promotions",
|
182
|
-
"geocoders",
|
183
|
-
"gift_card_recipients",
|
184
|
-
"gift_cards",
|
185
|
-
"google_geocoders",
|
186
|
-
"imports",
|
187
|
-
"in_stock_subscriptions",
|
188
|
-
"inventory_models",
|
189
|
-
"inventory_return_locations",
|
190
|
-
"inventory_stock_locations",
|
191
|
-
"klarna_gateways",
|
192
|
-
"klarna_payments",
|
193
|
-
"line_item_options",
|
194
|
-
"line_items",
|
195
|
-
"links",
|
196
|
-
"manual_gateways",
|
197
|
-
"manual_tax_calculators",
|
198
|
-
"markets",
|
199
|
-
"merchants",
|
200
|
-
"notifications",
|
201
|
-
"order_amount_promotion_rules",
|
202
|
-
"order_copies",
|
203
|
-
"order_factories",
|
204
|
-
"order_subscription_items",
|
205
|
-
"order_subscriptions",
|
206
|
-
"orders",
|
207
|
-
"organizations",
|
208
|
-
"packages",
|
209
|
-
"parcel_line_items",
|
210
|
-
"parcels",
|
211
|
-
"payment_gateways",
|
212
|
-
"payment_methods",
|
213
|
-
"payment_options",
|
214
|
-
"paypal_gateways",
|
215
|
-
"paypal_payments",
|
216
|
-
"percentage_discount_promotions",
|
217
|
-
"pickups",
|
218
|
-
"price_frequency_tiers",
|
219
|
-
"price_list_schedulers",
|
220
|
-
"price_lists",
|
221
|
-
"price_tiers",
|
222
|
-
"price_volume_tiers",
|
223
|
-
"prices",
|
224
|
-
"promotion_rules",
|
225
|
-
"promotions",
|
226
|
-
"recurring_order_copies",
|
227
|
-
"refunds",
|
228
|
-
"reserved_stocks",
|
229
|
-
"resource_errors",
|
230
|
-
"return_line_items",
|
231
|
-
"returns",
|
232
|
-
"satispay_gateways",
|
233
|
-
"satispay_payments",
|
234
|
-
"shipments",
|
235
|
-
"shipping_categories",
|
236
|
-
"shipping_method_tiers",
|
237
|
-
"shipping_methods",
|
238
|
-
"shipping_weight_tiers",
|
239
|
-
"shipping_zones",
|
240
|
-
"sku_list_items",
|
241
|
-
"sku_list_promotion_rules",
|
242
|
-
"sku_lists",
|
243
|
-
"sku_options",
|
244
|
-
"skus",
|
245
|
-
"stock_items",
|
246
|
-
"stock_line_items",
|
247
|
-
"stock_locations",
|
248
|
-
"stock_reservations",
|
249
|
-
"stock_transfers",
|
250
|
-
"stores",
|
251
|
-
"stripe_gateways",
|
252
|
-
"stripe_payments",
|
253
|
-
"stripe_tax_accounts",
|
254
|
-
"subscription_models",
|
255
|
-
"tags",
|
256
|
-
"talon_one_accounts",
|
257
|
-
"tax_calculators",
|
258
|
-
"tax_categories",
|
259
|
-
"tax_rules",
|
260
|
-
"taxjar_accounts",
|
261
|
-
"transactions",
|
262
|
-
"versions",
|
263
|
-
"vertex_accounts",
|
264
|
-
"voids",
|
265
|
-
"webhooks",
|
266
|
-
"wire_transfers"
|
267
|
-
// ##__API_RESOURCE_LIST_STOP__##
|
268
|
-
];
|
269
|
-
const resourceList = apiResources;
|
270
|
-
const singletonList = [
|
271
|
-
// ##__API_RESOURCE_SINGLETON_START__##
|
272
|
-
"applications",
|
273
|
-
"organizations"
|
274
|
-
// ##__API_RESOURCE_SINGLETON_STOP__##
|
275
|
-
];
|
276
|
-
|
277
|
-
export { resourceList, singletonList };
|
package/lib/client.d.cts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { F as Fetch,
|
1
|
+
import { F as Fetch, f as InterceptorManager, g as FetchResponse } from './interceptor-5MISI1yn.cjs';
|
2
2
|
|
3
3
|
type RequestParams = Record<string, string | number | boolean>;
|
4
4
|
type RequestHeaders = Record<string, string>;
|
package/lib/client.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { F as Fetch,
|
1
|
+
import { F as Fetch, f as InterceptorManager, g as FetchResponse } from './interceptor-5MISI1yn.js';
|
2
2
|
|
3
3
|
type RequestParams = Record<string, string | number | boolean>;
|
4
4
|
type RequestHeaders = Record<string, string>;
|
package/lib/commercelayer.cjs
CHANGED
@@ -3,7 +3,8 @@
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
5
|
var chunkJE77HYXB_cjs = require('./chunk-JE77HYXB.cjs');
|
6
|
-
var
|
6
|
+
var _enum = require('./enum');
|
7
|
+
var error = require('./error');
|
7
8
|
var resource = require('./resource');
|
8
9
|
var Debug = require('./debug');
|
9
10
|
|
@@ -12,7 +13,7 @@ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
12
13
|
var Debug__default = /*#__PURE__*/_interopDefault(Debug);
|
13
14
|
|
14
15
|
const debug = Debug__default.default("commercelayer");
|
15
|
-
const OPEN_API_SCHEMA_VERSION = "7.8.
|
16
|
+
const OPEN_API_SCHEMA_VERSION = "7.8.3";
|
16
17
|
const _CommerceLayerClient = class _CommerceLayerClient {
|
17
18
|
constructor(config) {
|
18
19
|
chunkJE77HYXB_cjs.__publicField(this, "openApiSchemaVersion", OPEN_API_SCHEMA_VERSION);
|
@@ -53,17 +54,11 @@ const _CommerceLayerClient = class _CommerceLayerClient {
|
|
53
54
|
this.adapter.config(config);
|
54
55
|
return this;
|
55
56
|
}
|
56
|
-
resources() {
|
57
|
-
return
|
57
|
+
resources(sort) {
|
58
|
+
return _enum.getResources(sort);
|
58
59
|
}
|
59
|
-
|
60
|
-
return
|
61
|
-
}
|
62
|
-
isSingleton(resource) {
|
63
|
-
return _static.CommerceLayerStatic.isSingleton(resource);
|
64
|
-
}
|
65
|
-
isApiError(error) {
|
66
|
-
return _static.CommerceLayerStatic.isApiError(error);
|
60
|
+
isApiError(error$1) {
|
61
|
+
return error.isApiError(error$1);
|
67
62
|
}
|
68
63
|
addRequestInterceptor(onSuccess, onFailure) {
|
69
64
|
this.interceptors.request = { onSuccess, onFailure };
|
package/lib/commercelayer.d.cts
CHANGED
@@ -1,17 +1,17 @@
|
|
1
|
-
import { e as ResourcesInitConfig, f as ResourceTypeLock } from './api-BLNq5Jhc.cjs';
|
2
1
|
import { ApiError } from './error.cjs';
|
3
|
-
import {
|
2
|
+
import { b as RequestInterceptor, c as ErrorInterceptor, d as ResponseInterceptor, I as InterceptorType, e as RawResponseReader } from './interceptor-5MISI1yn.cjs';
|
3
|
+
import { bV as ResourcesInitConfig } from './api-Cxxi3g4i.cjs';
|
4
4
|
import './client.cjs';
|
5
5
|
import './types.cjs';
|
6
6
|
|
7
|
-
declare const OPEN_API_SCHEMA_VERSION = "7.8.
|
7
|
+
declare const OPEN_API_SCHEMA_VERSION = "7.8.3";
|
8
8
|
|
9
9
|
type SdkConfig = {};
|
10
10
|
type CommerceLayerInitConfig = SdkConfig & ResourcesInitConfig;
|
11
11
|
type CommerceLayerConfig = Partial<CommerceLayerInitConfig>;
|
12
12
|
declare class CommerceLayerClient {
|
13
13
|
static get openApiSchemaVersion(): string;
|
14
|
-
readonly openApiSchemaVersion = "7.8.
|
14
|
+
readonly openApiSchemaVersion = "7.8.3";
|
15
15
|
private static cl;
|
16
16
|
static get(config?: CommerceLayerInitConfig): CommerceLayerClient;
|
17
17
|
private constructor();
|
@@ -21,9 +21,7 @@ declare class CommerceLayerClient {
|
|
21
21
|
private get interceptors();
|
22
22
|
private localConfig;
|
23
23
|
config(config: CommerceLayerConfig): this;
|
24
|
-
resources(): readonly string[];
|
25
|
-
singletons(): readonly string[];
|
26
|
-
isSingleton(resource: ResourceTypeLock): boolean;
|
24
|
+
resources(sort?: boolean): readonly string[];
|
27
25
|
isApiError(error: any): error is ApiError;
|
28
26
|
addRequestInterceptor(onSuccess?: RequestInterceptor, onFailure?: ErrorInterceptor): number;
|
29
27
|
addResponseInterceptor(onSuccess?: ResponseInterceptor, onFailure?: ErrorInterceptor): number;
|
package/lib/commercelayer.d.ts
CHANGED
@@ -1,17 +1,17 @@
|
|
1
|
-
import { e as ResourcesInitConfig, f as ResourceTypeLock } from './api-BvsFkjzY.js';
|
2
1
|
import { ApiError } from './error.js';
|
3
|
-
import {
|
2
|
+
import { b as RequestInterceptor, c as ErrorInterceptor, d as ResponseInterceptor, I as InterceptorType, e as RawResponseReader } from './interceptor-5MISI1yn.js';
|
3
|
+
import { bV as ResourcesInitConfig } from './api-CsxHP9zh.js';
|
4
4
|
import './client.js';
|
5
5
|
import './types.js';
|
6
6
|
|
7
|
-
declare const OPEN_API_SCHEMA_VERSION = "7.8.
|
7
|
+
declare const OPEN_API_SCHEMA_VERSION = "7.8.3";
|
8
8
|
|
9
9
|
type SdkConfig = {};
|
10
10
|
type CommerceLayerInitConfig = SdkConfig & ResourcesInitConfig;
|
11
11
|
type CommerceLayerConfig = Partial<CommerceLayerInitConfig>;
|
12
12
|
declare class CommerceLayerClient {
|
13
13
|
static get openApiSchemaVersion(): string;
|
14
|
-
readonly openApiSchemaVersion = "7.8.
|
14
|
+
readonly openApiSchemaVersion = "7.8.3";
|
15
15
|
private static cl;
|
16
16
|
static get(config?: CommerceLayerInitConfig): CommerceLayerClient;
|
17
17
|
private constructor();
|
@@ -21,9 +21,7 @@ declare class CommerceLayerClient {
|
|
21
21
|
private get interceptors();
|
22
22
|
private localConfig;
|
23
23
|
config(config: CommerceLayerConfig): this;
|
24
|
-
resources(): readonly string[];
|
25
|
-
singletons(): readonly string[];
|
26
|
-
isSingleton(resource: ResourceTypeLock): boolean;
|
24
|
+
resources(sort?: boolean): readonly string[];
|
27
25
|
isApiError(error: any): error is ApiError;
|
28
26
|
addRequestInterceptor(onSuccess?: RequestInterceptor, onFailure?: ErrorInterceptor): number;
|
29
27
|
addResponseInterceptor(onSuccess?: ResponseInterceptor, onFailure?: ErrorInterceptor): number;
|
package/lib/commercelayer.js
CHANGED
@@ -1,10 +1,11 @@
|
|
1
1
|
import { __publicField } from './chunk-AQ5VUG5P.js';
|
2
|
-
import {
|
2
|
+
import { getResources } from './enum';
|
3
|
+
import { isApiError } from './error';
|
3
4
|
import { ApiResourceAdapter } from './resource';
|
4
5
|
import Debug from './debug';
|
5
6
|
|
6
7
|
const debug = Debug("commercelayer");
|
7
|
-
const OPEN_API_SCHEMA_VERSION = "7.8.
|
8
|
+
const OPEN_API_SCHEMA_VERSION = "7.8.3";
|
8
9
|
const _CommerceLayerClient = class _CommerceLayerClient {
|
9
10
|
constructor(config) {
|
10
11
|
__publicField(this, "openApiSchemaVersion", OPEN_API_SCHEMA_VERSION);
|
@@ -45,17 +46,11 @@ const _CommerceLayerClient = class _CommerceLayerClient {
|
|
45
46
|
this.adapter.config(config);
|
46
47
|
return this;
|
47
48
|
}
|
48
|
-
resources() {
|
49
|
-
return
|
50
|
-
}
|
51
|
-
singletons() {
|
52
|
-
return CommerceLayerStatic.singletons();
|
53
|
-
}
|
54
|
-
isSingleton(resource) {
|
55
|
-
return CommerceLayerStatic.isSingleton(resource);
|
49
|
+
resources(sort) {
|
50
|
+
return getResources(sort);
|
56
51
|
}
|
57
52
|
isApiError(error) {
|
58
|
-
return
|
53
|
+
return isApiError(error);
|
59
54
|
}
|
60
55
|
addRequestInterceptor(onSuccess, onFailure) {
|
61
56
|
this.interceptors.request = { onSuccess, onFailure };
|
package/lib/common.cjs
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
'use strict';
|
2
2
|
|
3
3
|
require('./chunk-JE77HYXB.cjs');
|
4
|
-
var
|
4
|
+
var _enum = require('./enum');
|
5
5
|
|
6
6
|
const isResourceId = (resource) => {
|
7
|
-
return resource?.type && resource.id &&
|
7
|
+
return resource?.type && resource.id && _enum.resourceList.includes(resource.type);
|
8
8
|
};
|
9
9
|
const isResourceType = (resource) => {
|
10
|
-
return resource && typeof resource.type !== "undefined" && resource.type &&
|
10
|
+
return resource && typeof resource.type !== "undefined" && resource.type && _enum.resourceList.includes(resource.type);
|
11
11
|
};
|
12
12
|
const DBG = {
|
13
13
|
verbose: false
|
package/lib/common.d.cts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
import {
|
1
|
+
import { bK as ResourceId, bJ as ResourceType } from './api-Cxxi3g4i.cjs';
|
2
2
|
import './client.cjs';
|
3
|
-
import './interceptor-
|
3
|
+
import './interceptor-5MISI1yn.cjs';
|
4
4
|
import './types.cjs';
|
5
5
|
|
6
6
|
declare const isResourceId: (resource: any) => resource is ResourceId;
|
package/lib/common.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
import {
|
1
|
+
import { bK as ResourceId, bJ as ResourceType } from './api-CsxHP9zh.js';
|
2
2
|
import './client.js';
|
3
|
-
import './interceptor-
|
3
|
+
import './interceptor-5MISI1yn.js';
|
4
4
|
import './types.js';
|
5
5
|
|
6
6
|
declare const isResourceId: (resource: any) => resource is ResourceId;
|
package/lib/common.js
CHANGED
package/lib/config.d.cts
CHANGED
package/lib/config.d.ts
CHANGED